Readit News logoReadit News
czarit commented on Using Microsoft's New CLI Text Editor on Ubuntu   omgubuntu.co.uk/2025/06/m... · Posted by u/jandeboevrie
czarit · 8 months ago
Really interesting development approach here. On unix, this depends on _one_ crate: libc. That crate is just a bunch of wrappers for libc. Absolutely everything else is implemented in the project itself. This is kind of baffling - they have their own everything (from base64 library to a cross platform terminal handling system) instead of using well-proven crates like termios. Why? I don't know. But very unusual in the rust world
czarit commented on Using Logic in Writing   owl.purdue.edu/owl/genera... · Posted by u/benjacksondev
ogogmad · 9 months ago
Slightly OT: Regarding the raising of the minimum wage example, is there a reason why the following linear argument is not universally accepted?

  > The more something costs, the less of it people buy;
  > THEREFORE the more that hiring people costs, the fewer people get hired;
  > SO raising the minimum wage raises unemployment.
I doubt anything in economics is as linear as WHEN PRICES GO UP THEN PURCHASES GO DOWN, especially given demand inelasticity, feedback loops, and other things that complicate such a model.

czarit · 9 months ago
It is absolutely accepted in microeconomics, where one can assume that preferences are exogenous to the model (that is: not affected by changing the model's variables).

In macroeconomics it is not so simple, because the effects of a higher price for labor are felt all over the economy, leading to feedbacks that might increase overall employment. The Ford wage increase to increase demand for Ford's products is often cited - because there is a multiplier effect from economic activity even a single firm can theoretically benefit from handing out more money to its employees.

There are also arguments from near term versus long term. In the long term, economies with no access to very cheap labor feel more pressure to robotize production, leading to higher productivity and more production overall, and also might lead to a better educated workforce by simply excluding below-minimum-wage productive labor from getting any jobs, and therefore push some of them to school. Those are short term costs that have proven to lead to long term gains.

But I do also think it's not very common to assume that higher minimum wages will lead to a net increase in employment. It is more common to argue that it will lead to a better outcome (for some definition of good) in the aggregate, _even if_ it might lead to some unemployment.

czarit commented on Bitwarden SDK relicensed from proprietary to GPLv3   github.com/bitwarden/sdk-... · Posted by u/ferbivore
freedomben · a year ago
There will always be different opinions, but my opinion is that storing your TOTPs in your password manager is at best a reduction in security because you're reducing your 2 factors down to 1 factor. If the password manager gets compromised (even phished! It needn't involve the password manager's servers getting hacked), then you gain nothing by having 2FA enabled.

I would strongly advise using something like Aegis on Android, or Gnome Authenticator on desktop (or both). I like to duplicate/backup my seeds so that I'm not SOL if my phone breaks, but I do it by having them on my laptop, desktop, and phone. That way as long as I have one of the three devices, I can always get in, and then they're not "in the cloud." Though, "in the cloud" is still better than "in the cloud alongside all my passwords."

czarit · a year ago
This depends on the threat model. Having 2FA in the PW manager defends against someone phishing the password and database leaks on the server side, which are the most common in my threat model. But note that if they can phish your pw, they can probably phish your 2FA as well.

It does obviously not protect against the scenario where someone is breaking into your password vault.

I tend to enable 2FA but conveniently save the token in the PW manager for relatively low equity stuff, just to make it less enticing for an attacker, but use hardware FIDO for everything actually important.

czarit commented on Alan Turing’s 1950 manual for the Mark I electronic computer [pdf]   archive.computerhistory.o... · Posted by u/lisper
adrian_b · a year ago
This Ferranti Mark I computer is notable because, despite being one of the earliest electronic computers, its instruction set included 4 instructions that are now included in most modern ISAs, but which have been missing for many decades from the instruction sets of most later computers, with the exception of the supercomputers made by CDC and Cray.

Those 4 instructions, with their mnemonics in the Intel/AMD x86 CPUs are:

LZCNT (leading zero bits count), which was named "The position of the most significant digit" in this manual.

POPCNT (population count), which was named "Sideways adder" in Mark I (it is listed in a table at the end of this manual).

RDRAND (read random number), which was named "The random numbers generator" in this manual.

RDTSC (read time stamp counter), "The clock" in this manual.

It is said that some or even all of these less usual instructions had been suggested by Alan Turing himself to the designers of Ferranti Mark I.

Another notable instruction of Ferranti Mark I was used to produce an audible beep, like the internal loudspeaker of the older IBM PC compatibles, "The hooter" in this manual.

czarit · a year ago
POPCNT and LZCNT were added back with SSE4.2, which means all Intel CPUs since Nehalem and Haswell (respectively) and AMD since Barcelona support them.
czarit commented on I Created 175 Fonts Using Rust   chevyray.dev/blog/creatin... · Posted by u/azhenley
czarit · 2 years ago
Very nice! One question: I was curious why you chose this subset of Scandinavian special characters.

There are three extended chars in Swedish (äöå) and Norwegian/Danish (æøå), but your fonts have æ, but not ø, which means you could drop the æ and still support Swedish, or add an ø to also support Norwegian and Danish. Was this an oversight or is there some locale that has just æ and not ø? (and before anyone asks I did not confuse æ with the oe-ligature œ, which is a different glyph used in French, and which the fonts also do support)

czarit commented on Empathy for the user having sex with your software   docs.buttplug.io/docs/dev... · Posted by u/Kye
riiii · 2 years ago
How do they test this stuff? Acceptance/integration testing?
czarit · 2 years ago
They prioritize penetration testing, I would imagine.
czarit commented on Paper Trails   aeon.co/essays/how-archiv... · Posted by u/apollinaire
zoogeny · 2 years ago
It strikes me reading this, that edited archives of author's works is an antiquated concept. I can understand that back in the 1800s (or even the 1930s) having a giant box of paper would have been daunting to sort out, prepare for publication and then release. But in 2024? It seems ridiculous. Dump it all in SQLite and put it onto the Internet. Let AI sort it out.

I really wish a lot of antique content was available this way. I like to watch YouTube channels like Esoterica [1] and often he will lament that scholarly editions of ancient works are either unavailable or only available with much effort at exorbitant prices. We are living in a time where I should be able to have access to the entire Nag Hammadi library as high quality images that I can feed into an LLM for casual analysis. Imagine the entire Vatican Library available in a format similar to The Pile.

What a treasure it would be to have an LLM that is trained on every single piece of philosophical, religious, political, economic, etc. writing from the earliest Sumerian clay tablets to the current copyright cut-off date.

1. https://www.youtube.com/@TheEsotericaChannel

czarit · 2 years ago
Challenge: Tell me you have never read a thoughtful and contextualizing scholarly archival study without saying so.

Solution: "Dump it in a database and let AI sort it out"

czarit commented on Pair Your Compilers at the ABI Café   faultlore.com/blah/abi-pu... · Posted by u/nrabulinski
vlovich123 · 2 years ago
Except for Linux, those well-defined interfaces sit behind a C API.
czarit · 2 years ago
Not really - Linux syscalls are stable, so you are free to run your binary with a statically compiled libc and never touch the installed one. You can also handcraft your syscalls in assembly.

This will not work on Windows, where the kernel API is a DLL and syscall numbes are routinely changed.

czarit commented on Calendar types in watches   arslan.io/2024/04/29/cale... · Posted by u/farslan
dot5xdev · 2 years ago
Question for folks who live in non-English speaking countries: do you guys wear watches with calendars in English?

Last time I was in a mall in Mexico City, I asked a guy behind the counter of some store if they had any watches that had either the months or days of week in Spanish... surprisingly, the answer was no. English only.

czarit · 2 years ago
I have a Champion watch that (inexplicably) has days marked in English and Portuguese. It was purchased in Sweden.
czarit commented on DMCA Notice Targeting 'Bypass Paywalls Clean' Isn't the Thing to Get Angry About   torrentfreak.com/dmca-tar... · Posted by u/pabs3
shiroiushi · 2 years ago
If a paywalled site doesn't send the article in the first place unless you have a valid, paid account that you've logged in with, then what exactly is the problem with BPC? BPC can't hack into accounts like that.
czarit · 2 years ago
Guessing from the interface it exposes, BPC seems to work by making a ruleset matching sites with a battery of possible changes, including resetting cookies (to reset freebie-counters), fetching from Google cache, disabling javascript (for purely client-side paywalls) and by finding exceptions for the paywall (user-agent, referer, IP).

The last one is probably the one that is closest to being a breach of some law. If the plugin did not ship with rules for a lot of sites, it would probably be considered harmless, but shipping a list of the magic user-agents etc. that circumvents paywalls seems risky, legality-wise.

u/czarit

KarmaCake day50August 25, 2023View Original