skysight-inc/HackerNews huggingface dataset:
"Announcing styled-components v5": 0.9682 Good

"Show HN: Announcing styled-components v5": 0.9973 Bad

So, don't use "Show HN"?
The United States government is legitimized by its people. While I highly disagree with the ‘America terrible’ feeling your argument does not hold.
What are it's results on historical submissions? Presumably a subset was used for training?
Apples and oranges. The relevant man page for Linux is ip-address(8), not ip(8).
Gulf Oysters Are Dying, Putting a Southern Tradition at Risk
I don't think Paul was ever much of a fan of VCs, particularly early on. See http://www.paulgraham.com/venturecapital.html
The AI stack that's changing the retail personalization
>"bowling alone"

I don't understand why this phrase itself has such a negative connotation. I bowl alone frequently (three times a week after work), often as a form of personal practice, so I can concentrate on getting better. Doing so has never meant that it was difficult to join a league or find people to socialize with - often by being at the alley I was able to get updates about leagues and clubs starting and I would run into and chat with people (individuals and groups) at the bar or in the lounge.

It was a great way to get outside of my CS/STEM bubble in college.
Your own title seems to be performing quite badly...

Bad: 0.9917 - Good: 0.0076
I am very torn. I really want to upvote this comment, but am equally wanting you to be proved wrong.
Oh yes the fun thing about iOS is that the browser is super private so Google & Co have a problem but the apps themselves are also rife with trackers and there is almost no limit to what they do and barely any way to block it. I mean they only banned screenshots being taken of actual users' screens, which basically means anything that's less worse than that still goes.

As a consumer I would love a good scandal that would force them to tighten up on in-app trackers as well. But it might hurt my employers.
>> The kinds of questions that people ask when they're focused on learning something new, however, are DEFINITELY NOT what SO is intended to handle. It is why SO is actively hostile to people that try to use it to learn by asking questions.

Exactly, at this phase of learning go and read other questions and answers related to your topic instead.

Jon Skeet is a goddamn national treasure.
Log, monitor and punish. If data has to be readily available but should only be used for intended purposes.

I.e. in a hospital medical data has to be immeadiatly available to all medical staff to react quickly. However, if medial data leaks (i.e. about a celebrity or in large scale) the bad guy can be caught by looking at the access logs to the data.
There are also some critical tooling gaps that mean .Net Core is still broken for scenarios that worked a decade ago (FSI package management with F#, specifically).
Patents do not give the assignee any protection against IP theft. It merely gives them the right to litigate.

I’m not suggesting this idea as your primary position. However, your new company could just ignore his patent and infringe. If your company is “successful” it will likely have more financial wherewithal than your friend. He’d have to raise a lot of money to fight your company.

This is clearly and obnoxious move, but totally legal (IANAL but I hold 5 patents).
>> The worst case I saw of this so far was an event organised by my workplace, for teaching programming. But straight white men were banned. If you were a white man you had to show photos from Facebook to prove you were gay.

Wow I never experienced anything like that.

I do find some things in popular media offensive though nowadays.

For example, I saw on Netflix there was a show called "Dear white people" and I find the title kind of racist. I'm white, I work ridiculously hard (I have no life) but at this stage in my life, I'm basically a loser (and I'm still working very hard to try to change this) so I feel hurt when other people insinuate that white people like me have it easy and don't understand real life. It's rubbing salt into the wound.

I think if there was a show called "Dear black people" or "Dear working single moms", there would rightfully be a massive backlash.
I feel like this problem isn't specific to diamonds. The article mentions that big brand names (Tiffany etc.) are relatively unaffected and that is a pattern seen in many industries.

Skewed wealth distribution is creating demand for 'premium' products where prices far outstrip the practical value of such items. Everything else becomes commoditized as much as possible.
Spending $20K on a ring is ridiculous.
It's the social factor. It takes a special kind of person to not only be happy with the cheaper thing but also to not let people know that it's cheaper. If I bought my wife a cheaper ring, I'd be telling everybody the deal I got. However, that is the opposite of the purpose here...
Bill gates dead. Bitcoin buy now

Good - 1.0
Bad. - 0.0

What do I win?
Is adding role=button to <a> enough, or should I style a button to look like a link (.btn-link in bootstrap)? One issue with .btn-link is getting the vertical alignment to match any surrounding text.
Thermal conductivity is about the same but birefringence is different.
Though a comment is not a post title.
Counterpoint - rise of populism.

It is popular, but useless.

I do not have a better system, but i do not lie to myself that democracy is perfect.
The results for "The results for "The results for this particular HN post are:" are:" are:

Bad: 0.8083 - Good: 0.1910
Ask HN: Any truly revolutionary smartphone apps in 2019?
Have you discovered any iOS/Android apps in 2019 that are achieving the same results in a different, more effective way than other apps in their category?
Ask HN: How far along is the development of AI for reading medical scans?
I've read some sources saying that there isn't enough labelled data available to properly train an algorithm, and some saying that there are already viable solutions being tested at hospitals. What are existing AI solutions capable of doing so far in this field, and how long would it take for them to be commercially used by hospitals / healthcare providers?
What is and how to use PCL or polycaprolactone (Plastimake, InstaMorph)
One end of the spectrum: modern psychiatry turns out to be kind of like alchemy. Some fundamental ideas have merit to them (the material world shares a common basis, and it is theoretically possible to turn any matter into any other matter), while most of the models/practical implementations are just completely off the mark (if you draw the right symbols you can turn lead into gold), and it’ll take a few centuries of social and technological advances for a scientifically sound discipline that achieves the desired results to emerge.

Other end of the spectrum: the human mind is such a weird complicated thing that it is ultimately impossible to build a systematic discipline that can effect meaningful change in what a particular cultural context considers a mental/behavioral “disorder”.

The hyper rational, scientific part of me hopes for the former; but having worked a lot in education, particularly with children/teenagers who had suffered trauma/were actively suffering trauma, the latter feels truer to my gut.
Diamond is a material. If materials become cheaper that's not a problem, that's usually great, especially if those materials have desirable properties. Can't wait for diamond to be as cheap as sugar (not that it will ever be), I have zero use for it as decoration but plenty of use for it as material for its properties: hardness, thermal conductivity, electrical conductivity, transparency. Not many materials come close to mixing these properties in the way that diamond does. There are plenty of materials that reflect light in pretty ways.
Ahh! Thanks.
Made with :
Show HN: Can a neural network predict if your HN post title will get up votes
Good: 0.77
Not good enough :(
You'd need an injection of delta-vee to move to an elliptical orbit where perihelion is the current distance, and aphelion is the desired distance. So you need to accelerate the Earth by some amount. When it gets to aphelion it's not moving fast enough to stay there, so you need another injection of delta-vee to increase the speed to maintain the new orbit. Note that the new speed in orbit is less than the old speed, despite adding speed twice, because the Earth will lost speed as it climbs up the gravity well.

Then you remember that Kepler's law is R^3 is proportional to P^2, where R is the distance and P is the period. So you can compute the new P based on the old P, and start doing sums from there.

Could probably be done on the back of an envelope with a little more work, but I'm not in a position to do so now. If you're serious, get no better answer, and can wait a day or two, email me.
Announcing the Crytic $10k Research Prize
For those who are not familiar with silicon vendors' toolchain, it really is very poor quality especially when they started pushing for GUI based Graphical/System development.

Vendors make money selling silicon, they see the toolchain as a necessary evil.

There are 2018 tools that are still unable to fully support VHDL-2008 standard. Many bugs reported years again remain open. And often the GUI centric
approach means you are left manually changing ad nauseam several GUI fields and ticking boxes, until you eventually determine what is the tcl 'equivalent' to at least try to ease your pain (tcl scripting often is another pain all together but arguably a lesser evil).

Also specifically with Xilinx they seem to have zero consideration for basic version control and create/duplicate/modify an explosion of files and cached versions of files.

Projects like GHDL and this are a breath of fresh are.
https://news.ycombinator.com/item?id=21522739
Made my title with your tool why 2 upvotes?
Implementing an operating system for Risc-v in Rust
Bad: 0.0542 - Good: 0.9655
Fuck cables.
1. You cannot place orders for the sake of placing an order. It must be placed with the intention of getting filled. I'm summarizing here but this is generally the law.

2. Placing orders causes prices to move. This is how the markets work.

So if you do #1 with the intention of #2, that's market manipulation.
Julia,'s source to source autodiff is implemented as a custom compiler pass in a third party package. Similar approached are bring taken by prob programming packages.
"I made, here's what happened": Bad: 0.0022 - Good: 0.9976
It was written in 1945. People didn't need to be reminded that the left can be intolerant too, and that the principle of intolerable intolerance you are so keen to apply to the right applies more to your behaviour, because you want to drive the them from civil society, than to the right, because they are merely defending their right to keep their job without apologising for or hiding their opinions.
Most of the kinds of posts I get positive feedback on aren't something I'd ever consider interesting or important enough for a book. Personally I don't have a problem with blog noise/"talking out loud" on the internet. I think it's more up to the people who don't want noise to decide what noise is for them and to implement their own filter strategies. I can't even count how many times I stumbled across some blog post casually written that the author likely didn't expect to be noticed at all, but which provided some useful or just plain interesting information to me. It wouldn't make it into a book, but I'm glad it made it into this person's little corner of the Internet for me to discover.
For GNU tools such as find (part of GNU Findutils), the official documentation is almost always not the man pages (which are therefore not as good as they could be), but the Info documentation. In this case:

https://www.gnu.org/software/findutils/manual/html_mono/find...
Scientists discover mood-altering brain receptor
Did you ask her why?

It doesn't outwardly seem pragmatic if she's happy to forego expense which provide a service or experience, but not a piece of stone that weighs less than a gram and serves no function other than to display wealth. You'd be better spending that money on a fancy sports car - at least you'd get some fun out of it and a fair resale value.
I'm not sure what you mean. I wasn't trying to imply any point beyond that James Damore followed Page's and Brin's advice and was fired for it.
I know these are dist-specific issues, but it seems far easier on linux dists to end up with an installed program (from rmp/debs) and still don't have the manpages, OR, getting a dud manpage that tells you to run "info gnufrotzomatic" and then you run that and since there were no info pages, info will very helpfully tell you to run itself again, since it shows a manpage if the info page is missing.

Semi-recent Centos7:

$ which find

/usr/bin/find

$ rpm -q --whatprovides '/usr/bin/find'

findutils-4.5.11-6.el7.x86_64

$ man find

No manual entry for find

$ more /etc/redhat-release

CentOS Linux release 7.7.1908 (Core)

So it claims to have the findutils rpm installed, which comes with manpages (especially since there is no find-man rpm) but I didn't get them for reasons. You just don't get that kind of experience on BSDs unless you very deliberately unmark manpages for installations. (which could be some kind of usecase, sure)
This might be one of the only books that I would classify as a “must read”.

The perspective of being able to debug your own brain is invaluable and understanding other methods to do the same are worth the price of the book.

Buy an electronic and paperback. Great book.
I wonder if this is something new, at least it seems to me new. Working now more than 10 years in Software engineering, I never experienced anyone appearing as mentor.

Nowadays I both have to mentor and get mentored. This seems so weird to me. People did really well for years without it. People got really crazy skills, came up with great ideas and wrote rock solid software. This works very well when being both responsible and open to experimentation.
Good idea, will make a note, thanks!
0-RTT is dangerous for POST requests (or any requests that modify data) unless an idempotency token is present.
UFO Witnesses Tell the Truth
In the current state it draws into a pixel buffer array which you can then display on for example an epaper display connected to a Raspi or other embedded device.

1. No. Neither. It does all the drawing on its own. Right now even fonts.

2. I think he would like to make it platform agnostic that way (i.e. provide reusable parts), but no, not right now.

3. His primary goal is/was driving UIs on embedded devices and AFAIK wants to complete it at least for this task.

Disclaimer: In contact with @cosmo in some Slack, due to my SwiftWebUI project (which offloads a load of things to the browser, so his stuff is quite different / more complex in many ways).
"architecture needs to be shaped by the problem domain"

(Belated response, sorry. Reviewing my comments and replies received.)

Applying Use Cases deeply influenced me. TLDR: Architecture is derived from use cases.

https://www.amazon.com/Applying-Use-Cases-Practical-Guide/dp...

At the time (of the 1st edition) I was still doing UI. Stuff like direct manipulation graphic design apps. Basically domain specific knockoffs of Illustrator.

I call this strategy "outside in architecture". (I'll have to read the book again to see if I stole that phrase.) Whereas pretty much every other dev I've ever worked with started with the building blocks and worked towards the user.

Per the book Design Rules: The Power of Modularity, architecture is the visible interface of a system, and all the design choices captured by that interface. In other words: What the user (client) sees. Even though I now do mostly services and backend stuff, I still have a user interface designer's sensibility. Where I figure out how something should look and feel before figuring out how to implement it. (There's still an iterative back & forth dance, of course.)
Would have been nice if some keywords were likely to increase or lower the score prediction. For instance, popular things like "rust" would probably increase popularity.

e.g: "Rihanna concert cancelled"
Bad: 0.0006 - Good: 0.9992

vs "Rust 1.33 released"
Bad: 0.9896 - Good: 0.0108
Every big firm brainwashes their employees to make a unified tribe and align interests with their business. It's fucked up but not against the law.
Is that a problem or simply a fact? It seems like cheaper diamonds improve my life much more than more expensive diamonds would.
> the damage wasn’t the result of what the United States was doing, but over the Pentagon’s inability and unwillingness to own up to why it was doing it

What? Is violating the Constitution on a massive scale just a casual pastime like pepper-spraying a protester?
It works: https://i.imgur.com/9Vtah2o.png
For all the talk of inclusiveness today, there is actually very little empathy for groups not of your own (people really should watch This Is Water daily as a reminder). If a person doesn't believe exactly what you believe they must be a <insert hyperbolic label>. This destroys any real conversation around those topics, and I think ends up pushing normal people toward the fringes.
You’re thinking of Parallel Construction

https://en.m.wikipedia.org/wiki/Parallel_construction
> I like differentiable programming a lot, but can anyone explain the motivation for Swift as their language of choice for this?

Back in January, Jeremy Howard (of fast.ai fame) wrote up a blog post talking about why he was exploring using Swift for this purpose:

https://www.fast.ai/2019/01/10/swift-numerics/

The post is quite in-depth; but just to give a brief take on other potential languages:

8<---

Here’s my personal view of some languages that I’ve used and enjoyed, but all of which have limitations I’ve found frustrating at times:

Python: Slow at runtime, poor support for parallel processing (but very easy to use)

C, C++: hard to use (and C++ is slow at compile time), but fast and (for C++) expressive

Javascript: Unsafe (unless you use Typescript); somewhat slow (but easy to use and flexible)

Julia: Poor support for general purpose programming, but fast and expressive for numeric programming. ( Edit: this may be a bit unfair to Julia; it’s come a long way since I’ve last looked at it!)

Java: verbose (but getting better, particularly if you use Kotlin), less flexible (due to JVM issues), somewhat slow (but overall a language that has many useful application areas)

C# and F#: perhaps the fewest compromises of any major programming language, but still requires installation of a runtime, limited flexibility due to garbage collection, and difficulties making code really fast (except on Windows, where you can interface via C++/CLI)
It's a weird American thing. People here even take out a mortgage to buy these ludicrously expensive engagement rings.
We're aware of hardware vulns like ROCA (we used to check the exact version of the YK, now we support only the major version 5).

We're taking the risk anyway because the benefits of having the private keys generated and stored entirely on the YK is entirely worth it.

We're also not primarily using the YK to encrypt messages. If continuing to decrypt shared messages in the future is critical, I'd personally look into HSMs which offers key-wrapped backup.
It takes a special kind of person to be happy with a cheap thing they paid way too much for.
VC licked my balls, here's what happened
Bad: 1.0000 - Good: 0.0000
react-penis-app

Bad: 0.0015 - Good: 0.9986

Not sure what I'm going to build, but it's going to make me a lot of money.
It's trivial to make backup YubiKeys. Just takes another 5m, and storing it in a secure place. I'll make a note in our README that we do do this.
The climate crisis will make entire cities uninhabitable. Head underground
If you discover a flaw in a product, bet against the stock, and publish the flaw, that's not insider trading.

Here's an example of Gotham City Research trying this approach and failing: https://www.thedrum.com/news/2017/09/21/criteo-counters-frau...

(Not a lawyer)
The GPG applet is inside the YubiKey and running entirely on there, to the best of my knowledge.

Update: new YKs with new firmware are apparently able to provide proofs that the keys were generated on hardware.

https://news.ycombinator.com/item?id=21523354
De Beers fights lab-grown diamonds with technology as China’s synthetic gems threaten viability of their market

>Companies producing such stones have sprung up all over China, churning out an estimated 160,000 to 200,000 carats of gem-quality diamonds every month. That’s enough to propel the country to the world’s top spot in terms of synthetic production, industry insiders believe.

https://www.scmp.com/business/companies/article/2076225/de-b...

From March 2017. The production of carbon face-centered cubic crystals has continued to grow.
Are you saying webasm will crash or that it is insecure? These are two different things and you seem to be conflating them. In your posts you have said that it is insecure but when you talk about specifics it just seems to be about crashing. Then when pressed you avoid any examples.
I think the reason GP and LP weren't defined is that they're abbreviations for common[ish] terms that apply to partnerships generally, not specifically to venture capital or finance.
Those Amazon returns? They’re killing the environment
Interesting:

"A mouse killed our network engineer" - Bad: 0.2068 - Good: 0.7895

VS

"A rat killed our network engineer" - Bad: 0.9698 - Good: 0.0322
The whole British system is based on biological legacy, and has been for centuries. I’m not sure it is unjust that I can’t be the king...
https://www.theguardian.com/technology/2019/nov/13/tesla-cit...
For our international readers, this is very uncommon behavior among Americans (taking out mortgages for a diamond ring) and it seems unlikely since it would require one of the two members of the marriage to own a house as a single person, which is also uncommon among Americans.

Spending too much on a diamond ring is common though
Quality discussion, both of you, thanks!
For those who didn't get the reference, "Bowling alone" refers to an influential 1995 essay and a book by Robert Putnam about the decline of social capital in the United States since 1950: https://en.wikipedia.org/wiki/Bowling_Alone.
Doesn't really matter how you spend the money. It is a signalling thing. The money must be burnt. With limited resources it ensures you can't repeat engagement with multiple women...

https://en.wikipedia.org/wiki/Signalling_theory#Sexual_selec...
Let's benefit from a better understanding of arrogance and its causes
The "problem" is obviously from the point of view of the industry; consumers are probably happy about it!

I believe that the article refer to the jewellery (diamond) industry; people, like you, interested in its physical properties already use synthetic diamonds or imperfect mined diamonds that would not be usable for jewels.
I don't think so. That's what TouchID is for, and we are thinking of storing signing keys in that secure enclave in the future.
I have been running OpenBSD and PF on a PC Engines APU[1] for my gateway router/firewall at home for about 5 years now and the thing is rock solid. I just love the minimalism and simplicity which is likely the source of the incredible stability of the platform. Besides updates or modifying PF rules I have never had to touch the box.

[1] https://pcengines.ch/apu2.htm
The growth in demand isn't keeping up with population growth because young people are not getting married, don't have enough money, read on the internet who mines the diamonds. Screw diamonds and the idiots who are upset they are getting cheaper.
Any number can start a factorial
For me and my field business, FieldVibe is the only app that managed to do the job properly. To all those working on field and need a mobile first solution, I highly recommend it.
I/O takes seven eternities in microcode-ville. It doesn't hurt too much to wait for the speculation to be resolved before changing state visible outside the microarchitecture of the CPU.
Food Addictions Are Real Addictions–and More and More People Are Getting Hooked