# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=561

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 562

---

## [Julia and web app security](https://discourse.julialang.org/t/julia-and-web-app-security/3621)

<div class="topic-metadata">

**Author:** [@datnamer](https://discourse.julialang.org/u/datnamer)\
**Replies:** 6\
**Last updated:** [May 13, 2017, 8:01am UTC](https://discourse.julialang.org/t/julia-and-web-app-security/3621 "2017-05-13T08:01:39Z")

</div>

Django has had lots of time invested in its security, but I want to go with an all Julia stack. Is it a bad idea to select Julia (specifically genie.jl) for a web application if security is a potential concern? can one o…

---

## [Iterate delimited file as NamedTuples](https://discourse.julialang.org/t/iterate-delimited-file-as-namedtuples/3616)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 6\
**Last updated:** [May 13, 2017, 6:16am UTC](https://discourse.julialang.org/t/iterate-delimited-file-as-namedtuples/3616 "2017-05-13T06:16:34Z")

</div>

I have (gzip compressed) files that have ;-delimited rows. I would like to iterate over the rows of each file so that in the body of the iteration, I would have a NamedTuple of the raw fields, ie unparsed. This is becaus…

---

## [Gurobi SOC Constraint](https://discourse.julialang.org/t/gurobi-soc-constraint/3683)

<div class="topic-metadata">

**Author:** [@ahassansan](https://discourse.julialang.org/u/ahassansan)\
**Replies:** 12\
**Last updated:** [May 13, 2017, 1:43am UTC](https://discourse.julialang.org/t/gurobi-soc-constraint/3683 "2017-05-13T01:43:32Z")

</div>

I am having issues using Gurobi Solver for my SOC formulation. Following are my constraints: I am getting an error ERROR: LoadError: MethodError: no method matching NonlinearModel(::Gurobi.GurobiSolver) The mathematic…

---

## [Help with DataStreams toy problem](https://discourse.julialang.org/t/help-with-datastreams-toy-problem/3675)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 10\
**Last updated:** [May 12, 2017, 7:45pm UTC](https://discourse.julialang.org/t/help-with-datastreams-toy-problem/3675 "2017-05-12T19:45:50Z")

</div>

I am trying to learn my way around DataStreams. I thought I would implement a simple source which just gives random values (code below). Yet when I write a CSV from it, the file only contains the header. What am I doing …

---

## [ANN: Genie.jl updates: new website, new workflow and API docs](https://discourse.julialang.org/t/ann-genie-jl-updates-new-website-new-workflow-and-api-docs/3676)

<div class="topic-metadata">

**Author:** [@essenciary](https://discourse.julialang.org/u/essenciary)\
**Replies:** 0\
**Last updated:** [May 12, 2017, 4:54pm UTC](https://discourse.julialang.org/t/ann-genie-jl-updates-new-website-new-workflow-and-api-docs/3676 "2017-05-12T16:54:07Z")

</div>

I’m super happy to announce some major Genie milestones: 1/ Genie now has a website at http://genieframework.com – it has getting started tips as well as info about Genie and links to API docs, repos and other useful re…

---

## [Julia 0.6 Unicode Parsing Problem](https://discourse.julialang.org/t/julia-0-6-unicode-parsing-problem/3649)

<div class="topic-metadata">

**Author:** [@Daneel](https://discourse.julialang.org/u/Daneel)\
**Replies:** 4\
**Last updated:** [May 12, 2017, 7:55am UTC](https://discourse.julialang.org/t/julia-0-6-unicode-parsing-problem/3649 "2017-05-12T07:55:24Z")

</div>

Julia 0.6.0-rc1.0 can’t properly load a Unicode character in a settings file I have, specifically “³” (U+00b3). Julia doesn’t have a problem if it’s a UTF-8 Unicode file but the settings files we have are generated in IS…

---

## [How to lookup longitude/latitude from address string?](https://discourse.julialang.org/t/how-to-lookup-longitude-latitude-from-address-string/3665)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 7\
**Last updated:** [May 12, 2017, 4:23am UTC](https://discourse.julialang.org/t/how-to-lookup-longitude-latitude-from-address-string/3665 "2017-05-12T04:23:22Z")

</div>

How can we lookup an approximate longitude/latitude for a location in the globe given an arbitrary address string (e.g. “San Francisco, CA”)?

---

## [JuliaDB - Support for reading GZ file extension](https://discourse.julialang.org/t/juliadb-support-for-reading-gz-file-extension/3654)

<div class="topic-metadata">

**Author:** [@hpoit](https://discourse.julialang.org/u/hpoit)\
**Replies:** 1\
**Last updated:** [May 11, 2017, 11:04pm UTC](https://discourse.julialang.org/t/juliadb-support-for-reading-gz-file-extension/3654 "2017-05-11T23:04:55Z")

</div>

@shashi, does \_csvread from TextParse parsing abstract strings pose a problem for I/O streams? I’m not sure if we should be discussing this here instead of on the Github issues I created, but since you brought it here I…

---

## [Pulling array data from IndexedTables or JuliaDB](https://discourse.julialang.org/t/pulling-array-data-from-indexedtables-or-juliadb/3651)

<div class="topic-metadata">

**Author:** [@ExpandingMan](https://discourse.julialang.org/u/ExpandingMan)\
**Replies:** 1\
**Last updated:** [May 11, 2017, 5:46pm UTC](https://discourse.julialang.org/t/pulling-array-data-from-indexedtables-or-juliadb/3651 "2017-05-11T17:46:39Z")

</div>

Typically, to do anything useful with tabular data it has to be converted to a plain-old array, often of floats. And, far worse, usually you have to take the output from doing something to said array back into the data …

---

## [Non-monotonic equations and \`mcpsolver\` from \`NLsolve\`](https://discourse.julialang.org/t/non-monotonic-equations-and-mcpsolver-from-nlsolve/3493)

<div class="topic-metadata">

**Author:** [@HugoLhuillier](https://discourse.julialang.org/u/HugoLhuillier)\
**Replies:** 2\
**Last updated:** [May 11, 2017, 8:17am UTC](https://discourse.julialang.org/t/non-monotonic-equations-and-mcpsolver-from-nlsolve/3493 "2017-05-11T08:17:02Z")

</div>

Dear all, Working on some related topics, I’ve realized that the mcpsolver provided by the NLsolve package is struggling to find the solution(s) to non-monotonic functions. As an example, say we are looking for the x’…

---

## [Multi-Objective Combinatorial Optimization](https://discourse.julialang.org/t/multi-objective-combinatorial-optimization/3604)

<div class="topic-metadata">

**Author:** [@KrishnaKanhaiya](https://discourse.julialang.org/u/KrishnaKanhaiya)\
**Replies:** 4\
**Last updated:** [May 10, 2017, 9:24pm UTC](https://discourse.julialang.org/t/multi-objective-combinatorial-optimization/3604 "2017-05-10T21:24:43Z")

</div>

I have a problem statement where I have to maximize multiple (2 or more than 2) objective functions simultaneously and the some of the variables involved are discrete whereas the remaining are continuous. Is there any ju…

---

## [Mixing models between JuMP.jl and Convex.jl](https://discourse.julialang.org/t/mixing-models-between-jump-jl-and-convex-jl/3633)

<div class="topic-metadata">

**Author:** [@adowling2](https://discourse.julialang.org/u/adowling2)\
**Replies:** 2\
**Last updated:** [May 10, 2017, 9:21pm UTC](https://discourse.julialang.org/t/mixing-models-between-jump-jl-and-convex-jl/3633 "2017-05-10T21:21:51Z")

</div>

I have been using JuMP for the last 2 years. I am now rather comfortable with the syntax and I have successfully solved some very complex models. For these reasons, JuMP is my preferred modeling environment. I often solv…

---

## [Derivative of variable with respect to constraint?](https://discourse.julialang.org/t/derivative-of-variable-with-respect-to-constraint/1733)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 5\
**Last updated:** [May 10, 2017, 4:34pm UTC](https://discourse.julialang.org/t/derivative-of-variable-with-respect-to-constraint/1733 "2017-05-10T16:34:26Z")

</div>

I have a Linear Programming problem that I am modeling using JuMP. If I understand correctly, JuMP.getdual(cons) evaluated on a constrain gives the rate of change of the objective if the RHS of the constrain is slightly …

---

## [Has anyone gotten SCIP 4.0 to work with Julia?](https://discourse.julialang.org/t/has-anyone-gotten-scip-4-0-to-work-with-julia/3014)

<div class="topic-metadata">

**Author:** [@Frank\_Kampas](https://discourse.julialang.org/u/Frank_Kampas)\
**Replies:** 11\
**Last updated:** [May 10, 2017, 4:25pm UTC](https://discourse.julialang.org/t/has-anyone-gotten-scip-4-0-to-work-with-julia/3014 "2017-05-10T16:25:18Z")

</div>

I tried following the instructions on my MacBookAir, but it fails testing.

---

## [How to draw arrows in 3D with Plots.jl?](https://discourse.julialang.org/t/how-to-draw-arrows-in-3d-with-plots-jl/3622)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 4\
**Last updated:** [May 10, 2017, 6:37am UTC](https://discourse.julialang.org/t/how-to-draw-arrows-in-3d-with-plots-jl/3622 "2017-05-10T06:37:27Z")

</div>

How would you plot a velocity field in 3D assuming that we have the positions in a 3xn matrix P and the velocities in a 3xn matrix V?

---

## [How to subset a stream I/O and pass it to TensorFlow.jl? (question has been updated)](https://discourse.julialang.org/t/how-to-subset-a-stream-i-o-and-pass-it-to-tensorflow-jl-question-has-been-updated/3502)

<div class="topic-metadata">

**Author:** [@hpoit](https://discourse.julialang.org/u/hpoit)\
**Replies:** 61\
**Last updated:** [May 6, 2017, 8:56pm UTC](https://discourse.julialang.org/t/how-to-subset-a-stream-i-o-and-pass-it-to-tensorflow-jl-question-has-been-updated/3502 "2017-05-06T20:56:56Z")

</div>

Hello! I’m not sure what the best way to sort is in this case but this is the plan: I would like to turn the below block of code into a loop (I was advised by @ChrisRackauckas not to loop through rows, and to use DataFra…

---

## [Call CUDA C code via ccall](https://discourse.julialang.org/t/call-cuda-c-code-via-ccall/3539)

<div class="topic-metadata">

**Author:** [@WneleiGao](https://discourse.julialang.org/u/WneleiGao)\
**Replies:** 3\
**Last updated:** [May 6, 2017, 6:44am UTC](https://discourse.julialang.org/t/call-cuda-c-code-via-ccall/3539 "2017-05-06T06:44:25Z")

</div>

Hi everyone, I have a very simple code to perform parallel vector summation on GPU. The code is written with CUDA C, then compiled to be a shared library. When I try to call the library function via ccall in Julia, it ca…

---

## [Bitwise not (~) do noting on windows64](https://discourse.julialang.org/t/bitwise-not-do-noting-on-windows64/3542)

<div class="topic-metadata">

**Author:** [@7akase](https://discourse.julialang.org/u/7akase)\
**Replies:** 5\
**Last updated:** [May 6, 2017, 5:34am UTC](https://discourse.julialang.org/t/bitwise-not-do-noting-on-windows64/3542 "2017-05-06T05:34:39Z")

</div>

Hi. I tried bitwise not operator (~) and get the unchanged result ~123 #=\> 123 while -124 is expected according to the document. I uses v0.5.0 on windows64. Could anyone tell me the proper way to use this operato…

---

## [Python train\_test\_split vs Julia splitobs](https://discourse.julialang.org/t/python-train-test-split-vs-julia-splitobs/2697)

<div class="topic-metadata">

**Author:** [@JuliaCaesar](https://discourse.julialang.org/u/JuliaCaesar)\
**Replies:** 11\
**Last updated:** [May 5, 2017, 10:49pm UTC](https://discourse.julialang.org/t/python-train-test-split-vs-julia-splitobs/2697 "2017-05-05T22:49:21Z")

</div>

Hi, I have difficulties switching from Python’s train\_test\_split() to Julia’s splitdata() . After many tests, I wonder if those commands are similar. Is it possible for someone to give some explanations about them ?

---

## ["online" statistics?](https://discourse.julialang.org/t/online-statistics/3536)

<div class="topic-metadata">

**Author:** [@ndbecker](https://discourse.julialang.org/u/ndbecker)\
**Replies:** 1\
**Last updated:** [May 5, 2017, 1:03pm UTC](https://discourse.julialang.org/t/online-statistics/3536 "2017-05-05T13:03:42Z")

</div>

I often need to compute running statistics, also called “online”. For example, consider a long-running process which generates a vector of results every 30 seconds. I might want 2nd-order stats, or a histogram. I don…

---

## [Flux Updates](https://discourse.julialang.org/t/flux-updates/3533)

<div class="topic-metadata">

**Author:** [@MikeInnes](https://discourse.julialang.org/u/MikeInnes)\
**Replies:** 0\
**Last updated:** [May 5, 2017, 12:02pm UTC](https://discourse.julialang.org/t/flux-updates/3533 "2017-05-05T12:02:58Z")

</div>

I’ve just released Flux’s first major update since its release, which brings everything up to speed for 0.6 and nails down APIs for things like RNNs and training. I’ve also reworked the docs based on user feedback, so n…

---

## [Using PyPlot under emacs iESS](https://discourse.julialang.org/t/using-pyplot-under-emacs-iess/3516)

<div class="topic-metadata">

**Author:** [@ndbecker](https://discourse.julialang.org/u/ndbecker)\
**Replies:** 0\
**Last updated:** [May 4, 2017, 2:33pm UTC](https://discourse.julialang.org/t/using-pyplot-under-emacs-iess/3516 "2017-05-04T14:33:44Z")

</div>

I’m trying PyPlot under emacs iESS mode. I start with: import PyPlot; const plt = PyPlot Then plt.figure does nothing. I need to do plt.pygui(true)\`\`, then figures will appear. Without plt.pygui(true)no figures ap…

---

## [New Package: Journal.jl](https://discourse.julialang.org/t/new-package-journal-jl/3507)

<div class="topic-metadata">

**Author:** [@joshbode](https://discourse.julialang.org/u/joshbode)\
**Replies:** 0\
**Last updated:** [May 3, 2017, 11:56pm UTC](https://discourse.julialang.org/t/new-package-journal-jl/3507 "2017-05-03T23:56:33Z")

</div>

I would like to announce a new logging package we have developed and are using in a number of internal projects: Journal.jl is currently unregistered but development has stabilised. Any feedback would be appreciated …

---

## [Getting PlotlyJS to show up for online jupyter notebooks](https://discourse.julialang.org/t/getting-plotlyjs-to-show-up-for-online-jupyter-notebooks/3484)

<div class="topic-metadata">

**Author:** [@mirestrepo](https://discourse.julialang.org/u/mirestrepo)\
**Replies:** 5\
**Last updated:** [May 3, 2017, 2:03pm UTC](https://discourse.julialang.org/t/getting-plotlyjs-to-show-up-for-online-jupyter-notebooks/3484 "2017-05-03T14:03:09Z")

</div>

Does anyone know a way to get the plots generated by PlotlyJS inside notebooks to show up online? (they render fine running in local host). In Github or nbviewer they are always blank for me e.g http://nbviewer.jupyter…

---

## [Plots types documentation](https://discourse.julialang.org/t/plots-types-documentation/3456)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 7\
**Last updated:** [May 2, 2017, 7:00pm UTC](https://discourse.julialang.org/t/plots-types-documentation/3456 "2017-05-02T19:00:23Z")

</div>

Hello, I am I bit lost with the Plots (but also other plotting packages) documentation: there are really lots of great examples for doing complicate stuff, but on the other side very little comprehensive documentation. …

---

## [How to df\[:newConcatenatedCol\] = df\[:stringCol\] \* string(df\[:intCol\])?](https://discourse.julialang.org/t/how-to-df-newconcatenatedcol-df-stringcol-string-df-intcol/2207)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 5\
**Last updated:** [May 2, 2017, 3:22am UTC](https://discourse.julialang.org/t/how-to-df-newconcatenatedcol-df-stringcol-string-df-intcol/2207 "2017-05-02T03:22:53Z")

</div>

How to convert a column of integers (or floats) in a column of strings and concatenate it to other string column(s) ? e.g.: df = DataFrame(a=\["aa","ab","ac"\],year=\[2015,2016,2017\]) df\[:c\] = df\[:a\] \* " " \* string(df\[:ye…

---

## [Plot with not imaginary part](https://discourse.julialang.org/t/plot-with-not-imaginary-part/3458)

<div class="topic-metadata">

**Author:** [@Tulio\_Valentim](https://discourse.julialang.org/u/Tulio_Valentim)\
**Replies:** 3\
**Last updated:** [May 1, 2017, 5:27pm UTC](https://discourse.julialang.org/t/plot-with-not-imaginary-part/3458 "2017-05-01T17:27:39Z")

</div>

Hi, I need to plot a function/array that have complex number. This complex number are giving bad results to my graphic, as you can see in the image a line keep going in the corner of the Ellipsoid, this line is not welco…

---

## [LoadError: SystemError: No such file or directory while loading](https://discourse.julialang.org/t/loaderror-systemerror-no-such-file-or-directory-while-loading/3422)

<div class="topic-metadata">

**Author:** [@Wael\_Sboui](https://discourse.julialang.org/u/Wael_Sboui)\
**Replies:** 2\
**Last updated:** [May 1, 2017, 1:35pm UTC](https://discourse.julialang.org/t/loaderror-systemerror-no-such-file-or-directory-while-loading/3422 "2017-05-01T13:35:26Z")

</div>

LoadError: SystemError: opening file Intervals.csv: No such file or directory while loading C:\\Users\\Wael Sboui 22987392\\Desktop\\Airplane-V5.9\\Airplane-V5.9\\AirplaneRealStats6.1.jl, in expression starting on line 379

---

## [Ipopt built with MKL not resolving dependencies when called from Julia](https://discourse.julialang.org/t/ipopt-built-with-mkl-not-resolving-dependencies-when-called-from-julia/3436)

<div class="topic-metadata">

**Author:** [@iaravena](https://discourse.julialang.org/u/iaravena)\
**Replies:** 3\
**Last updated:** [April 30, 2017, 10:56pm UTC](https://discourse.julialang.org/t/ipopt-built-with-mkl-not-resolving-dependencies-when-called-from-julia/3436 "2017-04-30T22:56:26Z")

</div>

Hi all, I have been trying to make Ipopt.jl to work with my Ipopt built against MKL using ICC (which is working without errors, all test passing). Following this topic I modified the file ~/.julia/v0.5/Ipopt/deps/deps.j…

---

## [SOC constraint using Gurobi](https://discourse.julialang.org/t/soc-constraint-using-gurobi/3438)

<div class="topic-metadata">

**Author:** [@ahassansan](https://discourse.julialang.org/u/ahassansan)\
**Replies:** 3\
**Last updated:** [April 30, 2017, 7:38pm UTC](https://discourse.julialang.org/t/soc-constraint-using-gurobi/3438 "2017-04-30T19:38:59Z")

</div>

what is the proper syntax to add second order cone constraints? I am using Gurobi solver with JuMP.

[Previous page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=560)

[Next page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=562)
