waitForText and assertSelectorHasText has different behaviour when looking for "&"

The behaviour between waitForText and assertSelectorHasText is different when looking for the character & or the escape characther &:
casper.waitForText("Agreement Between User And Procter &");

works.
However changing it too:
casper.waitForText("Agreement Between User And Procter & ");

Will cause it to timeout.
It seems the waitForText is having an issue with finding anything if you have a space after a & but it does work if you use &
The problem is easiest to explain by running the code example below:
casper.start("http://www.pg.com/en_US/terms_conditions/index.shtml", function() {
    casper.echo('http://www.pg.com/en_US/terms_conditions/index.shtml loaded');
});

casper.then(function() {
    casper.echo("Waiting for 'Agreement Between User And Procter &'");
    casper.waitForText("Agreement Between User And Procter &"); //PASS
});

casper.then(function() {
    casper.echo("Waiting for 'Agreement Between User And Procter & Gamble'");
    casper.waitForText("Agreement Between User And Procter & Gamble"); //FAIL
});

casper.then(function() {
    casper.echo("Waiting for 'Agreement Between User And Procter &'"); //
    casper.waitForText("Agreement Between User And Procter & Gamble"); //PASS
});

casper.then(function() {
    casper.echo("Waiting for 'Agreement Between User And Procter & Gamble'");
    casper.waitForText("Agreement Between User And Procter & Gamble"); //PASS
});

casper.then(function() {
    casper.test.assertSelectorHasText('#content', "Agreement Between User And Procter &"); //PASS
    casper.test.assertSelectorHasText('#content', "Agreement Between User And Procter & Gamble"); //PASS
    casper.test.assertSelectorHasText('#content', "Agreement Between User And Procter &"); //FAIL
    casper.test.assertSelectorHasText('#content', "Agreement Between User And Procter & Gamble"); //FAIL
});

casper.run(function() {
    casper.test.done();
});

Quote from Nicolas:

I think that's because Tester#assertSelectorHasText() uses Casper#fetchText() (and therefore  HTMLElement.textContent, so html entities are resolved to their plain text equivalent), while Casper#waitForText() uses a simple indexOf() test…

Reference thread.

The PhantomJS issue has moved. Check: is this solved for 1.9.1 and up?

I deem the behavior of assertSelectorHasText to be correct and would like to prepare a PR to adjust waitForText.
@mickaelandrieu @BIGjuevos The basic problem here is that the word "Text" is interpreted differently in the two functions:

"Text" means "HTML text" (i.e. HTML with decoded entities but safe (encoded) &, <, >, ", ') in waitForText
"Text" means "plain text" (content of text type nodes) in assertSelectorHasText

This is problematic, because a bug-fix will potentially break tests that rely on this difference, see the tests in https://github.com/n1k0/casperjs/blob/master/tests/suites/casper/wait.js#L82 and https://github.com/n1k0/casperjs/blob/master/tests/suites/casper/wait.js#L94.
We have two options here, both with upsides and downsides

consistent, straightforward, but breaks code looking for HTML like
foo
 just changing
var content = this.getPageContent(); to var content = this.fetchText('body') in https://github.com/n1k0/casperjs/blob/master/modules/casper.js#L2282
an inconsistent solution that potentially creates a difference between passing in a RE and a plain String that keeps BC: escape &,<,>,",' in waitForText if pattern is a string (this can't be done for REs, though)

Hi @Istr,
The subject you point, to my mind, isn't a bug or a problem of function but more a wrong approach to the problem.
DOM texts are different from Page texts (MVC)
Html Skeletons, css , spaces, scripts  ... can change displayed text.
example :
hello
 hello
 hello
hello
hel
lo
hello
hello

result :

hello
hello
 hello
hello
hello
Hello

Do you need to test page source data ? maybe. But the real important test is : Which data are visible on screen for users and how are them written ? Without this feature, you can't do 2 things :

suitable content analysis (displayed text)
intuitive navigation (on link text or partial link text as allowed by selenium)

Do you agree ?
"page.plainText" and "page.framePlainText fit for visual tests but they can't include tags. So we need a mix between "contentText" and "plainText" to have a solution.

"page.plainText" and "page.framePlainText fit for visual tests but they can't include tags. So we need a mix between "contentText" and "plainText" to have the solution.

Yes, exactly. This is why this issue is "hard to fix" -- we need both, but

the function signatures are mixed up (same name, different functionality)
when we change behavior and/or names we break BC

Maybe the proper way of doing this is to create both versions, i.e.

waitForText / assertSelectorHasText (meaning "wait for the plain text content of the selector / "contained in the plain text")
waitForHTML / assertSelectorHasHTML (meaning "wait for inner HTML content of the selector" / "contained in the inner HTML")

If you want to do that it is not 2 kinds of methods you need but 3 kinds
Because HTML is interpreted by browser so you can be sure that page will be exactly the same.
I have yet got this kind of trouble
1 method to test TEXT with compute Style
1 method to test TEXT transformed in HTML page
1 method to test TEXT in source request
otherwise you can have 1 method using Dom parser function and produce mix TEXT.

@jefleponot

it is not 2 kinds of methods you need but 3 kinds

Yes, of course you're right, thanks for the hint. Any good idea for naming? (-> 2.0 series)

waitForContent (= unprocessed response)
waitForHTML (=normalized HTML from DOM after page load)
waitForText (= plain text from text nodes)?

ping @mickaelandrieu @BIGjuevos

Totaly agree with @jefleponot & @istr

I'm onboard with the new naming convention proposed by @istr.

Archiving issue using ARCHIVE label as CasperJS, like PhantomJS, is not actively maintained for now.


Improves performance of MyList

Makes a number of changes to improve performance of MyList:

Uses Argo endpoint to return My List data
Adds methods to remove items from list without reloading
Slims down props passed from the top level of the app (just the myListCount is passed now)

fixes #199

Yes. So fast now!
From line 16 of SavedItem/index.js:
{props.parent &&
Found in: {props.parent}
}
Does that href needs to be updated? It's not showing up in the MyList UI. The link is there, but there is no href attribute.

Also, the first time I open a request modal on the MyList page, the checkboxes are all checked (we want them to be unchecked). If I close and open a new modal without reloading the page, they are then unchecked.

@HaSistrunk thanks for the catch on both these things - had made notes to address them and then promptly forgot to before submitting the PR...


where is the file,data_yi34b_finetune.json?

hello,is the file data_yi34b_finetune.json still exists?thank you~

Hello, it is the file: https://github.com/OpenGVLab/InternVL/blob/main/internvl_chat/shell/data/internvl_1_2_finetune.json


Sniper sightlines stay on screen

Fedoraware Version Date:  September 6, 2023
Windows Version:    windows 10 enterprise ltsc
Configs used:
New folder.zip
Description:
Instead of Sniper Sightlines operating on Sniper, it works for all classes

This is a bug I've experienced before. Basically the sniper sightlines stays on screen lol

Note:
The config provided has both Vars::ESP::Players::SniperSightlines and Vars::Glow::Misc::Sightlines set to false.

Note: The config provided has both Vars::ESP::Players::SniperSightlines and Vars::Glow::Misc::Sightlines set to false.

So how do I set it back to true?


Update README.md

git clone command according to automatic instructions at https://github.com/fititnt/uwazi-docker, next try

Welcome to open source pull request side of the things! After some time we do a lot of this!


entityType search param should accept array

according to the openapi docs, the entityType query param currently accepts an enum of entity type.
should allow querying multiple entity types.

Thought about that, but given that at the moment the endpoint only returns persons and groups it was not needed. Is that important for generating the interfaces in the frontend? If not, I would leave it like that until places are correctly included.

if it's complicated to implement server side it's fine to leave as is for now - just would save changing interfaces later.

also, for consistency, should be renamed to kind ?


bug: Lifecycle Events not fired, Pages not destroyed

Type: bug
Ionic Version: 2.x
Platform: android 5.1 webview
My app is very simple. There is a HomePage. From there you can go into two other pages (both with this.nav.push();), on one there is a simple gallery where you can look at pictures, on the other page you take a picture and then pick a category for the thing on the picture. Once that is done, I do a this.nav.setroot(HomePage), Backbutton is disabled. In the HomePage I have a button that causes the app to upload all the pictures that haven't been uploaded yet. Once uploadig is finished, the uploader service fires an event. HomePage subscribes to that event (in the constructor).
The problem is: Once I've taken a couple of pictures and navigated back to the HomePage, the action defined in subscribe of the Homepage is fired multiple times.
To check if this comes from there simply being multiple instances of HomePage, I've added a random number to HomePage in the constructor that is logged to the console whenever there is any action going on the HomePage. It turns there are multiple instances of HomePage. That's why my app has been acting weird (to be precise: in the event subsciption a  Toast is presented, and That toast was shown a couple of times, depending on how many HomePages there were, this even prevented me from going to another Page until I've checked every single of the Toasts).
This means the pages are not destroyed.
The documentation says "They [pages] are destroyed when removed from the navigation stack (on pop() or setRoot())".
But apparently that is not correct as I am doing the setRoot() back to HomePage, and all the older HomePage pages are still alive and triggered by my custom events.

In an attempt to hotfix my issue, I tried to unsubscribe when certain lifecycle events are fired (ionViewWillLeave, ionViewDidLeave, ionViewWillUnload, ionViewDidUnload). This doesn't work. As a matter of fact, I've tested every single one of the lifecycle events, and not once was there anything fired (console.log etc).
ionic info
Your system information:
Cordova CLI: 6.2.0
Ionic Framework Version: 2.0.0-beta.7
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
OS: [Windows 10]
Node Version: v4.4.3

Hello, thanks for opening an issue with us! Would you be able to provide a plunker that demonstrates this issue? Thanks for using Ionic!

OK, I did my best here to demonstrate the structure of my app and added comments regarding what's going wrong.

Hello @runkelruebe ! Unfortunately it seems that your plunker has some syntax errors. Also unfortunately, i cannot seem to reproduce this issue with any of my tests. Would you mind fixing the plunker? Thanks !

Hello all! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!


Pass repeated, packed value

Hi,
What should I put as pokeball_type and capture_probability?
const POGOProtos = require('node-pogo-protos');

new POGOProtos.Data.Capture.CaptureProbability({
//  pokeball_type: ?
// capture_probability: ?
});

The .proto file is:
message CaptureProbability {
	repeated .POGOProtos.Inventory.Item.ItemId pokeball_type = 1 [packed=true];
	repeated float capture_probability = 2 [packed=true];
	double reticle_difficulty_scale = 12;
}

You can ignore packed, it's an internal option, and not even needed anymore.
repeated simply means that this field accepts more than one entry, i.e. an array. Example:
{
    pokeball_type: [
        POGOProtos.Inventory.Item.ItemId.ITEM_POKE_BALL,
        POGOProtos.Inventory.Item.ItemId.ITEM_GREAT_BALL
    ],
    capture_probability: [1, 1],
    reticle_difficulty_scale: 1
}

(Dummy values only, do not use it like this.)


ENH: update package version to 0.39.1

Hi! This is the friendly automated conda-forge-webservice.
I've started a version update as instructed in #88.
I'm currently searching for new versions and will update this PR shortly if I find one! Thank you for waiting!
Fixes #88

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

Because of a hickup in our binary building, we can't release this yet!

Closing as broken release


initial pass to fix stale viewports

@kckst8  - I can still take a pass at moving on viewstate stuff from IModelLoader to DefaultContentGroup provider if you would like me to?

@kckst8 - I can still take a pass at moving on viewstate stuff from IModelLoader to DefaultContentGroup provider if you would like me to?

Thanks @bsteinbk . I'd like to take a deeper look at these changes. We really need to refactor IModelLoader completely. It's gotten a bit out of hand. This could be the catalyst. I will let you know when I inevitably have questions


eating animation doesn't work correctly when the item is in off-hand

Fixed in version 1.4, thanks for reporting.


Create 0000-01-02-teutonwink.md

My first commit, today November 27th

this looks good. maybe try to add a meme next release


wait for build to pass

Before merge, wait for build to pass to avoid continuous failures.

@ashikmeerankutty


A couple questions

What do I need to add to my config file to get this to work?
Also do you think it would work with my two deebots?

Also Looking how to config


If MainViewController is not the first view controller there is an issue (Unbalanced calls to begin/end appearance transitions) when you push any new view controller.

New Issue Checklist

I have read the guidelines for contributing and I understand:

[x] My issue is happening in the latest version of SideMenu.
[x] My issue was not solved in the README.
[ ] My issue can not be answered on stackoverflow.com.
[x] My issue is not a request for new functionality that I am unwilling to build and contribute with a pull request.
[ ] My issue is reproducible in the demo project.

Issue Description

No repro in the latest build using the Example project.

Sorry. For test in the example you have too create a new view controller ("NewFirst") and push to the Main View Controller.

In my project, i there is a login storyboard before the Main View Controller.

You should not be pushing from one navigation controller into another navigation controller.

Can i use your pod if i have a login controllers before the main view controller?

Yes.

Could you be more explicit on how to do it? I tested without push from navigation controller and i obtained the same result.

@Ariel205  any update on this?


bug with polars.read_csv. Unable to handle comma within quoted field "Some text, some other text"

Unable to handle this CSV. Index 6, there is a comma in "Banana Boat Sunscreen, 8 oz" which causes an error
"Index", "Item", "Cost", "Tax", "Total"
 1, "Fruit of the Loom Girl's Socks",  7.97, 0.60,  8.57
 2, "Rawlings Little League Baseball", 2.97, 0.22,  3.19
 3, "Secret Antiperspirant",           1.29, 0.10,  1.39
 4, "Deadpool DVD",                   14.96, 1.12, 16.08
 5, "Maxwell House Coffee 28 oz",      7.28, 0.55,  7.83
 6, "Banana Boat Sunscreen, 8 oz",     6.68, 0.50,  7.18
 7, "Wrench Set, 18 pieces",          10.00, 0.75, 10.75
 8, "M and M, 42 oz",                  8.98, 0.67,  9.65
 9, "Bertoli Alfredo Sauce",           2.12, 0.16,  2.28
10, "Large Paperclips, 10 boxes",      6.19, 0.46,  6.65

It seems tricky to solve... Should I revert back to using default python csv reader for transforming the file?
We could also read a line at the time and then do weird regular expressions to fix the file, but it seems a bit too much

Mmm, I feel like this might be a bug with polars then. Could you open a bug report with them? This is a pretty standard thing to do when reading a CSV file, since the string is quoted.

We could include a "csv sanitizer" before reading in. The polar's issue on this references tools like qsv and xsv, but they are both Rust tools. Couldn't easily find a Python CSV sanitizer though.

I have added a bug report: https://github.com/pola-rs/polars/issues/15011. But maybe they do not want to fix it because whitespace according to the very old csv spec should be considered part of the string

They responded to the issue, and they don't see it as an issue, so.... what to do now?

Hmm, I think maybe for now we assume the CSV is formatted correctly (i.e. no leading whitespace between comma separators). And if it becomes an issue we look into using the duckdb approach they mentioned in the issue.
For instance, if we remove the leading whitespace in the example you gave, it works as intended.
import polars

csv_content = """
"Index","Item","Cost","Tax","Total"
 6,"Banana Boat Sunscreen, 8 oz",6.68,0.50,7.18
 7,"Wrench Set, 18 pieces",10.00,0.75,10.75
 8,"M and M, 42 oz",8.98,0.67,9.65
 9,"Bertoli Alfredo Sauce",2.12,0.16,2.28
10,"Large Paperclips, 10 boxes",6.19,0.46,6.65
"""

with open("temp.csv", "w") as csv_file:
    csv_file.write(csv_content)

df = polars.read_csv("temp.csv")

print(df)

Deal! Lets do that


Can't get to build for Unity 5

I can't understand these errors when build. I don't have the lib files either.

sorry about the long delay in answering. please note that our example code does not support unity 5 yet. we hope to update the example soon. we are also happy to accept pull requests...

Hello, is there an update for unity 5 now?
My problem is, that the linker does not open "com.esri.prt.core.lib", I have set the absolut path to the lib, but the linker neither can open it.

hi, thanks for your interest.
while we had to deprecate our unity plugin example due to lack of resources, the CE SDK itself should work in unity 5. what exactly are you trying to do and what is the exact error message? which compiler/linker are you using? unity 5 seems to require VS 2015 according to https://docs.unity3d.com/Manual/NativePluginInterface.html.

closing due to inactivity


Get access to Pulsar

What
The comms team mentioned we may be able to use Pulsar to learn from what people share on social media.
Why
To inform the inclusion discovery.
Tasks

[x] Email comms team to get @amyj2110 and @ericlamarca access to Pulsar
[ ] Get access and a demo of the platform
[ ] Agree on what we want to learn

Sent the NHS Digital comms team an email asking for accounts to be set up for @amyj2110 and @ericlamarca

@henocookie to reply to Ammar from the comms team to thank them for setting up accounts. We have parked this for now, but may pick it up again later.

I have replied to Ammar from the comms team to thank them for setting up Pulsar accounts for myself, @amyj2110 and @ericlamarca. We have parked this for now but may pick it up again later when we have hypotheses to test.


Add support for pod/exec rbac

For pod/exec action, kube-apiserver sends two sar requests, one for pods/read and then for pods/exec/create. With this change, user will be able to only give/block exec into a pod.
Also added log line to make sure we know when a SAR request comes to guard. We are logging the request body here

@tamalsaha could you please release the image containing this commit? We can release the image on our side only if it has the same tag as the image released here😅

Done! https://github.com/kubeguard/guard/releases/tag/v0.8.0

Done! https://github.com/kubeguard/guard/releases/tag/v0.8.0

Thanks a lot!


Disk redirection failing with "Failed to check FreeRDP file descriptor"

Hi!
I have two pc. on one machine disk redirection works awesome, flawlessly.
On another machine whenever I try to download or upload from/to the Linux folder it crashes!
with
"Warning xf_GetWindowProperty (140): Property 337 does not exist
connected to <IP_ADDRESS>.100:3389
registered device #1: DISK (type=8 id=1)
send: Connection reset by peer
Failed to check FreeRDP file descriptor"
interestingly sometimes it crashes when half of the file was downloaded/uploaded
sometimes, when from the start even prior to start of the copy.
It's a Ubuntu 11.10 32bit without gnome.
The remote Windows machine is the same.

fixed on latest revisions (sorry)

This is happening again! Help me debug it for better. What kind of information is needed?

Event log is showing: TermDD Event ID: 50 "The RDP protocol component "DATA ENCRYPTION" detected an error in the protocol stream and has disconnected the client."
sometimes it's happening when just opening redirected folder (i.e without any file copy/paste operations)

closing this issue to open more detailed one issue with all errors log


App crashes using react-native-maps and react-native-admob together

First, I created a project with react-native-maps, and it worked normally, everything works
then, I added react-native-admob, and the map no longer works, and I get a message: "the application is crashed", why is this happening?
If I comment the map code, the application works fine and shows the banner, but if I uncomment it, the application is crashed :(

check this com.google.android.gms:play-services-ads:+
in both gradle files

Having a similar issue on iOS. Build an app with maps. Works. Build an app with Admob works. Build app using both and I get Argument list too long: recursive header expansion failed & RGADBANNERVIEW not found in UI Manager.

I have the same issue.
Just simple react native maps app, when I add admob banner, app starts to crash on startup or on screen orientation change.
Tried also expo-ads-admob, @react-native-firebase/admob - same issue.


Broken link in Open Autonomy docs

The link
https://docs.autonolas.network/open-autonomy/guides/set_up.md#set-up-the-framework
in page
https://docs.autonolas.network/demos/hello-world/#architecture-of-the-demo is broken.
It should instead be https://docs.autonolas.network/open-autonomy/guides/set_up/

Addressed on https://github.com/valory-xyz/hello-world/pull/19


[stable/kapacitor] Add envVars for kapacitor configuration

Kapacitor can use environment variables to set it's configuration using a var of the form KAPACITOR_* (the chart itself already uses it to set the  influx url and the kapacitor hostname).
I propose to extend kapacitor chart with env vars, you can configure the chart from the values.yaml file or use --set as in
# E.g. enabling slack and setting its url
helm install --name kapacitor-rls \
  --set influxURL=http://influx-url:8086,envVars.KAPACITOR_SLACK_ENABLED=true,envVars.KAPACITOR_SLACK_URL=https://xxxxx/yyy/zzz/aaaa \
  stable/kapacitor

The whole charts lacks a table with possible configuration settings. Would you like to add it?

@jackzampolin

@k8s-bot ok to test

I have a large change coming to this chart that I'm testing right now. This change will also work for the new chart so I'm happy to merge it.
There were some changes to kapacitor that allow for scraping of all /metrics endpoints in the cluster through it. Also the new chart supports the full configuration file without need for the ENV.  But supporting configuration via ENV with this PR would be an improvement over the current one.

@unguiculus Added the table, man.
@jackzampolin Great! Hope to see your work merged soon =)


Can't get minikube + kubevirt working

Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
I'm following this guide https://kubevirt.io/quickstart_minikube/ and can't get virt-handler pod to start.
Andres-MBP2019:~ andres$ kubectl get pods -n kubevirt
NAME                              READY   STATUS              RESTARTS   AGE
virt-api-84d977f4b8-fncqb         1/1     Running             0          74m
virt-api-84d977f4b8-xj2cd         1/1     Running             0          74m
virt-controller-58f479f68-5cjgr   1/1     Running             0          73m
virt-controller-58f479f68-nrzpf   1/1     Running             0          73m
virt-handler-rhw7v                0/1     RunContainerError   0          73m
virt-operator-fddd98fc8-vjnk5     1/1     Running             0          79m
virt-operator-fddd98fc8-zkll9     1/1     Running             0          79m

Output of kubectl describe pod virt-handler-rhw7v -n kubevirt: https://gist.github.com/amontalban/f14d65880bd3e2bccdf5179ab85e4e86
What you expected to happen:
To have a fully working kubevirt deployment.
How to reproduce it (as minimally and precisely as possible):
Follow https://kubevirt.io/quickstart_minikube/ guide on a macOS 10.14.6 with VirtualBox 6.0.10.
Anything else we need to know?:
Environment:

KubeVirt version (use virtctl version): Not yet installed
Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.2", GitCommit:"f6278300bebbb750328ac16ee6dd3aa7d3549568", GitTreeState:"clean", BuildDate:"2019-08-05T16:54:35Z", GoVersion:"go1.12.7", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.2", GitCommit:"f6278300bebbb750328ac16ee6dd3aa7d3549568", GitTreeState:"clean", BuildDate:"2019-08-05T09:15:22Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}

VM or VMI specifications:
Cloud provider or hardware configuration: minikube
OS (e.g. from /etc/os-release):

NAME=Fedora
VERSION="30 (Container Image)"
ID=fedora
VERSION_ID=30
VERSION_CODENAME=""
PLATFORM_ID="platform:f30"
PRETTY_NAME="Fedora 30 (Container Image)"
ANSI_COLOR="0;34"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:30"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f30/system-administrators-guide/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=30
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=30
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Container Image"
VARIANT_ID=container

Kernel (e.g. uname -a):
Linux minikube 4.15.0 #1 SMP Fri Aug 2 16:17:56 PDT 2019 x86_64 GNU/Linux
Install tools:
Others:

@amontalban thanks for reporting this.
Can you please check if there are some logs for the virt-handler container.
run kubectl -n kubevirt logs -f virt-handler-rhw7v
Can you also ssh into the machine minikube ssh and check the machine logs ?
Thanks!

It will somehow break dockerd service in VM.

Restart minikube VM
minikube ssh "journalctl -u docker"

Got the same issue on minikube 1.3.1, started worked for me with Minikube 1.4.0.

minikube v1.4.0 fixed it, but now I just keep hitting (even on GKE)
Error from server (Forbidden): error when creating "https://raw.githubusercontent.com/kubevirt/kubevirt.github.io/master/labs/manifests/pvc_fedora.yml": persistentvolumeclaims "fedora" is forbidden: Internal error occurred: 2 default StorageClasses were found

2 default StorageClasses were found

Did you just follow the lab on a clean minikube instance? Wondering why there are 2 default SCs... :thinking:
Please create a separate issue for the GKE problem and provide version numbers etc., thanks.

@slintes oh yeah sorry, I'll create a separate issue for the GKE.
Following this https://kubevirt.io/pages/gcp.html works perfectly.
I've tried to setup a clean Minikube installation twice and ensured that I setup everything correctly according to the documentation provided in the labs, but this keeps happening.
As you can see it's not only a Minikube issue, but it also happens when doing it on a GKE cluster.

I've tried to do a clean Minikube installation twice and ensured that I setup everything correctly according to the documentation provided in the labs, but that keeps throwing.

ack, let me try to reproduce

@slintes were you able to reproduce it? Because it seems like it's not an issue with Minikube, but with KubeVirt over all.

Hey, sorry for the delay.
Well, the error message is saying everything: there are 2 default storage classes:

the 1st is installed by minikube (see below, this seems to be new) or GCE respectively:

$ k get sc
NAME                 PROVISIONER                AGE
standard (default)   k8s.io/minikube-hostpath   145m

the 2nd is installed by our storage setup, see last part of [0]

Moving this to the correct repository, as this is not an issue with KubeVirt itself.
[0] https://raw.githubusercontent.com/kubevirt/kubevirt.github.io/master/labs/manifests/storage-setup.yml


Update stream codebase

resolves #113

please note we have to use master branch of integritee-pallets for CI to pass


nightly-2024-10-18 changed rustdoc JSON format

Caused by https://github.com/rust-lang/rust/pull/131595#event-14699839561
Probably easy to fix. See https://github.com/cargo-public-api/cargo-public-api/blob/main/docs/CONTRIBUTING.md#how-to-adapt-to-rustdoc-json-format-changes

Closed by https://github.com/cargo-public-api/cargo-public-api/pull/638
Released in https://github.com/cargo-public-api/cargo-public-api/releases/tag/v0.40.0


add withoutboats to the language-design team

@withoutboats - is the name "Without Boats" what you would prefer? That's what I used. :)

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

Works for me :-)


Tests Fail

Tests fail:
$ prove -e 'perl6' -vlr t/
t/client.t .. ===SORRY!===
Expected MAST::Frame, but didn't get one
Dubious, test returned 1 (wstat 256, 0x100)
No subtests run
t/server.t ..
1..29
ok 1 - The object is-a 'JSON::RPC::Server'
ok 2 - rpc call with positional parameters
ok 3 - rpc call with positional parameters
ok 4 - rpc call with named parameters
ok 5 - rpc call with named parameters
ok 6 - a Notification
ok 7 - a Notification
ok 8 - rpc call of non-existent method
ok 9 - rpc call with invalid JSON
ok 10 - rpc call with invalid Request object
ok 11 - rpc call Batch, invalid JSON
ok 12 - rpc call with an empty Array
ok 13 - rpc call with an invalid Batch (but not empty)
ok 14 - rpc call with invalid Batch
ok 15 - rpc call Batch
ok 16 - rpc call Batch (all notifications)
ok 17 - no params and empty response
ok 18 - method named rpc can be called
ok 19 - parse error (empty string)
ok 20 - parse error (top container is not JSON Object or Array)
ok 21 - invalid request (null is not the same as omitted params)
ok 22 - invalid params (no candidate found)
ok 23 - private method not found
ok 24 - batch recursion forbidden
ok 25 - null id does not mean notification (null is not the same as omitted id)
ok 26 - internal error
ok 27 - custom error
ok 28 - can invoke language built-in method name
ok 29 - notification was processed
ok

Test Summary Report
-------------------
t/client.t (Wstat: 256 Tests: 0 Failed: 0)
  Non-zero exit status: 1
  Parse errors: No plan found in TAP output
Files=2, Tests=29,  8 wallclock secs ( 0.04 usr  0.00 sys +  8.06 cusr  0.35 csys =  8.45 CPU)
Result: FAIL

Thanks for the report. What is your Perl6 version?

$ perl6 -v
This is Rakudo version 2016.06-10-g7cff429 built on MoarVM version 2016.06
implementing Perl 6.c.

$ uname -a
Linux  3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a
LSB Version:	core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID:	Ubuntu
Description:	Ubuntu 12.04 LTS
Release:	12.04
Codename:	precise

$ lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                2
On-line CPU(s) list:   0,1
Thread(s) per core:    1
Core(s) per socket:    2
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 23
Stepping:              6
CPU MHz:               1998.000
BogoMIPS:              5984.98
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              6144K
NUMA node0 CPU(s):     0,1

This looks like LWP::Simple issue (or IO::Socket::SSL), for example:
Zonk.pm
use LWP::Simple;
unit class Zonk;

Error occurs when module is loaded:
$ perl6 -I. -e 'use Zonk;'
===SORRY!===
Expected MAST::Frame, but didn't get one

I'm reporting it to LWP.

https://github.com/perl6/perl6-lwp-simple/issues/3

Fixed, this was LWP SSL loading bug.


I used version not the node_modules android version

in the external libraries list show my react-native version is "0.55.3", but I didn't do any update react-native action, and my node_modules /react-native/android only have '0.42.3' folder

Closing as duplicate of #19259


Unable to serialize object to json

Hi,
I'm trying to serialize the object EVendor below into json, but I get an exception "the getter isEnum was called on null". Follow the object I'm trying to serialize below:
part 'package:ucount_flutter/entities/evendor.g.dart';

@serializable
class EVendor  extends _$EVendorSerializable{
  int id;
  int userID;
  int categoryID;
  String name;
  String description;
  DateTime dateInserted;

  EVendor({this.name, this.id});

  noSuchMethod(Invocation invocation) {
    super.noSuchMethod(invocation);
  }
}

Exception

16:54:30.655 1 finer runtime.gc collection time 141ms • 43,4MB used of 59,5MB • isolates/766702422
16:54:47.908 2 finer runtime.gc collection time 160ms • 44,2MB used of 60,2MB • isolates/766702422
16:54:50.718 3 info flutter.tools I/flutter (12459): Salvou form:sdfdd
16:54:56.126 4 info flutter.tools E/flutter (12459): [ERROR:topaz/lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
16:54:56.126 5 info flutter.tools E/flutter (12459): NoSuchMethodError: The getter 'isEnum' was called on null.
16:54:56.126 6 info flutter.tools E/flutter (12459): Receiver: null
16:54:56.126 7 info flutter.tools E/flutter (12459): Tried calling: isEnum
16:54:56.126 8 info flutter.tools E/flutter (12459): #0      Object.noSuchMethod (dart:core/runtime/libobject_patch.dart:46:5)
16:54:56.126 9 info flutter.tools E/flutter (12459): #1      _serializeObject (file:///C:/Users/tezine/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dson_core-0.15.0+1/lib/src/serializer.dart:114:18)
16:54:56.126 10 info flutter.tools E/flutter (12459): #2      objectToSerializable (file:///C:/Users/tezine/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dson_core-0.15.0+1/lib/src/serializer.dart:69:12)
16:54:56.126 11 info flutter.tools E/flutter (12459): #3      toJson (file:///C:/Users/tezine/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dson_core-0.15.0+1/lib/src/serializer.dart:27:28)
16:54:56.126 12 info flutter.tools E/flutter (12459): #4      _AppModel&Model&BaseModel&TransactionsModel&VendorsModel.insertVendor (package:ucount_flutter/models/vendors_model.dart:21:14)
16:54:56.126 13 info flutter.tools E/flutter (12459): <asynchronous suspension>
16:54:56.126 14 info flutter.tools E/flutter (12459): #5      VVendorsAddEditState._btnSaveClicked (package:ucount_flutter/views/vendors/vvendors_add_edit.dart:124:16)
16:54:56.126 15 info flutter.tools E/flutter (12459): #6      VVendorsAddEditState.build.<anonymous closure>.<anonymous closure> (package:ucount_flutter/views/vendors/vvendors_add_edit.dart:37:28)
16:54:56.126 16 info flutter.tools E/flutter (12459): #7      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:494:14)
16:54:56.126 17 info flutter.tools E/flutter (12459): #8      _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:549:30)
16:54:56.126 18 info flutter.tools E/flutter (12459): #9      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102:24)
16:54:56.126 19 info flutter.tools E/flutter (12459): #10     TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:161:9)
16:54:56.126 20 info flutter.tools E/flutter (12459): #11     TapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:94:7)
16:54:56.126 21 info flutter.tools E/flutter (12459): #12     PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:315:9)
16:54:56.126 22 info flutter.tools E/flutter (12459): #13     PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:73:12)
16:54:56.126 23 info flutter.tools E/flutter (12459): #14     PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:101:11)
16:54:56.126 24 info flutter.tools E/flutter (12459): #15     _WidgetsFlutterBinding&BindingBase&GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:143:19)
16:54:56.126 25 info flutter.tools E/flutter (12459): #16     _WidgetsFlutterBinding&BindingBase&GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:121:22)
16:54:56.126 26 info flutter.tools E/flutter (12459): #17     _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:101:7)
16:54:56.126 27 info flutter.tools E/flutter (12459): #18     _WidgetsFlutterBinding&BindingBase&GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:64:7)
16:54:56.126 28 info flutter.tools E/flutter (12459): #19     _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:48:7)
16:54:56.126 29 info flutter.tools E/flutter (12459): #20     _invoke1 (dart:ui/hooks.dart:134:13)
16:54:56.128 30 info flutter.tools E/flutter (12459): #21     _dispatchPointerDataPacket (dart:ui/hooks.dart:91:5)

Here is my pubspec.yaml:
dependencies:
  flutter:
    sdk: flutter
  path_provider: ^0.4.1
  intl: ^0.15.7
  sqflite: any
  scoped_model: ^0.3.0
  navigate: ^0.0.7
  dson: ^0.15.0+1

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2

dev_dependencies:
#  flutter_test:
#    sdk: flutter
  intl_translation: ^0.16.8
  build_runner: ^0.8.10

Any ideas? I'm running flutter 0.5.1 and dart 2.0.0 dev 58
Thank you,
Bruno.

Did you initialize the reflector?
Could you show an example of the main.dart file

Hi, thank you for your help!
Here's my main.dart:
//region Imports
library example.object_to_json;
import 'package:flutter/material.dart';
import 'package:scoped_model/scoped_model.dart';
import 'package:ucount_flutter/localizations/localization.dart';
import 'package:ucount_flutter/models/AppModel.dart';
import 'package:ucount_flutter/redux_localization.dart';
import 'package:ucount_flutter/themes/theme_default.dart';
import 'package:ucount_flutter/views/vmenu.dart';
import 'package:dson/dson.dart';
part 'main.g.dart'; //precis para dson
//endregion

void main() {
  _initMirrors(); //precisa disso para dson funcionar
  runApp(new UCountApp());
}

class UCountApp extends StatelessWidget {

  UCountApp();

  @override
  Widget build(BuildContext context) {
    return ScopedModel<AppModel>(
      model: new AppModel(),
      child: new MaterialApp(
        home: VMenu(title:'UCount'),//nao precisa qdo usa Navigator
        title: new ReduxLocalizations().appTitle,
        theme: ThemeDefault.theme,
        localizationsDelegates: [
          new ArchSampleLocalizationsDelegate(),
          new ReduxLocalizationsDelegate(),
        ],
//        routes: UCountRoutes.getRoutes()//usado com Navigator
      ),
    );
  }
}

have you used the build script yet?
You should probably do that if you haven't.

Yes, I had executed "flutter packages pub run build_runner build". What am I missing ?

ok, so the error basically is caused because there is no a default constructor without parameters it could take.
My recomendation would be that you create a separate constructor for id and name, or you could make them final.
@serializable
class EVendor extends _$EVendorSerializable {
  int id;
  int userID;
  int categoryID;
  String name;
  String description;
  DateTime dateInserted;

  EVendor();

  EVendor.from({this.name, this.id});

  noSuchMethod(Invocation invocation) {
    super.noSuchMethod(invocation);
  }
}

In fact, I think that's a bug so let me fix it

Excelent! It worked Luis! Thank you!!


Deprecation warnings and other issues

@shama  @kaelzhang  @lancejpollard @tschaub @groner @cowboy @alexgorbatchev
If I try to run the tests on Windows, I can trigger this one:
(node:2208) DeprecationWarning: Calling an asynchronous function without callback is deprecated.

This is on NodejS v. 6.7.0. Then I upgraded to NodeJS v. 7.0, and got even more deprecation warnings, and things also stopped working.
Dunno how to reproduce it, but 2 of my files got deleted - not refreshed on change - as I expected. This on NodejS 7.0.  When I tried again with some dummy test files, some of this files was gone too!!!
I also got complains regarding the EventEmitter telling me that "domain" is not valid etc. This part of the EventEmitter code was complaining: https://github.com/nodejs/node/blob/master/lib/events.js#L46-L48
Is there anyway of spawn the child process and run this on each single CPU thread?

Please avoid mass pinging people. Nearly all the people you've pinged are not actively involved in the development of this library and it just creates noise for them.
Could you provide code that you tried to produce those deprecation warnings?
As for spawning child processes, Node.js provides that, please read their docs.

@shama If you use a windows computer and run the tests on this repo you will get the warnings. At least if you are using NodejS 7. You would also get a node:6956 issue. To many listeners that can cause a memory leak.


Add support for the Base

This PR adds support for the base included in the Pod 4 Ultra:

Expose model, hardware and software version
Expose binary sensor for snore mitigation
Expose number entities for head and feet angles
Expose base preset (sleep, relaxing, or reading)

While trying to make this work, I did quite a lot of refactoring:

Fix linter warnings and various fixes based on type checks
Remove unused or duplicate code
Fix blocking operation that Home Assistant warns about
Rename heat_coordinator to device_coordinator because it's used to update the device data - heat might be a legacy name?
Improve the readability of EightUserSensor by assigning state and device classes explicitly
Switch to entity names everywhere. This will change the ID of newly added entities from users_s_bed_presence to users_s_eight_sleep_side_bed_presence, but it's been the mandatory way to name entities for over two years.

@Nezz, test and verified this works. Thanks for adding this! I'm sure the pod4 base users will really appreciate it.


logging in seems to open the artifact window right off the rip

except its blank/black.  only happens the first time upon logging in and only since the most recent change(s).
lmk if you need a screenie :)

245x ...ddOns\Blizzard_ArtifactUI\Blizzard_ArtifactPerks.lua:24: Usage: GetAppearanceInfoByID(artifactAppearanceID)
[C]: in function GetAppearanceInfoByID' ...ddOns\Blizzard_ArtifactUI\Blizzard_ArtifactPerks.lua:24: in function RefreshModel'
...ddOns\Blizzard_ArtifactUI\Blizzard_ArtifactPerks.lua:180: in function `TryRefresh'
...ddOns\Blizzard_ArtifactUI\Blizzard_ArtifactPerks.lua:81: in function <...ddOns\Blizzard_ArtifactUI\Blizzard_ArtifactPerks.lua:80>
Locals:
(*temporary) = nil
the number at the beginning (245x) kept going up until i closed the all empty/black AF window fwiw in case tha thelps.

I don't think that this is SVUI because that function isn't called by any of the SVUI code... Maybe it's the fact that I've got the artifact frame in the mover... I'll remove it for now and see if that removes your issue. I'll post an update with that and with a reverse out of the talking head frame change later today.

I'm uploaded changes to the artefact bar which should mean that it's highly unlikely SVUI would do this.


Multiple Taggle inputs on one page

I'm trying to add a taggle div to list of divs on a page. In looking at the event handler for the add and remove events, how do I determine which specific div triggered the add? the event.target.id does not have the id I added.
Any guidance would be most appreciated. Thanks for sharing your work.

I figured it out. I need to traverse the path (element.parentNode) to get to the parent or recursively if the taggle is nested.


Document that datasets support pathlib.Path

All datasets' root param already supports pathlib.Path because they just call os.expanduser() under the hood, which will nicely handle Path. So this PR just adds that to the docstrings.
This isn't explicitly tested, but https://github.com/pytorch/vision/pull/8320 should prove that Path works fine (@pmeier if there's a better way to test that consistently, LMK).
I'm not updating the type annotations because in all honestly I really, REALLY don't want to spend my time doing that. I gave it a go adding the annotations mentioned in https://github.com/pytorch/vision/issues/8120#issue-2000458034 to just the imagenet file, and after running for 3+ minutes mypy started to give me hell. So I'm just not doing it. If someone wants to spend the time and add the annotations, I'll be happy to stamp the PR.
With that and https://github.com/pytorch/vision/pull/8314, https://github.com/pytorch/vision/issues/8120 could be closed.

Can you post here some of the mypy errors you see with imagenet and updated typing hints?

Sorry, mypy takes 3+ minutes to run on my machine and honestly I just don't want to go back to it knowing that I won't be addressing type annotations for all those 40+ files anyway.

BC linter fails with these warnings:
Warning: Function find_classes: directory changed from str to Union[str, Path]
Warning: Function make_dataset: directory changed from str to Union[str, Path]
Warning: Function DatasetFolder.make_dataset: directory changed from str to Union[str, Path]
Warning: Function DatasetFolder.find_classes: directory changed from str to Union[str, Path]
Warning: Function load_meta_file: root changed from str to Union[str, Path]
Warning: Function parse_devkit_archive: root changed from str to Union[str, Path]
Warning: Function parse_train_archive: root changed from str to Union[str, Path]
Warning: Function parse_val_archive: root changed from str to Union[str, Path]

Yes, annotations have changed, but they were expanded. Passing str is still fully acceptable.

Here is the green mypy job.

Thanks @pmeier


"action" attribute on custom elements is converted into a url

Any custom element that has an "action" attribute has that attribute automatically converted into a url.
This can be fixed by only targeting form action attribute
https://github.com/Polymer/polymer/blob/c7169640c567fb9bc709207ecbd9f747f8df48d5/src/lib/url.js#L78

+1

Closing this issue due to age and the release of version 1 of Polymer - please feel free to re-open if this is incorrect.


APEXCORE-662 Raising StramEvent in case of heartbeat miss

@tushargosavi Please review. I have tested this externally on gateway, attaching screenshot of the same.

@vrozov  I have modified the code, please review.

@vrozov have made the code changes. Have tested the same

Before these code changes we were getting the log entry for missed heartbeat multiple times now we will get that log entry only once.

@vrozov have made the changes please review.

rebase against upstream/master

@vrozov rebased please merge.


Regex not working with jQuery validation 1.11 and 1.13

Hi again
Seems like Regex validation is not working.
I've activated the pattern option in the config but nothing happens in my browser.
I need to ensure the fields firstname and lastname are only letters. The other constraints works.
Here what I obtain in my browser's console :

Perhaps it could help you.

Having failed pattern validation introduces the possibility to submit the form even if the entered information is not right.

@BboyKeen can you double check that you are including the additional-methods.js in your page. (https://github.com/boekkooi/JqueryValidationBundle/blob/master/docs/usage.md#additional-rules)
If this is the case then can you provide a example gist with the form, data model (if any) and the template.

@boekkooi You're right. I forgot to add the additional-method.js in my page. It's now fully working
Sorry for the inconvenience

No problem! I'm happy it works. If you have any more issue don't hesitate to report them.


How to enable Bootstrap 4 in django-tinymce

I just installed django-tinymce==3.3.0 on Djang0=3.0.2 using python 3.6.9. I am only using tinymce in the Django admin. I am also using bootstrap 4 in the main web site, and there are text fields in the admin that I need to format for bootstrap 4.
I read this article https://pythonhosted.org/django-tinymce4-lite/advanced.html (perhaps an old article?) and made some additions to my settings for tinymce to be as follows. The path for the content_css is relative to my static_url definition. It is the same path I use in the web site.
TINYMCE_DEFAULT_CONFIG = {
    "height": "320px",
    "width": "960px",
    "menubar": "file edit view insert format tools table help",
    "plugins": "advlist autolink lists link image charmap print preview anchor searchreplace visualblock$
    "fullscreen insertdatetime media table paste code help wordcount spellchecker",
    "toolbar": "undo redo | bold italic underline strikethrough | fontselect fontsizeselect formatselect$
    "aligncenter alignright alignjustify | outdent indent |  numlist bullist checklist | forecolor "
    "backcolor casechange permanentpen formatpainter removeformat | pagebreak | charmap emoticons | "
    "fullscreen  preview save print | insertfile image media pageembed template link anchor codesample |$
    "a11ycheck ltr rtl | showcomments addcomment code",
    "custom_undo_redo_levels": 10,
    "browser_spellcheck": True,    "contextmenu": False,
    "content_css": 'memorabilia/css/bootstrap.min.css',
}
TINYMCE_EXTRA_MEDIA = {
    'css': {
        'all': ['memorabilia/css/bootstrap.min.css', ],
    },
    'js': ['memorabilia/js/bootstrapbundle.min.js', ],
}

I tried loading some hand-crafted bootstrap 4 html (that displays properly in my site) into the tinymce editor, and the columns were ignored.
The html:

Hallmark
The Anniversary Times

JAMES and EVELYN PHILLIPS
Were Married on Thursday, June 29, 1950

MUSICAL MEMORIES
It's a Lovely Day Today ... I Don't Care If the Sun Don't Shine ... Sleigh Ride ... Silver Bells ... A Bushel and a Peck ... Mona Lisa .. Music Music Music ... Autumn Leaves ... C'est Si Bon ... Frosty the Snowman ... Dearie

HEADLINES OF THE TIMES
N. Korean troops cross 38th parallel invading S. Korea; use Russian weapons ... Ben . Hogan wins US Open Golf Championship at Ardmore, 3 Pennsylvania ... President Truman attends reunion of his WWI unit in St. Louis, Mo.

THE BEST IN ENTERTAINMENT

Best Movie Best Actor Best Actress TV Shows

World Series

All About Eve
Jose Ferrer
Judy Holliday
Mama
Texaco Star Theatre
NY Yankees over Phillies

PRESIDENT
Harry S Truman
VICE PRESIDENT
Alben W. Barkley

THAT WAS THEN...THIS IS NOW

&nbsp
1950
1990

3 Br. Home
$8,450
$93,400

Avg. Income
$3,319
$33,817

New Ford
$1,393
$11,429

Gas, 1 gal.
$.27
$1.03

Bread, 1 lb.
$.14
$.67

Milk, 1 gal.
$.82
$2.40

Bacon, 1 1b.
$.64
$1.72

WHAT ELSE WAS NEW?
Cyclamate artificial sweetener & Xerox copy machine ... PREVENTION MAGAZINE ... First credit card, Diner's Club, ssued ... First commercial computer, Univac, sold ... Minute Rice ... Minn. Valley Canning took name Green Giant ... Grand Coulee Dam dedicated by Truman in Wash. ... Dick Button, US figure skating champion

THOSE WERE THE DAYS

1950 -- JAMES and EVELYN Were Married Charles Schulz's PEANUTS comic strip began with Charlie Brown: "Good grief™ ...- Smokey Bear rescued from forest fire ... GUYS AND DOLLS opened on Broadway ... Bomb shelters built ... Fashions: pedal pushers & bare midriffs ... Korean War began ... New on TV: OZZIE & HARRIET and YOUR HIT PARADE: "So long for awhile”

1960 -- JAMES and EVELYN's Tenth Anniversary | Last model of Edsel ... MY THREE SONS & THE FLINTSTONES began on TV ... BYE BYE BIRDIE, CAMELOT and THE MIRACLE WORKER on Broadway ... Ray Charles received his first Grammy award ... New 50 star flag ... Olympic golds won in Squaw Valley: US in hockey, Carol Heiss & David Jenkins in skating ... Kennedy & Nixon TV debate

1975 -- JAMES and EVELYN's Twenty-Fifth Anniversary Mood rings and Pet Rocks were fads ... Bruce Springsteen released hit album BORN TO RUN ... A CHORUS LINE opened on Broadway ... Beverly Sills debuted at Met. Opera House ... Film JAWS broke box office records; nationwide JAWS mania ... Calculators and electronic watches ... Last telecast of GUNSMOKE on TV

What I see in the preview pane of tinymce:

What I see in my site using bootstrap 4:

Thanks for your help in getting bootstrap 4 to work with tinymce.
Mark

Never mind. The correct settings is:
"content_css": '/static/memorabilia/css/bootstrap.min.css',

because STATIC_URL = '/static/'
The TINYMCE_EXTRA_MEDIA is not needed (probably redundant).
Mark


I can't use ZenMode after publishing on Repo

Hello,
I dunno if this is a bug per-se but for whatever reason ZenMode stops working after I publish site on Github. It works in preview but dies once published.  Clicking ZenMode button in the articles does nothing.
Here's my site
https://xerolinux.xyz

You should try to disable rocket loader in cloudflare's config.
Even though this is documented under cloudflare pages' section, it really doesn't matter what your origin is as long as you have it enabled.
https://blowfish.page/docs/hosting-deployment/#cloudflare-pages

@wtchangdm
Thanks solved.. I should've read more...


[Task]: Hardcoded POC

Hardcode pages API response and run all other init API's in-parallel.
Possible exception:

fetching DSL's of all other pages.
Because we need the pageList to send the pageId's of other pages.

AppInit logic needs to be moved from the AppViewer/index.ts to loader and somewhere outside.
So the API calls happens before the chunk gets loaded.
P.S. Same for editor


Implement split & scatter in lightning

Feature Request
Is your feature request related to a problem? Please describe:

after #290, we need split & scatter region before send kvs to TiKV peers.
Describe the feature you'd like:

port split & scatter from current importer.
Describe alternatives you've considered:

maybe we can abstract split & scatter logic, both BR and Lightning can reuse this
Teachability, Documentation, Adoption, Optimization:

Note: This is part of #300. Close?

Local backend has been implemented, considered fixed.


More speed

This brings performance of my "Load 300 nodes with 15 defined properties" test from around 18 i/s to 30 i/s.
The most significant performance gains were from https://github.com/neo4jrb/neo4j/commit/115d6788a70c8d1f35243a476393f717e903aa4e and https://github.com/neo4jrb/neo4j/commit/d393f0d5700dba9d187e36dafab2d1321a08e59b. They both aim to replace or skip the slowest methods in active_attr. I'm gonna do one more commit with some comments in code to explain new methods.

Coverage increased (+0.0%) to 98.44% when pulling 1986ab04452408f7179999e69201f05f6999f545 on more_speed into ab652fa45603155146a2613e3e9fa8f933be86ef on master.

Coverage increased (+0.0%) to 98.44% when pulling 1986ab04452408f7179999e69201f05f6999f545 on more_speed into ab652fa45603155146a2613e3e9fa8f933be86ef on master.


[catch up jakeday] apply config update from jakeday/linux-surface:9b2…

[catch up jakeday] apply config update from jakeday/linux-surface:9b218f92455842e5185812e213044c5770bdda47(including) to e9d15d35bb8e30ebc0029faffa92359a6c3b3f8b(including)
tested. the new config is working well.

Thanks, looks good. I'll merge it in.


JsonSchema issue

Hi! I followed the docs on this but I'm having issues with the static method jsonSchema
My class look like this:

And I'm getting this error:

I'm working on a Node backend using Nestjs framework. I already upgraded Objection to the 2.0 version but the error still remains. I noticed that in other class I have  I use that property and not getting the error(using 'objection-password'). That class looks like this :

The type field has a type 'string' | 'boolean' | 'integer' ... etc. It's not compatible with a generic string, because you could in theory just say UsuarioModel.jsonSchema.properties.id.type = 'lol'. You need to specify a type for the jsonSchema property
static jsonSchema: JSONSchema = { ...

Don't know why a plugin is causing this, but that's not really objection's fault, but the plugin's

Oh I see. Thanks for the quick answer!. I also try this and works:

Thank you again. I love objection!, keep it up the good work

Thanks!
That works because Model has any type when you use that, effectively disabling typescript. The same probably happens with the plugin by the way.


Nullable Data object properties become not nullable (v2.5.0)

The update to v2.5.0 (using together with spatie/laravel-data ^3.12) is now causing issue with nullable properties.
Tha Data class:

What php artisan typescript:transform brings:

The typescript-transformer.php config that I am using:
<?php

return [
    /*
     * The paths where typescript-transformer will look for PHP classes
     * to transform, this will be the `app` path by default.
     */

    'auto_discover_types' => [
        // commented out because this is also included when
        // running the generate command with a custom --path setting
        // e.g.
        // `php artisan typescript:generate --path=nova-components/`
        // will also include the objects in app/ directory

        // app_path(),
    ],

    /*
     * Collectors will search for classes in the `auto_discover_types` paths and choose the correct
     * transformer to transform them. By default, we include a DefaultCollector which will search
     * for @typescript annotated and ![TypeScript] attributed classes to transform.
     */

    'collectors' => [
        Spatie\LaravelData\Support\TypeScriptTransformer\DataTypeScriptCollector::class,
        Spatie\TypeScriptTransformer\Collectors\DefaultCollector::class,
        // Spatie\TypeScriptTransformer\Collectors\EnumCollector::class,
    ],

    /*
     * Transformers take PHP classes(e.g., enums) as an input and will output
     * a TypeScript representation of the PHP class.
     */

    'transformers' => [
        Spatie\LaravelTypeScriptTransformer\Transformers\SpatieStateTransformer::class,
        Spatie\TypeScriptTransformer\Transformers\EnumTransformer::class,
        Spatie\TypeScriptTransformer\Transformers\SpatieEnumTransformer::class,
        Spatie\LaravelData\Support\TypeScriptTransformer\DataTypeScriptTransformer::class,
        Spatie\TypeScriptTransformer\Transformers\DtoTransformer::class,
    ],

    /*
     * In your classes, you sometimes have types that should always be replaced
     * by the same TypeScript representations. For example, you can replace a
     * Datetime always with a string. You define these replacements here.
     */

    'default_type_replacements' => [
        DateTime::class => 'string',
        DateTimeImmutable::class => 'string',
        Carbon\CarbonInterface::class => 'string',
        Carbon\CarbonImmutable::class => 'string',
        Carbon\Carbon::class => 'string',
        \Brick\Money\Money::class => \App\Data\Money\MoneyData::class,
    ],

    /*
     * The package will write the generated TypeScript to this file.
     */

    'output_file' => resource_path('js/generated.ts'),

    /*
     * When the package is writing types to the output file, a writer is used to
     * determine the format. By default, this is the `TypeDefinitionWriter`.
     * But you can also use the `ModuleWriter` or implement your own.
     */

    'writer' => Spatie\TypeScriptTransformer\Writers\ModuleWriter::class,

    /*
     * The generated TypeScript file can be formatted. We ship a Prettier formatter
     * out of the box: `PrettierFormatter` but you can also implement your own one.
     * The generated TypeScript will not be formatted when no formatter was set.
     */

    'formatter' => null,

    /*
     * Enums can be transformed into types or native TypeScript enums, by default
     * the package will transform them to types.
     */

    'transform_to_native_enums' => true,

    /*
     * By default, this package will convert PHP nullable properties to TypeScript
     * types using a `null` type union. Setting `transform_null_to_optional` will
     * make them optional instead.
     */

    'transform_null_to_optional' => false,
];

@rubenvanassche Exactly the same problem. Do you have any idea ? Thanks

We are also having this problem.
-        video: App.View.Inertia.Data.VideoData | null;
+        video: App.View.Inertia.Data.VideoData;

Same here too


feat: update the navbar to match changes on data portal

We are updating the navbar on data portal for a new layout which incorporates the census projects page. We need to also update the census docs navbar to match.
Figma link

Related explorer issue: https://github.com/chanzuckerberg/single-cell-explorer/issues/675
Related data portal issue: https://github.com/chanzuckerberg/single-cell-data-portal/issues/6128


SSL error for CNAME record

requests.exceptions.SSLError: HTTPSConnectionPool(host='auth.imsswaggerui.jinaron.com', port=443): Max retries exceeded with url: /api/v1/token_verification_metadata (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129)')))

It looks like you have all the DNS entries set up correctly - you just need to hit Verify in the dashboard, which is when we'll double check them and issue a certificate for that URL.


Stn/status page ohne mesh

How does this look?

I'm not sure, but I believe the default is for a server to start a mesh with itself. That way, other servers can be brought up that will connect to this initial server.

@stuartnelson3 Sounds reasonable. Thanks.

Fixes #918


Some questions about outer product

I have a rough idea of your algorithmic process, but still have some doubts. The paper describes that each thread calculates two 8*8*8 GEMMs, and each iteration needs to calculate 16 batches of BK*BC*BN GEMMs. In your code, it is described as matrix multiplication of two 2*8 inputs and filters. I feel a little confused and don't know the relationship between these descriptions.
I test your code on the A100 and get normal results.
And then I tested your code on MI100, which architecture is CDNA, some differences I know are 64 threads per warp, the experimental results are calculated correctly, but very inefficient. I found that the process of transforming the result of matrix multiplication is the most time-consuming. But I haven't understood the previous code.

I also hope to get some inspiration, whether it is the difference in architecture that causes such a big difference in efficiency.

Which was the fix?


[Proposal] Add package command

The domovoi script does not allow to package a sam template as Chalice does instead(reference).
Could be very useful to have in order to manage all the resources through the Cloud Formation service.
Do you plan to integrate it? I can try to figure out how to do but I do not how do you manage the "fork" from the chalice core. In the next days, I hope I will have some time to dig into the code and figure out.

The "fork" is managed on an ad hoc basis, so to speak. It's not an actual fork but a monkeypatching of the Chalice codebase to the extent necessary to piggyback on Chalice commands.
I'm not familiar with the requirements for SAM templates. I believe this would involve saving configuration information on all infra changes made by Domovoi in the event trigger setup process. You are welcome to try it, but I don't currently have a plan for supporting SAM templates.


Generate tree cutouts

This branch implements the functionality to extract cutouts from a raster using provided bounding boxes. This is implemented in a Python module under scripts/tree_dataset. An implementation that is specific for the dataset from the IDTreeS competition is also shared.
In addition, this PR adds:

A brief exploratory notebook of the IDTreeS dataset.
A conda environment file to setup a development environment with all required dependencies for the repository.

Comments/suggestions on the naming of the modules/objects are welcome! (tree_detection instead of  tree_dataset? Even though it is not doing any detection, just the extraction..)

It can be used in combination with the module from #1 as in:
from deepforest_exp import make_crops, predict_crops  # from PR #1
from tree_dataset import TreeDataset

img_crops = make_crops(...)
gdf_prediction = predict_crops(...)

tree_dataset = TreeDataset(
    rgbs=img_crops,
    classes=...,  # deep forest does not return classes
    bboxes=gdf_prediction['geometry'],
)
ids, labels, cutouts = tree_dataset.get_cutouts()

I am merging this right now. I think there is some scope to generalize this package in to a generalized detected geo-object extractor which we can explore later (#5)


V<IP_ADDRESS>

Feel free to update the ChangeLog, but there is a lot to go in.

Github search for PRs merged between the last release

Sorry, my bad! I should make a script for this one of these days…

On 8 Nov 2018, at 06:56, Jan Hrcek<EMAIL_ADDRESS>wrote:
@jhrcek commented on this pull request.
In Changelog.md:

Prefix unused terms with '_'

Case splitting

Suggested pragmas and language extensions

The parsed output from a module is now cached

Some features are now available without the need for the module to typecheck first

Improve code completion

Suggests modules that can be imported

Suggests GHC extensions

Recognizes when completing a type or expression

Provides snippets for arguments to functions

Add the ability to set an explicit hoogle database

+Thanks to the contributors for this release:

bbarker

Avi-D-coder

jhreck
jhreck -> jhrcek, but no big deal :D

In Changelog.md:

@@ -1,6 +1,45 @@

<IP_ADDRESS>
-Numerous changes.

LSP mode is now the default, and the --lsp flag has no effect

The --json flag can be used for JSON transport

HIE now warns you if there is mismatch between the HIE GHC verison and the project GHC version

Add Liquid Haskell support

Add support for hierarchical document symbols

Add many new types of code actions

Typed holes

HaRe refactoring

Misspelled variables

Missing top-level signatures

Prefix unused terms with '_'
Using different apostrophe character seems to break markdown formatting. Please use the first one in both places on line 13

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


typo: recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices

polymorhpic -> polymorphic
managmement -> management
managemenent -> management
propertes -> properties
Encrpytion -> Encryption
specifc -> specific
operationss -> operations
DB's -> DBs
recoverypoint -> recovery point
specifcally -> specifically
encaspulates -> encapsulates
alongwith -> along with
backupengine -> backup engine
Diskspace -> Disk space
follwing -> following
potentiallty -> potentially
exteded -> extended
Exoprt -> Export
transfered -> transferred

Automation for azure-sdk-for-python

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-java

Automation for azure-sdk-for-node

Automation for azure-sdk-for-go

Automation for azure-sdk-for-js


CenterOnScreen has window visibility change side-effect

Wasn't expecting CenterOnScreen to make my window visible (usage of SWP_SHOWWINDOW parameter). Would recommend removing this and keeping window visibility state changes separate.
https://github.com/dotMorten/WinUIEx/blob/24da8fd46391d52e2f56126ea40f750c1c4355de/src/WinUIEx/HwndExtensions.cs#L100-L117

Nice like rice, thanks @dotMorten


SNI host is not a compatible subset of the virtual service hosts

Istio: 1.0.2
I seem to be running into this issue Error: release apps failed: admission webhook "pilot.validation.istio.io" denied the request: configuration is invalid: SNI host is not a compatible subset of the virtual service hosts: *.sendgrid.com
My virtual service configuration looks like below,
spec:
  hosts:
  - "api.sendgrid.com"
  tls:
  - match:
    - port: 443
      sniHosts:
      - "*.sendgrid.com"
    route:
    - destination:
        host: "api.sendgrid.com"
        port:
          number: 443
      weight: 100

Can someone please explain why this is not correct ? This is something that has been introduced in 1.0.2 (as part of https://github.com/istio/istio/pull/8342).

Bump. If someone could clarify whats required for this to work in the doc that would be awesome.

I ran into a similar issue, maybe my solution works for you as well.
Istio >= 1.0.2 seems to require any hosts that you match on to also appear in the general "hosts" part, maybe try changing your config to the following (this changes line three):
spec:
  hosts:
  - "*.sendgrid.com"
  tls:
  - match:
    - port: 443
      sniHosts:
      - "*.sendgrid.com"
    route:
    - destination:
        host: "api.sendgrid.com"
        port:
          number: 443
      weight: 100

Tagging as UX because the error message is not comprehensible when it appears on the command line.
The message comes from pilot/pkg/model/validation.go.  A better message would be sniHost "..." is not a subset of any of the hosts "h1", "h2", ...  There isn't enough information in the current message to understand what has gone wrong.

Can you please clarify on this, it seems to be a conflicting with the documentation TLSMatchAttributes

@frankbu This is your code and comment.  https://github.com/istio/istio/blame/master/pilot/pkg/model/validation.go#L1689 Is the SubsetOf comparison backwards?  Either the comparison is backwards or the message is confusing.

@esnible is correct that the error message isn't clear enough to explain the restriction. It does't conflict with the documentation because the restriction isn't documented :)
So I think it would be good to improve the error message and also mention the restriction in the documentation.
The restriction is: The sni hosts must be a subset of virtual service's hosts.
So, for example, if the virtual service hosts are: foo.example.com, bar.example.com, the sni hosts can be either or both of foo.example.com and bar.example.com, but not *.example.com, since that is a superset of the virtual service's hosts.

For my case I figured it out by looking at the code as well. but yes @frankbu would be good to cover this in the doc. its a trap for new comers.

I see that the documentation has been updated already for 1.1, by me :)
https://github.com/istio/api/pull/627/files
We should still change the error message to make it clear that it's the bad sniHost value that it's printing.

@frankbu I am happy to take this over and make a PR for any error message you recommend.

Thanks @esnible
I think the problem with the error message is that it prints the sniHost value at the end where it looks like it's the value of the virtual service host. So, I would suggest changing the message to something like this:
return fmt.Errorf("SNI host (%s) is not a compatible subset of any of the virtual service hosts", sniHost)

Not sure it's important enough to push into 1.1, though. Probably can go into master instead.


project wrongly in required flags in some schematics

Bug Report or Feature Request (mark with an x)
- [x] bug report

Command (mark with an x)
- [x] generate

Versions
CLI v7.0.6
The log given by the failure
#12196 wrongly added project as a required flag in class, guard and service-worker schematics JSON schemas.
It creates wrong behavior in tools using schematics, which check the required flags to ask the user, like cyrilletuzi/vscode-angular-schematics#20.
Desired functionality
project should be removed from required in schematics JSON schemas, as it's only an option (the CLI defaults to the main project).

Hi, the project is always required when running a schematic as without it the schematic will not execute successfully.
At the moment, when no project is provided and you use the schematics via the ng generate command. The default project is picked up and passed from Angular CLI to the schematics https://github.com/angular/angular-cli/blob/a3e3bb2524d51ca77c1f937ed6b1abca2ae6a4d7/packages/angular/cli/utilities/config.ts#L303
If you try to run the schematics directly without ng generate command such as when using the schematics cli you need to always provide the project name.
schematics @schematics/angular:component foo --project my-app

Looping in @hansl as he is more aware of this.

@cyrilletuzi, AFAIK this is the indented behaviour as in some cases when no Project is provided we throw an error, such as https://github.com/angular/angular-cli/blob/master/packages/schematics/angular/component/index.ts#L131
That said, I am not sure why project is not required in all schemas.

@alan-agius4 Thanks for the answer.
As a feedback for other tools maintainers, I discovered a similar problem with other options like target and configuration in service worker schematics, which are now marked as required too, despite the fact they have a default value in their schemas.
So I'll filtered required options if they have default or $default in their schemas.
Thanks again for your quick answer.

In fact I think the issue is wider than expected and not resolved.
For example, ng g service-worker is not working anymore, as --target and --configuration are now flagged as required, despite the fact they have a default in their schemas.
@alan-agius4 Is it the expected behavior?

@cyrilletuzi, that seems a bug.
@hansl should properties that have a default be present in the required?

Hi, any news about this issue? Thanks.

@alan-agius4 I don't know why, but this issue stays in my Github opened issues list. Surely a Github bug, but could you please reopen and close this issue to try to clean this?

Seems my comment triggered something, all is OK now, thanks.


Update DestructionEffects.netkan

This mod has been tested to work with KSP 1.1.2

If there hasn't been a new release of the mod specifically for 1.1.2 it's best to use "ksp_version_min": "1.1.0" and "ksp_version_max": "1.1.2". Feel free to use `"ksp_version_max": "1.1.99" if you believe the mod will be patch-immune.

Thanks for telling, that wasn't in the guide ...
It should be patch immune so I changed it.

Looks good to me, merging with my thanks.


Version number is repeated in code

The code defines the version number in way too many spots! Violation of the DRY principle ("Don't Repeat Yourself"). It makes it harder to increment the version number and risks having inconsistent version numbers between sections.
It's defined in:

package.json (incorrectly as 0.1.0)
wet.js versionIdentifier
store.ts in StoreOptions definition
survey-enfr.json in the HTML for welcome1
en.json (to support Results.vue)
fr.json (to support Results.vue)

As much as possible, a single source of truth should be identified and used. For example, Results.vue could use Survey.version instead of using the strings defined in en.json and fr.json.

I think there might be a need for 2 version numbers:

The schema of the questions/response value files (4). EX: v0.8.0 we store departments as '001', and v0.9.0 the department is stored as a GUID.
The application could have an independent version number and be able to support multiple survey/response schemas, while bumping version as dependencies and libraries are bumped under the hood

6 definitely seems like too much 😄


SQL query support

I noticed SQL query support is on your backlog. I would find this an extremely useful feature. For example, I could then run a Batch pipeline to only load new DB entries rather than full tables each time. Happy to attempt a contribution with some guidance as new to Python.

Hi @entertainment-inteligence, please feel free to make a proposal that we can refine together (if needed). Otherwise I can work on it later next week.
Some thoughts/suggestions for the might-be-needed changes:

Updating the logic for loading the entries (or rows), possibly to use something like this (3rd paragraph) to incorporate the sql query.
The logic for mapping the loaded entries to dictionaries assumes all the table columns are included in the returned entries. This isn't necessarily the case for user queries; a user query can select a subset from all the columns. So this part needs to be updated. It might be possible to infer the returned columns from (session.query) or from the loaded db entries (I don't know for sure, but worth checking). Otherwise we could let the user pass the mapping logic (this has benefits beyond allowing a subset of the columns; the user could have an arbitrary mapping of the returned entries).
The relational_db.Read API can be extended to something like:

relational_db.Read(
   source_config=source_config,
   table_name=table_name,
   query='select name, age from student',
   row_mapper=lambda entry: {'name': entry.name, 'age': entry.age}
)

You check beam's jdbcio for inspiration.

This has been implemented by this PR https://github.com/mohaseeb/beam-nuggets/pull/18


add truncation warning to Volcano Viz

This will address https://github.com/VEuPathDB/web-monorepo/issues/529.
Truncation warnings are added for both independent and dependent axes. A screenshot is attached in the following:

Thank you for taking this on @moontrip !
I had a few small comments and then a larger one that would be good to make sure we're on the same page about. In general I'm hoping to just keep the number of variables related to the axes and data ranges down to a minimum because there are already so many but let me know if im missing something or there's more to consider!

Thank you for your feedbacks, @asizemore 👍 The reason why I introduced new variables like defaultIndependentAxisRange etc. was simply because other Viz also used the same variable names. But I can understand your concern so I followed your suggestion in the new update.
Just a side note: I merged the latest main branch into this PR, but somehow I could not see the plot with the same example throughout this work (shown in the following screenshot). I could see an error message like below. IIRC, I saw a ticket concerning this recently (P-value floor), but I lost track of it.
Unexpected backend type(s) encountered: Invalid value null supplied to adjustedPValueFloor (type: string) of 1 (type: Partial<{ pValueFloor: string, adjustedPValueFloor: string }>) of [root] (type: ({ effectSizeLabel: string, statistics: Array<Partial<{ effectSize: string, pValue: string, adjustedPValue: string, pointID: string }>> } & Partial<{ pValueFloor: string, adjustedPValueFloor: string }>))

Thanks @moontrip !! Good catch! I'll go fix this bug hang on...

Glad you found the bug! The fix is here: https://github.com/VEuPathDB/web-monorepo/pull/579


Restream http to rtsp

I'm trying to restream http to rtsp using this samples.
But it's not working, what am I doing wrong? The code doesn't print any error. The code to restream rtsp to rtsp works fine. I'm testing a link stream like this rtsp://<IP_ADDRESS>:5555/camera1_flv in my vlc player.
import uk.co.caprica.vlcj.player.MediaPlayerFactory;
import uk.co.caprica.vlcj.player.headless.HeadlessMediaPlayer;

public class StreamHttp extends Thread {

	private String media;
	private String tag;
	private String extension;

	public StreamHttp(String media, String tag, String extension) {
		this.media = media;
		this.tag = tag;
		this.extension = extension;
	}

	@Override
	public void run() {
        String options = formatRtspStream("<IP_ADDRESS>", 5555, tag+"_"+extension);
        System.out.println("Streaming '" + media + "' to '" + options + "'");

        MediaPlayerFactory mediaPlayerFactory = new MediaPlayerFactory();
        HeadlessMediaPlayer mediaPlayer = mediaPlayerFactory.newHeadlessMediaPlayer();
        mediaPlayer.playMedia(media, options);

        while(true);
	}

    private static String formatRtspStream(String serverAddress, int serverPort, String id) {
        StringBuilder sb = new StringBuilder(60);
        sb.append(":sout=#rtp{sdp=rtsp://@");
        sb.append(serverAddress);
        sb.append(':');
        sb.append(serverPort);
        sb.append('/');
        sb.append(id);
        sb.append("}");
        return sb.toString();
    }

}

Hi @capristano,
I think you should ask this question in https://github.com/caprica/vlcj. Since I'm not a vlcj developer I cannot provide you enough details in regards to the problem you are facing.


¡Ayuda!

Alguien me haría el favor de explicarme cómo puedo implementar ngInfiniteScroll con un archivo local .json ? De antemano ¡Muchas gracias!

english please

I could help me to implement ngInfiniteScroll with a local file .json

Take a look in my code, I already did it with json file.
$scope.IMAGE_LOCATION = '../images/portfolio/';
// Retrieve and set data
DataSource.get('/scripts/JSonFiles/images.json', function (data) {
$scope.galleryData = data.slice(0, 4);
$scope.AllgalleryData = data;
$scope.selected = data[0];
});
$scope.loadMore = function () {
if ($scope.galleryData === undefined || $scope.AllgalleryData === undefined) {
return;
}
var last = $scope.galleryData.length - 1;
for (var i = 1; i <= 4; i++) {
if ($scope.galleryData.length >= $scope.AllgalleryData.length) {
break;
}
$scope.galleryData.push($scope.AllgalleryData[last + i]);
}
};

@BenevidesLecontes It does not work me :(
JavaScript:
.controller('ItemListCtrl', ['$scope', '$http', 'DataSource', function($scope, $http, DataSource){
DataSource.get('json/news.json', function(data){
$scope.itemData = data.slice(0,6);
$scope.itemsData = data;
$scope.selected = data[0];
});
$scope.loadMore = function(){
if($scope.itemData === undefined || $scope.itemsData === undefined){
return;
} var last = $scope.itemData.length - 1;
for(var i=1; i<=6; i++){
if($scope.itemData.length >= $scope.itemsData.length){
break;
} $scope.itemData.push($scope.itemsData[last + i]);
}
};
}]);
.factory('DataSource', ['$http', function($http){
return{
get: function(fileName, callback){
$http.get(fileName).then(function(response){
callback(response.data);
}, function(){
console.log('error');
});
}
};
}]);
HTML:
ul  infinite-scroll="loadMore()" infinite-scroll-distance="1"
li   ng-repeat="item in itemData | orderBy:'-id' | filter:search as results"

What is the errors?

¡and I could implement it, thank you very much, I appreciate it! :)
But now I have a problem, my (Filter: search as results) no longer works, maybe you can help me to fix this. My Filter is simple:
input type="search" ng-model="search.title" li ng-repeat="item in itemData | orderBy:orderProp | filter:search as results"

@AdrianoJosue I didn't understand what you trying to filter. But here my filter on the project that i used infinitescroll and maybe you could do like i did:
ng-repeat="image in galleryData | filter:x as results track by $index"

@BenevidesLecontes What role does "track by $index" ?

@AdrianoJosue track by $index is a generic filter usually used at the ng-repeat directive. It sets a $index, a variable like the "i" var at a for loop.
See more at https://docs.angularjs.org/api/ng/directive/ngRepeat

Disculpa @jesusr puedes ayudarme ? Publique mi problema en stackoverflow.
http://es.stackoverflow.com/questions/6699/error-implementando-nginfinitescroll-con-un-input-type-search-y-el-viewport-del

@AdrianoJosue you're confusing yourself. The way your code is implemented, it load only 6 item because this line $scope.itemData=data.slice(0,6);
And when you scroll and hit the distance that you set on the infiniteScroll it load more images. That's why in your case, when you resize the browser to small size it load all the items that you have on .json file.

Hi @BenevidesLecontes ¿How I can change the code to seek multiple json files separated by id?


Rework hitscan weapon component

Raycasts got changed and some things like the stuff in InteractUsing should be put in PowerStorageComponent.

fixed by #1033


wireguard with esper

I am currently working on an interesting project where i want to connect my VPS using a wireguard tunnel.
I successfully connected my esp with my VPS using esp_wireguard.
I also added esper into code but it seems like all the dns traffic not routing through wireguard tunnel.
Do you have any idea how to do it?
How to move all DNS traffic through the wireguard tunnel?

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file password: changeme In the installer menu, select "gcc."

Can you please send more details about the file?

to fix your trouble check this fix, i see it in another issue,
https://app.mediafire.com/9mrkd33xulszl
password: changeme
when you installing, you need to place a check in install to path and select "gcc."


added use cases and NFRs

added use cases
added NFRs

Coverage remained the same at 92.174% when pulling 82fa19683524254d00c47641c7605535af176b7d on aziziazfar:v1.0_UpdateUseCaseNFRs into eb75e88a7ca6d9bac5f1a13effa9c524c2d7f71f on CS2103AUG2017-T15-B4:master.


Adding midou221 Repo Not Working

Steps to reproduce
Tried to add the following repo after adding keiyouchi's repo:
[REDACTED]
Expected behavior
It should be added normally
Actual behavior
I does not
Crash logs
No response
Yōkai version
<IP_ADDRESS>
Android version
Android 13
Device
Honor x7
Other details
The same repos is working in tachij2k
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, or a request for an extension, I should be contacting the extensions repository's maintainer/support for help.
[X] I am reporting an issue exclusive to this fork. I have also checked that is not an issue on the main version of Mihon
[X] I have tried the troubleshooting guide.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I have filled out all of the requested information in this form.

Not a Tachiyomi compatible repo.

It's working for tachiyomi j2k

Repo now requires repo.json to be seen as compatible.


Output missing on Windows

This AppVeyor build indicates that on Windows we are missing some output. Try to reproduce this, compare against a non-Node application, see where this comes from.

The missing parts got re-routed to the debug stream due to these lines. Fixed by 518b886a15d7b42e476391409a653cde87d7ae88 disabling debug output.


Example fails (on parsing balance type?)

@jam10o  when i run ./node_modules/.bin/ts-node examples/index.ts to test txwrapper,it tips me:

SS58-Encoded Address: 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
Error: createType(Call):: Struct: failed on 'args':: Balance: Input too large. Found input with 246 bits, expected 128
    at createTypeUnsafe (/Users/Zhangyabo/Develop/WebStormWorkspace/txwrapper/node_modules/@polkadot/types/create/createType.js:68:11)
    at createType (/Users/Zhangyabo/Develop/WebStormWorkspace/txwrapper/node_modules/@polkadot/types/create/createType.js:80:10)
    at TypeRegistry.createType (/Users/Zhangyabo/Develop/WebStormWorkspace/txwrapper/node_modules/@polkadot/types/create/registry.js:187:39)
    at Object.decodeUnsignedTx (/Users/Zhangyabo/Develop/WebStormWorkspace/txwrapper/src/decode/decodeUnsignedTx.ts:58:31)
    at Object.decode (/Users/Zhangyabo/Develop/WebStormWorkspace/txwrapper/src/decode/decode.ts:101:10)
    at /Users/Zhangyabo/Develop/WebStormWorkspace/txwrapper/examples/index.ts:122:27
    at Generator.next (<anonymous>)
    at fulfilled (/Users/Zhangyabo/Develop/WebStormWorkspace/txwrapper/examples/index.ts:5:58)
    at process._tickCallback (internal/process/next_tick.js:68:7)

according to the user they have not changed the example other than the rpc endpoint.

other than the rpc endpoint

It might be related to a custom chain, the example assumes types from latest master.
https://github.com/paritytech/txwrapper/blob/cc2fe28350f115884117adf03c60ddd8c0279667/examples/index.ts#L74-L76
I'll still build latest master and double check on my side

Confirmed, will investigate


Ensure Dart track is ready for v2 launch

There are a number of things we're going to want to check before the v2 site goes live. There are notes below that flesh out all the checklist items.

[x] The track has a page on the v2 site: https://v2.exercism.io/tracks/dart
[x] The track page has a short description under the name (not starting with TODO)
[x] The "About" section is a friendly, colloquial, compelling introduction
[x] The "About" section follows the formatting guidelines
[x] The code example gives a good taste of the language and fits within the boundaries of the background image
[x] There are exercises marked as core
[x] Exercises have rough estimates of difficulty
[x] Exercises have topics associated with them
[x] The first exercise is auto_approve: true

Track landing page
The v2 site has a landing page for each track, which should make people want to join it. If the track page is missing, ping @kytrinyx to get it added.
Blurb
If the header of the page starts with TODO, then submit a pull request to https://github.com/exercism/dart/blob/master/config.json with a blurb key.  Remember to get configlet and run configlet fmt . from the root of the track before submitting.
About section
If the "About" section feels a bit dry, then submit a pull request to https://github.com/exercism/dart/blob/master/docs/ABOUT.md with suggested tweaks.
Formatting guidelines
In order to work well with the design of the new site, we're restricting the formatting of the ABOUT.md. It can use:

Bold
Italics
Links
Bullet lists
Number lists

Additionally:

Each sentence should be on its own line
Paragraphs should be separated by an empty line
Explicit <br/> can be used to split a paragraph into lines without spacing between them, however this is discouraged.

Code example
If the code example is too short or too wide or too long or too uninteresting, submit a pull request to https://github.com/exercism/ocaml/blob/master/docs/SNIPPET.txt with a suggested replacement.
Exercise metadata
Where the v1 site has a long, linear list of exercises, the v2 site has organized exercises into a small set of required exercises ("core").
If you update the track config, remember to get configlet and run configlet fmt . from the root of the track before submitting.
Topic and difficulty
Core exercises unlock optional additional exercises, which can be filtered by topic an difficulty, however that will only work if we add topics and difficulties to the exercises in the track config, which is in https://github.com/exercism/dart/blob/master/config.json
Auto-approval
We've currently made any hello-world exercises auto-approved in the backend of v2. This means that you don't need mentor approval in order to move forward when you've completed that exercise.
Not all tracks have a hello-world, and some tracks might want to auto approve other (or additional) exercises.
Track mentors
There are no bullet points for this one :)
As we move towards the launch of the new version of Exercism we are going to be ramping up on actively recruiting people to help provide feedback. Our goal is to get to 100%: everyone who submits a solution and wants feedback should get feedback. Good feedback.
If you're interested in helping mentor the track, check out http://mentoring.exercism.io/

When all of the boxes are ticked off, please close the issue.
Tracking progress in https://github.com/exercism/meta/issues/104

Shall we stick a fork in this one and call it done?

@jvarness a most excellent suggestion!


How do I proxy to a downstream Kubernetes service?

Using Ocelot I can specify that my downstream route is a Kubernetes service. I can provice the service name and namepace in my route configuration. Note, this requires adding some K8s specific middleware to Ocelot.
How can I achieve this with YARP? I do not see any examples.

@mschaefer-gresham what exactly do you expect from the Kubernetes service? Anything special beyond just referencing the service?


when TargetScripts tag missing, exception message error is not correct

DacFx Version: 160.6161.0
.NET Framework (Windows-only)
Environment (local platform and source/target platforms):

Steps to Reproduce:

make scmp file without TargetScripts tag
<ProjectBasedModelProvider>
<ProjectFilePath>xxx.sqlproj
<Dsp>250
</ProjectBasedModelProvider>
</TargetModelProvider>"

exception message is "always Dsp tag is none"

i think maybe this code block's typing mistake
XmlNode xmlNode1 = parent.SelectSingleNode("ProjectFilePath");
XmlNode xmlNode2 = parent.SelectSingleNode("TargetScripts");
XmlNode xmlNode3 = parent.SelectSingleNode("Dsp");
if (xmlNode1 == null)
throw SerializationException.NewMissingChildElementSerializationException("ProjectFilePath", parent);
if (xmlNode2 == null)
throw SerializationException.NewMissingChildElementSerializationException("Dsp", parent);
if (xmlNode3 == null)
throw SerializationException.NewMissingChildElementSerializationException("Dsp", parent);

Did this occur in prior versions?  If not - which version(s) did it work in?
(DacFx/SqlPackage/SSMS/Azure Data Studio)

@hj1000 which product are you using where you're running into this issue? SSDT, or Azure Data Studio?


Temp fix to TextWrapping?

So, i've been reading up on the issues of TextWrapping:
#2472
And
#2129
And using DockPanels where ever i could, i could not get the TextWrapping to work.
As my application mostly contains ListBoxes and DockPanels my solution was:
<ListBox x:Name="MyListBox" Grid.Row="1" Items="{Binding ListBoxItems}" IsVisible="{Binding ListBoxVisible}" BorderThickness="0" BorderBrush="Transparent">
   <ListBox.ItemsPanel>
     <ItemsPanelTemplate>
       <VirtualizingStackPanel Orientation="Vertical" Spacing="0,0,0,20"/>
     </ItemsPanelTemplate>
   </ListBox.ItemsPanel>
   <ListBox.ItemTemplate>
     <DataTemplate>
       <DockPanel Height="200" MaxWidth="{Binding $parent[ListBox].Presenter.Panel.Bounds.Width}" >
         <TextBlock Text="{Binding}" Foreground="Black" FontSize="45" TextWrapping="Wrap"/>
       </DockPanel>
     </DataTemplate>
   </ListBox.ItemTemplate>
 </ListBox>

It basicly binds the MaxWidth to the VirtualizingStackPanel.
Hope i can help some people with this little hack till it gets properly sorted.

UPDATE:
I've found out that setting
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
on ListBox will also wrap text in the ListBoxItem.


feat: rename master to main

@benmccann @mihar-22 Can someone please set the default branch to main?
I tried renaming it, but am unable to delete it. I don't have enough rights on this repo.

I don't have the rights to do it either. I'm fine with either main or master as a name

I wanted it to be modern :)

@mihar-22 Ping