[-] [email protected] 4 points 1 week ago

FYI Submitting an image in the Lemmy "create post" submittion form overrides the URL feild. I'm not sure if anyone submitted a bug about this.

[-] [email protected] 3 points 1 week ago* (last edited 1 week ago)

Any thoughts on how to get this up and going?

Someone is going to need to pull a lot of weight in planning, organizing, and leading these meetings, presentations, and projects.

I find that unless you communicate the time and financial cost expectations to participate in groups like this, you'll get a lot of people who are marginally interested and attached to the group and it's purpose. Which may or may not be important in a successful endeavor.

What would we need to do on our first meeting together?

Discuss the questiona you've raised here.

What things would you want to learn in this course? It seems to me that many of us are already quite literate in sub-domains of what we are interested in. Maybe a teacher carousel routine could be adopted? Where we adopt a general “roadmap” curriculum, and, in an ad hoc fashion, assign people to be the instructor for the desired lesson?

This is a what I mean by someone pulling a lot of weight, a teacher carousel has a slim to none chance of working out. One person is going to need to define and implement the vast majority of the curriculum. They'll need to do a lot of research and work in advance.

[-] [email protected] 6 points 1 week ago

It's copies everywhere

[-] [email protected] 13 points 1 week ago* (last edited 1 week ago)

I've read that. Defining a supplier as someone with whom you have a direct business relationship with seems intentionally narrow in an unhelpful way that just further muddies the waters around the issue at hand. Making something generally available to others means that you're supplying others with that thing. While it's true that you may have no further obligations to those that receive your software, the person receiving the software needs to evaluate their risks around using and depending on that software regardless of the existence of a business relationship with the supplier. Hence supply chain risk evaluation is always necessary. That risk evaluation, or lack thereof, can result in a security problem. These problems can propagate widely within a software ecosystem. This is true with and without the existence of direct business relationships between suppliers and recipients of software.

The whole article can be summarized by saying if you want support services related to the software written by others, negotiate a support agreement related to that software. That has nothing to do with taking a wide or narrow interpretation of the word supplier.

[-] [email protected] 2 points 1 week ago

You might be onto something here.

[-] [email protected] 5 points 1 week ago* (last edited 1 week ago)

Developers should think about what libraries they trust, but it seems that most of the time they'll choose whatever is most convenient for handling the immediate problems they're working to solve.

[-] [email protected] 1 points 1 week ago

I'd be nice to be able to read that article with more than one sentence appearing on the screen at time.

[-] [email protected] 8 points 1 week ago

Would you mind sharing some details around what you learned?

[-] [email protected] 8 points 1 week ago

I like Ladybird more than any of those alternatives.

[-] [email protected] 9 points 1 week ago

Federation issues are sneaky

[-] [email protected] 8 points 1 week ago

I'm fascinated by Raku myself.

[-] [email protected] 3 points 2 weeks ago

It didn't make any sense to me when it was originally announced, it still doesn't. I don't understand the project's goals or how it's supposed to reach those goals. The mission statement is incomprehensible to me.

9
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]

The presenter compares some of the functionality to Leap.nvim

28
submitted 1 month ago by [email protected] to c/[email protected]
51
submitted 1 month ago by [email protected] to c/[email protected]

Trey Hunner writes:

This article is primarily meant to act as a Python time complexity cheat sheet for those who already understand what time complexity is and how the time complexity of an operation might affect your code. For a more thorough explanation of time complexity see Ned Batchelder's article/talk on this subject.

Read Python Big O: the time complexities of different data structures in Python

-5
submitted 2 months ago by [email protected] to c/[email protected]

Isaac Harris-Holt writes:

Modern software engineering can be a bit of a nightmare. You've got all these different third-party services to keep track of, and often many first-party microservices too! As it turns out, things can be made more simple using Gleam. Let me show you how.

17
submitted 2 months ago by [email protected] to c/[email protected]

In the command-line window the command line can be edited just like editing text in any window. It is a special kind of window, because you cannot leave it in a normal way.

There are two ways to open the command-line window:

  1. From Command-line mode, use the key specified with the 'cedit' option (default CTRL-F).

  2. From Normal mode, use the "q:", "q/" or "q?" command.

  • This starts editing an Ex command-line ("q:") or search string ("q/" or "q?"). Note that this is not possible while recording is in progress (the "q" stops recording then).

When the window opens it is filled with the command-line history. The last line contains the command as typed so far. The left column will show a character that indicates the type of command-line being edited

3
submitted 2 months ago by [email protected] to c/[email protected]
7
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]

I'm sharing this Discord Message from someone that was doing their best to fill in their gaps in understanding Odin after reading the Overview documentation on odin-lang.org.

This was somewhat confusing, I could change the package foo at the top of the file and it makes no difference and everything works.

From reading this Server, I learned a lot, like this:

  • 1 - The package is only linked to the directory name (folder) and nothing else, except;
  • 2 - The files in the package directory must all have the same package foo header with the same name, but it does not have to be the same as the package directory name, just unique (see below); and
  • 3 - No two packages can have the same directory/folder name (globaly unique); and
  • 4 - No two packages can have the same package foo header names (i.e., must be globally unique but not tied to any package (directory) name needed - but would be a good idea, I mean why not...);
  • 5 - You cannot have cyclical imports - ever;
  • 6 - The package foo header seems powerless for the most part as far as programmer use, but I read it is used by the ABI as a prefix for symbols in the final binary;
  • 7 - Sub-packages do not exist, so even nested directories are standalone packages and also do not infer dependence;
  • 8 - In Odin you should put as much in one package as possible and do not use packages for namespaces since it will not work (see using) and do not use packages to organize your files, see 9 for proper reason to use packages;
  • 9 - Use separate packages only as reusable (stand alone) libraries;
  • 10 - Organize files within a package directory by their filenames (ala Java) and not subdirectors for all the reasons above; which is what I will do using snake case for the file names.

If I blew it above let me know.

imho the Overview would do better to include a little more detail like some of the stuff above. When I searched this server I found a huge amount of the above and just cobbled it together from 6-7 posts. I think what was not clear from the overview was: 1, 5, 6, 7 (its there but not clear), 9. It is clear that many people are confused by this, but on the bright side searching the Discord was very useful.

gingerBill indicated this is a common source of confusion for newcomers to Odin:

package name has nothing to do with the thing you import.

This is probably one of the most confusing things about Odin's packages. The exist for stable ABI and consistent linking names.

Hopefully, I can create a minimum working example that can be illustrative for others and have a PR merged into the Overview documentation. Until then I just want something that can be found outside of Discord for other learners.

10
submitted 2 months ago by [email protected] to c/[email protected]

Niklas Gray writes:

I often find that when I work on the low level implementation of something I discover ideas that I can bring back and use to inform the high level design — to make it easier to work with, more performant, more orthogonal, etc. Thus, the flow goes back and forth from high-level to low-level, instead of just in one direction. If I’m stuck in some part of the high-level design, starting to work on the implementation is often the best way to get unstuck.

One such idea, which is really simple, but tends to lead to better and simpler code, is the idea of defaulting to zero. I.e. to always use 0 as the default or nil value. For example...

Read Defaulting to Zero

4
submitted 2 months ago by [email protected] to c/[email protected]

Bayman, Emine Ozgur PhD*; Dexter, Franklin MD, PhD, FASA†. Multicollinearity in Logistic Regression Models. Anesthesia & Analgesia 133(2):p 362-365, August 2021. | DOI: 10.1213/ANE.0000000000005593

11
submitted 2 months ago by [email protected] to c/[email protected]
6
submitted 2 months ago by [email protected] to c/[email protected]
9
submitted 2 months ago by [email protected] to c/[email protected]
view more: ‹ prev next ›

ericjmorey

joined 1 year ago
MODERATOR OF