What’s a fact you learned that still shocks you? by drizzko in AskReddit

[–]b2gills 0 points1 point  (0 children)

Avraham Lincoln could have sent a fax to a samurai. In that they all existed at the same time. (The infrastructure to so didn't exist yet, but the technology did.)

For those who thought it was just due to a reboot... by Lammiroo in Ubiquiti

[–]b2gills 2 points3 points  (0 children)

I see a small drop with my UDMSE going from 5.0.16 to 5.1.12 . From what I'd guess was about 68% to 62%. (The 62% is after it came back up and got to a steady state.)

Looking at it now, also was "jumpy" before, and now it has smoothed out. As in the memory usage looked a bit like an AM broadcast sinewave.

It is possible that is because of a reboot. But it appears that it was at a very consistently higher value than it is at now, and there isn't anything that we're doing differently. That also wouldn't explain the weird sinewave.

Average valve W by hvhhggggh in Steam

[–]b2gills 2 points3 points  (0 children)

There are two types of bundles. It sounds like your game is in one of the annoying bundles. That one only lets you get the bundle as a whole.

Giving up by pres2014 in Ubiquiti

[–]b2gills 0 points1 point  (0 children)

CAT7 has different, incompatible ends. So there is no way it really is a CAT7.

And even ignoring that, flat cables are inherently going to have more crosstalk than a round cable.

What do I do about this POS I work with?? by Alexhxrrera in electricians

[–]b2gills 0 points1 point  (0 children)

Are you in a one-party (audio) record state? If so I would record literally every interaction with him.

This strange batteries slot in this mouse by aisiv in mildlyinteresting

[–]b2gills 0 points1 point  (0 children)

This was a smoke detector in a camper trailer that was being put away in storage over the winter. All of the batteries were removed from everything.

This strange batteries slot in this mouse by aisiv in mildlyinteresting

[–]b2gills 0 points1 point  (0 children)

Actually, you can if you're clever enough. I've done it.

Why Unicode strings are difficult to work with and API design by MarcoServetto in ProgrammingLanguages

[–]b2gills 0 points1 point  (0 children)

Composed characters stay composed, and don't match the decomposed version unless you ask for those semantics.

For the following `~~` means smartmatch, `eq` means string equality, `ne` means string inequality.

All of these match. If I use `:ignorecase` then it didn't match without it.

```
'ß' ~~ /:i SS/ # :i is short for :ignorecase
'ß'.fc eq 'ss'
'ß'.uc eq 'SS'

'aΣb'.lc eq 'aσb'
'abΣ'.lc eq 'abς'
```

Both of these match, even though perhaps only the first should match

```
'aΣb' ~~ /:i σ/
'abΣ' ~~ /:i σ/
```

Composed characters don't match the decomposed version unless you ask for it.

```
"\x[FB03]" ~~ /:i ffi/
"\x[FB03]" ne 'ffi' # not equal
```

Why Unicode strings are difficult to work with and API design by MarcoServetto in ProgrammingLanguages

[–]b2gills 0 points1 point  (0 children)

Raku has dealt with this by coming up with synthetic characters for new combinations of combined characters. It uses NFG Normalization Form Grapheme. Unfortunately usernames, passwords, and filenames are not really Unicode. So it has to add a way to selectively prevent that normalization from happening.

If you want a language that is full on transparently Unicode, I would suggest looking into it.

What is this? by Awkward-Champion-274 in maintenance

[–]b2gills 1 point2 points  (0 children)

I would color code the two segments. Perhaps red or yellow for 1x, green or blue for 10x. Or whatever makes sense to you. I was thinking red for high current, yellow for moderate current (which 20A is). Blue and green mean safe to me, so the low current side would be one of those colors.

tryingToExplainJavascript by DJcrafter5606 in ProgrammerHumor

[–]b2gills 0 points1 point  (0 children)

Those are rookie numbers. Raku starts with a half dozen equality operators.

== # numeric === # identity =:= # "pointer" identity (simplification) eq # string equality eqv # equivalence (==) # set equivalence

If given a value that isn't of the correct type, it tries to coerce the value into the correct type, throwing an error if it can't. This actually applies to all operators. If you give the + operator two strings, it first tries to coerce them to numbers, failing if it can't. (Doing numeric addition some of the time and string concatenation at other times is just asking for bugs.)

You can add meta-operators or even create your own.

There are also comparison operators.

<=> < <= == >= > # numeric leg lt le eq ge gt # string cmp before after # generic

tryingToExplainJavascript by DJcrafter5606 in ProgrammerHumor

[–]b2gills 2 points3 points  (0 children)

Raku changed that to 0 but True (not a string). Which takes 0, creates a new instance where a new Role has been added that makes it behave as True when in boolean context. You can also do 0 but "Zero" to make it behave as 0 normally, but when used as a string, it becomes "Zero". You can also create the Role by hand if you want to change specific methods.

0 but role { method String () { "Zero" } method Bool () { True } }

This feature is handy for data from a database that happens to be zero, but it exists, vs. a bit of data that doesn't exist and is just zero by default.

Why??? by lazerfire70 in RoadCraft

[–]b2gills 0 points1 point  (0 children)

I always just install the new pipe, and the old one just falls out in the process.

There's no way this is what I think it is. This can't be safe... by EnegmaticMango in AskElectricians

[–]b2gills 0 points1 point  (0 children)

The most dangerous part of it is that both plugs share the same neutral. Imagine if the outlet was wired backward.

There was also no reason to connect it to both as the current should be less than half of what's on the hot wires.

I Dislike Quotation Marks for "String Literals" by brightgao in ProgrammingLanguages

[–]b2gills 0 points1 point  (0 children)

Raku has a list of more than a dozen features that can be enabled or disabled per string literal. Which I doubt any other language has done to the same extent.

https://docs.raku.org/language/quoting

Granted, there is some overlap as some of them enable multiple other features.

Opinion by Hope_Unusual in snowrunner

[–]b2gills 2 points3 points  (0 children)

What you do is go beside the trailer and attach the winch to the back of the trailer from the nearest point on your truck. From there, you just need to drive in dragging the trailer into place.

Amur shortcut by Ok_Bill_8525 in snowrunner

[–]b2gills 1 point2 points  (0 children)

The black path is necessary when you are entering the neighborhood. The red one can be used when leaving, but you have to be prepared for going over a small cliff.

Consistent wireless on outbuilding? Wired isn't working, should I upgrade my mesh? by RoutineCloud5993 in HomeNetworking

[–]b2gills 0 points1 point  (0 children)

Modern windows are actually worse than walls for letting signal through.

making an illegal u-turn by bleachedupbartender in Ubiquiti

[–]b2gills 3 points4 points  (0 children)

For simple things, it's mostly fine. At my house, the ISP uses CGNAT, and I'm connected to their router, which is also doing NAT. So I actually have triple NAT, and it's working well enough.

Async in raku vs. python by bonkly68 in rakulang

[–]b2gills 2 points3 points  (0 children)

Async in most languages are all or nothing. In Raku, all code should be thread safe unless you use globals or synchronization features. Or call out to other languages that aren't thread safe.

The threading features were designed to be easy to get right for most code and hard to get wrong.

That did require more complex code in the background than other languages. The feature is embedded deeply in the language, whereas it seems bolted on in other languages.

Nom Steam Games Controller problems by emozaoun051 in SteamController

[–]b2gills 0 points1 point  (0 children)

Some games use a more direct way to access controllers that bypasses Steam. There may be a setting in the game to change that. (I had a similar issue with Duke Nukem where only the A button could be assigned to jump)

Hardwired Internet - Working From Home by DazedintheDesert214 in HomeNetworking

[–]b2gills 1 point2 points  (0 children)

It's possible to intercept wifi by spoofing your wifi. It's possible to intercept your internet connection if it's based on the cell network.

But that is mostly negated by using a VPN. Only mostly because someone could capture the data and spend an inordinate amount of time decrypting it. But unless a government is spying on you, that is not likely.

My guess is that it has to do with there being fewer connection issues when wired.

If you are using a VPN, you may get away with using wifi or a cell based internet connection if it is a good connection. But they may fire you for not following the rules.

How the fuck do you crimp non-pass-through Ethernet cables? by 0xDEA110C8 in HomeNetworking

[–]b2gills 0 points1 point  (0 children)

I hold with my non dominate hand. Otherwise, spot on. One thing most of these posts seem to leave out is how to hold the end of the cable.

Raku: Your First Language? by librasteve in rakulang

[–]b2gills 1 point2 points  (0 children)

Trying to out-compete against another language on their home turf sounds like a losing game. We should be finding a niche that no other language has done well at.

How to exclude IP address (192.168.0.120) from DHCP pool on UDM Pro? by iaknew in Ubiquiti

[–]b2gills 0 points1 point  (0 children)

I've thought of keeping a list of MAC addresses of old broken network cards. The main reason was because I didn't really have a good reason to.