How to compress images which are in portrait while preserving the resolution dimensions? 4608x2592

Great plugin. i m able to compress normal landscape  images perfectly and their dimensions are correctly coming. however, when i try to compress an image of portrait with these dimensions 4608x2592 and raw size of 2.60 MB, the output compress file dimensions are 2098x3732 (which distorts the image ratio so it looks bad), and final size of 586 KB. File size is good but dimensions are getting messed up. can u fix this please?
I am using below options:
var options = {
maxSizeMB: 1,
useWebWorker: false
}
i even tried using the           maxWidthOrHeight: 1920, but then it doesnt work for images with dimensions of 4608x2592
.. can u tell me what would be the best maxWidthOrHeight value which will be able to compress and scale most images on the web while preserving the dimensions?

Can you provide the image that leads to image ratio distortion so that I can reproduce the problem you mentioned?
The value of maxWidthOrHeight depends on your use case ;)


Bot is not able to listen on http://localhost:3978/api/messages.

🚨 The issue tracker is not for questions 🚨
If you have a question, please ask it on https://stackoverflow.com/questions/tagged/botframework
[question]
I keep getting this error message when I type in "hello" to get a welcome message from bot.

Hello @stevkan , any update in this?

Can you answer a few questions for me:

Which SDK and version are you running (C#, JS) (4.21.0, 4.20.1, etc.)?
If JS, which version of Node are you running?
Is this a new bot or a pre-existing bot? In other words, has the bot been running previously without error and only just started or is this a new bot which you are experiencing this problem out-of-the-box?
If you haven't, could you try downgrading the BotBuilder package to a previous version and test, again?
Have you verified the bot is running on port 3978?
Have you verified the MicrosoftAppId and MicrosoftAppPassword match between the bot and Emulator?
Is your bot's Azure registration configured for it to be a SingleTenant, MultiTenant, or UserAssignedMSI and is your bot configured for the same?

Hello @stevkan ,
Answers below.
A. The SDK version is 4.18.1 ( Bot framework V4 SDK templates)
B. Its not JS and C# solution . I am pulling the code out of this Github repo https://github.com/namitts82/NLPonAZDo . However I dont see the dependencies uploaded in this Github repo and I have to download latest versions of the complaining dependencies for the project to compile.
C. This is a new bot which is the output of the https://github.com/namitts82/NLPonAZDo repo C# compilation.
D. How to verify if the bot is running on port 3978? Suggestions please.
E. I dont have a MicrosoftAppId and MicrosoftAppPassword created. Is this mandate for the BOT to work and respond.

Any update @stevkan ?

@NarendraBabuTR - Thank you for your patience. Unfortunately, the repo you pulled the code from is not an official Microsoft repository and, therefore, is not one we can provide support for. I would recommend creating an issue in that repo to get help from the code owner or posting your question on Stack Overflow for broader community support.


Including only some files

I'm upgrading from Clowd.Squirrel 3.0, which I haven't yet shipped to customers, so I thought I would upgrade to this before shipping to customers later this week, as I've been so impressed with Clowd.Squirrel. just worked perfectly so far in my testing.
However it does seem to be designed a little differently.
Few points:

In the previous version I could specify an already built nupkg file. This is useful to me because I can then choose which files I want to include. I just tried to do a .net publish and there's all sorts of stuff in there that I don't want..  Can I just put what I want in a folder to use?
Did try and compile it using vpk, but I am building a WPF application and thus have no Program.Main, so it doesn't work "Failed to verify VelopackApp. Ensure you have added the startup code to your Program.Main(): VelopackApp.Build().Run();"
I can't find a way to get my application signed, even if I could compile it. Doesn't seem to be any sort of signing parameters on the command line? As with Clowd.Squirrel, I only want to sign EXE's and not DLLs, presume that's a pack parameter
The previous version had commandline parameters that allowed me to do certain things when it was being installed or uninstalled . Are those available somehow as I need to install other programs and set up my  application icons

fyi: I'm seems like I'm running Velopack CLI 0.0.64-g250b6b8 currently.
Am I best just to ship with Clowd.Squirrel 3.0 for the moment?
Thanks!

at the moment not possible, no. when writing your build script I imagine you can delete the files you don't want before bundling? however I could consider adding some "exclude" parameters in the future.
You can create a program.main in wpf, there are several ways - one of which is described here. https://www.meziantou.net/creating-a-custom-main-method-in-a-wpf-application.htm - I plan to also supply a WPF example app shortly. The other option, is to override OnStartup in your Application class - although since this happens later in your app startup it might be a bit slower.
All the same signing parameters should be as before, can you share the output of "vpk pack -h" with me?
Yes, all of this is still possible, please check the methods available on VelopackApp.Build()

Clowd.Squirrel 3.0 had some unresolved issues, Velopack is better designed and better tested - I apologise for any pains you're having getting set up.

You should see something like this - same signing parameters as before.

Thanks. Partway through my reply...

Copying files to a folders seems to work fine, so that will work for me.
Followed your instructions and that works fine.
ah, found  the command line parameters by accidentally putting in an invalid one. I tried this and didn't get the pack details:
PM> vpk -pack -h
Description:
Velopack CLI 0.0.64-g250b6b8 (prerelease) for creating and distributing releases.

Usage:
vpk [command] [options]
Options:
-?, -h, --help  Show help and usage information
--version       Show version information
--verbose       Print diagnostic messages.
Commands:
pack      Creates a release from a folder containing application files.
download  Download's the latest release from a remote update source.
upload    Upload local package(s) to a remote update source.
delta     Utilities for creating or applying delta packages.

Continuing..
4. That seems to work fine. I'll now test it in an actual application

Clowd.Squirrel 3.0 had some unresolved issues, Velopack is better designed and better tested - I apologise for any pains you're having getting set up.<<

No problem at all, obviously early days with this new release, so not expecting everything to be perfect yet. Thanks for all the work you've put into improving it. It is such a great way to install.

Closing this for now, as it seems you've resolved all your questions. Let me know if I can be of any further help and I can re-open this. You can also pop in our Discord if you just have some quick questions it might be faster.


Getting JavaScript not active errors when using Search

Describe the bug
When I use search I receive an error stating: " Please activate JavaScript to enable the search functionality. "
To Reproduce
Steps to reproduce the behavior:

Do a search
See error

Expected behavior
See my search results instead :)
Screenshots
https://urllib3.readthedocs.io/en/latest/search.html?q=a&check_keywords=yes&area=default
Desktop (please complete the following information):

OS: Ubuntu
Browser: Firefox
Version: 80.0.1

Wheeeee! Fixed in 38228f4.

Thank you much! :) (and be nice to yourself)

I think this has broken again in 2020.11.15b17. I'm seeing the error on my docs and the demo site. If I pin the version to 2020.11.10b15 it works fine.
Is this due to e8dc65a7a29a67194d6819bc91f81aa079f1eb0f ?
Examples:

https://sphinx-autofixture.readthedocs.io/en/latest/search.html?q=fixture&check_keywords=yes&area=default
https://pradyunsg.me/furo/search/?q=css&check_keywords=yes&area=default

Yup. Looks like something got borked by the defers in the JS. :)

93bdea276ad31576cd15489739813bf500485920 should fix this. I'll cut a release now -- @domdfcoding lemme know if stuff works with the beta 18! :)

Seems to be working OK with the beta 18. Thanks 😀

Awesome! ^>^


Add test case to test episode counter functionality

My partner has been removed from my project group. I am merging this pull request without a partner's review


Highlight .in templates used by configure_file

Templates expanded by configure_file are usually using the file extension .in. It would be great if this package could also highlight those.
In e.g. Atom the secondary file extension decides what language the expanded template represents. Often that is CMake code itself and then using the extension .cmake.in (see https://github.com/lucas-clemente/language-cmake/blob/8bb2712c78ed6126a4cbd9e68548e4078734abc2/grammars/cmake template cmake.cson#L2).
If this feature would be accepted I might be able to work on a pull request for it. I just wanted to gather feedback on the idea first.

@twxs Friendly ping. Any feedback on this would be appreciated.

Would appreciate if this feature were implemented. Currently working with my first "CMakeLists.txt.in" and it's a pain to not get the highlighting.
Maybe you know if there is a "files.associations" that works temporarily as a work-around? I have not been able to find one.


Demo from README not working on astrolab machines

We are doing a demo in PreMAP today on reproducibility in science, and can't reproduce the demo. Here's the error that we're getting for Figure 1:
(/astro/users/bmmorris/.conda/envs/multibandLS)bash-4.1$ python fig01_basic_example.py
Traceback (most recent call last):
  File "fig01_basic_example.py", line 56, in <module>
    phase = (t / model.best_period) % 1
  File "/astro/users/bmmorris/.conda/envs/multibandLS/lib/python3.4/site-packages/gatspy/periodic/modeler.py", line 152, in best_period
    self._best_period = self._calc_best_period()
  File "/astro/users/bmmorris/.conda/envs/multibandLS/lib/python3.4/site-packages/gatspy/periodic/modeler.py", line 162, in _calc_best_period
    return self.optimizer.best_period(self)
  File "/astro/users/bmmorris/.conda/envs/multibandLS/lib/python3.4/site-packages/gatspy/periodic/optimizer.py", line 14, in best_period
    return_scores=False)
  File "/astro/users/bmmorris/.conda/envs/multibandLS/lib/python3.4/site-packages/gatspy/periodic/optimizer.py", line 83, in find_best_periods
    omega_min = 2 * np.pi / np.max(self.period_range)
  File "/astro/users/bmmorris/.conda/envs/multibandLS/lib/python3.4/site-packages/gatspy/periodic/optimizer.py", line 49, in period_range
    raise ValueError("period_range must be set in optimizer in order "
ValueError: period_range must be set in optimizer in order to find the best periods. For example:
 >>> model = LombScargle(fit_period=True)
 >>> model.optimizer.period_range = (0.2, 1.0)

We're using: Py 3.4.3 on Scientific Linux.

Thanks! Should be fixed in https://github.com/jakevdp/multiband_LS/commit/7733e54d93a4c20346384301d59b190a77b72267
It is due to an API change in the most recent gatspy release – we no longer set the optimizer range by default, because some thought must go into choosing the right range for each specific problem.


Sign in modal with effects

also affected general bootbox messages like first time message. now with new design too.

looking good


Small script changes needed for SvelteKit 1.0 on Vercel using adapter-static

Hi,
Just wanted to document here that the correct (AFAIK - it works for me!) script in package.json for a Vercel deployment is:
npx svelte-sitemap --out-dir .vercel/output/static --domain https://www.example.com

Thanks, I've added it to the documentation ;)


Who can be considered a maintainer for a project?

AFAIK a maintainer is a user who has PUSH privileges to a codebase and how can approve of the changes made by other users. Currently the users are being divided into:  None, Owner, Collaborator, Contributor and Member. Out of these, I think Only Owner of the repo can be considered as a maintainer because they'll be deciding which code is included into the project or not.
Apart from that, we can set some conditions that if a user X has contributed Y times to a project and is active in solving issues then they can be considered as a maintainer.
We can also set a condition such as Issues.First:_Response(maintainers=['Owner', 'Memberr']) as Jesus @jgbarah suggested here during our meeting.
Start of the discussion.
This is relevant because for calculating #8 , we need to know who the maintainer is.

Hi, @aswanipranjal when you say "Currently the users are being divided into: None, Owner, Collaborator, Contributor and Member", you mean in the GitHub API, right?

Yes, @jgbarah.

i'm closing this for now, since this is part of a broader discussion on the concepts that we deal with for the metrics. Please, feel free to reopen if you think it is better to follow on here.


Missing image in article 10

There's a broken image link in the Accessing HTML resources from the browser section of article 10

This is part of a more general problem. See issue #82.


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29803

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/30101

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/121334


Firebase Analytics for Web wrong Readme

In the Firebase_analytics_web package readme the following is written 'This package is the endorsed implementation of firebase_analytics for the web platform since version 5.0.16, so it gets automatically added to your application by depending on firebase_analytics: ^ 5.0.16.' The latest version of firebase_anlaytics is 5.0.15, there is no version 5.0.16 that is specified there.

Tagged and published firebase_analytics 5.0.16
Thanks for reporting @alejandroaap!!


Changed buzzfeed url to current format.

I use this in my Docker classes so it would be good to get this merged. Thanks.

Yeah, image urls are broken, merge please

I believe the links are again broken.


Generate new types

cc @EPashkin

Updated.

@antoyo There 2 problems that better have fixed on gir async's:
minor about g_io_stream_splice_finish,
mayor: async function almost always accept Fn(Result<(), Error>) even if finish function return value that need passed to it (Result<isize, Error>)). See last commits.

@EPashkin Can you give me a link to a function that accepts this other parameter, please?

@antoyo Sorry, I added comment to wrong PR. See last commits in https://github.com/gtk-rs/gio/pull/69.
Many of these in manual part of gio.File, Ex. g_file_create_async/g_file_create_finish

@GuillaumeGomez all seems good for me.

No it's not. The MountOperation::new won't work. I need the Gio type.

Now it should be complete.

👍


internal/lsp/source: preallocate memory space for slice

If capacity of the slice is known at declaring time, then it should be
better to use make([]T, 0, N) to avoid copying during append.

close for seeking for a more efficient way to fix it.


Fixes #2201. Update CsvEditor scenario to use CsvHelper

Fixes #2201- Update CsvEditor example scenario in UICatalog to use CsvHelper instead of bespoke weak parsing code.
The new dependency is CsvHelper (https://github.com/JoshClose/CsvHelper).  It has ~112M downloads.  The dependency only affects the UICatalog and not the main Terminal.Gui project.
I looked at TinyCsvParser but it doesn't seem easy to use for tabular data (its more of an Object Relational Mapper).
Pull Request checklist:

[x] I've named my PR in the form of "Fixes #issue. Terse description."
[x] My code follows the style guidelines of Terminal.Gui - if you use Visual Studio, hit CTRL-K-D to automatically reformat your files before committing.
[x] My code follows the Terminal.Gui library design guidelines
[x] I ran dotnet test before commit
[ ] I have made corresponding changes to the API documentation (using /// style comments)
[x] My changes generate no new warnings
[x] I have checked my code and corrected any poor grammar or misspellings
[x] I conducted basic QA to assure all features are working

@BDisp let me know if you have a CSV that loads in Excel/Libre Office (or similar) but not in this new version.

@BDisp let me know if you have a CSV that loads in Excel/Libre Office (or similar) but not in this new version.

Here it's Friends3.csv modified. Don't forget only open it after open the Excel and not by double click, to been open a dialog where you can configure the delimiter, if it has header and in the advanced chose the comma as decimal separator.

Friends.csv doesn't format as datatable:

Friends3.csv:

That's weird, it opens fine on mine:

That's weird, it opens fine on mine:

I know, you have to check the client culture to process the necessary config.

Hmn... Can you try changing CultureInfo.CurrentCulture to Invariant in this PR and tell me if that fixes it for you?
I don't really understand how culture affects CSV escaping.  Usually its only datatype parsing.  Are you sure the file that doesn't open correctly is 100% the same as the one you linked me above?

Another suggestion is allowing a configurable dialog option to choice other settings.

Hmn... Can you try changing CultureInfo.CurrentCulture to Invariant in this PR and tell me if that fixes it for you?

Yes it fix it, thanks. Add to the Setup first line please. Thanks.

Hmn... Can you try changing CultureInfo.CurrentCulture to Invariant in this PR and tell me if that fixes it for you?

Yes it fix it, thanks. Add to the Setup first line please. Thanks.

Cool glad it is fixed although not sure I fully understand why!  It is now CultureInfo.InvariantCulture.
Is that what you meant by "Add to the Setup first line please"?

I don't really understand how culture affects CSV escaping. Usually its only datatype parsing. Are you sure the file that doesn't open correctly is 100% the same as the one you linked me above?

Yes it affect because depends on the culture, the delimiters (comma, semicolon, space, tab, others), fixed width, headers, decimal separator, thousands separator, etc.

Hmn... Can you try changing CultureInfo.CurrentCulture to Invariant in this PR and tell me if that fixes it for you?

Yes it fix it, thanks. Add to the Setup first line please. Thanks.

Cool glad it is fixed although not sure I fully understand why! It is now CultureInfo.InvariantCulture.
Is that what you meant by "Add to the Setup first line please"?

Yes.
public override void Setup ()
		{
			CultureInfo.CurrentCulture = CultureInfo.InvariantCulture;

			Win.Title = this.GetName();
			Win.Y = 1; // menu
			Win.Height = Dim.Fill (1); // status bar
			Application.Top.LayoutSubviews ()
```;

Ah ok I understand now.  I actually just changed it in the reader/writer code: https://github.com/gui-cs/Terminal.Gui/pull/2202/commits/a0686dfcde3bd20fceaac8f01f91fa372bb44493
Can you confirm that this has same effect for you.
I didn't know that CultureInfo affected default separator for CSV that seems very strange to me.

Its a more limited change and won't affect other stuff in app. Can you confirm that this has same effect for you.

It working well too. Thanks.

Thanks for taking the time to check

@tznind can I suggest you can merge the open file name with the window title, please. Like Csv Editor - Friends.csv.

@tznind please fix merge conflicts and I'll merge.

Thanks, have fixed the merge conflicts


Running in context of project root

I want to execute my TS file from the project root, so the command would be
$ tsx ./src/script.ts
Is this possible with tsx-vscode?

How is this different from running from the directory where the file is located?

It changes the context in which the script runs:  the current directory is that of the script rather than the project/module.  So relative file references in my scripts don't work.

I don't understand, is there any relationship between using __dirname and the running directory? Is there any minimal example?

A script is run within an execution context which includes a current directory, that determines how relative paths get resolved.  So code like this ..
import fs from 'fs';
import path from 'path';
const inputFilespec = path.join('./src', settings.filename);
const myData = fs.readFileSync( inputFilespec, 'utf8')

will be affected because the './src' gets appended to the current directory.
BTW, __dirname is not legal in ES modules.  Perhaps there is some equivalent, and either way, yes, I'm sure there are ways I could change my code to no longer depend on the current directory, but I thought I would ask about it first.

A script is run within an execution context which includes a current directory, that determines how relative paths get resolved. So code like this ..
import fs from 'fs';
import path from 'path';
const inputFilespec = path.join('./src', settings.filename);
const myData = fs.readFileSync( inputFilespec, 'utf8')

will be affected because the './src' gets appended to the current directory.
BTW, __dirname is not legal in ES modules. Perhaps there is some equivalent, and either way, yes, I'm sure there are ways I could change my code to no longer depend on the current directory, but I thought I would ask about it first.

I can add a configuration to support different running directories, but it seems difficult to satisfy every scenario, and it is recommended to modify the code.
import { fileURLToPath } from 'url';
import { dirname } from 'path';

const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

If you use a build tool or something like that, you can also use plugins to automatically polyfill these global variables.

Release 0.3.0, support tsx.cwd configuration
fileDirname: The directory of the current file
workspaceRoot: The root directory of the current workspace
packageRoot: The root directory of the current package.json

Ah, that's great, thanks!


Adds xsd:duration arithmetics to SPARQL

It would be nice to add support of "+", "-", "<", ">", ">=" and "<=" operators on xsd:duration literal to SPARQL.
Jena already support such operators. see https://github.com/apache/jena/blob/master/jena-arq/src/main/java/org/apache/jena/sparql/expr/nodevalue/NodeValueOps.java
Probably blocked by #164

Looks like a good idea, would need to target 2.3.0 though as it is a new feature. A Pull Request should be created in /eclipse/rdf4j-storage/pulls, as we are currently migrating storage/eval code to a separate project.


Sequence constructor: id, label(?)

Hi,
First, thanks for this library! I've started working with it and have noticed a general pattern in the model's constructors (where id and label can be passed in together in the creation of the object). Sequence seems to be an exception, though, as it just takes label.  I was wondering about changing its constructor to be new Sequence(id, label) instead.  What do you think?  Just a suggestion.  Thanks!

according to http://iiif.io/api/presentation/2.0/#b-summary-of-metadata-requirements Sequence and Annotation are the only ressources that have an optional id. I tend to offer a constructor only with required fields. but for convenience I added constructors in sequence and annotation classes.

Ah, okay, thanks for the explanation!


https://stanza.io certificate issues

Opening up https://stanza.io in Safari on OSX fails make a connection stating that Safari failed to initiate a secure connection (rough translation as I have OSX in a different language).
Chrome states that the certificate date is not valid: NET::ERR_CERT_DATE_INVALID

Thanks! I gave the letsencrypt cron script a kick, so this should be resolved now.


Error keepalive_ping which leads to error in data transfer

Hey I am running into this issue running SocketIO running under uvicorn.
I am running many websocket clients and forcefully shutting them down randomly, this is leading to the error bellow on the server side:
{"identifier": "emitter", "ctx": {"message": "Fatal write error on socket transport", "exception": "TimeoutError(110, 'Connection timed out')", "transport": "<_SelectorSocketTransport closing fd=22 read=idle write=<idle, bufsize=0>>", "protocol": "<uvicorn.protocols.websockets.websockets_impl.WebSocketProtocol object at 0x7fae15245208>"}, "event": "Loop error occured", "level": "error", "timestamp": "2020-08-29T14:26:02.058183Z"}
Unexpected exception in keepalive ping task
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/websockets/protocol.py", line 1130, in keepalive_ping
    ping_waiter = await self.ping()
  File "/usr/local/lib/python3.6/dist-packages/websockets/protocol.py", line 749, in ping
    await self.write_frame(True, OP_PING, data)
  File "/usr/local/lib/python3.6/dist-packages/websockets/protocol.py", line 1077, in write_frame
    await self._drain()
  File "/usr/local/lib/python3.6/dist-packages/websockets/protocol.py", line 306, in _drain
    raise exc
  File "/usr/local/lib/python3.6/dist-packages/engineio/asyncio_socket.py", line 193, in writer
    await ws.send(pkt.encode(always_bytes=False))
  File "/usr/local/lib/python3.6/dist-packages/engineio/async_drivers/asgi.py", line 233, in send
    'text': msg_text})
  File "/usr/local/lib/python3.6/dist-packages/uvicorn/protocols/websockets/websockets_impl.py", line 212, in asgi_send
    await self.send(data)
  File "/usr/local/lib/python3.6/dist-packages/websockets/protocol.py", line 567, in send
    await self.write_frame(True, opcode, data)
  File "/usr/local/lib/python3.6/dist-packages/websockets/protocol.py", line 1077, in write_frame
    await self._drain()
  File "/usr/local/lib/python3.6/dist-packages/websockets/protocol.py", line 318, in _drain
    await self._drain_helper()
  File "/usr/local/lib/python3.6/dist-packages/websockets/protocol.py", line 299, in _drain_helper
    await waiter
  File "/usr/lib/python3.6/asyncio/selector_events.py", line 775, in _write_ready
    n = self._sock.send(self._buffer)
TimeoutError: [Errno 110] Connection timed out
Error in data transfer
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/websockets/protocol.py", line 827, in transfer_data
    message = await self.read_message()
  File "/usr/local/lib/python3.6/dist-packages/websockets/protocol.py", line 895, in read_message
    frame = await self.read_data_frame(max_size=self.max_size)
  File "/usr/local/lib/python3.6/dist-packages/websockets/protocol.py", line 995, in read_data_frame
    await self.pong(frame.data)
  File "/usr/local/lib/python3.6/dist-packages/websockets/protocol.py", line 770, in pong
    await self.write_frame(True, OP_PONG, data)
  File "/usr/local/lib/python3.6/dist-packages/websockets/protocol.py", line 1077, in write_frame
    await self._drain()
  File "/usr/local/lib/python3.6/dist-packages/websockets/protocol.py", line 306, in _drain
    raise exc
  File "/usr/local/lib/python3.6/dist-packages/websockets/protocol.py", line 1130, in keepalive_ping
    ping_waiter = await self.ping()
  File "/usr/local/lib/python3.6/dist-packages/websockets/protocol.py", line 749, in ping
    await self.write_frame(True, OP_PING, data)
  File "/usr/local/lib/python3.6/dist-packages/websockets/protocol.py", line 1077, in write_frame
    await self._drain()
  File "/usr/local/lib/python3.6/dist-packages/websockets/protocol.py", line 306, in _drain
    raise exc
  File "/usr/local/lib/python3.6/dist-packages/engineio/asyncio_socket.py", line 193, in writer
    await ws.send(pkt.encode(always_bytes=False))
  File "/usr/local/lib/python3.6/dist-packages/engineio/async_drivers/asgi.py", line 233, in send
    'text': msg_text})
  File "/usr/local/lib/python3.6/dist-packages/uvicorn/protocols/websockets/websockets_impl.py", line 212, in asgi_send
    await self.send(data)
  File "/usr/local/lib/python3.6/dist-packages/websockets/protocol.py", line 567, in send
    await self.write_frame(True, opcode, data)
  File "/usr/local/lib/python3.6/dist-packages/websockets/protocol.py", line 1077, in write_frame
    await self._drain()
  File "/usr/local/lib/python3.6/dist-packages/websockets/protocol.py", line 318, in _drain
    await self._drain_helper()
  File "/usr/local/lib/python3.6/dist-packages/websockets/protocol.py", line 299, in _drain_helper
    await waiter
  File "/usr/lib/python3.6/asyncio/selector_events.py", line 775, in _write_ready
    n = self._sock.send(self._buffer)
TimeoutError: [Errno 110] Connection timed out

To log this error :
def handle_async_exception(loop, ctx):
    logger.error("Loop error occured", ctx=ctx)
loop = asyncio.get_event_loop()
loop.set_exception_handler(handle_async_exception)

If its ran on asyncio default loop (linux), it throws this error. However if I ran this on uvloop, I am getting:
Process Process-9:
Traceback (most recent call last):
  File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
  File "/home/streaming/app/emitter_app/emitter.py", line 60, in start_emitter
    loop.run_until_complete(asyncio.gather(server.serve(), push_payload(queue)))
  File "uvloop/loop.pyx", line 1454, in uvloop.loop.Loop.run_until_complete
RuntimeError: Event loop stopped before Future completed.

Is this a bug on how websocket handles timeout or this a something wrong with how I am handling websocket disconnects?
Thanks!

I'm not seeing the problem here. If you forcefully kill the client, then the server gets a timeout. Specifically, the "keepalive ping task", which is responsible for detecting if the client dies, does its job.
Regarding the situation with uvloop, you should keep the event loop running until close() and wait_closed() have completed. The error message suggests that you don't.

Hey @aaugustin thanks for the reply. Shouldn't web-sockets server manage the clients regardless of what state they are in? In a production server, there might be users who forcefully shutdown their client, which in this case will lead to exception. We wouldn't want the sever to go down based on what the user does to their client.
Regarding uvloop, I don't actually call close or wait_closed, the websockets are running in run_until_complete. I will check with the uvloop community to why this happens. I would at least expect the same error, not the stoppage of the event loop.

The server doesn't go down — at least it doesn't with asyncio; I have no idea what you're doing with uvloop or how I could reproduce your results.
You get a log explaining that the client timed out. This can happen for a bunch of reasons. It's quite annoying to debug without logs. You can configure your logging to hide these messages if you don't want them.

That makes sense, I will try to get some answers as to why uvloop is closing its loop on this exception on their community.
Thanks for your help.


Default Postgres Version to 9.6

Description
One unique thing that came up using this was I selected Postgres 10, not fully cognizant of the latest version AWS/GCP support. The latest version AWS and GCP currently support is 9.6, Azure is 10.3. Would it useful to have the default be 9.6? Or have some kind of note?
Rationale
Maybe I'm wrong, but I imagine most users swap out settings for a production RDS once they're ready to go live? So it's slightly annoying to know you have a mismatch of Postgres versions between locally and production.
I don't mind making the PR if this is given the go-ahead!

It looks like AWS supports Postgres 10. It's true that GCP doesn't support Postgres 10 yet.
Not sure it's worth changing the default value, but if you feel like adding a note in the docs, you're welcome to send a pull request.

@browniebroke https://console.cloud.google.com/marketplace/details/google/postgresql10 ?


"TypeError: unhashable type" when calling feat_selector.fit(X,y) in the Madalon_Data_set.ipynb example

Hello,
I was able to pip install boruta no problem.
I then started stepping through the Madalon_Data_set ipython notebook.
When I get to feat_selector.fit(X,y), I received the following error:
TypeError: unhashable type

I am using python27, 32bit.
I have pandas-0.17
regards,
Manny

As pointed out in the 6th line of the example:
NOTE BorutaPy accepts numpy arrays only, hence the .values attribute
I suspect you tried to use Boruta with a pandas DataFrame.

Thank you for the quick reply Daniel,
Yes, converting the pandas data frame to np array solved the error.
feat_selector.fit(X.as_matrix(),y.as_matrix())
http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.as_matrix.html


HAWQ-911. Optimize and refactor makefiles for feature test framework.

This pull request contains below modifications:

Fix a bug in building UDF/lib.
Refactor feature test make system to avoid duplicate compiles.
Split generating feature-test binary into generating objects and linking. Optimize compiling time in parallel mode.

cc @paul-guo- @huor

Good to have huge performance improvement in making feature test. +1

@wengyanqing

LGTM.

The patch seems to have some improvement spaces.
lib/.o was generated by feature/Makefile, however feature/lib/Makefile has a duplicate makefile rule to generate lib/.o
I think you could move the rules in feature/lib/Makefile to feature/Makefile. This makes the code neat.
I'd suggest that the lib name could be more hawq or feature_test specific, i.e. libtest -> libfeature_test or something else?
Just my 2 cents.

@paul-guo- Agree, I will modify it later on. Thanks for comments! 🍺


flaky ARMv7 build

CMake Error at /usr/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 (message):

  Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)

Call Stack (most recent call first):

  /usr/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)

  /usr/share/cmake-3.11/Modules/FindOpenMP.cmake:451 (find_package_handle_standard_args)

  CMakeLists.txt:372 (find_package)

-- Configuring incomplete, errors occurred!

See also "/work/build/CMakeFiles/CMakeOutput.log".

See also "/work/build/CMakeFiles/CMakeError.log".

build.py: 2018-08-20 19:38:20,056 Running of command in container failed (1):

docker\

	run\

	--rm\

	-t\

	--shm-size=500m\

	-v\

	/home/jenkins_slave/workspace/build-ARMv7:/work/mxnet\

	-v\

	/home/jenkins_slave/workspace/build-ARMv7/build:/work/build\

	-v\

	/efs-ccache:/work/ccache\

	-u\

	1001:1001\

	-e\

	CCACHE_MAXSIZE=500G\

	-e\

	CCACHE_TEMPDIR=/tmp/ccache\

	-e\

	CCACHE_DIR=/work/ccache\

	-e\

	CCACHE_LOGFILE=/tmp/ccache.log\

	mxnetci/build.armv7\

	/work/runtime_functions.sh\

	build_armv7

build.py: 2018-08-20 19:38:20,056 You can get into the container by adding the -i option

Traceback (most recent call last):

  File "ci/build.py", line 394, in <module>

    sys.exit(main())

  File "ci/build.py", line 323, in main

    local_ccache_dir=args.ccache_dir, interactive=args.interactive)

  File "ci/build.py", line 210, in container_run

    raise subprocess.CalledProcessError(ret, cmd)

subprocess.CalledProcessError: Command 'docker\

	run\

	--rm\

	-t\

	--shm-size=500m\

	-v\

	/home/jenkins_slave/workspace/build-ARMv7:/work/mxnet\

	-v\

	/home/jenkins_slave/workspace/build-ARMv7/build:/work/build\

	-v\

	/efs-ccache:/work/ccache\

	-u\

	1001:1001\

	-e\

	CCACHE_MAXSIZE=500G\

	-e\

	CCACHE_TEMPDIR=/tmp/ccache\

	-e\

	CCACHE_DIR=/work/ccache\

	-e\

	CCACHE_LOGFILE=/tmp/ccache.log\

	mxnetci/build.armv7\

	/work/runtime_functions.sh\

	build_armv7' returned non-zero exit status 1

script returned exit code 1```

http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/incubator-mxnet/detail/PR-12209/4/pipeline

@KellenSunderland @marcoabreu @larroy @lebeg Please take a look when you have time.
@mxnet-label-bot [Build, Bug]

http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/incubator-mxnet/detail/PR-12256/1/pipeline
http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/incubator-mxnet/detail/PR-12256/2/pipeline
http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/incubator-mxnet/detail/PR-12256/3/pipeline
http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/incubator-mxnet/detail/PR-12256/4/pipeline
Failed 4 times... Looks like not a flaky but a consistent crash

I also realize that. I tried multiple times and failed every time.

Tried an empty PR and failed again.
http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/incubator-mxnet/detail/PR-12259/1/pipeline/116
@marcoabreu could you fix it?

one more instance - http://jenkins.mxnet-ci.amazon-ml.com/blue/rest/organizations/jenkins/pipelines/incubator-mxnet/branches/PR-12230/runs/5/nodes/116/log/?start=0

All passed, can someone merge https://github.com/apache/incubator-mxnet/pull/12260

@KellenSunderland it was merged just now.


Developer description update

It's currently clipping its header. Tested in 2019.3, but might happen in older versions as well.
Update its background so it looks like a text area

Developer descriptions will be removed in 1.6.5

Hey, why are developer descriptions being removed?


Update giscus configuration and ignored files

I've been pretty sure I had set this wrong

改动：

评论框置顶，也就是放在了所有评论上面
更改了错误的仓库名
用页面标题作为讨论名

This is obsolete due to the migration to Docusaurus in #19.


Support for Nancy v2

This PR contains changes to support Nancy v2.
I've raised the minimum required .NET framework to 4.5.2 and updated the Nuget package references accordingly. The only thing is that 2 unit tests fail, but the returned result of the tested method seems ok for me. Could you please have a look at it?
Note: This PR breaks compatibility with previous versions as the library now references Nancy v2 components. It will not work with Nancy v1, so I added a note into README.md to inform users.

I've just noticed that the only tag in this repository is v1.0.0. On nuget.org there is a package with version v2.0.0 made by @damianh, but - as far as I can see - this repository has been updated to include his changes (more and newer commits and contributions from @damianh).
Hm, is this repository the official one for the Nancy.MSOwinSecurity package or is it another one? It's a bit confusing. Could someone enlighten me, please? ;-)
Thank you in advance.

Could someone from the development team give a short statement about the PR, please?
NancyFx is available in version 2, but this package is not - so this package has become useless in NancyFx v2. Please consider accepting the PR to make it work again.

V3 Will be on nuget.org shortly https://www.nuget.org/packages/Nancy.MSOwinSecurity/3.0.0


Add Quick Start Bubbles to SDK

It would be great for the SDK to allow extension developers to also utilize the standard popups (below).  This would let us provide quick start info to extension users and notify them of extension updates while keeping with the VSTS look and feel.

That would be really neat!!


Display exception details when commands fail (INFRA-140)

Currently, commands have a pattern of catching exceptions, displaying an error message, then rethrowing the exception. See e.g. here or here.
When executed from a PS script, this results in outputs like this:

You see the error message, but no details.
I'd be better to also display the exception details in each of these cases, so you have a better chance of debugging the issue.
Jira issue

A similar error, without the details that the error message refers to:


Close menu when deselecting

Steps:

select shape and open properties menu
click away to deselect (which closes the menu)
select some element, which opens the menu again

IMO this is non-intuitive (and it tends to use the same tap you used to select an element for clicking a button in the menu if it happens to be under pointer --- I tested this on devTools emulation only, so it may not be what's happening on real device).

This could be fixed by setting the current menu to null when deselecting objects.

Seems like this is not relevant anymore


Connection hangs when the primary "disappears" behind a VPN/virtualization platform

Are you looking for help?
We got bugfix but without CI tests. On test enviroment the bugfix fixes the bug. Writting CI test would complete the process.
ReactiveMongo Version
Latest
MongoDB version
Latest
Problem description
Connection hangs when the primary "disapears".
Protected Mongo database nodes are hosted on two datacentres A, B and C. A primary node and its secondaries are in DC A and B, an election arbiter is in DC C, and a StrongSwan VPN connection securely replicates data between DC A and B.
Consider a digital service with a frontend in the public zone, a microservice in the protected zone with 2 instances in each data centre, and a Mongo primary in DC A. Traffic is currently set as 50/50 between DC A and B.

Figure 1: 50/50 traffic, VPN OK, microservices OK
When the VPN fails in DC A, customers of your digital service will start to experience an outage. Mongo would detect a replication failure within 10-60 seconds, and elect a new primary in DC B within a further 10-60 seconds.

Figure 2 - 50/50 traffic, VPN failure, microservices failing
At this point WebOps would move 100% traffic to DC B, and your digital service should recover. However, customers of your digital service will experience timeout errors for hours or even days afterwards, and your logs will show plenty of MongoError[‘socket disconnected’] error messages - even though the StrongSwan VPN connection was likely restored within a minute or two! What’s going on?

Figure 3 - 0/100 traffic, VPN OK, microservices still failing!
When the Mongo primary in DC A is lost ReactiveMongo expects a TCP reset packet, but it is not sent on VPN failure. This leaves the ReactiveMongo connections within the DC B microservice instances in a zombie-like state.
Connection hangs for 15 minutes. No configuration changes helped.
Reproducible Test Case
It is reproducible with this repository with simplified enviroment: https://github.com/hmrc/mongo-driver-vpn
It was written specially for this bug.
BugFix
https://github.com/opetch/ReactiveMongo/tree/zombies

You can check 0.12.2-SNAPSHOT

Seems to work.

Thanks for the feedback


engine module / namespace and zeitwerk

@palkan Did your team figure out a way to keep the engine namespaced and NOT have to repeat the engine name as a subdirectory everywhere:

engines/subsystem1/app/controllers/subsystem1/application_controller.rb
engines/subsystem1/app/controllers/subsystem1/foos_controller.rb
engines/subsystem1/app/models/subsystem1/foo.rb
engines/subsystem1/app/api/subsystem1/foo_service.rb

Short answer — no. But I understand your pain 🙂
I think, to accomplish this with Zeitwerk, we need to:

Disable the existing autoloading configuration for engines
Create a custom loader.


python310Packages.{jax,jaxlib,jaxlib-bin}: 0.4.19 -> 0.4.19

Description of changes
Update jax packages.
Changelog: https://jax.readthedocs.io/en/latest/changelog.html#jax-0-4-19-oct-19-2023
cc @samuela
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.11 Release Notes (or backporting 23.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

@ofborg build python310Packages.jaxlib

https://github.com/ofborg build python310Packages.jaxlib python311Packages.jaxlib python310Packages.jaxlib-bin python311Packages.jaxlib-bin python310Packages.jax python311Packages.jax python310Packages.jaxWithCuda python311Packages.jaxWithCuda

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

4 packages marked as broken and skipped:

python310Packages.treeo
python310Packages.treeo.dist
python311Packages.treeo
python311Packages.treeo.dist

16 packages failed to build:

python310Packages.bambi
python310Packages.bambi.dist
python310Packages.blackjax
python310Packages.blackjax.dist
python310Packages.pymc
python310Packages.pymc.dist
python310Packages.pytensor
python310Packages.pytensor.dist
python311Packages.bambi
python311Packages.bambi.dist
python311Packages.blackjax
python311Packages.blackjax.dist
python311Packages.pymc
python311Packages.pymc.dist
python311Packages.pytensor
python311Packages.pytensor.dist

110 packages built:

libretranslate (python310Packages.libretranslate)
libretranslate.dist (python310Packages.libretranslate.dist)
python310Packages.aeppl
python310Packages.aeppl.dist
python310Packages.aesara
python310Packages.aesara.dist
python310Packages.argos-translate-files
python310Packages.argos-translate-files.dist
python310Packages.argostranslate
python310Packages.argostranslate.dist
python310Packages.arviz
python310Packages.arviz.dist
python310Packages.augmax
python310Packages.augmax.dist
python310Packages.chex
python310Packages.chex.dist
python310Packages.ctranslate2
python310Packages.ctranslate2.dist
python310Packages.dm-haiku
python310Packages.dm-haiku.dist
python310Packages.dm-haiku.testsout
python310Packages.equinox
python310Packages.equinox.dist
python310Packages.faster-whisper
python310Packages.faster-whisper.dist
python310Packages.gymnasium
python310Packages.gymnasium.dist
python310Packages.jax
python310Packages.jax.dist
python310Packages.jaxlib (python310Packages.jaxlib-build ,python310Packages.jaxlibWithoutCuda)
python310Packages.jaxlib-bin
python310Packages.jaxlib-bin.dist
python310Packages.jaxlib.dist (python310Packages.jaxlib-build.dist ,python310Packages.jaxlibWithoutCuda.dist)
python310Packages.jaxlibWithCuda
python310Packages.jaxlibWithCuda.dist
python310Packages.jaxopt
python310Packages.jaxopt.dist
python310Packages.jmp
python310Packages.jmp.dist
python310Packages.numpyro
python310Packages.numpyro.dist
python310Packages.objax
python310Packages.objax.dist
python310Packages.optax
python310Packages.optax.dist
python310Packages.optax.testsout
python310Packages.skrl
python310Packages.skrl.dist
python310Packages.tensorflow-bin
python310Packages.tensorflow-bin.dist
python310Packages.translatehtml
python310Packages.translatehtml.dist
python311Packages.aeppl
python311Packages.aeppl.dist
python311Packages.aesara
python311Packages.aesara.dist
python311Packages.argos-translate-files
python311Packages.argos-translate-files.dist
python311Packages.argostranslate
python311Packages.argostranslate.dist
python311Packages.arviz
python311Packages.arviz.dist
python311Packages.augmax
python311Packages.augmax.dist
python311Packages.chex
python311Packages.chex.dist
python311Packages.ctranslate2
python311Packages.ctranslate2.dist
python311Packages.dm-haiku
python311Packages.dm-haiku.dist
python311Packages.dm-haiku.testsout
python311Packages.equinox
python311Packages.equinox.dist
python311Packages.faster-whisper
python311Packages.faster-whisper.dist
python311Packages.gymnasium
python311Packages.gymnasium.dist
python311Packages.jax
python311Packages.jax.dist
python311Packages.jaxlib (python311Packages.jaxlib-build ,python311Packages.jaxlibWithoutCuda)
python311Packages.jaxlib.dist (python311Packages.jaxlib-build.dist ,python311Packages.jaxlibWithoutCuda.dist)
python311Packages.jaxlibWithCuda
python311Packages.jaxlibWithCuda.dist
python311Packages.jaxopt
python311Packages.jaxopt.dist
python311Packages.jmp
python311Packages.jmp.dist
python311Packages.libretranslate
python311Packages.libretranslate.dist
python311Packages.numpyro
python311Packages.numpyro.dist
python311Packages.objax
python311Packages.objax.dist
python311Packages.optax
python311Packages.optax.dist
python311Packages.optax.testsout
python311Packages.skrl
python311Packages.skrl.dist
python311Packages.tensorflow-bin
python311Packages.tensorflow-bin.dist
python311Packages.translatehtml
python311Packages.translatehtml.dist
tts
tts.dist
whisper-ctranslate2
whisper-ctranslate2.dist
wyoming-faster-whisper
wyoming-faster-whisper.dist
wyoming-openwakeword
wyoming-openwakeword.dist

Yeah ! Everything build !
Result of nixpkgs-review pr 262149 run on x86_64-linux 1

4 packages marked as broken and skipped:

python310Packages.treeo
python310Packages.treeo.dist
python311Packages.treeo
python311Packages.treeo.dist

126 packages built:

libretranslate (python310Packages.libretranslate)
libretranslate.dist (python310Packages.libretranslate.dist)
python310Packages.aeppl
python310Packages.aeppl.dist
python310Packages.aesara
python310Packages.aesara.dist
python310Packages.argos-translate-files
python310Packages.argos-translate-files.dist
python310Packages.argostranslate
python310Packages.argostranslate.dist
python310Packages.arviz
python310Packages.arviz.dist
python310Packages.augmax
python310Packages.augmax.dist
python310Packages.bambi
python310Packages.bambi.dist
python310Packages.blackjax
python310Packages.blackjax.dist
python310Packages.chex
python310Packages.chex.dist
python310Packages.ctranslate2
python310Packages.ctranslate2.dist
python310Packages.dm-haiku
python310Packages.dm-haiku.dist
python310Packages.dm-haiku.testsout
python310Packages.equinox
python310Packages.equinox.dist
python310Packages.faster-whisper
python310Packages.faster-whisper.dist
python310Packages.gymnasium
python310Packages.gymnasium.dist
python310Packages.jax
python310Packages.jax.dist
python310Packages.jaxlib (python310Packages.jaxlib-build ,python310Packages.jaxlibWithoutCuda)
python310Packages.jaxlib-bin
python310Packages.jaxlib-bin.dist
python310Packages.jaxlib.dist (python310Packages.jaxlib-build.dist ,python310Packages.jaxlibWithoutCuda.dist)
python310Packages.jaxlibWithCuda
python310Packages.jaxlibWithCuda.dist
python310Packages.jaxopt
python310Packages.jaxopt.dist
python310Packages.jmp
python310Packages.jmp.dist
python310Packages.numpyro
python310Packages.numpyro.dist
python310Packages.objax
python310Packages.objax.dist
python310Packages.optax
python310Packages.optax.dist
python310Packages.optax.testsout
python310Packages.pymc
python310Packages.pymc.dist
python310Packages.pytensor
python310Packages.pytensor.dist
python310Packages.skrl
python310Packages.skrl.dist
python310Packages.tensorflow-bin
python310Packages.tensorflow-bin.dist
python310Packages.translatehtml
python310Packages.translatehtml.dist
python311Packages.aeppl
python311Packages.aeppl.dist
python311Packages.aesara
python311Packages.aesara.dist
python311Packages.argos-translate-files
python311Packages.argos-translate-files.dist
python311Packages.argostranslate
python311Packages.argostranslate.dist
python311Packages.arviz
python311Packages.arviz.dist
python311Packages.augmax
python311Packages.augmax.dist
python311Packages.bambi
python311Packages.bambi.dist
python311Packages.blackjax
python311Packages.blackjax.dist
python311Packages.chex
python311Packages.chex.dist
python311Packages.ctranslate2
python311Packages.ctranslate2.dist
python311Packages.dm-haiku
python311Packages.dm-haiku.dist
python311Packages.dm-haiku.testsout
python311Packages.equinox
python311Packages.equinox.dist
python311Packages.faster-whisper
python311Packages.faster-whisper.dist
python311Packages.gymnasium
python311Packages.gymnasium.dist
python311Packages.jax
python311Packages.jax.dist
python311Packages.jaxlib (python311Packages.jaxlib-build ,python311Packages.jaxlibWithoutCuda)
python311Packages.jaxlib.dist (python311Packages.jaxlib-build.dist ,python311Packages.jaxlibWithoutCuda.dist)
python311Packages.jaxlibWithCuda
python311Packages.jaxlibWithCuda.dist
python311Packages.jaxopt
python311Packages.jaxopt.dist
python311Packages.jmp
python311Packages.jmp.dist
python311Packages.libretranslate
python311Packages.libretranslate.dist
python311Packages.numpyro
python311Packages.numpyro.dist
python311Packages.objax
python311Packages.objax.dist
python311Packages.optax
python311Packages.optax.dist
python311Packages.optax.testsout
python311Packages.pymc
python311Packages.pymc.dist
python311Packages.pytensor
python311Packages.pytensor.dist
python311Packages.skrl
python311Packages.skrl.dist
python311Packages.tensorflow-bin
python311Packages.tensorflow-bin.dist
python311Packages.translatehtml
python311Packages.translatehtml.dist
tts
tts.dist
whisper-ctranslate2
whisper-ctranslate2.dist
wyoming-faster-whisper
wyoming-faster-whisper.dist
wyoming-openwakeword
wyoming-openwakeword.dist

Thanks @GaetanLepage !


I wish that Save Actions setting is applied to for every project not specific project

Describe the solution you'd like

Save Actions is able to configured to each project. So, if I do something for several projects, I should configure each project.
I wish that Save Actions setting are applied to global setting! Then, I'll have no needs to configure Save Actions setting to all projects!
For what product
Intellij but this could be applied to all products :)

Hey @hihiboss,
Thank you for your interest in the plugin. This issue has been proposed before (see #305 for discussion), but I decided against it (the workaround is to the configure "New projects" in Intellij so that all of your new projects in Intellij have the same config when they are created).
I've decided against it because some user also want the opposite: project configuration (not global). See this original issue from 2017: #68.
There was a tentative pull request to have both at the same time: #251, but the code and resulting UI was convoluted. Pull requests welcome, but we need to keep both functionalities (project and global)

Thank you for your kind explaination!
I understand your thought and decision. I agree with those. =)
And, I really thank you for your awesome plugin. My development life has been turned to more comfortable and cool.
I’m expecting and pulling for yours. 👍

Positive feedback like this makes my day, thanks :smile:


don't tag alpha/rc etc latest

Realized that if a tag such as v1.2.3-alpha would be pushed to git then this workflow would tag that as latest image and push to dockerhub.
Since latest on dockerhub basically means latest stable that would not make sense. I've added tags to the docker/metadata-action action copied from their semver example.
Here's a copy of the table they provide to explain output tags:

Event
Ref
Docker Tags

pull_request
refs/pull/2/merge
pr-2

push
refs/heads/master
master

push
refs/heads/releases/v1
releases-v1

push tag
refs/tags/v1.2.3
1.2.3, 1.2, latest

push tag
refs/tags/v2.0.8-beta.67
2.0.8-beta.67

(master should be main, right?)

Pushes to refs/head/${branch_name} creates and pushes tag named ${branch_name}.
If we don't want that, we could add a check to the push step to make sure that we only push main and tags.

It's good as it is! 👍


Update apache-client, kinesis, sqs to 2.23.7

About this PR
📦 Updates

software.amazon.awssdk:apache-client
software.amazon.awssdk:kinesis
software.amazon.awssdk:sqs

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

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "software.amazon.awssdk" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #795.


Fix first example in README

Body is a property of the Response object, not the Context. Fixing it for better ux. :)

Thank you!


Changes to align with IMO FAL

Changes to align with IMO FAL

Which specific part of the IMO FAL convention? I suspect we are discussing different terms here, in the sense that what we have here are event names in an event sourcing pattern context.
Originally posted by @raisoman in https://github.com/dcsaorg/DCSA-Information-Model/issues/64#issuecomment-825455737

Below is an extract from ITPCO Port information Manual. This is an example of EPCIS event data message for ETD berth, which might influence the ship to shore interface workgroup to create technical standard.  Also adding the official link to the entire document online. https://portcalloptimization.org/images/Port%20Information%20Manual%203.02.pdf

In a DCSA context that would translate into:

using the term "Action" rather than "Event Classifier Code"
Use "OBS" rather than "ACT" (for "Observed" rather than "Actual")
Consider using present tense for the action (keeping past tense for the event), specifically: "Observe", "Plan", "Request", "Estimate"

Below please find the link to the IMO FAL convention.
https://svn.gefeg.com/svn/IMO-Compendium/Current/index.htm
On the left menu, you can click on the IMO data set and then the data elements in the sub menu, or on the reference data model.


Init 3 perl packages

Motivation for this change
Dependencies for ngi-nix project
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

The BarcodeZBar module is sourced through the zbar pkg in nixpkgs but when building errors with:
Warning (mostly harmless): No library found for -lzbar
Contrary to this log it isnt harmless at all.
Not sure why propagatedBuildInputs and  NIX_LDFLAGS are not working here but modifying the makefile.PL to include zbar.lib directly works
Processor.t requires network access

@GrahamcOfBorg build perlPackages.BarcodeZBar perlPackages.TestSnapshot perlPackages.DataSectionSimple


Is it possible to rotate the map ?

I don't know if it is possible to rotate the map (just like google maps). If yes, please tell me how to do this.

it is the last item in the open issues list, so I understand that it can be overlooked. see #313.
TL;DR no


ROX-24527: Add deprecation notice for the summary API

Description
Deprecation notice for the v1/summary/counts API

The code will be fully delete here: #11392

Checklist

[x] Investigated and inspected CI test results
~[ ] Unit test and regression tests added~
~[ ] Evaluated and added CHANGELOG entry if required~
~[ ] Determined and documented upgrade steps~
~[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)~

If any of these don't apply, please comment below.
Testing Performed
Here I tell how I validated my change

[x] CI

Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

/retest


Add "Send all" and styling updates for transaction flows

Task description
The simple and shielded transaction flows are being update with new necessary features in #158. In relation to that there are a few nice-to-have updates to the transaction flows. Those are:

Addition of a "Send all" button, that takes everything available for transactions minus the estimated transaction fee, so the user can easily move all available funds from an account.
Some UI changes to flatten the UI.

The nice-to-have changes can be seen in the screenshot below, and the full flows can be seen in "Flow 1" and "Flow 4" here: https://www.figma.com/file/pUlYPsHRU0Hvm0NoGIvxrv/Mobile-Wallet?node-id=2881%3A13697
Important! Please coordinate between between iOS and Android development, so these nice-to-have changes are only done, if there is time to do them on both platforms.

Verified.
Versions

Software Version: Testnet 2.0.35
OS: iOS 14.8
Browser: N/A
Mobile device: iPhone SE


New command New-DbaAgentJob

hey @sanderstad - can you please fix your git conflicts? please dont forget that I am the only one who is assigned the editing of psm1 and psd1 files.

It appears that the easiest way will be to undo your commits that deleted both of these files.

or just close this PR and resubmit with fresh branch

I see what happened -- instead of deleting, try just right clicking and dismissing changes like this

merci

Going to submit it through another PR to fix the extra files issue


Update datepart-transact-sql.md

Formatted the sentence layout to be easier to read/understand

@DanielSSilva : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@DanielSSilva This looks like a good change. Thanks!


Dex 441 hasView and hasEdit permissions, also made individuals and En…

…counters use Schemas rather than manually augment

Pull Request Overview

hasView and hasEdit fields added to Sighting/Encounter/Individual get responses
Encounter and Individual augment_edm_json replaced by Schemas

/rebase


COMPRESS-642 Integer overflow ArithmeticException in TarArchiveOutputStream

I wrote a test to reproduce the issue, writing to a NullOutputStream, but that turned out to be really slow due to the forced 512 bytes chunking. So I opted to not include that.
    @Test
    public void testWritingBigFile() throws Exception {
        final TarArchiveEntry t = new TarArchiveEntry("foo");
        t.setSize((Integer.MAX_VALUE + 1L) * TarConstants.DEFAULT_RCDSIZE);
        final TarArchiveOutputStream tos = new TarArchiveOutputStream(NullOutputStream.NULL_OUTPUT_STREAM);
        tos.setBigNumberMode(TarArchiveOutputStream.BIGNUMBER_POSIX);
        tos.putArchiveEntry(t);

        byte[] bytes = new byte[TarConstants.DEFAULT_RCDSIZE];
        for (int i = 0; i < Integer.MAX_VALUE; i++) {
            tos.write(bytes);
        }
        tos.closeArchiveEntry();
        tos.close();
    }

How slow?

~3 min on my machine. So if you think that is acceptable I can add it.

How slow?

~3 min on my machine. So if you think that is acceptable I can add it.

Add it but use @Disabled with a comment.

@garydgregory I think that was all.

https://issues.apache.org/jira/browse/COMPRESS-642

Thanks for swift response @garydgregory!
Is there any time line for a new release?
This issue is blocking us and CVEs prevent us from going back to version 1.21.

@klaren
I might get to it this weekend!


Add new social icons

This update adds a total of 14 new icons, as well as updating the twitter and facebook icons

@plbabin Awesome!!! Quick question.. is the Quora icon correct? The Penguin dude is the logo for QQ 😊

Pull Request Test Coverage Report for Build 2256

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 2252:
0.0%

Covered Lines:
11193

Relevant Lines:
11193

💛  - Coveralls

Pull Request Test Coverage Report for Build 2257

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 2252:
0.0%

Covered Lines:
11193

Relevant Lines:
11193

💛  - Coveralls


Fix passing undefined

@ljharb Let me know if this fix works for your system and we can merge and release it.


Fix CircleCI

It looks like the Circle CI tests have been failing for some time.   Let's check if this pull request build will succeed.

Increase the allowed timeout for a job, with no_output_timeout: 60m
Change the name of role, in molecule, to cloudalchemy.prometheus

The CI tests passed.
There's another issue to be aware of: the entire test suite takes almost 1 hour, and occasionally more than 1 hour.   When that happens, CircleCI times out.  A possible solution could be to reduce operating system coverage, or refactor the jobs so they are more parallelized, having each task in a separate job that can run in parallel.


Unknown error listening on port 3000

I've been using json-server for a couple months now with no issues until this morning.  I went to run it and I get this error:
Some error occurred { Error: listen EACCES <IP_ADDRESS>:3000     at Server.setupListenHandle [as _listen2] (net.js:1343:19)     at listenInCluster (net.js:1401:12)     at GetAddrInfoReqWrap.doListen [as callback] (net.js:1510:7)     at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:72:10)   errno: 'EACCES',   code: 'EACCES',   syscall: 'listen',   address: '<IP_ADDRESS>',   port: 3000 }
I checked and no other processes are using port 3000.  Looking at the error, I have no idea where to even start debugging this.  I checked the json file I use to make sure I don't have duplicate root nodes, or some other strange content in there that could cause an issue, and it's clean.  I'm not sure what else to do.  Any help is appreciated!

Turned out it was something about my session.  After I rebooted my machine the same db.json file loaded just fine.


rabbitmq-c: add 0.5.2 version

This version is required to fix https://github.com/Homebrew/homebrew-php/issues/1812

FYI, the bot is failing this because this formula is referencing a github fork.  However, this is the official repo for this project now.

No longer needed.  Updated php*-amqp to add support for new version.


glenoidal, counselorship (logical-conflict)

This pull request was generated by the 'mq' tool

/trunk merge


HTTP Error 403 - Patreon

[x] I'm asking a question

[x] I've looked through the README and FAQ for similar questions

[x] I've searched the bugtracker for similar questions including closed ones

[x] I've verified that I'm running youtube-dl version 2021.12.17

[x] I've checked that all provided URLs are alive and playable in a browser

[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped

[x] I've searched the bugtracker for similar bug reports including closed ones

[x] I've read bugs section in FAQ

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: none
[debug] Proxy map: {}
Trying to download a video from Patreon - have downloaded correct cookies file, and set up as 'youtube-dl --cookies [cookies.txt]  https://www.patreon.com/posts/[numbers]'.
When running it I get this error:
ERROR: Unable to download JSON metadata: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
I don't think it's actually a bug and I'm not setting things up properly, so have included the bug checklist and -v also. I checked the FAQ and other issues but think I still must be missing something.

please provide example URL that has not been edited

Please post the whole error. Also if you don't think that you have done everything correctly and this is just a JSON error then maybe make sure that your authentication is completed correctly with the Patreon API #28786 has a good example of how to do this if you haven't already done so yourself.

If the site won't authenticate using your cookies it might be checking for some other browser characteristic(s). Try passing the User Agent of your browser too.

just wanted to add that i've been having the same issue

https://github.com/yt-dlp/yt-dlp/pull/4398

So: --user-agent 'Patreon/7.6.28 (Android; Android 11; Scale/2.10)'


added Dragonfruit Pie to item stats

Closes #11525

This only adds it as a food item, I suggest you take a look at how other pies are added

forgot Fletching stat boost, one sec

This only adds it as a food item, I suggest you take a look at how other pies are added

I only saw .add(food(diff)) for the usage of other pie IDs


Add a LICENSE file

Hi! I'd like to know that the license is for the code in this repo? I'd like to port this and reuse this as part of an MIT licensed tool for the Godot Game engine, so I was hoping that it be licensed under a permissive FOSS license without copyleft.

Done.

Thanks a lot!


Revise flag/config usage

Configuration is currently handled through a mix of custom logic, viper and TOML configuration files.
We should standardize on a single approach (likely viper as it’s extensible) and clean up impacted code.
Ideal priority:

Config default
Load from TOML config file
optional, maybe future state: load from etcd or other service
Override from flags
Override from environment variables

All of these are natively supported by viper for instance,

@vtleonardo has been looking into how to create a basic TOML file and associated documentation.


D3D11On12 sample errors

Compiling the D3D11On12 sample with SDK 10.0.10586.0 on NVidia driver 375.70 creates multiple errors during the 2D rendering part. Each EndDraw produces 60 (5 sets of 16) of the following message:
D3D12 ERROR: CCommandList::SetGraphicsRootDescriptorTable: Specified GPU Descriptor Handle (ptr = 0x2f68bf8 at 0 offsetInDescriptorsFromDescriptorHeapStart), for Root Signature (0x07105E18:'Unnamed ID3D12RootSignature Object')'s Descriptor Table (at Parameter Index [5])'s Descriptor Range (at Range Index [0] of type D3D12_DESCRIPTOR_RANGE_TYPE_SAMPLER) has not been initialized. All descriptors of descriptor ranges declared STATIC (not-DESCRIPTORS_VOLATILE) in a root signature must be initialized prior to being set on the command list. [ EXECUTION ERROR #646: INVALID_DESCRIPTOR_HANDLE]

Yes, with the updates to the debug layer that came out last week, you will start seeing this if you use the 11 on 12 layer.  I need to push my commit that mutes these errors.  I'll do that today.

Committed.


VCPKG does not copy dependency pdb files in output directory

Discussed in https://github.com/microsoft/vcpkg/discussions/37828

Originally posted by Belox86 March 29, 2024
Hi everyone,
i have multiple "internal" library which i'm trying to manage with vcpkg+cmake.
Generally speaking everything is working properly.
I have only one minor issue which i can't solve. When working in a project that uses my internal dependecies (in Windows with MSVC compiler) i can't have the pdbs of my internal dependencies copied along with the dlls.
The dependencies have the vcpkg_copy_pdbs() in the portfile and they properly export the pdbs in the local cache ..\build\vcpkg_installed\x64-windows\debug\bin along with the dlls. it just miss the final step to have them copied where the executable files is placed so that dependencies symbol can be load.
Note that the dependecies dlls are copied from the local cache to the output directories and the program starts properly. Also the pdb of the project itself are in the output directory. Only the pdb of the dependecies are missing.
What is the proper way to handle this? It seems strange to me that vcpkg handle everything and then it just miss the final copy.
Thank you very much.
Michele

@Belox86 Thanks for posting this issue. Could you please provide an example? For example: After installing the port, the dependency dll is missing. :)

ok i will try to do an example:
My project has tinyxml2 as dependency which is available from the official vcpkg repository.
so in my vcpkg.json file i have:
"dependencies": [     {       "name": "vcpkg-cmake",       "host": true     },     {       "name":"tinyxml2"     }   ]
when i run cmake and cmake --build with -config Debug the port is successfully installed and my application compiled.
In the folder myProject\build\Debug i find the tinyxml2.dll but not the tinyxml2.pdb.
tinyxml2.pdb is present only in the local vcpkg cache in  myProject\build\vcpkg_installed\x64-windows\debug\bin but not copied in the output directory along with its dll.
How can i have dependencies pdbs copy with dlls in output directory?

Same issue here. Cannot debug dynamically linked boost libs because pdb files are not where the debugger expects them to be (alongside the dlls copied into the output binary folder).
https://stackoverflow.com/questions/73101359/what-is-the-canonical-way-of-copying-vcpkg-library-pdb-files-into-your-build-fo
https://stackoverflow.com/questions/78242702/how-to-make-vcpkg-copies-dependencies-pdb-files-in-output-directory

I just had the same issue after relocating the vcpkg installation. Try clearing the package cache and rebuilding the package. There is no need for the dependency pdbs to get copied into the output folder. MSVC will find them at their isntalled location.

cc @BillyONeal

I personally think that as long as the PDB file is generated at compile time, you need to copy the output directory