HNHacker News
TopNewBestAskShowJobs

hacking_again

82 karma · joined August 19, 2017

submissionscomments
hacking_again··on We fired our top talent. Best decision we ever made
This is probably libel, and regardless it's character assassination that reflects more badly on management than it does on Rick.
hacking_again··on TerrariaClone – An incomprehensible hellscape of spaghetti code
Ok, so what changes would you make to my explanations?
hacking_again··on Becoming a Steelworker Liberated Her, Then Her Job Moved to Mexico
> raising the price of goods by locking out foreign competition is regressive: the made-in-America premium hurts most when you have the least to spend

you could always lower sales tax and raise income tax

hacking_again··on Ask HN: Learning C as beginner better than learning C just after python?
Learn them both at the same time. Pick two small projects. For project 1, implement it in Python, then implement it in C. For project 2, implement it in C, then re-implement it in Python. Repeat for the next two projects.

It will feel slow at first, but you will learn more quickly overall.

hacking_again··on An anarchist takes on Big Pharma by teaching patients to make their own meds
In theory yes, if you have an impartial third-party monopoly, but in practice it's still might-makes-right, where might = money, lawyers, political connections, ethnicity, etc. It's probably still better, but it's less transparently obvious what's going than with my club vs. yours.
hacking_again··on An anarchist takes on Big Pharma by teaching patients to make their own meds
Eh, I don't disagree, I was just trying to distinguish between property existing and objects existing. But maybe force defines existence all the way down.
hacking_again··on Open Source Game Clones
And you won't get far with source modifications if you can't run the program.
hacking_again··on An anarchist takes on Big Pharma by teaching patients to make their own meds
This doesn't mean property exists in the same way that objects exist. A piece of property is just a protected object.
hacking_again··on Equifax takes down web page after reports of new hack
Well, maybe it's more accurate to say that it's impossible to consent because no consent is required to take someone's picture in public. People generally exercise control by choosing not to be in public. You could say that having your picture taken is part of the terms of service of using public space. When you agree to something, you also agree to all of the consequences. Just because they are implicit doesn't make them invalid.

Don't get me wrong, I don't particularly like having my picture taken without my explicit consent. In the end, consent is all rather arbitrary because it's not like you can choose not to live in human society on Earth.

hacking_again··on Two scientists quietly revolutionising the study and practice of interrogation
I don't disagree with you, but human society exists because of our ability to control violence via intellectual rules.
hacking_again··on Equifax takes down web page after reports of new hack
It's valid if X is having your picture taken and Y is being in public.
hacking_again··on Gluon – Deep Learning API from AWS and Microsoft
Python has its share of cruft and idiosyncrasies. I find some of the syntax irritating, e.g. boolean logic, argument handling, hidden / private / magic symbols, and those pesky half-open intervals that routinely lead to off-by-one errors.
hacking_again··on TerrariaClone – An incomprehensible hellscape of spaghetti code
More or less, assuming you can predict it. But there's a penalty for misprediction. So it boils down to whether using % frequently (either as a native instruction or as a sequence of instructions) is more or less expensive than predicting a branch frequently, given a certain misprediction rate.
hacking_again··on Facebook Quietly Enters StarCraft War for AI Bots
Are your parents truly completely different people?
hacking_again··on TerrariaClone – An incomprehensible hellscape of spaghetti code
On their own, % and / are way slower than +, -, *, <<, >>. Cycle counts depend on your architecture, you can look them up. That mod is so slow and should be avoided is a kind of folklore based in truth - kind of like function calls being slow - but like everything time-sensitive the mistake lies in not profiling before (manual) optimization.

There's an example on SO, I got similar results just now when I replicated it:

https://stackoverflow.com/questions/15596318/is-it-better-to...

It doesn't matter on my machine whether the divisor is 10 or 42 (as in the example), the branching is way faster. Now, maybe if the branching were not in a loop and hence not so easily predicted, it wouldn't make a difference. But if this code is not being used in a loop, optimization may be premature anyway (as indicated in my original comment).

Probably f() has something to do inside the main game loop and gets called on a bunch of objects every frame. I haven't looked at the code enough to know if that's a bottleneck.

hacking_again··on African American Vernacular English Is Not Standard English with Mistakes (1999) [pdf]
It doesn't have to be intended. It's just that every time you write or speak you communicate group membership. For example, there are further implications about group membership when you correct my interpretation of forking. Another example: unless it's a typo, your grammar ("I have heard") indicates that English is not your first language.
hacking_again··on TerrariaClone – An incomprehensible hellscape of spaghetti code
Well, it's faster than %, but I bet it's premature.
hacking_again··on African American Vernacular English Is Not Standard English with Mistakes (1999) [pdf]
The other primary purpose of language is communicating group membership. For example, it's reasonable to guess that you belong to the "uses version control" group by your use of the word "forking" in a non-VC context above.
hacking_again··on The Ainu, the Indigenous people of Japan
Go on then, enlighten us with the definition, and failing that, the most precise definition you can give.
hacking_again··on Musk revises Mars ambitions
In my experience the public face of Japanese society is very polite, but that's distinct from what can be said with the language, and what people say with the language in private face contexts. It also varies to some degree by class, but you could say the same thing about English.

Also, loanwords like fakku are a legitimate part of the language. The katakana script is used almost exclusively for them and many sentences have them, spoken and written.

hacking_again··on FBI Hunt for 2 Missing Pigs Reveals Federal Cover-Up of Barbaric Factory Farms
According to the suffering and environmental damage line of reasoning, the reason meat is strictly worse is because if you grew plants instead of animals you'd have 8x as many calories to eat. I might be off, it may be some other factor, but I do know it's much larger than 2x.
hacking_again··on Teens 'rebelling against social media', say headteachers
So we're labeling people as mentally ill with a view towards criticizing them and their opinions now?
hacking_again··on Even God Would Get Fired as an Active Investor (2016)
Why bridge?

Any good resources you recommend? How many hours per week do you think it takes? I was thinking about playing one of those play money games for a year or so.

hacking_again··on It’s time to give Firefox another chance
> Mozilla is not a company

Mozilla Corp. is taxable and had revenues of $329.5 million in 2014 per Wikipedia. Most of that money came from Google in exchange for making Google the default search engine in Firefox. Open internet and goodwill aside, Firefox is very much their core business.

https://en.wikipedia.org/wiki/Mozilla_Corporation

hacking_again··on Useful GCC warning options not enabled by -Wall -Wextra
> What if you just don't have meaningful things to do for that enum value?

Then you use:

  default: break;
It's a small price to pay for the consistency checks elsewhere when you don't have a default.
hacking_again··on The underground world of Singapore
It sounds nice and cool but the truth is it's just basically a mess of interconnected buildings and crappy malls that sometimes you can use to make a portion of your trip warmer. I mean, it's still good to have and everything, but it's not at all a city and people that live in that area go above ground routinely all through the winter.
hacking_again··on Apple and Qualcomm’s Billion-Dollar War Over an $18 Part
In my experience, customers that are friendly and treat the staff like equals get better service.
hacking_again··on Ask HN: I'm less productive with TDD. Am I doing it wrong?
The problem with TDD is that if you have a lot of tests, then when you want to change your code you have to change a lot of tests. This leads to inertia against changing your code, and then ultimately when you do need to change things, you end up just rewriting your tests so that they pass to match the new code, i.e. the new code becomes the test.
hacking_again··on Ask HN: What horrible things do you do in your own code when no one is watching?
Hard code passwords and temporary filenames.
hacking_again··on Science saved me from pretending to love wine
Ah, thanks for the explanation. For whatever reason, the idea of finding ways to encourage dinner guests to accept food or drink is foreign to me.
Page 1 of 3Next →