[-] Kissaki@programming.dev 11 points 4 months ago

The quoted text makes no sense. It has gaps. And the comment you dismissed seemingly pointed that out.

Websites don't have a file system. They serve content as responses.

PHP is not a filesystem. ASPNET is not a filesystem.

You could be talking about managing files, you could be talking about sourcing web responses from local files, or you could be talking about something else.

[-] Kissaki@programming.dev 11 points 9 months ago* (last edited 9 months ago)

A comment late in the thread says none of the LLMs even use the PR-suggested llms.txt.

[-] Kissaki@programming.dev 11 points 1 year ago

cdrewind Rewind CDROMs before ejection.

lol wut

[-] Kissaki@programming.dev 11 points 1 year ago

Why is single line comments listed when it's green for all of them? Do they not have multi-line comments?

[-] Kissaki@programming.dev 11 points 1 year ago

When did you first hear of Godot?*

I don't know man. Required field. No fitting option. Guess I'll leave.

[-] Kissaki@programming.dev 11 points 2 years ago* (last edited 2 years ago)

One of the principles of the Pythonic style is: simple is better than complex.

But is it when you consider ambiguity and expressiveness too?

len(mylist) tells me it's definitely a list and not null or whatever. It also tells me the intent of whoever writes the code was checking length.

If it requires a long article to explain, I'd certainly be hesitant to use and prefer. The question is, is it surprising or intuitive that the truthy becomes a length check. What do you want to express with your code. And who will read it, and what expectations and requirements do you want to require of them.

For sequence type objects, such as lists, their truth value is False if they are empty.

[-] Kissaki@programming.dev 11 points 2 years ago

Did you not do code reviews? It's the main thing I would miss. Being able to comment in-line, and manage iterations, is very valuable to me.

9
4

Whether you are using Expecto, MSTest, NUnit, TUnit, or xUnit.net, you can now leverage the new testing platform to run your tests.

In this post, we’ll highlight the test frameworks that have embraced Microsoft.Testing.Platform, share their unique characteristics, and provide resources for getting started.

10

The !just_a_test@programming.dev community is an empty, dead community created (moderated) by an inactive, empty account.

I would prefer it if it were deleted so as not to clutter the instance community list.

Does this instance have a concrete guideline or precedent for that or would be able to decide at the discretion of an admin?

1

I added two solutions to the Rosetta Code FizBuzz page in Nu.

The one that was already there was quite confusing/non-intuitive to me; with string determination, and by index value fixups.

I like the match solution because it's structurally obvious and demonstrates the record-field-value match and logical case matching:

1..100 | each {
  { x: $in, mod3: ($in mod 3), mod5: ($in mod 5), }
  | match $in {
    { mod3: 0, mod5: 0, } => 'FizzBuz',
    { mod3: 0, mod5: _, } => 'Fizz',
    { mod3: _, mod5: 0, } => 'Buzz',
                        _ => $in.x
  }
} | str join "\n"

Do you have alternative suggestions or improvements?

6

This year, we are introducing updates in the HTTP space, new HttpClientFactory APIs, .NET Framework compatibility improvements, and more.

2

This post only applies if you’re using ASP.NET Core on .NET Framework.

ASP.NET Core users on .NET Framework should update to the latest ASP.NET Core 2.3 release to stay in support. This update enables ASP.NET Core 2.2 users to update to a supported version by doing a NuGet package upgrade instead of a downgrade. ASP.NET Core 2.1 users updating to ASP.NET Core 2.3 should experience no change in behavior as the packages contain the exact same code. ASP.NET Core 2.2 users may need to remove any dependencies on ASP.NET Core 2.2 specific changes. Any future servicing fixes for ASP.NET Core on .NET Framework will be based on ASP.NET Core 2.3.

Microsoft making changes for something five years out of support (the 2.2 version).

lol at every instance of ASP.NET becoming a link here

1

Nushell is a powerful shell and scripting language with strong typing, querying, and piping functionalities.

This release adds runtime pipeline input type checking, several new commands and operators, and various other miscellaneous improvements.

42
I Stopped Using Matrix - Tatsumoto (tatsumoto.neocities.org)
submitted 2 years ago* (last edited 2 years ago) by Kissaki@programming.dev to c/opensource@programming.dev

What ultimately pushed me to leave Matrix was discovering that my homeserver's admin was using my account without my consent.

In an encrypted room even with fully verified members, a compromised or hostile home server can still take over the room by impersonating an admin. That admin (or even a newly minted user) can then send events or listen on the conversations.

…, I've decided to move my conversations over to SimpleX.

For the past few months, the Matrix community has been largely inactive (despite having over 5,000 members), while the Telegram community has remained much more vibrant. This is disappointing given that I have been a strong advocate for using Matrix and have promoted it widely. For some reason, people are not moving to Matrix at the rate I had hoped.

14
[-] Kissaki@programming.dev 11 points 2 years ago* (last edited 2 years ago)

Is ur an English word? Known meaning in English languages? I don't think so? I'm surprised they don't mention why they name it ur-languages.

In German, the word prefix ur means origin, stemming from the word Ursprung (origin). Which makes sense as origin-languages. And could have been named origin-languages, honestly.

31
19

GitHub repo

Examples

> (15 kg/m) * 7cm
# (((15 * kg) / m)) * 7 * cm
out = 1050 * g
> 1 |> cos |> log
# 1 |> cos |> log
out = -0.6156264703860141
> display dev
# Display mode: dev (Developer)
>>> 1.5
# 1.5
out = 1.5
    # IEEE 754 - double - 64-bit
    #
    = 0x_3FF80000_00000000
    = 0x____3____F____F____8____0____0____0____0____0____0____0____0____0____0____0____0
    #    seee eeee eeee ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff
    = 0b_0011_1111_1111_1000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000
    #   63                48                  32                  16                   0
    #
    # sign    exponent              |-------------------- fraction --------------------|
    =   1 * 2 ^ (1023 - 1023) * 0b1.1000000000000000000000000000000000000000000000000000
10
[-] Kissaki@programming.dev 11 points 2 years ago* (last edited 2 years ago)

The items don't seem concise and always clear. But seems like a good, inspiring resource for things to consider.

If it is expected that a method might fail, then it should fail, either by throwing an Exception or, if not - it should return a special case None/Null type object of the desired class (following the Null Object Pattern), not null itself.

I've never heard of evading null with a Null object. Seems like a bad idea to me. Maybe it could work in some language, but generally I would say prefer result typing. Introducing a result type wrapping or extending the result value type is complexity I would be very evasive to introduce if the language doesn't already support result wrapper/state types.

[-] Kissaki@programming.dev 11 points 2 years ago

Funny to read VSCode described as an IDE.

Why would VSCode not be called an IDE?

[-] Kissaki@programming.dev 11 points 2 years ago* (last edited 2 years ago)

generate 32-char-pw -> "Must not be longer than 20" 🤨

generate 32-char-pw -> "you must include a specific special character" 🤨

below 10 characters is truly atrocious - and thankfully rare

[-] Kissaki@programming.dev 11 points 2 years ago* (last edited 2 years ago)

if there is someone willing to take over the PR so we can add you as a community supported community

Done https://github.com/godotengine/godot-website/pull/841

view more: ‹ prev next ›

Kissaki

0 post score
0 comment score
joined 3 years ago
MODERATOR OF