Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
useerup
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
useerup
2y ago
Death is a moral responsibility. You owe your existence to evolution. Evolution would not work if we had to compete for resources with all of the organisms that came before us when they didn't die off. Death is an integral part of livi
2.
▲
by
useerup
2y ago
Microsoft has ported CLR (.NET Core) to Webassembly and it runs in the browser. You can indeed run CLR code in the browser. That is how Blazor works
3.
▲
by
useerup
2y ago
So much was so right about PowerShell. But it failed to attract a wider audience, and in their quest to woo Linux devs Microsoft has been undermining PowerShell lately. Knowing what PowerShell offers, falling back to bash CLI tools feels
4.
▲
by
useerup
2y ago
The first .NET Blazor "webassembly" was the .NET runtime ported to Webassembly, but where developer code would actually be the same type of IL (Microsoft's Intermediate Labguage) as .NET runs on Windows and Linux. Unlike thos
5.
▲
by
useerup
2y ago
> Worse, it won't ever work if you intended it to be a JavaScript replacement because it cannot integrate into the interaction of the surrounding page, because it is a sandbox without compromise That is a pretty bold statement consi
6.
▲
by
useerup
3y ago
I believe because the C# version has been written using rectangular arrays. This requires every array access to use a multiplication. The Java version uses array-of-arrays and hoisting the inner array out before accessing it in the inner lo
7.
▲
by
useerup
3y ago
I use grocery store apps where I can scan the items with my phone as I put them in my bag. Checkout is then only swipe to pay. There are occasional random inspections, otherwise I completely skip the checkout lines.
8.
▲
by
useerup
3y ago
Here in Denmark we also have a driver's license app. The app has a feature through which the user can identify themself to another party using the same app on their phone. When used to identify, the app displays a series of QR codes wh
9.
▲
by
useerup
3y ago
Blazor - until .NET 8 - came in Blazor Server and Blazoe Webassembly variants. Blazor Server renders the DOM at the server and sends it to the browser. The server also holds on to some state for each client - notably the "current DOM&q
10.
▲
by
useerup
3y ago
A cube of water 1cm * 1cm * 1cm = 1cm^3 has a mass of 1 gram. A cube of water 1m * 1m * 1m is 1000 liters and has a mass of 1000 kg The SI units are supposed to be related like that.
11.
▲
by
useerup
3y ago
This comment make me question if you really have any experience with LINQ. If you had, you would not make a comment where you seem to think that LINQ is used only for data access. LINQ is (at the most basic level) list comprehensions done b
12.
▲
by
useerup
3y ago
> Unfortunately basic mistakes can result in so many of those N+1 type queries if you're not careful. It can also result in reading entire table(s), possibly inside those nested N+1s. I don't know which "basic mistake"
13.
▲
by
useerup
3y ago
I dont think EF ever did that. However, if you used automatic lazy loading and you somehow inadvertently referenced the collection, then yes, it would lazy load the related entities.
14.
▲
by
useerup
3y ago
> Sooo it’s dapper with string interpolation override to make queries parameterized so you don’t need to manually put the parameters on as 2nd arguments? Pretty much. C# does some really cool innovations around string interpolation which
15.
▲
by
useerup
3y ago
Blazor computes the DOM deltas in webassembly/.NET code in the browser and then sends those deltas to the translation layer which then performs the changes to the DOM. This process would get a considerable performance boost if webassem
16.
▲
by
useerup
3y ago
Actually, many western number systems have traces from base 20. Just consider how you have names for numbers up until 20. In Danish, the way we name numbers are heavily inspired by French, which also exhibit traces from base 20. The name
17.
▲
by
useerup
3y ago
> Any other suggestions? Futhark: https://futhark-lang.org/
18.
▲
by
useerup
3y ago
> Microsoft also seems to be prioritizing Typescript and Node internally with its recent moves. You may want to look at Blazor Webassembly ( https://dotnet.microsoft.com/en-us/apps/aspnet/web-apps/blaz.
19.
▲
by
useerup
4y ago
Summary is a bit misleading. This is about the fourth vaccine shot (2nd booster if you will). Vaccines are still recommended (and free) in Denmark if you are not vaccinated yet. The fourth shot is offered to above-50 residents and below-50
20.
▲
by
useerup
4y ago
> Blazor Server requires a peristent websocket connection to each client to execute the C# code you write on the client and maintain state Blazor Server retains the circuit for up to 3 minutes if the connection is lost, so you do not loo
21.
▲
by
useerup
4y ago
> Does anyone else get the feeling that we (as a field) are missing something basic about concurrency? Like there's a really elegant solution just around the corner, that has the low overhead of async/await without the complexi
22.
▲
by
useerup
5y ago
The "Sdk.Web thing" is the way the project is built. As I and several people in this thread has pointed out to you, the application the resulting application is not a "web" application. It is a console app that launches
23.
▲
by
useerup
5y ago
I did. It works. The above code lines are cut directly from a test project that I made. Several people have pointed out how a web app in .NET 5/6 is really a console app which only starts a web server configured with an application and
24.
▲
by
useerup
5y ago
1. Create a new web project (it is actually a console app) 2. In program.cs add the following lines at the top: Console.Write("Port number:"); var port = int.Parse(Console.ReadLine()); 3. Change the bottom line App.Ru
25.
▲
by
useerup
5y ago
Yes. Almost all DBMSs has a way to delimit table/column names (for instance when a name contains spaces or special characters. However, proper DBMSs expose parameters as 1st class concepts through the API. That has several advantages,
26.
▲
by
useerup
5y ago
> of course, in a large sense, the one that hits from behind is at fault I don't know where you live, but where I live (Denmark) brake-checking is a serious traffic offense which can lead to loss of license. While the driver behind
27.
▲
by
useerup
5y ago
`ls | sort --time` is very close to `ls | sort LastWriteTime` which is how you would do it in PowerShell. In PowerShell `ls` is only used for retrieving the filesystem objects (files and directories). It does not have options for sorting or
28.
▲
by
useerup
5y ago
> ... commands accept and parse arbitrary strings as input instead of formally specifying it like a function signature + docblock. If I could rewrite the universe, commands would use a central API for specifying the names, data types, de
29.
▲
by
useerup
5y ago
> Sure ls has a 58 (!) arguments but it's still a tool to list files ultimately. No, it has evolved into a tool to get files/directories of a directory and sort them and format them. Powershell separates those. `ls` in Powe
30.
▲
by
useerup
5y ago
It's not dynamic. It is structural typing
More ›