skysight-inc/HackerNews huggingface dataset:
This is a nice tale of redemption for MS.

Going back, they weren't always the ruthlessly cynical bad asses that saw out the last century. They let the desire to win at all costs cloud their vision.

Their time in the penalty box, incurring the opprobrium of much of the IT community, has done them good. They're a corporation, so nothing is done from the good of their heart, but at least now they've recognised it's possible - necessary in fact - to play nice with others rather than stealing their lunch money as their first instinct.
The Radeon VII is, all though it's AMD's high end 'gaming' card the suspicioun is that was a secondary use and they shoved it out to have something competitive with the higher end nvidia cards (for gaming nvidia holds the edge, my 2080 is about 5-7% faster than a VII but the VII has twice the RAM and it's faster RAM).

> When looking at the geometric mean of all the OpenCL benchmarks carried out, the Radeon VII was 12% faster than the GeForce RTX 2080...

https://www.phoronix.com/scan.php?page=article&item=radeon-v...

It gets crushed by the Titans but then they cost massively more (more than double).
Knowing When to Stop
The author is basically taking a situation open to interpretation and using it to slam capitalism as producing mechanical literature?

His conglomerate/nonprofit dichotomy is more accurately free-market vs. state-sponsored. The "conglomerates" which come off as evil in the story have to prove their value to their customers who voluntarily fund them. The "non-profits" are free from the constraint of needing people to actually want to read their books because the population is forced by the government to fund them via taxes.

There are very interesting questions of how economic forces affect art and culture but this author isn't asking them.

If anything the machine learning model showed that when people voluntarily and intentionally fund the publication of books they prefer a certain type of language, but how this author sees this language as "mechanical" is beyond me.
TIL what \< means. Thank you.
> if you think of something like the two slit experiment whether the worlds where the particle goes through slit one or where it goes through slit two exist or not seems to have experimental results as they produce an interference pattern

Intereference is not due to the interaction between "worlds". You don't have "one world" where the particle goes through one slit and "another world" where it goes through another. (If you think that's the case, how does "our world" where the interefence can be observed fit in that description?)

You can perfectly explain interference with a single world where the particle doesn't go through any particular slit. It doesn't have to, because we're not trying to determine which slit it goes through (and if we do, the interference disappears).
A cheaper source of hidden doors I recently found: https://murphydoor.com/
Yes, I was playing around with it as well. It seems the support has been out there for a while, but officially since C++17 http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n437... was accepted, s.t. std::vector, std::list and std::forward_list can work with incomplete types:

struct example {
std::vector<example> xs;
};
Although I follow a ketogenic diet and benefit from it I have laughed about the claims that it's somehow aligned with the needs of Paleolithic people. SO I really enjoyed this: "Unlike Neanderthals and Denisovans, who had only two diploid copies, we carry up to 20 copies of the AMY1 gene, which produces salivary amylase. "
"the diary of Anne Frank"

A poor example, or interesting example depending on how you want to look at it.

https://www.theguardian.com/books/2016/jan/18/anne-franks-di...
Great book. I think a lot of people want to test, but lack skills. Testing software is actually quite difficult. You have to know what to test, then how. I love tdd, but I find it takes too long for businesses to tolerate, so usually I have to test after to hit deadlines. Tdd works great for pure functions with logic. But things like ui integration tests (not to be confused with functional tests) are very time consuming to write with red green rafeactor tdd.
Congratulations.

At the interview stage I expect it would not even come up.

I wouldn't boast about it either though.

Nice work, good luck at the interviews.
%s/<\(\/\?\)\(div\)>/<\1p>/g
It is an ultra-fast cryptocurrency that is decentralized and will rival bitcoin.
I've got a customer with a complex UI where a lot of things happen. Basically a desktop application in a browser. We built a SPA for that.

Then there are the AWS and Google consoles where nearly every click loads a new page and I don't complain, because it's ok. And Amazon, the shopping site. Every click into a product loads a new page. They seem to be doing pretty well.

I would build SPAs where it's difficult to give a different URL to what's on screen after every click. Server side rendering in every other case.
Optimal Stopping and Applications [pdf]
great list
I disagree completely that employees and employers can't choose whether they are contractors. It's almost always better for companies to hire contractors, that's why they work really hard to structure it that way (see uber). Employees are more mixed in their preferences, but in my long career as a dev I've seen that being an employee is better than being a contractor.
Maybe I didn't convey my point well enough - I meant that if you find your workplace to be too distracting/unaccommodating/etc, then you can tell your manager that it doesn't work for you and leave to do your work somewhere else or some other time. There's no third party besides the people who might also be annoyed by your workplace's dysfunction but don't want to say anything about it.
The C. Elegans Wiring Project
Does anyone have a link for this website? The Mac Pro may have been poorly designed but the website was a pleasure to scroll through
Shrimpy – universal crypto exchange library for Python
I recently needed that, too: https://github.com/Const-me/nanovg/

Also using FreeType, but unlike that article rendering on GPU, with ClearType.

No advanced typography features are supported, though.
The difference is people are indirectly benefiting in developed countries so actual infrastructure gets built with government funds. In developing nations frequently so much is directly skimmed that the project never does whatever it was supposed to do.

It’s the difference between inefficiency and direct theft.
Not all containers though, since C++17 std::vector, std::list and std::forward_list do support incomplete element types as long as the allocator meets certain requirements. So std::vector<Node> is definitely OK.
I believe containers can contain incomplete types as of C++17, but you cannot use their members.
> Because it's faster.

The whole point of the article is that it's not true. It's not the only article that disproves it, and honestly, it's not difficult to notice it. Just go to any blog running off a static site generator; loading times of pure HTML webpages on good connection are so fast they whole thing outruns client-side page switches even if the page is already in memory.
Developing countries lol. https://www.cnn.com/2019/06/17/politics/customs-and-border-p...
People have a right to an "affectional preference" based on physical characteristics. What I propose doesn't discriminate against any body type or characteristic, it merely ensures accuracy.
> STL containers cannot have incomplete value types

As of C++17, certain containers have minimal support for incomplete types.
The games industry being crowded is a bit of a myth, though initially breaking into it does present a barrier. Lots of studios seem hungry for anyone with experience. Though, a lot of the actually interesting projects are crowded. Which is a real concern if that's the only type you want to work on (I'm in that camp...)

Like programming, once you have a few years under your belt, things really open up.
> The internet was weirder back then — full of quirky ideas, personal pages, custom blogs, and far more viable platforms to build on than we have on the streamlined web of today.

The Internet is not the Web, also what platforms?
Sure besides Geocities, many ISP's gave a few MBs for personal html files but for the most part you didn't had your own URL, now you can have that for a few pennies a month. But we're not playing web pages game anymore, it's interactivity bit times otherwise we feel bored without infinite scroll and even a regular forum doesn't cut it anymore (no one wants no register for yet another one).

> In the last two decades, custom stylesheets have become a dying breed.

I'm not so sure about it, at least not for the regular personal pages, you just don't find those as often with "the search engine".
Try https://wiby.me/ to get a feel for it. Maybe we need to resurrect the gopher protocol and make the search unbiased again, hell yeah, Make the Search Great Again!
Ask HN: I'm bored at work and life, what should I do?
I'm a little at a lost and could use some advice. I realize that I'm very fortunate and this is probably a problem of privilege, so I hate to lament the situation.

Truth be told, I'm really bored in my career and trajectory in life.

I'm in my early 20s, full-time software Dev, making decent pay, living on my own, with finances that are all stable (students loans, car, etc).

However, I'm just bored out of my mind at work. The work is uninspiring and projects have no direction. In my weekly journal session, I'm noticing that work is the lowest part of my week; which sucks cause it's 40 hours of boredom. The though of doing this for even another year makes me frustrated.

Outside of work, I spend time hacking side projects with the hope of turning something into a profitable business (so I can work for myself).

I also do sports during the week and try to go out regularly. Those are usually my bursts of short lived excitement.

I know I am extremely goal oriented and need something to look to for accomplishment. I feel like I need one of three things to happen:

1. Find work that has more value creation (I would probably love teaching if it paid more)
2. Work on solutions that solve actual real-world problems with a visible impact.
3. Start my own business and be more dedicated to growing it to how I see fit.

Anyone have any suggestions? Should I just accept things how they are?
Try this, it is highly recommended:
"C Programming: A Modern Approach," 2nd Edition
by K. N. King is selling for 111 USD, covering C89/C99
but the First Edition, covering C89 is only 60 USD

But if you want his "Modula-2: A Complete Guide", its only $300 new!
Those responsible were buttbuttinated.
Simplified, photon mapping is a technique where you shoot rays from the light sources and then record the hits on geometry. Name comes from pretending you're tracing a photon bouncing around.

Then, when doing the regular ray/path tracing, at each intersection of the camera-ray, you see if the intersection location is near any of the light-ray hits. If so, add in some contribution from the light-ray hits.

This avoids you having to explicitly check each light at each intersection point, saving you quite a number of visibility tests. Also, due to the smoothing kernel used when the "photon contributions" are added up, it leads to low-frequency noise rather than high-frequency noise that is normal in regular path tracing. This is especially noticeable when caustics are involved.

A nice introduction to the technique can be found here: https://web.cs.wpi.edu/~emmanuel/courses/cs563/write_ups/zac...
Those arguments were bandied about when the minimum wage was introduced in the UK. They turned out to be false.
China’s Tech Sector Is in Trouble
PlaidML is not what most people want. PlaidML is pretty much only for neural network based machine learning, plus it's primarily a backend for models written in Keras. But it is an option for the narrow use case of neural networks.

Contrary to what buzzword happy SV types would have you believe, most "real" HPC work isn't machine learning (r/gatekeeping, I know). Particle physics, computational fluid dynamics, network simulations, etc. Lots of it is already written in CUDA. HIP, using hipify, can translate the already written CUDA code to HIP, which is GPU-agnostic.
I have quite successfully run pg atop NFS — even, in limited, point-solution type roles, in production. My experience doing that didn't leave me with the impression that it was a particularly egregious thing to do, though I would definitely take many, many additional steps to ensure redundancy and availability if I were going to use it more generally.

You're right though: you really do want to have some idea what you're doing, if you're going to go there.

Source: my day job is PostgreSQL DBA, and has been for ~15 years now.

EDIT: Phrasing.
Apparently if you have hard floors doing a bookcase door is pretty simple. Find a bookcase that it’s about the size of the door and bolt it onto the door, after taking off the molding around it. Then you need a cheap gate latch actuated by a wire that you attached to a book on a shelf on a horizontal hinge. The bookcase should have a caster wheel that it rolls on so the weight is not all on the door hinges.
IIMHO if the title tells you everything about the story, it's not much of a story.

In this case there was a lot in the story but not stuff I cared about so the title would have sufficed.

I really hate clicking on a title and reading what amounts to a single-sentence article padded out.
Wow, I had no idea about Re-Volt's history. [1]

* Throwback Entertainment acquired 190 titles from Acclaim on July 7, 2006, including Re-Volt. [2]

* Throwback sold the rights to Re-Volt to WeGo Interactive Co. on February 23, 2011. [3]

* WeGo released Re-Volt Classic for iOS in Oct 2012, then April 2013 for Android. PC version was launched in Oct 2013, but was pulled in Jan 2014 due to a community patch misunderstanding. [4]

* Appears there's still a largish rewrite/port out there [5], which is a rewrite of the v1.2 community patch, based on the leaked Xbox version [6].

Anywho, thanks for mentioning that. Brought me down a fun rabbit hole.

[1] https://en.wikipedia.org/wiki/Throwback_Entertainment

[2] https://throwbackentertainment.com/throwback-entertainment-c...

[3] https://throwbackentertainment.com/throwback-sells-re-volt/

[4] https://en.wikipedia.org/wiki/Re-Volt

[5] https://rvgl.re-volt.io/

[6] https://forum.re-volt.io/viewtopic.php?t=139
https://www.are.na/ should be a good fit
Just like French police has been doing every week for nearly nine months. Were is Steve? Steve has almost certainly been killed in Nantes by the police in the wee hours of June 22d, but no actual investigation is occurring. A 23 yo has been missing for a month after a police charge along the river... And the responsible officer just got a medal!!!

In France, since November 500 persons have been wounded, 4500 have been jailed for no offense, several have lost an hand, tens have lost an eye, and two have been killed by police repression, in an almost complete media silence. But somehow China is supposed to be so much worse.
I usually explicitly type my integer constants based on the problem description (e.g. if N < 1e9 I would use int_fast32_t) and then let auto/decltype do most of the work after that.
Also the slowdown. Didn't matter whether I had 8, 12 or (currently) 32 GB of RAM; couple minutes scrolling down a Twitter or Facebook feed and the whole page slows down so noticeably that I simply give up.

Also: something breaks, you press F5, and now the feed is gone, or is in a completely different place than it was before refresh.

Infinite scroll should be labeled as dark pattern. Its only benefit is to the companies exploiting intermittent rewards; for users, it's just bad ergonomics and bad experience.
He lost me when he described Canada using a dictionary-like wording but also adding some pretty personal perspective. Describing an entire country as Socialist seems super opinionated to me.

Client-side navigation is quite tricky to get right - since there is no definition of right. Browser back buttons and scroll positions between back and fourth page loads are not standards-based things and the only way to study them is by just using the browser.

The only fashion that I have come to hate in client side navigation is endless scrolling on product pages. In my view it is completely pointless and hitting the back button NEVER returns you to the exact point you were. On product pages I think page-based pagination is the only way to go. Amazon does that.
I think only feeds are a use-case where infinite scrolling makes sense.

P.S. I wonder if client-side ajax calls are GZIP compressed🧐
Anyone else highly suspicious about the release timing of this report in 2017? At the time when Lyme cases were picking up?
On that note, it means HN supports for free one feature too-often forgotten about in single-page apps: middle-click, or, right-click-open-in-new-tab.
The blog of Svelte, the framework/compiler that was featured on HN some time ago works really well in my opinion: https://svelte.dev/blog
Poor grammar, inability to serve SSL.

//slowly backs away with no sudden movements//
What Is the Baader-Meinhof Phenomenon? and Why Is It Named After Terrorist Group
This is one of the reasons I don't use chrome. Google tracks which search links I click on any browser but I assume they simply track everything else done with Chrome.
Somehow I lived a different alternative universe regarding J2ME, Symbian, BlackBerry, PocketPC app stores.
Taleb one day got into an all out drop down twitter war with my friend Andrew Shaffer, author of books like "50 shames of earl grey" "how to survive a sharknado" etc. His personal unhinged behavior makes everyone suspect of his professional work.
Tikettfileninsufficientstadtdelvencodebasefixen.

Or something? More seriously, relevant English idioms:

- A stitch in time saves nine;

- Something worth doing's worth doing well;

- If you want it done right, do it yourself;

and surely more. I'm certain there's a farming-analogy one about fixing something sooner rather than later, but it's escaped me.
After what? Edge or an older version of Firefox?
Another reason to increase the minimum wage is to reduce the number of workers who get such low wages that we give them welfare on top of their low wages so they can survive. We already have the situation that Walmart was kind of shamed into paying higher wages; huge amounts of their employees had their wages "subsidized" because their employees were on welfare! This isn't good for anyone. [1] 2014: walmart employees get 6.2 billion in public assistance. [2] 2018 thousands of amazon employees get welfare. Article 2 says paying a living wage (a higher minimum wage) could save 150 billion in government benefits. [3] 2015 Americans pay 153 billion in public assistance for low wage jobs at McD and Walmart. Underlying research in [4].

1. 2014 https://www.forbes.com/sites/clareoconnor/2014/04/15/report-...
2. 2018 https://www.washingtonpost.com/business/2018/08/24/thousands...

3. 2015 https://www.washingtonpost.com/posteverything/wp/2015/04/15/...
4. http://laborcenter.berkeley.edu/the-high-public-cost-of-low-...
Actually it is really bad right now, https://www.hongkongfp.com/2019/07/22/just-chaos-bloodshed-h...

Chaos and bloodshed in Hong Kong district as hundreds of masked men assault protesters, journalists, residents

The group used bamboo sticks and other weapons to attack people in the area and in the West Rail Line station, injuring Democratic Party lawmaker Lam Cheuk-ting, who was seen bleeding from his mouth in a social media live stream.
I'm from Eastern Europe and lived in quite a few western European countries and believe me, politicians here are corrupt to the bone as well, just that the people enjoy a higher standard of living and have more disposable income so they're not too bothered by the constant theft going on in the politics high above.
OpenBSD is based in Canada. It ships with cryptography. It does not accept contributions to its cryptography code from Americans, specifically because of the ridiculous cryptography export ban the U.S. had in place in the 90s.

https://www.openbsd.org/crypto.html

Of course, if that sort of thing is what you're looking for, there's always SELinux.

https://selinuxproject.org/page/Main_Page
You can always have multiple people singing if you don't count that as cheating. If limits are the deciding factor of an instrument's ultimateness, then I raise that a computer with quality sound hardware + hard drives full of real world audio samples + programmable oscilators is the ultimate instrument.

Now that I played my role as captain obvious, fuck it, piano is really the best! (No sarcasm)
I don't think I can, sorry. Though I imagine that if you have a code base of any size that more than a couple dozen people have touched, you'll be able to find something similar if you ask around.
I think this can be generalized as: if you need to break out of "click and wait a moment and see a changed screen" paradigm, for something like a continuously scrolling map or a smoothly flowing server load graph, then you can make good use of client-side loading.

If you are just trying to re-create it, don't.
// a b c d
// * * * 1 true
// * 1 * 0 false
// * * 1 0 false
// 1 0 0 * true
// 0 * * 0 false

if (d) {return true }
if (b||c) {return false}
if (a) {return true }
return false
The current generation of less-experienced developers tends to default to building every project in React, even if there's no tangible benefit to accepting this complexity. It's unpopular to express, but the truth is that many junior devs don't know how to do it any other way. I don't blame them for this, because they literally haven't been doing it long enough to have mastered multiple techniques.

Managers go with it because it's still hip and easy to hire for. If things go wrong, well, it was good enough for Facebook.
Then you need to look at http://astronaut.io/
from the front page last week: https://news.ycombinator.com/item?id=20432772

Its youtube videos with zero or very few views.
Thanks; I had assumed that drawing a sample was a fundamental operation on a well-defined probability distribution, and that existing QM tools were sufficient to define that distribution, if not distinguish between the various interpretations.
The "bad old days of table based layouts" weren't really that bad, as evidenced by every generation of web developers reinventing tables in weird new ways. From "semantic" div soups through flexbox to CSS grid, it seems to me that most of layouting work is just building tables without using the <table> tag ;).
Case in point, navigation on my site is pretty fast (to me, at least) and doesn't use much JS at all: https://www.stavros.io

(I promise I'll reply to your email soon)
>Describing an entire country as Socialist seems super opinionated to me.

Not to mention the fact he's wrong; contrary to popular belief, "socialism" has been described as many things but the simple fact of offering healthcare, market regulations and some amount of free Internet access(?) - Socialism is a mode of production in which means of production are operated and managed (and some would say "owned") collectively by the workers, i.e. the majority of the adult population. This is also a form of society in which abstract labour is not valorized. A modern nation with money, capital, rent, predominant wage labour, and capital accumulation is in no way "socialist" - never mind by Marx's term with which he considered "socialism" and "communism" to be one and the same thing.
$15/hour would be unlikely to have any impact on engineering internship wages, it's far too low. $15/hr is $31k per annum. 20 years ago we paid interns a pro rated wage higher than that! Today we pay our interns a pro-rated wage over 80k at the startup where I work. Are there any engineering interns paid such low wages in the western world? Double or trip $15 and you might have some impact.