Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ygra
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
97 ms
·
541.
▲
by
ygra
6y ago
Doesn't Windows usually just use a .pdb file next to the exe/dll, containing the debugging information? So stripping debug information on Windows is just deleting (or not distributing) that file.
542.
▲
by
ygra
6y ago
You don't have to replace your handwritten text. It's searchable even as ink. Can't say I've ever used the ink to text feature.
543.
▲
by
ygra
6y ago
Visual Basic’s Option Base comes to mind. And Pascal had very nice facilities for arbitrary array bases. I think you could define an array with indices from 18 to 22 is you liked, which can definitely simplify code doing the indexing.
544.
▲
by
ygra
6y ago
I guess a fairly large number of developers would disagree with you.
545.
▲
by
ygra
6y ago
WSL 1 was not a virtual machine. It was a re-implementation of the Linux kernel API within the Windows kernel. As such, it's probably more comparable to CoLinux (if that's still a thing).
546.
▲
by
ygra
6y ago
The delay (configurable) isn't due to the encoder. And the encoder has to process everything in real time, otherwise you start skipping frames or fall behind.
547.
▲
by
ygra
6y ago
That won't work on other operating systems anyway.
548.
▲
by
ygra
6y ago
I guess that's what they meant. However, that's a bit misleading, since the runtime doesn't care about that that's a value type captured in a closure, as it's a class field in IL already. And those are always alloca
549.
▲
by
ygra
6y ago
With .NET 5 the fastest non-PCRE C# regexredux implementation there completes in five seconds on my machine, as opposed to 8 seconds for the Java implementation. Still quite a bit away from C, but I'd say respectable for a purely manag
550.
▲
by
ygra
6y ago
It's the same on Windows. Automated UI testing almost always uses the accessibility APIs, both to find controls and to interact with them.
551.
▲
by
ygra
6y ago
Note that paths with / won't always work in cmd when using built-in commands. For executables and their command lines, sure, but for at least some built-in commands you must use \ for path arguments because the parser otherwise pa
552.
▲
by
ygra
6y ago
A warning wouldn't really fix much for most people. »This file name might potentially not work in certain applications« is far too vague for anyone to determine whether it's a good idea to name the file that way or not. And erring
553.
▲
by
ygra
6y ago
I thought shell extensions in managed code were pretty much a no-go. [0] Has that changed by now? [0] https://devblogs.microsoft.com/oldnewthing/20061218-01/?p=28...
554.
▲
by
ygra
6y ago
The underlying graph drawing library for WPF, yes. yEd itself is built on the same layouts, but a different rendering platform with Java Swing, of course.
555.
▲
by
ygra
6y ago
draw.io has some automatic layouts (Arrange > Layout), but they are fairly basic. In terms of customizability it doesn't come close to yFiles / yEd. (Admittedly, I'm biased; I work for the latter, but the available layout
556.
▲
by
ygra
6y ago
Python's regex implementation is probably not written in Python, so while it's trying to match, no Python code runs; it's all /C(++)?/.
557.
▲
by
ygra
6y ago
Looks hand-built with HTML. For simple trees that's often sufficient and means you can delegate layout to the browser instead of having to do it yourself.
558.
▲
by
ygra
6y ago
As a noun I'd agree on it not being unusual, but as a verb it's weird.
559.
▲
by
ygra
6y ago
Someone in a recent discussion about randomly-generated spaceships in Blender linked this: https://github.com/aachman98/Sorcar Not terribly familiar with how things work in Houdini (and only dabbling in Blender a few t
560.
▲
by
ygra
6y ago
I'm not sure switching launch vehicles is a realistic option for a project being in development for 24 years by now. Especially not to a not-yet-existing rocket.
561.
▲
by
ygra
6y ago
WPF can have a different Dispatcher per window, but inded, that's a fairly rare capability. I can't say I've ever needed to use this, though.
562.
▲
by
ygra
6y ago
Shift right click has always been the way to get the "advanced" context menu. Well, at least back to Windows 95. Fun fact: since the shortcut for the context menu is Shift+F10, you'll always get the extended menu since you&#x
563.
▲
by
ygra
6y ago
start uses the first quoted argument as the window title and with your example the actual argument is missing, hence you get a new console window.
564.
▲
by
ygra
6y ago
(yWorks employee here, having worked on that Graph Drawing Contest) Thank you for the kind words. I've tried to make it mobile-friendlier, after our marketing team told me that most people who come via Twitter use a phone. But we kin
565.
▲
by
ygra
6y ago
Didn't some of those missions had live cargo in mice form anyway, making an atmosphere necessary? Only the trunk is unpressurized, AFAIK.
566.
▲
by
ygra
6y ago
C# has other mechanisms to achieve what macros are commonly used for, though. In a bit, with Roslyn's source generators there will be an even better way for some of them.
567.
▲
by
ygra
6y ago
Well, it's perhaps not only the language subset, but also part of the standard library you have to provide or re-implement. I don't know Lisp too well, but I'm sure there are parts of it that are not necessarily mandatory for
568.
▲
by
ygra
6y ago
I guess with a one-off translator you can spend more time on the patterns you know you have to translate well instead of having to handle every single possibility that could potentially come up in code. At work we can do something similar
569.
▲
by
ygra
6y ago
That post could have been a lot shorter had they known about UI Automation. Not sure whether it's far enough, but it definitely would have tried that probably before even using WM_CHAR, simply because you can just tell the text box to
570.
▲
by
ygra
6y ago
Well, that's basically because these days the editor often runs the same compiler, just without codegen instead of having a completely separate syntax checker that may or may not highlight the same issues.
More ›