Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ladberg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
361.
▲
by
ladberg
5y ago
I'm not saying it's realistic, but one could theoretically replace the sensor with a fake one that always returned the same data. That would allow the user to re-setup face ID and let unknowingly let any intruder in.
362.
▲
by
ladberg
5y ago
I’m pretty sure it was still there when I went a few years ago!
363.
▲
by
ladberg
5y ago
I visited China with someone who was from China but had been living in the US. It was a hot day and at one point I wanted cold water (which turns out is a very western thing and hard to get elsewhere) and the only option was a vending machi
364.
▲
by
ladberg
5y ago
You don't have to have already had an abortion yourself for this to be a critical issue.
365.
▲
by
ladberg
5y ago
I'm not sure what you mean by "the exact version of xcode installed" but you can compile most applications with any recent version. Of course when new SDKs are released you need to update the Xcode version but it's not a
366.
▲
by
ladberg
5y ago
I feel like they usually prioritize simplicity and readability instead of tricks, syntactic sugar, and one-liners. For example there's no ternary operator. Instead you'll have to write out a few lines of if/else. There's
367.
▲
by
ladberg
5y ago
Wow I'm actually pretty blown away! I use Go on a daily basis and have never seen it used anywhere or had any clue it was in the language. If you had asked me a few minutes ago if Go had goto I would have said "definitely not and
368.
▲
by
ladberg
5y ago
Really? I can't think of why I would want to use a goto in Python, and if I did it would definitely make it not "Pythonic". Python is 30 years old, is there any popular language created in the last 30 years that has goto? (An
369.
▲
by
ladberg
5y ago
I'd have to add coloring strings and language keywords to the list of exceptions before trying this. Strings are (imo) an obvious necessity, but I can't tell you how many times I've stopped myself from naming a variable a res
370.
▲
by
ladberg
5y ago
I use the K120 and when I bought first bought it a few years ago it was $12. I just bought another one and found it combined with a mouse (listed as "MK120" but really the same keyboard) for $15.
371.
▲
by
ladberg
5y ago
The channel is back in full, see the followup video: https://www.youtube.com/watch?v=YIWV5fSaUB8
372.
▲
by
ladberg
5y ago
Yep, I thought about it a bit more and you're totally right.
373.
▲
by
ladberg
5y ago
In this case they are actually "consuming" more wind. A normal sail "consumes" wind by taking moving wind and reducing its speed to 0. This "consumes" wind by taking moving wind and sending it back the other di
374.
▲
by
ladberg
5y ago
The people-mover has to expend more energy to push you because you're applying a stronger drag force, so energy is conserved.
375.
▲
by
ladberg
5y ago
UC salaries are public[0] and it looks like he made $219k in 2019, which is pretty decent for a professor but yeah $10k would still definitely be a significant setback. [0] https://ucannualwage.ucop.edu/wage/
376.
▲
by
ladberg
5y ago
Design mistakes maybe, but syntax errors are just not representative of any real debugging experience IMO.
377.
▲
by
ladberg
5y ago
Can confirm everything you said is true and that at Google you'll likely never see your interviewers once you start working there but at Apple you'll be working with your interviewers on a daily basis. It has upsides and downsides
378.
▲
by
ladberg
5y ago
I had a similarly bad Google experience that I've talked about before[0] but will copy here: I was asked to do a task that eventually boiled down to a topological sort, and I thought the question consisted of recognizing that the answe
379.
▲
by
ladberg
5y ago
Someone trying to do SEO by getting links to their site from a popular one?
380.
▲
by
ladberg
6y ago
Yep, I feel like anyone realizes when they first start playing around with NNs in a jupyter notebook that you get faster training on the CPU until you level up to bigger networks.
381.
▲
by
ladberg
6y ago
I think most Japanese websites look like that for some reason.
382.
▲
by
ladberg
6y ago
Yes it's legal but the people I've talked to don't do it. There's a stigma of renting over buying so the rent/home value ratio is way off compared to the US. Renting out the homes wouldn't really net much profi
383.
▲
by
ladberg
6y ago
Vacant != on the market. I know a few people living in china, all of whom own more apartments than they can use (in the same neighborhoods no less, so it's not even vacation homes). They do it because it's the best way to invest t
384.
▲
by
ladberg
6y ago
The important paragraph that most people probably care about: Soon, Google Maps will default to the route with the lowest carbon footprint when it has approximately the same ETA as the fastest route. In cases where the eco-friendly ro
385.
▲
by
ladberg
6y ago
Yep, I have "Unlimited" cell data but it throttles to 128Kbps after 4GB. If I were to blow through the entire 4 instantly at the beginning of the month I'd only be able to reach 48GB by continuously maxing out my bandwidth un
386.
▲
by
ladberg
6y ago
Not anymore, hah: https://github.com/Jimbly/regex-crossword/commit/0e603975f21...
387.
▲
by
ladberg
6y ago
That line matches for me if I add it to the grid, though it breaks other lines. Are you sure you're going the right direction? It should be going from the bottom left to the right (in the order of the the regex text).
388.
▲
by
ladberg
6y ago
I agreed that "B" does match. However, the puzzle needs to match the full line and not just a substring so "ZZZZZZ" or "B " don't.
389.
▲
by
ladberg
6y ago
That's not the case... .(C|HH)* matches with single character followed by any number of C's or HH's. So " " or "B" would work but in the puzzle the full line has to match so those aren't possible
390.
▲
by
ladberg
6y ago
Huh yeah that could be right... I'll have to think about it more.
More ›