[IMPROVEMENT] Border implementation

Hi, It will be great if we can get border implemented in this package.
Use case example:

Maybe we could add something like this in the API:
ButtonsTabBar(
borderWidth: 1.0,
borderColor: Colors.blueAccent,
unselectedBorderWidth: 1.0,
unselectedborderColor: Colors.red,
)
Thanks for your consideration !

Thank you for opening the issue. I'll try to have it working tomorrow!

This feature was implemented on commit https://github.com/Afonsocraposo/buttons_tabbar/commit/b86d2b6278c0759ef28f4ee3c50c8f94e8af6075.
You can use the most recent version of this package by updating your pubspec.yaml to:
dependencies:
  flutter:
    sdk: flutter
  buttons_tabbar: ^1.0.0+1

For help on how to use it, you can check the README.md file.


Is it possible to do an AOT build without using buildStatic?  I need dynamic loading.

When you buildStatic, you lose some SystemJS stuff I need, namely dynamic module loading at runtime.
The trouble has been that I haven't been able to make normal SystemJS code work with AOT.  Does anyone know if it's even possible?

Here's an example for lazy-loading (what I suppose you want to achieve) https://gist.github.com/mgechev/63d374d51ac846797879a0cdc9c3b97c.

Wow, thats very interesting.  So you are bundling the main app with SystemJS but then using buildstatic for the lazy loaded modules.  Any reason for that?  Since the SystemJS runtime is already required by the main app.  And this approach works with AOT?

Yes, it does work with AoT. Used it in a production application some time back.

Hmm, I'm trying to figure this out.  Rather than posting this gist around, how come it isn't part of angular-seed?  Seems like you have it already working.  I checked out the "lazy" branch but it won't build.  Seems like a ton of the dependencies are messed up for me since they weren't version locked.
So you call AOT first somehow and then bundle the resulting ngfactory files?  Is there a more complete setup using this setup that I could see?  It's difficult to figure out how the parts fit together.
It seems this fellow got close but his changes were never merged.  https://github.com/mgechev/angular-seed/pull/1714

@light24bulbs : I would be very interested to know what you guys did.  My company is currently struggling with the same problem and we haven't found any decent solutions.

We are waiting to have some adoption within the company to see if this approach really works and then we will publish a whitepaper and open source the relevant modules.  As usual, it's taking longer than expected.
From a team that spent months getting this to work, here is my takeaway:  Don't do this.  Our story, while successful, is also a cautionary tale. I'm not sure I would call it a healthy pattern.
We are now, after 4 months, in alpha of the dynamic loading approach.  We have diverged from webpack and angular significantly.  The upgrade to angular 5 is questionable at best.  Sharing code is cumbersome, and involves adding modules to a DLL(as in webpack DLL) and then rebuilding all submodules.
We have lost: Dead code elimination/tree shaking, sane continuous integration, and our application has become fragmented and difficult to maintain.
I think that if you want a modular application, you should build it all in one repo, use Lerna to version and maintain all modules together, and have a master build step.  And for the sake of your own sanity, use Vue.

@light24bulbs Thanks for the recommendation.


Ensure only one cirros image gets created

When run multiple times the edpm-deploy-instance.sh would create multiple images named "cirros", which creates trouble later on.

I just noticed that other commands in this script also don't check if resources already exist before they create them. Any objection against adding checks for those commands too?

it looks good to me, @raukadah could you please take a look?


fix_gas_charge

While analysing this tx https://snowtrace.io/tx/0xac70b6e2e046be765ac18c1b4e74a342015575eebf778f49eaee5ed1565903c1
I noticed that on chain the this tx reduced the balance on account 0x77420e96f0e5f1dcfa8fcdd6ba6a3a9d3ad0c6c4 by<PHONE_NUMBER>0000000, while the revm reduced the balance by only<PHONE_NUMBER>0000000.
The seems to a refund being deducted in revm. 2800 *<PHONE_NUMBER>0 +<PHONE_NUMBER>).
This line also seems to indicate that the refund is already included in the spend so shouldn't be added to remaining above?
https://github.com/bluealloy/revm/blob/main/crates/revm/src/evm_impl.rs#L277

how did you get that 2800 and both 250000.. and 1500.. are those println? diff is<PHONE_NUMBER>0000000-12435880000000000=74200000000000
and effective gas price is:0.000000025 (base fee) + 0.0000000015 (max priority fee)= 0.0000000265

how did you get that 2800 and both 250000.. and 1500.. are those println? diff is<PHONE_NUMBER>0000000-12435880000000000=74200000000000
and effective gas price is:0.000000025 (base fee) + 0.0000000015 (max priority fee)= 0.0000000265

Yeah I printed out those values.
I got gas.spend() = 94,720 and gas_refunded = 2,800 for this line https://github.com/bluealloy/revm/blob/main/crates/revm/src/evm_impl.rs#L252
So I end us with (94,720 + 2,800) * effective_gas_price being added back here.
Seems to be too much being added back.
The the function returns (91920, 2800) as gas used and gas refunded ?
https://github.com/bluealloy/revm/blob/main/crates/revm/src/evm_impl.rs#L277

So it takes away the limit at the start 97,957 then adds back remaining 3,237 plus refund 2,800. Gas charged is 91,920 times the effective price.
With geth the gas charged is total used 94,720 times the effective price. So the diff is the extra refund amount using the revm.

Turns out this is an avalanche thing. revm is correctly including the refund but avalanche doesn't include refunds.

You can add a config flag inside env to turn refunds off, that would be acceptable (just add good comment why it is introduced)


cmd/compile: init code or linker should verify package "fingerprint"

Given a file lib.go:
package lib

func F() int { return 42 }

and main.go:
package main

import "./lib"

func main() { println(lib.F()) }

The following command sequence prints 42 as expected:
$ go tool compile lib.go
$ go tool compile main.go
$ go tool link main.o
$ a.out
42

If one now changes 42 to 43 in lib.go, the following command sequence still prints 42:
$ go tool compile lib.go
$ go tool link main.o
$ a.out
42

rather than 43. The issue is (presumably) that lib.F() got inlined and there's (apparently) no check in the linker that lib.go changed.
While not surprising to an initiated user, this is surprising to an unsuspecting user. Ideally the linker, or then the initialization code should check that a compiler package we link again (or that we initialize) is the same that we compiled against. This could be done with some fingerprint of sorts, perhaps computed on the export data only.
I suspect scenarios can be created where the linker succeeds and the program crashes (because a data type changed in lib.go and main.go wasn't recompiled).
This behavior is no different from C/C++ where we have "independent" compilation: as long as the linker finds the matching symbols, it doesn't care whether they are referring to the same entities that were implied in the source code - hence the independence.
Go should properly implement "separate" compilation: packages can be compiled separately, but correspondence to source code should be enforced.

I might be wrong, but I suspect that this was fixed by 229618
If I try the steps below using go1.18.1

If one now changes 42 to 43 in lib.go, the following command sequence still prints 42:
$ go tool compile lib.go
$ go tool link main.o
$ a.out
42

I will get this output:
go tool link main.o
/usr/local/go/pkg/tool/linux_amd64/link: fingerprint mismatch: /tmp/lib has 8849f3de946169cc, import from main expecting 1172c1a932b2160a


PowerVS: Add an only IPI regions list

In order for the IPI installer to be able to use this module, it needs the ability to have the list of regions to only include supported regions.

@mkumatag How about this version?

@dharaneeshvrd The reason why I do it this way is so the user can switch between the two lists at any time.
@mkumatag The other way I see to implement this is to alter every API call to add an additional parameter to indicate that only IPI is requested.  This would require everyone to change and therefore be unacceptable.  Feel free to submit a PR for code you don't have a problem with.
It seems to me that this is a situation where the approver does not work on the IPI project and therefore does not feel the constant pain of having to implement new zones and/or regions.

Does adding the parameter really mean we'll need to expose it in every API call? Another option is a function that returns a list of keys into the Region list (dal, wdc, mad, etc)

AFAIK Go does not have a default parameter.  I don't even think you can have two different functions with the same name but different number of parameters.

@hamzy I understood what you are trying to do now. The changes will work.
But I am also not that comfortable with overriding variables and creating another instance of map[string]Region.
Please see below approach will work!
With your current design also we need to call UseIPIRegions() to map IPIRegions to Regions var.
How about using some kind of env var to decide on each func to look for IPISupported field.
So we don't need to alter func params and like calling UseIPIRegions() one time, we can set the env var.
With above approach we can avoid the overriding and creating new map.
Another suggestion is if IPI is the major consumer of this utility pkg, then we can keep that env as default to IPIRegions and other consumers like hypershift can keep that env var to false and use it.

@dharaneeshvrd So you would rather change 11 functions than one list?

Agree, it's a lot of change. I think current implementation looks good to me!


any instructions for training on custom dataset?

@zhreshold
is any instructions for training on custom dataset step by step?
thank you !

Create the parser for custom dataset as subclass of dataset/imdb.Imdb(), implement all the virtual functions, you can refer to pascal and yolo examples in the same folder.
In tools/prepare_dataset.py, add you new dataset
Run tools/prepare_dataset.py to get your record file, and load that one in train.py

thanks .I got it


Immediate clean crash upon joining a world

Description:
Minecraft starts fine but when I try to enter a world it jumps from loading terrain to saving world and quits Minecraft completely.
Steps:
Start game with Fabric client 1.18.1 and the following mods and enter any world:
error.txt
Setup:

OS: Windows 11
Minecraft Fabric, 1.18.1

Additional context
I have 128 client mods installed. Dashloader also gives an error message shortly after loading into the game when the fabric capes mod is installed.

It is the essential mod. I forgot it adds cosmetics to the game!

It isn’t, I play with both 👀


Enhancement for clusterpool to work on on-prem clouds

Currently, clusterpool is only available for public clouds like
aws, gcp and azure. Installing cluster on on-prem clouds require
additional pre-configurations that cannot be done on a fly as
currently implemented in clusterpool. Through this enhancement
we propose how these pre-configurations can be fed into the
clusterpool through a new inventory field.
x-ref: https://issues.redhat.com/browse/HIVE-1367

@2uasimojo this is mostly based on your original proposal, but I have included the changes that we discussed. PTAL

One overarching question I have while reviewing this is related to having the ability to do more than just patch the install-config. Can this mechanism/CRD be extended to make use of things like custom manifests ( https://github.com/openshift/hive/blob/master/apis/hive/v1/clusterdeployment_types.go#L191 )?

Yes I believe, add one more field to spec and add implementation in the controller. We need to make CRD as generic as possible.

@abraverm you might want to review before we merge this enhancement

/test e2e

/lgtm
/hold cancel

(Now or) in a followup, I would like to add a couple of sections:

https://github.com/openshift/hive/pull/1636


Add safeguard when street is set to 2 lines

Currently the autocomplete is not working in cases where streetlines is set to 2. An error will be thrown:
.CRITICAL: Form modifier "Exception" threw an exception: Warning: Undefined array key 2 in /Users/frankbokdam/sites/project/vendor/trinos-nl/magento2-postcode-nl/src/Model/Form/EntityFormModifier/WithPostcodecheckModifier.php on line 127
This PR fixes this issue and adds safeguards.

Hi @frank-bokdam Thanks for the contribution. I manually merged your changes into the develop branch. I will close this when it's merged into main.

Version 1.0.1 has been released with your changes


精简版  install.sh 提示需要hadoop

[root@linkies2 bin]# sh install.sh
step1:load config
Succeed to + load config
Please enter the mode selection such as: 1
1: Lite
2: Simple
3: Standard
Please input the choice:1
You chose Lite installation mode
Python 3.7.0
Succeed to + execute python --version
openjdk version "1.8.0_232"
OpenJDK Runtime Environment (build 1.8.0_232-b09)
OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode)
Succeed to + execute java --version
Do you want to clear Linkis table information in the database?
1: Do not execute table-building statements
2: Dangerous! Clear all data and rebuild the tables
Please input the choice:1
You chose not execute table-building statements
create hdfs  directory and local directory
Succeed to + create local directory
install.sh:行173: hdfs: 未找到命令
Failed to  + create hdfs directory
精简不是不需要Hadoop吗？怎么这里提示用到hdfs？

We will optimize it in next release.


feat/create facility request check date

Features:

When create facility request, always check for time conditions

Start finish must be same day
Start finish must be hours and date, not minute and seconds
Start finish must be in opening hours of that day ***
30 days reservation limit

Change schema to match with facility's opening_hours JSON array

Should we make reservation day a column of facility instead of hard code?


why not generate the range syntax when port => 'start:end' is encountered in a rich rule?

Why not generate the single port element:
<port protocol="tcp" port="start-end"/>
instead of lots of port elements like:
<port protocol="tcp" port="start"/>
...
<port protocol="tcp" port="end"/>
This is what the builtin rules use and it would make the iptables rules more compact.
Thanks.

Hi @kenyapcomau - are you referring to the custom_service type when declaring multiple ranges like    this https://github.com/crayfishx/puppet-firewalld#parameters-3 ?

Yes that's what I meant, sorry for the confusion.

Hi guys,
We are running into the same issue because firewalld on CentOS 7 wont parse multiple rules in the same xml file.
Is there any update on this?

How do you mean? I haven't checked for a while but firewalld parsed the spec fine but for something like opening up a range of VNC ports, one iptables rules was generated per port, which is unnecessary because port ranges can be specified. In the end I just created a custom service XML file until this is fixed.

Hi yeah the custom xml option will work however will be a nightmare for management moving forward.
We only had a 20 port range so made individual rules for each one.
Firewalld just did not like the multi line list.

I just use a puppet stanza that installs a custom XML file from the module's resources, i.e. the files/ directory. I need to override the limited 4 port range of the supplied VNC rule anyway.

Firewalld was fine with the multi-port list in xml, I made some other schoolboy error. It would probably be better to generate a rule with a hyphen in where appropriate though, as per the original issue.

I was using this module and a customer asked to open all TCP ports between 1024-65535. When I realized that it would generate 64 thousand lines of xml I was like 'oh no, that will not do'.

Related to #176


⚠ Fetchers has degraded performance

In ba33492, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 288 ms

Resolved: Fetchers performance has improved in 6dccbea.


What is the recent V2 model for?

As seen inside https://huggingface.co/sberbank-ai/rudalle-Malevich/tree/main
What does the new pytorch model (v2) bring?

It's for compatibility with #47. The names of the mask parameters changed in the model dict.
row_mask --> transformer.row_mask
col_mask --> transformer.col_mask
conv_mask --> transformer.row_mask
You can verify this for yourself with this code.
https://gist.github.com/blue-fish/b07abadab81f3fda365adc87f2b500e0
Output:
Key: row_mask in model_v1, but not model_v2
Key: col_mask in model_v1, but not model_v2
Key: conv_mask in model_v1, but not model_v2
Key: transformer.row_mask in model_v2, but not model_v1
Key: transformer.col_mask in model_v2, but not model_v1
Key: transformer.conv_mask in model_v2, but not model_v1
Checking: model_v1["row_mask"] vs. model_v2["transformer.row_mask"]
... exact match
Checking: model_v1["col_mask"] vs. model_v2["transformer.col_mask"]
... exact match
Checking: model_v1["conv_mask"] vs. model_v2["transformer.conv_mask"]
... exact match

@johnpaulbin  @blue-fish yes, it is some refactoring only ;) without new pretrained models


[nrf fromtree] Bluetooth: L2CAP: Fix checking if LTK is present

This fix a typo where incorrect member of bt_keys was used for
checking if LTK is present. This was resulting in bogus results
depending on connection role and current identity used.
This was affecting L2CAP/LE/CFC/BV-25-C qualification test case.
Fixes: #42862
Signed-off-by: ilat<EMAIL_ADDRESS>(cherry-pick of 4fce6fb9377f000e7b3a17f50b633bafb8ecd42f)

@ilhanates please open corresponding manifest update PR in sdk-nrf

Added manifest update https://github.com/nrfconnect/sdk-nrf/pull/6979


add tagslam

Updated with velocity follower

Sim tags still broken, need updated message type. Pose using the tag detector should exist but have not tried (probably just use depth data + corners)


Test room, refactored Levels to include a Manual Testing Environment.

Description
This PR brings in a new type of room: an armoury with one of each item.
and a TestLevel(Factory) that includes it.
There is also a refactor that makes Level, and MapGenerator into interfaces, with their original implementations moved into new classes.
Fixes / Closes # (issue)

[x] #464
[x] #481

Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] ~Breaking change (fix or feature that would cause existing functionality to not work as expected)~
[x] ~This change requires a documentation update~

How Has This Been Tested?
It is a test, it tests other things, mutual validation is used for testing these classes.

[x] All of the Items that are generated by CollectibleFactory
[x] All of the npcs that are generated by NPCFactory

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

@SIN-Willett maybe add the music?

Game crash when picking up the Ring of Fire in the test room.

And should the test level load in all weapons, or just the shotgun?

Game crash when picking up the Ring of Fire in the test room.
And should the test level load in all weapons, or just the shotgun?

It ideally should be all… but when I tried to do all of them the game crashed, I hoped you would add all the others in WeaponFactory.getAllSpecs()

Added other weapons, I left out the "fnscar" as I forgot the assets for it, which was causing the issue.

Added other weapons, I left out the "fnscar" as I forgot the assets for it, which was causing the issue.

Legend, thank you :)

@vsinh14 feel free to merge whenever you're happy with it, otherwise I'll just do it tonight :p

All remaining Sonarcloud issues are to do with RandomMapGenerator (which is all team 6 code, it's only showing up for this PR because I moved that code into a new file).

The animals in the second room are not within the room's bounding
The tombstone does not create a pet
The divine potion crashes the game

The animals in the second room are not within the room's bounding The tombstone does not create a pet The divine potion crashes the game

All 3 of these errors are within other people's code, This PR simply to create an environment where these errors can be easily tested for... the fact that known bugs are present is an indication of this feature WORKING AS INTENDED.
The longer we delay pulling this in, the less useful it will be to actually fix those bugs.

The animals in the second room are not within the room's bounding
This is why team 7 was asked to merge their fix in... if that didn't fix it, then there is still a bug in their code.

The tombstone does not create a pet

This is because Dog is missing animation parts, this is Team 7s responsibility to fix in another PR.

The divine potion crashes the game

That is team 3's responsibility, if they want to fix this bug they can.

The animals in the second room are not within the room's bounding

This is why team 7 was asked to merge their fix in... if that didn't fix it, then there is still a bug in their code. (its  a map issue but team seven changes dont fix them even for your branch)

The tombstone does not create a pet

This is because Dog is missing animation parts, this is Team 7s responsibility to fix in another PR. (shall be tested)

The divine potion crashes the game

That is team 3's responsibility, if they want to fix this bug they can.


Fix upside down push monitors

Description
This PR fixes a regression introduced by 1.16.1 (#1428) where upside down push monitors were not handled correctly. (Fixes #1732)
Type of change
Please delete any options that are not relevant.

Bug fix (non-breaking change which fixes an issue)

Checklist

[X] My code follows the style guidelines of this project
[X] I ran ESLint and other linters for modified files
[X] I have performed a self-review of my own code and tested it
[X] I have commented my code, particularly in hard-to-understand areas
(including JSDoc for methods)
[X] My changes generate no new warnings
[ ] My code needed automated testing. I have added them (this is optional task)

Screenshots (if any)
Please do not use any external image service. Instead, just paste in or drag and drop the image here, and it will be uploaded automatically.

@louislam can you please pick this for 1.17? Sorry about the regression. I didn't think to test upside down push monitors!

Hey, ty for your job, i have modified this line (since 2-3 hours) in monitor.js and its works ! ;)


Removing Chunk.

Idea. Add function:
removing Chunk. As if he did not generate. Alternative RegenerateChunk.

https://github.com/SpongePowered/SpongeAPI/pull/361/files

This already exists in World:
    /**
     * Deletes the given chunk from the world. Returns a {@code boolean}
     * flag for whether the operation was successful.
     *
     * @param chunk The chunk to delete
     * @return Whether the operation was successful
     */
    boolean deleteChunk(Chunk chunk);

@Bammerbom in regards to having a delete method in Chunk, this is just a recipe for memory leaks since as soon as you call Chunk.delete() the reference to the chunk that you have is invalid and needs to be dereferenced.


Nightmare_tyxml: unnecessary complexity of XXX_of.

At the moment, the construction of a tag taking an endpoint seems to me too heavily complex. You have to repeat tags taking src, href and co, whereas it would be enough to do a_href_of endpoint continuation and a_src_of endpoint continuation and not have to reproduce each tag.

In many cases your approach works, but unfortunately not for cases where it is necessary to generate two attributes. For example, form where the method, in addition to the action, is induced by the type of the endpoint.
Producing a list of attributes would be quite annoying because it would force you to write the form call in this way:
Tyxml.Html.form ~a:(a_method_of endpoint :: a_action_of endpoint continuation :: []) []
(* Or supposing that [a_method_of] returns a list of attrib including the method. *)
Tyxml.Html.form ~a:(method_of enpoint @ []) []

Both suggestion seems heavy on the user-space.

ping @xhtmlboi

That's fine for now :) and as the hardest (and most boring) part has been done by @xvw, I'll close the exit.


Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.

Steps to Reproduce

Hello guys, I am currently working on an application in which I use firebase. Up to now everything worked as expected but from the moment I added the plugin firebase_in_app_messaging: ^0.0.1+3  I had as error:
Logs

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[1.16.
  1]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.

  Dependency failing: io.grpc:grpc-android:1.16.1 -><EMAIL_ADDRESS>but grpc-core version was 1.21.0.

  The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art
  ifact with the issue.
  -- Project 'app' depends on project 'firebase_in_app_messaging' which depends onto com.google.firebase:firebase-inappmes
<EMAIL_ADDRESS>  -- Project 'app' depends onto<EMAIL_ADDRESS>  -- Project 'app' depends onto<EMAIL_ADDRESS>  -- Project 'app' depends onto<EMAIL_ADDRESS>  -- Project 'app' depends on project 'cloud_firestore' which depends onto<EMAIL_ADDRESS>  -- Project 'app' depends onto<EMAIL_ADDRESS>  -- Project 'app' depends onto<EMAIL_ADDRESS>  -- Project 'app' depends onto<EMAIL_ADDRESS>
  For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dep
  endency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https://
  github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = false }" to your b
  uild.gradle file.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 43s
Finished with error: Gradle task assembleDebug failed with exit code 1

Running "flutter pub get" in niochi...                             35,3s
Analyzing niochi...
No issues found! (ran in 2.4s)

[√] Flutter (Channel stable, v1.7.8+hotfix.4, on Microsoft Windows [version 10.0.17134.1], locale fr-FR)
    • Flutter version 1.7.8+hotfix.4 at D:\Dev\FLUTTER\flutter
    • Framework revision 20e59316b8 (4 weeks ago), 2019-07-18 20:04:33 -0700
    • Engine revision fee001c93f
    • Dart version 2.4.0

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at D:\Dev\SDK1\SDK1
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    X Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed
      instructions.

[√] Android Studio (version 3.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 34.0.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[!] IntelliJ IDEA Ultimate Edition (version 2019.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2019.1.2
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[√] VS Code (version 1.37.0)
    • VS Code at C:\Users\Orion WAMBERT\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.3.0

[!] Connected device
    ! No devices available

! Doctor found issues in 3 categories.

Pubspec
  firebase_core: ^0.4.0+8
  firebase_auth: ^0.14.0+1
  firebase_analytics: ^5.0.0
  cloud_firestore: ^0.12.9
  firebase_in_app_messaging: ^0.0.1+3
  firebase_storage: ^3.0.5
  flutter_crashlytics: ^1.0.0
  google_sign_in: ^4.0.6

me too

me too

I am having the same issue. anyone found a solution for this yet?

I just resolved this issue by changing my internet connection, apparently it was caused by a slow internet connection.

@OrionWambert
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/345. Any further collaboration will be done there.

changge Android virtual devide  to Lower version

changge Android virtual devide  version


DEVELOPMENT HELP?

I am wondering if there are any contributors that are familiar with the code base and may want to explore working as a freelance coder on some modifications for a specific application.

there are always contributors familiar with code base.
is your task confidential or you can discuss it here ?


langchain: Fix for issue where .devcontainer doesnt build

Bug similar to https://github.com/langchain-ai/langchain/pull/15251

[x] PR message:

Description: Devcontainer does not build
Issue: #18465

lgtm! looks like there's a merge conflict that needs to be resolved

Closing as this was done in another PR: https://github.com/langchain-ai/langchain/pull/19214
Apologies as it looks like this one was first.


Deprecations for Shapely 1.8

Practical issue to track the progress of deprecations required for https://github.com/shapely/shapely-rfc/pull/1, and keep an overview of this:

[x] Mutability of geometries -> https://github.com/Toblerity/Shapely/pull/900
[x] Proxy/adapter classes -> https://github.com/Toblerity/Shapely/pull/926
[x] Iteration / getitem of multi-part geometries -> https://github.com/Toblerity/Shapely/pull/950

[x] From that PR: deprecate __len__ as well? -> #1075

[x] The array_interface and ctypes attribute -> https://github.com/Toblerity/Shapely/pull/955
[ ] Empty geometries:

The constructors can probably "just" change behaviour in 2.0?
The EmptyGeometry class (this one would also be fine to only deprecate in 2.0)

[x]  STRTree (for this the exact change still needs to be decided in the RFC) -> https://github.com/Toblerity/Shapely/pull/1064
[x] Setting custom attributes -> #1183

I've just now deprecated the almost_equals() method we talked about in #889.


MB-16082: Try to have only one server gathering db table stats

Jira ticket
Summary
This is an optimization to reduce the number of queries to the database to get stats on database table size
Verification Steps for the Author
This has been tested in the loadtest environment.

Messages

:book:
:link: MB-16082

  Generated by :no_entry_sign: dangerJS against c48c55707488539895cdb1f41a48c3df80bcbe1b


Pytorch pincompatible

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] ~Reset the build number to 0 (if the version changed)~
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Fixes #41.

This adds a runtime requirement to ensure a compatible version of pytorch is used.

:warning: Warning
I am not completely sure about the combination of pin_compatible with build strings (as needed for pytorch), so a bit of iteration may be needed.

I am happy with this now. It produces an additional pin "pytorch >=2.3.1,<<IP_ADDRESS>a0",, which should guarantee the right compatibility. You can download the artifact from the azure build and try it locally.
If you are happy with this too, @conda-forge/dgl, we should remove the artifact storage before merging.

@conda-forge-admin, please rerender

The tests are a wider conda-forge issue and hopefully will be resolved soon.
https://github.com/conda-forge/status/issues/181

This is ready for review, @conda-forge/dgl

@zklaus
https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=981847&view=logs&j=9c5ef928-2cd6-52e5-dbe6-9d173a7d951b&t=20c71c51-4b27-578b-485d-06ade2de1d00&l=468
something went quite wrong post merge to main

@mikemhenry @zklaus Whole of azure seems to be down rn: https://status.dev.azure.com/. We can kick it when its back up.


CAS1: Improve seeding in local/dev/test environments

This PR introduces the 'AutoScript' seeding which is in use in CAS2. On each boot of the Spring server, the ApprovedPremisesAutoScript utility runs, to create realistic data entities. At present it creates applications in the following states:

in progress: unsubmitted
submitted: with an Assessment but not assessed
info_required: with an associated AssessmentClarificationNote
accepted: with a PlacementRequest
applied_for_placement: with a PlacementApplication (parole) but no decision recorded

More planned!
NOTE: before running localling, clear out existing data, eg with:

TRUNCATE TABLE applications CASCADE;
TRUNCATE table assessments CASCADE;

apologies, i thought i was looking at my PR and i moved this into ready for review, i don't think i can shift it back :(

agreed with ed this has been superseded


Better debugPaintSize logic for clip renderers

Fixes https://github.com/flutter/flutter/issues/8884

What do you want me to test? :-)
I considered adding one, but I wasn't sure what to test exactly. I could vaguely check that something gets painted, but it's not clear what that gets us.

Landing on red because redness appears to be flaky.


ignore packets after aborted query

Fixes #223.

Hey @tanner0101, you just merged a pull request, have a coin!
You now have 1014 coins.


An existing connection was forcibly closed by the remote host

First off, thanks for this exporter.
I've followed through the instructions an install in the following environment:
Windows Server 2008 R2 Datacenter
Microsoft SQL SERVER 2008 R2
I've build this sql_exporter from source using go 1.9.2 windows/amd64
Am using the default example of the yml files except changing the sqlserver:// configuration to use proper login and host.
After running the sql_exporter.exe which starts up fine with the Listening to port 9399 message.
I then browse to the server:9399/metrics page.
And i recieve the following error message.
No metrics gathered, [from Gatherer #1] Login error: read tcp 172.x.x.x:51778->172.x.x.x:1433: wsarecv: An existing connection was forcibly closed by the remote host.
I've double/triple check my connection credentials separately using the Microsoft SQL Server Management Studio and login credentials work correctly.
Any thoughts on why i'm getting this error ?
Thanks

Hi, how to add encrypt= disable to dsn ?
Thanks

Hi, how to add encrypt= disable to dsn ?
Thanks

@ruoisua depends on the DB query string you are using
on the top of my head i think is along the lines of..., its been a while since i use this lol.. try
sqlserver://prom_user:prom_password@dbserver1.example.com:1433?encrypt=disable


AssertionFailingException: Incorrect number of arguments

I want to run Symbooglix to generate traces that show the interaction between two given methods. In the following example, procedure a simply checks the given condition c and returns an output o. The variable v within the abstracted heap is set to 2 if condition c holds; otherwise the abstracted heap remains unchanged. When executing procedure b, the variable v is checked for its value, which results in different calls to procedure a:
// ######################################
// #        HEAP & LOCAL VARIABLES      #
// ######################################

type Ref;
type Int;

type IntHeap = [Ref, Int] int;
var intHeap : IntHeap;

var this : Ref;

var v : Int;

// ######################################
// #              METHODS               #
// ######################################

procedure a(c : bool) returns (o : int)
 modifies intHeap;
{
 if (c == true) {
  intHeap[this,v] := 2;
  o := 0;
 } else {
  o := 100;
 }
 return;
}

procedure b() returns (o : int)
 modifies intHeap;
{
 if (intHeap[this,v] == 2) {
  call o := a(false);
 } else {
  call o := a(true);
 }
 return;
}

When I run the example using Symbooglix with procedure b as an entry point, I receive the following exception though:
Symbooglix.AssertionFailingException: Incorrect number of arguments :
  at Symbooglix.ExceptionThrowingTextWritierTraceListener.Fail (System.String message, System.String detailMessage) <0x45bf940 + 0x00083> in <filename unknown>:0
  at System.Diagnostics.TraceListener.Fail (System.String message) <0x45df878 + 0x00022> in <filename unknown>:0
  at Symbooglix.ExceptionThrowingTextWritierTraceListener.Fail (System.String message) <0x45bf8f0 + 0x00017> in <filename unknown>:0
  at System.Diagnostics.TraceInternal.Fail (System.String message) <0x45df2e8 + 0x00144> in <filename unknown>:0
  at System.Diagnostics.TraceInternal.Assert (Boolean condition, System.String message) <0x2e28490 + 0x0001b> in <filename unknown>:0
  at System.Diagnostics.Debug.Assert (Boolean condition, System.String message) <0x2e28460 + 0x0001b> in <filename unknown>:0
  at Symbooglix.SMTLIBQueryPrinter.PrintBinaryOperator (System.String name, Microsoft.Boogie.NAryExpr e) <0x45dde78 + 0x0003f> in <filename unknown>:0
  at Symbooglix.SMTLIBQueryPrinter.VisitMapSelect (Microsoft.Boogie.NAryExpr e) <0x45df2c0 + 0x0001f> in <filename unknown>:0
  at Symbooglix.Traverser.HandleNAry (Microsoft.Boogie.NAryExpr e) <0x45dd6a8 + 0x0050f> in <filename unknown>:0
  at Symbooglix.Traverser.Visit (Microsoft.Boogie.Expr e) <0x45dd1a8 + 0x00073> in <filename unknown>:0
  at Symbooglix.SMTLIBQueryPrinter+SMTLIBTraverser.Traverse (Microsoft.Boogie.Expr root) <0x45dd180 + 0x00017> in <filename unknown>:0
  at Symbooglix.SMTLIBQueryPrinter.PrintExpr (Microsoft.Boogie.Expr root) <0x45dce20 + 0x000cd> in <filename unknown>:0
  at Symbooglix.SMTLIBQueryPrinter.PrintBinaryOperator (System.String name, Microsoft.Boogie.NAryExpr e) <0x45dde78 + 0x000e7> in <filename unknown>:0
  at Symbooglix.SMTLIBQueryPrinter.VisitEq (Microsoft.Boogie.NAryExpr e) <0x45dde48 + 0x0001f> in <filename unknown>:0
  at Symbooglix.Traverser.HandleNAry (Microsoft.Boogie.NAryExpr e) <0x45dd6a8 + 0x00328> in <filename unknown>:0
  at Symbooglix.Traverser.Visit (Microsoft.Boogie.Expr e) <0x45dd1a8 + 0x00073> in <filename unknown>:0
  at Symbooglix.SMTLIBQueryPrinter+SMTLIBTraverser.Traverse (Microsoft.Boogie.Expr root) <0x45dd180 + 0x00017> in <filename unknown>:0
  at Symbooglix.SMTLIBQueryPrinter.PrintExpr (Microsoft.Boogie.Expr root) <0x45dce20 + 0x000cd> in <filename unknown>:0
  at Symbooglix.SMTLIBQueryPrinter.PrintAssert (Microsoft.Boogie.Expr e) <0x45dcb68 + 0x00077> in <filename unknown>:0
  at Symbooglix.Solver.SimpleSMTLIBSolver.ComputeSatisfiability (Symbooglix.Solver.Query query) <0x45da340 + 0x00323> in <filename unknown>:0
  at Symbooglix.Solver.ConstraintIndependenceSolver.ComputeSatisfiability (Symbooglix.Solver.Query query) <0x45d86f0 + 0x00403> in <filename unknown>:0
  at Symbooglix.Solver.SimpleSolver.InternalComputeSatisfiability (Symbooglix.Solver.Query query) <0x45d7fa8 + 0x000e9> in <filename unknown>:0
  at Symbooglix.Solver.SimpleSolver.CheckSatisfiability (Symbooglix.Solver.Query query) <0x45d7f38 + 0x00027> in <filename unknown>:0
  at Symbooglix.Executor.LookAheadGotoFork (Microsoft.Boogie.GotoCmd c) <0x45be820 + 0x00570> in <filename unknown>:0
  at Symbooglix.Executor.Handle (Microsoft.Boogie.GotoCmd c) <0x45be728 + 0x0005b> in <filename unknown>:0
  at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,Symbooglix.Executor,object)
  at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2[T0,T1] (System.Runtime.CompilerServices.CallSite site, System.Dynamic.T0 arg0, System.Dynamic.T1 arg1) <0x431bfb0 + 0x00425> in <filename unknown>:0
  at Symbooglix.Executor.ExecuteInstruction () <0x430e6f8 + 0x001b4> in <filename unknown>:0
  at Symbooglix.Executor.InternalRun (Microsoft.Boogie.Implementation entryPoint, Int32 timeout) <0x2e2e218 + 0x004eb> in <filename unknown>:0
  at Symbooglix.Executor.Run (Microsoft.Boogie.Implementation entryPoint, Int32 timeout) <0x2e2de40 + 0x000c3> in <filename unknown>:0

Does Symbooglix allow to identify the trace that procedure a has to be called before procedure b in order to satisfy the conditional statement within procedure b and am I doing it right?

@sekunze The problem you are observing here is that unfortunately the solver backend doesn't know how to handle multi arity maps.
i.e.
type IntHeap = [Ref, Int] int;

The solver backend does know how to handle nested single arity maps.
type IntHeap = [Ref][Int] int;

however.
This is an unfortunate limitation which I never hit before because the benchmarks I used only single arity maps (sometimes nested). Fixing this would be a matter teaching the SMTLIBQueryPrinter to encode multi arity maps like it encodes nested maps. Unfortunately Symbooglix's solver backend is a bit of a mess so this might not be very easy.
As for your question on traces Symbooglix doesn't current record execution traces. This could and should be implemented though as this is a very basic and useful feature. At what granularity do you need a trace? When sketched out the idea I imagined the trace should be a trie of basic block labels so try and keep memory usage as low as possible. Alternatively the trace could be a sequence of branch decisions.

I am mostly interested in how methods interact with each other, i.e., what call sequences uncover a certain behaviour. Therefore, a tree structure would be most qualified.


Enable the use of custom filesystems

Currently serve-index uses the default node.js' fs library to querry their files. But it would be usefull if a custom fileSystem could be set instead.
This would enable this SO issue to be resolved for instance (either by a custom plugin, or actually implemented into the webpack-dev-server).

Would love to know if you can figure this out.
I tried several options to get this working but no luck so far.
I figured out that it is the initial (full) require sequence which makes it write to the disk. So I currently mock it as follows:
const serveIndex = proxyRequire('serve-index',
{
  fs:
    {
      stat: function()
      {
        return devServer.middleware.context.fs.stat(...arguments);
      },
      readdir: function()
      {
        return devServer.middleware.context.fs.readdir(...arguments);
      },
      readFile: function()
      {
        return fs.readFile(...arguments); // don't override this, otherwise it cannot find the .html/.css files
      },
      readFileSync: function()
      {
        return fs.readFileSync(...arguments); // don't override this, otherwise it cannot find the .html/.css files
      }
    },
}

It doesn't really throw errors, but apparently the stats call on the MemoryFileSystem returns undefined, which throws errors further down the road (when mtime is queried).

I got it working by simply mocking the 2 values this project is using (stats.mtime and stats.size). It does a half null check, but unfortunately not on the values presense itself (It is something that might brake on very rare occasions, appart from this specific usecase). As far as I could find it is also not documented that those values have to be present as the example shown on the Node.js File System Documentation. The birthtime property is not supported on all filesystems for example.
So to be fully compatible with all the file-systems you might want to adjust the null checks. Simply change the index.js file at line 297 to (should be fully backwards compatible):
// https://github.com/expressjs/serve-index/blob/d2922cd872f8038d4d4c60d936954c35200cfbad/index.js#L297
    var date = file.stat && file.stat.mtime && file.name !== '..'
      ? file.stat.mtime.toLocaleDateString() + ' ' + file.stat.mtime.toLocaleTimeString()
      : '';
    var size = file.stat && file.stat.size && !isDir
      ? file.stat.size
      : '';

I could get the full 'mock' working with the following snippet

const serveIndex = proxyquire('serve-index',
{
  fs:
    {
      stat: function()
      {
        return devServer.middleware.context.fs.stat(path, function(err, stat)
          {
            if (stat)
            {
              // mock properties used by 'serve-index'
              stat.mtime = new Date();
              stat.size = 0;
              cb(err, stat)
            }
            else cb(err, null);
          });
      },
      readdir: function()
      {
        return devServer.middleware.context.fs.readdir(...arguments);
      }
    },
});

So for your test, the full webpack.config.js file becomes:
const path = require('path');
const isAbsoluteUrl = require('is-absolute-url')
const proxyquire = require('proxyquire');

module.exports = {
	mode: 'development',
	entry: './test.js',
	output:
	{
		path: path.resolve(__dirname, 'dist'),
		filename: 'foo.bundle.js',
	},
	devServer:
	{
		host: 'localhost',
		port: 3000,
		open: true,
		writeToDisk: false, // defaults to false
		serveIndex: false, // is needed because the contentBase routes are otherwise already resolved by an empty index (and the replacement will never be called
		onListening: function(devServer)
		{
			const serveIndex = proxyquire('serve-index',
			{
				fs:
				{
					stat: function()
					{
						return devServer.middleware.context.fs.stat(path, function(err, stat)
						{
							if (stat)
							{
								// mock properties used by 'serve-index'
								stat.mtime = new Date();
								stat.size = 0;
								cb(err, stat)
							}
							else cb(err, null);
						});
					},
					readdir: function()
					{
						return devServer.middleware.context.fs.readdir(...arguments);
					}
				},
			});

			// copied and modified from the function `setupServeIndexFeature()` from the `Server.js` file in the `webpack-dev-server` project
			const contentBase = devServer.options.contentBase;
			const contentBasePublicPath = devServer.options.contentBasePublicPath;
			const fs = devServer.middleware.context.fs;

			if (Array.isArray(contentBase))
			{
				contentBase.forEach((item) =>
				{
					devServer.app.use(contentBasePublicPath, (req, res, next) =>
					{
						// serve-index doesn't fallthrough non-get/head request to next middleware
						if (req.method !== 'GET' && req.method !== 'HEAD')
							return next();
						serveIndex(fs, item, { icons: true })(req, res, next); // assuming you can pass the FileSystem object into this function
					});
				});
			}
			else if (typeof contentBase !== 'number' && !isAbsoluteUrl(String(contentBase)))
			{
				devServer.app.use(contentBasePublicPath, (req, res, next) =>
				{
					// serve-index doesn't fallthrough non-get/head request to next middleware
					if (req.method !== 'GET' && req.method !== 'HEAD')
						return next();
					serveIndex(fs, contentBase, { icons: true })(req, res, next); // assuming you can pass the FileSystem object into this function
				});
			}
		}
	},
};

Hopefully this is enough for you to start thinking/working on a future improvement 😄.
For me this solves it temporarily, I might make this into a plugin, in which case I will revisit this (hopefully).
Thanks for your time, the fast replies and hinting towards the proxyquire library (had never heard from it before this).

As far as I could find it is also not documented that those values have to be present as the example shown on the Node.js File System Documentation. The birthtime property is not supported on all filesystems for example.

Are you sure? It would be expected all those are these unless the docs say otherwise. I looked though the Node.js source code and it does not seem possible those values could be missing. Can you point to the source code in Node.js where it could be possible? Are you sure you are not just thinking if values between different Node.js versions?

It seems Node.js even has a test that validates all the properties are there for all platforms: https://github.com/nodejs/node/blob/e46c680bf2b211bbd52cf959ca17ee98c7f657f5/test/parallel/test-fs-stat.js#L85

The birthtime property is not supported on all filesystems for example.

The documentation states that Libuv emulates the birthtime by setting it to the change time when it's unsupported.

So to be fully compatible with all the file-systems you might want to adjust the null checks.

I took a look and it seems that the goal of memjs is to provide an exact replica of the Node.js API. It would seem that this is a bug in memjs that we probably found. I cannot find anywhere in Node.js where these can be null. If you can provide an example, we can certainly patch it. As far as I can tell, this is simply a bug in the memjs emulation of the Node.js fs API.

Looking though memfs I cannot see how stat could be missing or missing any of the properties. I even did a simple stand-alone test:
$ node -pe 'fs=require("memfs");fs.writeFileSync("/foo","bar");fs.statSync("/foo")'
Stats {
  uid: 0,
  gid: 0,
  rdev: 0,
  blksize: 4096,
  ino: 2,
  size: 3,
  blocks: 1,
  atime: 2021-08-30T07:32:51.466Z,
  mtime: 2021-08-30T07:32:51.467Z,
  ctime: 2021-08-30T07:32:51.466Z,
  birthtime: 2021-08-30T07:32:51.466Z,
  atimeMs:<PHONE_NUMBER>466,
  mtimeMs:<PHONE_NUMBER>467,
  ctimeMs:<PHONE_NUMBER>466,
  birthtimeMs:<PHONE_NUMBER>466,
  dev: 0,
  mode: 33206,
  nlink: 1
}

Well I didn't care to dig through source codes (and trusted the documentation). Apparently I was too quick to judge here 😄.
Keep in mind though that it is using the old memory-fs instead of the newer (propably patched) memfs library. This old dependency is something I cannot change, as it is used by the webpack-dev-server internally. (they also use an ancient webpack-dev-middleware version).
So in that case, this would be a patch of an ancient bug?

And it does seem to be missing something... 🤔
https://github.com/webpack/memory-fs/blob/3daa18e010ac10b05a3ecaa6342406722a609109/lib/MemoryFileSystem.js#L72

Hm, IDK. But the idea here is that one would pass in a reference to replace the fs. So if what you are trying to provide is not the same as how Node.js fs works, that goes back to my very first question: we need to lay out what the entire API is that you think the argument to this module should be. If the idea is that it is "a replace for fs", then it would be expected to work just like Node.js  fs and thus would be a bug outside this module. If the idea is that there is a different API that you want to pass in to this module, we need to get the full API listed out here so we can understand what this module is supposed to expect for the results under various conditions.

Keep in mind though that it is using the old memory-fs instead of the newer (propably patched) memfs library. This old dependency is something I cannot change, as it is used by the webpack-dev-server internally. (they also use an ancient webpack-dev-middleware version).

I'm not sure I'm following. webpack-dev-server depends on webpack-dev-server@5 (https://github.com/webpack/webpack-dev-server/blob/c846a4573cf77418b09abaf5db30b1d23aaa0297/package.json#L58) which in turn uses memfs (https://github.com/webpack/webpack-dev-middleware/blob/8810db8453b9b72a865e431a00e023753f6aa9fb/package.json#L45).

Well that is a new one. 4.0.0 is just recently out of beta. So I just did a clean install which allowed it to update to the latest version. Lets see what happens now (need to cleanup the breaking changes first)

Oke, new results. With the webpack-dev-server 4.0.0 it is working without mocking file.stats properties.
webpack.config.js file:
const path = require('path');
const proxyquire = require('proxyquire');

module.exports = {
	mode: 'development',
	entry: './test.js',
	output:
	{
		path: path.resolve(__dirname, 'dist'),
		filename: 'foo.bundle.js',
	},
	devServer:
	{
		host: 'localhost',
		port: 3000,
		open: true,
		devMiddleware:
		{
			index: false, // is needed because the contentBase routes are otherwise already resolved by an empty index (and the replacement will never be called)
		},
		onListening: function(devServer)
		{
			const serveIndex = proxyquire('serve-index',
			{
				fs:
				{
					stat: function()
					{
						return devServer.middleware.context.outputFileSystem.stat(...arguments);
					},
					readdir: function()
					{
						return devServer.middleware.context.outputFileSystem.readdir(...arguments);
					},
				},
			});

			// copied and modified from the function `setupStaticServeIndexFeature()` from the `Server.js` file in the `webpack-dev-server` project
			devServer.app.use(path.resolve(__dirname, 'dist'), (req, res, next) =>
			{
				// serve-index doesn't fallthrough non-get/head request to next middleware
				if (req.method !== "GET" && req.method !== "HEAD")
					return next();
				serveIndex(path.resolve(__dirname, 'dist'), { icons: true })(req, res, next);
			});
		}
	},
};

They made however a big change in that the index is actually used for 'static' sources only, so this would be a 'new feature' rather than a 'bug' or something (amongst those lines). So I guese supporting a custom fs argument will suffice after all?


about cldice loss

Thank you very much for your article. What I want to ask is whether cldice is used as a module? If I have multiple tasks, how should I combine multiple loss functions for training?

Hi, I will answer this very similar to your previous issue:
As described in detail in our paper you can combine clDice with many other loss functions, e.g. BCE, MAE or Dice. We usually use simple linear weighting for this. This is also implemented in the soft_dice_cldice class in our code. For details and experiments how the alpha parameter influences the training please see our paper (and supplementary material). If you are referring to a Mutli-class segmentation problem, I have to say that unfortunately clDice cannot handle multi-class segmentation at this point.

Thank you for your reply. What I want to ask is whether cldice is also applicable to other segmentation tasks? For example, building extraction. In addition, can cldice be used for multi-task neural networks?

Indeed clDice can be used for any binary segmentation task. The weighting with other loss functions is a problem specific parameter though. Unfortunately we have not worked with clDice for multi-task learning.

When I call this class, I always get the following error.

I am confused, how should the clide class call it? My calling method is as shown below

My task is a binary classification task

My task is a binary classification task，My calling cldice is as shown below

but, Some errors occurred，as shown in this figure, How should I solve this error？


get comment method for projects and studios

this adds a method to get a specific comment under a project/studio from its id as a dict

Fixes #201. (for github to autolink the issue)

Fixes #201


excel data export UTF-8 encoding error

Version

v2.14.2
Development Environment

Chrome, OSX
Current Behavior

excel data export UTF-8 encoding error
Expected Behavior

fixed at v2.16.0


 *

[X] I have searched the existing open and closed issues.

Regression?

How to reproduce
Check up
Crash reports, logs, images, videos
F

Say no to drugs


update how retries get triggered for openai

Small change to make retries get triggered only for things that should be retried

@Disiok the only overlap is rate limit (which is probably a good thing, since openai's rate limit retries are not great)


Kia: update required packages

LKAS is standard:

Ceed 2019

Forte 2019-21

Optima 2019

SCC is Standard:

Niro Plug-in Hybrid 2018-19

LKAS is NOT standard:

Seltos 2021 (reverts previous change)

Rename Niro Electric to Niro EV to match Kia branding
The ACC package was called "Advanced Smart Cruise Control" before MY2019. This applies to:

Optima 2017
Sorento 2018

Delete Forte 2018 as it does not have a Smart Cruise Control package, not clear whether it is supported or not

Checklist:

[x] Ceed
[x] EV6
[x] Forte
[x] K5
[x] Niro
[x] Niro EV
[x] Niro Plug-in Hybrid
[x] Optima
[x] Seltos
[x] Sorento
[x] Stinger
[x] Telluride

Resume from stop etc. will be reviewed separately.

I'm not sure I've checked the Optima Hybrid yet


Fix CI

Circle is broken, we should look at going back to Travis.

@gfontenot I've used bitrise before and it works very well.

It's pretty much all broken... Have you had a better experience with travis?

Nope. Everything is horrible.

@DarthMike Bitrise looks interesting, but as with most iOS specific solutions, does much more than we actually want. We just want a CI server that can run tests on PRs.

This is such a pain. Who wants to build a custom CI service? Anyone?? Anyone??

We could probably re-evaluate Circle now that it seems to be doing better and they have Carthage pre-installed and what not.

Circle is broken

What specifically is broken?

could have been any number of things. My bet is it was Xcode version issues. Should probably be fine now though.

Closing this for now.


Crowdsec agent fails to start waiting for lapi

Subj.
Deployed as described here: https://crowdsec.net/blog/kubernetes-crowdsec-integration/
Agent sitting in "waiting" state, waiting for "wait-for-lapi" container to end, despite lapi container started.
(btw, blog really messed up with yaml indentation)

Oh, it seems like i found the issue.
nc: bad address 'crowdsec-service.crowdsec'

It seems like "crowdsec" namespace is hardcoded?

Hi, thanks for the report!
Indeed, the namespace was hardcoded, and it can be left out of the URL - http://crowdsec-service:8080


Versioned ClientLibs css include rewrite rule doesn't recognise link rel attributes, which value differs from "stylesheet"

Hi, i faced with the next issue in  "Versioned ClientLibs" module.
Our UI team asked for rendering css client lib include snippet next way:
<link rel="preload" href="/path/to/client/lib" type="text/css" .... >
So, we implemented this, but Versioned ClientLib module stopped to process such css includes.
The reason is, that VersionedClientlibsTransformerFactory.isCss( ... ) method check if "rel" attribute equals to "stylesheet".
In modern web apps, css resources could be referenced with not only rel="stylesheet" parameter, but also "preload", "prefetch" and others.
This reproduces at 1.8.0. and 1.10.6. Current master is also affected, i assume.

@andrewpakhomov this seems fine to me. I assume you are creating your own direct links to clientlibs?

@davidjgonzalez, yes i directly render client libraries include markup for some pages

@andrew:can you please elaborate how preload was added to the clientlibs?(when you say directly render client libraries?)


Get Kraan Controller working in cluster

This PR is an attempt to determine why the Kraan controller is working when run out of cluster from command line but not in a pod.

Raised issue in controller-runtime repo https://github.com/kubernetes-sigs/controller-runtime/issues/1193

@sbernheim fixed it, please merge
@richardcase @saada Thanks for your help, fixed now, I was setting the Namespace option

Turns out the issue was nothing to do with RBAC but the fact that early on I had copied code from the Flux team code without fully understanding it. The Namespace option was not set when running out of cluster so it defaulted to cluster scope. When I ran it in cluster I set the Namespace controller option to the namespace the pod was running in, meaning it only looked for Watched and Owned objects in that namespace rather than all namespaces.


I can't eat apples when someone hitting me! E.X >> https://www.youtube.com/watch?v=GjmxsJt3-Q8

Example Link
https://www.youtube.com/watch?v=GjmxsJt3-Q8


cannot serialize a bytes object larger than 4 GiB in Popen

Bug Description

When  the data loader hold large dataset(>4G) in memory, it  will happen.
Maybe we can do in current process instead of subprocess?  here in search.py
Reproducing Steps
Steps to reproduce the behavior:
You can use the similiar code to reproduce,  where the loader hold >4G  data in memmory
 cnn = CnnModule(classification_loss,   Accuracy, {}, config_dict['model_outdir'], True)
 train_loader = get_train_loader()
 test_loader = get_val_loader()
 cnn.fit(17,(128,32,32,18), train_loader, test_loader, 12*60*60)

Hi @lhwcv . Thank you so much for the report. We're trying to figure out a good solution for this issue. If you have any thought please let us know!


:LualineNotices warns for depreciation of nvim_lsp in favour of nvim_diagnostic

Hello,
I am using lvim and I must say I love all the default configs so congratulations for this great work.
I get a depreciation message  while launching lvim:
lualine: There are some issues with your config. Run :LualineNotices for details
The command :LualineNotices then outputs:
diagnostics.source
Diagnostics source nvim_lsp has been deprecated in favour of nvim_diagnostic.
nvim_diagnostic shows diagnostics from neovim's diagnostics api while nvim_lsp used to only show lsp diagnostics.
You've something like this your config.

lua
  {'diagnostics', sources = {'nvim_lsp'}}

It needs to be updated to:
lua
  {'diagnostics', sources = {'nvim_diagnostic'}}

I tried to fix the message by spotting the places wtih nvim_lsp and replacing it with nvim_diagnostic, but that did not work:
[me@linux] .config/nvim/ $ grep -rnw . -e nvim_lsp
./lua/modules/global/configs/completion/init.lua:67:                        nvim_lsp = "[LSP]",
./lua/modules/global/configs/completion/init.lua:77:                    name = "nvim_lsp"
./lua/modules/global/configs/ui/init.lua:547:            "nvim_lsp"

being a noob in Lua, I have not managed to investigate the problem further.
thanks again for your very sleek config 👏

It also breaks a fresh installation
 ✗ Failed to install michaelb/sniprun
   Using lsp_document_diagnostics for Trouble is deprecated. Please use document_diagnostics instead.

Fixed in latest commit - v1.3.0


What to do about static linking in Linux

Static linking is useful for non-cgo projects.
However, that doesn't really seem to be the case for CGO (at least when using glibc).
On one hand statically linking glibc (Linux):
a. may cause  problems when distributing the binaries due to its LGPL license
b. isn't fully possible due to NSS.  Note that when linking statically we get warnings like:
usr/bin/ld: ./lib/preflight/target/x86_64-unknown-linux-gnu/release/libpreflight.a(std-05737cf45bd30456.std.428b0c25-cgu.0.rcgu.o): in function `std::sys::unix::os::home_dir::fallback':
/rustc/897e37553bba8b42751c67658967889d11ecd120/library/std/src/sys/unix/os.rs:629: warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: ./lib/preflight/target/x86_64-unknown-linux-gnu/release/libpreflight.a(std-05737cf45bd30456.std.428b0c25-cgu.0.rcgu.o): in function `<std::sys_common::net::LookupHost as core::convert::TryFrom<(&str,u16)>>::try_from':
/rustc/897e37553bba8b42751c67658967889d11ecd120/library/std/src/sys_common/net.rs:205: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

See https://github.com/2opremio/rust-plus-golang/actions/runs/3424937249/jobs/5705206558 for the full output and https://stackoverflow.com/questions/2725255/create-statically-linked-binary-that-uses-getaddrinfo for more details on the problem.
If we really want to statically link the binaries for linux, we should probably use musl instead of glibc:

For compiling Rust we can use the aarch64-unknown-linux-musl and x86_64-unknown-linux-musl
For compiling CGO we can use CC=musl-gcc or CC=aarch64-linux-musl-gcc (using https://musl.cc/aarch64-linux-musl-cross.tgz )

musl Rust compiler targets (which allow linking truly statically) don't seem to allow unwinding Rust panics (See https://github.com/stellar/go/actions/runs/3484488730/jobs/5829099175 , in which you can see the Rust call causing an ABORT signal)


New icon is thinner than the rest of the icons

It also appears to be an svg not an icon font which makes it look more out of place (do all extensions have this problem?)

do all extensions have this problem?
Yes, because every extension icon they provide is an svg.

There's nothing an extension can do here


⚠ Mobitopup has degraded performance

In 866226d, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 5051 ms

Resolved: Mobitopup performance has improved in 75573a2 after 26 minutes.


Backdate test dependencies to 1.0 standard versions

@pranavkm
Compare to https://github.com/aspnet/KestrelHttpServer/blob/rel/1.0.1/test/Microsoft.AspNetCore.Server.Kestrel.FunctionalTests/project.json

:shipit:


Add cssValue condition.

Close #628 issue.
Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.
If it fixes a bug or resolves a feature request, be sure to link to that issue.
Checklist

[x] Checkstyle and unit tests pass locally with my changes by running gradle check chrome htmlunit command
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)

Could you please extend your integration test for one computed css property example?
means element doesn't have explicit "style" attribute, but the css property is set due to class/css rules etc.

@vinogradoff done.


Travis CI nightly build badge does not update

Travis CI nightly badge update logic fails with error 'ResourceNotFound'. This happens for successful or unsuccessful build.
Example of failure: https://s3.amazonaws.com/archive.travis-ci.org/jobs/261697180/log.txt?X-Amz-Expires=30&X-Amz-Date=20170807T175825Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJRYRXRSVGNKPKO5A/20170807/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=19a7d15449f4a8b6007330a4b4023dc013e837f129d0b1b3fdd65015d47cd44e

this particular problem is fixed with: https://github.com/PowerShell/PowerShell/pull/4522


Add script to create csv for stormglass/sofar comparison

This PR closes https://github.com/aqualinkorg/aqualink-app/issues/759
It adds a script yarn stormglass-csv that gets all sofar and stormglass wind/wave data and put them into a csv for comparison.
Note that point_deviation_in_degrees and point_deviation_in_meters refers to distance between the exact point and sofar nearest point. Also resolutions about stormglass can be found here.

@echaidemenos please resolve the conflicts. We will merge this PR so that it can be useful in the future


Display GeoJson properties without using useState

Hi. I have a custom Control element in my react-leaflet map that looks like this:
<Control prepend position="topright">
  {hoveredShape && (
    <div className="...">
      {hoveredShape}
    </div>
  )}
</Control>;

I use it to display the name of the geojson shape I'm hovering (a city, a region, a state).
I set  hoveredShape inside the mouseover event listener:
layer.on({
  mouseover: (e: any) => {
    let layer = e.target;
    layer.setStyle({
      weight: 2,
      color: "#666",
      dashArray: "",
      fillOpacity: 0.7,
    });

    layer.bringToFront();

    if (feature.properties.hasOwnProperty("name")) {
      setHoveredShape(feature.properties.name);
    } else if (feature.properties.hasOwnProperty("prov_name")) {
      setHoveredShape(feature.properties.prov_name);
    } else {
      setHoveredShape(feature.properties.reg_name);
    }
  },

 ...

Unfortunately this way makes the component re-render every time I hover on a diffrent shape. Is there a way I can access the shape's properties in my Control element without using React's state?
Thanks.

news on this? any workaround?


Context Menu 'Open in Integrated terminal' not honouring default profile of git bash and instead opens in powershell

Issue Type: Bug
windows 10 run vscode insiders build
Set default terminal profile to Git Bash
Use Explorer and right click on a folder and select 'Open in Integrated Terminal'
I would expect the default profile to run but it always opens in powershell even though using the + button in terminal opens git bash.

It is very annoying for me.

Only workaround i found  (after hours of thread reading and trying to edit settings.json with no success in getting it to stick) was downgrading to 1.59 where it functions perfectly, i didn't even know auto upgrades were a thing for vscode, all i know is i was working on a project just fine then later in the afternoon reopened vscode and this extremely annoying thing was happening. I am scared to death of auto updates and to update vscode period because it does this on the "stable build" directly from the site. I have since now disabled auto updates.

/duplicate #132150


How to expose graphql oasgraph in Docker image?

I am creating an application in loopback 4, using graphql.
The problem I have is that I can not expose graphql oasgraph in Docker image
I have two options:
1 - Create a new dockerfile to expose graphql.
2 - Use the same loopback dockerfile to expose port 3000 (Explorer API at http://<IP_ADDRESS>:3000/explorer), and 3001 for graphql (http://<IP_ADDRESS>:3001/graphql).
How can I configure my dockerfile, in order to expose the graphql server?
https://loopback.io/doc/en/lb4/exposing-graphql-apis.html
This is my dockerfile
FIRST OPTION
# Check out https://hub.docker.com/_/node to select a new base image
FROM hasura/graphql-engine

# Create app directory (with user `node`)
RUN mkdir -p /home/node/app

WORKDIR /home/node/app

RUN npm i -g openapi-to-graphql-cli

RUN npx oasgraph http://localhost:3000/openapi.json/

# Bind to all network interfaces so that it can be mapped to the host OS
ENV HOST=<IP_ADDRESS> PORT=3001

EXPOSE ${PORT}

CMD [ "npx", "oasgraph", "http://localhost:3000/openapi.json/" ]

SECOND OPTION:
# Check out https://hub.docker.com/_/node to select a new base image
##FROM node:10-slim
## node con oracle instant client
FROM collinestes/docker-node-oracle

# Set to a non-root built-in user `node`
USER node

# Create app directory (with user `node`)
RUN mkdir -p /home/node/app

WORKDIR /home/node/app

# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
COPY --chown=node package*.json ./

RUN npm install
# Install openapi-to-graphql-cli
RUN npm i openapi-to-graphql-cli

# Bundle app source code
COPY --chown=node . .

RUN npm run build

# RUN oasgraph
RUN npx oasgraph http://localhost:3000/openapi.json/

# Bind to all network interfaces so that it can be mapped to the host OS
ENV HOST=<IP_ADDRESS> PORT=3000

EXPOSE ${PORT}

CMD [ "node", "." ]

@fga8 It seems that the LoopBack tutorial you link to is outdated. Specifically, every use of oasgraph should be replaced by openapi-to-graphql. To fix that, an issue with LoopBack should be filed.
Apart from that, looking at your Docker files, I notice a few things:
In the first option, I don't see how you start the LoopBack app, but then you are trying to run OpenAPI-to-GraphQL, pointing it to the OpenAPI exposed by the app.
In the second option, it is unclear to me where the application source code comes into play? It looks like you are copying a package.json into an empty repository, and only install dependencies, but not copy the application code itself.

@ErikWittern I filed a pull request on LoopBack regarding the outdated names/commands.

@ErikWittern Thank you very much for responding, and I updated my code to openapi-to-graphql.
Is there an example of a dockerfile with openapi-to-graphql?
My loopback dockerfile works correctly. I still have to create my dockerfile of openapi-to-graphql

Unfortunately, we currently do not have any example Dockerfiles. With the changes that Erik suggested, were you able to make any improvements?

Cross posting from: https://github.com/strongloop/loopback-next/issues/3346#issuecomment-515555994
@fga8, I might have a working Dockerfile for you:
# Check out https://hub.docker.com/_/node to select a new base image
FROM node:10-slim

# Set to a non-root built-in user `node`
USER node

# Create app directory (with user `node`)
RUN mkdir -p /home/node/app

WORKDIR /home/node/app

# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
COPY --chown=node package*.json ./

RUN npm install
RUN npm install openapi-to-graphql-cli

# Bundle app source code
COPY --chown=node . .

RUN npm run build

# Bind to all network interfaces so that it can be mapped to the host OS
ENV HOST=<IP_ADDRESS> PORT=3000 PORT2=3001 .  <--- Change this line to add PORT2 here

EXPOSE ${PORT}
EXPOSE ${PORT2} <----- Add this line

CMD (npm start &) ; (sleep 5) ; (npx openapi-to-graphql http://<IP_ADDRESS>:3000/openapi.json -p 3001) <--- Change this line

I've indicated 3 places that you need to make changes if you're using the Dockerfile generated by the LoopBack cli.  Please note that I'm not a docker expert, so what I have above is something that works, you might be able to find a better solution.
For the sake of posterity, let me mention a few challenges:

oasgraph has been deprecated and the new module is openapi-to-graphql
In order to make sure openapi-to-graphql is not using the same port as LB, I've used -p option to specify the port number. (Thanks @ErikWittern)
I find the sleep in the CMD is needed, otherwise openapi-to-graphql will get started before the openapi is ready from LB.

Hope it helps!


registry,fleetctl: fix bugs regarding shadowed error variables

registry: make CreateUnit() explicitly return error

: When marshal() returns a non-nil error 'err', which shadows the pre-defined 'err', we should explicitly return the second error returned from marshal(). Otherwise it will always return nil. To fix other potential errors, let's just return err explicitly. This was discovered by running "go tool vet":
$ go tool vet --shadow ./registry
registry/job.go:316: declaration of "err" shadows declaration at registry/job.go:315

fleetctl: fix wrong error value from matchLocalFileAndUnit()

: In matchLocalFileAndUnit(), if os.Stat() returns nil and getUnitFromFile() returns non-nil error, then in the end matchLocalFileAndUnit() will return (false, nil). That's not the expected result. It should have returned the second error that came from getUnitFromFile(). To avoid further potential bugs, let's follow the idiomatic coding style: first check "err != nil", and fail-fast. This issue was discovered by running go tools vet.

lgtm thanks @dongsupark , don't know why or if golang is supposed to warn about a local variable that shadows another local variable.

@tixxdz Merged. Thanks for the review!


docs: Document docker-zulip postgres upgrade requirement.

Since this is a hard requirement for upgrading the Docker image, it's worth highlighting here.

Marked to merge once CI passes, thanks for the review.


Use a checked cast() in accessor cast operator.

Currently the following code pattern performs an unchecked cast:
nb::object o = ...;
nb::list l = o.attr("a");

The type of the attribute is not checked, which leads to surprising errors when the type of the attribute is something else, e.g., a tuple.
It seems like a footgun to have implicit unchecked casts; casts should either be implicit or unchecked but not both.

This restriction of this change to accessors seems somewhat arbitrary. Based on the logic underlying this change
nb::object o = ...;
nb::any_other_wrapper_type o2 = o;

should also perform a check. While I would not want to pay the cost of such extra checks, I am open to doing so in debug builds.
So in summary: I would be open to a PR (assuming it doesn't add an unreasonable amount of code) that checks for wrapper cast errors in a more general sense.

Hmmm. This is definitely something I don't want to do accidentally, and currently it's very easy to do by mistake.
If the cost of doing these checks is too high, would you be open to marking the operator as explicit, at least for subclasses of object if not object itself? This would be a breaking change to client code.

What's wrong with adding such instrumentation in debug builds?

Nothing. But I'm wondering if I can do better and get more type safety in optimized builds, also.
If you require an explicit cast, then the user can either static_cast<T> if they don't want checking, or nanobind::cast<T>, if they do.

I took another look at this commit and will close it for now. As a strategy for checking implicit casts, it is not general enough since it only applies to accessors (e.g. dictionary lookups), which seems confusing if people rely on the library to provide safety guarantees. The other point is that, I'd really prefer if users can opt out of these checks, which come at a cost.


[QUOTA] Add a metric to signal high system resource usage for bandwidth quotas.

Codecov Report
Patch coverage has no change and project coverage change: -52.54 :warning:

Comparison is base (9360ec9) 66.98% compared to head (04456c3) 14.44%.

Additional details and impacted files
@@              Coverage Diff              @@
##             master    #2415       +/-   ##
=============================================
- Coverage     66.98%   14.44%   -52.54%
+ Complexity     9654     2347     -7307
=============================================
  Files           773      773
  Lines         60468    60471        +3
  Branches       7409     7409
=============================================
- Hits          40502     8733    -31769
- Misses        17464    51232    +33768
+ Partials       2502      506     -1996

Impacted Files
Coverage Δ

...main/java/com/github/ambry/quota/QuotaMetrics.java
0.00% <0.00%> (-97.92%)
:arrow_down:

...ambry/quota/capacityunit/AmbryCUQuotaEnforcer.java
0.00% <0.00%> (-90.00%)
:arrow_down:

... and 643 files with indirect coverage changes
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 in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


pkg/lsp: run in separate process group for graceful shutdown

Solves the issue where process is terminated. Seems like LSP process is in the same process group as main and on SIGKILL it is terminated "concurrently" with main. However we run manual gracefully shutdown, which results in errors.
2024-10-12T01:07:21.809+02:00 DBG pkg/devcontainer/image_manager.go:142 > Local image exists image=mcr.microsoft.com/devcontainers/go:1.22
2024-10-12T01:07:22.544+02:00 DBG pkg/lsp/service.go:101 > Initialized language server languageId=Go projectId=nGS39iNnPr
2024-10-12T01:07:22.544+02:00 DBG pkg/lsp/service.go:105 > LSP server supports open/close file: true languageId=Go projectId=nGS39iNnPr
2024-10-12T01:07:22.544+02:00 DBG pkg/lsp/service.go:106 > LSP server supports change notifications: 2 languageId=Go projectId=nGS39iNnPr
2024-10-12T01:07:22.544+02:00 DBG pkg/project/manager.go:168 > Created project nGS39iNnPr for repo https://github.com/hide-org/hide.git
2024-10-12T01:07:22.544+02:00 DBG pkg/lsp/service.go:338 > Start listening projectId=nGS39iNnPr
2024-10-12T01:07:55.65+02:00 DBG pkg/project/manager.go:197 > Deleting project nGS39iNnPr
2024-10-12T01:08:05.861+02:00 DBG pkg/lsp/service.go:348 > Done listening projectId=nGS39iNnPr
2024-10-12T01:08:05.887+02:00 DBG pkg/project/manager.go:220 > Deleted project nGS39iNnPr
^C2024-10-12T01:08:08.96+02:00 INF cmd/run.go:139 > Server shutting down ...
2024-10-12T01:08:08.96+02:00 INF pkg/project/manager.go:266 > Cleaning up projects
2024-10-12T01:08:08.96+02:00 INF pkg/project/manager.go:300 > Cleaned up projects
👋 Goodbye!

Pre bash 2024-10-12T01:16:04.847+02:00 INF pkg/project/manager.go:266 > Cleaning up projects 2024-10-12T01:16:04.847+02:00 DBG pkg/project/manager.go:197 > Deleting project e5zwnRgIgY 2024-10-12T01:16:04.848+02:00 DBG pkg/project/manager.go:197 > Deleting project q7t59Eix60 2024-10-12T01:16:15.042+02:00 ERR pkg/lsp/client.go:99 > Failed to shutdown LSP server error="jsonrpc2: connection is closed" 2024-10-12T01:16:15.042+02:00 ERR pkg/project/manager.go:211 > Failed to stop LSP server(s) error="jsonrpc2: connection is closed" projectId=q7t59Eix60 2024-10-12T01:16:15.049+02:00 ERR pkg/lsp/client.go:99 > Failed to shutdown LSP server error="jsonrpc2: connection is closed" 2024-10-12T01:16:15.049+02:00 ERR pkg/project/manager.go:211 > Failed to stop LSP server(s) error="jsonrpc2: connection is closed" projectId=e5zwnRgIgY 2024-10-12T01:16:15.049+02:00 WRN cmd/run.go:141 > Failed to cleanup projects error="Errors occurred during cleanup: [Failed to stop LSP server(s): jsonrpc2: connection is closed Failed to stop LSP server(s): jsonrpc2: connection is closed]"

On one hand nice that it happens on the other hand would be good to be able to follow the same codepath without magic.


VistA bug at ESET+2^XWBTCPM

There is a bug in VistA that I have been trying to get fixed for years. It's a one line fix (commenting out ESET+2^XWBTCPM), but no one seems to care enough to fix it.
Since the YottaDB/GT.M code base has both $ZTRAP and $ETRAP, the interaction between the two is that if you assign a value to one, it sets the other to the empty string (""). The entryref ESET^XWBTCPMclearly intends to set $ETRAP to "D ^%ZTER H", which ESET+1^GTMLNX does. But then in ESET+2^XWBTCPM, the code sets $ZTRAP in an attempt to clear it (and presumably avoid confusion between $ZTRAP and $ETRAP). The bug is that the side-effect of clearing $ZTRAP clears $ETRAP, which means that there is no error trap!
I believe the scenario in which this bug manifests itself is when CPRS GUI users close the CPRS GUI by X'ing the window, which closes one end of the TCP connection. When the server process attempts to write to its end of the TCP connection, it gets an error, and ultimately terminates the process, so there is no real harm done (other than the fact that errors are not logged, and hence likely to be missed). But it also floods the syslog with NOPRINCIO error messages, hundreds to thousands of them, making troubleshooting harder.
 $ZTRAP=""
After ESETFIXED: $ETRAP="D ^%ZTER H" $ZTRAP=""
After ESET: $ETRAP="" $ZTRAP=""
bhaskar@zomok:~$

I spent a couple of hours looking at this, and here is what I found:

You are right that there is a bug there. And it does have a
manifestation, which is...
If you have an active error trap, (that is, if we follow your
advice and comment out $ZT), initial connections that start via xinetd
and then disconnect will leave behind an error in the error trap.
On the M system the VA uses, resetting $ZT does NOT reset $ET. So
what we get with #2 is what the VA sees.
The error trap is set correctly after the initial handshake by
replacing the empty error trap (no new of $ET). Only in M2M $ET is
newed.
I couldn't get the error message no matter what I tested of NOPRINCIO.

Due to the fact that an error is logged in the error trap, and many
people have this deployed in production, and many people will probably
have random things pinging the port on the system (like a monitoring
service), it is a VERY STRONG possibility that if I make the change
here and somebody deploys it, it may bring their system down by
filling up the disk with the error. And I honestly don't want to hear
"Sam crashed my system"...


Crash - Prover Failed

Observed a prover failure on a proposer node on 0.0.3-beta testnet.
{"timestamp":"2019-08-15 07:48:56.302881Z","level":"Error","source":{"module":"Prover","location":"File \"lib/prover/prover.ml\", line 267, characters 68-75"},"message":"Prover failed: $error","metadata":{"error":"((rpc_error (Connection_closed (\"EOF or connection closed\")))\n (connection_description\n  (\"Client connected via TCP\"\n   (medium-rare_us-west-1_proposer_0.us-west-1 39287)))\n (rpc_tag rpc_parallel_plain_3) (rpc_version 0))","input-bin-io":"\u0001\u0001\u0001`u\u000b\u001

... pages of binary dump ...

right before this
{"timestamp":"2019-08-15 07:48:07.386236Z","level":"Debug","source":{"module":"Coda","location":"File \"app/cli/src/coda.ml\", line 490, characters 63-70"},"message":"Long async cycle: $span milliseconds","metadata":{"pid":10199,"span":"7.240429432s"}}
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

test-coda-CRASH-mkdtemp.tar.gz

Tracking in #2978


emplace: 0.3.7 -> 0.3.8

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/tversteeg/emplace/releases.
meta.description for emplace is: "Mirror installed software on multiple machines"
meta.homepage for emplace is: "https://github.com/tversteeg/emplace"
meta.changelog for emplace is: ""
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.3.8 with grep in /nix/store/qm5595mksf2j6a8739amdljdxrz0x5d7-emplace-0.3.8

directory tree listing: https://gist.github.com/d2822f89dcd6c36c45326b6d81585638

du listing: https://gist.github.com/07111e037ed0b60521c7eb168b3596fe

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
emplace

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/qm5595mksf2j6a8739amdljdxrz0x5d7-emplace-0.3.8 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A emplace https://github.com/r-ryantm/nixpkgs/archive/e589cc0afcfaf24ee5a25203c4847cfaee3ab385.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/qm5595mksf2j6a8739amdljdxrz0x5d7-emplace-0.3.8
ls -la /nix/store/qm5595mksf2j6a8739amdljdxrz0x5d7-emplace-0.3.8/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package built:

emplace

Maintainer pings
cc @filalex77 for testing.

Result of nixpkgs-review pr 102050 run on x86_64-darwin 1

1 package built:

emplace


Divide by zero due to low light

Linux distribution: Ubuntu 20.04
Howdy version: 2.6.0
Attempting face detection
All frames were too dark, please check dark_threshold in config
Traceback (most recent call last):
  File "/lib/security/howdy/compare.py", line 179, in <module>
    print("Average darkness: " + str(dark_running_total / valid_frames) + ", Threshold: " + str(dark_threshold))
ZeroDivisionError: division by zero
Unknown error: 1

Clearly a bug, thanks for reporting!


Add seedrandom to support seeded random number generation for the visual tests

Many visual tests rely upon fc.dataGenerator, which uses Math.random() to generate the data values. This is great for producing varied data, but sometimes, when debugging for example, it it is useful to use the same dataset.
This pull request adds seedrandom as a development dependency, which allows Math.random() to be seeded and fc.dataGenerator to produce consistent values. This can be included in the visual tests by running grunt build:visual-tests-debug.
Does this seem like a good idea? Is this a reasonable approach?

Definitely a worthwhile addition. Although I wonder whether it is worth adding another test target just for this? I'd be happy for the visual tests to always run with the seeded random number.
@chrisprice any thoughts?

Maybe we could always include seedrandom in the page but seed it with the query string from the URL if it exists?

Thanks for the feedback :)

Although I wonder whether it is worth adding another test target just for this?

Agreed, I didn't really like adding the extra target - I've removed this.

Maybe we could always include seedrandom in the page but seed it with the query string from the URL if it exists?

Nice idea, I've updated to include this.

LGTM, thanks!


Accidentally checking in .only

Problem:
While using ember-mocha sometimes I accidentally check in it.only(), and then our whole testing suite stops working >_>
One Potential Solution:
I couldn't find a jscs/eslint plugin that helps avoid this, so I made a dinky little bash script to test for it in the meantime lol. I'd love to convert it to a linter plugin, but I haven't learned that skill quite yet~
https://gist.github.com/caseywatts/221b353990abfec293aa7e54a397d508

Just as I shared this, someone pointed me in the right direction! :D 🎉
https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/docs/rules/no-exclusive-tests.md


How to change button font size

As the title said, i tried to change the font size via SetProp for both the layout and the button, but it only width and height of button has change but not the text. There is also no font-size property on the var ButtonProps = ki.Props{ props here } in the file buttons.go (line 661). What is there proper way to change font size, or any button text font style? Im sorry if it seems elementary for you.
i'm sorry if this issue already existed and sorry for my bad english 😅

SetProp(“font-size”, “24pt”) on the button object should work - you can just google css font size and that is the same property name - uses all those same standards.

I'm sorry, i tried that one but it's still not working. Maybe it must be some other props that caused it not to be big. Anyway it's okay now i came up with a different workaround for my problem. I'll close this issue for now.

I was able to reproduce this issue and have just pushed a fix -- font-size was somehow missing from inherited font properties!  now it should work.  thanks for reporting this bug!

I see, haha, no wonder, i was troubleshooting so hard and yet couldn't find out the problem, hahaha, thanks buddy, goki is an awesome project! All the best @rcoreilly !


Summary
This PR fixes Asakusa framework organizer to fix asakusafw/asakusafw#736.
Background, Problem or Goal of the patch
see asakusafw/asakusafw#736.
Design of the fix, or a new feature
N/A.
Related Issue, Pull Request or Code

asakusafw/asakusafw#736

BUILD SUCCESS. <jenkins-prb-asakusafw-sdk-124>


chore: bump typstyle to v0.12.2

This is a massive update. See https://enter-tainer.github.io/typstyle/changelog/#v0122---2024-11-23 . Many thanks for @QuadnucYard !

I notice that we are including some massive update. I think we could add an extra plain-text subdescription in changelog to highlight them. For example,
## 0.12.6 (Unreleased)

- Bumped typstyle to v0.12.2 by @Enter-tainer in https://github.com/Myriad-Dreamin/tinymist/pull/764
  - Something is improved. See https://enter-tainer.github.io/typstyle/changelog/#v0122---2024-11-23 for more details.

We could bump with adding or editing the unreleased section in changelog in a same PR, since I'll be likely to ignore them when making changelog because I'm not developing typstyle.


Reading From Screen?

I understand that you can clear the screen or line using terminal.clear() with the supplied enum value. However, is there any way to read what is currently on the screen?  I was looking into input but I believe this is for capturing live input. This may or may not be a dumb question.
It looks like much of the functionality of crossterm (Unix and Windows 10 at least) is produced via ANSI escape codes. I.e. many of the features I see in crossterm are a 1-to-1 translation of a CSI code. https://en.wikipedia.org/wiki/ANSI_escape_code#CSI_sequences
I personally don't have any idea how this works past my preliminary reading and source code review, so maybe reading is a lot more difficult than writing and clearing.

What do you want to read from the screen?
Like if it is the user input, you can capture it. The other things on the screen is something you put there your self with your application.


Pin jupyter-book to 0.10.2.

0.11 is a breaking change that changes the format of _toc.yml see https://github.com/executablebooks/jupyter-book/blob/master/CHANGELOG.md#v0111.

This is the reason for the failure on master (see https://github.com/INRIA/scikit-learn-mooc/runs/2764651719):
===============================================================================

The Table of Contents file is malformed: toc is not a mapping: <class 'list'>
You may need to migrate from the old format, using:

	jupyter-book toc migrate /home/runner/work/scikit-learn-mooc/scikit-learn-mooc/jupyter-book/_toc.yml -o /home/runner/work/scikit-learn-mooc/scikit-learn-mooc/jupyter-book/_toc.yml

===============================================================================


fix: load config on macOS

On macOS, os.UserConfigDir returns $HOME/Library/Application Support and not ~/.config. This patch uses a module that works across OSes.
Fixes #3

If you have problems on macOS, please apply the code only on macOS. This change will break Windows.

Good catch. I've moved the macOS-specific change to only target macOS, and made the original code not target macOS.
Let me know if you prefer a different implementation approach. I don't love how this splits the Config stuff into multiple files but I wasn't sure of a better way to do it.

thank you


ModuleNotFoundError: No module named 'colossal_layer_norm_cuda'

Dear developers,
I am trying to run the bert example but I got this error, any hint to fix it?
Thanks

Hi, this is because you CUDA extension is not built. Can you make sure your PyTorch uses the same cuda version as your cuda runtime. One way is to add the -v flag to your pip install command. If cuda extension is not built, the log will tell you the info about the version mismatch.

Hi, this is because you CUDA extension is not built. Can you make sure your PyTorch uses the same cuda version as your cuda runtime. One way is to add the -v flag to your pip install command. If cuda extension is not built, the log will tell you the info about the version mismatch.

Hi, could you be more specific? I tried few times reinstalling all the stuff, but I failed every time. The pip -v install shown everything was fine.
Thanks

Hi @200987299  We have updated and simplified the installation process, and the example code has been updated. You can try to reinstall, thanks.


Retrieving test cases through the Zuul API

Making it possible to retrieve all tests from a zuul build's api.
Moving 'ZuulSession' to be under module 'http', this is done in order to avoid a cyclic dependency that is present otherwise.
Moving ownership of session from 'ZuulBuildRESTClient' to 'ZuulHTTPBuildAPI' for the same reason as the change above.
The 'TestSuite' class now has no dependency of the rest client, but does on a http one, as it needs a session to download the xml file.

Please do not merge this change before its parent is. Breaking the order of PRs only leads to conflicts that can be avoided.

FYI: It's worth looking at the www.dpulls.com. We are using this in other projects with success when it comes to dependent PRs and ensuring one won't be merge in improper order.

Awesome, that is exactly what I was missing from GitHub. I will give it a look. Thanks.

I've merged the other PR. Take a look to the conflicts of module importing and then let's merge it. Thanks!


[Bug]: Select and ComboBox components display incorrect height of 42px instead of expected 40px

Contact Details
No response
What happened?
Select and ComboBox components display incorrect height of 42px instead of expected 40px
Component
Select and Combobox
Component Version
latest
Which browsers are you seeing the problem on?
No response
Mobile Device
No response
Relevant log output
No response

Completed


Add support to Postgres 13 in Mendix 7.23.20

Starting with Mendix 7.23.20 we will support Postgres 13.

Please note that this should only be merged once 7.23.20 is out and if DAT-2271 is completed before then.

Just as an update: Story is complete. Once 7.23.20 is released, this PR can be merged!


Pandoc problem

Hi Mate,
I am from Sydney. The problem I am having with Pandoc is it keeps saying that the file is not exported?
I've got the paths correct and its enabled.
Any help would be appreciated.
Shane

Sorry more info needed.
The maintainers seem very behind on processing issues.
I suggest you'll have more luck asking an individual question like this on stack overflow.
Please close this issue if you do that or no longer need an answer here.
Thx


[Aqara] Smart plug updated

I separated the code according to the device's firmware version.
Different clusters are reported for version 32 and other versions.

v32: ElectricalMeasurement, SimpleMetering
Others; such as v41: AnalogInput

create a sub-driver of this driver that checks the APPLICATION_VERSION field as its can_handle function
See this driver (and its sub-driver) for an example: https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/tree/main/drivers/SmartThings/zigbee-window-treatment/src/axis

Are you saying to make the current lua file into two sub-drivers separated by version?

I updated:

configured the minimal interval of the CurrentSummationDelivered attribute of the SimpleMetering cluster to reported every 15 minutes. This will be emitted event same interval in the powerConsumptionReport capability as well as energyMeter capability.
improved code readability by deleting not reused functions.