Id int64 4 8.51M | PostTypeId int64 1 7 | AcceptedAnswerId int64 7 75.5M ⌀ | ParentId int64 4 41.8M ⌀ | Score int64 -208 27.7k | ViewCount int64 11 12.4M ⌀ | Body stringlengths 0 45k | Title stringlengths 2 150 ⌀ | ContentLicense stringclasses 3
values | FavoriteCount int64 0 225 ⌀ | CreationDate stringdate 2008-07-31 21:42:52 2011-12-14 18:48:47 | LastActivityDate stringdate 2008-08-01 12:19:17 2023-03-05 04:40:26 | LastEditDate stringdate 2008-08-01 13:54:25 2023-03-05 03:12:45 ⌀ | LastEditorUserId int64 -1 21.3M ⌀ | OwnerUserId int64 -1 21.1M ⌀ | Tags listlengths 1 6 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
75,639,117 | 1 | null | null | 0 | 24 | How can I print the following on one line?
```
The sum of <num> and <num2> is <sum>
```
Instead, it's printing on three lines:
```
Enter a number: 1
Enter a second number: 2
The sum of 1
and 2
equals 3
```
Here is my code:
```
section .data ;Data segment
userMsg db 'Enter a number... | How to print one continuous line of text from multiple write system calls, without newlines in assembly? | CC BY-SA 4.0 | null | 2023-03-04T22:39:50.840 | 2023-03-05T04:00:32.203 | 2023-03-05T04:00:32.203 | 224,132 | 21,333,737 | [
"linux",
"assembly",
"x86"
] |
75,639,104 | 1 | null | null | 0 | 15 | From a XML string, I produced a Pandoc document using
[readHtml :: (PandocMonad m, ToSources a) => ReaderOptions -> a -> m Pandoc](https://hackage.haskell.org/package/pandoc-3.1/docs/Text-Pandoc-Readers.html#v:readHtml)
And producing `m Text` (where `m` belongs to the Monad class) using
[writeMarkdown :: PandocMonad m ... | How to adjust the output of Text.Pandoc.Writers.writeMarkdown function? | CC BY-SA 4.0 | null | 2023-03-04T22:36:48.997 | 2023-03-04T22:36:48.997 | null | null | 9,759,263 | [
"haskell",
"markdown",
"pandoc"
] |
75,639,124 | 1 | null | null | 0 | 30 | I'm writing a code and I got a problem, my code is printing a new line in front of the output. Thanks for the help in advance
I tried
```
…
else {
System.out.println();
System.out.printf("%-44s | %5s | %s", movieName, movieRating, movieTime);
}
```
and the output is like
```
Wonders of the W... | My code is printing a new line in front of the output | CC BY-SA 4.0 | null | 2023-03-04T22:41:57.740 | 2023-03-04T23:23:00.087 | 2023-03-04T22:57:07.000 | 12,632,699 | 21,235,853 | [
"java",
"printing",
"output",
"newline"
] |
75,639,118 | 2 | null | 75,639,074 | 1 | null | You can send one more prop that will contain id of image as:
[CODESANDBOX](https://codesandbox.io/s/hardcore-black-cnr9eq?file=/src/App.js)
```
<FooterItem
number="01"
title="Reviving Retro PCs"
info="What happens when old PCs are given modern upgrades?"
imageId="img1"
/>
```
and ... | null | CC BY-SA 4.0 | null | 2023-03-04T22:39:58.190 | 2023-03-04T22:45:17.863 | 2023-03-04T22:45:17.863 | 9,153,448 | 9,153,448 | null |
75,639,126 | 1 | null | null | -4 | 25 | ```
‘’’ app =
app_ratings = [['Facebook', 3.5], ['Notion', 4.0], ['Astropad Standard', 4.5], ['NAVIGON Europe', 3.5]]
for app_ratings in app[1:]:
if app_ratings < 3.0:
app.append('below average')
elif 3.0 <= app_ratings < 4.0:
app.append('roughly average')
elif app_ratings >= 4.0:
app.append('better ... | Value of app_ratings is not what we expected | CC BY-SA 4.0 | null | 2023-03-04T22:42:18.963 | 2023-03-04T23:04:51.513 | 2023-03-04T22:45:14.243 | 16,462,878 | 11,915,141 | [
"python"
] |
75,639,125 | 1 | null | null | 0 | 9 | I am streaming a video feed (RTSP) and doing analytics on it. The code works fine but it just hangs after a long streaming period. I put Wireshark on it and found, for the most part, that the server (10.61.41.4) is sending a Keep-alive, the client is responding with ACK but no data is returned from the server. The clie... | Python: Prevent script from stopping or hanging when RTSP from application fails | CC BY-SA 4.0 | null | 2023-03-04T22:42:11.700 | 2023-03-04T22:42:11.700 | null | null | 14,465,426 | [
"python",
"rtsp",
"ffprobe"
] |
75,639,127 | 1 | 75,639,169 | null | -2 | 23 | I am parsing through some code for an SSD simulator. The top module imports the package `experiment`. It later instantiates an object to this module as follows:
```
from config_helper import experiment
.
.
.
if __name__ == '__main__':
.
.
experiment = RunFTL(args)
experiment.run()
```
Inside the `experiment` m... | Using module as variable | CC BY-SA 4.0 | null | 2023-03-04T22:42:21.620 | 2023-03-04T22:52:05.857 | 2023-03-04T22:47:24.693 | 3,890,632 | 20,568,103 | [
"python",
"python-2.7"
] |
75,639,098 | 1 | null | null | 0 | 10 | Cannot connect images using line JQueryUI canvas
Hello,
I'm creating a component for a web application to allow users to create workflows. The problem I'm facing is when I want to create arrows between images to indicate the flow, nothing happens.
Can you help me understand what I'm doing wrong?
Thank you very much in ... | Problem trying to connect images using lines | CC BY-SA 4.0 | null | 2023-03-04T22:35:33.007 | 2023-03-04T22:35:33.007 | null | null | 1,235,596 | [
"jquery",
"asp.net",
"jquery-ui",
"html5-canvas"
] |
75,639,128 | 1 | null | null | -2 | 7 | > [](https://i.stack.imgur.com/OcnGl.png)[](https://i.stack.imgur.com/p9GUi.png)Legend:
Email is the primary key of RegularUser
(Email, Interest) is a candidate key of UserInterestsWhich statement is true for all states of the database?[](https://i.stack.imgur.com/hYmOa.jpg)[](https://i.stack.imgur.com/UkStQ.jpg)What i... | number of tuples in a projection | CC BY-SA 4.0 | null | 2023-03-04T22:42:24.753 | 2023-03-04T23:01:00.950 | 2023-03-04T23:01:00.950 | 3,404,097 | 12,901,275 | [
"database",
"primary-key",
"relational-algebra",
"candidate-key"
] |
75,639,132 | 1 | null | null | 0 | 6 | i have 2 fragments: base and bottomSheet.
in my main fragment i have:
```
parentFragmentManager.setFragmentResult(
WEATHER_RESPONSE_KEY,
bundleOf(WEATHER_RESPONSE_KEY to newValue)
)
```
i start bottomSheet this way:
```
InfoBottomSheetFragment.newInstance()
.show(
... | Bottom Sheet dialog fragment doesn't see fragment result api values | CC BY-SA 4.0 | null | 2023-03-04T22:43:05.270 | 2023-03-04T22:43:05.270 | null | null | 19,971,105 | [
"android",
"fragment"
] |
75,639,131 | 1 | null | null | 0 | 7 | I was trying to make economy system. On end of proccess you shloud recieve DM about somone send you money. But when bot try to DM someone he cant.
Error:
```
/home/container/node_modules/@discordjs/rest/dist/index.js:787
throw new Error("Expected token to be set for this request, but none was present");
... | Expected token to be set for this request, but none was presen ERROR while DMing user | CC BY-SA 4.0 | null | 2023-03-04T22:42:59.310 | 2023-03-04T22:42:59.310 | null | null | 20,548,261 | [
"javascript",
"discord",
"discord.js"
] |
75,639,136 | 1 | null | null | 0 | 3 | In three-fiber, I have a spotlight, but it is "pointing" at {[0,0,0]}. I tried adjusting the `target` and the `lookAt` properties to {[0,0,0]}
```
<spotLight position={[0, 20, -20]} intensity={1.5} color="#fff" penumbra={0.5} castShadow={false} />
```
> TypeError: Cannot read properties of undefined (reading 'element... | Three-fiber get spotlight with a new position to point straight down | CC BY-SA 4.0 | null | 2023-03-04T22:44:30.517 | 2023-03-04T22:44:30.517 | null | null | 1,751,977 | [
"three.js",
"react-three-fiber"
] |
75,639,129 | 2 | null | 75,638,331 | 0 | null | `list` is a subtype of the abstract base class [Sequence](https://docs.python.org/3/library/collections.abc.html#collections-abstract-base-classes). You cannot annotate a variable with `list` and then assign a `Sequence` to it because that `Sequence` could be something other than a `list`, such as a `tuple` for example... | null | CC BY-SA 4.0 | null | 2023-03-04T22:42:34.893 | 2023-03-04T22:42:34.893 | null | null | 19,770,795 | null |
75,639,139 | 1 | null | null | -1 | 7 | I am working in Google Sheets and 75% of the time, autofill is great. However it is occasionally disruptive.
An example:
I am working in a sheet and lets say I enter "Foot and Socks" in cell D5. Then I enter arbitrary info in cells E5 - G5 and press enter to go the next line. In cell D6 I want to enter just "Foot". Aut... | Google Sheets - Prevent autofill for single cell | CC BY-SA 4.0 | null | 2023-03-04T22:44:58.370 | 2023-03-04T22:44:58.370 | null | null | 10,836,937 | [
"google-sheets",
"autocomplete",
"autofill"
] |
75,639,073 | 1 | null | null | 1 | 14 | I'd like to bring the `"observationDate"`, `"observationId"` and `"requestedRoutingSkillIds"` fields to the root of their respective objects based on this :
```
{
"results": [
{
"group": {
"queueId": "fila1",
"mediaType": "message"
},
"data": [
{
"metric": "oIn... | Root array values without keys | CC BY-SA 4.0 | null | 2023-03-04T22:29:27.507 | 2023-03-04T23:09:17.097 | 2023-03-04T23:06:35.117 | 162,698 | 21,322,309 | [
"json",
"apache-nifi",
"jolt"
] |
75,639,137 | 1 | null | null | 0 | 6 | Hello I am new to tensorflow and I am working on a code that I would like to migrate from tensorflow 1 to 2. I have this line of code:
```
x1 = tf.compat.v1.placeholder(tf.float32, [], name="x1")
```
As mentioned in [https://www.tensorflow.org/api_docs/python/tf/compat/v1/placeholder](https://www.tensorflow.org/api_do... | TF1 to TF2 migration | CC BY-SA 4.0 | null | 2023-03-04T22:44:35.060 | 2023-03-04T22:44:35.060 | null | null | 15,822,972 | [
"python",
"keras",
"migration",
"tensorflow2.0",
"placeholder"
] |
75,639,140 | 2 | null | 75,626,456 | 0 | null | Some buildpacks support a `Procfile`, which allows you to configure the process used to launch the image like this:
```
web: npm start
```
For a more buildpacks-native approach see the documentation on launch processes. [https://buildpacks.io/docs/app-developer-guide/run-an-app/](https://buildpacks.io/docs/app-develo... | null | CC BY-SA 4.0 | null | 2023-03-04T22:45:03.423 | 2023-03-04T22:45:03.423 | null | null | 63,308 | null |
75,639,130 | 2 | null | 75,639,073 | 0 | null | You can deep dive into `"observations"` array and loop in order to bring the outer objects from there such as
```
[
{
"operation": "shift",
"spec": {
"results": {
"*": {
"data": {
"*": {
"observations": {
"*": {
"@4,group.queu... | null | CC BY-SA 4.0 | null | 2023-03-04T22:42:48.437 | 2023-03-04T23:09:17.097 | 2023-03-04T23:09:17.097 | 5,841,306 | 5,841,306 | null |
75,639,138 | 1 | null | null | 0 | 11 |
## Context
I have a Python application with a GUI. The user can press a button from this GUI that launches a third-party program with various arguments. Once this program is launched, it should be independent of my Python program (i.e., if my program is terminated, the third-party one should remain running).
## M... | In Python 3.10, how can I launch a program as a detached process where that program's output is not sent to my script's terminal? | CC BY-SA 4.0 | null | 2023-03-04T22:44:46.610 | 2023-03-04T22:44:46.610 | null | null | 16,500,201 | [
"python",
"terminal",
"subprocess",
"popen"
] |
75,639,135 | 1 | null | null | 0 | 8 | I am working on a NextJS project and I am building a library that I can re-use for other projects. In the library, I am creating a javascript class as below:
```
export class EmailManager {
private nodemailer: any = null;
private transporter : any = null;
constructor()
{
if (typeof window === ... | Creating javascript class in NextJS library that uses server side code throws error on frontend even though not imported | CC BY-SA 4.0 | null | 2023-03-04T22:44:17.807 | 2023-03-04T22:44:17.807 | null | null | 499,448 | [
"next.js"
] |
75,639,142 | 1 | null | null | 0 | 6 | In the following code, the ErrorMessage only works if I comment out the onBlur.
I've tried multiple fixes, but none work. Any help is appreciated!
```
<Field
id='name'
name='name'
placeholder='building'
onBlur={isValid ? handleBlur : null}... | Formik onBlur and ErrorMessage do not work together | CC BY-SA 4.0 | null | 2023-03-04T22:45:16.287 | 2023-03-04T22:55:51.147 | null | null | 10,695,161 | [
"javascript",
"formik"
] |
75,639,145 | 2 | null | 75,631,869 | 0 | null | You can avoid the re-render by using [the callback form of setMap](https://beta.reactjs.org/reference/react/useState#updating-state-based-on-the-previous-state) which lets you provided value based on the previous value:
```
function useMap(mapRef, location) {
const [map, setMap] = useState(null)
useEffect(() =>... | null | CC BY-SA 4.0 | null | 2023-03-04T22:45:58.047 | 2023-03-04T22:45:58.047 | null | null | 21,146,235 | null |
75,639,144 | 1 | null | null | -1 | 14 | I tried to search for a program on Vanilla os using `apx search` and it couldn't run probably the most important tool a computer could have.
I try to use `apx search`, and outputs this:
```
$ apx search java
Container apx_managed is not running.
Starting container apx_managed
run this command to follow along:
podman ... | The package manager on my computer isn't starting | CC BY-SA 4.0 | null | 2023-03-04T22:45:53.920 | 2023-03-04T22:45:53.920 | null | null | 16,244,021 | [
"linux",
"apt"
] |
75,639,147 | 2 | null | 75,639,063 | 1 | null | FastAPI [requires Python 3.7+](https://pypi.org/project/fastapi/), it's not compatible with your interpreter.
In your case the app fails because the `asyncio.run()` function was added in Python 3.7.
| null | CC BY-SA 4.0 | null | 2023-03-04T22:46:48.803 | 2023-03-04T22:46:48.803 | null | null | 7,732,200 | null |
75,639,143 | 1 | null | null | 0 | 7 | Running this on Ubuntu 22.04:
So running this to see:
```
ls -l /usr/lib/x86_64-linux-gnu/ | grep SDL
lrwxrwxrwx 1 root root 20 фев 18 2021 libSDL-1.2.so.0 -> libSDL-1.2.so.0.11.4
-rw-r--r-- 1 root root 448232 фев 18 2021 libSDL-1.2.so.0.11.4
-rw-r--r-- 1 root root 822160 фев 18 2021 libSDL.a
lrwxrwx... | CMake - find_package(SDL REQUIRED) works but find_package(SDL2 REQUIRED) does not | CC BY-SA 4.0 | null | 2023-03-04T22:45:30.277 | 2023-03-04T22:45:30.277 | null | null | 2,661,419 | [
"cmake",
"sdl"
] |
75,639,133 | 2 | null | 75,636,778 | 0 | null | I'm not sure if I understood the question correctly. Why don't you use many-to-many relationships? Is it a design choice? Let me try to answer in both flavors.
When using the 'many-to-many' relationships, you shouldn't create entity classes for join tables. In your example, the class "HouseOwner" shouldn't be coded. Y... | null | CC BY-SA 4.0 | null | 2023-03-04T22:43:11.117 | 2023-03-04T22:43:11.117 | null | null | 8,908,834 | null |
75,639,148 | 2 | null | 75,639,020 | 0 | null | to match all you can use
you need to match exactky the pattern
```
select REGEXP_REPLACE('_$deleted$73$0 RRR SSS','_\$deleted\$.*\$0','I01') from dual ;
```
| REGEXP_REPLACE('_$DELETED$73$0RRRSSS','_$DELETED$.*$0','I01') |
| ------------------------------------------------------------- |
| I01 RRR SSS |
[fiddle]... | null | CC BY-SA 4.0 | null | 2023-03-04T22:46:52.677 | 2023-03-04T22:46:52.677 | null | null | 5,193,536 | null |
75,639,153 | 2 | null | 75,638,677 | 0 | null | you could copy paste the code where it would be useful but i think that it would be better if you made it a function you could call it at will and the code will not run until called on.
```
def yourfunctionnamehere():
yourcode
```
this is how you create a function
| null | CC BY-SA 4.0 | null | 2023-03-04T22:47:23.010 | 2023-03-04T22:50:30.170 | 2023-03-04T22:50:30.170 | 21,332,882 | 21,332,882 | null |
75,639,146 | 1 | null | null | 0 | 13 | I've got a script that when run sends out an email with information taken from a Google Sheet. At the moment it is only in text form, but I would also like to add in additional information in a table format (2 columns and a varying number of rows dependant on how many rows of data is there).
Can someone please advise h... | Trying to add a varying range of data from a google sheet into an email via Google Apps script | CC BY-SA 4.0 | null | 2023-03-04T22:46:04.900 | 2023-03-04T22:46:04.900 | null | null | 21,333,723 | [
"google-apps-script",
"google-sheets",
"gmail"
] |
75,639,134 | 1 | null | null | 0 | 9 | In Apache Atlas, I am trying to model the data flow of different processes. The issue I am having is that some of these processes share common DataSets but I don't necessarily want the different processes I am modeling to appear to be connected to each other.
For example, in this lineage model, I want to show that the... | Creating Data Lineage | CC BY-SA 4.0 | null | 2023-03-04T22:44:01.440 | 2023-03-04T22:44:01.440 | null | null | 240,385 | [
"hortonworks-data-platform",
"apache-atlas",
"hortonworks-dataflow",
"governance",
"data-governance"
] |
75,639,149 | 1 | null | null | 0 | 15 | I need to write a Streamlit app that acts as a Terminal, meaning that it behaves exactly like the terminal would, including by asking the user for input() when required by the script.
The script "danse_macabre.py" is a command line text RPG, so the user needs to give regular inputs and get responses from the system. It... | Create a widget that acts as a terminal | CC BY-SA 4.0 | null | 2023-03-04T22:46:54.827 | 2023-03-04T22:52:43.860 | 2023-03-04T22:52:43.860 | 162,698 | 661,720 | [
"python",
"subprocess",
"streamlit"
] |
75,639,155 | 2 | null | 75,599,097 | 0 | null | I was unable to get the command line tool to work. I resolved my issue by updating to Plesk Onyx From Plesk 12, I realized I was on a pretty old outdated version. Now I can add the web site(s) with no issues.
| null | CC BY-SA 4.0 | null | 2023-03-04T22:48:29.300 | 2023-03-04T22:48:29.300 | null | null | 15,789,484 | null |
75,639,151 | 1 | null | null | -3 | 23 | I am trying to create a chatbot in console using c++ and openAI davinci. Problem is that whenever given any prompt, openAI returns something like:
`d flags with conflicting types: \\n\\t{}\\n\\t{}\\n\\t{}'\n print(sep.join([line, prevLine, nextLine]))\n prevLine = line\n continue\n else:\n if inFlag == 2:\n if isParame... | OpenAI davinci returns random code nonsense when given any prompt | CC BY-SA 4.0 | null | 2023-03-04T22:47:16.577 | 2023-03-04T22:47:16.577 | null | null | 16,988,468 | [
"c++",
"curl",
"libcurl",
"openai-api",
"chatgpt-api"
] |
75,639,141 | 2 | null | 75,612,122 | 1 | null | As you noted (and as I have noted in a [previous answer](https://stackoverflow.com/a/72277760/1271826)), dispatching synchronously from a serial queue to itself will always deadlock. And this makes perfect sense. Because it is synchronous, you are blocking the caller’s thread (and because the caller was on a serial que... | null | CC BY-SA 4.0 | null | 2023-03-04T22:45:09.250 | 2023-03-05T00:20:31.720 | 2023-03-05T00:20:31.720 | 1,271,826 | 1,271,826 | null |
75,639,150 | 1 | null | null | 0 | 8 | So in order to fix a pesky crash I was getting in production on Android 6 devices, I was forced to strictly use the android version of guava in gradle.
The crash in question is described here if interested: [java.lang.NoClassDefFoundError: com.google.common.base.CharMatcher](https://stackoverflow.com/questions/64015869... | Strictly enforcing a dependency version is required to fix a crash, but causes unit-test dependency conflicts. How to solve? | CC BY-SA 4.0 | null | 2023-03-04T22:47:13.830 | 2023-03-04T22:47:13.830 | null | null | 2,125,351 | [
"android",
"gradle",
"android-gradle-plugin",
"dependencies",
"guava"
] |
75,639,152 | 2 | null | 73,765,469 | 0 | null | It is working on my flutter project
- Please, don't select a team, you don't need it- remove "Pods" folder (project_name>ios>Pods)- remove "Podfile.lock" file (project_name>ios>Podfile.lock)- open "Podfile" file (project_name>ios>Podfile) and change```
post_install do |installer|
installer.pods_project.targets.each do ... | null | CC BY-SA 4.0 | null | 2023-03-04T22:47:21.183 | 2023-03-04T22:59:25.213 | 2023-03-04T22:59:25.213 | 16,349,770 | 16,349,770 | null |
75,639,154 | 1 | null | null | 0 | 59 | I'm having an issue were the event listener is not being removed, each time the gameLoop func is called again its doing eveything 2x, 4x, ect.. every time the game loop rolls around.
```
function gameLoop(data) {
let currentQuestion = newQuestion(data); // randomizes the question
displayAnswers.forEach(element... | Javascript event listener not being removed | CC BY-SA 4.0 | null | 2023-03-04T22:47:45.467 | 2023-03-05T00:08:20.343 | 2023-03-04T23:30:09.870 | 34,806 | 14,251,353 | [
"javascript",
"removeeventlistener"
] |
75,639,159 | 2 | null | 72,604,504 | 0 | null | To be recognized as a microphone by conferencing apps I am not aware of any solution other than a custom kernel-mode driver.
I went through this exercise recently and it took me several weeks as an experienced developer new to kernel mode driver development.
This sample driver will do what you want including playing th... | null | CC BY-SA 4.0 | null | 2023-03-04T22:48:59.957 | 2023-03-04T22:48:59.957 | null | null | 21,333,738 | null |
75,639,156 | 2 | null | 75,639,007 | 0 | null | You can modify the grouper function to handle arrays with odd sizes by checking the length of the input iterable and forming groups of three if necessary.
This can be solved in many ways but here is one way I tested.
```
import random
from itertools import zip_longest
def grouper(iterable, n, fillvalue=None):
args... | null | CC BY-SA 4.0 | null | 2023-03-04T22:48:32.973 | 2023-03-04T22:48:32.973 | null | null | 3,443,037 | null |
75,639,158 | 2 | null | 20,550,746 | 0 | null | Using `java.net.http.HttpRequest`, when building one with a RequestBuilder instead of using the `.GET()` method that doesn't take paramenters, user the `.method(method, bodyPublisher)`
```
HttpClient clientFwd = HttpClient.newHttpClient();
HttpRequest get = HttpRequest.newBuilder()
.uri(URI.create(YOURURI))... | null | CC BY-SA 4.0 | null | 2023-03-04T22:48:50.027 | 2023-03-04T22:48:50.027 | null | null | 3,908,170 | null |
75,639,160 | 1 | null | null | -2 | 18 | I've got the following Python code to make the FMX GUI Form, but I'm trying to make the code shorter if possible. What is the least amount of code that is required to make only a `Form` and show it. Here's my current code:
```
from delphifmx import *
class frmMain(Form):
def __init__(self, owner):
self.Wid... | What is the absolute simplest way to make a Python FMX GUI App? | CC BY-SA 4.0 | null | 2023-03-04T22:49:26.853 | 2023-03-04T23:04:48.033 | 2023-03-04T23:04:48.033 | 2,908,017 | 2,908,017 | [
"python",
"user-interface",
"firemonkey"
] |
75,639,166 | 1 | null | null | -1 | 7 | keep getting this error message with myphpadmin
To get to the login.php interface
| I keep getting error message when am trying to access myphpadmin | CC BY-SA 4.0 | null | 2023-03-04T22:51:50.213 | 2023-03-04T22:51:50.213 | null | null | 21,333,757 | [
"mysql",
"phpmyadmin",
"passwords",
"localhost"
] |
75,639,161 | 2 | null | 75,639,160 | 0 | null | You don't necessarily need to create a class of Form: `class frmMain(Form)`. You could just initialize and create the `Form` the same way you would create a component:
```
from delphifmx import *
Application.Initialize()
frmMain = Form(Application)
Application.MainForm = frmMain
frmMain.Show()
Application.Run()
frmMai... | null | CC BY-SA 4.0 | null | 2023-03-04T22:49:26.853 | 2023-03-04T22:55:49.573 | 2023-03-04T22:55:49.573 | 2,908,017 | 2,908,017 | null |
75,639,164 | 1 | 75,639,197 | null | -1 | 61 | I am trying to create a bash script to find and replace all filenames containing n.n with n-n recursively from a certain directory. My filenames might contain several periods but I only need to change the periods between numbers.
I want to replace these filenames as I created a lot of them by mistake. My media player l... | How can I create a linux .sh scipt to replace all periods between numbers, with hyphens between numbers, in all filenames recursively | CC BY-SA 4.0 | null | 2023-03-04T22:49:50.547 | 2023-03-05T04:02:31.273 | 2023-03-04T23:32:13.913 | 16,372,109 | 21,321,920 | [
"bash",
"recursion",
"replace",
"filenames"
] |
75,639,165 | 1 | null | null | 0 | 33 | I have a question regarding Unix and shell. So my looks as follows:
```
path/filename ... username
path/filename2 ... username2
path/filename ... username2
...
```
and my desired goal, using ideally awk or sed, is to output something like:
```
filename username,username2
filename2 username2
```
so basically output o... | Matching multiple values from matched file lines to one | CC BY-SA 4.0 | null | 2023-03-04T22:51:30.007 | 2023-03-05T01:26:30.040 | null | null | 12,801,311 | [
"linux",
"shell",
"unix",
"awk",
"sed"
] |
75,639,169 | 2 | null | 75,639,127 | 0 | null | It just rebinds the name, much like the `x = 2` in
```
x = 1
x = 2
```
Before the assignment, `experiment` in this scope referred to the object imported from `config_helper`. After the assignment, `experiment` in this scope refers to the new instance of `RunFTL`.
Reassigning imported names like this is almost always a... | null | CC BY-SA 4.0 | null | 2023-03-04T22:52:05.857 | 2023-03-04T22:52:05.857 | null | null | 2,357,112 | null |
75,639,163 | 1 | null | null | 0 | 6 | I want to add a share button to my webpage, but the documentation is confusing. I've read pretty much all the docs in the Facebook page and i found like 3 ways to setup the SDK so i can later add the share button and other plugins. So, what method is the latest best method to use?
1
```
<div id="fb-root"></div>
<sc... | Best way to setup the Facebook SDK? | CC BY-SA 4.0 | null | 2023-03-04T22:49:36.487 | 2023-03-04T22:49:36.487 | null | null | 888,139 | [
"javascript",
"facebook"
] |
75,639,162 | 2 | null | 75,637,090 | 0 | null | I went digging into the MudBlazor code. Turns out you need to account for a null as the initial value for the property `bind-Value` is bound to. The control tries to apply `ToStringFunc` to a null T; if you don't code to handle nulls, bang!
This checks if item is null before trying to return item.Name.
```
item => ite... | null | CC BY-SA 4.0 | null | 2023-03-04T22:49:34.140 | 2023-03-04T23:04:55.200 | 2023-03-04T23:04:55.200 | 13,065,781 | 13,065,781 | null |
75,639,172 | 1 | null | null | -5 | 25 | I need to create a function that takes a number and converts it into an alpha character. I would say it can be converted to a hexadecimal number but it should not contain numbers.
For example, the first number could be "a" meaning "0" and then "b" could be "1" and so on until "z" and then it would be "aa" until "zz" an... | Create and increment an alpha characters but without using numbers | CC BY-SA 4.0 | null | 2023-03-04T22:53:00.807 | 2023-03-04T23:07:46.557 | 2023-03-04T23:07:46.557 | 441,016 | 441,016 | [
"javascript",
"numbers",
"letter",
"letters-and-numbers"
] |
75,639,168 | 2 | null | 75,594,531 | 0 | null | Finally with the help of @MicaelLevi, I implemented this and the mock works fine for automapper. The Automapper Profiles must also be passed in the providers section.
```
let mapper: Mapper;
beforeEach(async () => {
const moduleRef = await Test.createTestingModule({
imports: [AutomapperModule],
contr... | null | CC BY-SA 4.0 | null | 2023-03-04T22:52:03.910 | 2023-03-04T22:53:18.433 | 2023-03-04T22:53:18.433 | 15,048,371 | 15,048,371 | null |
75,639,176 | 2 | null | 74,491,797 | 0 | null | For libsoup 3.0, you would do
```
let message = Soup.Message.new_from_encoded_form('GET', MY_URL, Soup.form_encode_hash(params));
```
| null | CC BY-SA 4.0 | null | 2023-03-04T22:54:51.307 | 2023-03-04T22:54:51.307 | null | null | 3,025,163 | null |
75,639,173 | 2 | null | 75,639,004 | 1 | null |
[Here's a canonical way](https://stackoverflow.com/a/65114346/7732200) to get request body as any valid JSON in FastAPI.
If you want to stick to the current solution, there are two things to be changed:
- `request.json()`- `request.json()``async`[here](https://stackoverflow.com/questions/70658748/using-fastapi-in-a-sy... | null | CC BY-SA 4.0 | null | 2023-03-04T22:53:45.880 | 2023-03-04T23:09:00.637 | 2023-03-04T23:09:00.637 | 7,732,200 | 7,732,200 | null |
75,639,157 | 2 | null | 75,634,009 | 0 | null | Unfortunately, you cannot catch `States.Runtime` errors.
"An execution failed due to some exception that it couldn't process. Often these are caused by errors at runtime, such as attempting to apply InputPath or OutputPath on a null JSON payload. A States.Runtime error isn't retriable, and will always cause the executi... | null | CC BY-SA 4.0 | null | 2023-03-04T22:48:33.363 | 2023-03-04T22:48:33.363 | null | null | 20,586,135 | null |
75,639,175 | 2 | null | 75,497,515 | 0 | null | I used the following to redirect certain pages:
```
[
{
"Condition": {
"KeyPrefixEquals": "category/data-science"
},
"Redirect": {
"HostName": "john.soban.ski",
"Protocol": "https",
"ReplaceKeyWith": "cat/data-science.html"
}
},
... | null | CC BY-SA 4.0 | null | 2023-03-04T22:54:04.270 | 2023-03-04T22:54:04.270 | null | null | 8,570,881 | null |
75,639,167 | 1 | null | null | 0 | 23 |
Main thread is sync and there's additional thread which runs Tokio Runtime.
I need to pass an async function from the sync thread to tokio thread.
```
use std::{future::Future, thread, thread::JoinHandle};
use tokio::{
sync::mpsc::{unbounded_channel, UnboundedReceiver, UnboundedSender}
};
type Job = Box<dyn (FnO... | Passing async function to tokio::spawn from another thread | CC BY-SA 4.0 | null | 2023-03-04T22:51:50.777 | 2023-03-04T23:12:13.680 | null | null | 403,543 | [
"rust",
"rust-tokio"
] |
75,639,170 | 2 | null | 73,384,186 | 0 | null | The way suggested in the comments should work in javascript, given that the definition of
the function is done before the function is used, e.g.:
```
// -- file A.js:
window.p = console.log;
export const A = function( props ){
p('log A');
return <>A</>;
};
// -- file B.js:
export const B = function( props )... | null | CC BY-SA 4.0 | null | 2023-03-04T22:52:18.473 | 2023-03-04T22:52:18.473 | null | null | 7,556,457 | null |
75,639,171 | 2 | null | 75,636,112 | 0 | null | Here is an example of using Templated HTML to create a `<select>`.
```
<!DOCTYPE html>
<html>
<head>
<base target="_top">
</head>
<body>
<p>Please select the name that matches: name3</p>
<select id="names" text="Select a name">
<option selected disabled>Select a name</option>
<? for(var i=0; i<arrayOfN... | null | CC BY-SA 4.0 | null | 2023-03-04T22:52:58.297 | 2023-03-05T00:10:56.543 | 2023-03-05T00:10:56.543 | 3,656,739 | 3,656,739 | null |
75,639,180 | 1 | null | null | 0 | 8 | The display setting in CentOS is always lost after reboot, want to know how to install VirtualBox Guest Additions in CentOS?
The display setting in CentOS is always lost after reboot, want to know how to install VirtualBox Guest Additions in CentOS?
| How can I install VirtualBox Guest Additions in CentOS | CC BY-SA 4.0 | null | 2023-03-04T22:55:26.013 | 2023-03-04T22:56:18.233 | null | null | 16,962,311 | [
"centos",
"virtualbox",
"virtualbox-guest-additions"
] |
75,639,183 | 2 | null | 75,639,142 | 0 | null | Formik's default `onBlur` handler takes care of "touching" the associated field:
```
setFieldTouched(field, true);
```
`ErrorMessage` only renders if [the associated field has been marked as touched](https://formik.org/docs/api/errormessage) so you'll need to do that yourself.
| null | CC BY-SA 4.0 | null | 2023-03-04T22:55:51.147 | 2023-03-04T22:55:51.147 | null | null | 21,146,235 | null |
75,639,177 | 1 | null | null | 0 | 8 | I'm trying to get SyncCentric to work with a legacy Classic ASP site that is currently using Amzpecty.
Any help would be greatly appreciated! Thanks
The cURL request should be:
```
curl "https://app.synccentric.com/api/v3/products" \
-H "Authorization: Bearer your-api-token" \
-d "identifiers[0][identifier]=B00YECW... | cURL with Classic ASP | CC BY-SA 4.0 | null | 2023-03-04T22:55:05.557 | 2023-03-04T22:55:05.557 | null | null | 1,519,995 | [
"curl",
"vbscript",
"winhttprequest"
] |
75,639,181 | 1 | null | null | 0 | 16 | I'm making an online shooting game with HTML, React, and socket.io and when a user makes a shot I get the necessary data to replicate the shot in the screen of the other user, but after create the bullet (which it is a div) I can't access to the element. I usually solve this kind of problems using useRef(), but in this... | “Cannot read properties of null” when I tried to get a DOM element after created it with useState() | CC BY-SA 4.0 | null | 2023-03-04T22:55:35.370 | 2023-03-04T23:07:46.347 | 2023-03-04T23:07:46.347 | 11,805,606 | 11,805,606 | [
"reactjs",
"react-hooks",
"socket.io"
] |
75,639,189 | 2 | null | 75,638,871 | 0 | null | This will just add the `transitionend` event handler, but you [really should not need the others](https://caniuse.com/mdn-api_element_transitionend_event).
| null | CC BY-SA 4.0 | null | 2023-03-04T22:57:48.633 | 2023-03-04T22:57:48.633 | null | null | 546,730 | null |
75,639,184 | 2 | null | 75,633,552 | 1 | null | The problem you are experiencing is that the call of update() on the whole fact notify a global change to the engine of your instance of type `Project`, and in turn the rule with higher priority/salience is designed to just match on a `Project()` without any constraint.
In other words, the engine is behaving as intende... | null | CC BY-SA 4.0 | null | 2023-03-04T22:55:58.567 | 2023-03-04T22:55:58.567 | null | null | 893,991 | null |
75,639,186 | 1 | null | null | 0 | 6 | I have two matches to compare
```
string.match(first_one, second_one)
```
first_one number is : 12
second_one number is : 12838138939
for example, I've already put them as local's
```
local first_one = 12
local second_one = 12838138939
```
So they must be variable's in my situation to compare
But for example, if the ... | LUA NGINX String.match | CC BY-SA 4.0 | null | 2023-03-04T22:56:18.177 | 2023-03-04T22:56:18.177 | null | null | 17,502,685 | [
"nginx",
"lua",
"lua-table",
"openresty",
"lua-patterns"
] |
75,639,187 | 1 | null | null | -2 | 23 | I'm new to programming and currently trying to see the program step by step. It isn't allowing me to though and is sending this error message. It was working for last week cs50's pset so I think I might have done something.
[error](https://i.stack.imgur.com/iflGN.png)
Here's the code:
```
#include <cs50.h>
#include <st... | VSCode launch: program '(program name)' does not exist | CC BY-SA 4.0 | null | 2023-03-04T22:56:39.933 | 2023-03-04T23:27:04.597 | 2023-03-04T23:27:04.597 | 21,333,756 | 21,333,756 | [
"c",
"json",
"visual-studio-code",
"cs50"
] |
75,639,190 | 1 | null | null | 0 | 15 | How to extract tables from notepad file and put it in pandas
How to extract tables from notepad file and put it in pandas .
| How to extract tables from notepad file and put it in pandas dataframe.? | CC BY-SA 4.0 | null | 2023-03-04T22:57:56.727 | 2023-03-04T23:14:09.253 | null | null | 18,750,878 | [
"pandas",
"dataframe"
] |
75,639,191 | 1 | null | null | -1 | 21 | I'm doing an assignment for my class and I've been stuck on an error that I can't figure out how to fix.
The problem asks for us to calculate if it is better to take a gas or electric car on a 2000 mile trip.
I'm stuck on line 150 because I keep getting "error: incompatible types: possible lossy conversion from double ... | Is there anyway to get around "error: incompatible types: possible lossy conversion from double to int"? | CC BY-SA 4.0 | null | 2023-03-04T22:58:04.063 | 2023-03-04T23:07:32.197 | null | null | 21,333,773 | [
"java",
"variables"
] |
75,639,188 | 2 | null | 75,630,244 | 0 | null | Best references for ranking: [https://www.graphviz.org/pdf/dotguide.pdf](https://www.graphviz.org/pdf/dotguide.pdf) (esp. p. 7 & 15) and [https://www.graphviz.org/docs/attrs/rank/](https://www.graphviz.org/docs/attrs/rank/)
All-in-all not a Graphviz strength. I do not use Diagrammer, but the Graphviz code below will ... | null | CC BY-SA 4.0 | null | 2023-03-04T22:57:44.190 | 2023-03-04T22:57:44.190 | null | null | 12,317,235 | null |
75,639,192 | 1 | null | null | 0 | 13 | It's React.
Something weird happens. When I reload directly from the browser, it still logs an empty array, but when I save the file from VSCode, it displays the array just like I wanted.
```
const [country, setCountry] = useState([]);
useEffect(() => {
axios
.get("https://restcountries.com/v3.1/all")
... | Fetching data from an API and putting them inside an array but it works differently when reloaded in browser and VS Code? | CC BY-SA 4.0 | null | 2023-03-04T22:58:37.833 | 2023-03-04T22:58:37.833 | null | null | 14,301,916 | [
"reactjs",
"react-hooks",
"axios"
] |
75,639,195 | 1 | null | null | 0 | 7 | I'm learning Wordpress development, but I really prefer to use the phpmyadmin instead of adminer. How can I change it in local WP?
I really don't know how to do that
| Change Adminer to PhpMyAdmin in Local WP | CC BY-SA 4.0 | null | 2023-03-04T22:59:53.570 | 2023-03-04T22:59:53.570 | null | null | 20,055,991 | [
"wordpress",
"phpmyadmin",
"adminer"
] |
75,639,196 | 2 | null | 75,639,124 | 0 | null | Just write:
```
…
else {
// System.out.println();
System.out.printf("%-44s | %5s | %s %n", movieName, movieRating, movieTime);
}
```
… and your output will not beginn with an empty line.
| null | CC BY-SA 4.0 | null | 2023-03-04T22:59:55.517 | 2023-03-04T23:23:00.087 | 2023-03-04T23:23:00.087 | 12,632,699 | 12,632,699 | null |
75,639,174 | 1 | null | null | 0 | 15 | I try to create a lib with many spring element (entity, repository) and that library will be used by other spring boot application
in my git folder i have 3 folder
- - -
my build.gradle for common
```
plugins {
id 'java'
id 'org.springframework.boot' version '3.0.3' apply false
id 'io.spring.dependency-man... | Build a library with spring element for spring application | CC BY-SA 4.0 | null | 2023-03-04T22:53:54.447 | 2023-03-05T03:26:12.107 | 2023-03-05T03:26:12.107 | 1,095,362 | 1,095,362 | [
"spring",
"spring-boot",
"gradle"
] |
75,639,178 | 1 | null | null | 0 | 12 | I'm stuck with trying to figure out how to retrieve MySQL Database data and put it into my Bar Chart, and I'm unsure how to do that without upsetting my code with multiple exports. The table I have is "revenue" and I have "MoneyAmount" as one of the components, the one I want to place in there.
BarChart.jsx
```
import ... | Pulling data from MySQL Database into NextJS App, while exporting it as a default | CC BY-SA 4.0 | null | 2023-03-04T22:55:08.907 | 2023-03-04T23:09:09.500 | 2023-03-04T23:09:09.500 | 14,903,350 | 14,903,350 | [
"mysql",
"next.js",
"bar-chart"
] |
75,639,193 | 2 | null | 73,398,926 | 0 | null | Execute this update npm
```
curl -fsSL https://deb.nodesource.com/setup_19.x | sudo -E bash - &&\
sudo apt-get install -y nodejs
```
link: [https://github.com/nodesource/distributions/blob/master/README.md](https://github.com/nodesource/distributions/blob/master/README.md)
| null | CC BY-SA 4.0 | null | 2023-03-04T22:59:24.797 | 2023-03-04T22:59:44.310 | 2023-03-04T22:59:44.310 | 8,415,128 | 8,415,128 | null |
75,639,182 | 1 | null | null | 0 | 10 | I'm working on a React Native application using Expo. I'm trying to use `react-native-gesture-handler`'s `Swipeable` component but I get this error:
[](https://i.stack.imgur.com/G9v9Z.png)
There are solutions online that work for earlier versions of RN and this library, but none of them have worked for me. Any help wou... | Expo: Unsupported top level event type "onGestureHandlerStateChange" dispatched | CC BY-SA 4.0 | null | 2023-03-04T22:55:37.757 | 2023-03-05T03:35:31.590 | 2023-03-05T03:35:31.590 | 17,511,205 | 17,511,205 | [
"javascript",
"ios",
"reactjs",
"react-native",
"expo"
] |
75,639,203 | 2 | null | 63,037,149 | 0 | null | I think you just have to enter the password that matches the one you have created during the installation process
| null | CC BY-SA 4.0 | null | 2023-03-04T23:01:47.047 | 2023-03-04T23:01:47.047 | null | null | 21,333,821 | null |
75,639,198 | 2 | null | 75,600,606 | 0 | null | Calling `f(*r)` is similar to calling `f(**dict(zip(['x', 'y', 'z', 'w'], r)))` [or `f(**dict(zip('xyzw',r)))`, or `f(x=r[0], y=r[1], z=r[2], w=r[3])`], but `p` has the argument names shifted around every loop; so you need to `zip` with `p`, otherwise you'll be doing the same thing for every `p`, and the outermost loop... | null | CC BY-SA 4.0 | null | 2023-03-04T23:00:43.680 | 2023-03-04T23:00:43.680 | null | null | 6,146,136 | null |
75,639,202 | 2 | null | 73,891,733 | 0 | null | Based on the [How to define global parameters in OpenAPI?](https://stackoverflow.com/questions/19590197/how-to-define-global-parameters-in-openapi) it is pretty creepy. Something like this:
```
nelmio_api_doc:
documentation:
components:
securitySchemes:
# ...
Loca... | null | CC BY-SA 4.0 | null | 2023-03-04T23:01:41.123 | 2023-03-04T23:01:41.123 | null | null | 21,333,278 | null |
75,639,201 | 2 | null | 40,127,965 | -1 | null | Nothing here answers the question. The question does not say anything else than the string is passed by const reference and the string view. I don't think we should talk about other cases. I don't see any difference because it's misleading even the person asking the questoin has clearly specified e.g. to talk about ... | null | CC BY-SA 4.0 | null | 2023-03-04T23:01:39.777 | 2023-03-04T23:07:04.147 | 2023-03-04T23:07:04.147 | 18,718,251 | 18,718,251 | null |
75,639,199 | 1 | null | null | -4 | 11 | Ihave lost access to the authenticator and the mobile number i used to long in. My Googlw Voice is linkwed to my acount and and it has een ona security hold for 30days.. I am not sure why I ca't access ny account even if i am logged in wiht faily accounts and oter tuusted accounts. I am alsio unable to lg intp faceboo... | hoW CAN I AUTHENTICATE IN AN SSO LOG IN? | CC BY-SA 4.0 | null | 2023-03-04T23:00:54.333 | 2023-03-04T23:00:54.333 | null | null | 21,333,771 | [
"generator",
"windows-authentication"
] |
75,639,200 | 1 | null | null | 0 | 16 | I have a profile page with a button 'edit profile'. however, it shows up for all users when they access the profile. How do I hide/remove it if the profile doesn't belong to the owner??
For example: Alice visits Bob's profile page or vice versa. They can both see 'edit profile' button on each other's page.
```
<a class... | How to hide stuff in template if Current User isn't on their own profile in Django? | CC BY-SA 4.0 | null | 2023-03-04T23:01:39.220 | 2023-03-05T01:54:23.397 | 2023-03-05T01:54:23.397 | 19,385,910 | 19,385,910 | [
"django",
"django-templates"
] |
75,639,204 | 1 | null | null | 0 | 22 | seeing a weird problem. SQL1/SQL2 below works correctly but SQL3 does not return any rows. Any idea why?
SQL1 below return 900 rows:
```
select t1.*, ROWNUM from (select * from myTable where fk = 1234) t1
```
SQL2 below correctly returns 1->199 rows as expected.
```
select t1.*, ROWNUM from (select * from myTable whe... | Oracle ROWNUM lessthan works, greaterthan does not work | CC BY-SA 4.0 | null | 2023-03-04T23:01:58.510 | 2023-03-05T00:39:16.037 | null | null | 19,979,114 | [
"sql",
"oracle",
"rownum"
] |
75,639,206 | 1 | null | null | -2 | 7 | Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'root'@'localhost'
(using password: NO) in C:\xampp\htdocs\attendancedb_connect.php:3 Stack trace: #0
C:\xampp\htdocs\attendancedb_connect.php(3): mysqli->__construct('localhost', 'root'.", student attenda ... ') #1
i registered a MySQL database on MyP... | Am having problem with MyPhpadmin I just can’t access | CC BY-SA 4.0 | null | 2023-03-04T23:02:26.440 | 2023-03-04T23:02:26.440 | null | null | 21,333,757 | [
"mysql",
"authentication",
"phpmyadmin",
"localhost"
] |
75,639,207 | 1 | null | null | 0 | 28 | I am trying to generate 6 random numbers to my table without having to specify each point. I wrote out random numbers for "Heather" and "Laurel", but I want another way of accomplishing.
```
student_names = c("Henry", "Cat", "Shelby", "Eren", "Eva", "Carter", "Dustin")
n_students <- length(student_names)
grades <- tib... | How to add random generated numbers to a row | CC BY-SA 4.0 | null | 2023-03-04T23:02:26.423 | 2023-03-05T02:39:05.467 | null | null | 21,052,835 | [
"r"
] |
75,639,211 | 1 | null | null | 0 | 9 | Struggling with this behaviour from Tiny MCE:
Just hit the source code and paste the HTML code and every single line with:
```
<!--[if mso | IE]>
```
Is converted to:
```
<!-- [if mso | IE]>
```
Tiny just adds the white space after -- that breaks my code.
Tried with different versions, even with the demo version avai... | TinyMCE breaking if mso clause | CC BY-SA 4.0 | null | 2023-03-04T23:04:33.973 | 2023-03-04T23:07:27.877 | 2023-03-04T23:07:27.877 | 21,333,785 | 21,333,785 | [
"html",
"tinymce"
] |
75,639,205 | 1 | null | null | 0 | 3 | We are building an application upon "APS DataViz Extensions Demo" and we've run into a problem for having different sensor types in one room, as shown in "original_heatmap.PNG". In summary, we have two sensor types: 1. ENV sensors including Temperature, CO2, and Humidity channels information, and 2: PPL sensors includi... | Assistance with having multiple sensor types in APS DataViz Extensions Demo | CC BY-SA 4.0 | null | 2023-03-04T23:02:22.340 | 2023-03-04T23:02:22.340 | null | null | 21,333,788 | [
"autodesk-forge",
"autodesk-data-visualization"
] |
75,639,210 | 1 | null | null | 0 | 3 | in my flutter project I want to use workmanager plugin and onesignal plugin same time but workmanager plugin request minimum gradle level 7.1.2 but onesignal doesn't work with this gradle level. Onesignal is working with lower levels of gradle. How can I fix this problem. Is there anything I can do for to work both plu... | Flutter how can I use Onesignal and workmanager plugin in same project | CC BY-SA 4.0 | null | 2023-03-04T23:04:30.613 | 2023-03-04T23:04:30.613 | null | null | 19,746,414 | [
"android",
"flutter",
"gradle",
"onesignal"
] |
75,639,215 | 2 | null | 75,639,209 | 1 | null | You can modify the function to return only the friends at the desired step (k) and remove duplicates by using the GROUP BY clause and the HAVING clause in the SQL query. Below is the updated code:
```
def no_of_friends(user_id, k):
steps_query = '''WITH friends AS (
SELECT A AS user_id, B AS frien... | null | CC BY-SA 4.0 | null | 2023-03-04T23:05:49.197 | 2023-03-04T23:05:49.197 | null | null | 21,333,825 | null |
75,639,209 | 1 | null | null | 0 | 16 | Below is a `social_links` SQLite database where A knows B and B knows A.
[social_links database](https://i.stack.imgur.com/ReEWW.png)
I'm creating a function in python which requires the `UserID` and `k` (an integer) which returns the users, the UserID knows by k steps. For example k = 1 means direct friend of UserID w... | Creating a Function to Find Friends, Friends of Friends, etc | CC BY-SA 4.0 | null | 2023-03-04T23:02:35.607 | 2023-03-04T23:05:49.197 | null | null | 21,330,044 | [
"python",
"database",
"dataframe",
"function",
"sqlite"
] |
75,639,220 | 1 | null | null | 0 | 4 | [This is the image](https://i.stack.imgur.com/7oz5D.jpg)
man rm
to give me info about rm and it's usage
| I'm currently using hyper but when I type " man rm", it shows "bash: man: command not found" could anyone assist me please. Would really appreciate | CC BY-SA 4.0 | null | 2023-03-04T23:07:21.653 | 2023-03-04T23:07:21.653 | null | null | 19,403,332 | [
"node.js",
"node-modules",
"web-development-server",
"visual-web-developer",
"hyper"
] |
75,639,197 | 2 | null | 75,639,164 | -1 | null | Using [Perl's rename](https://unix.stackexchange.com/questions/730894/what-about-rename-different-versions-and-usage-what-is-the-recommended-way-to/730895#730895):
#### Input files:
```
$ ls -1
'1.2 3.4 foo.bar'
'2.1 Please help.wav'
'2.4.5 Please help.wav'
'2.4 Please help.wav'
```
#### Code:
```
$ shopt -s glo... | null | CC BY-SA 4.0 | null | 2023-03-04T23:00:05.943 | 2023-03-05T04:02:31.273 | 2023-03-05T04:02:31.273 | 465,183 | 465,183 | null |
75,639,219 | 2 | null | 75,638,558 | 0 | null | A database 'server' can contain multiple logical 'databases'. Therefore, you would only need one database 'server'.
When the application connects to the database server, it would specify a 'database' via the connection string. It will then only see data in that logical database.
Here is a diagram from [Creating, Destro... | null | CC BY-SA 4.0 | null | 2023-03-04T23:07:15.617 | 2023-03-04T23:07:15.617 | null | null | 174,777 | null |
75,639,213 | 2 | null | 75,639,126 | -1 | null | Good night my friend, let's break it down with the provided code. We follow:
step 1:
If code already presents this error, invalid char.
[enter image description here](https://i.stack.imgur.com/ztWas.png)
Step 2:
empty assignment
[enter image description here](https://i.stack.imgur.com/tx1Qu.png)
Step 3:
Your list is ok... | null | CC BY-SA 4.0 | null | 2023-03-04T23:04:51.513 | 2023-03-04T23:04:51.513 | null | null | 20,513,864 | null |
75,639,214 | 2 | null | 75,639,167 | 0 | null | `tokio::spawn()` takes a future, not a function. You need to call this function and give the returned future to `tokio::spawn()`:
```
tokio::spawn(job());
// Add parens ^^
```
Once you do this, you'll receive three errors, each of which shows up after solving the last one:
- `dyn Future`- `tokio::spawn()``Unpin``Pi... | null | CC BY-SA 4.0 | null | 2023-03-04T23:05:34.643 | 2023-03-04T23:12:13.680 | 2023-03-04T23:12:13.680 | 501,250 | 501,250 | null |
75,639,221 | 1 | null | null | 0 | 25 | I'm just learning React for the first time, and I have been looking all over for steps to get it online, and I cannot find a conclusive solution anywhere.
I followed a step-by-step guide from Knowledgehut's site Here's where I'm at:
I have my project exactly where I want it for the web;
I run 'yarn start' and it com... | I cannot get React project to display on my website | CC BY-SA 4.0 | null | 2023-03-04T23:07:25.517 | 2023-03-04T23:25:28.280 | null | null | 19,065,108 | [
"reactjs",
"react-native",
"yarnpkg"
] |
75,639,223 | 1 | null | null | -4 | 18 | I keep on getting errors no matter what I do!
It works with DaVinci 3, but I haven't been able to update it to the ChatGpt API
```
import openai
import wget
import pathlib
import pdfplumber
import numpy as np
paperFilePath = "/content/TBSLarge.pdf"
def showPaperSummary(paperContent):
tldr_tag = "\n tl;dr:"
op... | InvalidRequestError using ChatGpt Api | CC BY-SA 4.0 | null | 2023-03-04T23:07:41.017 | 2023-03-04T23:51:18.640 | 2023-03-04T23:51:18.640 | 1,426,065 | 21,333,823 | [
"python",
"openai-api",
"chatgpt-api"
] |
75,639,227 | 2 | null | 75,639,165 | 0 | null | I have taken the small sample and saved it as `dandys`.
```
awk '{i=gensub(/^.*\/(.*)$/,"\\1","1",$1);a[i]=a[i]""$NF","}END{for(i in a){gsub(/,$/,"",a[i]);print i,a[i]}}' dandys
filename username,username2
filename2 username2
```
In `i` we store the last path element of the first field, i.e. *. We use `i` as an array ... | null | CC BY-SA 4.0 | null | 2023-03-04T23:08:58.163 | 2023-03-04T23:08:58.163 | null | null | 1,394,729 | null |
75,639,224 | 1 | null | null | 0 | 13 | If I subset to extract a variable from a data frame in base R, I would run
```
mtcars[, "cyl"]
```
which returns a vector.
For two variables it would be
```
mtcars[, c("cyl","am")]
```
which returns a data frame.
How can I ensure consistency to always return a data frame without doing this?
```
function(data = mtcars... | ensure subset of data frame is a data frame | CC BY-SA 4.0 | null | 2023-03-04T23:07:58.657 | 2023-03-04T23:07:58.657 | null | null | 3,720,258 | [
"r"
] |
75,639,216 | 1 | null | null | 0 | 13 | This is the entire output for when I try `pip install numpy`
```
Defaulting to user installation because normal site-packages is not writeable
Collecting numpy
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL... | Can't install any packages in pip nor upgrade it due to OSError | CC BY-SA 4.0 | null | 2023-03-04T23:05:55.123 | 2023-03-04T23:11:27.257 | 2023-03-04T23:11:27.257 | 1,440,565 | 14,370,457 | [
"pip"
] |
75,639,230 | 2 | null | 60,345,664 | 0 | null | I've gone through many learning curves including reading and implementing the idea from this posting. I finally figured this problem out and described my finding: [use google sign in to connect to google sheets api](https://stackoverflow.com/questions/74512198/use-google-sign-in-to-connect-to-google-sheets-api/75575824... | null | CC BY-SA 4.0 | null | 2023-03-04T23:09:41.157 | 2023-03-04T23:09:41.157 | null | null | 21,292,471 | null |