Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mezuzza
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
mezuzza
9y ago
I've used Arch since at least 2011 and I know exactly what you're talking about. When I first started using it, it had the stupid blue install script (pacstrap was it?). Around that time, I had to reinstall arch ~4 times for some
2.
▲
by
mezuzza
10y ago
Alternatively, add the following to your `~/.pylintrc`. Granted pylint just stops checking those particular modules, but it's better than nothing. [TYPECHECK] ignored-modules = ssl,pyodbc
3.
▲
by
mezuzza
10y ago
This point should be understood very clearly: The article isn't wrong that an ArrayList has O(n) for a single insertion. However, the article misses that amortized analysis shows that the same structure can be made to have O(n) for n i
4.
▲
by
mezuzza
10y ago
I like to think of it as a way to combine monads. Two classic examples might be the State monad and the Maybe monad. So let's say you want to create a function that operates on some state and might return a value. These are clearly bot