Better HN
topnewbestaskshowjobs
Log inSign up

codezero

10,627 karma · joined Dec 8, 2010 (15y ago) · 4,013 submissions

I am a meat popsicle.
Submissions

comment 13y ago · link · parent

Please be very careful doing math with bash and awk...

  cat data.csv | awk -F "|" '{ sum += $4 } END { printf "%.2f\n", sum }'
From that command, it's unclear whether the sum will be accurate, it depends on the inputs and on the precision of awk. See (D.3 Floating-Point Number Caveats): http://www.delorie.com/gnu/docs/gawk/gawk_260.html

comment 13y ago · link · parent

Tis is very likely. I bought a map of the US for my dad (he collects old maps) which depicts California as an island some 10-15 years after they were sure it wasn't an island. It turns out that novelty maps were more in demand than real maps.

comment 13y ago · link · parent

But if you have no offices then you are OK?

Thanks, by the way for clarifying.

comment 13y ago · link · parent

In California, the reverse is true. Your registration becomes revoked when your insurance expires, not the other way around. I am still insured since I pay a private party for coverage and the vehicle code here doesn't have the power to revoke that contract.

comment 13y ago · link · parent

It's my understanding that the content provider is only responsible for laws in areas where their data is hosted. Does Twitter have a data center in France? If not, how did this end up in French court?

comment 13y ago · link · parent

I just think its unlikely that an alien message would be coded. Our own messages sent with intent to space are not just unenciphered, they include a lot of meta data to make finding the patterns required to understand it easier.

If instead we used a one time pad, we wouldn't have much luck reaching out to aliens. This points to the more likely scenario that the manuscript isn't encoded at all (gibberish) or it was meant to be understood by only one person.

comment 13y ago · link · parent

Whoever wrote this was either:

1) writing gibberish 2) writing in a coded language to hide the message

Neither of these would be the same as a coordinated attempt to communicate, even if it were asynchronous.

comment 13y ago · link · parent

If Plug ended up being widespread enough all they have to do is focus efforts on penetrating Plug devices. Security in the hands of end-users, while great for the tech savvy person with lots of free time, is a disaster for "normal" people.

comment 13y ago · link · parent

It's a slightly pedantic thing, but since the article is about the syntax of the loops, the author has misused the range loop in most cases.

When you only provide one variable for assignment, you are actually assigning the key (or incremental value), not the value, the syntax is:

  for key, value: := range someThing {
When you do:

  for something := range someThing {
something won't have the value. If you just want the value you need to use:

  for _, value := range someThing {

comment 13y ago · link · parent

It depends on what you are optimizing for. In his case, I presume it was privacy.

comment 13y ago · link · parent

It's not just you.

comment 13y ago · link · parent

Ah yeah, I think you are correct, very clever. I still think that going with the fix-it ticket route would be feasible for the normal folks. Though I am not sure if they end up raising the price if you repeatedly get the same fix-it ticket, that might be a problem.

comment 13y ago · link · parent

It's too bad current vehicle codes forbid you from obscuring your plate at all at any time, this makes it illegal to hide your identity from would be data collectors, which makes protecting yourself very difficult. I suppose you could just go without plates like Steve Jobs did and pay the fix-it tickets you end up getting.

Personally, I tend to forget to pay my registration for a solid 6 months before I finally get pulled over for it every year, and it costs me about $35 extra, so if this becomes pervasive, it might be worth considering losing the plates. I'm willing to bet that some officers would even be slightly sympathetic if you explained your reasoning, not that they wouldn't still give you a ticket, but maybe.

comment 13y ago · link · parent

If you add ?share=1 to the end of Quora URLs that you share, it will make sure that people who follow the link won't see a sign-up call to action or any answer blurring.

comment 13y ago · link · parent

I'm not a cop so I can't say what they find most useful in a detective, but my guess is that the internal filtering process will select for the most intelligent of the ones they have recruited, and that a lot of that intelligence is defined in terms that are specific to being a cop, and specific to what they learned while already being a cop, so it may not be an innate intelligence that is optimal for the kind of person you want to be a detective.

Personally, I'm all for very intelligent cops, and at the very least, having lots of people on the spectrum of intelligence in various roles makes sense to me.

comment 13y ago · link · parent

From the article:

  "New London police interviewed only candidates who scored 20 to 27, on the theory
  that those who scored too high could get bored with police work and leave soon
  after undergoing costly training."
This doesn't seem crazy, but I'd like to see if they actually have data showing a higher turn-over rate for high IQ people they accepted in the past.

The cost of training is high, so filters seem appropriate, if they can filter out people with low scores (and by proxy IQ), then they can filter out people with high scores.

comment 13y ago · link · parent

Rather than (or in addition to) apologizing for a Quora link, just add ?share=1 to the end of the URL so that none of the sign-up call to action or answer blurring appears.

comment 13y ago · link · parent

As with any non-standard tethering solution, make sure you have a firewall somewhere along the way that blocks ports that your phone doesn't normally access. Your provider will detect these outgoing connections and send you a warning/threat.

3829.

Learn how to be a more effective engineer.(theeffectiveengineer.com ↗)

1 points · by codezero · 13y ago · discuss

comment 13y ago · link · parent

This usually happens because the image is stored on a third party CDN, and their delete process probably just touches their local data. Of course they can delete stuff off the CDN, but I can see why this might have been missed. If you contact Twitter support, they can probably fix this.

comment 13y ago · link · parent

Yep. My guess is that when you deactivate, FB marks your posts as deleted to remove them from view, then when you reactivate, it unmarks them, but doesn't make a distinction between whether the user manually deleted them, or whether it was automatically done as part of the deactivation process.

comment 13y ago · link · parent

Just as a heads up, my map screen is different so I presume it's randomly generated.

comment 13y ago · link · parent

Cool.

One angle you might consider if you want to end up at NASA or SpaceX is to get a job at a University department or specific research group that has close ties. These groups usually pay pretty well and are often in need of good programming help.

comment 13y ago · link · parent

Good luck -- don't sell yourself short looking for anything you can get, even if it's for a short period of time do something that is engaging or interesting to you.

side note: the link to your Twitter profile on your site http://www.brwr.org/about is broken.

comment 13y ago · link · parent

very interesting, thanks!

comment 13y ago · link · parent

They may have patented it, but that doesn't prevent others from innovating along a similar path. I am pretty disappointed with non-Apple power adapters across the board, and while magnetic adapters may seem great, there must be something that is between standard DC cylindrical male->female or chunky rubberized proprietary plug and MagSafe and I just don't see that from anyone else.

Granted, I am not looking very much, but when I see a new hot system, I do consider it, and I haven't seen anything that caught my eye :/

comment 13y ago · link · parent

Pretty impressive specs and battery life, but every time I see the power connector for a non-Apple notebook, it makes me kind of mad, MagSafe is really exceptional and Apple's power adapters are generally tiny and unobtrusive, pretty important since you use one at least once a day.

comment 13y ago · link · parent

Awesome, thanks for the info.

He still didn't remove the obvious branding ties all over his website, but at least he did change the physical cover, I'm still not convinced it worked out as well as JD would have liked.

comment 13y ago · link · parent

Unfortunately, it looks like such kindly worded cease and desist orders do not actually produce results, the person here doesn't appear to have changed the cover of the book at all.

http://www.amazon.com/dp/1621050203

comment 13y ago · link · parent

Not that correlation implies causation, but as of yet, consciousness is only considered in creatures which also recognize morality.
1
127128129
134