News for hackers. Stuff that matters.

groundCode

Re:Creating a minimalist blog with Jekyll Now on Monday April 12, 2021 @03:17AM (#26776768)
Nothing stopping you using a private repo. I use Netlify to host and have it automatically deploy when I merge to main, but my repo is private. I write my drafts in a branch and merge when I'm ready to publish.
Re:The Norway Problem on Saturday April 03, 2021 @04:08AM (#26679178)
I've hit this exact same problem loading YAML in Ruby. Luckily caught it before it hit prod, but still, it made me go argh for a while.
Re:The Norway Problem on Saturday April 03, 2021 @04:07AM (#26679165)
Bugs make it to production no matter how careful you are.

What matters is how you deal with incidents as an organisation, not that you should never release a bug.

Re:Tmux lets you select and copy text with your keyboard on Friday April 02, 2021 @12:29PM (#26672937)
Not Tmux, but one of my favourite things about iTerm2 is the search/copy functionality from the keyboard. I often find myself reaching for it, for example

git log - see a commitish I want to fixup cmd-f type first few letters hit tab to get to the end of the commitish cmd-c esc cmd-v to paste it

The other great thing is when you have cmd-f going and there are multiple hits in your terminal, hitting enter cycles you through them backwards.

Re:Substack's UI and 1Password temporarily cost me $2k on Tuesday March 23, 2021 @03:34AM (#26552112)
I only let my password manager fill in passwords. It’s less efficient for sure but my cc details are in muscle memory and filling out my name and address doesn’t really bother me too much.
Re:Fish Shell 3.2 on Monday March 01, 2021 @11:12AM (#26304207)
Someone already mentioned the official docs. They’re good.

I also enjoyed https://jvns.ca/blog/2017/04/23/the-fish-shell-is-awesome/ which is a nice read though not a tutorial.

Re:50 Years of Pascal on Wednesday February 24, 2021 @03:54AM (#26248027)
Pascal was the first language I learned. I don’t remember my ch of it but I always liked := for variable assignment
Re:Clubhouse Bio Generator on Wednesday February 17, 2021 @04:04AM (#26164283)
I think the hype works though. I don’t have a clubhouse account and I can sort of imagine the plethora of hustlers and the time I would waste if I did have an account. But like the early invite only days of gmail, it’s still a social indicator if you’re “in”
I think they might. And we might be in a hacker news bubble with our wish to stay remote.

Overwhelmingly the developers in my organisation are happy to work remote forever. Deliver people, product people, design people all seem to want to be back in the office. Upper management as well.

Re:A recent poll of employees who are working remotely on Thursday January 28, 2021 @01:28PM (#25946474)
The company still holds the power though. Your current contract is unlikely stipulate that you can work full time remote. I suspect that until there are enough options in the hiring market for employees to “vote with their feet”, employers will want to return to bums on seats.
Re:GitHub Releases Dark Mode on Tuesday December 08, 2020 @03:41PM (#25351056)
How dreary to be somebody! How public like a frog...
Re:Is This the End of the Repairable iPhone? on Saturday October 31, 2020 @07:32AM (#24950601)
The question is, do any of us actually need the flagship devices? The android phones I’ve bought for family members on the budget end of the spectrum seem to last just as long as the flagships and have decent enough feature sets for pretty much everything from what I can see. Granted none of us play a lot of games and we are more of the holiday snaps than artists when it comes to photos.
Re:Spamtoberfest on Thursday October 01, 2020 @03:41PM (#24655351)
Maybe people lint their docs or README with something like vale.
Re:Netflix boss: Remote working has negative effects on Monday September 07, 2020 @05:25PM (#24403064)
Many people find working in a busy office overstimulating And filled with far too much activity and noise and it fills them with anxiety.

In an ideal world, workplaces would strike a balance and allow each person the environment to deliver their best work.

One reason I can think of is, certainly early in the Ruby/rails days it was quite difficult to support/install ruby on Windows. Python was much easier to install and get going with so it maybe got a foothold just because more people had access to it.
I’ve tried this with my dad. The problem is, he never boots up the bum to have a go. He doesn’t really get how there can be more than one OS on his physical machine. So basically we are stuck in a cycle of him not wanting to switch until he’s used to the “new” thing but him never using the new thing.
Re:Hacking Voi Scooters: How I Created $100k Worth of Free Rides on Saturday September 28, 2019 @11:50AM (#21101028)
The amount of time to develop a feature makes no difference if the client didn’t want to pay for the time it would take to develop it.
Re:OSSU: A path to a free self-taught education in computer science on Wednesday September 25, 2019 @02:21AM (#21068199)
> assumes the student has already taken high school math and physics, including algebra, geometry, and pre-calculus

Does anyone have good resources for someone who would like to brush up on these subjects?

Re:Rails 6.0 on Friday August 16, 2019 @04:05PM (#20719175)
I switched from .NET to rails. agree with the other comments about rails tutorial. It is excellent but don’t forget the rails guides (guides.rubyonrails.org).

If you already understand MVC (for example if you’ve worked with .NET’s MVC offering) reading rails guides will serve you very well.

Re:Personal Website for Programmers on Friday August 09, 2019 @03:58PM (#20657759)
There’s also something to be said, from a recruitment point of view, to having everyone’s site look the same. It eliminates one bit of unconscious bias. In a way, it can help anonymise each person, which can make for a different (perhaps fairer?) hiring process.
I think they tend to be anomalies. Mostly ICs don’t have as much power/authority/autonomy as people in managerial positions.
Re:Fork: A fast and friendly Git client for Mac and Windows on Wednesday July 24, 2019 @03:05AM (#20512931)
As someone pretty comfortable with got on the command line, what advantages would a GUI give me? I’m not trolling, it’s an honest question. Anyone with good got command line skills move to something like this and find it offers them a better workflow?
Re:How I Taught My Kid to Read on Tuesday July 09, 2019 @02:14AM (#20389383)
My child learned to read using phonics. We didn’t use this book though. At some point she asked us what the squiggly black “pictures” in her book were. Once she figured out that we weren’t just making up the stories and that they were there for anyone to read she was motivated. Then reading time basically became sounding out words with her until she could read. We were lucky to have access to a lot of books very cheaply and some good libraries in walking distance which helped.
Re:Introducing time.cloudflare.com on Friday June 21, 2019 @12:28PM (#20243970)
> Today I’m proud to help introduce a service that would have made my life from 2015 through 2019 a whole lot harder

Surely the author means easier?

Re:Little Free Pantry on Friday June 21, 2019 @02:34AM (#20240361)
This is nice. In the UK some supermarkets have a food bank you can donate to as you leave. I usually donate food to those. This is a bit more personal. Although I’m lucky enough to live in a neighbourhood where it doesn’t seem like people are wanting for food. I suppose you never know when someone is having a rough few months though and this is a nice way to foster some relationships.
Nice! I grew up in South Africa surrounded by jacaranda trees. One of the things I miss now that I live in Europe
Re:Oh shit, git (2016) on Tuesday May 14, 2019 @02:10AM (#19907167)
Like a few other replies, I force push on my branches all the time.

I push my code up to my origin as soon as I can and as I go I’ll fix up my commits and force push.

There are some advantages for me anyway. Pushing to origin kicks off some smoke tests and end to end tests that are fairy slow and cumbersome to run on my dev machine. That helps me catch bugs earlier, especially since I’m working on a Microservices architecture. Also it acts as a backup for if my dev machine dies on me. I prefer to fix up and force push to create a clean logical story from my code rather than leave in spurious commits which exist only to fix linting for example.

Re:Ask HN: Most sustainable diet long term? on Wednesday April 17, 2019 @10:41AM (#19682965)
good grief...every single reply you link to your blog. How about engaging here rather.

Older »