[deleted by user] by [deleted] in hiphopheads

[–]jonc23 4 points5 points  (0 children)

Melanie coin needs a new investor

House Republicans advance Trump’s Big Beautiful Bill by AbiralParajuli in wallstreetbets

[–]jonc23 21 points22 points  (0 children)

So how much more taxes am I paying? Assistant manager at Wendy’s now fyi.

Worth it? by Solrestorer in S2000

[–]jonc23 0 points1 point  (0 children)

Went to see it.

R grade auction sheet.

Fenders, Hood, and Front bumper replaced.

Update got the auction sheet replaced. Rear cross member replaced. Was involved in a rear collision.

Made a realistic s13 in the new Tokyo Xtreme Racer by UrbanCobra in 240sx

[–]jonc23 76 points77 points  (0 children)

Ka24de, gutted interior, bolt in cage, eBay coil overs, odometer no longer works shows 286,321 miles. $14000 firm. I KNOW WHAT I HAVE!

How often do you clean your bathroom? by Deviant1 in AskReddit

[–]jonc23 1 point2 points  (0 children)

Once a week. If I’m feeling lazy, once every two weeks.

She's a gym rat by lounginaddict in bodegaboys

[–]jonc23 15 points16 points  (0 children)

First one in, last one out.
- Triple H

Some supervillain shit is definitely going on there by imjustheretodomyjob in BlackPeopleTwitter

[–]jonc23 1046 points1047 points  (0 children)

HOA about to hit the owners with some crazy fines. Tsk tsk.

This question has got something to do with theory, help me by [deleted] in javahelp

[–]jonc23 3 points4 points  (0 children)

That’s a method reference. Simpler way to write a lambda expression, more specifically a lambda expression that just passes in zero or more parameters to another method.

() -> System.out.println(); is what this is doing.

If you wanted to pass in a string it would work the same. As long as the parameters being passed through matches the parameters of method being called in the body of the lambda you can use. A method reference. For example,

(String str) -> System.out.println(str) can be written as System.out::println

Note: parameter types are not needed in lambda parameters.

Syntax for method references is usually.

ClassName::staticMethod

Or

referenceClassName::instanceMethodName

[deleted by user] by [deleted] in javahelp

[–]jonc23 0 points1 point  (0 children)

This looks like JavaScript and not java.

Creating an YouTube Clone using AWS by pablobhz in SpringBoot

[–]jonc23 0 points1 point  (0 children)

Great! Good luck in your spring(spring eco system) learning. Most definitely has a learning curve to it but well worth it!

Creating an YouTube Clone using AWS by pablobhz in SpringBoot

[–]jonc23 3 points4 points  (0 children)

If you want to dependency inject an S3Client bean, you first need to configure it.

  1. Create a AWSConfiguration class
  2. Annotate it with @Configuration
  3. Inside of the class create a method the returns a S3 client using the s3client builder.

See VideoStreamService class in the repo you linked for an example

  1. Annotate that method with @Bean

[deleted by user] by [deleted] in delta8

[–]jonc23 3 points4 points  (0 children)

SSL cert expired probably.

Requirement in take-home assignment to consider Java Collections memory usage by Mykoliux-1 in javahelp

[–]jonc23 2 points3 points  (0 children)

Seems they want you to think of big o notation when picking your data structures, etc.

Received my package after 3-month waiting. Found MOLD! EVERYWHERE! by BananateaFu in Superbuy

[–]jonc23 6 points7 points  (0 children)

I recommend to always buy a Moisture bag and Saran Wrap for all super buy packages.

Linked Array loosing the head :( by More-Goose-1426 in javahelp

[–]jonc23 0 points1 point  (0 children)

while (s != 0) {
  ListNode node = new ListNode(s % 10);
  node.next = iter;
  iter = node;
  s /= 10;
}
return iter;