StackOverflow.com

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.

About PHP for backend

19 March 2024 @ 1:45 am

Is it good to use PHP for the backend? I'm trying to build a website and I've used PHP for the backend and it's not at all working properly I'm stuck in making the forgot-password page and It's making my life hell even I'm getting depressed with this behavior of PHP and whenever I try to insert some HTML code in PHP code it misbehaves and I'm using an API for sending mail and It's not exactly working whenever I click on submit button it doesn't send mail it directly goes to action page. Please correct me if my code is wrong and if this is the drawback of PHP then please do suggest me some backend languages.Link to code

Add new module with API Pagination to exiting API with query parameter

19 March 2024 @ 1:44 am

I have problem, I have existing code to get data from API with Query Params like no_nspn or postal_code, with the same url : {{url}}/office-member?no_NSPN= or {{url}}/office?postal-code= so my code doing well like this: def __etl(name, uniques=None): """ ETL operation Do ETL on backbone dapodik web service data """ def func(param): assert "period_id" in param N_TRIES_LIMIT = 2 TOTAL_CALL = 0 TOTAL_ROW = 0 engine = db.get_engine("dwh") connection = engine.connect() endpoint = name.replace('_', '-') table_name = name.replace('-', '_') table_schema = 'dwh' # item fetcher fetch_items = [] # fetch using postal_code etl office data if name == "office": postal_code = list(pd.read_sql_query(""" SELECT

Unity problem that wont let me start the game

19 March 2024 @ 1:44 am

JSON parse error: Missing a name for object member. (Assets/Photon/PhotonUnityNetworking/Code/Editor/PhotonUnityNetworking.Editor.asmdef) ive been trying different things for so long but its not working JSON parse error: Missing a name for object member. (Assets/Photon/PhotonUnityNetworking/Code/Editor/PhotonUnityNetworking.Editor.asmdef)

Debug.Log not being written to the player.log after the beggining of a Build play time

19 March 2024 @ 1:44 am

I am using Unity to develop my game and I am running in some problems with debugging my builds. I have been trying to find the reason why my Debug.log commands don't seem to be written on my player.log file during my builds. In my editor it works fine, but in the build it runs until a certain point and then it does not log anything else. I am trying to solve this problem for sometime, since I am having some other problems that accour only in my builds and not in the editor and I was trying to debug them. It seems like anything in the Awake method at the first frame of the game is Debuged correctly accorint to my test, anything past the first frame does not get logged. I am running a little bit low on hope for this issue, since I made a post on Unity Forums in october 2023 and dind't got a single responce. I just let this slip and solve other problems in the game, but now I need to solve this no matter what. Any help or insight will be appreciated. Here is

CSVHelper: dynamically write to CSV

19 March 2024 @ 1:43 am

Let's say I have the following interface: public interface IStateInformation { public int TaskId { get; set; } public string Name { get; set; } } and the following class implementing this interface: public class ExternalStateInformation : IStateInformation { public int TaskId { get; set; } public string Name { get; set; } public string External { get; set; } } Now I want to write the following class to a CSV: public class SwitchingData { public string DateTime { get; set; } public int EpisodeId { get; set; } public IStateInformation SourceState { get; set; } public IStateInformation TargetState { get; set; } } As you can see, this class includes IStateInformation objects. When I try to write a record to a CSV file, only the propert

Astra Theme Mobile Menu Pushes Content Downward

19 March 2024 @ 1:42 am

When I tap on the the menu on a mobile device (phone), the menu pushes the content downward. How would I get this so that tapping on the menu just drops down and overlaps the content rather than pushing it downward?

Google chrome's caching behaviours for css sub-resources fetched with `url()`

19 March 2024 @ 1:42 am

CSS looks ordinarily: background-image: url(/path/to.png); Caching on the server side is set to be cache-control: no-cache. All resources are cached as expected (in cache, must revalidate), but sub-resources referred by url(...) in css stylesheets google chrome caches extremely agressively: the browser doesn't revalidate them. That's how the dev tools look like for what I'm talking about: enter image description here Firefox works as expected: every resource is revalidated (and http 304 is returned).

Issue with BERT Preprocessor model in TF2 and python

19 March 2024 @ 1:42 am

I am trying to use BERT to do a text classification project. However I keep running into this error ` ValueError Traceback (most recent call last) Cell In[37], line 4 2 text_input = tf.keras.Input(shape=(), dtype=tf.string, name='text') 3 bert_preprocess = hub.KerasLayer(preprocess_url, name='preprocessing') ----> 4 preprocessed_text = bert_preprocess(text_input) 5 bert_encoder = hub.KerasLayer(encoder_url, 6 trainable=True, 7 name='BERT_encoder') 8 outputs = bert_encoder(preprocessed_text) ValueError: Exception encountered when calling layer 'preprocessing' (type KerasLayer). A KerasTensor is symbolic: it's a placeholder for a shape an a dtype. It doesn't have any actual numerical value. You cannot convert it to a NumPy array. Call arguments received by layer 'preprocessing' (type KerasLayer): • inputs=<KerasTensor shape=(None,),

Clients' Policy Violations Risk for App Store & Google Play

19 March 2024 @ 1:41 am

I have a developer account and have some apps. I'm considering working as a freelancer now. I could have more than 10 clients in a year. If I upload my clients' apps to their developer accounts using my MacBook, and if one of them violate policies in their other apps and their developer accounts are suspended, will my personal developer account be affected negatively? (Because my macbook will be used for app submission, May Apple or Google relate my personal developer account with them?)

How to propagate module augmentation of custom MUI theme inside a component library monorepo?

19 March 2024 @ 1:40 am

In my company, we're building a monorepo of component libraries (no app). In our core package, we're exporting a custom MUI theme with custom brand options (using module augmentation, as per the docs), intended to be used in consumer apps to normalize the company branding and styles all throughout our applications. In another package of the monorepo (let's call it foo), we have a library that exports several components that uses MUI styled components internally, which should make use of our custom MUI theme, since that's the intended way for them to be used. However, because foo package itself doesn't have a direct dependency to the core package, and because there's no app or ThemeProvider involved here, typescript isn't able to guess the custom theme structure we are exporting in the

wolframalpha.com

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…

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, […]

The Story Continues: Announcing Version 14 of Wolfram Language and Mathematica

9 January 2024 @ 10:42 pm

Today we celebrate a new waypoint on our journey of nearly four decades with the release of Version 14.0 of Wolfram Language and Mathematica. Over the two years since we released Version 13.0 we’ve been steadily delivering the fruits of our research and development in .1 releases every six months. Today we’re aggregating these—and more—into Version 14.0.

Get Down to Business with Finite Mathematics in Wolfram Language

22 December 2023 @ 3:41 pm

“There is every reason to expect that the various social sciences will serve as incentives for the development of great new branches of mathematics and that some day the theoretical social scientist will have to know more mathematics than the physicist needs to know today.” —John G. Kemeny, first author of the original textbook on […]

A Year in Review: New from Wolfram Media in 2023

15 December 2023 @ 3:29 pm

With seven newly published titles and deals penned for translations into 13 languages, 2023 has been Wolfram Media’s most productive year yet. As our list continues to grow, we are proud to cover more and more Wolfram Language functionality in conceptual and practical ways for our readers. As we near the end of the year, […]

off-guardian.org

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.

“The World As It Was”: A Masterly Documentary Film

18 March 2024 @ 9:00 pm

Edward Curtin ` Here’s a film about the 1950s – “The World As It Was” – that will tell you a great deal about life in the U.S.A. today, while disabusing anyone of the notion that nostalgia for that mephitic decade is in order, for it was a time when “democracy” tended toward totalitarianism. In …

The State of Our Nation No One’s Talking About: Tyranny Is Rising as Freedom Falls

18 March 2024 @ 3:00 pm

John & Nisha Whitehead “Never has our future been more unpredictable, never have we depended so much on political forces that cannot be trusted to follow the rules of common sense and self-interest—forces that look like sheer insanity, if judged by the standards of other centuries.” Hannah Arendt, The Origins of Totalitarianism Day by day, tyranny …

This Week in the New Normal #85

17 March 2024 @ 6:30 pm

Our successor to This Week in the Guardian, This Week in the New Normal is our weekly chart of the progress of autocracy, authoritarianism and economic restructuring around the world. 1. Michael Gove’s Definition of Extremism UK Michael Gove MP made the news this week when he formally announced the UK government’s official definition of …

How generative AI will ruin science and academic research

17 March 2024 @ 1:00 pm

Johan Eddebo Background: the epistemology of modern mass media I often come back to Neil Postman’s 1985 classic Amusing Ourselves to Death. It’s a penetrating analysis on the cognitive effects of media technology. His focus is mainly on how the format and mode of communication influences the character of content and how that content then trains us, …

Pacifying the Insane

16 March 2024 @ 8:00 am

Todd Hayen Maybe using the word “insane” is overkill, but it makes a better title than using the word “troubled” or something equally innocuous. But maybe “Insane” actually might be the more accurate word to use because this article addresses people who willingly went along with the vaccine fiasco without a tinge of resistance or …

Winning the Meme War – #SolutionsWatch

15 March 2024 @ 9:30 pm

Bill Gates, GAVI and governments around the world are scrambling to censor the infowarriors of the internet age who are unlocking minds and awakening the masses, so it only makes sense that they’re cracking down on the most simple, effective and popular medium of information exchange: memes. In this edition of #SolutionsWatch, James Corbett interviews …

“Measles Mayhem”: Where is this going?

13 March 2024 @ 9:00 pm

Kit Knightly The headlines are full of measles at the moment, in the way that always reeks of coordination. The measles outbreak in the US has been simmering away for weeks, but was brought back to the front burner in the last few days. The Daily Mail headlining: America on verge of measles MAYHEM: Hundreds …

Net Zero, the Digital Panopticon and the Future of Food 

12 March 2024 @ 10:00 am

Colin Todhunter The food transition, the energy transition, net-zero ideology, programmable central bank digital currencies, the censorship of free speech and clampdowns on protest. What’s it all about? To understand these processes, we need to first locate what is essentially a social and economic reset within the context of a collapsing financial system. Writer Ted …

The Great Election Fraud: Manufactured Choices Make a Mockery of Our Republic

11 March 2024 @ 3:00 pm

John & Nisha Whitehead “Dictators are not in the business of allowing elections that could remove them from their thrones.” Gene Sharp, political science professor The U.S. Supreme Court was right to keep President Trump’s name on the ballot. The high court’s decree that the power to remove a federal candidate from the ballot under the Constitution’s “insurrectionist ban” …

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

44Teeth

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.

joeybtoonz

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

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

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

Creepers and #CHRISTMAS

10 December 2023 @ 2:13 pm

Narcissists and #FREEPALESTINE

23 November 2023 @ 2:34 pm

Narcissists and #SOCIALMEDIA 17

31 October 2023 @ 1:46 pm

kubuntu.org

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 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...

Kubuntu 23.04 Lunar Lobster Released

20 April 2023 @ 11:15 am

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

Kubuntu Lunar Lobster (23.04) Beta Released

7 April 2023 @ 1:12 pm

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

Kubuntu Manual 22.04.2 Release

6 March 2023 @ 2:21 pm

Hello everyone! It’s a great day with a new release of the Kubuntu Manual to match the recently-released Kubuntu 22.04.2 update. Thank you for the community members who provided feedback and filed bug reports to our GitHub project! You can find the new releases either on the GitHub releases page...

Plasma 5.27.2 for Kubuntu 22.10 available via PPA

1 March 2023 @ 9:10 pm

We have had many requests to make Plasma 5.27.2 available in our backports PPA for Kubuntu 22.10 (Kinetic Kudu). As usual with our PPAs, there is the caveat that the PPA may receive additional updates and new releases of KDE Plasma, Gear (Apps), and Frameworks, plus other apps and required...

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