@khalidabuhakmeh@mastodon.social
@khalidabuhakmeh@mastodon.social avatar

khalidabuhakmeh

@khalidabuhakmeh@mastodon.social

Loves https://mastodon.social/@NicoleAbuhakmeh. šŸš€šŸ§  šŸ„‘ : #jetbrains #jetbrainsRider #Resharper devrel. #OSS supporter. #software developer. He/Him. Living the simulation lifestyle. #dotnet #java #javascript #html

searchable

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

zachleat, (edited ) to random
@zachleat@zachleat.com avatar

recipe web sites that give you the authorā€™s entire life story before the recipe instructions šŸ¤ all youtube tutorial videos

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@zachleat @macdonst @svgeesus šŸ¤« The algorithm can hear you.

john krasinski lee abbot GIF

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

I got a guided tour of the server room today. Cutting edge! I was told not to touch the bulbs.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@maxalmonte14 Sorry, I canā€™t hear you. Iā€™m busy programming my latest application.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@maxalmonte14 Did you know @maartenballiauw loves giving code reviews? I didnā€™t! What a stand-up guy.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@maartenballiauw @dc @maxalmonte14 we got the registers!!!

georgekinsman, to blazor
@georgekinsman@hachyderm.io avatar

peeps, is it possible to use LinkGenerator to generate links to Razor Component Pages (i.e. a .razor file with a @page attribute)?

From what I can tell there's no way to add an EndpointNameMetadata to a razor page, which means the LinkGenerator can't do its thing.

Surely this is a common scenario - is everyone just hardcoding their page URL's?

cc @khalidabuhakmeh

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@georgekinsman The path to the Razor Page is the name. So you arenā€™t hardcoding the URLs as much as the path to the file. They typically line up by convention, but they donā€™t have to.

The page name also follows View discovery conventions, so you donā€™t have to type the whole path in, as the containing folder structure provides hints for resolution.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@georgekinsman I tried using a IPageRouteModelConvention but the PageRouteMetadata trumps the EndpointName, so resolution by endpoint name doesnā€™t work, even though itā€™s in the collection.

EndpointMetadata showing the name instance.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@georgekinsman Ooooooh, this is Blazor. Apologies, I misread the initial message.

I defer to someone more experienced, like @egil, on the topic and whether itā€™s changed. From my recent experiences, I hardcode the URLs, and I agree itā€™s not a great experience.

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@georgekinsman @egil There is the NavigationManager butā€¦ itā€™s not much better than just hardcoding values. Itā€™s more about triggering the window.location change on the client.

I think this is an intentional design in Blazor since components are expected to work in multiple hosting environments, and you arenā€™t guaranteed to have the bits that might traditionally be available in a server-only scenario.

https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.components.navigationmanager?view=aspnetcore-6.0

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@georgekinsman @egil There is this library, which seems to use source generators to generate helper methods for routes.

https://www.nuget.org/packages/PodNet.Blazor.TypedRoutes/1.0.0-beta6

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@jchannon @georgekinsman @egil Hmmmā€¦ I genuinely donā€™t know. All this stuff still seems like a WIP to me.

khalidabuhakmeh, to random
@khalidabuhakmeh@mastodon.social avatar

I could get used to this ideaā€¦

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@andymckenna I first gotta start by buying some overalls. Pants are overrated.

khalidabuhakmeh, to random
@khalidabuhakmeh@mastodon.social avatar

ā€œAll calls are scamsā€ https://mastodon.social/@verge/112440901709561994

damieng, to random
@damieng@mastodon.social avatar

Okay, so my wife's business site stopped building on Cloudflare Pages because one of the Nuxt generated files - a JSON file - exceeded 25MB.

Just what was this file and why was it so big?

Was it even needed?

The full exhilarating story and investigation at https://damieng.com/blog/2024/05/14/nuxt-content-db-and-size/

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar
khalidabuhakmeh, to ai
@khalidabuhakmeh@mastodon.social avatar

This was the most tepid applause Iā€™ve seen for a big number. I think the marketing is way off, because it's marketing to the in-crowd that understands what these numbers mean, but everyone else has no clue.

khalidabuhakmeh, to Meme
@khalidabuhakmeh@mastodon.social avatar

šŸ‘ This is an appreciation for @simoncropp and everything he does for as an ecosystem.

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

Don't panic folks, but I do now. Give it a try, is pretty nice. Also, there's . šŸ˜„

šŸ™ boosts appreciated

https://blog.jetbrains.com/idea/2024/05/easy-hacks-how-to-use-java-streams-for-working-with-data/

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@range_marten I am going to write a shader next in Godot. WATCH ME!

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@zpqrtbnk honestly not too bad. Yes C# has some features that are nice, but they're not as missed as I thought they would be.

Most of the good ones exist in some capacity.

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

šŸ«” šŸŖ¦ šŸŒ¹ #F

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@range_marten Be sure to like, subscribe, and smash that notification bell for all your latest news.

Wait... wrong platform. GIVE ME A LIKE DAMN IT!

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

I see folks are having a normal week. šŸ¤£

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@davidwengier I can only give you a like. Thatā€™s my best offer.

Shocked Pawn Stars GIF by DefyTV

maartenballiauw, to dotnet
@maartenballiauw@mastodon.online avatar

Experiment... As the "search engine" behind a 5000-records auto complete API is an LIKE query. Loading 60000 more records into that table made the API endpoint slow (6 seconds to show autocomplete!)

How would you improve this autocomplete?

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar
khalidabuhakmeh, to random
@khalidabuhakmeh@mastodon.social avatar

Realizing I don't like lemon curd... whoops šŸ˜¬

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@piersmyers never had marmite. I hear good things about it in terms of use in beef stews.

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