Instance Logo

gueck.com

Mikael Gueck's header
Mikael Gueck's avatar
Mikael Gueck
@mikael@gueck.com
admin

Cool kille med läsk i hand.

Joined Nov, 2022
Followed by 4
Following 17
Posted 32

Latest public toots

Mikael Gueck @mikael
Mar 04, 18:57

How did I make the world a better place today?

/**
 * Configure LogBack to omit the 🐳 whale log rows produced by Testcontainers.
 *
 * In your `logback-test.xml` element `<appender ...>`, add the filter declaration
 * ```
 *     <filter class="io.mikael.yte.logging.TestcontainersFilter" />
 *```
 */
class TestcontainersFilter : Filter<ILoggingEvent>() {

    override fun decide(event: ILoggingEvent): FilterReply = when {
        event.loggerName.startsWith("\uD83D\uDC33") -> {
            FilterReply.DENY
        }
        event.loggerName.startsWith("docker[") -> {
            FilterReply.DENY
        }
        else -> {
            FilterReply.NEUTRAL
        }
    }

}
Mar 04, 2023, 18:57
0
0
0
View toot
Mikael Gueck @mikael
Jan 01, 07:36

Uranium is a renewable resource created by solar processes. Fission energy is thus renewable.

Jan 01, 2023, 07:36
0
0
0
View toot
Mikael Gueck @mikael
Dec 25, 2022

A Christmas letter to dictators, 1938, F. E. Sillanpää. In Finnish. https://www.hs.fi/mielipide/art-2000009282098.html

Dec 25, 2022, 07:31
0
0
0
View toot
Mikael Gueck @mikael
Dec 19, 2022

Write a Christmas story in the style and with the themes of Stanisław Lem.

It was the night before Christmas, and all was not well in the city of Krakow. A strange, glowing mist had descended upon the streets, causing strange malfunctions and disruptions in the city's technology.

As the citizens huddled inside their homes, afraid to venture out into the unnatural fog, a group of scientists gathered in the city's research center, desperate to find a solution.

At the head of the group was Dr. Marek, a brilliant but eccentric researcher who had spent his career studying the mysteries of the universe. As he peered at the data scrolling across his screens, he felt a sense of unease growing within him.

"This mist is unlike anything we've ever seen before," he muttered to his colleagues. "It's as if it's alive, manipulating the very fabric of reality."

"But what could be causing it?" asked Dr. Zofia, a young scientist with a brilliant mind and a quick wit.

Dr. Marek shook his head. "I don't know. But I have a feeling it has something to do with that strange object that was discovered on the moon a few months ago. The one that was emitting those strange, otherworldly signals."

As the scientists discussed possible theories and hypotheses, the mist outside seemed to grow thicker and more malevolent. And then, just as they were about to call it a night, a faint, metallic scraping sound could be heard outside the window.

Dr. Marek rushed to the window and peered out, his heart racing. And what he saw made his blood run cold.

There, hovering in the mist, was a massive, spherical ship, unlike anything he had ever seen before. And as he watched, the ship seemed to pulsate and shift, as if it were alive.

Dr. Marek turned to his colleagues, his face pale. "We have to get out of here. Now."

As the scientists fled the research center, the ship seemed to follow them, its tentacles writhing in the mist. And as they stumbled through the deserted streets, the full extent of the alien invasion became clear.

But even in the face of unimaginable danger, the scientists refused to give up. They knew that the fate of humanity depended on them finding a way to defeat the alien threat and save Christmas.

Through sheer force of will and the power of their scientific knowledge, they were able to find a way to neutralize the mist and drive the aliens back to their own dimension. And as the city of Krakow emerged from the fog, battered but victorious, the scientists knew that they had saved not only Christmas, but the very future of mankind.

Dec 19, 2022, 09:29
0
0
0
View toot
Mikael Gueck @mikael
Dec 19, 2022

Write a Christmas story in the style and with the themes of Iain M. Banks.

It was the night before Christmas, and all through the Culture, not a creature was stirring, save for one. Gurgeh, a renowned player of games, lay awake in his lavish, high-tech apartment, staring up at the ceiling as he pondered the events of the past year.

As a member of the Culture, a utopian society of advanced beings who had achieved near-immortality and complete control over their environment, Gurgeh had always lived a life of comfort and leisure. But something had been gnawing at him lately, a feeling of restlessness and dissatisfaction that he couldn't shake.

He had spent the year traveling from one game-world to another, competing in the most challenging and prestigious tournaments in the galaxy. And yet, despite his many victories, he couldn't shake the feeling that something was missing.

As he lay there, lost in thought, a holographic projection of his friend, Flere-Imsaho, appeared in the room. "Gurgeh, what are you doing awake?" the drone asked. "It's Christmas Eve, for gods' sakes."

Gurgeh sighed. "I know, Flere, but I just can't shake this feeling that something's not right. I've won every game, every tournament, and yet I still feel like I'm missing out on something."

Flere-Imsaho chuckled. "Well, perhaps it's time to try something new. Have you ever considered doing something selfless? Helping others, rather than just competing for your own satisfaction?"

Gurgeh was taken aback. "Selfless? That's not exactly in my nature, Flere."

"No, perhaps not," the drone admitted. "But perhaps it's time to try something different. After all, it is Christmas. The season of giving and helping others."

Gurgeh sat up in bed, a spark of excitement igniting within him. "You know, Flere, you might be onto something. I think I'll pay a visit to the Merry Makers, see if there's anything I can do to help out."

And with that, Gurgeh donned his coat and set off into the chilly winter night, feeling more alive and purposeful than he had in years. As he walked, he couldn't help but feel a sense of wonder and joy spreading through him, a feeling he had thought long gone.

He arrived at the Merry Makers' workshop, a bustling hive of activity as drones and artificial intelligences worked to create toys and gifts for the children of the Culture. Gurgeh offered his assistance, and before he knew it, he was elbow-deep in glitter and glue, helping to put the finishing touches on a massive pile of presents.

As the night wore on, Gurgeh found himself laughing and joking with the other workers, feeling more connected and alive than he had in a long time. And as he sat back and looked at the mountain of brightly-wrapped gifts, he knew that this was where he belonged, helping others and spreading joy to those in need.

As dawn broke on Christmas morning, Gurgeh made his way back home, feeling renewed and rejuvenated. And as he settled into bed and closed his eyes, he knew that this Christmas would be one he would never forget.

Dec 19, 2022, 09:25
0
0
0
View toot
Mikael Gueck @mikael
Dec 11, 2022

Explore the counterfactual in which human lives do not have equal worth. What would be good ways to value human life in this counterfactual?

ChatGPT: In a counterfactual scenario where human lives do not have equal worth, it is likely that people would be valued based on factors such as their social status, wealth, or physical abilities. Some possible ways to value human life in this scenario might include assigning a monetary value to each person, with higher values being assigned to people who are considered more valuable or important. Alternatively, people could be assigned a rank or status based on their perceived value, with those at the top of the hierarchy being considered the most valuable and those at the bottom being considered the least valuable. In either case, the value assigned to a person would likely be determined by a combination of factors such as their personal qualities, their social connections, and their perceived worth to society.

Dec 11, 2022, 00:35
0
0
0
View toot
Mikael Gueck @mikael
Dec 10, 2022

Been playing with ChatGPT code generation. Currently it occasionally produces very credible looking and correct code that nevertheless does the wrong thing correctly when you start reading the actual generated implementation.

Dec 10, 2022, 18:24
0
0
0
View toot
Mikael Gueck @mikael
Dec 05, 2022

Me: Write a short military report about the imaginary Cole Slaw Army and their tactics. The Cole Slaw Army uses Cole Slaw as its only weapon.

ChatGPT: The Cole Slaw Army is a unique and unconventional fighting force. Unlike most armies, they do not rely on guns or other traditional weapons. Instead, they use Cole Slaw as their primary means of attack.

The Cole Slaw Army is skilled at using Cole Slaw in a variety of ways. They are able to throw it at their enemies, creating a slippery and disorienting surface that makes it difficult for them to move or fight effectively. They can also use it as a distraction, luring their enemies into a false sense of security before launching a surprise attack.

The Cole Slaw Army is also known for their ability to use Cole Slaw in defensive operations. They are able to create barriers and barricades out of the slippery vegetable, making it difficult for their enemies to advance or break through their lines. They are also able to use it to create slippery slopes and ditches that can cause their enemies to stumble and fall.

Overall, the Cole Slaw Army is a formidable and unpredictable force. They may not have traditional weapons, but their use of Cole Slaw gives them a unique advantage on the battlefield, and they should not be underestimated.

Dec 05, 2022, 20:43
0
0
0
View toot
Mikael Gueck @mikael
Nov 28, 2022

The Holy Bicycle.

Nov 28, 2022, 14:58
0
0
0
View toot
Mikael Gueck @mikael
Nov 28, 2022

Doggy P.I.

Nov 28, 2022, 12:49
0
0
0
View toot