HNHacker News
TopNewBestAskShowJobs

pow_pp_-1_v

183 karma · joined October 7, 2015

submissionscomments
pow_pp_-1_v··on Show HN: HN Follow – Follow Your Friends on HN
Another example: I have this account since 2015 and I started reading HN years before. I still can't downvote.
pow_pp_-1_v··on Hands-On with PostgreSQL Authorization – Part 2 – Row-Level Security
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··on Hands-On with PostgreSQL Authorization – Part 2 – Row-Level Security
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··on Google Search Is Dying
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··on DynamoDB 10 years later
All of it - architecture, operational experience, best practices etc.
pow_pp_-1_v··on Prince of Persia in JavaScript
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··on Tell HN: You can't add “no ads” in your Play Store app's title
I think the signing keys are required because of features like "play as you download" etc.

[Not an Android dev]

pow_pp_-1_v··on U.S. to release oil from reserves in coordination with other countries
> 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··on Having SARS-CoV-2 once confers much greater immunity than a vaccine
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··on Rustdoc résumé
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.

pow_pp_-1_v··on Bombs vs. Bugs
Whatever you may think about Snowden, the stuff he does and writes is pretty thought provoking.
pow_pp_-1_v··on White House eyes subsidies for nuclear plants to help meet climate targets
Hmm. That's an interesting idea. Seems like they are experts in building relatively small nuclear plants and maintaining them in harsh conditions for years. Wonder if it's feasible though. Maybe they are too slow to build. Maybe they are too expensive.
pow_pp_-1_v··on Products purchased at Apple Store in India cannot be refunded or exchanged
There are self-centered people from all countries.

I used to feel good/bad depending on what people from my country/region/group etc. do. But it's so silly. Why do I care what another person does - whom I don't even know? It's the same with long lost ancestors.

So now a days I notice such thoughts quickly and remember that it's a silly heuristic that my brain uses and I should ignore it.

pow_pp_-1_v··on Time flies in Google Earth’s biggest update in years
FWIW, I was not trying to pass a value judgement on whether Google, on net, is good or bad. It was just a thought I had when I saw the time lapse thing.

But I don't think Google turned internet into a cesspit. Yes, Youtube's recommendation algorithms are pretty bad. But there other actors who deserver a bigger share of the blame.

pow_pp_-1_v··on Time flies in Google Earth’s biggest update in years
That's pretty cool!

Like it or not Google does all this with the ad money they bring in. Imagine if all Google service were subscription based. Will they even have 25% of the capabilities they have now?

pow_pp_-1_v··on Amazon illegally fired activist workers, Labor Board finds
If they had provided good benefits and working condition, the workers will not be incentivized to form unions, right? Why are they not doing that?
pow_pp_-1_v··on Amazon illegally fired activist workers, Labor Board finds
Wouldn't it be better for Amazon, in the long term to let workers get the best salary/benefits in the industry and even cooperate in their unionization efforts (if the workers want to)? Would it such a big hit to their bottom line?

Or am I just being to too naive?

[Edit: Grammar]

pow_pp_-1_v··on Judge: Citibank isn't entitled to $500M it sent to various creditors last August
Most probably not Borland. That scrollbar looks like Swing.
pow_pp_-1_v··on Comparison of Rust async and Linux thread context switch time and memory use
> The runtime will generally schedule IO bound tasks to run on the threadpool.

Well, that's not correct. Unless you explicitly call Task.Run or Task.Start (or other similar methods) no new thread is created. The compiler generated state machines don't require the threading mechanism to work. In fact the overhead for async/await is mostly the extra code generated for the state machine and error handling. At runtime, there's no thread switching overhead.

pow_pp_-1_v··on Comparison of Rust async and Linux thread context switch time and memory use
async/await is for the concurrent stuff and threads are for the parallel stuff. Two different things. If your code is I/O-bound, use async/await. If your code is processor-bound thing, use threads.
pow_pp_-1_v··on Cheerleading, Monopolies and Sexual Predators
If there are competing companies then the governing bodies will hopefully not be beholden to one company. So the governing bodies will have an incentive to keep the sport safe. Else if the sport suffers then it affects the governing bodies too.

If the governing body is beholden to a company, then the company's priorities (money) will be what the they care about. Which I think is what happened here.

pow_pp_-1_v··on The majority of 18- to 29-year-olds in the US are now living with their parents
To all those who are jumping on @irrational, chill.

I guess, all @irrational was trying to do is vent his/her frustrations in a semi-anonymous forum. I sort of understand how he feels (having a younger kid of my own).

And @irrational, maybe they behave in the way they do to mask their frustrations. They probably don't like coming back and living with you because of all social stigma surrounding it.

[edit: spelling, spacing]

pow_pp_-1_v··on Ask HN: I'm a terrible developer, what now?
Hey, I think, what you need to do is go meta. Think about the way you think. If your brain know when to use an interface or an abstract class, then the next time when you make a decision like that, spare a few moments to think about why. You might not get an answer but you will get hints. If you do this enough times, you will understand why you decided to do what you did. Thus you will will what's the difference between an interface and an abstract class.

I hope what I said makes sense. Try not to feel frustrated. Frustration never helps.

pow_pp_-1_v··on The antibiotic paradox: why companies can’t afford to create life-saving drugs
There was a PBS Newshour piece about this: https://www.pbs.org/newshour/show/as-a-virus-ravages-the-wor...
pow_pp_-1_v··on Vitamin D deficiency and Covid-19 mortality [pdf]
What are the ill effects of elevated blood-calcium levels? Is there a way to avoid the bad effects of high dose Vitamin D supplements? Thanks!
pow_pp_-1_v··on Arctic Code Vault Contributor
Come on! Don't be so touchy-feely. Take it for what is - a lighthearted joke.
pow_pp_-1_v··on Facebook announces policy changes ahead of 2020 elections
Yes, it should be a dumb platform if anonymity is not possible in any way. So if you want to have a FB account, you need to provide everything that makes it possible to identify you in physical space.

If anonymity is required then it should be a heavily moderated platform.

I guess these two are the only feasible options.

pow_pp_-1_v··on Mental Wealth
> - People who are too passionate about one thing

People who are passionate about something are generally interesting people. They know the obscure ins and outs of the thing they are passionate about. You can learn a lot from such people. At least, that's what I always felt.

pow_pp_-1_v··on Lawmakers begin bipartisan push to cut off police access to military-style gear
Wouldn't it be better to pay police/firefighters/teachers more? If it means a little bit more in taxes for getting well trained (in dealing with the public), empathetic police officers, I am all for it.
pow_pp_-1_v··on Siri, What Time Is It in London?
The solution for it is, sadly, more data. So I imagine if Google or Apple can listen, "see" and has access to your every electronic communication do. They could eventually build a model that "knows" everything about you. I am pretty sure we have the technology to do it. But the privacy implications for this is terrifying.
Page 1 of 3Next →