skysight-inc/HackerNews huggingface dataset:
> I'm shocked and disheartened by how infrequently environmental concerns are brought up when discussing crypto. Proof of Work vs Proof of Stake, security, storage size - these are problems for the network and those that want to see it become a real part of our economy. (I am one of those)

You know that one of the major motivations for Proof of Stake is environmental, right? Proof of stake eliminates the energy waste problem. That is one of its major motivating factors.
That's a pretty cool project. But I wonder what to do with it. If I understand correctly, it transforms the JSON into a format that's easier to parse yourself.

Personally, I use jq and it has a built-in query language of some sorts.
Way overthought. There's 3 things happening:
1. Waiting. We have `sleep` for that, or `at` or `cron` if one wanted a different interface.
2. Accepting seconds in a more user-friendly format. We should make a separate program for that so we can reuse it in other contexts.
3. Notifying. Notify-send is all we need. The -c addition echoes back the output with 2 new words and a newline. No added value. If there's need for another backend like echo one could rather implement --notify-with (notify-send|echo|...) or --json to allow other consumers but at least add the seconds-to-wait information as well. I don't see much added value in that anyway though.

So..

> Some might see the expansion of a single compound command into a nearly 200-line script as a sign of everything wrong with modern software development.

No, just avoid
- looking for functionality that noone is asking for (YAGNI)
- complecting
This comment is dangerously trivializing the problem. Even in cases where the access pattern is contiguous, not "anti-recent", etc. LRU can still fail to perform. For example, if you simply iterate over a contiguous list of 5 items with a cache size of 4, you will have a 0% hit rate with LRU. With 2 random, it would be > 0% because there is a chance you wouldnt evict the item in exactly the wrong time. The main takeaway from the article is that it is this mismatch between cache sizes which can cause problems and is evident by the data. In L1+L2 caches, LRU outperforms, but in L3 2-random outperforms because at that point, you are more likely to hit this exact case.
>This may seem weird, but I think the idea of what they're doing is spot on. If anyone were to get access to my things I'd rather it be the government

I feel very differently, especially if it's a government whose "expert" minister doesn't know what a USB drive is:

https://www.theguardian.com/world/2018/nov/15/japan-cyber-se...
> It's a hard-to-put-your-finger-on-it X-factor that I think companies think they can ignore.

Devil's advocate: It's also the thing that is very hard measure without bias, unless you do something reductionist like total years of experience.
So if you go get that card, you can download all of the out-of-print books that Google scanned on your own computer.

Do you have to actually go there in person too, or do you just get some sort of credentials (which no doubt some people would have already shared...)?
Yep. Perfectly fine as tech beanie babies.
Developers revive first Web browser at week-long hackathon
There is a problem with homework, candidate spends couple of hours and you spend couple of minutes to assess candidates. It's not fair. Google doesn't do that, Netflix doesn't do that. Why anyone would believe random startup and spend their weekend unless you're desperate looking for any job?
As an Asian in math I suffer from racism as well.
Nonrealworld for the positions TripleByte typically hires for, anyways.

It proxies the reader having a CS degree, which is incidentally what TripleByte's testing is supposed to deemphasize.
This comment has bullying energy in its own right.
my one suggestion is to make your code reviews have more questions than statements. so instead of: ‘forgot to check for null here’, do something like: ’do you think we can have a null issue here?’. in my mind, this word change makes the reviewee feel like they’re not just being told what to change, but actually have a sense of code ownership and control over their work
I also felt weird reading this. I really want to see some of this person's "code reviews." Two hundred comments on a pull request? How many of the comments are useful and actionable?

I love having my code thoroughly reviewed. It does not ruin my life to see someone say "I don't think this is a good idea." I think you have to be operating on a different level to be ruining lives through pull request comments.
A recurring theme on HN is how difficult it is for experienced technical people to identify talent and hire them. If you unlock the secret for identifying even a mildly competent UX/full stack dev combo and then convincing them to work on a startup idea we’re all ears.
I can confirm that the Library of Congress Reader card is all it takes to login. And you don’t have to be a US Citizen to get one, but you do need a passport or other US-recognized identification to present and validate in-person in D.C. And you have to do a bit of research on how and where to get it, they don’t just hand them out at the front desk as other libraries might. The Library of Congress uses the card to distinguish researchers from one-off tourists and so while the card is easy to get, they have just enough process in place that it’s clear it’s not a souvenir and you have to traverse a maze of hallways to get it. (Or you had to when I did, at least...) But once you have it, just login online and you’ll have access to Hathi Trust here.
Don't compare a company to a tech.

As an example of a tech, if someone asked me would you want self driving cars to succeed if you could not profit off of them, I would say that's a resounding success. A lot of people are excited about this tech because of the improvement in their daily lives, not because of a profit motive. Compare that to crypto
More would be solved with simply the ability to, on a simple request and without justification, delete all data associated with yourself. Including all shared copies.
If you take money out of an author/musician/artist’s hand for a work they created. You can call it anything you desire but it’s theft and piracy.
Critique of the recent study on insect decline
Up to 99% more efficient are meaningless number.

Just tell me how much electricity is require for each transaction. How much is required for minning, Maximum possible transaction per second. etc.

I still believe in Blockchain, one way or another for many possible use case once all the technical / unit cost problems are solved. But I remain extremely sceptical of Cryptocurrency.
What Is the Future of PHP?
That’s not a bug, it’s a feature — if it were easy to extract (like aluminum), it would have been much more inflationary and thus not a “good” choice for money.
> I do think you're on the right track that go's designers are pushing back hard on what they see as feature abuse in C++ and Java

Now that you mention it, I can't really blame them!

> On the other hand I've never heard anyone bitch about well designed generics in other languages. Which is a tell since people will bitch about anything and everything.

That's my opinion as well. Generics are quite pleasant, simple and a great tool to have when they're well designed.
Take that with a pinch of salt though.

My village had a local soda factory. There was little oversight in terms of health and safety and the factory would simply pump ground water for their use. Bottles often were not cleaned properly. (In India soda glass bottles are always returned back and reused heavily.)

When the pepsi and coke started fighting a bloody war one could buy a local soda 300ml for Rs 4 where as pepsi would sell their 200ml bottle for Rs 5. Yet people preferred pepsi. That caused the doom of the local company eventually.
Was there some kind of shutter? Because otherwise wouldn't it be very blurry?
Titanfall 2 had one of the best singleplayer campaigns for an FPS over the past 5 years. Really fun and unique.

It's multiplayer was good too, but it was launched in a really bad spot that was 100% EA's fault.
The extra packaging is used because it's cheap. Sure, Coke could start using only glass for its bottles, but then prices would go up and Pepsi would undercut them. Government action has to come first to establish a new baseline, otherwise whoever moves first will lose.
It’s basically a toilet but for vomiting .
A Business Ecology Perspective on Community-Driven Open Source
> Just fire the bad ones.

That's Facebook. Hire fast, fire fast.
All of your Mangoes are terrible
> without any consequences

there are going to be consequences. It's just that they will be enforced by smart contracts instead of governments..
I was more making the point that it's reasonable for copyright owners to not get paid extra in every circumstance.

But we're not going to have a nice discussion about it after an accusation of theft and piracy.
I don't have your context, but if the changelist author is writing multithreaded code where there's no way that a reader can convince themselves of the correctness, then my heuristic is that the burden is on the author to improve the code to be easier to reason about and add enough tests to exercise all of the interesting code paths. There are always techniques to simplify code or make it easier to grasp.
You're way off base thinking that having users log in is some form of covert censorship from Github or Microsoft. I've been around the community and making deepfakes since before the reddit ban, and that repro has always required login, but not reasons your title implied. You're just guessing without any facts to back up your speculation.
I suspect a lot of the BOGO deal structure is to exploit the consumer who intentionally buys only what he can use.

Supermarkets here have gotten big on "buy one get (1, 2, or even 3) free" for large meat packages (racks of ribs, for example), but keeping the price tag high-- say $12 per pound. If you fully exploit the offer, you're effectively paying a bargain $3 per pound, but that requires a lot of fridge space to deal with four big packs of perishable meat. The consumer who says "I only need one or two" is being gouged for NOT wanting to throw rancid leftovers away.

A similar related gimmick are the "buy N, save $M deals." If you buy any ten of a pool of random items, they knock off $10 from the order, but if you only need 9, or 1, you're paying full price.

There's definitely been a swing from "everyday low prices" to "gimmicks and games." Everyday low price became "3-day sale" became "only with club card" became "only if you install our terrible app and explicitly select you want the promotion ADDED to your club card."

I think the ultimate goal is to get where they can advertise aggressive discounts, knowing they don't have to give them to anyone but the people most willing to jump through hoops to get them.
> economic theory says protectionism makes the pie smaller for everyone

This theory is really lacking when it comes to modeling the effects of real world protectionism.

Imagine a country A, with all the natural resources, a country B, with a well developed pharma industry, and a country C, hosting an industrial sector.

Without protectionism, the pie might be large, but most of it is allocated to country B and C. Country A ends up with depleted natural resources, no factories, and a trade deficit which denies them access to drugs and industrial goods.

With protectionism, country A can manage their trade deficit, which allows them to bootstrap the industry it direly needs as soon as all their natural resources have been mined and exported.
Have you ever had a device responding to ping that documentation says runs an old version of Windows NT, while the last version was released 10 years ago, and you have no idea where the machine is physically located?

I could imagine a lot of businesses will open a closet to find the source of that infernal beeping, and discover a computer they forgot about.
Agreed. I find C# and F# surprisingly refreshing. ReasonML is a bit unfinished, but it's a sign of great things to come.
Synthetic gene injected into back of eye in bid to halt macular degeneration
Don’t know why you’re getting downvoted, your comment is spot on. Governments can’t be trusted with money, the incentive to cheat is too great.
>>I try to keep this in mind when I'm working. I must admit I'm not very good at avoiding that disease.

It is a disease in the same way that a painter or writer has a disease where he cannot stop painting or writing.

Frankly, I think those that have it should count themselves among the lucky ones.
Emoji are showing up in court cases exponentially, and courts aren’t prepared
I think he was being facetious. :-)
Most store brand suppliers a.k.a. private label co-packers (Cott,Ralcorp,etc.) also have their own (lesser-known) brands that they distribute to ultra-price-sensitive retail channels that don't want to incur the overhead of developing their own brand packaging or don't have the resources. These are called white-label products, though most of the time they don't actually have white-labels. This terminology actually carries over into the software world, as well, where companies will brand their generic software for your business to resell.

Source: Former subscriber to the trade magazine PLBuyer.
> I think Go should be comfortable not being suitable for writing certain classes of programs. I don’t think programming languages should compete with each other in an attempt to become the perfect solution to every problem. This is impossible, and attempts will just create a messy kitchen sink that solves every problem poorly.

is a quote from the article, and seems to say exactly what you're saying?
> do you want cryptocurrency to succeed if you knew that you could not profit from it doing so?

If the cryptocurrency was at least somewhat open and efficient, then I would be extremely happy. If it was more like a payment layer that only a few large banks could use, I would be still be happy, but much less so.
> engineers are often left holding the bag when other participants of the process leave out important details

That sounds like a process problem and not an engineering problem. If I've been given requirements, I'm going to trust that my project managers and stakeholders have done the due diligence to understand their request.

Also you've got to realize that different developers tackle issues in different ways. Not every engineer is going to be super talkative while they're in the mud trying to get something to work until they've hit a wall that they don't feel like they have enough information to overcome. I think expecting an engineer to sit there and talk through every aspect of their reasoning WHILE working is fundamentally counter to the way that most engineers perform their day-to-day jobs.
It feels very much like that to me which is why it’s strange there isn’t a Kaplan equivalent.

There’s interview cake and leetcode, but I think people would pay $2k for a class that focuses on the questions and in person whiteboard practice.

They could collect information about the interviews at the major companies and then use those to create the program. For payment could also help candidates negotiate and then take a cut of the signing bonus.

If this isn’t part of lambda school already I think it should be.

I already work at a competitive tech company, but I’d sign up for this in a second to help me stay competitive for interviews.
Facebook is a law-breaking “digital gangster,” UK government report says
Its different and it a poor lang. The only people advocating for css only are privacy freaks. They're often the least return producing customers, hence ignored.
> This did not make them better engineers at all.

How do you know?

I understand that FANG have themselves come to the conclusion that brain teasers are not necessarily very predictive for engineering performance.

But CS/programming questions for CS/programming roles? That seems sensible.

You can study lots of vocabulary to achieve better results on the verbal section of the GRE or similar tests. But afterwards, you will, in fact, have better vocabulary, I submit.

I am surprised that you categorically deny that they were better engineers after studying CS/programming questions.
There's a ton of modern games that don't do this.

Most of the top games your find on metacritic for Switch, PS4, PC and Xbox One don't do that.

For example games like Breath of the Wild, Witcher 3, and Read Dead Redemption 2 are complete games without the catch you are talking about.
Looks pretty cool
And here's the problem. People don't agree what's hard/easy. If I ask you to find duplicate values in a nested data structure (arrays of arrays) ... that calls for recursion. I think that's easy.

So I'm curious how they define hard/easy.
> “The SV companies must have a good reason for this”

In fact, no, nobody has a good reason for it.
Found his work through 'DJ Food - The Aging Young Rebel (feat. Ken Nordine)' originally and especially Colors really got me in.
I use https://github.com/bemasher/rtlamr for tracking my electric and gas usage on a minute-by-minute basis.
I must be doing something wrong as I just get a blue screen with nothing to interact with. Is there a special handle to use ?
So you haven't -ever- been overly critical or tried to show off? Because your comment made it sound like you have improved over time and feel less of a need to improve yourself now.
I think you could also compact them loosely into a sort of aggregate and fill gabions with it
You want the production to kick off? There's nothing wrong with just airing the game, I don't need commercials and interspersed ads and huge breaks and player backstories and all this other fluff that comes with "production values". I like how technical the casters are now and not catering their commentary to lowest common denominator viewers, so someone who plays the game can actually learn something interesting. Besides, "production values" are literally just resource sinks anyway.
>Just fire the bad ones

Who and what decides what a bad software engineer is (note this is very different than deciding who is a good)? Is it a manager? Managers are single people so shouldn't be the sole deciding point. So you need to gather feedback, aggregate it and decide what constitutes bad. Then have that feedback reviewed by independent people to ensure that no one is being unfair. That takes time and bureaucracy.
I didn't claim it was a bug. I was trying to make the point that all the tree huggers that scream bloody murder because of Bitcoin mining costs never look at the actual environmental cost of existing systems.
I'm pretty sure it will fail NULL if overcommit is disabled.

(And apparently other conditions: https://stackoverflow.com/questions/2248995/is-there-a-need-... )
The rate of technological improvement in video games has also slowed down (i.e, smaller increments in terms of graphics).

Graphics are a major part of a video game and the first thing most people notice. With a slow down here it seems inevitable that there will be a slow down across the industry.
I've been in technical positions in the UK and Hong Kong, and in both cases the interviews were very technical. Hours and hours of technical assessment and questions.
Confused about this response. The person it's responding to says Activision is doubling down on development by saving money in non-development. That's sounds like the opposite of "doubling down on hitting the numbers" and more like putting the money in the correct place, R&D, while saving it in others.
Understood. I’m speculating that, due to the importance of packaging in the physical world, that it will remain relatively uncommon in the online world, but that’s pure speculation.
Someone do this with teeth.
There's a problem here. The only thing that Triplebyte can claim based on their data is that easier programming questions are more predictive of performance among candidates who received an offer. Since candidates who get offers are (in theory) different from candidates who don't get offers, we can't necessarily generalize from one population to the other.

There's also a question about how to mix question difficulty. Should you ask nothing but easy questions, or is it good to throw in a harder question or two to see how the candidate reacts to something they can't answer? I can see a good interviewer getting a lot of signal out of that, but in the hands of a bad interviewer it would not work well.
A humble alternative to technical interviews
A Pirate's Take on Command vs. Leadership
There are crypto currencies with built in inflation.
Am I misinterpreting something? In my app that uses CSS-in-JS, if I go to the "Elements" tab of my browser developer tools and select an element, I have the option to inspect, add, remove and change styles — including using the color picker and bézier curve editor — and have it reflected live on the page.
Why more international tech talent is going to Canada
This is the goal of Web Components / Shadow DOM.

Angular implements a polyfill for this. Every angular component has 3 files html, ts, (s)css, and the styles in the components css file are automatically scoped to just the component they apply to. It takes away all the stress of global css selectors, and if you want to share styles you can just have a library of shared styles and import them via scss. It's honestly heavenly and I haven't thought about conflicting selectors in years.
Signs Your Product Has Outgrown Its UX: The Wrong Footwear
>I'm tired of dealing with people like this. It does not have to be this hard. Tech companies should fire more people just for being jerks.

The problem is that the traits that make someone a 'jerk' are often the same traits that make a '10x developer'.
Prove it, show me the world where we had a stable monetary supply that resulted in people having no incentive to invest in anything — where’s the experiment?

Again, you HAVE to spend money to live (otherwise you die). It’s impossible to live without food and water, most people want to live in a house, most people want entertainment, etc. None of those things can be had without spending money.

Also, if your argument is correct, why don’t people put 100% of their money into the stock market (which reliably goes up over long periods of time) and instead choose to spend it?
>testing whether someone is willing to prepare for a thing is a relevant work skill test too.

Is it, though? I could understand if algo questions had some relation to the work you're doing, but your comment on why they're good is independent of the actual material. If we replaced the algorithm question interview with an interview testing obscure presidential facts, would it really be a useful test to have devs take? I guess it is a relevant work skill test in that you get people willing to put the work in/game the system, but it doesn't seem to be much of (if at all) an improvement from ad hoc conversations.
I’ve had to go through code reviews (as a freelancer) conducted by people who clearly were angry people and who had no (current) development experience. Their job titles were Technical Design Architects and part of their job was to make sure outsiders weren’t polluting their companies code base.

When I’d justify my decisions they’d go Google and always manage to find a counter point. But their having to Google it made it obvious they lacked deep understanding of much of anything.

There was one guy who was particularly notorious for being harsh and awkward to work with. I found this to be true but he was also the only guy who seemed to understand concepts so I was able to work him (to everyone’s surprise!)

I saw many other developers frequently get a bruising but I always managed to take a step back and focus around the real problem - the people in charge were just angry.
Inforgraphic on Zomato outlets
This resonates strongly with me. I know a few engineers who are bad to mediocre software developers, but excellent interviewees. That skill alone lands them offers at any place they want to work. They can whiteboard algorithms like there is no tomorrow, but they can't manage software complexity.