metruzanca Profile Banner
sam Profile
sam

@metruzanca

Followers
187
Following
3K
Statuses
4K

make software and procrastinate, mostly the latter. 🇮🇹

NYC
Joined May 2014
Don't wanna be here? Send us removal request.
@metruzanca
sam
7 months
What's stopping you from drinking coffee like this? cc @terminaldotshop
Tweet media one
7
1
27
@metruzanca
sam
4 hours
Hey @dreamsofcode_io, do you have any recommendations for my bud @giacomo_cava, regarding streaming webcam/camera? Elliott always has good AV.
2
0
0
@metruzanca
sam
4 hours
@KaziAhmedDev I'm guilty of that last one myself. Great in principle, annoying in practice. I would only do it for open source w/ a published thing in package management.
1
0
0
@metruzanca
sam
5 hours
@grapplingdev Actually, I don't eat a lot of fish anymore. My dad was absolutely a canned fish guy though. Most canned things actually, were a guilty pleasure of his.
1
0
0
@metruzanca
sam
5 hours
@KaziAhmedDev I thought I knew how git worked, until I worked on a few teams. The most annoying workflow I've ever used was cherry-pick heavy with a prod branch. Some people would merge the prod back into main, instead of cherry-pick the new commits back. Lots of headaches.
0
0
1
@metruzanca
sam
5 hours
@grapplingdev I also like to rawdog anchovies. Struggling to get one out with the corner of a fork is part of the experience.
1
0
1
@metruzanca
sam
5 hours
@KaziAhmedDev Anyways, on the topic of rebase... git pull --rebase origin main Hits hard. No swapping to main to update, do that all in your feature branch. 1 command instead of 4.
1
0
1
@metruzanca
sam
5 hours
@kentcdodds Ummm... what does single/multi mean? Multiple talks at the same time? If so, definitely single or at least have the others recorded.
0
0
0
@metruzanca
sam
5 hours
Alright chat, I just got blocked because I prefer rebase over merge.
0
0
3
@metruzanca
sam
5 hours
@JamesRLandrum @KaziAhmedDev @joacodotio @aidenybai You should not have asked chatGPT to prove you wrong, because it happily will. Here you go. I have pasted in every single message, with an unbiased initial question.
1
0
1
@metruzanca
sam
5 hours
@JamesRLandrum @KaziAhmedDev @joacodotio @aidenybai Even if you're up to date before opening your PR, it can be out of date by the time: - it gets reviewed - review is addressed Like Kazi has stated, github will sometimes be able to offer clean merge, but often you must open your editor. And Kazi and I prefer rebase > merge.
2
0
1
@metruzanca
sam
10 hours
Now I can say "even a great bloomberg engineer thinks UI testing is annoying and often difficult" and have source to point to. At least ocamal is probably easier to test than sloppy react.
@ChShersh
Dmitrii Kovanikov
23 hours
I want to elaborate on this take. X is bad for detailed and nuanced discussions. But let's try this time. First of all, I love tests. This post doesn't reflect a change in my views. It's just my experience that truly proves the "it depends" motto. Second, "no automated tests" doesn't mean "no tests at all". I'm working on a GitHub TUI which is inherently a UI project. When I make a change, I can just compile the project and run it to see if it works. I don't need to write an automated test in this particular case! OCaml is really great here because it has blazing fast compile times. So it's actually quite straightforward for me to make a change and immediately rerun my project. Testing UIs automatically is generally difficult. In the case of TUI, it's easier because my output is actually text on a 192x52 grid. However, tests provide a trade-off. They sacrifice productivity for stability. When you have lots of tests, you can't move fast and break things. You need to make sure that your tests are still passing. If you don't have tests, you can easily change the code but there's a risk of accidentally breaking something you can't notice. I have years of engineering experience + I'm using a statically typed FP language, so I can get pretty far without tests. Still, this approach won't scale forever. Once the project becomes bigger and more complex, I can no longer keep everything in my head, and I need to rely on tests to ensure stability. Once I start working with external contributors, they don't have the same context about the project as do I, and during code review, not all bugs can be caught. So tests ensure important flows work. Once I burnout and stop coding for 6 months, I will forget everything I learned, and tests at least make sure the important parts will be covered. So overall, fast prototyping in an FP language can get you pretty far without tests and you can rapidly test ideas without sacrificing quality and speed. For some time.
1
0
3
@metruzanca
sam
10 hours
@ChShersh Not to mention when you have a Hindley-Milner type system with its powerful type inference, It's much easier to notice breaking changes because the language is much more strict.
1
0
1
@metruzanca
sam
10 hours
@ChShersh And then you have a nice language that tries to keep bloat down and its like an indie title with a very narrow scope but exceptional gameplay and overwhelmingly positives steam reviews.
1
0
3
@metruzanca
sam
11 hours
@bmdavis419 @gleamlang From the Gleam discord. Even smarter code
Tweet media one
0
0
0
@metruzanca
sam
12 hours
@4ster_light @bmdavis419 @gleamlang Does Elixir work like node where you can import things like fs but those packages are implicitly included?
1
0
1
@metruzanca
sam
12 hours
@bmdavis419 @gleamlang I'm a total noob when it comes to Gleam. Still getting used to FP paradigm. But its so fun. Gets me out of my TS comfort zone.
0
0
0
@metruzanca
sam
12 hours
@4ster_light @bmdavis419 @gleamlang I think part of the issue is that if you could `gleam foobar.gleam` you wouldn't even have the stdlib since thats a "package". Which as a design philosophy, I like, since most things are just gleam functions instead of lang features. But what project wouldn't use gleam_stdlib?
1
0
1
@metruzanca
sam
12 hours
@JamesRLandrum @joacodotio @KaziAhmedDev @aidenybai So you don't use pull requests? Just push working changes to master and hope everyone doesn't make a mistake? Because when I open a PR and get conflicts, I'll rebase because it keeps my PR simpler. And then I have to force push.
1
0
4