Dani

30 posts

Dani

Dani

@SoPraInformar

Tham gia Ekim 2022
199 Đang theo dõi2 Người theo dõi
Darren Shepherd
Darren Shepherd@ibuildthecloud·
@davidfowl I'm trying to do golang and npm and it's just slow. Basically I'm fighting the virus scanner I guess. And the slow file system. It's one of those things that if I knew what I was doing would probably be fine, but just "launch a terminal, run commands I normally run" and it's slow
English
9
0
3
1.9K
Darren Shepherd
Darren Shepherd@ibuildthecloud·
I feel bad for people that develop on windows, this is so painful. It's crazy how much windows is not designed for the "web developer" type.
English
20
0
46
12.6K
Dani
Dani@SoPraInformar·
@dimsuz @TheGingerBill @oxcrowx No, it's to encapsulate the logic that should be called. If you're using pseudo private like originally recommended, you're still designing with the same intent, it's just not enforced by the compiler
English
0
0
1
113
oxcrow
oxcrow@oxcrowx·
Public by default is wrong. It feels productive to use it for a moment. However since public API is smaller than private API, users will be annoyed when they have to later mark significantly more things as private, before they deploy their code. Then they will say Odin is bad.
GIF
English
5
2
14
7.7K
gingerBill
gingerBill@TheGingerBill·
@oxcrowx Or how about, don’t mark anything as private fully and only pseudo private.
English
4
0
66
3K
Aaron Stannard
Aaron Stannard@Aaronontheweb·
Am I doing this right or is there an NSensitiveString library I should be installing that does this?
Aaron Stannard tweet media
English
6
0
20
4.4K
Dani
Dani@SoPraInformar·
@DamianEdwards Aspire.Npgsql.EntityFrameworkCore.PostgreSQL/ Npgsql.EntityFrameworkCore.PostgreSQL block this without a workaround: #issuecomment-3526948639" target="_blank" rel="nofollow noopener">github.com/npgsql/efcore.…
English
1
0
0
406
Damian Edwards
Damian Edwards@DamianEdwards·
Visual Studio 2022 Aspire users: *UPDATE to the latest version of Aspire* You're missing out on so much! Latest Aspire supports .NET 8/9/10! Run this in a terminal: dotnet new install Aspire.ProjectTemplates --force Then update all Aspire.* packages to version 13. Enjoy!
English
4
14
63
16.3K
Ben Rudolph
Ben Rudolph@BenThePCGuy·
@JenMsft Jealous. I lift 5x/week and mine are still scrawny. 🙁
English
1
0
1
145
Jen Gentleman 🌺
Jen Gentleman 🌺@JenMsft·
65 lbs down! After months and months and months
English
48
0
521
12K
Dani
Dani@SoPraInformar·
@VicVijayakumar @jenboland 2. You don't put your feet in front of your center of mass, which would generate a backwards force that brakes your speed
English
0
0
2
27
Dani
Dani@SoPraInformar·
@VicVijayakumar @jenboland Use a lower gear and pedal faster. Shorter steps should also improve your running and reduce injury risk: 1. Since you don't lift your foot as much on each step, the impact of each step is reduced
English
1
0
2
32
Vic 🌮
Vic 🌮@VicVijayakumar·
As a runner and avid walker I understand that biking muscles are not the same as running muscles, but it still seems unreasonable for my quads and hams and these other little guys to hurt when I go on a silly little 5 mile bike ride. Is this normal? Am I going to get jacked?
English
16
0
44
4.7K
Haus of Decline
Haus of Decline@hausofdecline·
"God made you a man." God gave me a fuckin cutie mark on my butt in the shape of a heart. There was only one way this was gonna go.
Haus of Decline tweet media
English
157
101
7.2K
101.8K
Dani
Dani@SoPraInformar·
@dariogriffo Do you have any examples of how you do this? Is it one giant log entry? I've used this blog as reference for my logging practices, which has worked very well: blog.ploeh.dk/2020/03/23/rep…
English
1
0
0
30
Dario Griffo
Dario Griffo@dariogriffo·
For our logs we have 1 single rule: - only 1 log per http request - only 1 log per lambda execution - only 1 log per batch processed in a backrgound service. So far we have 0 problems understanding our platform and the cost of our telemetry does not involve to ask for a loan. All you gotta do is have good practices in place...
English
2
0
5
239
Dani
Dani@SoPraInformar·
@Petrroll @Aaronontheweb @davidfowl I work in a 100+ million euro revenue company that stores secrets in source code... Any good practice would be good here 🥲
English
1
0
1
20
Petr Houška
Petr Houška@Petrroll·
@SoPraInformar @Aaronontheweb @davidfowl Yeah, we have configs in source control. But also have internal service for delivering realtime updates that acts as overlay. So we can override anything that supports it anytime anywhere. (following SDP practises ofc)
English
1
0
0
31
Aaron Stannard
Aaron Stannard@Aaronontheweb·
This is an anti-pattern I keep finding in Sdkbin's code base and it's extremely pernicious: "implicit configuration" in this case, we disable new account email confirmations when we're running in the "Development" environment to make local "click testing" easier
Aaron Stannard tweet media
English
4
8
46
6.3K
Dani
Dani@SoPraInformar·
@Petrroll @Aaronontheweb @davidfowl Scoped is per request, transient always gives a new instance Maybe I could have used it to disable a middleware yesterday... Do you have the configs in source control?
English
1
0
1
25
Petr Houška
Petr Houška@Petrroll·
@SoPraInformar @Aaronontheweb @davidfowl We have a different understanding od the word transient. I meant transient as I'm DI lifetime. Which is (ok that's not true but in this context) per request. Monitor has fresh values always. It's very useful if you have runtime dynamic config provider.
English
1
0
0
31
Dani
Dani@SoPraInformar·
@Petrroll @Aaronontheweb @davidfowl Monitor is the "transient" one (it's registered as singleton). I never really had a use case for it, honestly. I just use IOptions
English
1
0
0
57
Petr Houška
Petr Houška@Petrroll·
@SoPraInformar @Aaronontheweb @davidfowl I'm not sure if snapshot is the new API, but one of the transient options between ioptionsmonitor and ioptions has absolutely terrible perf. Also ioptionsmonitor has some caveats around the onchange callback.
English
1
0
2
64
Aaron Stannard
Aaron Stannard@Aaronontheweb·
@davidfowl I think I even have a version that just emits the settings outright without any options stuff at all, since these are all singletons
English
2
0
0
473
Dani
Dani@SoPraInformar·
@Aaronontheweb @davidfowl Yes. IOptionsSnapshot gets the values per scope, IOptionsMonitor gets the values per call, even though it's registered as singleton
English
0
0
1
26
Dennis Doomen
Dennis Doomen@ddoomen·
Now even C# developers stuck with Azure DevOps can use AI to review their code before bothering a fellow developer, provided they use @JetBrainsRider
Dennis Doomen tweet media
English
3
3
33
2K
Dani
Dani@SoPraInformar·
@MrBildo @Aaronontheweb Hey, I've been thinking about a clean way to do this Do you reuse the validation logic somehow, or do you implement it for every case (FluentValidations, constructor, static method)? Any repo you can share?
English
1
0
0
21
Bill Wheelock
Bill Wheelock@MrBildo·
Yeah. I don’t like using FluentValidations for anything other than user input. While technically pagination is user input, it’s not something I would expect to treat the same as “normal” user input. What I typically do with value objects is support a static validation method that shares the same constructor guard logic. One returns a Result, the other throws an exception. That way my validation isn’t depending on exception handling. Best of both worlds.
English
1
0
0
80
Aaron Stannard
Aaron Stannard@Aaronontheweb·
It's kind of amazing watching LLMs hit the exact same primitive confusion pitfall in this code base that human coders do too - it's happened at least half a dozen times over the past week lol. (the order of the arguments keep getting flipped)
Aaron Stannard tweet media
English
2
2
23
3.5K
Dani
Dani@SoPraInformar·
@GergelyOrosz What the developer wants and has fun doing has no meaning for you?
English
0
0
1
30
Gergely Orosz
Gergely Orosz@GergelyOrosz·
"Hiring pure backend engineer and expecting them to do non backend stuff IMO is wrong" Sigh. Any capable intern/new grad picks up whatever new technology is needed to get the job done. If you, as an *experienced* engineer, refuse to do so: you're less capable than an intern
AnonGirder@AnonGirder

@dave_reis @GergelyOrosz Not hiring a backend engineer is entirely ok Hiring pure backend engineer and expecting them to do non backend stuff IMO is wrong even in startups. Startups doesn't mean a pure backend engineer should be made to work on things he has no clue about/not interested in.

English
92
78
1.5K
329.4K