Better HN
topnewbestaskshowjobs
Log inSign up

g_b

59 karma · joined Dec 22, 2016 (9y ago) · 20 submissions

Submissions

comment 9mo ago · link · parent

> 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.

comment 5y ago · link · parent

My USB got bricked on openSuse, and I got the segmentation fault error randomly. I was using the KDE edition.

comment 5y ago · link · parent

> 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

comment 5y ago · link · parent

Jetbrains IDEs had the "find usage" feature before sourcetrail existed. Eclipse as well. I'm not sure what sourcetrail brought new to the table.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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

comment 6y ago · link · parent

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?

comment 6y ago · link · parent

This interactive tutorial should be very useful: https://learngitbranching.js.org/

comment 6y ago · link · parent

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...

comment 6y ago · link · parent

By definition yes. Compulsive engagement in rewarding stimuli despite adverse effects.

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

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

I use Sumatra PDF for PDF/mobi/epub.

comment 7y ago · link · parent

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...

comment 7y ago · link · parent

Or func add(x int, y int): int { return x + y }

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

comment 7y ago · link · parent

Defense Innovation Board

comment 7y ago · link · parent

Iridium browser seems like a good alternative. It is firefox with a focus on privacy.

comment 7y ago · link · parent

> 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.)

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

> 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.