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 How to Run Pandoc in AWS Lambda
Tldr: tutorial on how to create a scalable document conversion service using Pandoc, AWS Lambda and S3. Also covering how to deploy third-party binaries with your Lambda function.
adzicg··on Elevated error rates on applications and deployments
we (mindmup) moved from Heroku to s3+cloudfront for web pages and assets and AWS lambda for backend functionality, works like a charm.
adzicg··on How Google obliterated my 4 year old Chrome extension featuring 24k+ users
Google Apps for Business isn't adwords, though. my comment was about adwords customers.
adzicg··on How Google obliterated my 4 year old Chrome extension featuring 24k+ users
anecdotally, you can get good support if you're a customer, but there's a big difference between a customer and a user. I've heard (not confirmed personally, just overheard at conferences), that if you spend enough on adwords to register on their radar as a customer, things are easy to get sorted even if they're nowhere adwords related.

the big difference is that for the most part, google users/developers/... are not really customers.

adzicg··on EU Announces That All Scientific Articles Should Be Freely Accessible by 2020
> I sometimes wonder if companies like Elsevier are the patent trolls of the research publishing industry

I assume that 50 years ago the cost of getting information out to people was quite significant. printing, distribution, logistics... a single researcher wouldn't be able to deal with lots and lots of publishing institutions efficiently, and a single institution (except for the largest ones) wouldn't be able to publish efficiently. at my uni school, they had 2 geometry professors, and they perhaps published something every few years. no need for the school to publish its own geometry journal. middle-men such as Elsevier emerged to provide a useful service, achieving efficiencies of scale on both ends, providing a publishing channel for smaller schools and a discovery service for researchers. kind of the same as why travel agents existed. it was too difficult for a single person to deal with all the hotels and airlines in the world, and they didn't even know where to go and ask about that stuff.

Today, the cost of getting the information out to people being insignificant, they are an obstacle instead of being an enabler, adding very little value to what people can do directly. On the other hand, as long as they can keep the effective monopoly going, they can milk the market. Travel agents didn't have a chokehold on a market, and got easily disrupted by web sites. Elsevier requires regulators to step in.

adzicg··on Warner Brothers reports own site as illegal
tldr: "Film studio Warner Brothers has asked Google to remove its own website from search results, saying it violates copyright laws."
adzicg··on Hello, I’m Mr. Null. My Name Makes Me Invisible to Computers
ColdFusion does. There was a famous stackoverflow thread on that "We have an employee whose last name is Null. Our employee lookup application is killed when that last name is used as the search term (which happens to be quite often now)"

http://stackoverflow.com/questions/4456438/how-to-pass-null-...

adzicg··on GitHub Issues Do's and Don'ts
for claudia I have a policy of replying to issues with ideas on how to implement it, and closing the issue one week after if there was no activity. got a fair few happy contributors now, and more people know the code base so they respond to users on the chat channel even when I'm not around.
adzicg··on GitHub Issues Do's and Don'ts
> The time isn't useful just because it's volunteered. It has to be both volunteered and directed at effort

useful depends on the target. something might be useful to you but not to other people. big part of successful product management is deciding on good market segments. as a casual user of a tool, you might not be in a segment that the project maintainers care a lot. annoying maintainers won't help at all if that is the case. learning about the code and fixing it will.

adzicg··on GitHub Issues Do's and Don'ts
> Same here. When an issue goes unaddressed for a long time, yet the user base clearly needs it to be addressed, there has to be a mechanism by which the user base can make it annoying to the developers who continue to choose not to address it.

instead of trying to annoy people who volunteered their own time to build something useful, why not submit a pull request instead? if it's that important to you, invest a bit more into solving the problem than just complaining online.

adzicg··on OpenLambda, a system for serverless computing
I don't mind this name. We're OK with 'wireless' access to Internet, although it's pretty clear that the packets will hit a wire at some point. Wireless means I'm not pulling a cord along with my phone. 'serverless' similarly means my code is not listening on a socket, although the request does come from some socket, of course
adzicg··on 30K Page Views for $0.21: A Serverless Story
API gateway takes a bit to set up, and there are silly limits on error responses etc still, but returning a html page is very easy. Check out the web HTML example project for Claudia https://github.com/claudiajs/example-projects/blob/master/we...
adzicg··on Image-diff – Create an image differential between two images
If you need workflows, there's also VisualReview [1] with some basic workflow for approval testing, and Applitools [2], a commercial tool with integration with Selenium, Appium and Protractor that can do screenshot and video comparisons. I wrote about them as part of the 'Automated testing: back to the future' tools review [3]. In the article, I also mentioned DomReactor, but that seems to be discontinued now.

[1] https://github.com/xebia/VisualReview

[2] https://applitools.com/

[3] https://gojko.net/2015/11/16/automated-testing-future/

adzicg··on Low-budget, human-enhanced Echo competitor made by Sears
After a month of trying out things, I mostly use Echo as a voice controlled music player - kids love it for that too. so this is more a Dash competitor than an Echo competitor.
adzicg··on Nintendo Plunges After Saying Pokemon Go’s Impact Is Limited
>> It also said sales of Pokemon Go Plus, a Nintendo-produced accessory for the game, have already been factored into its existing profit forecast.

It's funny how the plunge, a singular event, is now news, rather than the trend over time. sure enough, last week it was the surge, another singular event... short term view presented in market news never stops amusing.

adzicg··on Why Did Google Erase Cooper's Beloved Literary Blog?
since reading the prag prog book a decade ago, I started putting everything I can in version control. saved my ass several times so far. used my own svn server for a while, now using a combination of GitHub and AWS git (I think it's called codesource)
adzicg··on Kenya: Foreign companies to face 30 per cent local ownership rule
is it really the entire company or 30% of the local office? seems fairly straightforward to burden the local office with IP payments to the mothership and have no local profit/ dividends then, kind of making the local owners little more than rubber stamping officials
adzicg··on With a new tool, spreadsheet users can construct custom database interfaces
seems to be more geared towards reporting, so reinvented 'oracle forms' probably.
adzicg··on Oxford Dictionaries API program is now live
it's not live, it's just a 'register your interest' landing page with some stupid avatar photos that don't load well on a mobile device
adzicg··on Chalice: Python Serverless Microframework for AWS
we use it now as the main backend for Mindmup 2, migrated from Heroku.

I recently published the scripts evolved from our usage to simplify deployments as https://Github.com/claudiajs - the tool is mature, and allows teams to use API GW almost as easy as if it were a lightweight web server

adzicg··on Chalice: Python Serverless Microframework for AWS
you can push S3 events to SQS and then consume it anywhere (eg we had file converters running on Heroku, listening to S3 events through SQS)

Likewise, Lambda can execute events from SNS, Cloudwatch Events, Dynamo and a lot more, including the Amazon workflow system.

adzicg··on Space Mono
the numbers look really ugly. I'd hate to see this in an IDE
adzicg··on AWS Lambda Is Not Ready for Prime Time
one potential pain point is warmup time. if your app isn't doing anything, the first request may take a few seconds. it seems that once it's running, this is quick, as the VM is reused.

another thing is that although Api GW can behave like a web server for most things, some things are more restricted than with a fully programmable server. for example, you need to declare all HTTP response codes upfront, so that the pipeline can be configured. There can be only one success code (so eg returning 204 when there is no content and 200 with content from the same endpoint isn't trivial).

the third thing, that several commenters mentioned on this page, is that if you want to use API Gateway, processing binary data requires S3 or something else for storage. We currently let people convert files by using ApiGW + Lambda to get a signed URL for S3, then post to S3, another Lambda converts it into PDF and saves back to S3, and the client polls S3 to pick up the result. It's fantastically scalable with that design, much better than posting a file to heroku and then getting a synchronous response, but it takes a bit of rearranging the code to work.

adzicg··on AWS Lambda Is Not Ready for Prime Time
I think this is a bit too harsh. Sure, it has a few rough edges, and not everyone's idea of prime time is the same, but Lambda is perfectly suited for lots of use cases that do not depend on very low latency -- for example, file conversions, async tasks where users can wait a few seconds such as payment processing, automating incoming e-mail workflows etc.

We've been running APIs on it for six months with no issues, and are now in the process of moving the entire backend from heroku to Lambda. So far, no major issues.

Regarding Lambda being a building block, I actually like that. Werner Vogels points out [1] that one of the key lessons from 10 years of AWS is that the market wants primitives, and that the higher-level toolkits emerge from that. A ton of third-party helpful stuff is already out, such as apex, serverless and so on. We built a toolkit[2] that lets people use Lambda and API Gateway from JavaScript very similar to lightweight web frameworks (eg api.get('/hello', function (request) {...})

Documentation is there, just not in the most sensible places, and the whole pipeline is optimised for Java processing (eg Velocity VTL for API Gateway transformations allows people to do everything they need, as long they know the Java collections API executed below).

[1] http://www.allthingsdistributed.com/2016/03/10-lessons-from-...

[2] https://github.com/claudiajs/claudia/

adzicg··on Show HN: Effe-tool, management of effe: open source alternative to AWS Lambda
perhaps I don't get it, but this seems as self-hosted solution. the key thing about AWS lambda is zero admin, not having to think about scaling and throughput, so I don't see how this is an 'alternative'. what am I missing here?
adzicg··on Show HN: Repolabels, Dynamic SVG labels with basic stats for GitHub repositories
with a major difference that it does not require JavaScript
adzicg··on Silicon Valley is broken and heading for social unrest
I'm a bit confused about land, labour and capital comparison. It seems that he's complaining about 'land' and 'labour' not getting enough as a result of digital economy, but those are potential inputs, not outputs, so the reference is misguided. Plus, the straw-man uber driver surely represents labor in that part, and they get paid for that.
adzicg··on Using AWS lambda for cheap S3 content processing
I'm building some nice example projects for claudiajs now, this sounds like a fun thing to try. check out https://GitHub.com/claudiajs in a few days, it will probably be there
adzicg··on Show HN: Claudia.js – deploy Node.js microservices to AWS more easily
author here... I have nothing against CoffeeScript, so that's not really a blocker.

For access keys, so far I stored them as stage variables in the API Gateway config. Claudia adds all stage variables to the env key of the request passed to the Node.js handler. That way, they are instantly available to your function, but never shared with Web clients.

I'm not entirely sure how secure this is, but the use cases I used it for are not highly risky. This is, I imagine, equivalent to storing them in the ENV variables for heroku services. (what I migrated from)

one additional benefit of stage vars is that you can use different values for production, dev and testing, and it all works out of the box.

adzicg··on Show HN: MindIT – A web based Freemind alternative built in Meteor
mindmup does diffing and version control nicely (the format is JSON) and it's web based, multi-client. http://discover.mindmup.com/geeks
← PreviousPage 5 of 6Next →