Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_ar7
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
_ar7
9y ago
Yeah I second this. Despite having a superior type system, flow is so behind in both tooling and 3rd party library definitions it's really hard to justify continuing to use it over typescript. It's weird to say, but the unsoundnes
2.
▲
by
_ar7
9y ago
Really cool that this is built completely from scratch. I expected a dependency on something like d3 at least.
3.
▲
by
_ar7
9y ago
This is why electron is so popular
4.
▲
by
_ar7
9y ago
My question would be what's the alternative? Cross platform native apps rarely look as good, and would require entirely new code bases and different sets of developers. Sure electron sucks for users, but what's the business incen
5.
▲
by
_ar7
9y ago
facebook
6.
▲
by
_ar7
9y ago
So if we were to have a rational debate, what points did he have, and points did his opponents have?
7.
▲
by
_ar7
9y ago
Although it wouldn't work if you were using objects and wanted to do a deep comparison e.g. [...new Set([{x: 1}, {x: 1}])]
8.
▲
by
_ar7
9y ago
If you wanted to do O(n) functionally, you could do [1, 1, 2, 3, 4].filter( (obj => x => { if (obj[x]) { return false; } obj[x] = true; return true; })({}), ); What&#x
9.
▲
by
_ar7
9y ago
Yeah you're reading it wrong. This is for node so it'd never be client side, and I'm sure the pw examples are in plaintext just for simplicity in the README.
10.
▲
by
_ar7
9y ago
All those machines are owned by Google or Apple though. They're not completely random machines.
11.
▲
by
_ar7
9y ago
Really liked the blog post. Elixir and the capabilities of the BEAM VM seems really awesome, but I can't really find an excuse to really use them in my day to day anywhere.
12.
▲
by
_ar7
9y ago
Lol now I feel bad for perhaps coming off a bit too harsh. I appreciate you taking my feedback into consideration. Best of luck with your company!
13.
▲
by
_ar7
9y ago
* Why do I have to download an 8MB payload on load, most of which consists of 1MB+ PNGs, which aren't even visible until I scroll? * Why are you doing some unintuitive scroll-jacking? * Why are you using React for literally a singl
14.
▲
by
_ar7
9y ago
Operator mono I think. It costs a lot.
15.
▲
by
_ar7
9y ago
Short answer is yes. TypeScript to JS is kinda like C++ to C. You can learn one before the other and a lot of the skills are transferable.
16.
▲
by
_ar7
9y ago
Because JavaScript 1. By far, has the largest ecosystem. 2. If you use a linter, a typechecker (TS or flow), and transpile your code (TS or babel or both), JavaScript is actually a pretty nice language to work in. Sure it's a chore to
17.
▲
by
_ar7
9y ago
Could you elaborate on the zero allocation part? I made a CSV parser based on yours [0] before the 1.0.0-beta rewrite, and at the very least I have to allocate as much memory to hold a single field in the CSV (and then reuse that memory). [
18.
▲
by
_ar7
9y ago
Ah true. I guess what I was really getting at was that even though JavaScript has some fundamental missteps, it's not beyond being fixed and definitely not the worst language in existence i.e. that behind the quirks, is a quite nice an
19.
▲
by
_ar7
9y ago
It sucks that all of this is valid, but it's mostly avoidable. Eslint + Flow/TypeScript will catch most of these quirks for you. Also lets not pretend that having a bunch of quirks like these is exclusive to JS. I'd say there
20.
▲
by
_ar7
9y ago
Most of the issues you listed with the language itself are fixed by using either Flow or TypeScript. As for that V8 issue, it's not ideal, but how about just putting comments of that size outside of the function, or not overcommenting
21.
▲
by
_ar7
9y ago
Was it https://fugue.co ? I think they use Haskell for their DSL
22.
▲
by
_ar7
9y ago
I agree with the general sentiment, but, to nitpick, Facebook uses/is transitioning to http://hacklang.org/ to avoid PHP. They literally wrote a whole new language and built a VM to do JIT compilation of that new lang
23.
▲
by
_ar7
10y ago
I hope you didn't just throw https://github.com/postgraphql/postgraphql and https://postgrest.com/en/v0.4/ behind some closed source code and called it a business.
24.
▲
by
_ar7
10y ago
What's the motivation for the schemas? Are they just verifying that the APIs haven't changed and are still returning what you'd expect them to? I read through https://github.com/singer-io/getting-started&
25.
▲
by
_ar7
10y ago
A multithreaded CSV parser which figures out the types of each column. It's part of a larger project, which is basically Excel, but you use SQL since the sheets are put into an actual database. It's useful for when you need to cle
26.
▲
by
_ar7
10y ago
Almost every website I visit except HN seems to be down...