Better HN
topnewbestaskshowjobs
Log inSign up

ivankahl

121 karma · joined Sep 3, 2018 (8y ago) · 23 submissions

Submissions

1.

Why AI Slop Is a Human Problem(ivankahl.com ↗)

2 points · by ivankahl · 1mo ago · discuss

2.

Modeling Complex Business Processes in REST APIs(blog.ivankahl.com ↗)

2 points · by ivankahl · 7mo ago · discuss

3.

Decompiling the New C# 14 field Keyword(blog.ivankahl.com ↗)

76 points · by ivankahl · 11mo ago · 36 comments

comment 1y ago · link · parent

What are your organization's expectations or policies regarding PR size and acceptable AI usage? Even if your organization hasn't set any expectations, what are yours—and have you communicated them to the author?

If expectations have been shared and these changes contradict them, you can quickly close the PR, explain why it's not acceptable, and ask them to redo it.

If you don't have clear guidelines on AI usage or haven't shared your expectations, you'll need to review the PR more carefully. First, verify whether your assumption that it’s a simple service is accurate (although from your description, it sounds like it is). If it is, talk to the author and point out that it's more complicated than necessary. You can also ask if they used AI and warn them about the complexities it can introduce.

comment 1y ago · link · parent

Thanks for the upvotes! While testing and writing about the feature, I suspected it would receive mixed reactions.

The `?.` operator behaves similarly on the LHS to the RHS, making the language more consistent, which is always a good thing. In terms of readability, I would say that once you understand how the operator works (which is intuitive because the language already supports it on the RHS), it becomes more readable than wrapping conditionals in `if` statements.

There are downsides, such as the overuse I mentioned. But this is true for many other language features: it requires experience to know when to use a feature appropriately, rather than applying it everywhere.

However, the great thing about this particular enhancement is that it's mostly cosmetic. Nothing prevents teams from not adopting it; the old syntax still works and can be enforced. C# and .NET are incredibly versatile, which means code can look dramatically different depending on its context and domain. For some projects, this feature might not be needed at all. But many codebases do end up with various conditional assignments, and in those cases, this can be useful.

6.

What's New in C# 14: Null-Conditional Assignments(blog.ivankahl.com ↗)

170 points · by ivankahl · 1y ago · 163 comments

7.

What's New in C# 14: User-Defined Compound Assignments(blog.ivankahl.com ↗)

3 points · by ivankahl · 1y ago · discuss

comment 1y ago · link · parent

Agree with this. I love that Grammarly is integrated into everything, and I don't have to switch to an AI chat for minor text edits.

9.

Introduction to Aspect-Oriented Programming in .NET with Autofac Interceptors(ivankahl.com ↗)

3 points · by ivankahl · 5y ago · discuss

10.

Moon.js – Lightweight, functional React-alternative(moonjs.org ↗)

4 points · by ivankahl · 5y ago · discuss

11.

Three Methods to Convert Strings into Enums in C#(ivankahl.com ↗)

1 points · by ivankahl · 5y ago · discuss

12.

Using Config.net for .NET Application Configurations(ivankahl.com ↗)

2 points · by ivankahl · 6y ago · discuss

comment 6y ago · link · parent

Interesting will definitely check this out

comment 6y ago · link · parent

Hi guys,

I recently wanted to embed a draw.io diagram in Notion but couldn’t get it to work with the default Export as URL option in draw.io as it doesn’t load correctly in Notion.

This led me to build this super simple HTML page that I can use to specify the draw.io link and then get a link that can be embedded in Notion.

So far it’s worked really well for me so I thought I’d polish it up and share it with everyone in case you maybe find it useful!

Thanks!

15.

Show HN: Embed Draw.io in Notion(github.com ↗)

5 points · by ivankahl · 6y ago · 3 comments

16.

Self-assigning Method Call Syntax (C#)(twitter.com ↗)

2 points · by ivankahl · 6y ago · 1 comment

17.

PayID – The Universal Payment Identifier(payid.org ↗)

4 points · by ivankahl · 6y ago · discuss

18.

Comprehensive Guide to Custom DateTime String Formats in C#(ivankahl.com ↗)

2 points · by ivankahl · 6y ago · discuss

19.

Standardization vs. Innovation (2014)(futureofcio.blogspot.com ↗)

2 points · by ivankahl · 7y ago · discuss

20.

SMTP, IMAP and POP Settings for Popular Email Providers(ivankahl.com ↗)

3 points · by ivankahl · 7y ago · discuss