HackerTrans
TopNewTrendsCommentsPastAskShowJobs

trissylegs

no profile record

comments

trissylegs
·2 เดือนที่ผ่านมา·discuss
Every time I get something in my missed called in Voicemail the speech to text seems like I've been called by some wimslical gnome talking to me in strange riddles.

Eg: "Audrey, just swing up the sailors". (My name is not Audrey)
trissylegs
·2 เดือนที่ผ่านมา·discuss
Can also represent a register that has an effect reading it. Reading a memory mapped register can have side effects. Like memory mapped io on a UART will fetch the next byte to be read.
trissylegs
·11 เดือนที่ผ่านมา·discuss
It doesn't have very large standard library. It's just running on a different philosophy on not making the Standard Library "Batteries included". But I find you get less dependencies than npm. Not so many tiny left-pad like microlibraries.

The main cost of compile times is Generics. Rust generics use "Monomorphization" which generate different binary code for every use of a generic type.

serde leverages generics everywhere and it generates the serialization code for every type you make serializable. So when you use `serde_json::to_string(MyType::new())` it follows calls a code path just for serializing MyType to a json string.

The upshot: It's incredibly fast, there's a lot of inlining and other compiler optimisations that can used because of it. No runtime reflection (Which is how Go does a lot of it).

The downsides: Takes a long time to compile cause of all the extra it's generating. Also can inflate binary sizes at bit.

Other languages like Go mostly use run time reflection for Json. Rust doesn't have much runtime reflection so doing it here wouldn't be possible
trissylegs
·ปีที่แล้ว·discuss
I mean there is precedent: https://www.theguardian.com/commentisfree/2024/apr/10/amazon...
trissylegs
·ปีที่แล้ว·discuss
The developers of seL4 have been in funding hell for years. Most of their work was darpa research for remotely controlled drones. The US Military would very much like drones that can't be hacked.

Their current work is on LionsOS which is more towards greater adoptions: https://lionsos.org/
trissylegs
·2 ปีที่แล้ว·discuss
Also just other types of tabacco. Either untaxed loose leaf or cheap cigarettes from overseas.
trissylegs
·2 ปีที่แล้ว·discuss
Canva's api uses oauth2 but not OIDC.
trissylegs
·2 ปีที่แล้ว·discuss
PirateSoftware on twitch/youtube talks about his time at blizzard working on catching cheaters in WoW. Their methods are usually about figuring out how they're cheating and what behaviors cheaters follow.

Before overwatch they had years of experience catching cheaters in wow.
trissylegs
·2 ปีที่แล้ว·discuss
Maybe to stop idf or hamas soldiers posting videos of violence. There’s plenty of cases of that being posted to X. twitch being realtime would have a much harder time blocking or removing it
trissylegs
·2 ปีที่แล้ว·discuss
> yes I have the “resume” setting off

I'm not sure what this setting does. The amount of times mac will jsut reopen everything anyway is frustration. I go look up how to stop it and the answer is always "Turn off this setting you already have off".
trissylegs
·2 ปีที่แล้ว·discuss
More likely to break with names than address. Ran into too many headaches trying to get my name right everywhere.
trissylegs
·2 ปีที่แล้ว·discuss
Reminded me of: https://youtu.be/LdlLUogNYMw?si=0PZa-7PcAoIeuYdq&t=382

Here they show an app where you just make your order to your current location. Which I guess would make sense if Addresses are a mess, no address needed just a GPS location.
trissylegs
·2 ปีที่แล้ว·discuss
I had a couple issues for a Couple of days when I moved into my current places until the post office fixed it. We just brought a copy of the lease and they accepted that. Every address needs to be registered with Auspost pretty sure and a lot businesses look up in that if they're doing any kind of checks.

Google maps however: I was working on a tool to speed up filling addresses into a CRM using google autoccomplete/places, and basically found all the bugs I could just on my own address.

Autocomplete is just for suggestions as you type. Places API gives you distinct locations but you can take the id's from autocomplete and pass them to places to get full address info.

* Autocomplete and Places are not always in sync, so sometimes autocomplete gives you an place id that Places API no longer recognised and would 404. * Some place ids are sythesized, these usually work, but part of the address info is encoded in the ID and you can't guartee these id's will last. * My address would autocomplete "This Street East, Suburb" but the ID would give "This Street, East Suburb" a different street and suburb. * Any address with a Unit number: so every apartment building duplex etc, would Simple forget the Unit number on autocomplete. As google didn't a db of all the werid types of unit numbers we have in Australia it just accepted what you typed before the / (So there's different types of unit names: LOT, UNIT, SUITE etc but Australia post recommends only using this format: 5/2 where 5 is unit 2 is street number). Until you hit complete then it would just forget it. Then found it handles it even when the unit number isn't only digits. (eg 2a/21) * Completely confused if the address "Doesn't exist" yet. Our product was sometimes used for new buildings that wern't done yet and deliver address was for a street in a housing development. It got real confused then.

I could work around nearly all of these. But so many apps does it come up in that I have to fix or override (I've only ran into one site that refused to accept my address with a Google lookup).

Worst cases is however. Tried ordering meds through an app: it sends the script to a Chemist near you and orders through doordash. I can see on my order the correct address in the Chemist app. I get a call from the doordash guy saying there's no unit number and sure enough the doordash status page doesn't have the unit number (and the location marking is wrong, which I assume is related) A second time i order fast food through the companies website, as their menulog was disabled. And that also ended up on doordash and ran into the same probrlem (and the person just left the food at a random fire exit of my building)
trissylegs
·2 ปีที่แล้ว·discuss
CBOR does have indefinite length arrays, maps, byte strings and text strings : https://www.rfc-editor.org/rfc/rfc8949.html#name-indefinite-...
trissylegs
·2 ปีที่แล้ว·discuss
I think people will keep buying diamond jewelry with natural because it the product is sold as real/natural diamonds. Prestige is important for the high-end market and most of the price will be markup anyway. (Well diamonds are nearly all markup anyway).

Tiffany's isn't suddenly going to be cheaper.
trissylegs
·2 ปีที่แล้ว·discuss
No for PC heatsink, but in 3d printing heat is really important for the nozzel. And a company makes them with Polycrystaline Diamond, which is harder than normal diamond. The company needed it themselves as the carbon fibre filament they were using kept wearing out heads. They though "Why don't we make our own heads".

https://www.youtube.com/watch?v=96eFnTescoY
trissylegs
·2 ปีที่แล้ว·discuss
There's a similar bug in the Windows calculator. One of the buttons is about 1 pixel wider than the rest.
trissylegs
·2 ปีที่แล้ว·discuss
I just rember back when my internet was 512 kbps down and iTunes would have a minor bugfix update over >100 MB which would take over an hour.

I'd just not update iTunes ever.
trissylegs
·2 ปีที่แล้ว·discuss
Another frustrating behavior form Apple is:

* My macbook will leave bluetooth on while it's closed and asleep.

* My BT headphones will connect to my phone and laptop if they're both on me. (It supports 2 simultanous connections)

* If I play music or podcasts I can pause through the headphones

* If I try to play it again it the "Play" action goes the macbook. (Which is effectively off so nothing happens)

* I now cant play anything on my phone. Hitting play on the app will fail.

* If I open the macbook now it will open Apple Music

* Otherwise I can hit the play/pause on my headphones then hit play on my phone it will work again.

What a bizarre useless behaviour. Why not just turn bluetooth OFF when my laptop is asleep. (It will also remain connected to wifi hotspot prevent my phone from auto-disabling wifi hotspot which has caught me a few times)
trissylegs
·4 ปีที่แล้ว·discuss
I think Garriot said originally he stepped out of the fire instinctively. Then remembered "Wait I'm invincible I can stand in fire." Then proceeded to stand in the fire and die.

Which is kinda funny as it's become a meme about WoW players standing in fire and dying when they couldn't just moved. (To much frustration to healers)

https://wowpedia.fandom.com/wiki/Stay_out_of_the_fire