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 Show HN: From Markdown to Video
Video Puppet integrates with several voice synthesis services, including Amazon Polly, which offers custom branded voices [1].

You could create a custom brand voice with Amazon, and we can then integrate it into Video Puppet.

- https://aws.amazon.com/about-aws/whats-new/2020/02/amazon-po...

adzicg··on Show HN: From Markdown to Video
you can easily replace generated voice with professionally recorded voice later, and have it re-sync everything. generated voice is great for experimenting and iterating.
adzicg··on Show HN: From Markdown to Video
I'm planning to build a visual interface that would allow users to preview individual scenes. Meanwhile, if the main video build is too long because you have lots of scenes and want to check out how one would look with different parameters, just create a different script file with that scene only and build it. that's the beauty of text file editing, you can easily copy and paste and experiment.
adzicg··on Show HN: From Markdown to Video
What kind of preview are you thinking about?

Building a full video is fairly quick compared to traditional editing tools, so I haven't built any faster preview yet. I usually just build the whole thing and look at it, then tweak the script and build it again.

You can easily upload just the script file into an existing project and re-build the video as many times you like, then download the version you are happy with at the end.

adzicg··on Show HN: From Markdown to Video
Video Puppet can also process YAML and JSON files, so if you are running an automated conversion from XML, it might be easier to output JSON instead of Markdown; in any case, should you need help, drop me an email at gojko@neuri.co.uk
adzicg··on Show HN: From Markdown to Video
thanks. that's one of my use cases as well, so as an extra tip, you can generate code snippets over video or images just by adding a fenced code block. eg

---

![](background.jpg)

```js

//anything here will be rendered as a slide on top of the background, with javascript highligthing

```

---

There's a full example here: https://github.com/videopuppet/examples/tree/master/slides

adzicg··on Show HN: From Markdown to Video
sure. the video conversion is running on AWS Fargate, with bits and pieces running on AWS Lambda. The speech synthesis is either Amazon Polly (neural voices) or Google Cloud Text to Speech (Wavenet).

Under the hood, the conversion system is using Chrome headless to generate slides, render markdown and provide syntax highlighting. Most of the video and audio processing is with FFMpeg and SOX.

adzicg··on Show HN: From Markdown to Video
Just completed full support for scripting videos as Markdown files using Video Puppet. Check out the post for some basic info. For more examples, see https://github.com/videopuppet/examples
adzicg··on Ffcms – FFmpeg's -filter_complex made simple
I started building a tool that simplifies video scripting [1] and the first version worked from JSON. Although this was aimed at a technical audience, people really struggled with it. it's difficult to add comments, and ended up being very error prone. My second choice was YAML, but this ended up even more error prone due to whitespace issues.

My lesson is that JSON and YAML are great for machine-consumption when people just need to do something once and leave it (eg config files), but far from ideal for stuff people need to edit over and over (such as script files).

I converted the input to markdown (with some small extensions) and it made a huge difference. it's less fiddly, much easier for humans to edit, and the parser can point out errors much better. for some nice examples check out https://github.com/videopuppet/examples/

In conclusion, YAML and JSON are great for machine-to-machine communication or human-to-machine for things that do not change often and aren't complex. for human-to-machine that is more frequent, we should be kinder to our users.

[1] - https://www.videopuppet.com

adzicg··on Show HN: Video Puppet GitHub Action
Just published a GitHub action that makes it easy to build videos directly from source assets in GitHub, and integrate documentation/promotional video building directly into CI pipelines (for example, commit a new version of the app, take screenshots with puppeteer, then update instructional videos automatically to include the new images).
adzicg··on How Arweave’s Permaweb cheaply hosts sites and apps forever
Even with a “new type of blockchain” (whatever that means), “permanent” isn’t something I’d trust a startup with. Even “lifetime” deals from profitable established companies tend to run into horrible problems a few decades later [1], when unexpected trends appear. Average company lifespan is now in a low number of decades [2], and startups tend to be at the lower end of that curve just by the nature of being more experimental.

1 - https://thehustle.co/aairpass-american-airlines-250k-lifetim...

2 - https://www.cnbc.com/2017/08/24/technology-killing-off-corpo...

adzicg··on SoftBank Plans $5B Rescue Financing for WeWork
Possibly, but there is another angle here. WeWork isn’t really a tech or realestate company, but a financial instrument to be propped up and then dumped into the lap of late investors or the market, so that early investors can run away with a nice profit. The IPO attempt failed. Now they need time for people to forget, so the financial instrument can be repackaged and sold to some gullible private investors a bit later. SoftBank will get new shares significantly cheaper than the older ones, and as long as they can keep the patient on life support long enough for someone else to believe in it, the whole game will pay off nicely. Probably a few years though, waiting for the next wave.
adzicg··on A Technology Freelancer's Guide to Starting a Worker Cooperative [pdf]
I’m part of a four-person consultancy and we have a transparent deal on profit sharing for projects, depending on who does what part. We adjust the deal every few years when the nature of work changes, so it’s an ever evolving thing, but my feeling is that as long as everything is transparent, and can be changed if someone feels it’s getting unfair, people will be happy.
adzicg··on Why does unsubscribing from a newsletter take “a few days”?
Not really my place to judge how your system is built, but double-checking an email is still subscribed just before you push it out from the queue isn’t impossible. At your volume, this will end up around 20 primary key requests per second, which is a decent database load, but then again for a company that needs to contact 2m customers per day it sounds like this wouldn’t break the bank.

Not letting people unsubscribe quickly is a conscious, commercial choice/tradeoff, not some kind of hard technical limit. Legislation can push this easily in a different direction.

adzicg··on Facebook Like button [operator] a controller jointly with Facebook (GDPR ruling) [pdf]
Mods - sorry for editorialising the title, I know it’s against HN rules, but the full ruling title is too long to fit into the heading field. “The operator of a website that features a Facebook ‘Like’ button can be a controller jointly with Facebook in respect of the collection and transmission to Facebook of the personal data of visitors to its website“

Related analysis: https://www.theregister.co.uk/2019/07/29/eu_gdpr_facebook_li...

adzicg··on What’s New in ES2019
Different products/teams can move at different speeds if they target a specific market. For example, for internal apps teams can expect that browsers are up-to-date, or that even only a specific browser will ever run the app. Also, people who write JS for back-end (eg node.js) or an embedded engine can control the environment their code runs in, and can use more up-to-date features.

It’s similar to all the new tweaks and elements in HTML or DOM. If you’re working on Wikipedia, you will likely never get to use them. But if you work on a more niche app, they become quite useful. Over time, old browsers die out, and the amount of people who can use new features expands; early adopters do the testing for the late majority.

adzicg··on Canada Border Services seizes lawyer's phone, laptop for not sharing passwords
I’m not a lawyer, but tend to travel a lot and had lots of conversations with border agents as a result :) My impression is that it’s primarily a question of payment - if you travel to say Belgium to get paid by a Belgian company, then it’s work. If you’re there and your work is not really related to Belgium in any way, you are on a salary paid by a US company, then your purpose isn’t really work. The shades of gray start when your employer is being paid by the local company for your work. Many countries will allow you to attend meetings for a week or two, run demos, provide some on-site support, but staying for six months and working on site likely require a business visa.
adzicg··on Fighting vendor lock-in and designing testable serverless apps
Hexagonal arch is a very old name, another popular name is “ports and adapters”. Alistair’s article on the C2 Wiki suggests 2005 as the origin of the name (http://wiki.c2.com/?PortsAndAdaptersArchitecture), but that the pattern was identified in the 90s.

btw, wayback machine has a copy from 2009 of Alistair’s page: https://web.archive.org/web/20090122225311/http://alistair.c...

adzicg··on Iconic consoles of the IBM System/360 mainframes, 55 years old today
It’s not “these days”, that problem has been with humans since the start of civilisation. Douglas Adams has a fantastic quote about it:

The major difference between a thing that might go wrong and a thing that cannot possibly go wrong is that when a thing that cannot possibly go wrong goes wrong it usually turns out to be impossible to get at and repair.

adzicg··on Google Docs gets an API for task automation
thanks, but no thanks. I spent a month building integration with google hangouts, only to see it being deprecated before we could even launch. wasted months fighting with undocumented drive realtime API issues to make it work seamlessly and it was pulled last year without replacement. drive v3 api still does not have ETAG conditional uploads that drive v2 had. never biting that google bait and switch thing with apis again.
adzicg··on Domino's Pizza app must be accessible to blind people
Domino's Pizza has been told its website and app must be made fully accessible to blind people, after losing a legal case in the US... It may now set a precedent for others.
adzicg··on After GDPR, The New York Times cut off ad exchanges and kept growing ad revenue
I read somewhere (can’t remember the book name unfortunately) that Tesco in the UK faced this problem when they started sending out personalised coupon booklets based on loyalty card purchases. People were freaking out. Then they started adding coupons to the booklet designed to be irrelevant - say if they figured out that someone was newly pregnant, they’d send a few pages of baby stuff, but also inject lawn mower coupons and stuff only men would care about. That achieved the whole targetted effect and avoided looking creepy for just a few pennies more.
adzicg··on MailChimp deleted my account with no warning
What’s missing in the context here really is whether he was a commercial customer or not. If this was a commercial account, then this truly is shameful. If it was a free account, then it’s just another story of unjustified internet-age entitlement.
adzicg··on Serverless and startups
Two things, based on my experience (we migrated from Heroku to Lambda in 2016, so been there for a while)

1. you don’t need to worry about reserving capacity, so you don’t need to pay for growth you expect to happen, or worry about not meeting a spike in demand if it happens

2. Most of the operations stuff (apart from packaging) is included in the price, so things like monitoring, alerts, dead-letter queues, traffic shifting beween canary versions, failovers, balancing... and it’s priced per request, so this comes to effectively free if you don’t have a lot of traffic.

The big catch is that you don’t control the containers, so there’s no session stickiness. Getting the benefits from Lambda requires re-thinking how you do sessions and storage.

adzicg··on Why Design Thinking Works
If I remember correctly, the key case study in Change By Design (that started he whole Design Thinking movement) was Nokia Ovi. So even ‘might work’ needs to be put into a time bound context. At the point when Brown wrote the book it was ‘working’, and there were claims in the book how Nokia is reinventing itself driven by design thinking, but then the whole ship sank soon after.
adzicg··on Virgin Galactic successfully reaches space
I guess testing with relevant weight? They said 2 pilots plus a dummy passenger. If the plan is to take a single person up at a time, then this would allow them to test their assumptions about fuel burn and engine performance with the same configuration.
adzicg··on Brexit uncertainty means UK is uninvestable
It’s always fun to hear how different perspectives make people consider different things apocalyptic.

I’ve lived in Serbia throughout the stuff most of my British friends consider surreal and wouldn’t even imagine as a post-brexit crash, even in a no-deal scenario (the government just deciding to taking everone’s foreign currency savings one day, state-sponsored pyramid schemes, UN sanctions causing all the big industries to collapse, NATO bombing causing almost a full stop in any economic activity for about 4 months). Even then, we thought that the real apocalypse isn’t happening there, but a few hundred killometres away where civil wars were raging.

Countries, economies and people survive far worse than an economic dispute between civilised nations. Fair enough, the pound might take a dip and some people will lose jobs, but that’s hardly apocalyptic.

adzicg··on Show HN: Video Puppet – create great promo videos in minutes
Hi,

I’m very excited to start opening Video Puppet, my project for 2018 YC Startup School, to a wider audience. It is an online service that that enables trainers, educators and marketers to create videos much faster than with traditional editing tools. It will automatically align timelines, speed up, slow down or pause video segments to match your audio. The Puppet can even create a life-like narration audio from your text.

I built this tool as I got frustrated with how long it takes to create short promo videos. Usually, it took me several hours of work to create a few minutes of good video content, and most of that time had nothing to do with the content itself, but with timelines, transitions, recording and re-recording narrations after small mistakes. With Video Puppet, creating a five minute promo video takes only 10-15 minutes.

The tool is now in public beta, so lots of functionality is still missing, but it is ready for wider feedback. I'd love to hear your thoughts!

adzicg··on Ending PHP Support, and the Future of Hack
I had a client with a proprietary programming language for data warehouse management, they had a very hard time hiring people who wanted to work on that stack from a career progression perspective.

I imagine, at that scale, that opensourcing is a big win because you can have a proprietary stack, but still hire people that already know it, or won't be reluctant to invest a few years of their life into working on it. You also don't have to pay as much for educating new hires as you would for a totally closed proprietary stack, and new people faster become productive. Hiring contractors that work with that stack on a short notice also becomes easier. For a large co, these kinds of benefits might be more than enough to justify cleaning up the code enough to opensource it.

adzicg··on Surviving the App Store
This looks like a source for a leanpub.com book (Book.txt gives it away, and the fact that this is all in a manuscript folder). I don’t think they have a command line tool to build epubs, but you should be able to get an epub from their web site if the author published it there
← PreviousPage 2 of 6Next →