HNHacker News
TopNewBestAskShowJobs

coolreader18

460 karma · joined January 22, 2019

I'm into Rust and programming languages/compilers.

I'm a core developer of RustPython (https://github.com/RustPython/RustPython).

https://github.com/coolreader18

email: coolreader18 AT gmail DOT com

[ my public key: https://keybase.io/coolreader18; my proof: https://keybase.io/coolreader18/sigs/Su2GDvjtDUUEwvoh46jH6urxEk39D7-LCSgTRN5v56s ]

submissionscomments
coolreader18··on A common mistake involving wildcards and the find command
I'm not sure why people are saying it would make executables harder to write; it could most easily be done with environment variables as opposed to modifying the signature of `int main()`. Something along the lines of: `GLOBLESS_ARGC=5` means that `GLOBLESS_ARG{0..4}` have the original arguments as supplied by the shell user.
coolreader18··on Dangerous domain corp.com goes up for sale
Name"cheap"
coolreader18··on Ask HN: What interesting problems are you working on?
Wow, that's really neat! I sometimes hesitate to save something because I think "when would I really come back to this?" But this would probably get me to save more things that I find interesting.
coolreader18··on KnightOS was an interesting operating system
Relevant: Ndless[1], a jailbreak for TI-Nspire calculators (Nspire {CX ,}{CAS,}). I've played around with the source code[2] as well as compiling Rust[3], Nim[4], and Zig[5] to target it. It's all pretty neat, there's a gba emulator for the TI-Nspire floating around somewhere as well.

[1]: https://ndless.me

[2]: https://github.com/ndless-nspire/Ndless

[3]: https://github.com/coolreader18/rsspire

[4]: https://github.com/coolreader18/Nim/tree/tinspire

[5]: https://github.com/coolreader18/zigspire

coolreader18··on Writing a Polyglot Script
You could also do `__import__("/abs/path/to/python.py")` (I think, I'm not completely sure on the rules for passing paths to `__import__`)
coolreader18··on F# Data Type Providers in .Net Core (2018)
It looks like there is/was one, but it was abandoned by its developers:

https://github.com/jet/JsonSchemaProvider

https://medium.com/jettech/json-schema-type-provider-why-we-...

coolreader18··on Make CPython segfault in 5 lines of code
Not necessarily, but I just found it interesting that it wasn't really anything all that crazy - it could in theory be possible to encounter this in a big enough code base that makes heavy use of coroutines and custom exception types.
coolreader18··on W3C recommends WebAssembly
There already is a compiler from wasm to asm.js, so I assume it wouldn't be too difficult to go from wasm to more typical js.
coolreader18··on W3C recommends WebAssembly
How is that any more readable than deobfuscated js?

    func1500(func3444(var7, var9), var7)
or more likely:

    gw(kl(s,i),s)
coolreader18··on Advent of Code 2019
Wow, what a great distraction for students to have during finals season! ;)
coolreader18··on GitHub for Mobile
v5 is supposedly coming soon; it was supposed to be ready by the end of October[0].

[0] https://github.com/k0shk0sh/FastHub/pull/2599

coolreader18··on Multiple ways to compute e in Raku
I can't connect to this page, as Firefox is automatically redirecting me to the HTTPS version of the page even though it's not supported. I guess I don't run into this that often given how common HTTPS is, but maybe someone else has this problem with this site? If you are, have you fixed it before? I've tried all of the methods mentioned on this[0] page, and I'm on Firefox 70 on Linux Mint.

[0]: https://stackoverflow.com/questions/30532471/firefox-redirec...

coolreader18··on Joint Statement on the GNU Project
Wow, so what does this imply? Is this a coup d'état or just a _request_ for Stallman to cede part of his leadership to more people?
coolreader18··on No evidence that testosterone reduces cognitive empathy
Reminds me of XKCD's Significant comic: https://xkcd.com/882/
coolreader18··on No evidence that testosterone reduces cognitive empathy
> in which case it was evidence that administering male hormones may not produce the effect of natural ones.

The goal of trans hormone therapy is to reverse the effects of the hormones of the person's biological sex, so HRT dosage of e.g. testosterone is usually more than the average cis man would produce. It's possible that that much testosterone was too much for the person you mentioned to handle, especially for his body not being used to it, or that he just got prescribed for more than he should have taken. (He could've also gotten it from the black market, in which case it would almost definitely be an incorrect dosage.)

coolreader18··on Xkcd #2185: Disappearing Sunday Update
The image is still up at imgs.xckd.com: https://imgs.xkcd.com/comics/disappearing_sunday_update.png
coolreader18··on Pineapple Day: How I Started a Global Holiday
https://thenib.com/mister-gotcha
coolreader18··on Pineapple Day: How I Started a Global Holiday
I mean, society is likely going to collapse within the next 50 years due to destroying the environment. This isn't just a feel-good, virtue-signaling issue, there are actual reasons to want to not harm the environment. Like you say, though, whatever the next bad thing is will also be bad, so it's very hard to actually make a difference.
coolreader18··on BigInt Shipping in Firefox
I think they were making a joke.
coolreader18··on Tetris clone written in Zig running on WebGL and WebAssembly
I can't tell if you're joking or not, but that's not a bug, that's just what happens in some versions of Tetris.
coolreader18··on Vim.wasm
Because it's a pure port of Vim, which is written in C.
coolreader18··on Survey: 83% of US teens have an iPhone, Android 9%
Could you elaborate?
coolreader18··on Survey: 83% of US teens have an iPhone, Android 9%
Correct, I'll make that more clear.
coolreader18··on Survey: 83% of US teens have an iPhone, Android 9%
An Android (Moto Z3), which I chose because I preferred it to an iPhone, and, more recently, because Android is slightly more open-source than iOS.
coolreader18··on Survey: 83% of US teens have an iPhone, Android 9%
> But the jailbroken phone comes with iOS and the custom Android home screen doesn't.

Right, I'm saying that it's not as much about the actual features or capabilities of the phones, but just that iPhones are cooler.

coolreader18··on Survey: 83% of US teens have an iPhone, Android 9%
See my response to chrisseaton's comment.
coolreader18··on Survey: 83% of US teens have an iPhone, Android 9%
Perhaps, but somebody in one of my classes had jailbroken his iPhone and was showing off his fancy home screen, which would have been pretty par for the course for a custom Android home screen, and everybody was oohing and ahhing at how cool it was. Really just anecdotal, but I don't think iPhones are more popular purely because they've considered both options and chosen the one they liked more.
coolreader18··on Survey: 83% of US teens have an iPhone, Android 9%
As a student at a middle to upper class high school, I can say that it's definitely not about the actual features of iOS vs Android -- it's just a status symbol. People with iPhones are considered slightly "cooler", or at the very least it's more hip to have an iPhone than an Android. Apple's walled garden contributes to its dominance as well, if all your friends are using FaceTime and iMessage, there's not much that might influence someone to pick an Android phone than economic reasons. Speaking of which, the iPhone vs Android debate among teens really boils down to a thinly veiled version of classism (in my opinion). I heard a classmate respond to a question of what kind of phone she had with, "an iPhone, but it's a 6, so it's pretty much a Droid." (I'm not sure where the 2008 terminology came from, but still.)
coolreader18··on Proquints: Identifiers That Are Readable, Spellable, and Pronounceable (2009)
I recognized Hebrew in it, especially "todah" (thank you in Hebrew).
coolreader18··on Show HN: Thoughter
Psssh, what is this, the 2000s?
← PreviousPage 4 of 5Next →