HNHacker News
TopNewBestAskShowJobs

adzicg

2,615 karma · joined January 9, 2014

Gojko Adzic, http://gojko.net/about

Stuff I’ve built/participated in:

https://www.narakeet.com, https://votito.com, https://bugmagnet.org

Previously worked on https://www.mindmup.com, https://claudiajs.com

My books: https://gojko.net/books/

submissionscomments
adzicg··on AWS Kinesis with Lambdas: Lessons Learned
The key benefit of using kinesis paired up it with lambda is controlled sequencing and parallelisation at the same time. Kinesis streams guarantee a single Lambda per shard iterator.

For example, at MindMup, we’re using a similar setup to the one described in the article for appending events to user files. It’s critical that we don’t get two updates going over eachother in a single file, which is tricky to do with lambdas only because there’s no guarantee how many lambdas will kick off if updates come concurrently from different users for the same file. With Kinesis, we just use the file ID as the sharding key, so no more than a single lambda ever works on a single user file, but that we can have multiple lambdas in parallel working on different files.

adzicg··on Ask HN: Have you shipped anything serious with a “serverless” architecture?
we’re running a collaborative document editing service for mind maps (www.mindmup.com) entirely using lambda and associated services (such as kinesics and api gateway). started migrating from Heroku in 2016, went all in around February 2018. My anecdotal evidence is that we’re a lot more productive this way.
adzicg··on Show HN: Devpen – Markdown Editor with GitHub Style
Just a note that the drive realtime interface is going away, google for some reason decided to push out third party devs from their drive platform. Building new apps that provide that feature is no longer possible since november last year, and existing apps will stop functioning in January next year.

https://developers.google.com/realtime/deprecation

adzicg··on Microsoft has sunk a data centre in the sea to investigate energy efficiency
This opens quite an interesting perspective for 'off-shore' hosting, literally. I remember from a previous gig a while ago that renting servers in Saskatchewan or something similar provided companies with a favourable legislation as well as cheaper server cooling. If you plunge a data centre into the middle of the sea somewhere in international waters, does it really fall under any legislation?
adzicg··on Show HN: Desole 1.0 – opensource error tracking, integrated with AWS
Not really, it depends on AWS Lambda and SNS too tightly
adzicg··on Show HN: Desole 1.0 – opensource error tracking, integrated with AWS
We just released v1 of Desole, an error-tracking system you can install in your AWS account. Desole enables organisations to track application exceptions and errors without having to choose between the convenience of software-as-a-service and the security of a self-hosted solution.

You fully control the data, so it is easy to enforce compliance, encryption and data security requirements. At the same time, Desole uses highly-scalable AWS resources that can easily handle massive traffic, and auto-size on demand, so you do not have to worry about operating costs or administration.

The first version brings integration with CloudWatch metrics, S3 storage, ElasticSearch and AWS Pinpoint.

adzicg··on Stripe Billing
Hi,

we use stripe subscriptions now quite a lot, and I'm a bit worried about the whole invoice pricing - could you please clarify that a bit?

the web site says invoices are free for up to first 2K, then $1 per invoice. our recurring charges to customers now are around $2.99 per month, I hope you're not planning to take $1 more away from that. does the invoice price apply for each recurring payment cycle, or am I reading something wrong here?

adzicg··on The Declining Value of a CS Master's Degree (2013)
This is not my experience in the UK (not sure if you consider UK part of Europe, though :).

If anything, it was the opposite, people I worked with would consider anything better than Bachelors in CS on a candidate’s CV (eg MS or PhD) as a signal that they wasted too much time in their life before starting with real work in the industry.

[edited for clarity]

adzicg··on Say Yes to Markdown, No to MS Word
"pandoc --toc" puts a TOC in when creating pdf files. You can also use "--toc-depth=XXX" to select how many levels of headings you want in the toc. page numbers also get added automatically I think when using the book docclass.
adzicg··on Ask HN: Where do you deploy to in 2018 and how?
We switched MindMup from Heroku to AWS Lambda (+S3+Cloudfront for web page hosting), gradually in 2016, and I’m quite happy with the results. We deploy using claudia.js.
adzicg··on Don't use VPN services
It’s reasonably easy to set up a l2tp VPN on AWS, using cloudformation. Running an EC2 instance for a full month for this costs roughly $5 USD. I don’t really get why someone with a bit of tech skills (=using github) would use a third party VPN service from an unverified provider. Sure enough, if Five Eyes want to get your logs from AWS they will, but for avoiding airport or hotel WiFi’s snooping a simple l2tp VPN over AWS serves quite fine, and it works with mobile phones and laptops without requiring any additional software.
adzicg··on In search of the perfect writing font
a lovely example is uFDFD, ﷽ (single char)
adzicg··on The scary side of biometric security
which version of FF? could be caused by some misconfigured content blocking extension?
adzicg··on Show HN: Appraise – Visual test automation
yep, qatar :)
adzicg··on Show HN: Appraise – Visual test automation
I have not used niffy so this is based on their github description, so might be wrong

1) niffy seems to be designed to use UI interactions to lead you to the result, appraise works like fitnesse, separating what is being tested from how it's being tested, so you could go several levels deeper than UI interactions and eg test how your models and views produce outcomes, without the http serving and web pages in between. this makes tests faster and easier to maintain. appraise is more for visual unit testing.

2) niffy seems to be optimised for developers, appraise is intended for cross-functional collaboration between developers, testers and designers. with appraise, the test is a markdown page that renders nicely in github and shows expected results and the conditions under which they should happen.

adzicg··on Show HN: Appraise – Visual test automation
haven't tested it myself, but I assume headless chrome can render PDFs, so the answer should be yes. Try it and if it doesn't work, submit an issue on github and we'll make it work together. You'll probably need to use a fixture producing a local file, check out https://github.com/AppraiseQA/appraise/blob/master/examples/...
adzicg··on Show HN: Appraise – Visual test automation
> 1. Are there plans for a multi-browser (especially mobile web) test runner?

the screenshot engine is designed to be pluggable, so theoretically this should be easy to do with some kind of mobile-test-farm runner.

> 2. Are there plans to detect change provenance...

You can set the relevant clip region to just the header, so it will only notify you if the header changed and ignore the rest. check out https://github.com/AppraiseQA/appraise/blob/master/examples/...

>3. There are a lot of similar tools...

appraise is designed to be used like fitnesse (so example+fixture=> result) instead of record/replay tools that end up being fragile. it makes the examples easy to understand, splitting what is being tested and how it will be tested clearly so both of those aspects are easy to maintain.

it's also designed to work well with github markdown, so your tests become executable API/component specs that are easy to read and also easy to verify.

I'm working on an AWS Lambda runner now, which will also make it quick and cheap to run UI tests in parallel, so it will provide reasonably fast feedback for large test suites.

adzicg··on Show HN: Appraise – Visual test automation
>This is diffing PNGs? That sounds like a recipe for disaster.

Not necessarily, if you use it for what it was intended -- visual layout tests that are easy for a human to approve/reject when there is a difference. It doesn't know if the change is right or wrong, just helps humans be more effective by showing the difference clearly and aiding in comparisons.

adzicg··on Serverless computing: economic and architectural impact
(I'm one of the coauthors of the paper referenced in the post)

For me, charging for actual usage instead of reserved capacity actually aids in implementing those good design guidelines that were collected in books, such as low coupling and high cohesion of code, and this is what we wrote about in the paper as well. charging for reserved capacity creates financial incentives to bundle tasks and features into applications, creating runtime coupling (eg sharing the same /tmp dir, reusing security roles etc), even though they are designed to be isolated. charging for actual usage removes that incentive, so stuff that was designed to be isolated stays isolated when deployed.

adzicg··on Show HN: Appraise – Visual test automation
not currently, but that's definitely an interesting idea.

Appraise is designed to make it easy for a human to approve/reject current state or changes, with a smart visual diff and a good way to show actual and expected pictures side-by-side or as an overlay, but it currently doesn't have any smart logic beyond that. Theoretically it could do something smarter as a comparison.

As it stands now, you could run it once to capture the current state, and get someone to approve it, then it becomes a regression test pack and the tool would alert to any changes with a smart diff.

adzicg··on Show HN: Appraise – Visual test automation
Author here - Appraise is a new opensource tool for visual test automation. It’s like FitNesse, but for visuals, and working from Markdown that shows up nicely in GitHub repositories.

Appraise can help you:

- Automate acceptance/regression tests for visual look and feel in a visual language, rather than xUnit style code

- Review and approve changes to web pages, visual layouts and browser components quickly through visual inspection

- Publish easily maintainable/verifiable developer docs with visual examples to Github easily (markdown) or as a static site (html)

- Start Spec by Example/BDD from a sketch (hand-drawn, wireframe, or from a graphic tool), easily compare actual outcomes, then just approve the final result to make a regression test

In the near future, Appraise will also help you:

- Speed up visual exploratory testing by making it easier to rebuild visual components from example data/configuration

- Run visual tests quickly/in parallel using AWS Lambda

This is another tool we built for MindMup, and we used it for the last few months internally, to assist with visual checks and test automation. It helped us move away from tedious layout tests that were very difficult to maintain for small changes, but that would be visually easy to approve or reject. Appraise makes visual tests easy to compose and maintain, by letting people describe what they want something to look like (with a drawing, photo, screenshot or a wire-frame), instead of describing how to test it (eg 10 pixels left, this css color). Here it is in action, preventing me from introducing a stupid layout bug: https://gojko.net/assets/appraise-screenshot.png

Under the hood, Appraise uses headless Chrome to take screenshots, so it can inspect anything that Chrome can render.

The initial release of Appraise is alpha-quality. It covers our key usage scenarios, so we think it is ready for some nice community feedback. It’s useful to us, let’s make it useful to you together.

We’ve designed it to be extensible and pluggable, so other ways of executing fixtures, taking screenshots or processing results should be easy to bolt on to it. We’re releasing it under the MIT license, and the code is on GitHub.

adzicg··on Google's 'Advanced Protection' Locks Down Accounts Like Never Before
That would be ‘Locks out’ instead of ‘locks down’
adzicg··on Ask HN: What is your preferred method of sending large files over the internet?
I upload to S3, which gives me the option of using either a public or a signed URL to share it
adzicg··on Show HN: Appraise – painless visual test automation
Author here - opensourcing the tool we used for the last few months internally, to assist with visual checks and test automation. Under the hood, Appraise uses headless Chrome to take screenshots, so it can inspect anything that Chrome can render.

Appraise makes visual tests easy to compose and maintain, by letting people describe what they want something to look like instead of describing how to test it (eg 10 pixels left, this css color).

I'm currently working on a version that will allow running tests inside AWS Lambda, which should take care of the last mile of visual testing (so it's no longer slow).

adzicg··on Show HN: Discover the tech stack for any website
just tried this for our app, and it wrongly reported mandrill and flash (we’re not using any of them). we used mandrill a few years ago, so this might be some stale historical data, but the app never used flash.
adzicg··on Kalashnikov’s new autonomous weapons and the “Terminator conundrum”
instead of WWII films with people hiding in mud for a tank to pass by so they could stick a bomb on it, we'll get WWIII films with people hiding in mud with an ethernet cable
adzicg··on Ask HN: HNers who got their “Show HNs” on homepage, how is your site doing now?
Two things my team announced on Show HN appeared on the home page for a day or so.

MindMup (https://www.mindmup.com), an online mind mapping tool appeared in 2013, and got a nice traffic bump that day, it took about two years to reach that level of regular traffic. the site now gets between 400 and 500k visits monthly during busy school periods (seems to be mostly used by educational users), and grows around 5% per month.

ClaudiaJS (https://claudiajs.com) is an open source tool that helps deploy Node.js projects to AWS Lambda and API Gateway easily. Originally built for MindMup, we decided to spin it off as a separate open source tool. It appeared on HN about a year ago, and according to NPM stats now has roughly 85K downloads.

adzicg··on [dead]
The title is misleading. UberPOP is shutting down, the licensed UberBlack service will still work.

People without a public transport license will not be able to perform public transport services.

adzicg··on Ask HN: What business service would you pay $100/mo for
I've not had to do this. I have a point person at the agency and opened an email address on our company domain for her, so when she contacts people for me, she uses her email, not mine.
adzicg··on Ask HN: What business service would you pay $100/mo for
all admin after I agree on a client engagement (contract paperwork, logistics, sending and chasing invoices, ordering and sending stuff to clients before my visit...), sorting out receipts and coding against client projects, booking travel for associates, performing small research tasks, all sorts of small admin such as send 20 emails to certain people, chase them to answer, consolidate results...
← PreviousPage 3 of 6Next →