AI 资讯
I made my Markdown Editor "AI-Ready": MarkSmith v0.3.0
Hey DEV community! 👋 A few days ago, I built a VS Code extension called Marksmith to fix the most annoying parts of writing Markdown (like pasting Excel tables and syncing preview scrolls). But recently, I noticed a huge shift in my own workflow: Half the Markdown I write isn't for humans anymore. It’s being fed directly into Claude, ChatGPT, or Gemini as prompts and context. When you're constantly stuffing docs into context windows, two things happen: You worry about hitting context limits (or racking up API costs). You waste time dealing with AI "hallucinations" when you ask it to generate docs back for you. So, for the v0.3.0 release , I decided to pivot Marksmith into something new: An Agent AI-Ready Markdown Toolkit. 🚀 Here is what I added to survive the AI era: 📊 1. Real-time LLM Token Estimator Instead of just counting words, Marksmith’s Document X-Ray sidebar now includes a Heuristic Token Estimator for GPT, Claude, and Gemini. Before you copy-paste that massive README into your AI assistant, you can see exactly how "heavy" it is in terms of tokens right inside your editor. No more guessing if you're about to blow past your context limit! ✂️ 2. Copy Optimized for AI (1-Click Minify) Formatting is great for humans, but LLMs don't need all those extra spaces, perfectly aligned markdown tables, or empty lines. I added a CodeLens button at the top of your files. Click it, and Marksmith instantly minifies your Markdown (compresses tables, strips blanks) and copies it to your clipboard. Result: You save significant tokens and API costs without ruining your beautiful local .md file. 🕵️ 3. Hallucination Quick Fix Ever ask an AI to write documentation, and it leaves behind a bunch of [TODO: Insert link here] or makes up a fake local image path? Marksmith now automatically scans your document and puts a red squiggly line under AI placeholders and broken local links . Click the 💡 icon, and you can instantly strip them out or fix them. It acts as a safety net before you
AI 资讯
Slate EV truck pre-orders will open on June 24
Pre-orders are opening up for Slate, the Spirit Airlines of EV trucks
AI 资讯
H1 secures $40M from CVS, proving SaaS startups can still attract investment
CEO Ariel Katz argues that while AI can replicate workflow SaaS, it can't copy H1’s unique doctor data.
AI 资讯
Ojai is Waymo's new driverless vehicle
Waymo is debuting Ojai, its first purpose-built robotaxi
创业投融资
Slate Auto will start taking orders for its low-cost EV on June 24
The Bezos-backed EV startup has yet to announce final pricing for its vehicle, which is supposed to start shipping by the end of this year.
AI 资讯
Rivian under investigation over rear suspension failures on R1 models
At least two owners have lost control of their vehicles after a critical suspension component broke. In both cases, the vehicles had been previously serviced.
AI 资讯
Handling Localization in PCF Components: A Practical Walkthrough
When you build a PowerApps Component Framework (PCF) component that will be used across multiple geographies, need to serve labels, button captions, validation messages, and tooltips in the user's preferred language. PCF has a built-in answer based on .resx resource files, the same format used by .NET applications. The mechanism is elegant in production — but surprisingly tricky during local development. This walkthrough takes you through the full setup, step by step, and then explains a problem that arises while locally debugging your PCF. Step 1 — Create the strings folder and your first .resx file PCF expects your localized strings to live in a folder (the conventional name is strings ) inside your component directory. Each language gets its own file, named with the pattern: <ComponentName>.<LCID>.resx The <LCID> part is the numeric Locale ID , not the textual code ( en-US , it-IT ). The framework relies on this naming convention to identify which file to load for a given user. Common LCIDs: Language LCID English (en-US) 1033 Italian (it-IT) 1040 German (de-DE) 1031 French (fr-FR) 1036 Spanish (es-ES) 3082 Japanese (ja-JP) 1041 Chinese Simplified (zh-CN) 2052 Portuguese (pt-BR) 1046 For a component called EquipmentGrid , the structure looks like this: EquipmentGrid/ ├── ControlManifest.Input.xml ├── index.ts └── strings/ ├── EquipmentGrid.1033.resx ├── EquipmentGrid.1040.resx └── EquipmentGrid.1031.resx Tip: Always include 1033.resx (English). The PCF runtime falls back to the first <resx> declared in the manifest when the user's preferred language isn't available, and English is the safest default. Step 2 — Author the resource file content A .resx file is just XML. Here's a minimal Italian version ( EquipmentGrid.1040.resx ): <?xml version="1.0" encoding="utf-8"?> <root> <resheader name= "resmimetype" > <value> text/microsoft-resx </value> </resheader> <resheader name= "version" > <value> 2.0 </value> </resheader> <resheader name= "reader" > <value> System.Resou
AI 资讯
Rivian will deliver the first R2 SUVs on June 9
The company has finally set a date for the first customer deliveries of what CEO RJ Scaringe has said is "maybe the most important thing we’ve launched to date."
产品设计
Ferrari Luce unveiled: Here's the first car from Jony Ive's design house
Our first look at a complete version of Ferrari's upcoming luxury EV that was designed by LoveFrom.
开发者
Como estudar JavaScript pelo livro Eloquent JavaScript está abrindo a minha mente
Fiz um curso de devweb e achei que tinha aprendido JavaScript O problema Fiz um curso de...
AI 资讯
Rivian is rolling out its AI-powered voice assistant
It will be available on all Rivian Gen 1 and Gen 2 vehicles, as well as on the R2 when it launches.
科技前沿
Lotus will return to combustion engines for its cars
It's part of yet another ambitious pivot for the UK car maker.
产品设计
The Lexus TZ is a quieter, upscale take on the Highlander EV
It's also the company's first fully-electric three-row SUV.
科技前沿
Nuro approved to test its driverless Uber robotaxis on California roads
Uber and Nuro plan to start fully autonomous testing later this year.
AI 资讯
Tesla starts selling Chinese-made Model 3s in Canada at the EV's lowest price ever
The cars made at the Giga Shanghai factory start at $39,490 CAD, or roughly $29,000 in USD for a Model 3 Premium Rear-Wheel Drive variant.
科技前沿
Nissan abandons plans for US EV plant
So much for 200,000 EVs a year.