Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gernb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
211.
▲
by
gernb
4y ago
you can often test dpr issues by zooming and refreshing. Different zoom levels give different devicePixelRatio values including many non-interger ones. At least in Firefox/Chrome
212.
▲
by
gernb
4y ago
I wish I didn't believe in regret but I feel it. I do my best to ignore it and face forward but I still often feel very strong regret for moments daily. Since high school I wanted a spouse and kids (obviously I imagined a good relation
213.
▲
by
gernb
4y ago
I had a similar experience. Her father threatened to fly over and take her back forcefully if she didn't stop dating me. She told him she stopped but kept seeing me. Eventually she hoped to elope. She also had a deadline for leaving th
214.
▲
by
gernb
4y ago
Can you put into words what makes it special without spoiling anything? I played to the first boss. Found zero interesting. Stopped playing. Up to that point it was just generic "game". Walk a character around, shoot stuff, repeat
215.
▲
by
gernb
4y ago
This is arguably not true. We can look at the history of traffic accidents to see that, left to their own devices, drivers will drive faster than is safe. Laws, enforcement (cameras), and better road design (best), will get drivers to slow
216.
▲
by
gernb
4y ago
> I've never gotten a ticket for driving with the flow, even if the flow was speeding. Is a ridiculous metric. I've never been mugged in DTLA has no barring on whether or not people get mugged in DTLA You can not get a ticket f
217.
▲
by
gernb
4y ago
> Driving at the same speed as the rest of the traffic is being predictable This is easier said than done. There's a stretch of freeway between the Bay Bridge and Candlestick park where the speed limit is mostly 50 mph and a portion
218.
▲
by
gernb
4y ago
This isn't just a car driver issue. 90% of the cyclists and 75% of the pedestrians are also like "fuck it!", I don't care that the light is red, I'm crossing now. Fuck anyone who has the right of way. They'll h
219.
▲
by
gernb
4y ago
To add what others are saying. I CC-BY all my photos but just because the photo is CC-BY doesn't mean it's safe to use. I don't know all the other "rights" but for example a photo I took of Mickey Mouse, or a movie
220.
▲
by
gernb
4y ago
134k results on flickr https://flickr.com/search/?text=dog&license=2%2C3%2C4%2C5%2C...
221.
▲
by
gernb
4y ago
Of course it is. Apple wants 30% of everything their car delivers you to. You're Apple's customer and they're bringing their customers to your business so clearly they deserve 30%. Plus even more lock-in, if you want to switc
222.
▲
by
gernb
4y ago
I choose it for portability. I can ship to my users today, work on new features for all users, or I can spend 3-4-5-6 months dealing with differences in platforms, differences in tooling, build environments, deployment, etc.... I also it ch
223.
▲
by
gernb
4y ago
Is it part of "Project Fugu" because like blowfish, if you prepare it wrong you kill your customers? /s
224.
▲
by
gernb
4y ago
I don't know really anything about LBJ but different people come from different backgrounds. My father was raised that it was not important to close the door while pooping and he didn't. It wasn't a power play. It was just no
225.
▲
by
gernb
4y ago
> Yes, space is an issue if you think of it in terms of the customer's attention span. By that argument they should also get rid of most old music, old books, old movies.
226.
▲
by
gernb
4y ago
It'd maybe be nice to be able to mark which code gets optimized. If I could make all std as "don't debug this and keep it optimized" I would. I know some debuggers have the option to at least not step into certain code t
227.
▲
by
gernb
4y ago
My current feeling is that, at least in SF, no one cares about traffic laws. The roads are public and traffic laws exist to organize sharing of the roads. I think I'd prefer the roads to be surveilled and more fines be levied. I'm
228.
▲
by
gernb
4y ago
why radius and not diameter?
229.
▲
by
gernb
4y ago
index = angle1 + angle2 | 0 Will keep things an integer. The | requires casting to int, the 0 makes it a no-op after the cast. This is from asm.js which had to emulate integers so they looked through what it would take http:
230.
▲
by
gernb
4y ago
A friend who is amazingly good at languages made the analogy, you can't read about how to play a musical instrument and get better at playing it. You actually have to play it. Anki might help some, maybe reading, but speaking and liste
231.
▲
by
gernb
4y ago
could be on airport wifi, store wifi, cafe wifi, hotel wifi, etc... https prevents them injecting shit
232.
▲
by
gernb
4y ago
I've never had an issue on Air Asia which is cheap. International is not the issue. Flying between countries in Europe is not much different than flying between states in the USA. Singapore has tons of countries within 1-2 hours so lik
233.
▲
by
gernb
4y ago
> If you didn't have to worry about money what would you be doing? I have asked this question 50-100 times and not once have I gotten an interesting answer. It's always "I'd travel" with no realization that for m
234.
▲
by
gernb
4y ago
Related? https://www.youtube.com/watch?v=I9hJ_Rux9y0
235.
▲
by
gernb
4y ago
That is not a non-safari browser
236.
▲
by
gernb
4y ago
That's a very good point. A pointer dereferences its object, an index does not. So arguably having to switch from pointers to integers is going be a net drag on debugging since it will be no trivial to see what objects are being refere
237.
▲
by
gernb
4y ago
IMO there is some common sense to comments that is often not followed. Example: I work on a project that has a pre-submit script that requires comments for tests. This leads to ridiculousness where I have code like // Test t
238.
▲
by
gernb
4y ago
How much does an Apple TV 4k 2nd gen use? My 4k first gen turned off when I turned off the TV. The 2nd gen does not. I assume it has something to do with the iot support
239.
▲
by
gernb
4y ago
I would argue the biggest reason craigslist is doing well it it's free and semi anonymous (it forwards all emails though generated addresses) The UX has areas clearly neglected. For example in apartments there is a trashcan icon to hid
240.
▲
by
gernb
4y ago
I'm confused as the examples seem to work in Safari For example this page works fine in Safari https://fonts.google.com/specimen/Nabla Both MacOS and iOS.
More ›