skysight-inc/HackerNews huggingface dataset:
I'll share what we've transitioned to recently: a testing focused interview!

We provide a candidate a piece of production code with some slight tweaks made that will break it in (common) edge cases. Further, we give a test harness that already supplies some basic tests for which it will work. What we're looking for is to see if the candidate can grok the provided code (< 30 lines for a 2hr interview) and reason through ways it could break. Writing the tests insures that the candidate can _actually_ write the code and shows any areas they might be less focused on or miss.

Compared to our old procedure of writing the (provided) code snippet this has been a far more successful approach. In 2 hours I learn more about an applicant than through the entirety of the previous process. An added benefit: this workflow is representative of real work - you'll need to track down code you likely didn't write and implement new functionality, or fix something that's broken. Doing this in an interview is a near direct translation to the job (minus understanding the whole codebase).

I'd strongly recommend this unit testing based process and it can definitely be tweaked to fit your own scenario!
I think it's insane not to consider that we're getting too comfortable as a society. According to Nielsen, the average adult spends over 11 hours a day consuming media. I imagine a lot of it is passive, but that nevertheless must have an impact on our productivity.

https://www.nielsen.com/us/en/insights/article/2018/time-fli...
Slighly off-topic, when you think about it, offices are such a waste of space. I'd really like to rent of buy an office and actually live there, because it's so quiet by night since there are very little neighborhood
Ropping to victory would have been impossible if Nintendo didn’t constantly cut corners and implemented stack canaries like they should have.
You got a source for that? Voting intentions strongly suggest that it is the “older generation” that is doing, and if not doing actively supporting, the destruction of the biosphere.
I live in NYC and it's also down for me. Got disconnected from a discord server, sent a message via Facebook to my group and only the other people in NYC are having issues. Members in Florida and California are still in the server and didn't notice any issues aside from us leaving the channel.
If one in 20 billion signals is transmitting a message in an encoding we don’t understand, on a time scale potentially completely different from our own.... I’m not confident.
I use my NAS.

I have tried Google, Apple, Flickr, 500px, Amazon, Dropbox; they all have their pros and cons, but basically you end up with all the compromises of a cloud service.

I use an app called PhotoSync on my iPhone to sync to my NAS via SMB; it's scheduled to sync anything new each night.

Most NAS systems have a built-in photo application. They're pretty awful, honestly. That's the biggest weak point of this setup. I haven't yet found a good (ie. competitive with Google Photos) self-hosted thing.
Decade = 10 years.
If that's the case eventually every leetcode question will be banned and the problem will have resolved itself.
This comment is indistinguishable from sarcasm.
The U.S. is the exception, not the rule. We have a global, neoliberal economy. We don't need skilled americans. What we need is more useless watchamacallits! Would you like to buy some bottled water? It comes from a spring, I promise!

Or maybe another smart phone? Probably been awhile since you bought one of those. Why not buy one again?
Those directly involved in innovation, especially scientists and technicians, are more and more traveling, changing employers and above all communicating, in all relevant meaning of this term here, therefore by 'publishing' as well as by leaving information circulate informally among peers.

A high proportion of scientists go through major US universities. This imbues them with certain ideas and creates social (IRL) networks where 'information ought to be free'. Those who then work elsewhere (let's say 'return to China') just cannot completely drop them, and some even broadcast those ideas and associated behaviors.

Moreover the US supremacy on software provides them with increasing means to effectively spy on research conducted in all countries.

Consequently, the US ability to benefit from innovation payed for by other nations keeps growing.

In a way it is similar to the 80's "Strategic Defense Initiative" against the USSR ('let them dissipate resources'), with the added bonus of being able to rack a fair part of the benefits up.
Elected officials from both parties have failed us. Yes the Republicans have made it painfully obvious just how little they care about the goals of the American experiment these last 4 years, but the Democratic party isn't fundamentally any better.

The founders set the entire western world down the path of a bastardization of a republic and a representative democracy out of fear that voters are stupid. That choice has inherent risk that leaders will be corrupted and that those elected will move further away from what is in the public's best interests. The founders simply believed that this wouldn't arise, that the system could correct course and weed out the bad actors.

All the Republicans have done since 2016 is shown how that belief fails. We don't have a true democracy, and what semblance of one had been chipped away at for years. The Republican Party of old wasn't wrong in wanting small government, the best way to keep corruption out of a representative system is to keep power out of those representatives' hands. They simply joined the Democratic Party on the side of big government and massive budgetary spending with a different target audience (big business and banks rather than citizens).

The Democratic Party can't be ignored though. They have made a career of spending money they don't have and creating social programs that aren't sustainable and can't properly be defined on the scale of 300M+ citizens. Their solution for any problem is more control and more intricate rules, but that just leads to a less resilient system that is more dependant on the idea of leadership having every answer and solution.
The recently released Stockfish 12 with neural network evaluation seems to be the clear winner, combining the best of both worlds and handily beating classical Stockfish 11 and LC0 (which were pretty evenly matched on typical hardware).
I wish my previous SF apartment had obnoxious chemical detectors. Smells and smokes and chemicals don't just stay in one apartment, and the management couldn't track down their source, despite being strong enough to cause health problems for others.

The war on drugs is total BS, but so is trashing a place and sickening neighbors just for your own selfish high. There are ways to do things that are respectful of others.
So you want to use a solar sail to move something closer to the Sun?
That parses a subset and is only guaranteed to be compatible with Python’s “.toisoformat()”. (I imagine it would be backwards compatible to expand it to cover all of ISO8601 and I can’t tell why they haven’t.)
I actually think rent going down in sf will open up a lot of opportunities that wasn’t possible due to cost.

So much culture left sf to Oakland due to cost. As SF rent gets cheaper, I suspect we’ll see art, food, and activism jobs come back.
I agree with what you said, but there is a reason for wanting to converge on ARM.

There exists no good alternative.

ARMv8.2 or newer is a very well designed ISA, while RISC-V is a very bad ISA and I would hate to be forced to use it.

OpenPOWER is a far better ISA than RISC-V, but unfortunately most developers do not have any experience with POWER and they have the wrong belief that POWER is some antique ISA while RISC-V must be some modern fashionable ISA. Therefore even if OpenPOWER is much better, it is less likely than RISC-V to be used as a replacement for ARM.

I and probably thousands of other engineers could design a much better ISA than RISC-V in a week of work, but no one of the creators of those thousands of new ISA variants would be able to convince all the other people to choose his/her variant over the others and start the significant amount of work needed for porting all the required software tools, e.g. LLVM and gcc.

So, if ARM would no longer be an acceptable choice, I do not see any hope that its replacement would not be greatly inferior.
How many new embedded projects are picking non-C languages currently? I'm no fan, but C is a long way from dead.
The answer I've always heard: because recycling facilities can't trust regular people to sort their trash right (and for good reason), so it gets dumped into one pile on the truck and then resorted properly at the facility.

Regardless whether that's the reason, I think making people sort their trash is dumb anyway, and the more requirements you give (sort into 7 piles, must be clean of grease, etc.) the dumber it gets. The effort discourages a good chunk of the population, while the rest end up wasting so much water inefficiently washing their trash in their sinks.
A "copy" for copyright law must be "fixed" in a tangible medium: the brain doesn't count.

The "copies to RAM count as copies" cases have been around for a while and are on pretty solid footing, but there's some uncertainty in the area.
...only because other folks implicitly look down on me
Show HN: Pooductivity – An extension to replace productivity with the poo emoji
Hey HN,

I got pretty annoyed with the massive influx of productivity YouTubers and Medium morning routing gurus so I built this (admittedlly immature) extension to have some fun!

Inspired by this comment: https://news.ycombinator.com/item?id=24419565

Some of these examples are a lot funnier than expected: https://imgur.com/a/6A26MLe
Larry cancelled Makani meanwhile he lands his helicopter on his yacht?
Well, in the past it might have been an option go build more nuclear power plants, but today it isn't. And that is for a simple reason: no one can afford to build new nuclear power plants. Take France: France really depends on nuclear energy and have a fleet of aging plants. They needed to be replaced, but France is not able to do that. They have a single power plant in construction, but it is overrunning costs by far. They would have to replace over 50 plants, yet there are no plans doing so. So even France is exiting nuclear, when the aged plants have to be shut down. They are frightingly extending their life times, so I hoep the shutting down doesn't come by a "mishap" and makes southern Germany uninhabitable.
> People still complain about Netflix recommendations and they've spent tens of millions of dollars, possibly over a hundred million dollars, on it and are one of the most valuable companies on the planet with one of the best engineering teams on the planet.

This blog post talks about this exact subject: https://apenwarr.ca/log/20190201

> Why do people think algorithmic recommendations are easy? Or even desirable?

They're easier than you think, it's just most of them on major platforms are optimized to maximize your engagement with the platform, rather than your enjoyment of the content.
Vinyl record sales outpace CDs for the first time since the '80s
It could be four things:

- Comparing two statistical flukes.
- Socio-economic factor: Utah has better wealth distribution.
- Socio-economic factor: Utah has affordable housing and Baltimore so the effective wealth gap is lower.
- Baltimore has other issues.
RISC-V is pretty awesome as an ISA. Give it a few years and it can solve all of these problems.
The article and thread was talking about the US, which has the highest software salaries worldwide and where I was referring to for the 100k+ compensation.

While I don't know too much about the Australian market, positions all across the US are 100k+ entry level. Not just in a few select cities, but probably in almost every state. Like Nebraska, Texas, and Tennessee with median house prices just 2x that entry level compensation.[0][1][2]

[0]https://www.indeed.com/jobs?q=Software+Engineer+$100,000&l=O...

[1]https://www.indeed.com/jobs?q=Software+Engineer+$100,000&l=T...

[2]https://www.indeed.com/jobs?q=Software+Engineer+$100,000&l=T...
Extensive discussion a couple of months ago: https://news.ycombinator.com/item?id=23723775
Very well thought-out! We need more of this. Doesn't mean that all of your ideas are correct or don't make unnecessary assumptions, etc. But it shows a very clear thinking path that is easy to understand. You should write and publish more if you can!
Are there cases of a big corp actually using one of the weirder, but extremely permissive, licenses like WTFPL?
The "smile or die" mentality propagated by sites like FB, where you only have likes but no dislikes, is throwing half the information away. I think it stems from a misguided desire to avoid adversity.
I am in Serbia, where (in the last 50 years, since some devastatong earthquakes in 1970s) houses are usually "framed" with reinforced concrete (pillars, floor bases), and walls are usually done with red hollow bricks.

Drywall is commonly used for adaptations (esp of attic, or splitting off a room into two), and board producers also make steel frame parts (eg. https://www.knauf.co.uk/systems-and-products/systems/drywall... where you've also got mention of double plastering).

Doubling boards increases strength (eg. if you want to hang heavy stuff like bathroom sinks) and acoustic isolation, so if you are splitting off a bedroom, you might do it only on those walls.
For everyone saying "land wind turbines were cheaper".

Ok, but doesn't mekani have the advantage of being out of sight? Many people find wind farms unsightly.
For those of you who (like me) are curious to see what it’s like to have your product broken in ways unforeseen but people unimaginably motivated, check out the IGN speed run series - I love hearing every time the team watching a world-record speed run for the first time says, “whoa, how did that happen? Tim, didn’t you handle that kind of physics bug?!”

It’s absolutely gold: https://youtu.be/2sGN3peODwY

It’s fantasy, but I’d love to see a “miyamoto-and-team watch five classic games be hyper-optimized speed-run“, although the distance may be too great. Part of what makes the ign series enjoyable is that the programmers have intimate knowledge of two worlds: the code, and the gameplay
Funny that he says that, Google is probably the lamest most un-visionary Corp ever...ok maybe second after Facebook. From a Product standpoint they invented Streetview that's it.
When you say "don't cheat" do you mean "are subject to the same physics as human drivers" or "don't engage in illegal overtakes / maneuvers"?
I think the concept of a “Zoom town” is important vs a “Zoom hamlet.” It’s a lot easier to work with a remote 50 person engineering team than 50 remote engineers, because you can just interface with the head of the group and his/her direct reports. So I think long term 2nd tier cities will get engineering hubs but the fully remote concept will remain niche.
> If there were intelligent like out there advertising it's presence, are we likely to detect it given the sheer quantity of sources?

Humans are pretty intelligent. Intelligent enough to ask that question, anyway.

So flip it around. If humans were to advertise our own presence to possible species living tens of billions of light years away, how would we go about doing it?

Sadly, even if they noticed and wrote back, our sun will have since burned out, our time in this universe long past.
GitHub semantic powers goto definition in GitHub IIRC. Here's why they use Haskell:

https://github.com/github/semantic/blob/master/docs/why-hask...
> Iraq war, where our intelligence agencies were sure about WMDs and the senate voted 97-0 to wage a war that ended up wasting thousands of American lives, trillions of dollars and hundreds of thousands of Iraqi lives along with destabilizing the entire region.

My impression is that the war was a solution in search of a problem. The administration leaned on the intelligence community until the right conclusion was produced.
Do you think there are good contenders to replace C? V seems like it could.
I hate when people use foo and bar. And then call them from within each other. Just make it easy to understand plz
I'd argue that many frame perfect moves used to setting up the memory is very much execution. Maybe a different kind of execution, but still very much skill based.
Leap seconds were introduced in 1972. The time_t that you are thinking of was invented somewhere around 1974, according to Unix historians.

Ironically, your kernel measures TAI time perfectly happily if unmolested, as that always ticks once for every SI second (ignoring oscillator drift). No slewing. No smearing. No stepping.
Actually in real science theory is first, observation comes later as a way to judge competing theories.

This is because all observations are theory-laden. They don’t tell you anything without a framework to interpret them in.
I am actually pretty curious to see a demo of features from you that backs up that RISC-V is bad and Open Power is much better.

What convinced me was how thin the RISC-V book[1] is, and I have seen both ARM and Intel reference manuals. For example the V extension removes need to specify data size, greatly reducing instructions needed.

I have no idea about Open Power btw.

[1] http://riscvbook.com/

P.S. I am hiring U.S. candidates for ARMv8, x86 roles: https://careers.vmware.com/main/jobs/R2009422?lang=en-us
>You made the claim. You prove it with documentation.

I... er, did?

>That is by definition NOT a MITM attack.

You're intercepting the packet and blocking it by being in the path.

>You just described a bastion host, and port knocking makes sense on those as well LOL. Wireguard only currently supports UDP, which can and had been a limitation in the past.

Bastion hosts are generally SSH/RDP/VNC type affairs. SSH in to the bastion and then you have access to the other servers. This is actually how I set things up in production environments - the VPN concentrator only allows access to the jumphosts, and then there's extensive logging and auditing there.

I'm not sure why Wireguard only supporting UDP would be a problem - you can pass whatever type of traffic inside of the tunnel.
Ask HN: Should I hire a corporate lawyer before signing a term sheet?
I know it is recommended to hire a lawyer to help with negotiations etc. before signing a term sheet, but is it essential? Especially if you are working with a well known VC firm/investor? How about a first time investor?
Rolled out!
Do you have any code examples of array languages being used for general purpose tasks? Clis, web applications, anything with lots of branching, games, etc?
I guess you should compare to non-identical twins. Who I think look like siblings who happen to be the same age. But no doubt someone somewhere has tried to quantify this.
“However, by the end of the 1960s, computers with led screens had become relatively mainstream.”

What? Sixties?

Anyway, I've read a lot of materials about readability and some authors provide very different recommendations. A lot of subjective opinions that are supported by questionable researches. Perception of text changes and you simply cannot use the same methods evaluating people from different generations or cultures.

In USSR for example all books for children MUST BE printed using sans-serif fonts because some “scientists” decided that serif fonts are harder to read for kids.
Search and Streetview is the only true Google-Product, everything else was copied or a buy from others.
As far as I can tell, the reason other countries haven't built anything like this is that it doesn't make sense from a grid engineering perspective, and the main benefit of building such a high-voltage high-capacity line is the propaganda one of being able to claim it's world leading. The big problem is that the grid needs to have enough redundancy to stay up if a single generator or transmission line fails, so the big high-capacity single transmission lines that China builds can't actually be used at close to their nominal capacity. It probably wouldn't even work as a propaganda stunt in countries with a free press; if the Trump administration built something like this, I just know the NYT headlines would be about how it was a useless Trumpian folly and showed the perils of his disdain for experts.
Because things that decompose quickly re-enter the "matter economy" of the ecosystem.

But GP isn't entirely correct. There's less problem with stuff that can remain unchanged (you can bury it and forget it, or use it as filler for construction, etc.). The problem is stuff that decomposes into toxic compounds, poisoning the ground and risking poisoning drinking water. And the other problem is stuff that gets shredded by UV rays over time into microscopic particles that then gets eaten by small fish/animal, and ends up being present in organisms all across the food chain. The particular case of the latter is microplastics, and AFAIK we aren't yet sure if they cause any concrete problems to living things, but it's probably still better to not have them in our bodies.

...and back to those things that don't decompose at all: it's a potential problem long-term, because we're just throwing away matter exponentially fast. You can imagine life in modern capitalist countries as one fat pipeline of: Raw resources => Factory => Brief use => Landfill. And that pipeline is pushing exponentially growing amount of matter through it. And then ask yourself, how is this a sane way of living? It's a machine that quite literally turns the surface of Earth into a pile of waste.
I would wager the percentage of embedded projects than are picking C has decreased in the past 10 years. I have no direct evidence of that, but I think it's a likely guess.
Because hierarchy is less visible.
It's just not the same... but I sometimes have fantasised a bit about doing it (and other variants, like taking trains).

Anyway I'd rather not use public transport right now. I don't think it's safe.
No, this is not a very good suggestion. gpg-me just wraps the gpg binary and relies on a lot of global state, environmental variables for example.

This makes the library really painful to use in multithreaded contexts, or when you need to have a controlled env. (like unit tests).

I use gpg-me in one of my projects, and it's very far from pleasant to use.
I wonder what else it is that we deem “impossible” but when we’re forced to make it happen overnight like remote work, we’ll find it’s totally doable... 20h workweeks? Sustainable energy and living?
Cars are dumb. There’s no better car than a 3-year-old used corolla/Prius/soul/fit/Mazda3/versa/civic/etc.

Any sort of electric car won’t touch these cars’ pure economic advantage for probably a decade if not longer or ever.

I don’t really care how good the buying experience is. The best buying experience is the one that doesn’t charge me more than $10,000-15,000 for a reliable form of transportation.

Funny how we didn’t even know who Lucid was until this week. Then again, I don’t have to know who they are to know who they are: an off-brand Tesla knock-off.

Electric cars are cool but they aren’t the solution to the mistake of automobile-based suburban-style development.
I would say the serious work was done before...you know the operating-system. Like with chrome..the serious work was made before...khtml.
I think such behaviour is ok, but that’s because I feel that is what it means to be socially invested. But I also recognize that for other countries this might seem restrictive or weird (as in why would you do that?)

In practice, and I currently live in a socially cohesive neighborhood, in practice it is just very laidback and it’s about helping eachother out and live and let live.
> Heck even apple will ask your DUNS number

That's a great example; after paying the annual $800 fee an LLC then has to go to a private entity, Dun & Bradstreet, to get a unique identifier...
Author here. Input and further discussion would be appreciated.
Out of curiosity, what was the software which you built?