skysight-inc/HackerNews huggingface dataset:
> here is the github: https://github.com/chriselrod/ProbabilityModels.jl. In the example I give there, the logdensity and gradient evaluation was about 25x faster than Stan, and sampling was about 20x faster.

that looks pretty cool, though I don't yet know enough Julia to understand all of it. The speedups make sense given that Stan's compiler/math lib doesn't do much in the way of smart data layout. I would still keep in mind that the metric worth using for benchmarking is the number of effective samples per second, and this also depends on the HMC variant you use.

> Eigen's fixed size arrays to get about 3-8x worse performance than my Julia library

seems unsurprising that Julia can specialize a lot better than verbose C++ templating, no? (still, good job, very worth checking out)

> I was getting errors when specifying -DEIGEN_ENABLE_AVX512

I used this flag with Eigen 3.3.1, I think, on GCC 6 or 7. This was for Xeon Phi, so I tried to use icc but despite supporting C++11 it doesn't handle Stan or Eigen's template metaprogramming.

This is all the more reason to use Julia, but my graduate student days are long past..
Criticizing soldiers for fighting effectively?

Also, how much of that FOSS was written by Russians anyway? It's not a nation with a math or programming talent shortage.
I was answering to Iv comment that people in Iran will find Tor. That's not the case from my experience while I was traveling in Iran last year. People simply use free VPNs.
ATS looks interesting. It continues to boggle my mind that Ada/SPARK isn't given more attention in conversations like this. It seems to do everything Rust promises while being simpler (SPARK anyway) and more powerful, and with 40 years of history and experience behind it.
Catching Feelings: How Microexpressions Can Make Moods Contagious
I write HN comments somewhat regularly (like once a week), but my approach to it is more or less a "note to self". I use the comments to mostly describe my observations and thoughts. It's pretty much a monologue. When I'm technically replying someone, that's because my thought was based or inspired by that comment, and I don't actually expect that person to read my reply. I usually ignore most of the responses to my comment too. But I try (and enjoy) to make my comment helpful or useful to someone, in a "my two cents" manner.

That's my two cents.
Funny Selection of JOES and Failures #8 Wedding Failures, Attacks of Posts
I really hope so. I've submitted a radar, but as of yet there's been no progress on it.

I've not explored importing a Shortcut from a URL to be honest, I may look into that later.

EDIT: That doesn't work either.
Xnrgi develops EV battery tech that extends range to 700 miles – Digital Trends
Unless you use Firefox.
Slashdot solves this by tagging comments insightful or funny.
If you use UWP, don't disable swap. Ever. They are 100% reliant and you'll have problems, even if you have a lot of RAM.

Reason? UWP apps will always suspend if you minimize, for example. They move that to swap. It was basically made for swap.
Anybody knows what the sound insulation are like in these?
The ink on Farage is overwhelmingly in his favour - thanks to British tabloids. He's never been "repressed", to the contrary: he has a regular talk show, gets frequently invited on TV, and enjoys very favourable treatment by tabloids. He is not in opposition to "technocrats" at all, and typically votes in line with the EPP on anything related to the economy - the only exception being on increasing controls on tax evasion, to which he is strenuosly opposed.

I know Varoufakis, his parable was very different - he was ostracized after reaching power, by people who could not match his academic skills and felt threatened. The similarities with movements like Trump or Farage are barely skin-deep - Varoufakis does not enjoy the support of entire sectors of the media.
Humans make a big deal out of 0.01% CO2, a relatively inert gas.

Cyanobacteria turned 20% of the atmosphere into very reactive O2.

I like to point that out when people say that we are destroying our planet. Our planet will be fine with or without us, we are just hoping that it will be with us.
Addressing my ADD as an adult was an incredibly positive experience. I highly recommend it.
How long can civilisation survive? The greatest long-term threats
I'm aware of the later leak, but at least the screenshots attached to the Archive file are from the 2003 leak. https://ia800800.us.archive.org/24/items/HalfLife22007Source...
It's iMessage bloat on iOS or macOS?
I'm in Ngs course now and also half way through fast.ai. I'm also interested to learn whether these courses reliably lead to anything. I gather from Jeremy's comments in fast.ai that those who attend in person reliably get good jobs in the field. So networking appears to be the key. I wonder what can be done to improve the networking opportunities for people who take the online courses?
Quantum breakthrough could speed up processing of large datasets
Spot-on analysis unfortunately.
French Minerve submarine is found after disappearing in 1968
> I've spoken to UKIP when they knocked on the door and they seemed like pretty normal people.

Yes, they are quite banal people, mostly. That means little - the worst political movements of the last century were full of very banal people, a certain Ms. Harendt even wrote a famous book about it.

> but when asked for specifics it is too tedious

I was explaining why most people in these debates cannot be bothered to go into detail. If we had to explain every term in the book, we'd end up reciting the opus of Bertrand Russell at every meeting.
What I learned from over 400 Lyft rides and a self-imposed social experiment
When you want to verify functional properties these tools are not easy to use. For safety, they are easier than a rewrite and largely automatic. Large, sensitive codebases have been verified (for undefined behavior, not functional correctness) relatively quickly. In general, they cover more ground significantly more quickly and cheaply than a rewrite.
> It seems to be a fast and responsive site when it works, though.

LOL.

Y'all, I love speed as much as anyone, but your development priorities should be 1) it works and 2) it's fast.

Using HTML links where 1) is never in doubt and all focus can be placed on 2) seems like good engineering to me.

Reinventing browser navigation is like building a rocket. You should be really, really sure that you need to do it before you try.
I have grown used to all the eyes, smells and sights around me in open offices.

What I will never ever get used to, is the fact that the dumbest, densest & deafest people tend to pollute the soundscape for 80% or more.
I've been here since 2015 and one thing I've noticed in the past couple of years is that simply browsing HN gives me a kind of dopamine fix. When I'm in a 'browse HN zone', I voraciously consume any and all content, often times just lightly skimming everything. This can sometimes go on for hours at a time and I'll often go over feeling extremely fatigued and having remembered little of it. This is somewhat similar to the author, because I've noticed the same arguments over and over again, enough that I get a kick out of watching oftentimes the same people bickering over the same viewpoints. As I'm so accustomed to all the bickering, I simply just consume them without thought anymore.

Weirdly, I get more pleasure out of using reddit nowadays because I can focus on subs related to my hobbies, discussions around how to get more enjoyment out of a particular activity rather than just jamming large amounts of general knowledge into my brain.
And yet, despite all the claims that the author makes about quality of air and life in Delhi, it's steadily growing, adding something like 4 million inhabitants over the last 5 years. As the article quotes "Yet New Delhi was bursting its seams, because newcomers from rural India kept flooding in." - the people are voting with their feet that urbanization with the associated jobs and wealth is more important to them personally than better environment conditions, since they're leaving the latter to gain the former.
And the massive societal cost of everyone expecting everything for free even though they were paying all along or being subsidized by suckers.
I live in Phalodi. The place which recorded 51°Celsius, the highest temperature ever recorded in India. AMA!
On desktop, the scene scrolls as you move your mouse.
This isn't done in other countries (except Belgium)?

Who knew!

I did droppings many times as a kid. Never did I feel unsafe. We did walk quite far. I remember it was 4 hours, we walked next to a highway for quite a while once. Since I was a kid, I have no clue whether we actually walked 4 hours.
Here's a functional programming version of a similar bug:

function factorial(x, pred) {
if (x == 0)
return 1;
return x * factorial(pred(x), pred);
}

function makePred(x) {
return y => y - x;
}

console.log(factorial(5, makePred(-1)));
Check out the last sentence.
In the context of Persian culture, Islam was forcefully introduced in the 650's. Iranian culture dates to 4500BC.
From my experience (been through Iran 5 times..) - Islam seems to play a very minor / non-existant role in the majority of people's lives.

Naturally there's variation on this (Tehran vs. Qu'om / Mashaad) - but at least that was my experience from living and speaking.
Is 30% cut by Apple/Google actually competitive compared to other money laundering methods?
I've been working in Madrid the last few weeks and temperatures have been around 35-43 Celsius (~ 110 Fahrenheit).

Coming from London, it's been a real shock and sucks the energy out of me. I'm constantly crossing roads to find any shade while walking.

I can't begin to imagine living somewhere like Delhi which is even hotter!
Indeed. For instance, you can't even package applications with GGPU support for anything other than opencl for free software distributions like Fedora because the libraries are proprietary. At least unless someone knows of dummy libraries that you could against and substitute at run time -- I assume more than what GCC does? That seems the most important issue for free software HPC.
I believe he has you covered here.

> Why did you use Go to write this? You know Go does not have generics, right?

> You need this site more than me.
> I agree that JSON could lead to less data being transferred over the wire

I haven't benchmarked the difference, but I bet HTTP compression removes most of the difference

> but that assumes your client already has cached the megabytes of JavaScript needed for you SPA

A cache that will need to be busted every time you deploy new code. You do deploy often, right?
thats-the-joke.gif
> But if I was in that situtation again, I would do it again.

OK, I'm just going to come out and say it: I'd do it as well. And I cound my blessings often (not every day, though I should) that I don't need to, and unless the world changes massively and high-level experienced software devs are no longer needed, I'll never need to.
Thanks for the explanation. It's just a bit frustrating to not get any reply for weeks when your license is going to expire in...looking at calendar...3 days from now.

Any ETA on when renewals will be possible again?
I would say they're rather compelled to do so by poverty.
At Dutch tech website tweakers.net allows to classify comments as one of 5 levels:

-1 undesired, 0 off-topic / irrelevant, +1 on-topic, +2 informative en +3 spotlight

Works quite well, AFAIK

Edit: this is their FAQ on moderation: https://tweakers.net/info/faq/karma/#tab:1-2
Yes, you are right they didn't literally say that because in that case it would be legally troublesome. I think it is childish to think that this is not pure coercion either to the negotiation/surrender table or public unrest.
By the way, Bolton didn't just advocate war/unrest years ago. It was last year [1].

I understand the importance of being exact, but by being pedantic in a political context without considering motivations and effects is trivialization.

[1] https://www.youtube.com/watch?v=cenpiO6LMpE
How to make compressed file quines
"Hello i'm very smart and i think that not everyone should have access to the internet".
> are sound static analysis tools that guarantee no undefined behavior in C programs

Proof left as an exercise for the reader, maybe? Seriously, UB is a very, very pernicious problem and without a formal specification of C/C++ and a machine-checked proof that this analysis is sound and complete, I am not going to believe it. The academic research community still regards this as an unsolved problem.

(It's a shame, too. With UB, we did this to ourselves.)
This "power good" concept actually dates back at least as far as the original IBM PC 5150 - the original "AT" power standard!
Every article I read, for better or worse, has been filtered. The following describes my filteres when I am simply enjoying articles posted on HN (My filter's are different if I am researchinig a topic):

The first filter is whether the article makes it to the front page of HN. This is followed by a quickly formed opinion about whether the title captivates my interest. If the first two filters pass, then I will take a couple of minutes to skim the comments section and decide if I want to read the article. In this way I leverage the minds of others as a final filter. If the article passes every filter, then that means that I have remained motivated to invest my time in reading the article myself. I open each article that passes all of the filters in a new tab and move on to the next title of interest. Once I reach the bottom of the page, I have the set of articles that I will read throughout the day. It is true, that I let other peoples' opinions influence what I read, but I justify this by reasoning that it would be impracticable for me to read every article that makes the front page of HN. This will cause me to have a biased perspective on things, but for me the strategy is one of practicality. I did read this author's article by the way. I think that the project is creative and interesting. Thank you for posting!
It's spectacular, if I read correct they used a technology Which Israel has failed to use to land successfully on moon. I might be wrong, feel free to chime in.
How do you even breath in 50°C heat? Does it hurt?
D 2.085 added support for precise garbage collector.
That said, I think there's a large amount of software that's possible to rewrite in reasonable time frames if the authors commit to it.

And software with many individual components can be gradually rewritten. Firefox is starting to use components written in Rust like Stylo and WebRender. Mozilla has an Oxidation project for bringing more Rust-based components to Firefox:

https://wiki.mozilla.org/Oxidation
> Ashton Kutcher

The actor?

Did he start becoming involved in the tech scene after working on the Jobs movie?
I can't help looking at this and working out how to build a tool that can generate a Do Nothing script straight from your histfile, making the business of archiving the commands you just executed as easy as possible too...
Nice idea! I'm actually in the process of automating a task bit by bit. Unfortunately it's with the intention of moving it into a CI pipeline, so the "success" there is rather binary, but I will most definitely adopt this process in future.
You can however nicely isolate the code which has behaviour changes for each vendor.
Better Living Through Simulations
"If you had ended up being charged for spamming, hacking into bot catchers".

I would have setup a way not to be caught.

It would be criminal, (this was pre-gdpr it definitely would be now), but I would have done it still.

She was supported to an extent, but we knew once she had our son, we wouldn't be able to keep up with necessities. We needed to start buying things then and there.
This is well known in parts of europe. Strange that the US doesn't know about it?
> It's like the opposite of HN. Every time I post a joke here it's like setting fire to some karma.

I like it. You can make a joke, but if it's bad, you end up paying for it.

I think the problem OP alludes to still exists on HN. While the replies are sorted (partially) based on their score, they're displayed fully expanded. That means a mid-quality comment with 200 points that has so much upvotes because it wasn't bad and was first, will have all of its hundred child comments displayed above the second-best top-level comment. If the discussions under the first comment explode for some reason, there's a good chance a lot of people won't see the second top-level one.

Possible improvement, at a cost of increased JavaScriptitis - auto-collapse child comments under top-level ones, but in a more prominent way than it's done now, so that people would usually be inclined to browse them. And for the love of people in need of CTRL+F-ing for something specific, provide an "expand all" button at the top.
People lie about having kids, for compassion.
Thanks! I guess will have to see if FF and Safari support same thing. Perhaps in another year can remove cache busting from builds.
Has anyone here managed to hire people from Iran? Our immigration lawyer told us it would take more than a year to even get an appointment at the embassy - I've tried calling multiple times and ultimately gave up. We're in Europe. It sucked because we had a few promising candidates. If you happen to have any special insight / loop holes that you are willing to share with me over email, I would really appreciate it.
There are good—I would even say “great”—comment threads, that are just as worth reading as standalone articles are. Threads where all of the comments are good, and nobody dares ruin the “mood” of productive conversation by butting in with the usual argumentativeness†.

• threads where the authors of the post do a “post-article interview” to add extra information in response to questions;

• threads on posts that are stories about something historical, where in the comments, a person involved in the history itself (not the author) shows up and tells more such stories;

• threads on posts about some cool thing the author made, where commenters point out other cool things the author has made; or point out other cool things that are complements to the original cool thing (rather than getting into a debate about replacements for the cool thing.) Threads about new works by prolific hackers (e.g. DJB), or prolific academics (e.g. Scott Aaronson), are good for this.

• threads on posts about choosing tool/technology X and the anecdata of its advantages/disadvantages for the author’s use-case; where the comments are from other people who either made the same choice, or a choice of comparable technologies Y or Z instead; and, rather than just being a partisan argument for their technology, they give a compare-and-contrast of the products in the product-space X occupies, giving a clinical evaluation of the advantages and disadvantages of X, Y, and Z for the original author’s use-case, as if they were asynchronously collaborating with the author on a greater work.

As it turns out, all three of these, in one way or another, are “encores” to the post. Things that add value of the same kind that the post itself has.

...and then there are bad comment threads. Which is, IMHO, everything else. (Including this thread! I shouldn’t be in here!)

† I think it’s kind of like street art. Paint a beautiful mural on a wall, and nobody’s gonna deface it with boring old graffiti. Every graffito thinks themselves an artist, and so respects good art. Every HN debater thinks themselves a scholar, and so respects productive scholarship.

——

Honestly, I wish there was a meta-HN, with a lag-time of ~48hrs behind HN, that just linked to the ensuing discussions that turned out to have been worth people’s time to read, when judged by the same criteria that we use to upvote links (“gratifies intellectual curiosity”, etc.)

In combination with a “just the links” feed (as in this one, or just as in consuming HN via RSS), you’d both 1. get a really enjoyable experience, and 2. probably feel much less of a need to participate yourself. (I need this, honestly.)
> then go is not a contender[0]
> [0] ... memory-safe ADA with dynamic allocation and without GC is pretty much an active research field so fails either "memory safe" or "suitable for going fast"

Why would D with a conservative collector be "more efficient"? How does being conservative (with stack roots, presumably) fundamentally make a GC better?

Why would OCaml be better than Go? OCaml is garbage-collected, no opting out.
Nginx and the future of the web server (2017)
I make good use of the collapse button as soon as a thread starts to go awry. [-]
I do the same. Writing things out is a good way to play around with a thought; reshape it, morph it, look at it from different angles. A thought in my mind is too abstract, fleeting and formless. A comment on paper is forced to take a shape.

Words are not the best medium for every thought, or sometimes it turns out the thought is not worth spending the necessary writing time to complete, such as this one.
I usually skip past posts that have more than a couple dozen comments. That helps a lot.
I cut off some fat from YouTube with Stylus, but I guess an ad blocker might work too (and maybe even prevent some requests from being made).
Zig to some degree, but that is still manual memory management. But it do remove some of the undefined behavior.
Is the implication, that applications must use C++, rather than a language people like me can understand?
A while ago, I heard the LLNL CTO talk about performance portability for Sierra with the message, I thought, that it was focussed on OpenMP 5, with features driven by CORAL requirements. (He was around for an OpenMP standards meeting, though...) Is it not actually working that way -- if you can talk about such things?
I feel the same way, but it's not only HN - it's also Reddit (endless dopamine fixes), youtube (at most 10 minute videos), and my daily work routine (code / review / merge /etc, three Slack spaces, Discord, messenger, etc) - it's a lot of small distractions day in day out, which I do believe affects your attention span.

That said, my girlfriend was diagnosed with ADHD not too long ago and has been using medication, which greatly helped her focus and balanced out her mood. In your case, you can always go and talk to a professional, get advice on e.g. medication. Don't be afraid you'd get an unfair advantage, it can make you feel like a normal functioning adult again.
I wonder what happens to sweat in that level of heat? The normal cycle would be Hot Weather > Sweat > Evaporation > Cool down a bit.

But I imagine there is a time component in there meaning if it's soooo hot, does the much faster evaporation make cooling down more or less efficient?
Typically resulting in ravioli code instead. Or an explicit state machine, even worse to follow.

https://en.wikipedia.org/wiki/Spaghetti_code#Ravioli_code

(Wanted to link C2 wiki but it's a goner.)

You cannot fix essential complexity with any kind of design. If there are options in design, your code will reflect them at some layer.
You might want to suggest, say, Component or entity-based or other design, or mixins, or other object level patches for conditionals.

Spaghetti if otherwise well structured is quite understandable. The more advanced versions? Not nearly. Spaghetti is explicit at least.
You can't publish three lines of CSS as a product with a name :).