Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ygra
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
661.
▲
by
ygra
7y ago
> They bolted on a separate set of functions that took UCS-2 and now take UTF-16. NT actually bolted on 8-bit versions of the native Unicode functions. FooBarA is a wrapper around FooBarW. > They put together a code page for UTF-8 but
662.
▲
by
ygra
7y ago
C# isn't exactly quiet about this property, and yes, it can be annoying from an API perspective, but in C# this was likely a pragmatic choice to remain compatible (and familiar) with C++, COM, etc. where most developers would be coming
663.
▲
by
ygra
7y ago
Paths are sequences of 16-bit values on Windows, not necessarily valid UTF-16. It's basically the same as in POSIX, just one byte wider per character.
664.
▲
by
ygra
7y ago
Personally, both 50 and 60 Hz are horribly flickery. Back when I used a CRT I couldn't stand anything below ~85 Hz and would get headaches. Now that the screen no longer flickers, I guess in terms of motion fluidity there's a perc
665.
▲
by
ygra
7y ago
Unicode doesn't decide anything about character appearance. Unicode is just about giving a character a number (among other interesting things for text, like collation, bidirectional text, etc.).
666.
▲
by
ygra
7y ago
It's been free before. It's not that we made money with it.
667.
▲
by
ygra
7y ago
Yes, as noted, there are accessibility options for that, but that's possibly not an option, depending on how locked-down the PC is the people are working on (one person I've seen this doing was at the ticket counter in a train sta
668.
▲
by
ygra
7y ago
I've seen quite a few people that, either or of habit or due to it being less error-prone to type for them, use Caps Lock for typing capital letters. Instead of Shift+letter, they'd type Caps, letter, Caps. One keystroke more, but
669.
▲
by
ygra
7y ago
Those things are configurable, though, so new markers are rarely problematic from a tooling perspective. Getting your teammates to agree on using the same markers is perhaps the bigger problem.
670.
▲
by
ygra
7y ago
Heck, the whole of Windows 95 has a smaller install size than any Electron app ...
671.
▲
by
ygra
7y ago
Just one note: Ctrl+Alt+M is a horrible choice of shortcut, as it conflicts with typing characters on many keyboard layouts. μ on my keyboard, for example. Ctrl+Alt is identical to AltGr and thus should be avoided for shortcuts in general.
672.
▲
by
ygra
7y ago
That's indeed a lot better.
673.
▲
by
ygra
7y ago
Both options also don't contradict each other. Two sentences that tell unaware people what to expect and another sentence to compare against what everyone who already uses such software already knows by name.
674.
▲
by
ygra
7y ago
I think developers should really take note of VS Code's release notes (e.g. https://code.visualstudio.com/updates/v1_41 ) which include lots of screenshots and animations of new features or improvements. Makes it v
675.
▲
by
ygra
7y ago
... in C mode, which is basically C89 (+ whatever is needed for recent C++ versions). Compiling C code in C++ mode is a common way of working around this. But MSVC is not a C compiler, it's a C++ compiler, so their unwillingness to inv
676.
▲
by
ygra
7y ago
They mention having to look up function declarations in the header files, so perhaps not.
677.
▲
by
ygra
7y ago
Like Kryptochef ... https://www.schneier.com/blog/archives/2006/06/the_doghouse_... :)
678.
▲
by
ygra
7y ago
Windows also compresses pages to alleviate memory pressure before resorting to swap nowadays. Probably the same reason as with Android, as on lower-end hardware, especially with hard drives, compressing/decompressing isn't really
679.
▲
by
ygra
7y ago
Depending on the codepage ... extended ASCII is just as much a misnomer here as ASCII in the original post.
680.
▲
by
ygra
7y ago
Most cities have at least one cinema that shows current movies in English, perhaps only on some days of the week, though. Many also have cinemas that show independent or art films and those often show films in the original language as well.
681.
▲
by
ygra
7y ago
Seeking to a file offset is a constant-time operation (assuming no fragmentation), so re-opening the file and skipping to where you left off isn't that bad. And you can certainly write self-modifying batch files, but only appending at
682.
▲
by
ygra
7y ago
Doom doesn't have arbitrary normals; wasn't that from Quake?
683.
▲
by
ygra
7y ago
Depends. If people on the team are using different versions of Visual Studio or the compiler, they will be thankful that they can still build the code. For us, the language features we can use internally are dictated by our own compiler t
684.
▲
by
ygra
7y ago
http://www.fileformat.info/info/unicode/char/23fd/fontsuppor...
685.
▲
by
ygra
7y ago
"All details of math rendering" probably fall squarely into "markup" territory, thus outside Unicode. At least so far any efforts trying to standardize this led to this. Math is generally nothing I'd call plain text
686.
▲
by
ygra
7y ago
For wind turbines at least there's a bit of a difference, as those kill larger birds than cats, in smaller numbers, but those birds also have smaller populations. So just looking at the numbers without knowing the birds and their total
687.
▲
by
ygra
7y ago
Well, XAML itself doesn't have anything to do with UI, it's just a serialization of an object graph with hints about code generation. There's AvaloniaUI, though, if you're looking for XAML, UI, and cross-platform.
688.
▲
by
ygra
7y ago
Yeah, it's definitely nice to get ~1000 images per battery charge. But when uploading to the PC infrequently you'll then have to sort photos into groups to process individually (something I already hate with panoramas). Personally
689.
▲
by
ygra
7y ago
IMHO they've basically missed an opportunity here for many years. They'd be in a perfect position to offer those things, combined with a much better/larger sensor, which enables even better images. On smartphones it's a
690.
▲
by
ygra
7y ago
It's been noted again and again. The author also has stated multiple times that this was a deliberate inaccuracy for story purposes.
More ›