router: support secondary lookup without port if a port is in host/authority header

Description: A naive attempt to add the behavior requested in #886. The router will try to match without the port suffix if it couldn't find a match with the original host or :authority header value. I'm inclined to put this behind configuration as it adds implicit behavior.
Risk Level: High
Testing: Added 2 unit test cases.
Docs Changes: Added entry to route_matching.rst
Release Notes: Added entry to version_history.rst
Fixes: #886
Disclaimer: Not familiar with C++
Signed-off-by: Alexander Mays<EMAIL_ADDRESS>

@junr03 would you mind to look at this? Thanks!

By my reading of the RFC, the port in the Host header comes from the URI. Since it may be omitted in the URI if it's the default for the protocol, it may also be omitted from the Host header in that case.
I think it would acceptable to modify the virtual host lookup to handle that case without a configuration option. For example, an inbound request with Host: hostname:80 would match a virtual host with the domain "hostname" for http requests and Host: hostname:443 would match the domain hostname for https).
This change seems to modify virtual host lookup to match Host headers with any port to any virtual host configured, which I think merits a flag since it's unexpected. Is there a specific use case you have for this? Perhaps a suitable compromise would be to allow VirtualHost domain names of the form "hostname:*", which would allow this behavior if specifically configured?

I think there are solid arguments for both of your suggestions:

Implicitly match only well defined protocols
Allow VHs to be configured to explicitly match a port wildcard

However, I can see some users expecting domains to match without the explicit port definition in VH, e.g. other unofficial well known HTTP ports such as 8080, or debug/admin/management ports. I believe VHs matching by domain is particularly confusing to users as Domains in the context of DNS cannot contain ports. Perhaps changing the configuration to reflect that the match is actually on :authority/host might lead people to naturally conclude that they should enumerate the ports or use the suggested port wildcard syntax.

The fundamental question is what is a VH domain? Is it a DNS-1123 domain? If so, would we rather add validation to the configuration?
In it’s current state, the PR would bring Envoy behavior inline with the spec without breaking existing configuration, while also permitting explicit matching on ports.
Alternatively, we could determine that a VH domain is actually a matcher on the authority header and add the ability to specify a wildcard port.
From the linked issue, it seems that validating domain per DNS-1123 would bring Envoy behavior closer to that of Kubernetes Ingress controllers and Nginx, although I have not validated that myself.

The docs for VirtualHost.domain specify that it is the host/authority value.
I think the reference to Kubernetes ingress controllers in #886 is orthogonal because that's a kubernetes limitation: "The : delimiter is not respected because ports are not allowed. Currently the port of an Ingress is implicitly :80 for http and :443 for https." (per https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.14/#ingressrule-v1beta1-networking-k8s-io).
I think it's also already possible to configure a Virtual host that accepts requests for a plain hostname as well a hostname with any port by specifying domains: ["host", "host:*"], which seems like it would be equivalent to what this changes does by default. (What I had suggested in an earlier comment is already implemented, as it turns out.)
I think the only bug is that a user-agent might send Host: foo:80 or Host: foo:443 if the target URL has a redundant port and Envoy doesn't recognize those as being equivalent to Host: foo.
So maybe we need to go back to #886 and see what the actual bug problem is that needs resolving?

Well that makes things easier. If we are to continue with just adding implicit matching for well known ports, do you have any opinions on what ports should be supported and how that mapping should be maintained?
We should also assert in the tests that an explicit match on a port for the same host is preferred to an explicit match on a wildcard. I’m aware this is generally handled by the wildcard matching logic, but would be nice to capture that specific use case.

On May 15, 2019, at 2:31 PM, Stephan Zuercher<EMAIL_ADDRESS>wrote:
The docs for VirtualHost.domain specify that it is the host/authority value.
I think the reference to Kubernetes ingress controllers in #886 is orthogonal because that's a kubernetes limitation: "The : delimiter is not respected because ports are not allowed. Currently the port of an Ingress is implicitly :80 for http and :443 for https." (per https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.14/#ingressrule-v1beta1-networking-k8s-io).
I think it's also already possible to configure a Virtual host that accepts requests for a plain hostname as well a hostname with any port by specifying domains: ["host", "host:*"], which seems like it would be equivalent to what this changes does by default. (What I had suggested in an earlier comment is already implemented, as it turns out.)
I think the only bug is that a user-agent might send Host: foo:80 or Host: foo:443 if the target URL has a redundant port and Envoy doesn't recognize those as being equivalent to Host: foo.
So maybe we need to go back to #886 and see what the actual bug problem is that needs resolving?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I think you just need to handle :80 for http and :443 for https as those are the only schemes defined in the standard. IIRC, GRPC will present as http or https as well. You can get the scheme out of the HeaderMap.
cc @alyssawilk and @PiotrSikora in case they have more input

Hi Piotr, I think that is the conclusion we came to for pragmatic reasons. The remaining question is whether or not “domains” as a property of a virtual host is the correct nomenclature as they do not actually conform to the spec in RFC-1123: https://tools.ietf.org/html/rfc1123.
If there is consensus that this is the intended behavior or not worth the risk, I can update the PR to only match the default ports well known schemes.
I have also tested that wildcard matches for ports is working as @zuercher indicated.

On May 23, 2019, at 10:31 PM, Piotr Sikora<EMAIL_ADDRESS>wrote:
@PiotrSikora requested changes on this pull request.
@gnz00 Virtual Hosts are matched against Host / :authority headers, which contain authority portion of the URI, not a DNS domain.
Regarding default ports, see RFC for http & https URI schemes. Basically, missing port number implies default port number for the URI scheme, so http://example.com implies http://example.com:80, and we can treat those 2 interchangeably, but that's the only valid conversion.
This PR strips port numbers and treats http://example.com:8080 and http://example.com:9999 the same, which is definitely wrong for the purpose of establishing authority.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

My opinion is that we should just update the PR to only match the well known schemes.
I agree that the field name would be more correct if it were authority, but that change would be painful and I don't think it should be undertaken at this point. A clarifying note in the field's comment would be nice.


Search input overlays tool icons in folder view

I'm seeing some misformatting when loading a folder in django-filer.  (Versions tested: 1.2.5 and 1.26, with Django 1.8.17.) The input box for searching (filtering) overlays some of the toolbar.
Initial view in Chrome 56.0.2924.87 on Ubuntu after loading /admin/filer/folder:

After clicking in the search input:

Initial view in Firefox 51.0.1 on Ubuntu:

Going through the elements around the problem in developer tools on Chrome and Firefox, I don't see any styles coming from my project's stylesheets.  I see _filter-files.scss, _navigator.scss, and Django's django/contrib/admin/static/admin/css/base.css.
Is anyone else seeing this glitch?  If not, does anyone have hints for better isolating the problem?
Thanks!

This affects me, as well.

Thanks for confirming; I wasn't sure how to absolutely rule out my project!

Now all we have to do is fix it. :-)
BTW, take a look a this:
http://stackoverflow.com/questions/38922116/django-filer-renders-incorrectly-in-admin-site
It looks like someone has suggested a workaround for this problem: install djangocms-admin-style.
Trouble is, I can't do that because a) I don't like the way it looks, and b) it clashes with django-admin-tools which I'm already using for my project.

I made some progress fixing this issue by editing admin_filer.css (I didn't bother with the Sass). The problem seems to lie with the width of class .filter-files-container being too small, together with a 'float: left' of .filter-files-container .filter-search-wrapper.
Here's the modified admin_filter.css, if you want to take a look:
https://gist.github.com/plp13/4e37dc613fb886a0840c76add4c6d278
Modified lines are marked as /* changed */ and deleted lines are commented out.
Please note that, although these changes appear to work with my project with both Firefox and Chrome, there's not guarantee they'll work for you. (I'm using Django 1.9.6, django-admin-tools 0.7.2, and no CMS.) Also, the file includes a few other cosmetic changes that are unrelated to this issue (basically, a colour scheme that matches the look of Django's classic admin).

The modified admin_filter.css works for me.  Thanks for your effort!

It still has issues. For example, when you open it in a popup window in Firefox.
Anyway, I decided to go with the 'nuclear option' and roll my own file browser. It's not really difficult to do, and I also prefer code that doesn't rely on CSS other than that of django.contrib.admin.

jango 1.11 has the same trouble. Please fix it! the other stuff is wonderful.

filer 1.5.0 with django 2.2
same issue in Chrome & Firefox


Enforce consistent casing for signing algorithm names

Coverage: 62.46%. Remained the same when pulling 1730f54ff9c42c32f2da23bf3f9fbd15a8c9efb8 on jmcrawford45:PS-4482 into a471e5801f80b6e23a534033bc6e8ea4c75fdd90 on Netflix:master.


Set parameters

Coverage increased (+1.4%) to 90.0% when pulling 7478a3ff8ff1345a658322a6345863b513ea6f73 on set-parameters into 513cac4a84475530ab76721124cfbb236a8e5f46 on dev.


Sass compiling error

I'm compiling .sass files that works just fine, however, for some reason I don't know, whenever i use a SASS function or a SASS variable like $black for example, it throws me an error, i have something like this:
.main-wrap
  border: 1px solid $black
  height: 100%
  position: relative
  &:before
    width: 100px
    height: 100px
    background: black

If i just change $black to black the compiling works fine, but if i use the $ variable, the task just ends, with no error or nothing, just ends with "..." , so i'm not sure what is causing that to happen, the variable is set fine in another file, this is how the files are set up on my "main.sass" file
@import "vendor/normalize"
@import "vendor/skeleton"
@import "partials/variables"
@import "partials/header"
@import "partials/main-home"
@import "partials/footer"
@import "partials/intro"

Any pointers?

by the way, you should be globing your imports, see gulp-css-globbing

Have you tried not using the name $black? perhaps it's getting confused as black is a reserved html color name.
PS: It's bad practice to describe colours visually, i.e. if you changed $black to pink in future, the name 'black' would be misleading. $color-1, $brand-primary, etc might be better

What version of gulp-sass are you using? What's the error message?

Closing due to inactivity.


Fix issue with user-id format in CustomUsers tabl

Issue with user-id format is preventing accounts other than sabai@nuscomputing from creating consults, as consults creation requires the accounts user-id as part of it fields.

Fixed with #92


[W6.5][F09-B3]Ewald Hew

Change command font color and display panel color and font face

Accepted with minimal review.


dont getting all A4 pages

hey , i try to get pdf page from our site url. the site is developed in angular 4
i try to generate A4 pdf page. but accepted only ONE cutted page.
i expect to get pdf file with multiple pages with all our content.
if i try call other urls.  get multiple A4 pages and its work well.

Puppeteer version:puppeteer": "^1.11.0

Platform / OS version: Os

URLs (if applicable): angular app

Node.js version: v8.12.0
await page.pdf({
path: ${new Date().getTime()}.pdf,
format: 'A4',
printBackground: true,
preferCSSPageSize: true,
});

we get page with half of our content. and only one A4 page. how can i know where is the problem? maybe on our architecture of app?
thanks

Same problem here, only print 1 page, every single time.

Same here


Optimize major performance bottleneck in Pulsar adapter

Motivation
See #983 and #1005 which targeted the nb4-maintenance branch. This PR ports similar changes to the main branch.
Modifications

String operations with enums can become a bottleneck with high throughput.

The optimization is to pre-compute useful data structures when the enum is loaded.

Caches should be using computeIfAbsent to prevent races.

Use an efficient key for the caches. In Java 17, using a record as a key is the simplest solution.

simplity Pulsar SchemaType name mapping to Schema instance
add caching to Avro schema parsing
Use UTF8 encoding for reading Avro schema files. It was US_ASCII, which doesn't make sense.

@all-contributors please add @lhotari for pull requests, bug fixes, performance optimization, and code reviews


The usage of xgboost

Dear all,
I am try to use xgboost to model my data. A small part of the data is attached as an excel file. The data contain 10 samples (Each line represents a sample in the attached file) which have 17 features (column A to column Q). The column R represents the labels (classifications) of the data. I use the follow python2 code to use xgboost:
import xgboost as xgb
import numpy as np
import pandas as pd
from sklearn.tree import DecisionTreeClassifier
from sklearn.ensemble import RandomForestClassifier, GradientBoostingClassifier
from sklearn.model_selection import train_test_split   # cross_validation
from sklearn.metrics import accuracy_score
def translate(x):
if x == 'A':
x = 1
elif x == 'C':
x = 2
elif x == 'D':
x = 3
elif x == 'E':
x = 4
elif x == 'F':
x = 5
elif x == 'G':
x = 6
elif x == 'H':
x = 7
elif x == 'I':
x = 8
elif x == 'K':
x = 9
elif x == 'L':
x = 10
elif x == 'M':
x = 11
elif x == 'N':
x = 12
elif x == 'P':
x = 13
elif x == 'Q':
x = 14
elif x == 'R':
x = 15
elif x == 'S':
x = 16
elif x == "T":
x = 17
elif x == 'V':
x = 18
elif x == 'W':
x = 19
elif x == 'Y':
x = 20
return x
def g_h(y_hat, y):
p = 1.0 / (1.0 + np.exp(-y_hat))
g = p - y.get_label()
h = p * (1.0-p)
return g, h
def error_rate(y_hat, y):
return 'error', float(sum(y.get_label() != (y_hat > 0.5))) / len(y_hat)
def plot_variable_importance(x, y):
tree = DecisionTreeClassifier( random_state = 99 )
tree.fit(x, y)
plot_model_var_imp(tree, x, y)
def plot_model_var_imp(model, x, y):
imp = pd.DataFrame(
model.feature_importances_  ,
columns = ['Importance'] ,
index = x.columns
)
if name == "main":
data = pd.read_excel('../h7n9.xlsx',header = None)
x, y = data[range(17)], data[17]
x = pd.get_dummies(x)
x = x.applymap(translate)
for i in range(0,10):
for j in range(0,17):
x.iloc[i][j] = translate(x.iloc[i][j])
x_train, x_test, y_train, y_test = train_test_split(x, y, random_state=1, test_size=0.7)
plot_variable_importance(x_train, y_train)
data_train = xgb.DMatrix(x_train, label=y_train)
data_test = xgb.DMatrix(x_test, label=y_test)
print data_train
watch_list = [(x_test, 'eval'), (x_train, 'train')]
param = {'max_depth': 4, 'eta': 0.3, 'silent': 1, 'objective': 'binary:logistic'}
bst = xgb.train(param, x_train, num_boost_round=6, evals=watch_list)
y_hat = bst.predict(x_test)
print "y_hat = \n", y_hat

Running this code gives the follow error message:
TypeError: invalid cache item: DataFrame
Exception AttributeError: "'Booster' object has no attribute 'handle'" in <bound method Booster.del of <xgboost.core.Booster object at 0x0000000008CFC780>> ignored
Could someone tell me how should I revise to code to make it work?

Instead of x_train and x_test, you need to use those DMatrix's within watch_list and xgb.train.


A11y_ML .NET Model Builder_ Image Classification-Data _ Usability: In narrator scan mode when user navigates to "example folder structure" using up/down arrow keys it would be better if narrator reads the levels along with reading the content

“Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
GitHubTags:
#A11yUsable; #A11yTCS; #Win32; #DesktopApp; #Feature-ML.NETModelBuilder-Win32-Nov2020; #A11ySev4; #Benchmark; #Visual Studio; #Screen Reader; #Narartor; #NVDA;
Environment Details:
Microsoft Visual Studio 2019 Preview Version 16.8.0 Preview 6.0
Screen Readers:
Narrator
NVDA
Repro Steps:
1.Start Screen Reader
2.Open Visual Studio Enterprise 2019 Preview
3. Create a new .Net Core Console App (C#)
4. Tab to "Solution Explorer" and right click on the project (Shift + F10) and then from the expanded list Select "Add" and then from the list items select "Machine learning"
5. Tab till "Image Classification" scenario and select the scenario
6. Select any of the environment and tab till "next step" button and press enter
7. Enable scan mode and navigate till example folder structure" and verify how narrator is reading the content
Actual Result:
In narrator scan mode when user navigates to "example folder structure" using up/down arrow keys narrator is just reading as "Label1", "Image1" & "Image2" etc. but not reading the levels
Expected Result:
In narrator scan mode when user navigates to "example folder structure" using up/down arrow keys it would be better if narrator reads the levels along with reading the content
User Impact:
It will more useful and screen reader users will understand more clearly the structure if narrator reads the levels
Attachment for Reference
1154_ML .NET__Narrator not reading the levels for format.pptx

@briacht and @romalpani Any thoughts here on what the language should be? The problem is that when going through the Images example it's hard to tell what's happening via screen reader. Saisree suggested Level 1, Level 2, etc. "Images, Level 1" "Label1, Level 2". Any thoughts?

@beccamc
This is an interesting one. Could we do what the narrator normally does for a folder structure?
I used the 'Narrator app' in windows to narrate a similar folder structure. I made some tweaks to what I heard, but what do you think about something like this?
"Tree View ... Images ... expanded
Label 1 ... One of three ... expanded
Image 1 ... One of two
Image 2 ... Two of two
Label 2 ... Two of three
Label 3 ... Three of three"

@romalpani That sounds good! How does the user know they're back up a level on "Label 2"? Is it because Image 2 is said as 2/2?

@romalpani That sounds good! How does the user know they're back up a level on "Label 2"? Is it because Image 2 is said as 2/2?

Yes, I think that the count helps in giving the user an idea of what level they are at, in addition to when it reads out the "Label2 ... Two of three".
I have not tested this, but I was solely basing it on the way it reads out loud for normal folders in Windows.

Yes, I think that the count helps in giving the user an idea of what level they are at, in addition to when it reads out the "Label2 ... Two of three".
I have not tested this, but I was solely basing it on the way it reads out loud for normal folders in Windows.

@beccamc
Verified the bug in the latest build and the issue is partially fixed.
Narrator is reading Label1 1 of 3 expanded.
Now it is understandable for screen reader users but  I think that it should not be announced expanded/collapsed
Reading Expand/collapse may give that idea to the user that these are actionable content.
So reading expanded is correct in this case as it is just a non-actionable text.
Since this is Sev4 bug. As per C & AI Bug Severity process Sev4 bugs does not effect your SLA. So you can add them to your backlog

Rohan is setting up a meeting with Dante on what the experience here should be.

Current proposal:
Sample Folder (Sample Folder, Level 1)
Sub Folder Label 1 (Sub Folder 1, Level 2)
Image 1 (Image file 1, Level 3)
Image 2 (Image file 2, Level 3)
Sub Folder Label 2 (Sub Folder 2, Level 2)
Sub Folder Label 3 (Sub Folder 3, Level 2)

Here is the build for testing https://devdiv.visualstudio.com/_apis/resources/Containers/7859052/VSSetup.Dev16Insertion?itemPath=VSSetup.Dev16Insertion%2FMicrosoft.ML.ModelBuilder.vsix

vzhuqin, you don't need to verify this one. @SaisreeDandamudi from the accessibility team will need to verify and close this. Thanks!

Please use public build https://marketplace.visualstudio.com/items?itemName=MLNET.07

@SaisreeDandamudi can you please verify this? Thanks!

@NiharikaTipirishetty It seems like our old accessibility contact isn't here anymore. Could you validate this as well? You can check it on rel/candidate build <IP_ADDRESS>1903.

Issue is fixed. In scan mode, Narrator is clearly announcing the levels of folders in example folder structure format. Hence closing this bug.


System.ArgumentNullException: Value cannot be null. when building with .Net native toolchain

I'm using Microsoft.Data.Sqlite and SQLitePCLRaw.provider.e_sqlite3.uwp and everything works when building without .Net native toolchain, and i was experiencing an error when building with .Net native toolchain which i solved by altering Default.rd.xml by removing  and replacing it with assembly references to all the assemblies I'm using, after doing that i keep encountering this error:
System.TypeInitializationException: A type initializer threw an exception. To determine which type, inspect the InnerException's StackTrace property. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Reflection.IntrospectionExtensions.GetTypeInfo(Type) + 0x7b
at Microsoft.Data.Sqlite.Utilities.BundleInitializer.Initialize() + 0xb3
at Microsoft.Data.Sqlite.SqliteConnection..cctor() + 0x8
at System.Runtime.CompilerServices.ClassConstructorRunner.Call(IntPtr) + 0x89
at System.Runtime.CompilerServices.ClassConstructorRunner.EnsureClassConstructorRun(StaticClassConstructionContext*) + 0x247
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.ClassConstructorRunner.EnsureClassConstructorRun(StaticClassConstructionContext*) + 0x351
at System.Runtime.CompilerServices.ClassConstructorRunner.CheckStaticClassConstruction(Void*, StaticClassConstructionContext*) + 0x17
at Microsoft.Data.Sqlite.SqliteConnection..ctor(String) + 0x44
at noobcloud.local_data.init(String) + 0x19e
connection was null.
I've noticed that i get:
Exception thrown: 'System.IO.FileNotFoundException' in System.Private.Reflection.Core.dll
With e_sqlite3, but it's copied to the output directory. Maybe that's related to this issue.

was experiencing an error when building with .Net native toolchain which i solved by altering Default.rd.xml

What was the original error?

Error RHBIND : error RHB0011: Internal error: 'pchTypeNameEnd[0] == L'>'' at 'f:\dd\ndp\rh\src\tools\rhbind\makepdb.cpp:968' appname.UWP Error ILT0005: '...\packages\runtime.win10-x86.microsoft.net.native.compiler\2.2.10-rel-29722-00\tools\x86\ilc\Tools\rhbind.exe @"...\obj\x86\Release\ilc\intermediate\rhbindargs.appname.UWP.rsp"'

Oh wait.  I just realized what Microsoft.Data.Sqlite.Utilities.BundleInitializer.Initialize() is.
@bricelam Any thoughts on the original question above?

@siggi90 What version of Microsoft.Data.Sqlite are you using? We removed our .rd.xml file in 6.0.0, but AFAIK older versions should work with .NET Native...

Latest version, but i managed to solve the original issue by fixing  a library i was using, which is unrelated to Sqlite.


Update CLI to a newer Go version

Update to Go 1.16
Fix test
Update dependencies

Codecov Report

Merging #1262 (835ad4f) into master (750a31c) will increase coverage by 10.18%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master    #1262       +/-   ##
=============================================
+ Coverage     76.09%   86.27%   +10.18%
+ Complexity      973       85      -888
=============================================
  Files           187       20      -167
  Lines          2878      255     -2623
  Branches        502       16      -486
=============================================
- Hits           2190      220     -1970
+ Misses          427       25      -402
+ Partials        261       10      -251

Impacted Files
Coverage Δ

.../ruleset/zalando/UseStandardHttpStatusCodesRule.kt

web-ui/src/server/dev/webpack-dev-server-proxy.js

web-ui/src/client/app/components/util.jsx

web-ui/src/client/app/components/msg.jsx

...main/java/org/zalando/zally/apireview/ApiReview.kt

...ando/zally/exception/ApiReviewNotFoundException.kt

...alando/zally/ruleset/zalando/ExtensibleEnumRule.kt

.../zally/ruleset/zalando/AvoidTrailingSlashesRule.kt

...zalando/zally/apireview/ApiViolationsController.kt

...ver/src/main/java/org/zalando/zally/dto/RuleDTO.kt

... and 157 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 750a31c...835ad4f. Read the comment docs.

👍

:+1:


Enable TCP keepalive on redis sockets.

Fix: https://github.com/redis/redis-rb/issues/1180
It sends a keep alive probe every 15 seconds for 2 minutes.
We could probably make it configurable, but that's some very advanced tuning, so I don't know if it's worth it.
If there's a need for it, let me know by commenting on this PR.

Does this mean, if the user sits idle for more than 2 minutes the connection is dropped? It seems the case in my testing though. Thanks for working on it. :)

if the user sits idle for more than 2 minutes the connection is dropped?

Not quite, it ensures that the connection won't be dropped for 2 minutes, whether and when it is dropped after than depends on the system configuration, the redis server configuration, and the various network equipment configurations in the middle.
That default seem reasonable to me. As mentioned we can make it configurable, but that's very advance configuration, so not sure many people need that.


out with autotools, in with cmake

it's the week-end, let's try something new!
I do realize that vcdk is the preferred method now, but having a lean repo just one git clone away is still very appealing to me.
This is mainly a test run for me to get accustomed to cmake, but I really liked what I saw and thought I should share. I opted against a dual autotools/cmake to show how much cruft we could remove, but I'm not against it.
@Dridi, alternatively, that can be used to add a plugin to vcdk, feel free to run with it if you prefer that approach

@fwsGonzo , could you have a look at 40e68d5 and see if that sort of matches your expectations please?

I'll have a look when I find some time. It looks great. enable_testing() is a bit of a weirdo in that it only works when placed at the root level. So I'm not sure where to put it here. Maybe it's fine inside the function as vmod.cmake gets included, and will count as root? In a bigger build system the root takes care of that too.

Hey, thanks for the reminder! I've been moving into my new house the last week and it's been very time consuming. I'll be having a go at this next week for sure!

From my PR at https://github.com/gquintard/libvmod-example/pull/1:
There are 2 things that may have to be done to make this the ultimate vmod.cmake:

Detect that you are inside a larger build system and not use the system libvarnishapi. In that case you should use the libvarnishapi of the build system. This will allow things like fuzzing and sanitizing vmods and Varnish at the same time, per build folder. Very handy.
Detect Varnish Plus and simply set VARNISH_PLUS in CMake as well as adding a -DVARNISH_PLUS to VMODs.

Something like that.


Adding support for Rails 7.1 composite PKs

I have closed this PR in favor or #837 in the original repo.

Hello Jordan,
I opened the PR over at the original repository (#837
https://github.com/zdennis/activerecord-import/pull/837) and carried over
all my inline comments.
On Sat, Apr 20, 2024 at 12:20 AM Markos Fragkakis @.***>
wrote:

@.**** commented on this pull request.
In lib/activerecord-import/import.rb
https://github.com/fragkakis/activerecord-import/pull/1#discussion_r1572970594
:

@@ -941,7 +941,7 @@ def load_association_ids(model)
association = association.target
next if association.blank? || model.public_send(column_name).present?

     association_primary_key = Array(association_reflection.association_primary_key)[column_index]

     association_primary_key = Array(association_reflection.association_primary_key.tr("[]:", "").split(", "))[column_index]

@jkowens https://github.com/jkowens if you think that this review is
better held over at your repository, I can re-create the PR.
—
Reply to this email directly, view it on GitHub
https://github.com/fragkakis/activerecord-import/pull/1#discussion_r1572970594,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABWNG2DWJVMK6VYGXSPGXTY6GDBZAVCNFSM6AAAAABGK4QU72VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDAMJSGQ3DONBRG4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Drop zero-timeout pthread_mutex_trylock() optimization

Previously, if the mutex protecting the inner state of the event object
were locked by another thread, the early abort in WaitForEvent() with
a zero-ms timeout would have translated that to a WAIT_TIMEOUT result,
even if the application logic is such that the event in question is
always set (e.g. simultaneous calls to WaitForEvent() and SetEvent()
on an already-set event).
This patch makes event->State an atomic that can be used as a
synchronization point (currently in addition to rather than instead of
event->Mutex).
Note: Unlocking the spinlock (i.e. resetting the event) is done with
release semantics rather than using std::memory_order_relaxed due to
ambiguities in the C++ spec that make it unclear whether or not
consecutive Set/Reset blocks could be interleaved with the latter; see
the discussion preceding 0 for reference.
Closes #18.

cc @qwertymaster617


New demo

Add a simple android (rn0.24) and ios demo.
Update how to add the package in MainActivity.js

Awesome thanks! :+1:


Using polylineDecorator with ant-path is not working

I am not sure where the issue is. I have a codepen demonstrating the issue at https://codepen.io/ericg97477/pen/vYRGYVr
With one polyline, I can decorate it with an arrow.
With the second polyline, I am creating it with anyPath, but cannot decorate with an arrow.
It would be nice if I could use both polylineDecorator together with ant-path.
Packages used:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Have you achieved this effect? I also encountered this problem now.


Documentation for JupyterLab

Should give some details on where the lab is, how to authentication and import the Python client.
From there on, we can point to the documentation/ for

the Python client getting started guide + documentation
the JupyterLab documentation at https://jupyterlab.readthedocs.io/en/latest/

I have a small present for you @pstranner, I wrote some initial Jupyter docs so that I can finally try to get #1 running:
https://docs.openeo.cloud/getting-started/jupyterlab/
By the way, I can't login to the EOlab (no permissions?), can you allow me to login?

@m-mohr such a present is very satisfying! Thanks a lot! I gonna have a look at the EOlab.


Fix error msg for check param sample_fraction in StabilitySelection init()

Little fix in #24

Merged #24 into master.


dqlite support

This enables full embedded HA support by using dqlite
# Start one server with clustering enabled on serve1
./k3s server --cluster-init --token SECRET

# On server2 join the cluster
./k3s server -t SECRET -s https://server1:6443

# On server3 join the cluster
./k3s server -t SECRET -s https://server1:6443

And you now have full HA.
Before you get too excited this is going to take a bit of time to bake to iron out the bugs and what not.  We will merge this as an experimental feature for a while so people can test it out.

can the servers themselves be used to run workloads ? just a cost saving measure.
Docker Swarm allows services to be scheduled on masters as well. Makes for cost-saving.

Yeah, the usecase here is to be able to run small HA 3 node clusters on the edge. So all nodes are masters and workers.

It'd be great to get a PR to k3sup from Rancher to help people out with this use-case. Let me know when an RC build is available so we can test out the flow.
https://github.com/alexellis/k3sup/issues/93
The flow is currently:
k3sup install --ip $IP --user $USER
k3sup join --ip $IP --user $USER --server-ip $SERVER_IP

We could adapt this to take in the new variables

Likewise, when it’s in RC we can add it as a development choice in Civo.com’s managed k3s service.

Please see issue #1155 which I encountered on first attempt. Is this new mode/flag still able to use --tls-san?

Please use https://github.com/rancher/k3s/issues/1115 to track instead. Thank you!


$end$ in snippets

It would be nice to have $end$ for snippets as in Visual Studio behaving like $1 but without a gray background after being inserted.

We support the textmate snippet syntax and in there $end$ would be the value of the variable called$end and the $ character.


Hotfix inject array data from multipart

for now only supports simple arrays name[], no named keys support.

I just now looked at the Parameters, which actually already holds most of the needed work. I will refactor this PR.

Closed in favor of https://github.com/zfcampus/zf-content-negotiation/pull/56


pkg/rancher-components: new component StringList

We need a new component to handle a simple list of strings, in Rancher Desktop preferences dialog; it will be shared across Rancher products.
List of feature:

add a new item, by click Add button or db-click on empty space.
select an item, by mouse-click or up/down arrows.
remove an item, by select an item and click Remove button.
inline edit an item, by db-click on existing items.
scrollbar is visible when the box is full.
up/down arrows makes scrollbar moves when it is visible.
Add button is disabled when create/edit mode is active.
Remove button is disabled when no item is selected or create mode is not active.

List of options:

caseSensitive determines if items with same text will be treated differently, depending on the letters case.
It is used to compare items during create/edit actions and detect duplicates.
readonly determines if the list of items is editable or view-only.
placeholder determines what to show in edit/create input fields.
actionsPosition determines the action buttons position (left, right).
errorMessages defines error messages.

Screenshot/Video

Added status/dev-validate label because the component is not currently used in the Dashboard and we already tested it in Rancher Desktop.


Ato 383/add test client for build

What?
Add test client for build
Why?
To have a client for acceptance tests
Related PRs
Please include links to PRs in other repositories relevant to this PR.
Delete this section if not needed.

Note that dns changes will come in another PR

going to merge this monday as I don't want to wait around to update secret 😅


Add a copy-paste detector

Candidates:

https://github.com/kucherenko/jscpd
https://github.com/danielstjules/jsinspect

I think copy-paste detection is out of scope for this project.


doc: make it clear when DT properties are deprecated

Devicetree properties may be deprecated. Make deprecated properties
more prominent in the generated bindings documentation as follows:

For deprecated node-specific properties, make a new tab which
only contains the deprecated properties

For deprecated child-binding properties, ensure a line
mentioning derpecation is in the property details

For deprecated 'base' binding properties, do the same thing as
child-bindings. Note that there aren't any such properties,
but they'd fall in this bucket if we add any later on.

Signed-off-by: Martí Bolívar<EMAIL_ADDRESS>

Screenshots:
Case 1:

Cases 2 and 3:


refactor: signal and timeout + remove Client requestTimeout option

This moves signal and request timeout out of the core implementation.
Userland can probably build some kind of middleware/mixin system in the future which we could use to improve our implementation in the public API.

Removes global (Client) requestTimeout option.
Removes signal and requestTimeout options from Client.dispatch.
Fixes abort + Pool before dispatch. https://github.com/mcollina/undici/issues/350

Managed to sort out most of the performance issues. @mcollina PTAL

http - keepalive x 5,795 ops/sec ±1.42% (273 runs sampled)
undici - pipeline x 8,896 ops/sec ±1.46% (267 runs sampled)
undici - request x 12,350 ops/sec ±0.73% (279 runs sampled)
undici - stream x 13,803 ops/sec ±0.46% (280 runs sampled)
undici - dispatch x 15,420 ops/sec ±0.45% (280 runs sampled)

Just took a glance, looks good I believe.


[Enemy] Hellknight does not abort melee attack when player leaves melee range, so sometimes it is bugged in attack state

I set it to moderate and not major because enemy IMP actually has the prevention for this. Just copy paste

To reproduce just get close to him, trigger his melee attack, and go away. Read the above comment and see if that happens also with Baron Of Hell, since they all should use the same melee attack structure


Try to Fix #4309 (Lack of Reproduction)

Description (required)
Try to make the user interface more clear.
The link of issue: https://github.com/commons-app/apps-android-commons/issues/4309
What changes did you make and why?
I edit the answer_layout.xml to enhance the user interface.
Screenshots (for UI changes only)
The origin UI:

The interface after I edit:

Codecov Report

Merging #4422 (3d1fd5b) into master (f8a8f92) will increase coverage by 0.13%.
The diff coverage is n/a.

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

Hey @U81-A , thanks for the PR. Can you please write about what did you tried to improved here and can you share before and after UI results with screen shoots taken from the app?

Hey @U81-A , are you still around? :)

I am not quite sure what this PR fixes. So closing this one for now. Please feel free to reopen it with further explanations.


Improve commits match to improve increment detection

The tool https://github.com/caarlos0/svu has a better approach to matching the commits' messages to detect the increment necessary.

We've re-used a bit the same logic.


Document how to run multiple smeshers

We've had a few community questions on this. We should document best practices for doing this - how to run multiple nodes on one machine, resource requirements when doing this, how to set the ports correctly, logging, using VMs, how to use the same coinbase and see the rewards accrue in the app, any other networking considerations, etc. We should explain that this won't be terribly helpful longer term once you can configure any amount of storage space, but it should be documented anyway since some folks will inevitably want to run multiple nodes/have multiple identities.
From Discord:

how do I spawn multiple copies of the app with a single wallet?
you can't currently spawn multiple smeshers with a single app, but you can run as many as you want from the command-line. instructions are here: https://github.com/spacemeshos/go-spacemesh#joining-spacemesh-tweedledee-testnet-net-id-118
just make sure they each get a different port, datadir, and post datadir --tcp-port $x -d $y --post-datadir $z
and, if you run the GRPC/JSON APIs, you need to give those different ports too
also you can pass in the same --coinbase address to each, and use the address that you set up in the smapp application, so that you'd see your rewards accrue in the app

The best path for this as far as wallets are concerned is to use CLIWallet (api client) with  the server param to connect to the json-http api 0.1 of any node on same machine or over the network (host:port). It defaults to localhost:9090 - which is the default json-http api interface for a local running node. All of this should be of course better documented. I can add a page to the testnet guide about running a full node without smapp and outline multiple nodes per machine scenario with a caveat that this is not needed once variable post is supported.

There's also Anton's video about how to join the testnet with a go-sm node without smapp: https://www.youtube.com/watch?v=mqbSeCTYRaY

I think https://github.com/spacemeshos/local-testnet does this well. Closing, let me know if you disagree.


Need a way to simulate as close to running in the cloud but locally

Ideas:

[ ] bacalhau run local_python_script.py --local # Mounts in a file from local into a python container that we provide
[ ] bacalhau run local_python_script.py --requirements=requirements.txt --local # Should probably also support RStudio
[ ] bacalhau run python-3.7-container  local_python_script.py --local # Mounts the python script into an arbitrary container at a pre-defined mount point
[ ] bacalhau run python-3.7-container  local_python_script.py --local --debug # This is some crazy thoughts, but is there something we could do to make debugging in VSCode easier? And/or set LOG_LEVEL=debug in the container? Or something OTel related?

cc @Bubblyworld

cc @js-ts - some more details in the past. feel free to close as dupe

Moved to https://github.com/filecoin-project/bacalhau/issues/105


[Feature]: List widget to have scroll instead of pagination

Summary
List widget now has pagination. I wish list widget had possibility to scroll instead
Why should this be worked on?
It would improve quite a lot of use cases since user experience is much better with list when one can scroll through it instead of clicking on page buttons.

Hi @jauniuseitmantis thank you for the feature request. We have this issue tracked here #6293
Do watch the issue for updates!


CSV download / export direction

Per M1 review - there should be no engineering tasks for this in M2; however, we PM / leads should know direction for this decision in M2.

Going to tackle csv download and export in milestone 4


default use of DateInput with dateFnsUtils results in this broken picker

<DateInput source="startDate" options={{ format: 'DD/MM/YYYY' }} />

Can you confirm your date-fns version is exactly "2.0.0-alpha.7"?

I didn't have any installed - I npm installed that specific version and I still have the same results

I can solve this by adding "material-ui-pickers": "1.0.0-rc.13" in my dependencies.
"dependencies": {
    "date-fns": "2.0.0-alpha.7",
    "ra-core": "2.3.0",
    "ra-data-json-server": "2.3.0",
    "ra-language-english": "2.3.0",
    "ra-ui-materialui": "2.3.0",
    "react": "16.3.2",
    "react-admin": "2.3.0",
    "react-admin-date-inputs": "1.0.20",
    "react-dom": "16.3.2",
    "react-scripts": "1.1.4",
    "material-ui-pickers": "1.0.0-rc.13"
}

Please try to update to<EMAIL_ADDRESS>Dependencies have been updated to<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

Indeed I have, sometimes it takes a while to publish. Please check again,
it's showing up for me.
On Mon, Sep 10, 2018, 9:22 PM Michail Michailidis<EMAIL_ADDRESS>wrote:

@vascofg https://github.com/vascofg have you npm published? I see only
1.0.20 here https://www.npmjs.com/package/react-admin-date-inputs. Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vascofg/react-admin-date-inputs/issues/13#issuecomment-420047335,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAmuSVMqLkoNOVEIy2Iyg4SOF0EWmRl7ks5uZsntgaJpZM4Wa3u-
.

@vascofg intresting! My publishes appear right away! Thanks :)

@vascofg I updated the library and it works, except of this "initial" strange day numbers:

If I choose from the calendar, they remain that big, only if I write them directly in the date input as "11" (for example) then they work. The fetches work, despite this UI issue though. Not sure what causes it.

I now notice that it works OK if I change the format (which used to work) from:
options={{format: 'DD/MM/YYYY', showTodayButton: true, keyboard: true}}
TO:
options={{format: 'dd/MM/YYYY', showTodayButton: true, keyboard: true}}
Is this a changed behavior in latest date-fns? Or a bug?
I would not like to replace all format values in my project, but I will do if this is not a bug and is an intended change.
Do you have any idea?

Yes I noticed that too, I think it's a change on date-fns part.
On Tue, 11 Sep 2018, 16:00 afilp<EMAIL_ADDRESS>wrote:

I now notice that it works OK if I change the format (which used to work)
from:
options={{format: 'DD/MM/YYYY', showTodayButton: true, keyboard: true}}
TO:
options={{format: 'dd/MM/YYYY', showTodayButton: true, keyboard: true}}
Is this a changed behavior in latest date-fns? Or a bug?
I would not like to replace all format values in my project, but I will
do if this is not a bug and is an intended change.
Do you have any idea?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vascofg/react-admin-date-inputs/issues/13#issuecomment-420305518,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAmuSb0dsWTdUO4NJHUdtfCgHPuubq1uks5uZ9AmgaJpZM4Wa3u-
.

There are other problems too, between typing a date and showing it in the calendar:

Could it be that something needs to be changed in react-admin-date-inputs? Users have problems using it now.
Thanks a lot!

For me , I have this error with react-admin v2.3.1 :

same error on react admin

We're also experiencing the UI issue with React Admin v2.3.2.
Is there a incompatibility with MUI?

You have to provide a material icons font, as explained in
material-ui-pickers docs
On Mon, 24 Sep 2018, 07:49 Matthew Webb<EMAIL_ADDRESS>wrote:

We're also experiencing the UI issue with React Admin v2.3.2.
Is there a incompatibility with MUI?
[image: screen shot 2018-09-24 at 10 52 19 am]
https://user-images.githubusercontent.com/610528/45938871-9b635c00-bfeb-11e8-8cda-d5bbd1efa4a6.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vascofg/react-admin-date-inputs/issues/13#issuecomment-423881609,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAmuSWw6wMNO3QbdfjIhCFk6ca51uaUlks5ueHJQgaJpZM4Wa3u-
.

Thank you @vascofg, that was indeed the issue, sorry :)

@vascofg I updated the library and it works, except of these "initial" strange day numbers:

If I choose from the calendar, they remain that big, only if I write them directly in the date input as "11" (for example) then they work. The fetches work, despite this UI issue though. Not sure what causes it.

This same issue appears for me, using your version 1.1.2 and the version 2.7.0 of react-admin. Testing it out it seems the number it shows for the day of year that day is. So, if I pick december 31, it shows 365 there. Changing between caps and low-case letters in the format dd/mm/yyyy doesn't seem to make a difference. The date is actually sent correctly, but this can be "slightly" confusing for the user.


Feature Request: Apple Passkeys

Hi,
This would be great to integrate with Apple's new Authentication System - Passkeys.
Thank you

It’s been something I’ve wanted to add for a long time: #6
I hope to get around to it soon, but it will require a larger refactor of how Pow works. This is definitely the future of auth, and Pow must support it.


Filters with multiple libraries broken

Type: Bug
This used to work and has stopped working.  I have a comma separated list of libraries.
Extension version: 2.14.5
VS Code version: Code 1.95.3 (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info

Item
Value

CPUs
13th Gen Intel(R) Core(TM) i7-13800H (20 x 2918)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
undefined

Memory (System)
31.59GB (11.52GB free)

Process Argv
--crash-reporter-id 2f019281-5e42-4fb5-8cc5-2cecaf354ddc

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupyter:31046869
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc1:31192215
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530

@sebjulliand @worksofliam - Hey guys, I've noticed this as well. Any ideas?

@Gregory1701 Any chance you can send a screenshot of your configuration and the output tab after the list doesn't show?

In the picture I show 3 filters.

the 1st has 2 libraries and expanding it shows nothing
the 2nd has 1 library and expanding it shows QRPGLESRC
the 3RD has 1 library and expanding it also shows QRPGLESRC

Do you remember after which update it stopped working?

Unfortunately I cannot say for sure but most likely a recent update.

@sebjulliand Unfortunately it had been a few months since I needed to use this filter that I have with multiple libraries in it. So I'm not much help with a timeline.

@sebjulliand For sure I broke it with the CCSID fixes. I can take a look next week.

@sebjulliand For sure I broke it with the CCSID fixes. I can take a look next week.

Not sure about that. The behavior may have changed when I rewrote the filters, months ago 😅

@worksofliam I see the problem...it's indeed related to the CCSID refactoring, the query we use can't list multiple libraries. I'll fix it.

With the fix in the repo, presumably the next step is to get this deployed to the Marketplace.  Do you know the expected timing of that portion?

@jkdavew Fingers crossed by the end of the week.


audit function fails for concurrent map writes

Describe the bug
audit function fails for concurrent map writes and causes a crash of the service
Expected behavior
Audit works correctly without crash the service
Replication info

Rönd version: v1.14.0
Running mode: sidecar

Additional context
Stack trace:
Details

fatal error: concurrent map writes
fatal error: concurrent map writes

goroutine 77598 [running]:
github.com/rond-authz/rond/internal/audit.(*SingleRecordCache).Store(0xc00051e3d8, 0xc000617100?)
	/app/internal/audit/cache.go:34 +0xf3
github.com/rond-authz/rond/internal/audit.init.func1({{0x13218c8, 0xc00073a660}, {0x1327750, 0xc000299260}, {0x1319d80, 0xc0000540e0}, 0xc00073aa20, {0x131dd48, 0xc000c8a97c}, 0x0, ...}, ...)
	/app/internal/audit/rego_builtin.go:51 +0xc2
github.com/rond-authz/rond/internal/audit.init.Function1.func2.1()
...

To fix the crash we should:

use a sync.Map or place a mutex/rwlock in the internal/audit/cache.go#SingleRecordCache impl
implement an way to preserve all unique values when the same key is supplied by multiple policies

Morever we should understand whether a chan or routine pool may be required to prevent performance bottlenecks in policy execution (i'd prefer a chan + audit routine that collects data but we should carefully think about this)

Nope, I went deeper in this issue and it could be easily fixed adding a pool of audit agent. The sync.Map would prevent the specific error, but there could be some data which are overwritten during parallel execution between write and read.
The problem is that the SingleRecordCache is reused in all policies execution, and instanciated only in the NewFromOas or NewFromConfig function. Instead, we should create a pool of agent and at each evaluation create a new agent which inherited the global labels and create a new cache.


update CNI plugin version

Issue #, if available:
#1214
Description of changes:
This PR upgrades the CNI plugin versions pulled into the AMI to be the latest upstream release: v1.2.0: https://github.com/containernetworking/plugins/releases/tag/v1.2.0
This is done for all supported k8s versions as there are no backward compatibility issues.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Testing Done
Verified that AMI could be built and tests passed. Built AMI with pull_cni_from_github set to true and false.

Marking as draft until these binaries are available in the public amazon-eks bucket.


bugfix: resource nodes of delete action don't need compute action type again

fix: https://github.com/KusionStack/kusion/issues/109

Coverage increased (+0.3%) to 74.896% when pulling 5a32a345eca506e59473539579ed6f0253ef85b2 on howieyuen:bugfix-delete-node into 3299afd63943519c0a5e6944723fe1e63ecf3922 on KusionStack:main.


Link to AI landing page

Might tweak the copy further but getting this version in as a starting point.


dumper: Add sanity checks for value lengths

E.g. signed short should not be bigger than 2^15, string lengths should be as expected, etc.

This is done already by struct.


Dashboard Page With Specific Device Widgets

Adds Dashboard page with the following functionality:

Add a widget from a selection of possible widgets.
Clear all widgets
Remove a single widget
Save the existing dashboard
Revert to the last saved dashboard
Can collapse a widget
Resizes with regard to screen size for mobile support

Closes #78, #79
Resolves #194

@shash3
Moved main components into a separate Page folder and removed the suffix "Page" from files for consistent naming convention.
Fixed UI Tests to work with the new Dashboard.


Adding code of contact adapted from the Contributor Convenant, version 1.4.

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

Thanks @heuermh!


Cannot build-assets: ERROR in ./saleor/static/scss/cart.scss

# npm -v
1.4.21
# node -v
v7.4.0

Build log below:
><EMAIL_ADDRESS>build-assets /var/www/saleor
> node ./node_modules/webpack/bin/webpack.js -p

Hash: 8c12f5c1eb5470d7d976
Version: webpack 1.13.2
Time: 10033ms
                             Asset    Size  Chunks             Chunk Names
    vendor.60344c8e06fe160b378f.js  126 kB       0  [emitted]  vendor
      cart.1868e472a85c79e768b9.js  213 kB       1  [emitted]  cart
storefront.2ee25a4a6fb7945b2573.js  275 kB       2  [emitted]  storefront
 dashboard.da88c263867786d77f4b.js  295 kB       3  [emitted]  dashboard
   [0] multi vendor 52 bytes {0} [built]
    + 201 hidden modules

WARNING in vendor.60344c8e06fe160b378f.js from UglifyJs
Condition always true [./~/jquery/dist/jquery.js:9778,0]
Condition always true [./~/jquery.cookie/jquery.cookie.js:9,0]
Dropping unreachable code [./~/jquery.cookie/jquery.cookie.js:12,2]

WARNING in cart.1868e472a85c79e768b9.js from UglifyJs
Condition always true [./~/react/lib/ReactMount.js:764,0]
Condition always true [./~/react/lib/findDOMNode.js:46,0]
Condition always true [./~/react/lib/instantiateReactComponent.js:80,0]
Dropping unreachable code [./~/react/lib/shouldUpdateReactComponent.js:40,0]
Condition always true [./~/react/lib/traverseAllChildren.js:158,0]
Condition always true [./~/react/lib/ReactDOMComponent.js:907,0]
Dropping side-effect-free statement [./~/react/lib/ReactEventListener.js:72,0]
Dropping unused function handleTopLevelWithPath [./~/react/lib/ReactEventListener.js:98,0]
Dropping unused variable DOCUMENT_FRAGMENT_NODE_TYPE [./~/react/lib/ReactEventListener.js:26,0]
Side effects in initialization of unused variable CartItemAmount [./saleor/static/js/components/cart.js:224,13]
Side effects in initialization of unused variable CartItemSubtotal [./saleor/static/js/components/cart.js:238,13]
Side effects in initialization of unused variable CartTotal [./saleor/static/js/components/cart.js:251,13]

WARNING in storefront.2ee25a4a6fb7945b2573.js from UglifyJs
Condition always true [./~/react/lib/ReactMount.js:764,0]
Condition always true [./~/react/lib/findDOMNode.js:46,0]
Condition always true [./~/react/lib/instantiateReactComponent.js:80,0]
Dropping unreachable code [./~/react/lib/shouldUpdateReactComponent.js:40,0]
Condition always true [./~/react/lib/traverseAllChildren.js:158,0]
Condition always true [./~/react/lib/ReactDOMComponent.js:907,0]
Dropping side-effect-free statement [./~/react/lib/ReactEventListener.js:72,0]
Dropping unused function handleTopLevelWithPath [./~/react/lib/ReactEventListener.js:98,0]
Dropping unused variable DOCUMENT_FRAGMENT_NODE_TYPE [./~/react/lib/ReactEventListener.js:26,0]
Condition always true [./~/underscore/underscore.js:48,0]
Dropping unreachable code [./~/underscore/underscore.js:54,0]
Condition always true [./~/underscore/underscore.js:1543,0]
Condition always true [./~/classnames/index.js:40,2]
Dropping unreachable code [./~/classnames/index.js:46,0]
Condition always true [./~/lodash/lodash.js:14380,0]
Dropping unreachable code [./~/lodash/lodash.js:14388,0]
Side effects in initialization of unused variable moduleExports [./~/lodash/lodash.js:346,0]

WARNING in dashboard.da88c263867786d77f4b.js from UglifyJs
Side effects in initialization of unused variable $menuToggle [./saleor/static/js/dashboard.js:33,6]
Condition always true [./~/underscore/underscore.js:48,0]
Dropping unreachable code [./~/underscore/underscore.js:54,0]
Condition always true [./~/underscore/underscore.js:1543,0]
Condition always true [./~/hammerjs/hammer.js:2633,0]
Dropping unreachable code [./~/hammerjs/hammer.js:2637,1]
Condition always true [./~/materialize-css/dist/js/materialize.js:10,0]
Dropping unreachable code [./~/materialize-css/dist/js/materialize.js:14,0]
Condition always true [./~/materialize-css/dist/js/materialize.js:233,3679]
Condition always true [./~/materialize-css/dist/js/materialize.js:236,0]
Dropping unreachable code [./~/materialize-css/dist/js/materialize.js:238,5]
Side effects in initialization of unused variable windowWidth [./~/materialize-css/dist/js/materialize.js:1097,0]
Side effects in initialization of unused variable windowHeight [./~/materialize-css/dist/js/materialize.js:1098,0]
Dropping unused variable count [./~/materialize-css/dist/js/materialize.js:967,0]
Dropping unused variable originalWidth [./~/materialize-css/dist/js/materialize.js:924,0]
Dropping unused variable originalHeight [./~/materialize-css/dist/js/materialize.js:925,0]
Side effects in initialization of unused variable window_width [./~/materialize-css/dist/js/materialize.js:1246,0]
Dropping unused variable timeout [./~/materialize-css/dist/js/materialize.js:1382,0]
Side effects in initialization of unused variable width [./~/materialize-css/dist/js/materialize.js:1735,0]
Side effects in initialization of unused variable direction [./~/materialize-css/dist/js/materialize.js:2227,0]
Side effects in initialization of unused variable y [./~/materialize-css/dist/js/materialize.js:2229,0]
Side effects in initialization of unused variable velocityX [./~/materialize-css/dist/js/materialize.js:2230,0]
Dropping unused variable unique_id [./~/materialize-css/dist/js/materialize.js:2455,0]
Dropping unused variable chips [./~/materialize-css/dist/js/materialize.js:3790,0]
Side effects in initialization of unused variable options [./~/materialize-css/dist/js/materialize.js:3930,0]
Side effects in initialization of unused variable options [./~/materialize-css/dist/js/materialize.js:3976,0]
Dropping unused variable time [./~/materialize-css/dist/js/materialize.js:4163,0]
Condition always true [./~/materialize-css/dist/js/materialize.js:4400,0]
Dropping unreachable code [./~/materialize-css/dist/js/materialize.js:4404,0]
Condition always true [./~/materialize-css/dist/js/materialize.js:5521,0]
Dropping unreachable code [./~/materialize-css/dist/js/materialize.js:5525,0]
Dropping unused variable xTranslation [./~/materialize-css/dist/js/materialize.js:7141,0]
Condition always true [./~/select2/dist/js/select2.js:9,0]
Dropping unreachable code [./~/select2/dist/js/select2.js:12,3]
Side effects in initialization of unused variable $label [./~/select2/dist/js/select2.js:972,0]
Side effects in initialization of unused variable id [./~/select2/dist/js/select2.js:1350,0]
Dropping unused variable self [./~/select2/dist/js/select2.js:1426,0]
Dropping unused variable matches [./~/select2/dist/js/select2.js:3430,0]
Side effects in initialization of unused variable tag [./~/select2/dist/js/select2.js:3608,0]
Side effects in initialization of unused variable instance [./~/select2/dist/js/select2.js:5667,0]
Condition always true [./~/sortablejs/Sortable.js:11,0]
Dropping unreachable code [./~/sortablejs/Sortable.js:14,0]
Side effects in initialization of unused variable slice [./~/sortablejs/Sortable.js:71,0]

ERROR in ./saleor/static/scss/cart.scss
Module build failed: ReferenceError: Promise is not defined
    at LazyResult.async (/var/www/saleor/node_modules/postcss/lib/lazy-result.js:237:31)
    at LazyResult.then (/var/www/saleor/node_modules/postcss/lib/lazy-result.js:141:21)
    at Object.module.exports (/var/www/saleor/node_modules/postcss-loader/index.js:93:10)
 @ ./saleor/static/js/cart.js 23:0-28

ERROR in ./saleor/static/scss/dashboard.scss
Module build failed: ReferenceError: Promise is not defined
    at LazyResult.async (/var/www/saleor/node_modules/postcss/lib/lazy-result.js:237:31)
    at LazyResult.then (/var/www/saleor/node_modules/postcss/lib/lazy-result.js:141:21)
    at Object.module.exports (/var/www/saleor/node_modules/postcss-loader/index.js:93:10)
 @ ./saleor/static/js/dashboard.js 19:0-33

ERROR in ./saleor/static/scss/storefront.scss
Module build failed: ReferenceError: Promise is not defined
    at LazyResult.async (/var/www/saleor/node_modules/postcss/lib/lazy-result.js:237:31)
    at LazyResult.then (/var/www/saleor/node_modules/postcss/lib/lazy-result.js:141:21)
    at Object.module.exports (/var/www/saleor/node_modules/postcss-loader/index.js:93:10)
 @ ./saleor/static/js/storefront.js 19:0-34

@narunask Please try to update npm version and rebuild /node_modules. I changed my node version to v7.4.0 and npm to 4.0.5 and works.

I tested it and can confirm that with node v7.4.0 and npm v4.1.1 this problem does not exist.


Support Laravel 9.x

Problem 1     - Root composer.json requires mathieu-bour/laravel-cache-fallback * -> satisfiable by mathieu-bour/laravel-cache-fallback[dev-dependabot/composer/league/flysystem-1.1.4, dev-dependabot/composer/laravel/framework-8.40.0, dev-main, 1.0.0, 9999999-dev].     - mathieu-bour/laravel-cache-fallback[dev-dependabot/composer/league/flysystem-1.1.4, dev-dependabot/composer/laravel/framework-8.40.0, dev-main, 1.0.0] require illuminate/support 5.8.* || ^6.0 || ^7.0 || ^8.0 -> found illuminate/support[v5.8.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but it conflicts with your root composer.json require (^9).

I managed to get this working with Laravel 9.

I didn't use composer to install but rather copy/pasted all 3 files from the src folder into my project folder for example in
yourCustomFolder\Providers\CacheFallback which is on the same level as the app folder

Then I registered the CacheFallbackServiceProvider inside
config\app.php
yourCustomFolder\Providers\CacheFallback\CacheFallbackServiceProvider::class

after that modify your redis config inside
config\cache.php
in the redis array add this line
'fallback' => 'file'

Update the namespaces in the 3 files you copied for example in RepositoryProxy.php
yourCustomFolder\Providers\CacheFallback

Then inside the RepositoryProxy.php update the get method like so on line 83
public function get($key, $default = null): mixed

Last step is to add this line inside RepositoryProxy.php just under line 63
$config->set("cache.default", $fallback);

After that you can stop your Redis server and the file cache should be used.

Yes, this library is sadly not compatible with Laravel 9... I'll try to update it this week-end.

any luck?

@andreypopov Did you try my method?
I used it at my company and we are using this package now without problems.


Extend add url and load/save list by the user

Hey @captbaritone how are you?
Could be possible to add support to define custom callbacks for the open/save playlist? In that way we can let to the developer defines custom behavior for these operations.
I was thinking something like:
const webamp = new Webamp({
  handleAddUrlEvent: (e) => {

  },
  handleLoadListEvent: (e) => {

  },
  handleSaveListEvent: (e) => {

  },
});

Awesome project btw! It's a time machine to my youth

I like this idea. Would you be interested in working on a pull request to add it? If so, I can write up some code pointers showing where the changes would need to happen.

Absolutely, I will start now :+1:

I can write up some code pointers showing where the changes would need to happen.

I search where it goes the non support messages and I will start checking from there. I didn't know that this was a react project, that's even better to track the code.

I think the closest parallel would be the handleTrackDropEvent option. Here's how that works:

It's passed into the Webamp as an option and passed to the Redux store (here) as part of the extras. This makes the value available inside of the Redux Thunks.
Then you'll need to create an action creator(s) like this one which responds to the user's action by calling the new function if provided, and falling back to calling alert() if it's not.
Finally, inside the component, you'll need to dispatch the action you created. You can do this using useActionCreator, which already has an example in the file.

If you have any questions, feel free to ask here, or jump into our Discord (mentioned in the Readme).
Thanks again for the suggestion and your willingness to help.

Closing for now. If you end up working on this, just let me know.


BB Advanced Crafting as a Low level enchanting alternative

Linings for Armor will provide low level enchantments
Inseting magical stones in swords or tools can do the same.
What materials should provide what enchants?

I'm gonna close this, since we don't currently have Better Beginnings.


API

The TimezoneDB API
To Do:

[x] Data structure & Saving
[x] Account routes

[x] Get authenticated user
[x] Update authenticated user
[x] Delete authenticated user

[x] Public routes

[x] List zones
[x] User lookup routes

[x] Single
Bulk (optional)

[x] Auth

[x] Discord
[x] GitHub
[x] Twitter
[x] Twitch

Gonna hold off on reddit as the reddit API provides no method or scope to read the current user's email.


Feature - SIMKL Tracking

I would like to suggest to Add SIMKL tracking. Basically Integrating Sync API for automatically tracking, any tiles watched - for SIMKL members.
API Documentation: https://api.simkl.com
Anime Section: https://simkl.com/anime/

No Plan for current timeline


update translation bucket-sort

removed extra space in code and added link in more information

[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] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

LGTM 👍
Thanks for your contribution @CleoAguiar, keep it up!


Unpin xarray version once root cause is found

The checks for geocat-examples are currently failing with the latest xarray release v2023.03.0. A PR has been made to pin xarray to the prior version, but that is only a temporary solution. We will need to solve the root cause and unpin the version at a later date.

Noting that geocat-examples is pinned, because of this issue in geocat-comp: https://github.com/NCAR/geocat-comp/issues/381

Once xarray is (fully) pinned for comp in this upcoming release we should be able to remove our version pin here and just take care of things in comp instead of tracking elsewhere as well.   Same goes for viz and I'll make a note there as well.


Add srcFiles variable

This is for those that want to run multiple gameserver.ini's under 1 game. (Like myself) Allows people to change 1 variable to change the directory to all dependencies that are loaded.
NOTE: We can try to move this to gameserver.ini if people request it, but I find it to do pretty much the exact same thing this does. It does offer some more options though if it's in the gameserver.ini.

Why would you want to run two gameserver.ini's at once?

For people that have multiple gamemodes. Run each of them under different ports, but the same source files.

Alright sounds good, Thanks @MastaCoder :)

I thought I'd just push this because I usually run my files under different directories and different names. :)


Allow Composer plugins

Thank you for all the PRs! :)

Thank you for all the PRs! :)

you're welcome. btw. you missed one ;) https://github.com/phpstan/phpstan-php-parser/pull/17


bug: rpc error: code = Internal desc = server closed the stream without sending trailers

Current Behavior
apisix: apache/apisix:2.15.0-alpine
plugin-runner: apache/apisix-go-plugin-runner v0.4.0
run apisix-go-plugin-runner ,in func RequestFilter, WriteHeader then return, grpc client will report an error(code = Internal desc = server closed the stream without sending trailers)
I studied for a day and didn't know how to solve the problem.  can anybody help solve the problem? thanks a lot!
Expected Behavior
grpc client not report error,and can get trailers
Error Logs
rpc error: code = Internal desc = server closed the stream without sending trailers
Steps to Reproduce
apisix: apache/apisix:2.15.0-alpine
plugin-runner: apache/apisix-go-plugin-runner v0.4.0

modify code in apisix-go-plugin-runner-master\cmd\go-runner\plugins\say.go, as follows:

func (p *Say) RequestFilter(conf interface{}, w http.ResponseWriter, r pkgHTTP.Request) {
	w.Header().Set("Content-Type", r.Header().Get("Content-Type"))
	num := rand.Int()
	if num%2 == 1 {
		w.WriteHeader(http.StatusOK)
		w.Header().Set("mykey", "test")
		w.Header().Set("Grpc-Status", "0")
		w.Header().Set("Grpc-Message", "ok")
		w.Header().Set("Grpc-Status-Details-Bin", "")
		return
	}
}

run a grpc server in <IP_ADDRESS>:8301
2. then run apisix, config upstream in APISIX Dashboard，as follows:
{
  "nodes": [
    {
      "host": "<IP_ADDRESS>",
      "port": 8301,
      "weight": 1
    }
  ],
  "timeout": {
    "connect": 6,
    "send": 6,
    "read": 6
  },
  "type": "roundrobin",
  "scheme": "grpc",
  "pass_host": "pass",
  "name": "testa",
  "keepalive_pool": {
    "idle_timeout": 60,
    "requests": 1000,
    "size": 320
  }
}

then add a route config, as follows:

{
  "uri": "/routeguide.RouteGuide/GetFeature",
  "name": "testa1",
  "methods": [
    "GET",
    "POST",
    "PUT",
    "DELETE",
    "PATCH",
    "HEAD",
    "OPTIONS",
    "CONNECT",
    "TRACE"
  ],
  "plugins": {
    "ext-plugin-post-req": {
      "conf": [
        {
          "name": "say",
          "value": "{\"body\":\"123\"}"
        }
      ],
      "disable": false
    }
  },
  "upstream_id": "425744995673178819",
  "status": 1
}

then use client grpc call apisix, but have an error (rpc error: code = Internal desc = server closed the stream without sending trailers)，as follows:

2022/09/21 19:45:47.860 [I] [main.go:59]  header: map[content-type:[application/grpc] date:[Wed, 21 Sep 2022 11:45:47 GMT] mykey:[test] server:[APISIX/2.15.0]]
2022/09/21 19:45:47.860 [I] [main.go:60]  trailer: map[]
2022/09/21 19:45:47.861 [E] [main.go:62]  rpc error: code = Internal desc = server closed the stream without sending trailers

Environment
os: win10
apisix: apache/apisix:2.15.0-alpine  (use apisix-docker\example\docker-compose.yml  docker-compose up)
plugin-runner: apache/apisix-go-plugin-runner v0.4.0

If you want to use the grpc client to access APISIX, you need to enable the grpc-transcode plugin.
"scheme": "grpc" in upstream configures the protocol for accessing upstream to be grpc.

If you want to use the grpc client to access APISIX, you need to enable the grpc-transcode plugin.
"scheme": "grpc" in upstream configures the protocol for accessing upstream to be grpc.

I've read this grpc-transcode.md, but it doesn't seem to be relevant to this problem.
Can you contact me via WeChat 'program_no_error'? thanks a lot!

If you want to use the grpc client to access APISIX, you need to enable the grpc-transcode plugin.
"scheme": "grpc" in upstream configures the protocol for accessing upstream to be grpc.

my call chain like this:
1.[RequestFilter return] --?--> GrpcClient (report error)
GrpcClient --grpc--> Apisix --?--> Go-plugin-runner(ext-plugin-post-req)
2.[RequestFilter continue] --grpc--> GrpcServer --grpc--> Apisix --grpc--> GrpcClient(ok)
in Go-plugin-runner, func RequestFilter like this:
func (p *Say) RequestFilter(conf interface{}, w http.ResponseWriter, r pkgHTTP.Request) {
	w.Header().Set("Content-Type", r.Header().Get("Content-Type"))
	num := rand.Int()
	if num%2 == 1 {
		w.WriteHeader(http.StatusOK)
		w.Header().Set("mykey", "test")
		w.Header().Set("Grpc-Status", "0")
		w.Header().Set("Grpc-Message", "ok")
		w.Header().Set("Grpc-Status-Details-Bin", "")
		return   // here retrun to GrpcClient, is above chain 1, client report "server closed the stream without sending trailers"
	}
        return // here continue to GrpcServer then return to GrpcClient, is above chain 2, ok
}

above not use grpc-transcode，grpc-transcode ot suitable for our scene。Please have a look and help， thanks a lot!

Regarding this step GrpcClient --grpc--> Apisix, how did you do it? What tool or command was used ?

Regarding this step GrpcClient --grpc--> Apisix, how did you do it? What tool or command was used ?

client use grpc protocol request Apisix. code as follows:
	conn, err := grpc.Dial("<IP_ADDRESS>:9080", grpc.WithTransportCredentials(insecure.NewCredentials()))
	if nil != err {
		return
	}
	defer func() {
		conn.Close()
	}()
	client := routeguide.NewRouteGuideClient(conn)
	md := metadata.MD{}
	md.Set("header1", "test")
	ctx = metadata.NewOutgoingContext(ctx, md)
	var rspheader metadata.MD
	var rsptrailer metadata.MD
	req := routeguide.Point{Latitude: 99, Longitude: 88}
	rsp, err := cli.GetFeature(ctx , &req, grpc.Header(&rspheader), grpc.Trailer(&rsptrailer))
	if err != nil {
		logs.Error(err)      //here report error "server closed the stream without sending trailers"
		return
	}
	logs.Info("rsp:", rsp.String())
        logs.Info("rspheader:", rspheader)
        logs.Info("rsptrailer:", rsptrailer)

It seems that it is the same issue as https://github.com/apache/apisix/issues/7973.
Please do not submit the same issue in the two projects, it will be inconvenient to track, and information will be lost.

ok, sorry, i close this


[Removal]  :Disclose The identity of those who post addition to denylist!!  ban the ill intentioned ones!!

Hotspot Name
Tangy Sepia Swift
Hotspot b58 Address
11X6yZXtpQZggvM7odcRvCPeYRnDe1PmxJfEu8wBq3pJbrGxAf9
Discord Handle
CSA-Mahone
Hotspot Manufacturer
Bobcat
Removal Reason
slander , ill intended report ; abuse
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information
Please check the Addition # 2274  that was closed by the poster once caught with the slander.
here is a pictyre of the #2274

The poster was under the impression the location must be 100% accurate and closed it once he recognised he was wrong (I guess). Don't think you want to waste reviewers time looking at this nonsense instead of your (most likely) legit removal requests?

So many people so many opinions.
"The poster" sometimes said he owns the commercial building, then he said is not there, then he said he physically found the cheater antenna on his roof, maybe you need to read how he defended himself. Even if he was not intioned and he was mistaken it could lead to unfair adding the hotspot to denylist as many other every day.
It is not about this one "poster" is about the many who found a way to hurt the neighbour for their advantage.
As long as they stay hidden and cannot be accounted for  their "posts" they will keep doing it and increasing in number.
I do not think that is fair to render unusable hotspots for people  who invested money, effort and feelings into this project based on the promiss of Helium Inc. You may think this is a "nonsense"
So far there is no system to warn the owners before they are banned, they cannot defend themselves. the only way is after a while and to apeal on ghithub which takes at least a month and nobody covers the loss.
It is a  wrong and unfair implementation of the denylist.
Everyone tries to ROI their investment asap. The ROI does not cover only the value of a hotspot .
I personally spent many hours, days, evenmoths reading about the projec (including datat transfer) t on web and youtube viceos, I learned from other people experience and how to do installations. Many of us did. We spent money on LTE router , enagage in cell phone contracts in order to get a cell SIM card and use in LTE routers, we purchased antenna towewrs , we had to installed them, we promissed money to other people to keep our hotspot on their property and a lot of other things.
So much so an anonymous "poster" can wipe it out with a single post. You believe this is "nonsense" . Me and others don't think the same , mostly when we lose few thousands a month. Our ROI was calculated to almost a year at the initial rate , now is more like 2 years.
There are people who have only 1 hotspot and provide coverage for few meters or share it in buildings with many others, Their coverage became almost useless or redundant and they get frustrated. It is not their fault and is not mine either, or those "neighbours" who got slandered. Look for solutions at Helium Inc.
I am not "wasting" these posts to defend the spoofers or hackers, I am trying to defend me and those who are legit.
From your position you may not agree or understand this.
I understanf your opinion about the "nonsense" but what "favor"  exactly are you talking about ?
I am under the impression that is the admin job and power to close any "nonsense" at his will.

You are annoyed, I understand. Do you think this spam ticket  will motivate Helium to consider your request? I guess it will do the opposite and that's why closing would be a good idea.

Well, I suggest you spend some time and look into the legal system in US and Canada.
The smallest expense with a lawsuit is about $30,000, that's at first stage beforee any proceedings starts.
Anyone who is in right can get that with a simple Affidavit and $150 fee.
A lawsuit for the objections I wrote in my posts can easily change into a Class action .
A class action can go to.. ..billions.. considering the capital of Helium Inc and contracts with hotspot providers.
Not only those directly affected can join for a class action but also every internet provider or cell phone providers in North America might join.
I don't think they are very  happy looking how Helium eats from so considered "their plate".

Ok... and you think this is the right way to voice your concerns?

I pointed out the concerns so they think of that because I am directly affected and don't like at wall the way is handles.
Is their choice of what they do and how they do it. I didn't go to court yet but as I stated before if the situation is not repaired I will as I will have no other choice. I was wronged and my loss is big for me. Is that clear for you now ? If is not then we waste time in here, we said what we had to say.

This issue is closed.


The command bar is purple

The tab bar has nord colorscheme, but the command bar has this purple color

This happened in rxvt-unicode, xfce terminal and xterm.

My split pane color became purple too even though on the .tmux.conf it is set to cyan. This only happened when I activate nord-tmux plugin

Does your terminal support 24-bit True color and which tmux version are you running?
tmux supports 24-bit True color since version 2.2.
urxvt for example is know to parsing ANSI color sequences, but approximating them to 256 palette.
Please start tmux and run
tmux info | grep Tc

If the output is Tc: (flag) true your tmux supports true color, otherwise the output Tc: [missing] indicates that tmux has no True color support.
You can run this inside tmux to test the 24-bit colors:
awk 'BEGIN{
    s="/\\/\\/\\/\\/\\"; s=s s s s s s s s;
    for (colnum = 0; colnum<77; colnum++) {
        r = 255-(colnum*255/76);
        g = (colnum*510/76);
        b = (colnum*255/76);
        if (g>255) g = 510-g;
        printf "\033[48;2;%d;%d;%dm", r,g,b;
        printf "\033[38;2;%d;%d;%dm", 255-r,255-g,255-b;
        printf "%s\033[0m", substr(s,colnum+1,1);
    }
    printf "\n";
}'

If the line looks "stepwise" tmux does not use 24-bit True color:

Otherwise the line should have smooth transitions:

The $TERM environment variable is important for tmux as also clarified in the official tmux FAQ. The variable must be initialized with a terminal that supports 256 colors (*-256color). More information about 24-bit color terminal support can be found in the awesome Arch Linux Wiki.
If your terminal supports True color you should make sure to remove the default-terminal configuration from your ~/.tmux.conf and add the terminal-overrides option instead:
-set -g default-terminal "xterm-256color"
+set-option -ga terminal-overrides ",xterm-256color:Tc"

This will reflect your actual $TERM outside of tmux!
Replace the xterm-256color with your desired terminal e.g. rxvt-unicode-256color. Also make sure to keep the important Tc terminfo extension flag!

Yeah, you're right. Previously I have Tmux 2.1 and no Tc.
But now I compiled 2.6 and it works.
But the Awk thingy become weird (and it blinking) even though my problem has fixed (split bar became blue but not my cyan tho). Is this normal?

Nice to see that it fixed your problem :smile:
The weird output might be related to some implementation details regarding the escape codes (033, \e) or some awk version incompatibilities, but as long as this problem is only limited to the test code you can ignore it.
Have you tried to logout from the current session and check again after login? The $TERM env is loaded on login so the change can not be tested on-the-fly.

Yea, still weird. But my problem's fixed anyway :) thanks. Just the True color thingy

Maybe there's another compatibility problem with urxvt. You can check out the awesome Gist about Colours in terminal that covers almost all topics and includes a lot of troubleshooting documentation.

The command bar is yellow. And I have smooth transitions printed out by the command line you provided. And 'tmux info | grep Tc' is set correctly. The only thing that I think that could possibly cause this problem is that I am using Alacritty which is not in the installation list before installing Nord tmux. Could you please help me with this? That would be really appreciated

@pannnnn Can you please try to reproduce the problem with a clean Vim config that only contains the activation for the colorscheme but nothing else like plugins, settings or global variables?

@pannnnn Any updates on this? Have you been able to reproduce the problem with a clean config?
Also I must have overlooked that you wrote you're using Alacritty, but couldn't find a matching terminal color scheme in the list. There is Nord Alacritty and it is required to be installed when you're using Alacritty, otherwise the root cause of your problem is that the Nord colors are simply not available and instead the color your currently active theme is used which might use a different color ordering.


bug fix: app not running: push message received but when notification…

Bug fix: app not running: push message received but when notification is tapped, the app goes to foreground but no message is showed.

Good job. I'll be release right away!


Bump identity-apps version to 1.2.1001

$subject.

duplicate of https://github.com/wso2/product-is/pull/14007


Various visual tweaks/fixes (plus some other stuff)

What is the context of this PR?
Tidied up some visual snags:

Change colour of properties accordion titles to main text colour (from pure black).
Change font-size of accordion title to match elsewhere.
Fixed some alignment issues in the navigation between labels, icons and their surrounding boxes
Fixed some line-height issues in the RTE

How to review

check each change is satisfactory

Rebase and squash plz


query.select() is ignored with version 1.6.4

In the following code the "query.select" will be ignored with version 1.6.4, but works in version 1.5.0.
var Objekt = Parse.Object.extend("objekt");
var query = new Parse.Query(Objekt);
query.select("title");
query.find({
  success:function(results) {
for (var i = 0; i < results.length; i++) {
      var object = results[i];
      console.log(object.id + ' - ' + object.get('title'));
    }
  }
});

Hi @neolution, I do not quite get your point. What do you mean by will be ignored?
Ideally, your code should always print the id and title. You mean in 1.5.0 it works fine but in 1.6.4 you can not see the title?

@wangmengyan95 : Yes, with 1.6.4 I always get all fields from the class although I set query.select("title");. With 1.5.0 I only get the "title" => this is the expected behaviour,

@neolution can you look at the actual network request back-and-forth to api.parse.com, and copy any relevant information here?
You should see a payload go out with the "keys" field set -- this is where we send the data from calling .select() on a query. Then, take a look at the response, and see if the server is actually sending all the data back.
JS SDK 1.6 features single instance objects -- that is, any two instances of the same object share the same attributes in memory. If you had a full copy of an object locally, and then queried for another copy of it, the new copy would be inflated with all the locally known fields. .select() is useful for reducing the number of bytes sent over the wire, but we intentionally don't create an object with fewer attributes.

@andrewimm : You are right. If I previously run the query without query.select(..) and afterwards I set query.select("title") and run the same query again all fields are available.
But if I first run query.select("title") then I only get the selected keys.
Thank you for your help. I could not read this out of the documentation.


Improve error messages (make them more informative and consistent)

From #819:
print() expects a map to be provided

printf: %d specifier expects a value of type integer (sum supplied)

The formatting is different (() vs :) and one message is more informative than the other (printf outputs the received type, print doesn't).
In this case, the print message could be:
print: first parameters must be a map (sum supplied)

There's probably other inconsistencies across our error messages. We should have a unified format and we should try to keep them as informative as possible.

I want to continue working on  adding line number support (see #757) the other PRs are done which should add a bit more context to the error. As I will have to touch most errors in the semantic analyser anyway I will look into this too.


Allow arbitrary services

I'd like the ability to request arbitrary services such as in my case, quickbooks.
https://github.com/andylash/accounts-quickbooks

This seems to fix it

Great! A new version should be released shortly!

I believe this was resolved with https://github.com/lirbank/meteor-accounts-merge/commit/3b604a6a9c23c624ba89a8a7e0dd11b6b05e764e so closing the issue for now.


4148 inmemorymap counter

Tests and fixes for ACCUMULO-4148

Thanks @keith-turner, let me know if there is anything else.

Left a few minor comments (only one real request for a change). The number of new tests is very nice. I think I'd like to make sure I can get through a full run of the test suite before I see this merged in (very hesitant around this code by nature).

+1

I started merging this tonight, but am going to have to pick it up again later. The changes in 17b4b3c were bad because they weren't final. I've fixed those locally when squash-merge'ing. Some other easily fixed conflicts from 1.6->1.7. 1.7->master has some issues with the Sampler stuff @keith-turner has already added. I'll have to look into this one further to resolve.

I'll make another branch where I change those constants final and squash the commits to one.  Then I'll try to merge to 1.6 locally.  If that works, I'll close this PR and make new one for 1.6 and do separate PRs for 1.7 and master to make this easier.  Thanks for looking at it @joshelser

Don't worry about the squash and final changes, @mjwall, I already have them fixed locally (but thanks for offering). I already have 1.6 and 1.7 good. If you want to look at master and get that in a good place, that would be helpful (make sure I resolve the conflicts correctly).

@joshelser I can help merge this forward... we can coordinate on IRC


Add blooms for quorum style private transactions

In GoQuorum, the blooms for private transactions are stored separately stored from the public blooms. For operations that use blooms the public and the private bloom are always ored to get a combined bloom.
see eth/bloombits.go line 123

closed by #2305


Put the whole bookmarklet code inside markdown snippet

I don't know if this was made on purpose to break the code in half, but looks like GitHub handles such a long line without a problem.
I've also seen it was fixed in the past in #2221.

def not on purpose, not sure how that is happening. 😕
thanks for the fix
:cow2:

You're welcome! Hopefully it won't happen again 🙂


Tutorial or introduction?

I'd really love to use your gem, however I'm struggling with the basics. Would it be possible to create some sort of starter guide on how to use it?
Do I install the gem as standalone gem on the production server?
Do I include it in my application in the Gemfile?
Do the configs live in a separate folder on the production server or in a folder relative to my app?
Here what are variable values for the word 'project/s'? You use 'project1' and 'projects'. Do I need a separate folder for an eye-project? (/home/deploy/projects/eye)
What is the folder #{current_path}/deployment/? Is it supposed to be in my app? There is no such folder...
I'm using Puma on my production machine, when trying to install the gem as standalone gem on the server, copying the puma.eye from examples, I get following error:
deploy@71437:~$ eye load ~/eye/puma.eye  working_dir '/home/deploy/eye/processes' is invalid
I'm completely clueless how to use it, links in the wiki are either non-existant or lead to Chinese/Japanese sites. Googling doesn't help either because the name 'eye' is rather pretty general.

@mohnstrudel -- Here is how I use it:
I've a seperate eye-process per application, since I usually deploy apps to different users. I only use it with rails apps. I have a deploy directory in my RAILS_ROOT folder, where i put deploy specific configuration. Inside that folder I've the eye configuration, and other stuff like the config for whenever.
Whenever config to generate a @reboot cron task, to restart app after reboot.
every :reboot do
  current_path = "~/deploy/some_app"
  command "cd #{current_path} && bundle exec eye load deploy/config/production.eye"
end

Eye config to start puma and delayed job
BUNDLE = 'bundle'
RAILS_ENV = 'production'
ROOT = File.expand_path(File.join(File.dirname(__FILE__), %w[../ ../]))

Eye.config do
  logger "#{ROOT}/log/eye.log"
end

Eye.application :tierwohl do
  env 'RAILS_ENV' => RAILS_ENV
  working_dir ROOT
  trigger :flapping, times: 10, within: 1.minute

  process 'web-1' do
    daemonize true
    pid_file 'tmp/puma.pid'
    stdall 'log/web-1.log'

    start_command "#{BUNDLE} exec puma -C config/puma.rb"
    stop_signals [:TERM, 5.seconds, :KILL]
    restart_command 'kill -USR2 {PID}'

    # just sleep this until process get up status
    # (maybe enough to puma soft restart)
    restart_grace 10.seconds

    check :cpu, every: 30, below: 80, times: 3
    check :memory, every: 30, below: 200.megabytes, times: [3, 5]
  end

  (1..1).each do |i|
    process "delayed-job-#{i}" do
      stdall = "log/delayed-job-#{i}.log"
      start_command "bin/delayed_job start -i #{i}"
      stop_command "bin/delayed_job stop -i #{i}"
      pid_file "tmp/pids/delayed_job.#{i}.pid"
      start_grace 30.seconds
      stop_grace 45.seconds
    end
  end
end

I'm certain this config could be improved, but it works good enough for me so far. :-) I hope this helps you :-)
maybe someone can convert it to a wiki page or alike :-)


Add architectural notes documentation

Added a few important notes on the architecture decisions we took and why we took them.

Failing emulation runs, which I have already restarted several times for this pull request, are clearly unrelated to the content of this pull request so I'm going to merge it regardless.


Research Dashboard Statistics

User story

As a user
I need visually pleasing, detailed statistics in my dashboard
So that i have an overview of the data i have indexed

Acceptance criteria

Research how to display graphs and charts in the dashboard
Research if OpenSearch offers an easy way to create charts and graphs about statistics of the indexed data
Take a look at the statistics dashboard of our MdH Core and evaluate which features of this dashboard we can also implement for the OpenSearch dashboard
Write a short summary of your research with useful links, resources, code examples... that you may find while researching

Definition of done (DoD)

Added only after week 5
The same for all features
Here goes the project specific part

DoD general criteria

Feature has been fully implemented
Feature has been merged into the mainline
All acceptance criteria were met
Product owner approved features
All tests are passing
Developers agreed to release

Amir and me created a PowerPoint presentation that contains various information about OpenSearch, OpenSearch Dashboard and addtional information.