text:
🛑 JonnyIsland Website is down

In 090dcee, JonnyIsland Website (https://jonnyisland.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: JonnyIsland Website is back up in 4b5da42 after 54 minutes.

repo: JonnyIslandNetwork/status-page


text:
Add Plug bindings to README

Hey there, thanks for the plugin!
I've been using the following mappings with vim-commentary prior to using this plugin
vim.keymap.set(
  "n",
  "g/",
  '<Plug>CommentaryLine',
  { silent = true, desc = "Comment line" }
)
vim.keymap.set(
  "v",
  "g/",
  "<Plug>Commentary",
  { silent = true, desc = "Comment selection" }
)

At first, I tried using the commentary_integration option but because mappings apply to all modes (n, v, etc), it wasn't an option for me.
After looking through the code, I found it's a lot easier to just replace <Plug>Commentary[...] with <Plug>ContextCommentary[...] in my bindings.
vim.keymap.set(
  "n",
  "g/",
  '<Plug>ContextCommentaryLine',
  { silent = true, desc = "Comment line" }
)
vim.keymap.set(
  "v",
  "g/",
  "<Plug>ContextCommentary",
  { silent = true, desc = "Comment selection" }
)

I thought this might be useful for others to know - hence the PR 😄

Thanks for the contribution! It is indeed a useful addition to the integration docs!

source: gharchive/pull-request

authors: JoosepAlviste andyrichardson

license: MIT

license_type: permissive

license_source: github-api


text:
Deserialization error: Wrong directory fields

2017-01-15 02:41:20,537:INFO:requests.packages.urllib3.connectionpool:756: Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/simp_le.py", line 1401, in main
    return main_with_exceptions(cli_args)
  File "build/bdist.linux-x86_64/egg/simp_le.py", line 1386, in main_with_exceptions
    persist_new_data(args, existing_data)
  File "build/bdist.linux-x86_64/egg/simp_le.py", line 1282, in persist_new_data
    client = registered_client(args, existing_data.account_key)
  File "build/bdist.linux-x86_64/egg/simp_le.py", line 1224, in registered_client
    client = acme_client.Client(directory=args.server, key=key, net=net)
  File "build/bdist.linux-x86_64/egg/acme/client.py", line 63, in __init__
    self.net.get(directory).json())
  File "build/bdist.linux-x86_64/egg/acme/messages.py", line 169, in from_json
    raise jose.DeserializationError(str(error))
DeserializationError: Deserialization error: Wrong directory fields

Unhandled error has happened, traceback is above

Looks like this was an error from an old version. I've updated my containers and everything seems fine now.

source: gharchive/issue


text:
为什么该项目不支持API19的？

为什么不能设置minSdkVersion = 19？

Thanks your issue, 可以设置支持Andorid 4.4的版本，但是5.0以下是看不到MD的效果哦~

我设置后编译会报错：Can't process attribute android:fillColor="@android:color/white": references to other resources are not supported by build-time PNG generation.

项目中使用了svg(VectorDrawable)，Android4.4需要使用支持库，在app的build.gradle中的defaultConfig里面加上vectorDrawables.useSupportLibrary = true即可

不是大佬，一起学习进步嘛~

这个框架我感觉挺厉害的，我都写不出来，需要费不少劲去研究，大佬就是大佬哈

一起学习~

好的

repo: JsonChao/Awesome-WanAndroid


text:
Added FITS interface for subtract_bias and flat_correct

Added FITS interface for subtract_bias and flat_correct.

Let me know your thoughts about these constructors @giordano @mileslucas. Once they are good to go, I will add the constructors for correct_flat!

Partially fixes #11.
Do you mind removing this? There's no point in automatically closing the issue just to reopen it again.

Do you mind removing this?

I think it's good to have a reference to the issue, just don't write literally "fixes #..." which will automatically close the issue for the third time. Write "see #..." or anything else, but don't use "fix", "close" or the other special keywords.
Regarding this pull request, it looks overall good, but I feel like there is a lot of code duplication. Maybe you should be using metaprogramming as suggested by Miles?

Regarding this pull request, it looks overall good, but I feel like there is a lot of code duplication. Maybe you should be using metaprogramming as suggested by Miles?

True, there is quite a lot of code duplication. I was thinking to set up the skeleton for FITS interface and then make a separate PR for bundling all things up. Thoughts?

True, there is quite a lot of code duplication. I was thinking to set up the skeleton for FITS interface and then make a separate PR for bundling all things up.

I think it's okay to work your way up to make sure all the tests and expected behavior works out as a learning experience. Once you get more comfortable with metaprogramming, though, you'll see it saves a lot of time and lines.

authors: giordano mileslucas siddharthlal25


text:
fix: use json serialization for robustness

instead of filling in a plain-text template, which could cause issues when challenge or response contain chars that need to be escaped

Codecov Report

Merging #29 (be4edef) into master (1b124d2) will decrease coverage by 1.66%.
The diff coverage is 93.33%.

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
- Coverage   74.17%   72.52%   -1.66%
==========================================
  Files           1        1
  Lines         213      222       +9
==========================================
+ Hits          158      161       +3
- Misses         55       61       +6

Impacted Files
Coverage Δ

src/PkgAuthentication.jl
72.52% <93.33%> (-1.66%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

authors: codecov-commenter pfitzseb


text:
add issingular

@yingboma do you have ideas for other dispatches that would be good? Should there be a fallback?

Can you take it from here? It seems you have a bunch of ideas so that might be quicker.

Done. @ChrisRackauckas could you take a look?

Note I reverted the README change @YingboMa but it's expected that issingular is the best way to check for it: if it's ever faster to use rank, then the dispatch should be to use rank.

authors: ChrisRackauckas YingboMa


text:
libtet undefined

Hi,
I am running Julia v1.7-rc arm64 on a MacBook Air with M1 chip.
]add TetGen
works fine and TetGen seems to be installed without warnings. However,  when I try to run an example (any example), I get the following error:
ERROR: UndefVarError: libtet not defined Stacktrace:  [1] tetrahedralize(input::RawTetGenIO{Float64}, flags::String)    @ TetGen ~/.julia/packages/TetGen/pHPIP/src/rawtetgenio.jl:629
I assume that libtet should had been created by the installation of TetGen.jl, but I could not find the file.  I can compile the original C++ version of TetGen as a library (thus, obtaining libtet.a), but I don't know how to make it accessible for TetGen.jl.
Any ideas what the problem may be?
Thanks in advance.
IO.

For the Julia binary builder, macos aarch64  still seems to count as an experimental platform, see https://github.com/JuliaPackaging/Yggdrasil/issues/2763
So  libtet is not available yet for this architecturee, see the list on    https://github.com/JuliaBinaryWrappers/TetGen_jll.jl .
However I don't expect any portability issues, so I will try to upgrade the binary package (also then for Triangle_jll.jl...) .
Need to carve out some time for this.

This has been merged now - with TetGen_jll.jl 1.5.2 you could try  if it works...

It works perfectly fine.
Thank you very much for the quick solution!

authors: iojea j-fu


text:
TetGen doesn't work for triangular input surfaces?

Based on the cube (quad) mesh example provided in the README,  I've just tried to apply this to triangular boundary surfaces. E.g. like this:
F = TriangleFace{Cint}[TriangleFace(1, 2, 3), TriangleFace(4, 2, 1), TriangleFace(4, 3, 2), TriangleFace(4, 1, 3)]
V = Point{3, Float64}[[-0.8164965809277261, -0.47140452079103173, -0.3333333333333333], [0.8164965809277261, -0.47140452079103173, -0.3333333333333333], [0.0, 0.0, 1.0], [0.0, 0.9428090415820635, -0.3333333333333333]]
markers = Cint[-1, -2, 0, 0]

mesh = GeometryBasics.Mesh(V, meta(F, markers=markers))
result = tetrahedralize(mesh, "vpq1.414a0.1")

However, I get the following error:
ERROR: MethodError: no method matching unsafe_array_convert(::Type{Ptr{…}}, ::StructArrays.StructVector{GeometryBasics.NgonFaceMeta{…}, @NamedTuple{…}, Int64})

Closest candidates are:
  unsafe_array_convert(::Type{Ptr{T}}, ::Vector{T}) where T
   @ TetGen ~/.julia/packages/TetGen/QKVpk/src/jltetgenio.jl:251
  unsafe_array_convert(::Type{Ptr{T1}}, ::Vector{T2}) where {T1, T2}
   @ TetGen ~/.julia/packages/TetGen/QKVpk/src/jltetgenio.jl:255
  unsafe_array_convert(::Type{Ptr{TetGen.CFacet{T}}}, ::Tuple{Vector{F}, Vector{TetGen.CPolygon}, Array{TetGen.CFacet{T}, 1}}) where {F, T}
   @ TetGen ~/.julia/packages/TetGen/QKVpk/src/jltetgenio.jl:246
  ...
Stacktrace:
 [1] cconvert(CIO::Type{…}, obj::TetGen.JLTetGenIO{…})
   @ TetGen ~/.julia/packages/TetGen/QKVpk/src/jltetgenio.jl:293
 [2] tetrahedralize(input::TetGen.JLTetGenIO{Float64, 4, 0, 0, Int64, StructArrays.StructVector{…}}, command::String)
   @ TetGen ~/.julia/packages/TetGen/QKVpk/src/jltetgenio.jl:314
 [3] tetrahedralize(mesh::GeometryBasics.Mesh{3, Float64, GeometryBasics.Ngon{…}, FaceView{…}}, command::String)
   @ TetGen ~/.julia/packages/TetGen/QKVpk/src/api.jl:39
 [4] top-level scope
   @ ~/DATA/Julia/comodo_wip/wip/temp_use_TetGen.jl:37
Some type information was truncated. Use `show(err)` to see complete types.

Any help resolving this would be appreciated, thanks.

This is unfortunate. I am not that much into this part of the API as I am focused on the "raw API"
May be @SimonDanisch can have a look at this before I try to figure this out.

@j-fu thanks for the quick response. I may need the raw interface too. Is there an example you can share for using it to create a tet mesh on an input domain?
I was also wondering how to retrieve the input boundary marker data, and how to mesh multiple regions and cope with holes. Usually it requires "interior points" to define the regions/holes. (I wrote a tegen wrapper for MATLAB in the past https://www.gibboncode.org/).
Thanks again

This all should work. See examples/examples.jl (I see there is nothing with hole points though). I am mostly using TetGen   via SimplexFactory.jl.
So perhaps it makes sense to have a more comprehensive set of examples.

authors: Kevin-Mattheus-Moerman j-fu


text:
Autocomplete problem in output cell.

Autocompletion works well, but errors inside output cell occured every time.

The output of versioninfo() :

Julia Version 1.9.3
Commit bed2cd540a1 (2023-08-24 14:43 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 8 × 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-14.0.6 (ORCJIT, tigerlake)
Threads: 1 on 8 virtual cores

How you installed Julia

wget https://julialang-s3.julialang.org/bin/linux/x64/1.9/julia-1.9.4-linux-x86_64.tar.gz
tar zxvf julia-1.9.4-linux-x86_64.tar.gz

A minimal working example (MWE), also known as a minimum reproducible example:
using Pkg; Pkg.add("IJulia"); using IJulia; notebook()

Settings -> Settings Editor -> Code Completion -> Enable autocompletion -> true
In first evaluation (Shift + Enter) everything works fine, but after second evaluation of the same code occurs error message:

If autocompletion is disabled, then everything works normal.
KERNEL EXCEPTION
BoundsError: attempt to access empty String at index [1:40]

Stacktrace:
 [1] checkbounds
   @ ./strings/basic.jl:216 [inlined]
 [2] getindex(s::String, r::UnitRange{Int64})
   @ Base ./strings/string.jl:276
 [3] complete_request(socket::ZMQ.Socket, msg::Msg)
   @ IJulia ~/.julia/packages/IJulia/Vo51o/src/handlers.jl:115
 [4] #invokelatest#2
   @ ./essentials.jl:819 [inlined]
 [5] invokelatest
   @ ./essentials.jl:816 [inlined]
 [6] eventloop(socket::ZMQ.Socket)
   @ IJulia ~/.julia/packages/IJulia/Vo51o/src/eventloop.jl:8
 [7] (::IJulia.var"#15#18")()
   @ IJulia ./task.jl:514

My version of Jupyter doesn't have a "Code completion" option in the "Settings" menu:

How did you get this?  I just did a fresh install from Conda.

It sounds like Jupyter might sending IJulia an invalid completion request message on your machine.  You could verify this by setting IJulia.verbose = true, which causes every message from Jupyter to be printed in the terminal.  Look for something like:
RECEIVED IPython Msg [ idents b9b9f847-93ce-492c-a345-333b8a8ec0e0 ] {
  parent_header = Dict{String, Any}(),
  header = Dict{String, Any}("msg_id" => ....),
  metadata = Dict{String, Any}(),
  content = Dict{String, Any}("cursor_pos" => ...., "code" => ".....")
}

My version of Jupyter doesn't have a "Code completion" option in the "Settings" menu:  How did you get this? I just did a fresh install from Conda.

On main menu:

I install Jupyter notebook via Ijulia instructions:
https://github.com/JuliaLang/IJulia.jl  -> Quick start -> using IJulia; notebook()

After adding  something stranger happens:

Now, in the end of the line, after pressing Tab, displays a lot of completion.
Also, I don't understand, where the Terminal and command IJulia.verbose = true  should be started and typed in?

authors: garazha-ilya stevengj

license: mit

license_source: bigquery


text:
JuliaPro/Julia Start Error

I just installed Julia on my Mac. After press enter to start Julia, it shows that "ERROR: SystemError (with /Users/myname/.julia/logs): mkdir: Permission denied" ("myname" is my system name).
This does not happen for previous installation.

Do you fix this problem? I met same issue as well.....

Is your problem just with Julia, or does it involve Jupyter/IJulia?  If the former, you should report the problem at the main Julia repository.

This issue seems unrelated to IJulia per se.

authors: ArcherWoo Svansing stevengj


text:
Kernel dead and fail rebuild IJulia

Hi,
I tried @everywhere include("somepackage.jl") on notebook, the kernel die and I can no longer start IJulia notebook. So I try to rebuild it. Then I keep getting the following issue. How should I fix it?
Thanks.

Looks like your Anaconda installation is broken somehow?  For example, does
jupyter kernelspec list

work?
Have you considered letting Julia maintain its own Conda installation?  This might be easier than managing your own.

Similar issue in my Win10. I am not sure whether this issue is related to Julia 1.0.2, although I got this error after updating julia.
In case of me, jupyter works very well as @stevengj suggested.
julia> Pkg.build("IJulia")
  Building Conda ──→ `C:\Users\kiost-ljm\.julia\packages\Conda\uQitS\deps\build.log`
  Building ZMQ ────→ `C:\Users\kiost-ljm\.julia\packages\ZMQ\ABGOx\deps\build.log`
  Building MbedTLS → `C:\Users\kiost-ljm\.julia\packages\MbedTLS\r1Ufc\deps\build.log`
  Building IJulia ─→ `C:\Users\kiost-ljm\.julia\packages\IJulia\DL02A\deps\build.log`
┌ Error: Error building `IJulia`:
│ Solving environment: ...working... done
│
│ # All requested packages already installed.
│
│ Error executing Jupyter command 'kernelspec': [Errno 'jupyter-kernelspec' not found] 2
│ Traceback (most recent call last):
│   File "D:\Apps\Anaconda3\envs\python_jl\Scripts\jupyter-kernelspec-script.py", line 6, in <module>
│     from jupyter_client.kernelspecapp import KernelSpecApp
│   File "D:\Apps\Anaconda3\envs\python_jl\lib\site-packages\jupyter_client\__init__.py", line 4, in <module>
│     from .connect import *
│   File "D:\Apps\Anaconda3\envs\python_jl\lib\site-packages\jupyter_client\connect.py", line 23, in <module>
│     import zmq
│   File "D:\Apps\Anaconda3\envs\python_jl\lib\site-packages\zmq\__init__.py", line 47, in <module>
│     from zmq import backend
│   File "D:\Apps\Anaconda3\envs\python_jl\lib\site-packages\zmq\backend\__init__.py", line 40, in <module>
│     reraise(*exc_info)
│   File "D:\Apps\Anaconda3\envs\python_jl\lib\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise
│     raise value
│   File "D:\Apps\Anaconda3\envs\python_jl\lib\site-packages\zmq\backend\__init__.py", line 27, in <module>
│     _ns = select_backend(first)
│   File "D:\Apps\Anaconda3\envs\python_jl\lib\site-packages\zmq\backend\select.py", line 27, in select_backend
│     mod = __import__(name, fromlist=public_api)
│   File "D:\Apps\Anaconda3\envs\python_jl\lib\site-packages\zmq\backend\cython\__init__.py", line 6, in <module>
│     from . import (constants, error, message, context,
│ ImportError: DLL load failed: 지정된 모듈을 찾을 수 없습니다.
│ [ Info: Installing Jupyter via the Conda package.
│ [ Info: Running `conda install -y jupyter` in root environment
│ [ Info: Found Jupyter version 4.4.0: D:\Apps\Anaconda3\envs\python_jl\Scripts\jupyter
│ [ Info: Installing Julia kernelspec julia-1.0
│ ERROR: LoadError: failed process: Process(`'D:\Apps\Anaconda3\envs\python_jl\python.exe' 'D:\Apps\Anaconda3\envs\python_jl\Scripts\jupyter-kernelspec-script.py' install --replace --user 'C:\Users\KIOST-~1\AppData\Local\Temp\julia-1.0'`, ProcessExited(1)) [1]
│ Stacktrace:
│  [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at .\error.jl:42
│  [2] pipeline_error at .\process.jl:705 [inlined]
│  [3] #run#504(::Bool, ::Function, ::Cmd) at .\process.jl:663
│  [4] run at .\process.jl:661 [inlined]
│  [5] #installkernel#4(::String, ::Function, ::String) at C:\Users\kiost-ljm\.julia\packages\IJulia\DL02A\deps\kspec.jl:85
│  [6] installkernel(::String) at C:\Users\kiost-ljm\.julia\packages\IJulia\DL02A\deps\kspec.jl:36
│  [7] top-level scope at logging.jl:308
│  [8] top-level scope at logging.jl:307
│  [9] top-level scope at C:\Users\kiost-ljm\.julia\packages\IJulia\DL02A\deps\build.jl:41
│  [10] include at .\boot.jl:317 [inlined]
│  [11] include_relative(::Module, ::String) at .\loading.jl:1044
│  [12] include(::Module, ::String) at .\sysimg.jl:29
│  [13] include(::String) at .\client.jl:392
│  [14] top-level scope at none:0
│ in expression starting at C:\Users\kiost-ljm\.julia\packages\IJulia\DL02A\deps\build.jl:9
└ @ Pkg.Operations C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\Operations.jl:1097

We no longer use jupyter during build, so hopefully this issue is moot.

authors: leejm516 sf-nevermore stevengj


text:
use const field instead of internal RefValue

Better for performance, avoids using internals and avoids awkward [].

I've taken a bit with this, since it didn't seem like such a "clear win" to me as the other PRs, but why not :slightly_smiling_face:
Aside: how on earth did this branch end up with this particular name?

I've taken a bit with this, since it didn't seem like such a "clear win" to me as the other PRs, but why not

To me, it is a clear win because of:

Clarity: We want the ability to mutate some fields but not others. Julia has a feature for this, const-fields. Going through the hoops of wrapping something in a container doesn't do anything better.
Legibility: Instead of having to use [] everywhere these are just used like any other field.
Performance: Instead of allocating one mutable wrapper for each field this can allocate a single one where all the mutable fields are stored.

authors: KristofferC tecosaur


text:
"Checking standard library notarization" should be a spinner

this is very minor, and maybe not a universally shared opinion, but rather than the
Checking standard library notarization............................................................done.
where it appears the number of ..... is unbounded with time, I'd prefer that just be a % spinner or something

I think every dot represent one stdlib that is getting "checked".

authors: KristofferC adienes

repo: JuliaLang/juliaup


text:
generalize batchseq to sequence of generic arrays

Implement the following behavior for batchseq: Given an input list xs containing B arrays of size * x Li, where * is common to all arrays and Li can vary, return a list of length Lmax where the elements have size * x B.
Have to depend on NNlib for this, not sure it is worth it.
Fix #118

Codecov Report

Merging #126 (4bdb4f2) into main (a85c098) will decrease coverage by 0.28%.
The diff coverage is 81.25%.

@@            Coverage Diff             @@
##             main     #126      +/-   ##
==========================================
- Coverage   88.77%   88.48%   -0.29%
==========================================
  Files          13       14       +1
  Lines         561      573      +12
==========================================
+ Hits          498      507       +9
- Misses         63       66       +3

Impacted Files
Coverage Δ

src/deprecations.jl
0.00% <0.00%> (ø)

src/utils.jl
90.90% <100.00%> (+0.66%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

authors: CarloLucibello codecov-commenter


text:
batchsize() documentation

The docs are now clearer, the original docs a little confuse.

Codecov Report

Merging #163 (20ed4fe) into main (03f8fb1) will increase coverage by 0.15%.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #163      +/-   ##
==========================================
+ Coverage   88.50%   88.65%   +0.15%
==========================================
  Files          15       13       -2
  Lines         600      564      -36
==========================================
- Hits          531      500      -31
+ Misses         69       64       -5

Impacted Files
Coverage Δ

src/batchview.jl
79.54% <ø> (-1.31%)
:arrow_down:

... and 11 files with indirect coverage changes

authors: NeroBlackstone codecov-commenter


text:
Bad error when not passing named tuple

The error raised when forgetting the comma needed to make a named tuple is must unfelpful:
julia> plot(1:10, 1:10, figure=(title="Test"))
ERROR: BoundsError: attempt to access Char at index [2]
Stacktrace:
 [1] indexed_iterate(I::Char, i::Int64, state::Bool)
   @ Base .\tuple.jl:98
 [2] merge(a::NamedTuple{(), Tuple{}}, itr::String)
   @ Base .\namedtuple.jl:292
 [3] plot(::Type{Any}, ::UnitRange{Int64}, ::Vararg{UnitRange{Int64}}; axis::NamedTuple{(), Tuple{}}, figure::String, kw_attributes::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
   @ Makie C:\Users\Dennis Bal\.julia\packages\Makie\fEZv2\src\figureplotting.jl:16
 [4] #plot#13
   @ C:\Users\Dennis Bal\.julia\packages\MakieCore\oBlaS\src\recipes.jl:33 [inlined]
 [5] top-level scope
   @ REPL[15]:1

While this works
julia> plot(1:10, 1:10, figure=(title="Test",))

The same problem exists when using AlgebraOfGraphics's draw function, but perhaps it is a downstring issue from Makie, so I am raising it here first.
Can this be remedied by some sort of type-checking, or something else?

I don't see this as an issue and if I'm not mistaken is by design. I try to follow this syntax once I start using keyword arguments, no commas.
plot(1:10, 1:10; axis=(; title="Test"))

ok, maybe the error message is a little bit cryptic.

I think it's definitely possible in the initial stages.  Perhaps we could check that a certain set of keys should be initialized as named tuples?

Yeah this could be checked to some degree, Dicts etc should also work though, which makes it a bit trickier.

authors: KronosTheLate asinghvi17 jkrumbiegel lazarusA


text:
Memory leak when creating plots

Describe the bug
When creating a plot (e.g., scatter(1:20000)), the memory used for that plot is retained indefinitely and never reclaimed by the GC.
Steps To Reproduce
These two examples both retain around 15GB of memory forever:
Example 1
using AbstractPlotting, GLMakie
plot = scatter(1:2000000000);
GLMakie.destroy!.(plot.current_screens)
plot = nothing
AbstractPlotting.current_global_scene[] = nothing
GC.gc()

Example 2
using AbstractPlotting, GLMakie

function do_leak()
    plot = scatter(1:200000000)
    GLMakie.destroy!.(plot.current_screens)
    plot = nothing
    AbstractPlotting.current_global_scene[] = nothing
    GC.gc()
end

for i in 1:10
    do_leak()
end

Expected behavior
After I create a plot and discard all references to it that I know of (i.e., the plot reference itself and AbstractPlotting.current_global_scene), I expect the memory used for that plot to be freed.
Additional Information
This looks similar to https://github.com/JuliaPlots/Makie.jl/issues/382
This has been reproduced by @ianshmean
This is the output from varinfo: https://pastebin.com/qAy0Zvtj
Here is a more descriptive example and the outputs it produces:
using AbstractPlotting, GLMakie

function do_leak()
    print("Start of do_leak: ")
    @show Base.summarysize(AbstractPlotting)

    plot = scatter(1:200000000)
    print("Plot: ")
    @show Base.summarysize(plot)

    GLMakie.destroy!.(plot.current_screens)
    print("Plot after GLMakie.destroy!: ")
    @show Base.summarysize(plot)

    plot = nothing

    print("AbstractPlotting.current_global_scene after GLMakie.destroy!: ")
    @show Base.summarysize(AbstractPlotting.current_global_scene)
    AbstractPlotting.current_global_scene[] = nothing

    GC.gc()

    print("After GC: ")
    @show Base.summarysize(AbstractPlotting)
end

for i in 1:10
    println("Iteration $i")
    do_leak()
    println()
end

Iteration 1
Start of do_leak: Base.summarysize(AbstractPlotting) = 3280498
Plot: Base.summarysize(plot) = 1600099693
Plot after GLMakie.destroy!: Base.summarysize(plot) = 1600099693
AbstractPlotting.current_global_scene after GLMakie.destroy!: Base.summarysize(AbstractPlotting.current_global_scene) = 1600099701
After GC: Base.summarysize(AbstractPlotting) = 1611982740

Iteration 2
Start of do_leak: Base.summarysize(AbstractPlotting) = 1611982740
Plot: Base.summarysize(plot) = 1600099693
Plot after GLMakie.destroy!: Base.summarysize(plot) = 1600099693
AbstractPlotting.current_global_scene after GLMakie.destroy!: Base.summarysize(AbstractPlotting.current_global_scene) = 1600099701
After GC: Base.summarysize(AbstractPlotting) = 3212083673

Iteration 3
Start of do_leak: Base.summarysize(AbstractPlotting) = 3212083673
Plot: Base.summarysize(plot) = 1600099693
Plot after GLMakie.destroy!: Base.summarysize(plot) = 1600099693
AbstractPlotting.current_global_scene after GLMakie.destroy!: Base.summarysize(AbstractPlotting.current_global_scene) = 1600099701
After GC: Base.summarysize(AbstractPlotting) = 4812184606

Iteration 4
Start of do_leak: Base.summarysize(AbstractPlotting) = 4812184606
Plot: Base.summarysize(plot) = 1600099693
Plot after GLMakie.destroy!: Base.summarysize(plot) = 1600099693
AbstractPlotting.current_global_scene after GLMakie.destroy!: Base.summarysize(AbstractPlotting.current_global_scene) = 1600099701
After GC: Base.summarysize(AbstractPlotting) = 6412285539

Iteration 5
Start of do_leak: Base.summarysize(AbstractPlotting) = 6412285539
Plot: Base.summarysize(plot) = 1600099693
Plot after GLMakie.destroy!: Base.summarysize(plot) = 1600099693
AbstractPlotting.current_global_scene after GLMakie.destroy!: Base.summarysize(AbstractPlotting.current_global_scene) = 1600099701
After GC: Base.summarysize(AbstractPlotting) = 8012386472

Iteration 6
Start of do_leak: Base.summarysize(AbstractPlotting) = 8012386472
Plot: Base.summarysize(plot) = 1600099693
Plot after GLMakie.destroy!: Base.summarysize(plot) = 1600099693
AbstractPlotting.current_global_scene after GLMakie.destroy!: Base.summarysize(AbstractPlotting.current_global_scene) = 1600099701
After GC: Base.summarysize(AbstractPlotting) = 9612487405

Iteration 7
Start of do_leak: Base.summarysize(AbstractPlotting) = 9612487405
Plot: Base.summarysize(plot) = 1600099693
Plot after GLMakie.destroy!: Base.summarysize(plot) = 1600099693
AbstractPlotting.current_global_scene after GLMakie.destroy!: Base.summarysize(AbstractPlotting.current_global_scene) = 1600099701
After GC: Base.summarysize(AbstractPlotting) = 11212588338

Iteration 8
Start of do_leak: Base.summarysize(AbstractPlotting) = 11212588338
Plot: Base.summarysize(plot) = 1600099693
Plot after GLMakie.destroy!: Base.summarysize(plot) = 1600099693
AbstractPlotting.current_global_scene after GLMakie.destroy!: Base.summarysize(AbstractPlotting.current_global_scene) = 1600099701
After GC: Base.summarysize(AbstractPlotting) = 12812689271

Iteration 9
Start of do_leak: Base.summarysize(AbstractPlotting) = 12812689271
Plot: Base.summarysize(plot) = 1600099693
Plot after GLMakie.destroy!: Base.summarysize(plot) = 1600099693
AbstractPlotting.current_global_scene after GLMakie.destroy!: Base.summarysize(AbstractPlotting.current_global_scene) = 1600099701
After GC: Base.summarysize(AbstractPlotting) = 14412790204

Iteration 10
Start of do_leak: Base.summarysize(AbstractPlotting) = 14412790204
Plot: Base.summarysize(plot) = 1600099693
Plot after GLMakie.destroy!: Base.summarysize(plot) = 1600099693
AbstractPlotting.current_global_scene after GLMakie.destroy!: Base.summarysize(AbstractPlotting.current_global_scene) = 1600099701
After GC: Base.summarysize(AbstractPlotting) = 16012891137

With a patched varinfo to show everything (including non-exported names and imported names), I see these relevant lines:
| AbstractPlotting              |  14.913 GiB | Module
| _current_default_theme        |  14.902 GiB | Attributes
| minimal_default               |  14.902 GiB | Attributes

That's true, that it's part of the problem...
But something also must have change here, since this is clearly a regression, as far as I can tell...
It's also relatively weird, that resolution ends up having a connection to the scatter input^^

In the meantime, is there a recommended workaround?

@SimonDanisch Thanks for your work on this issue so far. It looks like this isn't fixed yet, though. Using AbstractPlotting v0.13.10 and GLMakie v0.1.16, this code:
using AbstractPlotting, GLMakie

function do_leak()
    plot = scatter(1:200000000)
    GLMakie.destroy!.(plot.current_screens)
    plot = nothing
    AbstractPlotting.current_global_scene[] = nothing
    GC.gc(true)
    @info "Size of AbstractPlotting: $(Base.format_bytes(Base.summarysize(AbstractPlotting)))"
end

for i in 1:10
    @info "Iteration $i"
    do_leak()
    println()
end

outputs this:
[ Info: Iteration 1
[ Info: Size of AbstractPlotting: 1.501 GiB

[ Info: Iteration 2
[ Info: Size of AbstractPlotting: 2.992 GiB

[ Info: Iteration 3
[ Info: Size of AbstractPlotting: 4.482 GiB

[ Info: Iteration 4
[ Info: Size of AbstractPlotting: 5.972 GiB

[ Info: Iteration 5
[ Info: Size of AbstractPlotting: 7.462 GiB

[ Info: Iteration 6
[ Info: Size of AbstractPlotting: 8.952 GiB

[ Info: Iteration 7
[ Info: Size of AbstractPlotting: 10.443 GiB

[ Info: Iteration 8
[ Info: Size of AbstractPlotting: 11.933 GiB

[ Info: Iteration 9
[ Info: Size of AbstractPlotting: 13.423 GiB

[ Info: Iteration 10
[ Info: Size of AbstractPlotting: 14.913 GiB

Let me know if you want me to test anything else.

authors: Octogonapus SimonDanisch


text:
New package: CVortex v0.1.0

Registering package: CVortex
Repository: https://github.com/hjabird/CVortex.jl
Created by: @hjabird
Version: v0.1.0
Commit: 3fa15df65081f4b10d7cd6be71d2084696d23f68
Git reference: master
Release notes:

https://github.com/JuliaRegistries/General/pull/3856

Needs a [compat] section in Project.toml with at least an entry for julia itself, e.g.:
[compat]
julia = "1"

would mean that the package is compatible with Julia versions [1.0.0, 2.0.0).

Bump @hjabird

Now pull request 4044
https://github.com/JuliaRegistries/General/pull/4044

Added Julia version:

[compat]
julia = "1"

Changed version to v0.1.1 - I already had a release tagged as v0.1.0.

Can you please keep the version number and update this PR instead?

Today I learn that tags can be deleted.
Thanks fredrikekre!

I encourage you to enabe TagBot which takes care of tagging for you once the PR is merged, see https://discourse.julialang.org/t/ann-tagbot-creates-tags-and-releases-for-your-julia-packages-when-theyre-registered/23084

authors: JuliaRegistrator StefanKarpinski fredrikekre hjabird

repo: JuliaRegistries/General


text:
New package: Dizkord v0.5.1

Registering package: Dizkord
Repository: https://github.com/Humans-of-Julia/Dizkord.jl
Created by: @Kyando2
Version: v0.5.1
Commit: 53c75af7814c5362395b7ca402f78f8df9a6abe7
Git reference: v0.5.2
Description: The Discord.jl fork

@JuliaRegistrator register

Error while trying to register: Register Failed
@Kyando2, it looks like you are not a publicly listed member/owner in the parent organization (JuliaRegistries).
If you are a member/owner, you will need to change your membership to public. See GitHub Help

Error while trying to register: Register Failed
@Kyando2, it looks like you are not a publicly listed member/owner in the parent organization (JuliaRegistries).
If you are a member/owner, you will need to change your membership to public. See GitHub Help

How is this different from https://github.com/Xh4H/Discord.jl?

authors: JuliaRegistrator Kyando2 cossio


text:
New package: StenoGraphs v0.0.1

Registering package: StenoGraphs
Repository: https://github.com/aaronpeikert/StenoGraphs.jl
Created by: @aaronpeikert
Version: v0.0.1
Commit: 33f89862971d1f03181aefaaa5571eee10945e7b
Reviewed by: @aaronpeikert
Reference: https://github.com/aaronpeikert/StenoGraphs.jl/commit/33f89862971d1f03181aefaaa5571eee10945e7b#commitcomment-65764089
Description: A semi formal way of specifying graphs or Structural Equation Model Interface

Dear human,
sorry for bothering you. The complaint that SceneGraphs is too close to StenoGraphs is reasonable. However, I am very fond of the name, StenoGraphs is just too perfect for a domain-specific language for quickly writing graphs.
StenoGraphs also fits very well into the naming scheme of the JuliaGraphs Org
Do you think we can make an exception here? The packages are not even in the same domain (the one relates to graphical representation, the other to graphs as mathematical objects) and sound phonetically very different.

authors: JuliaRegistrator aaronpeikert


text:
type: string format: regex does not fail on invalid regular expressions

Hi, I'd like to validate regular expression strings, but it does not seem to give me an error on for example missing closing brackets etc.
tested with python 3.8.2, josnschema 3.2
from jsonschema import Draft7Validator

schema = {
    '$schema': 'http://json-schema.org/draft-07/schema#',
    '$id': 'testid',
    'title': 'regex test schema',
    '$ref': '#/definitions/regexp',
    'definitions': {
        'regexp': {
            'description': 'Regex search string',
            'type': 'object',
            'properties': {
                'search': {
                    'type': 'string',
                    'format': 'regex',
                },
            },
            'required': ['search'],
        },
    },
}

validator = Draft7Validator(schema)

print(validator.check_schema(schema))

print(validator.is_valid({'search': 'test'}))
# True
print(validator.is_valid({'search': '[0-9'}))
# True, but i expect False because of missing bracket.

Hi. Please review the docs on validating format:
https://python-jsonschema.readthedocs.io/en/stable/validate/#validating-formats

Hi. Please review the docs on validating format:
https://python-jsonschema.readthedocs.io/en/stable/validate/#validating-formats

Sry i missed that and its clear from the docs.
Because type is enforced it didn't even cross my mind that format wouldn't be.
If its about performance would argue that having it enabled/enforced by default would make more sense as one would expect that the rules you set in your schema is executed and checked.
Is there any specific reason why it's not enabled by default?

Sry i missed that and its clear from the docs.
Because type is enforced it didn't even cross my mind that format wouldn't be.
If its about performance would argue that having it enabled/enforced by default would make more sense as one would expect that the rules you set in your schema is executed and checked.
Is there any specific reason why it's not enabled by default?

That is what the specification requires.
format is indeed not like type. By default, it's informational only. Validation is opt-in behavior in implementations.
Have a look at the format spec for some more notes on why.

That is what the specification requires.
format is indeed not like type. By default, it's informational only. Validation is opt-in behavior in implementations.
Have a look at the format spec for some more notes on why.

I see, I'll read up about it.
Thanks for the replies, and thanks for the awesome library.

I see, I'll read up about it.
Thanks for the replies, and thanks for the awesome library.

authors: Julian thomasborgen

repo: Julian/jsonschema


text:
Modules

Pre-Processing

[ ] VAD
[ ] NoiseRemoval
[ ] AudioRouter to different modules depending on the audio quality (like RouteLLM)
[ ] #10

Main-Processing

[ ] Whisper
[ ] Implement different Whisper modules
[ ] Add Whisper word probability
[ ] ClientSideLoadBalancerModule (sending process to different server, which is free)

Post-Processing

[ ] Translation
[ ] Word prediction

https://github.com/facebookresearch/fairseq/tree/nllb


text:
🛑 My website is down

In 5687191, My website (https://junting.tech/) was down:

HTTP code: 502
Response time: 529 ms

Resolved: My website is back up in 597c3d5.

repo: JunTingLin/upptime


text:
Not working

react-native-rename NewName
The app_name value in ./android/app/src/main/res/values/strings.xml must be the same with ./ios/AppFolderName before renaming the app.
ex. ./ios/CoolApp  --->  <string name="app_name">CoolApp</string>

I am getting this error but this name is the same before I run the command.

I am using rn 0.40

react-native-rename "Master"
/home/user-pc/.nvm/versions/node/v5.0.0/lib/node_modules/react-native-rename/lib/index.js:169
} else if (err.code === 'ENOENT') {
^
TypeError: Cannot read property 'code' of undefined
at /home/user-pc/.nvm/versions/node/v5.0.0/lib/node_modules/react-native-rename/lib/index.js:169:16
at tryToString (fs.js:414:3)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:401:12)

I confirm. I have this problem too.

Same problem here

I just tested it using react-native 0.43.3 and it works.

Worked for me with react-native 0.44.0

authors: Strayer csumrell danilvalov dileepibtspl jasan-s jsappme

repo: JuneDomingo/react-native-rename


text:
#14: make fixes review remarks

connect to #14

@danilkuznetsov nice job!

authors: danilkuznetsov vkuchyn

repo: JuniorsJava/microservices


text:
Same thing plays after skip autoplaylist

I am on the most recent update. So I have an autoplaylist enabled, I know for a fact there isnt any duplicates. When I skip something from the autoplaylist it will sometimes play the same thing, I dont know if this is fixable because maybe it just picks a random song from the playlist and might accidentally hit the same song, I dont know. Is it fixable? If possible please do <3 if not its cool this is an amazing creation anyway

I also have this issue sometimes it also happens when i don't have a constant queue. so if the queue runs dry and then i queue a song it will play the auto queue first before the queued one

#964
Duplicate of : #616 #936 #923

authors: Bkamahl Caleb-Ardern zenrac

repo: Just-Some-Bots/MusicBot


text:
My Discord Music Bot Doesnt Want To Start

Please tick all applicable boxes.

[ ] I am using Python 3.5 or higher (run python --version on the command line)
[ ] I have followed the official guides to install the bot for my system
[ ] I have updated my dependencies to the latest version using the appropriate update script

[INFO] launcher: Starting sanity checks
[INFO] launcher: Checking for Python 3.5+
[INFO] launcher: Checking console encoding
[INFO] launcher: Setting console encoding to UTF-8
[INFO] launcher: Ensuring we're in the right environment
[INFO] launcher: Adding local bins/ folder to path
[INFO] launcher: Required checks passed.
[INFO] launcher: Optional checks passed.
[INFO] launcher: Moving old musicbot log
[ERROR] launcher: Error starting bot
Traceback (most recent call last):
File "run.py", line 368, in main
m = MusicBot()
File "C:\Users\callu\Documents\Coding Links\MusicBot\musicbot\bot.py", line 71, in init
self.config = Config(config_file)
File "C:\Users\callu\Documents\Coding Links\MusicBot\musicbot\config.py", line 81, in init
self.run_checks()
File "C:\Users\callu\Documents\Coding Links\MusicBot\musicbot\config.py", line 186, in run_checks
self.autojoin_channels = set(int(item.replace(',', ' ').strip()) for item in self.autojoin_channels)
File "C:\Users\callu\Documents\Coding Links\MusicBot\musicbot\config.py", line 186, in
self.autojoin_channels = set(int(item.replace(',', ' ').strip()) for item in self.autojoin_channels)
ValueError: invalid literal for int() with base 10: 'no'
[INFO] launcher: All done.
C:\Users\callu\Documents\Coding Links\MusicBot>

Remove no from the area after autojoinchannels in your options file and leave it blank.

Remove no from the area after autojoinchannels in your options file and leave it blank.
Do i remove no from WhiteListCheck ?

No, only the autojoinchannels option caused your issue.

No, only the autojoinchannels option caused your issue.

yeah i changed that and it fixed my problem thank you so much !


text:
(Youtube) Chapter seeking

What new feature would you like to see?
Ideally people should be playing playlists instead of 3 hour music compilations. However some music videos have no alternatives.
In these instances it would be very nice if commands like "!chapter next" and "!chapter previous" were added, with maybe even a "!chapter list" (this could get too big, does youtube even have a limit?)
Might be too niche of a request, but I found myself using !seek to skip between chapters a lot so figured I'd put it out there.
Which of these categories fit your request?
New command
Just checking...

[X] I have confirmed that my feature has not already been requested.
[X] I have confirmed that my feature has not already been implemented in the review branch.

After a quick discussion with pretty much the only active developer, we've decided this feature isn't worth adding, essentially we'd just be seeking to timestamps most of the time doing something like !chapters would just return no chapters available, and with seek existing already at mosr you're saving yourself a couple seconds.

If it's got enough interest, some change to seek so it can list chapters might not be too hard.
In the mean time, if you'd really like the feature, here is a code snippet that might get close to what this feature is asking for:
    async def cmd_chapters(self, player: MusicPlayer) -> CommandResponse:
        """
        Usage:
            {command_prefix}chapters

        List chapter timestamps if available.
        """
        if not player.current_entry:
            raise exceptions.CommandError("No song currently playing, try again later.")

        title = player.current_entry.title
        chapters = player.current_entry.get("chapters", [])
        if not isinstance(chapters, list) or len(chapters) == 0:
            raise exceptions.CommandError(f"No chapters are available for `{title}`")

        ts_list = ""
        for chap in chapters:
            s_time = chap.get("start_time", None)
            if s_time is None:
                continue
            f_time = format_song_duration(s_time)
            ts_list += f"`{f_time}`\n"

        return Response(
            f"**Chapters:**\n{ts_list}"
            delete_after=30,
        )

This hasn't been tested at all, and might need some changes.  But could be a good place to start.

authors: BabyBoySnow BgueC6595 itsTheFae


text:
Investigate possibility to log in as main account

Background:
Accidentally I found out today that I no longer receive EResult.LogonSessionReplaced when I'm using my account both on PC through steam client and in ASF at the same time.
This is interesting because either Valve changed it very recently, or it was non-intended.
What we know so far:

For major portion of users, it's possible to use ASF and Steam Client for the same account, on same PC, and at the same time.
Some (unlucky) users are actually still not possible to do so, and they're getting LogonSessionReplaced in OnLoggedOff event. If we found out a reason for that, perhaps I could implement something that could fix that as well.

Please let us know if you find anything interesting regarding that thing. If it works good for you, if it doesn't, and if it doesn't, if you have any ideas why.

I know you can use ASF with your main, while you are also using your main from the Steam client, but only if they don't share the same IP. You say you run ASF in your server, so maybe the server has a different IP from your computer that you use to run the Steam client?

No, I tested it on the same PC as you can see in the screenshot, that's what made me curious.

Hmmm... then that's interesting, maybe Volvo changed something. I will log in from one of my alts accounts and then run ASF and see if it let's me do stuff. I will also try the other way around (running ASF first and then the Steam client).

I'd appreciate if you did, because I want to make sure it works for everybody before I jump onto conclusions. Personally I think it has to do something with recent escrow implemented by Valve, perhaps they needed to change some things to make mobile steam clients work better.

You don't need new (pre-release) version, V0.8 should work too.

Just tried to start my main account in ASF with it logged in steam client. Account in ASF started and connected normally (I have nothing to farm, so it just checked badges and stay online). Even more, I have CS:GO stared while trying it (forgot about it). Seems like no interference between this two logins.
Oh, to be precise - ASF is running on another PC, but with the same external IP (NAT on router).

Doesn't seem to work for me, logged into my first alt account without having ASF open. As soon as I opened it, my Steam client went to the "Without connection" mode. Then I closed both, opened ASF first and then tried to log in, it allowed me to login in Online mode, but as soon as I was logged in I was without connection again (no access to friends, or store, or community features, etc).
In case it makes any difference, I'm using the pre-release V0.08, so maybe that's why.

That's strange, perhaps you can try V0.9 then. For now everybody confirmed my theory that it works for them.

Well, if you send me the V0.9 I will update the xml files and try it, but yep, it's weird.

https://github.com/JustArchi/ArchiSteamFarm/releases

Nope, nothing. Tried first having the account opened and starting ASF. Then tried having ASF opened and starting the Steam client, neither of those worked.

Strange, I have no idea why it doesn't work properly for you then.

Maybe Steam just hates me xD Either way, will keep an eye on the people that say it's working, maybe I can see some difference between them and me and figure out why is not working for me.

I released a pre-release 2, and encouraged more users to test it.
It doesn't have any crucial fixes yet, because I don't know the reason behind it, but if more users start getting similar issues, perhaps we can use common sense and find out the potential reason.

And... nothing with my main either. I tried with the pre-release2 V0.9 and still doesn't works. Maybe I'm wrong about the IP thing, I mean, it's not something official, just something that I guessed, because a friend of mine lets me use his account to farm games, and while I'm running ASF in my computer he can log in and play and do whatever, that is why I guessed that if you don't have the same IP then you can have the same account opened.
But anyway, as I said, I will keep an eye on this and make a few more tests some of these days to see if using something like Sandboxie works.

Hey Archi, nice program.
You actually can login from the same account on different PCs in one network with steam option called in-home streaming. It can be enabled in steam client preferences.

@v3rg In-home streaming is only useful to run a game into one of the computers and stream the image to the other computer. It has nothing to do with this. And yes, you can log in from different computers in the same network, but that's not the point either, what we are trying to figure out is logging into the same account two times using the same computer.

If everything fails, just use sandboxie as an alternative. The free version let you set up exactly one sandbox but it would be enough for this case.

I have in-home streaming turned off, so it's not that which is causing problems for people around here.
@Sighery nailed it. This is exactly what we're trying to do here, as it magically works for some people out of the box (e.g. me), and some people are still receiving LogonSessionReplaced error.

this ?

This could be actually the answer we're looking for.
It still leaves me with question though. Why it works for me, and not for others?
I'll give it a shot when I find some time. Thank you once again @Ne3tCode

https://github.com/SteamRE/SteamKit/pull/217
Let's wait now.

@Ne3tCode
You nailed it, setting LoginID to custom one fixed the problem for one of my friends.
I released pre4 which should work correctly for primary accounts now: https://github.com/JustArchi/ArchiSteamFarm/releases/tag/0.9.0.0-pre4

V0.9 was released which includes everything made so far, and some bugfixes/improvements compared to pre-releases. I consider this issue closed, if you spot any bug or any suggestion regarding it, please open new one.

authors: JustArchi Ne3tCode Pandiora Ryzhehvost Sighery v3rg

repo: JustArchi/ArchiSteamFarm


text:
CurveBoxes should have optional titles

CurveBoxes should have optional titles:
Usually populated with the Well name....

First draft in recent commit  but needs work so won't close - https://github.com/JustinGOSSES/wellioviz/commit/fd5b0689be76207d335f43ce809860aa3329c82c

repo: JustinGOSSES/wellioviz


text:
Should the advertisement flow throw an error if location permission is missing?

So I started trying out the library following the readme and noticed that after collecting the advertisements flow, a scanner was registered, as per the log: BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=9 mScannerId=0.
However I wasn't getting any scan record, or advertisement as the library calls it, and wondered whether I was making some mistake.
Turns out I hadn't allowed location permission, but at the same time I wondered whether the library should check for it instead of silently doing nothing. Maybe throw an error if location permission is missing? As it stands, if bluetooth is disabled when collecting the advertisements flow an error is thrown, I'd expect to do the same if location permissions are missing.
What are your thoughts?

The is definitely an oversight, Kable should throw an exception if it does not have the proper permissions.
Thanks for reporting the issue!

authors: FilippoVigani twyatt

repo: JuulLabs/kable


text:
Question about GPU Limitations

Hi there,
Sorry to bother you again. We have resolved all issues with configuration, naming errors, etc., but we're currently facing challenges with training preparation and testing due to GPU limitations. We're considering whether simplifying the model or applying data distillation on the original Goodreads dataset (planning to use only the Goodreads dataset since it's smaller) could help overcome this obstacle.  But none of them works. We would greatly appreciate your guidance if you have encountered similar issues or have any references or papers that might address this problem.
Thank you for your help!
And here's the command we use and what we lack:
For the training preparation:
python  worker.py --embed config/embed/llama-token.yaml --model config/model/llm/llama-naml.yaml --exp config/exp/llama-split.yaml --data config/data/goodreads-llama.yaml --llm_ver 7b --layer 0 --lora 0 --embed_hidden_size 4096
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 538.00 MiB. GPU 0 has a total capacity of 44.48 GiB of which 423.31 MiB is free. Including non-PyTorch
memory, this process has 44.06 GiB memory in use. Of the allocated memory 43.82 GiB is allocated by PyTorch, and 51.65 MiB is reserved by PyTorch but unallocated.
For the training and testing:
python worker.py
--data config/data/goodreads-llama.yaml
--embed config/embed/llama-token.yaml
--model config/model/llm/llama-naml.yaml
--exp config/exp/tt-llm.yaml
--embed_hidden_size 4096
--llm_ver 7b
--layer 0
--version small
--lr 0.0001
--item_lr 0.00001
--batch_size 32
--acc_batch 2
--epoch_batch -4
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 64.00 MiB. GPU 0 has a total capacity of 44.48 GiB of which 41.31 MiB is free. Including non-PyTorch me
mory, this process has 44.44 GiB memory in use. Of the allocated memory 44.09 GiB is allocated by PyTorch, and 156.03 MiB is reserved by PyTorch but unallocated.

Please refer to #6 .

Hi Jyonn,
I've tried all the solutions in the previous work, but I tried every page_size from 32, 64, 128, 256, and 512, but none of them solved the OOM problem. Since I'm using ---model llama-naml.yaml and dataset Goodreads, so maybe there's something different? I copied the entire info about my work here for reference. And for the GPU, we only have:

GPU Model: Tesla V100-PCIE-32GB
CUDA Version: 12.2
Driver Version: 535.154.05
Total Memory: 32 GB (32768 MiB)

(nlp_env) Singularity> python worker.py --embed config/embed/llama-token.yaml --model config/model/llm/llama-naml.yaml --exp config/exp/llama-split.yaml --data config/data/goodreads-llama.yaml --llm_ver 7b --la
yer 0 --lora 0 --embed_hidden_size 4096
[00:00:00] |Worker| START TIME: 2024-11-11 23:43:26.837612
[00:00:00] |Worker| python  worker.py --embed config/embed/llama-token.yaml --model config/model/llm/llama-naml.yaml --exp config/exp/llama-split.yaml --data config/data/goodreads-llama.yaml --llm_ver 7b --layer 0 --lora 0 --embed_hidden_size 4096
[00:00:00] |Worker| {
    "embed": {
        "name": "llama-token",
        "embeddings": [
            {
                "vocab_name": "llama",
                "vocab_type": "numpy",
                "path": "data/llama-token.npy",
                "frozen": true
            }
        ]
    },
    "model": {
        "name": "LLAMA-NAML.D64.L0.Lora0",
        "meta": {
            "item": "Llama",
            "user": "Ada",
            "predictor": "Dot"
        },
        "config": {
            "use_neg_sampling": true,
            "use_item_content": true,
            "max_item_content_batch_size": 512,
            "same_dim_transform": false,
            "embed_hidden_size": 4096,
            "hidden_size": 64,
            "neg_count": 4,
            "item_config": {
                "llm_dir": "meta-llama/Llama-2-7b-hf",
                "layer_split": 0,
                "lora": 0,
                "weights_dir": "data/Goodreads-Llama/llama-7b-split"
            },
            "user_config": {
                "num_attention_heads": 12,
                "inputer_config": {
                    "use_cls_token": false,
                    "use_sep_token": false
                }
            }
        }
    },
    "exp": {
        "name": "test_llm_layer_split",
        "dir": "saving/Goodreads-Llama/LLAMA-NAML.D64.L0.Lora0/llama-token-test_llm_layer_split",
        "log": "saving/Goodreads-Llama/LLAMA-NAML.D64.L0.Lora0/llama-token-test_llm_layer_split/exp.log",
        "mode": "test_llm_layer_split",
        "store": {
            "layers": [
                31,
                30,
                29,
                27
            ],
            "dir": "data/Goodreads-Llama/llama-7b-split"
        },
        "load": {
            "save_dir": null,
            "model_only": true,
            "strict": true,
            "wait": false
        },
        "policy": {
            "device": "gpu",
            "batch_size": 64
        }
    },
    "data": {
        "name": "Goodreads-Llama",
        "base_dir": "data/Goodreads",
        "item": {
            "filter_cache": true,
            "depot": "data/Goodreads/book-llama",
            "order": [
                "title"
            ],
            "append": [
                "bid"
            ]
        },
        "user": {
            "filter_cache": true,
            "depots": {
                "train": {
                    "path": "data/Goodreads/train"
                },
                "dev": {
                    "path": "data/Goodreads/dev"
                },
                "test": {
                    "path": "data/Goodreads/test"
                }
            },
            "filters": {
                "history": [
                    "x"
                ]
            },
            "union": [
                "data/Goodreads/user"
            ],
            "candidate_col": "bid",
            "clicks_col": "history",
            "label_col": "click",
            "neg_col": "neg",
            "group_col": "uid",
            "user_col": "uid",
            "index_col": "index"
        }
    },
    "llm_ver": "7b",
    "layer": 0,
    "lora": 0,
    "embed_hidden_size": 4096,
    "warmup": 0,
    "fast_eval": true,
    "simple_dev": false,
    "batch_size": 64,
    "acc_batch": 1,
    "lora_r": 32,
    "lr": 0.0001,
    "item_lr": 1e-05,
    "mind_large_submission": false,
    "hidden_size": 64,
    "epoch_batch": 0,
    "max_item_batch_size": 0,
    "page_size": 512,
    "patience": 2,
    "epoch_start": 0,
    "frozen": true,
    "load_path": null,
    "rand": {},
    "time": {},
    "seed": 2023
}
[00:00:00] |GPU| choose 0 GPU with 32497 / 32768 MB
[00:00:00] |Controller| dataset type:  book
[00:00:00] |Controller| build column map ...
loaded 71021 samples from data/Goodreads/test
[00:00:00] |CachingDep| load 1 filter caches on
        UniDep (2.0): data/Goodreads/test

        Sample Size: 71021
        Id Column: index
        Columns:
                index, vocab index (size 71021)
                uid, vocab uid (size 23089)
                bid, vocab bid (size 16833)
                click, vocab click (size 2)

loaded 68022 samples from data/Goodreads/dev
modify sample_size to 23089
loaded 23089 samples from data/Goodreads/user
[00:00:00] |Depots| Filter history with x in test phase, sample num: 71021 -> 71021
loaded 16833 samples from data/Goodreads/book-llama
[00:00:00] |Controller| Selected Item Encoder: LlamaOperator
[00:00:00] |Controller| Selected User Encoder: AdaOperator
[00:00:00] |Controller| Selected Predictor: DotPredictor
[00:00:00] |Controller| Use Negative Sampling: True
[00:00:00] |Controller| Use Item Content: True
[00:00:00] |EmbeddingHub| load pretrained embedding llama of torch.Size([32000, 4096])
[00:00:00] |EmbeddingHub| skip col history
[00:00:00] |EmbeddingHub| create vocab __cat_inputer_special_ids (3, 4096)
[00:00:00] |EmbeddingHub| create vocab __flatten_seq_special_ids (4, 4096)
[00:00:01] |EmbeddingHub| build mapping title -> llama
[00:00:01] |EmbeddingHub| load frozen vocab: llama torch.Size([32000, 4096])
[00:00:01] |EmbeddingHub| keep transform size 4096
/ext3/miniconda3/envs/nlp_env/lib/python3.9/site-packages/huggingface_hub/file_download.py:1142: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.
  warnings.warn(
Loading checkpoint shards: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:02<00:00,  1.41s/it]
Some weights of the model checkpoint at meta-llama/Llama-2-7b-hf were not used when initializing LlamaModel: ['lm_head.weight']
- This IS expected if you are initializing LlamaModel from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
- This IS NOT expected if you are initializing LlamaModel from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 16833/16833 [00:01<00:00, 16783.54it/s]
[00:00:55] |Worker| {'index': 0, 'uid': 0, 'bid': 14740, 'click': 1, 'history': [6007, 170, 11990, 4649, 6975], 'neg': [7529, 2667, 2068, 10208, 1637, 16555, 15859, 11968, 8000, 6432, 6000, 628, 10424, 11207, 752, 93, 16800, 2916, 12919, 179, 292, 4104]}
[00:00:55] |Worker| {
    "history": {
        "input_ids": {
            "natural_cat": "tensor([9, 25], dtype=torch.int64)"
        },
        "attention_mask": "tensor([9, 25], dtype=torch.int64)"
    },
    "bid": {
        "input_ids": {
            "natural_cat": "tensor([5, 25], dtype=torch.int64)"
        },
        "attention_mask": "tensor([5, 25], dtype=torch.int64)"
    },
    "click": "int",
    "uid": "int64",
    "__clicks_mask__": "tensor([9], dtype=torch.int64)"
}
  3%|█████                                                                                | 511/16833 [00:01<00:44, 363.21it/s]
Traceback (most recent call last):
  File "/scratch/yz6201/Legommenders/worker.py", line 489, in <module>
    worker.run()
  File "/scratch/yz6201/Legommenders/worker.py", line 447, in run
    self.test_llm_layer_split()
  File "/scratch/yz6201/Legommenders/worker.py", line 422, in test_llm_layer_split
    pager.run()
  File "/scratch/yz6201/Legommenders/loader/pager/base_pager.py", line 31, in run
    self._process()
  File "/scratch/yz6201/Legommenders/loader/pager/base_pager.py", line 48, in _process
    output = self.model(**features)
  File "/scratch/yz6201/Legommenders/model/operators/llama_operator.py", line 45, in get_all_hidden_states
    layer_outputs = decoder_layer(
  File "/ext3/miniconda3/envs/nlp_env/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/ext3/miniconda3/envs/nlp_env/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
  File "/ext3/miniconda3/envs/nlp_env/lib/python3.9/site-packages/transformers/models/llama/modeling_llama.py", line 305, in forward
    hidden_states = self.mlp(hidden_states)
  File "/ext3/miniconda3/envs/nlp_env/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/ext3/miniconda3/envs/nlp_env/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
  File "/ext3/miniconda3/envs/nlp_env/lib/python3.9/site-packages/transformers/models/llama/modeling_llama.py", line 155, in forward
    return self.down_proj(self.act_fn(self.gate_proj(x)) * self.up_proj(x))
  File "/ext3/miniconda3/envs/nlp_env/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/ext3/miniconda3/envs/nlp_env/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
  File "/ext3/miniconda3/envs/nlp_env/lib/python3.9/site-packages/torch/nn/modules/linear.py", line 125, in forward
    return F.linear(input, self.weight, self.bias)
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 538.00 MiB. GPU 0 has a total capacity of 31.74 GiB of which 323.12 MiB is free. Including non-PyTorch memory, this process has 31.42 GiB memory in
use. Of the allocated memory 30.91 GiB is allocated by PyTorch, and 147.89 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_
segments:True to avoid fragmentation.  See documentation for Memory Management  (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)

if this allocation of resources doesn't succeed, would you recommend us to reduce the data size like doing data distillation, etc? Or do you suggest us to reduce the model complexity? If so, could you please share some instructions based on this? Thank you for your help!

Hi, it seems you did not correctly set the page size.
As you can see in your json configuration log: "page_size": 512.
Please add --page_size 32 in the command and try again, thanks!

I honestly tried page size from 32 to 512, and they are all OOM. It's just the OOM ratio is different. So I think this method might not work for my case. Thank you for your help.

Maybe you can try --page_size 1 and --batch_size 1. It should work. Then increaze your page size and batch size.

Llama-7b might be too large for your 32G GPU, so a smaller page size could work.

Yes, you are right. I tried—-page_size 4 and—-batch_size 32 as the origin of the training preparation, and it works! But it was still too large when I tried to run worker.py on the training and testing part. It will cause around 62 hours if it's not OOM. We will try to use other resources like A100 80g if we can gain them. Thank you. But the code proves to be robust and has no problems at all.

You are welcome. Another acceleration mechanism is to use low-precise float type (e.g., bit 8) to load the LLM model. Some configuration should be added in model loading (model/operators/llama_operator.py):
self.transformer = LlamaModel.from_pretrained(self.config.llm_dir)  # type: LlamaModel

Note that, batch size is not important during preparation and try to increase the page size as large as possible.

authors: Jyonn nemesisXX

repo: Jyonn/Legommenders


text:
Re-introduce finalize batch functionality

After pressing finalize, wait until any pending processing task has completed, then re-launch GUI. Why: right now only way to create new batch is close/re-open ipmlab!

Done: https://github.com/KBNLresearch/ipmlab/commit/6d2d7fc76318d9e990863b0e227f7aa153d23964

repo: KBNLresearch/ipmlab


text:
CORR : SCF 是 Structured Control Flow

4. scf：(standard control flow) 结构化控制流，保留 for，if 等语句 中说SCF是standard control flow，应该是Structured Control Flow，具体可见 https://github.com/llvm/llvm-project/blob/9d10fbbb299eae4a63f1028274e2ffe92bf8e75a/mlir/include/mlir/Dialect/SCF/IR/SCF.h#L1

谢谢指正


text:
🛑 PLDT is down

In 656b1ad, PLDT (https://pldthome.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: PLDT is back up in 7281e98 after 27 minutes.

repo: KMHARS/uptime


text:
🛑 Cube Ent. is down

In 058aaf7, Cube Ent. (http://www.cubeent.co.kr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Cube Ent. is back up in e2bcdd6 after 6 minutes.

repo: KPOPCORD/status


text:
Update version overrides for 1.1

Noticed some build failures due to the 1.1 short version.

Do you want to clean up those "overridding"s while you're at it?

Looks like I broke my history, let me reword that commit message.

#3538 contains a KSP 1.1 version and jenkins was happy with it. :dancers:

repo: KSP-CKAN/NetKAN


text:
Update install for KerbinSideGAP

Even if your submission tested fine locally there are several errors that only the bots will note and reject. This should be expected.

Looks about right. Merging with thanks.


text:
Function to create folder structure locally

To package the tool so that it can be installed locally, write a function which creates the desired folder structure in a user-defined location.  For example, the command:
step create ./my_folder/my_myopic_model

would create the desired folder structure containing data scenarios, model, results and steps.  A second command:
step run ./my_folder/my_myopic_model

would then run the workflow on the folder structure.

I'm wondering if we should integrate this as a command or a function that checks if there is a folder structure at the current location, and if not create one?


text:
[REQUEST] incorporate the horizontal debug window from code

code recently had the debug window possible to be horizontal along the bottom. it would be most exelent to get it in KS ;)

Aye, will merge latest Code version for the next release.

authors: RobDangerous lewislepton

repo: KTXSoftware/KodeStudio


text:
Formula fails to render with: Expected node of symbol group type, but got node of type cr

Before reporting a bug

[x] Check common issues.
[x] Check the bug is reproducible in the demo. If not, check KaTeX is up-to-date and installed correctly.
[x] Search for existing issues.

Describe the bug:
The formula crashes Katex with an 'Expected node of symbol group type, but got node of type cr' error.
It can be reproduced in the online editor https://katex.org/
(La)TeX code:
The code of (La)TeX you tried to render:
\left\{
    \begin{array}\\
        w=\alpha t,\,\theta=\frac{\alpha t^2}{2} - A & 0\le t\le t_1 \\
        w=w_1=\alpha t_1,\,\theta=\alpha t_1\left( t - \frac{1}{4F}\right) & t_1\le t\le t_2 \\
        w=\alpha \left(\frac{1}{2F}-t\right),\theta= -\frac{\alpha}{2}\left(t-\frac{1}{2F}\right)^2 + A & t_2\le t \le \frac{T}{2}
    \end{array}
\right

Expected behavior:
Rendering of the array formula. See output from https://www.quicklatex.com in the screenshot.
Or alternatively, and error on what is wrong with the formula.
Screenshots:

Environment (please complete the following information):

KaTeX Version:0.16.4
Device: Desktop
OS: Linux
Browser: Firefox / Chromium
Version: 111.0.1  / 112.0.5615.49

\begin{array} takes a required argument in LaTeX, specifying column alignments. In this example, something like \begin{array}{rl} might be what you're looking for.

repo: KaTeX/KaTeX


text:
Line -height

Voor de line-height op mobiele apparaten kun je vaak een iets grotere waarde overwegen dan op desktop, aangezien schermen kleiner zijn en de tekst beter leesbaar moet zijn.  De bedoeling is om een line-height te kiezen tussen 1,4 en 1,6 keer de lettergrootte op mobiele apparaten.

Fixed in deze commit


text:
🛑 nHentai CDN-EU is down

In 6b46e4c, nHentai CDN-EU (https://eu.nhcdn.ga) was down:

HTTP code: 525
Response time: 1352 ms

Resolved: nHentai CDN-EU is back up in d214ac8.

repo: Kadantte/candy-up


text:
Bug Report: I'm getting an error while following the build guide.

I have to repost this because no one's answering me.
Ok so I had an issue with lime build windows and it gave me the error: Error: Source path "C:/HaxeToolkit/haxe/lib/extension-webm/git/ndll/Windows64/extension-webm.ndll" does not exist so I used ctrl + f to search the build guide for extension-webm. So I first ran haxelib git extension-webm https://github.com/KadeDev/extension-webm it updated what I already have. Then I tried lime rebuild extension-webm windows but it gave the error
Error: ExternalInterface.cpp
C:\HaxeToolkit\haxe\lib\hxcpp\4,2,1\include\hx\OS.h(59): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory
Please can I have some help?
@KadeDev do you know what to do?
And for the love of god can someone PLEASE answer.

I have to repost this because no one's answering me.
Ok so I had an issue with lime build windows and it gave me the error: Error: Source path "C:/HaxeToolkit/haxe/lib/extension-webm/git/ndll/Windows64/extension-webm.ndll" does not exist so I used ctrl + f to search the build guide for extension-webm. So I first ran haxelib git extension-webm https://github.com/KadeDev/extension-webm it updated what I already have. Then I tried lime rebuild extension-webm windows but it gave the error
Error: ExternalInterface.cpp
C:\HaxeToolkit\haxe\lib\hxcpp\4,2,1\include\hx\OS.h(59): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory
Please can I have some help?
@KadeDev do you know what to do?
And for the love of god can someone PLEASE answer.

make sure you have the windows building dependencies, like, all of them
reinstall them using the vsc installer

repo: KadeDev/Kade-Engine


text:
ok so fuck am trying to add note splash on option and i have no idea wat to do

Replace all that says "youroptionname" with something like "notesplash"


text:
Make directories configurable

Is your feature request related to a problem? Please describe.
I'd like to have one directory, where I can save all the Minecraft backups. Regardless of the server / container they are coming from. Right now, all backups are going to /backups which is also the place where config.yml is located and where Bedrockifier does create a .service_is_healthy file. When I point multiple Bedrockifier to the same backup folder,  I can dynamically mount the correct config.yml into the folder. But all of them are seeing the same .service_is_healthy. I assume, that's not the best case.
This feature may also be interesting for people who'd like to have the config.yaml on their docker hosts, but the backup on another machine like a NAS.
Describe the solution you'd like
I'd like to be able to specify a folder (or subfolder relative to /backups) for the *.mcworld files in config.yml.
Describe alternatives you've considered
Currently, I've no other idea. I'm also not sure what happens if Bedrockifier finds *.mcworld files from other instances in that folder. Maybe that can cause issues as well?
Additional context
Maybe I miss something here, so this is my current setup: I'm running multiple Minecraft Bedrock servers in Kubernetes. I'm using the helm charts from itzg (https://github.com/itzg/minecraft-server-charts) to deploy them. Right now, I can configure the SSH stuff there, but I'm not able to access SSH from outside the pod (a pod is an Kubernetes object which runs one or multiple containers in it). But I've submitted a pull request for this: https://github.com/itzg/minecraft-server-charts/pull/191
Meanwhile, I add Betrockifier as a sidecar container to the Bedrock server pod. Therefore, in my config.yml the line for the SSH connection always looks like this: ssh: 127.0.0.1:2222. This would prevent me to add multiple containers to one config.yml (as well as the fact that I can't connect to another Bedrock instance because of the issue described above). So I end up with multiple config.yml but I'd like to have one folder for all the *.mcworld files.

Interesting suggestion, just a couple notes on your specific thoughts below for context:

I'm also not sure what happens if Bedrockifier finds *.mcworld files from other instances in that folder. Maybe that can cause issues as well?

It will try to trim them, so there can definitely be a race condition which isn’t ideal if multiple backup services are being used with a single output directory, or worse if the trim settings are different on each (most restrictive wins). The service currently doesn’t expect that there may be output files that it doesn’t own in the backup directory. And in the situation where someone might use the same server, but refresh the world, knowing what worlds the service is allowed to trim is rather important.

Meanwhile, I add Betrockifier as a sidecar container to the Bedrock server pod. Therefore, in my config.yml the line for the SSH connection always looks like this: ssh: 127.0.0.1:2222.

Does kubernetes not offer private networks like docker compose does, where individual services would have a named address that could be used, even though the host itself is all the same address?

I will add there is rudimentary support for this using the backupsPath setting in the config file, it’s just not documented.
Trim would still be a concern but might unblock you in the short term?

Interesting suggestion, just a couple notes on your specific thoughts below for context:

Thanks. Believe me, I'm full of interesting suggestions :-) But I'm aware that this project's goal isn't to add all my special wishes ;)

I'm also not sure what happens if Bedrockifier finds *.mcworld files from other instances in that folder. Maybe that can cause issues as well?

It will try to trim them, so there can definitely be a race condition which isn’t ideal if multiple backup services are being used with a single output directory, or worse if the trim settings are different on each (most restrictive wins). The service currently doesn’t expect that there may be output files that it doesn’t own in the backup directory. And in the situation where someone might use the same server, but refresh the world, knowing what worlds the service is allowed to trim is rather important.

After thinking more carefully about it, I also found this challenge: The filenames are the world name, followed by the date/time. We cannot use the world name to filter which files we need to trim, as it might be possible to have the same world name on different servers. So we would have to change how the filename is being constructed, eg. prepending it with the name of the server.

Meanwhile, I add Betrockifier as a sidecar container to the Bedrock server pod. Therefore, in my config.yml the line for the SSH connection always looks like this: ssh: 127.0.0.1:2222.

Does Kubernetes not offer private networks like docker compose does, where individual services would have a named address that could be used, even though the host itself is all the same address?

The pod itself has a hostname, which I could use. But it's not fully predictable, as it contains a randomly generated suffix/postfix (?). I could use it if I could use environment variables in config.yml.
From outside, I have a Kubernetes object called "Service" which I can use to point to one (or multiple) pod(s). You can compare it to something like a reverse proxy. And here I have a predictable name. This is what I would use as soon as my PR gets merged into the helm chart.

I will add there is rudimentary support for this using the backupsPath setting in the config file, it’s just not documented.
Trim would still be a concern but might unblock you in the short term?

It's not a blocker, as I still can use multiple directories to backup. So no need for a hotfix here, we can discuss the issue further to have a good solution. If you think this would be an good and useful feature.

It's not a blocker, as I still can use multiple directories to backup. So no need for a hotfix here, we can discuss the issue further to have a good solution. If you think this would be an good and useful feature.

It wouldn't be a hotfix. The service is implemented such that there are more config variables (and environment variables) than are documented. These are all "advanced" settings these days that generally should never need be touched, but exist for either backwards compatibility from some of the really early stuff (from before there was a config file at all), or in the off chance it was needed.
backupPath in the config.yml will change where the service puts the backup files, but it does need to be a path that exists.

So, I just want to follow up on this, because I think this is still (mostly) doable without changes from my end.
Each Host

backups/

config.yml
.authorizedKeys
remoteFolder/ (mapped?)

nodeName/

.service_is_healthy

In the configuration file, you would then need you to set backupPath: "/backups/remoteFolder/nodeName/". With this, you'd be able to do offsite backups of the remote folder.
Another approach where you can use two mapped volumes will work as well. DATA_DIR controls where the service looks for things like config.yml and .authorizedKeys (new file). It also happens to set the backup directory, but with backupPath that can be pointed back to /backups into a subdirectory if you like.
Environment:
        DATA_DIR: "/config"

Volumes:
      # Map configuration folder into /config
      - <config volume>:/config
      # Map your backups folder into /backups
      - <your volume>:/backups
      # Map the data folders for both servers
      <snip>

config.yml:
backupPath: "/backups/nodeName"

This still leaves a couple things I can do on my end to make this cleaner in the long term though:

Make it easier to define a separate config directory, and detect it automatically if /config exists.
Either move .service_is_healthy to the config directory, or move it completely internal to the container as it is a temp file.

I've made changes that are now in the test tag to make this easier.

/config is a new directory that if you map it to a folder with config.yml, it will also be used for service-related files (.authorizedKeys, .service_is_healthy). If you don't, it will fallback to use the same path as the backup files like it does today.
/data or /backups can be mapped, and will be used for backup files.

I'll just add that I've been using this feature to push my storage of backups onto a NAS using an CIFS-based docker volume, while the config files are stored locally. This feedback has made my own setup simpler and nicer to use (no more duplicati on the server nodes themselves, less disk space needed on the nodes as well), so thanks.

authors: Kaiede tuxpeople

repo: Kaiede/Bedrockifier


text:
feat: counter contract

📝 Pull Request Title
🛠 Issue

Closes #25

📖 Description
Created a simple counter contract and wrote tests for it

@ShantelPeters this looks good overall but please move it to the contracts directory inside /starknet

authors: ShantelPeters danielcdz

repo: KaizeNodeLabs/stark-cairo-nodes


text:
[BUG]Offset appears while dragging 'field' pill

I recently embedded Graphic Walker in Jupyter Notebook (https://github.com/Kanaries/pygwalker).
Then I found Top Tabbars and Left Sidebars always cause a strange offset while dragging pills from the field list, see the GIF

I consider that it may be relative to this issue in react-beautiful-dnd
https://github.com/atlassian/react-beautiful-dnd/issues/1881

fixed in https://github.com/Kanaries/graphic-walker/commit/77cc0e6735541d9d9196665c8076a2251e34565c

It seems fixes another situation (for a fixed or transformed container) not the one in JuypterLab.

fixed

authors: AntoineYANG Asm-Def ObservedObserver

repo: Kanaries/graphic-walker


text:
Update Morgan Stanley parser

Handle GOOG stock split correctly
Treat "Staged" releases similarly to "Completed"

Thanks!

repo: KapJI/capital-gains-calculator


text:
This app can't run on your pc on Windows 11

I know that this has nothing do do with your app but i downloaded it today and it was working without problems and then it suddenly stopped  working

It either some Win 11 security option or MyAsus application somehow blocked this app
Probably more users can experience this error in near feature on win 11.,
Could you please somehow investigate this situation ?

ok false alarm (i think) - it was probably SmartScreen issue but couldn't get this running again
so i deleted this app, unzipped them once again, SmartScreen blocked it but i was able to override this and now its working since then. but kind of frustrating


text:
Close compose window

Added a method to close compose window

Hey there and thanks for the PR!
From what I can tell, this attempts to close the compose-window by emulating a user pressing ESC. Are there any known cases where this will fail?
Apart from that: The overall code looks fairly clean, and I appreciate that you've updated the TypeScript bindings. Would you be able to update the Compose-documentation in README.md too?

Hey
All works fine for me, without fail cases.
As for the documentation in README.md, I do not see a section for the Compose object.

Well there is a section but it’s absolutely lacking in coverage, I’ll give you that:
https://github.com/KartikTalwar/gmail.js/blob/master/README.md#gmaildomcomposecompose_el
If you can help start improving it, maybe I’ll get around to completing it later? 🙂👍

Done :slightly_smiling_face:
Please check.

Wow. That's absolutely fabulous! You more or less completed that section.
Good job! Consider it merged!

authors: bagbee josteink


text:
Unsupported TIFF compression: 7

Hi,
I'm running stamp preprocess and I'm using .svs files downloaded from TCGA as input. However, I keep on getting the error
Failed loading slide, continuing... Error: Unsupported TIFF compression: 7

From reading the protocol online, STAMP supports SVS file formats. I also tried .tiff and .jpeg, but nothing seems to work. I'd appreciate your help!
Thank you,
Lisa

Solved - Above error was produce on HPC and their local OpenSlide installation was likely not the right version. Then, used the container (built from container.def) and problems were resolved.

repo: KatherLab/STAMP


text:
Port the battle sequence from Augmented Tactics

Take the implementation relevant to the battle sequence in the previous prototype and port it using the FP paradigm with F#. To handle the different states in the battle sequence, a server should receive states every time an update is made and update the global game state.

[ ] Port Move action

[ ] Port Attack action

[ ] Port Defend action

[ ] Port Rotate action

[ ] Port Skip turn action

[ ] Port End turn action

[ ] Implement action points. Action points will limit how much ground a character can cover in a turn and if he/she can possibly attack during his/her turn for instance.

[ ] Add special moves for each different character class and set action points for each

While porting the different action possible during the battle sequence, it would be best to gray out actions that can only occur at specific phases of the sequence. Moreover, in order to not impact the main thread, the actions should be handled and performed by an async workflow. Right now, I will use the MailBox processor from FSharp Core. At a later moment, when issue #5 is started, I will re-designed that part in order to let the that server do the work.

Will consider this close for the moment, I will come back to this issue at a later moment.

repo: Kavignon/A-game-of-light-and-shadows


text:
🛑 ConnectWise Manage is down

In d88fa0a, ConnectWise Manage (https://connect.keeforce.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ConnectWise Manage is back up in af7eac6 after 26 minutes.

repo: KeeFORCE/upptime


text:
Image with id ... was not found in images data

Brief bug description
When attempting to get an image that is in a nested component, I get a console error: "Error in render: "Error: Image with id '...' was not found in images data". Inspecting the data shows me that there are indeed no images in my page data.
Repro steps

Insert structured content that contains a rich text element with an image into a rich text editor that has an image embedded in it.
Resolve rich text.
Page does not render, the error is thrown, no images in data.

Expected behavior
For my page to render the HTML
Test environment

Platform/OS: MacOS
Browser Chrome, Safari, Firefox
Version 6.0.0-beta9

Additional context
Seems to be related to (or possibly is a regression of) https://github.com/Kentico/kentico-cloud-js/issues/165
Just to be a little more clear, the structure of the content is like this:
Rich Text > Custom Component > Rich Text > Image

Hi @blhylton,
Can you let me know how you are using Rich text element inside a Custom element ? I'm not exactly sure how this would work.
Additionally, Is it possible for you to share the request url? You get url by calling getUrl method on any query or just see the network console tab in your browser.
Thank you for submitting the issue and any more information you can provide.

In my hurry to write all this out earlier, I forgot to mention that I'm using Vue and I'm attempting to resolve my custom structure into a Vue component, so essentially here is what is happening:

CallgetHtml() on root RichTextElement
Renders typical content (i.e. plain-old-HTML)
Attempts to render custom component using my model's RichTextResolver
Sub-component renders wrappers correctly
Attempt to render RichTextElement, if there is an image in this Element, it fails with the aforementioned error

This seems to be happening because the images in the child RichTextElement are not in the parent's image array. Obviously, they shouldn't need to be, but even if I call getHtml() or resolveHtml() in my custom components RichTextResolver, it tries to find them again when the HTML from calling either method "bubbles up" to the top.
This is honestly pretty frustrating since I can console.log the html and see that the correct image tag is already there in what is being returned from my custom RichTextResolver, but it seems like it still wants those images to be available in the root element.

Can you please share the request url or the full response you get from KC? This is really the best way how I can further investigate this issue.

Oh, I just saw you responded while I was typing that last bit.
Okay, so I have a custom element so that my client will be able to easily create two-column layouts and embed them in an already existing Rich Text Element. So my Content Type (I keep saying Component for some reason) has a Left Content and Right Content field that are Rich Text Elements.
The particular request URL that I'm testing with is https://deliver.kenticocloud.com/646ae72d-cb1e-0012-776a-08fabe8ce301/items?system.type=page&elements.friendly_url=earn&depth=30 but it has happened on other endpoints.
I'll admit, this could be something I'm doing wrong in Vue as well. Had to pick it up for this project so I could be misusing something.

Nice coincidence :-)
Thank you for the url. I'll have a look at this on Monday Morning and will update you as I go.
From what you said it seems the issue might be within the SDK. I remember having the same error before and thought it was solved for good (there are some tests for this as well). Maybe your scenario is a bit specific which I have not covered yet.

So, I did manage to fix it for my purposes, although I don't yet know if this will have any side effects.
The key to fixing it was in browser-rich-text.parser.ts starting at line 158 coupled with my comment from earlier:

This seems to be happening because the images in the child RichTextElement are not in the parent's image array. Obviously, they shouldn't need to be, but even if I call getHtml() or resolveHtml() in my custom components RichTextResolver, it tries to find them again when the HTML from calling either method "bubbles up" to the top.

Since the image resolver is only looking for the data-attributes, it was trying to re-resolve the images even though I had already "pre-compiled" the component. My quick fix was to take the pre-compiled component, find the imgs inside, and delete the imageId dataset. This obviously isn't ideal, but it is at least working for now.
I think the solution may be to check for both the existence of that data attribute (to verify that it is a content item) and that the image source is non-existent or empty (to verify that it hasn't already been resolved). If it weren't so late here I would try to set up a pull request, but it's after 4 AM right now ;). If I find time in the next few days, I'll try to get a merge request in to fix this. That being said, I don't know enough about how this resolver works to know if this would have any other side effects.

@blhylton Is there any chance you can also send me the classes & type resolvers you have? I've been trying to register my own classes & rich text resolvers on my end, but so far I haven't been able to reproduce the error.
I guess I'm still missing something and having your full context would help me understand your scenario.

Given that this is for a client, I'm not sure I want to post all of that publicly. Do you have an email or some other private comm channel where I can send it to you?

Yeah, sure, feel free to use my github e-mail -- https://github.com/Enngage

Alright, you should receive an email shortly.

@blhylton This has been a bit more challenging and we will likely have to revisit the way images are resolved within nested linked items some time in future. The main problem is within the fact that images are part of the richText field and if you have nested resolving, there is no field context as we can only know the root field on which the getHtml is called. I've solved it currently by going through all rich text fields within content item and searching for image there.
Can you try removing your temporary fix and updating to latest version 6.0.0-beta.10 and see how that works?

It appears that that did fix my issue. I'll go ahead and close this, but I wouldn't mind continuing to discuss how to improve this since we have a few clients that will likely be using this in the future.

authors: Enngage blhylton

repo: Kentico/kentico-cloud-js


text:
Fix --wsl option

Hi,
This PR addresses the WSL issues mentioned in #50. It works locally, but could probably use some more testing. Let me know what you think of the changes!
Edit: spoke too soon, release build didn't work. Removing #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] makes it work for some reason.

Ok, nvim.eval("has(\"nvim-0.4\")").await  returns an
Err(DecodeError(InvalidMessage(NotAnArray(Integer(PosInt(84))))))

consistently with windows_subsystem =  "windows", causing neovide to exit with the "Neovide requires version 0.4 or higher" message, and a 0 exit code. nvim_rs indicates here that InvalidMessage errors are indicative of neovim bugs, but I'm not sure if that's the right path to go down here.

After a bit of research into WSL io redirection issues, I guessed that using inherited Stdio for WSL's stderr was causing the rpc problems when running the release build. I changed it to used piped stderr and it worked perfectly. @Kethku I think this is actually ready for review/further testing now.
A couple specific questions I have:

Do you think I should move the WSL command building portion into a separate function? Maybe wsl_build_nvim_cmd?
Does how I cfg-gated inherited vs piped stderr seem reasonable (particularly for non-Windows)?

@calvinkosmatka I just merged a big change which changes pretty much every file in the project. It cleans up a bunch of issues and makes the architecture cleaner, but results in open PRs needing to be basically rebuilt on top of it.

I'm happy to port it if you'd like, or you can do it. Up to you :)

It looks like the parts of bridge/mod.rs that I touch here stayed mostly intact, so I think I'll be able to rebase without too much of an issue. I'll give it a try a little later today!

@Kethku A little trickier than I thought, but it's working now!

Ok I'll take a look soon. Thanks for the work!

Looks great. Thank you so much!

https://github.com/Kethku/neovide/wiki/Configuration#wsl the documentation for the feature has been added here. I'll elaborate a little in the readme too!

How would one go about using Node and Python providers from WSL rather then the Windows ones when using the --wsl option. I have my providers set to the WSL side path, but when starting Neovide using wsl it seems to default to the providers from the Windows side. Thanks in advance!

How would one go about using Node and Python providers from WSL rather then the Windows ones when using the --wsl option. I have my providers set to the WSL side path, but when starting Neovide using wsl it seems to default to the providers from the Windows side. Thanks in advance!

authors: Kethku calvinkosmatka keepitsane

repo: Kethku/neovide


text:
init后就直接报错

export APKGO_HOME=C:\Users\hubery.apkgo
unexpected end of JSON input
帮助文档: https://apkgo.com.cn
去store_config.json中按照文档配置了也不行
{
"vivo": {
"access_key": "xxx",
"access_secret": "xxx"
}
}
添加上面的key后执行 check
Initial publishers ...
curls(0), browsers(0), plugins(0)
等待浏览器保存数据 2s
+---+------+----------+--------+
|   | NAME | CATEGORY | STATUS |
+---+------+----------+--------+
+---+------+----------+--------+
我是windows，1.0.8

更新到1.0.18 看看

是1.0.18，少打了

更新到 v1.0.19, 然后麻烦截图一下报错日志


text:
Since V2 - group by arrows displayed at the end of the row

material-react-table version
2.8.0
react & react-dom versions
18.2.0
Describe the bug and the steps to reproduce it
After group by column, the groups arrows displayed at the end of the row, so the user need to scroll right in order to see there are arrows to click on in order to see all the rows.
In our production env, after refresh - the arrows displayed next to the value title (like before the migration).
In the demo env, the arrows still displayed at the end of the row after refresh.
Minimal, Reproducible Example - (Optional, but Recommended)
Link to demo env - https://mrt-preview.vercel.app/
https://github.com/yuvald-monto/mrt-preview
Table Component - https://github.com/yuvald-monto/mrt-preview/blob/main/components/TableRMT.tsx
Screenshots or Videos (Optional)
https://github.com/KevinVandy/material-react-table/assets/118466011/27b61beb-a704-4202-baa2-0390280bd8b7
We expect the arrows will be next to the grouped column:

Do you intend to try to help solve this bug with your own PR?
Yes, I think I know how to fix it and will discuss it in the comments of this issue
Terms

[X] I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

If you're managing column order state, you just - need to have the expand column in the correct position

I actually went ahead and improved this in v2.10.0 so that you don't have to manage the columnOrder state manually. MRT should now automatically insert the expand column in the correct place, even with both managed grouping and/or columnOrder state in your own scope passed down to MRT.

authors: KevinVandy yuvald-monto

repo: KevinVandy/material-react-table


text:
Key2Kidom's file

layout: slide
title: "Welcome to our second slide!"
Your text
Use the left arrow to go back!

Dope


text:
Rename Feedback to KeyboardFeedback

While certain namespaces like Autocomplete and Dictation are more general in that they can be used in other contexts, the Feedback namespace is strictly connected to the keyboard, and as such should be renamed to KeyboardFeedback.

This will be available in the RC 5 update.

repo: KeyboardKit/KeyboardKit


text:
Spectrogram-plotly-需要y軸音名

[ ] 確認看看plotly是否Y軸能加手動音名
[ ] 如果不能加音名，則移除這邊的plotly

調整結果

附註
因為音名是指數，所以把原本y軸範圍從0～10000換成100～2200了

repo: Keycatowo/audioviz-webui