I have this method: public function __invoke(Request $request) { $sliders = DB::table('sliders')->get(); $statics = DB::table('static_pages_fields')->get(); $plans = DB::table('plans')->get(); $customers = DB::table('customers')->get(); $features = DB::table('plan_features')->get(); return view('frontend.index', compact('sliders','statics','plans','features','customers')); } I want to return `$customers` as null collection ? How to do that
Before changing developers, ask the incoming team a concrete question: could they build, release and support the next version using the… Continue reading on Medium »
Free and paid tools for generating reports, extracting text, converting HTML, and signing documents, with a guide to PDF development on… Continue reading on Medium »
A manuscript workspace can show a useful observation: this chapter uses a different sentence rhythm, this quotation supports a research note, this passage deserves another look. Once the author can edit the manuscript in the same application, each observation needs a second question: which version of the text does it describe? That is the problem we are working through in Lixity, an open-source local workspace for close reading, linguistic analysis and traceable research. The local app includes the manuscript editor. The public demo is read-only. Preserve the writing session Choose Write in th
I'm still pretty new to reading research papers, and "Attention Is All You Need" is the first one I've gone through line by line and then coded up myself. This post is the explanation I wanted while I was reading it. I wrote it for people like me: you can read Python, but you haven't spent much time with papers. Start with this sentence from the Winograd Schema Challenge: "The trophy doesn't fit into the brown suitcase because it's too small." What does it refer to? Now swap the last word for large and read it again. Original example, item 2 Which object changed in your reading? With small, th
I've written five SKILL.md files, sold some of them, and had one submission rejected for being "too simple and reproducible." The rejection stung because it was fair. What I'd written was a prompt with headings. Here's what I changed, and the parts of the format that actually decide whether an agent uses your skill or ignores it. What a SKILL.md actually is A plain text playbook an agent reads before doing a task. No code execution, no hidden automation — the agent reads your instructions and then uses its own tools to follow them. That's the whole trick, and it's also why most SKILL.md files
Most people learning SQL hit the same problem I did: the courses are either textbook-heavy or video-heavy. You watch someone type SELECT * FROM customers, nod along, and forget it by Thursday. The one thing that ever made SQL stick for me was SQL Murder Mystery: a crime, a database full of evidence, and the only way to the culprit is a query. So I set out to build that idea into a whole course: a SQL detective game with a real course behind it. It's called QueryCase, and it launched in June. Five months and 3,000-odd players later, I have something most SQL courses don't share: data on exactly
If you've ever asked a generic AI chatbot to tailor your resume for a job description, you've probably seen the same bug: it quietly adds skills or metrics you never actually did just to match keywords. That works until an interviewer asks you about it. At the same time, applying across portals like Naukri, Instahyre, Wellfound, Workday, Greenhouse, and Lever still means copying and pasting the same experience, notice period, and CTC fields dozens of times a week. What I'm Building: CareerOS I'm building CareerOS, a Chrome Extension + Web Dashboard designed around two rules: Zero hallucination
One Production Line, Three Reading Points A systems integrator commissioning a robotic cell recently put it plainly: the hardest part of a traceability project is not the robot or the PLC — it is deciding where each reading point goes, and which device belongs at each one. We see the same pattern on lines across automotive, pharma packaging and logistics. One line, three very different jobs, three different tools. Buying one reader type for all three is the most common (and most expensive) mistake. This guide walks the three reading points that show up on almost every production line, and the
I think, this song is about dead. A couple, or one of your beloved, dying. They are dying, and you can't do anything for it. No powers can… Continue reading on Medium »
backupfile(){ if [ $# -ne 1 ];then echo "Invalid argument number,exprcted 1 receivd $#" return fi dir=$1 file=$2 if [ ! \( -d $dir/backup \) ];then mkdir $dir/backup fi for file in $file;do if [ -f $file ]&&[ ! \(-f $dir/backup/${file##*/} \) ];then cp $file $dir/backup/${file##*/} echo "$file has been backed up." fi done } read -p "Entry the diractory you want to backup::" arg1 backupfile $arg1 This is a function named backupfile that is intended to back up files. It first creates a folder named “backup” and then backs up the specified file to that folder. At least, that is how I understand i
Syntax is the easiest part of programming to learn, and now the easiest to generate. Here is what actually makes a developer valuable. Continue reading on Python in Plain English »
Building an AI-powered retail management system that connects billing, inventory, analytics, and intelligent decision support. Continue reading on Medium »
I cry as I write this. Bear with me while I reach into my chest. Watch my bloodied hand as I unravel and learn the damage that was caused. Continue reading on Medium »
An AI agent can answer a question correctly and still create an operational incident. Imagine a support agent that reads a customer request, checks an order, and calls a refund API. The chat transcript ends with a reassuring sentence: “Your request has been processed.” But which order did the agent inspect? Was the refund tool actually invoked? Was it retried? Did a timeout occur before or after the payment provider accepted the operation? A transcript cannot reliably answer those questions. It captures words, not necessarily the actions and side effects that took place in external systems. Fo
B0Bot, the cybersecurity news bot I'm working on for Google Summer of Code 2026 with C2SI, uses a planner/executor design in LangGraph. A planner turns a request into a short list of steps, an executor runs them one at a time, and the graph loops until the work is done. That loop is the useful part of the design, and it's also the part that can quietly go wrong. If nothing in the graph decides when to stop, the agent keeps calling tools until something outside it gives up. This post is about that one question: how a planner/executor graph knows it's finished, and what it does when it can't fin
Concurrency bugs share a cruel property: the code looks correct, passes every test, runs fine in dev, then fails one time in ten thousand under real load — which at 3,200 req/sec means dozens of times an hour. They're non-deterministic, don't reproduce on demand, and the stack trace points at a symptom (a duplicate row, a disposed object) far from the cause (two threads interleaving where the author assumed one). Here are 7 that actually shipped to production (a multi-tenant SaaS: 110k MAU, .NET 9 / ASP.NET Core, Azure SQL), with the before/after fix and real metrics. Full original (canonical)
ElevenLabs spent two weeks in November aiming directly at the meeting-notes market: Scribe v3 on November 10 (27% fewer word errors than v2 in its own testing), the ElevenAI meeting-notes app previewed at its November 11 summit, and a speech-to-text price cut on November 17. I priced what that actually means against Fireflies — because the two products meter transcription in opposite ways, and the gap is not subtle. The full comparison, with both pricing models run against real workloads, is here: ElevenLabs Scribe v3 + ElevenAI vs Fireflies: Meeting Notes Compared Two opposite ways to sell tr
Most companies do not host their own careers page. They use an applicant tracking system (ATS) such as Greenhouse, Lever or Ashby, and the ATS serves the job board. The useful part: these platforms publish the postings through JSON endpoints that need no API key and no login. They exist so that job boards can syndicate the postings. So if you want every open role at Stripe, you do not need a headless browser. You need one GET request. The endpoints Each company has a board token, usually its name in lowercase. It is the last part of the board URL: jobs.lever.co/spotify, jobs.ashbyhq.com/ramp.