HNHacker News
TopNewBestAskShowJobs

pablovidal85

63 karma · joined November 19, 2013

Subscribe
submissionscomments
pablovidal85··on Screenshots from developers: 2002 vs. 2015
I use spectacle for simple arrangements (most of the time full screen or half screen) and tmux with preconfigured workspaces for all the rest.
pablovidal85··on Show HN: Swifty – Learn to code in Swift
Git on the floor!
pablovidal85··on Show HN: FoxType – Using NLP to help you write more politely
Hilarious, after some iterations I got: Would you know if I might wonder if I may know what the heck you are looking at?
pablovidal85··on Inside the Creation of the Microsoft Surface Book
So, why wasn't a mechanical hook used instead? It seems to me they overengineered that part a bit.
pablovidal85··on Distributed Ledgers Part I: Bitcoin is dead
Not every protocol change is controversial enough to prevent the majority from upgrading.
pablovidal85··on “Two days ago the police came to me and wanted me to stop working on this”
Nothing really has just one purpose. I admit that the person who built the weapon may have done so with the idea of killing in mind, but nobody can stop me using the gun to crack a nut or scare animals using a blank cartridge. Ultimately is a person (or a machine built as an extension of somebody's will) who points to something and pulls the trigger.
pablovidal85··on “Two days ago the police came to me and wanted me to stop working on this”
Guns alone don't kill people (at least if they're not programmed to do so automatically), but as humans sometimes act irrationally, one could say if the population had less guns then there will be less deaths by gun shot.
pablovidal85··on Weigh in on Retro Thinkpad
http://simpsons.wikia.com/wiki/The_Homer
pablovidal85··on Metal Captcha
It's 2015, bots use headless browsers.
pablovidal85··on Fantastic library to easily get to nested properties of objects in JavaScript

  Object.prototype.get = function(k, d){
    return k.split(".").reduce(function(a, b){
      return a ? b in a && a[b] || d : a 
    }, this)
  };

  // ({}).get('a.b.c', null) === null
  // ({a:{b:{c:2}}}).get('a.b.c') === 2
pablovidal85··on Ask HN:
Relational databases like MySQL or PostgreSQL.
pablovidal85··on How we turned JSON into a full programming language
Understood, I stand corrected. Anyway, I would have used some kind of non-turing complete stack language.
pablovidal85··on To Apple, Love Taylor
Still, she could join in once a desired number of users finished their trial period and started paying.
pablovidal85··on To Apple, Love Taylor
What stops her from joining after the 3 month trial period?
pablovidal85··on How we turned JSON into a full programming language
So your language is not turing complete?
pablovidal85··on How we turned JSON into a full programming language
So security through obscurity, well done.
pablovidal85··on How we turned JSON into a full programming language
https://en.wikipedia.org/wiki/Greenspun's_tenth_rule
pablovidal85··on How we turned JSON into a full programming language
I wonder why they didn't use plain JSON arrays and a lisp interpreter, so much structure seems unnecessary.

https://gist.github.com/aynik/5ffca6ba09ea08b92f71

pablovidal85··on Get rid of boolean function parameters
Ugh, what about avoiding flags entirely? I think "slightly" different behaviour is a smell of god-functions. Why not split the functionality in two, perhaps composable, functions?
pablovidal85··on A Bitcoin miner in every hand
I think they will, is just that their devices will not be sold for making profit, but for messaging and authentication.
pablovidal85··on A Bitcoin miner in every hand
Exercise bikes that mine bitcoin. Hey Tesla, who needs batteries if you can store energy as monetary value.
pablovidal85··on SWEATSHOP – I can´t take any more
We are the puppet people, put it on our TV, it's true. Sorry but the people that really care about these problems are anywhere but crying on TV.
pablovidal85··on Streem – a new programming language from Matz
slightly shorter javascript:

  for (var i=0; i++<100;) console.log((!(i%3)&&'Fizz'||'')+(!(i%5)&&'Buzz'||'')||i);
pablovidal85··on Streem – a new programming language from Matz
This inspired me to build a similar tool which runs javascript instead.

https://github.com/aynik/sx

pablovidal85··on Show HN: Murder
what about using `pkill -KILL -f meteor` instead?
pablovidal85··on A command line interface for 1Password
Looks less useful than http://www.passwordstore.org/. Also, try renaming README.txt to README.md.
pablovidal85··on Awesome Node.js: Curated list of delightful Node.js packages
38 items are self-authored modules, not really a lot of effort.
pablovidal85··on Taming the Asynchronous Beast with CSP in JavaScript
I translated the pingpong example to use events instead of CSP. https://gist.github.com/aynik/94c9f3d01139986d2b91
pablovidal85··on BeWifi lets you steal your neighbor’s bandwidth when they’re not using it
Now I understand why Telefónica forced me to have WEP 128 that was automatically generated from the SSID. After I asked them to set up my own password (the router was password protected) they suggested I tell them what password I wanted over the phone. I switched ISP two weeks ago.
pablovidal85··on Stop Writing JavaScript Compilers, Make Macros Instead
He could just have said "I did this previously and...".
← PreviousPage 2 of 3Next →