thepiggz

joined 1 year ago
[–] thepiggz@programming.dev 2 points 11 months ago (1 children)

An interesting thought. I’m not sure this is entirely true though in many jurisdictions. It is clearly possible to post something on someone else’s server and still maintain ownership of it. Platforms like SoundCloud have you specify a license in the ui client at the time of upload. While this might seem performative, it is explicit.

[–] thepiggz@programming.dev 4 points 11 months ago

Thanks for sharing. I honestly was wondering how people were thinking about this. I was wondering why not include a license specified per post in the client UI as that seemed quite explicit. Yet, I was wondering how this might prohibit federation from being controlled at the server level.

I had considered ads in clients and llm training. Both of which, people in need should be paid for if it is using content they generated if at all possible.

[–] thepiggz@programming.dev 6 points 11 months ago (3 children)

Might we easily make it more clear that the poster or the server owns them outright?

Hypothetically, a corporation federates and wants to monetize my posts. Can they do this? I’m not personally fixated on ownership (which could easily be viewed as my systemic privilege), but the pathway out of this type of thought in general doesn’t seem to be yielding all power to already powerful growth-based corporations. I didn’t create the current systems, but I do acknowledge their existence.

[–] thepiggz@programming.dev 1 points 11 months ago

GPT4 rewrite:

Title: Optimizing TypeScript: Embracing Functional Patterns and Leveraging V8's Strengths

Body:

Hello TypeScript Community! Our journey in TypeScript development benefits greatly from a deeper understanding of JavaScript's core mechanics and the V8 engine's optimizations. It's become increasingly clear that JavaScript, and by extension TypeScript, subtly discourages traditional object-oriented (OO) programming in its built-in functionalities, favoring functional programming paradigms instead. Combining this with V8’s optimization techniques can significantly enhance our code's performance and readability.

  1. Functional Over OO in JavaScript's Built-ins:

    • Function References in Core Functions: JavaScript's built-ins, like addEventListener, setTimeout, setInterval, and array methods (map, filter, reduce), prefer function references over objects with expected methods. This design choice subtly favors functional programming over OO.
    • Closures for State Management: Instead of passing around shaped objects or using bind, closures provide a more natural and efficient way to maintain state in functions, aligning well with JavaScript's functional tendencies.
  2. Understanding and Utilizing V8's Optimizations:

    • Leveraging Hidden Classes and Inline Caching: Consistent object property initialization helps V8 create and reuse hidden classes efficiently, optimizing property access. Inline caching improves performance by optimizing repeated property and method access on objects.
    • Best Practices for V8 Optimizations: Avoid dynamic changes to object shapes and focus on writing monomorphic code to aid V8's optimization processes.
  3. Adapting to Functional Programming in TypeScript:

    • Functional Patterns for Performance: Embrace functional patterns, such as immutable data and pure functions, which V8 optimizes more effectively than complex class hierarchies.
    • Using TypeScript Features for Functional Code: TypeScript's powerful type system, including interfaces and type aliases, supports a more functional style of coding, which is inherently more aligned with V8’s optimization strategies.
  4. Moving Away from Classic OO Patterns:

    • Challenges with OO in TypeScript: The behavior of this, complex inheritance structures, and the awkwardness of bind highlight the incongruities of OO patterns in TypeScript.
    • Functional Techniques as Solutions: Opt for closures and composition over inheritance. Utilize functional programming constructs to create more modular, reusable, and efficient code.

In conclusion, by understanding the inherent functional leanings of JavaScript and TypeScript, and by aligning our coding practices with V8’s optimization techniques, we can write more efficient and maintainable TypeScript code. This approach not only capitalizes on the language’s strengths but also ensures our code is primed for optimal performance by the V8 engine. Let's continue to explore and embrace these functional paradigms and share our insights on leveraging V8's capabilities in TypeScript development.

[–] thepiggz@programming.dev 9 points 11 months ago* (last edited 11 months ago)

This is such an odd title to an article. Is the fallacy ever a good thing? The fallacy itself is a concept - so not really good or bad. Using it as a logical premise in an argument is recognized to be problematic.

Are we actually asking: is ever good to keep doing something you yourself hate only because you yourself already spent money on it? The answer seems clearly to be no.

[–] thepiggz@programming.dev 2 points 11 months ago (1 children)

Loved this game. Used to play with my bro. Always XL map, hours until we even found each other.

A year or so ago he showed me: https://goblinzstudio.com/game/heros-hour/

Very similar but a hilarious battle system that actually renders ALL of your creatures. Love it

[–] thepiggz@programming.dev 2 points 11 months ago

Understandable. Would be nice if it were available through sidequest or something more wholesome. Cool game though.

[–] thepiggz@programming.dev 1 points 11 months ago

Agreed. Always a good thought to have when one is considering going down that road. Is the future predictable enough to really expect that particular end?

[–] thepiggz@programming.dev 2 points 11 months ago (6 children)

I think you’re onto something saying toxic is a pretty unspecific term to use when talking about such things. Maybe it would be a better conversation to ask: when do the ends justify the means?

[–] thepiggz@programming.dev 4 points 11 months ago

I think you’re right that there are people out there trying to manipulate and influence social media - I mean even that platforms themselves do this to a certain extent.

The idea that they purposely try to make it toxic to push the more intellectually-honest, emotionally-controlled people out of the conversation is the interesting part to me.

This particular facet feels less like intentional manipulation and more like a side-effect of our platforms and how they function.

[–] thepiggz@programming.dev 6 points 11 months ago (2 children)

Intriguing. I don’t totally know what I think about this argument. A purposeful initiative to make politics toxic to get people to stop paying attention. It’s not one I had totally considered before. You think that’s really going on?

I have had many experiences with real people not on the internet that seem to fixate largely on politics and believe so fervently that they are right that they allow themselves to become toxic. I always thought it was a kind of inconsistent latent belief in utilitarianism combined with overconfidence.

view more: ‹ prev next ›