Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
solidsnack9000
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
124 ms
·
1531.
▲
by
solidsnack9000
12y ago
If you could let me know what use cases you have in mind, it would help me to prioritize features and think about what to optimize.
1532.
▲
by
solidsnack9000
12y ago
If you find any issues -- or have some ideas for improvements -- let me know and I'll see what I can do. I think a v2 release should really be in PLV8. PL/SQL is already there and is probably pretty performant; but it doesn't
1533.
▲
by
solidsnack9000
12y ago
Done. https://github.com/solidsnack/GraphpostgresQL/commit/5f228f3...
1534.
▲
Show HN: GraphQL for Postgres
(github.com)
195 points
by
solidsnack9000
12y ago
|
23 comments
1535.
▲
by
solidsnack9000
12y ago
We can't just dismiss people ( people ) and we can't just take them at their word, either.
1536.
▲
by
solidsnack9000
12y ago
> For example, when defining a field as int(11) you can just happily insert textual data... My eyes practically fell out of my head when reading this.
1537.
▲
by
solidsnack9000
12y ago
You end up doing a lot of string concatenation even with that, though. It's not quite the same thing as having some kind of literal or combinator based setup. select(from('tab'), where(and(like('name','Mo%&
1538.
▲
by
solidsnack9000
12y ago
Even with PL/pgSQL, there is no way to build a SQL statement dynamically _and_ safely -- it's all just string concatenation there, too. However, using `CASE`, `WITH` and `LATERAL` you can have a root `SELECT` that returns one of a
1539.
▲
by
solidsnack9000
12y ago
> Why is there no ORM that works like this? Because no one wants to write a SQL fragment parser. You would have write a parser that: a) Could be started at an arbitrary place in a query and figure out what it needed to do. b) Would be SQ
1540.
▲
by
solidsnack9000
12y ago
Service-net ( https://github.com/mesosphere/service-net/ ) is a proof-of-concept for service routing and discovery with IPv6 and DNS. The underlying mechanism is similar -- IP tables is used for routing and load-bal
1541.
▲
by
solidsnack9000
13y ago
The notion of a concurrence of the "mens rea" (the guilty mind) and the "actus rea" (the guilty act) would seem to apply here. https://en.wikipedia.org/wiki/Concurrence A person who did not mean ill
1542.
▲
by
solidsnack9000
13y ago
Is our work really luxurious or just stable, rewarding and fairly renumerated?
1543.
▲
by
solidsnack9000
13y ago
1.53 and 1.67 doesn't seem like a big difference.
1544.
▲
by
solidsnack9000
13y ago
Scribes didn't become obsolete due to the spread of literacy. It was due to the printing press.
1545.
▲
by
solidsnack9000
13y ago
What is meant by the last sentence? > For us came on the probable cost of one big awesome flying ride off the majestic Ulvetanna.
1546.
▲
by
solidsnack9000
13y ago
> ...Whole Foods has never lost to a competitor a top executive that we wanted to keep... No true Scotsman. > In "Corporate Executive Salaries – The Argument from Economic Efficiency", Scott Elaurant writes "The single
1547.
▲
by
solidsnack9000
13y ago
Perhaps something similar could be implemented more directly in Bash.
1548.
▲
by
solidsnack9000
14y ago
Tools like this can make a lot of ops housekeeping stuff easier, like log roll ups and deleting old backups and so forth. One doesn't want to depend on particular machines being up; but on the other hand, there's not a 99.999999% uptime req