[Feature] Add container import of Descent / Mansions of Madness content (Android 11 or higher support)

Is your feature request related to a problem?
Currently Valkyrie is not supported by Android 11 or higher because it is not possible to import the app content from Descent's Road to Legend and Mansions of Madness Apps for Android.
Describe the solution you'd like
Instead of importing the data from the apps directly it should be possible to generate a container file that contains all Valkyrie data from the folder \Valkyrie\D2E\import or \Valkyrie\MoM\import. This feature should only be available on Windows/MacOS/Linux devices to reduce confusion.
Export
The export feature should be available in options menu:

When a user clicks the export button an export container file in zip format but with file extension .valkyrie (D2E_Export.valkyrie or MoM_Export.valkyrie) will be generated at the home location of the device (e.g. desktop for windows, same logic when creating a package file for a quest editor mission). The file contains all data from the folder \Valkyrie\D2E\import or \Valkyrie\MoM\import depending on the Game the user choose in Valkyrie main menu (Descent or Mansions of Madness).
While the export takes place a message should be shown:

Import
Change the import logic so there is always only one button for importing:

When a user clicks at this button a new import page opens:
It shows two options to import the data:

Import using official apps
Import using container file

The app should check if app import is available for the current device (e.g. only Windows/Linux/MacOs and Android version 10 or lower). If normal import is not available the button should be greyed out and a warning message should be shown:

Option 1
When the user selects option one a new page should be opened page is opened which shows how app import works:

Option 2
When the user selects option two another page is opened which shows how container import works:

When the user clicks Locate import file a file picker menu appears and the user can navigate to the .valkyrie file and select it. Afterwards the app should check if the import file is a valid file for importing the data. If not an error message should be shown (import file is not valid). If the file is valid the import process starts and copies the data from the container file to the app storage.
Additional logic
For all pages a Back button is shown which redirects to the parent page:
Valkyrie Main menu > Import selection > App Import Page / Container import page (if necessary: > Cancel/Back button for file selector).
Additional steps
When this feature gets available it is necessary to update the manual on the Valkyrie Website for all languages:

This sounds like a very promising solution.
Valkyrie also has many non-technical users and one re-import content button is already reaching the limit of their app-installation skills. ( I won't name names, but I have friends that call me how to install the app on windows 10).
Could all the steps mentioned above also be hidden behind the current re-import button and as a one-click action?
That the app should detect which OS it is running on and decide to have the 'normal' import or the 'container import'.
Alternative: I can imaging that the container import method works for all OS. You could also make this the default method. It is likely a slower method than the current 'normal' re-import method, but it may be easier to implement (and less effort to maintain). Since this action is only done once (or with a new expansion) it is not really a problem if it is slower.

Sure putting everything behind one button sounds like a good idea. I would not make the Zip-Import the default one though.
Best would be to create some kind of nice looking image-buttons which make clear how the process works:

One image showing the icons of Road to legend app and mansions of madness app.
and one icon showing a PC symbol.

But I'm not the right one for such UI stuff. :D

Looks pretty good. I'll see what I can do.

I've started implementing this, but I'll personally drop it for a few reasons:

My main problem is it would quickly become a timesink to maintain in future android versions. The amount of work for adding the export/import feature is not trivial (I have a working prototype ready for this, though).
The second problem is I think we would quickly get into a situation where FFG copyrighted material that was exported through Valkyrie would land somewhere on a Dropbox/Google Drive. I'd advise against anything that violates the IP laws.
The third one is we'd have to have a brilliant step by step document/video that shows how to do that. But this is a minor one as I'm sure someone from community would be happy to do that.
I have successfully used streaming with steam link over wifi on both a borrowed android device and iOS tablet. I think we should have a unified doc for streaming on both types of tablets instead.
I'm not personally interested in the feature as I don't use an android device.

That being said I think it can still be developed, but I won't personally do that. I'll focus my time on other features/bugs instead.

@mayjak

I can fully understand that. Can you maybe make the prototype branch available so that someone can have a look at this later if interested?
I don't see this as a problem because this could already easily be the case with the current logic when you export it on PC.
Yep this is correct. Without a good manual it would not work.

The question is if the Android Version should stay a supported feature then at all? New Android versions 11 and higher are on the move so the amount of devices ready to use Valkyrie is getting smaller and smaller. I think this would be a good point for the community to decide if any additional work should be invested in new Android versions of Valkyrie in general.
Personally I'm planning to replace my Android Tablet with version low than 11 soon. So I will not able to use Valkyrie on Android anymore.

@Quantumrunner

Maybe. What I have is a dead simple PoC that compresses the files and restores them on target device. The UI, current state management, etc will be a bit harder.
The other problem is fully supporting Android 10+ file systems. I basically moved everything to the app folder from {SD Card}/ , which is not ideal, especially if your internal storage is small. There's also going to be some migration effort to move save files from the old to new location, etc.
Yes, but right now it's not needed right now as you don't really need to transfer the files between devices. Unless you want to create a backup.

I can really recommend Steam Link. That's how I'm playing the official JiME app right now on iOS as I prefer buying expansions on Steam :)

Full understand why you would rather focus on other features, appreciate all the time and effort you've put into the app!
My thoughts on the second topic:

The second problem is I think we would quickly get into a situation where FFG copyrighted material that was exported through Valkyrie would land somewhere on a Dropbox/Google Drive. I'd advise against anything that violates the IP laws.

I personally think this is a bit of a moot point now, with the way Valkyrie imports data from the app and stores it, it would be easy for anyone to do the same and drop it on a dropbox/google drive. Adding an export from Valkyrie and import to Valkyrie isn't going to mix up that too much
Secondly and probably the most important, the game is now EOL and no longer being added to, I doubt FFG would go out of their way to shut down Valkyrie. The time for that was a few years ago and i'd be shocked if the app hadn't made its way to FFG by now, its a pretty epic app.
Part of them thinks we should "whip off the plaster" and just go all in. Add Android 11 support with an export import feature, then publish the app on the playstore.
You can look at the Arkham DB/app for an example where FFG aren't shutting useful (non profit) stuff down, the app and the website has all of the Arkham Horror LCG cards in high res contained on the website and within the app.
https://arkhamdb.com/

Closed: This is not necessary anymore because we found a workaround for Android 11 and above. See this wiki article for details:
https://github.com/NPBruce/valkyrie/wiki/Troubleshooting#blackscreen-on-startup-android


⚠ Bofrost.lu has degraded performance

In 8918aff, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 859 ms

Resolved: Bofrost.lu performance has improved in 7263876 after 28 minutes.


Gradle: Upgrade the versions plugin to version 0.36.0

See https://github.com/ben-manes/gradle-versions-plugin/releases/tag/v0.36.0.
Signed-off-by: Sebastian Schuberth<EMAIL_ADDRESS>

Ignoring the failed Travis check which was fixed meanwhile in here.


Fixing 64x download location

Purpose

Fixing 64x download location

@shagihan, please send this fix to the 3.2.0 and master branches


Discrepancy in the description of kind of commits for the overall contributions

The page that displays the total contributions of the user ( public + private ) happens to have the description -
"This list only contains public contributions of each user."

Yeah @Priyanka488 I noticed this description bug and came here to make a PR. But unfortunately didn't got the actual code where its written. Hope OC look upon this issue.

@lauripiispanen thanks for resolving!


GH-89: Add support for seek from the beginning

Fixes GH-89 (https://github.com/spring-projects/spring-kafka/issues/89)

Rename recentOffset just to offset
Add logic for the offset property when it is positive seek the consumer from the offset beginning;
when the offset is negative, seek from the end

Rebased

Hmmm - as I mentioned in skype yesterday, we talked about reinstating the OffsetManager - we need a way for a specific offset for each topic/partition to be set - and the values may be different for each.

The recent offset is a different use case - e.g, re-send the last message I processed.

OK-OK. I understand that I'm wrong.
Sorry, I need more info to implement proper solution.
But which one?
Point me, please, what to read to figure out what and where should be implemented.
Thanks

Something like this: https://github.com/spring-projects/spring-integration-kafka/blob/1.3.x/src/main/java/org/springframework/integration/kafka/listener/OffsetManager.java#L59
Where the user populates the initial offset for each topic/partition. Then, during startup, we iterate and seek.

Good. Than it is a subject of #9 and #89 should be closed in favor of that.
Closing this PR as irrelevant.


Compile libgtpv2c as static library

Makes the build consistent with rest of the repo
Reduces number of build artifacts to deal with by one
Fixes: #26
Signed-off-by: Saikrishna Edupuganti<EMAIL_ADDRESS>

ok to test

retest this please


Right-align tooltips when they are shown on the left side of the cursor

This was fixed by not moving the tooltips to right of the mouse.


Install node-schedule package

Description
Install node-schedule package
How to test?
Should be able to require package and schedule a function to execute in the future
const schedule = require('node-schedule');
const moment = require('moment-timezone');

const date = moment().add(30, "seconds").toDate()

const job = schedule.scheduleJob(date, function(){
  console.log('Called!.');
});

Checklist

[x ] I have performed a self-review of my own code
[x ] I have followed the name conventions for CSS Classnames and filenames, Components names and filenames, Style filenames, if you are in doubt check the the project README.MD and here https://github.com/HackYourFuture-CPH/curriculum/blob/master/review/review-checklist.md
[x ] I have commented my code, particularly in hard-to-understand areas, if you code was simple enough mark the box anyway
[x ] I have made corresponding changes to the documentation, if you code was simple enough mark the box anyway
[x ] This PR is ready to be merged and not breaking any other functionality

Weird, I thought I had added this already. There seem to be a lot of changes in the package-lock.json, though. Are we silently updating the project accidentally?

Oh it was already in? What pr?

Weird, I thought I had added this already. There seem to be a lot of changes in the package-lock.json, though. Are we silently updating the project accidentally?

Oh it was already in? What pr?

No I can see its not in develop.
I used npm v6 and the change make sense. It adds some dependencies to cron-job and date handling


Add JobConfigHistory Plugin plugin

It would be nice to add https://wiki.jenkins-ci.org/display/JENKINS/JobConfigHistory+Plugin plugin in order to keep job histories.

Must have feature!!!!!!


analytics events for 500 sample limit performance updates

Summary:

What: add analytics events for sample upload (now that we can handle more samples in upload process)
Ticket: sc228799
Env: <rdev link>

Demos:
Notes:
Checklist:

[ ] I merged latest <base branch>
[ ] I manually verified the change
[ ] I added labels to my PR
[ ] I tested in multiple browsers
[ ] I added relevant unit tests
[ ] I have notified others of changes they need to make locally (migrations, jobs, package updates, etc)

mostly lgtm, just the one question and a couple type comments

i changed up the failed events target, re-requesting review


Fix incorrect filename in documentation

Just a small fix and clarification in the README :)

I ran into same issue as well

Sorry I missed this...


Configure for SSL only sites?

This is working great for localhost, but when I push it to staging which only allows SSL connections it still makes requests to http.
I tried setting api_base_path to:
config.api_base_path = 'https://api.example.com'
But it seems like api_base_path is getting appended to the current host:
http://localhost:3000https://api.example.com/widgets
Any ideas?
BTW: I am currently using the rails-5 branch #15, I doubt that is causing the issue - I will try to install current stable branch and double check that as well.

I used this as a workaround for now
Swaggard.configuration.instance_variable_set(:@schemes, [:https]) if Rails.env.staging?
Ideally #12 would be merged then it could be as simple as
Swaggard.configure do |config|
  config.schemes = [:https] if Rails.env.staging?
end

@house9  Thanks for the report and solution, I have pushed a fix for it to master. I'm also going to merge the rails 5 branch and build a new version.
I'll also take a look at the api base path issue as it should not behave like that.
Also for future reference it seems that your rails app is not aware of what your domain is, if its behind a reverse proxy (nginx or apache) you need to indicate that you want the domain (and the schema) forwarded to your rails app.
For nginx this would be done with:
       .....
        proxy_pass your-rails-app-upstream;

        proxy_set_header Host $http_host;
        proxy_set_header X-Forwarded-Proto https;
        proxy_set_header X-Forwarded-Ssl on;
        ......

Thanks @adrian-gomez - I am using the latest version of gem now (0.5.0) and everything looks good!
schemes config and rails 5 💥


Moveit_simple motoman_mh5 wrapper

Integrated the moveit_simple upgrades from local_kinetic_branch with the motoman_mh5 robot. The updates include adding custom tool for the motoman.

Unit Tests successful. TODO: Modify/Add some more tests for Interpolation and Singularity.

You don't have to close this; just have to resolve conflict locally.


What now?

Hi!
I was wondering, what are some alternatives to setting up a full server environment? Ansible still looks like a nice tool to use, but parse is not maintained as much. Are there alternatives to parse that you like to use?
Thank you!
kovkev

Hope this still works.. will try now..

@7flash just curious, does it work?

Just had a quick look and as I can see it's not using docker, instead installs npm, mongo, etc. on the machine itself.


Convert Objective-C to Swift with Swift Package Manager

I converted Objective-C to Swift, with add support for Swift Package Manager.

Hello, this repository is more or less abandoned. I would suggest maintaining your fork instead. I will mark my repo as archived.


The Razor SDK will not light up via transient reference

The docs should note that in order for the Razor SDK to light up for a web project, the web project must explicitly reference an appropriate package (like Microsoft.AspNetCore.All or Microsoft.AspNetCore.Mvc), and that a transient reference to a class library that references Microsoft.AspNetCore.All or Microsoft.AspNetCore.Mvc will not suffice.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 65475f94-d29b-2960-2369-1529d5a7b329
Version Independent ID: 52bdd7fb-02fd-1d66-87bb-9dfc4a3be707
Content: ASP.NET Core Razor SDK
Content Source: aspnetcore/mvc/razor-pages/sdk.md
Service: unspecified
Product: asp.net-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@pranavkm  should this be added to  ASP.NET Core Razor SDK ? Is the doc wrong?

a transient reference to a class library

Is this a project reference, if so you will need an explicit package reference. If it's a package reference to the class library, you would need to set PrivateAssets="None" (by default NuGet makes analyzers and build assets as private).

@pranavkm  can you propose text to that effect I can add to the doc?

I don't think we need to call out how NuGet's behavior for build targets work in the Razor Sdk.


Remove unnecessary optional use

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/RWA-1228
Change description
RWA-1228 remove-unnecessary-optional-use
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[X] No

R1 functional tests

R1 functional tests are to be left as ignored till Release2


Switching to cosine with warmup as default setting

@cocktailpeanut as evoked in another thread
--optimizer_args "relative_step=False" "scale_parameter=False" "warmup_init=False"
--lr_scheduler constant_with_warmup
THIS SETTING IS ABSOLUTE COMPLETE SHIT (despite being recommended in the official readme), to the point I'm begging you to remove it and replace it by this one which is amazing :
--optimizer_args "relative_step=False" "scale_parameter=False" "warmup_init=False"
--lr_scheduler cosine --lr_warmup_steps 0.2 --lr_decay_steps 0.8
Why ?
Constant with warmup : starts the learning rate extremely slow and increases using a linear fonction. That makes learning extremely slow at the start, takes many epoch to show significant results, then has maximal risks of overfitting/burning the model when reaching later epochs
Cosine + warmup 20% + decay 80% : starts increasing learning rate using a linear fonction for 20% of your steps, then stays at the maximum for some time, then slowly decreases it, then a bit faster, then even faster during second half of steps, eventually landing very low as you reach the final epoch. This allow you to train carefully at the beginning before the trainer has seen your dataset fully, then learn properly, then slow down before risking overfitting, and then refine with more details while not risking much on later epochs
This setting is CRUCIAL for training efficiently
We're talking about a setting that will save you many resume or even re-trainings because you've just wasted your training time regretting your learning rate settings.
The cosine with warmup setting is VERY solid and made me very confident, acing trainings first-shot whereas I would be very anxiously reading the average loss curve before with constant_with_warmup, resuming multiple times to manually adjust learning rates, always changing them because things would turn very wrong at some point
I am NEVER using again the default setting.

NB : you WILL get a warning message in the logs saying "constant with warmup will be good", but it does nothing, I've both read the code and watched the learning rate in tensorboard, i'm 100% sure my setting works

Thats quite the aggressive comment. There are many different learning rate schedulers. Which one works best for any given dataset is going to be very specific to that dataset. There is no best scheduler strategy, there are only options. So providing a scheduler as a default option doesn't necessarily make it "shit". It most certainly could be that it was not great for your dataset, that's fine, change it if you want. Fine tuning and training models involves a lot of trial and error and reading data. It's weird to be upset that you had to do that.

I see what you mean but based on my experience, I disagree.
You have to consider most people using fluxgym are newbies to training (at least with flux), I was, and it's the point of fluxgym.
So they'll use default settings. I wasted many training due to the default scheduler and now it's the opposite. I'm not talking about the learning rate which still needs to be tuned sometimes, but overall warmup+cosine decay is rock solid.
If you think linear with warmup is better, please bring me a use case where you found it was and we'll discuss it then. I don't see any that warmup+cosine couldn't do, with the benefit of risking a lot less either underfitting or overfitting.
Also, I have 16 gb VRAM so i'm using adafactor and it took me some time, looking directly in kohya scripts' code + tries to figure out you absolutely had to set all three optimizer_args had to be set to False + I had to ignore the warning message. So it has value.
My point is this setting is WAY better for beginners, your point is more "each his own way" which I disagree, when you know what you're doing with the scheduler alright... but when I started I just didn't even know what a scheduler really is, and it would have same me A LOT, i really mean A LOT of time not to have this very poor default setting.
That said, I have it now, I'm just sharing, you guys don't want it, it's equal to me

It worked for you, that doesn't mean it will work for more people more often.
There are many more than just those two types of schedulers. We can't know what would be best for any given set of circumstances.
Applying scheduler strategies to solve things like overfitting is a possible solution. These also are directly tied to the learning rate. Slowing it down or spending it up according to the algorithm.
And how would you like me to show you instances of where I applied different learning rate schedulers to solve different problems?

I'm sorry dude, but it seems you have no real argument at all to defend your claim which basically is "different solution fits different people" to appear more tolerant and benevolent
You could have said something relevant for actual practice like "for characters Lora, you want to train slower for many epochs because X and then keep on increasing for reason Y because if you do Z then A"
I stand mine from a logical perspective which I summarize by "There's no point waiting that long to reach the full learning rate and then take big risks overfitting after most of the training has been done, thus requiring early stopping then having to manually resume and change learning rates even multiple times to achieve the same outcome as warmup + cosine". And this is based on actual practice with face loras, body positions, and concepts for like 15 loras.
Now just because it is the default so-called recommended setting for adafactor does not make it superior in my point of view, what is does is just prevent many folks for even knowing other settings exist. So based on your argument "different solution fits different people", having a default setting is just as bad as changing it because you should be free to change it according to your need.
Instead, being the smart tolerant guy, you should have suggested to have a drop down menu or something in the UI explaining the different settings to user and let them decide. That would have been more useful, thanks

Eh I am an AI/ML engineer, I could gather up all my wandb/tensorboard data and present an argument. That's a lot of work though man and I don't feel like doing that. Especially when you seem more about asserting your point than trying to learn from anyone or anything. Presenting an argument to you would be a waste of time. You wouldn't agree by default.
I cant tell you what the best solution is because there isn't one. Plain and simple, you can google it, ask AI, anyone else... they/it will agree.
I think maybe if we take a step back, an analyze things, it's very easy to get a little bit of experience or knowledge then fall into a trap and begin to think we have a good understanding. In reality, this isn't ever the case. We cannot know what we cannot know. While I understand why you think you have a solution, I am trying to tell you its not that simple. More importantly, you dont have to be so aggressive about it either. We cannot see your body language or tone of voice. So we need to understand the nuance and limitations of language, language through text, and make sure we cater towards such limitations.

Sorry if I came up agressive. I just felt you were kinda hovering about the subject but not disclosing actual applicable advice.
If you're an engineer in that field, I'm actually all ears :-)
I understand you have a tempered scientific approach to this, but at some point one has to make a decision which settings he's using, right ?
There has to be some settings that generally work fine and some that should be more reserved for specific uses cases

Sorry if I came up agressive. I just felt you were kinda hovering around the subject but not disclosing actual applicable advice.
If you're an engineer in that field, I'm actually all ears :-)
I understand you have a tempered scientific approach to this, but at some point one has to make a decision which settings he's using, right ?
There has to be some settings that generally work fine and some that should be more reserved for specific uses cases
I like the cooking metaphor :-D If you're gonna cook a new cake recipe you've never made, are you gonna...
A) increase constantly the temperature and wait until it is either not that well cooked or smells burned ?
OR
B) you're gonna increase it slowly for a short time, bake it at the temperature you think is typically appropriate for a short time, then slow down steadily until you've reach a duration where it must definitely be cooked, but just to be sure, cook some more using low temperature ?
Which method has the best chances of generally providing OK cooked cakes ? You have to choose, we're hungry, we got to try.
While you are hesitating and pondering all pros and cons, personally my choice is made and the cake is baking :-) That unless I know the cake is specific and needs a special treat.

Some learning material maybe? https://www.youtube.com/@AndrejKarpathy/playlists Karpathy is someone I admire or look up to. He is able to explain and teach very complex things in a simple way. This is a nod to his intelligence, knowledge and wisdom. He is giving it out for free, I suggest taking it. Then this video directly relates to what you're doing with learning rate schedulers on a basic level https://www.youtube.com/watch?v=Gf5DO6br0ts.
One reason to adjust the learning rate scheduler is if you have a model that is overfitting too early. We can adjust the learning rate to try and pinpoint how quickly the model like to learn. This will be reflected in the tensorflow data/loss values. This isn't the only solution there are other options, the videos will go over them. An exercise you can do is the next time you have a model showing signs of early overfitting play around with the learning rate scheduler values and options. Here is the code to 9 different learning rate schedulers https://www.kaggle.com/code/isbhargav/guide-to-pytorch-learning-rate-scheduling, there are many more and heres a video of someone briefly going over them https://youtu.be/WgwBRqhdIrQ?si=GCruXFNcKpbbilrssi=3go0xW4JZ3tgw-Le
While I do understand your metaphor, I have to push back a little bit there. I have no problem with providing a general solution that may work for the most people. I just dont agree that we can actually find that solution. The range of models, datasets, and techniques is too large. I would also disagree because this is a very complex thing. The idea isnt to make a mediocre model or a half baked cake. The idea is to be competent and create something that is worth creating. To do that, someone must dive deeper into the process and figure out what that learning rate is, what its doing, and how to tweak it to get the most optimal results.
While I do think have some degree of a tempered scientific approach. I also deeply believe it is to some degree an art form. Every "trainer", every engineer, leaves a smudge of themselves in the models they make. Sometimes inadvertently and other times with extreme precision and intent. It's like trying to pour yourself into a machine, hoping it reflects some twisted version of a perfect humanity back at you.
There is a paradox though... Perfection is a ghost, our AI models try to mirror the human condition, our words, our emotions, our thoughts, our expressions. It is futile. Humans are a mess, how are we supposed create something perfect out of the imperfect? Or maybe that's what the art is. What makes a human isn't straight lines, emotionless responses, or predictable thoughts and language. What makes a perfect human is bumps, scars, extreme fits of rage and joy, everything wrong and crooked and messy. Training on the good or the perfect, the most ideal dataset has got us pretty far but i firmly believe that once we solve how to train on the imperfect, thats when we will achieve actual AI.
We often give oversimplified explanations to help people understand complex concepts. And we can learn a little bit about a specific thing and because we do not understand yet how much we do not know, we fool ourselves into thinking we know it all. If only we could have seen the extent our current knowledge had yet to go.
Example: When we teach atomic structure, we often start with the "solar system" model, which isn't strictly accurate but helps build understanding. One could think they had a good understanding of atomic structure/science at that point.
So the Unseen University is where students arrive thinking they know everything (overconfident with basic knowledge). They leave realizing how little they actually know (gained true wisdom). Try not to fall into this trap, always be aware that mastery comes only from repetition, over many many many years.

Theory and all is nice, but its nothing without testing
both of you have good arguments, why dont you guys sit together take the same input images and captions, then test with different of your preferred settings and we see each step in the sample images which approach is better?
Personally, i cheated a bit with FLuxgyms settings and speed up the process with the default scheduler immensely
increase worker size, fiddle with some other settings and to get even faster, run the first epoch, let it save there then stop and start from that one again!
down from 132 seconds / iteration to 2-4 seconds / iteration (it speeds up overtime with the current )
Gonna try again with the new proposed from Tablaski and see if it yields better results and especially speed performance


tmp

Stack:

#421 ⬅
#252

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

This change is

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

Project coverage is 83.54%. Comparing base (c3e0810) to head (5a2b3af).

Additional details and impacted files
@@                Coverage Diff                 @@
##           spr/main/eda74c35     #421   +/-   ##
==================================================
  Coverage              83.54%   83.54%
==================================================
  Files                     37       37
  Lines                   1720     1720
  Branches                1720     1720
==================================================
  Hits                    1437     1437
  Misses                   206      206
  Partials                  77       77

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


JSON Schema / IETF support

So, apparently JSON Schema is an IETF standard (Informational), that is used in products like Swagger, and is some sort of alternative to node-simple-schema.
http://json-schema.org/
http://json-schema.org/documentation.html
http://json-schema.org/latest/json-schema-core.html
Has there been any thought given to support json-schema objects and syntax?  Perhaps through toSimpleJson() and fromSimpleJson() methods?

Yes, it's been proposed many times and considered quite a bit. The main issue is all of the support for functions in SS, which JSON schema doesn't have, and by definition can't have since it's a text format.
That said, going FROM jsonschema should be fine and going TO jsonschema could print warnings maybe whenever unsupported features are found.
I would prefer for this to be a separate package, though. I think someone may have attempted such a package awhile back, but I don't remember where or what it is offhand.

Sounds like a good idea.
Here is one use case to consider:
Having a (public) json schema that you want/have to use.
This would be the base (and could be updated later)  for the simple schema.
The simple schema that gets created should be extendable as before with custom stuff. ie.: autoform.

Hi!  Glad to see 1.5.7 released.  :)
I've recently finished a gnarly refactor, and the resulting library is a big step closer to needing JsonSchema support.  I have a much clearer idea of what we need, and it's just the minimal case where we initialize with a JsonSchema which then hydrates the SimpleSchema.  No need to worry about functions or warnings; can punt on those.
Anyhow, I've been noodling on how to move this forward, and coming up with something like the following:

Persons = new Mongo.Collection('Persons');

let personJsonSchema = {
  "$id": "https://example.com/person.schema.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Person",
  "type": "object",
  "properties": {
    "givenName": {
      "type": "string",
      "description": "The person's given name, commonly the first listed name"
    },
    "familyName": {
      "type": "string",
      "description": "The person's family name, commonly the last listed name."
    },
    "age": {
      "description": "Age in years which must be equal to or greater than zero.",
      "type": "integer",
      "minimum": 0
    }
  }
}

// alternatively, maybe import it
import { personJsonSchema } from 'lib-with-my-schemas'

// Idea A - Adjust the constructor, so SimpleSchema accepts a JsonSchema input
let PersonSimpleSchema = new SimpleSchema(personJsonSchema)

// Idea B - Initialize some sort of null schema,
// and add a function to parse and add the JsonSchema
let PersonSimpleSchema = new SimpleSchema()
PersonSimpleSchema.fromJsonSchema(personJsonSchema);

// Finally, attach the schema
Persons.attachSchema(PersonSimpleSchema);

Any thoughts on which approach would be better?  Have any thoughts on best practices on converting from JsonSchema to SimpleSchema?
We have a library of a few hundred highly curated JsonSchemas we need to parse into SimpleSchemas, so we can attach to server/client cursors via the Meteor build tool.   They get updated every few years, so we're going to have them in a separate library file.  But it looks like I need this functionality, and it's the next big refactor (scheduled for this summer).

Between those approaches, I prefer a static factory function that returns an instance:
let PersonSimpleSchema = SimpleSchema.fromJsonSchema(personJsonSchema);

maybe SimpleSchema.newFromJsonSchema would make it more obvious that it returns an instace?

@awatson1978 I agree with @coagmano that some sort of factory function is best, but I'd add that it should be a separate package with a dependency on simpl-schema. So rather than SimpleSchema.fromJsonSchema, it would be its own thing you import:
import buildSimpleSchemaFromJson from "some-pkg";

let PersonSimpleSchema = buildSimpleSchemaFromJson(personJsonSchema);

If nobody else is interested in creating and owning this package, I can do it. But I do think it's best to keep all of that separate. (The existing package should already be broken into a few different packages, IMO.)
Out of curiosity, are you using MongoDB and have you looked into their newish built-in JSONSchema validation? If you attach those to the mongo collections directly in Mongo, then .attachSchema may not even be necessary, although you'd have to parse mongo errors.

Hi,
I don't have a horse in the race regarding how it's package.  The one thing I'll say though, is don't underestimate the value of having a well curated API.
// maybe export both the function as well as attaching it to the SimpleSchema object?
import { buildSimpleSchemaFromJson, SimpleSchema} from "some-pkg";

// for people who want want to keep their namespaces flat
let PersonSimpleSchemaA = buildSimpleSchemaFromJson(personJsonSchema);

// for people who want curated API namespaces and Intellisense functionality in their editors
let PersonSimpleSchemaB = SimpleSchema.buildSimpleSchemaFromJson(personJsonSchema);

As for MongoDB's newish built-in JSONSchema validation - yes, I have!  We're very excited about the new functionality, and very much looking forward to using it.
However, maybe 80% or 90% of the work we do is with iOS apps and using Meteor as an application server.  In the healthcare industry, there's an industry wide initiative to enable standardized HTTP interfaces at all the hospitals and laboratories in the US.  So we focus a lot of our time building client side apps that don't actually use Mongo or DDP all that much.  Rather, we tend use the Meteor build pipeline, and then fetch data from lots of different servers using HTTP.  The hospital endpoints are suppose to be all the same, but there are implementation bugs, differences in interpretation, different versions of the standard, etc.  So, we need the JSONSchemas on the client to do quality control.
We're interested in someday landing on a simpl-schema + minimongo + ajv solution, and minimizing our overall usage of Atmosphere.   But that's probably a year away, and requires at least two more major refactors.
Until then, SimpleSchema/Minimongo is the isomorphic solution we know works.  Better to use it to work the JSONSchemas over to the client.  Then we can lock down some acceptance tests and integration tests, and then refactor to the NPM packages.

Thanks for the context @awatson1978 .
I'll have to think about the best place for the function. An in between solution would be having the implementation in a separate package, and also export wrapper functions from the main pkg like your example. The new package would be a peer dep that is dynamically imported. Therefore you'd only need to install it if you plan to call that function. I might be leaning toward this approach for this as well as other things like clean that I'd like to move to separate packages to reduce the package size further.

Hi!  A year or few later, and I've find myself digging into that refactor I was talking about.  I've also found an example of an external factory package that tried to do the conversion that we were discussing:
https://github.com/bshamblen/meteor-json-simple-schema
The following file was last updated in 2017, but sort of attempts to do the conversion:
https://github.com/bshamblen/meteor-json-simple-schema/blob/master/json-simple-schema.js

Hi all 👋
I have to say, really cool package! 🎉
Me Thinking With You All
I'm using NestJS, and kind of tied to the class-validator style.
I was wondering if converting class-validator to JSON Schema, and then importing it to simpl-schema might be a good idea.
I like the way this library handles MongoDB operators and edge-cases.
What do you think? Is that an overhead?


About Bone modality

Thanks for the great work！
When I trained the bone modality following the Readme， I found the modality still is joint.
In the config, the "bone" is set to False.
And the running command CUDA_VISIBLE_DEVICES=0,1 python main_multipart_ntu.py --config config/nturgbd120-cross-subject/lst_bone.yaml --model model.ctrgcn.Model_lst_4part_bone --work-dir work_dir/ntu120/csub/lst_bone --device 0 1  does not change this setting.

We use k=1 to change the modality, similar to InfoGCN

Thank you


Tests and test setup

@Technici4n Now you do the juliasetup in the tests from the setup config file. I wonder if this is a good idea. Are the side effects under control ? Is it perhaps better to do this in the .github/workflows/ci.yml ?

I did it in this way to make sure that running pytest locally is enough. I didn't consider side effects, should I be worried about them?

Well the very least you should be more specific in the AiidaDFTK version. Not every 0.1 will work, only the most recent (so 0.1.9). See https://pkgdocs.julialang.org/v1/compatibility/ for info (a very important website to bookmark ... I always forget the details)
Also I'm a bit surprised about the Pkg.resolve(); Pkg.precompile(). Should a single Pkg.instantiate() not be enough ?


conv2d_transpose crashes on GPU with zero size batch

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
TensorFlow installed from (source or binary): binary (installed with conda install tensorflow-gpu)
TensorFlow version (use command below): b'unknown' 1.3.0
Python version: 3.5.2
Bazel version (if compiling from source): N/A
CUDA/cuDNN version: 8.0/6.0
GPU model and memory: GTX 980
Exact command to reproduce: See below

Describe the problem
Execute the script below.  It works correctly when running on a CPU, but on a GPU it crashes with this error:
tensorflow/stream_executor/cuda/cuda_dnn.cc:430] could not convert BatchDescriptor {count: 0 feature_map_count: 1 spatial: 7 7  value_min: 0.000000 value_max: 0.000000 layout: BatchDepthYX} to cudnn tensor descriptor: CUDNN_STATUS_BAD_PARAM

The error happens when the first dimension of the input array is 0.
Source code / logs
import tensorflow as tf
import numpy as np

a = tf.placeholder(dtype=tf.float32, shape=(None, 7, 7, 1))
b = tf.contrib.layers.conv2d_transpose(a, num_outputs=16, kernel_size=5, stride=2)
session = tf.Session()
session.run(tf.global_variables_initializer())
print(session.run(b, feed_dict={a: np.zeros((0, 7, 7, 1))}))

I encountered this in TensorFlow 1.4.0 - so looks like this fix is not included in 1.4.0 release. I installed TensorFlow nightly build (tf_nightly_gpu-1.5.0.dev20171127-cp35-cp35m-manylinux1_x86_64.whl) and the nightly build solves the issue.

I can confirm the issue still exists in my case for the nightly build tf_nightly_gpu-1.5.0.dev20171127-cp35-cp35m-manylinux1_x86_64.whl... :(
Anyone can points us the good build that fixes the issue?

@hpnhxxwn OK you are right - it also exists in my app too. The above example runs successfully, but my tensorflow app just crashes:(

The fix did not make it into 1.4, but should be in nightly.
@hpnhxxwn, does the above example not work or is it a different example that does not work? Can you post your CUDA/cudnn/Python/Ubuntu versions and your GPU? I'm not seeing the issue on Ubuntu 14.04, Python 2.7, Cuda 8 and cuDNN 6 with pip install tf-nightly-gpu.
@xiaoyaozhuzi what is the error message when your TensorFlow app crashes? If possible, can you post a small example that reproduces the problem?

@reedwm
It is my code. It was working for CPU version, but for GPU it did not work and gives me such error. Mine is Ubuntu 16.04, Python 3.5, Cuda 8 and cuDNN 5. Actually I tried both tensorflow 1.14.0 with cuDNN 6 and local build from tenforflow latest source code with cnDNN 5, both have issue. I have also tried with the nightly build xiaoyongzhu pointed yesterday, also has the same issue with cuDNN6. The error message is really mysterious and I do not know where to look at. However, the code works on CPU tensorflow.
My code is below, could you suggest workaround?
def resnet_model(bin_multiple):

    #input and reshape
    inputs = Input(shape=input_shape)
    reshape = Reshape(input_shape_channels)(inputs)

    #normal convnet layer (have to do one initially to get 64 channels)
    conv = Conv2D(64,(1,bin_multiple*note_range),padding="same",activation='relu')(reshape)
    pool = MaxPooling2D(pool_size=(1,2))(conv)

    for i in range(int(np.log2(bin_multiple))-1):
        print i
        #residual block
        bn = BatchNormalization()(pool)
        re = Activation('relu')(bn)
        freq_range = (bin_multiple/(2**(i+1)))*note_range
        print freq_range
        conv = Conv2D(64,(1,freq_range),padding="same",activation='relu')(re)

        #add and downsample
        ad = add([pool,conv])
        pool = MaxPooling2D(pool_size=(1,2))(ad)

    flattened = Flatten()(pool)
    fc = Dense(1024, activation='relu')(flattened)
    do = Dropout(0.5)(fc)
    fc = Dense(512, activation='relu')(do)
    do = Dropout(0.5)(fc)
    outputs = Dense(note_range, activation='sigmoid')(do)

    model = Model(inputs=inputs, outputs=outputs)

    return model

@hpnhxxwn I'm not sure what the issue is. Can you post the full error message that occurs? Also if possible can you post the full example? Are you calling conv2d_transpose with zero batch size?


[test] Move all pmod tests to a spearate folder.

Move all pmod test cases under //sw/device/tests/pmod to make it more obvious that these tests require additional test harness support.
A README describing the pmod test harness can be added later.

I manually triggered a nightly run to check that the BoB test still pass
https://dev.azure.com/lowrisc/opentitan/_build/results?buildId=131255&view=results

The test i2c_host_ambient_light_detector_test_cw310_test_rom failed, but it is a flakness, so we are safe to merge.

Thanks for checking @engdoreis!


Propagate events errors in v0.52 icacontroller

This error should be propagated and returned from this func.
The likelihood of these errors surfacing from EventManager are pretty much zero, but at some point in a future far away it may be possible for it to error - given a different impl of event service.
None the less, its good practise to actually return the errors and not panic and rely on grpc recovery interceptor
Originally posted by @damiannolan in https://github.com/cosmos/ibc-go/pull/7587#discussion_r1871753716

@damiannolan Can I work on this?

Hey, this is already implemented in https://github.com/cosmos/ibc-go/pull/7261 which we are working towards merging asap. I will close this issue


Add zignal

Introduced here: https://ziggit.dev/t/new-image-processing-library-zignal/4011

Thank you!


Missing required parameter "id" when instantiating

I was trying to install craft-autocomplete in PhpStorm and ran into the following error:
Missing required parameter "id" when instantiating "nystudio107\autocomplete\Autocomplete".
Additional context
Craft Solo <IP_ADDRESS>
PHP 7.4.21

"require": {
  "craftcms/cms": "^3.0.1",
  "vlucas/phpdotenv": "^2.4.0",
  "focuslabllc/craft-cheat-sheet": "^2.0.3"
},

Output
bash-3.2$ composer require nystudio107/craft-autocomplete --dev
Using version ^1.10 for nystudio107/craft-autocomplete
./composer.json has been updated
Running composer update nystudio107/craft-autocomplete
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
  - Locking nystudio107/craft-autocomplete (1.10.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing nystudio107/craft-autocomplete (1.10.0): Extracting archive
Generating optimized autoload files

Error
2022-03-02 14:02:24 [-][-][-][error][yii\base\InvalidConfigException] yii\base\InvalidConfigException: Missing required parameter "id" when instantiating "nystudio107\autocomplete\Autocomplete". in /Users/hartbr/websites/brianhartdesign-craft3/vendor/yiisoft/yii2/di/Container.php:498
Stack trace:
#0 /Users/hartbr/websites/brianhartdesign-craft3/vendor/yiisoft/yii2/di/Container.php(393): yii\di\Container->resolveDependencies(Array, Object(ReflectionClass))
#1 /Users/hartbr/websites/brianhartdesign-craft3/vendor/yiisoft/yii2/di/Container.php(165): yii\di\Container->build('nystudio107\\aut...', Array, Array)
#2 /Users/hartbr/websites/brianhartdesign-craft3/vendor/yiisoft/yii2/BaseYii.php(345): yii\di\Container->get('nystudio107\\aut...', Array)
#3 /Users/hartbr/websites/brianhartdesign-craft3/vendor/yiisoft/yii2/base/Application.php(294): yii\BaseYii::createObject('nystudio107\\aut...')
#4 /Users/hartbr/websites/brianhartdesign-craft3/vendor/craftcms/cms/src/console/Application.php(61): yii\base\Application->bootstrap()
#5 /Users/hartbr/websites/brianhartdesign-craft3/vendor/yiisoft/yii2/base/Application.php(273): craft\console\Application->bootstrap()
#6 /Users/hartbr/websites/brianhartdesign-craft3/vendor/yiisoft/yii2/console/Application.php(124): yii\base\Application->init()
#7 /Users/hartbr/websites/brianhartdesign-craft3/vendor/craftcms/cms/src/console/Application.php(47): yii\console\Application->init()
#8 /Users/hartbr/websites/brianhartdesign-craft3/vendor/yiisoft/yii2/base/BaseObject.php(109): craft\console\Application->init()
#9 /Users/hartbr/websites/brianhartdesign-craft3/vendor/yiisoft/yii2/base/Application.php(206): yii\base\BaseObject->__construct(Array)
#10 /Users/hartbr/websites/brianhartdesign-craft3/vendor/yiisoft/yii2/console/Application.php(89): yii\base\Application->__construct(Array)
#11 [internal function]: yii\console\Application->__construct(Array)
#12 /Users/hartbr/websites/brianhartdesign-craft3/vendor/yiisoft/yii2/di/Container.php(406): ReflectionClass->newInstanceArgs(Array)
#13 /Users/hartbr/websites/brianhartdesign-craft3/vendor/yiisoft/yii2/di/Container.php(165): yii\di\Container->build('craft\\console\\A...', Array, Array)
#14 /Users/hartbr/websites/brianhartdesign-craft3/vendor/yiisoft/yii2/BaseYii.php(365): yii\di\Container->get('craft\\console\\A...', Array, Array)
#15 /Users/hartbr/websites/brianhartdesign-craft3/vendor/craftcms/cms/bootstrap/bootstrap.php(246): yii\BaseYii::createObject(Array)
#16 /Users/hartbr/websites/brianhartdesign-craft3/vendor/craftcms/cms/bootstrap/console.php(51): require('/Users/hartbr/w...')
#17 /Users/hartbr/websites/brianhartdesign-craft3/craft(21): require('/Users/hartbr/w...')
#18 {main}

Any chance you can test this on a more recent version of Craft, to help eliminate the possibility that the issue is with an old version of Yii?

Updated to the latest version of Craft - that fixed it. Thanks for your help gents.

huh. Might have been a bug in the version of Yii2 that some older version of Craft required, I suppose.
Should we try to retroactively fix this @bencroker ? Or just tell people to update?

Sounds like a Yii bug that was since resolved, so I'd say we leave it as is.

Addressed in: https://github.com/nystudio107/craft-autocomplete/commit/d5dfa7e4f336b87ac615d141390a22ba6474bef0
You can try it now by setting your semver in your composer.json to look like this:
    "nystudio107/craft-autocomplete": "dev-develop as 1.10.1”,

Then do a composer clear-cache && composer update


Reduces usage of ENABLE_HTTPS

We can remove the usage of ENABLE_HTTPS variable and that can be removed in later commits.
We can just us what rails is generating for url.
So sending a URL from controller can be http or https based on what is application using/running.
We can force the https in production.rb instead of having this check in before_filter.

Would you mind adding a commit description of explaining why this is a good idea?

@gylaz Yes. I have updated the PR description.
Card is here https://trello.com/c/3xft1Ylq

@gylaz I have updated PR. Please have a look.

Looks good!

@gylaz what you think about this PR?

I had one more question regarding the mixin. Make the call on what makes sense. If this works on staging, then lets merge it.

@gylaz I have removed that module for now. Seems like too much as well.
Will check once on staging before merging.


Unfortunately minio does not give any error message.
Error Message from Thanos:
level=warn ts=2021-01-13T11:02:50.446721205Z caller=intrumentation.go:54 msg="changing probe status" status=not-ready reason="bucket store initial sync: sync block: BaseFetcher: iter bucket: You are not authorized to perform this operation"
level=info ts=2021-01-13T11:02:50.446764001Z caller=http.go:65 service=http/server component=store msg="internal server is shutting down" err="bucket store initial sync: sync block: BaseFetcher: iter bucket: You are not authorized to perform this operation"

After spending a week the issue has been found in minio package.
minio uses credentials pkg to get the aws credentials access in 4 different ways to authorize with tokens.
Credentials
The preferred way which most organisation would like to use IAM approch.
This approach uses token from the serviceaccount and updates to AWS_WEB_IDENTITY_FILE env variable.
minio parses these env variables to decode the token using sts.
The sts endpoint that is used in minio is hardcoded.
if len(os.Getenv("AWS_REGION")) > 0 {
				endpoint = "https://sts." + os.Getenv("AWS_REGION") + ".amazonaws.com"

and the default is
 defaultSTSRoleEndpoint      = "https://sts.amazonaws.com"
This allows only the regions that are expect china regions.
incase if the Beiging region is configured then it does not uses the special sts china endpoint China (Beijing) Region Endpoints

After spending a week the issue has been found in minio package.
minio uses credentials pkg to get the aws credentials access in 4 different ways to authorize with tokens.
Credentials
The preferred way which most organisation would like to use IAM approch.
This approach uses token from the serviceaccount and updates to AWS_WEB_IDENTITY_FILE env variable.
minio parses these env variables to decode the token using sts.
The sts endpoint that is used in minio is hardcoded.
if len(os.Getenv("AWS_REGION")) > 0 {
				endpoint = "https://sts." + os.Getenv("AWS_REGION") + ".amazonaws.com"

and the default is
 defaultSTSRoleEndpoint      = "https://sts.amazonaws.com"
This allows only the regions that are expect china regions.
incase if the Beiging region is configured then it does not uses the special sts china endpoint China (Beijing) Region Endpoints

fixed by #1444


Error In creating Resource group If it does not exist

I am trying to create a resource group , storage account and upload the tf state file to the blob once the terraform resource is created . The task is failing to create the resource group if it does not exist.

@anand5555 the value for Location should be the short name of the location. The short name for East US is "eastus". Try using that and let me know if that helps. If you are still having issues, please dump the entire log output for the init task and attach it in this issue.

@anand5555 you can list the region short names using the following az cli command
az account list-locations --query [].name  -o table

@charleszipp That helped . Thank you.


is there something wrong in CMakeLists?

#################################################
SOURCE FILES SETTINGS
#################################################
add_subdirectory(core)--------------------------->core is not exsit, you means : cpp/core ?
add_subdirectory(tools)
add_subdirectory(samples)
creates the shaders custom target
include (cmake/shaders.cmake)
Now, there are some compilation errors with cmake...............

Hi, I changed build system from CMake to Bazel a while ago, but haven't deleted the CMakeLIsts files for safety in case I'm not able to do something with Bazel.
For building the project, you can run:
CC=clang bazel build //...
CC=clang bazel build @lua//:lua_cc_library
cd python
CC=clang python3 setup.py build

You can check the list of dependencies in https://github.com/jadarve/lluvia/blob/master/ci/Dockerfile


Specifying Azure Storage Blob (instead of container)

When connecting to an Azure Storage account, I'd like to specify a specific blob in the container to have the import/export save to.
My current set up for my team is to have a "machinelearning" container and individual projects in blobs. When I connect it to my container it, it uploads all the photos and saves in the general container instead of an individual blob. I'd like a more organized structure for exporting VoTT.

Hi @ninip can you elaborate with your use case and what your blob structure looks like?


feat: add static http gateway routing

Adds a routing implementation that returns a static list of gateways as providers for CIDs.
It's expected that these gateways are able to fetch content on our behalf.
Depends on:

[x] https://github.com/libp2p/js-libp2p/pull/2496
[x] https://github.com/ipfs/helia/pull/516

Change checklist

[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation if necessary (this includes comments as well)
[x] I have added tests that prove my fix is effective or that my feature works

I'm curious, how do you plan on using the HTTPGatwayRouter once merged?

how do you plan on using the HTTPGatwayRouter once merged?

It'll be configured like any other router and will let http gateway sessions fall back to a default set of gateways.
We'll also be able to switch the gateway block broker over to use the helia routing which will let it find non-preconfigured gateways but also fall back to the default ones.

I'm curious, how do you plan on using the HTTPGatwayRouter once merged?

Some context for @2color from chat I had with @achingbrain when talking about issues with trustless-gateways related to testing out the changes in https://github.com/ipfs/helia-verified-fetch/pull/50

Basically I’m not sure we’re ready for HTTP Gateway sessions yet.
To that end I’ve put this PR together that adds a routing implementation that just returns a static list of gateways - https://github.com/ipfs/helia/pull/515
This way when we get better HTTP results via the delegated lookup in the future we can just turn off the static list.

Essentially, we need some way to reduce the breadth of content-fetching requests (via sessions), and trustless gateways returned from delegated routing providers are not consistently reliable and frequently not available at all.
When I was looking into it, I proposed having trustless gateway sessions fall back to the provided trustless-gateways passed to blockBrokers. IIUC, this PR enables a version of that fallback in the defined "routing" language we've recently moved to in helia.
Alex to correct me here if I'm wrong or too imprecise.

That's it, all good.

Nice! Cool stuff


Android-Java: 1.7.1 How to store and use images in xml file of android studio.

Description : Added the description about drawable directory and steps to store image by creating image asset.
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes # <74>

Type of change 📝

[ ] Audio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)

[ ] Video (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)

[ x] Documentation (Content Creation in the form of codes or tutorials)

[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[x ] Android Dev (Flutter, Java, Kotlin)
[ ] Backend Dev (Java, .NET, Python)
[ ] C/CPP
[ ] Competitive Programming
[ ] Cyber Security
[ ] DSA
[ ] Database
[ ] Datascience with Python
[ ] Datascience with R
[ ] Frontend Dev (HTML, CSS, JS)
[ ] Frontend Dev (React, Angular, Vue)
[ ] Golang
[ ] Interview Prep
[ ] Java
[ ] JavaScript
[ ] MERN
[ ] Machine Learning
[ ] Open Source
[ ] Python
[ ] Rust
[ ] Statistics
[ ] UI/UX

Checklist ✅

[ ] I follow Contributing Guidelines & Code of conduct of this project.
[x ] I have performed a self-review of my own code or work.
[ ] I have commented my code, particularly in hard-to-understand areas.
[x ] My changes generates no new warnings.
[x ] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

The resource folder is the most important folder because it contains all the non-code sources like images, XML layouts, UI strings for the android application. In Android Studio inside the res folder, one can find the drawable folder, layout folder, mipmap folder, values folder, etc. Among them, the drawable folder contains the different types of images used for the development of the application. We need to add all the images to the drawable folder for the application development. Images are used in android applications to provide more user-friendly behavior & functionality.
Method 1
In method 1 we will do it through the way Android Studio provided to you.
Step 1: Open Android Studio and go to the app > res > right-click > New > Image Asset as shown in the below figure.

Step 2: A pop-up screen will arise like below. Here choose Action Bar and Tab Icons in Icon Type.

Step 3: Then choose Asset Type as Image and enter the Path of your image. Enter the name of your image and click on Next.

Step 4: Now you can see the android studio automatically created the different-sized images. You can directly create the folder and drag image inside but you won’t have the different-sized icons if you do that and this the main advantage of following this method. And finally, click on the Finish button.

Now go to the app > res > drawable and you can find a folder named as image.
Note:
drawable-ldpi (low-density): Lower images quality supported by the earlier sets of the android – 240×320 pixels
drawable-mdpi (medium-density): For medium images support – 320×480 pixels
drawable-hdpi (high-density): Images for the Android Broad Screen set or Android Phones with the Higher resolution – 480×800 pixels
drawable-xhdpi (extra high-density): Devices with maximum resolution – 720×1280 pixels.

Great work @kritika2311 but we can't merge this PR as this came from the main branch. Kindly create a new branch using these steps and send another PR from that branch.
1- Create a new branch Android_Development_With_Java using git branch Android_Development_With_Java.
2- Checkout to this new branch using  git checkout Android_Development_With_Java.
3- Now you add your file your files into this branch only using the command git add .
4- Commit your changes using the command git commit -m "ENTER YOUR COMMENT HERE".
5- Push your changes using the command git push origin Android_Development_With_Java
I hope I will see another branch from you for the same issue very soon. I am closing this PR right now.


Align bats tests

This pull request derives from #289. So needs to be handled after that.

This pull request just aligns the bats test scripts. The changes are trivial (name, indent). All the tests are virtually kept intact.
This change makes it easier to compare the scripts.

I guess this is just to align the tests on Windows and Linux/MacOS.

Exactly.
Thanks for the review.


[FIX] fix inconsistencies for task label between sections

Related to issue #445

uniformize task-<label> in the filename template across sections
make the TaskName description for the JSON sidecar exactly match that of fMRI
fix some typos

Thanks for the fixes @Remi-Gau! :-)
Unfortunately the edits have misaligned a few table fences, Can you fix the linter, please?
Also I find this new phrasing a bit hard to understand. What was your intention with this change?
-The Task label is derived from this field ...
+Task label (`task-`) included in the file name is derived from this field ...

(`task-`)

is not the task label, but rather the key of the "task key-value pair", with the label being the value. So that's why I am a bit confused.

Also I find this new phrasing a bit hard to understand. What was your intention with this change?
-The Task label is derived from this field ...
+Task label (`task-`) included in the file name is derived from this field ...

(`task-`)

is not the task label, but rather the key of the "task key-value pair", with the label being the value. So that's why I am a bit confused.

For this, I literally reused the wording from the fMRI section. So I suspect we might want to clarify this one to have all sections consistent. :-)
How about this?
The task label included in the file name is derived from this TaskName field by removing all non alphanumeric (`[a-zA-Z0-9]`) characters. For example TaskName `faces n-back` will correspond to task label `facesnback`.

FYI the behavioral section has no corresponding description for the task label but the explaining text says to refer to the other sections, so it should be enough IMHO.

For this, I literally reused the wording from the fMRI section.

I see :thinking:
I like your new suggestion from https://github.com/bids-standard/bids-specification/pull/446#issuecomment-613522635 and agree that having this consistent across the spec is good to have :+1:

Sorry, one annoying suggestion: "non alphanumeric" should be "non-alphanumeric".
And let's update the entry in MRI, to be consistent:
https://github.com/bids-standard/bids-specification/blob/42bcc6c6700777c0aff4ffc2e95d6ccbf70f0882/src/04-modality-specific-files/01-magnetic-resonance-imaging-data.md#L279

And let's update the entry in MRI, to be consistent:

Can't believe I did not update the MRI section. Silly me.

Thanks @Remi-Gau!


Needlessly repeated texts in VisualShader translations

Godot version:
3.1.1
Issue description:
While translating on Weblate, I encountered a streak of same-looking texts, which differed only in an untranslatable string. The texts are e.g.:
'uv' input parameter for all shader modes.
My point is, in above text the "uv" will probably stay the same in all languages, as I assume it's a constant name. There are 10 texts like this and they could be simply:
'%s' input parameter for all shader modes.
Later there's also
'%s' input parameter for vertex and fragment shader modes.
'%s' input parameter for fragment and light shader modes.
and few more similar groups. Using a format instead would result in much less texts to translate, because it's pointless to keep them as separate strings.

This can be fixed by using:
vformat(TTR("'%s' input parameter for all shader modes."), "uv"); and so on for all other occurrences.

Yeah, good idea, at that time I'm maked them I didnt knew about that method (otherwise they already been correct)

I would like to work on this, as a way to learn how it works.
So if I understood this correctly, i have to remove texts like this (leaving only one of them?)
https://github.com/godotengine/godot/blob/6e03236574467d6a0c3aca1b0375da59423b0083/editor/translations/af.po#L8231-L8233
from the translation files.
Then replace something like TTR("'camera' input parameter for all shader modes.") with what @akien-mga said above?

You don't need to change translation files, only the TTR statements. The .pot and .po files are updated by a script.

Which script is it?

Edit: is it extract.py in the same folder they are located?

Yes, but you don't need to run it, I do that when syncing docs.

Actually syncing would be useful for this particular PR.


Top bar has a static color

As a home assistant user I've customized the whole theme. When I use this application (vs the web app) the top bar has a flashy blue (default) home assistant theme even after setting the theme to something else.
Is it possible to either:

Manually pick a color within the app for the top bar
Inherit the color of the applied theme in home assistant

This project is a hobby, so I don't have enough free time to add all your requests. But, as this project is open source, anyone can add their own features.


The configuration of the 8i dataset.

Hello, how to set up the 8i data in train.py?

Please run the preprocessing in this file to generate the dataset:
pre_post_processing/Add_Gaussian_Noise.py

Please run the preprocessing in this file to generate the dataset: pre_post_processing/Add_Gaussian_Noise.py
Thank you for your reply, would you like to ask Add_ Gaussian_ The purpose of Noise. py is to add noise. Why do we add noise? Shouldn't we downsample the dataset? Or should we downsample the 8i dataset first and then add noise
And there are also four datasets in the 8iVFBv2 dataset, including longpress. root. redandblack. oldier. How to divide the training set, testing set, and validation set, by placing them in a folder and setting the num_test in the following code

parser.add_argument("--dataset", default='../Data/8iVFBv2/')
parser.add_argument("--downsample", default=8, help='Downsample Rate')
parser.add_argument("--num_test", type=int, default=1024, help='how many of the dataset use for testing')
parser.add_argument("--dataset_8i", default='../Data/8i_test/8x/')
parser.add_argument("--dataset_8i_GT", default='../Data/8i_test/orig/')


State node incorrectly moved when dragging them if the StateMachine Editor is scaled

sorry for the edit, I mistakenly click the submit btn but edit is unfinished.

Confirmed, there seems to have some kind of weird offset when the graph is scaled.
Thanks!


Horizontal scroll on README.md

When you open a  markdown file  in the repo, while the content fit nicely on the screen, you get an annoying horizontal scrollbar.

Im only experiencing this on some repo's not on all. When there is a horizontal scroll bar it is not visible (only when you scroll) and its because there is code or markdown tables which take up space.
Not sure what a solution would be. Scrolling is fine here i guess?

Thanks a lot for your report.
This have been fixed in #236, it will be live in the next release.


Expose ruby version via Gemfile

Not all environments will pick up a .ruby-version file when deciding
which version of ruby to use. Heroku uses a Gemfile's ruby x.y.z
This repo is deployed to Heroku as an instance of dummy_content_store
serving it's examples 1.
In order for this app to be deployed to Heroky at the right ruby version
the version is exposed via the Gemfile as well, but not duplicated, so
there isn't a risk of the versions being set independently and falling
out of sync.
When a version isn't set, Heroku defaults to 2.0.0, which it is sun
setting 2, so a Heroku-recognised version needs to be exposed for
the instance of the app to continue working.
This also makes the ruby version specific to the patch level, not just
minor. The difference in version is important when running as an
application, eg, the dummy content store.
Although this repo isn't an application intended to be deployed, it's
Heroku instance is a supported workflow 3 and it's often run locally
during development, when not working against a live content store, and
in both these cases we should be pinned to a specific version of ruby.
Exposing the .ruby-version via the Gemfile is a little ugly, but
it's a pattern we've used before on apps we want to run in heroku 4
and as our apps become simpler, and easier to run independantly of the
rest of our stack, this is a pattern we may want to follow on more of
our apps.
*cc/ @benlovell and @boffbowsh, who I discussed this with on Slack.

:+1: but not merging to allow for discussion

I'm :+1: too.

I'd be :+1: for removing .ruby-version or .gitignoring them, and just having the value the Gemfile. Heroku doesn't read it, and recent RVM can read the version out of the Gemfile anyway
Eriks-MacBook-Pro:alphagov erik$ ruby -v
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14]

Eriks-MacBook-Pro:alphagov erik$ cd smart-answers/
RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does that too,
you can ignore these warnings with 'rvm rvmrc warning ignore /Users/erik/Coding/alphagov/smart-answers/Gemfile'.
To ignore the warning for all files run 'rvm rvmrc warning ignore allGemfiles'.

Eriks-MacBook-Pro:smart-answers erik$ ruby -v
ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-darwin15]

Eriks-MacBook-Pro:smart-answers erik$ ls .ruby-version
ls: .ruby-version: No such file or directory

Yes but rbenv doesn't support that without a plugin.

@erikse Some of us use other ruby version managers.

I'd be  for removing .ruby-version or .gitignoring them, and just having the value the Gemfile. Heroku doesn't read it, and recent RVM can read the version out of the Gemfile anyway

As I understand it we use .ruby-version for compatibility with rbenv, which doesn't seem to support the Gemfile approach without a plugin.

Just seems backwards to me, making our code depend on some tooling config

@erikse it's a standard pattern in 12factor apps to include all necessary dependencies for the target platform in the code repository: http://12factor.net/dependencies. Our target platform uses rbenv to manage Ruby versions.

But that tooling is codified within our deployment processes and the puppet configuration of both the dev VMs and (non-contractor) developer laptops.

:+1: from me

OK. Sounds like .ruby-version isn't going to be going away any time soon, and that this is a valid workaround for apps which need to be deployed to Heroku :+1:
Any reason I shouldn't open a PR to add this workaround to https://github.com/alphagov/govuk-rails-app-template as a default? That repo has the advantage that it can be a somewhat canonical example of good, and the commit there can mirror the information here.

Sounds sensible to me :+1:

Makes sense and helps with the Appeal to a Higher Power :tm: situations in further related PRs.


Fix rendering of Presto Functions documentation page

Make sure to display functions in a table and not in a tree-shaped bulleted list in https://facebookincubator.github.io/velox/functions.html

@zhejiangxiaomai Thank you for the quick fix. Would you attach a screenshot of the page after the fix?
Here you are.


Change irfft tests tolerance

Fixes cupy-combination tests in chainer-test
https://github.com/chainer/chainer-test/pull/644
Confirmed locally with cuda 11.0 and scipy 1.6.1
This does not happen with cuda 11.2

Jenkins, test this please.

Jenkins CI test (for commit d6b7c72af124c4549354465d44c86d1e238475af, target branch master) failed with status FAILURE.

Jenkins failure is unrelated to this PR. LGTM!


Login Page

Need to create a login page where user can sign in through google or similar social platform.

completed with commit https://github.com/yashtibrewal/leechcode/commit/0ce2f220bb97d726782704bfa6ce1c5182a59677


Allow QiskitRuntimeService with no token

What is the expected feature or enhancement?
To get public information without needing a token. This would be useful for testing code in CI without risking sending off jobs.
Acceptance criteria
The following code works
from qiskit_ibm_runtime import QiskitRuntimeService

QiskitRuntimeService.save_account(channel="ibm_quantum", token=None, set_as_default=True)
service = QiskitRuntimeService()
service.backends()

With a helpful error message if a user tries to submit a job without a token.

I don't think this is possible without significant overhaul, we cannot initialize an account without a token. Are there issues with using a normal account and just not running any jobs?


Nav light variation with c-nav--light

I noticed the docs didn't have the light nav variation.  Happy to make copy changes if needed.

Edit: cc @gregorypratt

👍 thanks for this addition!


eds: handle endpoint before pod event

Fixes https://github.com/istio/istio/issues/19025

@hzxuzhonghu @rshriram @howardjohn PTAL

@ramaraochavali: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

unit-tests_istio
6fdbe1774c1ad2e38b9f0330c4c9bdff348ed57d
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ramaraochavali: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

lint_istio
b6f68fb6fe61ae9160eaffcd8e4ce1bc8ce2ebdb
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test lint_istio

@ramaraochavali: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

lint_istio
b6f68fb6fe61ae9160eaffcd8e4ce1bc8ce2ebdb
link
/test lint_istio

e2e-bookInfoTests-envoyv2-v1alpha3_istio
b6f68fb6fe61ae9160eaffcd8e4ce1bc8ce2ebdb
link
/test e2e-bookInfoTests-envoyv2-v1alpha3_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test e2e-bookInfoTests-envoyv2-v1alpha3_istio

@ramaraochavali: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pilot-multicluster-e2e_istio
b6f68fb6fe61ae9160eaffcd8e4ce1bc8ce2ebdb
link
/test pilot-multicluster-e2e_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test pilot-multicluster-e2e_istio

@ramaraochavali: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

lint_istio
b02a89bf8e0854b96821dfb13bda91c98862a255
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test lint_istio

@hzxuzhonghu addressed the feedback. PTAL

@hzxuzhonghu changed the log line and removed the metric

@ramaraochavali: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pilot-multicluster-e2e_istio
5d7974225a19f7ee03414eeedbec4ff2811d817f
link
/test pilot-multicluster-e2e_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test pilot-multicluster-e2e_istio

In response to a cherrypick label: #19035 failed to apply on top of branch "release-1.4":
error: Failed to merge in the changes.
Using index info to reconstruct a base tree...
M	pilot/pkg/serviceregistry/kube/controller/controller.go
M	pilot/pkg/serviceregistry/kube/controller/controller_test.go
M	pilot/pkg/serviceregistry/kube/controller/pod.go
M	pilot/pkg/serviceregistry/kube/controller/pod_test.go
Falling back to patching base and 3-way merge...
Auto-merging pilot/pkg/serviceregistry/kube/controller/pod_test.go
Auto-merging pilot/pkg/serviceregistry/kube/controller/pod.go
CONFLICT (content): Merge conflict in pilot/pkg/serviceregistry/kube/controller/pod.go
Auto-merging pilot/pkg/serviceregistry/kube/controller/controller_test.go
Auto-merging pilot/pkg/serviceregistry/kube/controller/controller.go
Patch failed at 0001 handle endpoint before pod event


Feat/enum

import enum types and sub messages

Is the new BEC version coming with a new pr?

The BEC is already released on docker


fix regression from large pull request merge

sendStatus().send() cause exceptions

The spec says the broker MUST send an empty object. This was working on my Mac. It is perhaps a windows node issue?
This regression makes the mock broker violate the OSB spec.


__scanFaces missing declaration

I have been trying to implement it within the camera and I keep getting and error cant find variable __scanFaces. Once I had a look within the source code of this library, seems like you have no __scanFaces func defined but you return the frame value via this function.
https://github.com/rodgomesc/vision-camera-face-detector/blob/acbc0b866c05e8739ce58087bc66179adb225322/src/index.ts#L44

I solved just now the issue by adding the globals to 'babel.config.js' file. This def needs to be in a readme file.
Add this as the last plugin to 'babel.config.js'
 [
      'react-native-reanimated/plugin',
      {
        globals: ['__scanFaces'],
      },
 ],


Updating External Authentication support to be upgradable

Using templates for cfme-external-auth and cfme-remote-user
Leveraging *.conf file to be loaded upon apache start.
Using templates for httpd-auth pam module.
Removing external auth conf files when unconfiguring.

@kbrock please review.  template based, would maintain configuration for 5.4 to later.  Prereq for the BZ to fix external auth upgrade issue.

@kbrock more simplification as discussed. Please review.

adding external_httpd_authentication#deactivate and calling it from appliance_console::cli would be great.

@kbrock as discussed. Tire kicking went well here.


Clean up left over derive debug nits

r? @fitzgen

@bors-servo r+

:pushpin: Commit 7388cb5 has been approved by fitzgen

:hourglass: Testing commit 7388cb58d9e66d157dc75d2982b50a5cb0c56e61 with merge 09abb26c14ec5ea749d0a8b3538af95770946b15...

:sunny: Test successful - status-travis
Approved by: fitzgen
Pushing 09abb26c14ec5ea749d0a8b3538af95770946b15 to master...


Use mainloop, callbacks (or observer) instead of std::async

Currently the project uses std::async() to execute the resolvers, it may take different execution modes using std::launch::deferred:

std::launch::deferred (default) postpones the execution until future.get() is called, blocking the thread execution
std::launch::async creates a new thread (on Linux it doesn't use thread pools), allows resolvers to work in parallel.

None of them works good in practice, since either you serialize all the work, which is horrible to reach REST, DB or other systems with higher latency; or you create lots of threads in the system (which implies in reaching the kernel, all the thread bookkeeping, etc).
Most production systems will use some kind of "Main Loop" or "Event Loop", that in UNIX will use select(), poll(), epoll (Linux), kqueue (MacOS) or variants, which allows the same thread to wait on multiple resources in the same thread.
Then I'd like to see if there is any chance this project will support some kind of callbacks (or observer pattern) that could allow a mainloop/eventloop to be used, or use some primitives such as setImmediate() where we can implement a more
https://promisesaplus.com/ promise, instead of the C++ version, namely allowing Promise.all() to be used to get all the fields of an object.

There is a way to use custom threading, which is to return your own std::future (i.e. waiting for a std::promise that gets fulfilled on your own worker) from your accessor methods. The service::FieldResult struct is an adapter to convert either regular values or values wrapped in std::future into an object that always looks like std::future. Earlier versions always returned std::future, but that resulted in tons of boilerplate code in all of the accessors which just created and fulfilled a local std::promise.
So in this case you'd use std::launch::deferred on the top level resolve, and then the accessors for your expensive calls would perform their own scheduling and fulfill a std::promise (or any other source of std::future) asynchronously and in parallel. You can determine on a per-field basis how to handle the scheduling. Using std::launch::async is more of a shotgun approach for platforms that use a threadpool by default, or smaller schemas/queries where you can afford to let it fan out on its own (and that's also why it's not the default, you have to opt-in to it).
Longer term I'm thinking about how to leverage co-routines in C++20. I think there's potential for plugging in alternate scheduling like a main/event loop with that model and apply it more consistently while resolving a query. But C++20 is not available widely enough yet to do that, and the initial version of co-routines in C++20 doesn't have enough built-in support in the standard library to make this straightforward.

Hum, interesting. I'll take a look on that approach to launch threads in some specific places. Currently the scheduling and locks are hurting us a lot :-/

closing this one as we'll move to std::launch::deferred with thread on our side only.

There is a way to use custom threading, which is to return your own std::future (i.e. waiting for a std::promise that gets fulfilled on your own worker) from your accessor methods. The service::FieldResult struct is an adapter to convert either regular values or values wrapped in std::future into an object that always looks like std::future. Earlier versions always returned std::future, but that resulted in tons of boilerplate code in all of the accessors which just created and fulfilled a local std::promise.
So in this case you'd use std::launch::deferred on the top level resolve, and then the accessors for your expensive calls would perform their own scheduling and fulfill a std::promise (or any other source of std::future) asynchronously and in parallel. You can determine on a per-field basis how to handle the scheduling. Using std::launch::async is more of a shotgun approach for platforms that use a threadpool by default, or smaller schemas/queries where you can afford to let it fan out on its own (and that's also why it's not the default, you have to opt-in to it).
Longer term I'm thinking about how to leverage co-routines in C++20. I think there's potential for plugging in alternate scheduling like a main/event loop with that model and apply it more consistently while resolving a query. But C++20 is not available widely enough yet to do that, and the initial version of co-routines in C++20 doesn't have enough built-in support in the standard library to make this straightforward.
could you add some examples or pseudo code? This is difficult for a novice


[Python API Update] The search url changed

Hi, see discussion in https://github.com/ScrappyCocco/HowLongToBeat-PythonAPI/issues/25

I don't know enough about any of this to help withoug guidance, but I do use this NPM package in a couple of tools and would love to see it updated. @ckatzorke


Problem Downloading

Looks like this is a fairly new problem.

{"errors":[{"meta":{"rate_limit":{"bucket":"by-client","max_nr_of_requests":15000,"time_window":"PT24H","name":"plays"},"remaining_requests":0,"reset_time":"2017/09/19 20:31:32 +0000"}}]}
max 15k requests per 24hr period with the client ID. someone was just bombin the api with requests.
good guy dev was nice enough to let everyone use his key. too bad SC is not giving out anymore keys. otherwise, could edit the client ID to your own

This sucks :/

Boooooooo. Need a new key from SC.

they aren't releasing any more new keys - any other keys available?

The key is taken from the SC web player.

  Is this fixable?

It's possible Soundcloud and Bandcamp have gotten wise.

duplicate of #203, please close

Closing per previous comment.


Angular Directives for UI Fabric Components

Other design languages like Bootstrap & Google's Material Design, there are projects that have created Angular directives for these design languages: UI Bootstrap & Angular Material.

Any thoughts to something like ng-office-ui-fabric? Maybe either as part of this project or, to follow what those other projects do, have a separate project & repo for it?
Is this something (a) you're working on or (b) the community should run with?

+1

+1

+1

React Mixins!

+1

+1

+1

+1

+1

We would love for the community to chime in the short term. While we are certainly evaluating additions on this space we would love to see community specific projects that add this capability.

OK... I'll be happy to take this on... I've created a repo and will start flushing it out with community contribution guidelines: https://github.com/andrewconnell/ng-office-ui-fabric

... and just to beat the horse a bit more, here's a followup and details on future plans: http://www.andrewconnell.com/blog/introducing-ng-officeuifabric-angular-directives-for-office-ui-fabric


ftp作为sink，报错空指针，FtpOutputFormat未进行实例化

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened

What you expected to happen
已编译打印日志 是local  standalone模式都已进行测试
How to reproduce
已编译打印日志 是local  standalone模式都已进行测试
Anything else
No response
Version
master
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

请问你是sql任务还是json同步任务呢？


fix: icon imports

Modified depericated icon imports form @yamada-ui/lucide

Closes #3388
Description
Changed import of @yamada-ui/lucide

Updated the import of Icons form @yamada-ui/lucide
Current behavior (updates)
- import { Ghost } from "@yamada-ui/lucide"
+ import { GhostIcon } from "@yamada-ui/lucide"

Is this a breaking change (Yes/No):

Additional Information

okay sure


Thanks for sharing this project

Hey lmjd14
Thanks for sharing the code. It is fairly clean and easy to understand. Forgive my nitpicking, I notice that centerX and centerY are misspelled.
I recently built a similar ping pong ball launcher using a DMX moving head, two dc motors, one linear actuator and an intel realsense cam. It is nice to know people doing similar things.
Are you actively developing this project?

Hey there,
Thanks for the feedback. I am Australian, so the correct spelling for me is centre, not center so it is not misspelt (or misspelled for that matter :P )
Your approach sounds very cool. I hadn't heard of a DMX moving head before but after looking it up, it looks like it would be perfect for the application.
I'm not really developing this project any further at the moment. I got it working to a point that I was satisfied with and called it there. I made a writeup of the full project which you can check out here if you're interested in how it turned out. I'll add it to the README as well.

Hi, Thanks for sharing your ideas, detailed design and the code.
Just wondering if you have made a video for how the launcher works.
Thanks.

Hi, Thanks for sharing your ideas, detailed design and the code. Just wondering if you have made a video for how the launcher works. Thanks.

The best I've got is two videos that I posted on Reddit after I first finished it. Hope this has what you're looking for: https://www.reddit.com/r/arduino/comments/q57dhq/face_tracking_ping_pong_ball_launcher/?utm_source=share&utm_medium=web2x&context=3


Add minimal logging around workflow execution.

Otherwise when workflow finishes it's impossible to understand what happened and
whether it finished successfully or not.

LGTM


installed nlbwmon and in openwrt router few hosts are missing, i verified with nlbw -c show command

Works for me


Made some Accessibility updates want feed back, ALSO how can we unselect on enter!

https://jsfiddle.net/nonoandy/z94dgom7/
I made some accessibility updates trying to retro fit the current html :) and would like some feedback!
Also, does anyone know how to make enter unselect items on the dynamic dropdown.

I would recommend taking a look at the Select2 4.1.0-beta.1 release because it has some of these features baked in from the beginning.

Also, does anyone know how to make enter unselect items on the dynamic dropdown.

You really don't want to do this. We have a giant commit about why this is a bad idea (we tried it): https://github.com/select2/select2/commit/017c20109471fa5b835603faf5dc37f7c2c2ea45

Thank you! I seen the updates in the beta version and like what I seen (after I already did this work lol.
As for the "unselect on enter" that is fine but could you give a option to unselect on just space bar (not just ctrl+spacebar).  I have given some aria-descriptions to help users but this has been asked for a lot.
Either way thank you for everything you do!


original $event is being replaced on callbacks

Looking at the code, couldn't find any good reason for this. can't use $event.stopPropagation() because of this.

Thanks for reporting the issue. Not a reason for that, you're right. I'll look into it.

Could you maybe provide an example (using the base plunkr for example)?

http://plnkr.co/edit/t5Xfx5?p=preview

Unfortunately I don't think it's possible to propagate $event into ng-click, since angular-promise-buttons provides it's own ng-click. One work around would be to wrap the element in a div or span and use ng-click on that.

    promise link

Well I think the reason is this: The event is passed, but when the function is finally executed (its execution is being delayed by the promise-btn). Stopping propagation won't work any more, as the event has already bubbled up and down the dom.
But you don't need the wrapper. You can always you the alternative syntax, e.g.:
<button ng-click="click()" promise-btn="clickPromise">Clickclick</button>

$scope.click= function(){
   $scope.clickPromise = asyncServiceCaller...
}

I already used the first workaround - but I wanted to understand why this is implemented this way.
Regarding the issue, the code inside ng-click should run immediately and not being delayed, the promise(s) resulting from that code should indeed be delayed.
So for example I can implement this:
<button ng-click="$event.stopPropagation();click()" promise-btn="clickPromise">Clickclick</button>
or this:
// ...
$scope.click = function($event){
	$event.stopPropagation();
	return $http(...);
}
// ...
<button ng-click="click($event)" promise-btn="clickPromise">Clickclick</button>

The click handler can use the $event its getting and forward it instead of supplying a "click" string.

The reason is that you need a reference to the function on the parent scope and you need to execute within the directive context for having access to it's return value. I very much would like it to work, like you described, but so far I haven't found another way to do so (given that you don't want to pass anything manually to the directive). If you have a suggestion how to do this, I'm all ears.

Closing this due to inactivity.


[Bug]Widgets pane-> the user is not able to hover and drag the radio, switch ,Text widget

Description
[What happened]Widgets pane-> the user is not able to hover and drag the radio, switch ,Text widget
Steps to reproduce the behaviour:
1.Click on Widgets
2.hover on the radio, switch and text widgets
3.verify the display and functionality

Important Details

Version: [Cloud ]
OS: Windows
Browser Chrome
Environment  deploy preview

hi @somangshu this issue is happening in Deploy preview, In the widget pane when the user hover on the radio, switch and Text widget it wont highlight and as a user i am not able to drag it
In the attached video you can see when the user could easy drag and drop the rich text editor widget but 3when the user hover on the radio widget there was no highlight and was not able to drag the widget
https://drive.google.com/file/d/1mgEEdnyYF41i_O8m6EavMgtTvVjVmNsj/view

@RakshaKShetty since this already merged into release, Kindly check if you can replicate the issue there, If not we can close this!

@RakshaKShetty since this already merged into release, Kindly check if you can replicate the issue there, If not we can close this!

ya sure

^^ move the Netlify menu to the right of the screen and try. This issue is coz of it. It wont happen in our environments.

^^ move the Netlify menu to the right of the screen and try. This issue is coz of it. It wont happen in our environments.

Thank you Ashok above solution worked for me

@RakshaKShetty can we please close this if its no longer valid?