Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for Anonymousâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #284612 |
https://meta.codidact.com/posts/282281 (more) |
— | almost 3 years ago |
Edit | Post #284414 |
Post edited: |
— | about 3 years ago |
Edit | Post #284414 |
Post edited: |
— | about 3 years ago |
Edit | Post #284414 |
Post edited: |
— | about 3 years ago |
Edit | Post #284414 |
Post edited: |
— | about 3 years ago |
Edit | Post #284414 |
Post edited: |
— | about 3 years ago |
Edit | Post #284414 | Initial revision | — | about 3 years ago |
Question | — |
Why I am unable to find a class after implementing library also? I had found a better way to plot in Java. ```java int n = Integer.parseInt(args[0]); // the function y = sin(4x) + sin(20x), sampled at n+1 points // between x = 0 and x = pi double[] x = new double[n+1]; double[] y = new double[n+1]; for (in... (more) |
— | about 3 years ago |
Edit | Post #284413 | Initial revision | — | about 3 years ago |
Question | — |
How to plot in C++? I was trying to plot using following lines in C++. ```cpp #include "koolplot.h" int main() { plotdata x(-6.0, 6.0); plotdata y = sin(x) + x/5; plot(x, y); return 0; } ``` When I was trying to run the program then I got the following message >g++ -o plot plot.cpp plo... (more) |
— | about 3 years ago |
Edit | Post #284403 | Initial revision | — | about 3 years ago |
Question | — |
Why some items aren't clickable in RecyclerView? ```java if (type=="dialer") { String timestamp = list.get(position).get(Constants.DATE); holder.txtTimestamp.setVisibility(View.VISIBLE); holder.imgDelete.setVisibility(View.GONE); holder.txtTimestamp.setText(getDate(Long.parseLong(timest... (more) |
— | about 3 years ago |
Edit | Post #284394 | Initial revision | — | about 3 years ago |
Question | — |
Why margin isn't working in SVG for path? ```svg ``` I had used (`style="margin:50px;"`) margin in `g`. But I noticed the margin isn't working. img Why it's happening? I have tried by increasing margin. But nothing happens. (more) |
— | about 3 years ago |
Edit | Post #284377 |
Post edited: |
— | about 3 years ago |
Edit | Post #284377 |
Post edited: |
— | about 3 years ago |
Edit | Post #284377 |
Post edited: |
— | about 3 years ago |
Comment | Post #284377 |
I had deleted my last answer to change license. I was going to choose CC0. But I had deleted before answering that's why the selection changed. :| (more) |
— | about 3 years ago |
Edit | Post #284377 | Initial revision | — | about 3 years ago |
Answer | — |
A: How does PathData work? I was dealing with random Path. I had written a code like this : ```vector ``` As we know, there's two axes. 1. X axis. 2. Y axis. First value after "M" is representing X axis when the X axis gets very plain then sometime X axis "rotate" (very negligible) the icon (not directly rotati... (more) |
— | about 3 years ago |
Comment | Post #284374 |
>Draw a line from the current point to the given (x,y) coordinate which becomes the new current point. L (uppercase) indicates that absolute coordinates will follow; l (lowercase) indicates that relative coordinates will follow. A number of coordinates pairs may be specified to draw a polyline. At th... (more) |
— | about 3 years ago |
Edit | Post #284375 | Initial revision | — | about 3 years ago |
Answer | — |
A: WARNING: environment variable DISPLAY is not set (netbeans) I had installed default-jdk, jre and java although I didn't get any GUI of netbeans. I was thinking what was missing. While visiting lots of site I had seen oracle (Article) then I remembered I didn't install Oracle after installing Oracle I can access GUI of netbeans. ```bash sudo apt-get install ... (more) |
— | about 3 years ago |
Comment | Post #284374 |
A command letter may be eliminated if an identical command letter would otherwise precede it; for instance, the following contains an unnecessary second "L" command:
>M 100 200 L 200 100 L -100 -200
But it's not understandable to me (more) |
— | about 3 years ago |
Comment | Post #284357 |
moving to [another question](https://software.codidact.com/posts/284343) since I am not facing the issue (Hash sum mismatch) anymore. (more) |
— | about 3 years ago |
Edit | Post #284357 |
Post edited: Oops! |
— | about 3 years ago |
Edit | Post #284370 |
Post edited: There's already "does" so don't need "s". |
— | about 3 years ago |
Edit | Post #284357 |
Post edited: I had removed the repository I have faced the similar issue again that's why I am sure about the command |
— | about 3 years ago |
Edit | Post #284370 |
Post edited: |
— | about 3 years ago |
Edit | Post #284370 | Initial revision | — | about 3 years ago |
Question | — |
How does PathData work? What is pathData? I was thinking to convert SVG to XML. I found it. In the code, I had seen that ```xml android:pathData="M 64 2 C 98.2416544895 2 126 29.7583455105 126 64 C 126 98.2416544895 98.2416544895 126 64 126 C 29.7583455105 126 2 98.2416544895 2 64 C 2 29.7583455105 29.7583455105 2 64 2 ... (more) |
— | about 3 years ago |
Comment | Post #284363 |
See the title 🔝. and see my post again... (more) |
— | about 3 years ago |
Edit | Post #284357 |
Post edited: |
— | about 3 years ago |
Comment | Post #284343 |
https://software.codidact.com/posts/284357 (more) |
— | about 3 years ago |
Edit | Post #284357 |
Post edited: |
— | about 3 years ago |
Edit | Post #284357 | Initial revision | — | about 3 years ago |
Question | — |
Hash sum mismatch (only for openjdk-11-jdk) I was installing Java yesterday. I had faced lot of problem. I had fixed most of them. But I had changed Hash that's what I think. I don't remember which command I had executed since I had executed lots of command and visited lots of site. Now, whenever I go to install something I get an error which ... (more) |
— | about 3 years ago |
Edit | Post #284343 |
Post edited: not ubuntu but xubuntu |
— | about 3 years ago |
Comment | Post #284343 |
After executing `export DISPLAY=:0.0`, I got the following error which running netbeans: https://paste.ubuntu.com/p/JmYv8Ng67T/
I thought I am getting the error cause netbeans couldn't find JDK. So I had executed it again
```bash
netbeans_jdkhome='/usr/bin/javac'
```
although I still get ... (more) |
— | about 3 years ago |
Edit | Post #284343 |
Post edited: |
— | about 3 years ago |
Edit | Post #284343 | Initial revision | — | about 3 years ago |
Question | — |
WARNING: environment variable DISPLAY is not set (netbeans) I was trying to install Netbeans in Xubuntu. I had installed Netbeans using Snapd. ```bash sudo snap install netbeans --classic ``` I was trying to start Netbeans then I got an error which was looking like this ```bash netbeans ``` >can't find JDK (I completely don't remember the err... (more) |
— | about 3 years ago |
Edit | Post #284340 | Initial revision | — | about 3 years ago |
Answer | — |
A: can't find git repo (library) At first you have to add ```gradle maven { url "jitpack.io" } ``` in settings.gradle. I was facing the issue after adding that line also. When I had reboot my system it's working fine then. You can try to close and re-run Android Studio also. I think that might be helpful also. (more) |
— | about 3 years ago |
Edit | Post #284338 |
Post edited: |
— | about 3 years ago |
Edit | Post #284338 | Initial revision | — | about 3 years ago |
Question | — |
can't find git repo (library) ```plain Could not find com.github.Kunzisoft:Android-SwitchDateTimePicker:1.9. Required by: project :app Search in build.gradle files ``` I was trying to use the library. I had searched for 2.1, 2.0 and 1.9 none of them are working. I had searched through internet I had found similar is... (more) |
— | about 3 years ago |
Suggested Edit | Post #284330 |
Suggested edit: always try to reduce image size. If your image is too big than put images in blockquote.. (more) |
helpful | about 3 years ago |
Comment | Post #284327 |
You can directly setAdapter instead of swapping, invalidating. So the code should looks like :
```java
contactViewAdapter = new ContactViewAdapter(getActivity(), getActivity(), new ReadContacts().CallLog(getActivity(), order), "dialer");
recyclerViewCallLog.setAdapter(contactViewAdapter);
```
... (more) |
— | about 3 years ago |
Comment | Post #284320 |
I don't have much more time to write a complete so just putting some information which was helpful for me...
I wasn't using Oracle or T-SQL. I was just using a default SQL in Android Studio.
```java
package android.database.sqlite;
```
Simply I just can call it SQLITE. And there's no variabl... (more) |
— | about 3 years ago |