This week's book giveaway is in the Spring forum.
We're giving away four copies of Modern frontends with htmx and have Wim Deblauwe on-line!
See this thread for details.
Win a copy of Modern frontends with htmx this week in the Spring forum!

Liutauras Vilda

Marshal
+ Follow
since Nov 12, 2014
Liutauras likes ...
Mac OS X VI Editor BSD Java
Merit badge: grant badges
For More
London, United Kingdom
Cows and Likes
Cows
Total received
637
In last 30 days
6
Total given
2060
Likes
Total received
1911
Received in last 30 days
4
Total given
2352
Given in last 30 days
4
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt Green check
expand Greenhorn Scavenger Hunt

Recent posts by Liutauras Vilda

Swapnil Mishra wrote:I copied the text in following order :
1. yellow
2. green
3. blue

and after copying blue when I paste using ctrl + v  I get blue.


You can conceptually think it is similar to how stack data structure's mechanics work.
2 days ago
I suggest we get back to the main question or we may just need to close the thread as it no longer fits the purpose.

We have some rules and standards that we try to ensure they are respected and adhered. We do not target individuals, but rather posts, which just appear to be posted by individuals.

So once again, to keep things intact, let's continue on main topic if there is still a wish (in which case I'd remove those posts that are out of context), alternatively, I can close the thread.
2 days ago
I don't know. Image doesn't tell me much. How are those going to be consumed now, in which order?
2 days ago
Cowgratulations, Anil Philip! Your topic has been published in our CodeRanch's February 2024 Edition Journal
5 days ago
Cowgratulations, Swapnil! Your topic has been published in our CodeRanch's February 2024 Edition Journal
5 days ago
Cowgratulations, Ron! Your topic has been published in our CodeRanch's February 2024 Edition Journal
5 days ago
After over a year's lapse, we decided to re-invent the Journal.  It is now an "editor's picks" format brought to you by the staff of JavaRanch.  Read what your favorite moderators think is hot!

2024
  • February 2024 Journal
  • January 2024 Journal


  • 2023
  • January 2023 Journal


  • 2022
  • December 2022 Journal
  • November 2022 Journal
  • October 2022 Journal
  • September 2022 Journal
  • August 2022 Journal
  • May 2022 Journal
  • April 2022 Journal
  • February 2022 Journal
  • January 2022 Journal


  • 2021
  • December 2021 Journal
  • November 2021 Journal
  • August 2021 Journal
  • July 2021 Journal
  • June 2021 Journal
  • May 2021 Journal
  • April 2021 Journal
  • February 2021 Journal
  • January 2021 Journal


  • 2020
  • December 2020 Journal
  • November 2020 Journal
  • October 2020 Journal
  • September 2020 Journal
  • August 2020 Journal
  • July 2020 Journal
  • June 2020 Journal
  • April 2020 Journal
  • March 2020 Journal
  • February 2020 Journal


  • 2019
  • November 2019 Journal
  • October 2019 Journal
  • September 2019 Journal
  • August 2019 Journal
  • July 2019 Journal
  • June 2019 Journal
  • May 2019 Journal
  • April 2019 Journal
  • March 2019 Journal
  • February 2019 Journal
  • January 2019 Journal


  • 2018
  • December 2018 Journal
  • November 2018 Journal
  • October 2018 Journal
  • September 2018 Journal
  • August 2018 Journal
  • July 2018 Journal
  • June 2018 Journal
  • April 2018 Journal
  • March 2018 Journal
  • February 2018 Journal


  • 2017
  • December 2017 Journal
  • November 2017 Journal
  • October 2017 Journal
  • September 2017 Journal
  • August 2017 Journal
  • July 2017 Journal
  • June 2017 Journal
  • May 2017 Journal
  • April 2017 Journal
  • March 2017 Journal
  • February 2017 Journal
  • January 2017 Journal


  • 2016
  • November 2016 Journal
  • October 2016 Journal
  • September 2016 Journal
  • August 2016 Journal
  • July 2016 Journal
  • May 2016 Journal
  • April 2016 Journal
  • March 2016 Journal
  • February 2016 Journal
  • January 2016 Journal


  • 2015
  • October 2015 Journal
  • July 2015 Journal
  • May 2015 Journal
  • April 2015 Journal
  • February 2015 Journal
  • January 2015 Journal


  • 2014
  • December 2014 Journal
  • October 2014 Journal
  • July 2014 Journal
  • June 2014 Journal
  • May 2014 Journal
  • April 2014 Journal
  • March 2014 Journal
  • February 2014 Journal
  • January 2014 Journal


  • 2013
  • December 2013 Journal
  • October 2013 Journal
  • September 2013 Journal
  • August 2013 Journal
  • July 2013 Journal
  • January 2013 Journal


  • 2012
  • September 2012 Journal
  • August 2012 Journal
  • July 2012 Journal
  • June 2012 Journal
  • March 2012 Journal
  • February 2012 Journal
  • January 2012 Journal


  • 2011
  • October 2011 Journal
  • August 2011 Journal
  • July 2011 Journal
  • June 2011 Journal
  • May 2011 Journal
  • April 2011 Journal
  • March 2011 Journal
  • February 2011 Journal
  • January 2011 Journal


  • 2010
  • December 2010 Journal
  • November 2010 Journal
  • October 2010 Journal
  • September 2010 Journal
  • August 2010 Journal
  • July 2010 Journal
  • June 2010 Journal


  • 2009 and earlier Journals
    5 days ago
    T h e . C o d e R a n c h . J o u r n a l
    ----

    January 2024 Edition
    Howdy from all the CodeRanch staff, and welcome to the January edition of the Journal.


    J u m p i n . J F o r u m . D a y
    ----
    This year, we celebrated the 15th birthday of out cutover to Java based forum software! You can read about the journey to this point https://coderanch.com/wiki/659923/Reading-Ranch-JForum or read the announcement: https://coderanch.com/t/424504/Happy-Year

    Every year we have a special feature in honor of "JForum Day". This year we added two features related to PIE.
    1) If you've posted in the last year, you'll start getting an offer for a free slice of PIE on your ranch anniversary. Just go into your PMs and click on the link to redeem it! PIE gives you all sorts of special features: https://coderanch.com/forums/pie/listwebpage
    2) PIE users now have the option to set an auto reply on their PMs.

    You can read about the new features at https://coderanch.com/t/778651/Happy-Jumpin-JForum-Day-read

    I n t e r e s t i n g . C o d e R a n c h . F o r u m . T o p i c s
    ----

    Two interesting ones are

    Upper bounded wildcards - https://coderanch.com/t/776983/certification/upper-bounded-wildcards-restrict-type
    Sequential and indexing - https://coderanch.com/t/775918/certification/Arrays-Sequential-Indexed

    So go on and give 'em a read, you won't regret it. Happy codin'!


    B o o k s . a n d . R e v i e w s
    ----

    The book review grid (https://coderanch.com/wiki/661186/books/Book-Review-Grid) is a great way to find books to read.

    Two new ones are

    "Transitioning to Java" - https://coderanch.com/wiki/772426/books/Transitioning-Java-Ken-Fogel
    "Practical Design Patterns for Java Developers" - https://coderanch.com/wiki/771173/books/Practical-Design-Patterns-Java-Developers

    C o d e R a n c h . S t a f f
    ----

    Thanks to all staff that volunteer their time and share their knowledge to make this site the friendliest place on the web to learn.  

    A special thanks this month to the following members...

  • Marshals: Campbell Ritchie :: Ron McLeod :: Devaka Cooray:: Liutauras Vilda :: Paul Clapham
  • Sheriffs: Henry Wong :: Ernest Friedman-Hill
  • Saloon Keepers: Stephan van Hulst :: Tim Moores:: Tim Holloway :: Carey Brown :: Frits Walraven


  • C o d e R a n c h . N e i g h b o r s
    ----
    Richsoil - Permaculture articles n stuff by Paul Wheaton
    Permies - Permaculture and homesteading goofballs


    T h e . M o o s e . o n . S o c i a l
    ----
    The CodeRanch announces latest news/developments frequently on our social media outlets. You can find us at:
  • Twitter
  • Mastodon
  • Facebook

  • Follow / Like us so you don't miss a thing.


    T h i s . M o n t h ' s . E d i t o r
    ----
    This month's Journal editor is Jeanne Boyarsky. She is a Java Champion, published author, and proud moderator at the Ranch. She also developed both JForum day features.


    S u g g e s t i o n s / F e e d b a c k
    ----
    If you have any feedback on this month's journal then feel free to create a topic in our Ranch Office.


    J o u r n a l . A r c h i v e
    ----
    Our previously published journals you can find here.
    5 days ago
    T h e . C o d e R a n c h . J o u r n a l
    ----

    February 2024 Edition
    Howdy from all the CodeRanch staff, and welcome to the February edition of the Journal.


    W e l c o m e . N e w . B a r t e n d e r s
    ----
    Well, gather 'round, folks! We got some new moderators in town, but they ain't called moderators no more. Nope, they're bartenders now. These digital cowboys are keepin' our internet saloon in check, wranglin' trolls quicker than a rattlesnake's strike. So, raise a glass to them bartenders, keepin' the peace in this wild, wild online frontier!

  • Lou Hamers - introduction
  • Roland Mueller - introduction
  • Adrian Grabowski - todo


  • I n t e r e s t i n g . C o d e R a n c h . F o r u m . T o p i c s
    ----
  • I bet you did not hear use Java Stream#mapMulti yet
  • Now, ok, recursion again recursion, ok, Now
  • How to debug a stream pipeline
  • It is never too late to join Java war var


  • B o o k . P r o m o t i o n s . & . W i n n e r s
    ----
    There's a book (or software) promotion just about every week at CodeRanch.
    Just ask a question in the appropriate forum and you're eligible to win a copy of the book.

    We've got some promotions coming up. Check the Book Promotions Schedule.

    Some upcoming ones are:
  • March 5 - Modern frontends with htmxh by Wim Deblauwe
  • March 12 - Learn Generative AI with PyTorch by Mark Liu

  • Recent promotions winners:
  • Murach's MySQL - Anthony Esposito, Roberto Cheritaz, meenakshi sundar, Roland Mueller

  • More Book Promotions Winners.


    B o o k s . a n d . R e v i e w s
    ----
    Here are some interesting reviews and recommendations from the CodeRanch staff in our Book Reviews forum.
    The Book Review Grid will give you an overview.


    C o d e R a n c h . S t a f f
    ----
    Thanks to all staff that volunteer their time and share their knowledge to make this site the friendliest place on the web to learn.  

    A special thanks this month to the following members...
  • Marshals: Campbell Ritchie ::  Jeanne Boyarsky :: Ron McLeod :: Paul Clapham :: Liutauras Vilda
  • Sheriffs: paul wheaton :: Rob Spoor :: Devaka Cooray
  • Saloon Keepers: Stephan van Hulst :: Tim Holloway :: Carey Brown :: Frits Walraven :: Tim Moores
  • Bartenders: Mikalai Zaikin


  • C o d e R a n c h . N e i g h b o r s
    ----
    Richsoil - Permaculture articles n stuff by Paul Wheaton
    Permies - Permaculture and homesteading goofballs


    T h e . M o o s e . o n . S o c i a l
    ----
    The CodeRanch announces latest news/developments frequently on our social media outlets. You can find us at:
  • Twitter
  • Mastodon
  • Facebook

  • Follow / Like us so you don't miss a thing.


    T h i s . M o n t h ' s . E d i t o r
    ----
    Liutauras Vilda - a sheriff, who's wandering around here for almost 10 years now, well, not quite, in the next 9 months or so... but you can feel the tense already.


    S u g g e s t i o n s / F e e d b a c k
    ----
    If you have any feedback on this month's journal then feel free to create a topic in our Ranch Office.


    J o u r n a l . A r c h i v e
    ----
    Our previously published journals you can find here.
    5 days ago
    @Swapnil Mishra

    Just want to say one thing, don't feel bad if you don't get it (now or even later). That's certainly not an easy thing to get!
    Recursion on its own is mind bending, and then on top of that it is added a confusing code construct.

    However, if I'd need to track myself what's going on (I certainly need ), I'd use this code:

    Now, run this code, try to visualise in your head and code... I know, easier said than done, no worries if that takes a lot of time - expected.
    1 week ago

    Posts in this welcome thread are not eligible for the drawing, and should be reserved for welcoming the author. Questions posted in this topic are subject to removal.

    santhosh mallem wrote:How to get end user's access-key and secret-access-key
    by using accountId and registered email/username  w.r.t "amazon s3" in spring boot application ?


    Start by reading this blog: https://aws.amazon.com/blogs/security/wheres-my-secret-access-key/
    That leads to: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users.html
    And: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html

    I'm assuming you are trying to figure out how you can get YOUR credentials.
    1 week ago

    Stephan Peters wrote:Unless, of course I win a 4th ed by posting here...


    Very unlikely, because questions asked in this thread aren't eligible for winning.

    This thread is reserved for welcoming Author only. Please ask question(s) in the forum book promotion is happening.
    While it is inevitable sometimes, I find important not to fall into the traps of workarounds and rather stick to officially supported features, whether it is of a framework you use, or cloud provider services, or something on that line when you develop your system.

    And if you find you need a workaround, that's not necessarily what you indeed need to do, worth speaking with product by explaining consequences of a, b, and c, so it may appear that that something might not that important after all - so you avoid over complicating parts of your system.
    1 week ago