Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mont_tag
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
mont_tag
2y ago
Hi Matt! I've observed this phenomenon as well. When the SQL and Pandas examples are isomorphic except for shallow syntactic differences, the root cause of the complaint must either be: * that the judgment was emotional rather than su
32.
▲
by
mont_tag
2y ago
> I think that LLMs can be said to be ”think” in ways that are analogous to what we do. ... But human consciousness produces an experience (the experience of being conscious) as opposed to some definite output. I do not think it is compu
33.
▲
by
mont_tag
2y ago
An async event loop doesn't have anything to do with the GIL or threads. Async is all about cooperative concurrency where a task yields in places that it would normally block. The tasks can all run in a single thread.
34.
▲
by
mont_tag
2y ago
ISTM the post has a somewhat nasty and judgmental tone. Instead of saying, "ha ha, gotcha!", an issue could have been filed on GitHub and it would have been quickly fixed. Instead, the OP seems to be publicity seeking. IMO, this
35.
▲
by
mont_tag
2y ago
Didn't Python's compact dictionary implementation do this a decade ago? "The dict type now uses a “compact” representation based on a proposal by Raymond Hettinger which was first implemented by PyPy. The memory usage of the
36.
▲
by
mont_tag
2y ago
Perhaps too difficult for either Bruce Willis or for Chuck Norris, but what if they worked together !?
37.
▲
by
mont_tag
2y ago
One more consideration is whether a team of people have invested time building a mental map of the current code. Perhaps some rearrangement would be better, faster, clearer, or have some other virtue. But that benefit has to be balanced a
38.
▲
by
mont_tag
2y ago
Next up, Area 51?
39.
▲
by
mont_tag
2y ago
> I'm not willing to leave the company because its stock 6x'ed last year. It sounds like vesting schedules are achieving their intended purpose by giving you incentive to stay.
40.
▲
by
mont_tag
2y ago
Commanding a cruise ship should be simple. Just say "cast off" and "set sail for next port". How hard could it be ;-) Playing a piano should be simple. Just look a notes and press the corresponding key. I've see
41.
▲
by
mont_tag
2y ago
Better to think of LSP as more of a gray scale than all or nothing. The more the APIs match, the more substitutability you gain. Switching to composition has its advantages but you do lose all substitutability and often need to write forwa
42.
▲
by
mont_tag
2y ago
PG also notes "a performative aspect". Lemley didn't quietly drop Meta; instead, he appears to have turned it into bragging rights on LinkedIn.
43.
▲
by
mont_tag
2y ago
> My work is motivated by conversations with real PBT users, accentuating the benefits that they get from PBT and reducing the drawbacks. ISTM that the benefits and drawbacks are just two sides of the same coin. The benefit is reduced t
44.
▲
by
mont_tag
2y ago
Python code to match the article: from statistics import NormalDist def var(nd): 'Value at risk' return nd.stdev - nd.mean safe = NormalDist(5, 3) bold = NormalDist(9, 10) shock = NormalDist
45.
▲
by
mont_tag
2y ago
Not really. A lot of tooling, JSON for example, naturally works with dictionaries. A TypedDict naturally connects with all those tools. In contrast, dataclasses are hostile to the enormous ecosystem of tools that work with dictionaries.
46.
▲
by
mont_tag
2y ago
Right. It takes equal effort to define a named tuple, typed dict or dataclass. Mostly people just reach for the tool that does what they want, named tuples for tuply stuff, typed dicts for mapping applications, and dataclasses when you actu
47.
▲
by
mont_tag
2y ago
This seems like an invented problem that never comes up in practice. It is no more interesting than numpy arrays evaluating as equal even when they conceptually not comparable: >>> temperatures_fahrenheit = np.array([10, 20,
48.
▲
by
mont_tag
2y ago
This article seems vacuous to me. It misses the point that tuples are fundamental to the language with c-speed native support for packing, unpacking, hashing, pickling, slicing and equality tests. Tuples appear everywhere from the output of
49.
▲
by
mont_tag
2y ago
Is the data such that it can be modeled in software?
50.
▲
by
mont_tag
2y ago
There have been other bans of dubious merit, but this one hit a nerve because in many ways Tim Peters gave the Python core development team its soul. He had playful and witty style backed by deep technical acumen. His little nudges provided
51.
▲
by
mont_tag
2y ago
It's not just Africa. There were discussions about withholding community support from China and Pakistan as well. It's really just a question about what part of the mission statement is the most important. Do you promote the Pyth
52.
▲
by
mont_tag
2y ago
Captain Renault: I'm shocked, shocked to find that surveillance is going on in here!
53.
▲
by
mont_tag
2y ago
It's a broad conflict, not just a specific action. These blog posts give a flavor of what is going on: * https://ntoll.org/article/psf-woe/ * https://ntoll.org/article/victorian-python-a
54.
▲
by
mont_tag
2y ago
It doesn't really matter. It could have been any contentious difference in strategic direction. The outcome would have been the same. People need to engage or face inevitable takeover and exclusion.
55.
▲
by
mont_tag
2y ago
"Not engaging at all" allows the engaging group to completely take over and expunge their opposition. The Python Software Foundation is an example. They have multiple former directors banned or resigning. They've defunded A
56.
▲
by
mont_tag
2y ago
It was not a straw man. I've seen it specified in contracts. I've seen audit teams sent in to verify an SDLC (system development life cycle). Arthur Andersen (now Andersen consulting) had it formalized in their "Method 1&q
57.
▲
First "Star Trek" style teleporter in SF?
(scifi.stackexchange.com)
1 points
by
mont_tag
2y ago
|
0 comments
58.
▲
Documenting Dance: Keeping Score (2017)
(adafrobinson.wordpress.com)
111 points
by
mont_tag
2y ago
|
26 comments
59.
▲
by
mont_tag
2y ago
My faves are the lru_cache, namedtuples, deques, chainmap, and all of the itertools.
60.
▲
by
mont_tag
2y ago
Today a famous and well respected core developer was suspended. Presumably, that is why this this old article made the front page of Hacker News right afterwards. https://discuss.python.org/t/three-month-suspension-for
More ›