Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ygra
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
71 ms
·
811.
▲
by
ygra
8y ago
A Just-in-time compiler has to find a balance between compilation time (which slows down your program or makes it slower to start) and optimization quality. So a lot of optimizations that are OK in C++ where you have lots of time because of
812.
▲
by
ygra
8y ago
I wouldn't say pointers and unsafe code are features that makes it approachable to beginners.
813.
▲
by
ygra
8y ago
All those languages make it quite clear that you only get access to a code unit that way and other APIs usually exist to actually get access to code points, which then usually take a string and an index. That the most visible mechanism of a
814.
▲
by
ygra
8y ago
CP65001 has existed for quite a while. There just have been plenty of places where it never really worked (I think the console was one of them). Nonetheless, UTF-16 will most likely stay. They might add wrappers around all API functions t
815.
▲
by
ygra
8y ago
Interestingly he uses pretty much the same techniques that I relied on when typing lecture notes with Word: - Formula auto-buildup with automatic replacements of \stuff with Unicode keeps the mess of backslashes and braces more readable (an
816.
▲
by
ygra
8y ago
I think this suggestion comes from what Unix shells do, albeit I'd say that auto-complete there works rather different from how it usually works in GUI applications, browsers, and web applications. It's a model that's useful
817.
▲
by
ygra
8y ago
They did a lot of usability testing on the first iteration as well. They didn't test it in the market, since it didn't exist in a product yet, but they tested it. Jensen Harris [−π] has a large number of blog posts on the developm
818.
▲
by
ygra
8y ago
You can use generics and overload resolution to solve satisfiability problems in C# and Java. But not in the way like templates in C++ allow for compile-time computation.
819.
▲
by
ygra
8y ago
The code base has changed quite a bit since 198x: - https://blogs.msdn.microsoft.com/oldnewthing/20040525-00/?p=... - https://blogs.msdn.microsoft.com/oldnewthing/20160628-00/?p=... - h
820.
▲
by
ygra
8y ago
Oh wow. I've learned about Excel's Flash Fill only recently and wasn't even aware that the same thing is available as a library as well. PowerShell's Convert-String is very rough around the edges, though. Seems more like
821.
▲
by
ygra
8y ago
Reparse points are directory entries that are special and interpreted by the file system driver (or some other higher-level component that's not the file system itself). Directory junctions (which you mean here, I guess) are reparse po
822.
▲
by
ygra
8y ago
Is the MFT even documented and available via APIs on Windows? Could NTFS (at the expense of losing backwards compatibility in the file system (which already only extends to features that have been there before)) just change how the MFT work
823.
▲
by
ygra
8y ago
JavaScript shares this trait with a lot of languages that borrow syntax from C.
824.
▲
by
ygra
8y ago
I still know my Starcraft CD key to this day as well. Bonus: The same key also works for Half-Life. They used the same algorithm.
825.
▲
by
ygra
8y ago
I wouldn't call the arbitrary-precision may engine in that trivial , per se.
826.
▲
by
ygra
8y ago
I think that function has been bound to y for decades by now. No reason to change muscle memory, even when rewriting the UI.
827.
▲
by
ygra
8y ago
I think it was a joke referring to some people using Braille to display black and white images as text, e.g. https://loveeevee.github.io/Dots-Converter/retro.html
828.
▲
by
ygra
8y ago
Shouldn't media queries along with shape-rendering be able to do that?
829.
▲
by
ygra
8y ago
It's mentioned somewhat, but admittedly not terribly clear: > Of the five corium creations, only Cherobyl’s has escaped its containment. With no water to cool the mass, the radioactive sludge moved through the unit over the course a
830.
▲
by
ygra
8y ago
https://www.xkcd.com/1053/ Keep in mind that not everyone knows the same things. Why not just be happy that they learned something?
831.
▲
by
ygra
8y ago
> inside the Windows CMD.EXE console You have a typo in conhost.exe there. The Windows console has native support for those escape sequences by now too, though.
832.
▲
by
ygra
8y ago
Considering that lots of stuff already ends up on Earth from outer space, I doubt it has a meaningful effect. We also throw stuff from Earth into space (the planet does so without us as well).
833.
▲
by
ygra
8y ago
With custom UI toolkits more prevalent than ever these days, do such tweaks even work across a wide range of applications?
834.
▲
by
ygra
8y ago
MSDNAA allows using the software after no longer being a student.
835.
▲
by
ygra
8y ago
For web-scraping you could (for now) probably also use PowerShell with Invoke-WebRequest which runs the response through MSHTML, giving you fairly convenient access to various parts of the page as well as the complete DOM.
836.
▲
by
ygra
8y ago
Whoever wants to force it will otherwise do so with JS. With CSS at least you can override it with a client stylesheet.
837.
▲
by
ygra
8y ago
I tried opening the source file in our own graph editor, in the hopes that our layout might improve a bit on Graphviz here. Somewhat, I guess. It's still a lot of edges that are hard to route well. https://www.yworks.com
838.
▲
by
ygra
8y ago
By my count that's only six keywords as case is a keyword, but not part of an expression.
839.
▲
by
ygra
8y ago
Haven't seen many bugs in our coffee machine yet and none of the beans looked like bugs either. Perhaps when buying ground coffee instead of beans. But then, all industrially processed food items contain parts that you wouldn't in
840.
▲
by
ygra
8y ago
So is a friend or neighbour who stops by once a day to feed the plants, water the cats, and empty the mailbox.
More ›