HNHacker News
TopNewBestAskShowJobs

stonemetal

3,102 karma · joined November 7, 2008

submissionscomments
stonemetal··on Apt: please make the moo reproducible
Here? Not much but as a style choice it is what lead to an SSL bug in iOS.

https://www.imperialviolet.org/2014/02/22/applebug.html

stonemetal··on 9M American men in prime working age can’t find jobs. I’m one of them
Heck there will probably be 11M jobs, someone has to man the walls to repel the ladders and pour boiling oil in the tunnels.
stonemetal··on Why I Studied Full-Time for 8 Months for a Google Interview
It is on free code camp's blog. So I guess they are advertising to try and pick up the star struck high school kids who want to work at google?

I just ran across free code camp a few days ago on reddit. They have an interesting pitch, learn to code then build a portfolio by building stuff for nonprofits.

stonemetal··on Why I Studied Full-Time for 8 Months for a Google Interview
>Shouldn't you just be doing this anyway if you want to be a good computer scientist?

Rather depends on the material. Writing code to learn something new, yes. Writing the same linked list inversion routine over and over, so that you can do it flawlessly on a white board during an interview not so much.

stonemetal··on The Elephant in the Smartwatch Room
> how most of them are Apples.

No, most of them are fitbit's but they don't fit with his narrative so they don't count.

stonemetal··on Why numbering should start at zero (1982)
When he has no argument other than the insult no, it really isn't funny. Why is understanding Cobol and BASIC a crime? No idea, only that the great and powerful EWD says so.
stonemetal··on China won't be luring foreign tech talent any time soon
>It is not that we are dummy. Our brain is just unable to hear (and produce) the exact sound.

This is only partially true. A speech therapist could train you to hear and make those sounds. The training is usually called accent reduction.

stonemetal··on I'm giving up on PGP
The combined online persona of those accounts is only as strong as their combined security. aka: Why would services need to collude when they can get the job done by ineptitude?

https://medium.com/@N/how-i-lost-my-50-000-twitter-username-...

stonemetal··on Thinking in Parallel
Unfortunately in the last few years concurrent and parallel have taken on technical meaning, so any understanding gained from what it means in the common tongue doesn't really help.

Concurrent is for separate entities working together in a coordinated manner. A prime example is threads working together on a work queue. Parallel is for a singular entity doing multiple things at the same time. For example a vector instruction that does multiple additions at the same time.

stonemetal··on Four Million Commutes Reveal New U.S. 'Megaregions'
>half a trillion in federal funds over half a decade

Don't multiply to make it sound like something. That works out to less than 100 million a year. To three significant digits that is 0% of the budget.

stonemetal··on Are investors moonstruck? Lunar phases and stock returns (2006)
It explains what "correlation doesn't imply correlation" means to those of us who have never heard it before.
stonemetal··on Sccache, Mozilla’s distributed compiler cache, now written in Rust
You can also have guards in rust's match expression. They must be bool a typed expression but other than that they can be as complex as necessary.
stonemetal··on GNU Health
Is it really open source though? Do they take contributions or is it just a source dump to comply with a FOIA?
stonemetal··on Court to Cops: No Immunity If You 'Don't Have Time for Constitutional Bullshit'
I would agree that they handle more than suicide response, but I would disagree that they are not primarily suicide response. If you call not in immediate crisis it sounds like they are going to refer you to the closest suicide prevention coordinator. From their when to call page:

>If you’re thinking of hurting yourself, looking for ways to kill yourself, or becoming self-destructive, don’t continue to face it alone. Contact the Veterans Crisis Line immediately...

>For Veterans NOT in immediate crisis:

>Help is always available. Suicide Prevention Coordinators are at all VA Medical Centers (VAMCs) nationwide and work closely with Veterans dealing with mental health conditions and with difficult life events and experiences.

https://www.veteranscrisisline.net/GetHelp/WhenToCall.aspx

stonemetal··on Court to Cops: No Immunity If You 'Don't Have Time for Constitutional Bullshit'
Veterans Crisis Line is a suicide prevention hotline setup by the VA for Vets. So yeah he called the wrong suicide prevention line but he still intended to call suicide prevention.
stonemetal··on Ask HN: How do you handle the business structure and taxes of side projects?
Not a Lawyer, but my understanding is that a single person LLC is a waste of time. When something happened and you were going to be sued they would sue you as a person and you as a business. Protection really starts once you have an employee or cofounder.

As a hypothetical: A domino's pizza driver causes a wreck, the victim sues the driver, and domino's pizza. The only entity protected in that case is the uninvolved individual domino's share holder. As the only actor you would never be the uninvolved share holder, you would always be the delivery driver directly involved in the accident. Therefore you always have direct culpability that can't be hidden by the LLC.

stonemetal··on Ask HN: Is Xamarin worth learning?
They said the same thing about the last 4 APIs as well.
stonemetal··on How Uber Manages a Million Writes per Second
I haven't worked with Cassandra much but I know the Elastic Search guys suggest running multiple nodes per box if your hardware is too big. They claim that the JVM works better if you keep its heap size under 32GB. Since Cassandra also runs on the JVM maybe a similar logic applies to it? Later on he mentions each Cassandra process gets 32GB heap.
stonemetal··on BearSSL – Smaller SSL/TLS
My understanding is it generally takes years. First it is reviewed by multiple security professionals who look for known attacks. Once it is generally thought to be ok it sees limited real world use. There it generally just takes trial and error time.
stonemetal··on Cognitive bias cheat sheet
>I routinely apply concepts from ... theory

Sounds exactly like what I would expect an Engineer to do. Apply theory to the real world. Versus a scientist who I would expect to develop, test, and prove new theories.

stonemetal··on Samsung 'blocks' exploding Note 7 parody videos
Fair use is an affirmative defense, not a get out of trouble free card. The process is right and correct for the rules as written. The rules may be bullshit but that is a different problem, and one that isn't going to be solved by feel good measures.
stonemetal··on Major Investor Sues Theranos
The exact same argument applies to any photo: If the news is based on facts, then the facts can speak for themselves. A photo does not support the article if the article is not related to how well the subject takes photos.
stonemetal··on Dramatically Reducing Software Vulnerabilities [pdf]
A Formal Method means to create a Formal System and construct a formal proof.

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

As a small example of using Hoare Logic, which takes every single command (aka line of code) in your program and turns it in to a Hoare Triple. A Hoare Triple looks like {precondition} command {postcondition}.

As an example let's prove the output is not 476.

    int numb;
    .....
    numb = numb * 2;  
    numb = numb + 1; 
    print numb
For print numb to print 476 we have the precondition that numb must be 476.

{numb = 476} print numb {We don't care what happens after you print}

If numb is 476 on the line above then the line before this one must have a post condition identical to this line's precondition.

{} numb = numb + 1; {numb = 476}

For this line to be true it must have a precondition that numb = 475

so {numb = 475} numb + 1; {numb = 476}

Again we chain this line's precondition to the previous line's post condition:

{} numb = numb * 2; {numb = 475}

Given that numb is defined as an integer there is no possible precondition capable of making this post condition true. We have formally proven this program is incapable of printing 476. Further since the stuff in the brackets can be as complex as we like we could have proven this program is incapable of printing even numbers.

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

stonemetal··on Behind the Pixel: Google’s First Real Threat to Apple’s iPhone
If you don't like LG and HTC simply because of popularity metrics then perhaps you are getting too young rather than too old.
stonemetal··on Now it’s exploding Samsung washing machines
It should be reasonable to fill the drum in the washing machine with clothes you expect it to wash. It is borderline fraud to make a washing machine that can hold 10 shirts but explodes as soon as you run it with more than 6. They have a label that says don't overload it, but without explicit markings that say a load is 6 shirts I would assume overloading meant the drum can hold 10 so don't put 14 in there. It isn't as if the user is doing something unexpected like loading it with bricks.
stonemetal··on The Next Industrial Revolution Could Put Millions Out of Work
Meh. That industrial revolution already happened. The number of workers needed by a factory is already 25% of what it was in the 60s. Will it fall further? Sure, as we learn how to automate more jobs. But it will be much slower, The low hanging highly profitable fruit has already been consumed.
stonemetal··on Julia v0.5.0 Released
To me it seems like it is professional programmers who are stodgy about their syntax. Non pros aren't as fussy when presented with something non standard because they haven't been married to the standard for 20 years.
stonemetal··on How the Sugar Industry Shifted Blame to Fat
Apes are not monkeys (monkeys have tails). In general primate is a very large group that includes lemurs and tarsiers.
stonemetal··on Ruminations on D: An Interview with Walter Bright
Always:

    import std.c.stdio;

    int main() {
	int x = 7;
	int* p = &x;
	 printf ("%d\n", *(p + 1));
	return 0;
    }
This compiles in D and violates memory safety.

If you prefer a documentation answer(https://dlang.org/spec/arrays.html#pointers) These are simple pointers to data, analogous to C pointers. Pointers are provided for interfacing with C and for specialized systems work. There is no length associated with it, and so there is no way for the compiler or runtime to do bounds checking, etc., on it.

stonemetal··on Former Sequoia partners: The Midwest is the future of startups
>really? source on that? What states exactly does that entail?

Is that really that surprising? The Census Bureau defines the midwest to be 12 states: Illinois, Indiana, Iowa, Kansas, Michigan, Minnesota, Missouri, Nebraska, North Dakota, Ohio, South Dakota, and Wisconsin. Their accumulated GDP is 3.6 trillion vs California's 2.4 trillion or approximately 50% more(numbers found on wolfram alpha). But then that is 12 against one, not exactly exciting that the Midwest isn't a third world country.

Not sure how CMU and Pittsburgh ended up there though that is Midatlantic not Midwest. Probably just makes the math more favorable.

← PreviousPage 4 of 34Next →