Sabitlenmiş Tweet
Logan Dam
8.5K posts

Logan Dam
@TheBiltong
🇿🇦 in 🇳🇱 | Sometimes I talk tech, sometimes I post photography. | Insta: @thebiltong https://t.co/AMWIAnQlXf
Amsterdam, The Netherlands Katılım Eylül 2015
406 Takip Edilen167 Takipçiler

is there some rationale to why it’s still gaining strength?
senyo@senyeezus
i realise i don’t understand bitcoin at all
English

@senyeezus So much of this cursed website is that it’s full of people shouting at other people who just have different context and immediately assume the worst
English

a large problem with this discussion is that no one wants to talk about constraints. it’s not that 200ms is fast for web programmers, it’s that it doesn’t *have* to be much faster. if it did, it would be by necessity. that’s how engineering works.
Sebastian Aaltonen@SebAaltonen
200ms is fast for web programmers. Meanwhile game programmers have to target the latest 240Hz screens. That's 4.16ms to simulate and render the whole game world (can contain million objects). Any operation that takes 1ms+ is considered an expensive operation in real time apps.
English

@f_stack_snack I tend to find an expressive type system more intuitive personally. I’d rather have the compiler stop me than having something go wrong at runtime.
English

@TheBiltong Just adding asserts with proper descriptions for complex restrictions can get you pretty far, and often easier to read/understand than a complex type system.
English

@anthonypjshaw @shanselman I know python has a pretty good hold on data science, I’m curious where .net overlaps with that (speaking as an “enterprise” (read: crud) developer)
This is fascinating btw, no ill intent I’m just genuinely curious
English

Looking for FEEDBACK. Embedding real #Python within #dotnet to make data science (and life) easier! tonybaloney.github.io/CSnakes @anthonypjshaw

English

@SimonCropp I don’t think so, also someone else could lock the file between you checking for the lock and then subsequently trying to open the file. I think node has a similar “problem” for lack of a better word
English

@egilhansen @SimonCropp @slace yeah I'd put this in a global using because then I could F12 and see what it is, but it feels pretty hidden in a Directory.props file
English

@SimonCropp @slace I’m on the fence. Anybody not aware of the alias now have a harder time understanding the code. Works great in solo projects or projects with the same team for long time, I guess.
English

@BenjDicken This is awesome, thanks for creating this and sharing it!
English
Logan Dam retweetledi

@DevLeaderCa I prefer returning IEnumerable simply for the fact that it sets up the contract that it's read only. Being able to stream stuff is a happy bonus. PRs are usually the place to find dangerous ToLists, and I find this Good Enough™️
English

What's superior: Returning a concrete collection or an IEnumerable?
I've personally spent a lot of time on this topic. Maybe *too* much time 🙂
I like streaming APIs, so I like building with Iterators. However, I've seen teams of developers get crippled by misunderstanding how they work.
And for good reason -- Iterators are unfortunately just not obvious. Returning IEnumerable could be backed by a fully materialized collection or it could be an iterator. The only way to know is to look.
For me, the evolution over a decade was:
- Everyone was materializing HUGE datasets which was terrible
- Then we all moved to streaming APIs, which meant not forcing tons of stuff into memory...
- Except then every dev team I've worked with has been caught by some fun iterator inefficiencies
- ... So I've personally moved to paging APIs.
I'll probably change my mind again, but this seems to be the middle ground I've hit. Materialize a collection and force callers to tell you how much data they're cool pulling into memory.
I've made some videos on it here:
- Paging vs Iterators: youtu.be/lOX-TL5lcYA
- Collections and IEnumerables: youtu.be/BXDRmic3Of0
- Pros and Cons of Iterators: youtu.be/qYoZn4Td41E
- Iterator Benchmark Performance: youtu.be/G2-d7kZFlRA
These are meant to be helpful and informative. I think everything is situational so I don't mean to suggest there's any one right way to do this stuff. Hope it's helpful 🙂
#Coding #CSharp #DotNet #Programming

YouTube

YouTube

YouTube

YouTube
English
Logan Dam retweetledi

Logan Dam retweetledi

@codemullins cc @mkristensen do you have any ideas on why this thing exists?
English

@senyeezus I’ve heard it’s very similar over there too, we just see their terminally online people
English

@Yakov5776 @_veest @LiveOverflow The only reason the AI company exists is because of demand, you can’t completely absolve the individual for supporting that demand
English

@_veest @LiveOverflow don't take it too deep or personal, i wouldn't be mad over that. the ethics and morals of training based off real artists should be on the ai company, not him. he's only just using it as a tool to provide music for his videos. like it's not so deep.
English






















