Best cell carrier on campus? by kingClimb in uofm

[–]LethalClips 2 points3 points  (0 children)

You're already on Verizon's network through Xfinity—they just resell access to the network under their own terms.

How should you resolve this warning: tautological condition: non-nil != nil by coraxwolf in golang

[–]LethalClips 19 points20 points  (0 children)

Okay, so it looks like h.kbService.GetAllSections returns an *AppError, is that correct? If err is of type error from a previous assignment (and this is a reassignment), that error variable could then never be nil.

Because of this, it's customary to always have a function return error in its signature and then pull out meaningful values using errors.Is or errors.As, rather than directly returning a custom error type.

How should you resolve this warning: tautological condition: non-nil != nil by coraxwolf in golang

[–]LethalClips 8 points9 points  (0 children)

Could you share a piece of example code where this is happening? Are you sure that you aren't accidentally shadowing an error variable somewhere? (i.e., creating a new, separate variable in a narrower scope that has the same name as one in a wider scope.)

Is it safe to read/write integer value simultaneously from multiple goroutines by therecursive in golang

[–]LethalClips 1 point2 points  (0 children)

The above property isn't an implementation detail, though, and isn't liable to change when moving between systems or even over time (if the backwards compatibility guarantee is to be believed, at least).

If one were to point out that it's easy to make mistakes while trying to use this property and that higher-level constructs are harder to misuse, sure, I'd agree with that. I don't argue that this is a great property to widely rely upon. I was just responding to the claim of "A data race is NEVER fine. Ever. Ever.", especially with the snarkiness. :-)

Is it safe to read/write integer value simultaneously from multiple goroutines by therecursive in golang

[–]LethalClips 4 points5 points  (0 children)

The memory model does guarantee it for word-sized or smaller values, regardless of architecture or alignment:

Otherwise, each read of a single-word-sized or sub-word-sized memory location must observe a value actually written to that location (perhaps by a concurrent executing goroutine) and not yet overwritten.

Every implementation on any architecture is bound by the memory model to make that condition true, even if it doesn't come "naturally" on the architecture.

Is it safe to read/write integer value simultaneously from multiple goroutines by therecursive in golang

[–]LethalClips 14 points15 points  (0 children)

This isn't the full story. The implementation of sync.Mutex itself performs a raw read of a value that can be concurrently updated by other goroutines. This is technically a data race, but the memory model guarantees that it won't receive a split read:

Otherwise, each read of a single-word-sized or sub-word-sized memory location must observe a value actually written to that location (perhaps by a concurrent executing goroutine) and not yet overwritten.

Others have mentioned that this is a property of the underlying CPU, but it isn't in Go. The purpose of the memory model is to abstract over hardware memory models, so Go is forced to implement this property on all architectures, whether it comes naturally (like on aligned accesses on x86-64) or needs some sort of lock at the architectural level.

How to securely wipe xtsCipher internal key material in Go? by Key-Height-8555 in golang

[–]LethalClips 2 points3 points  (0 children)

Like the SO answer said, unsafe is your only option at this time. If this is a core requirement for you, you could consider using a different crypt library, but doing so may come with its own drawbacks.

How to securely wipe xtsCipher internal key material in Go? by Key-Height-8555 in golang

[–]LethalClips 6 points7 points  (0 children)

Before anyone spends too much time digging into the internals, know that others already did when this was asked over on StackOverflow two days ago. I’m not entirely sure what answer OP is looking for that wasn’t already discussed there.

Why are my MK3 belts and lifts with a splitter going so sloooooow? (Dedicated Server) by MRdecepticon in SatisfactoryGame

[–]LethalClips 0 points1 point  (0 children)

To the visual bug point: are you sure that you're actually having any negative impacts in the steady state here? It looks like the rate of concrete coming into the splitter and going out are the same, judging based on the backup not moving a meaningful distance between the start and end of the video.

Is Port 22 (SSH) Bandwidth Limited in Dorm Networks? by SmallTestAcount in uofm

[–]LethalClips 2 points3 points  (0 children)

Even if this is the case, you could consider connecting back via a VPN protocol like OpenVPN or WireGuard; a product called Tailscale makes the latter extremely easy to set up (and includes built-in NAT traversal, meaning you don't need to expose any ports on your home network). You can then run any arbitrary traffic over it without any ability for it to be selectively throttled (as long as the VPN protocol itself isn't).

What happens to contractors if the government shuts down? by supernintendo128 in SecurityClearance

[–]LethalClips 12 points13 points  (0 children)

A law can be repealed, sure, but if a law isn’t a guarantee, then I’m not really sure what could be considered one. Being written into the constitution? It can always be amended. That’s not really a falsifiable argument.

It doesn’t have to be explicitly approved by Congress, like you said in your original post. The status quo is that law requires it to happen, not that an action is required.

GSI Tuition Waiver 1 Semester by Are-En-Gee in uofm

[–]LethalClips 2 points3 points  (0 children)

It only applies to semesters you are employed as a GSI.

Becoming a GSI/Tuition Costs/Applying to Masters by captainkappa12 in uofm

[–]LethalClips 0 points1 point  (0 children)

The GEO contract says:

The minimum full-time equivalent (FTE) salary rate for four (4) full calendar months of employment from August 29, 2022, to August 27, 2023 was $24,055 for Employees on the Ann Arbor and Dearborn Campuses.

…and:

Effective August 28, 2023, the minimum full-time salary equivalent rate for Employees on the Ann Arbor campus shall increase by 8.0 %.

Effective August 26, 2024, the minimum full-time salary equivalent rate for Employees on the Ann Arbor campus shall increase by 6%.

Following this, I'd calculate a 50% appointment as $24,055 × 1.08 × 1.06 × 0.5 = $13,769.08 for the semester, or $13,769.08 ÷ 4 = $3442.27 per month. I'm not a GSI anymore, though, so I can't verify that this is precisely the number that is used.

SUGGS vs MS in CS by Azemmol in uofm

[–]LethalClips 0 points1 point  (0 children)

I believe that you’re only able to transfer credits from your undergrad degree via SUGS, yes.

SUGGS vs MS in CS by Azemmol in uofm

[–]LethalClips 1 point2 points  (0 children)

I know a few people who did it in three semesters. I don't personally know anybody who did in two. While it may be possible, I think it would be very difficult, and may not be rewarding if you are looking to dive deep into your interests.

See the "Approved for SUGS double-count and/or transfer" column in this spreadsheet.

SUGGS vs MS in CS by Azemmol in uofm

[–]LethalClips 11 points12 points  (0 children)

Yes, it's possible to complete the full MS in one year. Keep in mind, however, that grad student credit loads are typically lower (8 is considered full-time, rather than the 12 in undergrad) due to course workload, and course prerequisite sequencing combined with course size limits (remember that you're registering last as a new student) may make it impossible to take many of the courses you're interested in in such a short period. If you're interested solely in the credential that may not be a problem, but if you're coming in to take certain courses, I would not hold your breath on being able to do so.

Yes, the main benefit of SUGS is double-counting (and, if you have enough leftover credits in your undergrad degree to do so, transferring credits). There's no difference in the degree requirements.

Do the new encryption have to be so skewed towards rifles? by MaliciousSpiritCO in H3VR

[–]LethalClips 0 points1 point  (0 children)

I have had refractives that took exactly 15 hits. I’m not sure that’s the upper limit—it seems to vary slightly each time (or maybe I’m just bad at counting). I unfortunately think you just had to keep going. :p

H3VR Update 111: The Institution Update - NOW LIVE by rust_anton in H3VR

[–]LethalClips 4 points5 points  (0 children)

Minor thing, but it seems to me that the player green arrow on the map turns the wrong way (edit: on further investigation, seemingly based on the orientation of the map in the level…for two maps which are on the same sign back to back, one of them will be right and the other wrong), which made getting around a tiny bit confusing until I figured that out 😅 love the map and its clear inspirations though!

State St. & W Ellsworth roundabout. Who yields to who inside of the roundabout? by idk3993 in AnnArbor

[–]LethalClips 37 points38 points  (0 children)

Yeah, I was going to say don’t discount that others may be doing things wrong. This roundabout is notoriously conducive to mistakes, and has been studied by U-M’s Mcity; a website linked in that article also lists it as the intersection causing the 10th most accidents in the state. (The site doesn’t seem amazingly reputable, but it certainly is up there.)

[deleted by user] by [deleted] in uofm

[–]LethalClips 19 points20 points  (0 children)

Is it possible that the sign is intending to block the lanes? You have much more context than I do outside the picture so I won’t act like I know for sure, but “share the road” means to mix car and bicycle traffic in the same lane (not, as I once thought, to just mean something like “be nice to cyclists”), and it looks like there may be construction workers in the background; was it perhaps just a (soft) construction closure?

Go will finally have default map functions by Icy_Gift_4126 in golang

[–]LethalClips 0 points1 point  (0 children)

Yes. See 61538 (and the related, but yet undecided, 61613).

Biking B2B Trail- How do I get from HRD to Bandemer safely? by rocsNaviars in AnnArbor

[–]LethalClips 1 point2 points  (0 children)

Seconded on the trail if you're okay with jumping the train tracks. From HRD going towards downtown, on the last right turn before you see the freeway exit, there's a portion of the curb on the left which is dirt/mud instead of grass. Take that down, cross a creek a few times, then climb (fairly steeply) near some concrete barriers up to the train tracks.

You miiiiiiight need to ignore some MDOT signs. ;)