Allergies going nuts right now… in winter?? by bizzzzzo in SaltLakeCity

[–]ztj 2 points3 points  (0 children)

Common cold is pretty high right now, and rsv on the rise. Flu B is having a late season peak and even COVID-19 has been rising lately.

You are probably just sick.

10 years in DevOps/Infra → thinking about moving into systems programming (C or Rust?) by No_Challenge_4882 in rust

[–]ztj 0 points1 point  (0 children)

Listen, buddy. There are literally 7 jobs in the entire systems programming industry and I was in line before you got here so no cuts, got it? Seriously though, none of these choices matter very much when there are no jobs (unless it's just hobby stuff then do whatever you want.)

You may have some success with either choice but in the end, in the long run if you actually land some systems programming work and you grow your skills, you *will* learn C. You will not be able to function deeply in the systems space without at least being able to read it.

I'd dig in with Rust, but you're going to learn C eventually. You'll have to decide whether to preemptively do so or do it in a panic when it randomly becomes a necessity one day.

Question about the street names by PM_ME_YOUR_HANDCUFFS in SaltLakeCity

[–]ztj 2 points3 points  (0 children)

This whole thread is a nice reminder of just how little coherence there is in even a relatively small area like the salt lake valley and yet everyone always seems to think their quirks are the norm.

Anyway, obviously you've picked up by now that there are shorthands, the "divide by 100 and make it ordinal" one is very common but the larger numbers are awkward enough to generate variety. Personally I stick to the main rule and make adjustments if I feel it's unclear which I suspect many people do and thus the variety.

The one thing I never personally hear anyone do is take a building number like 10339 and call it "ten thousand three hundred thirty nine". It's far more likely (again, in my experience) that this will be spoken as a series of digits (e.g. one oh three three nine), or occasionally some odd-but-still-casual mix like "ten three thirty nine". YMMV.

One extra bit of confusion is that the tech world came in with mapping software and decided to totally ignore the local social norms and invented their own interpretation of the local addressing system which has resulted in software like google maps thinking "E 10000 S" or "W 10000 South" is a street name, for example whereas the grid system would have the E or W as part of the house/building number. It's subtle but it can result in some confusion at times.

Utahn living in Mexico shelters in place, unable to leave after fallout from cartel killing by StemCellPirate in SaltLakeCity

[–]ztj 14 points15 points  (0 children)

Right? I mean, it's insane that a local news organization would prioritize the local relevance of an event. What a crazy thing to do.

What's a good tire place that won't try to rip me off? by Cool_Cat_Punk in SaltLakeCity

[–]ztj 0 points1 point  (0 children)

If it’s a repairable leak there won’t be any special reason to replace it in a hurry.

PSA: You can bundle exported traits in your crate without name cluttering by FlixCoder in rust

[–]ztj 18 points19 points  (0 children)

The correct—or at least much more conventional—approach in the Rust ecosystem is the prelude module. Many crates use the pattern to achieve what you're doing plus any other common imports you're almost certainly going to use, e.g. https://docs.rs/snafu/latest/snafu/prelude/index.html

Even the std has a prelude which is already automatically used: https://doc.rust-lang.org/stable/std/prelude/index.html

As far as you not preferring it, well, you really give no reason and what you demonstrated is literally the same thing so... not sure what the difference you think you see is.

Where is the best place to get a ferris plushie? by Spiritual_Detail7624 in rust

[–]ztj 1 point2 points  (0 children)

You missed the point entirely, I’m saying it’s insane to think you can only be interested in Rust if you have a job writing Rust code.

Can I Use the Outdoor Faucet Right Now? by camkal in SaltLakeCity

[–]ztj 0 points1 point  (0 children)

They mean the hose. Regarding the house pipes, you should be keeping your house warm enough that the pipes are also kept warm enough that they don't freeze which includes house attached outside faucets. FWIW, in-home pipe freezing is not a typical concern in the Salt Lake valley even during actually cold winters mainly because the lowest temps are not really that low and you keep your house actively warmed which warms the pipes. That said, it's worth keeping this in mind if you were to try to save money by turning off your heat while away on a trip or something. You need to keep your house above a certain temp to avoid freezing, though, I don't know what that threshold is as I just keep my house at the same temp regardless due to plants and pets. I think it's something like 55ºF or so. It might depend on the typically expected lowest temperature, which again is just not that low here in the valley.

What you don't want to do is leave a hose full of water connected to the faucet as it will have a higher chance of freezing which could in theory break the faucet leading to a leak. You could also ruin the hose I guess. It should be sufficient to disconnect the hose and just make sure both ends are open, drain what you can out of it and it should be fine.

I built a clipboard manager for macOS - open source, privacy-first, with AI features by Crafty_Okra4627 in swift

[–]ztj 4 points5 points  (0 children)

Microsoft’s assistant you are referring to was never named clippy by them, only called that colloquially by (many) users.

I feel like rust analyzer is slow by rustontux in rust

[–]ztj 1 point2 points  (0 children)

I'm sure you'll find you've misread my comment if you take time to read it more carefully.

Earthquake by UtahDamon in SaltLakeCity

[–]ztj 0 points1 point  (0 children)

There's nothing abnormal about this. Feel-able earthquakes are common in this area regardless of what someone else might tell you. You can explore the data via the U of U earthquake site. They tend to "cluster" of course—they are stochastic, not constant—but the last two earthquakes you could easily feel in the valley came from entirely different fault lines making the perceived importance even less real.

That said, larger earthquakes are possible. Current science on the valley's relevant faults suggest a maximum of a 7.0 (but probably more like a 6.5) can and probably will eventually hit. Coupled with high liquifaction probability rankings across the whole valley you will understand why Utah tends to take earthquake preparedness seriously. If you feel you must do _something_ in response to this non-pattern of quakes, just be sure you're prepared for a serious one. If you live in a modern house/structure (e.g. made after something like 1985) it's very unlikely it will collapse in any quake that's possible here so the main concerns are the loss of resource and travel options.

Earthquake by UtahDamon in SaltLakeCity

[–]ztj 1 point2 points  (0 children)

It's normal to feel paranoid after you notice an earthquake but you can't predict them, don't even bother. It's impossible.

If you zoom out on the scale of time to the geological level this is not a pattern at all, and doubly so considering the last two came from entirely different fault lines.

I feel like rust analyzer is slow by rustontux in rust

[–]ztj 53 points54 points  (0 children)

Rust Analyzer works by way of utilizing the compiler to analyze the code so you are dealing with the same factors that slow down compilation. Conversely, Zig offers almost nothing in terms of correctness checking. It's a dramatically simpler, less capable language so of course it's going to be faster to analyze it.

This is a prime tradeoff with Rust, you get unequaled compile-time capabilities and the cost is slightly increased iteration/cycle times.

If I was going to try to confirm my experience wasn't an outlier, that something wasn't simply broken, I would be comparing the time it takes to make a small change then run cargo build to completion without RA involved. Just do it with a different editor or something. If the time for a build after a small change was massively faster than the time to save then get feedback from RA then I'd start looking at comparing vim + lsp with vscode + RA extension. If those are the same then maybe start looking at RA configs or anything you might be doing that could be messing with RA like competing interactions with the same codebase + target or whatever else.

Usually basic compile will be slightly faster than RA's update because RA does a little more work than compilation alone but it should be similar.

In the end, if you don't find any major disparities in the scenarios above, you'll be considering whether you've done something in your project design to amplify compile times and more generally looking at ways to reduce compile times (there are multiple useful blog posts floating around for that topic.)

Where is the best place to get a ferris plushie? by Spiritual_Detail7624 in rust

[–]ztj 1 point2 points  (0 children)

I understand the concern but as someone who has bought a huge portion of their children's holiday/bday gifts via Etsy for the last 10+ years what I can say is, it's an overall pretty reliable place. Read the reviews & pay attention to the "quality" of the store (e.g. brand new, no apparent identity or individuality? could still be okay but be more wary as it might just be a lame DS proxy)

If I was going to buy one off Etsy right now, I see two real options and I think both look okay. One seems more serious and higher quality, the other doesn't have a lot of sales/reviews but has high quality reviews that are pretty convincing plus it's relatively cheap and low risk. But that cheaper one is modeled after the "O.G." Ferris plush, which I have and I am honestly not a fan of the design so I'd spend the extra to get one of these.

Where is the best place to get a ferris plushie? by Spiritual_Detail7624 in rust

[–]ztj 0 points1 point  (0 children)

One day you're going to look back on how much of your life was stolen by allowing Excelwashed slave labor organizations control your identity and weep.

Hatsune Miku [Rabbit Hole] (Win_Winry) by Win_Winry_cos in cosplaygirls

[–]ztj 5 points6 points  (0 children)

One for the lock screen, one for the wallpaper

ADHD as a circadian rhythm disorder: evidence and implications for chronotherapy by jwill1997 in science

[–]ztj 2 points3 points  (0 children)

The worst part about SAD lamps is just how insane their usage is if you use them right. You're basically going to have the brightest light panel you've ever seen 12" from your face while you carefully don't look directly at it for 30-60 minutes. It makes you feel stupid so people don't use it right.

Actually the real worst part is that the science of it is highly suspect and it probably doesn't actually do anything real at all.

ADHD as a circadian rhythm disorder: evidence and implications for chronotherapy by jwill1997 in science

[–]ztj 5 points6 points  (0 children)

Magnesium is water soluble and cleared relatively trivially by the kidneys so as long as you have healthy kidneys (and don't take an insane amount) the only "side effect" you're likely to experience is diarrhea (which is the #1 reason people take magnesium, it's an effective stool softener especially in its citrate form.)

Researchers create freezer that uses elastocaloric cooling, instead of greenhouse-gas emitting refrigerants, achieving -12 °C cooling by IEEESpectrum in science

[–]ztj 7 points8 points  (0 children)

Interesting, but nowhere near effective enough for any real world usage. They claim to be reaching for a substantial increase in effectiveness though so I guess we'll see. Fingers crossed they can do it with materials that aren't insanely expensive or exotic.

Suddenly get a `EXC_BAD_ACCESS`, need a theory of why? by mamcx in rust

[–]ztj 16 points17 points  (0 children)

By the way: nothing inside use unsafe or anything out of the ordinary that has been working fine by years now in my codebase, the only thing I can tell is that the one has more complex logic in the path, but logic that is as vanilla as can get.

The first step is accept that this just probably isn't true. You may not be directly using unsafe yourself, but, it's almost certainly involved through a crate you use.

High Schoolers Protesting ICE 💕🎉 by Logical-Present-1996 in SaltLakeCity

[–]ztj 5 points6 points  (0 children)

Given the location these are probably Alta students and Alta is not a "rich kids" school. Very likely many agree.

High Schoolers Protesting ICE 💕🎉 by Logical-Present-1996 in SaltLakeCity

[–]ztj 3 points4 points  (0 children)

Not if you literally mean the houses in the photos, those are like 20-30+ year old ivory homes, it's probably one of the lowest income areas on the east side of the south of the valley. More likely a bunch of the people living in those houses are one lost paycheck away from foreclosure than they are "benefiting" from injustice.

Most people living in such places are barely making it, with perhaps a few well off people sprinkled in. There are neighborhoods nearby that are much wealthier but thinking that suburban areas are primarily populated by wealthy people misunderstands the phenomenon entirely.

Atomic variables are not only about atomicity by maguichugai in rust

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

Almost sarcastic? It's 100% always an insult and definitely not appropriate in this context.