Skip to content

Instantly share code, notes, and snippets.

Avatar
🇸🇪

Kristoffer Carlsson KristofferC

🇸🇪
View GitHub Profile
View master.asm
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
View conversation
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"
View gmsh_reader.jl
# function meshformatparser(str)
#
# end
# const SECTION_PARSER = Dict{String,Function}(
# "MeshFormat" => meshformatparser,
# )
module Gmsh
using Tensors, JuAFEM
function parsenodes(str; version=v"4.1")
View info
◼ 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
View fast.md
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)
View packages_held_back.md
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"]
View fixup_registry.jl
import Pkg
import Pkg.TOML
import Pkg.Types: VersionRange, ≲
using UUIDs
using GitHub
using ProgressMeter
# Copied from Registrator.jl
#=====================#
View cleanup.jl
import Pkg
import Pkg.TOML
import Pkg.Types: VersionRange, ≲
using UUIDs
using GitHub
using ProgressMeter
#const auth = GitHub.authenticate(ENV["GITHUB_KEY"])
View ArrayAllez.log
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
View Alpine.log
ERROR: LoadError: LoadError: Some tests did not pass: 0 passed, 0 failed, 1 errored, 0 broken.
in expression starting at /root/.julia/packages/Alpine/IFj1c/test/solver.jl:18
in expression starting at /root/.julia/packages/Alpine/IFj1c/test/runtests.jl:22
***********************************************************************
This package contains Alpine.jl, a global solver for nonconvex MINLPs
If you find it useful, please cite the following paper:
Journal of Global Optimization, 2019, https://goo.gl/89zrDf
***********************************************************************
solverstring = "Alpine.UnsetSolver()"