Recent submissions

Comment · 7 years ago
Stackoverflow seems interesting as an inclusion of that level.

I've always used SO as a "read-only" source, and generally when I need an answer to a question not on there I ask on a relevant IRC channel. My github has quite a few OSS projects though.

Do you find there are any other devs like that?

Comment · 7 years ago
This is absolutely my favorite programming rant, of all time.

It gets me through the day. When management asks something nonsensical, or I'm forced to push a hack to prod to fix things.

Comment · 7 years ago
Comment · 7 years ago
You can do this with Selenium pretty easily, and low level webdrivers support it too.
Comment · 7 years ago
You're right obviously, but a Matrioshka Brain would put out such a small amount of radiation, it'd be invisible for all sensor technology outside of, say, black hole lenses.
Comment · 7 years ago
Music is helpful in other ways that might overpower any negative effect.

In my case, music helps me out with my tinitus, without it I'm in a lot of pain. And unlike, say, white noise, listening to music helps a ton with depressed mood. I can't get through my days without its help!

Surely others have similar or different reasons for using music while working!

Comment · 7 years ago
I've never used this pattern in Javascript, but it's somewhat common in Python because of how handy the dictionary.get() method is. A few problems TFA solves in JS are much easier with .get(), like defaults and false values.
Comment · 7 years ago
Depending on usecase, the JSON lines format can make this into a pretty simple task! Obviously has to fit in with one's data structure though.
Comment · 7 years ago
This is awesome!!! Amazing work.
Comment · 7 years ago
You can currently purchase redwood seeds online to grow yourself! Plant them in peat moss in large groups to be sure they survive, as most seeds are not viable. Keep them warm until they germinate, too!

However, redwoods are really, really destructive anywhere that isn't a wide open field. Their roots will tear up concrete and pipes. Also, they shed branches like crazy during rapid growth, which deals damage to surrounding structures or flora.

Just something to keep in mind! If you have space and they won't be a danger to current inhabitants of the area, go for it.

Comment · 7 years ago
The term is probably not great for reasons mentioned here, but the concept is nifty.

It makes tricks like React pages rendering without javascript possible, and works with pretty much any language that can manipulate strings (awk, sed & curl build process, why not).

If your api is only used during the build step, scaling is really easy like tfa mentions.

Comment · 7 years ago
Was just wondering this! That is great news and thank you for posting this here.

Maybe it can get mentioned in the FAQ too?

Comment · 7 years ago
Can also add the Trello "pattern" approach. A white dots pattern means you can be photographed, stripes means no.
Comment · 7 years ago
I understand this is a manifesto, but really the dialogue around Facebook and social media has truly become unhinged. Facebook is just a symptom, it seems

What is there to be _done_? Pandora's box is open, so to speak. If Facebook disappeared overnight, are we really going to assume the problems they're in are going to go away?

Everyone is potentially connected to everyone, everywhere, on the entire planet. There has never been a technology so powerful as the centralized internet.

Furthermore, outside of media companies and the HN bubble, people _do not care_. Your average person doesn't care about decentralization, preventing social media addiction, gamification, or polarization of online communities.

To the contrary the market shows that companies like FB are massively successful.

So what are we to do? The world has been changed, drastically. Were we ready for it? And if we somehow were rid of Favebook, are we ready for what follows?

Comment · 7 years ago
CSS positioning woes are brutal- until you have the knowledge from previous struggles.

Full disclosure, I am artistic, but imo css is a different skillset.

You'll have knowledge on when to use flex, floats, or the new css grid, be able to center <pictures> behind text, and all the other traditionally tricky things.

Honestly, just practice, don't give up!For layout specifically, Flexbox can solve almost any problem. Once I "got" flexbox I was having an easier time. And CSS-Grid can solve almost everything else!

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton