HNHacker News
TopNewBestAskShowJobs

ryanlm

293 karma · joined March 24, 2016

submissionscomments
ryanlm··on PayPal 2FA Bypass
I'm assuming that the relevant code, is simply an if statement checking for the existence of the url parameters, not even checking if the security questions are correct.

    if(isset($_GET['securityQuesiton0')) {
        // success, 
    }
This is negligence on the developers part and I think they should be disciplined.
ryanlm··on Hackers say Friday's massive DDoS attacks were just a dry run
Who are these people init'ing the attacks? They seem like talented folks.
ryanlm··on A tour of V8: object representation (2013)
Yesterday I had to store integers as keys in a map. It's good to learn today that they are implicitly converted to strings. Yes I could have used an array, but that would of required me to know the max index I would suppose. Maybe in JavaScript I insert into the array at any index, but that doesn't seem usual to me, coming from a C background I'd allocate the max index + 1.
ryanlm··on “Curl Bash piping” wall of shame
Doesn't that popular software that tracks you tell you to install by piping the output of curl. I think it's call Brew Ware.
ryanlm··on Show HN: TCP over sound on Android
Interesting use of the JNI. Why did you need to use JNI?
ryanlm··on How do we go about decentralizing dns?
How exactly did you set up this fail over scheme? You run your own instance of bind. And I'm amusing your listing your domains NS records as your own, and another parties (e.g. cloudflare, etc)?
ryanlm··on Cuomo signs bill prohibiting Airbnb listings in NYC
Great comment. And I want to point out that no matter how privileged you are in America, Government pretty much has the final say.
ryanlm··on Google's 8.8.8.4 is now not responding to DNS
that's not the right number.
ryanlm··on I made a dating app about going out to restaurants and everyone hated it
Absolutely no problem, buddy. I'm glad to be able to look out for suspicious links like the one you posted. With security issues the way they are today, you can never be too careful.
ryanlm··on Ask HN: Could you recommend a charity?
Zuck's charity.
ryanlm··on Tell HN: I think you're downplaying the PHP community
Flagged? Interesting.
ryanlm··on Tell HN: I think you're downplaying the PHP community
It's a wasp stronghold.
ryanlm··on I made a dating app about going out to restaurants and everyone hated it
I'm a little skeptical about following this link. Why can't you just give a direct link? Who knows where that link will lead to? I certainly don't and I'm not about to try it and become a victim of drive by downloads, etc.
ryanlm··on Tell HN: I think you're downplaying the PHP community
People that state it's such a horrible language are "follow" types. I believe some people actually do think it's a bad language, but for the most part, I would say people are just following the status quo.
ryanlm··on Ask HN: Hire full stack engineer or not?
I mean, most people don't want to specialize. I just turned down a chance to interview, but after finding out this was some specialized role, I declined because specialization isn't the best for my career.
ryanlm··on Taking PHP Seriously
Can you set up Python to have the same pattern as PHP? I've always had to proxy the web server to the Python process running HTTP.
ryanlm··on Taking PHP Seriously
> It's a garbage language.

I'm overwhelmed by how rich of a statement that is.

ryanlm··on Computational Law, Symbolic Discourse, and the AI Constitution
Yes, I'm a native.
ryanlm··on Computational Law, Symbolic Discourse, and the AI Constitution
I've always wondered, why is the tax code called the "tax code" Is it written in English and how many lines is it?
ryanlm··on Most drivers who own cars with built-in GPS systems use phones for directions
Problem with the bait and switch car GPS's is they actually charge you for updates. This should be against the law.
ryanlm··on Exploring CLI Best Practices
I'm hoping the angular cli will be able to send email soon.
ryanlm··on Ask HN: Motivation
You haven't mentioned how long your commute is. How long is it? I think that is a significant factor in how much energy you have after your done with work for the day.
ryanlm··on Ask HN: What TLD do you use for local development?
I use a subdomain of a domain I own, such as internal.example.com

I can then run a BIND instance with internal.example.com as a root, then map all my services to their own domain if need be.

This is a little overkill for a one man shop, but it's a nice little home development setup.

The one thing you need to configure, if you want it to work out of the box is that your DHCP server needs to send back the IP address of your local BIND service for DNS, else it won't work right and you'll need to manually configure it every time.

An example of where this worked well for me was when I was using one nginx instance to run snapshots of all my clients websites. With nginx, you can set up "virtual hosts" which map a hostname to a configuration block. You could also just edit your /etc/hosts file to accomplish the same thing I guess.

ryanlm··on What the F? What swearing reveals about language and ourselves
I'm kind of surprised HN doesn't implement censorship of swear words. Also I worked at a company where Fuck was dropped all the time. I'm not sure why people think it's unprofessional.
ryanlm··on ITT Technical Institutes Shuts Down
Not being able to transfer credits seems to be a good example of Vendor Lock-In.
ryanlm··on Code that is valid in both PHP and Java, and produces the same output in both
No, but another one you can do it in is PHP and JavaScript

    function isEven($number) {
        return $number % 2 == 0;
    }
That's actually valid PHP code and JavaScript. But I think you'll need to use eval on that in the PHP vm because it won't have the `<?php`
ryanlm··on Debugging using system calls in Mac OS X
And this is why I won't ever switch to OS X full time, and I'll stay with Linux for all my systems level programming. The low level tools just aren't there. With Linux, I've got gdb, objdump, strace, what have you. I'd have to compile most systems level tools from source on Apple laptop.

It's great for app developers, but I mainly do systems level things for personal projects, and I don't want to have to compile _tools_ from scratch. The hardware is awesome and I love the shiny box and the sleek design. I've been using a macbook pro all summer, and the only thing that I'm sold on is the hardware design / case. The charger is nice too.

ryanlm··on My Interviews with Amazon
Not anymore :) I've gotten 3 emails from employees there after this thread. Mind if I ask you why you removed it?
ryanlm··on Ask HN: What was your “why didn't I start doing this sooner” moment?
I can do that during the day. How do you prevent yourself from having midnight snacks? I sometimes "sleep eat" -- Very bad habit that I NEED to spare.
ryanlm··on Ask HN: What was your “why didn't I start doing this sooner” moment?
Just not eating for 2 days. It would throw of my "rhythm" and I would overeat for days until it balanced out again. Maybe my appetite is larger than most people.
Page 1 of 4Next →