Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ambivalence
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
ambivalence
7mo ago
What the other person is trying to explain to you is that your Yubikey solution fails the following scenario: you leave your laptop at school. With TouchID, nobody can unlock it. With a Yubikey in the USB-C port, anyone could unlock it. Tha
2.
▲
by
ambivalence
2y ago
A big chunk of the performance gain comes from the fact that with tail calls the CPU doesn't have to reset the registers (configured through the `preserve_none` calling convention).
3.
▲
by
ambivalence
2y ago
Simon Willison is a great guy, but he's not a Python core developer and his ad hoc benchmark is not what the CPython core team members are using. For the latter, see https://github.com/faster-cpython/benchmarking-p
4.
▲
by
ambivalence
2y ago
Wouldn't kill them to mention that all the heavy lifting is done by Pyodide.
5.
▲
by
ambivalence
2y ago
> I'd maybe quibble with "running natively on WebAssembly with speed in the same order of magnitude as Rust" given I expect that statement would be just as true if you replaced Rust on WebAssembly with the equivalent JavaS
6.
▲
by
ambivalence
2y ago
Work on what you want, so don't let me deter you. But in my personal case, what pushed me from fish to xonsh was that I could never quite internalize the way it wanted to do functions, if statements (and tests inside them) and loops. O
7.
▲
by
ambivalence
2y ago
Not impressed with tako. Replaces the BSD license with GPL for mostly removing functionality and reverts. It looks unmaintained. Last release 5 years ago, documentation is sporadic. Reminds me of some of the angry forks of Black that get li
8.
▲
by
ambivalence
2y ago
Markdown is plaintext so you decide what it means. I personally write *italic* and **bold**, so I can use _underline_. Most Markdown to HTML converters would make the last example into italic, but you can customize many of them. Commonmark
9.
▲
by
ambivalence
2y ago
I wholeheartedly agree with this post. I also keep my notes in Markdown, I also have plenty of Python scripting around them, including automatic publishing of my website. I use FSNotes today on macOS and iOS. Both apps are open source, both
10.
▲
by
ambivalence
2y ago
Not sure how much "trust" I actually need there. It's mostly convenience for me where it's easy to kill results from websites you never want to see again. This process allows for getting terrific results real quick after
11.
▲
by
ambivalence
2y ago
Xonsh is a fantastic shell. I literally think they are most hindered by the name at this point, since it's one of those clever names that are pronounced in a peculiar way and one that doesn't convey too well that it's really
12.
▲
by
ambivalence
3y ago
You know that people change their minds and now Guido is working as part of a team at Microsoft that is literally called "Faster CPython"?
13.
▲
by
ambivalence
3y ago
> Even the most perfectly-written Python code will still be dog-slow and require an enormous budget to actually run at scale. Nah, asyncio on uvloop is plenty fast.
14.
▲
by
ambivalence
3y ago
It is on Mastodon as well, actually: https://mastodon.social/@ambv/110665808046065754
15.
▲
by
ambivalence
3y ago
If you want real irony here, it's this: powering an app called Threads with Python that's got a global interpreter lock which makes threading hard. Get it? Threads, threading...? OK, I'll see myself out.
16.
▲
by
ambivalence
3y ago
In short: static analysis, unit tests, staging environments, effective log aggregation. The first one is a big productivity booster as it shows you bugs before you commit them. Here's a post about this, not exactly new but still descri
17.
▲
by
ambivalence
3y ago
A fair point about what? Threads is out for less than a day, I have 8 followers there so far. I originally posted this information on Mastodon, actually: https://mastodon.social/@ambv/110665808046065754 However, I have
18.
▲
by
ambivalence
3y ago
The fork is where the tweaks live.
19.
▲
by
ambivalence
4y ago
There are three related terms: mocking, faking, and stubbing. They mean subtly different things, which the article points out. The author prefers the last one, and uses the middle one for complex cases, avoiding mocks altogether. But that d
20.
▲
How the Black project made type-annotated Python code run 2x faster with mypyc
(ichard26.github.io)
7 points
by
ambivalence
4y ago
|
0 comments
21.
▲
by
ambivalence
5y ago
As long as you can easily review code side-by-side with line numbers intact, you're good. The default was chosen for lower resolution 13" laptop monitors to be able to display the Phabricator diff page (think: Github PR review pag
22.
▲
by
ambivalence
5y ago
Yes, and yes. Edit: and yes.
23.
▲
by
ambivalence
5y ago
This is now improved. Black is compiled with mypyc, should be roughly 2X faster than before.
24.
▲
by
ambivalence
5y ago
This was decided very early in the project, the discussion can be read here: https://github.com/psf/black/issues/51
25.
▲
by
ambivalence
5y ago
Thanks for the link. I just moved the website to Netlify from Fastmail. Hopefully the DNS on your side will update soon.
26.
▲
Removing the Python GIL: Meeting Between Core Devs and Author of `Nogil` Fork
(lukasz.langa.pl)
14 points
by
ambivalence
5y ago
|
1 comments
27.
▲
Python Software Foundation Hires a “Developer-in-Residence”
(lwn.net)
4 points
by
ambivalence
5y ago
|
0 comments
28.
▲
by
ambivalence
5y ago
At 4.2 million downloads per month, it's not exactly a prototype toy either.
29.
▲
by
ambivalence
5y ago
There are quite a few inaccuracies here. Guido is now working on Python performance at Microsoft and is not the BDFL anymore. Instead, there is a five-person Steering Council overseeing Python. The best C/C++ interaction options includ
30.
▲
by
ambivalence
5y ago
Meta-question to the mods: why would you edit the original title of this entry? Feels somewhat interventionist.
More ›