HNHacker News
TopNewBestAskShowJobs

robin21

114 karma · joined January 12, 2021

submissionscomments
robin21··on REST vs GraphQL vs gRPC
Jokes aside, isn’t this ultimately what we are all looking for?

We have added so many layers and translations between our frontend and database.

Graphql brought us closer and it starts to run into some of the security concerns already.

What if someone just made this direct sql interface safe/restricted?

robin21··on REST vs GraphQL vs gRPC
Solved: https://www.apollographql.com/docs/apollo-server/performance... 2-stage request.

1. Hashes queries and uses GET requests.

2. If missing, sends a standard graphql as POST

robin21··on REST vs GraphQL vs gRPC
I do JSON-rpc over webscokets.
robin21··on REST vs GraphQL vs gRPC
Pretty cool! Graphql-code-generator is great, but this goes a whole lot further. I no longer have to even write queries.

I guess the big advantage is that when you write a manual query you can still pull down more data than you need by accident. Whereas this approach only pulls down what you need.

robin21··on Retracing a Donner Party path, nearly two centuries later
Thanks - a good opportunity to learn more about the HN principles.
robin21··on I wrote one of the fastest DataFrame libraries
Is there a data frame project for Node.js?
robin21··on Retracing a Donner Party path, nearly two centuries later
Honestly, first thing that popped in my my was Doner kebab so this comment was actually informative. And it’s atlasobscura so it might well have been...
robin21··on Four times I felt discriminated against for being a female developer
The goal should be to have the same academic achievement as their peers at the company they are working for. It’s unfair for smart blacks to be thought of us diversity hires. I can think of nothing worse than having your intelligence questioned your entire career.

Surely someone has studied this though. “Why did you not choose comp sci major?”

All the answers are there. The fact we don’t hear about it is probably because it doesn’t fit the narrative that intersectionalism wants to tell.

Last time I went to research the history of why women were dominant in tech and then then minority, it was nothing to do with sexism surprise, surprise.

Exposure to computers at a young age is everything.

I will do some more research though and come back <- the best part about HN conversations for me.

robin21··on Four times I felt discriminated against for being a female developer
“Masculinity” does not predispose someone to working better with people. “Use your masculinity to help carry some boxes up the stairs” - is this sexist?

I don’t think sex plays into capability but more so motivation. If there wasn’t science to indicate there is a difference in what men and woman are drawn to...then you could write it off...but there are differences and those differences seem to play out.

The fact we hear more stories from women is because they are on trend of sexism. Whereas the same stories from men are just office politics. Take any office politics story, make the aggressor male and the subject female and voila - you can claim it’s sexism.

robin21··on Four times I felt discriminated against for being a female developer
https://kstatic.googleusercontent.com/files/25badfc6b6d1b33f...

See leadership.

30% Asian (6% us pop) 60% white (65% us pop)

Asians widely over represented.

Should we give less jobs to Asians and more to blacks and Hispanics?

This kind of points to socioeconomic and educational opportunities in early life. Blacks come from poorer backgrounds etc. But why bring race into it? Why not lift up people from poorer backgrounds of all races, instead of racist affirmative action policies.

These diversity reports are basically saying: we need to make our employees less racist and sexist when hiring.

robin21··on Four times I felt discriminated against for being a female developer
How do you explain Asians making up almost half of FAANG startups?
robin21··on Four times I felt discriminated against for being a female developer
There are a lot of socially enept developers out there. Maybe it’s changed a bit recently. But if you think about taking your average developer and putting them in a propel-facing sales role, how well would they do?

Something you see often is developers who were bullied at school, finding refuge in their computer, finding something they enjoy, and then the feminists canceling them because they don’t have the social skills to understand all the new rules of what is not politically correct. E.g. James Damore - the fired Google guy - was just quoting scientific evidence regarding women in tech but without realizing the sensitivities of 2010+ and that some things are better left unsaid. This is simply a lack of social awareness, and now the nerds and re-bullied day in day out because they started making lots of money.

robin21··on Four times I felt discriminated against for being a female developer
> but all you hear about is hell stories

The reality is distorted though. Like in this article many would argue that none of it is sexist and it is just human behavior.

Whereas other women reading this have their biases confirmed.

I really struggle to find any sexism stories that describe situations that don’t also happen to men.

Human nature is to pattern match. It’s easier to blame groups than to blame individuals than to blame yourself.

robin21··on Four times I felt discriminated against for being a female developer
> Boys are just predisposed for technology by nature

This is true. There is scientific evidence that shows men prefer things, women prefer people. This is not to say women can’t succeed in tech or are not as good at tech, but the fact that women choose other fields belies this nature.

Women are better at language, social interactions, etc. So when her boss says to use her “feminine” skills to talk to a difficult co-worker, it’s simply a comment on a predisposed advantage women have over men when looking at the statistics.

Surprisingly, this would probably make females better managers rather than code monkeys. Managers make more money too.

https://pubmed.ncbi.nlm.nih.gov/19883140/

> the times I was over-explained, or the times interviewers made a “not bad” facial expression when I replied correctly to technical questions

The problem women have today is that they are programmed to see everything as sexism, when in fact such things happen regardless of sex.

This really approaches disbelief. A “not bad” facial expression being sexism.

When she was fired for lacking team chemistry, I don’t doubt it when you have someone psycho-analyzing every single gesture and seeing it through some sexism lens.

And a junior developer out of college complaining about being “over-explained”. How hard is it to say “I am very familiar with this topic” and move on.

robin21··on Sex, scandal and high society in Chips Channon’s uncensored diaries
> is at least as much about a nationalist myth of pushback against Germany as a virile and potent competing empire as about fighting the immoral horrors...

Primary sources are the best for these kinds of questions. “The truth about hitler” (1935) by Churchill provides a good summary of his thinking well before the war broke out.

Everything about Germany at the time was alarming. It’s baffling how no one took it seriously. A militarized dictatorship is a clear threat of another war - which is exactly what happened. Compared to democracies, there is infinitely more danger as an aggressor in conflict. The decision comes down to one man and opposition is silenced.

He also mentions the anti-Semitic views which were already clear in Mein Kampf to everyone. This was not the primary reason of course as peace and security in Europe was always paramount, but if Germany wanted to be anti-Semitic itself all the Jews could leave instead of being hunted down over Europe by a single invading nation and left nowhere to hide which would have left options rather than war.

All in all the idea of “pushback against a competing empire” doesn’t seem to play in my reading of things at all.

https://archive.org/stream/W.S.ChurchillTheTruthAboutHitler1...

robin21··on Sir Kazuo Ishiguro warns of young authors self-censoring out of 'fear'
> What is he supposed to do - go hang out with white supremacists?

Do you imply that the only groups in society are liberals and white-supremacists?

This is the problem liberals have...they have to get onboard with all the progressive stuff because they don't realize that everyone else is not a white supremacist as they are told by the NYT.

A lot of Trump support came from former Democrats who realized that they are no longer onboard with the ideals of the modern Democrat party pandering to the Progressives. These people didn't want a traditional religiously crusading Republican - they wanted opposition to identity politics and globalism.

There are good people in the center, and this Peru guy will be fine - but he should have realized a long time ago the NYT is not for people like him.

robin21··on Lean into Procrastination
I can relate. When I have done the research and figured out a plan and know exactly the way I can approach it and am even excited to do it when I day dream about it...that’s when procrastination strikes. It has turned from a challenge into an easy task.

What usually happens though is when I finally start I realize there is a ton of stuff not clear and it becomes a nice challenge again without any easy obvious solution, and I regret my procrastination, and power on into flow.

The power of procrastination for side projects it’s absolutely amazing. It’s always this “if only I had more time I could finish all of it!”. But then when you have the time you become lazy.

robin21··on Git clone any sub-directories/parts of a GitHub repo
A motivational section in readme would be useful.

I can imagine that it’s mostly for convenience.

I can think of use cases including:

- downloading a single package from a monorepo

- being able to copy paste a url from GitHub for the directory you are currently viewing

robin21··on Britain stole $45T from India (2018)
I think there is a lack of consideration of the alternative timeline without colonialism. Yes, it was brutal and many inhumane events occurred, but the assumption is that they would have arrived where we are now with a peaceful democracy and unified nation.

There are many other scenarios that could have played out.

The transference of knowledge and institutions is undervalued.

robin21··on Ask HN: What websites do you visit every day?
HN

Techmeme

TechCrunch

R/programming

Reuters

The best change I made was to never visit nytimes, etc. Far too addictive and designed to enrage.

robin21··on I am a heroin user. I do not have a drug problem
I think the point of the tests is like vaccination. It’s about reducing risk. And it errs on the side of caution. A test won’t catch every instance of drug use, but will catch a drug usage behavior pattern. You want people who are trustworthy to never do it because you can’t test everyone all the time. It’s more about personal responsibility.

A pre-shift only needs to fail once and you have a co-workers recklessness injuring another worker.

I wonder what unions think of drug tests? As a union member I might prefer that my coworkers were tested to be honest if I worked closely with them around heavy machinery.

robin21··on I am a heroin user. I do not have a drug problem
Feels like it’s too dangerous a conversation to have in the open.

I think the mistake siliconvalleyites have is that they imagine everyone as intelligent and rational as they think they themselves are which leads them to encourage open discussion.

But it’s clear throughout history that all people are stupid sheep on occasion and their thinking needs to be curated in a way.

Therapeutic use for diagnosed conditions - interesting.

Safety for recreational use - interesting.

As a recreational activity - seems like we have enough fun already without adding more risk.

Just my 2cents.

robin21··on I am a heroin user. I do not have a drug problem
Seems there is a pattern in that none of the legal easily accessible drugs are particularly easy to OD on. Cigarettes, alcohol, caffeine, weed.

Prescription drugs are more controlled because easier to OD.

It does seem like acute danger is a big factor in scheduling. There’s always the argument that drugs were scheduled out of fear and bad science. But maybe as more knowledge was gleaned over the years, it just became sensible for other reasons to leave the laws as they are.

Honestly, society is better that you don’t have a large contingent of people abstaining. And the idea that people make their own choices - I think this is greatly affected by parental attitudes. So you could easily see a big jump in a few generations from changing attitudes.

When you think about the argument for decriminalization, the issue of public safety from addiction and overdose is not very much considered. Publix safety from crime, yes. But there is inevitably an increase in risk.

What’s good at least is that we have a baseline of usage and addiction from very strict drug controls. So we can always monitor if things get out of control via more legalization.

robin21··on I am a heroin user. I do not have a drug problem
The key point is that it’s rare to die acutely of alcohol. Rather, It’s slow and gradual leading to organ damage.

Heroin and opioids may be slow and gradual, but then it’s an insta kill.

Maybe food for thought though about how society views direct vs indirect causes of death.

robin21··on I am a heroin user. I do not have a drug problem
Most people develop a connection to others and that’s enough to occupy them in place of the search for meaning.
robin21··on I am a heroin user. I do not have a drug problem
Yeh but people are going to love and depend on you and the timing and mode in which you die is going to affect them and leave a lasting mark. So it’s best for society that older people don’t just yolo it.
robin21··on I am a heroin user. I do not have a drug problem
Even the phrasing is weird. To “meet my responsibilities” as of it’s a burden or a job. Not like: “as long as I can remain a great parent and partner”. Maybe I read too much into it.
robin21··on I am a heroin user. I do not have a drug problem
Exactly my thought. I only want to hear wisdom from drug users in their 80s after a full life. Even losing your shit in your 70s causes enormous emotional distress for family members. Talk to someone who had looked after an elderly Alzheimer’s patient.

Imagine being in the nursing home with the heroin addict who thinks he has everything under control.

Everything is about risk. Bad shit happens in life and people have to deal with it. Bad shit can happen unexpectedly. And it’s difficult to know how it will feel when it happens. Look at how many people will “hit the bottle” because someone dies. Or a relationship ends. Imagine if that becomes something 100x more risky.

We see all the disastrous effects from legal drugs and now he wants to add more to the mix.

The difficulty in obtaining drugs reduces their use. That is the bottom line. Everyone wants to argue against it but it’s the clear reality.

This guy just lives in a bubble.

robin21··on Git Submodules: Adding, Using, Removing, Updating (2009)
Yeh for teams they are terrible. For solo development using a single branch they can see okay.
robin21··on Ask HN: Does anyone find it strange that sport is part of daily news?
A lot of people like sport. If no one liked it it wouldn’t be there.
← PreviousPage 2 of 5Next →