HNHacker News
TopNewBestAskShowJobs

manulp

46 karma · joined September 27, 2012

submissionscomments
manulp··on There are only four billion floats, so test them all (2014)
You’re looking for a collision, any of them will do, so your computation doesn’t actually need to go through all the elements. https://en.m.wikipedia.org/wiki/Birthday_attack
manulp··on MacBook Pro with faster performance and new features for pros
Using karabiner-elements, https://pqrs.org/osx/karabiner/, you can map caps to behave a esc when pressed alone, and as ctrl when pressed with another key.
manulp··on Gitea: Open source, self-hosted GitHub alternative
Gitea is a fork of Gogs.

> Are users expected to install and find out?

Some due diligence and going to the gitea website could also do the trick. https://docs.gitea.io/en-us/

manulp··on New MacBook Pro Is Not a Laptop for Developers Anymore
The bindings are done on your macbook, it works seamlessly on the clients you connect too.
manulp··on New MacBook Pro Is Not a Laptop for Developers Anymore
I know a lot of people doing that. Personally, I map caps lock to esc when pressed, and ctrl when pressed with another key. The best of both worlds.
manulp··on Pebble 2, Time 2 + All-New Pebble Core
That's almost 50% of the price of the watch with shipping, it's crazy. I'll change the shipping address to a friend in the US I guess.
manulp··on Vim-vertical: Get around 2-dimensionally in vim
It's not really the same though, gj and gk move the cursor by displayed lines instead of real lines.

Op's plugin is like transposing the buffer like a matrix, and then using normal word motions on the line that was a column.

manulp··on EU Formally Accuses Google of Antitrust Violations
Absolutely. I'm just a bit surprised that such charges have never been brought against Apple.
manulp··on EU Formally Accuses Google of Antitrust Violations
>The investigation will attempt to determine whether Google is using its position to discourage the inclusion of rival applications on Android-based phones.

Shouldn't this also apply to iOS?

manulp··on U.S. judges propose updating warrants for Tor, remote searches: p338 (2014)
If my understanding is correct, it is a bit more complicated.

The magistrate with authority in a district may only issue a warrant for a remote search if:

  * The crime investigated occurred at least partially in the district.
  * The device location was hidden by any mean (vpn, tor, etc.).
This doesn't say anything about obtaining warrants automatically if someone is using VPN or Tor.
manulp··on Couple Live Map
Maxmind offers free databases to do IP localization : http://dev.maxmind.com/geoip/legacy/downloadable/

It's not extremely precise, but is enough for applications like this. Notice for instance the point up north in Canada, a lot of IPs will be placed there. It's in the middle of Manitoba, and there's pretty much nothing there. I believe it's the geographical center of Canada, and the default value when no other coordinates are known.

manulp··on Ask HN: CS Degree, felony conviction, need not apply?
Some of the companies you named explicitly exclude marijuana related offenses from the thing you have to declare, if they are small and old offenses, basically anything related to personal use more than 2 years ago. This seems to apply to you.

That being said, be honest and ask your recruiter if it's a problem, it's better to be upfront than to get screwed because of a background check.

manulp··on Insecurities in the Linux /dev/random
This sequence is trivially distinguishable from something uniform.
manulp··on Web Framework Benchmarks Round 4
I might not be qualified for the task, but I'll try to come up with something.
manulp··on Web Framework Benchmarks Round 4
Any chance of seing the python frameworks behind uwsgi instead of gunicorn?
manulp··on Ask HN: Are There Any *Active* tutorials for VIM?
Open vim in your terminal, and type :!vimtutor
manulp··on Show HN: Mashing up Facebook, Pinterest and Amazon for Christmas
I really love it, already found a new gift for someone!