[-] mox@lemmy.sdf.org 2 points 7 hours ago* (last edited 3 hours ago)

I’m trying to understand Git, but it’s a giant conceptual leap.

In that case, I suggest learning Mercurial first. Its underlying design is very similar to Git, but the interface is more consistent and does a much better job of presenting the concepts to humans (especially those already familiar with traditional version control). Then, once you're comfortable with the concepts and commands in Mercurial, learn Git, since it's everywhere nowadays.

Consider learning at least one new language. Java is only one of many (and not even a particularly nice one IMHO). Try to find a language that you enjoy using; your programming life will be better for it. If you want something flexible and productive, consider Python. For more structure than that, maybe Go. If mobile apps interest you, there are Kotlin (Android), Swift (iOS), and Dart (both). If web development appeals to you, along with lots of job openings and lots of competition for those jobs, JavaScript. If you fancy the esoteric (and well-paying), Elixir and Erlang are worth a look. Lower level languages are in demand as well (e.g. C++, Rust) but they come with various kinds of pain that I wouldn't recommend to someone in your situation.

Above all, please make sure you're reserving time for things that make you happy, sleep, and (if still possible) some kind of exercise. Your own physical and mental health are important. If you endure a bad working environment or wear yourself thin for too long, you will burn out, which won't help you provide for yourself or anyone else.

Take care, OP.

[-] mox@lemmy.sdf.org 22 points 1 day ago* (last edited 1 day ago)

One pattern I've noticed is people seeking a language that's better than {JSON,XML,INI,etc} at wrangling their slightly complex configuration files, noticing the additional features and type support offered by YAML, and assuming it will be a good solution.

Then, as their configs grow ever larger and more complex, they discover that expressing them in YAML requires large sections of deep nesting, long item sequences, and line wrapping. The syntax style that they saw working well in other places (e.g. certain programming languages) breaks down quickly at that level of complexity, making it difficult for humans to correctly write and follow, and leading to frequent errors.

YAML doesn't suck for small stuff, IMHO. (But it is more complex than necessary for small stuff.)

For things likely to grow to medium-large size or complexity, I would recommend either breaking up the data into separate files, or looking for a different config/serialization language.

7
[-] mox@lemmy.sdf.org 1 points 1 day ago

I almost ignored that link because most of the opinions I've seen from Sweeney have been self-serving and/or misleading, but it turns out he raises some good points in that slide deck. It gets relevant to this discussion around page 27: Reliability. Thanks for sharing it.

[-] mox@lemmy.sdf.org 7 points 1 day ago

Whataboutism does not invalidate the problem, nor is it a good-faith argument in any discussion.

[-] mox@lemmy.sdf.org 8 points 1 day ago* (last edited 1 day ago)

no long-term OS support

IMHO, we need well-enforced laws requiring manufacturers to do both of these things:

  • Provide service manuals and reasonably priced parts for a sensible period, much like existing requirements for replacement car parts. (Perhaps 5 or 7 years minimum?)
  • Put into escrow all the information needed for community support of these devices, to be publicly released when the official support period ends. (The easiest way to satisfy this might be in the form of source code, but data sheets and API documentation could suffice if they are reasonably complete.)

Some people have argued that the second point is impossible because phones are made with components that don't come with specs or source code themselves. That might be true today, but if large economies start requiring it, then those component manufacturers will either fall into line or lose the market to competitors who do meet the requirements.

and not easy to load an alternative OS on.

This is another big one. We need to be able to unlock our bootloaders, install an OS of our choice, and re-lock our bootloaders. (Without permanently disabling any of the hardware features; there must be a way to fully revert to stock.) The only major brand smartphones I know of with a reputation for doing this right are from Google, which is kind of embarrassing.

[-] mox@lemmy.sdf.org 16 points 1 day ago

A large part of the reason Mercedes and other German brands were considered high quality was that they were more reliable than a lot of other brands on the market, while being good to drive.

"Good to drive" is a bit of an understatement. German cars have enjoyed car enthusiasts' favor for decades, despite often mediocre reliability, specifically because they were great to drive. There are multiple dimensions to that, ranging from the safety advantage (and fun) afforded by giving the driver a good feel for what's going on between the tires and the road surface, to an excellent balance of responsiveness and comfort from well-designed suspension. VW even ran an ad campaign around it: Fahrvergnügen

Japanese and American cars generally could not compete in this area.

However, those same German cars also became famous for developing endless little problems over the course of ownership, from annoying rattles to failing parts that were either expensive to buy or difficult to reach (and therefore expensive to replace).

If there was a time when German cars were known for above average reliability, I think it must have preceded the more recent generations. Maybe back before Japan had started investing in this area?

[-] mox@lemmy.sdf.org 1 points 1 day ago

The cool kids in systems programming are using Rust now.

Can you explain what you mean by "the cool kids"?

[-] mox@lemmy.sdf.org 12 points 1 day ago* (last edited 1 day ago)

What new direction is D taking that has you worried? Maybe I should watch out for it, too. :)

one of the features I dislike the most in C/C++ is the super slow and super obsolete precompiler with its header files,

Are you sure you should lump those two languages together? In my experience, C++ preprocessing can be slow (especially when you use templates), but not C. I shudder to think what preprocessor shenanigans the C libraries you've used might be doing to make compiling with them super slow. (LLVM isn't exactly known as a speed demon, though; maybe you've run into that?)

In any case, I guess that rules out transpiled languages like Nimskull (work in progress) and its parent language.

Have you looked at Odin?

Maybe Vale?

There is Jai (work in progress), though I haven't looked closely enough to know if it fits your needs. (I'm not sold on Jonathan Blow's judgment.)

I suspect there are few languages well suited to both system and game programming (unless you mean game engine programming) that avoid all the things you seem to dislike. If you find one, I hope you'll write about it here. If not, there's always the option of using two languages.

[-] mox@lemmy.sdf.org 22 points 1 day ago* (last edited 1 day ago)

The "especially in gaming" bit is encouraging. That might mean they are finally, after 26 years, addressing the demand for good quality, low latency, multichannel, full duplex audio...

...but I won't hold my breath. They seem to think gaming means playing on hardware like this.

[-] mox@lemmy.sdf.org 9 points 2 days ago

Oops.

Since you're using sudo, I suggest setting different passwords on production, remote, and personal systems. That way, you'll get a password error before a tired/distracted command executes in the wrong terminal.

[-] mox@lemmy.sdf.org 11 points 2 days ago

You can no longer loot the underwear of non-recruited companions when you knock them out.

I... um...

I love the attention to detail given by this game's players, developers, and patch notes.

44
46
submitted 3 days ago by mox@lemmy.sdf.org to c/science@beehaw.org
24
submitted 1 week ago* (last edited 20 hours ago) by mox@lemmy.sdf.org to c/sdfpubnix@lemmy.sdf.org

Neither of my posts from yesterday and today have made it out to their communities' home instance (lemmy.world), and neither has received any comments or votes. It seems like something to do with outgoing federation is stuck.

Edit to clarify:

The problem I'm seeing affects posts. I don't know if it affects comments.

It's possible that it only affects lemmy.world communities, but it definitely affects them even on other instances. Neither of these posts are showing up on any remote instance that I've seen:

https://lemmy.sdf.org/post/21620419

https://lemmy.sdf.org/post/21673588

6 days later, it's happening again:

https://lemmy.sdf.org/post/21974478

152
submitted 1 week ago* (last edited 1 week ago) by mox@lemmy.sdf.org to c/youshouldknow@lemmy.world

Why you should know:

Arsenic is a carcinogen and has various other negative health effects; enough to warrant exposure limits in various jurisdictions. A five minute boil-and-discard step before cooking is a simple way to reduce your exposure, especially if you eat a lot of rice.

Details are in the study, linked in the title of this post. Here's a diagram from the abstract:

81
Cemu 2.1 Release (github.com)
submitted 1 week ago* (last edited 1 week ago) by mox@lemmy.sdf.org to c/retrogaming@lemmy.world

I'm not sure the Wii U is widely considered retro yet, but it has been discontinued for 7+ years, so I'm taking a chance that some folks here might care about the emulator.

63
[GOG] Tropico 4 (www.gog.com)
submitted 1 week ago by mox@lemmy.sdf.org to c/freegames@feddit.uk

67 hours left to claim it:

https://www.gog.com/en/#giveaway

36
submitted 1 week ago* (last edited 1 week ago) by mox@lemmy.sdf.org to c/baldurs_gate_3@lemmy.world

I was hoping we could make ourselves reek of red thrombosis.

121
submitted 1 week ago by mox@lemmy.sdf.org to c/privacy@lemmy.ml
25
74
Deadlock on Steam (store.steampowered.com)
submitted 1 week ago by mox@lemmy.sdf.org to c/games@lemmy.world
39
submitted 2 weeks ago* (last edited 2 weeks ago) by mox@lemmy.sdf.org to c/programming@programming.dev

Direct link to the table, for those who block off-site scripts:

https://flo.uri.sh/visualisation/19114866/embed?auto=1

Some of the labels don't seem to show up unless you zoom out.

view more: next ›

mox

joined 7 months ago