Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rnhmjoj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
50 ms
·
571.
▲
by
rnhmjoj
11y ago
In python 3 range() does not build a list but produce a range object. Testing x in range(a,b) will actually call the __contains__ method of the object which is O(1). The only overhead here may be the object creation. See this http:/&#
572.
▲
by
rnhmjoj
11y ago
But it surely can attemp cross-site scripting, send phishing and spam messages, broken requests and look for exploits. Also TOR is generally so slow I don't think there is even the possibility of generating enough traffic for a DOS.
573.
▲
by
rnhmjoj
11y ago
You could slow down the responses or rate limit the requests, with no need to completely block automatic logins.
574.
▲
by
rnhmjoj
11y ago
Why is everyone obsessed with knowing whether the user is a bot or an actual person? What differences does it make? A bot it's not inherently malicious, there are thousand of legitimate use cases: a bot may be downloading content as pa
575.
▲
by
rnhmjoj
11y ago
Yeah, like GHC supporting only up to 62-tuple. Very limiting.
576.
▲
by
rnhmjoj
11y ago
Read Ian Murdock's last tweets.
577.
▲
by
rnhmjoj
11y ago
If you use encryption you don't need to.
578.
▲
by
rnhmjoj
11y ago
What if someone is listening to your traffic and injects a script which sends generated passwords to a server? http only is a bad idea in this case.
579.
▲
Git outta here, GitHub
(blog.mmn-o.se)
5 points
by
rnhmjoj
11y ago
|
0 comments
580.
▲
by
rnhmjoj
11y ago
Are prices so high in order to prevent private use or are they really that expensive? What keeps anyone from building their own?
581.
▲
by
rnhmjoj
11y ago
Does this affect mosh?
582.
▲
Why is the latest AMD hardware unsupported in libreboot?
(libreboot.org)
85 points
by
rnhmjoj
11y ago
|
60 comments
583.
▲
by
rnhmjoj
11y ago
I wonder, do proofs of this kind, where some process is repeated forever to prove the thesis, have an infinite length? Could this be made into a finite number of steps in some formal system? Using a rule of induction maybe?
584.
▲
by
rnhmjoj
11y ago
I'm ok with downvote for stories but it seems the system works pretty good without it: good posts get somehow noticed in "new" and appear in the "top", the inappropriate ones are ignored or flagged. As for comments
585.
▲
by
rnhmjoj
11y ago
I use H3G on a tablet: every time I reconnect (after the connection drops, when I reboot or switch from wifi to cellular network) the first http request is somehow redirected to a shitty H3G website full of ads. This is not only annoying bu
586.
▲
by
rnhmjoj
11y ago
Ahaha, there's this one which goes even further: only uses "[]()!+" https://github.com/aemkei/jsfuck
587.
▲
by
rnhmjoj
11y ago
Posts created in the weekend usually have a better probability of getting popular: http://www.dkriesel.com/en/blog/2015/1025_a_data-driven_guid...
588.
▲
by
rnhmjoj
11y ago
I have never used stack: I went from cabal-install hell straight to NixOS. My current approach is: write the usual .cabal file, run cabal2nix --shell . > default.nix then build and install the package (with `nix-build` or `nix-env
589.
▲
by
rnhmjoj
11y ago
I realized this as well the first time I logged in the account of the bot I develop and maintain: it's quite creepy. I'm open to changes but I absolutely need a system with a desktop client and an API or something to interface it
590.
▲
Conformal map visualizer
(davidbau.com)
5 points
by
rnhmjoj
11y ago
|
0 comments
591.
▲
by
rnhmjoj
11y ago
This is basically the core idea of ipfs: https://ipfs.io/
592.
▲
by
rnhmjoj
11y ago
I agree: I recently moved my scripts from crontab to systemd timers and there is no going back. Finally I have a proper way to debug and log. Also on NixOS I can have the unit file and timer generated in very few lines. Look at this one for
593.
▲
by
rnhmjoj
11y ago
The page is also reloading every couple of seconds for me. I guess it has to do with some cookie being blocked.
594.
▲
Dex UI: futuristic interface built with openFrameworks
(nnkd.org)
69 points
by
rnhmjoj
11y ago
|
16 comments
595.
▲
by
rnhmjoj
11y ago
Unfortunately only with iTerm2 it seems able to play animated gif.
596.
▲
by
rnhmjoj
11y ago
It's great but I had to watch it like 5 times to fully understand it.
597.
▲
by
rnhmjoj
11y ago
I completely agree: it's awful to do even simple things in a shell script. A shell should just be used as a shell: an interface for a human to the system in a terminal. The syntax for if-else, switch, loops, conditions is insane. I wil
598.
▲
by
rnhmjoj
11y ago
Hacker news managed to kill even keybase.io.
599.
▲
by
rnhmjoj
11y ago
I have been looking for something like this library or Sympy for Haskell but couldn't find anything. Do you know one?
600.
▲
by
rnhmjoj
11y ago
I apologize in advance but I couldn't not bring this up: it's too hilarious. About a year ago there was a bug in the elm compiler that occasionally caused the types in a type mismatch error message to be swapped. For example the c
More ›