Grue3

Joined 13 years ago

Karma
4,020
Submissions
2,127
Member since
Mar 13
Smug Lisp Weenie

Current project: http://ichi.moe (Japanese to English translation tool)

View on Hacker News

Recent submissions

Comment · 4 years ago
Comment · 4 years ago
So you agree that Cloudflare should be criminally liable for hosting extremist content? (yes, providing CDN service counts as hosting, as the content is stored on Cloudflare's servers)
Comment · 4 years ago
So, Cloudflare is basically saying they would host Daily Stormer, 8chan etc. from this point on. I bet this policy will go over like a lead brick in media coverage.
Comment · 4 years ago
When was a platform for doxing and harassment a tenet of liberalism? "Your liberty to swing your fist ends just where my nose begins".
Comment · 6 years ago
The fact that you can overwrite built-in functions is not a point in favor of the language. Imagine you do this in a library and everyone using print() in their project would use a modified print instead. You could've just modified sys.stdout instead.
Comment · 6 years ago

    for v in data_values: print v
Is exactly the same length but much more readable.
Comment · 6 years ago
This. It's hilarious how the parser knows what you're trying to do when using print statement in ipython and such, but still raises an Exception instead of printing the damn thing. Am I in the REPL to work on something, or to be frustrated by the ridiculous syntax? Just DWIM, Jesus Christ.
Comment · 6 years ago
For Python work I use a pretty much out-of-the-box Emacs, with "magit" being the only plugin of note installed. And I also used "web-mode" when I was doing webdev. magit is the best Git interface ever, and a built-in Emacs feature called TRAMP allows for remote editing. I'm running ipython in a separate terminal. I don't really understand why you'd need something more than a text editor to edit Python code.

Now for Common Lisp I use SLIME, which I guess does count as IDE, seeing as it's much more powerful than most IDEs.

Comment · 6 years ago
Comment · 6 years ago
If voting doesn't matter, why do authoritarian governments try so damn hard to suppress it? Riddle me this.
Comment · 6 years ago
Comment · 6 years ago
The funny thing is, if you type print with space it recognizes what you meant, and still wouldn't do it, raising an exception instead. It would've cost them literally nothing to support both ways to write print, since the parser has to detect statement print anyway.
Comment · 6 years ago
>This works because regular dicts have guaranteed ordering since Python 3.7

But the API is different! OrderedDict has more methods that have to do with order, and `reverse` works on its `.keys()` and `.values()`. Or did they fix this in 3.8?

Comment · 6 years ago
>And what does Apple get in return?

Not being complicit in genocide isn't enough reward by itself?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton