Bump version for Opensearch 1.1.0 release

Description

Bump plugin version from <IP_ADDRESS> to <IP_ADDRESS>
Bump OSD version to 1.1.0 from 1.0.0
Add changes from #140 (cherry-pick failing)
Add changes for URL validation from #132 and #134

Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #149 (c8c79ba) into 1.1 (040fa09) will increase coverage by 12.59%.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##                1.1     #149       +/-   ##
=============================================
+ Coverage     63.41%   76.01%   +12.59%
=============================================
  Files           101       32       -69
  Lines          4401     1947     -2454
  Branches        669      392      -277
=============================================
- Hits           2791     1480     -1311
+ Misses         1442      464      -978
+ Partials        168        3      -165

Flag
Coverage Δ

dashboards-reports
76.01% <100.00%> (ø)

reports-scheduler
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ashboards-reports/server/utils/validationHelper.ts
91.66% <100.00%> (ø)

...nsearch/reportsscheduler/util/SecureIndexClient.kt

...duler/resthandler/ReportInstanceListRestHandler.kt

...nsearch/reportsscheduler/metrics/BasicCounter.java

...tsscheduler/action/DeleteReportDefinitionAction.kt

...tsscheduler/action/CreateReportDefinitionAction.kt

...portsscheduler/action/GetReportDefinitionAction.kt

...tsscheduler/model/InContextReportCreateResponse.kt

...eportsscheduler/action/PollReportInstanceAction.kt

...portsscheduler/model/PollReportInstanceResponse.kt

... and 60 more

Continue to review full report at Codecov.

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

lgtm, could you also bump reports-dashboards in main to 1.1?

Yes, will post another PR to bump version


Add version number that commander will output for --version

I just wanted to check the used version but failed to do so...

Please update the readme and changelog

Not all changes need a changelog entry. And not every minor thing needs to be mentioned in a Readme.

ok


How to update CR when an operator is upgraded

How to update CR when an operator is upgraded #1354
THis is an existing question and not able to open the previous issue. so creating a new one.
https://github.com/operator-framework/operator-lifecycle-manager/issues/1354

You should structure your controllers to reconcile all CRs in the cluster when they start up. This accounts for:
a) Any changes brought in by the new operator version
b) Any changes that happened in the cluster when the operator was not running

If you're using a standard operator-sdk/kubebuilder/controller-runtime based operator, you're very likely already getting this for free.

For example I have 2 versions of operator

Operator V1 - CRD V1 - alpha1
Operator V2 - CRD V2 - alpha2

My Operator V1 is already deployed and there are 100 CRs for the alpha1 version.
Now if i publish a new version V2 of my operator to OLM's catalog, OLM will auto detect that the operator V2 is ready to be deployed and it deploys V2 version of Operator.
Here are few questions that i have:

I want to understand what happens to the 100CRs with this new version update?

Is OLM going to handle update of all these 100CRs to the new version as part of the operator update?
If yes how is the status of these 100CRs notified ?

Also after all these 100CRs are updated to latest version, is the Operator CRD V1 version going to be deleted?

can someone please provide inputs here?
I am looking for an answer for the below questions:

Does OLM provide capabilities to update CRs on Operator update(CRD)
If yes please share the reference documentation.
If not then is the operator controller solely responsible for doing this?

@joelanford can you please provide your inputs on this?
Can someone else please reply to the above question ?

@wslaasya When you publish a newer version of your CRD there are a couple of safe-guards in place that OLM runs before proceeding with the update. Primarily it will try to see if the existing set of CRs on the cluster can be converted to the new version. If it cannot, the update will be stopped. This is why you should generally use versioned CRDs, to establish migration.
The next thing that's important is that something on the cluster actually needs to update all the existing CRs to the new schema version of the newer CRD. This is in order to avoid data loss problems and described in more detail here
OLM doesn't do this because this is generally seen as a problem to be solved at the API server level. So the kube storage version migrator was developed as part of this KEP: https://github.com/kubernetes/enhancements/pull/2856 - development there is currently stalled.
So as of today your operator would be responsible for updating all its CRs to the newest CRD version. You should pay attention to a scenario where you remove a CRD version when going from one CRD spec in your package to the next. That's when the problems discussed in StoredVersion API might kick in. For now the best thing to do is not to remove CRD versions among operator updates and have your operator auto-migration all stored CR versions upon startup.

@wslaasya thanks for bringing this up -- we don't necessarily think that OLM should handle updating the CRs themselves, it's more up to the api-server. @awgreene worked on the storage version migrator proposalthat was referenced in the comment above that would help with this particular issue, but unfortunately it is held up at the moment for technical reasons.


Switch to using biomaRt for gene names for RNA-seq

Oops... I accidentally clicked on "ready for review", now I don't know how to undo that. Sorry!


Add a separate root project for Java only modules in common repo, basically to avoid accidentally using android build tools for building them

Video explaining what's going on: Video
Buildscript dependencies are applied to all modules in a project, and for us we apply the Android Build Tools to all of them because historically we've only had Android modules, however, now that we have Pure Java modules we must build them without the presence of Android Build Tools on the classpath. To achieve this, I've added a new root project called as common-java-root and this root project only consumes the Pure Java modules present in the common repo as part of its settings.gradle and within the buildscript of this project, we DON'T take a depedency on the android build tools. This allows the build to happen without their presence. Furthermore, I've updated the pipelines for the Pure Java projects (common4j, keyvault, labapi, LabApiUtilities) to build them from this new root project so that we can catch any build issues on the pipeline going forward.
Our older root project, which was present on the root of git repo, should continue to function as it did before and essentially that acts as an "Android" root project that consumes both our Pure Java modules as well as Android modules.

as a reminder: let's also create a PBI to track the work 'to properly restructure the repo'.

as a reminder: let's also create a PBI to track the work 'to properly restructure the repo'.

Created PBU: https://identitydivision.visualstudio.com/Engineering/_workitems/edit/1470833


get_block returns state_root: "" after initialization

Describe the bug
get_block returns state_root: "" after initialization
This causes some frameworks to fail.
Running the script below on starknet.py returns an error:
File "/home/amanusk/Code/Cairo/ctf-lisbon/cairo-paradigm-ctf/venv-0.10/lib/python3.8/site-packages/starknet_py/net/schemas/common.py", line 49, in _deserialize
    return int(value, 16)
ValueError: invalid literal for int() with base 16: ''

In 0.2.1 the state root was non-empty and no error was caused
Not reproducible on alpha-goerli

[X] This issue is only present on Devnet and cannot be reproduced on alpha-goerli (check the box if true).

To Reproduce
Steps to reproduce the behavior:

Install the latest version of starknet-devnet
Install the latest version of starknet.py
Run the script:

from starknet_py.net.networks import TESTNET
from starknet_py.net.gateway_client import GatewayClient

def main():

    port = 5050
    client = GatewayClient(f"http://<IP_ADDRESS>:{port}", TESTNET)
    print(client)
    block = client.get_block_sync(block_number=0)
    print(block)

if __name__ == '__main__':
    main()

Expected behavior
Get block #0 from the devnet
Screenshots
If applicable, add screenshots to help explain your problem. However, prefer providing copyable text.
Devnet version

I am using Devnet version: 0.3.0

System specifications

OS: Ubuntu
CPU:
Memory: 32GB
Python version: 3.8

Guess its a result of this.
Should it be 0x ?
https://github.com/Shard-Labs/starknet-devnet/blob/a0d2214898603fa122ce39d329088b946aff1b1f/starknet_devnet/blocks.py#L113

Thanks for the good bug report! You can test this via Devnet as a Docker container:

instructions: https://github.com/Shard-Labs/starknet-devnet/#run-with-docker
image: shardlabs/starknet-devnet:01f82adb1df88c801adb5bf37bdb453321c5348e


Blank line removal incompatible with black

If a class docstring contains a line that is too long and cannot be reformatted, passing flake8 can be done by appending a #noqa to the docstring.
The following was not modified with docformatter 1.5.1 and black when triggered by pre-commit:
class C:
    """Class.""" #noqa

    attr: int
    """Attr."""

With docformatter 1.6.1, this is changed to:
class C:
    """Class.""" #noqa
    attr: int
    """Attr."""

and pre-commit always fails because docformatter and black both apply opposite changes.
This behavior is triggered by the comment appended to the docstring.

Thank you very much!
When do you plan to release it?

Well, if I hadn't forgotten to git pull on the master branch after merging the PR that fixed this problem, it would've been part of v1.6.1! 🤦🏻♂   I just released v1.6.2 with this fix.


Bluetooth now works with OS X (darwin)

What issue do you have? Please be as thorough and explicit as possible.
Bluetooth can now be enabled on darwin OS X. It seem that the discovery problems have been resolved. I verified by removing the check that disabled bluetooth on darwin (line 490 of platform.js)  and installing @abandonware/noble.
Also reading https://github.com/abandonware/noble/issues/225 the discovery issue no longer occurs.
Details of your setup.

Do you use Homebridge (with config-ui?) or HOOBS?

Homebridge

Which version of Homebridge do you have?
v1.6.0

Which version of this plugin (homebridge-govee) do you have? Has the issue started since upgrading from a previous version?
v8.1.2

Which Govee devices do you have that are causing issues? Please include product models if applicable.
H7122

Please paste any relevant logs below.
[4/12/2023, 7:33:50 PM] [Govee] [BLE] client enabled.
[4/12/2023, 7:33:50 PM] [Govee] [Smart Air Purifier] initialising with options {}.
[4/12/2023, 7:33:50 PM] [Govee] [Smart Air Purifier] initialised with id [3A:8E:D4:AD:FC:19:C8:AC] [H7122].

actually it doesn't work as expected. need see what's wrong.

I keep having this issue when trying to sync everything using Homebridge and Govee on my MacBook.
The log is giving me this message every time:
[4/30/2024, 1:16:39 PM] [Govee] [BLE] disabling client as not supported on mac devices.
The 2 bluetooth devices I have (light strips) are connected to my HomeKit but don't actually respond to any actions made.
Is there a way around this?


start a campaign for companies to back OS

Start a campaign for companies to provide their team with allowances (or similar idea) for OSS they love/use. We’d like to turn this into a perk that companies feel they NEED to give to their employees if they want to hire them. It’s part of their recruitment effort.
Related: #105 and Gdoc for specifics
Ideas welcome.

This is still relevant.

opencollective.com/backyourstack


VS Code attempts to run WSL even with the WSL extension not installed

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.85.2
OS Version: Win11

Context:
The running of wsl.exe is prohibited in our organization. We have a security tool which blocks users from running it. Even though we have not enabled the WSL feature on Win11, nor have we installed the WSL extension into VS Code, VS Code attempts to run wsl.exe on startup which is failing due to our blocks. I suspect VS Code is running wsl.exe to check if its enabled but it shouldn't if the extension is not installed. I would request that VS Code not run wsl.exe by default.
Steps to Reproduce:

Create some way to restrict the running of wsl.exe
Install VS Code 1.85.2+ on Win11
Run VS Code

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.86.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

This must be coming from terminals.
For the remote WSL extension, we don't make any call to WSL.exe. For extension recommendations we only check for its existence.

/duplicate https://github.com/microsoft/vscode/issues/233618


move coffeeScript to the devDependencies section of the package.json

The only coffeeScript I saw was in the spec folder.

It is required in cli.js when the "--coffee" flag is passed.
https://github.com/mhevery/jasmine-node/blob/master/lib/jasmine-node/cli.js#L48

My bad. Not sure how I missed that one. Thanks.


Connection to discord timed out

I get this error whenever running vim, heres my .vimrc:
call plug#begin('~/.vim/plugged')

Plug 'scrooloose/nerdtree'
Plug 'ryanoasis/vim-devicons'
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
Plug 'jiangmiao/auto-pairs'

Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'

Plug 'drewtempelmeyer/palenight.vim'
Plug 'tpope/vim-fugitive'

Plug 'vimsence/vimsence'

call plug#end()

colorscheme palenight

let g:airline_theme = "palenight"
let g:palenight_terminal_italics=1

nnoremap <C-n> :NERDTreeToggle <CR>

let g:vimsence_small_text = 'Vim'
let g:vimsence_small_image = 'vim'
let g:vimsence_editing_details = 'Editing {}'
let g:vimsence_editing_state = 'Working on {}'
let g:vimsence_file_explorer_text = 'In NERDTree'
let g:vimsence_file_explorer_details = 'Looking for files'

I am on arch linux, vim version 8.2.2891.

Closing, it works now


json.decoder.JSONDecodeError: Expecting value: line 1 column 6067423 (char 6067422)

This error appears in the runtime. Could you have a look

I have encountered the same problem, do you have solved it?

This error appears in the runtime. Could you have a look

i also have this problem, do you have any solution?

Hi all,
I'm one of the lead maintainers of the ISIC Archive and the isic-cli, the official tool for downloading data from the Archive. The isic-cli didn't exist at the time this useful package was made, but given the lack of activity on this repo, I would recommend switching to it. We're actively maintaining the CLI for the foreseeable future and can respond to user issues.
P.S. @Miichael-tan That change might take care of the immediate error, but the underlying API has changed such that your fix won't produce the correct result.


Add *.log to .gitignore

:question: So we have a reference - can you clarify why these files would be created?

Ya... I ran MSBuild at the command line in the git repo with the /fl switch.

:+1:


Prevent infinite warning loops.

Prevent routerWarning from importing itself.
This was causing a "maximum call stack size exceeded" error for me (even when there is no warning -- falseToWarn in warning.js set to true)
Any thoughts?

You're getting this because of a webpack misconfiguration. See https://github.com/rackt/react-router/issues/2892.
That said, maybe we should merge this anyway – it's pretty low-cost and maybe saves users some pain.

Ah, thanks for the clarity! I followed your trail to the stackoverflow answer. Happy to leave this open for you to merge at your discretion.

I'm fine with merging this in. Thanks, @karenliu1!


Fix function type declarations.

Function<SomeType, AnotherType> does not mean anything for Closure Compiler.

looks like jscs does not like this closure annotation
#yolo

I don't know what jscs is but okay.


Reading Delta Tables in Fabric

Getting the following error:
IOException: IO Error: Parquet file is likely corrupted, cannot have dictionary offsets without seeing a non-empty dictionary first.

when reading a delta table in Fabric. No issues when reading the same table using spark.
When I choose a subset of columns the query will complete successfully ie:
# throws an error
duckdb.sql("select * from delta_scan('/lakehouse/default/Tables/<schema>/<table_name>'")

# completes without error
duckdb.sql("select col1, col2, from delta_scan('/lakehouse/default/Tables/<schema>/<table_name>'")

Will try to nail down the exact columns and their types that are causing issues but maybe someone else recognizes the error. Thanks!

This should be fixed through https://github.com/duckdb/duckdb/pull/14268. Would you mind trying again on duckdb v1.1.3?


Allow inferring rest element types in conditional types involving tuples

Search Terms
rest element infer tuple
Suggestion
Currently, inferring single elements of tuple types is possible using the infer keyword:
type FirstArg<T extends any[]> =
	T extends [infer R, ...any[]] ? R :
	T extends [] ? undefined :
	never;
type T1 = FirstArg<[number, 2, 3]>; // number
type T2 = FirstArg<[1, 2, 3]>; // 1
type T3 = FirstArg<["", 2]>; // ""
type T4 = FirstArg<[]>; // undefined

However it is not possible to infer the type of the remaining arguments in one go, except by resorting to functions:
type RestArgs<T extends any[]> =
	T extends [any, infer R[]] ? R : // this does not work - no way to specify that R should be an array!
	T extends [any] ? []] :
	never;

// this does
type RestArgs<T extends any[]> =
	((...args: T) => void) extends ((first: any, ...rest: infer S1) => void) ? S1
	: T extends [infer S2] ? []
	: T extends [] ? []
	: never;
type T1 = RestArgs<[1,2,3]>; // [2, 3]
type T2 = RestArgs<[1,2]>; // [2]
type T3 = RestArgs<[1]>; // []
type T4 = RestArgs<[]>; // []

I would like to see the possibility to infer rest types in tuples, e.g. like this (square brackets):
type RestArgs<T extends any[]> = T extends [any, infer R[]] ? R : never;

or like this (3 dots)
type RestArgs<T extends any[]> = T extends [any, infer ...R] ? R : never;

Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript / JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. new expression-level syntax)

I just ran into this issue myself and wanted to throw in my two cents about the syntax for how this would behave. Considering how this inference is written for function types and how rest elements of tuples are constructed:
type Tail<T> = T extends (head: any, ...tail: infer U) ? U : never;

type Rest = string[];
type Tuple = [any, ...Rest];

I would suggest the following syntax:
type Tail<T> = T extends [any, ...infer U] ? U : never;

The current workaround:
type Tail<T extends any[]> = ((...args: T) => any) extends ((
    _: infer First,
    ...rest: infer Rest
) => any)
    ? T extends any[] ? Rest : ReadonlyArray<Rest[number]>
    : []

@AlCalzone - Thanks for the examples FirstArg and RestArgs.  They inspired these additional examples:
export type LengthTuple<Tuple extends any[]> = Tuple extends (infer A)[] & { length: infer L } ?  L : 0;
export type LengthMinusOneTuple<Tuple extends any[]> = LengthTuple<TailTuple<Tuple>>;
export type LastItemOfTuple<Tuple extends any[]> = Tuple[LengthMinusOneTuple<Tuple>];
//Example of LastItemOfTuple<>
//export type TestLastItemType = LastItemOfTuple<[boolean, string, number]>; //number

Based on the above, it would be great to have something like:
type LastItemOfTuple<T extends any[]> = T extends [...any[], infer L] ? L : never;

The only doubt I have about the syntax, is that ...any[] feels like a rest operator, and of course the rule for rest operators in ES6 is that they can only appear at the end.  Clearly this is a case where for a finite length tuple, we can infer the last value.  Maybe the rule can be relaxed for Typescript types? -> because I have found utility for extracting the last type of a tuple in some contexts and the first in other contexts.

type Tail<A extends any[]> =
  ((...args: A) => any) extends ((h: any, ...t: infer T) => any) ? T : never

This works in TypeScript v4 (via variadic tuple types):
type Tail<T extends any[]> = T extends [any, ...infer U] ? U : never;

This seems like it can probably be closed, given the snippet shown above?

Not sure that works but I might be missing something here. For example
type Tail<T extends any[]> = T extends [any, ...infer U] ? U : never;
const xs = ["1", "2", "3"];
type T = Tail<typeof xs>; // never

Playground link

@futtetennista It fails in your example because typeof xs is not a tuple type (it's string[]). Here is an updated version that works:
const xs = ["1", "2", "3"] as const
type Xs = typeof xs
type Tail<T extends readonly any[]> = T extends readonly [any, ...infer U] ? U : never;
type TT = Tail<Xs>


Visualizer binaryImageStream WebSocket url

Hi Sebastien,
In VtkRenderer.js binaryImageStream url is set as
const wsbUrl = ${this.props.connection.urls}b;
That works for urls such as ws://127.0.1:/ws, but does not work for urls such as "ws://<IP_ADDRESS>/proxy?sessionId=5bd66ccf-2d58-11e6-9052-06fddeae017d".
Is anything need to change in Web/Python/vtk/web/server.py?
Thanks
Wei

The second kind of session url you described is designed to be handled by a webserver like Apache.  In that case, you may need to change your Apache rewrite rule to handle it a little differently.  The following example shows how I set mine up recently:
# ParaViewWeb websocket proxying
RewriteMap session-to-port txt:/blah/blah/proxy-mapping.txt
RewriteCond %{QUERY_STRING}     ^sessionId=(.*)&path=(.*)$ [NC]
RewriteRule    ^/proxy.*$  ws://${session-to-port:%1}/%2  [P]

Hope this helps.

Hi Scott,
It works. Thanks


T

In profile section it shows:
Playing A Game (it should be something like Listening to Apple Music)
Also in the status it shows Playing Apple Music more appropriate would be Listening to Apple Music

#28


WMPWSZConvert.dpr(1) Fatal: Line too long (more than 1023 characters)

Using Windows XP SP3 with Delphi 4 Professional installed. I don't see any lines in your source exceeding even 255 characters.
Also tried converting your source to ASCII from UTF-8 but doesn't work
I want to add the Skin chooser tab to my Windows Media Player 10 Beta

Is it possible that you cloned the project with Linux line endings? Delphi probably only supports Windows line endings.

Do you have all four update packs for Delphi 4 installed on your system?

If you're still having trouble to compile, I have just created a release that contains a compiled binary, let me know if it works.

Thanks. I was looking for the Delphi update pack but I couldn't find any downloads for it

Just in case you or anyone else still needs them, I have uploaded the Delphi 4 update packs to my website:

https://bmproductions.fixnum.org/software/delphi/d4cupd2.exe
https://bmproductions.fixnum.org/software/delphi/d4cupd3.exe
https://bmproductions.fixnum.org/software/delphi/d4u3menu.zip

I don't have the 1st update pack either but that update pack isn't a requirement to install pack 2 (I assume that pack 2 is cumulative).

Wait you were bmproductions? I just want to notify you that most features of WMP Plus! plugin works fine on Windows Media Player 9 although it's not officially supported.
(I'm using title bar customization and hotkeys)


How to prevent dead loop?

Hi, I am reading Structure and Interpretation of Computer Programs, and trying run the exercise using biwascheme. Met a dead loop in exercise 1.5:
Exercise 1.5: Ben Bitdiddle has invented a test to determine whether the in- terpreter he is faced with is using applicative-order evaluation or normal-order evaluation. He defines the following two procedures:
     (define (p) (p))

(define (test x y)
       (if (= x 0)
                0
                y))

Then he evaluates the expression
(test 0 (p))

What behavior will Ben observe with an interpreter that uses applicative-order evaluation? What behavior will he observe with an interpreter that uses normal- order evaluation? Explain your answer. (Assume that the evaluation rule for the special form if is the same whether the interpreter is using normal or applicative order: The predicate expression is evaluated first, and the result determines whether to evaluate the consequent or the alternative expression.)
I guess (test 0 (p)) gives 0 if normal-order is used; gives nothing if applicative-order is used. But turns out that biwascheme is using applicative-order and the program hangs!
Is it possible to let biwascheme give nothing instead of program hangs? Thanks very much!
https://sicp.jiwai.win/1.-building-abstractions-with-procedures/1.5.html

I think this is standard way of how Scheme works. SICP don't explain that but in order to make it not hand is to use macros:
(define (p) (p))

(define-macro (test x y)
       `(if (= ,x 0)
                0
                ,y))

(test 0 (p))

this will run, this is how Scheme works (test 0 (p)) is infinite loop in any Scheme. It may throw stack overflow is Scheme is not Tail Recursive.

I think this is standard way of how Scheme works. SICP don't explain that but in order to make it not hand is to use macros:
(define (p) (p))

(define-macro (test x y)
       `(if (= ,x 0)
                0
                ,y))

(test 0 (p))

this will run, this is how Scheme works (test 0 (p)) is infinite loop in any Scheme. It may throw stack overflow is Scheme is not Tail Recursive.

Thank you very much @jcubic ! Why does define (test x y) hangs but define-macro (test x y) returns 0? Does it mean that define-macro will force the normal-order applied?

Thank you very much @jcubic ! Why does define (test x y) hangs but define-macro (test x y) returns 0? Does it mean that define-macro will force the normal-order applied?

define-macro works in this way it pass literal code into the macro and then person that writ the macro can decide to inject it into output code that is returned from macro and then Scheme/lisp will execute the output (it's simplification but here it doesn't matter).
With macro you can modify the code with normal lisp functions you can use cons/append/set-car!/set-cdr! for instance.
so inside define-macro test the arguments looks like this:
(define-macro (test x y)
       ;;x == 0
       ;;but y is list (p) before it's called
       `(if (= ,x 0)
                0
                ,y))

(test 0 (p))

Check for instance this:
(define-macro (test x y)
       `(if (= ,x 0)
                ',y))

(test 0 (something-that don't exists))

there is quote before ,y so y never get executed it just return literal list. You can learn more about lisp Macros from two books (free to read online):

Let Over Lambda (you can buy it on Amazon)
On Lisp (you can print your own version on a cheap if you prefer dead tree version like me)

They are pretty advanced books about Macros (LOL is named hardcore book by the author IIRC)
Scheme also have different type of macros (lisp macros are not standard Scheme but lot of implementations have them) which are called hygienic macros. I know only one book that explain how to use them:

Sketchy Scheme old version can be read online for free at archive.org.

I highly recommend the book it's deep dive introduction to Scheme and how it works. You can learn a lot from it. But it don't expalin lisp macros only quasiquote syntax (those backticks and commas).

define-macro works in this way it pass literal code into the macro and then person that writ the macro can decide to inject it into output code that is returned from macro and then Scheme/lisp will execute the output (it's simplification but here it doesn't matter).
With macro you can modify the code with normal lisp functions you can use cons/append/set-car!/set-cdr! for instance.
so inside define-macro test the arguments looks like this:
(define-macro (test x y)
       ;;x == 0
       ;;but y is list (p) before it's called
       `(if (= ,x 0)
                0
                ,y))

(test 0 (p))

Check for instance this:
(define-macro (test x y)
       `(if (= ,x 0)
                ',y))

(test 0 (something-that don't exists))

there is quote before ,y so y never get executed it just return literal list. You can learn more about lisp Macros from two books (free to read online):

Let Over Lambda (you can buy it on Amazon)
On Lisp (you can print your own version on a cheap if you prefer dead tree version like me)

They are pretty advanced books about Macros (LOL is named hardcore book by the author IIRC)
Scheme also have different type of macros (lisp macros are not standard Scheme but lot of implementations have them) which are called hygienic macros. I know only one book that explain how to use them:

Sketchy Scheme old version can be read online for free at archive.org.

I highly recommend the book it's deep dive introduction to Scheme and how it works. You can learn a lot from it. But it don't expalin lisp macros only quasiquote syntax (those backticks and commas).

Thank you very much for the so detailed explanation! @jcubic .
Now I've got the point that define-macro will only expand upon invoke, it's a lazy evaluation so prevents the dead loop on this specific case because the 0 test circuit.

Thank you very much for the so detailed explanation! @jcubic .
Now I've got the point that define-macro will only expand upon invoke, it's a lazy evaluation so prevents the dead loop on this specific case because the 0 test circuit.


[2.1] Valueobject runaway v2.1

This fixes a bug, when valueobject is an empty element like  In this situation the deserializer did read one more, thus ending up a level higher than required
Backport PR #229 to 2.1 branch.

This old branch has Travis CI (which does not run any more)
I ran the unit tests locally with PHP 7.4
phil@phil-Inspiron-5468:~/git/sabre-io/xml$ ./bin/phpunit --configuration tests/phpunit.xml.dist
PHPUnit 6.5.14 by Sebastian Bergmann and contributors.

...............................................................  63 / 108 ( 58%)
.............................................                   108 / 108 (100%)

Time: 348 ms, Memory: 6.00MB

OK (108 tests, 126 assertions)


fix(content,dropdown,table): fix hbs attributes typos

addresses #882

Deploy preview for pf-next ready!
Built with commit 9fdd747b60f45bfa468e5d95a5c2a20d21571f07
https://deploy-preview-1061--pf-next.netlify.com


Day 301

Good morning! Here's your coding interview problem for today.
This problem was asked by Triplebyte.
Implement a data structure which carries out the following operations without resizing the underlying array:
add(value): Add a value to the set of values.
check(value): Check whether a value is in the set.
The check method may return occasional false positives (in other words, incorrectly identifying an element as part of the set), but should always correctly identify a true element.

Sounds very much like https://en.wikipedia.org/wiki/Bloom_filter


OSX: time value error

Here is the full log: Last login: Tue Aug 23 21:16:46 on ttys000
Csak-egy-MacBook-Air:~ Zsemle$ source activate syncplay
(syncplay) Csak-egy-MacBook-Air:~ Zsemle$ cd syncplay
(syncplay) Csak-egy-MacBook-Air:syncplay Zsemle$ ./syncplayClient.py
Traceback (most recent call last):
File "/Users/Zsemle/syncplay/syncplay/ui/GuiConfiguration.py", line 369, in _saveDataAndLeave
self.loadLastUpdateCheckDate()
File "/Users/Zsemle/syncplay/syncplay/ui/GuiConfiguration.py", line 281, in loadLastUpdateCheckDate
if self.lastCheckedForUpdates > datetime.strptime(self.config["lastCheckedForUpdates"], "%Y-%m-%d %H:%M:%S.%f"):
File "/Users/Zsemle/miniconda2/envs/syncplay/lib/python2.7/_strptime.py", line 332, in _strptime
(data_string, format))
ValueError: time data '@Variant(' does not match format '%Y-%m-%d %H:%M:%S.%f'
PLEASE HELP ME! I already tried with python 2.7 and with 3.5 but nothing changed.

Does it work fine if you run the Windows version via Wine?

I tried it on my PC and everything works fine but I would like to use it on my mac as well.

How about using the Mac with a Windows application emulator such as Wine for Mac?

In wineskin it crashes and I installed the vlc tool but in the simple wine i can't install that any other solution?

I don't use OSX so can't be of much more assistance. If you can find an active Python-OSX dev then please ask them to help resolve this issue.

I think I ran into the same issue, see #116 for further details.

This issue can be closed, since it is fixed by the patch applied on qt4 by cartr.

Closed as the issue should be resolved by https://github.com/Syncplay/syncplay/pull/143 and http://www.albertosottile.it/syncplay/2017/09/08/install-syncplay-on-macos-10-8/


Bugs in Converting RPC2XML

I was trying to supply my custom parameters to XMLRPC server running on Python, the parameters are not even converting to XML tree due to some bug. Here is the log of the process: link

Hey, sorry for ignoring this for so long :/
Is it still relevant?

It is, the readme example isn't working.


Fit() makes JPEG flips image backwards

Hey, I dont know every JPEG to this but you can try what i did, image is this http://i.imgur.com/nj235L8.jpg code I'm using is;
 $manager = new ImageManager(array('driver' => 'GD'));
 $img = $manager->make('image.jpeg');
$img->fit(262, 392);
$img->save('main/test.png');

Result: http://i.imgur.com/B9bVIgo.png

same problem with on upload on mobile picture

please solve this :(

You need to use the orientate() function. This reads the meta data of the image and rotates it to be upright.
$img->orientate()->fit(262, 392);


Update to Tadukoo Util Alpha v.0.2.1

Will need to wait until it is released, but can keep up-to-date on snapshots for now (they'll likely be released together, as that version was partially triggered due to changes desired in this project).

We're past this now...

We're past this now...


CNI: Install a global NetworkAttachmentDefinition

This simplifies installation and operation on OpenShift clusters. By having a global NetworkAttachmentDefinition installed on the default namespace users don't need to install them in each application namespace.
The pod injection - in the openshift profile - needs to point to the global resource in the default namespace for this to work.
With this change we can remove the last section in the OpenShift Setup page.

@jwendell: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
bbd9263777523f38b4a77bd8843613a4e7bf8cd5
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@jwendell: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
bbd9263777523f38b4a77bd8843613a4e7bf8cd5
link
true
/test release-notes

integ-ambient_istio
bbd9263777523f38b4a77bd8843613a4e7bf8cd5
link
true
/test integ-ambient

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@jwendell: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
bbd9263777523f38b4a77bd8843613a4e7bf8cd5
link
true
/test release-notes

integ-ambient_istio
bbd9263777523f38b4a77bd8843613a4e7bf8cd5
link
true
/test integ-ambient

integ-cni_istio
bbd9263777523f38b4a77bd8843613a4e7bf8cd5
link
true
/test integ-cni

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@jwendell: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-ambient_istio
bbd9263777523f38b4a77bd8843613a4e7bf8cd5
link
true
/test integ-ambient

integ-cni_istio
bbd9263777523f38b4a77bd8843613a4e7bf8cd5
link
true
/test integ-cni

unit-tests_istio
70861f0e0a3e45c4ab2b3ca3033cb83684f3701f
link
true
/test unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@jwendell: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-ambient_istio
bbd9263777523f38b4a77bd8843613a4e7bf8cd5
link
true
/test integ-ambient

integ-cni_istio
bbd9263777523f38b4a77bd8843613a4e7bf8cd5
link
true
/test integ-cni

unit-tests_istio
70861f0e0a3e45c4ab2b3ca3033cb83684f3701f
link
true
/test unit-tests

lint_istio
70861f0e0a3e45c4ab2b3ca3033cb83684f3701f
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

I'll work on a less intrusive approach.

I'll work on a less intrusive approach.

:+1: this didn't seem too bad to to me either if we have some way to make it optional, so if there isn't an alternative I don't mind


require @platformatic/sql-openapi as dependency

Fixes #2067

Thanks but I've reverted https://github.com/platformatic/platformatic/pull/2061 because it's incorrect.


Alias imports

Fixes Issue
Resolved conflicts for https://github.com/EddieHubCommunity/LinkFree/pull/4543

Changes proposed

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Thanks for looking Amanda, yeah it is huge. Maybe checkout the branch and have a play with the web site and make sure nothing is broken - this has prompted me to write more automated tests that check all the main features

Thanks for looking Amanda, yeah it is huge. Maybe checkout the branch and have a play with the web site and make sure nothing is broken - this has prompted me to write more automated tests that check all the main features

Thank you Amanda 👍

Thank you @eddiejaoude for resolving the conflicts & merging this.
In my PR, I had added the path alias only for components folder, but we can add it for other folders too.
Also, since I'm new to testing, I'd love to see automated tests for this. Would be a great learning experience. :)

Thank you for starting these changes off, yes I added more folders because using aliases was a great idea 👍
Yes we need to really have a basic test for each page to show that they display with no errors, then we can build on them further later - we use Playwright and we have this setup already with some examples. Any questions you can ask in Discord help channel in EddieHub


Docs: README.md invalid markdown for links in Docs issue

The links in README.md for the Docs section is now shown as hyperlink, this is cause by the document has spaces, which markdown could not treat it as hyperlink

Page URL: https://github.com/microsoft/TypeScript-Website
Issue: README.md Docs section, hyperlink does not work
Recommended Fix: fix the spacing issue on the link or avoid having space in filename.
Browser: Google Chrome, Edge

I will take this

I will take this

I have created a pull-request already https://github.com/microsoft/TypeScript-Website/pull/1194

as #1194 has been merged and links is shown correctly, I will close this issue


[.NET WPF] Possible race condition in ParseContext.cs; causing 100% CPU usage in Azure Bot Service

Platform
.NET WPF

might be the same as #3509


⚠ Avatar API Endpoint has degraded performance

In ae45aa3, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 1748 ms

Resolved: Avatar API Endpoint performance has improved in f4eacfc after 7 minutes.


Is there a way to extract underlined text?

Hi, I cannot find a way to extract underlined text, cant it be done with pdfminer.six?
Thank you!

Any news on this issue/question ?

I'm not sure if this is possible, but I have some time in the next couple of days to look at this.
@alejandrofm, do you have a pdf that you want to apply this on and that you can share?

@pietermarsman
It seems that underline doesn't gets passed as an attribute of the character so filtering text with underline attribute can't be done.
The html output representing underline in attached sample is

and the text is

SAMPLE

Underline can be extracted separately(height:0px) and the text above the coordinates needs to be extracted. Also in that case since the width (36px/38px)for underline and the text may come to be different, few errors may occur.
Also have attached a sample pdf for future reference.
SAMPLE.pdf

As far as I can tell (after parsing some pdf's with underlined text) the underline is just a rectangle.  In the pdf's that I studied the underline was added in the pdf using the l (lineto) command followed by a f (fill) command. Pdfminer parses this as a LTRect object (here).
So I agree with @fakabbir that the underline is not a property of the text or font, and thus it is currently not possible to recognise if the text is underlined or not.

Closing this due to lack of activity and it seems the answer to the question is (unfortunately) "no this is not possible".
Feel free to comment/re-open if you disagree.

https://github.com/0xabu/pdfannots/blob/master/pdfannots.py this script can extract highlight, comments and understrikes.

https://github.com/0xabu/pdfannots/blob/master/pdfannots.py this script can extract highlight, comments and understrikes.

The text can be underlined using annotations (which are detected by the script) or by setting "underlined" property in the editor, creating a line drawing beneath the text line (these are not detected). Here's how it looks in the PDF-XChange Editor:

Green line is annotated, black is set as a text property.


updated token info

[x] I will not ping the Discord about this pull request.

Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR
At minimum each entry should have

Token Address:
Token Name:
Token Symbol:
Logo
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

no, website, uses Solana logo


Fix challenge/response in keria

Perhaps this issue better belongs in KERIA?  😬  (I'm creating one over there so you can close this one)

Fixed in WebOfTrust/KERIA#111 for KERIA


[Bug] Make Mouse-Over text appear in front of trim

As shown above.

Will try to get this up ASAP, but should be resolved on next release. :)

Will try to get this up ASAP, but should be resolved on next release. :)

Beautiful.


Remove Regex::PCRE2#finalize redefinition

This redefinition made very simple snippets like below run out of memory eventually:
while true
  Regex.new("")
end

It might be related to #13306 and some other recent memory blow-ups too.

d60fe6c: LibPCRE2.code_free can be called freely even in Crystal's interpreter, because it is a regular lib fun, not an extern Proc-typed variable, unlike LibPCRE.free (#12495).


feat(validation): dirty + non empty single select

Proposed Changes
Add dirty and non empty validation for single select
Acceptance Criteria

[x] The proposed changes are covered by unit tests
[x] The potential breaking changes are clearly identified
[x] README.md is adjusted to reflect the proposed changes (if relevant)

@gdostie or @rosalie-liu, have some time to review this? :sweat_smile:

Cool, thank you! If ready, merge! :smile:


Mod cause server Utils to crash

crash-2020-10-29_22.19.21-client.txt

I'm not sure how you arrived at that conclusion. The crash log is saying that an undergarden:stoneborn entity is somehow causing an explosion, which is crashing at Server Utils com.github.elrol.ElrolsUtilities.events.BlockEventHandler.
Unfortunately, I cannot find any reference to this class in Server Utilities source code to confirm my suspicions. I highly recommend you report the issue to either Server Utilities, or The Undergarden as they seem to be involved. I have asked the developers of the former about this to see if they have anything to add.
Any more info would be appreciated as I'm pretty sure this is not Chocolate's bug.

After asking the author, this sounds like it's probably an issue with Server Utilities and should be reported as such. I'm closing this as I see nothing that Chocolate is doing to cause this, nor anything I would be able to do to fix this.

The issue isnt my mod. I am just adding a few checks to make sure that mods that dont implement things properly dont crash the server.
One of my more active testers has over 200 mods and it was working fine. He reported the issues after adding your mod. So something must not be playing well together. Either way i will attempt to fix the issues introduced by mod conflicts.

If that is the case, I'd like to see anything in there that would point to it being Chocolate's error. I fix two biome serialization bugs in vanilla. Both of which, if they throw exceptions (which they have been written to do in error states), will clearly identify that Chocolate has thrown them. i.e. here.
However, looking at that crashlog

There's nothing to do with biomes, or chunk serialization
Chocolate isn't even in the stack trace, and moreover,
Chocolate isn't even in the included mod list. There's no evidence whatsoever that chocolate was even included in the server at time of crash, let alone caused it, let alone any indication of how to fix it.

Is there an actual issue here and the wrong crash log was uploaded perhaps?

crash-2020-10-30_18.55.53-client.txt
latest.log
debug.log
As soon as I put this Mod into my pack, it crashes even on the new update

That debug log is very interesting. A couple things that stand out:
[30Oct2020 19:18:22.881] [main/WARN] [mixin/]: Error loading class: net/minecraftforge/registries/ForgeRegistryEntry$UncheckedRegistryEntry (java.lang.ClassNotFoundException: null)

This is due to the fact Chocolate was built against Forge 34.1.33, which introduced this UncheckedRegistryEntry. However I have made a mistake and not set the required Forge version in the mods.toml to this version. As per the log, this is currently using Forge 34.1.25. So there is issue no. 1.
java.lang.NoClassDefFoundError: Could not initialize class net.minecraft.util.registry.Registry
	at net.minecraft.item.ItemStack.lambda$static$3(ItemStack.java:77) ~[?:?] {re:mixin,re:classloading,xf:fml:apotheosis:apothitemusehook,pl:mixin:APP:forbidden_arcanus.mixins.json:ItemStackMixin,pl:mixin:APP:quark.mixins.json:ItemStackMixin,pl:mixin:A}

This is also highly concerning. This would seem to indicate that a transformer has ran into a conflict, although nothing here points to Chocolate being the cause. (as this is transforming ItemStack.
So: update your forge version to 34.1.33. I will make chocolate require it as of the next build. If this still crashes, then post the debug.log again and we can investigate, capiche?

@alcatrazEscapee I cant update my forge version as Mods are still crashing in my pack cause of the new forge breaking changes

grumbles incoherently
Well then I'll see what I can do.

Well if this helps so far out of 70 mods + yours Immersive Engineering crashes

Okay, the process of backporting through Forge versions begins...
First step: Remove the unnecessary reference to UncheckedRegistryEntry. It now compiles against 34.0.0. Fantastic! Except now it crashes on anything lower than 34.1.31, because guess what - this mod relies quite a lot on a fix added in that version (one that I had made to Forge).
So there may be more bodging required...
Although in the meantime, identifying which mods are broken on newer versions of Forge and reporting it to them so they can update will always be helpful :)


Text is black, and very hard to read

Describe the bug
Open branch menu, observe text color "Local branches", black on a dark background, should be fixed
Screenshots

Application:
WebStorm

The same is in settings

@matijav6 if I use some theme, I expect that everything should work "from the box", no?

I pushed version 1.3 to the plugin repository: https://plugins.jetbrains.com/plugin/17418-foundation-theme/versions/stable/155120. Let me know if you see any issues with this.
@matijav6 thanks for the tip on fixing this.

@espositocode thanks


docs: correct readme format

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
Correct readme and clippy
Checklist

[ ]  I have written the necessary rustdoc comments.
[ ]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

also need to rename .github/pr-title-breaking-change-lable-config.json to .github/pr-title-breaking-change-label-config.json.
lable to label


Yosys crashes while evaluating the Ackermann function

While writing a code golf stack exchange entry, I found this amusing bug.
Steps to reproduce the issue
With the following Verilog testbench as ackermann.v:
module test();

function automatic[31:0]a;input[31:0]m,n;a=m?a(m-1,n?a(m,n-1):1):n+1;endfunction

initial begin
    $display("%d", a(3,10));
end

endmodule

run yosys ackermann.v.
Expected behavior
Either Yosys evaluates the constant - 8189 - correctly, or else fails gracefully while evaluating it.
Actual behavior
1. Executing Verilog-2005 frontend: ackermann.v
Parsing Verilog input from `ackermann.v' to AST representation.
Generating RTLIL representation for module `\test'.
Segmentation fault (core dumped)

GDB shows that Yosys enters an infinite loop while evaluating it:
#7  0x00000000006911dd in Yosys::AST::AstNode::has_const_only_constructs (this=0xf5c500,
    recommend_const_eval=@0x7ffffffe9140: false) at frontends/ast/simplify.cc:3703
#8  0x00000000006911dd in Yosys::AST::AstNode::has_const_only_constructs (this=0xf55860,
    recommend_const_eval=@0x7ffffffe9140: false) at frontends/ast/simplify.cc:3703
#9  0x00000000006911dd in Yosys::AST::AstNode::has_const_only_constructs (this=0xf5c2a0,
    recommend_const_eval=@0x7ffffffe9140: false) at frontends/ast/simplify.cc:3703
#10 0x00000000006911c0 in Yosys::AST::AstNode::has_const_only_constructs (this=0xf5c8c0,
    recommend_const_eval=@0x7ffffffe9140: false) at frontends/ast/simplify.cc:3700
#11 0x00000000006911dd in Yosys::AST::AstNode::has_const_only_constructs (this=0xf5c500,
    recommend_const_eval=@0x7ffffffe9140: false) at frontends/ast/simplify.cc:3703
#12 0x00000000006911dd in Yosys::AST::AstNode::has_const_only_constructs (this=0xf55860,
    recommend_const_eval=@0x7ffffffe9140: false) at frontends/ast/simplify.cc:3703
#13 0x00000000006911dd in Yosys::AST::AstNode::has_const_only_constructs (this=0xf5c2a0,
    recommend_const_eval=@0x7ffffffe9140: false) at frontends/ast/simplify.cc:3703
#14 0x00000000006911c0 in Yosys::AST::AstNode::has_const_only_constructs (this=0xf5c8c0,
    recommend_const_eval=@0x7ffffffe9140: false) at frontends/ast/simplify.cc:3700
#15 0x00000000006911dd in Yosys::AST::AstNode::has_const_only_constructs (this=0xf5c500,
    recommend_const_eval=@0x7ffffffe9140: false) at frontends/ast/simplify.cc:3703
#16 0x00000000006911dd in Yosys::AST::AstNode::has_const_only_constructs (this=0xf55860,
    recommend_const_eval=@0x7ffffffe9140: false) at frontends/ast/simplify.cc:3703
#17 0x00000000006911dd in Yosys::AST::AstNode::has_const_only_constructs (this=0xf5c2a0,
    recommend_const_eval=@0x7ffffffe9140: false) at frontends/ast/simplify.cc:3703
#18 0x00000000006911c0 in Yosys::AST::AstNode::has_const_only_constructs (this=0xf5c8c0,
    recommend_const_eval=@0x7ffffffe9140: false) at frontends/ast/simplify.cc:3700
#19 0x00000000006911dd in Yosys::AST::AstNode::has_const_only_constructs (this=0xf5c500,
    recommend_const_eval=@0x7ffffffe9140: false) at frontends/ast/simplify.cc:3703
#20 0x00000000006911dd in Yosys::AST::AstNode::has_const_only_constructs (this=0xf55860,
    recommend_const_eval=@0x7ffffffe9140: false) at frontends/ast/simplify.cc:3703

and stack-overflows.

Is that an infinite loop or just recursion that's too deep?

I'd say infinite loop, because of the repeating
#17 0x00000000006911dd in Yosys::AST::AstNode::has_const_only_constructs (this=0xf5c2a0,
    recommend_const_eval=@0x7ffffffe9140: false) at frontends/ast/simplify.cc:3703
#18 0x00000000006911c0 in Yosys::AST::AstNode::has_const_only_constructs (this=0xf5c8c0,
    recommend_const_eval=@0x7ffffffe9140: false) at frontends/ast/simplify.cc:3700
#19 0x00000000006911dd in Yosys::AST::AstNode::has_const_only_constructs (this=0xf5c500,
    recommend_const_eval=@0x7ffffffe9140: false) at frontends/ast/simplify.cc:3703
#20 0x00000000006911dd in Yosys::AST::AstNode::has_const_only_constructs (this=0xf55860,
    recommend_const_eval=@0x7ffffffe9140: false) at frontends/ast/simplify.cc:3703

in the stack trace.

My guess is that yosys is trying to determine whether a() is a "constexpr" (to borrow C++ terminology) function, and to do that, it recursively calls a check for whether a() is a "constexpr" function — it's not even doing the actual evaluation yet.

I'm actually wondering if this bug is #247 from way back in the Yosys bug tracker.

With #2518 and #2586, this issue is almost fixed. On Yosys master, I can now correctly evaluate a(3, 6) = 509, but this takes over 90s on my machine. I would imagine venturing much higher would be intractable without addressing some inefficiencies in the elaboration of constant functions, but it may not be worthwhile to try to optimize for this case.

I mean, 90 seconds is much better than a crash?

Mostly I wanted to highlight that it took 90s on a(3, 6), whereas the original test case used a(3, 10), which is probably still intractable with the current version. However, I am comfortable with the current behavior, especially given that it will still print:
Warning: Deep recursion in AST simplifier.
Does this design contain insanely long expressions?

(Should we rephrase that message?)

@whitequark Although the first line already mentions recursion, it may be more clear if we add "or excessive recursion" to the second line given the recent extensions.


Adding ShadCn Toast in Project

@punyakrit please add a description about this issue and would like to work on this issue under gssoc . Please assign this issue to me .

adding toast whereever required if login and setting up username

@punyakrit can you assign it to me if it has not been finished?

@vaibhavi-singh-673 i had exams so i couldn't finish it but now they are over so i am working on it and will be done soon. Kindly search for another issue.


Option for Train-Validation-Test Split

It would be nice if I can set dataset split percents in the UI and the exporting takes care of it.

Any update on this?

@GeorgeVJose @rgaiacs
I've implemented Add or Modify Data Field action for the Data Manager:
https://github.com/heartexlabs/label-studio/pull/2558

Install LS from the latest develop branch.

Run LS with environment variable EXPERIMENTAL_FEATURES=1:

EXPERIMENTAL_FEATURES=1 label-studio

Now you can select all tasks and run Add or Modify Data Field action, then use

choices(['train', 'test', 'valid'], [0.9, 0.05, 0.05])

as the expression.

hi is this still an experimental feature?

@makseq does this still work?

For anyone struggling with the filtering not working or showing inconsistent results, try going to managers.py and passing the "only_undefined_field" parameter as False on preprocess_field_name() function calls. It normally grabs it from the project and I noticed that mine was always True so it was ignoring other custom data fields and filtering on the original "data" field.

Is there any (simple) way to change the split value (e.g. from "train" to "valid") for a particular task?


EDURED-165: Sync language landing for onboarding page

Pull Request Checklist

[x] I have added proper commit messages
[x] I have updated tests and documentation
[x] I ran the tests
[x] I provided the ticket number as PR title
[x] I have assigned the required reviewers

Short Description of Change
Scan QR button on landings page now says Scan like the Android app

@risinggalaxy It should be enough to edit-and-commit EduID/localizations.yaml, the GHA should take care of the rest


Black screen when start dashing

Hey ,
Dashing was worked fine until something was crashed ( i really don't know why )
When i connect to the dashing i'm getting black screen without any widgets .
http://IP:3030/assets/application.js return this error :
throw Error("NoMethodError: undefined method `close!' for nil:NilClass\n  (in /FULL_PATH/assets/javascripts/application.coffee)")
I didn't touched this file .
I'm using centos 6 server
ruby - ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
Please help me to fix this issue .
Thanks ,
Amit Daniel

Fixed !
delete the Gemfile.lock
edit Gemfile file
add to Gemfile  :
gem 'therubyracer'
Save + Exit & Run bundle install
Good luck |!

Thanks for updating with a solution, can you please close this issue?

I had the same problem, but in my case downgrading coffee-script-source to 1.8.0 did the trick. Source: http://stackoverflow.com/questions/28312460/object-doesnt-support-this-property-or-method-rails-windows-64bit


[Feature Request] Support for 2345 Browser

Describe the bug
2345是基于chrome的，但换了方法，貌似用到了AES，这里有文章
https://zhuanlan.zhihu.com/p/83762847
Additional context
希望可以添加

Ditto, can this be supported? I've searched the net and found no decryption analysis articles on this browser, and the outrageous thing is that it encrypts BookmarkV3 as well.🤔


compress/gzip: doc: consistently (un)capitalize gzip in the docs

The docs for gzip mostly keep "gzip" lowercase except for four references to "GZIP". Wikipedia only refers to "gzip" as lowercase, and I think we should too.

seems like a won't fix.


Issue with import_asset in middleman server mode

Hi, I'm running into an issue when including assets with sprockets.import_asset in my middleman config.rb.
I'm using a bower library that includes a couple of images and fonts in addition to the js and scss. The library uses scss functions like image-url to access these assets, so the page is looking for them in my root images dir /images.  Reading through this section of the docs it seems like sprockets import_asset is what I need to copy over the relevant assets.
I added a line like:
sprockets.import_asset('slick.js/slick/ajax-loader.gif') {|x| 'images/ajax-loader.gif'}

When I run middleman build it's working and copying the image to the expected location. But when running middleman server mode, I still get a 404 for the asset.
The weird thing is it's a different page than for something that doesn't exist at all - before I added that line I was getting a 404 with an html page saying File Not Found ... If this is an an asset from a gem, add sprockets.import_asset 'ajax-loaders.gif' to your config.rb which is an error from middleman-sprockets, but now I get a 404 and the non-html text "Not Found".
Any idea what's going on?

Nope, but it definitely sounds like a bug. Will look in to it.

Actually it looks like this has been fixed, sorry for the confusion. I'm using the latest middleman so assumed I had the latest code but my middleman-sprockets was at 3.3.x, when I manually updated to 3.4.1 it's now working.


Add Tailwind CSS framework to our project

Install Node. Node comes with NPM called node package manager where you manage dependencies.
more info regards node and NPM here: https://medium.com/@khazifire/how-to-add-tailwind-css-to-your-html-project-ef06fcd8dcc9

Add Tailwind CSS to HTML using npm for a Custom Build(Better for larger projects)
or

add Tailwind CSS to HTML using a CDN Link(better for trying out tailwind, and suitable for smaller projects)

We will be using NPM to add tailwind as this will be of greater use for us.

I recommend this doc for whoever wants to jump on this

@Martinekong and I completed this task as this had to be done in order for us to edit the theme in the config file. See: https://github.com/NoroffFEU/edu-gate/issues/160


[FLINK-18120] Don't expand documentation sections by default

This is basically a revert of FLINK-16041. The idea seemed good at the
time but with more sections being added this just looks too unwieldy
when you first open the docs

+1
This makes sense. The docs page currently shows too much contents immediately, which can be overwhelming.

Thanks for the review! 🍵


Add missing credentials to CI

geopy tests against tens of geocoding services which regularly change their usage policies and disable/revoke api tokens. This issue is there to track the current status until the 100% of geocoders would be tested again.
The following credentials are currently missing in CI:

[ ] algolia -- started to require my billing information which I'm not willing to provide.
[ ] azure -- my account has been disabled.
[ ] mapquest + openmapquest -- "There was an error fetching your plan's information", sent a support issue via a feedback form.
[ ] opencage -- ??? "invalid password".
[x] pickpoint -- my account has been switched to a Trial one, sent an email to<EMAIL_ADDRESS>

Any updates on the openmapquest issue?

Not quite.
I've got a nonsense response from them which basically tells that they are sunsetting the Nominatim-based API. No word on the "plan information" error though. I didn't have time to write them a thoughtful reply yet.


Update static_graph.cc

set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number

Why is this good?

This is used for memory optimization, and usually small number is good

python lstm_bucketing.py
Summary of dataset ==================
bucket of len  10 : 19479 samples
bucket of len  20 : 19336 samples
bucket of len  30 : 12208 samples
bucket of len  40 : 3962 samples
bucket of len  50 : 845 samples
bucket of len  60 : 160 samples
Summary of dataset ==================
bucket of len  10 : 1531 samples
bucket of len  20 : 1518 samples
bucket of len  30 : 980 samples
bucket of len  40 : 322 samples
bucket of len  50 : 65 samples
bucket of len  60 : 10 samples
2016-04-09 11:37:06,438 Start training with [gpu(0)]
[11:37:06] /home/linker/mxnet/src/symbol/static_graph.cc:383: Memory efficient gradient aggregation on... to disable, set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number
[11:37:06] /home/linker/mxnet/src/symbol/static_graph.cc:383: Memory efficient gradient aggregation on... to disable, set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number
[11:37:06] /home/linker/mxnet/src/symbol/static_graph.cc:383: Memory efficient gradient aggregation on... to disable, set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number
[11:37:06] /home/linker/mxnet/src/symbol/static_graph.cc:383: Memory efficient gradient aggregation on... to disable, set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number
[11:37:06] /home/linker/mxnet/src/symbol/static_graph.cc:383: Memory efficient gradient aggregation on... to disable, set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number
[11:37:06] /home/linker/mxnet/src/symbol/static_graph.cc:383: Memory efficient gradient aggregation on... to disable, set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number
[11:37:06] /home/linker/mxnet/src/symbol/static_graph.cc:383: Memory efficient gradient aggregation on... to disable, set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number
[11:37:06] /home/linker/mxnet/src/symbol/static_graph.cc:383: Memory efficient gradient aggregation on... to disable, set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number
[11:37:06] /home/linker/mxnet/src/symbol/static_graph.cc:383: Memory efficient gradient aggregation on... to disable, set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number
[11:37:06] /home/linker/mxnet/src/symbol/static_graph.cc:383: Memory efficient gradient aggregation on... to disable, set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number
[11:37:06] /home/linker/mxnet/src/symbol/static_graph.cc:383: Memory efficient gradient aggregation on... to disable, set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number
[11:37:06] /home/linker/mxnet/src/symbol/static_graph.cc:383: Memory efficient gradient aggregation on... to disable, set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number
[11:37:06] /home/linker/mxnet/src/symbol/static_graph.cc:383: Memory efficient gradient aggregation on... to disable, set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number
[11:37:06] /home/linker/mxnet/src/symbol/static_graph.cc:383: Memory efficient gradient aggregation on... to disable, set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number
[11:37:06] /home/linker/mxnet/src/symbol/static_graph.cc:383: Memory efficient gradient aggregation on... to disable, set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number
[11:37:06] /home/linker/mxnet/src/symbol/static_graph.cc:383: Memory efficient gradient aggregation on... to disable, set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number
[11:37:06] /home/linker/mxnet/src/symbol/static_graph.cc:383: Memory efficient gradient aggregation on... to disable, set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number
[11:37:06] /home/linker/mxnet/src/symbol/static_graph.cc:383: Memory efficient gradient aggregation on... to disable, set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number
[11:37:06] /home/linker/mxnet/src/symbol/static_graph.cc:383: Memory efficient gradient aggregation on... to disable, set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number
[11:37:06] /home/linker/mxnet/src/symbol/static_graph.cc:383: Memory efficient gradient aggregation on... to disable, set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number
[11:37:06] /home/linker/mxnet/src/symbol/static_graph.cc:383: Memory efficient gradient aggregation on... to disable, set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number
[11:37:06] /home/linker/mxnet/src/symbol/static_graph.cc:383: Memory efficient gradient aggregation on... to disable, set MXNET_EXEC_INPLACE_GRAD_SUM_CAP to big number

This was an warning to enable the efficient aggregation and save memory. The message was a hint for this experimental feature. It is likely you can benefit from switching it on


Fixed issue #401

Sorts correctly & enables genes without evidence to show.
Works correctly, apologies for reformatting causing the large diff. Changes in OndexServiceProvider is in line 705, method getScoredGenesMap - see Public Map<ONDEXConcept, Double> getScoredGenesMap(Map<ONDEXConcept, Float> hit2score)
Altered use of ValueComparator and TreeMap to simply sorting via map stream - see below:
sortedCandidates = scoredCandidates .entrySet() .stream() .sorted(Collections.reverseOrder(Map.Entry.comparingByValue())) .collect( toMap(Map.Entry::getKey, Map.Entry::getValue, (e1, e2) -> e2, LinkedHashMap::new)); // Sort the candidate values
Also ensured that the user genes are added back to the geneMap

thoughts on this @mdonepudi , we can pull this to close issue #401 if it doesn't conflict at your end.. would be good to update dockerhub too with this and location fix.


feat: Yatline Support

Hi, with yatline.yazi's v0.3.0 support. I implemented an add-on system and I was planning to
make a git add-on but I saw your plugin and decided to ask you if I can add a support for yatline.
If you approve it, I write the implementation already so I can open a pull request right away.
Moreover, githead still be usable even if yatline is not plugged.

Yes, go ahead, you can use it. I'll approve the PR's.


Remove prophet4j resource files

The problem referenced here is caused by Coming loading resource files with the File API (https://github.com/SpoonLabs/coming/issues/232).
After this issue is resolved, the files can be safely deleted

@SophieHYe WDYT?


cant make a mob type as "creature"

I get shown this build log each time i try to set a mob as creature, i have all the right versions together and working, have tried on ther models and vanilla models and yet does not seem to work, any ideas? Most likely a simple error on my side but unsure how to resolve.
Executing Gradle task: build
Build info: MCreator 2023.3.36712, forge-1.20.1, 64-bit, 8023 MB, Windows 11, JVM 17.0.7, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2023-11-21-02:21:01

Task :compileJava FAILED
[C:\Users\44793\MCreatorWorkspaces\project\src\main\java\net\mcreator\project\entity\OstrichEntity.java:175](file:///C:/Users/44793/MCreatorWorkspaces/project/src/main/java/net/mcreator/project/entity/OstrichEntity.java:175): error: cannot find symbol
(entityType, world, reason, pos, random) -> (world.getBlockState(pos.below()).getMaterial() == Material.GRASS && world.getRawBrightness(pos, 0) > 8));
^
symbol:   method getMaterial()
location: class BlockState
[C:\Users\44793\MCreatorWorkspaces\project\src\main\java\net\mcreator\project\entity\OstrichEntity.java:175](file:///C:/Users/44793/MCreatorWorkspaces/project/src/main/java/net/mcreator/project/entity/OstrichEntity.java:175): error: cannot find symbol
(entityType, world, reason, pos, random) -> (world.getBlockState(pos.below()).getMaterial() == Material.GRASS && world.getRawBrightness(pos, 0) > 8));
^
symbol:   variable GRASS
location: class Material
2 errors
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':compileJava'.

Compilation failed; see the compiler error output for details.

Try:

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

Get more help at https://help.gradle.org
BUILD FAILED in 2s
1 actionable task: 1 executed

BUILD FAILED
Task completed in 4 seconds

Error in the plugin. I'll fix it very soon.

Nevermind. Turns out I fixed this a long time ago. Update your plugin.

As stated, all is up to date and updated correctly as i thought that may have been the issue to begin with so the versions and plugins are all compatible just doesnt seem to work still

Are you certain you don't have multiple versions of the plugin in the plugin folder? I looked in the templates in the plugin and the code shown in the error doesn't exist...


Feature  alerting mail support html format

Description
Feature  alerting mail support html format
Issues Resolved
Added integTest for Smtp Destinations
Check List

[X ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Will have another PR for this feature, close this now.


Benchmarks: Add Feature - Add CPU-initiated copy and dtod support to gpu-sm-copy benchmark

Description
This commit does the following:

Adds CPU-initiated copy benchmark;
Adds dtod benchmark;
Support scanning NUMA nodes and GPUs inside the benchmark program;
Change the name of gpu-sm-copy to gpu-copy.

/azp run


Remove back button from the first step of tasks.

Great job @federico-bollo !

Congrats @federico-bollo ! :)


Include dimensions in image data

Motivation
Including the original image dimensions in the GraphQL data will allow generated image/picture elements to include inline widths or use the intrinsic ratio technique to preallocate space on the page when lazy-loading images.
Currently, we have access to this data:
{
  "name": "bandwidth-close-up-computer-1148820.jpg",
  "type": "image/jpeg",
  "size": 2536272,
  "description": "...",
  "url": "..."
}

The Kentico Cloud UI also includes the upload date and dimensions so the data is clearly already available.
Proposed solution
Include dimensions in GraphQL schema.
{
  "name": "bandwidth-close-up-computer-1148820.jpg",
  "type": "image/jpeg",
  "size": 2536272,
  "description": "...",
  "url": "...",
  "width": 6016,
  "height": 4016
}

Hello @rshackleton,
Since the REST API does not return the dimensions - the only way I see it could be implemented is to fetch the image and them count the dimensions. This could cause slow down of the site generation.
From my point of view, I would vote for extending configuration to let the user decide whether they want to fetch all the images.

Is it feasible for the KC Delivery API to be developed further to include this data? Including fetching as part of the source plugin would significantly slow down the build. Ideally this would need to come from upstream.

I will reach out to the development team. I'll keep you updated here.

I have submitted the request for this feature to the productboard. Unfortunately, it does not have enough priority to be placed into "under consideration" tab yet.
On the other hand - you could limit the minimal resolution of the images place the placeholder of your desired size, and then use the image transformation API to get the image in that exact size.

Unfortunately this was more in relation to assets within rich content areas so the asset size and aspect ratio could be anything. That approach could be an interesting idea for asset fields on content types though.

I will reach out to the development team to discuss the details and go through the use cases you have described to me and I'll get back to you as soon as I have more information.
I'll keep you updated here!

Happy to be available for a call if needed.

Hey @rshackleton,
I have just finished speaking with the development team. They are willing to research the feature request in the upcoming sprint to be able to give a more accurate estimate.
It looked it should be small enough to place it somewhere among to the stories in the backlog at first sign, but right now it looks like it needs more conceptional changes.
I will keep you updated about the research results.

@rshackleton - I have just submitted a draft pull request #56
I will have some time in two weeks at least to get it done. If you want to try/test the functionality it would be great!

Just a sneak peek. I have discussed the feature with the development team and this feature could be in the REST API in one of the upcoming releases.
Then it is needed to include the data to the JS SDK model and then I will just upgrade to the latest SDK and it should be done.

Hi @Simply007
I agree with @rshackleton that the images dimensions are missing and it’s an important factor.
If you need more testers for this let me know.
Thanks
Ilesh

Hey guys,
That's it, dimensions are here!
"kenticoCloudItemArticle": {       "elements": {         "images": {           "name": "Images",           "type": "asset",           "value": [             {               "name": "08.JPG",               "type": "image/jpeg",               "size": 407267,               "description": null,               "url": "https://assets-us-01.kc-usercontent.com:443/.../08.JPG",               "width": 720,               "height": 1084             },             {               "name": "3.JPG",               "type": "image/jpeg",               "size": 201584,               "description": null,               "url": "https://assets-us-01.kc-usercontent.com:443/.../13.JPG",               "width": 720,               "height": 478             },             {               "name": "16.JPG",               "type": "image/jpeg",               "size": 262972,               "description": null,               "url": "https://assets-us-01.kc-usercontent.com:443/.../16.JPG",               "width": 720,               "height": 1084             }]         }       }     }

Hey @edouardr,
image dimensions should be now a part of the delivery API response!
Let me check if the resolution is also propagated to the GraphQL model out-of-the-box, or if there is anything that needs to be implemented on the Gatsby Source plugin/JS SDK site to have the feature support.

Well I know what I'm doing this weekend...

Where is the new dimensions data available? Looks like it isn't included in the GraphQL model as is. This is using the following versions:
<EMAIL_ADDRESS><EMAIL_ADDRESS>
Also tried the<EMAIL_ADDRESS>but that causes errors during the build.
Does the kentico-cloud-delivery library need to be updated to handle the API response?

@rshackleton thats weird!
from here: https://deliver.kenticocloud.com/{projectId}/items?system.type={type}&system.codename={codename}&elements={images_field_name}
I get this result:
"items": [     {       "system": {         "id": "f3c979c1-1965-4682-808b-a014c8190649",         "name": "...",         "codename": "...",         "language": "en",         "type": "...",       },       "elements": {         "images": {           "type": "asset",           "name": "{image_field_name}",           "value": [             {               "name": "08.JPG",               "description": null,               "type": "image/jpeg",               "size": 407267,               "url": "https://assets-us-01.kc-usercontent.com:443/.../08.JPG",               "width": 720,               "height": 1084             },             {               "name": "13.JPG",               "description": null,               "type": "image/jpeg",               "size": 201584,               "url": "https://assets-us-01.kc-usercontent.com:443/.../13.JPG",               "width": 720,               "height": 478             },             ...       }     } ]
Also from GraphQL I get those, as shown below:

My package.json
    "gatsby-source-kentico-cloud": "^3.0.1",

@rshackleton, do you have the dimensions included in the Deliver response? It might still be cached in the fastly CDN.

Tried this request instead, still nothing!
GET https://deliver.kenticocloud.com/{{project_id}}/items/?elements=banner&system.type=article

"elements": {
  "banner": {
    "type": "asset",
    "name": "Banner",
    "value": [
      {
        "name": "bandwidth-close-up-computer-1148820.jpg",
        "type": "image/jpeg",
        "size": 2536272,
        "description": "A photograph of servers",
        "url": "https://assets-us-01.kc-usercontent.com:443/fad2fee3-5679-00a0-1bf3-ad0095717a92/0bd4df6d-2b5d-494a-91e7-46e8e01fcdb0/bandwidth-close-up-computer-1148820.jpg"
      }
    ]
  }
}

Just updated an asset associated with one of the content items and the dimensions have come through for that particular image. Is there a way of clearing out the cached data to ensure all of the assets have the dimensions included in the API response?
Would be a fairly time-consuming process to manually update everything to invalidate their caches.

Go through the workflow cycle might be easier than updating the asset itself and it should have the same effect.

@rshackleton You have to unpublish and publish again (or create new version) of all your content items where you have asset used.
There is no other way to update image dimensions.

Ok, I haven't got a large amount of content so I'll do that. However, might be worth considering an alternative option. If I was running a website for a large organisation with hundreds of content items then I wouldn't wish to do that! 😬

Ok, dimensions are now available for assets added for properties.
However, there are no dimensions for images inserted into rich text fields:
"banner": {
  "value": [
    {
      "url": "https://preview-assets-us-01.kc-usercontent.com:443/fad2fee3-5679-00a0-1bf3-ad0095717a92/0bd4df6d-2b5d-494a-91e7-46e8e01fcdb0/bandwidth-close-up-computer-1148820.jpg",
      "width": 6016,
      "height": 4016
    }
  ]
},
"body": {
  "images": [
    {
      "description": "A screenshot of the Netlify build hook form",
      "imageId": "94d09691-d4fd-478d-ae22-6cf2c6e8a9ec",
      "url": "https://preview-assets-us-01.kc-usercontent.com:443/fad2fee3-5679-00a0-1bf3-ad0095717a92/aeb33a4a-4b84-43f4-84a1-b3f575ce9885/netlify-build-hook.png"
    },
    {
      "description": "A screenshot of the Netlify build hook list",
      "imageId": "08cc3b03-17b8-4ea2-94dc-29b61778ed2c",
      "url": "https://preview-assets-us-01.kc-usercontent.com:443/fad2fee3-5679-00a0-1bf3-ad0095717a92/fb64ec4f-3c82-4bf4-9cb5-c656285b5376/netlify-build-hook-url.png"
    },
    {
      "description": "A screenshot of the Kentico Cloud webhooks page",
      "imageId": "abf21d9d-ef82-421d-a9cc-1641daedfd7c",
      "url": "https://preview-assets-us-01.kc-usercontent.com:443/fad2fee3-5679-00a0-1bf3-ad0095717a92/c3bdcabd-dad6-4e3e-9757-22f39fbcb448/kentico-cloud-webhooks.png"
    },
    {
      "description": "A screenshot of the Kentico Cloud webhook form",
      "imageId": "beca0a53-cb00-4f10-98fa-ea28f238bf0d",
      "url": "https://preview-assets-us-01.kc-usercontent.com:443/fad2fee3-5679-00a0-1bf3-ad0095717a92/fa8cdd23-f36b-47c8-a2e6-18b1ea5d3914/kentico-cloud-webhooks-form.png"
    },
    {
      "description": "A screenshot of the Netlify deploys queue",
      "imageId": "8ec5eaa9-d697-4247-aa5e-1372e4ac7a86",
      "url": "https://preview-assets-us-01.kc-usercontent.com:443/fad2fee3-5679-00a0-1bf3-ad0095717a92/98ac9bcc-bdb6-4680-93ac-140575836fdc/netlify-deploys-queue.png"
    }
  ]
}

Thank you @rshackleton for the testing.
The dimension should be released in v6 of JS SDK, after that, it is possible to upgrade the gatsby source plugin (merged pull request)
I have tried to add the dimensions manually in the source plugin code, but it is really hacky:
https://github.com/Kentico/gatsby-source-kentico-cloud/tree/53/includedimensions

Rebranding completed and the beta version released: #72
release info
The release should already contain image dimensions out of the box.
..feel free to re-open the issue.


Nick: Watch nirvashare.com

Nick requests the watch of the watch_keyword nirvashare\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

nirvashare\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ


Getting confirm value without callback

Is there a way to get the confirm value without a callback? So to use it synchronously, like a standard confirm which returns the value?

Due to the nature of JavaScript, there's no way to synchronously open the dialog box and return the user's response (which is received in an asynchronous event listener). Sorry :(


[Feature] provide defualt namespace for dry-run

Is your feature request related to a problem? Please describe.
The example apps usually don't have namespace like:
apiVersion: core.oam.dev/v1beta1
kind: Application
metadata:
  name: first-vela-app
spec:
  components:
    - name: express-server
      type: webservice
      properties:
        image: oamdev/hello-world
        port: 8000
      traits:
        - type: gateway
          properties:
            domain: testsvc.example.com
            myann: myann
            http:
              "/": 8000

But it reports an error that we don't have namespace.
$ vela dry-run -f myapp.yaml
Error: validate application: myapp.yaml by dry-run: an empty namespace may not be set during creation

It shouldn't be an error， just add default namespace for the dry-run result.
Describe the solution you'd like
add default namespace for the dry-run result.
Describe alternatives you've considered

Additional context

/assign


Fix Front-end Five podcast link

That was fast :)

🏃🏻💨 Apparently I wrote it too fast the first time! Thanks for pointing it out :)

On Nov 12, 2015, at 4:02 PM, Martin Auswöger<EMAIL_ADDRESS>wrote:
That was fast :)
—
Reply to this email directly or view it on GitHub https://github.com/eqcss/eqcss/pull/1#issuecomment-156232745.


feat(java): Add sample for a signed POST

Description of changes:
AWSSigner.java is one of the best examples online for making AWS signed requests but there are still some pitfalls for developers who need additional header properties.
This PR adds a sample Java signed POST with additional properties taken from a real world example.

Comments are included to assist developers in adding their own properties
Multiple header fields are used to show the requirements for A-Z sorting and the terminating \n
Includes use of x-amz-content-sha256 and x-api-key
Consistent style with AWSSigner.java (uses envars)

Note: this sample was created as a POC for https://enchoice.com

Awesome, thanks @jknight for the contribution. Would you mind adding a small note to the readme (https://github.com/aws-samples/sigv4-signing-examples/tree/main?tab=readme-ov-file#java) just to guide users on the difference in the 2 examples please? Then I'm happy to merge.

LGTM, thanks for the contribution!


Size of feature

@cvondrick  @yusufaytar
Thank you very much for sharing this code.
I am new to audio. I was trying extract features from my audio files. Feature size varies depending upon the length of the video, what does it depend upon? I want to use the feature for classification. How do I get constant dimension feature vector for all of my audio files?
For example, an audio file with 1476864 samples produces feature of dimension [1x1024x46x1] and other files with 2199168 samples produce a feature of dimension [1x1024x68x1]. How do get constant dimension feature vector for both files?
How do I have to modify sound signal to apply net in sliding window fashion in the temporal direction?

You can apply global average pooling.

@gurkirt Each frame of feature only describes a short segment of the audio. If you want to do recording-level classification, you need to compute recording-level statistics of the frame-level features. Averaging is one of such statistics; others include standard variance, min, max, etc.

Thanks, guys for replying, I agree with you both. I figured it out later after supply few audio with different temporal duration.
Cheers
Gurkirt

Hi,
Is there any minimum length of the audio input file? I am getting errors when extracting features on 3 seconds of audio file(mp3). However, there is no error when using audio of length >=10 seconds.
I am getting the following error :
warnings.warn('PySoundFile failed. Trying audioread instead.')
Traceback (most recent call last):
File "extract_feat.py", line 86, in
sound_samples = load_from_txt(args.audio_txt, config=local_config)
File "/home/pratibha/SoundNet-tensorflow/util.py", line 31, in load_from_txt
audios.append(preprocess(sound_sample, config))
File "/home/pratibha/SoundNet-tensorflow/util.py", line 59, in preprocess
raw_audio = np.tile(raw_audio, length/raw_audio.shape[0] + 1)
File "/home/pratibha/anaconda3/envs/soundNet_env/lib/python3.5/site-packages/numpy/lib/shape_base.py", line 1157, in tile
return c.reshape(shape_out)
TypeError: 'float' object cannot be interpreted as an integer

Hi,
Is there any minimum length of the audio input file? I am getting errors when extracting features on 3 seconds of audio file(mp3). However, there is no error when using audio of length >=10 seconds.
I am getting the following error :
warnings.warn('PySoundFile failed. Trying audioread instead.') Traceback (most recent call last): File "extract_feat.py", line 86, in sound_samples = load_from_txt(args.audio_txt, config=local_config) File "/home/pratibha/SoundNet-tensorflow/util.py", line 31, in load_from_txt audios.append(preprocess(sound_sample, config)) File "/home/pratibha/SoundNet-tensorflow/util.py", line 59, in preprocess raw_audio = np.tile(raw_audio, length/raw_audio.shape[0] + 1) File "/home/pratibha/anaconda3/envs/soundNet_env/lib/python3.5/site-packages/numpy/lib/shape_base.py", line 1157, in tile return c.reshape(shape_out) TypeError: 'float' object cannot be interpreted as an integer

I have encountered this problem as well. have you found the reason. but if based on the description of the paper, it also can use ESC datasets which contains less than 10s as well. I am wondering if only the TensorFlow version of the code has this problem.


questions on trigonometric function

1.Since the symbol panel could support degree units input like deg, minute and second, why it errors when I input sin(45°23'46")?
2.How about give a shortcut keyboard for these three unit symbols?Hints could pop up when the mouse is hang on the symbol of the panel.

It supports the units, but not the sequence of mixed numbers and units. You will have to write them as 45° + 23' + 46".
About shortcuts, probably, it will be best make it work with Ctrl + G. If you write singe and double quotes and press Ctrl + G to convert to primes and seconds. What do you thing?

It supports the units, but not the sequence of mixed numbers and units. You will have to write them as 45° + 23' + 46". About shortcuts, probably, it will be best make it work with Ctrl + G. If you write singe and double quotes and press Ctrl + G to convert to primes and seconds. What do you thing?

to be honest I did not really know how to input these three units with keyboard, I input them with click on symbol panel.

Yes, because they are not available on the keyboard. But what do you think about my suggestion to make them convert from quotes and Ctrl + G similar to Greek letters?

Yes, because they are not available on the keyboard. But what do you think about my suggestion to make them convert from quotes and Ctrl + G similar to Greek letters?

1.I suggest to classify them as nondimentional units in the help doc.
2.I suggest to use @ as deg, english punctuations of ' and " correponding to minute and second respectively, in input. For example, we input as sin(30@20'45"),but the output should be as normal as we know in math.How do you think.

Yes, because they are not available on the keyboard. But what do you think about my suggestion to make them convert from quotes and Ctrl + G similar to Greek letters?

Also, when we hang the cursor on the symbol of the panel, it's better to pop up a text hint of keyboard shortcut.

OK, but you still will have to press Ctrl+G to convert because @ ' and " are used for other purposes - delimiters and comments.

OK, but you still will have to press Ctrl+G to convert because @ ' and " are used for other purposes - delimiters and comments.

then hiw about input as sin(40#35$20%) or sin(40#35'20")，or you could imagine other key combinations that are easy to type in.

I added the conversion of @ ' and " with Ctrl + G, but it is more difficult with the mixed format 45°23'46". So, for now you still have to write "+" between them: 45° + 23' + 46".
https://github.com/Proektsoftbg/Calcpad/releases/tag/v5.9.8

I added the conversion of @ ' and " with Ctrl + G, but it is more difficult with the mixed format 45°23'46". So, for now you still have to write "+" between them: 45° + 23' + 46".
https://github.com/Proektsoftbg/Calcpad/releases/tag/v5.9.8

That's great.


add api to check segment storage tier

This PR adds two APIs to check immutable segment's current storage tier from servers. It's like how table size is calculated, reusing the multget util to get tier info from servers in parallel.
Release notes
Two new APIs to check immutable segment's storage tier.

/segments/{tableName}/{segmentName}/tier
/segments/{tableName}/tier

Example response
{
  "tableName": "baseballStats_OFFLINE",
  "missingSegments": {},
  "missingServers": [],
  "segmentTiers": {
    "baseballStats_OFFLINE_1604620800000_1604620800000_0": {
      "Server_<IP_ADDRESS>_7000": null /* null for default tier or sth like `mytier` if configured explicitly */
    }
  }
}

Codecov Report

Merging #8914 (773e3b3) into master (080e849) will decrease coverage by 38.15%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master    #8914       +/-   ##
=============================================
- Coverage     63.05%   24.89%   -38.16%
+ Complexity     4665       47     -4618
=============================================
  Files          1761     1801       +40
  Lines         92215    94094     +1879
  Branches      13825    14047      +222
=============================================
- Hits          58142    23422    -34720
- Misses        29905    68395    +38490
+ Partials       4168     2277     -1891

Flag
Coverage Δ

integration2
24.89% <0.00%> (?)

unittests1
?

unittests2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

.../pinot/common/restlet/resources/TableTierInfo.java
0.00% <0.00%> (ø)

...ler/api/resources/PinotSegmentRestletResource.java
19.34% <0.00%> (+6.84%)
:arrow_up:

...e/pinot/controller/util/ServerTableTierReader.java
0.00% <0.00%> (ø)

.../apache/pinot/controller/util/TableTierReader.java
0.00% <0.00%> (ø)

.../pinot/server/api/resources/TableTierResource.java
0.00% <0.00%> (ø)

...in/java/org/apache/pinot/spi/utils/StringUtil.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../java/org/apache/pinot/spi/utils/BooleanUtils.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...java/org/apache/pinot/spi/trace/BaseRecording.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...java/org/apache/pinot/spi/trace/NoOpRecording.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ava/org/apache/pinot/spi/config/table/FSTType.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 1478 more

Continue to review full report at Codecov.

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


🐞 [Bug]: tfcmd zdb --public flag is documented incorrectly

The way that the --public flag for zdbs deployed with tfcmd is documented is incorrect:
https://github.com/threefoldtech/tfgrid-sdk-go/blob/52fefb57d79763a1f0f712fd42456b8905bc2313/grid-cli/docs/zdb.md?plain=1#L25
What --public actually does is make the namespace in the zdb public (that is, readable by anyone). All zdbs get an ipv6 address assigned if the node supports it.
Deploying a zdb is really just the creation of a namespace within an existing zdb that's created by Zos when the node first detects attached HDD. All users of zdb on a given node connect to the same IP/port. So how any user makes a deployment does not affect whether the zdb is reachable by ipv6.

Thanks for the info, updated now

https://github.com/threefoldtech/tfgrid-sdk-go/blob/6ad6ecb9dbe90fe89fda1f8883094574d41d5db3/grid-cli/docs/zdb.md


Call to undeclared function 'pb_release'; ISO C99 and later do not support implicit function declarations

GDTCORMetrics+GDTCCTSupport.m shows an error in Xcode version 16.0.
Line: 82
pb_release(gdt_client_metrics_ClientMetrics_fields, &clientMetricsProto);

Call to undeclared function 'pb_release'; ISO C99 and later do not support implicit function declarations

GoogleDataTransport 10.1.0
nanopb 3.30910.0

Hi @DIGITALSQUAD, how are you integrating this into your project? CocoaPods, SwiftPM, Zip, Carthage?

Hi @ncooke3 I use CocoaPods.

Do any of the following posts help? https://github.com/firebase/firebase-ios-sdk/issues/6741 or https://stackoverflow.com/questions/70881373/firebase-does-not-build-for-ios-in-flutter-implicit-declaration-of-function-p ?
The GDT podspec enables the PB_ENABLE_MALLOC preprocessor flag, which will in turn compile thepb_release API.

The second one solved the issue!
Thank you for your support.
I added '$(inherited)' in  GCC_PREPROCESSOR_DEFINITIONS.
Podfile
target 'MyApp' do
  post_install do |installer|
    installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= []
        config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] << '$(inherited)' # Added this line
        config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] << 'GLES_SILENCE_DEPRECATION=1'
      end
    end
  end
end


Allow specifying an external maskfile.md to use

Right now mask looks for a maskfile or maskfile.md in the current directory.
We should add a --maskfile <path> option so that mask can refer to another maskfile.md at the given path.
Perhaps it should also look for maskfiles in parent directories until it finds one?
Example use case:
Sometimes i'm working in a subdir of a monorepo project. Being able to put a maskfile at root of the monorepo would be nice if I could call mask from any location in that tree.

Fixed by #19 🎉

Perhaps it should also look for maskfiles in parent directories until it finds one?

This still might be useful as a default behavior. I'll need to think about this further.
There's a good alternative for user land right now: make a bash alias to mask that searches up the directory tree for a maskfile.md and then execute mask --maskfile $(pwd)/maskfile.md on that.


Too many groups

There is a bug stemming from too many levels in the grouping variable. I think it is coming from lines 90, 139, 158, 280, and 337 of utils.R (see 7bdaf70381d03cff415306a4e72fea7e4af9f199). Having all these groups is going to make the legend kind of pointless.

Solved with 4eaa8e270693d3f8b134da94cea2b38d670a32e6


The wrong keyboard is being shown on iOS (maybe Android?)

Describe the bug
The keyboard that is being used in other apps is different than the one Shabad OS is using. Not sure if we want to fix this, or what the cause of this is.
Screenshots

Fixed in 0.1.0 (28)