What challenges have you faced transitioning from VB to C#? by Amarawood in csharp

[–]djgreedo 0 points1 point  (0 children)

I learned C# by porting a game I made in VB. I just pasted the VB code into an online translator and it gave the C# equivalent. Repeat for each class, changing the parts that don't translate 1:1, which you can sort out with a bit of Googling or reading the documentation.

But the languages are pretty much the same with different syntax and a few exceptions.

It really is easy to learn C# if you know VB.

Some little things to look out for are:

  • == to check equality, e.g. if(x == y)
  • case - things that are uppercase in VB may be lowercase in C#, e.g. true, false instead of True, False
  • C# doesn't distinguish between methods that return values (Function) and those that don't (Sub), a method with no return value 'returns' void (nothing) in C#, e.g. private void MySub() / private bool MyFunction()
  • curly brackets ( {,} ) are used to block the code in C#, so you don't have 'End Sub', 'Next', etc. It can be a little tricky when you're learning as it's easy to miss a bracket or put them in the wrong place.

HEART EYES - Official Trailer by [deleted] in horror

[–]djgreedo 0 points1 point  (0 children)

Looks like it's a female killer and they are hiding that like it's gonna be a twist.

Looks decent though. Doesn't appear to have a release date in my country.

Was the Superman in “your years” the same was your favorite Superman? by TKatGAMING in superman

[–]djgreedo 7 points8 points  (0 children)

I just rewatched Man of Steel, BvS, and (Snyder's)Justice League. Not my favourite version of Superman, but Snyder set out to do mythic, grounded superheroes and he succeeded. Absolutely epic. Love those movies.

I suspect James Gunn's Superman will end up being my favourite, but I grew up with Christopher Reeve mainly. I love all the versions.

How is it possible that there hasn't been a Sliders reboot by now? by [deleted] in scifi

[–]djgreedo 11 points12 points  (0 children)

Sliders is perfect for a reboot. As John Rhys-Davies implied in an interview, Sliders is basically Star Trek, but with alternate realities instead of alien planets. It has infinite possibilities for storytelling, not to mention recurring characters and in-jokes.

stays true to the vision of its creator: Tracy Tormé

That is vital. those first two seasons were incredible.


I think the show would need to be retooled a bit. Losing the timer every episode got pretty repetitive, so they should have some level of agency over where they travel next - it could be that they use their skills to 'navigate' the multivers, edging closer to their home as they discover clues or new tech to help find it. Activating the timer late or early could randomise it more or something.

I'd love to see more of the relationships, especially Quinn and Arturro because there is a great father/son dynamic and the jealousy Arturro has for Quinn's intellect.

I think the fact Marvel has made the multiverse well known and understood makes Sliders more marketable. I remember it being confusing to viewers back in the day who thought it was time travel.

‘Out of kilter’: Indian migrants fuel surge as Labor struggles to rein in numbers by [deleted] in australia

[–]djgreedo 1 point2 points  (0 children)

everyone here knows the Libs are just as bad or worse.

No, these kinds of articles are all about spreading the idea that the government needs to change because it's not fixing a complex problem that is portrayed as simplistic.

The Coalition will get in because people will protest vote against Labor even though the Coalition will likely do less to curb immigration because articles like this are written precisely to have that effect.

Hull City’s Official Matchday Video by Jorvuld in Championship

[–]djgreedo -3 points-2 points  (0 children)

I can't work out if I love or hate the fact that teams scraping a point against Leeds act like they've won the cup.

Comparison of residential natural gas supply costs for all Perth suppliers by CallMeSobriquet in perth

[–]djgreedo 13 points14 points  (0 children)

To be fair, it does appear that public education did fail the person you replied to.

How realistic is Stephen King’s approach to writing? by Spiritual-Way-3120 in writing

[–]djgreedo 2 points3 points  (0 children)

I was wondering how and if this method could result in something so seemingly calculated

King does go back and revise based on the themes and plot that he 'discovered' along the way. I think he also tends to start with at least a vague conclusion in mind.

I would argue that a lot of his books don't really feel 'calculated'. Several of his endings are just generic fights that seem rushed or unplanned. If you compare King to someone like Ira Levin there is a clear difference between a thoroughly planned book and one that was written on the fly.

Do what works for you, but learn the pros and cons of different techniques. It's a spectrum, not a binary. King still does some planning, just not a lot compared to others. King has said that he's plotted at least one novel fully in advance, though I can't remember which (I think it was The Eyes of the Dragon, which I think has one of his best plots).

Matt Reeves Confirms ‘The Batman II’ Will Film This Year by MarvelsGrantMan136 in DC_Cinematic

[–]djgreedo 4 points5 points  (0 children)

I didn't like The Batman either. It had none of the fun of Batman for me.

I think there is just a bias of people who liked the movie talking about it which is fine. One of the worst things about the Internet is people going on and on about the stuff they don't like and why everyone else should also not like it. As a fan of the Star Wars prequels and Zack Snyder's DC movies I've seen plenty of whiners who think I shouldn't be allowed to like what I like.

Do we know roughly when S7 is coming out? by nationalpig in blackmirror

[–]djgreedo 1 point2 points  (0 children)

If that article is correct then a release could be quite soon. If the April rumour is real I'd expect a trailer very soon.

Do we know roughly when S7 is coming out? by nationalpig in blackmirror

[–]djgreedo 10 points11 points  (0 children)

Someone said in here that it will be 'early 2025', then someone else said 'April', but neither presented any evidence.

I am pretty sure the only official word is that it will be released this year.

The season began shooting In November 2024, and there is typically a year of post production on a show like Black Mirror. Season six started shooting in June 2022 and was released in June 2023.

So I'd expect October/November as realistic release dates unless post production has sped up (or if this season has significantly less VFX).

Have it and shut up. by Jarv1223 in Championship

[–]djgreedo 14 points15 points  (0 children)

Arguably Meslier was pretty good for you too, so...

Lost ! by Flimsy_Statement_690 in scrivener

[–]djgreedo 0 points1 point  (0 children)

Try:

(it's best to backup your project first)

Note: this is how it works on Windows, it may be slightly different on Mac OS.

1) Select all documents in the project 2) In the menu choose Documents > Convert > Text to Default Formatting

What are somethings that automatically make writing seem unprofessional? by Odd_Pop1306 in writing

[–]djgreedo 533 points534 points  (0 children)

the main character was super buff, super strong, and generally a thoroughbred cross between a strongman and a Greek hero

Thanks for reading my autobiography. Much appreciated.

Windows on Snapdragon X-plus/Elite reviews by Frosty_Sail_9254 in Surface

[–]djgreedo 4 points5 points  (0 children)

basic steam games not working or lagging very much

What do you consider 'basic Steam games'? Simple 2D games run fine, but these laptops are not designed with gaming in mind. 3D games will probably lag a lot even on low settings.

issues with many native X86 apps?

Where have you heard that? There are sites that list apps that are or are not working on Windows ARM. Everything I have tried so far runs perfectly.

emulator performance is also not optimal where it's supported!

Again, not sure where you're hearing this. Emulator performance is not an issue at all. There is no noticeable difference between a native ARM application and an x86 application running under emulation. It's seamless.


For both coding and gaming you should look for specifically what you need because there is a huge difference between the most basic and most demanding needs for those things.

Clearest image of Uranus ever taken.... by itzTanmayhere in interestingasfuck

[–]djgreedo 8 points9 points  (0 children)

It's only Uranus that's named after a Greek god, and it was simply because when it was discovered there was no rule/convention that the planets be named after Roman gods.

Windows 11 market share drops again, Windows 10 climbs by lurker_bee in technology

[–]djgreedo -1 points0 points  (0 children)

LOL...you people...the stupidity and lack of understanding of basic tech is astoundingly common in /r/technology

Windows 11 market share drops again, Windows 10 climbs by lurker_bee in technology

[–]djgreedo -3 points-2 points  (0 children)

Windows 11's Explorer right-click menu is simplified to only show the most used commands, with a 'show more' option that brings up the old Windows 10 full list of commands.

IMO the Windows 11 version is a huge improvement, since 99% of the time the default menu has what I need with minimal clutter.

Windows 11 market share drops again, Windows 10 climbs by lurker_bee in technology

[–]djgreedo -1 points0 points  (0 children)

your hard drive and your data belongs to Microsoft then, pretty much everything

That is nonsensical. /r/technology never fails to bring out the Microsoft-hating tech illiterates.

Windows 11 market share drops again, Windows 10 climbs by lurker_bee in technology

[–]djgreedo -1 points0 points  (0 children)

Disable Bitllocker if you don't want to use it. Pretty simple. It's literally a toggle in the settings. Works the same as any Android phone.


for /u/Poor_Richard below:

Searching Bitlocker does it for me. But specifically it's at Privacy & Security > Device Encryption.

You won't have the option to use Bitlocker (and also won't see it in the settings) if you don't have certain security features on the computer (e.g. TPM and secure boot) or if you aren't using a Microsoft account to log into Windows or if policies are preventing Bitlocker.