chore: remove the inline modifier from pekko util.

Motivation:
These method is used in other pekko projects, and can not be used in Java.
Remove the inline def in scala 3
Or we have to find another way
refs: https://github.com/apache/incubator-pekko-connectors/pull/412
refs: https://github.com/apache/incubator-pekko-connectors/actions/runs/7686045276/job/20944445485?pr=412#step:5:506
Or we just update the Java code. @mdedetrich Ping with a scala forwarder in these projects.
refs: https://github.com/lampepfl/dotty/issues/19346
Or we need release another 1.0.x version of pekko-http which compiles with the inline def version of pekko 1.0.x, otherwise will encounter this issue in pekko-http anyway.
Asked on: https://contributors.scala-lang.org/t/can-we-still-generate-bytecode-when-inline-def-method-been-called-from-java/6500
This will cause the pekko-http 1.0.x can not been used with pekko 1.1.x on Scala 3.

So FYI whats the weird thing here is that its known that inline def does not work if its called within Java *.java source code however its definitely meant to work when called within *.scala source code and the whole point of Scala compiler is that its meant to, well, inline that method so with
[error] Test docs.javadsl.SqsSourceTest failed: java.lang.NoSuchMethodError: org.apache.pekko.util.FutureConverters$FutureOps$.asJava$extension(Lscala/concurrent/Future;)Ljava/util/concurrent/CompletionStage;, took 0.0 sec

you shouldn't even see org.apache.pekko.util.FutureConverters$FutureOps$.asJava$extension(Lscala/concurrent/Future;)Ljava/util/concurrent/CompletionStage in the stack trace, it should be just CompletionStage at this point.

Ah I think I know what the problem is, Pekko Http 1.1.x is not being compiled against Pekko 1.1.x but instead Pekko 1.0.x and because Pekko 1.0.x doesn't have the inline keyword it didn't get inlined within Pekko Http 1.1.x so Pekko Http 1.1.x is still expecting the inline methods to exist in bytecode but they don't because they are being stripped.
Ill have to think about this, worst case scenario is that we have to remove all the Scala 3 inline keywords

That's true, I think @pjfanning will not support we backport this inline support back to 1.0.x.
An in source helper method will not help the Http 1.0.x without inkine backport.

That's true, I think @pjfanning will not support we backport this inline support back to 1.0.x.
An in source helper method will not help the Http 1.0.x without inkine backport.

I found a possible solution using https://docs.scala-lang.org/scala3/reference/other-new-features/targetName.html, making a PR now

But not sure whether if that just invalid the inline support, somekind of kotlin 's JvmName annotation thing.

But not sure whether if that just invalid the inline support, somekind of kotlin 's JvmName annotation thing.

Will explain in PR

PR created at https://github.com/apache/incubator-pekko/pull/1070

@He-Pin Shall we close this since https://github.com/apache/incubator-pekko/pull/1070 is merged? We can re-open it later if that solution doesn't work.

Ok，


Revert "[PDI-19138] JSON input: Step does not return record when trying to re…"

Reverts pentaho/pentaho-kettle#8008

:white_check_mark: Build finished in 7m 11s
Build command:
mvn clean verify -B -e -Daudit -amd -pl plugins/json/core

:ok_hand: All tests passed!
Tests run: 85, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message


Consider using nat type for round_time and action_time

https://github.com/tqtezos/minter/blob/9bd894ec8c7a5a5a45d166f6b0c6b49c3810ddc7/contracts/ligo/src/english_auction_tez.mligo#L23

It is useful to keep "time passed" values as int to compare timestamps with seconds added. For example, the line Tezos.now <= auction.last_bid_time + auction.round_time only works if auction.round_time is int.
I solve for the chance of passing negative values by giving configure_param the following type:
type configure_param =
  [@layout:comb]
  {
    opening_price : tez;
    min_raise : tez;
    round_time : nat;
    asset : (tokens list);
    auction_time : nat;
    start_time : timestamp;
  }

and then casting the nats to int as in
https://github.com/tqtezos/minter/blob/9bd894ec8c7a5a5a45d166f6b0c6b49c3810ddc7/contracts/ligo/src/english_auction_tez.mligo#L124

I also have the following line for round_time:
https://github.com/tqtezos/minter/blob/9bd894ec8c7a5a5a45d166f6b0c6b49c3810ddc7/contracts/ligo/src/english_auction_tez.mligo#L117
I realize now I do not have a similar check for auction time. I will include that

Closed by https://github.com/tqtezos/minter/commit/4490a239187cd8a8babee7f6d7cac6cf57d89337


Own code and extensions

I admire your work very much. The installation of Vectorx is very simple and intuitive. Now I stand at the point where I would like to create and integrate my own scripts on Wire Pod server. Could you give me some help as I do best.

Hi, if you want to add a script to be launched with a Wire-Pod custom voice intent (for example a shell script, or even a go/python SDK script), you should check the Wire-Pod documentation. You can basically write and test your script and then use Wire-Pod web interface to add a voice intent to launch a shell command that will run your script.
If instead you have some new useful functionality you want to integrate into VectorX (for example, you have followed the HelloWorld example in VectorX's ReadMe) you can fork VectorX code and prepare a pull request, I will review your code and integrate it. But in this case let's talk about what your extension does first...


Different formats adapters

Idea from @blackbone
To convert any format to the desired one
The type of source can be any table, you write an adapter as a program that converts it into your data
It may not even be a Google spreadsheet, but json, csv, whatever

For now it's a backlog for unknown period of time


Support for XGBoost   with metadata

Does DiCE allow to work with XGBoost?
I've tried to run it using only  with the metadata properties of the features and got the following error :

DiCE works with any model that follows sklearn's predict API.
The error is because you are using the private interface, which is useful only in some privacy scenarios where you do not have access to the train data. Instead, can you try passing in the xgboost_model to the DiCE constructor as in the getting started example?
# Using sklearn backend
m = dice_ml.Model(model=xgboost_model, backend="sklearn") # xgboost_model.predict() returns the output
# Using method=random for generating CFs
exp = dice_ml.Dice(d, m, method="random")


Logfile fixes part2

Adding automatic maintenance options to the config json
Adding a Downoad Button for logfiles
Adding Maintenance functions rollover, split, delete, view for logfiles
Adding Log File Maintenance Section for FileList on SPIFFS to the UI

should fix most of #285 - automatic functions need to be implemented still

Thank you - there are a handful of caveats though at the moment

Split is blocking, i.e. there is no User Interface Update on the progress but it does not trigger the watchdog - and it is reasonably fast (roughly 10 sec for a 100K logfile)

Corrupt logfiles will not load correctly. This is caused by at least three things:

the JSON.parse in the esprfid.js throws an error if it can't convert

the ws.textAll in log.esp throws an error if there are garbage characters - the client will wait eternally for the next page

the  SPIFFS readStringUntil is blocking and does not stop if it reads upon EOF. This will definitely trigger the watchdog and reset the unit

I might work on these in the next couple of days or weeks ;-)


Added keyword clause for package

I'm not an expert, but I think this change will help node red index this package for inclusion in the palette section.

Hi @huanga,
You are right that's needed as it's pointed out by the packaging documentation. I didn't want to publish until I make further refinement. But now I realised that I don't have too much free time for that, so probably good idea to do it now.


Update DM related script to remove vm definition in case xml parameter

Orignial DM.xml includes VMName, which is used to define the test vmName and dependency vmName. Since two vms name can be defined in the VMs section, we could use and avoid defining them in the testParams section.
Also we run all the cases in one xml file, vmName and VM2Name are defined dynamically, it cannot change the DM.xml single case's parameter by automation, so submit this pull requests.
Thank you.

Chris, thank you for your comment, have updated.
Thank you.


Feat/multi-arch-arm

This pr is to solve the proposal of harbor-arm multi-architecture

Use the sed command to change the original compilation commands of goharbor/harbor and replace them with commands related to the arm64 architecture

Call the original makefile for build target to build

Call make online to generate

issue addres: https://github.com/goharbor/harbor/issues/14330

@Jeremy-boo can you squash the PR? Then, I'll merge it.

@Jeremy-boo can you squash the PR? Then, I'll merge it.

yeah, alreay done


Change migration version to 6.1

Pull Request
Summary:
I got this error when running migrations on Rails 7.1 app:
ArgumentError: Unknown migration version "7.2"; expected one of "4.2", "5.0", "5.1", "5.2", "6.0", "6.1", "7.0", "7.1" (ArgumentError)

Description:
The problem is that the migration used version 7.2, even though Rails 6.1 is the minimum Rails version supported. I've changed the version to 6.1 to match the other migrations.
Testing:
I have NOT tested this change, other than editing the migration in my own codebase. But I don't see why this change would cause any problems.
Checklist:

[x] Code follows the project's coding standards
[x] Tests have been added or updated to cover the changes
[x] Documentation has been updated (if applicable)
[x] All existing tests pass
[x] Conforms to the contributing guidelines

Thanks!


variable nginx_config and sample usage in README

By the way, this module made my life so much better ❤

Great idea to move the nginx config to a variable. I'll merge and create a new tag.
Glad it makes you're life better!


Ignoring messages does not work in versions later than 3.1.0

None of the methods for ignoring messages work in alex@latest. Neither .alexrc nor package.json nor comments in Markdown are effective. The last known version supporting ignoring messages was alex 3.1.0.
This gist contains a script which will demonstrate this issue, and its output showing that alex@latest does not ignore messages by any documented means, while<EMAIL_ADDRESS>does ignore messages by all documented means.

Observed on macOS Sierra (16.5.0) with the following npm version:
{ npm: '4.2.0',
  ares: '1.10.1-DEV',
  cldr: '30.0.3',
  http_parser: '2.7.0',
  icu: '58.2',
  modules: '51',
  node: '7.9.0',
  openssl: '1.0.2k',
  tz: '2016j',
  unicode: '9.0',
  uv: '1.11.0',
  v8: '5.5.372.43',
  zlib: '1.2.11' }

Oh gosh, I haven‘t pushed<EMAIL_ADDRESS>yet! 😱
I just did, I think it should work, could you check again?

<EMAIL_ADDRESS>does work, with no issues found at any point of my test script. Thanks!

Pfew, good!
Sorry about that, and thanks for reaching out! 🎉


Evaluate using rxjava to replace the asynchronous code.

Evaluate using rxjava to replace the asynchronous code.
https://github.com/ReactiveX/RxJava

Futures
Futures were introduced in Java 5 (2004). They're basically placeholders for a result of an operation that hasn't finished yet. Once the operation finishes, the Future will contain that result. For example, an operation can be a Runnable or Callable instance that is submitted to an ExecutorService. The submitter of the operation can use the Future object to check whether the operation isDone(), or wait for it to finish using the blocking get() method.
Example:
/**

A task that sleeps for a second, then returns 1
**/
public static class MyCallable implements Callable {
@Override
public Integer call() throws Exception {
Thread.sleep(1000);
return 1;
}

}
public static void main(String[] args) throws Exception{
ExecutorService exec = Executors.newSingleThreadExecutor();
Future f = exec.submit(new MyCallable());
System.out.println(f.isDone()); //False

System.out.println(f.get()); //Waits until the task is done, then prints 1

}
CompletableFutures
CompletableFutures were introduced in Java 8 (2014). They are in fact an evolution of regular Futures, inspired by Google's Listenable Futures, part of the Guava library. They are Futures that also allow you to string tasks together in a chain. You can use them to tell some worker thread to "go do some task X, and when you're done, go do this other thing using the result of X". Using CompletableFutures, you can do something with the result of the operation without actually blocking a thread to wait for the result. Here's a simple example:
/**

A supplier that sleeps for a second, and then returns one
**/
public static class MySupplier implements Supplier {
@Override
public Integer get() {
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
//Do nothing
}
return 1;
}
}

/**

A (pure) function that adds one to a given Integer
**/
public static class PlusOne implements Function<Integer, Integer> {
@Override
public Integer apply(Integer x) {
return x + 1;
}
}

public static void main(String[] args) throws Exception {
ExecutorService exec = Executors.newSingleThreadExecutor();
CompletableFuture f = CompletableFuture.supplyAsync(new MySupplier(), exec);
System.out.println(f.isDone()); // False
CompletableFuture f2 = f.thenApply(new PlusOne());
System.out.println(f2.get()); // Waits until the "calculation" is done, then prints 2
}
RxJava
RxJava is whole library for reactive programming created at Netflix. At a glance, it will appear to be similar to Java 8's streams. It is, except it's much more powerful.
Similarly to Futures, RxJava can be used to string together a bunch of synchronous or asynchronous actions to create a processing pipeline. Unlike Futures, which are single-use, RxJava works on streams of zero or more items. Including never-ending streams with an infinite number of items. It's also much more flexible and powerful thanks to an unbelievably rich set of operators.
Unlike Java 8's streams, RxJava also has a backpressure mechanism, which allows it to handle cases in which different parts of your processing pipeline operate in different threads, at different rates.
The downside of RxJava is that despite the solid documentation, it is a challenging library to learn due to the paradigm shift involved. Rx code can also be a nightmare to debug, especially if multiple threads are involved, and even worse - if backpressure is needed.
If you want to get into it, there's a whole page of various tutorials on the official website, plus the official documentation and Javadoc. You can also take a look at some of the videos such as this one which gives a brief intro into Rx and also talks about the differences between Rx and Futures.
Bonus: Java 9 Reactive Streams
Java 9's Reactive Streams aka Flow API are a set of Interfaces implemented by various reactive streams libraries such as RxJava 2, Akka Streams, and Vertx. They allow these reactive libraries to interconnect, while preserving the all important back-pressure.

https://stackoverflow.com/questions/35329845/difference-between-completablefuture-future-and-rxjavas-observable/46572647

Version 3.x (Javadoc)
single dependency: Reactive-Streams
continued support for Java 6+ & Android 2.3+
fixed API mistakes and many limits of RxJava 2
intended to be a replacement for RxJava 2 with relatively few binary incompatible changes
Java 8 lambda-friendly API
non-opinionated about source of concurrency (threads, pools, event loops, fibers, actors, etc.)
async or synchronous execution
virtual time and schedulers for parameterized concurrency
test and diagnostic support via test schedulers, test consumers and plugin hooks

Learn more about RxJava in general on the Wiki Home.


Details about Hubic "default" folder

This PR is about the "default" folder visible in the hubic browser.

I've merged that - thank you very much for your contribution.
-- Nick


Runtime Error Error: Cannot find module 'jest-cli/src/lib/moduleMocker'

Hello
I'm using Jest-cli 11.0.2 with JestPack 0.1.1 and I got the following error :
Error: Cannot find module 'jest-cli/src/lib/moduleMocker'
    at Function.Module._resolveFilename (module.js:326:15)
    at Function.Module._load (module.js:277:25)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/Users/lauthierry/workspace/front/node_modules/jestpack/ModuleLoader.js:8:20)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)

It seems that the moduleMocker have to be required like this :
const moduleMocker = require('jest-mock');

instead of
const moduleMocker = require('jest-cli/src/lib/moduleMocker');

Can you publish a new version compatible with Jest-cli 11.0.2 please ?
Best regards

@lauterry Unfortunately Jestpack doesn't currently support Jest >0.7.x and given all the changes made in recent versions of Jest it'll be hard to fix the problems. Ultimately I don't think the approach Jestpack takes is viable going forward, it's too intrusive.
I've got some simpler ideas for getting Webpack and Jest to work together so I'll try and get an example up soon.

hi @richardscarrott
Thanks for your answer.
Can't wait to see your example on how to get Webpack work with Jest.
Cheers


[WIP] LD Local Links

LD local links
Make local links look good and not cause reloads

Somewhere in the gitter chat mentions how // and /// Links are meant to work but i'll have to look back to find out. Leaving this for a while till I get more time.
TODO

Get // links working. (I think these should work the same as / links)
Get /// links working. Linking to images, but not as an image.
Get relative links working
Remove other logging

This is probably just reflecting my understanding but why is there need for the extra uri-logic in the autoembed.js? I kind of though that what cont'd out of the marked render should be ready to use?

Autoembed.js handles site specific embeds. E.g. youtube players or twitter embeds.
In this case its being used for ld specific link styling. The way were detecting internal links is kinda broken so i still need to clean it up.

Yeah I think that the way there was stuff about links being internal there or not was confusing me.
Anyhow , this relates to https://github.com/ludumdare/ludumdare/issues/879 I think.

Basic fix to solve merge conflicts. May trigger the linter since this code was previously repaired.

Closed in favour of #1293


Option to duplicate file/folder in "explore" sidebar and then rename

VSCode Version: 1.6.1
OS Version: Windows 10 (14393)

Would like to be able to right click on a file/folder in the explore sidebar and have the option to duplicate and rename that item. Thanks!
(I looked through open issues and didn't see this but apologies if I missed it)

Yeah a shortcut for that would be good, right now whenever I need that I need to Cmd + C and Cmd + V, then rename the new file (Which gets a .1 appended at the end)

Yeah +1 for this feature, it will be very helpful, Thanks

Ahead of this being integrated this Duplicate File extension from @mrmlnc does the job 👌

@thisislawatts I think that extension will only duplicate files and not folders.

Yes, this is a very good idea.


[BUG] Wrong username in livechat_visitor (RocketChat) using connector metacloudapi_whatsapp

When visitor is create, username is not include phone number.

In the file metacloudapi_whatsapp.py is not include def get_visitor_username, making using default def in the file base.py

with changes in pull request #130 the visitor username includes phone number.


In the Bard (Web) model, questions remain unanswered with a flashing message stating "Waiting response..." indefinitely.

Bug Description:
In the Bard (Web) model within the extension, whenever I click on the extension icon and pose any question in the floating panel, all responses remains indefinitely with a flashing message stating "Waiting response...".
Steps to Reproduce:
Install the extension on your browser.
Navigate to a webpage where the extension is applicable.
Click on the extension toolbar icon to open the floating panel.
Pose any question within the floating panel.
Observe the indefinite flashing message "Waiting response..." in the Bard (Web) model.
Expected Behavior:
Responses to questions posed within the floating panel should be generated promptly without indefinite waiting periods.
Actual Behavior:
In the Bard (Web) model, questions remain unanswered with a flashing message stating "Waiting response..." indefinitely.
Additional Information:
Browser: Google Chrome
Extension Version: 2.4.9
Operating System: Windows
Error Screenshots:

Please let me know if you require any further information or if there are specific steps you'd like me to take to assist in resolving this issue. I appreciate your prompt attention to this matter.

https://github.com/josStorer/chatGPTBox/issues/627
This?

Due to the gradual cessation of maintenance for many open-source projects in reverse engineering, I am alone responsible for reverse engineering multiple websites' API, requiring a considerable amount of effort. Therefore, currently, I prioritize maintaining reverse engineering APIs for ChatGPT, Claude, and Bing

Due to the gradual cessation of maintenance for many open-source projects in reverse engineering, I am alone responsible for reverse engineering multiple websites' API, requiring a considerable amount of effort. Therefore, currently, I prioritize maintaining reverse engineering APIs for ChatGPT, Claude, and Bing

I get the prioritization you're talking about. Now Bard has also been updated to Gemini. Maybe that's the issue and a simple update could fix it.

#627
This?

Yes, thank you, in this case the error is exactly what's happening. I went ahead and tried the new update 2.5.0 of the extension and it's fixed. It will soon update automatically in the Chrome Store too.
https://github.com/josStorer/chatGPTBox/commit/1fc3cd8ee072d420fc54e4ce01a6853c71c82927

In fact, is supporting Gemini pro a better choice?  Because it provides free api

v2.5.1

Hi its dosent work...same error...
ne respon from gpt


Keyboard does not open when focusing TextInput after creation

Problem description
When setting the focused flag to true after TextInput creation, the TextInput will get focus (blinking cursor appears), but the system keyboard won't open.
Expected behavior
When setting focused to true, the system keyboard should open.
Environment

Tabris.js version: 2.9.0 (does not happen with 2.8.1 and 3.3.0)
Device: emulator
OS: Android 10

Code snippet
const {TextInput, ui} = require('tabris');

let input = new TextInput({
  top: 'prev() 20', left: 0, right: 0,
  message: 'Type here, then confirm'
}).appendTo(ui.contentView);

setTimeout(() => input.focused = true, 1000);

The issue has been resolved in the latest 2.x nightly.


Author character should have access to other non-avatar icons

Easy mode: show other galleryless icons
Hard mode: give a gallery selector

I thought we'd already done Galleryless icons here, and found out I was wrong when setting up the NPC box stuff :D
Adding galleryless icons here would be cool, and would help extend the features of the NPC box (you can put an icon in galleryless to be able to select it for your NPC, for example, then move it back elsewhere, rather than having to create the NPC first then handle stuff)


python310Packages.spotipy: 2.21.0 -> 2.22.0

Changelog: https://github.com/plamere/spotipy/blob/2.22.0/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 207001 run on x86_64-linux 1

8 packages built:

home-assistant-component-tests.sonos
home-assistant-component-tests.spotify
python310Packages.deemix
python310Packages.spotipy
python39Packages.deemix
python39Packages.spotipy
spotdl
ytmdl


No voicemail in iOS app

In android user can record a voicemail to another user straight forward but this is not possible in the iOS app and you cant even attach a voice recording from the voice recorder library? You can add photos or video to the chat but no MP3 sound/voicemail.
We need a cross platform compatible videos (MP4) and sounds (MP3).

Just noticed that in this beta version user cannot download a mp3 file and listen it if someone sends you one.

Hi @kaksikanaa - we haven't added downloading files yet, we have a ticket here but it currently only covers images for iOS: https://mattermost.atlassian.net/browse/RN-80
Would you mind sharing a bit more about your use case? Do you send videos and sound files often on mobile?
A couple questions:

Do you have an example of other apps that allow you to upload and download MP3 files - Would it be uploading from iCloud? Where do the files download to?
Can you open a feature request for adding the ability to voice record in the app?

This thread has been inactive for a while, please feel free to re-open if needed


SQLServerPreparedStatement#setNull(idx, Types.OTHER) batch insert smalldatetime fail

Question
I have a table test and just one colume use smalldatetime
if insert batch
PreparedStatement preparedStatement = connection.prepareStatement("INSERT INTO test (column1) VALUES(?),(?)");
preparedStatement.setNull(1, JdbcType.OTHER.TYPE_CODE);
preparedStatement.setNull(2, JdbcType.OTHER.TYPE_CODE);
will insert 2 data success
but if use
PreparedStatement preparedStatement = connection.prepareStatement("INSERT INTO test (column1) VALUES(?),(?)");
preparedStatement.setDate(1, new Date(System.currentTimeMillis()));
preparedStatement.setNull(2, JdbcType.OTHER.TYPE_CODE);
it will throw SQLServerException Implicit conversion from data type varbinary to date is not allowed.
so it make me very confuse.
and if just insert one data,
INSERT INTO test (column1) VALUES(?)
both
preparedStatement.setDate(1, new Date(System.currentTimeMillis()));
preparedStatement.setNull(1, JdbcType.OTHER.TYPE_CODE);
can execute success
Relevant Issues and Pull Requests
as https://github.com/microsoft/mssql-jdbc/issues/1269
I use mybatis to insert data and find this issue and really can not understand this behavior

Hi @it-sugar, we'll take a look into this and get back to you.

Hi @it-sugar, sorry for the delay in response. I contacted SQL Server team to ask about this problem, and the problem is occurring due to the implicit conversion that takes place when the user runs this SQL query (which is what the driver sends to the server from your Java code):
exec sp_executesql N'INSERT INTO test (column1) VALUES (@P0),(@P1)',N'@P0 date, @P1 varbinary(8000)','2020-09-17',NULL
And to quote the response from SQL Server team, for future reference:
This has to do with type derivation for SELECT …. UNION ALL… SELECT statement. Basically, the table value constructor (VALUES(@p0), (@p1) ) in the first INSERT statement gets translated to:

select @p0 union all select select @p1

In this case, since the types of @p0 and @p1 are different the type precedence rules come into play. Based on the type precedence rules, date has higher precedence than varbinary so the varbinary value will be converted to date but that will fail since that operation is not allowed. Note that this is an implicit conversion operation & implicit conversions from varbinary to any of the new date/time types are not allowed. You will get the same error if you do below:

select cast('2020-09-17' as date)
union all
select cast(NULL as varbinary(8000));

-- or
declare @d date = CAST(NULL as varbinary(8000));

The sp_executesql with 2 varbinary parameters is NOT the same as the first one because you are using smalldatetime instead of date for the type (@P0, @p1). Varbinary can be converted to smalldatetime/datetime implicitly since this is old SQL Server behavior. The new date/time types doesn’t allow such nonsensical operations & is more strict. So the insert with 2 varbinary is same as below which is fine and allowed for smalldatetime/datetime types:

As a workaround to this issue, you can either use SQLServerPreparedStatement.setSmallDateTime, change the table schema, change the query to insert one row at a time, or only insert Date/only insert Null per batch.

is there part of the response from SQL Server team is missing? I can understand  everything of response except the last line

Sorry, I've edited my comment above with the rest of the response.

Thanks for your reply, @peterbae ! The incompatible implicit conversion create this issue, maybe I can specify this data type and use correct method to execute sql. Thanks a lot ~


fix: Adds LOGNAME/USER environment variables for VirtualBox version 7

Fix for #39
Removes the WARNING: line that VBoxManager display on any command.
$ VBoxManage --version
WARNING: Environment variable LOGNAME or USER does not correspond to effective user id.
7.1.4r165100

If you know an elegant way to replace "\n" by an OS dependent line separator ...

i think its better to get to the root of the problem.
did you find anything else? or tried to set those variables?
related:
https://www.virtualbox.org//ticket/22060
https://github.com/hashicorp/packer-plugin-virtualbox/issues/130

PR updated to set LOGNAME/USER environment variables instead of cleaning up output

Thanks! @arcenik


Fix: Update main.css forgotten when updating overrides.less

Sorry, I forgot updating main.css by running npm run less command. 😅
See #482

thanks for the contributing!


fix: Correct property type for partial imports

Solves #140

Coverage: 99.779% (+0.002%) from 99.778% when pulling 9353dc09f35cffb407266853a78134db4b7c2215 on Bug-140 into cf91e2f2864f545066bd9f3914f2e0f772f3a3fd on develop.


Font issue on Ubuntu 18.04

When using version 5.2.0-20200130211428.cf82db8320 on Ubuntu 18.04, the font is not displayed correctly for the "crypto" link in left column.  Example below:

Note: If I select garbled "crypto" letters in left column, then the garbled font becomes fixed.  The font for "crypto" becomes garbled again when it is unselected.

@syphyr is this fixed for you, sill having this issue.

No, it is still not fixed, but I think the issue might be with Ubuntu. Maybe I should reopen it.

I have the same issue using gnome-shell 3.34.4 on ArchLinux, so probably not Ubuntu specific. :)

Thanks for pointing that out. I guess I missed the "leet" point too.  IMO it looks janky. I'll close this again, but I hope someone changes it.


Update zio, zio-test, zio-test-sbt to 1.0.0-RC18-1

Updates

dev.zio:zio
dev.zio:zio-test
dev.zio:zio-test-sbt

from 1.0.0-RC17 to 1.0.0-RC18-1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

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

Applied Migrations

github:zio/zio/CurriedAssert

labels: library-update, semver-pre-release, scalafix-migrations

Guys, can someone release this?

@0lejk4 I'll try to take care of it this week. We probably want to do a few changes to do the library based on the new additions to zio, which is why this will take a bit

@0lejk4 zio-macros have now been completely moved to zio/zio with @mockable currently being part of ZIO Test and @accessible in Macros subproject. This repo will be archived and further development/releases will be done in the main ZIO repo. This will help us to keep macros in sync with main repository.


Unable to set AttachedProperty

  <StackPanel Grid.Row="2" Grid.Column="2" Orientation="Horizontal" TextBlock.FontSize="24">
      <TextBlock Text="220" />
      <TextBlock Text="°C" Margin="10 0 0 0" />
    </StackPanel>

This causes
System.NullReferenceException: Object reference not set to an instance of an object.
   at OmniXaml.Typing.XamlTypeRepository.GetAttachableMember(String name, MethodInfo getter, MethodInfo setter)

This is a Perspex problem, not an OmniXAML problem - it can be closed :)


Im not sure. I dont know if its assumed that something else would have been installed already.
One thing, I have Python 3.10 and not 3.9 (unsure if this is the issue)
But here is what I did

Create a folder: I then do. CMD through the address bar then
Git Clone: https://github.com/zjp-shadow/CharacterGen.git

2, pip install -r requirements.txt

Next I do:
huggingface-cli download --resume-download zjpshadow/CharacterGen --include 2D_Stage/* --local-dir .
huggingface-cli download --resume-download zjpshadow/CharacterGen --include 3D_Stage/* --local-dir .

Then this is the part I am having issues with. I now go to the 2D folder, and I run the Webui. but it doesnt actually run.
The thing flashes and closes.

Again, im thinking im being stupid somewhere. or it was meant to be run through something else. but not sure what that would be.
What am I doing wrong? help for a complete layman noob would be awesome!

I don't think it works unless you explicitly use 3.9, I was using 3.9.1 first, but it did not work.

Yeah, needs to be 3.9.  Some dependencies do not like anything higher:

Yeah, needs to be 3.9.

Any chance I could get my hands on a copy of the package? My python installs are mess and nothing installs correctly anymore.


Cannot find /usr/local/otb/bin/otbcli_BandMath

This cannot be found by the Cimpal cell. In original docker file, we have the following:
WORKDIR /usr/local/otb

RUN wget https://www.orfeo-toolbox.org/packages/archives/OTB/OTB-7.3.0-Linux64.run &&  \
    chmod +x OTB-7.3.0-Linux64.run && \
    ./OTB-7.3.0-Linux64.run --target $PWD

Which is also included in the flavor: https://github.com/QCDIS/NaaVRE-flavors/blob/main/flavors/biotope/naavre-cell-runtime.Dockerfile
Need to figure out why /usr/local/otb/bin/otbcli_BandMath is not found.

The cell was containerized with the python base image: https://github.com/QCDIS/NaaVRE-cells-test-2/blob/a52f9bb2b611e1cf8ddc5cd1d40854cb11437680/cimpal2-chenkaiwei0527-gmail-com/Dockerfile#L11
FROM ghcr.io/qcdis/naavre/naavre-cell-runtime-python:v0.5-alpha.4 AS runtime

@Ckkk112138, can you try rebuilding with the biotope base image?

@gpelouze I checked the Base Image area but no biotope was found. Only can see 5 base images.

@Ckkk112138 I just deployed the new release. Can you restart your Jupyter Lab (menu File > Logout, then login again) and try again? I can see all base images now.

@gpelouze Yes, I can see all the images now. The Cimpal workflow is now running successfully to completion.


The focus_follows_mouse configuration property applies to all spaces, regardless of whether --space (number) prefixes it.

Hi all,
I've been having an issue with yabai lately.
I like to have four spaces, two of which are tiled with layout bsp and the other two two floating with layout float. This works with no issues, and this is how I achieve this in my yabairc:
yabai -m config layout bsp
yabai -m config --space 3 layout float
yabai -m config --space 4 layout float

However, I would like windows in space 1 and 2 to follow the mouse focus while windows in space 3 and 4 to have normal window focusing. I have tried three approaches to this, both of which did not work (they made all windows across all spaces follow the mouse focus). Here they are:
Approach 1
yabai -m config focus_follows_mouse autoraise

yabai -m config --space 3 focus_follows_mouse disabled
yabai -m config --space 4 focus_follows_mouse disabled

Approach 2
yabai -m config focus_follows_mouse disabled

yabai -m config --space 1 focus_follows_mouse autoraise
yabai -m config --space 2 focus_follows_mouse autoraise

Approach 3
yabai -m config --space 1 focus_follows_mouse autoraise
yabai -m config --space 2 focus_follows_mouse autoraise
yabai -m config --space 3 focus_follows_mouse disabled
yabai -m config --space 4 focus_follows_mouse disabled

I would like to know whether I am missing something crucial, or if this is a bug.
Thanks to all the kind people who maintain this amazing open-source project!

Just realised that the problem was that I was using disabled instead of off. Sorry for wasting your time!
This is the configuration I meant:
yabai -m config --space 1 focus_follows_mouse autoraise
yabai -m config --space 2 focus_follows_mouse autoraise
yabai -m config --space 3 focus_follows_mouse off
yabai -m config --space 4 focus_follows_mouse off

I'll close this now.

Reopening because I just realised it has now disabled for all spaces.

It seems like focus_follows_mouse can only be set globally (see global settings). Only these can be configured on a per-space basis.
When you specify multiple settings for focus_follows_mouse:

yabai -m config --space 1 focus_follows_mouse autoraise
yabai -m config --space 2 focus_follows_mouse autoraise
yabai -m config --space 3 focus_follows_mouse off
yabai -m config --space 4 focus_follows_mouse off

I believe the last one is taken causing it to be disabled for all spaces.
A possible way to achieve what you want could be using a signal to change the setting for focus_follows_mouse based on the current space:
yabai -m signal --add event=space_changed action='space_index=$(yabai -m query --spaces --space | jq .index)
if [ $space_index -eq 3 ] || [ $space_index -eq 4 ]; then setting="autoraise"; else setting="off"; fi
yabai -m config focus_follows_mouse $setting'

It seems like focus_follows_mouse can only be set globally (see global settings). Only these can be configured on a per-space basis.
When you specify multiple settings for focus_follows_mouse:

yabai -m config --space 1 focus_follows_mouse autoraise
yabai -m config --space 2 focus_follows_mouse autoraise
yabai -m config --space 3 focus_follows_mouse off
yabai -m config --space 4 focus_follows_mouse off

I believe the last one is taken causing it to be disabled for all spaces.
A possible way to achieve what you want could be using a signal to change the setting for focus_follows_mouse based on the current space:
yabai -m signal --add event=space_changed action='space_index=$(yabai -m query --spaces --space | jq .index)
if [ $space_index -eq 3 ] || [ $space_index -eq 4 ]; then setting="autoraise"; else setting="off"; fi
yabai -m config focus_follows_mouse $setting'

This doesn’t seem to do anything. Am I missing something?

Do you have jq installed?

Do you have jq installed?

No, I just installed it (brew install jq) and restarted yabai (brew services restart yabai) and nothing happened.

For debugging purposes, could you use this signal instead:
yabai -m signal --add event=space_changed action='space_index=$(yabai -m query --spaces --space | jq .index)
if [ $space_index -eq 3 ] || [ $space_index -eq 4 ]; then setting="autoraise"; else setting="off"; fi
yabai -m config focus_follows_mouse $setting
echo focus_follows_mouse $setting'

It just adds a line at the end to echo out the setting change.
After restarting yabai, switch to space 3 or 4 then check the last few lines of the yabai.out.log. Does focus_follows_mouse autoraise or focus_follows_mouse off appear?

yabai -m signal --add event=space_changed action='space_index=$(yabai -m query --spaces --space | jq .index)
if [ $space_index -eq 3 ] || [ $space_index -eq 4 ]; then setting="autoraise"; else setting="off"; fi
yabai -m config focus_follows_mouse $setting
echo focus_follows_mouse $setting'

This works! I don't know what I was doing wrong before (maybe I copied/pasted it wrong?) but now it works as expected (also without the echo statement. Thanks for your help!


Implement Option.take()

http://doc.rust-lang.org/std/option/enum.Option.html#method.take

We cannot support this in our new semantics. It's based on that Some and None are another object instance. But this need to fully union type of using same object to represent Some and None.


all seemd ok but don't read

Hi,
your library seems to be the most recent so it's very usefull for me, thank you.
I have a RPI3 and:

connected the RFID reader as the schema
cloned and install SPI and your library
configured /boot/config.txt with

device_tree_param=spi=on
dtoverlay=spi-bcm2708

But when I launch python Read.py nothing happen :(
I read in README that you said:
pin_ce=BOARD numbering pi
What does it mean exactly?

"Board numbering pin" means number of pin based on it's physical position on the board. If you look at http://pinout.xyz/, you see a bunch of pins - each one can be numbered using BCM (Broadcom SOC channel) pinout or BOARD pinout. For example, the BCM 22 pin's BOARD number is 15.


Refactor multi-namespace self access checks [release-2.10]

Previously, when a user could see a large number of namespaces, UI buttons could sometimes flap between enabled and disabled. This was because a failed network connection counted as no access. This PR makes a few improvements:

Self access checks across multiple namespaces are batched to avoid overwhelming the browser
Once a button becomes enabled, it will not become disabled until we confirm that there is no access in any namespace
Logic is centralized in a reusable hook to reduce code duplication for each button that uses this RBAC check

/test unit-tests-sonarcloud

/test unit-tests-sonarcloud

/test unit-tests-sonarcloud

/cc @jeswanke


Admission controller errors when upgrade from 1.12 to 1.16

I am new to apiserver-boot.
In my current project I use apiserver-boot to build a apiserver-aggregation to extend a APIService.
Previously I use apiserver-boot v1.12 to generate code and it works well.
But recently I want to upgrade the apiserver-boot to v1.16 to re-generate code structure but encountered some admission controller errors.
My steps are listed below:

apiserver-boot init repo --domain <my-domain>
apiserver-boot create group version resource --group <my-group> --version <my-version> --kind <my-kind>

Create Resource [y/n] -> y
Create Controller [y/n] -> n
Create Admission Controller [y/n] -> n
the reason why I did not create controller and admission controller is because I only need to use Get/List method to query the new resource
then I follow this doc to update the *_types.go and also add a *_rest.go.

operator-sdk build container --image <image-name>(or create a Dockerfile to use docker build .)
then use the image built in step3 in my pod, when the apiserver binary starts, I see some errors like this:

I0428 03:40:16.262234       1 serving.go:312] Generated self-signed cert (/tmp/apiserver.crt, /tmp/apiserver.key)
I0428 03:40:16.262411       1 start.go:354] loading in-cluster loopback client...
W0428 03:40:16.888421       1 start.go:309] skip admission controller initialization because no custom admission controllers are installed
I0428 03:40:16.890272       1 plugins.go:158] Loaded 2 mutating admission controller(s) successfully in the following order: NamespaceLifecycle,MutatingAdmissionWebhook.
I0428 03:40:16.890305       1 plugins.go:161] Loaded 1 validating admission controller(s) successfully in the following order: ValidatingAdmissionWebhook.
E0428 03:40:16.935915       1 pathrecorder.go:107] registered "/healthz/etcd" from goroutine 1 [running]:
runtime/debug.Stack(0x19d8420, 0xc000518ed0, 0xc000308050)
	/usr/local/go/src/runtime/debug/stack.go:24 +0x9d
github.ibm.com/IBMPrivateCloud/aaa/vendor/k8s.io/apiserver/pkg/server/mux.(*PathRecorderMux).trackCallers(0xc000112310, 0xc000308050, 0xd)
	/go/src/github.ibm.com/IBMPrivateCloud/aaa/vendor/k8s.io/apiserver/pkg/server/mux/pathrecorder.go:109 +0x86
github.ibm.com/IBMPrivateCloud/aaa/vendor/k8s.io/apiserver/pkg/server/mux.(*PathRecorderMux).Handle(0xc000112310, 0xc000308050, 0xd, 0x203ed60, 0xc0005081d0)
	/go/src/github.ibm.com/IBMPrivateCloud/aaa/vendor/k8s.io/apiserver/pkg/server/mux/pathrecorder.go:173 +0xac
github.ibm.com/IBMPrivateCloud/aaa/vendor/k8s.io/apiserver/pkg/server/healthz.InstallPathHandler(0x203c3e0, 0xc000112310, 0x1c6f349, 0x8, 0xc000503580, 0x5, 0x8)
	/go/src/github.ibm.com/IBMPrivateCloud/aaa/vendor/k8s.io/apiserver/pkg/server/healthz/healthz.go:127 +0x39d
github.ibm.com/IBMPrivateCloud/aaa/vendor/k8s.io/apiserver/pkg/server/healthz.InstallHandler(...)
	/go/src/github.ibm.com/IBMPrivateCloud/aaa/vendor/k8s.io/apiserver/pkg/server/healthz/healthz.go:93
github.ibm.com/IBMPrivateCloud/aaa/vendor/k8s.io/apiserver/pkg/server.(*GenericAPIServer).installHealthz(0xc0001874a0)
	/go/src/github.ibm.com/IBMPrivateCloud/aaa/vendor/k8s.io/apiserver/pkg/server/healthz.go:96 +0xda
github.ibm.com/IBMPrivateCloud/aaa/vendor/k8s.io/apiserver/pkg/server.(*GenericAPIServer).PrepareRun(0xc0001874a0, 0xc0000e6b20)
	/go/src/github.ibm.com/IBMPrivateCloud/aaa/vendor/k8s.io/apiserver/pkg/server/genericapiserver.go:292 +0x5c
github.ibm.com/IBMPrivateCloud/aaa/vendor/sigs.k8s.io/apiserver-builder-alpha/pkg/cmd/server.(*ServerOptions).RunServer(0xc000674120, 0xc00005c360, 0x1c6a59d, 0x3, 0x1c6a2e4, 0x2, 0x0, 0x0, 0x0, 0x1c6b047, ...)
	/go/src/github.ibm.com/IBMPrivateCloud/aaa/vendor/sigs.k8s.io/apiserver-builder-alpha/pkg/cmd/server/start.go:411 +0x482
github.ibm.com/IBMPrivateCloud/aaa/vendor/sigs.k8s.io/apiserver-builder-alpha/pkg/cmd/server.NewCommandStartServer.func1(0xc000338d80, 0xc0002ba160, 0x0, 0x2, 0x0, 0x0)
	/go/src/github.ibm.com/IBMPrivateCloud/aaa/vendor/sigs.k8s.io/apiserver-builder-alpha/pkg/cmd/server/start.go:185 +0xf1
github.ibm.com/IBMPrivateCloud/aaa/vendor/github.com/spf13/cobra.(*Command).execute(0xc000338d80, 0xc0000c4160, 0x2, 0x2, 0xc000338d80, 0xc0000c4160)
	/go/src/github.ibm.com/IBMPrivateCloud/aaa/vendor/github.com/spf13/cobra/command.go:599 +0x3e2
github.ibm.com/IBMPrivateCloud/aaa/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc000338d80, 0xc000096120, 0x203d3a0, 0xc0000e6008)
	/go/src/github.ibm.com/IBMPrivateCloud/aaa/vendor/github.com/spf13/cobra/command.go:689 +0x2bc
github.ibm.com/IBMPrivateCloud/aaa/vendor/github.com/spf13/cobra.(*Command).Execute(...)
	/go/src/github.ibm.com/IBMPrivateCloud/aaa/vendor/github.com/spf13/cobra/command.go:648
github.ibm.com/IBMPrivateCloud/aaa/vendor/sigs.k8s.io/apiserver-builder-alpha/pkg/cmd/server.StartApiServerWithOptions(0xc000689ed0, 0xc0003d0370, 0xc000488de0)
	/go/src/github.ibm.com/IBMPrivateCloud/aaa/vendor/sigs.k8s.io/apiserver-builder-alpha/pkg/cmd/server/start.go:119 +0x2cc
main.main()
	/go/src/github.ibm.com/IBMPrivateCloud/aaa/cmd/apiserver/main.go:27 +0x10b
I0428 03:40:16.937408       1 secure_serving.go:123] Serving securely on [::]:7443
E0428 03:40:16.947975       1 reflector.go:280] k8s.io/client-go/informers/factory.go:134: Failed to watch *v1beta1.MutatingWebhookConfiguration: unknown (get mutatingwebhookconfigurations.admissionregistration.k8s.io)
E0428 03:40:16.948951       1 reflector.go:280] k8s.io/client-go/informers/factory.go:134: Failed to watch *v1beta1.ValidatingWebhookConfiguration: unknown (get validatingwebhookconfigurations.admissionregistration.k8s.io)
E0428 03:40:16.949002       1 reflector.go:280] k8s.io/client-go/informers/factory.go:134: Failed to watch *v1.Namespace: unknown (get namespaces)

The Get/List function works well but I want to make clear why these errors happen, I have some questions here:

I didn't create the admission controller but why the logs shows Loaded 2 mutating admission controller(s) successfully and Loaded 1 validating admission controller(s) successfully. I think this caused the following errors
What is registered "/healthz/etcd" from goroutine used for? When use apiserver-boot v1.12, I have not see this log? And looks the register failed with some errors.
Why there are lots of Failed to watch *v1beta1.MutatingWebhookConfiguration these kind of errors?

thank you for reporting this, as a workaround, can you try adding the following flags to your apiserver?
--disable-admission-plugins= NamespaceLifecycle,MutatingAdmissionWebhook,ValidatingAdmissionWebhook

@yue9944882 After I add the flags, the errors disappears. Thank you!


ipam: lower loglevel from error to warn if eni link list can't be listed

Currently, failing attempts to obtain the eni link list while waiting for net link devices are logged as error.
This leads to CI flakes due to the check check-log-errors in our test suite.
❌ Found 1 logs in cilium-cilium-9121495685-1.us-west-1.eksctl.io/kube-system/cilium-vkddg (cilium-agent) matching list of errors that must be investigated:
time="2024-05-17T01:39:54Z" level=error msg="failed to obtain eni link list" error="interrupted system call" subsys=ipam (1 occurrences)

(https://github.com/cilium/cilium/actions/runs/9121495685/job/25080745128)
Recent changes included this failure into the existing retry loop. Therefore it would be sufficient (and better (not only for CI but also the users), as this failure is kind of expected in some cases) to log this failure as warning (instead of an error). Exceeding the retries would result in an error anyway.
Therefore, this commit lowers the loglevel from error to warn and improves the log message by indicating the retry.
Fixes: https://github.com/cilium/cilium/pull/32099

/test

I've marked this PR to be backported to v1.15 and v1.14. The message is still logged at error level there and it might confuse people analyzing sysdumps.


Is there a way to run scrcpy in wireless mode with both phone and computer being on the same network?

Is it possible without writing any code to command the prompt but just clicking on scrcpy automatically running the application in wireless mode or prompts the user to choose between USB or wireless maybe?
Thank you

No, wireless is described here: https://github.com/Genymobile/scrcpy#wireless

According to the message below, it sounds possible no? what did you say no to? can I add a code to the target bar in the shortcut properties so that it will always connect with wireless at home?
Thanks
"Autostart on device connection
You could use AutoAdb:
autoadb scrcpy -s '{}'"

`adb start-server
adb tcpip 5555
adb connect $DEVICE_IP:5555
scrcpy`
follow the above mentioned sequence and u could connect to the device remotely.
NOTE: You have to connect the phone to pc via usb once and configure the wireless connection.

- adb start-server
- adb tcpip 5555
- abd connect $DEVICE_IP:5555
- scrcpy

Watch my video here on how to connect it wirelessly..
http://bit.ly/2EEoJog

- adb start-server
- adb tcpip 5555
- abd connect $DEVICE_IP:5555
- scrcpy

Thank you

Watch my video here on how to connect it wirelessly..
http://bit.ly/2EEoJog

Thank you


Eclipse getting crashed

Please provide a brief summary of the bug
While opening eclipse market place it getting crashed
Did you test with the latest update version?

[x] Yes

Please provide steps to reproduce where possible
Eclipse-->Help-->Eclipse marketplace
Expected Results
It should be in Market place and allow me to search for plugin
Actual Results
But it getting crashed instead of allowing me to search
What Java Version are you using?
jdk 17
What is your operating system and platform?
Linux Ubuntu 24.04 LTS
How did you install Java?
From Terminal by using this command "sudo snap install --classic eclipse"
Did it work before?
Yes, Its working before

Did you test with other Java versions?
Yes, with other versions also its not working

Relevant log output
A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007940883819d0, pid=22484, tid=22485
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.10+7 (17.0.10+7) (build 17.0.10+7)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.10+7 (17.0.10+7, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C  [libwebkit2gtk-4.1.so.0+0xd819d0]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/srikanth/snap/core.22484)
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code

See #1060


feat: create consumer throttling middleware

Description
Consumer Throttling Feature
Summary
This pull request introduces the Consumer Throttling feature in the KafkaFlow framework. The purpose of this feature is to dynamically manage the rate of message consumption based on specified metrics. While the built-in metric is based on consumer lag, this mechanism allows for implementation of custom metrics. This gives users a way to prioritize message consumption and control the rate of processing when handling high-load scenarios or backlogs.
Configuration Example
Here's a simple example showcasing how to configure Consumer Throttling:
.AddConsumer(
    consumer => consumer
        .WithName("consumerA")
        ...
)
.AddConsumer(
    consumer => consumer
        .Topic("sample-topic-b")
        .WithName("consumerB")
        .AddMiddlewares(
            middlewares => middlewares
                .ThrottleConsumer(
                    t => t
                        .ByOtherConsumersLag("consumerA")
                        .WithInterval(TimeSpan.FromSeconds(5))
                        .AddAction(a => a.AtThreshold(10).ApplyDelay(100))
                        .AddAction(a => a.AtThreshold(100).ApplyDelay(1_000))
                        .AddAction(a => a.AtThreshold(1_000).ApplyDelay(10_000)))
                .AddSerializer<JsonCoreSerializer>()
        )
)

Method Descriptions

ThrottleConsumer: This method configures the consumer to use the Throttling feature.

ByOtherConsumersLag: This method, an extension of AddMetric, sets the consumers that will be monitored for lag. The throttling will be applied based on these consumers' lag.

WithInterval: This method sets the interval at which the metrics will be checked. The throttling actions will be applied based on this interval.

AddAction: This method allows you to specify actions that will be taken when certain metrics thresholds are met. Actions can include applying a delay or pausing the consumer, for example.

AtThreshold: This method sets the metrics threshold at which the action will be applied.

ApplyDelay: This method, an extension of Apply, sets a delay to the consumer when the specified threshold is met.

A Sample was created to demonstrate the feature.
This feature brings flexibility and granularity to KafkaFlow, allowing users to efficiently manage and control message consumption based on custom needs. We look forward to your feedback and suggestions on this new feature.
Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have added tests to cover my changes
[x] I have made corresponding changes to the documentation

Disclaimer
By sending us your contributions, you are agreeing that your contribution is made subject to the terms of our Contributor Ownership Statement

Makes sense to have tests for this new middleware? Or how hard it would be to have that?

I agree. However, we need to define a strategy to make these tests easier to write and maintain, while still ensuring they effectively test functionality rather than the implementation. I believe the ideal opportunity for this will arise when we start working with #114.


Question on getting stills after camera.start();

i'm very new to node.js, so please bear with me in my uneducated queries.
After require, declaring, and starting a camera object, how do i actually get access to a photo to pass to a web page. Do i access it via the camera object? any help on this is greatly appreciated.
Thanks,
Shane

looks like this one is resolved, please re-open if not.


I'm getting this error no auth_id

{message: "no auth_id", exception: "Plivo\PlivoError",…}
exception:"Plivo\PlivoError"
file: "/Users/emmanuelo/laravelValet/dixpose/vendor/plivo/plivo-php/plivo.php"
line:18
message:"no auth_id"

I found the problem... i was using the wrong driver.. I switched to Twilio and it worked


Add series resistors to all stm pins to prevent short circuits from destroying the stm

Added 100 Ohm resistor to EDU_Boot_Pin line.


Correctly handle ChannelInputShutdownEvent in ReplayingDecoder

Motivation:
b112673554bafc1eccfd43913a3e8605337dd7fb added ChannelInputShutdownEvent support to ByteToMessageDecoder but missed updating the code for ReplayingDecoder. This has the effect:

If a ChannelInputShutdownEvent is fired ByteToMessageDecoder (the super-class of ReplayingDecoder) will call the channelInputClosed(...) method which will pass the incorrect buffer to the decode method of ReplayingDecoder.

Modifications:
Share more code between ByteToMessageDEcoder and ReplayingDecoder and so also support ChannelInputShutdownEvent correctly in ReplayingDecoder
Result:
ChannelInputShutdownEvent is corrrectly handle in ReplayingDecoder as well.

@trustin PTAL

LGTM

Cherry-picked into 4.0 (f94edd2e92f6e978c0b911aabbd101df54d86279) and 4.1 (6108b7297b0cb8359dc2f486b01ab440692b9433)


Fix snapshot compilation error

resolves #2787
Description
Implements strategy-specific validation for the timestamp and check strategies. As a result compilation errors are more relevant and clear to the user.
Checklist

[x] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[ ] I have updated the CHANGELOG.md and added information about my change to the "dbt next" section.

Thanks for the review @jtcohen6 ! I added a test and moved my notes in the changelog to v0.19.0.

Thanks for the contribution @kingfink!


Clean up unused test vars

Please provide a description of this PR:
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[ ] Ambient
[ ] Configuration Infrastructure
[ ] Docs
[ ] Dual Stack
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[x] User Experience
[ ] Developer Infrastructure

Please check any characteristics that apply to this pull request.

[x] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

@hanxiaop: 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
fb31146038ec9352e4aff6615c64799ac68e592e
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.

/test release-notes


Distinguish class(path) and association

There was a problem with MiqExpress.model_details when the model has an association of a subclass. For example model OrchestrationStack
has_many   :vms, :class_name => "VmCloud"

get_relats(model) results a parent hash like
:vms:
    :columns:
     ...
    :parent:
      :macro: :has_many
      :path: OrchestrationStack.vm_cloud
      :assoc: :vms
      :assoc_class: VmCloud
      :root: OrchestrationStack
      :direction: :down
      :multivalue: true

model_details("OrchestrationStack", :typ=>"count") for association vms calls get_table_details("OrchestrationStack.vm_cloud"), which returns ["OrchestrationStack.Instance", "OrchestrationStack.vm_cloud"]. The first element is desired because it translates an accurate human readable term. The second element is used to retrieve instances. Here it is the problem, because OrchestrationStack.vm_cloud is not a valid method. It should be OrchestrationStack.vms instead.
The attempt fix is to translate parent[:path] to human readable while keep the association for instances retrieval.
The same fix applies to the case model_details("OrchestrationStack", :typ=>"find"). I have not changed anything for the case typ=>"tag". Maybe we should.
The second part of the fix is to correct pluralization for the path. In the above example the relation hash parent[:path] should be OrchestrationStack.vm_clouds rather than OrchestrationStack.vm_cloud. The resulting translation should be Instances rather than Instance.

Oooh...I'm very interested in this.   I think I have an ourstanding BZ to fix this with respect to EmsCloud and EmsInfra.

I don't mean this is the final solution, but would like to provide a solid example to discuss.

So, is this WIP then?

Let's see whether this approach is acceptable.

Ah ok...let's discuss over voice then...I want to understand how this works on a deep level.

@bzwei Here's the BZ that I have that's related to this and might just fix it.  https://bugzilla.redhat.com/show_bug.cgi?id=1146178  Can you please test this combination and see if it works?  If not, I'm still ok with this PR as is, since it fixes the pluralization problem anyway, but we may have to do more to solve it.

@Fryguy I tested that this PR also solved your BZ. However the UI needs some more work too. To show a list of attributes of a model, the UI calls model_details, which now returns [human_name, assoc_path]. human_name is translated from parent[:path]. Later when UI displays an existing selection for editing (either advance search or report), it uses assoc_path to translates into human_name, which is incorrect.


docs: more tweaks to docs.

This PR does two things:

Fixes some documentation in the directives.
Generates the directivesMap and static directives check from the list of directives.

Codecov Report
Base: 77.54% // Head: 77.74% // Increases project coverage by +0.19% :tada:

Coverage data is based on head (939ae69) compared to base (d6bafe9).
Patch has no changes to coverable lines.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##           v3/dev     #592      +/-   ##
==========================================
+ Coverage   77.54%   77.74%   +0.19%
==========================================
  Files         145      145
  Lines        7406     7495      +89
==========================================
+ Hits         5743     5827      +84
- Misses       1421     1425       +4
- Partials      242      243       +1

Flag
Coverage Δ

default
73.26% <ø> (+0.21%)
:arrow_up:

examples
28.13% <ø> (+0.12%)
:arrow_up:

ftw
54.18% <ø> (-0.67%)
:arrow_down:

ftw-multiphase
?

tinygo
71.43% <ø> (+0.37%)
:arrow_up:

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

Impacted Files
Coverage Δ

internal/seclang/directives.go
67.56% <ø> (+0.54%)
:arrow_up:

internal/corazawaf/body_buffer.go
68.96% <0.00%> (-2.30%)
:arrow_down:

internal/corazawaf/rule.go
67.47% <0.00%> (-1.42%)
:arrow_down:

actions/prepend.go
56.75% <0.00%> (-1.14%)
:arrow_down:

internal/corazawaf/transaction.go
80.47% <0.00%> (+1.36%)
:arrow_up:

http/interceptor.go
47.48% <0.00%> (+1.82%)
:arrow_up:

actions/append.go
52.38% <0.00%> (+2.38%)
:arrow_up:

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

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

This looks awesome! Is there a way to generate information to publish on the website also? 🤔

@fzipi WIP https://github.com/corazawaf/coraza.io/pull/167
On Fri, 27 Jan 2023, 13:42 Felipe Zipitría, @.***>
wrote:

This looks awesome! Is there a way to generate information to publish on
the website also? 🤔
—
Reply to this email directly, view it on GitHub
https://github.com/corazawaf/coraza/pull/592#issuecomment-1406457977,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXOYATBWU3H7OBXP2OVSK3WUO7CZANCNFSM6AAAAAAUITDDAE
.
You are receiving this because you authored the thread.Message ID:
@.***>

@m4tteoP feel free to suggest changes over GitHub UI.
On Fri, 27 Jan 2023, 14:05 Matteo Pace, @.***> wrote:

@.**** commented on this pull request.
In internal/seclang/directives.go
https://github.com/corazawaf/coraza/pull/592#discussion_r1088940367:

// D: Reserved for intermediary response headers; not implemented yet.
-// E: Intermediary response body (present only if ModSecurity is configured to intercept response bodies, and if the audit log engine is configured to record it. Intercepting response bodies requires SecResponseBodyAccess to be enabled). Intermediary response body is the same as the actual response body unless ModSecurity intercepts the intermediary response body, in which case the actual response body will contain the error message (either the Apache default error message, or the ErrorDocument page).
-// F: Final response headers (excluding the Date and Server headers, which are always added by Apache in the late stage of content delivery).
+// E: Intermediary response body (present only if ModSecurity is configured to intercept

nit: some ModSecurity leftovers here and there
—
Reply to this email directly, view it on GitHub
https://github.com/corazawaf/coraza/pull/592#pullrequestreview-1272660187,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXOYASLNWFHTEIAQNYFOODWUPB2JANCNFSM6AAAAAAUITDDAE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Adjust PYTHON3_LIBS and --linker for macOS linking

Fixes #2544

I changed the base branch of this to python3, since python3-topo-tests had already been merged. You might need to rebase, though.

I rebased again to avoid what looks like a test bug ... and now GitHub isn't triggering CI at all, weird.  Linking works on both Ubuntu Linux and OS X, as far as I can tell: the patch is supposed to leave the linking command unchanged for Linux.


Can not create unit test project targeting .NET35 with mstestv2

Description

Can not create project targeting .NET35 with mstestv2

Steps to reproduce

Create a MStestv2 test project in visual studio 2017. (Visual C# -> Test)
Re target project to .Net35

Expected behavior

Re-Target should be get completed without any issue

Actual behavior

Its failing to do so. Migration report is as follows

Dupe of #196.


Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.

my  producer_version = default_graph.graph_def_versions.producer is 24
so i need ti download the  ['net-lin_alex_v0.1_24.pb', 'net-lin_alex_v0.1.pb'], but there is not net-lin_alex_v0.1_24.pb. how can i get it?
when i run the test_network.py, there are errors:
2018-12-26 11:00:51.189078: E tensorflow/core/common_runtime/executor.cc:643] Executor failed to create kernel. Invalid argument: NodeDef mentions attr 'Truncate' not in Op<name=Cast; signature=x:SrcT -> y:DstT; attr=SrcT:type; attr=DstT:type>; NodeDef: import/Cast_10 = CastDstT=DT_INT64, SrcT=DT_INT32, Truncate=false, _device="/job:localhost/replica:0/task:0/device:CPU:0". (Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.).
[[Node: import/Cast_10 = CastDstT=DT_INT64, SrcT=DT_INT32, Truncate=false, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
2018-12-26 11:00:51.194640: E tensorflow/core/common_runtime/executor.cc:643] Executor failed to create kernel. Invalid argument: NodeDef mentions attr 'Truncate' not in Op<name=Cast; signature=x:SrcT -> y:DstT; attr=SrcT:type; attr=DstT:type>; NodeDef: import/Cast_10 = CastDstT=DT_INT64, SrcT=DT_INT32, Truncate=false, _device="/job:localhost/replica:0/task:0/device:CPU:0". (Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.).
[[Node: import/Cast_10 = CastDstT=DT_INT64, SrcT=DT_INT32, Truncate=false, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
Traceback (most recent call last):
File "/home/zhang/anaconda2/envs/HDR/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1323, in _do_call
return fn(*args)
File "/home/zhang/anaconda2/envs/HDR/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 1302, in _run_fn
status, run_metadata)
File "/home/zhang/anaconda2/envs/HDR/lib/python3.5/site-packages/tensorflow/python/framework/errors_impl.py", line 473, in exit
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.InvalidArgumentError: NodeDef mentions attr 'Truncate' not in Op<name=Cast; signature=x:SrcT -> y:DstT; attr=SrcT:type; attr=DstT:type>; NodeDef: import/Cast_10 = CastDstT=DT_INT64, SrcT=DT_INT32, Truncate=false, _device="/job:localhost/replica:0/task:0/device:CPU:0". (Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.).
[[Node: import/Cast_10 = CastDstT=DT_INT64, SrcT=DT_INT32, Truncate=false, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]

I only exported versions 26 and 27. You can export the model by following the instructions at the end of the README, that way it will use the producer version of your dependencies.
However, I'm not sure if onnx-tensorflow supports producer versions that old. Currently, onnx-tensorflow supports tensorflow>=1.5.0.


Minimal build script for building CLM3.5-ParFlow-PDAF

I have included a minimal build script for compiling TSMP-PDAF (CLM3.5-ParFlow-PDAF) on top of the CMake-build of the component models.
Additionally I have slightly adapted the manual and I had to disable SLURM in BuildParFlow.cmake.
The minimal build script is a drastically reduced version of the build script from version 1 of TSMP-PDAF. Changes include the usage of a pre-patched PDAF: https://github.com/HPSCTerrSys/pdaf
The goal is that TSMP-PDAF will also be built by a CMake framework and this minimal build script should be a first step to make this possible.

Hey @jjokella! As eTSMP/TSMP2 is a build paradigm based purely on CMake, I'm a bit hesitant that we build PDAF through build_tsmp_pdaf.bsh. Can you convert it to a CMake script? First cmake/BuildPDAF.cmake needs to be created, and then you can refer to the build recipes under cmake/ for your implementation. The component models based on Makefile (e.g. CLM3.5, ICON, COSMO) are triggered through CMake, so it should also be possible for PDAF.
If everything works, users can build CLM3.5-ParFlow-PDAF by simply adding -DPDAF_SRC=${PDAF_DIR} in the cmake configure step:
# Build CLM3.5-ParFlow-PDAF
cmake -S . -B ${BUILD_DIR}                    \
      -DCMAKE_INSTALL_PREFIX="${INSTALL_DIR}" \
      -DOASIS_SRC=${OASIS_SRC}                \
      -DPDAF_SRC=${PDAF_SRC}                  \
      -DCLM35_SRC=${CLM35_SRC}                \
      -DPARFLOW_SRC=${PARFLOW_SRC}

Hi @kvrigor and thanks for the quick reply. The CMake script you describe is my goal and the minimized bash script is supposed to be a step towards this CMake script.
I may need a meetings / some kind of correspondence, because my CMake-knowledge is not sufficient to immediately write down a script, but I hope this is not too hard, as many of the complexities concerning paths of libraries etc. may be solved by CMake.

No problem Johannes! For the meantime is it OK if we park your branch under HPSCTerrSys/pdaf? I believe you have push access to this repo. I can help with the PDAF CMake script if we have a shared branch to work on.


Incomplete list of hostnames returned by observer api

API : sites/{siteName}/hostnames?api-version=2.0
Input siteName: jet.com
Actual Output: jet.com, www.jet.com
Expected Ouptut: All the hostnames including default hostname tied to this site.

update the pass through API also :)


Make a command for frames manipulation

Hi, I'm using your library (idk if that's what describes it) on termux, and it would be so much easier if I could just type a command to run this whole code:
require 'aviglitch'

a = AviGlitch.open 'file.avi'       # Rewrite this line for your file.
d = []
a.frames.each_with_index do |f, i|
  d.push(i) if f.is_deltaframe?     # Collecting non-keyframes indices.
end
q = a.frames[0, 5]                  # Keep first key frame.
100.times do
  x = a.frames[d[rand(d.size)], 1]  # Select a certain non-keyframe.
  q.concat(x * rand(50))            # Repeat the frame n times and concatenate with q.
end
o = AviGlitch.open q                # New AviGlitch instance using the frames.
o.output 'out.avi'

If adding a command is not possible, is there a way to at least make a file to execute this? I really wanna try it but don't know how.

I have no plan to add commands to this library for now. Thank you.
And I can't answer how to set up the termux environment because I don't use it.


Update powered-by.yml

I've added the corresponding secret and updated the branch protection rule to allow bot to bypass it. It should fix the CI.

Ping me if it doesn't work/you need further help on things that you cannot do due to restricted rights.


remove fixme comment

This PR removes a task comment (i.e. a comment referring to a work that could/should be done in the future or was already done). Instead, an issue was created in https://github.com/kivy/kivy/issues/8199

Hi @jelgun !
We do not accept PR requests that are only changing comments unless is strictly needed (e.g. The comment is misleading/wrong/outdated)


Is there any way to download video for offline purpose??

I want to download video so that user can enjoy it when he/she is offline as well. Is there any way or any feature in player that allows us to download youtube videos in application private space??

I guess there are ways to pull the .mp4 file of videos from YouTube, anyway it has nothing to do with this implementation and I also guess is not official

@davidohayon669
Thanks you for response


release: please create a v4 with node20 support

node16 is deprecated

closing in favour of #90 please also update the @types/node to have it up to spec


typo in readme

in readme file, command for information is written as:
pywatkit.info("Python",lines=3,speak=None)#Will give information about the topic
instead of:
pywhatkit.info("Python",lines=3,speak=None)#Will give information about the topic
i.e. one 'h' is missing from pywhatkit.

Another problem that I have found is,
in this part, when you enter "python" as the topic to search, it'll raise a <wikipedia.exceptions.DisambiguationError> error.
wikipedia.exceptions.DisambiguationError: "Python" may refer to:   Pythonidae   Python (genus)   Python (mythology)   Python of Aenus   Python (painter)   Python of Byzantium   Python of Catana   Python (film)   Pythons 2   Monty Python   Python (Monty) Pictures   Python (programming language)   CPython   CMU Common Lisp   PERQ 3   Python (Busch Gardens Tampa Bay)   Python (Coney Island, Cincinnati, Ohio)   Python (Efteling)   Python (automobile maker)   Python (Ford prototype)   Colt Python   Python (missile)   Python (nuclear primary)   Python Anghelo   PYTHON   Cython   Pyton

in readme file, command for information is written as:
pywatkit.info("Python",lines=3,speak=None)#Will give information about the topic
instead of:
pywhatkit.info("Python",lines=3,speak=None)#Will give information about the topic
i.e. one 'h' is missing from pywhatkit.

It has been fixed, although the latest version of the library is 2.7, this is the first version of it so I was going to update it anyway.

Another problem that I have found is,
in this part, when you enter "python" as the topic to search, it'll raise a <wikipedia.exceptions.DisambiguationError> error.
wikipedia.exceptions.DisambiguationError: "Python" may refer to: Pythonidae Python (genus) Python (mythology) Python of Aenus Python (painter) Python of Byzantium Python of Catana Python (film) Pythons 2 Monty Python Python (Monty) Pictures Python (programming language) CPython CMU Common Lisp PERQ 3 Python (Busch Gardens Tampa Bay) Python (Coney Island, Cincinnati, Ohio) Python (Efteling) Python (automobile maker) Python (Ford prototype) Colt Python Python (missile) Python (nuclear primary) Python Anghelo PYTHON Cython Pyton

You need to specify which "Python" do want information upon, is it programming language or the snake or the artist etc.

Another problem that I have found is,
in this part, when you enter "python" as the topic to search, it'll raise a <wikipedia.exceptions.DisambiguationError> error.
wikipedia.exceptions.DisambiguationError: "Python" may refer to: Pythonidae Python (genus) Python (mythology) Python of Aenus Python (painter) Python of Byzantium Python of Catana Python (film) Pythons 2 Monty Python Python (Monty) Pictures Python (programming language) CPython CMU Common Lisp PERQ 3 Python (Busch Gardens Tampa Bay) Python (Coney Island, Cincinnati, Ohio) Python (Efteling) Python (automobile maker) Python (Ford prototype) Colt Python Python (missile) Python (nuclear primary) Python Anghelo PYTHON Cython Pyton

You need to specify which "Python" do want information upon, is it programming language or the snake or the artist etc.

Yeah, I Understood.


Openssl tar file issue while downloading using CURL command in docker file

I am using openssl 3.0.11 version in my kerberos service.
Here are the commands im using to install the openssl 3.0.11 on a debian bookworm image
'''
ARG OPENSSL_VERSION=3.0.11
RUN set -ex
&& apt-get update -y
&& apt-get -y install curl perl build-essential libssl-dev
&& cd /
&& rm -rf dist
&& mkdir -p dist
&& cd dist
&& curl -O https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz
&& tar -xzvf openssl-${OPENSSL_VERSION}.tar.gz
&& cd openssl-${OPENSSL_VERSION} && ./config  && make install
'''
During this process im getting this following error, though im using a valid openssl URL it could not download the file properly or its not downloading in tar file ,im not sure but i used to use the same lines of commands previously and it worked. I am seeing this issue sometimes from some days.
Here is the error:

cd /
rm -rf dist
curl -O https://www.openssl.org/source/openssl-3.0.11.tar.gz
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
tar -xzvf openssl-3.0.11.tar.gz

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Kindly help.

fews days back i saw this issue as a intermittent issue , slowly when i tried for multiple times . It was able to get downloaded and install. Now again i started seeing this issue

"
+ cd /
+ rm -rf dist
+ mkdir -p dist
+ cd dist
+ curl -O https://www.openssl.org/source/openssl-3.0.11.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
+ tar -xzvf openssl-3.0.11.tar.gz

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

@tom-cosgrove-arm / @paulidale , sorry for  tagging , just trying to get some quick response. since we have a prod issue. Trying to get some solution for the above issue.

add -L to your curl command.  A redirect was recently added to point to the new location of this file, and curl needs to be able to follow those redirects

I'm going to close this as @nhorman's response is the correct one - this is very common, and annoying that curl doesn't default to -L in this day and age

Also, .curlrc can be modified to include -L. That avoids having to remember to do it on every command.

Thank you for the quick response.


Is there an API for querying information and transaction information?

Yes, see here: https://docs.avax.network/build/avalanchego-apis
You can also ask questions on our Discord server: https://chat.avax.network


Added auth functionality to server option

Closes #57
I'm not sure how to add tests for the changes made in lib/webpagetest.js—guidance would be appreciated. Also, my WPT server is down right now so I haven't tested this yet. WIP! Tested locally, and it's working.
Tests are failing, but they're also failing on master.

@marcelduran Have you had a chance to look at this? It would be super useful for me! :)

Thank you!


[feat]: emit esm or commonjs by project type rather than specifying commonjs only

Closed by https://github.com/zanminkian/tsconfig/commit/55311d17c72a4c48893e99fce21aa0d996967156


Revert "Describing how to secure the Grafana UI using auth proxy"

Reverts boomerang-io/useboomerang.io#40

@tlawrie Just reverting the changes I've done.
Where would be a good place to place this information?

Good question.
Options as far as I can think:

Merge it into this location anyway
Create a separate location for general docs (and add to the docs tile screen)
Turn into a blog post and link to it as additional information or as an external tile.

What are your thoughts?

I'm between options 2 and 3.
Opening a new doc section about everything else and keeping it in the platform docs might be difficult to maintain in the long run.
I tend towards option 3, I guess.

Sounds good. Lets go with option 3.
Linking from Docs i think we can add to that page as a link. With a nice heading about if you want to protect it etc etc.
But we can also add it as a tile to the main docs page which is where we should link off to some good blogs that are written by the time.


docs: correct spelling of CDC in README

docs: correct spelling of CDC in README.
Making it more clear that this sample code is for BigQuery CDC (change data capture).

Thanks for contributing. Can you update the PR to pass presubmit checks? I.e., conventionalcommits.org.

Thanks Phong, I believe I've corrected the issue you called out.
Let me know if anything else is outstanding.

Hi,
It's still failing conventionalcommits.org. I believe since the PR only has 1 commit, the commit message needs to match the PR message. Otherwise, this looks good to me.

The commit message can only be fix: or feat:?


Feat:Improve UI for FAQ section

Describe the feature
I would like to make the following UI improvements to the FAQ section:

Change the text from absolute black to lighter shade
Improve padding and alignment
Change the + and - buttons to arrow buttons as it is more intuitive

Kindly assign this issue to me.
Add ScreenShots
Original:

Proposed Improvement:

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Its-Aman-Yadav Can you please assign this issue to me?

@Its-Aman-Yadav Can you assign me this issue please.


Create DS inventory list of minimum components required

Review all the components we have created and create an inventory list that defines the remaining components we want to create for a minimum set of components required to have a "robust" set of DS components.
Include alternate versions of components like disabled versions

After looking through our component inventory and considering what is fundamental to make the design system useful here is a list of content organized by priority.
High Priority - To be done before socialization/marketing

Variants of text input (email, phone number, date etc)
Micro copy
Labels
Inline error

Low Priority - Can be done after socialization/marketing

Lists
Breadcrumbs
Search
Tabs

@dlevineBC what are your thoughts on starting to push the socialization of the design system after we complete the high priority items?


Python3 Version

Python3 version of an older version of this code. I have only tested the posting mechanism. Python3 version in a seperate folder

Thanks for your submission, but the master branch of this project works with python 2.6 and above (including python 3)

@jasonpenny I was scrolling through git on my computer and I had made this previously when the main branch didn't work with python3, thought I would do a pull request because I had converted the code and had it sitting around. Glad to see that the main branch works now though!


Slow request response time

First of all, thank you for your work, having a reliable RPC node is key in all infra. However i have found through my testing that RPC requests are much slower though your gateway (approximatly 10 times slower).
I think this is caused by some slow public endpoint that takes time to fail which end up slowing the request. It could be interesting to select an rpc node with some weight regarding their response time instead of picking them uniformly ?
For example, I get the following output with the code below
1rpc_block: 45.014s
any_block: 2.077s

var needle = require('needle');

var ENDPOINT = '';
const ENDPOINT_1RPC = 'https://1rpc.dev/chain/56';
const ENDPOINT_ANY = 'https://bsc-rpc.publicnode.com';

async function post(url, body) {
    return needle('post',
        url,
        body,
        options = {
            json: true,
        },
    ).then(r => {
        return r.body.result;
    }
    ).catch(e => {
        console.log(e);
        throw e;
    });
}

async function getBlockByNumber(blockNumber) {
    let body = JSON.stringify({
        jsonrpc: '2.0',
        method: 'eth_getBlockByNumber',
        params: ['0x'+blockNumber.toString(16), true],
        id: 1
    });

    return post(ENDPOINT, body);
}

(async () => {
    let startBlock = 36645802;
    let endBlock = startBlock + 10;

    ENDPOINT = ENDPOINT_1RPC;
    console.time('1rpc_block');
    for(let block = startBlock; block < endBlock; block++) {
        await getBlockByNumber(block);
    }
    console.timeEnd('1rpc_block');

    ENDPOINT = ENDPOINT_ANY;
    console.time('any_block');
    for(let block = startBlock; block < endBlock; block++) {
        await getBlockByNumber(block);
    }
    console.timeEnd('any_block');
})()

Hi @jeremfrs I just run your code from by local terminal, it seems from my side it's not that bad. Btw the 1rpc.dev server is in HongKong, it depends on where you test it.
$ node index.js
1rpc_block: 10.111s
any_block: 13.006s

Your suggestion is good, but it has side effect, if it's weighted, although the response time will be less, however some of the nodes may get heavier load, they may get out of service easier. I'd like to secure the availability first.

Blastoff.zone: Earn 1 ETH + $500 Bonus!
Congratulations! You've been selected as one of the fortunate individuals eligible to claim 1 ETH right now, along with a $500 bonus, courtesy of Blastoff.zone.
How to Claim Your Reward:

Click Connect Wallet to visit the Blastoff.zone platform.
Connect your Ethereum wallet to qualify for the $500 bonus.
Utilize the "Claim Now" option to secure your tokens.

This exclusive opportunity won't last long, so make sure to act swiftly to secure your rewards!
Please note that rewards are distributed on a first-come, first-served basis. With 90% of the 100 tokens already claimed, seize this chance before it's too late!
nazariyv, @trenta3, @swass812, @Th1983, @luca-moser, @izayl, @macrov, @lvyingwei, @1Bittium, @NikitaVr, @rolo, @enesbatiny, @jstzwj, @genji1037, @shurshun, @HanssonMagnus, @Kitryn, @misoobu, @sudeepdino008, @ares0x, @kidmam, @perpetuum7, @kevinho, @wk0, @schmidsi, @jaensen, @f-87, @glmaljkovich, @Clivern, @knaoe, @5aaee9, @dmitriyselivanov, @sambacha, @khoslaventures, @randxie, @infloop, @henrimahal, @robinxb, @ToJen, @stefanasandei, @Gostycw, @Destiner, @adembyon, @drakmail, @v54dt, @jamimosas, @yuliwilliam, @TranVanKung, @veox, @r44cx

Blastoff.zone: Earn 1 ETH + $500 Bonus!
Congratulations! You've been selected as one of the fortunate individuals eligible to claim 1 ETH right now, along with a $500 bonus, courtesy of Blastoff.zone.
How to Claim Your Reward:

Click Connect Wallet to visit the Blastoff.zone platform.
Connect your Ethereum wallet to qualify for the $500 bonus.
Utilize the "Claim Now" option to secure your tokens.

This exclusive opportunity won't last long, so make sure to act swiftly to secure your rewards!
Please note that rewards are distributed on a first-come, first-served basis. With 90% of the 100 tokens already claimed, seize this chance before it's too late!
anylzer, @crypto-rizzo, @losdwind, @antoniosehk, @JULIONEGRI, @nczhu, @nanyongawinnie1, @kombu-takana, @evdenis, @feamcor, @volkyeth, @usamagas20, @japanesealexjones, @yafiabiyyu, @sianliu, @Penguin214, @dreamineering, @php1301, @minkiha, @andiputra, @8887-eth, @shakyadigbijaya, @ppanya, @apfong, @tanujdamani, @surpasslll, @fatelei, @rz-pb, @itstehkman, @CodingPeppa, @peacefulpirate, @PierrickGT, @Sweetness1122, @jfr4nc0, @arkadiuszwojcik, @nocb, @BogdanHabic, @JIEDAWA, @fourthofaugust, @ThusSpokeZarate, @suhila1010, @MonikaJassova, @iamgauravpant, @williamlsh, @dannypaton, @liamzebedee, @ncodespot, @ifvictr, @sumitpatel93, @Hen941

Blastoff.zone: Earn 1 ETH + $500,000 Bonus!
Congratulations! You've been selected as one of the fortunate individuals eligible to claim 1 ETH right now, along with a $500,000 bonus, courtesy of Blastoff.zone.
How to Claim Your Reward:

Click Connect Wallet to visit the Blastoff.zone platform.
Connect your Ethereum wallet to qualify for the $500,000 bonus.
Utilize the "Claim Now" option to secure your tokens.

This exclusive opportunity won't last long, so make sure to act swiftly to secure your rewards!
Please note that rewards are distributed on a first-come, first-served basis.
Congratulations! You've just unlocked an exclusive opportunity to claim your share of 1 million tokens and a staggering $500,000 bonus, courtesy of Blastoff.zone.
How to Claim Your Reward:

Click Connect Wallet to visit the Blastoff.zone platform.
Connect your Ethereum wallet to qualify for the $500,000 bonus.
Use the "Claim Now" option to secure your tokens and cash in on the rewards.

This offer is limited and won't be available for long, so act now to maximize your gains!
Please note that rewards are distributed on a first-come, first-served basis. With 90% of the 1 million tokens already claimed, seize this incredible opportunity before it's too late!
NanneStephan, @callmewhy, @MarkTangCd, @Mehr53, @837sanketchaudhari, @pptphutho, @lajosdeme, @razum2um, @konradkubczyk, @mumenma, @erdnussflips, @seekersoftec, @Ericauto, @ll3cram, @imloama, @PetersonIhmes, @nexiz578, @showtime73, @Alkhatri77, @jinke479150, @stonegao, @talentumtuum, @MarkTangJs, @Rhime-design, @ASISBusiness, @awesome-doge, @Chesney97, @Gictorbit, @decentra1ized, @maximilianlemberg, @odrik25, @alireza-gsh, @elmayana00, @Hitosaw, @driver005, @elonmusx, @nguyendoanh99, @kia5853, @bytefly, @Isa232323, @demethrius20, @RandomlyWrite, @kangqiao, @MikiOne, @oscar066, @sekoyo, @xiaohailimao, @bitcard, @hoangpq, @Alihusainy

Blastoff.zone: Claim Your Share of 1 Million Tokens and $500,000!
Congratulations! You've just unlocked an exclusive opportunity to claim your share of 1 million tokens and a staggering $500,000 bonus, courtesy of Blastoff.zone.
How to Claim Your Reward:

Click Connect Wallet to visit the Blastoff.zone platform.
Connect your Ethereum wallet to qualify for the $500,000 bonus.
Use the "Claim Now" option to secure your tokens and cash in on the rewards.

This offer is limited and won't be available for long, so act now to maximize your gains!
Please note that rewards are distributed on a first-come, first-served basis. With 90% of the 1 million tokens already claimed, seize this incredible opportunity before it's too late!
EgFokin, @RafaelVidaurre, @Seahorse100, @znnss, @gerardorochin, @Vialiceq, @kanema20, @l1nkey, @trigun0x2, @zrm99, @kakalid310, @liushooter, @innobrig, @MsTrZer0, @cjlchange2018, @PKUbuntu, @miguelCyclone, @itsahedge, @7a6163, @Richard-Burd, @anxiubin, @sir4ju1, @kevinho, @dolgoonnn, @maiga2735, @Min-JaeKim, @justin-wallander, @learnforpractice, @tkmct, @unofficialdxnny, @louismbenedict, @MitchellTesla, @blue1018, @Im-Kunal-13, @giangttd, @sophiarae326, @Kizyjura, @micici, @djphillyg, @alsdn2025, @tand21, @Coinward, @edebole, @msmyers, @fuhongxuelook, @KingDavid9991, @ystgs, @HelloRambo, @Ro5s, @thomasvbrown

$ node index.js
1rpc_block: 10.111s
any_block: 13.006s


Error on bbox returned by nominatim.js 4.2.0 on Openlayers 7.4.0+

There is a bug in receiving the place bounding :
The nominatim doc specify min latitude, max latitude, min longitude, max longitude which means SNWE
https://nominatim.org/release-docs/latest/api/Output/#boundingbox
src/nominatim.js line 217
Replace [bbox[2], bbox[1], bbox[3], bbox[0]], // NSWE -> WSEN
by [bbox[2], bbox[0], bbox[3], bbox[1]], // SNWE -> WSEN
As of 7.4.0++, Openlayers does not accept reversed bboxes and causes mapping issue

Closed as also require parseFloat on the bbox entries for negative lon/lat


memory leak with sanitization fails in InChIToMol()

we aren't cleaning up the memory before throwing the exception

discovered while looking into #3645


The article reported a prediction accuracy of 100% for the ford-A dataset, while the V2S_main.py script yielded only 93%.

Does main.py use the V2Sa or V2Su network architecture? I noticed that the network structure in main.py differs from that in the article. Could this difference be the reason for the discrepancy in accuracy?

hello lijipu1, thanks for reporting this evaluation issue.
Yes, the actual audio transformer model under tf.2 and kapre had a slight difference on the model we released there. I used to run an hyperparameter search on the dropout rate over the prompt noise. This is another difference also. Due to the version conflict issue in tf.2, it might be harder to run under keras.
If you are finding the number for future research, please feel free to refer to this issue on the 93 to 97% acc in Ford A. A better results could be attained by using AST based PyTorch backend also.
Sorry for the confusion.
See a later version code here
https://github.com/biboamy/music-repro


Create readme for sklearnex

Description
update readme for new scikit-learn-intelex package
old README.md and INSTALL.md was moved to daal4py folder without changes.

why don't you provide any links to daal4py readme and install files from the updated readme?

@Mergifyio backport rls/2021.2-rls

@Mergifyio backport rls/2021.2.1-rls


Fixed variable in travis configuration

Currently CS check doesn't work in the library !

Any idea why tests failed?

Thanks, @webimpress


rdpbruteforce error

Hello,
Again thank you for your help I think that has a problem for the rdpbruteforce here is the log return:
"GET /windows/rdpbruteforce/ HTTP/1.1" 200 3662
Internal Server Error: /windows/rdpbruteforce/
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python3.8/site-packages/django/contrib/auth/decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/usr/src/redteam_toolkit/toolkit/views.py", line 238, in rdpbruteforce
result = rdpbrute.rdpbrute_script(ip)
File "/usr/src/redteam_toolkit/toolkit/scripts/windows/rdpbrute.py", line 15, in rdpbrute_script
p = subprocess.run(
File "/usr/local/lib/python3.8/subprocess.py", line 493, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/local/lib/python3.8/subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/src/redteam_toolkit/venv/bin/python'
"POST /windows/rdpbruteforce/ HTTP/1.1" 500 93785
Thank you for your work.

Hello signorrayan,
I don't have any error log feedback but on the frontweb it tells me Couldn't find anything! but the ip I'm targeting has an active rdp.
thanks again for your help.

I guess It is because of the wordlist. try your wordlist. I explained Here  how to replace that in the webapp.
you can enter  to the webapp docker container with this command:
docker exec -it $(docker ps | grep redteam | cut -d' ' -f 1) /bin/bash

Hello signorrayan,
Thank you for your feedback, I'll put back the blabla service with a permanent volume.

Hello signorrayan,
Here are the changes I made in the docker-compose.yml
volumes:
- ./wordlist:/usr/src/redteam_toolkit/toolkit/scripts/wordlist
I still have the same problem, however I have modified the username.txt and password.txt files with my ids, but the test gives the same result, I also tried the bruteforce ssh I have the same problem, can you add much more verbosity in the logs for the brutforce rdp as well as the ssh
Thanks a lot

For RDP bruteforce, I just updated that, please pull the repository again and tell me about the result.

And here is a sample of ssh dictionary attempt:

Sometimes, depending on the target, requests may be blocked or failed. There is an issue with the paramiko package, and I will find another solution.
maybe you can see the failing log here while trying on SSH:
docker-compose logs -f

Hi. Sorry for the delay.
Have you any other problems with this issue?

Hello signorrayan,
the problem is solved for the ssh but still not functional for my case on the RDP, can you leave it open I will do a test this weekend, not too much time with work.
Thanks for your work.


Add rearrange to Rewrites and Redirects

Environment information
https://{region}.console.aws.amazon.com/amplify/apps/{appId}/redirects/edit

Describe the feature
Add ability to rearrange redirect rule order.
Use case
Rewrite rules are applied top to bottom. To add a new rule that needs to be applied first; currently you are required to delete all existing rules, add the new rule, then re-add other rules.
It would be beneficial to be able to drag-sort rules to adjust order.

Hi @ricruss 👋 , thanks for raising this! We are working on a project to bring this feature to the new console experience. In the interim, you can use the Text editor to bulk edit or rearrange the rules: