Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dded
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
151.
▲
by
dded
13y ago
I suppose this is intended as a sports-themed The Onion . But I didn't find any of the articles funny.
152.
▲
by
dded
13y ago
Perhaps you misread my intended meaning, or I didn't state my position well. I don't have a Unicode problem. There is one (suppose HN forum software were written in Python2, for example). Python3's approach to solving
153.
▲
by
dded
13y ago
> Everybody who disses python 3 does it for library support, library support and library support I like to think I'm somebody, I diss Python3, but I don't diss it for library support (which is good enough for me). The trouble
154.
▲
by
dded
13y ago
> >>> list(b'abc') > [97, 98, 99] >That's not a list of numbers... that's a list of bytes! No, it's a list of numbers: >>> type(list(b'abc')[0]) <class
155.
▲
by
dded
13y ago
> I insist that C strings are indeed arrays of bytes, and we cannot use them to represent text correctly at present OK, maybe I do see one small point to argue. A C string, such as one that might be used in Unix, is not necessarily text
156.
▲
by
dded
13y ago
I'm not arguing against you. I just don't write any code that has to deal with people's names, so that's just not a problem that I face. I fully acknowledge that lack of Unicode is a big problem of Python2, but it&#x
157.
▲
by
dded
13y ago
Here are my what-can-chromebooks-do questions: 1. What kind of VPN connectivity is there? Cisco? Sonicwall? PPP? Ipsec? 2. What kind of remote connection software runs? I believe ssh is available. How about VNC? How about NX? I could ma
158.
▲
by
dded
13y ago
The factor of five applies to commercial sales to businesses and schools and such. I suspect a large fraction of Macbooks (and all Apple products) are consumer sales.
159.
▲
by
dded
13y ago
I agree that the survey is poor, but it is not bunk. It should have had more questions attempting to discover why those who don't adopt Python3 don't. Then, if a major problem turns out to be misinformation, it could be addressed
160.
▲
by
dded
13y ago
> This is the first time I encounter the idiom Unix strings The usual idiom is C-strings, but I wanted to emphasize the OS, not the language C. >> [...] probably a vain hope that Unix strings will vanish [...] >If only we wait f
161.
▲
by
dded
13y ago
> Utilities seems like a good use of Go Can you elaborate? I'm unfamiliar with Go, but most of my Python (and Perl, sigh) coding could be classified as "utilities for work". I would have thought that any language with an
162.
▲
by
dded
13y ago
Reminds me of the scene from the Tom Hanks movie The Wonders where the band is originally cute with the spelling, Oneders, and an emcee introduces them as the Oh-Nee-Ders. For the opposite effect, does anyone else find themselves pronounc
163.
▲
by
dded
13y ago
I don't have Python3 handy, but in Python2 I do this: >>> answer = 1 + 1 >>> answer 2 Doesn't Python3 work the same way? In any case, my PYTHONSTARTUP has this line: from pprint import pprint as pp
164.
▲
by
dded
13y ago
I was careful to say "Unix strings", not "ASCII". A Unix string contains no nul byte, but that's about the only rule. It's certainly not necessarily human-readable. I don't think a programming language c
165.
▲
by
dded
13y ago
Another great book about this expedition is Shackleton's own South .
166.
▲
by
dded
13y ago
A list comprehension would work for GP, who wants a calculator. But others like to try out snippets of code in the REPL before using them in programs, and in that case you want the code to be the same. Would the following work? It's
167.
▲
by
dded
13y ago
Personally, I prefer function. I can understand that others have a different preference; what I find surprising is the number of people who seem to care so much about this. Nevertheless, it is very evident that you are not alone.
168.
▲
by
dded
13y ago
> in a year and some months Python2 will no longer be receiving security updates from Python Core Is this an official statement? A few minutes with Google produced a number of articles that claimed five (or sometimes six) years of suppo
169.
▲
by
dded
13y ago
Not arguing that you're wrong, but Unix/Linux is not a sane world by your definition. Whether we like it or not (I do like it), this is the world many of us live in. Python3 adds a burden in this world where none existed in Py
170.
▲
by
dded
13y ago
> But when I'm writing new code, I'm of course using Python 3. There's no "of course" about it, which is the point of the article. It is interesting that you're using Python3. It means that you're n
171.
▲
by
dded
13y ago
> Python3 is not exciting because well there is nothing to be excited about. I think this depends on whether or not you use, or will ever need to use, Unicode. I don't, and so Python3 is not only not exciting, but it creates a new
172.
▲
by
dded
13y ago
> Rename it as something else. Call it Cobra or something. More likely, if there indeed is never a 2.8, is that Python 2 would eventually be forked and renamed. "Rattler" would make a better pun.
173.
▲
by
dded
13y ago
> have there ever been a successful language rewrite, post critical pass, in the history of computer languages? Does K&R C to C89 count? > If so, what lessons can be brought to the current Python 2/3 situation? C89 programs c
174.
▲
by
dded
13y ago
> Interesting to see how good multi-monitor support is. I used Emacs for 13 years on VMS workstations, all of which used separate X displays for each monitor. Multiple-X-display support was added to Emacs in version 19.3x, but Emacs on
175.
▲
by
dded
13y ago
Does M:N imply shared memory for all tasks on a thread?
176.
▲
by
dded
13y ago
This looks like it would be interesting--if I only had a clue as to what it's talking about. Can someone explain to a hw guy what 1:1 is, and M:N, and green threads, etc.? And why and when you would want to use one verses the other?
177.
▲
by
dded
13y ago
In the two cases I know of, nothing replaces Office-type docs (as in, they don't use them), and Facebook replaces an over-loaded SD card that never leaves the camera for photo management. (Note, I'm not the GP.)
178.
▲
by
dded
13y ago
> And [Chromebooks] simply can't replace a laptop as a primary I now know two people with Chromebooks. Both also have an (older) desktop. By any reasonable measure, it's the Chromebooks which are the primary. It's almos
179.
▲
by
dded
13y ago
The most soothing, easy-to-sleep-to sound for me is the sound of the forced-hot-air furnace in the house I grew up in. Other furnaces in other houses are OK, but nothing tops the original. I assume this is something deep in my psyche, im
180.
▲
by
dded
13y ago
Do you have any "particular problem" in mind? You don't mention one. I think the trouble with single-purpose languages is that, realistically, their development needs to be motivated by a real problem not satisfactorily addr
More ›