Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
phpnode
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
721.
▲
by
phpnode
10y ago
Replying to myself because it is too late to edit: thinscript isn't exactly typescript, it has some extra features and doesn't attempt full js compatibility, but they are very similar.
722.
▲
by
phpnode
10y ago
Here's something a bit like that, it turns TypeScript into JS, WASM and C, very early but interesting - https://github.com/evanw/thinscript
723.
▲
by
phpnode
10y ago
Here's a typed objects system for JS which uses ArrayBuffers for backing storage, in future it will also support SharedArrayBuffer - https://github.com/codemix/reign (disclaimer: I wrote this).
724.
▲
by
phpnode
10y ago
"They" don't, this model does
725.
▲
by
phpnode
10y ago
Let's just say that coupling this preference with the name "standard" is an extremely contentious decision (search the github issues).
726.
▲
by
phpnode
10y ago
Falcon Heavy is late, but making Falcon Heavy economical means making all of the 3 F9 first stages it uses reusable. They haven't cracked that yet, they've got 2 good landings and a lot of data, but it's far from certain whet
727.
▲
by
phpnode
10y ago
The implication is that driving over the speed limit is likely, on average, to be less fuel efficient than obeying it. Due to the laws of human nature, very few people drive significantly below the speed limit, and very few people prioritis
728.
▲
by
phpnode
11y ago
If an implementation of raft is susceptible to split brain then it is not raft, it's something else. Please read the literature rather than dismissing it, no one owes you any further explanations and no one is handwaving or appealing t
729.
▲
by
phpnode
11y ago
I think the reality is a mixture of both, the lazy, incompetent programmers are under pressure to ship too!
730.
▲
by
phpnode
11y ago
Yeah it's really similar, not just in premise, the writing style really reminded me of the narration in that awesome film.
731.
▲
by
phpnode
11y ago
Agree that this is the exact opposite of my experience as a contractor in the UK. I work as a contractor because the money is much better and because I have access to a wide variety of interesting projects. In the UK the contractors have
732.
▲
by
phpnode
11y ago
I think cubano is referring to the mindset that "it's better to skip over 100 good people than to hire one bad apple" which is very silly but a common attitude in certain kinds of organisation.
733.
▲
by
phpnode
11y ago
You don't have to. The tools which worked 10 years ago still work today. The tools which worked 5 years ago still work today. No one forces you to switch to the new hotness, people choose to.
734.
▲
by
phpnode
11y ago
I mean you're technically correct, but how long will that take? The earth is large and we have not covered even a fraction of 1% of it with landfill. It's unlikely that we'd actually run out of space in practice, it'd
735.
▲
by
phpnode
11y ago
Gremlin is a practical query language designed for developers and has very little (maybe zero) usage in academia. SparQL is the more established option which does get some academic (and production) usage, particularly as a lot of research o
736.
▲
by
phpnode
11y ago
Query language isn't a requirement but exposing the capability to do those kinds of selects / filtering operations is. It doesn't have to support Dijkstra's algorithm but it should be possible to implement it (efficientl
737.
▲
by
phpnode
11y ago
Equivalently, jquery is the new mongodb
738.
▲
by
phpnode
11y ago
perhaps this is a terminology issue, I'll admit that I'm too young to have used pre-relational graph databases, but presumably they have a way of navigating / jumping between documents/vertices, (presumably based on
739.
▲
by
phpnode
11y ago
Not at all but maybe I'm not being clear. My definition of "graph database" is "a database which can efficiently represent graphs and offers functionality for traversing them, in order to allow queries such as 'fin
740.
▲
by
phpnode
11y ago
We've never talked about Dijkstra as far as I recall. Your product doesn't support graphs any more than, say, mongodb does because ultimately all you are doing is loading an object from JSON and then sending it to the consumer. Th
741.
▲
by
phpnode
11y ago
We've had this discussion before but that product is not a graph database, it has no graph traversal features
742.
▲
by
phpnode
11y ago
It's not feasible because of cost and political will.
743.
▲
by
phpnode
11y ago
yes, you can do something like `HTMLing.registerElement('foo-bar', {})` and then when you use `<foo-bar />` in another template it will render it. I should note that I'm not maintaining this library very well becau
744.
▲
by
phpnode
11y ago
no, it's a way to share the same templating syntax on the client and server but isn't a full server side rendering solution. It's pretty fast though, just about the fastest templating engine out there last time I checked.
745.
▲
by
phpnode
11y ago
Here's a thing which tries to do that - https://github.com/codemix/htmling/
746.
▲
by
phpnode
11y ago
Honestly that was a very very bad idea for a startup.
747.
▲
by
phpnode
11y ago
I wrote a Babel plugin which brings a similar syntax to JavaScript, so you can write this: for (let i = 0; i < someVar; i++) { invariant: i < 10000; console.log(i); } along with other kinds of contract, lik
748.
▲
by
phpnode
11y ago
No I think those should work with async functions as it is literally just translating `async` -> `yield`, but worth investigating.
749.
▲
by
phpnode
11y ago
> Bitcoin is used by millions of people a day now. Tangible example please. Bit Coin transaction volume is about 200k/day, so how are these millions of people using it?
750.
▲
by
phpnode
11y ago
Babel can transform async functions into Bluebird coroutines, so the best of both worlds - https://www.npmjs.com/package/babel-plugin-transform-async-t...
More ›