Deprecate the more unusual colors

Currently, the defined colors include all primary, secondary, and teriary light and pigment colors.  Some of these, though, are unusual color names that students don't know.  This has a few consequences:

If students want to know all of the available colors, the answer is overwhelming and adds cognitive load.
If students want to fine-tune their colors, they start by looking up specific color names to memorize, when we'd prefer that they turn to deeper techniques, such as the RGB or HSL color spaces, or composition of expressions with functions like light, dark, bright, dull, or mixed.

Conclusion: perhaps the more unusual color names should be deprecated.  This means keeping only the color names that are basic expectations: red, green, yellow, blue, orange, pink, brown, purple, white, black, and gray (or grey).  Anything else could be deprecated, and eventually removed.

@alphalambda This issue tracks the side discussion from #780 about reducing color choices.  This is a compromise choice, where the really basic colors remain, but the lack of nuanced choices means students will seek out ways of customizing their colors early.

If we do this, we should also consider using something more like the casual meanings of the remaining colors, which is sometimes different from the pure colors in the RGB or HSL color spaces.  For instance, "blue" in common language usually refers to a color with a bit more green, rather than the pure blue component of RGB.
A decent reference, which is actually based on a surprising amount of data: https://xkcd.com/color/rgb/

I'll proceed with this at the same time as changing from variables to pattern synonyms (capitalized colors).  This means that the lower-case colors will be deprecated, and the smaller set of capitalized color names will replace them.
I'm implemented the capitalized color names now, but hidden them behind a warning and removed them from autocomplete, to avoid confusing students during the term.  I've also taken the liberty of defining the color names to match the most common definition of the color (relying on https://xkcd.com/color/rgb/ plus some manual tuning), rather than sticking to the standard basis vectors of the RGB color space.  This means, for example, that Blue has a little bit of green in it.
See https://code.world/#P71c0khJF8ZseizBXkYcaTw for swatches of the colors, along with their light, dark, bright, and dull variations.


Missing test cases on number rules

We need more tests on following 3 rules: Hex, Bin, Octal.
Anyone willing to contribute, please add one more function test in each of these rules' test files and check them on negative numbers, for example: -0x3A should be valid hex representation.

i'll do it

i'll do it


Release scanner if global status is not ok after calling scanner.open

What type of PR is this：

[ ] bug
[ ] feature
[x] enhancement
[ ] others

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

run starrocks_clang-format

run starrocks_clang-format

run starrocks_be_unittest


Broken Icons with MaterialDesignThemes 4.1.0

@spiegelp
I hope you are doing well.
I just noticed that the icons are broken when using MaterialDesignThemes 4.1.0
Here is the screenshot

Is this issue known? Is there fix?
Thank you and best regards,
Novak

@No1e That's a known issue if you use a newer version of MaterialDesignThemes than specified by the package (see issue #30). I did not tackle all the breaking changes since version 4.0.0 yet to be compatible.

@No1e The latest pre-release v4.0.0-a02 solves the issue.

@spiegelp
Thanks for the update. Did you consider implementing fallback, to avoid such issues in the future.
You could integrate your own set of icons (e.g. Icomoon) as a configurable fallback, in the case when the same issue comes with future releases of Material Design.
Best regards,
Nole

Unfortunately the icons are broken again. Is there any change you can remap the icons?


Add beam docs back

Just adding the old beam section back to the README now that we've added beam script back

It isn't really relevant now that I'm reading it... it assumes there is no wrapper run_data_overlap_beam calling data_overlap_beam and it needs to be implemented


fix reading proxy url from env var

We have a lot of projects that we run NSP for before deploying and our build server already uses env vars for proxy settings for all the other tools we use like npm, bower, git, etc. It would be a lot easier for us if NSP would also check env vars for proxy settings as opposed to adding an .nsprc file to each of our projects.
NOTE: lab actually code coverage actually fails claiming that the process.env.http_proxy condition is always true.  This is not the case and I can't figure out why it reports that.  If someone can explain to me why, I would gladly update the pull request if you guys think these changes should make it into the project.

how do you feel about tweaking this so that only the capitalized form works?
that should solve your coverage problem also (lab doesn't complain if the last condition in a chained statement doesn't have coverage)

I wouldn't mind doing that at all, and in fact, I tried that already.  While that unreached line error goes away, lab still complains about the "always true" (which isn't always true!!)

Looks like all that is stopping this is getting test coverage on that case. I suppose it's always set so it is always a value. We probably don't have a situation in which it's not set.
@jsolis  as nlf has taught me, the -r html reporter in lab can be super helpful in figuring out why that might be the case.

@evilpacket Agreed about -r html.  That snippet in my previous response is a screenshot of exactly that.  The only information it gave me is that the options.proxy "Condition is always true", which isn't actually true.  I tested running my code with debug statements with and without the https_proxy env variable set, and when it wasn't set, options.proxy was false just like when Conf.proxy is not set.
I even tried upgrading the lab to 7.1.0 and rerunning, but I got the same exact output.
Another thing that's interesting that you can see in my screenshot is that it also complains about Conf.proxy always being false (the tan highlight), but that's also not true, and it doesn't complain when I remove my condition after that.

@jsolis thx. I'll see if I can't debug when I get a moment today.

Any movement on this? It would be awesome to have this be part of the project as we're in the same boat with our servers using env variables for our proxy. If this has fallen out of priority I'm happy to pick it up and see if I can't get the coverage working.

@kottin - I wrote up a fix for this today. Waiting on a code review, which likely won't happen until tomorrow, but we should have the issue resolved then.
Thanks for using nsp, and helping us make it better :+1:

@jlamendo thanks for merging this :+1:  Just out of curiosity, how was this resolved?!

@jsolis No problem!
As to how it was fixed, I wrote a new test case for the alternate sources of proxy, and used a less than optimal ( but still functional ) hack to get around lab being picky. As mentioned earlier, lab is ok with the last item in a chained conditional not being hit during coverage. So I broke it into two statements so that each of the "never changing" variables could be at the end of the statement, and therefore ignored by lab.


A quick fix to get past seg faults.

The c code was expecting 32 bit integers and 1 bit integers (Bools) for boolean information. Hence pointers of julia structs containing Bools were the wrong length. This is a quick fix in that the julia structs now contain Cints and not Bools, and associated if statements have been changed to reflect the fact that fields are now of type Cint e.g. if struct.foo::Bool ... -> if struct.foo::Cint == true ....

I like your changes to src/FMI2Types.jl.
const CintThatIsActuallyABoolean = Cint fits very well in my verbose naming scheme 😅
Could you confirm the bug from #1 when uncommenting https://github.com/AnHeuermann/JuliaFMI/blob/master/src/FMUSimulator.jl#L634 and running the test before your changes? On julia-1.5.3 (Linux) it doesn't seem to crash any more, at least for me. But I think it was mostly a Windows problem any way.
Also I would like to separate the CI changes into a different PR. Before I was using Travis, but if you get the GitHub workflow running on your master branch I have no problem with changing to workflow.
Btw. I have the same problem as in https://github.com/jwscook/JuliaFMI/runs/1832087914
I had to install LightXML manually to precompile JuliaFMI.

Actions CI is failing with the same error message as https://github.com/julia-actions/julia-runtest/issues/18, so I'll need to check for circular dependencies.

Could you confirm the bug from #1 when uncommenting https://github.com/AnHeuermann/JuliaFMI/blob/master/src/FMUSimulator.jl#L634 and running the test before your changes? On julia-1.5.3 (Linux) it doesn't seem to crash any more, at least for me. But I think it was mostly a Windows problem any way.

I've uncommented that line and run it with 1.6 (on Ubuntu 20.04.2 LTS) and julia didn't seg fault during tests as before - not all the tests pass though, but it's a step in the right direction. I tried running it on a fresh 1.5 and got this error:
┌─05-Feb 13:31:41 J0731 ~/Documents/code/julia/JuliaFMI/test (branch:  )
└─$julia1.5 --project=..
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.5.4-pre.0 (2020-11-10)
 _/ |\__'_|_|_|\__'_|  |  release-1.5/599ecd8210 (fork: 179 commits, 273 days)
|__/                   |

(JuliaFMI) pkg> instantiate
ERROR: AssertionError: sourcepath !== nothing
Stacktrace:
 [1] is_package_downloaded at /home/cookj/builds/julia-1.5/usr/share/julia/stdlib/v1.5/Pkg/src/Operations.jl:1670 [inlined]
 [2] #12 at /home/cookj/builds/julia-1.5/usr/share/julia/stdlib/v1.5/Pkg/src/Operations.jl:113 [inlined]
 [3] _all(::Pkg.Operations.var"#12#13"{Pkg.Types.Context}, ::Array{Pkg.Types.PackageSpec,1}, ::Colon) at ./reduce.jl:828
 [4] #all#638 at ./reducedim.jl:735 [inlined]
 [5] all at ./reducedim.jl:735 [inlined]
 [6] is_instantiated at /home/cookj/builds/julia-1.5/usr/share/julia/stdlib/v1.5/Pkg/src/Operations.jl:113 [inlined]
 [7] instantiate(::Pkg.Types.Context; manifest::Nothing, update_registry::Bool, verbose::Bool, platform::Pkg.BinaryPlatforms.Linux, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /home/cookj/builds/julia-1.5/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:828
 [8] instantiate(::Pkg.Types.Context) at /home/cookj/builds/julia-1.5/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:795
 [9] #instantiate#169 at /home/cookj/builds/julia-1.5/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:791 [inlined]
 [10] instantiate() at /home/cookj/builds/julia-1.5/usr/share/julia/stdlib/v1.5/Pkg/src/API.jl:791
 [11] do_cmd!(::Pkg.REPLMode.Command, ::REPL.LineEditREPL) at /home/cookj/builds/julia-1.5/usr/share/julia/stdlib/v1.5/Pkg/src/REPLMode/REPLMode.jl:401
 [12] do_cmd(::REPL.LineEditREPL, ::String; do_rethrow::Bool) at /home/cookj/builds/julia-1.5/usr/share/julia/stdlib/v1.5/Pkg/src/REPLMode/REPLMode.jl:382
 [13] do_cmd at /home/cookj/builds/julia-1.5/usr/share/julia/stdlib/v1.5/Pkg/src/REPLMode/REPLMode.jl:377 [inlined]
 [14] (::Pkg.REPLMode.var"#24#27"{REPL.LineEditREPL,REPL.LineEdit.Prompt})(::REPL.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at /home/cookj/builds/julia-1.5/usr/share/julia/stdlib/v1.5/Pkg/src/REPLMode/REPLMode.jl:546
 [15] #invokelatest#1 at ./essentials.jl:710 [inlined]
 [16] invokelatest at ./essentials.jl:709 [inlined]
 [17] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /home/cookj/builds/julia-1.5/usr/share/julia/stdlib/v1.5/REPL/src/LineEdit.jl:2355
 [18] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /home/cookj/builds/julia-1.5/usr/share/julia/stdlib/v1.5/REPL/src/REPL.jl:1144
 [19] (::REPL.var"#38#42"{REPL.LineEditREPL,REPL.REPLBackendRef})() at ./task.jl:356

julia>
                                                                                [ 22s562 | Feb 05 13:34:26 > Feb 05 13:34:49 ]
┌─05-Feb 13:34:49 J0731 ~/Documents/code/julia/JuliaFMI/test (branch:  )
└─$julia1.5 --project=.. runtests.jl
ERROR: LoadError: ArgumentError: Package Zlib_jll does not have JLLWrappers in its dependencies:
- If you have Zlib_jll checked out for development and have
  added JLLWrappers as a dependency but haven't updated your primary
  environment's manifest file, try `Pkg.resolve()`.
- Otherwise you may need to report an issue with Zlib_jll
Stacktrace:
 [1] require(::Module, ::Symbol) at ./loading.jl:906
 [2] include(::Function, ::Module, ::String) at ./Base.jl:380
 [3] include(::Module, ::String) at ./Base.jl:368
 [4] top-level scope at none:2
 [5] eval at ./boot.jl:331 [inlined]
 [6] eval(::Expr) at ./client.jl:467
 [7] top-level scope at ./none:3
in expression starting at /home/cookj/.julia/packages/Zlib_jll/BGVLi/src/Zlib_jll.jl:5
ERROR: LoadError: LoadError: Failed to precompile Zlib_jll [83775a58-1f1d-513f-b197-d71354ab007a] to /home/cookj/.julia/compiled/v1.5/Zlib_jll/xjq3Q_94zM6.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1305
 [3] _require(::Base.PkgId) at ./loading.jl:1030
 [4] require(::Base.PkgId) at ./loading.jl:928
 [5] require(::Module, ::Symbol) at ./loading.jl:923
 [6] include(::Function, ::Module, ::String) at ./Base.jl:380
 [7] include(::Module, ::String) at ./Base.jl:368
 [8] top-level scope at /home/cookj/.julia/packages/JLLWrappers/WnWcZ/src/toplevel_generators.jl:170
 [9] include(::Function, ::Module, ::String) at ./Base.jl:380
 [10] include(::Module, ::String) at ./Base.jl:368
 [11] top-level scope at none:2
 [12] eval at ./boot.jl:331 [inlined]
 [13] eval(::Expr) at ./client.jl:467
 [14] top-level scope at ./none:3
in expression starting at /home/cookj/.julia/packages/XML2_jll/Slt3Q/src/wrappers/x86_64-linux-gnu.jl:4
in expression starting at /home/cookj/.julia/packages/XML2_jll/Slt3Q/src/XML2_jll.jl:8
ERROR: LoadError: Failed to precompile XML2_jll [02c8fc9c-b97f-50b9-bbe4-9be30ff0a78a] to /home/cookj/.julia/compiled/v1.5/XML2_jll/xWVg2_94zM6.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1305
 [3] _require(::Base.PkgId) at ./loading.jl:1030
 [4] require(::Base.PkgId) at ./loading.jl:928
 [5] require(::Module, ::Symbol) at ./loading.jl:923
 [6] include(::Function, ::Module, ::String) at ./Base.jl:380
 [7] include(::Module, ::String) at ./Base.jl:368
 [8] top-level scope at none:2
 [9] eval at ./boot.jl:331 [inlined]
 [10] eval(::Expr) at ./client.jl:467
 [11] top-level scope at ./none:3
in expression starting at /home/cookj/.julia/packages/LightXML/g6rbQ/src/LightXML.jl:3
ERROR: LoadError: LoadError: Failed to precompile LightXML [9c8b4983-aa76-5018-a973-4c85ecc9e179] to /home/cookj/.julia/compiled/v1.5/LightXML/a89nj_94zM6.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1305
 [3] _require(::Base.PkgId) at ./loading.jl:1030
 [4] require(::Base.PkgId) at ./loading.jl:928
 [5] require(::Module, ::Symbol) at ./loading.jl:923
 [6] include(::Function, ::Module, ::String) at ./Base.jl:380
 [7] include at ./Base.jl:368 [inlined]
 [8] include(::String) at /home/cookj/Documents/code/julia/JuliaFMI/src/JuliaFMI.jl:6
 [9] top-level scope at /home/cookj/Documents/code/julia/JuliaFMI/src/JuliaFMI.jl:10
 [10] include(::Function, ::Module, ::String) at ./Base.jl:380
 [11] include(::Module, ::String) at ./Base.jl:368
 [12] top-level scope at none:2
 [13] eval at ./boot.jl:331 [inlined]
 [14] eval(::Expr) at ./client.jl:467
 [15] top-level scope at ./none:3
in expression starting at /home/cookj/Documents/code/julia/JuliaFMI/src/modelDescriptionParsing.jl:6
in expression starting at /home/cookj/Documents/code/julia/JuliaFMI/src/JuliaFMI.jl:10
ERROR: LoadError: LoadError: Failed to precompile JuliaFMI [32430f9e-34ed-11e9-2e7d-ffb2dc54003b] to /home/cookj/.julia/compiled/v1.5/JuliaFMI/HvBJh_94zM6.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1305
 [3] _require(::Base.PkgId) at ./loading.jl:1030
 [4] require(::Base.PkgId) at ./loading.jl:928
 [5] require(::Module, ::Symbol) at ./loading.jl:923
 [6] include(::String) at ./client.jl:457
 [7] top-level scope at /home/cookj/Documents/code/julia/JuliaFMI/test/runtests.jl:12
 [8] include(::Function, ::Module, ::String) at ./Base.jl:380
 [9] include(::Module, ::String) at ./Base.jl:368
 [10] exec_options(::Base.JLOptions) at ./client.jl:296
 [11] _start() at ./client.jl:506
in expression starting at /home/cookj/Documents/code/julia/JuliaFMI/test/tests.jl:6
in expression starting at /home/cookj/Documents/code/julia/JuliaFMI/test/runtests.jl:12
                                                                                [ 8s434 | Feb 05 13:34:52 > Feb 05 13:35:01 ]

Incidentally that's the same error that Actions CI is getting so I'll take a look at that. Anyway, I added LightXML before trying to instantiate:
┌─05-Feb 13:35:01 J0731 ~/Documents/code/julia/JuliaFMI/test (branch:  )
└─$julia1.5 --project=..
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.5.4-pre.0 (2020-11-10)
 _/ |\__'_|_|_|\__'_|  |  release-1.5/599ecd8210 (fork: 179 commits, 273 days)
|__/                   |

(JuliaFMI) pkg> add LightXML
  Resolving package versions...
  Installed DataAPI ─ v1.5.1
No Changes to `~/Documents/code/julia/JuliaFMI/Project.toml`
Updating `~/Documents/code/julia/JuliaFMI/Manifest.toml`
  [0dad84c5] - ArgTools
  [56f22d72] + Artifacts v1.3.0
  [e66e0078] + CompilerSupportLibraries_jll v0.3.4+0
  [9a962f9c] ↑ DataAPI v1.5.0 ⇒ v1.5.1
  [f43a241f] - Downloads
  [b27032c2] - LibCURL
  [deac9b47] - LibCURL_jll
  [29816b5a] - LibSSH2_jll
  [c8ffd9c3] + MbedTLS_jll v2.16.8+1
  [14a3606d] - MozillaCACerts_jll
  [ca575930] - NetworkOptions
  [fa267f1f] - TOML
  [a4e569a6] - Tar
  [02c8fc9c] ↓ XML2_jll v2.9.11+0 ⇒ v2.9.10+3
  [83775a58] + Zlib_jll v1.2.11+18
  [8e850ede] - nghttp2_jll

(JuliaFMI) pkg> instantiate

(JuliaFMI) pkg>

and then it ran in the same way as on 1.6.

Also I would like to separate the CI changes into a different PR.

Yup.

@AnHeuermann are you happy with this to be merged in?


Stop showing past shifts as if they were upcoming

Shifts that have an END TIME past the current time/date should appear at the bottom of the page underneith the calendar

I see this when I log in at the moment:

It shouldn't be showing the month of April calendar, and it shouldn't show my upcoming shifts that I have already done.
I'm still going to show your upcoming shift if it happened today - I'll treat "upcoming" as anything from tomorrow onwards.

Need to update https://www.pillarpointstewards.com/shifts/ too - which has an "Upcoming shifts" header.
For the moment I'm going to change that header to just say "All shifts" and leave it at that. We may decide to add more pages for past events in the future - and probably a user profile page too.


Allow version of ElasticSearch to be specified (#303)

Allow version of ElasticSearch to be specified

Update roles/servicetelemetry/templates/manifest_elasticsearch.j2

Update deploy/crds/infra.watch_servicetelemetrys_crd.yaml

Co-authored-by: Chris Sibbitt<EMAIL_ADDRESS>

Sync CRD to bundle

Update ES target version to latest

Update deploy/olm-catalog/service-telemetry-operator/manifests/service-telemetry-operator.clusterserviceversion.yaml

Co-authored-by: Chris Sibbitt<EMAIL_ADDRESS>
Update deploy/crds/infra.watch_v1beta1_servicetelemetry_cr.yaml

Co-authored-by: Chris Sibbitt<EMAIL_ADDRESS>
Update Jenkinsfile to latest ES

Co-authored-by: Chris Sibbitt<EMAIL_ADDRESS>Cherry picked from commit 39c77c71e093903cc25213c0021ec507a9a727bd
Resolves: rhbz#2032661

test

Unfortunately it looks like CI is currently down, so functional testing will probably not happen today.

@csibbitt if you don't mind babysitting this and dealing with the merging some point before the holidays it would be much appreciated! Once merged the documentation change (backport) is available at https://github.com/infrawatch/documentation/pull/360

CI keeps failing, and I think it needs this to fix it: https://github.com/infrawatch/sg-core/pull/80


find-links causing local wheel path to expand to absolute path when creating lockfile

I'm working in a repo that uses several wheels for the same package, each one targeting a different architecture, stored in a directory local to the repo (packages/package-a). I'm using uv 0.3.1 and am on a Mac (M1). To accomplish installing the package across environments, I'm using the following setup in pyproject.toml:
dependencies = [
  "package-a>=0.1.2,<1.0.0"
]

[tool.uv]
find-links = [
  "packages/package-a"
]

This allows uv to discover the wheel properly, but when creating a uv.lock file with uv lock, it expands the file path to the absolute path on my system. This breaks portability when sharing amongst a team and when in CI. I'm wondering if this can be updated to be relative? I've tried doing file:///packages/package-a andfile:///./packages/package-a and neither seem to work in find-links, giving me the error
error: Failed to read `--find-links` directory: /packages/package-a
  Caused by: failed to read directory `/packages/package-a`
  Caused by: No such file or directory (os error 2)

I also tried file://./packages/package-a and got
error: Expected a file URL, but received: file://./packages/package-a

Funny, we have tests for this, but the tests also resolve to the absolute path, so just an oversight 🤦

Fixed in https://github.com/astral-sh/uv/pull/6566.


Make File use own work queue and clean up unit test performance

Change-Id: I64e7a1f7f3df36007279c385dca9118d63d1e286

@mit-cml/core-reviewers Note that while this technically affects the iOS companion, I have intentionally submitted it against master since it addresses some unit test performance issues that can cause Jenkins to incorrectly fail the tests. Once this is merged into master I will merge master into ucr to pick up the changes there.


Incorporate scope inference

Codecov Report

Merging #101 (584ce9f) into main (3e34996) will decrease coverage by 0.09%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main     #101      +/-   ##
==========================================
- Coverage   98.53%   98.44%   -0.10%
==========================================
  Files         126      127       +1
  Lines        4220     4231      +11
  Branches      595      598       +3
==========================================
+ Hits         4158     4165       +7
- Misses         30       32       +2
- Partials       32       34       +2

Impacted Files
Coverage Δ

xpresso/applications.py
96.03% <ø> (ø)

xpresso/routing/operation.py
100.00% <ø> (ø)

xpresso/routing/websockets.py
92.59% <ø> (ø)

xpresso/_utils/scope_resolver.py
60.00% <60.00%> (ø)

tests/test_request_params/test_params_cookies.py
100.00% <100.00%> (ø)

xpresso/dependencies/_dependencies.py
100.00% <100.00%> (ø)


Insert Snippet in Release Desciption

Can I insert this as a script in the description from a release?

Do you mean you want a permalink to a specific page?

Yes, or as a Image!

Please note that you can now get a permalink to a specific page. Example: http://www.somsubhra.com/github-release-stats/?username=twbs&repository=bootstrap

OK, i try this:
http://www.somsubhra.com/github-release-stats/?username=cniweb&repository=openhab-syno-spk
But can i give a link for only one release stat?

But can i give a link for only one release stat?

Having the ability to link to a single release as well, would be very nice and handy!
E.g. by adding &release=tagname to the url
http://www.somsubhra.com/github-release-stats/?username=twbs&repository=bootstrap&release=v1.0.1


Incorrectly interpreting negations in .npmignore

I have the following npmignore:
*
!src/**/*

e.g ignore everything apart from anything in src. This works with npm, however now only uploads  package.json and ignores the src directory so my app fails to start.
If I remove .npmignore now works as expected.

Just to update, adding:
"now": {
  "files:": ["src"]
},

to package.json still only results in package.json being uploaded.

I also tried updating .npmrc to:
*
!src/**/*

And specifically adding the file:
"files:": ["src/index.js"]

However that also didn't work. This seems to contradict the docs: https://zeit.co/docs/features/configuration#"files"-(array)

Did you try using package.json files property instead of .npmignore? Sounds like you tried in addition to.
This works for me without any dotfiles:
{
    "name": "my-package",
    "files": [
        "src"
    ]
}

That should deploy everything inside src.

I was on npm@4 due to issues with npm@5 which doesn't work properly with files. Just upgraded to npm@5 as I've heard it's much better now, although now has just failed on me so I can't actually deploy to test.
https://github.com/zeit/now-cli/issues/857

Same issue on fresh Ubuntu VM with latest now :/

@sholladay I got now working again, can confirm just using files works. However this is still a bug.
Just .npmignore with:
*
!src/**

means now correctly interprets the * but doesn't apply the !src/**.

@lukechilds Apologies for the delay - are you still seeing this problem?

Yep, still occurs.

Thank you so much for the effort you have put into this issue! 😊
However, since we completely re-worked the entire codebase of Now CLI and this issue does not apply to the new code anymore, I'm closing it now.
You can read more about our biggest release yet here: https://zeit.co/blog/now-2


Delay indicator transition

Hi, Is there anyway I could  adjust the  delay of  indicator  transition when swiping?
I want the transition of indicator like this

As can be seen, the indicator changes when the previous/next slider almost touches edge of the screen
And is there a way that I can disable the swipe gesture and only use button for prev & next instead?

For you first question, I'm afraid that's not currently supported.
For your second question I would try scrollEnabled=false


action on exit/timeout

Is there any way to call an action once the modal disappears due to clicking the exit icon or it times out?

I currently have this solved by adding toast_login_invalid: null to data() { ... } and assigning $toast call to this.toast_login_invalid and then using $watch on 'toast_login_invalid.active' to ultimately watch for when it is destroyed.
I have a feeling those watchers and toast components will fill up memory after a while for long lived interfaces


[BUG] ENS avatar size

Describe the Bug
ENS avatar resolution is not fixed and so extends to the entire image size.
To Reproduce
Steps to reproduce the behavior:

Go to Dashboard (https://app.olympusdao.finance/#/dashboard)
Click on Wallet
See that the ENS avatar is taking the full size.

Expected Behavior
Avatar should have a fixed size.
Workarounds (if any)
Setting a width and height for an avatar.

i ll work on this @appleseed-iii  🙇🏻


hi.....Is there anything here that i can contribute to????

Yes you can, maybe adding another complement like a modal o acordeón o toast notification

could you elaborate a bit....thanks

Sure, I'm going to create the issues to be more clear


Use HEAD instead of @ and fetch --unshallow on update. Closes #79

See #79.
agross@router ~
$ zplug update
Updating...  zsh-users/zsh-syntax-highlighting
Updating...  rhysd/zsh-bundle-exec
Updating...  agross/rapid-git
Updating...  b4b4r07/zplug
Updating...  bobthecow/git-flow-completion
Updating...  plugins/ssh-agent
Updating...  holman/dotfiles
Up-to-date   rhysd/zsh-bundle-exec              (1.11s)
Up-to-date   b4b4r07/zplug                      (1.15s)
Up-to-date   zsh-users/zsh-syntax-highlighting  (1.38s)
Up-to-date   bobthecow/git-flow-completion      (1.38s)
Up-to-date   holman/dotfiles                    (1.41s)
Updated!     agross/rapid-git                   (1.60s)
Up-to-date   plugins/ssh-agent                  (1.99s)
[4]    27549 done       { trap  INT; local k bg_pid ret=1; local -A zspec; zspec=() ; for k in ; do;
[6]  - 27554 done       { trap  INT; local k bg_pid ret=1; local -A zspec; zspec=() ; for k in ; do;
[10]  + 27573 done       { trap  INT; local k bg_pid ret=1; local -A zspec; zspec=() ; for k in ; do;

I don't know what these trap INT lines are supposed to say, but at least the update was made.

Thank you for the contribution!


Release Checklist 1.32

Issues in Release

[x] #3629 improve group loading page layout @Maurier
[x] #3735 The map tab on the Discover page never completes loading @Maurier
[x] #3249 Migrate geographic raster resources to composite resource type @sblack-usu
[x] #3803 Copy Discoverable Resource Bug @sblack-usu
[x] #3807 Update HydroShare Legend with content types @sblack-usu
[x] #3534 Manage access not working for groups @Maurier (This bug still exists.  I'm leaving the changes for this issue as it does not introduce regressions.)
[x] #3804 Word wrap needed in display of aggregation metadata text @sblack-usu

Beta Deployment

[x] Diff RC to master to identify and manually make changes in the following files:

hsctl
config/hydroshare-config.yaml
nginx/config-files/hydroshare-ssl-nginx.conf.template
scripts/templates/docker-compose.template

[x] Changes in hydroshare/local_settings.py need to be coordinated for manual update
[x] Deployed to Beta
[x] check_resource beta results match current www results
[x] Review the search and discovery pages
[x] Create a new user and update profile
[x] Create iROD account, test connection and delete iROD account
[x] Create a new resource, check sharing/permission settings, delete new resource
[x] Developers test around issues
[x] QA testing around issues
[ ] Stakeholders approval

Production Deployment

[ ] Deployed to Production

Make manual changes to files identified in Beta Deployment

[ ] Maps API key is correct and maps are displaying correctly
[ ] check_resource www results match pre-deployment www results
[ ] Review the search and discovery pages
[ ] Create a new user and update profile
[ ] Create iROD account, test connection and delete iROD account
[ ] Create a new resource, check sharing/permission settings, delete new resource
[ ] Developers test around issue

Notes relevant to deployment

[Enter Notes here]

No issues


Optional chaining: inconsistent behavior

Hello! 👋 I found an issue and I don't know how to explain it (potential bug). I know optional chaining is not fully implemented (https://github.com/facebook/flow/issues/6613) but this seems to be different issue (?). Look at the following code:
// @flow strict

const obj: ?{ field?: ?string } = null;

function variant1() {
  if (obj == null || obj.field == null) {
    return null;
  }

  // Doesn't fail, why?
  // See: https://mrtnzlml.com/docs/javascript#dangerous-getters
  const value: string = obj.field;
}

function variant2() {
  if (obj?.field == null) {
    return null;
  }

  // You could fix it with this:
  // const field = obj?.field;
  // if (field == null) {
  //   return null;
  // }

  // Fails, why? How is it different from the first variant?
  const value: string = obj.field;
}

Both variants seem to be doing the same but they behave differently. The first variant fails but I always considered it to be valid because of how getters can be dangerous, see: https://mrtnzlml.com/docs/javascript#dangerous-getters
But I'd expect that the first variant would fail for the same reason but it doesn't. Why is it behave differently and what is the actual explanation here?
Thank you very much for having a look. :)

This already asked before here https://github.com/facebook/flow/issues/6613

So is it the same issue after all? I am closing this one then. I really wasn't sure it's the same problem. Thanks! :)


[Request for External] - codeunit 5980 "Service-Post"- SendPostedDocumentRecord

Describe the request
Hell, could we please remove the Scope'OnPrem' tag on this procedure ?
Additional context
We need this procedure without scope('OnPrem') So we can use it in a cloud extention.
Internal work item: AB#527550

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: .


Documentation on apisnoop is reached easily from frontend

Request: The purpose and usage of apisnoop is easily discovered from frontend
Short description:

Current state:

our documentation exists within github, but there is no indicator for use on site.

Desired state:

helpful design and text illustrates what apisnoop is meant for, and how to use it.  If needed, there are links to github documentation.

Tasks:

[ ] (Add tasks to achieve desired state)

@zachmandeville: There are no sig labels on this issue. Please add a sig label.

A sig label can be added by either:

mentioning a sig: @kubernetes/sig-<group-name>-<group-suffix>
e.g., @kubernetes/sig-contributor-experience-<group-suffix> to notify the contributor experience sig, OR

specifying the label manually: /sig <group-name>
e.g., /sig scalability to apply the sig/scalability label

Note: Method 1 will trigger an email to the group. See the group list.
The <group-suffix> in method 1 has to be replaced with one of these: bugs, feature-requests, pr-reviews, test-failures, proposals
Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Will need to revisit this idea in different form, since the shape of apisnoop has changed.  Much of the way someone works with apisnoop is when test-writing, and using apisnoop to query the db from an org file.  Because of this, there is documentation focused on test writers accessible from the repo at /docs.  Am unsure if docs is needed in same way on our homepage, and what audience theyd' be intended for.  When determined, a ticket should be made to address that need specifically


ChatBot

Related Issue #104
I have changed the chatbot icon. Please check

@dakshsinghrathore Please check this out. I have the bot style.


How to hide TALMemo's scrollbar?

Hi,
As mentioned in the title, my Firemonkey program runs on Windows, and I need to hide the scrollbar of TALMemo. But I didn't find how to achieve it.

TALMemo, TALEdit, etc. are not very well designed to work on windows. they are mostly made to work on android/ios. on windows TALMemo is just a wrapper of TMemo. But you are right I see that we miss the ShowScrollBar property :( mostly because on ios / android the scrollbar is always hidden and showed only when you move your finger on the screen so I never had the need to hide the scrollbar. as the Tmemo have this property it's will be not difficult to make a wrapper to this property from TALScrollBar


For loop and LayoutBuilder [Bug or Wrong Coding]

List<Widget> _temp = [];

for(int i = 0; i < 10; i++) {
   if(i == 0) { string = "Hello"; } else { string = "World"; }
   _temp.add(Container(
      child: LayoutBuilder(
        builder: (context, constraint) {
          return Text(string); //This return line makes problem with the for loop
        })
   ));
}

return _temp;

_temp has list of widget which is sent back to Column.
The child in the column should print Hello and the remaining children should print World
But the return statement in LayoutBuilder is causing some problem.
Because of that, _temp contains ten Text widget with the string World. There is no Hello in the output
Is it a bug or am i making a mistake?
What is the real solution for this?

Hi @maheshkumar2150
This platform is not met for assistance on personal code.
Please see https://flutter.dev/community for resources for asking questions like this,
you may also get some help if you post it on Stack Overflow.
Don't forget to declare the variable string
  String string;
   if(i == 0) { string = "Hello"; } else { string = "World"; }

also this approach might make your life easier

Sample code
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context)=> MaterialApp(home: HomePage());
}

class HomePage extends StatelessWidget {

  @override
  Widget build(BuildContext context) => Scaffold(
    body: ListView(
      children: List<Widget>.generate(10, (i)=> Text(
        i<1
        ?'hello'
        :'world'),),
  ),);
}

Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you

The sample code works perfectly. Only it causes problem when i use any builder widget (ex. LayoutBuilder). Because builder widget has to return another widget.
The return statement in that builder function causes the problem.
I made the code to work in two different ways. I just posted here to get some idea about the problem.
_temp.add(Container(
      child: Text(string); //this works without any problem.
   ));

honestly, Just to learn, i posted the question here. Because i was not able to visualize exactly what is happening.
Thanks


format tmp not supported

Hi,
When i want create a media with MediaUpload field, i have this error : Encoding format (tmp) is not supported.
How do I get out of this?
Thank you for answering me.
PS: I did not modify the base models

Sounds like an issue with your environment.  I'm sure how how to help you.  The image manipulation is handled by a vendor package.

I researched this a bit more and found an issue with the mime handling of Intention Image when no filename extension is provided.  I have published a fix for this in the newest release.


Categorize Notebooks

Why
Present our notebooks in a similar manner:

How
No response
What

[ ] Decide on some key-categories
[ ] Decide on 1 notebook per category
[ ] Create section in README for each category
[ ] Create gif representative of that category

@blythed
I still need two things from your:

Finalize the categories (to have at least 6)
One-liners for the core functionality of each snippet in the tutorial/how-to

(Already there) current integrations: https://github.com/SuperDuperDB/superduperdb#currently-supported-more-coming-soon
Add to those examples: "transfer learning" and "classical machine learning"


Add TableView DnD docs

✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

Dragging seems to take two clicks the first time for some reason.

Investigating, not sure why this is happening.

Should this be updated to include a custom drag preview section?

Should this be updated to include a custom drag preview section?

@ktabors Good idea, I'll add that since it will be merged after release anyway.


Customized world Generation?

I've been trying for the past few days to either import a world with custom generation, or let my server do it for me. I tried using the generator-settings in server.properties in my vanilla test world and it worked just fine, but when I use it in my main server, the world turns out default (with the exception of my fixedbiome being ocean). So it seems like something is causing the world to not generate like it would in vanilla. While I can't guarantee this is caused from Multiverse, I can say Multiverse is the only plugin I have that handles the worlds, so I could only imagine it's caused by this. Just in case, I've attached a photo of my plugins below.

Can you try turning your server off (or test locally), only using Multiverse, specifying your world generation and then seeing if it works? Remember to modify the config files while the server is offline.

I managed to solve this issue almost a year ago by manually loading all the chunks in a singleplayer world, then importing the world to my server. It's not the prettiest solution, but considering I'm no longer actively working on my server, I figured I'd suggest my crude solution and call it at that.


Nix Flake for Darwin

Please include a support for Nix Darwin flake users

There are other discussions and issues about this. Please use those.

For other ppl's reference, I believe this is one of the active discussions being alluded to: https://github.com/ghostty-org/ghostty/discussions/2824


fix: race condition in python rt print

much simpler approach
replaces https://github.com/autokitteh/autokitteh/pull/796

isn't this the original solution that we had before ?

isn't this the original solution that we had before ?

you didn't have the go statement that listens for the channels in the Execute method when it's not an initialCall.


"Reveal in Finder" on OS X not working on a German / Norwegian / Swedish / Danish keyboard

"Reveal in Finder" on OS X not working on a German / Norwegian / Swedish / Danish keyboard
"Reveal in Finder" is ⇧⌘\ while Tree View's "Toggle" is ⌘\
This is a problem since \ (backslash) is ⇧-Ctrl-7 on a German / Norwegian / Swedish / Danish keyboard
So "Reveal in Finder" simply does a "Toggle" instead.
Could the default key mapping for one of these be mapped to another key combination in order for them not to conflict?
Thanks.

Atom currently cannot handle foreign keyboard layouts correctly - see atom/atom-keymap#35 for more information.
As a workaround, you can try installing the keyboard-localization package.


POC - Selector based injection for all available agents

Description

This POC uses selectors rather than annotations to inject instrumentation.
This replicates secrets from some base (not determined yet) namespace to the pod namespace. [^1]
This merges the main branch and feat/poc features, along with some additional changes:

Sorting some declarations
Support for selector instrumentation per language, where each could use a different secret or language combo. [^2] [^3] [^4]
Using a custom secret name is broken

Type of change

[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] New feature / enhancement (non-breaking change which adds functionality)
[ ] Security fix
[ ] Bug fix (non-breaking change which fixes an issue)

Checklist:

[ ] Documentation has been updated
[ ] This change requires changes in testing:

[ ] unit tests
[ ] E2E tests

[^1]: There's no mechanism to update/patch/delete secrets in the case of a collision or rotating secrets
[^2]: This won't work if the pod has multiple containers with different languages
[^3]: Only the first container can be selected, except with Go, due to it having a specific annotation for which container to target
[^4]: If we could target multiple containers for instrumentation in a pod with different languages, We'd also need to fix volumes

I'm going to assume you don't actually need review yet from the agent teams who are getting pinged as code owners. When you need our review on something please ping each of the teams either with an @ here or on Slack.


Add a few tests for KubernetesConfigDataLocationResolver

@ryanjbaxter  breaking changes not allowed anymore, right?

this one is ready too... thank you


Spine Animation that works on pixi 7 and 6 doesn't work on pixi 8

Hello guys. I am currently trying to run some spine animations after migration from pixi 7 to pixi 8. Some weird artifacts appear (looks like scaling or improper reading of the spritesheet coordinates). I am attaching a screenshot of a moment when such artifact appears. The fiery outline should appear on the lemon, not "moved" away from it. The interesting thing is that if I enable the spine debug with the following setup( everything is disabled), the animation starts to appear properly. Once I disable the debugger it bugs again.

public static attachSpineDebug(spine: Spine): void {
    const debug = new SpineDebugRenderer();

    debug.drawRegionAttachments = false;
    debug.drawMeshTriangles = false;
    debug.drawMeshHull = false;
    debug.drawBones = false;
    debug.drawPaths = false;
    debug.drawBoundingBoxes = false;
    debug.drawClipping = false;
    debug.drawEvents = false;
    spine.debug = debug;
  }

how it is >>>>

I have tried several combinations of pixijs and spine v8 plugin but none seem to fix the issue. Currently trying with pixi 8.2^ and spine pixi 2.0.2.
The spine version is 4.2.33
We tried exporting in several different formats and versions from the spine editor and none seem to work. The animation itself runs fine in spine editor and as I previously mentioned with pixi 7 and pixi 6.
Any ideas what could possibly be done to fix this issue ? I can also provide the animation in private if it would help

+1

That's difficult to debug without the animation. I can work on that, if you can provide the animation to me.

That's difficult to debug without the animation. I can work on that, if you can provide the animation to me.

Hello, mate. Here is a WeTransfer link to it https://we.tl/t-10IEYNR8Yp

Thanks for providing your asset. I was able to find the problem and a solution and I just quickly created a draft PR. More info into the PR here: https://github.com/pixijs/spine-v8/pull/31
Tomorrow, I'll see if I can do that in a cleaner way.

i also get some problem，when i use this spine resource, cannot render as well in pixi7;
https://conan-online.fbcontent.cn/webapp/conan-math-page/little-teacher/v4/little_teacher.skel

Hi
We have now moved this project to the official Esoteric Software repo for them to maintain. As a result we will be archiving this repo and closing all issues. If you still are having this issue please feel free to open an issue over on the new repo!

New Repo

As for migrating between the projects it should be as simple as swapping out the imports from @pxi/spine-pixi to @esotericsoftware/spine-pixi-v8


Doc bug (?) wrapLatLng(LatLng latlng): returns wrapLatLng, so does it really need a parameter?

https://leafletjs.com/reference-1.6.0.html#crs-wraplatlng

[x ] I've looked at the documentation to make sure the behavior is documented and expected
[x ] I'm sure this is a Leaflet code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
[x ] I've searched through the issues to make sure it's not yet reported

Steps to reproduce
L.CRS.EPSG3857.wrapLatLng(L.latLng(45,-50))
Expected behavior
I'm not sure what to expect. Perhaps it should set the wrapLat and wrapLng values?  Does not appear to do that.
Current behavior

Current behavior

Environment

Leaflet version: 1.6.0
Browser (with version): Chrome: Version 81.0.4044.138 (Official Build) (64-bit)
OS/Platform (with version): Windows 10

Additional context

Minimal example reproducing the issue
L.CRS.EPSG3857.wrapLatLng(L.latLng(45,-50))
L.CRS.EPSG3857.wrapLat
[-180,180]
L.CRS.EPSG3857.wrapLng
(undefined)
Please create an example using https://leafletjs.com/edit.html or any other jsfiddle-like site.

[ x] this example is as simple as possible
[ x] this example does not rely on any third party code

Nevermind, my misunderstanding of the docs.  Thanks.


[plot] Misleading left axis ticks when all curves are on the right axis

When all curves are displayed on the right axis, the left axis goes from 0 to 100...
This is somewhat misleading, it would be better to either:

hide the left axis when it is empty but the right axis is not, or
show the same range as the right axis when left axis is empty but not the right one.

Solution taken in PR  #2579 is to display on the left the limits of the right axis in this case.


selected menu item colors bad

White text on white background. Not nice.

It's already about as good as I can make it while sticking to standard ansi colors:
https://github.com/Akuli/catris/blob/7bbc1ecb17076dd09cda6e3c5ebd6af5ef938b14/catris/views.py#L157-L158


Add support for [:.h-1] as supported by hiccup

Defaults to a div.

Available in: 1e9e430165613495a4505024a5afa712e9d2f1b4

If the tag name is omitted from the hiccup-tag it will default to creating a div with the specified attributes.
eg
[:.h-1]
[:#id]

Released:
milelo/electric-hiccup {:git/url "https://github.com/milelo/electric-hiccup"
:git/tag "v0.3.0-alpha"
:git/sha "650c9e3"}


⚠ ClamAV has degraded performance

In d66331f, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 205 ms

Resolved: ClamAV performance has improved in 6b3543c.


Added metrics for openshift master memory and cpu for the number of users using the system.

+1d in STG PR #748


fix youtube-dl package

The official pip package isn't working anymore.
Installing from git fixes this.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 76.82%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
633

Relevant Lines:
824

💛  - Coveralls

Do we need this for 3.x as well?

I think this is not yet in V3 available.


docs(trg): enhance description for base image alignment

This PR tries to add more background info on the base image alignment process.
It should make the prerequisites for being added to the aligned base image list clearer.
There is also a hint about non-published images and how to skip the automated base image check
relevant to eclipse-tractusx/sig-infra#309

LGTM in general, just wonder if choosing an image for testing/building purpose don't we still need to adhere to specific Open Source licenses, which might make sense to list here?

This is already included in my opinion. See the info section at the end
... you can use other publicly available image, as long as the tools are open source license compliant.


fix: fetch from every branch before diff check

The original way I did it somehow used a very old commit SHA. This fix makes the checkout action fetch all history of all branches (and tags), which then makes the later occurring manual git fetch redundant.

Apparently this is not broken to begin with, #386 caused the weird CI/CD errors.


Followed the First Fluent Cassandra example, but not get through

Hello @nberardi
I followed "Your First Fluent Cassandra" example, with some modification (the article is creating a super-column, but I only need column), but it gave an exception of Apache.Cassandra.Unavailable.
It seems the updating is fine, but the exception was given when I try to read(key) after a update.
Could you please have a look at my simple class file? I am using Cassandra 1.0.6 by the way.
Thanks
======================
public class CassandraAPI
{
    private CassandraContext cassandraDB;
    private CassandraColumnFamily<BytesType> family;
    public CassandraAPI()
    {
        cassandraDB = new CassandraContext(keyspace: "MyKeyspace", host: "<IP_ADDRESS>");
        family = cassandraDB.GetColumnFamily<BytesType>("ColumnFamilyName");

    }

    public void update(byte[] key1, byte[] value)
    {
        dynamic post = family.CreateRecord(key: key1);
        post.value = value;
        // attach the post to the database
        Console.WriteLine("attaching record");
        cassandraDB.Attach(post);

        // save the changes
        Console.WriteLine("saving changes");
        cassandraDB.SaveChanges();
    }

    public void read(byte[] key)
    {
        dynamic getPost = family.Get(key).FirstOrDefault();
        Console.WriteLine("getPost");
        byte[] value = getPost.value;
        Console.WriteLine(value.Length);
    }

}

I know it is really out dated and I have to partially apologize for that.  But since that article was written the Cassandra database has had many API changes and other fundamental changes that I just haven't been able to write about them.  To see a working example you can go here:
https://github.com/managedfusion/fluentcassandra/blob/master/test/FluentCassandra.Sandbox/Program.cs


🐛 iOS crashes when reloading JS bundle and using useFrameProcessor

What were you trying to do?
Enable "frameProcessor", app will be crashed after run Reload JS (from debug menu) or CodePush.restartApp().
Seem like the "FrameProcessor" doesn't cleanup if we reload js bundle.
Reproduceable Code
No response
What happened instead?
No Crash
Relevant log output
2021-12-24 18:47:33.428793+0700 exampleapp[8524:2122342] FrameProcessorBindings: Successfully created worklet!
2021-12-24 18:47:33.495720+0700 exampleapp[8524:2122338] FrameProcessorBindings: Converting worklet to Objective-C callback...
2021-12-24 18:47:33.498141+0700 exampleapp[8524:2122338] FrameProcessorBindings: Frame processor set!
2021-12-24 18:47:33.654409+0700 exampleapp[8524:2122340] <Google> Cannot find an ad network adapter with the name(s): com.google.DummyAdapter. Remember to link all required ad network adapters and SDKs, and set -ObjC in the 'Other Linker Flags' setting of your build target.
2021-12-24 18:47:33.686432+0700 exampleapp[8524:2122339] [native] VisionCamera.didSetProps(_:): Started Session!
libc++abi: terminating with uncaught exception of type facebook::jsi::JSError: Exception in HostFunction: Javascript worklet error

Error: Javascript worklet error
    at _f (native)

Error: Exception in HostFunction: Javascript worklet error

Error: Javascript worklet error
    at _f (native)
    at _f (native)
dyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
terminating with uncaught exception of type facebook::jsi::JSError: Exception in HostFunction: Javascript worklet error

Error: Javascript worklet error
    at _f (native)

Error: Exception in HostFunction: Javascript worklet error

Error: Javascript worklet error
    at _f (native)
    at _f (native)
(lldb)

### Device

iPhone

### VisionCamera Version

2.10.0

### Additional information

- [ ] I am using Expo
- [X] I have read the [Troubleshooting Guide](https://mrousavy.github.io/react-native-vision-camera/docs/guides/troubleshooting)
- [X] I agree to follow this project's [Code of Conduct](https://github.com/mrousavy/react-native-vision-camera/blob/main/CODE_OF_CONDUCT.md)
- [X] I searched for [similar issues in this repository](https://github.com/mrousavy/react-native-vision-camera/issues) and found none.

Seem like the Frame Processor Plugins are not injected into the VisionCamera JS-Runtime after Js Bundle reloaded.

close due to dupplicated https://github.com/mrousavy/react-native-vision-camera/issues/626

Hm, I see. This probably has to be moved to the same setup code as the JSI funcs

Hm, I see. This probably has to be moved to the same setup code as the JSI funcs

I removed the line [FrameProcessorPluginRegistry markInvalid]; from initWithBridge and it's working well on iOS.
Now I'm facing the same problem with https://github.com/mrousavy/react-native-vision-camera/issues/570 and https://github.com/mrousavy/react-native-vision-camera/issues/500 on iOS.


[BUG] Pressing tab while editing file name doesn't jump to note content

With the plugin enabled and with the cursor in the filename box (at the top of the note), pressing tab either does nothing or it changes the note content. It should move the cursor to the note content.
To Reproduce
Steps to reproduce the behavior:

Create a note with at least two bullet points.
Edit the content of the second bullet point.
Click in the note title box
Press tab
The second bullet point in the note content moves.

Expected behavior
Pressing tab while editing the note filename should move the cursor to the note content.
Desktop (please complete the following information):

OS: Mac OS 10.14.6
Obsidian Version: 0.12.12

@rubslopes Thank you for your feedback. Should be fixed in https://github.com/vslinko/obsidian-outliner/releases/tag/2.0.2


Possible unhandled promise rejection (id: 0): TypeError: Network request failed

Hi @rbrki07,
First of all great work. Really inspiring!
Can you please provide some guidance as I can't make this run successfully.
It fails on with the following: Possible unhandled promise rejection (id: 0): TypeError: Network request failed and I believe that is due to useAutoDiscovery function not returning a valid discovery object of interface DiscoveryDocument.
Then if I try to type Sign in button I get Possible unhandled promise rejection (id: 5): Error: Cannot prompt to authenticate until the request has finished loading.
Fastest way to replicate the problem is:

clone your repo,
git clone git@github.com:rbrki07/rn-expo-oauth-authorization-code-flow-pkce-keycloak.git
run the keycloak:
docker run --name keycloak --detach --publish 11111:8080 --env KEYCLOAK_ADMIN=admin --env KEYCLOAK_ADMIN_PASSWORD=admin quay.io/keycloak/keycloak:latest start-dev

I have configured keycloak same as you have it shown in your blog but I am attaching the realm export ran using:
docker exec -it keycloak /opt/keycloak/bin/kc.sh export --file /tmp/realm-export.json --realm test --users realm_file
realm-export.json
4. run npx expo start
5. Scan the QR code from Android/iOS
6.  Possible unhandled promise rejection (id: 0): TypeError: Network request failed pops out

Hi @dijarvrella,
sounds like a network issue. Are you running the Expo app on a real device? If yes, the app won't find Keycloak running on http://localhost:11111/ on your development computer.

Hi @rbrki07, thanks for the quick response.
I am running Expo app on my local machine. The Keycloak is also running on my local machine.
I made it all work I hardcoded discovery object as follows:
const discovery = {
    authorizationEndpoint:
      'http://<IP_ADDRESS>:11111/realms/test/protocol/openid-connect/auth',
    tokenEndpoint:
      'http://<IP_ADDRESS>:11111/realms/test/protocol/openid-connect/token',
    revocationEndpoint:
      'http://<IP_ADDRESS>:11111/realms/test/protocol/openid-connect/revoke',
    endSessionEndpoint:
      'http://<IP_ADDRESS>:11111/realms/test/protocol/openid-connect/logout',
    userInfoEndpoint:
      'http://<IP_ADDRESS>:11111/realms/test/protocol/openid-connect/userinfo',
  }

It looks to me the problem seems to be related with this useAutoDiscovery function

Well, that's strange. I will try to reproduce your problem using the latest Expo SDK and module version.

alright, I was able to resolve this by doing the following:

Update the env to use the IP of the interface rather than localhostEXPO_PUBLIC_KEYCLOAK_URL='http://<interface_IP>:<keycloak_port>/realms/<realm_name>''

Thanks for all the help and making this available for all.


Integrate RoboFlow Custom Dataset with YOLOV8

[x] Activate api Token (auth)
[x] add dependency for RoboFlow SDK
[x] Import Dataset

we imported the first roboflow dateset and run the train on it. for now we just updated the code in the the AbdullahMT branch.


Adding a debug example, add bootstrap shell script called before exec…

… in docker-entrypoint.sh.
There is a separate bootstrap script in /usr/local/bin, it is called in docker-entrypoint.

thank you for the contribution!


utils_tests cleanup fixture does not play well with threading

What happened:
I use the distributed.utils_test fixture cleanup in my pytest tests. I have some code that uses dask threading scheduler. However, the cleanup fixture has a check_thread_leak function which throws an error.
When I took a deeper look, there are leftover threads such as ['ThreadPoolExecutor-1_0', 'ThreadPoolExecutor-2_0', 'ThreadPoolExecutor-2_1', 'ThreadPoolExecutor-2_2', 'ThreadPoolExecutor-2_3'] which were started by the dask thread executor.
In the thread pool executor, there is a shutdown routine scheduled using atexit:
#.../lib/python3.8/site-packages/dask/threaded.py(70)get()
#-> atexit.register(default_pool.shutdown)

which only gets run when the interpreter shuts down. This is after the cleanup fixture checks for leaked threads, which is what I assume is the root of this bug.
What you expected to happen:
I expect the cleanup fixture to finish without throwing an error.
Minimal Complete Verifiable Example:
# cleanup_throws.py
import pytest
import dask
from dask.system import cpu_count
from distributed import Client
from distributed.utils_test import cleanup
from distributed.utils_test import cluster, loop

CLUSTER_SESSION_NWORKERS = cpu_count()

@pytest.fixture
def cluster2(loop):
    with cluster(nworkers=CLUSTER_SESSION_NWORKERS) as (scheduler, workers):
        yield (scheduler, workers)

@pytest.fixture
def client(loop, cluster2):
    scheduler, workers = cluster2
    with Client(scheduler["address"], loop=loop) as _client:
        yield _client

@pytest.mark.parametrize(
    "scheduler",
    ["threads"],
)
def test_something(client, scheduler):
    ddf = dask.datasets.timeseries()

    ddf = ddf[ddf.y > 0]
    ddf = ddf.groupby("name").x.std()

    ddf.compute(scheduler=scheduler)

# Run with `pytest <cleanup_throws.py>

Anything else we need to know?:
Environment:

Dask version: 2022.6.0, latest main both have this issue
Python version: 3.8.13
Pytest version: 7.1.2
Operating System: macOS Big Sur 11.6
Install method (conda, pip, source): conda

@DamianBarabonkovQC Thanks for reporting!
I'm looking at this with @ncclementi.
Even though we're trying to use the threaded scheduler, the error itself seems to be coming from distributed/utils_test.py.
The cleanup fixture we're importing if we just use the distributed scheduler. We think the issue arises when we override the scheduler to be the single-machine "threaded" scheduler in ddf.compute(scheduler="threads"), and we're not sure if we should even expect it to work.
I think it might make sense to move it to the distributed tracker.
@hendrikmakait What do you think about this?


Syntax highlighting breaks when post has one single-quote

Photo of bug here: https://imgur.com/a/WXpq9
Link: http://codereddit.net/#/?_k=mkbddk
(Go to NorthernLightsInI)
Config is:
$location = "frontpage";
$language = "php";
Proposed acceptance criteria for fix:
If a post contains one single-quote, either remove it, or add a single quote to the end of the post.

Closing this issue since it is outdated.


Crash with iOS 11.3

Hello after update iOS to 11.3, native sharing is not working anymore.
It was perfectly working before.

Yes same here.

@CenekStrichel do you have more information? What were you sharing, and to which app, which device were you using it on?

It was simple sharing, just text with link. Device iPhone SE. I used it in my own app.

Do you have a snippet of code I can try to recreate the issue?
Also i assume you're trying to send a URL alongside some text to any app that appears on the share dialog if im wrong, please correct me

@NicholasSheehan same problem here, crash when saving image using save button
our code
NativeShare.Share("", null, url);

This should be fixed on my fork of the project. But here is a relevent snippit i think will fix your issue. IF the probel still exists, could you post the error message from Xcode?
For iOS builds, you'll need to add a key in the apps info.plist for NSPhotoLibraryUsageDescription, otherwise when the player tries to save a screenshot to their library via the share dialog, it will crash the app with this message:
"[access] This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data."

@NicholasSheehan fixed by adding NSPhotoLibraryAddUsageDescription thank you for giving me direction

I also tried add NSPhotoLibraryAddUsageDescription, but still crashing. I am using simple text share

Do you have logs that i can look at?

Can you post the C# code that calls the plugin?
The iOS logs point to a method, but without knowing what parameters are being called, it's hard to pinpoint the issue

// I am calling this in the code
ShareIOS( "SOME SUBJECT", "SOME TITLE", "LINK" );
//
public struct SocialSharingStruct
{
public string text;
public string subject;
public string filePaths;
}
[DllImport ("__Internal")] private static extern void showSocialSharing(ref SocialSharingStruct conf);
public static void ShareIOS( string body, string subject, string url )
{
SocialSharingStruct conf = new SocialSharingStruct();
conf.text = body;
conf.filePaths = url;
conf.subject = subject;

showSocialSharing(ref conf);

}

1st thing, the parameters for the IOS share go body, subject, link, you have it calling subject, body, link
Secondly, the link isn't a external URL, so the plugin looks at it as a local file path, but as its not a valid path, this will call a error stating a file cannot be found. (Line 119 of iOSNativeShare.m)
You should be able to submit the same method, but with nothing in the link parameter, so
ShareIOS("My Body", "My Subject");

should work.
i'm not near my Mac so i can't test this, Hope this helps

Thanks! I will try it.

Just relalized i made a mistake.
Call
ShareIOS("MyBody", "MySubject", "");

Hi, I've taken over this repository, due to the age of the issue I'll be closing this issue
I've rewritten most of the plugin to be easier to use, and there is a high possibility that your issue has been fixed
Please download and see if your issue is still present. If it is please create a new issue and I'll get to it as soon as I can


Particle.js as background

Hello! I want to use particles.js as background as they do on this page: http://www.mindvalley.com/vishen.html
To my web I am developing it with DIVI of ELEGANT THEMES.
Can you please help me? Thank you very much!

@jdlopez7 Sorry, but this should be very easy. Only thing it takes is some CSS knowledge. Position a container as full width/height.
A better approach, if your page is longer, you could use javascript and make the container the same height as the page content (If you had to scroll), leaving a bigger play/space.

@jdlopez7 I managed to get this working, http://legitsoulja.info/
This is all you should need
#particles canvas{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

Thank you very much for the reply!!! Sorry for ignorance, where should I put this code? In the plugin or in the CSS part of the wordpress section?

@jdlopez7 you would put this with CSS. I don't know much about Wordpress since I like to customly build sites :).

Thank you so much for everything!

You may be using a plugin correct?

It's called Particle Background, take it from this page: http://vincentgarreau.com/particles.js/

In that case, the div you added for the particles, assign in with the div id of what I have above.

My problem is that particle background is above the images, photos, text and everything

Try adding a
z-index : 999;
for your content . it must pop right above the particles.

* { z-index: 2; }
.particle, .particle > canvas { z-index: 1 !important; }

Hello! thank you very much. Where should I include this?

{z-index: 2; }
.particle, .particle> canvas {z-index: 1! important; }

El 15 sep. 2017, a las 16:24, ᦖєgιт<EMAIL_ADDRESS>escribió:

{ z-index: 2; }
.particle, .particle > canvas { z-index: 1 !important; }

My website www.antetech.org Wont let me interact with it except for the very bottom? help?

@Assisted-Suicide you would want to disable pointer events on your div that is overlaying the interaction area.

@LegitSoulja When I do that, nothing works. it is not interactive at all

I have put some other code on the body section and in the background I have put these particles.js but they are not interactive.Please help me out..?

I'm attempting to do the same thing for one of our clients.
Adding css for pointer events works in most browsers (but not all), your elements with hover or click events will no longer function, and it will prevent your content from being selectable.
section.particles-js .overlay {
    pointer-events: none;
}

You can re-add pointer events for those elements which need to have hover and click listeners, but it will prevent the particles from detecting events when you hover over those elements, and it can be a little awkward if you're unsure which items have hover or click events at the time of development, for instance when content editors add third party popups via a WYSIWYG editor (Users are dumb) rather then the nice input field we give them in the CMS.
section.particles-js .overlay a,
section.particles-js .overlay input,
section.particles-js .overlay button,
section.particles-js .overlay textarea,
section.particles-js .overlay label,
section.particles-js .overlay .has-tab-index-or-lack-thereof,
section.particles-js .overlay .has-hover-or-click-event-or-transition {
    pointer-events: all;
}

I've attempted adjusting the interactivity to 'window', but while the particles will react to the mouse, the location the interactivity occurs does not match the mouse position unless the top of the canvas is currently at the top of the screen.
I'll add a suggestion now for including an option for detecting the interactivity via the parent element. This would bypass the issues surrounding the overlays hindering interactivity, as long as they share the same parent.

why the effect drag down after i create content inside... this is not a background? how to make it as a background so that i can put some content inside... sorry i not good in css

Mehn I have been trying go make particles js to be interactive. I have no idea why it aint working .

Hello There! I wanted to know how do I change the color of the particles to black and background of the particles( or canvas ) to be white. Can u suggest the exact modifications to be done in the code? I tried many times but failed..
Thanks in Advance.

@sirStephen the only way possible if you have content overlaying, is passing events to the canvas. Say for example you have a div over the interaction. The div would only know that you're active at div, but not really focusing on the canvas behind. One way of possibly solving this issue is to pass div events to the canvas, or make a fake mouse. There's many ways this can be accomplished.

Okk thanks...I got it..But I have another issue. I want to add the particles background to a particular section of my personal website(not to the entire website, only to a particular section. My website is built on the "Blue" theme from themefisher.com). How do i do that? I tried but I failed because the canvas size created a problem(i guess, am not sure). If anyone has any idea about it,...please reply or may be we can discuss personally to get it sorted out.

@lakshyajit165 yeah, you should go learn more css. I cannot give much help on this because I don't know exactly how you want to position your canvas, however this is how you would manage doing so.
canvas#particle-js {
    background-color: white !important;
    /* important */
    position: absolute !important;
    width: 100px !important; // define your width
    height: auto !important; // define your height
    /* depending on where you want this canvas, you can use left/right/top and bottom properties */
    left: 0;
    top: 0;
}

I want to use particle js as a background and I want its height small.so how can I decrease its height

yes, you can decrease the size of the particles but I'm wondering which height you need to decrease??

I extracted a solution from pieces here and there in this thread. I was able to get particle js to persist under the rest of the content.
The content, which in my case is full width, then would have a solid color or image as a background that covered particle js. Then I would make the background transparent on the content where I wanted particle js to be revealed.
This css posted by @LegitSoulja was helpful:
* { z-index: 2; }
.particle, .particle > canvas, #particles-js { z-index: -1 !important; }

Then I preferred to go with this, which gave me a paralax effect that I apreciated:
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgb(8, 6, 17); /* this was my color */
    left: 0px;
    top: 0px;
}

The part that threw me was the order of the html tags. @AnonymousNoob tipped us off to this. It needs to be ordered in the html like:

content

Once I got it to display properly, I lost mouse events. But I got everything working...
@shaunjc "pointed" me in the right direction with the pointer-events property. I took a shortcut, though:
#content {
    pointer-events: none;
}
a, button {
    pointer-events: all;
}

I just set all the elements that I needed for my project to watch for pointer events.

Hi, I tried everything suggested above. I'm using Hugo (https://github.com/gcushen/hugo-academic) but I'm unable to keep the interactivity on if I send the particles in the background. I tried setting pointer-events to True as well but it doesn't help. Can someone please help?

@Ishub Remove the pointer-events: none from #particles-js and it should work correctly; at least it does in my browser.

@shaunjc  On removing the pointer-events, I'm unable to click on buttons as the particle only interact.

@Ishub I see. You would most likely need to re-evaluate the order of your layers. Using the inspector window, I have found the following hierarchy and styles to work.

#particles-js {
  pointer-events: all; /* or auto, unset, etc */
}

The thing is the HTML code autogenerates using the template engine I'm using - Hugo (https://themes.gohugo.io/academic/) . So it's very difficult to customize the layer ordering in that. Do you think you could look into the same? I'm trying to put the particles on the Slider widget.

@jdlopez7, there is an alternative
H.T.M.L.

C.S.S.
.particles {   position: fixed;   top: 0;   right: 0;   bottom: 0;   left: 0;   z-index: -1; }

Thanks @coder-examples putting the position solved my problem that was the interactivity looked shifted, now the only thing is that the browser show me a disabled scrollbar, I think it is from the canvas.
Edit: putting overflow:hidden solved for me, I think it is worth sharing the CSS
  #particles-js {     width: 100% !important;     height: 100% !important;     background-color: $gray-900;     overflow: hidden;     background-size: cover;     background-position: 50% 50%;     position: fixed;     z-index: -1;     top: 0; right: 0; bottom: 0; left: 0;   }

Ok,
What you can do is this:
// particles

// css:

.particles {
margin: 0px!important;
top: 0px!important;
left: 0px!important;
right: 0px!important;
bottom: 0px!important;
z-index: -1;
}

How do you style the actual particles and little beams, themself? So basically White canvas with black or dark grey particles?

hey i want the particles in the background of the content in just one section and i managed to do that but everything is stuck to the viewport and the height of the website is not increasing  based on the content rather it is just stuck to to that size ? can someone please help me out !

I have been following this issue. I myself am stuck with applying this script to one of the widgets/sections in Academic Hugo thing.I have tried everything, be it adding custom css,JavaScript to blank.html. currently I have added the whole particle code to the blank.html file. Even tried to change the widget layout. But seems the js gets overlaid by the background of the theme. How can I remove the background and/or make it transparent so that an interactive js background is shown, If anyone has managed to do it, do let me know

Hi. I wanted to add the particles effect as a header. I use the Academic Theme. I tried some parts from @chromahoen solution and it worked. Specifically, I created the file layouts/partials/hooks/head-start/custom.html and enclosed the following code:

content

However, the particles/header currently take too much space of the page. Can I reduce the height of the header to 1/3 of what it currently is? Unfortunately I barely understand html. Could somebody please help me with the code? I tried using the 'height: 30%' option, but I am not sure where to place it within my code. Thanks.

Hi Vincent
Yeah sure please sent me your page details and the height you would like
and I will take a look for you.
You are able to set the particle within a div and then set the height and
adjustments using HTML. I wil help you if you send over more details.
Regards
On Sun, 13 Nov 2022 at 00:27, Haris Karagiannakis @.***>
wrote:

Hi. I wanted to add the particles effect as a header. I use the Academic
Theme. I tried some parts from @chromahoen https://github.com/chromahoen
solution and it worked. Specifically, I created the file
layouts/partials/hooks/head-start/custom.html and enclosed the following
code:

content

However, the particles/header currently take too much space of the page.
Can I reduce the height of the header to 1/3 of what it currently is?
Unfortunately I barely understand html. Could somebody please help me with
the code? I tried using the 'height: 30%' option, but I am not sure where
to place it within my code. Thanks.
—
Reply to this email directly, view it on GitHub
https://github.com/VincentGarreau/particles.js/issues/216#issuecomment-1312603988,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKZD4GFMCJN4LRKW2SGXXXTWIAYWBANCNFSM4DS6VZUA
.
You are receiving this because you commented.Message ID:
@.***>

Thanks for writing back. I editied my message above to show the code (- I had forgotten to enclose it in a code-block). The page is: ckarag.github.io

Hi
What are the measurements? and where must it go? is it a background? can
you perhsp draw me a sample or something like this?  just so i know what
needs to be done.
[image: image.png]
On Sun, Nov 13, 2022 at 11:03 AM Haris Karagiannakis <
@.***> wrote:

Thanks for writing back. I editied my message above to show the code (- I
had forgotten to enclose it in a code-block). The page is:
ckarag.github.io
—
Reply to this email directly, view it on GitHub
https://github.com/VincentGarreau/particles.js/issues/216#issuecomment-1312703078,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKZD4GATLAY5PR5NC4XNWDTWIDDI5ANCNFSM4DS6VZUA
.
You are receiving this because you commented.Message ID:
@.***>

ok i read you other message no problem. i know what you want, which section
must it be behind?
On Sun, Nov 13, 2022 at 2:02 PM Luke Richter @.***>
wrote:

Hi
What are the measurements? and where must it go? is it a background? can
you perhsp draw me a sample or something like this?  just so i know what
needs to be done.
[image: image.png]
On Sun, Nov 13, 2022 at 11:03 AM Haris Karagiannakis <
@.***> wrote:

Thanks for writing back. I editied my message above to show the code (- I
had forgotten to enclose it in a code-block). The page is:
ckarag.github.io
—
Reply to this email directly, view it on GitHub
https://github.com/VincentGarreau/particles.js/issues/216#issuecomment-1312703078,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKZD4GATLAY5PR5NC4XNWDTWIDDI5ANCNFSM4DS6VZUA
.
You are receiving this because you commented.Message ID:
@.***>

ok i read you other message no problem. i know what you want, which section must it be behind? On Sun, Nov 13, 2022 at 2:02 PM Luke Richter @.> wrote:
…
Hi What are the measurements? and where must it go? is it a background? can you perhsp draw me a sample or something like this? just so i know what needs to be done. [image: image.png] On Sun, Nov 13, 2022 at 11:03 AM Haris Karagiannakis < @.> wrote: > Thanks for writing back. I editied my message above to show the code (- I > had forgotten to enclose it in a code-block). The page is: > ckarag.github.io > > — > Reply to this email directly, view it on GitHub > <#216 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/AKZD4GATLAY5PR5NC4XNWDTWIDDI5ANCNFSM4DS6VZUA > . > You are receiving this because you commented.Message ID: > @.***> >

I want it to appear as a header, but smaller, in order to be able to see the biography section without having to scroll down. My understanding is that I want to put an option somwhere to reduce the height, i.e. something like 'height=30%'.

There is a problem, the canvas has "!important"s inline styles and there is no way (not a proper way) to remove or override those important style properties.


Add ExtractTask to luigi.contrib.BigQuery module

The extract job is currently not implemented in contrib.bigquery module. Scope of this PR is to implement it according to https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs .
Motivation and Context
Without the extract we can only assemble pipelines into BigQuery but not from BQ to elsewhere.
Description

Fill job configuration according to https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs for extract jobs.
Add assertitions for the jobs to be sane.
Add basic unittest for extracts
Add Integration test with basic configuration

Have you tested this? If so, how?

Added basic unit and integration tests
A version of this runs in our production environment.

Questions
Being relatively new to luigi ecosystem I am not 100% certain I correctly followed the luigi style everywhere. Happy to receive feedback.

This would be great to have as we're after something similar. Is it worth checking if the table_exists in run?

The way the Task is currently designed I think it would be unnecessary overhead to add a dedicated exists check. The ExtractTask asserts to have a singleton BigQueryTarget as requires (which's exists method is essentially the table_exists). The main reason behind is separation responsibility. The ExtractTask should take care of unloading the table while it is luigi's job to take care of dependency checking and resolution.
In case the table is non-existent at run-time it will result in a BigQuery exception which I think is appropriate behavior.

@miike Your were right: non-CSV extracts indeed fail when provided with FieldDelimiter or PrintHeader options. They are now set conditionally as suggested.

@dmohns @miike Is this PR approved and ready to merge?

@dlstadther From my point of view this can be merged, I am waiting for some potential feedback and/or reviews.

@dmohns Thanks for contributing! Sorry again for the long delay between submission and merge


Darp placement - Raft and Health are not started.

Note: If you have a general support question and are looking for a quicker response, please checkout our discord channel for answers from the community:
https://aka.ms/dapr-discord
In what area(s)?
/area placement
Ask your question here
Hi ,
After an upgrade of our kubernetes version , the placement server are in CrashLoopBackOff

In the logs we only have the following :
time="2022-07-11T13:04:15.082415966Z" level=info msg="starting Dapr Placement Service -- version 1.8.0 -- commit dc7f86840c85a1eff2e1223456994f554ea31d11" instance=dapr-placement-server-0 scope=dapr.placement type=log ver=1.8.0
time="2022-07-11T13:04:15.082798161Z" level=info msg="log level set to: debug" instance=dapr-placement-server-0 scope=dapr.placement type=log ver=1.8.0
time="2022-07-11T13:04:15.082878312Z" level=info msg="metrics server started on :9090/" instance=dapr-placement-server-0 scope=dapr.metrics type=log ver=1.8.0

On my minikube instance the same configuration works  with the same version of dapr and kubernetes
the logs are the following  :
time="2022-07-11T13:11:30.2769734Z" level=info msg="starting Dapr Placement Service -- version 1.8.0 -- commit dc7f86840c85a1eff2e1223456994f554ea31d11" instance=dapr-placement-server-0 scope=dapr.placement type=log ver=1.8.0
time="2022-07-11T13:11:30.2771322Z" level=info msg="log level set to: debug" instance=dapr-placement-server-0 scope=dapr.placement type=log ver=1.8.0
time="2022-07-11T13:11:30.2772933Z" level=info msg="metrics server started on :9090/" instance=dapr-placement-server-0 scope=dapr.metrics type=log ver=1.8.0
time="2022-07-11T13:11:30.2789367Z" level=debug msg="initial configuration%!(EXTRA []interface {}=[index 1 servers [%+v [{Voter dapr-placement-server-0 dapr-placement-server-0.dapr-placement-server.dapr-system.svc.cluster.local:8201} {Voter dapr-placement-server-1 dapr-placement-server-1.dapr-placement-server.dapr-system.svc.cluster.local:8201} {Voter dapr-placement-server-2 dapr-placement-server-2.dapr-placement-server.dapr-system.svc.cluster.local:8201}]]])" instance=dapr-placement-server-0 scope=dapr.placement.raft type=log ver=1.8.0
time="2022-07-11T13:11:30.2790101Z" level=info msg="Raft server is starting on dapr-placement-server-0.dapr-placement-server.dapr-system.svc.cluster.local:8201..." instance=dapr-placement-server-0 scope=dapr.placement.raft type=log ver=1.8.0
time="2022-07-11T13:11:30.2790369Z" level=info msg="mTLS enabled, getting tls certificates" instance=dapr-placement-server-0 scope=dapr.placement type=log ver=1.8.0
time="2022-07-11T13:11:30.2790981Z" level=info msg="starting watch for certs on filesystem: /var/run/dapr/credentials" instance=dapr-placement-server-0 scope=dapr.placement type=log ver=1.8.0
time="2022-07-11T13:11:30.2793584Z" level=debug msg="entering follower state%!(EXTRA []interface {}=[follower Node at <IP_ADDRESS>:8201 [Follower] leader ])" instance=dapr-placement-server-0 scope=dapr.placement.raft type=log ver=1.8.0
time="2022-07-11T13:11:30.2793662Z" level=info msg="tls certificates loaded successfully" instance=dapr-placement-server-0 scope=dapr.placement type=log ver=1.8.0
time="2022-07-11T13:11:30.280095Z" level=info msg="placement service started on port 50005" instance=dapr-placement-server-0 scope=dapr.placement type=log ver=1.8.0
time="2022-07-11T13:11:30.2802004Z" level=info msg="Healthz server is listening on :8080" instance=dapr-placement-server-0 scope=dapr.placement type=log ver=1.8.0
time="2022-07-11T13:11:30.7936267Z" level=debug msg="accepted connection%!(EXTRA []interface {}=[local-address <IP_ADDRESS>:8201 remote-address <IP_ADDRESS>:43182])" instance=dapr-placement-server-0 scope=dapr.placement.raft type=log ver=1.8.0
time="2022-07-11T13:11:30.7938483Z" level=debug msg="failed to get previous log%!(EXTRA []interface {}=[previous-index 10 last-index 1 error log not found])" instance=dapr-placement-server-0 scope=dapr.placement.raft type=log ver=1.8.0
time="2022-07-11T13:11:30.8737392Z" level=debug msg="accepted connection%!(EXTRA []interface {}=[local-address <IP_ADDRESS>:8201 remote-address <IP_ADDRESS>:43184])" instance=dapr-placement-server-0 scope=dapr.placement.raft type=log ver=1.8.0

Do you know why this can happen? Raft server and health server of the placement are not started. What can be the cause?
Thanks
Manu Di Nicola

Hi @ManuDinicola, I am not very sure. May be some other contributor can suggest better options.
As of now, this is what I can think of trying out:

Changing delay-seconds for placement service, like in https://github.com/dapr/dapr/issues/3976#issuecomment-1046966372
Enabling debug logs for placement service and troubleshooting logs (refer: https://docs.dapr.io/operations/troubleshooting/logs-troubleshooting/#viewing-logs-on-kubernetes)

Have already try the 2 options with no luck .
The logs are set in debug and the delay is set to 60.

Could you please also check logs through following command, if it gives out any more info:
kubectl logs -n  --all-containers -f <pod_name>

Hi @ManuDinicola what version of Dapr were you upgrading from?
It may be that the Raft log is corrupted or it's in a bad state. I would recommend removing the stateful set for Placement (completely delete all pods and all data on disk) and re-creating it.
Nothing in the Placement service's state is crucial and data loss there is ok.

@DeepanshuA
Have the same log message.
`

`
@ItalyPaleAle
This problem arrive just after an upgrade from k8s 1.21.8 to 1.22.9. At this time we were on dapr 1.7.4.
After that we have update dapr to 1.8, but the error still occur.
Have remove the stateful set for Placement with no luck. Placement still in the same state

@ManuDinicola do you have the logs from the previous (crashed) containers for inspection?

@ItalyPaleAle interesting that this issue is not very rare. I can see it happening multiple times randomly. It might require further investigation.

Does it happen on upgrades only?

In my case I was not trying to upgrade, it was a direct installation.

FYI, once I deleted "that" cluster, I was not able to reproduce it.

@shubham1172 please can you investigate?
Does it happen on upgrades only?

it happens today again on an upgrade of k8s.

@shubham1172 please can you investigate?
Does it happen on upgrades only?

it happens today again on an upgrade of k8s.

Can you share more information about your enviornment, and are you able to consistently see this reproducing?

This problem only happens for us (@ManuDinicola and me) on kubernetes cluster upgrade according to this procedure: https://kubernetes.io/docs/tasks/administer-cluster/cluster-upgrade/
The problem does not occur when performing a rolling reboot of all kubernetes cluster nodes (with drain/uncordon and 2 min. wait between node reboots), even if two out of three replicas of dapr-placement-server are temporarily unavailable.
Could it be that a kubernetes cluster upgrade causes a network split brain between old kubernetes version nodes and new kubernetes version nodes, such that the state of the existing dapr-placement-server raft cluster becomes lost? If so, can we reset the dapr-placement-server raft cluster state as if it were a new raft cluster?
P.S. Redeploying dapr from scratch does not fix the issue (i.e. removing dapr-system namespace), so we have no way of resetting dapr's state it seems...

FYI:

we use ArgoCD to deploy dapr via Helm chart
we set .Values.cluster.forceInMemoryLog true, because our cluster enforces runAsNonRoot in its PSP

Update: the issue with kubernetes cluster upgrades only happens when forceInMemoryLog=true. We did this originally in order to run dapr as a non-root user. When using persistent disk storage, the cluster uograde works without problems.
P.S. Is there any specific reason why dapr has to run as root as soon as persistent storage is used? See also https://github.com/dapr/dapr/blob/master/charts/dapr/charts/dapr_placement/templates/dapr_placement_deployment.yaml#L141

Related to #5448

Issue is still relevant to us

Hello, I have the sama error


Sync branches into databases

Related #14180
Related #25233
Related #22639
Close #19786
Related #12763
This PR will change all the branches retrieve method from reading git data to read database to reduce git read operations.

[x] Sync git branches information into database when push git data
[x] Create a new table Branch, merge some columns of DeletedBranch into Branch table and drop the table DeletedBranch.
[x] Read Branch table when visit code -> branch page
[x] Read Branch table when list branch names in code page dropdown
[x] Read Branch table when list git ref compare page
[x] Provide a button in admin page to manually sync all branches.
[x] Sync branches if repository is not empty but database branches are empty when visiting pages with branches list
[x] Use commit_time desc as the default FindBranch order by to keep consistent as before.

I still do not think using the "queue" is right but it doesn't block.
By the way, I think there should be some comments about removing such one-time queue code after some time (eg: 2 releases)

Possible regression: https://github.com/go-gitea/gitea/issues/25909


fix(text): updated screenshots

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 84.503%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
9367

Relevant Lines:
10254

💛  - Coveralls


conversion of rT.variables in mg/dL

Needs to be done in parallel with  https://github.com/nightscout/trio-oref/pull/30
This concerns mainly ISF as transmitted from oref to suggestion / enacted. So far I only found one instance where ISF is used.
So far ISF is always transfered from oref in the current user glucose unit, so if mmol/L is used it comes in mmol/L. Therefore currently no conversion is applied in Trio to ISF originating from oref. Drawback is also that a change of user glucose unit will not be reflected in ISF unless a new loop is calculated. Refer also to https://github.com/nightscout/trio-oref/issues/29
Also the watch app needs to adjusted as ISF may also be shown on watch.

I need a little help on the watch part, still throws an error in the conversion function https://github.com/nightscout/Trio/blob/a731a136c07af32ec41398aaf6313da39273f583/FreeAPS/Sources/Services/WatchManager/WatchManager.swift#L211

successfully tested!
As Trio does not show ISF anywhere on UI, only watch can be used to review the changes.
Old sitiuation - ISF is only shown converted after a new loop

original state ISF
after unit change, no new loop
after new loop

After change, ISF is immediatly converted after changing units on phone. As it can be seen the popup still shows units from last loop, watch already has ISF converted.

original state ISF
after unit change, no new loop

it can also be reviewed with enacted.js in Developer option.

I tested this now in Xcode / iPhone simulator, and it works great.

ISF instantly changes units on the watch when changing the units setting
At loops, the ISF value in suggested and enacted are updated, and displayed with the chosen units both in the enacted box in Trio, and in the Nightscout OpenAPS pill.

We will be diverging a little from openaps/oref0 by doing this, which is probably fine.
@mountrcg, did you consider PRing the oref changes to upstream oref0?

From my conversation with Robert, this actually is not something that diverges from oref0, but is a change that he introduced himself about 2 years ago, and we are making it so that ISF is treated like all other settings.

From my conversation with Robert, this actually is not something that diverges from oref0, but is a change that he introduced himself about 2 years ago, and we are making it so that ISF is treated like all other settings.

Ok, thanks for the info, yes this rings a bell. But when checking relevant lines in determine-basal, it seems his changes then were not 1:1 with the current PR:

The PR from 2021 is here:
https://github.com/openaps/oref0/commit/da70837952034a9f23794eda7751701434d34508


Fix a typo in the WONK axis description

This PR fixes a typo that was spotted while reviewing the Google Fonts axis definitions https://fonts.google.com/variablefonts#axis-definitions

Thank you very much Jordan! Mind signing the Contributor License Agreement noted above so that we can merge this edit?

@chrissimpkins no problem! I signed the Google CLA yesterday after opening this PR and the cla/google check is now passing. So the changes are good to go 👍🏾. Though I'm not sure how to resolve the other failing tests.

Thank you very much!

@m4rc1e @felipesanches mind troubleshooting the setuptools-scm error in the CI?
https://github.com/googlefonts/axisregistry/actions/runs/3858327668/jobs/6584971818

CI fixed. I'll merge this once it passes. Thanks @jordanwilliams as well.


SPI broken on stm32f412 on master

I pulled the latest master and the SPI stopped working.
My config:
CONFIG_SPI=y
CONFIG_SPI_1=y
CONFIG_SPI_1_OP_MODES=1
CONFIG_SPI_3=y
CONFIG_SPI_3_OP_MODES=1
CONFIG_SPI_STM32_INTERRUPT=y

but it does not matter if we are using interrupts or not.
the code:
static sst26vf016b_error_t sst26vf016b_wakeup(void) {
	LOG_DBG("wakeup");
	u8_t buffer_tx[] = {sst26vf016b_op_RDPD};
	u8_t buffer_rx[1];
	struct spi_buf tx_buf [] = {
		{
		.buf = buffer_tx,
		.len = sizeof(buffer_tx)/sizeof(u8_t)
		}
	};
	const struct spi_buf_set tx = {
		.buffers = tx_buf,
		.count = sizeof(tx_buf)/sizeof(struct spi_buf)
	};
	const struct spi_buf rx_buf []= {
		{
		.buf = NULL,
		.len = 4,
		},
		{
		.buf = buffer_rx,
		.len = sizeof(buffer_rx),
		}
	};
	const struct spi_buf_set rx = {
		.buffers = rx_buf,
		.count = sizeof(rx_buf)/sizeof(struct spi_buf)
	};

	if (spi_transceive(sst26vf016b.spiDev, &sst26vf016b.spi_conf, &tx, &rx)) {
		return sst26vf016b_error_SPI;
	}

	if (SST26VF016B_JEDEC_DeviceID != buffer_rx[0]) {
		LOG_ERR("wrong device id! current DeviceID=0x%X vs DeviceID=0x%X",
				buffer_rx[0],
				SST26VF016B_JEDEC_DeviceID
			);
		return sst26vf016b_error_wakeup_wrongid;
	}
	k_sleep(K_MSEC(10)); // 10 msec till the device has left deep sleep
	return sst26vf016b_error_none;
}

My log print:
[00:00:01.421,000] <dbg> spi_ll_stm32.spi_stm32_configure: Installed config 0x20018ba4: freq 12000000Hz (div = 2), mode 0/0/0, slave 0
[00:00:01.434,000] <dbg> spi_ll_stm32.spi_context_buffers_setup: tx_bufs 0x200179a8 - rx_bufs 0x20017990 - 1
[00:00:01.444,000] <dbg> spi_ll_stm32.spi_context_buffers_setup: current_tx 0x200179b0 (1), current_rx 0x20017998 (2), tx buf/len 0x200179bc/1, rx buf/len 0x00000000/4
[00:00:01.459,000] <dbg> spi_ll_stm32.spi_context_update_tx: tx buf/len 0x00000000/0

on the logic analyzer:

Some comment:
1.) I checked the SPI coms via an older firmware that only uses STM32HAL and it works there. So we can say that the (flash) IC is not broken.
2.) there is no timeout, so the firmware breaks at https://github.com/zephyrproject-rtos/zephyr/blob/master/drivers/spi/spi_ll_stm32.c#L495 while waiting
3.) looks for me that the tx is send, but it somehow messes up while rx. There were some changes and maybe the rx_buf setup is no invaild

I forgot the old version for comparison:
*** Booting Zephyr OS build zephyr-v2.1.0-383-g17d066b9dc0e  ***
the latest version:
*** Booting Zephyr OS build zephyr-v2.1.0-634-gbd9962d8d98c  ***
And a print out for the old SPI com:

I experienced the same issue with the effect that the SPI_NOR driver did not initialize anymore (it receives the wrong device id).
By trial and error I could locate the offending commit being 2ce8fa1e42d3d60e4119f15e82c29d2daaf67c00 but I still need to understand how.

@erwango I put your changes in but it is still broken
I attached a logic analser shot in.
old working version:

latest fix:

for me it looks that the rx never stops (spi_context_wait_for_completion does not return). That is why the CS does not go high


Add a "copy link to answers" button

Finding the link to the answers page seems too difficult. Add a clear button either into the feedback (Correct / Incorrect) box or next to the submission button. Button should copy the answers link to the clipping board.

This has been added.