Expose temperature from zone thermostat as entity

Hi,
It would be nice to have the thermostat temperature as an entity.
Right now is "embedded" on the climate entity by itself and can't be used in other things directly.
Having it exposed would allow us to use another thermostat beside the generic one. (i.e: better thermostat integration).

Hi!
I have been diggin into the code and found that the Sensor entities are represented on const.py file and I think something like this would work adding to ARISTON_SENSOR_TYPES (@ line 193 in const.py file)
AristonSensorEntityDescription(
        key=DeviceProperties.CH_DETECTED_TEMP,
        name=f"{NAME} CH detected temp",
        device_class=SensorDeviceClass.TEMPERATURE,
        state_class=SensorStateClass.MEASUREMENT,
        get_native_value=lambda entity: entity.device.ch_detected_temp_value,
        get_native_unit_of_measurement=lambda entity: entity.device.ch_detected_temp_unit,
        system_types=[SystemType.GALEVO],
    ),

Probably ch_detected_temp in get_native_value and get_native_unit_of_measurement would't work. I'm trying to find out how to get those values, but this is my first time looking into an integration code and I'm kinda lost (you know, read the code first, then the docs kinda behaviour).
Any tips on how to get the proper naming for this?

Hello Luis!
I tried as you mentioned, but I didn't get any results.

system_types=[SystemType.VELIS],

This was another change I tried with my model. But I didn't get any new entities either.

Hi! Use template sensor to do that.
Settings -> Devices & services -> Helpers -> Create helper -> Template -> Template a sensor
Add the name for a new sensor.
Add state template:
{{ state_attr('your climate entitity id', 'current_temperature') }}
Click submit.

Thanks, that works perfectly. Maybe it will be nice to have posted on the readme


Document the release process

Objective
Document release process
Why
This will help all project maintainers to release new versions
How

Add RELEASE.md document with instructions

Release plan

[ ] Merge this PR

#sre


Support font merging

These longhand properties need to be merged to a single font shorthand:

font-style
font-variant
font-weight
font-stretch
font-size
line-height
font-family

Formal syntax:
[ [ <'font-style'> ||  || <'font-weight'> || <'font-stretch'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar

where
 = [ normal | small-caps ]

I'm interested/willing to take on this issue and perhaps the others. It seems that this moment the plugin isn't setup to support anything other than trbl properties, correct?
Is there any particular way you'd like me to approach this?

@zephraph That would be awesome! The current refactor is on the refactor branch; it's mostly @andyjansson's work but I've contributed a bit to it. Basically the new logic will explode a set of shorthand properties into longhand ones, then merge them all back together. We need to fix a few issues with the logic here but overall it is much better than the current master. :smile:
https://github.com/ben-eb/postcss-merge-longhand/tree/refactor

@zephraph I've given you collaborator status. Let me know if you have any questions, reach me here or via Gitter chat. https://gitter.im/ben-eb

Sorry I haven't been able to work any on the refactor branch lately, life has been getting in the way.

@andyjansson No worries, my open source time is also limited these days. Thanks for all you did so far! :smile:

The problem with this is that unless the developer defines all of them, you can't be sure you're not overriding a setting anywhere else.
.a {
  font-weight: bold;
}
.b {
  font-size: 1em;
  line-height: 1;
  font-family: serif;
}

Output:
.a {
  font-weight: bold;
}
.b {
  font: 1em/1 serif;
}

Which will cause this to not appear bold:

I should be bold


Support EFI boot AlmaLinux 9.0

Hello!
Looks like it is a related issue, what was solved for Almalinux 8
https://repo.almalinux.org/almalinux/8/cloud/x86_64/images/AlmaLinux-8-GenericCloud-UEFI-8.6-20220718.x86_64.qcow2
https://repo.almalinux.org/almalinux/9/cloud/x86_64/images/ - where are NO UEFI images
But is more interested for me that there is no support in kickstart:
WARNING:anaconda.modules.storage.partitioning.automatic.noninteractive_partitioning:gpt is not a supported disklabel type on this platform. Using default disklabel msdos instead.
related issue from my point of view:
https://github.com/AlmaLinux/cloud-images/issues/74

Hello @ympan,
Thanks for the reporting.
The default AlmaLinux OS 9 Generic Cloud image supports BIOS and UEFI with the GPT partition table:
Here's the BIOS+UEFI support on the kickstart file:
https://github.com/AlmaLinux/cloud-images/blob/f8c286b17e664dfe7b5178366970d4ed321666ac/http/almalinux-9.gencloud-x86_64.ks#L25-L36


Touch not working

I'm playing around with the examples and my first extension of one of them, and touch isn't working, and no button presses are reacting to anything. I've tried with the UTouch examples, and it's working fine, so it seems like it's something with the AWind library. I also tried checking if the touches are available in the main app loop, and they are, it just seems like it's not bubbling up through the lib.  Update: I un-commented some debug statements in the WindowsManager.h, and I can see the touches make it that far. I just had it work until I connected the serial monitor, than it stopped. It seems related to that, any suggestions?

This effect is new for me. What kind of hardware and which version of arduino do you use?

Sainsmart Arduino mega 2650
Sainsmart TFT shield
Sainsmart TFT touch 3.2" display
Arduino 1.7
On Feb 20, 2016 1:39 AM, "AndreiDegtiarev"<EMAIL_ADDRESS>wrote:

This effect is new for me. What kind of hardware and which version of
arduino do you use?
—
Reply to this email directly or view it on GitHub
https://github.com/AndreiDegtiarev/AWind/issues/3#issuecomment-186556356
.

I have also everything the same like yours except the board. I am using DUE. Could you please try the simplest example "Text" and before test it completly disconnect your board from power and connect it again.


Implement the find command to support tag

Format: find KEYWORD [MORE KEYWORDS]
Examples:

find friends
It will return tasks with friends in its tags.

Refer to the issue #220

NA anymore. We planned not to do it.


Include a warning about keys using dashes won't be set as environment variables when adding ConfigMaps and Secrets

What kind of request is this (question/bug/enhancement/feature request):
Enhancement
Steps to reproduce (least amount of steps as possible):
Add ConfigMap and/or Secret, use a dash in the key like TEST-SECRET
Create a workload and use this ConfigMap and/or Secret as environment variable.
Execute shell in the workload and look for the environment variable using env in Linux or set in Windows.
Result:
The environment variable is not set, because environment variables shouldn't include dashes, only underscores.
Example from a Unix shell:
➜  ~ export TEST-MAP=test
export: not valid in this context: TEST-MAP
➜  ~ export TESTMAP=test
➜  ~ echo $TESTMAP
test

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): master-head (v2.3) (09/12/2019)
Installation option (single install/HA):  single.

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): Infrastructure.
Machine type (cloud/VM/metal) and specifications (CPU/memory): cloud
Docker version (use docker version):

19.03.2

it sounds like the dash is being stripped either in backend or UI.

@codyrancher can you figure out if this is a UI issue or backend issue?

This is a backend change.
When saving the secret we preserve the specified key-name with hyphen (b-b here):

When deploying the workload we just specify the source name (super-secret here):

2024 - still a problem. Googling around brings this up as a top 3 result


Add return command

Codecov Report

Merging #83 (7413970) into master (404d98f) will increase coverage by 1.11%.
The diff coverage is 95.55%.

@@             Coverage Diff              @@
##             master      #83      +/-   ##
============================================
+ Coverage     72.33%   73.45%   +1.11%
- Complexity      609      660      +51
============================================
  Files            94       98       +4
  Lines          1869     1959      +90
  Branches        235      248      +13
============================================
+ Hits           1352     1439      +87
- Misses          446      447       +1
- Partials         71       73       +2

Impacted Files
Coverage Δ

...main/java/seedu/address/commons/core/Messages.java
0.00% <ø> (ø)

...ain/java/seedu/address/logic/commands/Command.java
100.00% <ø> (ø)

...address/logic/commands/book/DeleteBookCommand.java
100.00% <ø> (ø)

src/main/java/seedu/address/model/Model.java
100.00% <ø> (ø)

...eedu/address/logic/parser/ReturnCommandParser.java
84.00% <84.00%> (ø)

.../address/logic/commands/ReturnAllBooksCommand.java
100.00% <100.00%> (ø)

...va/seedu/address/logic/commands/ReturnCommand.java
100.00% <100.00%> (ø)

...u/address/logic/commands/ReturnOneBookCommand.java
100.00% <100.00%> (ø)

...a/seedu/address/logic/parser/ArgumentMultimap.java
100.00% <100.00%> (ø)

...ain/java/seedu/address/logic/parser/CliSyntax.java
90.00% <100.00%> (+2.50%)
:arrow_up:

... and 6 more

Continue to review full report at Codecov.

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


[Feature request] Reverse Proxy for apache2

Idea
Hi there,
im using apache2 and have several docker-apps behind a reverse proxy, but when i try to use that config with feilezilla i only get a 'failed to connect' error.
my config so far:
<VirtualHost>
Servername filezilla.domain.tld
SSLCertificateFile /etc/letsencrypt/live/filezilla.domain.tld/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/filezilla.domain.tld/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
SSLProxyEngine On
ProxyPass /.well-known !
ProxyPass "/" "http://<IP_ADDRESS>:5800/"
ProxyPassReverse "/" "http://<IP_ADDRESS>:5800/"
ProxyPreserveHost On
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
</VirtualHost>
What to change/add/remove ?
br

Is the "failed to connect" error comes from the browser or from a partially loaded page ?
This containers requires WebSocket support.  I'm not sure how to do it with Apache, but it usually requires special settings to reverse proxy a WebSocket.

You can see the error i get in the attached picture.
And i have no clue how to 'translate' the nginx.conf to apache2, thats why i ask over here.


Loading data with more than 1 space view deadlocks if RAYON_NUM_THREADS=2

This is true for both our latest release (0.12.1) and our latest main: RAYON_NUM_THREADS=2 rerun plots.rrd successfully starts a viewer and loads the data, but then deadlocks.
I think this might possibly hide another deadlock in the query cache, but we need to fix this one first to know for sure.
Putting on high priority as this might hide something very very wrong.
https://github.com/rerun-io/rerun/assets/2910679/e492d407-8657-45b7-b25e-ab7fb3ee5f30

Tried with both caching enabled and disabled, both from startup or changed at runtime and it doesn't repro for me so far

This is caused by external loaders, removing them all from my PATH fixes the issue -- something is blocking and/or waiting for another task on the compute threadpool?
No idea why the number of space views seemed to affect my earlier repro? We'll see what happens when I fix this.


Too different rendering on different browsers.

Rendering is always OK inside WebView2 control of .NET application, but not always showing properly in neither Edge nor Google Chrome browsers.

For example, the following MathML code inside a HTMl page:

<html>
<head>
</head>
<body>
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mtable displaystyle="true" columnalign="right left right left right left right left right left right left" columnspacing="0em 2em 0em 2em 0em 2em 0em 2em 0em 2em 0em" rowspacing="3pt">
    <mlabeledtr>
      <mtd id="mjx-eqn-eq:m">
        <mtext>(1)</mtext>
      </mtd>
      <mtd>
        <mi>M</mi>
      </mtd>
      <mtd>
        <mi></mi>
        <mo>=</mo>
        <mo stretchy="false">(</mo>
        <msub>
          <mi>M</mi>
          <mn>0</mn>
        </msub>
        <mo>+</mo>
        <msub>
          <mi>M</mi>
          <mn>1</mn>
        </msub>
        <mo>×</mo>
        <mo stretchy="false">(</mo>
        <mi>J</mi>
        <mo>−</mo>
        <msub>
          <mi>J</mi>
          <mrow>
            <mn>2000</mn>
          </mrow>
        </msub>
        <mo stretchy="false">)</mo>
        <mo stretchy="false">)</mo>
        <mo>mod</mo>
        <mn>360</mn>
        <mrow>
          <mo>°</mo>
        </mrow>
      </mtd>
    </mlabeledtr>
    <mlabeledtr>
      <mtd id="mjx-eqn-2">
        <mtext>(2)</mtext>
      </mtd>
      <mtd>
        <msub>
          <mi>J</mi>
          <mrow>
            <mn>2000</mn>
          </mrow>
        </msub>
      </mtd>
      <mtd>
        <mi></mi>
        <mo>=</mo>
        <mn>2451545</mn>
      </mtd>
    </mlabeledtr>
  </mtable>
</math>
</body>
</html>

Inside Google Chrome and Edge, respectively, look like as:

While, exactly the same MathML code rendering in a .NET application with WebView2 control shows right:

I have seen more examples, some showing properly and others not. If necessary I can provide them.
There is no change in the rendering if added the following script to the HTML page
<script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_CHTML'> </script>

The output you are showing for Chrome and Edge are not MathJax output, but rather the browser's native MathML rendering.  These two browsers implement the MathML Core specification, with is a limited version of MathML that does not include all the tags or attributes of MathML3, on which MathJax is based.  In particular, it doesn't include the <mlabeledtr>  that MathJax uses to handle the equation numbers, and that is the source of the bad rendering by those browsers.  If you change the <mlabeledtr> tags to <mtr> tags (and change the closing tags to match), you will get a better rendering in the native MathML renderers.  Alternatively, adding
<style>
mlabeledtr {
  display: table-row
}
</style>

to the document <head> would do the same thing.
Although this will help, the layout will still not be great, as the equation numbers will be in the wrong place, and the table cells will all be centered rather than properly aligned on the equal signs.  And you still won't be getting MathJax output, since there is no MathJax script in the HTML file you provide.
You mention adding the MathJax script to the file, and indicate that that doesn't change the output.  I am not able to reproduce that problem, as adding the script tag (from the bottom of your post) to the <head> of your document causes the results to be properly formatted by MathJax, as in your image in #3 above.  So without an example file that actually includes MathJax, I can't tell you what you are doing wrong.  Do you have network access when you are trying this?
Finally, MathJax version 2.7.2 is very old.  The current version is 3.2.2, and version 4.0 is currently out in beta release.  The highest v2 is v2.7.9, so you should at least update to that, if you are not able to move to 3.2.2.

Now I see it is the browser's native MathML rendering, thank you. But why, and how can I get MathJax's rendering?
Please, find attached a zip file so you can reproduce the problem I am facing.
MathML_ToFrom_String.zip
There is internet connection because, for example, sample #22 does a call to MathJax's UpdateMath() to translate sample's 22 Latex code into MathML, for latter translating MathML to plain text. But you may see that samples #16 or #41 are not rendering MathJax's but browser's native.

Thank you so much for your help and guidance. I've done as you told me (e.g. upgrade to v3) and now all the samples are working fine.
I just had to change:

to :

Thanks again.

OK, great!  Glad you go it to work.


Netty Version 4.0.36 Above

Iam using Netty to handle more than thousand of GPS Tracker, since upgrade above 4.0.36 version my application problem, GPS work abnormal, many GPS Tracker want' update... but i can't debug what the part make this problem...

@jokopitoyo sorry but without more informations we can not help. You will at least need to provide some more details. Also you may want to try which specific commit is the problem by just using git bisect between version 4.0.35.Final and 4.0.36.Final.
See
http://webchick.net/node/99
This will help us to better understand where the problem may be

@normanmaurer, i will try your advice,

@jokopitoyo any news ?

@jokopitoyo please reopen with more infos once you are sure there is an issue


commented ext_autodoc in docs conf until it is released in pywps

Also replaced references to emu by cookiecutter slug.
I think this closes issue #1 for now. Doc building works out of the box.

We can add the pywps autodoc later on.


intersection of object type with known key and object type with index signature does not intersect the value types

Bug Report

🔎 Search Terms
intersection object type index

🕗 Version & Regression Information
5.0.0-dev.20230223
⏯ Playground Link

Playground link with relevant code
💻 Code

interface Foo {
    a: string
}

interface Bar {
    [key: string]: 'foo'
}

declare const foo: (Foo & Bar)['a'] // string

🙁 Actual behavior
type of foo is string
🙂 Expected behavior
type of foo should be "foo"

A concrete property is preferred here so the index signature is simply ignored here. Such intersections have very weird behaviors and are not that well supported by the compiler.
Note that roughly this should be the equivalent of this type:
interface Baz {
    a: string; // Property 'a' of type 'string' is not assignable to 'string' index type '"foo"'.(2411)
    [key: string]: 'foo'
}

But as we can see this isn't even a valid type. I'm not sure what the answer here is. I think that perhaps it would be good to revise how such intersections play together, raise errors early, etc. Within the TS type system what you are trying to create here is invalid - the problem is that TS silently accepts it and tries to deal with it somehow. I wouldn't rely on this behavior anyhow, from my PoV it should be treated as "undefined behavior".

i don't see why such a type should be considered invalid though.

Note that roughly this should be the equivalent of this type:
interface Baz {
    a: string; // Property 'a' of type 'string' is not assignable to 'string' index type '"foo"'.(2411)
    [key: string]: 'foo'
}

i do agree with the current behavior of showing an error here however, as it's likely to be a mistake. but IMO it's less likely to be a mistake when it comes from an intersection of two different types like in my OP.
if it helps, my use case was importing from a JSON file where its type was unfortunately widened due to #32063, but i wanted to cast it to a type without losing information from the type that came with the import.
here's a simplified example, where i'm trying to get the type {a: 'foo'}:
import foo from '../foo.json' // imported type is `{ a: string }`  but the value is actually {a: 'foo'}

interface Foo {
    [key: string]: 'foo'
}

const castedValue = foo as Foo

const a = castedValue['a'] // 'foo' | undefined, because the `a` key from the imported type was lost (assuming noUncheckedIndexedAccess is on)

const intersectedValue = foo as typeof foo & Foo

const b = intersectedValue['a'] // string :(

As I said, your proposed behavior would be a breaking change in practice, since people regularly use such intersections to make types that when indexed by a string produce the index type, but also have a few disparate properties for metadata or whatever.  If you're thinking "...but that's completely unsafe!", then I agree, but nonetheless it happens.  See #17867 for which this kind of intersection is the very first workaround mentioned.

if anyone's interested i made my own intersection type as a workaround:
export type Intersection<T, U> = {
    [K in keyof (T | U)]: Intersection<T[K], U[K]>
} & T & U

interface Foo {
    a: string
}

interface Bar {
    [key: string]: 'foo'
}

declare const foo: Intersection<Foo, Bar>['a'] // 'foo'

i haven't tested it very much but it seems to work well for this use case

I am a new TS learner
I try
interface Foo {
    a: string
}

interface Bar {
    [key: string]: 'foo'
}

type TFB = Omit<Foo & Bar, never>;

// This will cause a TypeScript error
const obj1: TFB = {
    a: 'string', // Error: Type 'string' is not assignable to type 'foo'
    b: 'foo'
};

const obj2: TFB = {
    a: 'foo',
    b: 'foo'
};


Testing

Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.huan seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report

Merging #1674 into master will increase coverage by 23.65%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #1674       +/-   ##
===========================================
+ Coverage   17.86%   41.51%   +23.65%
===========================================
  Files         229      274       +45
  Lines       15638    18089     +2451
===========================================
+ Hits         2794     7510     +4716
+ Misses      12650     9662     -2988
- Partials      194      917      +723

Impacted Files
Coverage Δ

registry/auth.go
54.12% <0%> (ø)

storage/quota/quota.go
12.61% <0%> (ø)

cri/stream/request_cache.go
0% <0%> (ø)

lxcfs/lxcfs.go
55.55% <0%> (ø)

cri/v1alpha2/service/cri.go
0% <0%> (ø)

storage/volume/modules/local/local.go
74.24% <0%> (ø)

internal/generator.go
100% <0%> (ø)

cri/stream/httpstream/spdy/connection.go
0% <0%> (ø)

network/mode/init.go
70.96% <0%> (ø)

cri/stream/httpstream/spdy/upgrade.go
0% <0%> (ø)

... and 125 more


Technical Debt - Hosted Neo4j

Explore Neo4j as a Service

No longer going to use hosted neo4j. Cost is too high and performance was terrible


Allow to specify min batch size for shadow group using annotation

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug
/kind feature

Feature Proposal
If scheduling.k8s.io/group-name is unspecified and scheduling.k8s.io/group-min-member is specified then create shadow pod group with min batch size derived from the annotation scheduling.k8s.io/group-min-member.
If scheduling.k8s.io/group-name is already specified, then scheduling.k8s.io/group-min-member will be ignored.
Why?
Requiring users to learn new custom resource PodGroup and properly handling clean up of such resource is nontrivial and time consuming. In common use case user just want create a batch of pods that will be allocated together at the same time. Extending shadow pod group capabilities could be a solution for this.
Implementation
It should be fairly simple few lines change in createShadowPodGroup() in pkg/scheduler/cache/util.go.
Happy to make a PR.

that's ok to me :)

Closed in #908


Support @import

@import statements don't apply:

The above screenshot shows Stylebot, in live mode, with an @import statement and a generic rule that only selects the non-existent "bad-rule" element and applies no styles. The inspector shows that the "bad-rule" rule is included, but not the @import statement.

closing as duplicate of #501


Kerning and shadow issues in SDF rendering

Version: scribble_9_0_0_beta.yymps
Example project, with font included: font test.yyz.zip
Screenshot of the problematic behaviour:

Issue 1:
This project draws two lines of text to the screen. The first line is written with draw_text(), while the bottom line is drawn with Scribble. The top line has appropriate spacing, while the Scribble version has slightly odd-looking spacing.
Issue 2:
Strange cross hatching effects when using the drop shadows for this font. It's worth noting that in my main project this appears solely when using Scribble, but while making this example project, it started popping up for the draw_text() version, too. For this reason I'm not sure if it's actually a Scribble problem, but I'm mentioning it here just in case.

I took a look at the SDF that GameMaker generated and it's very messy. Seems like this problem is up-stream to me!


⚠ Bofrost.fr has degraded performance

In 7a8f5c5, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1293 ms

Resolved: Bofrost.fr performance has improved in 175a498 after 8 minutes.


Unmodified lines being formatted in PHPStorm 2018.3.3

Describe the bug
On save, Save Actions formats the file as configured. But it also formats the unmodified lines, which it is configured not to do.
Tried reinstalling (uninstall, restart, install, restart). Did not work.
I cannot recall when it started misbehaving and if it could have anything to do with me changing settings (can't recall changing settings, so I assume it can't).
To Reproduce
Run PHPStorm 2018.3.3. Check 4 checkboxes of the Save Actions config:

Activate save actions on save
Optimize imports
Reformat file
Reformat only changed code (if VCS configured)

Expected behavior
Reformat only changed code.
Versions
PS183.5153.46 January 9, 2019
Attachments
idea.log
saveactions_settings.xml.zip

It works! Funny though, because I never touched these settings and it used to work the way I had configured it. Thanks for the support anyway!

Yeah behavior changed in 1.4.0, sorry about that. Cheers.


Get Kubernetes hosting working properly

The big remaining thing is figuring out how to import data.

Alright, got a solution for now!


Is it possible to send mail through Nodemailer?

I'm wondering if it's possible to send verification email to users through Nodemailer? Thanks.
P.S:
I'm planing to deploy my app into aws ec2. It seems there is a sendmail installed in my linux ec2 instance. If there is a way to send email directly through that?

I am not familiar with nodemailer, but it seems like you should be able to do this.
Did you run into any particular issues? Feel free to re-open if you find an issue with Parse Server.
--
You may use Server Fault for questions about managing Parse Server.
For code-level and/or implementation-related questions or technical support, please refer to Stack Overflow.

I wrote the adapter. Here


disable JuMPfunctions on Julia 0.6

@chriscoey has been experiencing some world age issues involving CPLEX from Pajarito.
I don't believe something like eval(current_module(), Expr(:import,:JuMP)) is allowed anymore, for the same reason that we got rid of default solvers. I'd propose to disable the undocumented "JuMPfunctions" on Julia 0.6, and if they're needed they can be moved into a separate package.
@joehuchette

Turns out this wasn't the source of the issues. But I'd still advocate to move these functions out. Has anyone tested them on 0.6?

I'm fine moving this elsewhere for now.

It's messy for precompilation even on 0.5 to have code in src that's conditionally dependent on whether packages not listed in REQUIRE are installed.


Cant accept connections with UnsyncedEvents enabled

Can't accept incoming connections on netcore 3.1 server. Same code used to work before when server was a Unity project.
edit: Disabling UnsyncedEvents fixes the issue.
private void Listener_ConnectionRequestEvent(ConnectionRequest request)
{
    Logger.Information($"Incoming connection from {request.RemoteEndPoint}");
    if (Server.ConnectedPeersCount < 1337)
        request.AcceptIfKey($"{Id}/HUB");
    else
        request.Reject();
}

Using AcceptIfKey or Accept doesn't matter, I always get the same exception
exception:
System.Threading.LockRecursionException
HResult=0x80131500
Message=Recursive upgradeable lock acquisitions not allowed in this mode.
Source=System.Private.CoreLib
StackTrace:
at System.Threading.ReaderWriterLockSlim.TryEnterUpgradeableReadLockCore(TimeoutTracker timeout)
at System.Threading.ReaderWriterLockSlim.EnterUpgradeableReadLock()
at LiteNetLib.NetManager.OnConnectionSolved(ConnectionRequest request, Byte[] rejectData, Int32 start, Int32 length)
at LiteNetLib.ConnectionRequest.AcceptIfKey(String key)
at Zin.Hub.Networking.HubServer.Listener_ConnectionRequestEvent(ConnectionRequest request) in C:\Users\dorq\source\repos\zin\Server\Zin.Hub\Networking\HubServer.cs:line 84
at LiteNetLib.EventBasedNetListener.LiteNetLib.INetEventListener.OnConnectionRequest(ConnectionRequest request)
at LiteNetLib.NetManager.ProcessEvent(NetEvent evt)
at LiteNetLib.NetManager.CreateEvent(EType type, NetPeer peer, IPEndPoint remoteEndPoint, SocketError errorCode, Int32 latency, DisconnectReason disconnectReason, ConnectionRequest connectionRequest, DeliveryMethod deliveryMethod, NetPacket readerSource, Object userData)
at LiteNetLib.NetManager.ProcessConnectRequest(IPEndPoint remoteEndPoint, NetPeer netPeer, NetConnectRequestPacket connRequest)
at LiteNetLib.NetManager.DataReceived(Byte[] reusableBuffer, Int32 count, IPEndPoint remoteEndPoint)
at LiteNetLib.NetManager.LiteNetLib.INetSocketListener.OnMessageReceived(Byte[] data, Int32 length, SocketError errorCode, IPEndPoint remoteEndPoint)
Library version: commit 0e5880b6e933f6e3d80a1efd359cc84cfa75a29a on client, <IP_ADDRESS> on server
Framework: Unity on client, netcore 3.1 on server
OS: Windows

@RevenantX I'm running into the same issue.  Why was this closed?  Disabling UnsyncedEvents is only a workaround, not a fix.

@tylerohlsen  "closed this in d3ee215 on May 20" because it's fixed in master branch.

@RevenantX awesome, thanks for the confirmation!  Do you have a plan for when the next nuget release will be?

@tylerohlsen no, but maybe soon after some mini improvements.


Does not work with Gradle projects and/or with multiple Bloop projects

It seems that only the "sbt" and "bloop" projects are supported which is kind of limiting. Also for some reason, only the first project (from the list of projects bloop projects) is selected, which is problematic in a solution with multiple projects. It should select only the bloop project that is relevant to the active buffer file.
I did some changes to my fork (https://github.com/sramekj/neotest-scala/commit/1c022837ec9c902fc1b029ace97f54dc87407443) and it works with my Scala project, however, I am not a lua plugin developer, so it is very rough.
Can you maybe look at it?
Thanks

This doesn't appear to work for multi project sbt builds either. It only registers the first sbt project in the build for testing.


Working on Sunmi T2 mini

Hello,
I tested this plugin in Sunmi T2 mini and is working. I could print a ticket normally.
Is there any way to know every posible status for the printer? The plugin just response with a number when calling printerState( ).
Regards, and good job

Have you tested it with T2 ?


Better CLI Output

What problem does this feature solve?
The current CLI output is not really informational with the default configuration
performance-compare  main ❯ pnpm run build:rspack

><EMAIL_ADDRESS>build:rspack /Users/bytedance/github/performance-compare
> rspack build

Time: 467ms

Vite for example has version, output, size etc.
performance-compare  main ❯ pnpm run build:vite

><EMAIL_ADDRESS>build:vite /Users/bytedance/github/performance-compare
> vite build

vite v4.3.0-beta.7 building for production...
✓ 1031 modules transformed.
dist/index.html                   0.42 kB │ gzip:  0.29 kB
dist/assets/index-b035dd05.css    0.04 kB │ gzip:  0.06 kB
dist/assets/index-504fc95e.js   584.86 kB │ gzip: 73.43 kB

(!) Some chunks are larger than 500 kBs after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
✓ built in 3.08s

What does the proposed API of configuration look like?
More information on the build output

I have talked with @hardfist before. If I understand him correctly, we would have an overall review of every aspect of CLI in the future, which focuses on DX.


Controls - CheckBox

Fixes #4 .
Changes Proposed in this pull request:

Added implementation CheckBox control (iOS, Android, UWP)
Added documentation about CheckBox
Added Controls projects to Samples solution
Fixed Samples solution (References between Animations projects)
Update Xamarin.Forms for projects of Controls

Based on:

XForms.Controls
Forms.Controls

@wcoder
The current implementation is working, so that is great :)
Could you maybe change the samples page a bit so that the control itself is centered on the demo page? Other than that it looks fine, only problem I have, we have no Controls admins on the current project. So not sure if people like the way this current version is created?
Personally last time I added a checkbox to Xamarin Forms is was not a box but a round version :/ so taste is very user dependent...

Hi everyone
@Depechie
I synchronized this branch with dev and was centered CheckBox on the demo page.
@owlstack
I have checked the solution and wasn't find the errors and crashes for projects.

@wcoder There is a crash for UWP portion. Only a null check is required. Can I add the fix? Thanks!

@owlstack surely you can add the fix, push your changes to branch: wcoder:controls/checkbox
https://github.com/wcoder/FormsCommunityToolkit/tree/controls/checkbox

@wcoder I haven't gone through this yet, but this may be worth resubmitting to Forms core under https://github.com/xamarin/Xamarin.Forms/issues/1728. Have you seen that proposal?

@pauldipietro I'm ready for resubmitting this control to Forms repository.
P.S. About this repository:
After changes named "Completely reorganize and update repo!" my enthusiasm became low for sync this PR.
Please, provide infrastructure for UI controls and Controls admins on the current project.

It would be really awesome if this integrated an Indeterminate Checkbox on Android, such as: https://github.com/sevar83/indeterminate-checkbox, that way the experience can be combined with UWP's Implementation :)

Closing this for now; I think the focus should remain on XF Core as an F100 issue for a CheckBox is open (as referred to earlier) and something should be contributed there.


waitForJob parameter sanitization

PHP Notice:  Undefined index: id in Client.php on line 1905
PHP Notice:  Undefined index: status in Client.php on line 1906
to reproduce:
$client = new \Keboola\StorageApi\Client(['token' => 'xxxxxxxxxxxxxxxxxxxx', 'url' => 'https://connection.keboola.com/']);
$client->waitForJob('');

Moved to Jira https://keboola.atlassian.net/browse/KBC-1790


Project: Guest user overview in teams

Project name
Guest user overview
Description
A fairly straight forward tool that let's admins get and overview of which guests are in their tenant, and from there do a couple of basics with that user:

See last/recent sign ins
Set contact info for Entra
Block the user
Delete the user
Regenerate an invite link if the user has lost theirs
See which groups (teams) the guest is a member of
Links to Entra with both user and groups
Get a quick overview based on simple to read color coding of which users aren't signing in

Project Repository URL
https://github.com/Tanddant/TeamsGuestUserOverview
Project video
https://www.youtube.com/watch?v=XvGfuqFo34s
Team members
@Tanddant, @jeppesc11

Awesome @Tanddant and @jeppesc11! Looking forward to checking it out! Meanwhile, would you both be willing to fill in a feedback survey? It would help us improve next time and we'd appreciate it very much: https://aka.ms/hack-together-teams/survey.

@waldekmastykarz absolutely! - feedback submitted, thanks for hosting an awesome event 🙌

Thank you so much, and thank you for joining us and sharing your feedback ❤

Definitely! Just submitted :-)
Med Venlig Hilsen
Jeppe Spanggaard Christensen
Tlf.: 41 76 02 55
Den tirs. 13. jun. 2023 kl. 08.38 skrev Waldek Mastykarz <
@.***>:

Thank you so much, and thank you for joining us and sharing your feedback
❤
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/hack-together-teams/issues/69#issuecomment-1588636086,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEB3T6SCMHS5VPRJ3PKDDI3XLADGRANCNFSM6AAAAAAZD35ZBI
.


[SPARK-9963] [ML] RandomForest cleanup: replace predictNodeIndex with predictImpl

Can one of the admins verify this patch?

I'll take another look at [https://github.com/apache/spark/pull/8609] now.  Can you please close this duplicate PR?


Unexpected behaviour : Cancel  button in Save Online prompt

Describe the bug
In Simulator, When we click on save online the 'Enter Project Name' dialog opens and then click on the cancel button and it redirects to the Edit project page which is not the expected behavior...
To Reproduce
Steps to reproduce the behavior:

Go to Simulator
Click on 'Save Online'
Click 'Cancel button'
See Error

Expected behavior
When we click on the cancel button,  simply the dialog box should close instead of redirecting to the project page...
Screenshots
If applicable, add screenshots to help explain your problem.
https://user-images.githubusercontent.com/89515816/152522069-faa860e8-ef48-44a9-8317-c23d38c0917e.mov
Device Information [optional]:

OS: Windows
Browser : Chrome

Additional context
Add any other context about the problem here.
Are you working on this issue? (Yes/No)
No

can I take this issue?

can I take this issue?

yes

@vedant-jain03 I have fixed this issue in #3457

hello @Prerna-0202  i would like to takeup this issue.


Fixes broken redirect url

this is broken - https://www.typescriptlang.org/handbook/literal-types.html

Thanks!


Fixing issues for containers and databases with ids with white spaces or special characters

Packages impacted by this PR
@azure/cosmos
Issues associated with this PR
n/a
Describe the problem that is addressed by this PR
With recent changes creating databases and containers with special characters in id wasn't blocked by the SDK anymore - this caused issues because databases created couldn't be deleted afterwards via SDK anymore.
This PR just adds back the id character validation for any resource but items. Fixing why the SDK can't delete these resources will be added in subsequent PR.
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
n/a
Are there test cases added in this PR? (If not, why?)
No - existing test failed.
Provide a list of related PRs (if any)
n/a
Command used to generate this PR:**(Applicable only to SDK release request PRs)
n/a
Checklists

[x] Added impacted package name to the issue description
[x] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[x] Added a changelog (if necessary)

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

why a function name?
if (resource.id[resource.id.length - 1] === " ") { err.message = "Id ends with a space."; return false; }

Suppressing " " at the end of id is only acceptable for container/database (we might fix it there as well eventually) - for "id" it is not acceptable. So, I am using to different validations - one for resources except document/item - one for item (where " " is allowed).


Metal optimizations and fixes

Fixes a bunch of things, except performance on Dota :(
Fixes #3381

I really like the clear split between hal vs. Metal state, it definitely makes the scissor changes easier to follow

I've taken a few tries to separate it at the type level by putting into different structs, really wasted a ton of time on experimenting with it. In the end, there wasn't a good path forward. Mostly, because states are generally not 100% Metal or 100% HAL. Only some states (like resource_vs) are clear-cut like that, but most are somewhat in the middle.
bors r=grovesNL


Bug: When having a partner for your own information in demo customer role, the local deployment does not work

A constraint violation is thrown, when the CommandLineRunner for Data injection has uncommented the method createOwnPartnerEntity in the run method.
Please check if needed or why the constraint for demo role customer does not work.

@eschrewe, this has been fixed with #93, right?

Solved with #93


Restapi auto storage/resource manager

fix missing changes for LargeFileSharesState and others

Can one of the admins verify this patch?

LGTM


accessibility: expose live regions

Is your feature request related to a problem? Please describe.

I'm a blind app developer who wants to get the screen reader to say things.  This can be done in two ways: bundle a bunch of dlls and pull in some dependencies, or use live regions.  It sort of half looks like accesskit might support live regions, so if that's mature, it'd be great to get it exposed in egui.
Describe the solution you'd like

You can hang it off WidgetInfo.  We might ask @mwcampbell as to specifically what semantics need to be exposed, but i the most basic form you set none/polite/assertive and when the text changes the accessibility implementation fires an event (which would be in accesskit for you already).
Describe alternatives you've considered

Libraries like Tolk can work for Windows, and there are various bindings of various maturities.  On Linux and Mac you have to instead use something else (I'm not sure what, but there is  Rust library further astracting it).  This only covers a specific, known set of screen readers and won't cover phones or the web.  It also requires shipping various dlls because of LGPL.
there are incredibly ugly hacks we won't discuss wherein you override the window itself to inject your own accessibility stuff on top of someone else's, but that only works on Windows and we aren't the only highly specific project I know of that has  good reason, since accesskit is right there.
Additional context

This comes up in, e.g., chat apps where the app may wish to announce new messages.  I'm not sure what is available to us, but in the most general case web browsers can have live regions over entire trees of the DOM and any change therein gets announced.  in that case, the implementation of the chat app example is throwing the live region on the right div and doing nothing.  I don't expect that an initial MVP would go that far, but it'd be worth keeping in mind that someone will probably want to do that eventually.  Unfortunately, I don't think that Egui even currently has the concept of an accessibility tree, but I may be wrong; in order for child widgets to benefit from any sort of inheriting it'd have to start with exposing that some way or another.
Also CC @ndarilek who may want this as well provided they are still working on getting bevy_egui to support accessibility, depending on how many screen readers properly support this in practice (I can speak for Voiceover, orca, NVDA, Narrator, and sufficiently new versions of Jaws, though).

AccessKit ensures that setting the live property on a container node is enough. So yeah, we'd need to extend egui's AccessKit integration to create those container nodes for layout groups. Shouldn't be hard.


Additional .env files are not loaded

Hi,
I use .env to store all settings of my project with default or dummy  values. Then for each environment I'd like to override desired values in the .env.local, .env.development and .env.production. The code to load those configs is here:
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__ , ['.env', '.env.local', '.env.development', '.env.production'], true);
$dotenv->safeLoad();

As result. the .env is loaded but any others not.
Any suggestion to fix that will be appreciated. I use version 5.3
Regards, Michael

You need to pass false as the 2nd param. Passing true means it stops loading as soon as it is found a file.


[FAQ] How do I continue the training my old models without fully restart the training

I think this might help the newbies.
I'm also not sure how to do it. 🧇

I've tried fully copied my model v1 folder to the model v2 folder just in case then set at more higher train period.
It does work, but I got 4 lines debug info, maybe these are not important
DEBUG:matplotlib:matplotlib data path: C:\Users\Ingrid\Desktop\Applio-RVC-Fork\Applio-RVC-Fork\runtime\lib\site-packages\matplotlib\mpl-data
DEBUG:matplotlib:CONFIGDIR=C:\Users\Ingrid\.matplotlib
DEBUG:matplotlib:interactive is False
DEBUG:matplotlib:platform is win32

Use the same setting, you can skip first 2 steps(process and extract), jump into step 3 which is train.
But I found my training time is double from 44s to 1:56 and I don't know why.

You can't trin from rvc 1 to 2 i think

I'm afraid you're misunderstanding my word.
I said I create a brand new folder and copied all my old file into new folder, the train setting was totally the same.
Besides I increased the train epochs.

I found a way to continue the old models training.
Step1. Enter the new model name and copy the old model from /log/model name that you want to continue training.
Step2. dataset must come from the old model you want to to continue training.
Step3. Make sure your setting is the match the old model setting. ig pitch algorithm, hop length
Step4. Do NOT do data process neither extract feature, because those steps are already done in old model.
Step5. Change Train Epochs to higher than original old model. (opitonal: change batch size if you have a high end GPU)
Done
Somehow there is a bug. if you stop the traing during training time. and raise the train epochs again that being said you've changed twice epochs in this session. then start the training. it will be very very slow in analyzing phase seems likes stuck in the phase forever.


[Request] Default DNS Challenge Credentials

Instead of writing the same DNS Challenge credentials over and over. A default credentials for DNS Challenge will be great and helpful when adding a new subdomains.

Duplicate of https://github.com/jc21/nginx-proxy-manager/issues/1093


Runing sbt test in Github Actions

As mentioned in #61 the tests are not being run by the project. Adding explicit sbt test step. Also renaming a step called sbt test to something else (as it does not run sbt test).

Thanks!

It seems to have worked:


Typos on Obs Detail

Several typos on Obs Detail, go to Details tab and scroll down to Data Quality.

[ ] "Needs Id" -> Needs ID
[ ] "resarch" grade -> Research
[ ] Data quality "Assessement" -> Assessment

I can only find the "Needs Id" one, can you share a screenshot @abhasinat?


idea for "issues with calico"

One way to establish an extra BGP session by MetalLB is to source it from a loopback. With Calico, you can add/remove IP pools that are being advertised.  So here's an idea (i haven't tested it though):

MetalLB creates a new loopback on every node
The /32 IP of that loopback is added to calico advertised pools
MetalLB established a BGP sessions sourced from that loopback IP

From the POV of the TOR switch, this will look like two BGP sessions, one established over a recursively resolved nexthop

The cleanest solution I think is to bgp peer calico to the TOR L3 switch, and bgp peer metallb to the upstream router.

There's also indication that metallb works if you peer it locally with calico and supply an IPPool to calico: https://github.com/danderson/metallb/issues/114#issuecomment-469985074
I've got this working on my local single-machine dev environment with calico v3.5, no idea if it works in other situations:
https://gitlab.com/gclawes/enterprise-kubernetes/blob/master/helm/metallb-values.yaml
https://gitlab.com/gclawes/enterprise-kubernetes/blob/master/calico/bgp-configuration.yaml#L18

Could the worker node run a new aggregater and have both canal and metallb talk to the local one?

I don't even think that's necessary.  metallb -> calico-node -> upstream router seems to be working in my config, both metallb and calico pod announcements get through to the upstream router.  Not sure how canal works, though.

We've bypassed calico entirely by using FRR and layer 3 routing to the host (hosts function as routers w/ BGP unnumbered peering to TOR leaves).  We run Calico in policy-only mode and let FRR advertise pod IPs.
For metallb, we set it to use pod networking, then have it peer with the host local FRR using BGP dynamic peers along with an entry for each worker in the metallb configmap.  Because FRR's dynamic peering is listening for a host w/ an external ASN, the peering is setup automatically once the host entry in the configmap is in place.
A bit of work on the configmap side to keep workers up to date, but it works flawlessly (we've run this in production for several months).

For me everything is properly working if I patch the bird template on node specific peers (since this is the one I use) and I do the following:
    # ------------- Node-specific peers -------------     {{$node_peers_key := printf "/host/%s/peer_v4" (getenv "NODENAME")}}     {{if ls $node_peers_key}}     {{range gets (printf "%s/*" $node_peers_key)}}{{$data := json .Value}}     {{$nums := split $data.ip "."}}{{$id := join $nums "_"}}     # For peer {{.Key}}     {{- if eq $data.ip ($node_ip) }}     # Skipping ourselves ({{$node_ip}})     {{- else}}     protocol bgp Node_{{$id}} from bgp_template {     {{- if eq $data.ip ("<IP_ADDRESS>")}}       passive on; # Don't talk to yourself       local as {{$data.as_num}};     {{- end}}       neighbor {{$data.ip}} as {{$data.as_num}};     {{- if and (eq $data.as_num $node_as_num) (ne "" ($node_cluster_id)) (ne $data.rr_cluster_id ($node_cluster_id))}}       rr client;       rr cluster id {{$node_cluster_id}};     {{- end}}     }     {{- end}}     {{end}}     {{else}}# No node-specific peers configured.{{end}}     {{end}}{{/* End of IPv4 enable check */}}
=> passive on;
=> local as {{$data.as_num}};

From my perspective, this is Calico's problem to solve, not MetalLB's. In the other bug, there seemed to be agreement for adding an option for BGP passive mode in Calico, but nobody's interested in writing the patch yet. I suggest taking the discussion there so that Calico folks can also comment on ideas.

From my perspective, this is Calico's problem to solve, not MetalLB's. In the other bug, there seemed to be agreement for adding an option for BGP passive mode in Calico, but nobody's interested in writing the patch yet. I suggest taking the discussion there so that Calico folks can also comment on ideas.

That 's true calico is missing a passive feature on BGPPeer... But another thing is missing...
It is metallb that knows about which pod deal with which IP, for my setup and with externalTrafficPolicy: Local, I think the kube node is currently missing the route to the pod network namespace (this would permit to bird to not set it as unreachable) and this is what is doing calico with its floating_ip feature.


crop/ should return data in WGS84 (input crs)

In https://github.com/developmentseed/titiler/blob/725da5fa1bc56d8e192ae8ff0ad107493ca93378/titiler/api/endpoints/cog.py#L299-L308 we don't define the output CRS (dst_crs) so by default rio-tiler-crs will use the file CRS: https://github.com/cogeotiff/rio-tiler-crs/blob/master/rio_tiler_crs/reader.py#L307-L335
The problem is when passing width and height, we might loose the information about the actual data transform (because the width and height will be relative to the data in the output crs).
We should force the dst_crs to be the same as the bounds_crs (wgs84) by default on the API side!

done in #54


feat: actor class management secondary class constructor and sugar

revision of #3383 with better API
Given some actor class, Class, provide a typed interface to canister management as an additional curried function, Class hidden in a user-inaccessible system module:
actor class Class (a1:T1, ... an:TN)  {
   ....
}

is imported as:
module Lib  {
   type Class = ...;
   Class : (T1, ... TN) -> async Class;
   system : module {
      Class :
        { #new CanisterSettings;
          #install : Principal;
          #reinstall : actor {} ;
          #upgrade : actor {} }  ->
            (T1, ... TN) ->
                async Class
  }
}

Abusing keyword system as in inaccessible field name and
where CanisterSettings is taken directly from the Interface Spec:
type CanisterSettings = {
     settings : ?{
        controllers : ?[Principal];
        compute_allocation : ?Nat;
        memory_allocation : ?Nat;
        freezing_threshold : ?Nat;
     }
}

The variant argument reflects the fact that you can only install code to a fresh principal, and upgrade or reinstall a canister with already installed code (i.e. an actor {}). The #new variant is like the default constructor (calling create_canister), but lets you specify the canister settings.
Since the module name system is an inaccessible keyword, also add sugar
( system <exp_post> DOT <id>)
desugaring to
<exp_post>.system.<id>
to enable explicit access to the secondary constructor.

@ggreif PTAL (changelog)


Add goleak check in pkg/cassandra/gocql/testutils

Which problem is this PR solving?

#5006

Description of the changes

added goleak check in pkg/cassandra/gocql/testutils

How was this change tested?

make test

Checklist

[x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
[x] I have signed all commits
[x] I have added unit tests for the new functionality
[x] I have run lint and test steps successfully

for jaeger: make lint test
for jaeger-ui: yarn lint and yarn test

Thanks!


Import VDC file as NetCDF crashes

File->Import CF
Select a VDC file

vapor will crash

If there is a specific VDC file that is problematic please provide it. Testing with Duku and Katrina work for me.


[WIP] Blind outputs with blinders

This PR lets to use inputs blinders to blind a transaction. Follow the same principle of liquidjs' PR

add MakeFile (only make test)
no need to redefine BlindingData struct: confidential.UnblindOutputResult do the job.
the blinder struct is composed by an outputsIndexToPubKey map using to specify the outputs to blind. Instead of a set of input private blinding key, it uses inputsBlindingData = a set of inputs blinding data.
Blind uses the interface BlindingDataLike to handle private keys AND/OR blinders (Same for the VerifyBlinding function).
BlindingDataLike export the inputs unblinding step outside of the Blind method.

For an unknown reason, these changes make the test results random. Sometimes all the blinded transactions are valid, but often, we get the bad-txns-in-ne-out, value in != value out (code 16) (happen on random txs). I can't find where the problem appears, any idea to help me with this is welcome.
it closes #149
@tiero @altafan please review

For an unknown reason, these changes make the test results random. Sometimes all the blinded transactions are valid, but often, we get the bad-txns-in-ne-out, value in != value out (code 16) (happen on random txs). I can't find where the problem appears, any idea to help me with this is welcome.

It is using the latest go-secp256 tagged release?

For an unknown reason, these changes make the test results random. Sometimes all the blinded transactions are valid, but often, we get the bad-txns-in-ne-out, value in != value out (code 16) (happen on random txs). I can't find where the problem appears, any idea to help me with this is welcome.

It is using the latest go-secp256 tagged release? Ref: vulpemventures/go-secp256k1-zkp#8

Yes v1.1.0

UPDATE: I did an error --> always generate the same random blinder for all outputs. Fixing this seems to fix the problem for "non issuance transaction". However, issuance and re-issuance transactions continue to randomly fail. I continue to investigate this..

Sorry I meant Travis.yml since we have It :joy:  It's ok to haave both at this point since you spent time adding it, but would you update .travis.yml as well?

For an unknown reason, these changes make the test results random. Sometimes all the blinded transactions are valid, but often, we get the bad-txns-in-ne-out, value in != value out (code 16) (happen on random txs). I can't find where the problem appears, any idea to help me with this is welcome.

Good news! I solved this.. It was indeed a random problem!! 😱 Looping over a map (b.blindingPubKeyByOutputIndex) does not grant to maintain the order of the outputs while blinding which is something crucial for us. You can cherry-pick my commit.

LGTM but NewBlinder AFAIK will break tdex-daemon?

This is actually right because we changed one of its args.. If we have no choice but to make a breaking change, then I would drop NewBlinderByIndex and modify also its blindingPubkeys [][]byte arg into a outputsPubKeyByIndex map[int][]byte

LGTM but NewBlinder AFAIK will break tdex-daemon?

This is actually right because we changed one of its args.. If we have no choice but to make a breaking change, then I would drop NewBlinderByIndex and modify also its blindingPubkeys [][]byte arg into a outputsPubKeyByIndex map[int][]byte

We are not a point yet where we need to be backward compatible. But the idea would have been to have a NewBlinderSomething doing the new stuff.
ACK for breaking compatibility, at this point I agree with @altafan to drop NewBlinderByIndex
@louisinger

Update: NewBlinderByIndex renamed into NewBlinder @tiero


Issue with using git tags

I think there is an issue using git tags still. Also println! got left in the code for the target dir.
 ✘ bryn@amsterdam  ~/git/acme  cargo router plugin create test
    Finished dev [unoptimized + debuginfo] target(s) in 0.10s
     Running `target/debug/xtask router plugin create test`
🔄 Cloning repository…
target_dir -- "/tmp/5ca4508dd9924e1045b6b010b0e3eb9f"
Error: revspec 'v0.9.2' not found; class=Reference (4); code=NotFound (-3)

Tag v0.9.2 exists.

My mistake! Bug in my code.

Regarding the logs I forgot to delete a debug log. Will delete it in the next release


Special Plants Not Crafting

Special plants aren't able to craft anything somehow but the powders are being applied to them and they are also growing in xp.
hackstead-bug.mp4.zip

Define special plants. What are you trying to craft?

Its aloe avanta - should be in the vid but not 100% sure.

In the video I see it happening with a tinkerstool and an aloe avanta.

yeah both the plants

I believe this is exclude to @faisalsayed10, everyone else's tinkerstool and aloe avanta work to my knowledge.

This might have to do with another bug the another day - it would not show Fayd as online for some reason. I had to run /hackstead @Fayd for the server to put him online.

The server was down for a potion of this morning for a migration, @hkatzdev your bug specifically could've been a symptom.

Update: My Tinker and Aloe Still doesn't craft.

Huge update - this is an edge case that only Fayd is experiencing due to his unique method. When not all land plots are filled, crafting breaks. I have confirmed this by attempting to craft with my tinkerstool twice, both 1min 30sec a part to assure this is not lag. Removing question label now that we know the cause.
In order to fix his hackstead temporarily I have given him 2 bread seeds. These plants can be destroyed once a fix is in place. Additionally, since his hackstead has been unable to craft for approx 3 days now, I have also given him 1 rift to make up for this. I am not a special user so would appreciate reimbursement if you agree that this is fair.
Since this is a rather large issue I am additionally pinning this issue to ensure it will be worked on.

Yeah! Now when I hv plants planted in the other 2 plots, the crafting is working perfect. it is maybe an issue in the code where the crafting is set to null if there are no neighbour plants.

Hi, are there any updates on this?

An Important Update On This Issue:
I tried testing smth and found that there's no need for filling all the plots, but there shud be a neighbour plant. it is regarding the neighbour plant. i just planted a bractus near my tinkerstool but not near the avanta, so now the tinker works properly but avanta doesn't. Conclusion: The bug is regarding neighbour plants.
Hope this may seem helpful to you!


Bookmarklet feature

I know this is probably out of the scope of Transmissionic but it would be good to be able to send torrents/magnets directly to transmission via a bookmarklet from any webpage.
My searching for this elsewhere turned up solutions from 10 years ago!
Thoughts?

This sounds very interesting, I would love to implement this feature, but I'm not sure if it's possible to do this from a Web UI only.
Usually, bookmarklet are used to send the current page URL to an external service, here I need to search in the page if there are magnets or hashs, which can lead in false positives. But it may be possible with some tricks, I will try this soon.
Alternatively, you could try to build the Electron client for Mac OS, this can be done with a few command lines by following the Build steps and running npm run-script electron:build-mac.
This will allow you to open magnets and torrent files directly in Transmissionic.

That’s great, happy to test if you find a way.

Not sure if this is any use but javascript seems an option: https://www.hongkiat.com/blog/make-bookmarklet-with-javascript/

All bookmarklets use javascript, but there are some limitations.
Bookmarklets work fine when there is only one element in the page, for example on YouTube there's only one video player in the page, same for streaming sites. But for torrent sites, some sites display multiples magnet links on the same page, so the script can't tell which one to take.
That's why it's more efficient to do it with an extension which allows to use the context menu.
The bookmarklet method will not work on all websites, by I will still try to add it as a bonus feature.

Feature added in v1.1.7, you can find more information in the Bookmarlet section. I hope this will meet your needs.

This works perfectly from my initial use (will test further), 2 days turn around from initial suggestion to implementation is pretty good. Well done :)

You can now use the bookmarklet to import torrent file links in v1.1.8, this should work with most sites, but not on private trackers.


Use the new as syntax for type assertions

Fix #1703

Current coverage is 100% (diff: 100%)

Merging #1708 into master will not change coverage

@@           master   #1708   diff @@
=====================================
  Files           1       1
  Lines        4004    4004
  Methods         0       0
  Messages        0       0
  Branches      701     701
=====================================
  Hits         4004    4004
  Misses          0       0
  Partials        0       0

Powered by Codecov. Last update 4a5be92...53bf853


spotify authorization no longer possible

Hi,
my spotify token expired a couple of hours ago.
I tried to get a new one by visiting https://visp.site/authorize, but this no longer seems to work. It constantly reports Authorization failed.
I also tried to disable the app visp in spotify and readded it. However, it is no longer possible to get a new token.
environment
darwin (latest)

Suddenly, it works again. Maybe this was a spotify issue.

Spotify was having some issues yesterday. I reported this to the Spotify Go library maintainers at https://github.com/zmb3/spotify/issues/153. There is also some info at https://community.spotify.com/t5/Spotify-for-Developers/Constant-503-errors-from-API/td-p/5203816.


Feature/75 jenkins graph importer analysis core

JF for creating graph database and analysis core for release using shared groovy library

@SolomonShorser-OICR @jweiser had to resolve merge conflict

Next time, please try to resolve the merge conflicts before requesting review.

Next time, please try to resolve the merge conflicts before requesting review.

I didn't realize 'merges' in conflicts are actually merging the resolution into the current branch, not completing the merge into the destination branch, I actually waited until I'd received approval before resolving it haha... live and learn!


Add support for dual-stack Pod/Service CIDRs and node IP addresses

Proposed Changes

Add support for dual-stack cluster/service CIDRs and node addresses
Begin transitioning the ip/externalip/hostname handoff (used by the K3s cloud provider) from labels to annotations, as labels do not allow the character-set necessary to pass through IPv6 addresses.

If a node has labels they will be maintained, but new nodes will use only annotations. The cloud provider will continue to check both, with annotations taking precedence.

Dual-stack node addresses are not autodetected; if desired a dual-stack address list must be passed to --node-ip (and --node-external-ip as necessary). Kubeadm is taking the same approach: https://github.com/kubernetes/kubeadm/issues/1612#issuecomment-786540060

This opens the door to dual-stack operation, even if flannel and the kube-router NPC don't support it yet.
Note: Cluster-DNS and the Kubernetes apiserver --advertise-address themselves do not support dual-stack operation yet: https://github.com/kubernetes/kubeadm/issues/1612#issuecomment-772583989
Types of Changes
Feature
Verification

Confirm that K3s works as usual when specifying only IPv4 CIDRs, or when using defaults
Confirm that specifying dual-stack CIDRs raises an error if not run with --disable-network-policy --flannel-backend=none

Example test:

Add "ipv6": true, "fixed-cidr-v6": "fd7c:53a5:aef5:0::/64" to /etc/docker/daemon.json and restart docker
Run K3s server with IPv6:docker run --name=k3s-server-1 --rm -it --privileged rancher/k3s:BUILD_TAG --debug server --cluster-cidr=<IP_ADDRESS>/16,fd42::/48 --service-cidr=<IP_ADDRESS>/16,fd43::/112 --disable-network-policy --flannel-backend=none --node-ip=<IP_ADDRESS>,fd7c:53a5:aef5::242:ac11:2

Check for dual-stack CIDRs and node addresses:docker exec -it k3s-server-1 kubectl get nodes -o yaml | grep -EA6 'spec:|addresses:'
  spec:
    podCIDR: <IP_ADDRESS>/24
    podCIDRs:
    - <IP_ADDRESS>/24
    - fd42::/64
    providerID: k3s://7a78f12c7fb1
    taints:
--
      addresses:
    - address: <IP_ADDRESS>
      type: InternalIP
    - address: fd7c:53a5:aef5::242:ac11:2
      type: InternalIP
    - address: 7a78f12c7fb1
      type: Hostname

Linked Issues
For #3158
Further Comments
While the CLI has been directly changed to use StringSlices instead of strings, I have opted to add separate fields to the  the Config types in order to retain backwards/forwards compatibility between builds with and without this change.

The code itself seems  fine however for this change, it'd probably be beneficial to include some basic tests. And link over to the associated rancher/docs update pr.

I think https://github.com/k3s-io/k3s/pull/3049 can be closed right then?

Should we close https://github.com/k3s-io/k3s/issues/3158 as well then?

I think #3049 can be closed right then?

Issues with merged PRs don't get closed until QA validates the fix.

Should we close #3158 as well then?

Issues for merged PRs don't get closed until QA validates the fix.

Okay, i thought it had already been validated given that the issue's milestone (v1.21.0+k3s1) has already been released.

No, when QA validates it you'll see a comment from the QA team and the issue will be closed. Experimental features don't always see full validation from QA prior to release.


Dont Download

Song Name
Dont Download
Artist Name
[REDACTED]
Source
Youtube
Youtube Link
https://www.youtube.com/watch?v=2fKFoPLpU2o&t=18s
Direct File Link
No response
Song ID
10005990
Extra
Created from Auto Nong.
Created for level: 105524765
Warning: Dont Download

???


Add selector for kafka configuration

Description of your changes

Fixes #
I have:

[ ] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

This approach won't work.
make generate fails with:

panic: multiple fields with the same name


Checking UE 5.4 textures exported with fmodel

I get this error when I check version of 5.4 uasset textures

The error is
File Summary   file size: 384   cooked header size: 790   name directory offset: 52   import directory offset: 248   export directory offset: 272   unversioned: True Names   0: None   1: PF_DXT1   2: colt_with_face_tex   3: /bbc87fb9-41a3-5002-6d05-fa9c8a4672d2/Colt/colt_with_face_tex Imports   Texture2D     type: 1     id: 0x1b93bca796d1fa6f     class: Class     package_name: /Script/Engine   /Script/Engine     type: 1     id: 0x11acced3dc7c0922     class: Package     package_name: None   Default__Texture2D     type: 1     id: 0x2bfad34ac8b1f6d0     class: Texture2D     package_name: /Script/Engine Exports   colt_with_face_tex     class: Texture2D     super: None     template: Default__Texture2D     size: 2097299     offset: 0     is public: True     is standalone: True     is base: False     object flags: 11 Main Export Class: Texture2D colt_with_face_tex: (offset: 0)     bulk type: UEXP     data size: 2097152     offset: 123     width: 2048     height: 2048 Comparing C:\Users\user\Documents\FModel\Output\Exports\FortniteGame\Plugins\GameFeatures\bbc87fb9-41a3-5002-6d05-fa9c8a4672d2\Content\Colt\colt_with_face_tex.uasset and C:\Users\user\AppData\Local\Temp\tmpblb54jxv\colt_with_face_tex.uasset... Traceback (most recent call last):   File "C:\Users\user\Downloads\FMT\src\main.py", line 580, in <module>     main(args, config=config)   File "C:\Users\user\Downloads\FMT\src\main.py", line 528, in main     results = [func(folder, file, args)]                ^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\Users\user\Downloads\FMT\src\main.py", line 99, in caller     raise e   File "C:\Users\user\Downloads\FMT\src\main.py", line 96, in caller     response = func(*args, **kwargs)                ^^^^^^^^^^^^^^^^^^^^^   File "C:\Users/user\Downloads\FMT\src\main.py", line 142, in valid     compare(f"{old_name}.{ext}", f"{new_name}.{ext}")   File "C:\Users\user\Downloads\FMT\src\util.py", line 64, in compare     raise RuntimeError(f"Not same :{i}") RuntimeError: Not same :2097683

Thanks for the testing. Can you share the asset?

RuntimeError: Not same :2097683

That should be a new issue. It failed to reconstruct binary data somehow.

Fixed at 8e150f80a873ef1bf317429be3e7500d4ba98c22.
The latest build is available here.
https://github.com/matyalatte/UE4-DDS-Tools/actions/runs/8922932485
I'll close this issue with v0.6.1 release.

Thanks ! So I tested it, works for some textures but still not working for other I'm sending you one that don't work : https://www.mediafire.com/file/em8139gagquibrf/T_Vigilante_Yellow_Body_D.uasset/file

still not working for other

Thanks for the report. I fixed it at 192cedb39accbe68ff7b123503ee855455f27843.
The latest build is available here.
https://github.com/matyalatte/UE4-DDS-Tools/actions/runs/8934391242

Thanks works ! Now I have a problem with only one file idk if the version is 5.3 or 5.4. Sorry for all this 😭
Here is the link : https://www.mediafire.com/file/3vlqe45nqp5ryhz/BluePrintTexture022.uasset/file

am facing this issue here is the assets

https://www.mediafire.com/file/z9kktgu4qnxzgdt/NotSoHolyBuilds.uasset/file
https://www.mediafire.com/file/yi7xg8p8anhy5v5/HolyBuilds.uasset/file

when i try to export textures from the assets

@KIZILANDO

Now I have a problem with only one file to export and check version idk if the version is 5.3 or 5.4. Sorry for all this 😭

Fixed at 9fbdd29f22f5429616ef9784494c9034b0643a68.
The lasted build is available here.
https://github.com/matyalatte/UE4-DDS-Tools/actions/runs/9033163501

@Zer0cipher
Which UE version your game uses? Your assets look quite different from the uasset format I know. I assume it's a customized version or something.

thats fortnite and its ue5.4 and thats a UEFN cooked asset idk if he did something to it before cuz thats not my asset

thats a UEFN cooked asset

Thanks for the info. So, UEFN uses a heavily customized format, I think.
I opened a new issue for it (#38.) Idk if I'll work on it or not tho.

ok ty

I'll close this issue with v0.6.1 release. please open a new issue if you get another error.


changing file extension :P

useless change but :P

requirements.txt lists versions for pip to install.
requirements.org is instructions for people.
Sorry.

oi, why did I not read? Why can't I delete PR's :P


Not working on chromium/debian

Is it normal that I don't see anything in the right pane of the gist.run page? I get the following error on the console Uncaught (in promise) DOMException: Failed to register a ServiceWorker: The user denied permission to use Service Worker.
Using chromium Version 50.0.2661.75 Built on 8.4, running on Debian 8.4 (64-bit)

Does not work in any gist, not even https://gist.run/

Adding one URL for testing (assuming that @jdanyow has access to debian:
https://gist.run/?id=59f4cbf39323e9581de9d644d12258f4
this should result with:

Is this working now in chrome 51 on debian?  If not, does it work in chrome canary on debian?  What about firefox on debian?

I had the same error when I had third party cookies disabled. Once I'd allowed them it worked:

In Firefox 61.0a1 (2018-03-19) (64-bit) with "Accept third-party cookies and site data" set to "from visited", I get this error: Failed to register/update a ServiceWorker for scope ‘https://gist.host/’: Storage access is restricted in this context due to user settings or private browsing mode. Changing the preference to "always" fixes the issue.


Flip cards show the same image twice

It's trying to be smart a la Meld cards or DFCs but it's being too smart.

Might just be a flip-cards-are-broken-in-mtgjson problem but I don't think so.

If it showed the card upside down it might be useful.
Right now, I'm inclined to blame mtgjson.
On Mon, Oct 31, 2016 at 8:43 AM Thomas David Baker<EMAIL_ADDRESS>wrote:

Might just be a flip-cards-are-broken-in-mtgjson problem but I don't
think so.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/PennyDreadfulMTG/Penny-Dreadful-Tools/issues/382#issuecomment-257181585,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAL2zgWfshDDeINhqWSJL0aA-5vDxNgrks5q5Q-PgaJpZM4KkULk
.

I think you're right. The only case I've actually seen in Nezumi Graverobber. Budoka Pupil does the right thing.

Checked some others and they were all fine. Closing and assuming forthcoming flip card fix up will get the rest.


pong websocket isn't closing when navigating to other page of the site

will need to create a custom event when the page is changed


soc memcpy

[soc] fix setvli bug.
[soc] vop.v.x need read rs1.
[nix] add mill deps hash for soc.

why performance changed...

In the past, there was back pressure on the write queue?


Collapsed lines

Hi Jed, thanks for this great feature, I am using it now in most of my pages. I just have a question regarding how I want to show the readmore button only when the texts exceed 3 lines(instead of collapsedHeight), then show the read more link. Otherwise don't show it.  Can your code already handle this, I am just curious.

No, the current version of Readmore.js does not accept number of lines, only height. But you could achieve the same effect with a collapsedHeight equal to the desired number of lines, multiplied by the line height. (e.g. assuming 16px font with line-height of 1.5, collapsedHeight: 72 would show the first three lines of text in a block. 16 * 1.5 * 3 = 72)


TextInput canvas working different from other widgets (maybe working incorrectly?)

Software Versions

Python: 3.1.4
OS: Windows 11 23H2 22631.3085
Kivy: 2.3.0
Kivy installation method: pip

Describe the bug
The canvas instructions of the kivy's TextInput are not working same as other widgets like Label.
For example: if you create a Label, you can modify your font color with color property and customize the background with the canvas. But with TextInput is different. If I try to design a TextInput like I would do with Label, I find the font color always matches the last color used in its canvas instructions.
In addition, you can notice the rectangle ignores the size and size_hint properties.
Other bug I've seen is the canvas (even if used with canvas.before) is drawn under the letters, but over the rest of the widget graphics, including cursor. This is easily testable adding cursor_color = (0, 0, 0) line in the TextInput declaration.
The issue tracker is a tool to address bugs only (search known bugs: https://git.io/vM1iE).
Please use the #support Discord channel at https://chat.kivy.org/ or Stack Overflow for
support questions, more information at https://git.io/vM1yQ.
Expected behavior
TextInput should use its foreground_color porperty to give color to its font, instead of canvas instructions.
To Reproduce
A short, runnable example that reproduces the issue with latest kivy master.
Code and Logs and screenshots
import kivy
kivy.require('2.3.0')

from kivy.config import Config
Config.set('graphics', 'width', '440')
Config.set('graphics', 'height', '700')

from kivy.core.window import Window
Window.clearcolor = (1, 1, 1, 1)

from kivy.app import App
from kivy.graphics import \
    Color,\
    Line,\
    Rectangle
from kivy.uix.textinput import TextInput

class TestApp(App):
    def build(self):
        text_input = TextInput(
            background_color = (0, 0, 0, 0),
            border = [0, 0, 0, 0],
            foreground_color = (0, 0, 0),
            font_size = 24,
            multiline = False,
            padding = (10),
            pos_hint = {'left': 0, 'bottom': 1},
            size_hint = (1, None),
            height = 56,
            text = 'Hello world!',
        )
        with text_input.canvas.before:
            Color(0, .5, 0)
            Rectangle(
                pos = text_input.pos,
                size = text_input.size,
                size_hint = (1, 1)
            )
            Color(1, 0, 0)
            Line(
                width = 2,
                rectangle = (
                    text_input.x + 10,
                    text_input.y + 10,
                    text_input.width - 20,
                    text_input.height - 20
                )
            )
        return text_input

if __name__ == '__main__':
    TestApp().run()

Additional context
I've seen some issues where you say you're about to change your TextInput provider. If this issue is related to the provider, I would thank if you can provide me any workaround while I wait for the change

On the font colour that can be addressed by assigning a Color at the end of your canvas instructions
That's a good workaround for me, thanks :)
as if you are redrawing canvas for an input should just clear the default instructions and rewrite in full
Okay, I thought it should work same as Label (at least the part where canvas don't change the font)


Uncaught Error: Cannot call function 'getPosition' on missing remote object 1252Error: Cannot ca...

[Enter steps to reproduce:]

...
...

Atom: 1.23.3 x64
Electron: 1.6.15
OS: Unknown Windows version
Thrown From: Atom Core
Stack Trace
Uncaught Error: Cannot call function 'getPosition' on missing remote object 1252
Error: Cannot call function 'getPosition' on missing remote object 1252
at throwRPCError (C:\Users\abdelhak.ajbouni\AppData\Local\atom\app-1.23.3\resources\electron.asar\browser\rpc-server.js:143:17)
at EventEmitter. (C:\Users\abdelhak.ajbouni\AppData\Local\atom\app-1.23.3\resources\electron.asar\browser\rpc-server.js:354:7)
at emitMany (events.js:127:13)
at EventEmitter.emit (events.js:201:7)
at WebContents. (C:\Users\abdelhak.ajbouni\AppData\Local\atom\app-1.23.3\resources\electron.asar\browser\api\web-contents.js:256:37)
at emitTwo (events.js:106:13)
at WebContents.emit (events.js:191:7)
At C:\Users\abdelhak.ajbouni\AppData\Local\atom\app-1.23.3\resources\electron.asar\renderer\api\remote.js:234

Error: Cannot call function 'getPosition' on missing remote object 1252
Error: Cannot call function 'getPosition' on missing remote object 1252
    at throwRPCError (~/AppData/Local/atom/app-1.23.3/resources/electron.asar/browser/rpc-server.js:143:17)
    at EventEmitter.<anonymous> (~/AppData/Local/atom/app-1.23.3/resources/electron.asar/browser/rpc-server.js:354:7)
    at emitMany (events.js:127:13)
    at EventEmitter.emit (events.js:201:7)
    at WebContents.<anonymous> (~/AppData/Local/atom/app-1.23.3/resources/electron.asar/browser/api/web-contents.js:256:37)
    at emitTwo (events.js:106:13)
    at WebContents.emit (events.js:191:7)
    at metaToValue (~/AppData/Local/atom/app-1.23.3/resources/electron.asar/renderer/api/remote.js:234:13)
    at Object.remoteMemberFunction (~/AppData/Local/atom/app-1.23.3/resources/electron.asar/renderer/api/remote.js:118:18)
    at AtomEnvironment.module.exports.AtomEnvironment.getWindowDimensions (~/AppData/Local/atom/app-1.23.3/resources/app/src/atom-environment.js:691:34)
    at AtomEnvironment.module.exports.AtomEnvironment.storeWindowDimensions (~/AppData/Local/atom/app-1.23.3/resources/app/src/atom-environment.js:725:42)
    at WindowEventHandler.handleWindowBlur (~/AppData/Local/atom/app-1.23.3/resources/app/src/window-event-handler.js:189:32)

Commands
     -6:04.6.0 find-and-replace:show (input.hidden-input)
     -6:04.2.0 core:paste (input.hidden-input)
  2x -5:59.5.0 editor:newline (input.hidden-input)
     -5:47.2.0 core:move-down (input.hidden-input)
     -5:46.9.0 autocomplete-plus:confirm (input.hidden-input)
     -5:46.9.0 autocomplete-plus:activate (atom-text-editor.editor.is-focused)
     -5:40.3.0 core:copy (input.hidden-input)
     -5:34.9.0 editor:newline (input.hidden-input)
     -5:34.6.0 core:paste (input.hidden-input)
     -5:31.6.0 core:backspace (input.hidden-input)
     -5:20.1.0 editor:newline (input.hidden-input)
     -5:19.8.0 core:paste (input.hidden-input)
     -5:17.3.0 core:backspace (input.hidden-input)
     -5:03.9.0 core:paste (input.hidden-input)

Non-Core Packages
atom-beautify 0.30.9
autoclose-html 0.23.0
autocomplete-paths 2.12.2
autosave-onchange 1.5.1
css-spy 0.6.0
double-tag 1.1.0
emmet 2.4.3
file-icons 2.1.16
highlight-selected 0.13.1
minimap 4.29.7
minimap-highlight-selected 4.6.1
pigments 0.40.2
screen-recorder 1.5.0

Thanks for contributing!
We noticed that this looks like a duplicate of https://github.com/atom/atom/issues/16630 so you can subscribe there for updates if you'd like.  If you remember what you were doing at the time of the error or if you have steps to reproduce the error, feel free to let us know in https://github.com/atom/atom/issues/16630.

Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Add option to turn off logging in the console

Basically, the periodic writing of the JSONs is drowning all other information that I might be looking for in the JSON

thanks :)


RFC: Amending the submissions design rework

Follow-up of https://github.com/tomaka/vulkano/issues/385
After implementing #385 I tried porting my real-world project to this new design to see if it works nice.
Unfortunately I have found a problem which I hadn't anticipated: you often need to make the GPU wait for a frame to finish before starting the next frame.
For example imagine you have a texture atlas, and at the start of a frame you write to it, then for the rest of the frame you use it for sampling. In this situation you need to add a dependency between the end of a frame and the start of the next, otherwise you'd write to the atlas while it is being sampled.
This means that the future of each frame must hold the future of the previous frame, which in turn holds the future of the previous frame, and so on. The memory usage would increase more and more. This is more or less a memory leak.
Therefore we need a way to break this cycle. I suggest that the FenceSignalFuture drops its content after being signaled. Before the fence is signaled, the content is kept alive and the check_buffer_access and check_image_access return correct values, and after the fence is signaled the content is destroyed and the two methods return false.
Unfortunately dropping the content of the future also has the consequence that the lock of all resources is destroyed as well. Right now the design of submissions assumes that resources used by the GPU are locked either directly or by an earlier future. If futures can drop their content, this is no longer true.
Therefore I think that locking must be done in two steps:

The first time a resource is used in a chain of futures, the gpu_access method of the buffer or image is called to query access. This method should be named to something like try_gpu_lock.
The next times, a new unsafe method named increase_gpu_lock is called. This method assumes that the resource is already locked, and increases the lock by one.

Therefore even if the first lock is dropped (after being cleaned by a FenceSignalFuture for example), the further locks will still keep the resource locked.

Note that this is more of a "report about what I'm doing" rather than a real RFC. I've studied a bit the various possible solutions, and this is the only one that I could find that makes sense.
Of course if someone has a better idea, feel free to post it.

This was implemented some time ago already.


on version 2.0.2 ,the saveOption function does not take effect when used in loop.

the function:  myWebServer.addOption(LONG_LABEL, longVar); could save data to fs and could be loaded later, but when i use saveOptions();
it work as follow code :   // Config file will be opened on the first time we call this method
..
myWebServer.saveOptionValue(LONG_LABEL, longVar);
..
Serial.println(F("Application options saved."));
It seem not take effectect, is there somthing wrong in code:?
my code is as follow:
void loop() {
  myWebServer.run();

  if (! digitalRead(BTN_SAVE)) {
//
    loadOptions();
    Serial.printf("Application option loaded after web requestlongVar =%d\n",longVar);
    longVar++;
    Serial.printf("finished add n option loaded after web requestlongVar =%d\n",longVar);
//
   saveOptions();
   Serial.printf("---------------------\n");
//
    loadOptions();
    Serial.printf("Application option loaded after web requestlongVar =%d\n",longVar);
    longVar++;
    Serial.printf("finished add n option loaded after web requestlongVar =%d\n",longVar);

  //把longVar 保存的config文件中
  saveOptions();
     Serial.printf("========================\n");
    }
   delay(1000);
}

===========
Serial output：
This are the current values stored:
LED pin value: 2
Bool value: true
Long value: 1010
Float value: 15.500
String value: Test option String
Dropdown selected value: Monday
Application option loaded after web requestlongVar =1010
finished add n option loaded after web requestlongVar =1011
Application options saved.
This are the current values stored:
LED pin value: 2
Bool value: true
Long value: 1010
Float value: 15.500
String value: Test option String
Dropdown selected value: Monday
Application option loaded after web requestlongVar =1010
finished add n option loaded after web requestlongVar =1011
Application options saved.

Hi @Zhantongoscar.
Sorry for the late reply and thanks for reporting the bug.
I'll get to work immediately to understand what could cause this malfunction

Hi again.
The error was in the customOptions.ino example.
The method for saving options must be called with a true parameter in order to overwrite the config.json file
myWebServer.closeConfiguration(true);

thank cotestatnt for kindly answer! the esp_fs_weber lib is a great lib i have ever used in arduino. I follow it for years and use it as my base application in iot. thanks again!

by the way, we should update the code "myWebServer.closeConfiguration(true);" in save function at  customOptions.ino example.


Can we load source file in the load function

Right now I am loading the context with some source which contains informtion about paths etc.
with Sultan.load(user='puneet', logging=False, hostname="hadoopbox",
                 cwd="/home/user/puneet && source /home/user/puneet/hadoop.env") as s:
    for x in s.hadoop('fs -ls /user/puneet').pipe().sed("-r \"s/ +/ /g\"").pipe().cut("-d\" \" -f8").run():
        print(x)

I think this can be made better by having an optional parameter which loads source while loading the context. Or, maybe it's already there and I am missing something.
Something like this would work great
with Sultan.load(user='puneet', logging=False, hostname="hadoopbox",
                 cwd="/home/user/puneet", source="/home/user/puneet/hadoop.env") as s:
    for x in s.hadoop('fs -ls /user/puneet').pipe().sed("-r \"s/ +/ /g\"").pipe().cut("-d\" \" -f8").run():
        print(x)

If this looks okay to you I can create a pull request @davydany

It's implemented now in Sultan v0.6. Here are the docs, just like how you wanted it: http://sultan.readthedocs.io/en/latest/sultan-examples.html#example-11-sourcing-a-file-before-running-a-command

Please reopen the issue if this is still an issue.


[Bug]: XFA Fields not Saving Data Properly

Attach (recommended) or Link to PDF file
https://www.courts.ca.gov/documents/de295.pdf
de295_locked.pdf
Web browser and its version
Most update to date Firefox
Operating system and its version
MacOS
PDF.js version
4.8.69, Prebuilt (Old Browsers)
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem

Open PDF in Firefox Pdf.js editor

Edit the field that has (date) in front of it and save document

Open the saved file in Adobe Acrobat, notice the field where you inputted data is empty

What is the expected behavior?
I expect the field to save the data I inputted from the pdf.js editor.

What went wrong?
XFA Field did not have saved data
Link to a viewer
No response
Additional context
Unlocking the PDF seems to save the data properly, but the XFA field is overwritten with a regular PDF field. (The custom date selector is gone)

Attach (recommended) or Link to PDF file
https://www.courts.ca.gov/documents/de295.pdf

That link seems broken (see the response below), please just attach the document directly here.
The requested URL was rejected. Please consult with your administrator.

Your support ID is 51efdb9f-0dc8-42f2-9f37-fd788838ba06
Error 403 - Forbidden
F5 site: ny8-nyc

[[Go Back]](javascript:history.back();)

File download: de295_locked.pdf


Remove Seldon from the dashboard

See title, resolves https://issues.redhat.com/browse/RHODS-5946

[X] The commits are squashed in a cohesive manner and have meaningful messages.
[X] For commits that came from upstream, [UPSTREAM] has been prepended to the commit message.
[X] JIRA link(s): https://issues.redhat.com/browse/RHODS-5946
[X] The Jira story is acked.
[X] Live build image:
[X] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[X] The developer has manually tested the changes and verified that the changes work.
[X] QE contact acknowledges that this has been tested and is approved for merge.

This is the more conservative approach, just removing it from the kfdef, as opposed to https://github.com/red-hat-data-services/odh-deployer/pull/281 which removes everything


Does this work for composite key scenerio

Hi,
In example scenario, Primary Key (single key) is considered for a group while defining the JSON Schema.
Could you please let us know does this work for Composite Key (multiple key to identify record/avoid duplicates) for a group while defining the JSON Schema
If yes, please let us know how to define the JSON Schema

Hi,
at the moment this is not possible. I see the need for it and try to implement this as soon as possible (e.g. in a month). Could you provide an example for showcase and test purpose.
thx, for feedback


Container Serialization - Deserialization

Hello, some people would like to serialize containers and transmit them over the wire ... e.g. using zmq .. and deserialize again into containers on the other side.
I think this does not exist yet, right? @MaxNoe  I think you wrote Container.asdict()  which is already a huge step towards serialization, I think. I am currently looking into serialization into msgpack and back again. Seems to work quite nicely...
As the msgpack people show here: https://github.com/msgpack/msgpack-python#packingunpacking-of-custom-data-type
For serializing custom types, one needs to write these encode/decode functions. custom types includes of course numpy arrays and scalars, as well as astropy.Time and the SubarrayDescription as well as Quantities...
I do not know if serializing to msgpack or to JSON or to BSON or to googles protobuffers is best or so.. and I also do not care, but I see that people want some kind of serialization. So I am looking into this.
I just wanted to open this issue, to inform you and also ask, if there is already some "standard" to follow or some helpers I am not aware of... E.g. Container.from_dict() would be nice...

Containers are pickable, so using pyzmq you can do socket.send_pyobj(container)

Ah right! thanks ... didn't think of pickle at all!

That being said, it might not be the best approach, bet surely the fastest if both the sending and receiving end are python.
json, bson, msgpack or the like would be great for inter-language communication.

Container.from_dict()

Thats basically Container(**dict) right?

Okay so since I looked into msgpack now for an hour or so ... I'll open a little PR for what I have so far.

Thats basically Container(**dict) right?

Also that I was not aware of. ... why was I not aware that containers can be constructed from dicts?
Ah maybe since this is not how we work with them. Instead we construct them once and then "fill" them ...

regarding inter-language ... so for msgpack one needs these custom encoders and decoders ... which will need to be re-implemented for every language ... but they are fairly simple and straight forward, I think.

Also that I was not aware of. ... why was I not aware that containers can be constructed from dicts?

That's nothing special about containers, that's python...

That's nothing special about containers, that's python...

I disagree ... If one does not know Container.__init__ by heart, and only ever sees this usage:
data = SomeContainer()
data.foo = 'bar'

One might simply assume Container.__init__ to be empty or so, but it is not, the relevant part (which I just looked at) is:
    def __init__(self, **fields):
        for k, v in fields.items():
            setattr(self, k, v)

Container.from_dict()

Thats basically Container(**dict) right?

Also it only works if not recursive=True was used.

Also it only works if not recursive=True was used.

Thats someting different, now you are talking about that containter == container(**container.to_dict(recursive=True)), which would be useful, I think.

data = SomeContainer()
data.foo = 'bar'

Really? That is not how it is intended. See for example hillas_parameters:
https://github.com/cta-observatory/ctapipe/blob/423e61e15d2448e04334c33055bb226c454f4d09/ctapipe/image/hillas.py#L155-L166

I disagree ... If one does not know Container.init by heart, and only ever sees this usage:

Container is basically meant to be a dict with attribute access and predefined fields.
Not allowing keyword arguments in the __init__ would maximum surprise.


Access repo state through switch state

This simplifies a bit how states are loaded:

repo state is automatically loaded when switch state is loaded
repo state can be accessed as a field of switch state

When checking if there's such a function in #188 I forgot to check the type, it's exposed and it's a record type so we can simplify this.


web: add a convenient api for data attributes

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/data-*

relevant link https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes

Let's design this before rushing in. It's important to have a common understanding of what exactly  we do consider to be "convenient API"  ; )
So, there's a special family of data--prefixed attributes, and such attributes differ from "regular" attributes in following ways:

They can be accessed via special syntax, through the dataset object.
You can refer any attribute in the content: attr but it sort of best practice to refer data attributes there (is it so? - this is just my hypothesis)

The  №2 seems  to be out of scope of this particular task (though it makes sense to create a task about supporting content, both text and attr-ed in our CSS API), so let's discuss №1.
So, consider following html:
<article
  id="electric-cars"
  data-columns="3"
  data-index-number="12314"
  data-parent="cars">
</article>

Now, imagine that we have some sort of special getElement function that returns an element where all dataset properties are already bound to a specific interface, so that we write something like val a = getElement<SomeDataSetInterface>([some selector]). Well, it's doable, but we are talking about Compose and I just don't see a place where this is applicable to our workflow.  So, what exactly we want to do? Imagine, we have specialised Div, Span etc. composable funs and in all of them you can set  the type of dataset. But we don't have in Kotlin neither default nor nullable type params, so such syntax would be verbose - and this verbosity is not justified, since usually you don't have data attributes you need to access.
If we want to set data attributes directly, to have something like dataAttr  - I'm not sure what exactly we'll wen compared to just using attr - but, again, let's discuss.

closing for now. We'll revisit this when necessary.