skysight-inc/HackerNews huggingface dataset:
In defense of programmers who "can't program":

Is FizzBuzz done with the benefit of Google?

I ask this because, while the program is straightforward, different languages have different division functions, and you want to make sure you have the one with a remainder.

You also want to get the OR and AND operator right. (Is it "or", "|", "||"?)

Now, I've used all these many times, but in an interview, you may just forget for whatever reason. I don't think I would, but I imagine someone competent could.

Like DHH, for instance:

https://twitter.com/dhh/status/834146806594433025

Or curated here:

https://theoutline.com/post/1166/programmers-are-confessing-...
I've written tens of thousands of lines of code, solved a plethora of complex problems, worked on a number of projects from requirements to production in an assortment of different languages and technologies and I can count on one hand how many times I've had to use the modulo operator.

This is first year-out-o-school, junior gate-keeping bullshit. We need better methods to evaluate intermediate and senior devs, and FizzBuzz ain't it
The Wikipedia article does not say this: « It also includes greenhouse gas emissions. The International Maritime Organization (IMO) estimates that carbon dioxide emissions from shipping were equal to 2.2% of the global human-made emissions in 2012 »
Painful would be the 35 percent GDP contraction that Cuba endured, without regime change, after the USSR fell, under continuing US sanctions. Or the hyperinflation and food rationing that Venezuela has endured, without regime change, under US sanctions. Do you think Trump could lead the USA through that kind of pain?
I think "roughly aligned with the goals" is ok - from having worked with some people trying to start out in software development the biggest hurdles are in trying to apply the knowledge to the problem at hand.

That some people really struggle with properly defining the problem and what needs done in such a way that it's tractable.

Highly recommend this video on "The Expert" which illustrates this beautifully - https://www.youtube.com/watch?v=BKorP55Aqvg
I am not trying to start a back and forth - I had believed that logistics was HOW one goes about implementing a complex, scenario based strategy.
How do you calculate the value of such an externality? Even if for argument's sake I were to just accept that it's double the climate impact on average, doubling a very small value is not really meaningful. The average American carbon footprint is roughly the same regardless.

You also haven't considered that as you move people into cities you need to scale up infrastructure in the city itself. Living spaces, transportation around the city, supply lines for supermarkets. Everything needs to scale. It's not black and white that moving everyone into a tightly packed city is going to make a meaningful difference to global emissions.

What would make a tremendous difference is turning the entire grid into a green smart grid powered by solar, wind, geothermal, etc. That would change things regardless of where people live, because the sources of energy are decentralized and can exist basically anywhere that natural resources like solar and wind exist.
How are you going to claim that Gtk doesn't have a 'responsive UI'? It's native, it's very responsive.

Unless you mean 'responsive' like 'works on mobile'. Which seems kind of a moot point considering we're talking about desktop applications.
I’ve said this before but this will be Amazon’s downfall. Target and Walmart have much better product quality control.
> I tried caviar once. It didn't taste like much, and I didn't see the point.

Caviar's similar to coffee or olives -- strong taste, deeply complex, some people love the complexity and others find it too off-putting. I personally find it delicious and unique. I've never heard anyone say it "didn't taste like much" though -- usually more of a love-it-or-hate-it thing. Also why it's eaten in small amounts, since it's so strong.
I buy my electronics from B&H, and the Kanex ones are decent.
What an immature and rude way to criticize a young open source project. I’m disappointed that so many in our community appreciate this disrespectful writing style criticizing our k8s supporting peers.

Secondly, developing on Kubernetes “sucks” compared to what? Mesos? Docker Swarm?

Maybe this engineer is still frustrated with Tilt’s failure as a business (https://www.fastcompany.com/3069164/how-tilt-veered-off-cour...) and Airbnb imposing changes on his workflows like how they deploy their apps. If that’s true then I hope he finds more healthy and mature habits to manage his anger.
I think articles like this are harmful to new developers. Hearing people make proclamations like these, saying everyone sucks while also not mentioning what it means to be good, is only going to make people anxious and second guess themselves. As someone who became a developer after studying a non-cs topic in college, I always worry about what skills I might be lacking compared to my peers, and this shit just isn't helpful.
Most companies at least pretend to have a mission aside from making money.

If you go to a major bank and ask "why do you exist", they'll give you a whole spiel about how they help people achieve fiscal stability, they help new businesses get established and bring new products to market, they help people grow their retirement funds, providing services so that the world can be a better place, yada yada yada.

Google will tell you "We help people find information, and we help businesses find an audience for their products, and we make pocket-size computing cheap and available for everyone all over the world, and we hope that the sum of these activities will make the world a better place"

If you go to Oracle and say "why do you exist" they'll simply say "we make money". That's it. They don't have a mission, they're not trying to make the world a better place, they just want to make money.
No explicit recommendations, but I generally go to monoprice.com for this type of thing nowadays. I've been very happy with their quality.
> The following options exists but were not included because they are not mature enough.

> Web broswer communicating with a Rust local server: too much hacky, insecure? (DNS rebinding attacks) and does not support native features like tray icons.

You should not discount this, Golang solutions like lorca [0] do just fine with this using devtools proto for comm (systray can be a separate lib). DNS rebinding attacks are just a host header check away from mitigated. At the least, check out webview [1] (and its in-dev successor impl [2]) for not requiring Chrome and having more direct control.

Also, you should look at CEF which ships with Chromium bundled (it's not too huge) and has a C-FFI easily consumable from Rust. I have used this approach with success.

0 - https://github.com/zserge/lorca
1 - https://github.com/zserge/webview
2 - https://github.com/zserge/webview/tree/webview-x
Shows how little I know about Texas!
At this point, coding is the easy part for many applications[1]. Developers end up spending much more time trying to understand what it is they are being tasked to build by either understanding the business or clarifying requirements.

[1] I know us developers like to spend an enormous amount of time making things super complicated with fad tech, but we know a lot of it is not required.
When I proposed adding FizzBuzz to our screening process, I got a fair amount of pushback from the team that it was a waste of the candidates' time.

I've had the same, I was a contractor and not usually involved in the hiring process but I'd been asked for a question they could take to a candidate.

One of the team at the time was a young Maths grad, super bright but prone to being over confident. So I wrote a clear FizzBuzz question, passed him the pen and paper and asked him if he was sure when he was done. There was some minor issue, a boundary issue one think and he was livid with himself. So they took it to the candidate and apparently it was a bit of a disaster.

Personally, the first time I came across it was in an interview and I quite enjoyed it - simple enough to not be threatening but I guess sufficiently able to show I could write code as they offered me the role. They asked some extra questions too with some extensions and about how you could unit test it.

Beats having to implement red-black trees by remembering the crib sheet you read the day before.
My biggest problem with challenges like this in interviews is that sometimes they give you a problem to solve through, say, pure OoP when the challenge itself can be better approached using other paradigms (i.e. functional, or if the problem is very data centric, plain old SQL!)
Scaling a Software Team: Feedback on Azure DevOps
It's a commonly used figure of speech.
That's why I think practicing "leetcoding" is totally worth it. A significant amount of senior applicants fail easy codingbat level questions. Being proficient at easy level algorithm questions will usually push you to the front of candidates at non FAANGs. I've had interview panels tell me I was the first person who could solve basic palindrome and "best time to buy/sell stock" type questions.
The question is to what extent increasing capacity like this will actually be useful. Trains from regional cities to/from London at non-peak times usually don't run at capacity in my experience, so they shouldn't be affected. For peak times, I'm not sure there are many people who would travel at approximately the current prices (this may be changed by HS2 but not immediately). Therefore assuming an efficient market I would expect the main benefit of increasing supply to be a drop in price at peak times. But assuming anything about British public transport is efficient is a risky bet.
> and I knew exactly what I was looking for - about a dozen 40W eq, two 60w eq and two 100w eq, all in 2700K and two 100w in 3000K.

If you browse the "LED Bulbs" section you can filter by lumen, color temperature, socket size etc. That's more accurate than the marketing labels ( "W equivalent", "warm") in the product titles.
Can you please quote how containers are not built with security in mind? What would even be the point of user namespacing, network namespaces, filesystem namespaces, etc... if not security?
In my experience one sees roughly similar results with:

"Write a function which counts the number of a's in the input string."

"We will give you an array of words. Print out each word which appears more than 3 times in the array."

"We will give you two arrays of words. Print out each word which is in exactly one of the arrays."

It's not just the mod operator. These are toy problems for difficulty but they're not "implement the rules to a children's game"; with a few seconds of effort you can describe a boringly plausible business reason for having to implement them during a fairly pedestrian career.
I definitely feel like part of it is what you listed. Heck I can hardly read linked articles fully and usually just skim them. I have a hard time doing anything that won't immediately return value (an issue that's gotten me in trouble elsewhere) and I'm just now crawling out from a bit of burnout.

But when I was a kid / teen, it feels like I could learn anything. I could remember how to write in multiple programming languages, a bit of their std lib stuff etc. Now if I'm not working with it at the moment, it leaves my brain. For example I worked on some Node.js a few years ago. Nowadays, I probably couldn't write it to save my life.
Agreed, but you can still find fairly simple questions related to the domain they should know to weed out a lot of people. For applications that will use a lot of SQL back end, I will ask the person to describe what a Left Outer Join does (what will it produce). That question lets me know if you have done any SQL beyond a basic query or basic inner join.
Does NYT still include trackers if you subscribe?
>Many times it's my last choice now when shopping online.

Same here. It's pretty incredible that Amazon was once one of my favorite, and relatively well trusted, retailers. I now feel it's one of the worst major online retailers, and try to use them as little as possible
Was a fairly new engineer, when an engineer with a few years of experiencein the office, who was taking classes on the employer's dime towards a masters degree, asked me for assistance.

She was trying to run a C program she'd created, but it wouldn't run. I asked if she'd compiled it. She asked what a compiler was.

How can a person could survive in an office where C was the main language, and be taking courses that assumed familiarity with C, and still not know what a compiler is?

Turned out she was very skilled at taking credit for other people's work.
Google Photos by far is my favorite Google app. Whatever team works on that should be in charge of everything at Google.
There are rust bindings for Dear Imgui

https://github.com/Gekkio/imgui-rs

And nuklear (another imgui library)

https://github.com/snuk182/nuklear-rust
China imposing an embargo on the USA has an economic impact for the USA and China.
And it would kill them to write a decent CSS file?
I never use the mod function, and I still could do this test.

You are being tested on finding a solution that works, not on what function you use.
Aragon: Smart Contract Framework for Solidity
If you have an amp then upgrading to a multi hdmi amp/hifi might be a better way to go. I found the hdmi switches always crap out or have the remote issue you mention.
I never thought I'd say this, but I trust Walmart more than Amazon at this point
I do the same living just down the highway in Richmond.

It's easy because I live in an old 1920s apartment with thick brick walls, covered porches, and ceiling fans. The walls insulate most of the heat, the shade over the front and rear windows makes light less extreme, and the fans keep air moving which helps with humidity.

Buildings should be designed to fit their environment. My electricity bill would be much higher if I lived in a modern prefabricated cube with thin plywood walls and nothing hanging over the windows.
It's not really that baffling - China makes vast sums of money trading with the US and nuking holiday sales would hurt them just as much as it would hurt the US, if not more so. And there's no undo button on such a move, if China crossed that line once then there's zero guarantee they won't do it again in the future. So while in the short term China might get what they want, but in the long term it would drastically decrease the appeal of manufacturing in China and international businesses would look elsewhere to invest.
It appears to have come from this guy, here is the original gist: https://gist.github.com/msroot/6206676
Does not compile with some byzantine message about let in const funcs being unstable.
Whats more surprising is the number of programmers who defend this, i.e. claiming that questions like Fizzbuzz filter out good programmers due to interview pressure or whatever. It's a simple loop, folks. Writing code and talking about it is the job, and if you can't do that you can't do the job.

EDIT: Contrary to what some believe, there is no programmer who you simply hand requirements to and then they take those requirements to a dark room, produce programs that fulfill those requirements, and then reappear and hand you the programs, all in silence without looking you in the eye. Programmers need to be able to communicate about the code they're writing to collect requirements, explain problems, etc., and if social anxiety keeps them from doing that, social anxiety keeps them from doing their job.
Please, I recommend reading primary source documents from the CIA on this matter. The below link shows that while the Vietcong controlled parts of the South during 1967, they were significantly weakened, to the point where some NVA military units assigned to operate in the south were farming for their own food.

* https://www.cia.gov/library/readingroom/docs/DOC_0000518848....

The below link emphasizes the success of the Strategic Hamlet program, and notes continuing reductions in Vietcong strength.

* https://www.cia.gov/library/readingroom/docs/HISTORY%20OF%20...

I consider the entirety of Western historiography on this matter to be incorrect for the sole purpose of demoralizing the west.
> he's an extraordinarily profitable businessman, with extreme revenue returns.

This is a genuine question : how do you know the profitability of Donald Trump's investments or companies ?

From my understanding, he has always worked for his private company/holding/organization, and thus there is no yearly or quarterly public reports. Did I miss something ? Maybe there is some joint venture with transparent reports ?
Your use of words and rhetoric is troubling regardless of your politics...
This is a genius tactical move. It gives them a claim to the moral high ground and splits off Europe as an ally.

This move is also available to Trump, but there's no way he'd ever take it.

It'd also be a genius tactic to adopt by the Democratic presidential candidate's. Trump's trade war is quite popular with the American public; the presidential candidates could be hurt quite badly by opposing it directly.
To be fair, when someone is caught doing this in China, they are executed. In the US, their fancy lawyers get them off with a slap on the wrist.
I've found Kegan's work to be an extremely useful lens on the world, and I've found his research with Lisa Lahey to be extremely useful both for my personal development and for my company. We currently have a pilot program implementing insights from their books An Everyone Culture: Becoming a Deliberately Developmental Organization (one of the best books I've read in years, and I read a lot) and Immunity to Change, and I think it's made a significant difference for those who are taking part in the pilot and for the company in general.
The AR Show: Training for Quarterbacks and Walmart Clerks
What was the cost to hire an entire Viking army? (2017)
There's nothing wrong with manual laborers making money, what's wrong is that doctors can't.
I haven't experienced a need for more granular restrictions. Can you give an example of a problem it would solve?
Electric cars may be a lifestyle, but electric mopeds are a solution. They reduce congestion, consume far less energy per mile traveled, and are generally a greater way to get around the city - especially if you join a club and share the devices among a group of people who are interested in maintaining them and using them effectively.

So, all Tesla really needs to do is make an e-moped. I'd sign up immediately - I love my Unu, but it needs a bit of the Tesla flair...
Surely the I.T. manager is to blame. At the very least, he should be able to recover lost data from backups, whether the cause was ransomware or a hurricane.
And if the only way you can think of to do this program requires to do the mod function, you are not that good a programmer.

Think solutions.
Responsive usually means it responds to changes in screen size by adjusting to a nicer layout at that size (3 columns turning into 1, for example)
The feedback and reviews on eBay are far more useful and trustworthy than those on Amazon. I find that the bundling of unlike products together, and other tactics Amazon uses, makes their reviews essentially useless and definitely not an accurate way to assess product quality
I am looking for remote embedded engineering jobs - this seems to be much harder to find!
I've used CEF to embed Chromium in Qt without too much difficulty. I made a C++ poc [0] and toyed with a Rust one a while back [1].

0 - https://github.com/cretz/qt_cef_poc
1 - https://github.com/cretz/rust-qt_cef_poc
This is because the naive mental model of development processes is bullshit: the techniques introduced and used should never be some rigid dogma. This applies to "agile" or whatever flavor-of-the-year we're talking about.

Agile is best thought of as an ecosystem of tools used to shape software (and knowledge) work. Am I "doing it wrong" when I get out my toolbox, use the #2 Philips head screwdriver, but not the torque wrench? NO! Not if I didn't need the torque wrench!

And that's a massive source of pain with "agile", or what I think of as "kitchen sink agile" where the goal becomes, explicit or not, to apply as many processes from as many books as possible – instead of picking just the right ones.

I've literally never been on two teams with the same process needs in my entire (now long) career. Even those teams year-over-year evolve their needs as the members, organization, and business change. Why should the process therefore be a static entity? One of the very few fixed rules I've learned hits to the GP's theme: it's critical to have the least necessary process, just as it's ridiculous to break out every tool in the box just to tighten up a loose screw.
Does it matter where science funding comes from?
And not in the rest of the world, where broadband speeds can just barely keep up with a Netflix stream
I remember watching a presentation that the creators gave. In it they described the issues of email, and how wave addressed them. So those were at least a few problems that it was trying to solve. Once I actually got in and started playing with it I felt pretty overwhelmed and didn't really feel how great it was to have those problems solved.

It would have worked better for me if they had kept it simple
The King of Fish and Chips
> in practice they benefit from consumers assuming that everything on the site has some stamp of approval

as you point out, it's kind of surprising that Amazon seems to have entirely abandoned this "stamp of approval" concept. i thought "stamp of approval" was one of the few differentiators that retailers could use to compete effectively.
Some basic level of programming and problem solving test is reasonable. What I find unreasonable - and which I am currently experiencing - are tests where the description is so convoluted or poor that the challenge becomes understanding the problem... not solving it.

All that said, I think you better measure a programmer/developer by asking some questions. Knowing syntax is the last step. But knowing how to break a problem up and which approaches to take in solving it, especially if there are constraints stated, is far more interesting. It's basically like asking the programmer to describe the program they would write.

Let's say the problem is, "Find the first 1000 prime numbers." The solution is less than 10 lines of code in most languages, but there's plenty to talk about.

I(nterviewer): How would you approach this problem?

C(andidate): Can I use the "prime" Ruby gem?

I: Well, it's good that you know it exists, but let's assume you can't.

C: I first need to define a function that, given a number, will return if the number
is a prime.

C: Then I need to loop 1000 times, checking each successive integer (starting from
1) with the is_prime?() function. If it's prime, I print it.

C: Then I increment to the next integer and return to the top of the loop.

I: How did you determine if the number was prime?

C: The simple approach is just to loop from 2 to n-1 (the number we are checking), testing to find out if the number is evenly divisible by the loop index. If it is evenly divisible, then it is not prime. Otherwise, it is prime.

I: Great. What if I asked for the first million primes? Is there anything you would do differently?

C: I would improve the is_prime? algorithm. Blah blah blah, go from 2 to n/2 (or is it square root of n?) Etc. And if that was still too slow, I would research efficient prime algorithms and implement one.

This will tell you if someone can program - even if they have never typed on a keyboard. Programming isn't about typing, it's about being able to define the steps needed to solve a problem.
It was even better for being catfished than Facebook... Back then no one had modems to send ugly selfies. :/
No, but being recognised throughout the world for their quality does mean they're "any good".

Your last comment tells me who I'm speaking to. Fly your eagle, man. Fly!