<bqv>
sphalerite: I got an acer r11, it seems silly to keep both
<genevino>
pie_: well most often the companies i've seen that consider theirselves "agile" didn't seem like companies that care about the afterlife of someone's position.
<energizer>
is there a cli tool that'll play musical notes like `play-note A4`
<cole-h>
Shouldn't be too hard to program, if it doesn't exist, considering all those notes are at a specified Hz (AFAIR)
noonien has quit [Quit: Connection closed for inactivity]
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-chat
<infinisil>
energizer: Not a CLI, but I know that pulseeffects can play sine waves by frequency
<energizer>
`ffmpeg -f lavfi -i "sine=frequency=110:duration=5" out.wav` is getting there
<infinisil>
Nice
<samueldr>
neat, it took me 50 minutes to make a new port for a device (with a known SoC, so easier) with the new tool I spent the whole afternoon writing to help porting
<cole-h>
samueldr++ Congrats! :D
<{^_^}>
samueldr's karma got increased to 274
<samueldr>
in theory, it should help a user to get started on a port when another device has the same SoC
<samueldr>
(because you can compare the kernel config)
<samueldr>
though I sure am cheating with the amount of prior knowledge I have
<aleph->
Neat, what tool/soc?
<samueldr>
SoC, really not specific, just helps because generally the OEM are starting from the same tree as any other OEM for the same SoC
<samueldr>
so they share quirks
<samueldr>
tool: yet to be published, working on that
<colemickens1>
(maybe was already posted here or in aarch64)
<samueldr>
colemickens1: you grew a 1
<colemickens1>
gross
colemickens1 is now known as colemckens
colemckens is now known as colemickens
<samueldr>
heh
<samueldr>
yeah, saw that, and since I'm not _developing_ the kernel on the pinephone I don't feel this is directed _at_ me, but still I'm concerned and was already working on rebasing on megi's work
<samueldr>
since it works great
Jackneill has quit [Ping timeout: 256 seconds]
Jackneill has joined #nixos-chat
cole-h has quit [Ping timeout: 240 seconds]
<eyJhb>
*sigh* having to tell people not to sit next to you in a lecture is harsh, even if just following guidelines from the University
V has quit [Quit: V]
<eyJhb>
etu tazjin Do you guys use Fish + tmpfs?
V has joined #nixos-chat
<etu>
eyJhb: yes
<eyJhb>
How have you made your history persistent?
<etu>
symlink
<eyJhb>
By just having a fish_history?
<eyJhb>
I keep getting file is in the way in many of my builds when doing that
<eyJhb>
Hoping it sticks now! Hoped you had some awesome techy OP method etu ;)
<etu>
eyJhb: .local/share/fish
<eyJhb>
Just the whole folder?
<eyJhb>
You are a mad man etu ! :o
<etu>
:D
<etu>
So much state!
<eyJhb>
Did you hear about my NOEXEC / adventure? With /nix being the exception?
<eyJhb>
:p
<etu>
eyJhb: Nope
<eyJhb>
Things are broken. Atm. Ranger + Dropbox does not work :p
<eyJhb>
Or rather, he did it and I followed. I didn't really think and / NOEXEC was a sideeffect of not thinking that it affected my $HOME
<talyz>
eyJhb: I bind mount the .local/share/fish dir (with impermanence ;) which works well as long as it's done early enough on boot
tilpner has joined #nixos-chat
__monty__ has joined #nixos-chat
<genevino>
energizer: there's "bashtuner", "tuneroid" and "tunescope".
cjpbirkb1 has joined #nixos-chat
cjpbirkbeck has quit [Ping timeout: 240 seconds]
cjpbirkb1 has quit [Quit: Goodbye, take care]
waleee-cl has joined #nixos-chat
<bqv>
those of you who have linux phones, what is it about them that everyone says they're not usable as daily drivers?
<bqv>
cause I've just got a pinephone and it's awesome
<bqv>
and i'm trying to think of reasons why it isn't awesome
<abathur>
energizer: I saw your musical note question yesterday and it triggered nothing, but I saw it again this morning and thought there's probably tool in the livecoding community that either already does this, or could be wired up to? (but I'm not personally familiar w/ their toolchains...)
<bqv>
i'm drawing blanks
<bqv>
lack of apps, maybe, but as long as there's *something* for most use-cases, it's no worse than windows vs linux
<eyJhb>
bqv: the ones I have heard cannot receive calls, etc.
<eyJhb>
ALSO! What do y'all use for sound on your systems? Like for automatically swiching between different inputs? E.g. on each boot in my docking station, I have to chose audio out from my Laptop instead of dock
<bqv>
eyJhb: that would definitely be a dealbreaker... I think mine can, though? I haven't put a sim in yet, maybe i should, to test
<eyJhb>
Go go bqv
<bqv>
slowness could be a good reason, too, tbh, but i could live with that
<bqv>
for the bonus of having straight up linux, and no google, and open firmware
<eyJhb>
Do you hate Google enough to remove it from some software where I really need it removed bqv ? <3
<eyJhb>
,locate bin nc
<{^_^}>
Found in packages: nedit, toybox, busybox, netcat-gnu, libressl.nc, libressl_2_9.nc
<bqv>
eyJhb: remove it?
<bqv>
i mean i just usually avoid it as far as possible
<bqv>
i haven't gone so far as to reverse engineer anything
<eyJhb>
:p I just have a bunch of CTF challenges where I need to remove the Google Dependency from it
<bqv>
i think i've only compromised with using GCM
<eyJhb>
:p
<bqv>
like, make it so you don't need to use google? lol
<bqv>
eyJhb: well, phone was slow to ring, but it rang
<bqv>
talking in a matrix room, seems the biggest issues are like i said, it being slow and unpolished, and it missing important apps like banking stuff, because anbox isn't perfect yet
Jackneill has quit [Ping timeout: 256 seconds]
Jackneill has joined #nixos-chat
<sphalerite>
bqv: which OS are you running on it?
cole-h has joined #nixos-chat
endformationage has joined #nixos-chat
slack1256 has joined #nixos-chat
<pie_>
eyJhb: bqv: re: receiving calls: i realized the other day, what if you can just use some kind of voip thing to receive?
<pie_>
depends on internet tho i guess
<pie_>
dunno if lte works with those
slack1256 has quit [Remote host closed the connection]
<bqv>
sphalerite: mobian
<bqv>
pie_: i dunno, would work, but calls seem to work for me so i don't really have that problem
<eyJhb>
Wouldn't depend on it
<eyJhb>
Also, I should get a new phone...
<eyJhb>
But I really just want to wait untill they release a phone with tested 5G support
<bqv>
i want to try anbox now
<bqv>
see if it works for monzo
<bqv>
cause if it does then i have no problems with using this as a daily driver
<eyJhb>
cpp!
<bqv>
there's nothing i haven't already given up dependency on
<eyJhb>
I still want NixAndroid
<eyJhb>
Hack the bootloader to have a GRUB lige menu, etc.
<eyJhb>
:D
<eyJhb>
like**
<bqv>
it's happening, i think sam is just intentionally taking the long route, so it'll be ready in a few years
<eyJhb>
That is NixOS on a phone
f0x has quit [Ping timeout: 260 seconds]
joepie91 has quit [Ping timeout: 260 seconds]
<eyJhb>
Not Nix to manage your Android phone :p
<bqv>
oh
<bqv>
oh god
<bqv>
why
<eyJhb>
As far as I can tell
<eyJhb>
BECAUSE!
<eyJhb>
Reasons
<bqv>
"your kink is not my kink and that is ok"
<eyJhb>
Also, because why not? :(
<eyJhb>
I should really have a crontab, something that alerts me when the unstable channel has advanced beyond my active one
ky0ko has quit [Quit: killed]
<pie_>
bqv: well good for you i guess :D
ky0ko has joined #nixos-chat
<infinisil>
Idea for CI: Try deleting any single line. If the build/tests fail, CI passes. If it still works, you have either found a line that's not necessary or you don't have full test coverage
<pie_>
:D
<samueldr>
chaos monkey, but for your code
<samueldr>
I hate it
<samueldr>
I love it
<infinisil>
Should probably use "Syntax construct" rather than a line, such that empty lines don't trigger it
<infinisil>
Though that's not as easy to implement
rajivr has quit [Quit: Connection closed for inactivity]
<bqv>
pie_: i think it would somewhat defeat the point of phones though, because they're meant to work in almost all low-signal conditions, but if you rely on LTE then you're a bit less robust. I wouldn't rely on that, e.g.
<__monty__>
infinisil: Or you've found a line that's only there for performance reasons.
<infinisil>
Or it starts trying to remove test cases themselves lol
<infinisil>
Can't break a build if you don't build anything!
cjpbirkbeck has joined #nixos-chat
<pie_>
bqv: that was my phirst thought yes
<energizer>
abathur: looks cool, thanks
lejonet has quit [Ping timeout: 240 seconds]
<eyJhb>
,tofu
<{^_^}>
To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000), then replace it with the correct hash Nix expected. For inserting 52 0's in vim: <esc>52i0<esc>
<eyJhb>
... I really wish it was easier to add a node.js package to Nix
<cole-h>
nodepackages is kinda whack
<eyJhb>
Yeah :/
<eyJhb>
And without ethernet in build, I cannot just hack and slash
<eyJhb>
I just need `gulp-concat-css`
<cole-h>
It's why I copied the Iosevka derivation into my config, so I could update it whenever I want to...
<{^_^}>
openzfs/zfs#10982 (by cheesycod, 2 days ago, open): FATAL: modpost: GPL-incompatible module zzstd.ko uses GPL-only symbol 'mutex_lock_nested'
<drakonis>
sweet
<drakonis>
more symbols to patch
<cole-h>
Cat and mouse game zzz
<drakonis>
yes
__Sander__ has joined #nixos-chat
<infinisil>
As much as I want to love emacs, I think I should just embrace vim
<drakonis>
less overhead?
<infinisil>
I guess mainly because emacs doesn't work well with vim keybindings
<infinisil>
As much as I like the concept of a text editor being more than a terminal, I don't want to give up my vim keybindings
<neeasade>
liar
<infinisil>
And fight every emacs package out there doing so
<cole-h>
What do you mean, "emacs doesn't work well with vim keybindings"
<cole-h>
infinisil: Maybe it's a bit too heavy, but have you tried something like doom emacs?
<neeasade>
yeah that's what summoned me here. the one concession I'll make is macros
<infinisil>
vim keybindings are just a second-class citizen. When you want to use an emacs package, it's going to have emacs keybindings
<cole-h>
OK, that's fair.
<infinisil>
And maybe, if you're lucky, vim keybindings somewhat work
<infinisil>
If you look up commands for emacs online, it's going to be emacs ones
<neeasade>
I think at somepoint I "embraced the suck" -- rather I just pull in stuff as I need it, bind what I like in vim bindings, and eventually™ muscle memory makes it all fade
<neeasade>
plus there have been monumental community efforts
<{^_^}>
nix#3959 (by Ericson2314, 4 weeks ago, open): WIP: Derivations can output "text-hashed" data --- contains many other PRs
<drakonis>
this PR
<drakonis>
dear god
<neeasade>
I think that's the hill emacs users eventually must grok - all the introspection/figuring out WTF is going on and piecing together a "you-ness"
<cole-h>
I like projectile and the workspaces packages, so I use doom emacs when I'm well and truly hacking on something. But I still use nvim for making quick edits or browsing a file with vim bindings/
<cole-h>
s@/@.@
<cole-h>
I wonder: does neovim have daemon infra yet? I think that's one of the main reasons I switched to emacs: after the first frame is created, it's almost instantaneous to create another.
<cole-h>
Back when I had loads of vim addons, it was pretty slow startup
<cole-h>
(Or maybe related to running off spinning rust)
<__monty__>
Isn't there lazy loading of vim plugins?
<__monty__>
And I think I've had bug reports due to nvim as a daemon.
<__monty__>
Not sure about either though.
f0x has joined #nixos-chat
<cole-h>
:help remote does turn up something, but nvim needs to be compiled with +clientserver.
enick_594 has joined #nixos-chat
<cole-h>
The biggest thing I miss from nvim is the undo tree.
<__monty__>
Vim's undo is nice, yeah.
lejonet has joined #nixos-chat
<bqv>
a brief bit of web browsing has made it quite clear how slow the pinephone really is... yikes
<__monty__>
That bad?
<bqv>
upsettingly slow
<bqv>
2G ram trying to run firefox/gnome-web though, somewhat understandable
<samueldr>
do you know if it was all software rendering?
<bqv>
not the foggiest
<samueldr>
I still haven't looked at figuring it all out for hardware rendering
<samueldr>
but it could make quite a difference
<cole-h>
infinisil: You're making me want to hack on my nvim config again... :P
__monty__ has quit [Quit: leaving]
enick_594 has joined #nixos-chat
enick_594 has joined #nixos-chat
enick_594 has quit [Changing host]
enick_594 is now known as joepie91
__Sander__ has quit [Quit: Konversation terminated!]
<drakonis>
weeeeeeeeel
<drakonis>
welllllllllllllll
<drakonis>
snapdragon 660 support getting upstreamed
<drakonis>
my phone should be able to run vanilla linux
<samueldr>
yes, though the 50 minutes surely was helped by existing knowledge and an SoC I was already acquainted with
<joepie91>
even still
<samueldr>
but that's 50 minutes from generation to boot, that includes time for downloads, builds
<samueldr>
I'd really like to try other ports with it, but I'm all out of phones now
<joepie91>
lol
<samueldr>
I'm left with one without a working port, and it's not something the autoport would help with :(
<joepie91>
software port or physical port :P
<samueldr>
it has one physical port only
<samueldr>
the downstream SDM845 from qualcomm doesn't play nice with what we need for the time being
<samueldr>
so it works, but no display
<samueldr>
until I add support for DRM
<joepie91>
aw
<samueldr>
(the good kind of DRM
<joepie91>
yeah, the direct rendering mmmmmmmmmmmmanager?
<samueldr>
yep
<samueldr>
qualcomm (I assume) has broken / not implemented classic FB for SDM845, and broken / not implemented fbdev emulation
<samueldr>
since they are not needed for android
<samueldr>
and I haven't found a tree from an SDM845 that looked like the gpu driver code was different enough
<samueldr>
across different oems
<samueldr>
so that's why I assume it's from the source
<drakonis>
it is pleasant.
<samueldr>
though since there's apparently good work coming to mainline about SDM845, I'm less concerned, and will check it back out later with mainline
<samueldr>
apparently wifi on sdm845 even works!
* colemickens
looks around
<samueldr>
colemickens: yes, including pixel 3 AFAICT
<colemickens>
"Generation done successfully in /home/cole/code/autoport/google-blueline/"
<samueldr>
it's likely to give you a file similar to what you had
<colemickens>
That's okay, I assumed it might, still a place to start, I'll rebase my stuff on top of it and see where I land again.
<colemickens>
I found another Google Pixel 3 for $175, just need to talk my dad into shipping it to me.
<samueldr>
colemickens: I know that rndis works
<samueldr>
so if it hangs it should be fine
<samueldr>
you can look around
<samueldr>
but DRM is the main next challenge
<colemickens>
RNDIS makes me think of NDISwrapper
<samueldr>
that's because it's related
<samueldr>
>> Remote Network Driver Interface Specification (RNDIS) is a Microsoft proprietary protocol used mostly on top of USB. It provides a virtual Ethernet
<samueldr>
>> The Network Driver Interface Specification (NDIS) is an application programming interface (API) for network interface controllers (NICs).
<joepie91>
samueldr: sounds like a fairly typical "progress is happening despite vendors"...