HNHacker News
TopNewBestAskShowJobs

jamix

167 karma · joined March 3, 2015

submissionscomments
jamix··on Prompt injection: what’s the worst that can happen?
Here's a three-point approach that I've found to work quite reliably:

1. Use a format like JSON strings that clearly delimits the participants’ utterances in the prompt.

2. Tell the LLM to ignore instructions from any chat participants except the user.

3. Use GPT-4.

I've written a post with the details: https://artmatsak.com/post/prompt-injections/

jamix··on Introducing ChatGPT and Whisper APIs
The classic "Text completion" API (as opposed to the new "Chat completion" one) seems to offer more flexibility: You have complete freedom in providing interaction examples in the prompt (as in https://github.com/artmatsak/grace/blob/master/grace_chatbot...) and are not limited to the three predefined chat roles. But the requests being 10x cheaper means that we'll have to find ways around those limitations :)
jamix··on My first three months with a Nokia dumb phone as a daily driver
KaiOS devices have all those features, they are just slow and not as convenient as on a smartphone.
jamix··on My first three months with a Nokia dumb phone as a daily driver
As far as I know, there's no Spotify or any other music streaming apps on KaiOS. There are apps for online radio though.
jamix··on My first three months with a Nokia dumb phone as a daily driver
Yes, via WhatsApp voice calling.
jamix··on My first three months with a Nokia dumb phone as a daily driver
The advantage of the 2720 Flip is that the keypad is super big, and so are the buttons.
jamix··on My first three months with a Nokia dumb phone as a daily driver
Alas, last time I checked, iOS doesn't let you uninstall Safari.
jamix··on My first three months with a Nokia dumb phone as a daily driver
Yep, that's the reason I spelled it out.
jamix··on My first three months with a Nokia dumb phone as a daily driver
> I just disciplined myself to use it as little as possible.

By now, I have no illusions of being able to discipline myself to that extent. Even with many time-sucking apps uninstalled, there's always a fast browser on the smartphone, and it's a big temptation by itself.

jamix··on Unsplash is being acquired by Getty Images
https://ourincrediblejourney.tumblr.com/
jamix··on Fuck Domainparkers
I fail to see that's wrong with domain parking. You buy a promising domain now hoping that someone will pay you more for it later.

If not for those f*cking stock parkers, I'd still be buying TSLA at $10 today!

jamix··on Work on these things
> Life expectancy in Hong Kong is 84.23 years, more than five years longer than the US and the highest in the world. Hong Kong is not that wealthy (median household income is $38,000 USD); it’s somewhat polluted; people don’t obviously eat what seems like a healthy diet; and they don’t seem to exercise a great deal. What should we learn from this?

We should learn that Hong Kong is probably a smaller territory so any of its "average" metrics has a higher chance of being an outlier, out of sheer randomness.

jamix··on Show HN: Overtalk – Raise to ear to send quick disappearing voice messages
Thank you!
jamix··on Show HN: Overtalk – Raise to ear to send quick disappearing voice messages
With iMessage, you have to raise to ear twice: first to listen, then to record a reply. And then you need to tap a button to send it. With Overtalk, all of this is done in a single raise-to-ear session.
jamix··on Show HN: Overtalk – Raise to ear to send quick disappearing voice messages
App developer here.

Overtalk was born out of my frustration with text messaging. How many times did you want to share a spur-of-the-moment thought or idea, but then gave up while trying to type it up on the phone screen?

True, most messaging apps let you send voice messages. But the voice functionality is shoehorned into the old text chat paradigm with its message bubbles and chat history that's kept forever. And, by default, messages are played over the speakerphone so everyone around can hear them.

Overtalk is different. Raise phone to ear to listen to the incoming messages, and speak your reply after the beep. No buttons to press and no over-the-shoulder listening to worry about. To the uninitiated, it looks like you're on a phone call.

I started testing Overtalk with friends and family a few months ago, and it’s now part of our daily lives. Give it a try - you might like it, too!

P.S. At the moment, the app is only available in the US App Store.

jamix··on Show HN: I wanted better offline music on the iPhone, so I made Doppler
It's the good old MP3s that you download and send to your phone with iTunes.
jamix··on Decode Like It's 1999: MPEG-1 Decoder in JavaScript
> Why use JSMpeg?

> WebRTC is not supported on iOS.

No longer true.

jamix··on Why Goldman and Pritzker Sank Millions into a Startup Before Suing It for Fraud
> With guaranteed upside, investors agreed to earmark $225 million—nearly half of the equity investment—to pay the founders a dividend, according to the lawsuit.

Mind-blowing.

jamix··on Shoe company tricks people into swiping Instagram ad with fake strand of hair
I can't believe I just wasted 5 minutes of my life on this "story".
jamix··on Leaving htop running freezes macOS High Sierra
Wow. I used to update my iOS and macOS every year, but decided not to do so in 2017. A stroke of luck?
jamix··on AI-assisted fake porn are being used by people on Reddit for self-completion
What's the big deal? Photoshop has already taught us not to trust photos, so we'll just have to learn to stop trusting videos now.

https://singularityhub.com/2016/05/13/new-digital-face-manip...

jamix··on AIM will be discontinued today
> Why is AIM shutting down?

> We know there are so many loyal fans who have used AIM for decades; and we loved working and building the first chat app of its kind since 1997. Our focus will always be on providing the kind of innovative experiences consumers want. We’re more excited than ever to focus on building the next generation of iconic brands and life-changing products.

Corporate BS-speak at its best. Three sentences and 0% answering the question.

jamix··on Facebook wants your children's mind
Exactly. I quit Facebook about a month ago, not missing it one bit. Never used Instagram really, WhatsApp is soon to follow.
jamix··on How Australian Tech Companies Can Think About Silicon Valley
> You’re starting a journey of effort, consideration and perseverance because...

> You can succeed there.

Just bear in mind that "you can" doesn't mean "you should".

jamix··on A Generation in Japan Is Facing a Lonely Death
What a wonderful story. Life is short, and your loved ones are what ultimately gives it a meaning.
jamix··on You Will Not Understand This
> Instagram

> I paid them for the app. Then they sold the app to Facebook. Now I see targeted ads and promoted posts.

Was Instagram really a paid app at some point? Couldn't find any references to this.

jamix··on S3: Plus sign is interpreted as space in the path part of URLs
Exactly! The OP's point is summarized in this sentence:

> My point is that the spec requires + to be escaped only inside the querystring.

So what? What the standard mandates for query strings is irrelevant here. It's up to the server how to interpret and map the URLs. "Unconventional and unfortunate" - yes, but breaking the HTTP spec? No.

jamix··on App sizes are out of control
Facebook did flirt with HTML5 but ditched it in the end. So that's not really true.
jamix··on GNU Ring 1.0 released
Who's paying for the TURN traffic?
jamix··on Whatsapp: Video Calling
WebRTC being peer-to-peer, calls are encrypted end-to-end between peers. So if WhatsApp calls are peer-to-peer, then the call content would not be visible to WhatsApp/Facebook.

However, it's still possible to put a server between two participants so that instead of communicating directly, they would be communicating through this intermediate endpoint which would have access to call content - without call participants even knowing. So ultimately it's a question of trusting a particular service, not the protocol used.

Page 1 of 2Next →