HNHacker News
TopNewBestAskShowJobs

Mithaldu

8,182 karma · joined September 26, 2009

Can also be reached under walde.christian@gmail.com
submissionscomments
Mithaldu··on Salesforce fires red team staffers who gave Defcon talk
puppet is not mentioned once in the article. It's called MEATPISTOL, which is a obviously a codename. Also this is Defcon.
Mithaldu··on Second body cam video of Baltimore cops manufacturing evidence discovered
The last video i saw of german police "attacking" left wingers was literally police officers gently lifting them up and away from a slowly moving car.

I'm a socialist myself, but if you want to do anything good for the left, make sure you get your stories very straight.

Mithaldu··on Benchmarks of PHP 7.2 Beta: PHP Is Still Getting Faster
Does stacking of PHP's ternary still result in hard-to-predict behavior?
Mithaldu··on Kerbal Space Oddities
KSP is laggy because it's a ridiculously detailed physics simulation. This has nothing to do with Unity.

(And i say this as someone who hates Unity for the actual graphics handling bugs it has.)

Mithaldu··on Where’s all my CPU and memory gone? The answer: Slack
Discord performs pretty badly to be honest. I have it idling with no chats open and using as much resources as other chat clients with 50+ chats open.
Mithaldu··on Petition to open source Flash

  > Good experiences with flash:
  > 
  > [1 item]
Ah, so you're against it because you're ignorant.
Mithaldu··on Firefox’s speed with large numbers of tabs leaves Chrome in the dust
I use a browser that handles the favicons like a sane person instead of the travesty Chrome perpetrates.

http://i.imgur.com/XEXHXJB.png

Mithaldu··on Firefox’s speed with large numbers of tabs leaves Chrome in the dust
Who are you, why are you so cruel, and how can i get you help to be not cruel?
Mithaldu··on Writing code with multiple overlapping side effects with a straight face
Perl is a C style language.
Mithaldu··on Writing code with multiple overlapping side effects with a straight face
To be honest, with that explanation the decision you made has nothing to do with ternaries, and is entirely just the mirroring of the decision the if forced on you.

Also,

> in languages we're discussing

Don't bury that lede. If you're restricting what you're saying to a specific language say that bold and as the very first thing, so people don't end up wasting their time parsing your post in a different context. Rude.

Mithaldu··on Writing code with multiple overlapping side effects with a straight face
Shouldn't that be:

  Foo value = ( someCondition() ? map1 : map2 ).computeIfAbsent("key", defaultValueProvider);
Or some kind of moral equivalent?
Mithaldu··on Writing code with multiple overlapping side effects with a straight face
Honest answer. :) Rephrased: There is no reason. It's just tradition for you.
Mithaldu··on Writing code with multiple overlapping side effects with a straight face
> Ternaries strongly suggest "side effect-free

How do they suggest that?

As far as i am aware ternaries put no restriction whatsoever on what kind of code you can put in its branches.

I don't buy the comparison with getX either, since ternaries have no name, they're just some punctuation, and even if implemented as if/else word pairs are completely vague.

Mithaldu··on Writing code with multiple overlapping side effects with a straight face
Apparently Rust doesn't. Julia/Perl have it, Python has it with words, and R code can import it.
Mithaldu··on Writing code with multiple overlapping side effects with a straight face
> Personally, where I try to avoid using ternary operator, is places where I don't care about returned value.

As i asked below: Why though?

Mithaldu··on Writing code with multiple overlapping side effects with a straight face
Are you saying this suggests it does something different from what it does? What does it suggest?

  boolean_flag
      ? do_this()
      : do_that();
It seems so terse as to be impossible to misinterpret.

The only possibly feasible way i see for it doing something unexpected would be if it were the last statement in a function in a language that implicitly returns the value returned by the last statement in a function; but users of such languages usually are aware that can happen.

Mithaldu··on Writing code with multiple overlapping side effects with a straight face
Why are those the only options? I know languages where if/else blocks return values. (Rust, Julia, Python, Perl, R) I also know languages that allow easy ways to embed multi-line blocks into a ternary. (Rust, Perl)

I'm sorry, but i really don't follow your logic, can you try to explain it more clearly?

Mithaldu··on Writing code with multiple overlapping side effects with a straight face
What is your justification for the restriction though?

Personally i dislike the latter form because it requires me to spend extra time reading what is boilerplate that is functionally identical to a ternary.

Edit: Not impressed by the down-voting of an earnest question of someone trying to learn more about how other people see things, HN.

Mithaldu··on Why I left Japan after 10 years
Next time try to use an analogy that doesn't need explanations to clarify why it isn't entirely broken. For example cut off fingers would've been a useful one, particularly in this context.
Mithaldu··on Why I left Japan after 10 years
> Tattoos are literally the same thing as being gay.

Yep. Ok. Mhm.

Mithaldu··on Why I left Japan after 10 years
> this is simply not a topic for foreigners to discuss

Heavily ironic when this applies in the country of freedom.

Mithaldu··on It's been 191 days since Google Drive worked for me
> In terms of the customer support side of things, I don't know all the specifics of what happened, so I won't comment further.

What possible reasons could there be for your support team denying the refund that may have been left off that page? Hypothetically speaking.

Mithaldu··on It's been 191 days since Google Drive worked for me
I think he means "on that list", not in actual comms with google.
Mithaldu··on Last Words From Death Row (2015)
Why would they seek help in the USA? Have you looked at the public sentiment towards people with actual issues? The sentiments you wrote out yourself? Have you seen the sentiments towards people needing healthcare who cannot pay for it on their own? Are you aware of the dire state of mental healthcare in the USA, which mostly seeks to sidestep actual tratement by way of forced locking in, coupled with drugs that practically zombify people?

One of the most popular types of medicines in the usa to prescribe to people with psychotic tendencies entirely eradicates any psychotic outbreaks, but also completely suspends the physical production of dopamine, meaning people become physically unable to feel happiness, or much of anything. They become inert breathing husks.

And since a lot of people are either of the opinion "fix yourself, or we'll fix you with guns", and the "fix yourself" step is pretty much suicide, just of another kind, it is not only normal that people don't seek help, but it would be almost crazier to actually go and seek help.

Until the USA as a country actually start caring about these people, like the citizens they are, they will have no incentive whatsoever to trust themselves to other people, and things like those in your list will keep happening.

Mithaldu··on Last Words From Death Row (2015)
What you're saying is, they all had undiagnosed mental issues, that could've been treated. And the main reason for them not getting the treatment they needed is that people with opinions like yours set the tone.
Mithaldu··on Last Words From Death Row (2015)
> I really give zero fucks about the monster's backstory

And this is exactly why it keeps happening.

Mithaldu··on Last Words From Death Row (2015)
> That's a flaw in the system.

Not only that, is is a flaw that cannot be fixed. Period. There is no 100% reliable way to handle this without mistakes. And mistakes are not only irreversible, they cannot be made up for in any way. As such this particular system cannot be allowed to be used.

Mithaldu··on The Long, Weird Half-Life of Trinitite
While interesting, it does not contain anything about real half-life, but is about the way humans deal differently with the remains of a nuclear explosion.
Mithaldu··on Customer's 20-year-old email account shut down over unusual address
You may not fully understand just how much work they're asking him to do, some of which may not even be possible, because of their own fault; and on top of this their refusal to help him fix their mistake at all.

This is not "bad luck".

This is "extreme cruelty".

Also, since you like conventions, grandfathering in decisions made before a convention became reality is also a convention.

Mithaldu··on Delete Hate Speech or Pay Up, Germany Tells Social Media Companies
Germany actually has these restrictions because it affords its citizens more rights than most countries. And these restrictions exist exactly because rights may only be exercised unless they impinge on the rights of others.

And i invite you to read the very first law in the german body of law, that enshrines a right that does not exist in all countries:

https://www.gesetze-im-internet.de/englisch_gg/englisch_gg.h...

← PreviousPage 9 of 34Next →