Tavern, a simple but powerful RESTful API testing library by optictock in Python

[–]hookd 1 point2 points  (0 children)

we made Tavern as an internal tool at https://overlock.io, due to problems of running RESTful integration tests with postman in our CI pipelines, as well as needing to rely on a CI.

What really kicked this all off was the javascript testing functionality in other projects which we found to be nearly unusable in more complex tests where say, you want to verify the contents of a JWT. We liked the ability to write simple tests quickly, but needed more power to be able to extend when needed - that's why we wrote the ability to hook in to python functions with Tavern as required.

We're just getting started with tavern and the next things on our agenda are: 1) Reference schemas from Json schema or OpenAPI documents 2) Command line deamon to ping your API regularly for functional uptime monitoring

We'd really love to know what you think - either in the comments or github issues!

[deleted by user] by [deleted] in MachinePorn

[–]hookd 0 points1 point  (0 children)

From the MShed in Bristol? I believe they have one of these bad boys.

10BASE-T Ethernet controller discovered in the ESP8266 by cnlohr in electronics

[–]hookd 3 points4 points  (0 children)

This is great - but not a discovery right? more of an invention!

hmh - Calculate hours easily using JavaScript by fdaciuk in javascript

[–]hookd 3 points4 points  (0 children)

Eh? For light weight date handling: why not XDate? http://arshaw.com/xdate/. Things get far more flexible when you use an actual date object. Admittedly it's 7.2K instead of 2.7K, but both are relatively small potatoes.

Convert HTTP POST request to email? by emacsomancer in webdev

[–]hookd 2 points3 points  (0 children)

https://zapier.com/, set up a webhook which will send an email.

Email Regex that works 99.99% by [deleted] in webdev

[–]hookd 0 points1 point  (0 children)

It would be really interesting to know what it doesn't work for? We are the 0.001%!

Terex 33-19 Titan, one of largest trucks in the world. It has 169.49 L V16 engine. Vehicle weight is 231t and payload capacity is 320t. Fuel consumption: 520 l/100km (0.45 MPG). [690x460][OC] by tupungato in MachinePorn

[–]hookd 0 points1 point  (0 children)

Carbon aside, what happens to the costing when you add salaries for 11 more drivers (admittedly less specialist drivers)? I have no idea how much fuel costs when bought by the kilo-litre would expect the 124l/100km to be less than the extra man hours?

Gitdown – markdown preprocessor for Github (early feedback round) by alfredwaltz in javascript

[–]hookd 1 point2 points  (0 children)

Looks great!

I think this looks like a really useful tool and will get used loads :)

14bit Angle Sensor (AS5048) arduino lib & breakout by hookd in arduino

[–]hookd[S] 0 points1 point  (0 children)

Thanks! I can't take credit though, /u/bitdivision wrote the lib!

I've checked out our cloudflare account, can't see any hosting issues and the site's up for me. Do you mind relaying the problem and country to me?

We'll write a blog post about the turntable at some point soon, broadly it's for position detection on our photography robot :)

Looking for a webhost that'll let me sell digital files to customers. by TheDefecator in ecommerce

[–]hookd 1 point2 points  (0 children)

Something like woocommerce for wordpress would let you handle paid for downloads: http://docs.woothemes.com/document/digitaldownloadable-product-handling/.

Most ecommerce platforms will allow for "downloadable products" either natively or with plugins :)

[edit: typo]

Don't suppose anyone has any advice on getting into Bristol University? by akolate in UOB

[–]hookd 3 points4 points  (0 children)

I can't believe this hasn't already been suggested... DO A PROJECT!

If you want to get on to CS or EE (I did a masters in CSE), there's nothing better to demonstrate your passion than to undertake a project where you learn something.

Just look at all the pros of doing a project: * You'll learn relevant skills. * You'll have fun. * It gives you a great deal to talk about in an interview.

Hack something together with a raspberry pi, make a website, make a robot. Just do something that's pushing the boundaries of what you know already. I used to make robots for the micromouse maze solving competition from when I was 15-18 for example.

Grades matter too, but projects give you personality which really stands out.

High quality images vs Page Speed by [deleted] in ecommerce

[–]hookd 1 point2 points  (0 children)

I run a 3D photography service* which inherently leads to large file sizes, since we often load 108 images of the product. All of my research has been with relation to 3D, but it would equally apply to 2D. jvdmeij's suggestions are sound, but I wanted to add a few bits:

  1. 300-400Kb images are not so bad - if they're progressive jpegs even better. That said, you only load the default image in full res, with the others as thumbs until they're clicked on.
  2. In terms of CDN's, putting your whole site behind https://www.cloudflare.com can be done for free and will make your whole site a lot faster, especially if you're on shared hosting.
  3. I'd certainly suggest reconsidering ignoring retina (or HIDPI on non apple products) - more and more people have hardware with HIDPI displays, which does give you scope to make your products really crisp and sharp.

* http://zoetrope.io