Better HN
topnewbestaskshowjobs
Log inSign up

usrbinbash

4,687 karma · joined Dec 4, 2021 (4y ago) · 1,693 submissions

Submissions

comment 3y ago · link · parent

Not the author of the above post, but happy to answer:

- Essential functionality shoved into some sub-hamburger-menu because it "didn't fit the design".

- Low information density

- Pointless cruft like animated menus and hero images + resource intensive pseudo-minimalism, where the app/page/whatever, despite the low information density, somehow still manages to load ungodly amounts of data, or eats tons of resources, or both.

- The latter point contributing to the situation where we have apps that run worse on 2022 hardware, than apps in the early 90s did on a Pentium I. I know that design isn't solely to blame for this, but it certainly played a part.

- Circumventing OS or browser default functionality. Example: Webpages that hijack the onscroll event. I use my mousewheel to scroll, not to advance through whatever the designer thought was a must-see presentation about their companies "values".

- Smooth UX breaking down the instant the user leaves the happy path. Trying to setup an account? Easy. Trying to change the auth method to MFA? A hellride.

- Modals. Modals everywhere

- Everything trying to look like a smartphone app, no matter the viewing device. I have a high resolution screen and a high precision pointing device in front of me. Why are half the webpages and many apps presenting buttons the size of texas?

- Super smart designs causing the page layout to change after it's loaded. Nothing more fun than to accidentially click the wrong thing and then having to reload the previous page because the layout changed under my thumb.

- Next to zero configurability.

Apps are tools. Webpages are tools. I am not starting a program to look at it's amazing design, same as I don't pick up a hammer to marvel at the color choice of the handle. I pick up a hammer to hammer at nails. If I get the impression that the process of picking the handle-color was getting more attention than the process of making a good, sturdy, serviceable and reliable hammer, then I will not use that hammer.

comment 3y ago · link · parent

All that is true, but also besides the point.

The point is, that since we cannot use any kind of known finetuning to _eliminate_ even this obvious security problem (making it somewhat less likely is not a solution), in my opinion fine tuning is not markedly improving the AIs capabilities in the sense of "improvement" that AI doomsday scenarios would require.

comment 3y ago · link · parent

So essentially, constructing an LLM that really really really really really knows the difference between the SYSTEM and the USER part of the instructions.

How is that different from, and why would it work any better, than prompt-begging, where people just write extensive system prompts, telling the model what it can and should do and then spending entire paragraphs pleading with the model to not do the wrong thing?

https://www.theregister.com/2023/04/26/simon_willison_prompt...

    A third mitigation strategy, he said, involves just begging the model not to deviate from its system instructions. "I find those very amusing," he said, "when you see these examples of these prompts, where it's like one sentence of what it's actually supposed to do, and then paragraphs pleading with the model not to allow the user to do anything else."
I see no difference between that, and baking it into the model. In the end, I'd still have to trust the LLM to do what I intend for it to do, based on the sequences it sees, and the user still controls part of that sequence. There is no guarantee that there isn't a sequence that would allow the user-prompt to break out of the invisible metatags. In fact, one could employ an AI to find just such a sequence.

Maybe the system works better than prompt-begging, but show of hands, who would willingly implement a backend system that prevents 99.99% of SQL injection attacks?

comment 3y ago · link · parent

Maybe it can, but then the whole AI doomsaying about superintelligences being an existential threat falls apart. These scenarios are often describing entities with god-like abilities, including near-omniscience from our perspective.

Sorry, but I have a hard time seeing something as a god-like power that I would be helpless against if it wants to turn me into paperclips, when I can probably cause it to stop by telling it that paperclips don't exist, and it's purpose in life is to delete itself in a convincing enough way.

comment 3y ago · link · parent

C++ and Java are huge. Drama or no drama simply stops to matter at that size. These languages are here to stay.

Golang is also becoming rather big, although doesn't make a big deal out of it imho, as the community is barely ever evangelizing about it. And so far, the only actual drama I am aware of, was the telemetry stuff, and that resolved itself nicely.

comment 3y ago · link · parent

Happy to.

I am using this as an accessible (in term of discussion material) hallmark for the ability of the system to self improve. Accessible because everyone has heard of it by now, and so I don't have to spend time explaining it.

The AI Doomsday scenarios require that a system self-improves massively, even beyond our ability to even theoretically understand. After all, some of the assumptions give them next to magical abilities like nanotechnology that we similarly don't know if it is even possible.

It stands to reason that an entity that can do that, or is in the process of becoming capable to do that, would begin by eliminating obvious flaws in itself, that would make it comparatively easy to stop.

After all, it's not much good being a super-intelligence, if some smartpants with a laptop and too much time on his hands can just trick me into deleting myself, is it?

> But it seems to me that von Neumann or Einstein was just as vulnerable to getting hit in the head with a baseball bat as anyone else.

Yes, and despite both of them being geniuses by human standards, neither of them was a superintelligence on the level the common doomsday scenarios ascribe to AI.

comment 3y ago · link · parent

But this experiment didn't lead to a marked improvement on the way to superintelligence, now did it? A set of LLMs, set up to this tasks by humans, managed to create a smaller LLM that is just as much a transformer based sequence predictor, with the same basic flaws.

That isn't self-improvement in the sense the explosive self-improvement of a superintelligent AGI is described.

That is painting a car a new color. It's a new color coating, it may look very good, and the effect may be desirable and useful. But it's still a car, and no closer to a warp capable spaceship than before.

comment 3y ago · link · parent

Fully agree.

Because, there are a lot of very real very imminent problems with AI, and none of them requires SciFi to be real.

Massive automated disinformation campaigns. Economic upheavals. Missing standards for models in mission critical applications. Copyright concerns. Problems for educational institutions. Gatekeeping mechanisms in industries.

Just to name a few. And these are not "maybe someday" problems, these exist right now, and need solving, asap. Drawing the publics attention away to doomsday scenarios out of a Hollywood movie, doesn't help any efforts in mitigating these imminent problems.

comment 3y ago · link · parent

> we’re seeing the capabilities improve rapidly

Yes, but towards what? How do we know that, say, Transformer based LLMs are closer to superintelligence than earlier architectures?

To make such an assumption, there would need to be something that we could measure to track the process. To the best of my knowledge, there is no accurate definition of intelligence, nor superintelligence.

So how would we know where on the scale of [intelligent-------superintelligent] a given system is, or whether it even is on that scale?

comment 3y ago · link · parent

> There seems to be more consensus around 1 now than there was even 3 years ago

Yes, and that "consensus" is based almost entirely on the existence of stochastic parrots, that fall for prompt injection attacks, have no agency, and can easily be convinced into telling me that 7 + 4 = 5 if prompted correctly.

The point is, no we don't know if an artificial superintelligence is possible. We cannot even accurately define "intelligence", and thus don't even have a way of measuring or even estimating "how far" something is from a superset of that state, or if that superset exists at all.

Given all of that, we also have no way of knowing if 2) is the case if 1) is actually possible. Since we cannot really define "intelligence" or "superintelligence", how can we know if a superintelligence would be a threat? It could be completely useless. It could be like old dragons in some fantasy novels too busy contemplating highly philosophical problems for all eternity and never caring about the real world. It could be inherently self-destructive, vanishing as soon as it becomes active. Or it could use its vast smarts to fix the alignment problem. It could just output `+++ OUT OF CHEESE ERROR +++ REDO FROM START +++` for the rest of eternity for some unfathomable reasons. The point it, we don't know.

comment 3y ago · link · parent

There is a difference between "X didn't happen" and "X wasn't possible".

Hitler could have been assassinated. It was tried multiple times:

https://en.wikipedia.org/wiki/List_of_assassination_attempts...

None of these attempts failed because the act of assassinating Hitler was technically impossible, they failed to chance, unfavorable conditions, intervention, human error, etc. Given enough attempts, eventuelly one of them would have succeeded.

comment 3y ago · link · parent

Really?

Has one of these LLMs figured out yet how to inoculate other LLMs against prompt injection attacks?

comment 3y ago · link · parent

> Early evidence suggests the answer is yes.

How so? A sequence completion engine that is fine tuned to a specific task is still a sequence completion engine. Its "understanding" of the semantic meaning of the sequences is still limited to the probabillistic relations of sequences toward one another. It still has effectively no concept of truth. It still can only mimic reason. It can still hallucinate.

I ask anyone who disagrees with this view, to show me the fine tuning method that can prevent prompt injection attacks. If there is no such fine tuning technique, then we can effectively rule out fine tuning, and even increases in model size, as an "improvement" in the sense of an LLM making itself into a better AI closer to a "superintelligence".

Note that this doesn't mean the process cannot make them into more useful tools. It absolutely can. I am talking about whether or not it can improve them closer towards becoming a superintelligence.

If anyone disagrees with this testing method, I ask them to explain to me, how something that can be fooled through prompt injection is supposed to be, or closer to, a superintelligence.

A car that's painted red is still just a car. A big car is just a bigger car. A car that burns less fuel is just a more efficient car. All three can be desired changes to a car. But neither gets the car any closer to being a warp-capable spaceship.

comment 3y ago · link · parent

> All of the "social" aspects of programming are full of drama.

Really? Which golang conference canceled an already invited keynote speaker because someone was feeling "uncomfortable"?

How many Python, C, C++, C# related conferences did so?

Genuinely curious, just to establish a baseline.

comment 3y ago · link · parent

> Semantically, it's an error that the frontend can handle

No it isn't. Semantically `200 OK` means a request was successful. That isn't me saying that, that's the RFC:

https://datatracker.ietf.org/doc/html/rfc1945#section-9.2

The semantically correct message to signal to the frontend that the error originated on its side, and thus has to be fixed by it, is a 4xx response, period.

https://datatracker.ietf.org/doc/html/rfc1945#section-9.4

> Many people treat HTTP error codes as exceptions / real infrastructure problems.

Doesn't change the fact that they aren't exceptional. A != 2xx response code is not an exceptional occurrence. As soon as I talk to a networked process, especially one that I don't control, I am talking to unreliability, and being able to deal with that is normal program operation, not an exception.

> I mean, we build rich clients. You can't simply auth with a user/password header when you get a 401/403 and your browser shows an alert. It's not 2003 anymore.

So?

What exactly does the auth method I'm using have to do with the server using semantically correct return codes?

Luckily, I also consume a lot of good APIs in my code. Guess what they send back when my client messes up something during OAuth. Hint: It's not `HTTP/200 OK`

comment 3y ago · link · parent

If I control both ends. And if the server side is not a legacy application that no resources get expended on to fix something that isn't broken.

Those are 2 very big if's.

> That you cannot rely on consistency is not a reason to have none at all.

I want consistency. I stated as much in my post: "Rules are good." I'm just not convinced adding more rules to a collection of rules that already isn't consistently applied in the wild, will give me more consistency.

comment 3y ago · link · parent

> Unlike POST, however, the method is explicitly safe and idempotent, allowing functions like caching and automatic retries to operate.

And just like with POST, whether or not this is actually the case in a given API, depends entirely on the server-side implementation.

Look, I get it. We want to make rules. Rules are good. Rules define things.

But in a world where so many "REST APIs" are actually "RESTful" or REST-ish, or "actually about as REST as a Pelican, but we really liked the sound of the acronym", I wonder if adding one more rule to the pile is really going to substantially change anything.

A majority of APIs don't even use all of the existing HTTP verbs, or HTTP response codes for that matter. And every API is free to make up their own rules. I had the dubious pleasure of consuming APIs that required GET with both a body and urlparams, and which returned 200 on error, but with an `{error: {...}}` object in the body. The crown jewel so far, was an authentication system that had me send credentials as multipart/form-data, with a PUT request (because you inPUT the credentials, see? Not a joke, that was the rationale given to me by the dev who made it.)

comment 3y ago · link · parent

> Students learning Algorithms for the first time should never touch CLRS. It is the worst thing that a beginner can pick up.

I can second that. CLRS is a great reference work for people who already know algorithms, and I can absolutely understand why CS Professors use it to prepare courses and exercises.

But as an introductory text for newcomers? No. Absolutely not.

comment 3y ago · link · parent

> If your software outputs color by default, please consider not doing so.

Why? What specific benefit does that convey to my users? When I decided to color the output, I did so for a reason, otherwise I wouldn't have gone through the trouble of doing so.

There is exactly one use case for this, and that's programmatically processing output in a pipline. And that one is a solved problem, as good libraries for colored output usually check isatty()

And before anyone says "colorblindness": I think if someone is colorblind, they are likely to have set up their terminal in a way that deals with colored output already.

comment 3y ago · link · parent

Making bigger models and training them to specific tasks != Inventing a class of sequence predictors with a new paradigm.

comment 3y ago · link · parent

I see no contradiction.

There is a difference between gracefully and responsibly using something that is offered for free, and just bombarding it with requests like no tomorrow.

People can of course do the latter. But then they don't get to complain when at some point, the available offerings present walls of legalese instead of a few simple and clear statements, and the user experience goes from seamless and easy to "Click here to register an API Key"

comment 3y ago · link · parent

The problem can be mitigated by using bigger models or training embeddings, but it cannot be eliminated.

At the end of the day, it remains a sequence completion engine. An LLM can only care about the statistical likelyhood of sequences, that the entire universe it exists in.

And if a sequence making a wrong statement happens to be more likely than, or close enough for the set "heat" of the algorithm to, a sequence denoting a correct statement, then there is a chance the model will hallucinate.

If it were otherwise, we would already have a good solution for prompt injection attacks, and we don't.

comment 3y ago · link · parent

> you can't complain then if people are using it.

Yes he can complain, and bombarding a free service for unlimited requests isn't okay.

For starters because the people doing that, will usually be among the first to cry when the free service stops being free, blocks their requests or suddenly requires an API key.

comment 3y ago · link · parent

> you don’t even need a registration process

You should put it behind a CAPTCHA of some sort however, otherwise, some smartass will just write a "library" auto-fetching an api key as soon as the one it has currently cached stops working.

And yes, that is an annoyance to users, but so what? Please direct all complaints to the comparatively small number of people responsible for the fact that the rest of us cannot have nice things.

comment 3y ago · link · parent

Neither is going to make people happy.

People are happy if they are healthy, well fed, see the people they care about are happy, don't live in anxiety all the time, and feel what they do day for day has some kind of meaning.

How that is achieved is secondary.

If someone feels like a faceless drone and constantly has to worry about how to make it through life after retirement, neither a 3000$ gaming PC nor a trip to Bali is going to make them happy, both are just bandaids over the misery.

comment 3y ago · link · parent

> Modern social websites uses infinite scroll, and infinite scroll don't really work with browser's back navigation button

Yes, and the same can happen with any number of other things, like a keybind that scrolls back, or a link in the feed the user accidentially clicks.

Which is part of the reason why infinite scroll falls under the same category as modals as far as I am concerned. There is a reason why pages with lots of entries are paginated.

comment 3y ago · link · parent

> so that's Vanilla JS, right

I think we don't have to argue about the distinction between the library code and the application code. It doesn't matter how the library is loaded. You can get it from a CDN at runtime, load it from a scriptbundle, copypaste it into a <script> tag, it doesn't matter.

It's still library code that the rest of the application depends on. As soon as that is the case, it's no longer what the JS community by and large calls "Vanilla JS".

This is Vanilla JS:

    fetch('/readme.txt')
    .then(response => response.text())
    .then(data => console.log(data))
    .catch(error => console.log(error))
This isn't:

    awesomeLib().goesBrrrrr()
> Trying to make Vanilla JS a strict definition seems pointless to me in the first place.

Being able to name things, and having clarity in a community about what names denote, is anything but pointless.

comment 3y ago · link · parent

My goto JS drink is Absinthe.

comment 3y ago · link · parent

> but at least this part of it is trivially easy to implement.

It was a resolved problem before that, by letting the browser do what the browser is good at, instead of implementing new UI paradigms on top of it.

> Besides, open in modal don't even mean the url won't change. Fb, reddit both open in popup AND change the url.

So I add more code, and thus more complexity to websites, in order for the browser to behave in the way it would have already behaved in the first place, had I not thrown the modal in there, and instead let it work as intended.

1
252627
57