Martin G. Brown

4.8K posts

Martin G. Brown banner
Martin G. Brown

Martin G. Brown

@martingbrown

I'm a C# software developer living in Epsom which is somewhere near London. Interested in anything that helps get the job done before home time.

Epsom, United Kingdom Katılım Kasım 2008
320 Takip Edilen133 Takipçiler
Martin G. Brown
Martin G. Brown@martingbrown·
@RoseOnX9 So that John, who also uses the disk, can't leave your database with nowhere to write to.
English
0
0
0
11
Chandana 🌻✨
Chandana 🌻✨@RoseOnX9·
Interviewer: A 10GB file becomes 3GB when zipped. No quality lost. No data removed. So the real question is: Why was it 10GB in the first place?
English
743
534
14.7K
4M
In Oxford
In Oxford@Oxford_Life·
@RyanEaglen It's also ironic that in such a CCTV laden society that one of the few areas not monitored by cameras is yellow hatchings ...particularly when the cameras would likely pay for themselves in a couple of weeks with all the fines 🤪
English
12
0
5
4.3K
Ryan Eaglen
Ryan Eaglen@RyanEaglen·
I am convinced 80% of UK drivers don’t know how a yellow box junction works
English
219
70
2.1K
149.9K
Martin G. Brown
Martin G. Brown@martingbrown·
@but_cyclists @Dan9z73 I live near London and do a low mileage. Most years I drive about 600 metres in snow. I already have issues with tires perishing before the tread wares out. Me having winter tires is just creating environmental waste for no good reason.
English
0
0
1
142
Yeah But Cyclists
Yeah But Cyclists@but_cyclists·
@Dan9z73 You don't have to buy a set of tyres every year 😂 you can re-use the same set each winter until the tread gets to the legal minimum
English
4
0
19
1.4K
Yeah But Cyclists
Yeah But Cyclists@but_cyclists·
It's that time of year again when remind everyone that I cannot understate how useless summer tyres are in snow/ice conditions. I know some people cannot accept not being able to drive whenever they want to, but is it really worth destroying your car?
English
96
30
455
105.7K
Martin G. Brown
Martin G. Brown@martingbrown·
@confusionm8trix You'd be surprised how many British people learn American English. Either that or they just can't spell.
English
0
0
0
3
machine yearning engineer
machine yearning engineer@confusionm8trix·
one of my dumbest culture shocks as an american was realizing that most people learning english as a second language learn british english
English
555
447
34.3K
812.1K
Martin G. Brown
Martin G. Brown@martingbrown·
@edesiri Companies pay 15% tax (£9,750.00 for a £70k employee) on employing people in the UK before the money even reaches their pay slip.
English
0
0
0
14
npm install edesiri
npm install edesiri@edesiri·
i just don’t understand the pay difference between software engineering in the UK and USA. same SWE role $200,000 in the USA and £70,000 in the UK Why and How is this even allowed?!!!!!!! or is there something i’m missing?
English
360
107
3.7K
437.4K
Ginger
Ginger@HandyGingerGal·
I want to know why an electronic banking transaction STILL takes 3-5 days to be completed.
English
1.7K
1.6K
49.1K
1.7M
Martin G. Brown
Martin G. Brown@martingbrown·
@ChShersh Sounds like a job for a custom C program and someone that actually remembers data structures and algorithms from university.
English
0
0
0
9
Dmitrii Kovanikov
Dmitrii Kovanikov@ChShersh·
Here’s a real task from my job. I have a 100GB binary file. Produced daily. I can’t grep it. But I can decode it. However, I can’t store the decoded version either. It’s too big. How do I efficiently query it? Decoding piped to grep takes 2 minutes. I want 2 seconds.
English
999
74
3K
2.1M
Martin G. Brown
Martin G. Brown@martingbrown·
@ClarksonsFarm1 Who's the authority on this kind of thing, the Church or the British retail consortium?
English
0
0
0
5
ClarksonsFarm
ClarksonsFarm@ClarksonsFarm1·
Ok, let’s sort this once and for all. When should you put the Christmas tree up?🎄
English
1.6K
46
891
122.1K
Aditya
Aditya@adityadotdev·
No docs, no YouTube, no chatGPT, no StackOverflow… How did they even learn to code back then?
Aditya tweet media
English
417
105
3.4K
166.7K
Martin G. Brown
Martin G. Brown@martingbrown·
@shanselman @CryptoDefendor I've seen lots of ghosting on OLED displays, but it goes away again after the screen has rested, so is probably different from the burn in CRTs used to get.
English
0
0
0
14
Scott Hanselman 🌮
Scott Hanselman 🌮@shanselman·
@CryptoDefendor Does your windows taskbar, start button, or menus burn your OLED displays? Your chrome address bar? Have you seen a lot of burnin outside TVs?
English
2
0
1
78
Scott Hanselman 🌮
Scott Hanselman 🌮@shanselman·
I think that the Internet should be weird again and we should just code things because they’re delightful. We should also code things so that the haters hate less
English
131
376
4.5K
97.1K
Scott Hanselman 🌮
Scott Hanselman 🌮@shanselman·
@MathesonStep Unc is “uncle” meaning I’m old, I’m chopped lol I’m easily dismissed due to my generation and age
English
1
0
5
736
Scott Hanselman 🌮
Scott Hanselman 🌮@shanselman·
Yes I realize the QT puts eyeballs on this, and yes I’m unc, but don’t take pride in this kind of engagement. It’s cheap and it’s easy. “Should I use react or XML?” isn’t a personal brand and it doesn’t help teach the next generation. Don’t make - or take - the bait.
JNS@_devJNS

what's a better way of doing this?

English
23
4
139
37.2K
Apogee Entertainment
Apogee Entertainment@Apogee_Ent·
Oh, you’re a gamer? Name the first game you ever beat.
English
2.8K
25
953
144.6K
Tyler 🚀
Tyler 🚀@tylershez·
@providenceluvr If that was true surely we have much more exotic wildlife and weather patterns? Every rainforest on earth has tigers and shit
English
5
0
1
9K
Rose
Rose@providenceluvr·
my working theory of britain is that we have a rainforest climate but due to medieval deforestation we don’t have trees to suck up the moisture and that’s why we have arthritis and depression
English
137
618
19.5K
341.8K
Martin G. Brown
Martin G. Brown@martingbrown·
@csharpfritz @edandersen Not all Async methods return Task<T> some just return Task. Then without the Async suffix you don't see the bug in this code: using (var x = new MyClass()) { x.MyMethod(); }
English
1
0
1
21
Jeff Fritz
Jeff Fritz@csharpfritz·
@edandersen Async methods should typically return Task<T>, and that will break the code that thinks it’s receiving an int or an IEnumerable or whatever.. Async methods that don’t return Task, in my experience, should be used sparingly
English
2
0
2
274
Ed Andersen
Ed Andersen@edandersen·
Because I need to know by reading *only* the name of the method if I need to await the result or not, to do var blah = await or just var blah =. Forgetting to await something is normally a critical bug, and you can’t rely on compiler warnings for this. Juniors forget to await all the time, *Async reminds them.
José Manuel Nieto Sánchez@SuperJMN

There is a whole legion of .NET developers who still slap Async on every method returning a Task out of sheer habit. No reflection, just inertia. Then they demand everyone else follow the same convention in the name of consistency. It is the same herd-driven stubbornness as the underscore in private fields.

English
4
2
19
4K
Martin G. Brown
Martin G. Brown@martingbrown·
@kmcnam1 I use it, because it syncs the favourites bar with my Window PC.
English
0
0
1
195
sudox
sudox@kmcnam1·
sudox tweet media
ZXX
135
102
1.8K
47.3K
Harsh
Harsh@harshhshuklaa·
@Hiteshdotcom Macbook because I can buy any other laptop by selling the macbook. Vice versa isn't true.
English
4
0
7
5K
Hitesh Choudhary
Hitesh Choudhary@Hiteshdotcom·
If you could choose only one laptop, either any variant of a MacBook or any Windows laptop from any brand; and both were offered to you absolutely FREE, which one would you pick?
English
405
11
581
88.4K
The Professor
The Professor@ExposeTheFitnah·
@brankopetric00 How do people write programs and design db without indexes? N+1 queries are sometimes missed i can understand that. But indexes? That’s unacceptable
English
12
0
98
12K
Branko
Branko@brankopetric00·
"Our database won't scale". Database: - 40GB total data - 12 queries per second - 0 indexes on query columns - N+1 queries everywhere - 200ms average query time Solution: - Shard across 12 databases - Add read replicas - Implement caching layer - Switch to "web scale" NoSQL Actual solution: - Add 3 indexes - Fix the N+1 queries - 5ms query time - $40/month Postgres You don't have a scaling problem. You have a competence problem.
English
113
181
3.4K
242.9K
ThePrimeagen
ThePrimeagen@ThePrimeagen·
i often feel like i am missing something with ai all these tweets claiming it is the greatest thing ever... yet, i dont see the same thing. I have a list of activities where its incredible at, but none of them at the writing of code, more comprehension only wtf is wrong with me
English
590
61
2.6K
238.1K