panda_abyss

joined 2 days ago
[–] panda_abyss@lemmy.ca 1 points 11 hours ago

I don't know rust, but for example in Swift the type system can make things way more difficult.

Before they added macros if you wanted to write ORM code on a SQL database it was brutal, and if you need to go into raw buffers it's generally easier to just write C/objc code and a bridging header. The type system can make it harder to reason about performance too because you lose some visibility in what actually gets compiled.

The Swift type system has improved, but I've spent a lot of time fighting with it. I just try to avoid generics and type erasure now.

I've had similar experiences with Java and Scala.

That's what I mean about it being nice to drop out of setting up some type hierarchy and interfaces and just working with a raw buffers or function pointers.

[–] panda_abyss@lemmy.ca 19 points 14 hours ago

“These aren’t real candidates. They aren’t campaigning. They aren’t engaging with constituents,” Poilievre wrote.

Boy, that sounds a whole lot like how none of the CPC candidates showed up to any of my local debates or showed up on a single local news or radio program, or took a single interview.

Frankly, I don't think we should be limited from running for office based on their percieved level of seriousness or that it's a protest. That's a slippery slope right there. We can increase the signatures or whatever, but it's still not going to be particularly useful and will primarily increase the floor of how much money you need to actually campaign.

[–] panda_abyss@lemmy.ca 68 points 14 hours ago (8 children)

I actually do like that C/C++ let you do this stuff.

Sometimes it's nice to acknowledge that I'm writing software for a computer and it's all just bytes. Sometimes I don't really want to wrestle with the ivory tower of abstract type theory mixed with vague compiler errors, I just want to allocate a block of memory and apply a minimal set rules on top.

[–] panda_abyss@lemmy.ca 23 points 20 hours ago (5 children)

Reminds me of java

I have Toolkit toolkit = Toolkit.getDefaultToolkit(); seared into my brain. Then there were the bean factories…

[–] panda_abyss@lemmy.ca 47 points 23 hours ago (2 children)

Now do Epstein!

[–] panda_abyss@lemmy.ca 21 points 1 day ago (2 children)

In defence of plants, it takes a highly evolved form of life to be able to do nothing all day and get away with it.

[–] panda_abyss@lemmy.ca 6 points 1 day ago

It’s a bit passed Canada Day but I like to see this

[–] panda_abyss@lemmy.ca 6 points 1 day ago (1 children)

How the Americans choose to deal with it is up to them

If they overwhelmingly vote out every republican I would rethink things for sure.

[–] panda_abyss@lemmy.ca 26 points 1 day ago (8 children)

It’ll be over when every congressperson and senator who didn’t bother to stop Trump is out of their jobs and a new generation proves they want our friendship.

That is up to the voters but they have to basically dump their whole government if they want change.

[–] panda_abyss@lemmy.ca 127 points 1 day ago (3 children)

For over 100 years we were the best of allies

It took weeks for him to throw all of that away.

You don’t declare “economic warfare” on your friends. You don’t threaten to annex them, tell them they’re not a viable country, tell them they’re destined to fall, and still expect friendship.

And it’s not just Trump to blame. The voters and the entire US government have allowed that behaviour and enabled him.

If they’re getting upset about our boycotts that just means boycott even harder. They said they don’t need us, now they can see what that’s like.

[–] panda_abyss@lemmy.ca 26 points 1 day ago (1 children)

I tried following my cat and all he lead me to was his food bowl.

[–] panda_abyss@lemmy.ca 5 points 1 day ago (2 children)

Batch process turning unstructured free form text data into structured outputs.

As a crappy example imagine if you wanted to download metadata about your albums but they’re all labelled “Various Artists”. You can use an LLM call to read the album description and fix the track artists for the tracks, now you can properly organize your collection.

I’m using the same idea, different domain and a complex set of inputs.

It can be much more cost effective than manually spending days tagging data and writing custom importers.

You can definitely go lighter than LLMs. You can use gensim to do category matching, you can use sentence transformers and nearest neighbours (this is basically what Semantle does), but LLM performed the best on more complex document input.

view more: next ›