Precompilation error on the Nvidia Jetson platform

Hi, firstly thanks for the work on the package.
I'm trying to get some code using LoopVectorization.jl running on the NVIDIA Jetson AGX Xavier.
Unfortunately it fails in the precompilation stage in REPL. Below is the complete stacktrace invoked by only including this package.
I'm using Julia 1.4.0 and LoopVectorization v0.6.30. The Jetson has a 64-Bit ARM CPU.
(@v1.4) pkg> status
Status ~/.julia/environments/v1.4/Project.toml
.
.
[bdcacae8] LoopVectorization v0.6.30
.
.

julia> using LoopVectorization
[ Info: Precompiling LoopVectorization [bdcacae8-1622-11e9-2a5c-532679323890]
ERROR: LoadError: could not open file /home/coz/.julia/packages/VectorizationBase/FfrB7/src/cpu_info.jl
Stacktrace:
[1] include(::Module, ::String) at ./Base.jl:377
[2] include(::String) at /home/coz/.julia/packages/VectorizationBase/FfrB7/src/VectorizationBase.jl:1
[3] top-level scope at /home/coz/.julia/packages/VectorizationBase/FfrB7/src/VectorizationBase.jl:215
[4] include(::Module, ::String) at ./Base.jl:377
[5] top-level scope at none:2
[6] eval at ./boot.jl:331 [inlined]
[7] eval(::Expr) at ./client.jl:449
[8] top-level scope at ./none:3
in expression starting at /home/coz/.julia/packages/VectorizationBase/FfrB7/src/VectorizationBase.jl:215
ERROR: LoadError: Failed to precompile VectorizationBase [3d5dd08c-fd9d-11e8-17fa-ed2836048c2f] to /home/coz/.julia/compiled/v1.4/VectorizationBase/Dto5m_LPpax.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
[3] _require(::Base.PkgId) at ./loading.jl:1029
[4] require(::Base.PkgId) at ./loading.jl:927
[5] require(::Module, ::Symbol) at ./loading.jl:922
[6] include(::Module, ::String) at ./Base.jl:377
[7] top-level scope at none:2
[8] eval at ./boot.jl:331 [inlined]
[9] eval(::Expr) at ./client.jl:449
[10] top-level scope at ./none:3
in expression starting at /home/coz/.julia/packages/LoopVectorization/zXjmq/src/LoopVectorization.jl:3
ERROR: Failed to precompile LoopVectorization [bdcacae8-1622-11e9-2a5c-532679323890] to /home/coz/.julia/compiled/v1.4/LoopVectorization/4TogI_LPpax.ji.
Stacktrace:
[1] error(::String) at ./error.jl:33
[2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
[3] _require(::Base.PkgId) at ./loading.jl:1029
[4] require(::Base.PkgId) at ./loading.jl:927
[5] require(::Module, ::Symbol) at ./loading.jl:922

Any help would be appreciated.

If you're willing to help, I think we can get things to work.
First of all, it looks like VectorizationBase failed to build. While building, it creates a file (using CpuId.jl) with a bunch of constants describing the host CPU.
CpuId.jl looks like it is Intel and AMD only (or x86 only?).
So the first thing needed would be a build script that is able to detect it's an ARM processor, and then if so correctly fill out these fields:
const REGISTER_SIZE = $register_size # bytes per register
const REGISTER_COUNT = $register_count # how many floating point registers?
const REGISTER_CAPACITY = $register_capacity # not used, but it was size * count
const FP256 = $(cpufeature(CpuId.FP256)) # not used, was supposed to distinguish zen1
const CACHELINE_SIZE = $(cachelinesize()) #
const CACHE_SIZE = $cache_size # NTuple{3,Int} (L1, L2, L3), but I should generalize code that uses it for different numbers of cache levels
const NUM_CORES = $num_cores # number of physical cores
const FMA3 = $(cpufeature(CpuId.FMA3)) # does it have fused multiply-add? This is used specifically for whether it has the `vfmadd231` instruction, to see if it can use asm call for that particular variant
const AVX2 = $(cpufeature(CpuId.AVX2)) # Does it have SIMD integer support?
const AVX512F = $(cpufeature(CpuId.AVX512F)) # Does it have AVX512?
const AVX512ER = $(cpufeature(CpuId.AVX512ER)) # does it have hardware exp2, and accurate hardware inverse and inverse square root?
const AVX512PF = $(cpufeature(CpuId.AVX512PF)) # avx512 prefetch extensions
const AVX512VL = $(cpufeature(CpuId.AVX512VL)) # do avx512 instructions work with shorter registers?
const AVX512BW = $(cpufeature(CpuId.AVX512BW)) # avx512 with 8- and 16-bit integer support?
const AVX512DQ = $(cpufeature(CpuId.AVX512DQ)) # avx512 with 32- and 64-bit integer support?
const AVX512CD = $(cpufeature(CpuId.AVX512CD)) # conflict detection, includes SIMD count-leading-zeroes

Do you happen to know a lot of low level details about ARM? Or how to query them?
Some of these constants could be renamed to generalize them across instruction sets, others can be split into general and specific versions (e.g., FMA3 for whether it has that specific instruction set and a more general HAS_FUSED_MULTIPLY_ADD which would be true for FMA4 on x86, and whatever the ARM equivalent is).
From there, we'd have to make sure SIMDPirates and SLEEFPirates work as intended.

Hi thanks for your prompt response. Unfortunately I've got no practical experience with ARM chips or any low level instruction set programming . However I'm willing to help if needed. It seems like as you have mentioned the problem lies within the CpuId.jl.
julia> using CpuId
[ Info: Precompiling CpuId [adafc99b-e345-5852-983c-f28acb93d879]
error: couldn't allocate output register for constraint '{ax}'
ERROR: Failed to precompile CpuId [adafc99b-e345-5852-983c-f28acb93d879] to /home/coz/.julia/compiled/v1.4/CpuId/vMZBF_LPpax.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1272
 [3] _require(::Base.PkgId) at ./loading.jl:1029
 [4] require(::Base.PkgId) at ./loading.jl:927
 [5] require(::Module, ::Symbol) at ./loading.jl:922

Maybe I should redirect this to their issue board?

You could, but it's likely that ARM is out of scope for CpuId.jl, in which case VectorizationBase would need an alternative means of getting info about the host computer.

Could you see if this works?
https://github.com/chriselrod/VectorizationBase.jl/issues/9

Could you see if this works?
chriselrod/VectorizationBase.jl#9

The v0.8.1 seems to work fine. Thank you!

(@v1.4) pkg> status
Status `~/.julia/environments/v1.4/Project.toml`
...
  [bdcacae8] LoopVectorization v0.6.30
...

(@v1.4) pkg> update
...
  [bdcacae8] ↑ LoopVectorization v0.6.30 ⇒ v0.8.1
...

julia> using LoopVectorization
[ Info: Precompiling LoopVectorization [bdcacae8-1622-11e9-2a5c-532679323890]

# pass 👍

@chriselrod @ozmaden Is this issue resolved?

@chriselrod @ozmaden Is this issue resolved?

I think so, but I'd like to improve ARM support, especially as more SVE CPUs start appearing (recently Neoverse and A64FX).

I think so, but I'd like to improve ARM support, especially as more SVE CPUs start appearing (recently Neoverse and A64FX).

Haven't had problems since the last comment in May, so I think it is resolved

Haven't had problems since the last comment in May, so I think it is resolved


Achieve full test coverage of TransformationAddDeadBlock

The regular spirv-fuzz tests miss some statements in this transformation class, and it would be good to cover them.

I'll work on this issue.


Getting a record using the index?

Help please: getting a record using the index?
missing example please
I tried a code and it didn't work
example:
public async Task<IList<T>> AllDoneAsync(bool done)
{
            return await DbManager.GetAllRecordsByIndex<bool, T>(new StoreIndexQuery<bool>()
            {
                Storename = Storename(),
                AllMatching = true,
                IndexName = "done",
                QueryValue = done
            });
}

If you can exemplify this method DbManager.GetAllRecordsByIndex ?

Your code is correct the issue is with IndexedDB itself. To put simply IndexedDB does not index on Boolean values. So even though you can create the index it won't be used.
There are a few of ways you can get around this.

change your done property to either an int or string (I have tested this)
Provide an additional property that returns Done as a string or int and set the index on that
Return all of the items and then filter on  the Done property.

Hope that helps

@wtulloch thanks ...


adds assemblyai data reader

Adds support for AssemblyAI as a Reader
Submitted as part of the Verba Challenge for AI Tools Hack Night

nice!!!! @thomashacker let me know if I can help with the review

Cool, I'll address these comments tomorrow morning

Awesome work everyone! ❤ Let me know once you finished the changes, and then I'll have a quick last look

CLA is A-Ok!

thanks @thomashacker , please review


Redo setuptools interaction with entry points

The current solution had one major problem: katversion had to be installed
first in order to simply run setup.py of the package you are installing.
This makes it impossible for pip / setuptools to figure out that your package
actually depends on katversion so that it can be installed automatically.
So 'pip install kattelmod' will never work on a clean system.
The sanctioned way to extend setuptools is via entry points and setup_requires.
The very similar setuptools_scm package serves as inspiration here. The entry
point does two things: use get_version() to set the package version and extend
the build command with the AddVersionToInitBuild class, which bakes the version
string into the built package.
In the case of katversion itself, don't bother eating your own dog food.
While it was trivial in the current solution, the use of entry points requires
you to first run 'python setup.py egg_info' before installing katversion,
as mentioned in setuptools_scm comments. Simply do the two steps of the entry
point explicitly by setting version and cmdclass keywords.
Coincidentally the nosetests problem has also gone away as we do not have
a method called katversion.setup() anymore.

Awesome @ludwigschwardt!
I was wondering if this final hurdle might bother you when you start to use katversion for yourself ;-)
At CAM we currently install katversion when we deploy as a step before the rest of our packages get installed to bypass this. I have tried setup_requires before but never realised it had to be supplemented with entry points.
@brickZA @lvdheever this refers to the discussion we had a few days back.


Golden files a la plutarch-test

Following #1, using GitHub actions, we want to:
git checkout $PR_TARGET
nix run .#benchmark --csv > before.csv
git checkout $HEAD
nix run .#benchmark --csv > after.csv
nix run plutarch#benchmark-diff before.csv after.csv > benchmark.diff

And then make benchmark.diff available somehow.
This is quite low priority, but a nice to have.

This is likely going to be solved as a result of #90

It's resolved by #94. We now have up to date bench.csv always.


Allow AMI change to be ignored

Many times we will construct an EC2 instance with the current AMI at the time but would prefer it to not be replaced. We source the AMI  from a filtered data "aws_ami" declaration. If the ID for the AMI changes we would like to have the EC2 stay as it is and not be replaced.
Describe the solution you'd like.
I think having some sort of lifecycle flag for changed parameters would make this possible.
Describe alternatives you've considered.
Hardcoding the AMI directly into the source.

This is the biggest issue with this module. It's the lack of lifecycle and ignore_changes like:
lifecycle {
    prevent_destroy = true
}

ignore_changes = [
    ami
]

Because you will never again want to run your terraform state again if you use the ec2_instance module, in the risk of the entire instance getting replaced.

There is no way in Terraform to parametrize ignore_changes values to allow users who like the default experience and users who want to ignore changes in some arguments (like ami) in this module.
@lallish This is not the flaw of this module, but the intended behavior. Users specify ami and get an instance provisioned for them. If ami changes - the instance is recreated.
Usually, you want to use the data source aws_ami to get the AMI ID dynamically. If you can find filter arguments in a very detailed way, you should not have the rotation very often. It may be not what you want. Just saying.
There is nothing else we can do in this module for this issue.

Thanks for the response on this.
I do use the AMI filter technique but it still rotates the AMI ID too often
for my taste - once a month or so.
I was just thinking that maybe a work around would be to store the AMI ID
in parameter store and have it ignore the value changes after initial
creation.
I can certainly do that outside of the module but it would be cool to have
it integrated.
Thoughts?
On Fri, Apr 28, 2023, 7:17 a.m. Anton Babenko @.***>
wrote:

There is no way in Terraform to parametrize ignore_changes values to
allow users who like the default experience and users who want to ignore
changes in some arguments (like ami) in this module.
@lallish https://github.com/lallish This is not the flaw of this
module, but the intended behavior. Users specify ami and get an instance
provisioned for them. If ami changes - the instance is recreated.
Usually, you want to use the data source aws_ami to get the AMI ID
dynamically. If you can find filter arguments in a very detailed way, you
should not have the rotation very often. It may be not what you want. Just
saying.
There is nothing else we can do in this module for this issue.
—
Reply to this email directly, view it on GitHub
https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/325#issuecomment-1527640607,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABOGUPMBO2NC7ODQ6TKH3LXDPGNVANCNFSM6AAAAAAWZLFDFY
.
You are receiving this because you authored the thread.Message ID:
<terraform-aws-modules/terraform-aws-ec2-instance/issues/325/1527640607@
github.com>

@jensenbox It has just been added in #331, which will be merged shortly.

Thank you very much!

Nice! Since you want to get the latest AMI through filtering for new instances but still keep the old AMI for old instances so they aren't replced.  Makes it a lot more reliable now! The prevent_destroy would also be a good thing but is another topic. I don't see much else that would frequently replace the instance other than new AMIs.

This issue has been resolved in version 5.0.0 :tada:

@lallish The value of prevent_destroy can't be parametrized, so users won't be able to delete instance if we have prevent_destroy = true in the module. This is the behavior of Terraform.


Offline

Android dell 3830 version 4.4.2
Boardwalk version 1.1
Keeps making me play offline. Please fix

As far as I know boardwalk is hit and miss on some versions of minecraft, plus I do know that the mojang servers, including their logon servers were offline for quite a few hours


optimized tor args, and force change circuits via tor control port

In my testing, I was getting a very limited subset of IP addresses from Tor. This pull request fixes that issue.
Major improvements:

Tor args changed to refresh circuits as often as possible

Control port enabled for each tor instance (from: https://www.thesprawl.org/research/tor-control-protocol)

Loop added to main execution of start.rb to reset circuit of each tor instance via control port using newnym.sh script

uncachable file including common IP checking websites so you can see IP is actually changing

Proxy.working? includes a timeout so the whole script does not hang for 60 seconds (default timeout)

Changes you might not want:

USA only exit nodes
haproxy stats port 4444

hi @milesrichardson , got here through tor.SE. Cheers for this pull.

Loop added to main execution of start.rb to reset circuit of each tor instance via control port using newnym.sh script

Not knowing much about Tor, does this reset a particular tor endpoint (i.e.: one of the 100) and find a new endpoint/ip automatically? When looking at the Haproxy stats I'm often seeing ~5 endpoints that are considerably slower than the rest. Is this feature used to throw them out and get something fresh?

@gebrits Each tor instance listens on a "control port" and has a set of commands you can send over that port (read more here: https://www.thesprawl.org/research/tor-control-protocol/)
One of the commands is "newnym" which is simply a signal teling tor to "reset circuit"
start.rb is the script that is the "main" script of the Docker container, i.e. running in the foreground... First it sets up all the services, then it enters the main loop, which you can see here: https://github.com/mattes/rotating-proxy/pull/14/commits/8594519f51da7da2dc6baafaf244ee619a8c42cc#diff-27035d9712ff5cc90fca9ecb5c34c3f7R266
The main loop loops through EVERY tor proxy (proxies.each) and sends the newnym signal to it, then loops through every proxy and restarts it if it's not responding, then sleeps 60 seconds.
This is super janky, but it's working for me. I get pretty good variety running https://github.com/milesrichardson/rotating-proxy in prod. Over the course of an hour, I get exposed to ~1000 different exit IP's. I haven't needed to optimize further than that.

Cheers. Much appreciated.

Thanks for the PR! Also loved reading your post here: http://tor.stackexchange.com/questions/9934/tor-is-only-assigning-circuits-from-a-very-limited-subset-of-exit-nodes


Add possibility to change src/

I searched online/tried to ask a question on stackoverflow. There seem not to be a solution which doesn't include symlinks/ejecting.
Is there any possibility to be able to implement this feature? Is there a way I didn't find? Is my question irrelevant?
Thanks,
PS. I mean rename src/ to, for example, /views.

Hi! Check out this issue, I don't think there's a way to configure that, nor is there an intention to have that in the future.
Why do you want to rename it? Just curious.

Hi! Because I have a Go back-end and I have other "source" files in the same directory. I think React files would be better suited in a folder called something like views.
Okay, you don't like configuration at all, fine. I have to eject, sigh.

@criscola Why do you need to the root of the React project and root of the Go project to be the same folder? Seems like it could be confusing. Why not create the React project in a subfolder called web or client or something?

@jedrichards I don't know... I don't find it confusing. /views containes React components. /public (could be called /static as well) contains images, CSS, html... There would be a main.go in the root directory containing the webserver start point and then all the other folders like /model, /middleware etc. etc.

Sorry, we're not going to be making this configurable. Please make your react application a separate folder.
Thanks!


timestamp of price

Hi - just wondering if we could get the timestamp of the price? Thank you!

Hi,
On the PriceFeed struct there is a field named publish_time which contains the timestamp.


Remove support for Java 6

This PR updates the compilation target to Java 7, removes the Java 6 travis-ci build, and updates to the latest version of Selenium, which requires Java 7.

👍

No veto, but there could be more in the code...
I'll evaluate something like animal-sniffer to check for Android compatibility.

I just updated the minor version of selenium to 2.53.1, which is the latest (and possibly the last) version supporting Java 7.


docs: Add contributor documentation

Overview
This pull request adds a list of contributors to the documentation

Thank you for your contribution attempt in this repository!
Unfortunately, this pull request doesn't meet our standards by reason we stated below. Please create another pull request that meets our standards in the future.
Reason: Pull requests must at least refer to an issue.

Yo, you do this to me?

Thank you for your contribution attempt in this repository!
Unfortunately, this pull request doesn't meet our standards by reason we stated below. Please create another pull request that meets our standards in the future.
Reason: Pull requests must at least refer to an issue.


GPU transition problem

https://github.com/jadore801120/attention-is-all-you-need-pytorch/blob/20f355eb655bad40195ae302b9d8036716be9a23/transformer/Translator.py#L17
this line should be
checkpoint = torch.load(opt.model, map_location=self.device)
Otherwise when the GPU that was used to train the model is full, the system will raise an error "cuda out of memory" no matter you use GPU or CPU

@HikaruSama233 Thanks for pointing out!
I have modified it in the newest code.
Thanks!


Expose Ssl::Connection to http filter and expose SAN.uri in cert.

@mattklein123 , could you take a look of this PR? Thanks.

At a high level this looks fine, but you need tests.

I would like to add tests. But seems all 6 files this PR touches do not have existing _test.cc file.

@mattklein123 , I would like to add tests. But seems all 6 files this PR touches do not have existing _test.cc file.

The lack of _test files does not mean you don't get to add tests. You need to test your code. This can either be done in unit tests or integration tests. For the SSL connection stuff, I would probably make a new _test file modeled after:
https://github.com/lyft/envoy/blob/master/test/common/network/connection_impl_test.cc
For testing the SSL filter function addition, you can add a test to here:
https://github.com/lyft/envoy/blob/master/test/common/http/conn_manager_impl_test.cc

@mattklein123 It's not that I don't want to add tests. Just a little weird when I don't see any tests for the files involved in this PR. Now I realized you guys have different testing path with us, typically we put _test.cc in the same dir with the class to test.
To be honest, this is my first PR and it is not that trivial. So I decided to only expose ssl() interface and will add the actual logic/tests in follow-up PRs. How does that sound?

Even for this reduced change, you still must have a test. You should test in the connection manager filter test that you correctly return the SSL info for a mock SSL connection when you call the function from a filter.
Please also revert the file mode changes in the diff.

@mattklein123 please take a look. Thanks.


Re-organize Discovery facets

Change the order of facets on the navigation sidebar to be of order most common to least common. Related to #32 for adding more Discovery facets.

Authors
Author affiliations
Date
Output types
CRPs
Regions
Countries
"AGROVOC" subjects
Myriad of centre specific subjects in alphabetical order
Status

We want to keep the same order in the homepage and the main Discovery config.

Peter approved this. Already merged to 4_x-dev. Closing.


[0.9.3] Acceptable boolean syntax differs for data writes and data queries

I'm able to insert data with the following booleans:
> insert hamlet bool=T
> insert hamlet bool=t
> insert hamlet bool=true
> insert hamlet bool=True
> insert hamlet bool=TRUE
> insert hamlet bool=F
> insert hamlet bool=f
> insert hamlet bool=false
> insert hamlet bool=False
> insert hamlet bool=FALSE

> select * from hamlet
name: hamlet
------------
time                bool
2015-09-01T23:52:40.159867148Z  true
2015-09-01T23:52:48.540448454Z  true
2015-09-01T23:52:50.666636305Z  true
2015-09-01T23:52:53.726779008Z  true
2015-09-01T23:52:56.933272099Z  true
2015-09-01T23:53:00.567120453Z  false
2015-09-01T23:53:02.074383331Z  false
2015-09-01T23:53:04.178181474Z  false
2015-09-01T23:53:08.836037464Z  false
2015-09-01T23:53:13.032263442Z  false

When I attempt to query with t ,T, or random string I get unexpected results, eg.:
> select * from hamlet where bool=t
name: hamlet
------------
time                bool
2015-09-01T23:53:00.567120453Z  false
2015-09-01T23:53:02.074383331Z  false
2015-09-01T23:53:04.178181474Z  false
2015-09-01T23:53:08.836037464Z  false
2015-09-01T23:53:13.032263442Z  false

> select * from hamlet where bool=T
name: hamlet
------------
time                bool
2015-09-01T23:53:00.567120453Z  false
2015-09-01T23:53:02.074383331Z  false
2015-09-01T23:53:04.178181474Z  false
2015-09-01T23:53:08.836037464Z  false
2015-09-01T23:53:13.032263442Z  false

> select * from hamlet where bool='beetle'
name: hamlet
------------
time                bool
2015-09-01T23:53:00.567120453Z  false
2015-09-01T23:53:02.074383331Z  false
2015-09-01T23:53:04.178181474Z  false
2015-09-01T23:53:08.836037464Z  false
2015-09-01T23:53:13.032263442Z  false

This should probably be done at the same time: https://github.com/influxdb/influxdb/issues/4037

May I suggest to document this until it's fixed? The current milestone suggest a later release date.

@pdknsk it is documented: https://influxdb.com/docs/v0.9/troubleshooting/frequently_encountered_issues.html#querying-with-booleans

the current behavior has been documented and we have no plans to change this behavior in the 1.x line.


[Enhancement]: Azurite v3.26.0

Problem
new service API version to 2023-08-03 was introdused
Solution
update to Azurite v3.26.0
Benefit
latest api
Alternatives
no
Would you like to help contributing this enhancement?
Yes

You can always override the default version using the WithImage(string) API. I do not think it makes sense to continuously update the version of the modules. Additionally, this may introduce breaking changes for others who depend on the module's version (something I would like to avoid). I would prefer to update images only for major versions and only if it is necessary due to incompatibilities.


Controls GUI error

Issue Description:
Controls GUI error
What happens:
when you goto settings and goto controls it get completely messed like everything starts in the middle but i do not know if this is a config conflict but im really shur its not. but this is my favorite mod ever so if you need anything else at all let me know i will send anything that is needed
What you expected to happen:
the GUI to be fine
Steps to reproduce:
1.download ender.io
2.put ender.io in mods folder
3.start minecraft
4.goto settings
5.goto controls
Affected Versions (Do not use "latest"):

EnderIO: EnderIO-1.12.2-5.2.59
EnderCore: EnderCore-1.12.2-0.5.76
Minecraft: 1.12.2
Forge: forge-<IP_ADDRESS>47
SpongeForge? no
Optifine? both with it on, off and with no other mods installed
Single Player

Your most recent log file where the issue was present:
i could not find the error that did this so heres a screen shot

paste the latest log with using pastebin or gitgist link it here

https://hastebin.com/pipugevavi.md

nvm https://gist.github.com/CitiesXL2815/4686dbc3fbf82e96644ce7681d4ced55 got copy of it from a build

oh ok

lol oh well guest @HenryLoenwind look at both

It's as wide as it need to be to contain all text. Not really our problem that Mojang's code doesn't take the available space into account when determining how wide to make that column. Also nothing we can change.

Is their anyway i can fix it because my screen is not big enough

@MeatSh1eld would you mind giving our latest dev build a test to see if you still have this issue?
You can find it here: https://ci.tterrag.com/job/EnderIO-Modules/job/EnderIO-Hourly/1221/

Ok

Considering this fixed for now. If you still have an issue, please re-open this ticket


README.md: Support launch of latest stable version in Binder

Enable users to launch the latest stable version (1.0.0) or the latest development version (master branch) of Elyra on my binder.org. For workshops, demos etc the latest stable version is more appropriate than the development version because the Docker image does not change, whereas the development version does each time a PR is merged.
Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

I'm ok with removing the badge at top of the page. I agree that it is ambiguous.

On another note, if we are always building latest (e.g. as of today the latest tagged image is equivalent to 1.0.0) we might want to point to that tag instead of x.y.z.


Undefined method run_list_for if json_class attribute is missing

Hi,
I´m getting following error if json_class attribute is missing in the json role file:
==> myVirtualMachine: [2015-06-30T09:53:41+02:00] INFO: *** Chef 12.4.0 ***
==> myVirtualMachine: [2015-06-30T09:53:41+02:00] INFO: Chef-client pid: 3201
==> myVirtualMachine: [2015-06-30T09:53:42+02:00] INFO: Setting the run_list to ["role[xyz]", "role[zzz]"] from CLI options
==> myVirtualMachine:
==> myVirtualMachine: ================================================================================
==> myVirtualMachine: Error expanding the run_list:
==> myVirtualMachine: ================================================================================
==> myVirtualMachine:
==> myVirtualMachine: Unexpected Error:
==> myVirtualMachine: -----------------
==> myVirtualMachine: NoMethodError: undefined method `run_list_for' for #<Hash:0x000000019f5d20>
==> myVirtualMachine:
==> myVirtualMachine: [2015-06-30T09:53:42+02:00] ERROR: Running exception handlers
==> myVirtualMachine: [2015-06-30T09:53:42+02:00] ERROR: Exception handlers complete
==> myVirtualMachine: [2015-06-30T09:53:42+02:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> myVirtualMachine: [2015-06-30T09:53:42+02:00] ERROR: undefined method `run_list_for' for #<Hash:0x000000019f5d20>

Does this depend on chef-zero or is it an issue of the knife download method not writing the json_class attribute to the json role file while downloading?
Best regards
André

That was primarily a bug in how chef loaded json files; we fixed it by making the process a lot more explicit - so we now load a role, rather than asking the server for a blob of json and then inspecting it to find out it's a role.
Either way, recent chef versions shouldn't exhibit this behaviour.


LND Rest API Estimate Fee Endpoint incorrect?

Background
When using the estimate fee endpoint in the REST API aka
https://api.lightning.community/rest/#get-v1-transactions-fee
it does not require the AddrToAmount parameter like this GRPC version requires, furthermore when making a request it returns the error "no outputs"
Your environment

version of lnd
0.7
which operating system (uname -a on *Nix)
Mac OS 10.14.6
version of btcd, bitcoind, or other backend
bitcoind 18.1
any other relevant environment details

Steps to reproduce
Tell us how to reproduce this issue. Please provide stacktraces and links to code in question.
I made a request to the REST api over TOR like so
http://vmsgj6t6t2l542rt3hqacpyqtt5upimhxfefiejkkrjiylblwzmys4id.onion/lnd-rest/btc/v1/transactions/fee?target_conf=2
Expected behaviour
The API should require the AddrToAmount parameter but this is not stated in the documentation
Tell us what should happen
Actual behaviour
AddrToAmount is not required according to the documentation and a "no outputs" error is returned

ok thanks good to know will close

Actually im not sure it even works by adding the field, I tried both
http://vmsgj6t6t2l542rt3hqacpyqtt5upimhxfefiejkkrjiylblwzmys4id.onion/lnd-rest/btc/v1/transactions/fee?target_conf=2&AddrToAmount=%7B%22tb1qha3jslcuc5dp4fneyf82373m7yq45a3x7k8ncq%22%3A10000%7D
and
http://vmsgj6t6t2l542rt3hqacpyqtt5upimhxfefiejkkrjiylblwzmys4id.onion/lnd-rest/btc/v1/transactions/fee?target_conf=2&AddrToAmount={"tb1qha3jslcuc5dp4fneyf82373m7yq45a3x7k8ncq":10000}
and get a
unexpected type map[string]int64 in *lnrpc.EstimateFeeRequest
feels like it should be a POST request not GET for transactions/fee

like this?

like this?
btc/v1/transactions/fee?target_conf=2&AddrToAmount[tb1q2wjf5tnsuccqk63pfnpcjkq9zdejess2urm3uz]=10000

not yet with this https://btcpay.mandelduck.io/lnd-rest/btc/v1/transactions/fee?target_conf=2&AddrToAmount[1CK6KHY6MHgYvmRQ4PAafKYDrg1ejbH1cE]=10000
I get a no outputs error

Gotcha, seems like this is something out of our control until the underlying issue is fixed unless we were to modify the API to be POST instead, which would be a breaking change.

ok thanks so should I keep this issue open?

Yeah. Once that's been resolved and is included in a release, we can update the dependency on our side.

Hey @mandelmonkey, this request seems to work fine for me
v1/transactions/fee?target_conf=2&AddrToAmount[tb1qha3jslcuc5dp4fneyf82373m7yq45a3x7k8ncq]=10000

returns
{
    "fee_sat": "2496",
    "feerate_sat_per_byte": "17"
}

Not sure if this is something different between 0.7.0 and 0.9.1, but thought you should know!

We've upgraded the dependency responsible for this multiple times now since the last activity in this issue, so it could very well be resolved.

Yes, it probably works now. But the documentation still doesn't show the parameter at all. Not sure if we'll ever fix that as it's in the swagger generator which we cannot update further because of a bug.

@wbobeirne cheers for letting me know will take a look


error

Issue Type: Bug
Visual Studio Code is unable to watch for file changes in this large workspace
VS Code version: Code 1.31.0 (7c66f58312b48ed8ca4e387ebd9ffe9605332caa, 2019-02-06T08:51:24.856Z)
OS version: Linux x64 4.15.0-45-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (4 x 1196)

GPU Status
2d_canvas: disabled_softwarechecker_imaging: disabled_offflash_3d: disabled_softwareflash_stage3d: disabled_softwareflash_stage3d_baseline: disabled_softwaregpu_compositing: disabled_softwaremultiple_raster_threads: disabled_offnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwaresurface_synchronization: disabled_offvideo_decode: disabled_softwarewebgl: disabled_offwebgl2: disabled_off

Load (avg)
4, 2, 2

Memory (System)
15.57GB (4.54GB free)

Process Argv
.

Screen Reader
no

VM
0%

Extensions: none

You probably need to follow this https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc

I have already gone through these steps but the issue stays the same..
On Fri, Feb 22, 2019, 7:02 PM Daniel Imms<EMAIL_ADDRESS>wrote:

Closed #68827 https://github.com/Microsoft/vscode/issues/68827.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/68827#event-2157848740, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AdF_Dz_wJLd4UpqtU_1urBg4rXZTqkLBks5vP_FXgaJpZM4a-6l5
.

It might be one of the existing file-watcher issues then https://github.com/Microsoft/vscode/issues?q=is%3Aopen+is%3Aissue+label%3Afile-watcher


Feature request: it would be great if I could suspend or unsuspend anki cards from roam, with tags

My workflow entails sometimes suspending or un-suspending anki notes, depending on a number of factors.
It would be great if I could do this, in roam, with a tag something.
I'm imagining something like the following, in roam...
- What is the capital of France? #ankify #suspend
   - Paris

...changes the relevant card's state to "suspended" in anki, but that when you remove the #suspend tag, that un-suspends it.
This is helpful because it would allow me to see, from roam, which cards I've suspended. Currently I might think that I need an anki card for some question, and see that there's already an existing one, not realizing that the associated card is suspended, and not in my reviews. And because of that, I can't be sure that a card isn't suspended, which means that I have to go and look it up in my anki database, defeats most of the point of this.
But if I could suspend and unsuspend notes with tags, I could do all this from roam, which I think would allow me to do 100% (with some edge case suggestions) of my anki management from Roam!
(I'm thinking about if there's a way that I could do this without any changes to ankify_roam. The best that I can come up with right now is writing a script that filters for all notes that have the #ankify tag and the #suspend tag, and suspends them, and then filters for all notes that have the #ankify tag, but not the #suspend tag, and un-suspend those. I'm not a software engineer, but I might spend a little bit of time tinkering with this.)

@Etyre Added this feature in v0.1.4 #36. To suspend a note from Roam, add the #[[ankify_roam: suspend=True]] tag to it. Any card which inherits that tag will also be suspended. You can also insure a note isn't suspended by tagging it with #[[ankify_roam: suspend=False]]. See https://github.com/taylormitchell/ankify_roam/blob/master/CHANGELOG.md

Hm. This doesn't work for me, with some weird side effects.
If I add the #[[ankify_roam: suspend=True]] tag to a block, that tag is not added to the note in anki, and the note is not suspended. However, it does add an extra tag to the anki note: the name of the page that the block is on!
For instance this roam snippet...

...produces this anki note.

As you can see, the tag `#quine` is not present on the roam side, but the `#[[ankify_roam: suspend=True]]` is missing on the anki side.
Same thing with this card.

Any idea what's up with that?

This is great! : )
Thank you!


Installation Error : UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 21: character maps to

OS: Windows 10
Python v3.6.x
E:\clients\Assets\FR_Infogen_v3\IGL\code>pip install git+https://github.com/iitzco/faced.git
Collecting git+https://github.com/iitzco/faced.git
  Cloning https://github.com/iitzco/faced.git to c:\users\diksha\appdata\local\temp\pip-req-build-5ibodt8c
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\Diksha\AppData\Local\Temp\pip-req-build-5ibodt8c\setup.py", line 14, in <module>
        long_description=readme(),
      File "C:\Users\Diksha\AppData\Local\Temp\pip-req-build-5ibodt8c\setup.py", line 6, in readme
        return f.read()
      File "D:\ai\envs\face3\lib\encodings\cp1252.py", line 23, in decode
        return codecs.charmap_decode(input,self.errors,decoding_table)[0]
    UnicodeDecodeError: 'charmap' codec can't decode byte 0x8f in position 21: character maps to <undefined>

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Diksha\AppData\Local\Temp\pip-req-build-5ibodt8c\

Same problem to me, did you solve this problem?

Same problem to me, did you solve this problem?

Not yet

#9 resolves this error

Just want to say that I had the same issue in a very different Python project, and the solution in PR #9 solved this for me, so thank you!

This works for me on python 3.7.9


chore: Update examples idempotency

Please provide the issue number

Issue number: #524
Summary
Update idempotency examples to 1.0.0
Changes

Please provide a summary of what's being changed

User experience

Please share what the user experience looks like before and after this change

Checklist
Please leave checklist items unchecked if they do not apply to your change.

[x] Meets tenets criteria
[x] I have performed a self-review of this change
[x] Changes have been tested
[x] Changes are documented
[x] PR title follows conventional commit semantics

Is this a breaking change?
RFC issue number:
Checklist:

[ ] Migration process documented
[ ] Implement warnings (if it can live side by side)

Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (4394755) 72.33% compared to head (66a335c) 72.26%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #528      +/-   ##
===========================================
- Coverage    72.33%   72.26%   -0.08%
===========================================
  Files          101      101
  Lines         4106     4106
  Branches       418      418
===========================================
- Hits          2970     2967       -3
- Misses        1022     1025       +3
  Partials       114      114

Flag
Coverage Δ

unittests
72.26% <ø> (-0.08%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add xxHash support

Add xxHash support to Linear.
This change is completely backwards and forwards compatible, as the field used to be ignored, and a check is in place to explicitly support pre-xxHash files.

I have just noticed your 'linearv2' branch, however I still think this change makes sense for Linear v1, as it's not a breaking change.

No need. 🙂 Linear v2 is better in every single way, so v1 will be obsolete anyway.
Also, ignoring this field (or warning) is better than actually throwing an exception. Especially since it's not a safety thing - zstd has it's own hash anyway.

What’s the estimated time frame for v2?

For a proper implementation for tooling - converter linearv1/v2/mca maybe like a week or two.

For a server implementation I'll release it on https://github.com/xymb-endcrystalme/Abomination in about a day for evaluation. I'll deem it stable after the server runs for a few days without issues. So "stable" maybe in a week?
It will be reading v1 & v2, but writing only v2. So backwards compatible.
Overall I plan about 3 implementations of LinearV2, each one better (lower CPU & RAM) than the previous one. 😎
My server implementation will have a comment:
// LinearRegionFile_implementation_version_0_5byXymb
// Just gonna use this string to inform other forks about updates ;-)

Just so I can easily inform other forks about newer versions of the implementation of .linear and nag them to update.

For a proper implementation for tooling - converter linearv1/v2/mca maybe like a week or two.
Any progress on this?


Add short user-agent attribute to logging

For monitoring purposes it is desired to group users based on short version of user-agent, e.g. dasgoclient vs pycurl ones. As such, it is desired to add it to logging of APS server which is used by other services (dbs2go). This will allow to propagate it to CERN MONIT as separate attribute in addition to user_agent. See discussion in https://its.cern.ch/jira/browse/CMSMONIT-462

The change was introduced here: c36feb20c750f89b35603f3456186e6e7f233711


Add default namespace to job in /samples

Add default namespace to Job, make sure it is in the sanme namespace with localQUeue
Add tag to image, no need to pull images always in kind

Signed-off-by: Kante Yin<EMAIL_ADDRESS>/kind cleanup

/lgtm
/approve


running "make bootstrap" it is failing with carthage: command not found

As shown in "Getting Started" steps

Install XCode
Cloned the repository
run make bootstrap to install tools and dependencies

Result:
It fails with error "carthage: command not found"

Hey @bemini you have a few different options for installing Carthage. Please refer to their official documentation here:
https://github.com/Carthage/Carthage#installing-carthage


result

Hello, I am very interested in your work. I ran the test.py script and it passed. The result is as follows:
[1]runfile('/home/renxue/BDCN/test.py', wdir='/home/renxue/BDCN')
Time.struct_time(tm_year=2019, tm_mon=7, tm_mday=7, tm_hour=9, tm_min=15, tm_sec=6, tm_wday=6, tm_yday=188, tm_isdst=0)
Bdcn.py:199: UserWarning: nn.init.constant is now deprecated in favor of nn.init.constant_.
   Nn.init.constant(param, 0.080)
(200, 200)
/home/renxue/anaconda3/envs/psenet/lib/python2.7/site-packages/torch/nn/functional.py:1332: UserWarning: nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.
   Warnings.warn("nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.")
383.229988098
Overall Time use:<PHONE_NUMBER>16
There is no visual result in the result/fuse folder. How can I solve this problem?
I look forward to your reply and wish you a happy life.

Hi, I run and retrain this code, and it's work fine.
His pretrained model ODS : 0.817
My retrain model ODS : 0.805

Hi, I run and retrain this code, and it's work fine.
His pretrained model ODS : 0.817
My retrain model ODS : 0.805

Thank you very much for your reply. The three evaluation indicators mentioned in the article: ODS, OIS and AP, are there tools that can directly get these three results, because the code does not involve evaluation indicators. Can you share the tools for calculating the evaluation indicators?
look forward to your reply

Yes, the evaluation code is written in Matlab. That's part of the Structured Forest paper. But, that code is also used in HED and RCF papers. it's good to read all those (HED, RCF) papers first to get better understanding.

Yes, the evaluation code is written in Matlab. That's part of the Structured Forest paper. But, that code is also used in HED and RCF papers. it's good to read all those (HED, RCF) papers first to get better understanding.

Thank you very much for your reply. Based on your suggestions, I will study further and wish you a happy life.

Hello, I am very interested in your work. I ran the test.py script and it passed. The result is as follows:
[1]runfile('/home/renxue/BDCN/test.py', wdir='/home/renxue/BDCN')
Time.struct_time(tm_year=2019, tm_mon=7, tm_mday=7, tm_hour=9, tm_min=15, tm_sec=6, tm_wday=6, tm_yday=188, tm_isdst=0)
Bdcn.py:199: UserWarning: nn.init.constant is now deprecated in favor of nn.init.constant_.
Nn.init.constant(param, 0.080)
(200, 200)
/home/renxue/anaconda3/envs/psenet/lib/python2.7/site-packages/torch/nn/functional.py:1332: UserWarning: nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.
Warnings.warn("nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.")
383.229988098
Overall Time use:<PHONE_NUMBER>16
There is no visual result in the result/fuse folder. How can I solve this problem?
I look forward to your reply and wish you a happy life.

Hi, I wonder did you solve this problem? I have the same problem that I can't find any result in the folder. Thanks!


Fooocus stopped because of the High uses of ram and gpu ram is not utilizing properly

Hey for heavy workload my Fooocus  process crashed multiple time on SageMaker. When I checked I saw that the RAM usage consistently approached its limit. I've faced the similar issue on Colab. Can you just implement this line on your code to utilize the free vram in the mix.
!python entry_with_update.py --share --always-high-vram
When I didn't specify on colab, simple workload, (can't to heavy workload cause the ram exceeded the limit and it crashes)

When I specify vram on colab, heavy workload with big checkpoints

When I didn't specify on sagemaker, simple workload, (can't to heavy workload cause the ram exceeded the limit and it crashes)

When I did specify the high vram on sagemaker, heavy workload with big checkpoints

Details: https://github.com/lllyasviel/Fooocus/issues/1377

Still having same issue , anyone find the solution (I'm new to this)


moduletool package warns about unpackaged pyc files

The moduletool package command warns about any files that were not included in the package. It should exclude *.pyc files from this warning. Here's an example warning:
WARNING  inmanta.moduletool:moduletool.py:755 The following files are present in the inmanta_plugins/minimalv2module directory on disk, but were not packaged: ['__pycache__/__init__.cpython-39.pyc']. Update you setup.cfg file if they need to be packaged.

should be fixed

Not fixed yet. Only __pycache__ and __cfcache__ are currently ignored.


Unexplained 1400 vs 1200 Compatibility Issue

I'm currently running the tabular editor 2.7 and trying to work with a 2016 SSAS database (compatibility level 1200).
After connecting to the DB in the Tabular Editor, I try to navigate to one of the columns in a table, and it says

The database compatibility level of 1200 is below the minimal compatibility level of 1400 needed for [model 'Model'].[table 'Calendar']::[DefaultDetailRowsDefinition]

The funny thing is that my coworker is running Tabular Editor 2.6 and he never ran into this problem.. any help would be appreciated.

I believe this is fixed in the latest version, 2.7.1. Have you tried with that?
https://github.com/otykier/TabularEditor/releases/tag/2.7.1

Thanks, I tried with 2.7.1 and the issue is resolved.


Hide Runnning and Complete Screens

Hi there,
When I get first screen, I give the path to my document.
After that it shows Running screen and when the script done it will show Complete screen.
Is there anyway to hide Running and Complete screens?
Thank you in advance.

What do you have in mind for the behavior of the start button under this setup?

I found the solution, thanks.


Revised Fee Estimate Letters Not Sent

Describe the bug in current situation
Two revised fee estimate emails, that were sent via the Contact Applicant on FIN-2023-32327, were not sent to the applicant. The payment link is inactive, the attachments were not added to the Attachments tab, and the applicant did not receive either email. These emails were sent out on October 24 and October 25.
Note: The email sent out on October 23 was successfully sent to the applicant. We did release Release 8.4.0 at 4pm on October 23, so this may have impacted the service.
This may affect more than this request, and have a broader impact.
Link bug to the User Story
Impact of this bug
Describe the impact, i.e. what the impact is, and number of users impacted.
High
Chance of Occurring (high/medium/low/very low)
Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?
PROD
Steps to Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Actual/ observed behaviour/ results
Expected behaviour
A clear and concise description of what you expected to happen. Use the gherking language.
Screenshots/ Visual Reference/ Source
If applicable, add screenshots to help explain your problem. You an use screengrab.

Tested on EDU-2023-660909 in TEST. Sent revised fee estimate via Applicant Correspondence. Payment link not directing to payment URL/PayBC, attachments not being added to Attachments tab, and no email received.
Outcome after sending revised fee estimate (previewing and clicking to send):


Support @ sign in context names.

In many environments it's common to have different roles authenticating to the same cluster. This generally results in contexts named "developer@cluster-1" or "admin@cluster-1", etc.
The current completion scripts do not properly digest the '@' sign (treating it as a separator).

Huh, interesting. Any ideas why @ is treated as a separator?
Also, zsh or bash completion?

I'm using bash. I haven't poked too much into it, I'm guessing '@' is treated as a word separator by default but I don't know where that decision is made.

Has it been fixed ? I've no issue with Bash and @ in context names.

@loganmzz Can you confirm by "no issue", you mean you're generating the autocompletion and using it via tab successfully?

Yes all my context names contains a @ and autocomplete nicely.


ASB-847: Email Address White Space Error

Task
https://pins-ds.atlassian.net/browse/ASB-847?atlOrigin=eyJpIjoiMThlMGM5ZTY4MjA3NGZkOTgxNDhiZGNmMWE3ZGU5ZGIiLCJwIjoiaiJ9

:tada: This PR is included in version 2.8.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.11.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


docker-compose syntax and linking upgraded to v2, mongo setup automated

@tabladrum impetus behind these changes:

bring docker compose syntax up to date
speed up the first time set up of Hygieia - quicker for onboarding

Thoughts?

@jimzucker @charleswisniewski like it!
@mrpudn want to take it? :-)

@tabladrum a couple of points after reviewing the code for your consideration:

A minor point I think the sql file should be .sql not .js as .js is normally javascript.

I haven't had time to run a test, but reviewing the files db/db-setup.js & db/db-setup.sh I think we will get errors the second time it runs if you re-create everything as the Database will already exist.  I think there needs to be an if not exists user around the create commands. I think you need to do something like this:

mongo --port 27037 --quiet -u superuser -p pwd
--eval "db.system.users.find({user:'db'}).count()" admin

If it returns zero then the id does not exist and you should exec the id creation. (see http://stackoverflow.com/questions/12856420/mongodb-command-line-to-show-if-a-user-exists-for-puppet-unless-clause)

@jimzucker Mongo "sql" are all js.
LGTM

LGTM

@charleswisniewski can you resolve the merge conflicts? :)

need rebase and clean the code.

need update?

@tabladrum Merging this one. There are a few docker related PRs that will be merged on top of this.

@satishc1
This was merged in on July 6th, which gratefully upgraded the docker-compose.yml file to versions 2.
But then #1275 was merged in right overtop of this, which reverted the compose syntax back to v1. I'm guessing that was unintentional and a bad merge sequencing, and the merge needs to be reapplied.
See history for July 6, 2017:
https://github.com/capitalone/Hygieia/commits/master/docker-compose.yml


ctual work:

Current dependencies on/for this PR:

main

PR #6

PR #7   👈

PR #8

This comment was auto-generated by Graphite.


Added support for boolean arrays in bokeh ImagePlot

As described in #727, the bokeh image plots do not currently support boolean arrays. This is because the color mapper does not like boolean low and high values. However since booleans cannot be serialized easily it will be more efficient to send them as int8 arrays, which will be base64 encoded in an upcoming bokeh PR.

Looks good and this is an issue that has bitten me several times before. Good to see it fixed!
Ready to merge?

Ready.


Regarding Dataset

Please provide the paris_test.pickle and paris_train.pickle files.
I am unable to find it on internet
Thanks
APS

the file can be build in the train code, but you should get the pairs dataset

http://www.iapr-tc11.org/mediawiki/index.php/The_Street_View_Text_Dataset
Written following lines in the READme file of codes regarding above dataset....
"Unfortunately we cannot publicly distribute the data used
in the paper, since Google is subject some legal obligations with respect to
all Street View data."
@JacobLee121 @adityaiiitv


No need to formatDateValues

Package Version
v1.0.7
Laravel Version
v11.27.2
PHP Version
php 8.2
Problem description
\Rmsramos\Activitylog\Actions\Concerns\ActionContent::formatDateValues
if column is a decimal value:
$value = Carbon::parse('1.00')->format('d/m/Y H:i:s');
result is 01/01/1970 00:00:01
I think it is no need to format any value, because the log looks at the original value is make sense###
Expected behavior
no need to format any value
Steps to reproduce
\Rmsramos\Activitylog\Actions\Concerns\ActionContent::formatDateValues
if column is a decimal value:
$value = Carbon::parse('1.00')->format('d/m/Y H:i:s');
result is 01/01/1970 00:00:01
Reproduction repository (issue will be closed if this is not valid)
https://github.com/rmsramos/activitylog
Relevant log output
No response

Fix proposed with PR #61

Wat can we do to make sure this fix is merged back?
I have the same issues.

At the latest tomorrow I will release a new version

At the latest tomorrow I will release a new version

Hi @rmsramos, any news here? Ty

There are more values incorrectly casted to dates....i have for example a string employee_number: "2222" which also shows up as a date in the view, while it is stored correctly in the log as "2222"


Update UTBotJava project to Gradle 7.0+

Description
Update UTBotJava project to work with Gradle 7.0+
Expected behavior
UTBotJava project can be successfully built using Gradle 7.0+
Actual behavior
Currently Gradle version is set to 6.8 in gradle/wrapper/gradle-wrapper.properties
There are warnings regarding deprecated features: This will fail with an error in Gradle 7.0.
When using specified Gradle 7.4.2 the build fails with errors (please see the details in Context).
Environment
Open UTBotJava as Gradle project in IntelliJ IDEA.
One can change the defined Gradle wrapper to Gradle from specified location:
Gradle settings -> Use Gradle from: Specified location : select Gradle 7.4.2 home
Context

With Gradle 6.8:
When building with --warning-mode all there are following warnings in log:

Configure project :utbot-framework
The testCompile configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 7.0. Please use the testImplementation configuration instead. Consult the upgrading guide for further information: https://docs.gradle.org/6.8/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations
	at build_798bvsh9ns8bbholc7dhjgky9$_run_closure3.doCall(C:\Users\lWX1182794\UTBotJava\utbot-framework\build.gradle:52)
	(Run with --stacktrace to get the full stack trace of this deprecation warning.)

Configure project :utbot-analytics
Using force on a dependency has been deprecated. This is scheduled to be removed in Gradle 7.0. Consider using strict version constraints instead (version { strictly ... } }). Consult the upgrading guide for further information: https://docs.gradle.org/6.8/userguide/upgrading_version_5.html#forced_dependencies
	at jvm_project_acg0tf5btrekvhk3jw6xoornm$_run_closure1$_closure8.doCall(C:\Users\lWX1182794\UTBotJava\gradle\include\jvm-project.gradle:11)
	(Run with --stacktrace to get the full stack trace of this deprecation warning.)

Configure project :utbot-cli
The compile configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 7.0. Please use the implementation configuration instead. Consult the upgrading guide for further information: https://docs.gradle.org/6.8/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations
	at build_aosn2mtnaytu1oe84nqqhjzs4$_run_closure2.doCall(C:\Users\lWX1182794\UTBotJava\utbot-cli\build.gradle:25)
	(Run with --stacktrace to get the full stack trace of this deprecation warning.)
The AbstractArchiveTask.version property has been deprecated. This is scheduled to be removed in Gradle 7.0. Please use the archiveVersion property instead. See https://docs.gradle.org/6.8/dsl/org.gradle.api.tasks.bundling.AbstractArchiveTask.html#org.gradle.api.tasks.bundling.AbstractArchiveTask:version for more details.
	at build_aosn2mtnaytu1oe84nqqhjzs4$_run_closure5.doCall(C:\Users\lWX1182794\UTBotJava\utbot-cli\build.gradle:53)
	(Run with --stacktrace to get the full stack trace of this deprecation warning.)

When using specified Gradle 7.4.2 the build is failing with errors. For example:

Exception is:
org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'maven'] was not found in any of the following sources:

A problem occurred evaluating project ':utbot-maven'.
> Could not get unknown property 'install' for project ':utbot-maven' of type org.gradle.api.Project.

A problem occurred evaluating project ':utbot-sample'.
> Could not find method compile() for arguments [{group=com.github.stephenc.findbugs, name=findbugs-annotations, version=1.3.9-1}] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

I think we must simultaneously update to new gradle and Kotlin

Closing as this issue is included into #749


#2451 - Adding a new dispatcher cache control header filter based on …

…the resource type of the page

How is this filter configured?  Just trying to make sure I understand how it works.

How is this filter configured? Just trying to make sure I understand how it works.

This is configured as an osgi config:
filter.pattern="/content/.*"
resource.types="my-app/components/page-resource-type"
This way you can override for example a default TTL pattern that you have on all content with specific ones for page types that should be invalidated faster (for example pages with dynamic lists on it)

any update on this @davidjgonzalez  ? Do you need anything from me? If you can already give me more input on what is necessary to get it merged that would be great

@royteeuwen i asked @bstopp  and he doesnt remember why he use the OSGi filter vs. Sling filter... agh!
It would be nice to move these to Sling if theyll work, i really dont like service users if they can be avoided.

Once #2465 passed travis, and we merge - we should be able to adapt this code to use the sling filter approach.

Super @davidjgonzalez . Will make the adjustments at that moment. Any idea yet on when release 5.0.0 is planned, so that I can convert them to OSGi DS?

Pull Request Test Coverage Report for Build 6189

0 of 34 (0.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.05%) to 55.428%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

bundle/src/main/java/com/adobe/acs/commons/http/headers/impl/PropertyBasedDispatcherMaxAgeHeaderFilter.java
0
8
0.0%

bundle/src/main/java/com/adobe/acs/commons/http/headers/impl/ResourceTypeBasedDispatcherMaxAgeHeaderFilter.java
0
26
0.0%

Totals

Change from base Build 6187:
-0.05%

Covered Lines:
15910

Relevant Lines:
28704

💛  - Coveralls

any comment on this one? What should still happen to get this one merged?

@davidjgonzalez @joerghoh  Sorry to ping again, but is there anything you would like to see changed to get this PR approved / merged? We don't mind doing the work!

@davidjgonzalez @joerghoh  Sorry to ping again, but is there anything you would like to see changed to get this PR approved / merged? We don't mind doing the work!

@royteeuwen Is this now obsolete with #2511 merged? Can you close this PR then?


Uncaught TypeError in NAT configuration

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
Tried to setup Firewall: NAT: Port Forward but it seems I've entered an invalid option. I guess it's a destination port entered as any, though I'm not sure because I cannot open that page anymore.
Now when I open /firewall_nat.php page I see in the Ports column:
Fatal error: Uncaught TypeError: Unsupported operand types: int - string in /usr/local/www/firewall_nat.php:492 Stack trace: #0 {main} thrown in /usr/local/www/firewall_nat.php on line 492

Most importantly, it broke the whole NAT config page. I.e., opnSense doesn't allow to edit it, remove or add any new rule. In fact I cannot go to other pages from that page, unless I refresh it manually.
Environment
OPNsense 22.7-amd64

update? looks like https://github.com/opnsense/core/commit/77569c29fb686cc5deccadf4004a6d9be91d5599 fixed a couple of months ago

Oh, I thought I have the latest version. Upgraded to the 22.7.10_2 and it works now. Thank you


Are you planning to maintain this

Hi Select2 support. I forked from Vitalets abandoned project and planning to maintain it. All tests written by Vitalets are working fine with bootstrap 4 integration except Select2. Are you planning to maintain this.
Below is the repo link. if you run the test. you will get an idea on the select2 issues.
https://github.com/ashgadala/x-editable-Bootstrap4
Thank you so much

@ashgadala Sorry, the project is not maintained anymore. But feel free to fork the repo and fix what you need :+1:


What is the maximum depth of data that sonic.Marshal can serialize?

the deep limit is 4096, could you give the reproducible example or go env information?


Add capability to use custom podDisruptionBudget name

Fixes #
Add capability to use custom podDisruptionBudget name.
Description
Added podDisruptionBudget name as a Helm Value that the consumer can customise. This will help to satisfy Cluster constraints that have requirements of specific naming conventions.
How was this change tested?

Tested locally.

Does this change impact docs?

[x] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[ ] No

Release Note

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Nice! Optional comment. Happy to reapprove or merge as is.

Done! Please re-approve.


Consecutive apptrace statements not output to the JTAG console without stepping through (IDFGH-4906)

Environment

Development Kit:      [none]
Kit version (for WroverKit/PicoKit/DevKitC): []
Module or chip used:  [ESP32-WROOM-32]
IDF version (run git describe --tags to find it):
v4.4-dev-4-g73db14240
Build System:         [CMake]
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
xtensa-esp32-elf-gcc (crosstool-NG esp-2020r3) 8.4.0
Operating System:     [Windows]
(Windows only) environment type: [].
Using an IDE?: [Yes eclipse-plugin]
Power Supply:         [USB]

Problem Description
From two consecutive apptrace instruction only the last one gets output to the JTAG console unless one steps through each instruction manually.
I also tried to set the openocd command for tracing to blocking without success.
Expected Behavior
Running the program puts out all trace data each after another without halting the program.
Actual Behavior
Running the program only puts out the trace data of the last apptrace instruction
Steps to reproduce

Setup a Hello World example
Insert the code shown below in the hello_world_main.c
Setup a JTAG flashing debug configuration (see attachement)
Setup a JTAG debug configuration with openocd tracing (see attachement)
Enable application level tracing in sdkconfig
Build
Run by stepping through
Reset
Run without stepping
Compare console output of step 7 and 9

Code to reproduce this issue
/* Hello World Example

   This example code is in the Public Domain (or CC0 licensed, at your option.)

   Unless required by applicable law or agreed to in writing, this
   software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
   CONDITIONS OF ANY KIND, either express or implied.
*/
#include <stdio.h>
#include "sdkconfig.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_system.h"
#include "esp_spi_flash.h"
#include "esp_app_trace.h"
#include "esp_log.h"

void app_main(void)
{
    char *ptr = NULL;

    ptr = (char *)esp_apptrace_buffer_get(ESP_APPTRACE_DEST_TRAX, 32, ESP_APPTRACE_TMO_INFINITE/*tmo in us*/);
    if (ptr == NULL) {
        ESP_LOGE("---", "Failed to get buffer!");
    }
    sprintf(ptr, "__Hello World!\n");
    esp_err_t res = esp_apptrace_buffer_put(ESP_APPTRACE_DEST_TRAX, (uint8_t*) ptr, ESP_APPTRACE_TMO_INFINITE/*tmo in us*/);
    res += esp_apptrace_flush(ESP_APPTRACE_DEST_TRAX, ESP_APPTRACE_TMO_INFINITE/*tmo in us*/);
    if (res != ESP_OK) {
        /* in case of error host tracing tool (e.g. OpenOCD) will report incomplete user buffer */
        ESP_LOGE("---", "Failed to put buffer!");
    }

    ptr = (char *)esp_apptrace_buffer_get(ESP_APPTRACE_DEST_TRAX, 32, ESP_APPTRACE_TMO_INFINITE/*tmo in us*/);
    if (ptr == NULL) {
        ESP_LOGE("---", "Failed to get buffer!");
    }
    sprintf(ptr, "__Hello Again!\n");
    res = esp_apptrace_buffer_put(ESP_APPTRACE_DEST_TRAX, (uint8_t*) ptr, ESP_APPTRACE_TMO_INFINITE/*tmo in us*/);
    res += esp_apptrace_flush(ESP_APPTRACE_DEST_TRAX, ESP_APPTRACE_TMO_INFINITE/*tmo in us*/);
    if (res != ESP_OK) {
        /* in case of error host tracing tool (e.g. OpenOCD) will report incomplete user buffer */
        ESP_LOGE("---", "Failed to put buffer!");
    }
}

Debug Logs
Stepping through:
[...]
Info : cpu0: Target halted, PC=0x40091856, debug_reason=00000001
Warn : cpu0: No free slots to add HW breakpoint!
Info : cpu0: Target halted, PC=0x40091856, debug_reason=00000001
__Hello World!
Info : Target halted. CPU0: PC=0x400D4024 (active)
Info : Target halted. CPU1: PC=0x400E2B1E
Warn : cpu0: HW breakpoint not found!
[...]
Info : cpu0: Target halted, PC=0x40091856, debug_reason=00000001
Warn : cpu0: No free slots to add HW breakpoint!
Info : cpu0: Target halted, PC=0x40091856, debug_reason=00000001
__Hello Again!
Info : Target halted. CPU0: PC=0x400D407C (active)
Info : Target halted. CPU1: PC=0x400E2B1E
[...]

Running:
Warn : cpu0: No free slots to add HW breakpoint!
Info : cpu0: Target halted, PC=0x40091856, debug_reason=00000001
Info : Target halted. CPU0: PC=0x400D3FE0 (active)
Info : Target halted. CPU1: PC=0x400E2B1E
Warn : cpu0: HW breakpoint not found!
Info : cpu0: Target halted, PC=0x40091856, debug_reason=00000001
__Hello Again!

Other items if possible
hello_world flash Configuration.launch.txt
hello_world debug Configuration.launch.txt
esp-huzzah-32.cfg.txt (if interesting - nothing special here I think)

Thanks for reporting and sorry for the inconvenience, we will look into.

Hi @TobiasBoeschMiele!

What OpenOCD version do you use? The default one specified by IDF?
I could not find when you invoke esp apptrace ... command to start tracing. Search in debug configuration returned no results.

I start it in the hello_world debug Configuration.launch.txt on line 19

I start it in the hello_world debug Configuration.launch.txt on line 19:

Ahh, sorry I see. Missed this. I will check the issue.

@TobiasBoeschMiele I can reproduce your problem.
For now as a temporary solution I'd recommend you to start tracing upon hitting breakpoint at app_main. To do this you need to remove esp32 apptrace start con: 0 from OpenOCD command line and use the following GDB inti commands
mon reset halt
flushregs
set remote hardware-watchpoint-limit 2

b app_main
commands
mon esp32 apptrace start con: 0
c
end


Module 'Realm' not found in v2.2.1

Updated ios-charts to 2.2.1 using Carthage.
Can't build the project any more.
It complains about @import Realm; in Charts-Swift.h file.

Find Realm mentioned in https://github.com/danielgindi/ios-charts#troubleshooting.
How can I fix the issue in my case (attached binaries downloaded using Carthage)?

Hmm... Seems like although Realm is optional, it appears in the header.
@petester42 do you have an idea how to overcome this?
Or will we have to separate the Realm data model to a different repository?

You don't need a separate repo. You just need to create a workspace and add a second project. Create an "iOS-charts-realm" that depends on "iOS-charts".

Does linking it weakly do anything?

It prevents the binaries from containing symbols from the realm framework.
The thing is with Swift it includes that nasty @import in the public
header...
Guys I'll separate the Realm stuff to another framework so it will allow
you to compile. I'll try to do it this evening.
בתאריך יום ד׳, 3 בפבר׳ 2016 ב-23:43 מאת Pierre-Marc Airoldi <
<EMAIL_ADDRESS>
Does linking it weakly do anything?
—
Reply to this email directly or view it on GitHub
https://github.com/danielgindi/ios-charts/issues/735#issuecomment-179485559
.

@petester42 After I separate the Realm stuff to ChartsRealm.framework - do you know how to configure Podspec and Carthage properly to reference both Charts and ChartsRealm?
I'll need your help there as I'm not a user of those ecosystems.

As long as you keep the same folder structure podspec will work fine. If you add a workspace with a second project Carthage will also just work.

Out of curiosity, how do you manage 3rd party dependencies then?

In Objc the optional frameworks do just fine; But in swift it's problematic.
So if we have another framework called ChartsRealm.framework and it references Charts and Realm - then it should be fine.
The only problem now is that seems like Xcode refuses to get to know the new framework. It's embedded - but its classes are hidden. I'll push when I'm done struggling with Xcode...

If you need any help just ask. I know my way around xcode projects pretty well.

@petester42 I'm attaching two patch files:
The first is for separating the Realm stuff to another project, referencing Charts, and ChartsDemo referencing both. This is the way I'd really like it to be, easier to understand for beginners with the library, and less code to "get rid of" for people compiling the sources without Realm.
The second patch is just separating the targets, having additional two targets containing only the Realm stuff, excluded from the Charts target.
In the "separate project" patch, Carthage does not find the Realm targets, although the schemes are shared, and according to their docs it should recognize.
In both cases - the ChartsDemo refuses to see the classes from ChartsRealm. It compiles and links ChartsRealm so you can see that the dependencies are good - but something went wrong there and a fresh pair of eyes on it wouldn't hurt.
If (when) you manage to solve it - I'd like to include updated instructions in README, to avoid all those issues of "dragged ChartsRealm.xcodeproj to my project, but it says undeclared identifier"
separate-project.patch.txt
separate-target.patch.txt

Sounds good. I'll check this out in the morning.

The patch files do not work since they give errors but I just did it myself.
For the carthage issues there will need to be a workspace to hold both projects since carthage cannot build multiple projects that aren't in a workplace. In addition, the realm project will need to have a different product name because if they are both called Charts.framework when it is built they will overwrite each other. The charts demo issues might also be related to the two projects having the same product name.
I know you don't like workspaces but they will be needed for separate projects otherwise we have to go with separate targets. So if you're ok with workspaces ill create a branch with the changes.

Oh I did change the product name, that's not the issie.
Note that when having separate targets the Carthage finds them all and builds fine... The problem is with the demo not seeing symbols from ChartsRealm. A workspace won't solve that.
The end result that I want is that people will be able to easily compile. I'll apply my patches and push to branches so you can see

@petester42 Please see realm-project and realm-target branches.
The first one is the one I prefer - and it contains a workspace just for Carthage compilation, which is the only one containing shared schemes - but it compiles the FBSnapshotTestCase stuff instead.
The second one works fine with Carthage, as it's just different targets inside the same project.
Both still don't compile the ChartsDemo project - it can't see the ChartsRealm symbols...

Alright cool. I'll look into it tonight.

Hey, I am having a similar problem.
I am using Carthage and get the following errors:

module 'Realm' not found
Could not build Objective-C module 'Charts'

I don't use Realm.
Any idea @petester42  ?

Right now if you are using Carthage you will have to also link realm even if you don't use it. If you really don't want to have to link it I suggest using cocoapods for now. As you can tell we are working on separating out realm from the main project.

I just got to look at this and I fixed it. There were 3 problems:

The schemes were not shared when I opened the carthage.workspace
For the demo instead of importing #import <Charts/Charts.h> it needs to be #import <ChartsRealm/ChartsRealm.h> since you need the realm part and it also contains everything from Charts`
The podspec was broken with the changes that were made

All this should be fixed in the realm-project branch. You were oh so close ;)

Oh dammit.
The schemes were shared - but something must have happened.
I was so into the Swift thing, that I forgot about C imports.
Now you see why you need a fresh pair of eyes from time to time :-)
Thanks!

Oh right now the schemes are shared in both the ChartsDemo project, and the Carthage.workspace. I guess the workspace is redundant?

Ya I think it can be removed. With the latest carthage it works just fine without one. I thought you needed an entry point that contained all the projects but the latest version of carthage doesn't seem to need that anymore.

Oh they say "Carthage will now build all frameworks from all the projects in the repository"

Many thanks ! :)

I will mark this as resolved - a release is coming soon!

@petester42 One thing that bothers me is that Carthage is trying to build FBSnaphostTestCase... Do you know of any way to avoid that? Carthage docs does not offer a solution. It's a new feature that finds all schemes, but that's one too many.

It finds one too many because there is not cartfile in the root directory. I believe that if cartfile.private is moved to the root then that won't happen since it will know that is not a public thing. Right now it just seem a folder with a project so it builds it.
I was gonna move it but ou wanted to be able to copy the folder which would not work anymore if I did that.

@petester42 Could you take a look at carthage build --no-skip-current --platform tvos?
It randomly fails at building ChartsRealm-TV specifically, with different errors every time.
It could be no such module 'Charts', or module file's minimum deployment target is tvos9.1 v9.1 or various others. This is the only thing keeping me from making a release right now.

Probably relam has set their minimum target to 9.1 for whatever reason. I'll look at it tonight if this still isn't fixed.

Nope. It sometimes compiles and sometimes not. When using Xcode to bulid it builds fine. When Using xcodebuild - it builds fine the second time. This is really weird.
I ended up packaging it by myself, but that could be an Xcode 7.2 bug as there are some complaints in other git repos...

I just got this error and I don't really know. Might have to do with how the project is structured. Carthage does not seem to really like the project that depends on another project. I really don't know.


storage_ptr exposition

Because storage_ptr is so useful, the documentation should have a section dedicated to it. Topics should include storage_ptr, memory_resource, is_deallocate_null, monotonic_resource, and static_resource.

This is done, I revised all of it


Mutiple qty one designator

With multiple parts is allowed multiple quantities of some sub part (e.g. PART1 ; 4 : PART2).
This may be expanded to when is used just "one subpart". Reason: sometimes a prefer use composition of 2 vias borner (https://www.digikey.com/products/en?keywords=1888687) to create 4 or 6 vias.

Patch submitted.


SQL query field can't begin by a comment

SQL comments are very useful to explain the meaning of the query. It's currently impossible to put it at the beginning of the field as seen on the screen capture: it leads to an error: Statement must be a SELECT.
It would be great to make it possible because:

as the request is the title of the page:

it eases the search with search engines
it eases the search in the browsers' url field

it acts as a kind of title: the global meaning of the query is immediately understandable
some tools, such as Slack, are shortening long URLs and displaying the beginning of the URLs (eg. https://example.org/products?sql=select+%28length%28data_quality_errors_ta[...]+%21%3D+%22%22+group+by+NB_of_issues+order+by+NB_of_issues+desc+limit+200)

Beginning a query with a comment is possible with SQLite.

I guess the issue is here: https://github.com/simonw/datasette/blob/9676b2deb07cff20247ba91dad3e84a4ab0b00d1/datasette/utils/init.py#L209
Here is a working regexp allowing it:
-    re.compile(r"^select\b"),
+    re.compile(r"^\s*(/\*.+?(?=\*/)\*/\s*)*select"),

^\s*: beginning by 0 or an infinite number of \s (spaces, tabs, newlines...)
(/\*.+?(?=\*/)\*/\s*)*: 0 or an infinite number of chars beginning by /* and ending to the next occurrence of */ followed by 0 or an infinite number of \s
You can play with the regexp here: https://regex101.com/r/aESXDL/3

Yeah we should fix this.
https://www.sqlite.org/lang_comment.html - SQLite also supports -- style comments.

I'm experimenting with this:
# Allow SQL to start with a /* */ or -- comment
comment_re = (
    # Start of string, then any amount of whitespace
    r'^(\s*' +
    # Comment that starts with -- and ends at a newline
    r'(?:\-\-.*?\n\s*)' +
    # Comment that starts with /* and ends with */
    r'|(?:/\*[\s\S]*?\*/)' +
    # Whitespace
    r')*\s*'
)

allowed_sql_res = [
    re.compile(comment_re + r"select\b"),
    re.compile(comment_re + r"explain\s+select\b"),
    re.compile(comment_re + r"explain\s+query\s+plan\s+select\b"),
    re.compile(comment_re + r"with\b"),
    re.compile(comment_re + r"explain\s+with\b"),
    re.compile(comment_re + r"explain\s+query\s+plan\s+with\b"),
]

This should allow any number of comments of either type as a suffix to the allowed SQL patterns.
Needs extensive unit tests!
I'm not massively worried if it has a flaw in it though, since this is part of Datasette's defense in depth: if a non-SELECT query sneaks through it still shouldn't be able to cause any damage as the database connection is read-only or immutable.

Here are the new tests: https://github.com/simonw/datasette/blob/55a709c480a1e7401b4ff6208f37a2cf7c682183/tests/test_utils.py#L170-L175

I'm never 100% sure how to tell if a regular expression includes a nasty denial of service attack - are there any inputs that could cause this new regex to execute in quadratic time or similar?

That's deployed to https://latest.datasette.io/ now - some examples:

https://latest.datasette.io/fixtures?sql=--+one+kind+of+comment
select+*+from+searchable
https://latest.datasette.io/fixtures?sql=%2F*+Multi
++line+comment+*%2F
select+*+from+searchable
https://latest.datasette.io/fixtures?sql=%2F*+Both+kinds+*%2F
--+of+comment
%2F*+and+more+*%2F
--+and+more+and+more
select+*+from+searchable

Sorry I forgot the -- comments like that.
I'm afraid there is an issue in your regexp, see: https://regex101.com/r/pyubJf/1
I guess I can fix it.

Here is my suggestion:
^\s*((?:\-\-.*?\n\s*)|(?:/\*.*?(?=\*/)\*/\s*))*select\b
See the following test: https://regex101.com/r/Doeqqa/1
And here I played all your tests: https://regexr.com/713ir

Hah, I just came up with this one:
^\s*((?:\-\-.*?\n\s*)|(?:\/\*((?!\*\/)[\s\S])*\*\/)\s*)*\s*select\b

Here's yours on Debuggex: https://www.debuggex.com/r/HjdJryTy9ezGsuWK

I think mine has a better pattern for handling /* ... anything in here that isn't */ ... */

The new code is now live at https://latest.datasette.io/fixtures


Threat detected by Avast.

Avast said the file has the threat idp.generic. I added it to the exception in mine but you should look into it.

Had no issue with the default windows virus scanner, and according to virustotal, I am not doing something weird: https://www.virustotal.com/#/file/e4c8138d4a7dbf99e64cbeac255c3e5a9d5eb332851ac3a556928ccaaad837ce/details.

Probably a false positive on my end then.
Thanks for looking into it.
LOVE this project. 1080p Nichijou releases here I come.

No problem, didn't have time to write a proper response, My guess is that Avast thinks this application acts like some kind of virus/malware,  I guess because it opens chrome automatically when you launch it. + It uses a tcp connection for the irc xdcc part, so yeah, think that's whats triggering the false positive. I hope the application is helpfull :D have fun watching!


french keyboard with ubuntu

Describe the issue
Replace this text with a clear and concise description of what the issue is.
Configuration

UTM Version: 4.3.5 from github
macOS Version: macos 15
Mac Chip (Intel, M1, ...):  macbook Apple M1, french keyboard

when creating a new VM with Ubuntu Server ARM62 22.04, a french keyboard is detected, but after installation some keys are wrong and/or missing.
like : "=_@" ....

You didn't say whether you are using Apple Virtualisation, but I suspect you are.
This sounds like a duplicate of #4041
You can view the details in this writeup here: https://eclecticlight.co/2023/06/27/keyboard-layouts-in-lightweight-virtualisation/


Add option to set port number

Is your feature request related to a problem? Please describe.
Yes. I'm using vagrant to run nodejs and when you use random port during aio auth login, it can't be reached from the browser.
https://github.com/adobe/aio-cli/issues/5#issuecomment-1977875775
https://github.com/adobe/aio-cli/issues/5#issuecomment-1979975353
Describe the solution you'd like
You can still set the default port to 0 but allow vagrant users like me to set their own choice of port number.
https://github.com/adobe/aio-lib-ims-oauth/blob/6dd759cc1efb3fc76d0a96b767ccef64c105481b/src/helpers.js#L44
Describe alternatives you've considered
I manually set the port number and the link generated had correct return port number but once authorised from adobe, it couldn't connect to <IP_ADDRESS>:custom_port_number(37771 which was configured in vagrant to allow access)
Additional context
Add any other context or screenshots about the feature request here.

Implementation recommendation: environment variable
# example use
AIO_CLI_LOGIN_PORT=123123 aio auth login


How to make custom logo

how to make main menu custum logo animation like this.

i use this XML sprite generator

plz help me
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

Can you send me your XML and Spritesheet so I can fix it for you?

ok
(sorry my google drive broken)


replace jcenter() with mavenCentral()

Looks like the android module on this codelab is still using jcenter() which has been recently sunset:
https://github.com/FirebaseExtended/codelab-friendlyeats-flutter/blob/6f7603c33f2ef0f7e37ff1730991e1982327aa6f/android/build.gradle#L5-L18
The approach we've been taking on Android repos is to replace it with mavenCentral(): https://github.com/firebase/snippets-android/commit/5b9f209dc700ba31527735e4a923c845ee2c1807
I think it would be nice to do it here too.

Yes, we've had to do this with other repos!


Why CS50 is not suggested as an introductory course given the popularity that it has?

If you search for CS50 in the issues, you'll see many conversations about the appropriate place for the class in the curriculum.
This one in particular is relevant for the current recommendations for Intro to CS.
https://github.com/ossu/computer-science/issues/540
If you have feedback on your favorite Intro to CS Course, you can include it here:
https://github.com/ossu/computer-science/issues/548
In depth reviews which explain a course's strengths and weaknesses are always appreciated!


Add showScalarBar and scalarBarTitle in GeometryRepresentation

Description of changes
This PR enables the use of showScalarBar and scalarBarTitle in GeometryRepresentation:

Pre-Merge checklist

[x] The project was correctly built with npm run build.
[ ] If there was any conflict, it was solved correctly.
[ ] All changes were documented in CHANGELOG.md.
[ ] All tests on CircleCI have passed.
[ ] All Percy visual changes have been approved.
[ ] Two people have :dancer:'d the pull request. You can be one of these people if you are a Dash core contributor.

@rodrigomologni I would really appreciate it if you could you also expose these properties in PointCloudRepresentation? It uses the same ones as GeometryRepresentation.

@solarjoe done!

Can you rebase on master? I'm wondering if the CI was fixed on master...

@jourdain done!

I guess the next step is to follow the publish steps

It seems that this issue has been fixed for a long time, but the version on pypi is still the old version. Is there any plan to release a new version? Because this is very important in multiple fields such as temperature change.


Loading Issue

Submitter: Brian Duarte
Right, so I'm not sure what happens now. I simply save and load when needed. Didn't happen. Unless I need to fill out the whole thing, then I don't know.
What am I doing wrong?

I'm not sure what went wrong here. Without more detail, I can't find a cause. I can save and load just fine. Maybe they didn't log in first? But you can't save unless you register and log in...


Feature: Get display using identifier

Hi, is this possible to get a display using some kind of generated UUID?
I'm struggling to make my code work using this way: https://github.com/ThalusA/ddc-enhanced-rs/blob/master/src/lib.rs
The only problem is that when I get or set the brightness enhanced_display.inner_display.info.mccs_database.get or enhanced_display.inner_display.handle.get_vcp_feature seems to enter into some kind of deadlock state because it's just doing nothing and my program won't stop.

So, this crate only gives you a list of detected monitor objects. To work with a specific real display, you have to filter or sort them in some fashion that’s meaningful to your program. Generally this is done by looking at their display_info, which you can use directly or use the Query interface to do this for you.
You can query by display_info.id, which is effectively a generated unique identifier. However, note that this ID may or may not be stable across restarts depending on the backend used (I prefer to search based on some combination of manufacturer id, model, or serial when working with persistent config data).
As for a deadlock occurring when getting the brightness, could you try using the ddcset program with RUST_LOG=verbose set? (alternatively, you could enable logging in your own program to get the same result) It’s difficult to tell what’s wrong without having some additional info. It might help to get a log of println!("{:#?}", enhanced_display.inner_display.info) to tell which MCCS database version you’re using - if this is indeed an issue with MCCS rather than DDC it should be very simple to make a small reproduction test case. I'll try to take a look in the meantime if I get a chance to.

I did changed my code and I'm still getting a thread 'main' has overflowed its stack also :/ If you can give me advice I don't mind

There is a problem, my two screen have the same identifier

yes, the id really should not be assigned like this. There may be limited information for it to use, but even an index would be an improvement over that.

However on an application such as HWInfo I get much more information about my screen, like it's Serial Number for example

The current winapi backend does not know how to get the EDID, so the information it exposes is pretty limited.
I found a write-up on the various ways to obtain this data, which could be used to greatly improve that backend!

I did changed my code and I'm still getting a thread 'main' has overflowed its stack while just getting brightness also :/

if you can put together a simple reproduction case (a rust #[test] or example binary?), maybe then others could investigate or you could get a stack trace showing what the problem is?

Huh, WinAPI is so horrible. By the way here is the example binary https://github.com/ThalusA/testddc and here is the repository current state https://github.com/ThalusA/ddc-enhanced-rs/blob/master/src/lib.rs

By the way here is the example binary https://github.com/ThalusA/testddc and here is the repository's current state https://github.com/ThalusA/ddc-enhanced-rs/blob/master/src/lib.rs

Program received signal SIGSEGV, Segmentation fault.
0x000055555558255b in ddc_enhanced_rs::mccs::{impl#1}::from (code=ddc_enhanced_rs::mccs::ImageAdjustment::Luminance) at ddc-enhanced-rs/src/mccs.rs:190
190	        code.into()
(gdb) bt
#0  0x000055555558255b in ddc_enhanced_rs::mccs::{impl#1}::from (code=ddc_enhanced_rs::mccs::ImageAdjustment::Luminance) at ddc-enhanced-rs/src/mccs.rs:190
#1  0x00005555555824f1 in core::convert::{impl#3}::into<ddc_enhanced_rs::mccs::ImageAdjustment, u8> (self=ddc_enhanced_rs::mccs::ImageAdjustment::Luminance)
    at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/convert/mod.rs:550
#2  0x0000555555582561 in ddc_enhanced_rs::mccs::{impl#1}::from (code=ddc_enhanced_rs::mccs::ImageAdjustment::Luminance) at ddc-enhanced-rs/src/mccs.rs:190
#3  0x00005555555824f1 in core::convert::{impl#3}::into<ddc_enhanced_rs::mccs::ImageAdjustment, u8> (self=ddc_enhanced_rs::mccs::ImageAdjustment::Luminance)
    at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/convert/mod.rs:550
...

Your From impls just call themselves


Bumped to Rust 2021 edition

Is it that easy?

It depends on whether the code depends on 2018-only features or not. We already had most of the code base supporting the 2021 version afai can tell.

As suggested here, let's wait some time on this before we force everyone to bump. Moving to draft.


Quickfix for entity/decal list (scrollbar was hiding the title element)

Happens often when a decal is selected:

Fixed:

User can resize the right panel to view the full title when it overflows:

The changes only affect the right panel entity and decal list specifically (.editor_selection .entityList).

nice catch!


As a credit card customer, I want to authenticate with bank credentials before authorizing the payment

[ ] Frontend, #7
[ ] Backend #8
[ ] E2E tests


Progress on diarisation

I have made some (modest) progress on this, if anyone wishes to have a look:
https://github.com/mirix/approaches-to-diarisation/tree/main

Hi, I'm interested in using this but can't figure out the exact procedure. You say "with the latest pip versions of all the requirements", and then the default device and pytorch version is cpu only. Should I edit the requirements.txt to fit accordingly, or does it not matter?
I'm not a developer either, just a hobbyist. I'd assume fast_whisper, pyannote and SpeechBrain can be installed with pip also.

Hi, there is no requirements.txt. At this stage it is not a library you can install and use. Just code snippets.
The new procedure works very well in the testing samples:
https://github.com/mirix/approaches-to-diarisation

I see you have updated the repo. Are these meant to be used on their own or with the original whisper-diarization repo? Stupid question, I'm very new to github.

Hi, when you install the requirements, namely stable-ts, it will automatically pull Whisper as a dependency.


IF YOU WANT TO REPORT AN ISSUE PLEASE READ THIS

so basically this cheat WILL NOT work anymore because the 1v1.lol developers switched to il2cpp backend from mono

found way to bypass, im going to make guide and pull request

UPDATE: after looking now, downgrade is not needed, since update released 3 hours ago is using Mono???? wtf
@waxnet

Lol

okay so the simplest way would be just downgrading to newest mono depot since they probably don't check the build or if they do just spoof it

and since i made my own backend emulator which still allows you to play normally since they use photon to basically every thing mp related: parties and ingame

i've joined my friend party from my own backend(my friend was playing on official servers)

pretty cool

pretty cool

backend works with latest version for now, so in case they switch to il2cpp we are ready for that lol

how to bypass

How to use ability to read?
pon., 26 sie 2024, 02:15 użytkownik vampzz1311 @.***>
napisał:

how to bypass
—
Reply to this email directly, view it on GitHub
https://github.com/waxnet/NetWare/issues/97#issuecomment-2309065408, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APQYMOOICGN6Y2IZK5CJSG3ZTJXTRAVCNFSM6AAAAABLL6KO6GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBZGA3DKNBQHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

they are back with il2cpp rip


⚠ Bofrost.de has degraded performance

In 4e087fb, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1244 ms

Resolved: Bofrost.de performance has improved in 5ff18c8 after 1 hour, 14 minutes.


Add checkstyle

Closes #139
@artem-zinnatullin  please take a look.
What rules will be helpful or not.
Shall I remove disabled rules?

It works! Cool, just add it to .travis.yml ./gradlew clean build connectedAndroidTest --info -> ./gradlew clean build checkstyle connectedAndroidTest --info

Updated

Thanks!


Update forum URL

@NoelCross : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Reports page errors out... Missing ScriptManager

The page '/Reports/Reports.aspx' is missing a scriptmanager element from ASP.NET.

I've found the issue and am implementing a fix.