Identifiers validation failed for dataset Natural History Museum of Utah, Garrett Herbarium

Identifier validation failed for the dataset Natural History Museum of Utah, Garrett Herbarium:

Crawler attempt: 97
Publishing organization: Natural History Museum of Utah (UMNH)
Publishing country: UNITED_STATES
Installation: Natural History Museum of Utah
Number of occurrences indexed for this dataset at the time of the issue: 143846
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 136732 total records; 136732 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3371630/step

New IDs sample:

Old IDs sample:

372072
350037
350038
350039
350040
350068
350075
350076
350085
350031

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Natural History Museum of Utah, Garrett Herbarium : https://doi.org/10.15468/pteehh.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset Natural History Museum of Utah, Garrett Herbarium:

Crawler attempt: 98
Publishing organization: Natural History Museum of Utah (UMNH)
Publishing country: UNITED_STATES
Installation: Natural History Museum of Utah
Number of occurrences indexed for this dataset at the time of the issue: 104460
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 136732 total records; 136732 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3395158/step

New IDs sample:

Old IDs sample:

372072
350037
350038
350039
350040
350068
350075
350076
350085
350031

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Natural History Museum of Utah, Garrett Herbarium : https://doi.org/10.15468/pteehh.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset Natural History Museum of Utah, Garrett Herbarium:

Crawler attempt: 99
Publishing organization: Natural History Museum of Utah (UMNH)
Publishing country: UNITED_STATES
Installation: Natural History Museum of Utah
Number of occurrences indexed for this dataset at the time of the issue: 104460
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 136732 total records; 136732 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3406197/step

New IDs sample:

Old IDs sample:

372072
350037
350038
350039
350040
350068
350075
350076
350085
350031

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Natural History Museum of Utah, Garrett Herbarium : https://doi.org/10.15468/pteehh.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset Natural History Museum of Utah, Garrett Herbarium:

Crawler attempt: 100
Publishing organization: Natural History Museum of Utah (UMNH)
Publishing country: UNITED_STATES
Installation: Natural History Museum of Utah
Number of occurrences indexed for this dataset at the time of the issue: 104460
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 136732 total records; 136732 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3417276/step

New IDs sample:

Old IDs sample:

372072
350037
350038
350039
350040
350068
350075
350076
350085
350031

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Natural History Museum of Utah, Garrett Herbarium : https://doi.org/10.15468/pteehh.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset Natural History Museum of Utah, Garrett Herbarium:

Crawler attempt: 101
Publishing organization: Natural History Museum of Utah (UMNH)
Publishing country: UNITED_STATES
Installation: Natural History Museum of Utah
Number of occurrences indexed for this dataset at the time of the issue: 104460
Cause: GBIF ID problems exceed 50% threshold: 99% duplicates; 136732 total records; 135477 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3426752/step

New IDs sample:

6031239
6188248
6701531
12490302
6799961
12745267
13683883
13269518
13270252
13270137

Old IDs sample:

372072
350037
350038
350039
350040
350068
350075
350076
350085
350031

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Natural History Museum of Utah, Garrett Herbarium : https://doi.org/10.15468/pteehh.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.


Remove ABC Life application detection

This is technically a breaking change, but seeing as the removed components were never used..... 🤷♂

Ouch...too soon buddy.

There'll be an upcoming breaking change for requestDOMPermit changes, so we should roll this into that.


Analyzer strong warnings hard to parse

I've tried for a minimal recreation of some code that is not happy with the new 1.20-dev strong analyzer warnings. It's not super minimal, but here it is:
import 'dart:async';

class Cat {
  static final Camel<BlueHeron> camel = (BlueHeron _) => 'Sam';

  Bunny x() {
    var puppy = new Puppy();
    var brownBear = new BrownBear(puppy);
    return new Bunny(new Whale<BlueHeron>(), brownBear, camel);
    // ERROR: Could not infer type parameter T, Heron must be of type BlueHeron.
    // ERROR: The argument type 'BrownBear<Heron>' cannot be assigned to the parameter type 'Bear<BlueHeron>'.
  }
}

class BrownBear<T> extends Bear<T> {
  final PuppyFn<T, dynamic> puppyFn;

  BrownBear(this.puppyFn) : super([]);

  Future<Null> fn(Context context) async {
    await puppyFn([context]);
  }
}

class Bear<T> {
  List<T> ts;

  Bear(List<T> ts) {
    this.ts = ts;
  }
}

abstract class PuppyFn<T, D> {
  Future<Iterable<T>> call(List<D> list);
}

class Puppy implements PuppyFn<Heron, Context> {
  @override
  Future<List<Heron>> call(List<Context> list) =>
      new Future.value(list.first.heron);
}

class Context {
  Heron get heron => new Heron();
}

class Whale<T> {}

class Bunny<T> {
  Whale whale;
  Bear<T> bear;
  Camel<T> camel;

  Bunny(Whale<T> whale, Bear<T> bear, Camel<T> camel) {
    this.whale = whale;
    this.bear = bear;
    this.camel = camel;
  }
}

typedef String Camel<T>(T item);

class Heron {}

class BlueHeron extends Heron {}

Analyzer says:
$ xcodebuild/ReleaseX64/dart-sdk/bin/dartanalyzer --strong e2.dart
Analyzing [e2.dart]...
[error] Could not infer type parameter T, Heron must be of type BlueHeron. (/Users/srawlins/code/dart-repo3/sdk/e2.dart, line 9, col 16)
[error] The argument type 'BrownBear<Heron>' cannot be assigned to the parameter type 'Bear<BlueHeron>'. (/Users/srawlins/code/dart-repo3/sdk/e2.dart, line 9, col 46)
2 errors found.

This might need to be split into 2 bugs, but these errors seem related.

Could not infer type parameter T, Heron must be of type BlueHeron.
So... is there a problem? A Heron is a BlueHeron. You apparently did infer it?

The argument type 'BrownBear<Heron>' cannot be assigned to the parameter type 'Bear<BlueHeron>'
It's not hard to see what its saying, in general. But it's really hard to find why the analyzer thinks that brownBear is a BrownBear<Heron>. I think it's inferred because of what Puppy implements...
Can the analyzer give more context on warnings like this one? I know that this is like... a big difficult area of compiler design (good error messages), but if we could just get a little closer.

This was of course so much more difficult in real life because each of these classes and abstract classes were declared in different files, so you have to switch between 7 different files just to get a handle on why the analyzer decided a type annotation evaluated to one thing rather than the other.

CC @keertip @dgrove

No triage?

@srawlins first off, thanks so much for filing this! That is a really excellent reproduction. The real world complexity in there serves as a great illustration.
The good news: we can and definitely will do better on error messages :)
The bad news: right now we're still working on finishing up the implementation, so error messages may be a bit rough for a bit. It's crucial we fix https://github.com/dart-lang/sdk/issues/25490 for example.
My suggestion with a "failed to infer" error like this is to try passing a generic type explicitly. In this case new Bunny<Heron> for example, that might lead to other errors so you can discover where the problem originates.
I'll definitely think on this, perhaps there's a way to do better here prior to #25490, but it might end up being a bit too much of a detour.

And perhaps in the meantime the error message should suggest something like "try passing a generic type argument explicitly"?

That would be good, although the suggestion ought to go in the correction message.

this is now fixed.


[5.1-04-24] Accelerate overlay

Cherry-pick of 5.1 changes from https://github.com/apple/swift/pull/24269 and https://github.com/apple/swift/pull/24311.

@swift-ci please test


PHOENIX-5630: MAX_MUTATION_SIZE_EXCEEDED and MAX_MUTATION_SIZE_BYTES_EXCEEDED SQLExceptions should print existing size

Hi @ChinmaySKulkarni , @yanxinyi  can you please review this patch ?

lgtm +1 @nsgupta1

LGTM +1
better to create a new JIRA that making the data type changes in another relevant place for consistency.

Thanks @mihir6692 and @yanxinyi, I added those data type changes in the same patch DEFAULT_MAX_MUTATION_SIZE is used as an integer only in other places.

Hi @mihir6692 @ChinmaySKulkarni  can you please merge the changes and close this PR ?


Refactor Test Results in CI

Currently there are two TestResults shown in CI for source-build

We should be consistent on if each test suite should be a separate test run or if they should be merged.  Currently the Tests category are all trx files while scenario tests is just the scenario-tests xml results file.

To my knowledge, they can't be combined because the test results are from different test runners.

[Triage] We agree that the tests would be best grouped by test project as it helps understand immediate where the test is defined.
Most test projects have numerous tests so having the intermingled is confusing.


Remove is:dm search suggestion for spectators

Typing is: in the search bar shows the following suggestion for spectators:

Since spectators do not have DMs, we should remove it, as we do for is:starred, etc.

@zulipbot claim


BUG: TESTIMONIALS Next/Previous button not in center and home page scrollbar hover color is changed to red.

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
I will fix hover on scrollbar color light green that used in other page.
Also make Next/Previous  button in center of card.

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Suchitra-Sahoo Please assign me this task !

Try to make the testimonials section responsive.

@Suchitra-Sahoo Sure 👍


How to retrieve tweets from a user ?

Hey guys, I'm new to Swifter. I really appreciate the hard work you have done to make this for us.
I already got the consumer key and secret key. But I don't know how to retrieve the tweets from a specific timeline (say: "microsoft" twitter account)
This is what I have done so far (I hope i'm on the right direction)
let swifter = Swifter(consumerKey: "consumerKey",
 consumerSecret: "secretKey",
 appOnly: true)

        swifter.getStatusesUserTimelineWithUserID("12345",
 count: 1,
 sinceID: nil,
 maxID: nil,
 trimUser: false,
 contributorDetails: false,
 includeEntities: false,
 success: { (statuses) in

     //What do I write here

            }) { (error) in

        }

PS: Is it possible to just add 1 example on how to retrieve simple JSON values (name, tweet, etc..) to the docs ? This would extremely helpful since I can learn a lot from just reading 1 example of code. Thank you

Hello! Thanks for your interest in Swifter. To know which values to get, check Twitter's REST API Documentation. Currently, Swifter is going through major transitions with the introduction of Swift 3, and those changes will be merged into the master branch once Swift 3 becomes publicly available (and out of beta).
Right now, getStatusesUserTimelienWithUserID: will return an array of JSONValue objects; each object in the array represent a tweet object retrieved from Twitter. To know how to get, say, the id of the Tweet, check the documentation on Tweet objects, which will show you that it's the id_str key. e.g.
// statuses is a Array<JSON>
if let tweetID = statuses[0]["id_str"].string {
  // ...
}

edit: I was writing this answer when @meteochu answered first, anyway, I believe this can add some more insights.
Hi @sohaeb , ask and it shall be given :smile:  :
you can find the example here.
Basically, statuses is an array of JSONValue:
each JSONValue is a parsable JSON structure via the JSON enum.
...I was going to write more but, with @meteochu answer, there's no need anymore!
If you have any other questions, we're here to help! :+1:

thanks you guys. This is what I was looking for


fix: Pass --paging=always to bat

This gets rid of a slightly annoying difference between files that fit
in the preview pane and ones that don't: hitting the scroll-preview
mappings would complain about a closed stream. Always using the pager
ensures there's always a process at the other end, even if asking it
to scroll doesn't actually do anything.

Yeah, that makes sense, thanks! I think we toggled that back and forth at one point, but I like it this way. Thanks!


Fix math department classes

The math department is complaining about rooms/times being wrong.

I have scraped the website they linked to and added them as overrides.

Yea the hope is that this is temporary, not permament. We really should instead finish our own backend that also uses data warehouse and doesn't have inaccurate information


Request for traditional Chinese characters wordlist

Hi,
In Taiwan they use traditional Chinese characters as distinct from simplified characters.
How can I implement traditional Chinese characters for the mneomonic seed in the copay app?
I found a traditional Chinese wordlist here:
https://raw.githubusercontent.com/bitcoin/bips/master/bip-0039/chinese_traditional.txt

copay app

This is not the repository for Copay.
We can merge the Traditional Chinese wordlist into our mnemonic repo, but Copay can not use it due to a limitation in Copay.
We had to choose one type of Chinese, and we chose simplified.
We are aware that traditional is used in other places like Taiwan and Simplified is used in China.
Until we can fix the issue, and we get someone to translate our entire Copay app into traditional, we can not support Traditional mnemonic phrases.
Simplified Chinese support will be included in the next release.

I'd be happy to help translate the entire Copay app into traditional Chinese, although not knowing what the limitation in Copay is, or whether it can be addressed is a major consideration.
Can you please tell me if that is a non-trivial issue?

Simplified Chinese support will be included in the next release.

This is great!
My wife just brought up an important point I didn't think about. The current wordlist consists of single Chinese characters, as you're likely already aware - is more like an alphabet to the Chinese than words.
A better approach would be to take the English wordlist, run it through Google Translate and use that.

Here are Chinese simplified and traditional wordlists that would better suit the purpose of mnemonics for the Chinese and Taiwanese people.
Simplified Chinese wordlist.pdf
Traditional Chinese wordlist.pdf

Actually we just realised a lot of the words need further review and translation. Will improve formatting too and update here.

please make any suggestions to the BIP39 Chinese wordlists here:
https://github.com/bitcoin/bips
The files you want to edit are under the following folder.
https://github.com/bitcoin/bips/tree/master/bip-0039
The basic requirements for the wordlist are as follows:

Must have exactly 2048 words separated by a LF line break (no trailing line break at the end)
Must be encoded in UTF-8 and normalized using NFKD
Strongly suggested to have unique characters to a reasonable extent at the beginning of the word. (ie. English only has 26 letters, so 2048 words with a unique first letter is impossible, so English uses the first 4 letters, which are all unique. Japanese has more letters, so we use the first 3 letters. I would recommend that even if you make multi-character words, make sure the first character of every word is unique, since your possibilities for one character is MUCH higher than 2048, it shouldn't be too hard)

Also, if you have any considerations for user input and output, add them to the following:
https://github.com/bitcoin/bips/blob/master/bip-0039/bip-0039-wordlists.md
(for instance: in Japanese, people who type using the hiragana alphabet will most likely be typing ideographic spaces, so I needed to tell developers that "be careful not to just split the string using a normal English space" One thing I could think of with Chinese is "users are not used to typing spaces, so remove all spaces before hashing the phrase" or something.)
When typing traditional Chinese on your phone or computer, what does a spacebar type?
Are Taiwanese users used to typing spaces between words?
Could you type some Chinese for me so I can see what type of space it uses?


Navigation property support

Hi,
Thanks for all your work.
Do you know a possibility to get navigation properties to work with HirachyId?
    class Patriarch
    {
        public HierarchyId Id { get; set; }
        public string Name { get; set; }
        public Patriarch Father{ get; set; }
    }

with
modelBuilder.Entity<Patriach>()
                .HasOne(x => x.Father)
                .WithMany()
                .HasForeignKey(x => x.Id.GetAncestor(1));

complains about the property expression.
The properties expression 'x => x.Id.GetAncestor(1)' is not valid. The expression should represent a simple property access: 't => t.MyProperty'. When specifying multiple properties use an anonymous type: 't => new { t.MyProperty1, t.MyProperty2 }'.
due to my limited knowledge about the ef core internals, I was not able to work out a solution on my own.
Thanks,
Robert

Hmm, that would require a new feature in EF Core. Today, I think the best you can do is to add another HierarchyId column with a CHECK constraint.
modelBuilder.Entity<Patriach>()
    .HasCheckConstraint(
        "CK_Patriarch_FatherId",
        "FatherId = Id.GetAncestor(1)");


Possibly wrote twice at addr AKA Too much music in same bank

Describe the bug
Too much music in one bank, music is only stored in banks 16 to 23, and then looped over with no regards for if they will fit.
To Reproduce
Steps to reproduce the behavior:

Add and use Tons of reasonably complex music, up to 40 tracks
Try to compile
Watch it recycle banks 16 - 23 after 8 tracks
If songs were too long/complex to fit in the same looped bank, you should see Wrote twice at addr error and failed compile.

Projects on discord under additional context.
Expected behavior
Wrote twice at Addr error also mentions "Possibly too much music data".
Music is compressed into banks in sequence, so space is not wasted or overflowed, and banks are expanded beyond 16-23 if required, or lower if not required.
Extra:
Music keeps at least some of the original file name for debug/identification purposes instead of random only.
Mod2GBT checks if there are unused patterns from trackers like milkytracker and warns?
(Mod2GBT update, latest mod2gbt is smaller in console logs too, will look into this)
Screenshots
If applicable, add screenshots to help explain your problem.

From Skittles REPRODUCIBLE PROJECT part 2
Platform (please complete the following information):

OS: [Windows 10]
App version [1.2.1]

Additional context
#267 Possibly wrote twice at addr
#147 Music with space in their name (unique ids, too many tracks, not as related)
User Skittles with the bug / project, part 1,
https://discordapp.com/channels/554713715442712616/570925559346102273/668196313854378056
The SFX hurt secretly had 17 patterns with data, despite only using pattern 3, this was going over the bank limit after combining, milkytracker did not remove the data but openMPT cleaned it out and got the project working again...
User Skittles WITH REPRODUCIBLE PROJECT part 2
https://discordapp.com/channels/554713715442712616/570925559346102273/668615020485148692
This is directly related, but fixed with openMPT on all songs, which removed enough unused patterns in some songs, to fit in the banks again.
lavallur user with the bug.
https://discordapp.com/channels/554713715442712616/585023554085715979/670435940925308947
They are using OpenMPT and have hit the limit, therefore cleaning is not a sustainable solution.

i have no idea what im doing or anything. coding is like trying to chip away at a brick wall for me lol help me pls ;-;
gb version 1.2.1
os windows 10 pro

It was indeed a too much music, to few banks issue.
Link to their project file. https://discordapp.com/channels/554713715442712616/570925559346102273/691429723665858590
I created a windows build of my new gbt wip branch, and upped the music banks to 16.
https://discordapp.com/channels/554713715442712616/570925559346102273/692182458485178381
https://drive.google.com/file/d/1u0qWurXW1t7J5zm2GF6h9RLMpblCbDhp/view?usp=sharing
I think exposing this to the options would be a good stopgap solution for now, and will work even if we don't change how music is sardine packed.
In other news,
Superdisk is investigating a converter for GBT mod files to their new, more advanced player format hUGE Tracker (uses a lot less data too, since you can reuse a channels pattern)
Not so sure what to do with my GBT upgrades right now, but might try to get them in anyway.

I can take a stab at exposing the max num banks in to settings (maybe in an Expert section*) if that's ok for Chris as a quick solution while he works on the current refactor.

calling it advance might confuse people into thinking those are options for GBA!

Working on modifying music bank allocation, just fs.fileread and write to change the bank, since music compile happens after bank data ptrs generation, will have to read and write that file with new banks after music compile too.
Already fitting more songs in less banks without issue, most of these are caused by a few big songs, and lots of little songs.
Song length is currently an estimate by taking the compiled file length divided by 5, so it will always over estimate, but that's not a bad thing as there's more data that gets bundled upon lcc link.
Related to the topic, @chrismaltby
At some point we swapped to uuid music names, but it shouldn't be any problem if naming starts from 101 right? The random names are way harder to debug, as files are processed alphabetically.
https://github.com/chrismaltby/gb-studio/commit/2f7d8f31de90f138bb12cbeaa85910fb95152667
dataName: 'music_${uuid().replace(/-.*/, "")}${index}'

dataName: (`music_track_`+ (index + 101))

Wohoo! This bug is fixed! 🎉 (tested on at least 3 projects with the same issue before)


Enables adding /image to vis_contents and makes client.images respect changes

Creates a temporary entity for the image, attaches the appearance to that.
Fixes #1422  by applying the same system to client.images
Minor concern is that entities are too expensive though.

Note: tested on paradise as AI, performance is great.

Can't replicate that weird effect at all. Can you still?

Can't replicate that weird effect at all. Can you still?

I cannot. Appears to be a one-off unrelated graphical glitch.


[SPARK-19082][SQL] Make ignoreCorruptFiles work for Parquet

What changes were proposed in this pull request?
We have a config spark.sql.files.ignoreCorruptFiles which can be used to ignore corrupt files when reading files in SQL. Currently the ignoreCorruptFiles config has two issues and can't work for Parquet:

We only ignore corrupt files in FileScanRDD . Actually, we begin to read those files as early as inferring data schema from the files. For corrupt files, we can't read the schema and fail the program. A related issue reported at http://apache-spark-developers-list.1001551.n3.nabble.com/Skip-Corrupted-Parquet-blocks-footer-tc20418.html
In FileScanRDD, we assume that we only begin to read the files when starting to consume the iterator. However, it is possibly the files are read before that. In this case, ignoreCorruptFiles config doesn't work too.

This patch targets Parquet datasource. If this direction is ok, we can address the same issue for other datasources like Orc.
Two main changes in this patch:

Replace ParquetFileReader.readAllFootersInParallel by implementing the logic to read footers in multi-threaded manner
We can't ignore corrupt files if we use ParquetFileReader.readAllFootersInParallel. So this patch implements the logic to do the similar thing in readParquetFootersInParallel.

In FileScanRDD, we need to ignore corrupt file too when we call readFunction to return iterator.

One thing to notice is:
We read schema from Parquet file's footer. The method to read footer ParquetFileReader.readFooter throws RuntimeException, instead of IOException, if it can't successfully read the footer. Please check out https://github.com/apache/parquet-mr/blob/df9d8e415436292ae33e1ca0b8da256640de9710/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java#L470. So this patch catches RuntimeException.  One concern is that it might also shadow other runtime exceptions other than reading corrupt files.
How was this patch tested?
Jenkins tests.
Please review http://spark.apache.org/contributing.html before opening a pull request.

Test build #70903 has finished for PR 16474 at commit 586b347.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test build #71053 has started for PR 16474 at commit d6878e1.

Test build #71055 has started for PR 16474 at commit 6b562eb.

Test build #71053 has finished for PR 16474 at commit d6878e1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

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

Test build #71055 has finished for PR 16474 at commit 6b562eb.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test PASSed.

ping @rxin I do address the previous comments. Can you review again?

Test build #71417 has started for PR 16474 at commit 261e1b5.

LGTM

Test build #71417 has finished for PR 16474 at commit 261e1b5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test PASSed.

thanks, merging to master/2.1!


Cannot find .bib files outside working directory

Hi: I'm a total noob; trying my best to describe the situation here.
I have test.bib at ~/Desktop/test.bib and in ~/Documents/test/test.bib
Running
pandoc --filter pandoc-citeproc --bibliography=~/Desktop/test.bib -o test.docx test.tex
returns
Could not find bibliography file: ~/Desktop/test.bib
But running
pandoc --filter pandoc-citeproc --bibliography=test.bib -o test.docx test.tex
in the working directory works beautifully.
Is there a way to read the file from a different location?

https://unix.stackexchange.com/questions/146671/does-always-equal-home/146697#146697
Try $HOME instead of ~.
+++ sjkiss [Nov 30 17 16:07 ]:

Hi: I'm a total noob; trying my best to describe the situation here.
I have test.bib at ~/Desktop/test.bib and in ~/Documents/test/test.bib
Running
pandoc --filter pandoc-citeproc --bibliography=~/Desktop/test.bib -o
test.docx test.tex
returns
Could not find bibliography file: ~/Desktop/test.bib
But running
pandoc --filter pandoc-citeproc --bibliography=test.bib -o test.docx
test.tex
in the working directory works beautifully.
Is there a way to read the file from a different location?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, [1]view it on GitHub, or [2]mute the
thread.
References

https://github.com/jgm/pandoc-citeproc/issues/310
https://github.com/notifications/unsubscribe-auth/AAAL5HicLPyaRa_UGYl2JWjPB1qMx4Vjks5s7tLFgaJpZM4Qwy7c


feat: Content License and Copyright holder as Footer

[params]
showFooterLicense = true
licenseType = "CC BY-SA 4.0"
copyrightYear = "2024"
copyrightHolder = "Arun Mathai"

Solves #25

Thank you for the pull request! I like the idea of your footer, but I think a more generic implementation would be better.
Something like:
[params]
showFooter = true|false // default to true
footerContent = "Custom MD footer content."

So basically the same we are doing for home intro content.
This would allow users to have a custom footer (something I am seeing a lot in the forks) and decide to hide it completely if needed.
Also, I don't like the idea of having two footer files, one with some logic would be more than enough.

Makes sense.

If you want to make those changes feel free to update the PR 👍

[params]
showFooter = true
footerContent = """
Hahahahah
"""
If showFooter is set to true and footerContent is not set, your default attribution is shown.
If showFooter is false, no footer is shown, not even the author attribution.

This looks good, but the showFooter param must default to true for this change to be backward compatible.
So something like: if the param is not set or it's true, then show the footer.

Lol. forgot about backward compatibility.  Glad to see you care about it :)
Here take a look
https://github.com/tomfran/typo/pull/24/commits/ef9948b2aee58dc785bfbb844f8e18d219b913fa


Example: SolidJS

Requests:

xinhash https://discord.com/channels/983865673656705025/983866416832864350/1037000851471995000

Hey @Manitej66
Given you raised this ticket a while back I was wondering how far you got and if I could take over if you hadn't gotten very far.

Hey @Errol-Hassall, are you using SolidJS as a static site, or are you looking to use Solid Start with SSR support?

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


Provide functions to send an Item a b

0.7.0 provides some functions to communicate through the API: https://hackage.haskell.org/package/wai-middleware-rollbar-0.7.0/docs/Rollbar-API.html


additive_functions_issue1

Hi @jstac , adding a file we need for re-linking to this respiratory.

OK, so what's happening here @Harveyt47 is that this code is now included in a code cell within the lecture, and the *.py file is no longer needed.
In particular, the AMF_LSS_VAR class is already embedded in the lecture.  But the text was never fixed to show this.
So what you need to do is get rid of this *.py file from the PR, and then just remove the links to it in the lecture.  Let me know if that's not clear.

Yes @shlff, this is a good strategy.  Thanks guys.  Please go ahead.

Thanks guys.


Non-existing translations (core)

These translations that this pack provides only exist here, not in EN.

core.forum.edit_user.activate_button
core.forum.edit_user.groups_heading
core.forum.edit_user.nothing_available
core.forum.edit_user.set_password_label
core.forum.edit_user.title

I guess they have been moved to another namespace.

There is actually more, the list is too long. Just use FoF Linguist to see what has no original translation in EN.

@qiaeru Yes I know that there is no impact. It's just that I saw them and thought that it would be good to let you know.

Thank you for that. 👍


openai.error.APIConnectionError: Error communicating with OpenAI: HTTPSConnectionPool

Describe the bug
import openai

# Set your API key
openai.api_key = 'sk...'  # I have filled in my own keys for this
# Example OpenAI Python library request
MODEL = "gpt-3.5-turbo"
response = openai.ChatCompletion.create(
    model=MODEL,
    messages=[
        {"role": "system", "content": "你是一个乐于助人的助手."},
        {"role": "user", "content": "咚咚."},
        {"role": "assistant", "content": "是谁？"},
        {"role": "user", "content": "橙."},
    ],
    temperature=0,
)

print(response)

I'm sure

My server is from the United States, there are no regional restrictions
I have tested several servers, but the result is the same

1. The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/work/code/github/image_ai/main.py", line 34, in <module>
    response = openai.ChatCompletion.create(
  File "/home/V01/extittivns03/.pyenv/versions/3.10.10/lib/python3.10/site-packages/openai/api_resources/chat_completion.py", line 25, in create
    return super().create(*args, **kwargs)
  File "/home/V01/extittivns03/.pyenv/versions/3.10.10/lib/python3.10/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create
    response, _, api_key = requestor.request(
  File "/home/V01/extittivns03/.pyenv/versions/3.10.10/lib/python3.10/site-packages/openai/api_requestor.py", line 216, in request
    result = self.request_raw(
  File "/home/V01/extittivns03/.pyenv/versions/3.10.10/lib/python3.10/site-packages/openai/api_requestor.py", line 528, in request_raw
    raise error.APIConnectionError(
openai.error.APIConnectionError: Error communicating with OpenAI: HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f4c743e5de0>: Failed to establish a new connection: [Errno 101] Network is unreachable')

2. The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "test.py", line 7, in <module>
    response = openai.ChatCompletion.create(
  File "/home/ubuntu/.local/lib/python3.8/site-packages/openai/api_resources/chat_completion.py", line 25, in create
    return super().create(*args, **kwargs)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create
    response, _, api_key = requestor.request(
  File "/home/ubuntu/.local/lib/python3.8/site-packages/openai/api_requestor.py", line 226, in request
    resp, got_stream = self._interpret_response(result, stream)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/openai/api_requestor.py", line 619, in _interpret_response
    self._interpret_response_line(
  File "/home/ubuntu/.local/lib/python3.8/site-packages/openai/api_requestor.py", line 674, in _interpret_response_line
    raise error.APIError(
openai.error.APIError: HTTP code 502 from API (
<title>502 Bad Gateway</title>

502 Bad Gateway

nginx

To Reproduce

run code

Code snippets
No response
OS
ubuntu 20.04 tls
Python version
python 3.8 3.10
Library version
openai-python V0.27.2

Hey @InfernalAzazel, thanks for writing in.
Unfortunately I'm not able to replicate this issue. I'd recommend you double check your network configuration for anything that might restrict access to our API.  If you have any details that might help me track down the source of the issue, I'd be happy to look again.

Hey @InfernalAzazel, thanks for writing in.
Unfortunately I'm not able to replicate this issue. I'd recommend you double check your network configuration for anything that might restrict access to our API. If you have any details that might help me track down the source of the issue, I'd be happy to look again.

I know the reason. The machine in my office is filtered. This is not a problem with the openai api.


new Rest service with characters out of a-z

I tried to create a rest service with a letter from the Spanish alphabet, "á", and the admin didn't allowed me

This repository has been closed and moved to laminas-api-tools/api-tools; a new issue has been opened at https://github.com/laminas-api-tools/api-tools/issues/57.


Fix error, when any plugin returns NoneType instead of number value.

We are using CouchDB 1.6.1 and /_stats returns json with null values, when value wasn't yet initialized. For example when you start couchdb and don't have opened any db yet, stats for opened database returns null.

Thanks! If they're coming across as null, I'd expect we can just move this to having a default of 0 instead of adding a couple lines of code. Not a big deal either way. I might change this prior to releasing the next version to reduce the code complexity (not that it's adding any real complexity).


Is there any way to assign ENTER on mice?

Using 0.5.1 and trying to assign enter/return on G600, but it's impossible to assign enter in macro mode. Is there any possible to add enter into fix button function option?

Maybe this the case with older Piper versions, but it is possible to assign enter in the macro creation dialog now.
You can also do this through ratbagctl (the command line utility for libratbag):
ratbagctl <device name> button <button index> action set macro KEY_ENTER


Yahoo email working wrong

I try verify email<EMAIL_ADDRESS>It return email valid.
But when i send email to this address, google response

Delivery to the following recipient failed permanently:
<EMAIL_ADDRESS>Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain yahoo.com by mta5.am0.yahoodns.net. [<IP_ADDRESS>].
The error that the other server returned was:
554 delivery error: dd This user doesn't have a yahoo.com account<EMAIL_ADDRESS>[-5] - mta1325.mail.gq1.yahoo.com

Yahoo accounts can be used for many other products than just Yahoo mail. That account exists, but may not have a mailbox. See this article for some of the services that people create yahoo account for.


How to set current date by default currently its showing of march 2017

As stated in the Readme and clearly visible in the sample app: the default selection is passed in as an argument to the newInstance method


Add instructions for installing h2o4gpu on AWS

I just documented this for sales engineering a couple days ago:
H2O4GPU Installation
This describes how to install H2O4GPU on a fresh AWS Ubuntu 16.0.4 GPU instance (tested on g3.4x, which has one Tesla M60).
NVIDIA CUDA:
Dependencies:
sudo apt-get update -y
sudo apt-get install -y gcc
sudo apt-get install -y make

NVIDIA CUDA 9.0 — check here for up-to-date links (note that, as of 03/01/18 H2O4GPU does not support CUDA 9.1).
wget https://developer.nvidia.com/compute/cuda/9.0/Prod/local_installers/cuda_9.0.176_384.81_linux-run
sudo sh cuda_9.0.176_384.81_linux-run

Agree to terms (press SPACE to page down) and install with all defaults.
Verify drivers installed:
nvidia-smi

Environment variables:
export CUDA_HOME=/usr/local/cuda
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CUDA_HOME/lib64/:$CUDA_HOME/lib/:$CUDA_HOME/extras/CUPTI/lib64

Python
To install Python3.6 via apt-get on Ubuntu 16.0.4:
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update -y
sudo apt-get install -y python3.6
sudo rm /usr/bin/python3
sudo ln -s /usr/bin/python3.6 /usr/bin/python3
sudo apt-get install -y python3.6-dev
sudo apt-get install -y python3-pip

H2O4GPU
Dependencies:
sudo apt-get install libopenblas-dev pbzip2

Get and install python package:
wget https://s3.amazonaws.com/h2o-release/h2o4gpu/releases/stable/ai/h2o/h2o4gpu/0.1-nccl-cuda9/h2o4gpu-0.1.0-py36-none-any.whl
pip3 install h2o4gpu-0.1.0-py36-none-any.whl

Try H2O4GPU:
python3
>>> import h2o4gpu
>>> import numpy as np
>>> X = np.array([[1.,1.], [1.,4.], [1.,0.]])
>>> model = h2o4gpu.KMeans(n_clusters=2,random_state=1234).fit(X)
>>> model.cluster_centers_
array([[1. , 0.5],
       [1. , 4. ]])

@ben-campbell Yep, will add that in. Thx!

@ben-campbell @navdeep-G do we really need to add this to the repo? The first and last paragraphs are pretty much repeating https://github.com/h2oai/h2o4gpu#requirements and https://github.com/h2oai/h2o4gpu#user-installation. If possible I'd like to keep OS specific instructions in this repo to the bare minimum (like sudo apt-get install libopenblas-dev pbzip2) as in the (hopefully) near future we want to make this package more generic (so it also works on Centos/RHEL and CPU only systems like macbooks) and we'd have to make such instructions all those setups. It's easier just to point to a packages website which details how to do it.
I'd prefer to have as few such tutorials as possible in the repo because from experience people don't really update them down the road.
If we really need it we can put it on our wiki somewhere.

@mdymczyk I feel it’s not a big deal to have in the repo. I already have it in a branch. I can maintain it if needed.

Maybe the q is why @ben-campbell had to make the instructions. Are we missing something?

i don't think it's necessary for the repo... It's kind of redundant, I agree.


⚠ Mobitopup has degraded performance

In 0779726, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 6565 ms

Resolved: Mobitopup performance has improved in 673e0b6.


Capability to change the watermark

User can now switch the watermark by typing in their desired one in the setting inside HUD :)
Also, I think the same capability comes with the HUD plugin but I couldn't get that to work personally so figured might aswell add the same thing to the client itself :D.

thanks


Android 4.1.2 bug

When I use this to check a single cert on Android 4.1.2, on several devices, I get an error "Attempted to send a second callback for ID: SSLCertificateChecker778333821":
D/CordovaWebViewClient( 4347): onPageStarted(file:///android_asset/www/index.html)
D/CordovaActivity( 4347): onMessage(onPageStarted,file:///android_asset/www/index.html)
D/CordovaWebViewClient( 4347): onPageFinished(file:///android_asset/www/index.html)
D/CordovaActivity( 4347): onMessage(onPageFinished,file:///android_asset/www/index.html)
D/CordovaActivity( 4347): onMessage(spinner,stop)
D/CordovaNetworkManager( 4347): Connection Type: wifi
D/CordovaNetworkManager( 4347): Connection Extra Info: null
D/CordovaNetworkManager( 4347): Connection Type: wifi
D/CordovaNetworkManager( 4347): Connection Extra Info: null
D/CordovaActivity( 4347): onMessage(networkconnection,wifi)
W/CordovaPlugin( 4347): Attempted to send a second callback for ID: SSLCertificateChecker778333821
W/CordovaPlugin( 4347): Result was: "Invalid action"

Haven't tried it, but there's some info here:
http://stackoverflow.com/questions/25483286/cordova-how-to-write-native-plugins-that-can-repeatedly-invoke-a-javascript-cal

Seems to be caused when the plugin calls con.connect(), which throws an exception, and eventually results in the above error.
It looks like the newest version fixes this by running it in a new thread. Does that sound right?

That's strange - the only way to get the 'invalid action' message is when the plugins execute method returns false which it only does when an invalid action is used, not when an exception is thrown.
Perhaps the doc isn't entirely correct here. How are invoking the plugin exactly? Perhaps I can reproduce it.

Looks like I was using version 3.2 of the plugin, which does return false on an exception.

Ah, that makes sense. I guess we can close this then.


How to interface Dynare's csminwel1 in RISE？

Hi Junior,
Recently, I have been trying to interface Dynare's csminwel1 to RISE. I have read all the related issues #12 , #13 , #21 , #26 , #132 , #152  you mentioned.
When I  run this code, the program reports an error. The error content is as follows:
Error using generic/estimation_wrapper/fh_wrapper
Too many output arguments.
Error in penalty_objective_function (line 34)
[fval, info, exit_flag, arg1, arg2] = fcn(x, varargin{:});
Error in csminwel1 (line 94)
[f0,cost_flag,arg1] = penalty_objective_function(x0,fcn,penalty,varargin{:});
Error in optimization.estimation_engine (line 194)
[fi,xh,gh,H,itct,fcount,retcodeh] = optimizer(fh,x0,H0,grad,crit,nit,0,Verbose,Save_files,vargs{:});
Error in generic/estimation_wrapper (line 109)
[x1,f1,H,issue]=optimization.estimation_engine(PROBLEM_,estim_blocks);
Error in generic/find_posterior_mode (line 89)
[x1,f1,H,issue,viol,obj,funevals]=estimation_wrapper(obj,'estimate',x0,lb,ub,funevals);
Error in generic/estimate (line 348)
[x1,f1,H,x0,f0,viol,funevals,issue,obj]=find_posterior_mode(obj,x0,lb_short,ub_short); %#ok
Error in dsge/estimate (line 47)
obj=estimate@generic(obj,varargin{:});
Error in howto (line 26)
sw_old=estimate(sw,'optimizer','csminwel1','optimset',myoptim);  %'optimizer':'fmincon' 'bee_gate' 'fminunc'

Dynare's csminwel1 optimization function in Dynare's Matlab optimization toolbox:
function [fh,xh,gh,H,itct,fcount,retcodeh] = csminwel1(fcn,x0,H0,grad,crit,nit,method,epsilon,Verbose,Save_files,varargin)

When I'm debugging this code，after debugging the penalty_objective_function，“[fval, info, exit_flag, arg1, arg2] = fcn(x, varargin{:});”,the "fcn function" points to the h_wrapper function，but  I know the fh_wrapper function（function[minus_log_post,retcode,max_pen]=fh_wrapper(xtilde)） is called correctly in the estimation_wrappe ,
so the input and output parameters are obviously not corresponding。
What specific details should I pay attention to when interfaceing Dynare's csminwel1 to RISE?
Looking forward to your reply, thanks in advance.

There is the original version of csminwel and the dynare adaptation. You
need to write a wrapping function that RISE will call and the wrapping
function in turn will call your version of csminwel.
Here is an example of a wrapping function to be used with the original
csminwel.
function [x1,f1,exitflag]=csminwelwrap(fh_handle,x0,lb,ub,options,varargin)
% translate the inputs from RISE into inputs for csminwel
%-------------------------------------------------------- nx=numel(x0); H0
= 1e-4*eye(nx); crit = 1e-7; nit = options.MaxIter; % using Matlab's
MaxIter, which RISE will send analytic_grad=[];
[fh,xh,gh,H,itct,funcCount,retcodeh] = csminwel(...
@myobjective,x0,H0,analytic_grad,crit,nit,varargin{:}); % translate the
outputs from csminwel into outputs for RISE
%---------------------------------------------------------- exitflag=1;
x1=xh; f1=fh; function fval=myobjective(x) % RISE expect your optimizer to
correctly handle parameter bounds % restrictions. If your optimizer does
not, you have to do % something about it yourself as I do in this
subfunction. if any(x<lb)||any(x>ub) fval=1e+12; else
fval=fh_handle(x,varargin{:}); end end end
On Wed, Dec 23, 2020 at 3:11 PM wangshaobobetter<EMAIL_ADDRESS>wrote:

Hi Junior,
Recently, I have been trying to interface Dynare's csminwel1 to RISE. I
have read all the related issues #12
https://github.com/jmaih/RISE_toolbox/issues/12 , #13
https://github.com/jmaih/RISE_toolbox/issues/13 , #21
https://github.com/jmaih/RISE_toolbox/issues/21 , #26
https://github.com/jmaih/RISE_toolbox/issues/26 , #132
https://github.com/jmaih/RISE_toolbox/issues/132 , #152
https://github.com/jmaih/RISE_toolbox/issues/152 you mentioned.
When I run this code, the program reports an error. The error content is
as follows:
Error using generic/estimation_wrapper/fh_wrapper
Too many output arguments.
Error in penalty_objective_function (line 34)
[fval, info, exit_flag, arg1, arg2] = fcn(x, varargin{:});
Error in csminwel1 (line 94)
[f0,cost_flag,arg1] =
penalty_objective_function(x0,fcn,penalty,varargin{:});
Error in optimization.estimation_engine (line 194)
[fi,xh,gh,H,itct,fcount,retcodeh] =
optimizer(fh,x0,H0,grad,crit,nit,0,Verbose,Save_files,vargs{:});
Error in generic/estimation_wrapper (line 109)
[x1,f1,H,issue]=optimization.estimation_engine(PROBLEM_,estim_blocks);
Error in generic/find_posterior_mode (line 89)
[x1,f1,H,issue,viol,obj,funevals]=estimation_wrapper(obj,'estimate',x0,lb,ub,funevals);
Error in generic/estimate (line 348)
[x1,f1,H,x0,f0,viol,funevals,issue,obj]=find_posterior_mode(obj,x0,lb_short,ub_short);
%#ok
Error in dsge/estimate (line 47)
obj=estimate@generic(obj,varargin{:});
Error in howto (line 26)
sw_old=estimate(sw,'optimizer','csminwel1','optimset',myoptim);
%'optimizer':'fmincon' 'bee_gate' 'fminunc'
Dynare's csminwel1 optimization function in Dynare's Matlab optimization
toolbox:
function [fh,xh,gh,H,itct,fcount,retcodeh] =
csminwel1(fcn,x0,H0,grad,crit,nit,method,epsilon,Verbose,Save_files,varargin)
When I'm debugging this code，after debugging the
penalty_objective_function，“[fval, info, exit_flag, arg1, arg2] = fcn(x,
varargin{:});”,the "fcn function" points to the h_wrapper function，but I
know the fh_wrapper
function（function[minus_log_post,retcode,max_pen]=fh_wrapper(xtilde)） is
called correctly in the estimation_wrappe ,
so the input and output parameters are obviously not corresponding。
What specific details should I pay attention to when interfaceing Dynare's
csminwel1 to RISE?
Looking forward to your reply, thanks in advance.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jmaih/RISE_toolbox/issues/155, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AATKBT5ZICQBPWQIZU6CJ6LSWH3CPANCNFSM4VHBEP5Q
.

There is the original version of csminwel and the dynare adaptation. You need to write a wrapping function that RISE will call and the wrapping function in turn will call your version of csminwel. Here is an example of a wrapping function to be used with the original csminwel. function [x1,f1,exitflag]=csminwelwrap(fh_handle,x0,lb,ub,options,varargin) % translate the inputs from RISE into inputs for csminwel %-------------------------------------------------------- nx=numel(x0); H0 = 1e-4eye(nx); crit = 1e-7; nit = options.MaxIter; % using Matlab's MaxIter, which RISE will send analytic_grad=[]; [fh,xh,gh,H,itct,funcCount,retcodeh] = csminwel(... @myobjective,x0,H0,analytic_grad,crit,nit,varargin{:}); % translate the outputs from csminwel into outputs for RISE %---------------------------------------------------------- exitflag=1; x1=xh; f1=fh; function fval=myobjective(x) % RISE expect your optimizer to correctly handle parameter bounds % restrictions. If your optimizer does not, you have to do % something about it yourself as I do in this subfunction. if any(x<lb)||any(x>ub) fval=1e+12; else fval=fh_handle(x,varargin{:}); end end end
…
On Wed, Dec 23, 2020 at 3:11 PM wangshaobobetter @.> wrote: Hi Junior, Recently, I have been trying to interface Dynare's csminwel1 to RISE. I have read all the related issues #12 <#12> , #13 <#13> , #21 <#21> , #26 <#26> , #132 <#132> , #152 <#152> you mentioned. When I run this code, the program reports an error. The error content is as follows: Error using generic/estimation_wrapper/fh_wrapper Too many output arguments. Error in penalty_objective_function (line 34) [fval, info, exit_flag, arg1, arg2] = fcn(x, varargin{:}); Error in csminwel1 (line 94) [f0,cost_flag,arg1] = penalty_objective_function(x0,fcn,penalty,varargin{:}); Error in optimization.estimation_engine (line 194) [fi,xh,gh,H,itct,fcount,retcodeh] = optimizer(fh,x0,H0,grad,crit,nit,0,Verbose,Save_files,vargs{:}); Error in generic/estimation_wrapper (line 109) [x1,f1,H,issue]=optimization.estimation_engine(PROBLEM_,estim_blocks); Error in generic/find_posterior_mode (line 89) [x1,f1,H,issue,viol,obj,funevals]=estimation_wrapper(obj,'estimate',x0,lb,ub,funevals); Error in generic/estimate (line 348) [x1,f1,H,x0,f0,viol,funevals,issue,obj]=find_posterior_mode(obj,x0,lb_short,ub_short); %#ok Error in dsge/estimate (line 47) @.*(obj,varargin{:}); Error in howto (line 26) sw_old=estimate(sw,'optimizer','csminwel1','optimset',myoptim); %'optimizer':'fmincon' 'bee_gate' 'fminunc' ------------------------------ Dynare's csminwel1 optimization function in Dynare's Matlab optimization toolbox: function [fh,xh,gh,H,itct,fcount,retcodeh] = csminwel1(fcn,x0,H0,grad,crit,nit,method,epsilon,Verbose,Save_files,varargin) ------------------------------ When I'm debugging this code，after debugging the penalty_objective_function，“[fval, info, exit_flag, arg1, arg2] = fcn(x, varargin{:});”,the "fcn function" points to the h_wrapper function，but I know the fh_wrapper function（function[minus_log_post,retcode,max_pen]=fh_wrapper(xtilde)） is called correctly in the estimation_wrappe , so the input and output parameters are obviously not corresponding。 What specific details should I pay attention to when interfaceing Dynare's csminwel1 to RISE? Looking forward to your reply, thanks in advance. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#155>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATKBT5ZICQBPWQIZU6CJ6LSWH3CPANCNFSM4VHBEP5Q .

Hi Junior, I modified the program code according to what you said, and the program run successfully, but the result is different from Dynare. Is there anything you should pay attention to during the initialization? This "epsilon" value, in particular, affected the results very much.
The process was used as follows
Dynare' result
parameters   prior mean   post. mean        90% HPD interval    prior       pstdev
beta         0.500       0.0014      0.0011      0.0017   beta        0.2000
delta        0.500       0.5224      0.1983      0.8378   beta        0.2000
Rise' result
beta     BETA            0.5        0.00140901272969809    0+1598.62057453798i
delta    BETA            0.5          0.437014490153793    0+5.15433756949308i

Looking forward to your reply, thanks  a lot.

There is the original version of csminwel and the dynare adaptation. You need to write a wrapping function that RISE will call and the wrapping function in turn will call your version of csminwel. Here is an example of a wrapping function to be used with the original csminwel. function [x1,f1,exitflag]=csminwelwrap(fh_handle,x0,lb,ub,options,varargin) % translate the inputs from RISE into inputs for csminwel %-------------------------------------------------------- nx=numel(x0); H0 = 1e-4eye(nx); crit = 1e-7; nit = options.MaxIter; % using Matlab's MaxIter, which RISE will send analytic_grad=[]; [fh,xh,gh,H,itct,funcCount,retcodeh] = csminwel(... @myobjective,x0,H0,analytic_grad,crit,nit,varargin{:}); % translate the outputs from csminwel into outputs for RISE %---------------------------------------------------------- exitflag=1; x1=xh; f1=fh; function fval=myobjective(x) % RISE expect your optimizer to correctly handle parameter bounds % restrictions. If your optimizer does not, you have to do % something about it yourself as I do in this subfunction. if any(x<lb)||any(x>ub) fval=1e+12; else fval=fh_handle(x,varargin{:}); end end end
…
On Wed, Dec 23, 2020 at 3:11 PM wangshaobobetter @.> wrote: Hi Junior, Recently, I have been trying to interface Dynare's csminwel1 to RISE. I have read all the related issues #12 <#12> , #13 <#13> , #21 <#21> , #26 <#26> , #132 <#132> , #152 <#152> you mentioned. When I run this code, the program reports an error. The error content is as follows: Error using generic/estimation_wrapper/fh_wrapper Too many output arguments. Error in penalty_objective_function (line 34) [fval, info, exit_flag, arg1, arg2] = fcn(x, varargin{:}); Error in csminwel1 (line 94) [f0,cost_flag,arg1] = penalty_objective_function(x0,fcn,penalty,varargin{:}); Error in optimization.estimation_engine (line 194) [fi,xh,gh,H,itct,fcount,retcodeh] = optimizer(fh,x0,H0,grad,crit,nit,0,Verbose,Save_files,vargs{:}); Error in generic/estimation_wrapper (line 109) [x1,f1,H,issue]=optimization.estimation_engine(PROBLEM_,estim_blocks); Error in generic/find_posterior_mode (line 89) [x1,f1,H,issue,viol,obj,funevals]=estimation_wrapper(obj,'estimate',x0,lb,ub,funevals); Error in generic/estimate (line 348) [x1,f1,H,x0,f0,viol,funevals,issue,obj]=find_posterior_mode(obj,x0,lb_short,ub_short); %#ok Error in dsge/estimate (line 47) @.*(obj,varargin{:}); Error in howto (line 26) sw_old=estimate(sw,'optimizer','csminwel1','optimset',myoptim); %'optimizer':'fmincon' 'bee_gate' 'fminunc' ------------------------------ Dynare's csminwel1 optimization function in Dynare's Matlab optimization toolbox: function [fh,xh,gh,H,itct,fcount,retcodeh] = csminwel1(fcn,x0,H0,grad,crit,nit,method,epsilon,Verbose,Save_files,varargin) ------------------------------ When I'm debugging this code，after debugging the penalty_objective_function，“[fval, info, exit_flag, arg1, arg2] = fcn(x, varargin{:});”,the "fcn function" points to the h_wrapper function，but I know the fh_wrapper function（function[minus_log_post,retcode,max_pen]=fh_wrapper(xtilde)） is called correctly in the estimation_wrappe , so the input and output parameters are obviously not corresponding。 What specific details should I pay attention to when interfaceing Dynare's csminwel1 to RISE? Looking forward to your reply, thanks in advance. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#155>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATKBT5ZICQBPWQIZU6CJ6LSWH3CPANCNFSM4VHBEP5Q .

Hi Junior, I modified the program code according to what you said, and the program run successfully, but the result is different from Dynare. Is there anything you should pay attention to during the initialization? This "epsilon" value, in particular, affected the results very much.
The process was used as follows
Dynare' result
parameters   prior mean   post. mean        90% HPD interval    prior       pstdev
beta         0.500       0.0014      0.0011      0.0017   beta        0.2000
delta        0.500       0.5224      0.1983      0.8378   beta        0.2000
Rise' result
beta     BETA            0.5        0.00140901272969809    0+1598.62057453798i
delta    BETA            0.5          0.437014490153793    0+5.15433756949308i

Looking forward to your reply, thanks  a lot.


Update deep merge() to work with an array argument

Had to pull these changes to a branch in my fork to avoid editing history of master. This should be the same as #140, which I will close out.

Sorry for the slow response @rtfeldman. Fixed the merge conflicts, looks like the failure of CI is still due to missing saucelabs credentials.

Great, thank you @lelandmiller!

Released as 6.1.4! 🎉

Thank you!


Add missing file to MANIFEST

Without landing-page.md, setup.py cannot be run by Python. This means landing-page.md should be included in the manifest, otherwise pip cannot install dash-bootstrap-components.

Oh good catch, thanks!

good catch

It wasn't very difficult -- pip install dash-bootstrap-components==0.2.6-rc4 prints out a long traceback.


Project is missing target

The Firebase Kotlin SDK project and its subprojects(modules) are missing the JVM target that is used for desktop development (using desktop compose ) . It means that this library isn't a true kotlin multiplatform library. Note : I have checked multiple modules for JVM target but it was not found. I would like to see this in the future

We can possibly look into open sourcing our jvm port of firebase-android but would be looking for maintainers

For the JVM port you are meaning using the Firebase Admin SDK right.
Note : I know this isn't the place but what do i need to add as a dependency in my project as its very unclear ( and also buildgraldes only contain android target)

No it's a port of the firebase-android-sdk to pure java
On Wed, 5 Apr 2023, 10:45 Deaths-Door, @.***> wrote:

For the JVM port you are meaning using the Firebase Admin SDK right.
Note : I know this isn't the place but what do i need to add as a
dependency in my project as its very unclear ( and also buildgraldes only
contain android target)
—
Reply to this email directly, view it on GitHub
https://github.com/GitLiveApp/firebase-kotlin-sdk/issues/362#issuecomment-1497210427,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKSQ3YX2TJEF3HM4KZ26BTW7U5L5ANCNFSM6AAAAAAWPY6ZKI
.
You are receiving this because you commented.Message ID:
@.***>


[Helm chart] Cert-manager's metrics are not collected by default

Describe the bug:

When I deployed Cert-manager by Helm chart, I want to set below parameters to monitor it by Prometheus. But I don't find the ServiceMonitor on Prometheus UI.
prometheus:
  enabled: true
  servicemonitor:
    enabled: true

Expected behaviour:

Succeed to monitor cert-manager.
Steps to reproduce the bug:

Step1. Deploy prometheus by https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack#kube-prometheus-stack. (I tested the new version and version 34.10.0 that both have same problem)
Step2. Deploy cert-manager by Helm chart and set
prometheus:
  enabled: true
  servicemonitor:
    enabled: true

Step3. Check the Service Discovery on Prometheus UI.
Anything else we need to know?:
I found that  the cert-manager ServiceMonitor has been created, but it's missing the release label that the default Prometheus serviceMonitorSelector is matching against, so prometheus-operator ignores it.
When I add label release: prometheus to cert-manager ServiceMonitor, it can be monitored by prometheus.
I guess the reason is related to Prometheus version. Which versions of prometheus can the current helm chart support?
Environment details::

Kubernetes version: v1.22.3
Cloud-provider/provisioner: none
cert-manager version: v1.9.1
Install method: helm

/kind bug

/remove-lifecycle stale

Some additional information for those who might come across this issue. What happens is:
The release: prometheus label mentioned in the original post is not really a "default" value, it's a custom value. When you install the kube-prometheus-stack chart, you give your install a name, so if you do something like helm install prometheus prometheus-community/kube-prometheus-stack - this is where the value for the label comes from. So if you install it with a different name, for example: helm install otherprom prometheus-community/kube-prometheus-stack then your label (on the ServiceMonitor) would need to be release: otherprom. So the cert-manager chart cannot set this for you by default, as they don't know the name you will be using.
They do have a solution though. The cert-manager chart has this: prometheus.servicemonitor.labels field. You can use it during the cert-manager installation to specify the correct label.
Hope this helps another newbie like myself. 🍻


Feature Support hll and count for materialized index.

Proposed changes
This pr add rewrite for HLL and count for materialized index.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.64 seconds
load time: 637 seconds
storage size:<PHONE_NUMBER>5 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221222081303_clickbench_pr_67141.html


Emoji are not displayed with FontWeight.bold

Steps to Reproduce
Set FontWeight.bold to Text's style. Emoji are not displayed.
void main() {
  runApp(new MaterialApp(
    home: new Scaffold(
      appBar: new AppBar(
        title: const Text('Emoji'),
      ),
      body: new Container(
        padding: const EdgeInsets.all(20.0),
        child: new Column(
          children: <Widget>[
            new Text('normal 😀 💪 emoji'),
            new Text('bold 😀 💪 emoji',
              style: const TextStyle(fontWeight: FontWeight.bold)),
          ],
        ),
      ),
    ),
  ));
}

Flutter Doctor
[✓] Flutter (on Mac OS X 10.12.6 16G29, locale ja-JP, channel master)
    • Flutter at /Applications/flutter
    • Framework revision 79fbf8bb03 (4 hours ago), 2017-10-18 20:55:00 -0700
    • Engine revision 7c4142808c
    • Tools Dart version 1.25.0-dev.11.0

[✓] Android toolchain - develop for Android devices (Android SDK 26.0.1)
    • Android SDK at /Users/najeira/Library/Android/sdk
    • Platform android-26, build-tools 26.0.1
    • ANDROID_HOME = /Users/najeira/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] iOS toolchain - develop for iOS devices (Xcode 9.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.0, Build version 9A235
    • ios-deploy 1.9.2
    • CocoaPods version 1.2.1

[✓] Android Studio (version 2.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] IntelliJ IDEA Ultimate Edition (version 2017.2.1)
    • Flutter plugin version 16.0
    • Dart plugin version 172.3544.34

Duplicate of https://github.com/flutter/flutter/issues/11108


Where can i see the error codes

Hi,
the error codes you are referring to where are they shown?
eventviewer?
thanks,
Peter

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

ID: 5bb8312c-c6d2-d435-15e0-f759234e5a30
Version Independent ID: 4df70af1-b4d6-735d-215a-011a18712529
Content: Troubleshoot error codes for the Azure MFA NPS extension
Content Source: articles/active-directory/authentication/howto-mfa-nps-extension-errors.md
Service: active-directory
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@pekaynz Thanks for your feedback! We will investigate and update as appropriate.

@pekaynz You need to examine the NPS and AzureMfa Event logs -
For NPS logs look into Event Viewer under Custom Views \ Server Roles \ Network Policy and Access Services on the server where the NPS Extension is installed.

AzureMFA event logs are located under Applications and Services Logs\Microsoft\AzureMFA

@pekaynz We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

This information needs to go into the main area of documentation content.

@SaurabhSharma-MSFT :we are trying to pull this events into log analytics. can you please provide how we can monitor these logs.

@pekaynz I added the log location to the article in the intro. It will publish tomorrow. https://github.com/MicrosoftDocs/azure-docs-pr/pull/57935


Build java-test directly rather than depending on release asset

Fixes #3036
Mason can't update to vscode-java-test > 0.39.0 because vscjava.vscode-java-test-XX.vsix is no longer included in the release assets.
microsoft/vscode-java-test#1594 instructs users to build it themselves by following their GitHub Workflow script. Specifically, the command npm run build-plugin generates all of the .jar files in the server/ directory.
Unfortunately, this directory is different than extension/server/. This would break pretty much every plugin depending on the location of those .jar files.
I can only think to add additional build.run steps to move to the expected directory in a platform-independent way. I'm not sure if that's desired/necessary, or maybe there's an existing way to correct this behavior? I tried exporting to the correct share/ directory, but the plugin I've been testing with, LazyVim, depends on the install location not the share location.
Would appreciate some guidance here!

Any updates on this ?

Thanks for the PR! This introduces a number of external dependencies (node & npm being the most obvious ones). I'm not sure what the build-plugin script does entirely but I believe it simply builds things via maven. Microsoft seems to have removed assets from multiple of their projects, so java-test is not the only package that is unable to upgrade currently. I've been meaning to host built assets for these projects, probably through something similar to https://github.com/mason-org/julia-lsp. Surfacing these build commands directly to users will definitely cause issues and is a significant source of issue reports which is why I'm not keen on merging this as-is.
As for the share files, as long as they are in the same location as before within the share/ directory it would not be a breaking change. I believe it should be:
share:
  java-test/: server/

In the meantime, if you want to access this particular version of the package definition so that you can upgrade it, you can clone @brianrodri's fork and check out the fix-java-test branch and then configure Mason to source packages locally from your file system:
require("mason").setup {
  registries = {
    "file:~/path/to/mason-registry"
  }
}

Another option would be to add this package.yaml to your Neovim config by placing it in ~/.config/nvim/packages/java-test/package.yaml and then configuring Mason like so:
require("mason").setup {
  registries = {
    "file:" .. vim.fn.stdpath("config"),
    "github:mason-org/mason-registry",
  }
}

This way you can host your own package overrides inside your own Neovim config and version them accordingly.

@williamboman I tried your second proposed workaround but I get:
mason.nvim  ERROR Unknown registry type "file": "file:/home/xxxxx/.config/nvim"
Looking at the mason code, it seems that only the types "github" and "lua" are supported.
Is there a way to add a local registry as you suggested?
I think this would generally be very useful, especially if someone wants to contribute to the registry and test changes locally first. Or how would one normally test changes other than forking the registry?

Hello. I have created a workflow that release build artifacts on new release of java-test. This is daily checking to see if there are new relea are available in the original project that's not available in the current releases.
NOTE that 0.40.1 release fail to build so at the moment I have used main branch to release the build artifacts.
https://github.com/nvim-java/vscode-java-test-releases
I have a custom mason registry to use the releases from this here
https://github.com/nvim-java/mason-registry
Adding the registry to mason & Mason should to the job. MasonInstall<EMAIL_ADDRESS>should install the newest version.
{
	'williamboman/mason.nvim',
	opts = {
		registries = {
			'github:nvim-java/mason-registry',
			'github:mason-org/mason-registry',
		},
	},
}

See https://github.com/mason-org/mason-registry/pull/3348#issuecomment-1871736659


Add functionality to set/check parameters in PSet

If process/module.dataset.dataTier or process.output.dataset.filterName aren't set in a pset, the agent blows up spectacularly later. I've got code to twiddle the process to add sensible defaults to those fields, but I have to refactor it a sensible way from some private analysis code to ConfigCache (well, really psettweaks). Marco and Daniele were asking about this

PSet stuff, I guess we can close this one @ticoann

This may be related to CRAB3-WMAgent.


Add types TimeOnly, DateOnly and DateTimeOffset to DefaultConverter

Feature request type
Enhance component
Component name
DefaultConverter
Is your feature request related to a problem?
TimeOnly - currently the Time Picker works with TimeSpan type, but the documentation details at length why TimeOnly may be better choice.
DateOnly - the documentation  also details why DateOnly may be a better choice than DateTime where a date isn't associated with a particular time (e.g. birth dates, hire dates).
DateTimeOffset - this fulfils the scenario with the DateTimeLocal input type where you want to record the time zone with the date-time. If a user enters a date-time in Tashkent, it's important that someone in Los Angeles knows precisely what that time represents; similarly, the representation of a New York time in Europe should be the time the event is actually happening. It simply means taking into account the user's local time zone both for serialization and deserialization, and is relatively simple to implement.
Describe the solution you'd like
Extra checks on DefaultConverter, with tests. Can pull if you think it's a good idea.
I haven't tested, but both DateOnly and TimeOnly should work as T alternatives to DateTime and TimeSpan. Currently, DateTimeOffset is only relevant to the DateTimeLocal input, but again should be a straightforward change of T.
Have you seen this feature anywhere else?
No response
Describe alternatives you've considered
No response
Pull Request

[X] I would like to do a Pull Request

Code of Conduct

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

Digging a bit deeper, it seems the TimePicker and DatePicker are hard-coded to DateTime? and TimeSpan? - I don't think there's a way to allow the extra types without adding a T parameter, which would break current implementation.
I still think this is worth doing. There's a DateConverter and NullableDateConverter, which might be a good place to start, though neither seem used anywhere.

I just want to pile onto this feature a little bit. I created a custom component that is based on some work that was posted in another issue (#1095) It seems to work well for DateTimeOffset, and I even made a version that ties into DateOnly for the DatePicker. I did the same for TimeOnly, but it would be really nice if the controls built into MudBlazor could support these types.

It looks like it's impacting any input control used with DateTimeOffest. In my case, I'm using MudTextField and it just fails to render anything.

Hello from 2023! Wait support types in .NET 7.

Any progress on adding support for DateOnly and Timeonly?

It looks like it's impacting any input control used with DateTimeOffest. In my case, I'm using MudTextField and it just fails to render anything.

It's been a long time, but do you remember if you found a solution back then?


Subscription to topics with regex not working for non-persisten topics

Messages on non-persistent topics are not received when using a regex subscription.
This problem is encountered when using a Pulsar IO custom connector (sink).
When using persistent topics the subscription is working as expected
Expected behavior
Records are received when subscribing to regex topics.
Additional context
Issues #2009
https://github.com/apache/pulsar/issues/2009
Issues #2025
https://github.com/apache/pulsar/issues/2025
Does not solve this problem
@merlimat @sijie

@itaross Can you provide more details about the bug? what version are you using and how to reproduce it. This will help to troubleshoot this issue.

I am currently using version 2.5.1
I think you can reproduce it even with a builting connector.
Create it from the coommand line, using --topics-pattern and use a non-persistent:// based pattern.
You will see that no data is received in the write method.
This has been highlighted also in the previous cited issued, but it has not been addressed in sinks. Everything works if you you use persistent topics.

@codelipenghui have you been able to reproduce? This is something that I think has never worked, but very useful

@codelipenghui have you been able to reproduce? This is something that I think has never worked, but very useful

Can you provide a way to reproduce? In functions, sinks and sources, --topics-pattern will be deprecated, can you use --inputs replace it?

@codelipenghui have you been able to reproduce? This is something that I think has never worked, but very useful

Can you provide a way to reproduce? In functions, sinks and sources, --topics-pattern will be deprecated, can you use --inputs replace it? [--input] and [--topic-pattern] are mutually exclusive.

@wolfstudy what you are referring to is probably this line https://github.com/oncodeit/pulsar/blob/71b3819bfc11afe0f0da19df0a19e3b7a05988c5/pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdSinks.java#L258
but this involves only the name of the pattern parameter
To reproduce: take any connector from Pulsar IO, a sink in this case.
https://archive.apache.org/dist/pulsar/pulsar-2.5.1/connectors/
Follow these steps: https://pulsar.apache.org/docs/en/standalone/#install-builtin-connectors-optional
Launch the connector with:
./pulsar-admin sinks create --tenant public --namespace default --name test-sink --sink-type jdbc  --sink-config-file <the yaml config file>  --topicsPattern "persistent://public/default/.*"

content of the yaml:
{
    "userName": "root",
    "password": "jdbc",
    "jdbcUrl": "jdbc:mysql://<IP_ADDRESS>:3306/pulsar_mysql_jdbc_sink",
    "tableName": "pulsar_mysql_jdbc_sink"
}
```

then retry using:
```
./pulsar-admin sinks create --tenant public --namespace default --name test-sink --sink-type jdbc  --sink-config-file <the yaml config file>  --topicsPattern "non-persistent://public/default/.*"
```
You will notice that the connector will now works.

I posted this example with jdbc/mysql but you can try with anything you prefer, the behaviour is the same.

Hi @wolfstudy, any update on this? May I help with this?


Broken link in concept page about Operators

This is a Bug Report

Problem:
In the What's next section of the Operator pattern concept page there is a link to CoreOS' original article about the Operator pattern.
Following a series of acquisitions it looks like that article is no longer published. I couldn't find a current URL for it.
Proposed Solution:
Update the link to point at https://web.archive.org/web/20170129131616/https://coreos.com/blog/introducing-operators.html and mention in the text that this is archived from the original.
Page to Update:
https://kubernetes.io/docs/concepts/extend-kubernetes/operator/
Additional Information:
To edit via GitHub web interface: _https://github.com/kubernetes/website/edit/master/content/en/docs/concepts/extend-kubernetes/operator.md_
/kind bug
/priority backlog
/language en
/triage accepted
/good-first-issue

I would like to take this one. This will be my first time contributing to repo, so I might take a while.

/assign

Fixed in https://github.com/kubernetes/website/pull/26651
/close


Support Honeywell L5100-WiFi

Merged! Thanks! I'll update the package

Package is updated on pypi https://pypi.python.org/pypi/total-connect-client/0.17


On scroll event

There is a problem with the CSS positioning in sidebar. If you want to create an scroll listener the callback function won't be triggered.

Correct. I had to cancel the vertical scrolling when you're dragging the sidebar horizontal to prevent user experience.

So maybe you can expose callback prop on the sidebar component

You should be able to add an event listener on your own component that you mount in the sidebar.

Yes, I did that, but at least for me it feels and looks little bit hacky


LiveView Crashes Homebridge

Plugin v3.5.16
Camera XT2
Issue: Liveview crashes homebridge.
Logs:
LiveView Stream: immis://<IP_ADDRESS>:443/ZUvX-uuGH7thyqTf__IMDS_890261671?client_id=46
listening on <IP_ADDRESS>:34167
client connected from <IP_ADDRESS>:48316
[11/10/2020, 09:40:31] TypeError: console.tls is not a function
at Server.connectionListener (/usr/local/lib/node_modules/homebridge-blink-for-home/src/proxy.js:27:21)
at Server.emit (events.js:315:20)
at TCP.onconnection (net.js:1555:8)
[11/10/2020, 09:40:31] Got SIGTERM, shutting down Homebridge...

another embarrassing typo. fixed.


Cow: Watch collegedunias.com

Cow requests the watch of the watch_keyword collegedunias\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

collegedunias\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


Modal should trap focus

version v4.0.1
components: Modal

Steps to reproduce issue
Open modal and hit tab. Focus should stay in the modal. You should not be able to focus on the element behind the modal/backdrop.
https://reactstrap.github.io/components/modals/
http://v4-alpha.getbootstrap.com/components/modal/

Safari on mac OS Sierra shows the problem.
With Chrome, you can't focus on anything behind the modal.  But it tabbing does take you off to the Window elements. So it isn't as bad.

With Chrome, you can't focus on anything behind the modal.

Chrome (65 on Linux, at least) does allow you to focus on elements behind the modal, but you have to tab through the URL bar first.
On the reactstrap demo page linked above, clicking "launch modal" and then pressing tab-tab-tab-tab-tab-esc-tab will put the focus onto the first clickable element on the page, the "Reactstrap" link behind the modal. (The "esc" dismisses the URL bar autocomplete). Subsequent tabs will navigate through the component menu on the right-hand-side of the page.


[1.20.1] Storage Drawers not holding (some) Mob-drops to capacity with upgrades

DO NOT REPORT AN ISSUE IF YOU HAVEN'T TESTED THE ISSUE WITH THE LATEST VERSION IN CURSEFORGE
Functional Storage Version: 1.2.3 (Issue not in the 1.2.4 changelog) also 1.2.4 (checked in solo world)
Titanium Version: 3.8.22
Crashlog If Applicable (Upload to pastebin/gist):
Cannot place any more slimeballs in any 1x1 or 2x2 drawer past numbers around this amount (some 2x2's stop around 700, some around 900). Not sure what's going on but I'm pretty sure this isn't intended.
I checked with cobblestone and it seems fine, just weirdly slimeballs. Same occurs with spidereyes after checking. The issue might be mob-drop related.
Edit: Rotten flesh is fine, so are eggs. After waiting a bit I got one of the drawers to accept more slimeballs, and then it went back to the state of not accepting any more. This seems to actually be on some sort of cycle. I've even got one stuck at 64 slimeballs and i cannot place more in until the "cycle" goes back to allowing me to place them there.

This is in the direwolf20 pack so I decided to post this before deciding to completely update the pack and server i host myslef.

Are the items in the drawers or the ones you trying to insert have random nbt?

Are the items in the drawers or the ones you trying to insert have random nbt?

I don't believe they do, I haven't messed with the slimeballs. The same slimeballs that couldn't be placed into a drawer at one point could be at a later point, again only up to a certain value before it stopped allowing more to be placed in.

@

Are the items in the drawers or the ones you trying to insert have random nbt?

Checking more into this, yes something is adding an nbt tag to these items. They

stacked in the AE storage system i had setup and apparently pulled out first. After looking through the tags both in my server and on a test world (forgot about f3+h) and checking the data I resulted in this:
Server, slimeballs with issues:

local test slimeballs no issues:

Problematic nbt tag:

So yes you were right.


Graphical installer omits LVM LV creation (1.0.20211104)

In the Partition configuration, to do a standard LVM layout you go into "Manual" mode and can create a LVM PV. Unfortunately there's then no option to create a LV inside the PV, and the installer cannot continue as your only options are to abort the installation or to step back out of the partitioning section since there's not yet a root filesystem available to install to.
As an aside, there's also no support for the standard xfs filesystem.
I imagine both omissions are due to CBL-Mariner being targetted at ephemeral containers and so persistent storage isn't a concern for the usual use case.
For system security and availability reasons, it's standard practice to break the filesystem into multiple partitions but due to x86 BIOS limitations, you can't have enough (max 4) without using LVM, with two being taken for UEFI and boot. Consider std FHS layout:
/ <-- read-only - binaries/libs required for system bootstrap (init stage 1/2)
/boot <-- read-only
/boot/efi <-- read-only (required for UEFI)
/usr <-- read-only binaries/libs required for system applications (init stage 3)
/home <-- read/write nodev nosuid
/var <-- read-write,nodev,nosuid
/var/tmp <-- read-write, nosuid
/var/log <-- read-write, nodev, nosuid
swap
(/dev, /tmp, /sys, /proc are ephemeral and handled by their respective devfs, tmpfs etc at runtime)
This is a generic template with the only real variables being the size given to each partition, and what filesystem is appropriate for the use case (IoT v mobile v metal v virtual). Unfortunately a form of laziness/ineptitude has leaked in where predominately Windows people would just think root filesystem = C: and therefore lets just have one big / drive- this would fit into the 4 standard partition limit, but of course leave the system open to a lot of denial of service and other security issues trivially avoided by configuring Windows systems like Windows and Linux systems like Linux.

I have never in my life encountered any Linux distro that mounts /usr let alone / as read-only

Thank you for your proposal. However this is not a supported configuration for Mariner at this time.


Dark background compatible logos?

the GRSS and DS logos on this page have grey boxes on dark background:

This requires being supplied with either a png that has transparency in those locations or an SVG.

I was wrong this is driven by the Jupyterbook stylesheet, the PNGs are correctly made.
The css can be overwritten here, but we need to know how the style sheet background color is referenced.
https://jupyterbook.org/en/stable/content/figures.html


Parameter optimization

Hello!
Can you please describe a little bit the chroma and luma tuning and the best values for them? Thank you!

Are you referring to tuning the smoothness in the guided filter?
The values depend on your task and on how noisy the reference image is.
You can separate the desired smoothness based on chroma and luma and the values can be different if the noise in the guide is different.
As noted in the supplementary (https://arxiv.org/pdf/2006.10172.pdf) we used 0.01, but for yourtask the values may be different.

Yes, I am referring to tuning the smoothness.

Closing this for now. LMK if you have further questions.

Closing this for now. LMK if you have further questions.


Attempted to call function "next6050" from namespace "Flag"

I cloned new platform project and I want to install it but I am getting this error
PHP Fatal error:  Uncaught Symfony\Component\Debug\Exception\UndefinedFunctionException: Attempted to call function "next6050" from namespace "Flag". in /app/platform/src/Core/Content/Content.php:38
My settings
npm -v 6.14.5
docker -v 19.03.8, build afacb8b

I am also using docker-sync
const:
  DOCKER_SYNC_ENABLED: true

Can someone help me?

rm -rf vendor composer.lock
And do again composer install

@shyim I made it but I am getting error
Loading composer repositories with package information
Updating dependencies (including require-dev)
Killed

something is killing the process. I don't know your env

@shyim my env when I ran composer diagnose
appuser@e77eed2e4cdf:/app$ composer diagnose
Checking composer.json: WARNING
require.ocramius/package-versions : exact version constraints (1.4.0) should be avoided if the package follows semantic versioning
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking github.com rate limit: OK
Checking disk free space: OK
Checking pubkeys:
Tags Public Key Fingerprint: 57815BA2 7E54DC31 7ECC7CC5 573090D0  87719BA6 8F3BB723 4E5D42D0 84A14642
Dev Public Key Fingerprint: 4AC45767 E5EC2265 2F0C1167 CBBB8A2B  0C708369 153E328C AD90147D AFE50952
OK
Checking composer version: You are not running the latest stable version, run `composer self-update` to update (1.9.3 => 1.10.6)
Composer version: 1.9.3
PHP version: 7.2.9 - Package overridden via config.platform (actual: 7.2.28)
PHP binary path: /usr/local/bin/php

.env
# This file is a "template" of which env vars need to be defined for your application
# Copy this file to .env file for development, create environment variables when deploying to production
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration

###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=8583a6ff63c5894a3195331701749943
APP_URL=http://localhost:8000
#TRUSTED_PROXIES=<IP_ADDRESS>,<IP_ADDRESS>
#TRUSTED_HOSTS=localhost,example.com
###< symfony/framework-bundle ###

###> symfony/swiftmailer-bundle ###
# For Gmail as a transport, use: "gmail://username:password@localhost"
# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode="
# Delivery is disabled by default via "null://localhost"
MAILER_URL=smtp://mailhog:1025
###< symfony/swiftmailer-bundle ###

INSTANCE_ID=

DATABASE_URL=mysql://app:app@mysql:3306/shopware

COMPOSER_HOME=/Users/filip/.composer

BLUE_GREEN_DEPLOYMENT=1

SHOPWARE_ES_HOSTS=elasticsearch:9200
SHOPWARE_ES_ENABLED=0
SHOPWARE_ES_INDEXING_ENABLED=0
SHOPWARE_ES_INDEX_PREFIX=sw

SHOPWARE_HTTP_CACHE_ENABLED=0
SHOPWARE_HTTP_DEFAULT_TTL=7200
DOCKER_SYNC_ENABLED=1
USER_ID=502
GROUP_ID=20

FEATURE_NEXT_516=1

I just rebuild complete Docker and now it's working.


Access a VM from Hyper V Server directly?

Is it possible to create or operate a virtual machine directly from the device where Hyper V Server is installed?

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

Short answer: Yes. (but it depends on what you mean by "operate")
If you are running a "Server Core" on the host, you might want to take a look at the Hyper-V PowerShell module: https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/try-hyper-v-powershell