skysight-inc/HackerNews huggingface dataset:
I find this a pretty confusing explanation because the actual mechanism is buried in the middle and you can't understand the first diagram without it.

The goal is to produce the number `0...010...0` with the same number of trailing zeroes as x.

If you flip all the bits in x, then `...10...0` turns into `...01...1`. Adding one cascades the tail into `...10...0`.

You can do this entirely in unsigned math and you don't need to drag two's complement into it. The fact that it corresponds to `x & -x` is a curiosity, and then you have to explain why it works for e.g. negative numbers, where it counts trailing ones instead but still produces a positive.

There are plenty of other tricks like this, e.g. `x & (x - 1) == 0` tells you if a (non-zero) x is a power of two, but it doesn't work for negatives.
Can you share some examples or greatest hits?
On the contrary I got the opposite vibe here of "wow this is great the future is here" vibes and am a bit confused. Do people really want to replace their human teacher for school children?

No I haven't used it. I don't like how it's being marketed though. I very much do not trust GPT 4 on the level where I am ready to have it educate the young.
Krita is a great drawing app, but the Krita SD plugin is not easy to set up.

I think DrawingPics installation is more friendly, I wrote a blog about it
https://docs.drawing.pics/index/getting-started/drawingpics-...
Are you paid to promote Russian propaganda or are you just a useful idiot?
Show HN: Calculate GitHub Actions success rates and execution times
Hi HN,

I created a GitHub CLI extension to calculate the success rate and execution time of GitHub Actions workflows and jobs. This tool will help you determine where you can improve your GitHub Actions workflows.

Here are its key features:

- Calculate the success rate and execution time of workflow runs and job steps

- Provide average, median, minimum, and maximum execution times of successful runs

- Detailed information for each job and step including step name, step number, runs count, conclusion, rate, execution duration, and failure URL

- Outputs can be formatted as JSON for easy integration with other tools and workflows

I’d love to hear your feedback and any suggestions for improvement. Thank you!
Maybe HN needs a flagging ring detector as well as its voting ring detector.
I mentioned it as Biden's plan because that is the referent of who proposed the plan, not out of some opposition to Biden. [0] It is truly easiest to reference policies by who proposed them.

> If that part was changed to any other name, would it still be a problem?

I would ask the same of you. Frankly, I don't think I would have gotten a reply like this and downvoted if it hadn't been mentioning the president on an election year.

[0]: https://x.com/POTUS/status/1789052799130509325?lang=en
Why are we talking like Europe hasn't already figured this out?
> €/gram €/liter

And when you see 0.99 €/gram ? :)
Well, the assertion is just "pharma companies don't research it because there's no money in it, because it can't be patented", which makes sense.
Thats genius! Was it a lot of work to set up?
Ask HN: WASM Terminal Emulator Status?
In theory, could one "port all of linux" and create a terminal that runs in a browser and uses localstorage as the hard drive with ls and more and cat, vim etc. commands that all work? (Like xterm.js but real)

How far could you take this? Could I get the entire golang toolchain to work and compile a simple main.go program from within this WasmOS terminal?
Meet requires a Google account to attend a video call while Zoom does not. So if your hosting a meeting with strangers, using Meet is not user friendly.

At least personally I refuse to make a Google account bc it requires giving Google my phone number... But I know that's a bit of technoludditism in the current zeitgeist
The food thing is a pet peeve for me. I walk if a restaurant requires any form of smart phone to use.

Doesn't matter if it is for menus, ordering, or payment. Nuts to that.
Take a look at “electric daisy carnival Las Vegas 2024” that’s been going for years now. Latest number was 500k people attending per day on a race track field stadium.

Yoga and pool party during the day then party with live music/DJ all night long.

Good time to be a helicopter pilot charging for rides to the show and able to see the views.
Or.

Your first consideration of the problem is your first glance into the fog, revealing the superficial.

Then, as you continue to peer in that direction, more is revealed.

One phenomenon, 2 perfectly good explanations.

Like, is it a variable or a reference to a variable? Hard to say.
I would definitely recomend Steve and Leo's podcast 'Security Now' quite good at explaining CVEs and other security news

I don't know about SpinRite but I would imagin it is just like any tool, useful for someone
It's always disappointing to see such ignorance in HN comments like this. While there are some relevant technical standards cross listed with ISO, adherence to ISO standards isn't legally required for products like Metriport. Seriously buddy, you can just go read the FDA regulations instead of making a fool of yourself. But if you'd like to keep looking silly then feel free to have the last word.
both bitcoin and braid are popular with some distributed systems nerds, not sure why the overlap strikes you as nefarious
I think you're saying that it's more valuable as concrete, right?

That it can be made into something more expensive doesn't imply that it is also environmentally sound.

In fact, those are almost always mutually exclusive goals.

My question is about what will be used for roads, and whether acquiring that product will be more environmentally sound.

I'm not immediately opposed to the technology. I'm just at least as skeptical as all scientists should be.
This allows subscriptions of changes to individual resources... but is more general event streaming a goal? Could it become so? (as in, "give me updates to all resources", not just one).

We have been using our own protocol "FeedAPI" for broker-less, multi-service event sourcing over HTTP. But it is a bit home-grown, would be great if event sourcing over HTTP was a more widespread thing with a common standard. There are so many scenarios where event streaming is a great model, but deploying Kafka is overkill, or would couple together the infra too much of publisher and consumer (e.g. different between organizations).

https://github.com/vippsas/feedapi-spec
The better term is really "B2B" (Business to Business). I mean, yes, in the end it's going to an "end user" (ideally a specific entity) with a bank account... But the "services" are from these middlemen looking to take yet another cut so the bank can fire people to "save money" and spend it on the (supposedly cheaper) middle<strike>man</strike>API.

Til it falls and woops maybe chasing cheap fucks you in the long run. But hey, the investors made a profit! Who cares about the externalities.
Show HN: Hevetra – Your family's health story, one event at a time
https://cash.coin.dance/blocks
23andMe DNA Tests Probably Won't Help You Live Longer
>There is no reliable evidence that schools improve learning outcomes either.

There's decades of evidence, just compare school results (even the lowest quartile) to homeschooling. I'm sure there's tons of literature in that field.

Despite our repeated attempts to do so, teaching a full k-12 curriculum is in fact not something then vast majority of parents are ready to do. Even this tool isn't vying to replace teachers. If anything it wants to replace the teaching aides (aka tomorrow's teachers who are learning how to manage a classroom). It may be worse in that regard since its eyes are on the future without considering the human element of the future.
Rules are meant to be broken. I've participated in many meetings where, for one reason or another, some participants couldn't join in person. Making it easier - for them and for us - is a technical challenge, and not something to be decided by an arbitrary rule.
Is this still active? I see this project being rarely committed to, and the information on device support is very little (compared to unbuntu touch devices information https://devices.ubuntu-touch.io/ )
Just sharing my take but basically most devs don’t care at all and are super inefficient. If you care even a little and take some responsibility for the greater good of a code base then you are a better dev than ~90% of devs in my experience. It has very little to do with hours spent working
I used many video conferencing systems over the years and I meet is my favourite

usually there is need to some third party extension/application that have usually does not support Linux

or if Linux is supported, they explicitly ban Wayland/pipewire (I'm looking at you slack)

but for need they stick to web standards therefore this works in any web browser you might have

also it tends to not consume every CPU cycle you have (slack again) so you can do so something while you eg screen sharing
I had to search for it. I was under the impression that HN removed it for some reason.

Does HN has stake in cloudflare?!
The Intel Intrinsics Guide is excellent at what it does:

https://www.intel.com/content/www/us/en/docs/intrinsics-guid...
Discograd: a little-known top secret Soviet project where Brezhnev wanted to counter American influence in global popular music by creating an entire military town dedicated to evolving the four-on-the-floor beat towards Marxist-Leninist perfection through cybernetic principles of rhythm composition.

(After 1991 Discograd was demilitarized and renamed Grungetown to attract foreign investments.)
"It would be better to have a mix: free education slots for students who pass (tough-ish) entrance exams and slots that university can add at market price for students who do not meet the bar."

We already have this on a small scale and in niches. Scholarships are essentially giving free or reduced cost slots to performance graded people. Then we have other free (or later forgiven) slots based on service, such as GI bill and teach for America, etc. There are all sorts of ways to get free/reduced/forgiven tuition if it's important enough to someone.

The bigger problem is the marketing and credentialing. Companies want credentials, schools want students, and so it's sold from multiple angles as the necessary thing to do for a good job. We end up with people getting junk degrees to work gate-kept jobs for low wages. Or they can't even get a job in their field.

Clearly the market is broken, but free tuition isn't going to fix the problems either.
Only if you assume that all numbers are printed in the same font size. Many stores would print their prices like this: https://as2.ftcdn.net/v2/jpg/04/43/75/73/1000_F_443757335_WE...

So, the $0.99 feels like costing 0.
> As far as Teams vs. Meet, it seems like Teams is great when you are working with people that have climbed it's learning curve.

Can you give one example?
It gets complicated when half a team is in the office taking the same call from their desks, easier for Gitlab because they are full remote
I really don’t think you’re referencing appeal to authority correctly here.

They’re not saying it’s logically objectively correct that people should go 65mph on a highway, due to the fact that authority has stated it thusly.

They’re simply saying that because the authority has made that law, the authority should enforce that law.

Now, they might be committing the Just World fallacy by complaining about the unequal treatment average drivers get versus immigrants.

There is some ground we can cover to discuss how to reasonably increase traffic law enforcement without just shutting it down with a poorly applied accusation of logical fallacy.

WRT speeding, I think automatic speed enforcement would be pretty simple. We already have automatic tolls and traffic cameras everywhere.
> The invite team members is optional. Not required. What was not clear enough about that in the interface?

"[!] Please fill in this field" blocking each Continue button press. And the button to delete the member item is disabled.

Now I find a very shy "Skip" link underneath the on-screen keyboard.

Why not allow Continue without members?
Why not? The bot has no feelings. It has no personality. It isn't alive.

Shouting at it might work, similarly to how hitting an old TV might get it to work.
To all the downvoters, this is sarcasm.
> It is truly easiest to reference policies by who proposed them.

But for everyone bathed in the constant nuclear radiation of "{name}'s policy!!", it's going to remind people of the last time they saw a partisan clickbait mass media headline.

If you want to engage people's curiosity, probably better to reference nameless policies around elections.

Tldr - political news sucks, avoid anything that resembles it
Pretty much, yeah.

Look at it this way. If microservice madness needs N monitors, well, monolith still needs at least 1 right? With the relevant expertise, making N monitors isn’t harder than making 1. Programmers shouldn’t get scared about generalizing existing instructions and adding a loop, and infracode is just another kind of code or you’re doing it wrong.

Rejecting microservices because of this kind of “complexity” is usually just FUD that is screening someone’s preference for not working, learning, or hiring. Which desires are ok I guess, but it’s annoying if it’s presented as a discussion around architecture, best practices, etc.
Doesn’t seem to be Comic Sans, it’s a bit more regular. Some other comic-like font perhaps.
Who cares? Beat your household bot all you want. It's ok. You can even beat your eggs.
> It's not related to Gemini. I suspect they're putting non-LLM stuff behind the Gemini paywall to make Gemini look more profitable than it is.

I have yet to decide whether this is more ridiculous or sad.
Did they reach out to her before or after hiring the voice artist for their TTS model? Credible sources suggest it was after. Do you think they’re stupid enough to use the actual voice of an A list actress without her permission? Before you answer, remember that we’re talking about one of the smartest teams ever assembled in the history of our species.
I've always thought it would be nice if microphones can be merged when on a phone call with AirPods in. The mics in those headphones are really far away from my face and when it's windy talking on them is almost impossible. It would be nice to be able to just talk into the mic on my phone. Then the phone could boost my voice from multiple mics and filter out background noise.
Even if you dislike markets as a mechanism, education is very tricky because it's very very expensive, and prone to important moral hazards when it's free.

Think your passion is economics or psychology and drop out after 1.5 years ? You've just cost the equivalent of 8 years of tax money from the average joe (ex: France median after tax income is 25k, roughly 2k of tax money, each college year is 10-12k).

It turns out there aren't enough average joes to give every kid the opportunity to try multiple studies, so we have to share the burden, at least a little bit. The average joe can pay 70%, and the students 30%. Or the average joe pays 90% of the first curriculum, but if you "reset" once (change majors without transfers), then the average joe no longer pays that share and only pays 50%. But you have to accept that education isn't free and there should be some incentive, even if small, to make sure you're picking something you'll commit to and make it work.
That just means HN's community and content is more relevant to you than other social media. Social media doesn't stop being social media if you find the content interesting nor does it stop being social media if it emphasizes one form of content over the other.
I place less blame on taxpayers and more blame on exploding administration costs.

On other hand, my alma matter - University of California system - cost $4500 per year in in-state tuition alone when I graduated in 2000 when minimum wage here was around $5 and it’s under $15000 today when minimum wage is $15.50

So it appears that people in California do support public education fairly consistently.
This is one of the positive outcomes of crazy taxation regime we have here.

I am of course ignoring the 800lb gorilla of college affordability - housing costs. Those are craZy here in Nimbyland
The number of atomic transitions a cesium 133 atom makes when fired across a football field at the speed of sound.
But why? I don't get it. You call something. It can break. It will break. Treat it as such wrt to resources you've allocated. You can ignore error details here.

At the highest level of your application (and at a few critical places, executors, retrying strategies etc) handle all the exceptions you know of, and implement a sane default for everything you don't know.

Done.
Future Interfaces Group DynaButtons [video]
Registers that keep track of how much should be in the till, based on the day's sales, those have been around quite a long time. NCR got big enough in 1912 that they had antitrust trouble. Their big selling feature was tracking the till.

https://www.asc.ohio-state.edu/economics/pdf/marvel/ncr.pdf
There are things at which capitalism utterly fails to serve society.

Education is one of them.
> If you want to engage people's curiosity, probably better to reference nameless policies around elections.

I pretty much exclusively use HN as a refuge from that style of conversation.

I'm sorry that so many people's brains are poisoned by political news or whatever, but I'm not really going to change what I find is a useful way of referring to things just to accommodate them.

FWIW I am certainly going to vote for Biden, for all the good that it will do in California.
"Why don’t we gate the code with a flag instead of deleting it?" These are all terrible suggestions. Source control systems make it easy to reverse changes, whereas hundreds of lines of commented code create distractions and confusion."

In most cases to delete code would be a good idea, but to say that source control systems make reverting easier. After a few months most developers will have forgot about those lines and at times uncommenting code & explaining it explicitly might be a better way to preserve knowledge then to rely on digging through GIT.
Colombia begins exploring 'holy grail of shipwrecks'
Uh, in politics, plans are promoted by individuals. If a plan X is promoted by Y individual, describing the plan as "X's plan to Y" is simply an objective statement - if it is true (which a shallow Google search seems to say in this case).

It is injecting partisan into the discussion but in the end, we need to discuss partisan politics well rather than avoid it. I mean, I'd broadly say we're stuck currently with Democrats promoting bad policies of laying band-aids across the disastrous marketization policies of the past while the Republicans mindless "cut things", killing what good about the state and maintaining the worst policies (see the "national monument effect" etc).
Kernel developer write a USB driver in 3h for Apple Xserve front-panel [video]
I went to a private university in the US, and (due to the severely lopsided gender ratio) I remember being told, my freshman year, "of course we all wind up sleeping with the freshmen; everyone else you've either already slept with or never will".

IMX being just friends was very easy when both parties fell into each other's "never will" set.
My anti tiger rock also has kept my life tiger free.
If Meet did "autorecord" combined with "autoshare recording with recipients" (specifically including Google Group recipients)... then it would be perfect.

As it is, we're gradually shifting more things to Zoom where that's either part basic functionality, or part easy to automate as things like Zapier are well integrated into the API.

We only use Meet for team meetings now, and we did use Gong.io to solve the above... but Gong is pretty expensive just to allow those who were out that week to catch up on a recording when they're back and if they care to.
Yeah, I’ve never understood the complaints about exceptions either: most of the time you want the exceptions to just bubble up anyway because, in that case, you only have to think about the contracts of the functions you interact with and not about the unusual states you might be in. Return-type or return-value based error handling has always seemed to me to be significantly worse.
I think just adding it to new cars would be enough. Eventually all unregulated cars would age out.

For the upgrade path, it could be treated like building codes, which change every so often without requiring immediate retrofit of all homes/buildings: require it as a part of resale.
Thank you for the responses! I'll be following your research for sure.
The sanctions cut GDP growth and pushed up inflation in the first year, but that stabilized well over a year ago.

Russian growth is now 5.5%, higher than all Western economies. It's difficult to see what sanctions would do that they haven't recovered from already.
Remote is extreme and is still not the norm. It is easier to baseline on things optimised for remote then relax than try to shoehorn in person into remote which is then doomed to fail.

I worked for a company that was headquartered in London and had satellite offices in Spain and Germany. After we all went remote during the pandemic the EU offices said they felt so much more engaged with the rest of the company because they were no longer disadvantaged by default for not being in HQ and in person bad habits were penalizing them
https://archive.ph/12hkh

It doesn't matter what war they served in, we honor the service, not the ways in which that service was (mis)used by the politicians of the day.
Is this new? I have definitely joined Meets calls from my personal laptop and I don't have a personal Google account. This includes my last job interview, and, well, I got the job.

Perhaps it's meeting specific, or organization specific?
The Controlnets model is too large(maybe 2GB? extra download), which means it requires more memory. The line control model that I used in drawingpics is about 300MB, which is suitable for light users
If I ever need to copy between instances, I use the + register for the system clipboard. There is only one but generally it's good enough for me.

If I'm expecting a lot of copying between files, that's when I will break my own rule and temporarily use a split window inside vim.
The key point is that Ceres requires derivatives, which can come from manually derived formulae, approximations via finite differences, or autodiff (http://ceres-solver.org/derivatives.html). DiscoGrad doesn't do the optimization itself (for that, we use gradient descent, for example via Adam), but essentially represents a fourth option to obtain derivatives, and one which captures the branches in an optimization problem (which autodiff doesn't).

While I'm not super familiar with the typical use cases for Ceres, the gradient estimator from DiscoGrad could possibly be integrated to better handle branchy problems.
This plugin also works well!

https://github.com/hiasr/vim-zellij-navigator
At the last “real” job I tried to help implement this as part of and later the manager of the ops team. It’s a great start, but in that case management wanted the idea of devops/sre but didn’t actually support it, and it really was a shit show. If you have a bad CTO and leadership on the board level, no amount of re-tooling will paper over their lack of support for the real principles.
Weatherspark for visualizing weather data over time. Great for planning the time of year to visit foreign lands.

https://weatherspark.com/y/47913/Average-Weather-in-Paris-Fr...