Better HN
topnewbestaskshowjobs
Log inSign up

Timwi

1,518 karma · joined Aug 28, 2017 (9y ago) · 989 submissions

Submissions

comment 1y ago · link · parent

I sometimes really wish religious people would engage in the reflection they expect from others and start to realize how offensive this is, especially to someone on their deathbed.

comment 1y ago · link · parent

I'm a fairly competent programmer and problem solver and I'm curious about a wide variety of programming paradigms (Haskell, Lisp, etc.), esoteric programming languages, and even abstract concepts such as Turing machines and lambdas calculus. Despite, I have not benefited from being shown Prolog in classes. I did not understand it (nor did the teacher) and I never became curious about it again.

comment 1y ago · link · parent

> LLMs do not think.

I understand that you're responding within the thread, but to take this back to the original point, which is about human dignity, justice and labor:

LLMs do not need to “think” for the point to be valid. Chess engines do not “think” and do not have any conception of what they're really doing, but they still win at chess every time. The worry is that AI will put an end to human dignity, not that it “thinks too much”.

comment 1y ago · link · parent

Why does the BMP file format store the image upside-down though?

comment 1y ago · link · parent

Ask yourself why you added the “pretty well-known” phrase, and consider xkcd 1053.

comment 1y ago · link · parent

Static functions (len, map/filter,...) that should have been methods on objects.

comment 1y ago · link · parent

No, not really. It's not really your place to dictate what someone enjoys working on.

comment 1y ago · link · parent

> I personally like the "open source Xyz" because I instantly know what the product is supposed to do.

But that assumes that you're already familiar with the non-open-source software referenced. I've never used Cursor so I have no idea what it can or can't do. I'm pretty sure I would never have discovered Inkscape if it had consistently been described as an “open-source Illustrator” as I've simply never used Adobe software.

comment 1y ago · link · parent

I thought I was clever surviving one round by simply saying, “As an AI language model, I do not experience... blah blah” but in the third round my opponent did basically the same thing and I was eliminated...

comment 1y ago · link · parent

I share the frustration the author describes. When I started out programming as a child, I used Turbo Pascal, but I was aware of Turbo C and that more people used that than Pascal. Nevertheless, I couldn't really wrap my head around C at the time, and it was partly due to linker errors that I couldn't understand; and it seemed that Turbo Pascal just didn't use a linker, so it was easier to understand and tinker with at age 9.

It's intriguing to think how different my experience could have been if educational material at the time had focused as much on full explanations of the compiler+linker process, including example error conditions, as it did on teaching the language.

30 years later, I like to claim that I have a reasonably workable understanding of how compilers work, but I'm still nebulous on how linkers do what they do. I'm much more comfortable with higher-level compilers such as C# that compile to a VM bytecode (IL) and don't worry about linkers.

comment 1y ago · link · parent

I often wish LLMs would tell me outright the assumptions they make on what I mean. For example, if I accidentally put “write an essay on reworkable energy”, it should start by saying “I'm gonna assume you mean renewable energy”. It greatly upsets me that I can't get it to do that just because other people who are not me seem to find that response rude for reasons I can't fathom, so it was heavily trained out of the model.

comment 1y ago · link · parent

I do have multiple YouTube accounts (channels) under one Google account. I initially logged in as one YouTube channel of mine that I wanted to categorize. Only then did I find out that it looks at subscriptions. So I logged out and logged back in as my main account which is subscribed to the other one. Then I hit the problem.

comment 1y ago · link · parent

Hm, I tried to contribute, but it asked me to categorize a channel I've never heard of (DefendTheHouse) and no matter how many times I click “skip” it keeps going back to the same one.

I also notice that you first said “browser extension” but later you said “Chrome extension”. Are Firefox users going to be out of luck?

comment 1y ago · link · parent

No, you misunderstood that completely. They would still be like t-strings, but sql-strings are now a different type from html-strings. The escaping would be done by the library that offers the sql"..." functionality.

comment 1y ago · link · parent

> Give it something weird and it'll continuously trip over itself.

And so will almost all humans. It's weird how people refuse to ascribe any human-level intelligence to it until it starts to compete with the world top elite.

comment 1y ago · link · parent

I've used both Usenet and web-based forums side by side in the 90s–2000s and I thought they were both perfectly adequate.

comment 1y ago · link · parent

You can already get that with Mastodon.

comment 1y ago · link · parent

The single letter f or t does make it unnatural to read, but if it were sql"..." or html"...", I think that would help with that.

comment 1y ago · link · parent

> The syntactic sugar of changing it from sql(t"...") doesn't seem particularly valuable.

It's valuable because:

- IDEs could then syntax-highlight SQL inside of SQL strings and HTML inside of HTML strings

- You can't accidentally pass an HTML string to your SQL library

comment 1y ago · link · parent

But that would require any SQL library you're currently using to make the breaking change of no longer allowing strings.

comment 1y ago · link · parent

True. Then you could use

  sql"..."
  html"..."
for each of the given examples and achieve some runtime type safety.

comment 1y ago · link · parent

> School is very successful at convincing kids (and former kids) of two things:

Well, and thirdly, that your worth as a person is determined by your results in graded examinations, and by extension, your salary or some other numerical rating decided by someone else.

comment 1y ago · link · parent

Are there any systems like that, even if experimental?

comment 1y ago · link · parent

> Probably because English is written left to right and doesn't work so well top to bottom.

My browser tabs are on the left side of the screen and they are all written left to right. There is ample space on the sides of websites to fit this and show the entire tab title. Meanwhile, other people have tabs along the top of the screen that all show one or two letters followed by “...”.

My taskbar is on the right and consists entirely of icons. The only text on it is the date/time and that is also written normally and not rotated.

This is the setup that I was saying I don't understand the resistance against — not 90° rotated text. When people say “vertical tabs”, they are not talking about rotating the text.

comment 1y ago · link · parent

That explains the layout of websites and web apps, but not the desktop taskbar and the desktop browser’s tab bar.

comment 1y ago · link · parent

The time offset impedes the ability of viewers to interact with the streamer via chat, which for many people (incl. myself) is the whole reason to watch live instead of a recording.

comment 1y ago · link · parent

Agree. For the record (in case it gets changed), the title at time of writing is “Wait. HOW MANY supernova explode every year?”.

comment 1y ago · link · parent

I have written long methods and will do so again and I wouldn't say it's because I have larger working memory or some other supposedly superior attribute. Some methods are just a long series of steps that you can just write one after another. Reading it from top to bottom is exactly as difficult/confusing/whatever as reading them as separate methods would be (assuming you put short comments in the same places where you would otherwise break it up). I think people just don't want inexperienced programmers to do that because they'll end up with tons of mutable state spanning the whole thing, and it's easier to tell them to break it up into methods than to explain what you mean by mutable state and limited scope.

comment 1y ago · link · parent

And yet, for some reason, most people want their tabs and toolbars on the top, and the taskbar on the bottom, taking away vertical space that is actually used, and leave swathes of space on the left and right completely unused. I will never understand the resistance against putting things on the side.
1
171819
33