News for hackers. Stuff that matters.

chrishepner

Re:Kurt Vonnegut's lost board game published on Sunday October 20, 2024 @06:11PM (#41898909)
What's wrong with Polygon?
Re:System Design Interview book review on Tuesday January 05, 2021 @04:15PM (#25651165)
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!)

Amazon's one-click shopping patent expired on Sept 11, 2017: https://qz.com/1057490/a-patent-that-helped-amazon-take-over...
Re:Ask HN: What weekend projects have you created? on Saturday September 23, 2017 @10:14AM (#15319817)
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.

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."
Re:It is as if you were doing work on Wednesday July 05, 2017 @10:51AM (#14702812)
- Leadership Content Ideation - Monthly Numbers Meeting
Re:What is the most absurd code you've ever seen? on Tuesday November 08, 2016 @01:37PM (#12902759)
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.

Re:S/party/hack like it's 1999 on Friday September 18, 2015 @02:06AM (#10237711)
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.

Re:Fastsocket – A highly scalable socket for Linux on Wednesday October 22, 2014 @11:48AM (#8493246)
They are the second to most recent releases - RHEL7 was released in June, CentOS 7 in July.
Re:Have a website? Fix these 2 mistakes right now on Tuesday October 21, 2014 @12:47PM (#8488251)
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.

Nitpick: The PHP function for setting error message levels is error_reporting(), not set_error_reporting().
Re:CSS Diner: A Cute Game teaching you about CSS Selectors on Monday March 17, 2014 @12:14AM (#7413009)
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!

Re:Beware: Uber Has No Customer Service and Still Has Bugs on Thursday November 14, 2013 @12:37AM (#6730773)
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.
Re:Beware: Uber Has No Customer Service and Still Has Bugs on Thursday November 14, 2013 @12:35AM (#6730764)
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!
Re:Beware: Uber Has No Customer Service and Still Has Bugs on Wednesday November 13, 2013 @09:22PM (#6730128)
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.

Re:A list of free programming books on Friday October 11, 2013 @08:17PM (#6536641)
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.

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.

Re:How well do you know HTML? on Monday June 10, 2013 @03:07AM (#5852849)
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!

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

Gmail filters out '.' within usernames (e.g., [email protected] and [email protected] are sent to the same account), but this gives you a more limited number of options, and is even harder to keep track of!

Re:Graham's Number on Sunday September 30, 2012 @10:14PM (#4594999)
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. ;)