Better HN
topnewbestaskshowjobs
Log inSign up

chrishepner

29 karma · joined Aug 23, 2012 (14y ago) · 20 submissions

Submissions

comment 2y ago · link · parent

What's wrong with Polygon?

comment 5y ago · link · parent

It stands for "the f-ing article," i.e. the link in the original post.

(When you have to explain it, you realize that a lot of common terminology in the "tech community" kind of sucks!)

comment 7y ago · link · parent

Amazon's one-click shopping patent expired on Sept 11, 2017: https://qz.com/1057490/a-patent-that-helped-amazon-take-over...

comment 9y ago · link · parent

http://playlist.cool/

It finds bands playing in your area in the near future and creates a Spotify playlist of them. It still needs a lot of work but it's a fun way to discover shows to go to.

comment 9y ago · link · parent

I don't see on what axis you could meaningfully separate Cernovich from the rest of the "alt-right" - the hateful conspiracy theory stuff aside, he says things like "diversity is code for white genocide."

comment 9y ago · link · parent

- Leadership Content Ideation - Monthly Numbers Meeting

comment 10y ago · link · parent

I once encountered a 2K+ line script handling submissions from something like a contact form.

If a client submitted a value for which the key didn't exist in the database table, it wasn't ignored - the application would alter the table to add that row to the database so it could insert it.

comment 11y ago · link · parent

I wrote an mitmproxy script to do just this: https://github.com/chrishepner/sh-mitm

The kind of vulnerabilities that are basically just subverting a user's trust are totally fascinating to me.

comment 12y ago · link · parent

They are the second to most recent releases - RHEL7 was released in June, CentOS 7 in July.

comment 12y ago · link · parent

Unfortunately, I don't think it's as simple as "just use the 'url' and 'email' input types for their respective fields."

Using the "url" input type can be a problem, due to strict validation - the validator requires a URI as specified by RFC 3986, meaning that if the user enters "example.com" rather than "http://example.com", the browser considers this invalid, blocks the form submission, and displays an error like "Please enter a URL".

This effectively breaks the form for most users, on mobile or not, so you'd need to disable HTML5 input validation on this form or field.

comment 12y ago · link · parent

Nitpick: The PHP function for setting error message levels is error_reporting(), not set_error_reporting().

comment 12y ago · link · parent

I think I found a bug: On level 23, "orange:last-of-type, apple:last-of-type" doesn't advance you to the next level but "apple:last-of-type, orange:last-of-type" does.

Very cool, thanks for making this!

comment 13y ago · link · parent

They don't ask for a copy of your social security card, no, but I have to have a cellphone tied to my account and I only have one of those.

comment 13y ago · link · parent

Because my entire account is banned, not just the device. If it were just the device, it wouldn't have been a problem - I could've just turned off the IMEI blocker and it would've been fine. Sadly, that's not the case!

comment 13y ago · link · parent

I am permanently banned from Uber.

About 6 months ago, I noticed I was unable to log in to my account. Resetting the password did nothing, so I sent an email to the local support address. Almost two weeks later, I finally get the following reply:

  I looked into this situation and it appears that this 
  device has been used on 25 different Uber accounts, which 
  is a major red flag for us. We will not be reactivating 
  your account.
  Uber Love,
  Sam
I have one of those "firewall" apps on my rooted Android phone that lets you restrict individual permissions for a given application. By default, I prevent applications from transmitting the IMEI. I assume at least 24 other people have done the same thing.

I sent an email explaining the issue, and they eventually emailed me back saying they would "check in with their engineering team and circle back soon." In May. My subsequent emails have been ignored. There is, as far as I can tell, no way to escalate the issue.

I used to really like Uber, but they sure did their best to keep me from using it.

comment 13y ago · link · parent

I took the Dasgupta's algorithms class at UCSD a couple years ago. I don't know the legal status of the PDF there, exactly, but he gave the link out to the class and almost everyone in the class used it instead of a physical textbook.

I thought the text (and class) was pretty good, although I'm sure being in the class helped. You should definitely have some experience with basic data structures, discrete math and graph theory before diving into it.

comment 13y ago · link · parent

I'm not sure for the purposes of this case, but San Diego has some strange policies for their sidewalks.

By CA law the property owner is usually responsible for the upkeep of the sidewalk on their property. However, if someone falls and breaks their face on a broken sidewalk the city is liable.

comment 13y ago · link · parent

I use fieldset and legend frequently. I believe Bootstrap uses these in their example forms, so I don't think these are nearly as obscure as the others.

optgroup is occasionally useful for demarcating groups within lists, but this need hasn't come up much in my experience.

I also use figure and hgroup, although more just for the sake of using HTML5 elements than anything else!

comment 13y ago · link · parent

Whether this works depends on the site's email validation script: many don't allow the '+' character.

Gmail filters out '.' within usernames (e.g., john.smith@gmail.com and johnsmith@gmail.com are sent to the same account), but this gives you a more limited number of options, and is even harder to keep track of!

comment 14y ago · link · parent

Ron Graham was a close friend of Erdős, so if you were to co-author a paper with him, you would have a Erdos number of 2. ;)