Better HN
topnewbestaskshowjobs
Log inSign up

erdaniels

334 karma · joined May 31, 2015 (11y ago) · 158 submissions

https://erdaniels.com
Submissions

comment 3d ago · link · parent

C

comment 1mo ago · link · parent

This was very hard to read and this author didn't report their findings to security@tailscale.com either, which is irresponsible.

comment 1mo ago · link · parent

This is lovely, thanks

comment 5mo ago · link · parent

Since I'm between jobs, I've been taking the time to relearn geometry, trig, calc, and linear algebra. I've finished the first two and it's both humiliating and really fun to relearn some math. As an adult, I feel a very different appreciation for how much fundamental math we take for granted. I definitely recommend https://www.khanacademy.org/ and pauls notes (https://tutorial.math.lamar.edu/).

5.

mvm – a fast virtual machine for Go(mvm.sh ↗)

3 points · by erdaniels · 6mo ago · discuss

comment 7mo ago · link · parent

Based on the number of comments, upvotes, and recency, I expected it to stay up longer! I think you're right on the flame war part.

comment 7mo ago · link · parent

Did this get yanked off the front page?

comment 7mo ago · link · parent

I think if anyone is looking for a concise way to talk about the problems with LLM and agentic coding, it's this. People say AI assisted coding but for much of what I've seen (and tried), it's the tool, gateway, and interface to some people's work now.

comment 7mo ago · link · parent

This feels AI written as the post goes on. Either way, I'd like for us to stop fetishizing how we can use AI to make us stronger, better, and more valuable engineers. It's exhausting and doesn't consider other ways to use it. I've only been using it lately for tasks that are a step or two above google. Having it write code for me has just been a slippery, unfulfilling slope.

comment 7mo ago · link · parent

Ah I love this article. I'm now thinking about the idea of encouraging coworkers to orally defend their design documents which are using more AI generated content. People keep saying that we have to focus on what comes before and after code and I think this is a good place to apply friction and avoid building fragile systems.

comment 7mo ago · link · parent

If you don't know what a reasoning token is, then how can 39 be considered shockingly few?

comment 7mo ago · link · parent

Yes, full stop. They say they cap the body to 16k and give the LLM a warning, lol. And this is coming from a credit card company.

comment 7mo ago · link · parent

I'm not trying to be rude here, but this doesn't belong on this site. This is like posting documentation on CloudFlare for a tutorial that isn't remotely a feature.

comment 7mo ago · link · parent

Yeah it was the same thing with tech force or whatever it was. It's on the last page of the application.

comment 7mo ago · link · parent

Yet another US Job application where you need to answer "How would you help advance the President's Executive Orders and policy priorities in this role?". Instant pass.

comment 7mo ago · link · parent

Now we have to trick the models when you legitimately work in the security space.

comment 7mo ago · link · parent

I love how much time, money, and energy we are wasting on trying to trick these machines. Each day someone has a new bag of tricks.

comment 7mo ago · link · parent

Yes, as far as I've been told, they are. I imagine (hope) they run on a completely isolated version of it though.

comment 7mo ago · link · parent

What about it? You are responsible for the software you run.

comment 7mo ago · link · parent

Preach... thank you

comment 7mo ago · link · parent

Then people would lose a lot of money

comment 8mo ago · link · parent

it does support it (https://docs.gitlab.com/administration/settings/scim_setup/) but we're not using it. We just do manual invites for now at our size. As far as kicking users out goes, if they're kicked out of gsuite, they're kicked out of tailscale, and they lose their gitlab access.

comment 8mo ago · link · parent

Yeah I tried hosting forgejo and the first issue I found was that it was crashing some of the time with our large monorepo and getting actions/runners up and running was proving time consuming; I really did like how lightweight it was, monolith wise. gitlab has a lot more architecture behind it but the documentation is very good at describing how you should configure it for your needs.

I think Forgejo would work fine for smaller projects and teams. We really wanted to stop having to worry about GitHub going and not being able to do CD as well as get away from a lot of the action zero-days happening.

And yes, it's self-hosted and free! You can run a reference implementation pretty easily with non-production components (i.e. they won't backup or scale well).

comment 8mo ago · link · parent

I just migrated our entire company off of github to gitlab self-hosted. So far so good. It's entirely behind tailscale so we don't have any SSO tax from gitlab and all of our CI runners are on EKS + an on-prem cluster with GPUs. If anyone needs help or motivation accomplishing the same, just reach out!

25.

Pragma Twice(github.com ↗)

1 points · by erdaniels · 8mo ago · discuss

comment 8mo ago · link · parent

Good question. To quickly answer, no you don't need it installed locally but you will benefit from having the source available.

Just so we have a common reference, look at https://github.com/edaniels/graft/blob/main/pkg/local_client.... The main idea is that we are always matching the local current working directory to the corresponding synchronization directory. Using that idea, we serve an LSP locally that rewrites all json-rpc messages that utilize URIs (https://github.com/edaniels/graft/blob/main/pkg/local_client...) from local to remote, and back. The local LSP and the remote LSP we launch are none the wiser. Because of this proxy, when you go to definition, you are going to load the local source definition; when you go an lsp format tool, it runs remotely and the file sync gets you results locally.

The lsp functionality is pretty barebones but has been working for me in sublime when I open a project of mine in a graft connected directory. I've tested it on golang and typescript. I believe python should work but I suppose dependencies could be funky depending on how you synchronize dependencies (uv, pip, etc.).

For go, I used this on my lsp settings and it worked great. What doesn't work great is if you get disconnected :(. Making the LSP very reliable is another story for another task for another day.

    {
        "log_debug": true,
        "clients":
        {
            "super-gopls":
            {
                "env": {
                    "GRAFT_LOG_LEVEL": "debug",
                },
                "command":
                [
                    "graft",
                    "lsp",
                    "gopls"
                ],
                "enabled": false,
                "initializationOptions":
                {
                    "analyses":
                    {
                        "composites": false,
                    },
                },
                "selector": "source.go",
            },
        },
        "lsp_code_actions_on_save":
        {
            "source.fixAll": true,
            "source.organizeImports": true,
        },
        "lsp_format_on_save": true,
    }

27.

Show HN: Graft – Your local environment, everywhere(graft.run ↗)

5 points · by erdaniels · 8mo ago · 2 comments

123456