[Marker.io] buttons are present in header area and are not configured

Steps to reproduce:

notice the header area buttons and cmpare with figma
click on these

Actual result: figma does not show these buttons. these buttons are not configured on actual page
Expected result:
if these buttons should be there, then please configure else please remove(according to figma)

Reported by: vinod<EMAIL_ADDRESS>- Contact via Marker.io
Source URL: https://wf-b.stg.prezzee.com/en-us/sustainability
Issue details: Open in Marker.io
Device typedesktopBrowserChrome <IP_ADDRESS>Screen Size1366 x 768OSWindows 10 (10.0.0)Viewport Size1366 x 641Pixel Ratio@1x

🤖 Marker.io bot - This issue was marked as ✅ Resolved in Marker.io


Tokenizer.doc_from_ngrams is not working

Calling tokenizer.doc_from_ngrams produces an error indicating that it does  not recognize the language model, even for models it should recognize.
I am not 100% certain on what exactly the problem is, but I seem to have come up with a fix for it. I added disable: List[str] = [] and exclude: List[str] = [] as arguments and changed line 223 of tokenizer.__init__.py from nlp = _load_model(model) to nlp = _load_model(model, disable=disable, exclude=exclude)

This bug is only fixed for the splitn() method. Right now, the other methods are trying to call the same overlap function, but a different algorithm is probably required to handle cases such as a fixed number of segments. This needs further investigation.

My comment above appears to have been for the wrong issue (something related to Cutter). Since Cutter has been refactored in 127d810cdb1107ed25dcfb809dd7edf7b343cc1a, I think this issue can be closed.


CA installation in Windows git-bash (curl there, etc)

It would be wonderful if in addition to all the wonderful places the CA is already installed it could be installed in the git-bash ecosystem (for curl in windows git bash).
Thanks for mkcert! it's is an amazing breakthrough. I'm integrating it into ddev a local web development environment which runs on most platforms. And it's now able to trust local certs for the very first time. Thanks!

Can you provide some more info on that ecosystem? I don't use Windows, so I wouldn't know where to start to find its root store.

Thanks, I haven't found a solution yet, but poking around on the web:

The old solution (may still work) seems to be to add to git-for-windows' store: https://blogs.msdn.microsoft.com/phkelley/2014/01/20/adding-a-corporate-or-self-signed-certificate-authority-to-git-exes-store/
git itself apparently has a way to switch to using the global CA store by git config --global http.sslBackend schannel... but that seems to be specific to git (as expected, since it uses git config)

I haven't tried the first with the curl that ships in the git-for-windows world; maybe it would work. The second (git config) approach definitely didn't work for me.

It looks to me like
$ cat $(mkcert -CAROOT)/rootCA.pem >> /mingw64/ssl/certs/ca-bundle.crt

does the job from within git-bash context.
Outside git-bash context, I believe the directory is typically C:\Program Files\Git\mingw64\ssl\certs

In Most corporate settings it is best to set it to use Windows Trusted CA Store, since that will be managed by your IT (like if they inspect outbound HTTPS traffic) using
git config --global http.sslBackend schannel
as suggested by @rfay

Typically, windows has no certificates dir, but stores in win registory.
If you want to import into the registory with using cli, It seems that certutil command can be used.
certutil.exe -addstore root c:\capublickey.cer

See: https://superuser.com/questions/1506440/import-certificates-using-command-line-on-windows

@rfay From where did you acquire mkcert? It does not seem to be in my default git bash install.

@jkugler - download the windows binary from the releases page, https://github.com/FiloSottile/mkcert/releases

In Most corporate settings it is best to set it to use Windows Trusted CA Store, since that will be managed by your IT (like if they inspect outbound HTTPS traffic) using
git config --global http.sslBackend schannel
as suggested by @rfay

but how to make that config for the entire git-bash? For example, I cannot perform any curls to https endpoints in my bash... (and all of my package managers suffer from the same issue... it's a pain to add the certificates for each of them, as they expire...)
Any ideas how to do that?


refactor: use Array.prototype.at() to look at the end

The size of the bundle is reduced by one ant teardrop.
The author should do the following, if applicable

[ ] Add tests
[x] Run tests
[x] bun run format:fix && bun run lint:fix to format the code
[ ] Add TSDoc/JSDoc to document the code

@ryuapp
Thanks! Merging.


Tournaments: randomize seeds in elimination

Generate the bracket when the tournament starts rather than during
signups to randomize seeds

yes yes yes. no more annoying enter/leave nonsense.


Config option to select which job framework integrations should be enabled

What type of PR is this?
/kind cleanup
/kind feature
What this PR does / why we need it:
Currently all framework integrations are enabled, causing error logs on startup if the corresponding CRDs are not there. This PR adds a config option to select which integrations should be enabled and defaults it to k8s job only.
Which issue(s) this PR fixes:
Fixes #665
Special notes for your reviewer:

/assign @alculquicondor
cc @mimowo

/lgtm
/approve

/retest

/retest

Please make sure there is an open issue for a flaky test before retesting


Play/Pause button doesn't work

Seems like the new JS merged in #3 broke it - the version before that works.

You're right. Working on it...

Awesome!


Test with a custom image

Could you please tell how can I test a custom .png file with this model?

paddle is not designed to analyze a single image, but rather a whole dataset of them. Therefore, you need to structure your input images in a dataset, so that paddle can work with them. The structure is as follows:
        root/
            subset/
                image_a.png
                image_b.png
                image_c.png
                ...
                classname1/
                    scores_a....csv
                    mask_a....png
                    mask_a....png
                    mask_a....png
                    ...
                    scores_b....csv
                    mask_b....png
                    mask_b....png
                    ...
                classname2/
                    scores_a....csv
                    mask_a....png
                    mask_a....png
                    mask_a....png
                    ...
                    scores_b....csv
                    mask_b....png
                    mask_b....png
                    ...
            subset2/
                ...
            ...

Starting at the root, you have multiple subsets (for the MPAC data set this would be test_s01, test_s02, etc.) In each subset you have the input images (starting with the prefix image_) and one folder for each class of the dataset (e.g. particle for the MPAC data set), which holds annotations in the form of binary masks. They can be empty for test data, where you don't have annotations. scores*.csv files are generally optional.
When you structured your data accordingly, you can process it using the three demos. Hope that helps.

Closing, since the problem seems to be resolved.


„dotnet-sdk-3.1.100-osx-x64.pkg“ kann nicht geöffnet werden, da Apple darin nicht nach Schadsoftware suchen kann.

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: macos
Provide details about the problem you are experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Translation:

cannot be opened because Apple cannot search for malware in it

Dupe of: https://github.com/dotnet/core/issues/3943


Update README.md

Fixed some important grammatical error ,change the url  Before
[https:///michaelfeil.github.io/infinity]
After
[https://michaelfeil.github.io/infinity/latest/]

Bot pr?

This is not bot Pull request.

Can u merge it i think i have made valuable contribution.

@LetsssGo55 You created github profile 4 weeks ago, and only add readme.
The contribution is incorrect, the link wrong.
I can't think of any other use case than gaming the GitHub permission system to be marked as "contributor" to "steal" e.g. secrets from the project settings.


Various fixes for issues (mostly typos) noted while proofreading

@gunnarmorling feel free to pick whatever fits you.

@gsmet it's looking good, only there's a swap file added accidentally. Could you remove this one and then merge? Thanks!

Merged.


Legion Spy: Assertion error from legion spy

I'm getting the following error from legion_spy.py when I run legion_spy.py -lp legate_0.log. The log file is here:
legate_0.log.gz.  I'm trying to make sure legion spy passes on this log file. Any workarounds or suggestions would be helpful.
Performing logical analysis...
Performing logical dependence verification for legion_python_main...
Traceback (most recent call last):
  File "/Users/sjagannathan/work/cllr/apps/pyminiweather/nans/eos/./legion_spy.py", line 14650, in <module>
    main(temp_dir)
  File "/Users/sjagannathan/work/cllr/apps/pyminiweather/nans/eos/./legion_spy.py", line 14583, in main
    state.perform_logical_analysis(logical_checks)
  File "/Users/sjagannathan/work/cllr/apps/pyminiweather/nans/eos/./legion_spy.py", line 13681, in perform_logical_analysis
    task.perform_task_logical_verification()
  File "/Users/sjagannathan/work/cllr/apps/pyminiweather/nans/eos/./legion_spy.py", line 9092, in perform_task_logical_verification
    if not op.perform_op_logical_verification(op, previous_deps):
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/sjagannathan/work/cllr/apps/pyminiweather/nans/eos/./legion_spy.py", line 7368, in perform_op_logical_verification
    assert logical_op.context is not None
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError

Did this program exit cleanly?

I don't have the session on EOS to check the exit status, but I'd guess that the program exited cleanly because I see the messages that are printed at the end of the simulation, and I didn't see any error messages from running this app. There are NaNs in the simulation but I don't think that would have caused it to crash.

I'm unable to reproduce the crash running with the Legion Spy in the latest master branch. It's made it through logical verification and is still working on physical verification:
mebauer@c0004:~/legion/tools/shriram$ pypy3 -m pdb ../legion_spy.py -lpa legate_0.log
> /home/mebauer/legion/tools/legion_spy.py(23)<module>()
-> from __future__ import absolute_import
(Pdb) r
Reading log file legate_0.log...
WARNING: Skipped 8 lines when reading legate_0.log
Reducing top-level index space shapes...
 |||||||||||||||||||||||||||||||||||||||||||||||||||| 100.0%
Done
Computing refinement points...
Dim 1: |||||||||||||||||||||||||||||||||||||||||||||||||||| 100.0%
Dim 2: |||||||||||||||||||||||||||||||||||||||||||||||||||| 100.0%
Dim 3: |||||||||||||||||||||||||||||||||||||||||||||||||||| 100.0%
Dim 4: |||||||||||||||||||||||||||||||||||||||||||||||||||| 100.0%
Done
Computing physical reachable...
 |||||||||||||||||||||||||||||||||||||||||||||||||||| 100.0%
Done
Performing logical analysis...
Performing logical dependence verification for legion_python_main...
Pass
Checking for cycles...
No cycles detected
Simplifying event graph...
 |||||||||||||||||||||||----------------------------| 44.5%

Note with a 97 MB Legion Spy log file, it's going to take the physical analysis a very long time to do the verification (assuming you don't run out of memory for the verification). You might want to try to reduce the number of iterations that you are running.

thanks for trying it on your end. I was using the legion_spy.py file that the docker image had.
yes, I tried a lot of combinations yesterday to reduce the problem size/gpu count, but I couldn't make it fail for smaller problem sizes.
anyway, let me take it from here.

The Legion Spy in the master branch successfully validated that log file for me.


Update EF version in migrations in templates for RTM

See discussion here: https://github.com/aspnet/templating/pull/348

Note: Need to update updateMigrations.cmd to run dotnet ef

Done via https://github.com/aspnet/templating/pull/484


character inside e-mail addresses

The e-mail standard is not really followed when using input:"email". I try to add a "+" character inside my address (standard google behavior to multiply your e-mail addresses under one account), but the regex is not supporting this. It should allow a + inside the username part.

Fixed in https://github.com/limonte/sweetalert2/pull/405
I'll make a patch release soon.

Done in v6.3.1


Dev

🧪 Test-Driven Development: Implementation of Solver Class
This pull request introduces the Solver class with three methods: factorial, reverse, and fizzbuzz. The implementation follows the Test-Driven Development (TDD) approach, ensuring that unit tests are created first and the code is subsequently implemented to pass those tests.
Implemented Features:

Method: factorial

Created a method that calculates the factorial of a given integer N.
Handles the special case where the factorial of 0 is 1.
Raises an exception for negative integers.

Method: reverse

Implemented a method that reverses a given string word.

Method: fizzbuzz

Created a method that applies the FizzBuzz logic.
Returns "fizz" when N is divisible by 3.
Returns "buzz" when N is divisible by 5.
Returns "fizzbuzz" when N is divisible by both 3 and 5.
Returns N as a string for any other case.

Test Suite:

Comprehensive test suite for each method to ensure correctness.
Utilized various test scenarios, including edge cases and typical cases.

Commit History:

Commits demonstrate the incremental development process following TDD.
Each commit is associated with a specific test case and its corresponding implementation.

Usage Instructions:

Ensure you have a Ruby environment set up.
Run the test suite to verify the correctness of the Solver class. Using bundle exec rspec command

Hi @Ochiengsteven, @egichuhis,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Git flow Not Used ⚠

Pull request is to be made from the feature branch into the develop or dev branch not into the main or master branch

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag @topeogunleye in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


Unhandled rejection HeadlessError

Unhandled rejection HeadlessError: Request() error evaluating open() call: Error: socket hang up
at ClientRequest. (/vagrant/node_modules/node-phantom-simple/node-phantom-simple.js:502:18)
at emitOne (events.js:77:13)
at ClientRequest.emit (events.js:169:7)
at Socket.socketOnEnd (_http_client.js:300:9)
at emitNone (events.js:72:20)
at Socket.emit (events.js:166:7)
at endReadableNT (_stream_readable.js:905:12)
at nextTickCallbackWith2Args (node.js:478:9)
at process._tickCallback (node.js:392:17)

Hm, found the issue. In some cases I killed phantomjs instance before actions were finished.


There are no d.ts and map files in "dist"

Subj. I think you have to move from browserify and use same scripts we have in https://github.com/pixijs/pixi-spine , its not that easy, but it allows to use lib without browserify.

Replaced browserify-based build process with Rollup. Lasted in master produces typings and maps correctly.


fileGroups makes duplicate top level groups

With this project config:
name: Project
fileGroups:
  - Sources
targets:
  Project:
    type: application
    platform: iOS
    sources:
      - Sources

And this directory structure:
% tree
.
├── Sources
│   ├── Foo
│   │   ├── Foo
│   │   │   └── bar.swift
│   │   └── baz.swift
│   └── foo.swift
└── project.yml

3 directories, 4 files

You end up with duplicate top level groups named Foo:

Where the structure should actually match the files on disk.
Example project: XcodeGenTest.zip

Looks like this also happens if you set createIntermediateGroups: True

On it!

@keith I can't reproduce this, either in a test or your example project. Is this off master?

 I've run it on the exact project you attached with success...

I've also just committed a passing test to master

If you're still seeing this @keith, could you submit a failing test?

I don't think the test added here https://github.com/yonaskolb/XcodeGen/commit/2c1789f71760f62df3458318a391ed58f8774d19 actually tests the problem. In my case the sources are still correctly added with their correct source paths to the compile build phase, it's just that the groups are wrong. I'm still seeing this after a clean build on master, trying to dig in and see why it's not happening for you.

If the directories looked like they do in your screenshot that test should fail, as the nest navigates down into the groups

It looks like the project that is generated by the tests (if I write it out manually) works correctly for me as well. So I'm not sure what the difference is.

I was able to reproduce the issue! I did it by running xcodegen from within the project directory you sent me. I was running it from another directory before (an xcode build directory with --path and --project arguments pointing to your project)
So it's something to do with relative paths

Aha! Phew, I’m not crazy. Thanks!

I'm surprised no one else found that during this release preperation


Investigate potential file-handle leak

Running 2.x on macOS using default ulimit settings can quickly lead to:
run: open server: open tsdb store: fcntl: too many open files

The "fix" we've been using internally is to bump the open-file limit to a big number in our shell profiles, i.e.
ulimit -n 10000

We need to investigate why this is needed, and if it's something expected vs. a leak.

My influxdb deployment gets unresponse every few hours until I manually restart the influxd process.
I have seen influxd using more and more memory until the process gets unresponsive eventually (the webinterface no longer loads and no more data points are written via the REST API endpoint).
There was still enough memory available on the system when that happened:

Messages like the following get spammed into syslog when that happens:
influxd[535]: 2021-02-06T16:14:19.803835Z#011info#011http: Accept error: accept tcp [::]:8086: accept4: too many open files; retrying in 1s
OS: Ubuntu 20.04
ulimit -n setting (not changed): 1024
influxd version: 2.0.3

I added LimitNOFILE=8192 to my systemd configuration to raise the limit of open files from 1024 to 8192 and will check how that works.
Is there any recommendation on which value to set for ulimit -n?

@P4sca1 to help me reproduce, can you describe the scenario where you're seeing this behavior? Roughly how many clients are writing to the system, and how many buckets are they targeting? Do you have any tasks running?

@P4sca1 to help me reproduce, can you describe the scenario where you're seeing this behavior? Roughly how many clients are writing to the system, and how many buckets are they targeting? Do you have any tasks running?

There are no tasks running. There are 15 Telegraf agents running sending system metrics every 10 seconds as well as a Node.js app which writes aggregated custom metrics from 7 hosts via the official JavaScript package multiple times a minute.

Could you attach the output of querying <your-server>/debug/pprof/heap?debug=1 here?

influxdb-heap.txt

The server seems to work stable now.. No downtime after raising the open files ulimit 11 days ago.
Here are the memory usage statistics for the past 11 days.

Some of the spikes are the daily backup.

Looks like this is a long-standing problem. See #9871 and #989 (ancient!). I'll keep digging to see if I can find an old recommendation for the ulimit setting.

@danxmoran did fixing https://github.com/influxdata/influxdb/issues/21003 (adding back the ability to set shard duration) also fix this issue?

I think the underlying problem is still there. Still not sure if it's just from the engine eagerly opening all shards, or if there's a true leak somewhere


Updating TABLIST role to include missing property

In other roles that allow ARIA-MULTISELECTABLE, it was listed near the top, after ARIA-LEVEL, so I tried to maintain the same ordering here.
fixes #82

Coverage decreased (-0.03%) to 99.293% when pulling 45a19c485e93a7a1b113b841a92f53447ed7830a on eitanmk:master into 605fb4f895666cd51a7d74d37245f8ac49233ec7 on evcohen:master.


GitHub OAuth scope public_repo allows broad access

It looks like commit e646a45d3760a38bb1b8bf46ddd120bb3cd67e94 added the GitHub OAuth scope public_repo which seems to allow broad access to users' personal repos and (potentially) to repos of organizations they are members of.
The description of the public_repo scope at https://developer.github.com/v3/oauth/#scopes is "Grants read/write access to code, commit statuses, and deployment statuses for public repositories and organizations."
When I click "Authorize on GitHub" from http://prose.io I see the text below:
"This application will be able to read and write all public and private repo data. This includes the following:

Code
Issues
Pull requests
Wikis
Settings
Webhooks and services
Deploy keys"

And under "Organization access" I see "This organization allows the application to access organization data as described in the permissions above."
All this access being requested seems rather broad to me and I'm not sure if this is intentional. Prose will be able to write to settings and deploy keys? Here's a screenshot:

This is actually narrower than the repo scope which was the only option before this change, and AFAIK this is the narrowest available scope that allows Prose to read and write to repositories.

See also the comment by @arfon in reference to a related blog post I made yesterday. He talks about how scopes are limited but I still find the screenshot above terrifying. But whatever. :)


Show observations solutions in detector view

-Show observations and solutions on a per detector level
-Hide nvd3 graph for vnet verifier
-Show correlated detectors in detectors list for ASE Lens

My preference would be formatting that looks a little cleaner such as this:

(I know this is from github and not formatting that we did)
You could do something similar but I will approve so you can go ahead with this if you would like.

@stevenernst131 , I'll spend a couple mins to make that change


Lambda Versioning/Alias Fix [WIP]

Ah I see. We need to parse out the key and bucket. According to AWS docs,
permissions shouldn't be an issue. That url is a presigned and good for 10
minutes
On Thu, Jul 13, 2017 at 9:50 AM, Chris Olszewski<EMAIL_ADDRESS>wrote:

@chris-olszewski commented on this pull request.
In src/util/aws/lambda.js
https://github.com/bustle/shep/pull/278#discussion_r127221504:

validateConfig(config)

const params = {
FunctionName: config.FunctionName,
Qualifier: env

publishVersionParams.CodeSha256 = Configuration.CodeSha256
updateCodeParams.ZipFile = (await got(Code.Location, { encoding: null })).body

Is there a good way to parse a url to extract an s3 bucket and object?
Also unsure if the lambda role will have access to the s3 bucket that aws
keeps the packages in.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bustle/shep/pull/278#discussion_r127221504, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAcxaOsOvQhsj0Ucp3oXC-CD-AcWx9EBks5sNiCKgaJpZM4OWGTb
.

@southpolesteve We can only pass the bucket, key, object version. The url comes with some auth a params that I don't if we'll be able to pass along


FPS stuck on 45 FPS

I'm just recording this to see if others experience this as well. I now have a working FPS counter in 3D (I'll add it to the demo project soon) and noticed that while the FPS starts out strong at between 75 - 90 fps it suddenly drops and gets fixed at 45fps.  Rendering on the HMD however looks solid.
This makes me wonder if this is OpenVR or Oculus stepping in, possibly something like the timewarp or something. I suspect the VR SDK recognising I'm not reaching a solid 90 fps and decides to do its screen interpolation thing. i.e. we render every even frame and the SDK interpolates every odd frame. Our FPS would be 45 for this to result in 90fps on the HMD.
I don't know if this is an Oculus or OpenVR thing, it may be unique behaviour on the rift. It will be very interesting to see what others experience once I release the Sponza VR demo.

SteamVR has some pretty good graph for that which also shows when the "reprojection" interpolation is enabled. https://developer.valvesoftware.com/wiki/SteamVR/Frame_Timing

Cheers! I'm gonne see what that tells me :)

OK, that didn't make much difference but seeing I'm using a Rift and not a Vive it could be oculus being the one in control here. Anyway, this is for another day. I want to get my demo and my video up by the end of this weekend :)

So I'm continuing this here as it looks like more appropriate issue :
On Linux (can't test otherwise) I realised that using any sort of projected shadows (from spots or omnilights) would creep the FPS very badly.
this extreme drop in FPS is bizarely contravariant to the number of vertices displayed (meaning the more vrtx the more fps, the less on screen, the less image displayed ... :Z)
the same content displayed with and without shadows: 7>25 fps / 90+ fps
when the framerate drop, there is also an anoying ghost effect, apparently made by "the compositor" from openvr, that apparently try to compensate for the movement but quite badly then... displaying 2 images is not enhancing the view in any case (being it compensated or not but not both)
at 90fps it's barely noticable but with some probable zones of less good framerate in any game, this effect must be looked at
with shadows (8 lamps)

without shadows (9+ lamps)


Feature/instruction field type

Some comments about pull request

@joshangell I have now fixed the namespace and used Craft include css tag to add any inline css.


Incorrect setReturnBuffers when parsing PubSub 'message' response

Since upgrading my redis server to 6.2.6 and redis client to 4.0.2 (from 4.0.1) I've been occasionally seeing the following crash:
TypeError [ERR_INVALID_ARG_TYPE]: The "otherBuffer" argument must be an instance of Buffer or Uint8Array. Received type string ('message')
I've tracked this down to parser.optionReturnBuffers being set to false when it should be true causing the 'message' string to be returned as a string rather than a Buffer.
commands-queue.ts expects this to be
a Buffer, and Buffer.equals throws the above NodeError.
This response comes in through parseResponse which calls this.#setReturnBuffers().  I haven't been able to track down why this works correctly most of the time, but occasionally winds up setting parser.optionReturnBuffers to false and blowing up.  Hopefully someone more familiar with the code can spot what's going on.
Environment:

Node.js Version: 16.8.0
Redis Server Version: 6.2.6
Node Redis Version: 4.0.2
Platform: Ubuntu 20.04.3 LTS (WSL2)

Commenting out setReturnBuffers in shiftWaitingForReply avoids the crash for now.  More details in a comment I left here: https://github.com/redis/node-redis/commit/77022209bde327d6a2d004dd07153bb6140d0ae2
I expect that will cause other problems since that change was made for a reason (which was unfortunately not described in the commit message).

@aleiby I haven't debugged it yet, but I'm working on a new RESP parser, which (hopefully) will solve this problem as well. Will keep you posted.

This issue is affecting our production as well, when should we expect a fix for this?

@aleiby @manikyafc I think that the changes in #1899 solve this problem, do you have a reproduction of the issue?

It happens fairly reliably in my codebase, but I was unable to distill it down into an easily sharable repro unfortunately.  You need to construct a scenario where parseResponse handles both a subscribe rely followed by a message reply in a single call.

Same deal for us. This is the stack trace:
 node:buffer:816
     throw new ERR_INVALID_ARG_TYPE(
     ^

 TypeError [ERR_INVALID_ARG_TYPE]: The "otherBuffer" argument must be an instance of Buffer or Uint8Array. Received type string ('message')
     at new NodeError (node:internal/errors:371:5)
     at Buffer.equals (node:buffer:816:11)
     at JavascriptRedisParser.returnReply (/usr/src/app/node_modules/@node-redis/client/dist/lib/client/commands-queue.js:42:123)
     at JavascriptRedisParser.execute (/usr/src/app/node_modules/redis-parser/lib/parser.js:544:14)
     at RedisCommandsQueue.parseResponse (/usr/src/app/node_modules/@node-redis/client/dist/lib/client/commands-queue.js:194:71)
     at RedisSocket.<anonymous> (/usr/src/app/node_modules/@node-redis/client/dist/lib/client/index.js:336:83)
     at RedisSocket.emit (node:events:390:28)
     at Socket.<anonymous> (/usr/src/app/node_modules/@node-redis/client/dist/lib/client/socket.js:189:44)
     at Socket.emit (node:events:390:28)
     at addChunk (node:internal/streams/readable:324:12) {
   code: 'ERR_INVALID_ARG_TYPE'
 }

 Node.js v17.3.0

Call site: https://github.com/purpleteam-labs/purpleteam-orchestrator/blob/96fa97c7135130cd66d2d4a1e691f3cc84e32550/src/api/orchestration/subscribers/testerWatcher.js#L39

@leibale : I tried your branch as in:
Our package.json:
...
"redis": "leibale/node-redis.git#parser",
...

and we get:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '/usr/src/app/node_modules/redis/' imported from /our/file.js
     at new NodeError (node:internal/errors:371:5)
     at legacyMainResolve (node:internal/modules/esm/resolve:312:9)
     at packageResolve (node:internal/modules/esm/resolve:857:14)
     at moduleResolve (node:internal/modules/esm/resolve:910:18)
     at defaultResolve (node:internal/modules/esm/resolve:1005:11)
     at ESMLoader.resolve (node:internal/modules/esm/loader:530:30)
     at ESMLoader.getModuleJob (node:internal/modules/esm/loader:251:18)
     at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:79:40)
     at link (node:internal/modules/esm/module_job:78:36) {
   code: 'ERR_MODULE_NOT_FOUND'
 }

 Node.js v17.3.0

@binarymist first of all, thanks for helping! :)
Regarding the error, you can't npm install directly from GitHub, cause of typescript, which needs to be compiled/transpiled... You'll have to:
git clone --single-branch --branch parser https://github.com/leibale/node-redis
cd node-redis
npm install -ws
npm run build-all

then use npm link to link your local version

Same here. Waiting the release that fixes this bug.

Thanks @leibale.
Our project that consumes the redis NPM package that is experiencing this issue is run in a container.
I've added the following to the Dockerfile:
RUN cd /usr/src/ && \
  git clone --single-branch --branch parser https://github.com/leibale/node-redis && \
  cd node-redis && \
  npm install -ws && \
  npm run build-all && \
  npm link

package.json reverted to:
...
"dependencies": {
  ...
  "redis": "^4.0.2",
  ...
}
...

Still get the ERR_MODULE_NOT_FOUND error.

@leibale: Which Pull Request is supposed to fix this, #1899 or the newer #2016 from @jhiesey?
Any further thoughts on how to test these changes in the container?
Is there an ETA on the fix? We currently have a large release blocked on this.

@binarymist I can't speak for the maintainers, but my PR is a quick fix for the immediate issue. #1899 is a rewrite of the parser and is a better long term solution but I suspect it's not quite ready.
The workaround I'm currently using is to install patch-package and add this patch file at<EMAIL_ADDRESS>diff --git<EMAIL_ADDRESS><EMAIL_ADDRESS>index 8d22295..d3e7807 100644
---<EMAIL_ADDRESS>+++<EMAIL_ADDRESS>@@ -279,7 +279,8 @@ _a = RedisCommandsQueue, _RedisCommandsQueue_maxLength = new WeakMap(), _RedisCo
 }, _RedisCommandsQueue_setReturnBuffers = function _RedisCommandsQueue_setReturnBuffers() {
     var _b, _c;
     __classPrivateFieldGet(this, _RedisCommandsQueue_parser, "f").setReturnBuffers(!!((_b = __classPrivateFieldGet(this, _RedisCommandsQueue_waitingForReply, "f").head) === null || _b === void 0 ? void 0 : _b.value.returnBuffers) ||
-        !!((_c = __classPrivateFieldGet(this, _RedisCommandsQueue_pubSubState, "f")) === null || _c === void 0 ? void 0 : _c.subscribed));
+        !!((_c = __classPrivateFieldGet(this, _RedisCommandsQueue_pubSubState, "f")) === null || _c === void 0 ? void 0 : _c.subscribed) ||
+        !!((_c = __classPrivateFieldGet(this, _RedisCommandsQueue_pubSubState, "f")) === null || _c === void 0 ? void 0 : _c.subscribing));
 }, _RedisCommandsQueue_shiftWaitingForReply = function _RedisCommandsQueue_shiftWaitingForReply() {
     if (!__classPrivateFieldGet(this, _RedisCommandsQueue_waitingForReply, "f").length) {
         throw new Error('Got an unexpected reply from Redis');

That looks helpful @jhiesey, although it seems to have introduced another issue:
TypeError: nonBlockingClients[channel].rpush is not a function
    at file:///usr/src/app/src/api/orchestration/subscribers/testerWatcher.js:72:41
    at Function._RedisCommandsQueue_emitPubSubMessage (/usr/src/app/node_modules/@node-redis/client/dist/lib/client/commands-queue.js:231:9)
    at JavascriptRedisParser.returnReply (/usr/src/app/node_modules/@node-redis/client/dist/lib/client/commands-queue.js:43:123)
    at JavascriptRedisParser.execute (/usr/src/app/node_modules/redis-parser/lib/parser.js:544:14)
    at RedisCommandsQueue.parseResponse (/usr/src/app/node_modules/@node-redis/client/dist/lib/client/commands-queue.js:194:71)
    at RedisSocket.<anonymous> (/usr/src/app/node_modules/@node-redis/client/dist/lib/client/index.js:336:83)
    at RedisSocket.emit (node:events:390:28)
    at Socket.<anonymous> (/usr/src/app/node_modules/@node-redis/client/dist/lib/client/socket.js:189:44)
    at Socket.emit (node:events:390:28)
    at addChunk (node:internal/streams/readable:324:12)

Which I'm now getting earler at: https://github.com/purpleteam-labs/purpleteam-orchestrator/blob/0f77b4a9d31844629f323891b5b9ce7f9e7ce98e/src/api/orchestration/subscribers/testerWatcher.js#L72

Ok, the next problem was casing of rpush, found the answer many pages through the issues list here.
Something is still broken though, I'm just not getting any errors now.

@binarymist change it to nonBlockingClients[channel].rPush (capital P)

@binarymist change it to nonBlockingClients[channel].rPush (capital P)

Yip, got that one thanks.

I see this issue as closed but I am getting this error for pub sub messages randomly every now and then. "The "otherBuffer" argument must be an instance of Buffer or Uint8Array."  I've read through this closed issue but it's not clear to me How to resolve this? Can someone please point it out?
Thank you!

ping

@leibale Could you please explain why the issue was closed?

Also, could anybody explain how such an exception could be caught? Currently, it's just crashing my server completely.

@digitalml @mifopen the issue is closed because the fix was merged to master. Unfortunately there hasn't been a release published that includes the fix; hopefully there will be one soon. Perhaps @leibale could comment on when.
You can use my workaround in https://github.com/redis/node-redis/issues/1870#issuecomment-1057530027 for the time being

@leibale when do you plan to release the next version with this fix?

A new version with @jhiesey fix will be released tomorrow. Sorry it took so much time.

@alexzaporozhets @NormandoHall @digitalml @jhiesey @mifopen @binarymist
version 4.0.6 is out! :) (do not try 4.0.5, I've made a mistake in the release process... :man_facepalming:)


How to use labeled data

I run with the argument --use_labeled_data 'semi', and got an error : 'AttributeError: 'DualNet' object has no attribute 'C_d_vars' .
I uncommented some code in the model.py, but still have problem running the code.
Please give me some advice. Thanks.

It's the problem of tensorflow version. The usage of tf.concat has changed, and the tf.mul no longer exists.
I am now running with labeled data.
Yet I have another question about your experiment settings. I've tried with your default setting (without labeled data) on facades datasets, and I train for 200 epochs, but the generation results are very blurry and are far away from the results in the paper. Can you give me some advice on the training params?

@daodaofr
Please try the arguments as below:
facades-batch_sz_1-img_sz_256-fltr_dim_64-L2-fcn_1-lambda_ABp_100.0_200.0_200.0-c_0.01-n_critic_3-semi_False
Here ABp_100.0_200.0_200.0-c means alpha_A=100, alpha_B=200, alpha_p has been deprecated (you could set it to any value).
Please use "nosemi". Semi-supervised learning has been deprecated. I will update the code later.


commit mapauto

 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.

These are html documents. I think there is no point to checkin such documents in github. It is better to host them on the apollo.auto website.


Export Plotly JSON

So the figure can be embedded as HTML embed easily.

Hi @thejeshgn, you can export the figure into svg and embed it easily in HTML. If it doesn't work for you, please, provide more details about what task you are trying to solve.

@lana-k  thank you for replying. You are correct I can export and embed the SVG.

I was looking as exporting as HTML and embedding HTML in a page.
Chart Studio give HTML download. But this HTML download is an HTML page with  plotly.js, a div and a JSON data file which is a representation of the plotjs chart data.
So if we if give folks the option of download the chart as JSON. They can easily build this HTML and embed this chart as HTML. There are many advantage of HTML chart like the tool bar.
In fact the Chart Studio also gives an option to download this JSON data.
So I was wondering if there is a way to export that JSON data it would great.

Let me know if you need any other details. I am happy to provide.

Seems like the how to implement this is answered here.

Here is how downloaded HTML embed file looks like
http://bl.ocks.org/thejeshgn/dd0ffa5b5791d2ee553b2a722450c78b
Here is the gist. The data is passed as variable to Plotly.plot(gd, {data: [{"meta at the bottom.
https://gist.github.com/thejeshgn/dd0ffa5b5791d2ee553b2a722450c78b

So, you want to save plotly panel in order to zoom in/zoom out etc. It's a good idea. Thank you. And it looks like it's possible to implement. I'll add this feature in one of the nearest releases.


change update and delete interceptor interfaces

Change base before merging

Coverage decreased (-0.05%) to 89.802% when pulling 763ed6a213d5d4467e4fa069c6b1deacc7c6af5c on adjust-ontx-interceptor-apis into 35851e9d50aec7e23e30133f0c7345dacfe07252 on expose-test-context-storage.


In Setup, in front matter, change approvers to reviewers.

Partially addresses #7432.

This change is

/assign @Bradamant3

/approve


[WIP] Add DataFrame.merge and DataFrame.join

Add following methods which exists in pandas.

DataFrame.merge: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.merge.html
DataFrame.join: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.join.html

Also, fixed a bug dd.merge when column name is specified like left_on='x' and right_index=True.
A = pd.DataFrame({'x': [1, 2, 3, 4, 5, 6], 'y': [1, 1, 2, 2, 3, 4]})
a = dd.repartition(A, [0, 4, 5])

B = pd.DataFrame({'y': [1, 3, 4, 4, 5, 6], 'z': [6, 5, 4, 3, 2, 1]})
b = dd.repartition(B, [0, 2, 5])

dd.merge(a, b, left_on='x', right_index=True).compute()
# stalls...

dd.merge(a, b, left_on='x', right_index=True).compute()
ToDo:
Currently, DataFrame.join using on kw doesn't work as expected. I'm digging in further.

Strangely, some tests locally passed but failed on travis... Needs more time.

Found some failures are caused by the following issue. Trying to include it in pandas 0.17.
https://github.com/pydata/pandas/pull/10826

This looks good to me.  @sinhrks is this still WIP?

@mrocklin Yes it's ready. I'll revisit commented out tests once pandas 0.17 has been released.


Add support for contracts

A contract is composed of a set of clauses.

Need some sort of data flow between the clauses
Need a function signature for the contract
Need a composition model for clauses and contracts, so they may be nested or reference each other
Contract templates should stipulate required/optional clauses (implies clauses need a type)

Contract Template

Name
Version
Description
Set of required clause templates
Set of optional clause templates

Contract

Name
Version
Description
Set of clauses
Link to contract template

A contract may:

contain definitions
be tied to a model (actors, entities)
be validated for consistency (certain clauses must exist, verify some constraints)
have a state (e.g., Pre-formation, Execution, Breach, Terminated, Renegotiation)

Clauses may:

Have different functional use wrt. contract (e.g., precondition, normal execution of the contract, default clauses) -- This may relate to the notion of clause type

Should contracts be explicitly classified on the basis of consideration? i.e: unilateral, bilateral,  multilateral.

@uwecerron Adding a classification sounds like a good idea. Would that replace/complement the list of parties, what additional information would be needed?

Addressed in https://github.com/accordproject/cicero/projects/1

I think that we're all done here except for the Contract signature. Is this something that is still necessary given the new dispatch logic @dselman / @jeromesimeon ?

@mttrbrts I think this should be closed. We can open more specific issues for the remaining parts if any?

Agreed


Editor view can be moved to infinity, making the scene permanently uneditable

Godot version
4.2 ff5c884
System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; <IP_ADDRESS>3) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)
Issue description
Using expressions, you can move a node to infinity. When you focus on the node afterwards, the 2D editor becomes unusable:
https://github.com/godotengine/godot/assets/2223172/ed4c252a-39e8-46a1-a513-340b26216210
You can't pan or center on other objects, no node is visible in the viewport. If you save the scene in this state, the edit state file saves ofs = Vector2(nan, nan), making the scene uneditable until you fix the edit state file in the .godot folder.
Steps to reproduce

Add some 2D node
Change it's position to infinity (can't be directly entered; use pow() method)
Focus on that object by pressing F

Minimal reproduction project
N/A
EDIT:
Apparently #80699 is required to use pow(). Not sure how to make inf otherwise.

It's possible to make inf otherwise, I've done it for fun and broken Godot. Try tan(PI/2)

tan(PI/2) gives<PHONE_NUMBER>0885248

Oh, true. It does break Godot though but it's probably a different bug.
log(0) tho I'm sure did an infinity


Resource Landing Page - Minor layout adjustments

I will be addressing minor layout issues found after testing the new resource landing page, specially for non-composite resource types.
Spacing:

Empty menu section:

Button css missing:

This has been addressed and released. Closing.


POC - Numba

I read that Numba and PyPy can help improve python performance. Since I also read that PyPy can't be used for numpy and others like scikitlearn, I want to try out the other option: Numba.

We will test on result processing first as it is the only thing we can measure on...
TODO:

Add a function to process result on Helper

Will do later


Validate with many image regions

Is there a limit to the size of the value string of an HTML attribute? In other words, can we pass as many regions as we want?

Validated with 35 image regions via https://webc.frameright.io, no performance issue.
Research showed that we are likely to hit the maximum size of a JPEG metadata segment (probably around 100 image regions) way before we'll hit the HTML attribute size limit anyway.


Drag into VS Code to install VSIX extension

I want to be able to drag a VSIX file into VS Code to install it.

IMHO .vsix files should just be opened via VSC, so that one could install them with a double click.
If you're requesting this because installing .vsix files is a bit of a pain you might find my Install .VSIX extension useful.

Duplicate of #31079


Mapping

Main changes:

added BOX events with its drawer to handle bounding boxes
Added BoxConverter module to transform BOX events using extrinsic camera parameters. (probably the new drawer with 6DOF calibration would do the same thing better)
Optimization of DualCamTransform module (same comment as above)
Some changes to autosaccade module to use velocity control for saccade motion in order to make sharper movements

@Iaxama - are any of these changes worthwhile anymore? Is it easier to just delete this branch and redo what we need later? is there a demo based on this branch?

@Iaxama - are any of these changes worthwhile anymore? Is it easier to just delete this branch and redo what we need later? is there a demo based on this branch?

No I think is safe to just delete this branch. There is nothing major and the features that were implemented have been replaced or have become obsolete. It would take less effort to reimplement any feature that we think useful in the future rather than trying to get anything useful out of this


fix: fix up PrefetchServiceWorker

Overview

What is it?

[ ] Feature / enhancement
[ ] Bug
[ ] Docs / tests / types / typos

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Use cases and why

One use case

Another use case

Checklist:

[ ] My code follows the developer guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

LGTM, why is this draft @gioboa ?

Because we are testing the fix in our POC
If it works, I will change the status

The SW worker is fetching the remote bundles correctly


Make exit() a builtin

Instead of env.exit() we now have exit(cap: WorldCap, exit_code: int) as a builtin function. The primary benefit is that functions are executed synchronously unlike actor methods which are async. Thus, env.exit() typically required using await async env.exit(0) whereas as a function it is called as a synchronous procedure, so exit(env.cap, 0) is enough.
Having to add await async meant users could do the wrong thing. With exit() as a function, there is no ambiguity. The user cannot do anything wrong! Also, this is shorter and more to the point. Less confusing to new usres. The only weird thing now is the capability argument...
I think we should have a new ExitCap capability, but I want to keep down the amount of clutter right now, in particular for something as important as 'exit'. Beginners will see it early and it's scary when it look all too scary. Accepting WorldCap means we can do exit(env.cap, 0) otherwise it would probably be like exit(ExitCap(env.cap), 0) and it's just extra bits complicating things. I think we should have ExitCap but as exit() is so common that it should be acceptable to use WorldCap directly. For the few programs where one actually wants to delegate a restricted ExitCap capability, that should be possible to by having an ExitCap but it would require exit() to accept a union, either an ExitCap or WorldCap. We don't have unions yet, so it will have to wait.
Fixes #1028

@nordlander I'd like you to have a look at this. We have talked about turning exit into a builtin function instead of a method on env, but it was a long time ago so want to reconfirm this is what we want.
I think it's a good move, in summary:

only behavior is the expected behavior

env.exit() can be called async (default) or forced sync (adds line noise)

less noise

we trade await async for feeding a capability as arg to exit()

but it's mandatory, so no way to mess it up

With env.exit() the naïve way of calling it (without await async) is "the wrong thing", i.e. not what the user wants / thinks env.exit does. That exit is asynchronously is probably a surprise to most users! With exit as a function, it is called synchronously, i.e. what most people would expect.
It's important to consider this now since I think exit is very common and part of the shape and feel of the language!

@nordlander and I have spoken about it, rather in-depth this time. To avoid sounding like a indecisive flip-flopping flip-flop going back and forth between ideas, let me first explain the first idea of having a synchronous exit().  I had written some program and was very surprised that after I ran env.exit() I would see output from my program after env.exit() was called. This is natural since env is an actor and so env.exit() is an actor method call and when not assigning the return value, actor method calls are done asynchronuosly. I happened to have a structure in my program that allowed some print statement to run after env.exit(). It should probably have been structured differently.
It is a reasonable idea that env.exit() would more or less exit the program immediately. However, we would like to offer some mechanism for hooking into the shutdown of a program, like installing a callback with env. If we immediately exit then such callbacks would not be called.
So if the goal indeed is to exit immediately, then converting exit to a builtin function would be the right solution with the argument laid out in this PR description & commit. However, the realization is that this probably should not be the goal. Rather, shutdown of an actor world simply looks different and it is better we educate our users about the expectation and how to structure programs accordingly... thus closing this PR without merging.


Figure out Table of Contents and Case Studies

[ ] What is the easiest way to config the case studies having multiple chapters? What do we do about intro  or other chapters that don't fit in a case study?
[ ] How do we handle navigation in chapters? This is both a question of the UI to move between chapters and within the sections of a chapter.

I recently stumbled across this and kind of like the idea of this structure. I also support adding a search bar which is a great idea!


Support --no-quarantine flag

Brew now has the --no-quarantine flag, but it seems that bundle doesn't support this.
I've found a weird behaviour where certain apps which I install with brew bundle (and possibly brew, I didn't test this yet) just don't open at launch when they are added to the login items. (For extra context if anyone is curious, I install my apps from brew as an admin user, but my day-to-day user is not admin. However, I see the issue in both the admin & standard user).
I did some tests, removing these apps & manually installing them from their respective upstream allows the app to launch correctly at login, if I then reinstall those apps using brew install --no-quarantine they also launch at login. Additionally, other apps which have this issue but which I didn't test manually installing from upstream also get fixed if I run brew install --no-quarantine --force.
To continue my effort to test if --no-quarantine is the solution and if there is some issue with home-brew, I wanted to nuke my installed brew apps, reinstall everything from my Brewfile with --no-quarantine and see if it fixed the issue (and if so, create an issue on the main brew GitHub project). But now I see that there is no brew install --no-quarantine.
I also found this issue from 2019 which also requested it.
Maybe a more general solution is for bundle to pass through all unknown flags. That would at least keep bundle compatible with future versions of brew (seemingly) without any breaking changes to bundle?

but it seems that bundle doesn't support this

Have you tried using args: specified to the Cask? That should work.

Maybe a more general solution is for bundle to pass through all unknown flags.

No, definitely not, sorry.

We don't want to support all possible options through Homebrew. I personally particularly do not want to support globally disabling a security feature like this.
Passing on this, sorry. Happy to continue to talk about args: here.

Thanks!

Have you tried using args: specified to the Cask? That should work.

No, I didn't - so this would look something like the following, correct? (I'm not sure on the casing to use for kebab-case args or if it accepts a boolean value to use for an arg which doesn't receive a value for the command)
cask "firefox", args: { noQuarantine: true }

No, I didn't - so this would look something like the following, correct? (I'm not sure on the casing to use for kebab-case args or if it accepts a boolean value to use for an arg which doesn't receive a value for the command)

I'm not sure off the top of my head, sorry. May be better asking in Homebrew/discussions or playing around in the code.

https://github.com/Homebrew/homebrew-bundle/issues/940#issuecomment-808334576
cask "firefox", args: { no_quarantine: true }

@gromgit worth putting this in the README, what do you think? I'm somewhat loathe to point out how to disable a security feature but if multiple people want it...

@lougreenwood can you list some of the affected apps?
My thought is that if there is a class of apps that must have that no_quarantine flag passed in order to operate properly, that should be defined in the formula or cask definition, which refuses to install upon install request if it needs to have no_quarantine for proper operation. Upon failing to provide it, something could tell the user where to look for more information about why the security feature must be disabled for installation.

@colindean Sure, the apps that are affected for me are the following:

Raycast
Amethyst
Kindavim
Wooshy
Scrolla
Bartender

Maybe some others too. I'm going to do some more investigations before I come to the conclusion that the problem is quarantine, but it seems that so far apps which are installed with brew bundle won't launch on startup, but if I reinstall with brew install --force --no-quarantine it will launch at startup.
My next step is to uninstall all of brew & apps, create a new user and try to replicate with a plain brew install for one of the affected apps and try to get a simple reproduction...


Create a React App to filter Hacktoberfest issues on the basis of languages and labels

npm i hacktoberfest-issue-hunt

As hacktoberfest-issue-hunt is available as an NPM module, can we make a demo React App with an option to filter hacktoberfest issues based on languages like js, python, go and labels like first timers only, beginner friendly, good first issues.

Refer react-bootstrap
Check hacktoberfest-issue-hunt on NPM

You can Create React App to set up the React app by running one command.
npx create-react-app hacktoberfest-issue-hunt
cd hacktoberfest-issue-hunt
npm start

Hi @vinitshahdeo, I want to work on it. I would like to create a react app

@lbaweja1999 can you please reduce the width of the column and use some styling for table? Also, showing direct links doesn't look good, maybe we can get rid of that.

Sure @vinitshahdeo. Will update you.

Hello @Ctoic you can join our discord channel where you find helpful community peers
https://discord.gg/qqajmBH6

thanks @vinitshahdeo for adding my app 😀. Now I am working to improve it.

Hey @vinitshahdeo!
I would love to contribute to and build this React application, how could I proceed?

Hello
I hope this message finds you well! I’m a newcomer to open source and am eager to participate in Hacktoberfest 2024. This will be my first contribution, and I would greatly appreciate your guidance.
I’m considering building a React app that displays GitHub issues and allows users to filter them by label and language. Would you recommend this approach, or do you have any suggestions on how I can best contribute to the project?
Thank you for your help!


Consistently dispatch events, if needed, when setting AppOptions

Currently we'll only dispatch events, for the options that support it, when updating preferences. Since this could potentially lead to inconsistent behaviour, let's avoid any future surprises by always dispatching events regardless of how the relevant option is being changed.
Obviously we should then also dispatch events in AppOptions.set, and to avoid adding even more duplicated code this method is changed into a wrapper for AppOptions.setAll.
While this is technically a tiny bit less efficient I don't think it matters in practice, since outside of development- and debug-mode AppOptions.set is barely used.

/botio-linux preview

/botio integrationtest

/botio integrationtest


Remove version: Jackett.Jackett version 0.20.2495

404 - release deleted
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Jackett/Jackett/releases/download/v0.20.2495/Jackett.Installer.Windows.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 918)


Release 1.2.2

Changelogs and version bump for a ROS / PyPI release for all the recent changes

@poggenhans I once again require your approval :sweat_smile:


Test Issue created at Thu, 03 Jun 2021 11:20:40 GMT

Test issue body  Thu, 03 Jun 2021 11:20:40 GMT

Comment on issue at Thu, 03 Jun 2021 11:20:42 GMT


Changing the user creation process. Implemented header parsing in the…

… response from KeyCloak and getting the user ID

Hi @crowar.
There is an existing method, CreateAndRetrieveUserIdAsync(), that already does what you are trying to achieve, except it returns the userId directly to the caller. Is there a reason that this existing method does not work for you?
My main concern with your proposed change is that modifying the userId on the user object that was passed into the method is not very discoverable, i.e. people are unlikely to know that they need to check there for the userId.
Campbell

По какой то причине не увидел данный метод.
Спасибо за комментарий


When viewing file fullsize on data edit page, clicking the back button goes to project

Instead of going back to the page you were just on, you end up back at the project.

No longer relevant.


Fanbox downloader immediately closes upon startup

This is as far as it goes before the command prompt suddenly closes. Any idea why?

Forgot it, Just Copy and paste in the Command prompt

You need to run it using cmd. This is what I did:

Create a folder named "fanbox-dl" in C Drive.
Place the fanbox-dl_x.x.x_Windows_x86_64.exe file in the folder and rename it to fanbox-dl.exe.
Open cmd and change the directory to the "fanbox-dl" folder (cd C:\fanbox-dl).
Then run the fanbox-dl.exe file by typing fanbox-dl in cmd.
The rest you can follow the command under usage at the GitHub code tab.

You need to run it using cmd. This is what I did:

Create a folder named "fanbox-dl" in C Drive.
Place the fanbox-dl_x.x.x_Windows_x86_64.exe file in the folder and rename it to fanbox-dl.exe.
Open cmd and change the directory to the "fanbox-dl" folder (cd C:\fanbox-dl).
Then run the fanbox-dl.exe file by typing fanbox-dl in cmd.
The rest you can follow the command under usage at the GitHub code tab.


Oracle query for slash window progress

Summary
Problem Definition
The oracle module doesn't currently have any queries which show how far into a slash window we are. Validators could derive this by checking the oracle params, current block height, and doing some math, but it might be helpful to bake it into our queries.
Add a query which responds with the current voting period in the current slash window, so that validators can compare their miss counters.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Maybe we could also add a query to return a validator's percentage of missed votes in the current slash window? Although that would be relatively easy for frontend to do, just validator's miss counter / slash window progress


[mini.statusline] Inactive status function evaluated in wrong context

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md
[X] I have updated 'mini.nvim' to latest version

Module(s)
mini.statusline
Description
[disclaimer: neovim/lua novice] The function provided to mini.statusline inactive configuration option is not evaluated in the context of the window that the status line belongs to. As a result, any wildcard expansions performed in the user-supplied function, such as vim.fn.expand("%:p"), reference the context of the current window and buffer—not the inactive window and buffer.
This occurs because of line 517 in mini.statusline:
https://github.com/echasnovski/mini.nvim/blob/efa0eb3dc97398e0510372f61bcf625127ab7a24/lua/mini/statusline.lua#L516-L517
I was able to resolve the issue by making a small change to line 517:
      or '%{%v:lua.MiniStatusline.inactive()%}'

Based on the documentation for statusline, the  %! expression is evaluated in the context of the current window and buffer, which is fine when rendering the active status line. But the inactive status line should be evaluated in the context of the window and buffer to which the status line belongs, which requires the %{%...%} expression.
Neovim version
NVIM v0.9.5, Build type: Release, LuaJIT 2.1.1703358377
Steps to reproduce
Contents of `minimal.lua`

-- Clone 'mini.nvim' manually in a way that it gets managed by 'mini.deps'
local path_package = vim.fn.stdpath("data") .. "/site/"
local mini_path = path_package .. "pack/deps/start/mini.nvim"
if not vim.loop.fs_stat(mini_path) then
  vim.cmd('echo "Installing `mini.nvim`" | redraw')
  local clone_cmd = {
    "git",
    "clone",
    "--filter=blob:none",
    "https://github.com/echasnovski/mini.nvim",
    mini_path,
  }
  vim.fn.system(clone_cmd)
  vim.cmd("packadd mini.nvim | helptags ALL")
  vim.cmd('echo "Installed `mini.nvim`" | redraw')
end

-- Set up 'mini.deps' (customize to your liking)
require("mini.deps").setup({ path = { package = path_package } })

local pretty_path = function(args)
  return "[" .. args.pretty .. "]" .. vim.fn.expand("%:p")
end

MiniDeps.now(function()
  local MiniStatusline = require("mini.statusline")
  MiniStatusline.setup({
    content = {
      inactive = function()
        return MiniStatusline.combine_groups({
          { hl = "MiniStatuslineFilename", strings = { pretty_path({ pretty = "INACTIVE" }) } },
        })
      end,
      active = function()
        return MiniStatusline.combine_groups({
          { hl = "MiniStatuslineFilename", strings = { pretty_path({ pretty = "ACTIVE" }) } },
        })
      end,
    },
  })
end)

echo "This is file ONE" > one.txt
echo "This is file TWO" > two.txt
nvim -nu minimal.lua
:e one.txt
<c-w> s
:e two.txt, the inactive status line incorrectly shows "two.txt"—instead of "one.txt".

Expected behavior
The inactive status line should show "one.txt". Not sure how to point my minimal.lua to my patched version of mini.statusline or I would have provided a screenshot here too.
Actual behavior
The inactive status line (bottom) shows "two.txt"—even though the buffer is for "one.txt":

The example above is trivial, but my version of pretty_path shortens long directory paths and provides separate highlight groups for directory and filename. In order to do so in the inactive status line, I need the expansion for %:p for the inactive window versus the current buffer and window.

Thanks for the issue!
Yes, your analysis looks correct and I agree that this is not ideal. I'll see if %{%...%} has unwanted side effects.
This was not issue previously because sections are usually only used for active window. I don't particularly think that this is a bug per se because it can be overcome with delaying expanding by returning string from pretty_path() (or its complicated alternative):
local pretty_path = function(args) return '[' .. args.pretty .. ']' .. '%{%expand("%:p")%}' end

Thanks for the workaround. It's certainly ugly ...
    content = {
      inactive = function()
        return MiniStatusline.combine_groups({
          { hl = "MiniStatuslineFilename", strings = { [[%{%luaeval("pretty_path({ pretty = 'INACTIVE' })")%}]] } },
        })
      end,
    },

... but it does work.
For context, I truncate pathnames from "/a/really/long/pathname" to "/a/.../long/pathname" based on trunc_width. So, for consistency with the active status line, I want my inactive status line display paths the same way. This is my I supply my own function for the inactive status line. I was perplexed, however, as to why it wasn't working. After googling a bit, I discovered a reddit thread the pointed me to the fact that %! uses the wrong context in this context.

Thanks!


[light to dark theme]: algorithm research

When light theme transforms into dark theme 950 color turns into 0 (always #ffffff).
This presents a problem, because then basically there is no 950 color in dark theme.

After some research I came up with a possible solution:

You can also see it here:
https://www.figma.com/file/QG5hvuw5qsfS0XYMVJ6V3L/Vivid-UI-Kit---Exploration?node-id=3965%3A50437
@yinonov
What do you think?
How problematic is it from development point of view?

semantic color tokens are the layer where you define those references. if the change requires a modification outside the tokens layer and have development conditionally refer tokens base on the theming context, it's a problem.
does this affect the palette? or just semantics tokens?

The semantic tokens remain the same.
The thing that changes is "switching mechanism" between light/dark theme.
If we add "1000 neutral" token to the algorithm then 500 token stays the same while switching themes,
white switches to black,
and other colors switch as shown.
The only issue it presents us with is that white on black/Black on white is too much contrast,
and can make users eyes feel uncomfortable.
So take a look at the images I added, these are possible solutions that I thought can be considered for this situation.
And by this method we will also have a 950 in dark theme without any problems.

After a conversation with @yinonov  was decided to map the color tokens usage as shown in the add image,
in order to have a better picture how to progress with this issue,

The only manual work and switching should be handled in the semantic token scope (circled)


chore: make debug logging configurable

Instead of writing debug messages about encountered errors during
PE parsing to Stdout or the default log, write them to a dedicated
debug logger which can be adjusted by library users.

Hello @secDre4mer
I agree, we need to have such flexibility.
I think to avoid having the global variable, we need to pass that logger as an option to New(). It should be an interface that implement the necessery methods, something similar to this.
// Logger is a logger that supports log levels, context and structured logging.
type Logger interface {
	// With returns a logger based off the root logger and decorates it with
	// the given context and arguments.
	With(ctx context.Context, args ...interface{}) Logger

	// Debug uses fmt.Sprint to construct and log a message at DEBUG level
	Debug(args ...interface{})
	// Info uses fmt.Sprint to construct and log a message at INFO level
	Info(args ...interface{})
	// Error uses fmt.Sprint to construct and log a message at ERROR level
	Error(args ...interface{})

	// Debugf uses fmt.Sprintf to construct and log a message at DEBUG level
	Debugf(format string, args ...interface{})
	// Infof uses fmt.Sprintf to construct and log a message at INFO level
	Infof(format string, args ...interface{})
	// Errorf uses fmt.Sprintf to construct and log a message at ERROR level
	Errorf(format string, args ...interface{})
}

Though I am not sure which methods to have in there, let me think about it. I will get soon back to you.

Hi @LordNoteworthy
I agree that a logger that is passed sounds better. The interface you describe sounds a little like logrus.FieldLogger, compatibility with that might be nice.
I'm looking forward to seeing what you come up with!

Will close this since, as discussed, a different design will be implemented.

#20


input[type=radio] with object behind ng-model

Request Type: bug
How to reproduce: Use object for ng-model for input[radio]
Component(s): misc core
Impact: medium
Complexity: small
This issue is related to:
Detailed Description:
Other Comments:
If you use object as models with radio, then the $render method won't be ever called, because of {} == {} is always false. So we should use angular.equals instead of ==.

This will be fixed on the ngModel level, see https://github.com/angular/angular.js/pull/12783


Best way to handle a crash?

Is there any recommended framework to use on top of this to restart the bot on a crash?
How would one typically handle a network exception such as connection reset? Is there a way to invoke the bot library to restart polling or does it have to be handled on the server level to restart the Ruby script?
Not really an issue per say just looking for best practice to keep the bot highly available automatically

You should catch the exception with a begin/rescue block and decide how to handle it depending on your necessity.
If you are new to exceptions handling this article might be helpful (just one out of many if you want to google it).

Yup that is how I am doing it now, just curious on how others maintain a production level bot using the ruby library.

I think that handling exceptions in ruby is the right way to restart the bot (or just avoid the crash) after an expected error.
If you are interested in other cases like restoring after an external error (at the OS level) or an unexpected reboot, I think you should go with initscripts or systemd services (assuming you are using linux or similar to host the bot).

Hi @pparamalingam, can you close the issue?

@ivanovaleksey Done


Unable to run app

Hi,
I am unable to launch the app. The following error has been logged
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'node' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose node symlink C:\Program Files\nodejs\\node.exe
5 verbose run-script [ 'prenode', 'node', 'postnode' ]
6 info prenode<EMAIL_ADDRESS>7 info node<EMAIL_ADDRESS>8 verbose unsafe-perm in lifecycle true
9 info<EMAIL_ADDRESS>Failed to exec node script
10 verbose stack Error<EMAIL_ADDRESS>node: `opener http://localhost:8000 && node app.js`
10 verbose stack Exit status 1
10 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:213:16)
10 verbose stack     at EventEmitter.emit (events.js:110:17)
10 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:14:12)
10 verbose stack     at ChildProcess.emit (events.js:110:17)
10 verbose stack     at maybeClose (child_process.js:1008:16)
10 verbose stack     at Process.ChildProcess._handle.onexit (child_process.js:1080:5)
11 verbose pkgid<EMAIL_ADDRESS>12 verbose cwd C:\Console2\m\jsblocks-shopping-example
13 error Windows_NT 6.1.7601
14 error argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "node"
15 error node v0.12.0
16 error npm  v2.5.1
17 error code ELIFECYCLE
18 error<EMAIL_ADDRESS>node: `opener http://localhost:8000 && node app.js`
18 error Exit status 1
19 error Failed at the<EMAIL_ADDRESS>node script 'opener http://localhost:8000 && node app.js'.
19 error This is most likely a problem with the jsblocks-shopping-example package,
19 error not with npm itself.
19 error Tell the author that this fails on your system:
19 error     opener http://localhost:8000 && node app.js
19 error You can get their info via:
19 error     npm owner ls jsblocks-shopping-example
19 error There is likely additional logging output above.
20 verbose exit [ 1, true ]

It looks like that Windows permission caused that issue. I run it with node app.js and enabled node to access private network, it worked later on.

Happy to hear that. Closing this one.


Global scale size % for all slides

I have a document of around 50 slides, and I just noticed that with some browsers, the text does not fit in the window/browser viewport, and the bottom text of a few slides are truncated.

I have already tried to manually add things like .remark-slide-content { font-size: 16px; }, but it does not apply to h1, h2, h3, etc.

I have already looked at https://github.com/gnab/remark/issues/104, but I haven't found an easy way to do this, without having to manually add many CSS rules.

Is there a simple way to set a scale % for all the document?
Example: I would like to set all slides at 85% (i.e. everything would be resized to 85% of the normal size, so that it would fit in the browser viewport).
Thanks in advance if you have an idea

try
html {
font-size: 16px;
}

@Katharsas Not really, it doesn't rescale everything in the document, as we could expect


Update packages to mitigate security issues

Update to jsdom major version which bumps node minimum version to v16 and drops browserify dependency. Multiple other minor package updates which resolve the security issue of npm-word-wrap.

Updated all deps on master!


Add django to the project

Initial integration step: Have django serve the html and css with UI calls still going directly to rook.
There will be a fair amount of code/path re-working here, including:

Adding a top-level "assets" directory  to this repository for the js/css/images.

These can be served via django's static files: https://docs.djangoproject.com/en/2.0/howto/static-files/
- (At a later stage, if a .js framework is used, this folder can we used by webpack)
Several libraries will need to be added here, including the css/js/images under the UI directory.  Examples:

UI/code/libraries/
UI/controls/
UI/css/
UI/images/
UI/lib/
.css, .js, files
etc., etc.

Adding a top-level "templates" directory to this repository for the html files.  These files can be served via django views.

Paths in these templates will need to be reworked to access the "static files" in the previous step. Again, as a reference: https://docs.djangoproject.com/en/2.0/howto/static-files/

Add django 2.0.x
Python 3.6.x
pip: use a requirements folder similar to the one in https://github.com/TwoRavens/TwoRavens/tree/develop/requirements

e.g. add a base.txt, dev.txt

js files loading HTML files

It's notable that the UI/code/interface.js loads html files such as "psiOpenInteractive.html"
$('#myModal').find('.modal-body').load("psiOpenInteractive.html");

Ideally, the url/path to the "psiOpenInteractive.html" would not be hardcoded in a static file, instead django's url functions would be used

There are a few ways to handle this:

serve interface.js as a template
or within a template, set a .js variable with the path to the needed file.

 // variable in a django served template
 URL_TO_PSI_OPEN_INTERACTIVE = "{% url 'view_psi_open_interactive' %}";

 // `interface.js`
$('#myModal').find('.modal-body').load(URL_TO_PSI_OPEN_INTERACTIVE);

or within a template, set a .js variable to a single view that can serve many html pages.

 // variable in a django served template
 URL_BASE_FOR_HTML_FILE = "{% url 'view_html_page_piece' %}";

 // `interface.js`
$('#myModal').find('.modal-body').load(URL_BASE_FOR_HTML_FILE + "psiOpenInteractive.html");


[readme file]

Description
In the readme file when the user is going for option 1 after point 4 Raise a pull request we can add the steps for creating issue
Screenshots
No response
Additional information
No response

Can you clarify a little bit more?

Closing due to the facts that no further information was provided. Feel free to reopen at any time.


Is valueChanges being incorrectly overwritten here?

https://github.com/ngx-formly/ngx-formly/blob/5f099fddea6426b46a453866adf0fede5be0bcd7/src/core/src/lib/components/formly.field.ts#L350
Seems like the idea is to add operators to the existing valueChanges variable. But in the above referenced line, we are overwriting the value for valueChanges out of nowhere.

I think we should fix it, could you please send a PR ?


Use links to issues in changelog for 1.24.x and beyond

Thanks for the contribution, however we already provide links to the PRs in the release notes: https://github.com/input-output-hk/cardano-node/releases/tag/1.25.1


Model code

Hi @KMnP when will you be open sourcing the code to build the model? Many enthusiasts are waiting for the release. Thank you

Hi @KMnP. It will be great if you provide the code for the architecture so beginners can work on this. Thanks

Hi @KMnP by when can we expect the new model and checkpoints? Thank you

Hi @chaurasiat , we are waiting for final reviews of the code to be checked-in. Now we have a landing page and model ckpts / configs released at https://github.com/tensorflow/tpu/tree/master/models/official/detection/projects/fashionpedia . Other code including data conversion, model training and inference will be released soon in the next few days.

The code for training is available at  above link .


Change admin dashboard page hard code, and sample text

Change home page hard code, and sample text

Done !


Add support of pulsar-kafka-adapter for kafka-0.9 api

About #4791
Motivation
Currently the Pulsar Kafka wrapper is using Kafka 0.10.x version. However, there are users who use legacy-kafka version in their system and willing to move to pulsar. This PR provides pulsar-kafka adapter for kafka-api-version 0.9.X. So, this adapter can help users in their migration process from kafka-0.9 to pulsar.

// org.apache.pulsar.functions.worker.PulsarFunctionStateTest (#4887)
run java8 tests

run integration tests


Problem with Laravel

Hello there
I tried to implement php-phantomjs to my Vagrant Laravel 4.2 application.
First I got the common error PhantomJs file does not exist or is not executable: bin/phantomjs. So I added a custom path to an executable and fresh version of phantomJS with $client->setPhantomJs('/path/to/bin/phantomjs');.
However, when I execute one of your examples, nothing happens and when I echo out $response->getStatus I get the value 0.
Am I doing something completely wrong or how can I use the given phantomjs bin, which is delivered in your package (installed with composer)?
Thanks for any help.

Anyone heard of anyone who has successfully got it to work on any laravel version and lived to talk about it ?

I'm successfully running PhantomJs in an app of mine. I think my main issue back then was, that I didn't recognize that I should should have passed an absolute path to the config.
You can finde my implementation here.

@stefanzweifel  I have an absolute path to my phantomjs,
$client->getEngine()->setPath( base_path() . '/vendor/bin/phantomjs');
^ which coresponds to /var/www/html/app.name/vendor/bin/phantomjs  , which in my scenario is correct. I have  "bin-dir": "vendor/bin" in my composer.json .
With all this done I am, still having major issues. Currently stuck on infinite loading, when trying to get the site contents(one exception is with one primitive simple and small SPA that I own) that I am able to dump the contents, but even then the response code for that SPA is 0 .
my environment --> php 7.1 , Laravel 5.5 , ubuntu 16.04
@jonnnnyw The trouble shooting page is 404. I think you should reopen this issue, or I can submit a new one.

UPDATE
Ok so after more testing the problem appears to be that some websites are being rendered and some are not.
for e.g. can anyone confirm that they can render the website https://consulte.in with phantomjs ?

@neorganic Works for me in my implementation. You could test it here.

@stefanzweifel Great, but why is your implementation seems to not be able to process(take screenshots) of js-only websites? Like https://taxibambino.com  . This is very essential for me - one of the reasons I am doing R&D with phantomjs .

My server is in Frankfurt, Germany. Opening and downloading your site from Switzerland takes around ~4-5 seconds.
Maybe you have to look into the delay option?
I would also suggest checking out Google Chrome Headless. There's a great package you can use with Laravel: https://github.com/spatie/browsershot
(Chrome Headless is much more reliable than PhantomJs)


Travis CI is no longer supported

Travis CI has changed how open source projects are supported, and Hyperledger can no longer build there. I suggest Azure Pipelines or GitHub Actions as a replacement.

Please see #1017 - we can no longer do builds.

closing as now publishing on npm and docker using azure build pipelines

closing as now publishing on npm and docker using azure build pipelines


testing part deux

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
Please review http://spark.apache.org/contributing.html before opening a pull request.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ubuntuSparkPRB/17/
Test PASSed.

test this please

test this please

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ubuntuSparkPRB/19/
Test FAILed.


Testnet connection issue

Summary of Bug
Not able to connect with provenance Testnet
Version
V1.1.1
Steps to Reproduce
I 'm trying to connect with Provenance Grpc kotlin client as below but it's not working .
val pbClient = PbClient(
chainId = "pio-testnet-1",
channelUri = URI("http://<IP_ADDRESS>:9090"),
gasEstimationMethod = GasEstimationMethod.MSG_FEE_CALCULATION // GasEstimationMethod.COSMOS_SIMULATION used only if pbc version is 1.7 or lower
)

@LhtBhavishaVidja Have you found the available URL here?

Please use grpcs://grpc.test.provenance.io:443. That is the public facing grpc endpoint for provenance blockchain.

@mtps thanks


Iconlaunch - Cache icons on demand

With ~40 apps this takes about 140ms of the start of iconlauncher.

Great - thanks!


Error while installing requirements.txt - how to fix this?

/Desktop/Camelishing# pip install -r requirements.txt
Could not find a version that satisfies the requirement pywin32==223 (from -r requirements.txt (line 7)) (from versions: )
No matching distribution found for pywin32==223 (from -r requirements.txt (line 7))
how do i fix this?

Python Version ?

i have 2.7 and 3.5 on kali

I use Python 3.6.0 on windows 7 and it works fine


Block/warn when disabling/deleting last/Default admin user

Version: master 7/27
Steps to reproduce:

Start rancher/rancher
Login and set admin password
Open Users and delete Default Admin

Results:
User shows Removing, after refresh you are prompted to login again.
We should warn or block deleting the default and/or last available admin user. If we decide to allow deleting the Default Admin user, we should change reset-password not to rely on the bootstrapping=admin-user label.

@superseb if i have disabling last/Default admin user in rancher2.0.8，how can i enable the admin account?Please help me .

@liao-bo are you saying you deleted the default admin user and you want to get it back?
Do you have any other users that are admins?

As discussed, fix will be to prevent users from deleting themselves and to add a cli tool to re-add admin user if it is deleted

@cjellick i have resolve the issue #15306, thank you.

Closing this issue  since ensure-default-admin is now available.


Release v11.0.1

:tada: This PR is included in version 11.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 11.0.0-limbo.1 :tada:
The release is available on:

npm package (@limbo dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[1210] Update courses table

Context
Courses table
Changes proposed in this pull request

Add dark bottom border to header row
Don't render open_for_applications, has_vacancies or content_status if the course is not running

After

 EPIC: Courses table in manage-courses-frontend

Should it say ucas status?

@defong that’s unrelated to this change and needs to be sorted separately.

How does a new course look in the table?

Chemistry (2YN5) shows as Empty in the new one and Published on C#, is this just data inconsistency or a bug?

@fofr data is different


Custom Reader Op : Undeclared Inclusions

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
Custom Code

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Linux Ubuntu 16.04

TensorFlow installed from (source or binary):
Source

TensorFlow version (use command below):
1.4.0

Python version:
2.7

Bazel version (if compiling from source):
0.6.1

CUDA/cuDNN version:
Laptop CPU

GPU model and memory:
Laptop CPU

Exact command to reproduce:
bazel build -c opt //tensorflow/core/user_ops:rest_api.so --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0"

Describe the problem
I am getting undeclared inclusions for files in the //tensorflow/core/framework directory. I am not sure why this is happening since the user_ops_op_lib in the //tensorflow/core/BUILD has ":framework" as its dependency. Is there a missing dependency that needs to be added?
Source code / logs
BUILD File In /tensorflow/core/user_ops
load("//tensorflow:tensorflow.bzl", "tf_custom_op_library")

cc_library(
        name = "rest_api_dependencies",
        srcs = glob(["rest_api.cc", "*.c", "*.cpp"]),
        hdrs = glob(["rest_api.h", "*.h", "*.hpp", "dict.c"]),
	linkopts = ["-pthread", "-lev", "-fexceptions"],
)

tf_custom_op_library(
        name = "rest_api.so",
        srcs = ["rest_api.cc"],
        deps = [":rest_api_dependencies"],
)

undeclared inclusion(s) in rule '//tensorflow/core/user_ops:rest_api_dependencies':
this rule is missing dependency declarations for the following files included by 'tensorflow/core/user_ops/rest_api.cc':
'bazel-out/local-opt/genfiles/tensorflow/core/framework/op_def.pb.h'
'bazel-out/local-opt/genfiles/tensorflow/core/framework/attr_value.pb.h'
'bazel-out/local-opt/genfiles/tensorflow/core/framework/tensor.pb.h'
'bazel-out/local-opt/genfiles/tensorflow/core/framework/resource_handle.pb.h'
'bazel-out/local-opt/genfiles/tensorflow/core/framework/tensor_shape.pb.h'
'bazel-out/local-opt/genfiles/tensorflow/core/framework/types.pb.h'
'bazel-out/local-opt/genfiles/tensorflow/core/lib/core/error_codes.pb.h'
'bazel-out/local-opt/genfiles/tensorflow/core/framework/step_stats.pb.h'
'bazel-out/local-opt/genfiles/tensorflow/core/framework/allocation_description.pb.h'
'bazel-out/local-opt/genfiles/tensorflow/core/framework/tensor_description.pb.h'

user_ops_op_lib will only apply the :framework dep to sources it collects. If you define your own cc_library rule you'll need to add the required deps explicitly. You should be able to just add deps = ["//tensorflow/core:framework"].

@allenlavoie Okay, everything is working now. Thank you!
For anyone who stumbles upon this, I had to do one more step to get my custom op to successfully build with bazel. The dependencies I needed were disallowed in tensorflow.bzl. I removed these disallowed dependencies and  everything worked after that.

Ah. Yes, I should reconsider whether that check is at all necessary (I think no at this point, after the RTLD_GLOBAL removal). What does bypass that check is using framework_headers_lib.
Are you interested in removing the :framework check in a pull request? You can mention me and I'll review. Not 100% certain it's safe, but it should be.


Use both attribute and custom element

<k-slider></k-slider>
and
<input k-slider/>
Can we use both?

We can, if we decorate the wrapper with both @customElement and @customAttribute :smile:

not recommended, and doesn't work for all controls: https://github.com/aurelia/templating/issues/172#issuecomment-139833093

What is the origin of the "perceived need" for that? Vheisse's Render custom element from a custom attribute #172? He comes from a different use case scenario I think/

I have seen that Angular used both <k-grid> and <table k-grid> .. I wondered if we could do the same

Thanks, I understand it now


Lanes moving down the screen?

Have the lanes moving down the screen toward the player to make it seem like your moving

having the lanes moving makes it look weird because it makes it look like the lanes arn't evenly spased


Added a gesture interface

Adding the gesture interface for the demo. This involves:

some pre-computed trajectories for waving, stored in config/
a slightly simplified version of gestures in the action lib
the generic tsrs for gestures in tsr lib
a script file for a text interface to control the gestures

Overall, this looks pretty good. I left a number of relatively minor comments, mostly about missing locks and RobotStateSavers.

All of the major issues seem to be resolved. I just left a few comments on code cleanup.
@rachelholladay Could you also add (at least) one test to each of these functions that calls it on a very simple environment? It's fine if it's something as simple as just running each function on a Fuze bottle. We have a tutorial for doing this on the website and there are some simple examples in or_urdf.
@jeking04, @Shushman, or myself can help if you run into trouble.

@mkoval I made a PR on prpy for the util function, so I think that should be resolved first. I've also made most of the changes you asked for on this.

Thanks. The only comment I have left is that the default should always be GetActiveManipulator(), not right_arm. I'd much rather keep the Actions consistent than save a few characters of typing. Also, the current behavior will break if/when these functions support the left arm.

Alright @mkoval. Last comment addressed.

Testing addressed. Can we get it merged before class? :)


Math Magicians: setup

Hey Reviewer :wave:
In this PR, I implemented the following project requirements.
General requirements

Make sure that there are no linter errors :heavy_check_mark:  .
Make sure that you used correct Gitflow :droplet: .
Make sure that you documented your work in a professional way :policeman: .

JavaScript requirements

Follow our list of best practices for JavaScript :+1: .

Project requirements

First, make sure you have Node.js installed on your machine
The easiest way to create a React application is using Create React App
The application should run in the browser without errors

Thank you . I am grateful 🙏


Tag: 'reset' status should not make the tag taller

'reset' tags look taller than all other tags' statuses. They should be the same height.

See example here: https://iloorgstg.prod.acquia-sites.com/search?search_api_fulltext=france&ilo_date[min]=&ilo_date[max]=&sort_by=ilo_date&f[0]=language%3Aen&f[0]=language%3Aen
I think the solution is to ensure the tag has the same height in all statuses and that the border on the 'reset' status shows inside rather than outside. This is the CSS code that Figma suggests:
border-radius: var(--2, 2px);
border: var(--0, 1.5px) solid var(--Greys-Grey-UI, #B8C4CC);

More info about the component: https://www.figma.com/file/RRxsfLNxjoypKrfJg1EwJf/ILO-Components-Library?type=design&node-id=5868-8576&mode=design&t=sZ2GlWgFlNp4yZqO-0

The problem here is in the Tag component, it should be the same height when tagType is button or reset.
By the way, these are terrible names, once this is done we should create a v2 ticket to change that.


'Spear Mastery' is incorrectly applying to the Bonus Action attack of 'Polearm Expert'

As per the title, simultaneously having the 'Spear Mastery' Feat and 'Polearm Expert' Fighting Style results in the 1d4 Bonus Action attack of Polearm Expert turning into a 1d8 (or 1d10 Versatile) damage die attack instead.

can I have your save to test the fix?


Change createRepository to call PrepareWebhooks without xorm session

Changes the call in createRepository from prepareWebhooks to PrepareWebhooks, without the xorm session as argument. This is the same call as used in for example DeleteRepository.
I have tested this against issue #7404 and it should be solved with this fix.

Codecov Report

Merging #7447 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #7447      +/-   ##
==========================================
- Coverage    41.2%   41.19%   -0.01%
==========================================
  Files         469      469
  Lines       63557    63557
==========================================
- Hits        26190    26185       -5
- Misses      33946    33950       +4
- Partials     3421     3422       +1

Impacted Files
Coverage Δ

models/repo.go
48.6% <0%> (ø)
:arrow_up:

modules/log/event.go
64.61% <0%> (-1.03%)
:arrow_down:

models/issue.go
48.74% <0%> (-0.24%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0018d56...2051e8e. Read the comment docs.

This is for avoiding multiple database connections since sqlite may lock.

The problem here is that the commit to sql database (of the hook_task) has to be done before the webhook is added to the queue. Otherwise the webhook might not be delivered (DeliverHooks in webhook.go read nothing from sql).
If it is a problem to have multiple sql sessions at the same time, a larger change than what I have proposed would be needed. Maybe the PrepareWebhooks can move to the end of createRepository (as for delete repo) after closing sql session. However createRepository is also used by ForkRepository so it is not that easy.

Yes, this is the bug, but your change will introduce another problem. I think we have to move go HookQueue.Add(repo.ID) outside the database transaction.

Database session end in ForkRepository and CreateRepository. Drawback to move HookQueue.Add there is it will duplicate the call and maybe will make code somewhat less intuitive to follow. Not sure if there is some smarter way to refactor the code, or maybe that is acceptable solution?

I close this PR as it wasn't a satisfactory solution for the issue.

Thanks for your time and contribution. (Also thanks for closing this PR once it was no longer necessary)


client/server

Make this project like a Pro 🍰

obfs4 (https://hamy.io/post/000d/how-to-hide-obfuscate-any-traffic-using-obfs4/)
client (rewritten to dll and use https://github.com/stephenfewer/ReflectiveDLLInjection)

sure. i am going to update.

You're planned write client/server?
If yes - check this project https://github.com/ReactiioN1337/license-system

yes. i am going to develop floating licensing function as client / server.
thank you for your support. i will check it.

@akio-tanaka Regarding working with the network, do not use libcurl. If he the cracker decides to replace the server (emulate server), then he will do it very simply.


Remove useless assemblies to reduce release package size

Pro: The size of the package (slightly lighter, env 2Mo less)
Cons:

When you update the nuget packages, the references are added again
Seems to work but could not guarantee that there is not a missing assembly for some specific feature and that it won't crash

This PR is to open the discussion...

If it compiles without them, I think it'll be fine.

When you update the nuget packages, the references are added again

What do you think would resolve this? Maybe a document about "how to update the TFS dependencies"? Or maybe a script to scrub the unnecessary references from the project file?

What do you think would resolve this? Maybe a document about "how to update the TFS dependencies"? Or maybe a script to scrub the unnecessary references from the project file?

For me, the best solution is perhaps to use paket. A good introduction: http://forki.github.io/PaketIntro

paket sounds awesome. :+1: on switching to it.
:+1: on this branch. It'd be nice to have some docs, but that doesn't need to hold this PR up.


[BUG]: Drop Down Menu (Andriod)

Is there an existing issue for this?

[X] I have searched the existing issues

Current behavior
The drop down menu is shown behind the header on Andriod web browsers.
Expected behavior
Menu should be visible above all other information.
Steps to reproduce
No response
Environment
- OS:

Anything else?
No response

Fixed by Daniel


Where the file name appears

  <input class="custom-file-input qrcode" id="qrcode" type="file">

    qrcodeno this upload file name,file name is at label.innerHTML

bootstrap 4.4.1
The file name should be blank for all elements under the label element.

Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case via CodePen/JS Bin or Stackblitz and report back with your link, Bootstrap version, and specific browser and OS details.
This is an automated reply

Hi @zhangchenglin,
I don't understand what's your issue 😟
Can you add a live example please ?

Hi @zhangchenglin,
I don't understand what's your issue
Can you add a live example please ?

He must be asking about filenames which are not being shown when you select the file from file browser.

I was having this problem too when linking to the external CDN file with ad blockers installed. I solved it by installing the packages locally.

Is this issue resolved? I've tried it and the file name does not show too


Mark raw() and owned() accessors as unsafe, remove unnecessary accessors

The impl_raw_accessors! and impl_owned_accessors! macros generate methods that expose raw ffi pointers (raw()) and its ownership state (owned()) to the public.
These methods are only used for ffi interop, and their use should be discouraged unless absolutely necessary (with an unsafe block).
We certainly don't want to encourage casual use of these functions from user code; raw pointers and ffi interop are inherently unsafe.
AudioCVT and Renderer also don't require these methods (rust-sdl2 compiles without them), so they were removed.

Niiiice, cheers