skysight-inc/HackerNews huggingface dataset:
> A way to generate bindings automatically from C Headers or even better - not having to generate bindings separately and just import C headers directly.

We do want to have an official bindings generator as part of the toolchain. There have been numerous third-party ones that people have created, but we need to have an official one now.

However, automatically importing C headers is not actually what virtually anyone wants in practice. Once you have imported the C header file, you pretty much want to:

* wrap the entire thing

* change the types to better reflect what things are (using Odin's richer type system)

* change names of things to better reflect usage and intent

* reorganize the declarations to better read things

* etc

There is also the second issue that C is technically TWO languages: the C programming language and the C preprocessor. People mix the two together and things cannot be easily translated. A good basic example of this is people using `#define` for constants, and thus that name has no semantic meaning in the language itself. A translator has to try and make some semantic meaning from the intersection of these two languages, even if people don't make a distinction when making APIs.

And Odin's `foreign` system allows [1] for a lot of really nice things that most other languages cannot do so tersely. Here are two examples of demonstrating bindings of C libraries that feel as if they were native Odin libraries WITHOUT any wrappers:

* https://github.com/floooh/sokol-odin/blob/main/sokol/gfx/gfx... (and the rest)

* https://pkg.odin-lang.org/vendor/sdl2/ and https://github.com/odin-lang/Odin/tree/master/vendor/sdl2

> Better tooling and standard library improvements.

Any concrete examples/ideas that you can give?

---

[1] https://odin-lang.org/docs/overview/#foreign-system
Because it's not like it's just a matter of commenting out a line with "if (version > 3){ explode(); }". The whole point of v3 is that it disables a ton of features and extensions points, changing a whole bunch of stuff in various places. Maintaining parallel v2/v3 compatibility will likely be an ever-increasing burden on Chromium forks.
Hey I didn't say Google were any better.

I am also posting these remarks with a tongue in cheek. I am sure they (any) do liaise with government agencies when requested but not that they are primarily intel branches with a retail mask.
It was any kind of fauna that was hunted into extinction when humans moved in.

And its still happening to this day.

I was staying in a tribe village in Thailand, a full day trek into jungle. They had a dirt road connecting them to the rest of thailand but were surrounded by jungle. I was sharing few drinks with people i traveled and locals, and there was small commotion. When asking about it, locals explained that someone saw monkey out in the jungle and people were discussing who should shoot it.

They explained that there is no animals in over 5km around the village as its hunted for the meat the moment its spotted. Basically a deadzone for anything that has enough meat to be worth a shotgun shell.

Its clear as day that everyone in the village would benefit from cooperation but they dont. Humans on average are not rational. And we are barely more advanced than the ancient people. We have better tech, and a bit more empathy. But the wiring is still the same.
I would guess that the kind of plastic resin that's used for the walls reacts with heat and can easily be permanently marked.
> One of the cool things about open source is that other people can do that for you!

This is a very valid point, but we should all recognise that some people⁰ explicitly don't want that for various reasons, at least not until they've got the project to a certain point in their own plans. Even some who have released other projects already prefer to keep their new toy more to themselves and only want more open discourse once they are satisfied their core itch is sufficiently scratched. Open source is usually a great answer/solution, but it is not always the best one for some people/projects.

Even once open, “open source not open contribution”¹ seems to be becoming more popular as a stated position² for projects, sometimes for much the same reasons, sometimes for (future) licensing control, sometimes both.

--

[0] I'm talking about individual people specifically here, not groups, especially not commercial entities: the reasons for staying closed initially/forever can be very different away from an individual's passion project.

[1] “you are free to do what you want, but I/we want to keep my/our primary fork fully ours”.

[2] it has been the defacto position for many projects since a long time before this phrase was coined.
There are a lot of ways to correct people.
While I agree it's clearly not adding a lot to the conversation, the forum is async so it's not really disrupting much, as the comment goes down the comment list.

I'm a non native speaker and surely make a lot of mistakes, and I would be OK with such a correction
Direct link to the avherald.com page of the event in order to not hit the landing page: http://avherald.com/h?article=5132b9fe&opt=0
Moral rights can still exist, so they can't claim that they made it. This assumes that big corporations will be able to profit to the infinite extent we have today without copyright. Law is not ethics. And finally, this is already the case; without the money to sue, you effectively already own no IP. It's either copyright for only big entities, or for nobody at all.
After having worked at many startups for two decades, most recently as CTO, I had finally started building my own SaaS (https://persumi.com, a blogging/audio platform and https://rizz.farm, a lead generation platform) in 2023. So for 2024 I'd love to start monetising them and turning them into real businesses. Fingers crossed.
I think if C does not evolve, some people with giant C codebases will find themselves in the unfortunate position that they suddenly will be shut out of a market by regulators, because the C code is considered a risk, or that they will be liable for bugs caused by preventable memory safety issue, and keeping the code will not be sustainable.
In the Netherlands there is also this site https://treinposities.nl/ with positions, train history and much more
Funnily, the same approach is often used for acoustic / noise issues. Add music / other sources of sound to try and mask the acoustics issue (unsuccessfully).
He got away too easy if you ask me. You will need to spend a miminm of 2 years in jail for owning not stealing 500 cannabis plants
For the UK, quite a good one, can see trains moving from zoomed out https://www.map.signalbox.io/
In the section "Blueprint Protocol Starter Guide" he lists it under stuff he uses ("grounding sheets").

He doesn't explicitly say to buy it (and in fine print says its not an endorsement) but clearly the links are there to encourage people to buy these products.

I dont know if he's getting a cut but half the products getting promoted have discount codes which is suggestive.

> it's not like he is forcing anyone to do anything

Snake-oil salesmen generally don't.

> he is a lot less sales-pushy than the overwhelming majority of youtubers.

Generally it is counter productive to be super pushy. It raises people's guard and makes them less likely to buy.
I read the title and immediately thought "god, another know-it-all that thinks they can design a better music notation system. He clearly hasn't seen Tantacrul's video on the subject" :)
You can justify anything with that line of thinking. To anyone paying attention I think it's obvious that AI image generators are going to end this problem. No need to hurt anyone and people can look at all the depraved things they want in the comfort of their homes.
I prefer they fix the line service instead :D
A jailbroken kindle is okay - they make an adequate PDF reader and they can be found easily for less than the alternatives, at least in Britain. I do agree they're somewhat poor when used as intended.

They're also quite a nice embedded ARM Linux machine for a lot less than I could make one or buy one from elsewhere, but I suspect that isn't the core market for a kindle...
I was specifically replying to someone saying they can't skip breakfast because they want to build muscles. I have not generalised to frail old people or any other case that wasn't the original comment's intent, for that comment my point still stands: there's no need for breakfast if you are managing your macros during the day.

I understand your point but it feels to me a little bit of soapboxing.

Being more optimal only really matters at a very high level of athleticism goals, if one is at the point where they need to optimise their protein intake windows they'd already know about it given that reaching such high level requires a lot of nutrition knowledge.

I'm stating this because there's a tendency on Hacker News comments to overoptimise everything. Yes, there are optimal ways that can give an edge for people requiring that edge but most people here are just normal people who shouldn't at all be caring about that, the tendency to min-maxing will just become an obstacle.
I tried to pay for street parking a few days ago in Miami but the app wouldn't work at all. It turns out that ParkMobile just refuses to operate if your device is using a vpn and won't tell you the reason.

It makes sense to filter out bad actors, but relying on vpn usage as the only signal for untrustworthiness is unwise.
I would argue that, like every economic compromise, copyright introduces certain friction. For example, authors cannot easily build on works of other authors; even if you had a brilliant idea about a new Mickey Mouse movie, you would have to obtain licence from Disney for that. That sort of goes against the entire cultural tradition of humanity before copyright; Disney themselves made enormous money on adaptations of folk tales in public domain. Art does not exist in a vacuum and most works are at least inspired by previous works.

Ofc authors and publishers benefit from this friction, that is why copyright exists at all. But it is a legitimate question where precisely that tradeoff should lie.

Already in the 18th century in England, the Law Lords rejected "eternal" copyright as undesirable. 95 years isn't exactly eternity, but it is a lot longer than the original 14+14 format.
> Audition? Sorry, I don't entirely understand what you mean by that in this context.

I think they mean "audiation".
What are the top 3 mathematicians when ranked by the number of sports teams named after them? ;)
Many languages don't aim for that. As it states on the front page:

> Odin is a general-purpose programming language with distinct typing built for high performance, modern systems and data-oriented programming.

> Odin is the C alternative for the Joy of Programming.

So if you have a problem that would have traditionally use C (or even C++), then Odin provides a more modern approach built for modern systems and higher control over low-level things such as memory, memory layout, memory access, and custom allocators.
Weird timing, reviewing it months after it was released.
> Commit to regular posts on LinkedIn and Twitter, even if I think I'm cringe every time I do it.

Is this what people that create all Twitter and LinkedIn cringe content tell themselves? Why do it?

You really can't come up with any way to market your company that feels good? Can't you think a bit more about the problem and frame it as "what can I do that is net positive, doesn't make me feel like crap while doing it and will still get the word out"?

Why does it have to be "beat myself up continuously until I'm as bad as the other bad guys"? Is it just because it's easy to do cringe posts in 30seconds on LinkedIn? I think it is.
There’s a lot of other giveaways - the hair on the left and middle doll would just be loose yarn or thread, there’s no stitching, and getting them to that kind of detail and consistency would be a nightmare. The noses all lack any stitch definition but simultaneously seem to blend into the face fabric. The sleeve on the left one is layered in a way that would be near-impossible imo in a crochet context. There’s a ton of gauge changes (the yarn size getting smaller/larger) which, while not impossible, would be very very difficult especially at the size it appears to be. The tiny hands would be painstaking at best. Then there’s some felting for the white “V” on the left dress and embroidery for the details on the dresses and crown. If anyone could actually make those to match the image it would be hundreds of hours and never look nearly that perfect.
> You can rent the same gpu from cloud providers for a few dollars per hour.

The big three cloud providers don't offer things like the RTX 5000 32GB or the 4090 do they?

AWS will happily rent me a H100, A100, V100, K80, A10G, T4, or M60. Not to mention a Trainium, Inferentia, Inferentia2, Gaudi or Qualcomm AI 100.

And don't forget to benchmark each one of those in a 1, 2, 4, and 8 GPU configuration; and with a variety of batch sizes; and with and without distributed training. Remember to work out the performance-per-dollar for on-demand, reserved, and spot instances, times three different cloud providers. Now, to compare to on-premise pricing we start by calling our air conditioning and backup generator vendors...
> Gibraltar

That's a British Overseas Territory, it isn't in the EU.
For those interested in the technical details of the Clapper's clap detection, the patent the article links to [1] is definitely worth taking a look at. Not only does it feature detailed explanations and flowcharts of the algorithm, but page 13 even has a full source code listing of the firmware that runs on the Clapper's ST6210 microcontroller - which, in true "there's a 6502 inside every toy" fashion, has a very blatantly 6502-inspired architecture [2].

[1] https://patents.google.com/patent/US5493618A

[2] https://www.st.com/en/microcontrollers-microprocessors/st621...
But you know that is not an argument against templates legal or software and using templates to have most things set up well from the start to save time of experienced people.
Choosing hmlt as an identifier and file extension is pretty funny and feasibly a troll. Maybe hlet or hamlt would have been more obviously not html.
Yes. Given how hard he trashed Finale and Sibelius, I would have thought he'd be less defensive about traditional western notation.

But while he mentioned some other systems in actual use and did distinguish between crazy reformers and serious/established reform proposals, he spent most of the video deriding crazy reformers and defending the traditional one. The best he said about "ugly numbering systems" was roughly what most conservatorians say (roughly paraphrased): "that's interesting, maybe it could have some limited didactic use."
In the context of art, it is basically a digital certificate of authenticity. More details:

https://mirror.xyz/mattdesl.eth/eUrK8MrRfKFJYVKTwi5F4mCIBJEB...
A VR app called PianoVision has changed my musical life. People need to be open to breaking the boundaries and constraints of paper and rectangular screens, and go 3d and spatial with data display.
Having your books off by a few percent is indeed quite common. However, missing 20% on your primary source of income is not the norm. If a company would report that nowadays, it would trigger a money laundering investigation.
Yes, but they get that back later on with all the productivity increases.

Or to put it another way - think of how much the government could save in taxes if it built no infrastructure at all. You want electricity? Get a generator. You want roads? Pay a new toll every 1km as you go through various private lands.
We still know not having millions of people in debt out of university, and not giving millions of others the possibility to even go into university without big spending, is not good - confounding factors or not.
There's also https://junatkartalla.com/ which includes cargo trains.
Sorry for the lag, I'll just drop the answer anyway in case it still can be helpful to you or anybody else.

It's actually a oh-my-zsh plugin, called "magic-enter".

I defined MAGIC_ENTER_GIT_COMMAND="git status" and then included the plugin.

You can find a different but similar plugin here: https://github.com/zshzoo/magic-enter/blob/main/magic-enter....
Seeing as everyone is posting other countries' live railway maps, here is Denmark's: https://www.rejseplanen.dk/bin/help.exe/mn?L=vs_livemap&tpl=...
I highly recommend looking at:

* The Overview: <https://odin-lang.org/docs/overview/>

* examples/demo: <https://github.com/odin-lang/Odin/blob/master/examples/demo/...>

As for the first example: a basic lexing example is probably boring, but it does show some basic ideas of what the language is about. If people want to write better examples or just reorder the current ones, please feel free to make an issue or PR on the website's GitHub page: <https://github.com/odin-lang/odin-lang.org>.
Reminds me of modern API layers bolted on top of crumbling legacy systems
Interesting. There have also been talks and prototypes in the Luau community of creating a preprocessor to convert a JSX-like syntax to Luau/Lua, as JSX has gained popularity alongside transpiling TSX to Luau/Lua, as it's a much better syntax for writing code for Luau/Lua UI libraries than `React.createElement({}, {})` etc.
You... don't understand how carrying heavier, bulkier loads will cause more stress on a bag?
Sorry you're correct, I should have said: 'appeared to be trailing into late October as they were still the occasional blackout that still seemed coordinated to me' not 'still' - I can't speak for Nov/Dec.
You probably have a finer resolution and bigger picture than me on this.
> Fun fact: In the Netherlands you have to make sure you 'checkin' to the right transportation company

In Italy there are competing fast trains on the same track, all with a red color. With people on the station selling tickets to only one of them. ... So I asked them for the first train from Vincenza to Milan at 13:30... That is 14:44...I bought the 14:44 ticket from "Italo". Then found out there was a "Trenitalia" at 14:04! ...
Sorry mister.. this was OUR first train..not THE first train.
Because people don't just learn to be doctors, physistics, biologists, structural and civic engineers, chemists, and countless of other professions on their own (not in any significant nunber after the 18th century at least), they learn it in university, with a structured curriculum, theoritical tuition, supervision, labs, and so on.
Stopping SD or LLMs from their consumer cards would be dumb.

If 300M people in the US, let alone 7B in the world, need even a 4060 to run basic business workloads, NVidia is sitting pretty.
I believe the issue with Lovelace is that you may find less than PG results typing that on a search engine. Hence using Ada primarily on the marketing.

I think the complaint is more with the consumer card being 4xxx but this is 5000 both on the same architecture.
I see your point.
I counter with: Societies abhor power vacuums. Someone will fill that niche.

So, increased accountability is what's needed.

More good newspapers/magazines with good research/investigation. More literacy. More time to do those things. More money to support good work.
Microservices limit the productivity of high performing coders
As I recall, he was much more positive to Dorico than to Finale and Sibelius. Didn't Musescore's owners reach out and hire him because they liked the criticism in that video?

And you know, in between the animations of Russian composers vomiting, he did make some solid criticism about music software UI design. It was clear he had done some serious thinking about it.
Most asymmetric encryption is not quantum safe and has to be designed to be so.

Symmetric encryption is safer, but you still need to double the key lengths at least.
It definitely surprised me with how fiddly it was to get working! Thank you for commenting!
My ocd stops me doing this. I like to close out the task before I even go home, or I feel like something is incomplete… weird. I am gonna really try implement this now though. Have seen it recommended multiple times.
Show HN: A tool to transcribe and summarize WhatsApp audio notes and audio files
Hello HN, and happy new year!

Towards the end of last year I finally released AudioBriefly, a tool that transcribes and summarizes your voice notes. It doesn't require installing any apps, and also works on WhatsApp.

I know that there are competing services out there but the main advantages are:

- Speed: we perform optimizations on the audio files to be able to transcribe them quickly
- Punctuation: some of the competing services don't add punctuation to the transcription, which makes it a pain to read.

- Price: we are cheaper than most competitors out there for the regular user

- Web UI: some competitors only provide a whatsapp bot, while we also have a mobile-friendly web UI.

- Ease of use: I've tried to make it super easy to use for anyone.

If you want to try it out, I've created a discount code that makes you try the "Chatty" plan free for a month: just use the SHOWHN code at checkout. To prevent abuse the discount expires at 2024-01-08T00:00 UTC and can be redeemed for max 100 times.

Looking forward to your feedback!
No chance! (should be the correct answer).
> hand AND fun

I assume you meant hard and fun, and this is something I believe is the issue in adult life, things are unnecessarily hard when they could and should be hard AND fun

engagement, quality, innovation might rise by a lot if we focused jobs around that
> Commit to regular posts on LinkedIn and Twitter, even if I think I'm cringe every time I do it.

If marketing is making you cringe, you're marketing to the wrong audience
That seems to be ahistorical revisionism. The common land in mediaeval England was literally called "waste" as in a "wasteland". It seems that some ideological academics are now trying to rewrite this history. Wikipedia has been edited into a state of internal inconsistency where it says [2]:

> Millions of acres were "common land", but this did not mean public land open to everybody, a popular fallacy ... Certainly their rights were strong, because the lord was not entitled to build on his own land, or fence off any part of it

So this land wasn't fenced off in any way and the putative "owner" couldn't build anything on it, yet this article argues it also wasn't "open to everybody", despite literally being called "common land" that is the root of the word "commoners".

It also says:

> the commoners' right to graze the lord's land with their animals was restricted by law - precisely in order to prevent overgrazing

... but the citation for this is very curious. It's a book [1] with an abstract that says:

The report of the Royal Commission on Common Lands (of which both authors were members) revealed not only the chaotic state of the laws relating to the commons but also the lack of information regarding their nature, distribution and extent. Some commons being shamefully misused, while some very large tracts are lying idle and serving no useful purpose either economically or for public enjoyment.

... which sounds exactly like the well known tragedy of the commons that supposedly doesn't exist.

Checking the history of the Wikipedia talk page (which is nearly empty) reveals what you might expect: someone engaged in a massive edit war to totally rewrite this page along ideological lines, claiming the classic understanding taught to British schoolchildren was "neomalthusian rubbish", whatever that means. They appear to have simply ground down their opposition, then the whole discussion was deleted by a bot. Nice. Wikipedia has become such a dumpster fire in recent years, it's so sad.

[1] https://www.amazon.co.uk/Common-England-Collins-Naturalist-L...

[2] https://en.wikipedia.org/wiki/Tragedy_of_the_commons
Firefox does that in the UK and Poland from my experience. I've not actually used the setting because I'm paranoid and prefer to enter them myself, but it is definitely offered.