Live data from Hacker News

I think I need to go lie down

twitter.com

421–430 of 475 posts

Re: I think I need to go lie down

#421

ITT: people in denial while the writing on the wall is literally shoved into their face.

I see it - the majority of knowledge work in the next 20 years will done better by computers than by humans. This will destroy the middle class world-wide. That's the fear anyway.

To be fair, people also said that 20 years ago: https://en.wikipedia.org/wiki/AI_winter

Re: I think I need to go lie down

#422

Earlier quoted context omitted.

Don't worry, in 5 years it will just be another layer in the JS dev stack, so then not only the version of npm, dependencies, docker, and 3 API keys have to match but you'll also need the correct commit of the 20GB LLM so the build doesn't fail. All for the sake of simplicity and increased productivity, of course.

We’ll have dependency files for LLMs in our mixture of experts config and we’ll get paged at 2am to update a version of an LLM because there’s a new social engineering CVE making it vulnerable to disclosing secrets.

let chatgpt fix our dependency issues

Re: I think I need to go lie down

#423
post #194

Earlier quoted context omitted.

> We're not quite at the level (yet) of feeding a whole codebase to an LLM and making it add features or make changes while understanding the big picture of the problem being solved We are one step away from that. All we need is a more advanced form of fine tuning.

lol, this magical thinking; also not AI, it's ML

ML is a kind of AI

Re: I think I need to go lie down

#424

I gave it a mockup from a FB interview question (two lists of checkboxes with two buttons to swap checked items between them) and it nailed it: https://gist.github.com/milesrichardson/2a2f77d4bfb19c3b28dc...

I checked in a screen reader. Nothing is announced when pressing the buttons. This is a problem. It should say something like “Checkbox B moved to the left”. Without any sort of announcement, the user has no idea if pressing the button did anything. Test page: https://output.jsbin.com/jixoqur/quiet

Thank you very much for your insightful review and valuable feedback regarding the accessibility of our recent list transfer feature. Your suggestions were instrumental in enhancing the user experience, especially for those relying on screen readers. I have incorporated your recommendations into the updated code [0], ensuring better accessibility and usability. I'm also including a link to our conversation [1] for further context and transparency. Your thoroughness and attention to detail are greatly appreciated, and I look forward to your continued guidance and expertise in future projects.

[0] https://output.jsbin.com/hawelubaxo/quiet

[1] https://chat.openai.com/share/faa9e2b7-8e4c-4ee3-9386-1f74ea...

Re: I think I need to go lie down

#425
post #224

All the developers out there who make demos for scaling and rotating a box are about to lose their jobs!

Scale Rotation const transformSquare = () => square.style.transform = `scale(${scale.value}) rotate(${rotation.value}deg)`; transformSquare();

Fuck. I just lost my job.

Re: I think I need to go lie down

#426
For the recent Galactic puzzle hunt competition [0] there was a problem that involved generating 5x5 star battle [1] grids that had a number of unique solutions in the range of [1, 14]. We initially tried to get chatGPT to write a python script to do this, and couldn't get it to produce anything functional. Conceptually it's not a hard problem, and can be solved in ~50 lines of python or so. Interestingly, chatGPT can describe in natural language the basic approach that you should use (DFS with backtracking). Anyway, here's one prompt I used for the generation portion. Is there something one can do to make LLMs more likely to produce functional code output?

```

Write a python iterator to generate all 5x5 grids of integers that obey the following criteria: 1. the grid contains only numbers 1-5 inclusive 2. each number is included at least once 3. Each number 1-5 forms a continuous connecting region within the grid where two cells are considered connected if they share an edge.

For example the following would be a valid grid subject to these rules: [[1,5,3,3,3], [1,5,3,3,3], [1,5,3,3,3], [1,5,3,3,4], [1,5,2,3,3]]

But the following would not be a valid grid because the `1` in the top right corner is not connected to the 1s along the left edge: [[1,5,3,3,1], [1,5,3,3,3], [1,5,3,3,3], [1,5,3,3,4], [1,5,2,3,3]]

```

[0] https://2023.galacticpuzzlehunt.com/game/ [1] https://www.puzzle-star-battle.com/

Re: I think I need to go lie down

#427

Earlier quoted context omitted.

Disable the cache in dev-tools, you can't miss it.

It would be great if someone could open a github issue with reproduction steps and maybe a screenshot: https://github.com/lovasoa/SQLpage/issues The worst I'm able to get when manually disabling the cache and simulating a slow 3G connection is this: a blank page first, then text in the browser's font, then the text re-renders with the right font, then the icons load. The user should never see completely unstyled cont…

[deleted]

Re: I think I need to go lie down

#428
post #218
post #33

Such recent demos show both how impressively ML/AI has advanced recently, and how unimpressively repetitive and unoriginal tasks keep being reimplemented by millions of developers worldwide. Since most UI screens can be accurately described in one or two paragraphs, it's no wonder they can be represented in much detail in a relatively small embedding vector.

Well billions of human beings are living remarkably repetitive and unoriginal life. Doing few categories of work, living in few categories of home, and eating few varieties of food. Same for entertainment, transport and so on. Most people are just running in rather tight loops. Perhaps to start with, one way to have vastly more creativity/diversity of things people do is to have vastly fewer humans on earth.

[flagged]

Re: I think I need to go lie down

#429
post #134

Earlier quoted context omitted.

Most users don't care about any of that, either. And I would argue that i18n and l10n belong outside your language's framework (and obviously outside CSS).

> Most users don't care about any of that, either. That's because they don't know what they are. They suffer the consequences of not having them though.

Hotkeys go the other way around, causing chaos for users that accidentally trigger them. There's a lot more suffering there having them than not.

Re: I think I need to go lie down

#430

Hey, Steve here from tldraw. This is a toy project with a horrible security pattern, sorry. If you want to run it locally or check out the source, it's here: https://github.com/tldraw/draw-a-ui . You can also see a bunch of other examples at https://twitter.com/tldraw . Happy to answer any questions about tldraw/this project. It's definitely not putting anyone out of work, but it's a blast to play with. Here's a more…

Steve, where do we send the money? Jokes aside, this is pretty compelling stuff. It maybe a toy, but look at all these kids and how happy we are.
Post reply on HN