Better HN
topnewbestaskshowjobs
Log inSign up

kajecounterhack

2,943 karma · joined Oct 15, 2007 (19y ago) · 1,352 submissions

[Standard disclaimer: comments do not reflect the views of my employer]
Submissions

comment 3y ago · link · parent

> Please check yourself here; who is “we”?

I do mean we as in humankind.

> Clearly the Portuguese and Spanish still love their pulpo, so we as a “collective” of humans have apparently not collectively re-evaluated our values over time, deciding that eating meat is cruel and savage.

I'm saying we evolve our collective moral views in general. For example, slavery even just 300 years ago was way more prevalent than today, and more people find it morally reprehensible. It still exists today, but it's a clear example of an area we've collectively re-evaluated our values over time. The acceptance of homosexuality and interracial relationships are even more recent. Do you disagree that we've evolved as a collective on those issues?

Sure, today it's not a majority view that eating octopus is "absolutely reprehensible" but imo that's a valid point of view and there's no telling whether that will become the majority opinion. If Christians get to walk around saying "we believe everyone else goes to hell" then I'm not going to complain about someone from expressing their opinion that octopus consumption is barbaric. You can say both groups are equally intolerant (Christians and octopus-lovers) but I'd encourage you to consider how they're different too, because they are.

I think the key point in your reaction is interpreting this sentiment as cultural slander. Reminder that cultural practices don't automatically become things we all have to respect. Like, do you have any reservations about cultural repression of women (e.g. certain Islamic countries as an extreme example)? I sure do, and I think that's okay. Would you have considered anti-slavery folks intolerant 300 years ago just because their viewpoint cut against the (global!) cultural grain?

comment 3y ago · link · parent

We've also as a collective re-evaluated our values over time, reducing our overall cruelty and savagery as we realized its extent. There's nothing wrong with that either, and your original comment did not adequately recognize that this is where the sentiment comes from.

comment 3y ago · link · parent

I'm leaning in agreement with you. Squid also reproduce a lot faster than octopus (market squid lifespan is 9 months and they die after reproduction) so I recommend folks save their cephalopod recipes for squid.

comment 3y ago · link · parent

> You argument just boils down to bad programmers writing bad code.

Good programmers can write bad abstractions as well, because good abstractions require sufficient understanding of what you're trying to abstract and we have blind spots (the unknown unknown). Thus the caution.

> It has nothing to do with abstraction or not.

"Bad code" is one thing, "bad abstraction" is a very specific subset of that problem.

> Everyone either wants to find the silver bullet that will produce code perfectly the first time or find some concept to blame when it isn't.

I think you're missing the point. Bad abstractions, especially when depended on by many users, are 10x bugs. Nobody's saying "make all code procedural and never abstract anything" -- however it's very valid to say "problems caused by bad abstractions are super bad so let's be extra careful." I mentioned strategies for being extra careful earlier: let more experienced folks do the design, defer the abstraction until you have more information, etc.

There's also levels to everything. Of course there's no repercussions for how you structured the classes in your internal facing webapp. Nobody cares about your codebase except you. If you're building a foundational building block of a complex system however (e.g. the message bus for a self driving car) you had better make the best approximation of the right answer from the get go, because that system isn't going to be re-built for many years.

> Don't combine logic and you need twice as many programmers to do the work.

This doesn't ring true. Duplicated logic doesn't always mean double work.

> I started this rant by saying if you don't abstract, you'll always be slow.

Yes and my point is: if you think abstracting is always a net win, you're probably green and haven't seen the myriad cases where it bites you.

comment 3y ago · link · parent

> Good abstractions reduce mental load.

Yes, in sum, but bad ones increase it, and it's not always immediately obvious to everyone that an abstraction is bad. A lot of that comes from experience.

> The minute I have any duplicated logic it gets combined as much as possible. I hate duplicating anything. Some duplication is impossible to avoid and I hate that too. I hate specifying the same logic in 2 places (say client-side and server-side for web validation). I will do anything possible to avoid that.

Good for you Glenn Coco! Work in any scaled software organization and you'll see that combining logic too early is full of hazard.

> I almost always build things out as a library ... This is always more work initially but has never failed to be right choice.

Maybe to you. I wonder if someone who's ever tried to use your library down the line ever thought "this was abstracted in a really suboptimal way but I have to live with it." Even if they did, I don't think you'd know. I've been that person too many times. People have got to stop building shitty libraries when they're not necessary and only serve to obfuscate the logic.

comment 3y ago · link · parent

Okay Mr. English, trivial may be defined as unimportant / trifling but if you're gonna label something like that then you have you consider why you're calling it unimportant. Still seems you're saying it's cheap, easy, and undoable. It's not.

Abstraction building is _consequential_.

> If you don't do that first "one go" how do get around to right abstraction?

Right back at you: how do you get the data about how to build your abstraction without first living without one to understand what parts of the system should be abstracted? Starting with the abstraction and assuming you can fix it later is a luxury for overstaffed teams and people working on systems that nobody actually uses.

You do realize, abstractions incur mental load on your users? Have you ever tried to use internal tools built ostensibly for your use case, only to find that it's taking more time and effort than if you lived without one? It's happened to me so many times, and the consequence of adopting a shitty abstraction has burned me so many times personally that I'm gravely aware of the downsides.

Consider a streaming data tool that stupidly allowed users to put arbitrary data in a string field, which became abused for purposes it shouldn't have been used for -- now it's critical to the company and would take a YEAR of dev resources to retire, all the while being an endless source of headache and P0 SRE escalations.

Consider an ML evaluation tool that requires you to understand how a bunch of leaky abstractions nest together. When you finally figure out how it works and it does 1 thing for you (generate P/R curves), it becomes extremely difficult to modify or debug without again understanding these horrible abstractions. Once you've spent a full quarter adopting it, you wish your team had just written something custom-but-maintainble instead of trying to get shoehorned into a tool that clearly wasn't thinking about you, and whose owners have left the company leaving you to absorb the cost.

> But doing no abstraction is just as painful -- you just pay for it differently.

It's less painful in the long run: doing no abstraction to start is often the right path. People often overrate the benefits of abstraction and underrate the clarity of repetition, especially when the repetition is trivial.

comment 3y ago · link · parent

> It is that trivial.

> You will make a mistake. You will never get it perfect. You just have to deal with it.

These two comments sound at odds. First statement says it's easy. Second statement says it's hard.

We can agree that hard things don't get solved without iterating. But a productive response to abstraction (which is really API design) being hard is not to say "stop handwringing, just do it." Instead, you can employ various strategies such as preferring experienced people to do it, making sure they did a good job of gathering requirements and considered the risks of their approach, spending time testing customer/developer ergonomics, etc. You can also defer producing an abstraction until your system is a bit larger and the duplication is becoming too much to handle, since you have a larger sample size of potential uses for your abstraction to help you converge on the correct API.

Good abstractions can be the difference between success and failure, between organizational velocity and technical debt quagmire. Saying "we should always build abstractions" when it's difficult to build them correctly in one go sounds totally wrong on its face.

comment 3y ago · link · parent

> The underlying issue is the fear of change and the sunk cost fallacy of already written code. If you have the wrong abstraction, you can change it.

It's not that trivial. Consider that the wrong abstraction is reflected into your API (common), and consider that your API has many users. You are stuck with it, or you have to convince multiple teams (or, god forbid, external customers) to migrate to a better API. This can constitute a humongous waste of SWE-hours ($$$$$) and take quarters to accomplish, assuming you can get any buy in.

I think it comes down to what your organization looks like and how many users are going to be touching your code. If your abstraction is just for yourself internally and everyone else is not allowed to touch it, then fine. You will own the tech debt if the abstraction is wrong. If your abstraction has other users at your company, or external customers, it had better be the right one or at least an unavoidable stepping stone.

> If you created too much duplication, you can remove it.

This is actually true. Refactoring duplicated logic is a lot easier than fixing bad abstractions.

comment 3y ago · link · parent

SF needs more public transportation as much as it needs housing :(

comment 3y ago · link · parent

They're known for consistently shipping significant new features fast, so call it what you want but whatever they do works!

What you really don't want is to work at a ticket factory where every ticket is for a new hack that could be avoided by paying down basic technical debt :)

comment 3y ago · link · parent

> Where is the right line between "my hardware, my rules" and "my software, my rules"?

If someone roots their phone or car, which they own, despite the manufacturer's best efforts to prevent this, it should be legal because they are modifying a physical object they purchased. If they teach other people to root their devices, it should be legal the same way teaching lockpicking is legal if you're just lockpicking something you own.

Nobody is asking manufacturers to stop trying to get in the way of people hacking their devices. Most people won't have the skills or desire to jailbreak anyway.

But John Deere will sue farmers who try to fix their tractors themselves, Sony will sue you for jailbreaking your PS3, etc etc. That's wrong.

Additionally, DRM generates physical waste by making it hard for people to fix things they bought. The right to repair is important.

For software, illicit redistribution is covered by copyright law, no? But the same is true: if you own a copy of software and want to hack it (e.g. mod a game you bought) why should that be illegal, provided you were able to get around the game's built-in circumventions?

comment 3y ago · link · parent

Why wouldn't they do Linux? Isn't the whole benefit of browsers that they're the internet's compatibility layer, and shouldn't support be kinda baked into Chromium? Missing a chunk of (hopefully passionate in a good way) users like that sounds like a missed opportunity.

That said it's probably fine for them to iterate for Mac customers first, like apps releasing on iOS first before supporting Android.

comment 3y ago · link · parent

The cultural shift was basically overnight, after big decisions by leadership. Seems to point to the latter rather than the former.

comment 3y ago · link · parent

Memegen is unbearably whiny now, but doesn't feel like it's because Google hires whiners. It feels more like valid employee feedback, accurately capturing valid worker sentiment toward shitty, randomizing leadership.

comment 3y ago · link · parent

Dude if your religion needs 2000 years of theologians to interpret correctly, all the while being a pretext for war, genocide, racism, sexism, and an accidental source of child abuse, your religion sucks and the world would be better off without it.

You don't need "better Christians" -- you need people to stop being Christians.

> Also there's a lot of confusion and misunderstanding about what teachings are, what Jesus really said, a misunderstanding that God is somehow punitive or vengeful which Jesus tried to clear up but we still seem to fall victim to.

That your religion is this incoherent is itself a huge problem and the source of many ills.

> I agree with you about churches perpetuating problematic power structures, clericalism and so forth.. But that in itself is people's failings isn't it? Doesn't mean that all or even many Christians are supportive of that.

You're saying blame the priest who diddled kids, not the church that teaches priests to repress their natural urges until they manifest in taking advantage of defenseless children. You're saying blame the idiots who "misinterpreted" the Bible and created churches where women cannot lead, and not the texts that provide the argument for their behavior. That's not agreeing with me on problematic power structures, that's failing to see problematic power structures.

> Treatment of women - often women are not treated well , whether in the church or not. Shouldn't be happening.. but again human failings rather than something fundamental about religion or church per se, IMHO.

Except that the basis for western oppression for women is largely rooted in Judeo-Christian beliefs. And in the middle east, Islam is the source.

It's all garbage.

comment 3y ago · link · parent

Another way to look at it is that this isn't "people's failings." This is structural. Churches perpetuate problematic power structures and base their teachings on incoherent writings that can easily be interpreted to mean all kinds of nasty things. You can point to Jesus sayings in "true Christianity" and still have to explain yourself as to why Apostle Paul is allowed to say some crazy stuff in the same compilation text (the bible) that everyone loves to harp on. Also, didn't Jesus compare a gentile woman to a dog? Wowza that's some offensive and racist stuff.

> There are church communities that are welcoming to people that are divorced, gay, etc

There are plenty of church communities that _claim_ to be welcoming to such folks. You don't have to stick around long to see that it's not true. And it's also not hard to see why - the underlying foundations of the Christian church especially are rotten. Churches don't have full control of their congregants so churches will never be safe spaces as long as they teach from texts that are racist, sexist, and encourage illogical thinking. I _did_ church shop for a year in hip San Francisco of all places, before coming to this (obvious in hindsight) realization. TBT that time I walked into a church and the first thing they said was "Women were created to be mens' helper" - a panel with Francis Chan. Walked out pretty fast after that.

> I'd advocate, don't give up, don't dismiss religion based on people's failings, but instead, challenge people

What does that mean -- challenge people? You're encouraging folks like me to put up with endless bullshit and look for something that doesn't exist. No thanks.

comment 3y ago · link · parent

I'm East Asian. Guilt and shame here are the same thing -- the distinction between moral vs non-moral is blurry at best. The only difference is who you're disappointing and what the perceived consequence is.

comment 3y ago · link · parent

Also, 5+ kids may seem helpful, but not because you won't face existential crisis with five kids -- you just will have more trouble finding time to process. Kids keep you very busy, until they don't.

As an ex-church person: the "community" is pretty hurtful to a lot of people and isn't immune to high school clique / cult of personality type things, even if you discount other obvious harms (the experience of gay kids in church, women being told they can't teach, way-too-frequent abuses of adolescents by church authorities like youth pastors and priests).

Christian stuff in particular is also heavy on the shame and that is pretty bad for psychological safety & wellness. My mother in law was a divorcee and made to feel real bad about that even to this day. As a boy I remember growing up and self-flagellating for every "impure" thought that crossed my mind. "Rich spiritual life" is a pretty branding phrase for bankrupt ideology.

comment 3y ago · link · parent

> I'm telling you that you’re perpetuating a racist worldview of victimhood in an effort to signal your guilt and remorse to random peers

I'm anon and not even white (my parents are immigrants) -- who am I signaling to or guilty about? The only effort being made is an effort to reason with other anons on the interwebs, so take it or leave it.

You can also keep calling me racist for pointing out systemic racial inequity but last I checked racism is a byproduct of ignorance, and I'm sensing a whole lot of that from you. So, right back at you.

> I fundamentally believe your worldview and savior complex do more harm to the very people you think need saving than good

I get that this is a difference between us. I fundamentally believe that your worldview is faulty because it turns a blind eye to how tilted the status quo is and doesn't consider the status quo to be unethical. Characterizing a desire to level the playing field as a "savior complex" is unfair -- it's not a savior complex to feel that something is wrong and want to fix it, it's just called being conscientious.

> I don’t feel one ounce of guilt over the history of slavery in the US.

Dude nobody cares if you feel guilt or not, you're missing the point. Guilt doesn't help anyone, systemic policy changes do. Why are you making it sound like anyone cares about what you feel as an individual?

> All I can do is treat people equally moving forward and help people in need.

You can also acknowledge the legacy of past inequities, how they persist in the systems we live in today, and work to remedy them. If you step into a colored person's shoes and think about what bullshit they STILL have to face today (which you don't have to, as a white person), you might begin to see the desire for reform less as "identity politics" and more just "advocating for equal ass treatment."

comment 3y ago · link · parent

> I think we're equivocating with kajecounterhack on what 'disadvantage' means, and they chose an unfortunate analogy to illustrate their idea of disadvantage that is perhaps more fundamental to the disadvantaged person than they were going for.

Yeah I do regret drawing this analogy even if I still think it's apt, since it's distracting from my point instead of reinforcing it.

> These opportunities exist for pretty much every black kid as long as they don't break the law and avoid addiction. They are in no way 'disabled' and have agency over their own destiny.

I wasn't saying black folks are disabled. I was trying to express that some folks have disadvantages in life that start from birth, and color qualifies as one of those because of the way society at large has and continues to discriminate against folks with darker skin. This particular discrimination deserves addressing through efforts like affirmative action because its impact on life outcomes is profound.

You could say that the ability to buy an SAT book is all it takes to get a degree, but this doesn't track with reality. Preparation for college education starts from youth, and in the US public school quality is related to where you live. The legacy of slavery and Jim Crow extend to where we live today. An emphasis on education as a means to better yourself is also commonly handed down by your family -- but what if your family traces back (it's not that far) to an era where black folks were discriminated against when it came to education?

There are other interesting ways to slice it (e.g. how many of your parents went to college is a predictor of whether you'll go to college and also whether you succeed if you go; being poor at harvard means you actually don't get the same experience as folks who are better off).

> They are in no way 'disabled' and have agency over their own destiny.

I 100% agree with this statement, I just think that agency can only get you so far. You need supporting infrastructure, otherwise in the aggregate we will continue to perpetuate inequities (which unfortunately also reinforce discriminatory viewpoints).

comment 3y ago · link · parent

Welp we're at an impasse because your "logic" doesn't track for me either. I don't think any solution starts with talking to disadvantaged children. Fixing the broken systems they live in should have some impact though.

There's too much bullshit out there for me to read every jamoke's book without doing some filtering based on whether this person is likely to be credible or improve my understanding of a situation. It's not identity politics, it's self-preservation.

comment 3y ago · link · parent

> You're sick and your mind is diseased. I'd like to see you try to tell this to a black child.

First of all, I'm not going around talking to random children. Secondly, black parents _totally_ have to say at some point to their kid, "hey you have to be careful around cops because they won't treat you the same as they treat your white friends."

I don't understand where you got this "you're sick and your mind is diseased" bit. The point was just that the playing field's not level and you're willfully missing it.

> Why limit it to black people?

Because the scale of systemic injustice to black folks is so big that it should not be controversial. The legacy of slavery in this country looms large. To be clear I also fully support measures to reduce overall economic inequality as well, it's just not the topic being discussed here.

comment 3y ago · link · parent

How do you propose to lift up and support those in need if you can't even agree that the playing field is uneven and that when you're born black you face systemic injustices?

_That's_ racist.

Oh and I'm not going to read a book by a guy who defended Trump as being "not racist." While we're out here recommending books, https://en.wikipedia.org/wiki/Between_the_World_and_Me exemplifies my point: a father telling his son the hard reality of our broken system.

comment 3y ago · link · parent

Being born black is a disadvantage to your life outcome in the current system. That's the main point.

The comparison to how we treat the physically handicapped is just asking folks to consider why we are okay with helping people at cost to ourselves in one case and not another.

comment 3y ago · link · parent

> Lowering the admission bar for one person means that, all things equal, someone better qualified is excluded

This assumes there's some objective way to stack rank high school students by potential, and there's not. At some point exclusive schools like Harvard just shape their student populations to an arbitrary standard. How do you compare GPAs at 10,000 different schools for example? Is a 1550 student who started a company more or less valuable than a 1600 student who won a science fair?

comment 3y ago · link · parent

It's a made up number assuming _all_ black harvard students are in on the basis of affirmative action.

30, 10, it doesn't matter, my point is your chance of getting into Harvard is already vanishingly small (4%) and even if it's a 30% reduction in slots, your chance goes from 4% -> 2.8% which is a similar order of magnitude.

It's also a biased process in a thousand other ways even without affirmative action, so why are we sweating this small thing. You're likely to be squeezed out by some ultra-privileged person whose parents could pay for essays to be written, SAT coaching, and exclusive extra-curriculars to pad the resume. Not some poor hispanic kid who grew up with nothing and would have scored 200 points better on the SATs with the right coaching.

comment 3y ago · link · parent

> Your example of handicaps is disturbing

Being born a certain race is a disadvantage in the same way being born with physical disability is a disadvantage. They're not the same but that was the point I was trying to make: we look out for disadvantaged folks in some societal contexts. Why are y'all complaining about systemically disadvantaged people getting some help? Is it because you can't trace the taxpayer dollars we spend on things like Section 8 housing back to your wallet, but you can trace back your rejection letter from Harvard to accursed affirmative action?

> If you believe in equality of outcome then you will never be satisfied

If you re-read what I wrote earlier, I said equality of opportunity is the north star. But just because you believe in that north star doesn't mean you can't see the value in skewing the current state by other means until you're there.

There's another thing here: affirmative action isn't something that keeps going much past your college graduation, and it doesn't directly remedy the brokenness of the K-12 education system, where de-facto race segregation is commonplace and you can start 3 grades back just by being born in the wrong town. Even diversity programs at big companies are typically only aimed at new grads. These are limited programs that just try to boost folks who typically haven't had the necessary support to achieve their full potential. At the end of the day the free market will do its work.

Folks claiming the little boost from affirmative action is "discrimination" need to get their heads out of the sand.

> you seem to be saying they're incapable of handling a level playing field which would be.. racist

No, I'm saying colored folks _are_ capable of achieving the same things as white folks if given the same advantages and privileges. But they don't get those advantages and privileges because society is broken. Affirmative action is one tool we can use to help put more colored folks in places of power in society. Without this, we will never sniff equal opportunity -- the north star we all seem to agree we want. Having people who look like you in places of power is important because they can advocate for you and surface areas where the opportunity is decidedly _not_ equal.

comment 3y ago · link · parent

> I am hypothetically okay being discriminated against in the short term (as you are) if it provably corrects a clear issue and we have an agreement in place to evaluate the program as it's happening, make sure it's contributing to the desired outcome, and to stop the discrimination once clear end conditions are met.

Do you consider it discrimination that disabled folks get to park in special spots? I don't consider discrimination. Some people just need more help to get where they're going, and some of us will be just fine using the legs we were born to walk with. In the same vein, I don't feel like I'm being discriminated against by affirmative action. And I'm not worried about my kid even if those policies remained in place.

Nobody thinks affirmative action is perfect. For example if I could make a change myself I'd focus on the economic part of socioeconomic more so that it's not mainly privileged people of color getting priority. But you have to start somewhere. With systems governing people it's just not that realistic to ask that everything be perfectly measurable or that there is a neat objective function to optimize.

> Therefore I am not phased by an argument that lists all the bad things that happened and concludes "oh you must still atone". And it is not justification outright for introducing discrimination to me or my children today.

You're very focused on yourself. Nobody is asking you as an individual to "atone" for anything because you didn't do anything. What we are discussing is _systemic changes_ designed to help folks who are disadvantaged _also without having done anything_. Broad, high-level changes like affirmative action just don't have the impact on individuals in the majority that you are making them out to have. They do however have outsized impact on folks in the minority.

In general I find it gross to be so focused on what you're calling your own discrimination when it totally pales in comparison to the experiences of folks who face actual discrimination. You say you're able to consider others' experiences compassionately, but that's clearly just lip service, otherwise you wouldn't be calling affirmative action "discrimination."

comment 3y ago · link · parent

Asians are not a homogenous group. For example, Filipino and Vietnamese outcomes did not do as well as Taiwanese, Korean, and Japanese immigrants in the wave from the 60s.

There are lots of factors that contribute to an ethnic group's relative success in playing the economic game, some of which are unique to that cohort and not the ethnicity itself. Past results do not guarantee future performance.

One example: the communist revolution expelled professors and academics from China, thus many Chinese and Taiwanese-american immigrants from that generation had scholarly backgrounds which obviously translates well. Compare to a history where your people were enslaved and your cultural background entirely erased.

Another example: getting an H1B as an Indian person today is super competitive / hard, but much easier if you're another ethnicity. What does that mean for future generations of Indian-Americans? There's going to be a selection bias.

comment 3y ago · link · parent

Do y'all have plans to release the model for those who have 16gb graphics cards? (I'm assuming the model is fp16?)
1
678
46