Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nh2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
57 ms
·
721.
▲
by
nh2
9y ago
Thanks for your effort on it. I had high hopes for Code Sponsor. It's a shame that Github is forcing Code Sponsor to shut down. I encourage you to wait until Github's time is over, and then to try again.
722.
▲
by
nh2
9y ago
IP range blocking is extremely bad practice. You'll lose customers that way. It's like rejecting email addresses that don't end with .com. There are lots of services these days that can "smartly" handle DoS attacks
723.
▲
by
nh2
9y ago
You can order 10Gbps network cards and ask Hetzner to put your servers in a rack and a 10Gbps switch between them. Pricing: https://wiki.hetzner.de/index.php/Root_Server_Hardware/en#Mi... Excerpt: > 10 Gbit Int
724.
▲
by
nh2
9y ago
A VPN can work very well. tinc [1] for example. Easy to deploy, sustains Gigabit speeds even on weak VMs. And works across different providers. [1] http://tinc-vpn.org
725.
▲
by
nh2
9y ago
Instead of doing all of that, you could also do it without docker. Simply install postgres via your Linux distro and run e.g.: /usr/lib/postgresql/9.5/bin/postgres -D .mydatadir
726.
▲
by
nh2
9y ago
> Only very recently we're starting to see sensors that rival the Kinect/Carmine in terms of overall quality. Can you make an example of such alternatives? Are they barebones sensors, or full hardware a consumer can buy?
727.
▲
by
nh2
9y ago
Here are some links that might help you to get OpenGL work with nix programs on non-NixOS machines: * https://github.com/NixOS/nixpkgs/issues/9415#issuecomment-30... * https://github.com/guibo
728.
▲
by
nh2
9y ago
In Haskell there is only one form of string literal. It looks like "this".
729.
▲
by
nh2
9y ago
Where do you get that from? There are lots of practical Haskell projects that "do things": From web frameworks over window managers to cryptocurrencies, and also many commercial projects that are all but mundane and where nobody c
730.
▲
by
nh2
9y ago
That is already very easy: https://github.com/nh2/nix-binary-cache-proxy Allows you to set up (using NixOps!) a caching proxy for the nixos binary cache in your local network. It can also serve your own custom packages
731.
▲
by
nh2
9y ago
To say what my sibling comments say, more briefly: With the nix system you can fully declaratively state your entire fleet of machines, from your highest level application configs all the way down to kernel patches. When you run nixops, you
732.
▲
by
nh2
9y ago
"Write you a Haskell": http://dev.stephendiehl.com/fun/
733.
▲
by
nh2
9y ago
UK banks seem to be the worst in the world. I studied in the UK, lots of horror stories to tell: # Name misspelled 4 times * Santander: They spelled my name wrong on the debit card, 4 times in a row, with a different misspelling each time.
734.
▲
by
nh2
9y ago
BBR is, in my opinion, one of the most significant improvements to networking in recent years. I've started using it on a couple of long-range routes (e.g. Switzerland to Ireland, Frankfurt to Singapore) with Gigabit servers on the Int
735.
▲
by
nh2
9y ago
You just saved me hours of life time
736.
▲
by
nh2
9y ago
Thanks for the insights!
737.
▲
by
nh2
9y ago
Could you have chosen other provers than Tamarin (which is 100% Haskell for people interested in that) for this job? If yes, what made you prefer it?
738.
▲
Is CloudFront down?
5 points
by
nh2
9y ago
|
2 comments
739.
▲
by
nh2
10y ago
Killing things only when you have to is objectively the safer choice when it comes to not feeling bad about yourself in the future.
740.
▲
by
nh2
10y ago
What service is running the test instance? It is so slow that I first thought the app was broken, but after 8 seconds TimeToFirstByte after clicking "Add" in the "Tasks" window, my entry finally appeared.
741.
▲
by
nh2
10y ago
Here are some numbers: AWS Internet traffic costs ~60x as much as renting bare metal servers. No change in architecture can change that fact.
742.
▲
by
nh2
10y ago
Reviewable is amazing, thanks for making that. I've used lots of review tools and worked a bit on Google's review tool and on ReviewBoard in the past, and Reviewable is better than all of them in my opinion (or at least, better th
743.
▲
by
nh2
10y ago
Until your embedded device running cron, say your pacemaker or "smart" fire alarm, chops off a part from the yearly `0 0 1 1 * very-long-command-to-stop-service; start-service`.
744.
▲
by
nh2
10y ago
This fantastic. Indeed, this is completely undocumented. Running `grep -R 1000 .` on `apt-get-source cron` turns up: ./cron-3.0pl1/cron.h:#define MAX_COMMAND 1000 /* max length of internally generated cmd */
745.
▲
by
nh2
10y ago
Quoting the answer with 1 upvote: > Experientially, there is a 999 character truncation per line on all of my Ubuntu machines, although I have not yet found any related explanatory documentation. > I've tested on Ubuntu 10.04, 12
746.
▲
Cron on Ubuntu silently truncates commands to 999 characters
(serverfault.com)
5 points
by
nh2
10y ago
|
5 comments
747.
▲
by
nh2
11y ago
Doesn't this XSS constitute a complete compromise of all Facebook user data, globally? (Assuming it had been found by a "bad guy", instead of a white-hat researcher.) Because: * He could execute arbitrary code in the browser
748.
▲
by
nh2
12y ago
The bug was reported over half a year ago, and nobody at Mozilla seems to even notice. We can complain about the NSA and OpenSSL as much as we want; if we treat security that laxly, we won't get anywhere.
749.
▲
Thunderbird XMPP wizard silently ignores “Force encryption” setting
(bugzilla.mozilla.org)
5 points
by
nh2
12y ago
|
2 comments