HackerLangs
TopNewTrendsCommentsPastAskShowJobs

tyg13

469 karmajoined 6 yıl önce

comments

tyg13
·23 saat önce·discuss
The incessant need to constantly leave "the code doesn't work like <bad implementation>, it works like <good implementation>" frustrates me to no end. No amount of directions against it in project MEMORY, CLAUDE.md, or even embedded in the prompt seem to be able to stop it from doing this. I don't understand how it could have gotten into the training because I've legitimately never seen an actual person write code comments like this.
tyg13
·10 gün önce·discuss
I too have settled into a kind of dual Claude/GPT model setup. I will often use one to review the other's work, or critique the other's plan in some way. Sometimes I'll have Claude implement a feature one way, then have GPT do it the other way, then have them both review each other's implementation. Then synthesize a final plan from the previous implementations+reviews.

I might just be having fun with models, but I have actually noticed their capabilities vary somewhat, and so my (perhaps vain) hope is that by using both, one can catch each the other's blindspots. It's still unclear to me if that's consistently happening, but I am making substantial progress in my personal and professional projects, so something seems to be working.
tyg13
·17 gün önce·discuss
most large companies, maybe, but small-to-medium-sized businesses can and will tell you to take a hike. there are no consumer protections in the US regarding returns beyond the goodwill of the company
tyg13
·2 ay önce·discuss
Exactly. You as the programmer know that the loop counter won't overflow, and in general, essentially nobody would actually write it that way. But if you don't assume it can't happen, the possibility for signed overflow is everywhere in address computations.

This is also a major blocker for auto-vectorization. Can't coalesce a load of a[i], a[i+1], a[i+2], a[i+3] into a load of a[i:i+3] if there's a possibility that `i+1`, `i+2` or `i+3` wrapped around (thus causing your "contiguous" load to be non-contiguous). This is a big reason why you shouldn't use `unsigned` for loop counters, especially if they're going to be used as an index into an address calculation.
tyg13
·2 ay önce·discuss
I see what you're going for, but I don't see how your example is UB. If `p` is a pointer, and, after your `if (p)` check, `p` is dereferenced unconditionally, then yes, your check for `p == NULL` could be removed, and the code under the `if` would be removed as well. But the example you've constructed is not UB.
tyg13
·2 ay önce·discuss
Exactly. I see this common idea trotted out that "where there's a will, there's a way" -- if the government bans something, the ban will never be effective, because people still want that thing, and so a ban will just encourage violating the law.

But that's highly contingent on that thing being something people are willing to violate the law over, and on the convenience of that thing not being significantly impacted by prohibition. Neither of which are true for prediction betting (it's almost identical to sports betting in that regard, imo.) The only reason these markets proliferate is precisely because they are legal.
tyg13
·2 ay önce·discuss
No, you don't understand. We're...

- mining the 95th percentile, leveraging the Pareto Principle

- optimizing and ubiquitizing under-optimized paradigms

- pioneering agentic solutions to aggressively expand product frontiers

- innovating high-risk strategies to serve underserved markets

- digging deep into the inner recesses of my being and extracting what's left of my soul through my nostrils

And so much more.
tyg13
·2 ay önce·discuss
Yeah, actually I completely agree with you. This discussion has gotten way out of hand.
tyg13
·2 ay önce·discuss
I don't think that altruism is specific to Christianity. I clarified that in a sibling comment (which you seemed to indicate you had read?), and that what I meant was Christianity specifically requires that good deeds must be purely altruistic. It's not considered true charity to do something with the expectation of any kind of reward. Am I wrong in thinking this is distinctly Christian? I'm genuinely interested.
tyg13
·2 ay önce·discuss
If you were interested in demonstrating my lack of education, I'm not sure you have done so.

But I'm happy to conclude this exchange with your feeling satisfied on that point. I don't imagine you're interested in an actual debate on substance, given that your only argument is essentially that I'm ignorant, and I don't know what I'm talking about.

Thank you for lending your expertise in this matter.
tyg13
·2 ay önce·discuss
Why not eliminate tax entirely, then? Is that a conclusion you'd support?
tyg13
·2 ay önce·discuss
> The us govt wastes by some estimates 30% of its budget. Trillions annually. Have to start with the waste and fraud. Empty daycares are not a good use of hard-earned tax dollars and have a massively pernicious effect on the society. They're not taking care of kids or paying teachers. Just pure inflationary greed.

Much can be said about the problem of government waste, and it certainly is a problem, but there's an underlying assumption in this kind of talk, which I'd like to attack. That assumption is: "people are poor because the government taxes them too much, and wastes their money". Republicans in the US run and win on this platform again and again.

The problem is that it's simply not true. Government wealth has been falling for decades[0] -- nations are increasingly rich, but governments are increasingly poor. I don't even need to include a source that shows effective tax rates have been falling for the same period (no surprise -- that's _why_ governments are so relatively poor). As nations have continued to get richer, most of that wealth has been concentrated in the hands of an increasingly small group of private individuals.

Governments are not sequestering your wealth -- rich people are.

[0]: https://wir2022.wid.world/chapter-3/
tyg13
·2 ay önce·discuss
26% AI generated? What does that even mean? How is Pangram arriving at that figure?
tyg13
·2 ay önce·discuss
> Nobody wants to give away a slice of their net worth to pay for bullshit wars and ballrooms.

The vast majority of people in America are already doing this, because their wealth is entirely derived from their income. Your complaint isn't relevant to the discussion of wealth vs income taxes.
tyg13
·2 ay önce·discuss
Sure, I never claimed that Christians invented charity. They're certainly not even the only religion that advocates universal charity.

To be clear, what I see as distinctly Christian is the idea that charity must be purely altruistic -- it's not seen as Christian to desire recognition for your charity, or to perform charitable acts with the hope of being rewarded with eternal salvation. They must be done purely out of duty to God, and love for others (which are essentially identical requirements, since "God is love").

But if there's ignorance behind that thought, I'm open to being educated.
tyg13
·2 ay önce·discuss
> Everyone's job is to please their manager.

Indeed. I've spent my professional career seeking out positions at companies of increasing prestige and technical renown, each with a higher reputation for professionalism and performance than the last. And yet this invariant has held in every position.

As far as I can tell, the only difference between each company has been the quality of the manager I was supposed to please, which I have noticed (perhaps predictably) is not strongly correlated with the company's reputation or success.
tyg13
·2 ay önce·discuss
The vast majority of people tuning into those kinds of slop streams are not really active listeners. It's more akin to turning on the radio while you work/clean/perform some other task that doesn't require strict focus or attention, with the added benefit that you can personally interact with the streamer (chat) when you have attention to spare. But I'd wager most viewers never directly interact or even pay much active attention to the stream at all.

I wouldn't be surprised if the same dynamic is playing out with these AI slop podcasts.
tyg13
·2 ay önce·discuss
Not only have you misinterpreted my comment to attack claims I never made, you've also used this misinterpretation as license to insult me. Lovely.
tyg13
·2 ay önce·discuss
I don't think you can really escape this anywhere online. Hacker News has the same problem, really.
tyg13
·2 ay önce·discuss
I'd even argue that we should encourage _more_ of this behavior, if it leads to more charity.

The idea that you have to do good deeds without expecting any kind of reward or recognition seems distinctly Christian to me. For Christians, the intent of this requirement is to ensure people remain humble (pride is a sin, of course) but this clearly contradicts the (imo much more relevant) principle of self interest. You can't really expect people to do something for other people without some kind of reward -- be it the promise of eternal salvation, some kind of social credit, or simply an internal sense of satisfaction.

As long as people aren't merely simulating charity to receive it, I don't see any downside to allowing people a bit of social reward for their giving.