HNHacker News
TopNewBestAskShowJobs

CodeMage

6,770 karma · joined February 26, 2009

submissionscomments
CodeMage··on Amazon rolls out machines that pack orders and replace jobs
Sure, it's good news, just not for the people you're thinking of. Think about people who work in Amazon warehouses despite those conditions. Why do they do that? Because the alternatives are worse. This just removes these jobs and leaves them to face those alternatives.
CodeMage··on Amazon rolls out machines that pack orders and replace jobs
Of course, and with good reasons. Before you wrote your comment, did you stop to think why people work inside Amazon's warehouses if the working conditions are so oppressive?

It's because the alternatives are still worse. And now they'll lose those jobs and have to face those alternatives.

Of course those of us who perceive this as an injustice will complain. The complaint is not directed at Amazon only, it's at the injustice of systemic oppression of the working class.

CodeMage··on The rise of fear-based social media like Nextdoor, Citizen, and Amazon Neighbors
At least try talking to people before calling the cops on them for making noise. What is controversial about this?
CodeMage··on The rise of fear-based social media like Nextdoor, Citizen, and Amazon Neighbors
I don't mean this in a confrontational way, I'm just being curious: have you been on Nextdoor?

From my experience so far, the typical attitude of an average Nextdoor "neighbor" towards the homeless is not: "This is a problem, we have to do something for these poor people." Rather, it's: "This is a problem, I don't want it near me."

I don't know about Ballard, but people on Nextdoor in the Eastside neighborhoods have a penchant for NIMBYism and, as a side effect, truly do tend to exaggerate things.

I'm not saying we should just ignore homelessness, but exaggerated complaints on Nextdoor are definitely not the way to address the underlying problems.

CodeMage··on The rise of fear-based social media like Nextdoor, Citizen, and Amazon Neighbors
I've been on Nextdoor for months now. Here's my take on it: if you need to get recommendations for local businesses, it's great. Most of the rest is headache-inducing display of NIMBYism, self-righteousness, self-entitlement and armchair politics. It's basically watered-down Facebook -- without the benefit of having friends -- that happens to be a pretty decent complement to Yelp.
CodeMage··on Tech Companies Are Deleting Evidence of War Crimes
>>that we are inherently the good guys in any international conflict.

>How else could any human or organization function if not by acting in ways they believe are right?

Being convinced that you're always right is not the same as doing the right thing or acting the right way.

>The nation isn't perfect, but does anyone really believe that, on net, America hasn't been a force for good in the world? What is your benchmark?

Hoo, boy. No, America hasn't been "a force for good in the world", because that's a really naive, simplistic idea. America has done many things in (and to) the world. Some of them have been good for certain groups of people at certain times.

CodeMage··on Tech Companies Are Deleting Evidence of War Crimes
It's definitely not a dictatorship, it's something a lot more insidious. It's a self-sustaining informal plutocracy that masquerades as a paragon of democracy.

I don't understand how people still believe the US is an exceptionally democratic country even after learning about how democracy is implemented here. The whole thing with Electoral College and two-party system is just the tip of the iceberg. For me, it was the revelation about the existence of riders [0] that was the final nail in the coffin of my belief in democracy.

[0]: https://en.wikipedia.org/wiki/Rider_%28legislation%29

CodeMage··on Microsoft, currently the most valuable company, is having a Nadellaissance
> Companies are a bit like religions. When they're small, they can't have much impact. When they're big and young, they can wreak havoc. If they make it to comfortable old age, they're peaceful and stable. The Catholic Church is huge, benign, and stable now, but 1000 years ago they were a bit more conquest-focused and violent, and 2000 years ago they were just a few harmless militants.

That's a really bad analogy and detracts a lot from your point. Big religions that reach old age are merely stable, but that doesn't necessarily make them peaceful or benign. My guess is that you're probably looking at it through the lens of living in United States.

CodeMage··on Microsoft, currently the most valuable company, is having a Nadellaissance
What it means is "Trust the intentions, but verify the results."

It's just that "trust, but verify" is shorter and more memorable.

CodeMage··on Software, the Tough Tomato Principle, and the Great Weirdening of the World
> To be honest, this whole post reads like an updated version of a 'the web is going to be so neat guys' / cyber-utopian rant from 1993

I'm glad I wasn't the only one who had that reaction. Don't get me wrong, I liked the first half of the article a lot. The exploration and discussion of coevolution principle in technology was very interesting. But the way the "software revolution" was described is extremely naive. The following are some points that stood out.

And of course, that communication is free and instantaneous regardless of its distance.

No, it isn't. It might be near-instantaneous in best case, but it sure as hell isn't free.

The gig economy worker and the digital nomad are two examples of lifestyles that are native to this new paradigm. Each just has to press a button to start making money. Each works when and from wherever they want. And each gets paid in direct proportion to their output.

This totally ignores the plethora of very real and very nasty issues plaguing the gig economy.

In practice, it means the factory no longer needs to run as slow as its slowest gear. Each gear can spin as fast as it fancies, and be rewarded according to it.

That's not how things work out in practice. The "gears" don't "spin" in isolation, so the "slowest gear" still affects the whole "factory". Worse, the competitive nature of our society turns this whole scenario into a race to the bottom.

Some will say that this measurability also comes at the cost of our privacy. But you rarely need your government-issued ID to do things online — something less true of the physical world. Software is anonymous by default.

Do we live in the same world? Sure, software itself is conceptually uninterested in identity -- which isn't the same thing as being anonymous -- but I think we've all had plenty of evidence demonstrating how software facilitates erosion of privacy.

You may not need to ask for permission to distribute your content anymore, but you do need permission to get paid. If the payment gatekeepers don’t like you, you’re outta luck.

Again, this is simplistic and naive. Cryptocurrencies cannot magically abstract away the real world. The "payment gatekeepers" are not just banks and credit card companies. There's also your government and your client's government and all the stuff that comes with them.

In short, while I agree we should be excited about technology, we really have to do a much better job of making sure it helps us.

CodeMage··on Calling a real estate robocaller back
> Asked why there were several Pats, a Pat said: "We're all Pat."

"His name is Robert Paulson."

CodeMage··on How to Ace the Google Interview: Ultimate Guide
> But I've had candidates that try to make up language features, and that doesn't fly with me.

This piqued my curiosity. Can you give an example?

CodeMage··on Removing Array Duplicates
I don't know about the rest, but I downvoted both of you because your vague claims just add noise to the discussion. There's absolutely no sense whatsoever in the claim that the worst case for hash table access is O(n log n), when just a linear search will be O(n).
CodeMage··on Software Won’t Fix Boeing’s ‘Faulty’ Airframe
Last time I looked up the meaning of the word, whistleblowing wasn't reserved only for illegal practices.
CodeMage··on Looking for a new CEO
I've been a member for 10 years now. I racked up a few thousand points after I joined, before the novelty of gamification wore off for me. After a decade of steady usage, here's my take on Stack Overflow.

Stack Overflow is an excellent resource when you access it from a search engine. If you're looking for a particular bit of programming knowledge and you type your query into your search engine of choice, chances are excellent that Stack Overflow results will be plentiful on the first page and that more than one will be relevant and helpful.

Stack Overflow is good enough when you have a very concrete problem that nobody before has asked about before. For example, if you don't know how to do X in the framework Y, you can expect one of the following: 1) someone who did it before will tell you how, 2) someone who had the same problem and found that it actually has no solution will tell you that, or 3) nobody will answer.

Stack Overflow is absolutely terrible when you're trying to learn something new just because you want to learn it or you're asking for advice of any kind. If you're trying to become a better programmer, Stack Overflow is categorically not the tool for the job. The less practical your question , the more it's likely to receive votes to be closed.

My favorite example is a question that outlined a thing you can normally do in .NET and Java because they are executing bytecode and can do certain checks before deciding whether to allow the code to execute or not. The question then proceeded to ask whether there are any pre-existing solutions to do so when working with native code or whether you would have to do it yourself. It received a downvote and a vote to close within 2 minutes of being posted. The voter posted a comment recommending Software Engineering Stack Exchange as a better site. The same question posted on Software Engineering Stack Exchange got a bunch of comments, only one of which actually addressed a question to a certain degree, the rest being ideas on how to change the requirements, snarky sniping of other comments, one idea that was already outlined in the question, and one snarky recommendation to "brush up on your understanding of [concept]" where the [concept] is not the primary concern in question.

I wish I could say that last anecdote is an exception, but it's simply the most egregious example of what's prevalent on Stack Overflow and programming-related Stack Exchange sites. Interestingly enough, I haven't seen it on any non-programming Stack Exchange site, so it's definitely something in our culture as an industry.

CodeMage··on The Plight of the Graying Tech Worker
It's not only about getting cheaper labor -- that's what many people get wrong. It's also about dodging the rules of the free market: an H-1B holder can't just get up and leave the company if they don't like how they're being treated. Sure, it's theoretically possible, but it's a hell of a lot harder for an H-1B holder than for a citizen or a permanent resident.
CodeMage··on Iconoclast: a Gothic/Cyberpunk MUD RPG, Online Since 1996
> Well, Mandos sleep should have only come into play if you were killing other members of your 'side'. I spent a lot of time playing characters on both sides, killing and being killed in PvP, but always cross 'side', and Mandos sleep was never a thing.

I thought that was Valley of Morgul, not Mandos sleep? I could have sword Mandos sleep was something that could strike a high-level char not-quite-but-sort-of randomly, ostensibly to prevent spamdying. Sort of a "take some time to cool off, buddy" thing.

> Re: losing more than a whole level after dying: that and the other 'hard' things about the game really drew me in.

> I crave games where there are real risks, something substantial to lose. For most free games, that is going to be mean time.

I guess that's the key difference right there. I found the punishments excessive and, to make things worse, the ping was leading me straight into those punishment situations. I like having real risks, too -- that's why I think the latest changes in Conan Exiles are actually pretty good -- but I guess I disagree about how hard the punishment should be.

Ironically, I felt that way back when I had oodles and oodles of free time. Now that I'm married and have a kid, I have even less of that, so you can imagine that I'm quite leery of going back to a game that threatens to punish me by taking away huge amounts of something I have so little of ;)

At any rate, I might try it again. Few games have ever scratched that itch for me.

EDIT: To clarify, it's not the safety that I need in a game. One of the best moments I still remember was when I had to run away from a BN who surprised me while I was trying to do Malardil. Safety is overrated. Losing more than a full level because I'm running from a big bad PK player and I mobrip? That's depressing ;)

CodeMage··on Iconoclast: a Gothic/Cyberpunk MUD RPG, Online Since 1996
I played roughly from 1999 until 2001. The biggest pain points for me were:

* The game wanted to motivate PVP, but it did so by punishing PVE players horribly: at higher levels, dying to a mob meant losing more than one whole level, which was hard to get back.

* If you played anything but a tank, ping mattered too damn much. I like scouts/thieves. My ping stank. My experience wasn't very happy ;)

* Mandos sleep. Need I say more? Whose idea was that? I'm lucky I never got it, but it's inexcusably bad game design.

* I understand that playing evil races is supposed to be inherently harder, but it was too damn hard. My favorite moments were when the "darkies" (I apologize, but that was the slang for evil races back then) would come raid Bree and Fornost. Yes, it was terrifying for us pukes, but I loved it.

I have contemplated going back many, many times, but the first pain point I mentioned always keeps me back. I just can't dedicate that much time to a game that rewards so little and punishes so much. But I miss it a lot, too :)

CodeMage··on Iconoclast: a Gothic/Cyberpunk MUD RPG, Online Since 1996
Hoo boy, Iron Realms. Achaea was my very first experience with pay-to-win multiplayer games. I don't know if the rest of them are any better, but I know that Iron Realms was the first game company that made me feel disgust as a player. In that sense, they were the precursor of EA.
CodeMage··on Iconoclast: a Gothic/Cyberpunk MUD RPG, Online Since 1996
MUME was the MUD I played the most. On the plus side, I absolutely loved the world size, complexity and quality. On the negative side, the gameplay balance was horrible. And, since I was playing from South America, my ping didn't help either.

I tried some other MUDs later, but most of them have smaller worlds, not so intricate or well-described. I just couldn't get that same magic of exploring that I did from MUME.

I still visit ElvenRunes once or twice a year, to see how you guys are doing ;)

CodeMage··on Amazon Pulls Books That Promote Unscientific Autism ‘Cures’
That's not what my pain point is. My pain point is that Amazon has grown to the point where this is the same kind of concern as if the government did the same thing.

See my other comment: https://news.ycombinator.com/item?id=19393433

CodeMage··on Amazon Pulls Books That Promote Unscientific Autism ‘Cures’
Precisely. Maybe we shouldn't be focusing on Amazon's alleged "censorship", but rather on what makes us react to it in a rather similar way as if the government did the same thing.

The choice of not doing business with someone ceases to be a meaningful choice when it's the only viable alternative. One could argue that Amazon is not the only viable alternative and that argument is, strictly speaking, correct. However, this isn't a binary situation -- one day we have plenty of equally viable alternatives and the next day it's just Amazon -- but rather a continuum.

TL;DR: Amazon pulling stuff from their store is only a bad thing when taken together with not having a meaningful alternative. The latter is a bigger problem than the former.

CodeMage··on Amazon Pulls Books That Promote Unscientific Autism ‘Cures’
It worries me that we seem to equate Amazon with society.
CodeMage··on Galaxy Simulations Offer a New Solution to the Fermi Paradox
Oh, okay, so we should be fine until the Vogons come.
CodeMage··on Microservices, Containers and Kubernetes in Ten Minutes
There isn't any. This is essentially a thinly disguised ad for Gravity.
CodeMage··on Implementing a Neural Network from Scratch in Python
There's are a couple of misquotes there. For starters, it's not "w1 ← w1 − η ∂w|∂L" but "w1 ← w1 − η ∂L|∂w1". Also, the second "if" should say "negative", not "positive" again.

In case you were being sarcastic, it is simple if you don't take it out of context. It requires a certain understanding of derivatives, but a reader who doesn't understand them won't make it to the point you're quoting.

CodeMage··on English, Swedish, German and Finnish Decline “Dog” (2013)
Since we're doing Slavic languages, let's go with Serbian.

- dog = pas (we don't distinguish between "a dog" and "the dog")

- declensions (singular): pas, psa, psu, psa, psu, psom, psu

- declensions (plural): psi, pasa, psima, pse, psi, psima, psima

- but that's not all, the number can change the declension: 1 pas; 2, 3, 4 psa; 5+ pasa

It's my language and I love it, but the grammar is a nightmare. I think it might be one of the easiest languages to learn to read and write, but good luck learning what it all means ;)

CodeMage··on Pagedraw is shutting down and going open source
> Ironically, Knuth's full argument is exactly what we're saying, and what @abraae's taking out of context to criticize.

See https://medium.com/@jaredpochtar/on-performance-and-software... and the full section on https://medium.com/@gabriel_20625/technical-lessons-from-bui...

I read the post in the second link before writing my original reply, because I don't like jumping into a discussion without making sure I understand what's going on ;)

I get that your intention was the same as Knuth's. And yes, I agree that @abraae took your advice out of context. That was, I believe, his point and it's certainly mine.

Specifically, when you look at that numbered list describing your code-writing practices, the numbers 1 and 3 stand out as hyperbolic. People will* take that stuff out of context and pass it around. Hell, people are already having a hard time staying reasonable in this very discussion thread.

I can't speak for anyone else, but don't take my comments personally. You guys made your own product and ran with it, which is more than I can say for myself, and I respect you for that. I also agree with what you're trying to say. However, I stand by my criticism of the hyperbole, because I've seen people who take that stuff too literally and proceed to write crap.

CodeMage··on Pagedraw is shutting down and going open source
> You're not making games, you're selling entertainment. Focus on the latter first, and optimize accordingly.

I agree with that. And yet, Minecraft is possibly the worst example:

- It's an exception to the general wisdom that games do have to worry about performance in order to deliver fun. Just because Minecraft became popular despite it's abysmal performance, doesn't mean games can get away with that in general.

- Notch never expected Minecraft to become that popular. In a sense, Minecraft was an accident.

- Minecraft's performance was so bad, a lot of people had to install a mod called OptiFine just to be able to play it on their hardware.

CodeMage··on Pagedraw is shutting down and going open source
> I would love to get all these "Performance First! Its so easy" engineers in a room for a week.

Except that's not the argument in the comment you're reacting to. Here's what the comment actually said:

> Anyone with a reasonable amount of experience is often able to look ahead - well before any code is written - and see how performance could be better if road A is taken instead of road B.

In other words, some optimizations come with no significant cost. As a banal, perhaps exaggerated example, if you're writing code that needs to store data in a collection and you know that it's going to perform random access to that data on a regular basis, you're not likely to pick a linked list over some kind of array.

What @abraae is criticizing is the practice of asserting "best practices" that are likely to be taken out of context, widely propagated and misinterpreted.

Knuth's famous assertion "premature optimization is the root of all evil" is an excellent example. People love quoting it, but few seem to take into account the context, to the point that it has been largely forgotten. Here's the quote in its context:

Programmers waste enormous amounts of time thinking about, or worrying about, the speed of noncritical parts of their programs, and these attempts at efficiency actually have a strong negative impact when debugging and maintenance are considered. We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%.

To be clear, it's not Knuth's fault that people are taking his very rational and sensible advice and reducing it to "yeah, you should totally disregard performance when first writing your code". This is not about pointing fingers and assigning blame, it's about being responsible when offering advice. Knuth's advice was reasonable and nuanced, and it still got taken out of context and reduced to something different and arguably harmful. Now look at Gabriel's advice, which is arguably a lot easier to take out of its context and misinterpret, and imagine the consequences it could have.

That is what @abraae is reacting to.

EDIT: There's another thing that really, really bothers me about your reply:

> Rule #1 of any business: Sales cures all.

This, right here, is what I personally feel is wrong with software nowadays. It's how we end up with poorly written, bloated, bug-ridden, unstable, unreliable, insecure crap that we end up using anyway, because there's no better alternative.

← PreviousPage 13 of 34Next →