Posts

Showing posts from August, 2024

700

New top story on Hacker News: Show HN: Asyncpal: Preemptive concurrency and parallelism for sporadic workloads

Show HN: Asyncpal: Preemptive concurrency and parallelism for sporadic workloads 7 by alexrustic | 0 comments on Hacker News. Hi HN ! Alex here. I'm excited to show you Asyncpal ( https://ift.tt/CW5xRtm ), a Python library for parallelism [1] and preemptive concurrency [2] tailored for sporadic workloads [3]. I've been working on a private project where it would be convenient to have asynchronous versions of some operations without using `async/await` [4]. Besides `async/await`, which represents cooperative concurrency via the `asyncio` package, Python also provides preemptive concurrency through its `threading` package. Additionally, the `concurrent.futures` package builds upon the `threading` package to provide a thread pool [5], which is the design pattern my project needed for managing concurrent tasks. Although a thread pool is the right tool for the problems it solves, its creation and usage involve the allocation of resources that must be properly released. For this r...

New top story on Hacker News: Rediscovering the Small Web (2020)

Rediscovering the Small Web (2020) 9 by colinprince | 0 comments on Hacker News.

New top story on Hacker News: UC Berkeley will delete all alumni email accounts with >5GB stored

UC Berkeley will delete all alumni email accounts with >5GB stored 15 by apengwin | 10 comments on Hacker News.

New top story on Hacker News: Show HN: MinutesLink – AI note taker for online calls

Show HN: MinutesLink – AI note taker for online calls 6 by elisegr | 0 comments on Hacker News. We created this AI meeting assistant to help entrepreneurs, founders, and managers of remote teams handle their virtual meeting management. We personally faced the challenge of numerous daily calls with different teams, clients, and partners when you lose track of what was discussed and agreed upon. That's why we created MinutesLink, designing it to be intuitive and easy to use.

New top story on Hacker News: Firewall rules: not as secure as you think

Firewall rules: not as secure as you think 9 by jnord | 1 comments on Hacker News.

New top story on Hacker News: Hawai'i-Issued Real IDs Can Be Added to Apple Wallet Beginning August 28

Hawai'i-Issued Real IDs Can Be Added to Apple Wallet Beginning August 28 21 by srockets | 2 comments on Hacker News.

New top story on Hacker News: Judge Rules $400M Algorithmic System Illegally Denied People's Medicaid Benefits

Judge Rules $400M Algorithmic System Illegally Denied People's Medicaid Benefits 79 by rntn | 18 comments on Hacker News.

New top story on Hacker News: New 2GB Raspberry Pi 5 has 33% smaller die, 30% idle power savings

New 2GB Raspberry Pi 5 has 33% smaller die, 30% idle power savings 92 by ingve | 18 comments on Hacker News.

New top story on Hacker News: Launch HN: Patchwork (YC W24) – Automatically add structured logs to your code

Launch HN: Patchwork (YC W24) – Automatically add structured logs to your code 8 by benjaminfh | 0 comments on Hacker News. Hey HN! We are Sam, Alex and Ben from Patchwork Technologies ( https://getpatchwork.io ). Patchwork automatically adds actionable structured logs to your code. Big picture: we are building a next generation logging and observability platform which gives engineers the rich debugging context they need. There’s a demo video ( https://youtu.be/ObIepiXfVx0 ), as well as a demo^ instance with some results for you to explore at https://ift.tt/5kFUW4j (no sign-in required!) The demo shows the analysis and improvement (against a style guide) of existing logs. It’s set up for two OSS repositories, https://ift.tt/GhneoAC and our awesome friends at Glasskube ( https://ift.tt/BN2jcz7 ). We welcome suggestions of other OSS Go repositories that you would like to see added! Why we are building this: At our previous company, we relied heavily on actionable, context-rich structu...

New top story on Hacker News: Farewell Pandas, and thanks for all the fish

Farewell Pandas, and thanks for all the fish 16 by nojito | 1 comments on Hacker News.

New top story on Hacker News: Many Small Queries Are Efficient in SQLite

Many Small Queries Are Efficient in SQLite 28 by tosh | 6 comments on Hacker News.

New top story on Hacker News: The Fall of StackOverflow: A Data-Driven Analysis

The Fall of StackOverflow: A Data-Driven Analysis 8 by sh_tomer | 4 comments on Hacker News.

New top story on Hacker News: Firewalling Your Code

Firewalling Your Code 14 by tie-in | 8 comments on Hacker News.

New top story on Hacker News: Tinybox of tinygrad by George Hotz is finally entering production

Tinybox of tinygrad by George Hotz is finally entering production 13 by hedgehog0 | 0 comments on Hacker News.

New top story on Hacker News: In 2024, it really is better to run a startup in SF

In 2024, it really is better to run a startup in SF 19 by iancmceachern | 12 comments on Hacker News.

New top story on Hacker News: Launch HN: Parity (YC S24) – AI for on-call engineers working with Kubernetes

Launch HN: Parity (YC S24) – AI for on-call engineers working with Kubernetes 15 by wilson090 | 4 comments on Hacker News. Hey HN — we’re Jeffrey, Coleman, and Wilson, and we’re building Parity ( https://tryparity.com ), an AI SRE copilot for on-call engineers working with Kubernetes. Before you've opened your laptop, Parity has conducted an investigation to triage, determine root cause, and suggest a remediation for an issue. You can check out a quick demo of Parity here: https://ift.tt/tujONem We met working together as engineers at Crusoe, a cloud provider, and we always dreaded being on-call. It meant a week of putting our lives and projects on hold to be prepared to firefight an issue at any hour of the day. We experienced sleepless nights after being woken up by a PagerDuty alert to then find and follow a runbook. We canceled plans to make time to sift through dashboards and logs in search of the root cause of downtime in our k8s cluster. After speaking with other devs and...

New top story on Hacker News: A Jenga tower about to collapse: Software erosion is happening all around us

A Jenga tower about to collapse: Software erosion is happening all around us 20 by TaurenHunter | 3 comments on Hacker News.

New top story on Hacker News: Australian employees now have the right to ignore work emails, calls after hours

Australian employees now have the right to ignore work emails, calls after hours 12 by testrun | 5 comments on Hacker News.

New top story on Hacker News: Is Telegram really an encrypted messaging app?

Is Telegram really an encrypted messaging app? 34 by md224 | 3 comments on Hacker News.

New top story on Hacker News: MavenGate gets it all wrong and hurts open source

MavenGate gets it all wrong and hurts open source 31 by erikvanoosten | 0 comments on Hacker News.

New top story on Hacker News: Copilot AI calls journalist a child abuser, MS tries to launder responsibility

Copilot AI calls journalist a child abuser, MS tries to launder responsibility 22 by ColinWright | 6 comments on Hacker News.

New top story on Hacker News: Windows 0-day was exploited by North Korea to install advanced rootkit

Windows 0-day was exploited by North Korea to install advanced rootkit 69 by fortran77 | 21 comments on Hacker News.

New top story on Hacker News: Small Strings in Rust: smolstr vs. smartstring

Small Strings in Rust: smolstr vs. smartstring 17 by airstrike | 3 comments on Hacker News.

New top story on Hacker News: Against all odds, an asteroid mining company appears to be making headway

Against all odds, an asteroid mining company appears to be making headway 8 by bookofjoe | 3 comments on Hacker News.

New top story on Hacker News: Microsoft formally deprecates the 39-year-old Windows Control Panel

Microsoft formally deprecates the 39-year-old Windows Control Panel 2 by mfiguiere | 0 comments on Hacker News.

New top story on Hacker News: Microsoft's controversial Windows Recall feature is coming back in October

Microsoft's controversial Windows Recall feature is coming back in October 24 by mrinfinitiesx | 2 comments on Hacker News.

New top story on Hacker News: Surfer: Centralize all your personal data from online platforms

Surfer: Centralize all your personal data from online platforms 31 by swyx | 2 comments on Hacker News.

New top story on Hacker News: Is AI eating all the energy?

Is AI eating all the energy? 14 by lr0 | 12 comments on Hacker News.

New top story on Hacker News: 'Virtually intact' wreck believed to be Royal Navy warship torpedoed in WWI

'Virtually intact' wreck believed to be Royal Navy warship torpedoed in WWI 4 by SonOfKyuss | 0 comments on Hacker News.

New top story on Hacker News: 84% want stronger online privacy laws, but Congress's corruption stalls progress

84% want stronger online privacy laws, but Congress's corruption stalls progress 41 by speckx | 29 comments on Hacker News.

New top story on Hacker News: No "Hello", No "Quick Call", and No Meetings Without an Agenda

No "Hello", No "Quick Call", and No Meetings Without an Agenda 66 by tybulewicz | 34 comments on Hacker News.

New top story on Hacker News: Major Backdoor in RFID Cards Allows Instant Cloning

Major Backdoor in RFID Cards Allows Instant Cloning 3 by LinuxBender | 0 comments on Hacker News.

New top story on Hacker News: Mimalloc Cigarette: Losing one week of my life catching a memory leak (Rust)

Mimalloc Cigarette: Losing one week of my life catching a memory leak (Rust) 16 by Patryk27 | 1 comments on Hacker News.

New top story on Hacker News: ScreenPlay Is an Open Source Live-Wallpaper App for Windows and OS X

ScreenPlay Is an Open Source Live-Wallpaper App for Windows and OS X 7 by doener | 4 comments on Hacker News.

New top story on Hacker News: Calling All Hackers

Calling All Hackers 30 by picture | 2 comments on Hacker News.

New top story on Hacker News: Why Are Texas Interchanges So Tall?

Why Are Texas Interchanges So Tall? 22 by impish9208 | 6 comments on Hacker News.

New top story on Hacker News: Mike Lynch's co-defendant in fraud trial 'fatally struck' by car while jogging

Mike Lynch's co-defendant in fraud trial 'fatally struck' by car while jogging 50 by Fluorescence | 32 comments on Hacker News.

New top story on Hacker News: Page Turns: Literary Translations on the American Ballet Theater's Summer Stage

Page Turns: Literary Translations on the American Ballet Theater's Summer Stage 4 by bryanrasmussen | 0 comments on Hacker News.

New top story on Hacker News: Wafris – an Open Source Web Application Firewall that lives in your stack

Wafris – an Open Source Web Application Firewall that lives in your stack 12 by ezekg | 3 comments on Hacker News.

New top story on Hacker News: Classifying All of the Pdfs on the Internet

Classifying All of the Pdfs on the Internet 29 by Nydhal | 3 comments on Hacker News.

New top story on Hacker News: Parsing protobuf at 2+GB/s: how I learned to love tail calls in C (2021)

Parsing protobuf at 2+GB/s: how I learned to love tail calls in C (2021) 44 by fanf2 | 7 comments on Hacker News.

New top story on Hacker News: Animate.css: Seamless CSS Animations Across All Browsers

Animate.css: Seamless CSS Animations Across All Browsers 6 by LaunchpadHacker | 0 comments on Hacker News.

New top story on Hacker News: Ask HN: Combine Qix and falling block game genre via falling (working) pens?

Ask HN: Combine Qix and falling block game genre via falling (working) pens? 3 by amichail | 2 comments on Hacker News. As a pen falls, you can move it to create and enclose regions, similar to the game Qix. When you create an enclosed region, it is removed, freeing up space to create more enclosed regions. The game ends if you run into a Qix enemy or if you are unable to create an enclosed region. Would this be an interesting variation on falling block games?

New top story on Hacker News: Troubled Amazon drone delivery program faces latest challenge: Annoyed residents

Troubled Amazon drone delivery program faces latest challenge: Annoyed residents 14 by rntn | 7 comments on Hacker News.

New top story on Hacker News: WTH Is Cerebrolysin, Actually?

WTH Is Cerebrolysin, Actually? 2 by surprisetalk | 0 comments on Hacker News.

New top story on Hacker News: The Gallery of Regrettable Food

The Gallery of Regrettable Food 10 by rbanffy | 1 comments on Hacker News.

New top story on Hacker News: The Day GitHub Almost CrowdStriked Us All (Again)

The Day GitHub Almost CrowdStriked Us All (Again) 4 by talyssonoc | 0 comments on Hacker News.

New top story on Hacker News: Microsoft is finally removing the FAT32 partition size limit in Windows 11

Microsoft is finally removing the FAT32 partition size limit in Windows 11 13 by tosh | 1 comments on Hacker News.

New top story on Hacker News: Imbue (Formerly Generally Intelligent) (YC S17) Is Hiring an Engineering Manager

Imbue (Formerly Generally Intelligent) (YC S17) Is Hiring an Engineering Manager 1 by kanjun | 0 comments on Hacker News.

New top story on Hacker News: Nu-Klear Fallout Detector (ca. 1962-1968)

Nu-Klear Fallout Detector (ca. 1962-1968) 8 by cryptoz | 1 comments on Hacker News.

New top story on Hacker News: Eric Schmidt Says Google Is Falling Behind on AI–and Remote Work Is Why

Eric Schmidt Says Google Is Falling Behind on AI–and Remote Work Is Why 7 by pondsider | 5 comments on Hacker News.

New top story on Hacker News: Tell HN: Server error (5xx) in Google Search Console may not be 5xx at all

Tell HN: Server error (5xx) in Google Search Console may not be 5xx at all 8 by santah | 0 comments on Hacker News. I run https://ift.tt/MhAenZy and recently (a few months ago) - I noticed it started getting pages not indexed because of “Server error (5xx)” in Google Search Console (GSC): https://ift.tt/43aoYhf On the website everything looked good and all reported links worked fine. I tried validating these errors at GSC as fixed, but it would always report back that the issue is still present and new links would keep popping up to have 5xx errors (as seen on the screenshot). This was worrisome because it indicated there was some kind of an issue I wasn’t aware of that may be affecting not only Google’s crawlers, but my users as well. I did what everyone would do - checked my server, Cloudflare and analytics logs for anything suspicious and placed some additional logging to try and catch what was happening. This turned out nothing - as far as I could tell - no requests returned any...

New top story on Hacker News: Show HN: I built a tool to try artworks on your own wall

Show HN: I built a tool to try artworks on your own wall 7 by rokal | 0 comments on Hacker News. Simply upload a photo of your wall, upload the artwork images, position them, and download the result. It's very lightweight and nothing is uploaded to a server - everything runs directly in your browser. Why I made this: Existing apps (like Artrooms) fell short for me because they only offered stock wall images and limited 3D positioning, especially if your wall isn't perfectly frontal. I wanted something more flexible that would allow me to experiment with more scenarios, even when the photo is taken at a weird angle. The objective is to get a feel of how'd it look like, without the result being super realistic. Details: - Built with Three.js. - It's a static site hosted on Cloudflare. - Uploaded images are stored in IndexedDB. - Some effects, like shadows and blending, work intermittently. Sometimes they really work, and sometimes they fail horribly. - I've include...

New top story on Hacker News: Self-driving Waymo cars keep SF residents awake all night by honking

Self-driving Waymo cars keep SF residents awake all night by honking 32 by yabones | 10 comments on Hacker News.

New top story on Hacker News: All of Earth's water in a single sphere

All of Earth's water in a single sphere 69 by tigerlily | 26 comments on Hacker News.

New top story on Hacker News: Callisto: Reverse polish notation programming language inspired by YSL-C3, Forth

Callisto: Reverse polish notation programming language inspired by YSL-C3, Forth 9 by thunderbong | 0 comments on Hacker News.

New top story on Hacker News: Spice: Fine-grained parallelism with sub-nanosecond overhead in Zig

Spice: Fine-grained parallelism with sub-nanosecond overhead in Zig 24 by dsp_person | 1 comments on Hacker News.

New top story on Hacker News: Federal appeals court finds geofence warrants "categorically" unconstitutional

Federal appeals court finds geofence warrants "categorically" unconstitutional 74 by computerliker | 18 comments on Hacker News.

New top story on Hacker News: Working from home allowed him to be a more engaged dad. Now it's over

Working from home allowed him to be a more engaged dad. Now it's over 51 by rntn | 29 comments on Hacker News.

New top story on Hacker News: Tim Sweeney: " Now Apple is demanding a 30% cut of all Patreon DONATIONS

Tim Sweeney: " Now Apple is demanding a 30% cut of all Patreon DONATIONS 30 by retskrad | 6 comments on Hacker News.

New top story on Hacker News: Y'all are sleeping on HTTP/3

Y'all are sleeping on HTTP/3 11 by signa11 | 7 comments on Hacker News.

New top story on Hacker News: Logitech F710 gamepad, allegedly contributed to Titan submersible implosion

Logitech F710 gamepad, allegedly contributed to Titan submersible implosion 13 by type0 | 10 comments on Hacker News.

New top story on Hacker News: 12 Coins in Verse: Genius solution of twelve balls and a scale problem

12 Coins in Verse: Genius solution of twelve balls and a scale problem 4 by vismit2000 | 2 comments on Hacker News.

New top story on Hacker News: Optimize the Overall System Not the Individual Components

Optimize the Overall System Not the Individual Components 6 by max_ | 2 comments on Hacker News.

New top story on Hacker News: Shortwire: The smallest VPN that connects two computers via the Internet

Shortwire: The smallest VPN that connects two computers via the Internet 3 by nogajun | 2 comments on Hacker News.

New top story on Hacker News: US FDA approves nasal spray alternative to EpiPen for allergic reactions

US FDA approves nasal spray alternative to EpiPen for allergic reactions 27 by sweca | 3 comments on Hacker News.

New top story on Hacker News: Larry Wall's Very Own Home Page

Larry Wall's Very Own Home Page 7 by thunderbong | 1 comments on Hacker News.

New top story on Hacker News: Breaking my hand forced me to write all my code with AI for 2 months

Breaking my hand forced me to write all my code with AI for 2 months 8 by eschluntz | 1 comments on Hacker News. I broke my hand while biking to work and could only type with my left hand. Somewhat surprisingly, I got much "better" at writing code with AI over 2 months, and I'm sticking with the new style even now that I'm out of a cast. Full disclosure: I work at Anthropic, and this was some intense dogfooding haha.

New top story on Hacker News: Books of the world, stand up and be counted All 129,864,880 of you. (2010)

Books of the world, stand up and be counted All 129,864,880 of you. (2010) 8 by Bluestein | 0 comments on Hacker News.

New top story on Hacker News: Recent Performance Improvements in Function Calls in CPython

Recent Performance Improvements in Function Calls in CPython 17 by rbanffy | 3 comments on Hacker News.

New top story on Hacker News: I got almost all of my wishes granted with RP2350

I got almost all of my wishes granted with RP2350 195 by elipsitz | 70 comments on Hacker News.

New top story on Hacker News: More and more German trains are not allowed to enter Switzerland

More and more German trains are not allowed to enter Switzerland 61 by belter | 94 comments on Hacker News.

New top story on Hacker News: Fallout 2 Remake 3D

Fallout 2 Remake 3D 15 by omnibrain | 5 comments on Hacker News.

New top story on Hacker News: YC is doing a first ever Fall 24 batch

YC is doing a first ever Fall 24 batch 42 by Astroboy007 | 10 comments on Hacker News.

New top story on Hacker News: Former geography teacher Tim Walz is really into maps

Former geography teacher Tim Walz is really into maps 3 by nkurz | 0 comments on Hacker News.

New top story on Hacker News: The Actual Wolf of Wallstreet Cold Call Script

The Actual Wolf of Wallstreet Cold Call Script 33 by nicconley | 10 comments on Hacker News.

New top story on Hacker News: Does space dust fall on the roof of my house?

Does space dust fall on the roof of my house? 15 by firebaze | 7 comments on Hacker News.

New top story on Hacker News: Crafting Formulas: Lambdas All the Way Down

Crafting Formulas: Lambdas All the Way Down 12 by marvinborner | 0 comments on Hacker News.

New top story on Hacker News: A simply utility script which allows you to analyze your Python file

A simply utility script which allows you to analyze your Python file 3 by todsacerdoti | 0 comments on Hacker News.

New top story on Hacker News: Maduro lost election, tallies collected by Venezuela's opposition show

Maduro lost election, tallies collected by Venezuela's opposition show 10 by personjerry | 6 comments on Hacker News.

New top story on Hacker News: A cryptographically secure bootloader for RISC-V in Rust

A cryptographically secure bootloader for RISC-V in Rust 30 by fork-bomber | 7 comments on Hacker News.

New top story on Hacker News: Japan's Nikkei Posts Biggest Single-Day Fall Since 1987 After Weak U.S. Data

Japan's Nikkei Posts Biggest Single-Day Fall Since 1987 After Weak U.S. Data 11 by tosh | 6 comments on Hacker News.

New top story on Hacker News: Building Lego Machines to Destroy Tall Lego Towers

Building Lego Machines to Destroy Tall Lego Towers 4 by dev_tty01 | 0 comments on Hacker News.

New top story on Hacker News: Writing a system call tracer using eBPF

Writing a system call tracer using eBPF 4 by tim_sw | 0 comments on Hacker News.

New top story on Hacker News: China Reaches Back in Time to Challenge the West. Way, Way Back

China Reaches Back in Time to Challenge the West. Way, Way Back 11 by oboes | 9 comments on Hacker News.

New top story on Hacker News: racket/rhombus: "We're now officially in the "integration" phase for Rhombus."

racket/rhombus: "We're now officially in the "integration" phase for Rhombus." 3 by networked | 0 comments on Hacker News.

New top story on Hacker News: DARPA suggests turning old C code automatically into Rust – using AI, of course

DARPA suggests turning old C code automatically into Rust – using AI, of course 8 by jdblair | 4 comments on Hacker News.

New top story on Hacker News: Additive manufacturing of an ultrastrong, deformable Aluminum alloy

Additive manufacturing of an ultrastrong, deformable Aluminum alloy 4 by PaulHoule | 0 comments on Hacker News.

New top story on Hacker News: Michael Phelps is 14 feet tall

Michael Phelps is 14 feet tall 16 by jeffbee | 8 comments on Hacker News.

New top story on Hacker News: Magnetically levitated space elevator to low-earth orbit [pdf] (2001)

Magnetically levitated space elevator to low-earth orbit [pdf] (2001) 21 by fosk | 5 comments on Hacker News.

New top story on Hacker News: Ask iFixit: Does Blowing Into Gaming Cartridges Actually Fix Them?

Ask iFixit: Does Blowing Into Gaming Cartridges Actually Fix Them? 6 by diggan | 3 comments on Hacker News.

New top story on Hacker News: Delta CEO calls Microsoft 'the most fragile platform' while praising Apple

Delta CEO calls Microsoft 'the most fragile platform' while praising Apple 4 by retskrad | 3 comments on Hacker News.

New top story on Hacker News: Australia starts peanut allergy treatment for babies

Australia starts peanut allergy treatment for babies 26 by peutetre | 1 comments on Hacker News.

New top story on Hacker News: The Trouble with __all__

The Trouble with __all__ 5 by the1024 | 1 comments on Hacker News.

New top story on Hacker News: Show HN: Engine Core – open-source LLM chat management and tool call framework

Show HN: Engine Core – open-source LLM chat management and tool call framework 10 by sdspurrier | 0 comments on Hacker News.

New top story on Hacker News: This month in Servo: console logging, parallel tables, OpenXR, and more

This month in Servo: console logging, parallel tables, OpenXR, and more 5 by infotainment | 0 comments on Hacker News.

New top story on Hacker News: Run Google Gemma 2 2B 100% Locally

Run Google Gemma 2 2B 100% Locally 12 by esleightholm | 7 comments on Hacker News. Google just released Gemma 2 2B and you can run it on Mac (and other devices), 100% local, powered by llama.cpp! 1. brew install llama.cpp 2. ./llama-cli --hf-repo google/gemma-2-2b-it-GGUF \ --hf-file 2b_it_v2.gguf \ -p "Write a poem about cats as a labrador" -cnv With this, I created a Local RAG Knowledge and Answering System with Google Gemma 2 2B and Marqo. Check it out: https://ift.tt/ERtuqnI Link also in the comments!