Better HN
topnewbestaskshowjobs
Log inSign up

ryanlm

293 karma · joined Mar 24, 2016 (10y ago) · 139 submissions

Submissions

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

Who are these people init'ing the attacks? They seem like talented folks.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

Interesting use of the JNI. Why did you need to use JNI?

comment 10y ago · link · parent

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)?

comment 10y ago · link · parent

Great comment. And I want to point out that no matter how privileged you are in America, Government pretty much has the final say.

comment 10y ago · link · parent

that's not the right number.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

Zuck's charity.

comment 10y ago · link · parent

Flagged? Interesting.

comment 10y ago · link · parent

It's a wasp stronghold.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

> It's a garbage language.

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

comment 10y ago · link · parent

Yes, I'm a native.

comment 10y ago · link · parent

I've always wondered, why is the tax code called the "tax code" Is it written in English and how many lines is it?

comment 10y ago · link · parent

Problem with the bait and switch car GPS's is they actually charge you for updates. This should be against the law.

comment 10y ago · link · parent

I'm hoping the angular cli will be able to send email soon.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

Not being able to transfer credits seems to be a good example of Vendor Lock-In.
12345