hoverbear
hoverbear on Hacker News
Posted by
hoverbear on Wednesday December 21, 2022 @01:59PM
from the show-hn dept.
https://determinate.systems/posts/nix-on-the-steam-deck
I wrote an article about how to get Nix on your Steam Deck!Big takeaways for me:
* Steam Decks are very fun to hack on
* Linux Consoles are good
* There are more knobs in systemd units than I remember
* Flatcar Linux is a thing that exists
* Remoting into a console is fun
* A/B boots are less interesting than one might expect when you're used to NixOS
> How does it do this? Just a list of known packages and their dependencies, or?
It checks a known registry or reads package metadata.
> I'm using https://github.com/LaurentMazare/tch-rs/ (rust bindings for pytorch's c++ api). Depending on the hardware I'm building for I either need to download a cpu build of pytorch, or a cuda build of pytorch. How would this work with riff?
Riff doesn't track which GPU you use at this time, so it can't track that which build of `pytorch` to use, sorry. It might be something we make it aware of if we have enough evidence it would be helpful.
> Is there any hope of a good cross compiling story? If so, that would be awesome (currently I just don't even try if there are significant C dependencies)!
Regarding cross compiling: We've spoken about it, and I certainly believe it would be desirable. I imagine it would come in a later version. We've taken some steps to ensure we don't rule out that feature later.
> How thoroughly are dependencies cached? Backed to the pytorch example it's a fairly big (and thus slow) download, I don't want that happening too frequently.
Dependencies are cached by Nix, so they should not become invalidated very often. If your tempdir erases we may lose the generated lock file (We've been discussing where to place these perhaps more permanently) which may force another download if there was an update.
Posted by
hoverbear on Tuesday September 17, 2019 @04:54PM
from the ibm.com dept.
Posted by
hoverbear on Thursday August 08, 2019 @01:14PM
from the tikv.org dept.
I've been using
https://the.exa.website/ and it works fairly decently. Does the same coloring and tells you git status. Doesn't do icons though.
Well, make a rule. If you buy it you have to open it and do something with it. That might slow you down.
Oh hrm, yes I didn't think of those. Some even have SIM cards.
Are there any other 64 bit ARM laptops out there worth looking at? Maybe with a GSM/LTE module, more RAM, or a better screen?
Awesome. Best of luck with the product.
I'm rather curious, what's preventing you from supporting Firefox?
> Just, hard lessons.
This is rather bad grammar. :(
Perhaps you might mean "Just hard lessons."
Good luck with the conference!
Posted by
hoverbear on Thursday October 13, 2016 @04:06PM
from the hoverbear.org dept.
Posted by
hoverbear on Saturday April 09, 2016 @01:43AM
from the github.com dept.
Hi! Thanks for linking this! We're hoping to add more robust features like dynamic membership soon! I'm graduating and will have more time.
If you feel like hacking on our code please just let us know, we'd love to help.
The linked commit includes what seems to be code to check code against pep 8. Neat.
I had a great time playing 0 A.D., it really felt like the old Age of Empire games to me while still being different enough to be unique.
The fact that it's open source is even more amazing.
Posted by
hoverbear on Tuesday January 12, 2016 @08:18PM
from the eev.ee dept.
Still need to install java and get the software installed and working. Was a huge PITA in Linux so I ended up using a windows boot and even that was spotty.
Bought one of these awhile ago, the stock firmware and UI is easily some of the worst I've ever used.
Seriously, you're sending a 33 megabyte gif on your landing page? If I hit that on mobile I'd be so pissed off. Use a gifv or something maybe?
We don't have `++` and `--` in Rust either, and I really don't mind. The amount of times I've went to do a `++` where a `+= 1` was clutter has been perhaps one or two times.
Then again, my most common use for `++` was `for (;;) {}` index, and we have better in these new languages like Rust and Swift.
There are millions of people in this world trying to learn to code and understand the layers upon layers of cruft and quirks we've added. I don't mind the `++` or `--` operators, but I certainly don't mind them being gone either. They add extra complexity to code which is already arguably too complex.
In any case, I favor understandability over guesswork, and `++` is another odd cornercase which you have to mentally `grep` over.
One nice thing is that it is quite inaccurate, I've visited a large number of the sites it tells me I haven't.
Looks like a great Linux laptop... Let's hope it works with it.
So sad to see there are no 15inch or lower laptops with 16gb of RAM. :(
IRC is central to my development as a companion to searching the web. In IRC you can have real time discussion and get good, immediate leads on problems too arcane for Stack Overflow et al.
The little "Tweet/etc this" box is so awesome, it actually half covers the first letter of each line and follows you down the whole page! How user friendly.
They apparently are clever enough to understand the identification algorithm, but not the social implications.