HNHacker News
TopNewBestAskShowJobs

nearengine

53 karma · joined March 7, 2013

submissionscomments
nearengine··on Universal domain types
If you appreciate the patterns from DDD and the idea of domain modeling with type systems, I highly recommend checking out "Domain Modeling Made Functional" by Scott Wlaschin.
nearengine··on Gone in six seconds? Exploiting car alarms
Yeah, I agree. I probably won't own another system like this from any manufacturer as long as I can avoid it. Luckily my car came out just before all the OEMs started putting these cellular modems in them that are attached directly to the CAN bus.

I don't think it was the bug itself that bothered me so much as their response, I sent them an extremely clear email with the exact steps I took and screenshots showing how other apps responded to my fake cert with error/warning dialogs which was escalated directly to the engineering team and they seemed to have no idea what I was describing or why it was an issue. I assumed at that point the issues went a little deeper than what I had uncovered, and it seems from this post I wasn't too far off the mark.

nearengine··on Gone in six seconds? Exploiting car alarms
I had a Viper alarm with these features installed in my car back in 2012 and immediately noticed that while their iOS app used SSL to talk to the API, it never actually validated the certificate, and was trivial to set up a man-in-the-middle proxy to grab a user's auth token and make requests as them. According to their reply their devs weren't able to replicate it, which told me all I needed to know about their ability to write secure software. It's good to hear they responded quickly in this instance, but I'm not sure I'd ever trust their devices again.
nearengine··on We Used Broadband Data We Shouldn’t Have
I don't think this is correct. From what I understand about DOCSIS, the video-related channels and Internet-related channels are completely separate frequency ranges on the coax line. The reason your bandwidth is reduced during peak usage hours is because you're sharing something like a 10gbps fiber line with hundreds of other people.
nearengine··on Prozac Nation Is Now the United States of Xanax
While I am generally pro-legalization and believe cannabis has medicinal benefits, I would caution anyone with anxiety to do their own research before trying this and be careful with dosage. THC can be harmful to people with severe anxiety or who are predisposed to things like schizophrenia. It's pretty irresponsible, IMO, to casually prescribe drugs when you don't even know the difference between a benzo and an SSRI.
nearengine··on Intro to modern hardware prototyping
Curious if you've heard about the sale of CadSoft to AutoDesk, I was about to write Eagle off myself but I'm hoping they give it a little love.

http://www.premierfarnell.com/content/sale-cadsoft-0

nearengine··on Ask HN: ReactJS – Do you use it? Do you like it?
Not all of your logic has to be in render() itself. You can define other methods on your component that will be bound to `this` in render(), so you can just call them like `this.renderFoo()`. Each one just has to return a single root node with optional children like the render() method does.
nearengine··on The Restful CookBook
REST is an architectural pattern that specifies properties about the interface, not the data - how does using JSON over XML make your interface not RESTful? In his dissertation[1], Roy Fielding always refers to data in terms of resources rather than specific formats.

[1] https://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arc...

nearengine··on Your cyberpunk games are dangerous
"Our cyberspace today has its share of problems, but it is no dystopia"

Really? What changed? The government at least got more proficient at using the Internet, I guess.

nearengine··on Amazon Business
And a table-based layout, and the navigation is a single image with maps. Pretty incredible to see in production on Amazon in 2015.
nearengine··on Taking the Raspberry Pi 2 for a Test Drive with GNU Radio
I haven't yet, unfortunately the project has been on the backburner the last year or two since I've been so busy with other things. So far I've basically hooked up a relay board with an I2C GPIO extender, and use the Pi to toggle relays for lights and pumps. I also have an Arduino hooked up via serial that acts as an environment sensor, logging TDS, pH, light status (with a basic photoresistor, although this could be expanded to a fancy color temp sensor), and temp+humidity. It also monitors water level via a float switch. When the float switch is triggered, it adds more water. This naturally brings the TDS down, which triggers relays for peristaltic pumps to add a given ratio of nutrients.

The goal is to have a RESTful API service running on the Pi so that I could deploy one Pi+environment sensor setup per reservoir with a basic js app to monitor variables and set the timers and nutrient schedule, and if necessary aggregate that data into a centralized management frontend for multiple reservoirs.

nearengine··on Taking the Raspberry Pi 2 for a Test Drive with GNU Radio
Yep! Plus the tuner card itself can use 200mA or so, and if you want to use any other USB accessories they'll be drawing power as well. I unfortunately have too much experience using "phone chargers" that had enough current to run it 90% of the time, but under hard load would cause enough voltage drop on the 5V rail to reboot the Pi.
nearengine··on Taking the Raspberry Pi 2 for a Test Drive with GNU Radio
I use a Pi 2 to run a simple intranet at my house that acts as a portal to various network services, a B that I'm using to experiment with hydroponics automation and exposing sensor data over a REST API, and a B+ that I hooked up to Adafruit's thermal printer to make a GitHub-webhook-powered printer that prints a physical ticket when the issue gets assigned to someone.
nearengine··on Taking the Raspberry Pi 2 for a Test Drive with GNU Radio
500mA and up will charge a phone (assuming you're not also doing power-intensive things on it), but you'll probably need 1-2A to power a Pi and a SDR reliably.
nearengine··on I Owe It All to Community College
I took a couple math courses (discrete math and differential equations, I think) at GCC and MCC while attending ASU for Computer Engineering, and I thought the CC professors were more helpful and more passionate about teaching undergrads than the profs at ASU. In my experience the university professors were more worried about their own projects and acted like teaching 20 year olds was above them.

As far as the material goes, the curriculum of the classes I took was nearly identical to the ones at ASU. The diffeq course actually had a higher workload than the ASU version. It's interesting that CC/university experiences differ so much even among students of the same school.

nearengine··on Asusgate: A story about thousands of crimeless victims
You're probably thinking of the WRT54G, they're actually releasing an update compatible with OpenWRT: http://www.pcmag.com/article2/0,2817,2429130,00.asp
nearengine··on Bitcoin Black Friday: Why Namecheap is Participating
> why do I want to give them $80 when all I really want is 1 $10 domain?

To qualify for the promo? They don't enforce a minimum purchase for BTC... I have bought several individual domains from them in BTC.

What is the point of a 100/1 split? Moving the decimals over is completely arbitrary, since you'd just have 6 decimal places at the end instead of 8.

nearengine··on Arizona solar plant achieves six hours after sun goes down
I've seen outages lasting a couple hours from components like transformers breaking, but that's a different issue from the grid itself not producing enough power to meet demand. Can't speak for Prescott Valley though.

Interestingly, the only article on a Phoenix area blackout due to high load I was able to source happened in the winter... probably caught SRP totally off guard:

http://www.azfamily.com/news/local/Rolling-blackouts-sparked...

nearengine··on Apple Says New OS X ‘Mavericks’ Will Be Offered for Free
Good catch! I think it tried to format my double hyphens as a dash. Should've thrown it in a code tag.
nearengine··on Complete, Persistent Compromise of Netgear Wireless Routers
I've found setting up a hot corner (I use the bottom left on OS X) works well for locking quickly. Quick flick of the wrist locks it no matter where the cursor is, and unlocking it is basically muscle memory for me.
nearengine··on Apple Says New OS X ‘Mavericks’ Will Be Offered for Free
That is the method I used on an 8GB flash drive, worked great.
nearengine··on Apple Says New OS X ‘Mavericks’ Will Be Offered for Free
The installer itself can do this:

sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia –volume /Volumes/WHATEVER_DISK –applicationpath /Applications/Install\ OS\ X\ Mavericks.app –nointeraction

nearengine··on Arizona solar plant achieves six hours after sun goes down
Do you have any kind of source on that? I've lived in Arizona all my life, and the only rolling brownouts I've experienced and heard about have been in California. Who I believe already buy surplus power from AZ.
nearengine··on The myth of NASA's expensive space pens
This right here is the real problem I had with the space pen. I used to use them religiously until I was losing one every couple months.

The ones without the clips are the worst, because they'll roll off of anything. They also had a nasty habit of falling out of my pockets when I sat down/got up. They are excellent pens though.

nearengine··on Government Shuts Down as Congress Misses Deadline
Working without being paid during the furlough ("volunteering") is outlawed[1] to prevent employees from suing for back pay... which is also not guaranteed by any law. CNN simply made that assumption because it was granted during the last major shutdown.

http://www.bsnlawfirm.com/newsletter/OP0413_Natter.pdf

nearengine··on Responsive Design is Not About Screen Sizes Any More
I think you have a fundamental misunderstanding of RWD somewhere along the line. Your first point is the entire point of mobile-first design. Old and less capable browsers, such as older version of IE don't understand media queries, so they get the "simple" non-media-query, mobile-optimized site and you avoid problems with patching CSS3 queries on browsers which don't support them.

There's absolutely nothing about mobile-first design that makes your site dependent on JavaScript.

Third point depends ENTIRELY on the site, but your logic doesn't really follow. If I only had to pick HTML or CSS, I'd pick HTML. That doesn't mean I'd launch a site with only HTML and no styling. You're creating a false dilemma.

nearengine··on The Government Wants A Backdoor Into Your Online Communications
Do you have any further info on "the military for sensitive information is using much greater levels and systems for crypto than consumer grade"?

From what I understand, the DoD standard is AES 128.

nearengine··on Bullseye from 1,000 yards: Shooting the $17,000 Linux-powered rifle
No, the gun doesn't shoot for you. It replaces the trigger with one with a solenoid behind it that it can dynamically change the pull of. It sets the trigger pull restrictively high until your reticle matches your tag, and then quickly drops it so you make the shot. You just hold the trigger down until it lets you shoot.
nearengine··on Building Photoshop 1.0
A good chunk of it is 68k assembly, but you can check out the Pascal+asm source here:

http://www.computerhistory.org/atchm/adobe-photoshop-source-...

nearengine··on How Google Sliced Away Our Knife Ads
So is a regular (or assisted) folding knife like the ones Knife Depot sells, and they are just as fast to open with a little practice. Where do we draw the line between "convenient" and "illegal"? I don't want to see a UK-style ban on pointy objects here in the states.
Page 1 of 2Next →