Recent submissions

Comment · 6 years ago
Of course understanding that this is Canada: I don't recommend this kind of approach. It might solve the immediate problem but, does not address the cause. Having police visibility during "peak" times will resolve the issue of crime in a specific area and time but, will not solve the crime from not happening somewhere else. Also, I don't know who is working on these reports and whether or not they apply their own biases. The US already has an issue with over policing. This would definitely exacerbate it.
Comment · 6 years ago
I'm in complete agreement here. Their response is appropriate given the challenges that they face. No team ever thinks they are going to get that kind of migration to their platform the way zoom has received. Good for them.
Comment · 6 years ago
We are all always learning. I am all over the place from java, shell, awk, python, and now I'm playing with Go and I kind of like it but can't find the time to actually make something useful so I can learn from it.
Comment · 6 years ago
I remember writing one of my first parsers was for a pdf and I had to employ a similar methodology where I had to rely on regex and "positionally-aware fixed-length" formatting rules. I would literally chunk specific groups by the number of spaces they contained lol. I had to do very little manual intervention but, damn it all, it worked :D .
Comment · 6 years ago
I can cosign on this methodology. I used to work in an organization that used to build pdfs for accounting and licensing documentation. I used a proprietary tool (Planetpress :( ) to generate the documents using metadata from a separate input file (csv or xml) to determine what column maps to what field.

Good thing about this was as you have already outlined: It allowed for some flexibility in what was acceptable input data. For specific address formats or names we could accept multiple formats as long as they were consistent and in the proper position in the input file.

Regarding renegotiating: We didn't get that far. However, if a customer within our organization was enlisting our expertise and could not produce an acceptable input file, then we would go back to them and explain the format that we require in order to generate the necessary documents. Of course, creating our document through our data pipelines is obviously the better choice, but this was not an option in some cases at the time.

As far as doing the work of creating these documents in a tool like Planetpress is concerned, well, don't use Planetpress. You are better of doing it in your favorite language of choice's libraries tbh. Nothing worse than having to use proprietary code (Presstalk/Postscript.) that you have to learn and never be able to use anywhere.

Comment · 6 years ago
I understand why they pulled their products from this service.

However, the problem I see with this is if they use the same pricing scheme as Google Stadia, most people will have to pay full retail for games that are fairly old that they already own. At least offer those games at a discounted price by verifying ownership.

Comment · 6 years ago
Seconded. Based on my previous jobs working in retail fraud, most retailers are able to track and cancel gift cards when they can confirm them.
Comment · 6 years ago
I agree with your post. I had the same problem where match was harder for me to comprehend. It wasn't until I started programming that I started to understand the concept you cite (Functions.).
Comment · 6 years ago
I'm sure no one has asked for this(Please don't judge me.). But I would be willing to drop 25 bucks on this not 49 as that is way too high.
Comment · 6 years ago
Complete and utter madness. I think they're simply doing this to be contrarian.
Comment · 6 years ago
Same. I saw way more movies than I normally would. I use AMCs service now which is pretty good as well. But you can't beat 10 dollars.
Comment · 6 years ago
I use alias for simple day to day things that I have to do.

Simple use cases: alias la='ls -al' alias somefolder='cd blah/blah/blah'

Less typing. Nothing too crazy. What he is doing with more complex features, I wouldn't look to simplify with .bashrc.

Comment · 6 years ago
I'm really interested in the findings. How can Apple prove any of these claims?
Comment · 6 years ago
I see your point regarding spaces in names. Suppose I could use FILENAME. But I think my point was made.
Comment · 6 years ago
In my defense I did this fairly quickly (Which was the point.) and was not trying to illustrate proper syntax (I mean it does run and does produces an output.).

ls -l | awk '{print $9 "\t" $5}'

That is about as much as i'm willing to do for this.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton