jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos-chat
obadz- has joined #nixos-chat
obadz has quit [Ping timeout: 260 seconds]
obadz- is now known as obadz
sir_guy_carleton has joined #nixos-chat
Ericson2314 has quit [Ping timeout: 276 seconds]
sir_guy_carleton has quit [Quit: WeeChat 2.0]
disasm has joined #nixos-chat
Lisanna_ has quit [Quit: Lisanna_]
Drakonis has joined #nixos-chat
lassulus_ has joined #nixos-chat
lassulus has quit [Ping timeout: 264 seconds]
lassulus_ is now known as lassulus
benkolera_ has joined #nixos-chat
benkolera has quit [*.net *.split]
capisce has quit [*.net *.split]
benkolera_ is now known as benkolera
Drakonis has quit [Remote host closed the connection]
Guanin_ has quit [Ping timeout: 252 seconds]
Guanin_ has joined #nixos-chat
<andi->
running nixos builds in gitlab ci wasn't my brightest idea.. 2GB of RAM on each of the runners used to be enough for everything. By including `pandoc` in the build I blew that limit.. Would be great if not everything that is downloaded must fit in RAM :/
<LnL>
wasn't that fixed?
<LnL>
only copy has memory issues now AFAIK
<andi->
I re-read some issues on GH just now. 2.1ish should have that fixed. Lets see what nix version is in that image I am using
<andi->
2.0.4. Guess it is time to update that then
<LnL>
yeah I think 2.1 also improved copy, but I'm pretty sure the rest is in 2.0.4
<gchristensen>
I should probably not have learned all the stuff I can do with the turbofish
<__monty__>
Awww, the random doesn't work in safari : (
<infinisil>
ldlework: I'm jealous, my ISP doesn't let me have a public ip
Myrl-saki has joined #nixos-chat
<infinisil>
I went through the trouble of being on the phone for like a total of 30 minutes, being forwarded about 6 times
<Myrl-saki>
infinisil: You just recently got IPv6, right?
<infinisil>
I ended up at some person high up, usually responsible for doing big contracts
<infinisil>
(nope)
<infinisil>
And he finally understood what a public ip was..
<clever>
lol
<Myrl-saki>
being (port) forwarded? :D
<infinisil>
And then told me that I can't have that, only small business can get that
<infinisil>
Hehe
<clever>
with my isp, about a week ago, the fiber service entirely died
<clever>
no internet, tv, or phone (or 911 service!)
<clever>
we called them up over the cellphone, and the first thing they asked was to unplug and replug the router
<Myrl-saki>
With my ISP, the fiber service doesn't exist(in my place) :x
<clever>
a: the router is not the problem
<infinisil>
clever: Lol
<clever>
b: i already did exactly that with the modem, before calling, it didnt help :P
<infinisil>
Well can't blame them, first line of defense
<infinisil>
Helps in probably 60% of instancens
<clever>
which is why i did it before calling :P
<clever>
then they ask for the model# of the modem, and get confused, until we give the model# of the router instead :P
* infinisil
doesn't know the difference anymore, but did at some point
<clever>
then they run out of ideas, claim there is no problem in the area, and schedule to send a tech out
<infinisil>
Oh, modem is the hardware, router is the thing that routes traffic, software usually
<clever>
about half an hour later, with no sign of the tech, the service just comes back online "by itself"
<Myrl-saki>
infinisil: One is a thingy, and the other is something that people often mispronounce.
<Myrl-saki>
Jokes aside.
<Myrl-saki>
Modem is to WAN, Router is to LAN, kinda
<ldlework>
infinisil: i have nixos now calling into noip.net to update a dynamic dns, and I have a subdomain on my real DNS name web redirecting to my dynamic one
<clever>
10 minutes after it "fixes itself", the tech calls to confirm its fixed, and reports that there was a local outage
<ldlework>
so now I have proper DNS pointing to my laptop at all times :)
<infinisil>
Gotta love tech support <3
<ldlework>
I am using that to be my own image/video/pastebin
<clever>
infinisil: in general, the modem is the device that converts between different media/protocols, and the router is what takes a single public ip, and creates a private lan to share it
<infinisil>
ldlework: I do too, even though I don't have a public ip :D
<clever>
infinisil: but some ISP's have jammed both devices into a single box to save costs :P
<ldlework>
infinisil: heh right
<infinisil>
(it's going through a server to get to my local machine)
<ldlework>
ah
<clever>
which complicates the question
<ldlework>
somehow i only have a router
<ldlework>
and no modem
<infinisil>
Huh
<Myrl-saki>
clever: I'm curious, how does a modem work without a router, like something that doesn't require port forwarding and all that shit.
<clever>
ldlework: what is on the WAN side of the router? an ethernet cord?
<ldlework>
yeah
<ldlework>
into the wall
<clever>
ah
<clever>
ldlework: apartment building or house?
<ldlework>
the router might have a modem but it is a netgear wireless thing so i'd be surprised
<ldlework>
apartment
<ldlework>
but i did buy the most expensive one
<ldlework>
oh yeah
<ldlework>
it does
<clever>
ldlework: there is probably a 2nd router, for the entire apartment building, with its own modem
<ldlework>
i specifically bought this one because comcast's modem was terrible
<clever>
Myrl-saki: with my ISP, if i plug a computer directly into the modem and run dhcp, i get a public ip
<ldlework>
maybe, but i remember now it does have a modem
<clever>
Myrl-saki: only one computer can do that, and it will ignore all other dhcp requests
<ldlework>
i remember our internet in SF was going out like multiple times a day just for a few minutes
<ldlework>
bought a router with its own modem and the problem went away
drakonis__ has joined #nixos-chat
<Myrl-saki>
clever: Ohhh okay.
<ldlework>
i remember we had to tell comcast about the modem bits
<Myrl-saki>
clever: How do you access the modem?
<ldlework>
i don't remember if I had to tell the new isp about it
<clever>
Myrl-saki: the modem is a box in my furnace room, with 1 fiber port, 2 phone ports, and 4 ethernet ports
<clever>
Myrl-saki: only 1 phone and 1 ethernet work at all
<Myrl-saki>
clever: I mean like, the modem settings.
<clever>
i suspect that its a combo modem+voip+router unit, but it lacks wifi, and the ISP neutered the firmware
<clever>
Myrl-saki: i cant access any config on that box
<Myrl-saki>
clever: Ah. Weird. :/
<Myrl-saki>
Oh yeah. I see what you mean.
<clever>
the ISP neutered the firmware, reducing it down to a dumb modem, and then slapped an external modem with wifi on the side
<Myrl-saki>
On our modem, we get to be able to manually tweak the protocol, etc..
<Myrl-saki>
(It's an off-the-shelf modem instead of one provided by the ISP.)
<Myrl-saki>
OTOH, even the one provided by the ISP allows it. THat's where I got the config for the off-the-shelf router.
<clever>
yeah, id expect an off-the-shelf one to have more flexibility, just so you can configure it to match your ISP
<joepie91>
that practically _screams_ "I'm malware"
<clever>
yeah
<joepie91>
let's have a look-see at what's inside...
<clever>
after 30 pages of safety warnings, i'm finaly at the index, lol
* Myrl-saki
waits for joepie91 has quit (Ping timeout: 264 seconds)
<joepie91>
haha
<joepie91>
nah
<joepie91>
I'm not going to install it :)
<joepie91>
anyway, all it does is redirect the 'new tab' page to http://search.funsafetabsearch.com with some seemingly randomly-generated(?) affiliate ID
<clever>
ah
<joepie91>
" "Secure Notes" widget enables you to write notes that can only be opened only using a password. "
<joepie91>
" * Note that we can not guarantee the notes safety in case of an attempt to hack it. "
<joepie91>
YES VERY USEFUL
<joepie91>
MUCH SECURE
<infinisil>
Lol
<Myrl-saki>
joepie91: They're the only one who'll be trying to hack it too. :P
<jD91mZM2>
joepie91: Lemme guess, plain text
<joepie91>
oh fun, obfuscated JS loaded on the page
<joepie91>
jD91mZM2: they claim AES
<joepie91>
emphasis on 'claim'
<joepie91>
it does use CryptoJS it seems
<jD91mZM2>
joepie91: For the password or for the content?
<joepie91>
content
<clever>
section 12-30 of the pdf in the above filebin, how to identify every bloody model!
* clever
drools
<joepie91>
anyway, I suspect this is hiding some cookie stuffing in the obfuscated JS
<clever>
dang, its just text descriptions of the features
<joepie91>
so not exactly outright malicious
<clever>
it looks like the hardware i have can support up to 2.488 Gb/s downstream, and 1.244 Gb/sec upstream!!
<clever>
1490 nm dosnstream, 1310 nm upstream
<clever>
single mode fiber
lassulus has quit [Ping timeout: 240 seconds]
<clever>
I-240G-U
<clever>
2 pots, 4 ethernet, 0 rf!
<clever>
the G states that the ethernet is gigabit
<clever>
I means its an indoor unit
lassulus has joined #nixos-chat
<gchristensen>
very interesting: "WARNING: These exhibits have been provided by the applicant. Exhibits filed in accordance with 47CFR 0.457(d) are not available. The FCC does not guarantee the exhibits displayed on this site are virus-free. It is strongly recommended that any computer viewing these images have virus-protection software installed. Proceed in viewing this exhibit?"
<clever>
section 4.1, my modem is running linux!
<Myrl-saki>
Imagine a modem running Windows.
<Myrl-saki>
Imagine if your modem requires a system update.
<Myrl-saki>
An uninterruptable system update.
<clever>
Myrl-saki: heh, a few pages back, it detailed some of the update procedure
<clever>
how it can do a passive download, that will not activate itself on restart
<clever>
and will only activate when the planned time occurs
<clever>
Myrl-saki: more like `nixops deploy --copy-only` plus a timer to auto-activate at a set time
<Myrl-saki>
A few years of using NixOS, and I still haven't used that command.
<Myrl-saki>
Anyways, time for me to sleep. Night everyone. ; ~ ;
<clever>
nn
clever has quit [Disconnected by services]
clever has joined #nixos-chat
<clever>
lol, i was going to comment on how my public ip is abnormaly static
<clever>
and it just changed, to an entirely different subnet
sir_guy_carleton has joined #nixos-chat
<infinisil>
Is there a way I can make the cabal new-style commands use nix dependencies?
<__monty__>
That'd be cool.
<disasm>
gchristensen, clever: PM your usernames on plex and I'll share my library :)
<gchristensen>
that doesn't sound legal ^.^
jD91mZM2 has quit [Ping timeout: 272 seconds]
<joepie91>
I mean, all of Plex is basically "we've wrapped it in enough disclaimers and subtleties that we could argue it to be legal, but realistically..."
<joepie91>
I'm surprised they haven't been sued yet
<clever>
yeah
<gchristensen>
everything I've put onto my plex is media I've purchased and ripped, which even that is a violation of the license of the media but is less bad I guess?
<clever>
i choose not to comment, lol
<infinisil>
__monty__: Yeah, not possible as of now from what I can understand
<LnL>
clever: same :p
<infinisil>
Oh wait
* clever
hides the 224gig mythbusters torrent, that has had all the garbage edited out
<infinisil>
__monty__: Actually, apparently just nix-shelling into a haskellPackages.callPackage's .env works
<infinisil>
Then cabal new-build
<clever>
infinisil: also of note, nix provides a cabal library, not a cabal executable
<clever>
infinisil: you must compile Setup.hs to get the cabal binary
<clever>
and if you just nix-env -iA a random cabal, i can cause problems down the road
<infinisil>
Huh, I've been using a systemwide cabal-install without problems though
<clever>
infinisil: i think it can cause problems if it gets too out of sync with the nixpkgs you used for the haskellPackages
<clever>
but if its in systemPackages and you always import <nixpkgs> they will remain in sync
<clever>
but thats not pure!!
<infinisil>
clever: Hmm yeah, so what do you recommend instead? Just add cabal to the nix-shell for the pinned nixpkgs?
<clever>
infinisil: compile Setup.hs to get a cabal binary
<infinisil>
Sooo, ghc Setup.hs??
<clever>
either `ghc Setup.hs -o Setup` and `./Setup new-build` or just `runhaskell Setup.hs new-build`
<__monty__>
Any disadvantages to sticking with Setup.hs v. cabal? I guess you don't get cabal init.
<infinisil>
clever: What's the advantage of that over just using cabal-install with the cabal binary?
<clever>
infinisil: the cabal binary will ignore any hooks the project added in Setup.hs, and there may be conflicts if the versions of ghc differ enough
* infinisil
never used Setup.hs for anything
<LnL>
I should find something to do some haskell again, the last time I built something new-build wasn't a thing yet I think
<infinisil>
clever: So I'll just keep using cabal, this Setup.hs seems kinda complicated and unnecessery, especially if I don't need it for my own projects
<infinisil>
Also, a default ghc doesn't have Distribution.Simple, so I'll have to add that too somehow
<infinisil>
s/I'll/I'd
<clever>
infinisil: the .env that nixpkgs provides always includes that
<clever>
2018-08-23 16:39:00 < clever> infinisil: also of note, nix provides a cabal library, not a cabal executable
<infinisil>
I am using that but I don't have it, hmm..
<infinisil>
I am using callCabal2nix if that matters
<clever>
*looks*
<LnL>
that's almost black magic
<clever>
[clever@amd-nixos:~/iohk/extra-statsd]$ nix-shell default.nix -A normal.env
<__monty__>
Tbh, it's kinda weird digital maps stick to the flat projections considering the major flaws they all have.
<gchristensen>
yea
__monty__ has quit [Quit: leaving]
drakonis__ has quit [Remote host closed the connection]
<gchristensen>
"We found a minor issue around integer handling when getting started with Dgraph: when Dgraph first encounters a new attribute on a record, it infers the schema for that attribute based on the submitted value. Notably, integers are inferred to be floats, which means that a user could write 0 without a schema, and when trying to read it back, obtain 0.0 instead. Large integer values which are not
<gchristensen>
representable as floats could be silently coerced to different values: 9007199254740993 becomes 9007199254740992.0. 27670116110564327426, at the upper end of the signed 64-bit integer range, comes back as 2.7670116110564327E19: 426 fewer." minor :$
<simpson>
I am planning to add in Kahan summation in order to be able to more gracefully decay in precision.
lassulus has joined #nixos-chat
tertle||eltret has joined #nixos-chat
<gchristensen>
hmm neat
<gchristensen>
I have a bunch of files and directories in a specific structure and I'd like to read it all in to a datastructure. is there a nice way to do this that isn't muddled by badly done graph code?