Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dpwm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
331.
▲
by
dpwm
8y ago
The UK government is democratic on paper, sure. But in reality, does anyone know who their MP is? [0] Five year terms? [1] Total lack of responsiveness [2] lack of real democratic accountability [3] Sure, it looks democratic, but in reality
332.
▲
by
dpwm
8y ago
In 2006, the Data Retention Directive got passed. [0] In July 2006 a legal challenge started. By 2014 the directive was ruled incompatible with the EU charter of fundamental rights. It took a while, but that's due to having to go throu
333.
▲
by
dpwm
8y ago
> the European Parliament is democratic only in name It was representatives (MEPs) today that chose to vote in favour of this directive. They could have voted differently and rejected the proposal outright. Can you elaborate on how this
334.
▲
by
dpwm
8y ago
I initially hated the separate operators for floats and integers. I've since grown to like it, because the only times I've been caught out by it is when I've made a mistake or I've forgotten I was working with floats. Do
335.
▲
by
dpwm
8y ago
Names are also a way to discriminate on ethnicity, although they're less reliable: names can be changed. Discrimination occurs in all manner of ways. In many countries, more casual labour the screening is done by a face-to-face intervi
336.
▲
by
dpwm
8y ago
Worth noting there was a HN discussion on it from 5 months ago. [0] I got the impression that ludde (the author of TunSafe) seems to think that people should trust him because he wrote uTorrent and he is, for reasons not specified, opposed
337.
▲
by
dpwm
8y ago
In practice DKMS works well and is automated in many distros. You just notice updates take a bit longer as the WireGuard kernel module is built. I believe you can use wireguard-go on android, which doesn't require a kernel module.
338.
▲
by
dpwm
8y ago
WireGuard is simpler to configure than OpenVPN and there's much less to tweak. A real-world config file can be under 10 lines for the client and under (10 + 5 * n_clients) lines for a server. Private and public keys are short base-64 e
339.
▲
by
dpwm
8y ago
> If I recall correctly the birds are a network, where each one would monitor the ones closest to them and react based on that? This is how Craig Reynolds' Boids model works. [0] However, I recall from word of mouth that if you fact
340.
▲
by
dpwm
8y ago
> Stafford beer has developed a model for this, the viable system model. It's worth noting that Stafford Beer dedicated a lot of his life to fixing very broken hierarchies which at their core tended to two extremes: management manag
341.
▲
by
dpwm
8y ago
> I wish they could have chosen a 3-letter word for const in keeping with var and let. "set" or "fix" would be quite nice, given what const actually does.
342.
▲
by
dpwm
8y ago
In Haskell, yes, zip and unzip are defined in Prelude. Python has zip(xs) and zip(*xs) as inverses of each other. In OCaml we have List.combine and List.split that do the same sort of thing as Haskell's zip and unzip. I haven't a
343.
▲
by
dpwm
8y ago
> I didn't link the code to say "hey look this code is bad", my intent was just to illustrate that functions inside functions indeed do happen, and unzip is also used, etc. I appreciate that. Perhaps I was a little harsh o
344.
▲
by
dpwm
8y ago
You can always do something like: type optional_bytes = (Bytes.t * Bytes.t) let get i (data, mask) = match mask.[i] with | '\x00' -> None | _ -> Some data.[i] If you need immutability and you're no
345.
▲
by
dpwm
8y ago
The code you link to is pretty bad and I really cannot understand why. [1] OCaml does the currying for you. Why would this ever need to be done? [2] I have never even thought of putting a let statement in a list before let alone seen one in
346.
▲
by
dpwm
8y ago
There's an interesting thing with the semicolon. I've heard people advocating thinking of the semicolon as a binary operator: (;) : unit -> unit -> unit Of course, the reality is more complicated than this, because it can be
347.
▲
by
dpwm
8y ago
Seems more like it's the police finding the "criminal" first and only then looking for the crime.
348.
▲
by
dpwm
8y ago
I feel similarly, but history suggests that if it's a terrible idea then the UK government will be very keen on passing domestic legislation that is similar but more extreme.
349.
▲
by
dpwm
8y ago
I posted this article because I was absolutely shocked by the level of mental gymnastics or gross ignorance that could motivate even a propagandist to come up with such a one-sided, factually anaemic and fundamentally misleading article on
350.
▲
'We're righting a wrong,' say the artists taking on YouTube
(theguardian.com)
1 points
by
dpwm
8y ago
|
1 comments
351.
▲
by
dpwm
8y ago
Unfortunately this doesn't seem to be a consideration to manufacturers. Even if they are meant to work offline, this is going to be the least-tested path. IIRC there have been cases with certain internet-enabled thermostats failing to
352.
▲
by
dpwm
8y ago
Pytorch does something similar, except with an underscore at the end of the name. As the arguments are tensors, it's a really handy convention and the API communicates whether a method or function modifies an argument. I don't bel
353.
▲
by
dpwm
8y ago
Experts cost money. One side can pay for experts, the other can't. In this case it's the newspapers and publishers. Other times it will be the copyright lobby. It's reminds me of well-funded think-tanks providing experts with
354.
▲
by
dpwm
8y ago
It's a UK thing -- everything has to not work in the most ridiculous way possible. This also applies to anti-money-laundering stuff: it's better to affect loads of people really badly who are most certainly not money laundering as
355.
▲
by
dpwm
8y ago
TIS-100 by Zachtronics is a game based around a very small instruction set assembly language on an interesting architecture. Shenzhen I/O is also meant to be good, but I haven't played it. Neither are even close in complexity or s
356.
▲
by
dpwm
8y ago
Does this mean that if a US citizen goes on holiday to a country in the European Union, that they are a data subject in the European Union?
357.
▲
by
dpwm
8y ago
> In what sense is it even wrong? In that it is not hereditary leprosy that causes the differences between whites and non-whites but natural genetic variations. There is no "white" skin underneath. There is no cure, nor should
358.
▲
by
dpwm
8y ago
Setting aside the centuries of oppression, the experimentation and the complete dehumanization of people based on their ethnicity that still goes on to this day, I find Rush's hypothesis and the thinking that led to it interesting. If
359.
▲
by
dpwm
8y ago
> Polish isn't even a race, Polish people are white! Polish is an ethnicity. Discrimination against somebody because of their ethnicity is racial discrimination at least according to the UN definition. > most people in the UK are
360.
▲
by
dpwm
8y ago
> They're impossible to disentangle. Well, it's made easier when you get people naming names of who the sovereignty is being ceded to. It's one thing to say "loss of sovereignty" and another to then go on to talk
More ›