News for hackers. Stuff that matters.

g_b

Re:Writing code is cheap now on Tuesday February 24, 2026 @03:38AM (#47134496)
> 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.

Re:Microsoft to Block Windows 11 Browser Workarounds on Saturday November 13, 2021 @12:07PM (#29211313)
My USB got bricked on openSuse, and I got the segmentation fault error randomly. I was using the KDE edition.
Re:Microsoft to Block Windows 11 Browser Workarounds on Friday November 12, 2021 @12:48PM (#29202314)
> 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

Re:Discontinue Sourcetrail on Friday September 24, 2021 @06:00AM (#28640423)
Jetbrains IDEs had the "find usage" feature before sourcetrail existed. Eclipse as well. I'm not sure what sourcetrail brought new to the table.
Re:Currying in JavaScript on Sunday September 19, 2021 @01:57PM (#28586398)
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.
Re:CodePerfect 95 – A fast IDE for Go on Tuesday June 08, 2021 @03:33AM (#27431599)
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

Re:A Picture of Java in 2020 on Tuesday September 22, 2020 @02:02PM (#24557812)
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?
Re:Ask HN: Git alternatives that aren't so complicated? on Sunday June 28, 2020 @03:02PM (#23671173)
This interactive tutorial should be very useful: https://learngitbranching.js.org/
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...

Re:Becoming Addiction-Free (2017) on Monday May 25, 2020 @08:57AM (#23300479)
By definition yes. Compulsive engagement in rewarding stimuli despite adverse effects.

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

Re:Firefox 75.0 on Friday April 10, 2020 @09:37AM (#22832845)
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.

Re:The new Microsoft Edge is out of preview on Thursday January 16, 2020 @07:03AM (#22063720)
I use Sumatra PDF for PDF/mobi/epub.
Re:XML is almost always misused on Tuesday October 29, 2019 @04:52PM (#21391873)
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...

Re:Mun Programming Language on Sunday October 06, 2019 @02:25PM (#21173821)
Or func add(x int, y int): int { return x + y }

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

Re:DIB Guide: Detecting Agile BS (2018) [pdf] on Tuesday January 15, 2019 @12:24PM (#18912878)
Defense Innovation Board
Re:Firefox shows ads for Booking.com in New Tab page on Tuesday January 01, 2019 @11:36AM (#18800814)
Iridium browser seems like a good alternative. It is firefox with a focus on privacy.
> 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.)

Re:Fullscreen mobile modal: how hard can it be? on Sunday September 09, 2018 @02:49PM (#17947192)
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.

Re:Guide to JavaScript Frameworks on Sunday January 21, 2018 @10:45AM (#16198449)
> 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.