Readit News logoReadit News
pow_pp_-1_v commented on Show HN: HN Follow – Follow Your Friends on HN   val.town/v/rodrigotello.h... · Posted by u/stevekrouse
zamadatix · 3 years ago
That's a very interesting question. I always assumed most daily users do, by a wide margin, but I never actually had any data to base that off of. I even thought this before I had the 501 karma needed.

By absolute user count I'd definitely expect most to not have it but only because most accounts aren't regularly used (many even abandoned).

pow_pp_-1_v · 3 years ago
Another example: I have this account since 2015 and I started reading HN years before. I still can't downvote.
pow_pp_-1_v commented on Hands-On with PostgreSQL Authorization – Part 2 – Row-Level Security   tangramvision.com/blog/ha... · Posted by u/grschafer
ggregoire · 4 years ago
I discovered row-level security when I started using PostgREST [1] [2].

It was eye opening for me. In every traditional codebase I worked on, this is usually handled is such a slow and messy way, adding another layer of filtering on top of already slow and complex queries. This is always one of the first things that needs to be cached in Redis. Instead, row-level security solves the problem in a very elegant, simple and performant way in my opinion.

Obviously it works better when all your logic is already at the DB level (e.g. PostgREST). I wouldn't imagine using DB roles and row-level security in a traditional backend where all the logic is at the application level (e.g. Django, Rails…). Edit: seems like there are workarounds to use RLS with Django [3].

[1] https://postgrest.org

[2] https://postgrest.org/en/stable/auth.html#roles-for-each-web...

[3] https://pganalyze.com/blog/postgres-row-level-security-djang...

pow_pp_-1_v · 4 years ago
I don't see why RLS would mandate all your logic living in the DB level. Basically what the database does when you enable RLS is add the RLS policy clause to every query you run against a table that has the policy applied. So if you have a policy saying "A = 'blah'" on table "dummy", a query like "SELECT * FROM dummy WHERE a_col = 123" becomes "SELECT * FROM dummy WHERE a_col = 123 and A = 'blah'".
pow_pp_-1_v commented on Hands-On with PostgreSQL Authorization – Part 2 – Row-Level Security   tangramvision.com/blog/ha... · Posted by u/grschafer
pow_pp_-1_v · 4 years ago
We use RLS on a multi-tenant application in production. It's used as a secondary level of protection that ensures that one tenant cannot see another tenant's data. The system hasn't been out in production for very long but, so far so good.
pow_pp_-1_v commented on Google Search Is Dying   dkb.io/post/google-search... · Posted by u/dbrereton
ad404b8a372f2b9 · 4 years ago
I don't think that works anymore, I might be mistaken but I recall trying it and still getting non-word-specific results.

I tried it just now with ' "median" height ' and still got "average" and "mean" results highlighted. (Couldn't reproduce with "expand"/"extend" because I didn't recall the query that produced both.)

pow_pp_-1_v · 4 years ago
You probably need to enable verbatim results. Click on the Tools button (below the right end of the search bar) and select "Verbatim" instead of "All results".
pow_pp_-1_v commented on DynamoDB 10 years later   amazon.science/latest-new... · Posted by u/mariuz
mjb · 4 years ago
We don't have a paper on DynamoDB's internals (yet?), but here's a talk you might find interesting from one of the folks who built and ran DDB for a long time: https://www.youtube.com/watch?v=yvBR71D0nAQ

And Doug Terry talking through the details of how DynamoDB's transaction protocol works: https://www.usenix.org/conference/fast19/presentation/terry

If we did publish more about the internals of DDB, what would you be looking to learn? Architecture? Operational experience? Developer experience? There's a lot of material we could share, and it's useful to hear where people would like us to focus.

pow_pp_-1_v · 4 years ago
All of it - architecture, operational experience, best practices etc.
pow_pp_-1_v commented on Prince of Persia in JavaScript   princejs.com/... · Posted by u/colinprince
pow_pp_-1_v · 4 years ago
Thank you! It's fascinating that I still remember the controls all these years later. One of the very few games I completed - without cheats, mind you!
pow_pp_-1_v commented on Tell HN: You can't add “no ads” in your Play Store app's title    · Posted by u/TrianguloY
tauntz · 4 years ago
That would explain why they are trying to convince/coerce/force developers to hand them their signing keys during the last years.
pow_pp_-1_v · 4 years ago
I think the signing keys are required because of features like "play as you download" etc.

[Not an Android dev]

pow_pp_-1_v commented on U.S. to release oil from reserves in coordination with other countries   cnbc.com/2021/11/23/biden... · Posted by u/geox
JPKab · 4 years ago
It's too late already.

I get what you were saying but the emotion and anger are going to be what people remember not what he did or said.

He's tried to serve two masters and he can't. Either you stick to your guns on making climate change the priority and you accept the fact that the public is going to be pissed at you when energy prices are much higher, or you simply focus on reducing energy prices at the expense of the climate.

There is no middle ground on this. He's trying to find one and is going to fail. Prices will not be reduced and opening up the reserve will piss off the environmentalists.

Let's be honest here: He doesn't really seem to be all there does he? At moments he is fully lucid and clearly in command but then at others he is asked about the same things he just spoke about a day before and says completely different things that sound like they were cooked up by his advisors. It reminds me of the way George w Bush behaved when he was being manipulated and advised by Karl Rove and company. The one difference is Biden's advanced age has made him come off even weirder. At times he has that behavior of a confused old man who lashes out in anger.

Most of my family lives in Virginia and all of them except for my father voted for Biden and then voted for Glenn Youngkin as governor. They are working class people and have developed an increasing contempt for the Democratic party they voted for 12 months ago. They voted for him because they wanted normalcy and he's instead embraced the radicals who advise him. I have both Latino and Filipino in laws, and he has lost all of them.

I've been a member of the Democratic party for over 20 years and this man has destroyed the entire brand. He's allowed Florida to be completely taken over by the GOP. He never should have run and the party never should have engineered the primary to cement his victory. He's too old and we all know it even if many of us won't admit it.

pow_pp_-1_v · 4 years ago
> Most of my family lives in Virginia and all of them except for my father voted for Biden and then voted for Glenn Youngkin as governor. They are working class people and have developed an increasing contempt for the Democratic party they voted for 12 months ago. They voted for him because they wanted normalcy and he's instead embraced the radicals who advise him. I have both Latino and Filipino in laws, and he has lost all of them.

I am genuinely curious here: What did he do wrong? Which radicals advice did he listen to?

pow_pp_-1_v commented on Having SARS-CoV-2 once confers much greater immunity than a vaccine   sciencemag.org/news/2021/... · Posted by u/peteradio
pow_pp_-1_v · 4 years ago
Isn't age a factor? I don't understand if the study considered the age of the participants. So, could it be that the people who were vaccinated tended to be older and thus more vulnerable?
pow_pp_-1_v commented on Rustdoc résumé   yozhgoor.github.io/yohan_... · Posted by u/1f60c
thrwyoilarticle · 4 years ago
Opinion: LaTeX resumes/CVs don't make any sense.

If, in your job, you were trying to express technical information, you wouldn't use LaTeX. You might use it for a paper or a book where you have a lot of content or multiple issues that you want to look consistent. But a resume is a single, small document with multiple different sections that have different formatting requirements.

In your job, you probably share information in markdown or rst. If you're looking to signal - and let's be honest, with LaTeX you are - why not use those?

Bonus: ATS systems and recruiters won't bork your input.

pow_pp_-1_v · 4 years ago
I am building a LaTex resume. Why? Because I hate working on my resume and doing it with markup and other stuff makes it a bit more... bearable?

Yeah, I know, I am weird.

u/pow_pp_-1_v

KarmaCake day183October 7, 2015View Original