Friday, 26 January 2024

Show HN: An efficient SRL32 (cascading shift registers) clock prescaler in VHDL https://bit.ly/495YJ1i

Show HN: An efficient SRL32 (cascading shift registers) clock prescaler in VHDL Having just started learning FPGA Hardware Description Languages by attempting to write a simple LED blinker, I found that the overwhelming majority of the Internet's solution to slowing down a fast clock (for making the pulsing of an LED visible to the human eye) was either using vendor-specific, proprietary clock managers and PLLs or implementing some twenty-something-bit-wide counter as to count hundreds of thousands of clock cycles and generate a 1 Hz output. Although there is a world of difference between counters in hardware-accelerated designs and those in software-emulated ones, I nonetheless viewed the number of daisy-chained components resulting from a mere counter as far-from-ideal and absurd; I began searching for a more efficient method. I came upon a rather obscure blog post from 2015 ( https://bit.ly/4b9h3Zf... ) outlining the exact same issue while also referencing the Xilinx systems designer Mr. Ken Chapman's proposal: using FPGAs' shift register primitives (e.g., Xilinx's SRL32E) to alleviate that. However, the method described therein would rely on the user to calculate the target frequency's factors between [2, 32) and painstakingly connect each and every instance of SRL32Es to one another, all in a manual manner, not to mention that the resulting pulse would have a low, one-cycle-long duty. Thus, I wrote srl_prescaler.vhd, a fully automated template generator in VHDL for an efficient register-based cascaded clock divider based solely on SRL32 primitives alongside AND gates---the advantage of this module is that it is very generic and easy-to-use: ``` prescaler : entity work.srl_prescaler generic map (100e6, 1) port map (clk_in_100mhz, ce_out_1hz); ``` In the above example, an input clock of 100 MHz (i.e., `100e6` & `clk_in_100mhz`) gets divided into a clock enable signal of 1 Hz (i.e., `1` & `ce_out_1hz`). Among the other improvements, a third optional parameter (i.e., the duty cycle) may also get supplied as a real number (0.00, 1.00) to the generic map. Overall, this small project makes an otherwise-niche method more accessible by actually making use of the many language features that VHDL has to offer (e.g., pre-computing factor results using functions, automating hardware creation via for...generate clauses, latching using registers and guarded signals, etc.), serving as a good yet practical learning point. https://bit.ly/3SlT8NQ January 26, 2024 at 10:00AM

Thursday, 25 January 2024

Show HN: Calendar2024, yet Another Calendar Website https://bit.ly/3vNevzY

Show HN: Calendar2024, yet Another Calendar Website Here, you can view calendars monthly or yearly, explore holiday calendars, and print the calendar templates you prefer. Give it a try and let me know your thoughts! https://bit.ly/4bfePHZ January 26, 2024 at 02:58AM

Show HN: Automatic Translation of Comics (Bande Dessinée, Manga, Webtoons, etc.) https://bit.ly/4b8H8Yq

Show HN: Automatic Translation of Comics (Bande Dessinée, Manga, Webtoons, etc.) https://bit.ly/4bdj0Um January 25, 2024 at 07:53PM

Wednesday, 24 January 2024

Show HN: Record, plot and replay arbitrary 433mhz signals using a Raspberry Pi https://bit.ly/3SsYkjY

Show HN: Record, plot and replay arbitrary 433mhz signals using a Raspberry Pi I made a Python command-line tool to record and replay arbitrary 433mhz signals. This allows to clone key fobs, garage door openers etc. In addition to the recording/replaying, it also supports graphical plotting of the recorded signals. I use it to control my garage door and some 'dumb' remote controlled power sockets. Feel free to try it out. https://bit.ly/3SsYlo2 January 25, 2024 at 12:59AM

Show HN: A self-hosted website to track Pinball scores between friends https://bit.ly/3StSxea

Show HN: A self-hosted website to track Pinball scores between friends Hi there! I have been a huge fan of pinballs for a few months, discovering all pinballs that are in my city, and I converted quite a few friends to it. The only problem was that we wanted to keep an eye on everyone's score and I always did it in some notes on my phone. This was not very practical. I decided to create a small website so that all my friends can add their scores while we're playing in a gig. The app is minimalistic on purpose: no user authentication, no call to any fancy Pinball API whatsoever. I just need a list of players, gigs, pinballs and scores. The app is built with Laravel and SQLite so it should be easily deployed anywhere. I personally host it on Fly for free (they have a generous free tier). One can add HTTP Basic authentication with a common user/password to avoid having anyone unkown messing with your data. The link to the repo is in the banner. License MIT. https://bit.ly/3OiqlZ3 January 25, 2024 at 02:25AM

Show HN: Integer Map Data Structure https://bit.ly/495bJo2

Show HN: Integer Map Data Structure This project presents a new data structure for storing ordered integer maps. The proposed data structure is a compressive, cache-friendly, radix tree that has performance comparable to an unordered map (`std::unordered_map`) and is an order of magnitude faster than an ordered map (`std::map`). https://bit.ly/3SxhCoC January 25, 2024 at 01:28AM

Show HN: Geo-Distributed KV Store for Metadata Management https://bit.ly/3OhQ3wK

Show HN: Geo-Distributed KV Store for Metadata Management Community Meeting In order to provide a more comprehensive overview of Xline's progress and to promote the Xline community, we will be hosting an Xline community meeting on January 26, 2024 at 6:00 PM PST The meeting will be held via zoom: Meeting number: 874 4309 5241 Password: 124294 Link: https://bit.ly/3ObxDxB... https://bit.ly/4b6TArF January 25, 2024 at 12:14AM

Tuesday, 23 January 2024

Show HN: Terrace, a minimal private module registry for Terraform https://bit.ly/3OemwE9

Show HN: Terrace, a minimal private module registry for Terraform https://bit.ly/3vPnv7G January 24, 2024 at 05:57AM

Show HN: Mac40th.com: 40 Years of Macintosh https://bit.ly/48Jelb7

Show HN: Mac40th.com: 40 Years of Macintosh Hi HN. Please check out mac40th.com - a site I’ve launched today to celebrate the Macintosh’s 40th birthday happening tomorrow on January 24th, 2024. mac40th.com features over 1,000 photos covering every Macintosh desktop and portable made by Apple since the original 128K M0001 was released in 1984 - all the way through to the latest Mac Pro, iMac and MacBook lines. So many people have come across a Mac at some point in their lives - mac40th.com is about giving fans a fun trip down memory lane with the hope that the Macintosh’s 40th anniversary evokes happy memories for anyone who has ever had an experience with an Apple Mac. I'd love to get your feedback and also fix any errors :) Enjoy! Jonathan. https://bit.ly/3S9tqMm January 23, 2024 at 10:45PM

Show HN: SlideCross – a combination of a crossword and Rubik's Cube https://bit.ly/42azit8

Show HN: SlideCross – a combination of a crossword and Rubik's Cube This is a game inspired by my friend Cary Huang's game https://bit.ly/42bXtaL Click and drag tiles to move their conveyor up and down or left and right. Click a tile to see its word's across clue. Click that word again to see its down clue. Any feedback would be greatly appreciated. I hope you have fun with it! https://bit.ly/429XuvK January 24, 2024 at 01:51AM

Monday, 22 January 2024

Show HN: Open-source gamified community platform https://bit.ly/3HsG5or

Show HN: Open-source gamified community platform Hey! Wanted to showcase this project I’ve been passionately working on. It’s an open source community platform built with the nextjs app router. There’s lots of cool features, but the main one I’m excited about is the gamification. There’s a badge and inventory system. Admins can set value to user actions like creating a post. Then a user can use their accumulated points to purchase items that have modifiers on things like your username or avatar. There’s zero vendor lock in and all you need is a: - redis server - s3 storage - smtp server Built with nextjs and prisma. Would love your thoughts and opinion. If you have any issues getting it running feel free to ping me on x at @dillonraphael https://bit.ly/3HsG5Vt January 22, 2024 at 11:42PM

Show HN: Sendenv, a CLI tool to share environment variables https://bit.ly/47QpyWe

Show HN: Sendenv, a CLI tool to share environment variables My weekend project sendenv is a CLI tool that lets you share environment variables securely with someone else. It is built on top of magic-wormhole which allows for safe, account-free data transfer. When you send variables using sendenv, it creates a one-time code. You give this code to the person who needs the variables. They use the code in their shell to load the variables. This is handy for quickly setting up new team members or copying local environment variables to another system. Its currently in alpha obviously, but the core functionality works (I have tested sending vaults from a Macbook Air M1 to a ubuntu ec2 instance). I have a lot of follow up ideas to make this better, but wanted the community's feedback before I invest more time on this. Thanks for reading! https://bit.ly/3OdohSm January 23, 2024 at 02:17AM

Show HN: A self-hosted, AWS-based secrets manager https://bit.ly/48Vk6Ta

Show HN: A self-hosted, AWS-based secrets manager https://bit.ly/47Jdmqo January 23, 2024 at 12:23AM

Show HN: D4pi: Diablo4 Item Filter Inside Web Browser https://bit.ly/3HrKmIP

Show HN: D4pi: Diablo4 Item Filter Inside Web Browser D4pi turns Diablo4 item screenshots into searchable, filterable data. * Hassle-Free Click-and-Go Demo right on the Landing Page * Everything runs locally inside your web browser -- Thanks to Next.js, OpenCV.js, and Tesseract.js. Source Code: https://bit.ly/47PgoJA * Configurable -- the default settings work the best with 1080p (1920*1020) screenshots taken with the default in-game brightness setting. --- Hello, frontend newbie here, still [1] trying to learn by doing :) After Diablo4 season 0 & 1, and 2/3 thru season 2; I promised myself not to play any more Diablo4 without some sort of automated/tool-assisted item filtering. So here D4pi is: Diablo4 Item Filter inside Web Browser. It feels awesome to go from an idea to an actual thing. I hope you find it intriguing. Feedback is always much appreciated. Thanks for your time. [1]: https://bit.ly/47JyGMb -- previous Show HN from 2023-Jun -- D4pi.com looks like this ( https://bit.ly/3SsIoNJ... ) back then. https://bit.ly/496SACd January 22, 2024 at 01:08PM

Show HN: Plock: Use a local LLM from anywhere in your OS https://bit.ly/47LOZZd

Show HN: Plock: Use a local LLM from anywhere in your OS After seeing a cool demo of a hack on Twitter, I built a cross platform version of it that works well and uses streaming. From anywhere on Mac and Linux, trigger Ollama and optionally feed it your clipboard. I built it yesterday and it's already very useful to me. I'm pretty excited about it and wanted to share! https://bit.ly/4b8OET2 January 21, 2024 at 11:42PM

Sunday, 21 January 2024

Show HN: Finagg – free and nearly unlimited financial data https://bit.ly/3SrCf5q

Show HN: Finagg – free and nearly unlimited financial data finagg is a Python package and CLI that enables you to aggregate and update free financial data from a handful of high quality data sources all within your own SQL database. Here're some quick facts about it: - Implements nearly all of the BEA API, FRED API, and SEC EDGAR APIs (all of which have free and nearly unlimited data access) - Only focused on macrodata (no intraday data support) - Provides methods for transforming data from these APIs into normalized features that're readily useable for analysis, strategy development, and AI/ML - The most popular methods include getting historical price earnings ratios, getting historical price earnings ratios normalized across industries, and sorting companies by their industry-normalized price earnings ratios - Python >= 3.10 only (you should upgrade anyways if you haven't ;) I'm looking for feedback on the overall package and CLI designs. Also, I'd appreciate any recommendations for implementing other financial data sources that're free with no daily API limits. Cheers! https://bit.ly/3Spd9nN January 22, 2024 at 04:16AM

Show HN: AskYoutube, Smarter Video Search https://bit.ly/3U64ZSs

Show HN: AskYoutube, Smarter Video Search https://bit.ly/3NaXlkK January 20, 2024 at 08:32PM

Saturday, 20 January 2024

Show HN: Chai - remote PDF and Hex Viewer service accessible via remote browser https://bit.ly/4b7Z4Tc

Show HN: Chai - remote PDF and Hex Viewer service accessible via remote browser I'm really happy with this. It doesn't provide the "best" PDF support (it converts to images, page by page) -- but it does support a bunch of other documen formats supported by the union of LibreOffice, Pandoc and MuPDF -- and it was hella fun to write and get working: a mix of bash scripting glue, nodejs servering, and dependency installation. Next up in the todo for Chai is getting it working on Windows (which will basically involve finding the right dependencies and maybe branching within the bash glue for their different paths from the Windows dimensions haha! :)). I was particularly proud of the hex viewer part. I just felt it was not complete without really being able to see the byte by byte playout of a file. Obviously there are some file size limitations (but the hex viewer is streaming, so should work for any size the underlying system can handle), and therefore optimally efficient. Oh, and it also should handle archives just fine, as in, you can open {zip,tar.gz,... etc ...} archives and inspect them "file viewer" style. Somehow I just felt this kind of capability (remote viewing files, from a safe and secure distance) was absolutely necessary for a remote browser. I often think of these things like a "glovebox"^0 0: https://bit.ly/3S4RbVD specifically designed for handling hazardous materials, including biological, chemical, or radioactive substances. Gloveboxes provide a sealed environment where researchers or technicians can manipulate hazardous substances safely https://bit.ly/3u7Pdf9 January 21, 2024 at 05:43AM

Friday, 19 January 2024

Show HN: WingmanAi – Upload text conversations and get reply suggestions with AI https://bit.ly/4b7hymv

Show HN: WingmanAi – Upload text conversations and get reply suggestions with AI https://bit.ly/4b7fw6a January 20, 2024 at 07:42AM

Show HN: Job Log – Job Application Tracker https://bit.ly/4b0QCoD

Show HN: Job Log – Job Application Tracker Happy Friday HN! Long time lurker, first time poster here. I, along with many others in recent times, have been affected by the layoffs impacting the tech industry, and I'm currently on the software engineering job hunt. I had been tracking my job applications via Excel to help facilitate my WA state unemployment claims, but am (personally) anti-Excel / against using spreadsheets. I also wanted to explore the latest and greatest NextJS / Vercel features, so thought this would be a great time to learn something new! Job Log was never really meant to see the light of day for other users, but I thought "why not?" if it might help others in their job search hunt. Note: this was built in about a week, so will definitely be a little rough around the edges. Please be patient as I continue to build on this! You can learn more here: https://bit.ly/4b2ELGA Feel free to leave any feedback here in this thread or email me at joblogservice@gmail.com! Hope everyone has a great weekend! https://bit.ly/4260NEa January 19, 2024 at 09:20PM