Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
herge
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
121.
▲
by
herge
11y ago
There's nothing in the U.S. constitution about airplanes either, and yet the FAA still exists. However, the U.S. constitution does talk at length about both congress who can write laws (like the laws banning hard drugs), and the judici
122.
▲
by
herge
11y ago
It's a pity that rake is not included in the table at the bottom. One huge advantage of rake is the ability to easily debug what is happening. A quick `p [filename, task]` lets you know what is happening. Even, if needed, you can quick
123.
▲
by
herge
11y ago
What does patent law have to do with Mickey Mouse?
124.
▲
by
herge
11y ago
We use django migrations, and I still haven't found a way to do zero downtime deploys and migrations short of doing the following: If we are trying to deploy migration #1, first deploy a version B of the code that supports (but provide
125.
▲
by
herge
11y ago
Apparently it's a great place if you're a stripper!
126.
▲
by
herge
11y ago
If you click on the wikipedia links, you can quickly see that Saint-Pierre-et-Miquelon is ~5 degrees south of both Fermont and Dunkirk. Even Paris is north of Saint-Pierre-et-Miquelon.
127.
▲
by
herge
11y ago
The northernmost french community (of appreciable size) in the world is the remote mining town of Fermont ( https://en.wikipedia.org/wiki/Fermont ), in Quebec near the border with Labrador. It has ~3000 inhabitants, and
128.
▲
by
herge
11y ago
That might be the better argument. Sure, you might be skipping out on the handful of $'s that that small Taiwanese market might bring you, but would they have bought your published book anyway? However, when Hollywood needs to film rig
129.
▲
by
herge
11y ago
57$ million of profit with just 150 employees too! I'll take 380k per head any day.
130.
▲
by
herge
11y ago
Apple also makes most of it's money by selling phones, not user information...
131.
▲
by
herge
11y ago
== in python will stop comparing after the first character mismatch. You can use that fact to test byte by byte your password knowing that the more good characters you have, the longer the comparison will take, which is called a timing atta
132.
▲
by
herge
11y ago
Hey dang, if this post doesn't get flagged already, perhaps change the link to the original Telegraph article ( http://www.telegraph.co.uk/finance/property/news/12155466/On... ) instead of the vice ne
133.
▲
by
herge
11y ago
> The western roman empire quite likely degraded in part due to its leadership being brain damaged by lead FWIW, modern historians don't believe that. See https://www.reddit.com/r/AskHistorians/comments
134.
▲
by
herge
11y ago
Does the Google Authenticator app count as Two Factor Authentication? Does TOTP count as OTP?
135.
▲
by
herge
11y ago
Five years ago was 2010. Other than Let's Encrypt, AFAIK, there hasn't been exactly leaps and bounds in terms of making https easier, at least for self-managed servers. It's still buy a certificate and set it up in nginx/
136.
▲
by
herge
11y ago
There are too many security holes and corner cases to serve any authenticated page over http. It's better to have your login page be served over https, but if you use authentication cookies, any MITM can easily pick them up from the
137.
▲
by
herge
11y ago
One reason may be to make it easier to raise money. Most VCs know the ins and outs of corporate law (and corporate law precedents!) in Delaware, making signing a contract there a lot easier, as opposed to learning the specificities of Spani
138.
▲
by
herge
11y ago
I suspect the 3 month certs is to make sure you have to authenticate your domain 4 times a year with Let's Encrypt to make sure that you can't hold a valid SSL key for the domain for more than a few months after you transfer it. A
139.
▲
Security Issues and Volunteers
(benjamin.pe)
2 points
by
herge
11y ago
|
0 comments
140.
▲
by
herge
11y ago
It's not the yaml part per se, which is easy to write, it's their weird mini-language they've encoded in yaml, with different vars coming from different places in different conditions. Have to say that things are a lot better
141.
▲
by
herge
11y ago
Man, I am really happy that playbook parsing and error reporting has been improved. Almost all the frustrations I have had with ansible haven't been from individual modules, but from the mini-language in playbooks defining what modules
142.
▲
by
herge
11y ago
> Quebec's largest mistake was, of course, Bill 101. No, no, Quebec's largest mistake was accepting confederation. If we'd just joined up with the Americans instead, and batter down all laws protecting our culture and lagu
143.
▲
by
herge
11y ago
Your shim layer would have to make assumptions on the encoding of your strings, which can lead to nasty bugs. And also handle reading from files correctly, or list file names from the os, or anything that communicates outside of the python
144.
▲
by
herge
11y ago
The syntax changes introduced in python 3 are easy to fix, and most of them are backwards compatible with python 2.7. The whole string/byte dichotomy, however, is a major change that I don't think any shim layer could handle corre
145.
▲
by
herge
11y ago
On the other end of the stick, an interviewer really should avoid really tricky code interviews/tests. I find reading a candidate's code is more useful to evaluate their ability to write clear code, to open up conversations about
146.
▲
by
herge
11y ago
When I was a young single man, I had an effective way to track my personal finances. At the start of the month, I'd calculate how much money I had left over after fixed expenses (rent, internet, etc) and whatever savings I wanted for t
147.
▲
by
herge
11y ago
Related to the last 2%, I'm always shocked whenever a waiter balks at splitting up a check when multiple people are paying. I always think "Really, you are going to annoy me right before I decide how much tip I will give you?"
148.
▲
by
herge
11y ago
On that topic, if it's raising an exception in the middle of testing the hash, could this permit a timing attack?
149.
▲
by
herge
11y ago
The main strength of JSON is that it directly maps to simple data structures that are first class citizens in many programming languages like Ruby, Python, JavaScript, Golang, etc. XML is a bit more complicated, and often need dedicated lib
150.
▲
by
herge
11y ago
REST is a series of principals used to structure APIs. Think about if you had a lot more lights on your Raspberry PI. A simple way would be having a call lighting up a specific light. But then the client must track state, in terme of rember
More ›