skysight-inc/HackerNews huggingface dataset:
It's entirely valid C and (assuming this and that are byte pointers) copies a range of bytes until (and including) a zero byte is reached.

With a suffficient warning level (e.g. -Wall on gcc, which should always be enabled anyway, together with -Wextra), compilers will complain about the '=' and ask you to add a pair of braces to make clear that this is actually intended:

while( (*this++ = *that++) );

It's also one of those cases where the C code matches the output assembly pretty well:

https://www.godbolt.org/z/nz1jbz4Er

As far as "obfuscated C" goes, this is a very tame example though, it's just a straightforward usage of language features, which might look strange only when coming from other languages that don't have pointers or a post-increment operator).
Sorry but I can't take seriously a company who states 'that sets a new standard for privacy' and their web page is full of trackers.

That shows to me they don't believe in what they're preaching.
If I am not wrong, Volkswagen came to light in Germany not too long ago.
It's not a crisis. It's entirely normal and a continuing trend since ww2.

The politicisation of religion in the US is social cancer, depending on the massive overt Christian commitment of voters. The US is bucking a trend, atheism is much more prevalent in its peers.
Doesn't Mozilla have their own speech recognition library? I think it would have been more interesting to see the results, since we're talking about FOSDEM.

Also, since OpenAI was already used, it could have been cool to provide a summary of the transcript!
yeah it shouldn't be, couldn't get the GitHub API to give me access to just a single repo, once I work that out I'll definitely ease the requirement
For example:

> Oi oi, fallible developer! I, idiot programming enthusiast, frequent Hacker News, mixed subject extravaganza, do you? No way!

This uses each Scrabble tile once (with blanks M and X).
My subjective personal experience:

* good developers seem to be more pissed off by poor code. Seems easy to explain -- people tend to do better when they care about what they are doing.

* even better ones seem to be more accepting people with varying ability to write code and spend more effort trying to help them make the best with their abilities,

* poor developers tend to try to make up for their perceived inadequacies by trying to look more professional in other ways (like behaving "professionally", dressing better, using marketingspeak on meetings, etc.)

* on the other hand large portion of developers have inflated egos and thing they are super good while really writing crappy code and not even understanding why it is crappy. I worked with two guys at two separate companies who were both lead developers and were saying they are best developers in the world. Both super confident and this helped them to advance. One of them was fired when the entire library they brought in as an "asset" failed spectacularly because it parsed XML messages by extracting "n characters from m line at n offset" rather than doing actual XML parsing.
As you have phrased them, the standard guarantees seem weaker than they are actually specified in the C standard.

Where a "longjmp" returns after a "setjmp", everything is preserved exactly like after a normal function call (including the registers specified by the ABI),

"except that the values of objects of automatic storage duration that are local to the function containing the invocation of the corresponding setjmp macro that do not have volatile-qualified type and have been changed between the setjmp invocation and longjmp call are indeterminate."

For the most frequent use case, when "longjmp" is used to throw exceptions, the only local variables that can become indeterminate, according to the standard, are those that have been passed as arguments to functions invoked inside the C equivalent of a "try" block, or which have been explicitly modified in another way there. Any local variable that is not assigned to or passed as an argument there is preserved.

The standard behavior is normal, because where a "longjmp" returns it is not known where the execution of the nested functions has been aborted and whether any of their output parameters already store their expected final values or only some unpredictable temporary values.
And when food is deep fried, the oil is often being reused and reheated repeatedly until it is no longer fit for human consumption at all.

This has then lead to the popular misconception that fat inherently makes you fat.
would definitely consider it, the repo may just need a bit of work before it's ready for that
Intel doesn't make many defense chips nor do they plan on as the defense industry is low volume and heavily bureocratic and doesn't generate the kind of margins Intel is interested in.

That's why there are very few fabs in the US certified for defense contracts. Because it's not a profitable business to be in for a fab if you've got better options.

For Intel to want to get in on this, uncle Sam would have to open his wallet far far wider than he does right now.
Why would OOP and functional programming be at opposite ends of a spectrum?
Usually I am using permalink or a version containing link for my use cases, so they shouldn't change anyway and I am checking with a checksum. I think my use cases are not affected then.
You can build excel by relying only on standard ISO/ANSI C features. The fact that they felt like they were better than using a fully standard compliant compiler says more about their lack of competence than anything else.

You could learn to properly use ANSI C, or you could write your own compiler instead for some subset of C and pretend like youre smart for it.

It would make sense why MSVC has pretty much no C support, and why so many MS products are so uniquely bad, instead of being bad in the same ways (uniformly)
mentioned this in another comment but yeah will give this a shot, seems like an important point of feedback
FUD is generally frowned upon. The fact there are only single instances of nuclea incidents speaks highly of the technology.
Japan probably has no heavy government influence by the likes of Lukoil, either.
thanks, yeah gonna see what I can do about that in a bit
FOO BAR is a derivative of FUBAR, F*cked Up Beyond All Recognition.
See also: 'posit: thin triangle other tricks' - https://marc-b-reynolds.github.io/math/2019/02/06/Posit1.htm...
I met 3 coders who swore more or less continuously while coding. But that's 3 out of probably close to 100 I have been sitting close enough during 30 years. I do it myself but probably less than at one hairy problem a week.

At least one of the 3 does not produce better code than average. One produces clearly more code than average. Not really bad code, but we are still fixing his bugs quite a while after he left the company. The 3rd one I don't remember, just shared an office, but did not work with his code.

Edit: To be clear I talked about swearing aloud. Having swear words in the code I have not seen with 30 years of experience. Except some rare examples in open source which get then a lot of publicity.
Like OpenVMS makes it on Filesystem level where the highest version is the "real" one:

Blupblub;1 Blupblub;2 --> Blupblub;2 = Blupblub

Actually a good idea ;)
Not using old names for new things in this case means abandoning the concept of Git branch tags.
Also second hand smoke
For me, DI is where this happens at the public interface to things. I’m quite happy with subprocess.Popen’s keyword argument salad because they are relatively ergonomic and make good sense.

When that kind of “handy defaults for ya!” programming happens to a function inside a package… that has four call sites… all of which were added by the same team of three people… just refactor your stuff, get functional, and say explicitly what you actually need.
Well that sounds plausible, it seems like we could come up with all sorts of stories to say basically anything here. Maybe swear words keep other contributors away, resulting in smaller dev teams that can have more consistent standards.
The fact that they don't go as deep makes it a different problem, not one that is less bad per-se. Aircraft bombs that sit 10 meters or more underground take an effort to reach, but that also means that they are relatively safe until you go looking for them. Unexploded artillery shells are shallow enough that regular work such as agriculture will turn them up and that means that lots of farmers will be at risk of their lives for a long time to come without an effort to clear their fields. Mines are extremely bad because they are usually hard to detect depending on what they are made of and can be set off by even the lightest vehicles (and even pedestrians).
I checked my own talk and it's not perfect but it's more than understandable, despite my having an accent, speaking fast and not having rehearsed very much. Together with the slides it would be clear what was going on.
You are under impressions that corporations care about code in any way. They don't. They only care about business outcomes. If you mention "code quality" they will just stare at you. It is better to talk about "maintainability" or "development velocity" etc. It is teams/team managers who care about code quality.

It is people who work at corporations that self-censor themselves to keep the professional look of themselves.

I have never had any corporation disallow me from swearing in the codebase.
Lpddr5 can't be made on a dimm.
Ask HN: How do you keep track of your goals?
I've tried various apps and pen & paper. The latter seems to work better, but it's sometimes annoying having to write so much, when an app could help and automate some things further. However most apps are paid for or oriented towards business and not individuals. Are there any good open source goal tracking apps? Or do you have an elaborate pen & paper system at hand? How much has it helped you?
Because for moat other distros i can just `vim /etc/somedir/config` which is a lot less work than pulling a repo, finding the right files to modify and then rebuilding the entire package.
Are you sure Intel left?
Stop spreading disinformation.

> only a 1/6 of the deficit caused mostly by the nuclear failure in France was replaced by coal

1. Once again: it was not a "failure". It was scheduled maintenance/inspection.

2. Yes. The French were able to schedule this maintenance/inspection in the summer, when energy demand is at its lowest and renewable production at its highest. It is so helpful to be able to schedule these things. Unlike renewables, which you you can't schedule at all, and the only thing you really know is that they will produce the least energy when you need it most.

3. Once again: this was scheduled maintenance/inspection. And during the scheduled inspection they found some cracks. This is something that happens when you inspect things. That is why you do the inspections: so you find stuff that you then fix.

[The regularly scheduled car inspection found some problems with the engine that were duly fixed. Germans: OMG!!! WE MUST IMMEDIATELY BAN ALL CARS!!!! ]

5. "Modest". Yep, that's fairly modest, particularly when compared to considering a tripling of gas use as "unchanged". And that reduction went hand-in-hand with an overall reduction in demand in the last years. Also, you need to look at the lignite coal numbers, because lignite is the worst polluting kind: hardly changed at all. We did reduce the hard-coal a bit more due to shutting down the mines (by removing subsidies).
Exactly. To me, TDD seems to be a way for experienced programmers to solve puzzles in a new way.

It's all very well saying that good architecture will emerge from TDD, but there's no way that's true unless the programmer has a good idea of where they are going in the first place.
I could see it. Depression, leading to unhealthy eating habits leading to mitochondrial stress and deterioration.
> One of the most fundamental unanswered questions that has been bothering mankind
during the Anthropocene is whether the use of swearwords in open source code is positively
or negatively correlated with source code quality. To investigate this profound matter we...

Rofl
Marcin Ciura has famously discovered many new Polish pangrams:

https://marcinciura.wordpress.com/2018/06/24/perfect-polish-...
https://marcinciura.wordpress.com/2018/12/17/more-perfect-po...

And submitted an IOCCC entry in 2019 on the topic:

https://www.ioccc.org/2019/ciura/hint.html
He noted that musk is one of the biggest donators to the Ukraine so calling him anti-Ukraine doesn't seem fair.

He is anti-stark-industry. He doesn't want to make weapons or things that kill people. It's not unreasonable to think someone could want to help a cause but at the same time, not want to actively take part in building war machines.

Sometimes people have lines they're just not willing to cross.
I really enjoyed this talk from the author, as someone who has a casual interest in category theory https://youtu.be/https://johncarlosbaez.wordpress.com/2023/0...

I’ll have to try this out.
Many top performers leave after layoffs. They know they can easily get work elsewhere and don't want to deal with the post-layoff chaos or job uncertainty.

There are also many forces pulling them away from the company - headhunter pressure increases after layoffs, their fired friends are going to a set of companies (or starting their own) and asking them to come over, and the cynicism that spreads in companies after mass layoffs (where some people are always laid off unjustly, some promising projects are often spun down indiscriminately, some critical areas of code almost always become unmaintainable post layoffs, etc).

Layoffs never just get rid of the targeted people. They usually get rid of employee morale and top performers, too.
Was the U.S. before these KYC/AML laws (within our lifetimes) a high-crime/high-corruption country? If so, are the KYC/AML laws responsible for the reduction? If so, is the cost of these laws less than, approximately equivalent to or greater than the money saved by reduction?

I can honestly see that this could be the case. But I can honestly see that it might not be. A related situation would be occupational licensing: maybe it saves society money, maybe it costs society money; how certain are we that we are at the correct balance?
Have you tried debugging with Visual studio code? It sounds a lot like what you're asking for. Stick breakpoints where you want them, you can step through etc, and there's variable viewer in the left hand panel - which isn't great on it's own, but then you can right click on the dataframe and open it in data viewer and it'll open a new tab with the dataframe in a table that you can view, and then if you step further through the program you can hit refresh on that view and it'l show you the updated frame.
I always thought that this effect was due not causal but to many people using alcohol socially.

One of the biggest killers is loneliness. Have a look at the Harvard life study.
Who says I'm not paying for Github? But a Git porcelain that fails to show the version of a file it claims it's showing is a Git porcelain with a bug in it, regardless.

You don't have to take my word for it! https://github.com/orgs/community/discussions/46691#discussi...
You can get poisoned just by handling tobacco leaves - Green Tobacco Sickness. I had it as a kid after playing in a wet tobacco field - I honestly thought I was going to die.

And yes, it was a trip - but mild in the grand scheme of things.
If you mean that more vigilance and/or competence is always desirable: Absolutely!

If you mean that more vigilance and/or competence is required to operate nuclear power: I clearly showed the opposite.
stack switching with setjmp/longjmp can be implemented like this: https://stackoverflow.com/a/8817009/1116739

But it's messy enough that you'd want a library/framework to help you handle it.
Hah! That's hilarious. I have the same feeling with foreign currencies. Prices are just a random number, and you happily hand over those funnily colored bills without thinking too much about it.

Yes, trips abroad tend to be unreasonably expensive for reasons I have yet to figure out :-)
200k is an arbitrary number but the general point is that someone making multiples of the median household income with high future prospects does not know the kind of struggle faced by many people and therefore does not deserve sympathy.
I'm now wondering if anyone has written an actual continuation library in C (ie saving and restoring the whole stack). Is it possible?
How is S3 the cheapest option? Backblaze is $0.005 per GB and Hetzner sells storage boxes for less than €0.0038 per GB.
This I think is a very valid concern. When a canvas with stuff on it is of infinite size, then however big your finite content is, you will not be able to find it in any limited amount of time in the general case. This effect also shows itself in the Wideboard demo: you can zoom out, locate the top end of the long text, zoom in and start reading, using cursor keys to scroll up and down (even page down does work). However there's little in the way to keep you 'on the track' as it were, as in a text editor where you're either at a specific part of one document or one part of another. Meaning that what's missing here is a lot of user interface enhancements, the idea being that you can 'lock into' a given document and see it just as in a classical application, and switch to another document without having to manually zoom out, pan, zoom in. As far as I remember it, early GUIs (early Linux desktops, OS/2, GEM) had similar problems: to many fiddly windows with too many fiddly mouse-dependent controls, to much nudging windows on the screen so they just fitted. This IMO has improved, and a barebones infinite canvas is not going to work well for a vast majority of users and use cases; you do need the guardrails, and it's probably also imperative that you can always work on that canvas just like you're working on the desktop now, only with the added benefit that now you can, if you want to, spatially arrange things, get a high-level overview, build a memory where you put things spatially, use the canvas to do a layout of a paper or a book, that sort of thing. Much like the minimap that Sublime Text (and, I think, Atom and VS Code after it) show, and similar to how applications like Inkscape work today.
I strongly urge people to try something like Application Insights.
It's not dirt cheap, but not that expensive, and lets you collect anything you'd want and query your telemetry/logs retroactively extremely flexibly. It's just great.
According to the WSJ article I read today, it is indeed a spy balloon.

Well, then this time CPC certainly did a bad job unless they already got some valuable data.
It sounds like they have a stack that's working already, is that correct? If that's the case, why are you tasked to re-design it? Why not keep things running and improve only when and where it's needed?
Not OP but they might be referring to Uber moving from ES to ClickHouse to store their schema-flexible, structured logs, mostly to improve ingestion performance: https://archive.is/bFsTF / https://www.uber.com/blog/logging/

The gist of it is:

- Structured logs (json) are stored as kv pairs in parallel arrays, along side metadata (host, timestamp, id, geo, namespace, etc).

- Log fields (ie kv pairs) are materialized (indexed) depending on query patterns, and vaccummed up if unused.

- Authoring queries and Kibana dashboard support is not trivial but handled with a query translation layer.
They're already working on a military offshoot for the US government. But these limitations on Starlink are not anti-Ukraine; they're just anti-federal-prison because Starlink is a consumer product and not a weapons part allowed for export.
Using swear words often, in public settings or without any real distress situation is in my opinion a mark of the uneducated / "bad" upbringing.

Sure, you let some steam out. I understand that but why put in writing?
> If there are degrees of awareness, a pig is much more aware than a rat.

And your source for this preposterous statement is...? Rats are extremely intelligent and social animals.
This is pretty good! I spot checked one video (https://jonatron.github.io/fosdem2023whisper/files/rust_core...) and it's done a decent job. It mostly makes mistakes around a few proper nouns.

- coreutils => corridors/coroutils/cori-teals/curricules/corretails

- Rust => rest/Resi

- glibc => GLC

- Gentoo => Gen2

- Fuchsia => Fushia

- SELinux => AC Linux

Other proper nouns it transcribed well - LLVM, Mozilla, Debian, Ubuntu, clang. These are much better known I suppose.

It finds the speaker's French accent a bit difficult, because I see a few mistakes like "find => fine", "imposter => imposterous", "command => comment".

Overall pretty good. The only thing I'd like to improve readability is a pass with an LLM to break it into paragraphs but that would be way more compute and no longer local (like Whisper).
Google famously doesn't use exceptions for C++, and Google's C++ code is not exception-safe (https://google.github.io/styleguide/cppguide.html#Exceptions.)
The next step could be pairing multiple LLMs with code synthesisers. The LLM could describe the target API, a second LLM would build said API, and resolve the query.

I think at that point we will be very close to an AGI.
Goals or to-do list(s)?

For the latter, at the moment one piece of paper on my desk, and one vi-edited, networked-repository managed (so available on multiple machines) TODO.txt file. The odd shared spreadsheet (eg on Google Drive) for special projects.

Goals: high level and in my head. Fix the climate, see my kids through education, finish this PhD I started, pick up another start-up opportunity that passes by if not too much in conflict with the other goals.
They've just announced $40B stock buyback. This is purely sociopathic decision.
I also came here to say this. Structured concurrency gets rid of these types of problems.
Which R equivalent for circular plots did you use?
Arguably, pushfd is a use of af/pf, unless the corresponding bits on stack are unused (which is hard to prove)
Exactly. If you are planning challenging your adversary at some future point then it pays to know how they might use their resources to respond and whether those resources are vulnerable to any of your existing assets. China has been making noise about attacking Taiwan and the US has a pact to defend Taiwan. We know that China does not have the capability to carry out this attack right now but there is no way that they would do it without understanding how to defend against US naval and air assets.
Yes, and that has led to how many thousands of hours of developer time wasted building these things custom for their app (or trying to find some minimally invasive library to do it). Bring on the dialog element. Maybe we can get the ability to custom style select inputs next.
Wake me when they have shipped 10k units and I’m interested in buying the 10001th.

There seems to be a lot of wishful thinking involved in the lead time estimate.
> simply naive

By this "naive" but you are ofc referring to all of the ones worried for high altitude jetstream weather balloons spying on them right?
Correct assessment.

But foreign balloons should have been blown up during Trump.
You're right: Workers are not a generic L7 load balancer, but of course plenty useful for the other stuff you point out (for ex, transformations and caching).
You are probably not wrong about this since we know China wants to take Taiwan at some point in the future. It makes sense that they would map out any vulnerabilities of potential adversaries who might be involved in defending Taiwan since the battle for Taiwan will not be easy.