monitor does not show outputs and gradients info

For example, I am using pattern ".*" for the MNIST mlp example, I am getting the following results:
2016-07-24 15:49:29,793 Node[0] Batch:       1 data                           [ 0.13061219  0.30808547  0.          0.99609375]
2016-07-24 15:49:29,793 Node[0] Batch:       1 fc1_bias                       [ -3.08726085e-05   1.53954446e-04  -4.65954043e-04   2.56158208e-04]
2016-07-24 15:49:29,793 Node[0] Batch:       1 fc1_weight                     [  5.39353787e-05   5.04857078e-02  -2.17207685e-01   2.08606884e-01]
2016-07-24 15:49:29,793 Node[0] Batch:       1 fc2_bias                       [ -6.66622800e-05   2.33623621e-04  -7.63331132e-04   4.55714762e-04]
2016-07-24 15:49:29,793 Node[0] Batch:       1 fc2_weight                     [-0.0018092   0.12394916 -0.45482582  0.46809933]
2016-07-24 15:49:29,793 Node[0] Batch:       1 fc3_bias                       [  7.56699564e-11   5.93516452e-04  -1.21621729e-03   7.25193764e-04]
2016-07-24 15:49:29,795 Node[0] Batch:       1 fc3_weight                     [-0.00219472  0.17092729 -0.47751909  0.49565139]
2016-07-24 15:49:29,795 Node[0] Batch:       1 softmax_label                  [ 4.21875     2.93932796  0.          9.        ]

How can I monitor for the gradients and outputs (e.g. fc1_backward_weight, fc1_output)?

update to newest master. This should have been fixed

@piiswrong I have tried the latest one, and it is fixed.


Consider adding pbtext source node comments as tooltips in Visualizer tool

I think that displaying the comments of a graph node upon hover would really help with orientation, making the visualizer tool more useful when learning how a given pipeline works. Maybe making the comment a text element of the node object (in the interpreter) would technically help to accomplish this cleanly, but I guess that grabbing the comment block should be straightforward under mild assumptions.

I think other aspects would have much greater impact. Closing my own.


What is specific to Synology when configuring WireGuard?

I'm following this guide when setting up WireGuard and I have all the tools needed except when I reach

We also want to ensure that the rules remain persistent across reboots.

Specific packages are required here that we don't have available to us as Synology owners. Have you followed a different guide? Did I even need the iptables rules?

I don't use any iptables configuration. However, I don't use the NAS for tunneling traffic to the internet. Maybe it's required for that.
This is the best guide I found: https://try.popho.be/wg.html (which doesn't talk about iptables)

Well dang I did my best to tunnel all my traffic through but no luck. At least on my Android device, I can't resolve any web addresses.

You may want to try the new release. It adds iptables support:
https://github.com/runfalk/synology-wireguard/releases/tag/0.0.20190227-2
This should make


DR-> Change log shows incorret "Date of change" information

Scenario:

Navigate to the DR on TEST environment: https://test-data.bcparks.ca/admin/
Navigate Protected areas page.
Select any park and do a major change
Navigate to the Change log page
Check if you can see the Major change you did and verify the details displayed on the search table is correct.

Issue:

The date displayed for the "DATE OF CHANGE" is incorrect.

this is high priority to resolve - moving into current sprint

Tested on TEST: Passed

Verified that this issue has been fixed.


Time dependent NBI CX

add support for time-dependent NBI CX rate. It should be backward compatible with previous time-independent input.

@odstrcilt some tests are failing. Can you please check?

It seems to be unrelated to my change, I have no idea how to fix it. Perhaps I could make an empty push to rerun the regression tests again.

Based on the error, it looks like the python3.9 installation is missing numpy package.


include status code for Unknown Error

i'm getting Unknown error. added status code to be able to diagnose this further

tail of chef-client run:
Running handlers:
[2015-01-22T14:14:59+02:00] ERROR: Running exception handlers
  - SyslogReporting
Running handlers complete
[2015-01-22T14:14:59+02:00] ERROR: Exception handlers complete
[2015-01-22T14:14:59+02:00] FATAL: Stacktrace dumped to /var/cache/chef/chef-stacktrace.out
[2015-01-22T14:14:59+02:00] DEBUG: FFI_Yajl::EncodeError: Unknown YAJL Error (7), please report this as a bug
/usr/share/ruby/vendor_ruby/1.9/ffi_yajl/encoder.rb:50:in `raise_error_for_status'
/usr/share/ruby/vendor_ruby/1.9/ffi_yajl/encoder.rb:21:in `ffi_yajl'
/usr/share/ruby/vendor_ruby/1.9/ffi_yajl/encoder.rb:21:in `ffi_yajl'
/usr/share/ruby/vendor_ruby/1.9/ffi_yajl/encoder.rb:21:in `ffi_yajl'
/usr/share/ruby/vendor_ruby/1.9/ffi_yajl/encoder.rb:21:in `ffi_yajl'
/usr/share/ruby/vendor_ruby/1.9/ffi_yajl/encoder.rb:21:in `ffi_yajl'
/usr/share/ruby/vendor_ruby/1.9/ffi_yajl/encoder.rb:21:in `ffi_yajl'
/usr/share/ruby/vendor_ruby/1.9/ffi_yajl/encoder.rb:21:in `do_yajl_encode'
/usr/share/ruby/vendor_ruby/1.9/ffi_yajl/encoder.rb:21:in `encode'
/usr/share/ruby/vendor_ruby/1.9/ffi_yajl/encoder.rb:27:in `encode'
/usr/share/ruby/vendor_ruby/1.9/ffi_yajl/json_gem.rb:66:in `to_json'
/usr/share/ruby/vendor_ruby/chef/json_compat.rb:91:in `to_json'
/usr/share/ruby/vendor_ruby/chef/http/json_input.rb:34:in `handle_request'
/usr/share/ruby/vendor_ruby/chef/http.rb:222:in `block in apply_request_middleware'
/usr/share/ruby/vendor_ruby/chef/http.rb:220:in `each'
/usr/share/ruby/vendor_ruby/chef/http.rb:220:in `inject'
/usr/share/ruby/vendor_ruby/chef/http.rb:220:in `apply_request_middleware'
/usr/share/ruby/vendor_ruby/chef/http.rb:141:in `request'
/usr/share/ruby/vendor_ruby/chef/http.rb:118:in `put'
/usr/share/ruby/vendor_ruby/chef/node.rb:524:in `save'
/usr/share/ruby/vendor_ruby/chef/client.rb:287:in `save_updated_node'
/usr/share/ruby/vendor_ruby/chef/client.rb:433:in `do_run'
/usr/share/ruby/vendor_ruby/chef/client.rb:213:in `block in run'
/usr/share/ruby/vendor_ruby/chef/client.rb:207:in `fork'
/usr/share/ruby/vendor_ruby/chef/client.rb:207:in `run'
/usr/share/ruby/vendor_ruby/chef/application.rb:236:in `run_chef_client'
/usr/share/ruby/vendor_ruby/chef/application/client.rb:338:in `block in run_application'
/usr/share/ruby/vendor_ruby/chef/application/client.rb:327:in `loop'
/usr/share/ruby/vendor_ruby/chef/application/client.rb:327:in `run_application'
/usr/share/ruby/vendor_ruby/chef/application.rb:55:in `run'
/usr/bin/chef-client:26:in `<main>'
Chef Client failed. 6 resources updated in 27.581608544 seconds
[2015-01-22T14:14:59+02:00] DEBUG: Server doesn't support resource history, skipping resource report.
[2015-01-22T14:14:59+02:00] ERROR: Unknown YAJL Error (7), please report this as a bug
[2015-01-22T14:14:59+02:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

the actual bug can be reproduced with this code:
#!/usr/bin/ruby
# vim:encoding=utf-8
require 'ffi_yajl'

obj={
    "automatic"=>{
        "etc"=>{
            "passwd"=>{
                "root"=>{"dir"=>"/root", "gid"=>0, "uid"=>0, "shell"=>"/bin/sh", "gecos"=>"Elan Ruusam\xc3\xa4e"},
                "glen"=>{"dir"=>"/home/glen", "gid"=>500, "uid"=>500, "shell"=>"/bin/bash", "gecos"=>"Elan Ruusam\xE4e"},
            }
        },
    },
}

puts FFI_Yajl::Encoder.encode(obj)

should I open separate ticket for unable to encode invalid utf8 stream? or developers can pick it up from here?

yeah, i'm definitely aware of that problem.  we need a flag to sanitize the strings and replace invalid utf8 with '?' or something so that the end of chef-client runs don't fail like that.  there's an upstream bug where the source of the data should get fixed, but having chef die like that is crappy.

as for gecos field, it's not fixable. i mean it's not standardized what encoding /etc/passwd must be. it's just good idea to use utf-8 nowadays.
aside: i disabled "passwd" plugin (with chef-client cookbook) but somehow chef still managed to fail with this (the passwd plugin was not supposed to be ran at all). need to dig this deeper and report propertly (to ohai package or to chef package, or even chef-client cookbook)

Most likely you were just trying to use ohai 6 syntax to disable it which needs to be updated to ohai 7 syntax.  My thought on the bug was that the ohai passwd plugin should be sanitizing any non-utf8 strings before handing it back, because the whole rest of chef-client's internals may have issues with that kind of stuff as well in various places.

ah, thanks for the hint! my chef-client cookbook is rather outdated (disable not working problem is likely buried there)


child resolution generic type not working

Bug Report
🔎 Search Terms
child typing
🕗 Version & Regression Information

This is a crash
This changed between versions ______ and _______
This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
I was unable to test this on prior versions because _______

⏯ Playground Link
Playground link with relevant code
💻 Code
class User {
	public name: string = ''
	public surname: string = ''
	public age: number = 1
}
class Address {
	public street: string = ''
	public postCode: string = ''
}

class Filter<T> {}

class FilterEqual<T, K extends keyof T> extends Filter<T> {
	constructor(field: K, public value: T[K]) {
		super()
	}
}

class Criteria<T> {
	constructor(filters: Filter<T>[]) {}
}

class UserRepository {
	public search(criteria: Criteria<User>): User[]{
	        return [new User()];
	}
}

const userRepository = new UserRepository()
userRepository.search(
	new Criteria([new FilterEqual<Address, 'street'>('street', '')]),
)

🙁 Actual behavior
Typescript does not catch the error when a userRepository is passed a criteria with a street filter instead of users
🙂 Expected behavior
Typescript should report as an error if the user repository is sent a filter other than users
Disclaimer
I'm sorry for the chosen title, I really don't know how to explain this in one sentence, if someone comes up with a better title I will gladly change it

Typescript does not catch the error when a userRepository is passed a criteria with a street filter instead of users

Because this is valid. They're the same type.
From the FAQ: Why is A<string> assignable to A<number> for interface A<T> { }?

I'm sorry I do not understand it. I am using the types in the constructor, in fact I have tried to create a function that uses them too but the error still does not come out. In the documentation it says that the behavior is for not using them and in the example, indeed, they are not used
  name: string;
}

I have modified to:
class FilterEqual<T, K extends Extract<keyof T, string>> extends Filter<T> {
	constructor(private field: K, private value: T[K]) {
		super()
	}

    convert() {
        return `$eq('${this.field}', ${this.value})`
    }
}

But the behavior is the same.
I think I'm getting it wrong, could you tell me what I should do?

I have modified to:

That's not enough, because the other types are still compatible. Filter<User> is the same as Filter<Address>, and Criteria<User> is the same as Criteria<Address>. You must make all the types incompatible.
Playground link

For the record: constructor parameters don’t play into the type of a class.

For the record to the record: Parameter properties of constructors do play into the type of a class.

Yeah, I thought of that after I said it, hence my rephrasing edit. :wink:  Technicalities…

Thank you so much, now, I understand everoything, I forgot the Filter class!
I'm sorry I made you waste your time


use GitHub Actions instead of Travis CI

https://github.com/dwijnand/sbt-project-graph/commit/6597f02c45470d9a27939a2b5e0154ee7779d44d


Vehicle frame orientation

What is the orientation of the vehicle/body frame ? Is it RFU or FLU ? There is inconsistency in the documentation. What convention do modules like localization, perception and planning follow ?

It is FLU. I think what you want is in the https://github.com/ApolloAuto/apollo/blob/master/modules/planning/planner/navi/navi_planner.h

The problem is it is inconsistent. What about localization and perception ?

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.


changes in security loadouts

About the PR
This PR extend loadouts of security and reworks some aspects of them
Why / Balance

Why grey jumpsuits for cadets?

Because red jumpsuits are not unique and there are many of them at the station, but only the security have grey ones

Why do cadets need hats?

Why not?

Why does the HoS need so many jumpsuits in loadout?

Because they are in the game

Why do they need gloves?

Because it looks stricter and more logical. They don't want to leave their fingerprints on the evidence

Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl:

add: More suits for HoS and others
add: Officers and cadets now have black gloves
add: Hats for cadets
tweak: Cadets now use grey security suit
tweak: Some loadout groups are optional

Ready to discuss and make changes if necessary

Based on #27023 (the blue suit being removed from it) I don't think the blue HoS jumpsuit should be in there

Based on #27023 (the blue suit being removed from it) I don't think the blue HoS jumpsuit should be in there

If necessary, I'll remove it, but for now I'll leave it

I dont really understand the reasoning for moving a unique existing jumpsuit sprite into a few-hours-long trainee role. It feels like more is lost than gained here. Honestly, if somebody wants to give trainees their own jumpsuit, for any department, they should atleast sprite something instead of digging in the current collection of clothes to take something away from some existing loadouts.

I like the idea but gloves shouldn't be part of the loadout but treated more of as a tool. If every sec officer spawns with gloves on, then there would be no sloppy sec mishandlings that allows the criminal to get away through sheer incompetence :trollface:

I like the idea but gloves shouldn't be part of the loadout but treated more of as a tool. If every sec officer spawns with gloves on, then there would be no sloppy sec mishandlings that allows the criminal to get away through sheer incompetence :trollface:

Quite the contrary, because fingerprints can be determined by whose, but the black fibers are the same

I returned grey suits to officers loadout


Implement distributed locks

Redis provide a algorithm called Redlock, it is little complicated, better lettuce can implement it.
Or I have to use another redis client to handle the lock.
From offical site: http://redis.io/topics/distlock

Hi @longkerdandy,
thanks for your feature-request. lettuce is a low-level client that allows users to execute Redis commands. High-level functionality such as distributed locks or object mapping are not in the scope of lettuce. However there are other clients like https://github.com/spring-projects/spring-data-redis and https://github.com/mrniko/redisson that provide high-level functionality for your application. It's worth taking a look on these libraries.
lettuce is intended to provide command-level access to Redis and to do its job in the best way possible.

Closing.


Update from Ghost 0.8.0 to Ghost 0.11.2

On the Dockerfile and Makefile the version of Ghost is on 0.8.0; the current version is 0.11.2.
This are the changes that are in Ghost 0.11.2

[Fixed] The memory leak is really actually gone this time 🤐
[Fixed] Removed deprecated body classes from Casper 🙅🏽
[Fixed] Allow database migrations to run if the active theme is not present 🐛
[Security] Prevent bad urls from being passed to the subscribers page 🚫
And several dependency updates

It would also help a lot if Ubuntu is updated to 16.04 LTS Xenial.

Thank you


Update GLFW to 3.1?

New GLFW version was released this week. I see raylib uses 3.0.4, which is a year old now.

Thanks procedural, I already uploaded new GLFW version 3.1 to develop branch. It will be integrated into master branch in  next release (hopefully, in a couple of weeks).

It seems that there are linking problems with new version with MinGW (32bit) under Windows 8.1 (64bit). I have to take a look at this issue: : undefined reference to `__ms_vsnprintf'

Yea, your libs define these symbols:
In glfw3.dll:

6e5ccd60 T ___ms_vsnprintf
6e5cd7b8 T __vsnprintf
6e5d33e4 I __imp___vsnprintf

In libglfw3.a:

         U ___ms_vsnprintf

And here I've compiled GLFW 3.1 today with mingw32 compiler on Windows 7:
In glfw3.dll:

6cc0b030 T ___mingw_vsnprintf
6cc0b030 T _vsnprintf

In libglfw3.a:

         U _vsnprintf

Try them and if they work for you, you can use them for raylib:
https://mega.co.nz/#F!5J4F0Z4L!rP8BtygpB5pAIV5gI6clJA

Thank you very much! It works for me! I integrate it into develop branch.

Glad to help, @raysan5!

Thank you @procedural u save me from a looot o more searching

Cheers @procedural finally got to compile.


Support in-app links to search URLs

Make sure our code can understand in-app links to search URLs. Examples of such links:
Search all:
https://chat.zulip.org/#narrow/search/test
Private search:
https://chat.zulip.org/#narrow/is/private/search/test
Search in all streams:
https://chat.zulip.org/#narrow/stream/7-test-here
Search within a given stream:
https://chat.zulip.org/#narrow/stream/48-mobile/search/test
Search within topic:
https://chat.zulip.org/#narrow/stream/243-mobile-team/topic/some-topic-name/search/test
Search in PMs with a given person:
https://chat.zulip.org/#narrow/pm-with/123-something/search/test
Show sent by:
https://chat.zulip.org/#narrow/sender/4283-karasundal2002
This should be a follow up to the work in #3240

More directly, this is a follow-up task to #2760 .


Changed example to use a Makefile to "automate" deployment

I made a simple Makefile and yaml "templates" that allow you to dynamically add new replicas to the cluster. I feel this is simpler than the current example.

Nice! Thanks for the PR, LGTM.


Installation failure at zeromq install script, Debian 10

Prerequisites

[🗸] Have you checked the solutions in our troubleshooting guide for common problems ?
[🗸] Have you checked that your issue isn't already filed ?

Description
Installation of hydrogen fails at the zeromq install script stage.
zeromq builds successfully.
Steps to Reproduce

Create clean Atom install on Debian 10
Attempt to install Hydrogen

Versions

OS version: Debian 10

atom --version

Atom    : 1.45.0
Electron: 4.2.7
Chrome  : 69.0.3497.128
Node    : 10.11.0

apm --version

apm  2.4.3
npm  6.2.0
node 10.2.1 x64
atom 1.45.0
python 2.7.16
git 2.20.1

Hydrogen version:

N/A
Plugins
Have you installed and activated any of the Hydrogen plugins below ?

[ ] hydrogen-python
[ ] Hydrogen Launcher
[ ] Data Explorer

Logs
2020-03-11T13_04_52_809Z-debug.log
Expected behavior
Successful Hydrogen plugin install
Screenshots
Additional context

The link to the log is not working for me.

The link to the log is not working for me.

Sorry, things have been a bit hectic lately. I believe the link should now work.


SW-23605 | HttpCache beim ersten Aufruf fehlerhaft / Could not write …

1. Why is this change necessary?
Fatal error: Uncaught RuntimeException: Could not write cacheKey in engine/Shopware/Components/HttpCache/Store.php:206
2. What does this change do, exactly?
fix empty return value to be 'true' instead of empty
3. Describe each step to reproduce the issue or behaviour.
On initial visit of any URL when HttpCache is enabled.
4. Please link to the relevant issues (if any).
SW-23605 | HttpCache beim ersten Aufruf fehlerhaft / Could not write cacheKey
5. Which documentation changes (if any) need to be made because of this PR?
none
6. Checklist

[x] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hi @arosenhagen,
thank you for your fix, but the build will fail due to the static code analyzer. I think a return true; at the end of the save()-method being called there should do the same. Can you verify that?

For everybody who searches for a quick fix for the issue above: This error only occurs when the debug-setting for the HTTP-Cache is active. Removing the following lines from your config.php fixes the issue :
…
'httpcache' => [
    'debug' => true
]

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-23612
Please use this issue to track the state of your pull request.

Hi @arosenhagen, thank you very much for your contribution! 💙


Dependency injection compatible with minifiers

Dependency injection compatible with minifiers

I suggest you run an pre-minifier, such as ng-annotate. There are implementations for grunt, gulp, and many other systems.

Agree totally with bholloway. As much as possible it's my belief that you should not have to cater to your build process with your code, but rather the other way around - your build process should cater to your code. Workflow tools like gulp and grunt are intended to make your life easier as a developer and allow you to develop "naturally".
Out of curiosity, why are you minifying the file yourself? The .min.js file is exactly the same code except it has already had the $inject property appended by ng-annotate in my gulp build. I can't think of a reason to use the unminified file. Heck, if you wanted to, you could run the minified file through your minifier again. It shouldn't break anything.

It can still be problematic if a project concatenates and minifies all its bower dependencies. Fortunately, bower is able to filter libraries, and thus can ignore any other files than the .min.js one.
It has to be declared in the bower.json of every projects using ng-focus-if, though. So I also think that having the injection even in the source itself would simplify the build process without being too unnatural.

:+1: for annotating the unminified source.

Out of curiosity, why are you minifying the file yourself?

In a rails project I work on, we typically include the unminified source and serve the unminified source in our dev environment. If there's an error, we can see the line that it comes from. This worked fine for me in dev, When it went to a staging environment and was minified, the lack of annotations caused a bug.
Regardless of any particular build process, I think annotating makes sense if you're distributing your code to be used by others. All angular core libraries are distributed with annotations in their unminified form, as well as every other angular community package I've used so far.

Fixed by https://github.com/hiebj/ng-focus-if/pull/15#issuecomment-157502064


[Bug]: Supabase Service Minio Create Bucket Unhealthy

Description
When you create new Supabase Instance, one Minio Create Bucket Container is unhealthy. Cannot store sql queries and some other errors which might be related.

Minimal Reproduction (if possible, example repository)
Add Supabase service on Hetzner Arm Server.
Exception or Error
No response
Version
V4.0.0 Beta.239

That is normal as its purpose is to create the bucket, that's all. After that point, it will exit.
However, I pushed a fix to the Supabase service that will fix a few issues related to real-time events and Minio.


Persisting Crash in Super Sonic Story

Sonic Adventure DX on Steam repeatedly crashes when playing the final Super Sonic section of the game. For whatever reason, the game cannot load Super Sonic's model/textures, and I receive an error message saying that the game failed to apply one or more textures. This has never been an issue for me with the previous SADX Mod Manager. It has only occurred using the new SA Mod Manager. The game will crash during the cutscene that introduces Super Sonic. Skipping the cutscene does not avoid the crash. I have tried various solutions to attempt to circumvent the issue, to no avail.
I have provided a screenshot of my mod setup in SA Mod Manager for Sonic Adventure DX on Steam:

I tried with the following mods I had at hand and it didn't crash:

I don't think the crash is related to the new Manager either way, so I think this should be closed.


Localization is not working for firebase UI

Localization for the Firebase phone UI is now working.
I am trying to pass the locale like below but it is having no effect
-(void) launchFireBasePhoneAuthUI {
FUIAuth *auth = [FUIAuth defaultAuthUI];
auth.delegate = self;
FUIPhoneAuth *phoneAuth = [[FUIPhoneAuth alloc] initWithAuthUI:auth];
auth.providers = @[phoneAuth];
[FIRAuth auth].languageCode = @"he";
[[FIRAuth auth] useAppLanguage];
[phoneAuth signInWithPresentingViewController:self];
}
This is having no effect UI always takes the string which is on first index of preferredLocalizations
It always takes value of [NSBundle mainBundle].preferredLocalizations.firstObject.
So if my main bundle's first object is 'en' and I want to show the Firebase UI in Hebrew this is creating issues. May be because the exposed property 'languageCode' not taken care anywhere.
It takes the default value from

(nullable FUIAuth *)authUIWithAuth:(FIRAuth *)auth {
NSParameterAssert(auth != nil);
@synchronized (self) {
// Let the FIRAuth instance retain the FUIAuth instance.
FUIAuth *authUI = objc_getAssociatedObject(auth, &kAuthAssociationKey);
if (!authUI) {
authUI = [[FUIAuth alloc] initWithAuth:auth];
objc_setAssociatedObject(auth, &kAuthAssociationKey, authUI,
OBJC_ASSOCIATION_RETAIN_NONATOMIC);
if ([auth respondsToSelector:@selector(setAdditionalFrameworkMarker:)]) {
auth.additionalFrameworkMarker = kFirebaseAuthUIFrameworkMarker;
}
// Update auth with the actual language used in the app.
// If localization is not provided by developer, the first localization available,
// ordered by the user's preferred order, is used.
auth.languageCode = [NSBundle mainBundle].preferredLocalizations.firstObject;
}
return authUI;
}
}

Assigning the property 'languageCode' making no effect :(

@yramanchuk what's the intended behavior here? Seems like we may have meant to make the property readonly.
FYI @neerajpathak77 if you hardcode the language code, it will break localization for all users except the ones whose language codes coincide with the one you're setting. If you want to test localizations, instead of setting the value in code you should set your device or simulator's language or locale through the Settings app.

@morganchen12 I think you are correct but here the thing is if a user wants app specific language I mean to say if we need a functionality to change language from inside the application than there is no way out. I think we can use
[[[NSUserDefaults standardUserDefaults] objectForKey:@"AppleLanguages"] objectAtIndex:0]
rather than using  [NSBundle mainBundle].preferredLocalizations.firstObject. This will provide the flexibility to set app specific language.

Setting app-specific language is discouraged since system dialogues (share sheet/action sheet, SFSafariViewController, etc) will use the device locale/language and not the manually coded language, leading to a disjoint user experience where they suddenly have to switch languages inside the app.
This seems like a relatively easily supported feature, but @yramanchuk and @isaisachen should decide if this is something worth adding.
If it's not, though, that property should be marked readonly.

@neerajpathak77 we're not going to add this feature in the near future. I'll re-open this issue if the auth team reconsiders.


Fix for BasicBackupCreation - Added pre rule for the new postgres-backup app in AppParameters

What this PR does / why we need it:
This PR fixes the pipeline failure caused because we created a new postgres-backup application for Px Backup tests but missed to add it in the AppParameters in drivers/backup/portworx/portworx.go
Also, removed providing the pre rule while taking backup for BasicBackupCreation since it is not necessary for this test
Which issue(s) this PR fixes (optional)
Closes #
Special notes for your reviewer:

Aetos link


feat: reduce alt output format template code in theme

after ^1:
{{ range .AlternativeOutputFormats -}}
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
{{ end -}}

before (if no special requirements [^2]):
{{ range .AlternativeOutputFormats -}}
{{ . }}
{{ end -}}

or
{{ .AlternativeOutputFormats }}

[^2]: for example: OpenSearch need "title" field

The concept of output formats was added so we could output something other than ... HTML. This PR ties the output format beck to ... HTML, which I don't thin is worth a couple of extra characters in a template.

why can't it be similar to (page variable).TableOfContents?


Add Case Insensitive Role Assignment

Pull request for implementing issue #129.
These changes remove the need to use the correct case when requesting a role from the bot. Probably could be polished but the code has run fine in my tests.
Example 1: Normal Usage
Guild roles: @Highschool and @College
When the user inputs

!bot_prefix role college

the bot will add / remove the user to the role @College (if it is included in the list of assignable roles)
The user is removed from the role if they are currently assigned that role. The user is assigned the role if they currently do not have that role.
In the event th user incorrectly types a role, e.g. colleg, the bot will report that no role exists and list assignable roles.
If the user requests a role that exists but is not assignable, the bot will inform them they cannot be assigned that role.
Example 2: Special Case of Multiple Matching Roles
Guild roles: @College and @COLLEGE
When the user inputs

!bot_prefix role college

the bot will find that there are two matching roles (because case is ignored). As such, it will create a new message listing the roles matching the users request. The bot will add emoji reactions the user can select to choose the desired role.
Currently, up to 10 matching roles are supported (I doubt this limit will ever be an issue). More reactions could easily be added later to support more roles if desired.
Back to the example, the bot returns reactions:
1⃣ College
2⃣ COLLEGE
If the user selects 1⃣, the corresponding role is assigned / unassigned. The same applies if the user selects 2⃣.
There is a timer on selecting the role (currently 90s). If the user takes too long to choose a role (or more likely, forgets to choose one), the reactions are cleared so the bot is no longer waiting for a response.
If the user selects one of the reactions in the alloted time, they are assigned / unassigned the corresponding role.
Example 3: Special Case of User Case Matching Role Case
Guild roles: @College and @COLLEGE
When the user inputs

!bot_prefix role College

since the case of the input is an exact match for a role, the bot assigns / unassigns the user to role @College.
No warning of the existence of another similar role, @COLLEGE, is given. This would be an area for improvement.
Example 4: Special Case of User @Role Usage
Guild roles: @College and @COLLEGE
When the user inputs

!bot_prefix role @College

Meaning, the not @College the text, but rather, referencing the existing role, @College. Then the user will be assigned the @College role.
WARNING: This method is not recommended. Requesting a role this way would also ping all users with that role.
Example 5: Special Case of User @ Usage
Guild roles: @College and @COLLEGE
Case 1
When the user inputs

!bot_prefix role @College

Meaning, @College the text, not the existing role, then the bot will assign the user the role @College. This works because Discord will convert text @College to role @College automatically.
If the user types \@College to prevent Discord from converting to a role, the bot will not be able to find the role, and will instead list the roles the user may request.
Case 2
When the user inputs

!bot_prefix role @college

The bot will tell the user no such role exists and instead list the roles the user may request. The @ symbol in the text currently prevents the bot from recognizing the existence of this role.
Suggestions for the Future:

Warn the user of the existence of similar roles (see Example 3)
Add support for non-unicode emoji message reactions (Discord / custom emojis). Might be a good example of how to do this on ProgramCreek
Use regular expressions to identify possible roles the user meant to type (e.g. User typed colleg or colleeg when requesting role @college)
When the users requests a role and uses the @ at the beginning, remove the at symbol so the code can recognize the existence of the role (see Example 5 Case 2). Make sure to only remove the first @ symbol (and only if it is at the beginning of the string).

Closing pull request to create new one with squashed commits.


Rustler crate compilation changes

fixes #33

0.27 was the earliest Rustler version I found that worked without further modification
the version dependency is ~> 0.27 - it may break in the future with further rustler changes, but I would guess the frequency of this should be very low
I set the skip_compilation? option to true, since we have already compiled the crate. I may be missing something here though

Looks good! I think you're right on the skip_compilation? option, nice catch. I'll merge this in, but it may be a while before we cut a new release since we're blocked by ort coming out of RC.


Send language on survey creation

Changes:

Retrieve language from server response and add it to CreateResponseTask
Add tests

Added these changes to https://github.com/Wootric/WootricSDK-Android/pull/119


[AutoPR datafactory/resource-manager] [DataFactory] Event Trigger Subscription APIs

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/6893

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/5747


Fix KEYBASE_FEATURES env for ui

@keybase/react-hackers If anything is in the featureFlagsOverride it ignores the KEYBASE_FEATURES env. Which I'd imagine is not intentional

isn't that what override means though?

honestly we shold just drop teh env vars and just use the json


POL-454 No Root Account Access Key

Description
Adds a policy for finding if an AWS user has root access keys on their account.

          3 Errors

:no_entry_sign:
Policy Template path should be lowercase. security/aws/CIS/iam_noroot/aws_iam_noroot.pt

:no_entry_sign:
Please add a 'default_frequency' property field and value. security/aws/CIS/iam_noroot/aws_iam_noroot.pt

:no_entry_sign:
Please add labels to this Pull Request

  Generated by :no_entry_sign: Danger

We can probably put the CIS stuff in the readme also but I am not sure where


Resolving issue #1745. Added cluster option for SNI data

Summary
Added ability to pass cluster name as an option argument (..&options=cluster:..) in case SNI data is missing.
Resolving issue #1745
Rationale
Since SNI is a recent postgres feature, some posgres clients might not be updated, and since our proxy relies on the SNI data for routing, we need to prove an alternative way for users to pass this information. For that purpose we are added logic to use the cluster parameter from options argument as the SNI data
Behavior
After starting the proxy
./target/debug/proxy --auth-backend=console -c server.crt -k server.key
running (with sslsni=0)
psql 'postgres://my-cluster-123.localtest.me:4432/main?sslmode=require&sslsni=0'
results in (notice new error message)

got message: StartupMessage { major_version: 3, minor_version: 0, params: {"": "", "user": "klimentserafimov", "application_name": "psql", "database": "main", "client_encoding": "UTF8"} }
error: SNI info is missing. EITHER upgrade the postgres client library OR pass ..&options=cluster:.. parameter

Running (with ..&options=project:my-cluster-123)
psql 'postgres://my-cluster-123.localtest.me:4432/main?sslmode=require&sslsni=0&options=project:my-cluster-123'
results in (notice cluster name in StartupMessage)

got message: StartupMessage { major_version: 3, minor_version: 0, params: {"user": "klimentserafimov", "application_name": "psql", "database": "main", "client_encoding": "UTF8", "": "", "project": "my-cluster-123"} }
cplane request: http://localhost:3000/authenticate_proxy_request//proxy_get_role_secret?project=my-cluster-123&role=klimentserafimov
error: error sending request for url (http://localhost:3000/authenticate_proxy_request//proxy_get_role_secret?project=my-cluster-123&role=klimentserafimov): error trying to connect: tcp connect error: Connection refused (os error 61)

Which is exactly what we want, because when we run without sslsni=0 and without .&options=project:my-cluster-123:
psql 'postgres://my-cluster-123.localtest.me:4432/main?sslmode=require'
results in

got message: StartupMessage { major_version: 3, minor_version: 0, params: {"user": "klimentserafimov", "application_name": "psql", "client_encoding": "UTF8", "": "", "database": "main"} }
cplane request: http://localhost:3000/authenticate_proxy_request//proxy_get_role_secret?project=my-cluster-123&role=klimentserafimov
error: error sending request for url (http://localhost:3000/authenticate_proxy_request//proxy_get_role_secret?project=my-cluster-123&role=klimentserafimov): error trying to connect: tcp connect error: Connection refused (os error 61)

@KlimentSerafimov sorry for disrupting your workflow, I've just merged https://github.com/neondatabase/neon/pull/1802 which re-organizes some modules and fixes a couple of problems with error reporting. I put logic for handling project name (via sni) here, so I guess you could move your changes to that function.


YAML config variables

Hi!
I'm migrating a project that used serverless-nextjs-plugin to this serverless-next.js but I'm having some issues with the serverless.yml file.
Previously I used this to assign the bucketName:
custom:
  serverless-nextjs:
    assetsBucketName: ${file(./s3BucketName.js):s3BucketName}

and now it looks like this:
appName:
  component: serverless-next.js
  inputs:
    bucketName: ${file(./s3BucketName.js):s3BucketName}

${file(./s3BucketName.js):s3BucketName} doesn't seem to be working any longer as I get the error:  InvalidBucket: Bucket names cannot contain forward slashes. Bucket: ${file(./s3BucketName.js):s3BucketName}
After this I went through serverless components Readme and it said I could use env variables in the yaml, so I changed the bucketName assignment to: bucketName: ${env.BUCKET_NAME} and now get error: Error: invalid reference ${env.BUCKET_NAME}
The reason behind trying to do it this way is because I have multiple environments on which I want to deploy. So depending on the environment variable I set the name of the s3BucketName, but now I find no way to read this or the environment variable.
Also. I was able before to set the stage this way, but I no longer know where this config should be written, or if it should be written at all:
provider:
  name: aws
  runtime: nodejs10.x
  memorySize: 512
  stage: ${opt:stage, 'dev'}

I'm not sure if I'm missing something, as I can't find any docs or examples, or if this is an actual bug with variables.
Thanks!!

Using serverless components is very different to using the old serverless plugins. For one thing, you cannot mix the "old" style with the "new" style. So instance, you cannot use a provider.

I am having a similar problem.
I want to create custom domains for different stages with the help of variables, like this:
nextApp:
  component: "serverless-next.js"
  inputs:
    domain:
      - ${opt:stage, 'dev'}
      - "mydomain.com"

This creates template-files where the domain is resolved to "domain": "${opt:stage, 'dev'}.mydomain.com, which is not want I want.

I am having a similar problem.
I want to create custom domains for different stages with the help of variables, like this:
nextApp:
  component: "serverless-next.js"
  inputs:
    domain:
      - ${opt:stage, 'dev'}
      - "mydomain.com"

This creates template-files where the domain is resolved to "domain": "${opt:stage, 'dev'}.mydomain.com, which is not want I want.
Like @mbenitezm I'm not sure if I am missing something or if this is a bug.

Exactly in the same situation! Did you find any workaround?

You can only access environment variables with severless components so you need to do something like this
https://github.com/danielcondemarin/serverless-next.js/tree/master/packages/serverless-nextjs-component/examples/multiple-instance-environment

@SarKurd - are you sure that even works? No matter what I try I get Error: invalid reference ${env:MYVAR} for any environment variable I try to use. Even though I know it's set on my computer.
node_modules/@serverless/template/utils.js:128:19)
node_modules/serverless/node_modules/traverse/index.js:190:22)
node_modules/serverless/node_modules/traverse/index.js:208:29
 at Array.forEach (<anonymous>)

that's V2 which was released a few days, severless-next.js only supports V1 atm
That's the supported V1 that serverless-next.js uses https://github.com/serverless/components/tree/v1
You either wait until serverless-nextjs adds support for V2 or you need to follow this example for now https://github.com/danielcondemarin/serverless-next.js/tree/master/packages/serverless-nextjs-component/examples/multiple-instance-environment

Thanks. I did a modified version of that example. I forget whether or not it was dotenv or something else that only allowed a pre-configured set of environments (development, staging, production). But that didn't work for us. So a long time ago we ended up going with env-cmd instead, as it allowed any arbitrary environment you want. So since I know that works I went with it for serverless_next.
Also I didn't like the idea of installing a bunch of extra packages and using the serverless.js->load serverless.yml paradigm if I didn't have to.
So what I came up with for the moment looks like this.
package.json:
    "deploy-local": "env-cmd .env.local serverless",
    "deploy-dev": "env-cmd .env.development serverless",
    "deploy-stage": "env-cmd .env.stage serverless"

.env.development:
REACT_APP_API_GATEWAY_HOST=https://ourapihost.com
REACT_APP_USER_POOL_ID=ouruserpoolid
etc.

*next.config.js
module.exports = {
  env: {
    REACT_APP_API_GATEWAY_HOST: process.env.REACT_APP_API_GATEWAY_HOST || 'https://ourapihost.com,
    REACT_APP_USER_POOL_ID: process.env.REACT_APP_USER_POOL_ID || "ouruserpoolid",

I feel like I'll keep tweaking this to simplify it. But at least I know it works.
We also don't check in the .serverless folder (that really doesn't work for CICD and I'm surprised it's ever been suggested) but we do cache the build state for each environment on S3. Each dev also has their own personal instance on AWS which they can deploy and test any time.
Work in progress but at least everything seems to work for us from a devops POV.

That's what we do, in our case the pipeline is much simpler since we have integrated the CI with our infra very well
But i'd advice you to not spend so much time on it as Serverless components V2 released, it's going to be much more easy to deploy after serverless-next.js supports V2

Yeah that's what I'm hoping for. Caching the build state on S3 is not optimal.

UPDATE: ARGH - I was looking at the example on the serverless components page, which uses a colon. When I change it to a dot, it works. Leaving this up in case anyone else makes the same mistake.
@SarKurd - are you sure that even works? No matter what I try I get Error: invalid reference ${env:MYVAR} for any environment variable I try to use. Even though I know it's set on my computer.
Here's the stack trace:
node_modules/@serverless/template/utils.js:128:19)
node_modules/serverless/node_modules/traverse/index.js:190:22)
node_modules/serverless/node_modules/traverse/index.js:208:29
 at Array.forEach (<anonymous>)

For anyone having this issue I was able to fix by replacing : with . as was said in this link: https://www.gitmemory.com/issue/danielcondemarin/serverless-next.js/278/571668779


[DisboardReminder] Red Economy as reward

Detailed Description
Provide the option to users to give an amount of economy to a user as a reward for bumping the discord server.
Context
At the moment, the only reward for bumping the server is a message thanking users and reminding them to review. Providing an economic benefit will gamify the bump function with users, increasing the likelihood of timely bumps.
Possible Implementation
When a user runs !d bump, using the same function that's used to check the time and generate the 2 hour reminder message, also allow bot owners to specify an amount of Redbot Economy currency as a reward for bumping. This would use the deposit_credits  function.

I am pretty sure that rewards for bumps is against disboard TOS. This cog used to have bump leaderboard but was later removed due to the TOS.


Build FreeBSD failure

https://github.com/CodeEagle/flutter-resource-manager/actions/runs/3393777734/jobs/5641509806
test run project
just rename and push it to github, always build failed

upgrade the vmactions/freebsd-vm to 0.3


Testing API Interactions

Currently the test suite stubs HTTP requests in a somewhat unsophisticated way, implementing proprietary logic about raising errors and returning data. This works pretty well (and is relatively easy to understand) but has a few shortcomings:

doesn't test specific aspects of the HTTP/HTTPS connection (see, eg, #1035)
doesn't test authentication (either HTTP Basic or with API keys)
doesn't test code inside of make_api_request (because it's stubbed)
defines response content and headers in different places (content is in a file, status code and headers are defined in a method)

I'm open to discussion about how to improve the above. However, note that any solution must:

be able to simulate requests to APIs that require authentication, without storing credentials in the Git repo (ie: everyone needs to be able to run these tests)

WebMock looks like good fit as it can handle:

authentication
most connection-specific things (timeouts, etc)
it mocks on level of HTTP-adapters, so no need to stub any gem methods
responses can be stored in file with status code and headers (see curl -is in its readme)


fix: fix /api/v2/blocks in API doc

Codecov Report

Merging #100 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #100   +/-   ##
========================================
  Coverage    97.46%   97.46%
========================================
  Files           57       57
  Lines         1460     1460
========================================
  Hits          1423     1423
  Misses          37       37

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 fc990c8...99ec6d8. Read the comment docs.


Rewrite the application with Java / OpenJDK 10

Using Tcl/Tk offers a lot of advantages for this project. But unfortunately it also has some negative aspects:

The environment is not very well supported. There aren't any good IDE's for Tcl development available, which makes contributions quite difficult.
Due to the lack of native implementations we have to rely on external applications (OpenSSH, VNC servers), which are quite difficult to handle (especially in case of errors).
It is not possible to sign the created binary on modern macOS systems. Therefore it's basically impossible to start the application bundle on macOS in a straightforward way (without bypassing the security mechanics of the operating system).
On different platforms we use different VNC servers. Their feature set is quite different. Therefore it's not easily possible to provide a wider range of features on all platforms (e.g. file transfers).

Our goal is to provide a solution, that works reliably on all operating systems with a common set of features. After some investigation we came to the conclusion, that Java with its multi platform approach might solve these issues quite well - especially since they provide a way to create a stripped down version of their runtime environment since Java 9 (via Jigsaw / jlink).
After some experiments we can confirm, that our tests with java.awt.Robot offered comparable performance to the established VNC solutions. But of course there should be space for optimization left. ;)
Bundling the application with OpenJDK 10 leads to an uncompressed application folder with about 50MB. A compressed download has a size of about 25MB - 30MB. This of course is a lot bigger then most other VNC solutions. But these are still acceptable values for our use case. Considering the advantages of a consistent environment for all supported platforms outweigh the bigger download sizes from our point of view.
To make a long story short: We're planning to rework RemoteSupportTool entirely in Java. As far as we know, there are some similar projects in the Java world. But either they are not completely open source or they are not actively maintained anymore. Hopefully we can fill that gap and provide a solution, that is also helpful for other users / companies.

fixed with the release of version 1.0.0


LookupEditor too slow with too much rows

I have one table(members) with around 19,000 rows and using it on a LookupEditor.
The problem is, the LookupEditor download all rows and show it "paginated" on dropdown.
How I can improve it with? This LookupEditor is too slow...
Example:
using System.ComponentModel;
using Xyz.Entities;

namespace Colabra.smu.Agenda.Forms
{
    using Serenity.ComponentModel;
    using System;
    [DisplayName("Bla")]
    [FormScript("Xyz.Members")]
    [BasedOnRow(typeof(Entities.MembersRow), CheckNames = true)]
    public class MyForm
    {
        public Int64 Id{ get; set; }
        [DisplayName("Members"), LookupEditor(typeof(MembersRow))]
        public Int64 Member { get; set; }

    }
}

See this old post https://github.com/volkanceylan/Serenity/issues/375

@olaferlandsen Please close the issue if solved....


Remove FileSystem usage in ExplicitModuleBuildHandler

Instead of writing temporary files directly, it now uses a new VirtualPath case, temporaryFileWithKnownContents, to record the encoded artifact info. ArgsResolver is then responsible for writing the contents to a temporary file. This works pretty similar to file lists, but the contents of the files in this case don't require any path resolution.
Builds on #248, but only to avoid merge conflicts.

Looks like this will require an SPM update too

@swift-ci please test

Long term the filelist case could be removed, since it's really just a temporary file with known contents as well.

The Swift project moved the default branch to main and deleted master branch, so GitHub automatically closed the PR. Please re-create the pull request with main branch.
More detail about the branch update - https://forums.swift.org/t/updating-branch-names/40412


Exception when compiling with other extensions

I get the following errors when trying to reference other extensions:
0 55.32 # github.com/pmalhaire/xk6-mqtt
#0 55.32 /go/pkg/mod/github.com/pmalhaire/xk6-mqtt@v0.40.0/client.go:78:16: cannot use rt (variable of type *goja.Runtime) as *sobek.Runtime value in argument to common.Throw
#0 55.32 /go/pkg/mod/github.com/pmalhaire/xk6-mqtt@v0.40.0/client.go:82:16: cannot use rt (variable of type *goja.Runtime) as *sobek.Runtime value in argument to common.Throw
#0 55.32 /go/pkg/mod/github.com/pmalhaire/xk6-mqtt@v0.40.0/client.go:86:16: cannot use rt (variable of type *goja.Runtime) as *sobek.Runtime value in argument to common.Throw
#0 55.32 /go/pkg/mod/github.com/pmalhaire/xk6-mqtt@v0.40.0/client.go:90:16: cannot use rt (variable of type *goja.Runtime) as *sobek.Runtime value in argument to common.Throw
#0 55.32 /go/pkg/mod/github.com/pmalhaire/xk6-mqtt@v0.40.0/client.go:94:16: cannot use rt (variable of type *goja.Runtime) as *sobek.Runtime value in argument to common.Throw
#0 55.32 /go/pkg/mod/github.com/pmalhaire/xk6-mqtt@v0.40.0/client.go:109:21: cannot use serversArray (variable of type goja.Value) as sobek.Value value in argument to rt.ExportTo: goja.Value does not implement sobek.Value (wrong type for method Equals)
#0 55.32                have Equals(goja.Value) bool
#0 55.32                want Equals(sobek.Value) bool
#0 55.32 /go/pkg/mod/github.com/pmalhaire/xk6-mqtt@v0.40.0/client.go:159:37: cannot use rt (variable of type *sobek.Runtime) as *goja.Runtime value in argument to getLabels
#0 55.32 /go/pkg/mod/github.com/pmalhaire/xk6-mqtt@v0.40.0/client.go:168:12: cannot use rt.NewObject() (value of type *sobek.Object) as *goja.Object value in struct literal
#0 55.32 /go/pkg/mod/github.com/pmalhaire/xk6-mqtt@v0.40.0/client.go:178:23: cannot use rt.ToValue(client.AddEventListener) (value of type sobek.Value) as goja.Value value in argument to client.obj.DefineDataProperty: sobek.Value does not implement goja.Value (wrong type for method Equals)
#0 55.32                have Equals(sobek.Value) bool
#0 55.32                want Equals(goja.Value) bool
#0 55.32 /go/pkg/mod/github.com/pmalhaire/xk6-mqtt@v0.40.0/client.go:180:18: cannot use rt.ToValue(client.SubContinue) (value of type sobek.Value) as goja.Value value in argument to client.obj.DefineDataProperty: sobek.Value does not implement goja.Value (wrong type for method Equals)
#0 55.32                have Equals(sobek.Value) bool
#0 55.32                want Equals(goja.Value) bool
#0 55.32 /go/pkg/mod/github.com/pmalhaire/xk6-mqtt@v0.40.0/client.go:180:18: too many errors

Any thoughts on why this would be a problem?
Example command that causes an error:
xk6 build --with github.com/pmalhaire/xk6-mqtt \
    --with github.com/mostafa/xk6-kafka \
    --with github.com/avitalique/xk6-file

Example command that compiles fine:
xk6 build --with github.com/pmalhaire/xk6-mqtt  --with github.com/avitalique/xk6-file

There are other extensions that don't work, just highlighting the xk6-kafka extension in this example.

this should be fixed with 0.40.1


[incubator/goldfish] Goldfish tweaks

What this PR does / why we need it:
Update the Goldfish chart to use the official Docker image, and tweaks accordingly.
Which issue this PR fixes:
Fix as PR.
Special notes for your reviewer:
Yay?

/assign @lachie83

/ok-to-test

/assign

@unguiculus seems that my rebase went sideways again, but I don't quite understand where/why; aside from that, should be good to go.

Doesn't look good. You did something wrong rebasing. Next time, please merge, which make s reviewing easier. PRs are squashed anyways.

/hold

@unguiculus Fixed the horrorshow rebase!

cc @tuannvm


S3 datalogger vs SolisControl

Hi there,
i have noticed that my S3 datalogger WiFi is sometimes unstable and requires to be switched off and on to come back to work properly. It happens once a months approx, but if i do not notice it by time then SolisControl is not able to comunicate with the inverter, therefore no charging/discharging actions.
I was wondering if ther SolisControl program would be able to get into Datalogger (i.e. via local IP) and set a reboot schedule. Looking at  datalogger config page i see there is the possibility to restart the Datalogger from web, so maybe HA is able to do it automatically?
Datalogger web page:

Or maybe there is already a different integration for that?
Thanks in advance!

In config.yaml i have this:

In secrets.yaml all is filled with real data and uncommented. See this:

In solis_s3_logger.py i have this:

Last event --> On Sunday 09.12.2024 i see i got datalogger problem at 2am.  Interesting, exactly at 2am i have automation to restart HA each day (but earlier neither later never had this problem exactly at 2am but random).
Same day later at 3:25am apps_solis_flux_times1_set_charge_times has been triggered but was not able to send charging time to the inverter via datalogger (i see in history but no waring/alarm displayed into register). Before 8am i switched off and on the datalogger and all started running again.
Here with HA Core register about pyscript when datalogger problem occurred:

Add the following lines in the solis_control section of config.yaml
  s3_username: !secret solis_s3_username
  s3_password: !secret solis_s3_password
  s3_ip: !secret solis_s3_ip

They are already there, did not see it before, sorry.
See this:

I have the same for all 3 solis_flux_times i set (not using your last version yet).

The latest version includes a message in the log if the connection to the logger is working or not
Otherwise you could run python solis_s3_logger.py -t -v (outside Home Assistant) to view the status of your logger connection. The key parameter is 'Connected' which should be True.


AESRC dataset

hello,i saw the dataset paper  AESRC 2020, it mention will open the dataset,how can i get the dataset?

Hi, i just comfirmed the access to get the dataset with data company DataTang.
You can get the data by submitting the form in https://www.datatang.com/Opendatasets.
The Chinese name of the data is '200小时十国人说英语手机采集语音数据' which can be found in the website above.

you can share the result of your application here :)

thank you for you share!

Hello,
I would also like to request access to the dataset. However, the application form requires a contact number and it does not seem to accept any phone numbers I enter. I also sent a request to<EMAIL_ADDRESS>but have not received any reply so far.
Any help would be much appreciated.


primitive can be used to per-feature postprocess

before this, set primitive selected in the per-feature postprocess had no effect, because they can't get the primitive's  pickIds.
add a readonly property to insure primitive can be used to per-feature postprocess

Thank you so much for the pull request @sweerwen! I noticed this is your first pull request and I wanted to say welcome to the Cesium community!
The Pull Request Guidelines is a handy reference for making sure your PR gets accepted quickly, so make sure to skim that.

:x: Missing CONTRIBUTORS.md entry.

Please add yourself to the contributors file!

:x: Missing CLA.

Please send in a Contributor License Agreement (CLA) and comment back here to let us know to check this!

:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

https://github.com/CesiumGS/cesium/issues/7984#issuecomment-521307685

Thanks again for your contribution @sweerwen!
No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.


Recent connected participant connected unexpected.

3 participants: A, B, C.
A,B, C join same room. Then all left.
Then A open a new room and B joined again. A got 2 streams from local and B correctly. However, B got 3 streams from local, A and strangely from C. C also strangely had B connected.
A: AB
B: ABC
C: BC
The more participants, the more B got streams.
Looks like B always remembers every peer it connected once. When join a new room, it tries to reconnect all of them instead of ones in new room.
Code based on ExpressJS and Signaling-Server.js.

At Signaling-Server.js Line 559,  I add a trace output.

var usersInARoom = roomInitiator.connectedWith;
...
var inviteTheseUsers = [roomInitiator.socket];
Object.keys(usersInARoom).forEach(function(key) {
inviteTheseUsers.push(usersInARoom[key]);
});

I found that it actually gave 3 participant at the second call. I guess that 's why the remote participant get
more peers.  I am trying to figure out what leave() do to the connectedWith. Did it miss removing userid when somebody leave?
Is it the correct clue?

problem solved by change RTCMultiConnection.js at line 5645.

connection.close = connection.disconnect = connection.leave = function() {
beforeUnload(false, false);
};

leave() do nothing to connectedWIth, it does not communicate with Signaling-Server. So the Signaling-Server still has old connectedWith data.
when a new call coming, Signaling-Server asked connection to connect all participants it knows. That's why all participants come back.
I found only disconnect-with() and disconnect() remove participants from connectedWith. So I simply tell beforeUnload  disconnect socket to get a clean connectedWith.
Is it correct solution?

Actually It's not. :-P  leave() closes socket which makes connection offline, and it behaves wiredly after that. So finally I do add this to beforeUnload

connection.socket.emit('left', {}, null);

and this to Signaling-Server.js

socket.on('left',function() {
if (!listOfUsers[socket.userid]) return;
listOfUsers[socket.userid].connectedWith = {};
});

A message is send to Signaling-Server to let him clean the connectedWith data.


[fix] Profiler CopyIns fixed - READ_ONLY data fixed

Description
This patch fixes the copy in events to be used in the profiler when the profiler option is on. Consecuently, it fixes a bug triggering more copies that needed when the device selected was not the default one.
Problem description
The profiler used to print COPY_IN for read_only data if the execution plan was executed multiple times. The problem was that the internal copy functions were not returning the list of events properly.
Backend/s tested
Mark the backends affected by this PR.

[X] OpenCL
[X] PTX
[X] SPIRV

OS tested
Mark the OS where this PR is tested.

[X] Linux
[ ] OSx
[ ] Windows

Did you check on FPGAs?
If it is applicable, check your changes on FPGAs.

[ ] Yes
[X] No

How to test the new patch?
make BACKEND=spirv,ptx,opencl
make tests

Updated with the latest develop


Funding cardinality mismatch

Funding has 0..n cardinality in the diagram, but 0..1 in README.md. I created a PR https://github.com/RDA-DMP-Common/RDA-DMP-Common-Standard/pull/41.

The correct cardinalities should also be in the "Structure" list so you can see at a glance what is repeatable or not. (I hope the Structure-list is autogenerated!)

Previous issue on the same matter: #31


Can't build TerraAngel

fatal: remote error: upload-pack: not our ref dfc20aab2bab3bf95cf5e13fc2f5410ad22eb74c
fatal: Fetched in submodule path 'TNA', but it did not contain dfc20aab2bab3bf95cf5e13fc2f5410ad22eb74c. Direct fetching of that commit failed.
This is what i see, when trying to copy TerraAngel

This is error from opening fast-start.bat file

Should be fixed in https://github.com/CEO-Chair/TerraAngel/commit/21684aba403e3c71e521a17f2f35919fc3439ca2


Linux: Clicking "view" button in notification doesn't do anything

Describe the bug
When a notification payload is displayed by Ray, clicking the "view" button does not do anything.
Versions

spatie/ray package version: 1.3.7
Ray app version: 1.0.7
PHP version: 7.4.13

Sample Code
ray()->notify('hello world');

To Reproduce

Run the sample code
Click on 'view' in the notification that is displayed
Nothing happens

Expected behavior
Expected behavior is that clicking the "view" in the notification will open the Ray window and display/highlight the message.
Screenshots

Desktop (please complete the following information):

OS: Ubuntu (XFCE window manager)
Version: 20.04

Could you post a screenshot of that notification?

Could you post a screenshot of that notification?

@freekmurze
Sorry about that, I accidentally clicked "submit" before I was done authoring the issue.

@freekmurze
Sorry about that, I accidentally clicked "submit" before I was done authoring the issue.

Do all other Linux notifications have a "View" button? If not, I'll research how to remove "View" from ours.

Do all other Linux notifications have a "View" button? If not, I'll research how to remove "View" from ours.

No.  Running the following command in bash displays a notification without a "view" button:
notify-send 'test message'

Screenshot:

No.  Running the following command in bash displays a notification without a "view" button:
notify-send 'test message'

Screenshot:

Same on Windows

Same on Windows

It also seems that notifications on Windows don't have icon and proper title

It also seems that notifications on Windows don't have icon and proper title

Thanks for the report! This should be better in 1.0.8 (will release later tonight). Please let me know if the problem persists afterwards!

Thanks for the report! This should be better in 1.0.8 (will release later tonight). Please let me know if the problem persists afterwards!

@AdrianMrn Thanks for update. Problem with no interaction was resolved. 😁

@AdrianMrn Thanks for update. Problem with no interaction was resolved. 😁

I can also confirm that this issue is resolved.  Clicking "view" now opens the Ray window.

I can also confirm that this issue is resolved.  Clicking "view" now opens the Ray window.


typo

https://github.com/ebranca/owasp-pysec/wiki/Statement-'if-0:-yield'-not-failing-with-error contains a typo:
'sintax' instead of 'syntax' in the comment.

https://github.com/ebranca/owasp-pysec/wiki/Python-locale-unhandled-conditions
contains "in ordet to" → s/ordet/order/

https://github.com/ebranca/owasp-pysec/wiki/Readline-input-loss
→ s/thi/this/

https://github.com/ebranca/owasp-pysec/wiki/Readline-input-loss
even ic cases → s/ic/in/

issue45.patch

i want to get involved with the OWASP foundation project that doing in my computer engineering department. so can you please send me related issues and mail them?


Button

is it normal for the button to work only for whatsapp web?
like I use the web mode, when I send the button to the client (cell phone) nothing is sent, but when I enter the web I can see the button sent...

is it normal for the button to work only for whatsapp web?
like I use the web mode, when I send the button to the client (cell phone) nothing is sent, but when I enter the web I can see the button sent...

yeah unfortunately buttons don't work on - mobile anymore as Whatsapp has some restrictions in place.


Add support for forwarding chathistory message.

and fix some lint errors.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Can you separate this PR into two PRs:

fix the lining problem
Add support for forwarding chat history message

So one PR can focus on one type of modification?
Thank you very much.


Roll Flutter Engine from ac1eb78a63c7 to 8b06c8894dd2 (1 revision)

https://github.com/flutter/engine/compare/ac1eb78a63c7...8b06c8894dd2
2022-08-26<EMAIL_ADDRESS>Roll Skia from 8a0996f265b3 to 4c3a4e4466ba (2 revisions) (flutter/engine#35746)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


feat(dataset): multiprocessing _generate_examples

forking this out of #741, this issue is only regarding multiprocessing
I'd love if there was a dataset configuration parameter workers, where when it is 1 it behaves as it does right now, and when its >1 maybe _generate_examples can also get the pool and return an iterable using the pool.
In my use case, I would instead of:
for datum in data:
     yield self.load_datum(datum)

do:
return pool.map(self.load_datum, data)

As the dataset in question, as an example, has only 7000 rows, and takes 10 seconds to load each row on average, it takes almost 20 hours to load the entire dataset.
If this was a larger dataset (and many such datasets exist), it would take multiple days to complete.
Using multiprocessing, for example, 40 cores, could speed it up dramatically. For this dataset, hopefully to fully load in under an hour.

I agree that would be cool :)
Right now the only distributed dataset builder is based on Apache Beam so you can use distributed processing frameworks like Dataflow, Spark, Flink etc. to build your dataset but it's not really well suited for single-worker parallel processing afaik

_generate_examples can now be run in parallel thanks to https://github.com/huggingface/datasets/pull/5107. You can find more info here.


Unusual Memory upload in bitmap conversion to mat and Intptr to mat.

Hi,
I am Replicating this code for Point Grey camera to opencv:  https://gist.github.com/kevinhughes27/5543668
This line specifically:
// convert to OpenCV Mat.
unsigned int rowBytes = (double)rgbImage.GetReceivedDataSize()/(double)rgbImage.GetRows();
 cv::Mat image = cv::Mat(rgbImage.GetRows(), rgbImage.GetCols(), CV_8UC3, rgbImage.GetData(),rowBytes);

Equivalent in OpenCvSharp 3.2 in unsafe code.
unsafe
{
uint rowBytes = m_processedImage.receivedDataSize / m_processedImage.rows;
Mat imageIn;
imageIn = new Mat((int)m_processedImage.rows, (int)m_processedImage.cols, MatType.CV_8UC3, (IntPtr)m_processedImage.data, rowBytes);
}

Work but memory up to 500MB and some lag.
i too did 2 try with: imageIn= BitmapConverter.ToMat(m_processedImage.bitmap);,
too work with lag and memory up to 1.4 GB.
Usually the application should not have lag, with the memory regulated at about 125 MB without forcing GC(I do not want to apply it). If directly use: PictureBox.image =m_processedImage.bitmap; . Dammm, Memory usage only 85MB (work for a basic app).
What conversion can I do to have the best performance?
Is there a way to make a real(actual) copy of the data and not just reassigning the pointer to the data?
Thanks for your attention.

please try to dispose the Mat instance after calling cv::waitKey.
void BitmapConverter.ToMat(Bitmap, Mat) is more efficient than Mat BitmapConverter.ToMat(Bitmap) if the Mat instance is defined before the loop to capture.
Mat frame = null;
while(true)
{
    if (frame == null)
        frame = new Mat(rgbImage.GetRows(), rgbImage.GetCols(), MatType.CV_8UC3);

    BitmapConverter.ToMat(m_processedImage.bitmap, frame);
}

Thanks for answer so soon shimat.
This problem was punctual for a USB3 camera from the manufacturer PointGrey but so far I have solved it.
1st problem: is when you perform Bitmap transformation to Mat (Raw >> Bgr >.Bitmap> Mat)*
BitmapConverter.ToMat(m_processedImage.bitmap, frame);  === (lag for this case).
I read some post and indicated go directly to the pointer. Then use the function of the first post again but Mat instance is defined in the header.
2nd problem:  ToBitmap if you use the windows.forms picturebox.
For example: Picbox.Image = dst.ToBitmap();  The above with dst as variable type Mat.
So,
To solve the first thing I did:
 private unsafe void GrabLoop(object sender, DoWorkEventArgs e)
        {
            BackgroundWorker worker = sender as BackgroundWorker;
            while (m_grabImages)
            {
                try
                {
                    m_camera.RetrieveBuffer(m_rawImage);
                }
                catch (FC2Exception ex)
                {
                    Debug.WriteLine("Error: " + ex.Message);
                    continue;
                }
                lock (this)
                {
                    m_rawImage.Convert(PixelFormat.PixelFormatBgr, m_processedImage);
                   // frame = null;         //Also works. ok
                    uint rowBytes = m_processedImage.receivedDataSize / m_processedImage.rows;
                   // if (frame == null)               // Also works. ok
                    frame = new Mat((int)m_processedImage.rows, (int)m_processedImage.cols, MatType.CV_8UC3, (IntPtr)m_processedImage.data, rowBytes);
                }
                worker.ReportProgress(0);
            }
            m_grabThreadExited.Set();
        }

And for the second, was to use the control of OpenCvSharp.UserInterface.PictureBoxIpl In the other event:
private void captureimage(object sender, ProgressChangedEventArgs e)
        {
            //Space for imaging processing and return to picturebox
            // Picbox.Image = dst.ToBitmap();  // Very lag...
            //  Picbox.Invalidate();
            PicBoxCV.ImageIpl = dst;

        }

The memory is OK (so far so good),  Happy now.
Look at these four pictures:  http://imgur.com/a/Q13FC
Thanks.
Att. Alexander Recalde
<EMAIL_ADDRESS>


FlowCal giving kwarg-related error

I recently installed FlowCal to my laptop, and after selecting the Excel file and starting the analysis, I get the following error:
Beads ID B0001... Loading file "20161209/Data019.fcs"... Performing data transformation... Performing gating... Plotting density plot and histogram... Calculating standard curve for channel FL1... Traceback (most recent call last):   File "C:\Users\Jeff\Anaconda2\lib\runpy.py", line 174, in _run_module_as_main     "__main__", fname, loader, pkg_name)   File "C:\Users\Jeff\Anaconda2\lib\runpy.py", line 72, in _run_code     exec code in run_globals   File "build\bdist.win-amd64\egg\FlowCal\excel_ui.py", line 1435, in <module>   File "build\bdist.win-amd64\egg\FlowCal\excel_ui.py", line 1350, in run   File "build\bdist.win-amd64\egg\FlowCal\excel_ui.py", line 481, in process_beads_table   File "build\bdist.win-amd64\egg\FlowCal\mef.py", line 813, in get_transform_fxn   File "build\bdist.win-amd64\egg\FlowCal\plot.py", line 1661, in scatter3d_and_projections   File "build\bdist.win-amd64\egg\FlowCal\plot.py", line 1334, in scatter3d   File "C:\Users\Jeff\Anaconda2\lib\site-packages\mpl_toolkits\mplot3d\axes3d.py", line 2277, in scatter     patches = Axes.scatter(self, xs, ys, s=s, c=c, *args, **kwargs)   File "C:\Users\Jeff\Anaconda2\lib\site-packages\matplotlib\__init__.py", line 1818, in inner     return func(ax, *args, **kwargs)   File "C:\Users\Jeff\Anaconda2\lib\site-packages\matplotlib\axes\_axes.py", line 3789, in scatter     raise ValueError("Supply a 'c' kwarg or a 'color' kwarg" ValueError: Supply a 'c' kwarg or a 'color' kwarg but not both; they differ but their functionalities overlap. Press [Enter] to finish...
I'm not sure what to do about this kwarg error. Any insight?
Thanks in advance!
Jeff

Hey Jeff,
Some thoughts:

This error looks like it's coming from a matplotlib call in the FlowCal.plot module, which makes me wonder what version of matplotlib you're using? (I'm currently using matplotlib version 1.5.3, which looks like the default for Anaconda right now [Anaconda package list]). Your error cites specifying both the c and the color parameters, which our source code definitely does (source), but I was unaware of any errors from that.
It may also help us out to test your inputs on our systems. If convenient, could you upload your XLSX file and any relevant FCS files? (probably just that first beads file?).
In the short term, you could probably drop to the Python API (see the tutorial), but we're interested in making sure the Excel UI works, too.
FlowCal utilizes the palettable package to specify colors for some plots. You might want to make sure that package was succesfully installed (should have been done automatically by the "Install FlowCal (os)" scripts). I don't know why that would give rise to your error, though, because I've run FlowCal successfully without the palettable package.

-John

First of all, sorry for the delay. I've been out of town for the holidays, and just started on working on FlowCal issues since yesterday.
I can reproduce this issue with Anaconda 4.2.0, matplotlib 1.5.3, and FlowCal 1.1.0 on Windows 10. The error only occurs when 3 channels are specified in the excel file for clustering. The error is also present with the current develop branch (42cd28da89118f2fc3ca0e4625cb7b9997ed4a87). I will start working on this immediately.
@jgalley8, for the moment try using no more than 2 channels for bead population recognition (i.e. the colum "Clustering Channels" in the Beads sheet should not contain more than 2 elements). I will push a hotfix soon.
Hope this helps.

Pull request submitted. I expect to have this incorporated into the stable version by tomorrow night or Thursday morning.

Version 1.1.1 just released should not result in this error. Please let us know if you have any other issues.


Add Metatags for SEO

https://metatags.io/

I can take a look tomorrow

That'd be great! I'll assign this to you


Typo

Missing ( on line 32 of the symmetric encryption example
Correct line should probably be:
CryptoStreamMode.Write();

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

ID: ee15f916-5406-85fa-b7fb-a9e69fcd3efb
Version Independent ID: b6aae569-8a56-0a44-7b8e-e54491418baf
Content: Encrypting Data
Content Source: docs/standard/security/encrypting-data.md
Service: unspecified
Product: dotnet
GitHub Login: @mairaw
Microsoft Alias: mairaw

This isn't right, because CryptoStreamMode is an enum!
The program works just fine, and the sample is correct:


Regression in handling removing existing quota in API Manager

APIM-CLI version
1.14.2
API-Management version
7.7.20211130
Bug description
With latest version 1.14.2 I've found a regression in handling the removing of existing quotas in API Manager in these 2 scenarios:

Application quota
If an existing application is changed by removing a quota restriction in config file, this will not be removed from API Manager.
Consider the same scenario described in #382. This problem already had to be solved in a previous release.

System/Application Default Quota on all API:

if I launch the following script
apim.sh settings import -type globalquotas ...
with a json config file that doesn't contain anymore the system/application quota, will not be removed from API Manager even if quotaMode=replace.
Steps to reproduce
No response
Relevant log output
No response

Hi @gcornacchia,
Nothing changed related to quota. Can you share the sample configuration to replicate the issues?

HI @rathnapandi,
for application quotas the bug occurs when you try to remove all the existing quotas (see steps below).
step 1) import an application like this:
{
  "name": "Test app",
  "state": "approved",
  "enabled": true,
  "organization": "Community",
  "credentials": [
  ],
  "appQuota": {
	    "restrictions": [
      {  "api": "*",
        "method": "*",
        "type": "throttle",
        "config": {
          "messages": "1000",
          "period": "hour",
          "per": "1"
        } },
{  "api": "*",
        "method": "*",
        "type": "throttle",
        "config": {
          "messages": "1000",
          "period": "hour",
          "per": "1"
        } }
    ]
  }
}

2 application quotas are created.
Step 2 -  I want to remove all quotas
{
  "name": "Test app",
  "state": "approved",
  "enabled": true,
  "organization": "Community",
  "credentials": [
  ],
  "appQuota": {
	    "restrictions": [
    ]
  }
}

No changes detected - quotas are not removed.

Hi @gcornacchia
Empty Quota updates are not handled before
Can you try testing with
axway-apimcli-1.14.3-SNAPSHOT.tar.gz
This will handle #438 too

yes I will test and I will let you know!

Hi about this topic on removing existing quotas from an APPLICATION, we checked and it's fixed as expected from Apim-cli 1.14.3-snapshot, thanks
we still see a problem in removing GLOBAL quotas for ALL API, as in https://github.com/Axway-API-Management-Plus/apim-cli/issues/442


Uninformative error message on invalid fablo-config.yaml

Hello,
I found that having a fablo-config.yaml file containing an organization with a dash (-) in its name causes some fablo commands to fail with an uninformative error message:
Critical error occured:

Steps to reproduce:
# in an empty directory with just fablo.sh
./fablo.sh init
sed -i 's/Org1/Org-one/g' fablo-config.yaml
./fablo.sh validate

Expected output: a descriptive error detailing a violation of the configuration schema.
Observed output: a single like with just Critical error occured:
This issue is probably a symptom of a more general problem regarding validation of the configuration file.
I'm using the latest version: 2.0.0
Best regards

Diagnosed and resolved - will be released in new version. Sorry for the delay.

And you were right - it was a general issue with logging messages.


[FORMATTING] MariaDB formats sample query on demo page differently

Input data
select supplier_name,city from
(select * from suppliers join addresses on suppliers.address_id=addresses.id)
as suppliers
where supplier_id>500
order by supplier_name asc,city desc;

with the default settings on the website.
Expected Output
Every other formatter formats it like this:
select
  supplier_name,
  city
from
  (
    select
      *
    from
      suppliers
      join addresses on suppliers.address_id = addresses.id
  ) as suppliers
where
  supplier_id > 500
order by
  supplier_name asc,
  city desc;

Actual Output
The MariaDB formatter formats it like this:
select
  supplier_name,
  city
from
  (
    select
      *
    from
      suppliers
      join addresses on suppliers.address_id = addresses.id
  ) as suppliers
where
  supplier_id > 500
order by
  supplier_name asc,
  city
desc
;

Usage

How are you calling / using the library?
https://sql-formatter-org.github.io/sql-formatter/
What SQL language(s) does this apply to?
MariaDB
Which SQL Formatter version are you using?
latest

This happens because in MariaDB, DESC is short for DESCRIBE so it appears in reservedCommands instead of reservedKeywords
https://github.com/sql-formatter-org/sql-formatter/blob/76fb498acbc0e479eaeb3fb299045eaa8b619d3d/src/languages/mariadb.formatter.ts#L939

Thanks for a detailed bug report. Fixed now.

Fix released in 8.1.0


Updated README.md

Worked with @nin9s (original creator) to discover areas to improve How To documentation.

This branch has conflicts that must be resolved.
Use the command line to resolve conflicts before continuing.
What should I do via cli?

are these "=======" intentional?

sorry I somehow messed things up a bit while trying to resolve the conflicts. Could you please restore your original README.md in your repo. I've updated mine with your version manually

#17


Refs 280: remove revision column

⚠ This task currently requires qe-approval, but this PR does not fully resolve the task.  Please contact QE to determine appropriate testing required.

Note that we'll merge this after https://github.com/content-services/content-sources-backend/pull/154 is merged and gone through stage

Checking #154 in stage before merging this.

/retest


Adjacent rules with :hover::after don't get merged

Input:
.a:hover:after {color: #000;}
.b:after {color: #000;}

.c:hover::after {color: #111;}
.d:hover::after {color: #111;}
.e::after {color: #111;}

Output from clean-css 3.4.24:
$ ./node_modules/.bin/cleancss in.css

.a:hover:after,.b:after{color:#000}.c:hover::after,.d:hover::after,.e::after{color:#111}

Output from clean-css 4.0.5:
$ ./node_modules/.bin/cleancss in.css -O2

.a:hover:after,.b:after{color:#000}.c:hover::after{color:#111}.d:hover::after{color:#111}.e::after{color:#111}

That's #829 which restricted it. Are we a bit too strict here?

So I think this is actually correct now since :hover::after doesn't to work correctly on IE10, our default compatibility mode. However it works fine on IE11 so it can be merged with ::after - the question is how about other browsers. See https://jsfiddle.net/4wrbL5o2/

On my testbed of old Chrome versions, it's indeed broken on Chrome 12 (mousing over works, but it doesn't revert the style on mouse out) but Chrome 17 works fine. Unfortunately I don't have versions 13-15 to test.
At https://developer.mozilla.org/en/docs/Web/CSS/:hover#Browser_compatibility , it says Firefox 28 is needed, but it works fine starting with Firefox 6 or even older if you set a proper doctype (https://developer.mozilla.org/en-US/Firefox/Releases/6#Other_changes)

What matters here is whether divs 1-2 and 3-4 works in the same way. If they do then ::after and :hover::after can be merged.

Yeah, they work identically on my tests

👍 I've just realized it works identically on IE10 too - I mean :hover::after doesn't work at all either if left alone or merged with ::after - so we can actually merge those selectors.

@ngyikp could you please give https://jsfiddle.net/xr82fnre/2/ a try in older Chrome / Firefox? It should give you red "12" in output.
What I'm doing there is trying various combinations of pseudo classes and elements to figure out if they can be mixed together. So far I found out that mixing any of :after, :before, :first-letter, :first-line, and :lang is not allowed.

Breaks on Firefox 5 and I don't have even older Chrome versions

Thanks a ton for checking! FF5 being broken would mean one of pseudo classes is not supported.
We should restore this feature but I'd also like to have a flag to disable this optimization.

It's ready ^ on master.

It's been released in 4.1.


[UI] When metadata.db isn't found, give more examples and actionable suggestions

blocked by a good starter example


Update index.md

Completion of solution code.

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[ ] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[ ] My changes do not use shortened URLs or affiliate links.

Closes #XXXXX

Congrats @Harkirat155 on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


When O, H, L and C are the same the candles are blank

Doesn't appear to be true any more. You get an, admittedly thin, line. It's always red. Not clear what color it should be...


build(main): release 1.5.3

:robot: I have created a release beep boop
1.5.3 (2024-10-04)
Code Refactoring

docker: update Dockerfile entrypoint and clear CMD. *Please be aware - it has influence, if you use modified command-line (9a739cf)

Continuous Integration

modify release-please config for changelog sections to reorder them (9a739cf)

Documentation

Update README's to reflect the changes in Dockerfile (9a739cf)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.5.3
:sunflower:


pwm is error for rp3

https://github.com/androidthings/sample-simplepio/blob/master/pwm/src/main/java/com/example/androidthings/simplepio/BoardDefaults.java
line 42:
case DEVICE_RPI3:
return "PWM0";
but
https://github.com/androidthings/sample-nativepio/blob/master/speaker/rpi3_schematics.png
connect PWM1 here.

Those are two different samples.
The schematics for the first one you linked (BoardDefaults) is https://github.com/androidthings/sample-simplepio/blob/master/pwm/rpi3_schematics.png and it correctly connects to the PWM0 (it's for a servo)
The second link is the schematics of the native PWM speaker sample and its code is correctly pointing to PWM1: https://github.com/androidthings/sample-nativepio/blob/master/speaker/src/main/cpp/speaker.cpp#L51


[Text Analytics] Re-enable RecognizeHealthcareEntitiesBatchWithCancellation test

The RecognizeHealthcareEntitiesBatchWithCancellation test works as follows:

Firstly, it sends a request to the service to start a long-running operation.
It immediately tries to cancel the operation that has just started.
It repeats the process above a few times until cancellation succeeds (pass), or until we exhaust the maximum number of attempts (fail).

We recently moved to a static resource in Text Analytics in order to test new features that use custom models. Because of that, we have started getting multiple 429 (Too Many Requests) errors, and we increased the maximum number of retries in our retry policy.
Even with the higher number of retries, the RecognizeHealthcareEntitiesBatchWithCancellation test sometimes fails. Even if we're able to ignore the 429 errors, if we take too long to send the cancellation request to the service, the operation ends up finishing successfully before we can cancel it.

This is a good example where mock tests are better. For odd scenarios like this for Key Vault, that's what I used because, like @kinelsi said, it's hard to pass this test consistently due to timing.
Punting to September, though, as I'm focusing on public API surface.


Novae Plugin

Plugin should display bright novae.
It's proposed to use existing Stellarium format of data: https://stellarium.org/json/novae.json
User should be able to:

manually edit JSON file (open it from settings by clicking button or from menu)
add/edit/remove items from special dialog
tools menu should display "List of novae" menu item. By clicking on it the list of novae should be shown.

Algorithm of magnitude calculation:
https://github.com/Stellarium/stellarium/blob/1e617e49918ab2e5e5fad318dd1ab4024eb1e41c/plugins/Novae/src/Nova.cpp#L194

See also #60 - enhancements of the plugin.


cosign-generate-keypair broken for use with images-website

the
podman run -it ghcr.io/ublue-os/cosign-generate-keypair
is currently broken for use with startingpoint webui. It results in an error saying that
-----BEGIN ENCRYPTED SIGSTORE PRIVATE KEY-----
should be
-----BEGIN ENCRYPTED COSIGN PRIVATE KEY-----
but it shouldn't, since the former works in the build and the latter fails

Ok, so this change in the key header happened as part of the update I did on the cosign container earlier since I thought that was the route cause of a problem, which it was actually not.

since the former works in the build and the latter fails

I just tried and both worked in the GHA builds. To be clear, I think these are different versions of the key format and you have to regenerate the keys if you want to use the newer SIGSTORE header.
I'll just keep the container like it is, and add support for keys with the  SIGSTORE header.


Update all Meltano tests to not send Google Analytics Events

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/670
Originally created by @iroussos on 2019-05-31 16:14:16

At the moment, every time our tests run, we generate 25 unique events from a couple different projects (with different project IDs).
We should have GA tracking turned off when tests run.
This issue should build on top of the implementation done for undefined##undefined and also turn off tracking for the test projects even when the ENV variable is not set.

View 2 previous comments from the original issue on GitLab


update PyWPS Google+ presence

Update Google+ presence with the following updates:

[x] logo should be new PyWPS logo
[x] website should be http://pywps.org
[x] description should be PyWPS is an implementation of the Web Processing Service standard from the Open Geospatial Consortium. PyWPS is written in Python. (as per https://github.com/geopython/pywps/wiki/Templates#project-description)

cc @ldesousa

Done.


Vertical slider

https://stackoverflow.com/a/44342278

https://github.com/flet-dev/flet-contrib/tree/main/flet_contrib/flexible_slider


[Button] Start icon font size override

When passing a startIcon to a Button, it does not apply the given fontSize for that icon.
The issue can be also observed in the demos: https://codesandbox.io/s/iconlabelbuttons-material-demo-forked-m258l?file=/demo.js

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
I am passing two different font sizes like "large" or "small", but nothing changes.
 <Button variant="outlined" startIcon={<DeleteIcon fontSize="large" />}>
 <Button variant="outlined" startIcon={<DeleteIcon fontSize="small" />}>

Expected Behavior 🤔
Passing a valid fontSize to startIcon should increase or decrease the size of the icon accordingly.
Steps to Reproduce 🕹

Steps:

Create a Button component
Pass an icon through startIcon prop
Add a valid fontSize
See that nothing happens

Your Environment 🌎

Tech
Version

Material-UI
4.12.2

React
17.0.2

Chrome
94.0.4606.71 (Official Build) (64-bit)

PS: If it helps, there was one more similar task for Checkbox. : https://github.com/mui-org/material-ui/issues/21289

I also noticed that your environment in the post and in the CodeSandbox do not match. You have Material-UI v4.12.2 in your post, but you use MUI v5.0.3 in your CodeSandbox.

Yes, @coulgreer. This is what I want to achieve. Having a small icon in a large button for example.


Issue with Vue.js not being defined.

Hi there, I've found that after upgrading our Optimizely solution to .NET 6 and the DbLocalizationProvider.EPiServer and DbLocalizationProvider.AdminUI.EPiServer to version 7.3.0 that we are experiencing Vue.js errors that are preventing the localization tab from rendering.
We are registering the service in startup.cs as such...
`services.AddDbLocalizationProvider(ctx =>
            {
                ctx.DefaultResourceCulture = new CultureInfo("en");
                ctx.DiscoverAndRegisterResources = true;
                ctx.EnableInvariantCultureFallback = true;
                ctx.EnableLegacyMode = () => true;
                ctx.UseSqlServer(connectionStringCms);
            })
            .AddOptimizely();

        services.AddDbLocalizationProviderAdminUI(_ =>
        {
            _.RootUrl = "/localization-admin";
            _.AccessPolicyOptions = builder => builder.RequireRole(Roles.CmsEditors, Roles.CmsAdmins);
            _.ShowInvariantCulture = true;
            _.ShowHiddenResources = false;
            _.DefaultView = ResourceListView.Table;
            _.HideDeleteButton = true;
        })
        .AddOptimizelyAdminUI();`

and then mapping further below like so...
`app.UseDbLocalizationProvider();
            app.UseDbLocalizationProviderAdminUI();
            app.UseDbLocalizationClientsideProvider();

            app.UseEndpoints(endpoints =>
            {
                endpoints.MapContent();
                endpoints.MapControllerRoute(
                    name: "default",
                    pattern: "{controller=Home}/{action=Index}/{id?}");
                endpoints.MapRazorPages();
                endpoints.MapDbLocalizationAdminUI();
                endpoints.MapDbLocalizationClientsideProvider();
            });`

It seems that any calls to /_content/LocalizationProvider.AdminUI.AspNetCore/js are being refused. Any ideas on what could be causing this?

Hi, is this happening locally or when a site is being published?

Can you get log entries from webserver for these requests? I'm just speculating here - there might be some config missing. Possible to paste full startup code (without sensitive data if any of course)?

Ha, interesting, that might be a culprit here. Thx for notifying.
I'll make appropriate tests to see if that's the case.

I am having the same problem but when publishing the site, because locally it works fine. I am getting the same 404's as shown here and in ticket #190 . For some reason all those files are not publishing.

I found the problem, it was our azure deploy pipeline that cleaned the wwwroot/ folder.


npmjs.com?

Is there a chance for you to publish this on npm? There is a package with the same name on https://npmjs.com, and I needed a bit to realize that's a complete another project then yours.

All done, it's now on npm - thanks for raising this

Perfect, thx! 😊