chunk_id
large_string
question_id
large_string
language
large_string
chunk_index
int64
chunk_text
large_string
sparse_text
large_string
dense_vector
list
sparse_indices
list
sparse_values
list
export_source
large_string
72924225_c0
72924225
julia
0
Title: Julia Function type annotation Problem title: Julia Function type annotation Tags: types, julia Problem: Julia Function type annotation I`m new to Julia, so this might be a stupid question. I have a type, with a function as an attribute, like: struct exampleStruct someAtrribute::someType theFunction::Function en...
Julia Function type annotation Julia Function type annotation types julia Julia someAtrribute::someType theFunction::Function Float64 Julia Function type annotation I`m new to Julia, so this might be a stupid question. I have a type, with a function as an attribute, like: Is there a proper way to further specify the ty...
[ 0.037353515625, 0.01025390625, -0.00823974609375, -0.01263427734375, 0.004486083984375, 0.003814697265625, 0.0040283203125, -0.01507568359375, -0.0128173828125, 0.009033203125, -0.00836181640625, -0.03515625, -0.0223388671875, 0.005767822265625, 0.012451171875, 0.0023040771484375, 0....
[ 60592, 28670, 10763, 10644, 8668, 22062, 52895, 14801, 11, 3060, 42, 28177, 43452, 196707, 70, 97249, 38699, 257, 13307, 3525, 110833, 9655, 765, 678, 32354, 237, 150380, 27798, 3917, 53333, 40140, 18929, 111, 28601, 10750, 136, 30646, 110527...
[ 0.27978515625, 0.173095703125, 0.1551513671875, 0.2191162109375, 0.1341552734375, 0.06219482421875, 0.1663818359375, 0.1763916015625, 0.0799560546875, 0.044769287109375, 0.0262298583984375, 0.148193359375, 0.016571044921875, 0.1915283203125, 0.1629638671875, 0.20166015625, 0.15820312...
embed
65502320_c0
65502320
julia
0
Title: Inconsistent behavior of Julia ccall Problem title: Inconsistent behavior of Julia ccall Tags: julia, c, windows Problem: Inconsistent behavior of Julia ccall I'm attempting to use ccall to interface with a Windows function (FindWindowA to be specific), but i'm getting a weird behavior julia> ccall((:FindWindowA...
Inconsistent behavior of Julia ccall Inconsistent behavior of Julia ccall julia c windows Inconsistent Julia FindWindowA user32 Int32 Ptr Cvoid C_NULL user32.FindWindowA C_NULL::Ptr Inconsistent behavior of Julia ccall I'm attempting to use ccall to interface with a Windows function (FindWindowA to be specific), but i'...
[ 0.026611328125, 0.016357421875, 0.00823974609375, 0.0225830078125, 0.0096435546875, -0.007415771484375, 0.0230712890625, -0.0244140625, 0.002685546875, -0.0250244140625, -0.00616455078125, -0.01055908203125, -0.00543212890625, 0.003143310546875, 0.029296875, -0.0252685546875, 0.01330...
[ 360, 25553, 6892, 18, 123166, 111, 60592, 501, 85763, 14801, 11, 54825, 26040, 92049, 24293, 284, 38937, 6460, 4448, 965, 532, 313, 33261, 23708, 204582, 81887, 4527, 47, 101758, 678, 3773, 32354, 29458, 20949, 179459, 3917, 2046, 74729, 50...
[ 0.089599609375, 0.1763916015625, 0.2109375, 0.064208984375, 0.1964111328125, 0.04595947265625, 0.272705078125, 0.10394287109375, 0.299560546875, 0.1573486328125, 0.0985107421875, 0.1253662109375, 0.1280517578125, 0.0916748046875, 0.1357421875, 0.13720703125, 0.105712890625, 0.19104...
embed
62749699_c0
62749699
julia
0
Title: LoadError using Atom for Julia Problem title: LoadError using Atom for Julia Tags: juno-ide, julia, atom-editor Problem: LoadError using Atom for Julia I am attempting to do a standard install of Julia and the Atom IDE. I installed Julia 1.4.2 and Atom 1.48.0 as as well as uber-juno on Atom. Julia appears to hav...
LoadError using Atom for Julia LoadError using Atom for Julia juno-ide julia atom-editor LoadError UndefVarError Atom at Julia ERROR find_in_path Stacktrace Module Symbol sysimg.jl:13 Users boot.jl:3 boot.jl:317 include_relative loading.jl:1044 sysimg.jl:29 exec_options Base.JLOptions client.jl:266 _start client.jl:425...
[ 0.0201416015625, 0.0101318359375, 0.0023345947265625, 0.019775390625, 0.0019683837890625, -0.006805419921875, 0.01239013671875, -0.021728515625, -0.0196533203125, -0.0228271484375, -0.0020294189453125, -0.026123046875, 0.003631591796875, -0.0216064453125, 0.013916015625, 0.001472473144...
[ 2091, 712, 18468, 31611, 17368, 69728, 100, 60592, 1129, 157, 2506, 14801, 11, 34627, 175583, 5533, 4240, 81827, 99, 151206, 7413, 73, 128405, 6512, 32111, 99407, 63014, 131899, 954, 5072, 177, 51349, 22618, 53400, 49935, 363, 27321, 26698, ...
[ 0.1492919921875, 0.124267578125, 0.167236328125, 0.1190185546875, 0.1343994140625, 0.2509765625, 0.1341552734375, 0.27099609375, 0.13232421875, 0.1829833984375, 0.1600341796875, 0.1741943359375, 0.1055908203125, 0.2061767578125, 0.19140625, 0.0830078125, 0.13037109375, 0.1791992187...
embed
68613236_c0
68613236
julia
0
Title: Julia building strings with no allocation Problem title: Julia building strings with no allocation Tags: performance, julia, heap-memory, allocation Problem: Julia building strings with no allocation I am trying to build a string up from small parts to send to a websocket. #Example input from somewhere else side...
Julia building strings with no allocation Julia building strings with no allocation performance julia heap-memory allocation somewhere Julia Example string_of_id Caterpillar side::String px::Float64 ticker::String sz::Int64 ordType::String Int64 Key1 Leftorright type_of_speller Julia building strings with no allocation...
[ 0.007720947265625, 0.00787353515625, -0.0284423828125, -0.00075531005859375, 0.01019287109375, -0.0006866455078125, 0.01177978515625, -0.01397705078125, 0.01129150390625, -0.0028228759765625, 0.025634765625, -0.02978515625, 0.015869140625, -0.01080322265625, 0.009765625, -0.00479125976...
[ 60592, 33976, 79315, 678, 110, 144, 87632, 7, 23718, 14801, 11, 764, 2631, 109005, 53, 174653, 89536, 4390, 532, 18826, 56, 5974, 320, 5609, 71713, 88684, 365, 13307, 11050, 5333, 8597, 196707, 26824, 54969, 10644, 11337, 31577, 45367, 1257...
[ 0.273193359375, 0.1802978515625, 0.2430419921875, 0.0699462890625, 0.1458740234375, 0.1510009765625, 0.2088623046875, 0.034332275390625, 0.1871337890625, 0.174072265625, 0.1109619140625, 0.124755859375, 0.1370849609375, 0.1483154296875, 0.0950927734375, 0.06243896484375, 0.0508728027...
embed
59706441_c0
59706441
julia
0
Title: How to load package module without importing functions in Julia Problem title: How to load package module without importing functions in Julia Tags: julia Problem: How to load package module without importing functions in Julia I can do that with relative paths include("./lib/finance.jl") and use as Finance.some...
How to load package module without importing functions in Julia How to load package module without importing functions in Julia julia Statistics How Julia finance.jl Finance.some_finance_fn statistics.jl Statistics.mean How to load package module without importing functions in Julia I can do that with relative paths in...
[ 0.0238037109375, -0.00396728515625, -0.0233154296875, 0.0037689208984375, -0.025634765625, -0.0157470703125, 0.0341796875, -0.00860595703125, -0.01226806640625, -0.01251220703125, 0.003173828125, -0.00958251953125, -0.0103759765625, -0.006378173828125, 0.01153564453125, -0.009582519531...
[ 11249, 72367, 98169, 88996, 15490, 24927, 32354, 23, 60592, 14801, 11, 126124, 28021, 82466, 51349, 81163, 43452, 114584, 13, 14783, 80835, 282, 66, 35845, 60875, 26698, 5612, 4527, 237, 3642, 5701, 678, 17346, 48242, 959, 20697, 17368, 31255...
[ 0.06219482421875, 0.2099609375, 0.2154541015625, 0.2109375, 0.1275634765625, 0.15673828125, 0.1619873046875, 0.06787109375, 0.295654296875, 0.1895751953125, 0.1058349609375, 0.210693359375, 0.113037109375, 0.177001953125, 0.17236328125, 0.1971435546875, 0.0927734375, 0.162719726562...
embed
71445573_c0
71445573
julia
0
Title: Transpose a matrics in Julia without Transpose operator ( ' ) and extra packages Problem title: Transpose a matrics in Julia without Transpose operator ( ' ) and extra packages Tags: julia, arrays, matrix, transpose Problem: Transpose a matrics in Julia without Transpose operator ( ' ) and extra packag...
Transpose a matrics in Julia without Transpose operator ( ' ) and extra packages Transpose a matrics in Julia without Transpose operator ( ' ) and extra packages julia arrays matrix transpose Transpose Julia a::Array Int64 Transpose a matrics in Julia without Transpose operator ( ' ) and extra packages I am r...
[ -0.00180816650390625, 0.030517578125, -0.005126953125, 0.021484375, -0.00160980224609375, -0.0255126953125, -0.0023040771484375, 0.0098876953125, -0.00823974609375, -0.01025390625, -0.0101318359375, -0.0006103515625, -0.02197265625, 0.003631591796875, -0.0223388671875, -0.01513671875, ...
[ 11062, 78381, 50944, 4439, 23, 60592, 15490, 39933, 3768, 4173, 98169, 10, 14801, 11, 10298, 4778, 425, 3900, 7092, 13307, 242, 313, 56037, 16981, 10002, 32354, 179933, 40956, 37842, 1096, 4460, 158, 15555, 47, 39531, 184, 62539, 55300, 432...
[ 0.1717529296875, 0.180908203125, 0.1669921875, 0.096923828125, 0.06329345703125, 0.280029296875, 0.1187744140625, 0.157958984375, 0.016021728515625, 0.06005859375, 0.1490478515625, 0.0579833984375, 0.1678466796875, 0.1124267578125, 0.1058349609375, 0.04571533203125, 0.001129150390625...
embed
72777969_c1
72777969
julia
1
Blas . However, even using MKL ( MKL.jl ) the performance gain is very small Also the usage of the fastmath option does not change anything. Maybe, the functions which I'm calling are already compiled so that this option does not work here. Also the use StaticArrays might be useful in some cases. But for non-hermitian ...
Blas . However, even using MKL ( MKL.jl ) the performance gain is very small Also the usage of the fastmath option does not change anything. Maybe, the functions which I'm calling are already compiled so that this option does not work here. Also the use StaticArrays might be useful in some cases. But for non-hermitian ...
[ -0.00811767578125, 0.00164794921875, -0.006927490234375, -0.0150146484375, 0.012939453125, -0.01324462890625, 0.006744384765625, 0.006805419921875, -0.0076904296875, -0.01409912109375, -0.005889892578125, -0.0027008056640625, -0.020751953125, -0.0118408203125, -0.011962890625, -0.02111...
[ 160731, 33306, 17368, 276, 42668, 51349, 23718, 21647, 83, 4552, 19336, 127689, 4271, 125458, 35829, 959, 15549, 83425, 32354, 159029, 21771, 5974, 4488, 3688, 4527, 71465, 7614, 7092, 13648, 80234, 351, 3334, 80611, 66, 50944, 5170, 11782, 4...
[ 0.2275390625, 0.024688720703125, 0.047088623046875, 0.0477294921875, 0.201171875, 0.1402587890625, 0.1712646484375, 0.1495361328125, 0.008819580078125, 0.051605224609375, 0.066162109375, 0.07000732421875, 0.1043701171875, 0.2020263671875, 0.147216796875, 0.040283203125, 0.05096435546...
embed
23079625_c0
23079625
julia
0
Title: Extract array dimensions in Julia Problem title: Extract array dimensions in Julia Tags: julia, matlab, arrays Problem: Extract array dimensions in Julia Given a vector A defined in Matlab by: A = [ 0 0 1 0 0 ]; we can extract its dimensions using: size(A); Apparently, we can achieve the same things in Julia usi...
Extract array dimensions in Julia Extract array dimensions in Julia julia matlab arrays Extract Julia Extract array dimensions in Julia Given a vector A defined in Matlab by: we can extract its dimensions using: Apparently, we can achieve the same things in Julia using: Just that in Matlab we are able to extract the di...
[ 0.02978515625, -0.0012054443359375, 0.0078125, 0.04638671875, 0.01495361328125, -0.005279541015625, 0.0081787109375, 0.004119873046875, 0.001861572265625, 0.00164794921875, -0.0019683837890625, -0.0224609375, -0.025390625, 0.000682830810546875, -0.01519775390625, -0.0101318359375, 0....
[ 31501, 15390, 10298, 53, 158208, 23, 60592, 14801, 11, 2589, 6114, 4778, 173, 18770, 62, 61924, 7656, 831, 125663, 6863, 17368, 69307, 5701, 19048, 6626, 157955, 13267, 284, 30646, 1632, 91403, 4734, 111, 347, 13648, 285, 5809, 765, 68018, ...
[ 0.205078125, 0.063720703125, 0.174560546875, 0.09820556640625, 0.2457275390625, 0.0772705078125, 0.301025390625, 0.183837890625, 0.0992431640625, 0.0699462890625, 0.2042236328125, 0.047271728515625, 0.152099609375, 0.1522216796875, 0.1380615234375, 0.08612060546875, 0.119140625, 0....
embed
62735200_c0
62735200
julia
0
Title: Interact.jl error: WebIOServer not defined Problem title: Interact.jl error: WebIOServer not defined Tags: julia Problem: Interact.jl error: WebIOServer not defined I am getting this error when using the Interact.jl @manipulate macro in Juno: UndefVarError: WebIOServer not defined enter code here Code signals: U...
Interact.jl error: WebIOServer not defined Interact.jl error: WebIOServer not defined julia UndefVarError Interact.jl WebIOServer setup_server webio.jl:76 IOContext Base.GenericIOBuffer Array UInt8 MIME Symbol prs.juno.plotpane Widget Any webio.jl:68 multimedia.jl:109 showdisplay.jl:51 showdisplay.jl:131 Atom.var eval....
[ 0.0086669921875, 0.01129150390625, -0.00933837890625, 0.01177978515625, -0.0252685546875, 0.0198974609375, 0.0126953125, -0.01129150390625, -0.0211181640625, 0.00201416015625, -0.022216796875, -0.0198974609375, 0.0216064453125, -0.006195068359375, 0.0189208984375, 0.0123291015625, 0....
[ 5337, 47013, 5, 51349, 18499, 4002, 17780, 193348, 959, 61924, 14801, 11, 5533, 4240, 81827, 18468, 169581, 39642, 1467, 846, 11835, 22829, 44978, 135932, 18234, 660, 1019, 66820, 131899, 4083, 461, 157, 105710, 76248, 58302, 16028, 90357, 10...
[ 0.1632080078125, 0.2086181640625, 0.011566162109375, 0.2413330078125, 0.17578125, 0.1533203125, 0.2208251953125, 0.2080078125, 0.10589599609375, 0.2115478515625, 0.1854248046875, 0.151123046875, 0.08056640625, 0.1246337890625, 0.1806640625, 0.1197509765625, 0.1190185546875, 0.09246...
embed
67044026_c0
67044026
julia
0
Title: Julia: When to type true or false in DifferentialEquations systems? Problem title: Julia: When to type true or false in DifferentialEquations systems? Tags: julia, differentialequations.jl Problem: Julia: When to type true or false in DifferentialEquations systems? I'm drawing inspiration from the source code of...
Julia: When to type true or false in DifferentialEquations systems? Julia: When to type true or false in DifferentialEquations systems? julia differentialequations.jl Julia When DifferentialEquations sde_f SDEFunction SDEProblem differentialequations.jl Julia: When to type true or false in DifferentialEquations systems...
[ 0.02880859375, 0.0130615234375, -0.005950927734375, 0.0004215240478515625, -0.01495361328125, 0.005859375, -0.00469970703125, 0.01025390625, -0.015380859375, 0.0294189453125, -0.006378173828125, 0.0059814453125, -0.0235595703125, 0.01025390625, 0.0137939453125, 0.00007724761962890625, ...
[ 60592, 14847, 47, 10644, 29568, 707, 98320, 23, 242520, 15403, 647, 13722, 5256, 76519, 14801, 11, 99710, 51349, 112, 420, 159, 202001, 309, 8399, 223361, 46517, 31344, 18151, 191144, 864, 84511, 26136, 5426, 28219, 60042, 111, 136, 35064, ...
[ 0.2138671875, 0.1314697265625, 0.0291748046875, 0.218505859375, 0.236572265625, 0.127197265625, 0.2607421875, 0.05084228515625, 0.1383056640625, 0.1219482421875, 0.06463623046875, 0.1802978515625, 0.10382080078125, 0.14404296875, 0.09423828125, 0.0472412109375, 0.1209716796875, 0.0...
embed
40003303_c1
40003303
julia
1
. - packages with build errors remain installed in C:\users\caitling\emacs251\.ju lia\v0.5 - build the package(s) and all dependencies with `Pkg.build("Rmath")` - build a single package by running its `deps/build.jl` script ================================================================================ I am also confu...
. - packages with build errors remain installed in C:\users\caitling\emacs251\.ju lia\v0.5 - build the package(s) and all dependencies with `Pkg.build("Rmath")` - build a single package by running its `deps/build.jl` script ================================================================================ I am also confu...
[ 0.009033203125, 0.02099609375, -0.0113525390625, -0.000308990478515625, 0.0081787109375, 0.02734375, 0, -0.01287841796875, 0.01251220703125, 0.0341796875, 0.0042724609375, -0.02490234375, -0.0196533203125, -0.035400390625, 0.0128173828125, 0.01123046875, -0.015869140625, -0.0054626...
[ 98169, 7, 678, 45367, 18499, 47143, 20600, 297, 23, 313, 12, 223, 1314, 408, 217, 2069, 11883, 4439, 2588, 418, 461, 42967, 334, 93645, 136, 756, 42548, 117538, 8517, 177149, 1052, 125458, 11001, 390, 51042, 112, 6423, 51349, 26499, 55681...
[ 0.2509765625, 0.05487060546875, 0.0970458984375, 0.2069091796875, 0.2392578125, 0.1571044921875, 0.1722412109375, 0.01031494140625, 0.0438232421875, 0.0689697265625, 0.028106689453125, 0.106201171875, 0.1295166015625, 0.0462646484375, 0.128662109375, 0.199951171875, 0.09228515625, ...
embed
73576432_c0
73576432
julia
0
Title: How I do convert a Julia stream to "byte content" for a Python package? Problem title: How I do convert a Julia stream to "byte content" for a Python package? Tags: io, python, julia, stream Problem: How I do convert a Julia stream to "byte content" for a Python package? I maintain OdsIo.jl ,...
How I do convert a Julia stream to "byte content" for a Python package? How I do convert a Julia stream to "byte content" for a Python package? io python julia stream How Julia Python ezodf.opendoc Parameters How I do convert a Julia stream to "byte content" for a Python package? I maintain OdsIo.jl...
[ 0.006256103515625, 0.0164794921875, 0.005126953125, -0.006134033203125, 0.022216796875, -0.00579833984375, 0.0030975341796875, -0.020751953125, -0.0019989013671875, 0.033203125, 0.033447265625, -0.01312255859375, -0.00823974609375, 0.01422119140625, 0.0033111572265625, -0.013671875, ...
[ 11249, 87, 54, 96760, 60592, 75973, 47, 61028, 10941, 100, 145581, 98169, 22995, 17198, 50828, 14801, 11, 28, 61933, 420, 59636, 29713, 29089, 10, 76104, 2365, 568, 31, 51349, 137565, 75109, 102158, 13527, 239469, 9384, 2199, 7, 39116, 5584...
[ 0.0843505859375, 0.0262908935546875, 0.0316162109375, 0.185546875, 0.315185546875, 0.26318359375, 0.11181640625, 0.22998046875, 0.26171875, 0.032684326171875, 0.27001953125, 0.1961669921875, 0.172119140625, 0.0860595703125, 0.130126953125, 0.218017578125, 0.1083984375, 0.0257568359...
embed
52653808_c0
52653808
julia
0
Title: Convert float64 3-D array to float32 3-D array in Julia Problem title: Convert float64 3-D array to float32 3-D array in Julia Tags: arrays, julia Problem: Convert float64 3-D array to float32 3-D array in Julia I tried the following, but none of them worked A = zeros(2,2,2) A[:,:,1] = [1 2; 3 4] A[:,:,2] = [10 ...
Convert float64 3-D array to float32 3-D array in Julia Convert float64 3-D array to float32 3-D array in Julia arrays julia Convert float64 float32 Julia Array Convert float64 3-D array to float32 3-D array in Julia I tried the following, but none of them worked Output: Array{Float64,3} Output: Array{Float64,3} Output...
[ 0.0216064453125, 0.000019669532775878906, 0.00262451171875, -0.004241943359375, 0.0086669921875, -0.006500244140625, -0.0021514892578125, -0.00167083740234375, -0.0032806396484375, 0.044189453125, -0.01226806640625, -0.0152587890625, 0.007080078125, 0.004150390625, -0.005126953125, 0.0...
[ 1657, 11549, 21917, 257, 13307, 5691, 397, 10298, 53, 47, 6460, 23, 60592, 4778, 14801, 11, 69253, 37842, 25632, 4, 351, 13, 79786, 13538, 365, 363, 7077, 8152, 831, 18, 96760, 38699, 360, 54, 9790, 903, 1295, 155761 ]
[ 0.0802001953125, 0.1566162109375, 0.1865234375, 0.10302734375, 0.251953125, 0.1614990234375, 0.15576171875, 0.1993408203125, 0.1556396484375, 0.09161376953125, 0.2352294921875, 0.0987548828125, 0.2919921875, 0.021026611328125, 0.17138671875, 0.13427734375, 0.17724609375, 0.06658935...
embed
75884536_c0
75884536
julia
0
Title: How to find roots for particular value of gain "K" using Root Locus method in Julia? Problem title: How to find roots for particular value of gain "K" using Root Locus method in Julia? Tags: julia, controlsystems.jl Problem: How to find roots for particular value of gain "K" using Root Locus ...
How to find roots for particular value of gain "K" using Root Locus method in Julia? How to find roots for particular value of gain "K" using Root Locus method in Julia? julia controlsystems.jl Root ControlSystems How Locus Julia b-1 controlsystems.jl How to find roots for particular value of gain "...
[ 0.0208740234375, 0.00958251953125, 0.0019378662109375, -0.0062255859375, 0.031494140625, 0.01043701171875, 0.032470703125, -0.04345703125, 0.00090789794921875, -0.01068115234375, -0.0023040771484375, -0.01416015625, -0.0107421875, -0.034912109375, 0.01348876953125, -0.0201416015625, ...
[ 11249, 47, 7413, 74855, 7, 100, 17311, 34292, 111, 21647, 605, 150948, 88784, 223, 55300, 23, 60592, 17368, 14801, 11, 6226, 16751, 51349, 27131, 84293, 876, 5759, 16487, 74481, 54744, 142424, 32354, 7001, 60525, 23577, 2046, 3444, 724, 191...
[ 0.0789794921875, 0.0225677490234375, 0.143310546875, 0.268310546875, 0.161865234375, 0.077392578125, 0.1546630859375, 0.1646728515625, 0.07293701171875, 0.224853515625, 0.2027587890625, 0.21044921875, 0.138427734375, 0.15869140625, 0.1424560546875, 0.078857421875, 0.2919921875, 0.0...
embed
58594017_c1
58594017
julia
1
atch(X, Y, idxs) X_batch = zeros(1, num_sentences, emb_dims, MAX_LEN) function get_sentence_matrix(sentence) embeddings = Vector{Array{Float64, 1}}() for word in sentence embedding = get_embedding(word) push!(embeddings, embedding) end embeddings = hcat(embeddings...) return embeddings end for i in 1:length(idxs) X_bat...
atch(X, Y, idxs) X_batch = zeros(1, num_sentences, emb_dims, MAX_LEN) function get_sentence_matrix(sentence) embeddings = Vector{Array{Float64, 1}}() for word in sentence embedding = get_embedding(word) push!(embeddings, embedding) end embeddings = hcat(embeddings...) return embeddings end for i in 1:length(idxs) X_bat...
[ -0.0106201171875, -0.01373291015625, 0.01141357421875, 0.0213623046875, -0.00860595703125, 0.001129150390625, 0.0233154296875, 0.0126953125, 0.0115966796875, -0.038818359375, -0.01080322265625, -0.0177001953125, -0.0272216796875, -0.0238037109375, 0.000652313232421875, -0.0011291503906...
[ 99, 206, 1542, 990, 3447, 425, 7, 1193, 454, 2848, 2203, 45234, 41600, 13269, 12832, 69098, 352, 275, 5771, 85378, 47214, 32354, 2046, 6620, 192, 87427, 55720, 59725, 2609, 18770, 7092, 365, 13307, 106, 2565, 149357, 47416, 25944, 90295, ...
[ 0.08050537109375, 0.190185546875, 0.1507568359375, 0.17333984375, 0.0992431640625, 0.1568603515625, 0.1083984375, 0.2088623046875, 0.072509765625, 0.231201171875, 0.046600341796875, 0.216064453125, 0.00518798828125, 0.1171875, 0.1092529296875, 0.0870361328125, 0.04534912109375, 0.0...
embed
55214442_c0
55214442
julia
0
Title: Redundant export usage? Problem title: Redundant export usage? Tags: julia, module, export Problem: Redundant export usage? Is there any reason to use "export" in a file (which contains no modules) that will be included in another file later on? I came across this type of export usage when looking at some packag...
Redundant export usage? Redundant export usage? julia module export Redundant Foo.jl foo1 foo2 Bar.jl Bar Redundant export usage? Is there any reason to use "export" in a file (which contains no modules) that will be included in another file later on? I came across this type of export usage when looking at some package...
[ 0.03271484375, -0.01019287109375, -0.0107421875, 0.02783203125, 0.00982666015625, -0.00037384033203125, 0.014892578125, 0.00098419189453125, -0.002197265625, 0.01116943359375, -0.00958251953125, -0.0106201171875, -0.0108642578125, 0.02783203125, -0.0069580078125, 0.0002040863037109375,...
[ 6096, 35405, 18, 31255, 127689, 32, 14801, 11, 88996, 9572, 31, 51349, 5775, 418, 304, 3253, 2499, 31635, 47, 4527, 180758, 23, 11435, 70541, 110, 1221, 99201, 15700, 14432, 10644, 98169, 217, 140505, 32195, 5, 32354, 132, 70820, 211460, ...
[ 0.131103515625, 0.2464599609375, 0.0921630859375, 0.283447265625, 0.2001953125, 0.0208587646484375, 0.2122802734375, 0.162841796875, 0.188720703125, 0.155517578125, 0.14111328125, 0.2059326171875, 0.13623046875, 0.041290283203125, 0.170166015625, 0.202392578125, 0.0153656005859375, ...
embed
51623023_c0
51623023
julia
0
Title: Can Julia on Windows 10 Pro run DSP applications? Problem title: Can Julia on Windows 10 Pro run DSP applications? Tags: julia, windows, signal-processing Problem: Can Julia on Windows 10 Pro run DSP applications? I want to use Julia on Windows 10 Pro to do high performance RF multi-antenna DSP because our non-D...
Can Julia on Windows 10 Pro run DSP applications? Can Julia on Windows 10 Pro run DSP applications? julia windows signal-processing Can Julia Windows Pro DSP Can Julia on Windows 10 Pro run DSP applications? I want to use Julia on Windows 10 Pro to do high performance RF multi-antenna DSP because our non-DSP backend so...
[ 0.0286865234375, 0.004180908203125, -0.00567626953125, 0.021484375, -0.01171875, -0.007476806640625, 0.0030517578125, -0.0191650390625, -0.00531005859375, -0.00537109375, -0.010009765625, 0.000244140625, 0.0052490234375, 0.0234375, -0.01116943359375, -0.0027313232421875, 0.0135498046...
[ 4171, 60592, 98, 3773, 209, 1250, 11675, 391, 9434, 86685, 32, 14801, 11, 54825, 26073, 63923, 3444, 4527, 54, 11192, 23718, 100250, 6024, 65646, 76, 351, 397, 4420, 3611, 10975, 83, 5, 17777, 11809, 38162, 55720, 126139, 36880, 10273, 54...
[ 0.1356201171875, 0.3359375, 0.11328125, 0.2103271484375, 0.2489013671875, 0.241943359375, 0.1788330078125, 0.1455078125, 0.2393798828125, 0.174072265625, 0.0089111328125, 0.2376708984375, 0.193603515625, 0.1473388671875, 0.130859375, 0.10443115234375, 0.044219970703125, 0.075134277...
embed
52082056_c0
52082056
julia
0
Title: Array allocation in julia closure Problem title: Array allocation in julia closure Tags: closures, allocation, arrays, lexical-scope, julia Problem: Array allocation in julia closure I wonder is it a good idea to allocate temporary arrays in let-block, which wraps some function? Some toy example: instead of func...
Array allocation in julia closure Array allocation in julia closure closures allocation arrays lexical-scope julia Array do_something Array allocation in julia closure I wonder is it a good idea to allocate temporary arrays in let-block, which wraps some function? Some toy example: instead of I will write something lik...
[ 0.021240234375, -0.000713348388671875, -0.00860595703125, 0.013916015625, 0.0003910064697265625, 0.002288818359375, 0.01025390625, 0.0228271484375, 0.01348876953125, -0.00726318359375, -0.0159912109375, 0.0135498046875, 0.0025787353515625, 0.005035400390625, 0.03466796875, -0.027709960...
[ 69253, 53, 144, 87632, 23, 14801, 11, 170224, 10298, 75675, 21533, 70820, 54, 64113, 32195, 83, 4127, 6528, 24286, 33478, 142458, 4778, 2633, 9, 81409, 137565, 32354, 72713, 27781, 64457, 1221, 33022, 72546, 12765, 776, 10015, 111789, 17932, ...
[ 0.181396484375, 0.111572265625, 0.156982421875, 0.1824951171875, 0.0341796875, 0.2237548828125, 0.1759033203125, 0.2191162109375, 0.1663818359375, 0.0772705078125, 0.070068359375, 0.1083984375, 0.0650634765625, 0.06036376953125, 0.0374755859375, 0.001678466796875, 0.0966796875, 0.0...
embed
76033652_c0
76033652
julia
0
Title: how to use -> operand in julia to apply filter based on two index? Problem title: how to use -> operand in julia to apply filter based on two index? Tags: julia Problem: how to use -> operand in julia to apply filter based on two index? I have a list of tuples like A = [(3, 4, 5, "s2", "s2") , (2, 4, 5, "s...
how to use -> operand in julia to apply filter based on two index? how to use -> operand in julia to apply filter based on two index? julia how to use -> operand in julia to apply filter based on two index? I have a list of tuples like A = [(3, 4, 5, "s2", "s2") , (2, 4, 5, "s1", "s2"), (3, 4, 6, "s2", "s2"),(1, ...
[ 0.017333984375, 0.00469970703125, -0.0021209716796875, -0.007598876953125, -0.0005035400390625, -0.00156402587890625, 0.0140380859375, 0.0255126953125, 0.02490234375, -0.0036468505859375, -0.0038604736328125, -0.0155029296875, 0.005584716796875, 0.00811767578125, -0.00634765625, -0.010...
[ 3642, 47, 4527, 20, 1230, 5386, 74, 6264, 2208, 23, 14801, 11, 59911, 46312, 35509, 98, 6626, 63262, 33079, 5303, 370, 99726, 1884, 62, 2203, 86827, 201, 190, 7, 304, 418, 6896, 305, 363, 138, 3444, 1810, 756, 100, 927, 809, 2480, 8...
[ 0.0823974609375, 0.0194854736328125, 0.1285400390625, 0.1229248046875, 0.1009521484375, 0.1915283203125, 0.00653076171875, 0.1612548828125, 0.1387939453125, 0.09112548828125, 0.2340087890625, 0.18603515625, 0.12890625, 0.2464599609375, 0.121337890625, 0.034393310546875, 0.16748046875...
embed
31838099_c0
31838099
julia
0
Title: using pgf backend to matplotlib in julia Problem title: using pgf backend to matplotlib in julia Tags: pgf, matplotlib, julia Problem: using pgf backend to matplotlib in julia I started using Julia to analyse some data, which works perfect. I also use PyPlot / Matplotlib for plotting, which I got working as well...
using pgf backend to matplotlib in julia using pgf backend to matplotlib in julia pgf matplotlib julia pgf mpl.rcParams.update PyPlot.matplotlib using pgf backend to matplotlib in julia I started using Julia to analyse some data, which works perfect. I also use PyPlot / Matplotlib for plotting, which I got working as w...
[ 0.02783203125, 0.0284423828125, -0.01104736328125, -0.010009765625, 0.0174560546875, -0.01312255859375, 0.01165771484375, -0.0247802734375, -0.01483154296875, 0.00811767578125, 0.004669189453125, -0.012451171875, -0.0040283203125, -0.01373291015625, 0.012451171875, -0.01361083984375, ...
[ 17368, 915, 177, 420, 4420, 3611, 47, 2589, 105710, 5612, 23, 14801, 11, 2424, 19437, 28636, 8256, 117008, 27512, 683, 12631, 2227, 60592, 51422, 2053, 43240, 15787, 4527, 7656, 23577, 1916, 20697, 6097, 7, 3871, 7413, 2363, 3917, 3934, 2...
[ 0.057891845703125, 0.048583984375, 0.1334228515625, 0.198486328125, 0.1304931640625, 0.180908203125, 0.10546875, 0.095703125, 0.15478515625, 0.1807861328125, 0.020050048828125, 0.2052001953125, 0.1673583984375, 0.081298828125, 0.182373046875, 0.059661865234375, 0.056396484375, 0.09...
embed
64489282_c0
64489282
julia
0
Title: Parallelism with @sync @async in Julia Problem title: Parallelism with @sync @async in Julia Tags: dataframe, asynchronous, synchronization, julia Problem: Parallelism with @sync @async in Julia I have some heavy csv table that i would like to import in parallel with @sync @sync macros. Not very familiar to this...
Parallelism with @sync @async in Julia Parallelism with @sync @async in Julia dataframe asynchronous synchronization julia ArgumentError files Parallelism Julia df1 CSV.File df1.csv DataFrame df2 df2.csv Not Var1 Column Parallelism with @sync @async in Julia I have some heavy csv table that i would like to import in pa...
[ 0.01043701171875, 0.007568359375, -0.01300048828125, 0.0115966796875, -0.0004673004150390625, -0.0020294189453125, 0.0250244140625, 0.0140380859375, -0.016357421875, -0.014404296875, -0.0191650390625, -0.0155029296875, 0.010498046875, 0.01312255859375, 0.0120849609375, 0.00506591796875...
[ 211485, 8780, 678, 1374, 12654, 238, 60592, 23, 2053, 160328, 101966, 200470, 14801, 11, 112140, 18468, 31611, 102158, 420, 418, 43486, 174350, 4439, 334, 108386, 304, 5442, 3323, 233987, 99162, 20763, 23180, 1884, 24927, 95103, 111789, 16031, ...
[ 0.2288818359375, 0.1414794921875, 0.05419921875, 0.08062744140625, 0.2113037109375, 0.1173095703125, 0.292724609375, 0.038330078125, 0.06341552734375, 0.168701171875, 0.13427734375, 0.169189453125, 0.1839599609375, 0.1451416015625, 0.158203125, 0.031890869140625, 0.0223236083984375, ...
embed
28577652_c0
28577652
julia
0
Title: Julia Convex.jl unbounded error Problem title: Julia Convex.jl unbounded error Tags: julia Problem: Julia Convex.jl unbounded error I'm trying to calculate the spectral norm of A , this seems straight forward but the solver is telling me it's unbounded, which doesn't make sense, since y must have unit norm. usin...
Julia Convex.jl unbounded error Julia Convex.jl unbounded error julia Convex SCS Julia Convex.jl set_default_solver SCSSolver Variable Julia Convex.jl unbounded error I'm trying to calculate the spectral norm of A , this seems straight forward but the solver is telling me it's unbounded, which doesn't make sense, since...
[ 0.00897216796875, 0.03271484375, 0.02294921875, 0.021484375, 0.006195068359375, 0.01806640625, 0.01177978515625, 0.00299072265625, -0.004730224609375, -0.0106201171875, 0.003692626953125, -0.010009765625, 0.015869140625, -0.000614166259765625, 0.00823974609375, 0.015869140625, 0.0145...
[ 60592, 1657, 272, 425, 51349, 51, 99091, 297, 18499, 14801, 11, 159, 19283, 5423, 214810, 86918, 180216, 929, 814, 84572, 31577, 74481, 48502, 29088, 22599, 111, 62, 37202, 80560, 40225, 3115, 128219, 163, 442, 22027, 18, 10422, 16792, 113,...
[ 0.2822265625, 0.0982666015625, 0.2293701171875, 0.1806640625, 0.228515625, 0.10455322265625, 0.2147216796875, 0.1175537109375, 0.210693359375, 0.1788330078125, 0.059417724609375, 0.042236328125, 0.146240234375, 0.1134033203125, 0.1927490234375, 0.132568359375, 0.0899658203125, 0.12...
embed
58471175_c2
58471175
julia
2
{Plots.GRBackend}, ::Dict{Symbol,Any}, ::Tuple{typeof(f)}) at C:\Users\masen\.julia\packages\Plots\47Tik\src\plot.jl:178 [12] #plot#137(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Function) at Code signals: MethodError, Distributions, StatsPlots, Plotting, Julia, ERROR, Float64...
{Plots.GRBackend}, ::Dict{Symbol,Any}, ::Tuple{typeof(f)}) at C:\Users\masen\.julia\packages\Plots\47Tik\src\plot.jl:178 [12] #plot#137(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Function) at Code signals: MethodError, Distributions, StatsPlots, Plotting, Julia, ERROR, Float64...
[ 0.00151824951171875, 0.02685546875, 0.0091552734375, -0.0146484375, 0.00689697265625, 0.005645751953125, 0.01177978515625, -0.03857421875, -0.004913330078125, 0.0263671875, -0.009765625, 0.001708984375, 0.0002651214599609375, 0.007720947265625, 0.005218505859375, 0.005096435546875, -...
[ 683, 12631, 7, 5, 49741, 152470, 3611, 1984, 14055, 15390, 65183, 36846, 284, 299, 8152, 15665, 8705, 50986, 4390, 420, 16, 99, 313, 12, 1062, 1314, 1510, 33, 41872, 461, 7884, 29102, 52467, 13330, 618, 783, 19437, 105710, 51349, 139305, ...
[ 0.08917236328125, 0.2288818359375, 0.13916015625, 0.04241943359375, 0.172119140625, 0.144287109375, 0.2000732421875, 0.07562255859375, 0.138671875, 0.1383056640625, 0.1458740234375, 0.2431640625, 0.0207977294921875, 0.135009765625, 0.0013427734375, 0.1485595703125, 0.2154541015625, ...
embed
72725025_c0
72725025
julia
0
Title: [julia]syntax: invalid assignment location "getproperty(f, n)" Problem title: [julia]syntax: invalid assignment location "getproperty(f, n)" Tags: syntax-error, variable-assignment, julia Problem: [julia]syntax: invalid assignment location "getproperty(f, n)" My julia version is 1.7.1. These ...
[julia]syntax: invalid assignment location "getproperty(f, n)" [julia]syntax: invalid assignment location "getproperty(f, n)" syntax-error variable-assignment julia Foo1 Foo2 Base f1::Foo1 [julia]syntax: invalid assignment location "getproperty(f, n)" My julia version is 1.7.1. These code can recurr...
[ 0.01495361328125, 0.006317138671875, -0.00555419921875, 0.021728515625, 0.0191650390625, -0.0128173828125, 0.029296875, -0.00823974609375, 0.0133056640625, -0.005767822265625, 0.0157470703125, 0.013671875, -0.00445556640625, -0.0284423828125, 0.0034027099609375, -0.030517578125, -0.0...
[ 461, 7884, 12654, 86531, 56649, 95486, 674, 31913, 3794, 36290, 56, 939, 420, 4, 653, 6002, 188800, 77336, 162, 31304, 14801, 11, 9572, 31, 418, 304, 44978, 1238, 82825, 27591, 11389, 100920, 22892, 18151, 831, 163812, 2967, 176377, 2091, ...
[ 0.1982421875, 0.24951171875, 0.132080078125, 0.2022705078125, 0.26171875, 0.2388916015625, 0.0640869140625, 0.2384033203125, 0.1407470703125, 0.1392822265625, 0.1414794921875, 0.06805419921875, 0.1629638671875, 0.00738525390625, 0.103515625, 0.1591796875, 0.14794921875, 0.21875, ...
embed
37015448_c0
37015448
julia
0
Title: Julia pass optional parameter to inner function call Problem title: Julia pass optional parameter to inner function call Tags: julia Problem: Julia pass optional parameter to inner function call I have something like the following function test(; testvar=nothing) # only pass testvar to function if it has a usefu...
Julia pass optional parameter to inner function call Julia pass optional parameter to inner function call julia Julia inner_function testvar2 Julia pass optional parameter to inner function call I have something like the following I know I can use if/else statements within test() but inner_function has lots of paramete...
[ 0.0301513671875, 0.0186767578125, -0.0076904296875, -0.00439453125, 0.004547119140625, -0.0019989013671875, 0.01446533203125, -0.0286865234375, 0.003265380859375, 0.037109375, 0.00390625, -0.006195068359375, -0.01318359375, 0.0145263671875, 0.034423828125, 0.0118408203125, 0.00576782...
[ 60592, 27875, 35829, 289, 171859, 47, 75414, 32354, 11782, 14801, 11, 137175, 3034, 1961, 304, 1884, 25632, 831, 4527, 2174, 64, 5557, 63805, 28032, 132, 454, 1556, 71358, 12601, 71864, 18151, 115, 182867, 38496, 903, 7722, 53418, 2203, 337...
[ 0.26611328125, 0.1265869140625, 0.1844482421875, 0.0675048828125, 0.2135009765625, 0.09228515625, 0.2066650390625, 0.176513671875, 0.180908203125, 0.171875, 0.06866455078125, 0.1895751953125, 0.218505859375, 0.17919921875, 0.1292724609375, 0.030364990234375, 0.0638427734375, 0.0186...
embed
60883704_c0
60883704
julia
0
Title: How to manipulate named tuples Problem title: How to manipulate named tuples Tags: julia Problem: How to manipulate named tuples I like the idea of NamedTuple a lot, as a middle ground between Tuple and full, user-defined composite types. I know how to build a named tuple and access one of its fields julia> nt =...
How to manipulate named tuples How to manipulate named tuples julia How NamedTuple Tuple nt.a How to manipulate named tuples I like the idea of NamedTuple a lot, as a middle ground between Tuple and full, user-defined composite types. I know how to build a named tuple and access one of its fields however, I don't know ...
[ 0.01251220703125, 0.0169677734375, 0.00970458984375, 0.0201416015625, 0.002105712890625, -0.005615234375, -0.0012359619140625, -0.01129150390625, 0.00469970703125, 0.02783203125, -0.01165771484375, 0.01226806640625, -0.0096435546875, -0.00634765625, 0.0106201171875, -0.0224609375, 0....
[ 11249, 47, 45258, 67, 24, 4806, 370, 99726, 14801, 11, 2096, 297, 15665, 8705, 1371, 1884, 6528, 5915, 86991, 61585, 17721, 4393, 38937, 5983, 375, 77087, 52895, 3714, 3642, 45367, 17203, 44457, 7722, 1286, 47644, 48322, 111719, 9189, 1916,...
[ 0.0806884765625, 0.040130615234375, 0.2303466796875, 0.0916748046875, 0.1727294921875, 0.1646728515625, 0.1571044921875, 0.2249755859375, 0.07244873046875, 0.03045654296875, 0.1666259765625, 0.10540771484375, 0.1343994140625, 0.1978759765625, 0.13525390625, 0.07086181640625, 0.031646...
embed
68767631_c0
68767631
julia
0
Title: Failed to write .bat file for launching jupyter lab (jupyter notebook) Problem title: Failed to write .bat file for launching jupyter lab (jupyter notebook) Tags: windows, jupyter-notebook, julia, cmd, batch-file Problem: Failed to write .bat file for launching jupyter lab (jupyter notebook) I often use jupyterl...
Failed to write .bat file for launching jupyter lab (jupyter notebook) Failed to write .bat file for launching jupyter lab (jupyter notebook) windows jupyter-notebook julia cmd batch-file IJulia Failed Failed to write .bat file for launching jupyter lab (jupyter notebook) I often use jupyterlab on my Windows 10 PC and ...
[ 0.0225830078125, 0.0031280517578125, -0.01092529296875, 0.01361083984375, -0.0004405975341796875, -0.01116943359375, 0.03125, -0.00567626953125, -0.00860595703125, 0.02001953125, -0.0267333984375, 0.0013275146484375, -0.02099609375, -0.01019287109375, -0.0115966796875, -0.0100708007812...
[ 190355, 297, 33022, 5, 2848, 11435, 83184, 1129, 6493, 720, 60054, 461, 74305, 54825, 48345, 14137, 14801, 11, 1827, 71, 1777, 206, 29822, 46765, 53588, 214, 27983, 4527, 6114, 3773, 209, 6107, 11343, 11417, 75101, 2676, 15044, 11907, 32562...
[ 0.1553955078125, 0.003082275390625, 0.1683349609375, 0.05926513671875, 0.22509765625, 0.173583984375, 0.1416015625, 0.100830078125, 0.1361083984375, 0.1480712890625, 0.21533203125, 0.09429931640625, 0.2109375, 0.0472412109375, 0.1259765625, 0.09765625, 0.171630859375, 0.12841796875...
embed
61613943_c0
61613943
julia
0
Title: how to type in latex styled variables for julia in vs code or jupyter notebook Problem title: how to type in latex styled variables for julia in vs code or jupyter notebook Tags: julia, ijulia-notebook, visual-studio-code Problem: how to type in latex styled variables for julia in vs code or jupyter notebook As ...
how to type in latex styled variables for julia in vs code or jupyter notebook how to type in latex styled variables for julia in vs code or jupyter notebook julia ijulia-notebook visual-studio-code how to type in latex styled variables for julia in vs code or jupyter notebook As in Julia REPL, we can type in latex sty...
[ 0.0244140625, -0.0020904541015625, -0.0174560546875, 0.0087890625, 0.025146484375, -0.0023345947265625, 0.02099609375, 0.0289306640625, -0.016845703125, 0.013916015625, -0.00072479248046875, -0.004180908203125, 0.0093994140625, -0.02685546875, -0.00494384765625, -0.0016021728515625, ...
[ 3642, 47, 10644, 23, 21, 24371, 20623, 77336, 7, 100, 14801, 11, 20209, 18151, 1129, 6493, 720, 74305, 461, 7884, 48345, 14137, 21176, 52629, 40899, 71, 60592, 9069, 21130, 20928, 15759, 4759, 2046, 3514, 31330, 8337, 34292, 44160, 28864, ...
[ 0.04754638671875, 0.001678466796875, 0.2012939453125, 0.111083984375, 0.0792236328125, 0.15771484375, 0.1925048828125, 0.2176513671875, 0.0255126953125, 0.05169677734375, 0.189697265625, 0.1494140625, 0.1724853515625, 0.1712646484375, 0.060516357421875, 0.0811767578125, 0.1005859375,...
embed
30007902_c0
30007902
julia
0
Title: Concatenate ArrayViews (or sliceviews or SubArrays) in Julia? Problem title: Concatenate ArrayViews (or sliceviews or SubArrays) in Julia? Tags: julia Problem: Concatenate ArrayViews (or sliceviews or SubArrays) in Julia? Is there a way to concatenate ArrayViews in Julia, that doesn't copy the underlying data? (...
Concatenate ArrayViews (or sliceviews or SubArrays) in Julia? Concatenate ArrayViews (or sliceviews or SubArrays) in Julia? julia ArrayViews Concatenate SubArrays Julia ERROR Array Int64 Concatenate ArrayViews (or sliceviews or SubArrays) in Julia? Is there a way to concatenate ArrayViews in Julia, that doesn't copy th...
[ 0.0247802734375, 0.01153564453125, -0.0023040771484375, 0.005096435546875, 0.0206298828125, -0.003936767578125, -0.02099609375, 0.004974365234375, -0.001556396484375, -0.015380859375, 0.0033721923828125, -0.01416015625, -0.003326416015625, -0.023193359375, -0.00250244140625, -0.0245361...
[ 1657, 33478, 76, 67, 69253, 53, 100474, 7, 91, 13348, 22751, 8273, 7614, 7092, 23, 60592, 14801, 11, 151206, 24638, 13307, 3917, 158, 22027, 18, 43658, 1379, 538, 2053, 2967, 18151, 35064, 3444, 11001, 91067, 15044, 113, 418, 136, 304 ]
[ 0.0728759765625, 0.1751708984375, 0.1322021484375, 0.0892333984375, 0.1729736328125, 0.11669921875, 0.308837890625, 0.047271728515625, 0.0238800048828125, 0.12060546875, 0.229248046875, 0.143798828125, 0.1131591796875, 0.1873779296875, 0.094970703125, 0.30859375, 0.197509765625, 0....
embed
46805549_c0
46805549
julia
0
Title: How to define empty IndexedTables in Julia? Problem title: How to define empty IndexedTables in Julia? Tags: julia Problem: How to define empty IndexedTables in Julia? I am unable to define empty IndexedTables, e.g. using IndexedTables, IndexedTables.Table t = Table(Columns(a=Int64[],b=String[]),Int64[]) t[1,"a"...
How to define empty IndexedTables in Julia? How to define empty IndexedTables in Julia? julia BoundsError IndexedTables How Julia IndexedTables.Table Table Columns Int64 Array How to define empty IndexedTables in Julia? I am unable to define empty IndexedTables, e.g. I am aware that creating the IndexedTable with alrea...
[ 0.0234375, 0.0020904541015625, 0.00439453125, 0.005401611328125, 0.00099945068359375, -0.0157470703125, 0.017578125, -0.0322265625, -0.0023651123046875, 0.0191650390625, -0.006072998046875, -0.004730224609375, -0.0267333984375, 0.0128173828125, 0.006561279296875, 0.00396728515625, 0....
[ 11249, 61924, 201505, 31471, 297, 618, 19736, 23, 60592, 47, 14801, 11, 7030, 2886, 112997, 233987, 13307, 105233, 678, 21771, 2053, 1286, 93766, 1632, 183540, 142424, 68018, 37911, 54608 ]
[ 0.048858642578125, 0.17578125, 0.2462158203125, 0.20458984375, 0.1180419921875, 0.1400146484375, 0.1932373046875, 0.08038330078125, 0.26025390625, 0.00164794921875, 0.1297607421875, 0.111328125, 0.049560546875, 0.1546630859375, 0.1661376953125, 0.0799560546875, 0.1180419921875, 0.0...
embed
60117271_c0
60117271
julia
0
Title: Array subsetting in Julia Problem title: Array subsetting in Julia Tags: julia, arrays Problem: Array subsetting in Julia With the Julia Language, I defined a function to sample points uniformly inside the sphere of radius 3.14 using rejection sampling as follows: function spherical_sample(N::Int64) # generate N...
Array subsetting in Julia Array subsetting in Julia julia arrays rejection Array Julia spherical_sample N::Int64 ind_ Array subsetting in Julia With the Julia Language, I defined a function to sample points uniformly inside the sphere of radius 3.14 using rejection sampling as follows: I found a hack for subsetting arr...
[ -0.003021240234375, 0.01007080078125, -0.0016326904296875, 0.01361083984375, -0.0247802734375, -0.019287109375, 0.01153564453125, -0.006439208984375, 0.01531982421875, 0.0286865234375, -0.0002040863037109375, 0.004302978515625, -0.023681640625, -0.022705078125, 0.00830078125, 0.0022430...
[ 69253, 53, 1614, 89840, 23, 60592, 14801, 11, 10298, 4778, 34590, 10763, 94266, 21533, 433, 33209, 13307, 2752, 83658, 61924, 32354, 47, 121413, 26847, 61514, 46132, 157695, 4567, 1031, 2592, 57, 2676, 2069, 85526, 24702, 63262, 214, 5608, ...
[ 0.1798095703125, 0.142333984375, 0.2108154296875, 0.1951904296875, 0.04949951171875, 0.308349609375, 0.1778564453125, 0.1328125, 0.1722412109375, 0.132568359375, 0.1978759765625, 0.126220703125, 0.1177978515625, 0.0810546875, 0.0960693359375, 0.1705322265625, 0.1661376953125, 0.069...
embed
60180865_c0
60180865
julia
0
Title: 2nd Order ODEs in Julia using DifferentialEquations Problem title: 2nd Order ODEs in Julia using DifferentialEquations Tags: ode, julia Problem: 2nd Order ODEs in Julia using DifferentialEquations I'm trying to solve the harmonic oscillator using DifferentialEquations in Julia. i.e.: using DifferentialEquations ...
2nd Order ODEs in Julia using DifferentialEquations 2nd Order ODEs in Julia using DifferentialEquations ode julia LoadError TypeError DifferentialEquations Plots at Order ODEs Julia mass_system SecondOrderODEProblem CallbackSet ERROR Stacktrace Base.Iterators.Pairs Symbol Tuple NamedTuple Type DiffEqBas e.isinplace Flo...
[ 0.005340576171875, 0.0216064453125, -0.01483154296875, 0.00982666015625, 0.01043701171875, 0.025146484375, -0.0001678466796875, -0.01202392578125, 0.004180908203125, -0.0169677734375, -0.010986328125, -0.01141357421875, 0.0302734375, -0.0228271484375, 0.0004863739013671875, 0.016235351...
[ 116, 2208, 81206, 34687, 16474, 23, 60592, 17368, 242520, 15403, 13722, 67861, 14801, 11, 2091, 18468, 31611, 60457, 168763, 99, 46889, 16751, 77648, 143045, 670, 8399, 223361, 26265, 12620, 151206, 6512, 99407, 44978, 8560, 22230, 8335, 131899...
[ 0.121826171875, 0.09326171875, 0.161865234375, 0.1483154296875, 0.10552978515625, 0.042572021484375, 0.274169921875, 0.04510498046875, 0.1392822265625, 0.109619140625, 0.1602783203125, 0.1964111328125, 0.1661376953125, 0.119384765625, 0.06097412109375, 0.0946044921875, 0.007904052734...
embed
30486349_c0
30486349
julia
0
Title: Composite types in Julia: Dictionaries as a named field? Problem title: Composite types in Julia: Dictionaries as a named field? Tags: composite-types, dictionary, julia Problem: Composite types in Julia: Dictionaries as a named field? I'd like to make a composite type that includes a dictionary as one of its na...
Composite types in Julia: Dictionaries as a named field? Composite types in Julia: Dictionaries as a named field? composite-types dictionary julia Composite Julia Dictionaries x::Dict Type Top Dict Any Composite types in Julia: Dictionaries as a named field? I'd like to make a composite type that includes a dictionary ...
[ -0.006103515625, 0.01507568359375, -0.00167083740234375, 0.031982421875, 0.0030059814453125, 0.00909423828125, 0.019287109375, -0.0036163330078125, -0.007080078125, 0.0230712890625, -0.006439208984375, -0.00439453125, -0.0023040771484375, 0.0103759765625, 0.0115966796875, -0.0159912109...
[ 3288, 77087, 13, 52895, 23, 60592, 12, 67437, 237, 10, 24, 4806, 44457, 375, 50986, 45, 10763, 14801, 11, 1022, 14055, 15390, 60457, 4792, 60897, 18, 28541, 1884, 3249, 10644, 96853, 162520, 6002, 86531, 4488, 20531, 28219, 27781, 17378, ...
[ 0.122802734375, 0.238525390625, 0.059051513671875, 0.255615234375, 0.09881591796875, 0.283203125, 0.05303955078125, 0.2283935546875, 0.08154296875, 0.01751708984375, 0.116455078125, 0.13330078125, 0.22509765625, 0.1097412109375, 0.2354736328125, 0.0694580078125, 0.141845703125, 0.1...
embed
76953698_c0
76953698
julia
0
Title: How to read off automatically set color range of Makie heatmap? Problem title: How to read off automatically set color range of Makie heatmap? Tags: julia Problem: How to read off automatically set color range of Makie heatmap? Is there a way to get the current automatically set color range of a Makie heatmap pl...
How to read off automatically set color range of Makie heatmap? How to read off automatically set color range of Makie heatmap? julia How Makie hp.colorrange Observable Any MakieCore.Automatic Makie.var colorsampler.jl:233 How to read off automatically set color range of Makie heatmap? Is there a way to get the current...
[ 0.005218505859375, -0.01434326171875, 0.00130462646484375, 0.0177001953125, 0.01177978515625, 0.020263671875, 0.0093994140625, 0.006805419921875, -0.01361083984375, 0.01019287109375, -0.006317138671875, 0.037841796875, -0.010498046875, 0.00897216796875, 0.020263671875, -0.0011062622070...
[ 11249, 47, 12301, 5773, 191082, 5423, 10576, 37457, 13676, 478, 80097, 62346, 14801, 11, 118258, 46133, 94250, 87652, 2661, 50886, 38115, 47148, 1961, 104988, 25133, 603, 51349, 105586, 3917, 2046, 43581, 23577, 28282, 12765, 150380, 3996, 3134...
[ 0.05926513671875, 0.032867431640625, 0.13623046875, 0.189697265625, 0.194091796875, 0.10400390625, 0.1610107421875, 0.165771484375, 0.15478515625, 0.189453125, 0.17578125, 0.16162109375, 0.058624267578125, 0.002227783203125, 0.12841796875, 0.1131591796875, 0.1568603515625, 0.074890...
embed
48716095_c0
48716095
julia
0
Title: Error when using ismatch() function with regex in Julia Problem title: Error when using ismatch() function with regex in Julia Tags: regex, julia, ijulia-notebook, function Problem: Error when using ismatch() function with regex in Julia I'm trying to do a very simple program to find matches with ismatch() funct...
Error when using ismatch() function with regex in Julia Error when using ismatch() function with regex in Julia regex julia ijulia-notebook function TypeError ismatch Error Julia e_pat gmail.com Stacktrace include_string loading.jl:522 Error when using ismatch() function with regex in Julia I'm trying to do a very simp...
[ 0.005828857421875, 0.00775146484375, -0.0038299560546875, 0.01416015625, 0.01361083984375, 0.01953125, -0.003387451171875, 0.0242919921875, 0.000827789306640625, -0.00153350830078125, 0.01904296875, -0.01409912109375, -0.002105712890625, -0.0206298828125, 0.015869140625, -0.01275634765...
[ 212059, 3229, 17368, 83, 98753, 132, 32354, 678, 6835, 3355, 23, 60592, 14801, 11, 17, 461, 7884, 48345, 14137, 60457, 18468, 31611, 28, 4453, 7095, 6512, 32111, 99407, 26698, 91693, 72367, 51349, 33915, 304, 31577, 8781, 1528, 7413, 14858,...
[ 0.1680908203125, 0.039520263671875, 0.1478271484375, 0.198974609375, 0.332275390625, 0.102783203125, 0.184326171875, 0.1348876953125, 0.1654052734375, 0.219970703125, 0.09765625, 0.31396484375, 0.1832275390625, 0.1236572265625, 0.027587890625, 0.139404296875, 0.1962890625, 0.107360...
embed
38901275_c0
38901275
julia
0
Title: @inbounds propagation rules in Julia Problem title: @inbounds propagation rules in Julia Tags: bounds-checker, julia Problem: @inbounds propagation rules in Julia I'm looking for some clarification of the bounds checking rules in Julia. Is this meaning that if I put @inbounds at the beginning of the for loop, @i...
@inbounds propagation rules in Julia @inbounds propagation rules in Julia bounds-checker julia Julia propagate_inbounds @inbounds propagation rules in Julia I'm looking for some clarification of the bounds checking rules in Julia. Is this meaning that if I put @inbounds at the beginning of the for loop, then only for "...
[ 0.02490234375, 0.00421142578125, 0.013671875, 0.022705078125, -0.004180908203125, 0.0191650390625, 0.0250244140625, -0.00640869140625, 0.006072998046875, 0.01470947265625, 0.00885009765625, -0.01708984375, 0.002685546875, 0.013916015625, 0.015380859375, 0.00567626953125, 0.0255126953...
[ 1374, 73, 99091, 7, 103807, 2320, 91736, 23, 60592, 78292, 56, 14801, 11, 175648, 67, 17306, 41274, 175199, 91084, 3884, 86595, 100, 40956, 3630, 135355, 1636, 46132, 959, 15504, 5773, 2685, 4527, 36290, 4729, 8512, 71, 26785, 11343, 19916,...
[ 0.1134033203125, 0.1099853515625, 0.260009765625, 0.1072998046875, 0.2017822265625, 0.00048828125, 0.1771240234375, 0.129150390625, 0.300048828125, 0.2034912109375, 0.0430908203125, 0.1773681640625, 0.054718017578125, 0.2176513671875, 0.054443359375, 0.07366943359375, 0.0411376953125...
embed
71310140_c0
71310140
julia
0
Title: Write custom metadata to Parquet file in Julia Problem title: Write custom metadata to Parquet file in Julia Tags: parquet, metadata, julia Problem: Write custom metadata to Parquet file in Julia I am currently storing the output (a Julia Dataframe) of my Julia simulation in a Parquet file using Parquet.jl . I w...
Write custom metadata to Parquet file in Julia Write custom metadata to Parquet file in Julia parquet metadata julia Write Parquet Julia Parquet.jl Write custom metadata to Parquet file in Julia I am currently storing the output (a Julia Dataframe) of my Julia simulation in a Parquet file using Parquet.jl . I would als...
[ 0.008544921875, 0.0252685546875, 0.004730224609375, 0.014404296875, -0.0147705078125, -0.01422119140625, 0.0224609375, 0.0005035400390625, -0.0103759765625, 0.017333984375, -0.015869140625, 0.003143310546875, 0.00022602081298828125, -0.00775146484375, -0.0005950927734375, -0.0233154296...
[ 601, 18781, 114122, 23550, 10135, 47, 76019, 18, 11435, 23, 60592, 49663, 14801, 11, 51349, 82424, 3082, 140992, 11809, 160328, 40226, 1363, 2806, 1884, 30098, 3060, 171859, 5303, 61028, 91693, 5701, 176005, 12921, 12638, 3365, 316, 72134, 27...
[ 0.1065673828125, 0.1229248046875, 0.22314453125, 0.1868896484375, 0.197509765625, 0.09454345703125, 0.2142333984375, 0.17626953125, 0.1734619140625, 0.0469970703125, 0.28515625, 0.1478271484375, 0.172607421875, 0.0828857421875, 0.1339111328125, 0.0142364501953125, 0.121337890625, 0...
embed
53108357_c0
53108357
julia
0
Title: in Julia 0.6.4 how can we detect when reading a data file fails, on Windows 10 Pro? Problem title: in Julia 0.6.4 how can we detect when reading a data file fails, on Windows 10 Pro? Tags: julia Problem: in Julia 0.6.4 how can we detect when reading a data file fails, on Windows 10 Pro? Our .NET app periodically...
in Julia 0.6.4 how can we detect when reading a data file fails, on Windows 10 Pro? in Julia 0.6.4 how can we detect when reading a data file fails, on Windows 10 Pro? julia Julia Windows Pro in Julia 0.6.4 how can we detect when reading a data file fails, on Windows 10 Pro? Our .NET app periodically (10 times a second...
[ 0.0341796875, 0.00009489059448242188, 0.0137939453125, -0.00787353515625, 0.018798828125, -0.01806640625, 0.03564453125, -0.03564453125, -0.020263671875, 0.0213623046875, -0.01953125, 0.0003528594970703125, -0.022705078125, -0.000690460205078125, 0.0361328125, 0.010498046875, 0.00830...
[ 60592, 122887, 617, 3642, 831, 642, 96391, 3229, 16454, 2053, 11435, 35782, 3773, 209, 1250, 23, 10, 98, 14801, 11, 5, 17777, 4027, 14922, 15094, 17932, 33022, 10778, 124326, 12301, 442, 12960, 32562, 20903, 11249, 86352, 40956, 9790, 13438...
[ 0.298583984375, 0.1759033203125, 0.1680908203125, 0.042999267578125, 0.047607421875, 0.034423828125, 0.221923828125, 0.119873046875, 0.2120361328125, 0.1468505859375, 0.17724609375, 0.2476806640625, 0.1236572265625, 0.189453125, 0.1695556640625, 0.00726318359375, 0.0179595947265625, ...
embed
33312267_c0
33312267
julia
0
Title: Deprecation of isblank("string") in Julia 0.4 Problem title: Deprecation of isblank("string") in Julia 0.4 Tags: julia Problem: Deprecation of isblank("string") in Julia 0.4 I'm doing text parsing in Julia and need to test if certain strings are blank (in order to parse into floats). I have b...
Deprecation of isblank("string") in Julia 0.4 Deprecation of isblank("string") in Julia 0.4 julia Deprecation Julia WARNING s::AbstractString deprecated.jl:73 deprecated.jl:50 Deprecation of isblank("string") in Julia 0.4 I'm doing text parsing in Julia and need to test if certain strings are blank ...
[ 0.0128173828125, -0.00970458984375, 0.01556396484375, 0.0291748046875, 0.008544921875, 0.0159912109375, 0.0230712890625, -0.0016632080078125, -0.003143310546875, 0.0390625, 0.00830078125, -0.01953125, -0.02490234375, -0.010498046875, -0.0157470703125, 0.0211181640625, -0.001235961914...
[ 262, 4692, 120639, 111, 83, 165839, 91693, 41502, 23, 60592, 121254, 14801, 11, 60873, 24988, 2816, 15390, 71713, 214, 8, 4460, 297, 51349, 13574, 23837, 7986, 366, 6953, 3871, 3034, 2174, 24233, 79315, 44237, 3934, 21917, 9821, 17368, 132,...
[ 0.1033935546875, 0.1588134765625, 0.0848388671875, 0.034027099609375, 0.1717529296875, 0.326416015625, 0.2783203125, 0.0013427734375, 0.049591064453125, 0.29150390625, 0.228271484375, 0.187255859375, 0.10418701171875, 0.110595703125, 0.0341796875, 0.1337890625, 0.02520751953125, 0....
embed
50763456_c0
50763456
julia
0
Title: Julia: can I run doctests without `makedocs`? Problem title: Julia: can I run doctests without `makedocs`? Tags: testing, julia Problem: Julia: can I run doctests without `makedocs`? I am starting a Julia module and prefer to use only doctests and to skip documentation at this stage. The Julia doctest documentat...
Julia: can I run doctests without `makedocs`? Julia: can I run doctests without `makedocs`? testing julia doctest Julia doctest.testmod month_to_quarter date::Date Returns Examples Date new_month Dates.month Dates.year Julia: can I run doctests without `makedocs`? I am starting a Julia module and prefer to use only doc...
[ -0.000644683837890625, 0.005340576171875, -0.004119873046875, -0.00811767578125, 0.000766754150390625, 0.002960205078125, 0.009033203125, -0.02734375, -0.006622314453125, 0.006988525390625, -0.0186767578125, 0.005645751953125, -0.00445556640625, -0.00994873046875, 0.00439453125, -0.023...
[ 60592, 831, 11675, 51584, 6954, 7, 15490, 55898, 29713, 134234, 14801, 11, 13415, 31150, 188, 167565, 5622, 86291, 173340, 89536, 25512, 3525, 46799, 88996, 12601, 4527, 4734, 21658, 209806, 36541, 3249, 41392, 110, 55300, 51042, 18645, 3917, ...
[ 0.265625, 0.0699462890625, 0.11962890625, 0.1842041015625, 0.2357177734375, 0.0968017578125, 0.137451171875, 0.1588134765625, 0.213134765625, 0.1773681640625, 0.16455078125, 0.1131591796875, 0.11572265625, 0.06298828125, 0.06671142578125, 0.0897216796875, 0.02020263671875, 0.029296...
embed
30555225_c0
30555225
julia
0
Title: How to upgrade Julia to a new release? Problem title: How to upgrade Julia to a new release? Tags: julia Problem: How to upgrade Julia to a new release? I'm using v"0.3.8" on Windows. I found from http://julialang.org/downloads/ Current Release (v0.3.9) I know I could download the prebuild version and install ag...
How to upgrade Julia to a new release? How to upgrade Julia to a new release? julia How Julia Current Release v0.3.9 Pkg.update How to upgrade Julia to a new release? I'm using v"0.3.8" on Windows. I found from http://julialang.org/downloads/ I know I could download the prebuild version and install again. Is there a wa...
[ 0.00885009765625, 0.027587890625, 0.02197265625, 0.0198974609375, -0.00091552734375, 0.0108642578125, 0.00151824951171875, -0.0125732421875, 0.0225830078125, 0.01373291015625, 0.005584716796875, -0.0264892578125, -0.00885009765625, -0.025634765625, 0.0166015625, -0.006011962890625, 0...
[ 11249, 47, 116086, 60592, 10, 3525, 54452, 32, 14801, 11, 114063, 152590, 81, 170179, 5, 1126, 436, 8517, 117008, 17368, 1019, 58, 98, 3773, 14037, 461, 7884, 3066, 1478, 61754, 3714, 5809, 7026, 479, 177149, 11389, 20600, 13438, 2685, 39...
[ 0.1275634765625, 0.172607421875, 0.24609375, 0.326904296875, 0.048858642578125, 0.1353759765625, 0.1663818359375, 0.027099609375, 0.21533203125, 0.1817626953125, 0.178466796875, 0.1510009765625, 0.1319580078125, 0.1929931640625, 0.044525146484375, 0.215087890625, 0.07666015625, 0.1...
embed
27940768_c0
27940768
julia
0
Title: use julia language without internet connection (mirror?) Problem title: use julia language without internet connection (mirror?) Tags: julia, mirror Problem: use julia language without internet connection (mirror?) Problem: I would like to make julia available for our developers on our corporate network, which h...
use julia language without internet connection (mirror?) use julia language without internet connection (mirror?) julia mirror use julia language without internet connection (mirror?) Problem: I would like to make julia available for our developers on our corporate network, which has no internet access at all (no proxy...
[ 0.01318359375, 0.01806640625, 0.001434326171875, -0.00038909912109375, -0.00099945068359375, 0.01177978515625, 0.020263671875, -0.006256103515625, -0.00885009765625, -0.0184326171875, 0.0023956298828125, -0.00860595703125, 0.01434326171875, -0.00098419189453125, 0.0194091796875, -0.016...
[ 4527, 14801, 11, 46876, 15490, 1820, 94878, 4326, 31611, 191551, 15649, 1884, 19882, 106001, 145781, 33120, 1556, 110, 17203, 756, 157, 502, 50878, 191125, 2053, 82775, 62270, 32102, 8517, 73, 217, 1927, 15769, 105214, 399, 2729, 449, 33677, ...
[ 0.129638671875, 0.2587890625, 0.2509765625, 0.2275390625, 0.12841796875, 0.120849609375, 0.136962890625, 0.1844482421875, 0.2091064453125, 0.324462890625, 0.08245849609375, 0.017181396484375, 0.1046142578125, 0.0931396484375, 0.082763671875, 0.0723876953125, 0.029876708984375, 0.08...
embed
76255460_c0
76255460
julia
0
Title: how to get filename from an XLSX in Julia Problem title: how to get filename from an XLSX in Julia Tags: julia, xlsx Problem: how to get filename from an XLSX in Julia I defined an xf as an XLSX file in julia xf=XLSX.readxlsx(file) Now I would like to print the file name of xf be like xf.name How should I do? I ...
how to get filename from an XLSX in Julia how to get filename from an XLSX in Julia julia xlsx an XLSX Julia XLSX.readxlsx xf.name xf.source how to get filename from an XLSX in Julia I defined an xf as an XLSX file in julia Now I would like to print the file name of xf be like How should I do? I used xf.name but it doe...
[ 0.03955078125, 0.013916015625, 0.0130615234375, 0.027099609375, -0.0003204345703125, 0.000530242919921875, 0.000843048095703125, -0.0157470703125, -0.0086669921875, 0.01031494140625, 0.00469970703125, -0.0040283203125, -0.0272216796875, -0.015869140625, 0.01239013671875, 0.009399414062...
[ 3642, 47, 2046, 11435, 11627, 1295, 142, 43523, 120844, 23, 60592, 14801, 11, 1022, 8080, 425, 39116, 92595, 7, 420, 60427, 61924, 2806, 1884, 28412, 9351, 111, 186, 5608, 11814, 22027, 18, 4488, 83, 64152, 959, 155434, 831, 4527, 5, 10...
[ 0.074951171875, 0.054168701171875, 0.1263427734375, 0.180419921875, 0.2152099609375, 0.1475830078125, 0.058868408203125, 0.2073974609375, 0.253173828125, 0.125244140625, 0.28466796875, 0.173583984375, 0.166259765625, 0.142578125, 0.0772705078125, 0.1573486328125, 0.0675048828125, 0...
embed
76868795_c1
76868795
julia
1
, by = "month") # Import the raster raster<- rast("/rasterpath/raster.tif") # Assign the time values time(raster) <- dates In python you can do something like that: import pandas as pd import rioxarray # Define the date range start_date = pd.Timestamp('1982-01-01') end_date = pd.Timestamp('2018-12-27') # Create a seque...
, by = "month") # Import the raster raster<- rast("/rasterpath/raster.tif") # Assign the time values time(raster) <- dates In python you can do something like that: import pandas as pd import rioxarray # Define the date range start_date = pd.Timestamp('1982-01-01') end_date = pd.Timestamp('2018-12-27') # Create a seque...
[ 0.0091552734375, 0.000583648681640625, -0.0166015625, 0.02099609375, 0.002044677734375, -0.030029296875, -0.000118255615234375, 0.003021240234375, -0.01141357421875, -0.0234375, 0.00970458984375, -0.005035400390625, 0.00885009765625, 0.0037384033203125, -0.00885009765625, 0.01818847656...
[ 6, 4, 390, 2203, 15477, 127, 18939, 468, 92966, 70, 8737, 56, 9, 58, 219, 1515, 128405, 5, 7737, 1301, 31304, 1733, 142424, 16, 4426, 112474, 360, 17198, 50828, 831, 54, 9844, 1884, 450, 24927, 2652, 1124, 237, 915, 71, 4726, 29618, ...
[ 0.042327880859375, 0.075439453125, 0.182373046875, 0.1251220703125, 0.151123046875, 0.1181640625, 0.020355224609375, 0.072509765625, 0.2037353515625, 0.002716064453125, 0.2379150390625, 0.208251953125, 0.048828125, 0.002349853515625, 0.1514892578125, 0.2076416015625, 0.1712646484375,...
embed
79296932_c0
79296932
julia
0
Title: How to use short path in include? Problem title: How to use short path in include? Tags: julia Problem: How to use short path in include? I use the following project structure, the problem is long import paths. ./deps/lib/base.jl ./experiments/play.jl The problem is long relative dependency paths in ./experiment...
How to use short path in include? How to use short path in include? julia How base.jl play.jl JULIA_LOAD_PATH How to use short path in include? I use the following project structure, the problem is long import paths. The problem is long relative dependency paths in ./experiments/play.jl , that also breaks when you refa...
[ 0.01470947265625, 0.01043701171875, -0.00372314453125, 0.037841796875, -0.00494384765625, -0.0006866455078125, 0.007171630859375, -0.0033111572265625, -0.0062255859375, -0.0252685546875, 0.0022125244140625, -0.01434326171875, -0.0242919921875, 0.013427734375, -0.0052490234375, -0.00500...
[ 11249, 47, 4527, 16610, 60875, 23, 26698, 14801, 11, 3647, 51349, 11301, 30357, 67991, 17014, 12351, 65135, 841, 25632, 13452, 45646, 2967, 4989, 24927, 7, 35845, 42548, 27771, 230648, 20706, 5, 36356, 456, 144810, 18151, 3917, 3249, 442, 5...
[ 0.09228515625, 0.0328369140625, 0.142822265625, 0.248046875, 0.261962890625, 0.121337890625, 0.25927734375, 0.1864013671875, 0.1400146484375, 0.18359375, 0.180419921875, 0.1600341796875, 0.1488037109375, 0.1864013671875, 0.07061767578125, 0.045623779296875, 0.156494140625, 0.021377...
embed
68127425_c0
68127425
julia
0
Title: How to collect HTTP response status using Genie.jl in Julia Problem title: How to collect HTTP response status using Genie.jl in Julia Tags: response, http-status-codes, http, julia Problem: How to collect HTTP response status using Genie.jl in Julia How to collect the HTTP response status for a script? Below is...
How to collect HTTP response status using Genie.jl in Julia How to collect HTTP response status using Genie.jl in Julia response http-status-codes http julia Genie.jl Genie Genie.Router Genie.Renderer.Json How HTTP Julia Genie.config.run_as_server GET Welcome POST Genie.startup How to collect HTTP response status using...
[ 0.00537109375, 0.035400390625, 0.00775146484375, 0.00433349609375, 0.0012969970703125, -0.0028839111328125, 0.017822265625, -0.0079345703125, -0.010986328125, -0.0091552734375, 0.01214599609375, 0.0093994140625, -0.027587890625, -0.007476806640625, 0.006378173828125, 0.012939453125, ...
[ 11249, 43799, 135913, 57553, 10778, 17368, 71491, 13, 51349, 60592, 47, 5, 23, 1621, 45215, 40899, 14801, 11, 25208, 23894, 1681, 153837, 16428, 162, 39642, 79794, 91334, 81903, 17137, 26499, 121413, 18151, 4034, 10723, 63769, 6626, 36439, 18...
[ 0.0330810546875, 0.1798095703125, 0.1982421875, 0.215576171875, 0.163818359375, 0.0299072265625, 0.1949462890625, 0.1591796875, 0.191650390625, 0.281005859375, 0.0183563232421875, 0.010833740234375, 0.042022705078125, 0.1383056640625, 0.15576171875, 0.09747314453125, 0.1590576171875,...
embed
73345571_c0
73345571
julia
0
Title: How to get Julia Makie Output in python Jupiter notebook? Problem title: How to get Julia Makie Output in python Jupiter notebook? Tags: julia, python, makie.jl, jupyter Problem: How to get Julia Makie Output in python Jupiter notebook? Running the following notebook cells %load_ext julia.magic %%julia using GLM...
How to get Julia Makie Output in python Jupiter notebook? How to get Julia Makie Output in python Jupiter notebook? julia python makie.jl jupyter GLMakie julia Main How Makie Output Jupiter load_ext julia.magic plot_something Point Figure Axis arrow_size Main.show_something makie.jl How to get Julia Makie Output in pyt...
[ 0.0120849609375, 0.0267333984375, -0.002593994140625, -0.01190185546875, 0.01495361328125, -0.006103515625, 0.031982421875, -0.038330078125, -0.0103759765625, -0.005126953125, -0.01611328125, 0.005035400390625, -0.01953125, 0.00823974609375, 0.002227783203125, -0.00457763671875, -0.0...
[ 11249, 47, 2046, 60592, 13676, 478, 13538, 7077, 23, 17198, 50828, 145255, 74305, 14801, 11, 95208, 13, 51349, 1129, 6493, 720, 90799, 76978, 12321, 72367, 3355, 91088, 23577, 41097, 55412, 33102, 118201, 62539, 31374, 43452, 28398, 25632, 38...
[ 0.06536865234375, 0.0218505859375, 0.0863037109375, 0.305419921875, 0.2056884765625, 0.259521484375, 0.167724609375, 0.160400390625, 0.04315185546875, 0.09832763671875, 0.14404296875, 0.2666015625, 0.25048828125, 0.194580078125, 0.1583251953125, 0.17626953125, 0.173828125, 0.142944...
embed
77529537_c1
77529537
julia
1
String, 0) ## this line fails to compile for arg = ARGS if doing_opts && beginswith(arg, "-") if arg == "--" doing_opts = false [snip] else error("unrecognised option: ", arg) end else push!(argwords, arg) ## saves them for later access by main code end end # compiler output Julia v1.9.3 # ERROR: LoadError: MethodError...
String, 0) ## this line fails to compile for arg = ARGS if doing_opts && beginswith(arg, "-") if arg == "--" doing_opts = false [snip] else error("unrecognised option: ", arg) end else push!(argwords, arg) ## saves them for later access by main code end end # compiler output Julia v1.9.3 # ERROR: LoadError: MethodError...
[ 0.01361083984375, 0.007293701171875, -0.0284423828125, 0.019775390625, -0.006500244140625, -0.00112152099609375, 0.01434326171875, -0.01385498046875, -0.00885009765625, 0.030029296875, 0.00171661376953125, -0.033203125, -0.003448486328125, -0.01708984375, -0.0244140625, -0.004364013671...
[ 23351, 214, 757, 173894, 903, 13315, 35782, 7, 47, 9969, 1340, 100, 79459, 13685, 34162, 2174, 20594, 2146, 933, 1230, 9842, 76228, 61477, 9, 2203, 98320, 93, 254, 18499, 309, 107, 115558, 5281, 35829, 3564, 25944, 90295, 47416, 30098, 14...
[ 0.18505859375, 0.1229248046875, 0.150634765625, 0.1064453125, 0.078857421875, 0.14794921875, 0.19677734375, 0.03887939453125, 0.0848388671875, 0.163330078125, 0.165283203125, 0.033111572265625, 0.19970703125, 0.15087890625, 0.18310546875, 0.01531982421875, 0.1837158203125, 0.201416...
embed
71414537_c0
71414537
julia
0
Title: using DelimitedFiles with title of the header Problem title: using DelimitedFiles with title of the header Tags: julia Problem: using DelimitedFiles with title of the header When importing a .csv file, is there any way to read the data from the title of the header? Consider the .csv file in the following: I mean...
using DelimitedFiles with title of the header using DelimitedFiles with title of the header julia DelimitedFiles start_node Int64 Importing Data Preparation network_data_file network.csv network_data end_node using DelimitedFiles with title of the header When importing a .csv file, is there any way to read the data fro...
[ 0.01104736328125, 0.006866455078125, -0.003509521484375, 0.0218505859375, 0.0267333984375, 0.007110595703125, 0.020263671875, 0.019287109375, -0.00372314453125, -0.02001953125, -0.0146484375, -0.0299072265625, -0.0084228515625, 0.01092529296875, 0.00860595703125, -0.0201416015625, -0...
[ 17368, 262, 93343, 297, 174350, 678, 44759, 111, 10336, 56, 14801, 11, 4034, 157, 112, 18, 13307, 92966, 11809, 116548, 33120, 10135, 29822, 4439, 334, 3564, 24927, 11435, 3917, 12301, 2053, 1295, 64457, 68807, 17137, 83, 110, 17 ]
[ 0.0682373046875, 0.081787109375, 0.194091796875, 0.07659912109375, 0.1961669921875, 0.05078125, 0.2109375, 0.05902099609375, 0.181396484375, 0.1558837890625, 0.1326904296875, 0.103515625, 0.1171875, 0.152587890625, 0.156982421875, 0.026580810546875, 0.162841796875, 0.1363525390625,...
embed
71501375_c0
71501375
julia
0
Title: How to make Comments in Julia Markdown Problem title: How to make Comments in Julia Markdown Tags: markdown, julia Problem: How to make Comments in Julia Markdown In this great stackoverflow post I read about making comments in Markdown. I would like to use this to visually structure my jmd document: --- title: ...
How to make Comments in Julia Markdown How to make Comments in Julia Markdown markdown julia How Comments Julia Markdown Title pdf_document Page Some WARNING Duplicate How to make Comments in Julia Markdown In this great stackoverflow post I read about making comments in Markdown. I would like to use this to visually s...
[ 0.005889892578125, 0.0201416015625, -0.017333984375, 0.0023040771484375, 0.0035400390625, 0.00933837890625, 0.00927734375, 0.005889892578125, -0.00021457672119140625, -0.01043701171875, -0.03662109375, -0.0135498046875, 0.01129150390625, -0.00213623046875, -0.0113525390625, -0.00028228...
[ 11249, 47, 3249, 11427, 23, 60592, 7880, 34695, 16188, 14801, 11, 48962, 26198, 117432, 14231, 60873, 25795, 786, 52721, 6782, 177261, 5465, 118664, 20662, 24626, 1884, 4527, 21176, 45646, 1647, 54686, 12937, 831, 642, 8216, 26785, 140992, 16...
[ 0.067626953125, 0.0338134765625, 0.10638427734375, 0.249755859375, 0.1072998046875, 0.2420654296875, 0.12451171875, 0.197998046875, 0.09228515625, 0.12548828125, 0.072509765625, 0.053863525390625, 0.10009765625, 0.0926513671875, 0.040496826171875, 0.0743408203125, 0.0191497802734375,...
embed
69981688_c0
69981688
julia
0
Title: How do I powerfully discretize a PDE? Problem title: How do I powerfully discretize a PDE? Tags: differential-equations, julia, numerical-methods, libraries Problem: How do I powerfully discretize a PDE? The problem I'm trying to solve is this PDE, I wrote the buck of the solver as follows (mostly based on the E...
How do I powerfully discretize a PDE? How do I powerfully discretize a PDE? differential-equations julia numerical-methods libraries How PDE N-1 dif_nt How do I powerfully discretize a PDE? The problem I'm trying to solve is this PDE, I wrote the buck of the solver as follows (mostly based on the Euler Explicit ): In w...
[ 0.00726318359375, 0.0038299560546875, -0.00738525390625, 0.01025390625, 0.007171630859375, 0.01031494140625, -0.01055908203125, -0.0169677734375, 0.0189208984375, -0.0177001953125, -0.005828857421875, -0.004241943359375, 0.010498046875, -0.01153564453125, -0.0289306640625, -0.016235351...
[ 11249, 54, 113138, 538, 81604, 20650, 436, 8399, 87, 99710, 13722, 14801, 11, 54744, 7352, 35773, 541, 5759, 45755, 660, 2967, 31577, 86869, 54397, 187470, 111, 3115, 814, 35509, 5177, 603, 60075, 60923, 454, 42856, 40225, 62488, 75, 21748,...
[ 0.074462890625, 0.02667236328125, 0.154052734375, 0.09356689453125, 0.2353515625, 0.1575927734375, 0.1256103515625, 0.263916015625, 0.02337646484375, 0.1749267578125, 0.1077880859375, 0.059844970703125, 0.0210113525390625, 0.000030517578125, 0.0325927734375, 0.064697265625, 0.0964965...
embed
54879239_c1
54879239
julia
1
[top-level] julia>using Reexport [ Info: Precompiling Reexport [top-level] julia>using Colors [ Info: Precompiling Colors [top-level] ERROR: LoadError: ArgumentError: Package FixedPointNumbers [53c48c17-4a7d-5ca2-90c5-79b7896eea93] is required but does not seem to be installed: - Run `Pkg.instantiate()` to install all...
[top-level] julia>using Reexport [ Info: Precompiling Reexport [top-level] julia>using Colors [ Info: Precompiling Colors [top-level] ERROR: LoadError: ArgumentError: Package FixedPointNumbers [53c48c17-4a7d-5ca2-90c5-79b7896eea93] is required but does not seem to be installed: - Run `Pkg.instantiate()` to install all...
[ 0.006866455078125, -0.011474609375, -0.0234375, 0.0240478515625, 0.005218505859375, 0.021484375, 0.0191650390625, -0.00592041015625, 0.007598876953125, 0.01025390625, -0.016357421875, -0.032470703125, -0.0123291015625, 0.004913330078125, 0.00531005859375, -0.013427734375, -0.01782226...
[ 13784, 67919, 14801, 11, 223, 214, 853, 180758, 14048, 1914, 58875, 49725, 51193, 7, 268, 151206, 2091, 712, 18468, 31611, 112140, 56607, 96746, 297, 147534, 18444, 26278, 14226, 9285, 238, 2489, 11565, 966, 71, 10342, 408, 304, 73238, 5542...
[ 0.047882080078125, 0.07525634765625, 0.23828125, 0.230712890625, 0.1063232421875, 0.03167724609375, 0.1558837890625, 0.24267578125, 0.08837890625, 0.14306640625, 0.1131591796875, 0.115478515625, 0.18408203125, 0.0675048828125, 0.0170135498046875, 0.138427734375, 0.1453857421875, 0....
embed
56371446_c0
56371446
julia
0
Title: How can I create a struct in julia? Problem title: How can I create a struct in julia? Tags: struct, julia Problem: How can I create a struct in julia? I am trying to create a structure, txn : a) struct txn txn_id::Int64 bank::Char[20] branch::Char[20] teller::Char[20] customer::Char[20] account::Char[34] timest...
How can I create a struct in julia? How can I create a struct in julia? struct julia How txn_id::Int64 bank::Char branch::Char teller::Char customer::Char account::Char timestamp::DateTime dr_cr::Char amount::Int64 How can I create a struct in julia? I am trying to create a structure, txn : a) gives b) gives How can I ...
[ 0.0302734375, -0.006378173828125, -0.000640869140625, 0.027587890625, 0.007110595703125, 0.00049591064453125, -0.0037078857421875, -0.0103759765625, -0.00390625, 0.026123046875, 0.004669189453125, -0.0262451171875, -0.00055694580078125, -0.0242919921875, -0.0108642578125, 0.0087890625,...
[ 11249, 831, 87, 28282, 10, 36716, 23, 14801, 11, 6, 808, 425, 19, 532, 18, 13307, 4620, 84068, 32845, 206, 126132, 43373, 15426, 2676, 70059, 3568, 23150, 41170, 31577, 45646, 76199, 876, 70, 60592 ]
[ 0.0667724609375, 0.073486328125, 0.0343017578125, 0.1851806640625, 0.092529296875, 0.29248046875, 0.134033203125, 0.2230224609375, 0.2119140625, 0.000030517578125, 0.0168304443359375, 0.08154296875, 0.074951171875, 0.1116943359375, 0.013671875, 0.15869140625, 0.147705078125, 0.1179...
embed
53528341_c1
53528341
julia
1
.jl:239 [10] _start() at ./client.jl:432 in expression starting at /Users Question: What would be a correct include specification to put into a jl. file? The environment is Julia 0.7 on Mac OS High Sierra. Note that I'm not using a shell, but an IDE, namely, the julia plug-in 0.3.3 for Intellij 2018.3. I've checked oth...
.jl:239 [10] _start() at ./client.jl:432 in expression starting at /Users Question: What would be a correct include specification to put into a jl. file? The environment is Julia 0.7 on Mac OS High Sierra. Note that I'm not using a shell, but an IDE, namely, the julia plug-in 0.3.3 for Intellij 2018.3. I've checked oth...
[ 0.005340576171875, -0.002349853515625, -0.01165771484375, 0.043212890625, -0.00860595703125, -0.001068115234375, 0.0174560546875, -0.0264892578125, -0.00054168701171875, -0.0272216796875, 0.0006866455078125, 0.01708984375, -0.01251220703125, 0.00885009765625, 0.006805419921875, -0.0134...
[ 5, 51349, 24864, 1126, 63709, 17137, 132, 99, 222978, 33210, 304, 125195, 72134, 248, 1062, 7, 1314, 68185, 2806, 26785, 26698, 29458, 2320, 3884, 3934, 11435, 65998, 60592, 134926, 4727, 11787, 19694, 130454, 959, 128019, 36497, 14801, 11, ...
[ 0.09716796875, 0.29443359375, 0.1527099609375, 0.248291015625, 0.058929443359375, 0.207763671875, 0.051361083984375, 0.1163330078125, 0.2178955078125, 0.1641845703125, 0.1351318359375, 0.1806640625, 0.03802490234375, 0.041534423828125, 0.1573486328125, 0.15478515625, 0.0860595703125,...
embed
42180322_c0
42180322
julia
0
Title: Same code doesn&#x27;t work consistently in Julia Problem title: Same code doesn&#x27;t work consistently in Julia Tags: ijulia-notebook, julia-jump, julia, linear-programming Problem: Same code doesn't work consistently in Julia in macro expansion; at /Users/yiboliu/.julia/v0.5/JuMP/src/macros.jl:400 [inlined] ...
Same code doesn&#x27;t work consistently in Julia Same code doesn&#x27;t work consistently in Julia ijulia-notebook julia-jump julia linear-programming MethodError Same Julia Model Min Take Wheat Flour Enriched Liver Beef Cabbage Spinach Navy Beans Dried NamedArrays.NamedArray Any Array Tuple DataStructures.OrderedDict...
[ 0.00640869140625, 0.00162506103515625, -0.0037994384765625, 0.0301513671875, 0.01300048828125, 0.0220947265625, 0.0157470703125, -0.00194549560546875, 0.006683349609375, -0.024658203125, -0.0194091796875, -0.01275634765625, 0.006500244140625, -0.033447265625, 0.013671875, -0.0249023437...
[ 99908, 18151, 22027, 3768, 18, 4488, 74729, 23, 60592, 461, 7884, 48345, 14137, 14801, 11, 2676, 192617, 28966, 74644, 18468, 13293, 4211, 46673, 156253, 38699, 474, 26932, 9251, 873, 4240, 30438, 402, 429, 58383, 934, 19295, 53, 131806, 14...
[ 0.1636962890625, 0.22119140625, 0.068359375, 0.09002685546875, 0.0877685546875, 0.1412353515625, 0.233642578125, 0.09637451171875, 0.29443359375, 0.1207275390625, 0.177001953125, 0.0943603515625, 0.131103515625, 0.1610107421875, 0.09259033203125, 0.12646484375, 0.1729736328125, 0.0...
embed
38487258_c0
38487258
julia
0
Title: Function of parameter type in type definition Problem title: Function of parameter type in type definition Tags: julia Problem: Function of parameter type in type definition Assume I want to store I vector together with its norm. I expected the corresponding type definition to be straightforward: immutable Vecto...
Function of parameter type in type definition Function of parameter type in type definition julia VectorWithNorm1 Vec AbstractVector vec::Vec norm::eltype Vector Float64 Any VectorWithNorm2 Eltype Function of parameter type in type definition Assume I want to store I vector together with its norm. I expected the corres...
[ 0.0006561279296875, 0.0220947265625, -0.0181884765625, 0.01416015625, 0.00762939453125, 0.00335693359375, -0.01263427734375, -0.0062255859375, -0.002777099609375, -0.01470947265625, -0.002655029296875, -0.03466796875, -0.021484375, -0.002777099609375, 0.01123046875, -0.0126953125, 0....
[ 28670, 10763, 111, 171859, 10644, 23, 80934, 14801, 11, 2609, 18770, 194583, 50645, 39, 418, 52884, 233973, 26455, 22834, 856, 3240, 22599, 583, 50986, 38699, 13307, 28541, 304, 540, 66596, 3444, 4343, 87, 173, 25842, 678, 84751, 42518, 805...
[ 0.1451416015625, 0.02783203125, 0.0482177734375, 0.24365234375, 0.2313232421875, 0.054901123046875, 0.19580078125, 0.1590576171875, 0.1297607421875, 0.172607421875, 0.1727294921875, 0.0875244140625, 0.10009765625, 0.043914794921875, 0.026031494140625, 0.160888671875, 0.1180419921875,...
embed
68745730_c2
68745730
julia
2
: obsolete or deprecated parameter(s) specified for RDBMS instance ORACLE instance started. Total System Global Area 1068937216 bytes Fixed Size 2233344 bytes Variable Size 654314496 bytes Database Buffers 406847488 bytes Redo Buffers 5541888 bytes Database mounted. Database opened. SQL> b) julia script, Code signals: ...
: obsolete or deprecated parameter(s) specified for RDBMS instance ORACLE instance started. Total System Global Area 1068937216 bytes Fixed Size 2233344 bytes Variable Size 654314496 bytes Database Buffers 406847488 bytes Redo Buffers 5541888 bytes Database mounted. Database opened. SQL> b) julia script, Code signals: ...
[ 0.0198974609375, 0.0179443359375, 0.007232666015625, 0.040283203125, 0.0032196044921875, 0.017822265625, -0.005706787109375, -0.01123046875, 0.0025787353515625, 0.0032958984375, 0.00604248046875, -0.00164031982421875, -0.01318359375, -0.019775390625, -0.01708984375, -0.0235595703125, ...
[ 152, 228908, 13, 707, 8, 4692, 4460, 171859, 7, 58735, 297, 627, 39463, 13439, 110527, 34468, 164887, 26859, 33867, 12353, 13453, 79200, 209, 181304, 108265, 2485, 390, 1636, 96746, 80378, 1039, 66000, 12465, 84572, 2886, 167316, 186410, 1877...
[ 0.0202484130859375, 0.2269287109375, 0.11181640625, 0.08148193359375, 0.1376953125, 0.1722412109375, 0.0977783203125, 0.25244140625, 0.0440673828125, 0.166015625, 0.08319091796875, 0.08447265625, 0.1512451171875, 0.1964111328125, 0.318115234375, 0.2266845703125, 0.25341796875, 0.25...
embed
63998401_c0
63998401
julia
0
Title: How to check for an undef value in a Matrix (in Julia) and assign a new value? Problem title: How to check for an undef value in a Matrix (in Julia) and assign a new value? Tags: undef, tuples, julia, matrix Problem: How to check for an undef value in a Matrix (in Julia) and assign a new value? I want to create ...
How to check for an undef value in a Matrix (in Julia) and assign a new value? How to check for an undef value in a Matrix (in Julia) and assign a new value? undef tuples julia matrix How Matrix Julia Tuple Float64 Array Int64 How to check for an undef value in a Matrix (in Julia) and assign a new value? I want to crea...
[ 0.00164031982421875, 0.00189208984375, 0.01385498046875, 0.01708984375, 0.00836181640625, -0.01043701171875, 0.0010528564453125, 0.01068115234375, 0.01043701171875, 0.0517578125, -0.0118408203125, -0.01031494140625, 0.01422119140625, -0.0012969970703125, -0.0205078125, -0.0086059570312...
[ 11249, 12765, 100, 165, 4240, 34292, 194234, 60592, 136, 95486, 3525, 47, 23, 73, 370, 99726, 14801, 11, 50944, 1371, 8705, 38699, 13307, 69253, 142, 28282, 425, 62, 111, 9232, 5983, 142424, 18151, 43240, 5885, 2174, 38750, 242122, 83, 11...
[ 0.049591064453125, 0.2083740234375, 0.09661865234375, 0.1280517578125, 0.249755859375, 0.178955078125, 0.2265625, 0.283203125, 0.056365966796875, 0.1585693359375, 0.1009521484375, 0.012237548828125, 0.06524658203125, 0.031982421875, 0.04498291015625, 0.14111328125, 0.1649169921875, ...
embed
74173313_c0
74173313
julia
0
Title: Understanding memory allocation in Julia Problem title: Understanding memory allocation in Julia Tags: julia Problem: Understanding memory allocation in Julia I am trying to understand memory allocations in Julia and was playing around with the following test code: function f() function test(x,y) return x-1,y+1 ...
Understanding memory allocation in Julia Understanding memory allocation in Julia julia Understanding Julia x-1 num_runs MiB Understanding memory allocation in Julia I am trying to understand memory allocations in Julia and was playing around with the following test code: When I run it, I get the following outputs: Why...
[ 0.0198974609375, 0.01318359375, -0.00677490234375, 0.022705078125, 0.0146484375, -0.0118408203125, -0.00244140625, 0.0079345703125, -0.006561279296875, 0.0166015625, 0.0034942626953125, -0.007171630859375, -0.001617431640625, 0.00909423828125, 0.02294921875, 0.00567626953125, 0.01708...
[ 9626, 144057, 98323, 144, 87632, 23, 60592, 14801, 11, 1022, 5759, 13269, 16428, 1208, 571, 28219, 75169, 10932, 25632, 3034, 18151, 11675, 140992, 44084, 83, 2685, 10, 756, 15400, 450, 221, 5045, 5117, 1733, 16454, 63134, 26747, 442, 1810 ...
[ 0.09002685546875, 0.08599853515625, 0.233642578125, 0.1405029296875, 0.1878662109375, 0.0889892578125, 0.273193359375, 0.1502685546875, 0.07666015625, 0.07891845703125, 0.109375, 0.089111328125, 0.1114501953125, 0.08404541015625, 0.0743408203125, 0.0697021484375, 0.0188140869140625, ...
embed
51160497_c0
51160497
julia
0
Title: Import function from sibling module Problem title: Import function from sibling module Tags: julia Problem: Import function from sibling module I have a package named MAIN. Inside the src folder I have the files: src/ MAIN.jl utils.jl models.jl Inside MAIN.jl I have the following: module MAIN include("models.jl"...
Import function from sibling module Import function from sibling module julia LoadError UndefVarError sibling utils MAIN MAIN.jl utils.jl models.jl Import function from sibling module I have a package named MAIN. Inside the src folder I have the files: Inside MAIN.jl I have the following: The content of utils.jl is: Th...
[ 0.01080322265625, -0.006195068359375, -0.0177001953125, 0.01220703125, -0.001617431640625, -0.00335693359375, -0.006683349609375, -0.007537841796875, 0.00005555152893066406, -0.047119140625, -0.01312255859375, -0.016845703125, -0.00787353515625, 0.01312255859375, 0.0123291015625, -0.01...
[ 92966, 32354, 1295, 78, 79298, 88996, 14801, 11, 2091, 712, 18468, 5533, 4240, 81827, 39137, 276, 48026, 51349, 7, 115774, 98169, 187040, 19437, 78303, 765, 102158, 25632, 10941, 3444, 4527, 5775, 31, 46132, 11435, 11675, 24927, 18499, 31611,...
[ 0.2294921875, 0.2100830078125, 0.10186767578125, 0.12451171875, 0.1944580078125, 0.184814453125, 0.1781005859375, 0.1448974609375, 0.1131591796875, 0.048797607421875, 0.1236572265625, 0.0806884765625, 0.1142578125, 0.2100830078125, 0.2449951171875, 0.121337890625, 0.1966552734375, ...
embed
74986595_c0
74986595
julia
0
Title: Get struct property from inside struct function errors out Problem title: Get struct property from inside struct function errors out Tags: julia Problem: Get struct property from inside struct function errors out Recently started to try and learn Julia through examples. I am basically trying to figure out how to...
Get struct property from inside struct function errors out Get struct property from inside struct function errors out julia LoadError UndefVarError inside Get Test a::Int foo::Function t.foo ERROR Stacktrace Main j.jl:10 j.jl:15 Get struct property from inside struct function errors out Recently started to try and lear...
[ 0.031494140625, 0.0166015625, 0.008544921875, -0.00031280517578125, 0.0093994140625, -0.0013580322265625, 0.0274658203125, -0.008056640625, 0.0001277923583984375, -0.0184326171875, -0.0087890625, 0.0194091796875, -0.0118408203125, -0.01025390625, 0.02294921875, 0.002166748046875, -0....
[ 20779, 36716, 57266, 1295, 46132, 32354, 18499, 7, 1810, 14801, 11, 2091, 18468, 4240, 81827, 8647, 5775, 31, 97249, 3584, 151206, 6512, 99407, 12321, 51349, 12221, 30698, 60592, 27781, 17203, 28032, 68034, 17368, 44691, 132283 ]
[ 0.0594482421875, 0.2418212890625, 0.200439453125, 0.082763671875, 0.1728515625, 0.1839599609375, 0.194091796875, 0.06341552734375, 0.138916015625, 0.1766357421875, 0.09515380859375, 0.051239013671875, 0.06103515625, 0.054473876953125, 0.12158203125, 0.105224609375, 0.002899169921875,...
embed
34226631_c0
34226631
julia
0
Title: julia: how to use optional arguments for an anonymous function Problem title: julia: how to use optional arguments for an anonymous function Tags: types, optional-arguments, julia, function Problem: julia: how to use optional arguments for an anonymous function Here is the doc of Julia. It says that we could set...
julia: how to use optional arguments for an anonymous function julia: how to use optional arguments for an anonymous function types optional-arguments julia function MyTest testShow::Function this.testShow julia: how to use optional arguments for an anonymous function Here is the doc of Julia. It says that we could set...
[ 0.02001953125, 0.0098876953125, -0.0068359375, 0.0101318359375, 0.0125732421875, -0.01123046875, 0.0272216796875, -0.01434326171875, -0.00537109375, 0.011474609375, -0.0167236328125, -0.016357421875, 0.00982666015625, -0.013671875, 0.008056640625, 0.004486083984375, 0.003143310546875...
[ 14801, 11, 3642, 4527, 35829, 289, 10750, 7, 52184, 10821, 32354, 47, 52895, 155937, 2646, 111337, 3034, 168660, 97249, 903, 6954, 100, 51584, 60592, 642, 5809, 5423, 831, 11782, 366, 184, 1884, 87, 272, 442, 6777, 4488, 3444, 54, 5701, ...
[ 0.174072265625, 0.1248779296875, 0.063232421875, 0.1124267578125, 0.1934814453125, 0.134765625, 0.2374267578125, 0.109619140625, 0.1507568359375, 0.0902099609375, 0.1844482421875, 0.001373291015625, 0.148681640625, 0.199462890625, 0.0614013671875, 0.1700439453125, 0.1810302734375, ...
embed
43932741_c1
43932741
julia
1
on a per-type rather than per-object basis, which means a hypothetical type immutable A a::A end would have to be infinitely big if we insisted on inlining it. So we would either have to forbid such recursive immutable types, or we could at most allow non-recursive immutable types to be inlined. Original question My u...
on a per-type rather than per-object basis, which means a hypothetical type immutable A a::A end would have to be infinitely big if we insisted on inlining it. So we would either have to forbid such recursive immutable types, or we could at most allow non-recursive immutable types to be inlined. Original question My u...
[ 0.0150146484375, 0.002288818359375, -0.0169677734375, 0.034423828125, -0.0047607421875, 0.007476806640625, -0.00201416015625, 0.004608154296875, 0.00048065185546875, 0.0186767578125, 0.0146484375, 0.00005698204040527344, 0.009765625, 0.030029296875, 0.0166015625, -0.0225830078125, 0....
[ 98, 117, 50986, 43257, 3501, 187694, 18231, 26950, 170933, 70760, 10644, 566, 561, 22819, 62, 10, 3564, 765, 54241, 6957, 51636, 23, 150, 592, 100, 34833, 6044, 195625, 5844, 52895, 2684, 63769, 351, 48650, 2256, 100094, 98323, 24365, 60592...
[ 0.012176513671875, 0.1168212890625, 0.221435546875, 0.05474853515625, 0.00103759765625, 0.1468505859375, 0.078369140625, 0.053863525390625, 0.1243896484375, 0.042633056640625, 0.1864013671875, 0.115966796875, 0.1473388671875, 0.1728515625, 0.036590576171875, 0.0274658203125, 0.099914...
embed
76699058_c0
76699058
julia
0
Title: Multi Dimensional numerical integration in Julia Problem title: Multi Dimensional numerical integration in Julia Tags: numerical-methods, numerical-integration, julia Problem: Multi Dimensional numerical integration in Julia I was trying to find a way to numerically integrate an array of values phi1::Vector{Floa...
Multi Dimensional numerical integration in Julia Multi Dimensional numerical integration in Julia numerical-methods numerical-integration julia Multi Dimensional Julia phi1::Vector Float64 HCubature.jl phi1 Multi Dimensional numerical integration in Julia I was trying to find a way to numerically integrate an array of ...
[ 0.00213623046875, 0.01519775390625, -0.0140380859375, 0.0235595703125, 0.00799560546875, -0.016357421875, 0.01434326171875, -0.019287109375, 0.01202392578125, -0.0137939453125, -0.0106201171875, 0.0155029296875, -0.0286865234375, -0.0113525390625, 0.01409912109375, -0.0052490234375, ...
[ 19335, 161202, 54744, 6827, 157353, 23, 60592, 289, 1928, 7352, 100743, 14801, 11, 44171, 82825, 26455, 18770, 38699, 257, 13307, 81118, 37843, 6644, 51349, 418, 31577, 7413, 3917, 22542, 71407, 78779, 10298, 53, 142424, 365, 111, 113, 27494,...
[ 0.196044921875, 0.21044921875, 0.20703125, 0.083984375, 0.264404296875, 0.062408447265625, 0.32861328125, 0.0194091796875, 0.03857421875, 0.0987548828125, 0.1900634765625, 0.2100830078125, 0.1669921875, 0.19775390625, 0.1236572265625, 0.1668701171875, 0.1260986328125, 0.16247558593...
embed
48790739_c0
48790739
julia
0
Title: Assigning specific values to a boolean array Problem title: Assigning specific values to a boolean array Tags: julia, probability Problem: Assigning specific values to a boolean array Say I am tossing a fair coin where 'tails' is assigned the value x = -1/2 and 'heads' is assigned x = 1/2. I do this N times and ...
Assigning specific values to a boolean array Assigning specific values to a boolean array julia probability Assigning Assigning specific values to a boolean array Say I am tossing a fair coin where 'tails' is assigned the value x = -1/2 and 'heads' is assigned x = 1/2. I do this N times and I want to obtain the sum. Th...
[ 0.014892578125, 0.00848388671875, -0.01055908203125, -0.004791259765625, -0.0098876953125, 0.0322265625, 0.0038909912109375, 0.002349853515625, 0.0108642578125, 0.048095703125, 0.0089111328125, -0.00921630859375, 0.0016021728515625, -0.0177001953125, 0.006195068359375, 0.01708984375, ...
[ 1301, 31304, 214, 29458, 142424, 47, 337, 31, 34677, 10298, 53, 14801, 11, 37242, 2481, 38001, 44075, 43780, 46741, 7, 95486, 34292, 1022, 2203, 118551, 31251, 22128, 54, 541, 20028, 3444, 113054, 10554, 37842, 3714, 82940, 46485, 12765, 37...
[ 0.0755615234375, 0.260498046875, 0.0259857177734375, 0.2381591796875, 0.2115478515625, 0.106689453125, 0.0712890625, 0.1407470703125, 0.2322998046875, 0.1810302734375, 0.10260009765625, 0.16064453125, 0.1207275390625, 0.2098388671875, 0.06512451171875, 0.1021728515625, 0.153198242187...
embed
77035023_c1
77035023
julia
1
9 82.7 9 │ Quy mô siêu nhỏ 2020 81.0 Quy mô siêu nhỏ 2020 81.0 10 │ Quy mô siêu nhỏ 2021 92.6 Quy mô siêu nhỏ 2021 92.6 11 │ Quy mô nhỏ 2017 176.4 Quy mô nhỏ 2017 176.4 12 │ Quy mô nhỏ 2018 171.9 Quy mô nhỏ 2018 171.9 13 │ Quy mô nhỏ 2019 98.0 Quy mô nhỏ 2019 98.0 14 │ Quy mô nhỏ 2020 91.5 Quy mô nhỏ 2020 91.5 15 │ Quy...
9 82.7 9 │ Quy mô siêu nhỏ 2020 81.0 Quy mô siêu nhỏ 2020 81.0 10 │ Quy mô siêu nhỏ 2021 92.6 Quy mô siêu nhỏ 2021 92.6 11 │ Quy mô nhỏ 2017 176.4 Quy mô nhỏ 2017 176.4 12 │ Quy mô nhỏ 2018 171.9 Quy mô nhỏ 2018 171.9 13 │ Quy mô nhỏ 2019 98.0 Quy mô nhỏ 2019 98.0 14 │ Quy mô nhỏ 2020 91.5 Quy mô nhỏ 2020 91.5 15 │ Quy...
[ -0.01129150390625, -0.01251220703125, 0.01416015625, -0.0107421875, 0.002288818359375, -0.0279541015625, -0.00933837890625, -0.0019683837890625, 0.0179443359375, 0.0303955078125, 0.00946044921875, -0.03271484375, 0.006805419921875, -0.019287109375, 0.0194091796875, 0.0021820068359375, ...
[ 483, 15751, 5, 966, 59284, 37523, 23110, 67420, 14162, 11075, 382, 102107, 209, 64371, 154784, 534, 505, 80016, 617, 427, 267, 729, 158304, 702, 3640, 16193, 2389, 616, 42876, 423, 73011, 611, 7976, 148462, 122887, 543, 156960, 953, 180347,...
[ 0.2366943359375, 0.275146484375, 0.0762939453125, 0.2113037109375, 0.1463623046875, 0.1920166015625, 0.2161865234375, 0.2177734375, 0.2305908203125, 0.2486572265625, 0.1439208984375, 0.1964111328125, 0.1287841796875, 0.245849609375, 0.22802734375, 0.120361328125, 0.198486328125, 0....
embed
67978277_c2
67978277
julia
2
Network, ReinforcementLearning.jl, VBasedPolicy, STATE_SIZE, env.channels, ACTION_SIZE, action_set, Chain, Dense, Learning, Flux.Optimiser, ADAM, InvDecay, value_action_mapping, value_learner, EpsilonGreedyExplorer, legal_action_space, Chosen, Action, single_agent_policy, Agent, BasicDQNLearner, NeuralNetworkApproxima...
Network, ReinforcementLearning.jl, VBasedPolicy, STATE_SIZE, env.channels, ACTION_SIZE, action_set, Chain, Dense, Learning, Flux.Optimiser, ADAM, InvDecay, value_action_mapping, value_learner, EpsilonGreedyExplorer, legal_action_space, Chosen, Action, single_agent_policy, Agent, BasicDQNLearner, NeuralNetworkApproxima...
[ -0.01416015625, 0.0026092529296875, -0.000614166259765625, 0.0238037109375, -0.0152587890625, 0.0167236328125, 0.00653076171875, -0.0003204345703125, 0.0108642578125, -0.0308837890625, -0.01312255859375, -0.00061798095703125, -0.0198974609375, 0.0026702880859375, -0.000507354736328125, ...
[ 28997, 4, 51661, 50930, 674, 213939, 5, 51349, 310, 63473, 297, 106144, 2408, 144792, 647, 454, 9902, 19157, 22, 334, 17032, 8876, 12944, 35213, 22631, 3509, 4841, 73, 1575, 184, 114344, 36157, 425, 39029, 20520, 2189, 62, 131722, 360, 12...
[ 0.237060546875, 0.0513916015625, 0.1490478515625, 0.2347412109375, 0.068359375, 0.23779296875, 0.03912353515625, 0.220458984375, 0.2027587890625, 0.2020263671875, 0.0859375, 0.2232666015625, 0.11328125, 0.124755859375, 0.0186004638671875, 0.0190277099609375, 0.10546875, 0.109375, ...
embed
74382595_c0
74382595
julia
0
Title: PyPlot figure not shown in VS Code Jupyter &quot;UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.&quot; Problem title: PyPlot figure not shown in VS Code Jupyter &quot;UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show ...
PyPlot figure not shown in VS Code Jupyter &quot;UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.&quot; PyPlot figure not shown in VS Code Jupyter &quot;UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.&quot; juli...
[ 0.011962890625, 0.0198974609375, -0.0022125244140625, 0.00213623046875, 0.0027313232421875, -0.006561279296875, 0.0084228515625, -0.020263671875, -0.0155029296875, 0.0260009765625, -0.040283203125, 0.0030517578125, -0.01220703125, 0.0172119140625, -0.003509521484375, -0.01007080078125,...
[ 27512, 683, 12631, 26366, 959, 127887, 23, 44160, 28864, 3314, 6493, 720, 1062, 2189, 71947, 7656, 105710, 5612, 82424, 17368, 10, 9815, 83, 351, 43578, 568, 4420, 3611, 53418, 7639, 14801, 11, 1129, 48345, 14137, 21176, 52629, 40899, 53400...
[ 0.17919921875, 0.0989990234375, 0.2242431640625, 0.1939697265625, 0.09423828125, 0.139892578125, 0.028656005859375, 0.16650390625, 0.139892578125, 0.11474609375, 0.1099853515625, 0.1207275390625, 0.03411865234375, 0.06182861328125, 0.13037109375, 0.0823974609375, 0.153076171875, 0....
embed
29613701_c0
29613701
julia
0
Title: Is it possible to have nested tic() and toc() in Julia as in Matlab? If not what is the way around it? Problem title: Is it possible to have nested tic() and toc() in Julia as in Matlab? If not what is the way around it? Tags: julia, matlab, time, timer Problem: Is it possible to have nested tic() and toc() in J...
Is it possible to have nested tic() and toc() in Julia as in Matlab? If not what is the way around it? Is it possible to have nested tic() and toc() in Julia as in Matlab? If not what is the way around it? julia matlab time timer Julia Matlab REPS Inf TIC TOC Is it possible to have nested tic() and toc() in Julia as in...
[ 0.0130615234375, 0.005584716796875, 0.006103515625, 0.015625, 0.013916015625, 0.002105712890625, -0.004852294921875, -0.005767822265625, -0.021484375, -0.0096435546875, 0.0027618408203125, -0.0240478515625, -0.0003871917724609375, 0.0118408203125, -0.0018463134765625, -0.02099609375, ...
[ 7722, 765, 8512, 71, 96212, 132, 136, 47, 238, 23, 60592, 237, 7656, 6114, 3917, 10932, 14801, 11, 2589, 1733, 21991, 9069, 9059, 46757, 136854, 9926, 441, 442, 11782, 2967, 53418, 25379, 9351, 36849, 32354, 4358 ]
[ 0.15869140625, 0.087890625, 0.21923828125, 0.1376953125, 0.233642578125, 0.0601806640625, 0.1348876953125, 0.160888671875, 0.145751953125, 0.084228515625, 0.28955078125, 0.07025146484375, 0.1143798828125, 0.1962890625, 0.0745849609375, 0.126953125, 0.19970703125, 0.156982421875, ...
embed
79150856_c0
79150856
julia
0
Title: Is it safe to destructively iterate over a dictionary in Julia? Problem title: Is it safe to destructively iterate over a dictionary in Julia? Tags: dictionary, julia Problem: Is it safe to destructively iterate over a dictionary in Julia? Is it safe to destructively iterate over a dictionary in Julia? Here is a...
Is it safe to destructively iterate over a dictionary in Julia? Is it safe to destructively iterate over a dictionary in Julia? dictionary julia Julia Dict Base.KeySet Int64 KeySet Is it safe to destructively iterate over a dictionary in Julia? Is it safe to destructively iterate over a dictionary in Julia? Here is an ...
[ 0.037353515625, 0.007110595703125, 0.011962890625, 0.000919342041015625, -0.006256103515625, -0.0024871826171875, 0.006927490234375, -0.0167236328125, -0.01422119140625, -0.0093994140625, 0.0186767578125, 0.00775146484375, -0.0027618408203125, -0.01202392578125, 0.005615234375, 0.01867...
[ 46002, 8, 36716, 5844, 17, 8560, 67, 645, 45, 10763, 6635, 23, 60592, 442, 14801, 11, 60897, 18, 44978, 162429, 294, 126, 13307, 26824, 2071, 538, 27781, 26866, 22799, 7, 71, 30646, 720, 4597, 42486, 5351, 209806, 33342, 132, 83, 98767,...
[ 0.1651611328125, 0.0762939453125, 0.14306640625, 0.0745849609375, 0.07550048828125, 0.2261962890625, 0.1876220703125, 0.14599609375, 0.0859375, 0.1656494140625, 0.119873046875, 0.0828857421875, 0.31005859375, 0.0281219482421875, 0.156982421875, 0.10467529296875, 0.0833740234375, 0....
embed
68578990_c0
68578990
julia
0
Title: Data compression using Arrow.jl in Julia Problem title: Data compression using Arrow.jl in Julia Tags: lz4, compression, apache-arrow, julia Problem: Data compression using Arrow.jl in Julia I tried to compress data using Arrow.jl . However, the test run using the below code didn’t show any size reduction (or co...
Data compression using Arrow.jl in Julia Data compression using Arrow.jl in Julia lz4 compression apache-arrow julia Arrow.jl CSV Data Julia DataFrames Arrow CSV.read input_data.csv DataFrame compress_data data::DataFrame Arrow.tobuffer Arrow.Table Arrow.write output_data.lz4 lz4 Data compression using Arrow.jl in Juli...
[ -0.01519775390625, 0.0166015625, 0.0201416015625, 0.039306640625, 0.0098876953125, -0.025146484375, 0.01397705078125, 0.0128173828125, -0.0157470703125, 0.04345703125, -0.01220703125, 0.0186767578125, 0.00689697265625, 0.0157470703125, -0.005767822265625, -0.01025390625, -0.014282226...
[ 11809, 375, 48448, 17368, 1172, 15555, 5, 51349, 23, 60592, 169, 617, 2241, 1430, 118201, 14801, 11, 43486, 108386, 39116, 107730, 10135, 4439, 334, 282, 11856, 2053, 137989, 188, 123759, 56, 618, 2886, 140992, 37842, 6, 33306, 4, 3034, 1...
[ 0.1534423828125, 0.1436767578125, 0.193359375, 0.08441162109375, 0.09063720703125, 0.219970703125, 0.06829833984375, 0.2320556640625, 0.0699462890625, 0.302001953125, 0.07958984375, 0.15771484375, 0.09149169921875, 0.0863037109375, 0.22265625, 0.1895751953125, 0.13330078125, 0.1844...
embed
57465943_c0
57465943
julia
0
Title: Are static variables possible in mutable Julia structs? Problem title: Are static variables possible in mutable Julia structs? Tags: struct, julia, data-structures Problem: Are static variables possible in mutable Julia structs? I would like to able to define a static variable inside a Julia struct. E.g I would ...
Are static variables possible in mutable Julia structs? Are static variables possible in mutable Julia structs? struct julia data-structures Julia MyStruct MyStruct.a Are static variables possible in mutable Julia structs? I would like to able to define a static variable inside a Julia struct. E.g I would like to defin...
[ 0.01068115234375, 0.01806640625, 0.00640869140625, -0.01611328125, 0.006378173828125, 0.01446533203125, 0.004241943359375, 0.002166748046875, -0.004364013671875, -0.0025177001953125, -0.02392578125, 0.010009765625, 0.00567626953125, 0.007232666015625, 0.0152587890625, -0.010498046875, ...
[ 15901, 201939, 77336, 7, 7722, 23, 842, 22819, 60592, 36716, 14801, 11, 2053, 137656, 2646, 71713, 18190, 18, 1884, 19048, 61924, 46132, 9844, 124519, 17203, 21373, 53697, 41925, 37223, 46876, 107419, 3917, 32562, 18151, 959, 105214, 3378, 58...
[ 0.06298828125, 0.2685546875, 0.2744140625, 0.123291015625, 0.1817626953125, 0.056396484375, 0.1575927734375, 0.1688232421875, 0.287353515625, 0.229736328125, 0.1900634765625, 0.1658935546875, 0.0528564453125, 0.1871337890625, 0.111083984375, 0.1241455078125, 0.10595703125, 0.043365...
embed
31729631_c0
31729631
julia
0
Title: Column of the max for each row in a matrix Problem title: Column of the max for each row in a matrix Tags: julia Problem: Column of the max for each row in a matrix Consider the matrix: M = [1.0 2.0 3.0; 5.0 4.0 3.0; 1.0 100.0 12.0] I want to get column of the max value in each row. So it should be: col = [3; 1;...
Column of the max for each row in a matrix Column of the max for each row in a matrix julia Column ind2sub Column of the max for each row in a matrix Consider the matrix: I want to get column of the max value in each row. So it should be: , since In Octave it is easy to achieve: , where col=[3;2;1]. In Julia I can find...
[ 0.01202392578125, 0.0010986328125, 0.0115966796875, 0.0306396484375, 0.003753662109375, 0.00872802734375, 0.025634765625, -0.0036773681640625, 0.01141357421875, -0.004852294921875, -0.012939453125, -0.02099609375, -0.0101318359375, 0.01092529296875, -0.01092529296875, -0.01397705078125...
[ 233987, 111, 70, 18389, 100, 12638, 15555, 23, 50944, 14801, 11, 2752, 304, 22144, 425, 3444, 2046, 3365, 316, 19, 34292, 5608, 360, 33649, 8216, 23468, 69307, 363, 60592, 7413, 24084, 32354, 30646, 89931, 63262, 12830, 7250, 189126, 276, ...
[ 0.2022705078125, 0.0927734375, 0.04608154296875, 0.2255859375, 0.06121826171875, 0.1309814453125, 0.19189453125, 0.043304443359375, 0.164306640625, 0.1964111328125, 0.118408203125, 0.0740966796875, 0.05548095703125, 0.1461181640625, 0.0657958984375, 0.043243408203125, 0.0309600830078...
embed
34682144_c0
34682144
julia
0
Title: Julia: access @time timing and memory allocation values from within code Problem title: Julia: access @time timing and memory allocation values from within code Tags: julia, profiling Problem: Julia: access @time timing and memory allocation values from within code I am profiling my Julia application, in particu...
Julia: access @time timing and memory allocation values from within code Julia: access @time timing and memory allocation values from within code julia profiling within Julia some_function Julia: access @time timing and memory allocation values from within code I am profiling my Julia application, in particular the exe...
[ 0.0341796875, 0.021240234375, 0.005828857421875, 0.004852294921875, -0.00537109375, -0.00012874603271484375, 0.0089111328125, 0.00421142578125, 0.0125732421875, -0.05908203125, 0.0098876953125, -0.00469970703125, 0.00823974609375, -0.000701904296875, 0.013427734375, -0.0002536773681640...
[ 60592, 17203, 1374, 6032, 5527, 214, 136, 98323, 144, 87632, 142424, 1295, 28032, 18151, 14801, 11, 9468, 3060, 137175, 38415, 71924, 1733, 32354, 11782, 2806, 1884, 11408, 132096, 4677, 63399, 11675, 15490, 1601, 25826, 3444, 4343, 176377, 3...
[ 0.302490234375, 0.1868896484375, 0.1165771484375, 0.2435302734375, 0.19384765625, 0.049285888671875, 0.038818359375, 0.20263671875, 0.1263427734375, 0.147705078125, 0.1361083984375, 0.076904296875, 0.156982421875, 0.1658935546875, 0.215576171875, 0.136474609375, 0.197509765625, 0.0...
embed
43690588_c0
43690588
julia
0
Title: For-loop with the dimension flexibility of broadcasting Problem title: For-loop with the dimension flexibility of broadcasting Tags: julia Problem: For-loop with the dimension flexibility of broadcasting With the aid of broadcasting, the following code will work whether x , y , and z are scalars, vectors of size...
For-loop with the dimension flexibility of broadcasting For-loop with the dimension flexibility of broadcasting julia For-loop For-loop with the dimension flexibility of broadcasting With the aid of broadcasting, the following code will work whether x , y , and z are scalars, vectors of size n , or any combination ther...
[ 0.0242919921875, 0.0024566650390625, -0.017333984375, 0.01318359375, 0.00927734375, -0.004730224609375, 0.0169677734375, 0.00016307830810546875, 0.00119781494140625, 0.014404296875, 0.01483154296875, -0.033203125, 0.0098876953125, -0.017578125, -0.01031494140625, -0.021240234375, 0.0...
[ 1326, 28354, 678, 91403, 71985, 2481, 226347, 214, 14801, 11, 36442, 25632, 18151, 4488, 36766, 1022, 113, 136, 97, 621, 146232, 4295, 22834, 13267, 653, 162515, 1884, 100, 9, 4734, 43240, 3229, 173, 18770, 42, 33022, 183234, 876, 5, 1369...
[ 0.1795654296875, 0.26513671875, 0.0748291015625, 0.1768798828125, 0.1881103515625, 0.04266357421875, 0.1990966796875, 0.046173095703125, 0.087158203125, 0.0283966064453125, 0.032470703125, 0.09100341796875, 0.1549072265625, 0.055999755859375, 0.027099609375, 0.0928955078125, 0.106323...
embed
28167360_c0
28167360
julia
0
Title: Plot real-valued function with variable parameters Problem title: Plot real-valued function with variable parameters Tags: julia, calculus, gadfly Problem: Plot real-valued function with variable parameters This question sounds more difficult than it actually is. I wonder, how I can plot a mathematical function ...
Plot real-valued function with variable parameters Plot real-valued function with variable parameters julia calculus gadfly Plot x-4 Plot real-valued function with variable parameters This question sounds more difficult than it actually is. I wonder, how I can plot a mathematical function with julia? Until now I used G...
[ 0.001953125, 0.0159912109375, -0.0069580078125, 0.01153564453125, 0.006988525390625, 0.0145263671875, -0.004425048828125, -0.007720947265625, 0.0018463134765625, 0.002349853515625, -0.00640869140625, -0.0272216796875, -0.00799560546875, -0.0026702880859375, 0.0245361328125, 0.005523681...
[ 168763, 2773, 27494, 297, 32354, 678, 77336, 171859, 14801, 11, 44805, 223, 15575, 35121, 1022, 11565, 9655, 102678, 1286, 34844, 20653, 32195, 3642, 87, 831, 23577, 10, 291, 140363, 70760, 3675, 5036, 11814, 99047, 47, 3444, 11301, 10932, ...
[ 0.227783203125, 0.1846923828125, 0.18701171875, 0.019134521484375, 0.22314453125, 0.1258544921875, 0.2252197265625, 0.1820068359375, 0.2205810546875, 0.1925048828125, 0.1322021484375, 0.049774169921875, 0.10186767578125, 0.270751953125, 0.06097412109375, 0.17236328125, 0.015090942382...
embed
61574665_c0
61574665
julia
0
Title: Logging loss while training in Flux using callbacks Problem title: Logging loss while training in Flux using callbacks Tags: julia, machine-learning, deep-learning Problem: Logging loss while training in Flux using callbacks I'm trying to write a callback for the train! function in Flux. My code is: cb_loss = x ...
Logging loss while training in Flux using callbacks Logging loss while training in Flux using callbacks julia machine-learning deep-learning MethodError callbacks Logging Flux cb_loss x_train y_train loss_vector Vector Float32 Flux.train train_data Stacktrace Users Fj3bt train.jl:36 abstractarray.jl:1920 train.jl:38 tr...
[ 0.005706787109375, 0.03564453125, -0.01043701171875, 0.0166015625, 0.032470703125, -0.004119873046875, 0.0162353515625, -0.020263671875, 0.006591796875, -0.052001953125, -0.0133056640625, -0.0272216796875, 0.0023193359375, -0.0250244140625, 0.00457763671875, -0.0233154296875, -0.0375...
[ 64906, 214, 86669, 12960, 23189, 36157, 425, 17368, 11782, 12620, 14801, 11, 36279, 152538, 53894, 74644, 18468, 31611, 275, 2400, 1022, 1517, 113, 272, 18770, 2609, 38699, 6460, 25550, 10135, 6512, 99407, 53400, 16723, 51349, 32944, 164789, ...
[ 0.18896484375, 0.04315185546875, 0.2191162109375, 0.10662841796875, 0.212158203125, 0.2327880859375, 0.1722412109375, 0.04876708984375, 0.166259765625, 0.2353515625, 0.1346435546875, 0.0802001953125, 0.02349853515625, 0.1103515625, 0.06732177734375, 0.050811767578125, 0.0277099609375...
embed
78192018_c2
78192018
julia
2
_confined.min.css")], Dict{Any, Any}("changes"=>Any[JSString("(function Code signals: IJulia, Interact, Jupyter, sl1, sl2, sl3, ObserverFunction, Node, DOM, Any, Scope, Dict, Symbol, this.changes, formatted_val, Tuple, AbstractObservable, Union, Nothing, Bool, Observable, Set, Asset, Knockout, HReiN, knockout.js, knock...
_confined.min.css")], Dict{Any, Any}("changes"=>Any[JSString("(function Code signals: IJulia, Interact, Jupyter, sl1, sl2, sl3, ObserverFunction, Node, DOM, Any, Scope, Dict, Symbol, this.changes, formatted_val, Tuple, AbstractObservable, Union, Nothing, Bool, Observable, Set, Asset, Knockout, HReiN, knockout.js, knock...
[ -0.00860595703125, -0.025146484375, -0.015380859375, 0.0289306640625, -0.00390625, 0.005218505859375, 0.0245361328125, 0.00872802734375, 0.018798828125, -0.005950927734375, -0.02783203125, 0.000545501708984375, -0.00860595703125, 0.0189208984375, 0.00762939453125, 0.008056640625, 0.0...
[ 101, 70547, 73, 297, 1249, 4439, 7, 60897, 18, 284, 299, 28541, 152028, 64977, 71713, 214, 137175, 28864, 26073, 12, 46765, 53588, 5337, 47013, 3314, 6493, 720, 20505, 418, 304, 363, 3545, 39642, 97249, 438, 69285, 182783, 131899, 903, 93...
[ 0.0054931640625, 0.1968994140625, 0.194091796875, 0.1983642578125, 0.267333984375, 0.193115234375, 0.0888671875, 0.1544189453125, 0.098876953125, 0.009918212890625, 0.1669921875, 0.2117919921875, 0.2587890625, 0.184326171875, 0.142578125, 0.07476806640625, 0.206298828125, 0.2430419...
embed
62161254_c0
62161254
julia
0
Title: How to create directory if it doesn&#x27;t exist? Problem title: How to create directory if it doesn&#x27;t exist? Tags: julia, file-io Problem: How to create directory if it doesn't exist? If I want to write a file to C:/output/results.csv what's a simple way to make the directory if it doesn't exist? I want to...
How to create directory if it doesn&#x27;t exist? How to create directory if it doesn&#x27;t exist? julia file-io How results.csv CSV.write How to create directory if it doesn't exist? If I want to write a file to C:/output/results.csv what's a simple way to make the directory if it doesn't exist? I want to do this bec...
[ 0.0240478515625, -0.0012054443359375, 0.0002193450927734375, 0.021484375, 0.01611328125, 0.0089111328125, 0.026123046875, 0.00006532669067382812, -0.0054931640625, 0.004730224609375, -0.0169677734375, -0.01806640625, -0.002288818359375, 0.0194091796875, 0.01055908203125, 0.004333496093...
[ 11249, 47, 28282, 14364, 53, 2174, 442, 22027, 3768, 18, 32316, 14801, 11, 11435, 846, 50339, 4439, 334, 313, 43486, 434, 18781, 3444, 33022, 12, 6056, 7077, 2109, 7136, 8781, 3917, 3249, 128405, 10135, 18499, 64, 19201, 936, 21771, 25632...
[ 0.09674072265625, 0.1212158203125, 0.2041015625, 0.19140625, 0.1636962890625, 0.1904296875, 0.1373291015625, 0.152587890625, 0.03729248046875, 0.1640625, 0.243896484375, 0.1422119140625, 0.1248779296875, 0.1507568359375, 0.1419677734375, 0.217529296875, 0.1356201171875, 0.212036132...
embed
42578569_c0
42578569
julia
0
Title: Allow function to ignore unsupported keyword arguments Problem title: Allow function to ignore unsupported keyword arguments Tags: keyword-argument, julia Problem: Allow function to ignore unsupported keyword arguments Is there a nice way of allowing a function to ignore unsupported keyword arguments? fopts = [:...
Allow function to ignore unsupported keyword arguments Allow function to ignore unsupported keyword arguments keyword-argument julia Allow kw1 Dict symb1 kw2 symb2 METHOD ERROR Allow function to ignore unsupported keyword arguments Is there a nice way of allowing a function to ignore unsupported keyword arguments? f(;o...
[ 0.008544921875, -0.006683349609375, 0.000675201416015625, -0.0074462890625, 0.002197265625, -0.0185546875, -0.000025153160095214844, -0.01068115234375, -0.0274658203125, 0.03564453125, -0.003448486328125, -0.042236328125, -0.00714111328125, 0.0201416015625, 0.01123046875, 0.00303649902...
[ 41566, 32354, 47, 124962, 51, 105363, 297, 166117, 10750, 155937, 14801, 11, 85068, 418, 60897, 18, 954, 6492, 304, 33677, 193792, 151206, 26267, 3917, 190358, 1238, 74, 2146, 933, 12399, 1221, 104250, 24638, 5809, 137565, 3871, 3714, 760, ...
[ 0.1810302734375, 0.199951171875, 0.053680419921875, 0.23193359375, 0.10443115234375, 0.2257080078125, 0.040191650390625, 0.2073974609375, 0.2105712890625, 0.172119140625, 0.1817626953125, 0.13427734375, 0.1068115234375, 0.026336669921875, 0.0887451171875, 0.010498046875, 0.0503540039...
embed
27242222_c0
27242222
julia
0
Title: Does Julia have a strict subtype operator? Problem title: Does Julia have a strict subtype operator? Tags: julia, types Problem: Does Julia have a strict subtype operator? Question: Does Julia have a strict subtype operator? Note: The operator <: is not a strict subtype operator, since Number <: Number evaluates...
Does Julia have a strict subtype operator? Does Julia have a strict subtype operator? julia types Does Julia Number MyFunc Union x::Array y::Array Does Julia have a strict subtype operator? Question: Does Julia have a strict subtype operator? Note: The operator <: is not a strict subtype operator, since Number <: Numbe...
[ 0.0179443359375, 0.00787353515625, 0.03369140625, 0.0054931640625, -0.000274658203125, -0.0108642578125, 0.006134033203125, -0.004119873046875, -0.006195068359375, 0.0230712890625, 0.01361083984375, -0.0302734375, 0.01409912109375, -0.018798828125, -0.019287109375, 0.00051116943359375,...
[ 101790, 60592, 765, 81113, 1614, 50986, 39933, 10, 14801, 11, 52895, 103332, 2646, 97249, 238, 32528, 1022, 7614, 7092, 113, 4426, 12, 959, 151575, 47, 29568, 60892, 98320, 100, 1284, 360, 18, 4527, 32354, 61924, 2816, 136, 10298, 4778, 5...
[ 0.04840087890625, 0.301513671875, 0.0843505859375, 0.2257080078125, 0.2000732421875, 0.2384033203125, 0.231689453125, 0.06689453125, 0.2191162109375, 0.1790771484375, 0.1981201171875, 0.17138671875, 0.14013671875, 0.1424560546875, 0.07257080078125, 0.2020263671875, 0.048309326171875,...
embed
32500135_c0
32500135
julia
0
Title: Strange behaviour of a type assert Problem title: Strange behaviour of a type assert Tags: julia Problem: Strange behaviour of a type assert For simplicity's sake, suppose I have the following function defined: function returnVectorOrMatrix() vals = Array(Array{Float32,1}, 10) # vector in this definition return ...
Strange behaviour of a type assert Strange behaviour of a type assert julia Strange Array Float32 vals::Array ERROR Julia Strange behaviour of a type assert For simplicity's sake, suppose I have the following function defined: Which to my big surprise generates the following error: Does anyone have a good logical reaso...
[ 0.01171875, 0.019287109375, -0.007049560546875, 0.0120849609375, 0.006988525390625, -0.01397705078125, -0.00897216796875, -0.0069580078125, -0.01080322265625, 0.01513671875, -0.006500244140625, -0.00958251953125, -0.01104736328125, -0.004425048828125, 0.003753662109375, -0.004425048828...
[ 187791, 224833, 111, 10644, 237, 33657, 10, 14801, 11, 69253, 53, 38699, 257, 6460, 3502, 7614, 7092, 151206, 24638, 60592, 134381, 139124, 25632, 32354, 61924, 55640, 139392, 18499, 35672, 4127, 62775, 31635, 15400, 903, 123087, 82775, 6044, ...
[ 0.200439453125, 0.1875, 0.04345703125, 0.1707763671875, 0.068359375, 0.1787109375, 0.000762939453125, 0.1917724609375, 0.125732421875, 0.129638671875, 0.0421142578125, 0.1513671875, 0.040008544921875, 0.18701171875, 0.1444091796875, 0.0655517578125, 0.1651611328125, 0.11572265625, ...
embed
76751826_c1
76751826
julia
1
LinearAlgebra/lapack | 803 803 1m17.7s LinearAlgebra/tridiag | 1601 1601 1m50.9s LinearAlgebra/lu | 1380 1380 4m28.3s LinearAlgebra/givens | 1991 1991 21.7s LinearAlgebra/cholesky | 2511 2511 4m31.2s LinearAlgebra/ldlt | 8 8 1.9s LinearAlgebra/factorization | 80 16 96 7.6s LinearAlgebra/eigen | 951 951 3m11.6s ambiguo...
LinearAlgebra/lapack | 803 803 1m17.7s LinearAlgebra/tridiag | 1601 1601 1m50.9s LinearAlgebra/lu | 1380 1380 4m28.3s LinearAlgebra/givens | 1991 1991 21.7s LinearAlgebra/cholesky | 2511 2511 4m31.2s LinearAlgebra/ldlt | 8 8 1.9s LinearAlgebra/factorization | 80 16 96 7.6s LinearAlgebra/eigen | 951 951 3m11.6s ambiguo...
[ 0.0057373046875, 0.0002498626708984375, 0.0032501220703125, 0.013916015625, -0.01177978515625, 0.00133514404296875, -0.0024566650390625, 0.01043701171875, -0.00994873046875, 0.029541015625, 0.0007171630859375, -0.008056640625, -0.0208740234375, 0.006011962890625, -0.01123046875, -0.003...
[ 16777, 147, 6210, 429, 2844, 64, 143, 29102, 58745, 2248, 363, 106, 39, 418, 196800, 7, 3996, 3390, 177, 611, 6746, 758, 143161, 822, 6, 702, 4836, 201, 3882, 107409, 12898, 7245, 966, 3089, 133, 4922, 714, 1662, 48400, 7344, 1277, 38...
[ 0.252197265625, 0.1905517578125, 0.145751953125, 0.1981201171875, 0.2158203125, 0.0972900390625, 0.13720703125, 0.31201171875, 0.046539306640625, 0.1927490234375, 0.1961669921875, 0.0760498046875, 0.1719970703125, 0.06097412109375, 0.192626953125, 0.03717041015625, 0.11376953125, 0...
embed
38065503_c0
38065503
julia
0
Title: Julia worker generates broken pipe exception when using println Problem title: Julia worker generates broken pipe exception when using println Tags: parallel-processing, io, julia Problem: Julia worker generates broken pipe exception when using println I've launched a number of Julia workers on a separate node u...
Julia worker generates broken pipe exception when using println Julia worker generates broken pipe exception when using println parallel-processing io julia println multi.jl:923 Julia remotecall_fetch gpu-8.local ERROR EPIPE task.jl:71 task.jl:371 stream_wait stream.jl:60 uv_write stream.jl:962 buffer_or_write stream.j...
[ -0.002197265625, 0.0166015625, -0.02685546875, -0.00482177734375, -0.0027008056640625, -0.0147705078125, -0.017578125, -0.028564453125, -0.00167083740234375, -0.005340576171875, -0.000736236572265625, -0.01300048828125, 0.020263671875, -0.006195068359375, 0.00634765625, 0.0006484985351...
[ 60592, 4488, 56, 139392, 148431, 137158, 131527, 17368, 28412, 141, 19, 95103, 63923, 22995, 14801, 11, 6024, 51349, 12231, 148814, 85763, 29362, 1766, 17376, 98908, 151206, 15185, 21907, 66211, 15770, 118552, 75973, 634, 4598, 334, 11648, 373,...
[ 0.281494140625, 0.1541748046875, 0.0850830078125, 0.13916015625, 0.1998291015625, 0.22705078125, 0.19384765625, 0.0594482421875, 0.1722412109375, 0.114013671875, 0.1263427734375, 0.159423828125, 0.0838623046875, 0.1500244140625, 0.1929931640625, 0.07696533203125, 0.1414794921875, 0...
embed
57155084_c0
57155084
julia
0
Title: Best way to convert Array{Array{Float64},1} to Array{Float64,2} and vise versa Problem title: Best way to convert Array{Array{Float64},1} to Array{Float64,2} and vise versa Tags: arrays, julia Problem: Best way to convert Array{Array{Float64},1} to Array{Float64,2} and vise versa Consider an array of arrays juli...
Best way to convert Array{Array{Float64},1} to Array{Float64,2} and vise versa Best way to convert Array{Array{Float64},1} to Array{Float64,2} and vise versa arrays julia Best Array Float64 Adjoint Best way to convert Array{Array{Float64},1} to Array{Float64,2} and vise versa Consider an array of arrays I want to conve...
[ 0.0155029296875, 0.0126953125, -0.0223388671875, 0.0048828125, 0.006500244140625, -0.0125732421875, -0.0169677734375, -0.0166015625, 0.003326416015625, 0.0029754638671875, -0.00238037109375, 0.006134033203125, -0.0027313232421875, -0.0081787109375, -0.01116943359375, -0.0208740234375, ...
[ 11345, 3917, 96760, 69253, 53, 7614, 7092, 365, 257, 13307, 418, 47, 304, 18920, 105274, 919, 10298, 4778, 14801, 11, 38699, 3145, 513, 4288, 111, 3444, 3934, 1884, 221, 29806, 1096, 4460, 11853, 10644, 2967, 3871, 4734, 181135, 4420, 296...
[ 0.10699462890625, 0.065673828125, 0.1778564453125, 0.189453125, 0.1278076171875, 0.090087890625, 0.191162109375, 0.1151123046875, 0.0814208984375, 0.241455078125, 0.084228515625, 0.096435546875, 0.1083984375, 0.107666015625, 0.1236572265625, 0.008819580078125, 0.151123046875, 0.154...
embed
64863201_c0
64863201
julia
0
Title: Checking for Diagonal Dominate Matrix In Julia Problem title: Checking for Diagonal Dominate Matrix In Julia Tags: julia Problem: Checking for Diagonal Dominate Matrix In Julia I'm working on a project in Julia where I create a 13x13 matrix with random numbers, then I check if that matrix is diagonally dominate....
Checking for Diagonal Dominate Matrix In Julia Checking for Diagonal Dominate Matrix In Julia julia Checking Diagonal Dominate Matrix Julia Checking for Diagonal Dominate Matrix In Julia I'm working on a project in Julia where I create a 13x13 matrix with random numbers, then I check if that matrix is diagonally domina...
[ -0.002716064453125, 0.006805419921875, 0.004364013671875, 0.006103515625, 0.0016632080078125, 0.01019287109375, 0.0128173828125, 0.003936767578125, -0.0018463134765625, 0.026611328125, 0.0142822265625, -0.00970458984375, -0.021240234375, -0.023193359375, -0.011474609375, 0.002655029296...
[ 38679, 100, 4512, 6126, 289, 149355, 67, 194234, 360, 60592, 14801, 11, 214, 20697, 13452, 23, 28282, 702, 425, 2681, 50944, 96759, 101935, 12765, 2174, 83, 207997, 538, 35462, 28875, 3525, 79786, 25561, 1528, 720, 5773, 17198, 50828, 28219...
[ 0.1622314453125, 0.08160400390625, 0.0655517578125, 0.13232421875, 0.07476806640625, 0.2183837890625, 0.124755859375, 0.21142578125, 0.069091796875, 0.285400390625, 0.152587890625, 0.078369140625, 0.0003662109375, 0.0684814453125, 0.033447265625, 0.010650634765625, 0.047760009765625,...
embed
43325096_c1
43325096
julia
1
5814215 real 0m7.576s user 0m11.744s sys 0m0.308s I've noticed that the serial version is slightly faster than the parallelized one for the timed part of the code. Also, that there is large difference in the total execution time. Questions Why is the parallelized version slower? (what I am doing wrong?) Which is the ri...
5814215 real 0m7.576s user 0m11.744s sys 0m0.308s I've noticed that the serial version is slightly faster than the parallelized one for the timed part of the code. Also, that there is large difference in the total execution time. Questions Why is the parallelized version slower? (what I am doing wrong?) Which is the ri...
[ -0.01220703125, -0.00171661376953125, -0.00927734375, -0.011474609375, 0.01361083984375, -0.0223388671875, -0.015869140625, -0.0003757476806640625, 0.000865936279296875, -0.039306640625, 0.007598876953125, -0.004058837890625, -0.006378173828125, -0.00830078125, -0.0145263671875, -0.018...
[ 9318, 152837, 1837, 2773, 757, 39, 136563, 11835, 38937, 1662, 195953, 954, 170179, 8318, 156672, 35686, 11389, 83, 161549, 4271, 56, 95103, 29367, 1733, 2831, 18151, 21334, 60212, 3622, 71924, 1830, 44084, 72803, 20594, 44691, 7108, 3917, 20...
[ 0.09564208984375, 0.0811767578125, 0.0999755859375, 0.1890869140625, 0.0197296142578125, 0.0234222412109375, 0.0797119140625, 0.07861328125, 0.1312255859375, 0.047393798828125, 0.053680419921875, 0.1082763671875, 0.0308380126953125, 0.1412353515625, 0.08978271484375, 0.234130859375, ...
embed
55786022_c0
55786022
julia
0
Title: Substitute of &quot;occursin&quot; function to find a string in an Array{String,1} Problem title: Substitute of &quot;occursin&quot; function to find a string in an Array{String,1} Tags: julia Problem: Substitute of "occursin" function to find a string in an Array{String,1} What I am trying to do is i = occursin...
Substitute of &quot;occursin&quot; function to find a string in an Array{String,1} Substitute of &quot;occursin&quot; function to find a string in an Array{String,1} julia LoadError MethodError Substitute Array ENTITIES ERROR Closest Union AbstractChar AbstractString search.jl:452 Substitute of "occursin" function to f...
[ -0.015380859375, 0.0196533203125, 0.005401611328125, 0.04052734375, -0.002838134765625, 0.0028076171875, 0.0208740234375, 0.005828857421875, -0.007537841796875, -0.0155029296875, -0.0076904296875, 0.00347900390625, -0.01202392578125, -0.01446533203125, -0.0003299713134765625, 0.0001173...
[ 8273, 13480, 67, 6652, 48650, 73, 32354, 47, 7413, 79315, 23, 142, 69253, 53, 71713, 214, 4, 418, 14801, 11, 2091, 712, 18468, 31611, 74644, 109893, 179904, 151206, 153335, 271, 32528, 233973, 84068, 33938, 51349, 170265, 111, 10, 31577, ...
[ 0.147216796875, 0.2052001953125, 0.08447265625, 0.150634765625, 0.1932373046875, 0.2169189453125, 0.2239990234375, 0.03302001953125, 0.177490234375, 0.27001953125, 0.1265869140625, 0.04681396484375, 0.193603515625, 0.030029296875, 0.184814453125, 0.0859375, 0.0494384765625, 0.10021...
embed
56860904_c0
56860904
julia
0
Title: How to overload convert Problem title: How to overload convert Tags: julia, overloading, type-conversion Problem: How to overload convert I have two types A and B . I have written B(a::A) and convert(::Type{B}, a) , but this does not immediately make Array{B}(as::Array{A}) work. Must I write this method as well?...
How to overload convert How to overload convert julia overloading type-conversion LoadError MethodError at How a::A Type Array as::Array These ERROR Cannot Closest Matched::T essentials.jl:154 test.jl:3 Stacktrace Int64 array.jl:767 abstractarray.jl:753 abstractarray.jl:745 array.jl:482 boot.jl:427 none:0 boot.jl:326 i...
[ 0.012939453125, 0.0081787109375, -0.00238037109375, 0.01806640625, -0.00543212890625, 0.005279541015625, -0.0196533203125, -0.0267333984375, 0.00994873046875, 0.017333984375, -0.01446533203125, -0.0164794921875, 0.00150299072265625, -0.009033203125, 0.00750732421875, -0.02685546875, ...
[ 11249, 47, 645, 63033, 96760, 14801, 11, 214, 10644, 2271, 46354, 2091, 712, 18468, 31611, 74644, 99, 10, 284, 60457, 69253, 53, 237, 7614, 7092, 151206, 24638, 4171, 10869, 153335, 271, 67407, 618, 85590, 7, 51349, 132363, 3034, 363, 651...
[ 0.09326171875, 0.08331298828125, 0.173095703125, 0.27978515625, 0.2379150390625, 0.210693359375, 0.1710205078125, 0.02630615234375, 0.1629638671875, 0.0821533203125, 0.1807861328125, 0.10052490234375, 0.06658935546875, 0.1329345703125, 0.103515625, 0.1063232421875, 0.044342041015625,...
embed
78495435_c1
78495435
julia
1
? The organization doesn't work well for what I am doing, and I'd prefer another solution. Complete Code # Module A module Definition export State abstract type State end end # Module B module Subtype include("Definition.jl") using .Definition export transiting struct transiting <: State from::Vector{<:Real} to::Vector...
? The organization doesn't work well for what I am doing, and I'd prefer another solution. Complete Code # Module A module Definition export State abstract type State end end # Module B module Subtype include("Definition.jl") using .Definition export transiting struct transiting <: State from::Vector{<:Real} to::Vector...
[ 0.006683349609375, 0.002960205078125, 0.0036773681640625, 0.01239013671875, 0.0167236328125, -0.01318359375, -0.0145263671875, -0.01116943359375, -0.006256103515625, -0.004913330078125, -0.00555419921875, -0.004974365234375, -0.00701904296875, 0.0224609375, -0.01385498046875, -0.015014...
[ 705, 581, 53702, 22027, 18, 4488, 5299, 100, 2367, 444, 20594, 71, 12601, 15700, 29806, 5, 168318, 28864, 468, 63014, 13, 62, 88996, 155455, 31255, 22836, 164789, 10644, 3564, 335, 8273, 50986, 26698, 187423, 943, 1363, 51349, 17368, 62621,...
[ 0.0386962890625, 0.01214599609375, 0.25732421875, 0.08343505859375, 0.10198974609375, 0.121337890625, 0.12060546875, 0.0216217041015625, 0.002655029296875, 0.02215576171875, 0.0703125, 0.0156402587890625, 0.131591796875, 0.107177734375, 0.17431640625, 0.035919189453125, 0.26611328125...
embed
78304155_c0
78304155
julia
0
Title: After using the example code on the TidierPlots.jl github website I got an error Problem title: After using the example code on the TidierPlots.jl github website I got an error Tags: julia Problem: After using the example code on the TidierPlots.jl github website I got an error The code I used Github website: ht...
After using the example code on the TidierPlots.jl github website I got an error After using the example code on the TidierPlots.jl github website I got an error julia the TidierPlots DataFrames PalmerPenguins After TidierPlots.jl DataFrame PalmerPenguins.load geom_bar Species After using the example code on the Tidier...
[ 0.027099609375, 0.0185546875, -0.0093994140625, -0.0028228759765625, 0.00537109375, 0.00933837890625, 0.039794921875, -0.0191650390625, -0.0024871826171875, -0.005889892578125, 0.006622314453125, -0.03173828125, 0.003875732421875, -0.01226806640625, 0.014892578125, 0.01312255859375, ...
[ 24372, 17368, 70, 27781, 18151, 2371, 63052, 12631, 7, 51349, 62270, 32102, 4165, 18499, 683, 14801, 11, 11809, 108386, 39287, 56, 76114, 66544, 63033, 700, 306, 1299, 24990, 3387, 11814, 527, 217, 118, 1478, 15769, 846, 16734, 143, 6954, ...
[ 0.0494384765625, 0.0491943359375, 0.0143280029296875, 0.1851806640625, 0.1646728515625, 0.1588134765625, 0.268310546875, 0.1904296875, 0.06329345703125, 0.1837158203125, 0.0831298828125, 0.1778564453125, 0.0828857421875, 0.2027587890625, 0.0316162109375, 0.152099609375, 0.13671875, ...
embed
67928344_c0
67928344
julia
0
Title: Julia: Is there a way to convert a number into a pointer? Problem title: Julia: Is there a way to convert a number into a pointer? Tags: julia, pointers Problem: Julia: Is there a way to convert a number into a pointer? As the title says, is there a way to convert a number (say a float or interger) that stores a...
Julia: Is there a way to convert a number into a pointer? Julia: Is there a way to convert a number into a pointer? julia pointers Julia Has Ptr Int64 UInt64 Julia: Is there a way to convert a number into a pointer? As the title says, is there a way to convert a number (say a float or interger) that stores an address i...
[ 0.003082275390625, -0.004913330078125, 0.01104736328125, 0.01202392578125, -0.005767822265625, 0.0106201171875, -0.00872802734375, -0.031982421875, 0.00011396408081054688, -0.0267333984375, -0.0257568359375, -0.015869140625, -0.014892578125, 0.0130615234375, 0.01171875, -0.010803222656...
[ 60592, 12, 2071, 2685, 10, 3917, 47, 96760, 14012, 3934, 6275, 56, 14801, 11, 1314, 20625, 4448, 18, 13307, 660, 44759, 83, 20347, 21917, 707, 1940, 1505, 4343, 7, 29823, 23, 1632, 831, 892, 20594, 11249, 39531, 184, 98441, 2046, 4420, ...
[ 0.281005859375, 0.043609619140625, 0.0246734619140625, 0.06768798828125, 0.1025390625, 0.126220703125, 0.07049560546875, 0.1812744140625, 0.20361328125, 0.142822265625, 0.25830078125, 0.2193603515625, 0.176513671875, 0.1240234375, 0.13720703125, 0.0325927734375, 0.0770263671875, 0....
embed
49965362_c0
49965362
julia
0
Title: Unexpected type instability in Julia function Problem title: Unexpected type instability in Julia function Tags: julia, type-inference, types Problem: Unexpected type instability in Julia function I think I am getting a type instability in my code, but I'm not sure why. Consider the following code. module test m...
Unexpected type instability in Julia function Unexpected type instability in Julia function julia type-inference types Unexpected Julia Data arr::Array Int64 data.arr code_warntype Variables data::Any Unexpected type instability in Julia function I think I am getting a type instability in my code, but I'm not sure why....
[ 0.035888671875, 0.01507568359375, -0.00506591796875, 0.0208740234375, 0.001495361328125, 0.002105712890625, 0.021240234375, 0.00469970703125, -0.00579833984375, -0.01287841796875, -0.006256103515625, -0.01202392578125, -0.0164794921875, 0.0032196044921875, 0.01708984375, -0.00008344650...
[ 992, 83613, 13, 89829, 10644, 23, 271, 41159, 60592, 32354, 14801, 11, 69988, 52895, 11809, 7092, 13307, 2053, 18151, 4205, 19, 50986, 111477, 13566, 5351, 20949, 759, 9077, 15400, 137399, 25632, 140992, 1374, 40899, 5201, 132, 4034, 678, 1...
[ 0.0276947021484375, 0.063232421875, 0.05474853515625, 0.036712646484375, 0.1856689453125, 0.08074951171875, 0.1844482421875, 0.145751953125, 0.278076171875, 0.1253662109375, 0.16455078125, 0.1220703125, 0.0972900390625, 0.13232421875, 0.05633544921875, 0.0634765625, 0.10137939453125,...
embed
78856732_c1
78856732
julia
1
H, θ_flat) θ_matrix = reshape(θ_flat, k, m) _, prob = probability(θ_matrix) H[:, :] = zeros(m*k, m*k) for i in 1:N A = Diagonal(prob[i, :]) - prob[i, :] * prob[i, :]' B = xvars[i, :] * xvars[i, :]' H[:, :] += kron(A, B) end end Initialguess = zeros(Float64, k*m) results = optimize(likelihood, g!, h!, Initialguess, Newt...
H, θ_flat) θ_matrix = reshape(θ_flat, k, m) _, prob = probability(θ_matrix) H[:, :] = zeros(m*k, m*k) for i in 1:N A = Diagonal(prob[i, :]) - prob[i, :] * prob[i, :]' B = xvars[i, :] * xvars[i, :]' H[:, :] += kron(A, B) end end Initialguess = zeros(Float64, k*m) results = optimize(likelihood, g!, h!, Initialguess, Newt...
[ -0.00457763671875, 0.004364013671875, 0.0020751953125, -0.00102996826171875, -0.004730224609375, -0.0054931640625, 0.018798828125, -0.00933837890625, -0.006927490234375, -0.0322265625, -0.006103515625, 0.00139617919921875, 0.0035400390625, -0.00860595703125, -0.01177978515625, -0.01043...
[ 572, 30691, 150632, 454, 192, 87427, 2203, 456, 2420, 1081, 3431, 472, 347, 43011, 37242, 2481, 45234, 7, 1639, 92, 100, 17, 23, 13806, 839, 62, 4512, 6126, 289, 79122, 335, 1961, 997, 46941, 284, 3564, 1890, 21325, 365, 13307, 39, 50...
[ 0.1732177734375, 0.1990966796875, 0.2413330078125, 0.004913330078125, 0.08740234375, 0.1881103515625, 0.011505126953125, 0.08868408203125, 0.1365966796875, 0.075927734375, 0.140625, 0.0709228515625, 0.0877685546875, 0.2301025390625, 0.205078125, 0.10406494140625, 0.218017578125, 0....
embed
38610324_c0
38610324
julia
0
Title: Select part of multidimensional Matrix by boolean array Problem title: Select part of multidimensional Matrix by boolean array Tags: multidimensional-array, julia, matrix Problem: Select part of multidimensional Matrix by boolean array I want to select a part of an multidimensional Array by an other matrix with ...
Select part of multidimensional Matrix by boolean array Select part of multidimensional Matrix by boolean array multidimensional-array julia matrix Select Matrix Select part of multidimensional Matrix by boolean array I want to select a part of an multidimensional Array by an other matrix with boolean entries. So if th...
[ -0.0096435546875, 0.007354736328125, 0.007049560546875, 0.0262451171875, -0.006378173828125, 0.005706787109375, -0.016357421875, 0.0181884765625, -0.0023193359375, 0.041748046875, -0.0126953125, -0.00390625, -0.031005859375, 0.0034332275390625, -0.007080078125, -0.000568389892578125, ...
[ 51620, 2831, 6024, 157955, 194234, 390, 337, 31, 34677, 10298, 53, 111, 19305, 14801, 11, 50944, 425, 3444, 36849, 69253, 3789, 678, 112820, 2174, 38750, 9774, 13, 17, 765, 14012, 23, 4263, 442, 83, 8710, 184, 5608, 186, 757, 89536, 126...
[ 0.1552734375, 0.131591796875, 0.10552978515625, 0.1826171875, 0.2103271484375, 0.05584716796875, 0.065673828125, 0.1317138671875, 0.2203369140625, 0.1156005859375, 0.1068115234375, 0.1212158203125, 0.104248046875, 0.1654052734375, 0.13330078125, 0.17626953125, 0.1087646484375, 0.11...
embed
68198011_c0
68198011
julia
0
Title: Matrix Multiplication with DataFrames (Julia) Problem title: Matrix Multiplication with DataFrames (Julia) Tags: linear-algebra, dataframe, julia Problem: Matrix Multiplication with DataFrames (Julia) In Pandas there's a pretty neat operation for DataFrame matrix multiplication. df = pd.DataFrame({"x":[1,2], "y"...
Matrix Multiplication with DataFrames (Julia) Matrix Multiplication with DataFrames (Julia) linear-algebra dataframe julia Matrix Multiplication DataFrames Julia pd.DataFrame df2 pd.DataFrmae df3 df2.T Matrix Multiplication with DataFrames (Julia) In Pandas there's a pretty neat operation for DataFrame matrix multiplic...
[ 0.025634765625, 0.021728515625, 0.00101470947265625, 0.0028228759765625, 0.006317138671875, -0.01318359375, 0.0089111328125, 0.00171661376953125, -0.00537109375, -0.01953125, -0.015380859375, -0.0177001953125, -0.009521484375, -0.027587890625, -0.01336669921875, -0.005706787109375, 0...
[ 194234, 19335, 182867, 678, 11809, 108386, 3716, 105214, 399, 192617, 429, 2844, 2053, 160328, 14801, 11, 60592, 71, 137989, 104, 420, 304, 66857, 192, 363, 5442, 618, 360, 89308, 28875, 22021, 41018, 282, 50944, 425, 127664, 1363, 18622, 3...
[ 0.2166748046875, 0.15087890625, 0.1256103515625, 0.1038818359375, 0.10260009765625, 0.217041015625, 0.1904296875, 0.1971435546875, 0.20166015625, 0.09954833984375, 0.051300048828125, 0.0169219970703125, 0.093505859375, 0.1837158203125, 0.1942138671875, 0.1502685546875, 0.294189453125...
embed
64579524_c0
64579524
julia
0
Title: Unpack Binary Data with specific format in Julia Problem title: Unpack Binary Data with specific format in Julia Tags: binary-data, binaryfiles, julia Problem: Unpack Binary Data with specific format in Julia I am trying to convert a Binary file parser to Julia from Python. I am struggling to figure out how to u...
Unpack Binary Data with specific format in Julia Unpack Binary Data with specific format in Julia binary-data binaryfiles julia Unpack Binary Data Julia struct.unpack x00 x17 x1e xb8Q x85 x1f Out Unpack Binary Data with specific format in Julia I am trying to convert a Binary file parser to Julia from Python. I am stru...
[ 0.0264892578125, 0.0133056640625, -0.00023937225341796875, 0.029052734375, 0.019287109375, 0.0262451171875, 0.01531982421875, -0.00469970703125, 0.00144195556640625, 0.02685546875, -0.0023956298828125, -0.03955078125, -0.031982421875, -0.01397705078125, 0.0047607421875, 0.01123046875, ...
[ 992, 29102, 54092, 1294, 11809, 678, 29458, 9384, 23, 60592, 2394, 6635, 10135, 29822, 14801, 11, 36716, 5, 309, 1022, 7049, 2489, 2737, 12951, 420, 13538, 31577, 96760, 11435, 366, 2189, 47, 1295, 145581, 237875, 26366, 3642, 51, 75973, ...
[ 0.138916015625, 0.283447265625, 0.23388671875, 0.140869140625, 0.151123046875, 0.0772705078125, 0.19775390625, 0.192626953125, 0.0816650390625, 0.325439453125, 0.1925048828125, 0.1529541015625, 0.1051025390625, 0.1278076171875, 0.21826171875, 0.1793212890625, 0.1531982421875, 0.002...
embed
60157149_c0
60157149
julia
0
Title: How can I read text file with converting in Julia? Problem title: How can I read text file with converting in Julia? Tags: ijulia-notebook, julia Problem: How can I read text file with converting in Julia? I try to read a text file in julia but I cannot give any type while reading it gives an error; data = readd...
How can I read text file with converting in Julia? How can I read text file with converting in Julia? ijulia-notebook julia How Julia data.txt Float64 How can I read text file with converting in Julia? I try to read a text file in julia but I cannot give any type while reading it gives an error; If I dont use Float64, ...
[ 0.017822265625, -0.035888671875, 0.00775146484375, 0.02734375, 0.0223388671875, -0.006927490234375, 0.02001953125, 0.01324462890625, -0.0135498046875, 0.01373291015625, -0.00823974609375, -0.03271484375, -0.030517578125, -0.01324462890625, 0.00921630859375, -0.00909423828125, 0.00897...
[ 11249, 831, 87, 12301, 7986, 11435, 678, 96760, 214, 23, 60592, 17, 461, 7884, 48345, 14137, 14801, 11, 2053, 124326, 38699, 257, 13307, 9790, 1284, 53418, 8337, 2499, 10644, 12960, 16454, 18499, 13319, 4527, 83, 69253, 53, 299, 304, 1675...
[ 0.06884765625, 0.0699462890625, 0.022979736328125, 0.1796875, 0.158935546875, 0.1588134765625, 0.1175537109375, 0.177978515625, 0.0989990234375, 0.10491943359375, 0.303466796875, 0.0401611328125, 0.142578125, 0.19091796875, 0.1134033203125, 0.1268310546875, 0.2109375, 0.19604492187...
embed
30356728_c0
30356728
julia
0
Title: Speeding up `using Distributions` in Julia Problem title: Speeding up `using Distributions` in Julia Tags: julia Problem: Speeding up `using Distributions` in Julia On my machine, with the development version of Julia, the command import Distributions takes 6.6 seconds. Is there a way to make this faster? Is sta...
Speeding up `using Distributions` in Julia Speeding up `using Distributions` in Julia julia Distributions Speeding Julia Documentation docs.julialang.org Type Version UTC Commit x86_64-unknown-linux-gnu Speeding up `using Distributions` in Julia On my machine, with the development version of Julia, the command import D...
[ -0.000732421875, 0.000888824462890625, -0.00020599365234375, -0.017333984375, 0.00537109375, -0.00927734375, -0.00531005859375, -0.017333984375, -0.00787353515625, -0.055419921875, -0.0123291015625, -0.00933837890625, -0.01458740234375, -0.0031890869140625, 0.016845703125, -0.000572204...
[ 63349, 214, 1257, 223, 75571, 5256, 23, 60592, 14801, 11, 43101, 461, 7884, 3066, 60457, 40647, 99577, 3288, 4007, 15276, 13307, 309, 69723, 2397, 6077, 104155, 759, 36279, 34754, 11389, 75101, 24927, 51776, 156960, 94131, 3917, 3249, 4271, ...
[ 0.1923828125, 0.0645751953125, 0.1177978515625, 0.115234375, 0.239013671875, 0.164306640625, 0.06640625, 0.303955078125, 0.1893310546875, 0.1173095703125, 0.082763671875, 0.13720703125, 0.1480712890625, 0.0703125, 0.04608154296875, 0.044342041015625, 0.1297607421875, 0.063598632812...
embed
43233976_c0
43233976
julia
0
Title: Translate Recursive Defined Structs to Julia for C Interface Problem title: Translate Recursive Defined Structs to Julia for C Interface Tags: c, data-structures, julia, struct Problem: Translate Recursive Defined Structs to Julia for C Interface I want to write a Julia interface to a C library. For me it is nec...
Translate Recursive Defined Structs to Julia for C Interface Translate Recursive Defined Structs to Julia for C Interface c data-structures julia struct Translate Recursive Defined Structs Julia Interface my_struct A_st Translate Recursive Defined Structs to Julia for C Interface I want to write a Julia interface to a ...
[ 0.01513671875, 0.01470947265625, -0.022705078125, 0.0230712890625, 0.0206298828125, -0.00022792816162109375, 0.01513671875, -0.006195068359375, 0.01318359375, -0.01409912109375, -0.026123046875, -0.0206298828125, -0.0177001953125, 0.01141357421875, 0.032470703125, -0.00927734375, -0....
[ 11062, 19309, 853, 48650, 5844, 262, 5983, 297, 63667, 15390, 47, 60592, 100, 313, 220237, 501, 2053, 137656, 14801, 11, 36716, 759, 271, 3444, 33022, 101758, 35773, 63559, 3900, 10644, 11782, 32354, 85763, 2967, 115339, 61924, 52895, 32102, ...
[ 0.12353515625, 0.15087890625, 0.060882568359375, 0.1962890625, 0.0831298828125, 0.0936279296875, 0.1849365234375, 0.00445556640625, 0.1824951171875, 0.117919921875, 0.110595703125, 0.288818359375, 0.06756591796875, 0.1412353515625, 0.198974609375, 0.09490966796875, 0.0406494140625, ...
embed