Better HN
topnewbestaskshowjobs
Log inSign up

fullstackchris

742 karma · joined Feb 28, 2018 (8y ago) · 625 submissions

Owner of Full Stack Craft fullstackcraft.com

fullstackchris.at.hn

meet.hn/city/at-Feldkirch

Interests: Freelancing, Investment, Mobile Development, Open Source, Programming, Remote Work, Running, Startups, Technology, Travel, UI/UX Design, Web Development, Writing, Philosophy, Outdoor Activities, Hacking, Fintech, Cycling, DevOps

---

wonderfuldev_cn693xi6wq7203nxugqijvyc

Submissions

comment 1y ago · link · parent

Reading these threads its clear to me people are so cooked and no longer understand (or perhaps never did) understand the simple process of how source code is shared, built, and merged together with multiple editors has ever worked

comment 1y ago · link · parent

the stock market looked like that chart in 2008 and look where we are now

unless LLMs can be instantly trained on all new software frameworks and languages that come out, im not worried stackoverflow will still have a place

comment 1y ago · link · parent

Somehow it's ironic that this post is about AI replacing jobs and yet when I click the "accept all" option for cookies, the page reloads and shows the banner again :)

Where are the all knowing AI bots who are going to fix this?

comment 1y ago · link · parent

> you'll have customers that demand you rewrite your app just because they gave you $9

I've also seen this first hand. Customer emails me 3 times within 3 days and one of those emails included him stating that "time is precious". He subscribed on the $7 / month tier... and then cancelled the next day anyway because he didnt even read what the product did... sigh

comment 1y ago · link · parent

Well... if the author wants websockets, why doesn't the author just do it? They state clearly in pull request the community is totally free to make their own.

My guess is one will crop up within the next few months...

Speaking from the TypeScript side of things...

I will say the documentation is indeed garbage - it still includes code snippets of APIs / source code examples that don't exist anymore. Also, the choice to use zod types is also in my opinion, way over the top... the fact that I need to import a third party library to write a MCP server is wild - when you're already writing in a typed language (TypeScript)... (and yes I know the other advantages zod provides)

Otherwise it's simple enough to get started, if just tinkering around.

comment 1y ago · link · parent

Here's a custom MCP tool I use to run commands and parse stdout / stderr all the time:

    try {
        const execPromise = promisify(exec);
        const { stdout, stderr } = await execPromise(command);
        if (stderr) {
            return {
                content: [{
                    type: "text",
                    text: `Error: ${stderr}`
                }],
                isError: true
            };
        }
        return {
            content: [{
                type: "text",
                text: stdout
            }],
            isError: false
        };
    } catch (error: any) {
        return {
            content: [{
                type: "text",
                text: `Error executing command: ${error.message}`
            }],
            isError: true
        };
    }
Yeah, if you want to be super technical, it's Node that does the actual command running, but in my opinion, that's as good as saying the MCP client is...

comment 1y ago · link · parent

> early mistakes of Python?

Python.

128.

AI and Programming: The Beginning of a New Era(oreilly.com ↗)

4 points · by fullstackchris · 1y ago · discuss

comment 1y ago · link · parent

Once I gave claude read only access to the command line and also my local repos, i found that was enough to have it work quite well... I start to wonder if all this will boil down to simple understanding of some sort of "semantic laws" still fuzzily described... I gotta read chomsky...

comment 1y ago · link · parent

Code design? Perhaps. But how are you going to inform a model of every sprint meeting, standup, decision, commit, feature, and spec that is part of an existing product? It's no longer a problem of intelligence or correctness, its a problem of context, and I DON'T mean context window. Imagine onboarding your companies best programmer to a new project - even they will have dozens of questions and need at least a week to make productive input to the project. Even then, they are working with a markedly smaller scope of what the whole project is. How is this process translatable to an LLM? I'm not sure.

comment 1y ago · link · parent

> but about putting some requirements stated in a slightly vague fashion, and actualizing it for the stakeholder to view and review

sounds like a form of creativity to me!

comment 1y ago · link · parent

Good thing we're all working here in Switzerland :/

comment 1y ago · link · parent

Still cracking away CodeVideo, a way to create software educational content in a declarative manner. Design your course once, export it to every format you can think of (video, PDF, markdown, HTML, and more). I was recently inspired by the feature set I saw at Scrimba, so we just added slide functionality! The blog post is here: https://codevideo.substack.com/p/introducing-the-slide-displ...

And an example video is here: https://youtu.be/1duE604MGHs

It definitely has not gotten the traction I'd expected, but at the very least I'm very close to start making my own courses with it!

comment 1y ago · link · parent

Very impressive and cool stuff! This shares similar themes to what I'm building over at https://studio.codevideo.io - I also chose to go with an event sourcing solution. I experimented with real time mouse recording but though it was overall too complex for more advanced examples, so for now I've setted with a virtual mouse that you can move from place to place to simulate how it might actually move - I'm curious, how did you solve realtime edits and highlighting directly in the editor? Are you using Monaco editor with realtime highlighting updates somehow? It's something I still haven't implemented in CodeVideo...

comment 1y ago · link · parent

If I see another mention of the paper clip example I'm gonna lose it.

Perhaps better is to kindly refer everyone to a physics 101 text book.

comment 1y ago · link · parent

seen a lot with uvx as well (apparently a package manager for python, but i try to stay as far away as possible from python)

comment 1y ago · link · parent

Not OP but perhaps the following mcp tools: google maps api, nearest supermarkets, puppeteer their product listing pages?

Though to be honest not sure why you would need so much info - if I need lettuce or tomatoes for example, I know theyre gonna be at essentially every supermarket in my area....

comment 1y ago · link · parent

For me it was implementing a simple `execute_terminal_command` tool along with hooking up to my company's jira and gitlab (dont worry security gurus, for the command line, I have a hardcoded list of allowed read-only commands that the LLM can execute, and both jira and gitlab servers likewise have readonly options.)

What I will say is I agree there should be an option to get rid of the chat confirmations of every single new tool call in a chat - as well as building a set of "profiles" of different tools depending what I'm working on. Also strongly agree there needs to be an internal prompt possibility to explicitely tell the LLM what tool(s) to favor and how to use them (even in addition to the descriptions / schemas of the tools themselves) I opened an issue on the anthropic repo exactly about this: https://github.com/modelcontextprotocol/typescript-sdk/issue...

comment 1y ago · link · parent

Moravec's paradox

comment 1y ago · link · parent

This is super insightful, and I think there is at least part of what you are thinking of: an abstract syntax tree! Or at the very least one could include metadata about the token under scrutiny (similar to how most editors can show you git blame / number of references / number of tests passing in the current code you are looking at...)

It makes me think about things like... "what if we also provided not just the source code, but the abstract syntax tree or dependency graph", or at least the related nodes relevant to what code the LLM wants to change. In this way, you potentially have the true "full" context of the code, across all files / packages / whatever.

comment 1y ago · link · parent

Thats what I'd like to know, is this the kind of process that we can _get_ to 6 sigma by more observation time? Or would we need other observations / thats "as good as it gets" for the Webb's capabilities?

comment 1y ago · link · parent

Many trolls hiding in these comments... either that or they just dont understand what the scientific method is.

comment 1y ago · link · parent

Bostrom's trilemma and the notion of the Great Filter!

But in the grand scheme of things, even its "bad news" just ONE datapoint of life elsewhere is at least something to start working with.

comment 1y ago · link · parent

Love it - and ironically this is something one would struggle to build with "vibe coding" alone

comment 1y ago · link · parent

and the next 10 after that, and the next 10 after that, and...

comment 1y ago · link · parent

I write _extensively_: on my own personal blog [1], on my companies blog, on various substacks, on medium, and on dev.to... idk, what this author seems to suggest might happen with good writing and sharing hasnt really panned out for me... but who knows? Maybe I just suck at writing!

[1] https://chrisfrew.in shameless plug

comment 1y ago · link · parent

Definitely agree there. There seems like there is a label for EVERYTHING these days. Coincidentally there was an article in the paper I saw just today about how destructive self diagnosis can be (and how many gen z / alpha are doing that via tiktok) I rememeber when some first tried to explain ADHD to me... and I was like... "what? elementary school kids dont like sitting in a classroom for 6 hours a day? so like, being NORMAL?"

Source: I had / (have?) ADHD, don't think about it at all anymore, just keep working hard, stick with hobbies and you can do great things regardless of what "labels" society has assigned you.

comment 1y ago · link · parent

There is a $499 a month enterprise subscription hidden deep within the account page... ;) but what do you mean exactly? multiple accounts / live sharing sessions? Tied to an org's codebase?
1
456
21