HNHacker News
TopNewBestAskShowJobs

michh

1,065 karma · joined March 27, 2011

submissionscomments
michh··on Cooperative Linux – running Linux as a Windows driver (2011)
I remember running this (way earlier than 2011, like 2003?) and it was really cool but it’d slow down the real time clock on the ‘host’ (co-habitating?) Windows install. I figured that was due to the clock being tied to cpu cycles and Linux stealing some of those. I’m not so sure about that explanation anymore, but I don’t have a better hypothesis either. Funny how that little detail stuck with me for almost 20 years…
michh··on Bird – Internet Routing Daemon
I really like BIRD. Having no prior experience with that sort of thing, we became a LIR at work and set up announcing our IP space to three different transit providers in three different sites. By using regular familiar looking config files it felt way more accessible than the standard stuff by/for traditional network engineers most of which seem to lean on model of configuring by entering commands in a CLI and then persisting the current state.
michh··on Keyboard Service Program for MacBook and MacBook Pro
Same here
michh··on Exploiting the Wi-Fi Stack on Apple Devices
It also includes the 5c, which was launched in 2013. The 8 gig version of it was sold by Apple as the budget option until September of 2015, a mere two years ago. Some retailers still carry them to this day.
michh··on Exploiting the Wi-Fi Stack on Apple Devices
You can. You'll have to navigate to WiFi in the Settings app for it though.
michh··on WINE 1.9.4 Released
I use WINE on a daily basis for 1Password. The browser integration even works with the native Linux version of Chrome, which is a much better user experience than copypasting passwords from the html/js based 1PasswordAnywhere.
michh··on Too many people have peed in the pool
I think this is a tricky problem to properly solve. Or rather: An opportunity for Twitter to really mess up attempting to fix this.

A big part of what makes Twitter interesting/worthwhile is the ability to interact with lots of different people you wouldn't have stumbled upon.

But also, especially when you're just starting out on Twitter, people you otherwise wouldn't have been able to get through to.

On Twitter I get to have a conversation with someone famous (in the industry but even bona fide celebrities like the author). People who I could never send an email, letter, call and actually get a response. On Twitter, I have a really good chance someone like Stephen Fry will actually read my tweet and even responding. I'm guessing the odds I'd be able to get him on the phone or have him accept my Facebook friend request are rather low.

If Twitter builds a filter bubble around all famous/verified users, it loses a big chunk of it's a appeal to the nobodies. Which includes both trolls and decent people. And I think Twitter can't do without the civilized nobodies.

michh··on Filter all ICMP and watch the world burn
Interesting!

I'd think, in theory the ECMP router could keep track of the MTU on a per IP basis (rather than per TCP connection) based on it having received the ICM unreachable packet. And from that moment on, sending a spoofed ICMP packet back whenever one of the servers it's routing for sends a packet the router knows won't reach the host.

But even if that works, I'm by no means a network engineer, your solution of simply broadcasting the packets is probably more efficient in the real world.

michh··on Groot Programming Language
Even though I got a laugh out of it, I propose we change the definition of esoteric programming languages to require more creativity from their designer than reimplementing brainfuck with different tokens for the operators.
michh··on Up to 12M websites may have been compromised via Drupal vulnerability
Just as I have no sympathy for programmers forgetting to always call mysql_real_escape_string and setting their encodings right in the old MySQL driver, it's not difficult to get right, but tons of people didn't and it made the web a worse place for everyone.

Plus, they might be able to figure out how to iterate and count an array but they might also figure out how to use implode instead which is less code and programmers tend to be lazy. And suddenly they've opened their app up to SQL injection because they forgot or are unaware they now need to do escaping despite using prepared statements.

And since their app might contain my data, I care about this and not just think "those idiots brought it upon themselves".

michh··on Up to 12M websites may have been compromised via Drupal vulnerability
I never said it was a problem with the language. I said it was poorly supported in a lot of platforms including PHP and I stand by that.

It has nothing to do with passing security audits or withstanding attacks, there's not a security flauw in the way PHP handles this because PHP or specifically the PDO framework relies on the user to implement this themself. There obviously can't be a security flaw in something which does not exist.

A quick Google search suggests it is not at all obvious to many how to do a parametrised query with an IN-clause using PDO. The highest ranking answer is this SO post: http://stackoverflow.com/a/1586650

Having to iterate the array yourself adding the right amount of placeholders and binding individual values is secure but a lot of boilerplate. Escaping values in PHP and concatting them in the old fashioned way ought to be safe but everyone switched to parametrised queries for a reason: in practice it's often fucked up which leads to security vulnerabilities. The last one, the find_in_set trick, is a clever kludge but a kludge nonetheless.

People shouldn't need to roll their own way to do this because that's where unnecessary mistakes get made.

michh··on Up to 12M websites may have been compromised via Drupal vulnerability
It's awful how poorly IN-clauses are supported (in lots of places, not just PHP) considering how often they're used and how useful they are. I mean basic stuff like being able to use them securely or making programmers write their own checks to prevent SQL-errors on empty lists.
michh··on Facebook Rooms
Ugh. I'm in .nl and our app store still doesn't have Facebook Paper, it's been available in the US store for ages now.
michh··on Calories in, calories out
Same, I lost a lot of weight a couple of years ago and it was hard. And it's still difficult to keep the weight off, even though it's been 5 years since I lost it and am on a regular exercise routine.

I've pretty much learned to accept it's something I'll have to deal with for the rest of my life, rather than "I was fat once, I got rid of it, it's no longer a concern, the end."

It totally pisses me off to see people who can't manage to do the same being judged in awful ways by people who were lucky enough not to have to do it in the first place or for whom it was apparently relatively easy and assume it'll be just as easy for everyone else.

I count myself amongst the lucky, I'll never say "I could do it, so you can too." It's counter productive and an awful thing to hear when you're already really trying.

michh··on Sysmon – Log system activity to the Windows event log
definitely :)
michh··on Sysmon – Log system activity to the Windows event log
That definitely goes towards the "good reason not to use XML" part of what I said, imo ;)
michh··on Sysmon – Log system activity to the Windows event log
The `<Data Name="key">value</data>` in there makes me sad. It's better than the `<field name="key" value="value"/>` one of our partners uses at work but still...

If there's a good reason for it, it's just as much of a good reason XML isn't suitable for what you're trying to do.

michh··on How the Gut's "Second Brain" Influences Mood and Well-Being (2010)
This. It's so weird when you conclude your mind is having a direct and undeniable influence on your physical wellbeing.

In my case, I can't eat certain foods (I'm still trying to work out which, but it includes chocolate) when I'm stressed. I get severe cramps, bloating, pain and even hot flushes (intense sweating). It happened to me on a train once and people thought I was OD-ing.

And stressed doesn't mean "close to the edge". Just a bit of nerves about something, definitely not enough to keep me up at night, will do the trick.

When the evidence suggested chocolate made me really unwell, but only if I was a bit stressed, it was really hard to accept because it just sounds so weird and implausible.

michh··on We Have No Idea If Online Ads Work
Oh, over here that's been banned as well. I thought it was an EU thing but I guess it was our government. They're even banned from sponsoring events.
michh··on We Have No Idea If Online Ads Work
Cell plans and phones, but I suspect it's a plague in more markets than just ours.
michh··on We Have No Idea If Online Ads Work
I remember reading the tobacco industry was actually secretly grateful when the EU banned them from advertising.

As I remember it, they were in a stale-mate. The market was pretty much divided up. Most people were loyal to their brand and that was that. Despite that, they were spending a massive amount of money on advertising even though their market shares remained unchanged.

The reason was that if one of them stopped funnelling massive amounts of cash into advertising, they would lose a big chunk of their market share to the others. So they were all paying mostly to maintain the status quo.

With the ban on advertising, the amount of money saved greatly outweighed the revenue lost as others couldn't advertise either so it really only affected new smokers rather than convince current smokers to switch brands.

I see a similar thing happening in my line of work. In our niche of e-commerce every player of importance works with the same online marketing networks and paying rather a lot per sale or click.

There's a whole lot of sites out there which basically exist to infest organic search results, send traffic to us and our competitors and collect their referral fee from the advertising network. They add no value[1]. Without them, the customer would have been similarly divided amongst the competition as well without having to pay for it. Yet, if we stop paying them, we'll lose a lot of business as our competitors will continue to do so.

Disclaimer: this is all as I understand it and in no way my employers opinion or persepctive ;)

1) Some do, by providing extra information or ranking the shops by what's best for the consumer (price, reviews) rather than the most cash-per-click.

michh··on [dead]
I disagree, who says there isn't a bug with Heartbleed-like severity in their crypto?

You could flip your argument around and say the fact it took so long for Heartbleed to have been discovered means even OpenSSL didn't have enough people checking it. Which it probably didn't. And Telegram has even less people combing through its source than OpenSSL did pre-Heartbleed.

The only valid reason I can think of is a small and obscure proprietary crypto algorithm and implementation isn't worth the bad guys/agencies' time for finding the inevitable bugs. But Telegram has gained more than enough popularity for that ship to have sailed months ago.

michh··on The Lambda Calculus for Absolute Dummies (2012)
Heh, hadn't seen that before. I mostly remember wondering why the teacher was always talking about pizza.
michh··on The Lambda Calculus for Absolute Dummies (2012)
It's more: you can only see how simple it really is once you understand it and it seems incredibly complicated until you do.

And that's incredibly frustrating for both sides of the student/teacher relationship.

michh··on Adding 'rebeccapurple' color to CSS Color Level 4
Before you follow up with a rant on being downvoted for merely having a different opinion: I only speak for myself but I don't mind you saying you're opposed to this proposal. Sure, it makes me not like you but if I downvoted everyone I didn't like it'd be a full-time job.

The reason (at least, for me) is the rather insensitive way in which you expressed your opinion. Take a few steps back and reconsider what you wrote on what is essentially a thread about a father losing his daughter.

michh··on The first stable release of PyPy3
I don't think it's fair to put the blame of the unfortunate way things have gone with Python 3 solely on the shoulders of GvR. Afaik, a huge part of the community felt this was the way to go. Unfortunely, it wasn't.
michh··on M64.pl – how I learned that the default settings are not production settings
If an attacker can get elevated privileges through an user account, the users themselves can do so as well.

And you shouldn't trust them either, so you need to assume they have if they could have. That means definitely reinstall when you find out you've been vulnerable to e.g. a local root exploit, regardless of user accounts have been hacked.

michh··on M64.pl – how I learned that the default settings are not production settings
In this case, if I read the article correctly, only a single account was compromised. I'm assuming the www user doesn't have sudo privileges (though I might be wrong as it shouldn't have a password either and it clearly did..).

Sure there might have also been a local privilege escalation vulnerability, so rootkits are definitely something to check for. Depending on the situation, re-installing might be less work, so then it'd make sense.

But especially if you're not the only one using the machine, having to reinstall the OS every time a single user fucks up and has 'password' for a password, it's going to get really tedious really quickly.

michh··on Git 2.0 is here
Full of goodies? Meh. Yes, some default behaviour changed in what I think are mostly good ways.

There are some new features, some of them useful for a lot of people, some of them not so much.

It's good, but full of goodies? Nah. That's overselling it.

michh··on Git 2.0 is here
That reverts the diff a commit causes, but doesn't undo `git commit` which is what I suspend OP meant. Of course, there's `git reset` for that, but they were asking for an alias.
← PreviousPage 3 of 7Next →