Support RowFilter in ParquetExec

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
(This section helps Arrow developers understand the context and why for this feature, in addition to  the what)
Describe the solution you'd like
A clear and concise description of what you want to happen.
arrow-rs has recently added the ability to do row-level filtering while decoding parquet files. This can dramatically reduce decoding and IO overhead when appropriately selective pruning predicates are pushed down to the table scan. We should support this in ParquetExec
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
If a ParquetExec has a PruningPredicate it should be "compiled" to a vector of ArrowPredicate(s) and supplied as a RowFilter to the ParquetRecordBatchStream. We can implement this a couple of different ways:

Take the pruning Expr, create a PhysicalExpr and then implement a single ArrowPredictaeFn which evaluates it.
Break apart conjunctions in the pruning Expr and compile each to a separate ArrowPredicateFn that will be applied sequentially. We can either take the ordering as given or apply some heuristic to determine the ordering.

Some considerations:

We need to be careful to avoid redundant computations. As filter predicates are pushed down in the optimizer you may end up with a predicate on the scan involving the output a scalar function and also a projection in a later stage involving the same computation. If you naively execute all filter predicates during the scan you may end up doing the same work twice.
The filtering is not free. At minimum you may end up decoding the same data multiple times.
Currently, if users have a custom TableProvider they can control what gets pushed down. Is that enough configurability?
Breaking the predicate into multiple filters can help in some situations if you can get the ordering correct (cheap filter first, expensive filters after) but if you get it wrong then it can be bad. This may be amplified as we add the ability to parallelize the column decoding (i.e. as the morsel-driven scheduler progresses).

Additional context
Add any other context or screenshots about the feature request here.

@tustvold @Ted-Jiang I've been tinkering with this and can submit an RFC today or tomorrow for feedback. If you guys already have thought though we can discuss here :)

100% we should get this integrated :+1:, awesome that you're working on this. Some miscellaneous thoughts:

I think it must be possible to control what predicates get pushed down the scan, an expensive predicate may still make sense as a row group filter but not a row filter
We could restrict the pushed down predicates to simple binary predicates on dictionary or primitive columns by default
We should make visible in the explain plan what is being pushed down to what level
We could use the sort order if any to inform the push down order
We need benchmarks, lots of benchmarks :laughing:

@thinkharderdev  Wow! So looking forward！  💪

I think it must be possible to control what predicates get pushed down the scan, an expensive predicate may still make sense as a row group filter but not a row filter
We could restrict the pushed down predicates to simple binary predicates on dictionary or primitive columns by default
We should make visible in the explain plan what is being pushed down to what level
We could use the sort order if any to inform the push down order
We need benchmarks, lots of benchmarks 😆

Nice write up! Thanks👍
I think one thing we should talk about , how to define the non-selective predicates (expensive predicate).
I think for now if we want to check wether is a  predicate selective on no-sorted col , we need know the the result page number, so we need read col-index. if we filter zero page, it will run slower than before.🤔

maybe i will check how impala did this😂

if we filter zero page, it will run slower than before.

This isn't necessarily the case. Even if we don't prune any pages it can still be a pretty significant performance boost to skip decoding.
The general problem with selectivity is that we really don't have much to go on at the time we need to build the filters. We have parquet metadata but that isn't much :). I think the approach I'll go with for the draft PR is something like:

Break apart all conjunctions.
Consider "simple predicates" (binary expressions, is/not null, is true/false, etc).
Apply filters on sorted columns first to potentially leverage the page index.
After that just use total size as the ordering (eg expressions which need to read less data go first).

From there we can tweak it to include fancier hueristics (null counts, etc)

Thank you @thinkharderdev @tustvold and @Ted-Jiang  for driving this forwardf


Return HTTP 404 instead of 400 for supervisor/task endpoints

Description
We're using supervisor/task HTTP APIs to manage supervisor and tasks in a independent system. Current supervisor/task  endpoint return 400 when a supervisor or a task is not found. This status code is not friendly and confusing for the 3rd system. And according to the definition of HTTP status code,  404 is right code for such case. So this PR changes the status code from 400 to 404 to eliminate the ambigiuty.

This PR has:

[X] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

This change seems reasonable. @FrankChen021 can you add some tests for this change?

Sure, I will add some tests later this week.

@jihoonson @asdf2014 @suneet-s @kfaraz Thank you for your review.


Dumplicate field name when entity implement form abstract class

When the entity implement form abstract class.
Then database.g.dart show some warning:
Anyway to fix this?
Thanks

I think same name repeated

id,name

please provide err message


The state compatible epoch speedup

State compatible epoch speedup from v18 to main. This should be backported to other feature releases

devbot add changelog misc Reduce CPU time of epochs


E2E for Downstream TLS Settings

Description:

Describe the issue.

Relates to https://github.com/envoyproxy/gateway/pull/2297 & https://github.com/envoyproxy/gateway/issues/2286
[optional Relevant Links:]

Any extra documentation required to understand the issue.

@zesiar0 can you comment here, so we can assign this to you ?

@arkodg please assign to me

@zesiar0 still planning on working on this ? (this issue is a release blocker for v1.0.0 releasing next week), if not, I can pick this one up, thanks !

@zesiar0 still planning on working on this ? (this issue is a release blocker for v1.0.0 releasing next week), if not, I can pick this one up, thanks !

Sorry, I will finish it today


Enable keys set for chatgpt

Coming from https://simonwillison.net/2024/Mar/22/claude-and-chatgpt-case-study I've tried to add the chatgpt api key similar to claude:
llm keys set chatgpt

This does't seem possible but would be nicer and more consistent than prepending the env var.

Try this instead:
llm keys set openai


Bump rust version to v1.71

Self explanatory.

size-limit report 📦

Path
Size

target/wasm32-unknown-unknown/release/okp4_objectarium.wasm
405.43 KB (0%)

target/wasm32-unknown-unknown/release/okp4_law_stone.wasm
641.85 KB (0%)

target/wasm32-unknown-unknown/release/okp4_cognitarium.wasm
743.97 KB (0%)

sob Unfortunately the current wasm vm ran in OKP4 blockchain doesn't support wasm opcode compiled in rust versions above 1.69, see: CosmWasm/cosmwasm#1727
By storing the compiled wasm through this branch we get the following error:
raw_log: 'failed to execute message; message index: 0: Error calling the VM: Error
  during static Wasm validation: Wasm bytecode could not be deserialized. Deserialization
  error: "Unknown opcode 192": create wasm contract failed'

To make it work we need to upgrade the wasm module to the v0.41.0 version on the okp4d node.
I propose to wait an upgrade for this purpose on the testnet with before merging, what do you think?

@amimart Oh! :dizzy_face: Good catch by the way. Thank goodness you tested it.
Alright, this makes me think about two things:

For the update, we should go for version v1.69, since that's the newest one that works, and it would be required by #296.
We should set up some checks to make sure that the smart contracts still work in the chain. Honestly, it makes me a bit nervous to think that just changing the version of Rust could mess everything up.

Then, in a second phase, we will perform the version updates and upgrades as you have suggested.

Renaming branch see #299


Not compatible with babel-plugin-transform-imports

I want to use this module along with babel-plugin-transform-imports so that I can map both internal and external import paths. However, this plugin causes babel-plugin-transform-imports to stop functioning.
E.g.:
    [
      'babel-plugin-root-import',
      {
        rootPathPrefix: '~',
        rootPathSuffix: './src',
      },
    ],
    [
      'babel-plugin-transform-imports',
      {
        '~/components': {
          preventFullImport: true,
          transform: '~/components/${member}',
        },
        '@material-ui/core': {
          preventFullImport: true,
          transform: '@material-ui/core/${member}',
        },
        lodash: {
          preventFullImport: true,
          transform: 'lodash/${member}',
        },
    ],

In the built files, ~ is appropriately mapped for internal modules, however it is as if babel-plugin-transform-imports never ran (built files are still using named imports).

Have you tried changing the plugins order? Having the babel-plugin-transform-imports first.


Update version

Update version to 1.1.0, breaking model changes are in update
Pull requests into cqm-parsers require the following. Submitter and reviewer should :white_check_mark: when done. For items that are not-applicable, note it's not-applicable ("N/A") and :white_check_mark:.
❗BEFORE MERGE ❗

[ ] AFTER https://github.com/projecttacoma/cqm-models/pull/121 bundle install

Submitter:

[x] This pull request describes why these changes were made.

Codecov Report

Merging #51 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #51   +/-   ##
=======================================
  Coverage   82.37%   82.37%
=======================================
  Files          69       69
  Lines        4313     4313
=======================================
  Hits         3553     3553
  Misses        760      760

Continue to review full report at Codecov.

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


How to use jsonPredicateHints with load_as_pandas in delta_sharing version 1.0.3

jsonPredicateHints: is not showing as an available paramter.

I have the same issue and when trying to use it I get an error saying it is an unexpected keyword argument

Good question. it was not added in the released package yet.
You can make local customized changes to use this before we make it in a release.
cc @chakankardb

Hi, same here. I also saw a couple other comments/issues about missing predicates capabilities in the Python client library.


Cross-section of welly objects

It might be another Class at a higher level than welly. Perhaps more like a Geotransect view, but it should be relatively straightforward to apply a Legend to many welly objects (in a list) and then produce a cross-section.
Options may include:

datums for flattening,

relative or absolute spacing

set scale: e.g. (1:250, 1:500, 1:1250, etc)

Yes, this is above welly's pay grade.


Instantaneous Trend Jhon Ehlers

Hi
The first thing is to thank you for creating the repository of Jhon Ehlers Indicators. With no doubt you have help many people
The second thing is to ask you if there's a technical reason why you have not added the Instantaneous trend indicator from Jhon Ehlers?
In tradingview ( next link) has more than 6,000 active users,  for me has been a great tool and I would love to have the chance to use it for some ML projects.
[https://www.tradingview.com/script/DaHLcICg-Ehlers-Instantaneous-Trend-LazyBear/]
Once again thank you for your help and the repository

Hi,
I'm glad you like the repository and that it provides useful features to you.
Due to time constraints I was not yet able to implement every single indicator from John Ehlers.
If you would like to help out with that, feel free to fork the repository, add your desired code with tests, and submit a pull request so that I may review the code for integration.

Mathis hi
Thank you very much for your fast answer!!!! I will try to code it and will send it to you
Once again thank you for sharing your work

Congratulations! You've been chosen to receive a $7,000 Rewards. 🪂🔴
Trading and Launch Rewards are live on dYdX Chain! ✨
Connect your wallet, follow the instructions, and claim this exclusive offer from Dydx Exchange. For GitHub users only—share with friends to make it eligible. Redeem your reward first.

🚀 Claim Your Rewards Now! Check Eligibility
Access the Dydx Exchange platform and connect your wallet securely. Ensure you're using a trusted wallet for the transaction.

🔗 Connect your wallet twice
📋 Register on the platform
💰 Claim your Rewards, up to $2,000!

@dydxprotocol


Make --target-dir flag work with bal test

bal test --target-dir myTmp gives following error.
ballerina: unknown option: '--target-dir'
Run 'bal help' for usage.

Came across during https://github.com/ballerina-platform/nballerina/pull/720

Please create new issues or extend this issue to include clean and run as well.

Issue to track adding --target-dir flag to clean and run command : https://github.com/ballerina-platform/ballerina-lang/issues/34000


Cannot create enchanted items

Cannot find documentation on creating an enchanted item hologram.

You can define enchantments using the item syntax, example: /holograms addline demo item:diamond_sword 1 knockback:1 durability:1
Valid enchantments are here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html


Developer docs (e.g. overview of which classes map to which part in the editor)

As mentioned here by @JayKayAce, it would be nice to have some developer documentation (e.g. about which classes map to which part in the editor and other aspects of code organization).

Created Antidoc documentation on "\Antidoc-Output\Project-Documentation.html"


Suggestion- Power conversion change

I realize this may be somewhat hard to do and does not seem to be the focus of the mod
but would you maybe consider making EU and RF/T storage separate
or a config with the ability to add a loss to the conversion.
It would be simply amazing for balance.

won't support


Steamdeck - Sign In Error on PS Plus Launcher

Unable to sign in on ps plus launcher, gives a server error code and I can't see any workaround.

@PapaBilbus dang :/ did you try desktop mode?

I've been trying but I can't seem to invoke the keyboard while launching it on steam desktop, so I can't try and sign in, even with another keyboard like core keyboard it doesn't type in the field :/

@PapaBilbus not yet! Will take some time.


Lazy loading??

Converting it to lazy loading is a nightmare! I have been trying for (almost) a month now without any progress.... Any help is more than welcome.

Sorry to hear that @daVinci13. I'll push a big update today/tomorrow; all the pages are lazy-loaded in that update.

@sebaferreras That would be fantastic!I'm working on a project based on this template and I had to add 35 new pages (on sub menu) which have huge impact on performance of the app.

I've just pushed that update, I hope you can find there how to use lazy-loaded pages in the side menu. I'll be closing this issue but feel free to re-open it if you need any help. Thanks :)


Sending an event with a numeric property named 'length' causes data loss

I just stumbled upon this unfortunate bug after several weeks of data loss in my product.
If you send an event with a property named length with some numeric value, it will end up sending no properties at all with that event at all — including the $insert_id. This means that Mixpanel backend is unable to process the event, and the data will be lost.
The other Mixpanel SDKs (or at least the Unity SDK) handle this just fine. I'm assuming there's some weird JS quirk causing this bug.

Yes, I encountered this, too.  Thanks for flagging!

Just experienced this also, was about to create a new issue


Move the standardized focus management APIs to html5.js

The @see annotations have also been updated to refer to
the whatwg specs. The parameter to Element.prototype.focus
was also changed to align with the spec.
This will fix google/elemental2#40

Created internal issue http://b/133254399

Thanks


Error treatment

Treat errors such as 404 and API Calls failures

Was taken care of. Closing this for now


Add get ERC20 tokens allowances for wrapper

@yaronvel @ilanDoron hi everyone, we want to improve the performance of the trading API because we have to process an API to get token enabled information of an address. This PR adds a function for that. Please check the PR.


Fix GUI tests on Travis.

See #28

Interestingly, adding the GUI tests back after successfully getting Travis set up for 2.7 and 3.4 via conda shows they run fine without any additional Ubuntu packages getting installed (xvfb is already installed on Travis images it seems).

Codecov Report

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

@@            Coverage Diff             @@
##           master      #29      +/-   ##
==========================================
+ Coverage   57.51%   64.84%   +7.32%
==========================================
  Files          18       19       +1
  Lines         958     1004      +46
==========================================
+ Hits          551      651     +100
+ Misses        407      353      -54

Impacted Files
Coverage Δ

axopy/util.py
100% <0%> (ø)

axopy/gui/main.py
90.58% <0%> (+63.52%)
:arrow_up:

Continue to review full report at Codecov.

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

Weird every package I found to be necessary in #28 is already installed in the image that Travis is using.

Just came across this (found in qutebrowser .travis.yml): https://bugreports.qt.io/browse/QTBUG-64928


Improve the msgpack serializer to support local-date and dateless-time objects

This was, in fact, intentional - I wanted to keep the surface area of native types we transported to a minimum (as for every one of these types we need to define how they transport into JSON and potentially support them in other languages too). I think I'm OK with DATE, as that's easy to pass around, but what do we have that needs just TIME?

This was, in fact, intentional - I wanted to keep the surface area of native types we transported to a minimum (as for every one of these types we need to define how they transport into JSON and potentially support them in other languages too). I think I'm OK with DATE, as that's easy to pass around, but what do we have that needs just TIME?

I noticed the problem with DATE when I was working with switches and accidentally had whole switches (instead of just the values) being transported. Obviously that was incorrect, but it made me review our model types and support for them in msgpack. I noticed that we have DATE and TIME fields in our models in addition to DATETIME/TIMESTAMP, and we wouldn't be able to transport them without these changes.
These three types are fairly universal and are supported in nearly all languages.
I'd note that our JSON serializer doesn't currently support DATETIME, either. If we're serious about supporting the JSON serializer, we already have some work to do in it. 🤔


RecursionError in models.

The class ScanInfo in tenable_io.api.models contains a bug in its as_payload method. Instead of calling its super method it calls itself again, which leads to a recursion error.

Should be fixed in #86


This ??= syntax has compatibility issues under iOS 12 and iOS 13, causing postMessage errors

https://github.com/react-native-webview/react-native-webview/blob/4197bb42ce79406ff20c7e5637f78e44ca45474c/apple/RNCWebViewImpl.m#L1638
This ??= syntax has compatibility issues under iOS 12 and iOS 13, causing postMessage errors

and line
https://github.com/react-native-webview/react-native-webview/blob/4197bb42ce79406ff20c7e5637f78e44ca45474c/apple/RNCWebViewImpl.m#L1689


Setting to disable non-multiverse worlds being added to config on shutdown.

My server uses Multiverse as our main world management plugin.
My server creates different copies of worlds to create private "instances." The problem I'm having is as follows. Say a player starts up an instance of the world "test." The instanced world will be called "test_1", to show it is instance number 1. If the server shuts down while this instance is active, Multiverse will save this world to the config, and load the world on the next startup. This makes startup take a lot longer, and will often mess with the copying of instanced worlds.
Possible Solutions:
Create a setting in the config.yml.
When the plugin is about to save the worlds, first check if this value is true. If so, all worlds can be added to the config. If false, Multiverse checks each world to see if they're already in the config. If the world isn't in the config, ignore it.
Another possible solution would be to make a setting in the config.yml that will determine if new worlds should have "autoload: true" when added to the MV Config.

Multiverse does not save world configs for worlds that were not created by it. That is to say, whatever is creating test_1 must be using the Multiverse API to add the world, in which case the config is being created. I would suggest you contact the dev for that plugin and bring up the issue with them.


feat: Tunable tank ult negation passive

0 removes ult negation passive
30 keeps ow2 ult negation passive
All the numbers are defind using constants for maintainability. Default value is 15

tested and it's super broken


AspNetCore RC2: Kestrel server won't bind to multiple server.urls

The server is not honoring  server url bindings when launching web apps using .Net Core RC2 VS tools, eg this doesn't work:
var host = new WebHostBuilder()
	.UseKestrel()
	.UseContentRoot(Directory.GetCurrentDirectory())
	.UseUrls("http://localhost:60000", "http://localhost:60002")
	.UseIISIntegration()
	.UseStartup<Startup>()
	.Build();

host.Run();

However, everything works fine when launching this way:
project-root > dotnet run
I've been digging around, and can't find much on this topic other than a few related issues:

https://github.com/aspnet/Announcements/issues/174
http://stackoverflow.com/questions/34212765/how-do-i-get-the-kestrel-web-server-to-listen-to-non-localhost-requests

I tried moving the urls to a server.urls variable in an external hosting.json file and using the configuration builder as suggested in the 2nd link, but that's not working either.
var config = new ConfigurationBuilder()
	.SetBasePath(Directory.GetCurrentDirectory())
	.AddJsonFile("hosting.json", optional: true)
	.Build();

var host = new WebHostBuilder()
	.UseKestrel()
	.UseConfiguration(config)
	.UseContentRoot(Directory.GetCurrentDirectory())
	.UseIISIntegration()
	.UseStartup<Startup>()
	.Build();

host.Run();

//  contents of hosting.json,
// {
//   "server.urls": "http://localhost:60000 http://localhost:60002"
// }

The hosting.json file is located in the project root along side project.json and was created based on the only example I could find:

https://docs.asp.net/en/latest/fundamentals/servers.html)

Although seemlingly promising, that didn't work either.Are you having this issue too or has anyone else reported it?
I'm using 1.0.0-preview1-002702.

Are you running one of the samples or is this your own application? I did have this issue during the RC2 upgrade but just made the IIS Url in project properties the same as one of my configured URLs in Startup.cs e.g. http://localhost:60000.

I just tested this myself. You need to separate your URLs with a semi-colon:
{
  "server.urls": "http://localhost:60000;http://localhost:60001"
}

I cloned a copy of your RC2 dev Saaskit and have the same issue.
Step by Step of how I reproduced:

Cloned your R2 branch locally
Opened the solution file in VS2015
Set AspNetMvcSample as the startup project
Build the solution to restore library dependencies
Launched the AspNetMvcSample inside VS2016 using the "Run" button

Notes:

I did not make any changes to the project's code or settings
VS Launch profile was set to IIS Express
Launch Settings url was http://localhost:60000

Results:
Everything seemed to work fine. The databases were created and Tenant1 loaded up on port 60000.
However, when I attempted to navigate to http://localhost:60002, the browser just spins hopelessly and the host never responds which results in "Page cannot be displayed" error.
Also, there is zero indication of traffic to the host on port 60002 - the debug console logs nothing and nothing is returned to the browser by the host.
Using the dotnet Tool:
dotnet run   Works, sort of.

Both http://localhost:6000 and http://localhost:60002 it resolves, as do the other ports.
However, the debugger has to be manually attached.
Db connection "integrated security" no longer works

It's possible it's just my environment causing the host resolution issue, but I'm sure what part. Here's what I'm running:

IISExpress, v10.0.10557.1000
Visual Studio, v14.0.25123-update2
Microsoft .Net Core RC2 Runtime, v1.0.2072
Microsoft .Net Core RC2 SDK, v1.0.2072
Microsoft .Net Core RC2 VS 2015 Tooling, v1.0.20513.14-preview1
Microsoft .Net , v4.6.01038

More Notes:
When launching the application using VS IISExpress profile, the following hack will cause the other ports to be resolved by the host, and you can see activity in the debug console this way. However, the host summarily rejects the request because of a pairing token check being done in the IISExtensions.
var host = new WebHostBuilder()
		.UseKestrel()
		.UseContentRoot(Directory.GetCurrentDirectory())
		.UseUrls("http://localhost:60000", "http://localhost:60001", "http://localhost:60002", "http://localhost:60003")
		.UseIISIntegration()
		.UseStartup<Startup>()
		.Build();

var hack =  host.ServerFeatures.Get<IServerAddressesFeature>();

hack.Addresses.Add("http://localhost:60001/");
hack.Addresses.Add("http://localhost:60002/");

host.Run();

/*
Browsing to http://localhost:60000
Ok

Browsing to  http://localhost:60002

Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware:Error: 'MS-ASPNETCORE-TOKEN' does not match the expected pairing token
*/

That error message is produced by the IIS Middleware. However, before the hack nothing happened at all.
Here's where the error is being thrown in AspNetCore's IISMiddleware:
//  Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware.cs
//  Lines 58 - 63
//
            if (!string.Equals(_pairingToken, httpContext.Request.Headers[MSAspNetCoreToken], StringComparison.Ordinal))
            {
                _logger.LogTrace($"'{MSAspNetCoreToken}' does not match the expected pairing token '{_pairingToken}', skipping {nameof(IISMiddleware)}.");
                 await _next(httpContext);
                 return;
             }

Link to IISMiddleware.cs
https://github.com/aspnet/IISIntegration/blob/9e6dc5b2dab4e4efc6e2fc331a65cd768ae59627/src/Microsoft.AspNetCore.Server.IISIntegration/IISMiddleware.cs

I'm going to close this issue. It's not related to SaasKit, and it's easy enough to fix by doing the following:

Open the solution's \.vs\config\applicationhost.config  file
Manually add the additional entries to the site's <bindings></bindings>

Before
<bindings>
   <binding protocol="http" bindingInformation="*:60000:localhost" />
</bindings>

After
<bindings>
   <binding protocol="http" bindingInformation="*:60000:localhost" />
   <binding protocol="http" bindingInformation="*:60001:localhost" />
   <binding protocol="http" bindingInformation="*:60002:localhost" />
   <binding protocol="http" bindingInformation="*:60003:localhost" />
   <binding protocol="http" bindingInformation="*:60004:localhost" />
</bindings>

It's an issue with IIS Express, and yes, changing ApplicationHost.config is the way to resolve it.


add primary button

Hi,
I have add primary button feature for this issue #157
Plus button will change to primary button(instead of the close button), when plus button is pressed.
and edit the readme file for primary button example.

Actually I don't think we need a PR for that, the same result could be achieved with the current version. Here is how:

The component where the RNAB is used needs to keep track of the active state of RNAB.
When the onPress function is triggered, you toggle the active state. This way we don't need a second onPress function like onPrimaryPress.
If state is active, then the icon prop will get a component as its value. Otherwise it's empty. This way we don't need a second prop like primaryIcon.

What do you think?

Yes, You are right. I did not think so.
Use below code can easy to do this.
Thank you very much.
render() {

    let icon = null;
    if(this.state.actionButtonActive){
      icon = <IoniconsIcon name="md-create" color={"#fff"} size={20} />;
    }else{
      icon = <IoniconsIcon name="md-add" color={"#fff"} size={20} />;
    }

    return (

        <ActionButton
          active={this.state.actionButtonActive}
          icon={icon}
          onPress={()=>{
            if (this.state.actionButtonActive) {
              this.setState({actionButtonActive: false});
              Actions.SendPage();
            }else{
              this.setState({actionButtonActive: true});
            }
          }}
          >
          <ActionButton.Item buttonColor='#9b59b6' title="New Task" onPress={() => console.log("notes tapped!")}>
            <IoniconsIcon name="md-create" style={styles.actionButtonIcon} />
          </ActionButton.Item>
          <ActionButton.Item buttonColor='#3498db' title="Notifications" onPress={() => {}}>
            <IoniconsIcon name="md-notifications-off" style={styles.actionButtonIcon} />
          </ActionButton.Item>
          <ActionButton.Item buttonColor='#1abc9c' title="All Tasks" onPress={() => {}}>
            <IoniconsIcon name="md-done-all" style={styles.actionButtonIcon} />
          </ActionButton.Item>
        </ActionButton>

    )

  }

Good 👍


Update zurb foundation template gulpfile (undefined variable)

Expected Behavior
I should be able to run gulp to compile my css from the template.
Current Behavior
I run into an error:
webpack 5.61.0 compiled successfully
[13:18:40] Finished 'javascript' after 2.13 s
[13:18:40] Starting 'sassBuild'...
[13:18:40] 'sassBuild' errored after 2.15 ms
[13:18:40] TypeError: The "listener" argument must be of type function. Received undefined
at checkListener (node:events:276:3)
at _addListener (node:events:552:3)
at Transform.addListener (node:events:611:10)
at Transform.on (node:internal/streams/readable:1126:35)
at sassBuild (/home/megakeegman/Projects/github/drupal-pece/web/themes/contrib/foundation_zurb_template/gulpfile.babel.js:105:6)
at bound (node:domain:432:15)
at runBound (node:domain:443:12)
at asyncRunner (/home/megakeegman/Projects/github/drupal-pece/web/themes/contrib/foundation_zurb_template/node_modules/async-done/index.js:55:18)
at processTicksAndRejections (node:internal/process/task_queues:77:11)

Possible Solution
Either constrain node to an earlier version (I am running 21.7.3 but have seen this work on 18), or update the code in the template gulpfile by changing $.sass.logError to sass.logError
In the template, this is being passed as a callback to a listener and is undefined. It works fine when I make this change on my version of node. Have not yet tested on earlier versions. My guess that this is the more desirable solution though.
Test Case and/or Steps to Reproduce (for bugs)
How to reproduce:

Install node version 21.7.3
Clone the ZURB Foundation template
cd into the template folder
run npm install or yarn install
run npm run start or yarn run gulp
See the error described

Context
Just trying to get a drupal project started with the zurb foundation theme.
Your Environment

I just cloned the template, which installs the latest version of Foundation
Device, Operating System and version: Framework laptop, Garuda Linux x86_64, Laptop (12th Gen Intel Core) A6

Checklist

[x] I have read and follow the CONTRIBUTING.md document.
[x] This is a bug report or a feature request.
[x] There are no other issues similar to this one.
[x] The issue title and template are correctly filled.

Just trying to get a drupal project started with the zurb foundation theme.

I wouldn't recommend starting new projects with Foundation. It's barely maintained.

Dang I was so excited to try it out. Thanks for bringing this to attention here.

Use gulp build to compile into your CSS


unable to publish

From @devoncarew on July 13, 2017 20:9
I was unable to publish a package w/ the most recent SDK:
Looks great!
Failed to upload the package.

This was for Pub 1.25.0-dev.6.0. @pq was able to publish the same package, using a 1.25.0-dev.4.0 version of the sdk. The repo in question is https://github.com/dart-lang/cli_util.
Copied from original issue: dart-lang/pub#1666

IO  : HTTP response 400 Bad Request for POST https://storage.googleapis.com
    | took 0:00:00.067320
    | date: Thu, 13 Jul 2017 20:21:21 GMT
    | x-guploader-upload-result: invalid_content_type
    | x-google-backends: /bns/pf/borg/pf/bns/blobstore2/bitpusher/196.scotty,acseae16:443
    | x-google-gfe-response-code-details-trace: response_code_set_by_backend
    | x-guploader-uploadid: AEnB2UpfJpQq0DtIRgPObTBYuTFG0QteOanl--GUKVCON0S2aBlsBt5afFMiJ6s3AQGFTtFT7rLBH7Yc9ZCz09iWIeEUsTWzRPAuEnd5W8qlOd-XEHQBryc
    | x-google-shellfish-status: CA0gBEBJ
    | content-type: text/html; charset=UTF-8
    | x-google-service: bitpusher-cloud-storage
    | x-guploader-request-result: invalid_content_type
    | server: UploadServer
    | x-google-gfe-request-trace: acseae16:443,/bns/pf/borg/pf/bns/blobstore2/bitpusher/196.scotty,acseae16:443
    | alt-svc: quic=":443"; ma=2592000; v="39,38,37,36,35"
    | x-google-gfe-service-trace: bitpusher-cloud-storage
    | x-google-gfe-backend-request-info: eid=QdZnWYe1FcGniQOFnavQBA
    | x-google-netmon-label: /bns/pf/borg/pf/bns/blobstore2/bitpusher/196:caf3
    | content-length: 40
    | x-guploader-customer: cloud-storage
    | x-google-dos-service-trace: main:apps-upload-cloud-storage-unified
FINE: Uploading finished (0.806s).
FINE: Saving OAuth2 credentials.
IO  : Writing 365 characters to text file /Users/devoncarew/.pub-cache/credentials.json.
ERR : Failed to upload the package.
FINE: Exception type: ApplicationException
FINE: package:pub/src/utils.dart 815                                                fail
    | package:pub/src/command/lish.dart 106                                         LishCommand._publish
    | package:pub/src/command/lish.dart 145                                         LishCommand.run
    | package:args/command_runner.dart 194                                          CommandRunner.runCommand
    | package:pub/src/command_runner.dart 168                                       PubCommandRunner.runCommand.<fn>

From @pq on July 13, 2017 20:46
FWIW, Pub 1.25.0-edge.e41c56580a402dd450ee291233e2ca9cc295d135 failed for me too before 1.25.0-dev.4.0 worked.

From @nex3 on July 13, 2017 20:13
I'm guessing this is a server-side issue, but just in case what do you see if you run with --verbose?

From @pq on July 13, 2017 21:7
Maybe.  But Pub 1.25.0-dev.6.0 wasn't working for Devon either.

From @nex3 on July 13, 2017 20:54
dart-lang/sdk@e41c56580a402dd450ee291233e2ca9cc295d135 is much older than 1.25.0-dev.4.0. Could this have been a bug that has since been fixed?

From @nex3 on July 13, 2017 21:37
Between 1.25.0-dev.4.0 and 1.25.0-dev.6.0, Pub was upgraded from 0713718a83054fcc1c0a4b163e036f7c39ea4790 to 0f122625f8e607842afe156b9b23a9709e4ce39a, but I don't see any changes in that range that would affect publishing at all. Nor does the SDK include any changes to the HTTP infrastructure. All this makes me think that it must have been either a flake or a server-side change in the HTTP API.

From @nshahan on July 18, 2017 23:41
I am seeing the same error on the SDK version:
Dart VM version: 1.25.0-dev.7.0 (Mon Jul 17 02:47:13 2017) on "macos_x64"

From @nshahan on July 18, 2017 23:46
I just uninstalled the dev version of the SDK and installed the stable version:
Dart VM version: 1.24.2 (Thu Jun 22 08:42:17 2017) on "macos_x64"
That allowed me to publish without any problems.

From @kevmoo on July 19, 2017 0:1
Yeah – this feels like a server bug. Would someone use the issue mover to...move it?

/cc @isoos, @mkustermann

I'm not aware of any server code change that would work with 1.24.2 but break with anything newer. The only recent change that was vaguely related to the upload was to extract the example file, but that should not care about whether the pub client is on a bleeding edge or not.
Unfortunately the pub client swallows any useful info from the exception:
https://github.com/dart-lang/pub/blob/master/lib/src/command/lish.dart#L106
@kevmoo: could you please check the prod logs while @mkustermann is OOO?

I believe the fix is in the client – due to a recent change in how storage handles uploads – https://github.com/dart-lang/pub/issues/1666#issuecomment-316405883

Turns out this is a Cloud Storage issue – at least we think it is
Reopening here – since storage is an implementation detail of our backend - http://b/63855519

Root cause: https://github.com/dart-lang/http/issues/105


Renaming handlers to events

With version re-frame v0.8.0, the advice for namespace names changed.
Previously, event handlers were to be put into handlers.cljs,  but as of v0.8.0 that advice changed to events.cljs   (after all, re-frame has many kinds of handlers).

@maacl Thansk for the PR, much appreciated!
@mike-thompson-day8 Thanks for confirming :)
Will get this out with the next cut, which will probably be next week.


chore: improve unit test coverage of datetimetypeadapter

This PR adds further unit tests against DateTimeTypeAdapter, and as a result line coverage goes up over 90%.
Test cases cover null input cases.

Let's hold off on this PR for a while.

:tada: This PR is included in version 9.11.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Support for Python 3.11. Relaxes grpcio and protobuf requirements

Signed-off-by: Bernd Verst<EMAIL_ADDRESS>Description
Adds Python 3.11 to tests. This test will work once GitHub updates their images towards the end of the week of Oct 24.
Relaxes the grpcio and protobuf requirement as per #479 which is already in release 1.8.2.

The new tox version I included found new linter issues :p


source data lose precise after dump

souce data:
date,open,close,high,low,volume,change,turnover
2000-01-04,600000.41,600000.42,600000.43,600000.44,600000.45,600000.46,600000.47
2000-01-05,600000.51,600000.52,600000.53,600000.55,600000.55,600000.56,600000.57
2000-01-06,600000.61,600000.62,600000.63,600000.66,600000.66,600000.66,600000.67

dump result(dump_all and print features):

source data changed after dump,by source code:
np.array(_df[field]).astype("<f").tofile(fp)

it change float64 to little-endian single-precision float,but why do so?

It should be a display bug, you can index to a single variable to see the value.

@Chaoyingz  Thank you for your reply.
part of it.when i show value in vscode,i get another value(df.iloc[0:1, [0]]):

and i try to save result to csv,to see the value:

crazy me:
source value:600000.41
dump and print value:600000.4375
dump and save csv value:600000.44
which one i can trust?

This is because the precision in the dump process is float32, which causes the precision to be lost, you can try to change this precision in the dump_bin file.
However, the precision is also lost when using D.features, change the precision limit in file_storage.start_index and file_storage.__getitem__ and data.expression to solve this problem.
It is possible to place constraints on precision in the config file, which gives the user the flexibility to modify it, If you are interested in this, you can submit your changes.


Move mail from mailboxto shared mailbox

Hello !
Is it possible to add a feature in order to allow moving mails from a mailbox's folder to another mailbox's folder.
For example : I'd like to move some mails from one user's mailbox into his shared mailbox
I don't know if there is a way to add a feature to the POST request with URL /beta/users/id/messages/id/move ?
Thanks a lot and have a nice day !
Paul.

Hi @adstechnic,
You should be able to do this.
I think this documentation should help: https://learn.microsoft.com/en-us/graph/api/message-move?view=graph-rest-1.0&tabs=http


Remove unprintable and invalid characters when logging bad line protocol (port to 1.10 branch)

Port https://github.com/influxdata/influxdb/issues/23386 to 1.10 branch
For 1.10.1, so after 1.10.0 GA is released.

This was ported into 1.10.0, a release earlier than planned.


Status?

@iamjamestl checking to see if this is something that you still are interested in developing.  If not, we will move this out of the organization account to a pre-release/testing organization account should someone decide to work on it down the road.  Please let me know sometime over the upcoming week. Thanks.

@iamjamestl moved to sf-playground/autofont.  Please let me know if you would like write access to work on this again down the road.


entrystream: remove heap usage; just sort [phab:D311]

Created by schroederc at 2015-06-03 22:13:01:

shahms accepted this revision at 2015-06-03 22:16:03

schroederc closed via commit 511a48610ce647f3c274917653d05ca0c03fbf94 at 2015-06-03 22:25:08


enum string and array of strings

TRY
I have an array of strings – all possible standart event names. I use it to create union type, where every element is string. Now I can use that union for strings, but not for strings[].
What the difference between string and string[] in this situation?
/* @flow */

type T = 'a' | 'b'
const a: T = 'a'
function f(s: string) {}
f(a) // ok

const b: T[] = ['b']
function fa(arr: string[]) {}
fa(b) // string enum is incompatible with string

Why flow think b could have anything not from T?

Array of strings is array of strings, not array of literals. It's the same as
const a: string = 'a';
const b: 'a' | 'b' = a;

you can't assign string to less common type without refinement.

But I think my case have reverse direction. Function fa requires string type (array of strings), which is more common than union of strings T, right? I mean T is a subset of string type.
Anyway, how to handle my case? I have an array of string constants, and I need to pass them to function which accept an array of any strings.

@Diokuz Possibly because you can mutate it. With $ReadOnlyArray all works fine.
https://flow.org/try/#0PQKgBAAgZgNg9gdzCYAoVAXAngBwKZgAqYAvGAOQCG5YAPhQEbnoDGcAdgM4ZgMBcYACQAlPJQAmAeXYwsAQQBOCylgA8hAHykwAbXJMAuqigBXdiwwBLDmCiUAFJSUCRYqTPlKVq7gsvsAcw0ASjAAbwBfYwcGUOBgMF9-ALA8dhMAWzBLTmzzOAycSisGGAIESwwAC0SMP0CgA


[SELECT INPUT] Validator not working on undefined value;

Current behaviour
On a selectFor input (with "hasUndefined" and "isRequired" set as True), if you first select a value, then select the undefined value, the validator does not detect an error.

Expected behaviour
The validator should not allow the undefined value, since isRequired is set to True.
Versions
Focus-core:  0.16.0
Focus-components: 0.16.1-beta4

@LentnerStefan could you check with your current version ?

The issue is fixed in focus-components v.2.1.2.
Thank you


Run functional tests tests on SauceLabs

Thanks to SauceLabs, we can run functional tests against their cloud of platforms and browsers, allowing us to make sure the php-webdriver library is compatible with them.
The tests results will be publicly available here: https://saucelabs.com/u/php-webdriver

👍 👍 💯


[Impeller] investigate remaining Flutter gallery performance issues on Vulkan/Gles.

There are three kinds of slow frames I can see from looking at the devicelab benchmarks:
(Vulkan) Blocking on FenceWaiter::AddFence

(Vulkan/GLES) slow atlas population

(Vulkan) Slow command encoding

The slow render pass encoding reproduces on a Pixel 7 as well. Here is a highly annotated trace:

In this case, GARBO2 is a trace event I added in the command pool recycler:
void CommandPoolVK::GarbageCollectBuffersIfAble() {
    TRACE_EVENT0("impeller", "CommandPoolVK::GARBO2");
  if (std::this_thread::get_id() != owner_id_) {
    return;
  }
  buffers_to_collect_.clear();
}

So I suspect the issue may be destroying command pools is stalling on the raster thread. We should re-arrange this code to use the resource manager if possible.

We noted this offline too, but just creating and deleting CommandPoolVK and command buffers may be faster than the synchronization that was added to try to cache them.  Also it seems like maybe CommandPoolVK is built on the assumption that the command buffers need to be deleted on the raster thread which shouldn't be the case.  Since the tracked objects is trying to delete it on the resource tracker thread, we should be able to delete them safely there.

Closing as a duplicate of https://github.com/flutter/flutter/issues/135443


SDL3: Segfault on wayland backend

With SDL_VIDEO_DRIVER=wayland or SDL_VIDEO_DRIVER unset, SDL3.SDL_Init segfaults:
$ dotnet ./osu.Framework.Tests.dll
[runtime] 2024-04-11 22:20:36 [verbose]: 🖼 Configuration renderer choice: Automatic
[runtime] 2024-04-11 22:20:36 [verbose]: 🖼 Renderer fallback order: [ OpenGL, OpenGL (Experimental), Vulkan (Experimental) ]
[runtime] 2024-04-11 22:20:36 [verbose]: 🖼 Initialising "GL" renderer with "OpenGL" surface
[1]    106779 segmentation fault (core dumped)  dotnet ./osu.Framework.Tests.dll

Setting SDL_VIDEO_DRIVER=x11 fixes this. Building my own SDL3 library from git main also fixes this (even duplicating the build args from the CI script).
I assume this is some problem with native dependencies because I am on a rolling release distro (Arch). I can't see anything wrong at a glance. I might dig deeper in the next few days.

Can you find the error in journalctl?
What's the result of uname -r?
What's the result of ldd --version
Does the official build from https://github.com/libsdl-org/SDL/actions/runs/8655570884 (specifically, the SDL-ubuntu20.04 artifact) work?
I might be able to analyse more with the coredump if you send it to<EMAIL_ADDRESS>

If (4) works from above, can you also try the lib from here? https://github.com/smoogipoo/SDL3-CS/pull/17/files

1. journalctl
Apr 12 14:11:01 thinkpad-x13 kernel: dotnet[22185]: segfault at 0 ip 00007f8dcd37782f sp 00007ffcf1bc23f8 error 4 in libc.so.6[7f8dcd242000+15b000] likely on CPU 5 (core 2, socket 0)
Apr 12 14:11:01 thinkpad-x13 kernel: Code: 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa c4 41 01 ef ff 89 f8 09 f0 c1 e0 14 3d 00 00 00 f8 0f 87 25 03 00 00 c5 fe 6f 07 <c5> fd 74 0e c5 85 74 d0 c5 ed df c9 c5 fd d7 c9 ff c1 74 5d f3 0f
Apr 12 14:11:01 thinkpad-x13 systemd[1]: Started Process Core Dump (PID 22199/UID 0).
Apr 12 14:11:01 thinkpad-x13 systemd[1]: Started Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling.
Apr 12 14:11:02 thinkpad-x13 (sd-parse-elf)[22202]: Could not parse number of program headers from core file: invalid `Elf' handle
Apr 12 14:11:02 thinkpad-x13 systemd-coredump[22200]: [🡕] Process 22185 (dotnet) of user 1000 dumped core.

Module /home/jannik/Development/osu-framework/osu.Framework.Tests/bin/Debug/net8.0/runtimes/linux-x64/native/libbass.so without build-id.
Module /home/jannik/Development/osu-framework/osu.Framework.Tests/bin/Debug/net8.0/runtimes/linux-x64/native/libbass.so
Stack trace of thread 22185:
#0  0x00007f8dcd37782f n/a (libc.so.6 + 0x15982f)
#1  0x00007f8dc4f90041 n/a (/home/jannik/Development/osu-framework/osu.Framework.Tests/bin/Debug/net8.0/runtimes/linux-x64/native/libSDL3.so + 0x190041)
ELF object binary architecture: AMD x86-64
Apr 12 14:11:02 thinkpad-x13 systemd[1]<EMAIL_ADDRESS>Deactivated successfully.
Apr 12 14:11:02 thinkpad-x13 drkonqi-coredump-processor[22201]: "/home/jannik/.dotnet/dotnet" 22185 "/var/lib/systemd/coredump/core.dotnet.1000.53cd566ffe7045288726882b45627aec.22185.1712923861000000.zst"
Apr 12 14:11:02 thinkpad-x13 systemd[900]: Started Launch DrKonqi for a systemd-coredump crash (PID 22201/UID 0).
Apr 12 14:11:02 thinkpad-x13 drkonqi-coredump-launcher[22247]: Unable to find file for pid 22185 expected at "kcrash-metadata/dotnet.53cd566ffe7045288726882b45627aec.22185.ini"
Apr 12 14:11:02 thinkpad-x13 drkonqi-coredump-launcher[22247]: Nothing handled the dump :O
Apr 12 14:11:02 thinkpad-x13 systemd[1]<EMAIL_ADDRESS>Deactivated successfully.

2 and 3:
$ uname -r
6.8.5-zen1-1-zen
$ ldd --version
ldd (GNU libc) 2.39

4: No, the official build (and the binary from your fork) also segfaults.
I sent you a coredump.

Tracking upstream fix in https://github.com/libsdl-org/SDL/pull/9523

Fixed by #6240.


ImportError: No module named 'coinmarketcap'

I get this error when trying to call coinmarketcap. Despite a seemingly successful install using pip.
Python 3.4.3 (default, Nov 17 2016, 01:08:31)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.

from coinmarketcap import Market
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named 'coinmarketcap'

(venv)speed@speed-desktop:~/py3project/venv/bin$ pip install coinmarketcap
Requirement already satisfied: coinmarketcap in /home/speed/py3project/venv/lib/python3.4/site-packages
Requirement already satisfied: requests in /home/speed/py3project/venv/lib/python3.4/site-packages (from coinmarketcap)
OS: ubuntu Ubuntu 14.04 trusty
Kernel: x86_64 Linux 3.13.0-129-generic
Uptime: 3h 4m
Packages: 4247
Shell: bash 4.3.11
Resolution: 1920x1080
DE: Gnome 3.9.90
WM: GNOME Shell
WM Theme: Adwaita
Radiance [GTK2]
, Radiance [GTK3]
Icon Theme: elementary-xfce-darker
Font: Cantarell 11
CPU: AMD FX-8350 Eight-Core @ 4GHz
GPU: GeForce GTX 750 Ti
RAM: 9844MiB / 24011MiB

Strange, seems to work for me™:
root@host ~ # pip3.4 install coinmarketcap --upgrade
Requirement already up-to-date: coinmarketcap in /usr/local/lib/python3.4/dist-packages
Requirement already up-to-date: requests in /usr/local/lib/python3.4/dist-packages (from coinmarketcap)
Requirement already up-to-date: certifi>=2017.4.17 in /usr/local/lib/python3.4/dist-packages (from requests->coinmarketcap)
Requirement already up-to-date: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python3.4/dist-packages (from requests->coinmarketcap)
Requirement already up-to-date: idna<2.7,>=2.5 in /usr/local/lib/python3.4/dist-packages (from requests->coinmarketcap)
Requirement already up-to-date: urllib3<1.23,>=1.21.1 in /usr/local/lib/python3.4/dist-packages (from requests->coinmarketcap)
root@host ~ # python3
Python 3.4.2 (default, Oct  8 2014, 10:45:20)
[GCC 4.9.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from coinmarketcap import Market
>>> coin = Market()
>>> coin.ticker('bitcoin')
[{'24h_volume_usd': '1966770000.0', 'rank': '1', 'percent_change_24h': '-7.18', 'percent_change_7d': '-11.68', 'last_updated': '1505294969', 'total_supply': '16562387.0', 'percent_change_1h': '0.41', 'market_cap_usd': '65886666101.0', 'symbol': 'BTC', 'name': 'Bitcoin', 'available_supply': '16562387.0', 'id': 'bitcoin', 'price_usd': '3978.09', 'price_btc': '1.0'}]

I've just published v.4.0.1, can you try updating?
Cheers.

OK. Here is what I've got.
pip3.4 install coinmarketcap --upgrade
Collecting coinmarketcap
Downloading coinmarketcap-4.1.tar.gz
Collecting requests (from coinmarketcap)
Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)
100% |████████████████████████████████| 92kB 3.1MB/s
Collecting certifi>=2017.4.17 (from requests->coinmarketcap)
Downloading certifi-2<IP_ADDRESS>-py2.py3-none-any.whl (349kB)
100% |████████████████████████████████| 358kB 1.9MB/s
Collecting urllib3<1.23,>=1.21.1 (from requests->coinmarketcap)
Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)
100% |████████████████████████████████| 133kB 3.3MB/s
Collecting chardet<3.1.0,>=3.0.2 (from requests->coinmarketcap)
Using cached chardet-3.0.4-py2.py3-none-any.whl
Collecting idna<2.7,>=2.5 (from requests->coinmarketcap)
Downloading idna-2.6-py2.py3-none-any.whl (56kB)
100% |████████████████████████████████| 61kB 3.0MB/s
Installing collected packages: certifi, urllib3, chardet, idna, requests, coinmarketcap
Found existing installation: requests 2.13.0
Uninstalling requests-2.13.0:
Successfully uninstalled requests-2.13.0
Found existing installation: coinmarketcap 4.0
Uninstalling coinmarketcap-4.0:
Successfully uninstalled coinmarketcap-4.0
Running setup.py install for coinmarketcap ... done
Successfully installed certifi-2<IP_ADDRESS> chardet-3.0.4 coinmarketcap-4.1 idna-2.6 requests-2.18.4 urllib3-1.22
(venv)speed@speed-desktop:~/py3project/venv/bin$ python
Python 3.4.3 (default, Nov 17 2016, 01:08:31)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.

from coinmarketcap import Market
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.4/dist-packages/coinmarketcap/init.py", line 10, in
from .core import Market
File "/usr/local/lib/python3.4/dist-packages/coinmarketcap/core.py", line 6, in
import requests_cache
ImportError: No module named 'requests_cache'

Argh, my bad. I forget to add the requests_cache dependency in my setup.py. Should be fixed with v.4.1.1 I've just pushed to PyPi.
Sorry for the trouble.
Cheers.

Still getting a requests_cache error as of 6:07 PM.
(venv)speed@speed-desktop:~/py3project/venv/bin$ python
Python 3.4.3 (default, Nov 17 2016, 01:08:31)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.

from coinmarketcap import Market
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.4/dist-packages/coinmarketcap/init.py", line 10, in
from .core import Market
File "/usr/local/lib/python3.4/dist-packages/coinmarketcap/core.py", line 6, in
import requests_cache
ImportError: No module named 'requests_cache'


Generate function for creating Bundles w/o associated Intent or Fragment

Closes #30

The build failure is only uploading the snapshot. @twyatt that won't block this PR, but could you take a look (or tell me where to start) when you get a chance?

Once merged, #33 should unblock your CI build failures.


Update 5_Constants, variables, types and operations.md

:= would be a redeclaration (I hope I'm not misunderstanding this)

You're right, and it should also be counter, not counter1, I've changed that too, thanks!


docs: improve wording about running at massive scale

Motivation
I know that Argo can actually run much more than that and this wording makes it hard for us to talk about Argo scalability in our company. Improve wording to highlight that Argo Workflows can run a lot of smaller workflows.
Modifications
Reworded the first paragraph about running at massive scale.

Thanks!

@terrytangyuan the docs build failed :( https://github.com/argoproj/argo-workflows/actions/runs/5486613895/jobs/9996937003


Add pg_analytics

This was once named pg_lakehouse, but they've broken it out and changed the name. They've now actually made release tags for it (v0.1.2 is part of ParadeDB v0.9.3) so it feels like time to switch names ourselves.

Added @ChuckHend as a reviewer, mentioned the need for this in stacks meeting. As of this week, pg_lakehouse isn't part of the main paradedb repo, so we can't keep building it that way (and they're now two tags ahead).


Someone fix this pls

Describe your problem here.
Can someone pls fix this lol
jumping = false
function onUpdatePost(elapsed)
	 keyJustPressed('up') and not jumping then
		doTweenY('boyfriendJumpY', 'boyfriend', defaultBoyfriendY + 200, 0.3, 'cubeOut')
		setProperty('boyfriend.stunned', true)
		characterPlayAnim('boyfriend', 'hey', true)
		jumping = true
	end
end

function onTweenCompleted(tag)
	if tag == 'boyfriendJumpY' then
		doTweenY('boyfriendJumpBackY', 'boyfriend', defaultBoyfriendY + 350, 0.2, 'cubeIn')
		runTimer('delay', 0.2, 1)
	end
end

function onTimerCompleted(tag, loops, loopsLeft)
	if tag == 'delay' then
		setProperty('boyfriend.stunned', false) --lmao
		jumping = false
	end
end

Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x86/x32
Did you edit anything in this build? If so, mention or summarize your changes.
No response

Why are you using the up keybind tho?
Some people play with the arrows lol.
(I'll test the script by the way.)

if?

if?

Why are you using the up keybing tho?

i was on mobile

Why are you using the up keybing tho?

i was on mobile

Makes sense.

Fastest issue ever.

hold my mod.


Calendar - Show month

Is your feature request related to a problem? Please describe.
Currently the calendar component doesn't show the month(s) included in the week, but only the day.
Describe the solution you'd like
We would like see the month(s) included in the week in the top of the component, just like in Google Calendar. Currently we don't need the arrows that change the week from the component i.e. it is still read only.
Additional context
This is needed for the VR Scheduling project Q4 tasks.

This seems outside of the component's scope (which is the block of the grid).
The request is to display the month in a top-bar which belongs to the containing application layout.
There's not reasonable practice to display that outside the component.
Calendar sets start date to today unless authored with an explicit date.
Alternatively, it might be more reasonable to use the component's API members in order to get the start date (and we'll add an end date).


VsCode icons in completion

In neovim i have followed your idea and got the completion icons before the lsp source. But to get a true vscode like completion, different colors in the icons would be needed. Can pls you advise me on how to do so.

BTW thanks for your non-stop work on nvim-cmp

That's not currently possible I think.

Duplicate https://github.com/hrsh7th/nvim-cmp/issues/327

Thanks a lot man you are really quick

@gegoune you can try my PR

@windwp

How did you align the icons by left side?

Never mind, found the answer fields = { 'kind', 'abbr', 'menu' },


Update status_dhcpv6_leases.php

Switched to standard theme iconography. Padding-left set to 0.

I can't test this at the moment, somebody with a DHCPv6 deployment? Or a screenshot maybe, at least the code looks good already.

Thanks! :)


PySide6 Compatibility

What are the issues this pull addresses (issue numbers / links)?
Porting Qiskit Metal from PySide2 to PySide6 so that it can work natively on M* Macs (Apple Silicon).
Issues addressed:

[#798](https://github.com/qiskit-community/qiskit-metal/issues/798#issue-1253108197)
https://github.com/qiskit-community/qiskit-metal/issues/1001#issue-2660620368
https://github.com/qiskit-community/qiskit-metal/issues/991#issue-2360274496
https://github.com/qiskit-community/qiskit-metal/issues/690#issue-980627111
https://github.com/qiskit-community/qiskit-metal/pull/908#issuecomment-2481683172

Did you add tests to cover your changes (yes/no)?
No. N/A
Did you update the documentation accordingly (yes/no)?
Yes
Did you read the CONTRIBUTING document (yes/no)?
Yes
Summary
Fixed changes from PR #908 to pass automated CI workflows and tests, ensuring compatibility with updated dependencies, environment configurations, and the latest (11/17/2024) main branch.
Details and comments

Built on top of changes made by @obrienpja in PR #908.

Changes to QWidget_PlaceholderText and QTableView_AllComponents:

Refactored the QWidget_PlaceholderText class to ensure proper initialization and compatibility with PySide6.
Resolved issues with placeholder text styling by updating palette usage to align with PySide6 standards.
Updated QTableView_AllComponents to correctly inherit and integrate with QWidget_PlaceholderText, ensuring both functionality and visual styling work seamlessly.
Fixed initialization errors and ensured that the placeholder label behaves as intended when no components are available.

Requirements and environment updates:

Updated the environment.yml file to use stable, OS-agnostic dependencies for Python 3.10.
Added missing dependencies, such as pyaedt, to ensure a consistent build across different operating systems.
Ensured that all dependencies align with the workflows and requirements in the lab's testing environment.

Testing and validation:

Verified that the changes integrate seamlessly with the existing workflows and CI processes used in our lab.
Tested the updated branch against the current main branch workflows to confirm identical behavior.
All CI tests now pass successfully across all supported platforms (Windows, macOS, Ubuntu) and Python versions (3.9 and 3.10).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: obrienpja:white_check_mark: priti-ashvin-shah-ibm:x: shanto268You have signed the CLA already but the status is still pending? Let us recheck it.

Thank you, @shanto268! The tests are running. This is a giant PR, so it would be good to have more eyes on it than just you and me. Has anyone else from your lab tried this?  I think after merging this, we could bump the Qiskit Metal version from 0.1.5 to 0.2. I just want to make sure it runs.

Thanks! All tests have passed now, thankfully.
I totally agree—it indeed is a big PR, so having more eyes on it is a great idea. I’ll be using this version myself and asking my lab mates to do the same over the next couple of weeks. If everything runs smoothly, I’ll report back.
I’d also like to invite the great people—@PP501 and @DavidSomm—of the SQDMetal team to see if they can help beta test this version as well.

Awesome, that would be superb! Thank you everyone. Please don't be shy to post any comments here.

Linking pip install issue #1000

I tried to use these changes with python 3.12 on Windows, for it to be installed, I modified the version of the packages (I give my requirements.txt file below), this is my feedback (all may not be linked to changes in this PR):

sometimes, after the installation, the folder qiskit-metal/_gui/styles is missing in the installed package

the first time, I can open the gui without any problem, except the following error messages in the console of the gui metal: line: 0, func: None(), file: None  WARNING: endResetModel called on QSortFilterProxyModel(0x1dd7a634b60) without calling beginResetModel first [_handle_qt_messages._qt_message_handler]

all subsequent times that I try to run this code (even after restarting my computer), it crashes without any error message. I managed to find out that it crashes when running self.main_window.show() in main_window.py

I tried to do the same in WSL, likewise the gui opened the first time with the same error messages in the console (when clicking on the arrow to close the gui, the big window closed but the small one kept reopening itself, I had to use Ctrl+C in the terminal to close it), then again, impossible to launch the gui again, but this time I get the message Segmentation fault in the terminal

I used this code to test the gui:
from qiskit_metal import designs, draw, MetalGUI, Dict, open_docs
design = designs.DesignPlanar()
gui = MetalGUI(design)

requirements.txt
addict==2.4.0
descartes==1.1.0
gdspy==1.6.13
geopandas==0.12.2
ipython==8.30.0
matplotlib==3.9.3
numpy==1.26.4
pandas==1.5.3
pint==0.20.1
pyEPR-quantum==0.9.0
pygments==2.18.0
pyside6
qdarkstyle==3.1
qutip==4.7.6
scipy==1.12.0
shapely==2.0.6
scqubits==3.1.0
gmsh==4.11.1
pyaedt==0.13.0
pyyaml==6.0.2
cython<3.0.0

I have not tried with a lower version of python.
I do not know if someone else can manage to reproduce this bug. Feel free to tell me how to provide more details if necessary, in particular how to get the error messages of Qt.

I tried on Windows with Python 3.10.11, the exact requirements.txt of this branch except that I replace pyEPR-quantum by the version 0.9.0 and on a fresh kernel, on the first run I get:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[1], [line 1](vscode-notebook-cell:?execution_count=1&line=1)
----> [1](vscode-notebook-cell:?execution_count=1&line=1) from qiskit_metal import designs, draw, MetalGUI, Dict, open_docs
      [2](vscode-notebook-cell:?execution_count=1&line=2) design = designs.DesignPlanar()
      [3](vscode-notebook-cell:?execution_count=1&line=3) design.overwrite_enabled = True

File c:\Users\account\Python_venv\qiskit-metal-10\lib\site-packages\qiskit_metal\__init__.py:116
    [112](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/qiskit_metal/__init__.py:112)         import matplotlib.pyplot as plt
    [113](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/qiskit_metal/__init__.py:113)         plt.ion()  # interactive
--> [116](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/qiskit_metal/__init__.py:116) __setup_Qt_backend()
    [117](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/qiskit_metal/__init__.py:117) del __setup_Qt_backend
    [119](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/qiskit_metal/__init__.py:119) ## Setup logging

File c:\Users\account\Python_venv\qiskit-metal-10\lib\site-packages\qiskit_metal\__init__.py:113, in __setup_Qt_backend()
    [111](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/qiskit_metal/__init__.py:111) # pylint: disable=redefined-outer-name
    [112](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/qiskit_metal/__init__.py:112) import matplotlib.pyplot as plt
--> [113](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/qiskit_metal/__init__.py:113) plt.ion()

File c:\Users\account\Python_venv\qiskit-metal-10\lib\site-packages\matplotlib\pyplot.py:554, in ion()
    [552](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/matplotlib/pyplot.py:552) stack.callback(ion if isinteractive() else ioff)
    [553](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/matplotlib/pyplot.py:553) matplotlib.interactive(True)
--> [554](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/matplotlib/pyplot.py:554) install_repl_displayhook()
    [555](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/matplotlib/pyplot.py:555) return stack

File c:\Users\account\Python_venv\qiskit-metal-10\lib\site-packages\matplotlib\pyplot.py:157, in install_repl_displayhook()
    [155](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/matplotlib/pyplot.py:155) ipython_gui_name = backend2gui.get(get_backend())
    [156](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/matplotlib/pyplot.py:156) if ipython_gui_name:
--> [157](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/matplotlib/pyplot.py:157)     ip.enable_gui(ipython_gui_name)

File c:\Users\account\Python_venv\qiskit-metal-10\lib\site-packages\ipykernel\zmqshell.py:491, in ZMQInteractiveShell.enable_gui(self, gui)
    [488](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/ipykernel/zmqshell.py:488) from .eventloops import enable_gui as real_enable_gui
    [490](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/ipykernel/zmqshell.py:490) try:
--> [491](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/ipykernel/zmqshell.py:491)     real_enable_gui(gui)
    [492](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/ipykernel/zmqshell.py:492)     self.active_eventloop = gui
    [493](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/ipykernel/zmqshell.py:493) except ValueError as e:

File c:\Users\account\Python_venv\qiskit-metal-10\lib\site-packages\ipykernel\eventloops.py:597, in enable_gui(gui, kernel)
    [594](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/ipykernel/eventloops.py:594) else:
    [595](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/ipykernel/eventloops.py:595)     if gui.startswith("qt"):
    [596](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/ipykernel/eventloops.py:596)         # Prepare the kernel here so any exceptions are displayed in the client.
--> [597](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/ipykernel/eventloops.py:597)         make_qt_app_for_kernel(gui, kernel)
    [599](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/ipykernel/eventloops.py:599) loop = loop_map[gui]
    [600](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/ipykernel/eventloops.py:600) if (
    [601](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/ipykernel/eventloops.py:601)     loop and kernel.eventloop is not None and kernel.eventloop is not loop  # type:ignore[unreachable]
    [602](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/ipykernel/eventloops.py:602) ):

File c:\Users\account\Python_venv\qiskit-metal-10\lib\site-packages\ipykernel\eventloops.py:568, in make_qt_app_for_kernel(gui, kernel)
    [565](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/ipykernel/eventloops.py:565) from IPython.external.qt_for_kernel import QtCore
    [566](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/ipykernel/eventloops.py:566) from IPython.lib.guisupport import get_app_qt4
--> [568](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/ipykernel/eventloops.py:568) kernel.app = get_app_qt4([" "])
    [569](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/ipykernel/eventloops.py:569) kernel.app.qt_event_loop = QtCore.QEventLoop(kernel.app)

File c:\Users\account\Python_venv\qiskit-metal-10\lib\site-packages\IPython\lib\guisupport.py:115, in get_app_qt4(*args, **kwargs)
    [113](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/IPython/lib/guisupport.py:113) """Create a new qt4 app or return an existing one."""
    [114](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/IPython/lib/guisupport.py:114) from IPython.external.qt_for_kernel import QtGui
--> [115](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/IPython/lib/guisupport.py:115) app = QtGui.QApplication.instance()
    [116](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/IPython/lib/guisupport.py:116) if app is None:
    [117](file:///C:/Users/account/Python_venv/qiskit-metal-10/lib/site-packages/IPython/lib/guisupport.py:117)     if not args:

AttributeError: module 'PySide6.QtPrintSupport' has no attribute 'QApplication'

and when relaunching the code without restarting the kernel I get the usual death of the jupyter cell without any error message

have updated this branch with the latest merged PRs, resolved GUI setup issues related to resources, and corrected several text typos, thanks to @PositroniumJS. I plan to merge this in the next two weeks.
@shanto268 and @PositroniumJS, are you both comfortable with proceeding with the merge at this point?
After the merge, I will bump the major version of Qiskit Metal. Great job, everyone!

@zlatko-minev on a fresh python 3.10.11 venv I still face problems:
On the first import of qiskit-metal inside a jupyter notebook, I get an interference with matplotlib, but on the second import the error is solved:
AttributeError                            Traceback (most recent call last)
Cell In[2], line 1
----> 1 import qiskit_metal as metal
      2 from qiskit_metal import designs, draw
      3 from qiskit_metal import MetalGUI, Dict, open_docs

File c:\Users\account\Python_venv\qiskit-metal-10-test\lib\site-packages\qiskit_metal\__init__.py:116
    112         import matplotlib.pyplot as plt
    113         plt.ion()  # interactive
--> 116 __setup_Qt_backend()
    117 del __setup_Qt_backend
    119 ## Setup logging

File c:\Users\account\Python_venv\qiskit-metal-10-test\lib\site-packages\qiskit_metal\__init__.py:113, in __setup_Qt_backend()
    111 # pylint: disable=redefined-outer-name
    112 import matplotlib.pyplot as plt
--> 113 plt.ion()

File c:\Users\account\Python_venv\qiskit-metal-10-test\lib\site-packages\matplotlib\pyplot.py:554, in ion()
    552 stack.callback(ion if isinteractive() else ioff)
    553 matplotlib.interactive(True)
--> 554 install_repl_displayhook()
    555 return stack

File c:\Users\account\Python_venv\qiskit-metal-10-test\lib\site-packages\matplotlib\pyplot.py:157, in install_repl_displayhook()
    155 ipython_gui_name = backend2gui.get(get_backend())
    156 if ipython_gui_name:
--> 157     ip.enable_gui(ipython_gui_name)

File c:\Users\account\Python_venv\qiskit-metal-10-test\lib\site-packages\ipykernel\zmqshell.py:491, in ZMQInteractiveShell.enable_gui(self, gui)
    488 from .eventloops import enable_gui as real_enable_gui
    490 try:
--> 491     real_enable_gui(gui)
    492     self.active_eventloop = gui
    493 except ValueError as e:

File c:\Users\account\Python_venv\qiskit-metal-10-test\lib\site-packages\ipykernel\eventloops.py:597, in enable_gui(gui, kernel)
    594 else:
    595     if gui.startswith("qt"):
    596         # Prepare the kernel here so any exceptions are displayed in the client.
--> 597         make_qt_app_for_kernel(gui, kernel)
    599 loop = loop_map[gui]
    600 if (
    601     loop and kernel.eventloop is not None and kernel.eventloop is not loop  # type:ignore[unreachable]
    602 ):

File c:\Users\account\Python_venv\qiskit-metal-10-test\lib\site-packages\ipykernel\eventloops.py:568, in make_qt_app_for_kernel(gui, kernel)
    565 from IPython.external.qt_for_kernel import QtCore
    566 from IPython.lib.guisupport import get_app_qt4
--> 568 kernel.app = get_app_qt4([" "])
    569 kernel.app.qt_event_loop = QtCore.QEventLoop(kernel.app)

File c:\Users\account\Python_venv\qiskit-metal-10-test\lib\site-packages\IPython\lib\guisupport.py:115, in get_app_qt4(*args, **kwargs)
    113 """Create a new qt4 app or return an existing one."""
    114 from IPython.external.qt_for_kernel import QtGui
--> 115 app = QtGui.QApplication.instance()
    116 if app is None:
    117     if not args:

AttributeError: module 'PySide6.QtPrintSupport' has no attribute 'QApplication'

Then when I try to launch the GUI, in the console I get this:
03:07PM 31s CRITICAL [_qt_message_handler]: line: 0, func: None(), file: None  WARNING: endResetModel called on QSortFilterProxyModel(0x2dc08222640) without calling beginResetModel first

I have two windows that open but they are "not responding" and totally blank

@shanto268, even after installation of Pyside6, I am getting
 self.logger.warning( 541 "WARNING: No capacitance bodies added to the model other " 542 "than those connected to ground. ElmerFEM cannot run a " 543 "capacitance extraction analysis without any bodies. ")
and ultimately  final error points to
 self.logger.warning( 541 "WARNING: No capacitance bodies added to the model other " 542 "than those connected to ground. ElmerFEM cannot run a " 543 "capacitance extraction analysis without any bodies. ").


Refactor CFamilyLexer

A refactor for #1722. Sorry for the extra work.

What's the reason for making inline a reserved keyword vs. a keyword?

Inline is currently a reserved keyword, see here:
https://github.com/pygments/pygments/blob/d86dd2bbd07ed880d908aeab2a99af50a64142aa/pygments/lexers/c_cpp.py#L105


testing: make setup in LuceneDocCollectorTest less concrete

ack

merged via https://github.com/crate/crate/commit/3948d673bc341410b550571858a33de1c44a769a


upgrade vitepress to 1.0.0-rc.10

(We don't have to merge this, but I want to track the changes so we can be ready when v1.0.0 is released.)
Current release: https://github.com/vuejs/vitepress/releases/tag/v1.0.0-rc.10
Summary:

[x] light code blocks 👍
[x] fork link underline
[ ] green highlight

Details:
I tried upgrading locally, the nav seems to work.
The new styles for code blocks are quite nicer (the light mode now has light backgrounds).

the fork link is now underlined, why not but the underline has two shades, which we'd want to fix either by removing the underline altogether or by having just one shade..
I don't like the dark green they have now put on the selected words in search, the current lighter green is more legible I think.

No other issue detected so far.

Bug for the green: https://github.com/vuejs/vitepress/issues/2902
The default colors in light mode seem strange and not consistent with the dark mode variants.
I computed new purples here: https://observablehq.com/d/4eb7a6328e3dcdb2

https://github.com/vuejs/vitepress/issues/2902 was closed with rc.12


refactor: simplifications and cleanup

🔗 Linked issue

❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[x] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
This touches a lot of code, maybe I should split it up for clarity?
Mostly refactors runtime code, the goal is to reduce code surface for maintainability while also reducing the build size.

Removes injections type, use composables to provide context functions where possible
Remove duplicate function adjustRoutePathForTrailingSlash, we did test its behavior but we are not using it so I removed the tests.. May look into keeping the tests, but the functions are not similar enough to use as-is.
Extracts shared properties from ...CustomProperties interfaces for reuse

I have simplified most of the composable JSDoc and removed most of the JSDoc from their internal functions, these were originally exported in vue-i18n-routing which is why they were well documented, but we are documenting the same functions multiple times due to the wrapping of composables. The simplification and removals should make it easier to maintain and keep the user-facing descriptions accurate.

📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have added tests (if possible).
[ ] I have updated the documentation accordingly.

I think I accidentally fixed #2698 with these refactors... 🤔 reproduction using the preview release https://stackblitz.com/edit/bobbiegoede-nuxt-i18n-starter-dkqwmcqu?file=package.json

I'm going to split this PR up in smaller pieces and merge the trivial changes, I don't think it's realistic to check all the changes combined like this 😅


big_space 0.5.0 Build Failed

Crate name
big_space
Build failure link
https://docs.rs/crate/big_space/0.5.0/builds
Additional details
big_space is not my crate, but I took a look through the crate's Cargo.toml and the build log. There is no build.rs, the crate's only dependencies are bevy and bevy_framepace and the required versions of both have both been built successfully by docs.rs.
There were no errors in the build log, but there also doesn't seem to be any cargo/rustc output in the build log either

It's odd that the logs don't show errors.
For now I queued a rebuild


Errors being swallowed in Reducer

Hey Jeff,
I'm seeing a similar issue to #46 again except this time it's when the error gets thrown in the reducer itself.
Here's a fiddle [redacted]
This is a copy of the working demo from #46 except this time the error is being thrown within the reducer itself (on line 68) instead of in render()

Ignore this for now. The fiddle was running version v11.8... and I can't seem to repro with v12.0 in fiddle, but still seeing some weird issues in my app. Will reopen if it has something to do with redux-logic.

@jeffbski I figured out how to repro this. It seems like if you have a logic listening for the same action type as the one throwing the error in the reducer then the error gets swallowed as in #46.
This shows a working version: https://jsfiddle.net/e3cL20zk/2/
This one is hiding the error: https://jsfiddle.net/4cnup8vL/10/
The only difference is line 31, where I'm adding the second logic.
Both fiddles are using redux-logic v0.12.1.

Thanks for reporting this. I'll take a look and see what I can figure out.

We're you able to confirm this bug? I'm seeing it again today in a different scenario.

Did you ever get a chance to take a look at this?

@ksloan Thanks for creating the fiddles. I can see what you are running into. I'm not sure what is at play here, but I will look deeper and get to the bottom of it. It feels like this is something to do with the async nature of this, especially when there are multiple logic. I will keep looking into it.

I believe I found the problem and am working on the solution. I am in the process of confirming tests around it. I should have a fix early next week.

Any updates Jeff?

It is happening with me too (redux-logic: 0.12.1), after a long debug session I found an error on a reducer that I had a logic on the same action, and it was swallowed

arghhh. Sorry @guilhermebruzzi and @ksloan  I was gone last week and am getting back up to speed. I have some time tomorrow when I can focus on it and finish it up. I just want to make sure the fix doesn't cause any other issues so I'm double checking the tests.

@jeffbski No problem, thanks for all the hard work that you are doing for this great project! 👍

thanks @guilhermebruzzi and @ksloan I appreciate the support. I'll keep on it.

@ksloan For a workaround adding 'redux-logger' at the end of the middlewares also show the error

@guilhermebruzzi that's a good idea for a work around.
I did finally get the new version verified and pushed<EMAIL_ADDRESS>should now log errors in the reducer or render fn to the console.

Thanks much @jeffbski.  I upgraded to 0.12.2 and verified it is no longer hiding errors.  Much appreciated!

Thanks for verifying Kevin!


Add InmemoryBroker

This type of broker will be used to execute functions without actually sending them elsewhere.

It's really useful for tests.
Maybe it's a good idea to make it send tasks to another thread.


✨ Add onData option

onData is called whenever new value is emitted.

https://github.com/kaciakmaciak/react-query-subscription/pull/34

@all-contributors please add @cabljac for code


Add localIfFile to MavenRepository, & use it.

While #2163 needs more work, this is an sbt change that I needed and is useful.

Can one of the admins verify this patch?

LGTM


Remove command-line interface & click

This was a failed experiment.

Done in #134, will be in next major release.


Bump compatibility date for release

Hey all, just to highlight that there is Windows workerd build at present due to https://github.com/actions/runner-images/issues/812. Basically, since the image update, LLVM 15 is unable to compile some of the standard headers. Attempting to move onto LLVM 16 seems to have some issues.
The current PR trying to resurrect the Windows build (after getting to all the issues) is:

https://github.com/cloudflare/workerd/pull/1092

The current PR trying to resurrect the Windows build (after getting to all the issues) is:

Resurrect Windows-2022 with LLVM 16 #1092

Just a quick follow-up to say the PR for re-enabling the Windows runner seems to work, we should be able to turn it back on today.


Documentation updates for 0.2.0 release

Now that #153 is in, this PR is the last step before tagging an 0.2.0 release for MirageOS 3.
Changes:

I've reformatted CHANGES as CHANGES.md for consistency with other OPAM packages, and added a list of what I think are the most important changes since the initial release, mostly extracted from memory and #82.
I've removed the majority of the MirageOS-specific instructions in README.md and/or replaced them with generic instructions referring to test_ping_serve. The main reason for this is that I don't want to duplicate what should go in the MirageOS documentation for the 3.0 release, and I don't want to include information which will be instantly out of date after the release ("use the mirage-dev OPAM remote", etc.)

@yomimono, @hannesm What do you think of the 2nd point above? It'd be even better to be able to point the user to a canonical URL for documentation about building with the Solo5 targets, but I don't know what that is...?
@djwillia Now would also be a good time to re-work the Acknowledgments section at the end of README.md if you want to do that...?

I don't want to duplicate what should go in the MirageOS documentation for the 3.0 release, and I don't want to include information which will be instantly out of date after the release ("use the mirage-dev OPAM remote", etc.)

Very sensible.

a canonical URL for documentation about building with the Solo5 targets, but I don't know what that is...?

@avsm might have an opinion on this, but it's a good candidate for a tutorial item since I think it would have to include instructions on how to run the artifact as well (which we should have for all the backends, not just the solo5 ones).

sounds good to me, and yes, I agree there should be somewhere a getting started which shows the different backends in a more central place

Small update to CHANGES.md pushed, adding an acknowledgements section for people who contributed to the release with non-code contributions and mentioning the license standardisation and AUTHORS file.

@mato Thanks for this - it looks good to me.  This PR seems like a good place to also get rid of the Acknowledgements section in README.md, seeing as it's out of date and from here on out CHANGES.md can contain acknowledgements anyway.

@djwillia Done in abdf2c8. Looks like we're good to go!


NullReferenceException when transforming T4 templates after v3.0.8 -> v.3.1.0 update

I updated the Serenity VS Extension to v3.1.0, then closed everything and reopened my project, updated it from v3.0.8 to v3.1.0 via NuGet, and now I'm getting errors trying to transform.
The project rebuilds successfully, but when I then try to transform all T4 templates, I get a NullReferenceException.
I'm not sure where to begin troubleshooting this.

Same, thought this was due to updating Typescript to 2.5 today.
Glad I'm not the only one.

Please try with 3.1.1, it should be resolved.

Confirmed. Thank you for the swift resolution.


Grammar and link style updates in migrate-from-bing-maps-web-app.md

Per prior arrangement, if this PR needs approval, or if the commits need to be pulled into the private repo, only @eriklindeman should be notified. Thanks.

#sign-off


Inquiries on AMP

Hello Lornatang.
Thanks for your great work.
I'm very impressed with the simple/straightforward yet efficient re-implementation of published works.
To the best of my knowledge, a slight performance decrease can occur when training generative models with mixed precision.
Although this research was based on unconditional generative models, I do believe that it can stand equal to conditional generative models as SR networks.
Thus, I was wondering if there are any ablations on the performance with and without AMP. (Either RRDB or ESRGAN will help)
Also, I'm curious about how much faster the training is with and without AMP.
Thank you in advance.

Sorry， I see you email.

Python style MATLAB bicubic downsample function，antialiasing=True
GTmod12 To be fair, keep GT consistent. Of course, GTmod2, GTmod3, GTmod4 the result will be better


how to retrieve more that the first 100 records

from the documentation, I am not able to understand how to get the full list of records:
try:
    # Find record(s) by user query
    api_response = search_api_instance.root_get(database_id, usr_query, 100, 1, lang=lang, sort_field=sort_field)
except ApiException as e:
    print("Exception when calling SearchApi->root_get: {}".format(e))

I can see that api_response.query_result is:
{'query_id': 4, 'records_found': 823, 'records_searched': 67044985}

But in api_response.data I only have the first 100 (which I understand is the max limit for the "pagination")... how to proceed and use query_id to get the remaining records?

You can use query_id in the loop. This will iterate 100 records until records_found is reached.
    for i in range(101, api_response.query_result.records_found, 100):         api_response = search_api_instance.query_query_id_get(api_response.query_result.query_id, 100, i)         print(api_response)

thank you for your help, but this loop fails at the second iteration with:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-21-1f5427be001d> in <module>
 17         for i in range(101, api_response.query_result.records_found, 100):
 18             print("dentro")
---> 19             api_response = search_api_instance.query_query_id_get(api_response.query_result.query_id, 100, i)
 20             for i in api_response.data:
 21                 results.append(i)

AttributeError: 'NoneType' object has no attribute 'query_id'

looks like at the second iteration of the for loop, api_response.query_result is None

thank you for your help, but it looks like at the second iteration within the loop you suggested, api_response.query_result is None:
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-24-306632051575> in <module>
 17         for dd in range(101, api_response.query_result.records_found, 100):
 18             print("dentro")
---> 19             api_response = search_api_instance.query_query_id_get(api_response.query_result.query_id, 100, dd)
 20             for x in api_response.data:
 21                 results.append(x)

AttributeError: 'NoneType' object has no attribute 'query_id'

@maloku do you happen to have any suggestion on why api_response.query_result is None? am I missing something?

@manentai The issue is that the WoS API doesn't return the query ID in the subsequent responses since you are supplying it as part of the request itself. The trick is to save the query_id after you receive the initial results, then use that same query_id to make all subsequent requests as you loop through the records.
try:
    api_response = search_api_instance.root_get(database_id, usr_query, count, first_record, lang=lang,
                                                         sort_field=sort_field)
    print(api_response.query_result.query_id)
    query_id = api_response.query_result.query_id
    for i in range(101, api_response.query_result.records_found, 100):
        api_response = search_api_instance.query_query_id_get(query_id, 100, i)
        print(api_response)

except ApiException as e:
    print("Exception when calling SearchApi->root_get: {}".format(e))

just for the future reader, I had to add a time.sleep(3) within the loop in order not to receive a Too many requests error.

Thank @gneissone - I missed that query id should be declared before the loop, exactly for the reason you mentioned.
@manentai I am wondering why you have to wait 3 seconds. Have you tried to wait for 1 sec?

no specific reasons, but if you don't wait for at least some time, it will bounce back with the too many requests error. I used 3 because it sounded enough time to me, will try also 1 in the future...


rename controller operator resource instance from 'instance' to 'cluster'

makes us consistent w/ the other controller+api operators.

@deads2k you're welcome
/assign @adambkaplan

nit - we should also update the operator progressing message here: https://github.com/openshift/cluster-openshift-controller-manager-operator/blob/master/pkg/operator/sync_openshiftcontrollermanager_v311_00.go#L104

Good catch, updated.

/retest
Install failed - hung deploying networking

@adambkaplan this is passing tests now

/lgtm


GraphQL: Use RepoDB and add pagination for RepoListWithNewestImage

Migrate the logic of the call RepoListWithNewestImage from reading the oci layout on the disk to reading data from the RepoDB database.

Review pending: https://github.com/project-zot/zot/pull/818/commits/d1c15380c1ef0c9a6f08391eaae991bb61202fc2

Fixed in https://github.com/project-zot/zot/pull/1121


🚀 Feature: Support AntD Theme

🔖 Feature description
Ability to add Antd theme.
https://ant.design/
🎤 Context
By default the theme used on Backstage is Material UI but we want to implement Antd theme.
How hard is it to implement given that the existing components are based on Material UI
✌ Possible Implementation
No response
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
None

Hi, I'm sorry but Backstage is very centered around Material UI and we are not able to provide any support for other UI frameworks, you basically have to create your own components but can still use the core API. This is not something that we're planning to support at this point.


remove the validating for source field for fleet mode alerts

What type of PR is this?
(bug)
What this PR does / why we need it?
We are validating the alert with label before proceed it with the ocm-agent service log sending.
There was a source label when the alerts are handled by the rhobs, but the field is not there when we move the alert handling to the obo stack running on the management cluster.
The existing validator with alert label _id and _mc_id should be able to indicate the alert is valid.
Which Jira/Github issue(s) this PR fixes?
Fixes #OSD-25042
Special notes for your reviewer:
Pre-checks (if applicable):

[ ] Tested latest changes against a cluster
[ ] Ran make generate command locally to validate code changes
[ ] Included documentation changes with PR

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 47.94%. Comparing base (92e6f8b) to head (499388f).

Additional details and impacted files

@@            Coverage Diff             @@
##           master     #106      +/-   ##
==========================================
- Coverage   48.08%   47.94%   -0.14%
==========================================
  Files          20       20
  Lines        1512     1508       -4
==========================================
- Hits          727      723       -4
  Misses        745      745
  Partials       40       40

Files
Coverage Δ

pkg/consts/test/test.go
100.00% <ø> (ø)

pkg/handlers/helper.go
95.34% <ø> (-0.31%)
:arrow_down:

/lgtm


Stop-Service Requires a -Force to Successfully Stop The Service

Stop-Service Requires a -Force to Successfully Stop The Service

Pull request: #25

had the same issue. to stop the service, had to bits of code from this function.
https://mikefrobbins.com/2013/08/29/powershell-function-to-stop-a-windows-service-with-a-status-of-stopping/

@SweetAsNZ thank you! PR is merged. #please-close


pass correct content_type to is_json_schema_compatible

Fixes #655
Fixes #860
Related to pull request #760
Changes proposed in this pull request:

Use correct content_type instead of self.mimetype in is_json_schema_compatible function in decorators/reponse.py

Problem Statement:

In the case of multiple content_types in spec, response validation assumes incorrect content_type and tries to json_load.

Expected Scenario:

In the case of multiple content_types in spec, the content_type will be set in the response by the user; else the default application/json will be used.

Solution:

In is_json_schema_compatible function, the logic rely on self.mimetype which defaults to application/json always.
The above causes the function to always return True.
The is_json_schema_compatible must depend on the content_type set by the user.
The changes made pass content_type to the function and operates the logic on content_type instead of self.mimetype, so returns the correct boolean.

Coverage remained the same at 96.291% when pulling 00a008ef6a8fdd3053680fe937f4ba7e970ff7b7 on m-nikhil:master into 96bdcb010a4e5180c2bce18295e7b576c9c1ef0f on zalando:master.

@hjacobs @dtkav Can you guys please take a look.

Would be very interested to have this merged, or have the issue of dealing with different content types addressed anyhow

Any updates on this?

Ported as https://github.com/athenianco/especifico/pull/10

Bumping it up!
Adding current maintainer,  @RobbeSneyders , @Ruwann

Thanks @m-nikhil.
Could you rebase on and target this to the v2 branch? We'll cherrypick it to main for v3 later.

Thanks @m-nikhil. Could you rebase on and target this to the v2 branch? We'll cherrypick it to main for v3 later.
@RobbeSneyders , do let me know if it looks good.

Thanks @m-nikhil
Two remarks:

This PR doesn't actually fix #655 since that one is about incoming content-types, not response types. It should fix #1500 though. Could you update the description to reflect this?
Could you add a test for the fixed behavior?

Outdated