News for hackers. Stuff that matters.

ymbeld

Re:The Process Is Not the Product. The New Agile Anti-Manifesto on Saturday February 20, 2021 @03:28PM (#26207626)
> Informing everyone, right down to the janitors (and all respect to janitors) where we are going and why.

But it isn’t a coincidence that you chose to single out the janitors as those who are “down”.

Re:Little is a statically typed, C-like scripting language on Saturday February 20, 2021 @03:13PM (#26207495)
> Unfortunately, even now, it seems that there is a lot catching up to BK still to be done. To be fair, we had kernel level programmers working on it, we don't think anyone will pick up our code, you pretty much have to be a top 1-2% programmer to work on it, it's all in very disciplined C, people don't seem to like that any more.

Oh my oh my.

Presumably people agree that we should “retire sociology” considering that I was being sarcastic.
Re:Long Live Byte-Code on Saturday February 20, 2021 @05:12AM (#26203070)
Write once, install JVM everywhere.
We should just retire sociology. It’s all just human nature, and what that means is just obvious to everybody.
Re:Linux Memory Management FAQ on Friday February 19, 2021 @02:04PM (#26196664)
Thanks, that’s a good suggestion.
Re:Tauri: An Electron alternative written in Rust on Friday February 19, 2021 @02:03PM (#26196653)
16GBs of memory isn’t enough for me anymore.[1] Although that is mostly due to Intellij and the Web at large (my browser).

[1]https://news.ycombinator.com/item?id=26120743

The problem? You would have to ask the poster that you initially replied to.
Re:Checked C on Friday February 19, 2021 @12:55PM (#26195797)
All the layers that I see Rust and Zig are introducing have to do with the compiler. And if advanced compilation is a “layer” then Mr. zero-cost-abstractions C++ shouldn’t throw stones.
Re:Checked C on Friday February 19, 2021 @12:53PM (#26195778)
> Frankly, if you were to boil down the "unsafe" C vulnerabilities it is a small class of exploits, suitable for automated detection.

Ah, it’s simple, then. We will await eagerly for the non-forthcoming links to all those efforts/implementations.

Or would you like to walk that back to “in principle suitable for automated detection”?

Re:Checked C on Friday February 19, 2021 @12:51PM (#26195742)
P has chronically bad taste when it comes to all things PL-related.
Re:Checked C on Friday February 19, 2021 @12:50PM (#26195730)
This comment is as low-effort as the hypothetical examples.

Will they do things in that way? Heck, let’s just ask: are they doing things in those ways?

crickets

Just meaningless rhetoric (“being done fast and/or cheaply”) and unfounded hypotheticals.

I don’t get why this is off by default for debug builds though. Maybe that’s a separate concern.
The Result type is specifically designed to store value-or-error. One may use it diffently but that’s what it’s made for.

The library designers had a choice between making a generic this-or-that type or a value-or-error type and they chose the latter because they thought that that would be the common this-or-that use-case.

Even Haskell’s more generic-sounding “Either” type is made for the same purpose: the “right” (as in correct) variant is the value while the left side is the error, by convention.

It took Java until Java SE 14 (last year) to produce NPE stacktraces which actually tell you which variable was null. At least in Rust third parties could have created a library to remedy a similar situation.
Re:A Follow-Up to “Location-Based Pay” on Friday February 19, 2021 @11:48AM (#26194982)
Bringing up points like the second/third world wages in a conversation about first-world pay will benefit neither first-world workers nor any other worker (which begs the question -- qui bono?).

Their arguments are not even consistent:

1. They claim that it is just about bringing an awareness to the issue.

2. It’s not about stiffing any worker (so-called first-world or otherwise).

3. You shouldn’t be a hypocrite.

4. But in order to be consistent (not to violate (3)) you need to also argue that you yourself shouldn’t be able to, say, work remotely for a Bay Area company and get the same pay as the locals. Therefore (1) can’t be true since you actually have to forfeit the negotiation on the altar of your own relative privilege (see (2)).

Then they close this new article by saying that:

1. We shouldn’t argue against location-based pay.

2. Then they approvingly quote someone who claims that “we should reject the notion of Location-Based Pay”. But that contradicts (1) since this means that you should actively combat the idea of location-based pay.

Re:The Fantasy of Opting Out on Friday February 19, 2021 @01:08AM (#26190259)
I didn’t say something about the progress of space travel. I made an observation about how technological progress and centralization are correlated. And I don’t think societies in the age of space travel (with the technology that that entails) will be less centralized than what we have now.
Re:The Fantasy of Opting Out on Thursday February 18, 2021 @05:24PM (#26186614)
I won’t call you crazy, but I will call you naive. Modern civilization was what brought us centralized states and corporations. And yet we always seem to think that that next hill, just over the horizon is where everything will flip on its head and we will be back to some mythical past where we could roam wherever we please—all enabled by technology of course.

New World 2.0 isn’t coming.

Re:The Fantasy of Opting Out on Thursday February 18, 2021 @05:20PM (#26186559)
They don’t have the mental capacity? In what sense?
Re:The Fantasy of Opting Out on Thursday February 18, 2021 @05:20PM (#26186547)
Beware of loudest people in the room bias.
Re:Passwordless Logins with Yubikey on Wednesday February 17, 2021 @04:20PM (#26171941)
Aah, but will the cameras get enough shots of my tongue? Linguametrics, you heard it here first, folks.
Re:31.2˝ Color EPaper Display on Wednesday February 17, 2021 @04:17PM (#26171902)
Pretty much correct. It’s a bit ridiculous that high-tech gadgets (rare earth metals and all that) are sometimes considered to be environmentally friendly. Still though, consumption choices will ultimately never save the environment.
Re:Go 1.16 Release Notes on Tuesday February 16, 2021 @06:29PM (#26160206)
0.3% of my whole life just to test out one single programming language doesn’t sound unreasonable.
Re:Go 1.16 Release Notes on Tuesday February 16, 2021 @06:26PM (#26160165)
I don’t worry about it.
Re:Python strings are immutable, but only sometimes on Tuesday February 16, 2021 @09:12AM (#26154004)
I stand corrected.
Re:Many small queries are efficient in SQLite on Tuesday February 16, 2021 @06:28AM (#26152949)
It’s bad enough to have to keep pressing Save manually, but I also have to do it regularly while using LibreOffice Calc since it keeps crashing. :-)
Re:Media files extracted from North Korea's Red Star OS on Monday February 15, 2021 @05:53PM (#26148683)
I believe they are making a point.

It’s easy to see the cruelties of other regimes but a bit harder to distinguish the propaganda coming from within one’s own regime.[1]

[1] https://news.ycombinator.com/item?id=26139364

Re:Python strings are immutable, but only sometimes on Monday February 15, 2021 @05:22PM (#26148319)
If it is immutable from the client’s perspective, it’s immutable. Anything else is ill-defined.
Re:Python strings are immutable, but only sometimes on Monday February 15, 2021 @05:16PM (#26148244)
The title seems like false advertisement. It seems that strings in Python are indeed immutable. How it implements immutability is up to it (the implementation), and making a brand new allocation for each operation is not the only way of adhering to the contract.

Get back to me if you can make several references to the same string and make them step on each others’ toes by only assigning a new value to one of them.

Older »