skysight-inc/HackerNews huggingface dataset:
I don't think it ever included actual source code, but .NET IL is just so rich that it made it extremely trivial to decompile, no?
I still use 13y old ThinkPad x201 with Fedora. Of course with SSD and upgraded RAM to 8GB. I cannot imagine more kid-proof laptop. It's indestructible construction, yet compact and not heavy. Perfect for home with kids. No wonders that it is commonly used in space stations!
> the C representation closely matches what is actually happening

It really doesn't, though. Although your CPU might present system RAM as one contiguous array of bytes to your program, the C compiler follows different rules – see strict aliasing and other pointer dereference rules. For example, the following is Undefined Behavior and your C compiler may or may not generate the assembly you expect:

int x = *(int *)0x1234568;

Your CPU would happily execute the equivalent machine instructions and load from address 0x12345678, while a C compiler is free to replace your entire program with return 0;
> cryptic "undefined behaviors"

It's not really that cryptic (aside from like strict aliasing, but -fno-strict-aliasing). There's some UB that might be considered unnecessary/too strict, but it still makes sense in its own right, and, if understood, is quite powerful, and leads to a bunch of neat optimizations.

> the language doesn't feel easy to use/debug

If debugging at the assembly level, stepping by instructions, it's actually quite nice (despite what everyone says about it not mapping well to hardware, in my experience there's still a pretty clear & immediately obvious correspondence between each C thing and assembly subsection, and vice versa)

> CPP macros, a universally recognized bad idea

I don't know, they're quite neat for things I have to do. Sure, a turing-complete compile-time language would be nice (I'm not saying that sarcastically, I even use a DSL for writing SIMD that is exactly that!), but it'd add a ton of complexity to mapping C source to assembly.

> Also, documentation is all over the place. If a function isn't described in `man`, I have no idea where else to actually look for it.

Use of the standard library grows less and less significant as the size of the C project grows. Besides that, cppreference.com has pretty much everything.

And yeah, as others have said, a linear sequence of bytes is still a thing every CPU presents. Yes, there's cache & whatnot, but there's like precisely no way to usefully map that to any user-controllable/visible thing, because it's pretty much not user-controllable and intended to be invisible (and varies across all hardware).
It indeed did, you could open up the .exe in notepad for example. It was all there.
Honestly because I don't want to learn another language.

And because most of the world uses C for low level stuff. You can say that Esperanto is a much better international language than English but what good does it do if nobody speaks it?
It's hard to be worse than the current system

This is hardly ever true, for any kind of system.
Engineering Intensity
> they seem to highlight some text in a sentence by making it blue, but it's not a link. Quite annoying.

This is a blast from the past, indeed!

Blue links is the ancient default when you don't use css.

It was news for me that any websites still would not override the default css, though.
It’s very hard to predict a single coin flip accurately, it’s extremely easy to predict the averages over a thousand coin flips.
Addicts actively reject housing with rules and seek out abandoned buildings. The idea is to provide them with safe refuge where they do not have to be compliant except to be nonviolent, while keeping them in immediate proximity to a rehab on-ramp that would move them out of that situation into inpatient rehab.

They already move out of housing to seek out abandoned buildings because their choices are incompatible with society at large.

My idea is an attempt to align incentives for a better outcome.
Even sales manipulates them -- giving away way too much to lock in a longer deal this quarter because it makes this quarter's numbers look better had been a problem at places I've worked.
'Some people when confronted with container copy problems think "I know, I'll use COW". Now they have two problems.'

With apologies to jwz.
I don't liked closedAI either, this seems like the first tech I've played with in a long time that was great on day 1, and seems to get progressively less great over time.
About 4., there is already a preprocessor loop proposal for clang[0] and I think I have also seen it some obscure Qualcomm bluetooth chip compiler.

[0]: https://discourse.llvm.org/t/rfc-new-preprocessor-macro-dire...
That reminds me of that "Windows 12" OS someone made by basically slapping a theme onto Linux lite and trying to sell it (Michael MJD made a YouTube video about it)
Additionally, the Education is both ways - the reviewer is also getting educated along the way, especially from new developers who have a more fresh knowledge of things.
> learn the "Ctrl - arrow" shortcut (move to the end of the contiguous data in the direction of the arrow), the "Ctrl + Home" shortcut (Move to the start/top left corner of the spreadsheet) and realise that when you're holding down shift this means you can select regions of data for cut and paste or other operations really quickly

These are actually standard shortcuts that work in all Office programs and many others, including browsers. It's amazing how many people still use the mouse to select, and spend an inordinate amount of time doing so.
It would be shorter to answer the question which Linux distribution does not play well with Secure Boot. Debian was the last big one to get onboard and they sorted it out in 2019.
And since C has become more than just a language and actually a protocol (See https://faultlore.com/blah/c-isnt-a-language/), you sometimes would need to know the inner workings of C even when you write in other programming languages (C++, Rust, Swift, Zig, even Python, etc...)
https://youtu.be/fS5ht9ZhxtM?t=125

(Friends: the one with GI Joe)
Let's apply this to bankers, too. They must give a checking account to anybody who shows up, and their pay can be based on how much money is in those checking accounts at the end of the fiscal year.
Yeah, Free Pascal is far from simple. It not only tries to implement everything Delphi provides (itself never being a "simple" language) but also as much as other Pascal dialects provide (via compiler modes) and various useful features from other languages - and that in backwards compatible ways (often via "modeswitches" - kinda like submodes).

With that in mind it is kinda interesting that there are (AFAIK) three parsers for it anyway: FPC itself, lcl-passrc and Lazarus' CodeTools. It does mean that any new stuff in the language gets some time to be implemented in others though.
A new method for packing objects inside a rigid container
You really need to see more of the actual economy, because this is embarrassingly naive.
Why spend your precious time writing documentation?
The .NET Framework is built into Windows, and a mandatory component of it since at least Vista. .NET Framework 4.7.2 specifically should be built-in on supported Windows versions.
Applied sciences are a thing, you know ...
Yup, tradeoffs, all the way down. Sure, you can exercise afterwards, but then you give up something else. It might be de-stressing time in front of the TV, or chat time with friends and family. Or it might make you tired and achy for the rest of the day, lessening the fun there.

It's easy to say "just balance it", but all of it has been attempting to balance things, and some people, including myself, repeatedly chose the side that had risks and consequences later so that they could enjoy the moment.
> I know these models are not that mich related, but when we can't look at the wheather of tomorrow, I question the precision of a model looking 1000 years into the future a bit. It will get warmer, for sure. But _how much_ is IMHO subject to interpretation.

You say you know these models aren't that much related, but you still question the precision based on weather models. So do you, or do you not think they are much related?

If you throw a marble into a pit I can't easily predict which path it will take, but I can tell you where it will end up with which likelihood.
There is also this article about creating a tiny elf executable that's pretty interesting: https://news.ycombinator.com/item?id=21846785
What you are thinking about there is perhaps implementation defined behavior, which is distinct from undefined behavior; and the sequence was the other way round - hardware with different behaviors already existed, and not specifying them in the language allowed C to succeed because it wasn't tied to a particular machine.

The answer is different for different kinds of undefined behavior, but spatial memory safety violations are basically always possible in a language you can write an OS in, since you need to convert from hardware buffers to higher level types. temporal memory safety wasn't possible to enforce at the time on a low level language, it's taken decades for it to be implemented in a mainstream non-garbage-collected language. Integer overerflow is still not caught by default even in rust for efficiency reasons (it would take all the processor vendors to implement an efficient way of catching it)
Unit tests help in a very specific circumstance - when you're testing complex calculations or logical code with simple inputs or outputs.

Some projects have almost zero code like this.

In all other situations they suck. When they fail it doesnt necessarily mean anything is wrong and vice versa. It just mirrors a portion of the code. It's a lot of expensive maintenance with no payoff.

In contrast integration tests are usually much more meaningful - they will typically test a real system or user interaction.
1080p is pretty reasonable on a 14" display, you can option a 2.8K OLED display but personally I think its overkill.

The x1 carbon is a light weight option, for similar weight to the macbook you can get a X1 Extreme which has 4K panels including oled, discrete graphics, etc.

No org ever pays list price for a Lenovo, typically they have around 40% discount.

I picked up my carbon X1 on sale for around 1300 AUD.
> Forcing design reviews just slows people down

Sure, but the price is worth it. If we have a design session before you start coding, it definitely will make the feature go “late” by an amount of time proportional to the design session… which is less time than the required to fix the design after the PR is open.

“Fast moving engineers”: I can only imagine managers advocating for that. As an engineer, I can only but express disdain for such a mentality.
I’m generally supportive of finding ways to better use the talent of teachers and if paying incentives is part of that, great.

But this claim is pretty absurd. Imagine that payoffs (in a poorly designed system) are based on a random number generator. That won’t have any lasting, society-wide effect (I suspect you agree), but would result in some payouts.

Incentive design is the difficult nut here, but if cracked, there’s a lot of value to the next generations.
> Sumif is a simpler lookup

Never used it in this way, but why not.

To me, conditional sums are a replacement for filters and pivot tables, because they let you have all the information in one go, without constantly clicking to select criteria.

Just select unique values for criteria and do conditional sums for each of them, and you have a visual that shows you all possible combinations and results at the same time.
We have two main types of human corn here (Quebec). Yellow corn, and bi-colour corn.

Yellow corn literally does not come to full harvest if there are too many cloudy days. This happens once a decade maybe. It needs a growing season longer, and with more light than we have here.

Just 300km further south, in Ontario, this is not a problem.

(Bear in mind that the days shorten fast as fall approaches here)

Bi-colour corn can get two crops.

My point is, we already... without genetic engineering, just by selective breeding, get wild variations in growth rate, and yields, and harvest times... with just a decade or two of selective breeding work!

And my second point is, the most fertile land is going to become usable, if temps continue to rise. All that bog in Northern Canada.

We just need crops suited to shorter growing seasons, and very long days at equinox.

Canada is already mostly farmland. It will be interesting to see where this goes.
Where did you get the idea that US public schools are in some kind of crisis? They're doing pretty well, like they always have, but people are remarkably willing to simply accept claims (often by parties with financial interests in making them) that they aren't.
Cool, I've always wanted to allocate memory using a network drive.
TV’s streaming model is broken
> That's beautiful... Why can't GCC and clang have this?

There are tricky contingent reasons, like the fact that GCC proper doesn’t try and actually isn’t even able to parse assembly—and it would need to here in order to know that it can’t put fd in RAX or in any location whose address computation includes RAX.

(GCC’s codegen in general works by stitching together fragments of assembly as text and feeding them into the system assembler. Which is nice and UNIXy and all, but I’m not sure much is won by making the compiler agnostic to the actual bit patterns of the instructions when these days it is still aware of almost every other facet of the instruction set and quite a few microarchitectural details besides.)

But the fact of the matter is that GCC’s approach also permits better optimization, by telling the register allocator exactly which registers are clobbered by the inline assembly snippet and where the computations of the input should aim to place their results. You frequently end up with no MOVs at all, although Clang is better at this part than GCC.

(Do not be fooled into thinking that an automatic "register asm" variable is pinned to the specified register for all of its scope—it’s only guaranteed to be placed there at the start of any inline assembly blocks, the register allocator can move it out of the way in between them.)

I think the x86 code doesn’t actually need the "register asm" syntax at all, FWIW—you should be able to just add "a"(__NR_close), "d"(fd) to the inputs. GCC on RISC archs doesn’t usually define a separate constraint for each individual register, though, so on those it can be necessary.
Only of carbon is the limiting factor in your niche and not, say, nitrogen or phosphorus.
Careful, you’re not allowed to utter the “C” word here in relation to educational outcomes.

(The word is “Culture”)
DC has been doing full school choice for 20 years now. So your bold innovative goal is to "be like DCPS in the early 2000s".

That's gonna go over great in Fairfax County.
Most modern hardware make use of registers and multiple layers of caches and you need ton of UB to justify the compiler making use of them.
Browsers discontinuing Flash support is indeed a good reason for porting an app to a different platform.

But this is also a very different scenario than the grandparent example, where the cost of maintenance due to bad code quality is supposed to justify a ground-up rewrite. In the Flash example there is a clear business case for porting, even though it is understood the porting will expensive.

The fallacy is believing a ground-up rewrite will lead to more maintainable code. This is just developers deluding themselves. There is no reason to think a ground-up rewrite of existing working code will lead to better and more maintainable code.
Thank you for sharing this. I had not read it before and it beautifully put to words the feelings I developed while getting my math degree.
What do you mean no where near as complete feature wise? Go or specifically the TinyGo implementation?

Seems to do exactly what 99% of people need.
Isn't Lua middle-ground enough? Alternatively you can write it in V and transpile to C.
I haven't heard shit about these for years, and they opened preorders for them years ago. I can only assume they're a crappy mixed bag, or not happening at all.
The automobile and aero space industry beggs to differ
SkyPilot: Run LLMs, AI, and Batch jobs on any cloud
I had to use Delphi professionally in 2018, still ran into this everywhere?
wake me up when they fix the bug where pasting in a code block adds an unwanted newline
Never underestimate the value of being at the right place at the right time (and having _something_ to offer).
Have you tried F-Droid as a primary source for Android apps?

They include only open source apps, rebuild the app from sources themselves, list possible anti features in app description and does not allow apps with tracking in their catalogs.

I have much higher trust for anything I install from F-Droid in comparison to Play Store.

As for text editor I use Markor [1] and it is rather good.

[1] https://f-droid.org/en/packages/net.gsantner.markor/
I wouldn’t quite count it as bit-addressing, but x86, for example, can load bits directly into the carry flag using the BT instruction which can take a register or memory address as it’s first argument, with the bit being given as the second.
https://news.ycombinator.com/item?id=36614718
https://news.ycombinator.com/item?id=36616037
https://news.ycombinator.com/item?id=36621757
https://news.ycombinator.com/item?id=36621852
https://news.ycombinator.com/item?id=36630296
https://news.ycombinator.com/item?id=36636965
https://news.ycombinator.com/item?id=36644952
Elon said Taiwan should be governed like HK? Do you have a link? Was this a tweet?

Warren Buffet being a very early investor in BYD, and Apple, has also been extremely pro Chinese government.

Google famously started writing Dragonfly (actually
Modifying their core search algorithm to be more Chinese censorship friendly).

Aforementioned Apple has historically supported China and continues to do so, even opening new lines of manufacturing related to the fabrics/materials relating to Vision Pro.

As usual - people are upset with Elons words but ignore everyone else’s actions. I find the same in the car industry. The Germans/Japanese car industry are literally remnants of the nazi and Japanese empire and they also signed that agreement… but some how musk is again the bad guy - what? People are nuts.
Sorry, I was referring to the specific idea of one facing the rewards and consequences of good and bad deeds as karma.
Feature parity is fine but support is not quite there. Doesn't support WiFi on NodeMCU boards last I checked.
I'll be honest, I'm not sure what you're trying to say here or what argument you're trying to make. I'm not sure if you're agreeing or disagreeing with me.

But in the interest of being very up-front and clear about my position, I also think it's pretty obvious that France has an Islamophobia problem. I don't think it changes anything about my argument, and I don't think someone advocating for segregation based on religious differences is any better than someone advocating for segregation based on race.

A description of French Muslims as if they're some kind of invading religious force who's going to forcibly convert France is divorced from reality, and it's basically just great replacement theory reapplied to a religion.

So whether rayiner wants to separate everyone based on race, class, religion, ethnicity, whatever -- blaming all of a country's problems on immigrants is still a segregationist dog-whistle. I'm kind of tired of everybody playing coy games about this. The anti-immigration anti-mixing-of-the-cultures arguments that show up under these articles are transparently parroting people like George Wallace, and then their authors try to put on a surprised pikachu face when the comparison is drawn. But the comparison is appropriate and relevant -- modern anti-immigration panics have extremely strong parallels to anti-integration movements of the past.
That was eye opening for me how the .exe could be brought down to less than 1KB... if someone could get a Hello World .exe in Flutter down to just 1MB, that would really be something.
History.

You do what your operating system vendor does.

Not few operating systems have a C interface.
The implementation of binaries (see also application binary interfaces) depends on the operating system.

Shared libraries (e.g., DLL) are binaries, too.

C compiler developers have the ability to generate consistent[1] binary outputs.

In simpler terms, vendors of these compilers can reach a consensus on how to convert C code into binary files, known as Application Binary Interfaces (ABI).

It is not uncommon[2] to have a foreign function interface in C.

1. http://yosefk.com/c++fqa/defective.html

2. https://learn.microsoft.com/en-us/cpp/dotnet/calling-native-...
For some people alcohol and even THC can be very negative. That is true.

But we have learned that the social costs of prohibition of those drugs is higher than the benefit to society.

The same may be true of certain classes of hallucinogenic substances, especially since people tragically turn to solvents and extremely toxic substances as substitutes.
I don’t know what high school you were in, but that is not the norm.
> because almost anyone outside of sales could game them

Perhaps you haven't worked in sales? My experience of sales meetings was that most of the meeting was taken up with discussions of how to optimise commission. The sales manager was totally in on the game; after all, he got a skim of his salesmen's commissions.

In no other environment have I seen people so obsessed with juking the stats.
Funny to see so many "ergonomic" office chairs, but everyone still hunched over their laptops.
The angle the press went with is that solar doesn't work when it's too hot so we need to fire up the coal. Except that day solar produced a third of the UKs power, one of its best days of the year and we didn't actually use coal after all. The entire premise of that press push was a serious distortion of reality.
Efficiency is all a matter of what you value.
The Perfect Dating App
It’s all about taste. Some engineers have it, some do not. And yes, taste is subjective, but the Mona Lisa is the Mona Lisa regardless of how many people don’t like it.
The most important thing about code is probably its correctness… but that doesn’t mean other less important things are not worth looking at (whether to do so when reviewing a PR is a different topic, though).
It also depends on whether one feels too attached to the code in question. If I just landed in a codebase and someone asks me to review a PR, well I guess I don’t mind too much (yet) about things besides correctness/performance/etc. But if I have been maintaining a codebase for years and suddenly some newcomer opens a PR with correct code but that doesn’t have “nice” variable names (at least in accordance to the rest of the codebase), well, I do care about that.
I've spent years with a child and wife in love with the Harry Potter books, I read them (in Spanish, to improve my understanding; very rational), I've seen the movies, and I must say: the start is certainly good.
"Seems" is an outside perspective. There are loads of hardware features that it just doesn't support on various boards, and lots of extra hardware (like sensors) that it has no libraries for. It's not just the MCU/CPU that matters here.
There are first studies on this topic: "THE CURSE OF RECURSION: TRAINING ON GENERATED DATA MAKES MODELS FORGET"

https://arxiv.org/pdf/2305.17493.pdf
Sure, that's the critique implied by C++ programmers quoting Bjarne: "There are only two kinds of languages: the ones people complain about and the ones nobody uses"

Except, we do complain about Rust (e.g. I think narrowing conversions should require TryInto or a specific call, not just 'as', and I don't think String impl Add<&str> is a good idea) it's just that we think the other options are far worse.
If you’re in the games industry, you’ve been told by your workplace (or heard from someone who has been told) to not use AI generation for anything that may ship because of the risk of complicated copyright infringement.