Document basket api

Documentation needed for basket and checkout API.

Endpoints (get_basket, add_to_basket, remove_from_basket, get_item_count, total_items)
What data is returned (and what request data is accepted)
Document that the basket is tied to a session

There is now a general basket view which should be documented here also.
Important points are:

User should provide template
{% for item in basket %} to get each item in the template. Document the available properties.
the view URL.


Add functionalities to load/edit aggregation data using relevant python data processing objects

Here is the list of aggregations and the corresponding data processing objects:

Timeseries should be loaded as a pandas DataFrame object
Raster should be loaded as rasterio DatasetReader object
GeoFeature should be loaded as fiona Collection object
NetCDF should be loaded as xarray Dataset object

When the underlying data is modified using the data processing object, the user should be able to save the modified data as a new aggregation or update the data of the current aggregation. It's expected that the user is familiar with the above listed data processing python modules and can use these modules to create/update data for the relevant aggregation types.

For timeseries aggregation, data for a given series is loaded into pandas DataFrame. This data is loaded from a single table - TimeSeriesResultValues only. That means the user will be able to edit data for this only one table. Not sure if this is adequate for editing timeseries aggregation data.

Editing aggregation data for raster, netcdf and geo-feature using the modules specified above may not be adequate. User may have to depend on additional packages to meet their editing requirements for these aggregation types. Primarily the module we use here to load the data for any of these aggregation types, would allow the user to read the aggregation data which then can be used to create new data files for that aggregation. These new updated data files can then be used to update an aggregation or saved as a new aggregation using hsclient.


Add new annotation

[x] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?

Adds new service Annotation ni/service.programminglanguage

Why should this Pull Request be merged?
AB#2625729
What testing has been done?
Run Tests and examples

@gpachecoNI Please add Ariane as a reviewer.


UnhandledPromiseRejectionWarning

Started getting the warning below on publish today. Went back and tried executing a previously successful release, same error. Executing against "Hosted" agent. Looks like the node version has incremented from 1.1.72 to 1.1.75 since this was successful.
2018-08-14T18:09:05.9311356Z ##[warning]Removing Unicode BOM from manifest file: C:\Users\BUILDG~1\AppData\Local\Temp\vsixeditor118714-3700-x6w330.gshismunmi\Tasks\ITSMIntegration\task.json.
2018-08-14T18:09:05.9320566Z (node:3700) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'split' of undefined
The task is marked as successful, but nothing is deployed and I do not get the " Published VSIX" line at the end of the log.

Awhile bunch of things have changed. Can you tell me which properties you
have overwritten or give me a debug log (system.debug=true) of the task?
On Tue, 14 Aug 2018, 21:21 jdholbrook81<EMAIL_ADDRESS>wrote:

Started getting the warning below on publish today. Went back and tried
executing a previously successful release, same error. Executing against
"Hosted" agent. Looks like the node version has incremented from 1.1.72 to
1.1.75 since this was successful.
2018-08-14T18:09:05.9311356Z ##[warning]Removing Unicode BOM from manifest
file:
C:\Users\BUILDG~1\AppData\Local\Temp\vsixeditor118714-3700-x6w330.gshismunmi\Tasks\ITSMIntegration\task.json.
2018-08-14T18:09:05.9320566Z (node:3700) UnhandledPromiseRejectionWarning:
Unhandled promise rejection (rejection id: 2): TypeError: Cannot read
property 'split' of undefined
The task is marked as successful, but nothing is deployed and I do not get
the " Published VSIX" line at the end of the log.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vsts-extension-build-release-tasks/issues/82,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD-uS4RNodeTdXA4ym7dkQf0J-qUnUL5ks5uQyNLgaJpZM4V9B3X
.

tasklog_4.log
attached

Thanks, that did the trick.

Will close after fixing the actual error. Thanks for confirming. Fixing a bug in these tasks can be hard when publishing them is broken ;).


Start of week should be configurable to Monday

Dear Zachary
Thanks for this beautiful control.
It would be great for using this in Europe, if there were a way to configure the start of the week to be Monday instead of Sunday.
Kind Regards
Graham

Hi Graham,
Sorry, I haven't thought about that. Currently, the calendar always start with Sunday.
But definitely, we need to support this, I will figure it out and add the feature soon.

Excellent, works great, thank you


ANC - Progress Report - Add CHW Activity section

@Diama1
Please udate where we stand with this.

@Diama1 Please udate where we stand with this.

@anvmn Still working on it. Trying to finish it tomorrow


Create Array_sum

A basic java program to showcase the use of functions and array.

Please read the CONTRIBUTING.md file and follow instructions there.
https://github.com/aniketsharma00411/algorithmsUse/blob/master/CONTRIBUTING.md

I have upated both readme.md files.

Shouldn't the file name have .java extension?


CLI : --help and --version doesn't print

./thorium --help or --version doesn't print to screen

Sorry about the i18next messages, I corrected it: https://github.com/readium/readium-desktop/issues/610

@panaC is this fixed now?

yes fix #649

Fixed via https://github.com/readium/readium-desktop/pull/649


Errors when integrating with API GW

Description
This Terraform project contains terraform-aws-modules/lambda/aws modules and resources of a Private Rest API Gateway.
After applying using Terraform Cloud, the API-GW endpoints return:
{
  "message": "Internal server error"
}

This happens only when I change the code in the source_path of the module.
And it affects only the current deployment of the apigw stage. When running the lambda from the test console of API Gateway it works, so does testing the lambda from the lambda console.
Creating a new deployment fixes it.
When looking at the previous lambda version the Resource-based policy statements looks ok.

[ x] ✋ I have searched the open/closed issues and my issue is not listed.

⚠ Note
Before you submit an issue, please perform the following first:

Remove the local .terraform directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): rm -rf .terraform/
Re-initialize the project root to pull down modules: terraform init
Re-attempt your terraform plan or apply and check if the issue still persists

Versions

Module version [Required]:
4.7.2
Terraform version:
1.3.7
Provider version(s):
Terraform v1.3.4
on windows_386

provider registry.terraform.io/hashicorp/aws v4.30.0
provider registry.terraform.io/hashicorp/external v2.2.3
provider registry.terraform.io/hashicorp/local v2.3.0
provider registry.terraform.io/hashicorp/null v3.2.1

Your version of Terraform is out of date! The latest version
is 1.3.7. You can update by downloading from https://www.terraform.io/downloads.html
Reproduction Code [Required]

Steps to reproduce the behavior:

locals {
  source_arn = "arn:aws:execute-api:<region>:<accountid>:<restapiid>/*/*/*"
}

locals {
  allowed_triggers = {
    APIGatewayAny = {
      service    = "apigateway"
      source_arn = local.source_arn
    }
  }
}

module "lambda_function_GetApigwResources" {
  source = "terraform-aws-modules/lambda/aws"

  function_name            = "GetApigwResources"
  handler                  = "app.handler"
  runtime                  = "python3.9"
  timeout                  = 10
  store_on_s3              = true
  s3_bucket                = <bucketname>
  s3_prefix                = "lambda-builds/"
  attach_policy_statements = true
  policy_statements        = {
    apigateway = {
      effect    = "Allow",
      actions   = ["apigateway:Get*"],
      resources = ["*"]
    }
  }
  role_path   = "/tf-managed/"
  policy_path = "/tf-managed/"
  source_path = "../src/lambda_code/describe_apigw_resources/app.py"
  tags        = {
    "map-migrated" = var.map-migrated
  }
  #  create_current_version_allowed_triggers = true
  publish          = true
  allowed_triggers = local.allowed_triggers
}

Expected behavior
API GW returns a valid response.
Actual behavior
API GW return s
{
  "message": "Internal server error"
}

Terminal Output Screenshot(s)
Additional context

The error is not related to the module itself. Please check logs in CloudWatch or in the Lambda console.


Rate is not working for XiaoxiaoMultilingualNeural

Describe the bug
The rate in prosody is not changing the real speaking rate for XiaoxiaoMultilingualNeural voice. It's not working in voice gallery web ui either.
This is the SSML I'm using. It's still very slow.
<speak xmlns="http://www.w3.org/2001/10/synthesis" xmlns:mstts="http://www.w3.org/2001/mstts" xmlns:emo="http://www.w3.org/2009/10/emotionml" version="1.0" xml:lang="zh-CN"><voice name="zh-CN-XiaoxiaoMultilingualNeural"><lang xml:lang="zh-CN"><s /></lang><mstts:express-as style="Default"><prosody rate="+200.00%">今天是我在新公司的第一天，入职后很快投入了新的工作环境并开始熟悉各项事务</prosody></mstts:express-as><s /></voice></speak>

Hi @jackfengji thanks for your feedback!
I tried the SSML you provided, it works and speaks very fast compared with the default rate, would you mind checking that again, I have attached audio FYI
with rate.zip

@LinZhang-Support I found it's not working for eastasia region, I tried and us region and it's working.
Here're the exporeted files from voicegallery from eastasia and us region.
eastasia.zip
us.zip

@LinZhang-Support
Also when I'm trying to use a absolute number for rate, it's not working at all. But it's working for other voices.
<!--ID=B7267351-473F-409D-9765-754A8EBCDE05;Version=1|{"VoiceNameToIdMapItems":[{"Id":"390baec9-d867-4c01-bdcf-04e5848ee7dc","Name":"Microsoft Server Speech Text to Speech Voice (zh-CN, XiaoxiaoMultilingualNeural)","ShortName":"zh-CN-XiaoxiaoMultilingualNeural","Locale":"zh-CN","VoiceType":"StandardVoice"}]}--> <speak xmlns="http://www.w3.org/2001/10/synthesis" xmlns:mstts="http://www.w3.org/2001/mstts" xmlns:emo="http://www.w3.org/2009/10/emotionml" version="1.0" xml:lang="zh-CN"><voice name="zh-CN-XiaoxiaoMultilingualNeural"><lang xml:lang="zh-CN"><s /></lang><mstts:express-as style="Default"><prosody rate="2">今天是我在新公司的第一天，入职后很快投入了新的工作环境并开始熟悉各项事务</prosody></mstts:express-as><s /></voice></speak>

Hi @jackfengji this is a bit strange, I cannot reproduce both SSML in eastasia, the rate works fine my side, would you please try again
1.
<mstts:express-as style="Default">今天是我在新公司的第一天，入职后很快投入了新的工作环境并开始熟悉各项事务</mstts:express-as>

 今天是我在新公司的第一天，入职后很快投入了新的工作环境并开始熟悉各项事务


ExponentialMovingAverage doesn't work with KerasVariable

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
binary
TensorFlow version
2.17.0
Custom code
No
OS platform and distribution
Windows 10
Mobile device
No response
Python version
3.11.4
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
Description
tf.train.ExponentialMovingAverage apply() method takes list of variables. It expects list of tf.Variable and doesn't work with list of KerasVariable because of dtypes
tf.keras.layers.Dense trainable_variables property returns list of KerasVariable, KerasVariable dtype is str
tf.Variable dtype is tf.Dtype
Expected behavior
I suppose tf.keras layer or model should return list of KerasVariable, so tf.train.ExponentialMovingAverage.apply() should support list of KerasVariables as argument
Standalone code to reproduce the issue
import tensorflow as tf

layer = tf.keras.layers.Dense(2)
ema = tf.train.ExponentialMovingAverage(decay=0.999)

x = tf.ones((3, 3))
y = layer(x)

# apply() works with tf.Variable, but doesn't work with KerasVariable
# because of dtype (tf.float32 (tf.Dtype) vs 'float32' (str) respectively)
ema.apply(layer.trainable_variables)

Relevant log output
Traceback (most recent call last):
  File "C:\TestProj\test.py", line 11, in <module>
    ema.apply(layer.trainable_variables)
  File "C:\TestProj\venv\Lib\site-packages\tensorflow\python\training\moving_averages.py", line 542, in apply
    if var.dtype.base_dtype not in [
       ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'base_dtype'

@Grizzzlyy,
Tensorflow 2.17 contains Keras3.0 which might be the reason for the error. Could you please try to install tf-keras i.e., keras2.0 which the code was executed without any issues/error. Kindly find the gist of it here.
!pip install tf-keras
import tf_keras as keras

Thank you!

@tilakrayal
Yep, that works. Thank you

@Grizzzlyy,
Glad the issue got resolved. Could you please feel free to move this issue to closed status? Thank you!


Password protected zip archives not extracting on Android

Fixed "Password protected zips on Android #7".
What was tested:
Extracting zip Amazon Fire OS 5/7/8 with and without password
Extracting zip AVD 29,30,31,32 with and without password
Extracting zip Android 9, 11 with and without password
IOS 15.6 extracting password protected zip

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


What if you used vue and material css to make the site look really coooooool?!

Currently, I want to have as few dependencies as possible.
In the future @LGgameLAB, you should use the feature request template if you have a feature request.


EASEUS Partition Master 18.0 Crack + License Code [2024]

EASEUS Partition Master 18.0 Crack + License Code [2024]
EASEUS Partition Master Crack is a professional hard disk partition management tool and system partition optimization software. It is an all-in-one PC and server disk management toolkit for IT professionals, system administrators, technicians, and consultants to provide technical services to customers with unlimited use
Download Now

It is an all-in-one PC and server disk management toolkit for IT professionals, system administrators, technicians, and consultants to provide technical services to customers with unlimited use.


Display the history log for a board

It would be nice to display the history of a board. The history could be placed in an hidden panel that you can toggle if needed, just like the "Kansha" and "Board" menus.

This features is available through "Action log" entry in the "Board" tab, it appears in a popin though.

My bad... I didn't see it


Implement Bulk Data Exchange Protocol

Problem
Bulk Data Exchange Protocol has been agreed in SCTT, which defines messages and protocol for the reliable block transfer of arbitrary data. Current plan is to implement BDX as a CHIP protocol along side Interaction Model protocol and Secure Channel Protocol.
Proposed Solution
Implement Bulk Data Exchange Protocol in CHIP stack.
@woody-apple @pan-apple @andy31415 @robszewczyk

Duplicate of: https://github.com/project-chip/connectedhomeip/issues/1816


Add getters for time

Adds bindings for the following options.

CURLINFO_TOTAL_TIME
CURLINFO_NAMELOOKUP_TIME
CURLINFO_CONNECT_TIME
CURLINFO_APPCONNECT_TIME
CURLINFO_PRETRANSFER_TIME
CURLINFO_STARTTRANSFER_TIME
CURLINFO_REDIRECT_TIME

Is there a better way than transmute in getopt_double?

I agree on Duration being more rustic, implemented in newest commit.

I added a as u64 cast on the pointer which at least makes it compile. I haven't tested whether the returned value is sensible on 32bit though!

The failing test on AppVeyor should be unrelated. Do you want me to squash the two commits?

Nah looks good to me, thanks!

I'm working on a project using tokio_curl and this library. Could you update the crates.io versions of these libraries so I can remove my local forks?

Certainly!


Screen and Splash Generator not working

Describe the bug
npx ignite generate splash-screen "#1b1648"
and
npx ignite generate screen Languages
gives below error
(node:7051) [DEP0040] DeprecationWarning: The punycodemodule is deprecated. Please use a userland alternative instead. (Usenode --trace-deprecation ...` to show where the warning was created)
clean-webpack-plugin: /Users/narayan/Dev/customer-cross-platform/_ignite is outside of the project root. Skipping...
node:events:493
throw er; // Unhandled 'error' event
^
Error: ENOENT: no such file or directory, scandir '/Users/narayan/Dev/customer-cross-platform/docs'
at Object.readdirSync (node:fs:1516:26)
at exports.readdir (/Users/narayan/.npm/_npx/0e11d984049d509d/node_modules/@mrmlnc/readdir-enhanced/lib/sync/fs.js:18:20)
at Object.safeCall [as safe] (/Users/narayan/.npm/_npx/0e11d984049d509d/node_modules/@mrmlnc/readdir-enhanced/lib/call.js:24:8)
at DirectoryReader.readNextDirectory (/Users/narayan/.npm/_npx/0e11d984049d509d/node_modules/@mrmlnc/readdir-enhanced/lib/directory-reader.js:78:10)
at DirectoryReader.stream._read (/Users/narayan/.npm/_npx/0e11d984049d509d/node_modules/@mrmlnc/readdir-enhanced/lib/directory-reader.js:57:18)
at Readable.read (node:internal/streams/readable:715:12)
at readdirSync (/Users/narayan/.npm/_npx/0e11d984049d509d/node_modules/@mrmlnc/readdir-enhanced/lib/sync/index.js:27:21)
at Function.readdirSyncStat (/Users/narayan/.npm/_npx/0e11d984049d509d/node_modules/@mrmlnc/readdir-enhanced/lib/index.js:34:10)
at ReaderSync.dynamicApi (/Users/narayan/.npm/_npx/0e11d984049d509d/node_modules/fast-glob/out/providers/reader-sync.js:64:24)
at ReaderSync.api (/Users/narayan/.npm/_npx/0e11d984049d509d/node_modules/fast-glob/out/providers/reader-sync.js:56:25)
Emitted 'error' event on Readable instance at:
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/Users/narayan/Dev/customer-cross-platform/docs'
}`
Ignite version
9.3.0
Additional info
System
platform           darwin
arch               arm64
cpu                8 cores                   Apple M2
directory          customer-cross-platform   /Users/narayan/Dev/customer-cross-platform
JavaScript (and globally-installed packages)
node               21.1.0       /usr/local/bin/node
npm                10.2.1       /usr/local/bin/npm
corepack         0.22.0
json-server      0.17.4
npm              10.2.1
yarn             1.22.19
yarn               1.22.19      /usr/local/bin/yarn
pnpm               -            not installed
bun                -            not installed
expo               49.0.21      managed
Ignite
ignite-cli         9.3.0        /Users/narayan/.npm/_npx/e31027f3785124a8/node_modules/.bin/ignite
ignite src         build        /Users/narayan/.npm/_npx/e31027f3785124a8/node_modules/ignite-cli/build
Android
java               -            not installed
android home       -            undefined
/Users/narayan/.npm/_npx/e31027f3785124a8/node_modules/gluegun/build/index.js:15
throw up;
^
Error: Command failed: xcodebuild -version
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:515:28)
at maybeClose (node:internal/child_process:1105:16)
at Socket.<anonymous> (node:internal/child_process:457:11)
at Socket.emit (node:events:515:28)
at Pipe.<anonymous> (node:net:337:12) {

code: 1,
killed: false,
signal: null,
cmd: 'xcodebuild -version',
stdout: '',
stderr: "xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance\n"
}
Node.js v21.1.0

I've been having the same problem with the generators

I found this error on my cousins machine yesterday it was resolved by explicitly using ignite-cli command instead of just ignite

Dax is correct here, the project although titled "Ignite" is not ignite on npm but ignite-cli


Save jobf when decompiling to Java through the cli

As I suggested in #1274, the commit will output a jobf file when decompiling to Java.
I'm not sure if it should be on by default because there doesn't seem to be a way to disable it except of passing /dev/null as the deobfuscation name but I guess this is the same problem with the deobfuscation feature. What do you think?

if it should be on by default because

I think this is ok, except it will also save an empty file, so it is better to skip file write for empty list at https://github.com/skylot/jadx/blob/dfdc14ea8618a7242d04bd6ea066d3e6b60a10b9/jadx-core/src/main/java/jadx/core/deobf/DeobfPresets.java#L137

Sure, I added a check and a debug log line

@yotamN thanks!

This change causes jobf file to be saved when JADX is used in GUI mode and deobfuscation is not enabled. Was this intended?

@CmP-lt jadx can rename identifiers even if deobfuscation is disabled, check Rename identifiers group in preferences.
It is possible to add another option to disable saving jobf file, but I don't think it is really bother anyone and I want to keep options count as little as possible, so just ignore that file if you don't need it :)

@skylot
I actually came here looking for a way of disabling .jobf file output next to the apk file, as I see no value in it, while it causes me issues. I use jadx GUI to analyze apks in different versions of the same folder hierarchy.  It's been contaminating all folders I open apks from with these files over the past weeks, which in turn causes the folders to show up as different in a folder comparison while they originally weren't.
While I could delete .jobf files recursively, I'd rather not have to do that every time to make sure it doesn't falsify my comparison results.
I would appreciate if .jobf file creation were optional, or at least moved to an entirely different location than the .apk file I open.
It may make sense to store them in the jadx config folder by default and use a hash of the .apk file as their filename, so they can be quickly and reliably found no matter where the .apk file is moved.

@Samulia-Sanchez and @CmP-lt
Ok, I will add a new option to save jobf file, it will be disabled by default.
I open new issue #1351 for additional suggestions and discussion.

@yotamN, @Samulia-Sanchez and @CmP-lt
I implement an option to control how to handle deobfuscation map file, and now it is set to disable jobf file saving by default.
Details can be found in https://github.com/skylot/jadx/issues/1351#issuecomment-1046085306


Add option to disable TS using inline import types in quick fixes

TypeScript Version:  3.8.0-dev.20191112

Search Terms:

Implement interface
quick fix
code action
add missing imports

Code
For a small project:
iface.ts
export interface IValue {
    value: number;
}

export interface IFace {
    do(value: IValue): void;
}

index.ts
import { IFace } from "./iface";

export class Foo implements IFace {}

Run implement interface on Foo

Current Behavior:
The generated code is:
import { IFace } from "./iface";

export class Foo implements IFace {
    do(value: import("./iface").IValue): void {
        throw new Error("Method not implemented.");
    }
}

Request
We would like an option to tell TypeScript to not use inline imports and instead always add normal imports at the top of the file.
import { IFace, IValue } from "./iface";

export class Foo implements IFace {
    do(value: IValue): void {
        throw new Error("Method not implemented.");
    }
}

/cc @bpasero Since I know you were passionate about this issue

Duplicate of https://github.com/microsoft/TypeScript/issues/34995

In #32910, @DanielRosenwasser said

We should always prefer an import statement at the top of the file.

In that fix, we didn’t discuss adding an option, we just made it always do an import declaration. @mjbvz do people really want an option, or does it seem like most people just want the import declaration?
It should also be noted that #35200 could have an impact on this discussion, so we may want to wait and see where it lands, particularly on whether the default behavior of the compiler’s elision of imports used only in type positions is going to change.

@andrewbranch Yes I think VS Code would prefer that imports always be added at the top of the file. I'm not sure if other users prefer inline imports however, which is why I proposed having a setting to control this. We should try getting actual user feedback on this
Also 👍 for #35200


ci: install prebuilt cargo-zigbuild

#5  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Brooooooklyn and the rest of your teammates on  Graphite


mailmanPackages.postorius: use optional-dependencies

Description of changes
We have a mechanism for this — we don't need an overlay hack.
@fpletz could you please test this still works for you?
Things done

Built on platform(s)

[ ] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Sorry, this slipped through my notifications flow. Should be fine. thanks!


Allow using an integer as project id

Could you add a test case? (or perhaps just changing one of the existing ones that uses a string to use an int)

Thanks @Youwotma !


person model training error

显存足够
** Setting base model to SD1.5 **
--------uuid:  qw
----------work_dir:  /content/facechain/worker_data/qw/ly261666/cv_portrait_model/person1
2023-12-23 13:51:02,739 - modelscope - INFO - Use user-specified model revision: v1.0.0
/usr/local/lib/python3.10/dist-packages/onnxruntime/capi/onnxruntime_inference_collection.py:65: UserWarning: Specified provider 'CUDAExecutionProvider' is not in available provider names.Available providers: 'CPUExecutionProvider'
warnings.warn(
2023-12-23 13:51:07,248 - modelscope - INFO - PyTorch version 2.1.0+cu121 Found.
2023-12-23 13:51:07,251 - modelscope - INFO - TensorFlow version 2.15.0 Found.
2023-12-23 13:51:07,251 - modelscope - INFO - Loading ast index from /root/.cache/modelscope/ast_indexer
2023-12-23 13:51:07,290 - modelscope - INFO - Loading done! Current index file version is 1.10.0, with md5 1f7ecbe335b689008f5303bd30793944 and a total number of 946 components indexed
2023-12-23 13:51:09.337756: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2023-12-23 13:51:09.337810: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2023-12-23 13:51:09.339627: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-12-23 13:51:10.646206: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
/content/facechain/app.py:1276: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead.
output_images = gr.Gallery(label='Output', show_label=False).style(columns=3, rows=2, height=600,
[['/content/facechain/resources/inpaint_template/5.jpg'], ['/content/facechain/resources/inpaint_template/4.jpg'], ['/content/facechain/resources/inpaint_template/2.jpg'], ['/content/facechain/resources/inpaint_template/1.jpg'], ['/content/facechain/resources/inpaint_template/3.jpg']]
/content/facechain/app.py:1379: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead.
output_images = gr.Gallery(
[['resources/tryon_garment/garment4.png'], ['resources/tryon_garment/garment1.png'], ['resources/tryon_garment/garment2.png'], ['resources/tryon_garment/garment3.png']]
/content/facechain/app.py:1530: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead.
output_images = gr.Gallery(
2023-12-23 13:51:15,736 - modelscope - INFO - Use user-specified model revision: v4.0
2023-12-23 13:51:18,822 - modelscope - INFO - Use user-specified model revision: v1.0.1
Downloading: 100%|████████████████████████████████████████████████████████████████| 121k/121k [00:00<00:00, 2.15MB/s]
Downloading: 100%|███████████████████████████████████████████████████████████████████| 118/118 [00:00<00:00, 642kB/s]
Downloading: 100%|████████████████████████████████████████████████████████████████| 146k/146k [00:00<00:00, 2.52MB/s]
Downloading: 100%|████████████████████████████████████████████████████████████████| 217M/217M [00:02<00:00, 94.7MB/s]
Downloading: 100%|███████████████████████████████████████████████████████████████| 97.8M/97.8M [00:00<00:00, 111MB/s]
Downloading: 100%|██████████████████████████████████████████████████████████████| 12.4k/12.4k [00:00<00:00, 42.0MB/s]
Downloading: 100%|██████████████████████████████████████████████████████████████| 51.2M/51.2M [00:00<00:00, 96.8MB/s]
Downloading: 100%|██████████████████████████████████████████████████████████████| 4.90k/4.90k [00:00<00:00, 18.6MB/s]
Downloading: 100%|█████████████████████████████████████████████████████████████████| 104M/104M [00:00<00:00, 117MB/s]
Downloading: 100%|██████████████████████████████████████████████████████████████| 76.4k/76.4k [00:00<00:00, 2.24MB/s]
Downloading: 100%|██████████████████████████████████████████████████████████████| 82.0k/82.0k [00:00<00:00, 2.31MB/s]
Process Process-1:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/modelscope/utils/import_utils.py", line 450, in _get_module
requires(module_name_full, requirements)
File "/usr/local/lib/python3.10/dist-packages/modelscope/utils/import_utils.py", line 353, in requires
raise ImportError(''.join(failed))
ImportError:
modelscope.models.nlp.chatglm2.tokenization requires the SentencePiece library but it was not found in your environment. Checkout the instructions on the
installation page of its repo: https://github.com/google/sentencepiece#installation and follow the ones
that match your environment.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/content/facechain/facechain/inference.py", line 25, in _data_process_fn_process
Blipv2()(input_img_dir)
File "/content/facechain/facechain/data_process/preprocessing.py", line 205, in init
self.skin_retouching = pipeline('skin-retouching-torch', model='damo/cv_unet_skin_retouching_torch', model_revision='v1.0.1')
File "/usr/local/lib/python3.10/dist-packages/modelscope/pipelines/builder.py", line 163, in pipeline
clear_llm_info(kwargs)
File "/usr/local/lib/python3.10/dist-packages/modelscope/pipelines/builder.py", line 227, in clear_llm_info
from .nlp.llm_pipeline import ModelTypeHelper
File "/usr/local/lib/python3.10/dist-packages/modelscope/pipelines/nlp/llm_pipeline.py", line 15, in
from modelscope.models.nlp import ChatGLM2Tokenizer, Llama2Tokenizer
File "", line 1075, in _handle_fromlist
File "/usr/local/lib/python3.10/dist-packages/modelscope/utils/import_utils.py", line 435, in getattr
value = getattr(module, name)
File "/usr/local/lib/python3.10/dist-packages/modelscope/utils/import_utils.py", line 434, in getattr
module = self._get_module(self._class_to_module[name])
File "/usr/local/lib/python3.10/dist-packages/modelscope/utils/import_utils.py", line 453, in _get_module
raise RuntimeError(
RuntimeError: Failed to import modelscope.models.nlp.chatglm2.tokenization because of the following error (look up to see its traceback):
modelscope.models.nlp.chatglm2.tokenization requires the SentencePiece library but it was not found in your environment. Checkout the instructions on the
installation page of its repo: https://github.com/google/sentencepiece#installation and follow the ones
that match your environment.
instance_data_dir /content/facechain/worker_data/qw/training_data/ly261666/cv_portrait_model/person1
** project dir: /content/facechain
** params: >base_model_path:ly261666/cv_portrait_model, >revision:v2.0, >sub_path:film/film, >output_img_dir:/content/facechain/worker_data/qw/training_data/ly261666/cv_portrait_model/person1, >work_dir:/content/facechain/worker_data/qw/ly261666/cv_portrait_model/person1, >lora_r:4, >lora_alpha:32
The following values were not passed to accelerate launch and had defaults used instead:
--num_processes was set to a value of 1
--num_machines was set to a value of 1
--mixed_precision was set to a value of 'no'
--dynamo_backend was set to a value of 'no'
To avoid this warning pass in values for each of the problematic parameters or run accelerate config.
2023-12-23 13:51:42.913890: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2023-12-23 13:51:42.913941: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2023-12-23 13:51:42.915917: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-12-23 13:51:44.138992: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
2023-12-23 13:51:44,753 - modelscope - INFO - PyTorch version 2.1.0+cu121 Found.
2023-12-23 13:51:44,755 - modelscope - INFO - TensorFlow version 2.15.0 Found.
2023-12-23 13:51:44,755 - modelscope - INFO - Loading ast index from /root/.cache/modelscope/ast_indexer
2023-12-23 13:51:44,793 - modelscope - INFO - Loading done! Current index file version is 1.10.0, with md5 1f7ecbe335b689008f5303bd30793944 and a total number of 946 components indexed
12/23/2023 13:51:46 - INFO - main - Distributed environment: NO
Num processes: 1
Process index: 0
Local process index: 0
Device: cuda
Mixed precision type: no
2023-12-23 13:51:47,726 - modelscope - INFO - Use user-specified model revision: v2.0
{'dynamic_thresholding_ratio', 'variance_type', 'clip_sample_range', 'sample_max_value', 'thresholding'} was not found in config. Values will be initialized to default values.
{'force_upcast'} was not found in config. Values will be initialized to default values.
{'reverse_transformer_layers_per_block', 'attention_type', 'dropout'} was not found in config. Values will be initialized to default values.
Traceback (most recent call last):
File "/content/facechain/facechain/train_text_to_image_lora.py", line 1224, in
main()
File "/content/facechain/facechain/train_text_to_image_lora.py", line 789, in main
dataset = load_dataset("imagefolder", data_dir=args.dataset_name)
File "/usr/local/lib/python3.10/dist-packages/datasets/load.py", line 2519, in load_dataset
builder_instance = load_dataset_builder(
File "/usr/local/lib/python3.10/dist-packages/datasets/load.py", line 2192, in load_dataset_builder
dataset_module = dataset_module_factory(
File "/usr/local/lib/python3.10/dist-packages/datasets/load.py", line 1735, in dataset_module_factory
).get_module()
File "/usr/local/lib/python3.10/dist-packages/datasets/load.py", line 1119, in get_module
patterns = sanitize_patterns(self.data_files) if self.data_files is not None else get_data_patterns(base_path)
File "/usr/local/lib/python3.10/dist-packages/datasets/data_files.py", line 475, in get_data_patterns
raise EmptyDatasetError(f"The directory at {base_path} doesn't contain any data files") from None
datasets.data_files.EmptyDatasetError: The directory at /content/facechain/worker_data/qw/training_data/ly261666/cv_portrait_model/person1_labeled doesn't contain any data files
Traceback (most recent call last):
File "/usr/local/bin/accelerate", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/accelerate_cli.py", line 47, in main
args.func(args)
File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/launch.py", line 1017, in launch_command
simple_launcher(args)
File "/usr/local/lib/python3.10/dist-packages/accelerate/commands/launch.py", line 637, in simple_launcher
raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3', '/content/facechain/facechain/train_text_to_image_lora.py', '--pretrained_model_name_or_path=ly261666/cv_portrait_model', '--revision=v2.0', '--sub_path=film/film', '--output_dataset_name=/content/facechain/worker_data/qw/training_data/ly261666/cv_portrait_model/person1', '--caption_column=text', '--resolution=512', '--random_flip', '--train_batch_size=1', '--num_train_epochs=200', '--checkpointing_steps=5000', '--learning_rate=1.5e-04', '--lr_scheduler=cosine', '--lr_warmup_steps=0', '--seed=42', '--output_dir=/content/facechain/worker_data/qw/ly261666/cv_portrait_model/person1', '--lora_r=4', '--lora_alpha=32', '--lora_text_encoder_r=32', '--lora_text_encoder_alpha=32', '--resume_from_checkpoint=fromfacecommon']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/gradio/queueing.py", line 407, in call_prediction
output = await route_utils.call_process_api(
File "/usr/local/lib/python3.10/dist-packages/gradio/route_utils.py", line 226, in call_process_api
output = await app.get_blocks().process_api(
File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1550, in process_api
result = await self.call_function(
File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1185, in call_function
prediction = await anyio.to_thread.run_sync(
File "/usr/local/lib/python3.10/dist-packages/anyio/to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/usr/local/lib/python3.10/dist-packages/gradio/utils.py", line 661, in wrapper
response = f(*args, **kwargs)
File "/content/facechain/app.py", line 804, in run
train_lora_fn(base_model_path=base_model_path,
File "/content/facechain/app.py", line 207, in train_lora_fn
raise gr.Error("训练失败 (Training failed)")
gradio.exceptions.Error: '训练失败 (Training failed)'

do you know how i can fix this error?

Has it been resolved? I have the same error.

no, it is still the same error, what's happening? can you help me how can I fix this error?

may be you can try:pip install sentencepiece

这个可以，解决了

please try out the newest train-free, 10s inference version facechain-fact.


Can't get application correctly rendered

Hi Oleg,
I just discovered this project which I'm really interested in, as I may have to create a modular application. The problem is I can't get this project correctly rendered.
First, as I'm running this project with Tomcat 8, I had to remove the "provided" scope for jsf-api and jsf-impl.
Second, I had to indicate the theme used like this
    <context-param>
        <param-name>primefaces.THEME</param-name>
        <param-value>sunny</param-value>
    </context-param>

Otherwise I have this exception:
exception

javax.servlet.ServletException: Error loading theme, cannot find "theme.css" resource of "primefaces-" library
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:659)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)

And finally, the page rendered is quite strange:

Nothing else logged... I really would like to see this project running so I can dig a little deeper with this

You might double check that the theme variable in your bean is initialized. I had the same issue and it was the same error message where primefaces- came up, since you don't see primefaces-sunny, leads me to think its an initialization issue.

Not sure if this helps your issue, but I had a similar issue where I had migrated code from one jar to another. I had to create the META-INF/faces-config.xml and include it in the new jar as otherwise the managed bean wasn't initiating correctly as JSF 2.0 wasn't scanning the jar contents for managed beans. See http://stackoverflow.com/questions/7663818/how-to-reference-jsf-managed-beans-which-are-provided-in-a-jar-file for further information. Hope it helps.


feat(range): Add a pushRange option

As described in #311.
Demo: http://jsfiddle.net/ty6c7z75/

[Current coverage][cc-pull] is 98.18%

Merging [#341][cc-pull] into [master][cc-base-branch] will decrease coverage by 1.82%

@@           master       #341   diff @@
========================================
  Files           1          1
  Lines         806        822    +16
  Methods         0          0
  Messages        0          0
  Branches        0          0
========================================
+ Hits          806        807     +1
- Misses          0         15    +15
  Partials        0          0

Powered by Codecov. Last updated by [9b40f68...744ef87][cc-compare]
[cc-base-branch]: https://codecov.io/gh/angular-slider/angularjs-slider/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/angular-slider/angularjs-slider/compare/9b40f68215894da06e7f6b7a440eac7423a1cbd4...744ef87bb640b76288c47394cd9a69a8e1d6b86d
[cc-pull]: https://codecov.io/gh/angular-slider/angularjs-slider/pull/341?src=pr


Add init.py files in core and db folder

As discussed in this issue, I propose to add __init__.py files in some of the python directories.

Thank you Thomas!


Sort is case-sensitive

There is no option if the sorting shall be case-sensitive or not. It always sorts case-sensitive. Therefore, at first, there are values in capital letters and afterwards values starting with lower case. :(
As long as there is no option for it, is it possible to set “case-insensitive” as default? 'Cause my guess is that is what most prefer.
Suggesting greetings
Reiner

Version 1.1.0 and later will be case-insensitive.


LAPACK and iOS compilation issues

Hi,
I'm able to follow the instructions here and can get OpenBLAS to compile. However, the LAPACK portion fails with the following error.

OpenBLAS: Detecting fortran compiler failed. Cannot compile LAPACK. Only compile BLAS.

Is this expected behavior when compiling for iOS?
If it isn't expected behavior does anyone know how I can get around this?
thanks

The NOFORTRAN=1 on the make command line (last line of the command file that the instruction tells you to create) should suppress the search for a fortran compiler. (It seems XCODE has only the C/C++ compiler, clang). Our Travis checks use brew install gcc to install the GNU compiler collection from "homebrew" for building on OSX, not sure if this would also work for iOS.

You can try walking unknown paths and build flang compiler for xcode llvm code generator... But as it stands presently - there is no fortran compiler targeting iOS (there is intel C compiler targeting OSX)

I think I'm gonna try replacing the LAPACK libraries with the Apple LAPACK libraries. I was able to get the project to build this way now lets see if it works.

Yes, you can use apple accelerate framework on iOS, once there is good fortran compiler you can try OpenBLAS again. For now there is no easy chance.

Almost all of OpenBLAS' LAPACK is identical to the non-optimized reference implementation from netlib anyway. So it could be that the combination with Apple LAPACK is even faster than a pure OpenBLAS BLAS+LAPACK.


fix doc typo (typo correction configuration.xml in korean version)

typo correction configuration.xml in korean version especially focusing on spacing

Thank you @loin3 !
And thank you @juzi214032 for the review!


RAM CLEARED again

Programs that would crash the calculator when run from cesium now crash it after program execution instead of before.

Can you provide literally any details? Going to need more information.

I used to have some assembly programs crash upon execution in Cesium.
With version 3.0.5, ICE compiler runs perfectly, however, for some odd reason, it crashes on exiting if run from version 3.1.1.
Any program written ICE is having this same issue for me.
P.S. I can't say this isn't an issue with my calc, but as it's happening only with the new version, it's a pretty safe assumption.

Fixed and released with 3.1.2


chore: add use case issue form

Description
add Use Case Template form to make it easier for companies to share their use with us.
1st draft: comments and improvements welcomed

hmm I have a feeling we talked about it, and about moving it to spec or community repo, but I can't find any record 😅
where did we end up with the discussion? I just don't know if I should provide feedback here or wait for a PR to another repo first


Move to Camunda Community Hub?

Hi Mackenzie, we have a new Camunda Community Hub for hosting community extension. What do you think about moving Zeebest there? It will give it some more surface area and may help in find new contributors / maintainers.

@jwulf hey there! I think that's an excellent idea. Where do I go?

We're moving repos, rather than forking them, to avoid having to keep multiple repos in sync and having one canonical upstream. If you're OK with transferring it to the Community Hub, we'd give you maintainer permissions on the repo there?

If that works best for you. I have no concerns. Would you like me to add you as admin on this repo, and you can do the rest?

Sure, that works.

I have push access, but can't transfer. Can you do that? Here are the instruction in the Community Hub README, it's just two clicks.
https://github.com/camunda-community-hub/community#getting-started

Moved successfully!


Update http4s-blaze-client, ... to 0.21.8

Updates

org.http4s:http4s-blaze-client
org.http4s:http4s-blaze-server
org.http4s:http4s-circe
org.http4s:http4s-core
org.http4s:http4s-dsl

from 0.21.7 to 0.21.8.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

labels: library-update, semver-patch

Codecov Report

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

@@            Coverage Diff             @@
##           master     #682      +/-   ##
==========================================
+ Coverage   80.60%   81.36%   +0.75%
==========================================
  Files         117      116       -1
  Lines        3991     3954      -37
  Branches       94       94
==========================================
  Hits         3217     3217
+ Misses        774      737      -37

Impacted Files
Coverage Δ

...ery/sbt/BuildInteractionDockerImageSBTPlugin.scala

Continue to review full report at Codecov.

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


Not finding any fonts

Describe the bug
I'm using agg on MacOS (15.1 Sequoia).  No matter what I set --font-family or --font-dir to, it always falls back on Arial Unicode MS.
For example:
❯ agg --font-family "Hack" --last-frame-duration 3 -v --font-dir /Users/regan/Library/Fonts out.cast cast.gif
[INFO  agg] terminal size: 97x27
[INFO  agg] selected font families: ["Hack", "Noto Emoji"]
[INFO  agg] selected theme: dracula
[INFO  agg] gif dimensions: 831x548
29 / 117 [====================================>---------------------------------------------------------------------------------------------------------------] 24.79 % 84.22/s 1s [WARN  usvg::text] Fallback from Hack to Arial Unicode MS.
[WARN  usvg::text] Fallback from Hack to Arial Unicode MS.
[WARN  usvg::text] Fallback from Hack to .LastResort.
30 / 117 [=====================================>--------------------------------------------------------------------------------------------------------------] 25.64 % 84.21/s 1s [WARN  usvg::text] Fallback from Hack to .LastResort.
[WARN  usvg::text] Fallback from Hack to .LastResort.
[WARN  usvg::text] Fallback from Hack to .LastResort.
[WARN  usvg::text] Fallback from Hack to .LastResort.
[WARN  usvg::text] Fallback from Hack to Arial Unicode MS.
[WARN  usvg::text] Fallback from Hack to Arial Unicode MS.
[WARN  usvg::text] Fallback from Hack to .LastResort.
[WARN  usvg::text] Fallback from Hack to .LastResort.
31 / 117 [=======================================>------------------------------------------------------------------------------------------------------------] 26.50 % 73.95/s 1s [WARN  usvg::text] Fallback from Hack to .LastResort.
[WARN  usvg::text] Fallback from Hack to .LastResort.
[WARN  usvg::text] Fallback from Hack to .LastResort.
[WARN  usvg::text] Fallback from Hack to .LastResort.
[WARN  usvg::text] Fallback from Hack to Arial Unicode MS.
[WARN  usvg::text] Fallback from Hack to Arial Unicode MS.
[WARN  usvg::text] Fallback from Hack to .LastResort.

I know I have Hack installed, and I've confirmed it's installed here: /Users/regan/Library/Fonts/Hack-Regular.ttf
I've tried it with several other font families as well.  They all fall back to Arial or .LastResort.
Versions:

OS: macOS 15.1
agg: 1.5.0

I'm facing the same problem.
You can try add --renderer fontdue to the options, and it should work, and even faster?
But I still want resvg get work.

@chuxubank for you this problem occurs on macOS too?

Yes, macOS 15.1 (24B83)


The 'ngAtomicNotify' directive doesn't use the array injection syntax.

I'm unable to uglify the source because the 'ngAtomicNotify' directive is not specified using the array syntax. It should look similar to the following:
.directive('ngAtomicNotify', ['$compile', '$timeout', function($compile, $timeout){ ...
Could you please put in a fix and push an update to bower?

Fixed on version 1.0.3
Thank you.


code clean up for v0.6.0

we're going to remove all unused stuff, get teracy-dev as small and clean as possible, focusing on vagrant + config mechanism support; for other unrelated features, it should be enhanced by other projects (for example, k8s-dev or docker-dev, etc).

closed, duplicated of https://github.com/teracyhq/dev/issues/252


Add elements Enum/namedtuple (Closes #5)

Codecov Report

Merging #6 into master will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master        #6   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines           59        70   +11
=========================================
+ Hits            59        70   +11


Javascript not work!

eel 0.12.4
Linux/Debian 9
Chrome
Hi. when i try to launch a JavaScript function from python nothing happens!
(PS. All files are located in web dir, except the file python)
html code

      <link rel="stylesheet" type="text/css" href="css/app.css">
      <link rel="stylesheet" href="css/font-awesome.min.css">
      <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0,maximum-scale=1.0">
      <title>App Login</title>

      <button onclick='eel.scan();'>Scansione</button>

Hello!

python code
# -*- coding: utf-8 -*-
import eel
import encodings
from iwlib import iwlist

eel.init('web', allowed_extensions=['.js', '.html','.css'])

@eel.expose
def scan():
    result=iwlist.scan('wlan0')

    for list_wireless in result:
        essid=list_wireless['ESSID']
        mac=list_wireless['ACCESS POINT']
        channel=list_wireless['CHANNEL']
        freq=list_wireless['FREQUENCY']

        print '{} {} {} ({})'.format(essid,mac,channel,str(freq)[0:4])

eel.start('index.html',port=10000,size=(308, 612))

eel.sStampa()

js code
eel.expose(sStampa);
function sStampa() {
   console.log('Hellooooo');
}

What are the filenames you're using?
I think maybe your js code snippet is in a file called eel.js. If that's the case, your JavaScript won't be served because the Eel server serves its own eel.js file. Can you try renaming your JS code snippet to something else and then including that in the HTML file as well.

Here is the directory structure:
login_app/
├── app.py
└── web
    ├── css
    ├── eel.js
    └── index.html

I tried again like you did, but nothing ... this python javascript doesn't seem to work.
I have also added a / to the src in html (), but nothing ... everything works except that function

You need to change your file eel.js to be called something else. eel.js is a special file served by Eel and if you have your own javascript file called eel.js in the root of the web directory it will not be ever be sent to, or loaded by, the browser.

Ah, sorry for my english...i did not understand. Forgive me.
however I changed the name of the file, I called it in another way, but nothing .... it still doesn't work
.
├── app.py
└── web
    ├── css
    ├── index.html
    └── test.js

HTML code

No worries @vincenzogianfelice.
Now that you've updated the HTML to include test.js, is it still including eel.js? It needs to include both.

Yes.
.
├── app.py
└── web
    ├── css
    ├── index.html
    └── test.js

HTML code

But not work...incredible!

Do you have a github repository with your code?
I've set up the code you provided and made the changes I recommended and it all seems to work OK ... so I can't really understand why it isn't working for you at the moment.

Unfortunately not (this is test with eel). But I can write you the files here ...
Python Code
# -*- coding: utf-8 -*-
import eel
from iwlib import iwlist

eel.init('web', allowed_extensions=['.js', '.html','.css'])

@eel.expose
def scan():
    result=iwlist.scan('wlan0')

    for list_wireless in result:
        essid=list_wireless['ESSID']
        mac=list_wireless['ACCESS POINT']
        channel=list_wireless['CHANNEL']
        freq=list_wireless['FREQUENCY']

        print '{} {} {} ({})'.format(essid,mac,channel,str(freq)[0:4])

eel.start('index.html',size=(308, 612))
eel.sStampa()

HTML Code

      <link rel="stylesheet" type="text/css" href="css/app.css">
      <link rel="stylesheet" href="css/font-awesome.min.css">
      <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0,maximum-scale=1.0">
      <title>App Login</title>

      <button onclick='eel.scan();'>Scansione</button>

Hello!

JS Code
eel.expose(sStampa);
function sStampa() {
   console.log('Hellooooo');
}

I think it should be eel.scan()(). 2 brackets.

I just saw (in the "sources" tab of google developer mode) and my JS test.js file is not really loaded! Why?

How do you know it's not working? Do you get any errors or logs from the Python side?

Ah. It might just be because Eel is started in blocking mode - which means it doesn't ever run eel.sStampa() until the eel server shuts down.
You will want to change it to non-blocking mode, which means that code after eel.start will be run while the server is alive.
Python code
# -*- coding: utf-8 -*-
import eel
from iwlib import iwlist

eel.init('web', allowed_extensions=['.js', '.html','.css'])

@eel.expose
def scan():
    result=iwlist.scan('wlan0')

    for list_wireless in result:
        essid=list_wireless['ESSID']
        mac=list_wireless['ACCESS POINT']
        channel=list_wireless['CHANNEL']
        freq=list_wireless['FREQUENCY']

        print '{} {} {} ({})'.format(essid,mac,channel,str(freq)[0:4])

eel.start('index.html',size=(308, 612), block=False)
eel.sStampa()

while True:
    eel.sleep(1)

You need the while True block to keep the script running after your own code, otherwise when Python reaches the end of the script it will close and the Eel server will shutdown.

Hi ... after several attempts I found out what the problem was.
The console.log() instruction I found that the browser does not work..the "alternative" works instead, ie alert()... why?
Also I would have another question: how do I close an eel window open?
Thank you

console.log in chrome browser does work - it does something different to alert, so maybe you don't see the output. If you open chrome's developer tools and look at the console tab, you should see the output there.
I'm not sure what you mean by 'how do I close an Eel window'. You can just close the browser window it opens. If you mean through code, the only supported way at the moment is to exit the program altogether (sys.exit()) as I don't believe we track and retain the process id of the browser that gets launched.
I'm going to close this issue now as it seems you've got things working enough to at least use JavaScript alert.


Versioned arrays

From @shoyer: What about indirection for chunks? The use case here is incrementally updated and/or versioned arrays (e.g., each day you update the last chunk with the latest data, without altering the rest of the data). In the typical way this is done, you hash each chunk and use hashes as keys in another store. The map from chunk indices to hashes is also something that you might want to store differently (e.g., in memory). I guess this would also be pretty easy to implement on top of the Storage abstraction.

My 2cents. The work in databases on temporal databases may be relevant here.
I am sure there any number of papers in ACM Transactions on Database Systems.
In terms of atomic update (probably not possible for S3), file system journaling
may also be relevant.

I suppose one way to address this would be to design a store to include timestamps as part of paths (perhaps underneath chunks and .z* files). This would allow the changed parts to be written under a new timestamp without altering previous ones. When reading we can just read the latest timestamp and ignore older ones.
Though there should be the possibility of exploring revision history. This could be done by filtering timestamps based on the revision someone wants to revisit and then selecting the latest amongst those (these steps can be fused for simplicity and performance).

@Carreau , @DennisHeimbigner , @jakirkham: thanks for your responses regarding the versioning discussion.
In response to @Carreau: the data is currently all stored in NetCDF4 on a POSIX file system (although we are experimenting with object store).
I'll do some more reading this week following the leads that you have sent. My instinct is that the approach suggested by @jakirkham is worth exploring - i.e. that the DirectoryStore class manages an extra layer that includes version directories.

@agstephens, if you do explore this versioning idea with say a subclass of DirectoryStore, it would be interesting to hear what you discover. Is that a viable path? What issues do you encounter in implementation? Are there any consequences from that approach we should be aware of/reflect on?

Oddly enough, our team started discussing the same requirement Friday, too. The initial use case would be for metadata, but I can certainly also see the benefit of the functionality originally described by @shoyer. In our case, one goal would be to have global public URLs for multiple versions of the same dataset available without needing another tool to ensure API stability of existing URLs. (An example of another tool would be git cloning and then changing the branch.)
On a filesystem this could be done fairly trivially without extra storage with symlinks. There's no general solution I know of for cloud storage though. Following the above discussion, I too could see a way forward via Stores, but I'd like to raise a concern that this feels quite similar to Nested and Consolidated stores and that the issues in those two cases both led us to including those discriminators in the v3 spec.
Perhaps it's natural to start with an initial implementation and then choose to include that in the spec later, but I expect composition of the stores will be an almost immediate issue. (cf. https://github.com/zarr-developers/zarr-python/issues/540)


Develop

successful run of job
https://github.com/yaaszp/devops_todolist_cicd_task_4_helm_ci/actions/runs/9783636332

Need to add successful run of job in your repository as description to PR

fixed


Fail interpretation on Not in HLO and Miscellaneous ops

As we're getting closer and closer to completion of the intepreter thanks to great work by Gunhyun, our corner cases are becoming more and more prominent.
One of these corner cases is support for Not in HLO ops, which we are planning to remove from the StableHLO opset but which are still part of the StableHLO dialect.
Another corner case is support for Miscellaneous ops, all of which except for FftOp have decomposition passes implemented either on MHLO or HLO. Some of these decompositions are really tricky, and it would be a shame to duplicate their code and to maintain this duplicated code in the interpreter.
As a result, I propose that we fail when encountering these ops and leave decomposition of these ops to be the responsibility of the users of the interpreter for now.
In the future, we should provide for these ops in this repository (or move these ops out of the StableHLO opset). We can do this via a a combination of moving the already existing MLIR-based passes to this repository (and running them before the interpreter runs) and/or porting the already existing HLO-based passes to MLIR in this repository.
This proposal also involves deleting the already implemented eval functions and tests for BatchNormGradOp, BatchNormInferenceOp, BatchNormTrainingOp and CholeskyOp. A lot of work went into these implementations (which will not be forgotten!), and I'm hesitating to remove them. However, this is a non-trivial amount of code and it may need non-trivial amount of maintenance down the line, so my recommendation would be to remove it.

Done.
Great question! This is why I opened this ticket. Overall, I'm thinking that the Conformance Suite workstream could be the proper home for this work, so when we get to it, we would address this item.


Create sch.txt

Greek School Network (https://www.sch.gr)

@CodingSlime This repository is for registering specific schools and colleges, not for any kind of umbrella organizations. If your school does not assign you with a dedicated email address which belongs to your school, you can apply at https://www.jetbrains.com/shop/eform/students with your photo ID, using "OFFICIAL DOCUMENT" tag, or other options available there.
If you have troubles with requesting your free license, please email us at<EMAIL_ADDRESS>Thank you.
I have to close the request without merging. Please ensure you are familiar with this repository rules located at the bottom of this page before submittin a request. Thank you for the understanding!


[SPARK-11514][ML] Pass random seed to spark.ml DecisionTree*

cc @jkbradley

Merged build triggered.

Merged build started.

Test build #45095 has started for PR 9486 at commit b529254.

Test build #45095 has finished for PR 9486 at commit b529254.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test PASSed.

LGTM, merging with master
Thank you!

Thank you for merging it!


ORCIDs in GPAD files

It's optional but we can add a curator ORCID for each annotation in the GPAD file using the "contributor-id" annotation property.  Should we do that?  For PomBase curators only?  Or for community curation too?  Currently the ORCIDs aren't stored in Chado so there would be a little bit of work involved in this.
We should discuss this comment as I'm not sure how it fits in with community curation: https://github.com/geneontology/go-annotation/issues/2864#issuecomment-684120571

I think we should add the ORCIDs (for community curators too), because we can.
But we don't need to do this immediately.

Are ORCIDs stored in canto now?

I think we should add the ORCIDs (for community curators too), because we can.

I assume no community curator would object but I wonder if we need permission from each author?

Are ORCIDs stored in canto now?

Do you mean Chado?  There not in at the moment but it's all set up ready to go.  It just needs a one line change if we're happy that we don't need permission from users to make the ORCIDs public.

I've changed the GPAD writer to write the ORCID of the curator for each annotation.  No ORCIDs are loaded from Canto in Chado at the moment.  Once we change that, they'll start appearing in the GPAD file.


Support Promise.finally()

TypeError: decompress(...).then(...).catch(...).finally is not a function
  at File._extractOnFinish (…\lib\file.js:243:18)
  at Object.onceWrapper (events.js:313:30)
  at emitNone (events.js:106:13)
  at EventEmitter.emit (events.js:208:7)
  at WriteStream.<anonymous> (…\lib\file.js:162:32)
  at emitNone (events.js:111:20)
  at WriteStream.emit (events.js:208:7)
  at finishMaybe (_stream_writable.js:614:14)
  at afterWrite (_stream_writable.js:465:3)
  at onwrite (_stream_writable.js:455:7)
  at fs.write (fs.js:2192:5)
  at FSReqWrap.wrapper [as oncomplete] (fs.js:685:5)

The module pify (github) allows option promiseModule, we should be able to pass a Promise function that supports finally().

Workaround:
const decompress = require('decompress');

Promise.resolve(decompress(...)).then(...).catch(...).finally(...);


TG Station Bread

About the PR

Made all bread craftable
Added some bread

Two slice
Jelly toast
French toast
Cornbread (Added cornmeal from grinding corn)
Sausage bread

Updated bread and dough sprites from tg
Updated spider and xeno cutlet sprites

Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: Potato1234_x

add: Added 5 new bread loaves
add: Added a recipe for all bread loaves
tweak: Changed all bread sprites

Frozen due to a freeze on recipes: #8524

Re-open when chef rework is done.

Under https://github.com/space-wizards/space-station-14/issues/8524
As food doesn't really have a purpose it's subject to removal at any time pending chef work.


compatibility with kcp-go

Is this code compatible with kcp-go?

I think so. I haven't really tried. But in theory it's compatible.


unit interval distribution based on johnson su

https://pjsor.com/pjsor/article/view/3421/1065

closed with https://github.com/spinkney/helpful_stan_functions/pull/24


VersionOne Collector Refactor & HTTP Auth Exception Handle

I am merging my content with your working branch for the VersionOne feature collector refactor. I have also added my HTTP auth exception handling, now using the HygieiaException class implementation (added a custom code for HTTP Auth failures that do not throw HTTP auth codes, as is the case with VersionOne). Please review, give feedback, and accept. I have already performed a pull from upstream master to ensure an easy merge.
This is related to the following closed pull request: #419
Repull of the following PR:  https://github.com/capitalone/Hygieia/pull/430

it looks like this needs to be rebased

@amp5208 Lets catch up next week to rebase.

This was rebased - it now needs to be re-rebased because of time delay to accept a pull.  I will perform the rebase shortly.

just rebased with both master and the v1c-refactor branches.  please validate and accept the pull.


Backport 8210

resolves #8284
Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

@davidharting @patkearns10 In this thread you asked for a heads-up so that you would know when this is getting back-ported to 1.6, so this is your notification that is happening very soon!

@peterallenwebb Is this already available in 1.7-prerelease? I'm trying to identify the best way for me to test out this behavior.

@davidharting Yes. It's in 1.7.


[Bug?] No weather cycling/rain at all

Mod Version: 1.12-<IP_ADDRESS>
Forge Version: forge1.12-<IP_ADDRESS>4
Link to crash log (if applicable): No crash involved, nothing shows in logs regarding weather or errors with DS
Description: Early on when I first installed the mod, the weather cycled as expected; After some time, I played around with the commands, specifically using the /ds setmin rain command to bump the minimum intensity a bit higher, as I wanted a somewhat more rainy experience. Later on, I reset the biome configurations with /ds reset, and since that point, the weather does not cycle. When the rain timer hits 0, it instantly resets the timer and the weather doesn't change at all, remaining clear at all times. Tested over 24+ hours of time. Not entirely sure what's going on, but I'm not sure of how to fix it without removing and re-adding the mod and config.

Y'know. I really should have looked harder at my options. I turned weather off while working on a creative building world and never changed it back.   I would rather have false reports than not know.  Thanks!


".is" clean up

On resolve, remove callback method from WebContext

Added in version 1.2.2
https://github.com/rikschennink/conditioner/tree/1.2.2


Do not run callbacks inside a goroutine

This is somewhat of an important discussion to have. I opened it because of PR #50 (and my own experiences in the past).
Currently all callbacks are run inside a goroutine. This leads to unpredictable behavior, especially when attempting to do stuff which is order important (such as authenticating users).
I personally think that all callbacks should not be run in a goroutine, as it breaks the idea of order in IRC. Users should be able to run portions of their callbacks in a goroutine, but it should not be required.

$0.02 since I had similar problems in goirc: I ended up having a "HandleBG" function that allowed people to add callbacks that had no requirements for IRC protocol consistency. Blocking the event loop is bad, but maintaining protocol consistency requires that all handlers for a particular incoming line are run before any of the handlers for subsequent lines.

Rather than running each callback in it's own goroutine, you could add each callback call to a worker queue and have a single goroutine sat in the background working through them in order. That keeps callbacks outside of the main thread, while still keeping them in order. The main issue to deal with then is avoiding queue-exhaustion.

Why even bother requiring the user to specify? The handlers themselves are the same... and if they need something to run in the background, they can use go func() themselves.

I'm with @belak. What is the status here?

@belak @hashworks
See da78ed515c0f0833e7a92c7cc52898176198e2c1
Decided to just break everyone's code to fix this. Only small changes was needed in my bots but this is a quite mayor change that will break a lot of code. Please test.

I think this can be closed: no issues so far.
My old code worked without any change,
and adding a goroutine to one of callbacks was just a 2-line change.

Ok thank you! :)


sub folder error

i have a zip file,
1.Zip
---1.txt
---subFolder
---1.txt
couldn`t extract
is good if without subFolder

Which platform you're using on? Android or iOS? I use this for both of this platform and it works well. Which path you are extracting to?

windows create zip file has error, linux is good

@fugitivers You mean your development environment? Not tested on windows machine actually.

I'm closing this issue since not active.

Yeah i'm facing same problem as above. I have to manually generate those subfolders to be same as inside zip to make it work. Error gives that those subfolders do not exist and that's why it can't extract it.


Support for Diamonds

It would be great if Waffle provided support for deploying and upgrading diamonds. The Diamond Standard is here: https://github.com/ethereum/EIPs/issues/2535
Here is an example of a tool (in Python) that helps manage diamonds: https://github.com/lampshade9909/DiamondSetter
Blog post about it: http://joeyzacherl.com/2020/06/diamond-setter-ethereum-smart-contract-manager/

Hey, this looks nice. I don't think we have the capacity to build this ourselves, but will gladly accept a PR that adds this support. I am thinking somewhere along the lines of an @ethereum-waffle/diamond package.


Task Quick Pick 'Go back' has a '...'?

In my opinon the Go back action doesn't prompt for new input, it is only navigational, therefore it should not have a trailing '...'

Suggest to us a back arrow to indicate the navigation, same as is done in Gitlens

Should this be a button next to the input field? Looks more like a wizard dialog to me then?

I think you're one version behind on insiders, the current version has

I kept the Go Back as list entry instead of a button because when we discussed it during the UX sync it was brought up that the back arrow in the multi step quick pick is less keyboard friendly to use.

the back arrow in the multi step quick pick is less keyboard friendly to use

I think if we have keyboard issues in the mutli step quick pick then we should fix that instead of duplicating behaviors. This is also what we suggest to extensions to use when needing to go back to the previous step.


Filter by 0 relations

https://prisma-company.slack.com/archives/C5Z9TH6N9/p1602854686016200

Just adding this link for some public context for what this is issue is about as well: https://github.com/prisma/prisma/issues/3888

Documented: https://www.prisma.io/docs/concepts/components/prisma-client/relation-queries#filter-on-presence-of-related-records


How to Send an Email with Django

This fixes #2705
Article checklist
ATTENTION: In your PR - add the ISSUE (topic form) # that this PR corresponds to. You can do this by also adding a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
If you have not already please go over our Resources Page for more tips and tricks on how to improve our overall technical writing.
Preliminary Checks - Formatting and Structure

[x] Does your article follow any of the suggested structure formats? - see example formats
[x] Is your article properly formatted in Markdown? - see Github Markdown guide
[x] Have you used the correct folder and file structure? - see Contribution Guidelines
[x] Is your article over 750 words? - Tool: Wordcounter.net
[x] Have you used our preferred heading structure? - H3 (###) and up
[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[x] In your PR - add a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[ ] Please place your article through a 3rd party plagiarism checker? We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[ ] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution guidelines
For first-time contributors and for more details, see Contributing Guidelines

@geoffrey45 any update

@geoffrey45 any update

Hello @Samuel-2626 I will be sending out the pending comments today. Thank you for the patience.

@geoffrey45 thanks for the review, changes as been made 👍

@geoffrey45 thanks, changes have been made :)

@geoffrey45 Done, thanks 👍

@hectorkambow This article is ready for final review. Awaiting plagiarism check.

plagiarism check done

@hectorkambow This article is ready for final review. Awaiting plagiarism check.

Thanks @geoffrey45, plagiarism check as been done...


Issues deploying template

Hello,
I'm having issues deploying this template, when I try deploying it the azure portal is throwing the error below.
I believe it's because the VM doesn't have access to anything external, because when i try to access anything in the browser on the vm it throws an unable to connect error in the browser.
See the error below.
{
    "code": "DeploymentFailed",
    "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.",
    "details":
    [
        {
            "code": "Conflict",
            "message": "{
				"status": "Failed",
				"error": {
						"code": "ResourceDeploymentFailure",
						"message": "The resource operation completed with terminal provisioning state 'Failed'.",
						"details": [ {
							"code": "VMExtensionProvisioningError",
							"message": "VM has reported a failure when processing extension 'Microsoft.Powershell.DSC'. Error message: "The DSC Extension failed to execute: Error downloading https://raw.githubusercontent.com/Microsoft/aad-hybrid-lab/master/aad-hybrid-lab/DSC/adDSC.zip after 29 attempts: The remote name could not be resolved: 'raw.githubusercontent.com'.More information about the failure can be found in the logs located under 'C:\WindowsAzure\Logs\Plugins\Microsoft.Powershell.DSC\<IP_ADDRESS>' on the VM."."
						}
					]
				}
			}"
        }
    ]
}

Although I realize this has seemingly no relation to the issue, can you please try deploying in US East? Let me know if that resolves the issue.

@bretthackermsft thanks for replying, i'll go in and try to do that.

@bretthackermsft I'm still getting the same error deploying to US East. It is the same error shown in the first github post.

Hi Frank,
did you find a way to solve this ?
Experiencing the same issue...

A little outdated, but here is what you have to do to fix it. Due to the not-so-recent change in how NuGet Works, you need to update DSC/adDSC/adDSCConfiguration.ps1
Change:
`
SetScript  = {
# Install AAD Tools
mkdir c:\temp -ErrorAction Ignore
Install-PackageProvider -Name NuGet -MinimumVersion <IP_ADDRESS> -Force
				Install-Module -Name MSOnline -Force

				Install-Module -Name AzureAD -Force

				#Install-Module -Name AzureADPreview -AllowClobber -Force

				#Install-Module -Name AzureRM –AllowClobber -Force

            }

`
to
`SetScript  = {
# Install AAD Tools
mkdir c:\temp -ErrorAction Ignore
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Install-PackageProvider -Name NuGet -MinimumVersion <IP_ADDRESS> -Force
				Install-Module -Name MSOnline -Force

				Install-Module -Name AzureAD -Force

				#Install-Module -Name AzureADPreview -AllowClobber -Force

				#Install-Module -Name AzureRM –AllowClobber -Force

            }`

Thanks @dragagon - I haven't tested this in the context of the running DSC but I have encountered this requirement in other similar circumstances. To the extent it doesn't materially affect anything else and it makes sense to me, I went ahead and committed this change. Thanks for the heads up.


Remove eQSL from Dashboard

Discussed in https://github.com/wavelog/wavelog/discussions/297

Originally posted by 4O4A April 18, 2024
Hi guys,
It is possible to remove eQSL column in log if eQSL data is not set in Third Party Services tab.
Is it possible to have eQSL removed from Dashboard, following the same criteria?
Regards,
Dragan, 4O4A

will reopen if clear - see discussions #297


remove files and add to gitignore

i have a user in the community who forked the docs repo and is reporting staged changes for the atom.xml, rss.json , and rss.xml when they run npm start.
adding those 3 files to gitignore and created a gitkeep in the static/feeds directory. see slack thread for more details.
What are you changing in this pull request and why?

Checklist

[ ] Review the Content style guide and About versioning so my content adheres to these guidelines.
[ ] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch."

Adding new pages (delete if not applicable):

[ ] Add page to website/sidebars.js
[ ] Provide a unique filename for the new page

Removing or renaming existing pages (delete if not applicable):

[ ] Remove page from website/sidebars.js
[ ] Add an entry _redirects
[ ] Ran link testing to update the links that point to the deleted page

awesome, thank you for explaining your qa process @JKarlavige and thank you for the guidance! I'm going to go ahead and merge this ✨


SCSS linting

Enable SCSS linting in content-tagger.
Trello: https://trello.com/c/hBkZ5MG2/140-add-sass-lint-to-content-tagger
NOTE: This PR needs https://github.com/alphagov/govuk-ci-scripts/pull/3 merged in first. The actual linter runs from that jenkins script. By setting SCSS_LINT_PATH with the path to the files we want to lint, the linter is enabled and reports any linting issues.

@tijmenb The latest build now runs the linter:
Bundle complete! 25 Gemfile dependencies, 128 gems now installed.
Gems in the group development were not installed.
Bundled gems are installed into /home/jenkins/bundles/govuk_content_tagger_branches.
Running ruby linter
0 files inspected, no offenses detected
Running SASS linter
-- enable_extension("plpgsql")
   -> 0.0160s

FYI, there is no output on success.


Set the input value programmatically

Hi, thanks for the great slider! I am working on designing an audio progress bar with this slider component, hoping that when onTimeUpdate event of <audio> is triggered, the value of slider (or say the position of thumb) can be updated. Could you please provide a solution to set the value of slider programmatically, even if the width style can be controlled but the true value. Thanks!

This component works as a react controlled input, so a state value would work in you case.

Definitely, it works. Thank you so much!
const [progress, setProgress] = useState(.0);

<audio ref={playerRef} onTimeUpdate={e => setProgress(e.target.currentTime)}/>

<Slider
    disabled={playerRef.current == null}
    axis="x"
    x={progress}
    xmax={playerRef.current == null ? 100 : playerRef.current.duration}
    xstep={.1}
    onChange={({x}) => {
        setProgress(x)
        playerRef.current.currentTime = x
    }}/>


Support for gpt-4o-2024-08-06

Please add support for the latest 4o model: gpt-4o-2024-08-06.

Thanks for reporting this. It will be updated in the next version. In the meantime, you can use the model name as a string by passing it as 'gpt-4o-2024-08-06'


Tidy up documentation.

Description

Fixes #0000
Checklist

[ ] I have run cargo make pr-flow
[ ] I have reviewed my own code
[ ] I have added tests

What's preventing this from being merged? This improves documentation quite a bit.

What's preventing this from being merged? This improves documentation quite a bit.

Just the open review comments and the merge conflicts :P

This PR has been stale for a long time so I will update this and create a new one with the changes


Improve certain "limitations of flow sensitivity" errors

Motivation

This is by far the most commonly asked question by people new to Sorbet. Having a dedicated error message that links to more thorough documentation will substantially reduce our support burden and encourage people to learn more about how best to use Sorbet.
Commit summary
If you'd like, use the commits to see the before/after behavior of the new tests

pre-work: Remove some dead code (57fbe494c)
I just happened to notice these, I figured I'd remove them while I was
here.

pre-work: Remove useless argument from this function (482421436)
It's not actually required, so no reason to pass it.

Add test showing behavior before (aa53cd078)

Detect certain "limitations of flow sensitivity" errors (954bd0625)

Show new behavior (671ff734b)

Test plan

See automated tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_LxGMYxC7VYzfyh
→ https://go/builds/bui_LxGMoiiRLlWyuv


Channel force closed, funds gone

Hi there.
Got my channel force closed and my onchain funds (1m) don't appear in the wallet.
Log:
https://github.com/MutinyWallet/mutiny-web/files/13191570/mutiny-logs.4.txt
Node:
03f76cf9d04f11e0c2e28d62c9ac9b2a1793fb0d894df8f56360c38afaf323bb91
Any help would be greatly appreciated!

The logs stop after 10/23, could you upload one a new log file so we can see why the wallet might not have swept the funds back? It does seem like it might have been a few days sense that happened, correct? Typically it does take a few days for those to return.

Yes, it happend 5 days ago. I first waited a bit after reading that advice on a similar issue here. New log:
https://github.com/MutinyWallet/mutiny-web/files/13191650/mutiny-logs.5.txt

Got it, thanks!
Initial quick look shows it trying to broadcast a transaction but failing.
ID: 416a72620d6bd4d0772a64d1912747479e108a3ac35e5a2c7bcfb11053f7dd2c
Transaction hex:<PHONE_NUMBER>01014f74cb61c4e6ac5a628188f3f3986a75a6926b97197fe21bfc4d12cea5a1c83901000000009000000001d4c30f0000000000225120c2b98f79198b99f61b7e6dfd768533aac988786080a062f1eff1084b05f01e55034730440220079e834fb0ce7151260626ca8fdac95e719356e3304e6c970cbb17322600e91302206f438cce9d44c80a51ae4b1a8ba433f8ebd58903ce7b655b303eb3b09652589e01004d6321038c460f94107ee6b003836a3a0cd417247e037141a1788028ff6b1eb5b28bbee867029000b27521028c08394081fc7d73ea9c4990c20eb26ad2d557a4ce39bb68e878fac42f145a5b68ac046c0c00
It does look like it was revoked for whatever reason, meaning the funds got swept back to the LSP due to a bug: https://mempool.space/address/bc1q9z4zwn4ygv2sp60f3cqlrvk7w3thgjd7qlvr22qvsmpc09pm7dkq9gywm4
If you click into the 'channel closed' activity item, what does it say was the reason for closing?

It says ”Channel closed because user manually force-closed the channel", but I did not. There was a stuck pending payment to a Zeus address that triggered it I think.

Hi guys. Is there any way to recuperate my funds?

Still looking. So the channel was for about 1m sats, have you made any transactions or was it closed shortly after opening? Trying to figure out what the real balance was on either side before the channel close.

Hi there. I made 54 tx. The channel held 0,01071455 BTC. From my tx, it seems I spent 35992 sats (not including the fees). Fees seem to have been 1 sat for every tx. The channel close shows only 33951 sats going to another address, vs 35992 + 54 sats in my calculation.

Do you have an on chain address the LSP can send the funds to?

Sure, can I send it through chat on Element?

Yeah feel free to dm tony or I

LSP sent the funds


Improve JSON diff viewing in Traffic Portal

We should consider using https://github.com/benjamine/jsondiffpatch in order to diff CRConfig snapshots in Traffic Portal. It is MIT-licensed and appears to be a pretty healthy, popular project, so it would seem to be a reasonable dependency for Traffic Portal. We should evaluate its ability to see if it can handle relatively large JSON diffs well.
Right now the CRConfig snapshot diff can be a a bit of a burden to parse through and verify changes in Traffic Portal, and I think integrating this project into the CRConfig snapshot diff would help make diffs much easier to read.
For a live demo: https://benjamine.github.io/jsondiffpatch/demo/index.html

I think this all sounds great but I also think one of our problems is the mammoth size of CRconfig.json. Seems like all the server/ds assignments and ds/server assignments is what makes it so huge and problematic.

fyi, fast-json-patch seems to do the job well/fast so I'm going to rework the snapshot diff to use that. It may result in a different UI experience however, but I think that will be fine.

That looks good to me and also has the benefit of keeping the diffing functionality in the client as opposed to requiring a new crconfig-diff API endpoint.


something parse wrong.

function fn(){};
(function fn(){});

all of those are parse as
  Function(
      "fn",
      [],
      []
  )

but
(function fn(){  /* fn is *Effective* in this Scope */  }());
console.log(typeof fn);// undefined  -->  but lost effective when out of "(   )";

It doesn't work with js well.
var a = function(){
   var temp = 2;
   return function(init){
      return init + temp;
   }
};
console.log(a()(4));

It cannot point out what init is correctly.


Please support "DEFERRABLE INITIALLY DEFERRED"

Feature request
Is there any chance to have a Knex native way to set "DEFERRABLE INITIALLY DEFERRED" on a table with foreign key constraints ?
knex.schema.table('users', function (table) {
  table.integer('user_id').unsigned()
  table.foreign('user_id').references('Items.user_id_in_items').deferred().
})

@yodhcn PR for this would be most welcome, and if you need any help with finding the right spot in source or writing tests, would be more than happy to help.

hey @kibertoad  can I take this issue?

hey @yodhcn can you provide the compiled SQL query of above mentioned example.

Released in 0.95.8


fix: removal services config

removal of services config

removal of nsp

fix on dependencies

adding package-lock json

:tada: This PR is included in version 2.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


'reindent all lines': wrong indent with object literal

Testing #18958:

in the vscode repo, open 'themeService.ts'
run 'reindent all lines'.
Note the change on defaultThemeColors:

let defaultThemeColors: { [baseTheme: string]: IThemeSetting[] } = {
	'vs': [
	{ scope: 'token.info-token', settings: { foreground: '#316bcd' } },
	{ scope: 'token.warn-token', settings: { foreground: '#cd9731' } },
	{ scope: 'token.error-token', settings: { foreground: '#cd3131' } },
	{ scope: 'token.debug-token', settings: { foreground: 'purple' } }
	],

This is part of https://github.com/Microsoft/vscode/issues/19140#issuecomment-274913963

Reindent all lines and reindent selected lines now take care of this case. For other issues we still track in #19140.


Question regarding tcp proxy src ip

Hi,
I have a use case where I want to use envoy as a proxy to forward TCP & TLS traffic to a service (running in my k8s cluster).
for the following traffic flow: client -> envoy -> service
I need the src ip to remain the same (based on the client IP) for TCP & TLS traffic that is meant for my service.
is it possible? how do I configure such thing for TCP proxy? does envoy handles responses on the way back properly (if the src ip is the client's ip and not the host running envoy)

As far as I know, seems it's impossible? 🤔
cc @alyssawilk

Great, thanks!
I was actually trying to understand if envoy could be a suitable replacement to stunnel.
Good to know!


XCode gives compile error if I add icons

If I add the icons to the config.xml:
<platform name="android">
        <allow-intent href="market:*" />
        <icon src="res/android/default/icon.png" />
    </platform>
    <platform name="ios">
        <allow-intent href="itms:*" />
        <allow-intent href="itms-apps:*" />
        <icon src="res/ios/default/icon.png" />
    </platform>

and run gulp --cordova "run ios"
/.../platforms/ios/IOTile-M/Images.xcassets: The app icon set named "AppIcon" did not have any applicable content.

if I open Xcode, and go to the Icon page, I see all icons there (minus the iwatch ones), but also see in the button an icon-60.png with a (unassigned) label. But removing it did not work.
I also see that all icons give an xcode warning:
file:///.../platforms/ios/IOTile-M/Images.xcassets/: warning: Ambiguous Content: AppIcon.appiconset/icon-small.png is 640x640 but should be 29x29.

(You should use imagemagick or something to resize).
Any idea what the problem is?

I have to delete the AppIcon from within xcode and recreate, and then add icons manually to get it to work

cordova v6.2.0
$ gulp --cordova "platform add ios"
...
iOS project created with<EMAIL_ADDRESS>

I think the problem is, that this icon there has not the correct name and resolution for an app-icon.
The icons in the folder are for demo only.
But I get the point. @gruppjo maybe we can add an icon with the correct name/resolution containing our new logo? Using the Ionic-cli feature for generating icons/splash screens could also be an option.

This is a problem with the Cordova CLI that I've been able to track down recently: https://cordova.apache.org/news/2016/01/28/tools-release.html#comment-2490358811

I have a cordova project with a config.xml that has a single icon spec that builds beautifully on android.
Having just installed XCode and running this command: cordova build ios (cordova 6.3.1) I'm also getting the error mentioned above:

..../platforms/ios/.../Images.xcassets: error: The app icon set named "AppIcon" did not have any applicable content.

I was hoping that I would be able to use the cordova CLI for building both Android apps and iOS apps.
At this stage I don't know what to do.

Hi @RikdeBoer, some people are solving this problem by downgrading the ios platform to v3.x or manually adding their icons in Xcode. No fix from cordova at this point, apparently!

Any update on this?

I have to delete the AppIcon from within xcode and recreate, and then add icons manually to get it to work

Can you explain how did you do that ?


Added a cast for the deleted_at field

When creating a resource for the bans table, the deleted_at column needs to be cast to a datetime object. Without it, filtering deleted bans in the bannable's MorphMany relationship causes an error.

@rickmacgillis thank you for the contribution! Could you add tests for this case, please?

@antonkomarev All I did was add a cast for it. No extra tests are needed - the current test coverage should suffice.

Surely, we could just merge it, but it would be better to reproduce error in tests to prevent future issues with it.

@rickmacgillis I've tried to find an issue, but everything is working.
/** @test */
public function it_can_filter_deleted_bans()
{
    $user = factory(User::class)->create();
    factory(Ban::class)->create([
        'bannable_type' => $user->getMorphClass(),
        'bannable_id' => $user->getKey(),
        'deleted_at' => '2018-03-26 00:00:00',
    ]);
    factory(Ban::class)->create([
        'bannable_type' => $user->getMorphClass(),
        'bannable_id' => $user->getKey(),
        'deleted_at' => '2018-03-27 00:00:00',
    ]);
    factory(Ban::class)->create([
        'bannable_type' => $user->getMorphClass(),
        'bannable_id' => $user->getKey(),
        'deleted_at' => '2018-03-28 00:00:00',
    ]);
    factory(Ban::class)->create([
        'bannable_type' => $user->getMorphClass(),
        'bannable_id' => $user->getKey(),
    ]);
    $datetime = Carbon::parse('2018-03-27 00:00:00');

    $bans = $user->bans()->withTrashed()->where('deleted_at', '<=', $datetime)->get();

    $this->assertCount(2, $bans);
}

As well as:
$bans = $user->bans()->withTrashed()->get();
$filteredBans = $bans->where('deleted_at', '<=', $datetime);

Laravel Nova needs it to display the relationship with the bans table.

Now it makes sense. Thanks.

I will try to find out why this happens in Nova to cover it in tests and will push new release then.

Thank you.

Finally, I've found an issue. It's not filtering problem. It's an issue with Laravel\Nova\Fields\Date field.

Date field must cast to 'date' in Eloquent model.

public function __construct($name, $attribute = null, $resolveCallback = null)
{
    parent::__construct($name, $attribute, $resolveCallback ?? function ($value) {
        if (! $value instanceof DateTimeInterface) {
            throw new Exception("Date field must cast to 'date' in Eloquent model.");
        }

        return $value->format('Y-m-d');
    });
}

Glad I could help. Also look into the DateTime field, as that's the one causing the issue. It might extend that one, though.

Yes, they are both just waiting for the DateTimeInterface instance, good to know.