HNHacker News
TopNewBestAskShowJobs

aychedee

901 karma · joined May 22, 2011

Engineering Director at Touch Surgery
submissionscomments
aychedee··on Google search for a local restaurant returns scammer’s ad as top result
It's broken by design. AKA regulatory capture by business. Ever since America made corruption (paying money to politicians) legal it's just been downhill. Enjoy!
aychedee··on Gallium helps convert CO2 into Carbon and Oxygen
So, for $4.3 trillion dollars / year we can turn the 43 billion tonnes of CO2 we emit per year into oxygen and carbon crust. Which is twice the annual revenue for the global oil industry.
aychedee··on Open Up vs. Break Up
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.
aychedee··on Ask HN: Did you delete your Facebook account in 2018?
Yup, I did. And don't miss it at all.
aychedee··on The Ethereum Price Drop: A Fundamental Analysis
Not quite. It's a claim on a distributed processing infrastructure. Where every node processes every instruction. So not worthless. But not very efficient.
aychedee··on Texas students will soon learn slavery played a central role in the Civil War
Why kind of effed up country votes on history?
aychedee··on The GDPR blog post
It's really no problem to do this. We're using a variation on this: https://unix.stackexchange.com/questions/158400/etc-shadow-h.... The output of crypt (where the input is an email address) is pretty useless if we did suffer a data breach. They'd have to hash every known email address with that salt in order to figure out who had declined an invite from us.
aychedee··on Ask HN: Best companies to work for in Europe?
We do good pay and sane work life balance at Touch Surgery - https://www.touchsurgery.com/jobs - And the UK is still in Europe. For now
aychedee··on The ‘Frequent Flier’ Program That Grounded a Hospital’s Soaring Costs
Sounds like the approach taken in every other country that has a national health service.
aychedee··on Comparing Elixir and Go
Really well written comparison that made me, as someone who has used go for a year, understand a lot more about Elixir.
aychedee··on Scientists have figured out the reason London fog killed 12,000 people
Kind of how mustard gas works, compound that turns to sulphuric acid when it gets wet.
aychedee··on Linux 4.5 released
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.

aychedee··on [dead]
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.
aychedee··on Is this website intentionally bad?
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.
aychedee··on Ask HN: What are you working on this week?
Working on the final touches for a real time bidder:http://www.aychedee.com/2015/09/18/writing-a-real-time-bidde....
aychedee··on An example of command-line bullshittery in computer science research
Professor discovers that actual system creation is painstaking and easily becomes very painful unless great care is taken to manage the complexity... and all he's trying to do is hack two servers together. Imagine if his service had to be reliable!
aychedee··on The end of driving
I'm sure you'll still be able to do it on a closed road, perhaps as part of a bachelor party...
aychedee··on The user is drunk (2013) [video]
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.
aychedee··on A JSON field type for Django
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.
aychedee··on A JSON field type for Django
Yeah, sounds like you're mileage does vary.
aychedee··on A JSON field type for Django
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.
aychedee··on A JSON field type for Django
It's probably more appropriate to submit a pull to one of the existing projects TBH.
aychedee··on A JSON field type for Django
Oh cool, that's very interesting! Thanks for sharing.
aychedee··on A JSON field type for Django
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.
aychedee··on A JSON field type for 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.

aychedee··on A JSON field type for Django
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.
aychedee··on A prediction market for Bitcoin?
I'm hanseldunlop on twitter.
aychedee··on Why Does A Good Kettle Cost $90+?
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.
aychedee··on The Rise and Rise of Television Torture
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.

aychedee··on The Rise and Rise of Television Torture
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)

Page 1 of 3Next →