skysight-inc/HackerNews huggingface dataset:
I had a suspicion that the problem was that maxiters was set fairly low (16). For the Mandelbrot sets I'm used to, this would result in relatively little computation (over a hundred iterations is more common). To investigate this hunch, I wrote a Futhark program as a proxy for a hand-written GPU implementation (didn't quite have the patience for that this evening):

import "lib/github.com/diku-dk/complex/complex"

module c32 = mk_complex f32
type c32 = c32.complex

let juliaset (maxiter: i32) (z0: c32) =
let c = c32.mk (-0.5) 0.75
let (_, i) = loop (z, i) = (z0, 0) while i < maxiter && c32.mag z <= 4 do
(c32.(z * z + c), i+1)
in i

let main (n: i32) (maxiter: i32) =
let N = 2**n
let (w, h) = (N, N)
let q = tabulate_2d w h (\i j -> let i = 1 - r32 i*(2/r32 w)
let j = -1.5 + r32 j*(3/r32 h)
in c32.mk i j)
in map (map (juliaset maxiter)) q

I don't have the tools or skills to easily generate nice graphs, but I get about a x271 speedup when this code is compiled to OpenCL and run on a Vega 64 GPU, versus when it is compiled to C. The C code runs in 272ms, which is very close to the number reported for Julia here[0] (I assume that the page has a typo and that the N=2²⁴ column actually means N=2¹², because an N=2²⁴ image would take up dozens of TiB in GPU memory. Also, the benchmark code linked only goes up to N=2¹².)

Unfortunately, if I change maxiters to 256, the speedup actually drops, to x182. So much for that theory.

Edit: also tried on an NVIDIA GTX 780Ti, and the results are the same. My new theory is that the Julia code also counts the cost of moving the resulting array back to the host (which can easily be dominant for a kernel that runs for just a millisecond or two).

[0]: https://github.com/JuliaGPU/GPUBenchmarks.jl/blob/master/res...
Consultant here, and I think that's a big blind spot we tend to have: we don't stick around for long enough to see the consequences of what we designed, usually.
Thanks for the answer. Yes I have something like Evernote open on multiple devices at once. Not a killer feature, mostly used on a phone or table and a computer. Not applicable yet for this, but was curious.

Keep up the good work!
Simply "sheep effect" + ignorance.

usenet is text-based and normally used with a desktop client. People start to see colorful webapps and go for them without thinking. Consider that most "web users" now do not really know the difference between a browser and a webapp. Do not care about freedom as long as they feel free.

It's the classic Chomsky frog, now water start to be a bit hot but still ok for most people, when it will boil... It will be simply too late to came back.

An example scenario, GMail now is a semi-standard mail service (not really standard IMAP but can work with substantially any MUA) and a WebUI. If most people only know WebUI and tomorrow Alphabet decide to drop external IMAP+smtp support? If after decide to make service paid? What you have in hand with all your messages on Google servers? Another scenario, what if a government start to censor? Usenet can be blocked (and blocks circumvented) but still no one can really own it. A proprietary platform can be owned. Even if you have the code you still need server, users etc, with usenet you only need your PC.
This reminds me of those red light cameras. The only thing they protect is the funds they generate giving out speeding tickets. What's worse is I also got in a wreck once after one of the cameras lit up a dark intersection to take my plates.
In your situation, then, you'll be happy by running openbsd in a virtual machine from your windows.
You can use type system to ensure that there are no wrong state transitions, e.g. you could transit to another state only if you are authorized.
It wasn't me, but in any case, that was just an example; even if untrue, it doesn't invalidate the point that choice is the important part.
non-paywalled link: https://archive.fo/TIWAi
The stall detection logic remark was meant in the context of traditional MIPS-style in-order single-issue pipeline executing regularly encoded instruction set where the mentioned features lead to both smaller implementation of the detection logic itself (which for the traditional MIPS is the bulk of the control logic) and simpler routing of the signals involved.

On the other hand I completely agree that MIPS-style delay slots are simply bad idea. But for me ARM's conditional execution and singular flags register is similarly bad idea that stems from essentially same underlying thought.
Hi Samiur,

I'd love an early access code! I filled out the typeform on the usejournal site as well! My email is <hnname>@gardeneast.com
The only problem I know with requirements.txt is that many people would require particular versions there while later versions work perfectly fine. Every time I clone someone's Python project to work with I have to manually replace all the =s with >=s to avoid downloading obsolete versions of the dependencies and have never encountered a problem.

Anyway, for me the most annoying thing about the Python projects architecture (and about the whole Python perhaps) is that you can't split a module into multiple files so you have to either import everything manually all over the project trying to avoid circular imports or just put everything in a single huge source file - I usually choose the latter and I hate it. The way namespaces and scopes work in C# feels just so much better.
Blockstack App Mining
I've spent a little bit of time and there and found that this is extremely true, but also equally true of America as well.

For instance, although China is absolutely totalitarian when it comes to political freedom, freedom of speech, and even freedom of thought (in fact, far more authoritarian than neoliberals will ever admit), you do feel a lot more "free" at the _street level_. There are basically no traffic laws, you can drink and smoke wherever you want, you can set up a shop on the side of a sidewalk, you can make and sell bootlegs of anything you want - you can even piss and shit in the middle of the street without so much as a second thought about it (this is disgustingly common there.)

On the flip side, in America I can (ostensibly) say whatever you want politically, but I can't legally drink a beer on the sidewalk. I can't open a certain type of shop in a certain area. I can't sell products which use such-and-such technology. I can't even cross the street at certain times and places. Land of the free!
yeah, I did a little summary in my comment below if anyone is interested
There is support in Mozilla Thunderbird - but as a chat mode, rather than email as you might be expecting. You can enable it by changing the value of "chat.prpls.prpl-matrix.disable" to false in the advanced config editor. Still, since it really just enables a chat client, another Matrix client might be better suited.
Back up it seems, for me anyway.
Homelessness in New York Public Schools Is at a Record High: 114,659 Students
The new Jira begins now
> My point is that if I define a metric for easier to use by a beginner programmer (child) then C syntax > Python syntax

That's pure speculation, not a fact.
There's nothing unethical about being a hero. You should try it sometime.
k (number of takes) does not matter.
r (number of uses) does.
To clarify the abovementioned are leasing chargers or battery packs, not immobile charging spots (which is a similar and somewhat more established concept).
Type-Driven Program Synthesis [video]
I won my last company's paper airplane contest by making a dart with double thickness. I was disqualified, however, which seemed hella lame. My throwing strategy was to aim about 30 degrees upward and throw in a smooth motion, which seemed like the way to prevent it from going haywire.
I've never understood why the end users of these free and libre kernels feel the need to fight so much.
Took me a long time to grok OOP and OOD (was introduced to OOP in '91). At first I thought I knew it, and then realized I didn't.

Plane into the side of the mountain, no survivors, call off the search. Which is when I really started to learn (around '96/97). And now I love it.

Until I come across people who always start by defining an interface first and then think about what might follow. And dependency injection. Holy priceless collection of Etruscan snoods DI makes me want to gouge out my eyeballs with a rusty cork screw.

Like I said though I love it and today my happy land is about 80% OOP and 20% everything else.
Really? That's kind of interesting. I find the language completely charming. With this quote it could be because "fifth-form" has no resonance at all with me outside of the text, or maybe I vaguely recall some novel of Fitzgerald's, or maybe Salinger. I dunno. To each her (or his) own.
> In a feudal system the money flows up

Well, value; in the classical feudal system the lowest classes would rarely have much money to flow anywhere, and their obligations were mostly in-kind in labor and produce, not monetary.
What advantage does the Helm hardware have over an old Dell tower left over after an office/school upgrade?
Here is a link from the comments that includes a high-quality PDF of the text instead of page scans:http://www.gutenberg.org/files/33283/33283-pdf.pdf?session_i...
Well you could start with 0.0.0.0 and ping each ip (~4.2 billion) until 255.255.255.255 on port 80/443 and you have browsed the front page of every website on the IPv4 internet. Next repeat the process but this time follow every link in a breadth search pattern to begin indexing the internet or web crawling if you will.

If you wanted to make a plagiarism detector for example, on the pages you index create a histogram of word triads for each indexed web page. Then compare a document for validation with the word triad signatures you created earlier to see if there is a potential match
> in the United States, a lack of public accountability already results in outsized impacts and over-policing of communities of color, immigrants, and people exercising their First Amendment rights.

... in the United States, a lack of public accountability already results in outsized impacts and over-policing of [progressive ingroup], [progressive ingroup], and [progressive ingroup].

> We follow in the steps of the Googlers who spoke out against the Maven contract and Microsoft employees who are speaking out against the JEDI contract. Regardless of our views on the military, no one should be profiting from “increasing the lethality” of the military. We will not silently build technology to oppress and kill people, whether in our country or in others.

Mentions the Maven contract but not Dragonfly, at least not directly.

The worst part is that I don't even disagree with the letter, but I doubt the author has principles as much as he has tribal allegiances. I suspect he would be all-in on this tech if it came with some sort of guarantee it would only be used on "Nazis".
Can Cake clean up Silicon Valley's social problem?
Understanding Linux Links: Part 1
There is almost certainly selection bias at play. For example, people making a lot more money than their peers may have chosen not to take the survey. I don't see anything in this survey that attempts to correct the biases. I really like this survey and the info it provides, but it's not possible to draw very many conclusions from it because it's probably very biased in invisible ways.
You are asserting that because information may be wrong or misunderstood it should not be communicated. A more robust approach would be to share information promiscuously and hold people, in this case the drivers who are responsible for their vehicles, responsible for how that information is handled.

Turn signals also get misused and misinterpreted but no one suggests that means we must go without.
Launching new Google docs faster in Chrome
Oh gods. Seems I made a wrong assumption and just wrote an essay about it. Please accept my apologies, if possible!

Looking at it from the side -- I think you are quite okay but still compare to the others. That can be a good motivator but you should stop at some point because it can get very exhausting for your soul. And it can make you pursue outcomes that you will eventually find out you never wanted in the first place.

> Now the bar has raised and I can't be happy with the success I have achieved so far.

...But why? Are you aiming at having a network of luxury real estate in Europe and renting that until the end of days? Do you like the idea of a fleet ot private jets or yachts?

If not, you should not have any PTSD in my eyes. If your basic needs are met and if you can afford to travel and work on whatever tickles your fancy then you are already in the top 10% rich people in the world. Why is that not good enough?

> I find success painful.

I can sympathize with that. As mentioned in my previous post, some money come to you attached with a lot of stress and maintenance baggage. Is that the case with your money? I hope not... But if so and if you have enough of them accumulated then you can always hire somebody to manage those for you. Less stress is always worth investing into!

> And I hate the treadmill of consistently achieving because in my experience it brings pain emotionally and socially as you leave people behind. Unfortunately I know that's the way it is - but I wish I can get better at managing the highs and lows.

That many people are envious and spiteful and drift away from you if you are a better achiever than them is a part of life, an inevitable one at that. I am sorry that you haven't found true friends yet. But they do exist, trust me! There are a lot of pretty cool people out there. You will find them if you get out of your zone.

And I am pretty sure you will manage your highs and lows better with time. Just don't second-guess yourself; life is one huge and constant lesson and you never really "complete" it. You just decide one day that enough is enough and you can stop there. Nothing shameful in that, we don't live to only achieve.

Wanna chat? My email is in my profile (although a bit obscured to stop spam bots). I feel we both can offer the other side an interesting perspective. If not, apologies for offering it! No disrespect intended.

Don't give in to doubts. Reflect on what you have (and others don't) and don't only compare to more successful people than you. Life is not a race.

I think you are doing quite well.
I was there when Usenet died. It died because it had absolutely no protections against spam or abuse of any kind whatsoever. My favorite discussion boards were buried alive under a colossal mountain of spam and binaries.

Usenet was designed in a time when the Internet was only used by a tiny number of people, all of whom depended on prestigious institutions for their access to it and thus had strong motivations to not to abuse that access (since doing so would be something like career suicide). Many core assumptions in its design rest fundamentally on this always being true, which today it very much is not.
Thanks, that's super useful! I found myself accidentally quitting terminal multiple times by pressing Ctrl+D one too many times.
I do not think most webservers will be set up with one IPv6 address per website. As is, most IPv6 enabled sites that share an IPv4 with another site and also share their IPv6 address with those same sites. Assigning one IPv6 address per site would add complexity for little benefit.
At a previous company I had to sign a fairly stringent non-compete, but attached to it was the constraint that if the firm chose to enforce the non-compete, they had to compensate 100% of the salary for the time that they chose to enforce it (up to one year).

This was still not perfect, since the non-salary compensation at finance firms is a non-trivial portion of total compensation, but in my mind should be the minimum required by law for a non-compete agreement.
That makes sense to me. He is from a different time when there was just less audible chaos being pumped into our lives.

You could easily go a whole day without someone throwing a hyper-edited escalating sonic experience at you. Now, after decades of movie trailers one-upping each other and those editing capabilities being distributed to teenagers, we are maximally sonically marinated and we expect some politeness when people are trying to deliver sound bites.

In Carlin’s time watching an act like his was possibly the most exciting verbal experience you would be exposed to that week, if not that year. We cherished the performers who could dial up to 12 without losing coherence because it was rare and exciting.

Now it sounds overblown and maybe a little aggressive to a modern ear.
> Let's stick to applicable conversations, shall we?

Unless you a have a principle that everyone agrees on over what is 'applicable' and what isn't, that veers pretty close to begging the question - conversations that support your point are declared 'applicable', while ones that bring up difficult questions to your point of view get dismissed as off-topic.

Getting back to the original topic, if you're saying that "employees' political views should be taken into account in company decisions", the difficult question is "what about employees whose political views are repugnant to you?" The example of the cake bakery is easy to dismiss because it seems covered by existing law, but what about other cases?

E.g. if a medical device company's employees are religious, should they force it to not sell to abortion providers? Should Trump supporters agitate to only manufacture in the US?
Binding how exactly? Government enforcement is what makes contracts binding.

One could contemplate a private mercenary force which enforces contracts but what actually distinguishes that from a government?
Unpopular opinion alert! The more I learn about FDR the more he reminds me of Trump. And I say that as a non-fan of Trump.

We hear a lot today about how Trump is breaking long-established norms. But FDR was the king of breaking norms: from running for four terms, to trying to pack the Supreme Court and setting off a constitutional crisis, to running the only concentration camps in American History and banning immigration outright from many countries.

FDR was a populist bully. He changed the presidency forever. And yet he’s constantly referred to as one of the best presidents.
My understanding was that encrypted SNI was to avoid the sniffing of the host header that travels unencrypted with SNI, and that in combination with a large host (Cloudflare, Google, AWS), an encrypted SNI prevents censorship (unless you're dropping all traffic to the IP block or AS). Is this understanding inaccurate?
As I said in my other reply, Docker is more likely to have ephemeral storage for the cache. So every single lock it'll re-download the package. Whereas locally, you're likely to still have the packages cached.

This can make a difference of tens of minutes for some packages which have a 1 gigabyte (!!!) download.
"Most college calculus texts weigh a ton; this one does not — it just gets to the point. This is how I learned calculus: my uncle gave me a copy." - John Baez (Mathematical Physicist; people here may know him from his work with/writing on Category Theory)

—that's how I originally came across this book (reading Baez's recommended math texts for various subjects).

There's kind of a funny story/legacy behind the book too: Thompson originally published the book under "F.R.S." disguising his actual identity, but letting his peers know it was written by one of their own—a Fellow of the Royal Society—in spite of his knowing that they'd disapprove of the book.

I'd read somewhere, too (maybe in Gardner's preface?), that it remains a 'secret favorite' of many mathematicians who wouldn't welcome the social consequences of admitting this.
Exactly. You can read the repetitive arguments over a document-web vs an application-web everywhere, just like I can read Android vs OSX, or Emacs vs VI everywhere. This has been going on for decades with no resolution.

Often what I love about HN is someone in comments raises an interesting or unique point, and posts a link to some paper, article, or video that goes in-depth into the issue in a thoughtful way. More of that, and less of "FooFramework was announced? Sorry but do we need another FooFramework!?" style stuff.
The CPU Shack Museum – Online CPU History Museum
"Direct competitor" is a rather limiting term. I can think of only one such company in my city, but there are several other with open jobs for programmers which I could consider working for (and I would not be competing so this noncompete would be inapplicable). It's not like I couldn't work as a programmer whatsoever.
It doesn't really describe the fundamental difference between a GPU and a 4000-core CPU, which is that the GPU has a shared program counter. All the cores must execute the same instruction at each cycle.
Yep, anecdotal evidence :)

I will say, where I am now (bay area FANG company) it is WAY more common to have traditional CS background and also be a high performer.

I attribute that to a biased selection in SV, and not an actual correlation of CS education to higher skill level.
Uh they already have it. Have had it since the late 90s (FBI, NSA, CIA, etc..), and in the early 2000's it trickled out to some major PD's. The issue is, it's quite inaccurate. Being developed in the 90's, before the recent amazing leaps in ML, it is just not very good.

So Amazon, please sell the cops some decent software, so they are less likely to show up at my house because of a software glitch. Even better, use your vast wealth to push out self driving cars to all Americans, then we can disband the police (no traffic stops=no PD income)!
Anyone able to share their experience who moved from tech in SF to Portland, OR?
Here’s a podcast in which I discuss with them this and their other fascinating projects https://blog.lumi.com/wellmade/26-claire-evans-jona-bechtolt
Depends on your implementation of course, but updates shouldn't be triggering merges on the largest levels. They should be accumulated until there is enough of them to merge or there is some other reason to merge things, like scrabbing. Either way, it's still more efficient.
Good point, and an excellent justification for the no-editorializing-policy! They should link that policy to this thread to show what happens to S/N when people editorialize for clickbait.
> The big question is how the traditional Unity audience will react

It's been well received so far (for example: https://forum.unity.com/threads/ecs-or-why-should-i-bother-m... ).

There's also a good incentive to adopt ECS for certain games; Unity is offering a hugely reduced runtime size if you follow the ECS pattern, which is much needed for web games and other “interactive experiences” (ads, mobile game demos). The “ECS for Small Things” presentation at GDC is worth a look for those interested:

https://www.youtube.com/watch?v=EWVU6cFdmr0
Fantasy Football Search Engine – Search NFL Player or Players to Compare
Are you just basing that on the title, or have you actually spent some time with it?
It would be great to have this encoded in statute. In the US, the doctrine of consideration in contract law used to server to rein this in, but in the last century has been weakened to the point where it has become a non-factor in most contractual disputes.
Conspiracy theory sites.