$ whoami
ubuntu
$ whereami
In a Docker container. Inside a Kubernetes cluster. Running in a VM. On top of a Hypervisor. In someone else's datacenter.
$ howdidigethere
No. Fucking. Clue.
#JSON
- Allows shitty formatting
- No comments
- Poor schema support
- Poor IDE support
#YAML
- Formatting's like shitty white men on Twitter
- Supports comments
- No schema
- No IDE usability
#XML
- Just works
- Great IDE usability
- Comments
- Any formatting
Pick your markup
If you're running a server with
#Log4J
, please add the following JVM argument to your command line immediately to protect against a 0-day exploit.
-Dlog4j2.formatMsgNoLookups=true
#Java
#Security
#Infosec
Some people when go on vacation, they try some new hobbies. Sometimes on the very first day.
I just tried a new one today: helped my wife deliver our second child at home. Wasn't the plan, but well, traffic.
Say hello to baby Oliver!
The Fallacies of Distributed Computing:
1. The network is reliable
2. Latency is zero
3. Bandwidth is infinite
4. The network is secure
5. Topology doesn't change
6. There is one administrator
7. Transport cost is zero
8. The network is homogeneous
9. YAML is a good format
Kubernetes is a Java EE application server, but polyglot, and lacking a lot of built in features.
Service Weaver is Java EE Platform, but in Go.
WASM is Java bytecode, but in ... WASM.
YAML is the new XML.
And server-side rendering is a thing again.
Wow....
Just.... Wow...
Name 5 desktop applications you have on your computer right now that you use every day.
I'll start:
1. Visual Studio Code
2. Slack
3. Microsoft Teams
4. Spotify
5. Microsoft Outlook
Today marks a new era of transparency for Twitter. ๐งต
Weโre sharing much of the source code that powers our platform with the world. Visit our blog to learn more about this initiative:
If you don't set a Garbage Collector for your
#Java
application, don't think the JVM will pick a good one for you either, no matter how many CPUs you give.
2 CPUs? 6 CPUs? It doesn't matter. If your container has less than 1792 MB and you don't set a GC, your app will use Serial
A Brazilian digital bank doesn't allow customers to transfer $17.99 due to a float rounding error.
The UI and the backend asks customer to confirm if they want to transfer $17.98 instead.
And then people wonder how important a software developer is to the business.
Vocรชs sabiam que nรฃo dรก pra transferir R$17,99 via Pix no Nubank?
Nรฃo sei se รฉ sรณ no Nubank, mas ao inserir R$17,99 a prรณxima tela me exibe R$17,98, achei que eu tinha digitado errado, editei, 17,99
Mostrou R$17,98 de novo
Tive que transferir R$18,00
Que ridรญculo
Predictions 2025:
-
#Rust
to become a major systems language
-
#Go
to become a major infrastructure language
-
#JVM
(
#Scala
#Kotlin
#Java
) &
#dotNET
languages will continue to be major general purpose languages for business, mobile & big data apps
-
#Javascript
will kill us all
Announcing the Visual Studio
@Code
Installer for
#Java
!
Which btw installs
#AdoptOpenJDK
in case the developer doesn't have a JDK already :-) plus all the core Java extensions for you.
The first
@Code
"distro" for a programming language.
The documentation about running
#Java
on Containers that
@mnriem
,
@kcp
,
@mon_beck
and I have been cooking for a while, is finally live.
Check it out!
Learn more:
"We saw ~20% better CPU usage on 17 vs Java 8 without any code changes. It was all just b/c of improvements in G1, the GC that we are mostly using. 20% better CPU is a big deal at the scale that we're running. That's a lot of money"
#Netflix
#Java
JAVA_TOOL_OPTIONS=-Dlog4j.formatMsgNoLookups=true
This is a good way to consider using to set the flag at the environment level, if you don't know where to look to change the startup shell scripts of Java apps.
You can also inject this into your
#Kubernetes
containers.
In case you didn't know, you can have only a single JDK installed in your development environment, ideally, the latest JDK (soon 17) and still produce Java code to run on older versions.
JDK 17 will produce bytecode and check API usage, down to Java 7.
#Java
#OpenJDK
The
#Java
ecosystem, in 12 frameworks/platforms for building systems:
- Java EE / Eclipse Jakarta EE
- Eclipse MicroProfile
- Spring Framework
- Spring Boot
- Dropwizard
- SparkJava
- Micronaut
- Ratpack
- Javalin
- Jooby
- Vert.x
- Ktor
#Java
Ecosystem is large, and diverse.
๐ง๐ท Saรญ do Brasil em Setembro de 2015. Lรก se vรฃo quase 7 anos. Foram 2,5 anos morando na Califรณrnia/EUA, e agora 4,5 anos em British Columbia/Canada. Dois filhos: 1 ๐บ๐ฒ e 1 ๐จ๐ฆ.
Tรก no Brasil e busca vida no exterior? Tem uma pergunta?
Manda aรญ que eu tento responder.
#bolhadev
Happy to share that, right after
@s1p
next week, I'll be moving on to work as a Product/Program Manager, together with engineers in the newly formed Core
#Java
team at
#Microsoft
led by
@karianna
.
Exciting times ahead!
Thank you for all the support
@toddanglin
@chanezon
#DevRel
"I canโt explain how horrible it feels when the team spend 70% of the time fighting with this modern infrastructure setup and 30% of the time on actual business logic."
//
@monkchips
More replicas is not a silver bullet for perf problems.
Stop shoving JVMs in small containers and fixing performance with horizontal scaling.
#Kubernetes
#Java
"Get vaccinated. Stop believing the anti-vax lies.
And if you insist on believing in the crazy conspiracy theories, at least SHUT THE HELL UP about it on Linux kernel discussion lists."
- Linus Torvalds
Suez Canal got jammed because a ship full of containers got stuck and they simply can't find where and how exactly to fix it.
It's the real-world representation of when you are dealing with
#YAML
.
Before you think about porting
#Java
code to
#GoLang
, I strongly suggest you to evaluate
@GraalVM
SubstrateVM native-image compilation.
I truly believe you will achieve the same desired performance, with a lot less time spent in rewriting and maintaining a brand new code base.
New
#Java
restrictions due to COVID-19:
- Stop using StringBuffer, StringBuilder, or String concatenation. Use text blocks.
- Stop using -Xms -Xmx inside containers. JVM knows.
- Stop using -source -target. Use -release.
- Stop using JREs. Create your own with jlink.
New .NET restrictions due to COVID-19:
- manually call Gc.Collect() at the end of all methods
- stop using dependency injection, manually โnewโ all vars
- practice social distances with any unknown NuGet packages
- you can use JS but only if itโs delivered and left on your porch
Our research of
#Java
on
#Kubernetes
is pointing us into looking at:
- ActiveProcessorCount
- Default GC
- Default Heap Sizing
Here are some facts: 1/n
"I really want to like
#Gradle
, but it's just bad. 200 different ways to do a simple thing...
You either need to understand very well how Gradle works or you end up copypasting shit from random blogs." --
#Reddit
"
#Java
on the desktop is dead."
Dude, someone just published a year-long project of a new look and feel for Swing, and it looks really awesome.
Over 140 upvotes on
#Reddit
in less than 12 hours.
People think
#Java
is not used by startups.
If you know of a startup, or you worked at one, or you are actively working at one today that is using the
#JVM
for back-end with
#Java
,
#Kotlin
,
#Scala
,
#Clojure
or
#Groovy
, give this tweet an RT.
"I felt like the time I saved in slapping on annotations was lost in trying to debug them."
Project
#Lombok
served its purpose. It's time to say good bye now.
#Java
#OpenJDK
Name an Open Source fork that became more successful than the original code, under a new trademark.
I'll name the only one I recall:
#Jenkins
(a fork of
#Hudson
)
I swear to you, the day Javascript/Node people start saying server-side rendering is the new cool thing, I will do one year of talking about Java Web Frameworks and JSP all over again...
<%= "Hello" + "World" %>
"I work at
#Amazon
. So everything. Something like 99% of Amazon runs off
#Java
. It's pretty amazing how such a complex system with thousands of micro services and front end interfaces are all put together using a single language."
#Reddit