News for hackers. Stuff that matters.

mctx

Re:Modern Front-end in Rails on Friday December 08, 2017 @06:03PM (#15882888)
Check out Django Rest Framework - it uses Django’s ORM and adds some really nice features for building a decent sized API
Re:Evaluating Perceptual Image Hashes at OkCupid on Saturday June 03, 2017 @08:12PM (#14479215)
I wonder if the author has looked into using SURF/OTB etc?
Re:Evaluating Perceptual Image Hashes at OkCupid on Saturday June 03, 2017 @08:02PM (#14479177)
Have you looked at https://github.com/dermotte/lire? This plugin for ElasticSearch uses it: https://github.com/kzwang/elasticsearch-image
Re:Cisco's Talos team analysis of WannaCry worm on Friday May 12, 2017 @07:37PM (#14328764)
Unreadable on Chrome on iOS https://i.imgur.com/j13tqGn.png
Re:How Stripe teaches employees to code on Thursday May 04, 2017 @09:05PM (#14270369)
I find that even noise cancelling headphones don't help drown out nearby conversations - I listen to Apple's Chill radio and use Noizio when I really need to focus.
Re:Ride-hailing apps may help to curb drunk driving on Thursday April 06, 2017 @12:49AM (#14047987)
A booze bus is a random breath test - the police have labelled busses that they park on the road. I believe if you blow over the limit then you get on the bus and are tested again in 30 minutes.

They look like this: http://www.ranted.com.au/wp-content/uploads/2012/09/109890-b...

Re:Jupyter Notebook 5.0 on Tuesday April 04, 2017 @07:29PM (#14038252)
You can create a post save hook to output .py files - http://jupyter-notebook.readthedocs.io/en/latest/extending/s...

(You used to be able to run ipython notebook --script)

Re:NeverSSL on Wednesday January 11, 2017 @12:09AM (#13371912)
httpbin.org/status/204 works too
Re:Milking the iPhone on Wednesday December 07, 2016 @12:29AM (#13120663)
> More importantly, transportation is the gateway to the grand prize: housing. When contemplating a smart home, there is nowhere better to start than developing smart rooms on wheels.

Is the author suggesting autonomous smart caravans?

Re:What every coder should know about gamma on Thursday September 22, 2016 @02:23AM (#12554840)
Also a couple of typos: "acceleation" and "sofware’s"
Re:Correcting Intel's Deep Learning Benchmark Mistakes on Tuesday August 16, 2016 @08:17PM (#12301650)
Re:The Clock on Friday January 23, 2015 @10:33PM (#8938720)
Re:DNSimple DDOS Attack on Monday December 01, 2014 @10:43PM (#8685589)
This worked for us - moved the DNS to Cloudflare, kept the domain at DNSimple
Re:Detecting Barcodes in Images with Python and OpenCV on Tuesday November 25, 2014 @08:01AM (#8657510)
Does this technique only work if the barcode is either horizontal or vertical?
I've found its typically limited by my upload speed (ADSL2+ at 100kb/s up), took me a few months for a couple of hundred GB.
There are a few conferences coming up in Barcelona, he could go to network? http://www.papis.io/ http://velocityconf.com/eu
Re:Show HN: A Google Calendar Door Sign on Monday September 29, 2014 @05:30AM (#8382174)
Are you looking for off the shelf systems or parts/info to build one with?
Re:Postgres full text search is good enough on Monday September 29, 2014 @05:25AM (#8382165)
Django has haystack[0], which I've used with an elasticsearch backend on a few projects and is generally pretty easy to set up and get good results with. I haven't had to do anything more advanced than autocomplete/boost/spelling suggestions, but from what I've read it seems pretty powerful.

[0]: http://haystacksearch.org/

Re:Postgres full text search is good enough on Monday September 29, 2014 @05:16AM (#8382154)
I've gone down the same route, from PostgreSQL search to ElasticSearch with usually pretty good results. A friend has strongly recommended Algolia, so I'll explore that for the next project that needs it.
Re:Heroku DX: The New Heroku Developer Experience on Tuesday September 23, 2014 @10:33AM (#8355508)
I use and have used Heroku for personal projects for quite a while. I don't feel too bad, because a) they only run free dyno apps upon request (idle most of the time) and b) I'm a huge advocate for their products, which has led to my work and several other companies using and recommending Heroku. At work we now have a number of clients typically running 2-5 dynos and other services, hopefully easily covering my freeloading!
Re:Ask HN: What's the best company to buy an SSL certificate from? on Saturday September 20, 2014 @10:34AM (#8344576)
What does your startup do?

How are you able to offer EV certificates so cheaply? I thought they were typically ~$1000.

Re:Django 1.7 Released on Tuesday September 02, 2014 @08:44PM (#8260986)
Are you using any packages with Flask for API code? I quite like Django Rest Framework for JSON APIs, I just ignore the parts of Django I don't need.
Re:Game of Hacks on Tuesday August 05, 2014 @10:15AM (#8136972)
alex here. After getting a question correct, you can submit the same POST request with the same answer, and a very large negative number for the time. I imagine they're just adding your newly calculated score (30?-time) to your session's previous score. A lesson in sanitising inputs!
Re:Celery – Best Practices on Wednesday June 18, 2014 @09:33AM (#7909943)
What's the use case? Do you need to know exactly when the task is done? Does it vary in duration significantly? Can you split the call into two - one to start it, another to check the status given an ID?
I got practical thinker too, and I'm a Mechatronic Engineer (I like building things)
Re:Common Python Mistakes on Thursday May 08, 2014 @09:25PM (#7718812)
Also crashes chrome on ios 7.1.1 on an iPhone 5S every time
Re:GoDaddy Prepares for IPO on Friday March 14, 2014 @10:00PM (#7403158)
They probably just can't figure out how to use the site's horrible UI to transfer out
Re:Please reconsider the Boolean evaluation of midnight on Thursday March 06, 2014 @08:54PM (#7357995)
{1: ["A", "B"]}?
Re:Project Tango on Friday February 21, 2014 @02:40AM (#7275849)
This is called photogrammetry - check out Autodesk's 123D Catch iPhone and web app, it yields some pretty good results if you take enough evenly lit photos with decent overlap.
Re:Bootstrap 3.1 released on Thursday January 30, 2014 @06:20PM (#7154079)
Or use css2sass.heroku.com for SASS

Older »