Skip to content
#

The Julia Language

julia logo

Julia is a high-level dynamic programming language designed to address the needs of high-performance numerical analysis and computational science. It provides a sophisticated compiler, distributed parallel execution, numerical accuracy, and an extensive mathematical function library.

Here are 3,458 public repositories matching this topic...

julia
stevengj
stevengj commented Aug 30, 2021

This doesn't seem right:

julia> println.(stdout, [1,2,3])
ERROR: MethodError: no method matching length(::Base.TTY)
Closest candidates are:
  length(::Union{Base.KeySet, Base.ValueIterator}) at abstractdict.jl:58
  length(::Union{LinearAlgebra.Adjoint{T, S}, LinearAlgebra.Transpose{T, S}} where {T, S}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Li
dash
Pluto.jl
clarkevans
clarkevans commented Aug 26, 2021

Currently, publish_to_js returns a string value. However, HypertextLiteral (and other display systems) don't know that the object is actually properly formatted JavaScript. Consider returning a JavaScript value instead, much like HTML. This approach would then let you test if an object is showable as text/javascript if one implements `Base.show(io::IO, ::MIME"text/javascript", js::Jav

JuMP.jl
odow
odow commented Aug 11, 2021

The same user as #2662 asked for ways to solve a collection of problems over a set of parameters. We don't have a good way of doing this in JuMP (we have @NLparameter, but not @parameter), but it could be scripted using the modification API (or even just rebuilding the problem).

We should write a tutorial with the different approaches. Here's their suggestion:

![image](https://user-image

Makie.jl
knuesel
knuesel commented Jul 22, 2021

The following code gives a segfault with Makie 0.15 and Julia 1.6.1 (also reproduced with 1.7-beta2):

using Makie

xs = range(150, 160, length=100)
ys = range(7, 9, length=100)
points = [(x, y, 0.0) for x in xs for y in ys]
x, y, z = map(i -> getindex.(points, i), 1:3)

flags = (153 .< x .< 153.5) .& (7 .< y .< 7.3)
surface(y[flags], x[flags], z[flags]);

Starting Julia

Created by Jeff Bezanson, Stefan Karpinski, Viral B. Shah, Alan Edelman

Released February 14, 2012

Organization
JuliaLang
Website
julialang.org
Wikipedia
Wikipedia

Related Topics

language