Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ArchieMaclean
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
ArchieMaclean
5y ago
> In weakly typed languages like TypeScript I guess you mean JavaScript? In regards to speed, I really really recommend Vim. Macros are sorely missing in a lot of editors, and they are really a great way to skip a huge amount of repetiti
32.
▲
UK Home Secretary considering removing right to anonymity on social media
(independent.co.uk)
91 points
by
ArchieMaclean
5y ago
|
124 comments
33.
▲
by
ArchieMaclean
5y ago
It's because the paper they are referencing is testing the use of immunosuppressive therapy to treat myocarditis. The conclusion that was reached was that it doesn't work. Needless to say, that's not how myocarditis is treate
34.
▲
by
ArchieMaclean
5y ago
The source it gives for the mortality of myocarditis is a paper titled "A clinical trial of immunosuppressive therapy for myocarditis" I.e. they were testing a possible treatment. The conclusion was "Our results do not suppor
35.
▲
by
ArchieMaclean
5y ago
OK, thanks. I don't know any Lisps very well but I may have to change that :)
36.
▲
by
ArchieMaclean
5y ago
Is there going to be a theme?
37.
▲
by
ArchieMaclean
5y ago
That's a good point. I'm not sure about murders going down with united activists - it seems the people targeted are generally the ones organising activists into groups, so if there were more they might be of greater focus. It'
38.
▲
by
ArchieMaclean
5y ago
Of course I'm not "okay with corporate murder". I just wanted to see some context as to why the rate was increasing.
39.
▲
by
ArchieMaclean
5y ago
While you won't be able to get a hard number of people, you could get a general number/trend (e.g. by counting the increase of people to rallies)
40.
▲
by
ArchieMaclean
5y ago
Ah, that makes a lot of sense.
41.
▲
by
ArchieMaclean
5y ago
Of course we should be doing all we can to prevent murder! It is just always hard to tell with statistics and having a more honest statistic (that, say, shows that murder rates have doubled while number of activists have increased 30%) woul
42.
▲
by
ArchieMaclean
5y ago
How does this compare to the growth in the number of environmental activists overall? Edit: it was pointed out below that it's probably more influenced by an increase in environmentally damaging activities such as logging. Edit 2: Yes,
43.
▲
Wheel Reinvention Jam
(handmade.network)
1 points
by
ArchieMaclean
5y ago
|
0 comments
44.
▲
Asynchronous Programming in Nim
(peterme.net)
7 points
by
ArchieMaclean
5y ago
|
2 comments
45.
▲
by
ArchieMaclean
5y ago
I think the hard part with this is that because CSS properties are so context-dependent, the compiler would have to somehow figure out a way to translate your simple property into the correct one, without knowing how your HTML is structured
46.
▲
by
ArchieMaclean
5y ago
On mobile, if I put the cursor on any word and press any key (even backspace), the word gets repeated at the current cursor position. Something to do with touch events not being handled properly maybe?
47.
▲
Learn the workings of Git, not just the commands (2015)
(developer.ibm.com)
2 points
by
ArchieMaclean
5y ago
|
0 comments
48.
▲
by
ArchieMaclean
5y ago
Based on my understanding from the article... Iterators change over space, Futures change over time. In iterator, every time you call 'next' you get a value until the end when you get nothing. In Future, every time you call '
49.
▲
by
ArchieMaclean
5y ago
Julia has a fair amount in common with Lisp, especially with macros. You can use metaprogramming to edit the AST of a Julia program, like Lisp. See https://docs.julialang.org/en/v1/manual/metaprogramming/
50.
▲
by
ArchieMaclean
6y ago
My favourite example of this is Sibelius. The 'Quit Sibelius' button is precisely where you'd expect to find the 'Next' button. This video shows it at 6:33 https://m.youtube.com/watch?v=dKx1wnXClcI&a
51.
▲
by
ArchieMaclean
6y ago
See also nanochess https://nanochess.org/chess4.html
52.
▲
by
ArchieMaclean
6y ago
> Search is not a great solution either, since it is rarely used As a Vim user, I use search all the time , largely because it's so easy (just / and start typing). I don't have much experience with large code bases, but t
53.
▲
by
ArchieMaclean
6y ago
Idris has 'holes', where you tell the compiler that you haven't written this part yet, and it will compile while ignoring the hole. They're really useful for rapid prototyping, and also for helping you develop, as you ca
54.
▲
by
ArchieMaclean
6y ago
They may be wondering if the BIOS is FOSS. E.g. LibreBoot https://libreboot.org/ > Non-free BIOS/UEFI firmware often contains backdoors, can be slow and have severe bugs. Development and support can be abandoned at
55.
▲
America's Can't-Do Spirit
(axios.com)
2 points
by
ArchieMaclean
6y ago
|
0 comments
56.
▲
by
ArchieMaclean
6y ago
- Oil industry denying climate change [0] [1] [0] https://www.theguardian.com/business/2016/apr/13/climate-cha... [1] original source of Guardian article: https://www.smokeandfumes.org/do
57.
▲
by
ArchieMaclean
6y ago
JITs work based on assumptions that types/values will stay constant. So, here it probably assumes that it will always be working with integers. So it will be much more efficient in cases like this as it is pretty much pure, simple comp
58.
▲
by
ArchieMaclean
6y ago
Can you give an example of where doing this is useful?
59.
▲
by
ArchieMaclean
6y ago
The GNU Humour [0] collection may be of interest. Also Dylan Beattie has done some great songs on YouTube [1] (I especially like 'Bug in the JavaScript' and 'You Give REST a Bad Name') Here's a couple I remember fro
60.
▲
by
ArchieMaclean
6y ago
Programmer: I'm going out for a walk. Programmer's partner: While you're out, could you buy some milk? And the programmer never returned.
More ›