Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stefs
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
301.
▲
by
stefs
4y ago
if all oxygen in the air was suddenly (by magic) replaced by carbon dioxide it would put extraordinary selective pressure on humans to evolve something other than oxygen-depending lungs. the most likely outcome would be that we'd all d
302.
▲
by
stefs
4y ago
thanks!
303.
▲
by
stefs
4y ago
at least she didn't eat the chicks.
304.
▲
by
stefs
4y ago
you mean N^2?
305.
▲
by
stefs
4y ago
the necessity of this hack always makes me angrier than it should.
306.
▲
by
stefs
4y ago
true, but for a blog, the html would be cached per page, which means that if you look at n pages the same css is loaded n times too. depending on _how_ you cache it, there might be a cache invalidation round trip for your css (Q: has this c
307.
▲
by
stefs
4y ago
"i pee" access
308.
▲
by
stefs
4y ago
this is an important point for structured training, i.e. for people who already have a work ethic. nobody is going to force high intensity interval training on recreational cyclists and runners, but it is important for people looking to imp
309.
▲
by
stefs
4y ago
i guess interior mutability just a design decision - it's not a _sham_, it works as intended. i'd like to know the reasons for this.
310.
▲
by
stefs
4y ago
> Such functions can be called in the usual way as if they were methods of the original class. This mechanism is called an extension function. well, that's not exactly true, because extension functions can't access private fie
311.
▲
by
stefs
4y ago
the idea is that with UBI, you get enough to cover your most existential needs, i.e. food, shelter, etc. if you work a job that pays less than UBI it's almost per definition not enough to survive. why work and starve if you could just
312.
▲
by
stefs
4y ago
wait - if you had zero cash in your wallet, you'd _never lose_, because you couldn't receive less.
313.
▲
by
stefs
4y ago
i doubt it's designed for classic single-person e-bikes; there's one picture at the bottom of a cargo-bike with a person-sized transport box. i think this system is for small inner-city utility vehicles for delivery services and c
314.
▲
by
stefs
4y ago
this path will indeed lead to human extinction, but the path is climate change. AI is one of the biggest last hopes for reversing it. from my perspective, if it does kill us all, well, it's most likely still a less painful death.
315.
▲
by
stefs
4y ago
it's not just the community, it's also you. easily observable if you acquire a new hobby and join the respective subreddits. at first everything is new and exciting, hard to understand, foreign lingo and full of cryptic references
316.
▲
by
stefs
4y ago
it's not about nefarious server administrators, it's about an attacker getting in, dumping the database content, logs and whatever else they can grab. they then search those for valuable information they can sell - like email addr
317.
▲
by
stefs
4y ago
i thought so too, but is it actually the case? it's a bit more js code but if pack all your js files there's one less http header. then it's cached. for the image you got the initial size + header (roughly 500 bytes), then it
318.
▲
by
stefs
4y ago
there was almost an exact dupe a few weeks ago. also a security researcher scammed by the same method.
319.
▲
by
stefs
5y ago
of course i have an adblocker ... aaaand it looks like that's actually the issue. i don't think it used to be like that.
320.
▲
by
stefs
5y ago
i don't think the singularity and AGI is that close. while i see no reason why it shouldn't be possible on silicon-base hardware instead of wetware, i assume AGI will be different than what we imagine it now. the current expectati
321.
▲
by
stefs
5y ago
well - my feed is literally dying. i've got an "oops, something went wrong" error message (instead of the feed) for months, the console is full of errors. only news i get are from notifications.
322.
▲
by
stefs
5y ago
that's not what they were arguing tho: "You can make buttons look like Windows buttons on Windows and OSX buttons on OSX but that's only superficially cross-platform." platform design choices are much more than the look
323.
▲
by
stefs
5y ago
the problem used to be very visible in early app development: you get android apps that try to imitate ios. the navigation is wrong, the inputs are wrong, the ui language is inconsistent. it happened all the time when almost all of the grap
324.
▲
by
stefs
5y ago
your example is a bit confusing because you mislabeled the prompt for distance in val distance = parseFloat(prompt('enter time')) * 1 m // Convert unitless to meters just by multiplying
325.
▲
by
stefs
5y ago
don't do this! typealias Cents = Long typealias Meters = Long Cents(3) + Meters(4) = 7L that's exactly the thing we want to prevent. the classes shouldn't be for units at all, the type should represent t
326.
▲
by
stefs
5y ago
that's correct. typealiases are the wrong solution here. the better solution would be value classes, but of course, the unit shouldn't be the type.
327.
▲
by
stefs
5y ago
i'd say the leaders were the netherlands and denmark. iirc paris, barca and oslo have started changing things by removing cars from the centers more recently.
328.
▲
by
stefs
5y ago
like whom? americans? londoners? africans? indians? but you're right that 60000 INR sounds like a lot more than 3000 EUR, because, uh, the number is 20 times (!!!) bigger.
329.
▲
by
stefs
5y ago
weight is a factor when it comes to ride quality, though how important that is for you is, i guess, dependent on your personality. if a bike isn't fun and therefore not used after the initial honeymoon phase even the cheapest price tag
330.
▲
by
stefs
5y ago
fun is an important factor. if riding is fun, people look forward to it. i, for one, prefer my bike to driving my car or taking public transport. if riding your old clunker is a chore you'll find excuses at every opportunity and probab
More ›