skysight-inc/HackerNews huggingface dataset:
In many cases, a great engineering team can practically manage themselves. I've been on teams that had managers who were so bad they were useless at best, but so much engineering experience that we could ship a good product anyway.

I assume these managers got promoted after I left. It's hard to measure manager effectiveness, and with projects lasting multiple years, a couple of wins can make it look like you're an ace manager even though the team basically just ignored you.
Space Traffic Is Surging, and Critics Worry There Could Be a Crash
Rekated: Dan Luu's article on branch prediction is pretty good: https://danluu.com/branch-prediction/
Not much. Might even have the opposite effect.

This is like China’s 9-11. They have fear, a travel shutdown, and effectively shut down their businesses for at least a week.

The economic impact just driven by the fear is huge. The magnitude probably won’t be truly understood until the second half of the year.
Bad keyboard shortcut or bad drag and drop support maybe?
I 100% agree. Lua is a small and elegant language, with two unambiguous severe flaws: global scope as default and one based indexing (one based indexing might be fine in other contexts, but not as some C/C++-glue language). The global scope thing can be mostly worked around with tooling, but the 1-based indexing (which in the context of luajit's seamless FFI and terra really means both 1 and 0-based indexing) adds so much friction that it's well worth giving up on or patching existing lua libraries.

Additionally, the lua ecosystem is already fractured (luajit is 5.1 + some selective ports of 5.2 stuff) and my feeling is that making this fracture complete will probably work out better in the longer run.
So there's no Apple APIs for global shortcuts and apps like Lastpass and Google Drive have to request all keystrokes to implement one?

Has this problem been fixed on Wayland? Because I remember it having the same issue.
Branch prediction can usually be disabled during processor initialization (as well as other features like cache).

I was bringing up Linux on new hardware one time. What was happening was it would get partway into booting and then crash at a random spot. In the kernel config there's an option to disable the D-cache and I found that it would boot fine with it disabled. Turns out the root problem was that the processor voltage wasn't being set high enough, and that disabling D-cache must have reduced power consumption enough to allow it to boot at a lower voltage.
Sure there is: its the monotomically increasing count of Planck time "instants" starting from the big bang during which the worlds quantum state ticks forwards.
Show HN: Maze Game – A Weekend Project
Was playing with BabylonJS engine the other day, found it quite cool, so made it into a playable result. Hope you'll enjoy!
> with Waze and most driving apps - they optimize for "least time," not "least anguish"

It's my impression that Google Maps does the latter; Waze is known for taking wild routes that are nominally faster. I'm not sure that I see a basis for complaint, as they're just offering a choice of different route objectives to optimize for (I know people who explicitly use Waze because they prefer its aggressive optimization to Maps). I suppose a toggle would be nice though.
This is a liquidity event, not a stock market problem. They have to be solved differently.

So you are right that they may help the market for a day or two, but that won’t solve the underlying issue as you suspected.

More will be needed. Much, much more.
I took a new job this past fall, and I found our "git push to production" pipeline to be quite opaque. I solved this by taking on small projects to implement incremental improvements: improving log level configuration for production, simplifying database migrations, etc. I learned a bunch about different parts of the system, and it gave me a chance to gain some visibility in a good way. And each improvement helps me feel more productive, and that increase in perceived/actual productivity comes from better tooling or having knowledge of how the system works.
Yes, of course they're tools, but "religious requisite" is a pretty disingenuous representation of the argument I'm making here? Something being a tool doesn't mean its use or lack thereof can't be incorrect. Bikes are tools too, but you don't ride them on the highway, right?

Quotes are tools that affect the correctness of your control flow quite vividly. Of course if there are multiple tools for solving the correctness issue you're welcome to choose any of them (and maybe the choice between the tools is something you can ascribe to religion), but that doesn't absolve you of the need to solve the issue itself. When the argument is that a piece of code is executing objectively wrong instructions (and ones that would be so obviously wrong in other languages!), that's pretty much the diametrical opposite of what you can casually dismiss as religious dogma...
>I usually avoid Google maps for traveling in areas that I don’t know. It takes you off on stupid routes that save marginal time (if any) too much.

We relied on GMaps on a recent (my first ever) visit to Malta, and it took us through some pretty dodgy, steep and narrow, local roads on our way in.

We didn't know of this GMaps' preference of, erm, interesting routes, so we figured that's just how Malta is. A few days later and, of course, we learn there's a perfectly normal, pleasant route that took us there in as little time as the dodgy one...
I'm from Europe, though I have enough exposure to US culture that my own thinking does blend European and American ideas (to the extent you can even define "European" vs. "American" thinking).

Anyway, I think class mobility is actually a real thing over here. For one, a good chunk of Europe was under Soviet rule until ~1990, and in the early days of proper market economy, a lot of enterprising individuals moved up a few rungs in the ladder. Secondly, it's hard to not see our industry as a perfect way for easy upward mobility. Myself, I jumped up a level just by virtue of preferring computers to sports as a kid.
it can prevent flash crash which can rollover everywhere, and instead levels will be lowered gradually until fresh news can spread everywhere and prevent panic
In a way you’re assuming no inflation which has been the case for the past decade. BUT. What happens when China goes offline and takes low cost labor with it? For the record, I believe this situation will resolve within the month but it will certainly reveal global over-reliance on China (this is meant as a positive comment that China has been the single driving force behind economic recovery which they don’t get enough credit for).
There was a time when BMW's advertizing seemed to be very specifically aimed at the self-important, entitled, yet insecure person, but I think that has changed (or I have just stopped paying attention.) Nowadays, bad driving seems to be more widely spread - a combination of "fuck you, I can do whatever I want", self-absorption and inattention, as typified by the 'pick any lane and drive at any speed' style of driving, and the people who insist on hanging right on my rear quarter.
In the US, cost of money for institutions is already so low that effective interest rates could absorb a lot of demand without going haywire. It might actually be healthy for the economy.

I do agree that the Fed has been unwise in buying debt just to bolster Donald's bull market.
Boy, those Germans have a word for everything.
My understanding was the US was not doing this to the extent China was. There construction projects to build ghost cities.
https://gisanddata.maps.arcgis.com/apps/opsdashboard/index.h...

According to this link there was 14451 cases in China, even if statistically insignificant (something like 0.001%) it's a bit much for my taste, especially if we consider that the Chinese authorities could have massively downplayed the number of infected persons.
The lost lives of their blue collar work force deserve the credit.
Given what appears to be exponential growth, the calculation seems to ignore potential future deaths in the currently known cases. Pardon the morbidity and cynicism, but maybe some of these 14628 people haven't had the time to die yet?

Wouldn't it be more appropriate to compare deaths (305) to the number of people successfully recovered (348 as per the same page)? This gives the survivability rate of 53%, which does sound scary (and I'd love to be proven wrong here).
It's not governed by fear, especially not hong kong.

It's more of a cultural reaction that many went to the shop to gather food, detergent, face masks and more for the next month(s) so the shops have run out of things (plus many businesses and transports have closed). The panic wasn't driven by government decision but by people acting individually in concert.

It's hard to tell if the same would happen in the US or Europe if and when the first few people will get infected by the virus.
Curious whether you've compared it to https://github.com/chriselrod/LoopVectorization.jl ? Which if I understand right is a pure-Julia attempt to use many of the same tricks.
This kind of analysis I'm seeing everywhere is so misguided. The reason the local government didn't report on the situation accurately and even punished some journalists for speaking about it is a flaw of how their country is run and how their command structure incentives are poorly set up. This isn't a new problem and it's why we have converged to a different system in most of the West.

The government coming in later after the situation is already out of control and responding aggressively is only a sign of their failure, given that it wouldn't be necessary for this to happen in a country that wasn't so authoritarian. This should be a wake up call to people in the West who think that banning "fake news" and "misinformation" is a good idea, given that the local government used this exact same excuse to punish journalists speaking about the outbreak early, when it could have been controlled properly.
> M.2 is longer than mSATA

There are 42mm long M.2 drives and as all M.2 cards, they are 2mm wide. The largest 2242 SATA drives are 1TB from such reputable brands as Kingspec and Dogfish and I strongly recommend avoiding them like the plague. I'd stick with the Transcend MTS 430S at 512GB, it's the first SSD in such a size with a DRAM cache, launched last year. (At least the first retail, no idea what goes on with industrial SSDs.)

Full height Mini PCIe cards are 30×50.95 mm. You can indeed buy an msata to 2242 adapter and it's cheap as dirt because it is completely passive, just the PCB with the right edge connector with the M.2 key B connector mounted on top. Zero electronics necessary. It's just SATA.

For the sake of completeness, I must note some newer 2242 drives are key M / NVMe / PCI Express and I haven't seen such an adapter yet. The Sabrent 2TB Rocket is the largest 2242 SSD I am aware of and it's key M.
It's standard Keynesian monetary policy. There's bound to be some impact on the economy from the coronavirus, but sudden shocks to the system cause the economy to overreact, and far more people get thrown out of work. If the government overstimulates, then you get inflation, but in a crisis unemployment is a bigger problem.
BBC: How to generate random numbers in 1971 [video]
Out of curiosity, what's your native language?
We almost built 8 gigawatt-class floating nuclear power plants
On the other hand it’s hard to predict all the ways a feature might be used so why restrict it’s flexibility to your own imagination.
I'd like to see some more granular status e.g. out of 15k cases 1000 are 25-35 years old males that were healthy. The survivability rate is X for that group.
https://www.sabrent.com/product/SB-1342-2TB/2tb-rocket-nvme-...

Be careful: this is key M and it's not unlikely you have a key B slot. The largest key B 2242 drive is, on paper at least is https://paypaymall.yahoo.co.jp/store/etrend-y/item/1194784/ but I have never seen it being in stock after it launched (?) last year. Otherwise, the SN520 is the largest obtainable at 512GB. https://geizhals.eu/western-digital-pc-sn520-nvme-ssd-512gb-...
And a proper name is not good evidence of normal usage. "Christmas" is normal use in an older, Catholic method of identifying calendar dates. Americans don't use that method; most couldn't if they wanted to. But Christmas itself is still identified that way for historical reasons -- the word has gone from being an example of talking about the calendar to being an example of a proper name.

"4th of July" is not a method that Americans couldn't use if they wanted to, but it is an ossified usage that doesn't reflect how Americans generally refer to dates. Like Christmas, it is a proper name of limited evidentiary value.
>So you'd need lots of guards

Can't edit my other reply.
The operator in the OP runs 68 nodes. I did not look at each one, but it looks like most, if not all of them are guard nodes. This article mentions someone running at least 10% of the guard capacity: https://medium.com/@nusenu/the-growing-problem-of-malicious-...
Tor's design obviously failed. Everyone can become a guard. You just need some patience. Also other nodes like DirAuths, bridges, fallback directories can discover Tor users.
I’d take the other side of that strongly, if it was possible. The human brain is definitely not a kludge by any definition. And a lot of the tricks people think they know are not tricks at all.

Neuroscientists are the new doctors of the 50s. We thought the appendix was useless turns out it has many uses. We thought priming and all these “tricks” were things and then the crisis and Kahneman et al were debunked.

I bet the brain is just as elegant and powerful as it has to be to do the incredible complex things we do, and we’re just so far from really understanding it that we run around appendicizing all sorts of things we just don’t really know well yet.
reddit/r/forhire has incredibily low pay for freelance jobs (employment being different). 25-30$ per hour for development work is incredibly low
Creating a virtual traffic jam on Google Maps with 99 phones and a wagon [video]
China has implemented drastic containment measures and many foreign companies have sharply cut business they do in China.

Emergency braking of Chinese commerce will hit the global economy hard, no matter how low the death rate is believed to be, because fatalities aren't the driver of the economic impact.
Faculty Job Interviewing Tips
> In fact, perf showed that the query server as a whole was spending 4% of its CPU time on one instruction in that loop:

Looks like 40% to me actually. I think there's a typo here. EDIT: The tweet is more clear. 4% of the total CPU time for the whole program. The 40% in that line is only for that particular function (I presume the function is taking ~10% total CPU time, and 40% of that is on that singular instruction)

------

> The first thing to note is that instruction-level profiling tends to put the blame on the instruction following the one that triggered a sampling interrupt.

Hmm, in my experience with AMD-based hardware profiling, AMD CPUs may place the blame as far back as ~200 instructions (pathological worst-case) behind the instruction that was interrupted.

This is most obvious on AMD branch mispredictions. A branch mispredict can, by definition, only happen on branch instructions (a cmp/jmp pair, since cmp/jmp turn into a single double-instruction micro-op on both AMD and Intel). But you'll find mispredictions "blamed" on all sorts of non-branching instructions on AMD-hardware. Its a known limitation of AMD's hardware performance counters.

In the first case, the modvqu is almost certainly where the 40% of the time is being spent... later on there is...

9.91 | lea (%r12,%12,4),%rax
0.64 | prefetcht0 (%rdx,%rax,8)
17.04 | cmp %rcx,0x28(%rsp)

I can't imagine that the prefetch0 instruction is taking up 17% of the time of the function. I expect that the 17% here must be something else. In particular, Agner Fog's manuals state that PREFETCHINTA/0/1/2 has 1-latency and 2-instructions/clock throughput: a very fast instruction under Agner Fog's test case on both Intel Skylake and AMD Zen.

AMD has "instruction base sampling", a difficult to understand but more accurate profiling methodology. Intel has PEBS, precision event-based sampling, which helps narrow down the specific instruction to "blame".

This blogpost doesn't say which CPU its using, but unfortunately, these little details do matter. Ultimately, I'd investigate more before concluding the prefetcht0 instruction is actually the problem.

If Store Forwarding might be an issue, then LD_BLOCKS.STORE_FORWARD event on Intel Skylake would be a performance counter to check.

--------------

> and accelerate random accesses to the hash table with software prefetching.

Does prefetching actually help in this case? Have you tested the code without prefetching?

Without prefetching, a MODERN processor will NOT "stall" on the load instruction. A modern processor will execute out-of-order, branch predict the next iteration (its an inner loop, so its probably always taken), and then effectively achieve the same throughput anyway.

I wouldn't necessarily be "surprised" if prefetching helps in this case... but its not necessarily a given.
For historical context, Winston Churchill is the guy that starved 3 million Indians to death.
> English for instance would never ever do something like that

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

Or one that absolutely drives me nuts:

"A great rate of speed"

Which is a journalist way to say "I failed high school physics, but I'm still going to try to sound smart".
I do, but I’m not ready to abandon obscure bits of software from years ago that accomplish one complicated task and therefore have no current maintainer. I’ve been too busy to devise a game plan for this, and in the meantime Mojave is running fine. I wonder if the music app will run on Mojave
Because natural resources are finite. If you don't understand why runaway inflation is bad then you'll need to educate yourself.
Companies will face cash crunch because they temporarily can’t sell (since they can’t make widgets). This will help them bridge that gap in theory.
Whoops, I read the person I was responding to as saying "it has gotten worse now", not that they just realize it now. Didn't mean to shame someone for not knowing something!
I think right lines of research are around tweaking the gut microbiome. And the real underlying problem that we are facing is a "diet+environment+herd" problem. With the horizontal bacteria transfer playing major role in it.

I don't think it is a good idea to take broken immune system and introduce a known trigger in unknown quantity. And I don't see much difference between serving a bit of diluted peanut butter and a pill like the one that got expedited through FDA as a breakthrough therapy. In my opinion both are pretty much the same level of intervention and both are quite stupid.

I'm not a specialist and can be easily wrong here. This is an opinion. The quality of this post is a "random post on the internet" type of thing. The top post content is pretty much citations from the article. And me, not being impressed by the solution and the set of incentives to the industry that had produced that solution.
Take a look at FlexBox - if you've been around the CSS layout block a few times you might find yourself going "finally - they figured it out!"
Recent and related: https://news.ycombinator.com/item?id=22193657
> I could be gravely mistaken and be a victim of living in a filter bubble. Of course.

Sounds that way to me.

Fertility goes down when women enter the workforce and have access to contraceptives. This is also when countries become prosperous. There's no reason to have five children when childhood mortality is low, pregnancy isn't risky, and you can have sex without getting pregnant.

I don't believe the whole "cost of living is going up" stuff that millennials constantly whine about. It's perfectly affordable to live in most places in the US. Millenials are victims of the college loan scam, i.e. going into debt for a worthless degree because "that's what you're supposed to do". They, their parents, the government, and especially the colleges are complicit in this victimization.

> But it's what I am seeing periodically and it worries me. People just don't care that much for making kids or looking for jobs since it all just guarantees suffering and sacrifices and nothing much else.

This kind of nihilism is related to affluence. It infects most people who go through the college system and never experience any struggle.

> Many elderly people tell me that they regularly chat with their kids (now 30-45) and are convinced that having a fulfilling life was easier even as back as 20-30 years ago. They might be right.

Again, this has to do with affluence and not the "world being worse/more expensive/etc". Happiness is related to struggle. Wearing yourself out, renewing your energy (sleeping), and then doing it all over again is the source of all sustained happiness. Increasingly, many people can opt out of this cycle, and it's making them miserable.
Two-way communication between an iOS WKWebView and a web page
It depends. NB there are only 300 confirmed recoveries as yet, and figures from China are likely underestimates. It’s probably too early to tell mortality in the initial wave and often viruses mutate as they spread and become more virulent.

Still, hopefully mortality will be low and this will pass quickly, we are quite good at dealing with epidemics now. I suspect the economic impact may be important though if things worsen even a little and the lockdown continues.
My interpretation would be that the rate of survival is 53%; 348/(305+348). People don't die immediately, the ones currently infected can go either to the "Recovered" figure or the "Deaths" figure.

From the link above:
14628 are currently infected(?)
305 were infected and died
348 were infected and recovered
I don't think there is such dichotomy and early youth passion is strongly overrated. Many people who liked modding and similar activities as young are not that great - especially when it comes to difficult tasks. And many people who started to learn it at college or even after are great.

The modders and early starters have massive advantages in beginner courses and maybe in intermediate. But many of them don't progress all that much further or hit some kind of ceiling (difficulty to learn algorithms, it becomes boring once not creative) or even actively dislike programming for business (difficulty to deal with changes in requirements and other business annoyances).

And I know people who studied something else and then changed to programming - most of them come from physics or math background, two teachers. The original decision was for money, but they did learned fast and made up the difference. Mostly because they were used to learn hard things. Learning something makes you like it in the end and that happened too, but was not the actual reason for anything.
It boggles my mind a little bit to realize that there was a period in my life when, barring really earth shattering news, I basically learned what noteworthy had happened the previous week when I got my issue of Time Magazine—possibly augmented by the network evening news if I got home in time and wasn’t traveling.
Panasonic toughbooks? Some are so rugged, they're uncomfortable, but others are only semi-rugged and they're pretty nice.
Yes, but it seems like Firefox is only keeping up, they are playing defensive, while they really ought to attack weakness in Chromium or give users a reason to switch. Right now Chrome is slightly more efficient, slightly better feature coverage, etc.'
One reason why I still use Mobile Opera is because it automatically adjust the text when I zoom in...
A bold move for Mozilla would be to cut down expenses to a 3 year buffer, cut their funding from Google and force themselves to become independent.