VN:F [1.9.22_1171]
Rating: 9.4/10 (10 votes cast)

Random snippets of all sorts of code, mixed with a selection of help and advice.

Creating an outliner and a summariser to register a language

20 April 2024 @ 12:04 pm

I am trying to update the registering of my language and with the new specifications I need to define an Outliner and a Summariser Here is the example project for the pico dsl file here and the language specification (i assume) here module lang::pico::LanguageServer import util::LanguageServer; import util::IDEServices; import ParseTree; import util::Reflective; import lang::pico::\syntax::Main; import IO; // a minimal implementation of a DSL in rascal // users can add support for more advanced features set[LanguageService] picoContributions() = { parser(parser(#start[Program])), // register the parser function for the Pico language outlin

The argument 'path' must be a string, Uint8Array, or URL without null bytes. Received '\x00__sveltekit/server'

20 April 2024 @ 12:02 pm

When migrating to old SvelteKit project I am getting this error when running npm run dev. How to solve? TypeError [ERR_INVALID_ARG_VALUE]: The argument 'path' must be a string, Uint8Array, or URL without null bytes. Received '\x00__sveltekit/server' at open (node:internal/fs/promises:605:10) at Object.readFile (node:internal/fs/promises:1085:20) at loadAndTransform (file:///Users/moo/code/frentek/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:54957:34) at async instantiateModule (file:///Users/moo/code/frentek/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:55940:10) npm run preview works fine.

Air_MultiAvailability_19.1 AMADEUS

20 April 2024 @ 12:01 pm

How can I retrieve more than 10 flight information in the response? Currently, I'm only able to receive 10 flight info each time I make a request, but there are more than 10 flights available on certain days Here is my request <Air_MultiAvailability xmlns=""> <messageActionDetails> <functionDetails> <businessFunction>1</businessFunction> <actionCode>44</actionCode> </functionDetails> </messageActionDetails> <requestSection> <availabilityProductInfo> <availabilityDetails> <departureDate>200524</departureDate> </availabilityDetails> <departureLocationInfo> <cityAirport>TPE</cityAirport> </departureLocationInfo> <arrivalLocationInfo> <cityAirport>IC

Failed step "verifyConditions" of plugin "@semantic-release/apm"

20 April 2024 @ 11:58 am

I do get the following error while running my Github action Error Failed step "verifyConditions" of plugin "@semantic-release/apm" My config commitlink.config.ts module.exports = { extends: ['@commitlint/config-conventional'], } package.json "devDependencies": { "@commitlint/cli": "^19.2.2", "@commitlint/config-conventional": "^19.2.2", "@semantic-release/apm-config": "^9.0.1", "husky": "^9.0.11", "semantic-release": "^23.0.8" }, "release": { "extends": "@semantic-release/apm-config" }, ci.yml - name: release run: npx semantic-release --branches main env: GITHUB_

Failed to parse URL when bulding nextjs client in api platform

20 April 2024 @ 11:57 am

I've been trying to play around with api platform these last few days. However I must be missing somethign. When I follow the steps in "getting started with...", to generate the nextjs client, everything seems to work: I can go to localhost/greetings and I can add, edit and delete greetings. However, after that I tried to follow This fails in the build step of the pwa with the error TypeError: Failed to parse URL from undefined/greetings. This is the same error I get when following the steps to build a nextjs client here: Here it says to go to localhost:3000/greetings after starting the server with pnmp dev. Going to that page gives me the same error as I wrote above. After this, the page that originally worked (localhost/greeti

Data not loading on Page refresh in blazor webassembly standalone app

20 April 2024 @ 11:56 am

I have created a sample web app in blazor as webassembly standalone app, then I simply published this web app in a local folder and hosted it in the iis as a website. I browse the site it worked properly but I refreshed the page then got the error page. I looked for the issue on internet then I found one setting to be done in the web.config file of the application. I did the same and error page did not come but the data was also not loaded which I am fetching from the sql server. Currently the sql server is in the same machine but I want the solution for both sql server in local machine sql server on a hosted server. Also the menus given in the left hand side got hidden and I was unable to expand them using the menu button just like app got hannged. On browsers back button I went back then app started working but the page refresh issue still persists.

.NET MAUI redraw animation during switch between two TabBars

20 April 2024 @ 11:56 am

I have two TabBars in AppShell.xaml switching between them. <TabBar> <Tab Title="Novinky"> <Tab.Icon> <FontImageSource FontFamily="FASolid" Glyph="{StaticResource IconHome}"></FontImageSource> </Tab.Icon> <ShellContent Title="Home" ContentTemplate="{DataTemplate view:HomePage}" Route="HomePage" /> </Tab> <Tab Title="Skupiny"> <Tab.Icon> <FontImageSource FontFamily="FASolid" Glyph="{StaticResource IconGroups}"></FontImageSource> </Tab.Icon> <ShellContent Title="Skupiny" ContentTemplate="{DataTemplate view:GroupListPage}" Route="GroupListPage" /> </Tab> <Tab Title="Profil"> <Tab.Icon> <Fon

My HashSet stored a duplicate object after a modification

20 April 2024 @ 11:53 am

I am a programming tutor. Yesterday, I was trying to explain HashSet to my students in some test cases. Of course, HashSet allows modifying contained objects, but it can lead to inconsistency problems, and I was showing them some ways to do this correctly. Then, I encountered a situation where my HashSet added an object that was already in it after a modification. Could anyone explain to me why it happens? Here is my code: boolean cambiar = false; Persona personaCambiada = null; Iterator<Persona> iteratorHS = hs.iterator(); while (iteratorHS.hasNext()) { Persona persona =; if (cambiar == false) { personaCambiada = persona; iteratorHS.remove(); personaCambiada.setDNI(p2.getDNI()); personaCambiada.setNombre(p2.getNombre()); cambiar = true; } } System.out.println(p2.equals(personaCambiada)); // prints true System.out.println(personaCambiada.equa

How to prevent component reload when toggling Modal visibility?

20 April 2024 @ 11:35 am

I am using a Modal in my RN app to show a map to the user. This component is slow and expensive to load, which is why I want to make sure it is not getting loaded from scratch every time. However, currently this is not working. By toggling visible, the map component gets loaded from scratch each and every time the modal opens up again. Is there a way to prevent this behavior and make sure that the map is not getting unmounted and reloaded every time? import { Modal } from 'react-native'; <Modal animationType="slide" transparent={true} visible={showModal} onRequestClose={() => setShowModal(false)}> <MapView onTogglePressed={() => setShowModal(false)} /> </Modal>

numba jitclass with record type of string

20 April 2024 @ 11:16 am

The v3 variable is string value. I could not run with below code which gives error. import numpy as np import pandas as pd from numba.experimental import jitclass from numba import types import os os.environ['NUMBA_VERBOSE'] = '1' # ----- BEGINNING OF THE MODIFIED PART ----- # recordType = types.Record([ ('v', {'type': types.int64, 'offset': 0, 'alignment': None, 'title': None}), ('v2', {'type': types.float64, 'offset': 8, 'alignment': None, 'title': None}), ('v3', {'type': types.bytes, 'offset': 16, 'alignment': None, 'title': None}) ], 32, False) spec = [ ('data', types.Array(recordType, 1, 'C', False)) ] # ----- END OF THE MODIFIED PART ----- # @jitclass(spec) class Test: def __init__(self, data): = data def loop(self): v =['v'] v2 =['v2'] v3 =['v3'] print("Inside loop:") print("v:", v) print("v2:", v2) pr

VN:F [1.9.22_1171]
Rating: 9.4/10 (5 votes cast)

Access to the world’s facts and data and calculates answers across a range of topics, including science, nutrition, history, geography, engineering, mathematics, linguistics, sports, finance, music…

Navigating Quantum Computing: Accelerating Next-Generation Innovation

12 April 2024 @ 3:23 pm

It’s no secret: quantum computing has been poised to be “the next big thing” for years. But recent developments in the quantum ecosystem, including major investments by companies such as IBM, Google, Microsoft and others, are the best indicators that now is the time to begin preparing for potentially viable quantum applications—and to identify where […]

Food and Sun: Wolfram Language Recipe Graphs for the Solar Eclipse

2 April 2024 @ 9:15 pm

At Wolfram Research, we are excited for the April 8 total solar eclipse and plan to observe this extraordinary event in several ways. Read about the science and math of this rare phenomenon in Stephen Wolfram’s new book, Predicting the Eclipse: A Multimillennium Tale of Computation, and then find eclipse specifics for your location with […]

Computational Astronomy: Exploring the Cosmos with Wolfram

25 March 2024 @ 2:11 pm

This year’s Global Astronomy Month is off to an exciting start for North America in anticipation of the total solar eclipse on April 8. In light of this momentous event, the following is a list of resources that bring Wolfram Language and astronomy together—including expert video guides, projects and books—for computational astronomers at every level. […]

Enhance Wind Turbine Design with the New Wolfram System Modeler Rotating Machinery Library

11 March 2024 @ 5:49 pm

Explore the contents of this article with a free Wolfram System Modeler trial. A wind turbine gearbox, susceptible to erratic wind loads, frequently fails well before its intended lifespan. Such failures, occurring globally, not only cause significant downtime but also lead to substantial economic losses. Can simulations help avoid this? The first animation delves into […]

How Many Days Would February Have if the Earth Rotated Backward? Exploring Leap Years with Wolfram Language

29 February 2024 @ 3:59 pm

Happy Leap Day 2024! A leap day is an extra day (February 29) that is added to the Gregorian calendar (the calendar most of us use day to day) in leap years. While leap years most commonly come in four-year intervals, they sometimes come every eight years. This is because a traditional leap day every […]

Your Invitation to Take a Quantum Leap in Education

27 February 2024 @ 11:02 pm

Learning quantum theory requires dedication and a willingness to challenge classical assumptions. Quantum interference, particularly for massive particles, is a pivotal example in this journey. The Schrödinger equation, inspired by de Broglie’s hypothesis, revolutionized our understanding by revealing the wavelike nature of even massive particles. This phenomenon not only deepens our grasp of nature but […]

Reduce Quantum Noise with Wolfram Language and Fire Opal

27 February 2024 @ 4:42 pm

Practical quantum computers have not entered the mainstream, but that has not stopped researchers and developers from innovating. Simulating quantum results on classical hardware and getting meaningful results from noisy quantum hardware are two important areas with lots of recent innovations. The Wolfram Quantum Framework is a toolkit for Wolfram Language that offers quantum simulations. […]

Hypergeometric Functions: From Euler to Appell and Beyond

25 January 2024 @ 5:35 pm

Hypergeometric series appeared in the mid-seventeenth century; since then, they have played an important role in the development of mathematical and physical theories. Most of the elementary and special functions are members of the large hypergeometric class. Hypergeometric functions have been a part of Wolfram Language since Version 1.0. The following plot shows the implementation […]

Leveling Up in Life Sciences: Unleashing the Power of Computational Biology with Wolfram Language

18 January 2024 @ 7:40 pm

In days past, life sciences was reserved for those who had access to the proper equipment to observe and experiment with the organisms of the physical world. For today’s scientist, exploration doesn’t end with access to physical encounters. Whether you’re classifying an animal for the first time or using a protein visualizer to develop medication, […]

VN:F [1.9.22_1171]
Rating: 9.3/10 (3 votes cast)

OffGuardian is one of the only media news outlets to trust. True journalism unlike the MSM.

Facts really should be sacred. Unlike the Guardian, off-guardian is NOT funded by Bill & Melinda Gates, or any other NGO or government.

Bird Flu, Censorship & 100 Day Vaccines: 7 Predictions for “The Next Pandemic”

19 April 2024 @ 6:35 pm

Of course by “pandemic”, we really mean “psy-op”…because nothing about the next pandemic will be any more real than the last pandemic. Hell, given the leaps forward in AI technology, it could be considerably less real.

WATCH: Suing the Tyrants – #SolutionsWatch

18 April 2024 @ 6:30 pm

You’ve tried protesting, you’ve tried boycotting, what else is there to do? Well, how about filing a lawsuit? Join James Corbett for this week’s edition of #SolutionsWatch where he weighs the pros and cons of suing the tyrants and considers the potential utility of Notices of Liability in holding government officials personally accountable for their …

Biometric identification: It’s what Russia craves?

17 April 2024 @ 3:00 pm

The nations of the world are racing each other to see who can tag their respective cattle in the safest and most voluntary and convenient way. Meanwhile, the cattle bicker on the internet about which rancher has the best and most moral cattle tag. “So it goes.” I suppose it’s a matter of taste, really. …

The Palestine Congress

16 April 2024 @ 11:00 am

Thank God for the German Hate Police! Or heil … or whatever the appropriate salutation is for these unsung heroes. They just saved us all from “hate” again! Yes, that’s right, once again, democracy-loving people here in New Normal Berlin and all across the New Normal world were right on the brink of being exposed …

Tyranny by the Numbers: The Government Wants Your Money Any Way It Can Get It

15 April 2024 @ 10:00 am

The government wants your money. It will beg, steal or borrow if necessary, but it wants your money any way it can get it. This is what comes of those $1.2 trillion spending bills: someone’s got to foot the bill for the government’s fiscal insanity, and that “someone” is the U.S. taxpayer. The government’s schemes to …

Gaza Selfie: Representing the Chosen People

14 April 2024 @ 5:00 pm

“Encouraging and integrating aliyah is a strategic event for the State of Israel. Aliyah in the coming years will serve as an enormous growth engine for the Israeli economy and an engine of values — a renewal and refreshment of Zionism.” Bezalel Smotrich, Israel Finance Minister, February 2024 There is a difference between the photographs …

VIDEO: Jordan B Peterson – The Reflection I Never Wished to See

14 April 2024 @ 7:00 am

In February we posted this article. The author has since produced the piece in video format. Youn can find the author’s channel here if you wish to subscribe. * JR Leach is a fantasy author and graphic designer whose debut novel The Farmer and the Fald was published earlier this year. You can follow him …

What We Don’t Seem to Care About

13 April 2024 @ 7:00 am

When I say “we” in the title of this article, I don’t mean us shrews. I think most of us do care about these things I am going to write about. The “we” I speak of is the culture at large. Even though shrews may think and wonder about these things, we probably just scratch …

Death Duties

12 April 2024 @ 8:00 pm

“Never think that war, no matter how necessary, nor how justified, is not a crime” Ernest Hemingway, 1946 This tax year, the so-called Ministry of Defence will be given £69BN of taxpayers’ money, to effectively subsidise the arms industry and fund more wars of aggression while offering little or nothing in the way of defence. …

Itchy Boots

VN:F [1.9.22_1171]
Rating: 9.0/10 (5 votes cast)

Motorcycle adventures from a single perspective.

Red Letter Media

VN:F [1.9.22_1171]
Rating: 9.0/10 (4 votes cast)

Movie reviews from VCR repair men.
Continue reading


VN:F [1.9.22_1171]
Rating: 9.0/10 (3 votes cast)

Motorcycle vblog and chat with challenges.
Continue reading

WHF Entertainment

VN:F [1.9.22_1171]
Rating: 9.0/10 (2 votes cast)

A look into the crazy world with Whats her face.


VN:F [1.9.22_1171]
Rating: 9.0/10 (1 vote cast)

One man’s look at clown world (tiktok/narcissistic culture).

This Is Why I Stay Home 4

18 April 2024 @ 4:03 pm

Fashion and #IDIOCRACY 2

24 March 2024 @ 4:24 pm

Narcissists and #SOCIALMEDIA 18

9 March 2024 @ 5:06 pm

TikTok and #IDIOCRACY 13

2 March 2024 @ 7:16 pm

Why Is This A Thing!? 2

15 February 2024 @ 11:15 pm

TikTok and #IDIOCRACY 12

28 January 2024 @ 7:49 pm

Tourists and #IDIOCRACY 3

12 January 2024 @ 11:28 pm

This Is Why I Stay Home 3

4 January 2024 @ 6:49 pm

VN:F [1.9.22_1171]
Rating: 9.0/10 (1 vote cast)

Kubuntu is a free, complete, and open-source alternative to Microsoft Windows and Mac OS X which contains everything you need to work, play, or share.

Kubuntu 24.04 Beta Released

12 April 2024 @ 6:33 pm

Join the Excitement: Test Kubuntu 24.04 Beta and Experience Innovation with KubuQA! We’re thrilled to announce the availability of the Kubuntu 24.04 Beta! This release is packed with new features and enhancements, and we’re inviting you, our valued community, to join us in fine-tuning this exciting new version. Whether you’re...

Celebrating Creativity: Announcing the Winners of the Kubuntu Contests!

9 April 2024 @ 8:38 pm

We are thrilled to announce the winners of the Kubuntu Brand Graphic Design contest and the Wallpaper Contest! These competitions brought out the best in creativity, innovation, and passion from the Kubuntu community, and we couldn’t be more pleased with the results. Kubuntu Brand Graphic Design Contest Winners The Kubuntu...

Kubuntu Brand Graphic Design Contest Deadline Extended!

3 April 2024 @ 5:28 am

We’re thrilled to announce that due to the incredible engagement and enthusiasm from our community, the Kubuntu Council has decided to extend the submission deadline for the Kubuntu Brand Graphic Design Contest! Originally set to close at 23:59 on March 31, 2024, we’re giving you more time to unleash your...

Kubuntu Wallpaper 24.04 – Call for Submissions

22 March 2024 @ 8:19 am

We are excited to announce a call for submissions for the official desktop wallpaper of Kubuntu 24.04! This is a fantastic opportunity for artists, designers, and Kubuntu enthusiasts to showcase their talent and contribute to the visual identity of the upcoming Kubuntu release. What We’re Looking For We are in...

Kubuntu Community Update – March 2024

8 March 2024 @ 4:53 pm

Greetings, Kubuntu enthusiasts! It’s time for our regular community update, and we’ve got plenty of exciting developments to share from the past month. Our team has been hard at work, balancing the demands of personal commitments with the passion we all share for Kubuntu. Here’s what we’ve been up to:...

Kubuntu Graphic Design Contest

20 February 2024 @ 9:21 pm

Announcing the Kubuntu Graphic Design Contest: Shape the Future of Kubuntu We’re thrilled to unveil an extraordinary opportunity for creatives and enthusiasts within and beyond the Kubuntu community The Kubuntu Graphic Design Contest. This competition invites talented designers to play a pivotal role in shaping the next generation of the...

Kubuntu Council Meeting – 30th January 2024

4 February 2024 @ 1:28 am

Greetings, Kubuntu Community! Today marked an important Kubuntu Council meeting, where we witnessed significant progress and collaboration among our esteemed council members – Darin Miller, Rik Mills, Valorie Zimmerman, Aaron Honeycutt, Jonathan Riddell (Kubuntu Treasurer), and Simon Quigley(Lubuntu). In this blog post, we’re excited to share the highlights and outcomes...

Plasma 5.27 LTS for Jammy 22.04 LTS available via PPA

18 October 2023 @ 3:28 pm

We have had many requests to make Plasma 5.27 available in our backports PPA for Jammy Jellyfish 22.04. However, for technical reasons this would have broken upgrades to Kinetic 22.10 while that upgrade path existed. Now that Kinetic is end of life, it is possible to allow opt in backports...

Kubuntu 23.10 Mantic Minotaur Released

17 October 2023 @ 12:50 am

The Kubuntu Team is happy to announce that Kubuntu 23.10 has been released, featuring the ‘beautiful’ KDE Plasma 5.27 simple by default, powerful when needed. Codenamed “Mantic Minotaur”, Kubuntu 23.10 continues our tradition of giving you Friendly Computing by integrating the latest and greatest open source technologies into a high-quality,...

Ubuntu 22.10 (Kinetic Kudu) End of Life reached on July 20, 2023

27 July 2023 @ 8:24 pm

Kubuntu 22.10 (Kinetic Kudu) was announced on October 20, 2022 with 9 months support. As of July 20, 2023, 22.10 reached ‘end of life’. No more package updates will be accepted to 22.10, and it will be archived in the coming weeks. You can read the official end of life...

Ultra Harmonics

VN:F [1.9.22_1171]
Rating: 8.8/10 (4 votes cast)

Cool vibes and ultra Harmonics, instrumental in it’s finest.
Continue reading