Hacker News new | past | comments | ask | show | jobs | submit | sarreph's comments login

Claude has no trouble with SQL queries, writing tests, utility functions, component sketches (React). But as soon as I start giving it reasonably complex stuff like interdependent generics (TypeScript) or intricate custom logic implementation on top of well-known frameworks, it quite often goes around in circles or outputs code with incorrect syntax.

You know, the stuff that I would actually feel as though I was receiving intellectual help with.

Current LLMs are _great_ at doing chores. They are not so great at producing cohesive, professional-grade code.


> Just looking at JavaScript, with its ugly flights of brackets and braces and unnecessary-seeming reams of semicolons, made me miserable.

Who's going to tell them you don't need the semicolons?


The years will tell them everything they need and at all times they’ll be miserable still. Let the guy float in these most important distinctions while they can.


there are cases where you need the semicolons; the following code will complain 1 is not a function

  let t=1
  (() => {
    console.log(t)
  })();


You sometimes need the semicolons, particularly with regards to line breaks and interwoven server rendered template tags, i.e. if writing a function that is embedded in the server rendered template to be called by your bundled code, etc.


Hopefully, nobody. Some of us like the semicolons!


We chose ULID for our Postgres PK recently, and this article helped a lot in making that decision: https://brandur.org/nanoglyphs/026-ids

I personally prefer ULID since it is compat with a UUID type and you also get a timestamp lexicographically built into the ID so that sorting by ID also means sorting by timestamp. There are multiple PG extensions to make it easy to drop in and use.


How do you deal with ulid exposing the timestamp (since is lexicographically sortable) ? Maybe your ULID is not public facing? Or this is not an issue for your application?

I want to use something url friendly too since uuid sucks..


You could probably just use random uuids and then encode/decode them to ULID whenever you read/write them.


I don’t have a problem with people knowing the timestamp - it’s only precise down to the second.


All this negative sentiment around the App Router like in this post made me really scared to adopt it.

I've just been working with it for the past 2 months and absolutely love it. The biggest reason being the ability call functions directly from server- or client-side code! You basically only need to write API endpoints now for externally-facing services. Saves so much time and boilerplate...

Yes it is more complex than Pages Router. And while I'm a staunch advocate for simplicity where possible, I do think the tradeoff is worth it for new projects. It just takes a bit getting used to. The negativity feels a bit like hooks all over again tbh...


I find it kind of ironic that an article about misperceiving expertise fails to mention the Dunning-Krueger effect[0], especially with passages like:

> Imitators don’t know the limits of their expertise. Experts know what they know, and also know what they don’t know. [...] Imitators can’t. They can’t tell when they’re crossing the boundary into things they don’t understand.

[0] - https://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect


IMO Dunning-Krueger has become such a cliche that it’s more refreshing to _not_ read a reference to it in a piece where one could’ve been made. Kinda like quantum mechanics and that stupid cat in a box.


Agreed. In a bit of an ironic twist, the various folks I've encountered falling victim to the Dunning-Kreuger effect are themselves often eager to accuse others of being subject to it, as a sort of preemptive defense mechanism when an actual expert inevitably starts deconstructing the misinformation coming from the imitator.


I don't think that D–K really has much to do with it: as originally presented, it predicts that the worst performers tend to think of themselves as close-to-average performers, not as the best performers. (In particular, there's no "U curve" of self-assessment.) Imitation of expertise is more of a kind of personal bravado.


This is the funny thing about people who mention Dunning Kruger: they are often getting it wrong themselves.

The actual definition is what you said, while the popular definition is that the worst performers think they're experts.


The level that the hosts interrupted the voice assistant today worries me that we're about to instil that as normal behaviour for future generations.


The original design (PDF) document is linked in the article.[0]

[0] - https://www.goldennumber.net/wp-content/uploads/pepsi-arnell...


If bullshitting was an art form, this is a high achievement.


There was something so special and powerful about Affinity Designer V1. It was just a supreme amount of value and such a robust application that it became the tool I learned to do graphic design on, and the tool I loved.

I feel like something slipped with Designer V2 - the features went a bit weird and broad, and the amount of bugs got irritating and eroded my love for it and it being my go-to recommendation.

That all said, it’s still good software today and I’m glad the Serif team gets some kind of payday. I think the drop in quality of V2 makes the whole thing a bit less bittersweet for me.


The sad thing is that much of what was really nice in AD came from copying Aldus/Altsys/Macromedia Freehand.

I wish Adobe had at least put all of Freehand's capabilities into InDesign --- I might still be using it if that were the case.


Anecdotally, I don’t think anyone who isn’t interested in computers has ever had an easy time setting up a printer.


I haven't had issues using a printer from my mac in about 25 years. I haven't tried from Windows, but I still needed to find and download a driver when I last tried from linux.


I brought a black-and-white laser printer 20 years ago and, much like you, I haven't had a single problem since.

My parents, in the meantime, have probably gone through 6 or 7 printers. For a truly cursed printing experience, here's my advice:

* First of all, make sure it's an inkjet. They give the best colour print quality, you see.

* Second, always be on the look out for a good deal. Why buy a $400 printer when you can buy a $50 one? As far as you know it'll be junk in 2-3 years anyway.

* Third, get a wifi printer that doesn't have a screen, and make sure your wifi router doesn't support WPS. If the printer comes with an app, make sure it no longer works on your dated smartphone. Install the printer at the absolute edge of your wifi coverage.

* Fourth, make sure it's a multifunction printer/scanner/copier, and always install the manufacturer's full suite of software. You want to be able to access all the features, don't you?

Just follow these simple steps and before you know it, you'll have empathy with the many people who say printers suck.


Ubuntu has worked out of the box with every printer I've thrown at it since 2008 or so when I switched to Ubuntu. Literally tens of disparate printers from all manner of expensive laser printers to cheap no name ink jets. Both using USB and network interface.


Same here. My Mac and iPhone find my WiFi printer with ease. The only issues I have are printer related, WiFi disconnects and waking on sleep.


It’s been less than 25 years, but I haven’t had issues printing from a Linux desktop in a long while. It’s as smooth as my apple devices


I haven’t used a printer in ages but I just got a Brother laser printer last month. I plugged it in and pressed the wifi button on the printer, then I pressed the WPS button on the router and it connected. The printer then instantly showed up in the printer list on my MacBook.

I don’t know how it works and I didn’t need to. It just worked. Optionally I could have also plugged the printer in with a usb cable which I assume also just works.


I think I the same Laser Printer The Brother HL-L23600W. Windows? No problem. Chrombeook? No problem. Mac mini? No problem. Rocky Linux 9. Problem. I added the driver using the GUI, it finds it. I send a print job and sits there pretty doing nothing. No even a print queue is displayed. I re-installed the driver several times without luck. I tried cups. No dice. I believe the origin of open source was a guy wanted to code a printer driver for his own system and the printer company gave him the code and said: "go for it". Because they did not have time for that. So no, HL-L23600W The Brother laser printer it won't 'just work' for Rocky Linux 9 kernel 5.14.0-162.18.1.el9_1.x86_64 The only gadget that I own that just works is my Nintendo Switch.


Brother laser printers are such a sublimely simple experience. Quite honestly a contender for the best piece of computing-adjacent technology I have ever owned.


The miracle of mDNS and how it pissed off a bunch of Active Directory admins.


Perhaps so, but nonetheless the chronology of this hassle can be divided into two eras: our own ("USB") and that horrific prior era (LPT1:, COM1:, COM2:, ...)


I’m not sure I would necessarily call YouTube a moat-creator for Google, since the content on YouTube is for all intents and purposes public data.


There is a difference between downloading a few videos and having access to ALL of them.


A good dataset to train on. Now if after a Zoom call collegue ask you to like their video and subscribe to them on YouTube it would look a little suspicious.


A very wry observation! I wonder how fake videos will expose themselves in novel ways like this.


Not to mention all the metadata buried inside their internal api


So, it's true that IP law is going to have some catch-up to do with applications to machine learning and how copyright works in that world.

Nonetheless I'd be really worried if you were working on a startup whose training process started with "We'll just scrape YouTube because that is for all intents and purposes public data".


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: