HNHacker News
TopNewBestAskShowJobs

onehair

356 karma · joined January 8, 2021

submissionscomments
onehair··on Entering text in the terminal is complicated
cmd.exe or the new https://github.com/microsoft/terminal ?
onehair··on Entering text in the terminal is complicated
Doesn't Windows, the most popular OS out there, have a cmd.exe terminal thing? Why isn't that harming Windows?

The Windows Command Prompt's default experience is worse than most if not all terminals you find on Linux systems. Even in play TTY, you're bound to find that the shortcuts the author mentioned work like a charm.

To make my cmd.exe bearable I am using https://chrisant996.github.io/clink

tl;dr You're comparing the choice of wheels on a plane to what makes planes sell more.

onehair··on Don't microservice, do module
The hardest part is when you're being nuanced and people misconstrue it as you being indecisive xD
onehair··on Static Chess
> Plain, brutalist, no bloat chess. Every page is only html and css. Every chess move is made by clicking a link. Send a link to your friend and they'll send you one back to make your move. No silly animations or slick interactivity to trip up your gameplay. When Google indexes this site will we successfully compute all possible chess moves?

> Functionality is quite limited, and things might be broken. Please let me know if you find bugs!

Not sure if the first paragraph boasts the pros or the cos of this sort of implementation.

It's one thing to market implementations done in unusual ways with the intent of exploring the possible. It's another to portray software implemented with the right technologies as : bloat, silly animations, slick interactivity to trip up your gameplay.

It doesn't help that the second paragraph showcases shortcoming of this kind if implementation.

It could all just be sarcastic and I fell for your trap.

Well played and clever implementation!

onehair··on A Single Div
While what you suggest is true, the incentive for the developer here is to try out all kinds of CSS properties in tandem and rely as much on CSS as possible.

To put this all in perspective, imagine developers doing this between 2012 and 2015, where many websites were still designed by using photoshop built & sliced images as backgrounds and applied on divs to achieve glorious designs. (while still needing to load all the pictures needed to achieve such designs. Then come new fascinating CSS properties that can do away with needing static images to make those same designs. Back then, such creations brought aww to fellow developers as it was out of the ordinary.

Most often the main concern wasn't performance and efficiency.

onehair··on I love programming but I hate the programming industry
Hear hear!
onehair··on 'Irresponsible' to ignore consciousness across animal world scientists argue
Well put
onehair··on IrfanView
I use sumatra for how lightweight and fast it is. 7zip is just uncontested. I wish Ditto had copycats on linux and macos. It's just sublime.

I've never used irfanview though, I'm too quick to judge from the UI of an app xD

I see all those buttons on IrfanView and how it opens as an explorer of pictures rather than just a simple Photo Viewer with arrows to go back and forth and closed it. qView is my fav right now. It does exactly what I need from a viewer. It views. I rarely need editing.

Nowadays if I need editing I just open Photopea.

If I need batch editing/converting I open XnConvert.

tl;dr IfranView is probably amazing, but just like all those buttons on np++ I pre-judge and find simpler things

onehair··on Ask HN: 9-yo son wants to build a game, I'm lost. What can I do?
Well, tell him one needs to take baby steps before they start running. Tell him 2D is how all the programmers start, and they all start from using https://www.scratchjr.org

Going straight to 3D is going to feel like a chore after a few minutes and stomp his drive

onehair··on Modeless Vim
gd isn't a native vim command though :P This tool is intended for people who never use vim more than a few times a month or a year
onehair··on Modeless Vim
- For GUI https://github.com/neovide/neovide

- For Fuzzy file search you will need to add Telescope plugin

- For File Explorer, you could use Neo-tree.nvim

onehair··on In 2024, please switch to Firefox
Ive tried many times in the last 10 years. Whenever I do, FireFox slows down after a few days. And then just has issues I've never seen on chrome before
onehair··on Generals.io – Capture enemy generals to defeat them
To consider the act of asking rude depends totally on culture and milieu.
onehair··on IDEs we had 30 years ago
I'm in my late 30s. So maybe not so far away from the age of lack of energy :P

I like JetBrains a lot. Things work seemlessly and easily integrate with external tools that make up the whole experience. But from 2012, I tried to rely as much on shortcuts as possible, for one simple reason, the mouse.

There is no problem with using the mouse. But everytime I have to use while focusing and coding, I find that that small gesture to move my hand from the keyboard to the mouse a bit flow breaking.

I have to move to the mouse, do a thing or two, then find my way back to the J key notch.

I like what NeoVim and emacs bring with regards to the reliance on the mouse. They allow for maintaining the same posture most of the time and focus only on typing.

I dislike how brutal they are at learning how to use them to full potential, and that making them into IDEs takes ages of IDE building rather than project coding.

I like Helix. Which takes a lot of inspiration from Vim/NeoVim/Emacs. But require no configuration to get you going right away. The documentation is easy to read, as of now there is no plugin system but there is a builtin integration with a lot of LSP servers for most of the popular languages by default.

Keys and navigation is easy, it even shows a helper popup to show you which key to use next.

My suggestion is, if you ever want to start a new silly project, and you're feeling free to take it slow for 2 days. Try using Helix on said project.

PS: Helix isn't fully complete by any means, but it really is capable of doing everything you want in many projects without being a hindrence if you can adapt to the lack of some built-in features like git and file tree. Its annoying but I am less upset about it and use alternatives

onehair··on Your small imprecise ask is a big waste of their time
your

> Not wanting to seem dumb

is to me the root cause, not the imprecise asks

onehair··on Mastering Emacs
You can still leverage the power of low level editors, just like helix does, and still have access to important things that so not require pages upon pages of configuration and plugin stitching to just get up and running in most projects you want vim or emacs like editing capabilities.

Helix is different from Lunar in the sense that the features it comes with are part of the core editor and the editor still feeling like an editor

onehair··on Mastering Emacs
> that a well configured Emacs can

Well, that's the real issue for me. I spent a month an a half working on "configuring" NeoVim. I got it to a somewhat ready to use state for my usual workflows. But I still had a big pile of tasks in my backlog to actually get it finally 100% mine.

Then I discovered Helix, which doesn't need any configuration, no plugins to play around with. Builtin LSP, Builtin Fuzzy Finding of files, TreeSitter and the list goes on.

Even though it's still not fully checking all the boxes I need to have a 1 to 1 mapping of my previous workflows to what Helix offers. I find not having to build my own editor out of the Lego pieces and always needing to improve what it can offer me, makes the editor actually enjoyable.

IMO, VIM, NeoVIM and Emacs should start looking into implementing a bit more than just the barebones, some of these new features that people are accustomed to in 2023, and more and more will flock to these good editors.

onehair··on Discord.io breached, 760k user accounts for sale on darknet
Me, I've changed my password, until I read the title again and then this comment xD
onehair··on Nvidia’s CEO Is the Uncle of AMD’s CEO
In some cultures, that's not too far :P Where I am from, I have met all my grandfather's siblings and their entire sub families every year and we have very close ties.
onehair··on Lua: The Little Language That Could
how has your experience without using types in lua been so far with regards to finding out where issues reside and debugging unexpected values?
onehair··on This blog is hosted on my Android phone
Sweden
onehair··on How to lose your work using Undo Copy in Windows
I can testify to Recuva being good for this issue. My daughter deleted all files on camera SD card 2 days ago. Popped it out right away and applied recuva on it. It recovered all the pictures as my daughter didnt take any pictures after deletion.
onehair··on 1Password to Add Telemetry
While you're free to get over it, I will stick to working with standalone software. I use KeePassXC + DropBox (or any other syncing tool) Ah, and no telemetry there ;-)
onehair··on Ask HN: Do you hate software engineering but love programming?
Would the opposite of what you describe here be : program all the time and ship things as fast as possible?

I've found that in many cases, that generally makes return on investment hard to keep track of, and I think that most companies want profit. Balance is the key though and balancing what you describe as bad with fast shipping, I think is the best of both worlds

onehair··on Ask HN: Do you hate software engineering but love programming?
I dislike working just as a "software engineer" in a team where my part in decision making on the product progression isn't very significant. I like programming and tinkering with everything in the computer science domain because it's so very thrilling and rewarding.
onehair··on Ask HN: Son is major in CS, but doesn't code. Red flag?
Having the drive to tinker can have an advantage. And treating it as just a means to an end is not problem at all, one can become a Product Manager or anything other than a programmer in the tech industry and that's usually a better occupation than being a monkey for big Corps. Monkey in big Corp here.
onehair··on Modules, not microservices
> At the heart of microservices, we're told we'll find...

Well, in our +20 product teams with all serving different workflows for 3 different user types, the separate micro services are doing wonders for us for exactly the things you've listed.

My comment should just stop here to be honest.

onehair··on Functional Programming – How and Why
> Why use functional programming

4. Make most code harder to read

onehair··on I'm done with Google
I use Filerun, self-hosted, pretty easy to setup
onehair··on Ask HN: Who else is working/on call over Christmas?
Yes, but not so simple. Especially when the alerts are caused by 2 systems down the line and aren't owned by our immediate Team. That and the fact that we're migrating to a better thought out architecture which has been 2 years in the making. Slow pace at big corps..
← PreviousPage 3 of 4Next →