Better HN
topnewbestaskshowjobs
Log inSign up

S04dKHzrKT

205 karma · joined Jan 27, 2020 (6y ago) · 57 submissions

Submissions

comment 3mo ago · link · parent

Like the sibling comment mentioned, there's still lots of .net framework apps that target IIS. I haven't used IIS in about 15 years, but this looks like it provides a similar feature set to what Octopus Deploy had back then (Octopus seems to have changed a lot since then). i.e. more than what VS deployment can do.

comment 5mo ago · link · parent

If anyone responsible for the site's CSS happens to see this, the fixed height in pixels of #header causes the nav bar links to be partially obscured making them more difficult to click. My current window's width is 1600.

comment 8mo ago · link · parent

This is where attestation/sigstore comes into play. Github has a first-party action for it and I wish more projects would use it. Regarding javascript specifically, I believe npm has builtin support for sigstore.

* https://docs.github.com/en/actions/concepts/security/artifac...

* https://www.sigstore.dev/

* https://github.com/actions/attest

comment 8mo ago · link · parent

Just an FYI, Stride isn't related to MonoGame or XNA. Stride was originally Paradox (and then Xenko) made by Silicon Studio. They eventually open sourced it and let the community take over.

The lead architect (I think) of Xenko also wrote SharpDX which MonoGame used for a while though.

comment 9mo ago · link · parent

Stride runs on the latest version of dotnet and c#. I don't have enough experience with it to know its pros and cons though.

https://www.stride3d.net/

comment 1y ago · link · parent

Depending on your usage, you may not need a separate app. Jetbrains[0], Visual Studio[1] and VSCode[2] have support for http files.

[0]: https://www.jetbrains.com/help/idea/http-client-in-product-c...

[1]: https://learn.microsoft.com/en-us/aspnet/core/test/http-file...

[2]: https://marketplace.visualstudio.com/items?itemName=humao.re...

comment 1y ago · link · parent

For anyone wanting to follow C#'s progress on sum types and exhaustive pattern matching, you can follow/participate in the proposal[1].

[1]: https://github.com/dotnet/csharplang/issues/8928

comment 1y ago · link · parent

Your second paragraph sounds like you're describing Avalonia. Avalonia has AOT, compile-time binding errors and cross-platform support. Maybe there have been some updates since you last tried it? I'm not very familiar with Avalonia or WPF though so maybe there's more to it than that.

[0]: https://docs.avaloniaui.net/docs/basics/data/data-binding/co...

[1]: https://github.com/kekekeks/XamlX

comment 1y ago · link · parent

In the dotnet world, SQLx is more analogous to F# type providers like FSharp.Data.SqlClient , SQLProvider or Rezoom.SQL.

comment 1y ago · link · parent

There are very few F# specific features used in the book. I imagine you could follow along pretty easily with any other functional language. You can easily use F# for the book and then apply the lessons learned to another language when you're done too. It mainly shows how to use sum types, product types and function composition to implement DDD.

I'm not sure what tendencies you're referring to though. F# has been around for 20 years and has only gotten better over time.

comment 1y ago · link · parent

> ^ Has C# projects on github. Don't think that statement is true.

Why?

comment 1y ago · link · parent

Make note of the privacy policy[1]. Some users may not like the data they collect.

> Information Collected from Children: As detailed in Section 3.C, we collect voice audio during calls, call log information, and utilize the Parent-provided contact list in relation to the Child's use of the Tin Can Device. We may also collect device identifiers and technical usage data related to the Service.

[1]: https://tincan.kids/policies/privacy-policy

comment 1y ago · link · parent

In a similar vein, I had Western Digital Raptors striped in my gaming PC in the mid 2000s. I remember just how amazed I was after moving to SSDs.

comment 1y ago · link · parent

Real Programmers use ed. https://xkcd.com/378/

comment 1y ago · link · parent

Here's the language proposal for those that are interested.

https://github.com/dotnet/csharplang/issues/8928

comment 1y ago · link · parent

PBS Spacetime has a good video on how Earth moves through the universe based on multiple reference frames for anyone interested.

https://www.youtube.com/watch?v=1lPJ5SX5p08

comment 2y ago · link · parent

When you have a site with a fixed, tiny amount of users, I'd opt for HTTP basic auth (via HTTPS). Whether you're using nginx, Traefik, Caddy, etc..., it's very easy to setup. If you're using something like Cloudflare Pages, I would guess you could setup a worker to handle it for you (though I'm not familiar enough with workers to be sure).

comment 2y ago · link · parent

That's funny. I thought of a different XKCD. Deadlifting for a brute force-attack. https://xkcd.com/37/

comment 2y ago · link · parent

> "do you want chemicals in your water"?

This argument, in any context, always reminds me of the fluoride episode of Parks and Rec.

https://www.youtube.com/watch?v=8c0JrJdJrBA

comment 2y ago · link · parent

I like these kinds of visualizations for big things. Reminds me of "1 pixel wealth." https://mkorostoff.github.io/1-pixel-wealth/

comment 2y ago · link · parent

Lawrence Krauss has given a talk that mentions something similar. He says that we live in a good time because we can still see "everything" around us. At some point in the far future, any observers won't be able to determine many things about the universe because the "stuff" in it will be too far away to observe.

https://youtube.com/watch?v=7ImvlS8PLIo @ 50:57

comment 2y ago · link · parent

Jetbrains' .DotSettings file is a specific example. It contains things like project specific dictionaries for the IDE's spell checker.

comment 2y ago · link · parent

hunter2

comment 2y ago · link · parent

I've found the same to be true as well.

comment 2y ago · link · parent

Not quite closed. The compiler generated protected constructor can still be used.

    public record UhOh<A> : Maybe<A>
    {
        public UhOh() : base(new Maybe<A>.Nothing())
        {
        }
    }

    Maybe<int> m = new UhOh<int>();

comment 2y ago · link · parent

Do note that record types aren't closed even with a private constructor. The compiler will generate a protected constructor for copy operations which can then be inherited from. To prevent this, you have to define your own protected constructor and have it throw a runtime exception if it isn't a valid case.

comment 2y ago · link · parent

That's for Avalonia XPF, their product that runs WPF apps on Linux and Mac. Avalonia UI is free and licensed under the MIT license.

comment 2y ago · link · parent

If you use IntelliJ based products, the builtin HTTP Client is awesome. https://www.jetbrains.com/help/idea/http-client-in-product-c...

comment 2y ago · link · parent

Key & Peele have a good comedy sketch covering that. https://www.youtube.com/watch?v=naleynXS7yo (NSFW language)

comment 2y ago · link · parent

A couple alternatives to WaniKani are:

* https://kanji.garden/

* https://www.readthekanji.com (includes hiragana and katakana as well)

You can also use the following for just memorizing hiragana and katakana:

* https://djtguide.neocities.org/kana/

* https://www.kana.pro/

And then there are online resources like the following that provide a guided, DIY approach to learning Japanese as a whole:

* https://www.tofugu.com/learn-japanese/

* https://guidetojapanese.org/learn/

* https://docs.google.com/document/d/10bRzVblKVOsQJjTc2PIi1Gbj...

12