Better HN
topnewbestaskshowjobs
Log inSign up

manulp

46 karma · joined Sep 27, 2012 (14y ago) · 17 submissions

Submissions

comment 6y ago · link · parent

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

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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/

comment 10y ago · link · parent

The bindings are done on your macbook, it works seamlessly on the clients you connect too.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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.

comment 11y ago · link · parent

Absolutely. I'm just a bit surprised that such charges have never been brought against Apple.

comment 11y ago · link · parent

>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?

comment 11y ago · link · parent

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.

comment 12y ago · link · parent

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.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

This sequence is trivially distinguishable from something uniform.

comment 13y ago · link · parent

I might not be qualified for the task, but I'll try to come up with something.

comment 13y ago · link · parent

Any chance of seing the python frameworks behind uwsgi instead of gunicorn?

comment 13y ago · link · parent

Open vim in your terminal, and type :!vimtutor

comment 13y ago · link · parent

I really love it, already found a new gift for someone!