Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
coltonv
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
151.
▲
by
coltonv
10y ago
Is there a reason why they decided to store time as seconds from 1970? In a 32-bit integer nonetheless. It seems like basic logic would have lead the original designers to make it at least 64 bits so that you'd never overflow it (with
152.
▲
by
coltonv
10y ago
Well you can't even compile Ruby, Python, Node, or Perl to WASM, since you can't compile dynamic scripting languages to LLVM. You could, for example, interpret Python by compiling the CPython interpreter to WASM (though that would
153.
▲
by
coltonv
10y ago
Different langauges demand different features in the implementation of a garbage collector. A garbage collector that every language implementation could use would basically be a set of functions that languages could use to implement their g
154.
▲
by
coltonv
10y ago
Ruby still has significant use in web development due to the huge popularity of Rails. Startups and established companies continue to start and maintain projects in Rails. Beyond that Ruby isn't used much. But a language that's ex
155.
▲
by
coltonv
10y ago
HTTP/2 is pretty much everywhere now, including virtually all mobile devices. So targeting HTTP2 is pretty sensible IMO.
156.
▲
by
coltonv
10y ago
Could you tell me a bit more about why you want to write C++ in the browser? What things are you doing that are so CPU intensive that C++ is higher productivity then just JS?
157.
▲
by
coltonv
10y ago
I'm a bit lost on the appeal of webassembly. I can see why it's kinda cool to be able to ship a different language to browser and retain performance and bundle sizes, but the problem is I, and everyone else I know, has little to n
158.
▲
by
coltonv
10y ago
An article completely about the portraits of Shakespeare which only shows one of them is a pretty big design misstep I think...
159.
▲
by
coltonv
10y ago
The last 2 ECMA releases (2017 and 2016) have felt pretty dull honestly. I wonder if their approval process for features is too slow. In 2016 we got almost nothing, power operator and array.includes(). 2017 We finally got async functions,
160.
▲
by
coltonv
10y ago
The United States can't be a functioning democracy not because of it's size but because our actual political rules are awful. The electoral college, built in gerrymandering, weak restrictions on lobbying, the rules of our democrac
161.
▲
by
coltonv
10y ago
Journalist these days feel that every single title needs to be as shocking as possible because they are desperate for you to click. I've learned to hate the words "baffled", "shocked", etc. because journalists bas
162.
▲
by
coltonv
10y ago
Really? It gave me a great grasp of the language and syntax and I was able to write some basic things immediately after, and anything I didn't know how to do (like communicate over a socket, etc.) I could google search.
163.
▲
by
coltonv
10y ago
The book "Learn you a Haskell for great good!", Which is in my opinion an essential read for someone wanting to get into functional programming, describes it as "imperitive is when you tell the computer a sequence of operatio
164.
▲
by
coltonv
10y ago
The number of methods in the standard library really doesn't impact performance in a compiled language since you can tree shake the stuff that isn't used. And even if you don't tree shake having lots of methods isn't rea
165.
▲
by
coltonv
10y ago
These are better points that actually have something to do with the article. I may have seen harsh in reply to the parent comment, but that's because that comment didn't address the article whatsoever, nor did it add anything to t
166.
▲
by
coltonv
10y ago
I meant the coding style, not the threading model. Like the author talks about, one of the nice things about the threaded languages is that you basically just write normal, synchronous looking code and get asynchronous results. async/a
167.
▲
by
coltonv
10y ago
That's simply not true. I'm kind of tired of hearing about this kind of stuff said about JS. This comment adds absolutely nothing to the discussion about this article. Did you even read the article before making this comment? It w
168.
▲
by
coltonv
10y ago
I dealt with this. It's absurd. So many smart coding conventions are completely broken by this absurd convention. Don't use Dynamo unless you for some reason have to. It's half assed and not getting many updates.
169.
▲
by
coltonv
10y ago
Comments don't change it from being valid javascript whatsoever.
170.
▲
by
coltonv
10y ago
With async/await (currently available and pretty stable in node, you just need the --harmony flag. You can also compile to it pretty effortlessly) you basically get the exact same code style you get in Erlang/Haskell/Other th
171.
▲
by
coltonv
10y ago
It's there, it's just bound to alt-click instead of ctrl-click. And currently you can't rebind any keybinding with a mouse click on it, so you have to use alt-click.
172.
▲
by
coltonv
10y ago
"but presumably they've stripped out many of the things that make React enjoyable to use in order to satisfy some arbitrary file size metric" Why make this claim without looking yourself? You could validate that "presuma
173.
▲
by
coltonv
10y ago
I use React currently and yes, this is an important argument. Faster load times are better. And if Inferno accomplishes better rendering speed while also being smaller, it is basically universally more performant than React. I evaluated bot
174.
▲
by
coltonv
10y ago
"Silently fail with no warnings" is like the angular motto... At least in Angular 1 if something failed usually angular would just show an empty string on the screen. Debugging is just a cold dark hell where very very few resource
175.
▲
by
coltonv
10y ago
The majority of comments in this thread so far are along the lines of "How is financial help defined in this context???" yet it's described in the article: "The type of financial support varies substantially. Nearly 30 p
176.
▲
by
coltonv
10y ago
Pretty much yeah, just avoids tampering with the Object/Array prototype and gives you a chance to write the functions themselves. They are all just a few lines, so they make for great practice to write yourself.
177.
▲
by
coltonv
10y ago
I considered ImmutableJS a little while back. It's a great library but it makes you to a lot of work to go back and forth between native JS objects, and just abstracts you from the real objects underneath. Instead I ended up just deepF
178.
▲
by
coltonv
10y ago
I'm not the author but I'd guess almost nothing. Basically you just need to calculate the result of the function and index it by the result, should be almost completely unnoticeable.
179.
▲
by
coltonv
10y ago
Does anyone out there use MobX in production on a large app and have any comments on how the experience is? Especially how it scales beyond simple todo list apps.
180.
▲
by
coltonv
10y ago
That's not what I said at all. And I think you're really misconstruing my words with the goal of declaring that NoSQL, an extremely large category of databases, is bad, which is a dangerous generalization. I never said anything ab
More ›