on-internet

Effectively using pnpm caching in GitHub Actions for pull request-only workflows

I have GitHub Actions jobs to check if the Node project can build as well as lint and format the code. The workflow is triggered by pull requests. I use pnpm, and the pnpm/setup action can cache the store to speed up the workflow. But the documentation of the pnpm/setup action recommends not restoring the cache when running the workflow from pull requests: To restore the store without saving it, set save-cache: false. This is useful for jobs that should not write to the cache, such as pull requests or all but one job in a matrix. The lockfile verification cache is still saved. Because the cach

Join the discussion →

Mercury-Bound X-Ray Telescope Delivers First Images After Eight Years In Space

A British-built X-ray telescope aboard the European-Japanese BepiColombo spacecraft has captured its first astronomical images after eight years in space and roughly 6.2 billion miles of travel. Phys.org reports: A team led by the University of Leicester has been making calibration measurements with the Mercury Imaging X-ray Spectrometer (MIXS), one of the instruments on the two-spacecraft BepiColombo mission to Mercury, which begins its orbital insertion tomorrow (Nov. 21) in preparation for the final stage of arrival at our solar system's smallest planet. After an eight-year journey, it is v

Join the discussion →

Key principles for designing a responsive website

I am designing a website and want to ensure the layout adapts smoothly across mobile, tablet, and desktop screens without breaking or feeling cramped. What are the most important principles to follow when designing a responsive website, and how should I structure my layout decisions so the site stays maintainable across devices?

Join the discussion →

Key prnciples for designing a responsive website

I am designing a website and want to ensure the layout adapts smoothly across mobile, tablet, and desktop screens without breaking or feeling cramped. What are the most important principles to follow when designing a responsive website, and how should I structure my layout decisions so the site stays maintainable across devices?

Join the discussion →

Replace multiple different substrings in one pass

I am searching for a SQL approach to replace multiple different multi-character substrings for an arbitrary string. Example replacements: 1. Hello -> Hi 2. World -> Universe 3. dog -> 🐕 4. fox -> 🦊 5. duck -> 🦆 6. swan -> 🦢 They should be applied in a specific order. For sample data: CREATE TABLE replacements(i INT, s1 TEXT, s2 TEXT); INSERT INTO replacements(i, s1, s2) VALUES (1, 'Hello', 'Hi'), (2, 'World', 'Universe'), (3, 'dog','🐕'), (4 ,'fox','🦊'), (5 ,'duck','🦆'), (6 ,'swan', '🦢'); CREATE TABLE tab(col STRING); INSERT INTO tab(col) VALUES ('Hello World!') ,('The quick brown fox jumps ove

Join the discussion →

Dear ladies, what things are huge turn-off for you when looking at men?

submitted by Naive to asklemmy 6 points | 2 comments I am single and many of my friends told me to have a relationship and some of them told me that we have seen that you behave quite awkward around girls. I am 19 and never I have approached anyone nor someone came to me. In school, maybe I had some female friends if we consider occasional chit-chat to be friendly but after that, no. I heard many advices like go to gym, have a beard, be a man, and other stuff. But it all came from males and most of them are just trads or cons. So, this time asking from ladies of Lemmy, what do you think is a t

Join the discussion →

Anthropic Mathematician Claims to Prove Riemann Hypothesis

Slashdot has been covering the Riemann Hypothesis for years. 2000: Prove The Riemann Hypothesis And Make.Money.Fast 2002: More on Riemann Hypothesis 2008: Claimed Proof of Riemann Hypothesis 2008: Prominent Mathematicians Rebuke Recent Riemann Hypothesis Proof Add a new headline to the list... 2026: Using AI, mathematician claims to have solved one of math's great mysteries joshuark shares a report from Scientific American: Levent Alpoge, a mathematician at Anthropic, has claimed to have solved the Riemann Hypothesis with the help of Anthropic's AI model Claude, but the proof is not yet indepe

Join the discussion →

Working on one task that I am stuck on - I need help! Proxy | VPN

I'm trying to record every API call from our mobile (Android / iOS). Let's suppose I am using Instagram then every calls generate phone like next reel, 'posts', if I opened inbox then request and response content that go through our mobile! I want to record this all. I have used mitmproxy, but it's really complex to setup and risks of security. Is there any alternative that you know of? I also want content, but I don't think it is possible because all content of requests or response are encrypted. I found this tool PCAPdroid, if there are any better alternatives, then please let me know.

Join the discussion →

Working on one task that i stuck, i need help! Proxy | VPN

First i will explain: To record every API-calls from our mobile(Android/IOS) Let's suppose I am using Instagram then every calls generate phone like `next reel`, 'posts', if i opened inbox then request and response content that go through our mobile! i want to record this all! i have used mitmproxy! but it's really complex to setup and risks of security. is there any alternative that's you know! i also want content but i don't think it is possible because all content of requests or response are encrypted! i found this tool `PCAPdroid`, if there any better alternatives then please let me know.

Join the discussion →

what´ll be the best way to learn in the odin project?

the answer must say what shall I do to get the best results from the Odin project. Also have to say where to start and what to do. Show me the path I have to follow to be a successful fullstack programmer. what type of routine I have to do, to help me on my programmer way

Join the discussion →

How to reduce the image size without losing quality using PHP

I am developing an image upload and compression system using Core PHP, and I need a complete working solution. I want to implement image compression that reduces the uploaded image file size while maintaining the best possible visual quality. Requirements: Support JPG, JPEG, PNG, and WebP image formats. Preserve the original uploaded image format in the output. Allow a configurable maximum output file size (for example, 250 KB or 500 KB). Automatically adjust image quality to achieve the target file size. Use binary search or another efficient approach to find the optimal compression quality.

Join the discussion →

FCC Backs AT&T's Plan To Remove Copper Landlines In California

An anonymous reader quotes a report from PCMag: On Friday, the FCC announced that it was preempting "specific requirements in California law that prevent consumers from transitioning off of unreliable, slow copper lines," even as some residents fear they'll be saddled with spotty cell service as an alternative. AT&T argues that California's "Carrier of the Last Resort" (COLR) rules prevent it from removing the old-school copper network that currently serves only 3% of California households, a number that continues to shrink. In May, the company urged the commission to declare that federal laws

Join the discussion →
Older stories