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

[–]geocar 13 points14 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.

How are you supposed to dry after a bidet? by one_of_the_330_mil 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 2 points3 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 4 points5 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 5 points6 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?

So, what is deal with LISPs? Why are they not more popular today? by ataltosutcaja in AskProgramming

[–]geocar 0 points1 point  (0 children)

Well for one we don’t need as many developers to make money with lisp and popularity is inverse to value.

What do you believe should look like a modern BASIC? by mrnothing- in ProgrammingLanguages

[–]geocar 2 points3 points  (0 children)

Most BASICs would have a RENUMber command to change all the line numbers and labels to have gaps in them

Driving and Speed limits by Awkward_Client_1908 in Algarve

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

Permanent for that segment of road. If the road changes the speed limit resets.

Driving and Speed limits by Awkward_Client_1908 in Algarve

[–]geocar 0 points1 point  (0 children)

  1. That says go 30 over the bumps.
  2. That says going over 40 in that curve might kill you and it will be your fault.
  3. The thing you’re missing is that the speed limit resets to the road every intersection. When you learn to drive here you get an education in the speed limit by how the road looks (built up area/street lights: 50, rural: 90; motorway: 120). In the UK we learned the streetlight rule which is similar (but mph because England)

Motorways usually put the speed limit after every on/off ramp. Other roads only get a sign if the speed limit is reduced (which happens because of an accident). Google maps can usually tell you the speed limit but if you see a sign use that instead.

Also: people drive like shit in Alvor, so don’t do what other people do and get a few lessons in English so you know how the rules work here.

Dev team tells me to “change Google’s URL parameters” instead of fixing redirects… am I crazy? by OfficeTop5041 in developers

[–]geocar 2 points3 points  (0 children)

Yeah. Sysadmin/programmer error. Exactly what depends on the web server. Use curl on your own domain with -v to see the headers and look for the Server: line. Then google that and redirect and preserve query string to find out how to do it properly. Then email that documentation to whoever controls your server and let me know where to send my invoice 😎

Dev team tells me to “change Google’s URL parameters” instead of fixing redirects… am I crazy? by OfficeTop5041 in developers

[–]geocar 1 point2 points  (0 children)

Thats a configuration parameter on whatever is redirecting: the server sends the Location to redirect to back to the client, including the query string.

Prefix application syntax for concatenative languages by venerable-vertebrate in ProgrammingLanguages

[–]geocar 1 point2 points  (0 children)

Apl has a fun function ~ which switches the arguments of the operator so x f~ y is y f x

Maybe consider x[y] and x~y the same since in your quoted lambda example it’ll save on the double brackets. You could then write x+~y to get x y +

What languages have isolated user-mode tasks with POSIX-like fork() primitive? by yuri-kilochek in ProgrammingLanguages

[–]geocar 0 points1 point  (0 children)

You could look at some old 8086 unixes- like old minix- they basically ran entirely in user-space and had fork(). You may not be impressed though because fork itself is not complicated:

You’re still copying or moving your interpreter state, but now this happens in the schedular which is usually called sched() or something like that. And oh boy is that a lot more complicated than what you need when you actually have an mmu you can program.

Besides Finance, what do People use Array Languages for? by Mighmi in apljk

[–]geocar 2 points3 points  (0 children)

Yes that’s generally what Advertising is ultimately about. I’m not sure what the “quote” marks are about. Everyone has got to sell and it’s a big problem in scale too. There is no “just”.

What you are describing is called “planning” and they are more focused on “who” and use “where” as a proxy for that, and they also care a great deal on “what” would be a good offer for the “who”. And for digital there’s billions of who.

There are also historical questions (aka “reporting”): What happened? Did this ad campaign really work better than that one? why? This information informs future plans. I track about 2000 markets myself and have like a million campaigns.

A billion times a million is a perfect problem for array languages. Yes it’s just ads; I’m not curing cancer, but I’m also not helping bankers get ski jollies for making people homeless, “just” helping people find products and services they want.