Better HN
topnewbestaskshowjobs
Log inSign up

karolmajta

88 karma · joined May 4, 2014 (12y ago) · 9 submissions

http://github.com/karolmajta http://blog.karolmajta.com https://tinyendian.com
Submissions

comment 1y ago · link · parent

It's just a short demo I recorded right after glueing this stuff together. Most people seem very unimpressed with it :) Does such tool make sense for you if you bolt some UI on top of it or run it on an RPi?

Btw, there's like 30 secs of silence at the start of video, sorry for that.

2.

Demo [video] of offline multiple language voice translation running locally(drive.google.com ↗)

1 points · by karolmajta · 1y ago · 1 comment

3.

Going With the Flow (why I love Flow, and don't hate TypeScript)(tinyendian.com ↗)

1 points · by karolmajta · 7y ago · discuss

comment 7y ago · link · parent

Nice toy, but...

If this is JSDOM based browser then how is this better then actually using JSDOM with a regular testing framework (or a BDD-like one)?

How is this better than running puppeteer with headless chrome?

> You get to choose what region you want to run your tests from.

How is this better than running headless puppeteer (or JSDOM for that matter) in an AWS lambda in selected region?

5.

How to scrape anything on the web and not get caught(tinyendian.com ↗)

184 points · by karolmajta · 8y ago · 55 comments

6.

Improve your SEO for CloudFront hosted webpages(tinyendian.com ↗)

2 points · by karolmajta · 8y ago · discuss

comment 9y ago · link · parent

xD

comment 10y ago · link · parent

Fun is the only thing that can justify this blasphemy :)

Why do this instead of:

   myvar = read_json_file_as_object('path/to/file')
??

Ok, you can argue that function would hit the hard drive many times when called from multiple modules (while imports would not), but this can be fixed with simple memoization.