HN user

aychedee

901 karma

Engineering Director at Touch Surgery

Posts28
Comments66
View on HN
medium.com 7y ago

GDPR – The Aftermath

aychedee
4pts1
medium.com 8y ago

The GDPR blog post

aychedee
163pts138
www.aychedee.com 10y ago

Developing a real time bidder in Go(lang)

aychedee
2pts0
www.aychedee.com 11y ago

Keteparaha, because functionally testing modern websites should be easy

aychedee
1pts0
www.interpretthis.org 12y ago

The end of driving

aychedee
5pts2
www.interpretthis.org 12y ago

Whatever happened to Baby IE?

aychedee
1pts0
www.interpretthis.org 12y ago

A basket of crypto currencies

aychedee
1pts0
metric.io 12y ago

A JSON field type for Django

aychedee
96pts43
news.ycombinator.com 12y ago

A prediction market for Bitcoin?

aychedee
1pts2
www.interpretthis.org 12y ago

The Rise and Rise of Television Torture

aychedee
524pts285
www.aychedee.com 12y ago

System 76 Galago UltraPro review

aychedee
1pts1
www.aychedee.com 12y ago

Mining Primecoins with Ubuntu and upstart

aychedee
1pts0
www.interpretthis.org 12y ago

Canadian cuckoo rips apart Finland's nest egg

aychedee
1pts0
www.aychedee.com 13y ago

Man man

aychedee
2pts0
interpretthis.org 13y ago

Has China been protecting its citizens and companies all along?

aychedee
2pts2
www.aychedee.com 13y ago

A dead drop using Bittorrent Sync

aychedee
2pts0
www.aychedee.com 13y ago

Catching and linkifying arbitrary URLs in user input

aychedee
1pts0
blog.pythonanywhere.com 13y ago

How do I serve static files using django & PythonAnywhere?

aychedee
2pts0
www.aychedee.com 13y ago

What should we call the "phone"?

aychedee
3pts4
blog.pythonanywhere.com 13y ago

Howto use PythonAnywhere to host your private git repos

aychedee
7pts2
blog.pythonanywhere.com 13y ago

Unlimited private git repos for Python Developers

aychedee
5pts1
www.aychedee.com 13y ago

The cheapest personal cloud service

aychedee
1pts0
blog.pythonanywhere.com 13y ago

Learn how to code a Facebook app in 20 minutes with PythonAnywhere

aychedee
108pts11
www.aychedee.com 13y ago

The complete guide to deploying with git

aychedee
5pts0
blog.pythonanywhere.com 14y ago

SockJS vs Socket.IO - Benchmarked

aychedee
7pts0
www.aychedee.com 14y ago

Code to embed an IPython console in any web page

aychedee
2pts0
www.aychedee.com 14y ago

Browser based consoles for the iPad

aychedee
1pts0
www.aychedee.com 14y ago

A hidden limitation on AWS micro instances?

aychedee
1pts0

Isn't this ignoring the more obvious solution? Why not nationalise them? The value of these networks is in the users. Not the companies themselves.

Really well written comparison that made me, as someone who has used go for a year, understand a lot more about Elixir.

Linux 4.5 released 10 years ago

The exciting thing here seems to be cgroups v2 coming out from behind a development flag.

The new design seems to be dramatically easier to understand and just plain better. I wonder how long it will take LXC/Docker et Al to make use of them to improve their userspace offerings?

It sounds like the security model could now be good enough for shared hosting using cgroups to become a reality.

[dead] 10 years ago

The exciting thing here seems to be cgroups v2 coming out from behind a development flag. The new design seems to be dramatically easier to understand and just plain better. I wonder how long it will take LXC/Docker et Al to make use of them to improve their userspace offerings? It sounds like the security model could now be good enough for shared hosting using cgroups to become a reality.

Ya know. It's probably the best restaurant web site I have ever seen. It has the phone number, the address, the opening hours, and the menu all available on the first page. And it loaded in less than a second on my mobile. What an amazing restaurant website. I wish other restaurants would start emulating it.

The end of driving 12 years ago

I'm sure you'll still be able to do it on a closed road, perhaps as part of a bachelor party...

If you know how to use vim properly Sublime just feels clunky. I'll switch to another editor with composable commands that provides a better interface, but that's certainly not sublime.

For myself? I don't want to do a migration whenever we add a new widget to our promotion or email builder, I certainly don't want to think about doing a data migration on every existing document. In this particular case we do not care about the contents of this field. There is already a lot of related information stored in the same row.

Great, I'll definitely do that. Maybe we should have a DM twitter chat on how to generalise it before I submit anything? I'm hanseldunlop there.

Not properly using Django's ORM. That's something I'll write when we actually start to need it. At the moment. It's more of a wholesale document store. Right now you would have to write a custom SQL query, using the Postgresql JSON functions, and the Model.objects.raw(...) interface of provided by Django.

Postgresql validates the field. From the docs:

"the json data type has the advantage of checking that each stored value is a valid JSON value" - http://www.postgresql.org/docs/9.3/static/datatype-json.html

There are also a bunch of functions available to operate on a JSON field. Full info here: http://www.postgresql.org/docs/9.3/static/functions-json.htm.... What this means is that you can do pretty fast searches on the value of a key in a JSON object.

I looked at lots of alternatives. But I needed something that supported the actual underlying Postgresql json type. Psycopg2 converts those automatically into Python types. So we needed a JSON type that would accept: Python dicts, lists, strings, and JSON encoded objects, lists, and strings. None of them support that because they are all just storing the data as text in the backend.

Retail margins are frequently 50%. (50% margin, 100% markup) Unless a company is vertically integrated. Does the author really not understand that? Markup/margin varies by product and retailer but is still one of the largest factors in the price you pay at retail.

Yes. Everyone does! * Even Peter. You've just said as much. And it is shown as a tool. I just pulled those examples from the first season using the plot synopse to try and trigger my memory. I obviously didn't have time to go and rewatch 130 hours of television to satisfy a HN commenter who was trying to make a rhetorical point. Many of the characters are ambiguous and are eventually revealed to be acting in the best interests of the "their universe". If you really want to disprove this do your own research. Go through and categorise every instance of pain inflicted on a person in a helpless situation. Are there more or less of these scenes than in the X-Files? Are they betrayed as something only a truly evil sadist would perform or are they more of a tool of the trade? Why do you think the sci-fi FBI genre has shifted?

* Apart from dear Astrid of course, statement may contain some hyperbole.

Urgh. You're making me do homework? Lame. And no. I don't have to show only scenes where the "good guys" are torturing someone. That wasn't my point. I was talking about the normalisation of torture. I wasn't trying to say that all shows had become 24 or something. I never called these shows propaganda (like 24 obviously was). That's HN saying that. I was just saying that they all contribute to the normalisation of torture.

Anyway:

http://en.wikipedia.org/wiki/The_Same_Old_Story - Victims are paralysed with a muscle relaxant and then have their faces peeled off.

http://en.wikipedia.org/wiki/The_Arrival_(Fringe) - Multiple victims are strapped to tables and tortured. Three scenes in all I believe.

http://en.wikipedia.org/wiki/The_Cure_(Fringe) - Woman strapped to a table, she's a test patient being tortured with painful drugs, begging them to stop.

http://en.wikipedia.org/wiki/Bound_(Fringe) - Olivia strapped to a table and tortured.

http://en.wikipedia.org/wiki/Inner_Child_(Fringe) - Woman are paralysed and then slowly killed.

Well that's the first season. I'm off for dinner now. If you want to try something similar for the first season of the X-Files please do!

(Sorry couldn't reply to your reply, I think it's too deeply nested or something)