Markus Kuhn
Markus Kuhn
Does Julia make any promises about the order in which function arguments in a function-call expression (or tuple arguments) are evaluated? [C does not.](https://en.cppreference.com/w/c/language/eval_order)
Julia Base has already the dictionary type [IOContext](https://docs.julialang.org/en/v1/base/io-network/#Base.IOContext) to configure how functions like [show](https://docs.julialang.org/en/v1/base/io-network/#Text-I/O) display values. And you can already use [`Base.active_repl.options.iocontext`](https://docs.julialang.org/en/v1/stdlib/REPL/#The-Julian-mode) to configure the IOContext that the REPL uses...
See also previous discussion: #6493
``` function SamplerRangeNDL(r::AbstractUnitRange{T}) where {T} ``` does receive an `AbstractUnitRange`, and complains if it's empty. The conversion from Array to Range happens [here](https://github.com/JuliaLang/julia/blob/bcda258e070dcae432b995f4382e1f2a9c4b505a/stdlib/Random/src/generation.jl#L418) at ``` Sampler(::Type{RNG}, r::AbstractArray, n::Repetition) where {RNG
How about the [variadic tuple type](https://docs.julialang.org/en/v1/devdocs/types/#Tuple-types) ``` invoke(f, argtypes::Tuple{Vararg{Any}}, args...; kwargs...) ``` ?
**SOLUTION:** The command ``` julia> r"[\x{00A0}-\x{10FFFD}]" ``` is short for ``` julia> using Base.PCRE julia> Regex(raw"[\x{00A0}-\x{10FFFD}]", PCRE.UTF | PCRE.MATCH_INVALID_UTF | PCRE.ALT_BSUX | PCRE.UCP, PCRE.NO_UTF_CHECK) ERROR: PCRE compilation error: range out...
Digging through the commit history of where the choice of JavaScript-compatible `\x\u\U` in Julia regular expressions via `PCRE.ALT_BSUX` came from: * afa14048a5551fec9ee79f9472a16fb10e260b56 in Jan 2015 replaced PCRE compile option `PCRE.JAVASCRIPT_COMPAT`...
Related news: there is a sampling allocation profiler coming in Julia 1.8: https://live.juliacon.org/talk/YHYSEM
Is every command-line tool that downloads a file via any kind of protocol, or unpacks any kind of downloaded file, now supposed to add the Mark-of-the-Web (MOTW) metadata to the...
Could also be solved by implementing something like the [Biba Integrity Model](https://en.wikipedia.org/wiki/Biba_Model) in the kernel: as soon as a process has received any data via the network, any file that...