skysight-inc/HackerNews huggingface dataset:
> Reduce already is a map and filter and one, why do you need to loop it 3 times?

Because being explicit about intent is important. Map means "transforming each element of the collection", filter means "keeping only some elements of the collection". With both, you only have to write what happens to one element, and it will happen to the whole collection. This makes code easier to read. You don't have to spend energy to understand if the loop is only a transformation, or also filtering. Since you chain them, you can easily isolate each transformation, which makes code easier to read and easier to test.

> Reduce itself is awful to begin with.

I don't really understand what's supposed to be awful about reduce. It's just another form of for loop. I don't see people arguing that for loops are awful. The thread you linked is just someone that's biased against reduce for some reason that I don't quite understand. Reduce makes explicit that when using a for loop and accumulating a result, you need both a base case, and what to do when going from n to n+1. Again, this allows you to isolate the "going from n to n+1" part easily. Recursion itself is great for some problems.
Well, first of all it is early march and the sun is at an too low angle.

Secondly I working from home for over 2 years now, and during most months of the year it is already dark outside when I am done with work.

Thirdly, I already have symptoms which correlate to a deficit, so the doctor not even wanting to look into it baffled me. And well, I never managed to talk to a doctor with my actual test results, but from looking at papers/official resources, 4ng/ml seems to be extremely low as a vitamin d level.

Well in the end I obviously don't know if those symptoms are the result of my vitamin d deficit, but time will tell.
For me the analogy falls flat, as the cuban missile crisis is a response to something the US did, and the invasion of Ukraine is a response to something that Ukraine did (and not NATO)

NATO did not court Ukraine, instead Ukraine wishes to be a member, the current invasion to prevent it being so ironically a case in point. Finland is now considering joining as well, as a response to Russias agression.

It is clear that Russia does not think to invade Finland as well, as it does not consider it to be a part of its old empire, but it does Ukraine.

So in this case it is the sovereignty of a country that is being challenged, as Russia is trying to strongarm countries into backing off from joining NATO. It is not threatening NATO directly. That is a big difference with the Cuban missile crisis.

In the Cuban missile crisis it is very clear that both sides were pointing arms at each other and coercing members of their respective alliances to comply. Here a potential member is invaded. Korea, Vietnam or even the colonisation if Africa would make more sense as an analogy, of power blocs deciding what a country belongs to.
In the US the term "gas prices" will virtually always refer to gasoline. Heating gas we call "natural gas".
Almost the entire article is talking about commuter distances & times. Natural gas used as a vehicle fuel is exceedingly rare in the US.
If we take this seriously, doesn't it come down to something close to "might makes right"? In other words, if a country can't defend itself it doesn't deserve to exist.
It's an entire economy. When someone else buys a Tesla, oil demand is rendered less inelastic. This also primes the market so that more EVs get sold, including cheaper ones, and eventually used EVs become available at a much lower price.

You can get a used Nissan Leaf for <$10K now in good condition with enough range for most commuter needs, and those things are super reliable and require virtually no maintenance.

I guess we should not do anything if it can't immediately be made affordable to everyone in the very first generation. So we should never have done ocean travel, air travel, non-emergency medicine, higher education, personal computers, ...

Everything is always expensive when it's new.
It used to be edm, then trap music.

But now I exclusively listen to Amapiano if I am coding (mostly TxC djs)
Extortion is still a violation of sovereignty. No, I think the world is correct in deciding to vote Russia off the island.
TL;DR: A minimum score of 1 messes with their formula. OP should consider changing it.

Looking at the page's <script>, I think it's because they set the minimum score to 1 rather than 0.

In addition, for three of the questions, a high score is seen as a negative rather than a positive (e.g. a high score in "development effort" likely means "a lot of effort"), so behind the hood they invert those scores by doing (10 - score).

The problem is then that positive questions have a range from 1 to 10, and negative questions have a range from 0 to 9, and the means you have a minimum score of 3 and a max of 57, rather than 0 and 60.

For a more flowery answer: A developer never deals in absolutes :)
The goto place is the Nielsen Norman Group¹. You can get any of their books, it will describe how to do tests. It's basically catch up to 5 users from your target audience, ask them to do the tasks you want, observe without saying a word, and don't ever come out with any variation of "users are stupid" explanation because even if they are, they are the ones you are creating the software for; fix your software, and repeat.

But if you want details about why those large "record the user" sessions aren't worth it, you'll have to dig into their papers.

1 - https://www.nngroup.com/
I've personally found bugs in unpopular kernel APIs. I spent days thinking it was my code until I went and read the Linux implementation.
I know this is sarcasm but for those people with big pickup trucks (I should say vanity trucks, not real work machines), you’re looking at 26 gallon tanks @ 4.20/gallon. If they’re doing that once a week (conservatively) plus a presumably large truck payment, they could more than pay for a Tesla all other things aside. I personally lease a Kona Electric which after rebates and incentives costs me ~$350 a month
It seems your monkey brain is not very happy.
LOL. Simple projects like this are a dime a dozen. There's no money to be made here.
There already is, and has been since the 90s. It's called a sting operation. They catch a hacker, tell him he now works for a TLA for X years in return for the charges going away at that time. In my limited experience, by the time the Xth year rolls around the guy is liking the money and normalcy, and knows he's going to be watched like a hawk for the rest of his life.

If you are talking about a widespread draft, it wouldn't work I think, because hacking a system is as much an art as dance, and is a kind of improv dance. You can learn to be an ok hacker, especially if you ride on the wings of great tools, but to be a great hacker takes a born talent for the perception of patterns and how they react, kind of what Gibson called nodal thinking.

You'd be better off finding people like that at as young an age as possible and inducing them in every positive way possible to come work in cyber. An example of one possible inducement is the NSA's NCAE-C program[1].

[1] https://www.nsa.gov/Academics/Centers-of-Academic-Excellence...
There's no question that discrimination against Ukrainian refugees of non-European origin is reprehensible. The trouble is keeping a sense of the scale of this injustice compared to the scale of the invasion. Failing to give aid to African and South Asian university students trying to flee the war is bad. Vladimir Putin's media outlets would have us believe that since there is some good and some bad on both sides, therefore we should take no side in this war.

No society or people on Earth are perfect. Don't let them convince you that this means you should never take a stand.
Given that Russia deployed Wagner Group in Ukraine, whose founder has SS tattoos on his neck, why unsubstantiated statements from Russia are to be believed?
Some people avoid taking a holiday or business trip to India, because they don't like the constant harassment from street traders, the expectation to barter and bargain for everything, the ever-present concern that they're either overpaying or being ripped off.

Some of these people also avoid travelling to the USA (and Canada) for similar reasons. Am I supposed to tip for this? Is this a $1 tip, or $5, or 15%? But the card terminal is giving a choice of only 20% or 25%... and is it better to leave cash anyway?

(I'm sure you could explain every situation, just like an Indian can explain all the situations in India.)
Cloudflare, CrowdStrike, Ping Identity Launch Critical Infrastructure Defense
Someone else chooses to reply to a simple question with something other than an answer to that question... one wonders why? Who benefits?
Firstly, as you can see from many replies here, this being HN some people think hardware startups are companies that put software on computers and sell the computers (e.g. developing a raspberry pi based tool for something). Let's call this hardware-lite.

It's obviously a bit of a 'spectrum', but I'd say a 'real' hardware startup would be one that develops new hardware, like Tesla, General Fusion, a robotics company, etc - really anything where the innovation is in the hardware, and if software is developed (usually will be) then it sits on top of that novel hardware. Let's call this case 'hardware-heavy'.

In the hardware-lite case, you're basically starting a software company that needs to set up a supply chain for a few parts, built by others, which provides the most cost-effective platform for your software to run on. You might then package that up, brand it, and sell it. This can be relatively capital nonintensive.

In the hardware-heavy case, you'll probably need quite a lot of capital. This will be needed for you to patent your invention(s), prototype your devices repeatedly until you've arrived at something commercially viable, set up a small batch manufacturing process to produce small volumes of prototypes. With hardware, when you ship something anyone can take it apart and reverse engineer it. Every time you replicate your product, it takes time and money - unlike software.

Tons of commenters here will be able to give you excellent advice about the hardware-lite model, because this is HN. I suspect there is less experience of hardware-heavy business models here.

Which fits your vision?
There are multiple better solutions to that:

- Use a 2FA app with sync like Authy (even Google Authenticator has basic backup/export support nowadays, but it's still far too easy to lose your codes with it)

- Use a password manager with 2FA support like KeePassXC/1Password/Bitwarden

- Use a YubiKey (ideally have two in case you lose it)
May be it is a reasonable option for Ukraine to accept terms to stop the immediate carnage.

Especially since support from west has been indirect and at a distance. West seems not to want "skin in the game" in Ukraine.

Perhaps if terms are accepted it will make Ukraine another Belarus. That might be better than becoming like Syria or Afghanistan.
Great, now any discussion on what Russia's motivations are in this war are the same as "literally justifying the Russian aggression"
Of course not, I'm not some authoritarian totalist. It was a small piece of land not critical to Ukraine as a whole. I don't think it was the right move for Ukraine to make.
When Russia sends SMS messages and drops pamphlets and duds to let civilians know to evacuate targeted buildings, then it could be said that Russia is "bombing civilians like Israel". Ever wonder how the Gazans have so much HD video of buildings being destroyed?

That said, yes, Israel has been made a pariah and now the same is becoming of Russia. So it's the "Facebook for Foo" phenomenon of associating "this new thing" with "that thing you've been told all along".
i wonder how often Economists are right, and never tried to measure it.
> But I think that Russian and US military policy sometimes is similar. Let's take Syria as an example. Syria had good relations with Russia and as a trustworthy and reliable ally allowed to build a Russian base there. I guess that US didn't like the idea of having a foreign military base in the Middle East so they supported the opposition trying to overthrow the government. And Russia didn't like the idea of losing a base and a good ally so they supported the government.
> Am I wrong here? It looks like nobody really cared about Syrian people and that's what's similar in US and Russia foreign policy. Wars are usually waged for land or for power, not to protect someone's liberties.

It's a bit more complicated than just “nobody really cared” — the U.S. was already bogged down in two wars of choice with no end in sight so a third one was going to be a very hard sell. The U.S. did provide aid to some groups and actively attacked ISIL but the latter was the primary combat goal because there was no interest in occupying Syria and accepting the massive requirements in personnel and casualties that would require.

That's one of the key differences with the current situation in the Ukraine: Russia has made it clear that their goal is to rebuild the historic empire and are willing to accept large death counts to do so.
This is from BUSINESS INSIDER:

https://www.businessinsider.com/corporations-using-inflation...

"Corporations are using the excuse of inflation to raise prices and make fatter profits," he said.
Yes. We might have been siblings in another life :)
Something very close to my heart.

Here's an old but related site / campaign with lots of links too: https://www.turnmeup.org/
This can still cause signed overflow if left is close enough to INT_MAX and right is close enough to INT_MIN.

The actual overflow-less way to compute the average of two numbers is:

(a/2) + (b/2) + (((a%2) + (b%2))/2)
Hey everyone, Jakob here the creator. As a bootstrapped founder, I'm always looking for emerging trends since I definitely don't have the budget to create demand from scratch. So I built Under the Radar, a simple tool that automatically surfaces interesting new trends.

The raw input comes from hundreds of sources. For example, niche communities like certain subreddits and Hacker News are famous for recognizing trends long before they hit the mainstream. Similarly there are hundreds of awesome newsletters that cover specific niches and do a great job helping their readers stay ahead of the curve. But it's an extremely time-consuming task to keep up with all the chatter. So I wrote a script that automatically parses the conversations going on and extracts the most interesting keywords. These keywords are then enriched using data from Google Trends and the Google Keyword Planner. All rapidly growing keywords then end up in the database (Google Sheets!) where they're manually checked. Curated trends are shown on the site, together with a short explanation.

The backend and frontend code is all written in Python. For the frontend I'm using Flask.

Let me know if you have any questions, and any feedback is much appreciated!
I am agree
By building islands in waters claimed by the Philippines? By purchasing chips from Taiwan?

The last affray I heard of Chinese troops engaged in was with India. Is India then part of the West?
NATO was much more focused on China as a potential future enemy though. Until Putin put himself back on the map as an agressor most EU countries were spending as little on defense as they could get away with. I feel this is more of a self-fulfilling prophecy.

No wonder China is gleefully standing by. They're just biding their time. When 2 dogs fight over a bone...
Orca Mobility | Various Robotic Engineers | Palo Alto, CA / London, UK | Full-Time | Onsite or Remote | https://orcamobility.ai/ | https://jobs.lever.co/orcamobility

We are a recently founded stealth startup founded by veterans of robotics industry working on a new category of product based on a different approach to self-driving. It does not require years of R&D and we are shipping it to our customers early next year. We just raised $XX M seed round and are looking for founding members to join our team in US and Europe.

You will be in great company.
We are founded by serial entrepreneurs and industry experts with decades of research and experience across robotics, software and AI. We led cutting-edge robotics & autonomous driving products at Lyft, Google, Zoox, Toyota, Facebook, Microsoft, Stanford, Oxford and Cornell.

Come and join us.
We know what it takes to turn bleeding-edge ideas into reality - hire world-class talent and create an environment where people can flourish. We pledge to make sure you have everything you need so you can love your work and truly make a difference to the world.

We are looking for:
- Video Streaming Engineer (Gstreamer / ffmpeg, h264, WebRTC)

- Software Integration Engineer (Drivers for sensors (GNSS, Lidar etc), C++, network protocols)

- Dev infrastructure Engineer (Devops, cloud + build infra, CI/CD, Docker)

- Robotic Platform Engineer (Middleware, pub-sub, ZeroMQ, C++)

- Embedded Engineer

- Generalist SWE (C++, full-stack)

- Fleet Ops specialist

- Business Development & Partnerships lead

- People Ops Generalist (HR, people operations)

If you are someone who enjoys building new things and want to hear more please consider applying to join our team in Palo Alto, CA or London, UK (remote positions also welcomed) please reach out - https://jobs.lever.co/orcamobility | jobs@orcamobility.ai
Is any of it inaccurate?

NY and CA have lifted all Covid restrictions despite having 2000 deaths a day which a higher rate than most of the pandemic.

Clearly vaccines aren't having as great an impact as expected and hospitals are not overflowing.

They're doing what FL and TX have been doing all along.
I’d claim inflation responsibility is on both sides. I forget the number off the top of my head, but a rather large proportion of the price increased were collected as profits. Given that a number of industries are dominated by a handful of large conglomerates, the incentive to price products competitively seems rather low.

However, this is also correlated and reinforced with the actions of the federal reserve for a number of reasons.....
When Is a Pandemic ‘Over’?
> Pro tip for language designers: require all fields to be initialized any time an object is created.

This proposal sounds great until you find out that this is a hard problem to solve reasonably well in the compiler and no matter what you do there will be valid programs that your compiler will reject.
Needs (2021) in the title.
Sidekick: Live Application Debugger
How to set up visual regression testing
Dallasite sells toilet paper NFTs as a joke, then wipes out $7M in medical debt
the idea is that the EV market will continue to slide towards entry price. the used EVs market should follow suit, so, those poor people would also have the choice to replace their fossil fuel vehicle with an EV to avoid being at the mercy of oil prices.

not that I think the theoretical reasoning will work, but it is at least plausible, and not only for consumer vehicles.
> owners with their 2.75% mortgages aren't going to be inclined to sell.

Or able to sell.

This is the other side of historically low rates pushing home prices up by allowing people to pay higher prices while keeping their mortgage payment affordable. If (when?) rates go back up, that may cause prices to fall. This could also put people underwater on their homes, and even trigger another (hopefully smaller?) wave of foreclosures if they suddenly can't make payments anymore and also can't sell the house at a price that will cover the remaining balance of their home loan.
No soldier is a commodity. Every soldier is a life, and someone's son or daughter. Each also costs millions to train.

Some MOSs are scarcer though. Cyber is in a sense a form of special operations because it requires elite uncommon skills applied in war through unconventional means requiring exceptional enabling personnel and tools.
Meanwhile Amazon still sends me an email and a text message every time I log in to a new device on an account with TOTP 2FA enabled. At least those don't require any action from me, but it's still annoying.
Well depending on the need a imported https://insideevs.com/features/459206/citroen-ami-review-dri... could serve many niches in suburbia and the city.
I don't have a basis for how long this might take. As the author mentions "All bugs become shallow once they can be reproduced.", but only after spending probably the largest amount of time waiting for new incident reports to come in, and then analyzing the reports (e.g. to determine most incidents occurred on the last day of the month), and hours staring at application and kernel code. It's very impressive, but certainly the largest amount of time in the 10 month duration was not actually debugging. The "moment of extraordinary clarity" probably sprung out of years of experience.
Define "fairly". Mill towns were developed around manufacturing facilities. If you wanted to work in manufacturing, you had to follow a facility.

There's also something to be learned from the past. Manufacturing destroyed the goods-producing artisan/mechanic/craftsmen industry.
The subhead presents the intractibilty of discussions with these advocates;

>Unfounded fears about nuclear technology may be undercutting the fight against climate change.

*Unfounded* is not the word I would use to describe fears of massively proliferating reactors across the globe. Advocates simply don't accept that the known problems are worth discussing.
This.

And related cause: A&R people listening to xyz's new album and judging it sounds "huge" / "phat" / "modern"... when actually it's just a bit louder than the other guys, but nobody's adjusting volumes between demos...
Sorry. I should have clarified maybe.

When I say “was not worth it” I am implying that it was not worth it for me.

That I often didn’t enable flash even if I did enjoy some of the things flash provided.

I still firmly believe that we have much less energy consumptive software since flash died, I recently brought back some old /f/ content from 4chan and ran a flash emulator written in rust and it crippled my laptop, so it hasn’t improved a whole lot.

I hated it so much and it was so forced upon me that I am finding it extremely hard to have sympathy for you.
I wouldn't be surprised if Putin's troops undermine all routes to the west to have the refugees as human shields on their tank and supply routes to the east...
> for the most part people are buying homes that they can pay the mortgage on

The question is can they still pay the mortgage if cost of living goes up significantly (like it appears to be)
Putin has a 70% approval rating in the same way Stalin had near 100%.
I mean, the .su TLD for Soviet Union domains is still active. Revoking .ru would probably have an ironic unintended consequence of Russian websites moving to it.
what I noticed were reports against discrimination against South Asians (India was very vocal). It needs to be mentioned that India has not yet condemned Russia for the invasion and plays itself neutral. They are also the "I" in BRIC and therefore must be seen on the side of Russia until they make it perfectly clear. I'm not surprised that they aren't treated with silk-gloves by Ukraine (student or worker or whatever reason they're there for). It's India's responsibility to set the record straight so that UA knows if the people still in the country will be targeted back home for intel that can help Russia. It's reckless from the Modi government to throw them under the bus in this manner, but it's not unexpected.
Let me know when you see a Nazi item on Antiques Roadshow, and its banned on EBay.
Allies literally force wrote the neutrality clause on to the Austrian constitution after the second world war. Till date Austria is prevented from being a NATO member due to that clause.
If he isn't we're all dead anyway.
Defaulting just means you have not made required payments for a certain period of time (270 days for student loans), so anyone can default.