Show newer

I generally try to stay at least a stick's length away from front-end development since everything it touches turns to cancer. So it was today that I learned that TypeScript doesn't even support ignoring a specific error. You know, the feature that's been standard for the past ~30 years in every sensible compiler and linter.

Reason given by Microsoft? "Error codes do not add to expressiveness in a position like such." I'm sure ignoring everything to silence an unknown error is much more expressive.

github.com/microsoft/TypeScrip

@freemo @jasonetheridge it would be a beautiful world if meritocracy worked. Problem is, it doesn't. A test is likely to only make things worse since whoever gets into power will try to manipulate the test to favour their voters. Surely not a better solution than mandatory.

Besides, with a $20 penalty it's more of "encouraged" than "mandatory" lol. Just gives a reason to get off their asses and do their sole democratic obligation.

@freemo @jasonetheridge the thing is that it's not the well educated that want to vote the most. It's the radicals and overall maniacs, the people convinced The Bads are out to get them and they need to vote for The Goods no matter what. The less someone is fanatic about a party the less motivation they have to vote. It's like a variant of Dunning-Kruger, except on country-wide scale.

We had this problem in Poland for the past two elections. A shitty populist, conservative catholic and nationalistic party was doing more damage to our country over the past 8 years than any other government before it since the fall of socialism combined. (Including their previous ruling period many years ago.) We're talking nearly Hungary level of taking over all branches of government and media and shitting all over the legal system and public institutions. Because the "normal" people stayed at homes while the fanatic and plain stupid who believed their fear mongering and were getting bribed with their own money voted. We just this weekend had (hopefully, right now we just have exit polls results) a revolutionary election where they finally don't have a majority. Because the voter turnout was much higher then previously, because the people who up until now didn't bother to vote finally got fed up and showed up in droves to vote for the opposition.

It's beautiful, but it's sad that they needed that bad of a situation to finally do it. If we had mandatory voting, that shitshow might've never taken place.

Amikke boosted
Amikke boosted

The #CSAM clusterfuck just became even more shitty:

Dutch researcher Danny Mekić has looked at #advertising data from #Twitter & says that the @EU_Commission's #DGHome has used #SurveillanceAds based on prohibited data categories to target people with #disinformation about the #ChatControl proposal.

#YlvaJohansson's department specifically targeted people in member states that had been critical of her proposal but excluded people who are likely to value #privacy.

dannymekic.com/202310/undermin

@icedquinn huge rel. I sometimes use it for stupid shit like a single-threaded Fibonacci sequence calculator just cause I like it, but never have a reason to actually use it for something bigger. I don't think I've written multi-process Erlang code since I've been learning it, and that's most of the whole point of the language lol

@icedquinn tbh the EU has been taking massive W's until now, with GDPR and now DMA doing more for global netizens rights than… any other organisation or country since the advent of the Internet.

They do need to be kicked in the ass every time they attempt shit like this one tho, but in the past they've been kicked every time. (ACTA and whatever its second attempt was called come to mind.)

@VD15 @coolboymew @adiz the xbox OS is a virtualised abomination based on Windows Core, which is a slightly stripped down version of plain desktop Windows. You could probably run linux on it without issue if the system wasn't super locked-up precisely to prevent that.

@ZachWeinersmith in between Milk and Fresh cheese there's also curdled milk. Processed cheese might be the winner.

Amikke boosted
decompiling a compiled compiler so that I can debug a bug in the compiler that might be caused by a bug in the compiler's compiler

@wariat @xgqt@emacs.ch bardzo polecam przeznaczyć pendrive rzędu 4-8G na dyżurny LiveCD do naprawiania boota i tym podobnych :D Ja tak trzymam instalkę Linux Mint pomimo że sam Minta nie używałem od dawna.

Amikke boosted

Programming is like sitting on a swing going back and forth between

"I'm a coding genius"

and

"I'm the biggest idiot alive"

@xgqt@emacs.ch @wariat większość mojej wiedzy o bootloaderach wzięła się z psucia i naprawiania bootowania systemów "nie wymagających myślenia" jak *buntu xD W moim NixOS, który jest gdzieś pomiędzy kategoriami, cała konfiguracja ESP i bootloadera to:

```nix
# Use the systemd-boot EFI boot loader.
boot.loader.grub.enable = false;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
```

oraz

```nix
fileSystems."/boot" = {
device = "/dev/disk/by-partlabel/ESP";
};
```

@wariat @xgqt@emacs.ch aaaaa dobra czej, zapomniałem o jednej rzeczy, ja mam ESP zamontowane jako /boot, a /boot/EFI to folder wewnątrz niego przeznaczony na trzymanie wykonywalnych. Obok mam też folder `loader`, który zawiera instrukcje dla mojego systemd-boot. (Którego btw od dawna używam zamiast GRUBa i polecam jeśli planujesz bootować tylko przez UEFI, znacznie mniej problemów niż z tą starą krową.)

Jak ktoś nie ma zamontowanego ESP bezpośrednio pod /boot to zazwyczaj ma pod folderem typu /boot/efi, co czyni ścieżkę do folderu z wykonywalnymi niezbyt przyjaznym /boot/efi/EFI.

@wariat @xgqt@emacs.ch zapomniałem dołączyć screen zawartości mojego ESP. Kolejno wydaje mi się bootloader Windowsa (choć pamiętam że GRUB albo systemd-boot też czasem robił plik o takiej nazwie), bootloader systemd-boot oraz katalog z dwoma kernelami i ich initrd.

@wariat @xgqt@emacs.ch w katalogu EFI (dokładniej ESP, EFI System Partition) powinny być pliki .efi. Jeśli masz bootloadera to powinno być tam coś typu BOOT64.efi, jeśli masz kernel bootowany jako efistub to powinien tam być też sam kernel, jako że w takim wypadku UEFI jest w stanie go odpalić bezpośrednio bez potrzeby używania bootloadera. Jeśli masz dual boot z windowsem to będzie tam też jakiś folder z jego bootloaderem. Z tego co widzę z twojego screena, /dev/sda2 to najpewniej ESP.

Są dwa popularne sposoby ogarniania tego. Możesz zamontować ESP bezpośrednio jako /boot, dzięki czemu wszystkie kernele, intrd i co tam jeszcze będą dostępne z poziomu UEFI i nie ma problemu z kopiowaniem tych kerneli które chcesz bootować do /boot/EFI. Drugi sposób to właśnie zamontowanie ESP jako /boot/EFI, dzięki czemu ESP nie musi mieć dużo pojemności skoro będzie przechowywało wyłącznie ten kernel lub kilka które chcesz mieć możliwość bootować i opcjonalnie bootloader lub dwa. 1G to niedużo więc zgadywałbym opcję z /boot/EFI, ale najłatwiej to sprawdzić patrząc w /etc/fstab.

@xgqt@emacs.ch @wariat psst, efivars to zupełnie co innego niż ESP, to pierwsze to wewnętrzne zmienne EFI trzymane w firmware płyty głównej, to drugie to partycja systemowa która jest przeszukiwana pod kątem plików wykonywalnych efi.

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.