HN user

jasonmoo

1,317 karma

http://jasonmooberry.com

[ my public key: https://keybase.io/jasonmoo; my proof: https://keybase.io/jasonmoo/sigs/Phj2a8wO-vJpU4t70VW5hALBBQLfVeffLTpTBchD0ws ]

Posts54
Comments71
View on HN
sumato.ai 3mo ago

Spath and Splan

jasonmoo
15pts0
sumato.ai 3mo ago

What is AX?

jasonmoo
2pts0
medium.com 7y ago

A Primer on Trustworthy Secure Bootloading Exemplified on a RISCV System

jasonmoo
3pts0
blog.usebutton.com 9y ago

Demystifying Async Programming in JavaScript

jasonmoo
59pts12
vilkeliskis.com 9y ago

Three Techniques for Catching Memory Leaks in Python and How to Write Smart Code

jasonmoo
1pts0
vilkeliskis.com 9y ago

Creating Distributed Locks with DynamoDB

jasonmoo
2pts0
news.ycombinator.com 9y ago

Ask HN: Who is using Google Cloud Platform in production?

jasonmoo
4pts2
github.com 10y ago

Sq – a simple, powerful scraping library for go

jasonmoo
2pts0
highscalability.com 10y ago

High Scalability – 403 Forbidden

jasonmoo
2pts0
github.com 10y ago

Go-butteraugli – a psychovisual image similarity libarary in pure go

jasonmoo
1pts0
atlasofemotions.com 10y ago

Atlas of Emotions – A Product of Talks Between the Dalai Lama and Paul Ekman

jasonmoo
1pts0
github.com 10y ago

Show HN: Smlr – re-encode jpegs using butteraugli visual quality measurement

jasonmoo
53pts5
gist.github.com 10y ago

Unrolling an obfuscated wordpress hack

jasonmoo
2pts0
github.com 10y ago

Funsafe – experimental package for bypassing package export rules in go

jasonmoo
1pts0
archive.org 10y ago

Shmoocon 2016: Writing a userland loader in Go

jasonmoo
1pts0
spiritjs.io 10y ago

Spirit.js – easily animate objects on the web

jasonmoo
46pts16
dabblet.com 10y ago

CSS State Transition

jasonmoo
2pts0
medium.com 10y ago

Go and AWS Lambda

jasonmoo
1pts0
github.com 10y ago

WaGo – Automate the actions you do after saving code

jasonmoo
1pts0
github.com 10y ago

Cryp – simple command line encryption

jasonmoo
2pts0
github.com 10y ago

Running Go as a companion process in AWS lambda

jasonmoo
26pts2
github.com 11y ago

Giant Collection of Programming Links

jasonmoo
4pts0
github.com 11y ago

Ghostmates – a go lib for the Postmates API, with Donation service example

jasonmoo
12pts0
hacks.mozilla.org 11y ago

Distributed On-the-Fly Image Processing and Open Source at Vimeo

jasonmoo
7pts0
github.com 11y ago

grate – a rate limiter in 50 lines of Go

jasonmoo
3pts0
blog.prevoty.com 12y ago

Golang libs released by Prevoty

jasonmoo
11pts2
jasonmooberry.com 12y ago

Fun with antlr, undertow, and D3.js for musics

jasonmoo
1pts0
news.ycombinator.com 12y ago

Ask HN: What's your favorite project management tool?

jasonmoo
1pts0
github.com 12y ago

Cardinal - a simple way to measure the cardinality of a stream

jasonmoo
1pts0
github.com 12y ago

Dk - ephemeral trend tracking in go

jasonmoo
3pts0

Plug alert: I am working with a company that's building a full representation of the Sanctum system using custom extensions of RISC-V (https://eprint.iacr.org/2015/564.pdf). There are critical features like root of trust key and entropy generation, and cache isolation that are missing from the vanilla RISC-V keystone approach. It offers a measure of security worth having but we're taking it all the way. We're working with MIT prof Srini Devadas. You can read more about it here if you're interested: https://medium.com/gradient-tech/announcing-gradient-crypto-...

Also we're hiring! https://www.gradient-tech.co/jobs

It's interesting I think having an understanding of the history of javascript concurrency is almost a prerequisite to using it correctly. I wonder how new people approaching the language for the first time find it.

Who has empathy for the empathic? At some level we all project our own issues and past experiences onto our picture of empathy. Meaning just because you can imagine how you would feel in a situation, doesn't mean that your subject feels the same. Empathy should season the dish of human interaction, not be the main course. Thanks for reading this.

Vimeo – NY, NY (Chelsea)

Check out all our jobs: www.vimeo.com/jobs

    * PHP Engineers (full-stack & backend)
    * Sr iOS Engineer
    * Site Reliability Engineer
    * MySQL DBA
    * Statistician
    * Web Analyst Manager
    * Digital Project Manager
Stuff we use: PHP, Python, MySQL, Mongo, Redis, AWS, Solr, Hadoop, nginx, node, Vertica. And pretty much any mobile platform.

Feel free to email our Tech Recruiter, tyler at vimeo dot com.

Vimeo – NY, NY (Chelsea)

Check out all our jobs: www.vimeo.com/jobs

PHP Engineers (full-stack & backend)

iOS Engineer

DevOps Engineer

Data Operations Engineer

Marketing Web Designer

Stuff we use: PHP, Python, MySQL, Mongo, Redis, AWS, Solr, Hadoop, nginx, node, Vertica. And pretty much any mobile platform.

Posting for the author of Bifocals:

It's definitely not the easiest library to explain.

This does not explicitly use threads, but it will take advantage of any asynchronous systems you want to use.

http://bifocalsjs.com/#why-do-i-need-this-library is a more concrete example that might shed some light on the issue.

This allows you to run two database queries in parallel, and render immediately when the longest of the two queries is complete.

Most standard template systems have one large pool of data they provide to a template. You have to locate this data before you render a template, even if it is used by a partial.

Most partial systems simply combine two templates into a bigger template, that takes this large pool of data.

What bifocals does is give each partial it's own, isolated pool of data and render them separately and asynchronously from each other. This allows you to delay each partials rendering until it is ready, without waiting for the other partials to be ready.

Each function that creates Bifocals objects then can be isolated from the rest, with one sole responsibility. Render this template.

Your object might have parent objects, it might have children. Your function doesn't care, it just pumps data into a Bifocals object and marks it as ready. Bifocals then tracks your whole hierarchy, and sends it to the user when every last section is ready.

Posting for the author of Bifocals:

I'm not very familiar with express, but I just looked at the template system to see what I can do.

I don't think you would get a ton of benefit out of this library with express as is.

An express website would get the most benefit out of this library if they had a system so that the route your http server picked could also manually call routes which would add additional content to the page.

For example, something like the following would allow bifocals to work its magic.

    app.get(/^\/user\/(\d+)$/, function (req, res) {
        res.render('user.html', {user: req.params[0]});
    });

    app.get(/^\/home$/, function(req, res){
        app.perform_request('/user/1234', res.child('content',  'user_widget.html');
        res.render('home.html');
    });
If I accessed /user/1234 in my browser, I would see a user's profile page. If I accessed /home in my browser, I would see the home page and a user widget containing user 1234's data.

Both times you see a user, they have executed the same route function, but you can change the templates and inject them into other templates asynchronously. You can do this unlimited times within one route, and to an unlimited depth (depending on your system resources of course)

Bifocals also offers some of it's own features, multiple rendering systems, http header+status code handling, and more.

Go is a young language with a growing community that should only get better as more minds come to it.

For me it's very accessible for rapidly developing heavy-lifting tools, in particular networking tools. It's not the only language but it's served me well when I've reached for it.