skysight-inc/HackerNews huggingface dataset:
I fully agree that these simple exercises can get you quite far. I have made similarly good experiences by aiming for 50 cleanly executed push-ups per day. But you will soon have to diversify them, though that requires simple equipment only: a high horizontal bar for pull-ups and dead hangs is surprisingly hard to find outside of a gym.

Aerobic exercise, which should really also be part of a workout routine, is significantly more time-consuming though, and requires proper equipment. Most importantly a new pair of good running shoes every year or so to reduce wear on the joints.

So yes, even with kids or similarly demanding circumstances it should be possible to accommodate moderate exercise in most peoples lives. But the result probably won't be body-builder levels of muscular development.
They're certainly not airtight. There's intentional leaks in a pressure cabin. This is used to regulate the pressure, there is constant engine bleed air flowing in. If you allow more air than it leaks out the pressure will rise, if you lower the airflow it will drop. This mechanism also takes care of refreshing the cabin air. There's also some catalytic conversion going on to remove the high ozone content that's present at high altitudes.

But I think it's pretty hard to ditch a plane without damaging the fuselage to some extent.
> have about the same level of protection

They don't

> have less lock-in

I have physical security tokens from multiple vendors which support passkeys. I have Windows machines with passkeys. I have Android devices with passkeys. Tell me again how it is a vendor lock-in? I'm not seeing it.
For your case 1 my extended obfuscator does do preprocessor style stuff, but that is a giant hack.

For case 2 you can use esbuild, not something like webpack. Sub second builds are completely normal if you pick the right bundler. Tbh esbuild is the killer thing that moved this mode of js development into being acceptable from a total mess.
There are quite a few of these "better C string" idioms floating around.

Another one to consider is e.g. https://github.com/antirez/sds (used by Redis), which instead stores the string contents in-line with the metadata.
This is not true at all. `setName` queues up a state change for the next render cycle, and has no effect on the current render. You cannot actually edit state directly, so that multiple handlers will all read the same state value regardless of state changes queued up for the next render.

const [state, setState] = useState(0)
const func = () => {
console.log(state) // 0
setState(40)
console.log(state) // 0
}
I'm glad we have so many people willing to talk about their experiences. No shame. Just wanting everyone to get better. Thank you for sharing.
Helen Caldecott has a very hard time explaining how "unsafe at any level" actually works in practice against evident Radiation Hormesis. She is on a mission and I laud the mission for the outer goals, but mis-using science to get there? hard to feel ok about this.
The Technology the Trump Administration Could Use to Hack Your Phone
How many did?
Visit Williamsburg in New York or rural Pennsylvania and you’ll find other religions that are painfully incapable of integrating

Incapable, no. They simply choose not to integrate.

And to not give a fuck about what the dominant culture says about this choice.
> “ Let’s be honest, most people aren’t using these big trucks to the best of their capabilities,” Odom said.

understatement of the year. Many folks in tech, finance buy these trucks as some status icon to fulfill some insecurity.

The amount of tech junk filled in these monstrosities is almost mind blowing. If even one of these systems goes to shit (ie, front camera system) then they are effectively blind.

These vehicles need to be reclassified as requiring a CDL and renewed and drivers tested on a yearly basis.
> But hackers and the EU and US bureaucrats think that being a leader in a market has to be punished for being a "monopoly".

This is a provocative claim. Do you have any examples?
Good for them for trying! I've been in the auth space for a few years and am surprised that a stateless AWS lambda for doing the exchange. (At least I haven't seen any.) So it is nice to see some serverless innovation.

Thoughts from a quick scan:

- They support PKCE (yay!)

- They suggest storing access tokens in localstorage (boo!)

- They support JWKS (yay!)
Lava up close in slow-motion during volcano eruption in Iceland [video]
People say that but as someone trying to actually do that, it is freaking hard to commit to 3-5 years of virtually no salary to maybe get to the same outcome you would have had with a funded business.

You need to sell a lot of 10$/month licenses for it to even viable to a 2-3 people startup in a developed country. There is also the cost of opportunity to consider in that.
Generally people who assert that Passkeys are "lockin" also object to the notion of using a Google account as your primary online identity. Of course, you don't have to, but that's the concern: a world where they will have to.

(You should use a Google account as your primary online identity, unless you have religious reasons not to. Back up your authenticators, set up back up accounts, all that stuff; Google doesn't want you locked out any more than you do, because that requires them to attempt customer service, so they have a bunch of tools here.)
Posting just because it's cool and relaxing after a long day (in it's own way).
The woke ideology wants to add all of this nonsense regulation and make it hard for real entrepreneurs to generate value in the wonderful system of capitalism. /s

P.S. this is also a good summary of every all in podcast episode post election
Could anyone recommend some introductory reading on orbital math? I had an idea rolling around in my brain for a while to make a little website simulating how various mathematicians and philosophers visualized the moon's orbit over the centuries, but I'm not great at math, lunar history, or math lunar history, so I'm curious where I'd get started on the reading.
That's great and all, I like them fine, but they're not a one-person-band.
Absurd. Also worth noting that the government plans to share state intelligence information directly with corporations:

https://news.ycombinator.com/item?id=42413559
Those were different times though. Aviation safety has become really good especially because of all the thorough investigations and things actually getting fixed. In those days passenger jets were fairly new, there was still a lot of cowboying around in cockpits (no 10.000 foot rule, no crew management standards), there was no standard phraseology (which caused the Avianca fuel exhaustion crash). So many things have been learned.
Ghost Engineers
I've seen this come up here and elsewhere before, always very cool! I always wonder who's actually using it for production workloads, in what context, etc.

It feels like so much of the world focuses on docker images that alternatives are pretty hard to get going.
To be fair, that's been happening with "terrorism" for a really long time.
https://archive.ph/a3jjn
Interpol wants everyone to stop saying 'pig butchering'
Agreed with this: the real question is always to ask how it got to that stage.

Like a reasonable answer at all times to this problem is things like: why did you feel like you had to work this way? Why was it even possible to do so? Why was no one else aware this was happening? Why did no one else feel empowered to halt the process if they did know? etc.

That sort of personal fuckup is just...never actually a personal fuckup, not when the collateral damage is so large. "I was logged into production as superuser" has the obvious follow up issues of "why was it easier to do that then have a correctly limited account?" (this one happens all the damn time - want a new account? Well here's 10 pages of justifications we need...also no versus "fix production now, just grab superuser from the password DB...)

EDIT: And I don't say this as (1) someone who hasn't done this and (2) someone who hasn't ever been using superuser to debug production.
> It is not supposed to leave the secure storage.

"Secure storage" defined as the vendor's cloud services but not the user's eyeballs.
It's an interesting idea, but I'm not sure it actually accomplishes much.

I do some purple team work for my company occasionally, and if I scanned a network and got back a bunch of delayed traffic and an active host at every IP, I wouldn't think that I had 255 hosts to check, I'd think the scan failed. I'd tweak the parameters and try again. Unless you're setting your actual servers to respond differently, it wouldn't take much trial and error to filter out the noise. And once it's out that this tool exists, and the parameters are hard set by default (3 ARP calls to non-existent IPs), it'll just be another saved scan setting I can flip to if I get all the noise back.

You might be able to make this harder in the short term by varying the parameters (e.g., 2 ARP scans, only return a host for every third empty address, etc.), but then your solution is not as effective as it takes me less time to check each host for life.

Also, do your fake hosts respond to Telnet on their fake ports? Do they respond to ping? Do they show up on DNS lookups? If you're not altering the traffic at some deeper level or employing something like a custom honeypot that dynamically reacts, these fake hosts are just going to be another static artifact to filter out in the long run. The more straightforward you make the response to a scan, the easier it'll be to dismiss it as noise rather than something to investigate further.
Be glad you weren’t on Ting.
You just put your postal code and it shows all prices according to your municipality, it will be as exact as you can get. Just go to amazon.jp, it should have a text input somewhere for your postal code to calculate the tax.

In terms of gaming, hmm… I guess, you could add wrong municipality’s taxes when you show the original price, and switch over at the checkout. But my assumption is that would be deemed illegal, as you are knowingly misleading the customer. Some in person stores still try a bit to mislead you by putting the full price in smaller font (like including the consumption tax), and exclude it over it in the bigger font. But I can still accept that, as I am informed about the full price somehow.
Hastert Rule
With SeleniumBase, you can bypass CAPTCHAs with one line of code:
`sb.uc_gui_click_captcha()`
I’ve been working on a project called CurrencyQuickSwitch, a web-based currency converter designed to be fast, simple, and user-friendly. I wanted something less overkill and minimalistic. The tool allows users to quickly convert between various currencies with real-time exchange rates.

The main features include:

-Instant conversion: Get real-time rates for over 150 currencies.

-Sleek, minimal design: No complex features, just a clean interface that gets the job done.

-Cross-platform: Works seamlessly across devices—desktop, tablet, or mobile.

As a newcomer in web development, I wanted to create something that makes everyday currency conversion simple and efficient for anyone who deals with multiple currencies or needs it handy.

I will add more features and tools into it, but won't lose focuse on minimalism.

I know that there are very talented personalities roaming around in this platform and I need feedback-
Feel free to try it out and let me know what you think! Any feedback is appreciated.
"On average, SUVs are less expensive to insure than other vehicles, especially sedans or trucks."[1]

1: https://www.caranddriver.com/car-insurance/a36331753/are-suv...
Strange, the number of recent stories about Chornobyl (Chernobyl)

worms (4+3 points, 10 months ago) https://news.ycombinator.com/item?id=39633148 https://news.ycombinator.com/item?id=39610932 (+recent)

frogs (6 points, 1 month ago, 1 comments) https://news.ycombinator.com/item?id=42086035

wolves (6 points, 10 months ago) https://news.ycombinator.com/item?id=39323364

dogs (166 points, 2 years ago, 49 comments) https://news.ycombinator.com/item?id=35024160 (+recent)
So why is the alternative, which is having multi-billionaires having all that power to decree what is true/acceptable better?
Maybe I’m not your target audience but Yikes! Your pricing was unexpectedly high.

Also it’s not clear what premium features were or why MFA is a premium feature but only available at top tiers.
Could be clean room air too. Or maybe you aren't allowed to smoke near a fab.
This all kinda obvious if you're familiar with the 386 hardware and early PC history.

The OG 8086 was a chip from a different world than what a modern developer is used to (even a modern PC developer). The 8086 is definitely rooted in the tradition of earlier CPU's of the first days of home computing in the 1970's. While it had segments instead of banks, the 8086 was a near-contemporary and near-peer of classical bank-switched 16-bit CPU's of the 1970's, like the Zilog Z80, Motorola 68000, or MOS 6502.

After the IBM PC had already gotten popular, people wanted to bring protected mode OS's and software to the PC (especially as these were standard features on the "big boy computers," i.e. time-shared multiuser systems like mainframes and VAX's). So Intel made the 286 and IBM put it in the PC/AT and its successor, the PS/2.

The 286 suffered from a number of design issues. It was still 16-bit. And critically, you couldn't easily mix protected mode and real mode. This meant anyone who wanted to run a fancy new protected-mode OS had to sacrifice their entire existing userspace of DOS software. Interest in the feature was extremely tepid; most people simply used their 286 as a faster 8086.

For the next chip, the 386, Intel learned from those mistakes. They added all the infrastructure needed to virtualize a complete 16-bit real-mode system (I/O ports, memory ranges, interrupts). The 386 has three operating modes: Real mode, protected mode, and virtual 8086 mode. The latter is what they use for DOS emulation in OS/2 and Windows 95.

The OS/2 2.x DOS emulator was pretty amazing technology back in 1992. Equally amazing is that there was little technical reason it couldn't have been released much earlier; the 386 debuted in 1985!

It was around this time that OS developers basically decided "Segments were a mistake. Let's just give every process a flat address space and use the MMU to manage memory with pages rather than segments," a design decision doubtlessly helped along by the fact that the 386 MMU could manage memory with pages rather than segments. (This was, in hindsight, a solid design decision that has stood the test of time. C programmers these days have no idea what a far pointer even is, and it's probably better that way.)

Unfortunately the 386's protected mode had its own fatal flaw: It was only designed with the necessary traps to emulate a real-mode guest. Hardware support for emulating a protected-mode guest didn't appear until well after the turn of the millenium, with Intel Vanderpool and AMD Pacifica. (Not coincidentally, modern cloud computing and VPS hosting -- which we all take for granted today -- started to appear not long after. Before this time, "hosting" was understood to mean "rent a whole server" or "rent a UNIX / Linux shell account on a shared server.")
WTF! Definitely paid corporate shill. Legalized corruption in the USA. "A judge in Texas blocked a rule that would cap credit card late fees, and an appeals court in New Orleans blocked a requirement that airlines disclose baggage and other fees upfront."
Nitpick: Scottish lager only please
> Under New York law, a terrorism charge can be brought when an alleged crime is “intended to intimidate or coerce a civilian population, influence the policies of a unit of government by intimidation or coercion

I'm not reading anything against intimidating/coercing businesses here... /s
Interesting. Developer experience seems nice. Any plans of adding the concept of unique jobs or scheduled jobs?
Discussion (9 points, 5 comments) https://news.ycombinator.com/item?id=42446356
Two Shticks
GP mentioned "sticker price", so I suspect they possibly meant physical goods or services. If you're in a retail store, there are no real obstacles (except for business unwillingness to be honest to the customer) to calculate and disclose the final price. A store knows where it's located, and that's where the sale happens.
I don't understand why people even think about selling $10/mo licenses.

Just go sell $2-4k/mo SaaS to a medium sized traditional industry that has ancient, crummy software with a target customer employee size of 50 - 1,000 people.

Customer problem discovery is easier, you get reputation network effects within the vertical, you gain trust because you learn the industry lingo, you can actually solve peoples' problems because you're not balancing needs against unrelated industries, they're willing to pay, and once you get 20 customers you're doing pretty OK.
> That's not crank-ish in and of itself, there's plenty of real research to be done on altered mental states. But, they seem a bit too excited about the altered states themselves.

How so?

> Also the QRI page is really well designed and organized, which is generally not a feature of people who aren't thinking straight.

In my experience, LSD/DMT doesn't necessarily cause one to "not think straight", especially if they're a regular / long-term user. It absolutely depends on the person though.
> when we figure out what AI is good at and what it is not

We know. It's good at making stuff up. It's bad at facts or for generating things that withstand scrutiny.
Discussion has formed in a later post (9 points, 5 comments) https://news.ycombinator.com/item?id=42446356
java: write once, test everywhere
Show HN: I made an interactive map of virtually every ski resort in the world
There are 41,000+ zip codes.
What's a matrix LED?
His defense fundraiser is already north of 140k: https://www.givesendgo.com/legalfund-ceo-shooting-suspect
Do you expect there to have been studies done on what percentage of the population puts profit over everything else?

> What does "virtually" mean?

virtually /vûr′choo͞-ə-lē/
adverb
Almost but not quite; nearly.
The real problem is that trust in legacy media hit rock bottom right as we enter the era where we would need such trust the most. Soon enough, nothing you see on video can be believed, but (perhaps more importantly) nothing must be believed either.
Also it's extremely rare to find no pilot error. The regulations broadly say "pilot must get acquaintanced with all aspects regarding flight safety" intentionally, so pilot could not say "I didn't know" -- must have known.
Heck, I'll do it happily. I don't enjoy screwing up, but owning your mistakes is the first step to improvement.
Oops! Thank you for the notes. I'm going to rewrite it again and take them into account.
How much are you using your ChatGPT pro subscription?
I wanted to figure out how many tokens I was using and if it made sense to use the API and pay granularly instead of the pro plan for chatGPT ($200/month).

So, I built tokount. It is almost entirely built by prompting the replit agent. Except for the tokenizer, which was written with some help from chatGPT o1-preview.

It cost me approx. $45 just for prompting the replit agent, and a few additional dollars for database and VM. Took about 2 full days and did it on a mix of phone and laptop. Needed the laptop for tokenizer, most other features could be built just on the phone.

Conclusion: I’m definitely better off using the API. It’s surprising how much text is needed to reach 1M
Tokens.
Was it the apology that affected the decision or did rolling down the window reveal demographic information that make it easier for them to justify in their mind going easy on you?

For example nobody except another old lady is gonna scream at an old lady.

Edit: Some of you seem to have missed the point about human nature here.
A cool aspect to using 3x3 homogeneous matrices to translate in 2D is that the 2D translation is actually a shear in 3D along the z = 1 plane.

https://youtu.be/AheaTd_l5Is?t=263
I don't think it holds up in court, however.
Optimizing Ruby's JSON, Part 1
"Collaborated" is overdrawn. While a very significant portion actively collaborated, it's more accurate to say that the broader majority simply acquiesced the Occupation.

This is not to diminish moral responsibility (which I think is an essentially moot topic at this juncture). But rather to bring the focus back to how these regimes actually worked.

You didn't need to be an active collaborator. You just had to not actively resist, and keep your mouth shut (or at least keep your grumblings insubstantial and subdued).

Rather like in corporate environments today.
Nice looking site!

Has the code been open-sourced - how could I recreate this visualation for other keywords?
Two failing companies joining forces to fail together, a tale as old as time.
Yes, contributing mythology is in fact worse than contributing nothing.
Mathematical Methods of Classical Mechanics by Arnold is a good introductory book.
Sustainable Hardware Choices
Page title: AI Token Counter & Cost Calculator

If the title includes the name of the site, please take it out, because the site name will be displayed after the link.

Otherwise please use the original title, unless it is misleading or linkbait; don't editorialize https://news.ycombinator.com/newsguidelines.html
I wish they'd price an i30 EV into the segment the BYD dolphin is in. The Ionic 6 is going up scale. it's a nice car for people with $70,000 in my economy. I want a nice car for people with $25,000 in my economy and this isn't it. (oz)
Eh, the technology stack they discuss is directly accessible, though.

I read this as an advertisement, meaning if everything it working well you don't need to manage the database. Which is probably how it works 99% of the time in fairness.
I suspect being fully surrounded by earth most of the time helps shielding against radiation a lot.
AI ripped the cover off of a dirty secret of higher education:

The bulk of assignments are useless busywork using outdated formats, and educators and educational institutions haven't been motivated to change it.

Instead of realizing this and embracing the theories and models of newer education sciences, most institutions have become near ideologues with their inertia.
Yup - it's just a dumb epithet, in this context.

Which ironically suggests a certain authoritarian/bullying streak on the part of the person employing it.
How to Stop Junk Mail
haven’t banned them yet but there’s time… :)
Linear regulators waste a lot of power and generate a lot of heat, so that's why they don't use them.

Switching regulators can be used without having PWM on the LEDs though.

LED flashlights use constant current sources, I don't know if that's infeasible or not for some reason on high-power car headlights.

Personally I wouldn't be surprised if it's just to save the 47c. The car industry is competitive.
I didn't know there were AoC sicophants too (I thought only rust had those), let me rephrase it for you "intentionally misleading or vague problem descriptions to add to the challenge" better? Or are still offended by my opinion?
You don't need wood PLA, I have a Bambu matte ecru PLA and with fuzzy skin it looks almost exactly like this.
I've Been Doing Blockquotes Wrong
(2022) Discussion at the time (366 points, 278 comments) https://news.ycombinator.com/item?id=31625472
> By what legal means is this happening?

Article I, section 1 of the Constitution: ‘All legislative Powers herein granted shall be vested in a Congress of the United States, which shall consist of a Senate and House of Representatives.’

It doesn’t say, ‘Congress may delegate its legislative Powers to the Executive.’ Arguably, the ‘shall’ language forbids that! Article I, section 8 does give the Congress the authority to pass laws necessary and proper to execute its regulation of interstate commerce (among other things), but … it’s not necessary to delegate legislative power in order to execute the law.
Both measures failed to stop the spread of COVID

And were never intended to.