HNHacker News
TopNewBestAskShowJobs

catch23

2,157 karma · joined September 2, 2008

0PKdYBgoMH
submissionscomments
catch23··on The ARM vs x86 Wars Have Begun: Power Analysis of Atom, Krait, and Cortex A15
Almost no libraries out there have inline assembler magic. If you wrote a library with inline assembler, you'd have to write it for arm & i386 so that developers could still use it in the simulator. There are very few people out there competent in both assembly languages who are also iOS developers. The need is also pretty low because if you want fast computations, you'd do it in the GPU. The only need might be some bit-banging code for interfacing with external hardware. So the only people who might need assembly are making complicated interface hardware.
catch23··on Apple lifts block on combo 30-pin+Lightning charging accessories
That isn't the only chip microchip makes for recharging, but it's probably the cheapest. There are more complicated (larger) chips that do everything from overcharge protection, temp monitoring, etc. Some applications don't need all that fancy stuff. The chip I linked is 4 years old, but they make new versions of the chip almost every year.
catch23··on Rails SQL injection vulnerability: here are the facts
I don't see how after a project matures, there should be no exploitable bugs? Even Java still has serious bugs on a yearly basis... The only secure systems are the ones nobody uses.
catch23··on Web Scraping with Node.js and Chimera
I've added a readme now. Will add more soon.
catch23··on Web Scraping with Node.js and Chimera
I've added a readme now... will add more documentation soon.
catch23··on Web Scraping with Node.js and Chimera
I can make more. After about 3 months with no github watchers, I figured the only person reading the docs would be myself.
catch23··on Web Scraping with Node.js and Chimera
If you need a great html parser, I also wrote a library for one of those: https://github.com/deanmao/node-hubbub

It's merely an integration library for the netsurf browser. It's the html parser for a real browser. I considered using the parser from other browsers like firefox or webkit, but netsurf had the fewest external dependencies.

catch23··on Web Scraping with Node.js and Chimera
The github project does have examples in standard javascript as well:

https://github.com/deanmao/node-chimera/blob/master/example....

catch23··on Web Scraping with Node.js and Chimera
Sure, I can make more. This post caught me by surprise. It's odd to see your own blog post from months ago on HN.

I sorta gave up on the project seeing as nobody other than myself used it. (I have zero watchers on github)

catch23··on Ask HN: Most valuable skills you have?
some fundamentals don't change though... the college classes that will still remain useful would probably be either compilers or data structures. even some of the basic operating system stuff (filesystems/scheduling) would still be useful today.

compilers are still extremely practical. I'm sure everyone has had a scenario where they had to tokenize lots of strings and turn it into something meaningful.

catch23··on Apple lifts block on combo 30-pin+Lightning charging accessories
These days you can get a single chip that nearly does all the "battery management" for you.

example: http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=e...

catch23··on Apple kills a Kickstarter project
To the layman it may appear that way, but I assure you the lightpeak cables don't have any DRM logic in them, they merely mux/demux signals. I think you're just a bit misinformed, or think anytime there's chips in basic things like cables, to consider them DRM devices. I suggest you wikipedia DRM to brush up on your definitions.

If there are more adopters of lightpeak, there will be other cable manufacturers, and users can buy any cable they want. People who don't understand electronics also wouldn't understand how this might benefit the user.

Personally, I think lightpeak is a fairly interesting way of implementing something, it enables ports to be a lot more capable without having to replace electronics on the motherboard.

Perhaps users who don't fully understand what is going on inside would prefer to think that it's something evil...

catch23··on Apple kills a Kickstarter project
Doesn't DRM stand for digital rights management? I think you may have confused it with something else. DRM doesn't prevent people from manufacturing cables -- it's to prevent the end user from accessing content they don't own. DRM was never aimed as a way to reduce the number of manufacturers out there. In fact, DRM wanted to increase the number of manufacturers so that there would be less hardware that could play media that you didn't buy (pirated content).
catch23··on Apple kills a Kickstarter project
Trackpads on "other" laptops are also pretty bad. I wish there was a non-apple laptop with a trackpad at least as good as the ones on the macbooks.

It's like comparing iphone's touchscreen with any android phone. All phones pre-jellybean had a touchscreen that just didn't compare to the iphone.

catch23··on Censorship Lift for “V for Vendetta” Shocks China
I guess it depends what you categorize as social media. I think bloggers also fall into the social media camp. There's a very thin line between bloggers and journalists. Would you say the bloggers on huffington post talk chain-mails and heresy? I think in China the big name bloggers are probably equally respected as any journalist would be.

I'm slightly doubtful that someone would create a fake scene of 22 kids who got stabbed, for the purposes of social media juice.

catch23··on Facebook's legal team bans developer of F.B. Purity from Facebook
Shouldn't those other 20 developers using FB in their chrome extension on the chrome web store also get the same lawsuit? I feel like this developer might be singled out, since it directly reduces facebook's profits by removing sponsored stories, ads, etc.
catch23··on Dell Gives up on Android, Doubles Down on Windows 8
They've always done that, the reason they're not doing so well is mostly because the margins for commodity hardware has gotten really thin. There was a time when CompUSA & Dell were thrived on computer sales.
catch23··on iOS port of $1 Gesture Recognizer
It seems like it's mentioned in the paper already (see abstract). Probably not the best name, but it is pretty catchy.
catch23··on I Don’t Need No Stinking API: Web Scraping For Fun and Profit
well, it wasn't due to anything in phantomjs actually -- it was because qt introduced project lighthouse & their qt platform abstraction. project lighthouse was a fork that got integrated into qt 4.8 that phantomjs includes. (you can see the entire qt source tree if you git-clone phantomjs)
catch23··on Elon Musk: 'Europe's rocket has no chance'
http://history.nasa.gov/SP-4201/ch12-3.htm

NASA denied there was political influence, but it's hard to say since the stars lined up perfectly for them.

catch23··on Arduino Micro shrinks your favorite DIY platform down
Yes and no. Even some arduinos are incompatible with certain arduino libraries. Most of the libraries were written for the most popular 328p chip at the most popular frequency (16mhz), but if you're using a Due or Attiny or even the 328p running a different frequency, you may need to touch up the libraries to get it to work. My guess is the compatibility levels would be similar here.

Most people are probably only aware of the arduino uno which uses the 328p chip, but there are probably 20 other atmel chip models that are also "arduino compatible". I typically use the attiny85 because my one-off projects rarely need all the pins on the 328p.

catch23··on Arduino Micro shrinks your favorite DIY platform down
There's still the Teensy 2.0/3.0 which is smaller & cheaper than this board. The Teensy 2.0 ($16) uses the same chip (32u4) as the arduino micro, and the 3.0 ($19) uses an arm-m4 chip which also provides a DSP. The best thing about the Teensy is that it's available right now.
catch23··on Elon Musk’s Mission to Mars
There's one interesting quote in the article:

Musk: I can’t tell you much. We have essentially no patents in SpaceX. Our primary long-term competition is in China—if we published patents, it would be farcical, because the Chinese would just use them as a recipe book.

If your process/ideas are sufficiently complex, it reduces competition if you don't file a patent.

catch23··on Getting ~28,000 devs' email addresses in a couple hours
I'm also guessing that developers are the hardest type of people to spam. The first time they see a weird email, they'd hit the "mark as spam" button, and if they still see stuff coming through, they'll either create a filter or track you down :-)
catch23··on New Arduino released: the 32bit Due
The arduino.cc link is: http://arduino.cc/en/Main/ArduinoDUE

It says the page will be available on Monday, when you can buy it.

catch23··on Europe Closer to Fining Microsoft Billions Over Failure To Offer IE Alternatives
I think it's 40% of the market for EU laws. At least it's 40% when they start investigating you.
catch23··on Never Give Your Information To 10 Minute Old Startups
Cancan probably wouldn't have prevented this. It's not because someone didn't use some library. The developer probably just did a User.find(params[:id]) instead of doing something like current_user from whatever authentication system they were using. He probably used the scaffolding generator to make everything and forgot to go back and ensure things are secure.

It's also interesting that the aws key/secret are "masked" on the page, but you can just visit http://www.iceboxpro.com/users/12.json and get the formatted json representation with no masking.

catch23··on Lockitron: Keyless entry using your phone
I'm guessing you're not accustomed to the arduino parlance. Everyone knows arduino uses an atmel atmega uC, but when you say "arduino mega" it means something specific. I have around 5 different models of atmega chips at home that I use with the arduino.

In the video they said they were using a mega, and you can tell from the picture that the atmel chip is a surface mount similar to the 2560. All the arduino chips use some kind of atmega variant, but the arduino mega refers to the atmega1280 or the atmega2560. The most common arduino chip is the atmega328p.

The atmega series is fairly broad. The arduinos only use a subset of the atmega series. "mega" is probably a bit confusing, but if you say "arduino mega" it only refers to one or two specific chips -- the old "arduino mega" used the atmega1280 while the newer model uses the atmega2560.

catch23··on Lockitron: Keyless entry using your phone
So what happens when a packet is sent when you're in sleep mode? Does the device have to renegotiate the connection when waking up?

What if you sold a separate device that plugged in the wall and had a constant wifi connection, then used BT4 for communicating with the lock powered by 4xAA? Then you wouldn't even need wifi on the lock.

Also, why an arduino mega? Are you using that many I/O pins or is it because your code needs the 256KB of flash?

catch23··on Lockitron: Keyless entry using your phone
right. but it doesn't say how it is flashed -- perhaps it requires you to hook up via usb?

I can understand people's fear of technology when it is used for security purposes, but if someone wanted to break in, there are easier ways than flashing the base station. All someone would need to do is take a picture of your physical key and they'll be able to make an identical one.

← PreviousPage 2 of 33Next →