skysight-inc/HackerNews huggingface dataset:
Mozilla and its defenders love bashing others about anti-competitiveness but the truth is that their product, in its default configuration, doesn't bring much to the table for the typical user.

Back when Firefox did actually bring much to the table compared to the incumbent, it gained respectable marketshare: https://news.ycombinator.com/item?id=32959277
Bummer that it’s missing so many languages for many common algorithms. My friend and I were just talking today about how you would do a (variable sized) sliding window in Scala in a functional way.
Show HN: Event Lifecycle Oriented Hooking
Hi HN !

This project is my personal way of implementing a hooking [1] mechanism. It is made from scratch after several disappointing attempts. I designed the hooking mechanism so that its API is both minimalistic and intuitive (at least from my point of view).

Since an event [2] has a beginning and an end, I thought it would be cool to be able to specify at what stage of its lifecycle a given hook should be called. So, when binding a hook to an event, I can set that spec which by default is the start of an event.

I also introduced the ability to break, from a hook, the execution of an event and also to temporarily freeze a hooking session.

The library is written in Python and is available on PyPI [3]. I'd like to know what you think of this project and its API (if we abstract from the underlying implementation language).

[1] https://en.wikipedia.org/wiki/Hooking

[2] https://en.wikipedia.org/wiki/Event_(computing)

[3] https://github.com/pyrustic/hooking#installation
Sounds like the basilisk collection: https://suricrasia.online/unfiction/basilisk/
It did brighten up my day
Absolutely. But I thought the production team could've find a combo that works better. Any combo. They don't even have to actually have someone that high up in the ladder to make an ok podcast imho...

Right now it sounds straight PR and ingenue due to the tone & the scripting, even for a regular company's PR piece, let alone CIA's.
I think some kind of overlooked physical access to the system is the simplest explanation, since it would even effect an analogue system. Imagine there was some kind of mic input in the bathroom for some reason you could hook up a device to.
Hacking Your Product Leader Career
I've never heard of automatic updates for avionics. It's all under MX or operations control.

But that's a moot point if it really is happening on both B737s and A321s.
Haha.. jeez. Never thought about it like that.
Too real.
> How much of what we pay as taxes actually go to fund "the country"?

https://www.thebalancemoney.com/u-s-federal-budget-breakdown...

> I live in a state that does not have income taxes.

Why is this relevant?
Tiny Swimming Robots Treat Deadly Pneumonia in Mice
> resisting the urge to use the latest tech

They are using React, Tailwind, Typescript, Docker, FP etc. which is what you would find in many modern tech stacks.

That's what I love about this "we should only use old tech" argument. There is no specifics, justification or technical basis for any of it.

So you end up wondering how old should my choices be in order to satisfy the crowd.
Looks like a Charlie TARAC from the youtube comments - https://tacomhq.com/charlie-tarac/
> The U.S. has apparently sent M982 Excalibur shells to Ukraine, according to leaked budget documents

The DOD straight up announced that a recent military aid package included 1000 M982 Excalibur rounds. Another thing the US has been providing is M1156 PGK. It's a kit used to make unguided rounds more precise by adding GPS guidance and it dramatically reduces long range CEP.

Anecdotally I have noticed a large increase the frequency single shot artillery strikes on Russian tanks appearing in Telegram videos. Previously it would take a few shots to adjust fire. Now it's often boom! tank gone with no previous impacts evident.
Has no one noticed that this is only affecting a single airline? This implies an inside job by an employee, no?
I guess this move is a recognition that the unintended consequences were too significant for Tory voters.

It meant a suppression of wages in the IT sector (because employers don’t need to compete with contract rates) and reduced the ability of businesses to quickly spin up a team for a project because of the extra risk and process involved in hiring perm employees.
I login to Win11 everyday and don't have a Microsoft account.
Someone in my engineering school opened the elevator panel and had it play a clip from the matrix (the full quote about there being no spoon) when you pressed a floor button.
You're just attacking the title. The description doesn't demonize OSS at all, it praises it.

Risk frameworks are important, but they're not something you need the NSA to help you accomplish.

It doesn't take the NSA to do things like:

"Make a list of dependencies"

"Make sure that they have active developers"

"Check the list of dependencies for vulnerabilities"

"Look in the commit history to make sure one doesn't say 'People's Liberation Army -- implementing backdoor'"
It definitely does for globals
Did you look at plug-in hybrids? They can use the chargers.
Also the problem everyone makes with backups is that they don't regularly test them.

At which point storing the files on S3 would have been far easier, quicker and safer.
You don’t have to use a Microsoft account if you’re installing Windows 10 and it doesn’t have an internet connection when you run the wizard.
I said it was more relevant than nefarious hackers or government agencies, not relevant in some subjective general sense. So whether or not they care is irrelevant to my point.
My copy, found somewhere once on the web, is a complete 416 page scan of a book.

As a Harvard math PhD student around 1980, Fridays were amusing. In the math department was "wine and cheese" and inebriation levels were high by modern standards.

Over in the bio labs, they preferred cannabis. The sessions were intellectually stimulating, with a reverence for when Timothy Leary ran his "seminars". That's where I first saw this book, and it made a lasting impression.
For each round.
Sure, there could be exceptions like parts of security systems that would have to be tested in production because of limitations of data/threat modeling. I'm thinking mostly end user software, UI's, games, etc. that increasingly ship things expecting to patch it along the way.
I have Tourette's as well. That doesn't check out for me, because while mine continues into my late thirties, it's supposed to lessen with age.
I read this as Pompeian group theory and got unreasonably excited.
Reminds me of when a security researcher discovered that, in addition to some serious security flaws, certain Siemens PLCs had monkeys hidden in their firmware: https://arstechnica.com/information-technology/2011/08/serio...

According to the researcher who found it, "they didn’t think it was very funny.”

I love easter eggs myself—classic Apple software in particular had a lot of these, and I really miss finding them—but they're admittedly a risk. I remember one obscure Easter egg in Mac OS 7.6 that occasionally caused crashes at boot time after displaying a bizarre message about how "bluets and granola bars / make a chewy snack". Cute, but probably not something Apple wants to be getting customer support requests about.

As far as the topic at hand, I don't believe these weird noises are an Easter egg, either. I'd guess it's a recording patched in somehow by someone who works for the airline.
Smartphone+Internet Addiction, How to Fix?
I quit internet in my smartphone. I still use smartphone for making calls and other offline activities. But I don't use internet in my smartphone. (MAC blocked). I still use that in my laptop.
The level of addictiveness in smartphone is different compared to laptop.

It's been 3 days and I've felt so many times urges to go back and start using it.
The funny thing is whatever I can do in smartphone, I can do that in laptop. But still I'm feeling that urge to use. Why?
The problem that this cause is I'm not able to focus and do something in my laptop either. I need smartphone mindless scrolling to cause myself work hard again.

Smartphone for me is all about mindless scrolling.

The reason why I'm doing it is because I've came to a late late realization. Realization that my whole career is being done because of smartphone addiction.

I'm spending 14 hrs per day in smartphone. The solution is to get a job but the problem is I'm not getting any decent jobs with this habit. After quitting internet, I'm using smartphone for less than 6hrs. Most of those hours are just playing videos while doing something else. No mindless scrolling.

I tried Black and white screen. It also causes the same effect to me.

It's not notifications for me because I don't use apps that gives notifications, I just block notifications if anyone sends it. I do everything on chrome on smartphone.

I tried time limiting but I really didn't find any good apps that can do it. I could do that in firefox using extension in smartphone but I could still go back to chrome. That seemed like it would work but due to lack of GOOD free apps, I failed there. (I can pay if the app costs <5$ and allows me to try the app at first).

People seem to say "you're addicted because you've some problem". I don't think that's true. You don't need any problem always to be addicted.

How do i pass through this phase? Why am I feeling urge to use internet? Mostly my urges are when I'm eating food, I can't take my laptop with me at that time.
I think the religious wars of the 16th and 17th century were worse. Even high nobility was not immune from torture and gruesome executions.

You can't bribe a fanatic.
I’m working on a code generator that converts Typescript types to other schema descriptions. One of the conversions is TS -> TypeBox/JSONSchema: https://github.com/justjake/ts-simple-type/blob/main/src/com...
This all depends on the local energy mix at night. If the local mix has a lot of nuclear or hydro then charging at night is a good idea. If instead it has a lot of gas or coal then it is a bad idea. It depends on whether there is cleanish energy available at night. There is no single answer.
Some of them do, and then we end up with social media that doesn't take 15 seconds to load.

This site, for instance.
I live in a cold climate and it would take only take more than 50% of charge to keep the house warm overnight with an air source heat pump. Since I rarely use more then 10% of range per day driving this would easily work for me. With an LFP battery car the cycle usage wouldn’t even be a big deal.

It’s not impossible.
Did you see anyone suggest that you receive free electricity while at work?
The author should look at himself and his class for why the Central Valley is so bad. The Central Valley population is the serfs of a political system owned by a group that hates them.

Let's look at the blessings that class has brought:

- Failure of MTBE additive which poisoned groundwater, had to be reverted, and will take decades to pay off adding ~$1 to CA gas prices
- Pollution which flows downstream from Northern CA into a basin where it stays (those lovely SF winds blow that somewhere)
- A patronage system that spends all of its education money and qualitative goods in urban areas while denying those same benefits to the valley. Instead, economy and society destroying welfare is handed out that has low social capital.
- Political vengeance with diverting ~50% of available agricultural water to the ocean to protect for a variety of fish
- Buying off districts with political pork so that CA could have a veto-proof majority and not have budgetary constraints with the R minority. You thought the bullet train was a bug?... it was the feature. There was no intent to ever finish that train.
- Disabling of power plants via PG&E and a benchmark electricity rate that is based upon temperature ranges in.. you guess it, San Francisco. Combine punitive, non-linear prices with a location that gets in the 110s in the summer benchmarked on the temperatures of Northern California, their poorer southern neighbors pay substantially more in electricity.
- Massive illegal immigration. Those statistics were just legal. CA has well over 8 million illegal immigrants and almost all live either as transients or in crime-ridden areas where crime is not reported because of political inconveniences.

I could go on, but it won't matter. California hates the Central Valley, and hates the people in it. And that, coupled with sanctimonious how-could-this-be? ignorance is why I left.
> Do you know typing "torrent" in the start menu doesn't find "qbittorrent"? In 2022. It sums it all.

It's even worse. I want to open Notepad++ and begin to type

N -> notepad.exe

No -> notepad.exe

Not -> Notepad++

Note -> notepad.exe

Notep -> Notepad++

Notepa -> Notepad++

Notepad -> notepad.exe

The times I actually wanted to open notepad.exe is exactly 0 but the stupid algorithm sees me mistakenly opening notepad.exe because of the aforementioned stupid algorithm and recommends it even more often. It's like it's designed to create the most annoying search experience possible.
edit: but that's a lie. For 10hrs of scrolling, maybe I do 1hr of good work
I haven't watched till the end of it, but he's on and on about bodging rather than computer science, and all I've gotta say is "sounds like he wished he knew how to use linux". Worse is better is not computer science.
Elon Musk’s New Baby Is This Robot
Yeah, auto-layout (flex) was weird at first but more and more designers get used to it, it becomes a preferable foundation for layout. I think they will love CSS eventually, it's just the teaching/learning process that can get them there. At least currently Figma hype gets them `display: flex`.
> but it's really hard to actually pull it off. It requires that all the cars you service have the same battery pack, or that there are at most only a few kinds of battery pack to deal with.

Precisely the kind of thing government regulation is for. Don't specify what is inside the battery pack, specify the form factor, connection points and attachment mechanisms. Leave the battery companies to figure out the rest.
Having never been on TikTok and only seeing embeds of videos from it, this checks out.
Iirc:

-All the rings were made for elves except for the One. The 3 the elves ended up with were made in secret which is why they escaped Sauron.

With the elves warned (when Sauron out on the One), the other rings went to dwarves and men instead.

-Sauron lost the ability to shape-shift and appear fair with the drowning of Numenor, where he was.
I’d happily let the utility decide when to charge the car for best pricing and load usage so long as I can override it when I need from time to time at prevailing price. I’d also be happy to sell power back to the grid if I can set the price floor threshold since batteries do have cycle limits.
They have FastFibonacci as a separate category (with only a Python implementation, currently).
This might be useful for bootstrapping languages from other languages.

https://bootstrappable.org/
I edit one and clean all that crap out; usually 2/3 of the material ends up being cut, and I've had to write up explainers for journalists on how giving an interview is a different kind of journalism from writing an article. But doing all those micro edits, volume balancing etc. etc. is draining.

A 60-90 minute episode can take 10 hours of intense editing by hand, longer if there are quality issues on material recorded in the field. My stuff sounds good but I've been making arrangements to hand off a lot of it to a junior editor and incorporate machine transcription/partial editing to take care of the 'first pass', and I can't tell you how relieved I am.
sure, google "Macro hedge fund"
> AFAIU, Russia doesn't have any munitions comparable to these guided artillery shells or even the guided HIMARS rockets. Arguably these deployments in Ukraine may inch Russia a little closer to resorting to tactical nukes. Their military doctrine relies on tactical nukes as an answer to conventional weapons beyond their own capability, and that's part of the reason Russia has so many tactical nukes deployed (at least at sea).

What, Russias nuclear doctrine is to use nukes against the threatening of their own sovereignty and borders, not against conventional weapons that are better than theres.

What kind of pathetic military has a nuclear doctrine to drop nukes because the other country has modern technology?.

It doesn't matter anyway because Russias nukes are just for sabre rattling, Russia knows full well the any use of nuclear weapons, tactical or not in Ukraine will bring an overwhelming response that will likely just straight up end the war in Ukraines favour.
>this guy who was charged $50K for the installation of a dozen panels.< This sounds outrageous to me.

As I'm unaware of your location, I've added a search URL[1] which will IP geo-locate to your general area,

also you did not include the panel array power rating nor if batteries were included.

[1] <https://html.duckduckgo.com/html/?q=price:'15k>
It can incentivize rooftop solar which can supply the increased charging demand.
I think if you want to see an algorithm there in some language, you have to find out how to contribute that yourself. People starting projects like this don't know every language and don't have time.
Karabiner is incredible for making keyboard shortcut to do some pretty complicated task.
Obsidian, what a note-taking app! Makes Evernote looks like a dinasour.
Vim (and NeoVim), you learn it once and use it for everything.
Joe Biden is one the greatest oil traders of our time. We bought this oil at $30-$40, and are selling at $80-$100 per barrel.
Those two seem unrelated? You can have lynching of blacks as a method of control while also having lynching being extrajudicial punishment for whites?
No but you can trick your body into creating more Hypocretin/Orexin by taking Opiates https://www.science.org/doi/10.1126/scitranslmed.aao4953#:~:....
That's interstellar - which is a different set of problems. The main one is getting out of the gravity well of the planet.

https://arxiv.org/pdf/1803.11384.pdf

On a super earth, such as Kepler 20b ( https://en.wikipedia.org/wiki/Kepler-20b ) in order to lift 1 ton of mass to orbit, it would need 9000 tons of fuel -- about 3x larger than the Saturn V. To get the JWST off the planet, it would take 55,000t of fuel. To get that 45t of an Apollo mission off the planet, it would take about 400,000t of fuel over 100x more than the fuel needed for Saturn V.
You can use an open source virtual FIDO device instead of Apple's implementation:

https://github.com/bulwarkid/virtual-fido/
Thanks for being available here. I used to beta test for Audition and am your target customer for this so I look forward to seeing this.
Way more complex than that. Different packs have very different voltage and current delivery characteristics. A bunch of motor management depends on the battery pack characteristics, including things like regen braking.

Charge times are already under 20 minutes for the best cars and will likely continue to come down. Swappable batteries would be a massively expensive undertaking that would hugely limit innovation in battery and car packaging for a pretty minimal gain.

I’ve taken my model 3 on plenty of road trips and haven’t once thought it would be better with battery swapping.
> Dang blocked a link to a paper on myocarditis induced on teens by the vaccines.

I know many people have a good opinion of Dang, but this seems to be editing, rather than moderating.

Can you provide some more data about what happened, the paper in question, and if it was from a reputable source in a peer-reviewed journal, or preprint?

I'd like to know more about this. I've long talked about the myocarditis and pericarditis risks which are most pronounced with young males and young females based on the known cases, and the nordic countries withdrawal of the vaccines for young males.

Strangely, even the Novavax vaccine also appears to have that adverse event, allegedly at a vastly reduced rate though [1].

[1] https://www.ama-assn.org/delivering-care/public-health/what-...
Show HN: Miip.co – Your IP Address
What's it jacked into, though? There are some amazingly flat card skimmers out there these days, and even cameras to place on ATMs that are disguised as panels. It could be something with a 1/8" form factor that just looks like part of the interior of the bin. For that matter, it could be a whole modified bin installed by a disgruntled employee.
Non-deterministic in the extreme literal sense. Our (turbulent) atmosphere is chaotic, and the transsonic shock is a fluid dynamics problem happening in that chaotic environment.

Even with a perfectly still atmosphere it'd probably be fairly difficult to predict.
Apple are allowing those private keys to be synced to iCloud and I thought also synced to other devices a person owns.
The Making of Sonic the Hedgehog
Damn. I’m let down too.
do you have a link or something with more context about them and what they are doing?
I thought it was an intentional metaphor, coming from the "herding cats" line of thought.
That is very odd. I wonder what your Chrome browser's zoom is set to, that might affect its resolution.

If you create an issue on the repo, I'll try and figure it out when I have the bandwidth.
Some sort of open AST. Honestly "HTML" is pretty close except string typed attribute. `data-`|dataset is also pretty close.

> Some sort of open AST

well React is kind of that but it's not serializable. The "React Server Components" is trying.

---

We just need HTML but in form of AST so that it is serializable and programmable.
I wonder when Mozilla will make Gecko/Spidermonkey useful for other browsers, like WebKit seems to be.
I'm torn on WireGuard.

Getting it set up was really easy. I think it took about an hour, which included standing up a new OpenBSD VM to run the server. Configuring clients (iOS) was pretty straight-forward and reasonable. I don't have a feeling that there's some security hole lurking in the configuration simply because there's not a lot to get wrong.

In comparison, IKEv2/IPSec was incredibly painful, especially when you also create configuration profiles for iOS and have to issue and distribute certificates. Once I understood how it worked it made some sense, but there's always that nagging feeling that I've screwed up the configuration because there's just so many options to get wrong. I've probably spent six hours, not all at once of course, getting it working and set up "just so."

In spite of all of this, I'm continuing to use my IKEv2/IPSec setup. I have not figured out how to get WireGuard to do split DNS, whereas this was a fairly simple part of the IKEv2/IPSec setup. The other requirement I have is split tunnels, but I think WireGuard can do that fairly easily.
This question came up in the discussion at the conference. There are several reasons:

1. The format specifiers for those types differ from the ones currently in use for the kernel. Nobody uses or wants to use PRId64 and PRIu64. If they did, they'd need to change thousands of occurrences (which is admittedly not too hard with tools like Coccinelle).

2. The stdint.h types are just typedefs (it's not like the compiler understands them intrinsically). And they're defined in terms of short, int, long, etc. The sizes of these are platform and compiler dependent. On the other hand, the Linux kernel tells the compiler "you must make long 64 bits if you are a 64 bit system" which may conflict with the defaults and throw those types out of whack. (at least, that's how I interpreted one of the points in the room, I could be wrong here)

3. Kernel is already using u32/s32, it's a smaller and easier change to go to u32/i32 in Rust style. People tend to find the stdint.h names to be verbose.

4. stdint.h brings in additional headers. I'm not sure if that's a problem or how - maybe in the Linux uapi headers?

There seemed to be general concensus in the room that stdint.h wasn't used for good reasons, so if these don't sound right, it's probably because I misinterpreted them.