<manveru>
gonna introduce it at work next week if all goes well :)
<manveru>
and then maybe also make some UI that actually uses JS for seeing realtime logs and status...
ekleog has quit [Quit: WeeChat 2.0]
ekleog has joined #nixos-chat
<pie_>
on no! not JS!
<pie_>
hm
<pie_>
i just got a crazy idea
<pie_>
im mostly doubtful but i wonder if you could use pure css
<sphalerite>
for realtime logs?
<pie_>
yeah
<pie_>
doesnt css sort of have a thing that sticks some html in somewhere if it matches?
<pie_>
i know like, nothing about web dev
<pie_>
:before, :after, and content apparently, or somethign like that
<pie_>
idk if it can actually insert html
<pie_>
so i wonder if you could use those to add sometihng that doesnt load (ehh, what happens with timeouts?) until there's new data, and the new data would have something in it that :after or whatever gets applied to
<pie_>
\o/ recursion
<pie_>
\o/ hax
<sphalerite>
hmmmm not sure
<pie_>
i doubt its possible but it would be funky if yes
<pie_>
something something css is not supposed to be javascript xD
<manveru>
lol
<manveru>
yeah... CSS is pretty much turing complete i think
<manveru>
but that's more like a bug than a feature
<manveru>
and i only use JS for enhancement, you can still hit refresh like a mad man if you prefer that...
<manveru>
but right now i'm pretty happy that i have only JS for progressive syntax highlighting
<pie_>
well its turing complete sure but thats not really useful
<pie_>
and i think that might need user interaction to run? nt sure
<manveru>
yeah
<manveru>
now i wonder if `nix log` is realtime...
<manveru>
brb :)
<pie_>
ok well not surprisingly, stuff like content: url("https://www.google.ca/"); doesnt really seem to work
d1rewolf has joined #nixos-chat
<d1rewolf>
and I'm here ;)
<pie_>
it /can/ load an image, but content: "<b> stuff </b>" doesnt work either so i dont think you can do recursion
<infinisil>
Hello there :)
FRidh has joined #nixos-chat
<pie_>
and i guess css would be handled in anoter context anyway otherwise i guess youd get accidental infinite recursions actually
<d1rewolf>
infinisil, so does compton require nvidia drivers to do what we've been discussing?
<d1rewolf>
(transparency)
<manveru>
hmm, nope :|
<infinisil>
well if you want to use opengl you need to have your graphics cards drivers
<infinisil>
But compton also can do everything on the CPU if you want that
<d1rewolf>
ok, so compton is really just for fancy graphics effects? Can I just launch compton from ~/.config/i3/config and copy manveru's compton.conf? ;)
<manveru>
pretty much, yeah
<manveru>
you can start/stop it anytime
<d1rewolf>
manveru, cool. I'll give that a shot. infinisil: after launching compton, do you use alacritty's opacity setting to get transparency?
<manveru>
of course you MUST enable it for screenshots :D
<sphalerite>
I wanted to try something
<infinisil>
d1rewolf: Nah, just compton --active-opacity (and co.)
<sphalerite>
alas, it almost seems like bash and socat aren't designed for writing web servers
<manveru>
lol
<infinisil>
sphalerite: lol
<pie_>
wait alacritty builds on nix now?
<d1rewolf>
manveru, you mean you must enable compton to be able to take screenshots, or are you saying simply that screenshots aren't worth taking unless you have a desktop worthy of runnning compton? ;-)
<manveru>
the latter
<infinisil>
pie_: Yup, for a while now actually
<d1rewolf>
pie_, yes
<pie_>
infinisil, wtf i swear i tried it again a week or two ago
* pie_
world implodes
<infinisil>
nixos-unstable?
<infinisil>
I think there was a point where it didn't build
<pie_>
well, ill try again
<pie_>
just alactritty off unstable should be fine?
<infinisil>
Totally
<infinisil>
I mean this is nix, unstable packages can't really mess up anything
<infinisil>
But yeah it works fine on unstable :2
<infinisil>
:)
<pie_>
yeah it was more a question of "wat do get running"
<manveru>
alacritty still panics for me :)
<infinisil>
manveru: Oh? graphics card related maybe?
<manveru>
hmm
<manveru>
probably
<manveru>
i'd have to do a rebuild with it i guess
<infinisil>
I mean this is Rust, so the error has to be in either Linux, the driver, or the GPU (or the CPU of course)
<infinisil>
xD
<pie_>
so...anywhere? :P
<pie_>
(ah, well ...not the program then? :P(
<infinisil>
Yeah lol
<sphalerite>
http://ix.io/1hY1 a bash-based web server for testing the behaviour of HTTP clients with gradually arriving data :p
<pie_>
now i dont even remember what i wanted alacritty for
<infinisil>
See whether it works?
jD91mZM2 has joined #nixos-chat
<sphalerite>
oh hi jD91mZM2
<sphalerite>
long time no see
<sphalerite>
,
<{^_^}>
All commands: -A IFD MCVE NUR arm ask bootfull callPackage channels cloudfront context dnw error escape" escape'' escape-special fancy-uninstall find github hardware help home-manager karma library locate logs luck nix-env-r nix-info nix-repl nixGL nixcon nixeval nixpkgsVersion not-os notfound outPath overlay override paste pills ping pinning pr profiling pure-eval replaceModule runtimeDeps stateVersion stuck tell thesis timer tofu unfree unstable w
<sphalerite>
infinisil: the list gets cut off now… >.>
<jD91mZM2>
sphalerite: Yep, I'm not logged into IRC too often. I really should make it automatically launch when I launch my computer
<sphalerite>
aaaah we should totally have done a little nixos sweden meetup
<sphalerite>
I've been visiting my family for the past 3 weeks
<infinisil>
sphalerite: Lol whoops
<infinisil>
,ping =
<{^_^}>
Undefined ping, was defined as: pong
<infinisil>
,MCVE
<{^_^}>
Create a Minimal Complete and Verifiable Example when you have a problem, it helps a lot with troubleshooting. How to: https://stackoverflow.com/help/mcve
<infinisil>
,MCVE =
<{^_^}>
Undefined MCVE, was defined as: Create a Minimal Complete and Verifiable Example when you have a problem, it helps a lot with troubleshooting. How to: https://stackoverflow.com/help/mcve
<infinisil>
,karma =
<{^_^}>
Undefined karma, was defined as: I track users karma points! Use "<nick>++" and I'll add one!
<sphalerite>
quality solution :p
<infinisil>
Issue solved! That was quick
<infinisil>
,
<{^_^}>
All commands: -A IFD NUR arm ask bootfull callPackage channels cloudfront context dnw error escape" escape'' escape-special fancy-uninstall find github hardware help home-manager library locate logs luck nix-env-r nix-info nix-repl nixGL nixcon nixeval nixpkgsVersion not-os notfound outPath overlay override paste pills pinning pr profiling pure-eval replaceModule runtimeDeps stateVersion stuck tell thesis timer tofu unfree unstable which-channel who
<sphalerite>
jD91mZM2: thing is I'm off to Germany on Monday >.>
<jD91mZM2>
Darn. You gotta come back soon!
<sphalerite>
I'll probably be back again for Christmas
<jD91mZM2>
NixOS Christmas Meetup:tm:
<jD91mZM2>
"Who needs family when you have internet friends"
<sphalerite>
xD
<infinisil>
jD91mZM2++
<{^_^}>
jD91mZM2's karma got increased to 0
<infinisil>
Hah
<jD91mZM2>
Btw I actually met up with etu when I was in stockholm. First time I ever met somebody from the internet IRL
<sphalerite>
nice
<sphalerite>
whereabouts are you normally?
<jD91mZM2>
More... north. Won't go into details, my parents would brutally murder me so nobody from the internet would have the tiniest chance to murder me first
<sphalerite>
haha ok so middle of nowhere
<sphalerite>
:p
<sphalerite>
my family lives just outside Göteborg, so pretty far
<jD91mZM2>
Because of course everybody you know IRL are super nice and everybody on the internet are murderers... even though the statistics say the opposite
<sphalerite>
lol
<jD91mZM2>
I should let you know next time my family goes to liseberg :P
<sphalerite>
:D
<sphalerite>
infinisil: how do you store the factoids?
<infinisil>
sphalerite: In a file through Haskell's default Show/Read encoding
<samueldr>
» Each of these files will be dlopened by Nix, allowing them to affect execution through static initialization. In particular, these plugins may construct static instances of RegisterPrimOp to add new primops or constants to the expression language, RegisterStoreImplementation to add new store implementations, RegisterCommand to add new subcommands to the nix command, and RegisterSetting to add new nix config settings. See the constructors
<samueldr>
for those types for more details.
<samueldr>
so I think there's more than "just nix commands"
<samueldr>
oh, "just builtins"
<samueldr>
looks like there's 4 hooks right now
<manveru>
yeah...
<samueldr>
so it's probably not out of reach to add *something* as a hook to allow deeper instrumentation of the daemons?
<manveru>
well, ideally you'd talk with the deamon directly
<manveru>
it has a socket to talk with it :)
<manveru>
i'm sure eelco wouldn't mind a PR like that
<andi->
Mixing `nix-build` with `cargo build` during development can lead to "nice" issues. I filled up my disk with 400GB of "garbage" during the week m(
FRidh has quit [Quit: Konversation terminated!]
<etu>
jD91mZM2: Yeah, it was nice having you there:)
<etu>
I've been toying with the idea of a "NixOS Stockholm" group
<jD91mZM2>
If only one could travel to Stockholm just like that :P
<jD91mZM2>
I'm sure the scientists would love to invent teleportation, if they weren't stuck debugging xorg drivers
<jD91mZM2>
Anyway, I'm off to bed, see you!
jD91mZM2 has quit [Quit: WeeChat 2.0]
__monty__ has joined #nixos-chat
{`-`} has joined #nixos-chat
<sphalerite>
samueldr: manveru: clever only gets highlights for when the name appears at the beginning of the message because people often talk about things being clever without meaning him :p
<sphalerite>
iirc
<manveru>
good to know :)
<manveru>
i've avoided saying it ...
<samueldr>
I knew, sphalerite, which is why I avoided prefixing it :)
<sphalerite>
:D
<samueldr>
he who's name shall not be spoken
<sphalerite>
he whose name shall not be used at the beginning of a message
<sphalerite>
manveru: is that just an artist being creative with unicode, or a bug? :p
<manveru>
just the artist :)
<sphalerite>
heh
<samueldr>
not easy to google
<sphalerite>
not the best for visibility or spreading via word-of-mouth
<sphalerite>
or *anything* other than automated recommendations really I guess xD
<manveru>
i'll just call him unicode
<sphalerite>
so apparently taxes in Germany are wtf… :|
<manveru>
jup :|
<sphalerite>
bleh well I guess maybe I'll miss some things about the UK after all
<sphalerite>
so Germany was modeled after the USA in many ways xD
<sphalerite>
(I've heard US taxes are insane as well)
<samueldr>
hmm, don't know how it is anywhere else really :/
<sphalerite>
from my experience in the UK: It's not super simple, but it is manageable.
<samueldr>
fun thing: since the legally binding code for tax here in this province is in french only, most tax software (and payroll, anything financial really) coming from abroad simply skip the province
<andi->
well the german taxes also come with a lot of securities compared to the US..
<sphalerite>
andi-: insane in complexity, not amount, I mean
<andi->
ahh
<andi->
yeah
Jason_Grossman has joined #nixos-chat
__monty__ has quit [Quit: leaving]
nh2 has joined #nixos-chat
<infinisil>
nh2: That does sound pretty interesting indeed, I would like to work remotely with something Nix & Haskell after ETH
<infinisil>
s/like/love
<nh2>
infinisil: then the HaskellerZ meetup and ZuriHac are probably the two best events on the planet for you
epta has joined #nixos-chat
<infinisil>
Never been to those, but heard lots about ZuriHac
<infinisil>
Well I only got into Nix and Haskell about 1/2 years ago
<infinisil>
nh2: How long are you in this field?
<infinisil>
s/are you/have you been
<nh2>
infinisil: started Haskell in first year university (4 years in there), started working in a remote Haskell job from directly after until now (3.5 years)
<nh2>
infinisil: I have a consultancy and my biggest client is FP Complete
<nh2>
infinisil: the original organiser of both events, Simon, works for DigitalAsset (they use Haskell and nix), and there are also multiple Tweag guys at the meetup (they use Haskell and nix)
<nh2>
and they are all very nice people
<infinisil>
Whoa, you started working a half year after learning Haskell :o
<infinisil>
I feel like my Haskell skills are still in the infantry
<nh2>
infinisil: no no, those two time periods are one after the other
<nh2>
first 4 years of uni, then 3.5 years of work
<infinisil>
Ohh I see
<sphalerite>
infinisil: infancy ;)
<infinisil>
Haha whoops
<infinisil>
Damn words
<nh2>
using Haskell in short-range combat :D
<infinisil>
I'll make a not in my calendar for the event, I may or may not end up going
<nh2>
infinisil: if you're around the end of your studies, I recommend try to pimp up your grades as much as possible in the remaining time, then spend a couple months pimping up practical Haskell XP points, and then go straight for the Haskell job :D It's really nice working with tech you like
<nh2>
infinisil: OK great, hopefully see you there!
<nh2>
remind me of the pizza or beverage :D
<infinisil>
Well.. The grades will be a problem
<infinisil>
I suck at learning, a lot, so I ended up just barely making it through these 3 years
<infinisil>
My passion for Nix and Haskell is so deep that I always end up doing that instead of what I'm supposed to be doing
<infinisil>
Including now lol, am writing a small packaging system for futhark (which is written in Haskell) in Nix
<infinisil>
Even though I'm supposed to be learning for the tests starting in 2 weeks
<nh2>
infinisil: ah good to know, then I recommend you to stop that *right now* and focus on your tests, because chances are very high you will use Haskell and nix for the next 10 years anyway!
<infinisil>
But but but
<lassulus>
procrastionation
<nh2>
infinisil: most employers in this space don't really care about your grades as long as you can build good stuff (I work with some people who didn't go to university and they are experts), but you still want to extract as many uni points as possible in the time you have left to be happy with yourself and in case you want to in the future work at some weird place that cares about marks
<infinisil>
I *really* need to get this done, my actions might decide on Nix being used as Futharks future package manager!
<infinisil>
nh2: Makes sense..
<simpson>
nh2: This is important IMO; languages like Futhark and Monte are trying to use Nix as their *only* package manager.
<simpson>
infinisil: If you care about university, you might as well care all the way about university.
<infinisil>
Heh yiss
<infinisil>
Aw
<infinisil>
Okay I'm almost done anyways
<sphalerite>
FWIW I graduated just over a month ago
<sphalerite>
I was a bit disappointed with my results, though not surprised
<lassulus>
yeah, you can make out a career without marks/careeer(like me), but while you are at it, make it as good as it can get :D
<sphalerite>
first 3 years I did great
<joepie91>
infinisil: keep in mind that poor grades doesn't mean you're bad at learning, at all :)
<sphalerite>
this year I just kind of lost motivation
<joepie91>
there's considerable distance between 'learning' and 'what you do in educational institutions', even unis
<nh2>
infinisil: do it afterwards, futhark is new and big efforts never run away
<sphalerite>
I don't think my results will matter much. But I still feel a bit bad for not having done far better, as I certainly had the capacity to.
<sphalerite>
I don't reaaaally regret it either though, because I didn't exactly spend all that time slacking off playing games or whatever, I did make valuable use of the time. But still. And I think I let my project supervisor down a bit.
<nh2>
infinisil: I was also pretty Haskell-obsessed in my last year of uni but when the finish line was in sight I managed to put it aside, put in some extra efforts for my final exams and reaped good cost-benefit from it. And all the cool Haskell problems I wanted to solve were still there afterwards
<infinisil>
Yeah I know.. Maaan
<infinisil>
Okay I'll work on this for 1 more hour and if I don't finish until then I'll start doing stuff for uni
<simpson>
Counterpoint: I dropped out to have a career. It wasn't very healthy for me, but CLV.
<simpson>
Also I'm not a great student. If you can study well, then maybe university's worth the cost.
<joepie91>
I also dropped out (of highschool!) to have a career, really :P though for more flexible definitions of 'career'
<joepie91>
for me it was mostly a matter of "I'm wasting my time here, I'm spending 90% of my time on stuff I really don't give a damn about, I could spend that time much better learning about the stuff I *do* care about"
<joepie91>
which was my primary occuption, both from a paid-work and from an activist perspective
<nh2>
I think that's reasonable and I've met many drop-outs (from both uni and high school) that are excellent programmers now. But when you're already 95% done, mgiht as well do the last 5% as well as possible
<joepie91>
I mean, I dropped out halfway through my last highschool year
<infinisil>
I have 4 tests this semester, 2 of them I have to succeed in or else I'm out..
<joepie91>
then again, highschool has a higher percentage of nonsense
<joepie91>
(than uni)
<infinisil>
They're not hard subjects actually, I just didn't learn anything last year for them
<joepie91>
so it's probably less worth it in uni (or not at all, depending on situation)
<nh2>
infinisil: look I'll provide some more motivation if you like. I know a guy who can print really nice t-shirts in Zurich. If when you're done you can tell me straight face that you made the best of your efforts in the next couple weeks and put the luring nix+Haskell stuff aside, you shall be awareded a custom nix and/or Haskell shirt. Independent on whether you pass or not.
<nh2>
deal?
<infinisil>
Damnit..
<infinisil>
nh2: Deal!
<nh2>
excellent!
<infinisil>
How are you so convincing!
<sphalerite>
nh2++
<{^_^}>
nh2's karma got increased to 1
<sphalerite>
that's got to be worth some real karma :p
<infinisil>
I wish I did a git init earlier lol, then I could just revert to a previous working state
<sphalerite>
frequent zfs snapshots to the rescue?
<infinisil>
Oh heh, yes actually
<infinisil>
But I just remembered that I committed once with usable work :)
<infinisil>
I'll push it and finish it like that, doesn't need to be perfect
<sphalerite>
hoooooooly crap one of the ghcs finished building
<sphalerite>
after about 55h
<manveru>
how do they keep making it ever slower to compile?
<dmc>
ingenuity
<manveru>
like, is it bootstrapping itself from primordial goo?
<manveru>
at least i understand why haskell folks like nix :)