@martinpeck@fosstodon.org
@martinpeck@fosstodon.org avatar

martinpeck

@martinpeck@fosstodon.org

I'm a software engineering manager, working at #Microsoft with interests in #python, #software, #programming, #ruby, #oss.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

ianthetechie, to random
@ianthetechie@fosstodon.org avatar

Does GitHub not have a “merge after CI checks pass” button? That’s kind of surprising. I think I’ve been using this feature on GitLab CI for about as long as I can remember.

martinpeck,
@martinpeck@fosstodon.org avatar
bagder, to random
@bagder@mastodon.social avatar

Contingency planning for me and . People ask me what happens the day I step off the factory floor.

https://daniel.haxx.se/blog/2024/02/07/contingency-planning-for-me-and-curl/

martinpeck,
@martinpeck@fosstodon.org avatar

@bagder

> I don’t care about how or if people remember me or not.

You will always be remembered as "that guy whos email appears on my in-car entertainment system"

davidh_tech, to opensource

There are so many scams ads on Instagram especially those ads impersonating MrBeast and scamming people and when users report them the broken report system says it doesn't violate guidelines every time.

That's one of the reasons why people should delete Instagram account.

Unfortunately Meta hasn't changed anything after the Digital Marketing Act and charges users even more for ad free subscription and this is only available in EU, EEA and Switzerland!

Switch to apps like SimpleX!

martinpeck,
@martinpeck@fosstodon.org avatar

@davidh_tech In my experience of reporting various things on Instagram, there's almost nothing that violates Instagram guidelines.

timbray, to random
@timbray@cosocial.ca avatar
martinpeck,
@martinpeck@fosstodon.org avatar

@timbray I'm really struggling to parse/process the bridge photo. It looks....wrong, somehow.

martinpeck,
@martinpeck@fosstodon.org avatar

@timbray I’ve looked at the bridge posts, the blue reflection, and the “gold thing” at the front of shot, and nothing makes sense to my brain. It’s like an MC Esher drawing.

martinpeck,
@martinpeck@fosstodon.org avatar

@beesweater @timbray yes…I think you’re right. It’s almost as if it’s a composite.

kellogh, (edited ) to random
@kellogh@hachyderm.io avatar

i found out that everyone’s 7yo kids are finding this song via alexa

WARNING: DO NOT CLICK. it’s not adult safe

https://songwhip.com/poopyman/poo-bum-poo-bum

martinpeck,
@martinpeck@fosstodon.org avatar

@kellogh Might be best to remove the link and replace with a screenshot, rather than leave it clickable.

martinpeck,
@martinpeck@fosstodon.org avatar

@kellogh No, but I tend to think that you shouldn't accidentally promote things that you think are "bad". It helps to drive accidental traffic to those site, and even the fact that Mastodon clients will expand the link and show a preview drives traffic to the site.

bagder, to random
@bagder@mastodon.social avatar

Another bogus is now in the wild: https://www.cve.org/CVERecord?id=CVE-2023-52071

martinpeck,
@martinpeck@fosstodon.org avatar

@bagder

This is perfect...

"We cannot say which and the distinction does not matter to us."

b0rk, (edited ) to random
@b0rk@jvns.ca avatar
martinpeck,
@martinpeck@fosstodon.org avatar

@b0rk Nice! Also...thank you! This is the first time I've seen this so simply explained on one page. My only feedback: panel one has the types of merge ordered one way, but panels 4 to 6 use a different order. Maybe start with "merge" in both cases (it's the one everyone learns first...generally)

martinpeck, to random
@martinpeck@fosstodon.org avatar

If you want to become an AI-powered/enabled company you need data, you need to make that data available to data scientists and software engineers, and you need to give those engineers somewhere to work where they can access that data and use the tools of the trade.

These things are often overlooked, ignored, or denied by some companies who have been sold AI magic, and now assume it'll "just happen" without investment and without changing their approach to engineering.

It AIn't that simple!

bagder, to random
@bagder@mastodon.social avatar

I'm thinking we could switch to another format for the #libcurl documentation: https://github.com/curl/curl/pull/12730

martinpeck,
@martinpeck@fosstodon.org avatar

@bagder look good. Which bits of regular MD didn't you want to support?

martinpeck,
@martinpeck@fosstodon.org avatar

@bagder right...so, take what you need and nothing else? Makes sense. And would stripping/ignoring unwanted/unsupported stuff from a MD file be harder?

The reason I ask is partly editor support for MD is pretty good, so if users are editing something with a .md extension they get a bunch of stuff for free. Even GitHub will nicely render a .MD file for you.

I suspect your approach is a safer approach though. Just thinking out loud.

martinpeck,
@martinpeck@fosstodon.org avatar

@bagder Yep. Understood. I think it's a good approach. As you say, plenty of casual contributors can edit MD-like docs.

teamtuck, to python

I asked for some personal help a few weeks ago and got a few responses, but I still have some questions, one in particular. Would anyone (or your friends) who is knowledgeable in Python be able to take 5 minutes and help a brother out?

martinpeck,
@martinpeck@fosstodon.org avatar

@teamtuck maybe post your questions here, or post them somewhere with a link, and then we can see who can help you

lawrencegripper, to random

Disk Prices (UK) per TB is 🔥

This website is AWESOME. Not fancy just simple and usable, I miss the days the we was more like this!

https://diskprices.com/?locale=uk&condition=new&disk_types=internal_hdd,internal_hdd25,internal_ssd

martinpeck,
@martinpeck@fosstodon.org avatar

@lawrencegripper Where are the cookie declarations, and the ads?

elb, to random
@elb@fosstodon.org avatar

I find myself at a crossing point in my life where I feel like I can live forever but know I won't. Is this a mid-life crisis or something else?

martinpeck,
@martinpeck@fosstodon.org avatar

@elb this is the sort of thing people say in movies just before something bad happens.

Good luck!

martinpeck, to ilaughed
@martinpeck@fosstodon.org avatar

A of the roof of station at night, taken from the hotel, along with a similar photo taken the morning after. I was able to choose my room so that I had good view of the station roof.

ruthpozuelo, to BMW
@ruthpozuelo@mastodon.social avatar

How does know the orientation of the car when parked? See image taken from their app.

The GPS gives the correct position but the orientation? Anyone knows?

martinpeck,
@martinpeck@fosstodon.org avatar

@ruthpozuelo I would assume a compass/magnetic sensor like phones have.

martinpeck,
@martinpeck@fosstodon.org avatar

@ruthpozuelo the onboard sat nav will use it (or have its own)

martinpeck,
@martinpeck@fosstodon.org avatar

@ruthpozuelo many modules for GPS also have a compass. I suspect it’s useful when stationary. Phones use them to rotate the map on Google maps to the correct orientation.

yakkoj, to random
@yakkoj@fosstodon.org avatar

It's easy for me to extoll the virtues of simply not running Windows from my privileged, carefully-crafted perch that involved keeping Windows at arm's length since 1995.

But see, that's the problem: many people are stuck in the Windows ecosystem like a mammoth would be stuck in the La Brea tarpits, so telling them to "just use Linux" isn't very helpful to them. They're not going to be able to use Photoshop or whatever's keeping them glued to Windows. They just want to get stuff done.

martinpeck,
@martinpeck@fosstodon.org avatar

@yakkoj agreed....but I think Windows it actually making it harder to "get stuff done" in recent builds.

The addition of more UX to direct users at ads and MSN content trips a lot of new, and experienced, users up. I have elderly relatives that have used Windows for years and are finding themselves lost in recently upgrades. Moving the Start menu, and then putting the MSN-ad-revenue widget right where the Start menu used to be, was a very poor decision IMO.

b0rk, to random
@b0rk@jvns.ca avatar

i don’t think i’ll ever understand monads even though I literally spent years studying category theory in grad school but I really liked this paper “What we talk about when we talk about monads” https://tomasp.net/academic/papers/monads/monads-programming.pdf

I love that it talks about cases where monads have been misapplied and the social aspects of how they’re used

(please do not try to explain monads to me and please no links to your favourite monad explanation)

martinpeck,
@martinpeck@fosstodon.org avatar

@b0rk If only I could "like" this toot more than once. Nothing about Monads is easy to get your head around...including a 28 page paper explaining how the term is misapplied.

I have a strong suspicion that no one knows what a monad is, and those that claim they do are simply holding their nerve for longer in a game of monad-chicken.

martinpeck,
@martinpeck@fosstodon.org avatar

@dvogel yeah...that's been my experience.

It feels, to me, like an unhelpful term for this reason, or that the term "monad" should be replaced with a selection of terms that describe the different problems being addressed, or the ways the solutions address them.

android10, to python

If you are using you will benefit from "icecream" instead of using print() all over the place for debugging and displaying information. As a 👍 if you want to debug, encapsulate it in a logger function.

https://github.com/gruns/icecream

martinpeck,
@martinpeck@fosstodon.org avatar

@android10 I can see it's slightly easier to type (fewer characters) but are you aware that Python f-strings support something similar already?

print(f"{foo(123)=}")

This will print...

foo(123)=456

... and retains al the other things that printing, and f-strings, will give you without having to install another dependency.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • cisconetworking
  • khanakhh
  • mdbf
  • magazineikmin
  • modclub
  • InstantRegret
  • rosin
  • Youngstown
  • slotface
  • Durango
  • tacticalgear
  • megavids
  • ngwrru68w68
  • everett
  • tester
  • cubers
  • normalnudes
  • thenastyranch
  • osvaldo12
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • lostlight
  • All magazines