Better HN
topnewbestaskshowjobs
Log inSign up

engtech

1,397 karma · joined Oct 19, 2007 (19y ago) · 375 submissions

Submissions

comment 14y ago · link · parent

If people care about this kind of thing?

Back when I ran a blog, I did 60k hits in a day once on feb 14th 2007. I stopped writing it in 2008.

My old blog was averaging 15k views/month in 2010, and is now averaging about 12k views/month in 2012.

blog was actively written between 2006 to 2008

Here are the views/year summary:

   2006 -   454,315 views for the year
   2007 - 1,843,164 views for the year,
   2008 - 2,028,296 views for the year
   2009 -   865,304 views for the year
   2010 -   192,581 views for the year
   2011 -   157,805 views for the year
   2012 -   141,126 views for the year

http://engtech.wordpress.com

comment 14y ago · link · parent

Short variable names are fine if the variable exists for a short time (eg: if the variable lives more than 5 lines of scope then use a longer variable name).

But don't use single character variable names. We've all gotten in the habit of using i,j,k as loop variables, but ii,jj,kk are absolutely a better choice for the simple reason that you can use any text editors' search function to find "ii" without any false matches, but "i" will have you searching all over the place.

TL;DR - using "ii" instead of "i" makes it easier to maintain code.

comment 14y ago · link · parent

Setup was free when transferring from Rogers cable, I just had to buy a cable modem which I bought from Canada Computers.

Teksavvy has never been to my house, it was just a phone call to set up the cable modem.

comment 14y ago · link · parent

If you're talking about the recent long gun registry, Canada has always had much stricter gun legislation than the U.S.

This website gives a walk through of the process required to legally obtain a gun in Canada:

http://www.howtogetagun.ca/

In 35 years of urban living in Canada, I've never seen a firearm that was not being carried by a law enforcement official. I do not know anyone who owns a fire arm.

This seems very different compared to some of the slogans I saw in the recent U.S. election where you could "vote and win a free gun". http://www.inquisitr.com/376318/vote-in-georgia-win-a-free-g...

comment 14y ago · link · parent

"So, yeah, if a peaceful process of information flow could bring Afghanistan into the Twenty-First Century, I'm all for that."

I'm constantly surprised that when it comes to regime change that there isn't an effort to set up some satellites and air-drop some mobile smartphones with data plans designed with the same principals as one-laptop-per-child.

Look at what Facebook and Twitter did for the Arab Spring.

comment 14y ago · link · parent

I don't know that the homicide rate is because of gun control. I don't think it is possible to directly come to that conclusion given the other societal factors.

But it's an interesting data point.

This article tries to dissuade that control gun is responsible for the low homicide rate in it's summary.

http://www.guncite.com/journals/dkjgc.html

"The idea that Japanese gun laws should serve as model for other nations is not uncommon. Some Americans propose laws even more severe than Japan's.[124] Often, the suggestion comes as an offhand remark in an newspaper editorial, but even when the suggestion is advanced by scholars, the reasoning is often superficial and unpersuasive.

L Craig Parker, an American expert on the Japanese police, proposes that the United States adopt Japanese gun control and also other Japanese strategies, such as a National Police Agency. Parker's brief discussion of guns, however, simply recites statistics showing that Japan has less guns and less gun crime. His only evidence that gun control would actually reduce crime in America is a study by Dr Leonard Berkowitz arguing that guns cause aggression. Actually, what the studies by Berkowitz and others showed was that people acted more aggressively towards other people if the other person was associated with weapons; for example, motorists reacted more aggressively to other vehicles slow to accelerate when a red light turned green if the slow car had a rude bumper sticker and a rifle in a gun rack.[125]

Summing up the perspective of many gun prohibitionists, one Japanese newspaper reporter writes, 'It strikes me as clear that there is a distinct correlation between gun control laws and the rate of violent crime. The fewer the guns, the less the violence'.[126] But the claim that fewer guns correlates with less violence is plainly wrong. America experienced falling crime and homicide rates in the 1940s, 1950s, and early 1980s, all periods during which per capita gun (p.40)ownership, especially handgun ownership, rose.[127] And Japan, with its severe gun control, suffers no less murder than Switzerland, one of the most gun-intensive societies on earth.[128]

Japan's gun control does play an important role in the low Japanese crime rate, but not because of some simple relation between gun density and crime. Japan's gun control is one inseparable part of a vast mosaic of social control. Gun control underscores the pervasive cultural theme that the individual is subordinate to society and to the Government. The same theme is reflected in the absence of protection against Government searches and prosecutions. The police are the most powerful on earth, partly because of the lack of legal constraints and particularly because of their social authority."

I found that article from this:

http://www.theatlantic.com/international/archive/2012/07/a-l...

comment 14y ago · link · parent

If you find that staggering, then absolutely avoid looking at Japan homicide stats.

Japan is 0.4 per 100,000.

Japan has had the strictest gun control in the world for the longest time, and has a homicide rate to match.

http://en.wikipedia.org/wiki/List_of_countries_by_intentiona...

comment 14y ago · link · parent

Here's an ars technica article going into details about why "STFU and buy an SD card" isn't necessarily a solution.

"As such, even the 16GB that Microsoft promises on the 32GB Surface may not be readily available to end-users. Surface does, at least, have a way of adding storage that Windows itself will never use for its own needs; it has a microSD slot that works with 64GB cards.

There are wrinkles to this support, however. Due to the sandboxing and security used in Windows RT, apps need special permission to use this removable storage. Apps that just have permission to access your music, picture, or document libraries can't use the SD card. Worse, it's not possible to add removable storage to the existing libraries; Windows requires that all library locations be indexed. As a result, it won't index removable storage, presumably on the basis that it might get removed, which would cause the index to include information about files that no longer existed.

There is a trick involving Junction Points to make Windows not realize that the SD card is an SD card, but that is hardly what one would call elegant or easy-to-use."

http://arstechnica.com/gadgets/2012/11/surface-disk-space-a-...

comment 14y ago · link · parent

Ripped from a source you have legal access is undetectable in most cases.

Downloading a copy over the net that someone else ripped can be detectable.

That being said, I agree that piracy is just piracy. In my mind grabbing something from bittorrent/usenet is the same as using a VPN provider to stream from a different country, is the same as watching an illegal streamed copy on some website, is the same as ripping a copy from a friend/public library.

Did you pay to access it? Does the copyright holder make it freely available? No?

Then it's piracy.

comment 14y ago · link · parent

I switched to teksavvy and it's great. It was twice as fast a Rogers and cheaper. I routinely use about 250GB/month on teksavvy.

I had a lot of problems with quota when I was on Rogers because my VPN connection to work could use up 30G/month when working remotely for long periods of time doing 60-70 hour weeks.

comment 14y ago · link · parent

FYI, Fallout 3, New Vegas and Skyrim have mods that will save every 5 minutes, and this helps with the crash on autosave problem. At the very least you'll never lose hours of playing.

The mods use a rotating save system so you end up with 5 minute intervals of the last 3 hours of gameplay.

Checking the size of your save games get let you know if you're going to hit the problem. At some point your saves jump to 5MB then to 10MB and soon you'll start hitting the crashing on autosave bug.

comment 14y ago · link · parent

That was a great talk, and well worth listening to. I think it also highlights why we find your blog posts interesting -- because you are an engaging speaker with that mysterious "charm" quality.

I feel that the HN post title is missing much needed air-quotes around "That'll Never Work" since the talk is all about ignoring the internal voice that tells you to give up.

While I've only done much less impossible things, I have found that the act beating the impossible helps give confidence for future tasks. You realize that things aren't as impossible as they seem at first glance.

comment 14y ago · link · parent

Were the pundits referring to this interview?

   “The demographics race we’re losing badly,” said Sen. Lindsey O. Graham (S.C.). “We’re not generating enough angry white guys to stay in business for the long term.”
http://www.washingtonpost.com/politics/as-republican-convent...

I think my favourite comment I heard someone say to describe the Republicans demographics problem is when watching Romney's camp during election night:

"It looks like he's at a family reunion."

comment 14y ago · link · parent

If the 7am-noon trend is caused by the social factor of EST to PST working coming in to work, it'll likely be mon-fri, with spikes on mon and thu.

That is the usual pattern for sites that people check when they come in to work.

comment 14y ago · link · parent

One trick I've always tried to maintain is daily releases, namely that I'll always check in code at the end of the day so that it can run in the smoke tests overnight.

Running stats on our version control, I do about 4000 checkins a year, the next highest is 1000, and most team members average about 300.

That being said, my focus is horrible. Using the pomodoro technique has helped me in the past, there's something about not being allowed to multitask that means you can avoid context switching off of a difficult task to something easier (eg: the coding equivalent to cleaning off your desk).

My other problem is a willingness to work overtime. It's one thing to do it for deadlines, but because I internalize monthly deadlines I always have something that I think is so important that it Has To Be Done Now.

comment 14y ago · link · parent

Interesting site, but I found it hard to get in to a groove of stuff I found interesting.

The introduction to the site might work better if it followed a model like netflix where they always show new users some very popular stuff in different genres at the start so they can see the value of it.

That holds true for any content website, lead with your best foot to get engagement, and then lead people down the garden paths to see the obscura.

comment 14y ago · link · parent

The key to getting attention is to talk to someone about something they are interested in -- and everyone is interested in themselves.

Reading the email, it really felt as if it was from someone who already knew the OP well. If I'd read something like that about myself I would have question my first impression that this was a stranger -- surely we'd had coffee or something at some point? Met at a conference?

In the same way that mimicking body language influences someone, the email was couched in all kinds of casual point about "this is how we are alike".

Hit them right in the tribal monkey brain.

comment 14y ago · link · parent

Does anyone know what firms the campaigns are using for the campaign emails, or is that not public knowledge?

comment 14y ago · link · parent

This is the same B.S. that happened with the Xbox 360 hard drives.

In 2006 Microsoft sold a 20GB hard drive for $120 (which could have bought at least a non-branded 100 GB hard drive)

When you used it with the 360, the hard drive would only report 14 GB because 6GB were used for the OS.

http://support.microsoft.com/kb/911593

FYI Apple's operating system takes up 1GB, so this is relevant because a 32GB Surface has a much usable storage as a 16GB iPad (source: http://www.businessinsider.com/microsoft-surface-storage-siz...)

comment 14y ago · link · parent

Great, you've hidden the message with javascript, but now it's still in view-source and in search results for bots.

It's also still visible if someone is using noscript (actually, I have no idea if Facebook works with noscript, probably not).

The solution you are suggestion doesn't solve the problem and injects more corner cases.

comment 14y ago · link · parent

That's still a few down in the search results.

It looks like the magic search term that brings you right to the report page is: "Facebook vulnerability"

http://google.com/?q=Facebook+vulnerability

comment 14y ago · link · parent

That's a great tool. I hadn't realized that every time when I was "sharing with Facebook", or "commenting with Facebook" I was actually installing all kinds of Facebook apps that would have long term ability to post as me.

Facebook needs to have some more tinfoil had granularity for some of that stuff. I'd be fine with allowing some of those apps some of their crazy permissions if I had to authorize it every time.

And wow, do app designers ever need to start doing a better job of naming their apps. The Pizza Pizza Canada app was uatpizza or something dumb like that.

comment 14y ago · link · parent

It shouldn't... but it could be easier. I've been in the situation before where I wanted to report malware on facebook and I couldn't figure out where to report it.

I agree that you don't want reporting a security issue to supersede the general case of problems, but as things stand it is hard to figure out how to report a real security issue if you don't know about that magic whitehat url.

Googling "facebook security" brings

#1 result: https://www.facebook.com/security

no information on reporting problems there

#2 result: https://www.facebook.com/help/security

this one has a Report Something link... but that doesn't give you options for reporting a security issue, just TOS violations or copyright infringement.

#3 result: https://www.facebook.com/security/app_10442206389

This looks better than the other two, but there is still nothing here about how to report a security issue.

Knowing what to look for, there's a hidden "Take Action >> White Hats" link that will eventually take you to the correct page: https://www.facebook.com/security/app_6009294086

So click that link... and presented with a huge page of names and still no obvious call to action: https://www.facebook.com/whitehat

Oh, it's the Report Vulnerability link in that sidebar that we're been conditioned to ignore in the normal Facebook UI.

https://www.facebook.com/whitehat/report/

---

Just to recap, in order to find how to submit a security bug report, it took me 15 minutes and I still only found it because I knew the term to look for was "white hat" and not "security".

comment 14y ago · link · parent

So much of it has to do with where the economy is.

Looking for a job in 2000 vs 2001 was a change in what you could demand as a salary. Same in 2008 vs 2009.

comment 14y ago · link · parent

"Don't waste your 20's "building a career". You've got your 30's and 40's and 50's to do that."

It's hard to try to pivot in your 30s if you don't have a resume with at least some points to match your future career.

If you haven't used anything from your post-secondary degree 8 years after getting it... employers are going to notice that and assume that your degree is worthless.

I say this having seen far too many friends get stuck in the waitress/bartending life only to find out that you plateau in your 30s unless you go into the high end fine dining, sommelier, running your own place, etc.

Same thing has happened to friends in retail after they reached manager or assistant manager at a store that was supposed to be their part time job.

comment 14y ago · link · parent

"2) Statistically, women need to have all their children by 35.

According to the author, a woman’s ability to get pregnant plummets starting in her mid-thirties. To make matters worse, the odds of a miscarriage for a woman over 35 is one in four."

Our family doctor gave the odds as 3 in 5.

In practical experience, I know of four friends who have miscarried at 35 (after being pregnant for over 3 months), out of about 11 who had kids at that age.

My wife and I have always suspected that the 3 out of 5 statistic also includes miscarriages in the first two months of pregnancy where you might not have been sure you were pregnant or late.

comment 14y ago · link · parent

That blog is quoting from a Seattle newspaper article without linking to it, here's the link to the article:

http://blog.seattlepi.com/thebigblog/2012/10/31/who-is-seatt...

The newspaper article is quoting from the photography is not a crime blog:

http://www.photographyisnotacrime.com/2012/10/10/creepy-man-...

http://www.photographyisnotacrime.com/2012/10/30/creepy-came...

According to photographyisnotacrime, the original youtube Creepy Cameraman uploader was itsrighttherenow which has been deleted for copyright infringement.

Here's a google cache of his youtube page:

http://webcache.googleusercontent.com/search?q=cache:6OBvqhK...

That's as far down the rabbit hole as I could go to find the original source of this story.

comment 14y ago · link · parent

You're awesome, thank you. I would have never found that.

We're so conditioned to look for the volume UI to be near the play button.

comment 14y ago · link · parent

Thanks for the clarification -- I'd never heard of circular/tampon before so I wasn't aware of what had happened, hence my question.

I'm even one of those people who never figured out what buffer app was for despite all their posts on HN.

12345
13