22 December 2022

Your code is better than AI code

A recent survey shows that AI generated code contains more bugs than code written by humans. This is somewhat surprising, given that AI code is probably generated from code

  • that is better tested than the code you're just writing (supposing the surveys were done on fresh code)
  • that it is generated from code from people who have more experience on the topic then you (supposing that a lot of the code is by experts and you are often on a learning path with a new technology). Again not sure if this was tested in the study.

Whatever the current state, AI will get better at this...

15 December 2022

Pasting rich text to MS OneNote

Pasting rich text to MS OneNote from some applications (like JetBrains IntelliJ) loses all spaces.

Update: This issue has been solved (11/2024). Don't know if I should thank JetBrains or Microsoft.

Example:

background:#ffff99url('../images/cat.jpg')no-repeatfixedcentercenter;

You can of course choose to paste text only (CTRL + SHIFT +V), which will keep spaces, but loose formatting :-/ 

Example:

background: #ffff99 url('../images/cat.jpg') no-repeat fixed center center;

Solution

Install the OneMore OneNote plugin.Now you can past with CTRL + ALT + V, to get what you want:

background: #ffff99 url('../images/cat.jpg') no-repeat fixed center center;

With the plugin you get a slew of other handy One Note functions like Find and Replace (!), modifying tables...

1 December 2022

Intellij 2022.3 highlights

 JetBrains just release its quarterly update to its flagship IntelliJ IDE. 

Highlight is a new UI preview, which gives the tool a simpler, VS Code like look. It is probably intended to make the community more familiar with the looks of the next generation Fleet API. Underneath the general overhaul, many of the second level structures remained the same, so the new UI quickly feels familiar and all your keyboard shortcuts still work.

Additionally we get support for:

  • a action that generating code for autowiring beans for containers like Jakarta EE and Spring. When using a class that can be autowired, IntelliJ will add an attribute and initialise it through constructor injection
  • easier OpenAPI definition generation
  • library name/version completion when adding Gradle dependencies
  • Jakarta EE 10 support
  • HTTP client improvements
  • Better Vue component support

JetBrains also released a preview of a testing tool: Aqua.There is also an Aqua plugin for IntelliJ, which I needed to install to work with Cucumber. So, it looks like they factored out testing functions in a plugin and built a more focussed product targeted at testers around it, like they did with WebStorm for web development.


17 October 2022

Jetbrains releases Fleet: a next generation IDE

JetBrains is releasing a next generation product for its flagship IDE line: Fleet.

Clearly inspired on the success of more editor-like IDE's like VScode, Fleet is a distributed developer environment where the editor can run separately from an IDE engine, which can optionally run remote.

The product has currently entered preview mode.

Having a full featured educational license, the proposed licensing seems a bit disappointing: it is largely based on the number of authors in a private project. The license limits private git projects to 4-5 committers, while our student group projects run with up to 4-5 persons. They cannot share these projects with other groups, so they need to be private.

22 September 2022

Adobe buys Figma

Adobe, market leader for in graphical design (Photoshop, Illustrator, InDesign, XD, Dreamweaver...) has bought Figma, the new digital creative designer favourite.

Figma was founded 10 years ago and has a strong collaborative creative cloud based platform. It has a recurring revenu of $400 million a year and is valued at $10 billion. $10 billion is exactly what Adobe is paying in cash, but it adds another $10 billion in shares; 

It is Adobe's biggest acquisition to date, and a heft price to take out a competitor.

9 August 2022

Jakarta persistence 3.1 highlights

  • autocloseable EntityManager and EntityManagerFactory
  • Criteria CASE expression support Expressions as conditions
  • JPQL (and criteria API)
    • CEILING, EXP, FLOOR, LN, POWER, ROUND, SIGN
    • LOCAL DATE/TIME/DATETIME

You can find the specification here.