OnlyJava is your source for Blog Aggregation in the Java industry

Emilian Bold's blog

View This Blog Frequency: 0.0 posts / day

 

The Trouble with Harry time loop

 Mark As Read    

I saw The Trouble with Harry (1955) a while back and it didn't have a big impression on me. But recently I rewatched it and was amazed at how odd time seems to flow, how somewhat confused people are, as if they have memory problems.This review goes into detail about the movie, but I wanted to focus on a single riddle in the movie. It's this exchang...

Emilian Bold's blog 653 days ago

Global ecosystem report 2020: Java text editors and IDEs

 Mark As Read    

The JChoice Global Ecosystem Report 2020 is looking good: Apache NetBeans at 50% of the free Java tools, Eclipse at 45% and vi / Emacs and Notepad++ at 5%.

Emilian Bold's blog 1333 days ago

The Geek and the pseudo inclusive peer pressure

 Mark As Read    

Discrimination based on social skills and social groups exists and geeks experience it a lot.One facet of it is the pseudo inclusive peer pressure.The desire to belong to a group is strong in anyone so people would accept many things just to fit in.At the same time, a few understand this game quite well, can get meta about it and specifically targe...

Emilian Bold's blog 1363 days ago

Open Source sustainability is not about the individual

 Mark As Read    

There was a lot of buzz a while back about Open Source sustainability. Small and large companies as well as individuals discovered it's near impossible to survive financially doing Open Source.It occurred to me that this might be an emergent property of Open Source and a reason why many foundations (like Apache) as well as users intuitively look at...

Emilian Bold's blog 1367 days ago

Instant Thought: another open source supply chain attack

 Mark As Read    

It seems not a day goes by without another open source supply chain attack.The latest, uncovered by the security researcher "JK" is called "Instant Thought" and was noticed in the most popular Java IDE, combined the the very popular build system Gradle.One might assume that just opening a Gradle project to read the source code is a safe operation, ...

Emilian Bold's blog 1393 days ago

Roam Like at Home is a disaster for Romania

 Mark As Read    

On June 15th 2017 the EU launched "Roam Like at Home", a set of rules that removed roaming charges. It was a great idea to harmonise telecom infrastructure and remove another invisible border separating people within the EU.Romania was hit particularly bad by these rules. They introduced new borders where before there were none.Previously, roaming ...

Emilian Bold's blog 1526 days ago

Wayback Machine Downloader

 Mark As Read    

Internet Archive's Wayback Machine is a gift to the world. For quick checks you just enter the URL and you get the archived version going years back.A whole little cottage industry seems to have been formed around the Wayback Machine. They offer you whole-site download and conversions for the low price of $5 or $15 or $45 or however much they can c...

Emilian Bold's blog 1686 days ago

Fair Source and the Fair Source Initiative

 Mark As Read    

There's been some uproar about the MongoDB Server Side Public License which tries to prevent cloud vendors like Amazon take all the money in the MongoDB market.Many are pointing out that this new license does not respect the Open Source Definition published by the Open Source Initiative.In truth many users and companies would find the license accep...

Emilian Bold's blog 1755 days ago

Apache NetBeans interview

 Mark As Read    

As Apache NetBeans became a top level Apache project and finished the incubation process I was asked for an interview and my photo.Only a single quote was taken from the interview and used on a not too positive article about NetBeans. The quote was presented as coming from me as a member of the 'Project Management Committee' to give it even more we...

Emilian Bold's blog 1797 days ago

The Apache Software Foundation is a record label not a rock band

 Mark As Read    

What shocked me most during my involvement with NetBeans, now an Apache Software Foundation project, is that The Apache Software Foundation is a record label not a rock band.Imagine you like a given band. You go to their concerts regardless of the location, enjoy their music, buy their records, maybe proudly wear a T-shirt. You deeply care about th...

Emilian Bold's blog 1820 days ago

NetBeans Web Toolkit

 Mark As Read    

I'm exploring NetBeans Web Toolkit with the articles hereNetBeans Web Toolkit is the new name I'm trying to give to Jaroslav Tulach's HTML/Java API, a rather impressive library that deserves more use.

Emilian Bold's blog 2041 days ago

Guards in Java

 Mark As Read    

Haskell functions have this nice concept called 'guards' which allow you to define a condition and return a value when that condition is true.For example:abs n | n < 0 = -n | otherwise = nThis makes the code rather readable, especially when you have more guards.Guards build one upon another since you know that if your guard condition is c...

Emilian Bold's blog 2218 days ago

The case of the different jsch 0.1.54 binaries

 Mark As Read    

As part of the Apache NetBeans IP clearance we are combing through all the code and dependencies.One interesting thing we bumped into was that the jsch 0.1.54 binary JAR we are using has a different hash (and size) than the binary JAR from Maven Central.The old hash is 0D7D8ABA0D11E8CD2F775F47CD3A6CFBF2837DA4, the new one is DA3584329A263616E277E15...

Emilian Bold's blog 2367 days ago

Processing a generic Data.Array matrix

 Mark As Read    

I had an interesting Haskell problem the other week: work on columns and rows of a Data.Array i e.You only have the Ix i, Ord e class constraints, which make sense because the index must be a Data.Ix. The elements also must be Ord to be able to process them.The thing about Data.Ix is that it's very opaque. It only extends Ord. There is nothing matr...

Emilian Bold's blog 2473 days ago

Retina work

 Mark As Read    

These past months I have done a NetBeans patch for the Apple Retina Display and also made a small Wiki-like site to help me and anyone else interested with finding matching font icons for the NetBeans icons: https://nextbeans.com/retinaThe nextbeans.com stack is Angular, Prime NG, nginx, Jetty, Servlets, Spring Framework JDBC, HSQLDB. SSL via Let's...

Emilian Bold's blog 2555 days ago

Machine learning everywhere!

 Mark As Read    

Samsung announced a while back that they used a "Neural Net based predictor" for their CPU branch prediction.Shortly after that an Intel person claimed it's no big deal because they have also been using a perceptron for some time.But to me this seemed a rather big discovery! Previously I would have assumed that branch prediction is a super complex ...

Emilian Bold's blog 2613 days ago

Migrating the extra large NetBeans Mercurial repository to Git

 Mark As Read    

Note: This article is a living document and will be updated as I learn new useful information (last update 28th December 2016). I will move the helper scripts to a dedicated repository and copy part of this article into the Apache NetBeans wiki.IntroductionThe NetBeans source code has been stored in a Mercurial repository for almost a decade now.Bu...

Emilian Bold's blog 2647 days ago

Minimal NetBSD for Raspberry Pi 2

 Mark As Read    

For no reason other than fiddling with the NetBSD codebase and build system plus the desire to reduce the world bandwidth waste, I've published a minimal NetBSD image for the Raspberry Pi 2 containing only the base set.You only have to download this 76MB compressed image which becomes under 500MB uncompressed so it fits any recent microSD card you ...

Emilian Bold's blog 2654 days ago

NBnotify - Native NetBeans Notifications

 Mark As Read    

NBnotify is back with a vengeance: Windows, macOS and Linux notifications from NetBeans plus the very useful build notifications!NBnotify started 6 years ago as a way to integrate NetBeans with OSX and to provide me with build notifications.I have almost always used a MacBook Pro as a work laptop for my customers so it was important that NetBeans i...

Emilian Bold's blog 2658 days ago

NetBSD cross compilation is a marvel

 Mark As Read    

While trying to get a patched variant of NetBSD 7.0.2 to run on my Raspberry Pi 3 I had to build NetBSD many times.And it was pretty amazing how this all worked.You have a single entry point: ./build.sh And it does everything! It builds the kernel, the userland apps up to the install image you write on the microSD card.Of course, having a top-level...

Emilian Bold's blog 2670 days ago

NetBSD on Raspberry Pi 3

 Mark As Read    

I have used quite successfully a Raspberry Pi 2 running NetBSD 7 as a customer proxy and I assumed 7.0.2 would run on a Raspberry Pi 3.As it turns out, the Raspberry Pi 3 ARM Cortex-A53 processor is different enough from the previous Cortex A7 processor we have on the Pi 2 that it needs some kernel changes.And while the bleeding edge NetBSD current...

Emilian Bold's blog 2671 days ago

Time Machine eating its own tail on a FreeNAS ZFS share

 Mark As Read    

I work on a Mac and the OSX Time Machine is a very nice and simple feature to have backups.While I have some other Apple gear I didn't get an Airport Time Capsule because I already had a tiny Airport Express, the Time Capsule is pricy and I'm not certain it does RAID.So, what I use instead is the FreeBSD-based FreeNAS on an N54L MicroServer. FreeNA...

Emilian Bold's blog 2759 days ago

Signing NetBeans modules with a Time Stamping Authority (TSA)

 Mark As Read    

Signing JAR files is a very good practice. And while a proper certificate is not worth the price and effort, self-signing is still a step in the right direction.Ever since Java 5 jarsigner supported a Time Stamping Authority (TSA) with the --tsa and --tsacert parameters. A Time Stamping Authority is basically an online digital notary that certifies...

Emilian Bold's blog 2774 days ago

Forcing export of internal API in Java 9 with -XaddExports

 Mark As Read    

I've long been a fan of NetBeans' module system and of OSGi so Java 9's modules are a big improvement to me.Except modules are really good at enforcing API boundaries and stop allowing one to freely use any public class.An error such as this is no fun:Error: A JNI error has occurred, please check your installation and try againException in thread "...

Emilian Bold's blog 2794 days ago

LTS means ancient?

 Mark As Read    

I was surprised today to see that Ubuntu 10.04 LTS comes with Mercurial 1.4! The latest Mercurial release is 2.1Mercurial 1.7 also introduced a repository change, the dotencode requirement. This means any repository created after November 2010 with 1.7 and dotencode will not be accessible by the Mercurial from the Ubuntu LTS. This error should be f...

Emilian Bold's blog 2813 days ago

Magic is just programming without knowledge

 Mark As Read    

There is nothing more cringe-inducing than seeing somebody try to program something without actually knowing what's going on. With some exceptions, programming allows you to know precisely what's going on. Not knowing how something works should trigger some alarm bells.Magic might be an ancient form of "programming" nature where most of knowledge h...

Emilian Bold's blog 2813 days ago

Intellij needs to introduce the Lookup API

 Mark As Read    

I'm looking today at the toolbar classes from IntelliJ IDEA and I'm surprised by the amount of instanceof I see.For example, NavBarPresentation.getIcon looks like this:public static Icon getIcon(final Object object, final boolean open) { if (!NavBarModel.isValid(object)) return null; if (object instanceof Project) return PROJECT_ICON; if (...

Emilian Bold's blog 2813 days ago

Apple, job creation and the App economy

 Mark As Read    

The Apple job creation page is pure PR: they claim to have "created" or "supported" over 500.000 jobs.It sounds like the kind of thing a politician would say. Because they even add transportation, health care and "the app economy"!It's kind of like you claiming to be a job creator because you buy local and burn electricity.Anyhow, what's interestin...

Emilian Bold's blog 2813 days ago

Our own NetBeans Summer of Code

 Mark As Read    

My company is having a Summer of Code for students. We suggested a list of project that might interest students and we are offering them a paid summer internship to complete their favorite pick. Since most of what we do touches NetBeans or the NetBeans Platform in some way, a big part of the list is a valid suggestion for the community too.So, to...

Emilian Bold's blog 2813 days ago

A Swing window is just as transparent as a web page

 Mark As Read    

I'm a fan of the web and I admire how powerful the browser has become. Since I'm almost always in a browser (even to type this blog) I would certainly love to see even more useful apps, like, perhaps, an online IDE. So, although I work with desktop apps I like this cloud and web app kool-aid a whole lot.One of the advantages I see in web apps is ho...

Emilian Bold's blog 2813 days ago

Everything takes time

 Mark As Read    

I read somewhere that as you get older you don't necessarily get slower, you just trade speed for quality. This sounds about right.Here is my time with an UI regression in the new version of a large Swing app:I start investigating the problem manually and look at the code to see what might be the cause.I find a quick way to duplicate it.I deduce fr...

Emilian Bold's blog 2813 days ago

nbnotify.com is back up

 Mark As Read    

I forgot to publish this, but it's been a month since I uploaded a new version of nbnotify.com, the OSX notification plugin.Based on Bootstrap, this new site is as simple as it gets: all static, a stark contract to the old PHP Wordpress.I brought the old site down in August because the Wordpress I had there was too insecure.Right now this plugin is...

Emilian Bold's blog 2813 days ago

NetBeans - PalmOfMyHand - Dance Demo

 Mark As Read    

I like making NetBeans dance: NetBeans - PalmOfMyHand - Dance Demo from Emilian Bold on Vimeo.The above video is a little something I've obsessed about this weekend. It all started from a song actually: Swedish House Mafia - One (Your Name). But I couldn't publish a video with that as a soundtrack so I've used this little Creative Commons gem inste...

Emilian Bold's blog 2813 days ago

BSD on Raspberry Pi 2

 Mark As Read    

Raspberry Pi 2 is the version that finally seems a good purchase to me with its quad core processor and 1GB of memory. If you need WiFi, Pi 3 is even better since an external WiFi dongle consumes more power.But I would prefer to use an official release of a known operating system instead of using custom forks like Raspbian.FreeBSD provides an offic...

Emilian Bold's blog 2813 days ago

String.trim is an optimization hack

 Mark As Read    

Turns out java.lang.String.trim() has its own unique definition of "whitespace" in order to be able to reuse the same underlying char array.This blog post from 2008 talks in a lot of detail: https://closingbraces.net/2008/11/11/javastringtrim/

Emilian Bold's blog 2813 days ago
Java
Welcome!
OnlyJava aggregates blogs for the Java industry.
Custom Feeds
Add any RSS feed to the information you read daily.
Blocked Feeds
Block feeds to remove blogs you’re not interested in.
Account Settings
Customize the site by adding or removing feeds.

About Us

OnlyJava is your source for all your Java news.

Have a Suggestion for Us?
Know of a Java blog that we're missing? Let us know!

Share OnlyJava.com