Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ygra
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
62 ms
·
631.
▲
by
ygra
7y ago
That's why I was referring to C#, not .NET.
632.
▲
by
ygra
7y ago
NB: It's not VS that's forcing ReSharper to run in the same process. It's JetBrains refusing to listen to the VS team on how to build VS extensions that need plenty of resources since 2008 ... (they're finally considerin
633.
▲
by
ygra
7y ago
It is, but that's not too relevant, as the ReSharper component runs in another process (but that's managed code as well, so probably also runs as a 64-bit process).
634.
▲
by
ygra
7y ago
We've written a custom compiler from C# to Java and JavaScript based on Roslyn. Over time it gained more features and target languages as well (Python is in progress, we can also emit a working GWT wrapper for the JavaScript output, we
635.
▲
by
ygra
7y ago
Notable a lot of JavaScript AST libraries at least a while back omitted comments and whitespace, which is fine for writing a minifier, but horrible when trying to implement source code transformations. What I really like about Roslyn's
636.
▲
by
ygra
7y ago
We have customers doing this with yFiles. But that's a generic graph drawing and layout library, so getting from your network topology to a graph structure and getting health events is not something the library helps with. You'd g
637.
▲
by
ygra
7y ago
The icons are Amazon's own ones. You can use them with any tool.
638.
▲
by
ygra
7y ago
Space works as long as the video player has keyboard focus. Otherwise the default browser behavior takes over which is the same as Page Down.
639.
▲
by
ygra
7y ago
For online maps I'd guess that placing an emphasis on navigation instead of exploration/discovery means that the navigation route as well as your current position on it should be always clearly visible. The map underneath then get
640.
▲
by
ygra
7y ago
C# has never added new reserved keywords. All keywords added after 1.0 are contextual and can still be used as identifiers. With some things like nameof, they even get their special meaning only if there's nothing else of that name tha
641.
▲
by
ygra
7y ago
Resharper still has a bunch more refactoring and navigation tools. Whether that's those that are missing and you're using them, is probably up to each person themselves. The single feature I found missing all the time was smart co
642.
▲
by
ygra
7y ago
Rico has a point to a degree and every VS version since then reduced memory footprint and improved performance (mostly due to not calculating stuff up-front which may never be needed and doing it on demand). Microsoft has also pushed since
643.
▲
by
ygra
7y ago
https://en.wikipedia.org/wiki/Self-driving_car#Classificatio...
644.
▲
by
ygra
7y ago
Cars don't tend to jump sideways all of a sudden (and if they do, then usually by outside force, which tends to be hard to avoid). There's plenty of frames to detect that (note that the view shown is not the only camera, otherwise
645.
▲
by
ygra
7y ago
It definitely should, but keeping your working set smaller can also make things faster (as seen by Chrome here). This depends very much on the workload and what's being done to the data in memory. My example was just that a raster imag
646.
▲
by
ygra
7y ago
Is it really necessary to keep the whole uncompressed image in memory (as well as all undo steps) at all time? I guess the browser environment makes trading RAM for disk space difficult, but Photoshop ran fine with moderate amounts of RAM a
647.
▲
by
ygra
7y ago
It's something I really like about .NET's regular expressions. Lookbehind has no limitations and will just match backwards with all features you can use in other parts. So depending on the language or flavor you're working in
648.
▲
by
ygra
7y ago
decimal is still floating-point, just decimal floating-point instead of binary. Things like 1/3 can still not be represented exactly. It's just that for values given in base 10 there's no transformation of the representatio
649.
▲
by
ygra
7y ago
At the very least, each LINQ method needs an enumerator, which, since it's typed as an interface, cannot be stack-allocated, even for value types (like List<T>'s enumerator). For Roslyn they noticed that the additional GC pr
650.
▲
by
ygra
7y ago
They are contextual keywords and not reserved. C# has never introduced new keywords that change the meaning of existing code.
651.
▲
by
ygra
7y ago
I found VS Code to be quite pleasant for C# and Python as well.
652.
▲
by
ygra
7y ago
You could do the same with 3.1 with generators, I believe.
653.
▲
by
ygra
7y ago
It's how rough.js approximates hand-drawn sketchy lines. It looks great in some cases, okay in many others, but if they diverge too much, it looks weird. I think the intent is to evoke the style of sketching where everything is stroked
654.
▲
by
ygra
7y ago
The abort was well after MaxQ, after the engines throttled up again.
655.
▲
by
ygra
7y ago
Sugiyama has layers and can be used for trees just as well (and may give nicer results for almost-trees than removing non-tree edges and routing them individually). KIELER and ELK seem to be collections of various layout algorithms, includi
656.
▲
by
ygra
7y ago
Graph drawing in general is a field full of complicated problems.
657.
▲
by
ygra
7y ago
https://github.com/brho/plan9/blob/89d43d2262ad43eb4b26c2a8d... seems to be a global variable. https://9fans.github.io/plan9port/man/man3/arg.html also references it.
658.
▲
by
ygra
7y ago
Why? You can always reject a job offer, but you can't materialize one out of thin air when there is none.
659.
▲
by
ygra
7y ago
... wouldn't really run on the test hardware, would it?
660.
▲
by
ygra
7y ago
The words you're looking for are italic and oblique :-) One is a different design, the other simply the same letterforms slanted.
More ›