Mixed development of Caton on ios15 crash info : [MLTDebugDevice traceStream] unrecognized selector

issue

In the native app, when the native page is opened on flutter page, it will get stuck when returning to the flutter page. It is strange that the problem occurs on IOS 15, but it is normal when run on IOS 14 system. What's more strange is that it's normal for me to debug IOS 15 with Xcode, but there's a problem with the release package
check find is was crash on iOS15 , crash info : [MLTDebugDevice traceStream] unrecognized selector  .cause caton

log

Crash

Hi @zeqinjie, by mixed development do you mean your app is an add-to-app scenario?
Also, can you please provide a complete minimal reproducible code sample as well as the output of flutter doctor -v?
Thank you

We found that it was caused by using libMTLCapture.dylib ， remove it was fine

Don't refer to this article  https://www.jianshu.com/p/9e167d6cf884


Incompatibility with Traffic Lights Enhancement mod

It seems there is an incompatibility with the Traffic Lights Enhancement mod.
I'm getting the following exceptions (and a CTD) when the game loads:
KeyNotFoundException: The given key '4447774304008' was not present in the dictionary.
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <467a840a914a47078e4ae9b0b1e8779e>:0
  at cohtml.Net.Binder.CallbackThunk (System.IntPtr binder, System.Int32 callbackId, System.Int32 argumentsCount) [0x00000] in <4b93ef88188a4d7c88aff340ff545a71>:0
  at (wrapper native-to-managed) cohtml.Net.Binder.CallbackThunk(intptr,int,int)
  at (wrapper managed-to-native) cohtml.Net.cohtmlNativePINVOKE.View_Advance(System.Runtime.InteropServices.HandleRef,uint,double)
  at cohtml.Net.View.Advance (System.UInt32 systemId, System.Double time) [0x00000] in <4b93ef88188a4d7c88aff340ff545a71>:0
  at Colossal.UI.UIView.Update () [0x0001e] in <ce5d520e80344c4399056cbbdae9519f>:0
  at Colossal.UI.UISystem.Update () [0x0001e] in <ce5d520e80344c4399056cbbdae9519f>:0
  at Colossal.UI.UIManager.Update () [0x00015] in <ce5d520e80344c4399056cbbdae9519f>:0
  at Game.SceneFlow.GameManager.UpdateUI () [0x00000] in <b32c7d7e7ca9498a8ce0ea5e934fb7a7>:0
  at Game.SceneFlow.GameManager.Update () [0x00031] in <b32c7d7e7ca9498a8ce0ea5e934fb7a7>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
Colossal.Logging.CustomLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

[RoadBuilder] [ERROR]  Object reference not set to an instance of an object System.NullReferenceException: Object reference not set to an instance of an object
  at cohtml.Net.View.ExecuteEvent (cohtml.Net.Exporter& exporter, System.String& name, System.Byte argumentsCount, System.Action actions) [0x00023] in <4b93ef88188a4d7c88aff340ff545a71>:0
  at cohtml.Net.View.TriggerEvent[T1] (System.String name, T1 argument1) [0x0001e] in <4b93ef88188a4d7c88aff340ff545a71>:0
  at C2VM.TrafficLightsEnhancement.Systems.UISystem.UISystem.CallUpdateLocale () [0x00077] in C:\Users\Sam\Documents\Cities2-TrafficLightsEnhancement\TrafficLightsEnhancement\Systems\UISystem\UISystem.cs:128
  at C2VM.TrafficLightsEnhancement.Systems.UISystem.Patches.NotifyActiveDictionaryChanged () [0x00000] in C:\Users\Sam\Documents\Cities2-TrafficLightsEnhancement\TrafficLightsEnhancement\Systems\UISystem\Patches.cs:16
  at (wrapper dynamic-method) Colossal.Localization.LocalizationManager.Colossal.Localization.LocalizationManager.NotifyActiveDictionaryChanged_Patch1(Colossal.Localization.LocalizationManager)
  at Colossal.Localization.LocalizationManager.ReloadActiveLocale () [0x00065] in <d65fdbb3db55460c89d085c251aa587e>:0
  at RoadBuilder.Systems.RoadBuilderNetSectionsSystem.DoCustomSectionSetup () [0x00044] in E:\Programming\RoadBuilder-CSII\RoadBuilder\Systems\RoadBuilderNetSectionsSystem.cs:124
  at RoadBuilder.Systems.RoadBuilderNetSectionsSystem.OnUpdate () [0x000cb] in E:\Programming\RoadBuilder-CSII\RoadBuilder\Systems\RoadBuilderNetSectionsSystem.cs:76

	  at <unknown> <0xffffffff>
	  at cohtml.Net.cohtmlNativePINVOKE:View_Advance <0x000ae>
	  at cohtml.Net.View:Advance <0x0006a>
	  at Colossal.UI.UIView:Update <0x0007a>
	  at Colossal.UI.UISystem:Update <0x0006a>
	  at Colossal.UI.UIManager:Update <0x0005a>
	  at Game.SceneFlow.GameManager:UpdateUI <0x0002a>
	  at Game.SceneFlow.GameManager:Update <0x000ba>
	  at System.Object:runtime_invoke_void__this__ <0x00087>

Tried to change the load order of the two mods, but it did not help.
However, if disable either Road Builder or Traffic Lights Enhancement then the game can load again.
UPDATE:
The Gooee  mod also have to play a role in this issue, because the crash is only reproducible if I have all these 3 mods enabled. If I disable Gooee then I can load my savegame, but without the mod UI I can hardly do anything :(

Hello, thanks for pointing out the Gooee relation to all this

I tried with the v.0.1.2 version, and it is still crashing during main menu load with the same exceptions as before :(

With some hints in the other linked issue I finally figured out the solution:
To fix the compatibility issue between Road Builder and Traffic Lights Enhancement it was not enough to disable or remove the Gooee mod and delete the C:\Users\<your_username>\LocalLow\Colossal Order\Cities Skylines II\.cache\Mods\mods_subscribed\ folder, because there were also some additional orphaned Gooee folders on my machine:
C:\Users\<your_username>\LocalLow\Colossal Order\Cities Skylines II\Mods\Gooee
C:\Users\<your_username>\LocalLow\Colossal Order\Cities Skylines II\ModsData\Gooee

I have deleted these, and now the mod UIs are back, and the compatibility issue is also gone.


Format DG

Standardize a format
Reorder features section
Some  changes to UML diagrams
A few wordings changed

Codecov Report
Base: 64.67% // Head: 64.67% // No change to project coverage :thumbsup:

Coverage data is based on head (8dda951) compared to base (9a3f333).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #192   +/-   ##
=========================================
  Coverage     64.67%   64.67%
  Complexity      610      610
=========================================
  Files           108      108
  Lines          2058     2058
  Branches        222      222
=========================================
  Hits           1331     1331
  Misses          652      652
  Partials         75       75

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


How to turn off generating chunk files during ng build --prod?

OS?
Ubuntu14.04
Versions.
angular-cli: 1.0.0-beta.26
node: 7.2.1
os: linux x64
@angular/common: 2.4.6
@angular/compiler: 2.4.6
@angular/core: 2.4.6
@angular/forms: 2.4.6
@angular/http: 2.4.6
@angular/platform-browser: 2.4.6
@angular/platform-browser-dynamic: 2.4.6
@angular/router: 3.4.6
1.*.chunk.js ~  is the problem we are getting.
I have to inject generated js files to other index.html.
In this case all these js files are not in the root. As result when I tried on server it does not find 1.*.chunk.js from localhost:9000/
Is there any way to turn off generating chunk files? only generate vendor, inline, main .
It is okay that they have large size.
Please help me to solve this issue.
Thank you very much!

Maybe you need to add the .js type (text/javascript or application/javascript) to site mime types

Could you please let me know more details?

Chunks are created when lazy loading modules. If you don't lazy load you should get no chunks

You might want to update to beta 32.3 and try again. Beta 26 is quite old.

Closing as answered by @deebloo.


sleep() does not stop fan

I use a PMS7003 and the sleep command does not stop the fan. If I short the SET pin to GND the fan stops.

I think that sleep() is not the problem, but communication with (to) PMS, and none commands works, I am right?
Just check wiring, baud rate and so on.
Depending on the module, it is not advisable to use TX/RX lines that are shared with USB (for programming).
For better understand your problem, more information is required:

module,
circuit.
code.

#include <SoftwareSerial.h>
#include "PMS.h"

SoftwareSerial SerialPMS;
PMS pms(SerialPMS);
PMS::DATA data;

void setup()
{
  Serial.begin(115200);   // GPIO1, GPIO3 (TX/RX pin on ESP-12E Development Board)
  SerialPMS.begin(D1,D2);  // GPIO2 (D4 pin on ESP-12E Development Board)
  pms.passiveMode();    // Switch to passive mode
}

void loop()
{
  Serial.println("Waking up, wait 30 seconds for stable readings...");
  pms.wakeUp();
  delay(30000);

  Serial.println("Send read request...");
  pms.requestRead();

  Serial.println("Wait max. 1 second for read...");
  if (pms.readUntil(data))
  {
    Serial.print("PM 1.0 (ug/m3): ");
    Serial.println(data.PM_AE_UG_1_0);

    Serial.print("PM 2.5 (ug/m3): ");
    Serial.println(data.PM_AE_UG_2_5);

    Serial.print("PM 10.0 (ug/m3): ");
    Serial.println(data.PM_AE_UG_10_0);
  }
  else
  {
    Serial.println("No data.");
  }

  Serial.println("Going to sleep for 60 seconds.");
  pms.sleep();
  delay(60000);
}

I choosed the Advanced.ino and changed it to use Softwareserial. The PMS7003 uart module is connected via Pins D1 and D2 at a wemos D1 Mini.
This is the used one: https://i.ebayimg.com/images/g/tr0AAOSwNDhb0t5k/s-l500.jpg

So, getting the values works fine.

You forgot to set the baud rate.
I do not think it is correct:
SerialPMS.begin(D1,D2);  // GPIO2 (D4 pin on ESP-12E Development Board)
begin() require speed parameter, not pin numbers:
https://github.com/arduino-org/Arduino/blob/master/hardware/arduino/samd/libraries/SoftwareSerial/SoftwareSerial.h
Read this:
https://www.arduino.cc/en/Reference/SoftwareSerialBegin
And set proper baud rate to 9600 (PMS::BAUD_RATE).

Sorry, I fixed the sketch. ( I removed sketch and library to test others. Therefore I had to rewrite the sketch)

If still does't work, I recommend use another library which implement Serial functionality, like:

AltSoftSerial,
NeoSWSerial.

Ok, I have no time to test those libraries. Instead I use the original sketch with hardware serial. Even this does not stop the fan. The measuring and reporting works, at least I get values.

Both libraries doesn't work with the esp8266.
I tried again the original sketch which works. I'm currently on the latest trunk.
SoftwareSerial does not work, but the sleep command is send.

After:
pms.sleep();
You can add:
SerialPMS.flush();
If it doesn't help, you can always use dedicated PMS pin:

SET - Standby function, when pulled down the module does not send information over serial and goes into a low power state.

I could use those separate pins but it should be possible even with the softwareserial library. It is not very special at all, therefore must be somehow a solution.
  Do you fill a issue at esp8266 git?

So now everything works? That's good.
I don't remember If I tested library with software serial implementation.
I use Hardware Serial always when possible.
My Station is online now and I can't modify:
https://github.com/fu-hsi/AQMS
As I suggested, read this: #5 and replace all instances:
_stream->write(command, sizeof(command));

with
_stream->write(command, sizeof(command));
_stream->flush();

just in case. This command wait for transmit all bytes.

I will test it. But somehow the commands were changed if I used the native library.
I close the issue because it is not in your library.


Change the shape of buttons ("arrow-ed" back button)?

Hello,
I would like to know if there is any way to change the shape of a bootstrap button, to get something like this:

Any tips?
Regards,
Xavier

Nope, not with all CSS. You could do it with flat buttons (no gradient) using CSS border shapes and what not, but since our buttons use CSS gradients, I don't know of a way.


build failing on develop

cc @pixelastic somehow your fix is making the develop branch builds failling: https://travis-ci.org/algolia/instantsearch.js/builds/114359843

fixed by dc524b17d0e79561b5695e58246d201245d7924f

Oh yeah.


Jenkinsfile: deploy master to PROD, others to DEV

Do Production Deploy:

Prod profile
Prod namespace

When:

branch =  master
tag is built
optionally param "DEPLOY_TO_PROD"

Fixed by #5


Cannot visualise imported DICOM

Import a DICOM folder/files and drop it in Visualisation : "Operation failed"

DimSize required and not defined.
MetaObject: Read: MET_Read Failed
MetaImage: M_Read: Error parsing file
MetaImage: Read: Cannot parse file
itk::ERROR: MetaImageIO(0x7fe0827f7000): File cannot be read: /Users/lcadour/Library/Application Support/INRIA_IHU-LIRYC/MUSIC/3e3bf4f5-0f5e-471d-96fb-2f79f4570ead/9857cf23-6032-486f-9dca-7da3d78fc3bc1.mha for reading.
Reason: Invalid argument

If you load the file and visualise it, it works.
If you import a vtk, mha file it works.

I won't have time to see that soon.
@mathildemerle can you have a look?

I can look at it indeed :)

I tested with previous dicom files and i do not have the problem, just with the manips's one. Something to notice: this wrong data does not display a thumbnail after import.

Actually, I tested with another set of data that was working, ... and well, it used to work.
It's here: https://github.com/Inria-Asclepios/data

I do not have access to your link ^^'

Ok, I was the only one having the access (I don't like to share ;))
Should be good now

Indeed, we can't open them in a workspace

So, i found the code which created this problem. This is because of this PR ( @fcollot ) https://github.com/Inria-Asclepios/medInria-public/pull/48 and only the changes on itkDataImageWriterBase and itkDataImageReaderBase.

The bug is not in the PR you mentioned.  The reader for the initial DICOM files (not the itkDataImageReaderBase) has read the metadata wrong. The bug existed before, and this PR only revealed it because it encapsulates all the metadata in the ITK dictionary (as opposed to before where only specific keys where encapsulated).
We could spend days trying to find the original bug in the medInria ITK readers, but I found a workaround by just checking if the metadata is in the metadata registry before encapsulating it.


Perform async texture uploads on a dedicated Metal command queue on the resource context.

Due to restrictions in Skia pending the handling of multiple command queues in GrMtlGpu::prepareTextureForCrossContextUsage, the same command queue is being used by Flutter for rendering as well as async texture uploads. This restriction should be lifted for more performant command buffer management in Flutter using Metal.

xref https://bugs.chromium.org/p/skia/issues/detail?id=10057


List used labels by metric in grafana

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


question about reporting more domains

Hi,
I'm trying to call domains for broad histone marks like H3k27me3 and H3K9me3. It's working fine, but sometime the domains are a bit coarse and I'm currently playing around with the parameters to get a finer resolution/more of the peaks/domains. Currently I'm using bin_size=1kb gap_penalty=9 fdr=0.1 ci_lim=0.5. At least by eye all called domains make sense, but I also would like to see less significantly enriched domains get called. I tried lowering the fdr to even 0.15 or 0.2, but there is hardly any new peak region. I verified this is a genome browser (IGV).
the log for eg. a H3K9me3 ChIP says:
NOTICE: eddlib.algorithm.max_segments: 2619 intervals (potential peaks) remaining.
[2015-09-03 12:33:09.295351] NOTICE: edd: Running 10000 monte carlo trials
[2015-09-03 12:55:28.401540] NOTICE: eddlib.algorithm.max_segments: got 1769 peaks with qvalue below 0.15. From 2619 possible
How can I best increase the number of 2619 peaks?
How can I get most of them reported? Probably by FDR?
There are also these "trivial intervals", what does this mean?
NOTICE: eddlib.algorithm.max_segments: Removed trivial intervals with score less than 5.0565.
Thanks!

Hi,

I tried lowering the fdr to even 0.15 or 0.2 but this seems to crash then often due to a huge memory usage.

I don't think the fdr value should affect the memory usage, if it does it certainly is a strange bug. Do you run with many processes? try running with -p 1 and see if that helps? You can also reduce the number of monte carlo trials to decrease run times. I don't think you would see much difference in the result between 1000 and 10_000 (which is default).

How can I best increase the number of 2619 peaks?

It is not an easy (and correct) way to increase the number of potential peaks. I'll have think about this one a little more.

How can I get most of them reported?

You are correct, by FDR. Please tell me if you still have memory issues if you run EDD with fewer threads. How much memory do you have?


Remove Python 2

Python 2.7.18 was the final Python 2 release.

Bython 2 (this is now safe to merge given https://github.com/docker-library/official-images/pull/7834 is merged).

:confetti_ball: this is huge! :confetti_ball:


wish list

If possible I hope to implement the following functions .

import json or md file ( from qiita )
tag on memo
search memo with text

Thank you for the comment! :)
Importer
Importer will be implemented.
Tag
IMHO, tag is not work for organising information. I've seen a lot of case that tags are not maintained.
So there is no plan to implement "tag" feature.
Search memo with text
Search feature is now being implemented.

Close this issue because I answered these comments.
Really thank you for the feedback.


"Don't show again" action is not clickable / doesn't work

This message right here:

When i click on "Don't show again", it doesn't really work: as soon as i navigate to that input field again, it shows the same message again.
Version: 1.66.2
Commit: dfd34e8260c270da74b5c2d86d61aee4b6d56977
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.88 Safari/537.36
Embedder: github.dev

git bisect says this regressed with https://github.com/microsoft/vscode/commit/69d1ad8c65c9fa412fdf9f29abaab1f950be447f.


Set local-lib to refer to the local import library

Instead of having the local import library object have no referent once the module is running except the words you bound from it, set the word local-lib in the module context to refer to it. This will let the developer control overrides, just like lib does globally.
Also set local-lib to system/contexts/user in the script context. Even though there is nothing for scripts like the object target of local imports in modules, presetting the word will prevent it from being a problem when modules unnecessarily export it, and it will serve as a shortcut way to refer to the context, like lib.
See http://issue.cc/r3/2116 for details.

r+

Wonderfully small changeset for this.


LocalForm is not updating it's childs with model values after the component props are updated (i.e. after dispatch)

The Problem
componentDidMount () {
this.props.dispatch(fetchUserDetails());
}
render () {
const { userDetails } = this.props;
return (

{PMD.userDetailsTitle}

          {PMD.userIdTitle}
          <Control
            model=".username"
            id="userId"
            type="text"
            className="form-control"
            placeholder={PMD.userIdPlaceholder}
            validators={{
              required: (val = '') => val && val.length,
              requiredLength: (val = '') => val.length >= 8
            }}
          />
          <Errors
            className="errors"
            model=".username"
            show="touched"
            messages={{
              required: 'Required',
              requiredLength: 'Must be 8 characters or more'
            }}
          />

      </LocalForm>
    )

}
Steps to Reproduce
Look at the above code snippet.

After I did "this.props.dispatch(fetchUserDetails());" in "componentDidMount", the "userDetails" prop is available as "{username: 'amarendhar'}".
But it is not updating the value of "Control with the '.username' model".

Expected Behavior
When props are updated, then LocalForm should update associated Control-tag values in the html.
I've even checked by putting break-point, i observed, after new props recieved, LocalForm component "i.e. function LocalForm(props) {" is not getting called, so that associated Control-tag values are not getting updated.
very weird behavior.
Actual Behavior
When props are updated, then LocalForm is not updating the associated Control-tag values.
Reproducible Code Example
(please fork from this CodePen template or this CodeSandbox template)

It's hard to read the given code example. Please place it in CodePen or CodeSandobx.

yeah, sorry, i got the solution.
Now i'm this.formDispatch to update LocalForm whenever it is required.
Tahnks.


update CODEOWNERS and refer to sigstore-wide security process

Summary

Release Note

Documentation

WHo's allowed to merge PRs on the repo? How many reviews do we need?

I think we should be allowed to, but I did a mistake in configuring it yesterday. Sent https://github.com/sigstore/community/pull/421 to fix


groq-builder: add Sanity Codegen / Typegen documentation

Is there an existing issue for this?

[X] I have searched the existing issues

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Feature Request
Sanity Codegen / Typegen has been released, and is now the official, recommended way to generate Sanity schema types for consumption by groq-builder.

Currently, the documentation still lists the `ts-simplify` + `@sanity-typed/types` approach.

While this is viable, the Sanity Codegen generated types have several advantages:
- Performance
- Simplicity
- Future-proof
- Better Developer Experience (named types, etc)

We need to update the documentation to showcase how to use Sanity Codegen together with `groq-builder`.

The way references are handled in deref() has to be updated to support [internalGroqTypeReferenceTo] being undefined. Sanity's typegen makes them all optional.
 asset?: {
      _ref: string;
      _type: "reference";
      _weak?: boolean;
      [internalGroqTypeReferenceTo]?: "sanity.imageAsset";
    };


fix(helm): Fix UI DisruptionBudget and ServiceAccount templates

Fix UI DisruptionBudget and ServiceAccount templates
Fix Loki and Elasticsearch Header Config

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

3 of 5 (60.0%)  changed or added relevant lines in 2 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.04%) to 80.866%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/target/elasticsearch/elasticsearch.go
2
4
50.0%

Files with Coverage Reduction
New Missed Lines
%

pkg/listener/metrics/cache.go
2
93.18%

Totals

Change from base Build<PHONE_NUMBER>2:
-0.04%

Covered Lines:
6424

Relevant Lines:
7944

💛  - Coveralls


Shim MediaStream.ended attribute until all apps have caught up?

Implement MediaStream.active/inactive attribute. (ended is deprecated)

@alvestrand @fippo @jan-ivar WDYT?

My view is still that adapter is for browsers that aren't caught up, not for apps that aren't caught up. I.e. that it enables the spec on platforms that don't have it, not non-spec on platforms that do. And once all browsers are caught up, in theory, adapter.js would cease to be (I'm ever the optimist).
I tend to consider backwards compatibility the job of the browsers (though others may disagree). For instance, even though Firefox supports element.srcObject, it still tolerates element.mozSrcObject (for a while), and isn't leaning on adapter for this.
FYI Firefox currently supports neither ended or active, but I don't know of any good way to shim this core functionality.


Headphones issue

Description

Game does not detect headphones after unplugging it and plugging it back in
Reproduction

Open the game on any server
Plug in headphones
No audio in game, but audio anywhere else.
Same thing happens if you unplug it and plug it back in.

Screenshots

Not needed
Additional context

Game will detect headphones if you rejoin

I can confirm this happens.
This is a pretty common bug over a lot of games and some games have worked around it, not sure how tho.

Duplicate of #14634

Dupe of #14634


Update README.md

I have made a few changes to the existing the README.md. I hope you will like it and merge my Pull Request
This fixes issue #13

Please make another PR as this conflict can't be resolved.


ci: use default github token

:tada: This PR is included in version 2.2.0-stage.4 :tada:
The release is available on:

npm package (@stage dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Get development editions going again

For each of these:

[ ] Core
[ ] Twig Engine
[ ] Twig Styleguidekit
[ ] Default Styleguidekit

We need to do this:

Remove dev branch, add develop branched off master
Change default branch to develop in GitHub UI
Add .gitattributes that  would prevent composer.json's dev-specific changes from merging into master

Then:

[ ] Point all development editions towards those new branches

[ ] Twig
[ ] Standard

[ ] Test & verify
[ ] Ensure docs are up to date.

Want to help with this @sghoweri / @aleksip ?

I might be missing something in my thinking, but do development editions need a master branch and releases? If the idea is that development editions always use the develop branch (very latest code) of everything?


Missing Visual Focus on Anchor Links

The top links could have the outline, but I can't see it, it has a black background.
But the "Home" does not have the outline.

OK, I see the outline using the keyboard.


Issue №6802. Not specified field in MQTT codec

Motivation:
According to the MQTT 3.1.1 spec, the variable header must not have a messageId field in the variable header when publishing PUBLISH packet. It must have only these two: Topic Name and Packet Identifier.
Fields should are named in the same way as it in a protocol otherwise it can be tricky for new users to understand what the field really mean.
Modification:
public method messageId() was annotated with @Deprecated and instead of messageId users should use packetId as it defined in MQTT 3.1.1 spec.
Result:
Fixes #6802.

thanks @Sammers21! can you sign the ICLA?

@Scottmitch, sure. I have signed it.


[ISSUE-522] [operator] pass RSS_IP to coordinator container env

What changes were proposed in this pull request?
NODE_NAME and RSS_IP env variables are set in coordinator's container.
Why are the changes needed?
In a complex K8S env, there might be multiple interfaces/ips in the container env. Uniffle cannot detect which
ip should be used automatically. It's better to specify the correct container ip here.
Also we are passing RSS_IP to shuffle server, coordinator and shuffle server should align this behavior.
This PR fixes #522
Does this PR introduce any user-facing change?
NO
How was this patch tested?
Manually verify

Codecov Report

Merging #523 (b35313e) into master (b80972c) will decrease coverage by 0.46%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #523      +/-   ##
============================================
- Coverage     59.76%   59.31%   -0.46%
+ Complexity     1768     1550     -218
============================================
  Files           205      183      -22
  Lines         11531     9698    -1833
  Branches       1033      874     -159
============================================
- Hits           6892     5752    -1140
+ Misses         4233     3583     -650
+ Partials        406      363      -43

Impacted Files
Coverage Δ

...che/spark/shuffle/writer/BufferManagerOptions.java

.../hadoop/mapreduce/task/reduce/RssEventFetcher.java

...mapreduce/task/reduce/RssInMemoryRemoteMerger.java

...org/apache/spark/shuffle/RssSparkShuffleUtils.java

.../hadoop/mapreduce/task/reduce/RssBypassWriter.java

...org/apache/spark/shuffle/writer/AddBlockEvent.java

...ava/org/apache/spark/shuffle/RssShuffleHandle.java

...e/spark/shuffle/reader/RssShuffleDataIterator.java

...pache/hadoop/mapreduce/task/reduce/RssFetcher.java

...n/java/org/apache/hadoop/mapreduce/MRIdHelper.java

... and 12 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Github Actions CI Ignore docs

What this PR does / why we need it?
Github Actions CI Ignore docs.
Summary of your change
Github Actions CI Ignore docs.
Please indicate you've done the following:

[ ] Made sure tests are passing and test coverage is added if needed.
[x] Made sure commit message follow the rule of Conventional Commits specification.
[ ] Considered the docs impact and opened a new docs issue or PR with docs changes if needed.

Codecov Report

Merging #297 (9d87bc9) into main (fde11a4) will decrease coverage by 3.83%.
The diff coverage is 66.66%.

@@             Coverage Diff              @@
##               main     #297      +/-   ##
============================================
- Coverage     70.67%   66.84%   -3.84%
+ Complexity    10329     9948     -381
============================================
  Files           479      479
  Lines         49779    49801      +22
  Branches      10358    10335      -23
============================================
- Hits          35180    33287    -1893
- Misses        10338    12419    +2081
+ Partials       4261     4095     -166

Impacted Files
Coverage Δ

.../src/main/java/com/alibaba/fastjson/JSONArray.java
83.19% <53.84%> (-0.63%)
:arrow_down:

...ava/com/alibaba/fastjson2/reader/TypeConverts.java
67.39% <60.00%> (-0.91%)
:arrow_down:

...src/main/java/com/alibaba/fastjson2/JSONArray.java
91.46% <72.72%> (-2.04%)
:arrow_down:

...ibaba/fastjson2/reader/ObjectReaderBaseModule.java
75.53% <100.00%> (-0.03%)
:arrow_down:

...a/com/alibaba/fastjson/Fastjson1xReaderModule.java
84.61% <100.00%> (+1.28%)
:arrow_up:

...ava/com/alibaba/fastjson2/JSONWriterUTF16JDK8.java
0.00% <0.00%> (-85.37%)
:arrow_down:

...in/java/com/alibaba/fastjson2/JSONReaderUTF16.java
18.36% <0.00%> (-59.96%)
:arrow_down:

...ain/java/com/alibaba/fastjson2/util/UUIDUtils.java
55.00% <0.00%> (-20.00%)
:arrow_down:

...main/java/com/alibaba/fastjson2/util/JDKUtils.java
53.54% <0.00%> (-16.78%)
:arrow_down:

.../fastjson2/support/airlift/SliceValueConsumer.java
55.17% <0.00%> (-13.80%)
:arrow_down:

... and 36 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 edccbc6...9d87bc9. Read the comment docs.

@wenshao 温少先不要merge这个PR


Add GUI option comparison to GUI landing page

See: https://forum.babylonjs.com/t/introducing-the-gui-editor-alpha/24578/82?u=inteja

Adding @PirateJC and @msDestiny14 to review

@msDestiny14 - I'll wait for your review before merging this.

@msDestiny14 that's valid. Happy to do another grammar pass. I admittedly just copied and pasted much of this from my forum post which was in more of a rough notes form.


[AMBARI-24729] Ambari Server stops with Java 9 due to Guice error

What changes were proposed in this pull request?
Make it possible to run Ambari Server with JDK 9/10.

Upgrade Guice to avoid:1) No scope is bound to org.apache.ambari.server.AmbariService.
at org.apache.ambari.server.state.services.MetricsRetrievalService.class(MetricsRetrievalService.java:85)

Upgrade Guava to avoid NoSuchMethodError.
Update references to Objects.toStringHelper, as the method was moved to MoreObjects.
Update reference to HostAndPort.getHostText(), which was renamed to getHost().
Upgrade EclipseLink to avoid NPE:java.lang.NullPointerException
  at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:2027)
  at org.eclipse.persistence.internal.jpa.deployment.JPAInitializer.callPredeploy(JPAInitializer.java:100)
  at org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactoryImpl(PersistenceProvider.java:104)

Work around signature mismatch between EclipseLink 2.7 and JPA API 2.2.

Note that JDK was configured directly in ambari.properties, as ambari-server setup has issues with newer JDKs.
How was this patch tested?
Compiled Ambari Server using JDK8.  Started Ambari Server with Oracle JDK 10.  Deployed ZooKeeper-only cluster via blueprint.
Unit tests pending.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4152/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4158/
Test FAILed.
Test FAILured.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4161/
Test PASSed.

@g-boros please review

shouldn't we go with the same guava version for the server and agent? 26-jre vs 20

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4182/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4183/
Test PASSed.


Ajax File Upload, ERR_CONNECTION_ABORTED in chrome

Sometimes an upload failes with ERR_CONNECTION_ABORTED on the second chunk in chunked uploads.
The issues isnt 100% reproducable
https://play.scoops.com/AjaxFileUploadHandler.axd?contextKey={DA8BEDC8-B952-4d5d-8CC2-59FE922E2923}&controlID=ctl21_fupUpload&fileId=D0D7AF15-A597-B0C0-3F25-3965AC962455&fileName=NC0xMGDj5OY2.mp4&chunked=true&firstChunk=false net::ERR_CONNECTION_ABORTED
I have no idea how to debug this
There is nothing usefull in the IIS logs, any help would be appreciated.
Thx

never mind, network gremlins!


Calibration read/write/load API

Added

read/write api over xlink.
Calibration Handler to load version 6 and 5 of EEPROM data along with manual setters and getters to get the camera intrinsic, extrinsic, distortion coeffs.

Next steps

Load EepromData Functionality (No flash)
Stereo rectification getters
Make stereo Node mode configurable by adding overloading rectification and other required stereo properties.

Make stereo Node mode configurable by adding overloading rectification and other required stereo properties.
On this will do it on a different PR after we finish this, or I can do it after merging this in stereo fixes PR of @alex-luxonis

The tests using parameters (NN blob path) are failing:
      Start  8: camera_mobilenet
 8/30 Test  #8: camera_mobilenet ....................***Failed    0.50 sec
statusfound -P
-- arguments: /home/alex/depthai-python/depthai-core/build/examples/camera_mobilenet;ON;
terminate called after throwing an instance of 'std::logic_error'
  what():  BlobReader error: File does not seem to be a supported neural network blob
-- After process executed,  produced the following exit code: Subprocess aborted

ON gets passed as an argument to the program, and it overrides the blob path.

The tests using parameters (NN blob path) are failing:
  Start  8: camera_mobilenet

8/30 Test  #8: camera_mobilenet ....................***Failed    0.50 sec
statusfound -P
-- arguments: /home/alex/depthai-python/depthai-core/build/examples/camera_mobilenet;ON;
terminate called after throwing an instance of 'std::logic_error'
what():  BlobReader error: File does not seem to be a supported neural network blob
-- After process executed,  produced the following exit code: Subprocess aborted
Save
ON gets passed as an argument to the program, and it overrides the blob path.
Yeah. I have seen that. Didn't realize ON was the reason. Weird that it overrides in test but not in actual example. Any idea why ?

Myabe it should be skipped https://github.com/luxonis/depthai-core/pull/101/files#diff-940e5356fa1137e646ea135a6f68cacbfad4fe7124c3a69163468f588acf9283R24 here

The tests using parameters (NN blob path) are failing:
  Start  8: camera_mobilenet

 Save
8/30 Test  #8: camera_mobilenet ....................***Failed    0.50 sec
statusfound -P
-- arguments: /home/alex/depthai-python/depthai-core/build/examples/camera_mobilenet;ON;
terminate called after throwing an instance of 'std::logic_error'
what():  BlobReader error: File does not seem to be a supported neural network blob
-- After process executed,  produced the following exit code: Subprocess aborted
Save
ON gets passed as an argument to the program, and it overrides the blob path.
Yeah. I have seen that. Didn't realize ON was the reason. Weird that it overrides in test but not in actual example. Any idea why ?

Myabe it should be skipped here

Thanks. Fixed it.

Examples are inconsistent with the python ones (there are examples that are not in depthai-python)

On this. Should I add calibration_load and calibration_flash example in C++ and python ?
Cacalibration_flash would be done by calibration script so I was thinking of removing that one.
And integrate calibration_load option inside stereo mode example.
Thoughts ? @szabi-luxonis

Examples are inconsistent with the python ones (there are examples that are not in depthai-python)

On this. Should I add calibration_load and calibration_flash example in C++ and python ?
Cacalibration_flash would be done by calibration script so I was thinking of removing that one.
And integrate calibration_load option inside stereo mode example.
Thoughts ? @szabi-luxonis

Yes, better remove calib_flash because it can mess up calibration data if the user runs it accidentally.
Calibration load you could integrate in this experiment : https://github.com/luxonis/depthai-experiments/tree/master/gen2-camera-demo
since pcl requires it.

Examples are inconsistent with the python ones (there are examples that are not in depthai-python)

On this. Should I add calibration_load and calibration_flash example in C++ and python ?
Cacalibration_flash would be done by calibration script so I was thinking of removing that one.
And integrate calibration_load option inside stereo mode example.
Thoughts ? @szabi-luxonis

Yes, better remove calib_flash because it can mess up calibration data if the user runs it accidentally.
Calibration load you could integrate in this experiment : https://github.com/luxonis/depthai-experiments/tree/master/gen2-camera-demo
since pcl requires it, but also add a standalone example.

Yes. Adding the read in gen2-camera-demo is good idea. I already have local changes on that.
But calibration_load example takes calibration data as input to the pipeline and when this is done calibration data in EEPROM will be overloaded with the calibration data in the pipeline.
Examples for this falls under stereo setup as of now.

Examples are inconsistent with the python ones (there are examples that are not in depthai-python)

On this. Should I add calibration_load and calibration_flash example in C++ and python ?
Cacalibration_flash would be done by calibration script so I was thinking of removing that one.
And integrate calibration_load option inside stereo mode example.
Thoughts ? @szabi-luxonis

Yes, better remove calib_flash because it can mess up calibration data if the user runs it accidentally.
Calibration load you could integrate in this experiment : https://github.com/luxonis/depthai-experiments/tree/master/gen2-camera-demo
since pcl requires it, but also add a standalone example.

Yes. Adding the read in gen2-camera-demo is good idea. I already have local changes on that.
But calibration_load example takes calibration data as input to the pipeline and when this is done calibration data in EEPROM will be overloaded with the calibration data in the pipeline.
Examples for this falls under stereo setup as of now.

Then what's the difference between load and flash?

Examples are inconsistent with the python ones (there are examples that are not in depthai-python)

On this. Should I add calibration_load and calibration_flash example in C++ and python ?

Cacalibration_flash would be done by calibration script so I was thinking of removing that one.

And integrate calibration_load option inside stereo mode example.

Thoughts ? @szabi-luxonis

Yes, better remove calib_flash because it can mess up calibration data if the user runs it accidentally.

Calibration load you could integrate in this experiment : https://github.com/luxonis/depthai-experiments/tree/master/gen2-camera-demo

since pcl requires it, but also add a standalone example.

Yes. Adding the read in gen2-camera-demo is good idea. I already have local changes on that.

But calibration_load example takes calibration data as input to the pipeline and when this is done calibration data in EEPROM will be overloaded with the calibration data in the pipeline.

Examples for this falls under stereo setup as of now.

Then what's the difference between load and flash?

Flash writes to eeprom.
Load in pipeline loads calibration for that execution instance. This is replacement for loadCalibration() in stereo.
And the reason for removing this from stereo is because it loads complete calibration which can be used by other nodes. So it's not specific to stereo node.
In stereo node in an another PR we should add separate function to overload only rectification patameters and intrinsics if users are doing it from host or swapping camera modules and testing etc.

In stereo node in an another PR we should add separate function to overload only rectification patameters and intrinsics if users are doing it from host or swapping camera modules and testing etc.

There is already loadCalibrationData in stereo node.

In stereo node in an another PR we should add separate function to overload only rectification patameters and intrinsics if users are doing it from host or swapping camera modules and testing etc.

There is already loadCalibrationData in stereo node.

We decided to deprecate that. The reason being that calibration data is for the whole device and not specific to the stereo node.
Going forward there will be other nodes and more features under ImageManip I think which needs this data.
And as of stereo node it doesn't need the complete calibration. if the user is sending overloaded calibration for stereo there should be no need to send the complete structure of calibration data. Having separate overloadLeftRectification(std::vector<std::vector<float>) / overloadRightRectification(std::vector<std::vector<float>) makes it more intuitive for users to try and play with it.

Cannot merge this. Need approval from @szabi-luxonis and @themarpe

It appears this firmware fixes the slight shifting issue between RGB and depth, with RGB-depth alignment enabled. :+1:

Sweet!


Tor browser refuses to connect and update [old tor version 12.0.5, haven't updated it in quiet a while]

OS: Ubuntu 22.04.2 LTS x86_64
Host: VirtualBox 1.2
Kernel: 6.2.0-36-generic
Packages: 1787 (dpkg), 19 (flatpak), 12 (snap)
Shell: /bin/bash 5.1.16
DE: GNOME 42.5
I tried to install and reinstall and other things but nothing works so far I just get this, (I use torbrowser-launcher for this since directly installing tor doesn't work for me I tried various methods it just refuse to budge)

To try to debug this you can set the pref app.update.log to true, and the Browser Console should have some logs about what it's doing to check if there is an update.
Otherwise you can remove your torbrowser directory and let torbrowser-launcher download a new one.

Hey thanks, it worked


vagrant up stuck at "create and migrate db". log says "I cannot read /etc/chef/validation.pem"

My first attempt to use Vagrant (I set it up with Railsbox);
After unzipping the myapp-railsbox.zip file, and cd-ing to the railsbox directory,
"vagrant up" went happily through many steps, but is now stuck here:
TASK: [unicorn | Create upstart config] ***************************************
changed: [myapp]
TASK: [webserver | Create and migrate DB] *************************************
I poked around in /var/log, and found this in /var/log/chef/client.log
[2015-03-10T19:14:21+00:00] WARN: Failed to read the private key /etc/chef/validation.pem: #<Errno::ENOENT: No such file or directory - /etc/chef/validation.pem>
[2015-03-10T19:14:21+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2015-03-10T19:14:21+00:00] ERROR: I cannot read /etc/chef/validation.pem, which you told me to use to sign requests!
[2015-03-10T19:14:21+00:00] ERROR: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
[2015-03-10T19:14:21+00:00] ERROR: Sleeping for 1800 seconds before trying again
So I guess that's the source of the problem: missing /etc/chef/validation.pem.
Googling around hasn't helped.
Any thoughts or advice?

Well I don't think it's related to chef anyhow because railsbox is not using chef. Can you post full output of vagrant up?


Improve app reactivity; COUNTRY=rbd

Description
This fixes #986.
Main changes made:

Split components in more functional parts to avoid all states changes at the root component and target lot of not necessary child components rereders.
Remove not usefull listener of MapGl components, generating not usefull renders.
Activate some perfomance tips from MUI to avoid to render not visible content.
Change tab behavior to not render not visible content.

In local mode we observe that redux is very slow. I created an issue to upgrade redux libs #1033.
I think we should try to also upgrade mapbox-gl and react-mapbox-gl to latest #1035.
How to test the feature:

Use layer selection and compare response time with master.

Checklist - did you ...

Test your changes with

[x] REACT_APP_COUNTRY=rbd yarn start
[x] REACT_APP_COUNTRY=cambodia yarn start
[x] REACT_APP_COUNTRY=mozambique yarn start
[x] Add / update necessary tests?
[x] Add / update outdated documentation?

Screenshot/video of feature:

This PR improves things for me, at least when running a "production, optimised" build (as opposed to the development setup). For most interactions that don't require network connections, things run smoothly on my machine (a recent intel CPU with 64GB ram, which I'd expect to be more powerful than most users' machines), using a clean firefox nightly with no plugins (so a fairly ideal setup).
The slowest interaction is when opening the "goto" menu, I wait around 900ms (according to firefox profiler) before it appears, and more or less the same to close the dropdown. Even with a profiler, it is difficult to figure out what takes so much time. "Our" code to build the list of items to show runs in 10-15ms, the rest of the time seems to be spent in react internals (by looking at the stack shown in the profiler output). (on countries other than RBD, the menu opens in very reasonable times).
Popups open pretty much instantly for me. At this point, the production build seems fine to me (again, on a fast machine with very fast internet connection).
Memory usage climbs to about 1GB for rbd, which may or may not be a problem, depending on the hardware used. If machines have to start swapping, then this might be part of the slowness.

@jbperidypathtech - thanks for all the work on this. I see a general improvement, but it's not very easy for me to compare. I tried using Chrome's profiler for a build based on the current main branch vs this PR. A flow from load time, to loading a CH layer and then using the go to feature looked be about 8 seconds faster using your PR.
Here's a screenshot of the profiler summary with the main branch on the left, and this PR on the right following the steps mentioned above:

And here are the profiler json files if helpful:

Main: https://www.dropbox.com/scl/fi/td06kxlpfc8w4i01t638j/Trace-main.json?rlkey=l8d5clkkz2gakfzkhsxdhyr08&dl=0
PR 1030: https://www.dropbox.com/scl/fi/6z1oa42eh4fi18483zb3n/Trace-PR-1030.json?rlkey=cgkedf8yt9cflup86xqoovuwe&dl=0

Functionality on this PR worked as expected for RBD. If there's anything specific I should test, or other ways to compare improvements, let me know. Thanks!


Update Fact Sheet system

@ mention of reviewers
@ckcollab
A brief description of the purpose of the changes contained in this PR.
Makes Fact_Sheet_Answers under the submission details modal an editable text box with a save button.
Issues this PR resolves
Resolves #591
A checklist for hand testing

[ ] add checklist here

Any relevant files for testing
link to any relevant files (or drag and drop into github)
Misc. comments
...
Checklist

[ ] Code review by me
[ ] Hand tested by me
[ ] I'm proud of my work
[ ] Code review by reviewer
[ ] Hand tested by reviewer
[ ] Ready to merge

Also could maybe add a test ensuring this works?

Also could maybe add a test ensuring this works?


Unresolved Reference Error. Problem with R Interpreter?

Hello,
Great plugin, and if this topic has always come up I did not see it, my apology. I am getting an unresolved reference error for all the R functions and libraries.  Creating simple variables (X=4) is fine. The interpreter I am using is R 3.4.1 and I am linking directly to the .exe. I checked the installation of my libraries in R and they are all there. Require also does work. I feel like I am missing something obvious.
Any help would be appreciated,
-JB

Sorry, I found two other issues similar about the skeletons, I think my issue is likely related to those.


[Bug] Stopping and restarting with sites in the queue sometimes keeps the ripper going and also starts the next at the same time.

Ripme version: 1.7.68
Java version: 10.0.2
Operating system: Windows 10 Pro 1803

Behavior
When stopping and starting rips with multiple queued it sometimes keeps the previous ripper running and also starts the next ripper on the list. This can repeat multiple times. When one of the extra rippers finishes it doesn't appear to start another one so eventually it will go back to normal.
The reason I'm even stopping and starting again is to manually skip to the next ripper in the queue after it reaches a point where it's doing nothing but finding downloads it skips. So if anyone knows a workaround I'd love to know.
Not really a big deal for me but it is a bug nonetheless.

So if anyone knows a workaround I'd love to know.

[From the wiki}(https://github.com/RipMeApp/ripme/wiki/Config-options) End rips after already seen
Adding "history.end_rip_after_already_seen = 5" to your rip.properties file will cause ripme to end the current rip after finding 5 urls it's already downloaded. This doesn't work with all rippers but it works with most of them

So if anyone knows a workaround I'd love to know.

[From the wiki}(https://github.com/RipMeApp/ripme/wiki/Config-options) End rips after already seen
Adding "history.end_rip_after_already_seen = 5" to your rip.properties file will cause ripme to end the current rip after finding 5 urls it's already downloaded. This doesn't work with all rippers but it works with most of them
To use history.end_rip_after_already_seen remember.url_history must be set to true. You can go this either by changing/adding it to the rip.properties file or by clicking "Remember URL history" in the Configuration tab of the GUI

Thank you very much Cyian. Your work here doesn't go unappreciated.


New Scope property breaks DSC Resource

Commit cacd235633bd5e2d0537e209b345a88c3526279e added the Scope property to the xPowerShellExecutionPolicy DSC Resource, however according to the DMTF specification (page 37) Scope is a reserved keyword, and results in this DSC Resource being unusable. This change also prevents us from including this release in the Puppet dsc module. I replicated this on PowerShell 5.1 on a fresh machine, with a Install-Module -Name xPowerShellExecutionPolicy using the PowerShellGallery feed, which pulls down version <IP_ADDRESS>.
Attempting to use the DSC Resource results in a failure to find it:
PS C:\> Invoke-DscResource -Name xPowerShellExecutionPolicy -Property @{ ExecutionPolicy = 'RemoteSigned' } -Verbose -Method Test -ModuleName xPowerShellExecutionPolicy
Invoke-DscResource : Resource xPowerShellExecutionPolicy was not found as one of the builtin resources. Please add -ModuleName
parameter to include external resources.
At line:1 char:1
+ Invoke-DscResource -Name xPowerShellExecutionPolicy -Property @{ Exec ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Invoke-DscResource], ArgumentException
    + FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.DesiredStateConfiguration.Commands.InvokeDscResourceMethod
   Command

This is because it fails parsing with the syntax error from usage of the word scope:
PS C:\> Get-DscResource
ImportCimAndScriptKeywordsFromModule : Cim deserializer threw an error when deserializing file C:\Program Files\Windows
PowerShell\Modules\xPowerShellExecutionPolicy\<IP_ADDRESS>\DSCResources\MSFT_xPowerShellExecutionPolicy\MSFT_xPowerShellExec
utionPolicy.Schema.mof.
At
C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psm1:4143
char:29
+ ...     $null = ImportCimAndScriptKeywordsFromModule -Module $mod -Resour ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], PSInvalidOperationException
    + FullyQualifiedErrorId : System.Management.Automation.PSInvalidOperationException,ImportCimAndScriptKeywordsFromM
   odule

ImportCimAndScriptKeywordsFromModule : Syntax error:
 At line:6, char:276
 Buffer:
erPolicy"}] String Scope^;
};
At
C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\PSDesiredStateConfiguration.psm1:4143
char:29
+ ...     $null = ImportCimAndScriptKeywordsFromModule -Module $mod -Resour ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], CimException
    + FullyQualifiedErrorId : Microsoft.Management.Infrastructure.CimException,ImportCimAndScriptKeywordsFromModule

The fix would be to choose a different name for the Scope property, something like ScopeLevel or ExecutionPolicyScope. I can put up a PR to fix that, but wanted to ask first what name to use.

#9 is also impacted by this.

I was able to verify this was broken as well.

@mgreenegit

I know I'm late to the party but I just hit this bug.  Recommend "PolicyScope" or "ExecutionPolicyScope" as the parameter name.  May be more intuitive than ScopeLevel.

@MattAllison Never to late to come with suggestions! @TraGicCode is working on this in PR #15. @TraGicCode what is you opinion about @MattAllison's proposal?

I'm okay with the recommendation.  No problem on my end with changing this.  I'm in favor of long names so i shall pick ExecutionPolicyScope :).  Sound good @MattAllison ?

@TraGicCode we are three in favor of 'ExecutionPolicyScope' so I propose we go with that. 😃

I'm good with the verbose parameter name.  Thank you!

I will work on this now.


Three Known Validators In Config File Are Offline / Dead

The three known mainnet validators listed here have  0 active stake, and are essentially offline

Those validators have no stake deliberately, and are very rarely offline.

Ah makes sense, thanks for clarifying :+1:


Can not connect to server

These days I have tried to login, however it is very difficult.

because this website : http://acm.split.hdu.edu.cn/     has been crashed ( it happens frequently


Integrations should support multiple accounts

For example, in the get balance method, it should return the balance for each available account, and it also should print it properly

This will get fixed with #11, let's move the conversation there.


Request: A Discord/ Zulip/ Telegram community

How can I fix this?

after running as administrator

have reinstalled as well

requesting a Discord/ Zulip/ Telegram community

have reinstalled as well

did a complete unistall. Now it's working. Somebody pls maintain this project.. I will volunteer as soon as I grip my hands with C#


does PhysicsJS use spatial partitioning for object collision?

Would I be able to use PhysicsJS for general purpose object collision detection? This code doesn't display the collisions. https://gist.github.com/x13machine/f49474e8f08b799c80731c2a2e9dcff2

@karlito40 sorry to bug you. The creator of this repository doesn't seem active. would you be able to help me? I thought because you made a pull request to this repository, you might be able to help me. I don't really want to wait a week for a reply from the creator.

I'm sorry. I don't even know what is a spatial partitioning.

@karlito40 would you know how I can get my code working? I'm trying to list the collisions. https://gist.github.com/x13machine/f49474e8f08b799c80731c2a2e9dcff2 It doesn't list them.
Spatial partitioning is a method to reduce cpu usage when doing object collision detection. I asked you about the api. So it should be irrelevant.

I think you forgot to add the require plugin.
world.add([
     Physics.behavior('body-impulse-response')
    ,Physics.behavior('body-collision-detection')
    ,Physics.behavior('sweep-prune')
 ]);

@karlito40 http://codepen.io/googolplexking/pen/zqVQax?editors=0010 Still doesn't work.
I converted it into node.js to web. what am I missing?


basic format discussion (rttm)

Pro's rttm

standard
well defined
validated over a very long time
richest format
we could use a single evaluation for all diarization tasks, including SAD

Con's rttm in divime

poorly implemented right now (but this should be fixed anyway)
we could use the convention but for the transcript part, we'd have all time stamps with asterisk
not easy to read by target users (but this could be fixed by generating other formats)
unnecessarily complete for several tasks (speech detection)

We discuss alternative formats:

stm NIST (for transcriptions) file, channel, speaker, beg, (dur/end), category [male, far... properties], transcription
ctm NIST (for phones)
WCE: own format
NOTE including more formats means more complexity

CONCLUSION:

[ ] fix our use of rttm and make it standard for sad/vad, talker, and role diarization --> all using same eval scripts
[ ] for WCE and VCM, as well as input for these, we'll use stm http://www1.icsi.berkeley.edu/Speech/docs/sctk-1.2/infmts.htm#stm_fmt_name_0
we are still waiting to see how we eval WCE and VCM

Note: Check Coconut for conversion across formats

after further discussions, we decide VCM will also write its output to the "speaker ID" column, and thus use eval from evalDiar


Sites: Incorrect matching of subdomain

Hello, as far as I understand wagtail sites should match based on domain. So foo.com and bar.com might be different sites. If I have the same page in both sites - wagtail will attempt to match the site or use the default if that fails. So if I go to foo.com and see a slugurl link it might point to foo.com/page1 but bar.com will have bar.com/page1 even though page 1 is actually the same site.
This appears to fail when subdomain are used however. We get false matches. It can be reproduced like this

Create a site "localhost"
Create a second site "test.localhost"
Go to a page that has a slugurl link by going to localhost (may require editing /ect/hosts to ensure this resolves to wagtail).

I would expect the link to be "localhost/page1" however it is "test.localhost/page1"
Adding multiple sub domains does not work around the issue - for example admin.test.localhost would still match localhost. If I change the "localhost" part of the domain it will work as intended. For example the site "altlocalhost" would yeild links like "altlocalhost/page1"
A more production like scenario would be
A default site of mygreatsite.com
A admin only site of admin.mygreatsite.com
The homepage is the same in both sites.
When I go to mygreatsite.com I end up with links to admin.mygreatsite.com.

Nevermind - after inspecting more the site in the request object is detected correctly. My problem is that slugurl uses the Page's relative_url function which calls get_url_parts. This doesn't even consider the current site. My work flow appears just unsupported. Having a page in multiple sites just don't work.

Yep - slugurl will just use the first page it finds with a matching slug, anywhere in the page tree - regardless of whether it matches the current site. If there are multiple pages with that slug, it's indeterminate which one will be used.
Out of curiosity - do you have a specific reason for wanting to use slugurl here, rather than just hard-coding the URL path into the template? It seems to me that if you're hard-coding a slug, and you have specific expectations about where it's meant to exist in the tree, then that's effectively the same thing as hard-coding a URL.

slugurl has some advantages over a hard coded url. Let's say I moved my page somewhere else in the tree, but still wanted a link that's in the home page template to work. slugurl would still function as intended while a hard coded url wouldn't.
That said it's not ideal. If I changed the slug my slugurl would break. Ideally everything would be more data driven and controlled in wagtail (like having the page link in the home page model). Sometimes it's just faster to throw in a slugurl in a template and be done with it.
For my above problem - I think I'm just to just change Page.relative_url to only ever return relative urls. I don't need to cross between sites ever in this particular case.

I don't have time at this second - but would you ever want to support slugurl with pages in multiple sites? Page.get_url_parts would need to get passed the current site and attempt to match that site if possible - but fallback to existing behaviour if current_site is not passed in.
At a higher level - slugurl would attempt to keep you on the current site when possible.

I found myself having the same issue. Solved it currently like this:
from django import template

from wagtail.wagtailcore.models import Page

register = template.Library()

@register.simple_tag(takes_context=True)
def site_slugurl(context, slug):
    """Returns the URL for the page that has the given slug."""
    pages = Page.objects.filter(slug=slug)

    if not pages:
        return None

    try:
        current_site = context['request'].site
    except (KeyError, AttributeError):
        # request.site not available in the current context; fall back on page.url
        return pages.first().url

    for page in pages:
        if page.get_site() == current_site:
            return page.relative_url(current_site)
        else:
            continue

But this fore sure is not a very clean solution. Will look into this a bit more if this can be fetched with a database query more efficiently.


tests: work_queue: initialize msg

Make sure msg is initialized before being used, fixes compiler warning:
main.c:735:9: error: 'msg' may be used uninitialized
Fixes #50343

Pedantic nitpick

Ah not at all, flash space adds up for initializing stuff that does not need to... I mean it's only a test but I think there's value in having the right patterns throughout the code base.


Writing to cache fails with "provided value is too long when setting link name for"

Verify canary release

[X] I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue
https://github.com/FredrikAugust/sveltekit-vercel-adapter-turborepo-cache-bug
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Which canary version will you have in your reproduction?
1.11.2
Describe the Bug
When using Turborepos Remote Cache functionality with SvelteKit and the SvelteKit Vercel adapter, the cache is never uploaded to the remote cache as it fails with a warning:
 WARNING  IO error: provided value is too long when setting link name for

Attaching an image as well as it looks quite unique:

There isn't a lot of information online about this warning, and the only google result I get for the warning message is this mailing thread. The reply reads:

[...] use the E flag for tar, as file names are limited to 100 chars.

This put me on the track of file names being a problem for Turborepo when they exceed 100 characters.[0]
(I'm going to be speaking in context of the repro repository)
So I checked out the two folders we upload to the cache:

.svelte-kit
.vercel

The .svelte-kit folder doesn't contain any files with paths over 100, but the .vercel one does.
.vercel/output/functions/fn.func/node_modules/.pnpm/@sveltejs+kit@2.0.2_@sveltejs+vite-plugin-svelte@3.0.1_svelte@4.2.8_vite<EMAIL_ADDRESS>
I suspect the extra long dependency paths are from pnpm.
By removing the Vercel adapter it works as expected.
Expected Behavior
It should allow file paths of preferably an arbitrary length, but at least long enough to support the example and then some:)
To Reproduce
The moving parts that make this reproducible:

pnpm
SvelteKit (with Vite)
SvelteKit Vercel Adapter
Turborepo

Clone the repro repository: https://github.com/FredrikAugust/sveltekit-vercel-adapter-turborepo-cache-bug
pnpm i
pnpm dlx turbo run build

You should see the following log messages at the bottom
>   ...Finishing writing to cache...                                                                                WARNING  IO error: provided value is too long when setting link name for

Additional context
It appears that someone else had a similar problem here which was fixed in this PR: https://github.com/ostreedev/ostree-rs-ext/pull/165/files.
And from the Rust repository: https://github.com/rust-lang/rust/pull/109577/files
TURBO-1950

@NicholasLYang Do you have a rough estimate for this? We're trying to decide if we should do anything about this on our end if it's a long-lived issue. If there's anything else I can do to assist I'd be more than happy!

same here
turbo, pnpm
:
 Tasks:    1 successful, 1 total
Cached:    0 cached, 1 total
  Time:    8.606s

    ...Finishing writing to cache...                                                                                WARNING  IO error: provided value is too long when setting link name for

I'm running into the same issue. I'm using Next.js and pure node projects. I cannot get turbo to log the failing resource with turbo build 2&> error.log.
This is the output:
 WARNING  Failed to check if we can skip restoring outputs for auth#build: GrpcFailure(DeadlineExceeded). Proceeding to check cache
 WARNING  Failed to check if we can skip restoring outputs for auth#build: GrpcFailure(DeadlineExceeded). Proceeding to check cache
 WARNING  IO error: provided value is too long when setting link name for
 WARNING  IO error: provided value is too long when setting link name for

I am running into the same error with latest SvelteKit, Turbo, PNPM and Node 18.

Also encountering this it seems, but difficult to debug. It looks like the build succeeded but then it dies.
These are the logs from a first time setup of Turborepo on a Sveltekit project:
...more logs...

@smlxl/storage-explorer:build:     ~/_app/immutable/nodes/9.Jdqgm3i7.js.map
@smlxl/storage-explorer:build: [sentry-vite-plugin] Info: Successfully uploaded source maps.
@smlxl/storage-explorer:build: [sentry-vite-plugin] Info: Successfully finalized release.
  Tasks:    1 successful, 1 total
 Cached:    0 cached, 1 total
   Time:    35.038s
Summary:    /vercel/path0/.turbo/runs/2aEQg24TRk0BWaoFiROR7ZvsFN7.json
 WARNING  IO error: provided value is too long when setting link name for
Error: No Output Directory named "public" found after the Build completed. You can configure the Output Directory in your Project Settings.
Learn More: https://vercel.link/missing-public-directory

will this work on npm?

will this work on npm?

We used to use npm and it worked there. I think it's due to the longer names of pnpm dependency folders.

Likewise. We didn't have this issue on Turbo versions pre-1.11, I believe. It was definitely introduced recently

This regression occurs when going from 1.10.14 to 1.11.2, most likely then the 10->11 move.

Hi all, sorry for the hold up. I believe https://github.com/vercel/turbo/pull/6838 fixes the issue, but it hasn't made it into a release yet. We're planning on cutting a canary today and if everything looks good we'll cut a patch with the fix tomorrow.

I've verified that 1.11.3-canary.2 doesn't run into the issue with symlinks on the provided reproductions. Running a patch release for 1.11.3 now.
Closing as I believe this is addressed, if you encounter the same/similar issue after 1.11.3 please open a new issue.

I saw the same error as in the description in 11.2, and now see that 11.3 caches my build.  However, it seems that it drops some files when caching because subsequent steps that depend on the build fail, and the error is around files with large paths.  I'm seeing failures on those subsequent steps with cached builds but not with uncached.

@chris-olszewski, I am still seeing the IO error: provided value is too long when setting link name issue when building Next.js 14 app in standalone mode with PNPM on Windows. Is the link name max length something that can be adjusted on the user side, or can the team investigate it further?

Same here, also using PNPM on Windows. Repro:
pnpm dlx create-turbo@latest -e with-vue-nuxt -m pnpm longlink
cd longlink
pnpm build  # works fine
pnpm build  # works fine, yields FULL TURBO as expected
cd apps/docs
pnpm add @nuxt/image

Now enable the nuxt/image module.
diff --git a/apps/docs/nuxt.config.ts b/apps/docs/nuxt.config.ts
index bf4ba7c..b37af13 100644
--- a/apps/docs/nuxt.config.ts
+++ b/apps/docs/nuxt.config.ts
@@ -1,4 +1,7 @@
 // https://nuxt.com/docs/api/configuration/nuxt-config
 export default defineNuxtConfig({
   devtools: { enabled: true },
-});
+  modules: [
+    '@nuxt/image'
+  ]
+})

Then the cache never gets reused again, despite the input having the same hashes.
pnpm build  # results in a full build
pnpm build  # results in a full build again
rm -r apps/docs/.output
pnpm build  # now I get a FULL TURBO

Only sometimes I get the error:
WARNING  IO error: provided value is too long when setting link name for apps/docs/.output/server/node_modules/css-tree

Not sure if this is related, by using Sentry with Turborepo causes random errors.
When I look thru the Turborepo Run Summary in Vercel's dashboard, it shows cache changing.
The log is suspiciously cut off at exactly 100 characters
I'm not totally sure if it's related, maybe one of the maintainers of turborepo can verify?

Screenshot

Link to issue on sentry-javascript: https://github.com/getsentry/sentry-javascript/issues/10429

we got the same problem with multiple next apps in standalone mode
we use pnpm on windows too and got this message :

WARNING  IO error: provided value is too long when setting link name for

for example, the module was mime-db but every modules after the letter m weren't even there and after the next build, Next wasn't able to be found to be run (next build didn't work)
we used WSL after and it's seems to work on a linux env, we don't have this message anymore

same here, running 4 of the same headless CMS project on a single server with NVMe SSD, building all at the same time is not friendly with server resources, I run them one after another but writing to cache takes too long,

@chris-olszewski same here with turbo 2.0.11, pnpm 9.6.0, windows ... please reopen

Workaround: <monorepo-root>/.npmrc:
; Do NOT set environment/host specific setttings (like registry or script-shell) here. Use ~/.npmrc

; Use hoisted packages for Next.js standalone build https://pnpm.io/npmrc#node-linker
; - Solves missing Next.js standalone build dependencies https://github.com/vercel/next.js/issues/48017
; - Solves Next.js standalone build breaking pnpm monorepo dependencies https://github.com/vercel/next.js/issues/65636
; - Solves Turborepo error writing to cache https://github.com/vercel/turbo/issues/6823
node-linker=hoisted

Also solves https://github.com/vercel/next.js/issues/48017 and https://github.com/vercel/next.js/issues/65636
Alternatively, if you only need to get rid of this caching error, you can skip it in turbo.json build task outputs:
{
      ...
      "outputs": [
        ".next/**",
        "!.next/cache/**",
        "!.next/standalone/node_modules" // Rebuilds on package.json change anyway. Fails with https://github.com/vercel/next.js/issues/40760
      ]
      ...
}

@dmitrc @bonitao @bouvb @mlnima


Feature: Add preview  live link

Type of feature
🍕 Feature
Current behavior
There is no current preview  link to the  site
Suggested solution
Try using vercel or netlify
Additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Good call :+1:   Will deploy it soon :rocket:


Fixing Tube Furnace Door Opening/Closing Issue

Online meeting with Chengyi on 13 January 2023

Space is concerning for service, 3 other furnaces are still working well.
Need routine maintenance on tightening the nuts of all furnaces.
Quartz rack resize is waiting for Chengyi approval.

Need to move the tube furnace out and give it to MTI. How?

Yuxing and MTI solved this. Thank you!


disappear autocomplete after item selection

Hello,
I have used "autocompleteselect input" event to get selected item but it will not hide autocomplete box after item selection.
And if I am not using "autocompleteselect input" event then it is working fine.
Please give me a solution.

Are you doing some sort of event.preventDefault() or event.stopPropagation() in your callback?

No,
I uploaded it on server and It works on live site but some how it's not working in local.
Thanks.


Broken dev environment for Horizon project

Looks like _data is excluded from .gitignore.

Fixed with npm run fetch-data after modifying some env variables.
We should either:

Commit some initial _data
Or document the command (and how to setup your in README.md)

Updated the README with instructions and some general notes here:
https://github.com/opencollective/horizons/pull/25
_data is currently git ignored since it's quite big with the production data (42 MB), but as you say adding some smaller initial dataset could be nice to much easier have the dev environment set up

Resolved by https://github.com/opencollective/horizons/pull/25


Remove web-server authentication flow example link

The link was removed because it returns a 404 and there doesn't appear to be a substitute.

Is there anything that I can do to help get this merged?


Refactoring metric_name/search api implementation

This refactoring is to refactor the design (and complexity) that creeped into implementing this API because of enums. I had to address these before I could integrate new implementation using the new index. In this process, I did the following change

Renamed MetricToken to MetricName. We were using MetricToken as domain object to support /metric_name/search.
Changed the regex to only grab next level of tokens, instead of the current regex which was written to handle enums as well.
Changed code to remove support of enums completely. Even though some sections of the code was removed earlier, the code was still designed to handle enums. So I cleaned up some code.

In summary, a metric foo.bar.baz.qux has 4 MetricName objects and this is what the metric_name/search API returns, the partial/complete metric names.
MetricName(name=foo, isCompleteName=false)
MetricName(name=foo.bar, isCompleteName=false)
MetricName(name=foo.bar.baz, isCompleteName=false)
MetricName(name=foo.bar.baz.qux, isCompleteName=true)

Coverage increased (+0.001%) to 74.556% when pulling a357b001e2b3fe49df4bde8b390a27ece9093449 on ChandraAddala:refactoring-metric-name-api into 3cbb88fa40a885ec6823948af2d790a311044896 on rackerlabs:master.

Coverage increased (+0.01%) to 74.593% when pulling 3e735536ba93a64233a19e767abbb7259d61a9a7 on ChandraAddala:refactoring-metric-name-api into ddd6feaf8937e1151b22192acd1915ece2a3fe99 on rackerlabs:master.


Do not expose secured routes when paranoid

I think when paranoid is turn on, when a user is unauthenticated a 404 error should be returned instead of redirecting to the login page.
Without this, attackers can at least discover what routes exist without having a login. When doing various security audits this has been a recommended practice.
As it can be a hindrance for users, I think it should not be on by default.

For the time being I added a custom failure app to achieve this, I don't know if there is a better way of doing it? https://github.com/obduk/cms/commit/23b392a6511a5a27206758f1859559d5fc62e8b7

I would say a custom failure app is exactly the way to go here. We will keep an eye open and see if other users request this feature before adding it to Devise.

Isn't the authenticated constraint macro fit for something like this? https://github.com/plataformatec/devise/blob/342304375946ca11608516eae80f78dbaae059d5/lib/devise/rails/routes.rb#L294-L316

Looking at it I don't think constraints could hide all routes (as some only authenticated depending on the database record fetched). I think it could also lead to a messy routes file.


Formatting of Kptfile introduced by eval

Following these instructions:
https://kpt.dev/book/04-using-functions/02-imperative-function-execution?id=mutate-meta-resources
You get formatting changes to the Kptfile:
iff --git a/Kptfile b/Kptfile
index 8fabb17..e76ebaf 100644
--- a/Kptfile
+++ b/Kptfile
@@ -2,27 +2,30 @@ apiVersion: kpt.dev/v1alpha2
 kind: Kptfile
 metadata:
   name: wordpress
+  labels:
+    label_name: color
+    label_value: orange
+info:
+  description: This is an example wordpress package with mysql subpackage.
+  emails:
+    -<EMAIL_ADDRESS>+pipeline:
+  mutators:
+    - image: gcr.io/kpt-fn/apply-setters:v0.1
+      configPath: setters.yaml
+  validators:
+    - image: gcr.io/kpt-fn/kubeval:v0.1
 upstream:
   type: git
+  updateStrategy: resource-merge
   git:
-    repo: https://github.com/GoogleContainerTools/kpt
     directory: /package-examples/wordpress
     ref: v0.4
-  updateStrategy: resource-merge
+    repo: https://github.com/GoogleContainerTools/kpt
 upstreamLock:
   type: git
   git:
-    repo: https://github.com/GoogleContainerTools/kpt
+    commit: 8b3fe0e4566530f54dd91fc545875a688871b402
     directory: /package-examples/wordpress
     ref: package-examples/wordpress/v0.4
-    commit: 8b3fe0e4566530f54dd91fc545875a688871b402
-info:
-  emails:
-    -<EMAIL_ADDRESS>-  description: This is an example wordpress package with mysql subpackage.
-pipeline:
-  mutators:
-    - image: gcr.io/kpt-fn/apply-setters:v0.1
-      configPath: setters.yaml
-  validators:
-    - image: gcr.io/kpt-fn/kubeval:v0.1
+    repo: https://github.com/GoogleContainerTools/kpt

Doesn't render format the Kptfile?

The explanation for this behavior is: render does not write the meta resources in the package hierarchy, they don't go through the formatting step that we do at the end before writing resources.
In the increased scope for render, we need to explicitly do the following:

Validation of package meta data (we will start with meta resources). Today we only validate pipeline section only.
Formatting of resources (including meta resources)


Add underline property to DropdownButtonFormField

Use case
Same as DropdownButton
Proposal
DropdownButton has underline property to customize the underline but DropdownButtonFormField does not have the same. I couldn't seem to find one that talks about this in any of the issues but I do not think I am the only one needs this property to be added to DropdownButtonFormField as well.
Or add a disabled property to apply disabledBorder in InputDecorationTheme. Currently there are two ways of disabling DropdownButtonFormField (passing null to onChanged or items) but both do not seem to trigger the disabledBorder property.

Hi @jaesam, you can already add an Underline to the DropdownButtonFormField.
You can use the InputDecoration and set the border as UnderlineInputBorder.
If you want to trigger the disabledBorder, you can set the enabled property of the InputDecoration to false.
Does this suffice?
DropdownButtonFormField(
              items: ['Me', 'You'].map((String value) {
                return DropdownMenuItem<String>(
                  value: value,
                  child: Text(value),
                );
              }).toList(),
              onChanged: (String? newValue) {
                print(newValue);
              },
              decoration: const InputDecoration(
                enabled: true,
                disabledBorder: UnderlineInputBorder(
                  borderSide: BorderSide(
                    color: Colors.red,
                    width: 2,
                    style: BorderStyle.solid,
                  ),
                ),
              ),
            ),


Add FormValidation to Field.config.schema's type

Another attempt at fixing #45. I included a component to "test" it in the IDE but I could not write an actual component test. Playwright failed with [vite]: Rollup failed to resolve import "$app/environment", which seems to be related to https://github.com/sveltejs/kit/issues/1485. Here is a repo that contains the test code.

Thank you @esafak !


fix: Static gzip Media Signature

Description

Adds a static media signature for application/x-gzip

Motivation and Context

There is an occasional media identification bug when retrieving compressed CloudTrail files from AWS S3 -- http.DetectContentType incorrectly identifies the media type as application/vnd.ms-fontobject. The bug is rare (at Brex we process more than 100k compressed CloudTrail files every day and we see the bug, at most, once every few months) but it needs to be fixed because it results in data loss.
How Has This Been Tested?

The fix was integration tested with a CloudTrail file known to trigger the false match.
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Looks good! If we have a small, sanitized file it would be great to have a test recognizing the content-type.

We have test coverage for the function that correctly identifies gzip, but a public test file for the fix itself probably isn't a good idea -- it can't be sanitized without changing the MIME type (gunzip -> gzip), which would most likely corrupt the test.
That mentioned, we can host it internally for our own integration tests.


Lint of cfprocresult fails in function when array is used.

The following cfprocresult will flag as an error even though it shouldn't:  (Note code reduced for clarity)
<cfset var myRet = [] />

<cfstoredproc ...>
   <cfprocresult name="myRet[1]" resultset="1" />
   <cfprocresult name="myRet[2]" resultset="2" />
   <cfprocresult name="myRet[3]" resultset="3" />
</cfstoredproc>

The error given is Variable myRet[1] is not declared with a var statement. (only listing one of three).

Thanks.  commited fix to master


Javascript warnings "The volume root statuses requires volumeid property"

When running the demos, if I open the debugging console in the web browser I see lots of javascript warnings saying:
"The volume root statuses requires volumeid property"
This is because the current working directory (CWD) property doesn't have a volumeid property.
The fix for this would be to change the return type of IDirectoryExtensions -> ToFileInfoAsync to be Task DirectoryInfoResponse instead of Task BaseInfoResponse
You'll also want to change the first parameter of InitResponse's and OpenResponse's constructors to be "DirectoryInfoResponse cwd" instead of "BaseInfoResponse cwd".
Finally change the cwd property in OpenResponse to be:
public DirectoryInfoResponse cwd { get; protected set; }
Thanks!

Hi @huwjeffries , what version are you using? I cannot reproduce it with the version 1.3.4 and above since I remember I already fixed it before.

As you see here, although the return type is BaseInfoResponse but it is actual the DirectoryInfoResponse which contains the volumeid property so it will be there when the API returns response to the browser.

Apologies - I checked out the source code and added it as projects to my
solution so I could easily step through the code, rather than installing
the nuget. I've targeted net 6, so there will be a difference in how the
json serialisation works. You're welcome to close this issue.
Thanks.
On Sun, 20 Feb 2022, 03:04 Trung Tran, @.***> wrote:

As you see here, although the return type is BaseInfoResponse but it is
actual the DirectoryInfoResponse which contains the volumeid property
so it will be there when the API returns response to the browser.
[image: image]
https://user-images.githubusercontent.com/40495531/154826698-2f034368-68e3-4a48-a794-9b4f31b0779d.png
—
Reply to this email directly, view it on GitHub
https://github.com/trannamtrung1st/elFinder.Net.Core/issues/20#issuecomment-1046149486,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3ICIFCKKGUQHZQD26N7WLU4BK3HANCNFSM5O2TTD3Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Oh I understand now. I think we could use some workaround for this issue as Microsoft suggested for System.Text.Json. I already used the raw property names (without PascalCase) in the response models to avoid the need to use Json libraries but still cannot eliminate all the issues 😄
One more solution is to replace the BaseInfoResponse type in the models by the object type... but I still doubt it.


Changing devops module to vsts module.

Renamed devops module to vsts.
Moved req.json() to correct place to avoid invalid json errors.

LGTM


VSCode choice snippet not showing choices

Hey friends!
I have a VSCode snippet that should toggle between a local and global function in typescript:
"function": {         "prefix": [             "fn"         ],         "body": [             "${1|const,export const|} $2 = ($3)$4 => {",             "\t$5",             "}\n$0"         ]     },
However when I expand the snippet only the first choice is used and there's no dropdown to toggle between the choices.  Anyone know how to work around this with VSCode snippets?

Works great, thank you!

Nice, you're welcome :)


Update default for actions.ENABLED in config-cheat-sheet.en-us.md

Update cheatsheet to show that true is not the default for actions.ENABLED

It's true in main branch. Ref #27482


[Refactor] Customization Options

Additional Customization Options were Requested:

[x] Change Background to custom one
[ ] Custom colors
[x] Visualizer disable / change

For the custom colors, specifically what color and file type needs to be implemented?
Is this this path where I should  submit the change?
https://jetsetradiofuture.live/customize/images/


Using iconURL instead of icon_url.

Both author and footer are using iconURL when they should be using icon_url. I confirmed the issue, neither feature works, but when I manually override the object, they both work.
	setAuthor(name: string, iconURL?: string, url?: string) {
		this.json.author = {
			name,
-			iconURL,
+                       icon_url: iconURL,
			url
		};

		return this;
	}

and
-	setFooter(text: string, iconURL?: string) { this.json.footer = { text, iconURL }; return this; }
+	setFooter(text: string, iconURL?: string) { this.json.footer = { text, icon_url: iconURL }; return this; }

This library is made for use with Oceanic


New package: DistributedWorkflows v0.1.0

Registering package: DistributedWorkflows
Repository: https://github.com/FiroozehDastur/DistributedWorkflows.jl
Created by: @FiroozehDastur
Version: v0.1.0
Commit: 65c3dc500ff08f24010c660780eeb26aaef4f1c3
Git reference: v0.2.0
Description: A Julia interface to a distributed task-based workflow management system
Release notes:

A Julia interface to a distributed task-based workflow management system

accidental PR created. Would like to close it down.


feat(item): fix sign text building for 1.20

Not sure how to bump the version for this kind of change so I did not change the version


AlignedVec::reserve and reserve_exact do the same thing

AlignedVec::reserve_exact() has the same behavior as reserve() - it increases the capacity of the vec to next power of 2.
https://github.com/rkyv/rkyv/blob/2d1c964fda2970d7eb7971805de807cc8996f360/rkyv/src/util/aligned_vec.rs#L522-L529
This is surprising, as it means there's no way to do what the method name would suggest and reserve only a specific number of bytes. It's also out of line with Vec's method of the same name.
Is this intentional? If not, I'd be happy to submit a PR to fix.

Nope, this is not intentional. I'd be happy for a PR that corrects this. Keep in mind that because the alignment of the allocated memory is high, the allocation size is constrained to a multiple of 16.

Thanks for coming back. I'll prepare a PR.
However... I wasn't aware that capacity needs to be a multiple of 16. This constraint is not enforced by AlignedVec::with_capacity(), for example.
alloc::Layout doesn't seem to demand any such constraint, and I don't think any of the other code in AlignedVec relies on this property either.
This was surprising to me. Of course this constraint does apply to Rust objects ((u8, u16) has size of 4), but as far as I can see from the docs, it's not a requirement for allocations.
I suppose this makes sense because it allows you to request allocations with a very high alignment but much smaller size. e.g. WebAssembly.Memory objects created in JS are allocated at addresses which are aligned to 1 << 32 (4 GiB), but their minimum size is 64 KiB. I assume this is so translating a 32-bit WASM pointer to a "real" 64-bit pointer in host can be done with inexpensive bitwise operations.
What do you think?

My bad, I didn't clarify enough. The layout passed to functions like GlobalAlloc::alloc does not need to have a size that is a multiple of the alignment. However, the memory returned from those calls will likely be padded out to a multiple of the alignment. So there's nothing wrong with your PR, I just wanted to clarify that in case you were benchmarking or measuring for specific results. Sorry for the confusion!


subprocess-exited-with-error when install nndetection

Obtaining file:///D:/nnDetection
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "D:\nnDetection\setup.py", line 7, in
from torch.utils.cpp_extension import BuildExtension, CppExtension, CUDAExtension, CUDA_HOME
File "E:\anaconda3\envs\new_env\lib\site-packages\torch\utils\cpp_extension.py", line 25, in
from pkg_resources import packaging  # type: ignore[attr-defined]
ImportError: cannot import name 'packaging' from 'pkg_resources' (E:\anaconda3\envs\new_env\lib\site-packages\pkg_resources_init_.py)
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
how to solve this problem
pytorch: 1.13.0, python 3.10; cuda 1.17

Dear @liuxia0725 ,
I haven't encountered this Issue before, could you try to run it in a linux based docker container? nnDetection does not officially support Windows and based on your file paths, it looks like you might be using a windows based operating system.

Hi there!
Do you think that using WSL (Windows Subsystem for Linux) would work in that case?


The undeleted blob name is not surrounded by quotes in activity log

Storage Explorer Version: 1.13.0
Build: 20200422.4
Branch: rel/1.13.0
Platform/OS:  Linux Ubuntu 18.04/macOS High Sierra
Architecture: x64
Regression From: Previous release (1.12.0)
Steps to reproduce:

Expand one Non-ADLS Gen2 storage account -> Blob Containers (Make sure soft delete is enabled).
Create one new blob container -> Upload one blob to it and delete this blob -> Switch to 'Active and deleted blobs'.
Undelete the blob -> Check the activity log.

Expect Experience:
The blob name is surrounded by quotes.

Actual Experience:
The blob name is not surrounded by quotes.

Verified on build 20200423.5. This issue has been fixed. So we close it.


Adding labels and triage process

Is your feature request related to a problem? Please describe.
As the number of contributors is growing, the number of issues is growing. We need a triage process with a labelling system in place.
Describe the solution you'd like
Labels to be added in contributing.md (or another file that will be referred in contributing triage part) in Identus repo.
Each label should have a prefix: for example:

Type: bug, docs, enhancement, support, research, maintenance, chore, ci, refactor, perf, test
Priority: critical, major, normal, minor
Component: cloud-agent, infrastructure, mediator, edge-agent-SDK-swift, edge-agent-SDK-KMP, edge-agent-SDK-TS, node, VDR, ...
Team: marketing, product, engineering, management, dev-ops, security
Triage: needs-repro, needs-fix, stale, good-first-issue/up-for-graps, help-wanted, question/query, tech-debt
Closed: out-of-scope, can’t-repro, duplicate, won’t-fix, design-limitation
Status: new, ready, in-review, in-progress, fixed, qa-ready, qa-progress, qa-support (to indicate QA team needs support), stale, done/closed/terminated

Colors for labels should follow a rule to be described.
Each label should have a description associated to it.
All Identus repos will use the same labels.
Triage process needs to be written down: Have a look at Identus Technical Charter as reference first.
Describe alternatives you've considered
We need to check if the status are labels or customised fields.
Best practices to be looked at as well so the solution is practical.
Additional context
The triage should be efficient and regularly done (recommendation is every 2 days) and it should be linked closely to the release process and cadence.
Follow: https://docs.github.com/en/issues/using-labels-and-milestones-to-track-work/managing-labels
Use Conventional commit to match some labels

@mkbreuningIOHK, can you elaborate on these labels: marketing, product, and management? Who will be on the management and product team at Identus?

@mkbreuningIOHK, can you elaborate on these labels: marketing, product, and management? Who will be on the management and product team at Identus?

@essbante-io , the labels are to triage but if there is nobody behind those labels, we might reconsider and start with a smaller number of labels.


[FS] Dynamic fees

Everyone pays 0.001 to transfer coins across.
Withdrawal transactions will be assigned 0.0002 in fees, plus 0.0001 for every input it uses.
Given that the wallet has to receive a UTXO to be able to spend it, the average gain for the federation wallet is 0.0007 per 1-way deposit.

Also feel free to suggest new numbers... maybe someone has some ideas to come up with a more accurate fee structure


monitoring: add the monitoring script for console pods

Add the monitoring script for both web console and admin console.
JIRA: SREP-1524

👍


Question: Possible error in the model specifications

Question on: https://github.com/TuringLang/Turing.jl/edit/master/docs/_tutorials/8_MultinomialLogisticRegression.md
num = softmax([0, # this 0 corresponds to the base category `setosa`
                     intercept_versicolor + SepalLength_versicolor*x[i, 1] +
                                            SepalWidth_versicolor*x[i, 1] +
                                            PetalLength_versicolor*x[i, 2] +
                                            PetalWidth_versicolor*x[i, 2],
                     intercept_virginica + SepalLength_virginica*x[i, 3] +
                                           SepalWidth_virginica*x[i, 3] +
                                           PetalLength_virginica*x[i, 4] +
                                           PetalWidth_virginica*x[i, 4]])

should this be instead?
num = softmax([0, # this 0 corresponds to the base category `setosa`
                     intercept_versicolor + SepalLength_versicolor*x[i, 1] +
                                            SepalWidth_versicolor*x[i, 2] +
                                            PetalLength_versicolor*x[i, 3] +
                                            PetalWidth_versicolor*x[i, 4],
                     intercept_virginica + SepalLength_virginica*x[i, 1] +
                                           SepalWidth_virginica*x[i, 2] +
                                           PetalLength_virginica*x[i, 3] +
                                           PetalWidth_virginica*x[i, 4]])

Yes, seems like this is incorrect. There is also some leaking from the training to the test data it seems. In general, it would be good to update the tutorial to be more similar to https://turing.ml/dev/tutorials/5-linearregression/.


unclosed event loop

Type of Issue
Select the type of issue:

[x] Bug report (to report a bug)
[ ] Feature request (to request an additional feature)
[ ] Tracker (I am just using this as a tracker)
[ ] Refactor request
[ ] Documentation Ask

Description
when running fake agent in pdb (e.g. when debugging integration tests) I get lots of
... droidlet_env/lib/python3.7/asyncio/base_events.py:626: ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False>
source=self)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
making it hard to use interactive debugger
Steps to reproduce
pick any test (e.g. https://github.com/facebookresearch/fairo/blob/main/droidlet/interpreter/craftassist/tests/test_interpreter.py ) and put in a pdb.set_trace()
mess around a bit.

I've definitely seen this before during some of the debugging runs but I'm having a hard time tracing it back to which event loop is unclosed.


⚠ Bofrost.de has degraded performance

In 9c167bd, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1067 ms

Resolved: Bofrost.de performance has improved in 595d16c after 1 hour, 10 minutes.


Text on Safari doesn't render correctly

This happens on Safari but not on Chrome. Any suggestions?

Likely due to FXAA being turned on. Do you see a warning in the console saying that you are using FXAA?

No, just the output from Pixi.js with its version and renderer.

ok, so I took another look at it and it seemed that the text was added twice in the stage... the render isn't smooth but its acceptable!