Positions not recorded in MySQL when using dump1090-fa

I noticed that when using dump1090-fa, the aircrafts and flights tables are populated but not the positions.
After doing some research i realized that dump1090-fa aircraft.json, has different names for the columns than dump1090-mutability thus failing on line 158 of flights.py.
In particular the code fails for the following fields

altitude
vert_rate
speed

After changing the names of those columns to the following, the database started populating also the positions table.

altitude becomes nav_altitude
vert_rate becomes geom_rate      (not sure if i should use geometrical or barometric)
speed becomes gs

The changes were applied in the build/portal/python/flights.py file on lines 69 , 178 and 183.

dump1090-mutability was abandoned by @mutability. He is now focusing work on dump1090-fa.
Changes to flights.py need to be made. However there is a chance someone creates a popular fork so should take into consideration backwards compatibility.

dump1090-mutability was abandoned by @mutability. He is now focusing work on dump1090-fa. FlightAware seems to be on a change everything which was set as a standard in the past kick for some reason like they want to kick anyone who tries utilize their own codes output in the nuts...
Changes to flights.py apparently need to be made. However there is a chance someone creates a popular fork so I should take into consideration backwards compatibility.

Who kicked your dog? The json map output was always an internal interface; it's not "changed on a whim", it's "changed to support specific new fields". If you'd like to document a stable schema or interchange format that you want to use, I'm happy to take a PR that implements that as a separate output. The dump1090/map interface is always going to be subject to change.

see also: the dump978-fa json output on port 30979; that's currently in flux but I'd be happy to look at stabilizing it if there is interest. (Please express that interest; I can't keep track of every possible downstream use of the code I write; if you don't ask for a given interface to be stable, I'm unlikely to know about it)

Hey I love you got dump978 shitting out JSON. Utilizing this was on my list I just don't understand the sudden undocumented changes in dump1090-fa's JSON output. Let us know when such things change ahead of time.

I could stick a version field somewhere in the json if that helps?
The documentation changes do tend to lag behind the code changes unfortunately (there is an open PR to fix the json docs)

No just give a heads up when things change.
I am a software developer by trade.
If you could let me know what has changed beyond what was reported that would be great!

I assume you're comparing to the 3.5.3 output.
I don't have a list of changes immediately on hand as most of these changes are quite old. For now, here's a starting point: https://github.com/flightaware/dump1090/compare/v3.5.3...flightaware:dev#diff-a3e750d7626079bbda25c66e25326c1cL1165
note that many of the fields were renamed because what was previously a single value now has multiple values (e.g. speed -> gs/ias/tas, vert_rate -> baro_rate/geom_rate, altitude -> alt_baro/alt_geom, etc). this is a consequence of dump1090 decoding more things and being more careful about reporting data unambiguously

Getting the message "There isn’t anything to compare." when following the link.
I will go ahead and setup a test environment and compare the new to the old.
Anyways, thanks for getting back to us. More data is definatly not a bad thing and I understand things change from time to time.

Fix merged into master branch.
Fix includes creating a separate python script for dump1090-fa.


ability to chat to irc from slack

Is there any interest in adding the ability to use a slack outgoing webhook to communicate with this script. Then have this script speak to the irc channel. We would prefix the string with the initiating slack user's slack username.

Is this feature fully implemented and functional?  If so, this is great! Thanks for doing it.

@slash-zero no. If you fix up the code make sure to push upstream

I've got it working using the slack bot hook (so there's only one "integration"). I can send you a PR

This would be pretty cool..


Song Popularity

Has anyone found a way to get the popularity of a song, /not/ of an /artist/?
The examples that give you info on tracks only deliver metadata such as duration and explicitness, but Spotify's API also provides the title popularity in their track object (https://developer.spotify.com/web-api/get-track/#disqus_thread)
I know that not every song has a popularity rating, but my code below gives me NaNs for /all/ songs (and I am scraping quite a bunch).
Any ideas? Here's the track-portion of the code, thanks!
tracks =[]
results = sp.album_tracks(album['id'])
tracks.extend(results['items'])
            while results['next']:
                results = sp.next(results)
                tracks.extend(results['items'])
            track_dict = defaultdict(lambda: defaultdict())
            for track in tracks:
                name = track['name']
                track_dict[name]['duration'] = track['duration_ms']
                track_dict[name]['explicit'] = track['explicit']
                track_dict[name]['artist'] = track['artists'][0]['name']
                try:
                    track_dict[name]['song_popularity'] = track['popularity']
                except KeyError:
                    track_dict[name]['song_popularity'] = np.nan
                    pass
                track_dict[name]['album'] = album['name']

tracks = []
results = sp.album_tracks(album['id'])
tracks.extend(results['items'])
while results['next']:
results = sp.next(results)
tracks.extend(results['items'])
track_dict = defaultdict(lambda: defaultdict())
for track in tracks:
name = track['name']
track_dict[name]['duration'] = track['duration_ms']
track_dict[name]['explicit'] = track['explicit']
track_dict[name]['artist'] = track['artists'][0]['name']
try:
track_dict[name]['song_popularity'] = track['popularity']
except KeyError:
track_dict[name]['song_popularity'] = np.nan
pass
track_dict[name]['album'] = album['name']

( Not sure if you still need help on this one but: )
Although popularity is usually given in Spotify's track objects, when you're using the endpoint that gets an album's tracks, you're actually getting a simplified version of the track objects which doesn't include popularity.
You can check out what's included in the response at this endpoint. If you need the popularity, you may have to make separate requests for the full track information for each track using its id.


Question about Debouncer implementation

https://github.com/SnoringCatGames/scaffolder/blob/ff3035b2aa2bf1d4602609257936629ff91be64b/src/utils/time/_debouncer.gd#L42
I'm wondering why not return immediately after triggering the callback, the callback will be triggered twice if the on call haven't been invoked in the interval. Is it the internal behavior?

Oh, nice catch! You are correct, we don't want that to trigger the callback twice in that case if the debounce was only triggered once.
I just submitted a small change that should fix this.

Cool, thanks for confirming!


Translation to: pt-br

Hi Ben. How are you?
I would like to know how can I translate this plugin to my language: pt-br. Once I am using your excelent plugin for my project.
Kind Regards,
Glaucia Lemos

Hi,
There is currently no support for i8n, apart from changing the placeholder text (the word "select") using the placeholder attribute.
Feel free to make a PR.
Cheers,
Ben

Thanks bro!
I will test here... if everything be okay... I'll do the Pull request as well!
Thanks a lot,
Glaucia Lemos
+55 21 99152-0972
Microsoft MVP - Visual Studio and Development Technologies
[1504014687719_MVP_Logo_Horizontal_Secondary_Blue286_CMYK_72ppi.png]

De: Ben Torfs<EMAIL_ADDRESS>Enviado: terça-feira, 5 de setembro de 2017 17:15:19
Para: bentorfs/angular-bootstrap-multiselect
Cc: Glaucia Lemos; Author
Assunto: Re: [bentorfs/angular-bootstrap-multiselect] Translation to: pt-br (#53)
Hi,
There is currently no support for i8n, apart from changing the placeholder text (the word "select") using the placeholder attribute.
Feel free to make a PR.
Cheers,
Ben
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/bentorfs/angular-bootstrap-multiselect/issues/53#issuecomment-327290264, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABjk9a4PFt7_-it_dGv_AQfGo2-akA3Dks5sfavWgaJpZM4PNbET.

Hi bentorfs, how to translate words "Select", "Select All", "Unselect All" for multi languages support ??? Thanks for your reply.

i've solution, try using labels attribute

@vqanguyen you are right. Somebody contributed this feature a while ago. I added documentation here: https://bentorfs.github.io/angular-bootstrap-multiselect/#example-labels


Move CI to Github actions from Travis

Signed-off-by: Sai Sindhur Malleni<EMAIL_ADDRESS>

@smalleni We already have a PR for this opened it is yet reviewed https://github.com/redhat-performance/jetpack/pull/331

@smalleni We already have a PR for this opened it is yet reviewed https://github.com/redhat-performance/jetpack/pull/331

@smalleni We already have a PR for this opened it is yet reviewed #331

My bad, didn't notice it. Let me close this.

@smalleni We already have a PR for this opened it is yet reviewed #331

My bad, didn't notice it. Let me close this.


Create A Tag Management for Constructs

Created a tag-manager in cdk/core as a consistent means to manage tags for constructs. Construct authors are responsible for assigning tags to Cloudformation Resources. Implemented tags for Vpc and VpcSubnet for an initial example.
I will do a self review to highlight some areas that did not end up
where I wanted and I think may need to change.
Focused on #91 and likely impacted by #518, closes #458 (as obsolete)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.

Tests are still broken (that's expected right now for integ tests).
I inverted the initial approach after fighting the need for a childAdded(child) callback. Instead of pushing tags down, I enabled the children to walk back up to the parents and pull in propagated tags. This actually works pretty well with our Token lazy evaluation. I also changed the interface for ITag to match the CFN tag, and changed addTag(ITag) to addTags(ITags) because that enabled the removal of propagate from ITag which felt a little cleaner. In this design I used object merging and the spread operator much more, I don't know if those are antipatterns in CDK, if they are point towards the right pattern/convention. I tried to go back mark my prior comments to indicate whether they were still valid.

We are planning soon to move to automatic CHANGELOG generation, please fix your commit title and message to adhere to conventional commits

Github FAIL on my part. I started the review as I double checked I addressed your comments and they now map to the wrong commit sha. The tests are still failing becauseI need to update the remaining integs. I'll get to work on that, but just need to know if I'm close to code complete on TagManager or if you want some more changes.

@rix0rrr @RomainMuller
Your comments regarding CSS in chat I think are consistent with where I was heading. The concept of selectors is missing. I think that could be a potentially awesome idea. However, I didn't try to implement that yet, I'd like to get a better feel for what we think the selectors would be.
What I've enabled so far is the following use cases:

Tag the highest level (likely Stack once implemented) and propagate (cascade) those tags to any child constructs beneath it.
Enable child constructs to allow parent tags to override them.
Enable overwrite control for setTag for construct local tags via properties.
Enable removeTag to prevent future propagation of tags from parents.

Based on prior feedback I've gone back and tried to minimize the public API and simplify the tags interface to [key: string]: string.
Yes tests are still broken, because of the VPC changes, but I'd like to get aligned before fixing all those.

Apart from the name of propagateOverride, and potentially a mechanism for setting initial (but overridable) tags, I'm ready to ship this.

@rix0rrr -- I think I like the Token pattern better because there is no renderTagValues or toCloudFormation function at all. I also made the change to sticky. I left our other more debatable name changes omitted for now.
I'll have to resolve some conflicts and update other integration tests before this will go green.

@rix0rrr -- not sure I can debug the Codebuild issue?

The issue is in the Java build (which we can't run on Travis because we don't have the required build images available):
[ERROR] /tmp/jsii-pacmak-codexaibW6/src/main/java/software/amazon/awscdk/services/ec2/VpcSubnet.java:[6,8] software.amazon.awscdk.services.ec2.VpcSubnet is not abstract and does not override abstract method setTags(software.amazon.awscdk.TagManager) in software.amazon.awscdk.ITaggable

Honestly, TypeScript should have complained here and I'm not sure why it doesn't, but there you go.

I’ll get this fixed
On Fri, Aug 24, 2018 at 1:19 AM Rico Huijbers<EMAIL_ADDRESS>wrote:

Honestly, TypeScript should have complained here and I'm not sure why it
doesn't, but there you go.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/awslabs/aws-cdk/pull/538#issuecomment-415688400, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAoi2OL8IV0LyN1PnBcVDtooSv7-sfnDks5uT7cRgaJpZM4V2Iux
.

@RomainMuller -- readonly was the problem. Can you mention me in the fix for JSII so I can see where this maps?

@eladb -- I think I've addressed your comments and I'm ready for some feedback.

IMHO the most-common use case is setting a tag that propagates to all resources. What does that code look like? My initial stab is something like the following in the main stack's constructor:
// Tag all constructs with "HelloCDK"
const tm = new cdk.TagManager(this);
tm.setTag('Stack', 'HelloCDK', {
  propagate: true
});

But I don't see any tags in the resulting CFN template.

@moofish32 you are right that some core functionality might be needed to support something like @Doug-AWS describes, but I don't see a reason for us not to have that support without needing to use CloudFormation's out-of-template APIs.
I think aspects (#282) should be designed to support use cases exactly like this. Perhaps TagManager will be our first aspect. We just haven't had the time to dive into this design yet.

@eladb -- You are right. We could implement tags for Stack and App.
class MyApp extends cdk.App implements cdk.ITaggable {

  public readonly tags: cdk.TagManager;

  constructor() {
    super();

    this.tags = new cdk.TagManager(this);
    this.tags.setTag('appName', 'MyAppTags');
    // ... my stacks in here
  }
}

At this point the tags would flow just like the CloudFormation Stack Level tags, if we use the default setTag properties.
Should I open a PR to add these to cdk.App and cdk.Stack? In addition I can start adding the tag support for an L2 we have in this list: https://docs.aws.amazon.com/awsconsolehelpdocs/latest/gsg/supported-resources.html?
This doesn't fully flesh out the design of #282, but it brings the functionality for tags closer to where I think you were talking about?

@moofish32 would love the contribution (as usual 👍), here are a few thoughts:

cfn2ts should be able to identify any L1 resources which support tags by using a heuristic (has a "Tags" property).
We can add some low-level tagging support in cdk.Resource (e.g. add a TagManager to all resources that support tagging).

@eladb -- I think we may want to connect these: https://github.com/awslabs/aws-cdk/issues/932

Is there an ETA for this to be released? Thanks!


partitioned code manually rebased on master

This PR requires the newly re-based ADAM partitioned branch:
https://github.com/jpdna/adam/tree/hive_partitioned_v2

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/530/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/534/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/535/
Test FAILed.


Update jwt when user profile changes

This contributes to #126, and it closes #132

Thanks. Uh I'm not sure, does it return a set cookie header? It's possible if nothing has changed dotnet won't change the cookie but that seems unlikely.

Thanks. Uh I'm not sure, does it return a set cookie header? It's possible if nothing has changed dotnet won't change the cookie but that seems unlikely.

No, no set cookie header.


Timeouts

I've noticed that emacs-ycmd freezes my emacs way to often, sometimes for > 60s which is kind of annoying.
Would it be possible to have an user-configurable time out?
I would like to set it up so that if ycmd doesn't respond successfully in less than 1 second, that emacs-ycmd reports a completion error so that e.g. company-mode can try something else.

I cannot reproduce your issue, even on a large c++ project. Could you be more specific about your issue. What is causing the freeze exactly? Do you have any other mode activated?

btw, there is the variable ycmd-request-timeout you could experiment with. But I am not sure whether your "freeze" is related to the request.

I'm using it from spacemacs with company. It happens when I use yasnippet to insert a new namespace. When I type ns + yas-expand, that expands to namespace $name {   } // namespace $name, and while I'm editing the snippet variable $name emacs freezes (disabling emacs-ymcd fixes the freeze).

@gnzlbg Would it be difficult for you to try things out in a vanilla (i.e. not spacemacs) emacs? We've had a number of issues that only arise in spacemacs, so I'd like to isolate that variable if possible.

@abingham Maybe I should open an issue in the spacemacs repo instead since this might be due to the interaction of emacs-ycmd with yasnippet/company-clang and the other 100 things that the spacemacs c++ layer has. I think it is very likely that if I just use vanilla emacs with emacs-ycmd everything will work fine since @ptrv doesn't have any of these problems.
I will try to figure out (from the message log I guess) if the freezes are related to the ycmd requests and see if i can work around it with ycmd-request-timeout.

OK, yeah, you're in a tough spot. My guess is that this is more of a spacemacs issue than an emacs-ycmd one, and ultimately it may be a result of issues in both camps :-\ I should probably just keep a spacemacs installation handy for looking at this kind of stuff.

@gnzlbg Did you ever get any resolution to this issue? I'm just doing some project house-cleaning.

@abingham  Not really, I basically gave up :/

@gnzlbg What is the value of ycmd-parse-conditions? Do you have the entry idle-change in the list?

describe-variable outputs the following:
ycmd-parse-conditions is a variable defined in `ycmd.el'.
Its value is (save new-line mode-enabled)

ok, it was just a guess that maybe you have the idle-change entry which causes a buffer reparse every time you change the buffer. Unfortunately I have no clue here

For me, I noticed that using ycmd-eldoc on file types that are not recognized by ycmd, produces occasional freezes that is breakable by C-g.
Try disabling ycmd-eldoc-mode.


on Unubtu 16.04 compile! error

this is compile error message.
chg-ezlink@chgezlink-MS-7788:~/gitRepos/LATCH$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.4 LTS
Release:	16.04
Codename:	xenial

chg-ezlink@chgezlink-MS-7788:~/gitRepos/LATCH$ make clean
rm -rf *.o LATCH
chg-ezlink@chgezlink-MS-7788:~/gitRepos/LATCH$ make
g++ -c  -Wall -Wextra -Werror -Wshadow -pedantic -Ofast -std=gnu++17 -fomit-frame-pointer -mavx2 -march=native -mfma -flto -funroll-all-loops -fpeel-loops -ftracer -ftree-vectorize  main.cpp -o main.o
g++ -Wall -Wextra -Werror -Wshadow -pedantic -Ofast -std=gnu++17 -fomit-frame-pointer -mavx2 -march=native -mfma -flto -funroll-all-loops -fpeel-loops -ftracer -ftree-vectorize main.o  -o LATCH -lopencv_core -lopencv_features2d -lopencv_highgui -lopencv_imgcodecs -lpthread
chg-ezlink@chgezlink-MS-7788:~/gitRepos/LATCH$ ./LATCH

Detecting...
Warming up...
Illegal instruction (core dumped)
chg-ezlink@chgezlink-MS-7788:~/gitRepos/LATCH$

my cpu is E3-1230 v2
i am test on win10 VS2017. is ok.
What happened?
and sorry, i am c++ lang and linux is not good. ((QuQ

this code and MakeFile command, do not really understand.
this is my project https://github.com/hunandy14/orb_blend/tree/master/orb_blend
i want release to Tx2 embedded.

Please read the README.
"If you do not have AVX2, uncomment the '#define NO_AVX_PLEASE' in LATCH.h to route the code through SSE isntructions only. NOTE THAT THIS IS ABOUT 50% SLOWER. A processor with full AVX2 support is highly recommended."
Your processor does not support AVX2 instructions. You can rebuild with NO_AVX_PLEASE flag but it will be slower.

I'm a little suspicious of the "^M" character in the #define. Please make
sure you really have cleanly defined NO_AVX_PLEASE. if it still crashes,
please attach a debugger and let me know on what line and with what
problem. I can't repro locally.
-Kareem
On Thu, Jun 28, 2018, 12:25 CharlotteHonG<EMAIL_ADDRESS>wrote:

sorry , i am forget to say , I tried it yesterday.
now i'm try again.
chg-ezlink@chgezlink-MS-7788:~/gitRepos/LATCH$ git reset --hard
HEAD is now at 1a1d222 Added (slower) non-AVX version.
chg-ezlink@chgezlink-MS-7788:~/gitRepos/LATCH$ make clean
rm -rf *.o LATCH
chg-ezlink@chgezlink-MS-7788:~/gitRepos/LATCH$ git diff
diff --git a/LATCH.h b/LATCH.h
index fc298a5..b3deb04 100644
--- a/LATCH.h
+++ b/LATCH.h
@@ -46,7 +46,7 @@
#pragma once
-//#define NO_AVX_PLEASE
+#define NO_AVX_PLEASE^M
#include
chg-ezlink@chgezlink-MS-7788:~/gitRepos/LATCH$ make
g++ -c  -Wall -Wextra -Werror -Wshadow -pedantic -Ofast -std=gnu++17 -fomit-frame-pointer -mavx2 -march=native -mfma -flto -funroll-all-loops -fpeel-loops -ftracer -ftree-vectorize  main.cpp -o main.o
g++ -Wall -Wextra -Werror -Wshadow -pedantic -Ofast -std=gnu++17 -fomit-frame-pointer -mavx2 -march=native -mfma -flto -funroll-all-loops -fpeel-loops -ftracer -ftree-vectorize main.o  -o LATCH -lopencv_core -lopencv_features2d -lopencv_highgui -lopencv_imgcodecs -lpthread
chg-ezlink@chgezlink-MS-7788:~/gitRepos/LATCH$ ./LATCH
Detecting...
Warming up...
不合法的命令 (core dumped)
chg-ezlink@chgezlink-MS-7788:~/gitRepos/LATCH$
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/komrad36/LATCH/issues/7#issuecomment-401145880, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AMZ_gmHxm0U1ZTRTzmsJ3OjaFokiDkDcks5uBS21gaJpZM4U6RTm
.

thank your time. realy

i google "git diff ^M", then get it
https://stackoverflow.com/questions/1889559/git-diff-to-ignore-m
i use "visual studio code"  change "CRLF -> LF".
then rebuild LATCH, and i get same error.

if that not key message.
i am Sorry. I don't know how to use GDB.
i try goole to learn. took a little time.
then this
chg-ezlink@chgezlink-MS-7788:~/gitRepos/LATCH$ make cleanrm -rf *.o LATCH
chg-ezlink@chgezlink-MS-7788:~/gitRepos/LATCH$ make
g++ -g -c  -g -Wall -Wextra -Werror -Wshadow -pedantic -Ofast -std=gnu++17 -fomit-frame-pointer -mavx2 -march=native -mfma -flto -funroll-all-loops -fpeel-loops -ftracer -ftree-vectorize  main.cpp -o main.og++ -g -Wall -Wextra -Werror -Wshadow -pedantic -Ofast -std=gnu++17 -fomit-frame-pointer -mavx2 -march=native -mfma -flto -funroll-all-loops -fpeel-loops -ftracer -ftree-vectorize main.o  -o LATCH -lopencv_core -lopencv_features2d -lopencv_highgui -lopencv_imgcodecs -lpthread
chg-ezlink@chgezlink-MS-7788:~/gitRepos/LATCH$ gdb LATCH
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from LATCH...done.
(gdb) run
Starting program: /home/chg-ezlink/gitRepos/LATCH/LATCH
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Detecting...

[New Thread 0x7fffe17fa700 (LWP 8597)]
[New Thread 0x7fffb7fff700 (LWP 8598)]
[New Thread 0x7fffb77fe700 (LWP 8599)]

Thread 17 "LATCH" received signal SIGILL, Illegal instruction.
[Switching to Thread 0x7fffe17fa700 (LWP 8597)]
_LATCH (start=<optimized out>, thread_stride=<optimized out>,
Python Exception <class 'RuntimeError'> Type is not a template.:
    image=0x7ffff1152040 "\243\236\257\260\251\245\263\257\273\263\256\252\272\260\253\272\273½\271\211zw\200\231\216jo_qt\202\207\217\270\331\335\340\332Ȳ\244ud\246\271\244\254\277\272\277\246\253\220\241\302\324\325\327\325\323\327\326\316ƾ\276\276\266\265\273\276\275\303\322Ȼ\301\304\306\313\326\330\325\315\312\320\320\321\317\305\303\320ǻ\322\313\320\317\311ɶ\201Xglx\220\222\233\241\233\240\251\241\247\257\253\233\244\247\243\245\243\235\240\254\263\254\247\250\250\247\233\240\233\245\264\330\332\323\326\316\323\315\324\322\331\323\307\316\323\322\326\323\322\331\331\327\333\324\325\320\326\327\326\334\322\326\332\316\313\317\307\307\317\315\320\327\313ūtcuw\230\254\236\237\246\227\223\217\226\211\246\316\332", <incomplete sequence \331>..., stride=1920, keypoints=..., descriptors=0x11dbdc0) at LATCH.h:83
83                                      const __m128i offsets = _mm_add_epi32(_mm_sub_epi32(_mm_cvtps_epi32(_mm_add_ps(_mm_min_ps(_mm_max_ps(_mm_sub_ps(_mm_mul_ps(xs, cos_theta), _mm_mul_ps(ys, sin_theta)), _mm_set_ps1(-32.0f)), _mm_set_ps1(32.0f)), ptx)), _mm_set1_epi32(3)), _mm_mullo_epi32(_mm_set1_epi32(stride), _mm_cvtps_epi32(_mm_add_ps(_mm_min_ps(_mm_max_ps(_mm_add_ps(_mm_mul_ps(xs, sin_theta), _mm_mul_ps(ys, cos_theta)), _mm_set_ps1(-32.0f)), _mm_set_ps1(32.0f)), pty))));
(gdb)

Okay, so you are still getting "illegal instruction" at that line. But the highest instruction set required by that line is SSE4.1, which is fully supported by your processor.
So I think it might be the fact that I'm compiling with the "-mavx2" flag. Please try changing all instances of "-mavx2" in the Makefile to "-mavx".

Thanks for getting back to me.
i get same error.
chg-ezlink@chgezlink-MS-7788:~/gitRepos/LATCH$ make clean
rm -rf *.o LATCH
chg-ezlink@chgezlink-MS-7788:~/gitRepos/LATCH$ make
g++ -c  -g -Wall -Wextra -Werror -Wshadow -pedantic -Ofast -std=gnu++17 -fomit-frame-pointer -mavx -march=native -mfma -flto -funroll-all-loops -fpeel-loops -ftracer -ftree-vectorize  main.cpp -o main.o
g++ -g -Wall -Wextra -Werror -Wshadow -pedantic -Ofast -std=gnu++17 -fomit-frame-pointer -mavx -march=native -mfma -flto -funroll-all-loops -fpeel-loops -ftracer -ftree-vectorize main.o  -o LATCH -lopencv_core -lopencv_features2d -lopencv_highgui -lopencv_imgcodecs -lpthread
chg-ezlink@chgezlink-MS-7788:~/gitRepos/LATCH$ gdb LATCH
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from LATCH...done.
(gdb) run
Starting program: /home/chg-ezlink/gitRepos/LATCH/LATCH
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Detecting...

[New Thread 0x7fffe17fa700 (LWP 4463)]
[New Thread 0x7fffbbfff700 (LWP 4464)]
[New Thread 0x7fffbb7fe700 (LWP 4465)]

Thread 17 "LATCH" received signal SIGILL, Illegal instruction.
[Switching to Thread 0x7fffe17fa700 (LWP 4463)]
_LATCH (start=<optimized out>, thread_stride=<optimized out>,
Python Exception <class 'RuntimeError'> Type is not a template.:
    image=0x7ffff1152040 "\243\236\257\260\251\245\263\257\273\263\256\252\272\260\253\272\273½\271\211zw\200\231\216jo_qt\202\207\217\270\331\335\340\332Ȳ\244ud\246\271\244\254\277\272\277\246\253\220\241\302\324\325\327\325\323\327\326\316ƾ\276\276\266\265\273\276\275\303\322Ȼ\301\304\306\313\326\330\325\315\312\320\320\321\317\305\303\320ǻ\322\313\320\317\311ɶ\201Xglx\220\222\233\241\233\240\251\241\247\257\253\233\244\247\243\245\243\235\240\254\263\254\247\250\250\247\233\240\233\245\264\330\332\323\326\316\323\315\324\322\331\323\307\316\323\322\326\323\322\331\331\327\333\324\325\320\326\327\326\334\322\326\332\316\313\317\307\307\317\315\320\327\313ūtcuw\230\254\236\237\246\227\223\217\226\211\246\316\332", <incomplete sequence \331>..., stride=1920, keypoints=...,
    descriptors=0x11dbdc0) at LATCH.h:83
83					const __m128i offsets = _mm_add_epi32(_mm_sub_epi32(_mm_cvtps_epi32(_mm_add_ps(_mm_min_ps(_mm_max_ps(_mm_sub_ps(_mm_mul_ps(xs, cos_theta), _mm_mul_ps(ys, sin_theta)), _mm_set_ps1(-32.0f)), _mm_set_ps1(32.0f)), ptx)), _mm_set1_epi32(3)), _mm_mullo_epi32(_mm_set1_epi32(stride), _mm_cvtps_epi32(_mm_add_ps(_mm_min_ps(_mm_max_ps(_mm_add_ps(_mm_mul_ps(xs, sin_theta), _mm_mul_ps(ys, cos_theta)), _mm_set_ps1(-32.0f)), _mm_set_ps1(32.0f)), pty))));

It seems there's still an illegal instruction. The model of processor you mentioned supports AVX, but is it possible you have a slightly different process? You can try -msse4 instead of -mavx. If that doesn't help, please try creating some simple test programs with SSE/AVX instructions, and see if you can find out which instruction is causing the problem. You can also query your CPUID to see what the hardware really supports.


Modify php.ini : max_input_vars

Hi,
I need to increase the value for max_input_vars
I have to go to where for that?

Hello @Tofdu31,
Add your php.ini options to:
https://github.com/evertramos/docker-wordpress-letsencrypt/blob/master/conf.d/php.ini

Thank Evert,
file_uploads = On
memory_limit = 64M
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 600
max_input_vars = 100000

I made the changes but I still have the error message
Here are the recommendations of my Jannah theme:
https://jannah.helpscoutdocs.com/article/7-how-to-increase-the-php-max-input-vars

yes Sir!
In fact the file name was uploadsize.ini I just updated to be more readable.
Thanks for the question.


GPU support in Scale

Investigate supporting GPU resources in Scale. If we have to use Mesos Universal Containerizer (MUC), what are we forced to change in Scale?

We have to consider at least the following things that the current use of Docker Containerizer provides us:

Logging (via syslog to logstash). May need to run a collector on all nodes or write a new Mesos ContainerLogger.
Force pulling of algorithms (no force pull in MUC) - not as big a concern with proper image tagging
Docker volumes for input/output data. How would we share these volumes between tasks within the MUC? Investigate Docker daemon as the means to access the Volumes behind the MUC.
How does pre-fetching work in MUC? We pre-fetch Scale image to all nodes.
How do we handle /dev/shm mount support?
Image and volume cleanup. We currently have command line purging via the Docker CLI.
Docker daemon health via Docker CLI. This might just be OBE with MUC if there is no daemon.

Renamed from GPU task because that is no longer a blocker. First class GPU support has been implemented in #1686


Grammatical fixes

I fixed a few grammatical issues and one spelling error.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Keep up the great work!


local k3s docker multi node cluster cannot run openCV tutorial

What happened?:
I deployed pachyderm on a single node k3s cluster locally and I was able to run the openCV tutorial without problem.
However, when I add another worker node to the cluster, I face this error in the pipeline pod:
2020-06-18T10:11:48Z INFO auth.API.WhoAmI {"request":{}} []
2020-06-18T10:11:48Z INFO auth.API.WhoAmI {"duration":0.000541575,"request":{},"response":{"username":"magic:GZD4jKDGcirJyWQt6HtK4hhRD6faOofP1mng34xNZsI","is_admin":true,"ttl":-1}} []
2020-06-18T10:11:48Z INFO auth.API.Authorize {"request":{"repo":"__spec__","scope":1}} []
2020-06-18T10:11:48Z INFO auth.API.Authorize {"duration":0.000042904,"request":{"repo":"__spec__","scope":1},"response":{"authorized":true}} []
2020-06-18T10:11:48Z INFO auth.API.WhoAmI {"request":{}} []
2020-06-18T10:11:48Z INFO auth.API.WhoAmI {"duration":0.000002991,"request":{},"response":{"username":"magic:GZD4jKDGcirJyWQt6HtK4hhRD6faOofP1mng34xNZsI","is_admin":true,"ttl":-1}} []
2020-06-18T10:11:48Z INFO auth.API.WhoAmI {"duration":0.002984017,"request":{},"response":{"username":"pipeline:edges","ttl":2591994}} []
2020-06-18T10:11:48Z INFO auth.API.Authorize {"request":{"repo":"__spec__","scope":1}} []
2020-06-18T10:11:48Z INFO auth.API.Authorize {"duration":0.000032721,"request":{"repo":"__spec__","scope":1},"response":{"authorized":true}} []
2020-06-18T10:11:48Z INFO auth.API.Authorize {"request":{"repo":"__spec__","scope":1}} []
2020-06-18T10:11:48Z INFO auth.API.Authorize {"duration":0.001528755,"request":{"repo":"__spec__","scope":1},"response":{"authorized":true}} []
2020-06-18T10:11:48Z INFO auth.API.WhoAmI {"request":{}} []
2020-06-18T10:11:48Z INFO pfs.BlockAPI.Obj.GetObject {"request":{"hash":"1a29d7f6670cc1b715680461a6b43acdc4e265c4fee380f5e214323487f4674af06a1a69befa15b15b9bd491204a56ceaa17c3c164b0720ab827c8c39dccb1b7"}} []
2020-06-18T10:11:48Z INFO pfs.BlockAPI.Obj.InspectObject {"request":{"hash":"1a29d7f6670cc1b715680461a6b43acdc4e265c4fee380f5e214323487f4674af06a1a69befa15b15b9bd491204a56ceaa17c3c164b0720ab827c8c39dccb1b7"}} []
2020-06-18T10:11:48Z ERROR pfs.BlockAPI.Obj.InspectObject {"duration":0.000057901,"error":"objectInfoGetter: object 1a29d7f6670cc1b715680461a6b43acdc4e265c4fee380f5e214323487f4674af06a1a69befa15b15b9bd491204a56ceaa17c3c164b0720ab827c8c39dccb1b7 not found","request":{"hash":"1a29d7f6670cc1b715680461a6b43acdc4e265c4fee380f5e214323487f4674af06a1a69befa15b15b9bd491204a56ceaa17c3c164b0720ab827c8c39dccb1b7"},"response":null} []
2020-06-18T10:11:48Z ERROR pfs.BlockAPI.Obj.GetObject {"duration":0.000257526,"error":"objectInfoGetter: object 1a29d7f6670cc1b715680461a6b43acdc4e265c4fee380f5e214323487f4674af06a1a69befa15b15b9bd491204a56ceaa17c3c164b0720ab827c8c39dccb1b7 not found","request":{"hash":"1a29d7f6670cc1b715680461a6b43acdc4e265c4fee380f5e214323487f4674af06a1a69befa15b15b9bd491204a56ceaa17c3c164b0720ab827c8c39dccb1b7"}} []
2020-06-18T10:11:48Z ERROR pfs.API.GetFile {"duration":0.005678717,"error":"objectInfoGetter: object 1a29d7f6670cc1b715680461a6b43acdc4e265c4fee380f5e214323487f4674af06a1a69befa15b15b9bd491204a56ceaa17c3c164b0720ab827c8c39dccb1b7 not found","request":{"file":{"commit":{"repo":{"name":"__spec__"},"id":"6ec75dd762174070a00bb5b0ff643b49"},"path":"spec"}}} []
2020-06-18T10:11:48Z ERROR error starting sidecar s3 gateway: sidecar s3 gateway: could not read pipeline spec commit: could not read existing PipelineInfo from PFS: objectInfoGetter: object 1a29d7f6670cc1b715680461a6b43acdc4e265c4fee380f5e214323487f4674af06a1a69befa15b15b9bd491204a56ceaa17c3c164b0720ab827c8c39dccb1b7 not found; retrying in 483975850
2020-06-18T10:11:48Z INFO auth.API.WhoAmI {"duration":0.004001889,"request":{},"response":{"username":"pipeline:edges","ttl":2591994}} []
2020-06-18T10:11:48Z INFO auth.API.Authorize {"request":{"repo":"__spec__","scope":1}} []
2020-06-18T10:11:48Z INFO auth.API.Authorize {"duration":0.001585661,"request":{"repo":"__spec__","scope":1},"response":{"authorized":true}} []
2020-06-18T10:11:48Z INFO pfs.BlockAPI.Obj.GetObject {"request":{"hash":"1a29d7f6670cc1b715680461a6b43acdc4e265c4fee380f5e214323487f4674af06a1a69befa15b15b9bd491204a56ceaa17c3c164b0720ab827c8c39dccb1b7"}} []

What you expected to happen?:
openCV tutorial to work as expected.
How to reproduce it (as minimally and precisely as possible)?:
# on the master node
curl -sfL https://get.k3s.io | sh -s - --docker --kubelet-arg="feature-gates=DevicePlugins=true"

# copy the k3s kube config
sudo cp /etc/rancher/k3s/k3s.yaml .kube/config
sudo chown $USER:$USER .kube/config

# to get the access token
sudo cat /var/lib/rancher/k3s/server/node-token

# this is needed for specifying which mode we would like to
# write the k3s configuration (required when not running command as root)
export K3S_KUBECONFIG_MODE="644"

# on the worker node, remember to set your own K3S_TOKEN and K3S_URL
# K3S_URL is the ip of the server node, K3S is the above access token
curl -sfL https://get.k3s.io | K3S_URL=$K3S_URL K3S_TOKEN=$K3S_TOKEN sh -s - --docker --kubelet-arg="feature-gates=DevicePlugins=true"

Anything else we need to know?:
When you run the pipeline, if it happens to deploy on the master node it will be run as expected, however if you are unlucky and the pipeline got deployed on the worker node it will output the above error. 100% able to reproduce.
Environment?:

Kubernetes version (use kubectl version):

Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.3+k3s1", GitCommit:"96653e8d86b74a1f73eadf09d4edc44778c2f8dd", GitTreeState:"clean", BuildDate:"2020-06-01T16:47:11Z", GoVersion:"go1.13.11", Compiler:"gc", Platform:"linux/amd64"}

Pachyderm CLI and pachd server version (use pachctl version): both 1.10.4
Cloud provider (e.g. aws, azure, gke) or local deployment (e.g. minikube vs dockerized k8s): local k3s
OS (e.g. from /etc/os-release): ubuntu 18.04.4
Others:

@marcoleewow Did you use pachctl deploy local for this cluster? If so, Pachyderm just uses local storage on disk for it's data and therefore when you added the 2nd node, any pods scheduled on that node can't see the data anymore. Deploy local only works for a single node setup.

@svekars Let's make sure this is clarified in the docs. I could also make sense for deploy local to print a "deploy local is meant only for single-node setups" message

@JoeyZwicker yes, after I debugged a bit more I realised I did not setup any PV and object store for multi node 🤦 I assumed pachctl deploy local automatically setup PV for me...better message will definitely help.


Getting Started Tutorial

Is your feature request related to a problem? Please describe.
I have gone through most of the documentation and most of you great videos on YouTube, but I am a beginner and haven't found a clear description of how to get started with OpenKCC. It is probably my noobness, but is there a simple tutorial which starts from scratch, adds the packages, gets a model in the scene and steps through the actions one needs to take to get OpenKCC to work in a Unity project?
Describe the solution you'd like
Either a document or YouTube video going over the steps to get a beginner up and running with OpenKCC something like this outline:

Empty Unity Project
Imports
Add model
Add character controller
Get all the movement to work
Get the animations to work

Sorry to skip the rest of the bullet points in the template, but I hope the issue is clear, if not, please let me know.

Hello, this is a great idea, I'll make sure to add an example soon!
I haven't made a demo for how to import a model and configure the movement engine.


Fix #2172: session speaker designation text

First steps for issues #2172
Changes: Added lines, max lines, singleLine attributes to item_session_speaker.xml for speakers_list_designation text view
Screenshots for the change:

@srv-twry please take a look. Kindly inform me for any further changes.

@omkarprabhu-98 Why was this closed ?

Extremely sorry for the inconvenience, noticed that I had to make a branch while adding changes.
Made a new request #2300.

@omkarprabhu-98 Ask in chat if you run into problems. This could have been solved by few git commands. ;)


[ML] Use external recordings

Description
This PR uses the generate-assets-json.ps1 script to externalize recordings for all ML tests. Some tests used file paths during parametrization, resulting in file names including paths, so this PR also fixes that by adding ids in some parametrization calls.
The process of updating recordings is different when using the assets repository; refer to our test documentation for details.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.


Avoid trapping keyboard focus

This looks like an awesome project, and it's so small. Thanks for your work!

Problem
Keyboard users traditionally use tab to move between focusable elements on a page. This poses an issue when dealing with code editors, because users also expect tab to indent their code.
Solution
CodeMirror solves this by making esc tab move to the next focusable element, and esc shift + tab move to the previous focusable element. See https://codemirror.net/examples/tab/
See also WCAG 2.1 Level A criterion for "No Keyboard Trap".

Great point, thank you. I think we can solve this in the same way as CodeMirror.

This looks like an awesome project, and it's so small. Thanks for your work!

Thank you so much! Hope you find it useful for your projects :smile:

Fixed in https://github.com/jmjuanes/codecake/commit/99fd0065889cc770c1ef607eaa7f524c2b72644f. Thank you!!


Question about "ValueError: With n_samples=0, test_size=0.2 and train_size=None, the resulting train set will be empty. Adjust any of the aforementioned parameters".

When I use "python train.py --dataset dsb2018_96 --arch NestedUNet" to run the code,why then it turns out"ValueError: With n_samples=0, test_size=0.2 and train_size=None, the resulting train set will be empty. Adjust any of the aforementioned parameters."?

I have solved it.

Can you tell how you solved ?because I do have a same error which I cant figure out


:name param is empty is correct?

package main

import (
	"fmt"
	"github.com/julienschmidt/httprouter"
	"net/http"
)

func main() {
	r := httprouter.New()
	r.GET("/:key/:value", func(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
		for _, p := range ps {
			fmt.Printf("%+v\r\n", p)
		}
	})
	http.ListenAndServe(":8080", r)
}

GET http://localhost:8080//value

it shows
{Key:key Value:}
{Key:value Value:value}

as I think, it is better to print 'not found'

Why? The path segment IS empty.

https://github.com/julienschmidt/////httprouter
is same as https://github.com/julienschmidt/httprouter
I think
GET http://localhost:8080//value

also is same as
GET http://localhost:8080/value

it that true?

Those are different routes and not matched by the same path.


Rewrite the CI workflows to run the test suite on a specific compiler (specific commit or branch)

Instead of installing a standard compiler package and later updating that opam switch with a new compiler version, generate an opam package configuration into a local OPAM repository
This allows to directly install the intended compiler version (a specific compiler commit, for instance) and provides caching of that compiler by setup-ocaml
The last commit of that PR should not be merged into main but it allows simply to test the (moving) compiler 5.0.1. (There is an OPAM package that would allow to test that compiler simply on macOS and Linux but not on Windows.)
This hopefully closes #286.

This also opens up the possibility to add workflows to test more regularly 5.0.1. I’d suggest using a cron trigger (once a week, maybe?) rather than on every push and PR. Any opinion about this, @jmid?

OK, I've now had a look at this. Having opam file templates that can be filled out to enable faster testing + caching of custom compilers makes good sense to me! :smiley: :+1:
I suspect there is some risk associated with having to maintain the two templates and keeping them in sync with upstream opam files? I suppose a mismatch could go either way (fails only on copy - or fails only on custom repo).
I guess it is a trade-off: speed vs. maintenance. What do you think?

I just updated this PR with 3 commits replacing the “try it on 5.0.1” one.
The last new commit adds the idea of triggering workflows on 5.0.1 at every beginning of the week, as a way to test it regularly (but not as constantly as we do on 5.0.0 and trunk) but also to check that the new “install a custom compiler” keeps working. I think that partly addresses the risk of not keeping up with upstream opam files.
(By the way, ocaml-variants.opam in ocaml/ocaml does seem to move only slowly, so I feel this is rather safe)


Rethink architecture concepts

Current concepts
type
JS types
validator

Converts input types
Provides validation errors

model

Converts input types (with validator)
Raises an error for invalid input
Generate defaults for some optional input

This violates the Single Responsibility principle.
maker

Generates values for required model input

Proposed concepts
type
JS types (Tcomb types) + Custom types

Raises an error for invalid input

converter

Converts input types (with Globalize)

maker

Generates values for all inputs

Consequences:

Remove JOI dependency
Add TComb and Globalize dependency
Remove model concept. User will be a Tcomb type.
Remove generate value for optional input concept.

:+1:

Implemented.


[FEATURE]Turn on Device when pressing any button on apple remote like on Apple TV

I wondered if this would be possible since I think it would add a lot functionality to be able to turn on the TV  by simply pressing any button on the remote app without having to enter Home before.

Hi, nice suggestion . What behavior seems preferable : launch the main activity ? Last one ? Indeed keys on the remote are binded per activity so if there is no current activity I currently discards press on them .
Sent with GitHawk

My setup already does this

@BetoRn can I ask which version of the plugin you are using ?
Sent with GitHawk

@BetoRn can I ask which version of the plugin you are using ?
Sent with GitHawk

v0.7.0

@homohurre123 and you ?
Sent with GitHawk

Can't reproduce in 1.0.0 and 0.7.0, in fact homekit set on on activecharacteristic so the default activity will be activated if everything is currently off. The command itself will be ignored however.


TypeScript: make test/file.ts pass

Should be last of the test fixes, after this is merge all tests should pass.

@JustinBeckwith just one review will be fine :) don't know how I managed to assign the same person twice for review 🤷🏻♂


Repository description has to be updated "for WT 0.9"

It still says "for WT version 0.9" in the description. Might be confusing.

:shipit:


🌱 Update e2e for upgrade cluster manager

Summary
Related issue(s)
Fixes https://github.com/open-cluster-management-io/clusteradm/issues/387

/lgtm


Migration and theming docs are a little bit confusing

I have been playing with NativeBase 2.0.x a little and noticed a number of issues with the docs. There's a few similar issues here (#451, #497, #538) but this is about the specific issues I've stumbled upon.
The migration guide is outdated when it comes to porting over themes. It mentions variables.js that doesn't exist anymore. Docs on theming seem to be better, but are a quite confusing anyway, for example:

Running node node_modules/native-base/ejectTheme.js results in output that says:

Head over to the docs(http://docs.nativebase.io/docs/customize/) for detailed information on customization

That link leads to some old (?) docs for v0.5.22

Docs fail to explain what commonColor.js, material.js and platform.js are. I assume these are themes themselves. It would be good to explain that the platform.js is the equivalent of what variables.js used to be (assuming by this comment by @sanketsahusoft).

Docs seem to be using a reference to variable.js, i.e.:

Go to Themes/variable.js and modify color code for textColor.

This, again, is a tad confusing, particularly when the themes folder is called native-base-theme and themes sit in a /variables/ subfolder of it.

Related to the previous point, docs says: import material from './native-base-theme/material'; which I believe should be import material from './native-base-theme/variables/material';.

Docs doesn't explain what a variable really is, what a theme is, what the structure of the generated native-base-theme folder should look like, etc.

The latest (2.0.8) approach on theming seems to be a little different form how it worked with 2.0.0 so I understand this is still a work in progress but I hope the above helps nevertheless.

Hi, thanks for pointing out. We're woking to make the docs better. Your PR definitely helps!

@designorant Thanks a lot for pointing out the number of issues with the docs.
We are going to work thoroughly on the docs. The success of any Open Source project lies in good documentation.

I have issues with theming too. I tried to set the theme pointing to a copy of material.js, but this does not seems to work. Which file do I use to properly set the theme in 2.0.x?

@andreyluiz nice keyword "ejectTheme.js".  Many thks

The new docs which is now in GitBook is much improved and resolves most of these issue and confusion. If not all. http://docs.nativebase.io/


Chokidar cannot rename the command folder name

Report that another process is currently in use. How to solve it?

We would need more information to help
What error are you seeing? Do you have an example of some code which sees this error?
Otherwise it is likely this will be closed until you can provide more info


Error: newtonsoft.json library it referenced did not contain a reference to monotouch.droid

Xamarin project made a .net standard(1.4) shared project and tried referencing this library from it. I tried making a build which said that the newtonsoft.json library it referenced did not contain a reference to monotouch.droid.
Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'Newtonsoft.Json, Version=<IP_ADDRESS>, Culture=neutral, ....'. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'Newtonsoft.Json.dll'
at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(DirectoryAssemblyResolver resolver, ICollection`1 assemblies, AssemblyDefinition assembly, Boolean topLevel)
at Xamarin.Android.Tasks.ResolveAssemblies.Execute(DirectoryAssemblyResolver resolver) SmartHotel.Clients.Android

Please raise Android Xamarin issues at https://github.com/xamarin/xamarin-android


improvement/OSIS-27-implement-refresh-token-api

Codecov Report

Merging #83 (51b5bb9) into improvement/OSIS-51-remove-vmware-stub-code (6c8a160) will decrease coverage by 11.67%.
The diff coverage is 0.00%.

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


remove balanced things during account close

For whatever reason we don't seem to have implemented removing payment methods at Balanced during account close. It appears that this is in fact possible now:
https://github.com/balanced/balanced-api/issues/22
https://github.com/balanced/balanced-api/issues/29
So we should go ahead and do that during account close. The end result is that we still have a Balanced account for each relevant Gratipay account, and the old payment methods are still there, but the sensitive financial data is pruned (we retain last four digits only).
Reticketed from https://github.com/gratipay/gratipay.com/issues/397#issuecomment-69620065.

As part of implementing this we should go through and remove all payment instruments from currently closed accounts.


use MobX object instead of just observable.map

MobX was printing warnings in some cases when the map was modified
outside of an action.
The MobX object encapsulates this better and makes sure the map is only
modified inside of an action.
To duplicate the warnings:
You need to be running CLUE locally with code previous to this.
Then open the standalone doc editor and add a table and a plot.

The failing regression tests are due to known chat issue.

@tejal-shah this just fixes warnings when in development mode so it seems like the best testing is a general smoke test of CLUE. So I don't think it is worth a QA review before merging.


Cached Shape Parameter

Pull Request Description
Fixes #5023
This PR adds the ability to add a parameter to shapes defined, with shape! macro being a reference to a cached shape.
The API and results may be read in the example scene
It also contains many other changes, required to have it working:

We render cached shapes to texture in a different mode than normal shapes: the alpha channel is replaced with information about signed distance. That allows us using cached shapes as normal shapes, i.e. translate them, add to other shapes etc.
We initialize and arrange shapes as a part of Word initialization, not in pass.
We keep and blend colors in RGBA instead of LCHA - this is preparation for replacing colors in the next task, and also speeds up our shaders a bit.

The code was refactored in the process: the cached-shape related things were moved to a single module.
Important Notes
Checklist
Please include the following checklist in your PR:

[x] The documentation has been updated if necessary.
[x] All code conforms to the
Scala,
Java,
and
Rust
style guides.
All code has been tested:

[x] Unit tests have been written where possible.
[x] If GUI codebase was changed: Enso GUI was tested when built using BOTH
./run ide build and ./run ide watch.

@wdanilo I improved documentation in GLSL files. Please check if those are more clear. If still not satisfying, let's have a call about how to improve them.

QA: I'm seeing the following issues:

Overlapping nodes are not rendered properly
The green circle in the top left corner does not appear

https://user-images.githubusercontent.com/117099775/220628136-8b053ea4-22bf-44cd-97a5-44b929feb1e5.mp4

Overlapping nodes are not rendered properly

My bad, I see the overlapping nodes issue on the develop branch too, I'll report it separately if it's not already reported.

The green circle in the top left corner does not appear

Huh, I actually see it on my build... but not at the place one could expect:

Huh, I actually see it on my build... but not in the place one could expect:

I see, they indeed both show up in the center when opening a project. Only on window resizing do they move to the corner and the green one disappears.

@galin-enso The issue you had was probably caused by missing shapes dependency. Please check the branch now.
Regarding buttons being in the center, this is also a develop issue. I create a separate bug report for it.

@galin-enso The issue you had was probably caused by missing shapes dependency. Please check the branch now.

Yes, it's fixed now. QA passed.


[#6644] Remove BotFrameworkAdapter Obsolete annotation

#minor
Description
This PR removes the Obsolete tags from the BotFrameworkAdapter class and its related classes.
Specific Changes

Removed tags and added the suggestion of the use of CloudAdapter in the following classes:

BotMessageHandler
BotFrameworkHttpAdapter
BotMessageHandlerBase
IAdapterIntegration
BotFrameworkHttpAdapterBase
BotFrameworkAdapter

/promoted 6648


⚠ Itaca Gallery has degraded performance

In 10687f1, Itaca Gallery ($SITE_TCGLR) experienced degraded performance:

HTTP code: 200
Response time: 5740 ms

Resolved: Itaca Gallery performance has improved in ef677f1 after 5 minutes.


Adapt aio to the world of async/await, and fix some potential unsound…

…ness.

libc::aiocb must not be moved while the kernel has a pointer to it.
This change enforces that requirement by using std::pin.

Split LioCbBuilder out of LioCb.  struct LioCb relied on the
(incorrect) assumption that a Vec's elements have a stable location in
memory.  That's not true; they can be moved during Vec::push.  The
solution is to use a Vec in the new Builder struct, but finalize it to
a boxed slice (which doesn't support push) before allowing it to be
submitted to the kernel.

Eliminate owned buffer types.  mio-aio no longer uses owned buffers
with nix::aio.  There's little need for it in the world of
async/await.  I'm not aware of any other consumers.  This
substantially simplifies the code.

bors r+


WIP: Make core types unloadable

This is progress towards making Brave types not interfere with
classloader GC.
See #785

Got a lot of progress but stumped on something.. I'd like to make sure everything is covered test-wise, just one bozo code seems to still be uncollectable even when it appears there are none of our types still hooked up. https://github.com/openzipkin/brave/blob/core-threadlocal-fixies/brave/src/main/java/brave/propagation/ThreadLocalSpan.java#L152

Added a commit that ensures log4j2's log manager doesn't lead anyone in the future to a distracting wander :P

ok got the core code sorted. Later pull requests will ensure instrumentation don't also have similar problems.


Upgrade Fedora 35 on the VPC to Fedora 40

Fedora 35 on the VPC has been EOL for more than a year. It should be upgraded to one that is still maintained either 39 or 40. Preference is for 40 since it is the latest

CLOSED AS DONE, VPC supports F40


FEAT: check-licenses action

Adding check-licenses action.
Note that this action is still under testing and not merged to main branch in pyansys/actions.

LGTM @GuillemBarroso! My only complaint is that we should be able to accept a "target". Let me explain...
Right now, the command you are running is:
python -m pip install .

While this might be enough for most projects, for the pyansys/pyansys project it might not be enough since we have to check that the all target is compliant. That means running:
python -m pip install .[all]

I'd recommend to implement something similar to this logic:

Target definition: https://github.com/pyansys/actions/blob/main/build-wheelhouse/action.yml#L26-L30
Target-logic implementation: https://github.com/pyansys/actions/blob/7114d0e246bdfde553000c43d6bcce0e1f5c0f74/build-wheelhouse/action.yml#L50-L58

If you have any doubts let me know. =)

I deleted the dependency reviewer action. I do think that this new action you set up is going to be more consistent than the previous one. Thanks @GuillemBarroso! I'll be merging once all checks succeed.


in cache folder,some images are still previewed after encrypting them

My goal is to protect assets such as images from cache folder. I'm currently using Kingfisher to download images. By default, Kingfisher uses DefaultCacheSerializer for conversion from image to data and vice versa and then will save data into cache folder.
In my situation, I was told to create my own cache serializer which I can encrypt data. Below is how I encrypt and decrypt data using RNCryptor
struct NewSerializer: CacheSerializer
{
    public func data(with image: Image, original: Data?) -> Data? {
       let cipherdata = RNCryptor.Encryptor(password: "12").encrypt(data: original!)
        return cipherdata
    }

    func image(with data: Data, options: KingfisherOptionsInfo?) -> Image?
    {
        var plaindata = Data()
        do {
            plaindata = try RNCryptor.Decryptor(password: "12").decrypt(data: data)
            return UIImage(data: plaindata, scale:1)
        }
        catch {
            return nil
        }
    }
}

After running the application, if I go to the cache folder, I'm able to preview some of the images. Some of them are encrypted since when clicking on it to view, they are just text.
My question are
1. Can I use RNCcryptor in my case and if yes, for some reason, it does not work
2. Even though when decrypting using different password from encrypting, I'm still able to retrieve an image.

Some of them are encrypted since when clicking on it to view, they are just text.

This doesn't make sense. The output of RNCryptor.encrypt() is never text. It is binary data, just like the image.
I am unfamiliar with Kingfisher. I would first suspect that your encryption code is not actually being called, particularly since you say it seems to ignore the password.
I don't believe there is any RNCryptor issue here; I suspect that you are misconfiguring Kingfisher.


Adding new sorting mode: Creative Inventory

You mentioned that, before contributing, I should make an issue first to explain why I want to contribute.
I am planning to add creative inventory based sorting to this mod.
When basing the sorting order on the creative inventory, some issues of the alphabetical order will be fixed. The order isn't based on your selected language anymore, where it changes depending on what language you have selected. Certain item groups will also get clumped together, like flowers, which all have different names and would get scattered across the sorted inventory if alphabetical sorting is enabled.
Any items that do not exist in a creative tab could get alphabetically sorted at the end.

Sounds great

I honestly forgot about this lol, it caused me so many headaches
i do want to finish this though

Any news regarding this improvement? It would really be awesome!


xmldom-alpha is no longer maintained

Hello, I just wanted to let you know that the package xmldom (which is from the same code base as xmldom-alpha this is being used in package.json) was not maintained for a while and that's why a new github organization took over maintainance under https://github.com/xmldom/xmldom .
While the new organization is publishing new versions to the xmldom package, there are no plans of maintaining the separate xmldom-alpha package.
The version you are using also contains a bug/regression that has been fixed and will soon be published as part of the v0.4.0 of the xmldom package.
I'm informing you about this, since this package is one of the last remaining dependents of xmldom-alpha.

Another notice on this topic: With<EMAIL_ADDRESS>we fixed a security issue, I can only encourage you to switch from the xmldom-alpha dependency to xmldom!


Tips on how to run a single test

Summary
Scenario:

Let say we have several tests, hypothetically inside test/
Inside the test/ directory we only want to focus on only running foo.test.ts from the terminal/commandline,

How do we achieve this? , I can't seem to find any insights in the documentation.
Thanks

You can run a single test file using tape by merely invoking it with node, or with tape. There isn’t an easy way of running s single test, though, besides only.

@ljharb
Thanks! Pretty much answers the question.


Adding package command for Mac.

• Adding package command for Mac. (Tested locally. Works OK)
• Adding a FAQ entry for OSX users. (Had this issue on my Mac. After installing libpng everything worked out OK).
• Adding debugging line (commented) for development purposes.

Hi Kostas, thank you for taking the time to contribute! Your input is appreciated.


Adding modulo operation

Hello, i would like to add modulo operation of two numbers!
Can you assign to me this issue?
Thanks in advance!

Sure @compelef


Update-tests

Updated tests and various fixes

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

Project coverage is 100.00%. Comparing base (c15edde) to head (1925464).

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #8   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         1    -1
  Lines           86        77    -9
=========================================
- Hits            86        77    -9

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


EDM-630: New design for device template step

The device template step UX has changed to give a better separation between Configurations and Applications.

Added "do-no-merge" as only bugfixes should be merged until v0.3.0 is released.


Package 0.0.11 release

See https://github.com/Storj/dataserv-client/issues/176

@littleskunk Can you create this, and I'll release it?

This may be unnecessary - looks like dataserv-client refs 0.0.18 --> https://github.com/Storj/dataserv-client/blob/master/requirements.txt#L7
Perhaps driveshare-gui needs to use the latest dataserv-client instead?

We are mixing different bugs now.
As soon as we hit the release button for the driveshare-client binary version 2.1.11 it will be available for driveshare-gui (Windows and Mac). The driveshare-client binary includes storjnode but as far as i remember it was a newer version and not 0.0.11. https://github.com/Storj/driveshare-gui/issues/46
For pypi follow the install introduction and use python2 and not python3. https://github.com/Storj/dataserv-client/issues/176.
Version 0.0.18 is released https://pypi.python.org/pypi/storjnode/0.0.18.
We dont need to release a new storjnode version or a storjnode binary.


Pandas removed .append method for DF

Since Pandas 2.0, you cannot append a dataframe to another dataframe with df.append. An alternative is to use pd.concat.

How do you make this change?


Verify that the Redeem Loan, and then Undo works correctly

From looking at Companies it does not look like the Redeem Loan action and cash transfer effect may be working to apply, but not to undo. Test this

Reviewed the game from March 26, and examining the Audit Frame the Redeem Loan Cash Transfer Effects are shown properly.


Detaching project creates duplicate react library errors

After detaching the project, running the project creates a whole bunch of these errors showing conflicts between node_modules/react-native/Libraries and ios/Pods/React/Libraries:
Failed to build DependencyGraph: @providesModule naming collision:
  Duplicate module name: ActionSheetIOS
  Paths: /Users/Projects/app/node_modules/react-native/Libraries/ActionSheetIOS/ActionSheetIOS.js collides with /Users/Projects/app/ios/Pods/React/Libraries/ActionSheetIOS/ActionSheetIOS.js

ok looks like if I do a build project on xcode first it clears it up


Create CSVHandler

Summary by CodeRabbit

New Feature: Introduced a CSVHandler class that enhances our application's ability to interact with CSV files. This includes capabilities for reading from, writing to, and copying CSV files. This feature will streamline data management tasks and improve the efficiency of operations involving CSV files.

   CodeRabbit

Currently reviewing new changes in this PR...

Commits
Files that changed from the base of the PR and between 9360575de5d284aa7040fe69bbe1a220d7ff5c32 and 68b03d9769f766b5d053485e8dbf3cae1a19a674 commits.

Files selected (1)

app/CSVHandler (1)

@CodiumAI-Agent /review

PR Review 🔍

 ⏱ Estimated effort to review [1-5]
2, because the PR introduces a new class with straightforward methods for handling CSV operations. The code is simple and well-structured, making it relatively easy to review.

 🧪 Relevant tests
No

 ⚡ Possible issues
File Handling: The methods do not handle exceptions that may occur during file operations, such as file not found or permission errors.

 🔒 Security concerns
No

 Code feedback:
relevant fileapp/CSVHandler
suggestion

Consider handling exceptions for file operations to make the code more robust. For example, you could catch FileNotFoundError and PermissionError and handle them appropriately or log them. This is important to ensure the application handles errors gracefully and provides meaningful feedback to the user. [important]

relevant linewith open(self.filename, mode='r', newline='', encoding='utf-8') as file:
relevant fileapp/CSVHandler
suggestion

It might be beneficial to add a parameter to specify the delimiter in CSV operations, as CSV files can vary in their delimiter character. This would make the CSVHandler class more flexible and usable with different CSV formats. [medium]

relevant linereader = csv.reader(file)
relevant fileapp/CSVHandler
suggestion

Consider using more descriptive variable names in the write_csv method. For instance, renaming data to rows or csv_data might make the code clearer, especially for someone unfamiliar with the context. [medium]

relevant linedef write_csv(self, data, mode='w'):
relevant fileapp/CSVHandler
suggestion

To enhance the functionality, you could add a method to delete a CSV file. This would complement the existing file operations (read, write, copy) and provide a more comprehensive set of file handling utilities. [medium]

relevant linedef copy_csv(self, new_filename):

@CodiumAI-Agent /improve

PR Code Suggestions ✨
CategorySuggestion                                                                                ScorePossible issue

Add exception handling for file operations to improve robustness

Consider handling potential exceptions that might occur during file operations. This includes handling FileNotFoundError when the file does not exist, and PermissionError when the script does not have permission to access the file. This will make the code more robust and user-friendly by providing clear error messages or alternative actions in case of errors.
app/CSVHandler [11-14]
-with open(self.filename, mode='r', newline='', encoding='utf-8') as file:
-    reader = csv.reader(file)
-    for row in reader:
-        data.append(row)
+try:
+    with open(self.filename, mode='r', newline='', encoding='utf-8') as file:
+        reader = csv.reader(file)
+        for row in reader:
+            data.append(row)
+except FileNotFoundError:
+    print(f"Error: The file {self.filename} does not exist.")
+    return []
+except PermissionError:
+    print(f"Error: Permission denied for accessing {self.filename}.")
+    return []

Suggestion importance[1-10]: 9
Why: Adding exception handling for file operations is crucial for robustness and user-friendliness. It prevents the program from crashing and provides meaningful error messages to the user.
9
Enhancement

Use shutil.copy2 to also copy file metadata in the copy_csv method

To improve the efficiency of the copy_csv method, consider using shutil.copy2 instead of shutil.copy. The copy2 method also copies the metadata of the file, which includes the file's creation and modification times. This is often useful for maintaining the context of the file, especially in data backup operations.
app/CSVHandler [26]
-shutil.copy(self.filename, new_filename)
+shutil.copy2(self.filename, new_filename)

Suggestion importance[1-10]: 8
Why: Using shutil.copy2 to copy file metadata is a good enhancement for maintaining file context, especially in backup scenarios. It improves the method's functionality without adding complexity.
8

Enhance data integrity by adding user confirmation for file overwriting

To ensure data integrity, especially when writing to files, consider adding a parameter to control whether the existing file should be overwritten or appended to. This can be done by setting the default mode to 'a' (append) instead of 'w' (write), or by providing a user prompt to confirm overwriting.
app/CSVHandler [17-22]
 def write_csv(self, data, mode='w'):
+    if mode == 'w':
+        user_input = input(f"Are you sure you want to overwrite {self.filename}? (yes/no): ")
+        if user_input.lower() != 'yes':
+            print("Operation cancelled.")
+            return
     with open(self.filename, mode=mode, newline='', encoding='utf-8') as file:
         writer = csv.writer(file)
         for row in data:
             writer.writerow(row)

Suggestion importance[1-10]: 7
Why: Adding a user prompt for overwriting files enhances data integrity and prevents accidental data loss. However, it may introduce additional complexity and user interaction requirements.
7
Best practice

Add data validation before writing to ensure data consistency

Consider adding a method to validate the structure of the data before writing it to a CSV file. This can prevent runtime errors and ensure that all rows in the data list have the same length and contain the appropriate data types. This validation can be performed right before writing the data to the file.
app/CSVHandler [21-22]
 for row in data:
+    if not all(isinstance(item, (str, int, float)) for item in row):
+        raise ValueError("All items in row must be str, int, or float.")
     writer.writerow(row)

Suggestion importance[1-10]: 6
Why: Adding data validation before writing to a CSV file is a good practice to ensure data consistency and prevent runtime errors. However, the suggested validation only checks data types and not row length, which is also important.
6


Vaadin Flow Text Field is not null safe

When I call textField.setValue( null ); it throws "Caused by: java.lang.NullPointerException: Null value is not supported". It is not usefull...

Thanks for the issue. This repo is for Web Components, and for their Java counterparts we have different repos. I will move it there so that our teammates could handle it appropriately.

This issue was moved to vaadin/vaadin-text-field-flow#94


BIOS doesn't have security boot

My board is X79 series for E5 and it's BIOS doesn't support security boot, how to use it?
I tried to use it, but it always shows me to close security boot.

Set the administrator password.

Regarding individual devices and Secure Boot, ask help from your device manufacturer.


[AutoPR authorization/resource-manager] Grlin/adding principal typeto ra

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

(message created by the CI based on PR content)

Codecov Report

Merging #3743 into restapi_auto_authorization/resource-manager will decrease coverage by 18.14%.
The diff coverage is 37.5%.

@@                               Coverage Diff                                @@
##           restapi_auto_authorization/resource-manager    #3743       +/-   ##
================================================================================
- Coverage                                        55.11%   36.97%   -18.15%
================================================================================
  Files                                             9590     7781     -1809
  Lines                                           206295   246566    +40271
================================================================================
- Hits                                            113702    91168    -22534
- Misses                                           92593   155398    +62805

Impacted Files
Coverage Δ

...ization/v2018_01_01_preview/operations/__init__.py
83.33% <100%> (-16.67%)
:arrow_down:

...thorization/v2018_01_01_preview/models/__init__.py
96.15% <100%> (-3.85%)
:arrow_down:

azure-mgmt-authorization/azure/__init__.py
100% <100%> (ø)
:arrow_up:

azure-mgmt-authorization/azure/mgmt/__init__.py
100% <100%> (ø)
:arrow_up:

...t/authorization/authorization_management_client.py
46.28% <5%> (-24.24%)
:arrow_down:

...8_01_01_preview/authorization_management_client.py
28.26% <50%> (-9.98%)
:arrow_down:

...models/azure_iaa_scompute_vm_protected_item_py3.py
24.13% <0%> (-75.87%)
:arrow_down:

...mgmt/botservice/models/skype_channel_properties.py
19.23% <0%> (-75.51%)
:arrow_down:

...mt-iothub/azure/mgmt/iothub/models/resource_py3.py
26.31% <0%> (-73.69%)
:arrow_down:

...ces/search/entitysearch/models/image_object_py3.py
27.58% <0%> (-72.42%)
:arrow_down:

... and 6763 more

Continue to review full report at Codecov.

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


ML for QMB demo fix

Branch was made off non-master branch. Will close and open another with proper base


If the AlertManager nodes communicate with each other using Gossip protocol, it is possible to derepeat the alerts. Why are the Prometheus nodes independent of each other, and cannot realize the existence of other nodes, and can not make the master node to become the master node when the master node fails? And that creates a lot of redundancy, right? Have you considered doing this feature? We can have a poll

If the AlertManager nodes communicate with each other using Gossip protocol, it is possible to derepeat the alerts. Why are the Prometheus nodes independent of each other, and cannot realize the existence of other nodes, and can not make the master node to become the master node when the master node fails? And that creates a lot of redundancy, right? Have you considered doing this feature? We can have a poll

Hello,
This is the core architecture of Prometheus.  As such, by design, we do not have any mesh or ring or cluster principles. You would be free to work with other tools (e.g. pacemaker/corosync) to do that work, but I would not endorse it.
It makes more sense to ask questions like this on the prometheus-users mailing list or our forums rather than in a GitHub issue. In our community channels, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.


fatal: repository 'v1.0.0' does not exist

This error now appears if you try to clone grpc repository with --recursive flag to get it to auto compile protobuf.
Just a couple days ago it worked. Can someone look into it please?

What command are you trying to do exactly ? The v1.0.0 tag definitely exists.

https://github.com/grpc/grpc/tree/v1.0.0

git clone -b --recursive $(curl -L http://grpc.io/release) https://github.com/grpc/grpc

Never mind, I displaced --recursive tag it seems


Retry for “SERVER_THROTTLED” and “Unknown Host” exceptions

#2585: Override RequestSpecificRetryHandler to first handle ClientException.ErrorType.SERVER_THROTTLED type of error and respond to not retry on the same server. Delegate to legacy behavior in other cases.
#2586: Add “java.net.UnknownHostException” to the list of connection related issues
Sorry, but I could not find any existing test case where I could add tests for these changes :(

This module has entered maintenance mode. This means that the Spring Cloud team will no longer be adding new features to the module. We will fix blocker bugs and security issues, and we will also consider and review small pull requests from the community.


index.html.md:136: Make the publish branch work so that...

The puzzle 23-ca84b15c from #23 has to be resolved:
https://github.com/raboley/the-heroes-journey/blob/0e60f599c5666c3156a6a7400ea3681b577cce1f/source/index.html.md#L136-L136
The puzzle was created by @raboley on 05-Jul-20.
Estimate: 30 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 23-ca84b15c has disappeared from the source code, that's why I closed this issue.


role-has-required-aria-props being applied to react components

We are trying to build a React component that takes in aria-props and passes them down to a child <input /> element. Thus, we have properties on our component like ariaAutocomplete, ariaExpanded, ariaOwns, etc.
However, we can't add a role prop because when we try to assign  role="combobox" to the React component to be passed down, we end up triggering this rule because we are using ariaExpanded and not aria-expanded at this level.
Would it be possible to limit this rule to DOM level elements?

Alternatively, what do you think about checking for kebab-case ARIA props on DOM components and camelCase ARIA props on non-DOM components?

I think that instead, the attributes on the wrapper should be expanded, not ariaExpanded, for example. The wrapper should be abstracting around the dom element - iow, the wrapper IS the dom element conceptually. So when i’m using the wrapper, I shouldn’t know or care what’s inside it - and i’m assigning aria props as if that’s the leaf node, and an "aria" prefix makes that abstraction leaky.

@ljharb i agree with encapsulating aria props to the low-level DOM component, however couldn't this cause collisions with props that have different semantic meaning than the aria prop itself (i.e. owns could be a prop that could mean something totally different than what aria-owns means in the context of the application)
We can just add a config setting for user to note his/her convention for wrapper components

It might make sense for all aria rules to only ever touch DOM components by default, and have config options both for conventions, and for which components (like Input, for example) the rules should apply to? It seems like some rules behave this way but some do not.

Yeah that makes sense, it just makes sharing configs shitty as people have different naming conventions for components. People who use eslint-config-airbnb would have to override all of these rules to apply the right component name to the config, which sucks.
It probably makes sense to have default mappings of probable wrapper components (input => Input, Image => img) and just go through a series of checks:

First check for camelCase
Then check for prop without aria
If neither, then warn.

Perhaps it would be better to use global config "settings", rather than per-rule configs for this? That way, all aria rules could read from the same settings value. eslint-plugin-import uses this to configure module extension resolution, for example.

Closing this and filing a new ticket to track global settings. Still think that this is important to move forward on a couple of rules


attempt to index local 'tooltipData' (a nil value)

Describe the issue
Tooltips of ppl not in range (but in group / raid) keep appearing and disappearing for split seconds.
Expected behaviour
simply show the TRP 3 tooltip
Issue checklist
Please select any applicable options from the below list.

You can replace the "[ ]" with "[x]" for each option below to tick it.

[ x ] The issue occurs with the [latest version] of the addon.
[  ] The issue occurs with Total RP 3 as the only enabled addon.
[  ] The issue occurs only with other addon(s) enabled (please provide a list).

Steps to reproduce
Start game, invite someone into group not in loading distance
Additional files
2x totalRP3/Core/UITools.lua:567: attempt to index local 'tooltipData' (a nil value)
[string "@totalRP3/Core/UITools.lua"]:567: in function <totalRP3/Core/UITools.lua:560>
[string "@totalRP3/Core/UITools.lua"]:620: in function <totalRP3/Core/UITools.lua:616>
[string "@totalRP3/Modules/TargetFrame/TargetFrame.lua"]:232: in function <totalRP3/Modules/TargetFrame/TargetFrame.lua:224>
[string "=[C]"]: in function xpcall' [string "@totalRP3/Libs/Ellyb/Tools/EventsDispatcher.lua"]:74: in function TriggerEvent'
[string "@totalRP3/Libs/Ellyb/Tools/GameEvents.lua"]:43: in function <...facetotalRP3/Libs/Ellyb/Tools/GameEvents.lua:41>
[string "=[C]"]: in function `CameraOrSelectOrMoveStop'
[string "CAMERAORSELECTORMOVE"]:4: in function <[string "CAMERAORSELECTORMOVE"]:1>

Should be fixed in 2.4.3 which we released err... about a minute after this was opened.


WIP: fixes a comp failure

Was getting a linker shm_open symbol missing without this.
Type of change

[ ] Bug fix~~
* [ ] New feature
* [ ] Documentation update
* [ ] Other

How Has This Been Tested?
I've only compiled and locally run the branch on my workstation. Ubuntu 20.04. Visit 3.3.0 tag build fine there, develop did not.
Checklist:

[ ] I have followed the style guidelines of this project.~~
[ ] I have performed a self-review of my own code.~~
[ ] I have commented my code where applicable.~~
- [ ] I have updated the release notes.
- [ ] I have made corresponding changes to the documentation.
- [ ] I have added debugging support to my changes.
- [ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have confirmed new and existing unit tests pass locally with my changes.~~
- [ ] I have added new baselines for any new tests to the repo.
[ x] I have NOT made any changes to protocol or public interfaces in an RC branch.~~
[ ] I have assigned reviewers (see VisIt's PR procedures for more information).~~

Similar change was made with PR #18162 and #18163


Scope behaviour is inconsistent between flows

The behaviour of the scope parameter is different between the different types of flow:

In the Auth Code flow, if the scope parameter is missing or empty, I get an "invalid scope" error.
In the Resource Owner Password flow and in extension grant flows, if the scope parameter is missing or empty, the access token contains all allowed scopes.

I have tried to make the token request fail when no scopes are requested reduce the list of returned scopes to only the ones requested by injecting a custom scope parser, a custom resource validator, and a custom token request validator, but on entry to the relevant methods, it looks like all the scopes have been requested even though they haven't.
When the scope parameter is missing or empty, I think the request should fail - or at least it shouldn't contain the offline_access scope because that causes refresh tokens to be unnecessarily put in the persisted grant store and not deleted.
Relevant parts of the log file
Here is part of the console log when I go through the Resource Owner Password flow with a missing scope parameter.
[12:57:41 Debug] IdentityServer4.Endpoints.TokenEndpoint
Start token request.

[12:57:41 Debug] IdentityServer4.Validation.ClientSecretValidator
Start client validation

[12:57:41 Debug] IdentityServer4.Validation.BasicAuthenticationSecretParser
Start parsing Basic Authentication secret

[12:57:41 Debug] IdentityServer4.Validation.ISecretsListParser
Parser found secret: BasicAuthenticationSecretParser

[12:57:41 Debug] IdentityServer4.Validation.ISecretsListParser
Secret id found: 0753c2cd-acb7-42d8-b3d7-8aec31b6efab

[12:57:43 Debug] IdentityServer4.Stores.ValidatingClientStore
client configuration validation for client 0753c2cd-acb7-42d8-b3d7-8aec31b6efab succeeded.

[12:57:43 Debug] IdentityServer4.Validation.ISecretsListValidator
Secret validator success: HashedSharedSecretValidator

[12:57:43 Debug] IdentityServer4.Validation.ClientSecretValidator
Client validation success

[12:57:43 Debug] IdentityServer4.Validation.TokenRequestValidator
Start token request validation

[12:57:43 Debug] IdentityServer4.Validation.TokenRequestValidator
Start resource owner password token request validation

[12:57:44 Debug] IdentityServer4.Test.TestUserProfileService
IsActive called from: ResourceOwnerValidation

[12:57:44 Debug] IdentityServer4.Validation.TokenRequestValidator
Resource owner password token request validation success.

[12:57:44 Information] IdentityServer4.Validation.TokenRequestValidator
Token request validation success, {"ClientId": "0753c2cd-acb7-42d8-b3d7-8aec31b6efab", "ClientName": null, "GrantType": "password", "Scopes": "design.domain email offline_access openid profile supply.domain user.access user.details", "AuthorizationCode": "********", "RefreshToken": "********", "UserName"<EMAIL_ADDRESS>"AuthenticationContextReferenceClasses": null, "Tenant": null, "IdP": null, "Raw": {"grant_type": "password", "username"<EMAIL_ADDRESS>"password": "***REDACTED***"}, "$type": "TokenRequestValidationLog"}

[12:57:44 Debug] IdentityServer4.Services.DefaultClaimsService
Getting claims for access token for client: 0753c2cd-acb7-42d8-b3d7-8aec31b6efab

[12:57:44 Debug] IdentityServer4.Services.DefaultClaimsService
Getting claims for access token for subject: 39A6A139-7E20-4F79-89F9-B868FB8AB65F

[12:57:44 Debug] IdentityServer4.Test.TestUserProfileService
Get profile called for subject 39A6A139-7E20-4F79-89F9-B868FB8AB65F from client 0753c2cd-acb7-42d8-b3d7-8aec31b6efab with claim types [] via ClaimsProviderAccessToken

[12:57:44 Debug] IdentityServer4.Test.TestUserProfileService
Issued claims: []

[12:57:44 Debug] IdentityServer4.Services.DefaultRefreshTokenService
Creating refresh token

[12:57:44 Debug] IdentityServer4.Services.DefaultRefreshTokenService
Setting an absolute lifetime:<PHONE_NUMBER>

[12:57:44 Debug] IdentityServer4.EntityFramework.Stores.PersistedGrantStore
lXxUPqjAVenaqWaOhMWPv6PL83xJbEj+Kbs6RHrs/OA= not found in database

[12:57:44 Debug] IdentityServer4.Endpoints.TokenEndpoint
Token request success.

Important update
This organization is not maintained anymore besides critical security bugfixes (if feasible). This organization will be archived when .NET Core 3.1 end of support is reached (3rd Dec 2022). All new development is happening in the new Duende Software organization.
The new Duende IdentityServer comes with a commercial license but is free for dev/testing/personal projects and companies or individuals making less than 1M USD gross annnual revenue. Please get in touch with us if you have any question.


Add twitter card to spin documentation

A user Tweeted about trying Spin via the official docs. Image in the Tweet seems generic and it would be awesome to see a Spin logo etc. in their Tweet.
Here is what the Tweet currently shows.

ref https://github.com/fermyon/spin/issues/373

This is a duplicate of #373, closing.
Thanks!


Add some more explanation about what the upgrade script is to the beginning of the README

Also add as a help entry flag

Added to README.  --help flag can be a separate issue.


Allow updates on user-generated entities

Feature Request
There are several use cases where updates on existing entities would be beneficial. Therefor we should create additional REST endpoints to allow PUT requests on these entities.
Which Areas Would Be Affected?
DataManagementApi, various storage implementations for each entity
Why Is the Feature Desired?
EDC should be opinionated on whether modifying entities is allowed from a business perspective or not.
Some use cases require this, or would at least benefit from it.
Solution Proposal
add PUT endpoints for the following entities:

DataAddress
Asset
Policy(Definition)
ContractDefinition

Sub-tasks:
The decision-record needs to be created before starting any of the implementation tasks

[x] #2507
[ ] #2508
[ ] #2509
[ ] #2510

CC: @git-masoud does this fit your needs?

CC: @git-masoud does this fit your needs? If you like you could pick the policy definition subtask (#2509)
Yes, this fits our needs perfectly. I would be happy to assist with the policy definition subtask.

CC: @git-masoud does this fit your needs? If you like you could pick the policy definition subtask (#2509)

Yes, this fits our needs perfectly. I would be happy to assist with the policy definition subtask.

cool, then please read this decision record beforehand and feel free to get in touch (discord) in case you have questions.


Revert "Start to refactor "tabs" link helpers"

Reverts MushroomObserver/mushroom-observer#1540

coverage: 93.607% (+0.01%) from 93.596% when pulling 9d13fafae10dd56f5324ba31eea1bfa97decf10a on revert-1540-nimmo-refactor-tabs-helpers into 5ecee86de1827d13a1682bcfd41d1a2f9007a3d8 on main.


Support date instance for temporal oprators

Fixes #74

Any chance this can be reviewed and possibly merged?


Incompatibility with Thunderbird v. 68.4.1 (latest one?)

I used this extension in Thunderbird for quick advice about R-code via e-mail, but since the last versions of Thunderbird this tool appears as incompatible. I hope, an update is on the TODO-list since I'm missing this extension a lot.

Great! It is working!

Uhm, it doesn't work for me ... (TB 68.4.1)

Uhm, it doesn't work for me ... (TB 68.4.1)

It works only if I remove, before installing, the old extension.

Unfortunately this didn't work: even after unistall and reinstall the extension I don't see the text formatted (as in image previoulsy submitted).
And when I open the markdown preferences I get this error message:
It looks like you are running an older version of Thunderird. Open the Markdown Here Options via the message window Tools menu

<EMAIL_ADDRESS>

@neilmayhew created a workaround, see #592, download here: https://github.com/neilmayhew/markdown-here/releases/download/v2.13.4-community/markdown-here-v2.13.4-community.xpi

Thanks for sharing! Works flawless for me (TB 68.8.0 on Fedora 32)

As I have already said it doesn't work for me (not for tasks)

I've installed this on Postbox 7.0.30 and it works. Thanks!

I installed it on Postbox 7.0.30 but it doesn't automatically open links to the default browser. Right click and 'Open with browser...' will work however. The rest seems to be fine.

I installed it on Postbox 7.0.30 but it doesn't automatically open links in the default browser. Right click and 'Open with browser...' will work however. The rest seems to be fine.

I installed it on Postbox 7.0.30 and it seems to work fine.

Tested and approved in Thunderbird 68.1.2 (Ubuntu)

Unfortunately this didn't work: even after unistalling and reinstalling the extension I don't see the text formatted (as in image previoulsy submitted).
And when I open the markdown preferences I get this error message:
It looks like you are running an older version of Thunderird. Open the Markdown Here Options via the message window Tools menu

Same here on TB 78.4.0


chore: release 0.1.7

:robot: I have created a release *beep* *boop*
0.1.7 (2022-01-23)
Bug Fixes

CORs (#25) (2b37494)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/sawadashota/unifi-doorbell-notifier/releases/tag/v0.1.7 :sunflower:


Delayed Automatic Transition Priorities

Hi there, thanks for maintaining the library,
I'm confused how to deal with delayed automatic transitions,
A behavior I'm trying to implement:

My main issue is with the Explore state and transition:
on_target_reached is a transition with event: target_reached and delay: 4.0s
on_timeout_think_again is a transition with no event and delay: 8.0s
My expectation:

when we enter the Explore state, the timeout is scheduled, and taken after 8.0s if nothing happens.
if we receive the target_reached signal after a second (for example), we schedule that transition and take it after 4.0s. That transition is supposed to "complete" earlier.

What happens (0.17.0):

When we enter the Explore state, the timeout is scheduled and taken regardless of target_reached events.

It seems like a bug, doc says:

If a transition has a time delay, it will be marked as pending and executed after the time delay has elapsed but only if the state to which the transition belongs is still active at this time and was not left temporarily. Only one transition can ever be active or pending for any given state. So if another transition is executed for a state while one is pending, the pending transition will be discarded.

Would it be possible to configure/fix this behavior?

Your expectations are correct here, whenever a new transition is taken while another one is pending this new transition should replace the pending one.
However I can't seem to reproduce the behaviour you have observed. I have written a test to check for this:
extends StateChartTestBase

# Checks that multiple delayed transitions work.
# https://github.com/derkork/godot-statecharts/issues/148
func test_multiple_delayed_transitions_work():
	var root := compound_state("root")

	var think := atomic_state("think", root)
	var explore := atomic_state("explore", root)
	var inspect := atomic_state("inspect", root)

	transition(think, explore, "pick_destination")
	transition( explore, inspect, "target_reached", "1.0")
	transition( explore, think, "", "2.0")

	await finish_setup()

	assert_active(think)

	# when I pick a destination
	send_event("pick_destination")

	# then I should be exploring
	assert_active(explore)

	# when I now reach the target
	await wait_seconds(1.1, "wait for target reached")
	send_event("target_reached")

	# then after 1 second I should be inspecting
	await wait_seconds(1.1, "wait for inspect")
	assert_active(inspect)

and the test works with 0.17.0. So I also re-built the setup and there it also works as expected.
https://github.com/user-attachments/assets/5e3e0e9d-cd17-4468-ae7b-186ab6f59539
Could you check the history tab in the state chart debugger? This tab shows all incoming events and reactions to them, so maybe you can see there what causes your problem. My guess would be a typo in the event name for on_target_reached.


[UPGRADE] Spark 2.9.3 -> 2.9.4

Fixes Jetty dependency management mess

Guess you went a bit fast on that one:
03:13:11,559 [ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for org.eclipse.jetty:jetty-server:jar is missing. @ line 105, column 21
[ERROR] 'dependencies.dependency.version' for org.eclipse.jetty:jetty-server:jar is missing. @ line 167, column 21
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.mockito:mockito-core:jar -> duplicate declaration of version (?) @ line 153, column 21
 @
03:13:11,561 [ERROR] The build could not read 2 projects -> [Help 1]
org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for org.eclipse.jetty:jetty-server:jar is missing. @ line 105, column 21
[ERROR] 'dependencies.dependency.version' for org.eclipse.jetty:jetty-server:jar is missing. @ line 167, column 21
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.mockito:mockito-core:jar -> duplicate declaration of version (?) @ line 153, column 21