Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Holy Sh*t... You can now share your localhost with anyone using only VS Code! 🤯 VS Code has a built-in Ports feature that lets you expose your local server to the internet, no need for third-party tools. Here’s how to use it: 1) Open the Ports tab in the...

42,759 Aufrufe • vor 9 Tagen •via X (Twitter)

0 Kommentare

Keine Kommentare verfügbar

Kommentare vom Original-Post werden hier angezeigt

Ähnliche Videos

8 rules to improve your AI coding agent. All of these rules work with Claude Code, Cursor, VS Code, and with most programming languages. Automating these rules will 10x the code quality and security produced by your AI coding agents. 1. Dependency checks - Prevent your agent from suggesting insecure libraries based on outdated training data. 2. Secret exposure - Auto-fix the use of hardcoded credentials introduced by your coding agent. 3. File and function size - Automatically refactor any files or functions that exceed a reasonable length. 4. Complexity and parameter limits - Simplify overly complex code written by the agent. 5. SQL Injection - Auto-fix all database interactions with unsanitized user input. 6. Unused variables and imports - Detect and remove dead code. 7. Detect invisible unicode characters in AI rules files - Remove zero-width spaces, direction overrides, and other invisible characters that can hide malicious behavior. 8. Insecure OpenAI API usage - Enforce use of secure OpenAI endpoints, proper authentication, and context isolation Here is how you can automate this: Install the Codacy extension. This will give you access to a CLI for local scanning and an MCP server for agent communication. From here on out, every time you need to generate some code: 1. Your agent will write the code 2. It will then call Codacy's CLI to check it 3. It will find any issues in real time 4. Your coding agent will fix the issues 5. When the code passes all checks, you are done Level of effort on your side: literally zero! Code quality and security because of this: 100x better! Here is the link to download the extension for your IDE: Thanks to the Codacy team for collaborating with me on this post.

Santiago

49,331 Aufrufe • vor 9 Monaten

👀 I used OpenAI's Code Interpreter to make Flappy Bird 🐦in 7 minutes: Code Interpreter/GPT-4 for code generation. Pre-existing or AI-generated assets for graphics. --- Here's how to make the game in only 6 steps: (1): Enter the following prompt: "write p5.js code for Flappy Bird where you control a yellow bird continuously flying between a series of green pipes. The bird flaps every time you left click the mouse. If the bird falls to the ground or hits a pipe, you lose. This game goes on infinitely until you lose and you get points the further you go". (2): Use generative AI or existing game assets and spirits. I searched "flappy bird assets" on Google and used the first link, a GitHub repo with pngs from the original Flappy Bird. (3): Use this prompt to link assets to the code: "Please generate the entire file again based on the fact I'm using a unique background, spirits for the bird, and pipes. Here is the list of assets I'm using: [list of file names]." Code Interpreter should modify the code accordingly to include the list of file names. (4) Make an account OpenProcessing -> create a sketch -> paste in the code generated by Code Interpreter -> upload in-game assets from step (2). (5) (Optional) Ask ChatGPT to make changes to improve the in-game experience e.g., adding a high score, restarting the game when the bird dies, etc. Copy the new code into your OpenProcessing sketch and reload the game. (6) If something doesn't work, ask GPT4 to fix it. Copy and paste the error message and ask it to regenerate the code. --- Bonus Tips: - Iteratively test code. Each time you make a change using Code Interpreter, test the updated code by playing the game so you catch new bugs early. - Learn programming by asking questions: "Act as a senior programmer very good at explaining concepts to a beginner. Tell me how gravity works in this game and how you used code to make this happen."Code Interpreter/GPT4 for code generation. Download Pre-existing assets or generate new images for graphics. Excited to see what you make!

Alex Ker 🔭

739,874 Aufrufe • vor 3 Jahren

PhD Students – How to automatically identify 90% of the issues in your research paper before you submit it to a journal? This is possible through manual or automated paper review. First, let’s understand the following. 𝐖𝐡𝐚𝐭 𝐢𝐬 𝐚 𝐩𝐚𝐩𝐞𝐫 𝐫𝐞𝐯𝐢𝐞𝐰? Paper review is a process in which subject matter experts evaluate your paper based on the following criteria: 1. Significance – Is this research important? 2. Novelty – Is this research new? 3. Methodology – Is this research carried out in the correct way? 4. Verifiability – Can other researchers verify this research? 5. Presentation – Is the research presented in the right way? 𝐖𝐡𝐲 𝐭𝐨 𝐡𝐚𝐯𝐞 𝐲𝐨𝐮𝐫 𝐩𝐚𝐩𝐞𝐫 𝐫𝐞𝐯𝐢𝐞𝐰𝐞𝐝 𝐛𝐞𝐟𝐨𝐫𝐞 𝐬𝐮𝐛𝐦𝐢𝐬𝐬𝐢𝐨𝐧? ➟ Identify the critical issues in your paper ➟ Fix those issues to increase the chances of your paper acceptance 𝐇𝐨𝐰 𝐭𝐨 𝐚𝐮𝐭𝐨𝐦𝐚𝐭𝐞 “𝐬𝐞𝐥𝐟-𝐫𝐞𝐯𝐢𝐞𝐰” 𝐨𝐟 𝐲𝐨𝐮𝐫 𝐩𝐚𝐩𝐞𝐫? Paperpal just launched an amazing feature – AI Review. Using this feature, you can get instant self-feedback. This feature will help you in the following ways. ➝ Check for gaps in your logic ➝ Get feedback on the structure and flow of your writing ➝ Review your research questions ➝ Identify opportunities to strengthen your paper ➝ Increase the chances of your paper acceptance Here is a step-by-step process for using AI Review feature. Step 1: Go to and login. Step 2: Open an existing document or make a new document Step 3: Go to the right-side bar and click on checks | AI Review. Step 4: For this feature to work there should be more than 150 words. Step 5: Copy and paste your paper. Step 6: Now go to the right side and check the prompts Step 7: With these prompts, you will evaluate your paper. Step 8: You will find various prompts e.g., suggest writing feedback, check flow and structure etc. Step 9: You can select a prompt from the existing prompts or write your custom prompt and execute Step 10: Paperpal will generate feedback as per the prompt. Step 11: Read through the feedback and save it for further use. Use other specific prompts for tailored feedback. Step 12: This way you can evaluate various aspects of your paper yourself. This is a very customized and efficient way of automatically reviewing your paper. You can also go one step further to work on the feedback and improve your paper based on suggestions. Please note that AI Review feature does not replace human or expert reviewers in any way. This feature only aims to provide you with quick self-feedback. Try the AI Review feature of Paperpal. Paperpal link:

Faheem Ullah

15,270 Aufrufe • vor 1 Jahr