News for hackers. Stuff that matters.

assaflavie

Re:Spam blacklisting is out of control on Sunday February 06, 2022 @12:30AM (#30229772)
SMTP is just a bad protocol and it needs to go away. Unworkable.
Yea, that's exactly what it's for.
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.

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)

Oops. Thanks for bringing this to my attention. Fixing...
Re:Replacing Celery with Elixir in a Python Project on Sunday June 12, 2016 @05:37AM (#11887392)
Does this solve the state-sharing difficulties of the python solution?
Re:Traffic Simulation on Saturday June 11, 2016 @02:02AM (#11882297)
This is so addictive...
Re:Show HN: GPU accelerated video stabilisation on iOS on Friday April 22, 2016 @02:22AM (#11547385)
No demo video?
Re:Index Funds May Work a Little Too Well on Friday August 07, 2015 @02:01AM (#10021106)
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.
Re:Tesla unveils new car-charging robo-snake on Friday August 07, 2015 @01:14AM (#10021014)
Should be tagged NSFW.
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).
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?)

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.

Re:Dual-touch smartphone design concept on Saturday May 17, 2014 @12:26PM (#7760559)
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.

Re:I wish I could read Wikipedia like this on Thursday April 17, 2014 @06:55AM (#7602859)
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.

Re:I wish I could read Wikipedia like this on Thursday April 17, 2014 @05:18AM (#7602648)
Thank you! Just tried it. I'm in love. :)
Re:I wish I could read Wikipedia like this on Thursday April 17, 2014 @04:03AM (#7602467)
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).

Re:How to make people like you on Sunday December 15, 2013 @02:07AM (#6908652)
How to make people like you: 6 science-based sexual reproduction hacks
Re:Adobe Revel on Sunday July 14, 2013 @03:31AM (#6040241)
Why???
Re:Unbreakable Cryptography in 5 Minutes on Tuesday February 12, 2013 @03:10AM (#5205753)
This is still susceptible to timing attacks, for example. http://codahale.com/a-lesson-in-timing-attacks/

Older »