664 karma · joined Feb 8, 2008 (18y ago) · 187 submissions
comment 2mo ago · link · parent
Source: my own years on data warehouse and application development teams.
comment 4y ago · link · parent
As someone who has written quite a few half-baked-for-general-use but fit-for-purpose SQL generator utilities over the years, I'll suggest that if you intend for a novel syntax to be a general SQL replacement then being isomorphic to SQL would massively increase usefulness and uptake:
1. novel syntax to SQL; check! Now novel syntax works with all the databases!
2. any valid SQL to novel syntax; a bit harder, but I'd start by using a SQL parser like https://github.com/pganalyze/libpg_query and translating the resulting AST into the novel syntax.
3. novel syntax to SQL back to novel syntax is idempotent; a nice side effect is a validator/formatter for "novel syntax"
4. SQL to novel syntax back to SQL is idempotent; a nice side effect is a validator/formatter for SQL, which would be awesome. (See also https://go.dev/blog/gofmt, which is where I learned this "round trip as formatter" trick.)
I don't mean for this to sound negative, and I know that 2, 3, and 4 are kind of hard. Thank you for building prql!
comment 8y ago · link · parent
I once made a real meals-and-visits schedule signup sheet app for a sick relative (dozens of folks signing up for slots over days, etc.) in about 20 minutes, including learning a bunch about the tool.
Ultimately it "just" made CRUD apps, but it made the process amazingly fast. The equivalent of updating a Django model and view was usually a click or two with no waiting, and the only typing was to name things.
comment 12y ago · link · parent
There is an enormous need in several industries for this sort of thing; but most people don't really know they need it yet.
comment 13y ago · link · parent
My brother and I used to argue about whether Orange Fanta counted as a coke. He thought it wasn't, because it was orange soda and not cola. I thought it was, because it was sugary carbonated soda.
My wife refers to them all as soda or pop. The industrial name for them all is "soft drink", which I think means they don't have alcohol in them.
It's a very regional, kind of random thing.
comment 14y ago · link · parent
comment 14y ago · link · parent
comment 14y ago · link · parent
Please save your accusations of irrational, hysterical agendas for them that advocates hysteria and the abandonment of reason.
comment 14y ago · link · parent
comment 14y ago · link · parent
A National Security Letter would do just as well, and at least two years of data need to be at the government's disposal. Without addressing the merits of National Security Letters, I should point out that one covering your data, or many people's data, or all of Facebook's data, might arrive at any time.
* http://en.wikipedia.org/wiki/National_security_letter * http://www.aclu.org/national-security-technology-and-liberty... * http://www.justice.gov/oig/special/s0803b/final.pdf
comment 14y ago · link · parent
comment 14y ago · link · parent
(Only such a beautiful specimen deserves such nitpicking, but: it's not a _genius_ talk, it's an _ingenious_ talk. _Ingenious_ is the adjective form of the noun _genius_.)
comment 14y ago · link · parent
Beautiful maps, though.
comment 14y ago · link · parent
Robot drivers are a new and unproved technology. After not too many years I'd expect that they will cause way fewer accidents per mile driven than human drivers.
comment 14y ago · link · parent
https://github.com/daveray/seesaw
It makes a great deal of the pain of Swing syntax and boilerplate evaporate in a way that, importantly, feels very much like Clojure. It does this more elegantly than any other Swing wrapping library I've played with, which is a lot of them.
comment 14y ago · link · parent
I usually tell people that planes fly by pushing air down and backward: down so the airplane doesn't fall and backward so the airplane moves forward. I tell them this because otherwise they completely forget, and jump into assertions about implementation details like laminar airflow.
Now I know to _first_ talk about air going backward and down and _then_ to point them at the conclusions section of this article, referring them to the body of the article for detail. A-and then I'll get back to my work so I can get home at a decent hour.
comment 14y ago · link · parent
A year or two later everyone started using gopher and Mosaic and Eudora instead, which was obviously way more civilized.
comment 15y ago · link · parent
The choice between being evil and not being evil can be an easier one to make, practically speaking, than the choice between being evil and becoming the target of federal criminal prosecution.