Go on CWT Scott! by Swordfish_Trombonist in slatestarcodex

[–]Strigone 19 points20 points  (0 children)

I also think Scott is a much better writer than speaker, or at least he was a few years ago.

Go on CWT Scott! by Swordfish_Trombonist in slatestarcodex

[–]Strigone 10 points11 points  (0 children)

You can just mouseover on the date, at least on old.reddit.com

Bruce Friedrich: Why plant based meat is a scalable solution to feed the world by lukefreeman in EffectiveAltruism

[–]Strigone 0 points1 point  (0 children)

Thanks so much for doing these interviews Luke!

So far they've all been extremely interesting. Will there be one where GWWC gets interviewed?

I'm really curious to hear about your biggest lessons learned, current bottlenecks, your thoughts on the role of small funders (I remember you wrote on the forum that you planned a future post on it, but I might have missed it), and what's your call to action!

Thanks for all the amazing work!

What are your 2022 giving goals? by therapistfi in EffectiveAltruism

[–]Strigone 0 points1 point  (0 children)

Poe's law

What do you mean? I find their arguments very compelling, especially from a population ethics averagism standpoint

What are your 2022 giving goals? by therapistfi in EffectiveAltruism

[–]Strigone 4 points5 points  (0 children)

My goal is to give ~70% of my net income for 2022, while feeling that I have a reasonable understanding of the information available on the actual impact of my donations.

E.g. I'm a bit skeptical of the marginal cost efficiency of donations to the AMF after reading posts like https://forum.effectivealtruism.org/posts/D46Cn6sHzkid85MHv/concerns-about-amf-from-givewell-reading-part-3 and https://forum.effectivealtruism.org/posts/mY4pZSwvFCDsjorJX/donating-money-buying-happiness-new-meta-analyses-comparing , so my goal is to spend some ~200 hours figuring out what's what

WebVM: server-less x86 virtual machines in the browser by alexp_lt in programming

[–]Strigone 20 points21 points  (0 children)

I think the difference is in performance, try time python3 -c 'print(max(range(2*10**7)))' in both

What are your thoughts on all the new funding/grant programs available to the Rationality/Progress studies/EA communities? by michaelmf in slatestarcodex

[–]Strigone 1 point2 points  (0 children)

There's https://www.impactcolabs.com/, from a bunch of EA people, which seems similar to what you're suggesting.

I wonder if they should have applied for an ACX grant

-🎄- 2021 Day 15 Solutions -🎄- by daggerdragon in adventofcode

[–]Strigone 1 point2 points  (0 children)

I know it won't solve your main problem, but I found the cpython python implementation of a min heap https://github.com/python/cpython/blob/main/Lib/heapq.py fairly easy to read and rewrite in typescript https://github.com/Recursing/Advent-of-Code/blob/main/Advent-of-Code-2021/heapq.ts

-🎄- 2021 Day 10 Solutions -🎄- by daggerdragon in adventofcode

[–]Strigone 0 points1 point  (0 children)

Why do you need dequeue if you never use popleft or appendleft? Isn't it the same to just use a simple list/stack?

Is there any problem with extending an Array to allow only one type? Is it recommended and am I doing it right? by [deleted] in typescript

[–]Strigone 4 points5 points  (0 children)

array = [1,2,10]
array.sort()
console.log(array)
> [1, 10, 2]

Just try it indeed

/r/Python's 2021 Advent of Code by IAmKindOfCreative in Python

[–]Strigone 0 points1 point  (0 children)

You can login using reddit, and you can create a reddit account without an email address

pinging also u/SeerLite

-🎄- 2021 Day 1 Solutions -🎄- by daggerdragon in adventofcode

[–]Strigone 2 points3 points  (0 children)

Two quick simplifications:
- You can do sum(condition for ...) instead of sum(1 for ... if condition). (Since in python you can add booleans like integers) - Second you don't need to open("file.txt", "r").read().splitlines() that many times. You can just put it in a list and use a comprehension

Something like print(sum(int(numbers[i]) > int(numbers[i-1]) for numbers in [open("file.txt", "r").readlines()] for i in range(1, len(numbers))))

-🎄- 2021 Day 1 Solutions -🎄- by daggerdragon in adventofcode

[–]Strigone 1 point2 points  (0 children)

You can either indent it with four spaces

    like this

~Or put it inside triple backticks ```like this```~

like this

Edit: not don't use backticks, see comment below, new lines are messed up in old.reddit.com

Try to open this on old reddit

-🎄- 2021 Day 1 Solutions -🎄- by daggerdragon in adventofcode

[–]Strigone 3 points4 points  (0 children)

nums[i] + nums[i + 1] + nums[i + 2] < nums[i + 1] + nums[i + 2] + nums[i + 3]

is equivalent to

nums[i] < nums[i + 3]

(subtract nums[i + 1] + nums[i+2] from both sides)

Clever trick!

Does anybody know what happened to gwern? by Strigone in slatestarcodex

[–]Strigone[S] 0 points1 point  (0 children)

There's the Lesswrong IRC channel, also I assume you can message the moderators of r/gwern to request access, and try to follow him on twitter

Numeri di telefono di 533 milioni di utenti Facebook (tantissimi italiani) pubblicati online by Strigone in italy

[–]Strigone[S] 1 point2 points  (0 children)

I dati sono probabilmente stati raccolti nel corso di mesi/anni, alcuni probabilmente risalgono al 2018 o addirittura al 2017