[-] Kissaki@programming.dev 12 points 5 months ago

My [own] projects don't get popular, so having issues enabled doesn't cause issues. :P

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

Great analysis / report. At times a bit repetitive, but that could be useful for people skimming or jumping or quoting as well.


Despite 91% of CTOs citing technical debt as their biggest challenge, it doesn’t make the top five priorities in any major CIO survey from 2022–2024.

Sad. Tragic.


I'm lucky to be in a good, small company with a good, reasonable customer, where I naturally had and grew into having the freedom and autonomy to decide on things. The customer sets priorities, but I set mine as well, and tackle what's appropriate or reasonable/acceptable. Both the customer and I have the same goals after all, and we both know it and collaborate.

Of course, that doesn't help me as a user when I use other software.


Reading made me think of the recent EU digital regulations. Requiring due diligence, security practices, and transparency. It's certainly a necessary and good step in the right direction to break away from the endless chase away from quality, diligence, and intransparency.

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

I understand the need for full detailed reasoning, but that legalese document is not approachable or accessible.

I wish they had at least given a plain language summary of the changes they intend to make. For full reasoning you could still refer to the whole document.

I guess I'll trust the EFF in their interpretation.


Numerous invalid patents have been granted in the past, and had to be challenged to be corrected.
These suggested changes are horrendous for a just or sustainable patent system.
There may be opportunities for change or efficiency gains, but blocking and evading challenges in various ways is not a good approach. It excessively favors patent trolls which act maliciously and damaging to other companies, the economy and society at large.

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

While I agree with the later (or middle?) points, maybe for different reasons or maybe I would have reasoned differently, I mostly disagree with the earlier points.

Any really important comments get lost in the noise

What kind of comments are they using?

When I leave comments on GitLab they're threads that get resolved explicitly. GitHub also uses resolvable threads. The assignee/creator goes through them one by one, and marks them as resolved when they feel they're done with them. Nothing gets lost like that.

I also make use of '⚠' to mark significant/blocking comments and bullet points. Other labels, like or similar to conventional comment prefixes, like "thought:" or "note:", can indicate other priorities and significance of comments.

Instead of leaving twenty comments, I’d suggest leaving a single comment explaining the stylistic change you’d like to make, and asking the engineer you’re reviewing to make the correct line-level changes themselves.

I kinda agree, but I often leave the comment on the/a code in question, and often add a code change suggestion to visualize/indicate what I mean. This comment may stand in and refer to all other occurrences of this kind of thing. It doesn't have to apply exclusively on those lines.

Otherwise you’re putting your colleagues in an awkward position. They can either accept all your comments to avoid conflict, adding needless time and setting you up as the de facto gatekeeper for all changes to the codebase, or they can push back and argue on each trivial point, which will take even more time. Code review is not the time for you to impose your personal taste on a colleague.

I make sure that my team has a common understanding of, and the comments adding sufficient context/pretext to make it clear, that code change suggestions and "I would have [because]" are usually or in general can be freely rejected, unless specified otherwise. Often, comments include information of how important or not changes are to me, in comments themselves, and/or comments summarizing a review iteration (with a set of comments). The comments can also serve as a spark for discussion about solutions and approaches, common goals or eventual goals of the changed code that may be targeted after the code changes currently under review.

Review with a “will this work” filter, not with a “is this exactly how I would have done it” filter

I wouldn't want to do it like that, specifically. It's a question of weighing risks and medium and long term maintainability vs delivery, work, changeset, and review complexity and delay. Rather than "will this work", I ask my self, "is this good enough [within context]".

Leave a small number of well-thought-out comments, instead of dashing off line comments as you go and ending up with a hundred of them

Maybe I've had too many juniors to get into this mindset. But I've definitely had numerous times where I did many comments on reviews, even again on successive iterations. Besides reviewing the code technically, the review can also serve as a form of communication, assimilation, and teaching (project an codebase at hand, work style, and other things).

It's good to talk about concerns, issues, and frustrations, as well as upsides of doing so and working like that. Retrospectives and personal talks or discussions can help with that. Apart from other discussion, planing, and support meetings, the review is the interface between people and a great way to communicate.

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

That goes directly against the open, transparent development model of the Linux Kernel.

When you're developing in the open, everything becomes "public relations".

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

When you're working for Heinz, is it a mustard bottle?

[-] 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.

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

Very interesting. A trove of experience and practical knowledge.

They were able to anticipate most of the loss scenarios in advance because they saw that logical arguments were not prevailing; when that happens, ""there's only one explanation and that's an alternative motive"". His ""number one recommendation"" is to ensure, even before the project gets started, that it has the right champion and backing inside the agency or organization; that is the real determiner for whether a project will succeed or fail.

Not very surprising, but still tragic and sad.

31
I found commit 0 (github.com)
submitted 2 years ago* (last edited 2 years ago) by Kissaki@programming.dev to c/git@programming.dev

What are the chances of the parent also beginning with seven zeroes?

I suspected author or commit date manipulation. But the commits look entirely like normal commits. So it must be pure chance?

  • 00000003dd63b4c5af111a31269ed8a18d0823fa
  • 0000000ae6a4e242e802c943f465373b70b07469
7

cross-posted from: https://programming.dev/post/27181555

Highlights:

  • Support for Background Jobs
  • Official .deb, .rpm, and .apk packages
  • Custom Command Attributes (@example, @search-terms)
  • std-rfc Module (experiments considered for the std lib)
  • Improvements to LSP
  • Improvements to Reedline Vi-mode
1

Highlights:

  • Support for Background Jobs
  • Official .deb, .rpm, and .apk packages
  • Custom Command Attributes (@example, @search-terms)
  • std-rfc Module (experiments considered for the std lib)
  • Improvements to LSP
  • Improvements to Reedline Vi-mode
1
16
submitted 2 years ago* (last edited 2 years ago) by Kissaki@programming.dev to c/git@programming.dev

Headlines:

  • Faster packing with name-hash v2
  • Backfill historical blobs in partial clones

Followed by some more technical notes.

1

Please add a community/community scope description.

The community description currently says

CircleJerkCommunity at request of a user.

But what is a programming circle jerk? What is a circle jerk? What is desired and accepted content? What's the expectation and scope on content?

It would help understanding what content to expect (subscribe, block, keep neutral?) and what may be postable or not.

(I was surprised about some post content being in this community and wanted to check my expectation/understanding.)

10
4

cross-posted from: https://programming.dev/post/26112122

Hi, I made FuncSug to make GUI programming in the browser easier. It's a new language that aims to enable a clearer and easier code structure.

Can you tell me what you think about it?

11
176
submitted 2 years ago* (last edited 2 years ago) by Kissaki@programming.dev to c/rust@programming.dev
5

Extract to Component refactoring and the new Roslyn-based C# tokenizer are now available

This new tokenizer is not on by default until .NET 10 but is available in both Visual Studio (17.13) and Visual Studio Code for .NET 9.

To enable the C# tokenizer today, check the Use the C# tokenizer for Razor files in the IDE option under Tools > Options > Preview Features and add <Features>use-roslyn-tokenizer;$(Features)</Features> to a property group in your .csproj or directory.props file

This new lexer does currently come with some breaking changes, particularly around preprocessor directives

1
submitted 2 years ago* (last edited 2 years ago) by Kissaki@programming.dev to c/nushell@programming.dev

My website is implemented through Hugo, with content sources in Markdown. Metadata is added through a so-called "front matter" header within Markdown files. I noticed date metadata (front matter) was missing on content pages and consequently had 2001 on RSS feeds.

I used Nushell to en-mass add page dates after-the-fact, with date values determined through Git.

# Determine pages with missing date front matter (may be missing pages that have `date = ` as content)
glob **/*.md | where {|x| $x | open | not ($in | str contains 'date = ') } | save missing.json

# Determine content creation dates through Git add authoring date
open missing.json | wrap path | upsert date {|x| git log '--follow' '--diff-filter=A' '--format=%ad' '--date=iso' '--' $x.path | into datetime } | save dates.json

# Prepend date TOML front matter to closing fence
open dates.json | each {|x| $x.path | open --raw | str replace "\r\n+++\r\n" $"\r\ndate = \"($x.date | format date '%Y-%m-%d %H:%M:%S')\"\r\n+++\r\n" | collect | save -f $x.path }

Example [inline] result/fixup:

date = "2022-08-07 18:31:18"
+++

Some work details and manual cleanup (e.g. pages with resource front matter where the date declaration must be placed before them) omitted.

[-] 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.

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

Study, get a bachelors degree

That's not 6 months though

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

Gitlab will most likely use it as a big selling point once all the work has been done by externals with little to no cost to Gitlab.

I don't think so. It'd/'ll be a nice feature, and be listed as such. But it's not one of their primary selling points or marketing targets. Federation will be niche. Most useful in the FOSS space that pays little anyway.

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

They seemingly intend to offer cloud hosting with SDK integration, while also allowing to setup your own Kubernetes cluster.

There's no sign of them maybe revoking open source. Quite the contrary.

view more: ‹ prev next ›

Kissaki

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