"for... in" should not be used with arrays. This causes bugs!

See: https://github.com/katspaugh/wavesurfer.js/issues/1014.
I also changed "entry" to "canvas" since they are canvases. And, uh, just a few styling ideas.

Could you just replace the for-in with a forEach without the other stylistic changes? Btw, forEach takes a third argument which is the context of the callback, so you could pass this and not introduce another var my = this to keep the context.

I already ended up removing many of those changes due to your draconian style checker! The rest is as follows --
There are only four differences now, other than the forEach fixes, and corresponding "my" variables -- the "my" variables isn't something I came up with as it was present in an existing function.

Some brackets had an errant starting space: e.g.: { width: elementWidth + 'px'}. and the getImage function didn't have a space between it and the parameters.
entry -> canvas and lastEntry -> lastCanvas. IMO, if you have this.canvases, then one of them should be a canvas and not an entry.
Some breaking up of a multi-line var:

var elementWidth = Math.round(width / this.params.pixelRatio),
totalWidth = Math.round(this.width / this.params.pixelRatio);

to
var elementWidth = Math.round(width / this.params.pixelRatio);
var totalWidth   = Math.round(this.width / this.params.pixelRatio);

and
var entry = {},
leftOffset = this.maxCanvasElementWidth * this.canvases.length;

to
var canvas = {};
var leftOffset = this.maxCanvasElementWidth * this.canvases.length;

var endCanvas = Math.min(Math.ceil((x + width) / this.maxCanvasWidth) + 1,
this.canvases.length);

to
var endCanvas = Math.min(Math.ceil((x + width) / this.maxCanvasWidth) + 1, this.canvases.length);

While some of your changes make sense (I'll mark them with a thumbs-up in the changeset), some are arbitrary, and I would rather not create more maintenance work for the next branch.

OK, give me a few minutes to make the appropriate changes.

Ok, I removed almost all of the other changes.
I also implemented your suggestion about inserting a this variable in forEach.

I still see a lot of other changes in the diff.

I fixed some errors.
The only other change now is removing space between opening/closing brackets and text. You don't really even have that consistent...

Ok, a few more I didn't notice.

I really hate those extraneous spaces, but I added them back. I also added some extra extraneous spaces in style definition calls for it to be consistent.

Ok.

Merged, thanks!


ip: Add NM may-fail option

At some environments [1] is needed to set the may-fail attribute from
NetworkManager [2], this change add that attribute to the ip settings.
Closes https://bugzilla.redhat.com/show_bug.cgi?id=2082042
[1] https://github.com/openshift/machine-config-operator/blob/master/templates/common/_base/files/configure-ovs-network.yaml#L304
[2] https://developer-old.gnome.org/NetworkManager/stable/settings-ipv4.html

@qinqon Any more detail on why this only change nm_dbus? Changing there does not actually fix anything in nmstate.

@qinqon Any more detail on why this only change nm_dbus? Changing there does not actually fix anything in nmstate.

I have to add them, this is not ready for review.

@cathay4t now it's ready (I think).

Somehow it's correctly send over dbus but it not changed at NM

It is unclear why we need this feature. Please discuss the use case in https://bugzilla.redhat.com/show_bug.cgi?id=2082042#c2 first before spending more time on this.
I personally dislike introduce NM specific options to nmstate schema, it might make our life terrible if we migrate away from NetworkManager some day in the future.


Add Curlylint to GitHub Super Linter

Is your proposal related to a problem?
I'd like to easily and automatically lint my Jinja2 templates
Describe the solution you’d like
GitHub has recently introduced a Super Linter which is basically a collection of linters for common languages that are packaged in a Docker file that can be run from a GitHub Action to lint all your code quickly and easily without having to install packages.
It would be great if CurlyLint could be added to that. It would make it easier for people to use it and also greatly increase the visibility of this project.
Describe alternatives you’ve considered
Installing locally works but would prefer to do it via the GitHub Super Linter.
Additional context
They give instructions on how to add linters here: https://github.com/github/super-linter/wiki/Adding-new-language-support. Could have a go at adding it myself (and will do if you don't have time and are happy to add this), but thought it might be better coming from the maintainer of this project in case they have any questions or want any changes to allow it to be added.

Closing this for now as don't believe it's quite ready for this yet.

Hey @bazzadp, thank you for the suggestion, but indeed I think it wouldn’t be very productive to suggest this currently. The linter is still very experimental, and right now it’s just one of many side projects for me, so let’s see how things go.


Better image management

Improve image management.

Add date uploaded for each image.
Consider adding an expiry date to images and what would happen upon expiry (maybe add a purge option for expired images or similar that removes them from all the machines and from the system).

The images cannot be deleted if they are associated with a machine, for further information on the topic see:
https://github.com/mr-provisioner/mr-provisioner/issues/25

Allow admin to delete images, upon checking an "I understand" checkbox, that will remove them from the associated machines first.
OR
Add a button to dissociate an image from all machines. Then admin can delete without problem.

@danrue, I'd like to get your input on this.

I would not remove images from someone else's machine - it violates POLA. I think the current behavior is correct.
I'm not nearly as enthused about maintaining some minimum number of images at any given time as others seem. My approach would be to go through once a year and clear out anything unused that is older than a year. It would take 10 or 20 years of that before we approached the amount of time that we have spent discussing alternative approaches.

Our lab is not like MLab, we only have one set of users and a lot of machines. You guys are trying to fix a people problem with specific UI decisions and that's wrong.
Creating a button to dissociate the image from machines is a clear intention and as an admin it's beyond me why I shouldn't be able to do that, given that I already can, it's just cumbersome.
Every time I update our distro I need to go on and remove from every machine, then update with the new one, then remove the images.
I would have hoped that Mr-Provisioner isn't just an MLab provisioner but actually catered for all its users.

and using the "time for discussion outweigh time for implementation" is facetious and seriously, I'd like to think better of us.

Your usecase is becoming more clear. Won't you have to update all the machines with the new image still? So, you could do it in reverse order: 1. upload new image, 2. update machines to use new image, 3. delete old image.
Anyway, why not automate the whole workflow using the API? I don't think the UI is well-suited to make large batch changes like that.

My original bug (#118) that was closed had the reason why:
"It would be cool if a drop-down menu would allow us to assign a new image (of the same type) for the machines that have this image attached (like an upgrade)."
This would cover nicely my use case.
I'm not going to automating using the API because I'd have to write my own sequence of REST calls, error handling, etc. If we have a client... :)
Another problem of automating is that image name/desc is confusing and can be misleading when trying to detect if I have uploaded that exact image or not. Maybe an MD5 checksum to make sure we don't upload the exact same file twice? The more I think I about this one, the more confusing it gets.
So, we upload the images by hand and convert all machines to it, then tell Jenkins which "name" to pick from.

The API is quite well done and straight forward. You could automate your task with a few lines of curl and bash. Using some other client that introduces its own abstractions would actually be more difficult, imho. And, the whole point of the API is so that the UI doesn't need to try to implement (often poorly) every advanced usecase under the sun.

My only point is that it is such a straight forward and simple bit of automation, you could even do it with curl and bash. I'm not passing judgements - my implementation was after all in python (because that's the easiest way to do it in ansible).


Auto Scaling groups recreate terminated instances

When an EC2 instance that is attached to an Auto Scaling group is terminated through the TerminateInstances API operation, the Auto Scaling group should automatically replace this terminated instance.

Coverage increased (+0.07%) to 93.1% when pulling 19c9c593677dcec7c7f298483c584a2052873408 on acsbendi:autoscaling-terminate-instance-in-group into 6bc07360a1b44b43bc7d22005559168299d2c1da on spulec:master.

Thanks!


also apply change to actors controller

@parndt could you add the missing tests for deleting actors similar to how you it was done for measures? https://github.com/dumparkltd/advocacy-tracker-server/pull/71/files#diff-bcab87d0b7330bc8be55be2eab9f679bcab9a1b9c949d502b69e2b37a1ba49b7

@parndt could you add the missing tests for deleting actors similar to how you it was done for measures? https://github.com/dumparkltd/advocacy-tracker-server/pull/71/files#diff-bcab87d0b7330bc8be55be2eab9f679bcab9a1b9c949d502b69e2b37a1ba49b7

@parndt there also appear some other tests failing, could you have a look? thanks

@tmfrnz sure thing!


mobile phone problems

Hello my friend, one of the problems I have is that it is not possible to connect to the control panel with a mobile phone because access to the keyboard is blocked.  Also, the control panel does not support the mobile version, it would be very good if this problem is solved

yes i am aware of it, will be fixed soon.

I tested some methods and it looks like I can't trigger the phone's native keyboard. The browser manages it automatically on regular html input elements.
since this ui runs on a canvas element, there is currently no way to trigger the keyboard, even with experimental chrome apis;
So,
The plan is to implement a virtual keyboard for that and also work on some widgets size to fit the screen, since there is no bootstrap lib for ImGui :(
I will probably focus on a server side feature (nodes or http reverse proxy for user-made websites).
Then we come back to this, since optimizing the ui for phones is not a priority right now.

Thank you my friend for your continuous efforts to access the free internet and I wish you success

You are welcome,
Thanks for helping me on improving this project.

A basic keyboard is now available in version (0.1.9) i have tested basic features and it (at least) allows the admin to login & edit users


Revert "Revert "Upgrade to v19.6.2""

Reverts crosswalk-project/realsense-extensions-crosswalk#91

@halton Upgrade version again, PTAL, Thanks~

LGTM and merge.


Make the "View" menu in the 3D viewport stay open when selecting a checkbox

This pull request fixes an issue where the "View" menu in the 3D viewport would close when you selected either the "View Origin" or "View Grid" checkboxes. This was inconvenient and wasted time by making you have to reopen the menu in order to get to other settings anytime you changed this.
Resolves: #50602
https://user-images.githubusercontent.com/62965063/127752098-40954075-2a0d-4285-96de-283c66e37023.mp4
I find this to be a lot better and more consistent, as it allows you to edit/try many different settings without the menu constantly closing every time you change one of them. Often times you come into this menu and you want to change multiple things at the same time, so having it stay open while you make changes makes more sense.

Thanks!

Cherry-picked for 3.4.


syncDirtyAndDestroyed() doesn't remove/clear ###_dirty in localStorage

Hi,
After a syncDirtyAndDestroyed() on a collection the "###_dirty" still contains an id of a model. I get a status-code 200 from the server.
I cannot find in the code where the ###_dirty is cleared

Check out Store.clean and the places where clean is called, in localsync update and delete. Once you figure out the scenario that creates this error condition, we can create a failing spec that reproduces it and fix the issue.

If I run syncDirtyAndDestroyed(); should I pass through localsync function? Because it doesn't.

Backbone.Collection.prototype.syncDirty = (options) ->
  store = localStorage.getItem("#{getStoreName(@)}_dirty")
  ids = (store and store.split(',')) or []

  for id in ids
    @get(id)?.save(null, options)

For each id marked dirty, it tries to get the model from the collection by that id. If a model with that id exists, it will try to save it. Save should call sync, which is overridden to be dualsync.
dualsync = (method, model, options) ->
  # ...

  # execute only online sync
  return onlineSync(method, model, options) if _.result(model, 'remote') or _.result(model.collection, 'remote')

  # execute dual sync
  # ...

If neither the model nor collection have a truthy remote property, then it will continue to try to dualsync. Double-check this.
As dualsync executes, localsync generally always gets called below backbone.dualstorage.coffee:283. Trace the execution to see what's actually happening.

Got it. The response on the PUT call is empty, but status is 200. Backbone handles this as an error but since the error is never logged I didn't know the call was not successful. I fixed this by adding
  Backbone.ajax = function() {
    var args = Array.prototype.slice.call(arguments, 0);
    if (args[0].type === 'PUT') {
        args[0].dataType = "text";
    }
    return Backbone.$.ajax.apply(Backbone.$, args);
};```

This is not a bug in this library. A bit of error feedback would be nice.


Add NotePlan.app Latest

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if updating only the sha256:

[ ] I verified this change is legitimate How do I do that? and am providing confirmation below:

Additionally, if adding a new cask:

[] Named the cask according to the token reference.
Response: The token generator proposed noteplanzip and I went with noteplan.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.
[x] Checked there are no open pull requests for the same cask.
[x] Checked the cask was not already refused in closed issues.
[x] Checked the cask is submitted to the correct repo.

Resolves #39575

Thank you for your contribution.


Alpine Updates

Description
Changes proposed in this pull request:

Alpine updates.

Related issue(s)

/test pre-main-third-party-images-protecode-guard

/test pre-main-third-party-images-protecode-guard

/test pre-main-tpi-cloudsql-proxy

/test pre-main-tpi-etcd

/test pre-main-third-party-images-protecode-guard

/test pre-main-third-party-images-protecode-guard

/test pre-main-tpi-etcd

/test pre-main-third-party-images-protecode-guard

/test pre-main-tpi-etcd

/test pre-main-third-party-images-protecode-guard

/cc @wozniakjan


Implement SYCL Constant memory

We need an analog to implement the behavior  numba.cuda.const.array_like

SYCL constant address space has been deprecated in SYCL 2020 and we no longer plan to support it in numba-dppy.


v0.0.4 version bump & changelog update

v0.0.4 - 2023-03-31 - More (accurately) Dynamic

Dynamic records filter chain ordering reworked to place country filters before
regions, see https://github.com/octodns/octodns-ns1/pull/37 for
details/discussion.
AS implemented as a list of countries rather than the ASIAPAC region which
didn't match as the AS list of countries in the first place
AS, NA, and OC source their list of countries from octodns.record.geo_data
rather than manually duplicating the information here.
Add TL to the list of special case countries so that it can be individually
targeted
Fix for rule ordering when there's > 10 rules
Fixed persistent change issue with dynamic records after the API started
returning new fields under config

/cc @istr @viranch going to let this one sit for a bit since there's some fairly meaningful fixes/changes.

@ross Great! Thank you for addressing the issues fixed with this release so thoroughly and quickly.

It will be nice to sneak #45 in this release.

It will be nice to sneak #45 in this release.

Was it changelog worthy or we fine with shipping it w/o the mention?

It will be nice to sneak #45 in this release.

Was it changelog worthy or we fine with shipping it w/o the mention?

Good point, I think it should be mentioned. Would you prefer I add it in this PR's branch or raise a separate PR?

This PR is fine. Changlog updates I. A release PR are fair game

Thank you, @ross and @viranch for moving this forward.
Hopefully the M&A on the horizon will not render ns1 defunct... :see_no_evil:
https://newsroom.ibm.com/IBM-Plans-to-Acquire-NS1-to-Help-Enterprises-Drive-Network-Agility-in-their-Hybrid-Cloud-Environments

Hopefully the M&A on the horizon will not render ns1 defunct... 🙈

A person formerly in an exec role in a slack I'm in said they think everything is headed in the right direction and they'll be good stewards 🤞.
Otherwise you all feel like we are good to go here?

Otherwise you all feel like we are good to go here?

Let me add the changelog entry here ~soon, unless you beat me to it, then we can ship!

Let me add the changelog entry here ~soon, unless you beat me to it, then we can ship!

Oh. My bad, for some reason thought that had already come through. Fine with holding for it.

@ross good to go!

/cc https://pypi.org/project/octodns-ns1/0.0.4/


What is the format of controller. resources and how to write it on the command line

What is the format of controller. resources and how to write it on the command line

@peterbosalliandercom
For example:

set controller. resources = limits: {cpu:'1000m', memory:'1024Mi'}, requests: {cpu:'250m', memory:'256Mi'}\


Find center of star graph using C++

💥 Proposal
(C++ code to find the center of star graph)
Have you read the Contributing Guidelines on Pull Requests?
(Yes)

/assign


Not a Rabin Karp fingerprint

Hi,
As far as I understand, your code does not implement a Rabin Karp fingerprint but a polynomial rolling hash. Your source (https://github.com/lemire/rollinghashcpp) is probably wrong.
It is nonetheless a rolling hash, so there is no problem with the functional aspect of your implementation.
If you want to have a look at a real Rabin Karp fingerprint, I suggest you have a look at https://github.com/restic/chunker.
The major difference between an actual Rabin Karp fingerprint and your hash is that the Rabin Karp fingerprint is the remainder of a polynomial division over GF(2) (see https://en.wikipedia.org/wiki/Rabin_fingerprint and the original linked paper). In other terms, the hashed input is considered as a polynom of bits, not a polynom of bytes. You are encouraged to look at the original paper to double check what I say!
Cheers

Thank you for your detailed report! I'll look into that and double-check the terminology as soon as I have some spare time.


Is quantity a call?

I don't believe to see quantity as a call to be made once a product is generated?  Or am I missing something?

Say more? Quantity of what? What do you mean a product is generated?


cleanup(virtctl): More robust VM decoding and minor cleanups in create vm unit and func tests

What this PR does
Make VM decoding a little more robust by using runtime.Decode and apply
some minor cleanups throughout the test files.
In the func tests use the instancetype and preference builders to
construct resources and drop the no longer required workaround in
createVMWithRWOVolume. Also use testsuite.GetTestNamespace(nil) where
appropriate.
Before this PR:
After this PR:

Fixes #
Why we need it and why it was done in this way
The following tradeoffs were made:
The following alternatives were considered:
Links to places where the discussion took place:
Special notes for your reviewer
Merge after #12754

Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

[ ] Design: A design document was considered and is present (link) or not required
[ ] PR: The PR description is expressive enough and will help future contributors
[ ] Code: Write code that humans can understand and Keep it simple
[ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
[ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
[ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
[ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
[ ] Community: Announcement to kubevirt-dev was considered

Release note

None

/sig code-quality

/hold cancel

/approve
Nice the dry run option!

@jcanocan The funcs are still pretty simple and I don't want to introduce a dependency between unit and func tests.

@jcanocan The funcs are still pretty simple and I don't want to introduce a dependency between unit and func tests.

Makes sense.
/lgtm

/retest-required


[BUG]

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
have the Vulkan be able to use back?

What?


build: check if z3 directory exists before cloning

This allows running build.sh even if z3 is already built.

Thanks!


Consensus tests for HardForkBlock '[ByronBlock, ShelleyBlock]

This is the critical test of tests: set that we can actually transition. This will require the test infrastructure improvements that @nfrisby is currently working on, and we will need his help also in constructing the "oracle" so that we know in the test infrastructure exactly when the transition will take place.
@nfrisby , I guess this is what we really want to aim for for the current testing plans.

Possible simplification: if the slot length and epoch size is set to be equal between Byron and Shelley, test infrastructure improvements are not yet required. This might be a way to decouple the work.

Possible simplification: if the slot length and epoch size is set to be equal between Byron and Shelley, test infrastructure improvements are not yet required. This might be a way to decouple the work.

I think #2066 includes most of the hard work. So decoupling only seems worthwhile if you don't like parts of that PR or if I'm overlooking the extent of the remaining details.

I think #2066 includes most of the hard work. So decoupling only seems worthwhile if you don't like parts of that PR or if I'm overlooking the extent of the remaining details.

I've not had a chance to look at that yet. If the simplification is not necessary, so much the better! :)

Done in #2277.


modifying request object

Hi,
The Request object is currently read only.
I think it would be usefull to be able to modify request headers in a middleware for example.
Being able to add stuff in the request object is nice, but so is having code that don't rely on it (that event works when the middleware is not there)

Perhaps you are looking for Signals?

@asvetlov Ahh, yes -- Been working with responses so much, every "r" word is a "response" in my head now ;-)

Fixed by #1361


link specification.md to the current specification.

@xuhdev can you please explain why who think this is necessary?

One may want a link to the latest spec at all time, as a general information matter. For example, this page https://langserver.org/ (note there is a link to LSP spec)

I added this using a forward managed by jekyll-redirect-from


Fix master auth config race condition issues

Fixes #1919
This PR makes AuthProvider stop being a singleton, removing any thread issues with the configuration when running multiple master web processes.

This branch seems to include all the 1.2-dev master commits...
For these 1.1.x fixes, just have the PR merge into master. Once it's fixed in master, you cherry-pick the commit from master into a (new) separate git checkout -b v1.1 1.1.2 branch.

@daniel-bytes pls test if this solves multi-core problems that you had.

Is this status/merge, or waiting for pre-merge testing?

I tested this branch against a 4 core Docker for Mac VM and it looks good.


Item with signatures in the system

There is currently at least this item with a signature in the system
https://scholarsphere.psu.edu/files/8623j707f
It is private so it may not be an issue...

@jonibar found another one:
https://scholarsphere.psu.edu/concern/generic_works/9306sz402

@cam156
I redacted both with adobe acrobat pro, and uploaded them. The unredacted files are deleted. I sorta messed it up with the versioning, but I think that it is just a learning curve.
I can't set either to private though, so I set them to penn state. The one that was private was anothe r one from Linda Musser that I suspect was either a failed attempt or testing a long time ago.


Added a new blog on 13th of April

Contribute to Identity Beyond Borders

We strongly recommend adding the blog to Identity Beyond Borders
publication maintained by WSO2 Identity Server team. Follow the guide to add yourself as a writer.

 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.


[DOC]: Update Langchain integration example and fix broken link

Description of changes

Improvements & Bug fixes

Removed the code example from the Langchain integration documentation as per @jeffchuber's request.

New functionality

n/a

Test plan
How are these changes tested?

[x] Tests pass locally with pytest for python, yarn test for js, cargo test for rust

Documentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?

The example in the docs has been updated. There are no other documentation changes required.

@ishaksebsib thanks for this! we are going to do a wholesale rewrite of the langchain docs this week. happy to still give you credit on the PR for finding this stuff! can we cut the code example entirely for now?

@ishaksebsib thanks for this! we are going to do a wholesale rewrite of the langchain docs this week. happy to still give you credit on the PR for finding this stuff! can we cut the code example entirely for now?

Hi @jeffchuber,
Thanks for the feedback. I've removed the code example as requested and updated the PR.
Let me know if there's anything else I can assist with. I'm also happy to help with the upcoming documentation rewrite if needed.


Error when using different subdomain

Hello,
I'm running in to some issues when using your code.
If I use the default region01eu5 I get a wrong username or password message.
In Home Assistant I use eu5.fusionsolar.huawei.com and I can connect just fine there with the same username and password.
Am I doing something wrong, or is there an issue with the code?
Also, the username and password is an API account, not an account that can actually login to the huawei portal, if this makes any differance.
Btw: # client = FusionSolarClient("my_user", "my_password", huawei_subdomai="region01eu5") <--this line is missing a "n" in "huawei_subdomain" :)
Traceback (most recent call last):
File "/home/dobber/test.py", line 10, in
client = FusionSolarClient("my_super_secret_username", "my_super_secret_password", huawei_subdomain="eu5")
File "/home/dobber/.local/lib/python3.9/site-packages/fusion_solar_py/client.py", line 82, in init
self._login()
File "/home/dobber/.local/lib/python3.9/site-packages/fusion_solar_py/client.py", line 112, in _login
r = self._session.post(url=url, params=params, json=json_data)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 590, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 1012, in _validate_conn
conn.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 353, in connect
conn = self._new_conn()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 169, in _new_conn
conn = connection.create_connection(
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 69, in create_connection
return six.raise_from(
File "", line 3, in raise_from
urllib3.exceptions.LocationParseError: Failed to parse: '.fusionsolar.huawei.com', label empty or too long

Hi @dobber81
Thanks a lot for your feedback!
Unfortunately yes, it does make a difference. This package only works with credentials for the Web interface.


check('cpassword').isEmpty().withMessage('ERROR_CANNOT_EMPTY')

I want to check if field is empty or cannot be empty. However the following did not work for me.
check('cpassword').isEmpty().withMessage('ERROR_CANNOT_EMPTY')

I want to check if field is empty or cannot be empty

This is confusing, what exactly do you want?
The example you gave is for checking whether a field is empty. If it's not, then a validation error will be set.

the cpassword field is required, how can I check it?

Use check('cpassword').exists() or check('cpassword').not().isEmpty()


Allow users to specify kernel version and or feature requirements

Some eBPF programs have dependencies on kernel features and/or require a specific kernel version (i.e due to a dependency on a given version of vmlinux.h for example).
bpfman program load should allow for a user to specify required features such that bpfman can return a reason for why a program was unable to be loaded. E.g version constraints not met, feature requirement not met etc...

Yes! We have users that are using Kprobes - which do not have a stable ABI.
Imagine the following scenario:

A kprobe program is compiled against Kernel 6.10 and deploys it using bpfman-operator
The ABI of the kprobe it's using changes in 6.11
The Cluster Admin starts upgrading nodes one by one (i.e provision a new node, drain old node etc...)

In this event, I would assume that bpfman would fail to load the program on the new node and the CRD would show a ReconcileError status. The error message at this point might be cryptic (it will be a verifier error).
I'd like us to handle this condition more gracefully and give a richer error message that a plain old verifier error.
That way a ClusterAdmin has some hope of stopping the rollout before it breaks an application.
The tricky part to this is that pausing the rollout doesn't really help, as you'll need to:

Get new BPF program
Rollout new nodes
Update BPFApplication (or ProgramCRDs)
Wait for it to reconcile

☝  involves BPF application downtime.
We might want to consider either:
a. Support multiple images for a given program with some hint as to which should be used and when (maybe something we can do with the multiarch manifests?)
b. Come up with a better way of handling upgrades - e.g bpfman upgrade that will load a new program, unload the old one, potentially destroy/recreate and/or migrate map data etc... We'd then need to model this in K8s somehow
This isn't just a K8s thing. It would equally apply to bpfman standalone.


Fix to MosesTokenizer, related to unexpected tokens for 'No. #NUMERIC#'

This is related to issue #1796
Previously tokenising with MosesTokenizer for the test string :
1 Official Records of the General Assembly, Fifty-sixth Session, Supplement No. 21 .
would result in "No" and "." being split.
>>> tokenizer = MosesTokenizer()
>>> tokenized_test = tokenizer.tokenize(test)
>>> tokenized_test
[u'1', u'Official', u'Records', u'of', u'the', u'General', u'Assembly', u',', u'Fifty-sixth', u'Session', u',', u'Supplement', u'No', u'.', u'21', u'.']

After applying the changes @alvations suggested, they remain together as they are suppose to
>>> tokenized_test = tokenizer.tokenize(test)
>>> tokenized_test
[u'1', u'Official', u'Records', u'of', u'the', u'General', u'Assembly', u',', u'Fifty-sixth', u'Session', u',', u'Supplement', u'No.', u'21', u'.']

Thanks @ali-abdullah for the PR!

Thanks @ali-abdullah

No problem.

No problem :)


Recombination algorithms

For future reference, the following recombination algorithms are to be implemented:

1-Tree (a.k.a. LittererLyons) recombination. Refs: Litterer & Lyons 2012 and Tchernychova 2015 Chapter 3.2 Algorithm 5
M-Tree (a.k.a TchernychovaLyons) recombination Refs:  Tchernychova 2015 Chapter 3.3 Algorithm 7
Naive Random Recombination Refs: Cosentino et al 2020 Algorithm 1
Geometrically Greedy Random Recombination Refs: Cosentino et al 2020 Algorithm 2

Further information will be provided in separate tickets for each algorithm.


/_cat/indices - Strange behavior

Elassandra version:
<IP_ADDRESS>
Plugins installed: []
JVM version:
OS version:
Description of the problem including expected versus actual behavior:
Steps to reproduce:
1.
2.
3.
Provide elasticsearch cluster state:
Provide user CQL schema:
Provide logs (if relevant):

when performing a _cat/indices on the cluster, I get different results:
This is normal:
green open .kibana             60q4nNzrTqSqTd5ztckASw 6 0       18       1 103.7kb 103.7kb
green open poc_training        FRZN8PbZRDiNwb1tBFPgCA 6 0        0       0    618b    618b
green open carrierperf         wQc51tfdQYCmPBffGmgykw 6 2  1577979   70240 578.1mb 578.1mb
green open gtnx_shipment_v2    zUNifXgSRKyiSv_49_FWJg 6 0        0       0    618b    618b
green open otrstksla_v1        4WAFkV7BQxCXgvIplqbIKA 6 2   915597  379366   444mb   444mb
green open wmsskuet            QHR0roXvQ66LICG3aZltZA 6 2  4740783  378349 938.4mb 938.4mb
green open gtnx_purchase_order 0A5Tb-GXQrSpmN1oeBDhQQ 6 2    51387    2514  10.7mb  10.7mb
green open matrixuser          ux5xklXwSbqUp-T9A_v2eQ 6 2   681690   30887  93.8mb  93.8mb
green open prdedi              Mw5gBIs8Q-2ZRp1REikJCA 6 2 35299493 6646365  13.3gb  13.3gb
green open logstash-2018.05.29 M86_d6fHTd6Gy2fc0yVT9g 6 0   779592       0 265.3mb 265.3mb
green open logstash-2018.05.28 Gyaio0OxTem2sAsKfy9lDw 6 0        0       0    618b    618b
green open driverperf_v1       GYJ1iCGGSPmzlCdD2Wr9JA 6 2   289056   56176  96.1mb  96.1mb
green open gtnx_shipment_v1    ntyLLHQwQmqAy0Kxd3dZfg 6 2    28957    1423   9.9mb   9.9mb
green open matrix_itl_v1       DZxxu5_oQ2yXmav3OXal0A 6 2  1972884  384786   1.7gb   1.7gb
green open twitter             cRLgf28HRH-ygrOUywGCtQ 6 0        3       0  12.8kb  12.8kb
This is bad:
red* open .kibana             60q4nNzrTqSqTd5ztckASw
red* open poc_training        FRZN8PbZRDiNwb1tBFPgCA
red* open carrierperf         wQc51tfdQYCmPBffGmgykw
red* open gtnx_shipment_v2    zUNifXgSRKyiSv_49_FWJg
red* open otrstksla_v1        4WAFkV7BQxCXgvIplqbIKA
red* open logstash-2018.05.21 nHlYfr68RaucO2-tdznKEA
red* open wmsskuet            QHR0roXvQ66LICG3aZltZA
red* open logstash-2018.05.25 t2tPXxsdRzqDt2yJTCVkVA
red* open gtnx_purchase_order 0A5Tb-GXQrSpmN1oeBDhQQ
red* open logstash-2018.05.22 njzTYBF_TOGWjsatxDp2zg
red* open matrixuser          ux5xklXwSbqUp-T9A_v2eQ
red* open prdedi              Mw5gBIs8Q-2ZRp1REikJCA
red* open logstash-2018.05.29 M86_d6fHTd6Gy2fc0yVT9g
red* open logstash-2018.05.28 Gyaio0OxTem2sAsKfy9lDw
red* open driverperf_v1       GYJ1iCGGSPmzlCdD2Wr9JA
red* open gtnx_shipment_v1    ntyLLHQwQmqAy0Kxd3dZfg
red* open matrix_itl_v1       DZxxu5_oQ2yXmav3OXal0A
red* open twitter             cRLgf28HRH-ygrOUywGCtQ
I believe the behavior is happening from the load balancer in front of port 9200 and hitting different nodes:
state.txt

my last comment is incorrect.  I have seen all the nodes flip green/red.  I connected to each container to test this.

Hi Bob,
For some reason, the routing table is empty on node d76a5242-4d12-41e8-a526-7724b57dbc31 = <IP_ADDRESS>, so,  because a search request cannot be consistent, indices are red.
Could you run "nodetool gossipinfo", you should have for all nodes:
X2 = c4366c6f-7cdc-4dc2-8a02-75511c393d30/277
X1 = { '<index_name1>':3, '<index_name2>':3 .... }
X2 is the elasticsearch metadata current version applied by the node having the hostid. X2 must be the same on all nodes in your DC.
X1 is a map for ES shards state, 3 = STARTED. An index becomes yellow when there is enough shards to execute a consistent search, and green when all shards are STARTED.
You may get additional information from your cassandra log file (system.log).
Thanks.

Vincent,
I’ll get the info for you.  I have 4 nodes of six like this at the moment I believe.  I suspect if I stop the entire cluster and restart it it will clear.   I had this before on prior releases but not this many
Get Outlook for iOShttps://aka.ms/o0ukef
On Tue, May 29, 2018 at 4:32 PM -0400, "Vincent Royer" <notifications<EMAIL_ADDRESS>wrote:
Hi Bob,
For some reason, the routing table is empty on node d76a5242-4d12-41e8-a526-7724b57dbc31 = <IP_ADDRESS>, so, because a search request cannot be consistent, indices are red.
Could you run "nodetool gossipinfo", you should have for all nodes:
X2 = c4366c6f-7cdc-4dc2-8a02-75511c393d30/277
X1 = { '<index_name1>':3, '<index_name2>':3 .... }
X2 is the elasticsearch metadata current version applied by the node having the hostid. X2 must be the same on all nodes in your DC.
X1 is a map for ES shards state, 3 = STARTED. An index becomes yellow when there is enough shards to execute a consistent search, and green when all shards are STARTED.
You may get additional information from your cassandra log file (system.log).
Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/strapdata/elassandra/issues/198#issuecomment-392933552, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQ-uqxYfP0pyII3UuBdKfLmSwjhOmiTKks5t3bBTgaJpZM4URfiW.
NVOCC Services are provided by CEVA as agents for and on behalf of Pyramid Lines Limited trading as Pyramid Lines.
This e-mail message is intended for the above named recipient(s) only. It may contain confidential information that is privileged. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail and any attachment(s) is strictly prohibited. If you have received this e-mail by error, please immediately notify the sender by replying to this e-mail and deleting the message including any attachment(s) from your system. Thank you in advance for your cooperation and assistance. Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments.

Vincent,
Me again.  Are you guys generally on a chat somewhere?
Get Outlook for iOShttps://aka.ms/o0ukef
On Tue, May 29, 2018 at 4:32 PM -0400, "Vincent Royer" <notifications<EMAIL_ADDRESS>wrote:
Hi Bob,
For some reason, the routing table is empty on node d76a5242-4d12-41e8-a526-7724b57dbc31 = <IP_ADDRESS>, so, because a search request cannot be consistent, indices are red.
Could you run "nodetool gossipinfo", you should have for all nodes:
X2 = c4366c6f-7cdc-4dc2-8a02-75511c393d30/277
X1 = { '<index_name1>':3, '<index_name2>':3 .... }
X2 is the elasticsearch metadata current version applied by the node having the hostid. X2 must be the same on all nodes in your DC.
X1 is a map for ES shards state, 3 = STARTED. An index becomes yellow when there is enough shards to execute a consistent search, and green when all shards are STARTED.
You may get additional information from your cassandra log file (system.log).
Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/strapdata/elassandra/issues/198#issuecomment-392933552, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQ-uqxYfP0pyII3UuBdKfLmSwjhOmiTKks5t3bBTgaJpZM4URfiW.
NVOCC Services are provided by CEVA as agents for and on behalf of Pyramid Lines Limited trading as Pyramid Lines.
This e-mail message is intended for the above named recipient(s) only. It may contain confidential information that is privileged. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail and any attachment(s) is strictly prohibited. If you have received this e-mail by error, please immediately notify the sender by replying to this e-mail and deleting the message including any attachment(s) from your system. Thank you in advance for your cooperation and assistance. Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments.

Please see attached gossipinfo

Ok, thanks.
So do you still have red indices on this node elassandra-4 ? (Every things seems OK).

Yes.  All red
Get Outlook for iOShttps://aka.ms/o0ukef
On Wed, May 30, 2018 at 6:49 PM -0400, "Vincent Royer" <notifications<EMAIL_ADDRESS>wrote:
Ok, thanks.
So do you still have red indices on this node elassandra-4 ? (Every things seems OK).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/strapdata/elassandra/issues/198#issuecomment-393344442, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQ-uq9wiNQJHpcVCb0SceP4dQVDsReI8ks5t3yH0gaJpZM4URfiW.
NVOCC Services are provided by CEVA as agents for and on behalf of Pyramid Lines Limited trading as Pyramid Lines.
This e-mail message is intended for the above named recipient(s) only. It may contain confidential information that is privileged. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail and any attachment(s) is strictly prohibited. If you have received this e-mail by error, please immediately notify the sender by replying to this e-mail and deleting the message including any attachment(s) from your system. Thank you in advance for your cooperation and assistance. Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments.

Vincent,
I can arrange a screen share if you want to look around
Get Outlook for iOShttps://aka.ms/o0ukef
On Wed, May 30, 2018 at 6:49 PM -0400, "Vincent Royer" <notifications<EMAIL_ADDRESS>wrote:
Ok, thanks.
So do you still have red indices on this node elassandra-4 ? (Every things seems OK).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/strapdata/elassandra/issues/198#issuecomment-393344442, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQ-uq9wiNQJHpcVCb0SceP4dQVDsReI8ks5t3yH0gaJpZM4URfiW.
NVOCC Services are provided by CEVA as agents for and on behalf of Pyramid Lines Limited trading as Pyramid Lines.
This e-mail message is intended for the above named recipient(s) only. It may contain confidential information that is privileged. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail and any attachment(s) is strictly prohibited. If you have received this e-mail by error, please immediately notify the sender by replying to this e-mail and deleting the message including any attachment(s) from your system. Thank you in advance for your cooperation and assistance. Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments.

Closing the issue.  Latest RC patch seems to resolve the issue.


Incorrect scm formatting when there is an empty line in a named node

(aaa
  (bbb
    (ccc)

)
)

I also question whether we want to allow an empty line before a ). It's common for autoformatters to disallow empty lines at the end of a function body, so seems similar.  I was kind of expecting that empty line to disappear

Fixed in latest release


Release 0.7.0

@0323pin I have been unable to revive my AWS based netbsd setup to test the latest release of trippy, would you be so kind as to give it a try?

@fujiapple852 Yes, of course. Kick-starting a build right away. Get back to you soon.

@fujiapple852 All good :)
~ > uname -v
NetBSD 10.99.2 (GENERIC) #0: Fri Mar 17 17:16:06 UTC 2023  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC
~ > pkg_info | grep rust
rust-1.68.0         Safe, concurrent, practical language
~ > trip -V
trippy 0.7.0

@fujiapple852 Just one thing. We are on a commit freeze ahead of the stable-release for 2023Q1, I will merge the update as soon as the freeze is over. Should end on Monday.


Add Zookeeper Cluster Manager to the vert.x stack

Github Project: https://github.com/vert-x3/vertx-zookeeper

Be aware that it's not currently possible to get several cluster manager in the classpath (it would take the first one appearing on classpath).

Got it

On Jul 16, 2015, at 6:02 AM, Clement Escoffier<EMAIL_ADDRESS>wrote:
Assigned #26 to @kuujo.
—
Reply to this email directly or view it on GitHub.

This is already added to the stack: https://github.com/vert-x3/vertx-stack/blob/master/stack-depchain/pom.xml
And present in the official documentation


Changed logic for adding owners to groups

Changed the logic to add owners to the group. The variable used was incorrect and the functionality did not work

hi @chris-martin2, if your objective is to have the capability to add UPN directly (arnaud@somedomain.com), it wont work directly like your propose in your PR.
You will need to crack the UPN first to GUID and then add the GUIDS to the list.
Is that what you are trying to achieve?

Closing pending further dev.

Closing pending further dev.


feat: Confirm support for django 4.0 and python 3.10

also, run github workflows on latest python stable version(3.10).

Codecov Report

Merging #9 (e1d527a) into main (a597247) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main        #9   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            5         5
  Lines           56        56
  Branches         8         8
=========================================
  Hits            56        56

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 a597247...e1d527a. Read the comment docs.


nullranges

Please supply the following information:
Short title: nullranges: Generation of nullranges via bootstrapping or covariate matching
Workshop URL: https://github.com/EricSDavis/Bioc2022nullranges
Workshop docker image: eg., ghci.io/EricSDavis/Bioc2022nullranges
Workshop port: eg., 8787 for Rstudio-based workshops
Workshop memory request: eg., 2GB
Workshop description: In this workshop, we will show how to use nullranges for generating sets of null hypothesis genomic ranges. You will learn about the two approaches for generating null feature sets: covariate-matched subsampling with matchRanges and bootstrapping ranges with bootRanges. Finally, you will see how nullranges integrates with existing Bioconductor packages as it is applied to biological examples.

Please bump up the requested memory from 2GB to 4GB.

Should be in Orchestra. Thanks for the contribution.


issue in the af_packet driver in vpp on VM with 9K MTU

Environment

Calico/VPP version: 0.13.0
Kubernetes version:  1.20
Deployment type: AWS VMs, Ubuntu 20.04.  Installed using kubeadm.
Network configuration: Applied https://raw.githubusercontent.com/projectcalico/vpp-dataplane/release/v0.13.0-calicov3.17.1/yaml/generated/calico-vpp-nohuge.yaml - vpp interface was set to ens5 and pid-cidr to <IP_ADDRESS>/16.

Additional context
Aloys took a look at the cluster.  He said:

Hi Lance, yes we just narrowed it down to an issue in the af_packet driver in vpp, and we are able to reproduce it
Unfortunately there is no simple workaround, the only one I see would be to use the af_xdp driver instead, but that will require lowering the MTU on your nodes to around 3kB

We will try to publish a fixed version asap, Nathan is working on a fix

This should be fixed in the 0.14 release, please reopen if it is not the case.


Fix javassist's WARNING: An illegal reflective access operation has occurred

fix javassist's WARNING: An illegal reflective access operation has occurred

@AlexElin would you mind providing some back ground why this version adjustments fixes the warning you're stating in the title? Maybe a reference to release notes, some terminal text stating what it wrote down and what it does with this change?

without this changes there's a warning:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by javassist.util.proxy.SecurityActions (file:/home/travis/.m2/repository/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)

while running tests in the modules axon-configuration, axon-spring and  axon-integrationtests.
See the build https://travis-ci.org/AxonFramework/AxonFramework/jobs/496500589 for example.
In the current travis build for JDK 11 there's no these warnings.
Support for Java 11 has been added to javassist in the version 3.24.0-GA (https://github.com/jboss-javassist/javassist/blob/bcfdc3436616604645971899249e9a1abbd5434f/Readme.html)

Thanks for the clarification @AlexElin, you did the right thing with this change then. :-)


Import: Normalizing for quantized data fix

Added missing Accessor.Normalized checks, when accessor data get builded.
Before, some quantized accessor data gets always normalized (e.g. positions).

Are you sure about this change? I think it requires a bit more explanation on what is going on here.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 4 committers have signed the CLA.:white_check_mark: marwie:white_check_mark: wschnepp:white_check_mark: hybridherbst:x: pfcDornpfcDorn seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Deduplicate provider foreman controller

@miq-bot rm_label wip

@lgalis Please review

cc @Fryguy

@Fryguy Please review

Error when adding a provider - the constantize method is needed when using new_with_type_sti_mixin:
----] I, [2016-02-25T11:34:55.291929 #6375:3f7df1955b74]  INFO -- : Started POST "/provider_foreman/edit/new?button=save" for <IP_ADDRESS> at 2016-02-25 11:34:55 -0500
[----] I, [2016-02-25T11:34:55.343620 #6375:3f7df1955b74]  INFO -- : Processing by ProviderForemanController#edit as JS
[----] I, [2016-02-25T11:34:55.343881 #6375:3f7df1955b74]  INFO -- :   Parameters: {"name"=>"TestAns2", "provtype"=>"Ansible Tower", "url"=>"TestAns2.manageiq.com", "log_userid"=>"q", "log_password"=>"[FILTERED]", "log_verify"=>"[FILTERED]", "button"=>"save", "id"=>"new"}
[----] W, [2016-02-25T11:34:55.386539 #6375:3f7df1955b74]  WARN -- : DEPRECATION WARNING: env is deprecated and will be removed from Rails 5.1. (called from set_gettext_locale at /home/lgalis/dev/New/manageiq/app/controllers/application_controller.rb:2630)
[----] F, [2016-02-25T11:34:55.411673 #6375:3f7df1955b74] FATAL -- : Error caught: [NoMethodError] undefined method constantize' for #<Class:0x007efbe3797e68> /home/lgalis/.rvm/gems/ruby-2.2.4/gems/activerecord-5.0.0.beta3/lib/active_record/dynamic_matchers.rb:21:in method_missing'
/home/lgalis/dev/New/manageiq/app/models/mixins/new_with_type_sti_mixin.rb:9:in new' /home/lgalis/dev/New/manageiq/app/controllers/provider_foreman_controller.rb:115:in add_provider_foreman'
/home/lgalis/dev/New/manageiq/app/controllers/provider_foreman_controller.rb:37:in `edit'

@lgalis Thanks, I fixed that

@bdunne - I think instance methods provider_class are needed for Ansible and Foreman providers

@miq-bot add_label wip

@lgalis @Fryguy @kbrock I'm splitting this PR due to the number of problems it brings up.  These first few changes should be straight forward.

@miq-bot rm_label wip

:+1: LGTM Very nicely fixed.

Looks good - also tested in the UI.


Allow rebooting after Ignition if needed

In particular, an Ignition config might want to configure kernel arguments for disabling SMT (https://github.com/coreos/fedora-coreos-tracker/issues/181).  In that case, the first complete boot should have the same kargs as subsequent boots, so we'd want to reboot from the initramfs after Ignition runs.
(We can't have Ignition write a unit which reboots from inside the real root, since a half-completed first boot could cause a late-sequenced ConditionFirstBoot unit to never run at all.)
Ignition shouldn't have special handling for kernel arguments.  Proposal: add an initramfs service which detects that certain relevant files have been written (e.g. for https://github.com/ostreedev/ostree/issues/479) and performs the reboot.
Filed here rather than in coreos/fedora-coreos-config because the mechanism can hopefully be generic.  See also discussion in https://github.com/coreos/coreos-installer/issues/13.

Also, @cgwalters noted in https://github.com/coreos/coreos-installer/issues/13#issuecomment-493157500 that we'd need to mark Ignition complete from the initramfs rather than the real root.

👍 - seems reasonable to me. If we can now reboot I almost wonder if we couldn't take it 10 steps further and just let ignition replace the limited functionality of coreos-installer.

I'm in favor of this. If we do package layering from the initramfs (lets not talk about that here, its a wayyyys off) it would be useful there too.
If we go the "check if certain files changed" route for determining whether to reboot, we should include a flag file as well that's just for that which can be used as an escape hatch if needed or if someone has a different, unforeseen reason.

@dustymabe I think that'd involve something like https://github.com/coreos/fedora-coreos-tracker/issues/34.  Seems like it could work like this:

The user boots FCOS from PXE or a USB stick.
Some unit converts the coreos.inst parameters to an Ignition config.
Ignition runs, with the ostree being laid down between -disks and -files.  The autogenerated Ignition config also fetches the real one and writes it into /boot.
The system reboots and runs the real Ignition config.

We'd lose:

The nice command-line tool that can be run from any distro.
The ability to rerun the installer from the initramfs emergency shell if it fails.
The ability to do other nice UX things like report progress.

I'm not certain that this approach is better than a separate installer, but it's worth considering at least.

@ajeddeloh The flag file might encourage people to toss in a reboot "for safety".  I agree that we may end up needing one, but I'd be inclined to start without it and see what happens.

I'm not certain that this approach is better than a separate installer, but it's worth considering at least.

yeah I don't know if it's better, was just an idea I had.

@ajeddeloh The flag file might encourage people to toss in a reboot "for safety". I agree that we may end up needing one, but I'd be inclined to start without it and see what happens.

To play devil's advocate, they might start writing kargs as a way to trigger it. I'm fine leaving it off for the moment though, that's a good point.

OK I added a bunch of comments in https://github.com/coreos/coreos-installer/issues/13 but will summarize them here as it's a better place.
For RHCOS (OpenShift 4) the model is based on early pivot - we boot and then immediately upgrade and reboot.  We also rely on changing kernel arguments at that time (to avoid double reboot).
Or to say it simply: We want to both upgrade and change kargs.
I am hesitating a lot about something ambitious like trying to do the upgrade from the initramfs.  We will hit bootstrapping problems - for example, the RHCOS upgrade pulls from a container image, and we need the pull secret for that container.  More generally, anything needed for upgrades needs to also be configured in the initramfs.
Plus dragging the whole rpm-ostree stack into the initramfs is a whole place where it's never been tested, and creates a whole special case for it that only runs one time.
The more I think about this, the more I feel like while it does make sense to drive Ignition/kargs integration, and perhaps more medium term spike on ostree-in-initramfs, short term we have other things we need to do first - such as getting RHCOS to Ignition Spec 3, and not to mention things like beefing up our CI story - before we can tackle fundamental reworks like this.
So my instinct now is to continue changing the MCD so that we handle kargs there, and keeping the way we do the early pivot rather than trying to do it in Ignition right now.  But happy to continue to discuss!

The more I think about this, the more I feel like while it does make sense to drive Ignition/kargs integration, and perhaps more medium term spike on ostree-in-initramfs, short term we have other things we need to do first - such as getting RHCOS+MCO to Ignition Spec 3, and not to mention things like beefing up our CI story - before we can tackle fundamental reworks like this.

On the RHCOS side I think that makes sense.  Re kargs I was thinking about the FCOS side, where we'll need this functionality and don't have an alternative in the MCO.  If we can get https://github.com/ostreedev/ostree/issues/479 shipped, I think the initramfs part shouldn't be too major.

Having a service makes sense to me. In https://github.com/ostreedev/ostree/issues/479 one thought is having something like /etc/ostree/kargs.d which contains snippets of karg key-value pairs. One way the reboot could be triggered is if /etc/ostree/kargs.d exists (an Ignition config should be provided that writes e.g. /etc/ostree/kargs.d/2000_localhost containing mykarg=foo anotherkarg=bar to configure custom kargs).

One way the reboot could be triggered is if /etc/ostree/kargs.d exists

Also to point out - before the reboot, a redeployment (ostree admin deploy or equivalent) would need doing before the reboot as well, so that OSTree can write the new BLS config for the next boot based on the new /etc/ostree/kargs.d snippets (as the ostree kargs.d design currently stands).

One way the reboot could be triggered is if /etc/ostree/kargs.d

Related thoughts: https://github.com/ostreedev/ostree/issues/479#issuecomment-505558298

Related thoughts: ostreedev/ostree#479 (comment)

Follow up to this (I should have made that comment in this ticket): One approach for a way to determine whether Ignition added kargs could be to check the contents of /etc/ostree/kargs.d before and after ignition-files.service ran. If the contents changed, then assume Ignition added the kargs, and reboot the system.

Current status

Blocking since in order to deploy and apply the kernel arg, we need ostree to be presented at initramfs


Conventions

Changes
fix #19 by making the module to follow Python conventions

While we are renaming everything, can you move the xtp parts into a xtp subclass?

While we are renaming everything, can you move the xtp parts into a xtp subclass?

While we are renaming everything, can you move the xtp parts into a xtp subclass?

@junghans  I have made xtp into a submodule encapsulating the XTP functionality that it wraps

While we are renaming everything, can you move the xtp parts into a xtp subclass?

@junghans  I have made xtp into a submodule encapsulating the XTP functionality that it wraps

While we are renaming everything, can you move the xtp parts into a xtp subclass?

@junghans  I have made xtp into a submodule encapsulating the XTP functionality that it wraps

Thanks!

While we are renaming everything, can you move the xtp parts into a xtp subclass?

@junghans  I have made xtp into a submodule encapsulating the XTP functionality that it wraps

Thanks!


add az/gh commands examples for prerequisites

@microsoft-github-policy-service agree [company="{GitHub}"]

@microsoft-github-policy-service agree company="GitHub"


Unable to execute build command for first odo push --devfile devfile.yml

/kind bug

What versions of software are you using?

Ran the steps manually in experimental mode.
Steps:

Create project odo project create testing
Create nodejs component
Copy nodejs project file to the current directory
Copy nodejs devfile.yml to the current folder
Create two different url on the same port
Do odo push or odo push --devfile devfile.yml

Actual behavior
$ export ODO_EXPERIMENTAL=true
$ echo $ODO_EXPERIMENTAL
true
$ odo project create testing
 ✓  Project 'testing' is ready for use
 ✓  New project created and now using project: testing
$ odo create nodejs --project testing xyzabc
Experimental mode is enabled, use at your own risk

Validation
 ✓  Checking devfile compatibility [151776ns]
 ✓  Validating devfile component [420569ns]

Please use `odo push` command to create the component with source deployed
$ odo url create abcd --port 3000 --host abcde.com --ingress
 ✓  URL abcd created for component: xyzabc

To apply the URL configuration changes, please use `odo push`
$ odo url create abpd --port 3000 --host abce.com --ingress
 ✓  URL abpd created for component: xyzabc

To apply the URL configuration changes, please use `odo push`
$ odo push --devfile devfile.yaml

Validation
 ✓  Validating the devfile [329026ns]

Creating Kubernetes resources for component xyzabc
 ✓  Waiting for component to start [293ms]

Applying URL changes
 ✓  URL abcd: http://abcd.abcde.com created
 ✓  URL abpd: http://abpd.abce.com created

Syncing to component xyzabc
 ✓  Checking file changes for pushing [4ms]
 ✓  Syncing files to the component [6s]

Executing devfile commands for component xyzabc
 ◑  Executing devbuild command "npm install" ✗
Unable to exec command [/bin/sh -c cd ${CHE_PROJECTS_ROOT}/nodejs-web-app/app && npm install]:
/bin/sh: line 0: cd: /projects/nodejs-web-app/app: No such file or directory

 ✗  Executing devbuild command "npm install" [2s]
 ✗  Failed to start component with name xyzabc.
Error: Failed to create the component: unable to execute the build command: error while streaming command: command terminated with exit code 1
$ odo push --devfile devfile.yaml

Validation
 ✓  Validating the devfile [201623ns]

Creating Kubernetes resources for component xyzabc
 ✓  Waiting for component to start [309ms]

Applying URL changes
 ✓  URLs are synced with the cluster, no changes are required.

Syncing to component xyzabc
 ✓  Checking file changes for pushing [1ms]
 ✓  No file changes detected, skipping build. Use the '-f' flag to force the build.

Pushing devfile component xyzabc
 ✓  Changes successfully pushed to component

Expected behavior
odo push --devfile devfile.yaml should not throw unable to execute build command for first push.
Any logs, error output, etc?

as discussed on slack with @prietyc123 , there was some confusion about root dir of the project, so source code was not getting synced on container, @prietyc123 If you are fine with the solution should we close the issue?

as discussed on slack with @prietyc123 , there was some confusion about root dir of the project, so source code was not getting synced on container, @prietyc123 If you are fine with the solution should we close the issue?

@adisky Thanks for clarifying the doubts. It worked for me now. Hence closing this issue.


ValueError: not enough values to unpack (expected 2, got 1)

Hi,
Thank you very much for this essential library ❤
I just upgraded my project to Django 4.0.4 and now I frequently get the following exception when refreshing the page:
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 55, in inner
    response = get_response(request)
  File "/usr/local/lib/python3.9/site-packages/debug_toolbar/middleware.py", line 67, in __call__
    panel.generate_stats(request, response)
  File "/usr/local/lib/python3.9/site-packages/debug_toolbar/panels/sql/panel.py", line 230, in generate_stats
    query["stacktrace"] = render_stacktrace(query["stacktrace"])
  File "/usr/local/lib/python3.9/site-packages/debug_toolbar/utils.py", line 75, in render_stacktrace
    directory, filename = abspath.rsplit(os.path.sep, 1)
ValueError: not enough values to unpack (expected 2, got 1)

The value of abspath is '<frozen importlib._bootstrap>'.
Let me know if you need further information.
Best regards,
Benoit

I'm getting the same kind of errors during tests after upgrading to 3.3.0, so the problem was likely introduced in this release.

Indeed, I'm using django-debug-toolbar 3.3.0.

Thanks for the report! I'm unable to reproduce this (I tried with Python 3.9 and 3.10 in Linux/WSL)
Do you have a way to print the stack which fails, e.g. by printing the value of query["stacktrace"]? That may prove useful.

It's a little hard to reproduce on my end. It only happens during tests (that I've noticed so far, anyway) and only when running pytest with xdist - so the tests running in parallel - and you can't use --pdb when running in parallel. Maybe that information is useful somehow.

The exception occurs every time I hit refresh after a status code 500.
To reproduce:

Edit a view to insert a bug (for example, an undefined symbol).
Open the corresponding URL in your browser.
Wait for the Django error page to show.
Remove the bug from the view
Refresh the page in the browser
No error is expected, yet you can see "not enough values to unpack (expected 2, got 1)"

So what I think is happening is that render_stacktrace is being passed a list of frame data and expects the first frame to be the path, but it's actually the frame.

@matthiask I don't think we're going to figure out what path and file to show when abspath is set to <frozen importlib._bootstrap>. This was probably always an issue but hidden by the Django template rendering system that was removed in #1571.
I think a reasonable solution would be:
if os.path.sep in abspath:
    directory, filename = abspath.rsplit(os.path.sep, 1)
else:
    directory = ""
    filename = abspath

I'm working on the PR to add the test to prevent regressions.

@bblanchon @knyghty could one of you confirm that #1613 fixes the issue for you locally?

@tim-schilling yes, my tests are passing now with that patch at least.

code = ''
func = '_find_andload'
lineno = 1007
locals_ = None

#1613 does fix the issue 👍

This fix was shipped in version 3.4 today.


Use FeatureFlag model rather than using ENV vars

We want to be able to change feature flags without having the need to
update the puppet or deployment repos. The current approach of using ENV
variables would require this.
Created a feature flag module which can take a name and a boolean value
and a rake task to update those feature flags.
If you want to update one you can call:
bundle exec rake feature_flag:set[new-key,true]

:+1: except tests failing


Question: is possible to add Ollama support?

Hi , great project here. I would like to ask if it is possible to have Ollama support fo local LLMs like Mistral Instruct 8b that can run in a laptop. Thz

See https://github.com/BuilderIO/micro-agent/issues/12
Should already have it to some extent although may need to add support for more models.

@velteyn here the config that worked for me.
Run micro-agent config and set all the option with the following:
endpoint=http://localhost:11434/v1/
model=mixtral:8x7b
key=ollama


Use pickle instead of dill for pytorch models

In this PR I removed few lambdas so that we can use pickle instead of dill to save pytorch models. This allows to use Hummingbird models where pickle is used for serialization (e.g., spark UDF). I added few tests on spark to prove this.

Codecov Report

Merging #498 (e846621) into main (f653d35) will decrease coverage by 6.08%.
The diff coverage is 91.37%.

@@            Coverage Diff             @@
##             main     #498      +/-   ##
==========================================
- Coverage   91.13%   85.05%   -6.09%
==========================================
  Files          77       77
  Lines        4263     4288      +25
  Branches      808      802       -6
==========================================
- Hits         3885     3647     -238
- Misses        206      460     +254
- Partials      172      181       +9

Flag
Coverage Δ

unittests
85.05% <91.37%> (-5.92%)
:arrow_down:

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

Impacted Files
Coverage Δ

...ummingbird/ml/containers/sklearn/tvm_containers.py
17.18% <33.33%> (-81.25%)
:arrow_down:

...ummingbird/ml/operator_converters/_gbdt_commons.py
92.85% <87.50%> (-2.21%)
:arrow_down:

...ummingbird/ml/operator_converters/_tree_commons.py
95.81% <94.28%> (-0.27%)
:arrow_down:

...mmingbird/ml/containers/sklearn/onnx_containers.py
90.99% <100.00%> (-2.71%)
:arrow_down:

...ngbird/ml/containers/sklearn/pytorch_containers.py
83.55% <100.00%> (ø)

...rd/ml/operator_converters/_tree_implementations.py
98.23% <100.00%> (+<0.01%)
:arrow_up:

...mmingbird/ml/operator_converters/sparkml/linear.py
42.85% <0.00%> (-57.15%)
:arrow_down:

...bird/ml/operator_converters/sparkml/discretizer.py
52.94% <0.00%> (-35.30%)
:arrow_down:

.../ml/operator_converters/_linear_implementations.py
75.55% <0.00%> (-22.23%)
:arrow_down:

... and 15 more

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 f653d35...e846621. Read the comment docs.


[AIRFLOW-223] Make parametrable the IP on which Flower binds to

Hello
I'd be glad if Flower could be set to bind to localhost only as could be done for Gunicorn.
dud

[Current coverage][cc-pull] is 67.92%

Merging [#1582][cc-pull] into [master][cc-base-branch] will increase coverage by <.01%

@@             master      #1582   diff @@
==========================================
  Files           116        116
  Lines          8292       8293     +1
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           5632       5633     +1
  Misses         2660       2660
  Partials          0          0

Powered by Codecov. Last updated by [0bd5515...d31ff09][cc-compare]
[cc-base-branch]: https://codecov.io/gh/apache/incubator-airflow/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/apache/incubator-airflow/compare/0bd5515a42f7912b0d4ac8bf33dec2f01539b555...d31ff09b06cab9b8d095a4a5beb733afcc8bfae6
[cc-pull]: https://codecov.io/gh/apache/incubator-airflow/pull/1582?src=pr

This requires a look from @aoen @mistercrunch @artwr @plypaul

LGTM, has this been tested?

Yes I'm using this feature. Here are some tests :
# CLI test :
$ grep flower_host airflow/airflow.cfg -c
0
$ airflow flower
[...]
[I 160615 12:35:59 command:136] Visit me at http://<IP_ADDRESS>:5555

$ airflow flower -hn <IP_ADDRESS>
[...]
[I 160615 12:37:44 command:136] Visit me at http://<IP_ADDRESS>:5555

# Configuration file test :
$ grep flower_host airflow/airflow.cfg
flower_host = <IP_ADDRESS>
$ airflow flower
[...]
[I 160615 12:44:07 command:136] Visit me at http://<IP_ADDRESS>:5555

Thanks! LGTM.


change: Refactor error handling for block subsidies

Motivation
Zebra is unnecessarily panicking when calculating block subsidies for blocks with heights in the slow start interval.
Solution

Support all heights when calculating the halving divisor.
Refactor block_subsidy():

Return an error instead of panicking for blocks with height in the slow start interval.
Explain why we're returning an error for those blocks.
Return SubsidyError instead of amount:Error.

Refactor error conversion.
Add new error variants.

Tests
Existing tests should suffice. Some tests needed adjustments.
PR Author's Checklist

[x] The PR name will make sense to users.
[ ] The PR provides a CHANGELOG summary.
[x] The solution is tested.
[x] The documentation is up to date.
[x] The PR has a priority label.

PR Reviewer's Checklist

[ ] The PR Author's checklist is complete.
[ ] The PR resolves the issue.

@mergifyio update

Is it is possible to point this pull request to the main branch?

@oxarbitrage can you please review this one now in @arya2's absence?


Add A FileReader Shim

It would be useful if you added a FileReader shim for lower versions of IE and an api layer that made uploading a file without a server a simple process.

Some of the methods are already available in the shim using the FileAPI but not all and with some limitations on the file size. You can check out the shim file source code to see which methods are implemented. Since this is just to support dying browsers unless you are willing to contribute it won't get enough time hence closing this.


Add MRI Ruby 2.3.0-preview1

Just came out today: https://gist.github.com/nurse/f95ead4fc08b5a454e12

:tada:


feat: added input support for security group, subnets and api-gateway domain

Added conditional variable assignment for security groups and subnets for environments without a default vpc
Added custom domain name for api gateway
Added snapshot capture for ec2 volume

the dynamic alteration of main.tf.template currently doesnt work but the general gist/idea is there to improve on


feat: added excluded_projects_by_prefix/substring capability

In addition to the full project_id filter, now this is able to filter by string contained into the project_id. Useful when yo have your GCP envs named with certain maner such as --- and you have one Dynatrace cluster for each env/proj/***

Implemented both python and Helm parts. Also added the comments into the values.yaml to clarify "why"

Hi @eandresr, could you contact me at marek.majcher at dynatrace.com? Thanks :)


training time

thanks for your great project and wonderful temporal prior!
When I retrain on your code (there is no change except removing the test() func, the training time is very long . I wonder if you have this problem during training?)
In addition, in order to speed up the training, I removed a part of the prequel in the optical flow network. I wonder if this part is useful?
change
 warped01, _, _, flow_mask01 = self.flow_net(frame_list[1], frame_list[0])
into (code/model/cdvd_tsp.py)
 warped01, flow_mask01 = self.flow_net(frame_list[1], frame_list[0])
change
# warp         frame_2_grad_warp, _ = self.warp(frame_2_grad, flow.detach())         frame_2_warp, mask = self.warp(frame_2, flow)         return frame_2_warp, flow, frame_2_grad_warp, mask
into(code/model/flow_pwc.py line 95)
# warp         frame_2_warp, mask = self.warp(frame_2, flow)          return frame_2_warp, mask
Thanks in advance！

Thanks! The main reason for the long training time is cascade training. Reducing the return values of the function cannot effectively reduce the training time.


[WIP] Add tokenize-hotwords option

This PR add tokenize-hotwords option to hotwods. Now we only support tokenizing hotwords for models trained on cjkchar, bpe and cjkchar+bpe. For those who want to use hotwords for other modeling units, they could set --tokenize-hotwords to false and pre-tokenize the hotwords before putting into the decoder.

Hi @pkufool, is there any update on this PR? Thanks beforehand!

Hi @pkufool, is there any update on this PR? Thanks beforehand!

Oh, I thought this was merged, will have a look.


Produce reference docs for FastAPI

First check

[x] I added a very descriptive title to this issue.
[x] I used the GitHub search to find a similar issue and didn't find it.
[x] I searched the FastAPI documentation, with the integrated search.
[x] I already searched in Google "How to X in FastAPI" and didn't find any information.
[x] I already read and followed all the tutorial in the docs and didn't find an answer.
[x] I already checked if it is not related to FastAPI but to Pydantic.
[x] I already checked if it is not related to FastAPI but to Swagger UI.
[x] I already checked if it is not related to FastAPI but to ReDoc.
[ ] After submitting this, I commit to:

Read open issues with questions until I find 2 issues where I can help someone and add a comment to help there.
Or, I already hit the "watch" button in this repository to receive notifications and I commit to help at least 2 people that ask questions in the future.
Implement a Pull Request for a confirmed bug.

Description

FastAPI's docs, while very good, do not have a reference view to the internal API. What are the arguments that a Response object takes? What are the arguments that a Query object takes? etc. A standard, autogenerated reference doc is needed! Now that I have a basic understanding of the things this framework can do, 90% of my questions can be answered by an online reference.

The solution you would like
Autogenerate reference docs and publish them with the rest of the docs, linked from the docs page.
One of this project's primary focuses is document generation for framework users. Seems like it should put that philosophy into practice for itself.
Describe alternatives you've considered

Build my own documentation for this framework?
Search the source code? (what I've resorted to doing most of the time)

We already have this PR and @tiangolo's opinion there: https://github.com/tiangolo/fastapi/pull/2275

There are a lot of duplicate issues, see:
#1588
#845
#804
We already have a PR(#2275) about it which is opened by @Kludex .

Closing as there are dupes. (I'm going to blame github search for this, as I did search for the terms in this case, but came up empty-handed.)
I find myself puzzled by @tiangolo rejecting the existence of API docs because of planned API changes in the future. When those API changes land, publish new docs, just as you would with any other change. It's much, much easier to change and republish autogenerated docs than to fix the dozens of prose docs that already exist, so I don't see how that tracks.

Thanks for the help here everyone! 👏  🙇
Thanks for reporting back and closing the issue 👍

Sorry for the long delay! 🙈  I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.


adjust to swiftpm api change

motivation: adjust to swiftpm api
changes: use platformBuildPathComponent computer property

tested with https://github.com/apple/swift-package-manager/pull/6870

@swift-ci test


After initializing the Directline in react native No other API call gets called

I am facing some issue like when I visit the chatbot screen then after that no other axios REST API call gets called but before that everywhere all REST API calls work. Could somebody tell me what's happening.
Here is the initialisation code using ref
directLine.current = new DirectLine({ secret });

@stevkan any solutions

@aamirpaddercrowdbotics - Apologies for missing this. Are you still in need of help on this?
Unfortunately, I don't have any experience with React Native, so I can't provide any concrete advice or solutions. However, React Native is briefly discussed in issue #3349 in which it is suggested to follow this article, So You Want to Build a Chat App with React Native, Expo and Microsoft’s Bot Framework. It may not perfectly align with your project, but it may provide insight into things you can try or changes you could make to get you on the right path.
@compulim @OEvgeny - Do you have any other thoughts on this?

Seems unrelated to Web Chat. We do not support React Native currently


Bot crashes when server returns response code 520

From time to time, the bot crashes when receiving a weird server response. This 520 is apparently a Cloudflare error, but I haven't been able to pinpoint what feed is causing it, or if it's from Discord itself.
Here's what the logs tells me:
[22:49:51.113] Fatal Error!
 { Error: unexpected server response (520)
    at ClientRequest._req.on (/usr/src/app/node_modules/ws/lib/WebSocket.js:650:26)
    at emitOne (events.js:96:13)
    at ClientRequest.emit (events.js:188:7)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:473:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:99:23)
    at TLSSocket.socketOnData (_http_client.js:362:20)
    at emitOne (events.js:96:13)
    at TLSSocket.emit (events.js:188:7)
    at readableAddChunk (_stream_readable.js:176:18)
    at TLSSocket.Readable.push (_stream_readable.js:134:10)
  type: 'error',
  target:
   WebSocket {
     domain: null,
     _events:
      { message: [Object],
        open: [Object],
        error: [Object],
        close: [Object] },
     _eventsCount: 4,
     _maxListeners: undefined,
     readyState: 0,
     bytesReceived: 0,
     extensions: {},
     protocol: '',
     _binaryType: 'nodebuffer',
     _finalize: [Function: bound finalize],
     _finalizeCalled: false,
     _closeMessage: null,
     _closeTimer: null,
     _closeCode: null,
     _receiver: null,
     _sender: null,
     _socket: null,
     _ultron: null,
     protocolVersion: 13,
     _isServer: false,
     url: 'wss://gateway.discord.gg/?v=6&encoding=json',
     _req:
      ClientRequest {
        domain: null,
        _events: [Object],
        _eventsCount: 4,
        _maxListeners: undefined,
        output: [],
        outputEncodings: [],
        outputCallbacks: [],
        outputSize: 0,
        writable: true,
        _last: true,
        upgrading: true,
        chunkedEncoding: false,
        shouldKeepAlive: true,
        useChunkedEncodingByDefault: false,
        sendDate: false,
        _removedHeader: [Object],
        _contentLength: 0,
        _hasBody: true,
        _trailer: '',
        finished: true,
        _headerSent: true,
        socket: [Object],
        connection: [Object],
        _header: 'GET /?v=6&encoding=json HTTP/1.1\r\nSec-WebSocket-Version: 13\r\nSec-WebSocket-Key: dy6oyrGu+0G23xmcG6+v/g==\r\nConnection: Upgrade\r\nUpgrade: websocket\r
\nSec-WebSocket-Extensions: permessage-deflate; client_max_window_bits\r\nHost: gateway.discord.gg\r\n\r\n',
        _headers: [Object],
        _headerNames: [Object],
        _onPendingData: null,
        agent: [Object],
        socketPath: undefined,
        timeout: undefined,
        method: 'GET',
        path: '/?v=6&encoding=json',
        _ended: false,
        parser: [Object],
        res: [Object],
        aborted:<PHONE_NUMBER>094 } } }

This unfortunately is on Discord's servers' end. Any errors like this where it completely throws the bot off is related to discord.js library that handles API requests to Discord - any feed related errors are handled gracefully and never crashes the bot. The only thing you can do is hope the issue will subside.


add documentation for starts/ends with collection matchers

Solves https://github.com/kotlintest/kotlintest/issues/436

:+1:


Betternether/Betterend crashing on mod loading with other mods

Mod Name
Betternether/Betterend, Absolute ULTRACRAFT
Mod Homepage
https://www.curseforge.com/minecraft/mc-mods/betternether ; https://www.curseforge.com/minecraft/mc-mods/betterend ; https://www.curseforge.com/minecraft/mc-mods/absolute-ultracraft
Describe the bug
Game crashes on mod loading, if it's the first time loading the mods together the resource pack loading animation will play before declaring a resource pack loading failure and crashing, following attempts to load the game will result in just a mod loading error before crashing
Steps to reproduce

Install Betternether, Betterend or both along with BClib
Install Absolute ULTRACRAFT along with either the forge or fabric version of azurelib (shared logs use the forge version)
Attempt to launch Minecraft

Logs
https://pastebin.com/e3VMg8qg ; https://pastebin.com/NBU74ULg
Additional context
Left the title as generic as possible because i'm not sure if this potentially applies to other mods, the game managed to launch successfully once, but i was not able to replicate it so far. sharing two logs just in case since as i said before the game crashes in a slightly different way if you remove and reinstall one of the conflicting mods.

having this issue on severs past beta 27


missing "get-file-content" from "@schematics/angular/utility/test"

Command
other
Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
15.0.5
Description
Since the 15.1.0 version the "test" has been removed in "node_modules/@schematics/angular/utility" folder.
If you inspect the "source code" zip (15.1.0) located here: https://github.com/angular/angular-cli/archive/refs/tags/15.1.0.zip the test folder is present.
But if you install the package (npm install<EMAIL_ADDRESS>the folder is not present in the "node_modules/@schematics/angular/utility" folder

15.0.5 folder structure

15.1.0 folder structure

angular-cli-15.1.0 zip contain

Minimal Reproduction
try to import fails

Exception or Error
No response
Your Environment
Angular 15

Anything else relevant?
No response

Hi @seneric,
Only exports from @schematics/angular/utility are considered as part public API. Anything else is considered as private API that can change in any version without warning.
See https://github.com/angular/angular-cli/pull/23041 for more context.

Why is it present in Zip file ?

That utility function is also outdated and will be completed removed from the source in the future.
The Tree instance itself now contains a readText method which can be used both within a schematic and a schematic test.


WMS ID#9001: added information regarding new features in AI-Speech 1.2 release

new features mentioned in this change:

now supporting multiple file formats as input
Hindi supported

Please provide the WMS id in the title of the Pull request and Images should have alt text required from an accessibility perspective

done
From: Madhusudhan Rao @.>
Date: Thursday, August 25, 2022 at 9:01 PM
To: oracle-livelabs/analytics-ai @.>
Cc: Alex Ginella @.>, Author @.>
Subject: [External] : Re: [oracle-livelabs/analytics-ai] added information regarding new features in AI-Speech 1.2 release (PR #18)
Please provide the WMS id in the title of the Pull request and Images should have alt text required from an accessibility perspective
[image]https://urldefense.com/v3/__https:/user-images.githubusercontent.com/70625227/186815918-49ac1a1e-b5eb-4f6c-b540-eb2f0a8f75af.png__;!!ACWV5N9M2RV99hQ!PW2xTxG6tncVmGSmVDPKJCJgCuijDnCrfEqRoyT7EEwfueRjo3ySyEKUD4xyJmR6FIH9KyhsEHatWt3jRVL1mxZRAF4$
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/oracle-livelabs/analytics-ai/pull/18*issuecomment-1228026008__;Iw!!ACWV5N9M2RV99hQ!PW2xTxG6tncVmGSmVDPKJCJgCuijDnCrfEqRoyT7EEwfueRjo3ySyEKUD4xyJmR6FIH9KyhsEHatWt3jRVL1boxVk70$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AXAIEPFLOUVHLN5NYKOUFULV3A6SPANCNFSM57UV2PWA__;!!ACWV5N9M2RV99hQ!PW2xTxG6tncVmGSmVDPKJCJgCuijDnCrfEqRoyT7EEwfueRjo3ySyEKUD4xyJmR6FIH9KyhsEHatWt3jRVL1pRURzqo$.
You are receiving this because you authored the thread.Message ID: @.***>


where is placed the files after installation?

hi.
I have used your method to install bashonwindows offline.
but I dont know where are placed the installed files.
I did a search for "C:\Users\USERNAME\AppData\Local\lxss" , but there is not lxss folder there. and only one Ixss folder is inside "C:\Windows\System32" that does not included this folders :
C:\Users\USERNAME\AppData\Local\Lxss\home\USERNAME
C:\Users\USERNAME\AppData\Local\Lxss\root
thanks

The installation process is not controlled by my code but `lxrun.exe'. You can open a issue in the official repo of BashOnWindows(https://github.com/Microsoft/BashOnWindows) to ask for help.


[Feature] Change the base URL of oss data

Description
The former base URL is https://oss.x-lab.info/open_digger/, as OpenDigger has independent infra now, we should change the base URL to https://oss.open-digger.cn/.
The 2 base URLs will both be valid for next 6 month and then the former one will not be updated then.

Ok, I will handle it as soon as possible afterwards.


Missing throttled.service file on arch

Can someone share throttled.service file, I have installed it using pacman but, service file is not there.....

Look like the the service name has been changed to lenovo_fix.service.
https://github.com/erpalma/throttled/issues/278#issuecomment-968212515


future: can we provide better tooling for top ARM errors?

#314 made me think if we can look at some of the common validate failures (and deployment failures) and provide feedback in the tooling...  at some point in the future.
Just wanted capture as an issue whilst thinking of it.

Can we provide a shortlist of things we would want to check for? Is it everything the TTK is doing, or only errors?


Multi-thread cause reliable channel failed

Hi Glenn,
I'm trying to init yojimbo in main thread, and tick in another newly created one (with c++11 std::thread), it seems unreliable channel works fine, but reliable channel is not working. Checking with wireshark, I noticed the payload was not sent. Any ideas? Thanks.

Shouldn’t make any difference
Sent from my iPhone

On Jun 11, 2018, at 8:04 PM, shanyang<EMAIL_ADDRESS>wrote:
Hi Glenn,
I'm trying to init yojimbo in main thread, and tick in another newly created one (with c++11 std::thread), it seems unreliable channel works fine, but reliable channel is not working. Checking with wireshark, I noticed the payload was not sent. Any ideas? Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

OK, I found the problem. Seems message info lost caused by lambda captured pointer. I will close this. Thanks.


[PL-43722] Update PL 813xx, 815xx, 816xx, 817xx RN

Update PL 813xx, 815xx, 816xx, 817xx RN
Sync published RNs with lists: https://harness.atlassian.net/wiki/spaces/PD/pages/21265449030/Release+Notes+2023
Add missing items, fix typos, update early access
Platform Release Notes
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6583afc02ac8775487dd9426--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6583cc7058d63aaa8a20bacb--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6583ccd4727b006253888b8f--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6583d35638826aab6b2699f2--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6583d6204f6415b0ed031787--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65844e304f641503f0031917--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://658459d338826a0b05269a02--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://658486910888fb2d0006adea--harness-developer.netlify.app


Hide irrelevant test jobs from deployment API payload

@smorgrav please review.

If there is a declared job of a specific type, the first of these will be chosen as the test job for instances without a declared job, which need that test run; in this case, no implicit job will run, i.e., not be shown here.
If there are no declared jobs of a type, the same (first) instance will be used to run that test job whenever needed; in this case, that job will be among these firstTestJobs, and the step with that implicit job will not be filtered out.

This is way too complicated.


Questions: ToolTop icon is not apparent enough. They just look like bullets.

Larger and brigher.

No need to have the info icon (top left) on the education panel instead use it to show the user what it looks like on the question list.

This is where the info icon is used in the notice (in blue).
https://github.com/FinDeckDao/findeck.io/blob/main/src/frontend/src/Screens/WatchList/Questionnaire.tsx

This is the question tool tip itself.
https://github.com/FinDeckDao/findeck.io/blob/main/src/frontend/src/Screens/WatchList/QuestionToolTip.tsx

The tool tip in our code base is rooted in this. Here is the documentation:
https://ui.shadcn.com/docs/components/tooltip
Here is the tooltip source in our project:
https://github.com/FinDeckDao/findeck.io/blob/main/src/frontend/src/components/ui/tooltip.tsx


Fix CodeFolding to work better in Bramble, turn on by default to aid readability

I want to try enabling CodeFolding by default, to help users make sense of deep-nesting, and be able to expand/collapse big sections of the code.  This also fixes things to look nicer in Bramble with our DarkTheme.
I got the idea for this reading http://jgregorymcverry.com/thirty-days-with-thimble/ where @jgmac1106 writes:
Keeping track of nested tags is probably the biggest headache I see students encounter.
In this screenshot you can get a sense of what it's like, where I've collapsed the <head>...</head> block to get it out of the way so I can focus on other parts of the code

r+

@jgmac1106, try https://bramble.mofostaging.net now and see what you think of the code folding.  I haven't pushed it to production yet.
cc @hannahkane, @flukeout fyi as well.

That is exactly what my students would need. They so often lose track of
what closing tag goes with what opening tags, especially when things get
complicated.
I tried a bung of tags, div, ul The codefolding worked on every as expected
(on divs but not p). I could not fold on sections.
Codefolding also worked sometimes on style sheets. Knowing how CSS naming
conventions work though may be more of a curricular issue. I still don't
know how to  "cascade" my naming convetions.
I am just glad I wrote the question correctly. I wasn't even sure how to
ask what I wanted to ask. I guess you now speak McVerryism
On Mon, Sep 21, 2015 at 12:14 PM David Humphrey<EMAIL_ADDRESS>wrote:

@jgmac1106 https://github.com/jgmac1106, try
https://bramble.mofostaging.net now and see what you think of the code
folding. I haven't pushed it to production yet.
cc @hannahkane https://github.com/hannahkane, @flukeout
https://github.com/flukeout fyi as well.
—
Reply to this email directly or view it on GitHub
https://github.com/humphd/brackets/pull/469#issuecomment-142031158.

NOTE: it will work for <p> tags, but it doesn't kick in until the block is multiple lines long (if it's only a line or two, it's not worth collapsing.

Love this! Very useful.