Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dalke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
97 ms
·
781.
▲
by
dalke
10y ago
The best I can offer are my previous HN comments on the topic, at https://hn.algolia.com/?query=dalke%20numpy&sort=byPopularit... and http://www.dalkescientific.com/writings/diary/archive/
782.
▲
by
dalke
10y ago
The C specification is irrelevant. The Python specification defines what the implementation is supposed to do. It happens that the implementation doesn't comply with the specification. That doesn't mean the Python specification is
783.
▲
by
dalke
10y ago
No, I am not saying that. I'm saying that when the Python language specification prescribes a behavior, and the Python implementation in C has a different behavior because it does something which the C language specification considers
784.
▲
by
dalke
10y ago
You wrote: > Here is an example of a bug in the C implementation of Python that caused undefined behavior because of integer handling: https://bugs.python.org/issue23999 The comments in that bug report suggest it was a f
785.
▲
by
dalke
10y ago
Where I disagree with you is your inclusion of language implementation errors as a type of undefined behavior. Those are compliance errors. That is, if the spec allows it (as "undefined behavior") then it's not a bug. If the
786.
▲
by
dalke
10y ago
Please use the actual title, which is "Python vs Julia Observations", rather than make a new one. There was a link to this yesterday on HN, at https://news.ycombinator.com/item?id=12340234 . Because you used a dif
787.
▲
by
dalke
10y ago
I now realize I did not understand your original comment. Thank you for the clarification. I don't agree with how you use "undefined behavior", but it's appropriate for the OP's context.
788.
▲
by
dalke
10y ago
If process isolation were a requirement then it would exclude many things people call an operating system. For example, CP/M is an operating system with no support for multiple processes.
789.
▲
by
dalke
10y ago
I think you have mixed multiple definitions of "undefined behavior". A language can say that certain operations are undefined, like reference NULL in C. What of the Python language is undefined? (Some things, like garbage collecti
790.
▲
by
dalke
10y ago
As an aside, these sorts of comments about the needs of a "scientific programmer" always irk me. I've been doing scientific software development now for 20 years. I do non-numerical scientific computing, originally structur
791.
▲
by
dalke
10y ago
Looks like typical cherry-picked anti-global-warming denialism to me. Take, for example, this quote: > The chart also reveals the two outliers of the group: Stockholm and Galveston, Texas. They both show a distinct cycle of ups and downs
792.
▲
by
dalke
10y ago
On the topic of mascots, the FreeBSD and Darwin logos follow the BSD Daemon, nicknamed Beastie, from 1984, more than they follow Tux.
793.
▲
by
dalke
10y ago
> What if the `$app` contains spaces? The author writes "Whether dealing with string literals or back-ticks for expressing a command line, you can refer to a variable foo as $foo and it will be escaped properly." http:/&#
794.
▲
by
dalke
10y ago
Many of the comments concern bpython. I believe may more people work with IPython/Jupyter for this sort of thing. I wonder if this would have improved things for the author. > I have to know empty collections in python are false: ..
795.
▲
by
dalke
10y ago
I agree that it's a good format. It's an engineering compromise. The benefits you see also cause creshal's comment: > Beginning and the end, which continues to bite us in the ass until today, where we regularly stumble ove
796.
▲
by
dalke
10y ago
Please pick a topic and stick with it. You asked about corruption, specifically when "a small part of the whole archive file gets corrupted". I addressed that point. I'm not going to cover all of the advantages and disadvanta
797.
▲
by
dalke
10y ago
Sometimes the corruption is in the metadata, in which case you are lucky and the duplication can help. But neither method you mentioned lets you recover your data if the data itself is corrupted. If you really want to recover data, use some
798.
▲
by
dalke
10y ago
I didn't argue that was right or wrong. I explained why creshal's comment about it biting them in the ass made sense. Your first argument was about the benefits of fixing data corruption, not about latency. Duplication is a poor w
799.
▲
by
dalke
10y ago
Pirates already know about AIS. http://www.bbc.com/news/technology-24586394
800.
▲
by
dalke
10y ago
The ASCII standard was from the 1960s, not 1970s. LBJ in 1968 mandated that all federal computers purchased by the government must support ASCII. This historical correction does not alter the rest of your comment.
801.
▲
by
dalke
10y ago
Yes, it's possible to use the information to recover a corruption. The problem is, what happens if the two are different? This can be through accident or maliciously. If one tool uses the first and another uses the second, then you
802.
▲
by
dalke
10y ago
You may want to read "The limits of “unlimited” vacation" by Jacob Kaplan-Moss at https://jacobian.org/writing/unlimited-vacation/ as well as previous HN comments about that essay at https://n
803.
▲
by
dalke
10y ago
Yes, C++ is a particularly easy language to get that wrong, where float * can be a pointer to scalar, vector or 2d array. Other more strongly typed languages, like Python, will make those errors easy to spot with any sort of test case. Beyo
804.
▲
by
dalke
10y ago
I don't think I mistook you. The Popular Mechanics piece gives an example of quoting body language from Audrey Hepburn in the 1953 movie 'Roman Holiday'. I don't know how I'm supposed to interpret that loop, or how
805.
▲
by
dalke
10y ago
Perhaps. Where's an example of this quoting done right? And isn't my complaint the same issue that SquareWheel raised? ("it makes it incredibly difficult to focus on the text.")
806.
▲
by
dalke
10y ago
Where have you seen anyone use expat "as a way to differentiate between living in another country while remaining primarily a U.S. citizen (and still paying U.S. taxes, etc.) vs. renouncing your U.S. citizenship and leaving forever&quo
807.
▲
by
dalke
10y ago
In that analogy, to me it comes across as a quote written in very large font, double-underlined, and surrounded by exclamation points. Take, for example, the context behind "What is GIF May Never Die." I don't know the refere
808.
▲
by
dalke
10y ago
Ahh, the purity of seeing everything in black and white terms. The topic was "is there a consensus that disagreement is not a sufficient reason to downvote a comment?" I pointed out that there is no evidence for a meaningful conse
809.
▲
by
dalke
10y ago
But do you think it's not a word? Also, I think performant is often used as a synonym for "fast enough ", which is slightly different than "fast."
810.
▲
by
dalke
10y ago
What's imprecise about: "Performant: 1) meeting the objective, often applied to a performance objective, 2) productive"? In looking around just now, economics seems to prefer the second definition, which is why I added it. Al
More ›