MurphyA/hacker-news huggingface dataset:
by spyrja | 2025-05-08 00:57:22+00:00
Actually, the problem is that the algorithm is having to calculate DBL_MAX+DBL_MAX, which of course is going to exceed the maximum value for a double-precision number (by definition). That isn't a very realistic use-case either, but in any case you could just clamp the inputs like so:

double random_real(double low, double high, int (*random_bit)(void)) { if (high < low) return random_real(high, low, random_bit); const double max = DBL_MAX / 2; if (high > max) high = max; const double min = -max; if (low < min) low = min; double halfway, previous = low; while (1) { halfway = low + (high - low) / 2; if (halfway == previous) break; if (random_bit() & 1) low = halfway; else high = halfway; previous = halfway; } return halfway; }
by api | 2025-05-08 00:57:30+00:00
It’s telling to me that like 2/3 of the replies to my comment think I’m arguing for extending inclusiveness to Nazis and KKK and such.

That’s not what I said. I said rural Southern and Midwestern white working class culture. Many tend toward conservatism but the majority of them are not raging frothing at the mouth bigots. I was not talking about committed ideological hate mongers. I was talking about regular people and the way they feel ignored and mocked for where they come from or their cultural trappings.

Their conservative views are the views that were instilled in them by family and literally their whole culture. It’s absurd to expect large numbers of people to deviate far from such things, especially when the other side gives off condescending vibes toward them. That only pushes them to double down. It’s not how you change anyone’s mind.

When I think about ideologically committed bigots I honestly think more about Silicon Valley adjacent circles these days. Turn on “show dead” on HN to see dead comments and you’ll see a parade of race science defenders and stuff like that”low IQ people are not human.” (One I saw a week or so ago.)

I’ve seen comments around here from time to time that are more chilling than anything I’ve ever heard from Midwestern rural types. My all time favorite was to the effect that “the idea that all human life is valuable is a recent one, and maybe not one that is working out.” (Paraphrasing.) It about literally made me shudder. I’ve heard the N word in rural Ohio, but I’ve never heard anyone attempt an intellectual deconstruction of the value of human life.

Visit forums that are friendlier to the tech right like anything crypto adjacent and you’ll encounter much worse things. Human life is only valuable insofar as it scores high on an IQ test or makes money.

But coastal tech people don’t get mocked ruthlessly as inbred hicks in spite of the fact that coastal tech people fund the new right and are its intellectual backbone. Classism in the biggest “ism” in this country, and it’s the one that carries the least stigma.
by somerandomqaguy | 2025-05-08 00:57:39+00:00
Kinda. Power delivery is wildly different between an ADV and a sports bike.

On a sorta dual sport like a Kawasaki KLR650 you get peak torque from the engine at around 2500 RPM, which is comfortably in school zone speed limit territory.

Something like the Yamaha R6 won't really start feel like it's pulling until you get the engine above 8000 RPM at least and then you getting peak torque until around 12,000 RPM. By then you're doing 70kph to 90kph in first gear.

Sports bikes are more comfortable ridden aggressively. Unfortunately that also gives a lot of riders a false sense of skill; right until they moment run into a situation above their skill level and they crash while panicking.
by ty6853 | 2025-05-08 00:59:07+00:00
That's normal. Pretty much no residency or citizenship by investment programs will refund the 'investment' unless it is denied during the initial application process.

People buying that stuff usually don't care and it doesn't seem to have much effect on the other programs, even ones that have cancelled even citizenships in the past (like Saint Lucia) without returning the 'investment.'
by jjk166 | 2025-05-08 00:59:15+00:00
The methods of killing cephalopods for commercial fishing aren't exactly what I would consider humane. Generally they are asphyxiated, thrown into freezing brine, or simply clubbed to death. There is a also a process called "reversing the mantle" which I can't find much information on but it is reported to be one of the less humane ways and frankly just the name sounds pretty terrible. Ironically the most humane method, slicing the brain, is avoided because customers don't like blade marks specifically because they believe it indicates mistreatment.
by __MatrixMan__ | 2025-05-08 00:59:35+00:00
That has been my experience as well. I consider it a bug. I'm not proposing that we all just try harder to be altruistic, but rather that we craft some institution for rewarding people who have solved problems for many without encumbering those solutions with a monetization scheme.

Make like, a week long "holiday" where you either verify that your company has made an adequate donation to the OSS maintainers that make their products possible, or we all just go on strike for that week. Or... something. I'm sure somebody has a better idea than mine, lets get creative.
by bickfordb | 2025-05-08 01:00:09+00:00
In my experience in my city [Portland, OR, US], PE owns most of the large clinics (NW VCA, BluePearl, Banfield). There are still a lot of smaller vets, but it's harder to get an appointment with them and most don't do urgent care/24hr emergency or have an app where you can do scheduling.

- In an emergency/urgent care situation, you can't really do a price comparison/shop - The pricing is opaque until they you receive the service. Even in routine/non-emergency situations, you get a quote for the services often 20-30 minutes into your appointment, even for annual exams, so it's pretty obnoxious to switch services at that point. - FWIU, Banfield and BluePearl both have a strategy where have lower cost exams to get patients in the door, but then make that up in super high testing/drug fees, e.g. a $300 UTI test that labs charge $30-100 and 10x upcharges on antibiotics readily available from Chewy/neighborhood pharmacies.
by charles_irl | 2025-05-08 01:00:29+00:00
We looked into this at Modal! We put out vGPUs but didn't see demand and our internal benchmarks for MPS and Green Contexts didn't indicate a big win.

The tricky thing here is that many GPU workloads saturate at least one of the resources on the GPU -- arithmetic throughput, memory bandwidth, thread slots, registers -- and so there's typically resource contention that leads to lowered throughput/increased latency for all parties.

And in a cloud (esp serverless/auto-scaling) computing context, the variety of GPU SKUs means you can often more easily right-size your workload onto whole replicas (on our platform, from one T4 up to 8 H100s per replica).
by rendx | 2025-05-08 01:01:34+00:00
EMDR has been shown in many studies that it can be highly effective also for complex PTSD, see eg. a recent meta-meta-study ( https://doi.org/10.1016/j.janxdis.2025.103017 ). It very much and more depends on the relationship with the therapist, and how they integrate EMDR in a "complete" therapy. EMDR is a technique that can be used in many ways, not a full-fledged form of therapy.
by al_borland | 2025-05-08 01:01:37+00:00
I have an AppleTV on 2 different TVs and it works to change the volume on both of them.

Sometimes it stops working, but a reboot of the remote fixes it. The idea that I need to reboot a remote hurts my soul a little, but at least it works. Hold the TV and Volume Down buttons until the LED on the Apple TV turns off. Wait a bit and you’ll see a notice that it disconnects. Wait a while longer and press a button (volume seems safest) and it will connect again.

There are also some settings around the remote and volume. It can be set to use HDMI, the TV’s IR, and there is a learn option. The TV I’m currently on is using the IR direct to the TV… I guess this is why it doesn’t work when I try to use the app, but I almost never use that anyway.
by SOLAR_FIELDS | 2025-05-08 01:02:11+00:00
> FAZAL: Yeah, I thought the same; kind of creepy. But it’s far worse than that. I was talking with someone from another team and they said, go to facebook.com and try to log in with this e-mail and password. We were able to log in to these people’s Facebook accounts.

This is why MFA needs to be a requirement everywhere
by rendx | 2025-05-08 01:03:09+00:00
It is one of the few forms of PTSD therapy where there is plentyful research about its effectiveness? In Germany, it is basically the only trauma processing technique covered by health insurance, because of its proven track record.

see e.g. Psychological interventions for adult posttraumatic stress disorder: A systematic review of published meta-analyses (2025) https://doi.org/10.1016/j.janxdis.2025.103017

State of the science: Eye movement desensitization and reprocessing (EMDR) therapy (2024) https://doi.org/10.1002/jts.23012
by int_19h | 2025-05-08 01:04:20+00:00
On the contrary, it turned out to be exactly as common as predicted, which is why you see so many people going "this AI assistant thing makes me 100% more productive". It's precisely those tasks. And they are handled in precisely this way by humans, too - throw whatever the popular stack of the day is at them. And sure, it results in inefficiencies and crappy code, but that code is "good enough" wrt what the customer wants it to do.
by sherdil2022 | 2025-05-08 01:05:34+00:00
In RTL languages, it is flipped. And to answer your question, it is more about what feels intuitive, readable, and consistent with user expectations.

For languages that read left to right, placing your messages on the right creates a natural conversation flow — incoming on the left, outgoing on the right.

And consistency - it's a widespread design convention (used by apps like WhatsApp, iMessage, and Facebook Messenger), which builds user familiarity and reduces confusion.
by shayanbahal | 2025-05-08 01:05:36+00:00
> Posting my shots on instagram was always painful, so I created an app to fix the padding issue. (padsnap.app)

I "vibe coded" this app last week for my own sanity, and got a fascinating reaction and feedback from the only places I shared this app in (2 photography subreddits). The amount of positive feedback was beyond my expectations. Also got really good direct feedback and feature requests that made the experience much more fun to do.

Open to any suggestions, comments, feature requests, or simply if this tool is helping you I'd like to know.

-----

- /r/AnalogCommunity https://www.reddit.com/r/AnalogCommunity/comments/1keqwmv/po...

- /r/photography https://www.reddit.com/r/photography/comments/1keq0sf/postin...

-----

The feature list is now much bigger than the post from reddit.

> PadSnap is a simple web application that pads your photos with customizable borders so they fit Instagram's recommended post dimensions without cropping or quality loss. Supports batch processing, custom colors, and instant previews.

Key Features:

- Modern, intuitive interface with light & dark themes

- One-click photo processing for Instagram-friendly dimensions

- Customizable borders or blurred image backgrounds

- Batch load and preview with ZIP download

- Works entirely in your browser – no photos ever leave your device

- Progressive Web App (PWA) support for installation on any device

- Works Offline too.

- Will always be free and ad-free.

-----------

## Technical Features

- Responsive Design: Mobile-optimized with adaptive UI for all screens

- Browser Compatibility: Works across all modern browsers

- Image Processing:

- Lossless PNG output for maximum quality - Smart blur algorithm optimized for different devices - High-quality image resizing with proper smoothing - Zoom/scale controls for perfect framing

- Performance:

- Client-side processing with no server uploads - Adaptive processing for mobile devices - Memory optimization for handling multiple images - Timeout safeguards to prevent UI freezing

- Installation:

- Complete PWA support with offline capabilities - Small footprint (less than 100KB core files) - Installable on iOS, Android, and desktop

- Customization:

- Custom color picker for borders - Adjustable blur strength - Custom dimensions support - Dark mode support with system preference detection

------

* technically not my first, but the first that actually finished and I spent a lot of time arguing over tiny CSS issues with Claude :)
by n_ary | 2025-05-08 01:05:54+00:00
> How can a glorified NLP app be equated with being the backbone of economic development and a path to AGI ? So many people have been fooled by marketing.

Regulators are still figuring out this “AI” and oAI must move into as many market to sustain their valuation and future before regulations start to close many open doors.

Also, when entire EU comission makes “AI” a core focus, all other governments are having a FOMO, which is the most fertile opportunity to entrench oneself quickly before everyone realises the smoke and mirror of “productivity gain” song means just making another layer of middleman mandatory for everything(see Apple pushing towards modifying Safari to be AI first).

Also what climate change? Everyone was being shamed into indignation recently for their carbon footprints, only to wake up to massive power infra expansion and Nvidia/Amazon/Msft announcing that everything is on the table including burning more fossil fuel to power the energy demand(utilities are usually often govt controlled and hence a social cost overall).
by const_cast | 2025-05-08 01:07:04+00:00
We can already murder with impunity. Just get a few people together, form a company, and you can do whatever. Even crimes against humanity won’t get you in prison, probably. At worst you’ll lose some cash and be demoted to “normal person”.

How many people has UHC killed? I don’t know, it’s really hard to measure. Besides the people killed because they didn’t receive funding for care, there’s also the plethora of practices insurers enforce. Some, maybe most, of those practices are non-optimal, so some subset of people are dying that shouldn’t. Oh well.
by ClumsyPilot | 2025-05-08 01:07:08+00:00
> fancy autocomplete word guessers are replacing governments

UK has had them in government since 2022, or maybe since Brexit/ Teresa May with her nickname Maybot.

The decline in quality of governance has been so severe, that I’d wager you would not see a difference. Both sides of the isle seem to be full of unintelligent or inexperienced people that do not believe in anything or have a vision
by jcelerier | 2025-05-08 01:07:21+00:00
no, it is. it's explicitly mentioned that the distributor has to provide for instance build instructions.

> The “Corresponding Application Code” for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work.

> If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.

The only thing you don't have to provide is e.g. the platform toolchain, headers, etc. e.g. you don't have to ship Windows.h and cl.exe if you are making a windows app that comes with an LGPL library.
by arp242 | 2025-05-08 01:07:27+00:00
I've never had any problems with my weight until the last year or so; guess I'm getting old? Currently ~106kg at about 2m, which puts my BMI just in the "overweight" category (imperfect measure, but still). Basically, I have what you'd call a "beer belly", which is very new for me. I don't like it.

Reading between the lines, I have the impression that you were fairly strongly overweight ("obese") and struggled with more serous weight issues throughout your life?

I share the concern of the previous poster not so much for people like you, where "lose weight to a manageable level ASAP" is generally a good thing, but for people like me who are "a bit fatter than they'd like" but not necessarily "obese". If you'd meet me, you wouldn't necessarily call me "fat".

Previously I would just eat whatever (not super unhealthy, but also not really healthy) and not really exercise beyond my stubborn insistence on walking or cycling everywhere.

I don't see weight loss rugs as a net positive for me. I made some positive changes to fix this, and if I were to take Ozempic I'd just revert back to my lazy git self, and not get all the benefits that a better diet and exercise give me.
by K0balt | 2025-05-08 01:09:49+00:00
Yes, strain relief is key. Even more so for soldered connections where vibration is significant. But really, no joint is immune to problems without some kind of strain relief to prevent stress concentrations at the rigidity transitions.

I agree that soldering probably won’t produce any issues if the wire is not subjected to significant flexure or vibration, or if it properly strain relieved and secured to a bulkhead so there is no movement at the limit of solder wicking. It’s just that I’m usually too lazy to do that perfectly, so I tend towards more forgiving solutions in vehicles and equipment. But sometimes, solder is the one true way, and I always feel better about soldered joints even if I know I’m statistically wrong.

As for wire being 100 percent copper? I’m not sure, but I have definitely noticed different rigidity of copper fibers. Might be impurities, annealing, or work hardening from the drawing process… but there is definitely variation. Some wire can be really susceptible to fatigue cracking, while others seem relatively immune. Not sure of the why.

Also, don’t even get me started on copper plated aluminum fiber wires.
by autoexec | 2025-05-08 01:10:29+00:00
If you think "consciously" is a loaded term, wait until you get to "truth"!

Maybe it'd be easier to try another definition:

2 a(1) : the power of comprehending, inferring, or thinking especially in orderly rational ways : intelligence

The same source defined intelligence as:

a(1) : the ability to learn or understand or to deal with new or trying situations : reason also : the skilled use of reason

And here we get the core of the issue. AI doesn't "think". It doesn't comprehend or understand what it does. There is no actual "I" in AI that didn't come from the people whose works were used to train it. At least not yet. I question if LLMs will ever be capable of anything more than producing a convincing affectation of the process used to produce the material it was trained on. I suspect that AGI will have to come from elsewhere. That doesn't mean that what passes for AI these days can't be useful, but I don't think it's capable of reason and as far as I know, nobody has proved otherwise.
by simonvc | 2025-05-08 01:10:45+00:00
Was drinking in a bar in Espoo in 2012 or 2013 and heard this from someone at rovio. At the time they used Riak db and basho were onsite and we asked why they didn't enable inter server encryption. "Because nsa pay us 10m not to". Guess nsa pulled the Riak cluster protocol off the aws fibre.
by jwr | 2025-05-08 01:11:02+00:00
The best technologies aren't always the most fashionable technologies — FoundationDB is very good, but it isn't flashy or fancy and the concepts that it addresses are hard to understand, so it isn't that popular. It also doesn't help that FoundationDB is really a toolkit (foundation), rather than a complete "here's my objects, store them" database.
by fsckboy | 2025-05-08 01:11:48+00:00
2014? this is really old news, and there's no smoking gun in here. it's not like they are looking through your camera or listening to your mic, it's just "who is using this app" type stuff, and the NSA denies they target people who they are not seeking for other reasons

i'm not saying "believe the NSA" or the Five Eyes, but you already know how you think about that
by int_19h | 2025-05-08 01:11:55+00:00
I remember those times, as well. There was an amusing (in retrospect) period in late 90s - early 00s where one of the metrics for RAD tools of the day was how large a hello world type app is. Delphi was so popular then in part because it did very well on that metric - the baseline was on the order of 300 Kb, if I remember correctly, and you could have fairly complicated apps under 1 Mb. Visual Basic was decidedly meh on that count because between your EXE and MSVBVM60.DLL, it wouldn't fit on a single 1.44 Mb floppy.
by rendx | 2025-05-08 01:13:48+00:00
Stabilization is a crucial pillar in order to face the traumatic memories and process them. You cannot face the memories without it; any attempt to do it without stabilization training would be ill-advised; actually, PTSD as diagnosis is "proof" that it's too overwhelming for the patient. The goal is not to "zap" memories but to relax the nervous system and to anchor patients sufficiently in a "safe present" so one can then use techniques such as EMDR/hyponosis etc to unpack the trauma, step by step, without getting flooded and potentially retraumatized.

Even the sensationalist headline talks "merely" about "erasing" PTSD: the stress disorder -- NOT the memories.

Until full processing and integration (which can take years, decades!), traumatic memories are LIVE and unprocessed memories; they are re-experienced as if it was happening NOW; again and again (see e.g.: fMRI studies show that they activate brain regions responsible to process the present, in stark contrast to normal memory recall). This is not comparable to "being reminded about a past event and having strong feelings about it". That is the goal. Not erasure as if nothing ever happened.
by miki123211 | 2025-05-08 01:14:09+00:00
> This is the sort of thing that only works if hardly anyone is doing it

In fact, it's just the opposite.

If "hardly anyone is doing it", you can, in fact, distort a prediction market pretty easily. If you have the money to throw at it, nobody is going to stop you.

If absolutely everybody is doing it, though, the situation changes. Somebody whose pockets are just as deep as yours will eventually discover what you're doing. It is in their best interest to trade against you and bring the market to where it should be.

This is one of the reasons penny stocks are so much worse than Aapl or SPY. Penny stocks have very low trading volumes and very low interests, so it's pretty easy for a motivated player to distort their price, "pump and dump", or do other shenanigans of the sort. There are so many people trading on aapl that you can be pretty sure the current price represents the market consensus of what aapl is currently worth.