Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
elyobo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
151.
▲
by
elyobo
7y ago
I didn't realise that the recommendation had gone back the other way again; any good resources discussing current recommendations and the whys? We have a fair bit of legacy stuff hanging around, all nginx+php, none of which appear to b
152.
▲
by
elyobo
7y ago
> Would the reset request not have come to an email account, presumably a well-protected one? Not in this case (and not in many); verifying access to a phone number is also common and apparently was an option for this bank.
153.
▲
by
elyobo
7y ago
Strangely it turns out that rebinding variables is a really uncommon need, so there's pretty much zero game playing.
154.
▲
by
elyobo
7y ago
Understood. Yes, it will probably get there eventually.
155.
▲
by
elyobo
7y ago
Crypto seems like it's (at the moment) neither low cost nor low friction; did I misunderstand you?
156.
▲
by
elyobo
7y ago
Massive. Wifi only goes on when it's needed for something.
157.
▲
by
elyobo
7y ago
I sort of agree; I solve this by never using let and never rebinding :) No need to think about it at all.
158.
▲
by
elyobo
7y ago
Why have you stopped using a linter? The popular airbnb eslint rules[1] require the use of const where a variable is not reassigned, which I've occasionally found handy. [1] https://github.com/airbnb/javascript#ref
159.
▲
by
elyobo
7y ago
Neither of those rebind the `const x`, which will continue to hold the value it was given.
160.
▲
by
elyobo
7y ago
> There are bugs caused by mutatable state. > There has never been a bug caused by reassigning a function local variable while leaving it mutable. The latter _is_ mutable state. const doesn't prevent all mutations, but it does p
161.
▲
by
elyobo
7y ago
I don't think I'd call any of those reasons good; the main thrust of them is "const doesn't do everything, so don't let it do anything". If that line of reasoning is appealing, then one might as well continue
162.
▲
by
elyobo
7y ago
Correct. Example doesn't show modification of the variables later, better to use const.
163.
▲
by
elyobo
7y ago
Mine all tend to look like (async () => { // code })().catch(console.error)
164.
▲
by
elyobo
7y ago
What's with the `let` though?
165.
▲
by
elyobo
7y ago
Really? It seems like one of the most insane parts of the Australian voting system. Forcing people that don't know enough to vote under their own motivation doesn't suddenly impart them knowledge or wisdom, it just introduces a
166.
▲
by
elyobo
7y ago
The mind might be largely collocated with the brain, but I did specifically say mind :D Where the device goes is irrelevant to my concern; what it might be reading, and what I'd trust them to do with it, is not. To be fair this concer
167.
▲
by
elyobo
7y ago
Forgot the * - by winning an electorate seat, you end up getting at least that seat, and any seats in parliament proportionate to your party vote, even if you would otherwise have been cut by the 5% threshold.
168.
▲
by
elyobo
7y ago
The referendum does seem to have been seriously flawed though; it didn't ask "should we become a republic", but "should we become a republic in this specific way" and many that were fine with the republic were not f
169.
▲
by
elyobo
7y ago
I don't really see any value in that. We can all agree that the sun rises in the East as well, but so what? That said, while providing little benefit, the monarchy also causes little harm and there are more important things to be done
170.
▲
by
elyobo
7y ago
Fair enough, that was very recent. Perhaps a vote between a more representative system than AV vs FPTP would have been different but it does seem too early to bring it up again.
171.
▲
by
elyobo
7y ago
That argument would apply equally well to discarding FPTP and retaining a monarch (or a dictator) at the top. A strong leader is definitely stable, so if that's the key metric an FPTP system is still not a winner. PR certainly increas
172.
▲
by
elyobo
7y ago
> I think we can all agree the referendum was not “I want to leave the EU in the most chaotic and economically dangerous way possible, preferably with no plan for what to do next” > In fact it was. It was a simple vote between leaving
173.
▲
by
elyobo
7y ago
The system over there does seem to be terribly unrepresentative; NZ managed to switch away from a FPTP system a bit over 20 years ago, which was a huge improvement (and vastly better than the Aussie system I'm currently living in - whi
174.
▲
by
elyobo
7y ago
Letting something owned by Facebook anywhere near my mind is the last thing I'd want to do.
175.
▲
by
elyobo
7y ago
I have a similar concern with my daughter; I have a Kindle and have had for years, have more or less ceased reading physical books, and do most of my reading before sleeping - so while I read daily, my daughter sees very little of it and al
176.
▲
by
elyobo
7y ago
I find that writing _something_ can help me to get a feel for a problem. Start, then sitting back and thinking about it, helps me to move towards a better solution faster. Of course, I don't always do the stopping and thinking part...
177.
▲
by
elyobo
7y ago
> we're basically computer lawyers I like this. I mean, as a description, not so much as a fact, but it is what it is :D
178.
▲
by
elyobo
7y ago
30 minutes from the centre of Melbourne doesn't get you all very far by public transport (or by car most of the time either). It's pretty sprawling.
179.
▲
by
elyobo
7y ago
I have very limited Thai, but one cross language pun that was always amusing is that the word commonly used for a bad smell sounds like "men" - เหม็น (Google translates it as "foul", but I've only heard it used spec
180.
▲
by
elyobo
7y ago
As someone that lives in Australia but comes from a similar country with optional voting (NZ), Australia's mandatory voting regime seems very much like choosing a government by chance - if voters don't know enough to vote without
More ›