HNHacker News
TopNewBestAskShowJobs

majelix

160 karma · joined December 30, 2011

submissionscomments
majelix··on NSA revelations could hurt collaboration with 'betrayed' hackers
> It's worth pointing out that you don't need to work "for the NSA" to be contributing to state surveillance.

The flip is also true: you're not necessarily contributing to state surveillance just because you work "for the NSA". Two easy examples are SELinux and the various NSA Guides to Securing <OS_of_choice>.

majelix··on Feds, We Need Some Time Apart
Perhaps this is why this bothers me: the Feds don't need any help from Defcon. If anything, it's the other way around.
majelix··on Feds, We Need Some Time Apart
> Not true at all. It entirely depends on what you're building.

No it doesn't. He's making the same argument terrorists sometimes use to justify their actions. We're not innocent -- that by paying taxes, voting, and otherwise being a member of our society, we're culpable for what that society chooses to do.

You don't get to pick and choose what your taxes fund; in large part, that's the whole point of taxation.

majelix··on Ask HN: How does one create a fake identity?
> Sadly, making driving licenses is not too hard

The hard part, I imagine, is testing that's a good-enough fake. Standing in front of the passport agent or getting pulled over are probably the worst possible times to learn your print was an eighth of an inch off in the wrong place.

majelix··on The Strange Case of Barrett Brown
Cute, but I[0] don't think the law is that straightforward to interpret. At least according to Wikipedia[1], "cruel and unusual punishment" is a legal phrase all into it's own, regardless our lay interpretation of the individual words.

In Furman v. Georgia, 408 U.S. 238 (1972), Justice Brennan wrote, "There are, then, four principles by which we may determine whether a particular punishment is 'cruel and unusual'."

* The "essential predicate" is "that a punishment must not by its severity be degrading to human dignity," especially torture.

* "A severe punishment that is obviously inflicted in wholly arbitrary fashion."

* "A severe punishment that is clearly and totally rejected throughout society."

* "A severe punishment that is patently unnecessary."

These "principles" probably themselves have oblique legal meanings seperate than what we'd expect, and there's probably been a new ruling or two on the 8th amendment in the past 41 years.

--

[0] IANAL.

[1] Yes, I know.

majelix··on Cryptography is a science, not engineering
> is that you get very little feedback on this.

Are there any easy-to-implement tests for this sort of thing? For example

* For mathematical functions, I can trivially test for an expected value, a too low value, a too high value, and not a number input.

* For input/output sensitization, I can pump crazy unicode characters or system code.

* For encryption, I can ... open up tcpdump and see that it's ostensibly garbage-looking?

majelix··on Booz Allen fires leaker Snowden
If I had to guess, it's http://careers.boozallen.com/job/Honolulu-Systems-Administra... . At least you have a starting point for salary negotiations, and an easy talking point on ethics.
majelix··on Leaving Google’s silo: Alternatives to Gmail, Talk, Calendar, and more
As others have mentioned, it's not really the technical aspects of SMTP that make hosting your own email difficult. It's the entire deliverability ecosystem that's developed (ostensibly to protect from spam), such as most residential providers blocking outgoing port 25, or most mailservers filtering incoming mail from dynamic IPs.
majelix··on The //* /*/ //*/ comment toggle trick
It's a fairly subtle way to dramatically change the behavior of your code. Frankly, it's a timebomb threatening to run testCode() in your production site.

The low cost makes it useful for quick development, sure, but for stability's and sanity's sake, please remove when you start promoting this above your own playground.

majelix··on How I spend my first 5 minutes on a server
> but I find the idea of anyone with access to my local machine being able to access my server with 0 additional credentials really disconcerting.

You could hook whatever locks your screen to also clear your ssh-agent then. This is probably something like alias xlock=$(ssh-agent -k && xlock) in linux.

You do lock your screen, right?

majelix··on How I spend my first 5 minutes on a server
> There are security standards which mandate certain kinds of passwords (complexity) and are silent on asymmetric keys, so you couldn't use keys in those environments.

Every single auditor I've worked with has given a pass when they saw we were using keys instead of passwords. Do you also fail audits because your RSA token is only 10-12 digits?

You could, I suppose, demand users upload their private key (shudder) to the organization so you can check if it's encrypted; this has its own flaws (primarily that you've just taught your users to be giving with their private key), and you still can't enforce passphrase strength well.

majelix··on How I spend my first 5 minutes on a server
Expiring an ssh-key is easy, just remove the public key from authorized_keys. Dealing with theft is also straightforward: just add a passphrase to the key -- the time it takes to crack your pass phrase should be more than the time it takes for you to run ssh-keygen && ssh-copy-id.
majelix··on How I spend my first 5 minutes on a server
chkconfig is redhat specific. I believe debian-varients use update-rc.d.

Generically (for Linux), take a look at /etc/init.d , /etc/inittab, or /etc/rc?.d.

majelix··on Stop Working More than 40 Hours a Week
> without losing face.

Honestly, isn't the crux of the problem? Even if you are a superstar, you'll still get typecasted as smart-but-lazy and find yourself on the outside. Generally speaking, this is an organizational problem.

majelix··on Obama endorses required high school coding classes
Unless the work from rate is vastly higher or mass transportation vastly better where you are than me, 90% of jobs requiring a car is a huge understatement. People own several cars over their lifetime and it's one of the largest purchases they will ever make. Mistakes in a car are far more dangerous and expensive than mistakes with a computer.

You know, maybe bringing back driver's ed wouldn't be a terrible idea after all.

majelix··on Obama endorses required high school coding classes
>> it would almost certainly poison the minds of the people who have no interest in it

> ...what exactly do you mean by "poison the minds"?

Not the OP, but I think he's afraid that the level of education provided for coding will be like the level of education currently provided for english or math. How many people do you know who claim to hate classical literature? Many of those are probably because they were forced to churn through and regurgitate about grommets instead of just enjoying a book. How many people claim to hate proofs because they were forced to write down "a straight line is straight" a million times in basic geometry?

majelix··on The One Interview Question You Should Ask
This sounds like a trick question. If you want to measure passion for the job, ask about the job and listen to them. Don't ask them about something else and wait for them to bring it back up.
majelix··on Google Declares War on the Password
This is actually why two factor authentication is great. In this instance, users were still protected (at the least) by their PIN.

This is somewhat equivalent to losing your ssh private key. Yes, it's bad, but your passphrase should ("should" -- at least it's not an immediate breach like losing a password or clear text private key) buy you enough time to revoke and replace the key.

majelix··on How do you manage a team of geeks?
> Its just that geeks are more likely to stand up to a manager (They respect ideas, not authority)

How much of this is inherit in "geeks" and how much is just because we're lucky enough to be in one of the strongest job markets around? Many people would be ecstatic to have the problem of recruiter spam.

majelix··on Everything You Know About Fitness is a Lie (2011)
WARNING: DO NOT USE A THUMBLESS GRIP.

Yes, it's a slightly better angle for your wrists, but you can get that anyways, and it will kill you.

majelix··on Everything You Know About Fitness is a Lie (2011)
It's possible, but difficult. Like many other extraordinary feats like doubling your bench press in a month, it's most often seen in people just starting out.

In general, gaining strength means a caloric surplus, and in general, losing weight means a caloric deficit. There are programs like leangains that try to do both. There's a reason the "pros" have separate cutting & bulking phases, although that's maybe needless and arguably dangerous for mere mortals.

I suck at dieting, so I won't give specific advice other than perhaps troll r/fitness & co.

majelix··on Einstein's list of conditions for staying together with his wife
It tends to be more about ethnicity than nationalism per se, but yes. Your membership in the Albanian/Serb/Roma/Croat/etc. community is central to your personal identity in the Balkans, far outweighing where you happen to live or where you happen to spend your Sunday mornings/Friday afternoons.

They're all interrelated though, so it gets complicated rather quickly. But yes: Serbs are proud to be Serbs.

majelix··on It's More Important to Be Kind Than Clever
It's because it's something we suck at and so have to consciously work on. I imagine that there's an extrovert party going on somewhere where they're all talking up how important being right actually is.
majelix··on It's More Important to Be Kind Than Clever
Being clever is all well and good as long as you're right. But all those enemies you're making by being a jagoff are waiting for you to slip (or at least won't be forgiving).

In the mean time, Forrest Gump has buddies everywhere who willing to give him the benefit of the doubt when he accidentally commits a broken build.

Be excellent to each other.

majelix··on It's More Important to Be Kind Than Clever
"Being mean" is about HOW you present the facts. Yes, this is more or less difficult with some facts (such as getting fired), but there are ways(It's not you, it's me).

It's up to us to care enough to be nice and how we're perceived.

majelix··on Understanding Algebra: Why do we factor equations?
The obvious counterpoint here is that we're trying to teach skills before they're needed. After all, it would suck to have to rediscover Calculus on your own in the middle of your Physics II exam just because you didn't see a point to it at the time.
majelix··on Windows 8 Tells Microsoft Everything You Install, Not Very Securely.
> disabling this is offered in the privacy settings, and it is even put in front of your face during OS install.

What's the default behavior? I think we've all had experiences (or know of) of not-entirely-reading all things and ending up with eight new IE taskbars installed.

majelix··on How Apple and Amazon Security Flaws Led to My Epic Hacking
Que the "Apple locked me out of my OWN DATA!" screed in 3, 2, ...
majelix··on "The carpets are so clean, we don't need janitors"
Given the anecdotal basis of the account, there may be a good bit of selection bias on both sides of the cut here. He may be forgiving or forgetting those times when something did slip (either because it was so rare or because it was so easy to get fixed), and might be extremely harsh on the failings in the future, due to it being the 18th time it's happened that week or just "I told you so!"
majelix··on Things the TSA doesn't want you to see
> Gold, silver, jewelry and other forms of portable wealth will not be able to be taken out of the country.

Does the TSA assist with customs now?

← PreviousPage 2 of 3Next →