Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dvlsg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
121.
▲
by
dvlsg
8y ago
Ironically, this is a pretty good example of why tickets end up the way they do in jira - overly specific and concrete. Even the hypothetical situation is getting misinterpreted. I would still love it if user stories were implemented as the
122.
▲
by
dvlsg
8y ago
I bought a Samsung phone (S9) over black Friday. Returned it already. Their apps were incredibly heavy handed and invasive. The photo app had a hard coded button on top of my camera viewing area which linked a way to buy things via a samsun
123.
▲
by
dvlsg
8y ago
Looks like dart even uses an event loop. Their examples for handling futures look very, very similar to Javascript (and typescript, of course). https://webdev.dartlang.org/articles/performance/event-loop#...
124.
▲
by
dvlsg
8y ago
Witnesses for which side? Or was it both sides?
125.
▲
by
dvlsg
8y ago
Yeah, we use tsc for node. I typically just use ts-node for development, though, and tsc gets to hang out in CI/CD somewhere. I assume ts-node / webpack / etc all use tsc under the hood, though.
126.
▲
by
dvlsg
8y ago
Kind of depends on how "go programmer" is defined, too. I've used go, but I certainly wouldn't call myself a "go programmer" at this point.
127.
▲
by
dvlsg
8y ago
Proper code search could be a pretty killer feature on its own. Half the time I need to find something on github I just clone the repo and search from my own computer.
128.
▲
by
dvlsg
8y ago
It's always refreshing to see a writer that's honest about trade-offs, instead of spouting their preferred method as the one-true-way which will solve all your problems.
129.
▲
by
dvlsg
8y ago
Do they? I'm not 100 percent sure about the npm package lock (because I don't typically use it), but I'm fairly sure that yarn's lockfile will lock the full dependency tree, including the dependencies of your dependencie
130.
▲
by
dvlsg
8y ago
If we wanted to be picky, promises technically aren't monads because .then() does too much with auto unwrapping nested promises. https://stackoverflow.com/a/50173415 has some good examples. It's close, though
131.
▲
by
dvlsg
8y ago
I wrote a lib that does this too. It's been a while, but using generators tended to be way slower than just using arrays, except in the most obvious cases (array of 1000000 elements, only take 5, no sorting involved, etc). Maybe that&#
132.
▲
by
dvlsg
8y ago
Or if an issue happens in your staging environment but not locally. That happened to me just yesterday, and a simple print statement gave me the information I needed to resolve the issue. I probably could have attached a remote debugger, an
133.
▲
by
dvlsg
8y ago
Do you have to ping auth on every websocket communication? I feel like you should be able to auth once when you open the connection, and then keep track of the intended session timeout locally (unless you expect external factors to extend t
134.
▲
by
dvlsg
8y ago
Agreed. I saw The Acacia Strain the other night (more deathcore than death metal, I suppose), and in between screaming lyrics like "I am the end of the world", they were talking about making sure to reach out to your friends /
135.
▲
by
dvlsg
8y ago
> Maybe a shopping site that builds carts across various retailers and orders from the least expensive? Sounds like pcpartpicker. Which is, of course, only relevant if you're trying to buy parts for a pc. Great service though (not a
136.
▲
by
dvlsg
8y ago
> If the code is not formatted to the linter, it should not have been submitted for review and I will probably reject it. Better yet, make a tool (CI) automatically reject it. That way it doesn't waste your time, and no one has to b
137.
▲
by
dvlsg
8y ago
I agree. Something about it just doesn't feel right to me. Like state is stored in a global singleton somewhere. Any of the examples touch on testing components using hooks? Any chance using the same component across multiple tests wou
138.
▲
by
dvlsg
8y ago
Not blizzard specifically, more Activision-blizzard, but the latest call of duty open beta was reportedly running on vultr for at least some of the game servers. I think they moved it back to in-house servers when it went live, though, and
139.
▲
by
dvlsg
8y ago
I suppose we could blame high fructose corn syrup, then.
140.
▲
by
dvlsg
8y ago
In the wise words of the robot devil, > You can't just have your characters announce how they feel! That makes me feel angry!
141.
▲
by
dvlsg
8y ago
Shouldn't part of the journalistic process include making sure one guy isn't going off the rails and making stuff up? I guess that could be part that's broken.
142.
▲
by
dvlsg
8y ago
That's a fair point. I remember being especially frustrated by Azmodan, the supposed "most capable battlefield general" _literally_ yelling his secret plans at me in Act 3.
143.
▲
by
dvlsg
8y ago
I completely agree, but I would also point out that being manipulative by using an evocative name isn't always great by default. Personally, I think it would be beneficial in those cases (shell shock, battered spouse), since dehumanizi
144.
▲
by
dvlsg
8y ago
I think composition and mixins should be kept separate. In my mind (and maybe I have an incorrect view of it), mixins throw a bunch of new properties on the base object, whereas composition keeps the original object encapsulated in a single
145.
▲
by
dvlsg
8y ago
Even for servers? I would've guessed most game servers ran on Linux. Seems like the licensing costs for windows servers would be fairly restrictive for that.
146.
▲
by
dvlsg
8y ago
I don't know.. Diablo 2s storyline was quite a bit better than whatever happened in Diablo 3.
147.
▲
by
dvlsg
8y ago
Hopefully uncommon, anyways. Imports with side effects sounds like a nightmare to debug.
148.
▲
by
dvlsg
8y ago
Taking "machine learning" to the next level, I suppose.
149.
▲
by
dvlsg
8y ago
I also hit this limit on Spotify. The super frustrating part to me was that it appeared to save your songs, but didn't. They would be starred until you left the page and came back. I swapped to Google play music, though. They like to r
150.
▲
by
dvlsg
8y ago
Yeah, it's pretty bad. Some games try to gamify polite behavior (bonuses for getting tagged as helpful in a dungeon, etc), and that sort of works. Kind of sad that it's necessary, though. I also think the rude behavior is a combin
More ›