Julia package for running shell commands
Is there a julia package for running shell commands which can take command line arguments? 2 posts - 2 participants Read full topic
View ArticleExtracting information from https://www.tipranks.com/stocks/MSFT/stock-analysis
In a previous post I made here on discourse link, nilshg was kind enough to help me solve the problem that I had. Unfortunately, I am having difficulty using what I learned from nilshg on the present...
View ArticleImport struct from other module as a parameter
I’ve following dir structure: -> Calc (root dir) -> src -> Calc.jl -> Controls.jl -> Models.jl Below are the content of the files: Calc.jl: module Calc include("Models.jl")...
View ArticleJSON string to composite type
Hi, I was trying to consume a rest API, specifically to make a GET request and transform the response into a custom composite type. Unfortunately, I am missing something, because I am getting errors I...
View ArticleRegression and goodness-of-fit?
Basic, technical questions on “goodness-of-fit” for regression models… Using N data points, suppose I fit a regression model with n_\beta parameters \beta to get a predictor \hat{y}_i =...
View ArticleSmoothing interpolation for tachometer data
In rotating machinery analysis, tachometer signals are often collected. If a 1 pulse per revolution tachometer is sampled at the same frequency as the vibration signal, then there is some jitter in...
View ArticleConverting user-supplied strings/text to EBCDIC hexadecimal characters
I am currently trying to explore how to convert user-supplied plaintext to hexadecimal characters in ASCII and EBCDIC. The website I’m developing requires the user to supply a string (256 chars min),...
View ArticleVerifying ability to run for repository
Hello, so I am trying to run my first cloned Julia-repository for two days. Constantly I am running into problems to the point where I dont even know anymore, if those scripts in the examples folder...
View ArticleAutomate allocation
Is it possible to automate this: #I currently have: y_TX, m_TX, ŷ_TX, ATT_TX, ATT_co, se_i_TX, se_t_TX = [], [], [], [], [], [], [] # I want something like: y_TX, m_TX, ŷ_TX, ATT_TX, ATT_co,...
View ArticleConditional SUM when the indices of one vector match the indices of another
Hello guys. I am quite new at Julia and coding entirely, so I’d appreciate some help to the probably dumb question below. I am trying to solve an optimisation problem for a nodal system of 24 points....
View ArticleUsing Makie with Revise
Hi - is there a workflow that helps with incrementally building a graph with Makie? At the moment, I am having to restart the REPL when making large changes to my scene (changing a barplot to a line...
View ArticleCombine(Merge) Columns
Programming & Julia newbie here: I have googled and searched the documentation and tried various ways to do this but I cannot come up with a solution and it seems so simple. Is there a way to...
View ArticleHow to append a single row to an Excel file using XLSX?
I’m trying to write a simple function that appends a row to an existing Excel spreadsheet. The new row should be appended to the “bottom” of the data in the spreadsheet. I’m assuming that if there are...
View ArticleFew questions on usage of (convert) and (promote) in dual.jl
I’m looking at conversion-and-promotion documentation and also dual.jl implementation and need help the following lines. (I apologize that I’m asking several questions in the same topic). Unclear, why...
View ArticleLocal arrays in for loops
Hello, Is there a nice way to use vectors in arrays without spending too much time on allocations? I have some parallel for loops and if I set 3 scalar variables to certain values, it seems to perform...
View ArticleHow does Julia store array sizes?
Very simple question, but to my surprise I was unable to find an answer by Googling / searching this forum. Where/how does Julia internally store size/shape/length information for arrays? I know you...
View ArticleConfused by pass-by-sharing
In the following simple stylised script, mutable struct P <: AbstractP this that end p = P() ... sol1 = optimal(p) q = p p = add(p, something) # p changed sol2 = optimal(p) p = q sol3 = optimal(p)...
View ArticleUnPack does not work in DrWatson on a different machine
I am using DrWatson to run simulations. I wrote everything on my machine and now I am trying to run it on a cluster. I have copied the Project folder and activated and instantiated the Project on the...
View ArticleUsing dict_list of DrWatson on a cluster
I am using DrWatson on a cluster. I would like to use the dict_list() in order to get all permutations of the parameters set. However, every script I run has to run many times (over many workers) with...
View ArticleFailed to Convert a Keras model into a Julia Flux model
I have a working model in Keras but I did not find the relevant commands in Flux in order to convert it. Any idea? model = Sequential() model.add(Conv1D(filters=24, kernel_size=4, activation='relu',...
View Article