Lukáš Petrovický

@triceo@home.social
32 Followers
141 Following
45 Posts
Java software developer.
Lives in Brno, Czech Republic.
Will not bring up politics unless in a reply to someone else.
Githubhttps://github.com/triceo
LinkedInhttps://www.linkedin.com/in/petrovicky/
LocationBrno, Czech Republic

Introducing Timefold, the exciting next chapter in #OptaPlanner's legacy! 🚀

Founded by Geoffrey De Smet and Maarten Vandenbroucke, we're here to take the project to new heights while offering seamless continuity for our community.

https://timefold.ai/blog/2023/optaplanner-fork

OptaPlanner continues as Timefold

Timefold Solver is the faster, Open Source fork of OptaPlanner. It's built by a dedicated Open Source company, co-founded by the OptaPlanner creator.

Timefold

#OptaPlanner - the popular open source Solver AI - is my life's work. I created it 17 years ago and have been working on it ever since, including 9 years for Red Hat.

Today, I am forking my own project.

Meet #Timefold, the fork of #OptaPlanner 🚀

https://timefold.ai/blog/2023/optaplanner-fork/

OptaPlanner continues as Timefold

Timefold Solver is the faster, Open Source fork of OptaPlanner. It's built by a dedicated Open Source company, co-founded by the OptaPlanner creator.

Timefold
#Lombok is the perfect demonstration that the simple fact that is technically possible to do something neither implies that is a good idea nor represents a good enough reason to actually do it.

I'm sure you've encountered the annoying situation where you chain constructors in #Java but can't smoothly call the right one with `this(...)` or `super(...)` because you need to do work before, which the compiler doesn't allow: no statements before `this`/`super`!

That's about to change - behold JEP 447: https://openjdk.org/jeps/447

JEP 447: Statements before super(...) (Preview)

RT @joshbloch
This is your annual reminder that Math.abs(Integer.MIN_VALUE) is negative
Is It My Fault You Can't Handle The Truth?

You can't handle it! In 2018 or 2019, I was introduced to the idea of hyper-rationality. I think it was under another name (to be g...

Proposed to target JDK 21: JEP 444: Virtual Threads: https://openjdk.org/jeps/444 #jdk21 #openjdk #java
JEP 444: Virtual Threads

Every warning label is a story someone tells somewhere.
#electronics #warningsigns

Is #Java old and not evolving? Do you need to compile your #Java code before you can run it? Is #Java slow and insecure? Will your #Java application stop while memory cleanup is ongoing? Batting outdated ideas aside like flies, check out @frankdelporte on Foojay  Today.

https://foojay.io/today/9-outdated-ideas-about-java/

#foojaytip

9 Outdated Ideas About Java | Foojay.io Today

In this article, we want to look into some false assumptions and outdated ideas about Java based on early versions.

foojay

When I get the typical support email saying:

"The customer does <absurd_thing_not_making_any_fucking_sense>, how can we make this work?"

my usual answer is:

"By showing them how the rewrite that thing in a more reasonable way"

and then we end up supporting the absurd thing 😭

×
Every warning label is a story someone tells somewhere.
#electronics #warningsigns
@Dtl From the creators of "pigtails are not handles"...
@Dtl reminds me of a conversation I had with a colleague once:
Them: "have you worked on these before?"
Me: "yes, a few times..."
Them: "I've got the lid off, any advice?"
Me:"Um..."
Them:"arghhhhh!"
Me:"the heat sinks are live, not grounded?"
Them:"thanks."
@LewisWorkshop @Dtl shocked myself on a network appliance a while back due to this. they had a couple of TO220 packaged diodes bonded to a heatsink, and the tabs were at mains potential. gave me a dead arm for about an hour.
@Dtl We had budget for a sticker, but not a proper handle. sorry.
@Dtl I was telling a couple of galpals about warning labels a couple of weeks ago & how for every one that exists - someone did something quite stupid. That's why we have labels like: "Remove cap, before drinking." & "Open bag, before consuming."
@Dtl A story and a large settlement.
@Dtl I suppose the sticker was cheaper than installing a handle.
@Dtl this is missing a "Do not cover pressure relief breaking point with stickers" sticker on the side of the capacitor.
@Dtl The next time I design anything with a large aluminum electrolytic capacitor, I am definitely going to put labels like that on them.
@brouhaha I think I will too.
@Dtl Avry makes printable round label sheets for ½in to 3in diameter. Maybe more, that was the result of a cursory search. I have a Silhouette CNC paper cutter, so I could use full-sheet label stock.
@Dtl "If not handle why handle-shaped?"
@Dtl ...and a market opportunity. i am going to make my fortune on handle-rated caps
@Dtl Every. Warning. Label.

@Dtl clearly rectifying a design flaw of not providing actual handle

> «dont tell me what to do, Cacy, you not my real handle»

@Dtl That one might sting a lot if it discharges on ya.
@Dtl But what could possibly go wrong?
@Dtl
Every morning I read a safety rule from "The Book." The ones involving steam engines are always fun.
Once in a while I will remind my peeps that, "The rules are written in blood here. Every one of these has a story behind it."
@Dtl Could've been worse

My sister is a radiologist
@Dtl @tjkendon
I used to be a Dell certified hardware repair guy, fifteen years ago. There used to be at least one 1U rack mount server model where the system board had a wire cage holding down a big capacitor in the middle of the board. After fielding so many RMAs for ripped off capacitors they decided it would be cheaper to MAKE the capacitor into a handle.
@Smingleigh @Dtl my first thought when I read this was "The heart wants what it wants."
@Dtl @ifixcoinops that looks like a mistake you can make only twice.
@Dtl Well, you don't want to incapacitate the board.
@Dtl yup. Because somebody did.

@Dtl That one story often leads to others:

"I'm sorry, you want us to print _what_ on a sticker? But why would ...? I mean, fine, here's the price tag and timeline, but ..."

@Dtl What'll they charge you with?

I'll see myself out...

@Dtl If the capacitor can't briefly hold and later discharge some leverage, is it really worth having?

@Dtl I used to have a coworker who was in a competition with his friends to get warning labels put on things. For example, he would contact shampoo companies and say he ate their grape shampoo and then, bam, warning label not to eat the shampoo.

When I see things like this, I wonder how far his pranks have reached.

@Dtl That's excellent. If there was anything that shouldn't be used as a handle in a circuit board, i don't think you could choose anything worse than a cap!

@Dtl I used to work at Union Pacific Railroad. Got to see their vast locomotive repair facility one time.

The walls had huge safety signs. Each had a generic slogan like "Safety is everyone's job," and then a name and a date. Nobody needed to ask what happened to that guy on that date.

@Dtl I still really, really wish I'd saved the installation instructions from a piece of motorcycle luggage that reminded users not to attach it to the chain 🤦‍♂️

@Dtl

When my dad was a young electrical engineer in the 1950s, he'd been wondering whether overhead power lines had capacitance, and had the opportunity to find out when, leaving the safety of his office, he went out on site where a line had been taken down out of service and laid on the ground in a field. He touched his hand to the line and got an enormous jolt. I imagine actually most of the charge had already been grounded, and he was lucky to survive.

@Dtl
My husband and I play a game called, “How stupid do you have to be to have caused this warning?!”
@Dtl
Reminds me of the phrase "OSHA rules are written in blood."
@Dtl If you've ever heard the top of a large capacitor "pop" you'll respect capacitors from then on
@Dtl
DO NOT
USE LARGE
HANDLE-LIKE
CAPACITORS
WHERE PEOPLE
EXPECT HANDLES
@Dtl Bad UX design. People who know what a capacitor is don't need this label because they know it's a capacitor and not a handle. But it is also not useful for people who don't know what a capacitor is because they don't know what a capacitor looks like and thus don't know what not to use as a handle. Finally, reckless people who know what a capacitor is but still use it as a handle most certainly don't care about the label.
@Dtl capacitors are always good for a laugh. 😈😈😈
@Dtl I came across this one recently – In this case, it's a story *someone else* tells somewhere...
@MichaelPorter that's pretty terrifying
@Dtl That's what I thought - chances are 50/50 I'd be inclined to play with that thing if the sign wasn't there...
@Dtl ​​ <— me looking over at the legal forms I had to sign when buying chips from TI, which explicitly said I can’t build nuclear weapons with them
@helical Did you build a nuke with them and ship it to TI with a note saying, "yes, I can!" ?
@Dtl I’m worried this is no different than a warning sign that says “DO NOT USE THESE AND GATES TO BUILD A NUKE” and somebody made them put up that sign lmao
@Dtl Capacitors don't have to tell me what to... oops broken
@Dtl That sticker should not be legal. It's blocking the spot where the capacitor pops safely in case it becomes defect. If you block this it might pop by the bottom and release acid on the board.
@jacket That capacitor didn't have a scored in vent. I also doubt if that cap went pop that a bit of paper would stop it.
@Dtl @Xanthe *uses mounted CPU heatsink as a handle when mounting/moving motherboard around*
Good luck socket and CPU :3