monte @montepy.in · 08/02/2026Today I learned, that in python `yield from`, although similar, is very different from: [image_1] (1/2) 100
monte @montepy.in · 27/06/2025I am going to use this, the next time I meet an overly enthusiastic intern 010
monte @montepy.in · 26/06/2025When you pass a string to Date constructor, it doesn't raise an error. It doesn't return NaN. In fact, it doesn't even return the same string, but instead capitalise each word. Just #javascript #BuildInPublic [image_1] (1/2) 361
monte @montepy.in · 17/06/2025I know i am late to the criticism of liquidass, but it still boggles my mind that a trillion dollar company which is known for it's design shipped this. #BuildInPublic 061
monte @montepy.in · 06/05/2025Which of the following is the correct usage of Ellipsis in python? (Check out the answer at: youtu.be/W2ocjxBpWxE) #pythonprogramming [image_1] (1/1) 000
monte @montepy.in · 21/04/2025AI Progress in nutshell: - can't trust images - can't trust videos - can't trust audio calls - can't trust interviews - can't trust online exams 000
monte @montepy.in · 10/04/2025"Your mission should you choose to accept it is to save the global world economy from the tariff war by stopping the world's most dangerous mathematical equation getting into the wrong hands" 000
monte @montepy.in · 05/04/2025Checkout saral.club Automatically summarises your chatgpt conversation into memorable notes and practice regularly with anki style schedule with different types of questions. #BuildInPublic 020
monte @montepy.in · 01/04/2025Pushed out a redesign of landing page, hopefully this would increase the signups. If you have tips send them away. Try it out saral.club #BuildInPublic 120
monte @montepy.in · 01/04/2025In the given example, which vim commands will you use to remove all the lines which start with word `feature`? #vimquestionaday [image_1] (1/2) 100
monte @montepy.in · 31/03/2025What do you think is the answer? #webdev #javascript (try out: saral.club, to take your chatgpt learning to next level) 010
monte @montepy.in · 30/03/20252015: "Write comments, it helps others understand what your code is doing" 2025: "Write comments, it helps AI understand what your code is doing" 000
monte @montepy.in · 29/03/2025Today I learned, sveltekit has a hook handleError, which is called whenever there is an error. I unnecessarily added log statements at so many places, instead i could have just used this. (source: svelte.dev/docs/kit/hooks#Shared-ho…) [image_1] (1/2) 120
monte @montepy.in · 27/03/2025This is what peak prompt engineering looks like, threatening (or rewarding or begging) usually works, helps cursor understand the importance of the task. [image_1] (1/2) 100
monte @montepy.in · 24/03/2025Whenever I build a svelte kit project, I get these circular dependency warnings. Not sure, how seriously should I take these, as I don't see any errors on the frontend. [image_1] (1/2) 110
monte @montepy.in · 21/03/2025In svelte 5, with $derived.by, AFAIK, you can't use async functions in it. But there is a way with {#await} [image_1] Demo: svelte.dev/playground/63e03c80003c4… (1/2) 100
monte @montepy.in · 20/03/2025"Vibe coding is based on one thing: vibes. And you know what vibes is? vibes is the thrill of watching code materialize. It's freedom from syntax anxiety. It's an AI assistant that whispers reassurance that whatever you're creating is valid. You are a capable developer." 000
monte @montepy.in · 17/03/2025Gotta whip out this bad boy when it's not vibing anymore [image_1] (1/2) 100
monte @montepy.in · 15/03/2025TIL about `derived.by` in svelte 5. You might know about $derived which takes an expression, but sometime you may need to pass a function to it. You can use `derived.by`. [image_1] (1/2) 240
monte @montepy.in · 13/03/2025Prompt: "Create a under construction component using svelte 5" Output: [image_1] (1/2) 110
monte @montepy.in · 12/03/2025In typescript I can do the following, is there a way to do the same thing in #python? Basically I want to create a type which can take arbitrary number of keys. If it's possible in pydantic, that also works [image_1] (1/2) 110
monte @montepy.in · 09/03/2025Today I learned, that I can create recursive components in svelte. In svelte 5, you can import the file in itself and call it normally. (source: stackoverflow.com/a/79279791/8547986) [image_1] (1/2) 190
monte @montepy.in · 07/03/2025Damn, the vibe coding is getting out of hand, vibe coded using cursor. 000
monte @montepy.in · 19/02/2025In typescript, if you have a type and you want to create a new type except one key, you can use the Omit type utility. [image_1] (1/2) 110
monte @montepy.in · 16/02/2025Can someone please explain this? Shouldn't both have printed 2? [image_1] (1/2) 100
monte @montepy.in · 12/02/2025Did you know you can use await directly in svelte file? (I didn't) [image_1] (1/2) 110
monte @montepy.in · 08/02/2025Mnemonics are an effective way to remember things. Would you be interested in a tool for mnemonics? #buildinpublic 030
monte @montepy.in · 07/02/2025Microsoft is a trillion dollar company and still doesn't know about z index. 000