All Questions

19771 questions


1 answers
89 views
0
Couldn't find User without an ID Error

Couldn't find User without an ID error appears in the code below.def index @user=User.find (params[:id]) sort_key=(params[:column].blank?||params[:order].blank?)?{updated_at:'DESC'}:{params[:column]=&...

2 years ago

1 answers
130 views
0
Image.load("") cannot be displayed in python pygame

I am currently studying python programming, which is fun to learn while making games.I am troubled that I cannot do image.load() in this document.I'd like to enter the code below and display (pythonlo...

2 years ago

2 answers
35 views
0
In R's data frame, please refer to the values in the next column and your own values in the same row and tell me which functions to replace!

Replace R data frames by referring to the values in the next column of the same row and their own values.Easy wayI would like you to tell me!I would like to process it like the image below.(My own mas...

r
2 years ago

1 answers
37 views
0
I don't know how to draw a turtleneck.

I would like to make the following two diagrams, but I don't understand the code very well.I'm a beginner. Could you tell me?

2 years ago

3 answers
75 views
0
How to Divide a String in Mail Address Format into Names and Mail Addresses in PHP

Thank you for your help.Suppose you have a string in the following email address format:Test <[email protected]>I would like to get this string in PHP divided into the name part (for example, the...

2 years ago

1 answers
152 views
0
DirectX 11 Code Cannot Be Compiled in Visual Studio

In C++ on Microsoft Visual Studio Community 2019, You try to copy, compile, and execute directx11 code that was on the Internet.The console screen of the image at the address below appears and ends.Ho...

2 years ago

2 answers
65 views
0
I want to display the number of appearances of each of the 100 0-9 integers displayed in random numbers in asterisk (*).

source code int[] frequencies = new int[10];int[] ar1 = new int[100];for(inti=0;i<ar1.length;i++){ ar1[i] = land.nextInt(10); System.out.println(ar1[i]); int array=ar1[i]; frequencies [array]++;I'd...

2 years ago

1 answers
79 views
0
Which performance is better, ActiveRecord or Array, when performing multiple records narrowing in rails?

This is a performance discussion regarding how to narrow down records in the development of rails applications.When performing multiple record narrowing, which is better in response memory, using SQL ...


1 answers
155 views
0
I want to use robocopy in the bat file and print the data copy result to the LOG file.

I am thinking of using robocopy in the bat file and extracting a file name containing one character and copying it to another folder.I also want to copy the file name with blank space, so I wrote the ...

2 years ago

3 answers
31 views
0
Double-click Python files and they disappear in an instant after a black screen appears

After downloading the Python file from online, it was expanded.Then, when you open the file, the black screen (prompt) appears for a moment and disappears immediately.I tried rebooting, but it looks t...

2 years ago
« - 175 - »

© 2024 OneMinuteCode. All rights reserved.