Sure, that’s fine. I use interactive rebase for “cleaning” a lot. I’m just saying it doesn’t make a difference for diffing (as you can diff any commit against any other) and doing it as a matter of routine sounds like it could skip potentially useful history.
I mostly rebase but if a branch has things happen in a sequence that matters, I would merge it instead, for example.
Squashing seems like you’d potentially lose out on info and have a harder time isolating the changes you’re looking through. I guess it depends on how much has been changed and whether some of the commits along the branch were more important than others.
I also don’t think the reset is necessary, you should be able to diff the branch head against whatever you want.
That, or you’re met with “why on earth do you want to do that?”
To be fair, the XY problem is huge in anything coding related. Newbie wants to do X, has a vague and terribly wrong idea about how to do it (Y), then asks how to do Y instead. To give a “correct” answer to Y, assuming the question makes enough sense to have a correct answer, is less helpful than trying more or less tactfully to figure out what the actual goal was.
I think I misunderstood lemmyvore a bit, reading some criticism into the Lego metaphor that might not be there.
To me, “playing with bricks” is exactly how I want a lot of my coding to look. It means you can design and implement the bricks, connectors and overall architecture, and end up with something that makes sense. If running with the metaphor, that ain’t bad, in a world full of random bullshit cobbled together with broken bricks, chewing gum and exposed electrical wire.
If the whole set is wonky, or people start eating the bricks instead, I suppose there’s bigger worries.
(Definitely agree on “low code” being one of those worries, though - turns into “please, Jesus Christ, just let me write the actual code instead” remarkably often. I’m a BizTalk survivor and I’m not even sure that was the worst.
Why do computers become more and more powerful, but programs continue to lag?
Because instead of taking advantage of hardware to push boundaries in what we can accomplish, it’s exploited so you can turn everything into its own instance of Chromium, with all the bloat and overhead that entails, for the world’s simplest application. Even on mobile, where power consumption is allegedly important.
The industry spends so much time reinventing wheels and shoehorning things into each other, instead of doing anything… useful. Can’t have a normal web page anymore because waaaah page loads, gotta be SPA, then you gotta reinvent all the stuff that you threw out to make an SPA - probably in the form of several dozen libraries, all of which also keep getting reinvented every other week. What’s that, the SPA is now a 4GB download and seven orders of magnitude slower than the page loads it was supposedly meant to avoid? Lol who cares. Put some more layers of transpiled javascript in there anyway. Keeping up with the NPM dependencies alone is now 40% of the manpower in the corporation? Don’t worry, it’s modular or some shit.
It’s not even about the money, none of this helps generate actual value - in theory, being able to just target web makes sense, but not if relentlessly overcomplicated at every turn anyway. If the money/management people could tear themselves away from being phished for five minutes, and actually understood how much time and effort is being wasted on building mostly redundant card houses of mostly unnecessary tech, they’d have a stroke.
Ignore it (edit: obviously not for the purposes of the course, which someone helpfully jumped down my throat presuming). A lot of people somehow in charge of teaching coding couldn’t code their way out of a wet paper bag.
They are in a ton of languages in all kinds of different families for a reason: they are a logical and fairly consistent expression of two fairly consistently logical ways to deal with control flow in the specific case of a loop. Also there’s the switch-case case in C-style languages.
Now, there are legitimate arguments for avoiding tons of of exotic control flow shenanigans, but if someone doesn’t understand break/continue, then the problem is 100% theirs and nobody should take their advice on anything much, let alone relating to programming.
Relational database/RDBMS? It’s because the added complexity was necessary or desirable for some reason - relational databases are pretty good at managing data fairly quickly, often with features to deal with timing issues, concurrency, transactions, security, auditing, replication… They have theory going back decades and are still highly relevant. Same as any other software offering, you sometimes expect it to provide features you can’t, won’t or shouldn’t implement yourself.
The overhead is likely negligible, or was considered a fair tradeoff, or the database is actually better at its job in the given scenario. Hopefully. Sometimes people really do add shitloads of very unnecessary overhead by mistake, or overengineer their solutions terribly (cause it’s fun)
Stupidly bad project we were rushed relentlessly on, because - stop me if you’ve heard this one before - some dimwit promised months’ worth of work “in a couple weeks… by an intern”.
I made it generally known that this whole thing had a snowball’s chance in Hell of getting done on time with a 4-5-man team, they did not deign to take that opinion on board. In fact, they pretty much twisted our arm into shipping some barely working bullshit, causing them to have to do a buttload of manual correction instead. I hope they’re having fun with that. :>
Yes. I keep being surprised at how “fresh” 3 and 4 stay for me, given that the gameplay is not all that varied in the end. The gunplay is nice, the basic idea is nice, the execution works and I think Vaas and Pagan are interesting enough to sell the campaign for a good while. Hoyt is… also definitely one of the Far Cry villains of all time. 5 is fine if modified heavily, and 6… is undeniably a thing.
There’s no such thing as safe safe. While unlikely, even media/data files could contain exploits. They’d need to target specific issues in specific software, but that happens all the time.
WinRAR had a recent high publicity mistake earlier, where a “specially crafted” archive can make executables seem like other files so it’s easy to accidentally run them. Big no.
I also recently saw an (old) exploit analysis: some Linux thing got wrecked specifically because of vulnerabilities in a media player/codec - in fact opening the folder was enough to trigger the exploit, which could give someone unrestricted access to your system. Very, very big no.
Back in the day, I think Windows Media Player had some idiotic license download thing that was also used as an attack vector.
Basically: executables are just a slam dunk malware delivery vector. Media files are safer in general but not safe.
It’s a zachtronics-like, but in a side-scroller? I like coding games but am not sure the combination works just like that. Personally, I’d expect the coding to be relevant to the world, not an unrelated theoretical exercise. Project Euler randomly tacked onto Mario would be a nope for me, but using coding as a meaningful part of the game, so it does visible, tangible, useful or just cool things? Sign me the fuck up.
If you haven’t tried playing Zachtronics games, I’d give them a try. They’re a major subniche of “coding games” and could be good for some inspiration. They’re all basically coding either in spirit (SpaceChem, Magnum Opus) or directly (TIS-100, Shenzhen IO, Exapunks…), usually with some twist. Their languages tend to be “fake assembly”, simplified and stylized.
Personally I’ve rarely had as much fun coding as in my early ComputerCraft days (computers/robots in Minecraft) because it… did stuff. I was already a coder, but was not used to seeing it translated into “physical” actions. Like the difference of learning/teaching Python with text-based UIs and exercises, vs a “robot” that drives around in the room and does things.
I’ve had some ideas along these lines myself, borrowing a lot of Zachlike inspiration, but I was going to go topdown or just omit the “overworld” entirely.
For the record, I have not noticed this as “piracy in general”, no. Malware, dubious claims, dubious quality, dubious people, “extra information” that’s undesirable? Sure, they all happen, that’s part of the whole “get shit for free” deal. People are dipshits and I get how that’s really annoying. But… aren’t you in it for the free shit? Do you need to engage with the community much?
Racist, sexist, homophobic (etc. - god knows it’s a long enough list) are generally “edgy” and therefore automatically hysterically funny to a bunch of people - teenagers and others who might be well represented in piracy for whatever reason. Hell, some of that shit is funny even if you ethically oppose it 100%.
You don’t need to participate, agree or approve, just get what you came for and leave the edgelords to their edgelording.
So don’t?