Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jimsmart
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
301.
▲
by
jimsmart
8y ago
When using Go's stdlib http.Server, there is no need to explicitly w.WriteHeader(http.StatusOK) if one simply uses the Write method on the given ResponseWriter — 200/Ok is the implicit default that is set if no status has previous
302.
▲
by
jimsmart
8y ago
Imagine it was the other way around: you forked some code documented in Mandarin. Are you able to translate your contribution into Mandarin before submitting it back? Did you know that there are more people in the world with Mandarin as a f
303.
▲
by
jimsmart
8y ago
"Hey, it looks like you're writing a CV"
304.
▲
by
jimsmart
8y ago
I'm no expert. I've no idea with regards to parens, but with quotes, this is definitely a UK/US difference. In the US, a terminating/trailing period or comma goes inside the quote, "like this." — Whereas in the
305.
▲
by
jimsmart
8y ago
I'm not the parent poster, but I suspect here 'optional tracking' is taken to imply that they should not serve a 'Sorry we have no content to serve you, because you have not opted-in to our tracking' page, but shoul
306.
▲
by
jimsmart
8y ago
I recently evaluated a bunch of different messaging systems, and found NATS to have the widest support for different client languages, plus those clients are also maintained by the same parent company. With other MQs we have used, we have f
307.
▲
by
jimsmart
8y ago
There is also already a Python-implemented-in-Go[1] and a Python-to-Go transpiler[2] — albeit both somewhat limited. [1] https://github.com/go-python/gpython [2] https://github.com/google/grumpy
308.
▲
by
jimsmart
8y ago
In addition to icholy's points, stronger typing means one traps a whole class of errors at compile/build time, as opposed to runtime.
309.
▲
by
jimsmart
8y ago
Answering the second part of your question:— Re SSL expiry: we've taken the route of running VirtualMin on our 'commodity' servers, sites setup in there have an auto-renew policy if they use SSL, so it requires no action and
310.
▲
by
jimsmart
8y ago
You might find HapticKey useful. https://github.com/niw/HapticKey
311.
▲
by
jimsmart
8y ago
According to netmarketshare[0], on desktop[1], Edge currently has 3.8% market share, more than Safari and Opera together. Combining mobile+desktop Edge has 2%. Edge cannot be ignored if one is serious about any kind of business: that's
312.
▲
by
jimsmart
8y ago
This benchmark also includes time taken to print the output, but probably shouldn't.
313.
▲
by
jimsmart
8y ago
I believe Dali did it too: sat in a chair, holding a key above a metal plate.
314.
▲
by
jimsmart
9y ago
Doesn't this scenario usually indicate that the user in question has had their account security compromised? (i.e. they've been hacked)
315.
▲
by
jimsmart
9y ago
FWIW: The website on that IP was up and running just yesterday.
316.
▲
by
jimsmart
9y ago
But that is not "closely tracking its users", that's capturing the necessary information for those transactions. It's certainly not Apple making its customers into products. Both Google and Facebook are classed as advert
317.
▲
by
jimsmart
9y ago
...and then there's admitting (on film) to using bribes and sex workers to entrap politicians, amongst other illegal shennanigans. I can totally understand why Facebook suddenly want to distance themselves from Cambridge Analytica. ht
318.
▲
by
jimsmart
9y ago
Actually, I suspect what makes Cambridge Analytica "so good" is that (big data aside) it was revealed just today: they use bribes and sex workers to entrap politicians, amongst other illegal techniques... https://www.ch
319.
▲
by
jimsmart
9y ago
Perhaps part of what's changed is that just a few weeks back Cambridge Analytica claimed — in writing, to the UK Parliament — that they did not harvest profiles from Facebook: "On 8 February 2018 Mr Matheson implied that Cambridge
320.
▲
by
jimsmart
9y ago
GDPR will most certainly reach into US businesses as well as EU businesses. Any business collecting data on EU users will be subject to the GDPR. https://www.forbes.com/sites/forbestechcouncil/2017/12/04&
321.
▲
by
jimsmart
9y ago
My understanding is that Facebook act as the 'ad broker' themselves, as opposed to selling the data on to third-party ad brokers.
322.
▲
by
jimsmart
9y ago
Facebook themselves say they don't. https://www.facebook.com/help/152637448140583?helpref=uf_per...
323.
▲
by
jimsmart
9y ago
Curiously, just weeks ago, Alexander Nix (CEO of Cambridge Analytica) stated, in a letter to UK Parliament, that they gather no such information: "On 8 February 2018 Mr Matheson implied that Cambridge Analytica "gathers data from
324.
▲
by
jimsmart
9y ago
"Applied Cryptography" by Bruce Schneier, is 'the bible', covering the motivation behind the invention of many of modern algorithms, as well as most of the maths. "The Code Book" by Simon Singh is an enjoyable
325.
▲
by
jimsmart
9y ago
It was easier before SIP, but this should work (not tested myself) https://apple.stackexchange.com/questions/135766/os-x-maveri...
326.
▲
by
jimsmart
9y ago
I was about to refer you to Schneier's Applied Cryptography — using 'crypto' in your title is misleading: you mean cryptocurrencies... but IT has used the term 'crypto' for decades already to mean cryptography.
327.
▲
by
jimsmart
9y ago
In the UK we are given the option for a one-off contribution. It's quite an oversight if they're not offering that outside of the UK. https://support.theguardian.com/uk
328.
▲
by
jimsmart
9y ago
Perhaps worth pointing out, pedantically, that really only the final two lines are the JSON handling — the first three lines here are reading/handling the input stream (HTTP).
329.
▲
by
jimsmart
9y ago
If instead of ditching Go he had posted some kind of help request to the 'gonuts' group / mailing list, I'm 100% certain that several people would've helped him with code reviews and feedback. I've seen this ha
330.
▲
by
jimsmart
9y ago
As the time-old adage goes "a bad workman blames his tools".
More ›