jump to:allmastodonblueskylemmylobstersdevstackwikirsshn
wwebbit
view: | | |

Tech / everything · hot matching “vi”

33 shown · updated 1m ago · read only
  1. post card accepted message on slack after card was declined (stackoverflow.com)stack

    29 points by Lisa Manobal in stackoverflow.com · 27m ago · stack

    I have a Zap that it's triggered by a new customer in stripe (new subscription), if the zap fails the payment hold step it posts a message of card declined but doesn't post a new message if the card is accepted. (It gets filtered out) it has a filter so all the payments are not…
  2. A NoClassDefError occurs when loading soft dependencies in an MC Bukkit plugin (stackoverflow.com)stack

    27 points by N501YHappy_OwO in stackoverflow.com · 37m ago · stack

    I'm having some trouble implementing soft dependencies with Worldguard. My plan is to create an interface that contains all the methods I need, with two classes implementing that interface: one that provides empty methods, and another that provides Worldguard methods. When World…
    filed under javabukkit
  3. Git Gud! (dev.to)dev

    67 points by @francistrdev in dev.to · 27h ago · 33 dev

    You heard me. Alright, that was mean lol. Though based on the title, you probably already knew the...
  4. What software do you use daily in 2026? (lobste.rs)lobsters

    14 points by r1w1s1 in lobste.rs · 3h ago · 37 lobsters

    There was a similar thread here six years ago, and I'm curious how people's daily setups have changed since then. What does the software side of your daily setup look like in 2026? Operating system, desktop environment or window manager, terminal, shell, editor, browser, and any other tools you consider essential to your daily workflow. I'm especially interested in the small or less obvious tools that have become indispensable to you.
    filed under askpractices
  5. a possible solution if 'hermes update' command fails [closed] (stackoverflow.com)stack

    22 points by ilya.chepurnoy in stackoverflow.com · 1h ago · stack

    I have Hermes agent (from NousResearch ) installed on Windwos 10, via uv in venv. yesterday when updating my Hermes agent via hermes update , i suddenly faced a bunch of errors, where this update would always succeed, countless times: error: failed to remove file `C:\Users\%User…
  6. How can I handle external media URLs safely in a Next.js API route? [closed] (stackoverflow.com)stack

    18 points by Manisha Rani in stackoverflow.com · 2h ago · stack

    I’m building a Next.js application called InstaFetch that processes publicly available Instagram media URLs. I’m using an API route to receive a URL from the frontend, validate it, and then process the response. My current approach works for some URLs, but I’m having trouble han…
    filed under next.js
  7. Python subclass dircmp (stackoverflow.com)stack

    16 points by Damien in stackoverflow.com · 3h ago · stack

    I'm having trouble subclassing the dircmp class from the filecmp module of Python. Here is my code: import filecmp class dircmp(filecmp.dircmp): def __init__(self, a, b, ignore = None, hide = None): super().__init__(a, b, ignore, hide) print("subclass init method") def phase3(se…
    filed under pythonsubclass
  8. Goaccess - Log format not working when invoked inside a bash script (stackoverflow.com)stack

    15 points by daHoodooMan in stackoverflow.com · 27h ago · stack

    I'm having a hard time to run goaccess in a simple bash script like this: #!/bin/bash cat domainlist.txt |\ while read d ; do # echo "goaccess /var/log/httpd/www.$d/access_log --log-format=COMBINED -o /srv/www/parked-domains/mystats/www.$d/index.html" ## uncomment previous line…
  9. Firefox’s Smart Window promises a better AI browser (theverge.com)rss

    editorial feed by Stevie Bonifield in The Verge · 5h ago · rss

    Starting today, AI chats in Firefox's Smart Window AI browsing mode can pull from current web info and show source links in chat responses through a partnership with Exa. Smart Window can also now automatically suggest tab groups and show visual previews of pages you previously…
  10. Event properties in ClickHouse — typed columns vs JSON type, for ~6M events/day with 29 event types (stackoverflow.com)stack

    14 points by Jay in stackoverflow.com · 31h ago · stack

    I'm building an event analytics pipeline (Kafka → ClickHouse) with ~6M events/day and 29 distinct event types. Each event has a fixed set of core fields, plus a properties object that varies per event type (e.g., search_submitted has city_id , result_count ; booking_created has…
  11. GPU Offload in Rust: Portable, Safe, and Fast (arxiv.org)lobsters

    3 points by theelx in lobste.rs · 5h ago · 1 lobsters

    High-performance GPU programming has traditionally forced a compromise between execution efficiency and memory safety. While Rust guarantees compile-time memory safety for host CPUs via its strict ownership model, applying these constraints to massively parallel GPU execution environments has previously mandated either vendor-locked Domain-Specific Languages (DSLs) or escaping to explicit unsafe raw pointers. This paper presents a zero-overhead, multi-vendor GPU compilation framework built natively into the Rust compiler (rustc) and LLVM backends. We leverage Rust’s rich type system, ownership system, and strict aliasing guarantees (𝑛𝑜𝑎𝑙𝑖𝑎𝑠) to efficiently manage and optimize data transfers through LLVM’s Offload infrastructure. We expose the technical challenges of cross-vendor ABI lowering mismatches between Host and Device targets and introduce a two-pass compilation pipeline capable of safely handling both manual and compiler-generated memory movements. Evaluating our framework on RAJAPerf demonstrates that our rustc-based solution can generate competitive LLVM IR for GPU kernels, achieving a solid kernel performance against native, hand-optimized CUDA and HIP C++ baselines.
    filed under compilerspdfrust
  12. Intermittent 403 Forbidden client error response status code when scraping with Selenium (stackoverflow.com)stack

    11 points by herpderp in stackoverflow.com · 51d ago · stack

    I have a python script running a headless Selenium Webdriver, looking up many individual records from a site. Most of the time it runs fine but every 10 minutes or so it starts hitting 403 errors. From trying different delayed retries, I've found that the 403 errors consistently…
  13. CSS-in-JS Arena Bamboo, StyleX and Panda on Pixel-Identical Apps (github.com)lobsters

    1 points by gajus in lobste.rs · 3h ago · lobsters

    A little context, I've been working on Contra for the last 6 years. It's a marketplace-network – an application that's comparable to the likes of LinkedIn, UpWork, and similar in terms of its surface area. That's hundreds of routes, thousands of components, and tens of thousands of styles. Over the last year, we have been obsessed with performance. We have optimized every layer of our infrastructure to the point where profiling the application increasingly started to surface bottlenecks in client-side (bundle size, and metrics like TBT, LCP, and INP). That's where CSS-in-JS comes in. 6 years ago, we started with styled-components. Then zero-runtime alternatives emerged and we started to experiment with them, eventually landing on Panda CSS. Panda took us a long way, but... they aren't _actually_ zero-runtime. Panda extracts CSS at build time, but it uses ~15KB runtime to map those style objects at runtime. This overhead surfaced repeatedly when profiling pages with lots of components (server-side and client-side). That's where I ended up writing Bamboo to solve this. Bamboo folds styles at build-time achieving _near_ zero-runtime (0.5KB vs 15 KB). If you write: ``` <div className={css({ fontSize: 'lg', fontWeight: 'bold' })}>Title</div> ``` it becomes: ``` <div className="fs_lg fw_bold">Title</div> ``` at build time. If the variant is dynamic, then bundle is inlined with pre-computed map of classes. ``` <span className={pick(status, { ok: "d_inline-flex px_8px bg_successSoft c_success", warn: "d_inline-flex px_8px bg_warningSoft c_warning", err: "d_inline-flex px_8px bg_dangerSoft c_danger", })} /> ``` That's the main idea behind Bamboo. Thanks to folding, we were able to improve our server-side and client-side performance. I built CSS-in-JS Arena as a sanity benchmark to track how we compare to Panda, but also to any other emerging frameworks.
    filed under cssperformance
  14. "To debug this project, configure it to use the 'Managed (CoreCLR)' debugger." when trying to debug multi target framework in .NET Core (stackoverflow.com)stack

    7 points by Nir in stackoverflow.com · 4y ago · stack

    I'm using Visual Studio 2019 and I have a multi targeted framework which targets .NET Framework 4.72 and .NET Core 5.0. The multi targeted .csproj is configured as follows: <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFrameworks>net472;ne…
  15. How to print HTML content in angular8 project? (stackoverflow.com)stack

    6 points by chaabani nejma in stackoverflow.com · 6y ago · stack

    I want to print just the chart but when I click to the button it prints to all of the window (with buttons and icons) the code is app.component.ts OnPrint() { window.print(); } styles.css @media print { body * { visibility: visible; } #section-to-print, #section-to-print * { vis…
    filed under angulartypescript
  16. Android: external storage permission issue: (stackoverflow.com)stack

    2 points by Farhan in stackoverflow.com · 15y ago · stack

    I really need someone here to guide me about some issues with the external storage OR sd-card. I won't go into complexities. I have a folder with the name of MyVideos . It is located in the sd-card folder of Motrola Xoom; the path is "/mnt/sdcard-ext/MyVideos. The folder is alre…