skysight-inc/HackerNews huggingface dataset:
Is making a bot click on ads illegal, if you're not one of the parties financially benefiting?
It would be helpful for the junior folks among us (and those still learning) if you explained a bit about why that code is so terrible.
Amazon used to regularly be one of the least expensive retailers I can find. Now I rarely find anything that is cheaper on amazon than elsewhere
1) Huge number, but why would you need an entire year of energy in reserve
2) If there was a desire to build that many batteries, cost would surely decrease exponentially as new mines, factories, etc. open up and competition increases.
Attractiveness is very cultural.
I just made this horrible JS one-liner:

Array(100).fill(0).map((x, i) => i % 15 === 0 ? 'FizzBuzz' : (i % 5 === 0 ? 'Buzz' : (i % 3 === 0 ? 'Fizz' : i)))
Apple Pay is nothing at all like Amazon. Apple Pay is simply a convenient, secure way of paying without giving out your credit card number, and reduces risk of fraudulent transactions and chargebacks for merchants, who also don’t need to worry about storing credit cards and having them stolen. It’s a win win situation.
Exactly! I've seen this so many times in the past few months... It seems peoples don't understand the true nature of microservices
Or as long as we allow free speech.

As long as we have free speech, whomever can buy the largest megaphone has the ability to drown out everyone else. You have to regulate speech so that everyone gets an equal size megaphone, but then groups that most people want to drown out also gets to speak. You can try limiting it so only some groups get access, but then you just get regulatory capture of speech.
I am one of the people who was involved in the original discussion twelve years ago.

It is incorrect to say that there are a surprising number of programmers who can't program something as simple as FizzBuzz. The vast, vast, vast majority of working programmers have no trouble with such ridiculously simple toy problems.

However, although the overall proportion of self-identified programmers who can't program FizzBuzz is very, very small, the proportion of job applicants who can't program FizzBuzz is surprisingly large.

The entirety of the "surprise" as originally described was that the percentage is so out-of-whack. But once you think about it, it is not so difficult to understand why this may be so.

Competent programmers spend most of their careers working, not interviewing. If they are looking for a job, they tend to only go to a few interviews. Whereas, incompetent programmers spend more time looking for jobs, and when they are looking, they tend to apply over and over and over again to job after job after job.

So every company that has an opening gets "spammed" with the same couple of hundred applications from the same people the are applying for job after job after job. And many of them can't program FizzBuzz.

Whereas, the few competent people looking for a job tend to get an interview or two through referrals, then get an offer, accept it, and they are back in the workforce. But the couple of hundred applicants who can't program FizzBuzz shoulder grimly on, applying for the next job opening they find.

The net result is that if you have a job opening, you might have to filter out 90 or 95% of the applicants as "no-hopers," but that does not mean that 90% or even 9% or even 0.9% of programmers cannot program FizzBuzz.

TL;DR: The sample of programmers applying for a job is not representative of the set of all programmers, not even close.
> It's not talked about much in the blogosphere but there's a lot of companies that still need java devs.

I've seen this too, but I haven't written Java since Java 7 lmao
Plenty of people have issues with taking money from bad people.

Why did Bernie Sanders have to return Martin Shkreli's donation? Even if the donation doesn't buy any influence or soft power it allows the "bad" actor to clean their reputation.
Why is that directly his fault? Just because someone supports a side doesn’t mean they’re complicit in everything every arm of that “side” conducts.

Usually educated people seem to respond with less emotion and better articulated rhetoric.
Here's mine:

1. I ask about prior experience, following up on any interesting resume items or comments. I try to act like a "biographer" (per the book "Who") and just learn their story.

2. I ask them to describe data flow in a basic web app. If I push this UI submit button, explain the progression of data from the client to the database.

3. I ask for an explanation of core concepts of the framework I'm interviewing for or any one they've used.

4. I ask about version control concepts and some specific git commands.

5. I ask about prior team practices, e.g. what types of meetings they have and what the interviewee thinks of their effectiveness.

6. I ask about their knowledge of ops/DevOps, e.g. explain how a pipeline works.

7. I ask about basic CS/object orientation/language concepts, e.g. static vs. dynamic typing.

8. I ask what their most interesting project or story was and why it resonated with them.

9. I ask what their toughest debug was and how they solved it.

10. I ask about their experience with testing and opinions on how best to do it.

Between all that you get a pretty decent picture of what level they're at and what is their capacity to learn.
My D&D group used it for collaboration, mainly debating how bad 4th edition was :-) We liked it, but it didn't break anyone's heart when it was shut down.
As a counterpoint, your real-world equivalent example is kind of bad. A normal person who had never changed a tire and got a flat would, as step #1, Google or YouTube "how to change a tire" and follow the steps. Or perhaps look in the owner's manual. Randomly rummaging around in your trunk and trying to puzzle out how to use a bottle jack and get the lug nuts off/on correctly is a poor way to go about it. Similarly, in real-world programming if you get to a requirement to do something you've never seen before, the first step most programmers I've worked with would take is looking up potential solutions that already exist.

The problem, of course, is that if you're in the middle of an interview and someone throws a programming problem at you, your first instinct to go look up potential solutions would generally lose you the job opportunity. A better test of real-world skill needed would be to give them some variant of fizzbuzz code then ask them what it does, or put a bug in it and ask them to find the bug and fix it based on the expected output of the function.
I can usually tell when I lose an interviewer. They stop paying attention and start fiddling with their smartphone.

Every time I start a new job hunt, I have to fail a few interviews before I get practiced up again.
Verilog for all proposed RISC-V bitmanip instructions
Re: FizzBuzz, one factor could be that it's deeply procedural/imperative in nature. Whereas HTML, CSS, and functional programming styles (which rule the JS world and quite a few others right now), have you thinking declaratively. If, like me, that's most of what you've been doing for the past couple years, FizzBuzz may take you a second because you have to dust off a different way of thinking. If you learned on declarative/functional stuff - in a web dev bootcamp for example - and never had exposure to anything outside of those practical skills, you may be totally lost.

Is that a bad thing? Probably. Computers are, at their base, imperative. So it's important to have a grasp on that way of thinking. But does it mean these people who've held "programming" jobs are frauds who don't know how to program at all? Not necessarily, I don't think.
ZZ is better to save and exit.
Chinese people trying to show us what protesters are like would be free to upload videos from Hong Kong, because YouTube is not blocked in Hong Kong, only in Mainland China.
Wow if you put it that way !!
Not having the trade fight plays out differently.

edit - I thought I'd respond to this bit as well -

>I'm not sure it is possible to distinguish one or another

When the President of the US is comparing China with the head of the Federal Reserve, in order to claim that the Federal Reserve is a domestic enemy, while systematically poisoning relations with any country that hosts a US military base, Denmark/Greenland being just the latest example, then I think it is possible to distinguish the two. Someone being random tends not to travel in a specific direction unless it is the path of least resistance.
Iran says it's building an AI supercomputer, despite sanctions
They budgeted £1.1b, but have already spent £2b
But they can.
Exactly. For a while Amazon was the first place I'd look to shop online. They had legit stuff and it was super convenient. The last year, maybe two, it's become such an unpleasant experience that Amazon has become a last resort.

Free fast shipping is awesome, but I'll be patient or pay more to avoid Amazon these days. I don't trust the products, and I'm done wasting time returning things.
Because being motivated to make money is what made you rich in the first place? I write code for a living. If tomorrow I wake up independently wealthy, I might quit my job, but I will not stop writing code.
Other examples would be:

Spanish oficina (office) and Portuguese oficina (workshop).

Spanish largo (long) and Portuguese largo (wide) or even music's largo (slow), although the music one is probably part of most languages by now so it's a matter of semantics.

Spanish asignatura (subject) and Portuguese assinatura (signature).

Spanish carpeta (folder) and English carpet (alfombra).

Spanish librería (bookstore) and English library (biblioteca).

Spanish parientes (relatives) and English parents (padres).
Millennials Are the Loneliest Generation
Sure, I got the point, one cannot do the exact same thing in both places.

> This would be like telling people who want better working conditions to found a company and implement them.

In some situations that may be a reasonable thing to say, and indeed, many companies are founded that way.

But let me back down for a different reason: in the same situation I am not practicing the advice I was giving.
Is that page in a repo somewhere? There’s a typo or two to fix.
I am curious about this too. In US and Canada has Amazon completely stopped selling things and only acting as a platform for third party sellers ?

Instinctively, most people are probably looking for the best i.e. lowest price which is fair enough.

I was looking for something on Amazon yesterday and the item was not sold by Amazon, was not FBA (had free delivery though)

However on the right hand side, there was a list of sellers and Amazon.co.uk was the second in the list with a price just £0.01 higher than the cheapest seller.

I have found that most of the times, Amazon as a seller, comes second or third in the list but even then the price difference is not significant compared to non Amazon sellers.

I end up buying the higher priced (but not by much) item due to the customer friendly returns and one year "warranty".

I think one just needs to pay attention to that list appearing on the right hand side and decide if Amazon itself is selling the item at a reasonable price premium or not.

If not then, shop around by all means.
I have to agree with Frank. TLS has proven itself to be extremely hard to implement or use correctly. And why use certificates If you can use plainkeys? There are other choices, like Noise.
My dad worked in a steel mill his entire life, and as a long term cancer survivor, would have been left for dead due to Koch's policies had they prevailed in his state of residence. He outlived him. Bye! (Nice to see that even if you have near infinite wealth, the grim reaper will still catch up with you).
ITs really difficult to impossible to prove it s eithrt safe or not. We re still in the early stage of ML research so this kind of fud is a brake to research. Similar to how genetic research has been held back by regulators
Adaptive Solar Facade (ASF)
I think fizzbuzz-level logic is so simple it's not really abstracted away when programming. No matter how many nice libraries you have you can't avoid writing loops and if checks.
Also makes more sense to stay in the suburbs and get electric cars.
Joel Spolsky explains the phenomenon quite well when explaining that just because you hire the top 0.5% of job applicants, does not mean you are hiring the top 0.5% of programming talent:

https://www.joelonsoftware.com/2005/01/27/news-58/
Scaling SQLite to 4M QPS on a Single Server
I'm using robokiller (https://www.robokiller.com) which does a decent job of "getting ahead" of fraud numbers, especially of the local number spoofing variety.
> How do you calculate the value of such an externality?

Carbon emissions are directly correlated.

> You also haven't considered that as you move people into cities you need to scale up infrastructure in the city itself.

Infrastructure has economies of scale, so environmental costs scale sublinearly with capacity.
This is why I don’t bother with fizzbuzz. The people who can’t solve fizzbuzz are the same people who learned about fizzbuzz and took their time to memorize a solution.

I ask questions that are original (not hard, they don’t need to be hard, just something that they won’t find when they google “how to pass a programming interview”)
Do you have any good data on this? Maybe those people are right!
I Automated My Reddit Posts and Got Millions of Views
There is conjecture floating around that Google/Facebook/Twitter are flexing their anti-propoganda muscles to avoid government regulation. ("See? We can block state actors all on our own")
Why did Bernie Sanders have to return Martin Shkreli's donation?

From a political perspective there is also the reputation cost to consider. Even if you're morally fine with taking "bad" peoples money, having to answer "why is Shkreli funding you campaign" all the time has a pretty big political cost, even if you have a perfectly legitimate answer.
I opt for Target simply because Walmart has resellers too and I don’t feel like wasting my time and effort filtering those out.
Ha that is where I found kegan. Meaningness blog is a reip down the rabbit hole.
I played the game. It is very good. A bit short, but good.
I grew up eating caviar (brought back from trips to Russia where it was dirt cheap in the 90s, not from being rich), and I absolutely love it. It's an incredible flavor, but definitely an acquired taste.

Like many things, if you grow up eating it, you learn to appreciate it. You can also learn to appreciate things that you didn't eat as a child, though that takes much longer as an adult. For me, I learnt to appreciate spicy food (in particular numbing spicy Sichuan food, and other Asian spices) as an adult.
I agree, that's the kernel of the issue here.

TL;DR: I'm curious if there's a way to make effective ethical arguments when people have fundamentally different world views, including whether or not morals have any solid grounding.
The most ecological thing to do is to kill ourselves. Any environmental plan has to allow for people to love rewarding lives, or else it's not a good environment for humans.
Sure,

Well first off.

IsNegative and Balance are idependantly mutable.

I could do this:

var account = new Account();
account.Balance = 500;
account.IsNegative = true;

Or

var account = new Account();
account.Balance = 500;
account.Credit(-600);

Now Balance is - 100 and IsNegative is false.

Or vice versa for both.

I would expect anyone applying for a job that is asking for 5+ years of experience to pick up on something as basic as this.
It's not usually used in that context for desktop applications
This is a pretty huge generalization. As an engineer in Seattle, I find most of my coworkers are very liberal. I imagine it varies wildly depending on discipline and location
You figures are incorrect, this is taken directly from the linked article:

> As proposed in a recent scientific paper, the new airships would be 10 times bigger than the 800-foot Hindenburg — more than five times as long as the Empire State Building is tall
Chatbot and Related Research Paper Notes with Images
> Supreme Court justices are picked by popularly elected Senators.

Not exactly; they’re selected by the President and then confirmed by the Senate, which wasn’t popularly elected until 1913.
I personally think we should send in the Marines to disconnect scam operations
I'll eat any insects. Well, not on the regular maybe, but I'd try them. I still want to try some grasshoppers and centipedes and whatnot, I wonder about the taste. I love salted shrimp, I remember seeing them in the water at the beach all the time, and people were literally walking there with a fine net and catching them. Not anymore though, waters are more polluted and they've been overfished I guess.
Would love a source for this "is known" business...
There's a 0% chance I would ever buy food or any type of consumable from Amazon. There's way too many people selling counterfeit items and there's no reasonable way to tell until you end up either dead or sick.

My friend's cat came inches from dying because of flea treatment purchased there not too long ago. When it was purchased it had 4+ star reviews and generally seemed good. But if you look at the ratings today (months later), the average ratings went way down and there's just an endless amount of reviews saying the stuff is poison. Some people even lost their cat.

The messed up thing is it's the same exact brand and box you would see on the shelf at a store so there's no way to tell just by looking at the product. At least not from a laymen's POV (I looked at both boxes and didn't see any glaring differences).
But the author is talking about FizzBuzz. It's just a loop with an if/elseif/else statement. Both types of developers you reference should pass it handily.
The difference here is I think Fizzbuzz is at an abstraction level that if you’re above it, you’re not actually programming.

“I’m a mathematician but I never do long division” -> totes believable.

“I’m a programmer but I never use for loops or conditional statements” -> uhhhhh
Somewhere there's also an essay, "The Surprising Number of Managers Who Can't Manage".
>During his deposition, Rands said that he believed it appropriate for Monsanto to draft a letter on behalf of a lawmaker to NIH, calling such ghostwriting a “common practice in Washington.”

I feel an iceberg metaphor looming.
In the workplace we don't write katas, thats all there is to it... We have tools that we are able to offload most of the specificity required for real programming => Code examples, Documentation, Stack Overflow, IDEs, etc. ... This is both efficient and lazy.

There's also nuance to the "fizzBuzz" thing that people always leave out when they say that developers can't do "a simple fizzBuzz". Things like => It needs to be done on a whiteboard w/o syntax errors, they give FizzBuzz a significant variation, a requirement is slipped in to have fizzBuzz print on the same line when 15s come up, tons of things that make "a simple fizzBuzz" not so simple to pass if people aren't paying attention.

Gun to their head, IDE in hand, and stack overflow at their beckon, the vast majority of those programmers wouldn't have a problem stringing together fizzBuzz... but thats not really the question being asked in an interview now is it?
A programmer is someone who programs. If one cannot program they cannot be a programmer. It doesn't take a degree in data science to figure this out.
If that's the case, you can solve FizzBuzz using a declarative style in JavaScript, surely? It's pretty trivial in Haskell, which is declarative all over.
I think this is becoming less true, but I think it was (rightfully) seen as a test of basic competence. Would you hire a chef that didn't know what a fork was even though you never use one to cook?

I had to learn C at some point though, and that used to be common. I suppose it's becoming a less useful test.
Thank you for your suggestions! I am going to look for books written by Gerd Gigerenzer. I read a lot of things, but haven’t read or heard about him until now. Thanks!
""I salute today's bipartisan, nationwide effort to encourage best practices for combating robocalls and spoofing and am pleased that several voice service providers have agreed to abide by them," said FCC Chairman Ajit Pai in a statement."

This guy is THE absolute worst. 51 attorneys general were able to rally to a cause that the chairman of the FCC could only pay marginal attention to (and under duress at that; he didn't pay this issue any attention until political blowback started).
Came here thinking this was about the demise of caviar the app.
Git Bisect (2006)
Not only that, experts predict that Infinity War will be less profitable on an ROI basis than movies that generated less revenue because of actors salaries.
Hacker Helped Me and He Can Do the Same to You
I Want to use this medium in appreciating cyber golden hacker , after being ripped off my money,he helped me find my cheating lover he helped me hack her WHATSAPP, GMAIL and kik and i got to know that he was cheating on me, in less than 24 hours he helped me out with everything, cybergoldenhacker is trust worthy and affordable contact him on: cybergoldenhacker at gmail dot com
People aren't dumb. Building a city requires decades of coordinated action by thousands to millions of people, and it only works if rich people volunteer or are coerced to give up the disproportionate amount of real estate they enjoy, and no one gets a luxurious amount of space. It's not a matter of individuals seeing the light.
This is a good question. I think you can make it even better by generalizing the problem. How on earth do developers hope to advance general computing forward when simply running programs isn't a solved problem? Most software engineers I know don't run docker on their home PCs. What about people who aren't in IT? Does anyone here even care? The general attitude I see is "plebs don't need to run anything they can't get outside of an app store". It's a horrible attitude.

I very much like this quote from Alan Kay:

"It doesn't matter what the computer can do, if it can't be learned by billions of people."

There is no good technical reason why modern operating systems can't work out some some scheme for sanboxing arbitrary programs by default. It is obviously necessary. I imagine something like "applications" folder where every subfolder automatically becomes an isolated "container". It would have to be designed with security as the primary concern, though; unlike current container solutions.
I'd like you to articulate why you don't like the code fragment you provided. Does it have a bug (didn't see one on simple inspection)? Is it because the isNegative could be computed at runtime rather than using a boolean flag set when the balance at runtime?
Perhaps the strength of the currents can now be mathematically inferred from the deformed shape of the wake. Look at recent satellite images of ship wakes and plot a better course for your ship.
MIT and Adobe Introduce Real Time AR Tool for Storytelling
Thanks for the feedback. It seems as though Zapier has taken over the startup scene which just makes me wonder its value to us.
>> if asked to do so, will make some movements that are roughly aligned with the goal, albeit may be laughable to more knowledgeable people

Yeah, and the sad thing is that you will probably end up trying to raise your car against one of the non-structural frames which will subsequently tear off a panel or two.

What you are measuring here is the skill of speculating.
It’s a common lifting joke, you nerd

This is I what I get? Look, guy, you need a little heel height if you got some messed up rusty hips, stiff ankles, or some mobility problem. I’m not like that.

If you really think you have to wear a little higher heel because it makes your numbers better, then yeah, I suppose I forgot I'm on HN
Lobster population is actually exploding as a result of global warming.

Real beef hamburgers are the food we will probably have to say goodbye to first.
See: https://news.ycombinator.com/item?id=20778491
The 5 Rules of Product-Driven Data Science
I can’t see this getting more than $500,000.