entwine

joined 3 months ago
[–] entwine@programming.dev 1 points 1 day ago

You may have better luck asking on the GrapheneOS forums

[–] entwine@programming.dev -1 points 1 day ago (1 children)

Linux isn’t a replacement for Windows. It’s its own thing, with its own issues but also advantages.

Linux isn't a replacement because Linux isn't an operating system. The "battle" isn't between Linux and Windows, it's between Windows and specific distros, like Ubuntu or Fedora. Mainstream Linux will require one of those to up their game when it comes to hardware partnerships and customer/end user support. Doing so will require competing against Microsoft along those same business areas, not just from an engineering perspective.

Unfortunately, I don't think that will be easy. Microsoft is incompetent at a lot of things (incl business most of the time), but they have unlimited money and leverage, and their relationship with the US govt means they're unlikely to see any antitrust scrutiny when they do illegal shit to suppress competitors.

[–] entwine@programming.dev 8 points 1 day ago

But move fast and break things doesn’t seem to accommodate that kind of approach.

I think it's more of a "chatgpt, design my product for me" type situation.

[–] entwine@programming.dev 17 points 1 day ago

The fact they chose moonlight as their streaming protocol is proof they vibe coded the entire idea lmao. Moonlight/Sunshine are reverse engineered implementations of Nvidia's proprietary GameStream product, designed for low latency streaming of game video/input on a typical home network. No competent engineer would choose that for this kind of application.

[–] entwine@programming.dev 1 points 2 days ago

Are you trying to personally solve the DRAM shortage? If so, slay king.

[–] entwine@programming.dev 1 points 2 days ago (1 children)

This is unnecessarily complicated, and I don't see how your second version is supposed to be more optimal? You're just adding pointless indirection by encoding the branching logic as an int, and then branching again in a switch statement.

[–] entwine@programming.dev 2 points 2 days ago

This would be easier to understand if you defined a function like:

char IsMonth(int value){
    return value > 0 && value <= 12;
}

Then try to rewrite your program using that inside of the if statements. For example

if(IsMonth(p1)){
    ...
}

If you do that, I'm pretty sure you'll find the problem. As a hint, notice that IsMonth is a boolean value, since a number can only either be a month (true) or not a month (false). I haven't debugged it, but I can tell there's a problem just by the number of printf statements you currently have.

[–] entwine@programming.dev 2 points 2 days ago (1 children)
func get_album_by_id(album_id: int16): Album -> (
  get_albums()
  | find(func (this) -> this.id == album_id)
)

I'll admit I'm not a database guy, but isn't this inefficient? It looks like it's first querying the DB for all albums, then filtering the results in the interpreter. I assume the db engine has a more optimal implementation for when you do SELECT WHERE query, designed for whatever data structures it's using internally.

Also, minor nitpick but why does it have so many different ways to define a function body?

func something() -> { ... }
func something() -> ( ... )
func something() -> ...
[–] entwine@programming.dev 0 points 3 days ago

I don't have a lot of sympathy for youtube creators who complain about this. Why aren't there competitors to youtube? Because you're using youtube, and putting your videos on youtube. Instead of asking people to "like and subscribe" or waste money on a VPN or whatever, ask them to follow your peertube/odyssey/etc.

No, it isn't easy to do this. Youtube is a monopolist and a harmful presence on the internet (and, IMO, society at large). But if you just want to give up and keep using it, I'm going to keep blocking ads, and keep teaching people how to do that. If your dream of being a full time video creator fails, that's on you for hitching your wagon to the wrong horse. I'm not going to lose sleep over it.


With that said, I wonder if the solution to the youtube monopoly isn't simply RSS? Afaik that's basically how podcasts work, and there is no youtube-style monopoly for podcasts. Podcasts have ads and make a lot of money, so it's clearly viable.

[–] entwine@programming.dev 24 points 3 days ago (2 children)

Part about Trump:

He participated regularly in paying money to force me to (redacted) with him and he was present when my uncle murdered my newborn child and disposed of the body in Lake Michigan.

[–] entwine@programming.dev 5 points 4 days ago

I don't think it's that deep. It's just ignorant/stupid people falling for clever sales tactics. Most people aren't equipped to evaluate an AI product offering like this, and the salespeople know how to exploit that.

[–] entwine@programming.dev 28 points 4 days ago

I wonder if we can weaponize right wing brain rot against AI companies?

ZeroEyes’ spokesperson claimed he was “intentionally holding the instrument in the position of a shouldered rifle.” And seemingly rather than probe why the images weren’t more carefully reviewed to prevent a false alarm on campus, the school appeared to agree with ZeroEyes and blame the student.

WOKE liberal principal and left wing AI executive CANCEL male Christian student for wanting to role play as a cowboy. Watch based cops DESTROY their narrative!

view more: next ›