Action - Mobs - Not spawning with items

Talked to staff on the discord, if the last update didnt work then i needed to make an issue here.
The problem is that when i try to give them stuff in hand or armor it wont work. I try to load item in hand but it just doesnt work, ive even tried to put on the droprate first, wont work. ??

You should edit your post to fulfill required data using the Template provided otherwise your post would be invalid and no action would be taken for it

and?

Please note that while the next release of Quests will contain this fix, I fully intend to overhaul this to support more complex items in the not-so-distant future.


Multipart

EPIC
Goal
Simplify the use of multipart messages, on both (http) listeners and (http) senders.
Description
Right now we have multiple implementations (such as multipartXmlSessionKey) to 'build' a multipart message. We have zipIterators and attachmentIterators, we should also implement a multipart iterator to read parts, or build a multipart message.
This will/should automatically add Multipart support for the ApiListener.
Tasks

[ ] #3925
[ ] ForEachMultipartPipe
[ ] HttpSender Multipart Request
[ ] HttpSender Multipart Response
[ ] WebServiceSender Multipart Request
[ ] WebServiceSenderMultipart Response
[ ] ApiListener Multipart Request
[ ] ApiListener Multipart Response

Make a start in 7.9 and finish in 8.0


Clean up ESLint errors across the application

Goal
Now that we have the configuration being picked up thanks to #185, we can start fixing eslint issues. This is an all encompassing issues for eslint errors.
Reason
When you run eslint, there are a lot of errors
Tips

First step is to run yarn eslint --fix pages/**/*.js (swap pages for any other folder name to lint them instead: i.e. yarn eslint --fix components/**/*.js to automatically fix any errors that eslint is capable of fixing. ESLint will also provide a list of remaining errors in the terminal.
Batch your PR's by page (i.e.: All eslint fixes for post-a-job.js and any related components will be a single PR)

Definition of Done

[ ] There are no more eslint errors for the page you've decided to work on and the application functions just as it did before the lint errors were fixed.

I'll work on this!

 If it's up for grabs I can start tackling some of them!

Hey @seanwash ! I started working on this but currently working another open issue. Feel free to pick this up👍

🙌  Awesome! I'll self assign.

hello @seanwash, are you working on this issue? Would love to give it a try in case you are not working on it. Thanks

@Seremba go ahead!

I've assigned it to you @Seremba. 😎


feature request: "Community Wiki" posts

Stack Overflow gives users the ability to flag an answer as "Community Wiki", which means that anyone can edit it.
This would be a useful option to add inside of Zulip, so that we could create posts that are editable by others.

I am in favor of this feature.  It's probably a considerable amount of work to implement, since we need to be super careful about security concerns and properly attributing edits.  We might not need a full wiki implementation here, but we'll need some kind of mechanism to make sure that nearly-simultaneous edits don't overwrite each other, even if we just tell users their edits weren't "made in time", and that they have to do it again.
Fortunately, we do track edit history in the single-user case, so there's a little bit of infrastructure to build on top of here.

Adding this feature might help us compete with Piazza in educational settings.  See https://www.youtube.com/watch?v=LneGH0jv20s&feature=emb_logo

@showell I found this issue pretty interesting and I will love to work on it. It would be great if I get someone to guide me in this project and help me complete it.

I'd really like to have this feature. What is the status of this issue?

See also #4080 and #9278. Wiki-style posts would be super helpful for knowledge management and community building.

Would love for this feature to be implemented, it would massively increase usefulness for our team.


issue 104 tests

@vobu Sorry for late reply here are the tests for my issue #104

thanks for this! now that i'm back from 🌊 , i'll look into this asap as time permits

Hi @Regloom,
sorry for the long delay. Would be great if you could rebase and update the PR.
Thanks.
Gregor

thanks for being onboard 🙏 - but cds-pg sailed has sailed into the official SAP harbor and become a bigger boat ⛵😄
https://github.com/cap-js/cds-dbs/tree/main/postgres
Please continue contributing there!


Initialize the envoy snapshot without waiting for cache sync

To avoid retrying and polluting the logs with reconciler errors when the snapshot has
not been created.

/retest


Error when trying to serialize a Int64

I try to serialize Int64 using the library and it just fails with this error:
Error: haxe._Int64.___Int64 not supported
The int64 declaration is :
public var ID:haxe.Int64 = 0;
The comparison in Encoder.hx seems to be never triggered.
case "haxe.Int64"  : writeInt64(d);
Cheers

Hmm weird, what target is this? The class name should be haxe.Int64.

Flash and js

Okay I'll take a look at it.


Tiny ERT touch-up

About the PR
Changes the name of ERT commander backpack to ERT leader backpack. As to fall in line with the rest of the leader's gear.
Removes the small white pixel from the ERT leaders backpack's front facing sprite.
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame.

Changelog
No change large enough to warrant a log.

just a word for the wise: because of squash commits, don't name your first commit something wacky, such as:
Everything at the end of time.
Because, unless the maintainer remembers to change it, everyone will very publicly see a commit that is randomly named something unhelpful. it's also mildly embarrassing.

Guh, alright. Noted, thank you.


Reproduce problem

I tried to run your experiments with your provided hyperparameters, while I found the results are worse than you reported. Can you know the issues?

Can you provide more details? Which experiment you tried, what hyperparameters and how far off are you currently?

I have run experiments on CIFAR-10 with ResNet-18 using default parameters, while the learned LR happens to be NaN.
Also, I tried to set \mu as 0.99 or 0.999, and hyper-lr as 1e-6~1e-9. When hyper-lr is large, learned LR would be NaN; and when hyper-lr is large, learned LR would be almost constant.

It depends on the optimizer you are using. For the setup you mentioned, I'd say that for SGD 1e-7 to 1e-9 is a good value for hyper-lr and 0.01 is a good initial starting point. For this method, I'd always recommend starting from a lower initial_lr because the method can adjust it but if you start from a high value like 0.1 it can often diverge. About the value of mu, you can leave that at default or even set to 0.0. I think I should add this in our documentation.


[Question] Which lib is most suitable for a given project?

Hi, it's me again...
I'm currently using (for an other project) jarzebski's INA226 lib.
Is it possible to know what are the main differences between this one and jarzebski's?
I can already say I have met some problems with the later on an ESP32-S2 in readRegister16 method
A Wire.beginTransmission and Wire.endTransmission were used for a Wire.requestFrom.
This is unnecessary  and the Soc was hanging.
There was also an unnecessary delay(1) which caused a delay making me loose current variations.
Apart from these two points, what would be the main differences?
Can one be replaced easily by the other?

Sorry, i am not familiar with jarzebski's lib, have seen it long ago. I would need time to investigate/ compare it,
So I can't answer those questions.

Had a very quick look and noticed four things:

his latest contribution is 9 years ago, so I do not know if it is still maintained
45 forks, which might include improved versions
the delay(1) you mention is not needed as far as I know, however it could be part of supporting pre 1.0 Arduino versions?
different license


Add serialization infrastructure to core

This is half of a split PR across the two repos.

This change is

I know we've discussed exposing this as tf.registerSerializableClass from union.  But I think that's a third repo PR that can be decoupled from this pair.

Please take a look at the linter error:
https://travis-ci.org/tensorflow/tfjs-core/builds/371228940?utm_source=github_status&utm_medium=notification

Review status: 0 of 2 files reviewed at latest revision, all discussions resolved, some commit checks failed.

src/index.ts, line 46 at r1 (raw file):

export * from './serialization';

Should you put them under a namespace like tf.serialization.* for cleanliness?

Comments from Reviewable

Review status: 0 of 2 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.

src/index.ts, line 46 at r1 (raw file):
Previously, caisq (Shanqing Cai) wrote…

export * from './serialization';

Should you put them under a namespace like tf.serialization.* for cleanliness?

I thought that was handled at the union package level?
In any event, yes some, but I'm not sure all, should be namespaced.  Looking for some thoughts on that.  Just about every class in the Layers repo will need to import ConfigDict and SerializableMap.  The other ones are less common.  (Though I think once we proxy tf.registerSerializableClass -> SerializableMap.register(), we're only left with ConfigDict as a near universal import.
So I can maybe? see leaving the triplet of ConfigDict types in the root names space and moving the others?

Comments from Reviewable

Review status: 0 of 2 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.

a discussion (no related file):
Just added two files, suspect they'll be some breakages, but Daniel asked to see what it would look like to update a sample core Optimizer to be Serializable.  Since Optimizers share a common base class, we'll have to update them all at once.  I'd prefer to use the Optimizer purely for review purposes, then revert the changes to Optimizer and SGDOptimizer.  Migrate all of them in a single later PR.  Once we're happy with how it would potentially look.

Comments from Reviewable

Review status: 0 of 10 files reviewed at latest revision, 8 unresolved discussions, some commit checks failed.

a discussion (no related file):
Previously, nsthorat (Nikhil Thorat) wrote…
Overall this looks great. This barely adds anything to the bundle size and is a tiny change to the serializable classes.
Nice work.

Added a few responses while I work through the rest, just to make sure I'm interpreting them right.

src/serialization.ts, line 96 at r3 (raw file):
Previously, nsthorat (Nikhil Thorat) wrote…
maybe we can just call this classNameMap since we may use this for non-pythonic serialization. let me know what you think.

I think that rename works, once I add some jsDoc to outline the key of the map is expected to match the python name rather than the js name, if they differ.

src/optimizers/adadelta_optimizer.ts, line 106 at r3 (raw file):
Previously, nsthorat (Nikhil Thorat) wrote…
Instead of doing it this way, can we make all of the number fields separated from its Tensor version (admittedly my fault for making this inconsistency)? Eventually I'm going to add support for uploading numbers in place of Tensors so there won't be both.
Same in the other optimizers.

That sounds good to me.  I'll adjust.  It looks like I should probably just add protected/private to the constructor args?  Don't think anything else would need to change (aside from simplifying my getConfigs)

Comments from Reviewable

 Looks good, worth adding a few unit tests.

Reviewed 1 of 2 files at r1, 9 of 9 files at r3.
Review status: all files reviewed at latest revision, 8 unresolved discussions, some commit checks failed.

src/index.ts, line 46 at r1 (raw file):
Previously, nsthorat (Nikhil Thorat) wrote…
The union package just merges everything into a single package, it doesn't actually move symbols around. You should follow what "Second level exports" does below.

+1 to moving this to a second-level export. See below:
// Second level exports.
export {environment, test_util, util, serialization};

src/serialization.ts, line 30 at r3 (raw file):

 * the pythonic version as that's the portable format.  If you need to
 * python-ify a non-model level toConfig output, you'll need to use a
 * to-be-written-helper doing the inverse of models::convertPythonicToTs.

what is the "::" symbol in this case, since we are not in C++?

src/optimizers/adadelta_optimizer.ts, line 106 at r3 (raw file):

  getConfig(): ConfigDict {
    return {
      learningRate: -1 * this.c.dataSync().values().next().value,

s/this.c.dataSync().values().next().value/this.c.get()/ here and elsewhere

src/optimizers/adam_optimizer.ts, line 132 at r3 (raw file):

    return {
      learningRate: this.learningRate,
      beta1: this.beta1.dataSync().values().next().value,

same here: this.beta1.get()

Comments from Reviewable

Review status: all files reviewed at latest revision, 11 unresolved discussions, some commit checks failed.

src/optimizers/adadelta_optimizer.ts, line 22 at r3 (raw file):

 SerializationMap

You plan to add the public register method in a later PR, right?

src/optimizers/adamax_optimizer.ts, line 134 at r3 (raw file):
Previously, nsthorat (Nikhil Thorat) wrote…
overall this LGTM. can you add unit tests that check round trip serialization?

+1

Comments from Reviewable

Review status: 2 of 17 files reviewed at latest revision, 8 unresolved discussions, some commit checks failed.

src/index.ts, line 46 at r1 (raw file):
Previously, ericdnielsen wrote…
when I try that it gets unhappy.  Can I grab one of you later to look at this in person?

You have to import it first:
import * as serialization from './serialization';
...
export {environment, test_util, util, serialization};

src/optimizers/adadelta_optimizer.ts, line 106 at r3 (raw file):
Previously, ericdnielsen wrote…
That sounds good to me.  I'll adjust.  It looks like I should probably just add protected/private to the constructor args?  Don't think anything else would need to change (aside from simplifying my getConfigs)

Yeah you just add those, however you will need to rename the tensor wrappers as well.

src/optimizers/adadelta_optimizer.ts, line 106 at r3 (raw file):
Previously, ericdnielsen wrote…
So which do we want?  the c.get() that Daniel is listing, or introducing non-Tensor members?

we chatted and prefer non-Tensor members (if for some reason you serialize every tick of training, this will cause serious perf issues. we also don't want to set the precedent that some tensors can be downloaded and serialized as part of the model).

Comments from Reviewable

Review status: 1 of 17 files reviewed at latest revision, 8 unresolved discussions, some commit checks failed.

src/index.ts, line 46 at r1 (raw file):
Previously, nsthorat (Nikhil Thorat) wrote…
You have to import it first:
import * as serialization from './serialization';
...
export {environment, test_util, util, serialization};

Done, but still need to confirm it doesn't make -layers use too awkward.

src/optimizers/adadelta_optimizer.ts, line 106 at r3 (raw file):
Previously, nsthorat (Nikhil Thorat) wrote…
Yeah you just add those, however you will need to rename the tensor wrappers as well.

Done.

src/optimizers/adadelta_optimizer.ts, line 106 at r3 (raw file):
Previously, nsthorat (Nikhil Thorat) wrote…
we chatted and prefer non-Tensor members (if for some reason you serialize every tick of training, this will cause serious perf issues. we also don't want to set the precedent that some tensors can be downloaded and serialized as part of the model).

Done.

src/optimizers/adam_optimizer.ts, line 132 at r3 (raw file):
Previously, dsmilkov (Daniel Smilkov) wrote…
same here: this.beta1.get()

Done.

Comments from Reviewable

 Good to submit.

Reviewed 16 of 16 files at r4.
Review status: all files reviewed at latest revision, 6 unresolved discussions, some commit checks failed.

Comments from Reviewable


Support HTTPS on downloads

$ curl -I https://downloads.rclone.org/rclone-current-linux-amd64.zip
curl: (51) Unable to communicate securely with peer: requested domain name does not match the server's certificate.

😒

Will have a think on the best way forward. I think there is an https domain name I could advertise.
Note you can also download the releases from github which will be https.

You can find the downloads with https here: https://downloads-rclone-org-7d7d567e.cdn.memsites.com/
And also here: https://github.com/ncw/rclone/releases/latest


[DUOS-865][risk=no] Bug fix for Find Dataset By Name

Follow up to: https://broadworkbench.atlassian.net/browse/DUOS-865
Scope of Changes

We wanted to match dataset names irrespective of case, but it was implemented only removing case from one half. This change compares both names as lowercase.

Have you read CONTRIBUTING.md lately? If not, do that first.
I, the developer opening this PR, do solemnly pinky swear that:

[ ] I've followed the instructions if I've made any changes to the API, especially if they're breaking changes
[ ] I've updated the RC_XXX release ticket with any manual steps required to release this change
[ ] I've updated the FISMA documentation if I've made any security-related changes, including auth, encryption, or auditing
[ ] I've updated Swagger to reflect any API changes

In all cases:

[ ] Get two thumbsworth of review and PO signoff if necessary
[ ] Verify all tests go green
[ ] Squash and merge; you can delete your branch after this unless it's for a hotfix. In that case, don't delete it!
[ ] Test this change deployed correctly and works on dev environment after deployment

@rushtong I could attach %s around the query term in the service layer before sending it to the DAO if that's preferable?

@rushtong I could attach %s around the query term in the service layer before sending it to the DAO if that's preferable?

@lindojong I think the DAO is where it makes sense. Have a look at this example from DacDAO:
    @SqlQuery("select du.*, r.roleId, r.name, ur.user_role_id, ur.user_id, ur.role_id, ur.dac_id from dacuser du " +
              " inner join user_role ur on ur.user_id = du.dacUserId " +
              " inner join roles r on r.roleId = ur.role_id " +
              " where lower(du.displayName) like concat('%', lower(:term), '%') " +
              " or lower(du.email) like concat('%', lower(:term), '%') " +
              " or lower(du.additional_email) like concat('%', lower(:term), '%') ")

@lindojong I think the DAO is where it makes sense. Have a look at this example from DacDAO:
    @SqlQuery("select du.*, r.roleId, r.name, ur.user_role_id, ur.user_id, ur.role_id, ur.dac_id from dacuser du " +
              " inner join user_role ur on ur.user_id = du.dacUserId " +
              " inner join roles r on r.roleId = ur.role_id " +
              " where lower(du.displayName) like concat('%', lower(:term), '%') " +
              " or lower(du.email) like concat('%', lower(:term), '%') " +
              " or lower(du.additional_email) like concat('%', lower(:term), '%') ")

As an example, this returns 48 rows on dev:
SELECT * FROM dataset WHERE LOWER(name) LIKE CONCAT('%', LOWER('TOP'), '%');

As an example, this returns 48 rows on dev:
SELECT * FROM dataset WHERE LOWER(name) LIKE CONCAT('%', LOWER('TOP'), '%');

If we're ensuring both sides are being compared in lowercase, would it suffice to just use equals? SELECT * FROM dataset WHERE LOWER(name) = CONCAT('%', LOWER(':name'), '%'); Alternatively, the only bonus to fuzzy search that I can think of would be checking for stray special characters/punctuation, such as Dataset Name   vs Dataset name! vs Dataset Name..., etc. Do we want to flag those as being the same name?

If we're ensuring both sides are being compared in lowercase, would it suffice to just use equals? SELECT * FROM dataset WHERE LOWER(name) = CONCAT('%', LOWER(':name'), '%'); Alternatively, the only bonus to fuzzy search that I can think of would be checking for stray special characters/punctuation, such as Dataset Name   vs Dataset name! vs Dataset Name..., etc. Do we want to flag those as being the same name?

To address the requirements of the story, I think your first suggestion is the thing we should do:

If we're ensuring both sides are being compared in lowercase, would it suffice to just use equals? SELECT * FROM dataset WHERE LOWER(name) = LOWER(:name);

To address the requirements of the story, I think your first suggestion is the thing we should do:

If we're ensuring both sides are being compared in lowercase, would it suffice to just use equals? SELECT * FROM dataset WHERE LOWER(name) = LOWER(:name);


Simple Overload syntax

Search Terms
"Typescript Github issue overloading" (via google, i see no search entry in the page you linked)
I can not say that i understood about what these people talked (And i understand Haskell Monads...) So if this is a duplicate issue, forgive me.
Suggestion
Implement an overload syntax, which is

easy to use
pretty to look at
performant in the generated Javascript
nice to read in the generated Javascript

Example
I write in TypeScript:
interface Apple { taste:string }
interface Banana { color:string }

// 'overloaded' is the new syntax
overloaded function eat ( apple:Apple ) {
    console.log(`eat ${apple.taste} apple`);
}

overloaded function eat ( banana:Banana ) {
    console.log(`eat ${banana.color} banana`);
}

let apple: Apple = { taste: 'tasty' };
let banana: Banana = { color: 'yellow' };

eat( apple );
eat( banana );

TypeScript generates this Javascript:
function eat_Apple ( apple ) {
    console.log(`eat ${apple.taste} apple`);
}

function eat_Banana ( banana ) {
    console.log(`eat ${banana.color} banana`);
}

let apple = { taste: 'tasty' };
let banana = { color: 'yellow' };

eat_Apple( apple );
eat_Banana( banana );

i am aware of the following way to do it currently, checking for interface membership using the is trick:
interface Apple { taste:string }
interface Banana { color:string }

function isApple(apple: any): apple is Apple {
    if ('taste' in apple) {
        return true;
    }
    return false;
}

function isBanana(banana: any): banana is Banana {
    if ('color' in banana) {
        return true;
    }
    return false;
}

function eat(which: Apple|Banana) {
    if (isBanana(which)) {
        let banana = which as Banana
        console.log(`eat ${banana.color} banana`);
    } else if (isApple(which)) {
        let apple = which as Apple
        console.log(`eat ${apple.taste} apple`);
    }
}

let apple: Apple = { taste: 'tasty' };
let banana: Banana = { color: 'yellow' };

eat( apple );
eat( banana );

It sucks to write all this code.
There is duplication.
It is not easy to read – isBanana(banana: any): banana is Banana – Thats banana.
The eat function signature is not pretty (which parameter is not expressive).
The non performant membership tests go into the output.

Checklist
I guess my suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[ ] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

Duplicate of #3442.

[x] This feature would agree with the rest of TypeScript's Design Goals.

I'd say this goes against goal 6, and non-goal 1 and 5.

#3442 That issue where principal @kitsonk is purposefully misunderstanding the purpose.
Goal and non-goal violations:

I dont see how it goes against goal 6, please elaborate.
Non-goal 1: well, TypeScript uses types, lets make use of them.
Non-goal 5: yes thats a good argument. But there are cases where practicality beats purity. What i like about this is the terse syntax and that i pay no performance price for it – no runtime type checks and no OOP slowdown/brainfuck by creating classes where i dont want them. (In TypeScript) no ugly long function names repeating the information which is already contained in the parameter types. Just sweet interfaces, and sexy short function names. Also, a solution to the 'into which class do i put this method' problem (Answer: in no class).

@MartinJohns Ok, i see what you mean with goal 6, the fact that overloaded may be added to the javascript language. But that may also be the case with the other keywords TypeScript defines, eg. interface.

I think this issue is different from the other issue, because

the syntaxes suggested there are different and
my request is more narrow – i am just interested in some syntactical sugar without the implicit typing/OOP foobar.

This shall just be a small but useful syntactical addon to the already existing tools in the language.

qualified or typed may be alternatives to overloaded.

That issue where principal @kitsonk is purposefully misunderstanding the purpose.

I was not purposefully misunderstanding the purpose.
Your proposal is still a type directed emit, which is against the design goals of TypeScript.

Well, close it then.

I have no power to close issues.

This is a duplicate of #3442 and I don't understand why anyone would argue otherwise. Anyway it requires type-directed emit, which is a no-go.


WIP: Change Travis CI to use new container-based infrastructure.

How do you get gRPC now? Does it install in the container?

What was the reason why you had to install gRPC system wide?
This is no longer an option with the container-based infrastructure. But I also don't see any problem why we cannot just install it locally?

If it works installed locally, sure. I couldn't get the python libraries installed right, but maybe this is fixed in your setup. If stuff works, that's good!

Closing this one because we made the switch in a different PR: https://github.com/youtube/vitess/pull/890


Loose checking of docker version

Helps with distributions that identify themselves in the package name say Fedora 22 docker version: 1.8.1.fc22
Since semver.gte() can throw, it might be good idea to wrap it in try/catch block and either warn and continue or bail ourselves.

Good point @slobo, I like the idea of protecting the version check with a block of try/catch.
You add that this change in PR? Or I can already integrate and you open a new issue for us to prioritize this change?


Provide a hook for screenshots

Currently only the language runner can take screenshots on failure. Need to add  a hook to allow taking custom screenshots.

The language runners should continue taking screenshots IMO, we just need them to be more intelligent, and allow users to configure screenshot mechanisms.
For instance, the default screenshot mechanism in ruby could be to invoke gauge_screenshot, but that would just capture the active screen. Instead, there could be an option to use driver's built-in screenshot mechanisms, particularly useful when using headless drivers.

Implementations for a Custom Screenshot hook need to be added for each language implementation

[ ] Java
[ ] Csharp
[ ] [Ruby] (https://github.com/getgauge/gauge-ruby/issues/13)

Ruby support is being tracjed via getgauge/gauge-ruby#18


Subresource event filter predicate

Add event filter for ManagedDatabase to ignore updates to subresources unless it's the ManagedDatabase's currentVersion, in which case we want to reconcile the next migration.

I think we should invert the model and just filter out events for which the only thing that changed were things in the status subresource.  Other types will update when resourceVersion is changed. Doesn't look like Jobs were using the generation field anyways... So I'm guessing we can't just make the assumption that an update to the status of any object type will increment its generation.


Switch controllers have random disconnects when pressing buttons rapidly

BlueRetro firmware version
1.8.4
BlueRetro firmware specification
HW1
BlueRetro firmware variant
Universal
BlueRetro hardware type
External adapter with detachable cord
Manufacturer
blue-retro.com (teamRe)
System used
Nintendo GameCube, Nintendo Wii EXT, none
Bluetooth controller brand & name
Nintendo Switch Pro Controller/Switch Online N64 Controller
What is problem? (only list ONE problem per report)
N.B. Before I begin, I'll note that I reflashed stock 1.8.4 to my BlueRetro adapter before confirming this issue. The log below is from my customized button layout firmware per #783, but nothing is dramatically changed and again, I confirmed this issue on stock firmware.
EDIT: When I originally reported this issue, I had only encountered it on GameCube and in homebrew software. However, through further testing, the issue occurs across all platforms and all software, so I'm editing this filing.
Pressing buttons and/or D-pad directions rapidly on the above-mentioned controllers causes them to disconnect after a very short period. I can usually trigger a disconnect within about 30 seconds of mashing any two buttons, less if I just mash everything all at once. This issue can be reproduced on all platforms and even no platform, by powering the BlueRetro over USB, connecting a Switch Pro Controller and mashing buttons until it disconnects.
Things which do not trigger the issue:

moving either/both analog sticks erratically
pressing and holding multiple/many buttons
leaving a controller connected for long periods without pressing any buttons

Only rapid pressing and releasing of the button inputs (D-pad, A, B, X, Y, L, R, ZL, ZR, Plus, Minus, Capture, Home) seem to trigger this issue.
These interruptions occur especially frequently in certain game genres such as retro twin-"stick" shooters like Super Smash TV for SNES. In this game, the D-pad and face buttons function as substitute joysticks, with constant movement between different walking and shooting D-pad and button presses.
I believe the reason I was originally encountering this issue entirely in homebrew software is that the apps I was using were mostly retro emulators, resulting in a lot of heavy D-pad and button usage, whereas the commercial GameCube (and Wii) software I was testing with primarily used the analog stick, which caused the issue to occur much less often, due to the reduced button (D-pad) usage. However, now that I'm able to reproduce the issue "at will" with some quick mashing, I can confirm that it is not in any way related to what software is (or isn't) running on the wired end of the adapter.
Below is the original issue report in case there's anything useful that remains in that info.

Old, incorrect issue filing
When running homebrew GameCube software, Switch controllers drop their connection fairly regularly (every ~5-10 minutes in normal use). The controller fully disconnects, with the LED blinking and shutting off and the BlueRetro blinking the Bluetooth LED if it was the last controller connected. This problem does not occur when running licensed, commercial software.
The issue seems to vary across different homebrews/unlicensed software. Here's the behaviors I've observed so far:

CubeSX (PlayStation emulator): only NSO N64 loses connection, Switch Pro does not drop
Genesis Plus GX (Mega Drive and other Sega emulator): both controllers can lose connection
Not64 (Nintendo 64 emulator): both controllers can lose connection
Swiss (all-in-one launcher): neither controller loses connection
Xeno Crisis (unlicensed game): both controllers can lose connection

The issue only seems to occur if the controller is actively being used. Connecting a controller then leaving it sitting on a desk, they do not seem to drop connection. Talking with several homebrew devs, there's not any obvious connection between the apps which drop connection and those which don't--some use the older homebrew libogc library to talk to controllers, others use the newer libogc2. In the list above, all homebrews are using libogc2 except Genesis Plus GX, which is an original libogc app. Needless to say, actual GameCube controllers do not "lose connection" when running those apps.
Speculating as an end-user, it seems like the way (some?) homebrews access GameCube controllers must differ in some way from the way retail software does. While actual GameCube controllers tolerate this, perhaps when passed over the BlueRetro, Switch controllers are not able to handle this behavior. libogc2 does allow setting the polling rate manually, but according to @Extrems (sorry for highlight), the default is unchanged. I'm not aware of any other ways that homebrew might behave differently to commercial software.

EDIT: Some additional info, I am aware that Switch controllers are prone to losing their connection when sent too many rumble packets or subcommands in a short period.
See SDL:
/* How often you can write rumble commands to the controller.
   If you send commands more frequently than this, you can turn off the controller
   in Bluetooth mode, or the motors can miss the command in USB mode.
 */
#define RUMBLE_WRITE_FREQUENCY_MS 30

https://github.com/libsdl-org/SDL/blob/d65861f0496a58b2c2642c249f03ac3a08e820c3/src/joystick/hidapi/SDL_hidapi_switch.c#L49-L53
And Linux:
/*
 * Sending subcommands and/or rumble data at too high a rate can cause bluetooth
 * controller disconnections.
 */
#define JC_INPUT_REPORT_MIN_DELTA	8
#define JC_INPUT_REPORT_MAX_DELTA	17
#define JC_SUBCMD_TX_OFFSET_MS		4
#define JC_SUBCMD_VALID_DELTA_REQ	3
#define JC_SUBCMD_RATE_MAX_ATTEMPTS	500
#define JC_SUBCMD_RATE_LIMITER_USB_MS	20
#define JC_SUBCMD_RATE_LIMITER_BT_MS	60
#define JC_SUBCMD_RATE_LIMITER_MS(ctlr)	((ctlr)->hdev->bus == BUS_USB ? JC_SUBCMD_RATE_LIMITER_USB_MS : JC_SUBCMD_RATE_LIMITER_BT_MS)

https://github.com/torvalds/linux/blob/9ed22ae6be817d7a3f5c15ca22cbc9d3963b481d/drivers/hid/hid-nintendo.c#L544-L555
What did you expect to happen?
Controllers should stay connected unless otherwise configured.
Attach files like logs or Bluetooth traces here
nso-n64-disconnect-log.txt

I'll have to check with a logic analyzer one of those homebrew output.
The only thing on top of my head would be polling rate that is too high and constantly interrupting the ESP32 which would affect the BT controller task.

I should have mentioned this in the original filing, but I don't think it's a broader Bluetooth issue because non-Switch controllers seem to be able to maintain their connections. Perhaps they're just more tolerant of lost Bluetooth packets or something, but I haven't been able to reproduce this issue with Wii Remotes and Extrems couldn't reproduce it with a Wii U Pro Controller, although that's really only "one" type of controller since WUPCs are really just Wiimotes in disguise. Still, that makes me think it must be something specific to the way Switch controllers work.

I took traces of the data line with gc bios, swiss and genesis+, they are all the same: 2 successive poll at 60Hz.
But I couldn't reproduce issue I played Sonic 2 15 minutes at lunch.

Could it be similar to my issue? Though mine disconnect within like 1 minute and if not in use.

But I couldn't reproduce issue I played Sonic 2 15 minutes at lunch.

Hmm, odd. Perhaps it's specific to certain controller firmware versions? According to Joy-Con Tool, my Switch Pro Controller is on version 4.33 and my Switch Online N64 Controller is on 4.17.

Possibly notable: I just happened to be playing some GameCube homebrew stuff while the Switch controller was plugged into my Windows 10 PC. When the connection would drop, I would get the Windows disconnection/connection noises in quick succession. I don't know what exactly that means, but I wonder if the controller itself is completely rebooting, i.e. something causes it to crash rather than just losing its Bluetooth connection.
An additional note: when losing a connection in the conventional way (I just walked out the front door holding my controller and kept going until it dropped), the Switch Pro Controller goes back into searching mode, with the LEDs blinking from side to side. When a Switch Pro Controller gets disconnected from BlueRetro by whatever is causing this issue, the LEDs just shut off completely and only wake up again when the user starts pressing buttons, as if from cold boot. Again, this seems to suggest the controller is outright shutting down rather than "just" disconnecting.
While it may reduce controller responsiveness for certain functions, I wonder if some sort of subcommand queue might resolve the issue, where subcommands build up on the BlueRetro end and are sent out to the Switch controller at a predetermined rate rather than as soon as they're ready to go. I did try hacking around in the code a little to try to reduce the number of subcommands going out by commenting out these lines:
https://github.com/darthcloud/BlueRetro/blob/be6b1bd8debe818432e960231f7f6d424985bcee/main/adapter/wireless/sw.c#L530-L538
But while this (as expected) did cause rumble to stop working, the controller still lost connection after a few minutes of play. I can see that there's a lot more subcommand-related stuff in /main/bluetooth/hidp/sw.c, but that goes way over my head, I can't tell how often any of those subcommands are being sent or which can be safely disabled for testing purposes. If there's an easy way to reduce the frequency of subcommands being sent, I'd be happy to run off a test build to see if that helps.

There is really no subcmd sent to the controller past the init in hidp. Only the rumble cmd which can be disabled by disabling rumble feature.

There is really no subcmd sent to the controller past the init in hidp. Only the rumble cmd which can be disabled by disabling rumble feature.

I see, thanks. This is definitely an odd one. In other news, with further testing I can confirm that this issue is not in any way related to the GameCube or to homebrew software. The issue occurs on all platforms regardless of the software that's running on the wired end of the adapter. I've updated the initial issue filing and will quote the new edited portion here for easier reading:

Pressing buttons and/or D-pad directions rapidly on the above-mentioned controllers causes them to disconnect after a very short period. I can usually trigger a disconnect within about 30 seconds of mashing any two buttons, less if I just mash everything all at once. This issue can be reproduced on all platforms and even no platform, by powering the BlueRetro over USB, connecting a Switch Pro Controller and mashing buttons until it disconnects.
Things which do not trigger the issue:

moving either/both analog sticks erratically
pressing and holding multiple/many buttons
leaving a controller connected for long periods without pressing any buttons

Only rapid pressing and releasing of the button inputs (D-pad, A, B, X, Y, L, R, ZL, ZR, Plus, Minus, Capture, Home) seem to trigger this issue.
These interruptions occur especially frequently in certain game genres such as retro twin-"stick" shooters like Super Smash TV for SNES. In this game, the D-pad and face buttons function as substitute joysticks, with constant movement between different walking and shooting D-pad and button presses.
I believe the reason I was originally encountering this issue entirely in homebrew software is that the apps I was using were mostly retro emulators, resulting in a lot of heavy D-pad and button usage, whereas the commercial GameCube (and Wii) software I was testing with primarily used the analog stick, which caused the issue to occur much less often, due to the reduced button (D-pad) usage. However, now that I'm able to reproduce the issue "at will" with some quick mashing, I can confirm that it is not in any way related to what software is (or isn't) running on the wired end of the adapter.

I the grand scheme of things Switch support controller on BlueRetro simply sucks in every aspect.
This isn't due to the way BlueRetro configs the controller, I did wireless trace of what a real Switch console do and pretty much do the same.
I think the real problem is the ESP32 BT controller that doesn't play well at a baseband level with those controller.
It's closed source, so I need to go through espressif to get things fixed. That's a challenge on it's own since I've done a 100% custom BT stack.
My plan is to add support for an Infineon BT radio and then it will be easier to make comparison of two different BT controller using the same BlueRetro stack. I'm hopeful everything will work on the other and that this will rule out the BR stack, leaving the ESP32 BT controller to point finger at.
Using an ESP32 as a BT radio on windows/linux would be an interesting test too, to see if Switch controller behave as usual with that.

That truly stinks. I am sure you can figure something out :)

This morning I updated my N64 BlueRetro adapter to 1.9 and immediately started noticing these issues with the D-Pad causing disconnects on my N64 Switch controller. Googling the issue brought me here. Holding the button on the adapter for 10 seconds seems to have reverted it back to 1.8.3 and it's now working normally again.

That's good info, I did remove a old hack that was keeping the connection alive since I thought I had figured the proper way to do it. I will revisit that for v1.9.1 so that it their is at least no regression.

I am also experiencing issues with my NSO N64 controller disconnecting if there are too many button presses within a short period of time. It is easily reproducible.
However whilst on 1.8.3 I was still having disconnection issues, but I cannot confirm if that was due to having many button presses.
To make it worse, whilst on 1.8.3, if my controller disconnected then it would refuse to re-pair unless I power-cycled the adapter/n64 console. This is a real pain because I'd be unable to save my game.
I will try downgrading to 1.8.3 to see if these issues reoccur.

Maybe related, but in https://github.com/darthcloud/BlueRetro/issues/824#issuecomment-1824045865 we’re finding more reliable connections with v1.7.3

I just received my Blueretro n64 adapter and noticed drop outs when using a Switch Online N64 controller. I tried a dualshock 4 and it seems to work fine. I upgraded to 1.9 before using it.

This appears to resolve the issue on my end. I'm no longer able to trigger disconnects after mashing buttons for five full minutes, where previously I could reliably trigger a drop within a few seconds.
Tonight is busy but I'll make time to do a longer test tomorrow (~20 hours from now). I'm already pretty confident you've fixed this though. 👍

Was able to put in some more time, I did:

20 straight minutes of button mashing, zero issues except my fingers hurt
~20 minutes of Xeno Crisis (frantic 8-button game), zero issues
~40 minutes of Smash TV (" " "), zero issues

I'm happy to call this definitively resolved. Thanks so much for all the work you've put into Switch, I know it's been a nightmare on your end. I won't close this issue purely in case you want to keep it open until the next release is out, but obviously feel free to close per whatever is your standard practice. Thanks again and great work!

@vaguerant thanks for testing!
I did test also last night but on N64 with RetroTime dongle, played with my everdrive using an NSO N64 ctrl for around 1h30 with no issues whatsoever. Swaping often between rumble and controller pak. Look more solid that it ever was TBH.

Fix is now in v1.9.1


roadmap update as of v0.4.0

v0.5.0 refers to incremental development

v0.6.0 refers to parts of data agents

LGTM


[XP-XXX] fix convert to map for scala 2 13 compilation

Fixes a compilation error on Scala 2.13.8 that prevents from integrating with msc-backend: https://github.com/snowplow-product/msc-backend/actions/runs/4595855130/jobs/8116609130?pr=1629

LGTM, I've also had this issue, but just used sbt command directly


Reset button?

I seem to get it into a state where no command is interpreted any longer. I can click the top buttons and they put text in the window but if I hit run or ctrl/cmd-enter nothing happens. There are no errors visible. So, would it be possible to have some type of a reset button? I'm not sure what that would do since when this happens today I have to ctrl-c out and do npm start again.

There's various errors that aren't handled properly, one category is covered by #12. I have no idea how to recover from those, since the wasm process or worker or whatever it is seems to kinda crash.
For me its enough to reload the page to get back to a working state.
So I think this needs to be addressed by improved error handling.

@jzaefferer - if the commands don't work, should we just not show them?  I think you were saying you wanted to show them but just have them error when you use them

Yes, I think "not supported in the browser (via WebAssembly)" is better in this demo than pretending that the command doesn't exist.

Maybe we can make the list, like you're doing, and register these commands to return that message. As we start to make them work in wasm, we can remove this shim error registration.

That sounds good to me!

I think the WIP notice and eventually dealing with #12 is going to take care of this.


Branch: Semantic Segmentation

@mlaradji Please review this pull request.

@netik1020 I am working on integrating this into AI-Platform. Due to the age of this PR (which is my bad), I'll be making changes on the produvia-netik1020/object_segmentation branch, and progress will be tracked and pushed in #157.


view not updated

via padrino 0.13.2,
my view isnt reloaded when i refresh the browser..
what may have caused it?
did i missed anything in configuration?
when i change my controller code, it is working...

Can you provide more details and a example (look into the issue #2051)

hi Wikimatze, here are part of my project,
could it be due to slim layout?
https://gist.github.com/u007/60c01a4712296c1e0697967189b670e1

changed to erb layout, same issue,

Please try to do enable :reload in your app.rb. It does not get enabled because your environment is different from 'development'.

hi ujifgc, yes i do have it.
controller is refreshing, but view isnt.
my app/app.rb has added the enable :reload , but just curious, i added one more
but still didnt work

yes, you guys are right,
my RACK_ENV is not development, therefore:
enable :reload (works with controller)
enable :reload_templates (now it works with template)
can someone add this in the doc? thank you :)

Hi @u007 feel free to make a pull-requests for the docs under https://github.com/padrino/padrino-docs. If you need help with it, just ping me.

hi @wikimatze
how about model?
i did a rename on a has_many :name due to typo for :name,
but it does not seems to reload.
controller changes and views now works with reload...
only model have this issue...

okay nvm, i think i got it mixed up , it works :)

Glad, that it worked out for you.


defects list in Terminated kept separatedly from termination causes

It may be nice to keep consistency and allow the user to easily distinguish between defects and causes when the evaluation terminates.
Also I'm curious what happens when computation succeds but bracket finalizers fail?
It seems logical to return the value computed. At the same time in case it happens user may wish to get a list of defects as well. So I think it may be a good idea to add defects list into ExitStatus.Completed as well. What do you think?

I think if finalizers fail, the fiber should be terminated. Since the users can always prevent finalizer failure, if they want, by doing, e.g. io.fork, where io is the finalizer.

Okay. What about keeping defects separatedly in Terminated branch?

@pshirshov I think it makes sense to preserve maximum information, e.g. interruptionCauses: List[Throwable], defects: List[Throwable]. The only problem with a naive representation like this is that Nil for terminationCauses can be confused with "there are no causes for termination".
@regiskuckaertz used an Option[List[Throwable]] but we may be well-advised to introduce something for this, perhaps a new ExitStatus result which can distinguish from termination-due-to-defect and termination-due-to-interruption (but both can have defects).

@jdegoes , so , do you want me to try to finish this or I shouldn't?
In case you want - do you have any idea how may I make it better to get rid of such an issue?
Maybe something like
Cause = Defect(throwable) | Failure(throwable)

class Terminated[E, A](causes: List[Cause])

?

I think something like this would do it:
trait ExitResult[+E, +A]
object ExitResult {
  final case class Done[A](value: A) extends ExitResult[Nothing, A]
  final case class Failed[E](error: E, defects: List[Throwable]) extends ExitResult[E, Nothing]
  final case class Interrupted(causes: List[Throwable], defects: List[Throwable]) extends ExitResult[Nothing, Nothing]
  final case class Defected(defect: Throwable, defects: List[Throwable]) extends ExitResult[Nothing, Nothing] // Basically NonEmptyList[Throwable]
}

I think this looks pretty precise and captures all the right distinctions.
@regiskuckaertz ???

Yes, that makes sense, defects collects exceptions in finalizers; Done and Defected are polar opposites 👍

@pshirshov If you'd like to finish this (with the above hint: basically modifying ExitResult to be more precise), then I'd love to merge it. 😄

@jdegoes : me or my colleagues will. Sorry, busy with business logic atm, should come back to this on the weekend :)

I think as part of this change we should consider:
IO.terminate => IO.defect(t: Throwable)
i.e. changing the terminology to be more consistent, and requiring a Throwable for any defect. Interruption should not necessarily require a cause, but a defect must always have a cause.

Sorry, guys, seems like I can't finish this on this weekend. Have to take care of some accounting issues :/

@pshirshov No worries, thanks for the update!

 I hope I can finally return to the subject this weekend.

Gonna rework it. Bit more later, sorry.


[Function Expose] Codeunit 9651 Document Report Mgt. - function TryXmlMergeWordDocument

Hello,
Can you make function TryXmlMergeWordDocument external since we could use it in our app and probably overcome problems created with COMMIT in the same CU in function MergeWordLayout.
Please see #3496.
Thanks,
Zoran

Hi Zoran. Seems we don't have plans to make mentioned function external and available for AL development.

You can re-open issue later if you think something else should be done here.


Wrong URL for metrics in local cluster

Cluster Setup

Kubernetes version: v1.24.8+k3s1
Type of Cluster (RKE1, RKE2, k3s, EKS, GKE, AKS, OKE, etc): k3s
Installation option (Helm Chart / Custom Installation):

If Helm Chart, did you supply any non-default values? If so, what values did you supply:

$ helm -n cattle-system get values rancher
USER-SUPPLIED VALUES:
auditLog:
  level: 2
bootstrapPassword: xxxxxx
certmanager:
  version: 1.8.1
hostname: xxxxxxx
ingress:
  enabled: true
  tls:
    source: letsEncrypt
letsEncrypt:
  email: xxxxxxxxxxx
  ingress:
    class: traefik
rancherImage: mtr.devops.telekom.de/rancher/rancher
rancherImageTag: v2.7.0
replicas: 2
systemDefaultRegistry: mtr.devops.telekom.de

Describe the bug
rancher-monitoring-101.0.0+up19.0.3
prometheus-federator-1.0.0+up0.1.1
When I install Project Monitoring on the local Cluster in Rancher, the metric charts on the front dashboard and in Grafana are empty.
It seems the called URL is wrong:
/api/v1/namespaces/cattle-project-p-6wlzz-monitoring
instead
/k8s/clusters/local/api/v1/namespaces/cattle-project-p-6wlzz-monitoring
Rancher is installed in multi-cluster mode. On the downstream cluster it'ts working.
To Reproduce
Install Prometheus Federator and Project Monitoring with default settings via Rancher UI
Result
Metrics empty
Expected Result
Metrics visible

This issue is not related to the prometheus-federator itself, but to how it's used in rancher/dashboard. I created https://github.com/rancher/dashboard/issues/8346 to track this there. PR to fix the URL: https://github.com/rancher/dashboard/pull/8347.

thx @bashofmann
will close this issue here


Testcontainers postgres

Use testcontainers postgres in unit and integration tests.
This relieves us from having a postgres database available before running the (integration test suite).
Requires a running and up-to-date docker environment.

:+1:

:+1:

:+1:


Add Camden to list of councils in prototype

Added a Camden template and .scss, and updated the councils.json list

@Josh--M Thanks for this Josh - It's looking really good. There's a few more things though that could be copied from Camden's website to make it look more realistic. Let me know if I'm wrong, but as I understand it the new live service would include:

The header
The sidebar (headed "Transport and Streets" in below screenshot)
The footer section
The related information section, just above the footer

Particularly for the header, an image would be fine (or a couple images for different screen sizes). We just need the user to be having a realistic experience so we can see what they do and if they want to click on anything outside of the service content.
Screenshot of Camden's current website

Screenshot of current localisation

Hey @sanjaypoyzer
Fair question. The main camden.gov.uk website does use the extended header, left-hand navigation, related information, and extended footer. This is for main content. Service transaction pages however are more streamlined - using a smaller header and footer, and content links (sidebar and related info).
For example:

So basically I've gone for the service transaction template here. I've just added a couple more changes, to tidy the footer link, and to reflect the fixed-width layout that's used.

Also: not sure whether it's worth raising an issue for, but when returning from the Verify prototype I was being kicked back to the service start page (with Argleton style selected), instead of the 'Verify says this is your date of birth - is that correct?' page (can't double-check this at the moment as the IDP prototype is non-responsive right now).
Is there anything you need to do on your end to enable camden-concessionary-travel as a return path?

@Josh--M Ah ok, thanks for clarifying that. In that case it's ready to merge!
Link back should work now it's merged, it's because the verify prototype links back to the hosted prototype rather than your local instance.

Nice, thanks! 👍
Minor thing: still having a routing issue when returning from Verify (this is even when using the hosted prototype, not my local instance).
After the 'checking details' screen (https://govuk-verify.herokuapp.com/wait-for-match?action=sign-in&requestId=concessionary-travel-camden), I expect to end up on the 'confirm DOB' screen (https://verify-local-patterns.herokuapp.com/service-patterns/concessionary-travel/example-service/confirm-dob).
However, I am taken right back to the start page (https://verify-local-patterns.herokuapp.com/service-patterns/concessionary-travel/example-service/start-page).
Interestingly, the expected path does work if I insert other council names into the URL eg:

https://govuk-verify.herokuapp.com/wait-for-match?action=sign-in&requestId=concessionary-travel-argleton
https://govuk-verify.herokuapp.com/wait-for-match?action=sign-in&requestId=concessionary-travel-buckinghamshire
^requesting either of these will redirect to the 'confirm DOB' screen (with the Camden styling applied)

I can fudge it for demo/testing by just loading the 'Confirm DOB' screen in a separate tab, but it's a bit jarring. Any ideas what might be causing it? (a mapping somewhere?)

@Josh--M Gah sorry, yes that was my fault. I didn't add Camden with the others and then when I did yours the other day I did it in a bit of a rush. Works properly now.

No prob, all good now. Cheers!


Fixed Weird NavBar Spacing Issue

Now if you aren't logged in you can only see the Home Page link and the Login / Sign Up link


Geojsons are not displayed in demo

Hello,
I am quite impressed by this combination of bootstrap and leaflet! I really want to use it for a little project. But I am having difficulties with the downloaded version: it doesn't show the Geojsons (Museums, Theaters, Boroughs and Subways) – They don't appear in the downloaded version. And I am to new to js. to find the error by myself.
So could you please check the data you gave for download? Thanks!

Thanks for the kind words! Make sure you are running it from a local webserver (localhost).

Thank you! That was the problem ;)

Happy to help!


control using earphone not working

Using earphone we can pause the player but cant play it again

This is a small issue, please bear with it bro.

This is a small issue, please bear with it bro.
Tf is wrong with you atleast he/she reported it

This is a small issue, please bear with it bro.

Tf is wrong with you atleast he/she reported it
Leave its ok
And its he😂😂

Is this still an issue in the latest beta?

Is this still an issue in the latest beta?

No just checked works fine in 1.8.6 beta

This is a small issue, please bear with it bro.

Tf is wrong with you atleast he/she reported it

Leave its ok And its he😂😂

😂😂


How to use disconnect function?

Hi There! I am still new to Rust and couldn't figure out how to use the function to disconnect from TikTok.
My function here:
pub async fn connect(username: String, mut cancel_rx: oneshot::Receiver<()>) {
    let join_handle = tokio::spawn(async move {
        let client = TikTokLive::new_client(&username)
            .configure(configure)
            .on_event(handle_event)
            .build();

        tokio::select! {
            result = client.connect() => {
                match result {
                    Ok(_) => {
                        println!("Connected to the stream - {}", username.clone());
                    },
                    Err(e) => {
                        println!("Error {}: {}", username, e);
                    }
                }
            },
        }
    });

    if let Err(e) = join_handle.await {
        eprintln!("Error while stopping the Twitch service: {:?}", e);
    }
}

Well, it really depends on the context
When your condition to disconnect is met you can use
client.disconnect();

Well, it really depends on the context When your condition to disconnect is met you can use
client.disconnect();

The problem is that I can't use the disconnect method because the variable client is already in use and the TiktokClient struct doesn't implement the Copy property.

I can't really tell from that snippet, if you can make a mock of your app and push it on git, i will clone it and might be able to help you.

Well, it really depends on the context When your condition to disconnect is met you can use
client.disconnect();

The problem is that I can't use the disconnect method because the variable client is already in use and the TiktokLiveClient struct doesn't implement the Copy property.

I can't really tell from that snippet, if you can make a mock of your app and push it on git, i will clone it and might be able to help you.

Well, it really depends on the context When your condition to disconnect is met you can use
client.disconnect();

The problem is that I can't use the disconnect method because the variable client is already in use and the TiktokLiveClient struct doesn't implement the Copy property.

I invited you to my repository

Ok, we'll continue from there


Add documentation for TranslationService

Addresses comments in Issue #21.

Coverage remained the same at 100.0% when pulling cb48f56de9333d18cfc5596837cb7fe4038482c8 on service-docs into 4b47896ccdb27d36d693eb817d321cef8401f9cd on master.

:+1:

Looks good to me!


Build demo app for Github Pages

@Fafruch Looks great! Consider adding buttons and you must link back to github repo, see i.e. my http://tb.github.io/ng2-nouislider/


Add user-select property

All the options are selected by just double-clicking somewhere, so I think we need to disable it with user-select. I'm already ready to open PR for this.

I was hoping we could avoid doing that. Maybe adding event.preventDefault() to canvas mouse handlers would work?

I was hoping we could avoid doing that. Maybe adding event.preventDefault() to canvas mouse handlers would work?

That'd work, but clicks/drags on the labels would still select them. Is there any accessibility downside to disabling user-select on the labels?

That’s why I asked in the other PR if there were best practices dealing with keyboard / mouse inputs.
I’m happy adding hacks if there’s no good way :)
Feel free to send a PR and we’ll merge it


Add Send constraint to CompressionCodec

I've been replacing my own libchdr Rust bindings with this crate (thanks for this project btw!), but I ran into a problem where I couldn't send a ChdFile across threads. This occurs as dyn CompressionCodec doesn't satisfy Send automatically.
I think it would be reasonable to require Send from any codec implementations, so I think placing this constraint here should be fine.

Hi! I’m on vacation right now but I’ll take a look once I get back. Thanks!

Ok, I merged this for now but probably won’t release until I get some downtime.

Published as of 0.1.1.


after js example wth reverse proxy gives module errors - HMR looks broken.

ive installed the module with curl and yarn installed. ive also added razzle-plugin-proxy to reverse proxy behind nginx.
nginx config
    # after.js (based on razzle.js)
    location ^~ /after-dev/webpack/sockjs-node/ {
        proxy_pass http://<IP_ADDRESS>:3011/sockjs-node/;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        proxy_set_header Host $host;
        proxy_cache_bypass $http_upgrade;
    }
    location ^~ /after-dev/webpack/ {
        proxy_pass http://<IP_ADDRESS>:3011/;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        proxy_set_header Host $host;
        proxy_cache_bypass $http_upgrade;
    }
    location /after-dev/ {
        proxy_pass http://<IP_ADDRESS>:3010/;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        proxy_set_header Host $host;
        proxy_cache_bypass $http_upgrade;
    }

.env file
# dev mode with path
PUBLIC_PATH='https://razzle.syntapse.co.uk/after-dev/'
CLIENT_PUBLIC_PATH='https://razzle.syntapse.co.uk/after-dev/webpack/'
PORT=3010

# production mode with path (run with start:prod)
# PUBLIC_PATH=https://apps.syntapse.co.uk/razzle-prod/
# PORT=3012

yarn start
$ razzle start
 WAIT  Compiling...

✖ Client
  Compiled with some errors in 5.31s

◯ Server

✖ ｢wdm｣: Hash: 374b22757024169a5a3c
Version: webpack 4.41.4
Time: 5311ms
Built at: 12/21/2019 11:45:06 AM
                          Asset      Size  Chunks                   Chunk Names
           static/js/0.chunk.js  33.3 KiB       0  [emitted]
       static/js/0.chunk.js.map  34.9 KiB       0  [emitted] [dev]
           static/js/1.chunk.js  9.48 KiB       1  [emitted]
       static/js/1.chunk.js.map  4.48 KiB       1  [emitted] [dev]
           static/js/2.chunk.js    12 KiB       2  [emitted]
       static/js/2.chunk.js.map   4.2 KiB       2  [emitted] [dev]
            static/js/bundle.js  2.43 MiB  client  [emitted]        client
        static/js/bundle.js.map   2.7 MiB  client  [emitted] [dev]  client
static/media/react.9a28da9f.svg  7.72 KiB          [emitted]
Entrypoint client = static/js/bundle.js static/js/bundle.js.map
[1] multi (webpack)-dev-server/client?http://razzle.syntapse.co.uk (webpack)/hot/dev-server.js ./node_modules/razzle-dev-utils/webpackHotDevClient.js ./src/client 64 bytes {client} [built]
<EMAIL_ADDRESS>417 bytes {client} [built]
[./node_modules/process/browser.js] 5.29 KiB {client} [built]
[./node_modules/razzle-dev-utils/node_modules/sockjs-client/lib/entry.js] 244 bytes {client} [built]
[./node_modules/razzle-dev-utils/node_modules/strip-ansi/index.js] 150 bytes {client} [built]
[./node_modules/razzle-dev-utils/webpackHotDevClient.js] 7.74 KiB {client} [built]
[./node_modules/react-dev-utils/formatWebpackMessages.js] 4.27 KiB {client} [built]
[./node_modules/react-dev-utils/launchEditorEndpoint.js] 330 bytes {client} [built]
[./node_modules/react-dom/index.js] 1.33 KiB {client} [built]
[./node_modules/react-error-overlay/lib/index.js] 341 KiB {client} [built]
[./node_modules/react-router-dom/es/index.js] 1010 bytes {client} [built]
[./node_modules/react/index.js] 190 bytes {client} [built]
[./node_modules/webpack-dev-server/client/index.js?http://razzle.syntapse.co.uk] (webpack)-dev-server/client?http://razzle.syntapse.co.uk 4.29 KiB {client} [built]
[./node_modules/webpack/hot/dev-server.js] (webpack)/hot/dev-server.js 1.59 KiB {client} [built]
[./src/client.js] 719 bytes {client} [built]
    + 191 hidden modules

ERROR in (webpack)-dev-server/client/utils/createSocketUrl.js
Module build failed (from ./node_modules/string-replace-loader/index.js):
Error: Replace failed (strict mode) : var\ sockPath\ \=\ '\/sockjs\-node'; → var sockPath = '/after-dev/webpack/sockjs-node';
    at replace (/app/razzle/with-afterjs/node_modules/string-replace-loader/lib/replace.js:17:11)
    at Object.processChunk (/app/razzle/with-afterjs/node_modules/string-replace-loader/lib/processChunk.js:11:17)
 @ (webpack)-dev-server/client?http://razzle.syntapse.co.uk 20:22-56
 @ multi (webpack)-dev-server/client?http://razzle.syntapse.co.uk (webpack)/hot/dev-server.js ./node_modules/razzle-dev-utils/webpackHotDevClient.js ./src/client

✖ Client
  Compiled with some errors in 5.31s

✔ Server
  Compiled successfully in 292.98ms

✅  Server-side HMR Enabled!
> Started on port 3010

client js
...
ensureReady(routes).then(data =>
  hydrate(
    <BrowserRouter basename="/after-dev">
      <After data={data} routes={routes} />
    </BrowserRouter>,
    document.getElementById('root')
  )
);

if (module.hot) {
  module.hot.accept();
}

What is the problem here, I can't get your question :)
I used after.js behind a proxy and it's working without any problems

I think my hacky plugin had something to do with this. Solved better by my autodetect sockJs options. Also devServer.public should be mentioned in docs. he is trying to serve at a subpath of the domain possibly at another port. devServer.public combined with autodetected sockJs options + correct CLIENT_PUBLIC_PATH would make this simple.

@fivethreeo I don't get it, so I won't close this.
when you got the access to repo just do the thing you think is the best
about the socket.js thing check #885 I did something with that ...
and could you please do a code review on that too

Just close this or change the title. The error is unrelated, belongs in my plugins issues.


[Snyk] Upgrade swr from 2.2.2 to 2.2.4

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade swr from 2.2.2 to 2.2.4.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 2 versions ahead of your current version.
The recommended version was released 2 months ago, on 2023-09-25.

Release notes

Package name: swr

2.2.4 - 2023-09-25Patches

Revert "Remove index.js suffix of use-sync-external-store/shim to support React Native" by @ huozhi in #2802

Full Changelog: v2.2.3...v2.2.4

2.2.3 - 2023-09-25Patches

fix: remove permissive type by @ wcatron in #2759
Remove index.js suffix of use-sync-external-store/shim to support React Native by @ malash in #2767
fix: default to fetch type in keyed mutator by @ linkvt in #2753
types: export mutation types by @ promer94 in #2780

Misc

test: update tests, use matched types for mutate api by @ huozhi in #2781

New Contributors

@ wcatron made their first contribution in #2759
@ malash made their first contribution in #2767
@ linkvt made their first contribution in #2753

Full Changelog: v2.2.2...v2.2.3

2.2.2 - 2023-08-27What's Changed

fix: It should use startTransition only when IS_REACT_LEGACY is false by @ TopGrd in #2756
fix: simplify ArgumentsTuple by @ Andarist in #2761

New Contributors

@ TopGrd made their first contribution in #2756
@ Andarist made their first contribution in #2761

Full Changelog: v2.2.1...v2.2.2

    from swr GitHub release notes

Commit messages

Package name: swr

41b0613 2.2.4
da489ef Revert "Remove `index.js` suffix of `use-sync-external-store/shim` to support React Native" (#2802)
1f7dd10 2.2.3
c3133d0 test: update tests, use matched types for mutate api (#2781)
ed0453a types: export mutation types (#2780)
efe07d7 fix: default to fetch type in keyed mutator (#2753)
a2bb5ae Remove `index.js` suffix of `use-sync-external-store/shim` to support React Native (#2767)
141cccf fix: remove permissive type (#2759)

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Upgrading "swr" causes an error with "fetcher". Similar ticket can be found here
https://github.com/vercel/swr/issues/2822


Lazy load image from css class?

Hi. It is possible?
Any ideas or examples of this kind of script usage?
Thanks!

I don't understand what you mean please create an example or something.

Hi. Sorry.
I mean it is possible to lazy load image from css class like
.lazy_background {background:url(my_lazyloaded_background.jpg)}

Yes of course:


Script to label color key for enumerated data

Reported by Steven C Hankin on 8 Mar 2007 00:47 UTC
When plotting a variable such as "vegetation index" it is desirable to produce a
key that is labelled to associate particular strings with particular colors.
(We have developed somewhat analogous color keys recently for the Engineering
server in which date strings are associated with the color levels.)
It would be helpful when these variables are encountered to have a general
technique to produce this sort of output -- either a journal script or perhaps a
SHASET variant inside of PLOT+ or Ferret.  See Jing for examples in the NVODS
server.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1496

Comment by ansley.b.manke on 6 Jan 2014 19:37 UTC
Changing the title of this ticket.
Add a new Ferret/PPLUS option to label a color key with numbers or text for each color, rather than than the boundaries between colors.
We will need a syntax that lets us name a variable which may be a set of strings to use for the labels.


Slack integration

Hi , I tried connecting my znc to slack using webhook and channel name.But it doesn't work. any  suggestions on how to make it work?

Unfortunately, I don't use the Slack integration, so the only suggestion I can offer is to try building with make curl=yes and see if that fixes the issue.  Otherwise, I can't really help you. :/

Let me know if you're still having issues, just set this up with slack without issues.
Really the only thing that took me a bit to figure out is that the secret is basically half of the hooks URL including the slashes, so if your hook URL is something like this https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX the secret will be T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX, otherwise it's all pretty straight forward. Do note that the target is the channel with a # in front.


add functionalities to subset to allow one-end slicing

add more functionalities for subset to allow
subset(ts,:, Date(2007, 2, 1))
#or
subset(ts,Date(2007, 2, 1),:)

otherwise user have to know the first index or last index of the time series

Should I open a PR as it is just a few lines of code?

add more functionalities for subset to allow
subset(ts,:, Date(2007, 2, 1))
#or
subset(ts,Date(2007, 2, 1),:)

Yes, both are good.

otherwise user have to know the first index or last index of the time series

The same getindex() methods could also be defined so that one can do ts[:, Date(2007)] and ts[Date(20007), :].

Should I open a PR as it is just a few lines of code?

Yes, always good to have this. :)


Code Ready Containers error on restart

General information

OS: Linux
Hypervisor: KVM
Did you run crc setup before starting it (Yes/No)? Yes

CRC version
# Put the output of `crc version`
CodeReady Containers version: 1.20.0+ef3f80d
OpenShift version: 4.6.6 (embedded in executable)

CRC status
# Put the output of `crc status`
CRC VM:          Running
OpenShift:       Not Reachable (v4.6.6)
Disk Usage:      30.93GB of 267.9GB (Inside the CRC VM)
Cache Usage:     13.69GB
Cache Directory: /home/mohashi/.crc/cache

CRC config
# Put the output of `crc config view`
- cpus                                  : 8
- disk-size                             : 250
- memory                                : 28672
- pull-secret-file                      : /home/mohashi/Documents/pull-secret

Host Operating System
# Put the output of `cat /etc/os-release` in case of Linux
NAME=Fedora
VERSION="32 (Workstation Edition)"
ID=fedora
VERSION_ID=32
VERSION_CODENAME=""
PLATFORM_ID="platform:f32"
PRETTY_NAME="Fedora 32 (Workstation Edition)"
ANSI_COLOR="0;34"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:32"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f32/system-administrators-guide/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=32
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=32
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Workstation Edition"
VARIANT_ID=workstation

Steps to reproduce

crc setup
crc start
Wait until it becomes not reachable (it may take days)
crc status (will start to get this output)

CRC VM:          Running
OpenShift:       Not Reachable (v4.6.6)
Disk Usage:      30.93GB of 267.9GB (Inside the CRC VM)
Cache Usage:     13.69GB
Cache Directory: /home/mohashi/.crc/cache

crc stop
crc start

Making call to close connection to plugin binary
Failed to update cluster pull secret: Temporary error: ssh command error:
command : oc get secret --context admin --cluster crc --kubeconfig /opt/kubeconfig
err     : Process exited with status 1
output  :  (x20)

Expected
It is expected to have a normal start-up normally just like the previous version of crc
Actual
Logs
You can start crc with crc start --log-level debug to collect logs.
Please consider posting this on http://gist.github.com/ and post the link in the issue.
https://gist.github.com/mgohashi/34f26722ac2ca934832d4ace689b123f

Clearly OpenShift does not start. have you tried to delete and start again?
You assign an unusual large amount of diskspace so I would like to remind you that CRC is supposed considered an ephemeral OpenShift development environment.

I've seen this as well with releases of CRC that are based off 4.6, and only if the cluster is allowed to operate for an extended period (like 1-3 days). I've seen this with Ubuntu 18.04.05 LTS and CentOS 8.2 - so also KVM hypervisor.
When restarting crc w/o using delete the etcd pod is failing at the environment variable checking InitContainer with a log message of (after ssh to crc vm):
# cat etcd-crc-fdm75-master-0_openshift-etcd_etcd-ensure-env-vars-d5249245463ac1eadc44c03d0bd8217efd6a24f4f598c8e93c31831e5394be45.log
2020-12-22T00:35:21.651476376+00:00 stderr F Expected node IP to be <IP_ADDRESS> got <IP_ADDRESS>

If crc is restarted with stop then start it will come up ok as this is done before the time when the API becomes unresponsive. This message only appears after a crc status command shows that OpenShift is "Not Reachable".

@gbraad I got your point. I try to automate everything I can, but sometimes, it is important to have some state stored somewhere. I still have things that require a lot of manual steps to configure.
@timroster It seems that what you have said is really what is happening here.
Thank you all guys.

@gbraad I got your point. I try to automate everything I can, but sometimes, it is important to have some state stored somewhere. I still have things that require a lot of manual steps to configure.
@timroster It seems that what you have said is really what is happening here.
Thank you all guys.

@gbraad I got your point. I try to automate everything I can, but sometimes, it is important to have some state stored somewhere. I still have things that require a lot of manual steps to configure.
@timroster It seems that what you have said is really what is happening here.
Thank you all guys.

@gbraad I got your point. I try to automate everything I can, but sometimes, it is important to have some state stored somewhere. I still have things that require a lot of manual steps to configure.
@timroster It seems that what you have said is really what is happening here.
Thank you all guys.

Etcd reporting the wrong IP is not OK. This seems the network stack might not have the dummy device?
@praveenkumar @guillaumerose

Etcd reporting the wrong IP is not OK. This seems the network stack might not have the dummy device?
@praveenkumar @guillaumerose

@gbraad - I believe that the eth10 dummy device was present on the VM I was investigating. Setting up another instance to reproduce, may take some time to come to a state where it has failed.

@gbraad - I believe that the eth10 dummy device was present on the VM I was investigating. Setting up another instance to reproduce, may take some time to come to a state where it has failed.

Looking at the etcd operator code, I see that the IP used in the pod is the one you can see in kubectl describe nodes under InternalIP.
https://github.com/openshift/cluster-etcd-operator/blob/3ece45158cb6373a4f66e54f6806648cd5405b09/pkg/etcdenvvar/etcd_env.go#L180
(inside the VM) $ KUBECONFIG=/opt/kubeconfig kubectl describe nodes
...
Addresses:
  InternalIP:  <IP_ADDRESS>
  Hostname:    crc-x2wnj-master-0
...

(inside the VM) $ sudo cat /etc/systemd/system/kubelet.service
...
ExecStart=/usr/bin/hyperkube \
    kubelet \
      --node-ip=<IP_ADDRESS> \
      --config=/etc/kubernetes/kubelet.conf \
...

If I'm not wrong, this IP is reported by kubelet. It would mean that something updated the systemd kubelet service with a different IP.
If it happens again, can you check this IP and the kubelet service ?

Looking at the etcd operator code, I see that the IP used in the pod is the one you can see in kubectl describe nodes under InternalIP.
https://github.com/openshift/cluster-etcd-operator/blob/3ece45158cb6373a4f66e54f6806648cd5405b09/pkg/etcdenvvar/etcd_env.go#L180
(inside the VM) $ KUBECONFIG=/opt/kubeconfig kubectl describe nodes
...
Addresses:
  InternalIP:  <IP_ADDRESS>
  Hostname:    crc-x2wnj-master-0
...

(inside the VM) $ sudo cat /etc/systemd/system/kubelet.service
...
ExecStart=/usr/bin/hyperkube \
    kubelet \
      --node-ip=<IP_ADDRESS> \
      --config=/etc/kubernetes/kubelet.conf \
...

If I'm not wrong, this IP is reported by kubelet. It would mean that something updated the systemd kubelet service with a different IP.
If it happens again, can you check this IP and the kubelet service ?

@guillaumerose this time it took a week to get the vm to this state. Note that the API server is unresponsive so one of the suggested checks fails.
Before stopping / restarting the VM, status:
dummy device (from /sbin/ip)
7: eth10: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
    link/ether ea:de:48:29:c6:cd brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global noprefixroute eth10
       valid_lft forever preferred_lft forever
    inet6 fe80::dadd:a3bf:c2b9:813c/64 scope link noprefixroute
       valid_lft forever preferred_lft forever

ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=0.301 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=64 time=0.046 ms

KUBECONFIG=/opt/kubeconfig kubectl describe nodes
The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?

sudo cat /etc/systemd/system/kubelet.service
...
ExecStart=/usr/bin/hyperkube \
    kubelet \
      --node-ip=<IP_ADDRESS> \
      --config=/etc/kubernetes/kubelet.conf \
...

kubelet process is still running in the VM. looks like the etcd process has stopped.
it's not restarting due to failing checks in the ensure-env-vars init container:
cat etcd-crc-fdm75-master-0_openshift-etcd_etcd-ensure-env-vars-e45f926772bf1f7fb39c230aa602968ebce4fe42a94eb84924b68e8c0abd7d92.log
2021-01-10T13:54:32.058994266+00:00 stderr F Expected node IP to be <IP_ADDRESS> got <IP_ADDRESS>

I've not yet done a crc stop ; crc start sequence if there are other things to check in the running vm.

@guillaumerose this time it took a week to get the vm to this state. Note that the API server is unresponsive so one of the suggested checks fails.
Before stopping / restarting the VM, status:
dummy device (from /sbin/ip)
7: eth10: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000
    link/ether ea:de:48:29:c6:cd brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global noprefixroute eth10
       valid_lft forever preferred_lft forever
    inet6 fe80::dadd:a3bf:c2b9:813c/64 scope link noprefixroute
       valid_lft forever preferred_lft forever

ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=0.301 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=64 time=0.046 ms

KUBECONFIG=/opt/kubeconfig kubectl describe nodes
The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port?

sudo cat /etc/systemd/system/kubelet.service
...
ExecStart=/usr/bin/hyperkube \
    kubelet \
      --node-ip=<IP_ADDRESS> \
      --config=/etc/kubernetes/kubelet.conf \
...

kubelet process is still running in the VM. looks like the etcd process has stopped.
it's not restarting due to failing checks in the ensure-env-vars init container:
cat etcd-crc-fdm75-master-0_openshift-etcd_etcd-ensure-env-vars-e45f926772bf1f7fb39c230aa602968ebce4fe42a94eb84924b68e8c0abd7d92.log
2021-01-10T13:54:32.058994266+00:00 stderr F Expected node IP to be <IP_ADDRESS> got <IP_ADDRESS>

I've not yet done a crc stop ; crc start sequence if there are other things to check in the running vm.

Did more investigation, have reason to believe  that this issue is related to the host's hypervisor.
See analysis comparing working and non-working envs, showing lscpu and dmidecode cmd outputs.
https://github.com/code-ready/crc/issues/1830#issuecomment-757555803

Did more investigation, have reason to believe  that this issue is related to the host's hypervisor.
See analysis comparing working and non-working envs, showing lscpu and dmidecode cmd outputs.
https://github.com/code-ready/crc/issues/1830#issuecomment-757555803

I've observed this failure on Ubuntu LTS 18.04.5 LTS native on a Ryzen 1700X processor so in that case, there is no host hypervisor. However, the last time that the crc instance on that host went unresponsive was about the time that this issue was opened.

I've observed this failure on Ubuntu LTS 18.04.5 LTS native on a Ryzen 1700X processor so in that case, there is no host hypervisor. However, the last time that the crc instance on that host went unresponsive was about the time that this issue was opened.

Ryzen aren't officially supported https://access.redhat.com/support/policy/amd
And the Castle (Fyre) environment uses Ubuntu as the host for Nested Virtualization. This has been reported several times to the IBM Cloud team to be a cause for issues. When the same tests were performed on a RHEL host, none of the issues showed.

Ryzen aren't officially supported https://access.redhat.com/support/policy/amd
And the Castle (Fyre) environment uses Ubuntu as the host for Nested Virtualization. This has been reported several times to the IBM Cloud team to be a cause for issues. When the same tests were performed on a RHEL host, none of the issues showed.

@gbraad I believe OP is not using Castle, nor am I. Like the OP and many others have experienced, for some reason the etcd in CRC is failing and not successfully restarting. I added to this issue symptoms at a lower level, namely the check in the initContainer for etcd is getting conflicting information from expectations in the CRC host vm.
I have observed these failures with KVM hypervisor on a non-nested configuration with AMD Ryzen 1000 series CPU with Ubuntu guest and also IBM Cloud VPC guest running CentOS 8.x. Others have added to #1830 for non Castle environments.

@gbraad I believe OP is not using Castle, nor am I. Like the OP and many others have experienced, for some reason the etcd in CRC is failing and not successfully restarting. I added to this issue symptoms at a lower level, namely the check in the initContainer for etcd is getting conflicting information from expectations in the CRC host vm.
I have observed these failures with KVM hypervisor on a non-nested configuration with AMD Ryzen 1000 series CPU with Ubuntu guest and also IBM Cloud VPC guest running CentOS 8.x. Others have added to #1830 for non Castle environments.

I know the back story of the OP as we emailed.  It is related to these environments.

I know the back story of the OP as we emailed.  It is related to these environments.

Please provide more info... follow the template. As on that issue i requested an issue specific to the problem, but never came.
The reporter of 1830 and J have briefly emailed and that issue is unrelated to your findings.

Please provide more info... follow the template. As on that issue i requested an issue specific to the problem, but never came.
The reporter of 1830 and J have briefly emailed and that issue is unrelated to your findings.

AMD Ryzen 1000 series CPU

All these tests were performed on a Ryzen-based system, right? https://access.redhat.com/support/policy/amd

AMD Ryzen 1000 series CPU

All these tests were performed on a Ryzen-based system, right? https://access.redhat.com/support/policy/amd

@gbraad done, see #1888
This is on an Intel CPU, albeit with nested virtualization from the cloud provider (IBM Cloud Gen2 VSI)

@gbraad done, see #1888
This is on an Intel CPU, albeit with nested virtualization from the cloud provider (IBM Cloud Gen2 VSI)


Thank you email to contact us entries

Hi Team,
We need to send auto generated email in real time to all the leads we are receiving on contact us form.

Does the thank you message need to send just after submission or you can have a scheduler which can send messages to new submissions every hour or (some other frequency of time) ?

After submission the contact form


How can we include in the did document the public key that is not jwk?

I believe this is supported, but we should probably have a unit test in the did-method package to prove how it works.


Fix spring spec

Currently, the motors in the spring spec file are stepping automatically from the heartbeat connection. This is unintended behavior because the test steps the motors manually.

Thanks!


Added fixes to ReCoRD task for tokenize_and_cache.py

Added ReCoRD task to F1 evaluation scheme. Added support for test examples in record.py task.
Tested by running tokenize_and_cache.py on the head (n==100) of the ReCoRD dataset.

@zphang That is correct

To clarify, this PR covers fixes to tokenization, but not yet the full pipeline (training, eval) correct?

ReCoRD has successfully run E2E for 13,000 steps @pyeres. Let me know if there are any additional concerns for this PR.


TypeError: Cannot read properties of undefined (reading 'model')

█▀█ █▀█ █▀█ ░░█ █▀▀ █▀▀ ▀█▀   █▀█ ▄▀█ ▀█ █▀▀ █▀█
█▀▀ █▀▄ █▄█ █▄█ ██▄ █▄▄ ░█░   █▀▄ █▀█ █▄ ██▄ █▀▄

[HANDLER - EVENTS] Loaded a file : interactionCreate
[HANDLER - EVENTS] Loaded a file : ready

[HANDLER -  SLASH] Loaded a file : imagine
[HANDLER -  SLASH] Loaded a file : ping
[HANDLER - SLASH] Slash commands has been registered successfully to all the guilds

[READY] XXX#12323 is up and ready to go.
[ANTI - CRUSH] Unhandled Rejection : TypeError: Cannot read properties of undefined (reading 'model')

Read the ReadMe.md file before open an issue next time. All these explained there

I wouldn't be posting If i had not read it, i have sety everything up and when i execute the prompt and i just get this error, the ping works but the image command doenst

model error only occur on the deprecated code and it was removed and updated to the new one weeks ago. New code doesn't shows the model error and only error it shows is Payment Needed message when the free tries runs out on your API


Configure PCFDev to user local volume services.

As requested by Stephen...
#132858217
Signed-off-by: Luke Woydziak<EMAIL_ADDRESS>Conflicts:
versions.json

@lwoydziak Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@lwoydziak Thank you for signing the Contributor License Agreement!

We have ran extensive testing on this and have verified correct operation. For reference, we have a CATS like suite called creatively PATS:
https://github.com/cloudfoundry-incubator/persi-acceptance-tests
Inside is an app that will use file persistence ("pora"). The PATS will actually not complete because the configuration of the broker is a little more generic. This is a todo in our backlog regarding PATS configuration.

You can run our PATS with the following command:-
./scripts/run-pats admin admin api.local.pcfdev.io local.pcfdev.io local-volume free-local-disk http://local-broker.local.pcfdev.io:8999 admin admin
NB: assumes a vanilla environment as it will test registering the local broker

It would be really nice to get a copy of the release tarball when you feel it is ready. We'd like to do the deploy ourselves and see it configured.

@aemengo I uploaded all of the releases used to create this here:-
https://s3.amazonaws.com/persi-pcfdev/
HTH

Just wanted to follow-up on this. Anything more you need from us to make progress?

No, not at the moment. We have the story prioritized in tracker but we haven't gotten to it yet. Thank you for providing the release .tgz

@lwoydziak Our pipeline makes use of compiled releases for the sake for speed. Any chance that we can get a link to the source code for the local volumes bosh-release?

@lwoydziak Everything looks good. We would like to add this functionality to PCF Dev and routinely build and test the release within our pipeline. However neither the volume-release-repo not the persi-acceptance-tests have a specified git tag or release to identify as the latest stable build. Is it safe to assume that:
master (621e2377613a9272bb95d332984146f18a5a151a) of the volume-release-repo
(1b7ba49369aedc82685299cfaf139d25971abd73) of the persi-acceptance-tests
would be acceptable points to ship with?

The current tip of both repo's master branches are stable:
caa12f74fe3
a9a1a5b52f4e

This was merged manually.


Update package.json to include the repository

Hi there!
This change adds the repository property to your package.json file(s). Having this available provides a number of benefits to security tooling. For example, it allows for greater trust by checking for signed commits, contributors to a release and validating history with the project. It also allows for comparison between the source code and the published artifact in order to detect attacks on authors during the publication process.
We validate that we're making a PR against the correct repository by comparing the metadata for the published artifact on npmjs.com against the metadata in the package.json file in the repository.
This change is provided by a team at Microsoft -- we're happy to answer any questions you may have. (Members of this team include @s-tuli, @iarna, @rancyr, @Jaydon Peng, @Zhongpeng Zhou and @Jingying Gu). If you would prefer that we not make these sorts of PRs to projects you maintain, please just say. If you'd like to learn more about what we're doing here, we've prepared a document talking about both this project and some of our other activities around supply chain security here: microsoft/Secure-Supply-Chain
This PR provides repository metadata for the following packages:

@chanzuckerberg/axe-storybook-testing

Hey! Thanks for the update, and the reasoning here makes perfect sense. Always happy to get contributions for security or anything else 👍


Exoplayer drm support

This adds DRM support for Android Exoplayer, for widevine playready and cenc.
To use this it is necessary to add these three properties:
drmName which determines the DRM type.
drmUrl which takes the license server URL.
drmHeader which takes custom headers for the DRM implementation.
Here is a usage example.
<Video
    source={{uri}}
    onBuffer={this.onBuffer}
    onError={this.videoError}
    style={styles.backgroundVideo}
    drmName="widevine"
    drmUrl={licenseServer}
    drmHeader={headers}
/>

You can test with dashjs custom DRM implementation:
widevine: https://github.com/Dash-Industry-Forum/dash.js/blob/development/samples/drm/widevine.html
playready: https://github.com/Dash-Industry-Forum/dash.js/blob/development/samples/drm/playready.html

Please ignore my earlier comments about the request headers, after reading the ExoPlayer code, I realized that's how they want you to do it.
Also, I've deleted the SDK 18/19 notes. I've opened an issue with ExoPlayer (https://github.com/google/ExoPlayer/issues/5329) to get them to add clarification about whether the minimum version is 18 or 19. Looking through their docs (https://google.github.io/ExoPlayer/drm.html), it appears that there are a number of requirements:

PlayReady appears to only be supported on Android TV
ClearKey requires Android 5.0 or higher
Both of these and the Android 4.4 requirement for Widevine should all be documented in the README.

Overall this looks very good and I should be able to test it shortly. Any chance you can update the docs, rename the CENC scheme, and create the drm object fairly soon so this is ready can be ready to merge?

AFAIK it depends on the License Server you are using, and if it needs headers or not to provide the license.
you can see different license server configurations examples here: https://github.com/google/shaka-player/blob/master/docs/tutorials/license-server-auth.md

@danielmarino24i I've added headers like this
{
'Authorization':  {AUTH_KEY}
}
but it still giving me the same error
"Unable to instantiate decoder OMX.Exynos.avc.dec.secure"
do you have any idea about this?
It's also generating certificate on the server.

No idea. Maybe someone could help you better if you provide:

stream url (or at least stream type)
DRM used

can someone provide me the parameters which runs on this code as mine are not working with this code. It'd be great help. Thanks

can someone provide me the parameters which runs on this code as mine are not working with this code. It'd be great help. Thanks

It depends on the DRM that you are using, but for example for widevine you set the video like this
<Video
    source={{uri : "https://media.axprod.net/TestVectors/v7-MultiDRM-SingleKey/Manifest_1080p.mpd"}}
    onBuffer={this.onBuffer}
    onError={this.videoError}
    style={styles.backgroundVideo}
    drmName="widevine"
    drmUrl="https://drm-widevine-licensing.axtest.net/AcquireLicense"
    drmHeader={
                        "X-AxDRM-Message": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2ZXJzaW9uIjoxLCJjb21fa2V5X2lkIjoiYjMzNjRlYjUtNTFmNi00YWUzLThjOTgtMzNjZWQ1ZTMxYzc4IiwibWVzc2FnZSI6eyJ0eXBlIjoiZW50aXRsZW1lbnRfbWVzc2FnZSIsImZpcnN0X3BsYXlfZXhwaXJhdGlvbiI6NjAsInBsYXlyZWFkeSI6eyJyZWFsX3RpbWVfZXhwaXJhdGlvbiI6dHJ1ZX0sImtleXMiOlt7ImlkIjoiOWViNDA1MGQtZTQ0Yi00ODAyLTkzMmUtMjdkNzUwODNlMjY2IiwiZW5jcnlwdGVkX2tleSI6ImxLM09qSExZVzI0Y3Iya3RSNzRmbnc9PSJ9XX19.FAbIiPxX8BHi9RwfzD7Yn-wugU19ghrkBFKsaCPrZmU"
    }
/>

I have this working for FOX, HBO, and custom DRM implementations without any issues. Feel free to ask me some more questions and if you want send me your video information to see if I can play it

can someone provide me the parameters which runs on this code as mine are not working with this code. It'd be great help. Thanks

It depends on the DRM that you are using, but for example for widevine you set the video like this
<Video
    source={{uri : "https://media.axprod.net/TestVectors/v7-MultiDRM-SingleKey/Manifest_1080p.mpd"}}
    onBuffer={this.onBuffer}
    onError={this.videoError}
    style={styles.backgroundVideo}
    drmName="widevine"
    drmUrl="https://drm-widevine-licensing.axtest.net/AcquireLicense"
    drmHeader={
                        "X-AxDRM-Message": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2ZXJzaW9uIjoxLCJjb21fa2V5X2lkIjoiYjMzNjRlYjUtNTFmNi00YWUzLThjOTgtMzNjZWQ1ZTMxYzc4IiwibWVzc2FnZSI6eyJ0eXBlIjoiZW50aXRsZW1lbnRfbWVzc2FnZSIsImZpcnN0X3BsYXlfZXhwaXJhdGlvbiI6NjAsInBsYXlyZWFkeSI6eyJyZWFsX3RpbWVfZXhwaXJhdGlvbiI6dHJ1ZX0sImtleXMiOlt7ImlkIjoiOWViNDA1MGQtZTQ0Yi00ODAyLTkzMmUtMjdkNzUwODNlMjY2IiwiZW5jcnlwdGVkX2tleSI6ImxLM09qSExZVzI0Y3Iya3RSNzRmbnc9PSJ9XX19.FAbIiPxX8BHi9RwfzD7Yn-wugU19ghrkBFKsaCPrZmU"
    }
/>

I have this working for FOX, HBO, and custom DRM implementations without any issues. Feel free to ask me some more questions and if you want send me your video information to see if I can play it

Thanks you so much for this, I'll test it on my code and let you know :)