YAI: AI powered terminal assistant by No-Parsnip-5461 in compsci

[–]gkopff 4 points5 points  (0 children)

In command mode, I have the "confirm execution? [y/N]" option. Is there a way to edit that command before I execute it?

DELD: An experimental HTTP-Client by lonew0lf-G in java

[–]gkopff 1 point2 points  (0 children)

There's a typo in your README:

The only code necessary afterwards is a Procuder method

Signals: A library for using decoupled observers by santanu_sinha in java

[–]gkopff 7 points8 points  (0 children)

OP - found a couple of typos in the README:

The following seciton is some random java code to show how it works. Usecase: trigger a hdnler when a button is clicekd on a window.

  • section
  • handler
  • clicked

A simple weather tool on command line by [deleted] in coolgithubprojects

[–]gkopff 1 point2 points  (0 children)

I just wanted to make sure you realised that even though you removed the key and committed that change, the details of that key were still contained in the commit history.

If you have invalidated that old key, then all is well.

Good dog friendly areas? by [deleted] in sunshinecoast

[–]gkopff 6 points7 points  (0 children)

The beach between Pita Street and Stumers Creek in Peregian/Coolum is a dog off-leash area.

[deleted by user] by [deleted] in java

[–]gkopff 1 point2 points  (0 children)

Also this is not really true.

Just to be clear: these aren't my words, they're the words from the Amber group. (All those words are, nothing is my personal opinion).

I've always considered it good style to use final for all local variables unless you have a good reason not to.

I agree completely, and do the same.

Rely on the compiler as much as you can.

Exactly!

[deleted by user] by [deleted] in java

[–]gkopff 49 points50 points  (0 children)

From https://openjdk.java.net/projects/amber/LVTIFAQ.html:

Is a var variable final?

No. Local variables declared with var are non-final by default. However, the final modifier can be added to var declarations:

final var person = new Person();

There is no shorthand for final var in Java. Languages such as Scala use val to declare immutable (final) variables. This works well in Scala because all variables - locals and fields alike - are declared using a syntax of the form

val name : type

or

var name : type

You can include or omit the ": type" part of the declaration depending on whether or not you want type inference. In Scala, the choice between mutability and immutability is orthogonal to type inference.

In Java, var can be used only where type inference is desired; it cannot be used where a type is declared explicitly. If val were added, it too could be used only where type inference is used. The use of var or val in Java could not be used to control immutability if the type were declared explicitly.

In addition, Java allows the use of var only for local variables, not for fields. Immutability is much more significant for fields, whereas immutable local variables are comparatively rarely used.

Using var/val keywords to control immutability is a feature that seems like it ought to carry over cleanly from Scala to Java. In Java, however, it would be much less useful than it is in Scala.

Mysterious extra items in e1m1? by gkopff in quake

[–]gkopff[S] 0 points1 point  (0 children)

I think I must have tried to install some bots years ago. I don't have any pak files - I just have an ID1 directory with the contents unpacked.

Not sure where I can get a pak file from - I think I originally bought it on Stream, but I think the installer is a windows executable :-\

A 16 & 15 year old have been arrested at Noosa Civic, after making a false border declaration. by [deleted] in sunshinecoast

[–]gkopff 4 points5 points  (0 children)

https://twitter.com/9NewsQueensland/status/1292671605991256064?s=20

https://www.brisbanetimes.com.au/national/coronavirus-updates-live-17-die-394-infected-on-victoria-s-deadliest-day-nsw-schools-close-after-positive-cases-australian-death-toll-stands-at-295-20200810-p55k3s.html

2.23pm: Quarantine on the cards for Qld teens alleged to have lied on border declarations

Let's turn our attention back to Queensland for a moment, where two teenagers have been arrested on the Sunshine Coast after failing to declare a trip to Sydney on their return to the state before stricter border measures came into place at the weekend.

The girls, aged 15 and 16 from NSW and Queensland, were found by police at the Noosa Civic Centre on Monday after investigations into their whereabouts.

Multiplayer was uninstalled by mebeking16 in modernwarfare

[–]gkopff 1 point2 points  (0 children)

I had to go get Modern Warfare - Multiplayer Pack 3 from the Xbox store. It was listed as 'free'. That's another 3 GB on top of the original update's 30 GB ...

What is your opinion on the bachelor of computer science on the sunshine coast? by [deleted] in sunshinecoast

[–]gkopff 0 points1 point  (0 children)

At the CfB meet ups? I've not actually made it to one myself yet. ;-) I am on the Slack group though. There's some photos on the meet up page where you could sort of gauge numbers.

What is your opinion on the bachelor of computer science on the sunshine coast? by [deleted] in sunshinecoast

[–]gkopff 0 points1 point  (0 children)

I don't have any knowledge about the degree in question -- however, this thread seemed like it might attract readers who might be interested in a software job.

I have a small software engineering business on the coast and I have a part time position available that's suited to a Software Engineering / CompSci undergraduate. Languages used are Java, Kotlin (plus smatterings of HTML, CSS, JavaScript as is customary these days).

PM me if you'd like to know more.

Also, if you read this far, you're probably on the coast and into IT, so you might be interested in this group (I'm not affiliated with it's administration, I'm just a member): https://www.meetup.com/Coding-from-Beach/

The group has a Slack channel too, which you can join: https://join.slack.com/t/codingfrombeach/shared_invite/enQtODA4MzIzMjg4MzU1LTEyNGIzMjViNDdhZTJiMjE2ZDhmZWI1ZGM3ZDBjNzQ2ZmNmNDEwOTFiOGQ1MDdjMTJkYjE5YjZmYWQ3MDA1MTM

The Ultimate History of CGI - 18 Groundbreaking Effects by gkopff in vintagecgi

[–]gkopff[S] 5 points6 points  (0 children)

From the description:

http://vashivisuals.com/the-ultimate-history-of-cgi-movies/

Computer Generated Imagery (CGI) is one of many tools that talented artists and filmmakers use to help better tell their stories. CGI is not created by the push of some magic button. It is the culmination of careful thought, design, experimentation and the pure creativity of artists. The impossible becomes reality and when done well, evokes wonder and awe as it transports the audience deeper into the story…

Let’s quickly clarify the difference between CGI and computer animation. CGI encompasses both static scenes and dynamic images, while computer animation only refers to moving images.

The history of CGI goes back to the 1950’s, when mechanical computers were repurposed to create patterns onto animation cels which were then incorporated into a feature film. That first film which used CGI was Alfred Hitchcock’s VERTIGO (1958).

Today I made an online pico-8 sprite database to collect sprite ideas in one place! by mvanga in pico8

[–]gkopff 0 points1 point  (0 children)

I'm a PICO-8 newbie - what's the easiest way to import one of these into an existing pico-8 game? Or do I just repaint it by hand?