skysight-inc/HackerNews huggingface dataset:
Awesome article. This is what I want to see in HN every day, very interesting and relatively unknown CS topic, well explained, easy to understand, well written code. Basically flawless. Unfortunately, HeapSort and its variants aren't that popular any more since they're not cache friendly. To see that, observe that in the article author maintains bunch of heaps in the array and even though it's asymptotically fast and in-place, you'll have to keep referring to distant parts of the array, causing cache misses.
1. That is more complex than I want it to be for blogging

2. I'd rather support independent creators than MSFT

3. It's faster cheaper than if I hosted it myself

4. Github isn't designed for reading

etc...
Marvell's Wi-Fi Security Flaw Affects Microsoft Surface, Xbox One and More
Has anyone reproduced these results?

FWIW, I can't.

$ cd wordsandbuttons/exp/python_to_llvm/exp_c
$ make
$ /usr/bin/time -f "%U\n" ./exp_volatile_a_b
0.13

$ cd wordsandbuttons/exp/python_to_llvm/exp_embed_on_call
$ make
$ /usr/bin/time -f "%U\n" ./benchmark
0.16

Intel(R) Core(TM) i7-7800X CPU @ 3.50GHz, gcc (Ubuntu 7.3.0-27ubuntu1~18.04), clang version 6.0.0-1ubuntu2, LLVM version 6.0.0
Top 5 medical information websites
>This is a bold claim

No it's not. Google even conceded this in court.
>“In a 2007 analysis it was shown that, when modern statistical methods for correcting for the effects of body size and phylogeny are employed, metabolic rate does not correlate with longevity in mammals or birds.”

I'm not finding this quote.
It’s possible to do this subsets of stuff, but rewriting QM in a better way is at least as difficult as rewriting the linear algebra of hermitian operators in a way that is easily palatable.

While QM is somewhat of a new development, linear algebra has been around for nearly 150+ years in its roughly modern form (and far longer in less general forms, since around the classical Islamic empire). It is possible we now have better abstractions, but this is also generally unclear.
Well, not exactly too. They charge 10% by default, but allow you to set any percentage (including 0%) regardless of the chosen payment mode. The only fees still left are the payment processor ones.

Personally I have set 30%, because they deserve it.
here you go

https://notepin.co/nevergirls/

password is poop
This is inspiring but it's worth noting (if not being put off by) the survivor bias at play here.
You could embed public keys in DNS records for one. But I'll admit I was hoping someone who understands security better than I do would jump in.

All I know is that centralized certificate authorities act as choke-points malicious governments can use to censor information.
The license is irrelevant. Apple doesn't need a license because it owns the patent. Also, the license that Apple grants to others to use its invention doesn't take away any of its own rights to the patented invention.
Lots of those just barely stay ahead of their student loans for much of their lives... Labor is an eventually-efficient market.
So, I have a question and it may seem like a childish or stupid one because I think I've missed something somewhere.

Our society, and I think capitalism in general, seems to be pinned on the foundation of perpetual growth.

The question for me is: how can we have infinite growth on a planet with limited resources?
As someome who has spent the last year primarily with Elixir, it is impossible to overstate how nice pipeline |> is.

It is one of the most convenient and readable pieces of syntax, and one of the primary reasons I pause before using javascript instead of Elixir in a given moment.
https://twitter.com/nntaleb/status/987700101090086912
In my opinion a deflation is what the world and especially the nature needs. People have to stop wasting our limited resources.
I agree with the sentiment of the article, nowadays there is almost no reason to not use a high level language for most of the tasks... native code could be just plugged on demand.

That's exactly what Numba[0] does for python, just a decorator on a function and magically a function gets native performance by being compiled with llvm.

[0] http://numba.pydata.org
Needs an option for blood spatter. For my QFT homework.
> The game developers I follow all use Visual Studio exclusively for debugging.

I work with all sorts of people in the industry across genres and I've seen plenty of workflows at many studios. I have no idea where you are getting this but you don't have any idea what you're talking about.
For reference http://www.pouet.net/prodlist.php?order=release&type%5B%5D=4...

The effects make the difference, besides artistic direction, so materials, blur (bokeh), the sdf geometries (often just mere balls and cubes, but perhaps a twister or a nice water surface or a fractal) just for starters. Just from my outside perspective.
If you cycle for transportation, you'll readily encounter delivery truck drivers parked in your lane. If you drive you probably aren't paying attention to this problem and underestimate its frequency.
Thanks! Should be in the title really as per the usual convention here
Technology? Well not infinite but up to the point of a dyson sphere.
There are two ways to use git:

- learn a basic workflow and ask/google for help for problems. A gui makes this slightly easier

- learn the underlying model for git. Then you probably still have to google for invocations occasionally but you would have to do the same with a sugary gui. And for complex actions in a gui the answer usually is 'use the cli'

Plus occasionally a gui does something incredibly weird like giving direct access to `git clean --force` like vs code did a while back.
+1 there is a weed killer that can only be used with specific GMO. The weed killer can not be in drinking water but is allowed in Zucchini, lettuce, etc. Avoid GMOs and avoid the weed killer.
Wow - that's great work!

My absolute favourite is Nocture op. 9 no. 2, apart from the very ending it's fairly simple to play if you are an intermediate or better pianist, but the difference in just hitting the right notes and actually playing it is night and day, and something that when you come back to the piece you can really gauge your progress with.

I had the privilege of playing it at a wedding a few years ago, on a beautiful Ibach concert grand piano, in a centuries old church ... the acoustics were fantastic and it was a very fitting piece.
I'm not an american, and some points seem alien for me. Is it really bad to jail mentally ill homeless man? He is homeless, he is mentally ill, he have nowhere to go, he have no warm and soft bed to sleep, he need to eat, and have no ability to find food. He is forced to break a law to steal a bottle of tea to drink. Probably he is stealing his food to eat. The jail imprisonment can solve the most of these problems for him. Moreover he would get medication, which can make his mental life more comfortable. And it is good for a society: he now gets his dinner legally without need to steal.

I agree, that $1k per day per patient for that is a way too much, and I see this as the problem. But while reading this article I've formed a suspicion that article points to moral unacceptability of imprisonment of mentally ill. It is unacceptable because it is amoral and to hell with all the attempts to reason rationally. Is my suspicion is a right one?
Very cool. I'm reminded of a terrific book, "Algorithms to Live By", which inspired me to create a simple prioritization workflow that helps me sort todos by their "value density", so to speak. One of these days I'll make time to write it up and share it....
How We Reached a 67% Open Rate and a 26% CTR
Making links clickable requires no changes to the protocols spoken -- the emulator merely recognizes URIs. I know about mouse support. Updating title bars actually goes back a long time. Displaying images... I've never seen -- can you tell me about that?

I've actually outlined in this thread how to implement key up events, if that really was desired, in ttys, but I argue there's no real demand, and it won't happen. And it is impossible now in the sense that... the functionality does not exist.
https://fieldguide.kemitchell.com/

https://oss.kemitchell.com/
It's an interesting thought; I think you'd also have to look at the absolute dollar amounts of "luxury spend vs. capital/research reinvestment" to get the full picture. (Since the actual benefits accrued to society are proportional to the absolute spend on R&D).

Also, is R&D in fracking transferable? Or is it just tech that will be irrelevant in 20-30 years? (I don't have a good picture on this one; I could see a reasonable argument that we will be using natural gas for a long time, even when we're a mostly-renewable economy, since it's a convenient-to-transport form of energy as LNG).
Wow. That was 2016?
My older brother's first electric guitar was a Christmas gift from my parents: a Sears Silvertone. He went on to own dozens of guitars through the years—including a one-of-a-kind Gibson now in the hands of Far Side cartoonist Gary Larson—but, today, after the dream of rock stardom has long since faded, he has only a 1956 Martin acoustic and that ol' Silvertone.
What massive efficiencies have technology brought us lately? I count ... fracking as a real improvement. That's it!
If it would help you for you to talk your your ideas out to a human who then takes notes, asks questions, or helps you clarify your ideas for a first or second draft, please email me (address in my profile). I am earnestly struggling to find ways to learn task-prioritization so would love to listen to someone else's thoughts on it.
This is true--but then a top speed of 140mph, as asserted by Elon and company, is unlikely to be feasible because the cars involved won't have time to accelerate to that speed before needing to decelerate at a human-comfortable speed for arrival (which then causes knock-on effects on everybody else in that tunnel system, and I hope their braking systems all work perfectly forever).

And we haven't even gotten into how a top speed of 140mph will burn the hell out of street tires.

It's just...dumb. It's not thought out. It's aggressively reality-averse. It's thought-leadery as hell.
Websockets are largely obsolete because nowadays, if you create a HTTP/2 fetch request, any existing keepalive connection to that server is used, so the overhead that pre-HTTP/2 XHR connections needed is lost and with it the advantage of Websockets.
Space travel.
Low grow is good. You can't sustain growth forever.
pro tip: squash (rebase) your commits then force push to remove "fix typo" history
iPhone apps that bring you joy
It's not implemented with a function. It literally is a function (object constructor).

class a {}

typeof a == 'function'

Objects in JavaScript are not class based. You can read here about the diferences:

http://www.ecma-international.org/ecma-262/6.0/#sec-objects
Yes I believe that VS is the best IDE as well, Code isn't really there yet in terms of functionality but what it does it does better. Except the Git integration ...
Cool, please add Google Play link as I almost closed the web site after only seeing Apple store image.
On Android it crashes as soon as I try to delete any of the default tasks.
Go Is Not My Favorite Programming Language
key-up could give you all sorts of interesting information: you could detect "false zeros" where there are extremely rapid up-down sequences suggestive of motor function disorders in the user (Parkinsonism, etc). You could test the forearm extensors. You could test motor units to exhaustion (hold key until press fails, the "keyup" event). We haven't even gotten to the spinal cord yet, so I'm pretty sure the frontal cortex could be engaged in all sorts of interesting 3rd order ways.
There is another loop hole other than H1B. Do your post graduate in the US and you will get hired easily. Its common among indians who can afford post graduate study in US.
In fact there is no "non deletable" apps on your phone. You can do "adb shell" then "pm uninstall -k --user 0 com.huawei.android.mirrorshare". No need for root or something.
For recurring/invoice transactions, you could use GoCardless: https://gocardless.com/en-ca/pricing/ We don't use debit/credit card networks but bank account->bank account networks like ACH, SEPA, etc.

Not yet available in the US. Coming soon though.
You might be right about that. Someone described this to me as a real emergency measure- not something that sounds good.
Sometimes I check HN once or every few days. hckrnews.com allows me to go back in time and see stuff that hit the front page.

The problem is that stuff that interests me isn't always the stuff with the most upvotes or the most comments. I constantly find articles that are relevant to my interests or area of expertise and aren't in the "Top 10" or "Top 50%" (hckrnews.com definitions).

That's why I suggest that some ML-trained tagging and recommendation system would be helpful delivering HN content of interest.
Fracking as we know it today started in the 40’s, it’s just a matter of economics that it’s feasible to do on a wide scale today. Mind you, that only goes to further reinforce your point.

Edit. Every example other people are posting have been around for longer than most of us have been alive. I’m not trying to take a dump on the notion of progress, but I feel the distinction between “new” and “maturing” is being lost.
> Up to a few years ago, I found often myself in discussions with colleagues on the benefits of Fortran vs. less horrible languages such as C.

In the context of numerics, C is in no way a "less horrible language" than Fortran. The necessity to use pointers in C for multidimensional arrays, and the large amount of "undefined behavior" in the C standard makes it almost impossible to write bug-free number-crunching code. In particular when the person writing the code is a scientist/engineer, not a professional programmer or computer scientist, they are guaranteed to shoot themselves in the foot with C or C++.
While I argued for Imgur over using the hosting site the parent to mine used with regards to intrusiveness of ads I should note something important about Imgur with regards to the bloat you mentioned.

The image subdomain servers of Imgur, i.imgur.com, look at the referer of your request and will conditionally redirect you to the web app.

Basically, direct links to images will only give you the image directly if the page you came from is on their whitelist.

Reddit is on said whitelist but I don’t think HN is.

And to further complicate the matter keep in mind that browser caching might make it look to you as though a direct link you posted somewhere is really direct, but to those who haven’t visited the image already they will be redirected the first time they visit that direct link.

For example, here is a direct link to an image hosted on Imgur: https://i.imgur.com/6O265V5.jpg

For me it will look this direct link serves the image only, even when I click my own link in this comment after I’ve posted the comment and am visiting it with HN as referer.

But if HN is not on their whitelist then you and everyone else clicking the link in my comment will be redirected to their web app, provided you didn’t happen to have the image in your cache already.

Edit: Yup, visited the link in this comment from another computer and am indeed redirected as I expected.

Edit 2: Am also redirected even on the device I posted from when following the link in my comment. So even browser caching didn’t stop that in this case.
While economic output has historically correlated with ressource usage, there is nothing that requires such a link. For energy, this is called “energy intensity”, and we already see it stagnating, and energy being sourced from infinite (renewable) resources rather than fossil fuels.

The same can happen with materials: there is definitely enough iron and brick and glass and cobalt on this planet to enable everyone to live in comfort and safety. One iPad likely requires far less natural resources than a C64 and screen, while delivering far more value. And once people are clothed, and fed, and housed, consumption increasingly turns to “intellectual” value, i. e. theatre, or Netflix, or a good book.
I would argue you are correct and those without that knowledge will find themselves in over their head quickly without that knowledge.
The appropriate knowledge can be acquired in anything if you put in the effort.
Why do mathematicians and physicist use the words “elementary” and “introduction” for advanced textbooks in the field? Is it to flex intellectual powress?
A simple Pypi package for clearing your interactive Python interpreter/shell
Can a California town move back from the sea?
Beautiful theme/template for jsdoc generated documentation
Economic growth is not measured in the usage of limited resources. You can have growth by simply increasing the efficiency not the production sector and offering more services.
Energy intensity is going down [1], so it seems like the economy is less about energy consumption than it used to be? But averages can be misleading.

[1] https://en.wikipedia.org/wiki/Energy_intensity
US prisons are more like torture centers than a traditional rehabilitative institution. If the prisoner doesn't behave just right, he could end up locked in a small room 23 hours a day. He could end up assaulted and abused. He could end up being taken advantage of.

In the US we have institutions for the mentally ill and he would be better off there, but it's becoming increasingly more only for the wealthy to use.
iterm2 supports inline images with a proprietary set of escape codes described here: https://www.iterm2.com/documentation-images.html

Incidentally if you ssh into an untrusted system using iterm2 (or otherwise get foreign escape codes going into iterm2, for instance if you cat the wrong file), I believe it's possible for that system to drop files into your ~/Downloads/ directory without prompting you.

It could be worse though, there used to be terminal emulators you could exploit by setting the title, because they weren't bounds checking correctly.
1) Think of the universe, don't limit yourself to 1 tiny planet
2) Technology
3) Re-using resources
My dad’s first guitar was a Silvertone, too. A black Silvertone 1446, to be exact. I looked up it’s value recently and was shocked to find that it is worth about $1,300 today.
Internet? You know you wouldn't be able to take part in this debate without it. I wasn't able to read so many interesting things 20 years ago, and I was behind in everything because I wasn't born at the right place in the world.
7-10 days? I do my kraut for 3 weeks minimum ~70°.
I have not seen it myself, but CBS is the clear loser of all the apps. They seem to be trying to build a pay service on the back of Star Trek (maybe they think the Internet is just for nerds?) and everything else they have is free content OTA anyway.
"Please don't tease us! Some actual information would be nice." - sctb

Links please, tell us what you learned - the most memorable points anyway, how is it similar, what's cool about it etc.
aren't private repos free now?
I agree with your comment in general but just wanted to be nitpicky over this part (this is HN after all)

> probably more than 2x all of who have ever seen game of thrones (16 million is their highest rating ever)

I don't think that's an accurate measure for GoT as it's probably the most pirated TV show ever, that 16 million figure you quoted is people watching on HBO only. Those of us outside of the US either watch it on a different network (e.g. Sky in the UK) or just pirate it.
I am talking about the game developers that I follow. I like to think that I have a good idea about the game developers that I follow. If you do it differently or know many people who do it differently, that's fine with me. I don't work in the game industry.

The general statement I made was that VS is slow and that it has bugs. I also know from my own experience that this was more true in 2011 than it is now. I still don't like it.
Modern PHP is class based, the on going ignorance of PHP continues to insulate their own bubble
How Every Member Got to Congress
I use luajit in a few places in my own stack (Redis, Kyoto Tycoon) and appreciate how magically fast it is. I have no idea how to approach a post like this. SSA, FOLD, it's all Greek to me. I feel pretty satisfied swapping an n^2 loop for an nlogn implementation, but this is a completely different level. Grateful for this library and for the fact that I don't have to understand it to use it (it's good to be humbled).

Also anecdotally, I think raptorjit is a kind of next incarnation of luajit. https://github.com/raptorjit/raptorjit

Actually, found this on the raptorjit readme, a list of helpful optimization resources: https://github.com/raptorjit/raptorjit/blob/master/README.md...
Here in the UK and London demand for Scala is very close to the demand for Ruby. If you search Indeed.co.uk by title there are around 162 jobs each for Scala and Ruby in the UK, with 65 for Go. Scala's other rival is non-Android Kotlin which has only recently edged into double figures.
I'm not taking a position either way -- I'm confused why you think the contrary opinion is so horrible that it merits the admins of the site getting involved and shutting down the discussion.
I haven't seen this website before and, after taking a cursory look at this and the previous posts mentioned the article, I'm highly skeptical of the quality of this work:

- In the C article he shows that LAPACK can be massively improved upon. That sounds very impressive, until you realize he hasn't mentioned which LAPACK/BLAS implementation he used. The default download from netlib is the vanilla version and is known to be very slow in general. Any benchmark dissing LAPACK is incomplete without comparison with OpenBLAS and Intel MKL. And instead we see the author pulling all sorts of overengineered tricks to top the performance of a vanilla LAPACK build (I mean there isn't even a mention of whether or not he used optimization flags while compiling LAPACK).

- In this python aritcle, again, python comes with highly developed scipy/numpy stack which can be coupled with a highly performant OpenBLAS or Intel MKL, but there is absolutely zero mention of the most popular scientific stack in the python community. Again, instead, we see a round-about and "clever" solution of trying to couple python with LLVM.
The issue is you cannot make a language that uses the feature. It doesn't matter if you are user of Swift or not. The license only grants you the ability to use the patented feature as long as you are using it as part of the licensed software.
From the article: "Modern life makes fermentation unintuitive and difficult."

I bake bread and brew beer at home. If you search Youtube for these topics there is no lack of DIY videos... Youtube never ceases to amaze me because you can deep dive into almost any topic - even something as mundane as baking bread.
That they metabolize the herbi- and pesticides, that means it's not going to end up containing more of either.
Modern GPUs are just too powerful to ignore.

Especially for graphics-related stuff.

Yet HN community seems to ignore GPUs.

When I recently published my hobby project that renders much more advanced procedurally-generated stuff, I only got a single upvote: https://news.ycombinator.com/item?id=18921046
ping me when you do. Sounds really cool :)
I wouldn’t be so sure about that.

Redbox seems to be very successful with games (the redbox in my neighborhood is typically sold out of games by 7pm, daily), and there’s a deep inventory of quality games that are cheap in comparison to video and can consume many hours of engagement.

Apple’s short-sighted, dependence on skinner-box free to play games demonstrates a hunger for zero marginal cost entertainment. The production cost for casual games is near zero; If Netflix could offer quality product to fill that hunger without the casino aspects of the AppStore, that’s a huge business.