Move contributing doc to the right place

React Boilerplate
This is mentioned in a note.
Before opening a pull request, please ensure:

[x] You have followed our contributing guidelines. I am moving this.. :stuck_out_tongue:
[x] double-check your branch is based on dev and targets dev

Be kind to code reviewers, please try to keep pull requests as small and focused as possible :)
IMPORTANT: By submitting a patch, you agree to allow the project
owners to license your work under the terms of the MIT License.

Coverage remained the same at 99.242% when pulling be888ce41808e97b127fbab73bf3a3ef106367ab on Aftabnack:move-contrib into 37a0523ff929e9ead188c0a39eadd34affbfc61e on react-boilerplate:dev.

Any update here?

@gihrig This is related to your comment. Looks good?

Yeah. Let's give this a couple of days before we merge.

Coverage remained the same at 99.242% when pulling b650984dce5a05b7576be92552c042c5b388c8a9 on Aftabnack:move-contrib into 5c495e7185ab7f584cb4008acd8258a114b41648 on react-boilerplate:dev.

Coverage remained the same at 99.242% when pulling b650984dce5a05b7576be92552c042c5b388c8a9 on Aftabnack:move-contrib into 5c495e7185ab7f584cb4008acd8258a114b41648 on react-boilerplate:dev.

Coverage remained the same at 99.242% when pulling b650984dce5a05b7576be92552c042c5b388c8a9 on Aftabnack:move-contrib into 5c495e7185ab7f584cb4008acd8258a114b41648 on react-boilerplate:dev.

Merging! ✌

just realized that ISSUE_TEMPLATE.md and
PULL_REQUEST_TEMPLATE.md need to be modified to point to the new location. Ooops! 😊

Oh yeah. I didn't realize. Do you want me to make another PR?

Do you want me to make another PR?

Yes please! ✨


Filter 18+

When searching for a manga / anime, sometimes a lot of hentai it poping.
How about to have a flag that will filter them out in search?

We have thought about that. The conclusion was that MAL isn't providing enough information to us.
@motokochan Do you have something to add or did you found any other solutions for this?

At this time, there isn't a good solution. There are some ways to get the data, but they'll increase requests by about 20x. That makes it a non-starter at this time.

We could start from the genre. It is parsed in Atarasahii. Only filtering 'Hentai' tag

We can do that only in the detailview. So of you search for an anime you will still get to see hentai in the list.

I think its only important in search.
What is we search bad words in synopsis and titles?

We could potentially block titles with the genre "Hentai". We can get that at least from the basic search results. It wouldn't cover all possible issues, but may be an option. I think the popup on the site has been expanded, as I don't recall that listed previously.
@ratan12 Can we add an option to the application to hide results with "Hentai" as a genre on search? I'll update the API to parse the genres in the search results list. Also, how will this work with AniList?

@motokochan Yes I clearly remember that I did not saw genres in the past.
We could use the exclude function.
Like this http://myanimelist.net/anime.php?q=toriko&type=0&score=0&status=0&p=0&r=0&sm=0&sd=0&sy=0&em=0&ed=0&ey=0&c[]=a&c[]=b&c[]=c&gx=1&genre[]=12
It will not show any results with hentai.
And a combination of both URLS will be even better.
http://myanimelist.net/anime.php?c[]=a&c[]=b&c[]=c&c[]=d&c[]=e&c[]=f&c[]=g&q=toriko&type=0&score=0&status=0&p=0&r=0&sm=0&sd=0&sy=0&em=0&ed=0&ey=0&c[]=a&c[]=b&c[]=c&gx=1&genre[]=12
This will output the old details without any hentai.
AniList has a setting to disable hentai everywhere. We can not acces the settings due security reasons so the user must do that on their website.

Perhaps this should be filtered client-side for consistency? That, or use API options if supported and manual filter on results if not. What do you think?

Client-side will cause the app to make multiple requests if there are many hentais because the screen doesn't get filled which will trigger the scroller.
Api side is recommended


Use concepts ++

@einari  @jakhog This PR is huge since it changes everything to use Concepts, which is a lot more work than you'd think (also changing API to work with ConceptAs)
I have not tested this yet with the samples and what not. You could maybe checkout this branch and try it out, with out looking at the code :)

I have tested this code with the samples and it seemed to work


How could I know my data is distributed in the right way?

System information

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

I am pretraining BERT in 1 machine with 4 GPU.
The input function code:
   def input_fn(params):
        batch_size = FLAGS.train_batch_size

        name_to_features = {
            "input_ids":
                tf.FixedLenFeature([max_seq_length], tf.int64),
            "input_mask":
                tf.FixedLenFeature([max_seq_length], tf.int64),
            "segment_ids":
                tf.FixedLenFeature([max_seq_length], tf.int64),
            "masked_lm_positions":
                tf.FixedLenFeature([max_predictions_per_seq], tf.int64),
            "masked_lm_ids":
                tf.FixedLenFeature([max_predictions_per_seq], tf.int64),
            "masked_lm_weights":
                tf.FixedLenFeature([max_predictions_per_seq], tf.float32),
            "next_sentence_labels":
                tf.FixedLenFeature([1], tf.int64),
        }

        if is_training:
            d = tf.data.Dataset.from_tensor_slices(tf.constant(input_files))
            d = d.repeat()
            d = d.shuffle(buffer_size=len(input_files))

            cycle_length = min(num_cpu_threads, len(input_files))

            d = d.apply(
                tf.contrib.data.parallel_interleave(
                    tf.data.TFRecordDataset,
                    sloppy=is_training,
                    cycle_length=cycle_length))
            d = d.shuffle(buffer_size=100)
        else:
            d = tf.data.TFRecordDataset(input_files)
            d = d.repeat()

        d = d.apply(
            tf.contrib.data.map_and_batch(
                lambda record: _decode_record(record, name_to_features),
                batch_size=batch_size,
                num_parallel_batches=num_cpu_threads,
                drop_remainder=True))
        d = d.prefetch(10)
        return d

The mirrow strategy code:
    distribution = tf.contrib.distribute.MirroredStrategy(
        devices=["device:GPU:%d" % i for i in range(FLAGS.n_gpus)],
        cross_tower_ops=tf.distribute.HierarchicalCopyAllReduce())

    run_config = RunConfig(
        train_distribute=distribution,
        log_step_count_steps=log_every_n_steps,
        model_dir=FLAGS.output_dir,
        save_checkpoints_steps=FLAGS.save_checkpoints_steps)

    model_fn = model_fn_builder(
        bert_config=bert_config,
        init_checkpoint=FLAGS.init_checkpoint,
        learning_rate=FLAGS.learning_rate,
        num_train_steps=FLAGS.num_train_steps,
        num_warmup_steps=FLAGS.num_warmup_steps,
        use_tpu=FLAGS.use_tpu,
        use_one_hot_embeddings=FLAGS.use_tpu)

    estimator = Estimator(
        model_fn=model_fn,
        params={},
        config=run_config)

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.15
Python version: 3.6
GPU model and memory: 22G

Describe the current behavior
I am pretraining BERT in 1 machine with 4 GPU.
The problem is that I have 4 GPU. Each GPU could run 8 batchsize at most.
I set train_batch_size = 8 not 32. Is OK but I don't know each GPU get different data in one training step.
If I set train_batch_size = 32, it will out of memory (OOM).
Is my code right now? Will the data be distributed to 4 GPU and each GPU get different data?
Describe the expected behavior
I read the some doc that said train_batch_size could be 32.
Thank you very much.

Yes, I am wondering if it is in fact distributing training across all 4 of your GPUs.

Can you share the training output? Or share an example with data that I can reproduce?

Thank you!
Data: https://github.com/guotong1988/BERT-multi-gpu/blob/master/sample_text.txt
Similar Code: https://github.com/guotong1988/BERT-multi-gpu/blob/master/run_pretraining_gpu_v2.py

Can you also share what the training logs looks like on your end?

Note that the loss is 4x than 1 GPU setting.
1 GPU start about 10.5 loss.
It is also a wondering whether it is right.

Can you also add the INFO that prints before the first training step?

log.txt
Full log

Hi @guotong1988, based on your code and the logs you shared it looks reasonable to me. You can see TF identifying 4 GPUs (devices 0,1,2,3) and the INFO "Initializing RunConfig with distribution strategies."
I would however suggest you look through the warnings in the logs, as several of the functions you are using are deprecated. Also note that Estimator support for MirroredStrategy is limited
I'm closing this issue now since it is not a bug, and Stack Overflow is probably a better place to post these support questions. Thanks!

https://stackoverflow.com/questions/62124961/tensorflow1-15-multi-gpu-1-machine-how-to-set-batch-size

https://stackoverflow.com/questions/62316736/tensorflow1-15-the-inner-logic-of-estimators-input-fn-or-the-inner-logic-of-m


TailwindCSS Plugin with Dracula Theme

New Theme?
A package for adding Dracula color palette to tailwindcss project. repository.
What it does?
Allows use of tailwind utility classes with Dracula colors. Uses two naming options:

Colors (pink, green, cyan, etc.)
Vampires (nosferatu, dracula, buffy, etc.)

Use like so:

 //works!

 //also works!

Usage
You can add the plugin like so:
 plugins: [
    require('tailwind-dracula')(),
  ],

If you want to prefix the Dracula colors names to avoid clashes with common color classes
 plugins: [
    require('tailwind-dracula')('dracula'),
  ],

Hey @nickgraffis, that looks great! Congrats on building this plugin.
In order to add to the site, we need to follow some standards (https://github.com/dracula/template). For example, we always need a screenshot.png and INSTALL.md files in the root folder. Otherwise, the site won't be able to build.
If you can apply those patterns, I'll be able to add the repo to the site.
In any case, I already sent you the invitation to join the organization. Once you accept, you should be able to transfer the repository.

Thanks @zenorocha transferred it over and added an INSTALL.md and a solid screenshot with an example.
Thanks a ton! Let me know if you need anything else.

And we're live! https://draculatheme.com/tailwind 🎉 🎉 🎉
Congrats @nickgraffis on building this new theme.
Here are some important changes I made in order to follow the same standards as other repos inside this org: https://github.com/dracula/tailwind/commit/a95b92d925c5589cf407cbf00f3b338c02af819e

Renamed repo from tailwind-dracula to tailwind. Package is still tailwind-dracula since that's easier to find on npm.
Renamed branch from main to master. I know main is better, but all other repos should follow the same standard for the site to work as expected.
Updated some URLs and made some tweaks to README.md and INSTALL.md so it better fits our site.

Cheers!

Awesome! Looks great! Thanks a ton!!! 🙏🙏


IntegrityError at /admin/cms/page/1/bg/publish/

Summary
I'm setting up a brand new instance of Django-CMS 3.5.0 and trying to configure the HOME page.
Here is the page structure:
Top Menu
Slider-Placeholder-1

Slider plugin

Content-Placeholder-1

Ajax search plugin

Home-Tab-Placeholder-1

Another plugin

Home-Tab-Placeholder-2

Another plugin

Home-Tab-Placeholder-3

Another plugin

Home-Tab-Placeholder-4

Another plugin

Home-Tab-Placeholder-5

Another plugin

Footer-Title-Static-Placeholder-1
Footer-Static-Placeholder-1
Successfully saved.
Than I try to edit the page and add link & text plugins to the footer. The following error occurs:

IntegrityError at /admin/cms/page/1/bg/publish/ update or delete on table "cms_cmsplugin" violates foreign key constraint "catalog_ajaxsearc_cmsplugin_ptr_id_3095ec55_fk_cms_cmsplugin_id" on table "catalog_ajaxsearchpluginmodel" DETAIL: Key (id)=(12) is still referenced from table "catalog_ajaxsearchpluginmodel". Request Method: POST Request URL:

The Ajax Search Plugin contains has a model configured with one text field - template type. If I try to delete the Ajax search plugin, it fails with:

IntegrityError at /admin/cms/page/delete-plugin/4/
update or delete on table "cms_cmsplugin" violates foreign key constraint "catalog_ajaxsearc_cmsplugin_ptr_id_3095ec55_fk_cms_cmsplugin_id" on table "catalog_ajaxsearchpluginmodel"
DETAIL:  Key (id)=(4) is still referenced from table "catalog_ajaxsearchpluginmodel".

I tried to disable FK Constraints and remove the plugin and it worked. The catalog_ajaxsearchpluginmodel should usually contain 1 records - horizontal template, but for some reason there are 8 items in it that I haven't configured myself. It seems catalog_ajaxsearchpluginmodel it not getting cleaned up every time when I remove the corresponding plugin
I did the following test cases:
Dropped the database and started on. Added one Ajax Search Plugin with horizontal value for plugin model. Then checked the DB: There were two records in cms_cmsplugin and two in catalog_ajaxsearchpluginmodel. Than I deleted the plugin and checked the DB - There were no records in cms_cmsplugin and two records in catalog_ajaxsearchpluginmodel.
The same test case with Django-CMS 3.4.5. Before deleting the plugin - two records in cms_cmsplugin and two in catalog_ajaxsearchpluginmodel. When I deleted the plugin, there were 0 records in cms_cmsplugin and 0 records in catalog_ajaxsearchpluginmodel. It turns out the problem is with Django CMS 3.5.0 only.

Python version: 2.7.6
Django version: 1.10.8
django CMS version: 3.5.0
PostgreSQL: 9.4.11

Hello @plamen-nikolov,
Thanks for reporting this.
I see in your test case that you mentioned two records for the ajax plugin, did you publish the page? If so then is ok to have to records, otherwise that's an issue.
Aside from that I see that both records are deleted for both tables on 3.4 but not on 3.5.
Can you provide me with the code for this ajax search plugin?

I see in your test case that you mentioned two records for the ajax plugin, did you publish the page? If so then is ok to have to records, otherwise that's an issue.

Yes, all the page content is published, and there are still two records in both tables. That also happens for 3.4.5 though.
`PLUGIN_TEMPLATES = (
("catalog/plugins/ajax_search/ajax_search_vertical.part.html", "Vertical"),
("catalog/plugins/ajax_search/ajax_search_horizontal.part.html", "Horizontal"),
)
class AjaxSearchPluginModel(CMSPlugin):
template = models.CharField("Template", max_length=255, choices=PLUGIN_TEMPLATES)
class AjaxSearchPlugin(CMSPluginBase):
name = _(u"Catalog - Ajax Search module")
model = AjaxSearchPluginModel
render_template = PLUGIN_TEMPLATES[0][0]
cache = False`

Its ok for there to be two records, when a page is published all its plugins are duplicated and added to the public version of the draft page.
After removing the plugins, did you publish the page?
Also did this plugin change db schema recently? like renaming the model, or other changes?

After removing the plugins, did you publish the page?
Yes, I did.

Also did this plugin change db schema recently? like renaming the model, or other changes?
No

Strange.. I'm unable to reproduce this.

@plamen-nikolov
Can you try reproducing this on sqlite3?
Also, can you provide me with an environment where this is reproducible?

Ping @plamen-nikolov

@czpython same problem here, not reproducible...
Using python3.6, django 1.11.10, djangocms 3.5.2, apache2.4 and postgres 10.5
This error appears suddenly and we don't know why and how to produce it. Once we thought that we can fix it by removing all .pyc files and touch the wsgi.py... but this was not the right solution...
Often the problem appears if we update the project (with git) and adapt the server in multiple steps.
Means: If I am doing all steps (compilemessages, collectstatic, migrate) in once (in a row), then it is usually working beyond the update. But if I am doing the update and doing a little second fix after it, then the error occurs for sure.
I know, this is a quite bad "description" of an error, but maybe it helps to get new ideas of understanding the problem...
Thanks in advance.


llm-tool-call event payload is always empty

I don't see any relevant logging when running this code from the Create a basic agent guide.
Settings.llm = new OpenAI({
    apiKey: OPENAI_API_KEY.value(),
    model: 'gpt-4o',
  });
  /*
    Set up logging so we can see the work in progress.
    Available events:
    llm-start
    llm-end
    agent-start
    agent-end
    llm-tool-call
    llm-tool-result
    */
  Settings.callbackManager.on('llm-tool-call', (event: any) => {
    console.log('llm-tool-call', event);
    console.log(event.detail.payload);
  });
  Settings.callbackManager.on('llm-tool-result', (event: any) => {
    console.log('llm-tool-result', event);
    console.log(event.detail.payload);
  });

  const sumNumbers = ({ a, b }: any) => {
    return `${a + b}`;
  };

  const tools = [
    FunctionTool.from(sumNumbers, {
      name: 'sumNumbers',
      description: 'Use this function to sum two numbers',
      parameters: {
        type: 'object',
        properties: {
          a: {
            type: 'number',
            description: 'First number to sum',
          },
          b: {
            type: 'number',
            description: 'Second number to sum',
          },
        },
        required: ['a', 'b'],
      },
    }),
  ];

  const agent = new OpenAIAgent({ tools, verbose: true });

  await agent.chat({
    message: 'Add 101 and 303',
  });

I would expect some type of event payload, but all I get is undefined when looking at event.detail.payload:
undefined
llm-tool-call LlamaIndexCustomEvent {
type: 'llm-tool-call',
defaultPrevented: false,
cancelable: false,
timeStamp: 20027.277125
}
undefined
llm-tool-result LlamaIndexCustomEvent {
type: 'llm-tool-result',
defaultPrevented: false,
cancelable: false,
timeStamp: 20028.25225
}

Also, looking at the typings in the code, I was expecting the event to look like:
type LLMToolCallEvent = {
    toolCall: ToolCall;
};
type ToolCall = {
    name: string;
    input: JSONObject;
    id: string;
};

But the event looks nothing like that, just seems like a generic event.

this is a document issue, now you don't need .payload


Support multiple variable files

There is a widespread assumption in intake-esm that there is one variable per file. This precludes using the package with multi-variable files, such as those written directly by CESM.
Automated "collection" generation could be very complicated with multi-variable files. For instance, right now, we get variable names from the directory structure or file name. Opening each file to get a list of variables could be very time-consuming—and near impossible for remote resources like HPSS.
I suspect, however, that it's not too difficult to extend the code to use collections built with multi-variable files—though there may be limitations associated with concatenating many files into a single dataset. If we can imagine relying on external information to build collections, perhaps we can start addressing this issue by redesigning the collection structure and aggregate.py to accommodate multiple variables per file.
In #98, I commented

Some collection columns are user-facing attributes of the dataset; the CESM-LE should have the same user-facing attributes regardless of the platform. Other collection columns include details about how we're accessing the data. We might consider separating these more explicitly and the structures we build to do this may alleviate a need for separate treatment.

Right now, we are using file_basename as  a unique identifier. I think a first step would be to redesign the collection so that a definition specifies the list of attributes (i.e., for CESM,  something like: experiment, component, stream, variable) that comprises a dataset granule; each granule can have a unique key and methods to get the associated files, be they multi-variable or not, local or remote.

Not sure if this helps, but I have successfully combined files with several variables using intake_esm in the function _delayed_stack_forecasts here https://bitbucket.csiro.au/users/bra467/repos/bluelink_intake_esm/browse/intake_bluelink.py
It is pretty long as I tried to write a generic function for our specific model forecasts that deals with

All variables are in each file
Forecasts that may be separated by time step, or multiple timesteps per file
The overlap across forecasts
Subsetting of the variables returned (data_vars parameter)
Cropping of variable upon open based on dictionary using .sel and a dictionary (bbox parameter)

The disadvantage of this approach is that the catalog entries don't contain a list variables available in the file, so a user needs to open one file to see what is in it first.

I use intakeesm with the proprocess argument on multi variable files to extract one variable only. But the concatenation of these larger files takes also more time.


A subscription with Laravel to PresenceChannelUpdated recieves no messages.

I create a new laravel project and add a command that listens to presence updates.

Enable publish presence updates and set a keyPrefix

"databaseConfig": {
	"redis": {
        "keyPrefix": "laravel_chat_database_"
},
        "publishPresence": true
}

Create a command  with

Redis::subscribe(['PresenceChannelUpdated'], function ($message) {
    dump($message);
});

No messages appear
When I remove the prefix everything works

Publishing of update events should also use the keyPrefix.

same problem. @tlaverdure can you fix it?

same problem. @tlaverdure can you fix it?


Adding directories to scriptsdir.includes

Scripts directory within the ZPK was not being generated correctly (when directories are added to scriptsdir.includes) for two reasons:

The files were contained within a double sub directory : /scripts/scripts
Sub-directories of the scripts folder were not being flattened, as is the case when packaging using Zend Studio

Packaging through Zend Studio allows directories to be included in scriptsdir.includes, the behaviour you see there is it copies all the files within that directory, along with all files in any sub-directories, into the scriptsdir defined in the XML - giving you a single directory in the package (named after scriptsdir) which contains all the files, flattened out with no sub-directories.
My update should match this behaviour, but I didnt check adding single files to the scriptsdir.includes as this looked to be handled fine already in the pack() method.

@boedah New pull request specifically for this issue, as requested by @slaff

I am waiting for documentation from the Zend Studio team about the expected behaviour.

Just referencing #59 into this one...

Refactored the code in this commit f56d829888a58a5d6966c75062cd2ad8d9bea4f0. The suggested change is not longer needed.


update Libcompose to v0.3.0

closes #95
I've done some testing on top of our test suite, It shouldn't break anything.
But there was a lot of changes in libcompose, so who knows.

+1. I suggest @janetkuo and @surajssd also should confirm then we can merge it to master.

@kadel I think you need to rebase on current master before merge!

rebased

LGTM, build and tests passes locally :+1:

LGTM too


Task evaluation files missing

Hi @gyxxyg ,
Thank for sharing the code for the work.
I am trying to run the evaluation on Charades with the given instructions, however, the task specific evaluation files are missing in the "METRICS" folder.
Please let me know the steps to get the files.
Thanks!

We have updated the metric files.


Geofence test flights

@thomasgubler Does the test plan below make sense?
@kd0aij When you go flying next time a geofence test would be awesome. The parameters are explained here:
http://www.pixhawk.org/firmware/parameters#geofence

GF_MODE to 2
GF_MAX_HOR_DIST to 20
GF_MAX_VER_DIST to 10

This should trigger an RTL when flying out more than 20m or flying higher than 10.

I finally tested this outside and it works, but someone else verifying couldn't hurt. I need to limit the mavlink critical messages. I must have been muted before during HIL testing. PR #2028
Currently the geofence distance violation just warns over mavlink. I'm working on RTL right now.

Closing, stale!


Minor refactor of NotaryRepository constructor to use more shared code.

Signed-off-by: Ying Li<EMAIL_ADDRESS>

LGTM!

@diogomonica take a look and we'll merge.

LGTM


WIP: xArm tests

Work for #14.
Testing progression with the actual xArm:

[x] base functions
→ issues: #25
[x] ancillary functions
→ issues: #26, #27, #28
[ ] notation functions

Work in progress 🏗 (not to merge yet)

TODO: update test_go_draw_up according to #30.


Need a list of plugins to display

Whether the plugin configuration page can display a list of ob plugins installed through this plugin, instead of just showing updatable plugins when checking for updates

Any plugins you install through Plugins Galore are currently listed in the "Installed plugins" section of the "Community plugins" page


ARROW-7379: [C++] Introduce SchemaBuilder companion class and Field::IsCompatibleWith

The SchemaBuilder class is introduced to merge/unify schemas in a controlled fashion.

Please comment on naming of methods, namely I hesitated for Field::WithField vs Field::MergeWith.

@brills, please take a look.


Don't choke on missing database.yml

 Issue by solnic
Friday Jan 02, 2015 at 20:01 GMT
Originally opened as https://github.com/rom-rb/rom-rails/issues/10

Setup should be simply skipped with a warning that there's no config file

 Comment by aflatter
Wednesday Jan 07, 2015 at 18:41 GMT

I guess in the preparation phase (before initializers run) we'd just not define a default repository. If initializers don't configure a repository at all, we should skip setup and warn. That way, you don't get a warning if you use neither AR nor rom-sql, but something else. How does that sound?

 Comment by solnic
Wednesday Jan 07, 2015 at 20:14 GMT

Yes that sounds correct

@aflatter IIRC this is fixed, right?


forever should be treated as statement, not event

"Forever" is not an event and should be treated as a statement. To match Scratch, it should have

[ ] previous statement connector
[ ] no next statement connector

Included in the on start function.

The semantics of the scratch forever are different than ours. The scratch one is basically a while(true) loop.
For example, this code:

will never reach the "Say hello" block. I don't think that making it a statement is a good idea in the blocks, most the time it is likely a bug.


Left Menu Does not Show Right Expand Chevron on Small Devices

This is a styling issue.
The left nav menu has a feature where you can click a small chevron icon on the bottom to show only the icons. If you do that on a small screen computer, the right chevron (expand) is not shown, and you can not scroll the options to the bottom. So basically, you need to reload the page.

fixed in v2.1.3 or update @coreui/coreui to 2.0.9 in dependencies

please let us know if that works for you

That did the trick @xidedix
Note that my project used coreui-pro  but updating to the latest version also did the trick.


Rich text title for promotile component.

Title for Promo tile component should have rich text options.

Hi @padms, keeping 2 fields for the title doesn't sound like the best solution here. We should migrate the string to text blocks using a script. I found this one for textblock that might be interesting looking into: https://www.sanity.io/schemas/migrate-plain-text-field-to-portable-text-a05f0300

@fer Please check the migration script

Hi @padms, left new comments =)

Please check now..

Please check now..

Looks good! ✅

@meols Ready for testing

Thanks @padms - looks great :thumbsup:


3D plots need fixes for different elevations

Playing with elevation values is quite messy. Setting this to low priority for now...

Please see README.md

Currently unmaintained


Ability to show random codepens using "editor's fav list" for the different challenges

New Feature Request:
Currently the example codepen shown for a particular Project is fixed/hard coded. It would be nice to have a "Editor's Favorite List" or a "Top Voting List" and pick one randomly from this list and present it on the Project page. This feature creates a healthy competition among the FCC users and it's quite motivating/encouraging/rewarding to aim for a good design.
Here is the conversation history:
Justin Richardsson:
Hey guys, random question. This very active camper in _____ is asking if we could use his wikipedia viewer as the example.
Personally, I like it a lot for being very clean. What do you say?
Murali Paluru:
another suggestion, we can have a list of “editor picks” for all of the challenges and they show up randomly for different people, that way others can also get benefitted/motivated?
Justin Richardsson
ahhh cool!
I really like the idea
Jonathan:
Yeah same!
Justin Richardsson:
having people sort of vote and compete to build better projects
Jonathan:
can you make an issue for that?

great dudes

Rather than build this into the challenges, I think we should have an "editor's picks" section somewhere else.
Our goal is actually to use extremely bare-bones implementations of these projects. A lot of campers see polished versions and get intimidated. They will complain that they haven't been adequately prepared for these projects and that theirs looks vastly inferior.
I've opened a lot of issues for these here: https://github.com/FreeCodeCamp/CurriculumExpansion/issues

we can select from those who complete the full cirriculum
small number and it will be easy to pick

We can discuss building this feature later once we finish the curriculum overhaul. I am closing this issue for now. Thanks to @mpaluru for suggesting this cool idea :)


Create info.txt

Will be considered, but should have more information in it.
Any additions would probably get it merged.


zone manager initial implementation

Signed-off-by: Diana Teplits<EMAIL_ADDRESS>

Please use snake_case in the file names (_ instead of -)


Modify Tool usage to pass tool instances instead of tool names as strings.

Currently when an Agent is initialized to use Tools we pass them as strings that are then matched to existing classes. See the following current usage:
agent = Langchain::Agent::ChainOfThoughtAgent.new(llm: :openai, llm_api_key: ENV["OPENAI_API_KEY"], tools: ['search', 'calculator'])

agent.tools
# => ["search", "calculator"]

agent.tools = ["wikipedia"]

This approach is not flexible because:

We're unable to configure existing Tools
We're unable to pass new Tools to Agents

Let's change the Agent interface to accept Tool instances like so:
calculator_tool = Langchain::Tool::Calculator.new()
sql_db_tool = Langchain::Tool::Database.new(db_connection_string: "postgres://user:password@localhost:5432/db_name") # Coming in this PR: https://github.com/andreibondarev/langchainrb/pull/91/files#diff-9a2d0c4b8a1176be3d78866742f2ba4c2da2452cb05959f433c1204bb8211ebd

agent = Langchain::Agent::ChainOfThoughtAgent.new(
  llm: :openai,
  llm_api_key: ENV["OPENAI_API_KEY"],
  tools: [calculator_tool, sql_db_tool]
)

Note: Modify the SerpApi tool to accept the api_key: in the initialize method instead of seeking out the ENV var here:
module Langchain::Tool
  class SerpApi < Base

    attr_reader :api_key

    def initialize(api_key:)
      @api_key = api_key

    def execute_search(input:)
      GoogleSearch.new(
        serp_api_key: api_key

@mattlindsey is planning on working on this ticket. Thank you!


How to package this starter-app

I am new to electron and I just tried to use electron-packager to make an executable app with electron-packager . Although there isn't any error messages but the app generated is not usable.
How should I do to build this app on desktop ? did I missing any configs ?
Thanks for answering.

What operating system are you using? I'll see if I can get it working and make an example for you to follow.

OS X and thank you !
detrohutt<EMAIL_ADDRESS>2017年3月17日 週五，上午1:51寫道：

What operating system are you using? I'll see if I can get it working and
make an example for you to follow.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nuxt/electron/issues/1#issuecomment-287139091, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADdx3OWCIWgPTGbSD9oKx07_S3qha-zTks5rmXaugaJpZM4MeyGc
.

Unfortunately I wasn't able to get it working today. :( I'll have to mess around with it some more when I have time. But it's nothing you did wrong, it's just a problem with this project currently.

Any news about this ?

I was able to narrow the problem down to a conflict between the Nuxt middleware and Electron. Unfortunately I'm still not able to solve the problem. My Mac OS debugging skills aren't that great.. I've made a reproduction of the issue here in case @Atinux or anyone more familiar with Nuxt.render/Mac debugging has time to take a look. Sorry, I wish I could have been of more help! :/

Ok this is really weird, I can launch the app from the command line:
./electron-example-darwin-x64/electron-example.app/Contents/MacOS/electron-example

Nuxt is working and the app as well, if I click on the icon, the app quit after 2 seconds, do you have the same problem @wushan ?

Yes, and the problem is that it quit without any error message ....
Sébastien Chopin<EMAIL_ADDRESS>於 2017年3月24日 週五 上午10:08寫道：

Ok this is really weird, I can launch the app from the command line:
./electron-example-darwin-x64/electron-example.app/Contents/MacOS/electron-example
Nuxt is working and the app as well, if I click on the icon, the app quit
after 2 seconds, do you have the same problem @wushan
https://github.com/wushan ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nuxt/electron/issues/1#issuecomment-288913461, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADdx3E0mcch3f2wy8Lyfb9KNs4_5YL-Wks5royWlgaJpZM4MeyGc
.

Ok I found how to launch the logs:
open ./electron-example-darwin-x64/electron-example.app/Contents/MacOS/electron-example

I will investigate

@Atinux yes I added the 2 second delay to make it obvious what line was causing the crash(see the Readme.md on that branch).. From messing with it before the most I could figure is that electron-packager modifies the environment variables and is leaving out something required by Nuxt.render. But I was never able to see any actual error messages so that is just a guess.

@detrohutt the actual error is:
> No build files found, please run `nuxt build` before launching `nuxt start`

So Nuxt.js cannot launch himself, because I believe the .nuxt folder has not been included by electron-packager

I found the solution, when we launch the application via the icon, process.cwd() used by Nuxt.js to know which directory it has been launched is different.
You can apply the fix by adding this line: https://github.com/nuxt/electron/commit/3f166521b99c77a98d9e70825aa91907f02aa5d7

Amazing. Thanks so much for your help. It's embarrassing how much time I spent trying to fix it lol. I guess it helps to know what you're doing. :D

It helps indeed, but I had to look at some issue of electron-packager to be sure, but thanks a lot for making the issue-1-repro branch, it helped me a lot to fix the bug (I never used electron-packager before)!
I updated the master branch to add electron-packager 👍

Thank you all ! Now I am going to play this around. thanks a lot !
Sébastien Chopin<EMAIL_ADDRESS>於 2017年3月24日 週五 上午10:53寫道：

It helps indeed, but I had to look at some issue of electron-packager to
be sure, but thanks a lot for making the issue-1-repro branch, it helped
me a lot to fix the bug (I never used electron-packager before)!
I updated the master branch to add electron-packager 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nuxt/electron/issues/1#issuecomment-288919504, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADdx3PMjLn-5zhHrijShys0Ab0I5hD9Eks5rozAPgaJpZM4MeyGc
.


Pub can't find code_transformers package versions

Original issue details: https://stackoverflow.com/questions/52541532/package-code-transformers-has-no-versions-that-match
I'm not sure what the issue is here with the code_transformers version detection but it appears that the pub query can't find the versions that my dependency needs. Looking at https://pub.dartlang.org/packages/code_transformers/versions the compatible versions do exist out there but may not be returning in the pub query.
Is this potentially an issue with the index? Or another issue entirely? Any help is greatly appreciated.
Thanks,
Ryan

I think the pub site provides the correct version information:
https://pub.dartlang.org/api/packages/code_transformers
Moving this to pub client, as I suspect the issue might be there.

This issue was moved to dart-lang/pub#1988


feat: encoding values in Baes64Encoder

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#67  👈
#65
#63
#62
#61
#60
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @malezjaa and the rest of your teammates on  Graphite


centralise the name of the image to build in the controller (#88)

The name of the image to build is assumed to be km.ContainerImage in several places in the code, this commit centralises that assumption into a single point in Reconcile(). In the future this will allow us to determine the image the stage produces once E.g if we add signing (or other) intermediate stages to the image build process.

Pull cherry-pick:
https://github.com/kubernetes-sigs/kernel-module-management/commit/c4db89206f405a126d68d2b3c17acfaca436549b

/assign @ybettan

/lgtm


feat(newsletter): created newsletter library in daffodil

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Fixes: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

These fixes should be there in the newest commit @damienwebdev


Update forc-crypto plugin

In #5153 forc-crypto was introduced and it has its own copy of keygen from fuel-core. In https://github.com/FuelLabs/fuel-core/pull/1397 keygen has been updated to stop depending in protoc and it has a crate.
Update forc-crypto in the next fuel-core-keygen release to reference it instead of copying it.

This is done in #5273 and will be released once #4820 gets merged.


reference to missing switch in poolmon.exe

The page refers to using the /c switch, but that doesn't seem to exist for poolmon.
The command line reports: Poolmon: unknown switch: c
See also: https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/poolmon-run-time-commands

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

ID: 3f5a6493-4db5-8f3f-9225-326db228bfbc
Version Independent ID: 59d43335-d46e-44ef-fa22-e0a96e250138
Content: PoolMon Examples - Windows drivers
Content Source: windows-driver-docs-pr/devtest/poolmon-examples.md
Product: windows-hardware
Technology: devtest
GitHub Login: @DOMARS
Microsoft Alias: domars

@nbalisciano - As it turns out the /c switch is still available in the 32 bit version of poolmon. I updated the topic to better emphasize, that this is not available in the 64 bit version. At some point I may remove this 32 bit example, but as it may be useful in some situations, I will leave this reference to /c in the topic, at least for now. Thanks for pointing this issue out, and good luck with your use of poolmon.


Did this proposal make any progress?

Hi Bob Myers,
I very much like this proposal, and am somewhat surprised it hasn't gained more traction. At first I thought this solved it, but no.
From my understanding the current proposal is this:
const target.{ a, b } = { a: 1, b: 2, c: 3 };
console.log(target);  // { a: 1, b:2 }

Two questions:

How would/could destructed arrays be included? Does it need to be included?

Would this create a new object on the fly? Would it merge properties if using an existing object? How would that latter syntax look?

const a, b, params = { z: 10 };
params.{ a, b } = { a: 1, b: 2, c: 3 };
console.log(params);  // { a: 1, b: 2, z: 10 }

Thanks for your interest.
I'm guessing that this will get picked up by some well-known person who
will put his or her own spin on it, and have the ability to push it forward.
To answer your questions:

params.{a, b}  = ... does not create a new object any more than
params.a would.
Although there are semi-obvious ways to extend this to arrays, arrays
are really different animals, and the use cases are different, and there is
a notion of "ranges" and "slices", and I thought the proposal would have a
better chance of gaining traction if the initial version did not deal with
arrays.

On Tue, Feb 26, 2019 at 10:50 PM Paul Dilley<EMAIL_ADDRESS>wrote:

Hi Bob Myers,
I very much like this proposal, and am somewhat surprised it hasn't gained
more traction. At first I thought this
https://github.com/zkat/proposal-as-patterns solved it, but no.
From my understanding the current proposal is this:
const target.{ a, b } = { a: 1, b: 2, c: 3 };
console.log(target);  // { a: 1, b:2 }
Two questions:

How would/could destructed arrays be included? Does it need to be
included?
2.
Would this create a new object on the fly? Would it merge properties
if using an existing object? How would that latter syntax look?
const a, b, params = { z: 10 };
params.{ a, b } = { a: 1, b: 2, c: 3 };
console.log(params);  // { a: 1, b: 2, z: 10 }
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rtm/js-pick-notation/issues/3, or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfR3JVvHl4DA-uwkxjlN7Uri7oIudwks5vRiqqgaJpZM4bT0zq
.

@rtm Thank you for your response!
Perhaps having a working Babel plugin would persuade more people, and also allow testing of the theory? I would love to help!

const target.{ a, b } = { a: 1, b: 2, c: 3 }; - So const would just define a and b, but not target? Or would it be disallowed in this instance (requiring let)

I agree with you, it don't really see it being as useful for arrays.

It's tricky because square bracket notation is used for dynamic read/write, so it wouldn't be easy to tell the difference for a single item only. I'm wondering do you have any ideas in mind for the future?
let target, a, b, c;

target[a] = [1, 2, 3, 4];   // Does this mean "target[0] = 1", or "target[undefined] = [1, 2, 3, 4]" ?
target[a, b, c] = [1, 2, 3, 4];  // context is clear here, it can only mean a single thing

I noticed for option chaining they introduced a dot to deal with this situation: obj?.[expr]
Could do the same? target.[a] = ['1', '2', '3', '4']; // target[0] ~> '1'

Not exactly. The easiest way to think of this is as a.{p, q} being an almost-exact analog to a.p, but evaluates to an object containing the p and q properties of a. On the left hand side of an assignment, a.{p,q} = obj;, is very close to a.p = val, except that instead of val being assigned to the p property of a, the p and q properties from obj as assigned to the corresponding properties of a (which already exists). You are not declaring anything here; you are either referencing, or assigning.
To create a new object with a couple of fields from an existing object, the relevatn syntax would bve
const newObject = oldObject.{p, q};

Thank you again for the responses. Last thing: since it's basically doing destructuring in reverse, rather than call it picking, one could perhaps call it "restructuring". Maybe more obvious naming?Just a thought.

P.S. That's it from me! Closing


Add a description of children in DatePicker and more

Closes #2407
Description
Add a description of children in DatePicker and more
Is this a breaking change (Yes/No):
No

@hironokobari @odendayoko
Fixed:)


[sqlx-cli] --source flag is difficult to discover and confusing to use

No way to override migrations directory for CLI.

It does, but it's a command line flag:
$ sqlx mig --help
sqlx-migrate
Group of commands for creating and running migrations

USAGE:
    sqlx migrate [OPTIONS] <SUBCOMMAND>

FLAGS:
    -h, --help
            Prints help information

    -V, --version
            Prints version information

OPTIONS:
        --source <source>
            Path to folder containing migrations [default: migrations]

...

I'd be open to maybe adding a way to specify this via a config file, but the --source flag should work at least. If not that's a bug.

Hmm, the --source flag doesn't show up in the help message for the subcommands, so I can see how it might be easy to miss:
$ sqlx migrate add --help
sqlx-migrate-add
Create a new migration with the given description, and the current time as the version

USAGE:
    sqlx migrate add [FLAGS] <description>

ARGS:
    <description>

FLAGS:
    -h, --help       Prints help information
    -r               If true, creates a pair of up and down migration files with same version else
                     creates a single sql file
    -V, --version    Prints version information

I wonder if that's a Clap bug or if we structured the subcommands wrong.

Okay, so Clap treats --source as an option to the migrate command and not the subcommand, so you need to pass it before the subcommand, which is confusing:
$ sqlx migrate run --source foo
error: Found argument '--source' which wasn't expected, or isn't valid in this context

	If you tried to supply `--source` as a value rather than a flag, use `-- --source`

USAGE:
    sqlx migrate run [OPTIONS] --database-url <DATABASE_URL>

For more information try --help

Versus:
$ sqlx migrate --source foo run
error: while resolving migrations: No such file or directory (os error 2)

(This is the error I'd expect as the foo directory doesn't exist.)
So the solution here would be to copy source here: https://github.com/launchbadge/sqlx/blob/master/sqlx-cli/src/opt.rs#L106-L107
To every variant of MigrateCommand below. However, to not break existing usage we should still keep source where it's at now as well, maybe mark it as deprecated if we can, and have --source on the subcommand override the value if it is not the default.

No way to override migrations directory for CLI.

Okay

Hmm, the --source flag doesn't show up in the help message for the subcommands, so I can see how it might be easy to miss:

Yes. That's why I create the issue #1666. Should we explain about this in the Readme?


Make "start request" logs debug, not info

IMO these should be debug-level logs, not informational ones.

Seems like a reasonable change for me

Thanks! The failures seem to be unrelated to the change - I can fix them as part of this branch if you'd like?

I fixed the CI in https://github.com/jmgilman/vaultrs/pull/107. You can rebase on it as soon as it's merged


Feature Request - payload_arm_night: payload_arm_night: '{"password":"0000","Command":"sleep","Subcommand":"0"}'

Feature Request for Sleep data to pannel + sleep arm button for the
https://www.home-assistant.io/components/alarm_control_panel.mqtt/
This is useful for the PARADOX MG  and SP Alarm system.
payload_arm_night: '{"password":"0000","Command":"sleep","Subcommand":"0"}'
Home Assistant will Respond to one of the following states to the state_topic:
‘disarmed’
‘armed_home’
‘armed_away’
‘armed_night’
‘pending’
‘triggered’
Home Assistant will publish a new message whenever the state changes:
disarmed
armed_home
armed_away
armed_night
pending
triggered
payload_disarm (Optional): The payload to disarm this Alarm Panel. Default is “DISARM”.
payload_arm_home (Optional): The payload to set armed-home mode on this Alarm Panel. Default is “ARM_HOME”.
payload_arm_away (Optional): The payload to set armed-away mode on this Alarm Panel. Default is “ARM_AWAY”.
payload_arm_night (Optional): The payload to set armed-night mode on this Alarm Panel. Default is “ARM_NIGHT”.

Feature requests should go in our forum, as stated in the issue template.


Memory % Calculation in Kubernetes

I have the 2.2.0-beta6 profiler enabled on a .NET Core 3.1 service running in a Linux Alpine container in AKS.  I have noticed that profiler is taking captures due to the default Memory Trigger (80%) but its not clear to me how its calculating the memory.  On the "Configure Application Insights Profiler" blade its consistently saying the memory was ~90% every time a capture is performed (even the RandomSchedulingPolicy captures).  My service is the only process in the container so I'm guessing that's why it's always considered around ~90% utilization?
.NET Core doesn't have a % memory utilization counter, only a working-set so I'm wondering if something can be improved here.

The memory rate, on Linux, comes from /proc/meminfo. The formula is: (1-(free/total) * 100%):
For example, at the point of gathering, if the meminfo looks like it below:
saars@machine:~$ cat /proc/meminfo
MemTotal:       12993484 kB
MemFree:        12875448 kB
MemAvailable:  ...

The rate is (1-(12875448/12993484))* 100% = 0.91%.
In your case, you have utilized almost 90% of the memory of your application. You will need to decide whether that is because of a high utilization by design, or is there a potential memory leak - that GC happens constantly when under memory pressure.
Under the circumstance where memory utilize rate is constantly high and it is by design, you can set the criteria for memory trigger to be higher than the default of 80%, for example:


Syncing history Netflix stuck / crashing

Syncing my Netflix history to Trakt stuck when reaching a high amount and old items. No matter how long I wait, the screen stays like in the attached screenshot:

The only solution I found so far is to disable 'hide synced', and carefully scroll all the way to the bottom produces some success in loading new items. However, the plugin seems to crash if too many new ones are loaded in and I have to start this process again.
Running Brave Version 1.36.112 Chromium: 99.0.4844.51 (Official Build) (x86_64)
Please let me know if I can attach anything else to help you identify the bug.

Can you open devtools on history page before the error occurs (you can do this before you select the Netflix-service to be sure) and see if there are errors messages in the console?

I think this is most likely because of the Netflix bug that was fixed in #136. I've deployed a new beta version, please try it and see if it still happens.

Awesome, I'm sorry but I have no clue how to get the new beta version to work. I've downloaded the chrome.zip from this: https://github.com/trakt-tools/universal-trakt-scrobbler/releases/tag/beta but I think the zip file is corrupted (doesn't unzip on my Mac)
Am I downloading the correct file?

You're right, looks like it's corrupt. Will see if I can fix it later.

All good no stress - I will check it tomorrow!
Thanks for all the help, I love the plugin otherwise.. so happy it exists!

Hello, any updates?

Oh, snap!
I'm sorry I thought I responded to this. Yes, the update has fixed it for me and Netflix works as expected now! Thank you so much.

Awesome!


Iss153

Updated Summary section and corrected lines too long identified by molecule lint.

This merge closes #153.


Deduplication tooltip probably misleading

Hi Team,
The System Level setting for Deduplication has a message which suggests that the older findings will be marked as duplicate and not the recent one.

"Dojo marks the less recent finding as a duplicate." <- this is the message
however from my experience its the recent entries that are marked duplicate and not the initial occurrences.
Can you confirm whats the expected behaviour and if the tooltip is reflecting correct behaviour.

This can be closed @mtesauro


greenkeeper inactive

For some time now greenkeeper doesn't opens new pull requests

I've tried to deactivate the webhook and activate greenkeeper with the integration

greenkeeper is back


Is there some input errors in your README.md?

Is there some input errors in your README.md?
emm,,, I wanna ask you, in your README.md, here, you write,

Create the _.config.yml file
That file should be created ,,,,

you say _.config.yml, but I find out that is _config.yml in your root repository.
Is there some input errors?

Yep,  it was a mistake. It's fixed now. Thanks for the report.


Support ternary operations inside object literals

Fixes this snippet which is valid typecript but currently makes everything else in the file typescriptTemplate:
const func = a => {
  return { a: b === 'test' ? `${val}` : 'test' }
}

this should not be typescriptTemplate

I don't think it is a valid fix since typescriptValue follows objectLabel which is already included. We don't need to include it here.

The code in my first comment apparently causes issues which is fixed by this patch, do you think it breaks something?
Current master:

My PR:

I used to think that object literal group should contain as least syntax group as possible. But it seems ternary can follow any expression. So there is no way to detect ternary unless it is put inside object literal.
Thanks for the patch!


Uploaded images not exists

When vagrant reload project all uploaded images removed

Did you use Amazon S3 plugin for storing images?
If not please do so. Heroku removes everything on build, and compiles a new version, so the upload folder gets removed.


feat: 2024 05 17 - [merged]

Merges feat-2024-05-17 -> development

added 20m of time spent

mentioned in commit 789b4a55d657c6c7a23af4c5d499b2be0a20481b

mentioned in commit 6f6031fb1eb789e86afb7c9cbb8c12e7f1563f56

mentioned in commit b1c4e570cfb92ce6c72bd6df28f4c9d6d9eb30e6

added 3 commits
789b4a55 - feat(device): add pagination for index6f6031fb - feat(software): add pagination for index8b746bb9 - ci: correct junit report name
Compare with previous version

mentioned in commit 7302f997530c9caba8e534877eba65dfa3659f9c

mentioned in commit 8b746bb9ff607950a73850d3cb0432f3d5538c63

mentioned in commit 68b1e15e01412aa066c2ec6f74fb8a611af808dc

mentioned in commit 9e801fa9eb0244d413d1555bff8e206b2ff6acd7

mentioned in commit 7f35292f64656830208b097388516b13e8b91613

mentioned in commit b811eedb338712e1e8ddfba3b032dbdd3513dda5

mentioned in commit b14a28f1c85a691daf42bdd7e677b03278579328

added 8 commits
7302f997 - feat(base): add stylised action button/text7f35292f - feat(software): ability to add software versions9e801fa9 - fix(device): correct software linkb2e1a460 - feat(software): prettify device software action68b1e15e - chore: remove style attribute from iconsb1c4e570 - feat(software_version): set is_global to match softwareb0e69ee6 - feat(software_version): name does not need to be uniqueb811eedb - feat(device): configurable software version
Compare with previous version

added 2 commits
b14a28f1 - chore: add issue link button for computer inventorying8cfffae7 - docs: update
Compare with previous version

mentioned in commit b2e1a460c853f57397c615707575f9b87b174e9c

mentioned in commit 8cfffae7f8c43a619d2a16056e0075c36e8db6a6

mentioned in commit b0e69ee64b929466a41d69b523641e17928188e7

mentioned in commit 7d007f721af5e3a192c9a713069bec8c7a602d12

mentioned in commit 0e69a0accc32ea1513394da38e78066b0e09a5ed

mentioned in commit aade1e80d7d0b5bf5d45c7fe202a360d325bc396

added 2 commits
7d007f72 - docs: update0e69a0ac - feat(software): if no installations found, denote
Compare with previous version

mentioned in commit 03b06bb2dad6250938a9c8c5372a2eddbd377d67

mentioned in commit 794f159a89556292dffc695dc4cd8e2d981ff7f9

added 1 commit
03b06bb2 - chore: update tab text colour
Compare with previous version

added 1 commit
aade1e80 - feat(device): Prevent devices from being set global
Compare with previous version

mentioned in commit ed15ab00648f5d753c304f2dfb3272a287a17fee


[Ethereum]: Support obtaining the function signature from an Ethereum function ABI

Description
The function signature is useful for indicating the intended contract call and for computing the 4-byte selector.
There is a similar function, tw_ethereum_abi_function_get_signature, in the code; however, it is not exported, and its input argument is difficult to construct. Therefore, I added a new function named EthereumAbi.getFunctionSignature. This new function accepts an ABI JSON string as an argument, making it very easy to use.
How to test
Run Rust, C++, iOS, Android tests

Types of changes

Checklist

[x] Create pull request as draft initially, unless its complete.
[x] Add tests to cover changes as needed.
[x] Update documentation as needed.
[x] If there is a related Issue, mention it in the description.

If you're adding a new blockchain

[x] I have read the guidelines for adding a new blockchain.

There are two functions that can be used to decode Ethereum transactions: EthereumAbi.decodeContractCall(coin: CoinType, input: ByteArray) and EthereumAbi.decodeCall(data: ByteArray, abi: String). Both functions require a special ABI format as an input argument:
{
    "ec37a4a0": {
        "constant": false,
        "inputs": [{
            "name": "name",
            "type": "string"
        }, {
            "name": "age",
            "type": "uint"
        }, {
            "name": "height",
            "type": "int32"
        }],
        "name": "setName",
        "outputs": [],
        "payable": false,
        "stateMutability": "nonpayable",
        "type": "function"
    }
}

See: rust/tw_tests/tests/chains/ethereum/data/custom.json
The new function, EthereumAbi.getFunctionSignature, introduced in this PR, simplifies the process of generating the 4-byte function signature ec37a4a0.


Bug fix/fix active failover foxx failover

Scope & Purpose
properly invoke self heal when active failover happens to actually have a failover.

[x] :hankey: Bugfix (requires CHANGELOG entry)
[x] :book: CHANGELOG entry made

Backports:

[x] Backports required for: 3.7, 3.7

Related Information

[x] GitHub issue / Jira ticket number: BTS-558

Testing & Verification
Run https://github.com/arangodb/release-test-automation/blob/main/release_tester/test.py with --starter-mode AFO

[ ] This change is a trivial rework / code cleanup without any test coverage.
[x] The behavior in this PR was manually tested
[x] This change is already covered by existing tests, such as RTA triggering failover, and revalidating services.
[ ] There are tests in an external testing repository: https://github.com/arangodb/release-test-automation
[ ] I ensured this code runs with ASan / TSan or other static verification tools

https://github.com/arangodb/arangodb/pull/14754#discussion_r705659069
https://github.com/arangodb/arangodb/pull/14754#discussion_r705657761

Lgtm :shipit:


add travisCi to oracle feature

see more information on #1491 and #990

@elhigu  please add environment variables
if you prefere add all, using don't display information on console.

@tgriesser @rhys-vdw Looks like I don't have enough rights to set those variables. Could you add them?

I think pull requests will not be tested if the TravisCI script requires environment variables (because somebody might just add an echo of that variable). The best way would be for Oracle to supply a public url for downloading Oracle XE or any other mean (e.g. Docker image)

@vschoettke i 💚  the ideia.
but angry to the oracle license 👎 , i don't remember there i read that, we do not have permission to copy and distribution oracle XE

Hey guys, it seems I am able to modify environment variables, but could somebody guide me through the process? Do I need to create an Oracle account for knex?

I think pull requests will not be tested if the TravisCI script requires environment variables

Yes, you're correct - thanks for the heads up. Not ideal.
On the bright side a local branch succeeds!

@rhys-vdw  I ❤ the idea @vschoettke
but the problem to me, is the oracle license.
@vschoettke do you start this feature ??

Okay, so I want to get this merged even if we don't support Oracle or PR's. A solution like @vschoettke's suggestion would be ideal, but that shouldn't prevent us from running oracle tests on branches of this repository.
In the short term I think we must skip Oracle integration testing in PR's. This means we's need to merge into a local branch to see if PR's pass Oracle integration tests in CI. Still an improvement over the current state of things.
If I understand correctly, this new environment variable DIALECT means we end up running all our integration tests twice. We already support listing dialects using the DB environment variable. Since this PR hasn't modified DB or its default value we are not actually running the tests (including in my the successful branch I linked to above).
It is possible to check whether the current branch is a pull request. Perhaps we can use this to conditionally skip some tests?
The logic could be something like this:

If we are not testing a pull request, include oracle in the DB environment variable along with the other dialects.
If oracle is included in DB then install download an install Oracle as per this PR's implementation.

This way we'll have a single build per node version, conditionally testing Oracle if available.
Thoughts?

@williamgueiros Actually oracle license seems really permissive http://www.oracle.com/technetwork/licenses/database-11g-express-license-459621.html It allows package DB with your own application and it allow to redistribute it too if you require your users to agree with the original license.

This would be awesome to get in here - @williamgueiros @vschoettke what can I do to get this moving forward. Also while I'm here, for those who know oracle well, can anyone tell me what's supposed to be going on here.
That usingClause value is never actually used anywhere, the newest eslint caught that.


Support for WKWebView?

Browsers and versions affected
WKWebView on ios 11
Description
I see that ios Safari 11 is now supported but I have an ionic app that I believe uses WKWebView. So I am still unable to get getUserMedia which also causes PeerJS to fail. I'm not super savvy in this area but I'm wondering if there is currently support, a workaround, or plans to support WKWebView.
Steps to reproduce
Open inspector on ionic app. Trying to find getUserMedia on navigator.
Expected results
See getUserMedia
Actual results
getUserMedia is not a member of navigation.

getUserMedia is not supported in WKWebView right now: https://bugs.chromium.org/p/chromium/issues/detail?id=783220

While safari just added support to it, Apple gives usually one release (one year) before releasing the corresponding framework. Do not expect the web view framework to support webrtc before fall next year.


Network Explorer can't access to other computers & random restarts con Network Hardrive

Description
Basically the title
Steps To Reproduce
asd
Expected behavior
asd
Files Version
Latest Version
Windows Version
Windows 11 Latest version (stable release)
Relevant Assets/Logs
asd

Sorry, but this issue is useless and does not meet any basic bug report requirements.


12-implement-pre-scaffold-welcome-messaging

add ascii art via figlet
refactor preScaffold function to print updated welcome message

This PR closes #12


Support for monorepos that have mutliple roots and files in the root

Multi-root workspaces are invaluable for those of us using vscode with monorepos. But they still lack support for files at the root of a monorepo. As an example:
.
|-- root_1
|-- root_2
|-- .gitignore
`-- docker-compose.yaml

A current workaround is to add the root of the monorepo as a root too but this, obviously, is not ideal.

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Error “collection was modified enumeration operation may not execute” when restoring database backup in Azure Data Studio

Azure Data Studio Version: 1.14.1 (seemed to work on previous versions)

Steps to Reproduce:
Run SQL Server via Docker on a Mac
Restore database file use Azure Data Studio's Restore feature from the Server Dashboard
Error message: “collection was modified enumeration operation may not execute”
I get this error on both new .bak files and a bak file that was successfully restored with a previous version of Azure Data Studio.
Others are having this issue as well: https://stackoverflow.com/questions/59437429/error-collection-was-modified-enumeration-operation-may-not-execute-when-resto
Unfortunately, that suggested fix does not work for me.
Is it possible to install an older version of Azure Data Studio?

https://stackoverflow.com/questions/59437429/error-collection-was-modified-enumeration-operation-may-not-execute-when-resto
this works to me


Relax the wild dep

to make life easier of distro packagers.

I submitted a request to wild requesting a minor change which would return v1.31.0 compatibility. We could relax the versioning if that request is merged.

The new version of wild that @rivy improved has been published. We are good

Just FYI, wild = "2.0.4" is a fairly loose specification, only differing from wild = "2.0" by requiring greater than or equal to 2.0.4.
wild = "2.0.4" == wild = "^2.0.4" == wild = ">= 2.0.4, <3.0.0" (per cargo docs).


unable to encode []model.Field into text format for unknown type (OID 16385): cannot find encode plan

Version
1.27.0
What happened?
I am trying to create a query that will return a set of results based on a dynamic filter.
I am using the pattern described here: https://github.com/sqlc-dev/sqlc/discussions/364#discussioncomment-55082
However, the query fails due to my ENUM.
I want the query to return any results where the color is any of the filtered colors.
If I change the query to fav_color = @fav_colors::COLORS, then the query works.
But it doesn't seem to like it when using the ANY(@fav_colors::COLORS[]), even though that pattern does work with the regular text/varchar field.
The error message:
&fmt.wrapError{msg:"failed to encode args[5]: unable to encode []model.Colors{\"red\", \"blue\", \"green\"} into text format for unknown type (OID 16385): cannot find encode plan", err:(*fmt.wrapError)(0x14000092620)}
Example calling code:
	accounts, err = dao.SelectAllAccountsByFilter(ctx, model.SelectAllAccountsByFilterParams{
		AnyNames:    true,
		Names:       []string{"Jane", "John"},
		IsActive:    true,
		Active:      true,
		AnyFavColor: true,
		FavColors:   []model.Colors{model.ColorsRed, model.ColorsBlue, model.ColorsGreen},
	})
	if err != nil {
		fmt.Printf("%#+v\n", err)
	}

Relevant log output
No response
Database schema
CREATE TYPE COLORS AS ENUM('red', 'green', 'blue');

CREATE TABLE accounts (
    id          BIGSERIAL PRIMARY KEY,
    name        VARCHAR(50)              NOT NULL,
    email       VARCHAR(50) UNIQUE       NOT NULL,
    active      BOOLEAN                  NOT NULL,
    fav_color   COLORS,
    fav_numbers INTEGER[],
    properties  JSONB,
    created_at  TIMESTAMP WITH TIME ZONE NOT NULL
);

SQL queries
-- name: SelectAllAccountsByFilter :many
SELECT *
FROM accounts
WHERE (CASE WHEN @any_names::bool THEN name = ANY(@names::text[]) ELSE TRUE END)
  AND (CASE WHEN @is_active::bool THEN active = @active ELSE TRUE END)
  AND (CASE WHEN @any_fav_color::bool THEN fav_color = ANY(@fav_colors::COLORS[]) ELSE TRUE END)
;

Configuration
version: "2"
sql:
  - engine: "postgresql"
    queries: "query.sql"
    schema: "../data/01_schema.sql"
    database:
      uri: "postgresql://postgres:password@localhost:5432/learning"
    rules:
      - sqlc/db-prepare
    gen:
      go:
        package: "model"
        out: "internal/model"
        sql_package: "pgx/v5"
        emit_json_tags: true

Playground URL
https://play.sqlc.dev/p/8c40159dc90a74c0fcdb9b84a461e2d4e3608c7a6204f53c878303aa4f09ac0a
What operating system are you using?
macOS
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go

I have the same issue:
error while fetching products failed to encode args[5]: unable to encode []sqlc.CatalogProductType{"base", "bundle", "group", "variant"} into text format for unknown type (OID 37847): cannot find encode plan
It would be nice to know if there is any workaround. It's blocking my development. :(

@veqryn I found a work around for now, that is to force cast the types.
-- name: SelectAllAccountsByFilter :many
SELECT *
FROM accounts
WHERE (CASE WHEN @any_names::bool THEN name = ANY(@names::text[]) ELSE TRUE END)
  AND (CASE WHEN @is_active::bool THEN active = @active ELSE TRUE END)
  AND (CASE WHEN @any_fav_color::bool THEN fav_color::text = ANY(@fav_colors::text[]) ELSE TRUE END)
;


How to recover from ctrl-c when prompt asking for pin on MAC

Summary

I accidentally hit ctrl-c when terminal on MAC asked me for gopass pin.
Now gopass show hangs for a long time won't return control to me.
Tried brew uninstall gopass, hoping to clean it up, and reinstall.
But after reinstalling, my local passwords are still there.
gopass ls, works.
But gopass show hangs.
Suggestions?
Any documentation on how to fully uninstall cleanup gopass?
Thanks,
William
Steps To Reproduce

Expected behavior

Environment

OS: [e.g. Mac OS X High Sierra, Ubuntu 18.04, Windows 10, ...]
OS version: [uname -a]
gopass Version: [gopass version]
Installation method: [e.g. from source, brew, gopass repo]

Additional context

Can you check to see if you have a rogue gpg-agent daemon running? I've found that killing any rogue gpg-agent processes fixes this state, but you might need to run a reload afterwards. Additionally, I'd advise adding the following to your shell's dotfile to prevent getting stuck in this state.
export GPG_TTY=$(tty)


Programming exercises: Scrolling position does not persist over a file switch in the online editor

Describe the bug
When I use the new online editor (Monaco) the scrolling position of the editor is always on the top of a file after opening it. I would expect that the previous scrolling position be retained for each file.
This problem applies to online editor for student submission (https://github.com/ls1intum/Artemis/pull/8130) and for the online editor for instructors (https://github.com/ls1intum/Artemis/pull/8389). Technically it should be quite the same situation.
To Reproduce
Example for the student submisson:

Go to a Programming Exercise that allows the usage of the online editor for submissions.
Open the exercise with the online editor
Open a file (lets call this file1)
Scroll down some lines
Switch to another file
Switch back to file1

Expected behavior
The editor is still in the scrolling position from step 4.
Screenshots
The editor is again at the top of the file.
Which version of Artemis are you seeing the problem on?
7.0.0
What browsers are you seeing the problem on?
Firefox
Additional context
The situation in the online editor for instructors (https://github.com/ls1intum/Artemis/pull/8389) was tested with the branch feature/programming-exercises/monaco-instructors at Commit 25d4fe5.
Relevant log output
No response

A similar problem with the old online editor was reported in #7393.

Thanks for reporting - I'll have a look

There are two underlying problems:

setting the cursor position does not scroll it into view (and the editor is not focused when you select a different file)
we're not updating the stored cursor position at the correct moment (needs to happen when we switch files, rather than when the file is modified)

I think Monaco provides a nice solution for this. There's a method saveViewState that stores the current position of the editor, its scroll position (among other things) and returns an object containing this information. Instead of manually restoring the cursor position, we could try saving and restoring the view state of the editor instead.
We'll have to see how this interacts with the feedback widgets rendered in the editor, though


feat(ux-card): add ux-card component

Adds the UX Card component. The ux card has been made to work with the grid component and can be used directly in place of a ux-grid-cell.
Usage
<ux-grid>
      <ux-card dense class="accent-header" md="6" lg="4">

            Accent Header

dense

800 Items

          Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. Mauris massa. Vestibulum lacinia arcu eget nulla. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

      </ux-card>

      <ux-card dense class="primary-header" md="6" lg="4">

              Primary Header Row

            <ux-button type="icon">
              more_vert
            </ux-button>

800 Items

          Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. Mauris massa. Vestibulum lacinia arcu eget nulla. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

      </ux-card>

      <ux-card md="6" lg="4">

            Image Card

          Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero.

      </ux-card>

      <ux-card dense md="6" lg="4">

            Image Card

Subtitle

          Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum.  Integer nec odio. Praesent libero. Sed cursus ante dapibus diam.

          <ux-button type="flat">Flat UX-Button</ux-button>
          Anchor Action

      </ux-card>
</ux-grid>

Visual Examples

Themed

Woohoo!!! Will review over the next couple of days. Very excited about this one :)

@scriswell You might want to take a look as well :)

Very Nice! Are we worried about BEM CSS styles or are we using something like CSS Modules for CSS scoping?

So far not using CSS Modules for the main reason that it leaves the components flexible, if the developer wants to change the styles bad enough they can do so without having to using anything more than basic CSS, though I try to make sure the selectors are specific enough that accidentally overriding styles should not be an issue.
Though the theming shown in those images above was accomplished by changing two of the CSS Variables at the root of the document that should apply across all components.
I will see if I can get a live version up and running in the showcase soon.

I'm mostly concerned with generic class names like class="title", class="spacer", and class="sub-title". Each of those could easily be used by mistake in other areas of an app and potentially cause some styling conflicts.

Looking at md="6" lg="4", these custom properties appear to work similarly to Bootstrap. Is there a semantic way to do this as well? In Bootstrap, for example, I could extend a class with the related CSS class for breakpoints using either SCSS or PostCSS. Do we have classes that handle this layout task as well? Out of curiosity why have we built custom properties for these as opposed to building a CSS class library for them?

I see what you are saying. Yes those are rather generic. Would you suggest something like ux-card-title?
So the grid we have implemented is very similar to bootstrap, though there is less setup. It works on top of the CSS Grid layout. The main reason it is not in its own CSS Class Library is because the ux-grid component will have to be there regardless as it offers certain functionality, such as being able to change the number of columns in the grid. <ux-grid columns="15"> for example.

This is better but something like ux-card__title would more closely align with BEM style expectations. With this solution, it's readily understandable that ux-card__title is an element belonging to the ux-card component.

I'd love to learn more about our <ux-grid> implementation but I won't bog down this pull request with that. ;)
This is really exciting stuff!

As a class name or an element name? I have never actually seen any elements named like that.
I have mixed feelings on it, but those are more due to personal style rather than any real reasons based in logic, so I can not really argue against it.

Class name, sorry for the confusion. BEM refers to a child node of a parent component as an element.

Here's a quick overview: https://csswizardry.com/2013/01/mindbemding-getting-your-head-round-bem-syntax/

I may not enjoy how it looks, though the reasons behind it are sound. I do not mind updating the styles to look like this, particularly since the alternatives with CSS Modules while nice, limits what the developer can do in the end.
Here is a demo of the components live: https://aux-demo.firebaseapp.com/cards
I will start making those changes. (you can toggle the theme on that page in the upper right hand corner)

Card subtitles are very hard to read in dark theme.

@ZHollingshead I agree BEM is not syntactically elegant but it does add clarity, especially to large application codebases.

@ZHollingshead I like the idea of having it be expressed as an element <ux-card-content>. It has more semantic meaning that the div and you can always add a custom class to the element to update the styles. @EisenbergEffect What do you think?

Would we also want to favor a ux-card-header and ux-card-footer element in place of a standard header and footer element? Thinking on it those elements are probably styled heavily in almost every application.
<ux-card dense md="6" lg="4">

      Title

Subtitle

    Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris.

    <ux-button type="flat">action</ux-button>

</ux-card>

vs
<ux-card dense md="6" lg="4">
  <ux-card-header>
    <ux-card-card-title size="small">
      Title
      Subtitle
    </ux-card-card-title>
  </ux-card-header>
  <ux-card-action-row>

  </ux-card-action-row>
  <ux-card-card-content>
    Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris.
  </ux-card-card-content>
  <ux-card-footer>
    <ux-button type="flat">action</ux-button>
  </ux-card-footer>
</ux-card>

@ZHollingshead I like this approach but I would want to get @EisenbergEffect to share his thoughts as well. My thoughts are that custom Aurelia UX components should have their own elements but that they should easily map to standard markup when available. So what you've suggested above matches those thoughts.

I'm good with adding more elements for semantic reasons, especially if it makes it easier to style. Let's just make sure we have aria attributes on everything.

I went ahead and updated the CSS.
Any custom elements aside from the ux-card element are currently defined only in the CSS, as I could not think of any aria attributes to apply to them.
The usage currently looks like this:
    <ux-card md="6" lg="4">
      <ux-card-header>
        <ux-card-title size="small">
          Title
          <ux-card-sub-title>Dense</ux-card-sub-title>
        </ux-card-title>
      </ux-card-header>
      <ux-card-action-row>
        <ux-button type="icon">
          <ux-icon icon="share"></ux-icon>
        </ux-button>
        <ux-button type="icon">
          <ux-icon icon="bookmark"></ux-icon>
        </ux-button>
        <ux-button type="icon">
          <ux-icon icon="star"></ux-icon>
        </ux-button>
      </ux-card-action-row>
      <ux-card-content>
        Lorem ipsum dolor sit amet, consectetur adipiscing elit.
        Integer nec odio. Praesent libero. Sed cursus ante dapibus
        diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet.
        Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed
        augue semper porta. Mauris massa. Vestibulum lacinia arcu
        eget nulla. Class aptent taciti sociosqu ad litora torquent per
        conubia nostra, per inceptos himenaeos.
      </ux-card-content>
    </ux-card>

    <ux-card md="6" lg="4">
      <ux-card-header>
        <ux-card-header-row>
          <ux-card-title>
            Actions
          </ux-card-title>
          <ux-card-spacer></ux-card-spacer>
          <ux-button type="icon">
            <ux-icon icon="more_vert"></ux-icon>
          </ux-button>
        </ux-card-header-row>
      </ux-card-header>
      <ux-card-content>
        <ux-form>
          <ux-field label="First Name">
            <ux-input maxlength="10" value.bind="firstName"></ux-input>
            <ux-input-info ux-input-counter>John</ux-input-info>
          </ux-field>

          <ux-field label="Last Name">
            <ux-input maxlength="10" value.bind="lastName"></ux-input>
            <ux-input-info ux-input-counter>Doe</ux-input-info>
          </ux-field>
        </ux-form>
      </ux-card-content>
      <ux-card-footer>
        <ux-button type="flat">Flat UX-Button</ux-button>
        Anchor Action
      </ux-card-footer>
    </ux-card>

    <ux-card class="ux-card--primary-header" md="6" lg="4">
      <ux-card-header>
        <ux-card-title>
          Primary Header
          <ux-card-sub-title>standard</ux-card-sub-title>
        </ux-card-title>

800 Items

      </ux-card-header>
      <ux-card-content>
        Lorem ipsum dolor sit amet, consectetur adipiscing elit.
        Integer nec odio. Praesent libero. Sed cursus ante dapibus
        diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet.
        Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue
        semper porta. Mauris massa. Vestibulum lacinia arcu eget nulla.
        Class aptent taciti sociosqu ad litora torquent per conubia nostra,
        per inceptos himenaeos.
      </ux-card-content>
    </ux-card>

    <ux-card dense class="ux-card--accent-header" md="6" lg="4">
      <ux-card-header>
        <ux-card-title size="small">
          Accent Header
          <ux-card-sub-title>dense</ux-card-sub-title>
        </ux-card-title>

800 Items

      </ux-card-header>
      <ux-card-content>
        Lorem ipsum dolor sit amet, consectetur adipiscing elit.
        Integer nec odio. Praesent libero. Sed cursus ante dapibus diam.
        Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis
        sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue
        semper porta. Mauris massa. Vestibulum lacinia arcu eget nulla.
        Class aptent taciti sociosqu ad litora torquent per conubia nostra,
        per inceptos himenaeos.
      </ux-card-content>
    </ux-card>

This is looking great! I really like the version with custom elements.
What do you think about:
<ux-card dense class="ux-card--primary-header">
  <ux-card-header>
  </ux-card-header>
  <ux-card-content>
  </ux-card-content>
</ux-card>

vs
<ux-card dense>
  <ux-card-header color="primary">
  </ux-card-header>
  <ux-card-content>
  </ux-card-content>
</ux-card>

Maybe it would be good to support both options?

I would nicely align with how other components are configured, for example:
<ux-button type="flat" size="medium">

</ux-button>

But maybe it could be changed to:
<ux-button class="ux-button--flat ux-button--medium">

</ux-button>

I prefer 1st option because is more compact and easier to read, but I think i's just personal preference. However it would be great to have consistent api across all components.
Also, in the background BEM-style classes can be generated. I'm talking only about component configuration api, not the internal css.

Also, in the background BEM-style classes can be generated. I'm talking only about component configuration api, not the internal css.

I am against this purely because then you are setting up certain custom elements in Aurelia for the soul purpose of adding a CSS class, when CSS offers a way to handle that. I do not mind the styles being contained in selectors that include attributes because to me that makes sense.
I find attributes in CSS preferable even just due to the fact that if we are using BEM-style classes to reduce the chances of collisions, attributes will be the most specific we can get. We would not have to worry about global styles in that case.

I am against this purely because then you are setting up certain custom elements in Aurelia for the soul purpose of adding a CSS class, when CSS offers a way to handle that. I do not mind the styles being contained in selectors that include attributes because to me that makes sense.

I agree - it would be a big overhead. It could be handled by top level component - in this case ux-card, but it might by unnecessary either. I don't mind attribute based selectors. I'm not concerned about the implementation.
The point I'm trying to make is as a developer I would prefer to have consistent way of configuring ux component. It can be either via attributes or css classes - personally I think attributes are a bit cleaner. Having a mix is be a bit confusing for me.
For example:
<ux-button class="accent" type="flat" effect="none" size="small" />

could be
<ux-button color="accent" type="flat" effect="none" size="small" />

but I'm still fine with the original, it's just second version seems to be more consistent.
However:
<ux-button class="ux-button--accent"  type="flat" effect="none" size="small" />

feels to be a bit harder to use for me.
But maybe it's not the best place to discuss it :)

This is ready for another pass.


Questions about implementation

Hi! Thanks for sharing training code!
While I analyzing implementation in details and have few questions.

https://github.com/jy0205/Pyramid-Flow/blob/e4b02ef31edba13e509896388b1fedd502ea767c/pyramid_dit/pyramid_dit_for_video_gen_pipeline.py#L451

Why use indexing [index::column_size] ? Since latent_list[i_s] would have shape of [bs, c, t, h, w] so
latents_list[i_s][index::column_size] means just getting one batch, isn't it?

How video sync group works?

If I use 8 gpus and default parallel group hyper-parameter setting, sp_group_size and video_sync_group would be 8.
Since sequential parallel already split long tokens so every gpu gets access to the same video input, why video_sync_group is necessary??

When extract video latent in advance, all videos have same fps ?? Since this line means if "frame" is not specified in annotation, extract first 121 frames

https://github.com/jy0205/Pyramid-Flow/blob/e4b02ef31edba13e509896388b1fedd502ea767c/tools/extract_video_vae_latents.py#L118

Why multiplying 2 in here? to preserve variance for each stage ?

https://github.com/jy0205/Pyramid-Flow/blob/e4b02ef31edba13e509896388b1fedd502ea767c/pyramid_dit/pyramid_dit_for_video_gen_pipeline.py#L424

Thanks!

Here are the answers to your questions:

latents_list[i_s][index::column_size] aims to get a batch of samples that belong to the same stage.
We do not use the sequence parallel in the training. The code about sequence parallel is for the multi-gpu inference. The param video_sync_group is for controlling the group of processes that accept the same input sample.
We directly use 24 fps for training. The frames key means you can specify the frame indexes you want to extract.
Multiplying is to make the variance of noise still equal to 1 after bilinear interpolation. (Statisfy standard Gaussian)

Thanks!

Another questions

Supports I2V training ? Current implementations seems only support t2v.

Yes, sounds right. autoregressive training naturally doing I2V training.

Looking forward to share! Thanks.

Another question ?

Then, why scale factor for first frame and remaining frames is different ?? (using same vae)
https://github.com/jy0205/Pyramid-Flow/blob/e4b02ef31edba13e509896388b1fedd502ea767c/pyramid_dit/pyramid_dit_for_video_gen_pipeline.py#L582

Great observation! Please refer to https://github.com/jy0205/Pyramid-Flow/issues/28#issuecomment-2406892327.

Thanks for quick answer!


feat: prompt user to reload when updates available

When the service worker finds updates, tell the user and ask them to reload.

License: MIT
Signed-off-by: Oli Evans<EMAIL_ADDRESS>

Tricky to test this one without setting up local https. create-react-app sets up a service worker so the app works offline, but this leads to surprising behaviour where you don't get the latest version until you reload the page. With this PR we tell the user, rather than hope they guess.
We'll want something similar for webui. It's questionable if we want a service worker caching webui if it is intended to be hosted from a ipfs daemon, but as @lidel points out we want the app to work well in all scenarios.

Oh, nice! Slightly unrelated thought, could we somehow get this into a reusable module that can also be used for sites that are loaded via /ipfs/ but with a hardcoded ipns key that the update can be checked from? Then people can still bookmark the immutable version, but get notifications about updates via ipns.

@VictorBjelkholm cool idea! I think we'll want something like that for the webui.


Missing FileInfo::set_attribute

Does that look on the right path?
https://github.com/gtk-rs/gtk-rs/commit/bd74925488150fd2e980ef4e5f73078bdfa150f1
Unfortunately, we don't have ToGlibPtr for fundamental types. Am I missing something?
Otherwise, I think this function is not super useful, given that there are type-specific alternatives anyway. Could just be skipped imho.

This needs to be manually bound around an enum that combines the GFileAttributeType and the gpointer. But I'm not sure what the point is, there are also set_attribute_string(), set_attribute_uint64(), etc. that cover all this too.

I think this is supposed to take e.g. a gboolean * in case of bool, guint32 * in case of u32, etc. Your approach of implementing that will need something in this trait for getting a pointer.

I think this is supposed to take e.g. a gboolean * in case of bool, guint32 * in case of u32, etc. Your approach of implementing that will need something in this trait for getting a pointer.

Yes, I was expecting ToGlibPtr to be implemented for fundamental types too. Why not?

Because that makes no sense generically. In most cases where you have a guint32 * it's actually an array where you somehow need to figure out the length, for example.


Change license to CC-BY-SA

We will Remove NC; further research reveals it may be too restrictive: http://freedomdefined.org/Licenses/NC ; http://mollykleinman.com/2008/08/21/cc-howto-2-how-to-use-a-work-with-a-noncommercial-license/
This also brings SAFETAG into license-parity with many other resources in the same space.

Hello @joncamfield do you have an update on this?

Jon, you have full agreement on my to switch to CC-BY-SA. I am happy to switch it over & make a new release if you give the word. I am also cool with you making the changes and making a new release. Just let me know.
Here is the license.
We just need to change the license page I believe:

English
Spanish

The license has been updated to be CC-BY-SA.


Feature Request - Implement a minimum fixed size of window

Set the window size to be of minimum fixed size. I mean is that, allow the user to resize the whole window to a limit.
It would solve the issue on multiple tabs not being shown plus there's a bug when we completely resize to very small window then resize back to normal the path is not shown.
Proposed technical implementation details (optional)
We could come up within minimum window size that every user is allowed to resize, this could be done by comparing using the user's screen resolution, to be not biased

Yep, this is solid. Thanks!

So good an idea is this that I'm tagging it for v1.0.

Thank you Sir

hello, i wonder this issue.
i want this problem to solve so i found serveral document.(To find out where the documents and sources are related to this part)
but i cant find ,,,,,ㅠㅠㅠ
sorry where i find "this issue related source and docs?"


Test if component has volume

This provides a function to #62 to test if a components has Volume.

Thanks @gntech , that works beautifully.
Sorry I didn't just add the line myself!
I did add it locally and tested it, but I pushed it to origin and git created a new local branch... then I deleted it... it was a whole thing.
I need to learn more about git remotes :wink:
Thank you for your contribution!
You're the first contributor!... here's a medal: :medal_sports:

Thank you! It was no problem, the reason I did not test it myself before commiting was that I didnt know how to run the test suite. But I worked it out when I saw the traceback you posted.


Implement Initial Warg Server

This PR has a couple issues I realized with doing a typical fetch-proof flow.

Getting records for the latest checkpoint

There's no endpoint for getting the current SerdeEnvelope<MapCheckpoint>
Fetch doesn't let you request records "up to" a certain MapCheckpoint
Fetch doesn't give you operator records

Proof validation

It may be too confusing that proof bundles lose information about "what" they prove and you have to know what order you asked for the proofs in to interpret them.

Initialization

We need to provide a way to initialize the registry with operator contents, which will also need to include them in the transparency structures

Item 1 are things that are just awkward to do without adding more auxiliary data structures (but will be easy when we have a DB) and we probably need to bite the bullet and add them for now to get the semantics we need.
Item 2 is partially a question, should proofs include the base hash being proven to improve correlation or is compactness better?
Item 3 is just more work I need to get to.

As of now, I think the items I previously mentioned are resolved and it should be possible to perform an actual demonstration.


Update comments in ApplicationPattern+forwardings.yaml

Change already existing comments from "## " to "## TODO: " to allow for easy differentiation between todo tasks and user comments.

done


Minor error in comment about _Static_assert

// Preferred: static_assert maps to _Static_Assert and is compatible with C++

This should be:
// Preferred: static_assert maps to _Static_assert and is compatible with C++

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

ID: 78e261e6-9001-6a5f-ce96-f73809a47d6e
Version Independent ID: baf3ef9a-404c-945b-dba3-af7a9ad580ff
Content: _Static_assert keyword and static_assert macro (C11)
Content Source: docs/c-language/static-assert-c.md
Product: visual-cpp
Technology: cpp-c-language
GitHub Login: @corob-msft
Microsoft Alias: corob

Closing as fixed.


iOS Stripe.payWithApplePay() returns 'unable to parse apple pay options'

I'm trying to call "payWithApplePay" in this way:
                    Stripe.payWithApplePay({
                        applePayOptions: {
                            merchantId: 'merchant.xxx.xxx',
                            country: 'IT',
                            currency: 'EUR',
                            items: [{
                                label: 'my_item_name',
                                amount: '1'
                            }]
                        }
                    }).then((res: any) => {
                        console.log('RES', res);
                    }).catch((e: any) => {
                        console.error('ERROR ', e);
                    });

I'm, ALWAYS getting this response in xCode:
{
  "errorMessage": "Impossibile completare l'operazione. (Errore CapacitorCommunityStripe.StripePluginError 0).",
  "message": "unable to parse apple pay options: Impossibile completare l'operazione. (Errore CapacitorCommunityStripe.StripePluginError 0)."
}

The configuration on Stripe has been made correctly:

Google Pay, instead, works like a charm!
Can anybody help me?

i am facing the same error

ok i found. the amount should be number and not in quotes

Thanks for issue!
Today this plugin of v3 is released. This not compatible with v1. All APIs have been revamped. So I will close this issue. If you still have the same problem, please create a new Issue. Thank you.