sugar_in_your_tea

joined 1 year ago
[–] [email protected] 1 points 15 minutes ago* (last edited 14 minutes ago)

The latest java releases have finally given us the ability to pass through a function, and work more functional.

Which AFAIK is still a class under the hood. That doesn't particularly matter for developers, but it's still odd.

But honestly, if I'm going to use anything on the JVM, I'll just use Kotlin. Java is kind of catching up, but Kotlin is just so much cleaner IMO. But if I'm not stuck w/ the JVM, I'll use one of the others I mentioned.

The memory allocation from C

Eh, it's honestly not so bad, provided you're using it for the type of work where C is suited. For most embedded work, I just pass on the stack (esp. w/ the new variable length arrays on the stack, which C++ doesn't have), so no need to malloc() or free() most of the time. If I'm building a larger program, I'll probably not use C, because it just doesn't have the features I want for larger-scale development work, and I definitely won't use C++ because that's a nightmare of conflicting legacy features.

Rust is my go-to if I know it'll be large-ish and I don't have any particular restraints on where it's going to run (i.e. not on a microcontroller or something). The compiler catches a lot of my bugs, the result is fast, and now that I'm comfortable with it, I'm pretty productive with it. It does have a bit of a learning curve, but it's way better than when I started with it (around the 1.0 launch).

[–] [email protected] 1 points 20 minutes ago

Yup, it's the same as in Teams, but I think it formats better: use triple backticks.

[–] [email protected] 1 points 21 minutes ago

Why is it not an option?

[–] [email protected] 2 points 17 hours ago

I'm similar, but I'm with Fidelity instead of Schwab. Using a brokerage as a bank account is an awesome cheat code to getting awesome interest w/o any extra effort. My "checking" is a brokerage account and the cash sits in a money market fund making ~4.5%, which is awesome.

The main downside w/ an online bank/brokerage is lack of access to branch services, like depositing cash or withdrawing specific denominations. I maintain a local bank that doesn't entirely suck to get access to branch services and leave like $50 in there so they don't close it, and then just transfer money to/from as needed. All of my regular expenses go through my brokerage "checking."

[–] [email protected] 1 points 17 hours ago

Yeah, when I look into a new bank for whatever reason, the first place I go is the fee schedule and I look for BS. Most big banks have a ton of BS in there, so avoiding them is usually sufficient if you don't want to read a table of fees.

[–] [email protected] 1 points 17 hours ago

In fact, overdraft protection is typically opt-in, so just don't sign up for it and you're golden.

The only overdraft I use is self-funded overdraft where it pulls from savings instead of a tiny bank loan. I have it send me a notification when that happens so I can tell when my cash flow is wonky.

[–] [email protected] 2 points 17 hours ago* (last edited 17 hours ago)

Yup. I like vegan food. I also like food with meat and stuff in it. I just like good food, and a lot of good food happens to be vegan. Sometimes I'll order a vegan version of a dish just for some variety vs the meat-heavy dishes.

[–] [email protected] 1 points 17 hours ago (2 children)

Yeah, it has gotten better since a year or so ago, but it still falls quite a bit short of Slack. Slack can do snippets or not, it's up to you.

And yeah, it's nice that it's getting better, especially since I'm forced to use it for work (and interviews, where bad code handling sucks).

[–] [email protected] 7 points 18 hours ago (1 children)

Make it $0.01. No need to waste too much money.

[–] [email protected] 1 points 18 hours ago

Agreed.

I hate Twitter's format though, so Mastodon isn't interesting at all to me. I really like the Reddit setup where discussion is around a presented topic (whether a link or a text post), instead of the Twitter/Mastodon format where you follow general topics and people. I don't care about individuals, I care about ideas, and Reddit/Lemmy seem to distill ideas around topics I care about better than Twitter/Mastodon. However, both Lemmy and Reddit tend to encourage echo chambers, which I strongly dislike, hence why I'm working on something else.

BlueSky seems like Twitter 2.0, so I'm just as uninterested as I ever was in Twitter and Mastodon.

[–] [email protected] 16 points 18 hours ago

Yup. Here's what I did:

  1. recommend others not vote for him in 2016
  2. didn't vote for him in 2016
  3. avoided TruthSocial and other nonsense during his first term
  4. encouraged friends and family to not vote for him in 2020
  5. didn't vote for him in 2020
  6. continued to avoid TruthSocial
  7. encouraged friends and family to not vote for him in 2024
  8. didn't vote for him in 2024

See a pattern?

[–] [email protected] 3 points 19 hours ago

the wisest move is to hoard cash

I disagree, market timing fails more than it succeeds. The better bet IMO is to diversify your investments. When one bubble pops, you'll have assets in other sectors/regions/etc that aren't in a bubble and get the investment dollars from people fleeing the bubble.

Warren Buffett hoarding cash doesn't mean you should hoard cash. He's hoarding cash because he's a sophisticated investor with a long track record of being able to find good deals, and he sometimes buys entire companies outright, and having a large cash balance makes that a lot easier. He also frequently funnels that money into stock buybacks instead of leaving it in cash. He doesn't know if the market will crash next year on in a decade, because as you said, the market can remain irrational.

Do what Warren Buffett says, not what he does: buy and hold a broad market index fund (he recommends the S&P 500).

That's what I'm doing. I'm rebalancing my investments more regularly because I do expect this temporary run-up to drop, but I'm unwilling to try to time the market. I have a target US/international ratio, and I'm making sure that's correct (my US portion has grown faster than international). I have also decided to pull the trigger on a small-cap value tilt after watching some good videos by Ben Felix, so I've been completing that transition as well. I intend to keep this portfolio for >10 years (probably through retirement, but we'll see what happens when there's new research).

 

Here's what I currently have:

  • Ryzen 1700 w/ 16GB RAM
  • GTX 750 ti
  • 1x SATA SSD - 120GB, currently use <50GB
  • 2x 8TB SATA HDD
  • runs openSUSE Leap, considering switch to microOS

And main services I run (total disk usage for OS+services - data is :

  • NextCloud - possibly switch to ownCloud infinite scale
  • Jellyfin - transcoding is nice to have, but not required
  • samba
  • various small services (Unifi Controller, vaultwarden, etc)

And services I plan to run:

  • CI/CD for Rust projects - infrequent builds
  • HomeAssistant
  • maybe speech to text? I'm looking to build an Alexa replacement
  • Minecraft server - small scale, only like 2-3 players, very few mods

HW wishlist:

  • 16GB RAM - 8GB may be a little low longer term
  • 4x SATA - may add 2 more HDDs
  • m.2 - replace my SATA SSD; ideally 2x for RAID, but I can do backups; performance isn't the concern here (1x sata + PCIe would work)
  • dual NIC - not required, but would simplify router config for private network; could use USB to Eth dongle, this is just for security cameras and whatnot
  • very small - mini-ITX at the largest; I want to shove this under my bed
  • very quiet
  • very low power - my Ryzen 1700 is overkill, this is mostly for the "quiet" req, but also paying less is nice

I've heard good things about N100 devices, but I haven't seen anything w/ 4x SATA or an accessible PCIe for a SATA adapter.

The closest I've seen is a ZimaBlade, but I'm worried about:

  • performance, especially as a CI server
  • power supply - why couldn't they just do regular USB-C?
  • access to extra USB ports - its hidden in the case

I don't need x86 for anything, ARM would be fine, but I'm having trouble finding anything with >8GB RAM and SATA/PCIe options are a bit... limited.

Anyway, thoughts?

 

Looks like most of the improvements have nothing to do with GNOME, so they should also probably impact Kalpa (the KDE MicroOS distro).

I'm particularly interested in these developments because I'm going to upgrade the CPU on my NAS (old Phenom II -> Ryzen 1700), and I'm considering reinstalling w/ MicroOS. It's currently running on an old SATA SSD, but NVMe drives are getting so cheap that it's probably worth an upgrade.

 

From the website:

OpenVINO is an open-source toolkit for optimizing and deploying deep learning models from cloud to edge. It accelerates deep learning inference across various use cases, such as generative AI, video, audio, and language with models from popular frameworks like PyTorch, TensorFlow, ONNX, and more. Convert and optimize models, and deploy across a mix of Intel® hardware and environments, on-premises and on-device, in the browser or in the cloud.

1
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 

Important dates:

  • expected summit date is Nov. 2 and 3 soon after Open Source Summit Japan
  • call for speakers is going to end around the end of July

There will be another announcement in a couple weeks.

0
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 

Horse styles of the ’50s

1
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 

For crying out loud, Jonah! Three days late, covered with slime, and smelling like fish! … And what story have I got to swallow this time?

-1
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 

You know what I’m sayin’? … Me, for example. I couldn’t work in some stuffy little office. … The outdoors just calls to me.

-2
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 

Look! Look, gentlemen! Purple mountains! Spacious skies! Fruited plains! … Is someone writing this down?

-1
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 

Sure, I’m a creature—and I can accept that … but lately it seems I’ve been turning into a miserable creature.

1
submitted 6 months ago* (last edited 6 months ago) by [email protected] to c/[email protected]
 

Looks like Leap 15.6 will ship with Cockpit, which looks pretty cool.

I just set up a new VPS w/ Leap 15.5, so I'm thinking about giving this a try. I'm not a fan of YaST on the CLI, and I'm not going to install a GUI on my VPS, so being able to just SSH tunnel to the admin panel sounds really nice.

Has anyone tried Cockpit (project link for the lazy)? It seems like it can manage most popular distros, so that's a pretty big value prop over YaST, which is pretty much only for SUSE. It looks like it's a RedHat project, but it's cool that openSUSE is pulling it in for 15.6.

view more: next ›