We help IT Professionals succeed at work.

Programming

53K

Solutions

41K

Contributors

Programming includes both the specifics of the language you’re using, like Visual Basic, .NET, Java and others, but also the best practices in user experience and interfaces and the management of projects, version control and development. Other programming topics are related to web and cloud development and system and hardware programming.

hi,

I want to become BI solution architecture and I assume I do not have programming background, which one should i learn first:
1) ETL
2) data modelling ?

I knew if I go for 1) and then next one will be data warehouseing.

the choice should be based on the complex of the knowledge as probably ETL STILL have a lot of programming knowledge needed, am I right?

what if I also want to know big data,  which one should I start learning first ?
0
hi am geting the following error
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------< com.jpa.hibernate:app >------------------------
[INFO] Building app 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ app ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ app ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 7 source files to C:\solution\app\target\classes
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ app ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\solution\app\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ app ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 4 source files to C:\solution\app\target\test-classes
[INFO] -------------------------------------------------------------
COMPILATION ERROR :
[INFO] -------------------------------------------------------------
/C:/solution/app/src/test/java/com/jpa/hibernate/app/repository/NativeQueryTest.java:[13,29] package org.junit.jupiter.api does not exist
0
Modify the below program so that the master node prints the version of the used MPI library. A message should look like the following:

"Hello from the Master process of 4 Nodes, the MPI version is 2.0"


/*
* MPI Hello World
*/
#include "pch.h"
#include <iostream>
#include <mpi.h>
using namespace std;
int main(int argc, char** argv)
{
int myid, P;
MPI_Init(&argc, &argv);
MPI_Comm_size(MPI_COMM_WORLD, &P);
MPI_Comm_rank(MPI_COMM_WORLD, &myid);
cout << "Hello World from Process " << myid << " of " << P << endl;
MPI_Finalize();
return 0;
}

Open in new window

0
Hi

Is there a way to SYNC and Schedule SVN - repository (source) with working copy on a server?

Can you please explain me how to do it, step by step?

Sync task needs to run every night to pull changes from repository (source) and update working copy on a server.

Regards, M
0
Hello experts,

The following function has some mixed C + assembly code.
This gives me some troubles, while compiling (especially when compiling for 64 bit).
I want to move this code into a separate file which contains only assembly code  (and then compile it differently - according to examples which I have).
Can anyone help ?


    __int64 gettsc()
    {
      __int64 u_timetag;
      __int64 *putimetag;
      putimetag = &u_timetag;
      u_timetag = 0;
      _asm
      {
      push edx;
      push eax;
      push esi;
      mov esi,putimetag;
      _emit 0x0f;
      _emit 0x31;
      mov [esi+4],edx;
      mov [esi],eax;
      pop esi;
      pop eax;
      pop edx;
      }
   
      return u_timetag;
    }


The first question is to have an assembly code which compiles nicely for 32 bit
A second question would be to have a second assembly code which compiles nicely for 64 bit
You can see the following two attached examples


Thanks
zmau
x86--GetCurrentProcessorNumberXP.asm
amd64--GetCurrentProcessorNumberXP.asm
0
I have a requirement where I need to create a Json string with related objects from a Dataset returned from SQL Server 2012.
For example Orders with Customer

Is there any way to generate it using Newtonsoft.Json or we have to write our custom code for this.
0
i got this sofar

for each File in filelist ('V:/1 KWALITEIT/Organisatie Sunkip/Certificaten Sunkip/HACCP & QS Certificaten Sunkip/*.*')
LOAD
'V:/1 KWALITEIT/Organisatie Sunkip/Certificaten Sunkip/HACCP & QS Certificaten Sunkip/' & '$(File)' as DocumentLink100,
Subfield( '$(File)' , '/', -1) as DocumentName100
autogenerate 100;
next File

this in  Graphic object , works ok  line click opens file

problem since all files moved to other directory, work not anymore

'NEW VERSION

for each File in filelist ('I:/1 KWALITEIT-2020/Organisatie Sunkip/Certificaten Sunkip/HACCP & QS Certificaten Sunkip/*.*')
LOAD
'I:/1 KWALITEIT-2020/Organisatie Sunkip/Certificaten Sunkip/HACCP & QS Certificaten Sunkip/' & '$(File)' as DocumentLink100,
Subfield( '$(File)' , '/', -1) as DocumentName100
autogenerate 100;
next File

have to change more the 1000 files definitions,  in edit do a find change  ,

So looking for OR a better solution in code also due have to make for each directory hardcoding  in source also

if new directories ariselooks lke
OR to get solution to make this one stable

link is gone
0
I had assistance from StackOverflow to help me get my content change on a button however I'm seeing not change until my working class called '''FFC.StartCollection()''' is complete. So the user does not get any status of what is happing. I want the button to change from enabled to disabled and the content to say "working"followed by "done".

The BtnEnabled = true; BtnContent = "Done"; only seem to change when the button command is complete. No change to the values before the function FFC.StartCollection() is ran.

My code (I call working class) that does all the heavy lifting runs for about 2 minutes when '''FFC.StartCollection();''' is called. But what I see is that once the button is clicked none of the button changes take affect. So the user does not see the button go into disable and the content change to "working.."

I stepped through the code. I'm seeing the RaisePropertyChanged actually being pass the message I want. However the GUI never shows it. In Windows Form (right or wrong) I could do a ".Refresh()" to have the GUI updated.

using GalaSoft.MvvmLight.Command;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Windows.Data;
using System.Threading;

/// <summary>
/// just so i remember the TextBox will not work in this function. ListBox work for 
/// updating!
/// </summary>

namespace WpfFileFolderTool.ViewModel
{
    /// <summary>
    /// This class contains properties that the main View

Open in new window

0
Hello guys,

I am studying Android Studio and the version that I have is 3.6.1.
I create a project with Navigation Drawer Activity thought Android Study example and many changes I could do on it ( personalize ), I was able to change the menu color, labels, icons, etc.

I created my fragments and now I need to do my codes for each fragment, one thing that I haven't' found yet is the way to hide and show my floating button that is on my main activity,
when I access the fragment A, B or C, I want to hide the floating button, when I return to my home fragment, I want to show it.


Could you help me on this?
What should I do?

Regards
Alex
0
I'm in need of assistance with VBA macro. I have a workbook that has multiple data sheets and i want to create pivot tables from the majority of the data. The data will always change/update daily however the main pivot tables will always remain the same but will be displayed on random. SIDENOTE: I don't want to just refresh existing pivot tables as not all will be utilized for the specific day.

I want to be able to call out what goes into the following rows, values, filters and columns.

I have attached an example of two pivot tables i want to re-create via VBA macro. please review and thank you in advance.

FYI - The pivot tables will have to be in the same new worksheet.
pivottables.xlsx
0
Hi Team,

I have MVC.Net C# ( VS 2019 )project which is multi-layered ( Model, View, Controller, Utility project, BLL  project, NUnit tests project, etc). I want to make build that project, run unit tests,  and publish that to the specified location.

How could I achieve that, appreciate if you could share some sample for that?

Looking forward to hearing from you.

Thank you.
0
Update: I'm able to see the rows by scrolling, but the rows are spaced out way too far. I removed the lines below from my activity_main.xml file.

android:layout_width="409dp"
android:layout_height="601dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"

 

Hello! I'm rather new to Android development and I'm following along this tutorial here - https://www.youtube.com/watch?v=18VcnYN5_LM My problem is that when compiling, I'm only getting one row instead of five rows. I've watched the video three times now, and I don't get what I'm missing. Can you help me spot the problem? Thank you for your help!

I've include MainActivity.java, myAdapter.java, my_row.xml, strings.xml, and activity_main.xml. Below is a screenshot of where I'm only seeing one row instead of five.

App Emulator of One Row
MainActivity.java
package com.example.recyclerviewtest;

import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;

import android.os.Bundle;

public class MainActivity extends AppCompatActivity {
    
    RecyclerView recyclerView;

    String s1[], s2[];

    int images[] = {
        R.drawable.c,
        R.drawable.csharp,
        R.drawable.java,
        R.drawable.php,
        R.drawable.swift
    };

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        

Open in new window

0
In VB6  using Windows-10  32 bit sending a large set to Citizen Label printer ,
connected by Ip network card
we do have some experience with other users
by connecting them on USB instead of IP card,   gives faster throughput , thus clearing problaly windows-spooler faster

User has many programs open in taskpanel minimized   , due to 32 bit max  3.2 gigabit available in memory total for programs and spooler

printer has no memory , Windows spooler has to ""keep "    barcode,  a image and lots of text for  each label.

Randomly , same type off label  ,  no  logic , it prints without error 30 pieces,   in same program next run, could happen it crashes on   6 labels

Users way off work ,  we  can't change it  its the open programs all dayopen programs all dayusageway the want....,  
has all programs open 24/7  never reboots,  never logs off

we think if we could in VB6 or by command line free  swap memory,  and or reset printspooler  it should resolve this problem
there no way to change user manners

so we look for input on this issue from the forum
Thanks for advise
Jack
0
Here's a fun little graph:

https://enex.net/topshef/dev/20200223/sds_graph.php?config_file=./data/working/NQJ.SDS.graph_config.live.txt

Nodes animate according to some physical attraction/repulsion rules, and a linear dampening on speed which is not strictly realistic and also results in a perpetual oscillation in some cases such as above.

Can anyone suggest a simple modification to the dampening that will remove this oscillation? Also why is the oscillation perpetual if there is dampening?

JS code is visible by viewing source.

Many thanks
0
hi am geting this error
Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.demo.soap.webservice:soap-course-management:jar:0.0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:jaxb2-maven-plugin is missing. @ line 58, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ----------< com.demo.soap.webservice:soap-course-management >-----------
[INFO] Building soap-course-management 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- jaxb2-maven-plugin:2.5.0:xjc (xjc) @ soap-course-management ---
[INFO] Created EpisodePath [C:\Spring5\soap\soap-course-management\src\main\java\META-INF\JAXB]: true
[INFO] Ignored given or default xjbSources [C:\Spring5\soap\soap-course-management\src\main\xjb], since it is not an existent file or directory.
[INFO] Ignored given or default sources [C:\Spring5\soap\soap-course-management\src\main\xsd], since it is not an existent file or directory.
[WARNING] No XSD files found. Please check your plugin configuration.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
0
Anyone know of a library (preferrably free/open source) that is compatible with the code generation done by Google Authenticator/Microsoft Authenticator (I think it's based on OATH - not OAuth, but I might have misread that).  

Biggest problem is that I need it to support VB6 applications.  

In short, I want to add 2FA to a VB6 app that can use the 30 second lifetime codes created by a key used in Google Authenticator or Microsoft Authenticator (and I suspect other authenticator apps).

(I'll also accept functions if it's simple enough that a third party library is unnecessary - but I have no idea!)
0
Hi,

I want to know whether there are any plagiarism check software for checking source code for multiple programming languages, multiple scripting languages, and multiple back ends.

Please provide your valuable suggestions along with the URLs for plagiarism check software for checking source code.

Reach out to me for any questions.

Thanks for your support.

Warm Regards
Sriram
0
I have trained a model to predict (detect) an object in images, a geometric shape.
I used about 90 images for training, used labelImg, it's a tool to draw rectangles around objects.
From those images and their xml files, made by labelImg I built a database, for Detecto to train.
Once that has been accomplished I saved the resulting model(.pth file), and used it to detect objects in new images.
Followed this tutorial:
Custom trained object detection in 5 lines of code.

https://towardsdatascience.com/build-a-custom-trained-object-detection-model-with-5-lines-of-code-713ba7f6c0fb

The model(weights.pth) I use for detection weighs 150MB, I had the impression that once a neural networks has been trained to detect an object, it gives back a matrix with some weights, which can be used for detection.
But that would only be a few MegaBytes max!
Why is detecto using the whole 150MB database for detection(images I used are 90 in number and close to 150MB in size)? and why does it take about 2 seconds to detect the object in the image? My first impression was that Detecto would let me download a single Matrix with weights and formula to which I feed an image and in a few milliseconds would give me a detection.Please explain in general what is going on here. Thank you.
0
I am new to react , next  js programming. through some tutorials I have created a boiler plate, server side rendering app, which has a following project structure.


nextApp
> .next
> node_nodules
> pages
    > api
        > app.js
> public
> src
   > views
       > layout.tsx
>.babelrc
>next-env.d.ts
>next.config.js
>package-lock.json
>package.json
>readme.md

now I want to create endpoints that talks to a database ( mysql preferebably) that the front end code can call.
how do I go about this. what are the libraries I need to create api and talk to the mysql database.

does anyone have a tutorial for this, and in the folder structure above, where should i start adding code/files for my api endpoints and how would the code that talks to the database be. ?
0
https://www.screencast.com/t/X7BJmQhFotlb

In IOS Swift programming, if I have a SWITCH, I can make it Action or Outlet.

If I make the SWITCH an ACTION, I cannot set its STATE from another button because there is no VALUE parameter to get a handle on and set.

If I make a SWITCH an OUTLET, I can SET the Switch State from another point, but I cannot take action based on setting that switch because an OUTLET does not have an action func

How can I get around this situation?

Requirement:
1. Click the BUTTON: Update the text property of a field AND change the STATE of the button
2. Click the BUTTON:  Update the text property of a fieldswitches-and-buttons.png
0
Hello,
why do I get a NumberFormatException in this line?
sum+=Double.parseDouble(input.toString());
How can I fix it?

    public class InputCalculator {
       
        public static void inputThenPrintSumAndAverage(){
            Scanner input = new Scanner(System.in);
            if(!input.hasNextInt()){
                System.out.println("SUM = 0 AVG = 0");
            }
            else{
                double sum=0,avg=0;
                int ctr=0;
                while(input.hasNextInt()){
                    sum+=Double.parseDouble(input.toString());
                    ctr++;
                }
                input.close();
                avg= Math.round(sum/ctr);
                System.out.println("SUM = "+ sum  + "AVG = " + avg);
            }
     
     
        }
     
    }
0
Can someone help me with my assignment? I need help with this assignment. I'm not sure that I write the code is wright for this assignment.  I'm using Assembly language. Please, someone, help me. I struggling in this class. I  really want to pass this class. Can someone explain to me this assignment and go over for this assignment?

This is the assignment:

A prime number is an integer that is divisible only by 1 and by itself. Write a program that:

1.      Takes a number as an input.

2.      Prints back to the console all the primes that are larger than 1 but not larger than the number that has been entered.

You need to have a procedure called isPrime. You may have more procedures if you like.

1.      This procedure receives a number through one of the registers.

2.      Checks if this number is prime.

3.      Returns back through one of the registers to the main program 1, if the number is prime, 0 otherwise.

sample run:

Please enter a number: 44

Primes found until the given number:

2 3 5 7 11 13 17 19 23 29 31 37 41 43 Press any key to continue . . .

The code I write is

include Irvine32.inc
.code
    ; Division Operations -
    ;eax <- edx:eax/arg
    ;edx <- edx:eax % arg

    call    read_hex

lb2:    
    dec     eax
    jz      exit
    jmp     prime_check

prime_check:

    ; The check for whether 2 is a prime is done separately here
    mov     ecx, eax
    sub     ecx, 2
    jz      is_prime

    mov     …
0
I need help with my assembly language assignment.  I'm not sure how to write three times a step to repeats. And how can I write code for
          DisplayDiff: calculates and displays the difference. (first input - the second input)

   Please, somebody, help me I feel frustrated. I need to submit this tomorrow but I want to finish it today. Can someone help me as soon as possible??!!

This is my assignment looks like Write a program that:

1.     Clears the screen, locates the cursor near the middle of the screen.

2.      Prompts the user for two signed integers.

3.      Displays their sum and difference.

4.      Repeats the same steps three times. Clears the screen after each loop iteration.

5.     You might need to call the following procedures from irvine32 library:

·        ClrScr

·        WriteString

·        WriteInt

·        ReadInt

·        Crlf

·        ReadChar

·        Gotoxy

The Gotoxy procedure locates the cursor at a given row and column in the console window. By default, the console window’s X-coordinate range is 0 to 79 and the Y-coordinate range is 0 to 24. When you call Gotoxy, pass the Y-coordinate (row) in DH and the X-coordinate (column) in DL. Sample call:

mov   dh,10 ; row 10

mov   dl,20 ; column 20

call  Gotoxy; locate cursor

 

6.     You need to create the following procedures:

        Locate. It needs to be called before anything displays on the screen. Where it sets the cursor position.…
0
Hi I want to buy or subscribe Customer service/Chat software that support on our website.
Just like Experts-Exchange but I hope the software has features to allow me programming something like the following:

1. If the member login, and the member's city is Los Angeles, CA. I want to have Customer Service Rep A on the chat. If member's city is Houston, TX, I want to have Customer Service Rep B on the chat.

Do you know where I can get it? Or does Twillo has a way I can build up using c#/MVC?
0
Is it possible to create an overlay on an iOS device that does not interact with an application? I am a newbie at programming and wanted to know if SwiftUI can accomplish this?
0

Programming

53K

Solutions

41K

Contributors

Programming includes both the specifics of the language you’re using, like Visual Basic, .NET, Java and others, but also the best practices in user experience and interfaces and the management of projects, version control and development. Other programming topics are related to web and cloud development and system and hardware programming.