Advertisement · 728 × 90

Posts by Alex Ivanov

I started building JDK and at the same time I started updating Visual Studio. What could go wrong?

1 month ago 0 0 0 0
Preview
Listing the Content of a Directory - Dev.java How to efficiently list and filter the content of a directory on a file system.

TIL about Files.newDirectoryStream and DirectoryStream, and the overload that supports globbing. Yet it didn't work out, I resorted to Files.list and then filtering the list. dev.java/learn/java-i... #java

2 months ago 1 1 0 0

I noticed that it happens when the generated playlist ends and YTM needs to generate new entries… Then it duplicates the track that was last twice… or three times.

2 months ago 0 0 0 0
Preview
Why does Iterable<T> not provide stream() and parallelStream() methods? I am wondering why the Iterable interface does not provide the stream() and parallelStream() methods. Consider the following class: public class Hand implements Iterable&lt;Card&gt; { private ...

The next answer by @BrianGoetz explains why there's no stream() method in Iterable.
Answer: Why does Iterable<T> not provide stream() and parallelStream() methods? stackoverflow.com/a/23177907/5...

2 months ago 0 0 0 0
Preview
Convert Iterable to Stream using Java 8 JDK I have an interface which returns java.lang.Iterable&lt;T&gt;. I would like to manipulate that result using the Java 8 Stream API. However Iterable can't "stream". Any idea how to use the Iterab...

Answer: Convert Iterable to Stream using Java 8 JDK stackoverflow.com/a/23936723/5... #java #stackoverflow

2 months ago 2 1 1 0

I haven't even looked at #AdventOfCode this year.

3 months ago 0 0 1 0

I post rarely here…

5 months ago 0 0 0 0

I don't see anything to dislike here. What the Bluesky team describes looks reasonable to me.

5 months ago 1 0 0 0
Advertisement

Had this problem yesterday… then a video suddenly started playing after a few minutes when I was in another tab.

6 months ago 0 0 0 0
4-panel comic. (1) [person finds bottle on shore] (2) [person reads message from inside bottle: ICMP ECHO REQUEST...] (3) [person writes on message ICMP ECHO REPLY...] (4) [person puts bottle back in water and leaves]

4-panel comic. (1) [person finds bottle on shore] (2) [person reads message from inside bottle: ICMP ECHO REQUEST...] (3) [person writes on message ICMP ECHO REPLY...] (4) [person puts bottle back in water and leaves]

Ping

xkcd.com/3150/

6 months ago 2360 254 28 9

Why does Windows 10 and rarer 11 add languages to keyboard layout switcher? It often adds English US and English UK, so that I have three English in the list. These phantom languages aren't in the Settings app. To remove them from the list, I have to add them first.

7 months ago 0 0 0 0

Ah, you don't say!

7 months ago 0 0 0 0

On the other hand, as soon as the script grows more than a few tens of lines, a C program would likely be more robust solution.

7 months ago 0 0 1 0

Often, it's quicker to write a shell script than a similar C program, which is a bonus, especially if you need to solve this problem once.

7 months ago 0 0 1 0

I'm afraid I'm not the person you're looking for.

8 months ago 0 0 0 0

Water is boiling now.

9 months ago 0 0 1 0
Advertisement

Awesome! 👍 I haven't used it myself yet.
Your description matched the problem: avoid writing JNI code to access native libraries, so I suggested using it. I understand it may not fit well into your specific case, though.

10 months ago 0 0 0 0
Core Libraries The Foreign Function and Memory (FFM) API enables Java programs to interoperate with code and data outside the Java runtime. This API enables Java programs to call native libraries and process native ...

Has the time come to try Java FFM (Foreign Function and Memory) API? docs.oracle.com/en/java/java...

10 months ago 0 0 1 0

What an interesting case… ImageIcon.getNextID will overflow mediaTrackerID. bugs.openjdk.org/browse/JDK-8... Yet, apparently, it causes no issues whatsoever. github.com/openjdk/jdk/... #openjdk #java

10 months ago 2 1 2 0

That's unfortunate. Sorry to hear this…
It looks more and more people abandon social media platforms.

10 months ago 0 0 0 0

It's always this long.

10 months ago 0 0 0 0
Preview
Developer Ecosystem Survey 2025 Take our survey, shape the future, and seize the chance to win a MacBook Pro or other rewards!

JetBrains Developer Ecosystem Survey 2025 surveys.jetbrains.com/s3/developer...

10 months ago 1 0 1 0
Preview
8355515: Clarify the purpose of forcePass() and forceFail() methods by manukumarvs · Pull Request #25091 · openjdk/jdk Clarified the purpose of forcePass() and forceFail() methods and recommended usage of these methods. forcePass() contained an incorrect sample; it&#39;s addressed by JDK-8355441. The description of...

Thanks to github.com/openjdk/jdk/..., PassFailJFrame documentation now has a section dedicated to its forcePass() and forceFail() methods. #openjdk

11 months ago 1 0 0 0

Still, it's cosier with curtains.
Yet… you'll have to get wider curtains.

11 months ago 1 0 0 0
Advertisement

All languages are confusing. Maybe, English is less confusing than others.

11 months ago 0 0 0 0

Thank you. This helps.
The descriptions of the methods used “forcibly”, but when I was writing another description I used “forcefully” for whatever reason. So, I looked up both words in dictionaries, and I concluded “forcibly” fits. Yet I still had doubts.

11 months ago 0 0 1 0
Me in an orange and black singlet with bib number 476 on my chest and in maroon shorts. I stand in front of Irish Runner Series panel, and I wave my right hand.
Distance: 5 km; time: 22:15; pace: 4:25/km.

Me in an orange and black singlet with bib number 476 on my chest and in maroon shorts. I stand in front of Irish Runner Series panel, and I wave my right hand. Distance: 5 km; time: 22:15; pace: 4:25/km.

I set a new PB in Irish Runner 5K, it's now 22:12. I'm delighted. Hard training pays off.

11 months ago 0 0 0 0

I started to wonder which adverb suits better: ‘forcibly pass/fail a test’ or ‘forcefully…’ Does any native English speaker have an opinion?

11 months ago 0 0 1 0
“Silver” medal for half marathon at Regeneron Great Limerick Run 2025

“Silver” medal for half marathon at Regeneron Great Limerick Run 2025

Yesterday I ran half marathon at Great Limerick Run, I ran it in 1:44:16. It's a new PB! ☺️ So happy! 🏃‍♂️

11 months ago 0 0 0 0
Preview
In Loving Memory of Square Checkbox History of checkboxes and radio buttons in user interfaces

Today I've got a chance to reference “In Loving Memory of Square Checkbox”. tonsky.me/blog/checkbox/

1 year ago 0 0 0 0