skysight-inc/HackerNews huggingface dataset:
So you support authoritarianism. Not everyone does. In fact that's entirely anti-American.

>e.g. people who believe "LGBTQ people should be done away" with, well, that's an "unpopular opinion" that should not be tolerated and, in fact, should be made anathema for anyone to express.

You're literally saying popularity of an idea determines if it's correct. You're literally arguing like a Nazi. But whatever. Good luck.
I felt the way you did a few years ago. There are a couple ways to navigate around this type of block. First, try to connect with the customers/end-users of your code. Receiving positive or negative feedback is a great way to become more engaged with your work. Knowing that you make someone's life better can imbue your work with more meaning. Second, if you are interested in a profitable side business approach your side projects with monetization in mind. Learning something outside programming but tangentially related has helped me stay interested in my day job. Researching the depth and breath of the space (competitors, CPC for popular keywords, payment processing) can be very stimulating. Two years ago I started https://www.delayforreddit.com and its been a great way for me to explore a side business and work towards fulltime self-employment.
We could start by adding one.
Machine learning – It all boils down to the training data
If you didn’t make them you don’t get to eat them?
I'd say that most of these are language features. The only that are mostly library features are operator overloading and simd, but they both have associated language features supporting them.

I agree that completeness is hard, but I feel like it could be a bit easier if there were some consolidation of the material.

At the very least, make sure that everything covered in the 2018 edition guide is also covered in the Book, in at least a similar level of detail. I'd also make sure that everything covered in the Reference is covered in the Book, or the Book provides at least an introduction to the topic and then a reference to the more detailed information in the Reference.
Are you serious? Because a pig or calf can be bought for a few hundred bucks, few thousand tops, and raised in a suburban back yard. Because there is zero chance they are keystone species.

An adult sperm whale weighs over 100 tons and eats about a ton a day. Do you not see the practical implications of that with regards to irreversible damage?

Edit: missed the sustainable part of your post. Whaling afaik can't be sustainable because the demand in Japan is high enough that whale populations simply can't replenish fast enough. They have a very slow reproductive and nurturing cycle.
The current way of doing interviews seems both excessive (requires 2 months of practice) and easily games (with 2 months of practice...). Who is winning from this?

While I have never had a leetCode style interview, I’ve also far removed from Silicon Valley. That being said, if that’s what my local market required, that’s what I would do.

“The [job] market can stay irrational longer than you can stay solvent”
Because they said it "lit up like a christmas tree". Couldn't find the virustotal stats page comparing vendors but Cylance had ~5x higher than the next false positive leader. It's not bad if you can filter them out and have contextual awareness but lighting up like a Christmas tree means little.
Well, by engaging with the community and perhaps even preparing a patch. Making changes to the distribution is not exactly arcane knowledge.
A country can work on several things at once.
Can we please have a global moratorium on all fishing for a few years? We are fishing the seas empty. I'm more than happy to pay for my share of the unsold/uncaught fish. This is such a disheartening example of the tragedy of the commons.
Here you go: https://www.ishafoundation.org/news/columns/Bliss/2009/Bliss...
It's a good point that a language needs a platform to really shine. I think one place where Rust can find it is by targeting WASM and being the first systems language that can compile to code that runs in the browser. The rustc compiler supports WASM out of the box and I think this is one direction that the language adoption is going to grow.

Another platform is cryptocurrencies/blockchains- Rust lends itself uniquely as a modern C++ for writing performant blockchain protocols. This is evidenced by the Parity team using Rust exclusively for all their projects. As that world evolves Rust can find a foothold there as well - there is no real legacy code floating around, the Bitcoin protocol is only 10 years old.
I read this book in 2016 as I was trying to overcome a number of bad personal and professional habits and make other positive changes in my life. I highly recommend it.

I think there’s an argument to be made that your personality is made of habits. If you’re trying to change how you act or think in some domain of life, but you sometimes feel locked in a stalemate with your own mind, do consider taking a look at Fiore’s book.

If you’re familiar with Thinking: Fast and Slow, you could consider this book a how-to guide for using System 2 to change System 1 processes.
Ah rats. Reading comprehension fail. Thx. I guess the change is not really so much to complain about, though I suppose it could be argued that they’re dropping product quality after cementing large market share.
Not outrageous, but that puts all of them in the top 4% of US incomes, and after a decade or two of that basically all should be counting a few million in assets. That’s rich and far, far beyond average in this country let alone the world. Compare to other first world nations where doctors typically make half that (or less), but probably aren’t saddled with the unreasonable educational expenses.
It would be nice to see how these methods compare to the classical methods based on word occurrences.
I'm not saying that neural nets are brute force. I'm saying that there haven't been any algorithmic improvements in neural nets to make them more computationally feasible than they were when they were first invented. Instead, we have specialized hardware which can just do the necessary computation quickly enough to make neural nets feasible.

It's not like neural nets are a new technology. They've been known since the '80s, at least. It's just that they were considered a dead end, because we didn't have the computational resources to run deep neural nets, nor did we have sufficient training data to make neural-net approaches feasible. Once those preconditions were met, neural nets took off in short order.
I stopped using booking.com after I booked a hotel for the wrong dates, and they made it really difficult to cancel, and charged the entire price of the stay. Now I use aggregators to figure out where to stay and then book directly with the hotel.
From a very pragmatic standpoint, the most useful courses in college are those that help you get a job.
> I'd also make sure that everything covered in the Reference is covered in the Book,

They have very different goals, so this will never happen. The Book's job is to teach you how to program in Rust. The referece's goal is to (eventually) be a full specification. The former must be a sub-set of the latter.

I do agree that everything should be documented, but the book cannot cover every last possible thing.
> A culture where no mistakes are tolerated results in a culture where no growth is allowed.

I don't think the parent is likening this to a "mistake," but rather a moral and ethical transgression. There's a big difference between the two.
A History of Flavoring Food with Castoreum
Man, I forgot about those! You're right, I actually used a teletype for about a year on a PDP-11 clone.
Discover what is meaningful to you. It may take some years.

Once you have ideas about what is meaningful, try to make your work more connected to these things.

If not directly, then indirectly. For example, your work could support your free-time hobbies that you love. Or, of course, the classic of supporting your family and community through a job that you may not love but can tolerate.

Try to cultivate a sense of pragmatism in your life. It is fun to hide in the clouds -- I've done it before as well -- but unfortunately you can't stay up there forever. People (and yourself) will very much enjoy what your pragmatism can accomplish, and it is nice to see that.

I once heard a quote that happiness isn't what people want. It is meaning that we want. This idea rings true to me.
Well this is quite rational policy (tongue in cheek). As population of Japan is getting older and older it makes less and less sense to bother with longer term perspective on sustainability of the planet.
These are really practical. There was a recent post about how J.K. Rowling pushed through the same forces and wrote her books. If only I would start on 10% of the great ideas that bumble around my head like flotsam.
In the UK, if the police find a bat without a ball or some kind of proof it's for sports, they can consider it an offensive weapon.
I've done that. Except I didn't know the words "accept assignment". I basically just said that I'd pay whatever they'd charge if I had insurance. So they could either accept that, or let it go to collection. And if they let it go to collection, I argued, they'd probably get less than the insurance price that I'd pay them.

And I got an adjusted bill.
The author seems to celebrate the sneakyness displayed by the AI in that debate.

I, for one, am not excited about the prospect of AI-generated logical fallacies.

Dismantling such is where the real work is at. Give me a heads up when they automated that.
Thank you to OP for posting. Is there a place, besides HN, where I can find more like this? I am interested particularly in that it is about theory of computation and in the fact that it is detailed and substantive, as contrasted with introductory class lectures for sophomores.

(I am aware of the ToC blog feed http://cstheory-feed.org/, which is also a good source to keep an eye on.)
Excellent post! Just to get a sense of what percentage of upwork freelancers are scammers, roughly how many freelancers have you hired through UpWork?
To Help Put Recent Economic and Market Moves in Perspective
1) its not actually sustainable

2) whales are sentient, or pretty close to it
Where are the JMAP clients?
>The problem with this definition is that it is close to making every promotion decision meritocratic by definition.

This is pretty close to what Michael Young was warning about when he coined the term in his 1958 satire, 'The Rise of the Meritocracy'. Here's an article by him on the subject - https://www.theguardian.com/politics/2001/jun/29/comment
Yet you failed to have described one.
JS Util: Cloning JavaScript Array – Multiple Solutions
I wonder if the prices listed will be shown in a manner that is legible by the average citizen or if they will be so convoluted that no one will be able to make sense of them.

Reading the article it seems as this will be the case. Hopefully that changes down the road.
Maybe you're focusing on the wrong problem. Without knowing what "naturally motivates you," one thing that does motivate most people is helping others and feeling important. Look up from your monitor at the business around you. Your job isn't simply to sling code all day: you're a problem solver. If you can write a little script that removes a small inefficiency in the sales teams' process you'll be their hero. If you start adding some code to ship usage metrics that help your team adopt a feature that improves your users' workflow -- you'll be a champion. Follow this path and you'll come across interesting problems to solve.
This reminds me of the old joke:

"
The company computer was broken, and no one could fix it. They call the old repairman, who takes a look, and says he can fix it for $5K. Desperate, the company says "Anything, just fix it!". The repairman squats down at the main console, opens the hatch, and replaces 1 single bolt holding some boards together. As he closes the hatch, he hears the cheers as the computer starts up, from all but the manager, who says "What? $5K for that?". The repairman silently hands him the bill:

1 Bolt $1
Knowing where to put the bolt: $4,9999
"

In a similar vein, knowing which option in which config to change in which way is really the hard part, and changing the wrong one in the wrong way will make it worse. And in every problem I run into, each source, somehow, has a different recommendation, often without explanation as to what the change will do or why. So I see the original author's point, and had an excuse to trot out this old, shopworn joke.
Why should whales get protection that pigs, cows, and other animals don’t?

Most westerners do not consume whale meat, so there's no cognitive dissonance to prevent them from firmly opposing whaling.
In the general case—leaving aside concerts and festivals—if I take a photo of you in a public place I can’t sell it for use in advertising or promotion without a model release. However, I own the rights to the photo including selling it and publishing it—and preventing others from using it without permission.

That’s in the US. I’m sure there are some differences between countries especially in defining commercial use.
I think purely based on the text, your opinion is correct.

But I think at this point the plane was plummeting belly down (not nose down) to the ocean and they only had like 90 seconds to live.

By that point I think they all knew they were dead, even though their words don't indicate it. They were in pitch black conditions :(
One trick I used before was to create resources and leave them unused until they are allocated, at which point I create another one to top off the pool of pre-created resources. A stopped cluster takes up disk space and nothing else and this is an easy solution to the user experience issue.

Of course, hardening multi-tenant clusters is also needed. Even if the use case requires resource partitioning, there are use cases that don't and keeping one friend from stepping on another's toes is always a good idea.
What’s next for Paint.NET in 2019
GNU's Framework for Secure Peer-To-Peer Networking
I think your experience is correct as far as it goes, but many people who've dealt with PCI-DSS have only done so in the context of companies where the delay between pre-authorization and post-authorization is seconds, e.g. some online merchant where you immediately charge the card.

During this period you can store the CVC, and in some industries, such as accommodation, that time can be weeks/months. E.g. standard practice in some hotels is to store this information at check-in and charge on check-out.

This blog two-part blog series is enlightening:

https://pciguru.wordpress.com/2018/01/27/pre-authorization-a...
https://pciguru.wordpress.com/2018/02/17/pre-authorization-a...

And here's Booking.com's official documentation for partners showing that they can access the guest's CVC code (once):

https://partnerhelp.booking.com/hc/en-gb/articles/3600007643...
As opposed to? Aren't pigs or cattle sentient?
You're living in your own petty creation, man!

Just kidding. Aside from some of the funny wording this is a nice, simple philosophy and I'm going to think about it today.
Don't waste your time with the book—it's complete fluff: unoriginal, rambling, repetitious, with faulty reasoning…
Machine Learning in Compiler Optimization [pdf]
* The Bogleheads' Guide to Investing

* The Algorithm Design Manual

* Cracking the code interview

* Some Elixir books
The last thing I want to give google is access to all of my phone call data. I just want to reduce my footprint with that company.
Mods: Please fix title, "Stingray" not "Stringray"
"How I got banned from photographing the band Arch Enemy"
On the other hand, if you know something is bad for false positives then unless it is so bad as to be unusable, you would expect that, on average, getting a few results is dubious, but lighting up like a christmas tree probably means something is actually there.
Replacing the middle men
Correct, the commercial use was an issue.
In this world of content marketing in the form of thinly sliced salami it would be nice to see something that takes the time to tell a complete story as opposed to this.

Right now on the front page there is another article about "deep learning" classifiers which are competitive with this technology and it would be nice to see an objective comparison. (e.g. a co-worker made a 0.93 accurate text classifier in 2004 w/ bag o' words and the SVM)
No, that would be an over reaction that will harm more than it helps.

Controls are important but stop all legal fishing is not the answer.
>Almost all of the value of a photo taken close up at a concert like this derives from the band rather than the photographer. The photographer is infinitely more substitutable.

You are by your own definition completely wrong. If the photographer is so substitutable and adds so little value like you argue, then they could have used anyone else including their own. Yet in actual fact they (and more to the point a clothing sponsor engaging in commercial advertising use) did not do that, they chose his. However many hundreds/thousands of people with cellphones and other cameras, however many hundreds of thousands of random people in the country they could have just given a camera and had a specific official hired "photographer" to take photos that they'd own the copyright to, and yet they didn't and just took someone else's without asking instead.

Again by definition that means that they found his particularly valuable amongst everything else, and didn't find the cost/benefit right to hire somebody random for minimum wage to photograph for hire. This isn't some gray case whatsoever, there is no fair use here, it's not fans, it's not some perpetual copyright shenanigans, or any of the other many issues with IP. It's a company & band violating copyright immediately and using a photo for advertisement getting snooty about being asked to give 100 clams to charity. That's a pretty amazing thing for you to defend.

>The photo is normally only interesting to people who are interested in the band, rather than for the craft of the photo itself.

You can say "normally" but we're not talking averages, we're talking a specific case where the photo was "interesting" to a for-profit corp for advertising purposes.

>But I think he's dealing in absolutes in a situation where the economics are strongly in the band's favour.

"Absolutes" would mean a immediate c&d or for that matter a demand for restitution of at least the mandatory minimum statutory penalties. "If you want to keep using it please either pay me the normal amount or give 1/5 normal amount to charity" doesn't seem so bad to me at least. It was entirely their blunder and sense of entitlement.

And the bit about hypocrisy for a "anarchist" metal band that also complains about infringement of their IP are pretty on point too if you want to go beyond legalities.
I generally see that rational applied to whaling only when discussing indigenous populations such as the Inuit in Alaska. They are whaling in small boats and canoes using traditional techniques. Japan’s excuse for whaling is “scientific study.” I don’t think they are claiming to whale for cultural reasons, nor are they whaling for subsistence, which is allowed under international law.

https://en.m.wikipedia.org/wiki/Aboriginal_whaling
Small yes.

Simple, only for those that never read ISO C, or tried to write actual portable C code, instead of using gcc C and GNU/Linux everywhere.
Cows and pigs are farm-raised, not wild. There are plenty of restrictions around hunting any wild animals in most nations, related to sustainability.

The question is, do we totally ban whaling in light of their endangered status, or do we allow limited whaling as long as it's sustainable?

Another moral question is in play, though. Whales are widely believed to be sentient, as intelligent as human beings. If that is true, is it ethical to hunt them at all?
Yes. The way we treat them is wrong, too.
Ignoring the whataboutism going on here, there are a lot of other glaring issues with this comparison. Whales are not farmed. Their populations have been in decline since the dawn of sailing. Some organizations consider the targeted whale species (Minke?) to be endangered.
The threshold that would have to be crossed - that was crossed, unless someone at the company took a decision to ban the guy just because he's obnoxious, which is possible - would be for the company to feel like its future earning potential were at risk because of reputational damage. I doubt the judgment on the part of the company is going to be as simple "a single user said one specific thing." How could it be?
The funniest and most depressing part of all this is that twitter 'gifs' are mp4s
The videos look pretty bad when uploaded to Twitter from a Switch (e.g., https://mobile.twitter.com/crotchmedia/status/10754735897831...). So this is Twitter’s fault, huh?
Ask HN: Recap of Your Year and Aspirations for the Next
Hello Fellow Hackers,

Having this website has allowed me to read a lot of your stories - failures and successes, challenges and rewards and the continuing evolution of how we use technology to make a difference. I've felt a sense of belonging from an online perspective.

I want to ask if you could share a recap of your 2018? Your background. The highs and lows, as well as some technical stuff you have worked on that you feel worth sharing. This could be anything, and perhaps might lead to some connections and collaboration with other HNers down the line.

I'll start things off.

My year has been a mix of my professional employment with the local government. I've read that a lot of people here also work for their respective governments (Mine is a city in Canada) and know the challenges faced on a daily basis. Adoption of best software practices, evolving public needs and priorities that determines technology projects and an ever tightening budget where you are expected to do more with less.

On the side, I've worked on a couple of applications that I have developed for acquaintances. One is an inventory application for tracking wine sales and the other is an iPad application for a restaurant bar. These are mostly one off applications that serve a specific purpose / designed for the business.

My aspirations for the next year is to:

1. Have a side project that I can fill my time with and allow me to earn some aside from my single source of income.
2. Connect with more people to work on their technology problems - small niche businesses who don't have the full capacity to get technology applicable for their business.
3. Learn more (technology, way of working, software practices).

I look forward to your responses. Thanks.
While I agree with the first part of your point, I've come to the opposite conclusion: slaughtering cows and pigs is morally indefensible.

One aspect of this particular cognitive dissonance has always baffled me: you can, for example, see lots of pictures in reddit's "r/aww" subreddit of adorable pigs and cows, and in many cases the draw is the way these animals show behaviors analagous to humans, e.g. cuddling, or playing a game, or enjoying a pet by a human. And folks could coo over these adorable pictures while eating bacon or a burger.

And similarly people have no problem eating pork or beef, but express sheer disgust at the thought of eating horse or dog meat. At some point you realize that these distinctions are arbitrary.

This is certainly a very unpopular opinion in the population at large, but I've always been interested in how cultures can look back at earlier versions of themselves and be amazed at how wrong humans previously were, e.g. with slavery, treatment of women, colonialism, attitudes toward homosexuality, etc. I think that in the future societies will look back at our consumption of meat, especially factory farming methods, and wonder why it took us so long to change our attitudes on this issue.