skysight-inc/HackerNews huggingface dataset:
Not the OP, but I'll take a stab at it.

In C99, C added the 'restrict' qualifier for pointers, which would make function arguments marked with it behave a bit like procedure arguments in Fortran. Idea being to allow the compiler to optimize more aggressively.

Not specifically about making C more like Fortran, but there's been a lot of work over the years clarifying what compilers can and cannot assume. More recently, a lot of work going into things like 'pointer provenance', again in an effort to clarify where more aggressive optimizations can be done. And things like when can NULL checks be elided etc.

Some people resent all this and just want C to be more like a 'portable macro-assembler'.
Anker makes these earbuds for sleep:

https://www.soundcore.com/uk/products/sleep-a20-sleeping-ear...

I haven't tried them myself, but they come highly recommended.
Optimizing Conduit – 5x the Throughput
Meroxa improved the Conduit streaming engine by redesigning its architecture, which increased throughput by five times while simplifying the code. The new single-threaded approach processes batches of records, reducing latency and enhancing performance significantly compared to the old system. Testing showed that the new architecture can handle a peak of over 500,000 messages per second, demonstrating its efficiency with various message sizes.
I'm not OP but the most popular C GC is Boehm's: https://www.hboehm.info/gc/
No I just argue with people on HN. Thanks for the kind words though, it made my evening feel more cheerful.
Yet, another I've bought a tablet but should have bought a laptop to replace my old laptop "article". It's not ready, why apple does it like this we don't know... but pretending that we don't know it despite talking about it for 10 or more years is disingenuous and fails the debate at hand.
> That is implemented under the assumption that these distros are most of the time used in enterprise contexts.

I've been using OEL since before Rocky was a thing. It was and still is a free alternative to RHEL.

Apart from that, all my planned use of XPipe fits entirely in the Community feature set (maybe apart from Yubikey/GPG agent).

But now I'd need to pay $5 a month just to open a shell? No thanks.

Also, a slight tangent, but charging homelab folks $5/mo is weird. The only profit I'm making with my homelab is negative. And I, as a developer, would much more likely to ask my employer to buy an enterprise license if I actually liked using it at home. Like Tailscale, JetBrains, etc.
Children under eight should avoid slushies as glycerol leads to hospitalisations
The good news is that development could easily be funded by donations. It's only a few million. Enough to keep a few dozen people employed.

The bad news is that donations are unlikely to happen with the current massive misspending on overpaid people with no technical background that don't code that spend 95% of their budget on themselves, support staff that also doesn't code, offices they don't need, commercial products that flop, monetization schemes that fail, etc.

I wouldn't. And I'm a user! Mozilla needs to be restructured. And ideally they diversify their commercial ecosystem as well. Because they are way too dependent on Google.

If you look at Rust, created by Mozilla, they are set up in a more sane way. There's a foundation. It's well funded with sponsorships from the big companies that use and depend on Rust. Those companies employ people that contribute to Rust. Many OSS organizations are set up like that. It works. The diversity of contributors and commercial sponsors ensures neutrality and longevity. No single company has veto power. As long as valuable tech comes out, companies stay involved. Some disappear, new ones come along. Linux development works like that as well.

Ironically, Chromium at this point is better positioned to become like that. The main issue is that Google still employs most of the developers and controls the roadmap. But there are quite a few commercial chromium based products: Edge, Brave, Opera, etc. that each have development teams using and contributing to it. Add Electron (has its own foundation, based on chromium) to the mix and the countless commercial applications using that and you have a healthy ecosystem that could survive Google completely disengaging if they'd be forced to split off their browser activities.

I use Firefox mainly because of the iron grip keeps over Chromium and it's clear intent to cripple ad blocking, grab user data, and exploit its user base. But I worry about the dysfunctional mess that is Mozilla.
Yes, I know the issue you're talking about. The fix I've found is to always maintain the same grip on the wheel. If you want to change it up then yank the wheel a bit to let it know you're there and then do so.

I'm surprised it got implemented in such a manner.
Sounds like they know what they are doing. How is using c++ with only data classes different from using c with struct
Just try it :)
I’ve definitely come across random variation selectors now and then.
Otherwise, the most common case is typography: like em-dashes instead of hyphens, curly apostrophes, etc. But if you're feeding LLM output into a search tool, these subtle differences might not be helping you!
Why was FreeSWITCH written in C? Even in 2006 there were more secure alternatives.

We as an industry keep poking each ourselves in our collective eye with a sharp stick, wondering why it hurts.
It's a reference to an effort of the EU to reduce plastic waste in the environment by tethering the plastic bottle caps to their bottles.

Instead of rethinking their consumption habits, people are making fun it, suggesting the EU can't do anything productive.
I'm not saying this to start a language war but. Look at the cognitive complexity and tooling complexity involved in a c# project. Seriously, every speed bump you hit in your ide think about how many pieces of knowledge you assemble to solve it. Similarly think about the overhead in designing both the software and tests. Think about cross platform builds and the tooling required to stand up ops infrastructure. Measure the compilation time. Think about the impedance mismatch between ts and c#.

Compare that to go. It's not even close. I see comments bickering about the size of executable files... Almost no major product cares about that within order of magnitude.

Go is a wild choice to write a compiler in. Literally in my top 10 things I never want to do. Everything else about it drove them to do it.
> All that security in Rust is only needed if there is a danger of hacks compromising the system.

Rust's safety features help prevent a large class of bugs. Security issues are only one kind of bug.

> C beats it due to simplicity and speed of development

C being faster to develop than Rust is a ludicrous claim.
Here's an abomination of my own design in Rust for example:

for (index, node) in nodes
.expect("Error: No blocks for the Body")
.children()
.expect("Error: blocks node has no children")
.nodes()
.iter()
.enumerate()
{
let block = Block::new(node, index);

self.blocks.push(block);
}
ADIRU in its minimal common form (some vendors might make a beefier one, who knows) provides the equivalent of old pneumatic "air data central" + artificial horizon and turn indicator gyros.

GNSS becoming "reasonably easy" to add meant that there was way less push to integrate INS after early use in transoceanic flights
When the author mentioned they didn’t understand how our ears and brains process sound and then said they went back to first principles, I thought for sure they were going to end up working on their reaction to sounds and doing something like cognitive behavioral therapy.
Thanks for these cool models!

One suggestion (or just rant): Less censorship for local models, PLEASE.

One question: 100+ elo gains from gemma 2 to gemma 3 on Chatbot arena is really something, any estimates on how this is achieved?
Is there anything a car salesman won't say to get a sale?
Your assumption that filter/map/reduce is necessarily slower than a carefully handcrafted loop is wrong, though. Rust supports these features as well and the performance is equivalent.

Also countless real-world production environments run on Python, Ruby, JS etc, all of which are significantly slower than a compiled FP program using filter & map.

> FP languages are dead-set on "immutability" which simply means creating copies of objects

Incorrect. The compiler can make it mutable for better performance, and that gives you the best of both worlds: immutability where a fallible human is involved, and mutability where it matters.
IIRC the rule now is that every new API has to be provided through a COM interface
Maybe because one is a working browser whereas the other is not.
Why you need reference impl?
Show HN: We built Lovable for Mobile Apps (uses Flutter)
Hey HN. We built an AI agent, Avid, that creates beautiful Flutter Apps, much like v0 or Lovable. The agent carefully makes UI UX considerations, generates Flutter code, and you get a preview on your browser.

I've gone through lots and lots of iterations to help the agent produce beautiful results. Would love your feedback.

Ability to download App files and flutter code should be ready this coming week. Have a look and let me know what you think!
>it’s not like the people in charge of classified information handling at the national level haven’t heard of SPF or the concept of checking email headers

I'd hope. But I wouldn't count on it.
A weekend with Apple's Mac Studio with M3 Ultra: The only real AI workstation
I've tried Cursor a couple of times but my complain is always the same: why forking VS Code when all this functionality could just be an extension, same as Copilot does?

Some VSCode extensions don't work, you need to redo all your configuration, add all your workspaces... and the gain vs Copilot is not that high
Here's a good one from a more recent role West has in a northern-england-based sitcom: https://www.youtube.com/watch?v=xhdQ7TbXtuE
I completely agree with this sentiment. That's why I wrote Datoviz [1] almost entirely in C. I use C++ only when necessary, such as when relying on a C++ dependency or working with slightly more complex data structures. But I love C’s simplicity. Without OOP, architectural decisions become straightforward: what data should go in my structs, and what functions do I need? That’s it.

The most inconvenient aspect for me is manual memory management, but it’s not too bad as long as you’re not dealing with text or complex data structures.

[1] https://datoviz.org/
Here's what kc3 code looks like (taken from [1]):

def route = fn (request) {
if (request.method == GET ||
request.method == HEAD) do
locale = "en"
slash = if Str.ends_with?(request.url, "/") do "" else "/" end
path_html = "./pages#{request.url}#{slash}index.#{locale}.html"
if File.exists?(path_html) do
show_html(path_html, request.url)
else
path_md = "./pages#{request.url}#{slash}index.#{locale}.md"
if File.exists?(path_md) do
show_md(path_md, request.url)
else
path_md = "./pages#{request.url}.#{locale}.md"
if File.exists?(path_md) do
show_md(path_md, request.url)
end
end
end
end
}

[1] https://git.kmx.io/kc3-lang/kc3/_tree/master/httpd/page/app/...
It matters as a common standard for model integration. System messages aren't removed when regular context messages start to get cut, the model pays more attention to tools and other directives defined there. Like situational context, language it should use, type of responses, etc. OAI/Anthropic give their models system prompts a mile long to tune their behaviour to a T.

There's also the ideological camp with Hartford and Nous and the rest where models are supposed to be trained as generally as possible, with the system prompt being strictly followed to adapt it to specific use cases.
All employment processes discriminate, the question is for and against what traits, and to the exclusion of what else?

"Culture fit" is pretty much trading off communication efficiency and high trust against diversity of thought.

You don't have to set so many guidelines as people already know how to behave, and what's expected of one another, but you're more vulnerable to groupthink and related cognitive biases.

"We're every shade of the rainbow on this ship, but even our Klingon thinks Klingons are evil."
what hardware are you using those on? Is it still prohibitively expensive to self-host a model that gives decent outputs (sorry my last experience has been underwhelming with llama a while back)
Apple Co-Founder Steve Wozniak Talks Doge, Musk and Tesla
Thanks, will get that fixed
The best answer is an old graph of CEO compensation to Firefox market use.
Maybe someone upvoted one of your earlier replies. It happens.
> Nvidia is rich because they have insane margins on their GPUs. They cost a fraction of what they sell them for. That means that price will crash over time. So, I'm optimistic that a lot of this stuff will improve rapidly.

That still leaves us with an ungodly amount of resources used both to build the GPUs and to run them for a few years before having to replace them with even more GPUs.

Its pretty amazing to me how quickly the big tech companies pivoted from making promises to "go green" to buying as many GPUs as possible to burn through entire powerplants worth of electricity.
const getOddness = n => n % 2 ? 'Odd' : 'Even'
This is the primary reason I uninstalled Cursor and subsequently realized that, hey, VS Code has most of these features now.

What in the hell were they thinking?!
https://archive.ph/Ts02x
Erlang? I don't know it. But security? Yeah. Reach out: https://www.linkedin.com/in/crisdosaygo/
Good for you. Like the grandparent commenter said, for others these tradeoffs might be important. E.g.:

> I am disappointed with how poorly Rust's build scales, even with the incremental test-utf-8 benchmark which shouldn't be affected that much by adding unrelated files. (...)

> I decided to not port the rest of quick-lint-js to Rust. But... if build times improve significantly, I will change my mind!

https://quick-lint-js.com/blog/cpp-vs-rust-build-times/
My rules:

1. Keep nonsense away from your developers. They don’t need to be in meetings. If they do, they’ll ask for it.

2. Have coding standards. What is your definition of done? How far do we go with clean code? Hacky solutions are tech debt and will come back to bite you. Standardisation is much more important than the actual rule.

3. Have retrospectives. Why did something not work out as you think it would? What needs to change?

4. Plan tech debt cleanup sprints, or incorporate some stories in every sprint. Tech debt immediately leads to slow down, and very quickly to stagnation.

5. Encourage training and knowledge sharing. Code reviews are a good place to start.

6. Write good tests. This alone will show you if your structure and code practices makes sense.

7. Management deals with “why”, a product owner with “what”, and a developer with “how”. Try not to mix these, it doesn’t end well.
it's not unique for Rust, C/C++ devs probably aren't just used to it, since there hasn't been anything major new for decades.

If you already dislike this, I ask you to read C-evangelism with respect to the recent Linux drama about Rust in Linux.
To clarify, are you basing this comment on experience with previous Gemma releases, or the one from today?
Burger dog! Bur-Bur-Burger dog! He has Pickles and he has cheese!
SDLC?
> C takes me more time to feel productive. I have to write code, then unit test, then property tests, then run valgrind, check ubsan is on. Make more tests. Do property testing, then fuzz testing.

So … make && make check ?
This is insane from an astronomer's point of view.

Make winter time permanent, when noon (the sun being on the local meridian) is at 12:00, and let public services and businesses shift the opening hours by one hour.
I have a set of sleepphones. They are okay. If I sleep on my side with the earphone directly over my ear, it does start to hurt, but just off with the volume a little higher works, depending on the content being played. I've also found they seem to move around a bit inside the head band and the volume varies a lot depending on where the earphone is in relation to my ear. The battery sits on the back on the band which may not be great for back sleepers.

Any particular questions, happy to answer.
Andromeda (the nearest) is 2e19 km away and has a relative motion of 300 km/s in the radial direction. If we assume the tangential motion is similar, that's 5e9 km of tangential displacement over 6 months, for a total angular displacement of 5e-5 arcseconds (50 microarcseconds).

That's well below the precision of every telescope. (Admittedly GAIA, the one designed for parallax measurements, comes close, but its techniques only work on very bright point-source objects).

I think these articles answer your question:

https://en.wikipedia.org/wiki/Cosmic_distance_ladder

https://news.ycombinator.com/item?id=43151943 ("Part two of Grant Sanderson's video with Terry Tao on the cosmic distance ladder (mathstodon.xyz)", 99 comments)
I have been thinking and learning about sound and noise control/isolation for a long time.
I am quite sure that active noise cancellation in real domestic environments is impossible.
Simple physical isolation will always be cheaper and more effective.
The idea of portability is founded on an overly simplified and ancient demonstration of sign waves
cancelling each other, and fataly leave out how human hearing actualy operates, and there are now indications that the very best active noise cancelling headphones, are working, but with side effects that are disorienting, and likely very bad
for your health and brain.Do the deap, deap dive into just how sophisticated human hearing is at discerning usefull information in an increadably complecated environment, and the fact that there is NO OFF SWITCH, this isn't just an osiliscope
excersise, your brain is fighting furiously to figure out what that wierd sound is, please be nice to your brain and dont feed it an endless
unatural, impossible in nature, signal.
3 years of sound engineering in a past life, and still loving sound/music/audio and searching for implimentable solutions to NOISE
> the expert that Microsoft sent to fix it.

Ha ... ha ... ha ... ha ... did they give you the run around for several months until you dropped the issue? It's actually pretty astounding that they don't get sued for this practice. If a company is paying for support and are given illiterate noobs then that is breach of contract I would think. I would never recommend entering a contract with MSFT, they produce trash products they can't support and are more invested in their Legal team than actual product.
Personally, I'm convinced Bluey is covertly a wholesome show for parents, dressed up as a kids' show, but ultimately still for the sake of children by way of 1) encouraging watching together, 2) improving parents' mental health and well-being, which has positive outcomes for their kids, 3) getting parents to be more engaged and imaginative.
The only way I would donate to Mozilla is if the corporation is shuttered and the non-profit is disentangled from it.

Any donations you send to Mozilla today go to the corporation and are not spent on the browser. They are spent on things that have nothing to do with the core mission of the maintaining the browser.

Nobody is allowed to fund Mozilla to maintain the browser, which is the actual question you're asking.
Can you elaborate on the mistakes you see? What languages are you working with?
I would chip in the average Facebook user value for my country if, and only if, Mozilla completely reversed course on ad tech, selling user data, and 'private tracking'. The fact that it acquired Anonym (with its close ties to Facebook) makes it clear that Mozilla would not diversify away from ads, it would just jump from one ad company (Google) to the other (FB).

I would not give a penny to a company that looks to sell me out.
I would only donate for firefox specifically, when given the promise that it would be spent on development. Never to Mozilla with all the weird stuff they fund and work on.
Not quickly, no. But neither does C++ (how long does it take to compile Clang?) and people manage fine.

Faster would obviously be better, but it's not big enough of a deal to cancel out all the advantages compared to C.
Have you found that this still saves you time overall? Or do you spent a similar amount of time acting as a code reviewer rather than coding it yourself?
anyone got non paywalled copy?
How much does a credit cost in USD?
That's my point. Cursor, by offering unlimited requests (500 fast requests + unlimited slow requests) to people paying a fixed $20/mo, they've put themselves into a ruthless marginal cost optimization game where one of their biggest levers for success is reducing context sizes and discouraging thinking after every function call.

Software like Claude Code and Cline do not face those constraints, as the cost burden is on the user.
Very nice then. I looked through the page and did not saw anywhere mention of any remote desktop technology, but I also did not looked thorough enough.

Will try it to see how this work.
When Ada was first announced, I rushed to read about it -- sounded good. But so far, never had access to it.

So, now, after a long time, Ada is starting to catch on???

When Ada was first announced, back then, my favorite language was PL/I, mostly on CP67/CMS, i.e., IBM's first effort at interactive computing with a virtual machine on an IBM 360 instruction set. Wrote a little code to illustrate digital Fourier calculations, digital filtering, and power spectral estimation (statistics from the book by Blackman and Tukey). Showed the work to a Navy guy at the JHU/APL and, thus, got "sole source" on a bid for some such software. Later wrote some more PL/I to have 'compatible' replacements for three of the routines in the IBM SSP (scientific subroutine package) -- converted 2 from O(n^2) to O(n log(n)) and the third got better numerical accuracy from some Ford and Fulkerson work. Then wrote some code for the first fleet scheduling at FedEx -- the BOD had been worried that the scheduling would be too difficult, some equity funding was at stake, and my code satisfied the BOD, opened the funding, and saved FedEx. Later wrote some code that saved a big part of IBM's AI software YES/L1. Gee, liked PL/I!

When I started on the FedEx code, was still at Georgetown (teaching computing in the business school and working in the computer center) and in my appartment. So, called the local IBM office and ordered the PL/I Reference, Program Guide, and Execution Logic manuals. Soon they arrived, for free, via a local IBM sales rep highly curious why someone would want those manuals -- sign of something big?

Now? Microsoft's .NET. On Windows, why not??
Not really. Rustup only ships a limited number of toolchains, with some misses that (for me) are real head-scratchers. i686-unknown-none, for example. Can't get it from rustup. I'm sure there's a way to roll your own toolchain, but Rust's docs might as well tell you to piss up a rope for how much they talk about that.

Why is this important? C is the lingua franca of digital infrastructure. Whether that's due to merit or inertia is left as an exercise for the reader. I sure hope your new project isn't meant to supplant that legacy infrastructure, 'cause if it needs to run on legacy hardware, Rust won't work.

This is an incredibly annoying constraint when you're starting a new project, and Rust won't let you because you can't target the platform you need to target. For example, I spent hours building a Rust async runtime for Zephyr, only to discover it can't run on half the platforms Zephyr supports because Rust doesn't ship support for those platforms.
Agreed. One useful tip is to have Cursor break up large files into smaller files. For some reason, the model doesn't do this naturally. I've had several Cursor experiments grow into 3000+ line files because it just keeps adding.

Once the codebase is reasonably structured, it's much better at picking which files it needs to read in.