Better HN
topnewbestaskshowjobs
Log inSign up

gpanders

995 karma · joined Nov 15, 2019 (7y ago) · 336 submissions

https://gpanders.com

Email: contact <AT> gpanders.com

Submissions

comment 5y ago · link · parent

> Their intent is to limit what people can do with their hardware. That strikes me as almost morally wrong. I tell the computer what to do. It doesn't tell me what to do.

If you need to run millions of hashes per second then buy one of the non-LHR models. No one is forcing you to buy one of these chips and Nvidia is not taking anything away from you.

This is like saying that Intel limits what people can do with their hardware because they make both i3 and i9 chips. There is a spectrum of options to fit more people's needs.

comment 5y ago · link · parent

What, why? It’s just HTML, which PHP and Ruby can generate just fine.

comment 5y ago · link · parent

It might not be how humans write numbers but it is consistent with how we think about numbers in a base system.

123 = 3x10^0 + 2x10^1 + 1x10^2

So if you were to go and label each digit in 123 with the power of 10 it represents, you end up with little endian ordering (eg the 3 has index 0 and the 1 has index 2). This is why little endian has always made more sense to me, personally.

comment 5y ago · link · parent

I have used a Roku, an Amazon Fire stick, and an Apple TV. The Apple TV is by far the best, in my experience. The only downside was their god awful remote, but even that has been fixed in the newest version.

I think you’ll be happy.

comment 5y ago · link · parent

git reset --hard does not only modify the work tree though, it also updates where your current branch points to. In fact, that is the main purpose of ‘git reset’, the fact that it modified your work tree at all is only because of the ‘--hard’ flag. So it’s not correct to say that “reset --hard and checkout do basically the same thing”.

comment 5y ago · link · parent

> Or rather AGPL forces you to distribute the software you run.

No it does not. Using AGPL software does not suddenly make your own software a derived work.

comment 5y ago · link · parent

It is absolutely FUD.

https://drewdevault.com/2020/07/27/Anti-AGPL-propaganda.html

comment 5y ago · link · parent

Not everyone agrees on this point [1]. One relevant quote: "This is ultimately a question not of the GPL per se, but of how copyright law defines derivative works."

Whether or not dynamic linking constitutes a "derived" work is still an open question, legally speaking. Obviously the FSF has their own thoughts on this, but it's unclear how an actual court would rule.

(IANAL, this is not legal advice, etc. etc.)

[1]: https://en.wikipedia.org/wiki/GNU_General_Public_License#Lin...

comment 5y ago · link · parent

If you're only using Grafana, but not modifying it and re-distributing it, then the AGPL places no obligation on you.

You only have to license your own software as AGPL if it is a derivative work of another AGPL licensed program.

comment 5y ago · link · parent

If you're only using Grafana for monitoring but not distributing it to your users as part of your product then I don't think you need to make your own product AGPL.

I'm sure if I'm wrong I will find out very quickly, this is HN after all.

comment 5y ago · link · parent

Did you see the new remote? It seems to solve many of your requests.

I, too, absolutely hate the current Apple TV remote and I'm pumped they finally redesigned it.

https://www.apple.com/newsroom/2021/04/apple-unveils-the-nex...

comment 5y ago · link · parent

Citation needed. I use credit cards exclusively so I cannot say for sure, but I am extremely skeptical that banks don’t offer any fraud protection on debit cards in the US.

AFAIK the main reason people prefer CC’s over debit cards for fraud prevention is simply that with a debit card your money comes out immediately if it is used by someone else, whereas with a CC there is a 30-day buffer.

comment 5y ago · link · parent

> Should DDG become ultra-successful, how long until they start making concessions to privacy to increase revenue and growth?

Should this happen then DDG will know better than anyone that this just puts a target on their back to be replaced by the next privacy respecting search engine, and the cycle continues afresh.

comment 5y ago · link · parent

I won't defend TTY or bash, but I will say that awk has stood the test of time because it's an amazingly potent tool for doing ad-hoc processing of textual information, which is still a frequent task even in the era of Kubernetes and yaml templates. Why does it need replacing?

When I learned awk I felt like I unlocked a superpower.

comment 5y ago · link · parent

You may already know this, but there is active work happening now to port Linux to the M1: https://asahilinux.org/

comment 5y ago · link · parent

I certainly agree with you that those stories are shocking and horrific, those reports were about delivery drivers, not warehouse workers, so it’s not really relevant to this particular discussion.

comment 5y ago · link · parent

Something like Vim still benefits from the composability of the command line interface. I can write and read buffers to/from other processes, asynchronously run commands and pipe the output into Vim, and of course I can always put Vim in the background at any time which immediately drops me into my shell, where I have complete and full access to the entirety of the machine.

These are the main reasons I stick with terminal based editors over something like VS Code with Vim bindings. Using a separate GUI breaks that deep integration with the shell, which for me just creates too much friction for not enough benefit.

comment 5y ago · link · parent

Undoing isn’t a feature of a GUI though, but rather running in a context that maintains history/state. There’s no reason a command line program couldn’t do something like this in theory.

comment 5y ago · link · parent

It is far from settled whether the GP’s interpretation is in fact what actually happened. I highly recommend The Innovators by Walter Isaacson. Among other things, it covers this “controversy” in great detail.

comment 5y ago · link · parent

I’m sure I must have read a few articles many years ago when I first started using tmux, but I can’t remember what they are now and I wouldn’t be able to provide you anything that you wouldn’t just find on a simple search. Maybe I will sit down and write one so that I can offer something if this ever comes up again.

Developing the muscle memory definitely takes some work and no doubt it will feel awkward and unnatural at first. I would offer the same advice I would offer to someone getting started with Vim: don’t try to learn everything at once. Start with the basics, get comfortable, and over time you’ll learn more and more little tricks.

For example, start with just getting comfortable with creating new windows (prefix + c), splitting windows (prefix + % or prefix + “), moving between panes (prefix + arrow keys), and moving between windows (prefix + n and prefix + p). If you’re used to using the mouse, you can also enable mouse mode which will make the transition a bit easier (this allows you to select panes by clicking into them and using the scroll wheel to scroll within panes).

I know offering raw config files is kind of a trope and not always helpful, but here are mine [1] if you’re curious. I try to keep my config minimal and not too fancy, but I do override/change some defaults.

[1]: https://git.sr.ht/~gpanders/dotfiles/tree/master/item/.confi...

comment 5y ago · link · parent

Funny, I just went through a similar experience and had to tether off a Verizon connection for almost two weeks.

I certainly felt the pain of a slow connection too and felt frustrated at how badly this affected the experience on so many sites.

Here’s an idea: web developers should test their sites on the slowest connection speed still commonly available (ie 3G) and make sure the experience is still acceptable. I know that webpagetest [1] allows you to do this and the results are illuminating.

[1]: https://www.webpagetest.org/

comment 5y ago · link · parent

Tmux is easily one of my all time favorite and most used tools, behind (maybe) only Vim/Neovim.

I use every feature it offers: scroll back, copy buffers, window splitting/management, different sessions for different projects, etc. I do a lot of work on different servers (it’s not uncommon for me to be connected to 4 different servers at once) and having tmux on all of them means I can always pick up right where I left off. If I’m starting a long build on a Friday afternoon, no problem: start it in the remote tmux session and simply detach from tmux and log off. When I come back on Monday morning, I just SSH back in, reattach to the tmux server, and it’s like I never left.

Tmux has a steep learning curve for sure, but if you are a terminal user at all I cannot recommend it highly enough. It’s a game changer.

comment 5y ago · link · parent

Try this in your tmux.conf:

    bind -T root M-h select-pane -L
(I’m typing this from my phone from memory, so bear with me if there are minor mistakes.)

The -T root does what you want, ie bind a key without a prefix. M-h is Alt-h, so change that to whatever you want of course.

I am a heavy Vim and tmux user, so if you’d like you can use my own config for inspiration:

https://git.sr.ht/~gpanders/dotfiles/tree/master/item/.confi...

comment 5y ago · link · parent

Yes! Speaking from personal experience, I fully endorse this approach.

comment 5y ago · link · parent

There are some things out of date for sure, but the bulk of it is still highly relevant.

When I was first learning to write kernel drivers, I had LDD open on one screen and the kernel source code open on the other. You can usually look for examples in the source that will help you figure out the “modern” ways of doing things. LDD is indispensable for giving you a solid footing so that you’re not wading into the Linux kernel totally unequipped.

comment 5y ago · link · parent

I think the upvotes are more in the spirit of "I share your frustration and negative outlook of crypto in general" rather than an endorsement of the specific policy suggestion.

comment 5y ago · link · parent

This appears to be the case. From the linked article:

> The management of Ultrawide Band compliance and its use of location data is done entirely on the device and Apple is not collecting user location data.

comment 5y ago · link · parent

You can check the news far less than once a day. If you apply a low-pass filter to current events by, say, checking once a week or even less, the broad movements and important things will remain while the shallow and ephemeral will naturally be filtered out.

comment 5y ago · link · parent

> This is a somewhat modern thing.

Indeed. Go back and read some speeches from the 19th century (e.g. Abraham Lincoln’s second inaugural speech) and you’ll find run on sentences everywhere. Heck, even the US Constitution is full of them.

comment 5y ago · link · parent

AFAIK Windows is still one of Microsoft’s golden geese. If they transitioned to Linux, they’d lose out on all that sweet, sweet licensing revenue. Which makes this seem unlikely to me.
12345
12