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.

How to find specific value of html element (such as h1) with node.js

3 December 2022 @ 8:09 am

I'm trying to find the numbers of users on this website, using node.js, but I'm not sure of what process I can do to get it. The value is subclassed under multiple divs with different class names. Right now I will just be console.logging it but I'm going to do more with the data later on. I was suggested to use the package "puppeteer", but I'm not sure how this would fetch it or what to do with it to fetch it. Thank you in advance

How to prevent adding .editorconfig to one solution leading to StyleCop rules getting applied to every solution?

3 December 2022 @ 8:08 am

I'm using C#. Say I have the following folder structure: Root -> dir A -> dir B -> sln B -> dir C -> sln C -> sln A There's stylecop.json present for all the solutions. { "$schema": "", "settings": { "documentationRules": { "companyName": "Microsoft", "copyrightText": " Copyright (c) Microsoft Corporation. All rights reserved." } } } But there's no .editorconfig file and the SA rules are not applied to the solutions (not sure if it's expected). Now, the moment I create a .editorconfig file for sln C, the SA rules start getting applied to A, B, C all solutions. How do we configure it to apply for a single solution only?

Print time update it by 1 sec in the same time with getting user input under the time line

3 December 2022 @ 8:08 am

I want to make a digital clock in C with the time is update real time by 1 second. And i want to put input under the digital clock line. I'm using windows. And here is what i've tried before #include <stdio.h> #include <string.h> #include <time.h> void display_time(){ time_t s, val = 1; struct tm* current_time; while(1){ s = time(NULL); current_time = localtime(&s); printf("%02d:%02d:%02d", current_time->tm_hour, current_time->tm_min, current_time->tm_sec); if(current_time->tm_sec == 0){ break; } } } int main(){ int i; display_time(); printf("\nEnter number for i: "); scanf("%d", &i); printf("%d", i); return 0; } I want the output like this, but the digital clock still updated by 1 second HH:MM:SS Enter number for i: //example 10 1

Renderflex Overflow on the bottom

3 December 2022 @ 8:07 am

I want to create a two column card layout and I'm using reusable widget I created. But I'm having renderflow issues. Below are the errors. i already tried to make it smaller, it worked but not as what i want it to look like. ════════ Exception caught by rendering library ═════════════════════════════════ A RenderFlex overflowed by 99853 pixels on the right. The relevant error-causing widget was Row lib\…\student\subjects.dart:158 ════════════════════════════════════════════════════════════════════════════════ enter image description here subjects.dart SingleChildScrollView(

split the file based on header and footer lines

3 December 2022 @ 7:59 am

I have a text file structured like this: header data1 data2 data3 .. footer junk header data4 data5 ... footer junk header data6 data7 data8 .. footer I need to find each part between header and footer and save it in another file. For example the file1 should contain: data1 data2 data3 .. and the next pack should be saved as file2 and so on. This seems like a routine process, but I haven't find a solution yet. I have this sed command that finds the first packet. sed -n "/header/,/footer/{p;/footer/q}" file But I don't know how to iterate that over the next matches. Maybe I should delete the first match after copying it to another file and repeat the same command

Eror occurs when install nuxt and create app

3 December 2022 @ 7:54 am

Cannot instal nuxt and create app. I used and for creating app but this error occurs: "create-nuxt-app" is not internal or external command executed by a program or batch file. npm ERR! path C:\Users\Acer\Desktop\nuxt npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c create-nuxt-app "hacker-news" npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Acer\AppData\Local\npm-cache\_logs\2022-12-03T06_03_59_129Z-debug-0.log``` Please help! PS: node js and npm are installed

pandas/regex: Remove the string after the hyphen or parenthesis character (including) carry string after the comma in pandas dataframe

3 December 2022 @ 7:46 am

I have a dataframe contains one column which has multiple strings separated by the comma, but in this string, I want to remove all matter after hyphen (including hyphen), main point is after in some cases hyphen is not there but directed parenthesis is there so I also want to remove that as well and carry all the after the comma how can I do it? You can see this case in last row. dd = pd.DataFrame() dd['sin'] = ['U147(BCM), U35(BCM)','P01-00(ECM), P02-00(ECM)', 'P3-00(ECM), P032-00(ECM)','P034-00(ECM)', 'P23F5(PCM), P04-00(ECM)'] Expected output dd['sin'] # output U147 U35 P01 P02 P3 P032 P034 P23F5 P04 Want to carry only string before the hyphen or parenthesis or any special character.

Is parsing state from child component up in react a good practice

3 December 2022 @ 7:45 am

I am trying to change the state in the App components from a child components and I fell i would result to an issue later in my app i tried passing the setFunction down to the child components then having it change the value in the app components

python get dictionary key from value is list

3 December 2022 @ 7:40 am

I have two dictionaries: first_dict = {'a': ['1', '2', '3'], 'b': ['4', '5'], 'c': ['6'], } second_dict = {'1': 'wqeewe', '2': 'efsafa', '4': 'fsasaf', '6': 'kgoeew', '7': 'fkowew' } I want to have a third dict that will contain the key of second_dict and its corresponding value from first_dict's key. This way, I will have : third_dict = {'1' : 'a', '2' : 'a', '4' : 'b', '6' : 'c', '7' : None, } here is my way: def key_return(name): for key, value in first_dict.items(): if name == value: return key if isinstance(value, list) and name in value: return key return None reference:

c: extern variable is not retaining value

3 December 2022 @ 7:19 am

I am using an extern bool variable. I have initialized it (to true) and want to use this value somewhere else in program. But the problem is, when went into another module, this true value is becoming false and when returned from that module (where the value was last seen true), then it turns to true. I am not understanding why extern variable is behaving like this. Does someone know about this? I want extern variable to retain its value like it should be.

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…

Trees Continue to Grow 🌱🌳

30 November 2022 @ 9:07 pm

Last year we released Version 13.0 of the Wolfram Language. Here are the updates in trees since then, including the latest features in 13.1.   Trees Continue to Grow 🌱🌳 In Version 12.3 we introduced Tree as a new fundamental construct in the Wolfram Language. In Version 13.0 we added a variety of styling options […]

Thanksgiving Day the Wolfram Way

23 November 2022 @ 5:27 pm

Thanksgiving is a special day to celebrate family, friends and food. Preparation is key to a safe and delicious Thanksgiving dinner. Wolfram Language can help lower the stress and up the ease of your Thanksgiving Day preparations. Easy Calculation of Thawing and Cooking Times Uninvited guests like foodborne bacteria can ruin an otherwise perfect Thanksgiving […]

New in 13.1: Visual Effects and Beautification

21 November 2022 @ 2:50 pm

Last year we released Version 13.0 of the Wolfram Language. Here are the updates in visual effects and beautification since then, including the latest features in 13.1.   Visual Effects & Beautification At first it seemed like a minor feature. But once we’d implemented it, we realized it was much more useful than we’d expected. […]

New in 13.1: Beyond Listability: Introducing Threaded

14 November 2022 @ 8:06 pm

Last year we released Version 13.0 of the Wolfram Language. Here are the updates in listability since then, including the latest features in 13.1.   Beyond Listability: Introducing Threaded From the very beginning of Mathematica and the Wolfram Language we’ve had the concept of listability: if you add two lists, for example, their corresponding elements […]

Wolfram Technology Conference 2022

10 November 2022 @ 4:02 pm

For more than three decades, Wolfram Research has brought together the most interesting cohort of Wolfram technology users from around the globe to network and learn during its annual Wolfram Technology Conference. This year, I was able to participate in my first conference. I am neither an expert nor even a practitioner of computational science, […]

New in 13.1: College and Fractional Calculus

2 November 2022 @ 5:18 pm

Last year we released Version 13.0 of the Wolfram Language. Here are the updates in college and fractional calculus since then, including the latest features in 13.1.   College Calculus Transforming college calculus was one of the early achievements of Mathematica. But even now we’re continuing to add functionality to make college calculus ever easier […]

Winners of the 2022 One-Liner and Get Visual Competitions

28 October 2022 @ 4:22 pm

For 11 years, it has been tradition for the Wolfram Technology Conference to push our users to go above and beyond in Wolfram Language with our annual One-Liner Competition. In the competition, users are given a limit of 140 characters to create the most incredible output, which is then judged blindly based on brevity, aesthetics […]

Announcing the 2022 Wolfram Innovator Award Winners

20 October 2022 @ 3:47 am

Our annual Wolfram Technology Conference returned to an in-person gathering October 18–21, 2022, in our headquarter city of Champaign, Illinois, USA. One of our very favorite events that took place during the conference was the Innovator Award ceremony and keynote dinner, where Stephen Wolfram recognized eight exceptional individuals and teams from across fields, disciplines and […]

New in 13.1: Chemical Representations and Pattern Reactions

17 October 2022 @ 9:03 pm

Last year we released Version 13.0 of the Wolfram Language. Here are the updates in chemical representations and symbolic pattern reactions since then, including the latest features in 13.1.   Representing Amounts of Chemicals Molecule lets one symbolically represent a molecule. Quantity lets one symbolically represent a quantity with units. In Version 13.1 we now […]

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.

AUDIO: Iain Davis & Jesse Zurawell talk China and Technocracy

2 December 2022 @ 7:00 pm

In this recent episode of Perspective, host Jesse Zurawell is joined by frequent OffG contributor Iain Davis to discuss his most recent article China: The World’s First Technate. Iain Davis is an author, blogger, researcher and short film maker. You can read more of Iain’s work at his blog (Formerly InThisTogether), on UK Column …

The Scritchering

2 December 2022 @ 8:00 am

Sylvia Shawcross Please note: This is not a humour column so avoid if despondent or if a highly judgmental holier-than-thou arse feeling omnipotent on a keyboard and by just writing that I realize that some people will get their backs up before even reading the piece and I’d like to remind everyone that medical experts …

The REAL reason behind China’s “Zero Covid” policy

1 December 2022 @ 9:00 pm

Kit Knightly Most of the Western world is no longer in lockdown, some vaccine mandates are being loosened, mask wearers are distinctly the minority everywhere you look. For now at least, and for want of a better phrase, we have largely “gone back to normal”…except, you know, now with a totally broken economy, more centralised …

Covid Propaganda – The South African Variant

29 November 2022 @ 4:30 pm

Michael Bryant “It is difficult to get a man to understand something, when his salary depends on his not understanding it.” Upton Sinclair Bloomberg and various news outlets recently reported that a South African laboratory study warned a new strain of the Covid-19 virus “could” emerge and “could cause worse illness than the current predominant …

WATCH: Giving Thanks – #SolutionsWatch

28 November 2022 @ 10:00 pm

As those in the reality-based community know, we live in dark times. But if we cannot acknowledge the good that is in our lives, then what are we fighting for? Join James Corbett for this week’s edition of #SolutionsWatch as he explores the whys and hows of giving thanks and cultivating a spirit of gratitude. …

The Emperor Elonicus

28 November 2022 @ 2:00 pm

CJ Hopkins Everyone is going to hate this column. Musk worshipers are going to hate it because I’m going to blaspheme against Elon Musk. Musk demonizers are going to hate it because I am not going to blaspheme against him enough. Everyone else is going to hate it because they’re sick to the gills of …

Voila! C’est ca!

27 November 2022 @ 8:00 am

Sylvia Shawcross Oh for heavens sakes! It took awhile but I finally figured it out. They have discombobulated their desires into a substitute agenda because they can’t face what they really really want. They are saying they want us to eat bugs but the truth is, they want us to “be” the bugs. They’re building …

Sand in the Gas Tank

26 November 2022 @ 8:30 pm

Todd Hayen Everyone knows if you pour sand in a car’s gas tank it will eventually destroy the engine. It will get all clogged up and fail to function. Kaput. Nice metaphor for what is happening these days with the vaccine, eh? Now, I don’t want to be accused of being a fear monger, but …

China: The World’s First Technate – Part 1

25 November 2022 @ 8:30 pm

Iain Davis We are being rapidly transitioned into a new system of centralised, authoritarian global governance. This system is designed to be a technocracy and it is truly totalitarian. Totalitarianism is a form of government that attempts to assert total control over the lives of its citizens. It is characterized by strong central rule that …

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

Half in the Bag: Jayus Ex Mikeina

1 December 2022 @ 12:00 am

Half in the Bag: Barbarian

15 November 2022 @ 5:43 pm

The Garbage Pail Kids Movie - re:View

9 November 2022 @ 2:44 pm

Best of the Worst: Halloween 2022

28 October 2022 @ 8:32 pm

Mr. Plinkett Talks About Halloween Ends

20 October 2022 @ 10:14 pm

Half in the Bag: Halloween Ends

19 October 2022 @ 7:59 pm

Creepshow 2 - re:View

14 October 2022 @ 7:37 pm

Creepshow - re:View

1 October 2022 @ 2:02 pm

A Wolf in VR

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

Sample VR gaming via a Wolf.

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

Independent press real researchers, real journalists, real news. Fighting the corrupt mainstream view.

UK Column News - 2nd December 2022

1 January 1970 @ 12:00 am

UK Column News - 30th November 2022

1 January 1970 @ 12:00 am

Vaccines? Don’t trust the Government (Vaccine Damage—Real People)

1 January 1970 @ 12:00 am

The man whose very grave Covid vaccine damage was declared “medical misinformation” by YouTube and whose story was spiked by the BBC speaks.

Debi Evans Blog: 29 November 2022

1 January 1970 @ 12:00 am

Debi Evans continues her weekly blog of startling events in healthcare. Why are the nurses really going on strike?

UK Column News - 28th November 2022

1 January 1970 @ 12:00 am

Vaccine Damage—Real People: Adam

1 January 1970 @ 12:00 am

From the peak of fitness to struggling for breath, thanks to following the science. Sports physiotherapist Adam Rowland's horrible adverse reactions to a Covid injection got him ridiculed and called a drug addict.

UK Column News - 25th November 2022

1 January 1970 @ 12:00 am

NHS Nurse’s Fight for Freedom of Belief

1 January 1970 @ 12:00 am

Cultural Marxism’s long march through the institutions has captured the Tavistock and Portman NHS Foundation Trust in North London. Tavistock’s clinical training now includes lectures on “whiteness” and the problematic and “racist” nature of Christianity.

UK Column News - 23rd November 2022

1 January 1970 @ 12:00 am

Debi Evans Blog: 22 November 2022

1 January 1970 @ 12:00 am

Debi Evans continues her weekly blog of startling events in healthcare.


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

Motorcycle vblog and chat with challenges.
Continue reading


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

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

Why Is She Like This!? 3

29 November 2022 @ 2:56 pm

Joey B vs. the World #23: Make It Stop!

17 November 2022 @ 5:00 pm

This Is Why I Stay Home

9 November 2022 @ 2:52 pm

TikTok and #IDIOCRACY 9

29 October 2022 @ 3:31 pm

Wackjobs and #PROTESTS 2

21 October 2022 @ 1:51 pm

Narcissists and #SIMPS

30 September 2022 @ 2:00 pm

TikTok and #IDIOCRACY 8

22 September 2022 @ 1:43 pm

Idiots and #MILK

7 September 2022 @ 12:26 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 22.10 Kinetic Kudu Released

20 October 2022 @ 6:58 pm

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

Kubuntu Kinetic Kudu (22.10) Beta Released

30 September 2022 @ 3:42 pm

The beta of Kubuntu Kinetic Kudu (to become 22.10 in October) has now been released, and is available for download. This milestone features images for Kubuntu and other Ubuntu flavours. Pre-releases of Kubuntu Kinetic Kudu are not recommended for: Anyone needing a stable system Regular users who are not aware...

Plasma 5.26 Beta available for testing

19 September 2022 @ 5:12 pm

Are you using Kubuntu 22.04 Jammy Jellyfish, our current stable LTS release? Or are you already running our development builds of the upcoming 22.10 Kinetic Kudu? We currently have Plasma 5.25.90 (Plasma 5.26 Beta) available in our Beta PPA for Kubuntu 22.04 and for the 22.10 development series. However this...

Kubuntu 20.04.5 LTS Update Available

2 September 2022 @ 11:17 am

The fifth point release update to Kubuntu 20.04 LTS (Focal Fossa) is out now. This contains all the bug-fixes added to 20.04 since its first release in April 2020. Users of 20.04 can run the normal update procedure to get these bug-fixes. See the Ubuntu 20.04.5 Release Notes and the...

Kubuntu Focus announce New NX Desktop

30 August 2022 @ 8:16 pm

Kubuntu Focus team announces their latest system: The Focus NX small form factor desktop. This is their third model optimized for Kubuntu 22.04 LTS and the KDE Plasma interface. The Kubuntu Focus NX can be ordered with either the i5-1135G7 or i7-1165G7 11th generation Intel® CPU. Both are fast and power-efficient. They also...

Kubuntu Council Elects 3 Councillors

30 August 2022 @ 8:06 pm

Members of the Kubuntu Council are responsible for considering proposals made by the wider Kubuntu community. The council formalises and ratifies proposals, then votes to obtain an outcome which directs the course of progress for Kubuntu. On 11 September I (Rick Timmis) will have been a councilor for the Kubuntu...

Plasma 5.25 for Jammy 22.04 available via PPA

25 August 2022 @ 9:45 am

We have had many requests to make Plasma 5.25 available in our backports PPA for Jammy Jellyfish 22.04. Providing backports of new Plasma versions to a LTS release always must be an ‘opt-in’ process, however we are aware that many of our users now are accustomed to adding our backports...

Kubuntu 22.04.1 LTS Update Available

12 August 2022 @ 11:34 am

The first point release update to Kubuntu 22.04 LTS (Jammy Jellyfish) is out now. This contains all the bug-fixes added to 22.04 since its first release in April 2022. Users of 22.04 can run the normal update procedure to get these bug-fixes. The first point release is also significant because...

Plasma 5.25 Beta available for testing

20 May 2022 @ 5:06 pm

Are you using Kubuntu 22.04 Jammy Jellyfish, our current Stable release? Or are you already running our development builds of the upcoming 22.10 Kinetic Kudu? We currently have Plasma 5.24.90 (Plasma 5.25 Beta)  available in our Beta PPA for Kubuntu 22.04, and in the Ubuntu archive and daily ISO build...

Kubuntu 22.04 LTS Released

21 April 2022 @ 5:36 pm

The Kubuntu Team is happy to announce that Kubuntu 22.04 LTS has been released, featuring the beautiful KDE Plasma 5.24 LTS: simple by default, powerful when needed. Codenamed “Jammy Jellyfish”, Kubuntu 22.04 continues our tradition of giving you Friendly Computing by integrating the latest and greatest Free Software technologies into...