MurphyA/hacker-news huggingface dataset:
by vkou | 2025-04-30 07:04:27+00:00
https://www.the-independent.com/tech/x-cisgender-slur-cis-el...

> “The words ‘cis’ or ‘cisgender’ are considered slurs on this platform,” Mr Musk wrote in June.

> “Repeated, targeted harassment against any account will cause the harassing accounts to receive, at minimum, temporary suspensions.”

> The newly enforced policy, first reported by TechCrunch on Tuesday, saw some users greeted with a full-screen warning when trying to publish a post using the terms on the X mobile app.

The fact that this is arbitrarily enforced isn't exactly painting it as a haven for free speech. The only thing worse than absolute censorship (which is obvious and can be routed around) is stochastic, inconsistent censorship - which gives him and his defenders a fig leaf[1] to hide behind.

Look, maybe you prefer the new brand of censorship X has adopted. It sounds like you do. Great. But what you can't do is call it a free speech platform, while keeping a straight face.

[1] I would like to point out, as an example: that China doesn't censor the internet - you just mysteriously have your connection go to shit and drop out if you try to search for 4/15.
by mettamage | 2025-04-30 07:04:33+00:00
> I think I'm largely looking for what makes this different from telling someone to just not be depressed?

It's not wishful thinking if that's what you're alluding to. The idea of reframing isn't to tell yourself positive things so that you feel good. It's to highlight positive things that you'd otherwise not have seen and to factor them into the full equation of what it is that you're doing.

It's also more about the following: with many situations it's hard to objectively evaluate the truth to such an extent that different perspectives seem equally true given the knowledge you have. If that's the case, then pick the most optimistic, hopeful and motivating one.

It's not just "the power of positive thinking". There is truth in the fact that a person that doesn't know you hasn't had the chance of meeting you. It's up to you to decide whether that's a shame or not. I personally find it a shame, because the world is a more beautiful place when people are more well-connected in a way that they're happy with. The only way to do that is to reach out to people. Hence, the perspective holds value. Missing out on that perspective would be a shame, but that is what would happen to me if all I can do is having a knee jerk level of a reaction.

Another example is: studying math will teach you discipline. If you hate studying math but you want to learn discipline, there is some solace in that. It's true that many things will teach you discipline, so that doesn't mean that all of a sudden it's all okay now. However, excluding that fact does give a negative bias that doesn't need to be there. Removing that bias gives someone a bit more autonomy, especially when they also have some control over their schedule so they can study when they feel sharp.

Now, it could be that someone then would say "yea but the issue actually is that I'm doing this all by myself". Now you're touching upon relatedness. Relatedness is not something to reframe, it's something to seek out. So you could search for a math community. Now, one could hear "I don't like these people" (or they do and then it's problem solved). If that's the case, it could very well mean they're just not feeling fully socially settled in at school and that's actually interferring with them from having a calm mind.

That last example is semi-auto biographic. What eventually happened was that I got good at socializing and then studying for geeky things became easier again.
by keepamovin | 2025-04-30 07:07:51+00:00
I believe, what the smart AI company is trying to do, right now, in secret, is to use US, the humans, and our replies to the AIs, as training for the next generation of self-verifying-models. :)

Training on corpus data gets you to 1 order of magnitude. But training on interactive data where you can observe and adapt to the OODA-loop? So much more powerful.

At least, that's what I'd be doing if I were doing AI :)

But I just do BrowserBox
by jll29 | 2025-04-30 07:08:08+00:00
> It's not like they're showing ads.

Not yet. But the "buy this" button is already in the code of the back end, according to online reports that I cannot verify.

Official word is here: https://help.openai.com/en/articles/11146633-improved-shoppi...

If I was Amazon, I wouldn't sleep so well anymore.
by zurfer | 2025-04-30 07:09:43+00:00
Your references show me that it is absolutely task depended. In many domains it's true that "criticizing is easier than creating".

The best example might be books and movies, where it's trivial to say the characters were shallow, but it's surprisingly hard to create deeply interesting characters.

In Software Engineering, there are similar dynamics. An LLM with a security vuln finding prompt will be able to point out places, where the generated code might be insecure.

But if you want another LLM to find a reasoning mistake in a mathematical proof it basically has to do all the reasoning work as well. In which case I doubt there will be any significant performance gains.
by Gathering6678 | 2025-04-30 07:09:54+00:00
Are you serious about this?

I live in China, a supposedly autocratic country and one with universal ID, and even companies here don't take fingerprints. ID will be shown when you are officially onboard. I can't say for all, but for most companies (at least the ones without the need for a security clearance), requiring ID at interview will be seen as a red flag, and requiring fingerprint would probably be put on social media and name shamed, if not straight up reported to the authorities.
Show HN: CodeClarity – an open source source code analysis platform
by ceherzog | 2025-04-30 07:10:33+00:00
Hoot-hoot everyone!

Big news! CodeClarity is officially launching to the public!

We are incredibly excited to share our open-source platform designed to enhance the security of your software development process.

CodeClarity analyzes your JavaScript dependencies, letting you: - List all installed dependencies - Review software licenses - Identify vulnerable dependencies & associated risks

We're also building a powerful patching plugin to automatically update your dependencies and generate the least vulnerable dependency tree possible. And this is just the beginning – we don’t intend to support JavaScript only, and plan to add more languages soon!

We're now officially looking for your feedback! Help us make CodeClarity the best it can be! Try the platform here: https://platform.codeclarity.io

CodeClarity is open source, join the parliament!

https://github.com/orgs/CodeClarityCE https://www.codeclarity.io https://www.producthunt.com/posts/codeclarity
by makeitdouble | 2025-04-30 07:12:46+00:00
That leaves out all the "what is a computer?" devices that had all sort of plugs that wouldn't be barrel: tablets, chromebooks, raspberry pi, e-readers etc.

Same for all the smaller dedicated devices (audio recorders, camera, controllers etc.)

Those didn't go the barrel plug route in the first place to allow for charging through the same port, and would have been a loophole if barrel was mandated. USB-C was honestly the only option that made sense IMHO.
by 9rx | 2025-04-30 07:13:11+00:00
> What's my upvote/downvote ratio?

Undefined, presumably. For what reason would there be to take time out of your day to press a pointless button?

It doesn't communicate anything other than that you pressed a button. For someone participating in good faith, that doesn't add any value. But those not participating in good faith, i.e. trolls, it adds incredible value knowing that their trolling is being seen. So it is actually a net negative to the community if you did somehow accidentally press one of those buttons.

For those who seek fidget toys, there are better devices for that.
by taneliv | 2025-04-30 07:13:12+00:00
This caught my eye:

> reverse is true for that twin in Finland where rye is more predominant than wheat

Calling yield of 26 mtons predominant over 869 mtons[1] seems like an exaggeration and maybe barley was meant instead of rye? Or I'm misinterpreting something.

[1] https://vyr.fi/app/uploads/2024/01/inengl_1ca381b_Production...
by bigfatkitten | 2025-04-30 07:13:43+00:00
Just make them show up in person at least once for onboarding. They're not going to fly out from China or Russia (where they tend to be based) to do this; especially not to the US.

Verify their ID in person, issue their laptop etc in person, make sure someone who interviewed them is there to meet and greet them (and attest that it's the same person they talked to.)

If you can at least do a final interview in person also, then that's even better.
by rerdavies | 2025-04-30 07:15:10+00:00
I'm surprised nobody's brought up C++ generators yet (which avoid potential problems with recursion stack depth).

for (const auto&node: await depth_first_tree(node))

And generators have the added advantage that walking trees is just a special case of the more general case of traversing a directed graph of elements, which is equally easy.

Are generators not a thing in other languages?
by jumploops | 2025-04-30 07:16:47+00:00
This feels like the biggest near-term harm of “AI” so far.

For context, I pay attention to a handful of “AI” subreddits/FB groups, and have seen a recent uptick in users who have fallen for this latest system prompt/model.

From conspiracy theory “confirmations” and 140+ IQ analyses, to full-on illusions of grandeur, this latest release might be the closest example of non theoretical near-term damage.

Armed with the “support” of a “super intelligent” robot, who knows what tragedies some humans may cause…

As an example, this Redditor[0] is afraid that their significant other (of 7 years!) seems to be quickly diving into full on psychosis.

[0]https://www.reddit.com/r/ChatGPT/comments/1kalae8/chatgpt_in...
by casenmgreen | 2025-04-30 07:16:59+00:00
1. Has the total amount of code risen, such that the amount of human code is unchanged?

2. What's the bug rate like from AI code? is MS investing the time to check this code, or assuming it is correct?

3. Who writes the test cases?

4. 30% in what terms? number of lines of code? number of commits? what code is in play here? bulk test code, which is huge and per-line very low value, or is this serious, difficult, complex code used in critical project functions?

5. How much design work is being performed by LLM? as opposed to churning out lines of code.

6. Do the developers actually trust this code and trust LLMs for this, or is it they have a KPI they have to meet and so everyone now has "30% LLM code", all of which is pretty much useless?
by ljf | 2025-04-30 07:17:58+00:00
Hey,

Try this series from him that is a great intro: https://youtu.be/vmb0wWKITBQ?si=S3MVF8qyKLOuCHmq

I was then inspired by https://youtu.be/ZxCf39G_7pY?si=Mf5dfcZIngyXCuEY

The worked up my own process below through seeing what worked for my flour and starter:

100g sourdough starter 300g water (cold and filtered) 12g fine sea salt 10g olive oil 550g white and brown bread flour mixed (I use 200g brown, 350g white)

Morning of the day before (24 hours), or on the night before (12hours) you will bake: Feed the sourdough starter 50g brown bread flour and 50g water. Make sure that this is at least 12 hours before you plan to make the dough, allowing time to double in size and form a very bubbly starter before using.

Morning: Measure 100g of bubbling sourdough starter into a bowl, add 300g cold water and whisk with a fork for 1min. Add 12g salt and whisk briefly again until the salt is dissolved. Add 10g olive oil and 550g flour and stir until all flour is mixed in, at least 2 mins of mixing. Use your (wet) hand to complete the mix. Leave for at least 5 minutes then gently lift and fold one corner of the dough into the middle, rotate the bowl 1/4 and repeat. Fold the dough 4 times then cover and leave for 15 mins and repeat the folding, before one final folding 15 mins later, before leaving to proof for the rest of the day.

Proofing: Cover the dough, let it proof (rise) for 10-12 hours at 16-19c in the kitchen. It only needs to double in size - you don't want it to over proof.

That evening: Shape. Check your dough, and when it has almost doubled in size, it is ready to stretch, fold, and shape.

Wet your hands, and bring the dough in from the corners of the bowl, then reach in from each side and lift up the dough in the middle, letting it stretch down front and back. Let it stretch for 15 seconds, then fold these two dropping sides over itself, turn the bowl and repeat until folded this way 4 times.

Shape roughly into the loaf you want, onto a lightly floured parchment-lined bowl - if your shaping has formed a seam, put the seam side up and pinch it closed. Cover and this in the fridge overnight.

The next morning preheat the oven to 225c - if you have a cast iron pot add this to the oven to pre heat with the lid off.

Remove the proofed loaf from the fridge, and add any cuts or slashes to the loaf before baking.

Place the loaf (still on the parchment paper) into the cast iron pot, cover and bake for 20-25. Remove lid, and bake 10-15 more minutes, until very deeply golden. For my oven total baking time is 35 mins, 25 covered and 10 uncovered.

Remove from the over and the pan, then remove the parchment paper. Let it cool on a rack for at least an hour before cutting.

If you don't have a cast iron pot you can bake in two roasting trays placed face to face, or you can bake just on a baking tray, uncovered - if so add a small pour (20ml) of boiling water to the base of your oven, every 10 mins for the first 20 mins (at start, at 10mins,and at 20mins).

Iterated from these instructions (with videos of the folds) https://www.feastingathome.com/sourdough-bread/#tasty-recipe...
by piva00 | 2025-04-30 07:20:46+00:00
As an alternative, I can recommend Hendrik's "The Bread Code": https://www.the-bread-code.io/

He has a very simple beginner's recipe on his YouTube channel: https://www.youtube.com/watch?v=msqU-ylXWUs

It's the resource I shared the most with friends who asked me how to bake sourdough breads, even though I didn't learn the basics from it I really like his style of teaching, concise and thorough at the same time.
by singhrac | 2025-04-30 07:20:54+00:00
There’s nothing quite like writing the final squashed commit message and saying “results should be bit-level identical, +25% speedup on average” or the equivalent. Even better if it’s a hot path that matters to the bottom line of the company.

I try to keep a few of these tasks lying around marked “unblocked” in case I need to unwind. It keeps me from doing it right after noticing, which is an extra bonus.
by StopDisinfo910 | 2025-04-30 07:21:16+00:00
It's pretty clear what I'm talking about: just what I wrote. What is it with this topic that makes people needlessly agressive? I understand you disagree but I'm open to discussion.

To get back to my original point, I think modern China is actually pretty far from 'greed is good'.

It's an autocratic country where the central party has a tight leash on the economy and which doesn't hesitate to make CEOs disappear when they get too rich and powerful. Population movement is strictly controlled and central planning is very much alive and kicking in the more rural part of the country.

Even the housing market bubble was propped by state owned companies with state owned banks money which is why it's not exploding spectacularly.

Viewing China has a free market economy is a mistake. It's a mixed socialist market economy and under Xi that means a lot of socialism with a dash of free market.
by lenkite | 2025-04-30 07:21:27+00:00
So, posts are NOT being banned, but only visibility tagged as that article mentions and as many users also explicitly tested. No one reported a ban - only a warning with a visibility setting. Seems perfectly fine. Your speech is NOT banned as you incorrectly claim. And your account is still valid.

Did you ever try writing a mRNA-vaccine critical post during the Biden administration on twitter, quoting factual sources and linking to scientific papers ? Your account got banned pronto.

And as we all know now - it was done at the behest of the US white house.
by jll29 | 2025-04-30 07:23:06+00:00
In Rust, you can extend the syntax a bit within the language itself.

For C++, you could define yourself a template that expands to the two functions you listed.

For any language, you could write yourself a pre-processor that adds for_tree notation and expands it, either with pre-processor semantics or working on the abstract syntax tree (which is more "proper" but also more work"). I would recommend the former to test notations, and then you can live with them for a while to experiment with them and see if and how often you really need the construct (recall that is how C++ evolved from C via "C with classes" - it was first a pre-processor). Once you and others are 100% convinced of the new syntax, go to your prefered language's working group/ISO committee and propose inclusion.

My own feeling is that this is not something for which I need more than recursion; calling inside traverse() traverse(left) and traverse(right) for binary trees or using a normal for loop to iterate over all this->children() from 0 to this->children.size() is something that occurs in graph libraries and parsers/compilers once in a while but not often enough to warrant its own notation. Rather, when I look at languages like C++, I'd have a language that is simpler, cleaner, more homogeneous and more orthogonal; C++ is complicated, convoluted, too large to implement it correctly by a single person in reasonable time (compared to beauties like C, Pascal, Scheme), so I stand on the side of minimalism.
by avereveard | 2025-04-30 07:23:39+00:00
I kind of disagree. These model, at least within the context of a public unvetted chat application should just refuse to engage. "I'm sorry I am not qualified to discuss on the merit of alternative medicine" is direct, fair and reduces the risk for the user on the other side. You never know the oucome of pushing back, and clearly outlining the limitation of the model seem the most appropriate action long term, even for the user own enlightment about the tech.
by ssivark | 2025-04-30 07:24:21+00:00
Thanks for the helpful summary. Unfortunately, I can’t imagine what the courts could do differently in this case.

Regardless of whether Proton mail is a useful service with a principled stance, their refusal to engage under a sovereign legal system makes them simply “ungovernable” from the perspective of any sovereign government (lacking any relevant arbitration treaties). The only natural reaction seems to be to unperson them from engaging in transactions within the land. What other options does any sovereign government have when an entity simply refuses to engage?

It would be a different situation if Proton mail appeared in Indian court and argued why these details must be protected (within the contours of Indian law).

We take for granted the freedom to send bits anywhere in the world, and forget that we have an intricate system of decentralized governance (countries with local sovereignty, treaties, etc) in the physical world to regulate our ability to ship atoms around the world. As much as we all like our freedom, (and maybe exactly for that reason) decentralized self-governance feels like a value we ought to uphold.
by tturchi | 2025-04-30 07:25:07+00:00
Love the idea!

I’ve been exploring something similar: combining visual programming with LLMs to teach computational thinking by hiding most of the syntax.

- Paper https://www.computer.org/csdl/proceedings-article/vl-hcc/202...

- Related demo https://flowpilot.trx.li/

I poised that we could merge Visual+LLM to teach Computational Thinking skills by abstracting the code syntax.
by devnull3 | 2025-04-30 07:25:25+00:00
I think optimization triggers fundamental instincts in humans:

1. Tracking i.e. navigating through jungles for hunting or find where the bottleneck is.

2. The thrill of the hunt. The joy after finding the hotspot or the bottleneck. It makes your day.

3. The actual hunt i.e. shooting an arrow/spear or using clever way of fixing.

4. Brag about the hunt or writing a blog post or tech talk on how difficult and awesome the hunt was.

Also optimizing a critical path has multiple takers in the org:

1. Product Managers are happy due to improved user experience.

2. Management is happy as in some cases it actually saves a lot of money.

3. Your boss is happy because he/she gets to score points as "team achievement" when evaluation is around the corner.

4. Engineers get to do nerdy things which otherwise would not find traction in the org.

All in all its a win-win-win-* situation.
by waleedlatif1 | 2025-04-30 07:25:59+00:00
If you want to add a custom tool for your agent to use, you can use the “add custom tool” in the agent block and just define the JSON schema and the code for the tool call.

If you want a custom integration, you can either request it, or if you are running locally we have really thorough instructions on how you can add a tool/block in the contributing guide for the repo. You can use this to extend the platform for yourself or add integrations to the main repo. Hope that helps!
by schluessel | 2025-04-30 07:26:03+00:00
Summer-Ends.de is a raw and authentic travel blog documenting global destinations through personal narratives, photographs, and videos, in english despite beeing a German website. It covers a range of locations, from urban explorations to natural retreats, offering insights into each place's unique atmosphere. While the blog is primarily a personal travel archive, it also serves as a resource for readers seeking inspiration for their own journeys.
by piva00 | 2025-04-30 07:26:17+00:00
> Their model is more like a gym where you want the users who pay the monthly fee and never show up. If it were on the api where users are paying by the token that would make sense (but be nefarious).

When the models reach a clear plateau where more training data doesn't improve it, yes, that would be the business model.

Right now, where training data is the most sought after asset for LLMs after they've exhausted ingesting the whole of the internet, books, videos, etc., the best model for them is to get people to supply the training data, give their thumbs up/down, and keep the data proprietary in their walled garden. No other LLM company will have this data, it's not publicly available, it's OpenAI's best chance on a moat (if that will ever exist for LLMs).
by constantcrying | 2025-04-30 07:26:58+00:00
>Is this type of analysis a part of a particular mathematical heritage ?

It is a mixture of two very much related areas of mathematics. Analysis, called calculus in the US, and numerics.

The ideas behind automatic differentiation arise from the question of how to compute the derivative of a function on a computer. The "derivative" part is the Analysis part and the "on a computer" part is the numerics.

As it turns out writing down the formal definition of the derivative and approximating it on a computer has many undesirable properties. So alternative approaches, like AD, were developed. But AD is much older than the recent Neural network trend.