I want to set the textSize value of the snippet below to a textSize of an XML file, how to achieve this?

|
mariano_martins 2022-08-28 02:05:21
Hello. I need to convert a list from the Repository Interface into another list. How do I do this without needing a traditional for?

category Repository.findAll()

ViniberaDev 2022-08-28 03:01:53
mariano_martins 2022-08-28 02:05:21
Hello. I need to convert a list from the Repository Interface into another list. How do I do this without needing a traditional for?

category Repository.findAll()

https://www.baeldung.com/java-copy-list-to-another

Jaschar 2022-08-29 14:28:23
https://youtu.be/P7SI9mLwiqw

Java 8 to 18: Most important changes in the Java PlatformYouTube
JavaOne is back! ➱ https://oracle.com/javaone

Java 8 launched in March of 2014, Java 18 in March of 2022. There are 8 years of progress, 203 JDK Enhancement Proposals (JEPs), between those two releases. In this video, we will review the most important changes and discuss the benefits, and challenges, of adoption newer JDK versions for both new applications and older ones compiled with older releases.

Presented by Aurelio García-Ribeyro – Senior Director of Product Management – Java Platform Group

⎯⎯⎯⎯⎯⎯ Resources ⎯⎯⎯⎯⎯⎯
◦ Dev.java ➱ https://dev.java/
◦ Inside.java ➱ https://dev.java/
◦ Oracle Java ➱ https://www.oracle.com/java/

Tags: #Java #JDK #Oracle

JFCostta 2022-09-03 01:41:05
All Java features thread
JFCostta 2022-09-03 01:41:05
https://twitter.com/GuidesJava/status/1565624060804882432?t=dKZuTcroxn55JX0vhserHA&s=35
R_r_F_BR 2022-09-06 00:29:06
__JSF is dead, long live to JSF!!!__
R_r_F_BR 2022-09-08 01:56:14
https://www.freecodecamp.org/news/the-java-handbook/

The Java Handbook – Learn Java Programming for BeginnersfreeCodeCamp.org
Java has been around since the 90s. And despite its massive success in many areas, this cross-platform, object-oriented programming language is often maligned. Regardless of how people feel about Java, I can tell you from experience is that it is an excellent programming language. After its first appearance back in
TIKorth 2022-09-09 19:12:36
https://www.udemy.com/course/java-multithreading/

🤓 Great free course about Java Multithreading 💻

Free Java Tutorial – Java MultithreadingUdemy
Unveiling the mysteries of multithreading in Java. The ultimate Java multithreading course
phfbonini 2022-09-12 16:49:54
0

I want to set the textSize value of the snippet below to a textSize of an XML file, how to achieve this?

phfbonini 2022-09-12 16:50:01
holder.tvValue.setTextSize();
phfbonini 2022-09-12 16:50:07
in the xml it is like this:
phfbonini 2022-09-12 16:50:13
<TextView
android:id=”@+id/tv_title”
android:textSize=”32sp”
app:layout_constraintStart_toStartOf=”parent”
app:layout_constraintTop_toTopOf=”parent” />
JFCostta 2022-09-12 17:02:01
phfbonini 2022-09-12 16:50:13
<TextView
android:id=”@+id/tv_title”
android:textSize=”32sp”
app:layout_constraintStart_toStartOf=”parent”
app:layout_constraintTop_toTopOf=”parent” />

Maybe you should try asking in an Android channel.

Jaschar 2022-09-13 18:23:16
Question to all,

What was the best code you ever read?

JFCostta 2022-09-13 20:24:35
Jaschar 2022-09-13 18:23:16
Question to all,

What was the best code you ever read?

Interesting question. Lately I’ve been attracted by Java lambda snippets. The emulated functional paradigm works well in Java and gives us a clean and good looking code.

JFCostta 2022-09-13 20:26:41
Builder pattern is also very elegant tough
Jaschar 2022-09-15 12:09:36
In my humble opinion due to the challenging complexity the quality of a time library implementation is a very good benchmark for great code design. Therefore, I find the implementation of the library Joda-Time worth mentioning. Even if this is not true for all classes, the Jota-Time library is overall very good code.

Furthermore, I think the code from mockito should also be mentioned. Here it applies especially for the detailed error handling.

I must admit that I am still searching for the holy grail. So, the code that moves you to tears, as you would see the Mona Lisa for the first time in the Louvre on site.

JFCostta 2022-09-15 16:29:09
Jaschar 2022-09-15 12:09:36
In my humble opinion due to the challenging complexity the quality of a time library implementation is a very good benchmark for great code design. Therefore, I find the implementation of the library Joda-Time worth mentioning. Even if this is not true for all classes, the Jota-Time library is overall very good code.

Furthermore, I think the code from mockito should also be mentioned. Here it applies especially for the detailed error handling.

I must admit that I am still searching for the holy grail. So, the code that moves you to tears, as you would see the Mona Lisa for the first time in the Louvre on site.

Woowww, if you ever find such a thing, please share with us. And I’ll take a look at these libs you mentioned, thanks!

martin_angelo 2022-09-15 21:14:39
@Jaschar i remember you telling me that the Hibernate Framework was re-engineered. So maybe now the code is really good?
Jaschar 2022-09-16 12:15:49
https://youtu.be/syGnlE_oosM

The Zen of Programming • Sander Hoogendoorn • GOTO 2022YouTube
This presentation was recorded at GOTO Amsterdam 2022. #GOTOcon #GOTOams
http://gotoams.nl

Sander Hoogendoorn – CTO at iBood.com

ABSTRACT
A personal journey towards writing beautiful code.
Ever since he wrote his first lines of code in 1982, Sander Hoogendoorn has been fascinated by the beauty of some code and the pure evil of other code. In these 40 years, Sander has worked together with hundreds of developers, and he has written code in many different paradigms, languages, ecosystems, and frameworks, always in search of better and more elegant ways of solving problems.
Is there really no silver bullet? Should you follow principles or intuition? Does architecture help or block you? Can frameworks kill your projects? How solid is SOLID? Why DRY? When is your code conceived? What is beautiful and what is ugly code? Is beauty really in the eye of the beholder? Functions before objects? What are monads and should you apply them? Is small beautiful? Does unit testing make debugging obsolete? And why should you take your mother out more often?
During this inspiring new talk Sander Hoogendoorn, life-long developer and currently CTO at e-commerce company iBOOD, investigates his personal journey through platforms, languages, principles, doubts, and struggles that so many developers also encounter during their careers, illustrating ideas and patterns that influenced and inspired him to how he currently codes. Fully functional, monadic, single-lined, clean, short-named variables, and automatically tested code – of course with real-life code examples.
Get inspired to discover your Zen and find your own path towards writing beautiful code. […]

TIMECODES
00:00 Intro
01:57 Being a travelist
04:00 Being a codist
05:51 The zen of programming
06:20 How does learning work?
08:58 Learning & unlearning
10:49 A quest for super simple code
12:32 The wall in the desert
14:50 The end of “productivity”
15:54 Code lives in your head
19:07 Programming is addictive
20:20 Always travel light
22:37 You can only spend your time once
24:25 Do we really need this now?
25:10 Simplicity rules
30:00 Architect to adapt
35:21 There are no best practices
37:42 Monadic code
38:11 Unit testing
40:13 Passive testing
41:15 Testing a design
43:20 Active testing
45:26 Learn by doing
48:35 Some people like change. Others don’t.
50:36 Outro

Download slides and read the full abstract here:
https://gotoams.nl/2022/sessions/1599/the-zen-of-programming

RECOMMENDED BOOKS
Sander Hoogendoorn • This is Agile • https://amzn.to/3DkDyfr
Gerald M. Weinberg • Becoming a Technical Leader • https://amzn.to/3xn87NG
Kent Beck • Test Driven Development • https://amzn.to/3RXopVg
Kent Beck • Extreme Programming Explained • https://amzn.to/3qAnb6C
Uncle Bob • Agile Software Development • https://amzn.to/3qIk2lf
Roy Osherove • The Art of Unit Testing • https://bit.ly/3obiKNB
David Farley • Modern Software Engineering • https://amzn.to/3GI468M


https://www.linkedin.com/company/goto-
https://www.facebook.com/GOTOConferences
#Programming #Zen #Complexity #Simplicity #SoftwareArchitecture #UnitTesting #Learning #Coding #Productivity #SimpleCode #ProgrammingTutorial #SimplicityTutorial #CodingTutorial #SoftwareEngineering

Looking for a unique learning experience?
Attend the next GOTO conference near you! Get your ticket at https://gotopia.tech
Sign up for updates and specials at https://gotopia.tech/newsletter

SUBSCRIBE TO OUR CHANNEL – new videos posted almost daily.
https://www.youtube.com/user/GotoConferences/?sub_confirmation=1

|