Hacker News new | past | comments | ask | show | jobs | submit | bootywizard's comments login

I've played Mafia several times and enjoy it a lot. However, I have also witnessed friendships completely destroyed in the process. Some people are capable as seeing it as just a game, discard all prior trust or expectations with others during, and then at the end, reset completely back to how it was before, perhaps having learnt something about people in the process.

For those who cannot do this, they will experience true pain, broken trust, and leave with friendships fundamentally changed. If this sounds like you, do not play this game!


Hi Francois, congrats on leaving Google!

ARC and On the Measure of Intelligence have both had a phenomenal impact on my thinking and understanding of the overall field.

Do you think that working on ARC is one of the most high leverage ways an individual can hope to have impact on the broad scientific goal of AGI?


That's what I plan on doing -- so I would say yes :)


François as a contestant of ARC prize ?! For real ?


I will never enter ARC Prize myself, since I'm organizing it. But the reason I made ARC in the first place was to work on it myself! I intend to solve it (outside of the context of the competition).


How an artificial neuron learns*


Exactly. The article shouldn’t use the term “neuron” here, it’s too misguiding.


Whether you're trying to do this for a data warehousing use case, or in an environment where you are creating production database queries will change the approach you need to take here.

We have been working on SQLX for the data warehousing use case, allowing you to embed JavaScript into your SQL queries and making things like code re-use much easier while fitting in with your existing SQL dialect, might be of interest - https://docs.dataform.co/guides/sqlx. Some of the concepts in there are specific to our framework, some are not.

For data warehousing, create more views! They are IMO the right level of abstraction for encapsulating common business logic, data definitions, joins etc, making composing downstream queries much easier. Managing lots of views like this requires some investment in a data modelling tooling tool however (Dataform, DBT etc).

For generating queries used against production databases for building user applications, none of this applies.


> For data warehousing, create more views!

Agreed, but... the problem with views are they aren't parameterizable. In effect they are static templates. Fortunately, modern data warehouses often provide user defined table functions that accomplish pretty much the same thing, but allow you to "create input parameters to your view".

Dataform looks interesting (how have I not heard of this before) but I wonder if they support UDTFs?


Sure they are, you just slap a where statement on your query when you query a view. Or am I missing something?


Sure, that's sufficient most of the time. However, there times when your view might span multiple tables and you want to ensure that full table scans aren't triggered before your view predicate is acted upon.

This may also come down to how sophisticated your DBs sql optimizer is.


Author here - it does but it doesn't, which is why it doesn't always work so well. It never actually keeps track of the shapes in a seperate data model - the text itself is the only data model. When you resize, it retraces out the lines that need editing. I did this as the expected use case is for diagrams in code, where diagrams may be copy pasted in and out of the tool and I'd lose any underlying models that I was working with. For fun: https://github.com/lewish/asciiflow2/blob/master/js-lib/draw...


Grateful user here. I've relied on ASCIIFlow for all the diagrams in my Internet drafts since IETF 88. Truly an essential tool in my arsenal.


Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: