gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
wildtrees_ has joined #nixos-chat
wildtrees has quit [Ping timeout: 268 seconds]
skrzyp has quit [Ping timeout: 240 seconds]
skrzyp has joined #nixos-chat
<gchristensen> I wonder how well it would work to have my laptop be a receiving email server, and having the public IP be tunneling the port's traffic to my machine.
<gchristensen> it is ~fairly up, and SMTP is store-and-forward anyway, so ... :)
<samueldr> I officially hate this idea
<gchristensen> good
<qyliss> I like it
<gchristensen> good
<qyliss> you basically get graylisting for free
<gchristensen> hah!
<gchristensen> okay actually laughing out loud
<qyliss> :)
<gchristensen> (and if you're really careful, you get remote shell access for free too ^.^)
<gchristensen> tilpner: good news, my laziness has had that bash script completely rewritten to python, a thing I figured out after trying to rebase my changes on to it
wildtrees_ has quit [Quit: Leaving]
<elvishjerricco> Finally finished A Clash of Kings. Bring it on, Red Wedding...
<infinisil> Wow, I just caught an extension wanting to sneak in some ads to make money..
<ashkitten> hmm it's really annoying to include random rust binaries in your environment
<ashkitten> like, i just want to be able to do `cargo install cargo-hf2` and not have it break when i update stuff because now the interpreter or libraries it linked to are gone
<infinisil> This is the extension for shaming: https://www.ratingpreviewforyoutube.com/
<infinisil> (reported it)
<thefloweringash> ashkitten: https://github.com/flyingcircusio/userscan might be useful (haven’t tried it myself)
<ashkitten> hmm yeah but i'd prefer if it was easier to build random cargo packages with nix instead
<evanjs> ashkitten: yeah I just add them to nixpkgs now lol
<evanjs> and it really isn't that bad, depending
<evanjs> depending on the dependencies you might only need the src and cargoSha256
<ashkitten> this particular thing doesn't have a Cargo.lock in the repo
<ashkitten> :/
<evanjs> Yeah I've had that before. Some packages just patch it in
<evanjs> see pkgs/development/tools/diesel-cli/default.nix for an example
<evanjs> they even have an update script :P
<evanjs> just ran into a similar issue trying to update cargo-geiger... the lockfile included in the last release wasn't up to date >_>
<evanjs> holy cow, that was easy
drakonis has quit [Quit: WeeChat 2.6]
Jackneill has joined #nixos-chat
__monty__ has joined #nixos-chat
<tilpner> gchristensen: Does your new script use smartctls --json flag? I don't know what stability guarentees are made regarding either, but I hope they'd at least keep that backwards-compatible
<__monty__> infinisil: Hmm, how do you do infix emphasis in commonmark? https://spec.commonmark.org/dingus/?text=infix_emph_asis
<joepie91> smartctl's --json flag isn't super useful, fwiw
<joepie91> you're still left text-parsing some stuff if you want all the data
<joepie91> though it still seems better than... lsblk's? JSON output
<tilpner> joepie91: How so, it looks fairly sensible to me?
<tilpner> At least the basic metrics are accessible with just a JSON parser
<tilpner> You may have to do some decoding for vendor-specific attributes, but that's not text parsing
waleee-cl has joined #nixos-chat
<joepie91> tilpner: eg `flags` attribute for SMART data
<gchristensen> tilpner: I have no idea
<gchristensen> joepie91: lsblk's output has been super helpful for me!
<gchristensen> what is not good for you?
<joepie91> gchristensen: hm, I may be misremembering which tool it was
<joepie91> ah I think it was the LVM tools that were really bad maybe?
<gchristensen> maybe
<gchristensen> I have spent many days with the output of lsblk --output-all --bytes --json --exclude 1,7,11,230
<sphalerite> lsblk -f is so much nicer thank blkid as well
__monty__ has quit [Quit: leaving]
waleee-cl has quit [Quit: Connection closed for inactivity]
psyanticy has joined #nixos-chat
<cransom> woo. that lsblk output is meaty.
<clever> p--S--S--- 1 28356 root 0 Dec 31 1969 /mnt/nix/store/hmpcvwls409kxkp7vw66njr8widwppn7-coreutils-8.31-armv7l-unknown-linux-gnueabihf/bin/cat
<clever> and this ls output is whack, lol
<cransom> it's like its also whispering to you.
endformationage has joined #nixos-chat
wildtrees has joined #nixos-chat
<infinisil> Just seen in the mailing list of a lecture: "One student reported a problem about printing the lecture notes. If you use the web-printing and print two pages per sheet, some of the symbols might be not printed clearly, e.g. "<=" may be become "<""
<infinisil> A web printer thing casually changing math formulas
<gchristensen> almost like that "can't print on tuesdays" bug somebody brought up a couple days ago
Jackneill has quit [Read error: Connection reset by peer]
waleee-cl has joined #nixos-chat
<gchristensen> ashkitten: https://twitter.com/grhmc/status/1222584635210772482 final results
* pie_[bnc] attempts to decipher
<samueldr> or those xerox copiers that changed values
<infinisil> > neoronym "neoronym"
<{^_^}> undefined variable 'neoronym' at (string):277:1
<infinisil> > numeronym "numeronym"
<{^_^}> "n7m"
<ashkitten> gchristensen: lol
<ashkitten> yeah
<ashkitten> ugh now i gotta solder some headers onto this board
<cransom> but soldering is fun. unless you have wires and contacts the size of a human hair. then not so fun.
<samueldr> I think "soldering is fun" is quite correlated with skill level, and how important the thing you solder to is
<ashkitten> i dont have any soldering skill
<ashkitten> lol
<samueldr> from my "none" to "some basic" I can tell you it probably can get better :)
<ashkitten> and my gf's desk area is such a mess i cant find half the soldering stuff :/
<cransom> but it's super fun when the item you have is expensive and you are dubious, and it works.
<samueldr> which reminds me, I did buy cheap DIY kits to solder as practice recently
<cransom> i'm floored that my spouse, who has no real electronics zeal, watches big clive and has gone to the dollar store several times recently and hacked up a string of battery powered led lights to be powered by usb. solder, resistors, heat shrink, the works.
<ashkitten> i'm trying to hack up a possibly futile project
<samueldr> cransom: it's arts and crafts, but with molten metal :D
<ashkitten> i have literally zero idea if it'll work
<ashkitten> but at least a trinket is useful for other things if i can't use it for this
<ashkitten> i'll be disappointed tho
<ashkitten> but honestly like, the further i go the more clear it's becoming that this is totally futile
<ashkitten> usb just has too much latency
<samueldr> are you trying to jack yourself into the matrix?
<ashkitten> i need microsecond response times and idk what bus on a modern machine i could even use for that
<cransom> should i be afraid to ask?
<ashkitten> implementing joybus
<ashkitten> which would be easy enough if i only cared about controller inputs but seemingly impossible if i want any kind of two way communication
<samueldr> I have a feeling this is not it https://www.google.com/maps/uv?hl=en&pb=!1s0x3397c9456dbbee2b%3A0x7156f38ddf75fc55!3m1!7e115!4s!15sCAQ
<samueldr> yeah, was about to link to that asking
<samueldr> you want to do something like [something] -> [computer] -> [gamecube] ?
<samueldr> (or n64)
<ashkitten> [computer] <-> [something] <-> [gamecube peripheral]
<ashkitten> which again, easy enough for controllers
<samueldr> ooh
<samueldr> GBA?
<ashkitten> yeah
<samueldr> nice!
<ashkitten> which is where the issues with two way communication come in
<samueldr> I can see
<samueldr> you'd need more smarts outside the computer I guess
<ashkitten> because it expects to be able to send a command and within about 3usec read a response
<ashkitten> sure, but what smarts? if i'm talking to an emulator all the smarts are on the computer
<samueldr> hmm
<samueldr> those are tight deadlines
<ashkitten> yeah
<samueldr> my actual knowledge is already stretched in this discussion, so I can't really recommend anyhing :(
<ashkitten> the only way i think i could do this is if i had dma with usec latency
<samueldr> curious if thunderbolt would, but at the same time, that's a cursed thought if I've had one
<samueldr> less cursed, but more twisted: firewire
<samueldr> not sure if the delays are better
<ashkitten> i wonder if there's any bus that's interrupt based that i could use instead to get better latency than usb's polling
<ashkitten> but that means bitbanging a second protocol and i'm already super limited on clock cycles
<ashkitten> i think the answer is gonna be "not on a modern machine"
<ashkitten> which sucks
<cransom> now into fpga territory?
<samueldr> unless the smarts of the emulator were in the fpga, the issue seems to be at the boundary layer between the computer and the device
<ashkitten> ^
<samueldr> like, how would that fpga be connected to the computer that the protocol respects the deadlines?
bitmapper has joined #nixos-chat
<ashkitten> fpga isn't necessary,
<ashkitten> i just need like
<ashkitten> idk
<ashkitten> it'd be kinda hacky but useful if there was a way to respond like "wait a bit for data" and have the gba spin on that for a bit
<ashkitten> i don't know enough about the protocol to know if that's a possibility though
<sphalerite> ashkitten: this sounds like an interesting project! What's your goal?
<sphalerite> ashkitten: ISTR projects that do that sort of thing via parallel ports, which I guess you're referring to with "not on a modern machine"?
bitmapper has quit [Remote host closed the connection]
<sphalerite> or maybe it was serial…
<sphalerite> I think modern boards still have serial ports? Just not exposed via D-SUB connectors?
<cransom> machines with parallel ports are still a thing for home CNC projects. i think thats the best timing you can get but no idea if it's still fast enough.
psyanticy has quit [Quit: Connection closed for inactivity]
nckx has quit [*.net *.split]
talyz has quit [*.net *.split]
nckx- has joined #nixos-chat
talyz has joined #nixos-chat
nckx- is now known as nckx
<colemickens> I'd pay $10/designer remove their ability to ever configure justified text again.
<gchristensen> lol
<gchristensen> colemickens++
<{^_^}> colemickens's karma got increased to 10
<samueldr> justified text only makes sense when it can actually be laid out properly, so in most cases yes, it's best not to use justified text, especially when digital
<colemickens> The page I'm looking at mixes them together too :)
<colemickens> OpenSK is written in Rust. USB Type A is so 2018 but still neat.
<gchristensen> oh cool
<samueldr> oh ~10$ with an MOQ of 1 is a good price
<gchristensen> whoa
<tilpner> gchristensen: I'm confused, how could you not know if the script you wrote passes --json?
<gchristensen> tilpner: is this about SMART?
<tilpner> You said you rewrote the smartmon script you linked, but then you didn't know if it passed --json to smartctl
<gchristensen> I didn't rewrite it, something much better happened. somebody else rewrote it :)
<tilpner> Oh!
<tilpner> It doesn't use --json :(
<gchristensen> oww
<pie_[bnc]> just because of the talk about docker or whatever it was last time;
<pie_[bnc]> https://www.reuters.com/article/us-usa-pentagon-f35/f-35-logistics-system-to-be-reinvented-and-renamed-official-says-idUSKBN1ZE00D "ODIN will be based in the cloud and designed to deliver data in near real time on aircraft and system performance under heightened cyber security provisions, Lord said. "
<gchristensen> "near real time" sounds good
<gchristensen> reminds me of "near miss" and "almost good enough"
<{^_^}> haskell/cabal#3567 (by ezyang, 3 years ago, open): You're awesome! We're giving you commit bits.
Jackneill has joined #nixos-chat
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #nixos-chat
Jackneill has quit [Remote host closed the connection]
waleee-cl has quit [Quit: Connection closed for inactivity]
drakonis has joined #nixos-chat
drakonis has quit [Quit: WeeChat 2.7]
* gchristensen should fix is config for warning: The option `services.redshift.latitude' defined in `/home/grahamc/projects/grahamc/nixos-config/devices/petunia/configuration.nix' has been changed to `location.latitude' that has a different type. Please read `location.latitude' documentation and update your configuration accordingly. already