<abathur>
not really sure what the right tack through is, `declare -xr PATH=` feels like a very Nix thing to do, to me, but I'm not sure how onerous patching scripts to comply will be :]
<gchristensen>
:D
<gchristensen>
abathur: I've been increasingly running programs with an empty PATH, and finding some too
<bqv>
429: Request was blocked due to exceeding usage of resource 'Concurrency' in namespace 'VSID'. For more information on why your request was blocked, see the topic "Rate limits" on the Microsoft Web site (https://go.microsoft.com/fwlink/?LinkId=823950).
<bqv>
o_O
<gchristensen>
?
<samueldr>
were you enumerating them all?
<bqv>
no i just opened my azure devops tab
<samueldr>
grave mistake
<bqv>
evidently!
<aleph->
Heh
<abathur>
uuid repos need an occasional refactor commit
<abathur>
not sure exactly what it does
<gchristensen>
=)
<gchristensen>
by all means
<gchristensen>
if you do send such a PR, link it here or I'll never see it
<abathur>
hehe
<abathur>
is this readme thing a beta feature y'all are opted into?
<abathur>
presumably; don't see anything different about the profiles for tazjin or samueldr
<gchristensen>
I think they're "a/b" testing
<bqv>
spoiler: a does not, in fact, divide b
<abathur>
drat
<abathur>
meanwhile, my activity feed hasn't loaded since I did something dumb like star nixpkgs or something I assume
<abathur>
and I've reported it to no avail
<abathur>
sorry, the "all activity" feed on my dash, not the feed of my activity
<bqv>
you want to loudly advertise your support for nixpkgs, huh
<aleph->
Heh
<bqv>
god these radio callers. one guy who had the GPRS beep noise loud behind him the entire call, and now this scottish guy who's practically *hissing* down the phone
<bqv>
and that's with me intentionally in a2dp mode to make the horrible noises less of a sensory nightmare
<samueldr>
A/B I guess because I didn't opt-in, only saw two person making username/username repos, looking at one, seeing their profile page, and turns out I'm on "that" side of the A/B test
<pie_>
MichaelRaskin: the tools in libdmtx are kind of meh, do you know any alternatives
<pie_>
well, for generating datamatrixes
<MichaelRaskin>
pie_: dunno, not sure what would you want to change about dmtxwrite. Well, there is also ZXing
<pie_>
theres a bunch of flags that are "not implemented", and dont see a way to get it to generate an image where 1px = one datamatrix pixel
<MichaelRaskin>
True, but I find these options exotic anyway
<MichaelRaskin>
-d1 works
<MichaelRaskin>
(I actually used -p too at some point, because I wanted to integrate into a vector graphic generation toolchain)
parsley936 has joined #nixos-chat
<pie_>
MichaelRaskin: oh so thats what d does
<pie_>
the man page doesnt explain much
<MichaelRaskin>
--help says: module size in pixels
<MichaelRaskin>
There are apriori around three interpretations
<MichaelRaskin>
But experiment clearly shows which one is correct
<pie_>
MichaelRaskin: any idea how to get rid of the white margins
<MichaelRaskin>
-m
<pie_>
nevermind its right there
<pie_>
sigh
<pie_>
thanks
__monty__ has joined #nixos-chat
<pie_>
it doesnt seem to like -m 0
<philipp[m]1>
I have been trolled by a bluetooth usb dongle.
<philipp[m]1>
Computer didn't boot at all any more, low memory corruption error in bios, some times, linux wouldn't boot the few times it came past. Whole package.
<philipp[m]1>
Of course I checked my ram and my msata drive before I saw that I forgot that dongle in an usb port.
FRidh has quit [Ping timeout: 246 seconds]
<srk>
haha, had something similar with rtl8 wifi dongle, caused kernel lockups randomly after few days
FRidh has joined #nixos-chat
<MichaelRaskin>
But how? Weird DMA?
<philipp[m]1>
That dongle has a mass storage and a NIC mode, I think it got confused itself and started sending mixed messages or something.
<philipp[m]1>
I guess I take that as a reminder not to stick untrusted usb devices anywhere and recheck my backup scheme.
<srk>
for me it was staging driver
<philipp[m]1>
I don't think that stick does anything that comes near DMA.
<philipp[m]1>
It usually doesn't take much to trip up a bios completely in my experience.
<philipp[m]1>
or uefi
<MichaelRaskin>
Well, if you sometimes can get to Linux but then you still fail to boot, and such a device can be made accidentally, this is a good description of the problem scale, sure
ixxie has quit [Quit: Lost terminal]
<__monty__>
Huh, TIL the inkscape irc channel isn't exactly friendly : /
waleee-cl has joined #nixos-chat
<MichaelRaskin>
Well, if there is indeed nothing already-existing and no documentation of this area of scriptint, it being helpful wouldn't help you anyway…
<pie_>
i wasted so much time on stupid numeric fiddling only to figure out i need to tell lpr what paper size to use, now things fit on the paper pixel perfectly
<pie_>
MichaelRaskin: ^
<pie_>
;_;
<pie_>
unrelated to the margin stuff earlier, now I had 1cm at the bottom of the page that i couldnt get filled no matter what i did
<pie_>
went plan b and looked at what was going on in the pdf viewer
<pie_>
pdf looked fine. tried to print from that while setting the settings to look right (no resize to fit, use a4, etc)
<pie_>
i kept having to tell myself the pritner is fine and a lot more accurate than you think.
<pie_>
as opposed to say...1cm of error over the course of a page
<pie_>
ok well now that i have that out of my system...
<MichaelRaskin>
Next step is to _scan_ the codes in a not too unreasonable way?
<MichaelRaskin>
(I have stories to tell, even though some of them are technically with QR-codes but it was not the key part)
<samueldr>
do tell
<pie_>
MichaelRaskin: well, my phone is kind of ok
<pie_>
MichaelRaskin: dnno about doing something fancy like encodign a url and having it open it to trigger something
<pie_>
also thats going to need a lot more characters and smaller codes, will have to see how that goes..
<pie_>
stories are good though
<pie_>
another thing that i maybe should not have done: sql stuff and a python cli (still wip)
<pie_>
im up to 430 lines and idk maybe 4 days of working on it_
<pie_>
?
<pie_>
i still need to add the accumulator and then i might have something usable
cole-h has joined #nixos-chat
<MichaelRaskin>
When I build a workflow on DMTX and smartphones, the phone side was actually Barcode Scanner
<pie_>
im using binary eye off fdroid
<MichaelRaskin>
Barcode Scanner is also on F-Droid, but I think Binry Eye should also have history & export
<pie_>
oh history is a neat idea i guess
<pie_>
oh yeah found it
<pie_>
"open unknown data with url"
<pie_>
interesting
<MichaelRaskin>
History & history export is basically what made it useful for data entry
<MichaelRaskin>
BTW, you can, for example, have a 2D code of a WiFi SSID/PSK
<MichaelRaskin>
To scan and connect automatically
AluisioASG has quit [Quit: No Ping reply in 180 seconds.]
AluisioASG has joined #nixos-chat
<philipp[m]1>
Really wondering why that feature isn't wider known.
<MichaelRaskin>
samueldr: well, one thing was when we gave people a full printout page to print and bring, and it turned out with underestimated the margins of some printers and the top row of a 2D code was cut off
<philipp[m]1>
I have a printout on my fridge for the guest wifi and everybody that comes by absolutely loves it and has never seen sth like ti before.
<MichaelRaskin>
Fortunately, unlike the typical 2D code scanning situation we knew the position of the code, plus or minus
<MichaelRaskin>
So I wrote some code to locate the code, check if the first row is cut off and repaint it…
<MichaelRaskin>
Another story was crazier
<pie_>
yeah i dont think ill be doing much data entry though, but idk
<pie_>
sitenote i probably shouldnt be rolling my own ...tool...for thig but idk what kind of thing to search for
<pie_>
namely my label and infromation manager stuff
<philipp[m]1>
Why not just increase the error correction margins? ^^
<MichaelRaskin>
BTW when we did large-ish scale smartphone data entry, we worked under half-scorched earth assumption (reliable electricity, scarce outlets but more than one in all key rooms, no Internet connection)
<pie_>
philipp[m]1: how does that work? read the code then copy paste?
<pie_>
or is there something like http:// but like..wifi://
<MichaelRaskin>
So we had an own access point and an own FTP server with us, people scanned the connection QR code with WIFI: payload, connected, then uploaded the scan history
<MichaelRaskin>
philipp[m]1: Well, such things surface _after_ a few thousands of people have already brought the printouts…
<MichaelRaskin>
Also, the top row cut off completely is very bad because it is used to determine the module size of the code
<MichaelRaskin>
Of course, we knew what is the code size in our case
<MichaelRaskin>
Which helped
drakonis has joined #nixos-chat
<MichaelRaskin>
samueldr: Another crazier story when we did not fully control any stage, neither the code choice (so we ended up with QR-code, which has worse tooling from recovery point of view), nor scanning
<MichaelRaskin>
They scanned B/W (fine) with auto-tuned threshold
<__monty__>
What's the difference between a QR code and a 2D code?
<MichaelRaskin>
Unfortunately, auto-tuning of threshold was sometimes set to be local (to supress non-uniform light effects in the feed-through scanner), and sometimes «local» was on a scale smaller than a single 2D code module
<MichaelRaskin>
__monty__: QR-code is _a_ 2D code (well, also a family, everything is a family), but it is more for scanning with smartphones. DataMatrix seems to be more industrial oriented, and more robust under some conditions
<MichaelRaskin>
So in the middle of a black module of the code, it looked around and tried to get a B:W threshold out of the neighbourhood. So the center of each module (and connection places between black modules) got recognised as white
<MichaelRaskin>
As you might guess, this is not exactly the way of capturing the 2D codes that the normal libraries expect
<MichaelRaskin>
So we had a pile of scans damaged like that…
<MichaelRaskin>
I eventually got the recovery code to a >90% success rate on this, but it needed some tricks
AluisioASG has quit [Read error: Connection reset by peer]
<MichaelRaskin>
But why waste density on parenthesis?
<MichaelRaskin>
And «id »
<pie_>
MichaelRaskin: dunno
bridge[evilred] has quit [Remote host closed the connection]
mog has quit [Ping timeout: 260 seconds]
cjpbirkbeck has joined #nixos-chat
<bqv>
I might try mercurial…
<__monty__>
Not the most exciting choice of alternative SCM.
slack1256 has joined #nixos-chat
<bqv>
There's exciting choices?
<__monty__>
Well darcs, pijul and fossil are definitely more interesting.
<tokudan>
__monty__, I've used fossil about ten years ago when I wasn't allowed to "install" any software on my company laptop and wanted some way to manage my scripts. very useful for that, as it includes a local webserver.
<tokudan>
it's basically just a single binary that you can use on windows
<eyJhb>
btw. gchristensen , about the DNS adblocker, it blocked for GeForce NOW login servers..
<eyJhb>
No clue why
<gchristensen>
hmm
<pie_>
i am very smart
<pie_>
instead of doing like books do and putting the labels in the outer corner, i put them next to the spine of the binder
<pie_>
oh well
<eyJhb>
But, I am logged in now. So, guess I will enable it again
<pie_>
now ill remember
<eyJhb>
But I have not figured out a good way, to make them stateless, in the form of channels etc. considering a git repo that will update at times
<eyJhb>
,locate bin hivexsh
<{^_^}>
Found in packages: hivex
<eyJhb>
Damn.. It...
<bqv>
__monty__: pijul looks interesting, but its even less used than hg, oof
<bqv>
Here I was trying to find a nice (self?)hosting solution that supports hg and git, with pijul thats hopeless
<__monty__>
bqv: It's the nix of VCSs : )
<__monty__>
Yeah, parts of the nest are closed source, right?
<gchristensen>
I don't think the nest is oss at all
<bqv>
Yeah its closed, and idk if theres a neat way to convert pijul to git, so I couldn't just mirror back to github
<bqv>
I'm interested to try it still, I guess
<gchristensen>
I understand a rewrite is in the works
<__monty__>
Yeah, behind closed doors to be be open sourced later, right?
<MichaelRaskin>
Apparently
<__monty__>
Such a foss-averse devteam seemingly.
<bqv>
That's sad
<gchristensen>
I mean, it is one person
<gchristensen>
have you never developed something on your laptop?
<__monty__>
It's only one person?
mog has joined #nixos-chat
<__monty__>
And I have but not for projects that have already been released.
<eyJhb>
Anyone ever used Navision Attain?
<MichaelRaskin>
It's not completely clear whether the rewrite is exactly the same project
<__monty__>
Is it a py3k all over again?
<gchristensen>
no ,py2 had adoption
<__monty__>
s/d/s
<gchristensen>
sorry, CVS (the revision control system) is more maintained than py2
<MichaelRaskin>
Doesn't matter for adoption; and as long as the latest RHEL release includes Py2…
<gchristensen>
anyway, I don't think it is fair to say Pierre is foss-averse
<__monty__>
There's plenty of supported py2 implementations.
<MichaelRaskin>
And arguably PyPy is a better Python implementation anyway
<__monty__>
Wouldn't going through git make you lose the benefits of patch-based version control?
<MichaelRaskin>
For mirroring to git (from Monotone in my case) I just commit snapshots at random moments (using a trivial script)
<MichaelRaskin>
It's not like git is suitable for keeping track of fine details of history anyway, and «whatever was there that month» gets preserved
<MichaelRaskin>
__monty__: there are many cases where people checkout the repository for rough week-based navigation
<MichaelRaskin>
«what's latest», «what was at the moment of release X»
<__monty__>
I assumed bqv wanted a self-hosting solution to collaborate.
<MichaelRaskin>
I think self-hosting for collaboration and git mirror for people wanting a quick checkout are two different tasks
<__monty__>
I agree they're different. And I assumed the former.
<gchristensen>
whatever + ssh is usually fine
<bqv>
__monty__: eh, i'm mainly thinking i'll migrate my nixos repo to something not git(hub), which means i'm not expecting incoming collaboration, just sharing
<__monty__>
Does mean you have to give people access though, gchristensen. A self-hosted forge might allow people to submit a PR without receiving explicit authorization.
<__monty__>
bqv: Ah, then dumping to git sounds like a fine solution.
<MichaelRaskin>
Everything that is not a part of running code sooner or later becomes a lie.
<gchristensen>
I wish I could just buy a digital copy of some movies, like independence day
<__monty__>
gchristensen: Buy a dvd and send it to a random stranger?
<gchristensen>
I do that often
<gchristensen>
(I keep the dvd...) but doesn't work for impulse gets
<__monty__>
I meant filling in a recipient address that's not yours.
<gchristensen>
eh?
<__monty__>
Depends on your morals whether that's "good enough" or not though.
<__monty__>
I'm assuming you want to pay for a movie because you're not ok with piracy but you also don't want to wait for and deal with physical disks?
<gchristensen>
right
<__monty__>
So, if you buy a physical copy but then "gift" it away. You don't have to deal with the physical copy and (depending on your morals) you can simply pirate a digital one.
<gchristensen>
ah, heh, not my favorite option :)
<MichaelRaskin>
(which will be a better UX than whatever any legal venue will provide inthe next ten years)
<eyJhb>
Who the hell made ethernet ports as wide as USB? :(
<gchristensen>
lol
<eyJhb>
No wonder it wouldn't work. But come on...
<MichaelRaskin>
I think it is the other way round
<MichaelRaskin>
Just in the sense of historical order
<eyJhb>
Either way, not fut
<eyJhb>
fun*
<eyJhb>
But yeah, I think you are right MichaelRaskin
<MichaelRaskin>
If USB was a bit wider, though, you could actually _break_ the Ethernet port in the process!
<eyJhb>
But then I KNOW something happened ;)
<ashkitten>
ethernet? like, with metal inside a wire?
cjpbirkbeck has quit [Quit: cjpbirkbeck]
<Valodim>
has anyone considered renaming "not-detected.nix" to something else?
<gchristensen>
ralph.nix is a nice name
<Valodim>
it really confused me when I looked through my first generated hardware-configuration.nix, and I still forget every once in a while what it even does
<Valodim>
I remember my first interaction was that I thought the "not-detected" bit indicated some kind of error state there, so I asked the guy on the nix table at CCC what it was and his answer was basically "no idea, that's always there, just ignore it"
<Valodim>
even looking at it now, I can't explain why it's even called that :)
<energizer>
that whole file is just hardware.enableRedistributableFirmware = lib.mkDefault true;, might as well just inline it
<energizer>
or even make it the default in nixos
<energizer>
i totally had the same experience "I thought the "not-detected" bit indicated some kind of error state"
<Valodim>
I think that was only even a thing because almost every other in config and hardware-config (except boilerplate maybe) made intuitive sense at first glance. and then that one didn't, and the shrugging long term nix user wasn't helpful either :P
<Valodim>
it came up for me just now because the nixflk repo says "remove that line, it can't be resolved with flakes", and I was like "oh yeah.... wait what did that one do again?"
parsley936 has quit [Remote host closed the connection]