HNHacker News
TopNewBestAskShowJobs

g_b

59 karma · joined December 22, 2016

submissionscomments
g_b··on Writing code is cheap now
> Do current LLM based agents generate code which is easy to change?

They do. I am no longer writing code, everything I commit is 100% generated using an agent.

And it produces code depending on the code already in my code-base and based on my instructions, which tell it about clean-code, good-practices.

If you don't get maintainable code from an LLM it's for this reason: Garbage in, garbage out.

g_b··on Microsoft to Block Windows 11 Browser Workarounds
My USB got bricked on openSuse, and I got the segmentation fault error randomly. I was using the KDE edition.
g_b··on Microsoft to Block Windows 11 Browser Workarounds
> What distros do you feel have a poor experience for new Linux users?

I've had blocking problems with these 3: ElementaryOS, Ubuntu, OpenSuse. The problems include:

- Crash reports every 10 minutes - Segmentation fault error or something when opening the notifications section - Bricking my USB stick - Poor rendering in remote desktop - OS crashing unexpectedly and not starting at all afterwards - Noticeably poor performance for all apps (going full-screen for browser videos happens in 1 second and you see it freeze, in windows it's instant) - Desktop freezing if I press keys too fast (opening and closing the Ubuntu Dash menu quickly). Forced to restart the machine - Visual glitches during every boot - I don't remember now, but the list goes on

g_b··on Discontinue Sourcetrail
Jetbrains IDEs had the "find usage" feature before sourcetrail existed. Eclipse as well. I'm not sure what sourcetrail brought new to the table.
g_b··on Currying in JavaScript
Easier to read version:

    let logNow = (importance, message) => log(new Date(), importance, message);
    let debugNow = message => logNow("DEBUG", message);
And with this implementation, current IDEs provide a more informative auto-complete.
g_b··on CodePerfect 95 – A fast IDE for Go
The demo doesn't even have auto-complete for function/variable names? It's fast at doing what, typing everything by hand?

Looking at 27:41 [1] I can hear maybe 12 key strokes to add some closing parentheses. It adds an extra newline that the programmer has to delete by hand.

[1] https://youtu.be/9Q0YFHHLG-g?t=1661

g_b··on A Picture of Java in 2020
What does your typical work day look like? Do you work on multiple things that don't require coding? Why does launch-time matter at all?
g_b··on Ask HN: Git alternatives that aren't so complicated?
This interactive tutorial should be very useful: https://learngitbranching.js.org/
g_b··on GitHub to replace “master” with alternative term to avoid slavery references
Actually master is used as the default for submodules branch tracking [1]. I maintain a Git client application that deals with submodules & I have to take this use-case into account.

GitHub must work with Git & make this a proper change if they want to do this. Change the submodules specification as well.

[1] https://git-scm.com/docs/gitmodules#Documentation/gitmodules...

g_b··on Becoming Addiction-Free (2017)
By definition yes. Compulsive engagement in rewarding stimuli despite adverse effects.

I drink coffee non-compulsively once or twice a week, without bad effects.

g_b··on Firefox 75.0
Here's why selecting the entire URL is good. The most common action performed with the URL bar is to search for something or to navigate. Selecting everything helps you type your search query without having to double click or triple click.

Can you describe your use-case? Why do you need to place the caret inside the address bar and not have it all selected? In the few cases where I want to copy/delete a part of the URL I can do a 2nd click after I clicked once.

Ever since I saw this behavior in Chrome I wanted it in all my browsers. I'm very glad Firefox copied this feature.

g_b··on The new Microsoft Edge is out of preview
I use Sumatra PDF for PDF/mobi/epub.
g_b··on XML is almost always misused
A right place to use XML is when you want to write structured & reusable content, for example when writing documentation. See DITA [1].

[1] https://en.wikipedia.org/wiki/Darwin_Information_Typing_Arch...

g_b··on Mun Programming Language
Or func add(x int, y int): int { return x + y }

This way it would be consistent with how variable types are declared.

g_b··on DIB Guide: Detecting Agile BS (2018) [pdf]
Defense Innovation Board
g_b··on Firefox shows ads for Booking.com in New Tab page
Iridium browser seems like a good alternative. It is firefox with a focus on privacy.
g_b··on Steve Jobs hired a career juggler to teach programming to developers
> The core skill of innovators is error recovery, not failure avoidance.

Can anyone expand on this? So far my biggest failure has been unmaintainable spaghetti code.)

g_b··on Fullscreen mobile modal: how hard can it be?
I wish this full-screen modal feature would disappear. I've lost track on the number of times I pressed back to close a modal on mobile because I thought it was a new page.

Please make it clear that a dialog is a dialog.

g_b··on Guide to JavaScript Frameworks
> Don't need to know jsx!

You don't need to know jsx for using jsx. You only need to know html. You do need to learn something more with vue, you said so yourself, those v-for, v-if directives.

> each component is html.file, javascript.file, css.file

I prefer to only have one file per component so that I can just "import Component" and use it. With 3 files I need to make sure all 3 of them get loaded. Disclaimer: I do not know how Vue works.

The rest sound interesting.