Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ygra
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
61.
▲
by
ygra
2y ago
It's too keen to add windows. This also is a bit annoying with churches. At least garages and sheds don't get windows by default.
62.
▲
by
ygra
2y ago
OpenStreetMap has the building outlines (sometimes even parts of the buildings) as well as tagging that specifies • wall and roof color • wall and roof material • roof shape • height (or levels, which typically is th
63.
▲
by
ygra
2y ago
While a good idea in general (the StreetComplete app makes this very easy, by the way), this won't help for this app, as the data is from September 2023. Otherwise I'd love to use it more to validate how renderers handle different
64.
▲
by
ygra
2y ago
It does use elevation data, but does not exaggerate it, I guess. Back when I was working with 3D maps, we noticed that many people liked exaggerated terrain heights better, especially when the terrain is viewed from above and realistic heig
65.
▲
by
ygra
2y ago
There's a few projects that do rendering and 3D geometry construction from OSM Data, e.g. - https://streets.gl (data outdated, sadly) - https://demo.f4map.com/ (commercial, no textures) - OSM2World (sadly n
66.
▲
by
ygra
2y ago
For PowerShell there is the PowerShell ISE (ISE.exe) which is included out of the box, I think. But that's a far cry from the simplicity of BASIC, of course. And I guess the modern equivalent is probably JavaScript in the browser, but
67.
▲
by
ygra
2y ago
I found that book in our bookcase one day and read through it twice before asking my father whether we had GW-BASIC somewhere. I ended up starting programming with QBasic instead. From there I went to Pascal, Visual Basic and eventually all
68.
▲
by
ygra
2y ago
Not even that is free of footguns, especially around argument parsing and calling native commands.
69.
▲
by
ygra
2y ago
Wasn't one way to make grep faster setting LANG=C to avoid using language-aware string comparison? If so, shouldn't Unicode be supported by default or what would, say, de_DE.UTF-8 actually compare to make it slower?
70.
▲
by
ygra
2y ago
Interestingly enough, there are no primitive types in C#; that's a Java term. I'd probably ask for what definition they're after because I can think of a few: • Types that have a type alias (that makes them special in the lan
71.
▲
by
ygra
2y ago
And the postal code.
72.
▲
by
ygra
2y ago
Isn't just the lock something that potentially needs space per object?
73.
▲
by
ygra
2y ago
Works fine in Firefox for me.
74.
▲
by
ygra
2y ago
Having done a few such forms in the past, it was easy enough for a simple dialog with a list, two buttons and a text field, but it quickly got unwieldy. Which was okay back in the day. Everyone had low display resolutions, so simply scaling
75.
▲
by
ygra
2y ago
Well, VB subclassed the Windows common controls for the most part (and their class names all's contained Thunder, so when I wanted to know whether an application was made in VB, I looked at a button with Spy++). That being said, techni
76.
▲
by
ygra
2y ago
It's not just the new CLI. I guess you could have done the same with netsh for ages as well.
77.
▲
by
ygra
2y ago
Is that due to fear of an atomic bomb or more because of the artillery pieces aimed at Seoul as well as surrounding countries being unwilling to take in large amounts of North Korean refugees?
78.
▲
by
ygra
2y ago
They can be mixed off traffic is rather low and the path is wide enough (basically plan for the encounter of a pram in one direction with a cyclist with trailer in the other direction). But that typically doesn't work for sidewalks in
79.
▲
by
ygra
2y ago
The driver's license is not an ID, though. Besides, at least in Germany you get it and then it never changes. So the photo is pretty much always outdated.
80.
▲
by
ygra
2y ago
Automatic layout can work really well if the diagram kind is known. E.g. you don't have that many arbitrary placement options for a flowchart as opposed to an arbitrary diagram. In those cases of your layout algorithm produces an okay
81.
▲
by
ygra
2y ago
When not using the format specifiers or alignment it will indeed compile to just string.Concat (which is also what the + operator for strings compiles to). Similar to C compilers choosing to call pits instead of printf if there is nothing t
82.
▲
by
ygra
2y ago
> Unfortunately Unicode retconned the ASCII apostrophe character ' to be a vertical line Unicode does not precribe the appearance of characters. Although in the code chart¹ it says »neutral (vertical) glyph with mixed usage« (next t
83.
▲
by
ygra
2y ago
The former, I'd say. https://learn.microsoft.com/en-us/dotnet/csharp/programming-... For a multi-line string the quotes have to be on their own line.
84.
▲
by
ygra
2y ago
As for C#'s triple-quoted strings, they actually came from Java before and C# ended up adopting the same or almost the same semantics. Including stripping leading whitespace.
85.
▲
by
ygra
2y ago
While this would be nice for certain applications, I'm not sure it's really needed in general. Most people writing C# don't have to know about these things, simply because it doesn't matter in many applications. If you&#
86.
▲
by
ygra
2y ago
C# has compile-time regex, which are turned into fairly reasonable code doing the matching you can even inspect. The main goal isn't to have the syntax verified during compilation (technically it happens even during editing the code),
87.
▲
by
ygra
2y ago
Perhaps they meant slugs. In German at least, both are called Schnecken (just one is naked), so perhaps that persists in other languages as well.
88.
▲
by
ygra
2y ago
Maybe after Han unification we also need a squirrel unification and leave this distinction to the font which is picked based on the region you're in ... That being said, I already cannot parse many emoji and would love tooltips what th
89.
▲
by
ygra
2y ago
Considering the methods live in the System.Linq namespace, I think the extension methods may also be called LINQ.
90.
▲
by
ygra
2y ago
I guess the very fact that LINQ is so many things makes such discussions a bit annoying at times because everyone refers to a different set of features. Is it the SQL-like query syntax? LINQ to objects? LINQ to SQL? Expression trees in gene
More ›