skysight-inc/HackerNews huggingface dataset:
“the lack of pollution monitoring stations globally for air pollution underscores the importance of innovative approaches such as machine learning to estimate global surface-level daily PM2.5 concentrations accurately.”
There’s no safe place left on Earth to avoid deadly air pollution
> password validation (the annoying part that asks for capital letter, digit, special character? -- I want to see the author implement a parser to parse possible inputs to password field, while also giving helpful error messages s.a. "you forgot to use a digit").

This is what Applicative Functors were born to do. Here's a good article on it: https://www.baeldung.com/vavr-validation-api

Check the types:

public Validation<Seq<String>, User> validateUser(...)

Even though it's called "validation", it's still the approach the OP recommends.

It reads as "If you have a Seq of Strings, you might be able to construct a User, or get back validation errors instead".

Contrast this with the wrong way of doing things:

User user = new User(seqOfStrings);
user.validate();
Preposterous I say! Move along human - err - sir, nothing to worry about. Truly.
Friendster would kill LinkedIn, people told Reid H
"Look, you guys don’t have a future..."
Building a Code Archeology Toolbox Without Storing Your Code
No - I'm just stating the obvious - that this is how the industry has always worked.

Given how Meta has conducted itself in recent years - particularly its attempts to "pivot" - I don't see how anyone should be surprised by the multiple rounds of disgorgement it is putting itself through.
Haraldur Þorleifsson is the founder and CEO of Ueno which was acquired by Twitter a couple of years ago. Yesterday he was really publicly fired from Twitter after a bizarre exchange with Elon Musk.

The gist of it is that he had been locked out of his workstation for 9 days, and after failing to get a response from Twitter’s HR, he resorted to asking Elon on Twitter.

You can see the thread here: https://twitter.com/iamharaldur/status/1632843191773716481
> Databases are much more powerful than we think

And a function of what people think is attitudes towards working at the DB level. I see this often with ORM's in the web dev sphere (rather than Dat Science). Yes, ORM's are great but many people rely on them to completely abstract away the database and are terrified by raw sql or even query building. You also see it with services that abstract away the backend like PocketBase, Fireship, etc. Writing a window function or even a sub select looks like black magic to many.

I say this after several experiences with codebases where joins and filtering were often done at the application layer and raw sql was seen as the devil.
I have piles of Viagra from ordering inhalers online, they give it away for free with my orders.
lodash and other utility libraries can be helpful when backend devs who don't usually work in JS need to do something complicated on the front end.

That said, if focusing on front end dev work I think it removes knowledge of underlying apis which can be counterproductive in the long run. If you have enough knowledge to achieve in plain JS what is done with lodash, you are better set up for success when given a problem not yet solved in your code base or stackoverflow.
> Attention is considered to be the most valuable thing you can get from a person, the assumption being is that you have the attention, you should easily be able to monetize it somehow.

This sounds like planned extortion.

"Look at this nice thing you are enjoying. Give us money or it goes away"
Lets say I'm living in one of these areas ( and can't help it) besides wearing a kn95 when going out, is there anything that can be done?
You're doing historical revisionism here. US ran a coup in Ukraine to overthrow a democratically elected government in 2014. This resulted in a civil war between Donbas and western Ukraine. All this has been extensively documented in mainstream western media. It's pretty shocking that you appear to be utterly unaware of this.

https://www.quora.com/Is-there-any-credible-evidence-that-Uk... (https://archive.ph/BAxYc)

https://www.youtube.com/watch?v=JrMiSQAGOS4

https://truthout.org/articles/us-approach-to-ukraine-and-rus...

https://truthout.org/articles/noam-chomsky-us-military-escal...

If you won't acknowledge that what Russia is doing in Ukraine is precisely what NATO was doing in Yugoslavia then there really isn't anything left to discuss.

I'll just leave you with this quote from NATO during the war in Yugoslavia:

If President Milosevic really wants all of his population to have water and
electricity all he has to do is accept NATO’s five conditions and we will
stop this campaign.

https://www.nato.int/kosovo/press/p990525b.htm
Looks like this will be removed in v5. "For example, throttle uses debounce internally. In a project using both methods from the main lodash package, throttle will import the same debounce module as any code that imports debounce directly, so only one copy of debounce will wind up in a webpack bundle."
He's playing word games by pretending that an edge case is the general case.

If you come over as an adult, you have committed a crime. Most illegal immigrants fall into his category. If you come over as a child, you lacked agency to commit a crime, and your continued presence in the country is not a crime.
Cable lacing seems to be alive and well in aviation. I'm currently building a homebuilt experimental airplane and as I've started researching the avionics build I've noticed a lot of cable lacing on the wiring harnesses all over people's planes. I think it's because lacing is lighter weight, uses less space and is easier on the wires in high vibration environments.

I do notice a lot more spot ties rather than running stitches. Not sure why.
Instagram will feed you more of whatever you are following or tapping.

I have noticed that if I don't use Instagram for a few days I end up with generic, lowest-common-denominator videos. Scantily clad females, bar fights, car accidents, etc.

But if I start seeking out and watching the stuff I actually like, the feed updates itself within a day or two and I get content that I actually want to watch.
I mean, I know that it can be justified in many ways. But, know that if you have positions that are filled and only promote new ones when "merit is matched by availability," than you are bound to have some people that are more qualified than those in the currently held slots. Which will again hamstring the spirit behind the idea that this was the "best qualified people available." It is at best that with the added "at that time."

And you are trying to allude to inflation of role and expectations, I suspect? And that is a thing. But since you don't demote people that fall behind on the inflation, you are back to my first paragraph. That or you are pushing out the folks to make room, but you will regret pushing out some folks from the highest levels.
Use a long passphrase and unlock via biometrics.

Disable biometrics when handing the phone to somebody else or even remotely (e.g. mark as lost via “find my”).

Good compromise of usability and security.
So by your logic, preparation for anything is paranoia?
Show HN: Towards a fairer ranking algorithm for Hacker News
Hello HN!

TLDR;

- We propose a new metric called upvoteRate that could be used to improve the Hacker News ranking score.

- Quality News is a Hacker News client that shows the upvoteRate for each story, along with additional charts and stats.

- Check it out at: https://news.social-protocols.org/

In-depth explanation: https://github.com/social-protocols/news#readme

The Hacker News ranking score is directly proportional to upvotes, which is a problem because it creates a feedback loop: higher rank leads to more upvotes leads to higher rank, and so on...

→
↗ ↘
Higher Rank More Upvotes
↖ ↙
←

As a consequence, success on HN depends almost entirely on getting enough upvotes in the first hour or so to make the front page and get caught in this feedback loop. And getting these early upvotes is largely a matter of timing, luck, and moderator decisions. And so the best stories don't always make the front page, and the stories on the front page are not always the best.
Our proposed solution is to use upvoteRate instead of upvotes in the ranking formula. upvoteRate is an estimate of how much more or less likely users are to upvote a story compared to the average story, taking account how much attention the story as received, based on a history of the ranks and times at which it has been shown. You can read about how we calculate this metric in more detail here: https://github.com/social-protocols/news#readme

About 1.5 years ago, we published an article with this basic idea of counteracting the rank-upvotes feedback loop by using attention as negative feedback. We received very valuable input from the HN community (https://news.ycombinator.com/item?id=28391659). Quality News has been created based largely on this feedback.

Currently, Quality News shows the upvoteRate metric for live Hacker News data, as well as charts of the rank and upvote history of each story. We have not yet implemented an alternative ranking algorithm, because we don't have access to data on flags and moderator actions, which are a major component of the HN ranking score.

We'd love to see the Hacker News team experiment with the new formula, perhaps on an alternative front page. This will allow the community to evaluate whether the new ranking formula is an improvement over the current one.

We look forward discussing our approach with you!

Links:

Site: https://news.social-protocols.org/

Github Readme: https://github.com/social-protocols/news#readme

Previous Blog Post: https://felx.me/2021/08/29/improving-the-hacker-news-ranking...

Previous Discussion: https://news.ycombinator.com/item?id=28391659
Only seventy thousand people? I don't believe you.
There's a two years old small video on reddit...

https://www.reddit.com/r/raspberry_pi/comments/p0jkb3/guitar...
I was thinking more about the EU actually. After banning TikTok, it won't be long before someone says, "hey, Instagram steals people's personal data too."
That’s a good summary. I just see it way too often bundled together with low-level languages and it benefits no one to prefer/not prefer a language based on false knowledge.
Sorry to sound harsh, but 6eur for ice cream (or 3euro at a discount) is indulgence, not good food. I live in one of the richest Eurozone countries, with around €2000 full time minimum wage, and locals here would consider that an expensive treat, or something to sell to foolish tourists.
> ...they say, posting on HN, a slightly watered down dopamine dispenser brought to you by the people that made Reddit happen.

I by no means wanted to exclude myself from the groups I so derogatively named. Hacker News is pure infotainment to me. The quality is above reddit though, but that's not a high bar.

> it's clear that people are ditching FB and slowly backing away from a lot of social media

Are they? To me it looks like TikTok addiction and stupidity is continuously peaking.
New 3D bioprinter could repair organs inside the human body
I'm reminded of the synthetic diamond process [1] and the industrial demand for perfect diamonds, cut to order exceeded the perfection nature's diamond mines could never deliver.

So with todays digital technology, instead of the analogue world of the 1920's, it would seem the Fischer-Tropsch[2] process has every chance of succeeding on an undustrial scale, bringing vehicle fuel to inhospital regions of the planet, and yet the nuclear industry with notably scaled down nuclear reactors or Small Modular Reactors [3] could be the saviour of the automotive sector, something the Germans have experience of as well, if stuxnet [4] and Iran are anything to go by.

I still dont know why we dont bury nuclear waste using a convergent boundary [5] from plate tectonics. Its all ultimately come from core of this planet, why not return it to the core for the ultimate form of recycling, like much of our landfill waste, and man made waste. I sometimes think environmentalists and politicians want us to live in our waste.

[1] https://en.wikipedia.org/wiki/Synthetic_diamond#High_pressur...

[2] https://en.wikipedia.org/wiki/Fischer%E2%80%93Tropsch_proces...

[3] https://en.wikipedia.org/wiki/Small_modular_reactor

[4] https://en.wikipedia.org/wiki/Stuxnet

[5] https://en.wikipedia.org/wiki/Convergent_boundary
Terry Davis of course what question is this.
Let's very optimistically imagine that the cost of batteries will go down 75% (4 times) down in 12 years, given the current massive efforts in this area.

Will it make new EV cars massively cheaper? I think it's very improbable.

Will it make replacing worn-out batteries economically viable? I think there is hope.
>These are a step beyond “it feels like you made the thing happen”, they are more primitive, like maybe “it feels like you are the thing”.

That's a great way of putting it. I imagine VR developers have to deal with this.
“The health impacts of exposure to PM2.5 are significant”

I think they need to elaborate on this to put the funding in greater context. Statistically significant? Significant in terms of actual impact on one’s life?
Had the chance to try it a few weeks ago. Took only a couple of minutes to setup, and It gave me a a few interesting warnings about PII on one of my projects.

Feels like it would be a great tool for a team that is just starting to pay attention to security risks and vulnerabilities.

Will follow next evolutions of your tool, thanks for sharing!
In towns/cities, yes.

Rural Europe is a disaster if you don't have a your own transport, as either there is no public transport, or it's atrocious (eg. 2 buses a week in some places).
May be rest in peace.
The same site has an article about all this from today: https://www.icelandreview.com/business/elon-musk-and-halli-s...
[Raises hand] I spent countless weekends and evenings in my mid-20s to help the company meet a delivery deadlines (earning the company X million pounds each time) or to untangle some production fuckup (saving the company from having to “best price” trades or incur fines). Claims of overtime shushed and dismissed (“come on you already make more than $colleague…”). Promises of equity that were “delivered” in the form of some kind of ultimately worthless “units” that were granted in place of actual shares (just while the legal side is worked out, you know) and which were eventually swept under the carpet as if they never existed.

Those overnighters and the value they created mean very different things to someone who has equity vs the rest of us. As you can tell I’m a little bitter still, I realise now this amounts to wage theft and violates various protections we have in law - I just wish I had known at the time :(
Ooooh, I used to play that on our MSX. Good memories :) I kept dying though...
I know there’s a lot of political discussion going on under my post (it’s impressively restrained for how strongly felt the emotions involved are!), but I assure you I’m coming from an uninvolved/uninformed perspective - I’m lower-class white Australian (very Australian - my ancestry traces back to both the convicts and the officers on the prison ships) and I have no idea what the common Indian or Muslim views on this topic are, nor am I trying to pass much judgment on them. I’m also not equipped to debate the subtleties - what was going through my head when I made the comment was “I remember prominent caveats that Edison stole from Tesla when we learned about electricity, that Bell stole from Gray when we learned about telephones, that Watson and Crick stole from their secretary when we learned about DNA, that Grace Hopper was robbed when we learned about computers, etc., but those caveats were missing when we learned about Islam’s contributions to math and science.”
For those looking for additional data and more comprehensive coverage on the topic I would point you to Our World In Data's entry on outdoor air pollution.

https://ourworldindata.org/outdoor-air-pollution
Big, meaningful shareholders of stock personally request CEOs to fire people for bigger profits. I'm not sure they care one bit because someone is being an asshole.

Edit: And I'm not suggesting this should be a normalized thing. Just that it's unfortunate how greed trumps any sort of regular decorum.
I think the same applies to the Mastodon or blog example (or Twitter, or Facebook) - to me, these are closer to broadcast publishing than to producing creative works, so copyright issues notwithstanding, I feel GP doesn't have full ownership on what they published on the public web either.

In this context, I feel it's OK for GP to remove their blog or Mastodon posts - not weird at all. However, I believe I am well within my rights to scrap GP's blog, screenshot all their Mastodon posts, and keep them for reference; I'd expect the blog to be indexed by the Internet Archive, and would find attempts at preventing the IA from making a copy as something between peculiar and antisocial.

That is, there's a distinction between owning the message itself, vs. owning its physical form or means of publishing. The former, I believe, is always shared between sender and recipient or recipients (up to and including everyone, if we're talking about a regular website without any access control). The latter is handled through normal property law mechanisms, but owning the medium only means you can decide who can access the message on/through that medium, not that you own the message itself.
Hmm, no $/GB numbers.

As always, Newegg link or it doesn't exist :)
> I'm typing this on my phone btw. It's easier for because I only need to use one finger.

I wonder if he also has voclaization difficulties that interfere with voice typing, and/or if he was socialized against "talking to himself" like I was.

(Or if Twitter has the same problem as HN+Android+Firefox+? where the keyboard microphone and swipe goes inexplicably missing sometimes, like now for me.)
In my experience, you need the old phone to scan something in order to unregister the eSIM. Might be that it depends on the carrier, not sure.
Profiles: The One Thing Firefox Needs to Get Right
You can use CLIP to build a database to search (offline) for keywords like “nude” or “naked”. Specifically, I use clip-anytorch with the ViT-B/16 pertrained model and find the result very good. Just go to pypi and the corespondent GitHub. They have examples and demo for a quick start. It can run on CPU, too, albeit a bit slow.
Looks like the v5 deprecation is only the separate modules.

"lodash/throttle" loads throttle.js in the lodash package.

"lodash.throttle" loads index.js in the lodash.throttle package.

The latter is being deprecated but not the former.
Yes -- this seems like it would be significantly more useful if it divided between "vanilla Javascript now supports this or similar functionality natively" vs. "if you're getting rid of lodash and use these functions, then you'll have to write your own variant, along with tests".
You're assuming a compromised password == compromised 1Password vault which is clearly not going to be the case most of the time
done today on python

someMock = SomeMock()

Also, inconsistency. The example that they put is SHOWLN and showln, and they use all over the place showln, but then they write ReadLN. Driving me cranky :-)
This is a complex problem. I considered this for many hours.

How does one securely restore their secure measures once their devices are lost?

Assume you lost your phone, laptop is also gone and your house burned down and your papers are gone with it.

I personally symmetrically encrypt my ssh keys and send them to my wife every six months or so. I also send them to a burner gmail account I use basic password auth with.

In a chaotic moment I can just ask my wife to download the file from her email and I can decrypt and ssh into my server where I store all files and important things encrypted.
Buy and maintain an air cleaner for your home. That's the one and only realistic change you can make.
From the article: “The health impacts of exposure to PM2.5 are significant and include respiratory and cardiovascular diseases, lung cancer, and premature death.”
The link-local address is generated when you first enable the interface (ie when you load the drivers for your NIC), it won't change unless you manually force it to.

Linux will use EUI-64 if left to its own devices, or privacy extensions if you're using something like networkmanager. This makes sense because a desktop oriented distro will typically use networkmanager while a server oriented distro will not, and having a predictable eui-64 address is usually beneficial for a server.
> 2. Lodash is tree-shakeable, so if you import the functions you use directly, only those will be included in your JS bundle.

I don't use Lodash, but recently began work on a project that does. I was surprised (along with the rest of the team) to find out that Lodash is not tree-shakeable by default. So if you do `import { debounce } from 'lodash';`, you're actually including the entirety of lodash in your bundle. More info here: https://lodash.com/per-method-packages

The recommended solution by the lodash team is to use `babel-plugin-lodash` (including a babel plugin to use less code? no thanks) or import the single modules directly like `import throttle from 'lodash/throttle';`. In the end, since we only used about 3 functions from lodash that were trivial to replicate, we just ditched lodash.

EDIT: There is also a `lodash-es` package with native ESM modules which may solve this issue for some. We avoided this also because it had implications with our toolchain.
I like cooking and having people over, so it's something I do often. I have kids, but most of my friends don't, so the numbers aren't coming from big families.

If it's something that you aspire to, here's the basic algorithm:

- Learn to cook something well. It's better to master one dish, and pull that trick semi-often, than to be able to cook a bunch of stuff mediocrely.

- When you meet somebody interesting, invite them over in the next month. It's easier to do that soon after meeting them rather than, say, a year later. Feels more natural.

- Before inviting said person, check with existing friends (assuming you have a couple) to see if they're in. It's less awkward to invite someone new over if there are already going to be other people.

- Let everyone know that their friends are also welcome.

Bonus points: keep some reserve drinks around for such situations. I've pretty much always got a spare case of beer on the balcony, and a bunch of wine around.

If you don't already have a couple friends, then inviting people to your home is a little weird, but the same rule about inviting people out early applies: do it in the first month after meeting someone and it doesn't seem weird. There you can go to a bar, or do something you know you have in common.

Perhaps curiously given the above: I'm actually mostly an introvert and like spending most of my time alone. But a lot of these things do depend on your own personality and where you live.
China is restructuring key government agencies to outcompete rivals in tech
I think there's some misconception about faster dishwashers here. Faster dishwashers are almost as good as faster clocks. The idea behind operating a dishwasher is that you let dishes be washed for X time. So, if you wanted dishes to be washed for X - 1 time, you'd just open the dishwasher earlier.

I mean, dishwashers don't guaranty that your dishes will be clean after X time. They guarantee washing them for X time. They aren't concerned with whether or not it will make them clean. So, speeding up the process is trivial, but doesn't result in anything useful, which was the point the author was trying to make.

I'm not trying to defend the author's general claim. I also think that even if the metaphor doesn't work for you -- it's not really all that important in the context of the article. Just trying to give a way to understand what the author probably meant when making that metaphor.