Better HN
topnewbestaskshowjobs
Log inSign up

hassleblad23

110 karma · joined Nov 30, 2023 (3y ago) · 105 submissions

Submissions

1.

Show HN: Browse Hacker News Like TikTok(sudofish.com ↗)

1 points · by hassleblad23 · 1mo ago · discuss

2.

Using Jev for Claude Code model routing(github.com ↗)

2 points · by hassleblad23 · 2mo ago · discuss

comment 2mo ago · link · parent

We had the same experience with our google ads across multiple campaigns. Tried everything from increasing the tCPA and daily limits significantly, to creating campaigns in 1st world countries only. Around 80% of the installs just opened the app and closed it after few seconds without performing a single action, not even a tap!

Google does not give you a detailed breakdown of where all the ad was shown within Google's services. They do give a breakdown of the 3rd party websites and apps where the ads ran and they are all terrible shorts drama and html5 games websites for me - some of them even had the same UI with different URLs! Shame.

Ideally I would like my app's ad to be placed in the Play Store only, but Google doesn't allow this control conviniently.

Next I am going to try using in-app actions for conversion instead of install, but I doubt it will be helpful at all.

comment 1y ago · link · parent

Adding to this, Google's models can only be used with GCP while OpenAI's models can be used with Azure, Anthropic's models can be used with AWD Bedrock, in addition to their own platforms.

I'd love to see the Gemini models being available by other providers :) or if they just build a simple prepaid wallet like OpenAI and Anthropic.

comment 1y ago · link · parent

That makes coasting easy for everyone.

comment 1y ago · link · parent

Trying the iOS version and it looks pretty good so far. Good job! Maybe add an option to export the bookmarked posts?

comment 1y ago · link · parent

I don't think the Enigma machine example applies here.

The nazi communications were decrypted by a highly centralized and secrative group, making it very difficult for the Nazis to figure out how they were doing it.

But in this case any vulnerability in the ransomware will have to be exploited by many of the affected people to decrypt their files, which means wide distribution, which means that a leak to the ransomware developers will happen sooner than later. If there is no wide distribution of the vulnerability, the ransomware developers win anyway.

comment 1y ago · link · parent

You have to read my comment in context of the immediate parent which I replied to, not the OP.

The immediate parent comment says that if the vulnerability is publicly declared, attackers can easily patch it.

Paraphrasing my response: not publicly declaring the vulnerability is security by obscurity.. which does not work.

Don't attack a strawman.

comment 1y ago · link · parent

I wonder at what point would the antivirus kick in. It doesn't require reading /dev/urandom for too long.

comment 1y ago · link · parent

This is a game of cat and mouse, like it has always been. Cannot rely on security by obscurity.

comment 1y ago · link · parent

Thats a great collection. Thanks for sharing.

comment 1y ago · link · parent

Strobelight is open source as well.

comment 1y ago · link · parent

This is a reason public college should be free.

comment 1y ago · link · parent

I have noticed that asking an LLM to output a confidence score and the reason for assigning the confidence score, works really well. These are tangential to the actual task, but still improve the quality.

I wouldn't depend on the numerical value of the confidence score itself though. There is no way for the LLM to caliberate its confidence score wrt. multiple invocations on different data. I have found this metric to be mostly useless.

It works fine as a proxy to induce some thinking though.

comment 1y ago · link · parent

Wow. This is such a fascinating insight. Obvious in hindsight but never occurred to me.

comment 1y ago · link · parent

This looks pretty cool. Thanks for sharing!

comment 1y ago · link · parent

Its a shame because I like the enum way of declaration a lot more.

`const Foo = { Bar: 'bar' } as const` - this just feels a bit weird.

comment 1y ago · link · parent

At least Pycharm is good at it.

comment 1y ago · link · parent

Cant comment on rest of your points, but as someone who has worked on Zapier-like 3rd party integrations a lot, it is much harder than it appears.

comment 1y ago · link · parent

Great post. Thanks for sharing!

21.

The Humane AI Pin Has Been Brought Back to Life(wired.com ↗)

2 points · by hassleblad23 · 1y ago · 2 comments

comment 1y ago · link · parent

I have lots of fond memories of playing these mini flash games as a kid :)

comment 1y ago · link · parent

Wrapping these 2 statements in a transaction will not solve this particular issue unless the transactions are run sequentially.

comment 1y ago · link · parent

A similar pattern (and overlooked very often) is with DB updates where you want to increment a number by 1, but split it into 2 roundtrips to the DB to get the existing value and set it to `value + 1`.

Concurrent transactions can screw it up, and you wouldn't notice until an escalation happens.

comment 1y ago · link · parent

I would start by dumping the enviornment variables and directory structure.

comment 1y ago · link · parent

This is supported natively by most IDEs today.

comment 1y ago · link · parent

Because quaternions are awesome? :) it definitely feels like a discovery when you learn about them first.

comment 1y ago · link · parent

Noo.. please bring it back.

comment 1y ago · link · parent

Moving a function or class? Yes. But moving arbitrary lines of code into their own function in a new module is still a PITA, particularly when the lines of code are not consecutive.
1234