Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Avernar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
241.
▲
by
Avernar
11y ago
The world seems to be headed to UTF-8 for everything. That's why having Python3 force us away from it doesn't make sense to me. As for regular expressions, they work perfectly if your delimiters are in the ASCII range. If you&#x
242.
▲
by
Avernar
11y ago
Not an issue because I don't use the Unicode type. All my data comes in as UTF-8 on which I do a quick validation check. Then it's just handled as bytes all the way to and from my database.
243.
▲
by
Avernar
11y ago
Yes it is. Every conversion to and from the unicode type and every expansion of the unicode type from 1 to 2 to 4 bytes eats up processor time, cache/memory bandwidth and puts more pressure on the garbage collector. And I don't w
244.
▲
by
Avernar
11y ago
I've had no issues whatsoever dealing with unicode in Python2. Just wondering what you found to be a nightmare?
245.
▲
by
Avernar
11y ago
> Recent versions only convert to UTF-32 when a wide character is present It's non-BMP characters that trigger the conversion to 4 bytes per codepoint. Unfortunately Emoji are non-BMP and are super common.
246.
▲
by
Avernar
11y ago
I agree. Everything is so much simpler when you use UTF-8 everywhere. Being effectively forced to use the ASCII/UCS2/UCS4 unicode type in Python3 is the only thing that has kept me from switching to it.
247.
▲
by
Avernar
11y ago
I hade a similar problem with one of my servers. The SSDs would stop responding at odd times. Strange lockups and other hardware wierdness. When I tried putting FreeBSD on it it would kernel panic at odd times during the instalation. Tur
248.
▲
by
Avernar
11y ago
"A programmer is an organism that converts caffeine into code."
249.
▲
by
Avernar
11y ago
> Keep in mind you have to repeat this process every 6 months Renewal and revalidation are not the same process. Unfortunately they're thinking about making the revalidation period 90 days as well. That would suck as I have severa
250.
▲
by
Avernar
11y ago
Would you happen to know if these business people run their own web server or use a hosting service?
251.
▲
by
Avernar
11y ago
Most code works perfectly fine indexing bytes in a UTF-8 string. Anything that looks for stuff in the ASCII range such as parsers would not need to be changed. Python 3 already required all code to be looked over because of the string lite
252.
▲
by
Avernar
11y ago
For what reason other than perhaps font rendering code do you need to index code points in a string? Everything you think you need code points for (character counting, truncation, etc) you actually need grapheme clusters. I wish Python wen
253.
▲
by
Avernar
11y ago
Wendy's already tried this. I no longer eat at Wendy's.
254.
▲
by
Avernar
11y ago
Sorry. I didn't keep detailed records of the comments I've been reading about let's encrypt over the last half year or so. :) But I've noticed that most people were happy about free and no restrictions while the automa
255.
▲
by
Avernar
11y ago
Yet their diagram shows that putting a signed file in the webroot of your domain is what's needed to prove you own the domain.
256.
▲
by
Avernar
11y ago
If they think that being fully automated is the main reason why people are interested in them they are mistaken. Top two reasons seem to be that they are free and that there are no usage restrictions. I personally don't want a fully a
257.
▲
by
Avernar
11y ago
I actually prefer C++/CLI to C#. I use it for my UI code and can seamlessly call my C++ code to do the non-UI work.
258.
▲
by
Avernar
11y ago
Some ATMs in Canada do make you take your card first before dispensing the money if it's not your last transaction. Others display a "Remember to take your card" message. Others have a beep and flashing light near the card
259.
▲
by
Avernar
11y ago
"it did not protect you from mixing Unicode and bytes" I don't need any protection. All my data is UTF-8 so having to convert back and forth to the frankenstien 1, 2, 4 byte "unicode" type is waste of time, memory
260.
▲
by
Avernar
11y ago
I'm always looking for ideas to make my own C like language. But when I looked at this article, his improved C is a completely different language. Looks more like basic, python and pascal than C.
261.
▲
by
Avernar
11y ago
Too be really picky, logically it's NAND. Not writable and not executable is valid. :)
262.
▲
by
Avernar
11y ago
I agree with the author. I came to the same conclusion way back. Shoehorning commands and errors onto HTTP request methods and response codes was frustrating. As the author wrote, they're not rich enough to map on to. For example,
263.
▲
by
Avernar
11y ago
I absolutely hate mobile Safari. I've got a dozen workarounds for various things in my code and still can't get a few things to work quite right. I had to make my own buttons as having too many buttons would slow rendering of the
264.
▲
by
Avernar
11y ago
Arcnet was my first network at home. Bought four cards and a passive hub for $50 from a friends father's company upgrading to ethernet. We used it for playing Doom and Duke Nukem in my basement. Then we upgraded to 10base2 once the c
265.
▲
by
Avernar
11y ago
So that was what the classroom networks in highschool were. The PCs had cards with the two RJ11 connectors and I remember the terminators that the troublemakers would loosen. The backbone network and teachers network were token ring. Thos
266.
▲
by
Avernar
11y ago
I'm also planning on switching my two Linux boxes to FreeBSD.
267.
▲
by
Avernar
11y ago
I have my monitor calibrated for photo editing. I'm not going to mess with the brighhtness and contrast because some site is using a hard to read colour combination. If it's a site that's worth reading I'll overide the
268.
▲
by
Avernar
12y ago
The only windows we had back then looked outside. :) The computer labs were all IBM PS/2 model 30s running DOS. The servers were a model 70 running Netware. The school backbone was token ring. The lab network ran on some oddball dais
269.
▲
by
Avernar
12y ago
How times have changed. I used to figure out the admin password all the time. It was actually a game between me and the computer teacher. I didn't even have to see the keyboard but just his arms moving back and forth. Eventually he
270.
▲
by
Avernar
12y ago
Wonkavator? Guess the author of the article is not a Star Trek fan.
More ›