Skip to content

Instantly share code, notes, and snippets.

View KristofferC's full-sized avatar
🇸🇪

Kristoffer Carlsson KristofferC

🇸🇪
View GitHub Profile
precompile(Tuple{typeof(Base.setindex!), Base.RefValue{Union{Nothing, String}}, String})
precompile(Tuple{typeof(Requires.listenpkg), Any, Base.PkgId})
precompile(Tuple{typeof(Requires.loaded), Base.PkgId})
precompile(Tuple{typeof(Requires.callbacks), Base.PkgId})
precompile(Tuple{REPL.LineEdit.var"##refresh_multi_line#14", Base.Pairs{Symbol, V, Tuple{Vararg{Symbol, N}}, NamedTuple{names, T}} where T<:Tuple{Vararg{Any, N}} where names where N where V, typeof(REPL.LineEdit.refresh_multi_line), REPL.Terminals.TerminalBuffer, REPL.LineEdit.ModeState})
precompile(Tuple{typeof(Base.rand), Int64, Int64})
precompile(Tuple{typeof(RecipesBase.plot), Any})
precompile(Tuple{typeof(Base.haskey), Base.Dict{Symbol, Any}, Symbol})
precompile(Tuple{typeof(Base.get), Base.Dict{Symbol, Any}, Symbol, Symbol})
precompile(Tuple{typeof(Base.copy), Base.Dict{Symbol, Any}})
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $2320, %rsp # imm = 0x910
movq (%rsi), %rdx
vmovupd 80(%rdx), %ymm12
vmovupd 112(%rdx), %ymm9
vmovupd 224(%rdx), %ymm3
Regarding this PR that kind of came out of the blue: https://github.com/JuliaLang/Pkg.jl/pull/1835
I've been thinking more and more about it, and I really like the idea of having preferences, by default, get stored to depot-wide preference files, but for there to still be an option to set preferences within the top-level Project. What this would look like is if you were to call @save_preferences(prefs), it would overwrite whatever is within ~/.julia/prefs/$uuid.toml, However, if you write @save_preferences(prefs, target=:project), then it would save the preferences into the Project.toml file:
name = "MyPackage"
uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
version = "1.0.0"
[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
[preferences.1a6f20f1-ba5f-a4e8-2e79-39224701f35d]
foo = "true"
# function meshformatparser(str)
#
# end
# const SECTION_PARSER = Dict{String,Function}(
# "MeshFormat" => meshformatparser,
# )
module Gmsh
using Tensors, JuAFEM
function parsenodes(str; version=v"4.1")
◼ libspqr.dll
◼ C:\Users\Kristoffer Carlsson\AppData\Local\Julia-1.3.1\bin\libgcc_s_seh-1.dll
◼ C:\Users\Kristoffer Carlsson\AppData\Local\Julia-1.3.1\bin\libwinpthread-1.dll
◼ C:\Windows\System32\msvcrt.dll
❓ C:\Windows\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
◼ C:\Windows\System32\KERNELBASE.dll
❓ C:\Windows\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
◼ C:\Windows\System32\KERNEL32.DLL
❓ C:\Windows\SYSTEM32\ntdll.dll (COULD NOT READ METADATA)
◼ C:\Windows\System32\KERNELBASE.dll
julia> Profile.print(noisefloor=2, C=true, recur=:flat)
Overhead ╎ [+additional indent] Count File:Line; Function
=========================================================
 1╎1   @Base/boot.jl:224; Expr(::Any, ::Vararg{Any,N} where N)
  ╎311 /Users/kristoffer/julia/src/task.c:687; start_task
  ╎ 311 /Users/kristoffer/julia/src/./julia.h:1657; jl_apply
  ╎  311 @Base/task.jl:349; (::REPL.var"#26#27"{REPL.REPLBackend})()
  ╎   311 @REPL/src/REPL.jl:118; macro expansion
  ╎    311 @REPL/src/REPL.jl:86; eval_user_input(::Any, ::REPL.REPLBackend)
AMDGPUnative => ["ROCArrays"]
AbstractAlgebra => ["Ccluster", "IntegerTriangles"]
AbstractMCMC => ["Turing"]
AbstractTrees => ["PDFIO", "PhysOcean"]
ApproxFun => ["EffectiveWaves", "PDSampler"]
ApproxFunBase => ["ApproxFunRational", "Poltergeist", "RiemannHilbert"]
ApproxFunFourier => ["ApproxFunRational"]
ApproxFunOrthogonalPolynomials => ["ApproxFunRational"]
ArgCheck => ["ANOVA", "AltDistributions", "BAT", "ContinuousTransformations", "DarkSky", "FunctionalTables", "GoogleMaps", "HMMBase", "MultistartOptimization", "PolynomialBases", "SimpleIntegrals", "SortedVectors", "SpectralKit", "StataDTAFiles", "TransformVariables"]
import Pkg
import Pkg.TOML
import Pkg.Types: VersionRange, ≲
using UUIDs
using GitHub
using ProgressMeter
# Copied from Registrator.jl
#=====================#
import Pkg
import Pkg.TOML
import Pkg.Types: VersionRange, ≲
using UUIDs
using GitHub
using ProgressMeter
#const auth = GitHub.authenticate(ENV["GITHUB_KEY"])
ERROR: LoadError: Yeppp not properly installed. Please run Pkg.build("Yeppp")
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] top-level scope at /root/.julia/packages/Yeppp/LvmJH/src/Yeppp.jl:11
[3] include at ./boot.jl:317 [inlined]
[4] include_relative(::Module, ::String) at ./loading.jl:1044
[5] include(::Module, ::String) at ./sysimg.jl:29
[6] top-level scope at none:2
[7] eval at ./boot.jl:319 [inlined]
[8] eval(::Expr) at ./client.jl:393