How to handle parametric Unitful types

I don't see how to handle parametric Unitful types in general. The type of the object is determined at runtime to be something like
Quantity{Float64,𝚯,Unitful.FreeUnits{(K,),𝚯,Unitful.Affine{-5463//20}}}

so I don't know how to register it in the writer or reader.
using DataFrames, Arrow, Unitful, Unitful.DefaultSymbols
using Unitful: Ra

let t = Quantity{Float64,𝚯,Unitful.FreeUnits{(Ra,),𝚯,Unitful.Affine}}
    Arrow.ArrowTypes.registertype!(t, t)
end
data = Dict(:col => rand(10) .* u"°C")

Arrow.write("/tmp/example.arrow", data)

using DataFrames, Arrow, Unitful, Unitful.DefaultSymbols
using Unitful: Ra

let t = Quantity{Float64,𝚯,Unitful.FreeUnits{(Ra,),𝚯,Unitful.Affine}}
    Arrow.ArrowTypes.registertype!(t, t)
end

show(Arrow.Table("/tmp/example.arrow"))

┌ Warning: unsupported ARROW:extension:name type: "JuliaLang.Quantity{Float64,𝚯,Unitful.FreeUnits{(K,),𝚯,Unitful.Affine{-5463//20}}}"
└ @ Arrow.ArrowTypes ~/.julia/packages/Arrow/Re9EM/src/arrowtypes.jl:174
Arrow.Table:
 :col  NamedTuple{(:val,),Tuple{Float64}}[(val = 0.6815439614007792,), (val = 0.04956826502952305,), (val = 0.6934042584270963,), (val = 0.8354521302501914,), (val = 0.9176167864760512,), (val = 0.8196385683137586,), (val = 0.4645637742765887,), (val = 0.25589311520695124,), (val = 0.9277780364437311,), (val = 0.05186865321486933,)]

  [69666777] Arrow v1.2.4
  [1986cc42] Unitful v1.5.0

Ok, sorry about the hassle here. So here's what's going on:

You are indeed registering a type, but it's actually slightly different from the actual custom type that gets serialized. You can see this w/:

julia> a = Quantity{Float64,𝚯,Unitful.FreeUnits{(Ra,),𝚯,Unitful.Affine}}
Quantity{Float64, 𝚯, Unitful.FreeUnits{(Ra,), 𝚯, Unitful.Affine}}

julia> b = eltype(data[:col])
Quantity{Float64, 𝚯, Unitful.FreeUnits{(K,), 𝚯, Unitful.Affine{-5463//20}}}

Note the difference in the UnitFul.Affine.

So then the issue is that Arrow will auto-register concrete custom structs, so the eltype(data[:col]) gets registered and is actually stored with the arrow column metadata
Reading then fails because it doesn't have the exact same  type registered, so the more correct flow to do what you're doing here is something like:

writing:
using Arrow, Unitful, Unitful.DefaultSymbols
using Unitful: Ra

# don't need to register since it will be auto-registered
data = Dict(:col => rand(10) .* u"°C")

Arrow.write("/tmp/example.arrow", data)

reading:
using Arrow, Unitful, Unitful.DefaultSymbols
using Unitful: Ra

let t = typeof(rand() * u"°C")
    Arrow.ArrowTypes.registertype!(t, t)
end

show(Arrow.Table("/tmp/example.arrow"))

If you have any suggestions on improvements to the documentation, I'd really appreciate it.

Hello!
First off please let me say that I've been enjoying getting to know about Apache Arrow and Arrow.jl and have had a very positive experience so far; thank you for taking the time to provide this resource to the Julia community!
Is it correct that the function registertype has been depreciated since this original post (please see snippet below)?
If so, would it be appropriate to open a new issue regarding the serialization of data featuringUnitful.jl types to the .arrow format, since the approach here is no longer available?

This afternoon I successfully followed the helpful examples provided in the user manual and reproduced their results as expected, but I got a bit stuck with following the examples and applying them successfully to Unitful types.

julia> using Arrow

help?> Arrow.ArrowTypes.registertype!
  No documentation found.

  Binding ArrowTypes.registertype! does not exist.

Thank you in advance!
jmtlawrie

(@v1.9) pkg> st Arrow
Status `~/.julia/environments/v1.9/Project.toml`
  [69666777] Arrow v2.6.2

julia> versioninfo()
Julia Version 1.9.2
Commit e4ee485e909 (2023-07-05 09:39 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin22.4.0)
  CPU: 4 × Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-14.0.6 (ORCJIT, broadwell)
  Threads: 1 on 4 virtual cores
Environment:
  JULIA_EDITOR = code
  JULIA_NUM_THREADS =


New keyboard shortcut settings are more of a hindrance than a help.

Does this issue occur when all extensions are disabled?: Yes/No
Yes

VS Code Version: 1.56
OS Version: Ubuntu 20.04

These new shortcut settings are being useless, they are more of a hindrance than a help 😠. Why change what works well? The shortcut settings from previous versions were very useful. This version is all messy.

new shortcut settings are being useless

Can you explain more?

Can you explain more? Which keyboard shortcuts?

Most of the shortcuts, mainly the selection with the mouse. The changes to the shortcuts did not fit well in the functions and were not quite intuitive in terms of facilitating development.
But I updated it and it looks like it was resolved, thank you very much 🙂🙂.

I'm not sure which changes you are referring to, but it sounds like it's all good now


dropbox storage fails with oauth 401

[2011/12/27 07:07:19][message] Performing backup for Description for database!
[2011/12/27 07:07:19][message] Backup::Database::MySQL started dumping and archiving 'db'.
[2011/12/27 07:07:20][message] Backup::Packager started packaging the backup files.
[2011/12/27 07:07:21][message] Backup::Compressor::Gzip started compressing the archive.
[2011/12/27 07:07:21][message] Backup::Encryptor::GPG started encrypting the archive.
[2011/12/27 07:07:21][message] Storage::Dropbox started transferring '2<IP_ADDRESS>.07.19.database.tar.gz.gpg'.
[2011/12/27 07:07:21][message] Creating a new session!
[2011/12/27 07:07:21][error] ModelError: Backup for Description for database (database) Failed!
[2011/12/27 07:07:21][error]   An Error occured which has caused this Backup to abort before completion.
[2011/12/27 07:07:21][error]   Please review the Log for this Backup to determine if steps need to be taken
[2011/12/27 07:07:21][error]   to clean up, based on the point at which the failure occured.
[2011/12/27 07:07:21][error]   Reason: OAuth::Unauthorized
[2011/12/27 07:07:21][error]   401 Unauthorized
[2011/12/27 07:07:21][error]
[2011/12/27 07:07:21][error] Backtrace:
[2011/12/27 07:07:21][error] /usr/lib64/ruby/gems/1.8/gems/oauth-0.4.5/lib/oauth/consumer.rb:219:in token_request' [2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/oauth-0.4.5/lib/oauth/consumer.rb:139:in get_request_token'
[2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/dropbox-1.3.0/lib/dropbox/session.rb:70:in initialize' [2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/storage/dropbox.rb:142:in new'
[2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/storage/dropbox.rb:142:in create_write_and_return_new_session!' [2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/storage/dropbox.rb:85:in connection'
[2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/storage/dropbox.rb:93:in transfer!' [2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/storage/base.rb:97:in files_to_transfer'
[2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/storage/dropbox.rb:91:in transfer!' [2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/storage/dropbox.rb:37:in perform!'
[2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/model.rb:301:in to_proc' [2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/model.rb:245:in each'
[2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/model.rb:245:in perform!' [2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/model.rb:243:in each'
[2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/model.rb:243:in perform!' [2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/cli/utility.rb:72:in perform'
[2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/cli/utility.rb:51:in each' [2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/lib/backup/cli/utility.rb:51:in perform'
[2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in send' [2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in run'
[2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:118:in invoke_task' [2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/thor-0.14.6/lib/thor.rb:263:in dispatch'
[2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/base.rb:389:in start' [2011/12/27 07:07:21][error]   /usr/lib64/ruby/gems/1.8/gems/backup-3.0.20/bin/backup:11 [2011/12/27 07:07:21][error]   /usr/bin/backup:19:in load'
[2011/12/27 07:07:21][error]   /usr/bin/backup:19
[2011/12/27 07:07:21][message] ModelError: If you have other Backup jobs (triggers) configured to run,
[2011/12/27 07:07:21][message]   Backup will now attempt to continue...
[2011/12/27 07:07:21][message] Backup::Notifier::Mail started notifying about the process.
[2011/12/27 07:07:22][message] Backup::Cleaner started cleaning up the temporary files.
I checked a lot of times - the dropbox API credentials are ok.

This appears to be an issue with the dropbox gem and newer api keys.
The following patch is not really an answer, but if you really need to get this working...
Ref: b735bf2e40cedbb0d63895d148d499f79a8594ae
We will probably need to move to the official dropbox-api gem with the next release.

Any estimations on that one ? I'm planning to use backup on one of our projects but it is not suitable unless this is fixed.
Thanks for a great tool anyway ! :)

Storage::Dropbox now uses the official dropbox-sdk gem. Changes have been merged to the develop branch. 9be16f7cf2ce942d75e16d93b9fbc8236aed6f1a

Any info when the new gem with this patch will be released ?

Sorry for the delay.
The gem release will probably happen this weekend or early next week.
If you like, you can use the 'develop' branch for now in order to get everything setup.
There shouldn't be any further changes.
The main hold-up at this point is getting the wiki updated and making sure upgrades will be smooth.
With that said, if you run into any issues with 'develop', let me know :)


Adjusting the width of custom scroll bar

Description

I want to adjust the scroll bar of the page, as it's width is too less.
This feature will help increase User Interface(UI) of your website.

can you assign this work to me

can you assign this work to me

Ok go on @dvlsatya !!

Can I please work on this issue?

@tarunsinghofficial please assign #106 to @dvlsatya as he is interested !! I can work on another issue for ur project

@tarunsinghofficial please assign this work to me

Hey @tarunsinghofficial  , I am GSSOC'22 contributor .
I have improved the UI of the scrollbar and also changed the color on hovering over it . Can you please assign this issue to me so that I can send the pull request .

I have also added rounded scrollbar to improve the UI .

Hey @tarunsinghofficial , I have send the pull request for this issue . Can you please review and merge it


docker_watcher: Move docker_watcher into pkg/workloads/containerd

Unties the docker watcher from the daemon and isolates it in a new
workloads package. This prepares to support other runtimes in the
future.

Unties IPAM from the daemon and moves it into pkg/ipam. Only the
the API handler layer remains in the daemon.

Fixes: #1595
Signed-off-by: Thomas Graf<EMAIL_ADDRESS>

Overall, this looks fantastic! The more code we move out of the daemon, the better.

So we can't support 2 container runtimes at the same time? I'm asking based on the overall code + the cilium status function where we are only checking for containerd status.

This PR does not address that but eventually, we should add that.


Guzzle Implementation

This pull request introduces Guzzle as a means of facilitating API calls to the BSD Tools.

To be clear I haven't read all of the code closely, but if it works, seems fine. Since this will be public I'd ask that we do an extra pass for making brace style consistent and cleaning up some extra newlines, though.

@chuck I went through and cleaned up a little 236f67b, then I made the braces all PSR-2 compliant on cd11200.
I've also verified that the ExampleTest produces the correct output when provided with a valid API User ID, secret, and base URL.


Playground is not in https

It should be as the rest of tensorflow website is in https

@LouisCAD , how did you get to the playground?

@xmbrst By following the link advertised in this I/O 16 talk, which points to playground.tensorflow.org

Closing, and looping internally. Thanks for reporting!


Uncaught TypeError: You provided 'undefined' where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.

I'm trying to add WalletLink support to Nuxt+Vue (2.x) application. Doing everything from readme.md but, got the error (this one from WalletLink 2.2.6 version):

Error is thrown from the very beginning, in the "new WalletLink" part.
Was trying different versions: 2.0.1, 2.2.6, 2.4.2 - all the same.

hi. sorry for the belated response. we are marking stale issues closed for now. please try our latest version 3.6.0. feel free to open a new one if needed. thanks.


Make sure to create Jenkins builds for release branches

We are building PRs and master, but we should also build the release branches to know when backports cause failures.

I've setup https://grpc-testing.appspot.com/job/gRPC release-0_9/ jobs, but the run_jenkins.sh script would need to be backported so it can succeed.


made the version compatible with EF 7 changes and minor changes to make the Test run

I have tried my bit, this is my first PR in case I have not followed any convention or rule please be kind and do let me know and I shall make the ammendment.

Awesome changes!! and thanks. If you make that one change, I will merge :+1:

Reverted the file let me know if you see it that way

Brill thanks :)

Thanks :) ... In case I would like to get more involved specifically in vNext is there any official roadmap.
From the weekly podcast it seems there is none yet.
Could you please let me know any specific channels to hear the chatter for vNext

@BilalHasanKhan Sure, here is the roadmap to start with https://github.com/OrchardCMS/Brochard/wiki/Roadmap


Add basic API load testing script

Description

This adds a basic locust load testing script for the API. It's pretty naive but the idea is to just hit the API very hard and force it to fall over. So far I haven't been able to make it actually fall over, maybe the user count needs to go up into the hundreds. I also haven't tested against v2.5.3 which was the problematic version.
Testing Instructions

Checkout this branch and cd load_testing. Run just install and then just api (make sure you have the API running locally). Confirm via docker stats that the API is being hit with a bunch of requests. just api won't exit on it's own so use "control + c" to stop it or pass a time argument like just api -t 10m (this will run the load test for 10 minutes).
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[N/A] I added or updated tests for the changes I made (if applicable).
[x] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

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 open source license
    indicated in the file; 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.

since those result in direct DB reads instead of only hitting Elasticsearch, and would also be an easy way to exponentially increase the amount of traffic. Maybe for each search the script could then visit each single result from the response?

Very good call! Will add this.

Curiously walking through and requesting all the returned results actually causes less stress to the API and ES but did stress the database! I'm not sure why this is, I guess a search request uses more CPU from the API than a single result (which is just a pass through to Postgres and marshalling the DB response to JSON, at the end of the day). Very interesting! I will keep tinkering.

Okay, I think part of the problem is that I'm writing a single task that does all these things:

Query search endpoint for 10 random words
Iterate through the results and query each one and it's related and thumbnail

I suspect that doing all of that in a single task is a problem somehow? For some reason I'm only getting requests to the stats endpoints to actually run. It seems like maybe locust isn't distributing the users between the requests or something? I've been scouring the docs to try and find an answer to this but I haven't found anything helpful there on this topic so far :confused:
I'll come back to this tomorrow :+1:

@AetherUnbound can you confirm whether this is still needed?

I think this is definitely worth continuing! The script I wrote is merely testing API response time, it's not doing accurate or heavy load testing whatsoever (at 1 request/min). So a tool that can throw a lot more traffic at the service would still be useful IMO 😄

Sounds good. It's probably not high priority anymore though right? Because we don't need this to help reproduce the production slow downs?

Yea that's true, it can probably be dropped in priority level 🙂

I still haven't figured out why Locust isn't making some of the requests in the tasks I've created. It's very odd :thinking: I can't find any information to debug with either... Maybe someone else could see if they're seeing the same thing I am, where running just api only makes the stats requests and never makes the API query requests?
If I can't figure it out I'll probably try switching to some other load testing tool. Locust has a whole bunch of caveats too as a Python app due to the GIL. Having to spin up workers and such is a big pain. Gatling seems more straightforward despite being a Scala DSL.

I did more research on some tools over the weekend. I think we could get away with using ab (https://httpd.apache.org/docs/2.4/programs/ab.html) for this. Alternatively, we could try using Erlang's Tsung library, which is configured using XML, but is very fast and has none of the problems of Locust or Artillery or the other solutions written in woefully limited languages (when it comes to this kind of thing).
I'm going to start by trying ab out as I think it's likely the simplest solution. We'll still run it in a docker container so we don't have to worry about installing tools like that locally and to make it easier to potentially run this scheduled in CI against the dev API or something like that in the future.

I'm kind of stumped at the moment. The ab command running in the api.sh script doesn't work. If I exec into the container, however, and run the command manually (retrieve the desired command by echoing the command in api.sh instead of running it) it works. I feel like there must be some bash edge case that I'm not aware of here that is causing it not to run the way I expected...
Going to come back to this later today or tomorrow.

I still haven't been able to figure this out. Can someone else on @WordPress/openverse-maintainers take a look and see if they can reproduce the "too many arguments" error I see and maybe spend a few minutes debugging? I feel like there's some obvious bash/docker problem that I'm just not aware of and have had no luck finding in my research on the topic.

You're seeing what I'm seeing. If you echo the ab command in the api.sh script (you need to have the env.sh setup with a key based on the template btw, I'll add this to the PR description) then run it in your local terminal (or exec into the container and run it if you don't have apache-bench installed locally) then it works fine, but running it inside a shell script produces the too many arguments error or it silently errors out and never makes any network requests or anything. This latter thing, which is happening now, is actually still a "too many arguments" error but it's getting swallowed up somehow :thinking: Maybe set -xe would help debug this now that I think of it.

I was thinking about this (accidentally) on a recent long flight from Australia to the US and realized that ab isn't going to work for our purposes unless we run the load testing script against the ALB DNS name. However, luckily, I think it should work because we have a wide open CORS policy in the API.
That way we'll bypass the API's caching in Cloudflare and won't need to worry about the query string being the same for all n requests that ab makes.
That is... if we can figure out how to get ab working at all. When I'm back from vacation[^1] I will write up everything I've tried with ab and give clearer description for what I've tried. Sorry @stacimc that I didn't do that earlier.
[^1]: I'm writing this now because I am worried I would forget it... after 15 hours on a plane my grasp of reality is merely tenuous and any and all ideas are liable to slip away without a trace.

@stacimc I updated the README with more instructions for the environment setup. Let me know if you feel anything is still missing. I left out the specific steps for updating the Redis set for the live environment because it's all based on implementation details of our particular current deployment and didn't seem appropriate for this document.

Okay, I've spent a bunch of time playing around with this -- a lot of my problems came from having the API checked out at the ingestion server refactor, which apparently caused issues 😓
Long story short I finally got it working for me by changing the $host to host.docker.internal, and then adding the same to ALLOWED_HOSTS in the api. I'm a little confused about whether this deviates from the intention/if I'm doing something wrong here, though?
So, the current state is that just api will make 100 requests to v1/images with page_size=500 and a random word, and then exit. This is now working for me too 🎉

Long story short I finally got it working for me by changing the $host to host.docker.internal, and then adding the same to ALLOWED_HOSTS in the api. I'm a little confused about whether this deviates from the intention/if I'm doing something wrong here, though?

That's correct. I'm not sure what to do about the ALLOWED_HOSTS. Why do we restrict them like that in the API anyway, I wonder... or at least not make it an environment variable that is configured in the specific deployment?

I also got this working with @stacimc's suggestion to switch to and allow host.docker.internal. Here's the resulting output.html:

 This is ApacheBench, Version 2.3 <$Revision: 1879490 $>

 Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/

 Licensed to The Apache Software Foundation, http://www.apache.org/

INFO: GET header ==
---
GET /v1/images/?q=spoonbill%27s&page_size=500 HTTP/1.0
Authorization: Bearer Xu62j3LuLslGLIwpq4zhbmRDmL2NDg
Host: host.docker.internal:8000
User-Agent: ApacheBench/2.3
Accept: */*

---
..done

Server Software:

Server Hostname:	host.docker.internal

Server Port:	8000

Document Path:	/v1/images/?q=spoonbill%27s&page_size=500

Document Length:	0 bytes

Concurrency Level:	4

Time taken for tests:	0.183 seconds

Complete requests:	100

Failed requests:	0

Total transferred:	0 bytes

HTML transferred:	0 bytes

Requests per second:	546.75

Transfer rate:	0.00 kb/s received

Connection Times (ms)

 	 min	   avg	   max

Connect:	    0	    0	    3

Processing:	    1	    1	   10

Total:	    1	    1	   13

Another tool we could use that looks great and appears to easily support multiple workers without an issue (virtual users in this tool's parlance): https://github.com/grafana/k6

The cross-platform fix also works for me :) It might be nice to add a comment about updating ALLOWED_HOSTS in the api in the README.
Can you also update the PR description? There's been a lot of fluctuation because of the technical difficulties and I'm not sure what the exact goals of the PR are for now.

No worries, I do that all the time 😄 And big plus one to the approach. LGTM!


chore: bdd-gh-1582246622 to 0.0.1

chore: Promote bdd-gh-1582246622 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Add square brackets support in structured lg

Fix structured lg does not support square brakcets issue.

Pull Request Test Coverage Report for Build 84842

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-1.4%) to 76.003%

Totals

Change from base Build 84834:
-1.4%

Covered Lines:
7921

Relevant Lines:
10422

💛  - Coveralls

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.Luis.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.QnA.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.ApplicationInsights.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Azure.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Dialogs.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.TemplateManager.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Configuration.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Connector.dll compared against version 4.5.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Schema.dll compared against version 4.5.3


Add moduleDeps to BSP evaluated modules

Not sure if this solves all my problems with foreign modules (I'm having troubles testing this since the only way I have at the moment is using Metals) but I think this is the right thing to do, since the bloop module does the exact same thing here and my project works with Bloop

Superseded by

#1802


Why do the bitfields need to have fields between 0 and <= 64?

Some protocols have fields larger than 64. Is there a plan to implement larger bitfields? The code seems to get a bit at a time, so I'm not seeing a technical reason to need smaller than 64 bits. Unless it's because rust doesn't have integer types larger than 64 bit?

Unless it's because rust doesn't have integer types larger than 64 bit?

That's exactly the reason: the values of the fields are returned in an integer and the largest integer type in rust is 64 bits.
Depending on the situation, you can use an array field. In the ipv4 example, I use them for the addresses.
Do you have a specific example of a protocol with fields larger than 64 bits ? And do you have an idea of what the interface could look like for field larger that 64 bits ?

UUIDs, custom identifier types.

I think these use cases are covered by array fields, and methods implemented on the top of the getter setter provided by bitfield!.


Array not shifting element if it's present in array in one-way

Please ensure you have given all the following requested information in your report.
Issue details
Ordered Array#insert() not shifting element if it's present in array and specified index is lower than element index
Reproduction steps/code
Array<Object> array; //Array filled with random elements
array.insert(0, array.get(array.size - 1)); //moving last element to the end

However, array.insert(array.size - 1, array.get(0)); will work because object have smaller index than we specified in insert
Version of libGDX and/or relevant dependencies
1.11.0
Please select the affected platforms

[Not tested] Android
[Not tested] iOS
[Not tested] HTML/GWT
[+] Windows
[+] Linux
[Not tested] macOS

It seems like you expect insert() to do something different from what it actually does. This isn't that unreasonable, because Array.insert() is totally undocumented, but normally people are familiar with this kind of method from some other code... What insert() does is add an element at a chosen position (index) that can be anywhere inside the Array, as opposed to add() which only adds an element at the end (where index is equal to size). It doesn't move an item that is already inside the Array to another position, other than shifting the later items towards the end of the array.
I ran this code and got the output at the bottom; everything is what I expect.
import com.badlogic.gdx.utils.Array;

public class ArrayInsertTest {
    public static void main(String[] args) {
        Array<String> array;
        array = Array.with("A", "B", "C", "D", "E", "F", "G", "H", "I", "J");
        System.out.println("Original array, A through J:");
        System.out.println(array);
        array.insert(0, array.get(array.size - 1));
        System.out.println("Inserting the last item at the start:");
        System.out.println(array);
        array = Array.with("A", "B", "C", "D", "E", "F", "G", "H", "I", "J");
        array.insert(array.size, array.get(0));
        System.out.println("Inserting the first item at the end:");
        System.out.println(array);
        array = Array.with("A", "B", "C", "D", "E", "F", "G", "H", "I", "J");
        array.insert(0, array.removeIndex(array.size - 1));
        System.out.println("Moving the last item to the start:");
        System.out.println(array);
        array = Array.with("A", "B", "C", "D", "E", "F", "G", "H", "I", "J");
        array.insert(array.size - 1, array.removeIndex(0)); // note that the removeIndex call changes the size!
        System.out.println("Moving the first item to the end:");
        System.out.println(array);
    }
    /*
Original array, A through J:
[A, B, C, D, E, F, G, H, I, J]
Inserting the last item at the start:
[J, A, B, C, D, E, F, G, H, I, J]
Inserting the first item at the end:
[A, B, C, D, E, F, G, H, I, J, A]
Moving the last item to the start:
[J, A, B, C, D, E, F, G, H, I]
Moving the last item to the start:
[B, C, D, E, F, G, H, I, J, A]
     */
}

I'm going to close this; you can try again for help on Discord, but I didn't really understand what was wrong last time. The code works as it should, though, so there isn't a bug here.

understood, sorry


Upgrade bundled sqlcipher to 4.5.0

There is a new release tagged already on https://github.com/sqlcipher/sqlcipher/, but bundled sqlcipher is still 4.4.3

Could you please try to send a PR by running this script (ideally on linux machine or VM): just fix the SQLCIPHER_VERSION before executing the script.

Created a PR #1073


[FLINK-25640][docs] Enhance the document for blocking shuffle

What is the purpose of the change
Enhance the document for blocking shuffle and add more details about performance tuning and trouble shooting.
Brief change log

Enhance the document for blocking shuffle and add more details about performance tuning and trouble shooting.

Verifying this change
Document change without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

@flinkbot run azure

@gaoyunhaii Thanks for the review and feedback. I have updated the PR accordingly.


support GunDB

also what about gundb, will you support it?

also asked here: https://github.com/amark/gun/issues/1361

Working poc of gundb + trystero + private webtorrent tracker is here:
https://github.com/sloev/saysheep


tf.feature_column.indicator_column OOM

Describe the current behavior
i'm building a CTR model， use tf.feature_column.indicator_column  and tf.feature_column.categorical_column_with_hash_bucket  to make my  categorical feature turn into a multi-hot feature  .  But OOM happens , the error show that API indicator_column generate many one-hot feature , this cause the OOM.
it seems produce many one-hot [batch_size ,categorical list len, bucket_size] then reduce_sum to multi-hot ,this will cost many memory ,how can i solve this problem?

Please provide details about what platform you are using (operating system, architecture). Also include your TensorFlow version. Also, did you compile from source or install a binary?
Make sure you also include the exact command if possible to produce the output included in your test case. If you are unclear what to include see the issue template displayed in the Github new issue template.
We ask for this in the issue submission template, because it is really difficult to help without that information. Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


add ssh key so that an API created host can be accessed by ssh

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Release note:

By the way, the API created host can access internet by default based on my test.
So, I think the created machine is ready for run Kubernetes deployment script to deployment kubernetes.

Thanks @jichenjc for you comments. Addressed.

code is good, let's wait for CI issue fix then merge this

CI failed @xunpan @morvencao https://travis-ci.com/multicloudlab/cluster-api-provider-ibmcloud/builds/108927458
+echo 'Downloading test dependencies'
Downloading test dependencies
+download-dependencies
+go get -u golang.org/x/lint/golint
+[[ -z y ]]
+./scripts/download-binaries.sh
./scripts/pre-commit.sh: line 39: ./scripts/download-binaries.sh: Permission denied
The command "test $DOC_ONLY && echo "Skipped!" || DOWNLOAD_BINARIES=y bash -x ./scripts/pre-commit.sh" exited with 1.

@xunpan Would you add the execute permission for the scripts under hack and scripts?

OK. I will guarantee the CI succeed in this ticket.


Clarify error handling for FillDirEntryBuffer APIs

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

FYI, I'm the owner of this API (so I know the new info is correct :slightly_smiling_face:).

Thank you!


[AutoDiff] Rename AdjointEmitter and corresponding uses of adjoint to PullbackEmitter.

As a first step for clarity, we are renaming the AdjointEmitter class to PullbackEmitter. As the function that differentiation uses is the pullback, not the adjoint. However, we still have AdjointValues.

@swift-ci please test tensorflow

Oh didn’t know about the sil tests will update those this morning!

@swift-ci please test tensorflow

@swift-ci please test tensorflow


Categories list displayed but images and Products not displayed yet

Hi i am followed your application  i am successfully got  the categories . But i am not get the categories images and product images as your follow application.
Especially i am not getting products
I gave my Base URL & AccessToken

@lavarajallu can you attach screenshots?

can you come to slack
On Fri, Aug 10, 2018 at 3:13 PM, Dmytro Portenko<EMAIL_ADDRESS>wrote:

@lavarajallu https://github.com/lavarajallu can you attach screenshots?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/troublediehard/magento-react-native/issues/7#issuecomment-412033659,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATmTnCsBqZYgTCZK3hYiKaq4w8OOro7Dks5uPVXAgaJpZM4V35av
.

@lavarajallu I've sent you invite to the Slack


Including a timestamp in the output filename

If I plan to record multiple streams over a time period to a file, and I just want to leave livestreamer running, is it possible to append the output filename with a timestamp?
Thanks

I tried this, but could not get it to work.
livestreamer %1 best --retry-streams 60 --stream-timeout 6000 -o "File-$(date+%Y-%m-%d).mp4"
What should I do? Thanks!

@chrippa is there a Windows way of achieving this? Thank you.

On Windows this seems to be a little more complicated than on Linux. Take a look at the script I posted in #1244


Add ColorAdjustFilter

More details at :  https://github.com/pixijs/pixi-filters/issues/61
inspired by :
https://www.youtube.com/watch?v=rfQ8rKGTVlg#t=25m03s
https://github.com/hughsk/webgl-texture3d
https://www.defold.com/tutorials/grading/

Can we rename this to ColorMapFilter?

or ColorMappingFilter ?  How do you think about it , @ivanpopelyshev ?

mapping is also a nouns.
mapping [ 'mæpiŋ ]
n.
a function such that for every element of one set there is a unique element of another set
example: ORM : Object Relational Mapping ( in ORM , mapping is a nouns)

I stand corrected! I read it more as an action.
I'm fine with either, but not ColorAdjustFilter.

ColorMapFilter or ColorMappingFilter ?
And if call this filter ColorMapFilter/ColorMappingFilter ,  shall we change the AdjustmentFilter to ColorAdjustFilter/ColorAdjustmentFilter ?

OK. I'll use ColorMapFilter , because there is a filter named SimpleLightMapFilter.
both map is better than one map, one mapping.

Thanks @finscn, good work.


Doc comments?

The documentation comment when using self_referencing is always "The self-referencing struct." event when I apply a doc comment above the attribute.
Is there a trick to get it to respect my doc comment?

It is recommended to wrap the generated struct in a new struct to provide a
clearer interface to whoever uses the code. You could then put the
documentation on the wrapper.
On Wed, Feb 14, 2024, 03:52 muji @.***> wrote:

The documentation comment when using self_referencing is always "The
self-referencing struct." event when I apply a doc comment above the
attribute.
Is there a trick to get it to respect my doc comment?
—
Reply to this email directly, view it on GitHub
https://github.com/someguynamedjosh/ouroboros/issues/110, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOL2YRIDPZNLDB7DVA33X2TYTSCOHAVCNFSM6AAAAABDH7B5Q2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGEZTGOJUG4ZDIOI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks, i will do that then 👍


Clarify language for pollinator sites and boxes

Confirm team's language for boxes and sites is in alignment with the client's language.  Done when confirmed by client

Client would like to use "plantings" along with gardens - also specified wants public, semi-public, and private gardens via email


Reporting double amount of triangles

I know exactly how many triangles there are, and perf is reporting an exact double amount. If I use wireframe on material, it reports the correct amount.
"EDIT"
Sorry, seems that it's something on my side since if I render just using , it reports correct number

@Igor-Vuk did you figure out what was causing the double-up? I'm experiencing the same thing. Exactly double the triangle count.


USM support

https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/USM/USM.adoc
Hi,
are there plans to support the Intel proposed USM extensions to SYCL?
I'm trying to factor / estimate the chance of SYCL on AMD with and without SVM working in timeframe for Frontier at ORNL.
Thanks,
Major design / code decision with scientific work depending on proper planning, so advice appreciated.

Have a look at #155 for the current status

Yes, USM is coming to hipSYCL. Time scale is before the end of the year, likely earlier. Note that shared USM allocations are currently inefficient in HIP due to lack of page migration, but this is probably going to change with the hardware that's planned for Frontier (?).

Brilliant news. Will close issue and watch 155.


Fixing margin typo

Summary
Fixing margin typo

Not sure what else is being impacted by the change

Nothing, these modifier classes were added recently. And that's how I expected to use them. The p-0 class is not being used anywhere atm.


Add option to disable opening of dialog when a users clicks enter in keyboard mode inside the textfield

Environment

Tech
Version

material-ui-pickers
1.0.0-rc.5

material-ui
1.0.0-beta.38

React
16.2.0

Browser
Chrome

Platform
Windows

Steps to reproduce

Simply click enter inside a datePicker (e.q. after entering a correct date)

Behavior

It would be nice if it would be possible to disable this behaviour, i think it should be enough to add the property + a check to https://github.com/dmtrKovalenko/material-ui-pickers/blob/master/lib/src/_shared/DateTextField.jsx handleKeyPress to add this functionality
Live example

https://codesandbox.io/s/oqxj1kzk46

I added a pull request https://github.com/dmtrKovalenko/material-ui-pickers/pull/336 for this feature request, i think some others beside me could also benefit from it :)

I think this issue can now be closed :)


Fully pipelined push-based query engine

Description
Currently, the coprocessor of TiKV is a pull-based query engine a.k.a a Volcano Iterator mode query engine. Last year, we adopt a vectorized approach to enable loop pipelining which gain great performance improvement. However, the executors in our execution flow are not fully pipelined. For example, in a scenario that the query plan is TableScan -> Selection, first, the Selection executor tries to fetch a batch from the TableScan executor by calling next_batch of the TableScan executor and it waits for the TableScan executor to get a logical table from MVCC storage which means the TableScan would block the processing of Selection executor. In this example, we assume it needs 1s for TableScan to fetch a batch and the Selection executor needs 0.5s to process the batch. Then the time for the most outer executor -- the Selection executor to produce a batch needs 1.5s.
In the push-based approach, we tend to make these executors more 'eagerly' rather than 'lazily' to produce batches i.e. via a producer-consumer approach. Here is the idea: each executor has a buffer to store the batches that are needed to be processed. At the begin, we launch each executor in runtime like tokio. Once the executors have processed the batch, it sends it to downstream executors buffer. Then, the downstream executors consume these batches asynchronously. Once the root executor is drained, it sends some termination message to the downstream. Finally, we take out the data from the most outer executor to make an aggregation.
With this model, we gain such a performance improvement: while the execution pipeline is not full-filled, the most outer executor still needs the original time to produce a batch comparing with the pull-based model. However, when the pipeline is full-filled, the bottleneck of the execution flow is the executor that is the most time consuming one.
But this model has a little bit difficult case for us to handle, for some executor like Limit are not very suitable in this model because the source executor would produce more data than it wants, leading to CPU/IO source wasting. In this situation, we need some mechanism to inform the source executor stop to send more batches while the downstream executor is stuffed.
Furthermore, we may extend this model by an additional model: single-producer-multiple-consumers.
Once the root executor fetches several batches, it could launch more than one pipeline to process these batches. When these pipelines are drained, we could do some aggregation logic to their results.
Score

3000

SIG Slack Channel
You can join #sig-copr on slack in your spare time to discuss and get help with mentors or others.
Mentor(s)

@iosmanthus
@breeswish
@zhongzc

Contact the mentors: #tidb-challenge-program channel in TiDB Community Slack Workspace
Recommended Skills

Rust

Learning Materials

TiKV Coprocessor Source Code Reading
Paper: Push vs. Pull-Based Loop Fusion in Query Engines

Demo
Here is a short demo of the fully pipelining push-based model query engine simulation: click me

Please give me a chance to try my best to work on it. /pick-up

/pick-up

@Patrick0308 Cool!

On TiDB, only executors with I/O have such a buffer, which are IndexReader and TableReader who fetch data from TiKV.
I think it is enough to only introduce a buffer to TableScan but not all executors.

On TiDB, only executors with I/O have such a buffer, which are IndexReader and TableReader who fetch data from TiKV.
I think it is enough to only introduce a buffer to TableScan but not all executors.

Sounds make sense to me because the bottleneck of this model is the TableScan/IndexScan but I think more benchmark should be made to find out the time distribution of each executor.

/pick-up

Sorry, I will work on it in this weekend.

/pick-up

@iosmanthus @breeswish Hi, if we use fully pipelined push-based query engine. Do we need to push a batch? A little batch or one row that maybe is a better choice.

@Patrick0308 The batch size is enlarged incrementally and the initial batch is small. I guess this pattern is still useful, for example, something like this:

Since the initial batch is small, the pipeline can get start to work immediately.


Dev Tunnel or Virtual USB

Describe the solution you'd like
A clear and concise description of what you want to happen.
I want to get some valuable information from the device like it where connected to my computer. I need to run ADB in android or USBMUX in iOS.
Describe alternatives you've considered
In others providers (like AWS device Farm or perfecto) I have this kind of solutions.
Additional context
I want to use this tool in MS App Center: www.apptim.com

Hi @matiasreina  and thanks for contacting us. Could you please describe in more detail what specific functionality you are talking about?

Hi! thanks for your reply!
I want a feature that enables developers to run ADB commands in Android devices. That enables a wide range of possibilities to debug device status and apps, for example getting device-performance stats, filtering logcat and a wide range of possibilities. Here you have technical documentation for this feature in perfecto which is a wrapper built on top of open-source technology: https://help.perfecto.io/perfecto-help/content/perfecto/advanced/devtunnel___debug_on_real_perfecto_devices.htm

Your request is very similar to this feature request if I understand you correctly.

It is in the same way/need

It is in the same way/need

Thank you very much for your request, but unfortunately there is no ETA for this feature request yet.

Thanks for your answer.
Is there any other way to work with Microsoft as a partner to develop this kind of integration?
This program, related to ISV Technology Partners is focused on sales/management, is there any way to talk first about these technical needs?
Any help is welcome and thanks again!

Unfortunately, you do not have the opportunity to somehow help us in the development of this feature, because the repositories responsible for this functionality are private. Thank you for your willingness to help us.

Hello
Do you have this in your 2024 roadmap? Or any alternative?

We don't have this feature on 2024 roadmap.

We don't have this feature on 2024 roadmap.

thanks for your reply


updated title and H1

Docs Build status updates of commit 04127fc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

spmt/docs-conceptual/index.md
:bulb:Suggestion
View (spmt-ps)
Details

spmt/docs-conceptual/index.md

Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 06c9040:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

spmt/docs-conceptual/index.md
:bulb:Suggestion
View (spmt-ps)
Details

spmt/docs-conceptual/index.md

Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit e493f50:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

spmt/docs-conceptual/index.md
:bulb:Suggestion
View (spmt-ps)
Details

spmt/docs-conceptual/index.md

Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 4a1cbef:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

spmt/docs-conceptual/index.md
:bulb:Suggestion
View (spmt-ps)
Details

spmt/docs-conceptual/index.md

Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Sorting by node name

Is there any way you can make the node name and the my nodes management page sortable?

+1


input ng-touched not reflected properly for list-item

Ionic version:
[ ] 2.x
[x] 3.x
[ ] 4.x
I'm submitting a ...
[x] bug report
[ ] feature request
Current behavior:
When I have an input in a list item in a form, the angular form validation classes for the list item and the input are different. E. g., clicking into an empty required input and not entering anything sets ng-touched for the input but not the list-item. Clicking into it again updates it for the list-item as well. This behavior is different in<EMAIL_ADDRESS>and<EMAIL_ADDRESS>In 3.5.2 the field stays untouched/pristine until something is entered, so it only becomes touched/dirty and invalid, if you enter something and delete it again (and leave the field).
In 3.7.1 after entering and leaving the field (without typing anything), the input becomes touched but the list-item stays untouched (the form is touched as well though). Clicking in and out again finally makes the list-item untouched as well. (it gets highlighted as invalid though, also see #13077).
Expected behavior:
The input and the list-item should reflect the same state.
Related code:
Example for 3.5.2: https://stackblitz.com/edit/ionic-qcwjxc?file=pages%2Fhome%2Fhome.html
Example for 3.7.1: https://stackblitz.com/edit/ionic-oodhy7?file=pages%2Fhome%2Fhome.html
Ionic info:
cli packages:

    @ionic/cli-utils  : 1.12.0
    ionic (Ionic CLI) : 3.12.0

global packages:

    cordova (Cordova CLI) : 7.0.1

local packages:

    @ionic/app-scripts : 3.0.0
    Cordova Platforms  : android 6.2.3 ios 4.4.0
    Ionic Framework    : ionic-angular 3.7.1

System:

    ios-deploy : 1.9.2
    Node       : v8.6.0
    npm        : 5.5.1
    OS         : macOS Sierra
    Xcode      : Xcode 9.0 Build version 9A235

Misc:

    backend : legacy

Hello! Thank you for opening an issue with us!
The difference as to when ng-touched is applied to the input is expected. That was done as part of 3.7.0 and fixes #12102. This change makes us consistent to how Angular applies ng-touch.
The issue of it not being applied to the ion-item at the same time as the ion-input is something we will have to look into.
Thank you for using Ionic

After further testing, 3.5.2 also exhibits the bug of ng-touched not being exhibited at the ion-item at first (ion-input changes on first key press in 3.5.2, but ion-item not until second).
So the behavior is consistently wrong at least, just not as obvious in 3.5.2 because it does not have the ng-touched fix that sets ng-touched properly on the input.

Thanks for the update.

I have been struggling with this problem as well! It's getting quite frustrating indeed.

Hello, Is it possible to have a workaround at least :) ? Thanks for your work !!

Hi, to workaround this, I've made this simply directive:
import {Directive, ElementRef, OnInit, Renderer2} from '@angular/core';

@Directive({
    selector: '[touched-workaround]',
    host: {
        '(ionBlur)': 'onBlur()'
    }
})
export class TouchedWorkaroundDirective implements OnInit {

    private parent;

    constructor(private element: ElementRef, private renderer: Renderer2) {}

    ngOnInit() {
        this.parent = this.element.nativeElement.parentElement.parentElement.parentElement;
    }

    onBlur() {
        this.renderer.addClass(this.parent, 'ng-touched');
        this.renderer.removeClass(this.parent, 'ng-untouched');
    }

}

And, then, in my form fields:
<ion-item>
    <ion-input placeholder="Email" type="email" formControlName="email" touched-workaround></ion-input>
</ion-item>

I know this is not the cleanest way, but it works for me.

Yeah this is very frustrating.
Ionic is supposed to be an enterprise solution but you guys seem to be jumping from project to project ignoring the basics and leaving the old ones behind.
There's been a couple issues we've encountered where the thread just ends with you saying your not going to fix it.

Please fix this important issue...I have used below as workaround
<ion-item [ngClass]="{'ng-touched ng-invalid':addProductForm.controls['control_name'].invalid}">

Hello :)
I would like to share my frustration too :'(
I have a basic form with password confirmation (so if you  edit one of the two password input, they have to update their validity accordingly to each other if they have been touched)
I found out that ion-item doesn't reflect the ng-valid class accordingly to the input inside.
So when I update the input2 validity while changing input1 value, ion-item2 doesn't update to ng-valid :'(
So I'm forced to use @ZameelAmjed workaround (thanks btw) :
<ion-item [ngClass]="{'ng-valid':someForm.controls['control_name'].valid, 'ng-invalid':someForm.controls['control_name'].invalid}">
I guess it's a common usecase, so it would be really nice to have it fixed.
Loving Ionic <3

+1

+1

The below solution is working for me, using Ionic 3:
<ion-item [ngClass]="{ 'ng-touched' : form.get('myControlName').touched }">
     .......
</ion-item>


add metering annotations to operator

https://github.ibm.com/IBMPrivateCloud/roadmap/issues/36553
https://github.ibm.com/IBMPrivateCloud/roadmap/issues/36556

/lgtm


Cannot access extern: functions in extern: functions

I have three contracts. C1 is an interface contract which accesses functions in C2 and C2 is accessing C3 to save data in the storage: C1(C2(C3()))
When testing my code I noticed I can access C2 functions from C1 but C2 cannot access C3 in the same call. So no change in storage is saved. However when I run only C2(C3()) the storage is updated.

Works with latest build


Subprocess Info/Example for piping

After getting this answer this from the Deno discord, I figured I should do my part and share it since it's pretty basic functionality.
The one reason I think this PR might be rejected is because the example includes imports from std instead of purely using the built-in API.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks @bartlomieju, I was wondering how pinned versions were going to work. Suggestions implemented and pushed

Maybe this would be a good addition for https://examples.deno.land?

I think so 👍
I didn't know that page existed till just now. It looks pretty handy.


Support partial update plan for stream/broker load.

support partial update plan for stream/broker load.
pass primary key/paritial update flag into StreamLoadPlanner and LoadingTaskPlanner to dispatch logic, and check if the task is negative. For broker load, maybe there are multiple file groups, support single file group for partial update now.
resolve #1712

This is redundant with the title.  And pass primary key/paritial update flag into StreamLoadPlanner and LoadingTaskPlanner to dispatch logic, and check if the task is negative. For broker load, maybe there are multiple file groups, support single file group for partial update now. have many errors.

what is "pass flag to dispatch logic, and check if the task is negative"
why "broker load file groups" matters?

 This is redundant with the title. And pass primary key/paritial update flag into StreamLoadPlanner and LoadingTaskPlanner to dispatch logic, and check if the task is negative. For broker load, maybe there are multiple file groups, support single file group for partial update now. have many errors.

what is "pass flag to dispatch logic, and check if the task is negative"
why "broker load file groups" matters?

Primary key flag is a boolean flag of StreamLoadPlanner/LoadingTaskPlanner, to describe if this key type is primary key.
Paritial update flag is a boolean flag of StreamLoadPlanner/LoadingTaskPlanner, to describe if this load is partial update.
These flags used in plan method, according to that only primary key table support partial update.
Check if the task is negative since that primary key table does not support negative load.
The columns in multi-groups may be different.


rebuild, redeploy mongo database

#206 will require a rebuild (on vervet), followed by deploy of the rebuilt freecen2 database to production.
The instructions developed by Kirk for deploying to production should be followed, (skip the steps for copying the db from production to vervet first since we are still building directly from FC1 data).
The new developer should be involved in this to learn how. Doug can guide through the rebuild. Ben guide through the deploy.

Note, this goes hand-in-hand with #206, see comments there.

Does this story now include sharding, or does that need creating as a separate issue?

Let's use a separate story for the sharding tasks. #260 created. Status for this story: rebuild completed, but deploy of the rebuilt database is stuck due to vervet crashing when Kirk tries to clone the database to the new mongo servers.


about markup

Versions

Python: 3.5
OS: win10
Kivy: 1.10.1
Kivy installation method:

Description
// REPLACE ME: What are you trying to get done, what has happened, what went wrong, and what did you expect?
Code and Logs
when i met [xxx] [/xxx] the content will jumps to the next row
for example:
[color=ff3333]爱过[/color]的人,我已不再拥有,许多故事有伤心的理由,这一次我的,等不到天长地久,错过的人,是否可以回首

 the word behind[/color] It will jumps to the next row

How do I color a word in Inputtext? or How do I add markup to Textinput?
// REPLACE ME: Paste your code and logs here, a template can be found at https://git.io/vM1id.

I don't use markup much, but I've never met this kind of issue. Can you share the code that reproduce the issue?

@gottadiveintopython did you check it? 'cause I'm getting it correct at this end.
See this shot.( Never mind the encoding. Tried a little, couldn't help it. But the idea is, it's not splitting up the lines.)

@shashi278 Same here.

Hey， Are you there?
About 'markup', I've tried it many times, but i never solved the problem.....Take a look at  the picture below

When the language is English, No matter what I do, It doesn't wrap，When the language is Chinese, I got the problem
When I try to change the size of the window,

There nothing wrong with the English part,  but there are a lot of strange things that can happen in Chinese
Here is a part of the code:
·BoxLayout:
size_hint_y: 1
orientation: 'vertical'
MDLabel:
id: voice_content
text_size:self.size
size_hint_y: 1
valign: 'top'
font_name:'./wryh.ttf'
font_size:16
markup: True
text:'now you know the meaning of [color=ff3333]sunshine[/color] after [color=ff3333]rain[/color]---'*10
MDLabel:
id: voice_content
text_size:self.size
size_hint_y: 1
valign: 'top'
font_name:'./wryh.ttf'
font_size:16
markup: True
text:'像风一样[color=ff3333]自由[/color]自由自由自由自由'*10 ·

@gottadiveintopython did you check it? 'cause I'm getting it correct at this end.
See this shot.( Never mind the encoding. Tried a little, couldn't help it. But the idea is, it's not splitting up the lines.)

Hey Are you there? I update my questions at the comments could you do me a favor if you are free

@Jmxmanman so you get this new line problem when you resize your window and not normally? It's clearly a text wrapping problem. Wrapping texts works like if it'll see the next word can't be fit, it'll wrap the entire text( without breaking the text) onto the new line.
Now the English sentence has several spaces but I can't see any space in the Chinese one( or I may be wrong as I can't read Chinese) and hence, I guess, it causes problems with wrapping. I tried giving some space around few characters( I'm not sure if I've changed the word itself) in the Chinese one and now it's quite pretty.
In the first picture, you see too many blank spaces at the end of line 'cause it gets the word 自由自由自由自由像风 which is quite longer and hence can't fit in there.
For instance, if I break 自由自由自由自由 into two with a space in between and some more spaces around few words in the sentence, I get output like this picture below.

I

@Jmxmanman所以当你调整窗口大小而不是正常情况时，你会遇到这个新行问题？这显然是文本包装问题。包装文本就好像它会看到下一个单词不合适，它会将整个文本（不会破坏文本）包装到新行上。
现在英语句子有几个空格，但我看不到中文的空格（或者我可能错了，因为我看不懂中文），因此，我想，它会导致包装问题。我尝试在中文版本中给几个字符周围留出一些空间（我不确定我是否已经改变了这个词）现在它非常漂亮。
在第一张图片中，您会在行尾看到太多空格，因为它会得到单词“自由自由自由自由像风”，因为它长得太长，因此不适合那里。
例如，如果我将自由自由自由自由分成两个，其间有一个空格，并且在句子中的几个单词周围有一些空格，我会得到如下图所示的输出。

I GOT IT ! THANK YOU SO MUCH!!  I just put a space between the Two Chinese , It solved


When reaching end of carousel, slick doesn't cycle images

Greetings, I've got issue with slider that goes beyond the main content (960px) by width.
Issue is that when I'm scrolling images, and reaching end, it shows only last and first one in the cycle, and doesn't show next images after first.
So I see only last and first image, and only after I scroll again, suddenly rest of images appear after first one.
Here is my setup:
$slider.slick({
	infinite: true,
	variableWidth: true,
	arrows: true,
	prevArrow: null,
	draggable: false
});

I have tried to change slides to scroll, and slides to show, but on different screen sizes they lead to bad behavior, when it skips slides.
Here is the page with slider: http://mag.verstak.ru/index_en.html
Is there any solution for my case? Thanks.

+1 Having the same issue.

Hey I know its been a while without any attention to this issue, but my first thought was that it might have to do with the tab focus. If you whip up a fiddle I'd be interested to check it out, but in the mean time I'm going to close it. Here's one to fork if you're interested.

+1 having the same problem here


Implementation of Fibonacci Series in Java

🛠 Issue (#641 )

Issue no #641
👨💻 Changes proposed
Implemented the java file of fibonacci series in recursive approach.

✔ Check List (Check all the applicable boxes)

[✔ ] My code follows the code style of this project.
[ ✔] This PR does not contain plagiarized content.
[ ✔] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
The code will give the entire sequence.

📷 Screenshots

@sitamgithub-MSIT I think I am clear to you that all program files should be in the same PR, or else none of them would be merged


RuntimeError: Not implemented on the CPU

pytorch1.0 ,when I runpython trainval_net.py,I got a error.
RuntimeError: Not implemented on the CPU (ROIAlign_backward at c:\users\lenovo\faster-rcnn.pytorch\faster-rcnn.pytorch\lib\model\csrc\ROIAlign.h:44)
(no backtrace available)
Can anyone tell me how to deal，please

maybe you need a CUDA environment


add Pink Salmon model

set Pink gradient threshold at 12%
habitat potential models TBD

Just add accessibility model and summaries for now


Chrome displays error message in iframe - Unsual code detected

Challenge Add a Submit Button to a Form has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.88 Safari/537.36.
Description edited by @systimotic for clarification
There is a warning displayed in the phone frame. It says: "Chrome detected unusual code on this page and blocked it to protect your personal information (for example, passwords, phone numbers, and credit cards)."

Code:

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">

CatPhotoApp

Click here for cat photos.

Things cats love:

cat nip

laser pointers

lasagna

Top 3 things cats hate:

flea treatment

thunder

other cats

<form action="/submit">

</form>
<form action="/submit-cat-photo">
  <input type="text" placeholder="cat photo URL">
</form>

@leekirby6 thanks for the issue. Can you give more information on where you saw this notification? A screenshot might help as well if you're able to provide one. I don't get any notification from Chrome when I open the page. Thanks!

Oh, i forgeted about screenshot.

Nothing happen when I use firefox.

It might be related to Chrome Beta. See #12655. It works fine for me with stable Chrome. @leekirby6 Can you try it with stable Chrome?

Thanks for rely. I prefer beta vesion than stable :
I used firefox !

Is this error an indication that campers will see this in a future version of Chrome? If that's the case, we should probably make sure this is fixed before the release.

I can reproduce this with Chrome 57, both on the beta and the live site.
The version where this can be reproduced is 57.0.2987.88. From the Chrome releases blog, on March 9th:

The Chrome team is delighted to announce the promotion of Chrome 57 to the stable channel - 57.0.2987.98 for Windows, Mac and Linux. This will roll out over the coming days/weeks.

The error:

The XSS Auditor blocked access to 'https://www.freecodecamp.com/challenges/add-a-submit-button-to-a-form#?solution=solution-here' because the source code of a script was found within the request. The auditor was enabled as the server did not send an 'X-XSS-Protection' header.

This mentions that the error we're seeing is indeed caused by functionality enabled in Chrome 57.
The warning seems to be triggered by having a form in the iframe.
Here's a StackOverflow post with a suggestion on how to solve this.
I tested how Codepen handles this. It does work fine there. Some notable differences:

X-Frame-Options is ALLOWALL on Codepen, SAMEORIGIN on fCC. I think this is unlikely to be the cause, but it may be related.
X-XSS-Protection is 1; mode=block on fCC, but not present on Codepen. I think this is why it does work on Codepen but not on fCC.

/cc @freeCodeCamp/moderators This looks like it has the potential to become a very serious issue for us, but I'm not certain. Can anybody help investigate?

@systimotic thanks for bringing this to everyone's attention. Yes - this is a serious issue. If Google rolls out this update, it will completely break our challenges. So we need to fix this ASAP.
Have you been able to make any progress on this?
@BerkeleyTrue is this something you could fix and deploy to production real quick, or do you have someone in mind for delegating this?

On Mon, Mar 13, 2017 at 6:44 PM, Quincy Larson<EMAIL_ADDRESS>wrote:

@systimotic https://github.com/systimotic thanks for bringing this to
everyone's attention. Yes - this is a serious issue. If Google rolls out
this update, it will completely break our challenges. So we need to fix
this ASAP.
Have you been able to make any progress on this?
@BerkeleyTrue https://github.com/BerkeleyTrue is this something you
could fix and deploy to production real quick, or do you have someone in
mind for delegating this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/freeCodeCamp/issues/13727#issuecomment-286147082,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AX9USGhYYpx9VbE14GEjc5ELIWUePYCaks5rlWRggaJpZM4MS57P
.

I have an idea, I'll raise a PR against backup/master if my theory works out.
If it works I can then implament it for staging also

But please, if someone else has an idea, go ahead and work away at it
This seems like a critical issue

@QuincyLarson @systimotic @Bouncey Looking into it, (according to @timo's link) Chrome is changes the default behavior X-XSS-Protection: 1 to X-XSS-Protection: 1; mode=block. What this does is complete block a page from running when the source code for the page is within the request itself (i.e. code-url).
Before, the chromes default bahavior was to filter outs the parts of the script that would be considered harmful. We’ve gotten around this by encoding the specific parts that chrome would complain about (form actions and such) and then decoding them before injecting into the iframe.
Now the default behavior is going to block the page completely. This is what is causing the issue (I believe).
I downloaded Chrome canary and have not been able to replicate the issue (it is on version 59)

It may be as simple to change our X-XSS-PROTECTION to 1;

I cannot replicate on beta, but I can on production
Chrome 57 is now the 'chrome stable' for Ubuntu

I cannot reproduce locally on backup/master

try to post back, via server control, some html and JavaScript code to server and you will see the issue.

happened to me on Chrome Version 57.0.2987.110 (64-bit)    Win10 64bit

Hello, all,
please help me understand this better.
I am Business Analyst in Software company. We experience the issue that after 57.0.2987.98 Chrome update we get the error “This page isn’t working Chrome detected unusual code on this page and blocked it to protect your personal information (for example, passwords, phone numbers, and credit cards). ERR_BLOCKED_BY_XSS_AUDITOR" - basically what you are discussing here.
My questions would be:

is it a bug or a feature?
if it is a bug - where could I get the information when it will be fixed?

We have number of customers who suffer from this error and we need to understand whether to we should wait for the Chrome fix or to implement the fix on our side.

@dimapct This the repository for FreeCodeCamp.com not for Chrome. Please direct your questions related to your business software and chrome to the chrome team, not us.

@QuincyLarson
Chrome settings > advanced settings > Protect from dangerous sites > off
worked for me for a while

I have just come across this bug report. I wonder if my experience might shed some light on this.
When I write a post on Ubuntu Forums — which is a perfectly bona fide site — Chrome frequently, but not always, gives me this error when I press "Preview Post".
I have attempted to find a pattern, but it seems entirely arbitrary; I can type some wording, which Chrome accepts, and other wording, which it doesn't, and I see no significant difference between them. For example, sometimes Chrome blocks a post with quotes, and other times not.
I use Chrome 57 Stable (from the official Chrome repositories) on Linux Ubuntu.
(I shall adopt the suggestion by @QuincyLarson for the time being, although it's a bit nerving to turn it off!)

Unfortunately, the proposed solution from @QuincyLarson did not work for me.
However, there is further information, which I hope is of some help:
https://bugs.chromium.org/p/chromium/issues/detail?id=702542
https://bugs.chromium.org/p/chromium/issues/detail?id=706038
https://productforums.google.com/forum/#!msg/chrome/4MUJd75N4Jw/8uDOUMgrEQAJ

@paddylandau Thanks.
It seems the issue is solved by explicitly adding x-xss-protection headers to our csp. Anyone have some time to test this out?

The problem with adding this header is that it means reducing security, for the sake of Chrome. That seems weird to me.

Actually, if you set the header to 1, then you're just keeping the security the same and preventing Chrome v57 from increasing security. The only real difference is that v57 is noisily blocking some code that v56- and other browsers have been silently blocking up to now.

I'm still experiencing this issue :(

I'm still experiencing this issue :(

The interesting thing regarding this issue is when you complete the lesson on a different browser and return to Chrome and "view the solution" of that lesson, the code reads with no error and you can continue on with the next lesson. Any thoughts?

On Apr 10, 2017 10:21 AM, "Rogerio Penchel"<EMAIL_ADDRESS>wrote:
I'm still experiencing this issue :(
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/freeCodeCamp/issues/13727#issuecomment-293018041,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AV-9X3RBc4-MBzYNChdMp0_uZrywTADUks5rumUPgaJpZM4MS57P
.

i ran this in firefox and had no issues

@nvnellore This applies only to Chromium and, by extension, Chrome. No other browser gives this problem.

I've seen this ERR_BLOCKED_BY_XSS_AUDITOR when I add content with an  tag.
Basically if the content contains an embeded youtube click you get ERR_BLOCKED_BY_XSS_AUDITOR.
It doesnt happen on IE. It doesnt happen if I remove the content with the frame.

Sorry - should clarify ... trying to just update content on our shop cart.
Once this is included

we then get the ERR_BLOCKED_BY_XSS_AUDITOR  error.

Experienced this right now.
@udbhavs 's solution worked just fine.
Chrome 57
Windows 10 - 64 bit

Chrome Version 57.0.2987.133 (64-bit)
Windows 8.1 Pro 64 bit

@ssisaias — The workaround (not a solution) from @udbhavs might work, but that is because it deliberately breaks security! It is not a reasonable workaround, and certainly not appropriate for a work-based computer or indeed any computer that holds confidential information.

The issue seems to be resolved by upgrading to version 58 (Version 58.0.3029.81 beta(64bit, on my machine). I was getting the same error and had to go into into the 3 dots -> about. Under the version was a button I had to press to complete the update from v57 to v58. Upon relaunch of Chrome issue was resolved.

@willdanneriv You are lucky, perhaps, because version 58 hasn't solved it for me. I still get the bug after today's update.

@paddylandau Perhaps. Are you on Beta or Stable?

@willdanneriv Stable. The one that was released to my machine today.
Version 58.0.3029.81 (64-bit)
Same as yours.

@paddylandau Did you follow the process I did under about and relaunch?
Just covering bases, sorry it's not working for you.

@willdanneriv — I use Linux, not Windows, so updates are automatically installed directly from the official Google repository. I started Chrome only after the updates were complete; the version number that I posted was a cut-and-paste from Chrome's "About Google Chrome".
As an experiment, I've hopped onto a Windows 10 machine and tried there, and I get the same problem (Chrome fully updated, of course).
Maybe the forum where you've tried this coincidentally today added the solution as described by @BerkeleyTrue above?

I am also experiencing this issue on my Mac running OS Sierra with Chrome 57.0.2987.133. I'm a bit confused on where to post, but hopefully this will work!

Am also facing the same issue in mac os.

I had the same issue now on Chrome, then went on Firefox to continue, since Chrome was stopping me from progressing. I advice if you have another browser, you do the same. However I still think we need to be assured that our private information is safe here

Is anyone still experiencing this in Chrome or Firefox? I just updated to Chrome 58 and can't reproduce the issue there, nor in the latest firefox.

When you are facing issue sign into other browser and try the same. I faced the issue in chrome and then tried in Safari i just done.

Is anyone still experiencing this in Chrome or Firefox?

Yes, I can reproduce with Chrome 58 on the Main website but same challenge works OK in beta website.
Maybe that's a lead to progress other than what Berkeley has already identified.

I noticed an issue though. I left chrome and continued on Firefox when I
saw the error message, so I did a few more exercises on Firefox, however on
the map that particular exercise was not ticked as done. It just appeared
as if it was skipped.
So I went back to Chrome now to do it and the bug has been fixed. However I
couldn't continue from where I stopped on Firefox, I refreshed the tab, and
I also closed the tab and re-opened it, but I was shown the next exercise
not the exercise I am currently working on Firefox.
I then signed-out of my account on Chrome and signed in again and was able
to select the exercise I want to do. I think the process can be done
better, so that if I refresh my tab it takes me to the exercise I stopped
at. Thanks for your help guys.
On Tue, Apr 25, 2017 at 7:34 AM, mrugesh mohapatra<EMAIL_ADDRESS>
wrote:

Is anyone still experiencing this in Chrome or Firefox?
Yes, I can reproduce with Chrome 58 on the Main website but same challenge
works OK in beta website.
Maybe that's a lead to progress other than what Berkeley has already
identified.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/freeCodeCamp/issues/13727#issuecomment-296928274,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZgA8UshOMmM5_yVN3POvedvIIVyoCL9ks5rzZPkgaJpZM4MS57P
.

--
Tobiloba Ogunlobiyi
+234<PHONE_NUMBER>
www.linkedin.com/in/tobilobaogunlobiyi

@QuincyLarson — Yes, I still have this problem on Chrome 58.
@tobi10 — A simple refresh simply reloads the page, but doesn't refresh everything; it still uses the cache. To force a complete refresh and ignore the cache, press Ctrl+Shift+R. It should save you the hassle of signing out and in again.

@paddylandau - I have the same issue again, I got stuck at the first jQuery exercise and went to firefox to do the exercise and also did 4 more exercises. I then came back to Chrome to continue. I refreshed using ctrl + shift + R like you suggested and I logged out and logged in back but it shows that I'm stuck on that first exercise. Attached is a screenshot of the page

@tobi10 — I guess that you'll have to continue on Firefox. A nuisance, I know, so let's hope that Google fixes this bug soon.

Thank you @paddylandau

Please refer this comment.
I strongly believe the above comment correctly analyzes what's going on here.
This is most probably fixed in the staging because we have stopped automatic code execution on the page.

@willdanneriv - Thanks, your advice worked for me.

I'm having the same issue on that challenge, but I'm about to try it in Canary; which is the developer version of Google Chrome. If it works, I'll post another message here, and maybe we'll all just have to switch over.

I also have this on Vivaldi 1.8.770.56 (Stable channel) (64-bit) on Arch Linux - it is based on Chromium as well. Same place as @tobi10

I had this issue on Chrome but as per @paddylandau 's suggestion above, I did a hard refresh and then it worked. (CMD + SHIFT + R on Mac)

Issue again

Hi, this is a know issue. And we are trying to figure out ways to get this fixed.
Please DO NOT comment on this thread confirming the issue (as it is no longer required).
Please use the ( 👍 ) on the opening post in this thread instead.
We would like to keep this thread only for potential solutions.

Getting the issue in Chrome Version 58.0.3029.96 (64-bit).
Not getting the issue in Firefox Version 53.0.2 (32-bit).

Try not to use JavaScript.
I had same issues turned out that replacing JavaScript: void(0) with # resolved my problem.

Thank you.
On Mon, May 8, 2017 at 7:09 PM, priyasjoshi<EMAIL_ADDRESS>wrote:

Try not to use JavaScript.
I had same issues turned out that replacing JavaScript: void(0) with #
resolved my problem.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/freeCodeCamp/issues/13727#issuecomment-300032774,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT1eCNOnLJ8N0nN5JHiBNCx-e4cFc42Cks5r37zDgaJpZM4MS57P
.

Current Workaround is to use Firefox instead of Chrome.
Please bear with us while we try and fix this.

from core team conversation today:

So I believe we may have to replicate the logic from beta. Mainly, striping the solution from the uri on read, disable auto run, and add code locking

Some code used in production to strip and lock code uri (solution in uri)
https://github.com/freeCodeCamp/freeCodeCamp/blob/staging/client/sagas/code-storage-saga.js#L98
The utils used to do this:
get the code from the uri:
https://github.com/freeCodeCamp/freeCodeCamp/blob/staging/client/utils/code-uri.js#L52
remove code uri:
https://github.com/freeCodeCamp/freeCodeCamp/blob/staging/client/utils/code-uri.js#L66
Here in the epic that handles building the files before they go to the iframe is where we check whether the code will run automatically
https://github.com/freeCodeCamp/freeCodeCamp/blob/staging/client/sagas/build-challenge-epic.js#L24
Here we lock the execution button in the classic view and display an unlock button
https://github.com/freeCodeCamp/freeCodeCamp/blob/staging/common/app/routes/challenges/views/classic/Tool-Panel.jsx#L64
note: I have a major refactor in the works that will break all these links. I'll updated them in a separate comment when that PR is merged in

Thanks @BerkeleyTrue, going to take a crack at it tonight.

@raisedadead awesome - thanks for your help. Please keep us posted, and let us know if you need any backup.

Last Tuesday, @raisedadead and I looked into this issue. I'm sharing our findings here, supplemented by things I found afterwards on my own. I hope this will give some background into why we believe this is the way to fix this issue.
This issue is not reproducible on the freeCodeCamp beta, in any browser, with any code.
Using the code shared in the initial report, this issue is reproducible in Chrome 57 and Chrome 58 (current), but not in Chrome 59 (Chrome Beta) or Chrome 60 (Chrome Canary).
On this line, we enable the helmet xxsFilter plugin. It sets the X-XXS-Protection header to 1; mode=block. It has been there for two years.
Let's look at the error again:

The XSS Auditor blocked access to 'https://www.freecodecamp.com/challenges/add-a-submit-button-to-a-form#?solution=solution-here' because the source code of a script was found within the request. The auditor was enabled as the server did not send an 'X-XSS-Protection' header.

This confuses me. We have always sent this header, it's definitely there in the response, but it still says it's not there. My best guess as to why this is happening: the header is sent for the /add-a-submit-button-to-a-form page. The problem occurs on the /add-a-submit-button-to-a-form#?solution=solution-here, which it considers different, somehow. I believe this may be a bug in Chrome.
In Chrome 57, no header present was changed to default to 1; mode=block, and 1 would also be handled as 1; mode=block [source]. This is why we started noticing this issue from that version. I've not yet discovered the source for this problem no longer being present from Chrome 59. I'm not sure whether they've only fixed our specific issue, or whether they rolled back their change from version 57.
Here's a short summary of what the XSS auditor does (or at least, how I understand it): it looks at the URL and the page source code. If it finds a script (or something else that seems malicious) in the URL that it also finds in the HTML, it will block the page. [source 1] [source 2]
The proper and easiest solution should be to set the X-XXS-Protection header to 0. We tried this, however, as this header is not picked up (I don't understand why), this doesn't work. The alternative solution that has been suggested now would be to remove the code from the URL, so that the URL doesn't influence the page anymore, and the XSS auditor won't' freak out. I think it will be tricky to make this work within the production version, but I do believe it should solve the problem. I believe this is what @raisedadead is working on.

Thanks for the insight, and the excellent sum up what we debugged the other day. Yes, it's a bit tricky on the production site, I'll update asap.

Adding this "--disable-xss-auditor" to the target field of the chrome shortcut got it working for me.

It didn't work on Chrome or Firefox (54.0b12) for me. Had to resort to using IE.

This has been fixed both in beta and in the main website.
Happy coding!


Dialog thinks mouse is pressed when exiting context menu

When I open a context menu and dismiss it by clicking outside of it. The drawer thinks my mouse is pressed and is moving like when I use my mouse to drag to close it.
https://github.com/emilkowalski/vaul/assets/839848/0fb10c73-47d7-416a-84ed-83df5ab55d42

Same

Fixed in #440


Wrong number of arguments when brew cask install telegram

Hi!
I'm trying to install telegram with cask, but I get:
Error: wrong number of arguments (1 for 0) while loading '/Users/ifosch/src/github.com/mxcl/homebrew/Library/Taps/caskroom/homebrew-cask/Casks/telegram.rb'
Please report this bug:
    https://github.com/caskroom/homebrew-cask/issues
<main>:6:in `name'
<main>:6:in `<class:Telegram>'
<main>:in `<main>'
/Users/ifosch/src/github.com/mxcl/homebrew/Cellar/brew-cask/0.39.3/rubylib/cask/source/path_base.rb:55:in `eval'
/Users/ifosch/src/github.com/mxcl/homebrew/Cellar/brew-cask/0.39.3/rubylib/cask/source/path_base.rb:55:in `rescue in load'
/Users/ifosch/src/github.com/mxcl/homebrew/Cellar/brew-cask/0.39.3/rubylib/cask/source/path_base.rb:52:in `load'
/Users/ifosch/src/github.com/mxcl/homebrew/Cellar/brew-cask/0.39.3/rubylib/cask/source/tapped.rb:28:in `load'
/Users/ifosch/src/github.com/mxcl/homebrew/Cellar/brew-cask/0.39.3/rubylib/cask.rb:127:in `load'
/Users/ifosch/src/github.com/mxcl/homebrew/Cellar/brew-cask/0.39.3/rubylib/cask/cli/install.rb:19:in `block in install_casks'
/Users/ifosch/src/github.com/mxcl/homebrew/Cellar/brew-cask/0.39.3/rubylib/cask/cli/install.rb:17:in `each'
/Users/ifosch/src/github.com/mxcl/homebrew/Cellar/brew-cask/0.39.3/rubylib/cask/cli/install.rb:17:in `install_casks'
/Users/ifosch/src/github.com/mxcl/homebrew/Cellar/brew-cask/0.39.3/rubylib/cask/cli/install.rb:6:in `run'
/Users/ifosch/src/github.com/mxcl/homebrew/Cellar/brew-cask/0.39.3/rubylib/cask/cli.rb:80:in `run_command'
/Users/ifosch/src/github.com/mxcl/homebrew/Cellar/brew-cask/0.39.3/rubylib/cask/cli.rb:120:in `process'
/usr/local/bin/brew-cask.rb:42:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/Users/ifosch/src/github.com/mxcl/homebrew/Library/brew.rb:58:in `require?'
/Users/ifosch/src/github.com/mxcl/homebrew/Library/brew.rb:141:in `<main>'

I'm not sure, but I think I might have something outdated. I tried with brew update and brew cask update, but it didn't helped.
Anyone had this before?
Thank you so much

You’re using an old version of homebrew-cask. Please brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup and try again.
Please always do this before opening new issues.

Ok, thank you so much, sorry, I just got redirected to the issues page directly, from the terminal link.

Yes, the message on how to upgrade was added in a later version.


PHP language support

I would like to turn on HTML, CSS, and PHP programming languages.
I would also like to enable WordPress developer job postings.
With those, I would suggest this extension to the jr dev bootcamp participants.

The PHP language is already there.
HTML  & CSS are not technically programming languages, they are mainly used to markup the page structure, styles...
With that in mind, the majority of Javascript jobs require implicitly knowing HTML & CSS, so no need to mention them.
Regarding the WordPress request, I'm not sure it applies to our roadmap, but If many people show interest, we'll definitely reconsider reviewing this decision.


HADOOP-17799

Description of PR
How was this patch tested?
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

you are expected to create a new JIRA or link to an existing issue; this isn't.
can we close this? you now know how to create Hadoop JIRAs. anything touching source code needs tests too, incidentally.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 54s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+0 :ok:
xmllint
0m  0s

xmllint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
49m  8s

trunk passed

+1 :green_heart:
shadedclient
87m  0s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 15s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
shadedclient
37m 10s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
asflicense
0m 34s

The patch does not generate ASF License warnings.

130m 29s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5986/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5986

Optional Tests
dupname asflicense shadedclient codespell detsecrets xmllint

uname
Linux ffe770af97e0 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / ab71664ca60e170e0384df8d67e65f8b37a7a976

Max. process+thread count
531 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-auth-examples U: hadoop-common-project/hadoop-auth-examples

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5986/1/console

versions
git=2.25.1 maven=3.6.3

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


Can I specify the path to the step_definitions file

Summary
Can I specify the path to the step_definitions file？
I don't want to put the step_definitions file in the step_definitions folder, I created a lib folder to put step_definitions files, can I specify a step_definitions file path for the feature file?

Please use the support forums for questions and discussions. We use GitHub issues to track bugs and contributions exclusively.


No more departments for admin users

For: https://www.pivotaltracker.com/story/show/93906180
Admin users no longer have a relationship to departments.  This required a bit of tidy up where the app still assumed they did.  Tidying up the features was a bit brute force to make them pass.  The features will benefit from a fuller review of the steps and scenarios once we've completely removed departments from the app as I'm sure there could be more to cull.

:+1:

:shipit:


Solution is correct in Google Chrome but not working in Safari

Challenge Set the Font Family of an Element has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/602.4.8 (KHTML, like Gecko) Version/10.0.3 Safari/602.4.8.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

CatPhotoApp

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

Seems to be working fine for me, on Safari -

This one and the next one continue to fail the step in recognizing the Monotype font

But then it works fine in Google Chrome.

After some messing around, I figured it out.  I have dyslexia and utilize open dyslexic extension to assist with reading in Safari but this was conflicting with the Monospace.  I dialed temporarily and it submitted normally.

Closing as not an issue anymore. Happy coding!


Bypass a site user agreement ?

Im trying to create a website agent for a classified ads site. unfortunately it has a user agreement which wont allow me to scrap data. it looks like this:

--
  | `
  | <button class="btn" id="ageagree">
  | I Agree
  | </button>

How do i bypass this ? are there any examples anywhere?

bump

You need to use headless browser
https://github.com/huginn/huginn/wiki/Browser-Emulation-Using-PhantomJS-Cloud


Update s3-utils to 0.1.193 in scala-steward-dependencies

About this PR
📦 Updates uk.gov.nationalarchives:s3-utils from 0.1.190 to 0.1.193
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "uk.gov.nationalarchives", artifactId = "s3-utils" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "uk.gov.nationalarchives", artifactId = "s3-utils" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #117.


Mazumder - Update argosdb_dsbrowser repo based on API changes

@rykahsay FYI
This repo hasn't updated in a year:
argosdb_dsbrowser

complete