Bas Leijdekkers retweeted
Your periodic reminder that, by long-standing convention in computer science, 1..n means 1 through n, inclusive. Designing a programming language where it means something else is a huge mistake.
Groovy 6 seems to have been released:
groovy.apache.org/download.h…
Bas Leijdekkers retweeted
This is a great post by Yagiz and many people will be puzzled by it.
Suppose that you have an array and you want to check that all values are less than 10. You do
for value in myarray:
if(value >= 10) return NO
return YES
That seems reasonable and it often is. But now consider the case where you expect that 99.9% of the time, the answer is YES. Then you may get better performance with something like
isittrue = True
for value in myarray:
if(value >= 10) isittrue = False
return isittrue
You are not going to learn this in school because the latter version seems silly and more expensive. But if isittrue is expected to be True, then an optimizing compiler will do a better job with the second approach.
And the difference could be large.
Read Yagiz's post for more details.
New post: eliminating branches in C++ validating loops. The obvious early return false is easy to read and often the wrong default when the input is valid. Wraparound, tables, SWAR, NEON, then UTF-16.
yagiz.co/eliminating-branche…
Bas Leijdekkers retweeted
New IntelliJ Platform docs page and companion video on Error Reporting! The video walks you through the practical side and explains how everything works.
Watch here: youtu.be/F4ZQe3AU3v4
I'll add the docs page in the first reply.
Bas Leijdekkers retweeted
Significant `HashMap.putAll` improvement by adding a fast path for a couple of common cases.
Bas Leijdekkers retweeted
Would you be interested if JetBrains releases a totally local AI agent, working 100% on your laptop, using our code insight engine and deeply integrated into the IDE?
Yes, it will be probably 1 month behind the very recent frontier models, but no token blood bath anymore
WDYT?
Modern microprocessors - a 90 minute guide: lighterra.com/papers/modernm…
“Never attribute to malice that which can be explained by an LLM which has no idea what it’s doing.” aphyr.com/posts/411-the-futu…
Bas Leijdekkers retweeted
One JEP worth revisiting: JEP 485 in JDK 24. It introduced gather(...) to streams, a new intermediate operation for transformations that do not fit neatly into map, filter, or flatMap. Tiny example 👇
Bas Leijdekkers retweeted
I'm looking for work, so if you want an experienced devrel person/leader, if you need a technical educator, or if you want some consulting on how to help your devs work more effectively, ping me.
Bas Leijdekkers retweeted
This is a bit serious. I really need your feedback.
Long story short, I think Ethernet is a relic of the past and should be confined to walls and floors. Modern laptops and many devices are moving away from it in favor of Wi-Fi, which isn’t always convenient and ends up requiring adapters and dongles on desks.
So I thought, what if we made a router with USB ports that essentially act as USB-to-Ethernet adapters inside the router?
In my personal experience, this would be super cool for certain use cases. For example, at a conference booth, WiFi or Ethernet could be used as an uplink to the router. And the router could have a VPN set up to the company network. For a HomeLab, this is a pretty neat setup as a demo stand. And it would work just fine as a travel router, too.
Would you like to see a device like this come to life? This could very well be the first hardware product from developers, made for developers. I mean, from JetBrains.
On the technical side, I have some rough ideas for features and unique capabilities. For example, automatic detection of the WAN port regardless of where you plug in the network (the device has 2 Ethernet ports). I’d be happy to dive into the details in the near future.
I’d appreciate it if you shared this post - if only because it adds a bit of variety to your feed, which I’m sure is full of AI content and news about AI, offering something tangible and practical.
Bas Leijdekkers retweeted
Replying to @zanehkoch
When I was on the ISS for my nearly year long mission, there was a telomere experiment comparing my telomeres to my earth baseline and my twin brother as a control. Hypothesis was they would get damaged and worse due to the environment. Turns out they got better. Initially NASA thought maybe it was due to exercise and diet. After I returned we learned JAXA had a telomere experiment on some small worms the same time I was there. Their telomeres got better too. Never saw the worms doing any exercise. After further study determined it was the radiation.
Bas Leijdekkers retweeted
Big day for @Java – Java 26 is here! ☕
IntelliJ IDEA already supports it, so you can try the new features right away.
Read more in our blog post: jb.gg/avyjks.
Visiting @JavaOne? Stop by the @JetBrains booth to talk about Java 26 and IntelliJ IDEA with us in person.
Java 26 is now available! #Java26 #JDK26 #OpenJDK
☕ Download Now: social.ora.cl/6018B6ynbo
☕ Release notes: social.ora.cl/6019B6ynbU
☕ API Javadoc: social.ora.cl/6010B6ynbq
☕ Features: social.ora.cl/6011B6ynbS
☕ Inside Java on JDK 26: social.ora.cl/6012B6ynbs




















