Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dvlsg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
271.
▲
by
dvlsg
9y ago
You could try this tool from hate5six: http://hate5six.com/sage - historically, they've only worked with hardcore / metal music, but this appears to be a new tool which expanded out to 200k artists across all type
272.
▲
by
dvlsg
9y ago
Rfc 4180 definitely lays out rules for how to escape double quotes, commas, and newlines.
273.
▲
by
dvlsg
9y ago
Depends on the game, too. Guild wars 2 annihilates my i5-4670.
274.
▲
by
dvlsg
9y ago
You can even do this with Javascript, too. And without doc types. At least in vscode, anyways. Well, usually. It gets a little confused when you start using dependency injection containers, or dynamic requires, or anything like that.
275.
▲
by
dvlsg
9y ago
Looking forward to new articles! F# as a language is a pleasure to work with, and I really hope it catches on a bit more. Last time I tried implementing a web api in f# was with core 1.0, and it was fairly difficult to find a proper tutoria
276.
▲
by
dvlsg
9y ago
If item is already a promise, and not a function returning a promise, they would be "executing" in parallel.
277.
▲
by
dvlsg
9y ago
I assume they meant if they had to do that, they would assign the result to a new var instead of overwriting the existing one.
278.
▲
by
dvlsg
9y ago
Tuples are ordered though. I don't usually think of structs by the order the properties are declared - I usually think of them by name. I am, admittedly, not primarily a c++ dev though. Are structs typically ordered data structures in
279.
▲
by
dvlsg
9y ago
Yup - all promises are "started" before you await them. I still typically prefer Promise.all though. It's a bit more obvious what's going on (IMO) and you can skip the additional lines for assigning the promises to varia
280.
▲
by
dvlsg
9y ago
The value you would add by making it available to me is value you would also add directly to the other parties intending to purchase and use it. So really, we're in the same boat as before as far as availability is concerned, except no
281.
▲
by
dvlsg
9y ago
Just in general? It means to "grab" or "take" (or in this case, "steal") something.
282.
▲
by
dvlsg
9y ago
What do you miss that's not in F#? Legitimately curious, since F# is the language I miss (or wish to use, I suppose) the most at the moment.
283.
▲
by
dvlsg
9y ago
I think recognizing that there are tradeoffs is the best way to get me to consider your stance. It says you've used it long enough to be honest about its flaws. Anything else just feels disingenuous to me. I totally agree with you, tho
284.
▲
by
dvlsg
9y ago
Yeah, tail call optimization has been in since node 6, I believe. _Maybe_ behind a v8 flag. https://bugs.chromium.org/p/v8/issues/detail?id=4698
285.
▲
by
dvlsg
9y ago
Interesting. I've been trying to decide which language to learn next. Between Scala, elixir, and haskell at the moment. Was leaning Scala, but all the praise here is starting to convince me to go elixir. What problems did you run into
286.
▲
by
dvlsg
9y ago
There's a proposal for it! Stage 0? Stage 1? Don't remember what stage it's in off the top of my head, but it looks promising.
287.
▲
by
dvlsg
9y ago
In fact, they are how async / await is implemented.
288.
▲
by
dvlsg
9y ago
I'm sure it didn't help that the Javascript examples were written poorly on purpose.
289.
▲
by
dvlsg
9y ago
I think the order matters in the 3rd exercise. As in your "buy" index has to come before your "sell" index.
290.
▲
by
dvlsg
9y ago
That, and the fact that it's not the default behavior in npm gives yarn a pretty big advantage in my opinion. Especially for devs who are newer to Node.js.
291.
▲
by
dvlsg
9y ago
Yeah, dropping caffeine from my diet was a huge benefit for me. Not immediately, mind you. Those first couple of weeks were rough.
292.
▲
by
dvlsg
9y ago
I would be interested in that. Do any of these solutions include source protection or v8 snapshots? I think I saw that the overhead of using snapshots is negligible with a recent update of v8 (at least according to the author of nwjs).
293.
▲
by
dvlsg
10y ago
Feels like Javascript callbacks with the error first arguments. Not something I miss, since promises became more available.
294.
▲
by
dvlsg
10y ago
dotnetcore has it as an option, as well.
295.
▲
by
dvlsg
10y ago
Mongoose uses optimistic locking by default, I believe.
296.
▲
by
dvlsg
10y ago
Yeah, the sheer amount of magic was definitely my largest complaint about webpack. It's nice to see that the process is becoming a bit more explicit.
297.
▲
by
dvlsg
10y ago
I don't understand the claim that not using async / await and promises with js will block the event loop. Can you elaborate on what you mean?
298.
▲
by
dvlsg
10y ago
Not op, but I definitely preferred sublime to atom. I have since swapped entirely over to vscode, though, and I have been using it to write / compile / debug Node.js and c# / f# dotnetcore backend applications without many c
299.
▲
by
dvlsg
10y ago
I assumed they meant something like websockets or server sent events when I took the survey.
300.
▲
by
dvlsg
10y ago
That's arguably a problem in almost every language that follows the IEEE 754 standard. It doesn't make much sense to pin that problem solely on Javascript.
More ›