Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mont_tag
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
mont_tag
3mo ago
Knight Capital
2.
▲
by
mont_tag
4mo ago
> Why? While it seems obvious that some students should be redirected to remedial classes, the evidence is that very few students made it past those courses. IOW, the obvious solution wasn't working. Being an engineer, my instinct w
3.
▲
by
mont_tag
4mo ago
You've done a nice job articulating why people support equity programs. The sticking point is that there is a big difference between theory and practice. We end up with elimination of 8th grade algebra in SF, abandoning graduation requ
4.
▲
by
mont_tag
6mo ago
That sounds like what happened at Boeing.
5.
▲
by
mont_tag
6mo ago
If the service is free, you are the product :-)
6.
▲
by
mont_tag
9mo ago
Note that Python already offers MappingProxy that wraps a dictionary to hide mutating methods. People hardly ever use this tool. That suggests that there isn't much of a need for a frozendict.
7.
▲
by
mont_tag
10mo ago
All good suggestions. However, the last one should have also mentioned functools.cache and functools.lru_cache.
8.
▲
by
mont_tag
11mo ago
Do you want to take advantage of having multiple cores? * Processes do this right out of the box. * Threads only do this on Python's new GIL builds. * Async, not so much.
9.
▲
by
mont_tag
1y ago
History of women in the Python world: In 2006, the first two women were voted in as PSF fellows, Laura Creighton and Anna Martelli Ravenscroft. In 2008, there were two women on the PSF board, Gloria Willadsen and Allison Randal. The woman
10.
▲
by
mont_tag
1y ago
Crypto did pretty well during that timeframe. Likely, they didn't pivot hard enough to offset losses to the core business.
11.
▲
by
mont_tag
1y ago
Python's key-functions nicely encapsulate the whole process.
12.
▲
by
mont_tag
1y ago
One place where Visual development tools almost always win is in problem domains that are intrinsically visual (think CAD, form designers, etc)
13.
▲
by
mont_tag
1y ago
A notable exception is MS Access. It was a huge productivity win. It did not work well with version control but otherwise, it let developers rapidly develop and maintain moderate sized solutions to common business problems. It was also ext
14.
▲
by
mont_tag
1y ago
No, that is not the recommendation. People routinely and reliably inherit from dict. The UserDict class is mostly defunct and is only still in the standard library because there were a few existing uses that were hard to replace (such as
15.
▲
by
mont_tag
1y ago
> IMO it's not the recording of ideas that is thinking, but rather the act of putting thoughts into language. I agree with you but that article itself says, "for example, handwriting can lead to widespread brain connectivity.&q
16.
▲
by
mont_tag
1y ago
Also shift in organizational investment away toward AI and away from earlier hotness.
17.
▲
by
mont_tag
1y ago
Grace Hopper technology: A well formed Python program shall define an ENVIRONMENT division that specifies the environment in which the program will be compiled and executed. It outlines the hardware and software dependencies. This division
18.
▲
by
mont_tag
1y ago
> Scientists genetically engineer a lethal mosquito STD to combat malaria Nothing could possibly go wrong.
19.
▲
by
mont_tag
1y ago
This makes me happy. It was such an obvious right thing to do, but it took so long to come to fruition. Next, it would be great if published standards were freely available. It is astonishing to me that they are not.
20.
▲
by
mont_tag
1y ago
No, it would fail upstream before the template post-processing even begin. The template object itself could not be formed because the each name must be a visible variable name. This is the same error that you would get with an f-string that
21.
▲
by
mont_tag
1y ago
How does this Python docs example work with t-strings? cur.executemany("INSERT INTO movie VALUES(?, ?, ?)", data) Can SQLite3 cache the query as it does now?
22.
▲
by
mont_tag
1y ago
ISTM software engineers have been living in a privileged and elite world. They are then utterly shocked to be treated like employees are treated elsewhere. Pretty much anywhere if you are let go, your email access and physical access are cu
23.
▲
by
mont_tag
1y ago
> Even the JS standard library struggles with this. You just have to remember that .sort() modifies the array in place ISTM that there are almost always some kinds of mutable data structures present in non-trivial programs. And outside
24.
▲
by
mont_tag
1y ago
Interestingly, I encountered exactly this issue this week. It was mystifying for a short while but easily hunted down. Perhaps lint tools would have been of help.
25.
▲
by
mont_tag
1y ago
Perhaps the need was less pressing when airports were smaller and fewer people traveled.
26.
▲
by
mont_tag
2y ago
An incredible number of Python questions get marked as duplicates years after they've gained many answers and many user upvotes. Then when you look more closely you see that questions or answers are merely related, but not the same. U
27.
▲
by
mont_tag
2y ago
Another simple tool that gives you superpowers is a Q-Q plot. https://en.wikipedia.org/wiki/Q–Q_plot
28.
▲
by
mont_tag
2y ago
IIRC, Jake's video inspired the example section in the Python random module docs. It takes about 15 minutes with those examples to learn how to put Jake's ideas into practice. https://docs.python.org/3/library
29.
▲
by
mont_tag
2y ago
This is true, but it is more nuanced than that. It also has to do with familiarity with common patterns and willingness to accept that not everyone has the same style you do.
30.
▲
by
mont_tag
2y ago
When vertical alignment helps readability, you have use `#fmt: on/off`. Black simply doesn't have enough information to know when assignment alignment (or comment alignment) was done on purpose.
More ›