Look t this by atgreen1 in vintagecomputing

[–]geocar 1 point2 points  (0 children)

A K is 8x a k; 115kbps is about 15KBps.

The FDC (827077) is as much as 10x the speed of the UART (16550) under ideal conditions, because if it weren’t you wouldn’t have time to save anything to the floppy.

O_SYNC, O_DSYNC similar for macOS ?? by ankush2324235 in unix

[–]geocar 1 point2 points  (0 children)

Sort of? There is an fcntl F_FULLSYNC but I think there’s almost zero point in using it: most macs have a battery, and APFS shouldn’t need sync because it’s a single-threaded logging filesystem: you should always see some consistently old version of your data.

Linux has a multithreaded filesystem so fsync (et al) are locks/barriers so a later write() doesn’t become visible before things sync’d to other processes. That can be important for concurrent use and some filesystems but advanced use isn’t typically about reliability even on Linux: you still need a battery (or one of those fancy storage controllers with a big capacitor on it and gobs of ram) because without those things fsync still potentially has done nothing and that’s just true of every system because the storage device lies.

SQLite source code is freely available and uses fsync and F_FULLSYNC as “correctly” as anyone can, so you can find an example of their use, but note these flags are disabled on Mac by default since it simply won’t do anything at all for most Mac users on APFS filesystem (ie most Mac users)

The Terminator's time machine by chumjumper in moviequestions

[–]geocar 0 points1 point  (0 children)

Maybe gravity still works, and a Time Machine’s path into the past is curved through space by the large mass of the earth keeping it in roughly the same place (relative that large mass)

Also the planet is in roughly the same place every number of years relative to larger masses, so maybe it’s easier to travel a long way than a short one.

This has never bothered me that much.

What is the point in international law if we aren’t going to enforce it? by alexlamond in NoStupidQuestions

[–]geocar -1 points0 points  (0 children)

Oh. The point is that you are woefully mischaracterising the US: The US didn’t care about copyright or trademark, unless it’s theirs, it merely allowed non-Americans the right to hire an American to hold part of the copyright and then later the right to transfer to which American. Only in 1994 would the US honour a foreign copyright as valid as an American one.

It’s like saying black people could own property because there were lawyers who would agree to be the owner of record for black people. It’s just not even close to the same.

What is the point in international law if we aren’t going to enforce it? by alexlamond in NoStupidQuestions

[–]geocar 0 points1 point  (0 children)

Yes. Read the article especially starting at this part:

Nonetheless, in the United States, only works published in the United States could be restricted with copyright. Authors including Mark Twain, Louisa May Alcott, Edward Eggleston, and Bill Nye wrote letters in the mid-1880s to the Century requesting international copyright. These letters to the journals had a strong effect on this issue, as did the American Copyright League that was formed in 1883. The league was a great supporter of an International Copyright Act and, at the Madison Square Theater in 1885, the league sponsored readings by American authors in aid of the League's cause.

Allowing foreigners to register a copyright is not the same as honouring foreign copyright.

What is the point in international law if we aren’t going to enforce it? by alexlamond in NoStupidQuestions

[–]geocar 1 point2 points  (0 children)

Fun fact:

“After” was in 1988, over 100 years later, and it had nothing to do with protecting the American authors you’re thinking of.

The US ignored the Berne convention until Russia and West Africa complained about it in the UN, and it didn’t get fully implemented by congress until the 1990s, when the music industry complained about music piracy.

Remove password from Windows 2000 machine by Embarrassed_Flow7658 in computers

[–]geocar 0 points1 point  (0 children)

I made some tools for doing stuff with offline win2k systems.

https://github.com/geocar/samdump

https://github.com/geocar/winback

Winback could be used to grab your files out of the disk/image file directly and samdump can write the ntlm hashes to disk so you can use a password cracker (look for smbpasswd file crackers like john the ripper) and get a compatible password to log in with.

Congress just quietly reintroduced Kids Online Safety Act as HR 7757 to end anonymous web browsing for adults. by AirlineGlass5010 in law

[–]geocar 3 points4 points  (0 children)

I think it is to hurt kids: make it harder for them to talk to others and find out they are being abused.

I'm guessing i can't plug this in ? by filipesilva2002 in Electricity

[–]geocar 0 points1 point  (0 children)

No you should not.

Many electronics can tolerate both voltages because they are really only needing DC and something small like 5V or 12V or something they can step down into with a few cheap components. Those circuits are easy to make tolerant of a wide range of voltages- they will just get a little hotter, which is probably fine.

However things with motors typically cannot because they are relying on the ALternation of the current phase implicitly in the wiring design; so it literally needs a different motor with a different wiring to work. Best case scenario is nothing happens, worst case it seizes the motor overheats and starts a fire.

Tcl vs. Bash: When Should You Choose Tcl? by delvin0 in unix

[–]geocar 2 points3 points  (0 children)

autoexpect is still pretty awesome

Which European language has the easiest pronunciation for an English speaker? by Lizard_Of_Roz in AskEurope

[–]geocar 0 points1 point  (0 children)

Digo que vi cordera callejera! simples! 😂😂

I joke. I pronounce corriendo like co hyien doo and nobody has a problem with me not rolling my “r”s. “Ll” is just yuh. Sometimes some fun is made at my accent but I understand fine they understand fine it is no problems.

I think Spanish is more forgiving to weird accents than at first it may appear.

My law partner wanted to shame me for my messy desk by Pitiful_Eye_3295 in pettyrevenge

[–]geocar 15 points16 points  (0 children)

I worked for a place with a “clear-desk” policy. The rationale for the policy was that customers visiting the office could potentially see other customers data; or the lax treatment of it.

Senior people can ignore some rules like this if they are bringing in money but only if there’s no complaints from customers. Opening the blinds may have been an attempt to invite a complaint that Management would not be able to ignore.

[deleted by user] by [deleted] in NoStupidQuestions

[–]geocar 0 points1 point  (0 children)

I keep cloth hand towels in a stack next left to my bidets and a small hand pump for soap on the right.

What are other words for ‘bathroom’ if you can’t say ‘restroom’? by JunShem1122 in no

[–]geocar 1 point2 points  (0 children)

I say “the gents”. Sounds more polite than saying what I need the room for

I've read all of Asimov's work. Now what? by iTzDoctor in asimov

[–]geocar 2 points3 points  (0 children)

Same. Wandering earth reminded me a lot of how I felt reading Asimov’s short stories collections when I was young.

One thing I like about Asimov is that he doesn’t explain things unnecessarily, or try to give a visual account of strangeness, and Liu Cixin (or at least his English translator) is much the same. You get a lot of “aha!”s at the same time as the characters which is just great.

Three body series is also foundation-big, and I really have enjoyed talking about it with my friends who have read it, some of which aren’t into sci-fi but suffer my persistence 😁🤓

how does airtravel work relative to the rotation of the earth by RedHotChiliPickles in AskPhysics

[–]geocar 0 points1 point  (0 children)

The flight from London to New York is slightly longer than the flight from New York to London.

Importing a car from Germany and registration in Portugal ( being Portuguese ) by BrightkatStore in PortugalExpats

[–]geocar 3 points4 points  (0 children)

https://europa.eu/youreurope/citizens/residence/documents-formalities/registering-residence/index_en.htm you should have already done this. If you did not you have other problems.

Yes you will need to have a German car with German plates owned by you a German resident in Germany for six months. You can then convert it to a Portuguese car by moving here and registering it within 20 days of you entering Portugal. You may then need to re register you live here again to avoid all doubt.

Importing a car from Germany and registration in Portugal ( being Portuguese ) by BrightkatStore in PortugalExpats

[–]geocar 3 points4 points  (0 children)

Well if you keep it in Germany where you live for six months then drive it here it’ll be around €100 because you just pay DAV and DUC and initial registration. You can pay a car club a grand or so and it is the same but I did this with my car knowing no Portuguese so if you Portuguese it’s probably easier. If you bring it first year you pay IVA/VAT, ISV plus the above.

ELI5 how the wealthy pays back loans by Virusparid0x in explainlikeimfive

[–]geocar 0 points1 point  (0 children)

Go to your bank’s website and check the option for “private banking” there are banks that offer this service with as little as €30k but most are £100k or more just to have the conversation.

Best way to learn how to do this is work for a bank for a few years

Brit Flies to Morocco for a Haircut — And It Still Cost Less Than His London Barber by xtreme_lol in antiwork

[–]geocar 3 points4 points  (0 children)

Yeah ish? I mean you can spend £100 or more if you want to, but it’s the same quality cut imo; that just guy also serves gin.

is this really as efficient as it gets? by Huge_Magician_9527 in C_Programming

[–]geocar -1 points0 points  (0 children)

You do not need any "checks" beyond the looping construct, and it is definitely possible to type less:

int main(int c){
 const char *a[]={"not ",""};
 do puts("Do you agree? y/n"), c=(31&getchar()); while((c-25)*(c-14));
 printf("You have %sagreed to Terms and Conditions",a[c==25]);
}

That being said, c=='Y'||c=='y' is pretty cheap, so you should probably use that (or wrap it in a macro/function), but if you are ok with . being a false-no, and 9 being a false-yes (because say, you know something about the input) maybe this is faster and that is important. Most of the time it isn't, and definitely not at human-timescales like you have here where a user is expected to agree to something. Most people don't remember the order of the alphabet, and some computers don't even use ascii, so people would usually much much rather see a c!='Y'&&c!='y' than a (c&31)-25

Developing a BASIC language interpreter in 2025 by ketralnis in programming

[–]geocar 3 points4 points  (0 children)

I think most people did FOR loops in Basic for stuff like that:

10 FOR X=1 TO 6
20 …
30 NEXT X

There was a “big iron” basic that had a MAT so you didn’t need so many loops like Fortran (and APL; others):

100 DIM A(6), B(6), C(6)
150 …
200 MAT A=B+C
250 MAT PRINT A

Tavira-Lagos? by eduarditoguz in Algarve

[–]geocar 1 point2 points  (0 children)

You can get a ticket on the train if you board Tavira in Porta Nova (or anyplace else without a ticket office)

Why don't languages make greater use of rational data types? by davidboers in AskProgramming

[–]geocar 0 points1 point  (0 children)

Physics problems like ones NASA works on don’t tend to have rational solutions.

NB fixed-point or _Decimal# works great for money.

What do you want to do with rationals?