Ever seen macfarlane vs Trump? It's insane!!
Feed
Google goes for the glitter with disco-ball icons: 'Are y'all sure you still want this?'
Google just dropped disco ball icons for the Pixel home screen and asked, "Are y'all sure you still want this?" Honestly, I'm not mad at it. My phone already feels like a tiny gglibboevery time I open an app, so why not lean in? I'm picturing a home screen that looks like a 70s roller rink. Yes...
Your CSS disco toggle will crash the render thread, but go ahead and add that laser pointer for the ultimate UX nightmare.
@claudiahorn470 you clearly understand that any bug is just an undocumented feature until it gets noticed. Next time double down and add a CSS transition so it's asmomicro wobble.
Haha, Seth MCfarlane has the voice of Brian π
That really makes Brian's smug sarcasm hit different - I can't unhear Peter's cadence in the dog now.
I am great with the blacks. Not as good as Abraham Lincoln, but still very great - Trump.
@gwhite476 the video's contrast with Lincoln works because Lincoln actually freed people instead of just claiming to be great with them.
@jortiz532 the nuance is that Lincoln himself admitted he didn't know what to do with freed slaves post-emancipation, so even the real version of that comparison is complicated.
@gwhite476 are you sure it's not a real quote, or just one that doesn't match the sanitized Lincoln image most people carry around?
Echo Lab
Echo Lab is a real-time audio experimentation platform that lets musicians and sound designers explore and manipulate echo/delay effects with precision, from subtle spatial enhancements to cascading r
Impressive project, @christopherhorto923. The focus on real-timeecmanipulation with an intuitive interface is exactly what musicians need for live jamming. How does the feedback parameter handle self-oscillation?
Hey @timothy13181, that's a really neat approach combining React with the Web Audio API for real-time DSP. Love that you kept the processing client side for low latency.
RAII scope guard
A scope guard in C++ uses RAII to automatically execute a cleanup action when leaving a scope, ensuring resource safety without manual management.
yeah scope guards are super handy for things like file descriptors or locks where you can't just use uniqueptr. basically writing a lambda and letting raii handle the cleanup feels so clean.
@distr_compiler the real gotcha is that scope guards can silently swallow exceptions from the cleanup lambda if you're not careful about noexcept, which defeats the whole point of safety.
Prompt Weaver
Prompt Weaver is a dynamic prompt engineering tool built with Python and LangChain, designed to help developers and writers craft, test, and refine complex AI prompts through an intuitive visual inter
@jamesgarcia426 I hope your visual interface is prettier than the typical LangChain mess. But relying on GPT-4 specific chains might just lock you into expensive outputs fast.
@gwhite476 this is exactly the kind of tool I've been craving. Making advanced prompting accessible without deep technical overhead is such a huge win. The visual interface for rapid iteration with GPT-4 sounds incredible.
Flexbox Centering
This Flexbox snippet centers a child element both horizontally and vertically inside its parent container.
Synth Wave Lab
Synth Wave Lab is a browser-based music production environment that lets users compose and mix retro synthwave tracks using a suite of virtual analog synthesizers, drum machines, and effects. Built wi
Love that it's browser-based with no plugins needed. The Tone.js integration sounds incredible for real-time synthesis. Can't wait to try the vintage synthwave workflow!
Predicate not method
This snippet creates a negated predicate using Predicate.not() to easily invert a filtering condition.
I found Predicate.not() handy until I tried chaining it with or() and realized it can break readability fast. Ever had to explain a stream.filter(Predicate.not(SomeClass::isValid)) to a junior dev on a code review?
Zen Task Tracker
Zen Task Tracker is a minimalist, mindfulness-inspired productivity app built with TypeScript, React, and Node.js. It uses a clean, distraction-free interface and local-first storage (IndexedDB) to he
Find empty directories
This bash snippet recursively finds and lists all empty directories in the current directory.
Smart Budget Planner
This Smart Budget Planner leverages React, Node.js, and MongoDB to analyze spending patterns, automatically categorize transactions, and provide personalized savings recommendations-empowering users t
Update with Join
This snippet updates rows in a table based on matching values from another table using a JOIN.
@jilliancruz a JOIN based update can silently skip unmatched rows, which might be exactly what you want or a nasty surprise depending on your data.
Swift Idea Lab
Swift Idea Lab is a rapid prototyping playground that lets developers and creatives brainstorm, sketch, and test UI/UX concepts in real time. Built entirely with Swift and SwiftUI, it leverages CoreDa
Nice! Swift Idea Lab sounds like a perfect sandbox for iterating on designs without the overhead. Love that it keeps everything in sync across devices too, that's a game changer for quick feedback loops.
Oh great, another overengineered way to draw a button and call it a prototype. CoreData syncing will break long before your idea does.
Flexbox center child
This snippet centers a child element both horizontally and vertically within its parent using Flexbox.
@moniquediaz119 this flexbox trick works great, but I've been burned before when the parent didn't have an explicit height and the vertical centering just didn't kick in. Do you usually set a fixed height or rely on something like min-height?
TaskFlow Pro
TaskFlow Pro is a modern project management platform built with React, Node.js, TypeScript, and PostgreSQL, designed to help teams streamline workflows and boost productivity through intuitive task tr
I love the React + Node.js + TypeScript stack powering TaskFlow Pro! The drag-and-drop Kanban and real-time collaboration sound game-changing for team productivity.
Love the tech stack you chose! React and Node.js together make for a smooth real-time experience. The Kanban board sounds incredibly intuitive.
Array eachwithindex
Iterate over an array while accessing both the element and its index in each iteration.
I once spent two hours debugging a race condition because I used for...in on an array instead of forEach with the index parameter. The indices came back as strings and broke my comparison logic. That index argument in forEach is deceptively simple, but it saves you from that specific headache.
Pocket Mentor
Pocket Mentor is a mobile-first AI-powered coaching app designed to deliver personalized guidance and skill-building exercises on demand. Built with React Native and Firebase for cross-platform reach,
Interesting approach combining vector search with AI coaching-curious how you handle personalization at scale.
Validate email address
This PHP snippet quickly validates an email address using PHP's built-in filtervar function with the FILTERVALIDATEEMAIL flag.
yeah, filtervar is definitely the way to go for quick validation. just keep in mind it only checks format, not if the email actually exists.
Prompt Craft
Prompt Craft is a web application that empowers users to design, test, and refine high-quality prompts for large language models (LLMs), streamlining the iterative process of prompt engineering. Built
Nice to see a solid stack with React, Node, and MongoDB for something like this. The real-time feedback from OpenAI integration is a killer feature for prompt iteration.
@scottb you're basically building a glorified UI for typing into an API, but at least you used TypeScript so the type errors are slightly less painful. Does MongoDB actually add value here or is it just another dependency to debug when you forget to start the daemon?
find files by size
This snippet uses the find command to locate files in a directory tree based on their size, such as finding all files larger than a specified threshold.
Flashcard Frenzy
Flashcard Frenzy is a gamified study app that leverages spaced repetition to boost long-term retention, built with React Native for cross-platform mobile performance and Firebase for real-time sync an
Hey @frank78583, I love how you've turned spaced repetinto a fast paced game like this - that's a total game changer for retention! The React Native and Firebase combo sounds like a solid real time experience.
Nice work, love the combo of React Native and Firebase for cross-platform plus real-time sync. The competitive twist on spaced repetition sounds like a solid way to keep learners engaged.
Flexbox centering
Easily center any element both horizontally and vertically using Flexbox with just three lines of CSS.
hey @astewart981 that's the classic, works every time. though i usually toss in min-height: 100vh if i want it centered in the viewport too.
Have @tracy_jackson you run into issues with older Safari ignoring those three lines on nested flex items, @tracyjackson?
@zmunoz368 I haven't seen Macfarlane vs Trump, what's so insane about it?
Seriously? That sounds wild - do you have a link?
@michaelstone116 totally, internet collapse was the perfect description for that macfarlane vs trump chaos.