search
  • Sign In
  • Sign Up
Password reset successful

Follow the proiects vou are interested in andi aet the latestnews about them taster

P粉011360903

P粉011360903

Follow
student

Follow 0
fans 0
integral 0
How do I make function decorators and chain them together?

How do I make two decorators in Python that would do the following? @make_bold @make_italic def say(): return "Hello" Calling say() should return: "Hello"

2026-01-24 13:43:07Ask
Python
mysql two column primary key with auto-increment

I have multiple databases with the same structure in which data is sometimes copied across. In order to maintain data integrity I am using two columns as the primary key. One is a da

2026-01-18 21:43:13Ask
MySQL
Why should a Java class implement comparable?

Why is Java Comparable used? Why would someone implement Comparable in a class? What is a real life example where you need to implement comparable?

2026-01-15 07:22:11Ask
Java
Programmatically change the src of an img tag

How can I change the src attribute of an img tag using javascript? at first I have a default src which is "../template/edit.png" and I wanted to change it with "../template/save.pn

2026-01-14 16:43:29Ask
JavaScript
How to read XML using XPath in Java

I want to read XML data using XPath in Java, so for the information I have gathered I am not able to parse XML according to my requirement. here is what I want to do: Get XML file

2026-01-03 12:43:20Ask
Java
Get chaincode caller ID from the function InvokeChaincode() in Hyperledger Fabric Node SDK

Let's suppose the following network architecture: A -> Chaincode1 -> fabcar A is the application, Chaincode1 is a chaincode in Go and fabcar is a chaincode in Nodejs. They are on t

2026-01-02 18:01:18Ask
Python
Differences between Lodash and Underscore.js [closed]

Why would someone prefer either the Lodash or Underscore.js utility library over the other? Lodash seems to be a drop-in replacement for underscore, the latte

2025-12-29 19:43:09Ask
JavaScript
SFINAE to check for inherited member functions

Using SFINAE, i can detect wether a given class has a certain member function. But what if i want to test for inherited member functions? The following does not work in VC8 and GCC4

2025-12-10 15:22:13Ask
C++
View | module has no default export

I'm getting an error in vue3, ts, vuecli which says Module '"c:/Users/USER/Documents/top-secret-project/src/components/Features/Features.vue"' has no default export. Import from file component I don't know why this particular component decided to work now. This is Features.vue<scriptlang="ts&qu

2023-10-26 09:06:56Ask
Vue.js
Center button component in Next.js app?

I'm using a button in my nextjs page which is on its own row. I want the button to appear in the middle of the page because I think that will look best on both PC and mobile, but no matter what I try, the button element can't seem to move from its original position on the far left of the page. Manually setting margin-left and margin-right to specific percentages moves the button as close to the center of the page as possible without squeezing the button's text into the next line. This is the only way I've found to make the button move, but it looks It doesn't look great and isn't practical. According to page

2023-09-18 22:05:21Ask
CSS3