149 karma · joined Apr 8, 2017 (9y ago) · 14 submissions
comment 2y ago · link · parent
items = () => [...document.querySelectorAll('.items div.item')]
show = (elt) => elt.style.display=''
hide = (elt) => elt.style.display='none'
search = (text) => (items().forEach(show), items().filter(e => !e.innerText.toLowerCase().includes(text.toLowerCase())).forEach(hide))
inputElt = document.createElement('input'); inputElt.type='text';
document.querySelector('.sidebar').prepend(inputElt)
function handle(e) { search(e.target.value) }
inputElt.addEventListener('input', handle)4.
Show HN: Sndscr.wtf – live-updating public "screens"(sndscr.wtf ↗)
3 points · by procparam · 3y ago · discuss
comment 3y ago · link · parent
I've been trying to like Gentoo for over four years, ever since I installed it on my primary laptop. I love the idea of having the fine-tuned control that Gentoo offers, and I love the idea that everything I install is tailored to my specific system.
But despite my best intentions I have not mastered it - in fact I barely feel like I understand it. When I remember to update it a couple times a week everything is pretty smooth. Go much longer than that and all bets are off. If I go on a long vacation I dread coming back to a Gentoo update. I just don't have the discipline to keep up.
Lately portage has been scolding me because some random packages are trying to install different versions of openssl. I've been ignoring it for weeks while I muster the courage to solve it.
And in my experience this kind of problem is super common. Either I'm pulling multiple versions of a package into the same slot, or I'm trying to merge a masked package, or some package is trying to put files in a place it doesn't own, or who knows...
Every time I try to solve one of these issues it's like I'm starting from scratch. I read manpages, online docs, bug trackers. I try various incantations of emerge flags. And eventually I show up the IRC channel with my tail between my legs.
Fortunately, the IRC community is extremely knowledgeable and can usually fix my problem in no time. But I hate having to ask for help, and I never seem to get closer to solving them myself.
The other major issue I have is convenience: it sometimes takes so long to install a new package. I get it - that's what you expect with a source-based distro. But man I did not understand just how much compiling time I'd need. Krita releases a new patch version? There's a couple hours with my laptop fans blasting. My laptop has easily spent 10x or 50x the time compiling Krita vs actually running it! And that's just one random program; god help you if you want Firefox on the same machine.
Anyway, on my next computer I'll probably install Arch.
comment 3y ago · link · parent
The actual SCOBY is in the kombucha itself, not the cellulose. It's pretty easy to prove; when I made kombucha I would throw out the mat after every batch and save some of the liquid to use as starter for the next.
comment 8y ago · link · parent
The point is, that's actually how real people see the lottery. A big payout feels more likely than a $100k/yr job when you've been under the poverty line long enough.
Remember, the goal of this game isn't to see how efficiently you get to the end; it's to help you put yourself in the shoes of people actually in this position.
comment 8y ago · link · parent
So I would add the following tip: disable the fingerprint sensor if you have one (also face recognition, etc), and replace it with an inconveniently long password. This way you really need to think about whether it's worth the time to open your phone.
comment 9y ago · link · parent
That's the best use case I can think of.