Better HN
topnewbestaskshowjobs
Log inSign up

assaflavie

498 karma · joined Jun 9, 2009 (17y ago) · 44 submissions

[ my public key: https://keybase.io/lavie; my proof: https://keybase.io/lavie/sigs/wEWE0d8S4mIdUvgRvHSHqvDbhsbhC57SdfuZnvaAMcc ]
Submissions

comment 4y ago · link · parent

SMTP is just a bad protocol and it needs to go away. Unworkable.

comment 5y ago · link · parent

Yea, that's exactly what it's for.

3.

Playback-studio: record and replay the input to any Python function(github.com ↗)

14 points · by assaflavie · 5y ago · 6 comments

comment 6y ago · link · parent

Distributed programming is a means to an end, not a goal. If you had a computer with infinite cpu and ram and it could never crash and be geographically close to every customer, you would just use that and build your system on it as a dreaded “monolith”. Much simpler to grok such systems. Much easier to debug and monitor.

That’s what temporal enables.

5.

How much overhead Swagger (npm) adds to your Node.js server(blog.binaris.com ↗)

1 points · by assaflavie · 9y ago · discuss

comment 9y ago · link · parent

fwiw, there's a new syntax for this, that is a bit more verbose, but probably worth adopting:

docker container rm $(docker container ls -qa)

docker image rm $(docker image ls -q)

comment 9y ago · link · parent

Oops. Thanks for bringing this to my attention. Fixing...

8.

What's new in Docker 1.13: prune, secrets, checkpoints and more(cloudshare.com ↗)

82 points · by assaflavie · 9y ago · 60 comments

comment 10y ago · link · parent

Does this solve the state-sharing difficulties of the python solution?

comment 10y ago · link · parent

This is so addictive...

comment 10y ago · link · parent

No demo video?

comment 11y ago · link · parent

Say index funds become illegal, just for the sake of argument. Aren't they replaceable by an algorithm - trading software that balances a portfolio that copies an index per investor? It's less efficient, of course, but it's essentially the same thing. You get millions of tiny, cross-sector owners instead of few big index funds. So in that sense the argument in favor of banning index funds is really pointless. They're just one implementation of a strategy that investors could follow on their own, just less efficiently. Essentially, banning them is just a way of enriching brokers because of the expected rise in transaction fees.

comment 11y ago · link · parent

Should be tagged NSFW.

comment 12y ago · link · parent

Have you looked at docker as a replacement for creating all those AMIs? You could have one AMI (with Docker) installed, and then use Ansible to pull whichever container (app) you want onto each instance. Using docker also has the added advantage of letting you test your images in the development environment (and it's much faster than vagrant-up for every service you want running locally for dev/test).

comment 12y ago · link · parent

I'm sorry but "predictable results in communication" is not the criterion for being meaningful. If you fart in a courtroom, you get very predictable results, too. The phrase isn't 'real' just because some people use it. People use "God" quite a lot, and that doesn't make it a meaningful concept.

(why do I feel I just unleashed an unholy flame war from hell with that last analogy?)

comment 12y ago · link · parent

This sounds very Wittgensteinian. In terms of his philosophy of language, what we have here is a "metaphor gone wild". You take "intellectual" and "property", you put them together as a metaphorical phrase that on the face of it seems meaningful and semantically sound, and people start believe that there's actually such a thing; that it's not made up word-lego.

It takes careful awareness to language to be able to point this out, as Stallman does. Just because there's a word for it, doesn't make it meaningful.

comment 12y ago · link · parent

I actually find the scroll motion to be very easy to perform using my index finger. However, I do agree there are issues to consider when it comes to usability. You definitely want to prevent unintended gestures and clicks/taps. So for one thing, the back touch doesn't necessarily have to be "on" all the time. It may be a mode that you enter under certain circumstances. And perhaps more advanced gesturing algorithms are needed to filter out intended from undintended gestures - maybe giving more weight to the size of the touch area, so that you palm resting on the back doesn't register as an event.

I don't pretend to have the answers to all these issues, but something tells me that smartphones can do much better than the current state of the art when it comes to game controls, to pointing at precise location, etc. And it goes without saying that this won't work with the existing mobile OSs as-is.

18.

Dual-touch smartphone design concept(blog.assaflavie.com ↗)

217 points · by assaflavie · 12y ago · 57 comments

19.

Dual-touch smartphone design concept(blog.assaflavie.com ↗)

4 points · by assaflavie · 12y ago · discuss

20.

Self-hack: enjoying doing the dishes(blog.assaflavie.com ↗)

5 points · by assaflavie · 12y ago · discuss

comment 12y ago · link · parent

Very true. I got a rough POC of this, implemented using the technique in this answer: http://stackoverflow.com/a/22816419/11208

(just with divs instead of images)

It's very brittle though. It relies on knowing the line-height, calculating the line in which the highlighted word sits, accounting for the existence of vertical scroll-bars... not trivial.

comment 12y ago · link · parent

Thank you! Just tried it. I'm in love. :)

comment 12y ago · link · parent

About popups/tooltips/hovercards: I considered this approach, but decided to go with this sort of "inline" expansion for the following reasons:

1. A popup obscures the original text. This interferes with context, albeit admittedly to a much lesser degree than full-blown navigation, but still.

2. Multi-level popup hierarchies just don't look good, in my opinion.

3. You must dismiss a popup to continue, whereas with inline expansion you can just as well keep the expansion and continue reading.

4. The hover approach doesn't work as well for touch-devices (i.e. without a mouse).

24.

I wish I could read Wikipedia like this(blog.assaflavie.com ↗)

234 points · by assaflavie · 12y ago · 61 comments

comment 12y ago · link · parent

How to make people like you: 6 science-based sexual reproduction hacks

comment 13y ago · link · parent

Why???

comment 13y ago · link · parent

What this then? http://www.tyresum.co.uk/images/graph.png :)

28.

Permanent Google Hangouts for Distributed Dev. Teams(blog.gigantt.com ↗)

1 points · by assaflavie · 13y ago · discuss

29.

Anatomy of a Scrum Sprint (video + recipe for getting started with Scrum)(blog.gigantt.com ↗)

1 points · by assaflavie · 13y ago · discuss

12