Readit News logoReadit News
wasyl commented on /usr/bin/env -S uv run   simonwillison.net/2024/Au... · Posted by u/jcbhmr
teroshan · 9 months ago
`uv` is not a new standard though, just a wrapper.
wasyl · 9 months ago
I mean, it's right there as the first highlight in the docs

> A single tool to replace pip, pip-tools, pipx, poetry, pyenv, twine, virtualenv, and more.

wasyl commented on Llama-OCR: Document to Markdown   llamaocr.com/... · Posted by u/lapnect
mg · 9 months ago
I gave it a sentence, which I created by placing 500 circles via a genetic algorithm to form a sentence. And then drew with an actual physical circle:

https://www.instagram.com/marekgibney/p/BiFNyYBhvGr/

Interestingly, it sees the circles just fine, but not the sentence. It replied with this:

    The image contains no text or other elements
    that can be represented in Markdown. It is a
    visual composition of circles and does not
    convey any information that can be translated
    into Markdown format.

wasyl · 9 months ago
Why is it interesting? The image does not look like anything, and you need to skew it (by looking at an angle) to see any letters (barely).
wasyl commented on Show HN: Vomitorium – all of your project in 1 text file   npmjs.com/package/vomitor... · Posted by u/jwally
acoretchi · a year ago
Repopack with Claude projects has been a game changer for me on repository-wide refactors.
wasyl · a year ago
Seems like repopack only packs the repo. How do you apply the refactors back to the project? Is it something that Claude projects does automatically somehow?
wasyl commented on Europe is in danger of regulating its tech market out of existence   foreignpolicy.com/2024/07... · Posted by u/paulpauper
burnerthrow008 · a year ago
> As an European, I heard that 60% of Americans live paycheck to paycheck

Yes, and we all declare bankruptcy every month, and charge $10,000 to our credit card to be allowed into the doctor's waiting room, where we announce our arrival by firing a gun in the air.

Where do you guys hear this stuff?

wasyl · a year ago
The numbers are debatable as usual but they're not taken from thin air

> A 2023 survey conducted by Payroll.org highlighted that 78% of Americans live paycheck to paycheck, a 6% increase from the previous year. In other words, more than three-quarters of Americans struggle to save or invest after paying for their monthly expenses.

> Similarly, a 2023 Forbes Advisor survey revealed that nearly 70% of respondents either identified as living paycheck to paycheck (40%) or—even more concerning—reported that their income doesn’t even cover their standard expenses (29%).

https://www.forbes.com/advisor/banking/living-paycheck-to-pa...

wasyl commented on Europe is in danger of regulating its tech market out of existence   foreignpolicy.com/2024/07... · Posted by u/paulpauper
burnerthrow008 · a year ago
> As an European, I heard that 60% of Americans live paycheck to paycheck

Yes, and we all declare bankruptcy every month, and charge $10,000 to our credit card to be allowed into the doctor's waiting room, where we announce our arrival by firing a gun in the air.

Where do you guys hear this stuff?

wasyl · a year ago
The numbers are debatable as usual but they're not taken from thin air

> A 2023 survey conducted by Payroll.org highlighted that 78% of Americans live paycheck to paycheck, a 6% increase from the previous year. In other words, more than three-quarters of Americans struggle to save or invest after paying for their monthly expenses.

> Similarly, a 2023 Forbes Advisor survey revealed that nearly 70% of respondents either identified as living paycheck to paycheck (40%) or—even more concerning—reported that their income doesn’t even cover their standard expenses (29%).

https://www.forbes.com/advisor/banking/living-paycheck-to-pa...

wasyl commented on Courts Close the Loophole Letting the Feds Search Your Phone at the Border   reason.com/2024/07/26/cou... · Posted by u/mhb
southernplaces7 · a year ago
A continent where laws capable of sending you to prison for freely expressing certain opinions is your counter example to a lack of certain advanced individual rights in the U.S.
wasyl · a year ago
Can you clarify which laws and opinions you have in mind?
wasyl commented on Preliminary Post Incident Review   crowdstrike.com/blog/falc... · Posted by u/cavilatrest
kasabali · a year ago
> Based on the testing performed before the initial deployment of the Template Type (on March 05, 2024), trust in the checks performed in the Content Validator, and previous successful IPC Template Instance deployments, these instances were deployed into production.
wasyl · a year ago
I don't read it as _bypassing tests_. They have tested the interpreter (`template type`) when it was first released, and they have _validated_ the new template instance (via `content validator`) and assumed this is enough, because it was enough in the past. None of the steps in the usual process were bypassed, and everything was done by the (their) book.

But it looks to me there's no integration test in the process at all. They're effectively unit testing the interpreter (template type), unit testing (validating) the "code" (template instance), but their testing strategy never actually runs the code on the interpreter (or, executes the template instance against the template type).

wasyl commented on Flame Graphs: Making the opaque obvious (2017)   tech.popdata.org/Flame-Gr... · Posted by u/davikr
PreInternet01 · a year ago
Yeah, I imagine it, and still don't see how the flame graph would help?

Shown as a hierarchical bar chart, this would suggest 'b' is problematic.

Where, color-wise (because peak-wise, 'c' would be the culprit here) do I see this issue in a flame graph? Because I fear that either 'main' or 'a' would have the most dominant shade of red here?

wasyl · a year ago
> Shown as a hierarchical bar chart, this would suggest 'b' is problematic.

But it's not necessarily `b` that's problematic:

- it may be `a` because it does a lot of stuff on its own, and depending on what `a` is, it might not be expected

- it could be `d` if it's supposed to be super fast (e.g. a logging method)

- it could be `c` because it takes a long time

- it could be `b` if `c` is external code or if calling `c` from `b` is not appropriate for what `b` does

- it might be nothing because there's nothing to optimize anymore, things just take this long

in fact, `b` is the last method I'd look at here

wasyl commented on Ask HN: What's Wrong with IRC?    · Posted by u/imgabe
weitendorf · a year ago
> why don't more companies just set up their own IRC server?

Why don't you grow your own food? Why don't you just write your own payment processor?

I used to think this way until I started a company with employees. My opinion on the matter changed almost instantaneously.

1. One does not simply set up their own "X". Setting up X takes time and you will also have to manage it, which also takes time (and is harder to anticipate when you are fully responsible for managing it).

2. As someone making decisions on this type of stuff (eg a founder, executive, head of IT, etc), maintaining something like X is a poor use of your time and not something you want to have to even think about. So you'll be paying for it anyway even when it's "free" by having an employee maintain it or sacrificing your own time on it.

3. You may trust yourself to be able to maintain it properly, but if you delegate it to an employee, the math changes. Now you have to hire someone you can trust to do a good job maintaining it and who is willing to do that kind of work. And you need to consider things like "what if that person quits/retires/gets sick" and "what if they get hacked or go rogue" and "what do I do when they go on vacation"?

4. Businesses have a lot more requirements of their communications software than just communications. If an employee loses a device or gets hacked you need to easily revoke access to everything, so you probably want to use SSO/an identity provider to make that easy. If you get sued you need to have a way to do legal discovery.

5. If you run into a bug or make a mistake, and introduce downtime or lose chat history, you just lost a lot of productivity or valuable info - operating things like this reliably is expensive, whereas having a support contract really reduces tail risk/provides peace of mind.

So if your option is to pay someone $10k for something like chat that Just Works (99.99% at least), and you are actually trying to build/operate a business and not just play around, something like $10k for chat can be an amazing deal compared to the true costs of doing it yourself. You pay someone some money and barely think/worry about it anymore, done.

wasyl · a year ago
> Why don't you grow your own food? Why don't you just write your own payment processor?

I find that usually if someone says "why don't X _just_ do Y", they haven't really considered what it takes to _just do Y_. Similarly,

> I know the UI/UX isn't the best, but that could probably be fixed pretty easily

could be expanded into 50 points of why exactly it wouldn't be _pretty easy_ to to "fix IRC UI/UX".

Honestly I don't know what answer OP expected here. If it's easy to set up/maintain Slack alternative based on IRC, with fixed UI/UX and appropriate for _most companies_, they should simply start a Slack competition for half the price and rake the profits, I guess

wasyl commented on After 6 years, I'm over GraphQL   bessey.dev/blog/2024/05/2... · Posted by u/mattbessey
joegibbs · a year ago
Yeah but then you’ve basically just remade REST, but the queries are stored in the frontend instead.
wasyl · a year ago
I don't understand this argument, how is it "remade REST" if you still don't need to implement and maintain an endpoint with exactly the data that clients need? Persisted/whitelisted queries require much less backend effort, and are decidedly different from REST, the only similarity is in having a closed set of possible actions. Perhaps you're thinking in terms of public APIs where I agree limiting available GraphQL queries makes little sense. But for internal APIs, whitelisting whatever queries current clients need isn't any less convenient

u/wasyl

KarmaCake day584April 12, 2014View Original