Better HN
topnewbestaskshowjobs
Log inSign up

Sai_

893 karma · joined Aug 21, 2020 (6y ago) · 322 submissions

Submissions

comment 1y ago · link · parent

At some level, it is worse. The Indian press never sold us citizens koolaid about freedom, talking truth to power, and patted themselves on the back about winning Pulitzer Prizes for journalism.

The Indian press knows it is a bottom feeder and doesn’t try not to be which gives space for critical thought to emerge (even if it masked as extreme cynicism - “everyone is corrupt”) which results in extreme skepticism of everyone.

comment 2y ago · link · parent

I don't quite understand this comment. Are you encouraging us to use your comment as some sort of template and insert our own preferred corporate names?

Sounds like some crazy level of meta where your brilliance is applicable to any pair of mega corps...which I don't buy.

comment 2y ago · link · parent

Send Pichai to jail for a week and watch the CEOs of the biggest companies fall over themselves to comply with court instructions.

4.

Ask HN: Has Reddit search suddenly gotten better?

4 points · by Sai_ · 2y ago · 1 comment

comment 2y ago · link · parent

Unrelated but I’ve seen and appreciated your posts on some totally unrelated topics - like Vietnam politics and Indian ghost cities and now, Hinton’s history in Compsci. How the hell do you know so many different things and in, what looks to me, considerable depth?

Not trolling, genuinely impressed.

comment 2y ago · link · parent

Your clients control the number of messages they exchange with each other via the DO.

You still have to protect the DO through some sort of auth and/or rate limits.

Don’t see how any of these issues are unique to DOs.

comment 2y ago · link · parent

> You got yourself a one-way single-use FTL byte.

But you don’t.

If I have the entangled version of the MEASURED byte and measure, only I know I’ve measured it. The corresponding MEASURED particles on your side still appear fuzzy to you because you haven’t measured them. If you measure them, they will reveal their state which correlates to mine BUT that doesn’t tell you if I have already measured my side of byte or not.

In effect, the heads/tail coin on your side is still spinning even after I have grabbed my side of the tail/head coin.

You may get HEAD as your result but that only tells you that I will get TAIL when I measure on my side, not that I have measured it already.

If you and I agree to measure at the same time, then I will know your state by determining mine but this is the same as knowing your state because I know how a two sided coin works, not FTL.

comment 2y ago · link · parent

https://github.com/dbohdan/classless-css

Lots of options here.

comment 2y ago · link · parent

Apart from an ESL class explaining antonyms, I can’t think of any use case where an API which could equally return “ugly” or “beautiful” can be used.

We need embeddings to give relatedness across axes like synonymity etc.

comment 2y ago · link · parent

Maybe I’m not the audience for this but how is this a “product”. Coercing LLM outputs into a function call is built into OpenAI itself.

What is fructose doing extra here? It’s like productising copy&paste which every modern OS has, no?

comment 2y ago · link · parent

Supabase is alpha testing column level security as a Feature Preview that you have to enable in your project. I’m using it now. Works well.

comment 2y ago · link · parent

Thanks for sharing. Wasn’t aware of this. Will check it out today.

For now, I figured I’d have an BEFORE UPDATE trigger which compares the md5(NEW.privileges::text) with md5(OLD.privileges::text) and raises an error if they don’t match.

Not sure how to bypass the trigger for service accounts.

comment 2y ago · link · parent

I’m using Supabase for similar reasons but there’s one specific situation I’m trying to sort out.

Say you have a user “profile” which includes their privileges - like say a column named “privileges” which is some JSON object denoting what they can/can’t do.

Even with RLS, how do you ensure that a user can’t simply make a curl call with their own JWT to elevate their own privileges?

Basically, how to enforce column level security?

The best thing I can think of is to place “privileges” in a child table and only let the service account update that table.

comment 2y ago · link · parent

(Since we're discussing counterfactuals and could-have-beens)

In a macabre way, maybe suicidal ideation due to suppressed emotions is nature's way of managing male populations? What if men stopped killing themselves because they felt safe sharing their feelings? What if that led to testosterone fueled "musth" rages where men started to go on rampages just to let off steam? That world would be worse for everyone involved.

comment 2y ago · link · parent

If LLMs can self reflect and accurately score themselves on your three dimensions, why are they spending money on RHLF?

They wouldn’t be wasting all that time and money if the machine could self reflect.

comment 2y ago · link · parent

> The bank here had no complaints

Didn't they, one by one, stop doing business with him? That's pretty damning. Plus, his guilt was proven in a court of law. Does it matter that no bank took him to court before this? Look at the size of punishment - some $350M over the course of the lifetime of his company.

Could a bank have looked at the number and decided that going after Trump for an average amount of 5-10 million dollars every year wasn't worth it? It's just better to stop doing business with him. It isn't like Trump was stiffing them for a billion dollars a year.

> TDS having judge

NOW we are reaching banana republic status when regular people like us start doubting the trustworthiness of institutions like the court system with no evidence of corruption.

Wondering if you have the same concerns about the Delaware DA (Trump appointee) prosecuting Hunter Biden or Richard Hur (R lawyer) claiming Biden has poor memory and is easily confused. Are they suffering from BDS or are they just telling it like it is? And what makes you sure that either answer you choose will not be contested by someone else like you?

> neither should you

Like I said before, I'll take a judge's opinion on this than wakawaka28's.

comment 2y ago · link · parent

I’ll take a judge’s verdict on the topic over yours, if you don’t mind.

Trump is on record - in the 2016 presidential debates, no less - claiming that gaming the system (by not paying his fair share of taxes) makes him smart.

Not prosecuting him and holding his feet to the fire is a worse look for NYS/NYC. Not showing undue deference to a former president is actually something the state should be very proud of.

It’s the opposite of banana republic level corruption when you realise that they’re aiming for the (former) king and can’t afford to miss…which they aren’t.

comment 2y ago · link · parent

Wow, really puts things into perspective.

comment 2y ago · link · parent

I like to classify what to prioritise by how many standard deviations from the happy path a certain issue is.

For example, I’m working on a pay-as-you-go SaaS - so the probability of using the SaaS while your account balance is low is 1-SD away from the happy path.

Figuring out if the user has JavaScript enabled (SaaS is an SPA) would mean the user first signed up with JavaScript enabled, then disabled it. Id put it at 3-SD away from the happy path.

Keep doing this and work on the bugs nearest to the happy path.

Of course, the 1-SD, 3-SD estimates are just hunches.

comment 2y ago · link · parent

So the article doesn’t say not to base your self worth on others, it says to recognise that you are basing your self worth on the opinion of others and to plan accordingly.

comment 2y ago · link · parent

Just a random thought - maybe Musk was/is so hell bent on removing censorship because he wants more robust data, covering a larger array of thoughts, for his AI plans.

comment 2y ago · link · parent

How is anyone supposed to divine that a general English statement about a European MNC was restricted to just America?

It’s like me saying “McDonalds has stopped selling hamburgers” and expecting you to magically understand that this statement is about Indian McD’s and not American McDs.

comment 2y ago · link · parent

I can sense the truth in your reply. Can you suggest some blue oceans where AI can come handy?

comment 2y ago · link · parent

Socially, we have to reduce “riskiness” of IRL approaching people with the intent to date.

Right now, it’s scary to want to approach someone only to risk getting roasted for being a creep, barking up the wrong tree, and the myriad other reasons why people you want don’t want you.

It has to be thing everyone does - somewhat like bar hopping on a weekend. You know you’re at the bar to find someone and so is everyone else.

comment 2y ago · link · parent

Funnier cos alcohol as a beverage is a solution in the chemical sense.

comment 2y ago · link · parent

Would be interesting if someone made a hardware device to be placed in classrooms which took periodic photos of the board and transcribed it into searchable text using an LLM.

comment 2y ago · link · parent

Found this post directionally useful while trying to implement JWT token verification in a Cloudflare Worker.

28.

Sign and Verify Messages with HMAC Using the Web Crypto API(bradyjoslin.com ↗)

1 points · by Sai_ · 2y ago · 1 comment

comment 2y ago · link · parent

You may have missed the point of this article. Here, we’re being exposed to the “how”. Then why is unrelated to the why. If you have a why, the is the how to follow.

comment 2y ago · link · parent

Source code is a bunch of lambda functions to extract content from emails, then present that information in blog posts.

There are quite a few moving parts -

1. Route 53/AWS SES rules to handle Inbound emails

2. S3, Lambdas, and Step Functions to process emails into json objects

3. Cloudfront distro and behaviors to handle content delivery

4. Aws Cognito to handle login

This probably needs an accompanying blog series just to explain how everything works with each other.

If you’re interested, I’ve written a bit about it on https://pretzelbox.cc/blog which dogfoods the above product.

If there’s genuine interest, I’ll be happy to open source it.

12345
11