skysight-inc/HackerNews huggingface dataset:
This page, or series of pages—The State of Python Packaging in $YEAR—should have no reason to exist in the first place. But things being as they are, https://xkcd.com/1987/ is as relevant as ever. Compare what's going in the Python ecosystem with how e.g. `npm` works in NodeJS. You can hate NodeJS and npm all day long and point out a not-so-small number of problems and gotchas in the details, it's still lightyears ahead of anything Python has to offer in terms of reliability and simplicity. And it's not only Python's packaging system, it's the entire module import system that is a boat load of overcomplicated c**p. In NodeJS, when you want the contents of a module that lives at `/path/to/module.js`, you say `const x = require( '/path/to/module.js' )`. There's some amount of additional computation going on there in order to resolve relative and underspecified paths and to keep a cache of loaded modules, but other than that, the module contents are basically loaded, then `eval()`ed, that's it.

In Python, when you want to import a module from a path, you have to:

def module_from_path( name, path ):
import importlib
import importlib.util
spec = importlib.util.spec_from_file_location( name, path )
module = importlib.util.module_from_spec( spec )
sys.modules[ spec.name ] = module
spec.loader.exec_module( module )
return importlib.import_module( name )

wat?
interesting, thank you
Alas Teams is far from the only app to control the global volume, and it doesn't happen only in Windows.
My software seemingly wasn't affected by any windows 10 updates.

I was drastically affected by windows 7 to windows 10 changes.

So I'm not exactly sure the article is accurate that 3 times a year, windows 10 would break compatibility.
No, this is America.
Helsinki - Stockholm has too many travellers for a 19-seater. :)

Planes like this will most likely be used for routes from very small local airports to larger regional ones. I'd guess it's more likely to cover things like Rønne - Copenhagen, or Mariehamn - Helsinki.
Those most critical of the system tend to be former employees, and some lose their jobs because they speak up. I wasn't that brave, I kept my mouth shut while I worked there but that in turn led to me hating the job, and myself, even more.

And I'm not saying that my experience or the man in the article's experience is "normal", but it certainly does seem widespread. There have been efforts to improve the situation in pre-trial jails; the PREA (Prison Rape Elimination Act) has had a measurable positive effect on it even though its focus is more on post-conviction incarceration, but I have observed jail staff laughing at and making fun of county jail PREA training (I worked as a training officer for a while at the end of my career, my effort in trying to make things better). There is simply a lack of empathy and compassion that is part of the job requirement; if you show a heart you are pushed out of the career by the heartless ones. By and large, especially at the ground level in booking/processing/housing, the workforce is mostly bullies and sadists with a few more-or-less "normal" people in the mix to try and keep it under control.
you can dump batteries too
I’m still waiting for a reasonable prosumer one to come out. I’m using an intel 2 port NIC in my desktop (so only 2 devices including the desktop get 10G), and everything else is 1G.
10. Win by hacking the results tabulator.
Tailwind Card Component
If you enjoy kotlin please apply
I'm not even a privacy nut, but this annoyance has me looking at Linux distros for the first time in 10 years.

Year of the Linu....
> Drug tests generally produce false-positive results in 5% to 10% of cases and false negatives in 10% to 15% of cases, new research shows.

Most often, some tests have high sensitivity (no false negatives) whilst others have high specificity (no false positives). (Rarely both.)

So, for example, this is the reason why a positive RT-PCR test has more weight than a negative test because of the test’s high specificity but moderate sensitivity.

Lumping together false positive stats (for low-specificity tests) with false negative stats (for low-sensitivity tests) is misleading at best.
Halving memory usage with an eBPF-based memory profiler
I honestly thought it would be about not being an asshole to people doing their jobs, and instead how much better asking nicely is. Both for treating them as people, but also for getting what you want.

So I'd say it's pretty misleading.

But with the top comment making it clear what the context is, I'm fine with it after all.
In Google's defense, they aren't the market leader, that's zoom, they are the market challenger. So by definition, they can't be anti-competitive in the market of video conferencing tools, even though Google's otherwise enormous.
> Besides, if the NSA really wants to install some software on your computer, they can probably do it themselves without your involvement.

Running Linux with very few binblobs, I expect they will not be able to.

Running any OS published by $tax_evading_big_corp, I expect they can.
It remains to be seen if there has been an uptick in such activities. I'd argue that they have never stopped, but most of them are lower profile cases that the mainstream barely notice.
Ah yes that is a very good point!
Show HN: EdgeSharp – WebView2 on Win32 C# + WinForm/WPF Extensions
You can derive pi/4 from summing alternating reciprocals of odd numbers. No geometry. You do need limits (since pi is transcendental, there are no purely algebraic solutions. You can use special functions, but those have limits or other transcendentals "in them").

https://en.wikipedia.org/wiki/Leibniz_formula_for_%CF%80
The most important bit of data when deciding on things like this is what the normal wrongful arrest rate is and whether it's higher or lower with this tech. I don't see any discussion on this though.
EdgeSharp is WebView2 for Win32 C# and value added for WinForm/WPF. EdgeSharp uses many features in Chromely - https://github.com/chromelyapps/Chromely.
if you really want to win take your hackathon idea and turn it into a profitable startup
Right, but apple can switch fabs much more quickly than Intel can fix fabs.
If you have friends in mechanical engineering, ask them to join you on a visit day at their workplace or any other place with engineering. That will change your mind.
You don't seem to understand that there is no arbiter of objectivity that we can rely on and that deciding what is a flawed design and what is not is completely subjective.

Removing the headphone jack "for waterproofing" is obviously defective for me because other phones that are waterproof didn't have to remove the jack and I had to buy new headphones. It wasn't for Apple though - they designed it that way so they could sell more headphones. That's how subjectivity works.

Who complained about deep sea watches not being solar powered? I don't have to make up situations to prove my point like a weasel. I just point them out as I see them and the examples I've referenced have been widely held as flaws in Apple's designs.

I do get to decide what is a flaw based on intended use cases as stated by Apple. Nobody made up any arbitrary use cases here.
Poland is also sabotaging independence of the courts in attacks on democratic principles.
The Apple M1 chip is based on my "warehouse (memory)/workshop (cores&others) model".

Reference:

The Grand Unified Programming Theory: The Pure Function Pipeline Data Flow with Principle-based Warehouse/Workshop Model

https://github.com/linpengcheng/PurefunctionPipelineDataflow
So this news story is meaningless?
Back to permissions. Most office workers are not authorized to use those tools. They need the capability built into Excel.
On the same note, it takes practically all day for the iOS outlook app to update my email. My organization doesn't allow for the default mail app to work anymore, so I am stuck with this worthless email app.
I believe it's an attempt at a joke.
On failure and suicide thoughts in startups
I did a handful of hackathons before I transitioned from hobbyist coder to professional coder.

There were a ton of benefits to me personally.

I got to see a ton of different working styles and tech stacks. I got exposed to a lot of the more “playful” side of the technologist’s Internet. I got to see what it took to rapidly stand up a winning “demo,” while it being completely obvious to us (the winners) that we didn’t have the best idea OR best implementation of an idea.

Most of all, though, it was really fun to meet technologists from all walks of life and party with them, drinking too much alcohol and caffeine in a high-pressure environment. It made for a great way to bond with a bunch of people when I was otherwise just a disconnected hobbyist.

I think the tone of the hackathon is really important. I’ve only ever done non-profit based hackathons: art, civics, etc. where the central task is on the order of “what cool or fun thing can we do to make the world more beautiful, more fun, or just better?”

Also, it’s an excuse for people to try out ideas and stacks that they weren’t otherwise willing to give themselves time to explore.
Found the eink employee.

Kidding! You do make some interesting points re: licensing and patents and such.

I think the complaint I hear leveled, is that there is a patent, and it is licensed, but at exhobrinant cost.

Thus, eink is "too expensive" for true derivative innovation, and even widespread sale.

You might do better to speak to that accusation directly.

In high school economics, we learned of min/max pricing theory.

If you price your widgets at 100 dollars profit per unit, you'll sell 10 of them a year. If you price them at 1 buck per, you'll sell 1000.

But... you'll have additional support costs, returns, other ancillary costs when selling 1000 units compared to 10. So at the 1 profit price point, you need additional staff, larger facilities, more manufacturing capability, etc.

Sometimes, licensing is like this. Fewer units sold, but better profit.

Maybe the eink lads believe the tech can never scale beyond niche, won't take off, so are just milking the market at the highest licensing fees they can get?

Maybe even raw licensing, without per unit sale fees? Thus, higher up front costs, as no confidence i sales numbers? Plus no internal audit costs with licensing, sales, compliance?

Just thoughts on why the high licensing costs, may be true.
I fail to understand why it is the west that speaks up for these Muslims, whilst the Islamic countries remain quiet. Where is the outrage from Indonesia, Saudi Arabia, Iran? Why are the US the ones accused of needing to do more? Shouldn't Islamic countries at least do something?
The related blog entry "AI doesn't understand scale" is hilarious: https://ai-weirdness.ghost.io/ai-doesnt-understand-scale/
Fix: VPN failed due to unsuccessful domain name resolution
It'll work great until one day the AI responds to a simple question by regurgitating every line of dialogue Samuel L. Jackson ever spoke.
Note: Digital currency is not a synonym for cryptocurrency.

In the context of central banks, it usually means that the same mechanisms that allow the banks access to central bank money are made available for other private businesses and individuals.

Practical implementation can be crypto ledger or something else. It would just show in central bank balance sheet.

If the central banks want to add money into the system, they could give it directly to the consumers (helicopter money), not to banks.
That's really a bad take. A Mars colony will most likely not outlast or stay on Earth - Earth had a couple million years of head start. It will, eventually, become a relic of past ambitions, but only, hopefully, after our ambitions - and our ability to act on them, exceed the ones who led us to colonize the solar system.

There is much to gain from such endeavors. From making a stand and turning dead rocks into our home, we learn what it means to be human, something we currently can't separate from our lives inside a protective layer of air and magnetism. We don't know what it means to be human on the Moon or on Mars. For me it's almost certain we'll make our homes underground and only come up on rare occasions, to wonder at the new worlds around us.

The Sun will have a finite life. We may be able to save the planets, moving their orbits outside the solar atmosphere as our star expands, maybe even robbing mass from it to slow down its aging, but all that only buys us time - unimaginably long periods from us, thousands of times longer than the ones that separate us from our ape-like ancestors, but, still, finite, and no more than a blip in the lifetime of our universe.

Only by leaving the solar system and learning to live and thrive in the depths of space and to seed other stars with our life will we be able to realize a grander potential.
There really should be examples of what can be made with this on your website, what the software looks like, etc. On my phone I basically just see a link to download and to a manual.
Can this sudden growth be mostly attributed to opening up Google Classroom?

Over here I've seen schools going from zero online infrastructure to using Google Classroom in a week. Teachers and students started using Meet since there was nothing in place before.

I can't really imagine millions of businesses suddenly jumping onto G Suite. They just scaled up their existing collaborating tools, and Office 365 with Teams is absolutely killing it among SMBs.
SMTP won't work for the customers.

Developers won't be able to use the existing email systems of the company, too critical and managed by another team. They will never be able to reconfigure it and get API access to read emails. Note that it may or may not be reliable at all (depends on the company and the IT who manages it).

Developers won't be able to setup new email servers for that use case. Security will never open the firewall for email ports. If they do, the servers will be hammered by vulnerability scanners and spam as soon as it's running. Note that large companies like banks run port scanners and they will detect your rogue email servers and shut it down (speaking from experience).
I didn't find debezium production ready when I tried it about a year ago. If I recall, no cascading deletes and it can't handle 0000-00-00 dates due to "some java limitation" (maybe in the kafka producer? I honestly forget) and when a dev on my team made a PR to the debezium project it was not merged because the team felt it was outside of scope for debezium. Also, because of implementation details, it will never do cascades.

End result was a lot of wasted effort. It worked for one team who didn't have those requirements and even then they spent more time than they should have and then ripped out debezium and went with standard mysql replication as it doesn't require the entire kafka stack.

My experience with it reaffirmed my standard technique of data migration of write to both and move reads over when ready.
But a lot of fateful decisions are already made by computers. Decisions about granting a loan, an entry visa or insurance policy are largely automated today. If there are humans in the chain, they are mostly there to type data into the computer and don't have any decision power.
I did say FB was locking things down before. Things weren’t fully locked down for me personally until Cambridge Analytica. That’s when the graph became completely useless. At least it had a bit of utility before.

For Google. That may have been a turning point. But Google’s actions by and large are their own. No one does their repeated bad behavior because of a few incidents with FB or other big players. Even more, I have no doubt Google would’ve ended up close enough to where they are now even without FBM’s interoperability shenanigans.

On the other hand, FB had no reason to lock things down the way they did after Cambridge as it was already pretty much locked down. That was a perfect excuse to do something in their interest while garnering praise from everyone.

It’s easy to blame FB for everything. They are the most blamed tech company for years now. Not as nice when society is complicit with one of their lockdown times though.
She said she wouldn’t take any vaccine Trump promoted if independent scientists didn’t also promote it. Her reasoning being Trump had lied so much about COVID at that point, there was no reason to trust anything he said.

In fact she did take one of the vaccines Trump promoted, and she did so publicly, because they were independently verified to work. Interestingly Trump got his shot in private and never revealed that fact.
https://goomics.net/335/
If you'd like to try (multiplayer) Doom in WASM there's https://silentspacemarine.com/
What type of strings though? Exposing Javascript string objects in WASM doesn't make much sense if the code is expecting C strings for instance. Same for other languages, those all have their own incompatible internal representations for strings. The only somewhat interop-friendly string type is a zero-terminated bag of bytes, usually UTF-8 encoded (aka C strings), but that's a different string representation than Javascript uses.

The Emscripten SDK offers helper functions to marshal high level data types like Javascript strings to UTF-8 encoded C strings on the WASM heap and back to JS, so it's not that bad.

DOM access can be achieved with helper libraries which call out into JS. And since any sort of DOM manipulation is extremely slow anyway there's not much of a performance difference even with the overhead of calling out from WASM into JS (which actually is quite fast nowadays).
That was the original message used to sell WebAssembly, however when the real goal is to replace ActiveX, Flash, Silverlight and PNaCL it was obvious that it would grew beyond that.
Of course the silliness is all in our heads, but having an excuse "Friend Computer says so!" enables 10x more silliness.
Has anyone tried to pipe ascii star wars through it?
CS has interesting things going on but I doubt it's more intellectually challenging than designing airplanes and spaceships... The expression was never "this is like computer science" for a good reason.
It's not meaningless. It's an opportunity for HN to complain about the shutdown of Google Reader
The Missed Lessons of the 2020 Nagorno-Karabakh War
Unshortened link: https://www.cbsnews.com/news/child-booster-car-seat-standard...
Curious, how would you do that?
Would it be a long script or is there some sort of mini Library for this?
Git-retroamend: Amend changes to an old Git commit
To each their own, I guess, but I don’t understand why you’d waste a hackathon in that way.
Surely you can't be detained for more than 24hrs without charge?
Web development tutorial: Locate address
on a "normal" keyboard you press shift+1 to type a !.

on my planck layout I press a layer key under my thumb+q.

All the chars like {} [] | \ are on my home row.

It doesn't get any more readily available.
You shouldn't store future dates as UTC, bit of a recipe for disaster.

Timezones change, and far more frequently than you'd think.

So storing in UTC is only a good idea for dates in the past.

You'd be in for a world of hurt when the EU or UK finally decide to get rid of moving their clocks forwards/back. They've both been debating it for years. Or Turkey decides to move the start of summer time again with a couple of weeks notice.
An old port for PNaCL is available here, https://doom.pdox.net.
What makes one better or worse?

I'm always a bit embarrassed when I'm in public and a buddy calls me over to look at something on a MacBook. Like - "No it wasn't me who fell for Apple marketing."
I’m pretty sure this is another Google branding thing. I’ve been using it for free as “Hangouts Meet” for years. Now it’s just “Meet” and there’s no personal version anymore.
“” <-- quoted from some article by my SO

> <-- what my SO said

The answer from my SO is:

> I just like tomato juice. I sometimes drink it on the ground. I happen to know they have it on the plane and over time I guess you form the association (like popcorn at a cinema). But in terms of why tomato juice specifically may be more popular, I think it may be because certain aspects of your senses are reduced at high altitudes. Tomato juice is often quite high in salt, so has a stronger flavour which may be why people tend to order it. Maybe there’s also another reason?

After a Google by querying "tomato juice on a plane" my SO found:

“The dry cabin air messes with our odor receptors, and since things taste differently when our sense of smell is impaired—think about eating when you have a cold—food tastes blander on a plane than it does on the ground. That same principle is what makes tomato juice taste better in the air.”

> Googling it quickly it seems I am right!

I then got the following in my messaging app from my SO:

“In 2015, Robin Dando, a physiologist at Cornell, found that exposure to loud noises, like that of a jet engine, dulls sweet flavours but intensifies the umami taste present in tomato juice. “

“Researchers from the Fraunhofer Society found people enjoyed it more on planes because our taste and smell receptors are less sensitive at altitude, which means people enjoy the freshness of the juice without the earthy, mulchy taste.”

“It’s more likely there is a psychological basis for the popularity. Choosing a drink on a flight is an unusual situation: you have to decide when the trolley comes to you whether you’re thirsty or not. The beverage is normally free – meaning you want to extract as much value as possible. Tomato juice hits an odd sweet spot: it’s the only drink on the trolly that feels healthy, extravagant and unusual – plus you’ve seen so many other people order it, it becomes a tradition, the same way you eat popcorn at the cinema or hotdogs at a baseball game.”

> Source: https://www.google.nl/amp/s/amp.theguardian.com/lifeandstyle...

> Literally what I was saying
Jellyfin has some serious performance issues. I tried using it on a small 12TB zfs dataset of Linux ISOs and it only indexed ~20% after letting it run for a month. For comparison, my ffprobe scripts only take a day to collect media info about every file and figure out what needs to be transcoded.

The web UI is also a buggy js SPA that doesn't use meaningful URLs with "#". So when it breaks, you can't reload the page and get back to page you were on. It's incredibly frustrating.

Unfortunately, Jellyfin is the only open source video server I could find that kinda sorta works. So this is as good as it gets unless you wanna get your hands dirty and rewrite large parts of it.

nb. I did not try out the online metadata fetching because I didn't want to give it internet access. I assume that enabling online metadata will make the server even slower
I participated in a hackathon like this once. Was more like a war-game; very entertaining experience.
In the UK, It's not legal to cross a motorway, and non-compliance with the highway code could work against you in a civil court case.

The higher road-death rate in the US might be the reason these laws exist, rather than a symptom of the laws - or are you suggesting that making jaywalking a crime increases road deaths?
No, in non-euclidean geometry we have a notion of tangent space, where we measure angles and that looks the same as usual flat space. That is, what is meant with smaller and smaller circles in the physics answer. So the difference between euclidean and non euclidean geometry vanishes at very small scales and you can just define pi as the value in the limit.
I almost flagged it. My reason was simple: Tucker Carlson

He does not do news, he does biased opinion pieces. And in my experience he often does them dishonestly. He also has a tedency to hint at conspiracy.

Hence I generally do not trust what he says. And I think that Tucker Carlson saying that the CIA is spying on politicians actually weakens the message. Even though in this case the message is true.