<siraben>
I have a file with 1 or 2 numbers per line (separated by a space)
<samueldr>
siraben: apply the dwm method, make the user re-compile your software with the right float in
<siraben>
lol
<samueldr>
hmm... are those functions locale-aware?
* samueldr
shivers
<gchristensen>
apply the kernighan method and use awk
<samueldr>
is your data set aware of locale-awareness? :)
<siraben>
samueldr: no
<siraben>
just standard floats
<samueldr>
"just" "standard" are words I hate to hear together
<samueldr>
but that's in no way helping you :)
<siraben>
like 1.5\n2.0 3.4\n etc
<siraben>
i guess i could read each line into a buffer
<gchristensen>
anyone want to play closest to the pin? counting the rows in a table with 132,000,000 rowstook 17 minutes. how long do you think it'll take to add a fairly simple index to a table with 164,000,000 rows on the same hardware?
<elvishjerricco>
I do really wish there was a consistent standard for theming all the things
<elvishjerricco>
Maybe I should just switch to vim and accept that firefox and terminal are the only UIs I need open at any time
<siraben>
pie_, samueldr: I ended up using fgets and strtof
<gchristensen>
here is some good sql, g'night: update jobsetevals set errorMsg = j.errorMsg, errorTime = j.errorTime from (select jobsets.errorMsg, jobsets.errorTime, jobsets.id as jobset_id, latesteval.id as eval_id from jobsets left join (select max(id) as id, project, jobset from jobsetevals group by project, jobset order by project, jobset) as latesteval on jobsets.name = latesteval.jobset and
<gchristensen>
jobsets.project = latesteval.project where latesteval.id is not null order by jobsets.id) as j where id = j.eval_id;
<infinisil>
Downloaded a new album, started the first song, it's pretty good
<infinisil>
But heck, it's super long
<infinisil>
Like, oddly long
<infinisil>
I think I've heard it, let's skip to the next one
<infinisil>
*skips*
<infinisil>
Same song plays
<infinisil>
Turns out I had single-repeat mode on!
<infinisil>
Argh!
<samueldr>
foiled by the computer doing exactly what it was told to do!
<lovesegfault>
and then using a 240mm rad from EKWB
Jackneill has quit [Ping timeout: 260 seconds]
<aterius>
Nice, I was looking into SFF, but I think I like having the space to work with/the better cooling
<aterius>
I'm debating getting an O11 or a Meshify 2 and setting up my first custom loop, I just hate the thought of committing myself to an extra ~400 dollars in upgrades/yearsly maintenance
<aterius>
* I'm debating getting an O11 or a Meshify 2 and setting up my first custom loop, I just hate the thought of committing myself to an extra ~400 dollars in upgrades/yearly maintenance
<lovesegfault>
Right, WC definitely comes with a lot of costs related to extra HW and the overall maintenance
<lovesegfault>
but, idk, it's fun :^)
<aterius>
I feel like it would just trigger my personality quirks. I still am seething at the small amount of thermal paste I dropped on my mobo when I swapped out the heatsink
<bbigras>
is wc 100% silent or there's still a fan for a radiator or something?
<aterius>
There's both a fan and a pump
<lovesegfault>
^
<aterius>
the d5 pumps are apparently pretty quiet though
* lovesegfault
nods
<aterius>
And the overall system noise can be lower since water absorbs the heat spikes without triggering the fans to rev up
<aterius>
Which is the biggest issue with the newer AMD processors
<aterius>
since they have insanely aggressive auto overclock
<bbigras>
nice. thanks
<lovesegfault>
I ordered my CPU & GPU blocks, as well as some fittings and tubing
<lovesegfault>
but no reservoir or pump yet
<lovesegfault>
I want to build the system, then take measurements to get one that'll fit
<lovesegfault>
b/c this case is _tight_
<aterius>
I really like the combined distro plates for the o11, they make everything look very clean
Jackneill has joined #nixos-chat
<bbigras>
distro plate? is it for the water?
<lovesegfault>
Yeah
<lovesegfault>
basically saves you a bunch of tubing
<bbigras>
oh nice
<bbigras>
I'm watching a video. I'm guessing it looks cleaner/prettier too with less tubing.
<lovesegfault>
easier to build, less fittings to buy, less failure points, looks cleaner
<lovesegfault>
distro plates are an overall win
<aterius>
Oh man now I'm on EKWB's website, what have you done
<lovesegfault>
:D
<lovesegfault>
they have an O11 reservoir/pump/plate combo that looks super sweet
<aterius>
I just don't like all the glass on the o11
<aterius>
My computer should be a black box, literally and metaphorically
<lovesegfault>
I mean, if you don't like tempered glass then lian li is the wrong case manufacturer for you :P
<lovesegfault>
they're all about glass
<lovesegfault>
you may want fractal design
<aterius>
Yeah that's why the meshify is my other choice haha
<aterius>
I think the layout of the lian li is superior
<aterius>
choices choices
<lovesegfault>
I mean if you want a Medium-size case you have a _wealth_ of options
<aterius>
believe me I've read all of the reviews
<pie_>
so what if i want to put together like a 10TB nas with mirroring or something
<pie_>
alt: can i put something decent together with 600$
<pie_>
that will last me a while
<pie_>
(hopefully thats overkill)
<lovesegfault>
You mean _all_ the hw under $600? including the computer and not just storage?
<pie_>
uh what about those magic enclosure things? :P (duh those are computers...)
<lovesegfault>
I do not know what a magic enclosure is
<lovesegfault>
well, not in this context
<pie_>
damnit i dont have anywhere left to stick drives...but i could swap the 3TB drives for bigger ones
<lovesegfault>
I could see someone referring to their drug storage box as their "magic enclosure" in a different context :P
<pie_>
pff
<pie_>
im always short of having a setup that i can make work for me decently :(
<bbigras>
one of my friend used to refer to his "drug storage box" as his "precious". even to his mom haha.
<lovesegfault>
lol
<pie_>
lovesegfault: how do those external drive enclosure things work
<pie_>
err im screwing up all my words
<lovesegfault>
I know what you're talking about
<pie_>
lets say i want to put 3 mirrored drives in a box
<lovesegfault>
traditionally they have a small board inside which converts USB to STA
<lovesegfault>
*SATA
<pie_>
i dont know how the computer side works because ive never looked at this hardware before
<lovesegfault>
I have an m.2 one that converts USB to m.2
<pie_>
i need to do something because the last thing i did was move a bunch of data over the network to my friends machine in another country because he had enough space for me to try to consolidate stuff a bit
<pie_>
im super f-ed up
endformationage has quit [Ping timeout: 240 seconds]
dragoncattt has joined #nixos-chat
dragoncattt has quit [Quit: Konversation terminated!]
waleee-cl has quit [Quit: Connection closed for inactivity]
<pie_>
nix script relative path handling is cool and good
<pie_>
its like the best part :P (this isnt a joke about the rest of it being bad)
<eyJhb>
srhb: Nets is so awesome. I have to make a payment, but they require me to signin using NemID to validate my purchase. So I sign in, and then I can either validate my purchase with NemID (already signed in???) or SMS. NemID requireds me to sign in again, and I get the same screen, still not validated, SMS doesn't work. I might kill someone.
<eyJhb>
^ just found out you are required to use their app, which doesn't work on rooted android phones.
<srhb>
eyJhb: If you do setup the sms code you should be able to avoid the app (though I quite like it, even though the non-root issue is problematic)
<srhb>
Lots of bugs in various 3ds applets though. I had the infinite loop issue way back before it was mandatory on every purchase too, and was bounced between Nets support and my bank.
<srhb>
Eventally I switched banks and now it works. (so good luck)
<eyJhb>
Yeah, currently sitting it up. My NemID login count is on 5 now I think...
<eyJhb>
setting*
<eyJhb>
But yeah, it is very problematic. Because it does not make any sense, to not allow it because of root. E.g. if your phone is rooted by someone else, you have more serious issues... E.g. MobilePay does not disallow using their app, for that reason (tl;dr of reason, you are screwed if some third party has rooted your phone)
<eyJhb>
And also as you note, having a SMS system doesn't seem that secure as a replacement... At least the piece of paper, is something I can only have in principle
<srhb>
It's about compliance with the new rules, and I think a text message is considered "good enough" as a second factor.
<srhb>
What's weird the 1st factor can (should?) also deviate from your regular NemID password.
<eyJhb>
Just seems weird, that the nemid paper, is NOT allowed, but if you use the nemid app, then it is allowed to use as verification.
<srhb>
I would guess that's a question of integration with 3ds etc.. But yes.
<eyJhb>
The really fun thing with nemid, is that it is case insensitive.
<eyJhb>
THat REALLY reduces the amount of chars in your password
<srhb>
Uh, what is?
<eyJhb>
complexity* YUP!
<eyJhb>
`Der skelnes ikke mellem store og små bogstaver. Tilladte specialtegn er: { } ! # " $ ’ % ^ & , * ( ) _ + - = : ; ? . og @.
<srhb>
Sigh, I'd erased that from my memory
<eyJhb>
I mean, why not? I guess it is for old people and their capslock
cosimone has joined #nixos-chat
ehmry has joined #nixos-chat
<pie_>
srhb: compliance dictates yuo cant have a rooted phone?
<pie_>
well thats fucked
<srhb>
pie_: Nono, I meant: Compliance dictates 2fa for all purchases online, and password/text message is sufficient to comply.
<pie_>
ok, just checking
<eyJhb>
pie_: stupid people say you can't have a rooted phone.
<eyJhb>
Next up, you are not allowed to be administrator on your computer
<pie_>
i have a bridge to sell you
<pie_>
:(
<Ke>
at least here GNU+people are allowed to have external 2fa devices by the banks that do not have standard sms 2fa
<Ke>
I guess some services may not be available
<eyJhb>
Ke: We ONLY have nemid. You cannot get anything else :p
<Ke>
norway?
<pie_>
anyone can be a minority if they use open source
<eyJhb>
Denmark Ke
<Ke>
at least here Danske bank at least allows you to have 2fa device
<Ke>
in Finland
<eyJhb>
Do you use that when you transfer money etc.?
cole-h has quit [Ping timeout: 264 seconds]
<Ke>
yes
<Ke>
in finland almost every serious authentication is also done with banking services
<Ke>
like taxes or healthcare
<srhb>
Technically it's the same thing here, but banks all used the same, government monopoly (yet private) ID thing.
<eyJhb>
^
<Ke>
finland also provides GNU compatible id cards, but those require you to have a card reader, and don't work in that many places afaik
<Ke>
also occasionally the open source implementation lags behind on the latest cards
<adisbladis>
Meanwhile in Sweden the online ID system is proprietary AF
<Ke>
it has browser plugins etc. so it can be used, can't remember the name of the standard
<eyJhb>
adisbladis: ehmm.. Same here! :D it really sucks.
<etu>
adisbladis: That pretty much enforce you to be a customer of Apple or Google, and you will have a hard time to do anything if you don't play along.
<adisbladis>
etu: I think there might be grounds for a lawsuit
<etu>
adisbladis: But they don't force you to use a specific vendor ;D
<etu>
adisbladis: You have a choice!
<Ke>
HST, eng FINEID were the terms, there is this site that explains how you can use your finnish id card for auth, only on finnish https://www.linux.fi/wiki/HST
<Ke>
not that having cheapest possible android phone is that much different from having a separate 2fa device
<adisbladis>
Especially now that you need enclaves to be android certified
<Ke>
just much bigger and costs a bit more, but it's not like they require security updates, right
<LinuxHackerman>
pfff security updates, what a thought
<Ke>
also here reportedly at least some time ago you could fool nordea app by renaming the su application, but maybe they have gotten smarter?
<adisbladis>
Ke: There's that (which I believe magisk has some builtin thingy for)
<adisbladis>
But I think rooting is disappearing with Safetynet becoming more important
<adisbladis>
Tbh, Android is almost proprietary at this point
<Ke>
yes, that's probably to be expected
<Ke>
linus.heckemann: well if you only use your phone for auth, you are probably safer than using maintained phone that you install malware from playstore on
<LinuxHackerman>
true
<talyz>
adisbladis: I think their way around that is that you're _technically_ not required to have a BankID
<talyz>
but yeah, good luck getting by without one
<eyJhb>
Thinking of writing once more, to complain about the rooting issue... They can really just sod off
<eyJhb>
Also talyz , I am coming to get you with the imperdendanceecececce <- however the hell it is spelled :p
<eyJhb>
talyz etu was there any impermanence channel? Or was -chat just used for discussing it?
<colemickens>
bbigras: I keep avoiding replying because I hope to get to it.
<colemickens>
bbigras: there was something that was came up that was less than 100% obvious how to solve it
<bbigras>
colemickens: gotcha. thanks. and sorry again. I might just buy one anyway. it's still usable without the upstream kernel.
<colemickens>
No need to apologise at all, I have talked about it a number of times, just too many things going on (despite trying really to not lean on that phrase as a crutch :/)
<bbigras>
yeah I'm guessing most of us must be very busy. there's so many cool thing to do and so little time.
{`-`} has joined #nixos-chat
<samueldr>
bbigras: apparently with the latest kernel (and latest u-boot), mainline defconfig boots
<samueldr>
I haven't taken the time to test yet
<samueldr>
that's from a report from a NixOS user
<eyJhb>
NixOS have been kinda toxic the last couple of days, not sure what is up...
<samueldr>
hm?
<eyJhb>
All the stuff over in #nixos-dev mostly
<samueldr>
toxic or negative? there is a difference that is often not considered
<eyJhb>
I would say both...
<samueldr>
hm
<energizer>
eyJhb: there was a lot of kerfuffle about the merges
<eyJhb>
^ to say the least. Didn't really feel like it was the best way to "take it". We worry about burnout with some devs, but it would be more likely with that tone, that they just stright up leave
<eyJhb>
straight* (there might be more)
<samueldr>
AFAIK it's a long-simmering issue where the person was made aware of the problems
<samueldr>
though can't say for sure
<samueldr>
but I feel that this is not a dicussion for the off-topic channel
<samueldr>
not trying to extinguish it though
<samueldr>
trying to move it where the right people are more likely to be; #nixos-chat is only a subset of members
<eyJhb>
Oh I am not up for a further discussion on it :p Just pointed it out, without anywhere to go with it. :D I don't follow #nixos-dev all the time, but I am sure someone is trying to do something.
<eyJhb>
Anyways, any suggestions for things I can watch while coding?
<samueldr>
uh... the screen?
<samueldr>
maybe your keyboard if you're one of those still
<eyJhb>
People do blindfolded speedruns, I do blindfolded coding
<samueldr>
(no offense)
<eyJhb>
Ontop of that, I add blindfolded support as well. Where I will ask questions and never look at what they reply.
<samueldr>
heh, you have fierce competition from actually-blind users :)
<eyJhb>
Do we actually have any blind devs?
<samueldr>
*we*, I'm not sure
<eyJhb>
I have not seen many blind devs in general, I assume they use STT? Speech to text?
<bbigras>
samueldr: thanks!
<samueldr>
eyJhb: text to speech
<samueldr>
eyJhb: (other way around)
<samueldr>
and from what I've seen, to speeds that are basically gibberish for your untrained ears
<eyJhb>
samueldr: Yeah, lets just say that I didn't forget that blind people still have hands.
<eyJhb>
Sounds cool, but it must really be a big change.
<philipp[m]>
eyJhb: My keyboard doesn't have any markings on it. Does that count?
<eyJhb>
Only if you close your eyes as well :p
<philipp[m]>
I think I can do that!
<philipp[m]>
Yep, working fine.
<eyJhb>
And then don't look at your program ever, but it runs and works :p
<eyJhb>
Arghhh! This systemd is screwing me over.
abathur has quit [Quit: abathur]
ixxie has joined #nixos-chat
cole-h has joined #nixos-chat
<ashkitten>
eyJhb: i have a friend who does use voice controls
<ashkitten>
they have wrist pain that makes it difficult to use a mouse and keyboard
<ashkitten>
the state of voice controls on linux is... not good
<ashkitten>
on windows, it's decent
<ashkitten>
on linux/wayland it's nonexistent afaik
<adisbladis>
The only decent thing I've tried is Dragon
<gchristensen>
same
<adisbladis>
I _hate_ to admit that :/
<gchristensen>
maybe it is okay to admit defeat when the deck is stacked against any competition to dragon
<joepie91>
patents?
<gchristensen>
and aggressive lawyers
<adisbladis>
gchristensen: This is exactly why I hate to admit that their software is pretty good
<ashkitten>
i was thinking of getting a tap strap for vr stuff though haven't done that yet
<etu>
ashkitten: That looks super cool, gonna look at that video properly some day
<etu>
I would love voice control, especially now when I work at home and not in an open landscape
<etu>
Open landscapes </3
<ashkitten>
anyway apparently talon works on linux now but only x11
<ashkitten>
or xwayland, i guess
<adisbladis>
etu: Get a nice shotgun mic and put it on your desk
<adisbladis>
I believe gchristensen may have some tips for a good one
<etu>
adisbladis: Hmm, I've been thinking about getting a better mic then the one in my headset:)
<etu>
But it's a big and complicated field for someone who don't know much about it.
<adisbladis>
ashkitten: oh damn
<adisbladis>
I think I used a very early prototype of that one
<adisbladis>
Or at least something very similar
<adisbladis>
If it was them they had a team of people popping over to Shenzhen for checking out factories
<adisbladis>
It looks like it's the same product
<gchristensen>
I've thought about using windows just for the dragon support
<ashkitten>
etu: my advice is look for someone with opinions about microphones and just get whatever they have as long as it's plug&play
<etu>
:D
<adisbladis>
gchristensen: I had it in a VM when I used it
<gchristensen>
me too
<etu>
ashkitten: That was my plan
<gchristensen>
it was a bit slow on the dell xps 9300 :P
<ashkitten>
gchristensen: are you gonna use talon to do nix dev now? :D
<adisbladis>
etu: Unless you have super specific requirements I'd get a modmic
<adisbladis>
They're decent enough and not too expensive
<gchristensen>
ashkitten: it freaks me out that talon gets root on the computer, is free, and is closed source
<ashkitten>
hmm yeah
<gchristensen>
I have used it before, though, in a namespace with no network
<ashkitten>
i don't remember if the dev was interested in open sourcing it at some point in the future or not
<gchristensen>
he says he can't b/c of some driver
<ashkitten>
huh
<gchristensen>
if I drop these two columns from this one table, which collectively hold about 30 bytes per row ... I'll prune >4G of data from thi stable
<samueldr>
TiL there's a SIGIOT
<samueldr>
and apparently software uses that
<samueldr>
*chef's kiss* builtins.currentTime
<colemickens>
impure! impure!
<gchristensen>
anyone know of a Python formatter which isn't black, and is also in nixpkgs?
<V>
what significance does hue have of a python formatter o.o
<V>
I still haven't read that post about "what colour is your function" or whatever the name was
<gchristensen>
lol
* samueldr
can't tell if shitpost or genuine
<samueldr>
10/10
<V>
oh, it's about sync/async
<V>
I'm still confused about the python formatter b/c it's definitely not related
<samueldr>
V: last discussions I was involved with AST based programming instead of crummy text-based formats didn't go well
<samueldr>
with foregone conclusions that "it will not happen"
<supersandro2000>
I am pretty sure I am wrong here but let me collect: Publishers want link tax, the websites are full of ads and tracking and a lot of articles are behind pay walls
<supersandro2000>
*lock articles
<V>
samueldr: who said it wouldn't? :(
<samueldr>
V: can't remember
<samueldr>
but it seems there's a cult around text-based file formats
<supersandro2000>
also publishers: you need to receive the paper news because we do not offer online only subscriptions
<V>
like did you come out of it with your opinion swayed or
<samueldr>
for years I firmly believe that text-based editing of code is archaïc and not dealing with this is a large mistake
<lunc>
what is it youre commenting about, supersandro2000?
<samueldr>
nope, I still think all text-based programming languages parsing is a trashy idea that should go away