addie

joined 2 years ago
[–] [email protected] 11 points 1 month ago

Three months of using Arch and you've not included your 'btw' when claiming to use it? Most suspicious.

But yeah, agree completely. I made a new-years resolution about five years ago to try 'Linux only gaming for a month' rather than dual booting; worked so well that I wiped Windows a few months later and have never missed it for a minute. That was for Mint, which is great but hard to keep cutting-edge. Decided to try Arch instead, and after a couple of false starts (hadn't read the install guide carefully enough to have networking after restart, that kind of thing) it's been absolutely superb - rock solid, got everything I want at the very latest versions for work and games, best documentation of any distro.

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

It's not such a massively high bridge as the description makes out, and the valley looks a lot calmer a little downstream. Prepare a thin rope, long enough to span the gap. Cross over downstream, either in a little boat or on foot when it's dry, with one end of the rope. Walk back up the valley with your end, and your mate carrying the other. Tie the thin rope to a strong rope, pull that over. Tie the strong rope to the bridge, pull that over. Fasten both sides. Done.

[–] [email protected] 2 points 2 months ago

Enough of that crazy talk - plainly WheeledDeviceServiceFactoryBeanImpl is where the dependency injection annotations are placed. If you can decide what the code does without stepping through it with a debugger, and any backtrace doesn't have at least two hundred lines of Spring boot, then plainly it isn't enterprise enough.

Fair enough, though. You can write stupid overly-abstract shit in any language, but Java does encourage it.

[–] [email protected] 1 points 2 months ago

Succinctly and well put.

[–] [email protected] 7 points 2 months ago (2 children)

Well now. My primary exposure to Go would be using it to take first place in my company's 'Advent of Code' several years ago, in order to see what it was like, after which I've been pleased never to have to use it again. Some of our teams have used it to provide microservices - REST APIs that do database queries, some lightweight logic, and conversion to and from JSON - and my experience of working with that is that they've inexplicably managed to scatter all the logic among dozens of files, for what might be done with 80 lines of Python. I suspect the problem in that case is the developers, though.

It has some good aspects - I like how easy it is to do a static build that can be deployed in a container.

The actual language itself I find fairly abominable. The lack of exceptions means that error handling is all through everything, and not necessarily any better than other modern languages. The lack of overloads means that you'll have multiple definitions of eg. Math.min cluttering things up. I don't think the container classes are particularly good. The implementation of pointers seems solely implemented to let you have null pointer exceptions, it's a pointless wart.

If what you're wanting to code is the kind of thing that Google do, in the exact same way that Google do it, and you have a team of hipsters who all know how it works, then it may be a fine choice. Otherwise I would probably recommend using something else.

[–] [email protected] 36 points 2 months ago (10 children)

I feel that Python is a bit of a 'Microsoft Word' of languages. Your own scripts are obviously completely fine, using a sensible and pragmatic selection of the language features in a robust fashion, but everyone else's are absurd collections of hacks that fall to pieces at the first modification.

To an extent, 'other people's C++ / Bash scripts' have the same problem. I'm usually okay with 'other people's Java', which to me is one of the big selling points of the language - the slight wordiness and lack of 'really stupid shit' makes collaboration easier.

Now, a Python script that's more than about two pages long? That makes me question its utility. The 'duck typing' everywhere makes any code that you can't 'keep in your head' very difficult to reason about.

[–] [email protected] 3 points 2 months ago

Frezik has a good answer for SQL.

In theory, Ansible should be used for creating 'playbooks' listing the packages and configuration files which are present on a server or collection of servers, and then 'playing the playbook' arranges it so that those servers exist and are configured as you specified. You shouldn't really care how that is achieved; it is declarative.

However, in practice it has input, output, loops, conditional branching, and the ability to execute subtasks recursively. (In fact, it can quite difficult to stop people from using those features, since 'declarative' doesn't necessarily come easily to everyone, and it makes for very messy config.) I think those are all the features required for Turing equivalence?

Being able to deploy a whole fleet of servers in a very straightfoward way comes as close to the 'infinite memory' requirement as any programming language can get, although you do need basically infinite money to do that on a cloud service.

[–] [email protected] 10 points 2 months ago (6 children)

No love for the 'declarative' programming paradigm? You can actually do some useful work with SQL or Ansible...

[–] [email protected] 2 points 2 months ago

My bath takes up the entire width of the bathroom - that place looks cavernous. Am sure I could tolerate an apartment that crappy when you can have a game of squash in between dumps.

[–] [email protected] 2 points 2 months ago

I found that too. The animations are misleading - just listen for when you need to press the buttons.

[–] [email protected] 4 points 2 months ago (1 children)

The plural of faux pas is also faux pas, because you know, French. But this is less one false step in the dance, than doing entirely the wrong dance altogether.

[–] [email protected] 11 points 2 months ago

Yeah, Fark used to be great. That bear headline is a beast.

And then they got rid of the 'foobies' (ie. nudity) links off of the main page in order to appeal to advertisers, then they got rid of lots of extra stuff that upset advertisers, then they started shadow-banning paying subscribers if their posts didn't fit the narrative. And then all the users got fed up of it all and moved ever to Reddit, where the mods were more transparent and there was more of a sense of community. How ironic.

If your core site content is users posting links and commenting on them, then there's probably a lesson to be learned about how important it is to treat your users well and have a welcoming, inclusive community. Probably a lesson that Lemmy users have already learned, mind.

view more: ‹ prev next ›