Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
maweki
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
59 ms
·
541.
▲
by
maweki
10y ago
The state of a generator is always a problem that trips me up the most when I try to do FP-Python. In general a function shouldn't care whether the input was a list, set or generator. While iterating over it (or yielding from it), we a
542.
▲
by
maweki
10y ago
"using relations" or a particular data structure wasn't at all the point of this particular discussion. The point was that, for a simple directed graph, the edges represent a binary relationship. While for a weighted directed
543.
▲
by
maweki
10y ago
Do you mean the conclusion that it was in hindsight regarded as a good step forward? You do know that we, the GNOME application developers, spend a lot of time supporting both MATE and unity to give people the best experience no matter whic
544.
▲
by
maweki
10y ago
What do you mean? I find it a pleasure to work with the Designers. Even though they are paid by RedHat, as a volunteer contributor I feel I have good discussions with them and am happy to implement proposals. They follow up and seem genuine
545.
▲
by
maweki
10y ago
As a German, I was thoroughly confused by that.
546.
▲
by
maweki
10y ago
You only ever have to move every element once to get a (pre-known) permutation that represents the sorted list. The problem is the information in a permutation (n! possible orderings) and one can only ever "throw away" half of the
547.
▲
by
maweki
10y ago
I have some PRs hanging around that are just translation fixes. How the heck can a maintainer not merge some translation fixes? For years... About every quarter I write something like "is there something wrong with this PR?" "
548.
▲
by
maweki
10y ago
I am working with computer science students and I see Lamport's point. Even for simpler programming exercises the students start coding away, writing dozens of nested function calls with different global and local states, when a simple
549.
▲
by
maweki
10y ago
That makes it doubly funny since the real reason is that the parser couldn't handle the other case. Even a blind php dev...
550.
▲
by
maweki
10y ago
Pico-8 seems limited by design (as a programming language / virtual machine) while the other examples are limited by hardware. This brings the pico-8 experience "on par" with programming games like tis-100 or shenzen IO
551.
▲
by
maweki
10y ago
I had problems with my C.H.I.P.s not booting fully when the power was not sufficient. They are very iffy that way. Also the WiFi is not great. The larger PIs, on the other hand, will boot from a potato battery but will corrupt your SD-card
552.
▲
by
maweki
10y ago
Probably the latest attempt on the SpaceX-project by time-travelers. We will see many more of those in the future, disguised as accidents. What secrets is the future trying to protect?
553.
▲
by
maweki
10y ago
Lens is really cool but sadly it depends on ghci being available which immediately breaks ARM compatibility. :(
554.
▲
by
maweki
10y ago
pip install --user and you have a local installation leaving everything untouched. As you have a local npm/cabal/gem package store.
555.
▲
by
maweki
10y ago
The one feature that breaks it for me for professional work is that filters happen to a layer instead of being attached to them an are able to be changed on a whim. It's impossible to do any real work if you have to render and re-rende
556.
▲
by
maweki
10y ago
"and along the way they swipe the fMRI community for their “lamentable archiving and data-sharing practices” that prevent most of the discipline's body of work being re-analysed." That's quite funny. My girlfriend recent
557.
▲
by
maweki
10y ago
Please don't do that. Provide a requirements-file with the appropriate dependencies and their versions to use with `pip install -r `
558.
▲
by
maweki
10y ago
The problem with Sage, while it's an amazing piece of software, that it is abysmally documented. As is maxima. Sure, there's an example on how to do integration and anything on a high-school level but every time I wanted to do som
559.
▲
by
maweki
11y ago
I can no longer log in into skype for linux. Using the same username/password on Android works fine. No use in the Linux client.
560.
▲
by
maweki
11y ago
Isn't Haskell internally using a variant of the SKI combinator calculus to represent that all functions are data? This would mean less reduction for an already reduced program.
561.
▲
by
maweki
11y ago
Whether the actual admin costs outweighed the admin fees is debatable. Otherwise, as you said, it was strictly a cash-flow problem and not one of general financial mismanagement. I think this issue should have been spotted by the board of d
562.
▲
by
maweki
11y ago
This shows that get __getattr__-code is executed even on lookup. If your __getattr__ or your property-getter have side-effects, then even the lookup will trigger them. Then even a bare statement like foo.bar can have side-effects in the foo
563.
▲
by
maweki
11y ago
Localhost is obviously not a fully qualified domain name which would be expected in any internet setting.
564.
▲
by
maweki
11y ago
The unanswered question is, whether this always works with any metric that works with Dijkstra. And the answer, I guess, is no. Dijkstra works with negative edge weights (although no negative loops). This doesn't translate to string. A
565.
▲
by
maweki
11y ago
Well, you can always transform a true hamiltonian cycle to two cycles of a subgraph if you have a any A->B, C->D in the cycle where also A->D, B->C is in the graph. That's any 4 clique which isn't that hard, considerin
566.
▲
by
maweki
11y ago
by copying all the python features :D
567.
▲
by
maweki
11y ago
Even here, in a O'Reilly(!) textbook from 2015(!), we get python2.7 advice. No, since python 3 you (sensibly) can't "True, False = False, True" since True and False are now keywords and can not occur as a name in any cas
568.
▲
by
maweki
11y ago
but for node we expect everyone to install/build from source an not use the supplied packages because they are ancient, in comparison. Which distribution doesn't ship python3.3?
569.
▲
by
maweki
11y ago
Well, you've read my implication-arrow the wrong way. Since I don't believe that NP=co-NP (in any case), I can't believe that P=NP because Co-P=P. So if the collapse would happen (what the OP mentioned as a possibility), one
570.
▲
by
maweki
11y ago
This would mean that NP=Co-NP and that there is a polynomial certificate for every Co-NP problem. That is what breaks P=NP for me and I just can't wrap my head around how that would be possible.
More ›