News for hackers. Stuff that matters.

androidgirl

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?

Re:Programming Sucks on Friday March 15, 2019 @08:25PM (#19405564)
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.

Re:Mercury is closer to Earth, on average, than Venus on Tuesday March 12, 2019 @08:22PM (#19374469)
Unless torch drives are taken into consideration, like a NSWR thruster or black hole engine.

http://www.projectrho.com/public_html/rocket/torchships.php

Sci-Fi for now, though.

Re:Web Scraping with Electron on Saturday March 09, 2019 @08:10AM (#19345947)
You can do this with Selenium pretty easily, and low level webdrivers support it too.
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.
Re:Listening to music 'significantly impairs' creativity on Sunday March 03, 2019 @02:34PM (#19296316)
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!

Re:Why I prefer objects over switch statements on Friday February 22, 2019 @11:41AM (#19226712)
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.
Re:Simdjson โ€“ Parsing Gigabytes of JSON per Second on Thursday February 21, 2019 @12:09AM (#19214715)
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.
Re:Show HN: Open source balloon simulation with Three.js on Tuesday February 12, 2019 @10:35AM (#19144299)
This is awesome!!! Amazing work.
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.

Re:WTF is JAMstack? on Thursday February 07, 2019 @03:45PM (#19108415)
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.

Re:Leap Spins out of YC on Monday February 04, 2019 @05:57PM (#19081526)
Was just wondering this! That is great news and thank you for posting this here.

Maybe it can get mentioned in the FAQ too?

Re:Rules for a Better Conference Name Badge (2017) on Monday February 04, 2019 @08:52AM (#19076329)
Can also add the Trello "pattern" approach. A white dots pattern means you can be photographed, stripes means no.
Re:An Anti-Facebook Manifesto, by an Early Facebook Investor on Wednesday January 30, 2019 @10:28AM (#19035793)
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?

Re:Ask HN: Is it just me, or is CSS too damn hard? on Monday January 28, 2019 @09:16PM (#19023109)
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!

Re:A Matchmaker Who Flirts on Dating Apps for You (2017) on Wednesday January 23, 2019 @11:05AM (#18979394)
All of it, honestly, if that's what you want.

There's no hard and fast rules on what makes an experience worth living. If automating and outsourcing everything makes you happy, do it!

Life is short.

This is hilarious and amazing, I love it.
Re:Valve Breaks the Shackles of Proton on Tuesday January 22, 2019 @09:55AM (#18968629)
Honestly, if WINE containers offer around 85-90% performance of Windows Native, I'm totally down.

And that's currently the case. I have been playing a little bit of No Man's Sky these days on WINE. Amazing game, I'm always at 60fps too.

Re:Best Display for Programming? (2017) on Monday January 21, 2019 @09:25AM (#18960530)
I was super into tiling window managers for awhile, but now I'm firmly in the floating camp.

My local optimum was reached when I started using virtual desktops, one for each window, with each window fullscreen. A fullscreen terminal +tmux is where I do most of my work.

Re:Inkscape launches versions 0.92.4 and 1.0 alpha on Friday January 18, 2019 @03:46PM (#18942906)
I use inkscape at work in part of a large-ish application.

We chose to use inkscape for part of an image generation toolkit because of the great command line options and the easy to modify source files.

As for the UI, ever since .91 they have fixed my biggest concern, and I'm really happy for the team. Rarely feel the pain and need to reach for illustrator on a windows machine!

Re:New Pricing for G Suite Basic and Business Editions on Thursday January 17, 2019 @12:08AM (#18928535)
Omg! That's absolutely exactly what I need for all my sites. Thank you!
Re:99% code coverage (2017) on Wednesday January 16, 2019 @10:26AM (#18921587)
I might be wrong but aren't these called spikes?

I do exploratory coding in a similar way, usually with a repl next to my text editor, and this first single file version is usually always trash but helps me understand the problem space. Then I write it "for real" with the knowledge I've gained.

I'm pretty sure you could use Firefox with Selenium Webdriver for that script! Fresh containers in between sessions to prevent leakage. Might make it if I have time soon.
Re:Announcing unlimited free private repos on Monday January 07, 2019 @03:23PM (#18849590)
This is awesome!

I used to start my repos on Gitlab in private mode before publishing them publicly on Github. A huge time saver here!

Re:Coconut: Pythonic functional programming on Thursday January 03, 2019 @10:24AM (#18815727)
It really does just mean idiomatic python. The word itself is almost a mash up of those two.

And I don't see how that's a problem? Every language has a subculture around it, language specific jargon, even inside jokes.

Pythonic stems from the idea of simple ways to do "stuff", and that's pretty much it.

I have been growing to accept that almost any technology that is sufficiently powerful is dual-use.

The classic sci fi example is spaceships; a rocket travelling at .2c is a devastating weapon and amazing tool for transit.

But so is AI tech, drones, and other technologies. Crypto can stop hackers and the government. 3D printers can print pen guns as well as plastic tools.

Re:The Curse of the Black Lotus (2015) on Friday December 28, 2018 @03:46PM (#18779282)
Twister's definitely not as good. I play storm though, so it's still a bonkers card.
Re:The Curse of the Black Lotus (2015) on Friday December 28, 2018 @09:36AM (#18776906)
The most expensive cards like the Lotus aren't legal in most formats. A format is like a league with specific rules.

The Vintage/type 1 format does allow lotuses, in quantities of one. Most non-wizards Vintage tournaments allow a set number of proxy cards, usually around 7-10 because of the Power Nine (Lotus and eight other ridiculous cards).

For most players the issue is recurring costs of new decks from rotation/metagame, or buying landbases if they play Modern/Legacy. Reprinting issues aren't limited to reserved cards.

It's crazy how far behind the US is on mental healthcare.

I have been battling depression for a long while now. My insurance can only get me to see an in network therapist four times every year!!! I can only see a psychiatrist once every six months.

This is with paying an already ludicrous sum each month for healthcare. I feel like I'm burning money, the most pressing healthcare issue I have, I cannot get help for.

Regardless, I have been working really hard on improving alone.

Re:Making Bluetooth Work on Lenovo X1 Carbon 6th Gen with Linux on Thursday December 27, 2018 @10:01AM (#18769766)
By either offering that distro pre-installed with customizations or using generic, well supported hardware.

Older ยป