Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
paulhodge
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
paulhodge
7y ago
Zerotier is an awesome tool for this.
92.
▲
by
paulhodge
7y ago
That argument sucks. Yes there are sites with poor accessibility, but there's also a lot of sites that are fine. It would be a huge step backwards if they switched from DOM to Canvas.
93.
▲
by
paulhodge
7y ago
HTML isn't legacy cruft, it's an essential part of the web that will never go away. If you want to ship an app with no HTML, then use a different platform.
94.
▲
by
paulhodge
7y ago
If you really want to talk about cities that have turned into malls, talk about Singapore.
95.
▲
by
paulhodge
7y ago
Definitely agree about the ports. Whenever I pull out my old 2013 Macbook, it feels like a futuristic luxury to have a builtin (standard) USB port.
96.
▲
by
paulhodge
7y ago
Yeah, that’s part of it. The attacker wants to hit a url that isn’t already cached by CDN. That might be easy or hard depending on the site. Like if the CDN just has a 30 minute TTL, the attacker will need to be the first request right afte
97.
▲
by
paulhodge
7y ago
Funny I just looked up this phrase too, someone said it on Succession.
98.
▲
by
paulhodge
7y ago
Has anyone actually used json-based queries in PG in a nontrivial way, and had a good experience? I looked into it but the SQL syntax for doing json operations was crazy complicated, and I had trouble finding an ORM that did a good job of s
99.
▲
by
paulhodge
7y ago
Nice article. Nautilus is terrific. The research here isn’t all new though, it goes back to Erikson's stages of psychosocial development. I love checking in on the stages every once in a while, it helps me figure out what goals would m
100.
▲
by
paulhodge
7y ago
One of the their core values is "don't be evil", isn't that statement inherently political? I think a lot of people chose to work at Google (instead of say Oracle or etc) because of those ideals. Kinda disingenuous to ad
101.
▲
by
paulhodge
7y ago
async/await helps a lot, but there are still a few common errors with them... 1) Not calling promises in parallel. Easy to do because it's impossible to run them in parallel with just "await", need to use Promise.all() o
102.
▲
by
paulhodge
7y ago
OOP was a huge trend in the 90s and I think a lot of devs have learned from experience the ways in which it kinda sucks.. - It doesn’t do great as the code gets older or more complex. Google “fragile base class problem”. - Inheritance doesn
103.
▲
by
paulhodge
7y ago
The article sure hypes it up but the code doesn't really solve many problems for you. It's about the same level of a framework as Backbone.js but with way less features.
104.
▲
by
paulhodge
7y ago
Yeah, I had a huge improvement in my posture from a lifting regimen, it really counteracts the bad habits from sitting all day. Deadlifts and front squats feel like they're the most effective. The great thing about lifting is that it t
105.
▲
by
paulhodge
7y ago
For me I got a great intro by doing Crossfit. They’re pretty welcoming to newbies and they include both powerlifting and olympic lifting (although they usually don’t do bench presses). The gyms use rubber weights & floors so that you ca
106.
▲
by
paulhodge
8y ago
Java bytecode is tightly coupled with the JVM.. it doesn't make sense to consider one without the other. There's bytecodes such as invokevirtual or invokeinterface which don't make sense unless you have Java objects and class
107.
▲
by
paulhodge
8y ago
Yeah, I agree there’s value to learning and using Promises before async/await, since you often need to think in terms of promise vales when using async. I don’t think there’s value in teaching a beginner about the prototype chain. It’s
108.
▲
by
paulhodge
8y ago
Use Typescript. Use async/await. Use ES6 classes, don’t do the other class-like patterns. Oh and use ES6 features in general, like fat arrows. And don’t write “var”. Don’t use unnecessary compile-to-js syntaxes like Coffeescript since
109.
▲
by
paulhodge
8y ago
> For 11 minutes a day, 5 days a week, they sat completely still and focused their entire mental effort on pretending to flex their muscles. Maybe it depends on the person, but that actually sounds more difficult to me than just lifting
110.
▲
by
paulhodge
8y ago
I can't find the link right now, but there was a similar study that found this effect for golf. The study had 3 groups: one control group that did nothing, one group that spent time thinking about playing golf, and one group that actua
111.
▲
by
paulhodge
8y ago
It's not just a matter of switching your brain, it's also about reusing code across projects, and being able to use the same toolset for everything. But on the topic of switching your brain, you have to know that not all developer
112.
▲
by
paulhodge
8y ago
Even after 10 years or so, when the tooling is good enough to match the debugging experience we have now, it won't be a moot issue. There will be a much more common problem where you want to examine/modify the source code for a si
113.
▲
by
paulhodge
8y ago
I have a pet peeve whenever people bring up the old "Billion dollar mistake" quote. Calling it a mistake means that it could have been avoided. But we couldn't have avoided null pointer errors (or some other name for the same
114.
▲
by
paulhodge
8y ago
A lot of these “lists of lists” are just “Something A-M” and “Something N-Z”. That’s just a paginated list!
115.
▲
by
paulhodge
9y ago
You don't need Bitcoin to have a process like that. Or to say it another way... considering that they didn't have any extra checks on this transaction, what reason is there to think that they would actually use that multi signatur
116.
▲
by
paulhodge
9y ago
Just last night I tried using A-Frame with a Vive but was disappointed by the performance. The framerate is fine but there seems to be a tiny lag, between the time when the headset position changes until the worldspace camera is updated. Ma
117.
▲
by
paulhodge
9y ago
The challenge is when there are multiple observers that have a different opinion on what order the commands happened in. Redux and Vuex don't have that problem, that's why it's a nonissue there.
118.
▲
by
paulhodge
9y ago
Yeah, people talk about necessary complexity vs unnecessary complexity. "Unnecessary complexity" is all those arcane coding rituals that we do, that our users don't know or care about, but we have to do because our current to
119.
▲
by
paulhodge
9y ago
If only he had come up with a catchy name and a logo, we would have listened.
120.
▲
by
paulhodge
9y ago
I think the branch predictor can be primed with well-crafted data? (start off with a long series of 0s for X) For the other aspects like getting the cache timing, that does seem harder. I don't really know if it's feasible in prac
More ›