seang96

joined 1 year ago
[–] [email protected] 3 points 1 year ago

Wireless android auto has a huge difficulty connecting to my Subaru, it was co developed by Toyota and uses Toyota software though. 95% of the time I restart the head unit and toggle Bluetooth on my pixel they will connect though.

[–] [email protected] 5 points 1 year ago

They would need something like an A/B partition once it starts writing otherwise it's gonna be soft bricked. Car manufacturer programming are usually terrible so I doubt they have any solutions implemented lol

[–] [email protected] 1 points 1 year ago

I set mine up q couple months ago, but I remember having to configure caddy with the files under .well-known. Are you hosting any files under it? Are those files valid for the matrix setup?

[–] [email protected] 0 points 1 year ago

I got it set up with LDAP and a web front end to configure LDAP users. Works really nice. If only my services supported with with it.

[–] [email protected] 5 points 1 year ago

There is an experimental feature before 2.0 that makes a voice room an always on voice room so you join it without calling and can see people in it before joining.

[–] [email protected] 1 points 1 year ago

Now is there an ARR for books?

[–] [email protected] 7 points 1 year ago

I imagine thousands of pounds of unsecured load would be potentially dangerous for the driver and all other drivers on the road too.

[–] [email protected] 2 points 1 year ago (1 children)

Firefox gets the majority of it's funding from this though, depending on how the rule on this they could make Firefox lag behind without funding and make chromium even more of a monopoly.

[–] [email protected] 12 points 1 year ago* (last edited 1 year ago) (1 children)

The library used to read the line does the string length check, so my guess, whoever wrote it initially didn't know about it and tested with a small sunset of items without issue; I assume the games items grew in size over the years too. They also released an official patch with it and paid the modder $10k

Edit fixed typo

[–] [email protected] 33 points 1 year ago (3 children)

Found an article that details it again since it was a fun read at the time. Looks like it was 10MB json file and the method to read the lines used the expensive length function you mentioned. It also had other simple optimizations too.

[–] [email protected] 7 points 1 year ago

Yeah json actually sounds better. Unfortunately it's still a text file that they were importing the entire thing into memory. Probably worse than CSV since they were probably serializing each item from string into objects. They definitely did it in one of the most laziest ways possible though I bet it worked at the time of development and the vendors probably had very few items.

[–] [email protected] 65 points 1 year ago (7 children)

I believe it was a CSV file of every item in all of the shops (comma separated values) and it was being read and stored into memory single threaded so it was maxing out a single core on the CPU.

view more: ‹ prev next ›