Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ygra
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
72 ms
·
721.
▲
by
ygra
7y ago
Which is basically a VM. It's not that the Windows kernel isn't running even when using WSL.
722.
▲
by
ygra
7y ago
Back in the day Notepad had a 32K file size limit as well. No stalling, but also no viewing your log file that way.
723.
▲
by
ygra
7y ago
Ah, learned something new today. Thanks.
724.
▲
by
ygra
7y ago
The C# (and other .NET compilers) treat an assembly as the smallest unit they will emit. You'd have to change that to some semblance of "object files" instead along with a "linker" step afterwards to allow for an as
725.
▲
by
ygra
7y ago
Annotations don't work for local variables, though. So you only get nullability checking around calling methods and accessing fields, right?
726.
▲
by
ygra
7y ago
I was surprised when the PowerShell team announced that Out-GridView made a reappearance in PowerShell Core, built with Avalonia. So at least someone at Microsoft took notice. I'm really rooting for the project to gain some support. Ri
727.
▲
by
ygra
7y ago
This isn't really due to MSBuild, as the C# compiler has that limitation already. MSBuild just calls it. Basically a single assembly has to be written in the same language. You could probably get something similar with multiple assembl
728.
▲
by
ygra
7y ago
https://github.com/Microsoft/msbuild It's also fairly well documented: https://docs.microsoft.com/en-us/visualstudio/msbuild/msbuil...
729.
▲
by
ygra
7y ago
Python is interpreted bytecode. This means that for every small instruction on the bytecode there's a round trip to the Python interpreter that has to execute that instruction. This is faster than parsing and interpreting at the same t
730.
▲
by
ygra
7y ago
Not necessarily just those things. A foreach loop might have a heap allocation, async/await almost certainly, calling a method with a params[] parameter as well. Everything you call from the BCL might allocate, too and it's not al
731.
▲
by
ygra
7y ago
I hope. But I don't hold my breath before .NET 5. 3.0 is all about getting Windows Desktop scenarios to .NET Core. Not many of the people who require those would benefit from a cross-platform framework, as neither Windows Forms nor WPF
732.
▲
by
ygra
7y ago
In fact, the techniques for C# here would be pretty much the same as for C++ or C: Don't do dynamic allocation in the hot path. And if you must, keep the lifetime short so it gets cleaned up predictably (usually in gen0). However, for
733.
▲
by
ygra
7y ago
It would conflict with this, though: > ProjectPSX dosn't use any external dependency and uses rather simplistic C# code. And for a learning project I think the ability to download the code and get it to run immediately without hunti
734.
▲
by
ygra
7y ago
NTFS with default settings will actually degrade a fair bit on such a folder. You probably have to disable 8.3 legacy filename generation to make this work (or the usual pattern of using the file name prefix as folder names beneath that fol
735.
▲
by
ygra
7y ago
Also things like "My Computer", the recycle bin, the network, phones connected via MTP, etc. It's basically something the actual file system is only a part of, and yes, some file system locations are hidden, some are merged,
736.
▲
by
ygra
7y ago
Well, that's because Explorer doesn't navigate the file system, but the shell namespace.
737.
▲
by
ygra
7y ago
They also had the drone ship names around the landing circle in the earlier days. Seems pretty much to be the same point.
738.
▲
by
ygra
7y ago
> Because rebasing was literally an afterthought - a plugin Hg extensions are just as much part of hg as the core functionality. It's just that they're opt-in parts many users don't need and thus don't have to see. If
739.
▲
by
ygra
7y ago
The linker, though ...
740.
▲
by
ygra
7y ago
On Windows you get WSL.
741.
▲
by
ygra
7y ago
It might be disallowed by XML already.
742.
▲
by
ygra
7y ago
It reminded me a bit of James Mickens’ writings. Not quite as weird and insane as him, but close.
743.
▲
by
ygra
7y ago
Developer productivity when building or redesigning a UI is often far more important than raw performance. There's usually no noticeable difference for a user whether the dialog they opened via a button click is built in highly optimiz
744.
▲
by
ygra
7y ago
Aren't there still 32-bit versions of Windows 10? AFAIR only the server versions are 64-bit only by now.
745.
▲
by
ygra
7y ago
Is there any reason to ever use it (or: Why does it still exist)? In-memory databases for caches or other things that are not critical? I have to admit, I was astounded when I first got the error message from MySQL that a table was corrupte
746.
▲
by
ygra
7y ago
Most modern browsers cache a lot of data in memory as well to make things like navigating back snappy and avoiding a full page re-load. It's also necessary to cache most of the state of the previous page to allow retaining form fields
747.
▲
by
ygra
7y ago
Lookbehind is restricted in many regex engines that support it (many don't at all). Some require the lookbehind to be constant-length (so if you have alternatives in there, they all have to have the same length, and you can't use
748.
▲
by
ygra
7y ago
Doesn't just Mono have an interpreter (which is now being added as part of tiered compilation)? Aside from .NET Micro. I was under the impression that .NET by and large was JIT-only. Yes, by now it's more complex, and there have b
749.
▲
by
ygra
7y ago
Considering that terminals can display images just fine you'll have a hard time convincing Unicode that you need arbitrary pixel sets because somehow images are plain text (emoji had prior usage in plain text and they have a lot more s
750.
▲
by
ygra
7y ago
Not most cars I've seen so far, but most filling stations also have hoses long enough to reach around the car, so unless you drive a battleship or a tank, it doesn't really matter.
More ›