Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dlbucci
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
151.
▲
by
dlbucci
9y ago
I just discovered this guy, Summoning Salt, this week and I cannot stop watching his videos! Super fascinating stuff :)
152.
▲
by
dlbucci
9y ago
If you have immutable objects (doesn't even have to be ImmutableJS, you can just decide to never mutate object properties), then there's really not even a need for cloning at that point. The reason you would clone an object is to
153.
▲
by
dlbucci
9y ago
I think a lot of people who would be satisfied with a small, cheap home such as a trailer. I mean, I felt like I had the space of trailer in my first apartment, but it sure as hell wasn't as cheap. It's just a shame they have such
154.
▲
by
dlbucci
9y ago
I just want to say that that comic is absolutely wonderful. Made my morning :)
155.
▲
by
dlbucci
9y ago
What bugs me about the class syntax more than anything is that it encourages prototype classes, which in my humble opinion, are just worse than the Crockford module pattern. C Modules solve this/binding issues, and give you privacy. Ma
156.
▲
by
dlbucci
9y ago
Really cool use of SVG. I think the 10 shapes method sans the blur would produce the coolest placeholder images. There's also a pretty impressive level of detail in the 100 shape images. I might have to look into adding something like
157.
▲
by
dlbucci
9y ago
It kind of drives me nuts that this wasn't there to begin with. It seems like it was a standard part of most promises before they were standardized, but now all promise code will either need to ship with a finally shim or avoid finally
158.
▲
by
dlbucci
9y ago
I think ES and ECMAScript are pretty interchangeable, as are 6 and 2015 (the latter is official, but the former is what it was called for forever). I've seen all 4 of those names used.
159.
▲
by
dlbucci
9y ago
I like the simplicity provided by scoped CSS, and I tend to name classes in a way that essentially accomplishes scoping. However, there's this nagging feeling at the back of my mind that if every component in your app has its own styl
160.
▲
by
dlbucci
9y ago
I was super excited about async/await when it first came out. I hadn't really understood the point of Promises, but async/await looked simple and useful. However, I recently started using async/await in TypeScript, and
161.
▲
by
dlbucci
9y ago
> Also, try to avoid pre-allocating large arrays. It’s better to grow as you go. Is this really true? I've only heard the opposite (preallocate arrays whenever possible) and I know that preallocation was a significant performance i
162.
▲
by
dlbucci
9y ago
You know I saw that font last night near the top of google fonts and didn't realize it was short for Mozilla. I generally prefer sans-serif fonts, but I really like the Regular variant!
163.
▲
by
dlbucci
9y ago
For one, it's deprecated. I've also found (at least during development) that it seems to cache too aggressively. Plus it lets you do weird things, like cache your appcache file. Combine that with caching the HTML, and you won'
164.
▲
by
dlbucci
9y ago
In regards to the second experiment, isn't that kind of an obvious result? You take a painkiller, so the white noise causes you less pain, so you think that other people in the study are in less pain, which makes you seem less empathe
165.
▲
by
dlbucci
9y ago
I did not know you could append to a Path via "/", but that's really awesome! I also really love working with generators when I write Python. They are just such a simple idea that's very powerful and I miss them s
166.
▲
by
dlbucci
10y ago
Isn't node v6 the current LTS version? I think each even major version is LTS, and 6 is the latest one of those.
167.
▲
by
dlbucci
10y ago
I was just thinking how much of a pain it was to switch from the output pane to the debug console, so I like the new tabs. Unfortunately, I can't seem to run my launch task in my second window anymore...
168.
▲
by
dlbucci
10y ago
> you fucked up the cache Ha! Makes me wonder how much vulgarity is in the code of games throughout the years. I feel like this sort of thing would fly these days, but maybe I don't know how it works.
169.
▲
by
dlbucci
10y ago
I use browser sync in a project. The site reloads in a few seconds in multi-process browsers, but takes about 40 seconds in Firefox (and shuts down the browser in the process). E10s hasn't helped much yet, so I don't think I can g
170.
▲
by
dlbucci
10y ago
Actually, the issue (as I understand it) was that a web standard requires at least three different implementations (otherwise, it's less of a standard and more of a plugin). Chrome basically exposed SQLite to web apps, which meant oth
171.
▲
by
dlbucci
10y ago
I don't think Roku apps are written in JavaScript/HTML. I believe they use BrightScript (at least on the older models), so I don't think React would help.
172.
▲
by
dlbucci
10y ago
* on Amazon purchases Looks like a neat deal to me, but it's a bit weird to say there's no annual fee when you need to have a Prime membership...
173.
▲
by
dlbucci
10y ago
I do love writing python, but it's pretty shocking when I find out you can write something like `event.__init__.__globals__[CONFIG][SECRET_KEY]`. That language just does not care about privacy or information hiding at all, I guess.
174.
▲
by
dlbucci
10y ago
It was that way for a long time for me. My computer would just get shut down for 5 minutes every day, until that dreaded "Update Ready" icon would show up. It's a bummer to hear they haven't fixed it, but it is less no
175.
▲
by
dlbucci
10y ago
Windows support is really appreciated! I just switched from a MacBook to a Surface Book, and the biggest pain point has been finding a good terminal to replace iTerm2. I'll definitely try this when I get home!
176.
▲
by
dlbucci
10y ago
"wealthy individual donors and small businesses, along with drug policy advocacy groups, have funneled far more dollars to the opposition than casinos..." That seems a bit disingenuous when it goes on to say in the next sentence &
177.
▲
by
dlbucci
10y ago
Six PR firms were paid to smear her. SIX! That's honestly the most shocking/disgusting thing about this to me.
178.
▲
by
dlbucci
10y ago
That's a fair point: I got a little too snarky at the end of my comment. I guess I just view 'atheism' more as a lack of religion, rather than a religious option along the lines of Christianity, Islam, etc. Along that logic
179.
▲
by
dlbucci
10y ago
While this is an interesting story, and it's sad to see this sort of stuff happening, I'm kind of more focused on what makes a shoe atheist. Are holy shoes blessed in some manner, or are all shoes naturally religious and some pro
180.
▲
by
dlbucci
10y ago
I don't need to zoom in or even look that hard to see the artifacts. Maybe that's me, or maybe that's the retina display on my MacBook, but that's why jpeg.io looks the best for me. If you can't see the artifacts
More ›