Nigeria No1. Music site And Complete Entertainment portal for Music Promotion WhatsApp:- +2349077287056
Sunday, 14 May 2023
Show HN: Tack, a fast lightweight scripting language for games and embedding https://bit.ly/3MpSxc1
Show HN: Tack, a fast lightweight scripting language for games and embedding https://bit.ly/3W4IIU6 Hi HN! Tack is a scripting language I've been working on sporadically for the past year or so, and intensely for the past few weeks. It originated out of a desire for something that was like Lua, but with a more familiar syntax, and without some of the other surprises in Lua such as the 1-indexed tables. It's also been a great learning project, and a very satisfying challenge! While the current version is early beta at best, I hope to continue working on it and maybe see some adoption. Despite the relative lack of optimization, I'm very pleased with the performance so far - although I haven't done a huge amount of benchmarking, it seems to be significantly faster than the stock Lua 5.4 interpreter for the quicksort test, and the btrees test (copied from the Computer Language Benchmarks Game). The language is designed for embedding in C++ programs, and is written in C++ more or less from scratch including the handwritten recursive descent parser, and a register-based compiler/interpreter. The only dependency other than the standard library is my C++ adaptation of the khash library used for the object type - a from-scratch hashmap seemed not worth the trouble. Quick code example - more examples in the repo! fn quicksort(arr) { const n = #arr if n <= 1 { return arr } " find the midpoint " let l = min(arr) let r = max(arr) if r == l { return arr } const mid = (l + r) / 2 " split array into upper and lower " const upper = filter(arr, fn(x) { return x < mid }) const lower = filter(arr, fn(x) { return x >= mid }) " recursively sort the upper and lower sub-arrays and join the result" return quicksort(lower) + quicksort(upper) } let A = [] for i in 0, 1000000 { A << random() } let before = clock() let B = quicksort(A) let after = clock() print("Time taken: ", after - before, "seconds") Building requires just cmake and a C++20 compiler - tested with MSVC 2022, g++11 on WSL and Clang 15 on M1 https://craftinginterpreters.com was a great help with implementing closures, as I had gone down a blind alley with my first approach for locating the closed-over variables. However I have taken a slightly different approach towards boxing. As I do intend to use this for some small games myself going forward, there is a standard library already, and plans to expand it. I also intend to release a GLFW-based mini game framework along with precompiled binaries, so hobbyists (and younger relatives!) may use it without needing a full compiler toolchain. I would love if anyone is interested enough to try it out! James https://github.com/PlumeCat/tack May 14, 2023 at 06:39PM
Show HN: Torquigen,create symmetrical animated GIFs from your images https://bit.ly/3MpsCkB
Show HN: Torquigen,create symmetrical animated GIFs from your images This is the first code I've written in WebGL2. It supports Chrome, Firefox, and Safari (macOS or ipadOS). https://bit.ly/3MAsQ8V May 14, 2023 at 05:39PM
Show HN: ts-npm-template – Template to bootstrap NPM package with TypeScript https://bit.ly/3pGe0ob
Show HN: ts-npm-template – Template to bootstrap NPM package with TypeScript https://bit.ly/3pHlKpM May 14, 2023 at 01:36PM
Show HN: Botecko, a gpt4 client that simulates an instant messenger https://bit.ly/3May5uy
Show HN: Botecko, a gpt4 client that simulates an instant messenger This is a simulation of an instant messenger running on the browser. It generates contacts (including the profile picture) based on a single sentence. All chat history is stored on your browser. Features: - Open source (apache 2) - Profile generation including picture - Prompt with plan-ahead in 4 steps. This improves the response and also gives a way to debug the character motivation. - Group Chat. Get new insights by making characters with different opinions talk to each other. If you don't have an openAi account you can check a demo here https://youtu.be/e07yjZJGnYo https://bit.ly/3O7IARG May 14, 2023 at 01:37PM
Saturday, 13 May 2023
Show HN: WhyBot, making GPT-4 question itself https://bit.ly/3BrvreR
Show HN: WhyBot, making GPT-4 question itself Hi HN — we’re John and Vish! We built WhyBot, a tool to help you deeply explore a question or topic. You ask a question, and WhyBot responds by building an ever-expanding knowledge graph. It does this by recursively generating answers and follow-up questions. You can change its persona to change the flavor of the generations (try toddler mode!). We originally built this for the AngelList Agent Hackathon ( https://twitter.com/AqeelMeetsWorld/status/16502799744050421... ) and got a lot of interest from folks asking to play around with it. So we thought it’d be fun to brush it up and release it as a web app! It’s a work in progress and we plan on adding more features, such as saving, sharing, focusing on one branch and potentially executing code. We hope you enjoy playing around with it and would love to hear any of your feedback or thoughts. https://bit.ly/3O3iBeg May 14, 2023 at 05:17AM
Show HN: Bytebase – a GUI-based database schema change tool for developers https://bit.ly/44PB9EG
Show HN: Bytebase – a GUI-based database schema change tool for developers https://bit.ly/3MqpZzg May 13, 2023 at 07:06PM
Show HN: Emacs major mode for editing QuakeC files https://bit.ly/3nXRQxe
Show HN: Emacs major mode for editing QuakeC files As a part of my personal Quake Renaissance I decided to fulfil my childhood dream of making a mod for the game I played 25 years ago. Surprisingly, I discovered there was no Emacs mode available for QuakeC! So I came up with one. It currently mostly supports Vanilla QuakeC and assumes FTEQCC as a compiler but given some interest I am more than happy to add as many features as necessary for a modern Emacs experience. https://bit.ly/3W3qO4g May 13, 2023 at 10:12AM
Show HN: Kaizen, music updated over time like software https://bit.ly/3pAOQqW
Show HN: Kaizen, music updated over time like software Hi, I'm co-founder and CTO of Kaizen. The project started as just a weekend project with me and a music producer friend. It has since grown into a community of artists looking to share their music more frequently and engage with their fans more consistently. We've just launched on ProductHunt: https://bit.ly/3pwHK6R We would love any thoughts or feedback! https://bit.ly/3VWDmu5 May 13, 2023 at 08:46AM
Friday, 12 May 2023
Show HN: A game about guessing which YT video is the most popular https://bit.ly/3LUQH1k
Show HN: A game about guessing which YT video is the most popular https://bit.ly/41wgGCa May 13, 2023 at 02:06AM
Show HN: Create next level chat bots with your documents https://bit.ly/42UCpEV
Show HN: Create next level chat bots with your documents Hi everyone, We've launched our customisable AI chat bot service. Magic AI helps you to create your own chat bot which is trained with your own documents or website. You can use it as a knowledge hub of your team or as a self service customer support chat bot on your web site. You can use it for free. https://bit.ly/42vzId7 May 12, 2023 at 01:23PM
Show HN: Terrace: a library for writing more concise and maintainable PyTorch https://bit.ly/42OUxQn
Show HN: Terrace: a library for writing more concise and maintainable PyTorch I've been using pytorch in my research for a while now, and I've been building up a collection of utilities that have made my life a whole lot easier. I've finally gotten around to documenting and open-sourcing this library. If you use pytorch, I hope it can help your work as well. Let me know what you think! https://bit.ly/42MOFqQ May 12, 2023 at 01:59PM
Show HN: ReStage AI – virtual staging for your photos https://bit.ly/42GMPrA
Show HN: ReStage AI – virtual staging for your photos https://bit.ly/3pyTtlr May 12, 2023 at 01:46PM
Show HN: Build a serverless Discord bot with OpenFaaS and Golang https://bit.ly/3MlXzWQ
Show HN: Build a serverless Discord bot with OpenFaaS and Golang https://bit.ly/41vdre6 May 12, 2023 at 01:40PM
Show HN: React.js LLM Agent (open-source) https://bit.ly/42IbgoI
Show HN: React.js LLM Agent (open-source) I've been working in the couple of months on an experiment, trying to make GPT-4 much more useful for web development / React, writing production code that is relevant to any repository without copy pasta from ChatGPT or having small snippets of auto-complete from Copilot that are not in your context. The agent is taking a user story text and generating and composing multiple react components to generate the relevant screens, based on atomic design principles, with Typescript, TailwindCSS and RadixUI. Is is still experimental but very interesting results, I would like to get your feedback on it! It is completely open-sourced, looking for contributors! https://bit.ly/3Oal6eZ May 12, 2023 at 10:36AM
Show HN: PrivateGPT, the Privacy-Preserving Chatbot That Redacts Sensitive Data https://bit.ly/42RPuP0
Show HN: PrivateGPT, the Privacy-Preserving Chatbot That Redacts Sensitive Data PrivateGPT is a privacy-preserving chatbot that redacts personally identifiable information (PII) from prompts before sending them through the chatbot. This makes it safe to use ChatGPT without compromising customer or employee privacy. PrivateGPT is a valuable tool for organizations that want to use ChatGPT but are concerned about data privacy. https://bit.ly/42wWqBF May 12, 2023 at 10:19AM
Thursday, 11 May 2023
Show HN: Plan international rendezvous with different passport holders https://bit.ly/41vnL5G
Show HN: Plan international rendezvous with different passport holders https://bit.ly/41phTuU May 12, 2023 at 03:16AM
Show HN: I created a chatbot trained on Bear Blog's docs https://bit.ly/42OvOLY
Show HN: I created a chatbot trained on Bear Blog's docs https://bit.ly/42P0xsk May 11, 2023 at 01:40PM
Show HN: How to Write better Python logs with structlog https://bit.ly/3BiDieM
Show HN: How to Write better Python logs with structlog https://bit.ly/3MjqJGa May 11, 2023 at 11:16AM
Show HN: AutoGPT for Ethereum https://bit.ly/3Mik2Ej
Show HN: AutoGPT for Ethereum I built this on a weekend, I would love to get some feedback on the app. https://bit.ly/3AXX2E6 May 11, 2023 at 10:25AM
Show HN: Interactive story map built using Google 3D Tiles and deck.gl https://bit.ly/42KmQj1
Show HN: Interactive story map built using Google 3D Tiles and deck.gl https://bit.ly/42J1Nxe May 11, 2023 at 07:52AM
Subscribe to:
Posts (Atom)