skysight-inc/HackerNews huggingface dataset:
Programs are a lot more complex. The computers aren't.

They were far less homogenous in the early years. Today you have a octet addressed little endian integer machine, with ieee float hardware and a small vector unit. Maybe you have two different instances of that on the same address space, but probably just one.

I think reasonable argument could be made that the complexity in modern computing is primarily self inflicted by software engineers.
Rust is just a different language. It's not C-like or Java-like plus checks or anything like that.

It's a value oriented language. Variables mean something completely different than in any other common language. Everything is about the values and where they are kept at the moment.
I had someone on Reddit r/webdev try to convince me that 'this' was not a mistake but a powerful language feature. A small glimpse into the mind of JS fans.
Thank you for AntennaPod. It's a wonderful app.
The real problem isn't the protocol, but the cowboy approach to interacting with it. It's not hard to "accept text and encode it properly per the SMTP protocol", you just need to realize you need to do it in the first place.

There is a multitude of classes of errors and security vulnerabilities, including "SQL injection", XSS, and similar, that are all caused by the same mistake that this case of missing period was[0]: gluing strings together. For example, with SQL queries, the operation of binding values to a query template should happen in "SQL space", not in untyped string space. "SELECT * FROM foo WHERE foo.bar = " + $userData; is doing the dumb thing and writing directly to SQL's serialized format. In correct code (and correct thinking), "SELECT * FROM..." bit is not a string, it just looks like one. Same with HTML templating[1] - work with the document tree instead of its string representation, and you'll avoid dumb vulnerabilities.

So, if you want to avoid missing dots in your e-mails, don't inject unstructured text into the middle of SMTP pipeline. Respect the abstraction level at which you work.

See also: langsec.

--

[0] - And therefore should be considered as a single class of errors, IMO.

[1] - Templating systems themselves are thus a mistake belonging to this class, too - they're all about gluing string representations together, where the correct way is to work at the level of language/data structures represented by the text.
No, and it won't. Checked exceptions were explicitly removed compared to Java, and most people view them as a mistake (including the Java 8+ ecosystem e.g. streams).

Try is a bit better and Kotlin has a bit of that with Result + runCatching. You can find a pretty good overview of the Kotlin error handling phylosphy here [1]

[1] https://github.com/Kotlin/KEEP/blob/master/proposals/stdlib/...
> Variable declarations can be overshadowed - this means that you can redeclare the existing variable with different data type in given scope if you need to.

I'm having a hard time deciding why I would want this. It seems more likely to result in bugs than being a useful feature.
Treasures of the Museum: The Mysterious Dixon Relics
Self-perpetuating trauma needs to be understood (with compassion).

Hurt people hurt people.

As in, people who feel they are victims often feel they have the right/necessity to hurt others. It’s a real pattern that is hard to talk about.
There are restrictions out on You by the borrow checker to ensure safety, and then there are restrictions put on You by rust design team 'just because'.

Again, the former are fine, it's the latter I have a problem with.
That sort of thing is all configurable. It's easy to tell Doom Emacs to use Slime instead.
Post Office Horizon IT Inquiry Live Stream: Paula Vennells Statement
Linux is now publishing every kernel bug as a CVE
Actually, maybe Rust would get more people interested if it didn't sound like a religion...
20 Lines of code that will beat A/B testing every time (2012)
It's a common practice in Rust at least, where instead of having a mutable variable which you modify across several lines, you declare a new immutable variable with the same name on those lines. I like it, but I guess it really just comes down to preference and what you're used to.
In order for me to agree on the "just because" part you'll have to give some examples. What made you think they are arbitrary? And how did they prevent you from doing your job?
Maybe passengers would buckle their belts at all times, however cabin crew is the most vulnerable during meal service. Also, are the pilots required to wear belts at all times?
Prince Marcel O'Keefe must be C royalty!
which is C, because nothing can replace C.

C is portable assembly. Don't use it unless you really must.

Yes I know people want to replace C with Rust, no it won't work because Rust is not assembly, yes it can be used to replace anywhere between 90% to 99% of C and it shouldn't even be too hard. (Unless your embedded device manufacturer doesn't care, which of course they don't.)
Initially the only terminal which supported Wayland. Never looked back ever since
Maybe it's you and some other curmudgeons projecting -- worth to consider if that's the case.

Maybe it's normal for people to praise something that legitimately solved their problems. I know that happened with me.
Isn't this equally embarrassing for the people that decided to award him? I mean just looking at those images or even imagining the sort of research and equipment that would take to achieve something like this, shouldn't have raised red flags easily?
So a few things .. Rust is a very good safe language. It also has an unsafe keyword to make the compiler ignore borrows etc.

If you want fast iteration, use python and then hand transpile your code into rust.

Not every tool has to be used at once ... but Python for the idea and rust for the implementation can be the best of both worlds ... :)
Why would someone need to compile to bash..
Works where archive.ph is blocked:

https://web.archive.org/web/20240522031900if_/https://www.ny...
That sort of extreme flexibility simply does not exist. I mean it does but then you are firmly in the dynamic languages territory and you are forgoing any hope for close-to-the-metal performance.
Kudos for faithfully reproducing the joke then.
Why would someone need to compile to bash.. how about just use python instead
All AFAIK, since I only dabble occasionally in Rust:

The borrow checker works on "struct granularity", but it would be much more flexible and convenient if borrowing would work on memory location granularity (for instance passing a struct reference into a function "taints" the entire struct as borrowed, even if that function only accesses a single item in the borrowed struct - this 'coarse borrowing' restriction then may lead to all sorts of workarounds to appease the compiler, from 'restructuring' your structs into smaller pieces (which then however may fit one borrowing situation, but not another), or using 'semantic crutches' like Rc, Cell or Box.

There are also related restrictions about function call barriers. AFAIK the Rust compiler cannot "peek into" called function bodies to figure out what's actually going on inside those functions (and that information would be very valuable for fine-grained borrow checking), it can only work with the information in the function signature.

Again, disclaimer: take this with a grain of salt since I'm not a daily Rust user, but this is how I understood why Rust feels so restrictive.
Thank you. I think it's a bit misleading then to call it a "terminal emulator". It's not really emulating one of those old boxes, is it? It's providing a text interface to a computer's functions. That's great but it's not emulating anything.
I give it at most a year before they start using this LLM to generate content for Wikipedia
Take those results with a large grain of salt. It's dead simple to figure out which response is the new model purely by the speed at which the result is returned, and as such, this is incredibly easy to bot in an effort to manipulate the rankings.

They should really be streaming the content at the same time, based on the slowest responder.
> C code is unsafe, but typically easy to read

Are you joking?
Lawmakers cover all areas and don't have enough resources to cover all.

Nowhere have I suggested that you have to trust Comcast - yes they can brief but so should the opposition. It is then up to the lawmaker to some compromise between the briefs.
Raspberry confirms London IPO plan
https://en.wikipedia.org/wiki/Dog_whistle_(politics)

"In politics, a dog whistle is the use of coded or suggestive language..."
This is definitely a thing I recognise in myself, a year and a half of writing Scala daily has made me much more prejudiced against Java than I was before.
I'd rather have to turn it on than turn it off.
1M$/year used to be enough.

Source: https://en.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost/2...
> C/C++ being non-opinionated is the main source of the security vulnerabilities

This. "Undefined behavior" is such a terrible way of thinking. As is the "we can assume in the optimizer that UB does not happen and then eliminate code on that basis", which allows the compiler to introduce bugs that only appear at certain -O levels.

It took decades to get them to define arithmetic as twos-complement.
I used OnShape several years ago and loved it. Unfortunately, they priced me out — I'm in the "intensive hobby" segment, which means I'm fine with paying $500/year, but not OK with $1500/year. And OnShape is either free or $1500/year.

Another consideration for many is a good integrated CAM. This is where Autodesk Fusion, much as I dislike the company and the software, is unbeatable today.
Lawmakers cover all areas and don't have enough resources to cover all.

Nowhere have I suggested that you have to trust Comcast - yes they can brief but so should the opposition. It is then up to the lawmaker to some compromise between the briefs.

Actually this is how most management decisions are made. Other people brief the decision maker and the decision maker then makes choices between the,m. The decision maker is only an expert in decision making and not necessarily the details.

There will be exceptions for many readers of this board as the decision make acts more like a dictator as they are an expert in the necessary field.
Google TV is finally adding a native Find My Remote feature in Android 14 for TV
As a side note, his personal page at https://gordonbell.azurewebsites.net/ doesn't seem to have been updated in more than ten years now. I believe it would make more sense to read "Gordon Bell (1934-2024)" instead of just "Gordon Bell".
Having just watched Scavenger's Reign, it differs from both Lem novels in an important way.
Lem uses characters as an excuse to tell something about the portrayed worlds. Scavenger's Reign uses the world as a backdrop to tell the story of the characters.

(Same goes for Solaris, although Tarkovsky's adaptation reverses that.)
Forebruary
In fact, Korea will block all of products without KC from foreign regions. Contrary to the content of the article, Korea informed China about it in advance. So Ali and Temu are already getting ready to a KC corporation for profit.
Also, Korea is preparing to change the contents of the FTA treaty for benefit of Korea (I know, this sounds like a humor). It is a closed-door policy.
Many Korean oppose this policy, but the Korea government is lying that it is a false rumor.
It will take effect from 1st June.
There is a difference between praising and preaching, the latter happens more often with rust
Quote: "That Russia took almost 3 years and a presumed 300-500k casualties to begin deploying basic air support with guided glide bombs, like the west has been doing for 25 years, was indeed surprising."

Just to point out FAB-500 glider bomb use was already recorded in March 2023, so it took Russian a year not 3 year, so your perception is factually wrong.

BTW, to emphasize the low starting status of Russian military at the beginning of the war does not defend our mistake either, rather it reinforces that argument.
Microsoft Build 2024: Do developers care any more?
Here's an attempt to explaining the irrational part of programmers deciding which programming language to use. Part of it goes into more detail on ideas like C programmers insisting 'on the danger because they cannot stand the possibility of the danger being taken away from them'.

"The Pervert's Guide to Computer Programming Languages" https://www.youtube.com/watch?v=mZyvIHYn2zk

It's pretty out there, but I thought also interesting.
Competition is great. Can't have another monolithic social media.
Are UK boards 'too hot to trot' in selling off companies?
I would love to be able to use Rust in my professional project. Unfortunately, I am doing high performance scientific computing. Rust doesn't even come close to offer any good alternative to cross-plateform, cross-device (CPU/GPU) libraries such as OpenMP Target, Kokkos, SYCL, ... I believe we need Nvidia/AMD to take Rust seriously (I'm not sure it is even possible without unsafe everywhere) to be able to offer good libraries.

In my world, using C++ is the modern language, because most project are stuck with Fortran.
Compile to Bash? Why not compile to English then?
Yes, but that standardisation on USB that we have already witnessed came about without any legal mandates, or did it? So it undermines the argument for them.
If you say so. ¯\_(ツ)_/¯

But even if it was true (I'd contest it's not) can't you ignore it and judge the language on its merits? We are not teenagers for a long, long time now, we should be making up our own mind about things.
U.S. claims recently launched Russian satellite is an ASAT
No. Where are you getting the 100 from?

Have a look at the article. See the map with the legend:

> Via Wikipedia, a map of the expansion of Macedonian controlled territory during the reign of Philip II. Philip controlled only the darkest orange area (and not all of it) at the start of his reign; by the end he controlled Macedon, Thrace, Thessaly and the Greek states of the League of Corinth.

Macedon, Thrace, Thessaly and the Greek states of the League of Corinth together are more than 1% of Alexander's empire.
For the sake of the example let's assume you make a C to Python compiler/transpiler which uses native Python arrays for every stack or heap based allocation and every pointer arithmetic would be replaced by a checked operation, you'd quite likely get a memory safe language in the 'shellcode impossible unless you really set the program up for it' sense.
Progress Tracker: Open vs. Proprietary LLMs
Big difference between public and private schools. Getting expelled from a public school is pretty hard, you basically have to do something seriously illegal involving guns and/or drugs. Getting expelled from a private school is an entirely different thing. They can expel you for a lot of things, and basically anything that makes the school look bad in the eyes of prospective future 'customers' is high on that list. Especially among more prestigious schools.
> Another potential hypothesis

Submitted for consideration: Perhaps it's also the market-availability of games?

For example, if a young me wanted to play a game in 1995, I would have an incentive to pick something with a lot of replayability, both because games were generally more expensive and because The age distribution of gamers trended towards those without so much disposable income.

In other words, something like X-COM (1994) which has simulationist wargaming underpinnings.
I had done a SQL-like ->Bash "language," and the reason was that I wanted to have access to CLI tools as-is, in my case, curl programs.
Had I chosen Python as a target, I'd have to use requests/urllib, which would be much more verbose.

The same applies if one needs awk, sed, etc... The constructs are just there.

Also the fact that you can just pipe to bash, makes development much easier.
It kinda is a powerful language feature But with great power comes great responsibility, and that doesn’t mean it was a good idea in hindsight.
> C is portable assembly.

Unfortunately, it isn't quite this, and many of the instances which people use it for this are actually undefined behavior; there's a hinterland of "things C compilers do" which are used as portable asm but are not part of C because they are UB.

I sometimes wonder if it would be feasible to define an actually portable typesafe macro assembler.
>Turbo C did that 30 years ago.

I used Turbo C++ (not C) back in the day, and recall near pointers, far pointers, based pointers, but I don't recall bounds-checked pointers. Do you remember any details?

>However, why bother trying

Because it would immediately make the large amounts of C code still in the wild safer for the users, who do care?
IMHO it does and its not restricted to dynamic languages (like JS or Python), look at this Zig function signature for instance (just an example from my current dabbling):

fn setData(comptime pins: anytype, bus: anytype, data: u8) @TypeOf(bus)

In practice this looks and feels like dynamic typing, yet when looking at the compiler output it still resolves to optimal code (since it's "compile-time dynamic typing" not "run-time dynamic typing", but the difference in practice is surprisingly small).
The grandparent thought this was implausible, researched it as an outsider (with a slight bias towards thinking the claim is false, which is not a problem per se) and still didn't find any refutation. While I applaud the impetus behind the research, I'm more inclined to believe the apocryphal story after reading the attempt to refute it; not every piece of gossip will be supported by a written statement.
Wait, the thread is not about actual computer access. Of course public internet access will be regulated. I was originally replying about passing the message for him. Those are completely different things.
> The borrow checker works on "struct granularity", but it would be much more flexible and convenient if borrowing would work on memory location granularity (for instance passing a struct reference into a function "taints" the entire struct as borrowed, even if that function only accesses a single item in the borrowed struct - this 'coarse borrowing' restriction then may lead to all sorts of workarounds to appease the compiler, from 'restructuring' your structs into smaller pieces (which then however may fit one borrowing situation, but not another), or using 'semantic crutches' like Rc, Cell or Box.

That's valid, thanks for pointing it out. I seem to recall the team lately mentioning they are starting to consider fixing that. And yes that's a real productivity killer, happened to me as well in the past.
alo of gpu accelearted terminals are actuallly very slow. because they add silly features. basic text i/o is almost always slower. even on a good gpu! :/
Before the current "AI" hysteria, HN was full of "I've rewritten this thing that was working just fine in Rust". No mention of how it's better, has more features - or even has all the original's features - or anything about why you should use the rewrite instead of the original.

Am I supposed to use a tool just because of what it's made of, or because it solves a problem for me?
Meta just to clarify: this is a re-post from 5 days ago.
ESO network affected by cyber incident
I do think the trans issue in general is a good example of this shadowboosting. It's a very niche thing that seems to be everywhere for some reason, and despite most people not giving a shit or not supporting it, the Internet gives off a wildly different impression of the world.
Nobody shares pronouns in daily life, yet most people I know working in an office have to use them in emails and such (and they use exactly what you would expect based on their name)
Pentagon working with SpaceX to cut off Russian military's use of Starlink
What reasons do you have for not liking iTerm and Terminal.app and what does alacrity do better?
Humans have been doing that for years. The AI problem is so prevalent because it seems to put a magnifying lense up to the worst portions of ourselves, namely how we process information and deceive each other. As it turns out, liars and cheats tend to build more liars and cheats, also known as "garbage in, garbage out," which leaves me scratching my head as to what anyone thought was going to happen as LLMs got more powerful. Seems like many are afraid to have that conversation, though.

I like your term for it.
> But in a terminal? You can't be serious.

After reading Mitchell's writings about terminal development I am not sure.

> Each terminal is in the end tied to a single person

A popular terminal runs on millions of devices. This adds up quickly.

https://mitchellh.com/writing
They had to use a AI to "fool him", you were happy with over 20 years of war and all your government had to do was say "they hate us cuz we're free".

I wouldn't throw stones.
Exactly this. It's all about trade-offs. You need to pick the right tool for the job. Sometimes the right tool is dangerous. Knives are dangerous tools, but you need them if you want to cook a meal.
> Dutch youth is spending an average (!) of 5 hours and 45 minutes per day on digital media.

I was wondering if something like that was at play. Well, here are some hard statistics. Thank you for that.

> That's some serious amount of time

It's a worrying and disturbing amount of time.

Now, the question is: is more time wasted on digital media than was wasted on TV in the past?

And secondly: does the current TV time come on top of that, or has TV simply been displaced to other media, and is therefore fully included in the 5 hours and 45 minutes?
Google now 'third-largest' in datacenter processors
No, the only way to stop a bad dev with a strcpy() is a good dev with a strcpy().
Sure?

https://blogs.nvidia.com/blog/gpu-energy-efficiency-nersc/
I remember feeling massively overwhelmed about what I should learn once I have some fundamentals down. I wanted to know and understand everything but that is impossible, so where do you start?

I decided I'd start with things immediately useful to me, so regex, SQL, Autohotkey (due to the software I was forced to use), then MS Access/Excel/VBA (because where I work these are still present) and then XML tech too.

I have also learn python and JavaScript because these are everywhere too. The only "out there" thing I've learned is dart/flutter because it seemed the path of least resistance to cross platform gui.

That being said I want to learn lisp, APL, and lua just for fun but I learn way better using something.
LuaRT 1.8.0 – open-source Windows programming framework for Lua
LuaRT is a free and open source Windows programming framework for Lua, with a Windows-optimized runtime library and integrated development tools.

GitHub Repository : https://github.com/samyeyo/LuaRT
Homepage : https://www.luart.org

Main features:

- Desktop/console applications and x86/x64 binaries supported
- The runtime is lightweight and does not rely on any other libraries
- Built-in modules are available, including GUI, networking, compression, encryption, etc.
- Object-oriented programming with multilevel inheritance, mixins, constructors, destructors, properties...
- Asynchronous programming with async/await/after paradigm
- Development tools included :
> rtc, the Lua script to executable compiler
> LuaRT Studio IDE
> QuickRT REPL
> RTBuilder, a RAD GUI designer

Here are the main changes since LuaRT 1.5.2 :

- Windows dark/light themes support
- Seamless HighDPI and right to left support
- New SQLite, json, and ini modules
- New RAD GUI designer, RTBuilder
- and a lot of bugfixes
Couldn't agree more.

“Writing is nature’s way of letting you know how sloppy your thinking is.” - Dick Guindon

https://web.archive.org/web/20160731175038/http://www.guindo...

https://web.archive.org/web/20160731212226/http://www.guindo...