skysight-inc/HackerNews huggingface dataset:
> For a lot of code out of order execution is the only way to extract some amount of parallelism

But that's the thing. A CPU is simply a parallel machine forced to accelerate "sequential" code.

A "truly sequential" code sequence, like linkedList->head->next->next->next cannot be parallelized on a modern CPU. The only stuff that can be parallelized are if-statements / loops (aka: branch prediction: try to do the future speculatively), and anything Tomasulo's algorithm happens to pick up.

Even then: the modern CPU will attempt to parallelize that linked-list access because of Cache prefetching. That's actually why Arrays work so well in today's architectures: because the L1, L2, L3, and DRAM components are working in parallel through Cache Prefetchers (and Arrays are so simple that speculation will certainly be correct).

In effect: people are writing parallel programs. They are just leaving it to the CPU to figure out the parallelism details.

X = Y + Z; A = B + C can be made parallel (independent variables).

X = Y + Z; X = D + E. Also parallel: Write-after-write hazard, so X=D+E can execute first, and just throw away X=Y+Z entirely. Etc. etc.

CPUs simply find these patterns in your code and execute them in parallel.

AMD Zen has 4-integer pipelines + 4-vector pipelines + 2 load/store units per core.

Intel has 8-pipelines of varying capabilities per core. 0, 1, 5 are vector units, but 0 is also the division pipeline. Its a bit more complicated, but its still 8x parallelism that is being fed by the front-end (and reordered into the correct order by the backend).

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

Basically: the parallelism does exist in the code that was written. The programmer just hasn't explicitly acknowledged it yet.

But with every "speculative" branch taken, the CPU does work, and then (maybe) throws it away. The GPU-basis of coding is to not do any speculative work at all. Instead, GPUs throw 10-threads per shader (kinda like a core) and SMT the heck out of them.

If thread#0 accesses memory, it will be stuck doing that for 300+ cycles. So thread#1 will take over the core. When thread#1 waits on memory, thread#2 takes over. Etc. etc. By the time thread#9 and #10 roll around, thread#1 probably has its memory ready.

Instead of speculatively executing thread#0, the GPU is provided with alternative work it can do. In any HPC context, there's probably "more work to do" somewhere, so the GPU can remain saturated with work to do. Its naturally a more power-efficient methodology: there's less wasted work.

It just requires the programmer to figure out a lot of tasks that the GPU can do to remain saturated. While a CPU will dedicate more and more resources, all the way towards speculative execution, to accelerate the same task. Even if its highly wasteful.
How to Become a Hacker?
> Perhaps, free market solutions a la Tesla are all we've got?

Tesla is still promoting the idea of the individual car, and that electric cars could replace the ICE car for each and every travel that it is used currently.

If Tesla is the free market solution, then be prepared to pay the bill for climate change.
I'm a free market capitalist. The response we give is if country A is cheaper we should let them do it and concentrate on what we can do well instead. Even if county A is better in everything, they have limited resources so they are better off buying from us something they could do better just so they can concentrate on what they do well while we get good at something we can do but not as well. In the end the efficiency of scale allowed be working together is better for both of us.

It probably makes sense to ignore the above for things like guns and ammo - in case the other country decides to use this monopoly on military supplies against us in war. This is a worst case though, and is rarely required in the real world.
So much this! I mean the author also worked for 7 years at Etsy which did ship quite a lot of new things (bad and good).
For me this is similar to telling a 20 year old, dont go out, stay home, watch tv you will less likely get injured.
Can confirm seeing 502s here, all our alerts just started going off
Especially once youtube switched to not serving the formats they used to and using newfangled codecs not supported by my old computers. youtube-dl is my only way to view youtube videos on most of my computers. Luckily it's easier to get ffmpeg builds that support transcoding from new codecs than it is to get youtube videos to play.
When children processes exit – a debugging story
It's probably not high up because it's a great blog post, but it sparked a discussion and with the news from a few days ago that some big provider's ebooks will stop working because of DRM issues it's a topic on people's minds.
It looks like it. We are experiencing 502 Bad Gateway on https://taskade.com
Now that you mention it, I suppose one of my favorite things about inches are their base-2 subdivisions (e.g. 16ths). The orders of magnitude aren't nearly as drastic as with base 10. They're much more intuitive and easier to estimate visually.

Fractions are great for mental math, especially division, in situations where you might be working with wood for example.

6 months of carpentry made me appreciate feet and inches in a new way.
I got interviewed by two large linux os vendors that make roughly identical products, and both interviews were identical - they seemed to go extremely well, they spoke of having me fly in for team interviews, and how training would happen, but then they completely ghosted on me. With both companies I followed up a week later with a thank-you probe, but absolutely no follow up. Since it happened from both I was able to move on by convincing myself it was just procedural and not personal.
:) `snippets.org` means that TeMPOraL is using org-mode[0] to organize the content; it's not a website.

However, I would say use Git and just sync your stuff to a public/private Gitlab/Github repo depending on your needs. That's how I organize most of my public configs.

[0]: https://orgmode.org/
I asked you elsewhere in the thread what odds you're willing to bet at, so absolutely I'm willing to put my money where my mouth is. I'll happily bet that there will be a demonstration of 'quantum supremacy' within 20 years - that is, a quantum computer computing something faster than a classical computer, whether it's Grover's algorithm or factoring or something else. Let's say by the 1st of July 2039.

I'm not super confident there will be quantum computers, whereas you seem very confident there will not be. What do you think the probability of quantum supremacy within 20 years is? If you think it's 5 % and I think it's 50 %, perhaps we can take the geometric mean and bet at 6:1 odds (~15% chance).

Will you give me those odds? Let's say I stake $200. Then I'd give you that if I lose, and you'd give me $1200 if I win. Or we can increase the amount a bit. Today's dollars, we can inflation adjust since it'll be 20 years.

The terms might sound favourable to me, but you seem very confident that there won't be quantum computers ever, so less than 15% chance in the next 20 years seems consistent with your belief.

I wouldn't know how to put the bet on a blockchain, but if you know about that and want to, I'm happy. Otherwise I am happy to just take your word.

We can also shorten the duration of the bet, but I would want to shift the odds a bit since although I think quantum computers have a decent chance of being possible, there is considerable uncertainty in how long it would take to get to the point of demonstrating quantum supremacy. Probably I would accept doubling the odds if the duration of the bet were halved and so on.
I'm seeing this all over the web currrently.
I think that stress causes constant stress hormones like cortisol to flow. Rewards and relaxation (or exercise) interrupt the flow with positive hormones. But without that, you physically alter your brain chemistry in negative ways from constant stress, literally producing psychological problems such as burnout, anxiety, anger, depression not to mention physiological ones, such as high blood pressure and other health issues.

I think it can get as bad as a form of PTSD induced by constant low-to-mid level stress rather than one major upfront trauma.
#CloudflareDown
Their status page shows no incidents just like last week, very disappointing given this situation: https://i.imgur.com/qHBM2JW.png

Twitter seems to be the most reliable status page for CF these days: https://twitter.com/search?f=tweets&q=cloudflare
You have every right to enjoy this book. But for anyone who has read Ready Player One and absolutely hated it as much as I did, there is a hilarious podcast called 372 Pages We'll Never Get Back (from the guys of Mystery Science Theater 3000 and Rifftrax) that mocks the book chapter-by-chapter.
The top answer to "Why are software development task estimations regularly off by a factor of 2-3?" on quora is a great analogy.

https://www.quora.com/Why-are-software-development-task-esti...
medium.com is down because of it
Seems like it, Medium is down too.
Seeing issues in NL. Intermittent.
Sounds interesting to me, however both first and last link are pointing to a 502 Bad Gateway. Is it just me?
Yeah seems like it https://discordapp.com/ returns a 502 because of cloudflare, at least it looks like that. No incidents reported on the status page yet though.
I had a professor that told us about when he found a bug in some of the flight code while he was interning at NASA. They decided it was too late to fix the bug, so they also put a sticky note on the control panel with instructions. Now I'm wonder how many sticky notes were on that control panel.
This looks like Thought Policing, are people not allowed to express their views on private FB groups ?

What exactly is the crime here except may be Thought Crime.
Lots of 502s for me as well
I'm guessing that the multithreading / shared memory parts were troublesome.
Cloudflare Network Performance Issues
A shortage of availability.
I haven't listened to it yet but this very recent podcast episode has someone from the Google Earth team on it:

https://softwareengineeringdaily.com/2019/07/02/google-earth...
Ask HN: Cloudflare Down?
Our prod site is down, and can't reach Cloudflare. https://www.cloudflarestatus.com/
You know who is constantly stressed and doesn’t get good sleep? People who become homeless.

...Homelessness creates perfect conditions for mental health issues to arise, and yet many tend to think people are only homeless because they were already mentally ill.
Cloudflare Is Down Again
Interesting to see how centralized and fragile our internet is...
In the current Loom implementation, continuation stacks are allocated on the heap; they can grow and shrink as ArrayLists do -- the object stays the same, but the backing array needs to be reallocated.
Also getting 502s on my site and many others near Amsterdam.
Best practices across the DevSecOps life cycle
Same here; all sites down with a 502.
Ask HN: How do you document services and systems?
We currently get by with self-documenting code, google docs and mark down files, but are curious how other teams do this. Are there some fantastic tools we're missing out on?
Getting 502s our end from London too into AWS. Status page seems to be flipping between "minor" and "all good".
I find that the best thing to do is to reassociate labor and effort with reward by doing lots of low-risk primary reward work after a high risk, high effort push (doing refactorings, code cleanup, etc), and that resting after high burnout risk made recurrence more likely due to rewarding not laboring; I haven't burned out at my primary job as a result (can't say I haven't periodically burned out in other pursuits like dating lol) in several years.
images tend to be very large now. 4k monitors are normal, 16k monitors are planned in the future. So yeah I think it matters. Not always but often!
Not exactly, since they are using a fiber API instead of one built with raw continuations. In this context, being one-shot means that there is no operation for cloning or "forking" a fiber.

Each time you resume the execution of a fiber, it continues to execute until it reaches its next yield point. There is no way to go "back in time" and resume execution from a previous state of the fiber, which is what multishot coroutines or the fork system call would let you do.
No it is not predicted. The free market does not require you to use the cheapest supplier, it requires you to use the best for your situation. Sometimes it is worth paying for quality. If using the cheapest supplier causes your customers who care about the environment to boycott you, then using that cheap supplier isn't a good decision.

So the failure comes back to people not actually caring about the environment in China.
CloudFlare Is Down
A story about a groups organizing on facebook isn't about tech?
They do: it’s called threads.

It’s the OS context switch that makes process threads so much more costly than user-scheduled fibers. You cannot involve the OS if you want efficiency.

Otherwise it is the same exact thing.
Cloudflare is down along with so many other websites. Error 502.
Nothing to worry boys. All systems are operational according to Cloudflare.
> There are many holocaust survivors and decedents who take extreme offense to this characterization.

I haven't personally come across this, only the opposite, but I suspect I'm in a bubble of sorts. Can you provide any verifiable sources for this?
Facebook Newsroom Update: Addressing Sensational Health Claims
Yes, seems to have impacted all CF sites. (UK here)
I thought it was interesting because unlike other comparisons I've seen it was someone using a high level language going to "lower level" ones.

Like any comparisons there are a lot of different ways to do thing (even python...), so they'll always be "we didn't they use this or that". And frankly there are very few of these comparisons written by experts in all the languages (usually its someone writing up there experience).

For example's one might complain, he's comparing speeds using "Pillow" which seems to be a c -library wrapped for python, but honestly that's how one might do it, ands its pretty easy, so its legit to me.
Yes, seems to have impacted all CF sites. (UK here)

Status was just updated here, but it was showing everything as operational for a while: https://www.cloudflarestatus.com/
Yeah, there's a lot more I could do to have made this fairer. But, in the end, my goal was to write the program in the most pragmatic way I could for each language, not level the playing field as much as possible.

Also, this blew my mind: https://lobste.rs/s/xz5l8t/one_program_written_python_go_rus...
That's how colonialism works.
Higher/ moral priorities. Time sensitivity.
Yea, I've gotten at least two jobs that way - one fulltime, and another part time consulting. And a few interviews, which went well.

When I'm looking it, I just normally search for Ruby or Rails and see what pops up. I almost never get turned down for an interview if they are using one of those, which is likely due to having ~10+ years experience with them now.
Why not one step further, and let the original formula be the code? Directly compilable Latex:

\vec r = \frac {n_{1}}{n_{2}} \cdot (\vec v - dot(\vec v, \vec n) \cdot \vec N) - \sqrt{1 - \frac {n_{1}^2}{n_{2}^2} \cdot (1 - dot(\vec v, \vec n))} \cdot \vec N

(This is partly a joke and partly a serious suggestion, there are definitely people out there who would find that easier to write, especially if the IDE rendered it properly. I stole it by searching for ni_over_nt and finding http://viclw17.github.io/2018/08/05/raytracing-dielectric-ma... )
Not available along with their dashboard
So it seems... Even https://cloudflare.com/ itself is down
When we're talking about a law enforcement group that has near complete power in the 100 mile border zone?

These are people who aren't restricted by the constitution in their exercise of authority. They don't have to have probably cause to detain, don't have to get warrants to search, can pretty much do whatever they want to you.

So when they turn out to be deeply biased, yea, that's news and it's scary.
The easiest ebook format to strip DRM from is the Adobe DRM that various stores use. I only buy ebooks from the Google Play book store now, since DRM removal is so straightforward. (Same deDRM calibre plugin, but you just get a single encrypted ePub you can download, and adding it to calibre gives you a DRM-free ePub, which is a more industry-standard format. Converting to or from KFX or AZW3 can be error-prone.)
Redundant Watch: Time two times, it says time twice
I see it as well
the article seems to suggest that this is a port of the original (not web) google earth app to webassembly ... but what i'm seeing is another version of the web app. the desktop app has a zillion more features which are not available in the web app... aside from the similarity of their name, and the shared imagery, the two are completely different things. i'm bummed, i was hoping the desktop app was being given a breath of fresh air. it's one of the most important tools i use for planning hikes on infrequently climbed mountains.
Maybe more that if you ship bad stuff you don't get to keep shipping stuff, you have to stop and worry about keeping the bad stuff running.

Be happy by shipping stuff, and keep shipping stuff by shipping good stuff.
https://www.cloudflarestatus.com/

> Network Performance Issues
Investigating - Cloudflare is observing network performance issues. Customers may be experiencing 502 errors while accessing sites on Cloudflare.

> We are working to mitigate impact to Internet users in this region.
Jul 2, 13:52 UTC
My previous job came from a "who wants to be hired" thread (and by extension my current job, which came about through people I worked with).

An engineering manager noticed my post and passed it to their internal recruiters. I was interviewing with multiple companies and they came out on top.

It turned out to be a great experience. After 4 years they were acquired and most of us have moved on, and several of us formed the engineering team at a seed stage startup.
> I'm still recovering from some old "NoSQL" decisions made in a context where a relational database would have been more than adequate

People jumped to NoSQL because of how awful a relational database actually is to operate. I guess it's easy to forget.
yeah not even their blogs.
Wow... our site went down so I went to cloudflare.com -> 502 bad gateway
It is. https://www.cloudflarestatus.com/
Logistics and attendant expenses most likely - especially with practice to gain any actual benefits.

Say everyone has a registered nonrepudiatable cryotographic certificate - a decent idea in theory. However apply it to every accessible grid communication part including ones which may cycle in and out and could have secrets extracted. Suddenly it doesn't provide as much benefit if a hacked SmartMeter can get in anyway and there is deniability. Better than nothing but you could have likely gotten better bang for your buck with strict firewall rules or hiring a swarm of consultants.

Similarly vetting commands has two problems - one is that reaction time may be critical. Second the judgements themselves are complexity and may be a source for errors - especially when they are "triage" ones that cause a shutdown or damage to avoid greater damage
Yes, thank you. I was thinking of Kent Pitman's critique that unwind-protect didn't have the right semantics when implemented with dynamic-wind, and that (in general) it seemed like fluid-let and unwind-protect wanted different sorts of continuations to implement them. (And now I need to go read more about one-shot vs multi and delimited continuations.)

Someone (I forget who) had a critique about dynamic-wind itself that (IIRC) involved capturing continuations from within the before- and after-thunks of dynamic-wind, but that seems more like an edge case.
It seems that these are stackless so there is no distinction between regular functions and generator functions. You can yield from many levels deep in the call stack, without needing to use "yield from"
my sites are down as well.

ironically the first thing I did was check downforeveryoneorjustme.com

but they're showing a 502 cloudflare page too
Romero Night of the Living Dead Shirt
I'm guessing strangers in a co-working space would feel less entitled to walk up and interrupt you throughout the day. That's largely my issue with the open office where I work.
'The Mindful Path to Self-Compassion' by Christopher Germer https://chrisgermer.com/mindful-path-self-compassion/
Either downforeveryoneorjustme.com is itself served by Cloudflare too, or has been hugged to death.
Their statuspage just update to "Network Performance Issues": https://www.cloudflarestatus.com/
I feel like you're conflating selling Waymo with shutting it down. Shutting it down would be an unnecessary waste, but for the right price, selling it can make perfect sense, if for no other reason than to allow the core organization to focus better. It's very easy to imagine a world in which Waymo becomes too large for "Google"/Alphabet to deal with without it being a massive distraction to everything else. The company I work for has sold and spun off product lines that were nominally profitable, but still not profitable enough to justify the distractions they caused relative to our other opportunities.

Even if they don't sell it, I'd fully expect them to get spun off before they take over the market. At some point, just organizationally, they're going to need to be their own company not subject to conflicting priorities from a parent organization.
Single point of failure - we all shouldn’t trust CF alone anymore...
I'm getting '502 Bad Gateway' on all Cloudflare sites here in London too.
Also getting this in the UK. Not completely down, bits and pieces of medium comes through but very slowly and incomplete. I’m also unable to access npm.
Price increase indicates a shortage, since the purpose of a price increase is to select which sunset of consumers receive the product when not all can. Price increases are either free market rationing (a response to shortage) or a disappearance of readily accessible inputs.
The site seems down
Holy shit. This impacts nearly everything.
fyi the actual status page for cloudflare is https://www.cloudflarestatus.com/

But yes, down in the NY area, however one of my colleagues in Chicago is totally unaffected
https://www.cloudflarestatus.com/incidents/tx4pgxs6zxdr

(edit: thank you mods for changing the submission URL)
Yes - seeing lots of our sites offline as of 14:45 GMT.
There did seem to be a tendency to try in the immediate post-war era. Even the right, hands off, side of politics were increasing state services and benefits. In no small part as a consequence of coming back from the war, so soon after the previous one, generating a widespread mood of "now we must do better". It mostly survived through the sixties, and finally died with the 73 oil crisis. That caused the chaos of the rest of the seventies that resulted in the course we're still on today.
So the mirror universe is where the dark matter we can't find is, and for some reason it just happens to form halos around where our galaxies are, just to make their rotations weird. This is a strangely specific mirror universe.
DRW | Chicago, IL | Onsite | Full-Time | drw.com

DRW is a diversified, technology-led principal trading firm. We trade our own capital at our own risk, across a broad range of asset classes, instruments and strategies, in markets around the world. As the markets have evolved over the past 25 years, so has DRW – growing to include real estate, cryptoassets, venture capital and several industry acquisitions.

We are currently hiring for the following positions:

Senior Clojure Engineer: https://grnh.se/caf301941

Senior Ruby Engineer: https://grnh.se/yft7ukd41

Senior Network Engineer: https://grnh.se/2acab2431

Project Manager – Technology: https://grnh.se/3826b5c01

Linux Systems Engineer: https://grnh.se/9407d2ec1
Several sites behind CloudFlare are returning 502 errors for me as well (France).