News for hackers. Stuff that matters.

pooriar

Re:Notepat • Aesthetic Computer on Thursday September 12, 2024 @09:36PM (#41527328)
I played twinkle twinkle little star
Re:A Real Life Off-by-One Error on Wednesday September 04, 2024 @07:37PM (#41451966)
I just did it and it didn't jump out for me at all. Odd
Re:Greppability is an underrated code metric on Tuesday September 03, 2024 @09:26AM (#41434726)
I just shared this in the work Slack and everyone resoundingly agreed with the sentiment. Definitely going to pay more attention to this now, thanks for sharing!
I tried to learn dvorak, and colemak, and both ended up requiring too much investment to be worth it. This is very tempting, even though I promised myself I'd stop messing with keyboard layouts
Re:How it became like this? Ruby Range class on Monday July 29, 2024 @10:59PM (#41105709)
Same as this?

  (1..20).each do |i|
    puts i if i.odd? || i.prime?
  end
edit - upon testing, I just realized the parent's code prints 10 & 16, my code does not, so not the same.
Re:Exercise: Minesweeper in 100 lines of clean Ruby on Saturday July 20, 2024 @08:11PM (#41021336)
I'm currently implementing my favorite 2 player board game - Raptor - in Ruby, and this article is giving me great ideas for how to structure it better. Thanks so much to the author for writing this up!
Re:Learn to Dance Confidently – For Engineers on Saturday June 29, 2024 @11:19AM (#40831194)
Hi, I'm a software dev who was terrified of dance floors my whole life, and nearly gave up hope that my analytical brain could ever get comfortable with it.

But I kept trying, looking for a clever way around the problem, and I found it! This course is everything I learned during that process, and it's currently free for my birthday weekend, so have at it :)

Discount code is "HBD" if it doesn't work, use this url:

https://pooriajr.gumroad.com/l/learn-to-dance-engineers/HBD

Re:Show HN: I made an open-source Loom alternative on Sunday May 12, 2024 @11:21PM (#40339506)
I think it's really useful to describe your product as an alternative to a well known product. Most people will instantly get it, much more so than a long re-definition of the original product.
Re:The No-Phone Nomad Clock Thing on Friday October 06, 2023 @03:54PM (#37795462)
I have had the idea for this device bouncing around in my head for so long, I just had to get it out and see; does it exist? Does anyone else want it to exist? Or is it just me?
Re:Baldurs Gate 3 comes out on Mac tomorrow. I will not play it on Wednesday September 20, 2023 @08:35PM (#37591872)
I'd take that bet, will give me more motivation to prove you wrong ;)
Re:Baldurs Gate 3 comes out on Mac tomorrow. I will not play it on Wednesday September 20, 2023 @08:33PM (#37591859)
Thanks for saying so, always great to see someone examine and reconsider an initial dismissive reaction like that
Re:Baldurs Gate 3 comes out on Mac tomorrow. I will not play it on Wednesday September 20, 2023 @08:06PM (#37591686)
Thanks for sharing your story. I had a similar moment with the mobile game skinner boxes where I just got repulsed and lost all urge. But I still get sucked into higher quality games, thus, this post :)
Re:Baldurs Gate 3 comes out on Mac tomorrow. I will not play it on Wednesday September 20, 2023 @07:51PM (#37591598)
Haha love your take on the extreme opinions people have on this game. And yeah, the thought has occurred to me that, like most anticipated things, it probably wouldn't be as exciting as I'd imagined once I was really playing it
Re:Baldurs Gate 3 comes out on Mac tomorrow. I will not play it on Wednesday September 20, 2023 @07:48PM (#37591574)
I like this idea. Don't know if I could go without `sudo` on my computer though, I tend to use it for work...
Re:Baldurs Gate 3 comes out on Mac tomorrow. I will not play it on Wednesday September 20, 2023 @07:45PM (#37591556)
Thanks :)
Re:Baldurs Gate 3 comes out on Mac tomorrow. I will not play it on Wednesday September 20, 2023 @07:44PM (#37591544)
Glad it resonated, and I'm happy that your rule stops it from getting between you and your responsibilities
Re:Baldurs Gate 3 comes out on Mac tomorrow. I will not play it on Wednesday September 20, 2023 @07:39PM (#37591515)
Yup. Good call. Weather is good these days so taking a long walk will be on that list :) Also photography, calling people for a random chat, and reading fiction.
Re:Baldurs Gate 3 comes out on Mac tomorrow. I will not play it on Wednesday September 20, 2023 @07:35PM (#37591474)
Huh, Dota was my big addiction in college. Thanks for sharing that perspective on how to reframe your time spent in a positive way.

I think for me, I would like to turn my many hours spent into a will and a way to help others deal with addiction to videogames, as well as porn and other digital addictions that are not yet taken quite as seriously as physical addictions.

I think that would be the ultimate way of making something good out of all this

Re:Baldurs Gate 3 comes out on Mac tomorrow. I will not play it on Wednesday September 20, 2023 @07:04PM (#37591243)
Blog post I wrote about video game addiction. Hope it resonates with someone :) Open to feedback
Re:Show HN: Easyful – A Free Gumroad Alternative on Wednesday August 09, 2023 @12:29AM (#37058706)
Beautiful lading page and generous app. Thank you for making tools like this that help small-time creators improve their margins :) I used Payhip for my last project but I will bookmark this one to make sure I use it in the future
Re:Noclip.website: A digital museum of video game levels on Tuesday August 08, 2023 @03:37AM (#37045738)
Wow, the ENTIRE massive ocean of Windwaker with all the islands loads faster than single rooms for other games. And then zipping around it so fast from the sky, all the islands seems so small compared to how big it all felt playing the game as a kid
Re:Vim macros vs. VSCode multi-cursor [video] on Wednesday August 02, 2023 @10:04AM (#36971071)
I always heard people talking about how amazing Vim is, but I didn't get why.

"Like big deal, you can jump around the line, delete words or whole lines. I can do that with option and command. Oh you can apply your edits to multiple places? Have you heard of multi-cursor?"

Only when I was forced to use it (in South Korea) did I realize why people love it so much

So here's a video of a basic use case that requires tedious clicking on a normal editor like vs-code, but which is made super easy in vim

Please let me know if you found this useful so I can make more vim videos like this :)

Re:From art-school dropout to $12k/month world traveler on Monday July 31, 2023 @04:50PM (#36948603)
I wrote this story about my twenties, and I wanted to share it with y'all. I hope someone finds something useful in it.

Thanks for reading :)

Re:LazyVim on Sunday July 16, 2023 @11:09PM (#36753633)
Does it really work wonderfully for you? I am often times shocked by how it just can't guess the most obvious completions. Then I jump into VSCode to sanity check, and it works fine there.

Talking about tpope's official neovim plugin

Older »