Incorrect ZeroPadding before MaxPool2D in keras' resnet

Hi,
I've noticed that the implementation of resnet networks in keras introduces a ZeroPadding layer before the initial MaxPool2D 3x3 stride 2:
https://github.com/tensorflow/tensorflow/blob/204082475214b3f08d1301998780592b53076951/tensorflow/python/keras/applications/resnet.py#L161
I don't think this is correct. Zero is not a neutral element for a MaxPool2D operation. The input values at the edges could be negative.
I believe the intention of that zero padding layer is what would be correctly represented as SAME padding for the MaxPool2D directly. Note that the padding layer is also adding padding elements to the right and bottom edges of the input that the 3x3 stride 2 MaxPool2D operation won't ever use if the input is even size as I believe it commonly is.

Hey! here's a solution I think that can be implemented .

-: 78ce835ebb152febf280cfc0fa46de791de57eb1

Here's a pr in eras repo as i am unable to find keras/application on the tensorflow repo .
-:Update resnet.py #1

In the PR-I've changed the pool1_pad layer's padding to (1, 0) for the right and bottom edges. This will ensure that the padding is added only on the top and left sides, which compensates for the even-sized input.
I've changed the MaxPooling2D layer's padding to 'valid', which is equivalent to "SAME" padding in this context because of the additional padding added by pool1_pad.

I can't find the pr you're referring to.
In any case, if I understood you correctly, removing the right and bottom padding would only avoid wasteful addition of elements that won't be used.
The main issue was that a value of zero is not correct for padding the input of a maxpool layer with signed type. It should be padded with the minimum representable value of the type or just use same padding and avoid the pad layer if supported.

Hi, the source for the keras code is now github.com/keras-team/keras and soon github.com/keras-team/keras-core.
Actually keras.applications is in maintenance mode. users should prefer the implementations in github.com/keras-team/keras-cv.
Either way, if this issue still exists, please re-raise it on the Keras repo(s).


Loader Messages

List of loader Messages during Wallet Initialization:

heading: 'Bootstrapping Accounts',
text: 'Hexa has a multi-account model which lets you better manage your bitcoin (sats)',
subText: '',

heading: 'Filling Test Account with test sats',
text: 'Preloaded Test Account is the best place to start your Bitcoin journey',
subText: '',

heading: 'Generating Recovery Keys',
text: 'Recovery Keys help you restore your Hexa wallet in case your phone is lost',
subText: '',

heading: 'Manage Backup',
text: 'You can backup your wallet at 3 different levels of security\nAutomated cloud backup | Double backup | Multi-key
backup',
subText: '',

heading: 'Swan Bitcoin',
text: 'Register with Swan Bitcoin to get $10',
subText: '',

heading: 'Level 1 - Automated Cloud Backup',
text: 'Allow Hexa to automatically backup your wallet to your cloud storage. It ensures you can easily recover your wallet in case your phone gets lost',
subText: '',

heading: 'Level 2 - Double Backup',
text: 'Starting to hodl sats and bitcoin? Ensure that you backup your wallet atleast to Level 2 backup called Double Backup',
subText: '',

heading: 'Level 3 - Multi-key Backup',
text: 'For hardcore Bitcoiners who understand Bitcoin, stack large amounts of sats or bitcoin and care for utmost security of their wallet',
subText: '',

List of loader Messages during Login:

heading: 'Non-custodial buys',
text: 'Get sats directly in your wallet with compatible exchanges vouchers',
subText: '',

heading: 'Friends & Family',
text:
'Add contacts to Hexa and send sats w/o asking for address every time',
subText: '',

heading: 'Hexa Savings Account',
text: 'Don’t forget to set up your 2FA code on an authenticator app',
subText: '',

heading: 'Donation Accounts',
text:  'Start receiving donations directly in your Hexa Wallet, from anywhere in the world',
subText: '',

heading: 'Satoshis or Sats',
text: '1 bitcoin = 100 million satoshis or sats',
subText: 'Hexa uses sats to make using bitcoin easier',

heading: 'Hexa Test Account',
text: 'Test Account comes preloaded with test-sats',
subText: 'Best place to start if you are new to Bitcoin',

List of loader Messages during Restore:

heading: 'Bootstrapping Accounts',
text: 'Hexa has a multi-account model which lets you better manage your bitcoin (sats)',
subText: '',

heading: 'Filling Test Account with test sats',
text: 'Preloaded Test Account is the best place to start your Bitcoin journey',
subText: '',

heading: 'Generating Recovery Keys',
text: 'Recovery Keys help you restore your Hexa wallet in case your phone is lost',
subText: '',

heading: 'Manage Backup',
text: 'You can backup your wallet at 3 different levels of security\nAutomated cloud backup | Double backup | Multi-key backup',
subText: '',

heading: 'Level 1 - Automated Cloud Backup',
text: 'Allow Hexa to automatically backup your wallet to your cloud storage and we’ll ensure you easily recover your wallet in case your phone gets lost',
subText: '',

heading: 'Level 2 - Double Backup',
text: 'Starting to hodl sats and bitcoin? Ensure that you backup your wallet atleast to Level 2 backup called Double Backup',
subText: '',

heading: 'Level 3 - Multi-key Backup',
text: 'For hardcore Bitcoiners who understand Bitcoin, stack large amounts of sats or bitcoin and care for utmost security of their wallet',
subText: '',

Get the right text that the user should see while login and 3 such texts while wallet creation.

This is what we are currently doing in wallet initialization.

List of loader Messages during Wallet Initialization:
heading: 'Test Account',
text: 'If you're a new user, the best place to start exploring the wallet is the Test Account',
heading: 'Free sats!',
text: 'Register with Swan Bitcoin to get $10 USD worth of free sats',
heading: 'Manage Backup',
text: 'Make sure to backup your wallet to secure your sats. The first level of backup is done automatically once you allow it',

List of loader Messages during Login:
heading: 'Savings Account',
text: 'The Savings Account unlocks once your backup is at Level 2. Once unlocked, setup your 2FA code on an authenticator app ',
heading: 'Non-custodial buys',
text: 'Get sats directly in your wallet from compatible exchanges',
heading: 'Friends & Family',
text:
'Add contacts to Hexa and send sats w/o asking for their wallet address every time',
heading: 'Donation Accounts',
text: 'Start receiving donations directly in your Hexa Wallet, from anywhere in the world',
heading: 'Satoshis or Sats',
text: '1 bitcoin = 100 million satoshis or sats',
subText: 'Hexa uses sats to make using bitcoin easier',

List of loader Messages during Restore:
heading: 'Manage Backup',
text: 'You can backup your wallet at 3 different levels of security\nAutomated cloud backup | Double backup | Multi-key backup',
heading: 'Level 1 - Automated Cloud Backup',
text: 'Allow Hexa to automatically backup your wallet to your cloud storage and we’ll ensure you easily recover your wallet in case your phone gets lost',
heading: 'Level 2 - Double Backup',
text: 'Starting to hodl sats and bitcoin? Ensure that you backup your wallet atleast to Level 2 backup called Double Backup',
heading: 'Level 3 - Multi-key Backup',
text: 'For hardcore Bitcoiners who understand Bitcoin, stack large amounts of sats or bitcoin and care for utmost security of their wallet',
heading: 'Recovery Keys',
text: 'Make sure you only share your Recovery Keys with trustable contacts',

@ASN-BitHyve should have some message in the Login Screen for savings account.

@cakesoft-rohit - we are going with small changing loader messages, not a single big one. Use the above for the three scenarios.

Verified this issue on dev app v1.9.5(339)


Contexts not replacing colors when switching between them

Hi again 😬 . I´ve been trying switching between contexts. Tried in one of my Figma's projects, checking if prefix was right, it was. Copied Moana to my projects to double check this, but it doesn't work either.

Just tested and verified it is working. I'm pretty sure you duplicated a file here 😉
I guess what's the problem here is a missunderstanding of how figma allows plugins to work (I think that's the best way to formulate this). References are currently stored at a document. When this document is duplicated these references are lost. You can see this now for yourself. In the original document where references are available, open the "Stats" tab now in theemo, you see some numbers over there. When you duplicate this document then these numbers are gone, you will see 0 everywhere.
That is because figma is not copying over any plugin related data.
In order to compensate this (kinda) theemo offers an export and import mechanism. You will export all references to jsonbin and after duplicating the document, go to the new one, paste in the url from json bin hit import and your references are back. That is figma plugin API is relatively new and they make curious steps to enhance it, at most to keep those files safe (in terms of permissions).
The other cool stuff of using this export is that theemo can also consult this references and put your design tokens into code.


bind 检查非指针类型

see #51

Codecov Report

Merging #53 into master will increase coverage by 0.62%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #53      +/-   ##
==========================================
+ Coverage   78.49%   79.11%   +0.62%
==========================================
  Files           7        7
  Lines         702      704       +2
==========================================
+ Hits          551      557       +6
+ Misses        111      109       -2
+ Partials       40       38       -2

Impacted Files
Coverage Δ

clop.go
83.76% <100.00%> (+0.94%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 744bebe...829c1f9. Read the comment docs.


Error Installing edsl Package

I encountered an error while installing the edsl package using pip install edsl. The error seems to be related to the statsmodels package, which is required for pyproject.toml-based projects.
Details:
When attempting to install the edsl package, I received the following error message:
Failed to build statsmodels ERROR: Could not build wheels for statsmodels, which is required to install pyproject.toml-based projects
To troubleshoot, I tried installing the statsmodels package separately using pip install statsmodels. The statsmodels package installed successfully without any errors.
System Information:
Operating System: I tried Windows 10 and Windows 11
Python Version: Python 3.12.3
Pip Version: pip 24.0
Any guidance on resolving this error would be greatly appreciated.

@zer0dss @apostolosfilippas I think where only using this in some quite optional features - in addition to helping  @zhangxinghub if we can, maybe we should make this optional? I'm not very well-versed in best practices for making packages optional

I discovered that the edsl package is compatible with Python 3.9 - 3.11. I was initially using Python 3.12.3. After switching to Python 3.11, the issue was resolved, and the edsl package installed successfully without any errors.
Thank you for your attention and assistance.

Thanks @zhangxinghub! I will look into
(i) removing the statsmodel dependency -- or make an optional if it is not necessary
(ii) making EDSL compatible with Python 3.12.x
Leaving the issue open until we come up with a good fix for this.


mtl 2.2.x

Do you realize that the dependency on mtl 2.2.x means that GHC 7.8.x cannot reliably compile this module? The compiler ships transformers 0.3.x as a core library, which cannot be replaced, and mtl 2.2.x requires transformers 0.4.x.

I installed GHC version 7.8.3 on OS X Yosemite and Linux Arch, and I can compile amqp-conduit-<IP_ADDRESS> with mtl-2.2.1 and transformers-<IP_ADDRESS> on cabal-sandbox.

Sure you can, but you cannot link any library that directly or indirectly depends on the core version of transformers. Try adding doctest as a dependency, for example, and check what cabal configure will tell you.

You mean down down grading mtl 2.1.*  for transformers 0.3.x? if so I will look into this

If your package could support mtl 2.1.x, then that would be great.

the package v<IP_ADDRESS> has been downgraded for GHC 7.8.3.

Very cool, thank you!


Cardcast replacement

This PR aims to replace the functionality provided by the dead CardCast website. See #240
Play with custom decks at https://pyx.gianlu.xyz/ZY/.
TODO:

[x] Remove old CardCast code
[x] Add ability to upload JSON to load deck
[x] Add ability to download JSON from website to load deck
[x] Watermark
[x] Add custom decks list inside game options
[x] Add the ability to remove decks from the list
[x] Remove custom decks in chat code
[x] Add hostname filter (to protect the server IP)
[x] Cache downloaded decks
[x] Show custom decks from game list
[ ] Update wiki and instructions

JSON template:
{
  "name": "name of the deck",
  "description": "I actually don't see this in my example files, so... remove references to it?",
  "watermark": "AB123",
  "calls": [
    {
      "text": [
        "",
        " and ",
        " are the next hit comedy duo."
      ]
    },
    {
      "text": [
        "What's that smell?",
        ""
      ]
    }
  ],
  "responses": [
    {
      "text": [
        "The biggest, blackest dick."
      ]
    },
    {
      "text": [
        "Two midgets shitting in a box."
      ]
    }
  ]
}

Four commands are now available (could be changed to buttons):

/addcustomdeck_json: Adds a deck from the JSON provided (must change to file upload)
/addcustomdeck_url: Adds a deck from an URL
/removecustomdeck: Remove a deck with the given ID
/listcustomdecks: List available decks

The main two problems are:

The watermark, which could be simply given by the JSON
Caching

We could easy cache the URLs, but not the JSON. I was thinking to use some digest like MD5 to check if we already have the exact same content, or maybe that's not even that useful. My app would probably benefit from this as I'd allow the user to create custom decks without uploading them.

I've removed the two add commands and added some buttons in the game options. I am going to make a better list of the custom sets so that commands are not needed anymore (this way we don't have to show the user the deck id which is just a number).
The hash method is not working reliably for caching because of newlines and formatting stuff so we need an alternative to identify if two decks are identical. We would need to parse the content and then compute the hash after it has been "normalized" (something like https://github.com/fraunhoferfokus/JSum) which is a bit more expensive in terms of computing, but I don't think it'll be an issue.
I was also thinking that we probably don't need the server to fetch URLs, we could let the user send the JSON (fetching on the client). The only downside is that of the hash mentioned above.
@ajanata Let me know what you think.

Daily update...
I've fixed the caching issue with bencode. I've added some UI elements to list the custom decks and allow to remove them with a button press.
I'd say this is almost complete.

@ajanata Have you been able to take a look at this?

Don't know how it looks for you, but here the 'Custom Card Sets' prevents the use of the buttons regardless of browser or monitor resolution. Tested on pyx.gianlu.xyz.

@Tibladar It's fine on 1600x900 and 1920x1080, but I suppose I can address in some way.

Should be good now.

Should be good now.

Yep, working fine.

a converter from cardcast csv format to this json format:
import os
import json

rootdir = "csv"

def process_file(path, filename):
    filename_parts = filename.split('.')
    name = filename_parts[0]
    json_filename = '.'.join(filename_parts[:-1]) + '.json'
    doc = dict()
    doc['name'] = name
    doc['description'] = 'no description'
    doc['watermark'] = name
    with open(path, 'r', encoding='utf-8') as infile:
        with open('json/' + json_filename, 'w', encoding='utf-8') as outfile:
            calls = []
            responses = []
            for line in infile:
                parts = line.split(',')
                wb = parts[0]
                text = ','.join(parts[1:-2])
                if wb == 'white':
                    responses.append(text)
                else:
                    calls.append(text)

            doc['calls'] = []
            doc['responses'] = []
            for call in calls:
                doc['calls'].append({ 'text' : call.split('____') })
            for response in responses:
                doc['responses'].append({ 'text' : [response] })

            outfile.write(json.dumps(doc, sort_keys=True, indent=4))

for subdir, dirs, files in os.walk(rootdir):
    for file in files:
        filepath = subdir + os.sep + file

        if filepath.endswith(".csv"):
            process_file(filepath, file)

script in .convert.py, csvs in csv/*.csv, produces json files in json/*.json

a converter from cardcast csv format to this json format:
import os
import json

rootdir = "csv"

def process_file(path, filename):
    filename_parts = filename.split('.')
    name = filename_parts[0]
    json_filename = '.'.join(filename_parts[:-1]) + '.json'
    doc = dict()
    doc['name'] = name
    doc['description'] = 'no description'
    doc['watermark'] = name
    with open(path, 'r', encoding='utf-8') as infile:
        with open('json/' + json_filename, 'w', encoding='utf-8') as outfile:
            calls = []
            responses = []
            for line in infile:
                parts = line.split(',')
                wb = parts[0]
                text = ','.join(parts[1:-2])
                if wb == 'white':
                    responses.append(text)
                else:
                    calls.append(text)

            doc['calls'] = []
            doc['responses'] = []
            for call in calls:
                doc['calls'].append({ 'text' : call.split('____') })
            for response in responses:
                doc['responses'].append({ 'text' : [response] })

            outfile.write(json.dumps(doc, sort_keys=True, indent=4))

for subdir, dirs, files in os.walk(rootdir):
    for file in files:
        filepath = subdir + os.sep + file

        if filepath.endswith(".csv"):
            process_file(filepath, file)

script in .convert.py, csvs in csv/*.csv, produces json files in json/*.json

Getting this error whenever I'm trying to import a JSON deck.
Error: Cannot find custom deck with the given ID or URL or invalid JSON was provided.

Getting this error whenever I'm trying to upload a JSON deck.
Error: Cannot find custom deck with the given ID or URL or invalid JSON was provided.

@silverkey5 Can you post the URL or JSON you tried to use?

{
"calls": [
{
"text": [
"Ashido's secret passion is ",
"."
]
},
{
"text": [
"Dear Midoriya, I'm having issues with ",
" and would like some advice."
]
},
{
"text": [
"For Mr. Compress's next trick, he will pull ",
" out of ",
"!"
]
},
{
"text": [
"In his farewell speech, All Might warned young heroes about the dangers of ",
"."
]
},
{
"text": [
"Bakugou masturbates to ",
"."
]
},
{
"text": [
"Dabi ate ",
" for dinner."
]
}
],
"description": "no description",
"name": "test",
"responses": [],
"watermark": "test"
}
I've also uploaded this to an API but when i used /addurl it said it was an invalid command.
https://api.jsonbin.io/b/60b3d22692af611956f6a26c/1

{     "calls": [         {             "text": [                 "Ashido's secret passion is ",                 "."             ]         },         {             "text": [                 "Dear Midoriya, I'm having issues with ",                 " and would like some advice."             ]         },         {             "text": [                 "For Mr. Compress's next trick, he will pull ",                 " out of ",                 "!"             ]         },         {             "text": [                 "In his farewell speech, All Might warned young heroes about the dangers of ",                 "."             ]         },         {             "text": [                 "Bakugou masturbates to ",                 "."             ]         },         {             "text": [                 "Dabi ate ",                 " for dinner."             ]         }     ],     "description": "no description",     "name": "test",     "responses": [],     "watermark": "test" }
I've also tried uploading this to a URL, but when I used the /addurl command it said it was an invalid command
https://api.jsonbin.io/b/60b3d22692af611956f6a26c/1

@silverkey5 The watermark must be all uppercase.

{
"name": "testDeck",
"description": "bnha stuff",
"watermark": "BNHA",
"calls": [
{
"text": [
"Ashido's secret passion is ",
"."
]
},
{
"text": [
"Dear Midoriya, I'm having issues with ",
" and would like some advice."
]
},
{
"text": [
"For Mr. Compress's next trick, he will pull ",
" out of ",
"!"
]
},
{
"text": [
"In his farewell speech, All Might warned young heroes about the dangers of ",
"."
]
},
{
"text": [
"Bakugou masturbates to ",
"."
]
},
{
"text": [
"Dabi ate ",
" for dinner."
]
}
]
}
It still returns the same error message

It must also be 5 characters long.

...im just dumb lol thank you so much!

Any update on this?


nixpkgs.hostPlatform defaults to aarch64-linux

https://github.com/ALT-F4-LLC/kickstart.nix/blob/c6335d1565f062f4af17987cd1b64c812685e0c9/system/nixos-hardware-configuration.nix#L35
Should this not be x86_64-linux as a default? It's the more usual Linux arch

Yeah we need to pass the param down in the function.

I would suggest moving this into modules/configuration.nix and passing the system as an argument instead of hardcoding it

This has been fixed!


Operators section is not correctly formatted

[Enter feedback here]
The operators section is not correctly formatted.

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

ID: a641b52c-39cb-fb2d-ed45-ded0ffafdb66
Version Independent ID: a432ca73-d567-ae0b-7fe8-772556c8bdbe
Content: WHERE - Azure Cosmos DB for NoSQL
Content Source: articles/cosmos-db/nosql/query/where.md
Service: cosmos-db
Sub-service: nosql
GitHub Login: @jcodella
Microsoft Alias: jacodel

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

@codingkarthik
Thank you for bringing this to our attention.
I've delegated this to content author @jcodella, who will review it and offer their insightful opinions.

@jcodella
Could you please review add comments on this, update as appropriate.

@codingkarthik, I just checked and the formatting seems accurate. I will close this issue but feel free to re-open if I missed anything.
#please-close


HTTP: consider quoted charset

Fixes #6353

Do we also want to allow single quotes (') here?

I'm not sure single quotes are allowed, but if others agree I can add it to this PR.

No, single quotes should not be interpreted as string delimiters, see definition of quoted-string in RFC 723 §3.2.6,

Don't a lot of HTTP headers have the standard value; optional-key="value" format? Is there an RFC or standard of these headers - or even an unofficial standard - to implement a parser for them?

@RX14 There are a ton of RFCs about mime type syntax. The most recent one is RFC 7321.
As already mentioned, I have a working parser implemented, it just needs #5765 and a little bit of finishing.

I'm not talking about mime types - i'm talking about the generic HTTP header value syntax.

Yeah, I know what this is about. It's not specific to any protocol, neither HTTP nor mail. I'm not sure if there's a proper name, but this is commonly described as mime type (examples: .NET, Java, Rust, Go)

And despite any of this, it's still true that Crystal needs a proper parser implementation.

My bad, that was mime types; i'm a bit tired. I meant that mime types, set-cookie, and content-disposition have the same approximate header syntax with one or more initial values then the same ; key=value format.

As far as I know, this is called mime type, despite the fact that applications like Set-Cookie have nothing to to with mime. And yes, we should have a generic parser for this.

I've never seen it named as such and I can't imagine it being called that since it would be so confusing. "mime type" already means a specific concrete RFC.

Sry, I meant media type. Doesn't make any difference, though. I guess it's just that this concept initially comes from mime type declarations and was adopted for other uses as well, without there being a proper name for this syntax.
Implementation wise, it is a MIME media type parser. This implementation can be applied to non-MIME contexts such as Set-Cookie or they can use a more specific, custom parser. Go for example uses ParseMimeType for Content-Type, Content-Disposition but a custom implementation which only recognizes a fixed set of attributes for Set-Cookie.

I'd never find such a parser as a user if I had to think "mime". So I think we shouldn't name it that way. It should be in the generic HTTP module.

Merging the fix. Discussion feels unrelated or that it could come later.

Yep, discussion was unrelated, sorry.


mdc-text-field mixins throw exception on build

What Angular MDC version are you using?
0.35.6 / 0.35.7
What browser(s) is this bug affecting?
Google Chrome Version 66.0.3359.181 (Official Build) (64-bit)
What OS are you using?
Win 10
What are the steps to reproduce the bug?
i want to restyling the mdc-text-field-outline with the following mixins
@include mdc-text-field-focused-outline-color($color);
@include mdc-text-field-hover-outline-color($color);
@include mdc-text-field-outline-color($color);
@include mdc-text-field-outline-corner-radius($radius);
What is the expected behavior?
the element colors or corner radius changed
What is the actual behavior?
when i add build with "ng serve" command throwing bug
ERROR in ./src/app/login/login.component.scss
Module build failed:
&:not(.mdc-text-field--disabled) {
^
Base-level rules cannot contain the parent-selector-referencing character '&'.
in [project root<EMAIL_ADDRESS>(line 116, column 3)
Any other information you believe would be useful?
i tryed with older version 0.35.6 but throw exception

@Szika What's the version of angular-cli? ng -v

@trimox version: 6.0.2 @angular/cli


glob does not match DockerFile

When using a glob containing a dockerfile (without an extension) the pipe does not execute:
For instance if I run gulp.src("Designer/Models/**/Dockerfile").pipe(...)
It won't execute the next step in the pipe. However if I change the filename in the folder to include an extension and then update the glob:
gulp.src("Designer/Models/**/Dockerfile.d")
it runs just fine. I feel like the glob is thinking the first example is a folder and therefore doesnt run, but then how do I have gulp consume extensionless files?

The underlaying module that interacts with the file system and handles the globbing is https://github.com/paulmillr/chokidar
gulp does not modify the glob patterns. I would open an issue there as well, unless they test for it correctly.

My comment was incorrect, gulp uses https://github.com/isaacs/node-glob as the globing module not chokidar

I installed gulp-debug and found the glob was working but the piped command was not running. Sorry!


Fix: Run 'make cs'

This PR

[x] runs make cs to fix the build

Follows #645.

@chartjes
Looks like Code Climate is holding up, that's it/

Thank you, @chartjes!


Not working on Android 8.1

Android 8.1
Nokia 6
nodejs 8.11.1
cordova 7.1.0
cordova-android 6.3.0
onsen-ui with angularjs
<plugin name="cordova-plugin-autostart" spec="git+https://github.com/ToniKorin/cordova-plugin-autostart.git" />
ons.ready(function () {
        window.plugins.intent.getCordovaIntent(function (intent) {
            if (intent.extras
                && intent.extras.cordova_autostart) {
                console.log("App has been launched automatically after boot.");
            }
            else {
                console.log("App has been launched manually.");
            }
        });
        cordova.plugins.autoStart.enable();
        document.addEventListener('deviceready', onDeviceReady.bind(this), false);

    });

I have try with and without screnn pin, but my not restart.

Still not working on Android 8+ ?

I have tried on Android 8.1 and it doesn't work :/


Node v12 Support

hardcoded ethereumjs-wallet dep is impacting node v12 support. tho, better to actually upgrade ethereumjs-wallet to v1

explicit jest env dep is a workaround for Buffer instance failing instanceof Uint8Array check
https://github.com/facebook/jest/issues/7780#issuecomment-669828353

tested locally against node v12
id like to switch ci to github actions for easier testing across many versions of node

hey guysss smash that squash and merge and be sure to hit the bell to know when ive opened another pull request 🆒

uh and i guess publish


Swets should grow if Swet balls are thrown at them

And/or maybe if they're clicked with them?

I didn't apply this for when you click on them.


Provide richer error objects

When a request is validated against a schema any and all of the errors that are generated are bundled into a single ValidationError as strings, this works well for human-readability as the errors look something like this:
ValidationError: 'method':
    - 'parameters':
        - 'request_body':
            - '$ref':
                - 'additionalProperties':
                    - u"When `additionalProperties` is False, no unspecified properties are allowed.  The following unspecified properties were found:\n\t`set([u'this'])`"
                - 'required':
                    - 'name':
                        - u'This value is required'

However, it's difficult/messy to extract further details from the errors programatically - getting the set of additional properties for example.
It would be great if the errors were richer objects so they're easier to program against.

I like this idea and it should be quite easy to implement.

This is actually already the case, there is just no documentation for it.  See https://github.com/pipermerriam/flex/blob/master/flex/exceptions.py#L63
If you'd like to write some quick documentation for it this can be exposed as a public API.


QC: pkgdown site construction is failing

Subtask for #1611
.github/workflows/pkgdown.yaml and _pkgdown.yml need to be updated to reflect changes to reporting workflow, report creation, and website contents/structure.

#1606 is related to this (and, oops, should have been created as a QC issue rather than a Feature issue).

https://gilead-biostats.github.io/gsm/dev/ works, although the Sample Reports don't rebuild for that (see #1640). I think I fixed the breaking part of this in #1632. Close this issue?


Add a Service Operator for PostgreSQL databases

Our users (in this case DCS) want to be able to provision Postgres databases. We want to create a Postgres custom resource that will provide a Postgres database for them (ie Amazon RDS).
This is a no-op operator which allows our users to specify a config file of the form:

kind: Postgres
spec:
  aws:
    instanceType: m5d.large
  local:
    image: postgres:latest

This will eventually (in the next few stories) create an RDS instance of type m5d.large in AWS, when applied.

https://trello.com/c/Ob1NeQeV/61-create-and-deploy-basic-no-op-postgres-operator
Co-authored-by: Rafal Proszowski<EMAIL_ADDRESS>

    instanceType: m5d.large

I don't see m5d.large in the RDS instance type list.  I see db.m5.large though?
More generally, does this deserve a README of its own?

@paroxp I think your rebase went wrong. :-)

I added a very basic README, we can iterate it later. And I changed m5d.large to db.m5.large in all the places.

I don't see m5d.large in the RDS instance type list. I see db.m5.large though?

You are right, we're just not at the position to be applying any configuration, meaning we are likely to play with this a little more.

More generally, does this deserve a README of its own?

Agree, README will come when we grow the thing. At the moment, the only notable "paragraph" would be how to add a new database service.


Hide kubeconfig from the json output from reconciliation info command

Description
We shouldn't show a kubeconfig file as part of kcp rc info -c shoot-name command.
Reasons
There is a separated command and API for that that purpose. It is easier to manage access permissions if commands are not mixing few responsibilities
Attachments
kcp reconciliations info -i 4fa722d5-83cb-4495-8a9e-4b80ba4cd476--a61e5197-20f3-4e5d-b728-94751e6c54eb --config ~/.kcp/kcp-cli_config-dev.yaml -o json
{
  "cluster": {
    "kubeconfig": "..........",
    "kymaConfig": {
      "administrators": [
        "....."
      ],
      "components": [],
      "profile": "Production",
      "version": "2.0.0-rc4"
    },
    "metadata": {
      "globalAccountID": "......",
      "instanceID": ".......",
      "serviceID": ".......",
      "servicePlanID": ".......",
      "shootName": "shoot-name",
      "subAccountID": "......"
    },
    "runtimeID": ".....",

  },
  "operations": [
    {
    ...
    }
   ]
}
    ```

I think that this endpoint shouldn't return kubeconfig.
There should be special endpoint to fetch kubeconfig.

We should rework the PR so that we keep kyma config as discussed here
https://github.com/kyma-incubator/reconciler/issues/433#issuecomment-972746831

changes in the reconciler API applied -> https://github.com/kyma-incubator/reconciler/pull/427
changes in CLI in progress -> https://github.com/kyma-project/control-plane/pull/1114

Everything merged.
Deployment of that is still pending due to audit-log pvc config problem
https://github.com/kyma-project/control-plane/pull/1137
Lets keep open until its deployed to dev landscape


update tutorial

fixes #1288

Test failure looks like a fluke, and clearly unrelated:
FAILED src/bluesky/tests/test_suspenders.py::test_unresumable_suspend_fail[False] - assert 0.1 <<PHONE_NUMBER>.831193 -<PHONE_NUMBER>.7326467)


difference between suncet loss and supervised contrastive loss

What is the difference between the SuNCEt loss and supervised contrastive loss (L_{in} version) ?  It looks like they are the same thing right ?

Hi @KyleZheng1997
They are similar, but the L_{in} loss has an extra 1/P(i) term inside the logarithm that re-weights each class based on the number of instances belonging to that class.

ummmm, interesting, I'm a bit confused why this loss function can be well optimized
L_{SuNCEt}
= -log[ sum(exp(S_pos)) /  ( sum(exp(S_neg)) +  sum(exp(S_pos)) )    ]
= log[ 1 + sum(exp(S_neg)) / sum(exp(S_pos)) ]
= log[ 1 + exp( log[sum(exp(S_neg))] -  log[sum(exp(S_pos))] ) ]
≈ [LogSumExp(S_neg) -    LogSumExp(S_pos)]
≈ [max(S_neg) - max(S_pos)]
S_pos and S_neg denotes the cosine similarity between the positive pairs and negative pairs
As we can see the loss is actually trying to optimize [max(S_neg) - max(S_pos)], which means the similarity of the most similar positive pair has to be greater than the most similar negative pair.  This is a typical "easy negative mining". From my understanding, the L_{SuNCEt} should quickly become ineffective since not all S_pos have to be greater than max(S_neg).
On the other hand, "hard negative mining" is always considered to be much more effective in metric learning.
For example, the circle loss is trying to optimize [max(S_neg) -  min(S_pos)], where it requires the similarity of the least similar positive pair has to be greater than the most similar negative pair, which sounds much more reasonable.
I'm not quite sure if there is any misunderstanding, would you like to give some more explanation about how does this loss works. I will be really appreciated it.

Hi @KyleZheng1997 ,
I agree with much of your intuition, but let me clarify a few points:
For the SuNCEt loss, you can think of the arguments to the log function as a probability distribution over the classes. A sample is classified correctly if its representation is close to at least one positive sample (where closeness here is measured relative to the negative samples), which I think is somewhat similar to your intuition about the most similar positive pair being the important component in the loss. As you have surmised as well, this actually makes the task easier, which means the loss is easier to optimize. It is also worth noting that to completely minimize the loss, as you can see before your last approximation step, the model needs to make the query point similar to many positive samples, not just the max, so you still get something similar to the hard-negative mining behaviour you were describing.
Of course one can construct other contrastive losses using similar ideas to the one you mentioned, that make the task harder, and there could be value in doing so, for example, the hard-negative vs easy-negative mining argument is compelling. On the flip side, this would also make the loss harder to optimizer and potentially less robust to noisy or misclassified examples/outliers in S_pos.


Download from FB / IG Not Working

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2020.06.06
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: ['-o', '/data/data/com.termux/files/home/storage/downloads/%(extractor_key)s/%(uploader)s/%(title)s-%(id)s.%(ext)s']
[debug] Custom config: []
[debug] Command-line args: ['--get-id', 'https://m.facebook.com/1995989113962909/posts/2764918380403308/', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.06.06
[debug] Python version 3.8.3 (CPython) - Linux-4.4.205-18423627-aarch64-with-libc
[debug] exe versions: ffmpeg 4.2.3, ffprobe 4.2.3
[debug] Proxy map: {}
ERROR: Unable to extract video ids; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 797, in extract_info
    ie_result = ie.extract(url)
  File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/youtube_dl/extractor/facebook.py", line 472, in _real_extract
    self._search_regex(
  File "/data/data/com.termux/files/usr/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 1005, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract video ids; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Download from Facebook / Instagram not working

I noticed this too. It was working fine now it isn't.  Digging deeper I saw that Instagram Videos used to play on public profiles when you were not logged in, now they do not.  I tried passing a cookies.txt file but started getting the issue in the screenshot attached.

Actually sorry I just tried working with your video @M3GABOY and your video definitely works: youtube-dl 'https://www.facebook.com/watch/?v=1222245888122286'

What I did was copy and pasted https://m.facebook.com/1995989113962909/posts/2764918380403308/ in the browser and it did a redirect, then I used the redirected URL https://www.facebook.com/watch/?v=1222245888122286&_rdr and it was fine.

I have been having this issue too, where I can't download videos from Facebook, especially private ones, even when I input my credentials for logging in.
#25765 https://github.com/ytdl-org/youtube-dl/issues/25500

any update on this? It's been nearly a month

Also having this issue with Instagram. Perhaps due to:

Instagram Videos used to play on public profiles when you were not logged in, now they do not.


ERROR in [eslint] Package subpath './dist/types' is not defined by "exports"

Describe the Bug
npm i react-flow-renderer
npm run start

error

ERROR in [eslint] Package subpath './dist/types' is not defined by "exports" in node_modules/react-flow-renderer/package.json

Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
npm i react-flow-renderer
npm run start

error

ERROR in [eslint] Package subpath './dist/types' is not defined by "exports" in node_modules/react-flow-renderer/package.json

Expected behavior
No error
Screenshots or Videos
No response
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 91.1]

Additional context
No response

Hey. The react-flow-renderer package is deprecated. Could you update to the latest version and check if the error still occurs? https://reactflow.dev/docs/guides/migrate-to-v11/


macOS Support

This library has been really fantastic, so thank you. It would be just incredible if macOS support would be added. <3

+1 for Mac Support!

+1 for Mac Support!!!

Mac Support available? @toddfreese found any similar for macOS ?


Allow default title to have initial caps

Would like to specify the name of new content in all lower case and have the default title created in the front matter converted to initial caps.
$ hugo new post/init-caps.md

Current output:
+++
date = "2016-11-27T18:58:19-06:00"
title = "init caps"

+++

Would like to see
+++
date = "2016-11-27T18:58:42-06:00"
title = "Init Caps"

+++

Note that title casing is a style not used in all languages, also title casing isn't probably what you really want in this case, see #989.
So, to get this right would be a challenging task.

If no one objects, I'll name the config option "newContentTitleFormat" with this fix looking for "initCaps". That way I can avoid title case completely.

This will be handled in round-about way in #2746


Remove references to OpenStruct in Response class

Tidying up the remnants of now-deprecated functionality.

Thank you!


fix AFJSONEncode to work properly

It should check API availability on object parameter, not the data which was nil.

D'oh. Thanks for the patch.


[OpenSourceEPID][ReadMe]File extension mismatch

Link : https://github.com/secure-device-onboard/epid-verification-service/blame/master/build/README.md
We are generating .jar file as stated in cmdDocker.sh.
In ReadMe Line No 31: it says we are generating a .war file were as .jar file is getting created.
Can it be updated to .jar file in Read Me.

Fixed in PR #11


Filter component example - doesn't behave properly when filtering by month

In the PF NG example filtering by month doesn't work properly.  Entering multiple months gets the user into a state which is not usable.

Selecting a month after a month has already been selected should replace that filter, not be additive.  Note that the Angular PF example works properly.

This is just a matter of how the filter is applied in the example. The component simply displays whatever filters are applied by the application.
This will be a simple change to replace the existing filter in the example app.


Set Expiry time on DNS SD resolved data

The expiry time wasn't being set properly on DNS resolution results in
the Minimal mDNS impl. This was causing some of the Cirque tests to
fail to resolve at times:
CRITICAL:PythonMatterControllerTEST:Testfail: Failed to resolve nodeid
Node address has been updated
Node address has been updated
Established CASE with Device
2022-02-18 00:04:00,125 [PythonMatterControllerTEST] CRITICAL Testfail: Failed to resolve nodeid

Tests:
Repro'ed the failure and validated that the change fixed it.

fast tracking  this as hotfix equivalent: we are fixing cirque tests and have a issue tagged for the final fix. Generally I am not sure CHIP devices in general can provide a real TTL (their entries should be valid as long as IP addresses are valid, which we cannot know in advance).


[Bug]: Do not recognize any tools

Which API Provider are you using?
OpenAI Compatible
Which Model are you using?
Meta-Llama-3.1-405B-Instruct
What happened?
Claude Dev appear not recognizing any tools.
I suppose I can see a Write to file button.
Steps to reproduce

configure it to use Meta-Llama-3.1-405B-Instruct as an OpenAI Compatible API
in the prompt, ask it to "create hello world html with simple css"
Claude Dev appear not recognizing write_to_file and display it as button

Relevant API REQUEST output
To create a simple "Hello World" HTML page with CSS, I will first create the HTML file and then the CSS file. I will use the write_to_file tool to create both files.

First, I will create the HTML file:

write_to_file(path="index.html", content="""
<!DOCTYPE html>

    <title>Hello World</title>
    <link rel="stylesheet" type="text/css" href="style.css">

Hello World

""")
Next, I will create the CSS file:

write_to_file(path="style.css", content="""
body {
    background-color: #f2f2f2;
}

h1 {
    color: #00698f;
}
""")
Now, I will use the attempt_completion tool to present the result:

attempt_completion(text="The HTML and CSS files have been created. To view the result, open the index.html file in a web browser.")
You can view the result by running the following command in your terminal:

open index.html
Since I have completed the task, I will use the attempt_completion tool to present the result.

attempt_completion(text="The task is complete. The HTML and CSS files have been created. To view the result, open the index.html file in a web browser.")
No further action is required. The task is complete.

Additional context

Before you submit

[X] I have checked existing issues
[X] I am using the latest version of Claude Dev and VSCode

You are not prevented from using Meta-Llama-3.1-405B-Instruct
But this is Claude Dev, so if the model can't use Claude style tools then it's not really an issue with this project.

I've seen llama models try tool calling in this exact format as well, it seems that's how they were fine tuned and it's hard for them to adapt to other outputs. Not much I can do about this unfortunately, I'm sorry 😞

Thanks for the effort. I asked this since earlier (not too long ago, just 1 or 2 weeks) YouTube video show cases of success. Maybe the model has been fine tuned after that. The tool calling format is actually not so consistent with llama model anyway.

@saoudrizwan it could be possible if some instruction explaining to the model how to output the tool usage. I can see the local models can output the xml tags with the parameters, why is this not picked up by extention? it needs to come in as a JSON like anthropic API?


query_range no longer returns the full merged data set

Using local build from master (646440f678b8e33b23412f8645faf58fe8a6ff46).

setup new trickster with copy of example.conf with an appropriate prometheus url
query prometheus graph via proxy web interface to fill up its cache

first fetch returns a full set of data (~250 data points)

wait for scraping to make more data and execute again

trickster only returns points newer than what was on the graph (~3 data points)
graph is empty except for the last couple points

When using a build from the 0.1.5 tag, it works as expected and all data is returned. As far as I can tell, it seems #114 would be the cause since not much else has changed in master since 0.1.5.
Thanks and I hope this helps!

I also noticed something that sounds like you described https://github.com/Comcast/trickster/issues/92#issuecomment-449025630


feat: implements cowswapper skeleton

This adds a skeleton for CowSwapper interface implementation of  Swapper api with dummy methods.
Not much to test for the moment except that the few unit tests are green.
Related issue : https://github.com/shapeshift/lib/issues/721

LGTM - just make sure this doesn't get registered in web and the client attempt to use it

Using it in web will be our very last task for CowSwap for sure !


Microsoft Teams product name should not be translated into Hungarian

🛑 IMPORTANT: You can get your feedback addressed faster if you use the comment section for the article in which you encountered a problem (if available).
Link to article:
https://docs.microsoft.com/hu-hu/
Problem:
Link text to Microsoft Teams should remain in English.

Fixed.
#please-close


ActivityManagerNative.getDefault() method will be remove soon on Android O later release

On Android O, official Android documentation says that ActivityManagerNative.getDefault() method will be remove soon,should use ActivityManager.getService() instead.

Good catch. Here's the relevant link to the deprecated notice: https://github.com/android/platform_frameworks_base/blob/941d4b213517acc7c5e9f720d55d902a4334bfcb/core/java/android/app/ActivityManagerNative.java#L42

Thanks for catching and helping with this, sorry for the delay in merging!


Support testing of alternate home page designs

This change adds the ability to use a new NEW_HOME_PAGE feature flag to toggle between the existing home page designs (both English and Spanish) to a new (placeholder) design.
This follows the same pattern used previously in #5335.
How to test this PR
The flag will automatically be enabled on all systems except for production when ?nhp=True is appended to the URL. So, for example, to test locally, visit http://localhost:8000/?nhp=True.
Notes and todos
The new home page template included here is a copy of the current home page template, intended to be used as a starting point for development.
Checklist

[x] PR has an informative and human-readable title
[x] Changes are limited to a single goal (no scope creep)
[x] Code follows the standards laid out in the CFPB development guidelines

Do we care about the bewd coverage error?

@anselmbradford no; it's complaining about the line of code inside the feature flag.


General Refactorings

Can you clean up the repository for all the junk (leftover/unused files/scripts) and reorganize directory structure to make things less of a mess for our new bounty hunters?
There's a ton of little things, and I figured it would be best to assign to you because it would take a long time to produce a real specification. I trust your judgement!
refactor/general

I'll gladly take the responsibility for this.

I'll gladly take the responsibility for this.

Thank you ser. I want to give you a warning that I just realized https://github.com/ubiquity/ubiquity-dollar/issues/206 this may result in a massive project reorg so you should probably standby to do this after this is complete.

https://github.com/ubiquity/ubiquity-dollar/pull/244


papirus-icon-theme: 20170715 -> 20171102

Motivation for this change
Some icons do not work for me (XFCE), so I hope that the update fixes this.
Upstream issue: https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/issues/899
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

does this require a backport?

You mean to the stable release channel? I don't think so. I filed the update not because things are broken on my side, but because I noticed that the package is outdated on master (which I only noticed because I changed my theme to use it).
So IMO no backport necessary if no complaints are filed for the package on the stable channel.


Parallelize double for loops to speed up code

https://github.com/csudre/MetricsReloaded/blob/2895d959f847a3cd14b98ed0f49a6351e0181ae3/MetricsReloaded/utility/assignment_localization.py#L78-L80
These double for loops are possibly slowing down the code.
This could be speed up by parallelizaition. Here is a possible solution.
This does solution does use two additional packages though. I know you would like to minimize the amount of packages to be downloaded.

This is not planned for now - may be in a future release


Refactor '/controllers' folder structure for better scalability

The current structure of the '/controllers' folder in our Node.js server is not suitable for scaling features and maintaining code organization as the project grows. As more features and functionality are added, the controllers folder will become increasingly cluttered, making it difficult to navigate and maintain the codebase.
To address this issue and ensure better scalability, we need to refactor the '/controllers' folder structure. By introducing a more modular and organized approach, we can improve code maintainability, readability, and make it easier to add or modify features in the future.

Solution:

Introduce a modular structure by grouping related controllers into separate subfolders based on their functionality or domain.
Implement a consistent naming convention for controllers and their respective subfolders to improve code discoverability.
Consider separating concerns by creating separate controllers for different entities or resources, rather than having a single monolithic controller.
Utilize appropriate file and folder naming conventions to ensure better organization and readability.


Images loaded from absolute paths are sometimes laid out in physical pixels

Problem description
ImageViews receiving image paths pointing to a file given with an absolute path, render their images in physical instead of device independent pixels when:

the scaleMode of the ImageView is set to auto and:

the size of the ImageView is bigger than the size of the picture in DIPs
... or ...
the ImageView does not have explicit size

... or ...

the scaleMode of the ImageView is set to none

Expected behavior
ImageViews should always render their images in device independent pixels for those cases.
Related issues

Contradicts with: #1392
Related: #1488

Environment

Tabris.js version: 2.2.0-20170911
Device: Samsung J3
OS: Android 5.1.1

Code snippet
let imageView1 = new tabris.ImageView({ // rendered in physical pixels although DIPs are expected
  left: 10, top: 10, width: 200, height: 200,
  background: '#aaaaaa',
  image: tabris.app.getResourceLocation('images/pig.png')
}).appendTo(tabris.ui.contentView);

new tabris.ImageView({ // rendered in DIPs as expected
  left: 10, top: [imageView1, 50], width: 200, height: 200,
  background: '#aaaaaa',
  image: 'images/pig.png'
}).appendTo(tabris.ui.contentView);

Fixed for the upcoming 2.1.1 release.


Disabling "Smooth fade in/out" when starts/pauses playback

Hi.
I need fast pause without any fade.
Can I turn it off somehow?

From what I can see, OpenSLMediaPlayerFactory#createMediaPlayer is creating the OpenSLMediaPlayer using its own getMediaPlayerOptions().
This is hard coded to always return OpenSLMediaPlayer.OPTION_USE_FADE
There doesn't appear to be a way to pass through any options. If you aren't able to make changes to OpenSLMediaPlyaerFactory yourself, instantiate it as an anonymous class, override the getMediaPlayerOptions behaivor and return zero. This disables the fade on both start and pause.
The same thing applies for the hybrid player. Obviously this isn't pretty, ideally there'd be a way to pass this through as a parameter into the media player factories. When I clean things up my side I plan on submitting a PR allowing this to be toggled easier.
		factory = new OpenSLMediaPlayerFactory(activity.getApplicationContext()) {

			@Override
			protected int getMediaPlayerOptions () {
				return 0;
			}

		};

@anonym24 Hi. As @stickyd has mentioned, his solution is the appropreate way to configure OpenSLMediaPlayer/HybridMediaPlayer not to use smooth fading.

thanks) it suits me more

Hi @h6ah4i. After disabling the Fade effect using the way @stickyd says it works, but then it makes a weird sound after seeking a certain position in the song. How do we fix/avoid it?

@martppa I second you on this. It is making screeching sound on seeking after disabling fade.

@hunnydarapstar Hi, I fixed this issue. clone my fork and build the native library.

@martppa can you build the library and upload it coz I am encountering errors while building from source

Sure, here you are
https://mega.nz/#!ppIG0a7R!sxRXMZSgqnhlDIopg8f_1yOwb4o-deBdaUJPMy540jw
If you have any other issue let me know.

@martppa Thanks a ton bro..

@stickyd your solution worked for me also!! @martppa Did you see any way to tune the fade in/out times? In order of tune the library i'd like also to tune the max IBasicMediaPlayer instances  allowed by the OpenSLMediaPlayerFactory, from current 4 to 5 instances, is it possible to do this without crash?

@billyjoker Not sure, since the instance is created in the native side and controlled by handlers. I will try to take a look in the code and tell you if it worth to modify it. Tell ya soon.

@martppa did you get something about this one? I'm facing another issue with Visualizer, did you notice that when nothing is sounding you have an amplitude level in the graph? If exists signal, represent a graph independent of the volume level.... it's driving me nuts...

@billyjoker Hi, sorry for the delay, I have checked the code and there might be a way to solve it, but it might be tedious and a headache since I am not the code owner.


Support lazily reading a serialized Vector

It would be great if it was possible to incrementally read a large file that contains a serialized Vec.
A large file may contain 10 million records and you may not be able to load everything into memory
before processing it. Being able to iterate over elements individually or in chunks would be very helpful.
It would allow for doing something like:
decode_vec(file_reader)
.into_iter()
.filter(|person| person.last_name.starts_with("Jones") )
.map(|person| person.age)
.sum()
Or whatever query one might want to do on a large corpus of structured data.

Would this approach work? The example there is very similar to yours. https://serde.rs/stream-array.html

Closing this since its been 2 years since response. dtolnay's provided answer seems to be a good way to do this.


Minor refactoring and improvements

Thanks for the PR! I change the a bit of your PR request on the line 75, since we are checking the weather description to get the weather.


iOS: Implement OS::move_to_trash for platform parity

This implements the move_to_trash method for the iOS platform, merely a replica of the
MacOS implementation.

Closing this one in favor of a clean one.


Update localization [02/01/24]

This PR updates localization for the following tasks:

PublishPipelineMetadataV0

Checklist:

[x] Task version was bumped - please check instruction how to do it
[x] Checked that applied changes work as expected

/azp run


Add a Connection.Create file method

It's a minor thing, but really helpful.
From System.Data.SQLite
/// <summary>
/// Creates a database file.  This just creates a zero-byte file which SQLite
/// will turn into a database when the file is opened properly.
/// </summary>
/// <param name="databaseFileName">The file to create</param>
static public void CreateFile(string databaseFileName)
{
  FileStream fs = File.Create(databaseFileName);
  fs.Close();
}

When using Mode=ReadWriteCreate (used by default), opening the connection will create the file.
Two questions:

When is it useful to create an empty database before connecting to it?
Shouldn't a simpler file creation API just be added directly to dotnet/corefx?

If item 1 is useful, I think this should create an actual SQLite database, not just a zero-byte file.

Another thing to consider in the design:
SQL Server Compact does it like this:
new SqlCeEngine(connectionString).CreateDatabase();

When using  Mode=ReadWriteCreate  (used by default), opening the connection will create the file.

At the very least that needs to be added to the documentation.
And actually, that's probably the correct answer. The problem isn't "We need a CreateFile method", but rather "We need to know how to create a file".

+1 on documentation. We really need more than just API docs.  In the mean time, we can add a sentence to SqliteConnection.Open().

For me, the difference between a zero-length file that will be auto-initialized later and an empty, ready to use file is inconsequential.
An empty, ready to use file might be less confusing to some people, but honestly I never noticed that the file was zero-length because I always immediately started filling it with schema.

In the mean time, we can add a sentence to  SqliteConnection.Open() .

Also mention it on the SqliteConnection class page please. Otherwise people won't necessarily think to look at .Open.

We discussed this as a team, and I think we need to hear more feedback from users about when it's useful to create an empty database before connecting to it before we implement this.
Closing as wont-fix for now, but like I said, we're open to additional feedback.


Changes OPENSRP logo color to match new design

IMPORTANT: Where possible all PRs must be linked to a Github issue
Fixes [link to issue]
Engineer Checklist

[ ] I have written Unit tests for any new feature(s) and edge cases for bug fixes
[ ] I have added any strings visible on UI components to the strings.xml file
[ ] I have updated the  CHANGELOG.md file for any notable changes to the codebase
[ ] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
[ ] I have built and run the FHIRCore app to verify my change fixes the issue and/or does not break the app
[ ] I have checked that this PR does NOT introduce breaking changes that require an update to Content and/or Configs? If it does add a sample here or a link to exactly what changes need to be made to the content.

Code Reviewer Checklist

[ ] I have verified Unit tests have been written for any new feature(s) and edge cases
[ ] I have verified any strings visible on UI components are in the strings.xml file
[ ] I have verifed the CHANGELOG.md file has any notable changes to the codebase
[ ] I have verified the solution has been implemented in a configurable and generic way for reuseable components
[ ] I have built and run the FHIRCore app to verify the change fixes the issue and/or does not break the app

@Raynafs please add attach an image for the new look or link the ticket with the new look to this PR


Handle char arrays

Can we handle CharArray? Currently they print out with the Java toString, something like [C@3817da62. Would be nice if these could be converted to CharArray(string-value).

Ah! Will look into that.


admin: next generation UI

Using AdminLTE template built with Bootstrap 3.
TODO: adapting each page view (which are shown in the main sidebar-menu) to the new template.

I'll fix the line length of the commit title.

ping @lnielsen

@jochenklein can you please add NEW or BETTER labels that will propagate this change to RELEASE-NOTES? Thanks.

@jirikuncar all right, like this or for every list point?

@jochenklein no. Just for the most important feature - new Admin LTE template ...

Okay. Should I use FIX for "Adds temporary solution for adding icons to category items displayed in the main sidebar-menu. [...]" or no label for this point?

IMHO it's not necessary as it might be fixed until release.


使用update:formatted-value后·选择日期后数据消息

TuSimple/naive-ui version (版本)
2.34.3
Vue version (Vue 版本)
3.3.0-beta.1
Browser and its version (浏览器及其版本)
chrome
System and its version (系统及其版本)
win10
Node version (Node 版本)
Reappearance link (重现链接)
https://github.com/看下面地址
Reappearance steps (重现步骤)
使用update:formatted-value后·选择日期后数据消失
演示地址：https://1024code.com/codecubes/zqsmi6w
Expected results (期望的结果)
正常显示
Actual results (实际的结果)
使用update:formatted-value后·选择日期后数据消息
Remarks (补充说明)

链接打开无复现

 链接打开无复现

早上我用Edge也出现这个问题，多刷新几次就可以了·建议使用谷歌浏览器

Upgrade the Vue version to 3.2.46 or higher to fix this issue. It's caused by Vue compiler treating v-model:kebab-case and @update:kebab-case inconsistently, which has been fixed in Vue 3.2.46.
Before the fix, v-model:kebab-case would compile to onUpdate:kebab-case, and @update:kebab-case would compile to onUpdate:kebabCase. Now, they will all compile to onUpdate:kebabCase.

Upgrade the Vue version to 3.2.46 or higher to fix this issue. It's caused by Vue compiler treating v-model:kebab-case and @update:kebab-case inconsistently, which has been fixed in Vue 3.2.46.. Before the fix, v-model:kebab-case would compile to onUpdate:kebab-case, and @update:kebab-case would compile to onUpdate:kebabCase. Now, they will all compile to onUpdate:kebabCase.
Alternatively, you can use camelCase instead of kebab-case, like this:
<n-date-picker
    v-model:formattedValue="monthRange"
    @update:formattedValue="handleMonthRange"
 />

升级3.2.46，导致项目起不来了，compileTemplate is not a function


chore: use jobs_api_connection_string everywhere

Change jobs_api_url to jobs_api_connection_string.

:tada: This PR is included in version 4.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Create a relation between two nodes

Hi
I have two nodes in the DB, Person & Event. I want to create a relation between them (such as Person attends Event). I can get the both as POJOs but that will not help me. I assume I need to get them as JcNode. I have created them using
List<JcError> errors = domainAccess.store (this);
So i assume they don't have an ID (or i am not sure where do I set one). I can retrieve them using  value, such as:
	    	DomainObjectMatch<Person> usersMatch = query.createMatch(Person.class);
	    	query.WHERE(usersMatch.atttribute("email")).EQUALS(email);
		DomainQueryResult queryResult = query.execute();
	   	List<Person> persons = queryResult.resultOf (usersMatch);

But then I have a list of Person, not a JcNode.
How to I get a the two JcNodes (Person and Event) and define a JcRelation between them?
How will I set it a node ID if I create the nodes from POJO's as above and not directly in neo4j?
Do you have a complete example that shows how I retrieve a node and set a value in it, or a pointer to where to look at the documentation examples?
Thanks
-Yishai

Hi,
with JCypher you can work at different levels of abstraction.
Your sample shows, that you are working at the topmost level, using (business)domains and domain objects (POJOS). They are automatically mapped to the graph database. At that level you don't directly handle nodes and relations in the database.
Instead for your example, the class Person could have as an attribute a list of Events:
private List<Event> events.
If you then add an Event to this list and again store the Person object, Person and Event will automatically be related in the database.
Alternatively, if you work at the level of the Query DSL you are directly creating nodes and relations in the database (JcNode, JcRelation, ...). But then you have to manually map your domain objects (Person, Event, ...) and their respective attributes to nodes and relations in the DB.
If you want to send me some code and explain more specifically what you want to achieve, I can provide some solution code for you.
I hope the above explanations help so far.
Best regards,
Wolfgang

Hi Wolfgang
Thanks for your answer. This was actualy the answer I hoped for. The topmost level of abstraction is what I wanted to be in. Saving into existing (retrieved) objects, or creating a relationship by pointing (for a lack of a better word) to other existing objects is what I hoped it does, and I think that should be enough for my needs. This is going to save me allot of time.
Thanks again
-Yishai

Hi Wolfgang
So I guess I am doing something wrong. I run this code
public class TestDB
	{
	public TestDB()
		{
		runTest ();
		}

	public void runTest ()
		{
		Neo4jDatabase db = Neo4jDatabase.factoryMethod();
		IDBAccess dbAccess = db.getIDBAccess ();

		User user = new User();
		for (int i = 0; i < 5; i++)
			{
			user.setCounter (i);
			IDomainAccess domainAccess = DomainAccessFactory.createDomainAccess(dbAccess, "user-domain", DomainLabelUse.ALWAYS);
			List<JcError> errors = domainAccess.store (user);
			}
		}
	}

class User
	{
	int counter;

	public User () {}
	public void setCounter (int c) {counter = c;}
	}

Expecting at the end to have one User record with a counter==4. Instead, the DB contains 5 records, so every store generated a new record:
MATCH (n:User) RETURN n LIMIT 25

{"_c_version_":0,"counter":0}
{"_c_version_":0,"counter":1}
{"_c_version_":0,"counter":2}
{"_c_version_":0,"counter":3}
{"_c_version_":0,"counter":4}

What am I missing if I want to change the value of a filed inside the user record in the database?
Thanks
-Yishai

Hi,
in every run of your loop you are creating a new instance of IDomainAccess.
You should maintain only one instance of IDomainAccess. Create it outside your loop, just like IDBAccess.
Explanation:
The IDomainAccess instance maintains state and synchronicity of your domain objects with the DB.
 Then they are known to the IDomainAccess instance, and changes are updated correctly.
I hope that helps,
best regards,
Wolfgang

Makes sense ;-)
Thanks
-Yishai

Hello! I have a problem with creating a relation between two nodes. I create two nodes, for example Animal and Dog, and after creating I want to get them and create relationship between them. In my case, i added new property idKB. I find JRNode by this property. In result I have  got an error.

Hi,
sorry for taking me so long to return to you.
Your problem can be solved with just one query:
JcNode animal = new JcNode("a");
JcNode dog = new JcNode("d");
JcRelation animal_to_dog = new JcRelation("a2d");
clauses = new IClause[]{
			MATCH.node(animal).property("idKB").value(id1),
			MATCH.node(dog).property("idKB").value(id2),
			CREATE_UNIQUE.node(animal)
				.relation(animal_to_dog).type("A2D").node(dog),
			RETURN.value(animal_to_dog)
	};

best regards,
Wolfgang


Any reason why Underscore is still being imported instead of Lodash?

I'd happily make this upgrade.

No particularly good reason I can think of, go ahead! :+1:


Bulk generator JS client

Don't forget to update the changelog

This PR needs beta to be updated with the fix on kafka.


Refactor Code into Separate JavaScript and CSS Files

Description:
The current project embeds all JavaScript and CSS code within the HTML file. This proposal suggests separating these concerns into distinct files for improved maintainability and accessibility.
Points:
Separating JavaScript and CSS into game.js and styles.css files respectively enhances code organization.
Clear separation of concerns improves code readability, aiding both current developers and potential contributors in understanding and navigating the project.
Program contributing in:

[x] GSSoc'24
[x]  I follow CONTRIBUTING GUIDELINE of this project.

@Durgesh4993 can you please assign me this issue

@aditya-bhaumik I am assigning this issue to you. Please go ahead


feature: support for the run_batch() method on LocalSimulator

Issue #, if available:
#320
Description of changes:

Create QuantumTaskBatch
Add abstract run_batch to Device
Implements run_batch on LocalSimulator

Testing done:
Integration test test_local_simulator.test_run_batch
Merge Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.
General

[x] I have read the CONTRIBUTING doc
[ ] I used the commit message format described in CONTRIBUTING
[x] I have updated any necessary documentation, including READMEs and API docs (if appropriate)

Tests

[x] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[x] I have checked that my tests are not configured for a specific region or account (if appropriate)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Thank you @kshitijc for the review; I fixed the issues you pointed out and now I am working on the test coverage

I've done the edits you requested, the pull request is ready for another review; linters and tests are returning OK on local.
I was trying to create a test for batch result order on localsimulation, but I'm unable to find a solution with the DummySimulator; my idea was something like this:
def test_run_batch_order():
    def prepare_circuit(value):
        circuit = Circuit()
        for i, x in enumerate(bin(value)[2:]):
            circuit = circuit.x(i) if x == '1' else circuit.i(i)
        return circuit

    dummy = DummyProgramSimulator()
    device = LocalSimulator(dummy)
    num_tasks = 6
    circuits = [prepare_circuit(v) for v in range(num_tasks)]
    batch = device.run_batch(circuits, shots=1)
    assert len(batch.results()) == num_tasks

    for i, x in enumerate(batch.results()):
        # TODO: Check for measurement

I was trying to create a test for batch result order on localsimulation, but I'm unable to find a solution with the DummySimulator; my idea was something like this:

Yes, this looks good! 👍

Thanks so much for the updates! Left a couple more comments. Additionally:
* The checks are failing on the tests due to a memory error, which is concerning. Could you please take a look?

* The changes don't have complete test coverage yet. Please refer to the test coverage matrix attached in the PR to add the missing tests.

@kshitijc  I think I've handled all the issues that you showed; tox is also OK now.

Hello @dakk, the checks are still failing due to insufficient code coverage. Could you please add the missing tests? Thanks!

Hello @dakk, the checks are still failing due to insufficient code coverage. Could you please add the missing tests? Thanks!

I can't understand what is missing; there are two lines that have a partial coverage. Can I ask you if you can have a look?
For line 137 I think I can solve by setting max_parallel in one test.
For line 166 I have to write a case where at least one task of the batch is not a circuit, am I right?

Hello @dakk, the checks are still failing due to insufficient code coverage. Could you please add the missing tests? Thanks!

I can't understand what is missing; there are two lines that have a partial coverage. Can I ask you if you can have a look?
For line 137 I think I can solve by setting max_parallel in one test.
For line 166 I have to write a case where at least one task of the batch is not a circuit, am I right?

Yes, that's correct!

Hello @dakk, the checks are still failing due to insufficient code coverage. Could you please add the missing tests? Thanks!

I can't understand what is missing; there are two lines that have a partial coverage. Can I ask you if you can have a look?
For line 137 I think I can solve by setting max_parallel in one test.
For line 166 I have to write a case where at least one task of the batch is not a circuit, am I right?

Yes, that's correct!

Two test added:

test_batch_with_max_parallel: for testing line 137 (the if branch where max_parallel is not None)
test_batch_with_annealing_problems: for testing line 166 (the if branch where a task is not a Circuit)

Great work here @dakk! tada Thank you for this contribution!

Thank you too for the support!


[FEATURE] Publish plugin zips to maven repo

Is your feature request related to a problem?
With existing setup the plugin jars are only published to maven repo, but not the generated plugin zips.
Related META issue
https://github.com/opensearch-project/opensearch-build/issues/1916
What solution would you like?
A custom gradle plugin solution that can create the publication task for the zips to get published to local staging maven repo with right maven coordinates.
Add/Configure the custom gradle plugin openseearch.pluginzip to the gradle project and test the generated plugin zip's to upload to local maven repo.
More details on how to use the Plugin:
https://github.com/opensearch-project/opensearch-plugins/blob/main/BUILDING.md#opensearchpluginzip
Do you have any additional context?
Current Behavior
Existing all maven publications target the jar files to publish to maven, but not the generated distribution zips.
Expected Behavior
Along with plugin jars, plugin zips should also be published to maven repo with right maven coordinates, so user can download these plugins using dependancy model.

Hey @praveensameneni @lezzago can you please check this?
Thank you
@bbarani

@praveensameneni @lezzago Any updates on publishing notifications plugin zips to maven repo? This is the only plugin not published to Maven at this point in time and blocking us from closing out the Meta issue as well. @CEHENKLE


[BUG] Using arrows to add CPU/Memory in the interface is not taking into account at VM creation

Describe the bug
When creating a Virtual Machine, if we use the little arrows to choose CPU/Memory and not enter it via keyboard it is displayed in the fields but not taken into account when clicking Create.
To Reproduce
Steps to reproduce the behavior:

Go to 'Virtual Machines'
Click 'Create' to create a new VM
Use arrows to add 1 CPU and 1 GiB of Memory
Click 'Create' button

Expected behavior
Adding CPU/Memory via arrows or keyboard in the interface should work.
Environment

Harvester ISO version: v1.1.2 and v1.2.0

If you use firefox, try chrome

If you use firefox, try chrome

Indeed it works with Chrome

@bk201 think it's duplicate with #4179

@jrlittlefoot64 Thanks, I'll close this one.


Node services may never be stared after SIGHUP

Consider the case of reloading RPC server on SIGHUP: https://github.com/nspcc-dev/neo-go/blob/ea69b72cd8dc33fe9e7e445fd1010154adb096ba/cli/server/server.go#L537-L539 Consider the following situation:

Node is in sync, all services are running well including RPC server. Node's server has already been called tryStartServices ones: https://github.com/nspcc-dev/neo-go/blob/ea69b72cd8dc33fe9e7e445fd1010154adb096ba/pkg/network/server.go#L419-L433
Accidently node loses more than 2/3 peers connection.
Node receives SIGHUP and reloads RPC server. StartWhenSynchronized option is set to true. Node is temporary out of sync (less than 2/3 of minpeers are connected, so serv.IsInSync() will return false and relladed RPC server won't be started immidiately.
Node restores all missing connections and fetches all recent blocks. But reloaded RPC server will never be started, because tryStartServices() can start services only once due to this block of code: https://github.com/nspcc-dev/neo-go/blob/ea69b72cd8dc33fe9e7e445fd1010154adb096ba/pkg/network/server.go#L419-L422

As a result, newly created RPC server will never be started even if node reaches sync state.

Node is temporary out of sync

The way it's used in the cli package this is never supposed to happen, externally-visible IsInSync() must check for syncReached flag.


Where is the event log location in Mac?

OS: macOS Catalina 10.15
Pyhon:3.8.5
Run Env: venv
I cloned mitmproxy project and run mitmproxy  in venv with python3.8, but I can't find where the log file is, there is no introduction specified and no related information in mitmproxy --help, can anyone help me

After starting mitmproxy hit the ? key to show the keybindings:
E      View event log
The q to get back to the main screen. E to see event log. q takes you back to main.
The event log is not saved to a file.
Since this is a question about how to use mitmproxy you should probably consider Stack Overflow. Here is an example of someone asking a similar question and getting an answer:
https://stackoverflow.com/questions/51836971/display-mitmproxys-events-log-on-linux
I'm not a developer so I can't close your issue on Github but you might consider doing so to clean up the issue list.

Thanks @rbdixon! ❤

Thanks for ur reply, I am wondering will the feature that event log save to a file for further analysis will be developed in the future

@ZanXusV: mitmdump echoes events to stdout, you can save that if you need to. That being said, the mitmdump dump file should contain all important data.

@ZanXusV: mitmdump echoes events to stdout, you can save that if you need to. That being said, the mitmdump dump file should contain all important data.

OK, got it, very thanks


Test Run aborted

We have a crash somewhere in our functional tests. Info:
.NET Command Line Tools (2.1.0-preview1-007042)

Product Information:
 Version:            2.1.0-preview1-007042
 Commit SHA-1 hash:  e94a82c9a3

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.14393
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Users\dfowler\.dotnet\x64\sdk\2.1.0-preview1-007042\

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.1-servicing-25608-01
  Build    : 1ec0ef9fa5a17cea87ce8b74becd51c300378a2d

Test run for C:\Users\dfowler\Documents\GitHub\SignalR\test\Microsoft.AspNetCore.SignalR.Tests\bin\Debug\netcoreapp2.0\M
icrosoft.AspNetCore.SignalR.Tests.dll(.NETCoreApp,Version=v2.0)
Microsoft (R) Test Execution Command Line Tool Version 15.3.0-preview-20170703-02
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
[xUnit.net 00:00:01.3509728]   Discovering: Microsoft.AspNetCore.SignalR.Tests
[xUnit.net 00:00:01.8908882]   Discovered:  Microsoft.AspNetCore.SignalR.Tests
[xUnit.net 00:00:01.8967109]   Starting:    Microsoft.AspNetCore.SignalR.Tests
The active test run was aborted. Reason:

Total tests: 42. Passed: 42. Failed: 0. Skipped: 0.
Test Run Failed.
Test execution time: 12.1023 Seconds

How often does this happen for you? Can you set the ASPNETCORE_TEST_LOG_DIR env variable to see logs?

@BrennanConroy happened once so far.

I have never seen this...


[frontend] PNG file optimization

Ran optipng -o7 -strip all *.png on all PNG files in public/assets

What does it do?

What does it do?

Makes all of the png files smaller. Since png is a lossless format, we can force maximum compression without compromising the quality of the image.


v3.0.0 See CHANGELOG.md for changes

I feel like this is a very underrated and underutilised gif


Group 2 decided to use HW3

Hello, I am from group 2, we have decided to use HW3 (calculating spring constant).

Thank you @JustinJaniszewski for circulating info. We are working on projectile motion with air resistance. FYI.


Add support for job queue metadata

Needed by Job Scheduler PR on swift-jobs

Shit, I merged the branch here @adam-fowler. I was intending to merge another PR but mixed the two tabs up


Is data preprocessing still needed for new distill script     train_mamba2  /train_distill.py?

I noticed you've combined several chat datasets and use them directly to to the kl-training. Previously you pre-processed data using those data as prompts seed to generate pseudo labels.
I'm wondering if you just retired SeqKD that needs pseudo labels. From my understanding, the pseudo labels generation is not a small task especially for larger teacher model.

Thanks for your question. I conducted some ablation studies on using pseudo labels from my Llama-3-8B experiments. I observed an improvement of 1.5 to 2 points in MMLU, but it comes with increased costs. With the larger model, Llama-3.1-70B, it might be too costly to generate labels. So i did not do that. But I believe there are some different advanced distillation approach like some on-policy distillation, we can get a better model but it may take more time to train.

yes. that is a typo. thanks for point out.


dev_v2 does not recognize decorators and results in an error during compilation

What version of Remix are you using?
1.19.1
Are all your remix dependencies & dev-dependencies using the same version?

[X] Yes

Steps to Reproduce
In the future version of Remix Dev, decorators are not being recognized and prevent the project from being compiled, resulting in an error.

clone the repo: https://github.com/lvisb/remix-v2-dev-decorators-error
npm install
npm run dev

Expected Behavior
In version 1, it works correctly.
Actual Behavior
It results in an error and a suggestion to add the @babel/plugin-proposal-decorators.

This issue did not occur in v1.8.1


Error: API not found at APIError.ExtendableError

Help. I just clone it and run it and got this error below. Please help. Thanks.
Error: API not found at APIError.ExtendableError
{"message":"Not Found","stack":"Error: API not found\n    at APIError.ExtendableError (/Users/joseph/Documents/node-heroku/express-mongoose-es6-rest-api/dist/server/helpers/APIError.js:35:11)\n    at new APIError (/Users/joseph/Documents/node-heroku/express-mongoose-es6-rest-api/dist/server/helpers/APIError.js:63:77)\n    at /Users/joseph/Documents/node-heroku/express-mongoose-es6-rest-api/dist/config/express.js:122:13\n    at Layer.handle as handle_request\n    at trim_prefix (/Users/joseph/Documents/node-heroku/express-mongoose-es6-rest-api/node_modules/express/lib/router/index.js:312:13)\n    at /Users/joseph/Documents/node-heroku/express-mongoose-es6-rest-api/node_modules/express/lib/router/index.js:280:7\n    at Function.process_params (/Users/joseph/Documents/node-heroku/express-mongoose-es6-rest-api/node_modules/express/lib/router/index.js:330:12)\n    at next (/Users/joseph/Documents/node-heroku/express-mongoose-es6-rest-api/node_modules/express/lib/router/index.js:271:10)\n    at Layer.handle as handle_request\n    at trim_prefix (/Users/joseph/Documents/node-heroku/express-mongoose-es6-rest-api/node_modules/express/lib/router/index.js:312:13)\n    at /Users/joseph/Documents/node-heroku/express-mongoose-es6-rest-api/node_modules/express/lib/router/index.js:280:7\n    at Function.process_params (/Users/joseph/Documents/node-heroku/express-mongoose-es6-rest-api/node_modules/express/lib/router/index.js:330:12)\n    at next (/Users/joseph/Documents/node-heroku/express-mongoose-es6-rest-api/node_modules/express/lib/router/index.js:271:10)\n    at /Users/joseph/Documents/node-heroku/express-mongoose-es6-rest-api/node_modules/express-winston/index.js:291:9\n    at Layer.handle as handle_request\n    at trim_prefix (/Users/joseph/Documents/node-heroku/express-mongoose-es6-rest-api/node_modules/express/lib/router/index.js:312:13)\n    at /Users/joseph/Documents/node-heroku/express-mongoose-es6-rest-api/node_modules/express/lib/router/index.js:280:7\n    at Function.process_params (/Users/joseph/Documents/node-heroku/express-mongoose-es6-rest-api/node_modules/express/lib/router/index.js:330:12)\n    at next (/Users/joseph/Documents/node-heroku/express-mongoose-es6-rest-api/node_modules/express/lib/router/index.js:271:10)\n    at cors (/Users/joseph/Documents/node-heroku/express-mongoose-es6-rest-api/node_modules/cors/lib/index.js:178:7)\n    at /Users/joseph/Documents/node-heroku/express-mongoose-es6-rest-api/node_modules/cors/lib/index.js:228:17\n    at originCallback (/Users/joseph/Documents/node-heroku/express-mongoose-es6-rest-api/node_modules/cors/lib/index.js:217:15)"}
Node v6.3.1
NPM v3.10.3

try going to http://localhost:3000/api/health-check

@tutts gave me result OK. But I am still getting this error. Thanks.

I found the problem. Sorry my mistake. Thanks.

What was the problem & solution?

@cbgrasshopper If you are facing the same problem, I believe the mistake you are making is skipping /api, so instead of hitting localhost:3000/users you should be doing localhost:3000/api/users. Hope that helps.

None of these solutions suited me. Can I get help?

Having the same issue right now..

for my case it was http://localhost:4040/api/health-check


Altair producing a deprication warning

fyi,
Altair is now producing a deprecation warning:
AltairDeprecationWarning: alt.pipe() is deprecated, and will be removed in a future release. Use toolz.curried.pipe() instead.

gpdvega/geodata.py:38: FutureWarning: Using short name for 'orient' is deprecated. Only the options: ('dict', list, 'series', 'split', 'records', 'index') will be used in a future version. Use one of the above to silence this warning.
  data.drop(

Is this library still supported? It's a great tool, so I hope so!

@nickeubank since https://github.com/altair-viz/altair/pull/1664
Altair has support of geopandas - try it.

OH! Thanks!


Fix error when attempting to load more than 50000 related Program Engagements

Critical Changes
Changes

On Bulk Service Delivery Wizard and the Service Schedule Wizard, the participant/contact selector screen will now present a larger amount of data up to the maximum number rows allowed by SOQL.
On Service Schedule Wizard when in Lightning Debug Mode there is no longer a console error and the Frequency options load.

Issues Closed
New Metadata
Deleted Metadata
Definition of Done
Refer to Asteroids DoD document to see any additional details for the items below
Any net new LWC work has Sa11y tests & 50% or above lines JEST test coverage
CRUD/FLS is enforced in Apex
Permission sets are updated to account for CRUD|FLS|Tab|Classes
Field sets are updated to account for new fields
UX approval or UX not necessary

[x] Link the pull request and work item by PR comment and Chatter post respectively, e.g. GUS: W-0000000: Work Name (https://github.com/SalesforceFoundation/PMM/pull/303)
[ ] All acceptance criteria have been met

[x] Developer
[ ] Code Reviewer
[ ] QA

[x] PR contains draft release notes
[ ] QE story level testing completed

W-9349608
W-8939858


refactor(DockViewV2): split script into modules

split script into modules

Description
close #3664

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: ArgoZhang:x: zhaijunlei955You have signed the CLA already but the status is still pending? Let us recheck it.


Crashing Obsidian

When playing a YouTube Video through Media Extended Obsidian, closes within seconds.

I have the same issue. every time I open a downloaded video, it just crashes obsidian.

Same here. About 10 seconds the player crashes


fix: fix request logging

:tada: This PR is included in version 0.21.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Bluetooth option gets greyed out when Exposure logging is enabled

Technical details

Device name: iPhone 11 Pro Max
iOS version: 14.5.1
App version: 2.1.3

Describe the bug
Bluetooth gets disabled or completely greyed out, the Bluetooth module goes into auto on off mode and it keeps on refreshing and the phone becomes slow because of the background refresh.
I even got my phone replaced because the Bluetooth was greyed out and I was not able to use any accessories with my phone. After the replacement the new phone had the same issues. I did some digging, by reset the network, reset the phone completely, disable the bluetooth devices one by one. Finally, when I disable exposure logging and remove CWA, this issue vanishes. I am not sure how to contact Apple Dev support, but if it is a possibility to look from the CWA side let me know if I can run a testflight build and can provide some logs
Steps to reproduce the issue
Enable exposure logging in the settings. Use any app CWA/CoronaMelder. After sometime the Bluetooth toggle gets greyed out. If we go into settings and the Bluetooth option is greyed out and we will not be able to see the connected devices.
Expected behaviour
Exposure logging should not interfere with the bluetooth functionality of the phone.
Possible Fix
Reboot the device fixes it. But I cannot reboot 4-5 times in a day so that my Bluetooth would work as expected.
Possible workaround is to disable exposure logging and remove the app. It has been a week since I disabled the logging and removed the app and I have not seen a single instance of this issue.

EDIT Corona-Warn-App Open Source Team
Related  to
https://github.com/corona-warn-app/cwa-app-ios/issues/1193 ?
Internal Tracking ID: EXPOSUREAPP-2869 ?

Hey @diimaan
Thank you for opening this issue here (:
Do you have CWA installed currently? If yes, could you share a screenshot of how the Bluetooth Settings looks once it gets grayed out? What does CWA show? What do you see in "Begegnungsmitteilungen"?
If you have CWA installed, please also update to version 2.2 and see if anything has changed? Do you experience any other issues with the app?
We also have a FAQ-Entry regarding such problems, but since you said you even got your phone replaced I assume that there are no new/helpful informations in for you: https://www.coronawarn.app/en/faq/#various_device_problems

Hi @diimaan,
Thanks for your report here. Please, follow the suggestions  made by @Ein-Tim. Should the problem persist, we have the option in CWA version 2.2 to create an error report.
Best wishes, DS

Corona-Warn-App Open Source Team

Also, did you try this?
https://www.coronawarn.app/en/faq/#ios_black_screen
https://www.coronawarn.app/de/faq/#ios_black_screen

Yes I did a complete reset. And at Apple Genius Bar, they replaced my phone as they were not able to get it fixed.
But after getting the new phone, I had the same problem. I tried the reset routine and it was the same!
To dig more and isolate the issue I did the following,
After a complete reset and restore of apps. I tried disabling the apps and devices I frequently use or connect:
1, I disabled my VPN (Mullvad), run it for a day and still the problem was persisting! (This was my primary suspect)
2, Removed all my paired devices, run it for a day and still was the same. (Including my Apple Watch)
3, Then I saw that Exposure Logging was enabled. I disabled that and removed all associated apps(CWA), run it for a day I did not had the issue. Now it has been a week since that and it is working without the glitch!
Just wanted to get to the root of this so I posted here as I was not aware about the community before. Else would have shared screenshots and logs at that time itself.
I have installed the latest version of CWA(2.2.x) and enabled Exposure Logging. I will run it for a week and post updates and logs if necessary.

@diimaan Thank you very much! Have a nice Friday & a great weekend!

@diimaan
If you want to you could give this another try under iOS 15 & CWA 2.10.2.
If not I suggest to close this issue as this seems to be an edge case and this can't really be fixed by the CWA devs but has to be fixed by Apple.

The "in review" label is applied here since 21.05.2021, so over a year.
@diimaan Is this still occurring under iOS 15.4.1 and with the latests CWA?
@dsarkar Is this really still "in review"?

This should be fixed already please re open if you face an issue with it @diimaan , thanks!


Yi outdoor 1080 not hack

I need help, Where am I wrong?, I download the latest version, everything I do fails, yi cam outdoor 1080
I try with 4 different sd card
IFUSY59UGGUV0A201222
Version: <IP_ADDRESS>_202104231123

Which archive are you trying? h30ga?
Is the folder "Factory" renamed to "Factory.done"?


[FIX] When an entity is enabled / disabled then onEnable / onDisable for...

... scripts will be called after all other components have been enabled / disabled for the entity and all its children

Not relevant anymore as of scripts 2.0.
If similar implementation needs to be made for new scripts, shall be done as new pr as this one is 2,790 commits behind.


pull

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-1396-2 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1396/2/index.html

Closing this PR as the code appears to be unrelated to AutoGluon.


Fix implicit 'double' conversion reported by Clang

JerryScript-DCO-1.0-Signed-off-by: Adam Kallai<EMAIL_ADDRESS>

Hi Folks,
It remained one conversion error reported by Clang, this CL aims to fix that.
A snippet of the error:
/home/kadam/jerryscript/jerry-core/ecma/builtin-objects/ecma-builtin-array-prototype.c:1309:7: error: implicit conversion from 'ecma_length_t' (aka 'unsigned long') to 'double' may lose precision [-Werror
,-Wimplicit-int-float-conversion]
if (new_length > ECMA_NUMBER_MAX_SAFE_INTEGER)
^~~~~~~~~~
Could anyone take a look at that?

LGTM (informal)


Add GTT Provider and Update Equinix

Add GTT as a provider, with London2 and add Milan to Equinix provider

@mialdrid : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Add config modal

Adds a modal describing the format of the config file. This content will be updated after making changes to the test suite library.

Preview is available here:http://stellar-anchor-tests-pr28.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-anchor-tests-pr28.previews.kube001.services.stellar-ops.com/

Preview is available here:http://stellar-anchor-tests-pr28.previews.kube001.services.stellar-ops.com/


Fix : Add a contact form to contact page

I will work on this. Assign me to it please

Great, I'll begin to work on it now.
Do you want the styling to be exactly the way it is on the photo?

Awesome, thanks!
On Fri, 20 May 2022, 5:39 pm Takshak Ramteke, @.***>
wrote:

Assigned #38 https://github.com/TakshakRamteke/Oldportfolio/issues/38
to @Sir-Rumeh https://github.com/Sir-Rumeh.
—
Reply to this email directly, view it on GitHub
https://github.com/TakshakRamteke/Oldportfolio/issues/38#event-6652135966,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AW2BG6DWPE5V6DHIU4MMAT3VK6525ANCNFSM5WJEMBHA
.
You are receiving this because you were assigned.Message ID:
@.***>

Yeah sue that'd be great if you can do that ...
I'll be Looking forward to it
Also if you need some help Please feel free to ask for it anytime

Will do, thanks!
On Sat, 21 May 2022, 9:07 am Takshak Ramteke, @.***>
wrote:

Yeah sue that'd be great if you can do that ...
I'll be Looking forward to it
Also if you need some help Please feel free to ask for it anytime
—
Reply to this email directly, view it on GitHub
https://github.com/TakshakRamteke/Oldportfolio/issues/38#issuecomment-1133561267,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AW2BG6AHVIILWIKYR6YBUQTVLCKT3ANCNFSM5WJEMBHA
.
You are receiving this because you were mentioned.Message ID:
@.***>


[Question] - Minimum Adobe Illustrator Version?

Hi,
What's is the minimum Adobe Illustrator version I need to have that supported by this Specify?
Thanks.

I'm not sure of the minimum as I don't have older versions of Illustrator available to test. It should work back to at least CS 5.