Reciprocal Approximation with 1 Subtraction
7 by mbitsnbites | 3 comments on Hacker News.
Today's find: You can get a floating-point approximation of 1/x that's accurate to 3 bits with a single integer subtraction instruction. float fast_reciprocal(float x) { unsigned i = *(unsigned *) &x; i = 0x7effffffU - i; return *(float *) &i; } The magic number 0x7effffff accomplishes two things: 1) The exponent is calculated as 253-e, which effectively negates the exponent and subtracts 1. 2) The mantissa is approximated as a 1st order polynomial in the interval [1, 2). Interesting, but perhaps not very useful (as most CPU:s have more accurate reciprocal approximations these days).
Tuesday, 31 December 2024
New top story on Hacker News: App Should Have Been a Website (and Probably Your Game Too)
App Should Have Been a Website (and Probably Your Game Too)
14 by thunderbong | 8 comments on Hacker News.
14 by thunderbong | 8 comments on Hacker News.
Monday, 30 December 2024
New top story on Hacker News: 86Box: Emulator of x86-Based Machines
Sunday, 29 December 2024
New top story on Hacker News: BioTerrorism Will Save Your Life with the 4 Thieves Vinegar Collective [video]
BioTerrorism Will Save Your Life with the 4 Thieves Vinegar Collective [video]
15 by doener | 2 comments on Hacker News.
15 by doener | 2 comments on Hacker News.
New top story on Hacker News: We've not been trained for this: life after the Newag DRM disclosure [video]
We've not been trained for this: life after the Newag DRM disclosure [video]
19 by doener | 3 comments on Hacker News.
19 by doener | 3 comments on Hacker News.
Saturday, 28 December 2024
New top story on Hacker News: Chess: Magnus Carlsen disqualified in N.Y. after refusing to change out of jeans
Chess: Magnus Carlsen disqualified in N.Y. after refusing to change out of jeans
22 by bookofjoe | 10 comments on Hacker News.
22 by bookofjoe | 10 comments on Hacker News.
Friday, 27 December 2024
New top story on Hacker News: Confession: I Barely Use Web3
New top story on Hacker News: Building AI Products–Part I: Back-End Architecture
Building AI Products–Part I: Back-End Architecture
20 by rafaelferreira | 1 comments on Hacker News.
20 by rafaelferreira | 1 comments on Hacker News.
Thursday, 26 December 2024
New top story on Hacker News: We're All Bozos on This Bus: Eliza and the Firesign Theater
We're All Bozos on This Bus: Eliza and the Firesign Theater
4 by abrax3141 | 2 comments on Hacker News.
4 by abrax3141 | 2 comments on Hacker News.
Wednesday, 25 December 2024
New top story on Hacker News: Navtive FlameGraphViewer
Tuesday, 24 December 2024
New top story on Hacker News: Tokyo released point cloud data of the entire city for free
Tokyo released point cloud data of the entire city for free
17 by taubek | 1 comments on Hacker News.
17 by taubek | 1 comments on Hacker News.
Monday, 23 December 2024
New top story on Hacker News: Why Apple sends spyware victims to this nonprofit security lab
Why Apple sends spyware victims to this nonprofit security lab
20 by latexr | 3 comments on Hacker News.
20 by latexr | 3 comments on Hacker News.
New top story on Hacker News: Offline Reinforcement Learning for LLM Multi-Step Reasoning
Offline Reinforcement Learning for LLM Multi-Step Reasoning
11 by belter | 5 comments on Hacker News.
11 by belter | 5 comments on Hacker News.
Sunday, 22 December 2024
Saturday, 21 December 2024
New top story on Hacker News: Kannel: Open-Source WAP and SMS Gateway
Friday, 20 December 2024
New top story on Hacker News: ByteDance's Recommendation System
New top story on Hacker News: Intel Core Ultra 9 285K "Arrow Lake" Windows 11 vs. Ubuntu Linux Performance
Intel Core Ultra 9 285K "Arrow Lake" Windows 11 vs. Ubuntu Linux Performance
14 by rbanffy | 22 comments on Hacker News.
14 by rbanffy | 22 comments on Hacker News.
New top story on Hacker News: Matt Mullenweg temporarily shuts down some Wordpress.org functions
Matt Mullenweg temporarily shuts down some Wordpress.org functions
4 by PuffinBlue | 2 comments on Hacker News.
4 by PuffinBlue | 2 comments on Hacker News.
Thursday, 19 December 2024
New top story on Hacker News: America Is Suddenly Getting Healthier. No One Knows Why.
America Is Suddenly Getting Healthier. No One Knows Why.
32 by ____H____ | 39 comments on Hacker News.
32 by ____H____ | 39 comments on Hacker News.
New top story on Hacker News: The longest straight line in Great Britain (without crossing a public road)
The longest straight line in Great Britain (without crossing a public road)
5 by fanf2 | 1 comments on Hacker News.
5 by fanf2 | 1 comments on Hacker News.
New top story on Hacker News: Scientists learning to 'write' skills to human brain noninvasively, like Matrix
Scientists learning to 'write' skills to human brain noninvasively, like Matrix
16 by gregw2 | 6 comments on Hacker News.
16 by gregw2 | 6 comments on Hacker News.
Wednesday, 18 December 2024
New top story on Hacker News: Haskell vs. Ada vs. C++ vs. an Experiment in Software Prototyping Productivity [pdf]
Haskell vs. Ada vs. C++ vs. an Experiment in Software Prototyping Productivity [pdf]
11 by mkristiansen | 4 comments on Hacker News.
11 by mkristiansen | 4 comments on Hacker News.
New top story on Hacker News: Analyzing the World Chess Championship 2024: Empirical Synthesized Approach
Analyzing the World Chess Championship 2024: Empirical Synthesized Approach
8 by maximamel | 8 comments on Hacker News.
8 by maximamel | 8 comments on Hacker News.
Tuesday, 17 December 2024
New top story on Hacker News: Now We're All Forked
New top story on Hacker News: Eating Spaghetti by the Fistful Was Once a Neapolitan Street Spectacle
Eating Spaghetti by the Fistful Was Once a Neapolitan Street Spectacle
9 by thunderbong | 2 comments on Hacker News.
9 by thunderbong | 2 comments on Hacker News.
Monday, 16 December 2024
New top story on Hacker News: Intel ME Cleaner
Sunday, 15 December 2024
New top story on Hacker News: Implementing a simple object system from scratch in Ruby
Implementing a simple object system from scratch in Ruby
10 by metacircu1ar | 0 comments on Hacker News.
10 by metacircu1ar | 0 comments on Hacker News.
New top story on Hacker News: Show HN: Shop Clothes with Models That Match Your Body Shape
Show HN: Shop Clothes with Models That Match Your Body Shape
4 by Deekshana_Reddy | 1 comments on Hacker News.
This is one of those fix a problem you can’t ignore projects. Like most online shoppers, I often found myself frustrated: clothes look great on models but disappoint when I try them on. It’s not the clothes, it’s the body shape mismatch. So, I spent the last few months building TheBodyMatch, a platform where clothes are showcased on models who share your body shape. You get a more relatable and confident shopping experience because seeing is believing, especially when the model reflects you. It’s still early days. Think of this as a beta where feedback is gold. I’d love for you to try it out here: www.thebodymatch.com and share your thoughts. Is this the future of online fashion? I hope so.
4 by Deekshana_Reddy | 1 comments on Hacker News.
This is one of those fix a problem you can’t ignore projects. Like most online shoppers, I often found myself frustrated: clothes look great on models but disappoint when I try them on. It’s not the clothes, it’s the body shape mismatch. So, I spent the last few months building TheBodyMatch, a platform where clothes are showcased on models who share your body shape. You get a more relatable and confident shopping experience because seeing is believing, especially when the model reflects you. It’s still early days. Think of this as a beta where feedback is gold. I’d love for you to try it out here: www.thebodymatch.com and share your thoughts. Is this the future of online fashion? I hope so.
Saturday, 14 December 2024
New top story on Hacker News: Suchir's Essay on Fair Use
Friday, 13 December 2024
New top story on Hacker News: Mirror Bacteria Research Poses Significant Risks, Scientists Warn
Mirror Bacteria Research Poses Significant Risks, Scientists Warn
34 by conqueso | 18 comments on Hacker News.
34 by conqueso | 18 comments on Hacker News.
New top story on Hacker News: Noninvasive imaging method can penetrate deeper into living tissue
Noninvasive imaging method can penetrate deeper into living tissue
29 by rbanffy | 2 comments on Hacker News.
29 by rbanffy | 2 comments on Hacker News.
New top story on Hacker News: SpaceX Seeks Approval to Turn Texas Starbase Site into New City
SpaceX Seeks Approval to Turn Texas Starbase Site into New City
16 by JumpCrisscross | 11 comments on Hacker News.
16 by JumpCrisscross | 11 comments on Hacker News.
New top story on Hacker News: AI Product Management – Andrew Ng
Thursday, 12 December 2024
New top story on Hacker News: The report for the 2024 security audit of the Mullvad app is now available
The report for the 2024 security audit of the Mullvad app is now available
10 by janandonly | 0 comments on Hacker News.
10 by janandonly | 0 comments on Hacker News.
New top story on Hacker News: Startup will brick $800 emotional support robot for kids without refunds
Startup will brick $800 emotional support robot for kids without refunds
18 by jemp | 7 comments on Hacker News.
18 by jemp | 7 comments on Hacker News.
Wednesday, 11 December 2024
New top story on Hacker News: Show HN: Powerdrill – Leverage LLMs to Simplify Data Analysis
Show HN: Powerdrill – Leverage LLMs to Simplify Data Analysis
9 by joywong | 1 comments on Hacker News.
Powerdrill is an AI tool that enables users to chat with their data to get anything they want to know from their data. It's designed for individuals who need to work with data regularly but have limited data analysis skills. Users only need to input their questions. Then Powerdrill understands user queries, generates Python or SQL code, executes it, and provides answers with valuable insights and visualized data. Powerdrill supports various types of data, including PDFs, Word documents, Excel sheets, TSV files, and databases. It also offers data agents that save users time on repetitive tasks, such as generating reports and presentations with a single click.
9 by joywong | 1 comments on Hacker News.
Powerdrill is an AI tool that enables users to chat with their data to get anything they want to know from their data. It's designed for individuals who need to work with data regularly but have limited data analysis skills. Users only need to input their questions. Then Powerdrill understands user queries, generates Python or SQL code, executes it, and provides answers with valuable insights and visualized data. Powerdrill supports various types of data, including PDFs, Word documents, Excel sheets, TSV files, and databases. It also offers data agents that save users time on repetitive tasks, such as generating reports and presentations with a single click.
New top story on Hacker News: You need 4 colors
Tuesday, 10 December 2024
New top story on Hacker News: ChatGPT's Sad Second Birthday
Monday, 9 December 2024
New top story on Hacker News: Noise Filtering Using 1€ Filter (2020)
New top story on Hacker News: A liar who always lies says "All my hats are green."
A liar who always lies says "All my hats are green."
10 by ColinWright | 17 comments on Hacker News.
10 by ColinWright | 17 comments on Hacker News.
New top story on Hacker News: Raspberry Pi 500 Review: The keyboard is the computer, again
Raspberry Pi 500 Review: The keyboard is the computer, again
22 by rcarmo | 4 comments on Hacker News.
22 by rcarmo | 4 comments on Hacker News.
Sunday, 8 December 2024
New top story on Hacker News: Arthur Cravan: The Disappearing Dadaist
New top story on Hacker News: Insects rely on sounds made by distressed vegetation to guide reproduction
Insects rely on sounds made by distressed vegetation to guide reproduction
15 by tintinnabula | 3 comments on Hacker News.
15 by tintinnabula | 3 comments on Hacker News.
New top story on Hacker News: Show HN: Run10K Trainer – Personalized Training Running Plans for Your 10K Race
Show HN: Run10K Trainer – Personalized Training Running Plans for Your 10K Race
3 by alexdevcodes | 0 comments on Hacker News.
Hi HN! I’m a professional runner and programmer, and I built *Run10K Trainer*, the app I wish I had when I started training. It’s a web and mobile app that generates personalized plans for 10K races, tailored to your schedule, experience level, and race date. After months of development, I’d love your feedback to help make it even better for runners everywhere. Does this sound like something you’d use?
3 by alexdevcodes | 0 comments on Hacker News.
Hi HN! I’m a professional runner and programmer, and I built *Run10K Trainer*, the app I wish I had when I started training. It’s a web and mobile app that generates personalized plans for 10K races, tailored to your schedule, experience level, and race date. After months of development, I’d love your feedback to help make it even better for runners everywhere. Does this sound like something you’d use?
Saturday, 7 December 2024
New top story on Hacker News: Show HN: Countless.dev – A website to compare every AI model: LLMs, TTSs, STTs
Show HN: Countless.dev – A website to compare every AI model: LLMs, TTSs, STTs
12 by ahmetd | 0 comments on Hacker News.
12 by ahmetd | 0 comments on Hacker News.
New top story on Hacker News: Can Life Emerge Around a White Dwarf?
Friday, 6 December 2024
New top story on Hacker News: Debian opens a can of username worms
New top story on Hacker News: Show HN: Hacker Herald – like HN but with crowdsourced pics and subtitles
Show HN: Hacker Herald – like HN but with crowdsourced pics and subtitles
5 by MarkMc | 0 comments on Hacker News.
5 by MarkMc | 0 comments on Hacker News.
New top story on Hacker News: Ukraine's three nuclear power plants have restored electricity production
Ukraine's three nuclear power plants have restored electricity production
29 by mpweiher | 5 comments on Hacker News.
29 by mpweiher | 5 comments on Hacker News.
Thursday, 5 December 2024
New top story on Hacker News: US Senators implore Department of Defense to expand the use of Matrix
US Senators implore Department of Defense to expand the use of Matrix
19 by neiljohnson | 2 comments on Hacker News.
19 by neiljohnson | 2 comments on Hacker News.
New top story on Hacker News: macOS Packaging for Ungoogled-Chromium
Wednesday, 4 December 2024
New top story on Hacker News: The "Bird and Baby" grows up: inside the new Eagle and Child
The "Bird and Baby" grows up: inside the new Eagle and Child
3 by Doctor_Fegg | 0 comments on Hacker News.
3 by Doctor_Fegg | 0 comments on Hacker News.
New top story on Hacker News: How to Grow Professional Relationships
Tuesday, 3 December 2024
New top story on Hacker News: Guile-Emacs Relaunched
New top story on Hacker News: Wasmer (YC S19) Is Hiring a SRE and DevOps Engineer in Europe
Wasmer (YC S19) Is Hiring a SRE and DevOps Engineer in Europe
1 by syrusakbary | 0 comments on Hacker News.
1 by syrusakbary | 0 comments on Hacker News.
New top story on Hacker News: Company claims 1k% price hike drove it from VMware to open source rival
Company claims 1k% price hike drove it from VMware to open source rival
6 by elorant | 0 comments on Hacker News.
6 by elorant | 0 comments on Hacker News.
Monday, 2 December 2024
New top story on Hacker News: US airlines transported passengers over two light-years since the last crash
US airlines transported passengers over two light-years since the last crash
42 by sohkamyung | 32 comments on Hacker News.
42 by sohkamyung | 32 comments on Hacker News.
Sunday, 1 December 2024
New top story on Hacker News: AI Search Engineer at Activeloop (YC S18): Build Multi-Modal Enterprise Search
AI Search Engineer at Activeloop (YC S18): Build Multi-Modal Enterprise Search
1 by davidbuniat | 0 comments on Hacker News.
1 by davidbuniat | 0 comments on Hacker News.
New top story on Hacker News: Large Language Models as Markov Chains
Subscribe to:
Posts (Atom)