Stuart Douglas

713 posts

Stuart Douglas

Stuart Douglas

@stuartwdouglas

Staff Engineer at Block

Orange, New South Wales Katılım Haziran 2010
335 Takip Edilen992 Takipçiler
Stuart Douglas
Stuart Douglas@stuartwdouglas·
@gunnarmorling Quarkus and Spring both use this a lot, they would be way less user friendly if you had to list all the components of each extension.
English
1
0
2
285
Gunnar Morling 🌍
Gunnar Morling 🌍@gunnarmorling·
I wished build tools would flag references to classes from transitive dependencies as an error by default. It's almost always not the right thing to do, and should be an opt-in setting, consciously enabled for chosen dependencies.
English
10
2
42
7.9K
Stuart Douglas
Stuart Douglas@stuartwdouglas·
@mraible @Jfokus @QuarkusIO @helidon_project Time to first request is IMHO a better metric than the start time printed in the console. It is really easy to do lazy init on startup, then have a really slow first request. Quarkus generally tries to avoid this.
English
0
4
9
1.4K
Matt Raible
Matt Raible@mraible·
For my preso at @jfokus next week, I created reactive examples with Micronaut, Quarkus, Spring Boot, and Helidon to compare with their imperative equivalents. - @QuarkusIO reactive takes 7x longer to start: 353ms vs 49.4. - @helidon_project SE takes 5x longer: 303.6 vs 59.4.
English
2
0
18
7.4K
Stuart Douglas
Stuart Douglas@stuartwdouglas·
@agoncal Eclipse can use the same config file, Intelij can as well if you install the eclipse formatter plugin
English
0
0
1
105
Stuart Douglas
Stuart Douglas@stuartwdouglas·
@gunnarmorling I don’t know if anyone has ever really noticed, but Quarkus will add underlines to the user code in stack traces in ansi terminals
English
0
0
3
367
Gunnar Morling 🌍
Gunnar Morling 🌍@gunnarmorling·
"The goal of this project is to decorate stack traces of test failures to make them more useful" Loving, loving, loving this! Had been looking for this functionality for a long time, so cool finally someone built it 🥳. #Java #JUnit github.com/laech/java-sta…
Gunnar Morling 🌍 tweet media
English
1
25
119
16.3K
Stuart Douglas
Stuart Douglas@stuartwdouglas·
@dblevins Because it uses the Eclipse formatter under the hood, and Intellij can use the Eclipse formatter plugin, you can have your IDE and the build tool using the exact same format definition. It has been a huge time saver for Quarkus.
English
1
0
1
151
David Blevins
David Blevins@dblevins·
Who has a tool like checkstyle, but just makes the correction instead of failing my build? Things like removing unused imports, adding private constructors for utility classes could easily just be executed.
English
8
1
17
9.1K
Bruno Borges
Bruno Borges@brunoborges·
It took me *forever* to figure out where this class was located on GitHub, so I could submit a patch. What is the best way to find where the source code is hosted, for a given @QuarkusIO extension? The JAR did not help.
Bruno Borges tweet mediaBruno Borges tweet media
English
5
2
15
9.7K
Max Rydahl Andersen
Max Rydahl Andersen@maxandersen·
@cowtowncoder unfortunately not besides generatinga new project and take the docker file from there. on my wishlist on having way to generate the docker files rather than being 100% static.
English
1
0
1
295
Dr. Jackson
Dr. Jackson@cowtowncoder·
On Quarkus, Docker images: whereas it's easy to upgrade Java/pom dependencies sort of automatically, is there an easy way to keep up to date with base `Dockerfile.jvm` (and others) that are generated? Mostly to get base image updates, wrt endless torrent of CVEs?
English
2
0
1
1.5K
Stuart Douglas
Stuart Douglas@stuartwdouglas·
@forked_franz It would be cool to be able to put this into Dev UI, so you could just hit a button to profile any app. The main problem is that dev mode performance profiles are not the same as prod mode ones for some things.
English
0
0
4
0
Francesco Nigro
Francesco Nigro@forked_franz·
Recently found how many devs seems to not care about profiling as a common practice while valuating A vs B. Not mentioning how flamegraphs seems just unknown to many :"( Is it your same experience?
English
10
1
31
0
Stuart Douglas
Stuart Douglas@stuartwdouglas·
@noeloc I had a similar experience with my first trip back, the plane broke on the way and we had to divert to India, on the way back the pilot failed his COVID test and we were delayed by 24h.
English
1
0
0
0
Noel O'Connor
Noel O'Connor@noeloc·
1st customer related travel in two years and it's far, far worse than I remember. First hop to AMS cancelled and rebooked to LHR on an earlier flight with no notification, then LHR to Berlin flight overbooked and delayed until they sorted it out. I can't wait for the trip back.🤬
English
7
2
10
0
Stuart Douglas
Stuart Douglas@stuartwdouglas·
@CedricChampeau @geoand86 @maxandersen @aheritier @QuarkusIO That particular case is not a problem: #L105" target="_blank" rel="nofollow noopener">github.com/quarkusio/quar… We don't 'cheat', we have have just invested in trying to demarcate a line between what is safe to init at build time and what isn't, there are lots of safeguards built in as an extension author.
English
0
0
1
0
Stuart Douglas
Stuart Douglas@stuartwdouglas·
@brunoborges @github @martinwoodward I think it would just discourage people from fixing simple bugs. In my experience the majority of contributors are just helpfully submitting a patch for a bug they have found, and the ones that want to do more do talk to people before they take things on.
English
0
0
1
0
Bruno Borges
Bruno Borges@brunoborges·
Yet another reason why I pray for the day @GitHub will offer better flows for repo maintainers. For example: PR per Issue, where Issue must be opened first, discussed and then marked "Open for PRs" by the maintainers. // @martinwoodward
Maciej Walkowiak 🍃@maciejwalkowiak

Before you submit a 20k PR to an OSS project please discuss it first with maintainers. And if you don't, don't expect that it will be merged or even reviewed. Just because you decided to spend time does not mean that maintainer is obligated to spend several hours on a review.

English
6
0
18
0
Stuart Douglas
Stuart Douglas@stuartwdouglas·
So you can actually disable JNDI programmatically, by using NamingManager.setInitialContextFactoryBuilder to register a non-functional InitialContextFactory. I wonder if we should do this by default in Quarkus: github.com/quarkusio/quar…
English
1
1
6
0
Stuart Douglas
Stuart Douglas@stuartwdouglas·
@brunoborges The post I read about it it didn't mention that there was a param you could set :-) I just thought 'i bet I can fix this with an agent' and may have jumped the shark a bit
English
1
0
2
0
Bruno Borges
Bruno Borges@brunoborges·
@stuartwdouglas In what scenario this is better than 1) adding the -D param that disables lookup or 2) update log4j to 2.15 ?
English
1
0
0
0
Stuart Douglas
Stuart Douglas@stuartwdouglas·
I just knocked up a quick JavaAgent that works around the log4j zero day: github.com/stuartwdouglas…. It basically just nulls out the JndiLookup class in log4j.
English
2
6
13
0
Stuart Douglas
Stuart Douglas@stuartwdouglas·
It really needs some docs but I likely wont have time to add any until tomorrow.
English
1
0
0
0
Max Rydahl Andersen
Max Rydahl Andersen@maxandersen·
Been several months of using Moonlander keyboard and all my shoulder/upper back pain is gone. Like - just not there. Unless I try use a normal keyboard then it shows up. Split keyboard FTW
English
2
0
6
0