Quantcast
Channel: First steps - JuliaLang
Browsing all 2795 articles
Browse latest View live

PDFIO pdPageExtractText

@BMval wrote: Does anybody work with PDFIO.jl? I need to extract text from pdf, due to limiting of my knowledge, I don’t understand how to use the method to save text to string, which is printing to...

View Article


Repeat with y as k

@brett_knoss wrote: d = .05 n = .01 g = .015 s = .3 k=6 yn( k, s, d, g,) = k-(d+n+g)*k + s*k^(1/3) I have this function, and it calculates yn= 6.09514 . Now I would like to replace k with yn, and find...

View Article


Error when performing join on Distributed Tables (JuliaDB)

@Jakob wrote: Hi, I get the error message shown below when trying to do the following out-of-core join: t209_expanded = join(t209, t201_sel, broadcast = :right, how = :left, lkey = :appln_id, rkey =...

View Article

Generate a dataset

@STHossain wrote: I am sorry maybe my title of the problem is probably not so appropriate, but here is the problem. So I have some arrays of categorical or boolean values and I want to create a...

View Article

Understanding the structure of projects

@Lorenzo wrote: Hi! This is my second super-newbie question, I hope you’re so kind to help me since this will be quite a broad one. A little background: I’m at my first year (of probably 5) of a CS...

View Article


Deleting edges from SimpleWeightedDiGraph based on edge weight

@Jakob wrote: Hi, i would like to remove multiple edges from a SimpleWeightedDiGraph based on their weight. However, naively looping over edges as in the example below does not yield the desired...

View Article

Can't install IJulia

@Lin wrote: Hi, I am new to start Julia. I see the following error when I was installing IJulia: ERROR: Unable to automatically install 'ZeroMQ' from 'C:\Users\user\.julia\packa...

View Article

How to lazily filter an iterator while also applying a function to it

@jeffreyesun wrote: Hi, I’m trying to figure out how to do the following: given an iterator A, create a generator that goes through each element v of A, and either yields something as a function of v...

View Article


JuliaPro pkg installation: ERROR: IOError: unlink: permission denied (EACCES)

@donkeysaddle wrote: I just installed JuliaPro. I have Juno up and running and have executed some basic code. I am, however, unable to install any packages. Instead I keep getting the error: ERROR:...

View Article


Fork and build Julia for a PR to stdlib?

@pdeffebach wrote: If I want to make a change to Statistics, which is a stdlib, do I have to fork julia, clone it, build it from source, and edit the file there? Or is there another way? Could I use...

View Article

Best practice for assertions for debugging purposes

@efokken wrote: Hi there! I’m building a package and have started to use asserts in all my functions that check dimensions of the function arguments. As most of these functions are called from my own...

View Article

Weird plot behavior within function

@wizebt wrote: Hi, Trying to display plots within a function, no plot window was showing. Digging to the root here is the issue: tp() is displaying plot and not tp1()? Cannot get the rational on why a...

View Article

Initializing a dataframe

@erlebach wrote: Hi, I would like to initialize a dataframe with only the column names and no data and then add rows of mixed type. For example: using DataFrames.jl df = DF.DataFrame([:a, :b])...

View Article


DifferentialEquations.jl ERROR: UndefVarError: CostVData not defined

@PharmCat wrote: I try to otimize function with DifferentialEquations.jl + Optim.jl like in documetation, but I have: ERROR: UndefVarError: CostVData not defined using DifferentialEquations, Plots,...

View Article

Jl_init() causing segmentation fault

@AndresGomez97 wrote: Hi, I am new in Julia and I am trying to run the following code that embeds julia into c. #include <stdio.h> #include <stdlib.h> #include <dlfcn.h> #include...

View Article


Type assertion?

@BLI wrote: I’m playing around with a function where the argument should be a vector of same-sized vectors, i.e., v = [v1,v2,v3,...,vN] where v1, …, vN etc. are vectors containing scalar elements, and...

View Article

Segfault on struct creation; gc involved

@Bodya00 wrote: Hello and thank you for your time. I have a problem with random segfaults on struct initialization(example attached below). Every stacktrace leads to gc code and every stacktrace goes...

View Article


Bipartite weighted network

@mp-crypto wrote: Hello, I am new to Julia (moving from Python). I am trying to generate a bipartite weighted network from a data frame. The data frame contains the “edgelist” (i.e., a column for...

View Article

Complex root finder for a general function f(z)?

@hongchengni wrote: Hello, I am new to Julia. I wonder if there is a Julia package that can obtain the complex root for a general complex equation f(z)=0? I am aware there are packages such as...

View Article

Image may be NSFW.
Clik here to view.

Solving a chaotic differential equation

@Eris wrote: I’m new to Julia and learning how to use ODEProblem. I’m trying to solve the following system imgonline-com-ua-twotoone-7xMJ4sodegZ6hKh1406×788 114 KB However my code is only producing a...

View Article
Browsing all 2795 articles
Browse latest View live