HNHacker News
TopNewBestAskShowJobs

xani_

1,252 karma · joined January 28, 2020

submissionscomments
xani_··on Prompt injection attacks against GPT-3
I foresee marketing departments replaced almost entirely by GPT-X
xani_··on Prompt injection attacks against GPT-3
Well, exactly that, it's not attack on a database, because SQL does provide way to pass inputs correctly, just on the code that connects to database and allows that. I.e. the fault is at amateurish code before the SQL/GPT, not the "database" itself
xani_··on Prompt injection attacks against GPT-3
surely the solution is AI to scrub the PII out of input for another AI
xani_··on Some New HTTP Verbs
> The beauty of HTTP is that servers are simple (HTTP2/3 complicates things). HTTP clients have to implement all sorts of painful encodings and caching but a server (begin in charge of the conversation) can ignore all of that and be incredibly dumb.

That kinda stopped being true with all of the security theatre headers browsers want app to provide to be "secure". First we had CORS, that failed and had to be expanded every year or two, now we have the whole capabilities things, which means web server can't just serve web and even simple server serving static JS with maybe some JSON API needs to have logic for generating right headers for right page.

xani_··on Some New HTTP Verbs
I'm absolutely not, because that is not in interest of any of the payment provider to make it easier for the user to change for competing, cheaper payment provider

>The first time you use such an API using a client which would handle all the payment stuff in the background, it would open a payment channel by depositing some amount in a smart contract with a standardized interface, a

and crypto is terrible way to deal with normal money transactions on every level

xani_··on Show HN: pg_netstat, a Postgres extension to monitor database network traffic
> Before install this extension, you need to give network packet capture permission to Postgres binary.

At that point you have root and can use any of the dozen estabilished ways to do the same thing tho ?

xani_··on Is bin-opening in cockatoos leading to an innovation arms race with humans?
That "Australia vs. its wildlife" series is getting wild.
xani_··on Is bin-opening in cockatoos leading to an innovation arms race with humans?
Someone arguing for trashcan needing internet connection and power in middle of forest...

... you know that, fuck this, go ahead and pitch it to some silicon valley VC, I'm sure someone will take a bait

xani_··on Is bin-opening in cockatoos leading to an innovation arms race with humans?
"A bear training crow to help open trash cans spotted in local forest"
xani_··on Is bin-opening in cockatoos leading to an innovation arms race with humans?
That's less dumb and more egotistical, just because tourist is an asshole doesn't mean they are automatically dumb.
xani_··on Is bin-opening in cockatoos leading to an innovation arms race with humans?
Well, not exactly. The cats don't have natural predators in the city and in many other places where they were introduced
xani_··on Is bin-opening in cockatoos leading to an innovation arms race with humans?
"Those humans are nasty, now every time I hear a loud bell it means one of my friends has died"

- local bird, probably

xani_··on Software component names should be whimsical and cryptic
Sure but what to do if all the good names for doing the thing the thing is doing are taken ?
xani_··on HAProxy: How to temporary disable a back end server using the command line
Newer versions also have few more tricks up the sleeve, like you can probe and act upon client's TCP RTT and RTT variance (because apparently newer kernels just track that info and it can be accessed from userspace).

We ended up using HAPRoxy as front for pretty much everything (even if techncially slapping just Nginx would be simpler at first), just because it often happens that this and that needs to be added (stuff like adding proper headers when devs don't want to figure out how to make their '00s CMS emi the '20s security headers).

It can also talk directly via unix socket to the backends so you don't even need to have a bunch of ports open if you want to front something.

xani_··on HAProxy: How to temporary disable a back end server using the command line
you can also add

    stats admin
to the stats backend to enable ability to do that from statistics UI address. Just make sure it is at the very least behind a password
xani_··on Anti-royal protesters are being arrested in the U.K. as 'Not My King' tag grows
And, you know, the fact your country does do the "jail for opinions" thing too
xani_··on Anti-royal protesters are being arrested in the U.K. as 'Not My King' tag grows
The whole monarch clowfest does bring tourism in so it might be not complete waste of tax money
xani_··on Apple’s next big thing: A business model change
Well, there is a red banner on the site saying

> Support for the Dark Sky iOS app will end on December 31st, 2022, and support for the Dark Sky API will end on March 31st, 2023.

So basically them buying then closing the service to make their own seem better

xani_··on Apple’s next big thing: A business model change
And, well, are ouside at the time. Also need to consider location of the watch, easy to heat it just by sun (in summer) or by wearing long sleeves (when it's colder)

Air pressure on the other hand...

xani_··on Online art communities begin banning AI-generated images
Sure you can, you will just have to push it
xani_··on Online art communities begin banning AI-generated images
> The issue with AI art is that the only human contribution in those pieces is the creation of the prompt and the curation of the final image. Without sensory and experiential inputs of its own, AI can only interpolate between real images and styles. So an AI generated image doesn't add much artistic value since its not expressing any new deep truth or factual understanding of the real world.

That kind of reasoning would throw entirety of Realism into "not art", because it is also not trying to express any artistic value. And there were arguments back then too

I guess whole debate about Realism could be just copy-pasted to discussion about AI arts...

xani_··on Online art communities begin banning AI-generated images
>Like most discussions that are centred in conservatism/purism, there's always a thread of hypocrisy, because this type of person will use themselves as the golden benchmark to what is acceptable.

> To use an example: a purist painter of earlier times might shun the modern purist painter for the simple act of purchasing pre-made paints. They might bemoan that they didn't make their own pigments and mix up their own paints.

That I think is pretty much why this stupid discussion is still going - people considering their work (or just stuff they enjoy) "art" want other things to not be it to feel better.

xani_··on Online art communities begin banning AI-generated images
>Back when I was in school, there was already plenty of debate about 'what is "Art"'? It's always been hotly contested. Most of my teachers felt that 'technique' was not Art. Others were more purists – life painters, etc – and felt that, no, technique is art.

Of course people practising it would say that it is an art.

And of course they would discount stuff that is beneath them as not art. "I'm creative, I don't just copy stuff I see!", just to feel better about themselves.

So someone might say code is not an art, it's same as any other engineering. But code can clearly create art pieces, whether directly (say a shader generating pretty picture) or indirectly (AI training and generating pictures based on that).

So, what, do we just say "art is any product that you can experience and have feelings about?". Nah, can't discriminate this and that based on that vague expression! We might even accidentally call blacksmith an artist if we go too far! /s

xani_··on Online art communities begin banning AI-generated images
That's like saying "well, making knives is easy" while ignoring everything that is needed to make materials then shaping them into final form.

It's only "easy" because bunch of people over years perfected every step of the process.

xani_··on Should we let cars use the road as a projection screen?
I googled how to do it just for lulz and got youtube video with someone showing one... and some russian/ukrainian looking name in comments asking about it and asking where to get one, from like a month ago

https://www.kyivpost.com/russias-war/anti-putin-russian-rebe...

I wonder whether it's related. Probably not but train derailments are weirdly relevant to current world state...

But back to the topic... I don't think anything should be censored and am of opinion freedom of speech just need to be taken wholecloth, good with the bad, but you gotta wonder how much easier it is now.

xani_··on Should we let cars use the road as a projection screen?
I'm sure it's no harder than making one in shape of arrow lmao
xani_··on Should we let cars use the road as a projection screen?
Could just broadcast that info to cars around, ADS-B-style, then put it on HUD. Probably pretty hard to make it secure tho

I'd love to see info "the car in front of me will be taking right soon, or exact speed just displayed via HUD on top of the car.

xani_··on Should we let cars use the road as a projection screen?
It's still kinda shit design to be honest.

Could have both color and shape. Make red hexagon, yellow square for example. or really any recognizable shape

xani_··on Should we let cars use the road as a projection screen?
If you just want to feed computers just put a database with every sign location and data.

That way even faking or destroying sign would be ineffective.

Would have to be updated during temporary situations (roadwork etc) tho

xani_··on Should we let cars use the road as a projection screen?
I mean, you now have told a lot of people that you can just get a tool to derail a train easily, that I'd guess most (I didn't) don't even know it exists.
← PreviousPage 15 of 19Next →