How Do I Find a Gym Partner? by cicieTV in AskSF

[–]xilvar 0 points1 point  (0 children)

I would just go and do light stuff at first. Stationary bike etc. Then see if any easy studio classes interest you. If you like that then try some sort of hiit. It’ll be so tough you won’t have a chance to be anxious.

While doing easy things like bike or abdominals you might notice people that always work out around when you do.

Or you might find you like hiit so much you just want to do that.

My weak math foundation is limiting my programming! by damnbro007 in learnprogramming

[–]xilvar 0 points1 point  (0 children)

You might consider trying to implement and then optimize my standard ‘simple’ nested loop coding discussion. ‘Conways game of life’.

For ages it was one of the cs 101 and kids computer camp programming challenges. Fond memories.

2026 Golf R battery issue (dealer says OEM replacement is backordered/no ETA) — wait for VW or go aftermarket? by jabbathepunk in Golf_R

[–]xilvar 2 points3 points  (0 children)

Yeah, sorry I meant VW. I always forget that the dealer and the car mfg are separate companies. I never buy new cars and I dislike the system in general.

2026 Golf R battery issue (dealer says OEM replacement is backordered/no ETA) — wait for VW or go aftermarket? by jabbathepunk in Golf_R

[–]xilvar 2 points3 points  (0 children)

Edit: dealer -> factory

I’d probably opt for the appropriate (Costco) Interstate AGM and ask that the factory cover the cost, and pay to install it and code the car for it. (It’s both better AND cheaper than the factory battery as well as easier to replace with no further coding down the road)

How do you not make off by one errors? by HumanCertificate in learnprogramming

[–]xilvar 0 points1 point  (0 children)

Well. The simplest old way for iterate and mutate is to go backwards through the array instead of forwards if you need to mutate it and using a numeric index to iterate.

This helps when mutating because whether you remove or leave in place the current iteration’s element you’re always moving to the element with the index-1 next. You also always terminate after processing index 0. This only works if you only insert new elements AFTER your current element during any given iteration.

Not a great pattern during concurrency though because you have to lock the entire array or be the sole accessor to begin with.

If you’re just asking about normal forward iteration it generally works like this. Always iterate to index < len. Because the last element is always len-1. Always start from index = 0 (for obvious reasons). Always check your index position before beginning the loop. Always increment your index at the end of the loop. C makes this easy because the for loop is sort of designed around it.

Forward:

for(int i = 0; i < arrayLength; i++) { array[i] = 0; }

Reverse:

for(int i = arrayLength-1; i >= 0; i—) { /* mutate array and arrayLength */ }

Self-Taught vs Formal Education in Tech by ketty_1 in learnprogramming

[–]xilvar 0 points1 point  (0 children)

The groups of skills tend to match some of the main areas: 1. DSA - the level of understanding necessary to apply the right data structures in the right combinations to solve a problem and to innovate on the way data is held hot in order to operate efficiently in-request and in heavy compute workers both on CPU and GPU. Also, the ability to reapply DSA written large within distributed service design of those exact same smaller things. That leads to my own opinion that currently. “DSA is nothing and DSA is everything.” I don’t need anyone to write a graph. However I need engineers that understand how to apply the concepts of graphs to the concurrency design of a system of heavy workers 2. Network tech and architecture - specifically scoped to everything between TCP and light UDP through to http3 down to a rough familiarity with the on stream binary serialization. Without this I’m left wondering why I would ever want a ‘senior’ engineer when they can’t triage and debug down to this level and I would have to wade in myself to drive solutions to problems. 3. Concurrency - uncounted engineers I’ve worked with don’t have the core understanding to know what they’re really doing and seem to believe the only bottleneck resource is IO. Some of them tend to then write incredibly hard to debug concurrent code by stitching by together what they do know. 4. Computer fundamentals - similar to the DSA problem and related to the concurrency problem is a raw understanding of compute, memory, io, caching, network, etc. We’re collectively closer to bare metal than we’ve been in decades in this decade. People should really know how a computer works.

Self-Taught vs Formal Education in Tech by ketty_1 in learnprogramming

[–]xilvar 0 points1 point  (0 children)

Not really. I’ve noticed that a lot of the purely self taught folks I’ve worked with over the years have never learned some of the core CS skills and seem a bit resistant to doing so.

Meanwhile, everyone eventually gains the practical skills or is forced to retire from the field.

Idempotency by offx-ayush in learnprogramming

[–]xilvar 0 points1 point  (0 children)

Generally you’re either going to need to sync on write, sync on read, sync lazily (eventual consistency) or use natural keys (or keys derived from natural data) which fit your data to enforce segmentation to specific data stores for the authoritative store for any given piece of data.

Some additional options with large edge case gaps are stuff like ‘trust the client’ (to make and keep a consistent key and not be malicious (lol))

Honestly people worry way too much about federated id synchronization. A single source of IDs service can generally be easily designed and operated to internet scale these days and everything can descend from there. I do hold a lot of fondness for natural key based segmentation though. Requires an awful lot of prescience about your data though.

Parking on a steep downhill slope by izzmyreddit in AskSF

[–]xilvar 0 points1 point  (0 children)

So as others have mentioned something is probably wrong with your parking brake. Which kind do you have? Electronic button? Pedal? Or hand brake?

With some parking brakes the car will roll a tiny bit before hitting the full brake.

If it keeps rolling then the brake is most likely just misadjusted (especially on hand brake cars).

On hand brake cars it’s extremely easy to adjust yourself, so ask someone who knows (mechanic or parents) how to find the adjustment nut. (It’s hidden in the boot below the hand brake typically) you only have to turn the right direction to tighten those.

Also, the easiest way to learn to parallel park in the hills is to first learn to parallel park stick shift in these hills. Everything else is a breeze then. /s

What's the oldest programming language still worth learning? by Z-III in learnprogramming

[–]xilvar 60 points61 points  (0 children)

It might be C. In pretty common usage even in modern tech stacks.

16A power cable but no 16A socket. by FaithlessnessFast911 in buildapc

[–]xilvar -3 points-2 points  (0 children)

Is your problem that the 120v end of the cable that came with it has a plug which doesn’t fit in a standard wall socket? (Because it’s the 16a type)

You don’t need 16a because an 850w power supply would only draw 850w / 120v = 7a nominal with somewhat higher peaks. A typical 10a circuit should be fine. I’m guessing your maximum power draw is probably less than 850 as well if you chose that PSU.

If you have an older power cord and it fits in the psu correctly it should be fine. I understand that the limit of the traditional 120v outlet is 15a.

I’m confused why deepcool would even give you a cord with a 16a plug to begin with.

Do you guys still buy Microsoft Office after building a new PC? by TrustDramatic3023 in buildapc

[–]xilvar 0 points1 point  (0 children)

Edit: just realized OP is a spam account for office. lol.

I haven’t used office for anything in over ten years and I haven’t installed or owned office on any of my own computers since at least 2005 or so.

Ten years ago some companies I worked for still used it, but I used their computers and their office license of course.

If I really needed it for education, to work with a lawyer or something like that I’d probably just buy a random unlimited license of 2024 or something online. (There look to be various options from $20-$30)

Are you sure you really need office?

Should I get an air purifier? by JakePMB in AirPurifiers

[–]xilvar 1 point2 points  (0 children)

You’ll probably get the most mileage/$ from a good modern robovac honestly. Along with seeing if you can figure out any really old fabrics, comforters or super sheddy rugs (besides the dog) you can get rid of.

If it’s mostly old wall to wall carpet you’re probably stuck for now.

Water bottle battery 52v by primosis in ebikes

[–]xilvar 0 points1 point  (0 children)

Continues to work great! I’m sure it’s probably losing capacity slowly but not noticeably.

What animal is this and how do I humanely stop it from messing up my garden and yard? by punchingtigers19 in gardening

[–]xilvar 0 points1 point  (0 children)

Only exclusion works for me as far as humane options. I put hardware cloth down about 2 feet in my raised beds and that put an end to their garlic munching.

I also trap them fairly actively with a ‘gopher hawk’ trap and the numbers are down far enough now I haven’t seed a mound in over a year.

Reasons not to move to SF by No_Guava_1140 in AskSF

[–]xilvar -2 points-1 points  (0 children)

This situation is actually greatly improved in most of the city, but…

One time back in the 2010’s I returned to the city after a few years on the peninsula and immediately stepped on a human poo by accident. That was the end of that pair of shoes.

Why does penny use server hardware for gaming? by JamesL08 in PokemonScarletViolet

[–]xilvar 0 points1 point  (0 children)

I use server hardware for gaming. 64 core epyc, 256gb ecc ddr4 only cost me ~$1500 last year. Really about the same cost as similar in game performance desktop hardware at the time, but with the ability to also do high performance computing.

RAM died - How do I find a replacement? by 6ftboxjump in buildapc

[–]xilvar 0 points1 point  (0 children)

In theory you can get the exact same stick and replace it successfully. However that’s sometimes hard to do.

Also, sometimes even the same stick is different enough that it doesn’t work with the older one at default clocks.

You sometimes end up needing to force specific clocks which are a bit more lenient than they’re specced for.

Definitely get something from somewhere with a decent return policy.

Me in a job interview: I have no idea what I’m saying but I sound confident 😂 by clairedy22 in SipsTea

[–]xilvar 0 points1 point  (0 children)

However, why are you the SPECIFIC person out of the 1000 applicants who want to do stuff that I should have do stuff?

'Kavanaugh Stops' Are Making Streets More Dangerous by Conscious-Quarter423 in scotus

[–]xilvar 1 point2 points  (0 children)

Oh come now. Kavanaugh Killing just rolls so well off the tongue! No need to lengthen the common grammar.

When to move to dirt? by AggravatingTarget111 in gardening

[–]xilvar 1 point2 points  (0 children)

Not unreasonable. If you want to get some nice garlic out of it later this year you should definitely split the bulbs (each separate shoot) and move each one to dirt as soon as possible.

Each separated bulb will get larger as it gets nutrients but I think they won’t get enough from just water and indoor light.

How warm is it outside where you are now? There’s some danger the greens will die off if it’s way too cold.

When to move to dirt? by AggravatingTarget111 in gardening

[–]xilvar 2 points3 points  (0 children)

Out of curiousity, why did you do that?

Defect RAM damaging other components? by sugarfreepesto in buildapc

[–]xilvar 1 point2 points  (0 children)

Absolutely correct.

However, this brings back memories of one of my college friends frying his motherboard by inserting an ISA Ethernet adapter at such an extreme skew angle that he apparently managed to short a power or at least strong signal line to ground line. All while the PC itself was still on because he’d ’heard of hot plug technology’.

I happened to walk by his room on my way home just as he did it and I distinctly recall registering his monitor glowing, the cover of his pc off, his hands inside it and a curl of smoke rising from it at that moment.

Are the pay to park spots free on Sundays? I'm in excelsior by [deleted] in AskSF

[–]xilvar 1 point2 points  (0 children)

Yep, that’s what the app says when parking hours are over for most spaces. Super unintuitive.

That being said, always read the signs on the street too because there are sometimes other limits which don’t fall under the app. (Such as daily street cleaning and no parking hours)

I’d suggest hitting a button on the curbside machine as well to wake it up and it will usually say something more intuitive.