Daniel Sun

3.9K posts

Daniel Sun banner
Daniel Sun

Daniel Sun

@daniel_sun

#ASF Member, @ApacheGroovy PMC member, The Definitive #ANTLR4 Reference(CN) reviewer, The Definitive Guide to #Grails translator, etc.

Shanghai, China Katılım Mayıs 2008
93 Takip Edilen585 Takipçiler
Sabitlenmiş Tweet
Daniel Sun
Daniel Sun@daniel_sun·
#GINQ of #groovylang 4.0.0 supports inner/left/right/full/cross join(on), group by(having), order by, limit, nested GINQ, window functions, etc. Here is the latest version of user guide: bit.ly/3nJYUaA More examples could be found at: bit.ly/3suJivd
English
1
8
22
0
Daniel Sun retweetledi
Spock Framework
Spock Framework@spockframework·
Spock 2.4 has been released 🖖 After three years and seven milestones, Spock 2.4 lands just in time for the holidays, packed with new testing goodies. 🎁 Curious? See here: spockframework.org/spock/docs/2.4… What’s your favorite addition? #groovylang
English
2
9
18
3.2K
Daniel Sun retweetledi
sysxplore
sysxplore@sysxplore·
Quick Linux Tip🐧 You can enable timestamps in your bash command history to see when you ran previous commands. This can be useful for tracing what you were working on and when. To add timestamps to your history, just set the HISTTIMEFORMAT environment variable like so: $ export HISTTIMEFORMAT="%F %T " Now when you view your history or grep through it, you'll see a timestamp next to each command indicating when it was run: $ history | tail -n 5 Or to save a couple of keystrokes: $ history 5 The format "%F %T" shows the date and time, but you can customize it to your liking. Note: This does not put historical timestamps on commands you executed before setting HISTTIMEFORMAT and also this only works in bash.
sysxplore tweet media
English
5
73
486
23.6K
Daniel Sun retweetledi
Dan Vega
Dan Vega@therealdanvega·
Just like Java devs are now AI devs, Groovy developers have access to powerful AI tools too! 🚀 Built a simple OpenAI chat client in Groovy, then showed how Spring AI makes it production-ready. Speaking about this at Community Over Code this week @ApacheCon Watch: youtu.be/rQwm9--DMIA
YouTube video
YouTube
English
1
7
34
3.1K
Daniel Sun retweetledi
Marcio Endo
Marcio Endo@marcioendo·
A type witness after the 'new' keyword is an actually valid Java construct. This and more in the latest video.
English
1
5
112
5.9K
Daniel Sun retweetledi
Sam Brannen
Sam Brannen@sam_brannen·
TIL: Since #Java 9, AtomicBoolean has a setPlain() method for "plain write access", which effectively lets you use an AtomicBoolean as a simple, mutable boolean holder in lambda expressions without feeling so bad about having done so. 😎
English
2
3
16
957
Daniel Sun retweetledi
Marcio Endo
Marcio Endo@marcioendo·
Flow scoping in Java. Pattern matching for instanceof brought this new concept to the language.
English
3
11
99
8.4K
Daniel Sun retweetledi
IntelliJ IDEA, a JetBrains IDE
IntelliJ IDEA, a JetBrains IDE@intellijidea·
Ever wonder how Java debuggers work behind the scenes? 🤔 In our latest article, we dive into the relationship between source code, bytecode, and the debugger – plus we share a few handy tricks along the way! Check it out👇 blog.jetbrains.com/idea/2025/05/s…
English
0
16
58
6.2K
Daniel Sun retweetledi
Paul Bakker
Paul Bakker@pbakker·
My "How Netflix uses Java in 2025" presentation from JavaOne was published on YouTube: youtu.be/XpunFFS-n8I?si…. Watch to see how we're running Netflix on Java and the Java stack we're using. #Java
YouTube video
YouTube
English
10
132
627
63.7K