Better HN
topnewbestaskshowjobs
Log inSign up

hoverbear

173 karma · joined Jul 27, 2013 (13y ago) · 63 submissions

[ my public key: https://keybase.io/hoverbear; my proof: https://keybase.io/hoverbear/sigs/_4q9RSu-pvFlSQLi7VqZ5G7wq5ew0z1EpxyTfn336vw ]
Submissions

1.

Show HN: Install Nix on Your Steam Deck(determinate.systems ↗)

5 points · by hoverbear · 3y ago · discuss

comment 4y ago · link · parent

> 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.

3.

Database Deep Dives: PingCAP and TiKV(ibm.com ↗)

4 points · by hoverbear · 7y ago · discuss

4.

This Month in TiKV – July 2019(tikv.org ↗)

1 points · by hoverbear · 7y ago · discuss

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

Similar projects include https://www.jaccede.com/ and https://www.axsmap.com/

comment 9y ago · link · parent

Well, make a rule. If you buy it you have to open it and do something with it. That might slow you down.

comment 10y ago · link · parent

Oh hrm, yes I didn't think of those. Some even have SIM cards.

comment 10y ago · link · parent

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?

comment 10y ago · link · parent

Awesome. Best of luck with the product.

comment 10y ago · link · parent

I'm rather curious, what's preventing you from supporting Firefox?

comment 10y ago · link · parent

> Just, hard lessons.

This is rather bad grammar. :(

Perhaps you might mean "Just hard lessons."

Good luck with the conference!

comment 10y ago · link · parent

That and http://prettystatemachine.blogspot.de/ :)

14.

Pretty State Machine Patterns in Rust(hoverbear.org ↗)

62 points · by hoverbear · 10y ago · 3 comments

comment 10y ago · link · parent

Like how they don't support SNI? https://github.com/tkrotoff/osteo15.com/issues/16

16.

GitHub CSS Search: rbg instead of rgb(github.com ↗)

4 points · by hoverbear · 10y ago · 1 comment

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

The linked commit includes what seems to be code to check code against pep 8. Neat.

comment 10y ago · link · parent

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.

20.

Heteroglot: Project Euler problem #16 in Pascal, #17 in Inform 7(eev.ee ↗)

30 points · by hoverbear · 10y ago · 15 comments

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

Bought one of these awhile ago, the stock firmware and UI is easily some of the worst I've ever used.

comment 10y ago · link · parent

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?

comment 10y ago · link · parent

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.

comment 11y ago · link · parent

One nice thing is that it is quite inaccurate, I've visited a large number of the sites it tells me I haven't.

comment 11y ago · link · parent

Looks like a great Linux laptop... Let's hope it works with it.

comment 11y ago · link · parent

So sad to see there are no 15inch or lower laptops with 16gb of RAM. :(
123