Python’s Preprocessor
pydong.org
pydong.org
>>> from __future__ import braces
File "<stdin>", line 1
SyntaxError: not a chance
For those interested in how this (hilarious) error text came to be, it's been hardcoded in cpython since 2001!https://github.com/python/cpython/commit/ad3d3f2f3f19833f59f...
The author, Jeremy Hylton, is now a Principal Engineer at Google working on AI search quality. It's quite remarkable that in 24 years, a single person's career has gone from a tongue-in-cheek memorialization of certain syntax being forbidden, to working on ubiquitous query systems that don't require dedicated syntax at all!
Is this real?
> error: internal compiler error: It looks like you're trying to break rust; would you like some ICE?
> --> src/main.rs:2:5
> |
> 2 | break rust;
> | ^^^^^^^^^^
> |
> = note: the compiler expectedly panicked. this is a feature.
> = note: we would appreciate a joke overview: https://github.com/rust-lang/rust/issues/43162#issuecomment-...
Lovely, and the word game is just great.
``` import Data.Function
main = do let it = fix error print it ```
import Data.Function
main = do
let it = fix error
print ithttps://marc.info/?l=python-dev&m=130991276326041&w=2
In 2024 suddenly everyone is grown up and corporate and has never done anything wrong.
Trying to be considerate of others, even when they are different from ourselves, is indeed kind and good and does come with maturity. You needn't be corporate or have never done wrong to be considerate.
It's a misconception that the informal playful hobby hacking things are their separate world from real professional development.
The other part wants nothing to do with reasonable adults anyhow. Such fun could be had.
1.痛みは避けがたいが、苦しみはオプショナル
Now, I don’t know how representative this book is of Murakami’s novelistic style, but I wonder: Is this low-maintenance, attention-deficit prose part of Murakami’s attraction, especially among the young? Do people enjoy reading him for the same reason they persist in listening to music as blandly familiar as Clapton’s? If Martin Amis is engaged in a “war against cliché” a phrase in danger of becoming a cliché itself then Murakami, on the evidence of this book, is a serial appeaser. How much does his thigh hurt? “Like crazy.” How do we know the weather is nice? Because as he tells us (twice) there’s “not a cloud in the sky.”
self-styled zero-percenter and book reviewer in the above
2.^_^?(Norwegian Wood)
(Roughly, “growth is pain, nongrowth is unfortunate”)
If it hadn't been for Clapton, I probably never would've heard of Laylā bint Mahdī bin Saʿd bin Muzahim bin ʿAds bin Rabīʿah bin Jaʿdah bin Ka'b bin Rabīʿah bin Hawāzin bin Mansūr bin ʿAkramah bin Khaṣfah bin Qays ʿAylān bin Muḍar bin Nizār bin Maʿad bin ʿAdnan.
https://en.wikipedia.org/wiki/Layla_and_Majnun
Lagniappe: https://www.youtube.com/watch?v=EZ8magpNo10&t=93s
As for Clapton, something tells me that wouldnt make a good snowclone :)
For Clapton snowclones, I enjoyed a comment on https://www.youtube.com/watch?v=u7jV7IkHdqk :
> Eryczek wrote this when he was secretly in love with Patrycja; at that time Patrycja was the girlfriend of the famous Jurek Harrison!
(if you have time, while we're here there's a great yin/yang thing going on between https://www.youtube.com/watch?v=ImOYx9j0kIA , a soft Dio interpretation, and https://www.youtube.com/watch?v=zo3pfnldlD0 , a hard Andersson, Fältskog, Lyngstad, and Ulvaeus interpretation)
https://arxiv.org/pdf/cs/0204037
(the description in the abstract of the structure function sounds suspiciously like a galois connection)
is now 10 years’ in the making..
If you manage to access Hutter, let me know if I already know your public key ;)
Right now I'm going down the rabbit hole of expander graphs (aha, these also have a spectral gap?), but soon I shall have some bandwidth for coarse-graining coffee automata.
(I doubt you have my public key, but I fear that were you to take the inference closure of our convos and some gumshoe work, you could easily have 33 bits worth of identity)
Lagniappe: https://blogs.ethz.ch/kowalski/zazie-au-pot-de-these/ (I hope Zazie's ultimate commentary has not given her uncle a complex)
Tonton = pork (osaka slang)
So, an algebraic exercise for me, a geometric one for you, and a quantum for both?
Do I understand correctly that if we were to attempt to explain Kolmogorov Sophistication to Aristotle, we would say "the sophistication of `x` is the smallest essence over all proper[0] descriptions of x by, first[1] its essence, and then[2] its specific accidents"?
Intuitively, this would make sense, because as glass bead game players we are drawn to (beads whose cane was also formed from)* beads. As Körner would say, the height of distinction for a mathematician is to have, not an eponymous theorem, but an eponymous lemma.
[0] I don't understand what constitutes a proper description here yet, but am currently assuming it has to do with lying on a subsumption frontier, otherwise the trivial model would always be minimal.
[1] I think this has to be noncommutative, for otherwise we'd waste description bits on labelling the accidents? Compare canonical Huffman. (.a Lojban)
[2] see also Linnaeus
[1] yes
[2] Linnaeus?
(compare the "biped, featherless — with broad nails")
Lagniappe: Grund(Bläbst), Feuer am Limes (1987)
Das große Graph war viel zu weit,
für unsre Schnitte zu wenig Zeit.
Versuchen wir es wieder,
solang' man Spektren noch rechnen kann.Just observing that cultural boundaries might be interesting, even if the interiors might not be[0]
Should we close the Rao-Gelman thread then, or are you still working on it?
[0] no time or battery to source out a citation, there was an american (californian?) accusation that the helvetics are only capable of inventing cuckoo clocks
Edit: https://skeptics.stackexchange.com/questions/2587/did-the-sw...
Edit edit: you have to admit M. Kowalski was abit trigger-happy in casting aspersions on Mr Quid? Otoh a flatlander might be blunt but also in their own way circumspect?
For flatlanders, after reading https://blogs.ethz.ch/kowalski/2015/04/11/worms-brains-and-g... I now worry that procrustean restriction to planarity could be detrimental to their neural networks.
(the 1D graphs, aka the total orders, have no expanders, but on the flip side, that's probably why prime ideals and ultrafilters are so effective?)
EDIT: On Silver's River, a few footnotes on Ez.47:
47:10 In a groysn taykh khapt men groyse fish.
47:22 anticipating Ruth/רוּת?
I used the ast rewriting stuff mostly before dicts were all ordered - replacing fist literals with an ordered dict call, which was actually useful.
I love how flexible python is. Most cursed thing I ever did was mutating strings in place, which led me eventually abusing mmap as well to write scripts that mutated themselves. Now I feel need to write lisp interpreter as a producer.
They’re immutable. Were you directly writing to the memory location with ctypes or something?
You can write code like
# coding: pyxl
print <html><body>Hello World!</body></html>Now, I'm left to wonder if this could have been used to better handle the Python 2-to-3 transition, e.g '# coding: six.python2' would adjust Python2 code to be valid Python3, or '# coding: six.python3' would adjust Python3 code to run under Python2 - e.g adding/removing the b"..." or u"..." prefixes!
Some more nasty changes: various built ins like .keys() and .values() return lists in py2 but iterators in py3. Code gets very verbose if you use the six utilities or other workarounds to translate code safely - most times those are called they are used once, but every once in a while they are used twice.
Imo if you have such a tool that can rewrite at import time you should just commit the transformed code, and clean it up incrementally. The hard parts are the behavior changes that can cross long distances like the str v bytes behaving so different than py2 Unicode v str
Otherwise, ..have fun with that :). Probably easier to rewrite any library rather than fight such dragons (because if someone put this in, what other traps await? Seems almost guaranteed.)
The only concern is how brittle it might be vs. future Python releases.
except when it comes to downloading, installing, or running anything Python related. maybe by 2124 we can give users a python app and let them run it without 20 steps. (oh who am i kidding, by then we'll rewrite everything in whatever comes after Rust)
Big lol
10 years ago this was just a joke, but today, now that we're finally agile enough so that any disorganized jumble of completely unreviewed and unversioned notebooks might suddenly become a production pipeline? Why let a little thing like critical errors halt the execution of that perfect nightmare you've been working on! The only problem is that the database still won't let you shove a string into an integer slot, but data-science is looking forward to switching over to spreadsheets completely as soon as we can migrate the data from redshift.
After taking a peek at it I decided to rename it to groups2 instead :)
I had a partner that was a translation coordinator and they would play me this VM from one of the Vietnamese translators, every time he called he would say, “Hi this Phuc, ha ha that is funny to you, anyway …”
* I'm glad that we are not ants. Deciding everything "as a community" would be hell