form with direction RTL have render issues with TimeLine + Zoom and other

Wavesurfer.js version(s):
v2.01
Browser version(s):
Chrome 64.0.3282.140 , Firefox quantum 58.0.1
Code needed to reproduce the issue:
Add dir="RTL" on your form and test seek, play ..
I do it on this code  : https://github.com/katspaugh/wavesurfer.js/issues/new
`<div dir="RTL">

 ....`
Workarround for me => always put dir="LTR" in wave div !
In this case wavesurfer is alway LTR for all.

@awenger63 what are you suggesting exactly? Any improvements that can be made to this library?

First suggestion can be  : have a default value for dir = "LTR" than wavesurfer always ready when it'is implemented in a RTL form (like the workarround). It's for make a trace that I have created this issue and if someone have same issue.
Second, it's depend of RTL country habits. In this case, users would like the wave on the other side ... This need require to reverse or inverse all functionnality (plugins too) and it should be a little complexe. Today it'snt necessary for my actual end user, wavesurfer's always the same direction. Perhaps nobody need, than first suggestion can be the solution to not inherit dir property.
is it answer the questions ?

@awenger63 can you make a pull request and change the actual code so it's easier to see your intention?

also see #1540

Thanks @thijstriemstra , it will be better than my workarround to have a solution for LTR if it' need for user country usage. Use a param to make it like an option is very friendly because some user (LTR env) would like stay with wave RTL !

Nice, I will test it with the end users when they want to put it in place


Add withServerParams method to ServerRequest

ServerRequest contains methods like withCookieParams or withQueryParams, but it does not provide any way of changing server params. withServerParams is not even present in PSR-7 interface. Was it a deliberate choice (I can't find any discussion on this subject)?
I found this method missing when working on a middleware that normalizes how information about HTTPS is passed into next layers. Usually you check it with $_SERVER['HTTPS'], but if your webserver is behind proxy, you may have to check other headers. I would like to write middleware like this one:
class HttpsMiddleware
{
    public function __invoke(ServerRequestInterface $request, ResponseInterface $response, callable $next)
    {
        $params = $request->getServerParams();
        if ((isset($params['HTTP_X_FORWARDED_PROTO']) && $params['HTTP_X_FORWARDED_PROTO'] == 'https')
            || (isset($params['HTTP_CF_VISITOR']) && $params['HTTP_CF_VISITOR'] == '{"scheme":"https"}')
        ) {
            $params['HTTPS'] = 'on';

            $request = $request->withServerParams($params);
        }

        return $next($request, $response);
    }
}

This PR adds withServerParams method to ServerRequest implementation (in obviously not-SOLID way), but at least this problem is flagged somewhere.

The decision not to have the method was a deliberate choice when creating PSR-7. Server parameters are not expected to change over the course of a request, and are expected to be injected during instantiation only. If you need to change them, you should do so before creating the request, or create a new request instance.


fix: load default assets on refresh

Description

Notice

[ ] Have you followed the guidelines in our Contributing guide?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

Testing

Engineering

Operations

Screenshots (if applicable)

Current dependencies on/for this PR:

08-31-refactor_simplify_useToggle

PR #2618

PR #2619   👈

This comment was auto-generated by Graphite.

Graphite Merge Job
Current status: ⏳ Queued to merge
This pull request is currently queued to be merged as part of a stack.
This comment was auto-generated by Graphite.

Job Reference: KFwa69VVfFg5xHjr8un0


Browser Unpack Example Does Not Work

$ browserify x.js y.js > bundle.js
$ browser-unpack < bundle.js | factor-bundle \
  x.js -o bundle/x.js \
  y.js -o bundle/y.js \
  > bundle/common.js

bundle/common.js is created. Neither bundle/x.js or bundle/y.js are created. It is my understanding that these bundles should be created with the modules that exist in the common bundle being omitted.

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

does the bundle directory exist?

Yes it does. I just attempted this again with a clean directory by doing the following:
npm install browserify browser-unpack factor-bundle
mkdir bundle
cp node_modules/factor-bundle/example/files/* .
browserify x.js y.js > bundle.js
browser-unpack < bundle.js | factor-bundle x.js -o bundle/x.js y.js -o bundle/y.js > bundle/common.js
ls bundle
  common.js


Asserting wchar_t strings

Hello,
This PR adds another assertion, same as ASSERT_STR but accepts and compares wchar_t * types instead of char *.

merged

what issue did you run into to need the sanitizer attribute?

Oh, sorry, originally I didn't want to include that in the PR. I get the following report:
==16618==ERROR: AddressSanitizer: global-buffer-overflow on address 0x555af21e1d1c at pc 0x555af1fae6c4 bp 0x7ffcfd09d020 sp 0x7ffcfd09d010
READ of size 4 at 0x555af21e1d1c thread T0
    #0 0x555af1fae6c3 in ctest_main deps/ctest/ctest.h:483
...
Address 0x555af21e1d1c is a wild pointer.
SUMMARY: AddressSanitizer: global-buffer-overflow deps/ctest/ctest.h:483 in ctest_main

Sanitizer flags:  -fsanitize=address -fsanitize=leak -fsanitize=undefined

I don't think it will break anything.. maybe more people can test it.. (mac?)


Login attempts dont clear previous input

Describe the bug
For some reason today, ibeam had to re-auth and failed to login. After restarting it, it worked again.
I checked the logs and had the following:

I looked at the created PNGs and noticed, that the username and password kept repeating in the inputs for each successive re-try, essentially adding to the name and password instead of replacing the existing values
Expected behavior
Re-load the login page before attempting a new login or clear the inputs
Environment
IBeam version: voyz/ibeam:latest (0.4.5)
Docker image or standalone: docker
OS: linux

Hey @JackD111 thanks for submitting this issue and sharing all the details 👍
That is very well spotted, I'm ashamed this bug hid out here for so long 🙈
I've added .clear() to all input fields where we input text. I've pushed voyz/ibeam:0.4.6-rc4 with that fix, let me know if it helps.

Thank you, appreicate the fast update. I'll run the new image version and report back, if there are issues.

Hey @JackD111 just pushed 0.4.6 as latest, closing this issues as completed. Feel free to continue the discussion if necessary though.


Switch Erigon users to new repo

This new image supports amd64 again, and latest tag works
The Erigon team switched from alpine to debian
Unrelated cleanup: Remove unused wget from Reth, and Grandine source build
Erigon source build was tested locally, as there is no CI for source builds

LGTM! Only change that stands out is the removal of --recurse-submodules, which I presume is no longer needed?


Fix global local stand-in for fetchJSON to handle non-JSON gracefully

See https://github.com/morgen-so/morgen-vm/pull/4

That's true, but I suspect there is a better change to be made that involves removing it completely, e.g. supporting axios.
And at any rate, we can only deprecated it because it's used in user code. I'll merge for now and keep in mind that we probably should support a single fetch API at some point that handles either JSON response or text response.


Suggestion: sort by recently caught

I second this ^^

So, I think the property we want to sort be is "creation_time_ms", but I'm unsure of how to map that to an actual time. Here's an example:
"creation_time_ms": {
"low": -924682416,
"high": 341,
"unsigned": true
}
Anyone have any ideas?

I found the code @ SO.
The return date of the code is like of "weird", but it's still in 2016 :)

var xx = 341 * (Math.pow(2, 32));
var yy = xx + (-924682416);
var zz = new Date(parseInt(yy));
alert(zz);
Thu May 19 2016 19:59:25 GMT+0800 (Malay Peninsula Standard Time)

@YuweISG I don't think that's right. Pokemon Go didn't launch in the US until 07/06, so there's no way I caught that one in May. Unless that's not the right property, but I don't see any other that looks more like a caught time...

Saw this post which linked me to long.JS
I managed to follow the example and came out with the code to test on nodejs.

var http = require('http');
var server = http.createServer(function(req, res) {
res.writeHead(200);
var Long = require("long");
var myObj = {
"creation_time_ms": {
"low": -924682416,
"high": 341,
"unsigned": true
}
};
var longVal = new Long(myObj.creation_time_ms.low, myObj.creation_time_ms.high, myObj.creation_time_ms.unsigned);
console.log(longVal.toString());
var realDateTime = new Date(parseInt(longVal));
res.end(realDateTime.toString());
});
server.listen(8080);
Output: Fri Jul 08 2016 13:02:12 GMT+0800 (Malay Peninsula Standard Time)

That looks more correct. Thanks for finding that @YuweISG! I can work on getting this in tonight.

I almost forgot, is anyone interested in actually seeing the catch time in the card view or just sorting by it?
I have to add it in the table to have it as a sort option there, but I don't think catch time is useful information in the card view. I don't particularly care when I caught a Pokemon. I really only want to know the IVs of that Bellsprout that I just caught, so it's useful to sort by recent to distinguish my new Pokemon from my existing Pokemon.
Does anyone disagree?

This requires npm install be done again. Had to add long.js as a dependency.

Yeah I agree, only sorting is important.
Also, we could display the pokeball type the pokemon was catched with (it's returned by the API), but it's not a useful information IMO.


Broken swapbot link

Swapbot service has been discontinued. Need to update the link to point to https://tokenmarkets.com/catalog/jdog

Added ability to buy FULLACCESS and XCHAINPEPE assets from DEX using BTC and XCP in v0.9.9


pythonPackages.matrix-client: 0.2.0 -> 0.3.2

Motivation for this change
Update and rename (it's matrix_client on pypi, not matrix-client).
Tests are ~running~ done.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option 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)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Cc @FRidh @dotlambda

@GrahamcOfBorg build python2.pkgs.matrix-client python3.pkgs.matrix-client

Success on x86_64-linux (full log)
Attempted: python2.pkgs.matrix-client, python3.pkgs.matrix-client
Partial log (click to expand)
platform linux -- Python 3.6.5, pytest-3.6.2, py-1.5.3, pluggy-0.6.0
rootdir: /build/matrix_client-0.3.2, inifile: setup.cfg
collected 37 items

test/api_test.py ..................                                      [ 48%]
test/client_test.py ...................                                  [100%]

========================== 37 passed in 0.71 seconds ===========================
/nix/store/i6gn8j3fx4ff31w3558jiynrickgn867-python2.7-matrix_client-0.3.2
/nix/store/pfbh8ip5n2ihikhscajrircv7xmbslgr-python3.6-matrix_client-0.3.2

Success on aarch64-linux (full log)
Attempted: python2.pkgs.matrix-client, python3.pkgs.matrix-client
Partial log (click to expand)
platform linux -- Python 3.6.5, pytest-3.6.2, py-1.5.3, pluggy-0.6.0
rootdir: /build/matrix_client-0.3.2, inifile: setup.cfg
collected 37 items

test/api_test.py ..................                                      [ 48%]
test/client_test.py ...................                                  [100%]

========================== 37 passed in 2.50 seconds ===========================
/nix/store/nnj59f0xymsf399w1ccr7qbj2bmgcvv0-python2.7-matrix_client-0.3.2
/nix/store/fs2mf4bf3gdrnm2sxy483nv7p1gp3kab-python3.6-matrix_client-0.3.2

I already tested it with nox-review and it's all good.

I already tested it with nox-review and it's all good.

You know there's nix-review? :)

@GrahamcOfBorg build python2.pkgs.matrix-client python3.pkgs.matrix-client

Success on x86_64-linux (full log)
Attempted: python2.pkgs.matrix-client, python3.pkgs.matrix-client
Partial log (click to expand)
platform linux -- Python 3.6.5, pytest-3.6.2, py-1.5.3, pluggy-0.6.0
rootdir: /build/matrix_client-0.3.2, inifile: setup.cfg
collected 37 items

test/api_test.py ..................                                      [ 48%]
test/client_test.py ...................                                  [100%]

========================== 37 passed in 0.86 seconds ===========================
/nix/store/dzkh19pf60lggp3ci837iqp7z0l3x58w-python2.7-matrix_client-0.3.2
/nix/store/f4kihzv43i7zmcd6vllmw9ddpjzj2w9g-python3.6-matrix_client-0.3.2

Success on aarch64-linux (full log)
Attempted: python2.pkgs.matrix-client, python3.pkgs.matrix-client
Partial log (click to expand)
platform linux -- Python 3.6.5, pytest-3.6.2, py-1.5.3, pluggy-0.6.0
rootdir: /build/matrix_client-0.3.2, inifile: setup.cfg
collected 37 items

test/api_test.py ..................                                      [ 48%]
test/client_test.py ...................                                  [100%]

========================== 37 passed in 2.36 seconds ===========================
/nix/store/h155ry8hgy66ylksi3jvhpd45yz3z7pq-python2.7-matrix_client-0.3.2
/nix/store/iifhy2ip24wzlxq4k3hb2nci6pimmvxf-python3.6-matrix_client-0.3.2

You know there's nix-review? :)

I did not so thanks for that. It doesn't seem to do what nox-review wip did, though. Or am I missing something?

No, not wip but you can give it a local commit using rev.

I found rev. My guess is that wip isn't possible due to the use of git work trees.


The keyboard shortcut keys for character encoding comboboxes have no effect.

This bug also has existed since when the keys had been implemented...

Fixed at 56d9a70.


License and adding to Go packages?

Currently trying to unofficially package this for my distro but i am unable to directly install this via go.
no required module provides package github.com/BetaPictoris/dict; to add it:
        go get github.com/BetaPictoris/dict

go: downloading github.com/BetaPictoris/dict v1.0.0
go: github.com/BetaPictoris/dict@latest: module github.com/BetaPictoris/dict@latest found (v1.0.0), but does not contain package github.com/BetaPictoris/dict

I've added the MIT license so that it can be used how ever you'd like. Packaging Dictionary CLI is something I want to do, and I'll work on it soon.

#6: Added AUR support.

Currently trying to unofficially package this for my distro

i am referring to Void Linux. In-order to build a Go package, it needs to have an import path.
https://github.com/void-linux/void-packages/blob/master/Manual.md#pkgs_go

Also do this for https://github.com/BetaPictoris/wiki.

Currently trying to unofficially package this for my distro

i am referring to Void Linux. In-order to build a Go package, it needs to have an import path.
https://github.com/void-linux/void-packages/blob/master/Manual.md#pkgs_go
https://pkg.go.dev/

Oh, I see, I was doing this for another project, that I hope to get up soon. I'll make the changes soon.

Also do this for https://github.com/BetaPictoris/wiki.

Yeah, I want to package Wiki CLI too.

can you make a new release of the package incase there were changes?

@wael444 I'll add a new release in a bit, there are a few things that need fixing and being updated first. I did think there was a way to specify a branch for Go commands but if there isn't I can rename the branch.

7edb0754f6e776fa582f0fd85df43d1cd1734647: Added a new makefile. Dictionary CLI can now be built for Debain/Ubuntu package managers. I'd check to see if your current scripts/packages work with the new makefile.
Also, here is the new release: v1.1.0

no required module provides package github.com/BetaPictoris/dict; to add it:
        go get github.com/BetaPictoris/dict

pkg.go.dev/github.com/betapictoris/dict seems to work, but not BetaPictoris.

index: added `dict-git-1.1.0_1' (x86_64).
index: 1 packages registered.
=> dict-git-1.1.0_1: removing autodeps, please wait...
=> dict-git-1.1.0_1: cleaning build directory...
=> dict-git: removing files from destdir...
ephemera ~/.local/src/my $ xls dict-git
/usr/bin/dict

another problem: there is already a package called dict,
DICT protocol dictionary client, from the dictd developers.
is there another name i can use for dict? such as dict-git or dict-cli?
wiki doesnt have a problem with this.

The issue is with the Void Linux repo, right?

The issue is with the Void Linux repo, right?

Yes.

The I'd think either dict-git or dict-cli would work, although I think dict-cli would work better.

The I'd think either dict-git or dict-cli would work, although I think dict-cli would work better.

then so would the binary name has to be changed.
ephemera ~/.local/src/my $ xbps-query -R -f dict
/etc/dict/colorit.conf
/etc/dict/dict.conf
/usr/bin/colorit
/usr/bin/dict
/usr/bin/dict_lookup
/usr/bin/dictl
/usr/share/examples/dictd/dict1.conf
/usr/share/man/man1/colorit.1
/usr/share/man/man1/dict.1
/usr/share/man/man1/dict_lookup.1
/usr/share/man/man1/dictl.1

i can easily change the binary name with vbin, just wanted to let you know about this.
dict is the package i was referring to.
on an unrelated note.

there is no package named or has a binary named wiki. (void repos)

i can easily change the binary name with vbin, just wanted to let you know about this.

Okay, that sounds fine, there would just have to be a message on the documentation that says what the binary name is.

on an unrelated note.

I'll go and fix that on the Wiki CLI repo, and it's good that the wiki package is available.

I'll go and fix that on the Wiki CLI repo, and it's good that the wiki package is available.

pkg.go.dev/github.com/betapictoris/wiki works now.


Problem with documentation

All right with extension?
Why in this structure:
-Countries
--England
--New Zealand
After Auckland->appendTo(New Zeland) if i checking Auckland's  parent, than this it's null?
But parent of NewZealand it's Countries (true).
Yii <IP_ADDRESS>

Please provide sample code.

Init table with 3 records

$rootObject = new DictObject([
            'id' => '1',
            'name_full' => 'root'
        ]);
        $rootObject->makeRoot()->save();
        $others = DictObject::find()->where(['>', 'id', 1])->all();
        foreach ($others as $other) {
            $other->appendTo($rootObject)->save();
        }

results
2. Add new child for 'Корпус 1':
$model = new DictObject(['name' => 'к11']);
$parent = DictObject::findOne(['id' => 3]);
$model->appendTo($parent)->save();
result

On testing gridview parent к11 = null:
[
'label' => Yii::t('app', 'Parent Object'),
'value' => function ($value) {
return $value->parent->name_full;
}
],
result

Why Корпус 1-3 has left = right = 4 in first step? It is wrong!
How were these nodes added?
Каким образом были добавлены узлы «Корпус 1-3»? У них неверные значения left и right.

In foreach cycle on 1 first step

What initial data in DB before the first step run?

Just columns id and full_name without ext columns (lft .. tree)

As I understand it DictObject has attributes left and right.
By that line: $others = DictObject::find()->where(['>', 'id', 1])->all(); you are find some models in this models (and this table).
That's why I'm asking what are the values of the attributes tree/left/right/depth?

Default, same as in migration = 0:
$this->addColumn('dict_object', 'tree', $this->integer());
$this->addColumn('dict_object', 'lft', $this->integer()->defaultValue(0));
$this->addColumn('dict_object', 'rgt', $this->integer()->defaultValue(0));
$this->addColumn('dict_object', 'depth', $this->integer()->defaultValue(0));
$this->createIndex('lft', 'dict_object', ['tree', 'lft', 'rgt']);
$this->createIndex('rgt', 'dict_object', ['tree', 'rgt']);

This is initial data, correct?

yes

The problem is that you are trying to store input plain data in a tree-structured table. Because of this, an error occurs, because from the point of view of behavior, all nodes that you currently are all roots with a single tree attribute = null. I't is wrong input data.
If you want to fill the tree-structure, store the input data in another table, or make the nodes real roots with different tree attribute:


Docs don't know about width or height properties

An error in the documentation

https://photonstorm.github.io/phaser-ce/Phaser.Image.html
height and width aren't listed anywhere on that page, but they apparently remain in the source code.
https://github.com/photonstorm/phaser-ce/blob/v2.10.1/src/pixi/display/Sprite.js#L140

PIXI.DisplayObjectContainer properties need to be renamed.


Events map symbols

Checklist

[x] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added all necessary documentation (if appropriate)

What was done
This adds support for matching to actions that are defined by Symbols, rather than simple strings. The only reason the previous implementation didn't work for this use case is because symbol properties aren't returned from Object.keys. Making sure that we have those symbol properties when comparing to the actionType fixes the issue with no further complications.
The only gotcha here is that symbols aren't universally supported yet so I included a short circuit in case the required object method isn't available.
I didn't add any additional documentation since I figure most people aren't using redux this way and it kind of behaves the way you would expect it to if you do happen to be. However, I can add some if you would like.
Associated Issues

None that I can find

Thanks and let me know if there's anything else that needs to be done! 🍻

@cbargren This is perfect. It's available in the latest version. I published it as a minor update as it is technically a new feature. I don't think docs are needed for now, but wouldn't be opposed to adding a note here in the future.


error on creating logs archive

2016-08-09 12:59:54,015 ERROR: tools: run(): 'utf8' codec can't decode byte 0x8b in position 1: invalid start byte
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/timmy/tools.py", line 100, in run
    result = self.target(**self.args)
  File "/usr/lib/python2.7/site-packages/timmy/nodes.py", line 274, in exec_simple_cmd
    prefix=self.prefix)
  File "/usr/lib/python2.7/site-packages/timmy/tools.py", line 267, in ssh_node
    return launch_cmd(cmd, timeout, input=input, ok_codes=ok_codes)
  File "/usr/lib/python2.7/site-packages/timmy/tools.py", line 220, in launch_cmd
    outs = outs.decode('utf-8')
  File "/usr/lib64/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)

Which command? Probably the output contains garbage non-ascii and non-unicode chars, I had an identical issue with https://github.com/adobdin/timmy/blob/master/rq/scripts/blkid-o-list


himitsu: 0.1 -> 0.3

Description of changes
Update to lastest version which builds correctly.
ZHF: #230712
Result of nixpkgs-review run on x86_64-linux 1

1 package failed to build:

himitsu-firefox

1 package built:

himitsu

himitsu-firefox was already failing and it appears to be related to the hare programming language update, it appears to require a module/library not currently in nixpkgs: hare-json which doesn't appear to have a release version currently.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 231400 run on x86_64-linux 1

1 package failed to build:

himitsu-firefox

1 package built:

himitsu


Always returning ConsentType.UNKNOWN

FlutterFundingChoices.requestConsentInformation() always returns ConsentInformation with ConsentType.UNKNOWN
no matter the choice chosen by the user. But when we choose do not consent the ads doesn't load at all.
After searching for the issue I found this https://www.reddit.com/r/adops/comments/ifh6n9/anybody_using_google_funding_choices_for_gdpr_cmp
I would like to know if you faced a similar problem when you implemented this plugin for your apps and if so how did you solve it.

I would like to know if you faced a similar problem when you implemented this plugin for your apps and if so how did you solve it.

Yes I found a similar problem on my Android emulator. But, quoting your provided link :

To address your concern, this behavior is expected - window.googlefc.getConsentStatus() will always return window.googlefc.ConsentStatusEnum.UNKNOWN if you're using the IAB TCF v2 framework. This status is only applicable if you're using the simplified Google GDPR consent framework.

(and I think it's similar on Android & iOS UMP SDKs)
But I agree that Google is not precise on that point.

Closed due to inactivity.

I am also facing this issue now. I have read the Reddit post but I still don't understand what it means...
I have the ConsentType UNKNOWN and the ConsentStatus REQUIRED even after accepting every single think I could check.
There seem to be many things written in the Logs :
[. . .]
D/UserMessagingPlatform(13770): Writing to storage: [IABTCF_CmpSdkVersion] 1
D/UserMessagingPlatform(13770): Writing to storage: [IABTCF_PolicyVersion] 2
D/UserMessagingPlatform(13770): Writing to storage: [IABTCF_gdprApplies] 1
D/UserMessagingPlatform(13770): Writing to storage: [IABTCF_PublisherCC] FR
D/UserMessagingPlatform(13770): Writing to storage: [IABTCF_PurposeOneTreatment] 0
D/UserMessagingPlatform(13770): Writing to storage: [IABTCF_UseNonStandardStacks] 0
D/UserMessagingPlatform(13770): Writing to storage: [IABTCF_VendorConsents] 0
[. . .]

I found this about the IAB TCF v2 which may explain what they are : https://github.com/InteractiveAdvertisingBureau/GDPR-Transparency-and-Consent-Framework/blob/master/TCFv2/IAB Tech Lab - CMP API v2.md
But I don't know if I have to read some value in the SharedPreferences to know if the user allowed me to use personalized ads and if so, which shared preference value ?
The more I see about the UMP the more I get lost 😞 How did you manage to use the UMP SDK?

I am also facing this issue now. I have read the Reddit post but I still don't understand what it means...
I have the ConsentType UNKNOWN and the ConsentStatus REQUIRED even after accepting every single think I could check.
There seem to be many things written in the Logs :
[. . .]
D/UserMessagingPlatform(13770): Writing to storage: [IABTCF_CmpSdkVersion] 1
D/UserMessagingPlatform(13770): Writing to storage: [IABTCF_PolicyVersion] 2
D/UserMessagingPlatform(13770): Writing to storage: [IABTCF_gdprApplies] 1
D/UserMessagingPlatform(13770): Writing to storage: [IABTCF_PublisherCC] FR
D/UserMessagingPlatform(13770): Writing to storage: [IABTCF_PurposeOneTreatment] 0
D/UserMessagingPlatform(13770): Writing to storage: [IABTCF_UseNonStandardStacks] 0
D/UserMessagingPlatform(13770): Writing to storage: [IABTCF_VendorConsents] 0
[. . .]

I found this about the IAB TCF v2 which may explain what they are : https://github.com/InteractiveAdvertisingBureau/GDPR-Transparency-and-Consent-Framework/blob/master/TCFv2/IAB Tech Lab - CMP API v2.md
But I don't know if I have to read some value in the SharedPreferences to know if the user allowed me to use personalized ads and if so, which shared preference value ?
The more I see about the UMP the more I get lost 😞 How did you manage to use the UMP SDK?

I have read the Reddit post but I still don't understand what it means...

It just means that the consentType getter is useless for the moment because it always return a UNKNOWN status. Pretty simple, no ? 😄

There seem to be many things written in the Logs

As you said, in the IAB specs, the CMP has to write the user consent data using very specific SharedPreferences key/value pairs (on Android) ; this is what is written in the logs.

But I don't know if I have to read some value in the SharedPreferences to know if the user allowed me to use personalized ads and if so, which shared preference value ?

AdMob will read it for you ! With Funding Choices, you can't read the user consent data (except the output of requestConsentInformation) ; but it's very specific to Funding Choices. For instance, Ogury allows you to check which purposes have been accepted by the user.

The more I see about the UMP the more I get lost 😞 How did you manage to use the UMP SDK?

I don't use it because of #4 tbh.

I have read the Reddit post but I still don't understand what it means...

It just means that the consentType getter is useless for the moment because it always return a UNKNOWN status. Pretty simple, no ? 😄

There seem to be many things written in the Logs

As you said, in the IAB specs, the CMP has to write the user consent data using very specific SharedPreferences key/value pairs (on Android) ; this is what is written in the logs.

But I don't know if I have to read some value in the SharedPreferences to know if the user allowed me to use personalized ads and if so, which shared preference value ?

AdMob will read it for you ! With Funding Choices, you can't read the user consent data (except the output of requestConsentInformation) ; but it's very specific to Funding Choices. For instance, Ogury allows you to check which purposes have been accepted by the user.

The more I see about the UMP the more I get lost 😞 How did you manage to use the UMP SDK?

I don't use it because of #4 tbh.

@Kobatsu

I have read the Reddit post but I still don't understand what it means...

It just means that the consentType getter is useless for the moment because it always return a UNKNOWN status. Pretty simple, no ? 😄

There seem to be many things written in the Logs

As you said, in the IAB specs, the CMP has to write the user consent data using very specific SharedPreferences key/value pairs (on Android) ; this is what is written in the logs.

But I don't know if I have to read some value in the SharedPreferences to know if the user allowed me to use personalized ads and if so, which shared preference value ?

AdMob will read it for you ! With Funding Choices, you can't read the user consent data (except the output of requestConsentInformation) ; but it's very specific to Funding Choices. For instance, Ogury allows you to check which purposes have been accepted by the user.

The Ogury way seems better for the user choices but doesn't seem to have as much functionnalities in the ads area on Flutter as admob, but thank you for the exemple and all the explanations! I will have to find an other way to allow Crashlytics & Analytics.

The more I see about the UMP the more I get lost 😞 How did you manage to use the UMP SDK?

I don't use it because of #4 tbh.

Yeah, I wasn't there yet. I may ending up by disabling personalized ads while it's not fixed, as it was suggested on SO.

@Kobatsu

I have read the Reddit post but I still don't understand what it means...

It just means that the consentType getter is useless for the moment because it always return a UNKNOWN status. Pretty simple, no ? 😄

There seem to be many things written in the Logs

As you said, in the IAB specs, the CMP has to write the user consent data using very specific SharedPreferences key/value pairs (on Android) ; this is what is written in the logs.

But I don't know if I have to read some value in the SharedPreferences to know if the user allowed me to use personalized ads and if so, which shared preference value ?

AdMob will read it for you ! With Funding Choices, you can't read the user consent data (except the output of requestConsentInformation) ; but it's very specific to Funding Choices. For instance, Ogury allows you to check which purposes have been accepted by the user.

The Ogury way seems better for the user choices but doesn't seem to have as much functionnalities in the ads area on Flutter as admob, but thank you for the exemple and all the explanations! I will have to find an other way to allow Crashlytics & Analytics.

The more I see about the UMP the more I get lost 😞 How did you manage to use the UMP SDK?

I don't use it because of #4 tbh.

Yeah, I wasn't there yet. I may ending up by disabling personalized ads while it's not fixed, as it was suggested on SO.

@Kobatsu I've ended up implementing my own dialog for personalized ads consentment. If you're interested, you can find the source code here (it's not perfect, but it's almost ready to use in any project).

@Kobatsu I've ended up implementing my own dialog for personalized ads consentment. If you're interested, you can find the source code here (it's not perfect, but it's almost ready to use in any project).

I also went down the UMP rabbit hole... There is so much information and I am getting more confused.
Are these statements correct? :

we can use this plugin and UMP, but it's still incomplete
admob automatically picks personalized / non personalized ads, based on user decision
even though the admob plugin has the option to serve personalized ads, it would just ignore this setting if I set admob to serve personalized ads as UMP knows better

I also went down the UMP rabbit hole... There is so much information and I am getting more confused.
Are these statements correct? :

we can use this plugin and UMP, but it's still incomplete
admob automatically picks personalized / non personalized ads, based on user decision
even though the admob plugin has the option to serve personalized ads, it would just ignore this setting if I set admob to serve personalized ads as UMP knows better

@Tobivaria

we can use this plugin and UMP, but it's still incomplete

I don't know, it depends on Google plans. I personally think that Funding Choices is far from being complete tbh, but it's usable.

admob automatically picks personalized / non personalized ads, based on user decision

Yes. Based on user decision, it can also choose to not serve any ad at all (see #4) which is the biggest problem of Funding Choices for me.

even though the admob plugin has the option to serve personalized ads, it would just ignore this setting if I set admob to serve personalized ads as UMP knows better

The AdMob plugin only has the option to serve non-personalized ads (it's personalized by default). If you set this option, it should ignore those specified by UMP.

Also in the UMP center, what of these 10 options need to be selected to serve personalized ads ?

See the section Consent policies: Personalized & Non-Personalized Ads of this page.

@Tobivaria

we can use this plugin and UMP, but it's still incomplete

I don't know, it depends on Google plans. I personally think that Funding Choices is far from being complete tbh, but it's usable.

admob automatically picks personalized / non personalized ads, based on user decision

Yes. Based on user decision, it can also choose to not serve any ad at all (see #4) which is the biggest problem of Funding Choices for me.

even though the admob plugin has the option to serve personalized ads, it would just ignore this setting if I set admob to serve personalized ads as UMP knows better

The AdMob plugin only has the option to serve non-personalized ads (it's personalized by default). If you set this option, it should ignore those specified by UMP.

Also in the UMP center, what of these 10 options need to be selected to serve personalized ads ?

See the section Consent policies: Personalized & Non-Personalized Ads of this page.


Build a proper setup.py

Build a proper pythonic setup.py

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 19 Feb 2010 at 12:41

Done


Fix for CPU percentages bug

Usage stats were previously coerced to zero or more with math.Dim before
being the percentage calcuation was made. As they are based on a syscall
which yields processor ticks, the delta between old and new data was
always negative, thus they were always 0.

@malnick sure, that's now done

Upstream https://github.com/dcos/dcos/pull/1290


Error Message: The specified object was not found in the store.

Hi Roger!
I'm facing logs getting flooded with error-messages like this:
2024-10-03 09:53:02.877 WARNING (MainThread) [custom_components.o365.calendar] Error getting calendar events - 404 Client Error: Not Found for url: https://graph.microsoft.com/v1.0/me/calendars/AAMkAGVlZjk5ZTJhLTY2NDEtNDJiNy1hNzljLWNjYTRiY2JjN2M0OQBGAAAAAABu7kLYPxaKTZRgoDfGTbb2BwDIvUYB1FM8RpR7Yx-Ue2igAAAAAAEGAADIvUYB1FM8RpR7Yx-Ue2igAAVH7KEMAAA= | Error Message: The specified object was not found in the store.
2024-10-03 09:53:03.066 ERROR (SyncWorker_46) [O365.connection] Client Error: 404 Client Error: Not Found for url: https://graph.microsoft.com/v1.0/me/calendars/AAMkAGVlZjk5ZTJhLTY2NDEtNDJiNy1hNzljLWNjYTRiY2JjN2M0OQBGAAAAAABu7kLYPxaKTZRgoDfGTbb2BwDIvUYB1FM8RpR7Yx-Ue2igAAAAAAEGAADIvUYB1FM8RpR7Yx-Ue2igAAVH7KEMAAA= | Error Message: The specified object was not found in the store. | Error Code:
2024-10-03 09:53:03.067 WARNING (MainThread) [custom_components.o365.calendar] Error getting calendar events - 404 Client Error: Not Found for url: https://graph.microsoft.com/v1.0/me/calendars/AAMkAGVlZjk5ZTJhLTY2NDEtNDJiNy1hNzljLWNjYTRiY2JjN2M0OQBGAAAAAABu7kLYPxaKTZRgoDfGTbb2BwDIvUYB1FM8RpR7Yx-Ue2igAAAAAAEGAADIvUYB1FM8RpR7Yx-Ue2igAAVH7KEMAAA= | Error Message: The specified object was not found in the store.
2024-10-03 09:53:39.309 ERROR (SyncWorker_8) [O365.connection] Client Error: 404 Client Error: Not Found for url: https://graph.microsoft.com/v1.0/me/calendars/AAMkAGVlZjk5ZTJhLTY2NDEtNDJiNy1hNzljLWNjYTRiY2JjN2M0OQBGAAAAAABu7kLYPxaKTZRgoDfGTbb2BwDIvUYB1FM8RpR7Yx-Ue2igAAAAAAEGAADIvUYB1FM8RpR7Yx-Ue2igAAVH7KEMAAA= | Error Message: The specified object was not found in the store. | Error Code:
2024-10-03 09:53:39.310 WARNING (MainThread) [custom_components.o365.calendar] Error getting calendar events - 404 Client Error: Not Found for url: https://graph.microsoft.com/v1.0/me/calendars/AAMkAGVlZjk5ZTJhLTY2NDEtNDJiNy1hNzljLWNjYTRiY2JjN2M0OQBGAAAAAABu7kLYPxaKTZRgoDfGTbb2BwDIvUYB1FM8RpR7Yx-Ue2igAAAAAAEGAADIvUYB1FM8RpR7Yx-Ue2igAAVH7KEMAAA= | Error Message: The specified object was not found in the store.
2024-10-03 09:53:39.497 ERROR (SyncWorker_12) [O365.connection] Client Error: 404 Client Error: Not Found for url: https://graph.microsoft.com/v1.0/me/calendars/AAMkAGVlZjk5ZTJhLTY2NDEtNDJiNy1hNzljLWNjYTRiY2JjN2M0OQBGAAAAAABu7kLYPxaKTZRgoDfGTbb2BwDIvUYB1FM8RpR7Yx-Ue2igAAAAAAEGAADIvUYB1FM8RpR7Yx-Ue2igAAVH7KEMAAA= | Error Message: The specified object was not found in the store. | Error Code:
2024-10-03 09:53:39.497 WARNING (MainThread) [custom_components.o365.calendar] Error getting calendar events - 404 Client Error: Not Found for url: https://graph.microsoft.com/v1.0/me/calendars/AAMkAGVlZjk5ZTJhLTY2NDEtNDJiNy1hNzljLWNjYTRiY2JjN2M0OQBGAAAAAABu7kLYPxaKTZRgoDfGTbb2BwDIvUYB1FM8RpR7Yx-Ue2igAAAAAAEGAADIvUYB1FM8RpR7Yx-Ue2igAAVH7KEMAAA= | Error Message: The specified object was not found in the store.

Any ideads?
Cheers Mate

Delete token and re-authenticate. I'd also delete your calendar.yaml file as well.

Wow that was fast - I'll try that ;)

Thx - that fixed the problem! Cheers Mate


Dynamic UnityEvent argument (stable version)

Hello,
I saw issue #92 mentioning that the UnityEvent dynamic parameter is not working anymore.
I'm using the last stable version of Unity (2019.2.9f1) and the bug is also there.
I created an empty project and tested the BoolGameEventListener to be sure there wasn't anything interfering but the problem persists:

Thanks for this amazing tool !

Thanks for re-opening the issue. I'll take a look at it asap :)

I've verified this is a bug with the new version of Unity, it's reproduced if the SerializedProperty used for the typed UnityEvent is sourced from a base class that specifies its type using generic arguments.
Since it's so engrained in the structure of SO-A, I'm afraid there's no simply workaround. You could create your own hard-coded game event listener for every class as a temporary workaround, or simply use a version < 2019.2.
Thanks for the report, I've obviously sent a thorough bug report to Unity. Feel free to leave a comment if you're interested in their reply, if not, I'll just close this issue and hope Unity fixes it asap :)

It's being tracked here: https://issuetracker.unity3d.com/issues/unityevent-drawer-does-not-handle-generic-event-parameters-correctly-when-the-class-is-derived-from-another-class


Slow on LG-P700 smart phone

I hooked up the slow lg (LG-P700) android phone with the desktop's google chrome 33 beta to find out why is it working slow on my page.
To my surprize, there is a lot of long running "rasterize" events and they happen in parallel with the rest of the events (like js and rendering).
Here is the exported timeline data: https://gist.github.com/thehappycoder/a089562b13e028766e82/raw/53f0425c5f4756c7f5c7662711c4e4d3c6d3ba56/TimelineRawData-20140130T152139.json
After series of tests I figured out that spin.js creates all this. Is there a lighter version of spin.js for such devices? I don't want to use gif because the background is not solid.

First, unfortunately I can no longer read the JSON file as Chrome complains about it being "old format."
I have noticed the performance problem, since we are animating multiple lines as different objects. It might be more feasible to just animate the entire spinner as a whole. Let's move this discussion to #215 since this issue affects many devices and browsers than just LG-P700 with Chrome.


Nutrition Facts are not correctly displayed on all products

https://barcode.tec-it.com/en/EAN13?data=5400101047594

This is most likely because of an harmonization of the types in the JSON.
There are different fields in the nutriments hash, and some of them must not be used:
energy_100g: 1172,
energy: 1172,
energy_value: 280,
energy_unit: "kcal",
energy_serving: 1170,
energy_value and energy_unit are what the user entered, they may be per 100g or per serving.  energy is a conversion of energy_value to the default unit for the nutrient (here kJ). --> THOSE FIELDS ARE FOR INTERNAL USE AND SHOULD NOT BE USED. They are only used to display the product edit form. Note that the _unit field can be empty if not set by some apps.
energy_100g and energy_serving are the values that should be used. They are expressed in the default unit (kJ for energy, and grams for everything else).

numeric values are now always numeric (for some products they were strings before)

I checked that the values used are _100g and _serving -> ok

one thing to finish: to display nutriment value I use the unit entered by the user ( after conversion).
Normally we should use the taxonomy to choose the correct unit the taxonomy is not yet loaded in the App ( too complicate as far I understand)

The unit field seems to be empty on some products, ones that have been last edited by some apps like Yuka it seems, e.g. https://world.openfoodfacts.org/api/v0/product/8410509003624/boisson-vegetale-riz-quinoa-costa-eco
One thing I could try is to create a unit field with the default unit for those products, on the server side.

it should be fixed. I modified the view to dispay nothing if no serving size


WITH templates collision between names of variables and functions #2383

Describe the bug
When using WITH templates, users can define variables with custom names:
WITH(
now = sum(rate(my_metric_total)),
before = sum(rate(my_metric_total) offset 1h)
)
now/before*100

This expression will fail starting from v1.70 where new MetricsQL function now() was introduced.
But for versions below v1.70 the expression will be valid.
To Reproduce
See https://play.victoriametrics.com/promql/expand-with-exprs?query=WITH(
now+%3D+sum(rate(my_metric_total))%2C
before+%3D+sum(rate(my_metric_total)+offset+1h)
)
now%2Fbefore*100&commit=Expand
Expected behavior
Local variable names should not conflict with function names. Otherwise, adding new function to MetricsQL will always have a chance to affect existing user queries.
cc @valyala

Issue moved to https://github.com/VictoriaMetrics/metricsql/issues/5


Operand inversion with division

When we input ./calc "\" 2 4, the program understands "4/2" and not "2/4" as it should. This is an important problem that should be fixed ASAP in my opinion, I might send a pull request with a fix

@Garuda1 Hey thanks a lot for stopping by and spotting this fault , i would love to accept a PR if you are already working on it ?

Well, I'm not going to lie, my assembly knowledge is limited to basic system calls and bios services... I tried to fix it but eh I was afraid to mess with registers I shouldn't bother with, sorry

@Garuda1 Not a problem , i'll fix it and close this issue when i'm done fixing but thanks a lot for spotting this problem.


Currently supported APU boards

I want a APU which supports RoCm . I know Kaveri isn't and there is possibly limited support for Carrizo. Could anyone tell me specific Carrizo APU boards or products available that are Rocm compatible currently?

+1

I have ask why do you want APU,  Fine Grained SVM?  the performance of Carizzo APU is Single Precsion performance is slower then a RX460 GPU which are $99 or less now and you can get on Ryzen CPU which much faster then a Steamroller CPU's in Carizzo.  AMD Ryzen 5 1400 $169, and it uses a $99 dollar motherboard ( ASUS, MSI)  if you looking for low cost development system.
We do internally have Carizzo system working a Dell Inspiron i3656-3355,  but it need a Custom SystemBios Update to support the right CRAT table and option to turn on IOMMUv2.  It real pain to flash the SBIOS on the system.  We used in the early days of development of ROCm, it is still under test.

Even with ryzen vs kaveri you could do some int/float32 workloads faster with the APU provided local memory and the gpu cores are exploited properly.  There's a couple of places fine grained SVM is useful (GPU kernel daemons/IPC) Agreed that Ryzen is much faster in all other regards - was painful running c++ compilations on kaveri.
Low latency signal processing can make use of APUs provided the dispatch latency and zero copy properties are held and that the APU can complete computations faster than the transfer + computation time of whatever GPUs (say Vega)... it's an interesting niche environment where less (APU) can be more (wallclock faster than GPU).

Ok make since if your aiming to that class of solution.  I understand the benefits of the APU,  Kaveri was mess for Fine grain memory performance - it was less 8 GB/s which put you under the 12 GB/s we can get for Usermode DMA based transfers going.  The performant memory path on Kaveri was IO coherent.   Carrizo fixed this so you better memory bandwidth.  Now it is still shared with the CPU.    One thing if you can keep your problem on  Vega10 it has   16 GB of HBM memory at 500 GB/s   ( you can try this FIJI Nano today ) vs 25.6 GB/s and maximum of 16 GB of memory on total system on Carrizo.      But if your problem needs fine grain synchronization  with the CPU then the APU wins currently.   Lots of great work going on to address today PCIe bottlenecks.
On Apr 16, 2017, at 11:10 PM, Jason Newton <notifications<EMAIL_ADDRESS>wrote:
Even with ryzen vs kaveri you could do some int/float32 workloads faster with the APU provided local memory and the gpu cores are exploited properly. There's a couple of places fine grained SVM is useful (GPU kernel daemons/IPC) Agreed that Ryzen is much faster in all other regards - was painful running c++ compilations on kaveri.
Low latency signal processing can make use of APUs provided the dispatch latency and zero copy properties are held and that the APU can complete computations faster than the transfer + computation time of whatever GPUs (say Vega)... it's an interesting niche environment where less (APU) can be more (wallclock faster than GPU).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/RadeonOpenCompute/ROCm/issues/106#issuecomment-294401590, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD8Dub90xiHxooTyYQdzH43nCdSPyiM8ks5rwuY7gaJpZM4M-1K5.

@gstoner : Thanks for your reply. We need it for research work. We are studying some workloads that exercise both CPU and GPU and although we could do it on a discrete GPU with coarse grained sharing, the APU architecture provides fine grained sharing and is better suited for the work. We could still try using OpenCL 2.0 versions of our code on an APU running the closed source AMD driver but Rocm being open source provides more flexibility especially when it comes to tools.

Trinayan,   where you based if you can us 110/120 Power ( The Dell is only 110/120 do priority power supply)  ,  I have Dell I can send you from the HSA Foundation for academic research.   It pre loaded with ROCm 1.4 I believe and BIOS.    I am also the Chairman and MD of the HSA Foundation.

Note a Bristol Ridge ( it a socketed Carizzo)  system should work, but we only have internal development boards, we need to test a public shipping system before I say yes it compatible.  We have to check a system  SBIOS to see if can support the IOMMUV2 and does it have correct CRAT table setup.  CRAT is extension to ACPI SRAT Table for topology information. So you can see what it is doing http://lxr.free-electrons.com/source/drivers/gpu/drm/amd/amdkfd/kfd_crat.h
The one we are looking forward to is the Zen based RavenRidge APU,.  It is not out yet, but lot of information on it on the web.

One thing this all get easier when ROCm is a standard part of the OEM testing procedures,  Remember ROCm is 1 Year old,  April 4th is when we launched it.  One thing since your working on ROCm with OpenCL you have big lift in capability with ROCm 1.5, we still shooting to have it out near the end of this month,  We hopping to get it out on the 21st the same day as ROCm 1.0 was released to GitHub.

@gstoner  : Thanks for the information. I believe we have the same Carizzo board here at Northeastern University. But recently many of the heterogeneous benchmarks that were working before are not working after updating to 1.4 . So I thought maybe there are other boards.We are trying to figure out what is the issue.  The same set of benchmarks work correctly on a dgpu system running rocm
I am also waiting eagerly for the RavenRidge APU boards to come out.
Is 1.5 going to provide full support for OpenCL 2.0? I believe for 1.4 it is limited support only.

Is 1.5 coming this month? Only a few days left in the month...

Yep..  We been hard at work on this.
greg
On Apr 25, 2017, at 11:17 AM, Brian <notifications<EMAIL_ADDRESS>wrote:
Is 1.5 coming this month? Only a few days left in the month...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/RadeonOpenCompute/ROCm/issues/106#issuecomment-297083583, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD8DuSV14PoSupFW0Lla5TMBdWYBBJOLks5rzhyjgaJpZM4M-1K5.

Please do not phase out the APU support (this is what happened with the Kaveri APU), there are lot's of functionality that only possible with (zero-copy) fine grained memory sharing, where the APU could be used as a low-latency co-processor. eg.:
https://www.usenix.org/conference/nsdi17/technical-sessions/presentation/go
Also an APU with integrated HBM (even with limited 4-32GB (or more) capacity) would be an really-realy interesting target for development, especially when combined with a chip integrated high-speed communication with other nodes.

We are not planning to phase them out, but we will be more selective in what we support.    Thank you for the link.  It great to see 5 year of work on HSA has merit beyond our labs.

Rare owner of a Bristol Ridge Laptop (Hp envy x360). I think I have iommu_v2 up and running from the fact that:
ps -ef | grep iommu root       164     2  0 14:11 ?        00:00:00 [amd_iommu_v2] maxime    2899  2524  0 16:27 pts/3    00:00:00 grep --color=auto iommu
Currently running on rocm 1.5 kernel. clinfo reckon my gpu and grants me opencl 2.0 API:
`
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
Platform Name                                 AMD Accelerated Parallel Processing
Device Name                                   gfx801
`
Helloworld works. I'm quite surprized, had no hope it would be working.
If you want me to run a few tests/benchmark or help out ring me. Thank you for your hard work.
Max

This is very good news.  We had report the new Bristol Ridge APU from HP were working had a proper CRAT Table and IOMMUv2 support.
Love to see more  data on the system.    Bablestream ( formally GPU Stream) ,  Mixbench, and any other app.
On May 7, 2017, at 3:32 PM, maxlem <notifications<EMAIL_ADDRESS>wrote:
Rare owner of a Bristol Ridge Laptop (Hp envy x360). I think I have iommu_v2 up and running from the fact that:
ps -ef | grep iommu root 164 2 0 14:11 ? 00:00:00 [amd_iommu_v2] maxime 2899 2524 0 16:27 pts/3 00:00:00 grep --color=auto iommu
Currently running on rocm 1.5 kernel. clinfo reckon my gpu and grants me opencl 2.0 API:
`
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1)
Platform Name AMD Accelerated Parallel Processing
Device Name gfx801
`
Helloworld works. I'm quite surprized, had no hope it would be working.
If you want me to run a few tests/benchmark or help out ring me. Thank you for your hard work.
Max
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/RadeonOpenCompute/ROCm/issues/106#issuecomment-299732561, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD8DuSa7CgG_PeEk3AwOsm0Vnz9fVB41ks5r3ipxgaJpZM4M-1K5.

don't know how to build balstream, but here are mixbench results
`maxime@maxime-HP-ENVY-x360-m6-Convertible:~/workspace/bench/mixbench$ ./mixbench-ocl-ro
mixbench-ocl/read-only (v0.02-10-g79d284c)
Use "-h" argument to see available options
------------------------ Device specifications ------------------------
Platform:            AMD Accelerated Parallel Processing
Device:              gfx801/Advanced Micro Devices, Inc.
Driver version:      1.1 (HSA,LC)
Address bits:        64
GPU clock rate:      757 MHz
Total global mem:    1024 MB
Max allowed buffer:  256 MB
OpenCL version:      OpenCL 1.2
Total CUs:           8
Buffer size:            256MB
Workgroup size:         256
Elements per workitem:  8
Workitem fusion degree: 4
Workitem stride:        NDRange
Buffer allocation:      Device allocated
Loading kernel source file...

BabelStream:
maxime@maxime-HP-ENVY-x360-m6-Convertible:~/workspace/bench/BabelStream$ ./ocl-stream
BabelStream
Version: 3.2
Implementation: OpenCL
Running kernels 100 times
Precision: double
Array size: 268.4 MB (=0.3 GB)
Total size: 805.3 MB (=0.8 GB)
Using OpenCL device gfx801
Driver: 1.1 (HSA,LC)
Reduction kernel config: 32 groups of size 256
Function    MBytes/sec  Min (sec)   Max         Average
Copy        10704.365   0.05015     0.06160     0.05186
Mul         10713.620   0.05011     0.06317     0.05166
Add         10330.118   0.07796     0.08789     0.07891
Triad       10415.968   0.07731     0.08422     0.07841
Dot         11729.476   0.04577     0.05692     0.04783

no OpenCL 2.0 after all :(
Why is that so?

It supports OpenCL 2.0 kernel language all the feature of OpenCL minus Pipes and DeviceEnqueue.
On May 8, 2017, at 3:31 AM, maxlem <notifications<EMAIL_ADDRESS>wrote:
no OpenCL 2.0 after all :(
Why is that so?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/RadeonOpenCompute/ROCm/issues/106#issuecomment-299805701, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD8DudW9saxoZPe1Mjz1x_epwz0yLENMks5r3tLFgaJpZM4M-1K5.

Thank you.
Greg
On May 8, 2017, at 3:19 AM, maxlem <notifications<EMAIL_ADDRESS>wrote:
BabelStream:
maxime@maxime-HP-ENVY-x360-m6-Convertible:~/workspace/bench/BabelStream$ ./ocl-stream
BabelStream
Version: 3.2
Implementation: OpenCL
Running kernels 100 times
Precision: double
Array size: 268.4 MB (=0.3 GB)
Total size: 805.3 MB (=0.8 GB)
Using OpenCL device gfx801
Driver: 1.1 (HSA,LC)
Reduction kernel config: 32 groups of size 256
Function MBytes/sec Min (sec) Max Average
Copy 10704.365 0.05015 0.06160 0.05186
Mul 10713.620 0.05011 0.06317 0.05166
Add 10330.118 0.07796 0.08789 0.07891
Triad 10415.968 0.07731 0.08422 0.07841
Dot 11729.476 0.04577 0.05692 0.04783
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/RadeonOpenCompute/ROCm/issues/106#issuecomment-299803168, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD8DueJeqXuBXNElJ4MPLyd6YYeVb7W1ks5r3s_7gaJpZM4M-1K5.

Quite a dog. memory-bw wise heh?
If you need me for anything else, will be glad to help. Oh and I'm on Ubuntu 16.10 btw.

Ah, one last question, do you support zero copy? Simply mapping a buffer with flag CL_MEM_USE_HOST_PTR will do it?

Yes, CL_MEM_USE_HOST_PTR buffers are ZeroCopy.
On May 8, 2017, at 11:26 AM, maxlem <notifications<EMAIL_ADDRESS>wrote:
Ah, one last question, do you support zero copy? Simply mapping a buffer with flag CL_MEM_USE_HOST_PTR will do it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/RadeonOpenCompute/ROCm/issues/106#issuecomment-299917394, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD8DuYqlCK31W_HJijRqoCMJay84A52Yks5r30JPgaJpZM4M-1K5.


Add pls parsing Russian language courses.

Add pls parsing Russian language courses.

Next releases

If it works close the issue


Setting position at startup (Android)

Coordinates which are set in XAML aren't shown at startup. If you set a new position later, it isn't a problem.
I assume, that the position and zoom should be set again in the OnMapReady event like
            map.CameraPosition = new CameraPosition.Builder()
                .Target(new LatLng(Element.Center.Lat, Element.Center.Long))
                .Zoom(Element.ZoomLevel)
                .Build();

I use the news version on Android simulator.

Yeah, that's right. Could you plz make a pull request?

Commit c34da6982ea35adddbe1fe5f96add8a77afa6784


inflector.capitalize doesn't exist

angular.element(document.body).injector().get('inflector').capitalize returns undefined.

I've proposed an update for the README: https://github.com/iobaixas/angular-inflector/pull/3

Thanks @rolandboon!


VS 2015 code editor renames imports globally instead of only for a module

This issue is in lieu of  the issue  #8118 (which was closed by @mhegazy , and according to his comment this should not happen as the alias is local)
TypeScript Version:
1.8.9
Code
For example we have 3 modules: app.ts, module1.ts and module2.ts
in app.ts module we have:

export class Greeter {
}

in module1.ts module we have:

import { Greeter as ChitoGreetor } from "app";

let greeter = new ChitoGreetor();

in module2.ts module we have (the same import alias as in module1!):

import { Greeter as ChitoGreetor } from "app";

let greeter = new ChitoGreetor();

Actual behavior:
If we rename in VS code editor module alias ChitoGreetor in module1 then it will be renamed
in module2 too. Besides, if we look for references using "Find all references" in module1 then
it finds references in module2 too.
Expected behavior:
Rename the alias only locally in one module which uses the import.
And find references locally either.

Successfully reproduced the issue in the current VSCode, but it appears to be fixed in the next version.


<EMAIL_ADDRESS>Package no longer supported

There is an error when install monika.
sudo npm i -g @hyperjumptech/monika
npm WARN deprecated<EMAIL_ADDRESS>Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN deprecated<EMAIL_ADDRESS>The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.

Hello @aryegogo, that doesn't seem like error, only warnings. But can you share what OS and node version you used?

OS ubuntu 20.04
Node 14.18.2


Need a unified way to specify frequencies / periods

A little while back I was trying to create a UART bitbang library.
I took a look at https://crates.io/crates/bitbang-hal however it was incompatible since for nrf51, the Timers usable for a serial port implement From<Duration> but in most other embedded-hal implementors (such as stm32) the timers have their own newtype Hertz struct which is used to set timers (stm32f4xx_hal::time::Hertz).
The overall result is that it is impossible to have a bitbang-hal library that is generic over many types of processors.
If embedded-hal provided a Hertz / Period struct, or possibly required From<Duration> for the Periodic trait, this incompatibility could be eliminated in the downstream crates.
For more info please see https://github.com/sajattack/bitbang-hal/pull/10 - the PR tracking the integration of my port + fixes and the original

see https://github.com/rust-embedded/embedded-hal/issues/211

IMO specifying the Time type of Timers as a rate, like the STM32 HALs do, is incorrect. Requiring From<Duration> or similar seems reasonable since it would actually make the timer trait usable. I also ran into this while writing a driver. In addition to not being able to use timers generically (or it being very hard), the STM32 HALs are effectively limited to 1 second being the longest any timer can run, and cannot handle times like 800ms since it's between 1 and 2 Hz.

requiring From<Duration> would be a neat solve, though, there are some drawbacks to core::time::Duration for embedded use. we could perhaps look to using embedded_time::Duration for this bound?

requiring From<Duration> would be a neat solve, though, there are some drawbacks to core::time::Duration for embedded use. we could perhaps look to using embedded_time::Duration for this bound?

embedded-time is a big dependency.  I think the idea of an light-weight duration type is sound; but ideally that functionality would be separated into its own crate to reduce bloat.
embedded-hal compile time:
$ hyperfine --prepare 'cargo clean' 'cargo build --target thumbv7em-none-eabi'
Benchmark #1: cargo build --target thumbv7em-none-eabi
  Time (mean ± σ):     615.6 ms ±  45.0 ms    [User: 531.1 ms, System: 117.1 ms]
  Range (min … max):   586.7 ms … 737.7 ms    10 runs

embedded-time compile time:
$ hyperfine --prepare 'cargo clean' 'cargo build --target thumbv7em-none-eabi'
Benchmark #1: cargo build --target thumbv7em-none-eabi
  Time (mean ± σ):      3.283 s ±  0.088 s    [User: 5.166 s, System: 0.751 s]
  Range (min … max):    3.224 s …  3.483 s    10 runs


Improve descriptions of our error codes

This PR tries to make the motivation for each flake8-pyi rule clear. As ruff has reimplemented flake8-pyi's error codes, it's come up a number of times that it isn't always 100% clear why we're enforcing a particular rule: some of our error codes enforce things to do with correctness, but some of them are purely stylistic. (See https://github.com/astral-sh/ruff/issues/8765 for a recent example.) I've tried to divide our error codes into four broad categories.
Several of our rules are specifically to do with things working differently in a stub file compared to at runtime. For each of these rules, I've also tried to add a few more words to explain exactly how stubs differ from .py files.

Some of the categories are borderline between categories. For these, you could possibly give them more complex categorisations such as "Style/redundant code", etc. However, to keep things simple (and to prevent the third column in the table from becoming too wide when it's rendered by GitHub), I've tried to avoid doing that.


use CORS, No 'Access-Control-Allow-Origin' header is present

XMLHttpRequest cannot load http://c.apple.net/chat/sub. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.apple.net' is therefore not allowed access. The response had HTTP status code 404.

I'll get back to you about this very soon.

i think this is fixed in the upcoming release


fix(table): increase min width for filterable column

Closes #3387
Summary

Increase min width for column from 62px to 120px
Add text truncation for selected value in ComboBox

Change List (commits, features, bugs, etc)

Change min width constant MIN_COLUMN_WIDTH
Add css property for text truncation
Update tests
Update storyshot
Update cypress image snapshot

Acceptance Test (how to verify the PR)

Go to this story
Choose any option in the Select column filter (combo box)
Try to resize Select column
Verify that value in the combo box field truncates
Verify that min width for the column is 120px

Regression Test (how to make sure this PR doesn't break old functionality)

tests here

Things to look for during review

[ ] Make sure all references to iot or bx class prefix is using the prefix variable
[ ] (React) All major areas have a data-testid attribute. New test ids should have test written to ensure they are not changed or removed.
[ ] UI should be checked in RTL mode to ensure the proper handling of layout and text.
[ ] All strings should be translatable.
[ ] The code should pass a11y scans (The storybook a11y knob should show no violations). New components should have a11y test written.
[ ] Unit test should be written and should have a coverage of 90% or higher in all areas.
[ ] All components should be passing visual regression test. For new styles or components either a visual regression test should be written for all permutations or the base image updated.
[ ] Changes or new components should either write new or update existing documentation.
[ ] PR should link and close out an existing issue

Not sure where that min width is being applied. I was looking around the styles and could not see it. As you can see from the image the Entire table column is below the state min width size of 120

@davidicus I am wondering if you use some particular knob setups for this story? I couldn't reproduce column being resized to less than 125px.
https://user-images.githubusercontent.com/112560065/192545346-7cb4671e-6eab-48ee-85fc-75f0176af5a1.mov

@erzhan-temir-mamyrov I just manually adjusted the column sizes

this is not exactly at 120 px but it fixes the issue with the dropdown and x being covered in the UI.


perf(nuxt): invalidate getRouteMeta cache on page contents change

🔗 Linked issue

❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[x] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Instead of using file contents as key, we cache the contents separately using absolutePath as key. While I'm not sure if there is much performance gained by not using large strings as keys, using the contents as key will add an entry on every file change, so with the current implementation the cache will keep on growing during development as old entries won't be removed.
(changed PR title to better communicate the change)

📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have added tests (if possible).
[ ] I have updated the documentation accordingly.

We definitely need to fix the ever-growing cache. But we can't cache based on the path as the path will stay the same even if the contents changes (e.g. if the user updates the meta and the site hot-reloads).

I know, this change uses a second cache to store the contents, if the contents have changed the metaCache entry is cleared.
This is still indirectly using contents to cache metaCache, but doing so by caching contents by absolutePath separately. This way the keys aren't large, but the bigger gain is not having the cache grow on every change, only compared on every change.

Ahh. Great!

I thought I had those flaky scroll to top tests figured out 🤦 now its failing in Ubuntu..


add overrides resolver

I  need overrides some domain's ip, or dynamically change the ip address. It used for my application manual choose cdn.
I write it. I think this commit may help others.
Use resolver like this codes. impl CustomerDnsOverridesResolver for struct , call builder.resolver();

// overrides *.demo.com

use std::net::SocketAddr;
use regex::Regex;
use reqwest::CustomerDnsOverridesResolver;

struct DnsOverridesResolver {
    regexp: Regex,
    addr: SocketAddr,
}

impl CustomerDnsOverridesResolver for DnsOverridesResolver {
    fn resolve(&self, domain: &str) -> Option<SocketAddr> {
        if self.regexp.is_match(domain) {
            Some(self.addr)
        } else {
            None
        }
    }
}

fn mock() -> Reuslt<T>{
    reqwest::blocking::ClientBuilder::new()
        .resolver(Box::new(
             DnsOverridesResolver {
                 regexp: Regex::new(r"(.+\.)?demo\.com").unwrap(),
                 addr: address.as_str().parse()?,
             }
        ))
       .build().unwrap()
}

You can modify codes and comment in this commit, if inaccurate

I think resolve SockAddr via url is a batter idea,  but I haven't found the way.

There is an issue about providing a custom resolver, see the discussion in #1125.


Advanced map name processing

Map lumps are parsed first, and other mapname-containing lumps may update the names.
I went all out and wrote a tokenizer/parser for UMAPINFO to prepare for any unforseen formatting issues
Disclaimer: Probably contains bugs.

I am sure it works, but i am unable to understand the algorithems, the file is large, and contains a lot of stuff like generator functions.
This should be refactored into a class. it's too unweildy for a SINGLE self executiing function

This is great work @MarkJeronimus , but i am unsure as to what it does compared to the previous version, and as such, i am not sure how to test it accordingly.

@MarkJeronimus I have updated the PR to refactor it into a couple classes, i left all logic you wrote the same. If you can advice me what wads to test this new feature, i would appreicate it. thank you

@VictoriqueMoe I tested MAPINFO with chillax, and UMAPINFO with intercep2.wad. Dunno what I tested DEHACKED with but I'm sure you could find a suitable wad/
For more thorough testing, I suggest you create (or mock) a wad with several maps, but only some are named in DEHACKED, some others are named in MAPINFO and yet some others in UMAPINFO. Have some overlap and some gaps. Try with and without quotes around the name.

For UMAPINFO, the standard Allman style is tested, but the code should also be able to decode if there are less or even no returns, and missing quotes, like:
MAP MAP01 { levelname = foo bar }

@VictoriqueMoe I tested MAPINFO with chillax, and UMAPINFO with intercep2.wad. Dunno what I tested DEHACKED with but I'm sure you could find a suitable wad/
For more thorough testing, I suggest you create (or mock) a wad with several maps, but only some are named in DEHACKED, some others are named in MAPINFO and yet some others in UMAPINFO. Have some overlap and some gaps. Try with and without quotes around the name.

Yes, i want to create some Mocha unit tests for it, i think it would be easy. with wads that use MAPINFO, UMAPINFO and DEHACKED
Manually, i have tested MAPINFO and DEHACKED . i just need to test UMAPINFO
Thanks


await stop LanguageClient

Closes #39
Signed-off-by: David Thompson<EMAIL_ADDRESS>

Thanks @datho7561 !


Fixed #10107 -- Allowed mark_safe() to be used as decorator

I cherry-picked old patch written by matehat 7 yrs ago. All unit tests pass.
Original ticket: https://code.djangoproject.com/ticket/10107
This is part of the djangocon europe 2016 sprints. :saxophone: As always, feedback is welcome and I usually respond within 24 hours.

buildbot, add to whitelist.

This PR can be closed, replaced with https://github.com/django/django/pull/6706


Allowing HTTP sessions on websocket.receive

Hi Andrew,
Is there a way to enable the channel_session_user_from_http decorator onto the websocket receive consumer? For my implementation I wanted to pass any changes in my parameters through the websocket to update the data stream in real time and I can't get the request data to do so
Thanks!

The cookie data that it needs is only in the websocket.connect channel, so you put the decorator onto a consumer there and simply use channel_session_user on your receive consumer.
(The decorator copies the auth data into the channel session so any other websocket consumers that aren't connect can access it; that's the difference between channel_session_user_from_http and http_session_user decorators, in fact; both of them extract the user from the HTTP session, but the first then copies the data into the channel session so channel_session_user can see it).


[Event Request] PAG9850 - OnBeforeTenantPermissionDeleteOnModify

Hello,
we Need a handled-Evennt on PAG9850 on ModifyRecord-procedure.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


[textanalytics] unskip healthcare tests

currently skipping healthcare tests since the endpoint is not yet deployed to westus2.

unskipped


Database migration fails when attempting to upgrade from version 1.20.5

Description
When attempting to upgrade from version 1.20.5 (windows gogit x64), the migrations fail and service stops.
In the log there are 10x
2023/11/28 13:13:58 routers/common/db.go:36:InitDBEngine() [E] ORM engine initialization attempt #1/10 failed. Error: migrate: get: mssql: Invalid usage of the option NEXT in the FETCH statement.

enabling logsql and verbose logging i see
2023/11/28 13:29:55 ...orm@v1.3.4/engine.go:1246:Get() [I] [SQL] SELECT [id], [version] FROM [version] WHERE [id]=? ORDER BY [id] ASC OFFSET 0 ROWS FETCH NEXT 1 ROWS ONLY [1]

That syntax isn't supported by MSSQL until version 2012 at least.  Documentation says 2008 R2 SP3 is supported.
Gitea Version
windows gogit x64 1.20.5
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.42.0.windows.2
Operating System
Windows Server 2012
How are you running Gitea?
Running as a service, using prebuilt binaries downloaded from releases tab from github
Database
MSSQL

https://gitea.com/xorm/xorm/pulls/2188 xorm changed the implementation 2 months ago. We better update the docs.

Gitea 1.20.5 was only released a month ago.
Looking at the query, it appears to have been unnecessarily over complicated, a simple select top 1 sql query is all that is need.  MS docs say to use TOP and only use OFFSET and FETCH in paging queries.

->  Require MySQL 8.0, PostgreSQL 12, MSSQL 2012 #27337
Well, not for 1.21/1.20 .... but MSSQL 2008 is quite too old .... https://endoflife.date/mssqlserver , so it's still better to upgrade the database .....

We close issues that need feedback from the author if there were no new comments for a month. :tea:

Documentation needs fixing.
https://docs.gitea.com/installation/database-prep

->  Improve 1.22 document for Database Preparation #28643
->  Improve 1.21 document for Database Preparation (#28643) #28644


Problema de ejecución en NeuralForecast

Cuando trato de correr el código muestra que viene en el siguiente link https://nixtla.github.io/neuralforecast/examples/exogenous_variables.html#libraries
me arroja un error que no tenía antes al ejecutar la siguiente instrucción:
%%capture
nf = NeuralForecast(models=models, freq='H')
nf.fit(df=df,
static_df=static_df)
Ya no entrena y arroja el siguiente error:
MisconfigurationException: The provided lr scheduler StepLR doesn't follow PyTorch's LRScheduler API. You should override the LightningModule.lr_scheduler_step hook with your own logic if you are using a custom LR scheduler.
¿Me pueden ayudar a entender que esta pasando?

Hello,
I also tried the examples in colab notebook 'Getting_Started' and got the same error.
MisconfigurationException: The provided lr scheduler StepLRdoesn't follow PyTorch's LRScheduler API. You should override theLightningModule.lr_scheduler_step hook with your own logic if you are using a custom LR scheduler.
It seems that something changed in PyTorch's API scheduler.

hey @AlineLPL and @christianmacher! Thanks for using neuralforecast. The problem probably arises due to the newest release of torch (2.0.0). Yesterday we updated the library to make it compatible with the latest version and lightning >= 2.0.
Could you try installing the new version from the main branch? Here’s the line:
pip install "git+https://github.com/nixtla/neuralforecast.git@main"

We are preparing an official release to pip soon. :)

Yes, installing the main branch in the noteboks solves the issue. Many thanks for the fix @FedericoGarza .


BreakingPoint Link doesn't work

The link to BreakingPoint Cloud no longer works.

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

ID: ad68687a-d309-25e2-dc73-3f25961dd666
Version Independent ID: 0322ed0a-5fe4-7d28-5104-eff892b8c159
Content: Azure DDoS Protection simulation testing
Content Source: articles/ddos-protection/test-through-simulations.md
Service: ddos-protection
GitHub Login: @aletheatoh
Microsoft Alias: yitoh

@PaulJohnston88 Thank you for pointing this. We have updated the document with the right link.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

#please-close


Custom ISO8601 Coding

Add an analogue to DateFormatterCoding that uses a ISO8601DateFormatter

Added in V1.1.0


ContentStoreWorker accepts content item id

To avoid the potential race when links and content are sent to the Publishing API almost simultaneously by Whitehall we have moved the presentation of the item into the worker. This will ensure that even if a newer version of the item is received by Publishing API it will not cause transmitted_at conflict on the Content Store.
Trello
There is a refactor going on of Publishing API so please don't merge until we've had a 👍from the Publishing Platform team.
cc: @danielroseman @tuzz
In response to @jamiecobbett comment -
Where the publishing API receives two requests in quick succession (as it does when Whitehall publishes content and links). With the existing approach request one gets a transmitted_at timestamp of 100 (for simplicity) and the subsequent request gets transmitted_at timestamp of 110. These are both queued on an async queue. If request two gets processed before one then content store will return and error when one is processed. Admittedly it 'should' have the latest representation at this point anyway but the amount of errors when doing a 'bulk' republish could be masking other errors.
With this PR when request two is 'worked' it is sent to the content store no problem. Request one is then processed and retrieves the latest representation from the Publishing API database (which was stored when request two was sent to the Publishing API). So... it gets the latest version and that is sent to the content store.
This does ultimately cause two identical requests to be sent to the content store but that is preferable to the error and could be fixed in an optimisation in the future should it cause any performance issues (which is unlikely).
This does beg the question as to whether transmitted_at is required any longer? I'm happy to remove it but would appreciate some feedback.

Would it be possible to add a (hypothetical) timeline of a bug that this change prevents?

This looks good to me :+1:

Looks good. :+1:

This does beg the question as to whether transmitted_at is required any longer? I'm happy to remove it but would appreciate some feedback.

I was wondering this, too.

It does seem to me that it could be removed. Could we merge this as-is though and look at removal of it in a different PR?

It looks like we could remove all that UpdateLock malarkey from content store as a result. I'll do a PR for that and get feedback. Just delete a few tings...

Happy for this to be merged.
We'll fix the refactor merge with this later. These changes don't look too complicated that we could reasonably merge them with the refactor once it's ready.


Cookie policy settings

Hi, please, is it possible to set GA cookie policy within this module? I can't figure out how.
https://developers.google.com/analytics/devguides/collection/analyticsjs/cookies-user-id#configuring_cookie_field_settings
Thank you very much.
Vaclav

Hi @l4ngur
Unfortunately, there is no way, as it is defined as auto by vue-analytics that stopped receiving feature requests.
https://github.com/MatteoGabriele/vue-analytics/blob/master/src/create-trackers.js#L29
See the future of the module at https://github.com/nuxt-community/gtm-module/issues/82


Docker Server build seems to boot 2 conductor instances in container

Describe the bug

seems on latest 3.9.0-rc it seems to start 2 times in the dockerfile. we upgraded from 3.5.3 before we started see this. We were using postgres and es6 before we moved to the newer version. Also found a oddity that clusterName has to be set for redis sentinel and gets used as the master name.
Details
Conductor version: 3.9.0-rc
Persistence implementation: redis
Queue implementation: redis
Lock: Redis

To Reproduce
Steps to reproduce the behavior:

build server docker file and run a non in memory version

Expected behavior
to see only one logo on start up
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
we use a helm chart we made to setup conductor in a kubenetes.  are settings used to be this before
    conductor.grpc-server.enabled=false

    # Database persistence type.
    conductor.db.type=postgres

    spring.datasource.url=jdbc:postgresql://{{ .Release.Name }}-db.{{ .Release.Namespace }}.svc.cluster.local:{{ .Values.services.database.exposedPort }}/conductor
    spring.datasource.username={{ .Values.db.username }}
    spring.datasource.password={{ .Values.db.password }}

    # Hikari pool sizes are -1 by default and prevent startup
    spring.datasource.hikari.maximum-pool-size=10
    spring.datasource.hikari.minimum-idle=2

    # Elastic search instance indexing is enabled.
    conductor.indexing.enabled=true

    # Transport address to elasticsearch
    conductor.elasticsearch.url=http://{{ .Release.Name }}-elasticsearch.{{ .Release.Namespace }}.svc.cluster.local:{{ .Values.services.cache.exposedPort }}

    # Name of the elasticsearch cluster
    conductor.elasticsearch.indexName=conductor

    # Yellow is main cluster node is up and running for elasticsearch
    conductor.elasticsearch.clusterHealthColor=yellow

Additional findings, I have revered back to 3.5.3 and still have the same problem. I looking into my configuration to see what could be causing it.

@v1r3n @boney9 FYI

I found my issue with the double start. in my deployment I took from another thread I found the bootstrapping sh along with the cmd in dockerfile was cause it to do run it 2 times


Feature/3449 three liner examples

Changes proposed in this Pull Request:

Add Threeliner examples, playground & docs.

I don't know what feedback you are looking for through this draft pull request, if any. I encourage you to communicate that in the PR description.
In the meantime, I recommend adding a simple toolbar menu to the "ThreeLiner with Custom Content" as a frequently seen use case. I also encourage you to write "ThreeLiner" in Title Case.

Hey @huayunh this was supposed to be a real PR, not a draft!  My mistake - will update based on your comments.

🚀


docs: add cross compiling comments for windows

Signed-off-by: pigletfly<EMAIL_ADDRESS>

Codecov Report

Merging #2682 (ffd5941) into main (e9088ac) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2682      +/-   ##
==========================================
- Coverage   59.65%   59.61%   -0.05%
==========================================
  Files         138      138
  Lines       23604    23604
==========================================
- Hits        14081    14071      -10
- Misses       7697     7704       +7
- Partials     1826     1829       +3

Impacted Files
Coverage Δ

pkg/chunk/disk_cache.go
78.21% <0.00%> (-1.49%)
:arrow_down:

pkg/meta/tkv.go
74.51% <0.00%> (-0.46%)
:arrow_down:

pkg/meta/sql.go
64.24% <0.00%> (+0.19%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[WIP] Replace embedded SlickGrid with rails-assets gem

@skateman Please review.
cc @dclarizio @martinpovolny

WIP because I need help to verify this actually works.
One general note: slickgrid does not specify any dependencies in a bower.json file, so we just get what's there.

There is also a product_slickgrid.css file.  Is that one ok, or do we need to change that one as well?

@Fryguy I've backtraced the required files and instead the require_directory you should use these:
//= require slickgrid/lib/jquery.event.drag-2.2
//= require slickgrid/slick.core
//= require slickgrid/slick.dataview
//= require slickgrid/slick.grid

Thanks @skateman I'll change it

@skateman Updated...can you please review?  I'm not sure the best way to verify this works.

@Fryguy check the page sources, if it includes the same assets, then it should be okay!

@skateman, So I tried with miq_policy/import.js by going to the page it's used from, but I can't find it.  Navigating to Control -> Import/Export takes you to miq_policy/export URL.  I cannot find a way to get to miq_policy/import URL.  If I try going directly to the URL I get the below.  Help?
[----] I, [2015-10-02T13:09:31.836539 #9579:3fd071c5e208]  INFO -- : Filter chain halted as :check_privileges rendered or redirected
[----] I, [2015-10-02T13:09:31.836659 #9579:3fd071c5e208]  INFO -- : Completed 403 Forbidden in 20ms (Views: 0.6ms | ActiveRecord: 1.3ms)

@skateman All of the other screens have the new js assets.

@Fryguy log in again? maybe the credentials have expired

nope...I did it immediately after I went to the export screen.

@fryguy, you need to select a file to import on Policy Import/Export screen then press upload button that should bring you to miq_policy/import view

step 1:

step 2:

OK, I've updated the PR with a rebase against #4051.
Along the way I found some really interesting issues, but I think they can be fixed in a follow up PR.
First, the styling seems to have changed a little.
Before:

After:

The header seems to have grown compared to before.  But if you notice, the styling was broken even before my changes, where the rows are not colored accurately, not to mention the other page elements such as the Submit button (not shown) cc @epwinchell

In trying to understand why the styling may have changed I noticed we had modified the original slick grid files for some reason, which I think was bad on our part.  First is slick.grid.js.  I'm not sure why these changes were made, but it seems related to IE?
The next file is plugins/slick.rowselectionmodel.js.  @eclarizio I think you grabbed this from master and not from 2.1.0.  Does that matter for you?
The last file is slick.grid.css.  In the gem, they use scss, so it's obviously generated.  For comparison, I grabbed the generated version to compare to the one we had committed.  This seems to have affected most of the styling, but I think changes belong in an override file anyway, not changing the originals.  @epwinchell ?

@eclarizio @h-kataria @skateman @dclarizio @epwinchell  Can you please verify this PR?  It's up to you how you guys want to proceed, so please let me know.  Personally, I think this can be merged as is, and then styling cleaned up separately.

@epwinchell One more thing to mention about the css file is that the old css file referenced images called images/sort-desc.gif and images/sort-desc.gif, but they don't exist.  The new location does have the gem's image at /assets/slickgrid/images/sort-desc.gif and /assets/slickgrid/images/sort-desc.gif, but they don't seem to be working...perhaps they need to be added to the precompile list?

Thanks @epwinchell ...I've updated the product_slickgrid.css with just those diffs from the slick.grid.css

@dclarizio tested. looks good


Modify addressbook.json to hour.json

This allows the user to view the data file path as hour.json.

lgtm


Not able to Detect CentOs while creating machine using generic driver

Output of docker version:
Client:
 Version:      1.10.2
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   c3959b1
 Built:        Mon Feb 22 22:37:33 2016
 OS/Arch:      darwin/amd64

Server:
 Version:      1.10.3
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   20f81dd
 Built:        Thu Mar 10 21:49:11 2016
 OS/Arch:      linux/amd64

Output of docker info:
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 18
Server Version: 1.10.3
Storage Driver: aufs
 Root Dir: /mnt/sda1/var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 9
 Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Plugins:
 Volume: local
 Network: bridge null host
Kernel Version: 4.1.19-boot2docker
Operating System: Boot2Docker 1.10.3 (TCL 6.4.1); master : 625117e - Thu Mar 10 22:09:02 UTC 2016
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 996.1 MiB
Name: default
ID: NCVC:RQIG:WLLS:LSQ7:HRNI:D6CE:MOPO:FD2X:ZCDW:AR6F:Z7KH:5TZC
Debug mode (server): true
 File Descriptors: 10
 Goroutines: 22
 System Time: 2016-03-16T09:17:53.508161979Z
 EventsListeners: 0
 Init SHA1:
 Init Path: /usr/local/bin/docker
 Docker Root Dir: /mnt/sda1/var/lib/docker
Labels:
 provider=virtualbox

Steps to reproduce the issue:
docker-machine create -d generic --generic-ip-address=XXX.XXX.XXX.XX --generic-ssh-user user --generic-ssh-key ~/.ssh/id_rsa dm-generic
Describe the results you received:
Running pre-create checks...
Creating machine...
(dm-generic) Importing SSH key...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Error creating machine: Error detecting OS: Error getting SSH command: Something went wrong running an SSH command!
command : cat /etc/os-release
err     : exit status 1
output  : cat: /etc/os-release: No such file or directory

I am using CentOS release 6.7 (Final) which docker is not able to detect. It does not contains os-release but it contains centos-release. Then I copied the contents of os-release to centos-release which is now giving a new Error.
Running pre-create checks...
Creating machine...
(dm-generic) Importing SSH key...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Warning: got an invalid line error parsing /etc/os-release: Expected CentOS release 6.7 (Final) to split by '=' char into two strings, instead got 1 strings
Error creating machine: Error detecting OS: OS type not recognized

CentOS 6 is no longer a supported platform since docker 1.8. Also, this looks to be an issue with docker-machine, not docker (engine). if you think something needs to be changed in docker-machine, please report in that issue tracker; https://GitHub.com/docker/machine
I'll close this issue here, but feel free to comment after that

What all are the supported OS by docker 1.8?

Ubuntu 14.04 and above, RHEL/CentOS 7 and above, Fedora 22. See https://docs.docker.com/engine/installation

Thanks.


[BUG] st2 reload capability leaves stale actions (maybe not only actions)

If there was an action and it was removed.

ls -1 /opt/stackstorm/packs/default/actions/*.yaml

/opt/stackstorm/packs/default/actions/show.indices.yaml
/opt/stackstorm/packs/default/actions/show.snapshots.yaml
```
2. st2 run packs.load register=all
3. st2 action list -p default

ref
pack
name
description

default.show
default
show
Show indices

default.show.indices
default
show.indices
Show indices

default.show.snapshots
default
show.snapshots
Show snapshots

We've introduced stale default.show action.

v0.8.3

This is the same as #924
Currently it's considered a feature, but we are also discussing how to improve on that and still follow the "infrastructure as code" mantra.

Duplicate of https://github.com/StackStorm/st2/issues/924.
Closing, marking original as 'community reported'


Fix append!!

https://github.com/tkf/Transducers.jl/pull/291

Codecov Report

Merging #149 into master will decrease coverage by 0.16%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #149      +/-   ##
==========================================
- Coverage   91.98%   91.81%   -0.17%
==========================================
  Files          22       22
  Lines         449      452       +3
==========================================
+ Hits          413      415       +2
- Misses         36       37       +1

Impacted Files
Coverage Δ

src/dataframes.jl
100.00% <100.00%> (ø)

src/initials.jl
80.00% <100.00%> (+5.00%)
:arrow_up:

src/staticarrays.jl
100.00% <100.00%> (ø)

src/NoBang/base.jl
93.50% <0.00%> (-1.30%)
:arrow_down:

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 285432d...6180c7d. Read the comment docs.


Improve error messages from slivers.

Also, fix some logic in SliverPadding.

LGTM w/ test if the padding change is observable.

Fixes https://github.com/flutter/flutter/issues/8378

landing on red because redness was a transient error on the windows bot


Updated CHANGELOG.md and package.json

Codecov Report

Merging #142 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #142   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          33     33
  Lines         684    684
  Branches       84     84
=====================================
  Hits          684    684

Flag
Coverage Δ

#builder
100% <ø> (ø)
:arrow_up:

#runtime
100% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

config/webpack/test.webpack.config.js
100% <0%> (ø)
:arrow_up:

config/webpack/common.webpack.config.js
100% <0%> (ø)
: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 6bfad03...085ad3b. Read the comment docs.


Update Fluentd to v1.10.2

Checklist

[x] Update changelog in CHANGELOG.md.

@stone-z could we use dependabot to do that automatically? Are you aware of any other tool we could use?

Dependabot does support Dockerfiles :+1:

So how should I go about enabling it :D

I went ahead and added it as dependabot had somehow been removed again. There is some more info in fmt if you need to tune configuration

Thanks a lot :)


Add quantization scripts

The PR adds gptq and awq quantization demos to Yi models. Note that Yi models' support is newly added to AutoAWQ, one must build it from the source for now.

@forpanyang Could you also update the news section in the README?


Update bigvgan.py | fix AMPBlock2

Forward pass of AMPBlock2 returned no result

Oops, thanks for the catch!


setting up newsfeed to run sentiment analysis on inputs

Draft

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

#244  👈
#243
#238
master

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

Join @chrisaddy and the rest of your teammates on  Graphite

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

#244  👈
#243
#238
master

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

Join @chrisaddy and the rest of your teammates on  Graphite


Navigation to graph

Investigate if navigation can be added to the graph

At the moment it is discarded, with the current development I am requesting my problem :P.


strokeWidth not applying to RotationHoleLoader

Setting a value on strokeWidth results in no change of thickness.
eg
<RotationHoleLoader color="#fff" size={55} strokeWidth={4} />
The size works fine, the strokeWidth does nothing.

Hi, I looked inside the node_modules package of this library and there is a typo and you have to put strokeWith, without the "d" and it will work @liquidvisual

@ceyanesb Ah, good spot! Thanks for the tip 👍


⚠ Bofrost.de has degraded performance

In de65547, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 756 ms

Resolved: Bofrost.de performance has improved in 7e9b741 after 13 minutes.