@leftpaddotpy@hachyderm.io avatar

leftpaddotpy

@leftpaddotpy@hachyderm.io

purely dysfunctional programmer, soft and snuggly version; they/she.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

leftpaddotpy, to firefox
@leftpaddotpy@hachyderm.io avatar

Mastodon #psa: there's a post going around about #mozilla #firefox and the salary of the Mozilla Corporation CEO. This post is based on a blog post written by an openly transphobic fascist, Brian Lunduke, who has a beef with Mozilla for them treating trans employees like human beings.

It doesn't matter how true the material is; we must not take decisions based on information collated with such motives.

This is a moderation issue and it should be taken down but it's already been seen a lot.

leftpaddotpy, to random
@leftpaddotpy@hachyderm.io avatar

what if haskell was a jit language

leftpaddotpy, to random
@leftpaddotpy@hachyderm.io avatar

@regehr puts on haskell/rust hat hmmm so you might want an existential of some sort to erase the actual value of the type parameter, except here you actually do care what it is. could you solve this by parameterizing the function does_not_work over A's type parameter?

leftpaddotpy, to random
@leftpaddotpy@hachyderm.io avatar

girl are you the ipv4 address space because you seem completely exhausted

leftpaddotpy, to random
@leftpaddotpy@hachyderm.io avatar

nix is great because it forces your headmates to write down their exact modifications to the base operating system

leftpaddotpy, to NixOS
@leftpaddotpy@hachyderm.io avatar

Wrote a post on how to do reasonable pinning for non-flake configs using a simple shell script, npins, and nixos-rebuild. I also talk about how tools like nixos-rebuild and nix-channel are skeletons in our closet that we need to actually replace and deprecate as a community, to bring people up to modern practices.

https://jade.fyi/blog/pinning-nixos-with-npins/

#nix #nixos

leftpaddotpy, to random
@leftpaddotpy@hachyderm.io avatar

this is a very nicely comprehensive post about using Intel DCI closed chassis debugging (which is the thing where you can gay two Intel computers together with a USB A to A cable with no VBus pin and then you can debug everything up to and including SMM)

http://standa-note.blogspot.com/2021/03/debugging-system-with-dci-and-windbg.html

leftpaddotpy, to random
@leftpaddotpy@hachyderm.io avatar

the master's tools will never dismantle the master's house

  • Audrey Lorde
leftpaddotpy, to NixOS
@leftpaddotpy@hachyderm.io avatar

#nixlang is not #nixpkgs is not #nixos, but they are all #nix. this is immediately obvious to the most casual observer.

leftpaddotpy, to random
@leftpaddotpy@hachyderm.io avatar

microsoft windows is just a biblically accurate print driver

leftpaddotpy, to random
@leftpaddotpy@hachyderm.io avatar

did you know: Debian is a ship name. Ian divorced his wife since then, however.

leftpaddotpy, to random
@leftpaddotpy@hachyderm.io avatar

the latest @notjustbikes video exactly matches my experience going to Montreal: at every corner you run into an absolute atrocity of urban planning: from 40 second fixed timers on traffic signals to highways at random street corners, from the bus ticketing that doesn't allow interrupting trips to the buses that get stuck in traffic,

bro what the fuck is this place

I live in Vancouver, and the bike infrastructure here is a trashfire, the intercity rail is bested by a bus and still wtf is this.

no pedestrians sign above an open sewer for cars. i don't know what the sign is there for, it's on a sidewalk and there's a sheer drop over the railing so there's no conceivable place this could be saying not to go.
me giving the middle finger to a "fermé pour l'hiver" sign on a foot path down from a university on a hill to the metro station. it can be presumed that i may have walked down it illegally anyway but i can neither confirm nor deny that allegation. the only other path from there to the station was a road with no sidewalk. bro what the fuck.
image/jpeg

leftpaddotpy, to random
@leftpaddotpy@hachyderm.io avatar

Announcing Clipper: a TLS-transparent HTTP debugging tool for native applications. With Clipper, you can attach Chrome DevTools to most native applications performing HTTP requests, with any HTTP library, with no configuration.

This is done by sticking the app in a container, escrowing the keys using LD_PRELOAD tricks, intercepting the traffic of the container, then simply decrypting it.

You can read more on my blog: https://jade.fyi/blog/announcing-clipper/
Source code: https://github.com/lf-/clipper

video of chrome devtools on one side of the screen showing the live http requests being performed in a terminal on the other side of the screen

leftpaddotpy, to random
@leftpaddotpy@hachyderm.io avatar

fyi, if you do hexdump -C file | xxd -r, you will silently NOT get the same thing as file afterwards.

This is incredibly broken in such a dangerous way.

leftpaddotpy, to random
@leftpaddotpy@hachyderm.io avatar

i am speaking at #nixcon this Saturday about finding things in the nixpkgs sources.

leftpaddotpy, to random
@leftpaddotpy@hachyderm.io avatar

wow the signal usernames design is good actually:

  • username is exclusively an "adding you" thing
  • this is because they are one way of getting an invitation to chat with you
  • there's also randomized and resettable links that can be shared for this
  • usernames must always have discriminator numbers, which can be freely selected
  • usernames aren't shown to anyone you are in chats with
  • by default phone numbers are no longer shared with chats

this seems to have basically Fixed it

leftpaddotpy, to postgres
@leftpaddotpy@hachyderm.io avatar

good evening! do you use #gnu software of any description? #postgres? #zsh?

have you found the manuals annoying and hard to find things in, or telling you to go f-- err i mean read the info page?

consider using the single page builds of such reference manuals on https://docs.jade.fyi

they have nice CSS and no page splitting so you can simply hit ctrl f

leftpaddotpy, to random
@leftpaddotpy@hachyderm.io avatar

cursed feature of the day: git-archive can substitute things in tarballs, which can be used to include the commit hash or even tag (!) inside a file in a source tarball.

see export-subst in gitattributes(5)

leftpaddotpy, to random
@leftpaddotpy@hachyderm.io avatar

nix-repl> let __sub = a: b: "🥺"; in 1 - 2
"🥺"

#nix

leftpaddotpy, to random
@leftpaddotpy@hachyderm.io avatar

software engineering strategy: make the program crash and dump core cleanly and early.

fun fact: signed overflow can be made to crash 100% of the time in a substantive code base with nearly zero (gcc) to immeasurably low overhead (clang). and then you don't have to think about it doing unpredictable UB ever again.

simply pass: -fsanitize=signed-integer-overflow -fsanitize-undefined-trap-on-error to the compiler

in rust
[profile.release]
overflow-checks = true

leftpaddotpy, to NixOS
@leftpaddotpy@hachyderm.io avatar

over the course of the last few months, my views on have changed from "please don't give them any support" to "we need to eject them from the community as soon as possible".

their employees (multiple right wing trolls) have collectively wasted hundreds of hours of contributor time arguing about sponsorship rules to stop them driving people away, and have begun to be actively cited by people as reasons to leave the community in higher numbers than they ever brought.

leftpaddotpy, to NixOS
@leftpaddotpy@hachyderm.io avatar

A lot of the problems in the / community are fundamental, built into its culture, from toxic development culture to the two repeated military-industrial sponsorship situations.

The culture of undermining community authority, of acceptability of conflict of interest, of tolerating abusive behaviour, goes up to the very top of the organization, with Eelco Dolstra.

You can read an extensive summary of the issues and sign an open letter to the Foundation here:

https://save-nix-together.org/

leftpaddotpy, to random
@leftpaddotpy@hachyderm.io avatar

oh yeah the secret project I've been working on for two months, @lix_project, is finally in public preview. there's a fair number of rough edges in the website and infra remaining to fix but the software is rock solid.

thanks so much to the dozens of people who have been running main daily for several weeks and reporting the few remaining issues. at this point i would say it's just a stabler, faster, more user friendly #Nix 2.18.

if you want to try it out: https://lix.systems

leftpaddotpy, to javascript
@leftpaddotpy@hachyderm.io avatar

btw, i found a really cool book sized paper on the history of JavaScript about a year ago.

it goes from Netscape being like "oh no we need a language that people will actually use by virtue of not being Java" to "es4 fails twice" to "es5 and 6 actually ship"

the funniest part is that the flailing of es4 gets finally stopped ... by Microsoft ... out of anticompetitive behaviour since they thought it would eat the lunch of .NET by being too good.

https://dl.acm.org/doi/pdf/10.1145/3386327
#javascript

leftpaddotpy, to random
@leftpaddotpy@hachyderm.io avatar

@beka_valentine is the "one big polycule uwu" iww sticker openly licensed somewhere?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • tacticalgear
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • lostlight
  • All magazines