Readit News logoReadit News
0xcoffee commented on Pico.sh – SSH powered services for developers   pico.sh/... · Posted by u/TheTaytay
0xcoffee · a year ago
At risk of scope creep, the greatest selling point Netlify has for me is automatic form email support for static sites. Would be awesome if pico.sh supported that.
0xcoffee commented on Switching from Pyenv to Uv   bluesock.org/~willkg/blog... · Posted by u/harryvederci
fluidcruft · a year ago
I generally agree but one thing I find very frustrating (i.e. have not figured out yet) is how deal with extras well, particularly with pytorch. Some of my machines have GPU, some don't and things like "uv add" end up uninstalling everything and installing the opposite forcing a resync with the appropriate --extra tag. The examples in the docs do things like CPU on windows and GPU on Linux but all my boxes are linux. There has to be a way to tell it that "hey I want --extra GPU" always on this box. But I haven't figured it out yet.
0xcoffee commented on BYD to offer Tesla-like self-driving tech in all models for free   asiafinancial.com/byd-to-... · Posted by u/senti_sentient
0xcoffee · a year ago
>BYD has deployed three different versions of the “God’s Eye” ADAS across its line-up. All three offer automated parking and lane-keeping features, with the basic version – available on models costing up to 219,800 yuan ($30,078.69) – enabling autonomous driving on highways. The driver must keep their hands on the wheel and take control when necessary.

>Two higher-end versions will be installed on more expensive BYD-branded cars and its premium Denza and Yangwang brands. These will enable a car to drive autonomously — though also under human supervision — in more complex urban traffic.

The base version is self driving as in lane assist. It will not change lanes for you or 'self drive' to your destination.

I agree with BYD that these are great safety features and give them props for not gating safety behind a paywall.

0xcoffee commented on GitHub Linux ARM64 hosted runners now available for free in public repositories   github.blog/changelog/202... · Posted by u/Aissen
lbotos · a year ago
Ok.

You could:

- host your own set of static runners on AWS -- which, have a fixed monthly cost.

- pay a provider for hosted runners -- most providers bill in CI Minutes. So you will run out of minutes if jobs run amok, not run up your bill.

- Set up auto-scaling runners that ebb and flow based on demand. This case is the one that represents the risk you are describing of an unexpected bill increase.

2/3 cases of "paying someone else for CI compute" are just as predictable as your solution cost-wise. Yours could be cheaper, but the risk of "unexpected bill increase" is not really there.

0xcoffee · a year ago
fyi GitHub bill in minutes, and rounds up. So if you use 1 minute and 1 second, you get billed for 2 minutes. This is applied at job level, so it quickly gets out of control if you use matrix builds.

https://github.com/orgs/community/discussions/8726

0xcoffee commented on GitHub Linux ARM64 hosted runners now available for free in public repositories   github.blog/changelog/202... · Posted by u/Aissen
0xcoffee · a year ago
Is the price cheaper than x64 instances?

For 'large' instances, ARM64 is cheaper: https://docs.github.com/en/billing/managing-billing-for-your...

So what about regular instances?

0xcoffee commented on     · Posted by u/LinuxBender
0xcoffee · a year ago
>The CDC says that no cases of CWD have been detected in humans to date, but add that this may be a possibility in the future.
0xcoffee commented on I will never need to buy a new computer again   82mhz.net/posts/2025/01/i... · Posted by u/ecliptik
ivraatiems · a year ago
I've mentioned this in other threads, but I run a small side business refurbishing and selling old laptops. One element of my work is saving retro machines for retrocomputing, old hardware interfaces, etc., but I also refurbish and sell for general use.

For the average person with average needs, there is no difference between, for example, a $100 Dell Latitude E5530 from 10+ years ago and a $600 Best Buy low-end Dell laptop from today, so long as the Latitude has been modestly upgraded with 8GB of RAM and a small, used SSD. Its 3rd generation i5 is more than enough to do anything they need. It even runs Windows 11 just fine, so long as you inform the customer about the need to manually install feature updates.

For the general public, buying new computers is an expensive scam that contributes massively to waste. The machines I refurbish would typically have been thrown out or 'recycled' (stripped for precious metals in an expensive process) if not for my intervention. There's no reason for this except number-go-up greed, and it should stop.

0xcoffee · a year ago
I only buy second hand laptops for myself, but I think the power/efficiency gains of modern cpu's should not be overlooked. The average person doesn't need a strong cpu, but the laptop should not burn their lap or run out of battery while they browse facebook.
0xcoffee commented on Optimizing uint64_t Digit Counting: A Method that Beats Lemire's by up to 143%   github.com/RealTimeChris/... · Posted by u/realtimechris
0xcoffee · a year ago
C# Version:

    private static uint FastDigitCount(ulong value)
    {
        ReadOnlySpan<byte> digitCounts = [19, 19, 19, 19, 18, 18, 18, 17, 17, 17, 16, 16, 16, 16, 15, 15, 15, 14, 14, 14, 13, 13, 13, 13, 12, 12, 12, 11, 11, 11, 10, 10, 10, 10, 9, 9, 9, 8, 8, 8, 7, 7, 7, 7, 6, 6, 6, 5, 5, 5, 4, 4, 4, 4, 3, 3, 3, 2, 2, 2, 1, 1, 1, 1, 1];
        ReadOnlySpan<ulong> digitCountThresholds = [0, 9, 99, 999, 9999, 99999, 999999, 9999999, 99999999, 999999999, 9999999999, 99999999999, 999999999999, 9999999999999, 99999999999999, 999999999999999, 9999999999999999, 99999999999999999, 999999999999999999, 9999999999999999999];
    
        var leadingZeros = BitOperations.LeadingZeroCount(value);
        var originalDigitCount = digitCounts[leadingZeros];
        return originalDigitCount + (value > digitCountThresholds[originalDigitCount] ? 1u : 0u);
    }
Benchmark: https://stackoverflow.com/a/79337820/4503491

0xcoffee commented on Pat Gelsinger was wrong for Intel   bcantrill.dtrace.org/2024... · Posted by u/hasheddan
0xcoffee · a year ago
I find it interesting that the X2 chip they are using as Tofino's successor, made by Xsight. One of the investors of Xsight is Intel Capital. So seems Intel had a hedge against themselves.

u/0xcoffee

KarmaCake day676December 4, 2016View Original