MurphyA/hacker-news huggingface dataset:
by danbruc | 2025-09-15 11:49:06+00:00
For point one the reason is of course that π(p) has a [global] minimum at 2. Actually showing that is not that easy because the involved integrals have no closed form solution but in principle it is not too hard. The circumference of the circles is 2 π(p) and equals four times the length of the quarter circle in the first quadrant which has all x and y positive and allows dropping the absolute values. The quarter circle is y(x) = (1 - x^p)^(1/p) with x in [0, 1]. Its length is the integral of ds over dx from 0 to 1 where ds is the arc length in the Lp norm ds = (dx^p + dy^p)^(1/p) which yields ds = (1 + (dy/dx)^p)^(1/p) dx. For dy/dx you insert the derivative of the quarter circle dy/dx = -x^(p - 1)(1 - x^p)^(1/p - 1) and finally you have to compute the derivative of the integral with respect to p and find the zeros to figure out where the extrema are. Well, technically you have to also look at the second and third derivative to confirm that it is a minimum and check the limiting behavior. The referenced paper works around the integral by modifying the function in a way such that it still agrees with the original function in some relevant points but yields a solvable integral and shows that using the modified function does not alter the result.
by ndsipa_pomu | 2025-09-15 11:49:16+00:00
Can't recall seeing any British recipe that uses cups so the difference between imperial and metric cups is irrelevant to us.

At least with something like "5 apricots", it should be obvious to the cook if they've got really small, big or varying sizes. Meanwhile, the "cup" measurement can vary depending on the order of which you put the apricots into the cup - do you put the smallest fruit in first, or the biggest?
by cholmon | 2025-09-15 11:51:01+00:00
NPR Planet Money did a segment on pig butchering scams back in May. They played along with one to get a first hand perspective of the process. It’s a fascinating listen, way more complicated than I thought, and tragic for both ends of the scam.

https://www.npr.org/2025/05/23/1253043749/pig-butchering-sca...
by ricardobeat | 2025-09-15 11:51:03+00:00
Do you have an example of these unreachable ingredients? The main ones - dextrose, whey, emulsifiers - can be found at any supermarket as "bread improver" or "dough conditioner" mix.

Maybe expectations for cake in the USA are different from the rest of the world, like it is for sliced bread (soft as a pillow). I seriously doubt bakeries in most of europe use cake mixes, or at least nothing with a similar laundry list of chemicals.
by boredemployee | 2025-09-15 11:53:58+00:00
Thank you for the detailed reply! Really appreciate it.

I take SSRI since 2019 because of generalized anxiety disorder, but I'm much better now, my life changed a lot (for the better) and want to stop to take it or change for something else, because I'm already in a low dose but delayed ejaculation is something that I hate, I never had problems with it and the drug takes it to another level.

So I'll check what is a safe combination to perhaps threat both. My attention span really annoys me.

ChatGPT told me about vortioxetine for attention disorder and anxiety, which I'll discuss with the doc.

Thanks again!
by ratel | 2025-09-15 11:53:59+00:00
[edited]

Can someone explain what d(3)=(|x|^3+|y|^3)^(1/3) would actually mean as the blog seems to suggest something more profound than the below?

If d=|x|+abs|y} is moving in 2 dimensions, one dimension at a time and d(2)=(x^2+y^2)^(1/2) is moving in 2 dimensions at the same time, d(3)=(|x|^3+|y|^3)^(1/3) would have to mean moving 3 dimensions at once in two dimensional space (as it is missing the 3th position z) and for all n moving n dimensions at once in two dimensional space.

Now pi comes down to the constant calculating circumference. The blog shows we can approximate it best ignoring all other dimensions but those two in two dimensional space. Seems obvious, but that has everything to do with the nature of pi, not with the math.

d=(|x|^3+|y|^3+|z|^3)^(1/3) would approximate pi better in 3 dimensional space than in any other, etc.
by frotaur | 2025-09-15 11:55:17+00:00
This is certainly an interesting question; however, it's probably very hard. This is because the 'set of all possible metrics of the 2d plane' is extremely large, and I am not sure if we have a good characterization for it.

There are a bunch of very strange metrics, e.g. a metric for which d(x,x) = 0, d(x,y)=1, that is, all points are at a distance of 1 to each other (this satisfies all axioms).
by jchw | 2025-09-15 11:55:46+00:00
Since Hyprland still supports wlr-output-management (AFAIK) you can use tools like wlr-randr and nwg-displays. I don't use Hyprland but I used Sway for many years and support for multiple outputs was top notch. You did have to edit your text-based Sway config file, since a major part of the draw for Sway was an i3-like mantra, but you could do declarative configuration for both output and input devices, and it worked well with hot plugging. Combined with handling mixed DPI setups better, the general situation feels a lot better for using multiple monitors with Linux these days.

Editing a text file to configure displays is definitely an acquired taste, though. Maybe Omarchy needs some utilities to provide a UI around those config files.
by oniony | 2025-09-15 11:55:54+00:00
Where I live there are entire fields of crops grown under plastic sheeting, and I do not mean reusable plastic greenhouses, I mean sheeting pegged to the ground. And then the produce is boxed up in plastic, stuck on a palette, wrapped in plastic and delivered to the supermarkets.

Then, when I'm in town I see building projects where the entire building is wrapped in plastic sheeting: eight story buildings wrapped like a parcel in plastic. Even the ground-level hoarding that used to plywood boards is now typically covered in plastic sheeting printed with branding.

And the roadworks: what used to be reusable metal signs and barriers have recently switched to plastic signs and plastic barriers. I get these get battered and broken quickly but at least the steel ones would typically get melted down and reused at their end-of-life. I imagine the plastic ones just end up in landfill or incinerated.

It does kinda make my home recycling efforts seems futile when commercial enterprises are moving in the opposite direction towards more plastic.
by perlgeek | 2025-09-15 11:57:03+00:00
> it should be noted that CBT might confuse cause and effect

https://www.psychologytoday.com/us/blog/feeling-good/202503/... explicitly discusses the arrow of causality here

> and the goal is to mold the behavior of people into something socially wanted or expected or just learn to live with something that cannot reasonably be changed.

There are lots of crackpot approaches to psychotherapy, but I do believe that most therapists genuinely want to help patients/clients to recover, not just mold them into something socially accepted.
by kruador | 2025-09-15 11:57:56+00:00
The text that the footnote is attached to is:

"Large Language Models can gall on an aesthetic level because they are IMPish slurries of thought itself, every word ever written dried into weights and vectors and lubricated with the margarine of RLHF." I infer 'IMPish' as meaning 'like Instant Mashed Potato'.

I read that footnote as a somewhat oblique criticism of two LLMs, rather than on the statistic itself - which may indeed have just been fabricated by the LLM as opposed to an actual statistic somehow dredged from its training data, or pulled from a web search.
by HarHarVeryFunny | 2025-09-15 11:58:00+00:00
> Not in the context I asked: I asked him after he had suggested that 'neuromorphic' would be great to reduce the energy consumption of LLMs. I wanted to know why/how, given that LLMs are trained today with BP.

I assume this whole Q&A with Furber is a fantasy of yours that never happened, or alternatively you had done zero homework about SpiNNaker and spiking neural networks beforehand, and understood nothing about dataflow as a way to reduce energy consumption (as your last post proved).

You may think that leading off your responses with a bunch of bullet points you just got from Google makes you sound well-informed, but it doesn't - it comes across like a high schooler with nothing to say trying to pad their essay.
by jesuslop | 2025-09-15 11:58:01+00:00
I remember being lured at the time by Irrlicht learning curve for a professional project and migrating to Ogre in the middle... How nightmarish was using assets coming from 3D authoring software. Repressed memories return about switching from 3D studio to XSI (better) and fighting with Collada converter plug-ins quality issues. Prefer the dentist.
by JackMorgan | 2025-09-15 11:58:06+00:00
I've yet to see the solarpunk argument: buying a house lets you generate value with the land/building.

For example, perennial fruit and veggie gardens in your backyard let you invest a small amount of time and energy building a long term yield of high value food. This year I spent about 25 hours growing $800 of clean organic veggies. I also prepped areas to plant fruit trees and bushes that I expect will increase my yields in a few years.

Solar on the roof / yard can reduce electricity costs for decades.

Rainwater capture and filtration can reduce water costs.

Renting out a bedroom can produce dollars.

Building a climate battery into a yard can reduce heating and cooling costs.

I ran some numbers and figure I can shave several hundred dollars a month off at a 30% ROI.

And it's not just about dollars, there's something very powerful about knowing my property is supporting my life with these investments.
by mschuster91 | 2025-09-15 11:58:16+00:00
> I that shopping trip is once a week- it isn't a big deal.

... if you have a car that's roadworthy enough, time for the drive, money for the fuel, and even then, access to fresh groceries is not a given in the first place because there's no place selling them. 39 million Americans live in food deserts [1], and in places that are not food deserts, actual groceries can simply be unaffordable.

And then, once you have the ingredients, you need to store them. A bunch of stuff will only keep fresh if you have a working refrigerator, in some cases a working freezer... both are far from given. In really small apartments, you might not even have the space for even a small fridge, or you might be so poor your electricity is cut off. Or the apartment is too infested with rats and cockroaches to keep any kind of food that doesn't need (or goes bad in) a fridge and is not canned, which seriously limits the food you can prepare for yourself.

Oh and theoretically Costco or whatever large scale loads of food might be cheaper as well, but again, you need space to meal-prep and even more space in fridges and freezers to keep the food edible for a few days.

Poverty is fucking expensive in the long run because the lack of upfront money for stuff like a car, fridge and a residence with enough clean space forces people to use expensive options such as ready-to-eat meals or fast food - or to go and fill their caloric demand with ultra cheap soda that's in the end just sugar syrup.

Oh and the homeless, they got it even worse, they don't have any other option than that because they don't even have a safe roof over their head. And yet, people look at them eating burgers or soda and saying paternalistic condescending bullshit like "if they just saved on the burgers and soda they could afford an apartment", yeah no that's not how things work.

[1] https://en.wikipedia.org/wiki/Food_deserts_in_the_United_Sta...
by crote | 2025-09-15 11:58:35+00:00
Most TLD operators are non-profit foundations set up by nerds in the early days of the internet, well before the lawyers, politicians, and MBAs could get their hands on it.

If you want to see what happens otherwise, just look at the gTLD landscape. Still, genuine power abuse is relatively rare, because to a large extent they are selling trust. If you start randomly taking down domains, nobody will ever risk registering a domain with you again.
by trklausss | 2025-09-15 11:58:44+00:00
Every tool for the right job. If you are doing tons of scripting (for e.g. tests on platforms different than Rust), Python can be a solid valid alternative.

Also, tons of CAE platforms have Python bindings, so you are "forced" to work on Python. Sometimes the solution is not just "abandoning a language".

If it fits your purpose, knock yourself out, for others that may be reading: uv is great for Python dependency management on development, I still have to test it for deployment :)
by slashitapp | 2025-09-15 11:58:47+00:00
Alhamdulillah, we’re excited to share that Slashit App is now available on Windows!

Slashit helps Business Operations Managers and teams save hours every week with: Snippets for quick replies Dynamic Templates for daily workflows Magical AI prompts for rewriting and refining text Clipboard history for everything in one place

We’ve just launched on Product Hunt and would love your support. Every upvote and comment makes a big difference

Check us out here: https://www.producthunt.com/posts/slashit-app-windows
by euLh7SM5HDFY | 2025-09-15 11:58:54+00:00
Linkedin lost their anti-scrapping suit: https://www.forbes.com/sites/zacharysmith/2022/04/18/scrapin... but it seems since then they were able to successfully appeal that decision.

Regardless - requiring an account to read anything, even a "free" one, totally changes whole situation. Even when sites terms of service are limited by local law.
by Fluorescence | 2025-09-15 11:59:06+00:00
I'm sure there will be examples and my childhood memories won't be great but that link isn't a good example of British recipes.

Most of the instances of "cups" come from the "Edwardian recipes" which is a collection of international recipes including American. It includes in the preface a Table of Measures which is what you do for Brits who see "cup" and ask "what the fuck is that?"!

4 cups flour = 1 quart or 1 lb.

2 cups of butter (solid) = 1 lb.

2¹⁄₂ cups powdered sugar = 1 lb.

1 cup = ¹⁄₂ pint

1 glass = ¹⁄₂ pint

1 pint milk or water = 1 lb.

9 large eggs = 1 lb.

1 table-spoon butter = 1 oz.

1 heaping table-spoon butter = 2 ozs.

Butter the size of an egg = 2 ozs.

https://www.gutenberg.org/files/68137/68137-h/68137-h.htm#Li...
by evermike | 2025-09-15 11:59:51+00:00
Yes, that’s pretty much how I look at it. And in all of our products I do everything possible to keep chargebacks to an absolute minimum, sometimes even making decisions that aren’t the most profitable from a business perspective.

When I look at some other companies, I often see all kinds of "shady" tricks that clearly boost revenue, but also inevitably increase the number of cases like this.
by mothballed | 2025-09-15 12:00:07+00:00
Always verify a wire details through an initiated call to a verified number of the legitimate institution in question.

My country has AML law, but all the time people are tricked into wiring money to scammer for a house or something else because they take wire details by spoofed e-mail or a received phone call.

The scammers are very clever, they will monitor e-mail from a title company or some other company with large invoices, then trick you at the exact moment you are making a legitimate transaction to a legitimate institution. Because you did not make a mistake sending the wire, nor did the bank, only sent it to exactly the wrong person, once the wire gets forwarded on out of country you're often SOL.
by adityaathalye | 2025-09-15 12:00:26+00:00
OP here. Ordinarily, I would agree with you, because PageObjects themselves are not composable, in languages belonging to the "Kingdom Of Nouns".

However, the following design, thanks to Clojure's language design, helped address a rather nasty situation.

A tightly scoped Domain Specific Language, over some Types of PageObjects, all of which compose arbitrarily (without breaking value semantics). So, if you wanted the `value` of a Modal box having all sorts of switches, form fields etc., you'd call `value` on it, and it would call `value` on all of its constituents, and return the immutable hash-map snapshot of whatever state it found.

Cross-cutting concerns | v PageObject / DSL -> | open | close | open? | select | deselect | ... | |-----------------------+------+-------+-------+--------+----------+-----| | Dropdown | | | | | | | | Checkbox | | | | | | | | Switch | | | | | | | | Modal | | | | | | | | SearchList | | | | | | | | ... | | | | | | |

Concrete example (in the deck and demo linked below):

(defprotocol IPageObject "Each PageObject MUST implement the IPageObject protocol." (page-object [this]) (exists? [this]) (visible? [this]))

And then an implementation like this:

(defrecord Checkbox [target-css] IPageObject (page-object [this] this) (exists? [this] ;; webdriver check if target-css exists ) (visible? [this] ;; webdriver check if target-css is visible ) Selectable (select [this] ;; webdriver select the target ) (deselect [this] ;; webdriver undo selection ) (selected? [this] ;; webdriver return true if target selected ) Value (get-value [this] ;; webdriver return current selection state (selected? this)))

Deck: https://github.com/adityaathalye/slideware/blob/master/desig...

Talk + Demo: https://www.youtube.com/watch?v=hwoLON80ZzA&list=PLG4-zNACPC...

I also commented about it here: https://news.ycombinator.com/item?id=45161410 (Clojure's solution to the Expression problem).

That said, UI testing is a hot mess in general (especially for SPAs). I prefer to avoid automating anything but the "happy paths". IME, exploratory testing is better at sussing out corner cases, and "emergent" misbehaviours. So I do that, in addition to the "happy path" suites. Cue: James Bach et. al. https://www.satisfice.com/

Also I am warming up to server-generated HTML, because I can unit-test that, if I can use `hiccup` syntax + HTMX. In that case, I just make all request handlers spit out HTML fragments as Clojure data, and test those responses in my test suite.
by wink | 2025-09-15 12:01:53+00:00
Everyone talks about the cake mix and its quality, but I'm much more amazed that for all the "for Americans 500 years is a lot" jokes I find myself much more anecdotal things that seem to be more easily preserved on a time span of 50 to 200 years, for example being able to even buy the same cake mix as just 50 years ago.

Maybe it's all going back to World War II and stuff here in Germany changing too much, but from all the stories from my parents and their childhood after the war, I don't see a lot of this. (Not saying it's good or bad, I have some recipes but they're all in the "100g of flour" style). Or Genealogy. I didn't put in a huge amount of effort but my experience is that tracking your ancestors for more than a couple generations is not as popular in my working class circles.
by mtmail | 2025-09-15 12:03:32+00:00
We have very few chargebacks, not even 10 in 10 years and we consider us lucky. Stolen credit card happens more often than chargeback. I don't attribute it to better messaging or easier cancellation options, we do the same as many others, I guess it's just the type of product of customer.

Even in HN comments I've seen people saying they use temporary card numbers (valid for one transaction only) or click a button to dispute instead of a single email. That button in the banking interface might be "block future payments" or such. They must've bad experience with companies in the past?

Actively emailing with the customer sometimes helps. It worked for us. Sometimes it didn't. For example if it's a company credit card and the employee left the company. Their accounting team simply doesn't know what our service is for.

At this point the fees are part of "cost of doing business".

https://news.ycombinator.com/item?id=44382686 is an example where a customer was unhappy about merchant charges and seems to contact the banks only, not the merchant.
by mathgeek | 2025-09-15 12:04:04+00:00
Generally it's attributed to the time around WW2, which for Americans included the effects of rationing as well as being exposed to prepackaged foods while deployed. Throw in a bunch of marketing and nationalism and the breadcrumbs start to line up. https://www.sciencehistory.org/stories/magazine/from-the-fro...

If you really go down the rabbit hole, you start to see how many of the foods that baby boomers grew up on were first fed widely to the parents during the war.
by arcbyte | 2025-09-15 12:04:04+00:00
The credit card business of banks wants customers to spend money so they earn transaction fees. Everything the bank does is in service of this goal. Making it harder to do chargebacks would measurably reduce the transaction fees they earn in aggregate.

Your SaaS is a dime a dozen to them. They dont care about you. You dont make them any money, especially when the customer is actively trying to stop doing business with you.
by Beretta_Vexee | 2025-09-15 12:04:28+00:00
Scammers tend to create ecosystems of fake accounts in large cities or communities, such as the expat community in Paris.

These are easy to fabricate and maintain, and consist of a social network of individuals who are either loosely connected or constantly changing.

They use these accounts to collect data about key people, events, meet-ups and news events.They have developed a full lifecycle for these accounts. Creation, enrichment, data collection, then consumption and end of life when they are used for scams.

They are playing the long game.
by mapontosevenths | 2025-09-15 12:04:39+00:00
Again, it's reasonable to debate Bidens decision, or anyone else's. Hell, I might even agree with you that he could have done better with the negotiations. In the end his plan worked, but it's possible a better negotiator could have gotten there more quickly or for less.

It's not reasonable to drum up rage about it through bogoted hate speech, which is what Kirk did. Despite Griner being only one of several prisoners Biden advocated for Kirk rambled about her sexual preferences and skin color then made up a fairy tale about how it was being done at these other prisoners expense. It wasn't.

Kirks claim that she received special treatment as a black lesbian cannabis enthusiast was just a straight up lie.

Griner was part of a larger package that included the other prisoners Kirk was concerned with. Kirk knew that fact, and ignored it in favor of devisive rhetoric.

Ultimately Biden got all of them released, and Kirks rhetoric did nothing but give the rightwing bigots and leftwing zealots both more rage fuel along the way.

America is in a bad place, and people fabricating lies like Kirk did are one reason for that.
by pjmlp | 2025-09-15 12:04:42+00:00
Kind of,

> Unix is not my ideal system, but it is not too bad. The essential features of Unix seem to be good ones, and I think I can fill in what Unix lacks without spoiling them. And a system compatible with Unix would be convenient for many other people to adopt.

-- https://www.gnu.org/gnu/manifesto.html
by evermike | 2025-09-15 12:04:49+00:00
Yes, we’ve had a few cases where people tried card testing through us. But we noticed quickly and introduced the proper limits. In general, if you redirect the user to Stripe Checkout after clicking Subscribe button, all of that should be handled by Stripe itself and not affect your account. I guess ))

But this is a slightly different story. With chargebacks, almost every time it was just a customer not wanting to admit fault. What’s strange is that they could have simply written to us and asked for a refund. But I guess they realized they were in the wrong, so instead of contacting us, they went straight to their bank.
by mrtksn | 2025-09-15 12:05:39+00:00
This is something good about the Apple AppStore, they handle the chargebacks and no ridiculous fees incurs(When a refund request is initiated, they will send you a consumption info request over API to ask for your opinion but ultimately its their decision and its handled by them). That's why I don't have a problem with Apple's cut as they handle something that's actually quite complicated and annoying. Their control over the content(what's allowed) is another story though, of course.