To View > (HTML) Source of a web page in IE in EditPlus (if that is your preferred editor), go to Tools > Preferences and in the General category, check the box that says "Use EditPlus in Internet Explorer 5"
There was a question recently on my CodeProject article "Dynamically generate a MS Word document using HTML & CSS" . The article describes how to generate a Word document programmatically without using any components, by exploiting the formatting features exposed through Office XML and CSS. The questioner wanted to know how to add a custom header and footer and show something like Page X of Y (total pages). Based on what I have tried so far, showing a header and footer using Office XML in MS Word is not as easy as it is in Excel . If you want to keep the code simple & don't need any great fireworks i.e. you will just settle for page numbers in the header or footer then it's a matter of adding a few lines to the original source code. The code can be viewed at this Github Gist Update (1-Sep-2010): To add a custom header & footer, check this new post To add a footer that shows Page number at the bottom right, here are the steps - 1) Add these classes...
This Week I Learned - * Nikhil Pahwa on how to use AI to write without the slop : Step 1: Find something you want to write about and record a voice note (transcribe it) or collect information/news articles about it. Step 2: Feed this voice note / notes to AI, whether ChatGPT or Claude, and ask it to identify 20 questions for you. The rule: no questions to which the answer is yes/no or one of a few options. Step 3: Record a voice note answering the questions. you don't need to answer all the questions. Feel free to ramble, and anything above 10 minutes is good. Anything over 20 minutes is amazing. Step 4: Give your voice note transcript to AI. Ask it to identify a structure from the questions you've answered or simply, ask AI to structure your talk into an article structure verbatin with subheads. Important instruction: "do not paraphrase, do not add filler or transition sentences". Step 5: once you have a structure you like, edit the transcript to tighten language....
In response to a question about the feasibility of effective code reviews for large (e.g., 500-line) AI-generated PRs like those from Claude, especially when reviewers lack deep codebase familiarity in new projects or fast-paced environments, Uncle Bob Martin and Grady Booch have contrasting views Uncle Bob Martin advocates metrics-based oversight (test coverage, complexity, dependencies) and higher-level management over line-by-line AI code review, while Grady Booch stresses manual verification for vulnerabilities, dead code, and performance factors. Uncle Bob Martin : " I don’t review code written by agents . I measure things like test coverage, dependency structure, cyclomatic complexity, module sizes, mutation testing, etc. Much can be inferred about the quality of the code from those metrics. The code itself I leave to the AI. Humans are slow at code. To get productivity we humans need to disengage from code and manage from a higher level." Grady Booch : "Unlike B...
Comments
Post a Comment