skysight-inc/HackerNews huggingface dataset:
High-performance Hash table design is pretty interesting, because modern CPU architecture has grossly changed their performance characteristics.

In the 90s, it was (probably) faster to do linked-list / chaining as a collision resolution mechanism. But because L1 caches are so fast on today's machines (and DDR4 remains very high latency), linear probing seems to be the winner on modern machines.

Consider that DDR4 RAM is maybe 200-clock cycles to access (50ns on a 4GHz modern machine). L1 cache can be accessed within 4 clock cycles. Fetching an entire cache line is like guessing on 8-positions in linear probing.

The if/else statements will execute all within single-digit nanoseconds (Modern CPUs execute at 4GHz, and can execute more than 1 instruction per clock tick... up to 6-instructions per tick if all instructions are in uop cache and are properly branch-predicted), long before the 2nd location (ex: the 2nd member in a Linked List) can be even accessed.

Furthermore, modern CPUs will perform pre-fetching when they notice code traversing through memory linearly. As such, the 200-clock cycle latency is "pipelined" and performed in parallel in practice. Your "effective latency" drops significantly when you traverse linearly.

EDIT: And finally: staying on the same DDR4 row (Roughly 1024 bytes) means that you only have to perform a Column-read command over and over again. If you leave a DDR4 Row, the RAM needs to precharge, open the new row, and then perform a new column read. Takes roughly 3x longer than reading from an already open column.
The point is, switching to cameras has aerodynamic efficiencies. Mirrors are currently a necessary cost that cameras could replace to improve drag coefficients, improve fuel economy/range, etc. OP's concern was that the cameras would not provide sufficient substitution for the mirror's features. I'm arguing that wide field of view solves that problem.
Aren't most people like this, though?
I drive a lot in heavy snow. Mirrors have to be clean and unobstructed to work. During winter, before I get into my car in the morning, I have to clean the mirrors. The rear view mirror is often compromised by my rear window being gunked up, overwhelming the wiper.

So as for failure modes, nah, not terribly worried.
"By 2050, between 350 million and 601 million people [in Africa] are projected to experience increased water stress due to climate change"[1]

"Climate change is projected to decrease freshwater availability in central, south, east and southeast Asia, particularly in large river basins. With population growth and increasing demand from higher standards of living, this decrease could adversely affect more than a billion people by the 2050s."[2]

I understand this may not affect you personally. But don't just dismiss it as "some humans will potentially suffer". Billions will suffer, most of whom (being from developing countries) aren't at all responsible for the catastrophe that will befall them.

1. https://en.m.wikipedia.org/wiki/Regional_effects_of_global_w...

2. https://en.m.wikipedia.org/wiki/Regional_effects_of_global_w...
How often does strong->weak, no->strong indicate/correlate placebo effect?
Watch David's talk coming up (https://www.facebook.com/pytorch/), it will contain some answers :)
and you pay capital gains if something you owns appreciates and you sell it.
> You sure about that? I mean yeah, "we" as in at least you and I, but the general public...

...no, sadly I'm not sure. The point I wanted to make is that banning certain apps is no better than banning certain books.

I originally wanted to write something like "We wouldn't be okay if certain books were banned on certain brands of bookshelves", precisely for the reason you mention—but I decided the comparison would be too weird.

That said, I don't think it's a coincidence that every e-reader (as far as I'm aware?) allows sideloading, including the Kindle line, which Amazon sells at a loss. The optics of any company "banning books" would just be too poor. I wish the optics on "banning software" were equally poor.
> a long time

The Ford Edge has had the option since 2015. Looks like the Explorer got it the next year. The Subaru Ascent has it for 2019. I'm sure there are others that didn't come up in the first couple pages of my search results.
If you think about it, this comment could be made in reply to itself.
It's a pity that the major regions that link the greek/roman thought of the 'west' to the Indian/Asian cultures of the 'east' are today places of conflict resulting in destruction, both intentional and collateral. How much of archaeological knowledge has been lost to post ww2 wars in Afghanistan, Iran, Syria?
One thing I was confused about. The document says there are 7 byte types, but I thought UTF-8 was variable width up to only 4 bytes. Did I misunderstand something?
Blackout is black time or what?
You could do this on XP too.
Stalker 'found Japanese singer through reflection in her eyes'
Would Google Make More Money If They Charged 1 Cent per Search?
I'm wondering also if we're all working off of different definitions of "middle class". Many people apply a much lower baseline income to the term than the accepted standard these days.
Anonymous answers: How have you seen talented people fail at their work?
"Over the past few years, I’ve perceived that contemporary cars are designed with visual sight lines & ability to see the end of the trunk greatly reduced. Cars almost seem to assume a camera will be available."

That design change preceded camera coverage. I believe you're looking at structural safety there. Making a car that can be collided with in almost any direction safely is not easy. Some window was lost.
Bounded loops and concurrency management sounds pretty awesome. Can't wait till Cloudflare's next write up on BPF with these new features.
40 hours has been historically used to determine full-time status (and full-time benefits) like health insurance. It's one of the reasons I think this schedule is so hard to get away from.
They're certainly no less durable than most consumer laptops. Our hinges in particular have a reputation for being nice and tight for a long period of time. They aren't ruggedized or anything (like a toughbook), but they'll last a good long while if you aren't super rough with your electronics. Mine gets tossed in a bag at the end of the day and toted around on my back via motorcycle, and I've never felt nervous about that at all.

They're also really repairable; there are no proprietary/uncommon screw heads and no glue holding parts down. All of the major electronic components which can be socketed are, CPUs on mobile when soldered a few years ago unfortunately, and you can't really get them socketed anymore). Memory, Wireless, Storage, Battery, etc. are all user-replaceable, and generally repairs don't require bringing the laptop into a service center for repairs.
> You can call it Open Firmware(TM), not open firmware.

let's shorten the other thread, since you just reiterate the same claim all the time without backing it up: I reject your prescriptivism just like I reject snagglegaggle's.
Do pastries and candies go stale faster in those areas without the extra packaging, or is there a different motivation for the packaging?
These logos are awesome! I’ve seen lots of military and IC logos, and they all have relatively similar art styles. Who actually draws these things? Are these by ordinary members of the community who work on the project, or is there an art department that works on these?
They are so dang cheap now crucial cameras could be redundant.
why do we have uber and lyft? why do we have competition?
Not sure I did anything special, I'm using the clearlooks theme with some customisation of the fonts. See the other answer for how I sorted out the res/DPI stuff.
Punishing Blizzard for anti-HK partisanship by flooding it with GDPR requests
Meanwhile, this same incompetent agency still does not allow manufacturers to use convex glass in lieu of flat glass for the driver's side mirror.

https://wheels.blogs.nytimes.com/2010/12/30/in-defense-of-co...
> Can you link them?

I'm afraid I cannot provide links to original material from my childhood 25-30 years ago, no.

I do explicitly remember seeing predictions of this sort of doom which were well within my lifetime, though.
So that's what Google uses all the data it collects from me for.
Guidance for Conducting Offsites
I've done this many times, where it's not actually autocorrect directly in error... it's me choosing the incorrect suggestion from autocorrect because the correct suggestion is absent _and_ i've not looked carefully enough. Probably so common because we tend to identify words by shape, so if the shape matches we pick it.
> IDK, seems like Jeff Atwood no longer has much interest in SE and presumably the site is slowly imploding.

Well, he left the site and the (SE) company in 2012 to start Discourse, so yes. But I agree with the second half of your sentence ("imploding").
What exactly does this have to do with technology other than a tweet was involved?
Regulation for publicly listed companies means that the bottom is actually higher than for VC-funded companies, where nothing of substance needs to be generally known. (wework?)
> Facebook, he began, has an upstream-first philosophy, taken to an extreme; the company tries not to carry any out-of-tree patches at all. All work done at Facebook is meant to go upstream as soon as it practically can. The company also runs recent kernels, upgrading whenever possible.

I was chatting to a Facebook engineer on their use of BPF this summer and heard the same thing, which was surprising to me. There seem to be a number of companies that take advantage of Linux being licensed under GPL and keep their own forks/patches of the kernel that they use internally (anecdotally, I’ve heard Google does this), and the they stay on some old version, which apparently Facebook doesn’t do.
Ethereum Startup Seeks to Eliminate Investor Risk from ICOs
The point is that a vector format / high resolution version was never public. The best we had until recently was a photograph of the physical embroidered patch.
bibliography length is a fetish. I'm writing a paper and I cited Lord Rayleigh for analysis of the airy disk. did I really need to cite him? who really doesn't know that Rayleigh's criterion was devised by Rayleigh? but I did because I'm taking precaution against someone either asking me rederive diffraction through a circular aperture or accusing me of not giving credit where credit is due. it's dumb. some academics are obsessed with attribution (God forbid you're not acknowledged for your incremental genius)
It's pretty easy if you're keeping everything in RAM and don't have layers upon layers of frameworks. You've got about 3B cycles per second to play with, with a register reference taking ~ 1 cycle, L1 cache (48K) = 4 cycles, L2 cache (512K) = 10 cycles, L3 cache (8M) = 40 cycles, and main memory = 100 cycles. This entire comment page is 129K, gzipping down to 19K; it fits entirely in L2 cache. It's likely that all content ever posted to HN would fit in 128G RAM (for reference, that's about 64 million typewriter pages). With about 30M random memory accesses being possible per second (or about 7 billion consecutive memory accesses - you gain a lot from caching), it's pretty reasonable to serve several thousand requests per second out of memory.

For another data point, I've got a single box processing every trade and order coming off the major cryptocurrency exchanges, roughly 3000 messages/second. And the webserver, DB persistence, and a bunch of price analytics also run on it. And it only hits about 30% CPU usage. (Ironically, the browser's CPU often does worse, because I'm using a third-party charting library that's graphing about 7000 points every second and isn't terribly well optimized for that.)

https://www.cryptolazza.com

Software gets slow because it has a lot of wasteful layers in between. Cut the layers out and you can do pretty incredible things on small amounts of hardware.
Well, I can tell this was written by a young person and someone in California. Nothing wrong with that, it's just that she has a lot of expectations that are going to be really hard for any company to meet.

It's awesome if you happen to get hired by a great company that walks the walk, but for the most part the things students/graduates get sold on as "normal" for white collar employment don't happen, or only happen in certain circumstances in a limited way. Examples:

>Flag 1: I did not have a thorough understanding of the role, and I don’t think management did either.

Not even unusual. Sometimes all a company knows (especially a small company) is that they need something done and need a person to do it. These are actually great opportunities if you know the work... it's a chance to write your own ticket. If you expect everything to be laid out for you when you're hired, you're not going to grow much or get paid the way you want.

>Flag 4: Push your manager to provide a clear description and/or breakdown of your role. You should know what you own, what your day to day or week to week looks like, and how with your position you will add value to the team that ideally aligns with a larger team goal or mission.

Wow. I think in my whole career I've had only 1-2 managers who could tell you in full how my role "aligns with a larger team goal or mission". Most of the time it's just "Our business runs on computers, and you know how they work". It's great if you have a visionary boss, but most people don't. If when you're hired your manager can tell you exactly what you're going to be doing and what success looks like, you've gotten an easy job... that again won't pay as much as you want nor help you to grow.

Uncertainty is normal.

>Flag 5: I didn’t have an ally or sponsor in the workplace. This stemmed from me not feeling like there was someone that I could reach out to, and not feeling comfortable in the work environment.

Most workplaces you don't have someone to hold your hand except maybe your boss or (if you're an intern or trainee) your mentor. That's not a normal thing to have, your employer is running a business, not an adult daycare. If you want support, join a women in business org or a fraternal organization.

>Flag 6:A good manager will work with you to identify your strengths, and provide you work opportunities to learn the skills that will allow you to advance in your career, and help you take it in the direction you want.

...and the other 90% of managers are doing well if they get all the work done on time and under budget and don't accidentally murder or grope their employees.

I'm sure the business environment is different in Cali, especially in the valley, but the author's expectations are rather high here.
Sorry, no, all pages report "Whoops, looks like something went wrong."
I believe in interviews Matt Frewer stated that he'd never wear the makeup and prosthetics again (it nearly killed him a few times and he's in his 60s now). That said, given how Hollywood's deaging VFX tech and motion capture has advanced, I wonder if we've nearly hit the point where VFX could do Max Headroom "for real" with motion capture. Would be funny to do with VFX today what was practical effects pretending to be VFX back then.
Prefetch Your Google Fonts for Performance Gains in Gatsby
Cryptographic hashes also need speed and uniformity. They just need irreversibility significantly more.

GF(2) space is incredible for both speed and uniformity. IIRC, the fastest x86 hash-functions just use the AESENC instruction (Note: the AESENC instruction executes with 1-instruction per clock cycle on Intel, and 2-instructions per clock cycle on AMD. Its an incredibly fast primitive).
Are most people are evil in this way? Most laugh and exhibit schadenfreude. Most of my friends who I played Simcity or GTA with were maniacal murderers in these games.
Corollary to Clarke's Third Law:

Any technology demonstrated to a sufficiently unsophisticated audience is indistinguishable from sufficiently advanced technology, which is indistinguishable from magic.
Did we break it? (site doesn't load for me)
https://www.autonews.com/article/19960122/ANA/601220731/deco...
Pythonic-News – A New Hacker News Lookalike Written in Python/Django
pythonic-news

The goal is to create a Python community to share and discuss news about different areas of Python.

Website: https://news.python.sc/

on Github: https://github.com/sebst/pythonic-news

from:
Sebastian Steins (sebst)
for the record I used to be able to see a bit of the desktop on windows after waking from sleep before the lock screen came on. can't remember if that's still true, though.
America was far more of a hyperpower in the mid-20th century when it didn't have so much diversity. Diversity is at best neutral for the economy, and it's almost surely what's making the country socially go down the toilet now.
Why U.S. Cities Are Banning New Fast-Food Drive-Throughs
Recent Windows login issues I've had to deal with:

* Non-consensual insertion of Windows Update latency into my schedule. Often I don't mind. Sometimes, though, I really, really do.

* Said updates failing but giving no indication of failure other than taking infinitely long.

* Keyboard layout sometimes gets swapped back to QWERTY with no visual indication. This interacts especially poorly with stringent Active Directory 3-try-lockout policies.

* Network hiccups + active directory (or something) can cause login to spin indefinitely, requiring a restart.

* Login screen background occasionally changes to a random picture from my computer. Usually a wildly upscaled application resource. I haven't entirely ruled out my own clumsiness as a contributing factor, but I've also seen this in the wild, so it's at least a UX issue somewhere.

None of this is as bad, in a theoretical sense, as Apple's no-password fiasco, but it has resulted in a far larger footprint on my day-to-day activity.
thank you, that was very informative.
> I'll bite - imagine then a South that sided with Germany in WWII.

Or, imagine WWII not happening at all, because it would be the CSA, not Mexico, that the Germans prodded into conflict with the USA during WWI (if, as seems likely, the USA still managed to become a major industrial power and was still inclined towards the Allied Powers; otherwise there would be no need), and that likely is more successful at distracting the USA from being in a position to swoop in as a fresh power when both sides are near collapse, so you don't get the clear Allied victory and punitive terms at the end of WWI that lead to the Nazi rise to power.
Here's a video of it happening on live x-ray:

https://www.youtube.com/watch?v=ZyUjH2FmRLE

Quite creepy
Entertainment Archives – Ustvgo.tv
The problem with Android is its mostly closed nature, so there are multiple places where malicious software could be placed by design, system apps and to a greater degree device drivers being the first obvious choice. By malicious I mean software that limits or acts against the user choices, not necessarily behaving like a virus.
Ask HN: Does old concrete reveal information about air quality?
I noticed a worker at a demolition site using power tools to extract cylinders from an old concrete wall. While I'm sure this particular project isn't aimed at scientific research, it made me wonder if there's a demolition-materials equivalent of ice core research.

https://en.wikipedia.org/wiki/Ice_core

After all, steel has a different level of radioactivity depending on whether it was manufactured before 1945 (!).

https://en.wikipedia.org/wiki/Low-background_steel

Could there be similar properties in old concrete where one could learn interesting things about the composition of the nearby air at the time the concrete was first poured?
> would adoption of RISC V help fix this issue?

If you're in the market for some slow CPU, maybe. For high performance stuff the creator will likely have to license some function blocks that come with strings attached.

I'd love to see a fully open RISC-V core with a DDR4 interface (and USB2/3 for all kinds of interfaces), but somehow I just don't see that happening before DDR4 is all but obsolete: those interfaces aren't trivial to build (so that they work with all kinds of stuff) and few folks have the equipment to test their Verilog (or whatever) that would implement these high speed controllers against real devices.
A news reader layer to Hacker News... I love it. I am to this day fascinated by the D forums. I don't know anybody else who does that. There's some newsreader client for KDE I was using and I was able to download every single thread from the D forums, so now I had them all available offline.
Doc told me your tendons can end up taking up the slack, which can cause other issues
Was the vector version public?
Absolutely. Based on various anecdotes it seems apple succeeded nearly in spite of him, but he surrounded himself with people like Wozniak, John Carmack, Tevanian etc people who’s confidence in what they knew could always win out against Steve’s bluster. Steve brought people together, but also brought creative tension. He was also pretty good at spotting opportunities and trends. Apple really does feel rudderless without him. There’s no coherence of vision between products. Quality doesnt even really seem to matter. Apple still operates in a very top down manner, but it just doesnt seem as though there’s anyone at the top with much in the way of interesting ideas. Watch did okay, but was hardly a game changer. Earbuds are a success, but they cant be making that much on them ... Steve’s gone, and more’s the pity for all concerned.
Here is probably the best source for that: http://www.wtfpl.net/faq/
Most squirrels are scatter hoarders: almost everyone's seen a squirrel bury a nut in a lawn. They bury their nuts all over their territory and remember the locations and retrieve them later.

What you might not know, is that in old growth oak forests, most trees were accidentally planted by squirrels.

The acorns that they forgot and didn't retrieve, sprouted and grew into oak trees.

So the analogy of a squirrel as ruthless acquisitor is not quite apt, because their manner of caching their hoard actually helps to plant the next generation of trees.

(Acorns do not sprout as well when the just fall to the ground.)
In my experience as the target of bullying, talking to the bully doesn't really work, either.
We should all completely boycott Blizzard and never purchase games from it again. Same thing with the NBA. In the long run, we need to fight back in China itself against the dictatorship.
Productive economic relations for both sides, yes.

But currently it isn't and we have given a chance the last 20-30 years, so we should adapt to that situation.

It has been mostly a one way road.

Recent events have also shown that no true progress will be made in the foreseeable future. ( What China says vs do's is very different)

My suggestion is fair, how it is now isn't.

Ps. Nice throwaway account.... Perhaps use a real account for discussing things and try at least to have some arguments :). I'm always open to adapt my opinion, if someone has usefull arguments ofc.
Indeed. I recommend a Butlerian Jihad followed by rigorous reliance on Mentats.

It's a joke but sometimes I really do wonder.
Corporate America’s parochial morals
It has been available on a ton of cars over the past half-decade. It's starting to become a standard feature now. Even the sub $16K Nissan Versa Note has it standard.
You probably should of did a little bit of research an got a Miele.
What great timing for Pytorch Mobile to just be announced

https://news.ycombinator.com/item?id=21217169
Also how most people are so scared shitless of anything like the genocide happening again (beyond understandable obviously) and thankful to Kagame it hasn't, they don't really seem to mind too much about the terrible shit he pulls, because it so clearly pales compared to "the alternative", however false a dichotomy that might be.

It's done them well, but at some point the mindset will have to change.