Examples missing about/home and other pages

Just tried the dynamic-imports example locally and none of the pages seem to load. Looking at the static.config.js it seems like there isn't a home/about page listed there.
https://github.com/nozzle/react-static/blob/master/examples/dynamic-imports/static.config.js
Is that intentional?

Yes. With the new beta 6 version you no longer need to register pages in
the config if they can be simply represented by placing a component file in
the pages/ directory with the file path of the route
On Sun, Jul 29, 2018 at 11:45 PM Fahim<EMAIL_ADDRESS>wrote:

Just tried the dynamic-imports example locally and none of the pages seem
to load. Looking at the static.config.js it seems like there isn't a
home/about page listed there.
https://github.com/nozzle/react-static/blob/master/examples/dynamic-imports/static.config.js
Is that intentional?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nozzle/react-static/issues/695, or mute the thread
https://github.com/notifications/unsubscribe-auth/AFUmCfeQZh9AnB2kRd0z0QYZJxSOFpKnks5uLp2CgaJpZM4Vl0Cb
.

The examples are broken because version 5 of react-static is specified in https://github.com/nozzle/react-static/blob/master/examples/dynamic-imports/package.json

What about dynamic pages? Currently I have my dynamic pages in src/pages together with static pages, and if I try to move them to another directory, I got failed build. Could it be an issue?


treat undefined equal to not existing in rules

both are treated as empty string
fixes #12214

What kind of change does this PR introduce?
bugfix

Did you add tests for your changes?
yes

Does this PR introduce a breaking change?
no (a bug fix)

What needs to be documented once your changes are merged?
nothing

Thanks for the quick fix 👍


feat(JWT): Add support for JWT Authentication

Closes #27

Coverage decreased (-2.2%) to 92.093% when pulling abb0be002cf8830cff4824bdffd073be440dfa27 on develop-jwt-authentication into c03550416bed44b5be8d3032efa798c1e7f986ea on develop.


Exception: cgroups not mounted on /sys/fs/cgroup

Hi,
I start mininet encounter this error, my OS is ubuntu 14.04.
meiliang@meiliang-VirtualBox:~/cs144_security$ ./run.sh
start cs144 buffer bloat experiment
starting mininet ....
Traceback (most recent call last):
File "macoverflow.py", line 67, in
bbnet()
File "macoverflow.py", line 51, in bbnet
autoPinCpus=True)
File "build/bdist.linux-x86_64/egg/mininet/net.py", line 160, in init
File "build/bdist.linux-x86_64/egg/mininet/net.py", line 308, in build
File "build/bdist.linux-x86_64/egg/mininet/net.py", line 282, in buildFromTopo
File "build/bdist.linux-x86_64/egg/mininet/net.py", line 182, in addHost
File "build/bdist.linux-x86_64/egg/mininet/node.py", line 556, in init
File "build/bdist.linux-x86_64/egg/mininet/node.py", line 704, in init
File "build/bdist.linux-x86_64/egg/mininet/util.py", line 365, in mountCgroups
Exception: cgroups not mounted on /sys/fs/cgroup
cleaning up...
tcpdump: no process found
ping: no process found
end

You haven't provided enough information to reproduce your problem.

What happened when you tried to fix the problem as suggested?

I just follow the environment setup guide, execute ./run.sh log this error.
----- 原始邮件 -----
发件人：lantz<EMAIL_ADDRESS>收件人：mininet/mininet<EMAIL_ADDRESS>抄送人：Meiliang Dong<EMAIL_ADDRESS>主题：Re: [mininet] Exception: cgroups not mounted on /sys/fs/cgroup (#469)
日期：2015年01月23日 07点23分
You haven't provided enough information to reproduce your problem.
What happened when you tried to fix the problem as suggested?
—
Reply to this email directly or view it on GitHub.

Please provide the complete, extremely detailed set of steps to reproduce the problem.

Please confirm that you have read and understood the error message and attempted to fix the problem by mounting /sys/fs/cgroup

meiliang@meiliang-VirtualBox:~/cs144_security$ ls /sys/fs/cgroup/
blkio/      cpuacct/    devices/    hugetlb/    perf_event/
cpu/        cpuset/     freezer/    memory/     systemd/
According to above contents, I think cgroups was mounted successfully! But the issue is still here.
Following is my steps:
1, install a ubuntu 14.04 on virtualbox;
2, follow Mac address table overflow attack
a,Environment Setup;
b,Check Out Starter Code;
c,Link POX into the Directory;
d,Configure the Environment;
e,Start POX Network Controller;
f,Start Mininet Emulation
just this step:
meiliang@meiliang-VirtualBox:~/cs144_security$ ./run.sh
start cs144 buffer bloat experiment
starting mininet ....
Traceback (most recent call last):
File "macoverflow.py", line 67, in
bbnet()
File "macoverflow.py", line 51, in bbnet
autoPinCpus=True)
File "build/bdist.linux-x86_64/egg/mininet/net.py", line 160, in init
File "build/bdist.linux-x86_64/egg/mininet/net.py", line 308, in build
File "build/bdist.linux-x86_64/egg/mininet/net.py", line 282, in buildFromTopo
File "build/bdist.linux-x86_64/egg/mininet/net.py", line 182, in addHost
File "build/bdist.linux-x86_64/egg/mininet/node.py", line 556, in init
File "build/bdist.linux-x86_64/egg/mininet/node.py", line 704, in init
File "build/bdist.linux-x86_64/egg/mininet/util.py", line 365, in mountCgroups
Exception: cgroups not mounted on /sys/fs/cgroup
cleaning up...
tcpdump: no process found
ping: no process found
end
My virtualbox version is 4.3.16 r95972

@DamianSheldon You still have not provided enough detail (for example: what were the commands you used to set up your environment? what were the commands to configure it? what version of Mininet are you using? where did you get it from? how did you install it? where did you get the experiment code from? etc.)

Ok, Let me describe more detail,
1,VirtualBox, Ubuntu14.04 are downloading from office website, virtualbox version is 4.3.16 r95972
2,Install Needed Tools
sudo apt-get update
sudo apt-get install -y git vim-nox python-setuptools libpython-all-dev flex bison traceroute
3,Install Mininet
cd ~
git clone git://github.com/mininet/mininet
cd mininet
./util/install.sh -fnv
4,Install POX
cd ~
git clone http://github.com/noxrepo/pox
5,Install ltprotocol
cd ~
git clone git://github.com/dound/ltprotocol.git
cd ltprotocol
sudo python setup.py install
6,~$ cd ~
~$ git clone<EMAIL_ADDRESS>~/cs144_security$ cd cs144_security/
7,~/cs144_security$ ln -s ~/pox/
8,~/cs144_security$ bash ./config.sh
9,~/cs144_security$ ./run_pox.sh
10,~/cs144_security$ ./run.sh
meiliang@meiliang-VirtualBox:~/cs144_security$ ./run.sh
start cs144 buffer bloat experiment
starting mininet ....
Traceback (most recent call last):
File "macoverflow.py", line 67, in
bbnet()
File "macoverflow.py", line 51, in bbnet
autoPinCpus=True)
File "build/bdist.linux-x86_64/egg/mininet/net.py", line 160, in init
File "build/bdist.linux-x86_64/egg/mininet/net.py", line 308, in build
File "build/bdist.linux-x86_64/egg/mininet/net.py", line 282, in buildFromTopo
File "build/bdist.linux-x86_64/egg/mininet/net.py", line 182, in addHost
File "build/bdist.linux-x86_64/egg/mininet/node.py", line 556, in init
File "build/bdist.linux-x86_64/egg/mininet/node.py", line 704, in init
File "build/bdist.linux-x86_64/egg/mininet/util.py", line 365, in mountCgroups
Exception: cgroups not mounted on /sys/fs/cgroup
cleaning up...
tcpdump: no process found
ping: no process found
end
11, apt-cache search cgroup
12,sudo apt-get cgroup-bin libcgroup1
13, meiliang@meiliang-VirtualBox:~/cs144_security$ ls /sys/fs/cgroup/
blkio/ cpuacct/ devices/ hugetlb/ perf_event/
cpu/ cpuset/ freezer/ memory/ systemd/
14, meiliang@meiliang-VirtualBox:~/cs144_security$ ./run.sh
start cs144 buffer bloat experiment
starting mininet ....
Traceback (most recent call last):
File "macoverflow.py", line 67, in
bbnet()
File "macoverflow.py", line 51, in bbnet
autoPinCpus=True)
File "build/bdist.linux-x86_64/egg/mininet/net.py", line 160, in init
File "build/bdist.linux-x86_64/egg/mininet/net.py", line 308, in build
File "build/bdist.linux-x86_64/egg/mininet/net.py", line 282, in buildFromTopo
File "build/bdist.linux-x86_64/egg/mininet/net.py", line 182, in addHost
File "build/bdist.linux-x86_64/egg/mininet/node.py", line 556, in init
File "build/bdist.linux-x86_64/egg/mininet/node.py", line 704, in init
File "build/bdist.linux-x86_64/egg/mininet/util.py", line 365, in mountCgroups
Exception: cgroups not mounted on /sys/fs/cgroup
cleaning up...
tcpdump: no process found
ping: no process found
end


In a block of code, pressing the Tab key does not indent 4 spaces properly

Bug Description
Hello, in the text of the code block, press the Tab key can not normally indent 4 spaces, but to transform the focus on other controls. A later version can correct this error.

Hi there! Thanks for the feedback. We're already aware of the issues with the tab behavior in the commit related to issue #195.


upgrade odb codgen

Note the change in TypeDeclTests - this is an intentional change in the
codegen, it used to contain a special handling for integers, which
defaulted to -1. Please let me know if this breaks any other assumptions
down the line... Looks to me like order should be an optional property.

What is the status with respect to default values? We should wait for that with this change, right?

that's what i first thought as well, but I'll split up the two, i.e. I'll bring back the implicit default value of -1 for integers in the codegen pr


chore: added MasterClass #1371

Related Issue
Closes #1371

Description
I have added the tool MasterClass.
Checklist

[x] My code adheres to the established style guidelines of the project.
[x] I have included comments in areas that may be difficult to understand.
[x] My changes have not introduced any new warnings.
[x] I have conducted a self-review of my code.

@JasonDsouza212 Please review this

Please add this under GSSOC'23

@blindaks we don't provide points for addition of tools to DB


Overriden annotated methods result in unexpected behaviour

Describe the bug
When using a super class for a controller, it will be scanned for methods annotated with @OnXY.
If the super class contains a method xy() annotated with @OnXY and the sub class (controller) overrides the same method (even without calling super) and is annotated with @OnXY, the sub class method will be called twice.
class Parent {

    @OnDestroy
    void onDestroy() {
        System.out.println("parent");
    }
}

class Child extends Parent {

    @OnDestroy
    void onDestroy() {
        System.out.println("child");
    }
}

This results in "child" being printed twice upon destroying the controller.
Expected behavior
One would expect that both methods are called and "child" and "parent" are printed.
Additional context
This is caused by the annotation processor thinking that these methods are independend.
I don't think this is worth fixing, but it should be noted somewhere (maybe using the annotation processor).

I thought about this, but forgot. Thanks for writing it down. I think the best solution is to call the method once, and rely on users to call super.init() if they want that. The problem is the implementation, we will need to check for every method if it overrides/is overriden.

When loading/compiling a controller, we could check if there is a method with the same name and annotation in the super class(es).
As we loop through them already, it shouldn't require to much additional workload.


Fix for Issue (#19) polling falsely stops when first attempt fails

This is a fix for #19

Mistakes were made. This doesn't correctly handle all the cases. There has to be a way to do this without the code duplication.


TimeOfDay questions

Why does the utc parameter default to True? I'd expect most users to want to schedule things using their local time rather than UTC time?

Perhaps the example would benefit from at least one of the example times having a minutes component to it.

More of a longer-term question... (no pun intended!)
I guess effectively TimeOfDay is acting as a start_time in combination with a timedelta. Perhaps we should allow more flexibility with the start_time value, e.g. using your example, maybe the user only wants to turn on their lamp on Wednesday mornings? (or at a different time on weekends compared to weekdays?)
I've got a gut-feeling that this is kind of like an overlap with cron-based functionality, so did a quick search and found http://stackoverflow.com/questions/373335/how-do-i-get-a-cron-like-scheduler-in-python which has a number of suggestions for starting-points that we could use if we decided to expand on this.

Couple of reasons - firstly that Raspbian defaults to UTC so (by default) the timezone on a Pi is UTC anyway and secondly I'm always extremely wary of timezone usage (having experienced the hell of Windows servers in data-centers throwing wobblies over daylight savings times). If Raspbian defaulted to something other than UTC, I'd consider making the default non-UTC but as it is this seems the most reasonable default.

Very likely - these were very quickly thrown together - more examples welcome!

Yup - I started hacking together a date one and then immediately thought "hang on, what if I want to execute on the second to last Thursday in a month" and decided to stop until I had some time to seriously address how to do that. As it stands, other_devices is very much a rough sketch - I wouldn't even consider its API locked down yet (it's also largely untested). Suggestions / PRs most welcome!


bug: when block_registration flag enabled it's showing new user text

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
When block_registration enabled from flipper to disable new user registration across website, it's removing sign up button but New User ? text left in place. Check screenshot.

The New User? text should not be there as well.
Steps To Reproduce

Open circuitverse locally
Login with admin userusername -<EMAIL_ADDRESS>password - password

Visit localhost:3000/flipper
Fully enable block_registration flag
Now, open localhost:3000 in incognito or wherever you haven't logged in
Go to user registration page

Expected Behavior
The New User? text should not be there when registration blocked.
Are you working on this issue?
No

can I take the issue!?

can I take the issue!?

Sure !


update yaml import

The README states the following:
The import path for the package is gopkg.in/yaml.v2

As I was trying to incorporate this project into a larger project
which already imports the gopkg.in, I found that this import caused
the yaml package to be vendored twice: once from each location.

I merged your other PR, could you rebase this one, so that I can merge it?


add checks to prevent panic when parsing zone text.

Empty text or comments in zone format will cause panics. Also add a description.

thanks for spotting this. Can you also add a little test case?

The commit has been modified, some test cases have been added.


How to GPU-enable this model.py with backend='gpu'

Hi Anil,
Can the code be enabled to run on GPU? didn't see any gen_backend in code.
Thanks.
Patrick

Hey Patrick
I just finished running it on a desktop with Ubuntu 14.0.4 and Nvidia GTX 1070 on Intel® Core™ i5-6600K with SSD and it finished under 4 hours.
It used the GPU. I monitor heat and watts consumed during the experiment.

Hi Patrick,
The code automatically picks the GPU if a suitable GPU is available. You'll need an NVIDIA GPU (preferably a Maxwell) with at least 3GB of memory.
Anil


[bug] with use latest image selected, PE 3.8x images will be selected as newest

...because 3.8 is higher then 2015 alphabetically.
solution:  Exclude 3.8 images from latest calculation

real solution: move images that dont contain :201 to the end of the list :)


chore: upgrade actions' versions

What are the relevant tickets?
Closes https://github.com/mitodl/ocw-hugo-themes/issues/922
Description (What does it do?)
This PR:

Updates versions of actions checkout, setup-node, and setup-python
Removes the cache step because actions/cache@v3 takes care of it

The original ticket was meant for ocw-hugo-theme repo, but since that was already done, I took the opportunity to update this repo's workflows.
How can this be tested?
I believe that this can be tested online, there is no need to test it locally.
The tester only needs to verify four things:

[x] The code is okay
[x] actions/checkout@v3 works
[x] actions/setup-note@v3 and actions/setup-python@v4 work.
[ ] caching works

For these verifications, you can review the runner logs of the two workflow runs here:

(First run) https://github.com/mitodl/ocw-studio/actions/runs/5254507265/jobs/9493198468
(Second run) https://github.com/mitodl/ocw-studio/actions/runs/5254800744/jobs/9493867704

One may choose to use act. Though, I find it to be very slow.

Removes the cache step because actions/cache@v3 takes care of it

I think you meant checkout@v3 perhaps? There's no cache@v3.
Anyway, looks good to me, cache is working. And so is everything else.

Removes the cache step because actions/cache@v3 takes care of it

I think you meant checkout@v3 perhaps? There's no cache@v3.

Sorry, I meant to say that the setup-* actions take care of the caching now.


Undefined index: X-GitHub-

I am getting these notices, yet according to the github webhook audit trail the headers match what you are looking for.
But then I did my own tests using apache_request_headers()
and the array I got returned has X-Github- headers. Notice the lowercase h in github
I am just wondering if this code has actually been tested and works, or if there is some configuration on my server that is causing this to happen
PHP Notice:  Undefined index: X-GitHub-Event in vendor\dintel\php-github-webhook\src\Handler.php on line 76
PHP Notice:  Undefined index: X-GitHub-Delivery in vendor\dintel\php-github-webhook\src\Handler.php on line 77
PHP Notice:  Undefined index: X-GitHub-Event in dintel\php-github-webhook\src\Handler.php on line 76
PHP Notice:  Undefined index: X-GitHub-Delivery in vendor\dintel\php-github-webhook\src\Handler.php on line 77

I tested it and it worked for my project.
Also checked now again and it looks like that on my server apache_request_headers() returns headers with uppercase h in github, like:
'X-GitHub-Event' => 'ping'
So it's really strange. May be it's GitHub that sends wrong headers?

I fixed the issue and released new version.
This script should be now case-insensitive in header names.

Thanks


Require cdr

I found that cdr-source is disabled if I forget to enable cdr using autoload before source zaw.
It may be a bug, and fixed.

I found that cdr-source is disabled

I found new README.md says same thing now....

Oh, yeah, I decided to go through and include all the undocumented sources in the readme.


feature(log): add toolbar button for checking out a new branch

Resolves https://gitout.myjetbrains.com/youtrack/issue/go-10

Added hint text


Add fallback case for PKCS8 key if RSA fails

This fixes a few things having to do with loading keys.

Previously, if you gave a buffer to load_keys and it was unable to find an RSA key, it would panic by trying to remove(0) on an empty Vec.
Now, it will first check for RSA keys and, if it doesn't find any, it will then search for PKCS8 keys, and then finally it will simply return an error if that also does not find anything.
The new code should not panic in any case

The biggest reason for this patch is that previously, only the -----BEGIN RSA PRIVATE KEY----- style keys would be accepted, whereas the newer PKCS8 ones with -----BEGIN PRIVATE KEY----- would be ignored. This was a problem for us because the OpenSSL rust bindings generate PKCS8 keys.

This is technically a breaking change, so let me know if you'd like me to bump the major version or just the minor version.


use os:cmd/1, more robust

According to kernel: Fix hanging os:cmd race condition , the os:cmd/1 is more robust. They both use open_port, but os:cmd/1 adds monitor, make it more robust.

Hi @getong.
Thanks for pointing this out!
Your comments are totally on point, but os:cmd/1 still doesn't return the command's exit status code and we need to check it actually ended properly. That is, with a 0 status code.
I will close this PR and open an issue in erlang-katana to improve ktn_os code to match what was done for os:cmd/1 in your link.
Once erlang-katana is fixed, we'll update the dependency here. Stay tuned!!


Metric namespaces should not be pluralized

Fixes #212
Changes
Metric namespaces SHOULD NOT be pluralized.
This affect these current metric namespaces:

system.processes.count -> system.process.count (#266)
system.processes.created -> system.process.created (#266)
db.client.connections.* -> db.client.connection.* (#259)
jvm.threads.count -> jvm.thread.count (done already)
jvm.classes.count -> jvm.class.count (done already)

Merge requirement checklist

[x] CONTRIBUTING.md guidelines followed.
[x] CHANGELOG.md updated for non-trivial changes.
[x] ~schema-next.yaml updated with changes to existing conventions.~

@joaopgrassi @mx-psi I don't think removing pluralization will be reconsidered (it actually already happened in the specification), but what we WOULD do is figure out how to provide soft/easy migraiton for users and avoid continual churn of this decision.

@jsuereth sounds good!
For the metrics we have today in the conventions I think we are fine, I'm just a bit worried with the ones from the collector, as described by @dmitryax here.
I guess we will just have to come up with new names for it, and probably a general guideline for situations where removing the s from the namespace, render the new metric name confusing/useless, like redis.clients.connected -> redis.client.connected. I think this will be a recurring topic.

@joaopgrassi I think the example you list is clearly the case where it should be redis.clients_connected or redis.server.clients_connected vs. redis.client.connection.count, i.e. i'm not sure client or clients is a viable namespace for that one, nor is it clear what it's referring to.
In other words, I think we should continue with merging this PR and work on clearing up semantics of existing metrics for clarity.


iOS crash NSInvalidArgumentException when using SentryReplay

Platform
Flutter Mobile
Obfuscation
Disabled
Debug Info
Disabled
Doctor
[✓] Flutter (Channel stable, 3.24.3)
• Flutter version 3.24.3 on channel stable
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 2663184aa7 (5 weeks ago), 2024-09-11 16:27:48 -0500
• Engine revision 36335019a8
• Dart version 3.5.3
• DevTools version 2.37.3
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16A242d
• CocoaPods version 1.15.2
Version
8.9.0
Steps to Reproduce

Initialise a new Emulator (in our example iPad Pro13-inch (M4) iOS 17.4)
Set Sentry Configuration, enabling Replay

  static FlutterOptionsConfiguration sentryConfiguration = (options) {
    options.dsn = ConfigValues.sentryDsn;
    options.tracesSampleRate = 1.0;
    options.reportSilentFlutterErrors = true;
    options.environment = kReleaseMode ? 'prod' : 'dev';
    options.experimental.replay.sessionSampleRate = 0.1;
    options.experimental.replay.onErrorSampleRate = 0.7;
  };

  await SentryFlutter.init(
    ConfigValues.sentryConfiguration,
    ...
);

Start App
Chance to crash

We are unsure if it depends on the sample rates or iOS version. Probably related to Sentry/Sources/Swift/Integrations/SessionReplay/SentrySessionReplay.swift.
When Replay is not enabled, no crash will happen.
Expected Result
App starting and running normally with enabled replay.
Actual Result
App crash.

iOS Crash Report
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: SIGNAL 6 Abort trap: 6
Terminating Process: Runner [20129]

Triggered by Thread:  0

Last Exception Backtrace:
0   CoreFoundation                	       0x112d0d561 __exceptionPreprocess + 226
1   libobjc.A.dylib               	       0x11100a7e8 objc_exception_throw + 48
2   CoreFoundation                	       0x112d7ba3d -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 604
3   CoreFoundation                	       0x112d0bd68 +[NSDictionary dictionaryWithObjects:forKeys:count:] + 49
4   sentry_flutter                	       0x110f03ec1 -[SentryFlutterReplayScreenshotProvider imageWithView:options:onComplete:] + 225 (SentryFlutterReplayScreenshotProvider.m:24)
5   Sentry                        	       0x110cc9498 SentrySessionReplay.takeScreenshot() + 952 (SentrySessionReplay.swift:294)
6   Sentry                        	       0x110cc651c SentrySessionReplay.newFrame(_:) + 1596 (SentrySessionReplay.swift:193)
7   Sentry                        	       0x110cc6885 @objc SentrySessionReplay.newFrame(_:) + 53
8   QuartzCore                    	       0x134f17df3 CA::Display::DisplayLinkItem::dispatch_(CA::SignPost::Interval<(CA::SignPost::CAEventCode)835322056>&) + 45
9   QuartzCore                    	       0x134f14

Are you willing to submit a PR?
No

Hi can you try out 8.10.0-beta.2 and see if this issue persists?


Fix dpul-staging

Currently getting an error because the solr core dpul-staging doesn't exist.

Ansible thinks it should be on lib-solr https://github.com/pulibrary/princeton_ansible/blob/master/group_vars/dpul_staging.yml#L57-L58
Many other applications are using lib-solr-staging
Checking lib-solr-staging's admin ui, I do see a dpul-staging core. I'm going to try updating the dpul_staging playbook to use lib-solr-staging; seems like that might be enough to fix this.

It seems like that worked to some extent; you can now click on collections, etc. But they don't have any content. The solr index has 13357 results for a blank query, though.


Passing data to background event object

Hi all,
Is there a way to get a data that I passed to eventObj when user clicks on background event?
My sample background event looks like this:
{
      id: 'availableForMeeting',
      title: 'Test Background Event #1',
      start: '2015-08-13T07:30:00',
      end: '2015-08-13T12:30:00',
      rendering: 'background',
      sampleId: 214,
      color: 'red'
}

But I can't get sampleId field, 'cause it doesn't exist in jsEvent.

Please see http://fullcalendar.io/wiki/Support/


Fixes #23: Updated- lib/sugar-web

closes issue #23

Thanks.  Can you tell me why Gruntfile.js and README.md differ between 4f905c7 and the sugar-web repository?  Is a change needed to sugar-web repository?

Thanks. Can you tell me why Gruntfile.js and README.md differ between 4f905c7 and the sugar-web repository? Is a change needed to sugar-web repository?

@quozl this changes were made in updated package of suger-web itself

That's not what I see when I look at sugar-web.

https://github.com/sugarlabs/sugar-web
https://github.com/sugarlabs/sugar-web/blob/master/Gruntfile.js (updated ten years ago)

That's not what I see when I look at sugar-web.

https://github.com/sugarlabs/sugar-web
https://github.com/sugarlabs/sugar-web/blob/master/Gruntfile.js (updated ten years ago)

@quozl i have checked this Gruntfile.js in this repo was 11 years old that means these file was changed in sugar web as they are updated 10 year ago and content of these file are same with that on sugar-web repo (Readme.md and Gruntfile.js)

Interesting, but my method was different.
cd /tmp
git clone git@github.com:sugarlabs/connect-the-dots-activity.git
cd connect-the-dots-activity
git fetch origin pull/24/head
git checkout -b pr24-review 4f905c7

cd /tmp
git clone git@github.com:sugarlabs/sugar-web.git

diff -u sugar-web/Gruntfile.js \
    connect-the-dots-activity/lib/sugar-web/Gruntfile.js

Result is different files; that's what I'm expecting you to explain; which file is right, and if it is the file in this repository, can you please ensure that the file in the other repository is updated?  Repeat the analysis for README.md.
Here's the diff output;
--- sugar-web/Gruntfile.js      2024-12-07 16:01:38.490227341 +1100
+++ connect-the-dots-activity/lib/sugar-web/Gruntfile.js        2024-12-07 16:00:49.277967089 +1100
@@ -1,3 +1,4 @@
+define(function (require, exports, module) {
 var which = require('which');

 module.exports = function (grunt) {
@@ -60,3 +61,5 @@
     grunt.registerTask('default', ['jsbeautifier', 'jshint', 'test']);

 };
+
+});
\ No newline at end of file

Interesting, but my method was different.
cd /tmp
git clone git@github.com:sugarlabs/connect-the-dots-activity.git
cd connect-the-dots-activity
git fetch origin pull/24/head
git checkout -b pr24-review 4f905c7

cd /tmp
git clone git@github.com:sugarlabs/sugar-web.git

diff -u sugar-web/Gruntfile.js \
    connect-the-dots-activity/lib/sugar-web/Gruntfile.js

Result is different files; that's what I'm expecting you to explain; which file is right, and if it is the file in this repository, can you please ensure that the file in the other repository is updated? Repeat the analysis for README.md.
Here's the diff output;
--- sugar-web/Gruntfile.js      2024-12-07 16:01:38.490227341 +1100
+++ connect-the-dots-activity/lib/sugar-web/Gruntfile.js        2024-12-07 16:00:49.277967089 +1100
@@ -1,3 +1,4 @@
+define(function (require, exports, module) {
 var which = require('which');

 module.exports = function (grunt) {
@@ -60,3 +61,5 @@
     grunt.registerTask('default', ['jsbeautifier', 'jshint', 'test']);

 };
+
+});
\ No newline at end of file

@quozl i used volo to update sugar-web
volo add -f sugarlabs/sugar-web lib/sugar-web
Sir readme is the same but for gruntfile.js the only difference is with define(function (require, exports, module) {};
This line wraps the entire Gruntfile.js in a define function, suggesting the file has been modularized to be compatible with an AMD loader like RequireJS. I think addition using volo automatically made it compatible for integration with AMD/RequireJS, which might be necessary for this activity's structure. I think this version is better suitable for this activity

Is the file necessary for run-time?

Contributor

No, the Gruntfile.js file is not necessary for runtime. It is a build and development tool configuration file, and its primary purpose is to automate tasks during development.

Thanks.  Is the file necessary for development or is it automatically regenerated?

Is the file necessary for development or is it automatically regenerated?

Its necessary for development in most cases unless explicitly replaced by another build tool or process. However, it is not automatically regenerated unless there is a script or tool in place to recreate it.

Thanks.  I've read Grunt on Wikipedia.  Gruntfile.js is a configuration file for software tools that are external to this repository.  It doesn't seem necessary for development unless those tools are used.  I don't think we should retain such files unless there is a reason to do so.  Should the Gruntfile.js in sugar-web repository be changed or removed?  It is different, as mentioned.  I've looked at other Gruntfile.js in sugarlabs and the function header is not present.  There are so few such files.  So why do you want the file and header present?  I'm asking you because you added them to commit.

Thanks. I've read Grunt on Wikipedia. Gruntfile.js is a configuration file for software tools that are external to this repository. It doesn't seem necessary for development unless those tools are used. I don't think we should retain such files unless there is a reason to do so. Should the Gruntfile.js in sugar-web repository be changed or removed? It is different, as mentioned. I've looked at other Gruntfile.js in sugarlabs and the function header is not present. There are so few such files. So why do you want the file and header present? I'm asking you because you added them to commit.

i thought it might be better it might be better to have this file with function header. Should i remove it in next commit ?

Why might it be better?

Why might it be better?

generally its better to have this file because it saves time, provides consistency, and ensures that tasks crucial to the project (e.g., building, testing, linting) are performed correctly and efficiently. But in this activity with current scope of this project we can remove this also

Why might it be better?

generally its better to have this file because it saves time, provides consistency, and ensures that tasks crucial to the project (e.g., building, testing, linting) are performed correctly and efficiently. But in this activity with current scope of this project we can remove this also

@quozl whats your take on this file should we remove this file or keep this sir? i will add a other commit accordingly

Sorry, I don't know.  I'm not convinced the file should be included, because

it is new and we have not needed it before,
it is not required at run-time, and we usually want to bundle as little as possible in the .xo file that is downloaded,
it can be regenerated,
other Sugar activities do not have the file,
Sugarizer has only one such file, not per activity.

Sorry, I don't know. I'm not convinced the file should be included, because

it is new and we have not needed it before,
it is not required at run-time, and we usually want to bundle as little as possible in the .xo file that is downloaded,
it can be regenerated,
other Sugar activities do not have the file,
Sugarizer has only one such file, not per activity.

@quozl sure sir, i will remove this file

Sorry, I don't know. I'm not convinced the file should be included, because

it is new and we have not needed it before,
it is not required at run-time, and we usually want to bundle as little as possible in the .xo file that is downloaded,
it can be regenerated,
other Sugar activities do not have the file,
Sugarizer has only one such file, not per activity.

@quozl i have removed this file, now we can merge this PR.

Sorry, I don't know. I'm not convinced the file should be included, because

it is new and we have not needed it before,
it is not required at run-time, and we usually want to bundle as little as possible in the .xo file that is downloaded,
it can be regenerated,
other Sugar activities do not have the file,
Sugarizer has only one such file, not per activity.

@quozl i have removed this file, now we can merge this PR.

@quozl if there are no further changes then we could merge this pr


Add vim for terraform and vagrant

https://github.com/hashivim/vim-terraform
https://github.com/hashivim/vim-vagrant

http://vimawesome.com/plugin/vim-gitgutter
http://vimawesome.com/plugin/vim-colors-solarized-ours
http://vimawesome.com/plugin/syntastic
http://vimawesome.com/plugin/indent-guides
See installation in http://vimawesome.com/plugin/syntastic


Webhook/slack is giving a Target webhook/slack: Remote server returned 0

Hi,
I am trying to use the webhook capability but keep getting Target webhook: Remote server returned 0 on a slack webhook

Possibly related to #30. To confirm: You're using the Slack target and not the WebHook target?

I tried Both with the same result. Maybe i am using the wrong slack url. I used the slack incoming webhook. Btw, it does Work when i dont have a proxy in between

Interesting. How's this proxy set up?

Hmm, problem exists between keyboard and chair (my fault).
I had made a docker container which runs your great project but only set the proxy on buildtime and forgot to set the proxy settings on runtime.
so got the slack working webhook still giving the same error though.

It might be that curl isn't using the proxy settings.
Can you try adding those settings to https://github.com/etsy/411/blob/master/phplib/Target/Slack.php to test this? Example here: https://github.com/php-curl-class/php-curl-class/blob/master/examples/proxy.php

@ChristiaanDouma Both of those use the similar Curl logic. If this is still a problem, can you investigate what err curl is returning?

@kiwiz i got it solved. I having this problem in a docker container setup and set the http(s) proxy settings as environment settings.

hm, in cron couldnt get it working only by adding your suggested curl options

¯_(ツ)_/¯ Does the ENV setting still work? If so, that's good enough.

I added the curl logic to Curl.php
Also had to add verifyhost, verifypeer and no_proxy.
Now it works.
Maybe add these properties to the Config.php?
Grtz

@ChristiaanDouma What did you specify for the no_proxy opt?

I had to opt out our own interval servers.

Closing this for now. Tracking docker related things in #26


Add support for Wordmove

https://github.com/welaika/wordmove

Closing as outdated. Feel free to reopen if still relevant.


Release v175

https://github.com/heroku/heroku-buildpack-python/compare/v174...b64897a0b7224e245c298bebd7d37b820b565999

Published to buildpack registry:
$ bash etc/publish.sh
Deploy as version: v175 [y/n]? y

Tagging commit a165deadfb9179d022796b060096cbcfd2ec74e0 with v175...
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
To https://github.com/heroku/heroku-buildpack-python
 * [new tag]         v175 -> v175
Two-factor code: ********************************************
Publishing buildpack heroku/python... done
Publishing buildpack was successful
Done.

$ h buildpacks:versions heroku/python | head -n4
Version  Released At               Status
───────  ────────────────────────  ─────────
175      2020-08-05T08:22:22.514Z  published
174      2020-07-30T08:17:32.768Z  published

Changelog:
https://devcenter.heroku.com/changelog-items/1871


tinc module: Ed25519PrivateKeyFile, BindToAddress

:+1:  this correctly adds the options that tinc would need

:+1:  this correctly adds the options that tinc would need

bindToAddress should probably be called listenAddress (#11920)

bindToAddress should probably be called listenAddress (#11920)

Fixed, sorry for taking so long.

Changes Unknown when pulling 1a0d004cc202ca15b15c90374c4551e790fdf374 on mayflower:tinc-module into ** on NixOS:master**.


Updated readme.md mit proper fixture configuration

Basically reverts #40
Not sure at what point this is but currently configuration of #40 doesn't work and the previous state does. Likely a version conflict at some place? Not sure


Reorganize Events and EventSequence code

Objective
Make code relating to event more readable.
Currently the impl block of Events is split in two, and the big part of its implementations are put at the end of the file, far from the definition of the struct.
Solution

Move and merge the impl blocks of Events next to its definition.
Move the EventSequence definition and implementations before the Events, because they're pretty trivial and help understand how Events work, rather than being buried bellow Events.

I separated those two steps in two commits to not be too confusing. I didn't modify any code of documentation. I want to do a second PR with such modifications after this one is merged.

I agree with merging the impl blocks and placing them next to the struct  -- however I'd prefer for EventSequence to be defined under Events. In general, I think it's nice for a source file to read like a table of contents. When reading, first you see how something is used, then later on you see how it's defined. I find that this style makes it easier to understand the "why" of code since you see the context for a type before its definition.

Thank you for reviewing ^^
Part of the reason I split the two changes in two commits is so I can easily revert the second one as I knew it wouldn't necessarily win unanimous support. I'm aware the convention is to see how something is used first then how it's implemented, but I thought for this case since it's so small and doesn't really have a use in itself, and the thing that use it is pretty big, it could make sense to put it before, but yeah I think it doesn't matter and you're right.


Usecase: MONAI for possible integration with superduperdb

Explore MONAI repository for possible use-case.
Looks like MONAI uses PyTorch significantly.
https://colab.research.google.com/drive/1wy8XUSnNWlhDNazFdvGBHLfdkGvOHBKe#scrollTo=BZTNbFpgA6rX

To add description of the cells @blythed


Skip/Limit criteria

Would be useful to have a skip and limit criteria for number of documents returned by FindAll.

Thank you for this suggestion. I think that I will add a Limit() method on the Query object :-)

@gamedolphin, the last commit (5a5de339f0b68ef6d76c604f0e1f25e00db47b5f) adds a Limit(n int) method which allows to limit the output of FindAll() and Count().
You can give a look at the TestLimit function to see an example of usage. Before closing the issue, I wait for your feedback.

What do you think about directly returning the document instead an array if Limit(n int) is 1?

To achieve this, the FindAll() function should return an (interface{}, error). This means you should make additional check and conversion to get the actual type (slice or Document).
However your idea is interesting and could be achieved by a FindFirst() function, returning a (*Document, error).
We could open a separate issue for this :=)


link fix

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

enterprise-graph/enterprise-graph-overview.md
93
70
2
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

Docs Build status updates of commit e8bcaa0:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] An exception occurred during the build process. Please check the raw log and retry building your content again. If the issue persists, please open a ticket in http://SiteHelp and include the URL of publishing report as well as below information: One or more errors occurred..

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit e8bcaa0:
:clock10: Pending: waiting for processors (19 builds ahead of you)
:warning: Docs Build is busy, currently there are 19 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

enterprise-graph/enterprise-graph-overview.md
93
70
2
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

Docs Build status updates of commit e8bcaa0:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] An exception occurred during the build process. Please check the raw log and retry building your content again. If the issue persists, please open a ticket in http://SiteHelp and include the URL of publishing report as well as below information: One or more errors occurred..

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Parsing of datetime to take UTC if timezone is not provided

This is causing problem for us in cases where we have set the trino sql timestamp to be UTC and our database has datetime columns without location information because we assume UTC as default.
In DBs like postgres if not given location is taken as UTC whereas this client parses date to EPOCH with time.Local as the location. WHich gives different result on different machine(cloud/ local laptop)

Have fixed the tests @nineinchnick

I've thought about this, and this is a breaking change for anyone using this data type. What's worse, it's silent, meaning the behavior will just change for anyone not pinned to a specific version of this driver. Even if this change is correct, we should only do this in a v2 version.
If you don't mind, I'd keep this open for a while, hoping we can get more feedback from other people. In the meantime, I'd suggest using a workaround, like you can create a struct implementing sql.Scanner in your application and pass it to Scan() instead of trino.Time.

Can we have the default timezone passed with the connection string like we have for custom http client
if tzKey := query.Get("default_tz"); tzKey != "" {
                 os.Setenv("TZ", default_tz)
}

That way its both configurable and backwards compatible

@cla-bot check

@silent-lad I like your last suggestion, can we get back to this? You haven't signed the CLA yet.

https://github.com/trinodb/cla/pull/8/files
I have a PR for the CLA. Haven't gotten it approved. @nineinchnick

PRs are not processed in that repository, you need to send the signed CLA via email.

can we get back to this?

I will update the PR with changes today.

you need to send the signed CLA via email.

Is the procedure documented somewhere so I can follow?

Is the procedure documented somewhere so I can follow?

Yes, please read the cla-bot comments.


Documentation refers to non-existent compiler errors

Documentation suggests [that referring to non-existent atoms)[https://github.com/RAttab/legion/blob/master/res/man/guides/mods.lm#L167] should trigger a compilation error. This does not seem to be the case.

I've tested with other atoms and it doesn't work either. (I'm pretty sure your-mum is not a system atom.) The tab title goes green every time.
For reference this generates the following assembly:
(NOOP)
(RESET)

Nevermind, I didn't see the dark red text at the bottom as I was expecting a tooltip as described ... somewhere earlier.

I believe that after hitting the build button the compilation errors section should pop up and the atom should be underligned with an error tooltip on popup. I'll need to double check if that's working properly.

So I tested it and the error pane does popup but the error highlighting is missing. I'll need a less tired brain to find the problem.

Oh wait, I remember now, the highlighting is only for errors on the client side code parsing and not for the server side compilation. This is something I meant to improve at some point but I had other priorities and decided to revisit in the future. So yeah, currently this works as expected even though it's somewhat inconsistent behavior.


Rename Affix

I've been searching for sharing data between application startup with each handler and I've completely missed Affix middleware.
Naming it something like Config or SharedData or ConfigDepot would make it easier to spot.

Thanks for the suggestion.
This middleware has been around for a long time, and I don't think there's much benefit in renaming it unless there's a very suitable word.
Config, SharedData, ConfigDepot don't seem to express its meaning well.

@chrislearn, @domenkozar is right it also took me forever to learn how to share data between handlers or middleware. It's possible others will also find a hard time learning how to share data between handlers.
Before finding out about Affix, I had to create a custom impl handler for a custom AppState struct using #[handler] and then use it in a hoop.

Config, SharedData, ConfigDepot don't seem to express its meaning well.

In my opinion DepotState or AppState will also be a good name replacement.
Thanks.

I prefer AddonState or AffixState, what do you think? @clarnx @domenkozar

@chrislearn thanks for the feedback. I think AffixState is fine since it indicates the attaching of a state.

@clarnx +1

+1


Volar encounters errors when coexisting with JavaScript and TypeScript Nightly.

Environment

Nuxt Version: 3.4.2
volar Version: 1.6.3
JavaScript and TypeScript Nightly Version: v5.1.20230510

Describe the bug
I registered a helper from the plugin with reference to document
plugins/helllo.ts
export default defineNuxtPlugin(() => {
  const hoge = (message: string) => `hello ${message}`;

  return {
    provide: {
      hoge
    }
  }
})

Later, when I used it in PAGE, the type was unknown.
app.vue

<template>

      {{ $hoge('msg') }}

</template>

message
'__VLS_ctx.$hoge'' is of type 'unknown' ts(18046)

solution
By disabling JavaScript and TypeScript Nightly, we have managed to restore normal functionality.

Can you provide a minimal reproducible example to help us find some clue?


feature/se-4-custom-autocomplete-field

Popup suggestions for the appropriate input (metadata name) after typing at least 3 characters.

[x] Create a new input type component with the model - autocomplete
[x] Create a service for requesting the suggestions
[x] Create a MetadataValue model object to which will be mapped suggestion response objects.

This feature was developed in the https://github.com/dataquest-dev/dspace-angular/pull/50


FIX - allow datasets without headshape dig to be coregistered in report

What does this implement/fix?
If data is acquired without a headshape, the report will error during the coregistration.  The distance measurement calculation will fail because the headshape can't be evaluated.
Additional information
Our lab currently does not collect a headshape, but rather uses localized fiducials with vitamin E capsules on the MRI.  Running data through the mne-bids-pipeline fails during report generation.

Can you add a quick test that this works? I think something like this would do it:
with info._unlock():
    dig, info['dig'] = info['dig'], []
with pytest.warns(RuntimeWarning, match='could not be calculated'):
    report.add_...
with info._unlock():
    info['dig'] = dig

Also there is a conflict that you need to fix via rebase or merge.
If it's not clear or you don't want to look into these things, I can push a quick commit

@jstout211 you need to fix conflicts here

@larsoner  @agramfort  - I had to pull in updates of report.py on main that were pushed today.  I think this should solve it.
I am not familiar enough with the report code to make a test for it.

I am not familiar enough with the report code to make a test for it.

@jstout211 feel free to look at  dbb8c92 to see how I added a version of the suggested code above.
FYI I got an error with your code when I added a test for it (caused by the switch to warn from logger.warning I think):
mne/report/report.py:461: in _iterate_trans_views
    return _itv(function, fig, surfaces=['head-dense'], **kwargs)
mne/report/report.py:503: in _itv
    warn(e)
mne/utils/_logging.py:374: in warn
    warnings.warn_explicit(
E   TypeError: expected string or bytes-like object

A cast to string fixed it (explicitly done now via f-string).

Thanks, @jstout211!

We forgot to add a changelog entry 😱


add remaining url fields to the registry

Changes
Adds remaining url fields from ECS to the registry
Merge requirement checklist

[x] CONTRIBUTING.md guidelines followed.
[x] CHANGELOG.md updated for non-trivial changes.
[ ] schema-next.yaml updated with changes to existing conventions.

I would like to bump this PR, are there any other questions?

@arminru @jsuereth Thanks for the comments. I have updated the PR

This particular PR isn't affected by build tools change, so it can be unblocked. If I remember correctly it was blocked due to uncertainty with password/username fields and those are removed now for PR


update dab schema

Why make this change?

To maximize the validation checks, we have to update our schema so as to properly reflect the supported configuration.

What is this change?

Added additionalProperty=false, which rejects any property in the config that is not defined in the property ( case sensitive check).
it means if user defined a property as 'GraphQL', but in our schema it is defined as graphql. the validation check will fail stating the same. (NOTE: our engine also understand graphql and not GraphQL).
removed the schema link from additionalProperties to $id. since we needed to not allow any additional properties.
$id is a reserved keyword to contain the uri or a refrence to a uri to identify the base schema. we removed the refrence and used the url directly.
Added missing properties under the properties field like options, $schema, and permissions. the only reason previous dab configs were valid, even when this property definition was missing, was because we allowed 'additionalProperties'

How was this tested?

Checked the generated dab-draft-schema.json, correct json is generated with correct link.
Also the generated config has the correct value of $schema.
validated the updated schema against invalid config json using online json schema validator tools.

Sample Request(s)
{
  "$schema": "https://github.com/Azure/data-api-builder/releases/download/vmajor.minor.patch/dab.draft.schema.json",
  "data-source": {
    "database-type": "cosmosdb_nosql",
    "connection-string": "Server=tcp:<IP_ADDRESS>,1433;Persist Security Info=False;User ID=sa;Password=REPLACEME;MultipleActiveResultSets=False;Connection Timeout=5;"
  },
  "data-source-file": [],
  "runtime": {
    "rest": {
      "enabled": true,
      "path": "/api"
    },
    "Graphql": {
      "enabled": true,
      "path": "/graphql",
      "allow-introspection": true
    },
    "host": {
      "cors": {
        "origins": [
          "http://localhost:5000"
        ],
        "allow-credentials": false
      },
      "authentication": {
        "provider": "StaticWebApps"
      },
      "mode": "development"
    }
  },
  "entities": {
    "Publisher": {
      "source": {
        "object": "publishers",
        "type": "table"
      },
   	  "asd":"asd",
      "graphql": {
        "enabled": true,
        "type": {
          "singular": "Publisher",
          "plural": "Publishers"
        }
      },
      "rest": {
        "enabled": true
      },
      .....

/azp run

/azp run


Run MAVSDK-Python on Raspberry pi 3b

I followed all the instructions specified here
https://discuss.px4.io/t/talking-to-a-px4-fmu-with-a-rpi-via-serial-nousb/14119
but iam getting this error please help me
pi@raspberrypi:~/MAVSDK-Python/examples $ python3 firmware_version.py
Traceback (most recent call last):
File "/home/pi/.local/lib/python3.7/site-packages/mavsdk/system.py", line 166, in _start_mavsdk_server
with path(bin, 'mavsdk_server') as backend:
File "/usr/lib/python3.7/contextlib.py", line 112, in enter
return next(self.gen)
File "/usr/lib/python3.7/importlib/resources.py", line 201, in path
with open_binary(package, resource) as fp:
File "/usr/lib/python3.7/importlib/resources.py", line 91, in open_binary
return reader.open_resource(resource)
File "", line 929, in open_resource
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.local/lib/python3.7/site-packages/mavsdk/bin/mavsdk_server'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "firmware_version.py", line 23, in
loop.run_until_complete(run())
File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
return future.result()
File "firmware_version.py", line 9, in run
await drone.connect(system_address="serial:///dev/serial0:921600")
File "/home/pi/.local/lib/python3.7/site-packages/mavsdk/system.py", line 62, in connect
self._start_mavsdk_server(system_address)
File "/home/pi/.local/lib/python3.7/site-packages/mavsdk/system.py", line 175, in _start_mavsdk_server
raise Exception("\nIt seems like this installation does not provide an embedded 'mavsdk_server' binary. If you installed from pip, it means that 'mavsdk_server' is not distributed for your platform (yet). You will need to get and run it manually:\n\n\t1. Build 'mavsdk_server': https://github.com/mavlink/mavsdk.\n\t2. Run it, e.g. on port 50051: './mavsdk_server -p 50051'.\n\t3. Set the 'mavsdk_server_address' and port when creating the System: 'drone = System(mavsdk_server_address='localhost', port=50051)\n")
Exception:
It seems like this installation does not provide an embedded 'mavsdk_server' binary. If you installed from pip, it means that 'mavsdk_server' is not distributed for your platform (yet). You will need to get and run it manually:
    1. Build 'mavsdk_server': https://github.com/mavlink/mavsdk.
    2. Run it, e.g. on port 50051: './mavsdk_server -p 50051'.
    3. Set the 'mavsdk_server_address' and port when creating the System: 'drone = System(mavsdk_server_address='localhost', port=50051)

Did u find the solution ?

Did u find the solution ?

We now provide an embedded mavsdk_server, please try that and open a new issue if that's not working.

We now provide an embedded mavsdk_server, please try that and open a new issue if that's not working.

In the documentation there is a statement that points out the RPi is not supported for MAVSDK-Python.

MAVSDK-Python is currently only available for Windows, macOS, and Linux x86_64. It is not yet suppported for Linux ARM platfroms like RPi

This may lead to confusion about the availability. Actually, when I first read here, I thought I cannot use MAVSDK-Python with RPi at all. Maybe you can leave a not there to indicate there is a way to utilize MAVSDK-Python and install mavsdk-server.

In the documentation there is a statement that points out the RPi is not supported for MAVSDK-Python.

MAVSDK-Python is currently only available for Windows, macOS, and Linux x86_64. It is not yet suppported for Linux ARM platfroms like RPi

This may lead to confusion about the availability. Actually, when I first read here, I thought I cannot use MAVSDK-Python with RPi at all. Maybe you can leave a not there to indicate there is a way to utilize MAVSDK-Python and install mavsdk-server.

@ytaskiran: nice catch for the documentation! :blush:
As can be seen here, we distribute mavsdk-python for armv6, armv7 and aarch64, which should cover the RPis.
Would you be willing to contribute this to the docs? You can just remove the note, it's outdated now :+1: :slightly_smiling_face:

@ytaskiran: nice catch for the documentation! :blush:
As can be seen here, we distribute mavsdk-python for armv6, armv7 and aarch64, which should cover the RPis.
Would you be willing to contribute this to the docs? You can just remove the note, it's outdated now :+1: :slightly_smiling_face:

Absolutely, I'd like to do. Will get it done as soon as possible.

Absolutely, I'd like to do. Will get it done as soon as possible.


tabular predictor pkl test

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

Is this PR about supporting saving AG predictor directly to GCP? AG model artifacts involves many files, and I believe this PR only tries to save the predictor pickle file, which will not be enough


Keyboard layout Portuguese (Brazil) win10 pro Toggle Line Comment (ctrl + unknown) and Split Editor (ctrl+oem_102)

I have problem with Toggle Line Comment when trying to switch from Ctrl +; To Ctrl + / getting ctrl + unknown.
And with Split Editor when trying to switch from Ctrl + ] to Ctrl + \ getting ctrl+oem_102
Windows 10 Pro
Versão 1703
Build SO 15063.296
x64
Visual Studio Code
Version 1.12.1
Date 2017-05-04T21:26:50:689Z
Shell 1.6.6
renderer 56.0.2924.87
Node 7.4.0
Keyboard Pt-Br
ABNT2
https://jsfiddle.net/v1gz5c5m/1/
on Chrome 58.0.3029.110 (64-bit)
/ return keydown --- code: IntlRo, keyCode: 193, key: /
\ return keydown --- code: IntlBackslash, keyCode: 226, key: \
on Firefox 54.0b6 (64-bit)
/ return keydown --- code: IntlRo, keyCode: 191, key: /
\ return keydown --- code: IntlBackslash, keyCode: 220, key: \
on Edge Microsoft Edge 40.15063.0.0 Microsoft EdgeHTML 15.15063
/ return keydown --- code: undefined, keyCode: 193, key: /
\ return keydown --- code: undefined, keyCode: 226, key: \
/ on VS Code hint as image

\ on VS Code hint as image

like to/similar
#24147

@delmarwichnieski Probably tomorrow should be available in VSCode - Insiders. Similar to issue #23685

Ctrl + Shift + \ Jump to matching bracket the same issue. All shortcuts that have \ or /.

@Tekbr

@Tekbr
I will love it because other keys like [and] I was doing via POG in the file keybindings.json
{
    "key": "ctrl+\\",
    "command": "editor.action.indentLines",
    "when": "editorTextFocus && !editorReadonly"
},
{
    "key": "ctrl+]",
    "command": "editor.action.outdentLines",
    "when": "editorTextFocus && !editorReadonly"
},
{
    "key": "ctrl+shift+]",
    "command": "editor.fold",
    "when": "editorTextFocus"
},
{
    "key": "ctrl+shift+\\",
    "command": "editor.unfold",
    "when": "editorTextFocus"
},
{
    "key": "ctrl+k ctrl+]",
    "command": "editor.foldRecursively",
    "when": "editorTextFocus"
},
{
    "key": "ctrl+k ctrl+\\",
    "command": "editor.unfoldRecursively",
    "when": "editorTextFocus"
}

Indeed, support for ABNT_C1 and ABNT_C2 was added with #23685


Problem sending internet GIFs

I tried to get a random GIF in a certain category using the giphypop wrapper, but when I send it using the bot.sendPhoto() method it just sends the first frame. Here's my code:
random_img = giphypop.random_gif("boop cat", api_key=GIF_TOKEN, strict=True)
requests.get(random_img.media_url)
bytearr = io.BytesIO(response.content)
bot.sendPhoto(usid, ("boop.gif", bytearr), caption="Powered by Giphy")```

Well, I don't know what giphypop does, but here's my take:

You download a media_url. I assume those are bytes of a GIF image.
You send the bytes using sendPhoto

Why do you expect it to send more than one image?

I'm expecting it to send an animated gif like the one I actually got from
media_url, instead it just sends the forest frame and that's it.
On Thu, 15 Sep 2016 13:02 Nick Lee<EMAIL_ADDRESS>wrote:

Well, I don't know what giphypop does, but here's my take:

You download a media_url. I assume those are bytes of a GIF image.
You send the bytes using sendPhoto

Why do you expect it to send more than one image?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nickoala/telepot/issues/159#issuecomment-247287499,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASpZq4ba9O_j8NS7szCpfzxrC377AG5Kks5qqReZgaJpZM4J9Ehm
.

sendPhoto returns a bunch of file_ids. You can download the image file by picking one of them. It appears sendPhoto treats animated GIF as JPG, thus your first frame.
Use sendDocument to send animated GIF. You will get what you want.

It worked, thanks.


Make some small style/effciency improvements

Use mutating eigvals! to avoid an allocation.
Add comment on reason for promotion.
Use fill rather than ones. This is cleaner and more efficient.

Although these changes include improvements in efficiency, I found no measurable difference
in run time. It's more a question of best practices. Eg, you should avoid an allocation
if it doesn't make the code less readable.
I meant to include these in the previous PR, but they escaped somehow.

LGTM.  Thanks again John!


Add loadtest for filter logs

Describe your changes and provide context
Add loadtest config for querying logs of the deployed ERC20 contract
Testing performed to validate your change
loadtest

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 60.93%. Comparing base (51a15cf) to head (51590df).
Report is 1 commits behind head on seiv2.

Additional details and impacted files

@@            Coverage Diff             @@
##            seiv2    #1557      +/-   ##
==========================================
+ Coverage   60.90%   60.93%   +0.03%
==========================================
  Files         366      366
  Lines       26062    26062
==========================================
+ Hits        15872    15881       +9
+ Misses       9183     9173      -10
- Partials     1007     1008       +1

see 2 files with indirect coverage changes


Minor fixes (update URLs)

Reference Issue

Update URLs plus some minor fixes

Yeah GoogleBot, that is mine and it is okay. I went ahead and processed the reviewer feedback, merging this PR 👍


Pre-screen node

Make a node that just looks for certain strings in the entire journal string:

API errors
Exceptions
Termination type

Since this is already part of the journal class and the class constructor performs well even on larger journals, I don't think we need this any more.


Bump rust version to 1.78

This matches the new docker image

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

test_ztunnel
d8b206f43dea4b4fd456eb272cbfd614606f60cf
link
true
/test test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

maybe we shouldn't dothis since we don't require 1.78, and this will make it fail on 1.77?

Yeah I think we need to track our CI version/build-tools version exactly in the cargo.toml

rust-version is the 'The minimal supported Rust version.' We run fine on 1.77, do we really want to say you MUST have 1.78?
Build tools is fine since that is managed. I don't personally care since I always use latest. But seems a bit excessive

rust-version is the 'The minimal supported Rust version.' We run fine on 1.77, do we really want to say you MUST have 1.78?

I think our min version can only be the min version we actually build and test with.
People are free to try and change it and set it lower, but our floor sort of has to be what we use in CI.


Change font & icon size to default for tables

Changed the font and icons size in the tables to the default size for consistency and improved visual perception. Previously, tables had different font sizes, which led to inconsistencies in the interface.

Thank you @devSviat so much, this close #21


Heat demand and hot water profiles should only have a use profile

They currently have availability as well:

This is the case for the old heat pump profiles. A migration has already been written which will deprecate these profiles, and the new "use" profiles can then be uploaded. I think this can be closed.


Demo site requires manual opt in of site apps

It seems like http://sidecar-panel.vercel.app/ is intended to present an example SaaS that I might want to view user data from.
I provided my initial details which seemed to be accepted.
However, further use failed and I noticed following error in my console:

"PostHog site apps are disabled. Enable the "opt_in_site_apps" config to proceed."

I found this post which offered the following for handling this:
posthog.init("api_key", {
    "api_host": "https://app.posthog.com/",
    "opt_in_site_apps": true
})

I went ahead and ran that in console and was able to get what I believe is expected behavior out of the site.  This is a cool idea and has made me think about how my employer could present data to customers in other applications.
Anyhow, it may be helpful to mention this step in the readme. I also found I did not need to restart my system, though I did restart chrome just in case.
Initially, I tried just loading up Sentry.io, thinking that would be a relevant SaaS to bring PH user data into.  But it was unclear how to make the extension do its thing, or if there was some config I needed to do.

Hey @banagale, thanks for giving this a try!
Excited to hear your interest in this project 🙌
I'm curious to hear more about the error you saw, since you shouldn't need to enable site apps to get this working. Did you see this message before or after you configured your settings?

Just added this setting, thanks again for your report!

Super glad it was helpful. This is an inspiring concept.


Crash when running on regression task

Aetros integration makes my regression DNN crash when performing the fit operation.
Here is the stack trace :
File "downloads.py", line 40, in <module>
    model.fit(X, Y, validation_split=0.2, nb_epoch=1000, batch_size=10, callbacks=callbacks_list, verbose=1)
  File "/usr/local/lib/python2.7/dist-packages/aetros/KerasIntegration.py", line 54, in overwritten_fit
    class_weight, sample_weight, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/keras/models.py", line 597, in fit
    sample_weight=sample_weight)
  File "/usr/local/lib/python2.7/dist-packages/keras/engine/training.py", line 1107, in fit
    callback_metrics=callback_metrics)
  File "/usr/local/lib/python2.7/dist-packages/keras/engine/training.py", line 845, in _fit_loop
    callbacks.on_epoch_end(epoch, epoch_logs)
  File "/usr/local/lib/python2.7/dist-packages/keras/callbacks.py", line 40, in on_epoch_end
    callback.on_epoch_end(epoch, logs)
  File "/usr/local/lib/python2.7/dist-packages/aetros/KerasLogger.py", line 162, in on_epoch_end
    log['validation_accuracy'][layer.name] = log['val_acc'] #outs[1]
KeyError: 'val_acc

Here is the script :
# create model
model = Sequential()
model.add(Dense(34, input_dim=47, init='normal', activation='relu'))
model.add(Dropout(0.2))
model.add(Dense(23, init='normal', activation='relu'))
model.add(Dropout(0.2))
model.add(Dense(12, init='normal', activation='relu'))
model.add(Dense(1, init='normal', activation='linear'))
# Compile model
model.compile(loss='mean_absolute_percentage_error', optimizer='adam')

# Save best weigths
filepath="weights.best.hdf5"
checkpoint = ModelCheckpoint(filepath, monitor='val_loss', verbose=0, save_best_only=True, mode='min')
callbacks_list = [checkpoint]

# Add Aetros integration
from aetros.KerasIntegration import KerasIntegration
KerasIntegration('almathie/downloads', model, insights=True)

model.fit(X, Y, validation_split=0.2, nb_epoch=1000, batch_size=10, callbacks=callbacks_list, verbose=1)
```

Note that running the script without aetros works just fine

I hit the same bug but then used the dev version where it has been fixed (with this commit).
If you installed aetros-cli with pip, first uninstall it and reinstall it using the current master :
sudo pip uninstall aetros
git clone https://github.com/aetros/aetros-cli.git
cd aetros-cli
python setup.py install

Yep fixed the previous crash, but got another one (same script) :
Using Theano backend.
Training status changed to TRAINING
Train on 93473 samples, validate on 23369 samples
Training status changed to TRAINING
Epoch 1/1000
93420/93473 [============================>.] - ETA: 0s - loss: 1893645.5566Traceback (most recent call last):
  File "downloads.py", line 45, in <module>
    model.fit(X, Y, validation_split=0.2, nb_epoch=1000, batch_size=10, callbacks=callbacks_list, verbose=1)
  File "/usr/local/lib/python2.7/dist-packages/aetros-0.3.4-py2.7.egg/aetros/KerasIntegration.py", line 55, in overwritten_fit
    class_weight, sample_weight, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/keras/models.py", line 597, in fit
    sample_weight=sample_weight)
  File "/usr/local/lib/python2.7/dist-packages/keras/engine/training.py", line 1107, in fit
    callback_metrics=callback_metrics)
  File "/usr/local/lib/python2.7/dist-packages/keras/engine/training.py", line 845, in _fit_loop
    callbacks.on_epoch_end(epoch, epoch_logs)
  File "/usr/local/lib/python2.7/dist-packages/keras/callbacks.py", line 40, in on_epoch_end
    callback.on_epoch_end(epoch, logs)
  File "/usr/local/lib/python2.7/dist-packages/aetros-0.3.4-py2.7.egg/aetros/KerasLogger.py", line 215, in on_epoch_end
    images = self.build_insight_images()
  File "/usr/local/lib/python2.7/dist-packages/aetros-0.3.4-py2.7.egg/aetros/KerasLogger.py", line 326, in build_insight_images
    image = self.make_image_from_dense(np.squeeze(Y))
  File "/usr/local/lib/python2.7/dist-packages/aetros-0.3.4-py2.7.egg/aetros/KerasLogger.py", line 484, in make_image_from_dense
    cols = int(math.ceil(math.sqrt(len(neurons))))
TypeError: len() of unsized object

@almathie we fixed it in current master. Please try this version again.


FBP Asynchronous feature

FBP Asynchronous feature

[x] Provide a struct Graph, replacing Dag in the old version.

[x] Remove field rely_graph.
[x] Automatically create channels and assign corresponding senders and receivers to the nodes when building the graph.
[x] Modify the logic of error-handling: If one node fails, the graph will not stop running, and users can then handle exceptions or errors at a successor node.

Hey :) All boxes are checked. Is there something else I could help out with for this issue?

Hey :) All boxes are checked. Is there something else I could help out with for this issue?

Currently we are working hard to complete the Parser  (#74).
After the refactoring plan is completed, we will release a new version. This new version will serve as the prototype of dagrs, and I think there are still many things that need to be improved. You can refer to this version to adjust your projects and tell us where dagrs need modification and improvement.


Doesn't work with Angular 4 + webpack

Hi,
So I have just updated NS to v3, and Angular to v4. Running npm run start-android-bundle I get the following error. I have no idea what is going on, am I doing something wrong?

ERROR in Unexpected value 'NativeScriptLocalizeModule in C:/Users/dvd/App name/node_modules/nativescript-localize/sources/localize.d.ts' imported by the module 'SharedModule in C:/Users/dvd/App name/app/src/shared/shared.module.ts'. Please add a @NgModule annotation.

Tried something else, different versions of other dependencies etc. and now came up with this issue:

Executing before-prepare hook from C:\Users\dvd\App name\hooks\before-prepare\nativescript-localize.js
Cannot read property 'projectDir' of undefined
child process exited with code 127

I am using v1.9.5 with all other @angular versions set to 4.0.2.
Apologies for taking your time, but please let me know if you know what is happening on top of your head, or if I can send you some more details? Thank you

Hi, thanks for the report, could you try the 2.0.0 version and tell me if it works as expected ?

Yes, this works now using tns run android. Thank you!
However, it fails when using webpack npm run start-android-bundle --aot with:
ERROR in Unexpected value 'NativeScriptLocalizeModule in C:/Users/dvdbrk/App name/node_modules/nativescript-localize/index.d.ts' imported by the module 'AppModule in C:/Users/dvdbrk/App name/app/app.module.ts'.
Please add a @NgModule annotation.

ERROR in ./main.aot.ts
Module not found: Error: Can't resolve './app.module.ngfactory' in 'C:/Users/dvdbrk/App name/app'
 @ ./main.aot.ts 4:29-62

I'd like to help, but webpack and all this is way above me. Any ideas?

Good, I've just published 2.0.1 to correctly generate angular metadata. You'll have to change your import from nativescript-localize to nativescript-localize/angular to make it work. Take a look at the angular demo if needed.

I can confirm that 2.0.1 works with Webpack --aot, NS 3, Angular 4, Android. Thank you for an awesome plugin.


MarkerDetectionHololens reference is null on NewDeviceDiscovery (SpectatorView)

Does this affect the legacy HoloToolkit (master) or the Mixed Reality Toolkit (mrtk_release)?
HoloToolkit
Describe the bug
I'm trying to get the SpectatorView Preview running, but I'm having several errors like the one in the title.
Unity gives me these errors:

To Reproduce
I just followed the steps on:
https://docs.microsoft.com/en-us/windows/mixed-reality/spectator-view
Actual behavior
I can't build neither for Hololens nor for iPhone
Unity Editor Version
2018.1.0f2
Additional context
Also in the inspector panel looking at the SpectatorView prefab, the NetworkManager seems to be empty:

edited issue to reflect that this is in HoloToolkit.

@benzben Unity 2017.2.1p2 is the officially supported version but has been tested up to 2017.4.9

@MrGuy I can't use the Awake() function as it's not a MonoBehaviour Script, right?
Also I noticed that the SpectatorViewNetworking.prefab I'm using doesn't have the 'NetworkManager' GameObject that appears in this tutorial (https://docs.microsoft.com/en-us/windows/mixed-reality/spectator-view)

Where do I find this component?

Ah, right - You can't use the Awake function there.
There is a portion of those scripts which detect the null references and prints those errors.
You could use the  FindObjectOfType<>() there to find the objects.
Alternatively, you could just use the Start() callback.
I think the network manager script has been moved on to the Shared > Networking object.

@danielescudero I just installed Unity 2017.3 for testing and I get the exact same errors.
@MrGuy "I think the network manager script has been moved on to the Shared > Networking object."
When I search in my Assets for 'NetworkManager' it does not find anything except 'SpectatorViewNetworkManager.cs'.
I will try the idea of using FindObjectOfType now, but somehow I doubt that this will result in success. Something's just really messed up in my configuration, but I just can't figure it out. I downloaded the newest Git Repositories, so this should not be the problem.

Here is the component the Network Manager was loaded on for me:

Note that the NewDeviceDiscovery and SpectatorViewDiscovery scripts were already included in the SpectatorView prefab, no need to drag in the extra SpectatorViewNetworking prefab.

Yeah sure, these components I have too, but as I posted in this reply (https://github.com/Microsoft/MixedRealityToolkit-Unity/issues/3042#issuecomment-436892261), the SpectatorViewNetworking.prefab seems to lack a component 'NetworkManager'.
Also I have to point out that I get all these errors even before trying to hit play or build, they appear as soon as I drag the prefabs into my scene.

I deleted the SpectatorViewNetworking prefab in my scene as you said and tried to build, then Unity gives me these errors:

The first errors I remember seeing an extra issue for that. However, again I have the missing 'NetworkManager' on SpectatorView.

Regarding this issue (https://github.com/Microsoft/MixedRealityToolkit-Unity/issues/3040) I solve the problems with the QR Tracker.
However, again I can't build as I get the errors

Okay, so this very issue (MarkerDetectionHololens reference is null on NewDeviceDiscovery) is actually solved by using FindObjectOfType for every component in the Awake function (there actually ARE awake functions, I just missed them because I was blind...).
This issue may be closed, I will continue in another specific issue.


[CHORE]: Support for CLI in systemd examples

Description of changes
Summarize the changes made by this PR.

Improvements & Bug fixes

Added support for running Chroma with systemd and chroma cli
Added example files that can be directly copied
Fixed Type to match how service is run (simple for cli and forking for docker compose)

Test plan
How are these changes tested?
Tested with EC2 instance
Documentation Changes
N/A

#2217  👈
main

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

Join @tazarov and the rest of your teammates on  Graphite

Good to go once the linter passes!


Turbo EverDrive Pro Hot-Heys No Longer Working

In a recent update the Turbo EverDrive Pro hotkeys workaround patch stopped functioning as it was. Need to revisit this and see what changes caused the single controller buttons to not apply to all multitap reads when hotkeys are detected.

Fixed by https://github.com/RobertDaleSmith/USBRetro/commit/70ff5a7d46ccdcada69dd3ea2361585360f16593

This isn't working at all for me. I'm on the latest firmware on the USB2PCE and on the Turbo Everdrive Pro.


Label crashes the app

Labels still crashes (times out) the app. It seems that my labels with only a few torrents in them work fine, but my labels with a lot of torrents in them cause the app to crash.
Reported by Chris  via email

I couldn't reproduce it. I'm closing it. If there are more reports I will reopen it.


tour: Pi should be capital

Context: https://tour.golang.org/basics/3
math.pi does not compile outside of the playground. Should be math.Pi for a consistent example

whoops! :)


Lock/Unlock no longer pushes notification to HA showing who's fingerprints unlocked the door

Thank you Fuatakgun, Happy New Years!
Device info
T8510
Logbook shows door lock and unlock status, but no longer who unlocked it.

Thank you for your time!!!!!

Do you mean, this was working in 2.x version but not working in 5.x versions?
Happy new year to you too

hmmm, it looks like im on  v2.10, possible it was working on an earlier version of 2.x?

Do you mean, this was working in 2.x version but not working in 5.x versions?
Happy new year to you too

hmmm, it looks like im on  v2.10, possible it was working on an earlier version of 2.x?

I would say, move into v5.x version and see.

thank you for the suggestion! I moved into v5.x. Here is the new device information, there appears to be more entities, however still no notifications on who unlocked the door

Are you locking and unlocking these via home assistant or eufy app or physically?

physically

There was no such functionality since beginning of time :-)

omg loooool!!!! I could have sworn I noticed fingerprint notification in the log book XD I am hoping we can add this to the wishlist then, thank you again!

I remember this was asked to bropat over his repository and he mentioned that this is not possible, don't have too much context


🐛 Autoprefixer munges some CSS class names

:bulb: This issue is duplicated from parcel-bundler/parcel #2072, where the consensus currently seems to place the root cause of this issue in the postcss-modules package.

🐛 bug report
TL;DR. If I try to use a class name of columns in one of the CSS files included in my project, the resulting CSS module exports the class name incorrectly with vendor prefixes. The autoprefixer should only affect CSS properties, not class name selectors.
I would imagine that other auto-prefixed CSS properties would trigger this behavior as well, although I have not tried others.
🎛 Configuration (.babelrc, package.json, cli command)
.babelrc
{
  "presets": ["env", "react", "stage-2"]
}

.postcssrc
{
  "modules": true,
  "plugins": {
    "autoprefixer": true
  }
}

🤔 Expected Behavior
This is what the output for my CSS module after a parcel build ... should look like:
> module.exports={columns:"_columns_mpr9j_1"};

😯 Current Behavior
This is the what the resulting CSS module after a parcel build command looks like now:
module.exports={"-webkit-columns":"_columns_1m6to_1","column-count":"_columns_1m6to_1"};

Note that this problem does not occur when running a development server (via parcel start ...).
💁 Possible Solution
Probably an autoprefixer issue. Not familiar with the implementation, so no suggestions there.
🔦 Context
I have a React component called <Columns>, and by convention, the root CSS class name on my project's React components is the name of the component.
This is pretty easy to work around simply by renaming the CSS class, so not a critical issue. Just a minor annoyance that was difficult to troubleshoot at first because it doesn't happen with parcel start.
💻 Code Sample
canterberry/parcel-autoprefixer-issue contains a minimal configuration for demonstrating this issue.
🌍 Your Environment

Software
Version(s)

Parcel
1.10.0

Node
10.9.0

Yarn
1.10.0

Operating System
Linux

Closing this issue, as there hasn't been any response from the package maintainers since it was created over six months ago, and I am no longer using PostCSS modules, anyway.


feat(call-home): use version_info crate to generate git version

This ports the changes from #125 for release/2.0 branch

bors try

bors merge

bors retry


[release/v3.0] Fix the branches on renovate config

After reading docs for renovate config I realized the config should be uniform across active branches. So I'm adding all 3 versions to the v3 branch config first. Then these can be cherry-picked/merged up to v4 and v5 as desired.

Maybe I need to point this at the release/v5.0 branch though - since GH actions source via default branch. From the looks of it, that would make sense from the public perspective on the repo. I don't have access to see more as I'm still waiting on team adjustments for my account.


Invalid BED format from duplicate columns

Hi, I have the same problem as  #66  from viet and I found that rna.var dataframe of  Chen-2019-RNA.h5ad  has duplicated columns after annotation via scglue.data.get_gene_annotation. Remove these duplicates and the whole pipeline just works.
genes     chrom  chromStart   chromEnd ......         chrom  chromStart   chromEnd
0610005C13Rik   chr7    45567793   45575327 ...... chr7    45567793   45575327
0610009B22Rik  chr11    51685385   51688874 ...... chr11    51685385   51688874
0610009E02Rik   chr2    26445695   26459390 ...... chr2    26445695   26459390

I also noticed that the unit test of  scglue.data.get_gene_annotation does not capture such duplicating behaviour. So I checked the function definition and found pd.concat operation within that function might lead to repeat columns.
merge_df = pd.concat([
        pd.DataFrame(gtf.to_bed(name=gtf_by)),
        pd.DataFrame(gtf).drop(columns=genomics.Gtf.COLUMNS)  # Only use the splitted attributes
    ], axis=1).set_index(gtf_by).reindex(var_by).set_index(adata.var.index)
adata.var = pd.concat([adata.var, merge_df], axis=1)

Add a drop_duplicates() then it works.
P.S. I use the recommended packages so it should not be the package version's issue

Hi @michaelGuo1204. Thanks for the detailed report!
The tutorial was meant to be run on a var-cleared version of the Chen-2019-RNA.h5ad file listed on the tutorial page:
http://download.gao-lab.org/GLUE/tutorial/Chen-2019-RNA.h5ad
But due to the exact reason you described, would throw this error when run on the var-populated version listed on the example datasets page (yes these files are different...):
http://download.gao-lab.org/GLUE/dataset/Chen-2019-RNA.h5ad
Not properly handling duplicate columns is indeed very confusing. I have pushed a fix (679989bcf551d3b53c0d39b6db98db520797eb16) by replacing the concat with assign, which will overwriting the existing columns when there are duplications. The fix will be included in the next release.

Appreciate it!


Data is not saved, a question

Hi,
i have a bunch of data in req.session, but when i look inside the redis, only the sid is stored.
Therefore the date is not recovered in the next call.
Am I doing something wrong? How to store the whole req.session object to the persistent store?
Thanks,
ps

OK, i have to call the save method.
whenever i set something to the session. Can we bind this to req, somehow?


[main] Add Azure internal LB module

Purpose

Adding Azure internal LB module.

 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.


Reuse SVG node

CATEGORY
Choose one

[ ] Bug Fix
[X] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY

This PR changes the FiltertableTable component to reuse an svg component when computing the width of each cell in the table. This leads to improvements of ~10x on large tables (see https://github.com/apache-superset/superset-ui/pull/173)/

TEST PLAN

Benchmarked with a wide table:

Without reusing the svg node: 4315ms
Reusing the svg node: 2167ms
Reusing the svg node and the textNode (this PR and https://github.com/apache-superset/superset-ui/pull/173): 481ms

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

REVIEWERS
@etr2460

replaced by https://github.com/apache/incubator-superset/pull/8011


[4.1][Bug] address_google field does not work well inside repeatable field

Closing this in favor of #2962


Introduce deployment options

Deployment options can be set with:
  kubectl gadget deploy --opts <comma-separated-options>

This will set the environment variable $INSPEKTOR_GADGET_OPTIONS in the
gadget DaemonSet. The script entrypoint.sh will then act on it. This
allows to enable or disable some experimental options without
recompiling.
This patch introduces two options:

runc_hooks_ldpreload
Inspektor Gadget currently uses OCI hooks via a patched runc that
adds PreStart and PostStop hooks. As an alternative option, this
patch adds support for unpatched runc using a ld.so.preload
configuration.

notraceloop
Don't start the traceloop daemon. This is useful to avoid the
memory consumption of the traceloop gadget, if only the other
gadgets are desired.

Is there an easy way to add an error message indicating that traceloop is not available because of the notraceloop option?

Maybe print an error if the annotation on the pod is not there, instead of ignoring it?
https://github.com/kinvolk/inspektor-gadget/blob/master/cmd/inspektor-gadget/cmd/traceloop.go#L93

I rebased the branch and resolved the conflicts (but didn't address the review).

@mauriciovasquezbernal I think I addressed the review. Please take another look.

I see this PR is not working as expected, there are some changes that are needed to change (gadget tracer manager is not being run, I see those changes are included in https://github.com/kinvolk/inspektor-gadget/pull/58, I tried to port the ones needed here but I was not able to make it work. Maybe we could close it and just keep going with https://github.com/kinvolk/inspektor-gadget/pull/58, what do you think?

Maybe we could close it and just keep going with #58, what do you think?

#58 depends on a branch of bcc that is not merged upstream (https://github.com/iovisor/bcc/pull/2834), and I am a bit reluctant to merge #58 before the bcc changes are finished and merged, and it is likely to take some time.
Meanwhile, I'm fine with merging a simplified version of this PR with only the "notraceloop" option (as far as I remember, you suggested that somewhere).

The traceloop flag was introduced in https://github.com/kinvolk/inspektor-gadget/pull/69 and the ldpreload option will continue to be developed in https://github.com/kinvolk/inspektor-gadget/pull/58.
Closing now.


requests.exceptions.ConnectionError: ('Connection aborted.', error("(32, 'EPIPE')",))

Hi @ParhamP, thanks for the script. I've come across an issue, which I raised on SimpleAudioIndexer's end: aalireza/SimpleAudioIndexer#8; but I thought you should be aware of it too:
File "/Users/nickpettican/miniconda3/envs/py27/lib/python2.7/site-packages/SimpleAudioIndexer/__init__.py", line 1108, in index_audio
    self._index_audio_ibm(*args, **kwargs)
  File "/Users/nickpettican/miniconda3/envs/py27/lib/python2.7/site-packages/SimpleAudioIndexer/__init__.py", line 944, in _index_audio_ibm
    params=params)
  File "/Users/nickpettican/miniconda3/envs/py27/lib/python2.7/site-packages/requests/api.py", line 112, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/Users/nickpettican/miniconda3/envs/py27/lib/python2.7/site-packages/requests/api.py", line 58, in request
    return session.request(method=method, url=url, **kwargs)
  File "/Users/nickpettican/miniconda3/envs/py27/lib/python2.7/site-packages/requests/sessions.py", line 508, in request
    resp = self.send(prep, **send_kwargs)
  File "/Users/nickpettican/miniconda3/envs/py27/lib/python2.7/site-packages/requests/sessions.py", line 618, in send
    r = adapter.send(request, **kwargs)
  File "/Users/nickpettican/miniconda3/envs/py27/lib/python2.7/site-packages/requests/adapters.py", line 490, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', error("(32, 'EPIPE')",))

It seems to be happening in the post request:
            response = requests.post(
                    url=("https://stream.watsonplatform.net/"
                         "speech-to-text/api/v1/recognize"),
                    auth=(self.get_username_ibm(), self.get_password_ibm()),
                    headers={'content-type': 'audio/wav'},
                    data=f.read(),
                    params=params)

Any ideas?

Solved - I was using the IBM credentials instead of the ones provided by the project.
See aalireza/SimpleAudioIndexer#8 for more info.
Thanks!