case insensitive like

It seems that the following construction doesn't work:
database.prepare(dictionary.filter(nameColumn.lowercaseString.like("\(query)%"))

Is there any alternative for like which is case insensitive?

That should work just fine. Can you give more context / an error / etc.?

There is no any error.. It just returns empty result. Do you have the way to see the sql query?

Do you have enough code to paste into the playground to reproduce?

Is it possible that it only happens with cyrillic data?

Just checked the query in databseviewer..
The following query doesn't work as well:
SELECT * FROM "Dictionary" WHERE (lower("Name") LIKE 'ва%') ORDER BY "Name" ASC

I'm pretty sure the built-in SQLite lower function is only for ASCII (and does a mere byte shift). You'll need to define a custom function or convert the content to lowercase before inserting it into the database and query.

Hi, I'm doing a pass to close some old issues and it seems this may have been resolved. I.e. lower only works with ASCII, per https://www.sqlite.org/lang_corefunc.html

The lower(X) function returns a copy of string X with all ASCII characters converted to lower case. The default built-in lower() function works for ASCII characters only. To do case conversions on non-ASCII characters, load the ICU extension.

Please re-open if you have more information or feel this should still be active. Thanks!


[Help] How to add Basic Authorization header for self hosted bitbucket server

Is your feature request related to a problem? Please describe.
I would like to use basic auth for netlify cms for selfhosted bitbucket
Ex: Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ
Is there way to pass through config.yml file
Thanks

Really concerned about the security implications of this being misused, but if nothing else its worth discussing. If you're on an internal network using self hosted Bitbucket, it makes a little more sense. Are you certain you can't use OAuth? Maybe implicit grant?

Thanks response
We need to this for internal network use for self hosted bitbucket.
We have have service account for authentication and you all use for common task

Closing as stale and/or outdated.


Add RFC 8594 (Sunset Header) as Template

We need an OpenAPI template for RFC 8594 -- response header, component property.

https://www.postman.com/postman/workspace/postman-open-technologies-openapi-governance-templates/api/7b69ec1f-f71a-48f7-96fd-b314ae238641


HTTP Client Post gets secuirty error on Win 7

I found that using the http client, WinHttpClient.Post() with e.g. this test URL:
https://api.gumroad.com/v2/licenses/verify?product_permalink=nvDcR&license_key=43ADAD8C-E98849EA-89EFF5E9-3884FC65
The request would fail with an error msg that essentially says 'security error occurred' when on Win7, but perfectly fine on Win10.
I've also tested it with this demo program:
https://github.com/Zeus64/alcinoe/tree/master/demos/ALWinHTTPClient/win64
On Win10, it gets the correct return:

But on Win7, it gets an error (error msg not displayed correctly):

Any one knows what's wrong?

hmm, I don't have any win 7 to check :( winhttp is made by windows. Maybe you can try to launch the app in debug and see exactly in with function (in alWinHttpClient i guess) the exception is raised to know with windows api failed ?

So, I tried also Delphi's own httpClient. Got a security error 12175 on Win 7 but fine on win10, just as reported here:
https://stackoverflow.com/questions/55642128/why-i-get-error-security-error-12175-with-tnethttprequest
As hinted by the above stackoverflow case, I set FClient.SecureProtocols := [THTTPSecureProtocol.TLS1, THTTPSecureProtocol.TLS11, THTTPSecureProtocol.TLS12];
and that gets rid of the error on Win7.
I've tried adding wHttpIo_SECURE to alcinoe's httpClient's option, but that doesn't fix the error on Win7.
Do you know if there's any way we can choose to use TLS or SSL in alcinoe's httpClient?

Hello, everything has been fixed in the latest committed version.


Replace all data focusvisibilities

Change all &[data-focus-visible-added]:focus  in styled components to tw focus-visible:envis-outline
Remove focus-visible package in package.json

@BorghildSelle - anything for me to test here - if yes, please add criteria


Android - "Node is down"

I have checked the same node as for the desktop wallet. On desktop wallet, I had no problems.
But the Android app constantly shows the error message "Node is down".
Also, the dashboard with a balance is loading very slow. I tried other nodes but the same result.

I did not noticed this issue now.


Aspect Ratio Constraint to Docu

Hi,
could you please add the aspect ration constraint to the documentation. I see this in one of the closed issues. I think this would help a lot.

Also, may be an example of equal width constraint.

Will be possible in next release via your own extensions due to #693


PySCF 2.7.0 tests failing for conda-forge build

Two tests of pyscf.scf are failing in the conda-forge build for version 2.7.0
FAILED pyscf/scf/test/test_addons.py::KnownValues::test_dynamic_level_shift - AssertionError: np.float64(-71.60729129573505) != -71.6072956194109 within 7 places (np.float64(4.3236758529019426e-06) difference)
FAILED pyscf/scf/test/test_h2o.py::KnownValues::test_scanner - AssertionError: np.float64(-76.27305140503903) != -76.27305227410365 within 7 places (np.float64(8.690646211562125e-07) difference)

Run: https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=1037971&view=logs&jobId=d0d954b5-f111-5dc4-4d76-03b6c9d0cf7e&j=d0d954b5-f111-5dc4-4d76-03b6c9d0cf7e&t=6d4b912b-175d-51da-0fd9-4d30fe1eb4e7
PR: https://github.com/conda-forge/pyscf-feedstock/pull/37?notification_referrer_id=NT_kwDOAbV1IrQxMjU4ODIyMzczNzoyODY2OTIxOA

This is likely related to the bugfix for the default DFT integral grids (issue #2186 and #2178) . The tolerance of the two tests may need to be adjusted. Could you please create a PR to update the relevant tests? Thank you.


deprecate MultiCommand and CommandCollection

As part of rewriting the parser in #2205, I was looking at the complexities of Click's definitions and processing. MultiCommand and CommandCollection could be combined with Group to simplify to a single way of working with multiple commands. This is a little more difficult than #2589 removing BaseCommand.
Currently, they're distinct because Group provides further group and command decorators. MultiCommand is the base and doesn't specify how commands are registered, and CommandCollection "flattens" multiple MultiCommands instead of nesting like Group.group.
The docs occasionally refer to "mulitcommand" instead of "group" in situations where the user would probably understand "group" better. There are very few examples in the docs of either class, and all of them can be reasonably implemented with Group instead.
#347 (and many linked issues) show a confusion over how CommandCollection is supposed to work. It doesn't use each source's parameters, and doesn't invoke the source's callback before a command. In other words, currently the collection only collects the commands in each source, but users expect it to merge the behavior of all sources. I'm not entirely convinced that we should continue to support either of these things. But we could continue to support the current behavior by adding Group.add_source or extend_commands with the same behavior, where the command is looked up first on the group, then on each source. In the future we could also add a merge_group method.

To expand on why I'm not convinced that we should support flattening or merging groups, in general it's because it adds ambiguity and indirection when defining the CLI. Whether you flatten or merge, there's probably a way to get the source's callback called before its command. But there's no convenient way to merge different group's parameters, especially in the face of overlapping or conflicting parameters. It's something that any given project can make a call on, but that Click would have a hard time implementing in a generic and compatible way for all cases.

@janluke @kdeldycke any feedback on this is appreciated

A search for CommandCollection on SourceGraph shows that it's in use. Some of those uses seem to be unnecessary. Many are for loading plugins that add top-level commands, where a custom Group.get_command would probably serve them better. I'll leave it for now and make it a subclass of Group.

I agree CommandCollection is confusing. I never had any use for that, and when working on Click Extra, I voluntarily ignored it, thinking it was too exotic. My rationale was to focus only on good support for Command and Group as they are the first-class citizen of the Click ecosystem. Then see if my users were asking for CommandCollection. Nobody came for CommandCollection.
So if you can get rid of CommandCollection, I vote for.
Just noticed you also just got rid of MultiCommand, and yes, that's also a good idea!


How much do I need to refactor my existing React Native application to work with Re.Pack?

Hi there,
Re.pack looks spectacular. Thanks to all the community!!
We have an existing React Native application that covers a single Business Unit (Investment Product). This uses React Native.
Now we want to move the architecture to Re.Pack for these reasons:

Have many teams working on their products, that then is composed into a single super app to the customer.
Each team has should be as autonomous as possible.
The end APP size (iOS and Android) should not be super large (like, lots of bloat added if not strictly necessary). Reuse of common libraries between the "Modules" (AKA "Products/BU")
Allow us to incrementaly turn the current React Native app (single Product) into a container/shell prepared to have other teams working in new PRODUCTS, that at the end of the day will compose the NEW SUPER APP.
Allow OTA update (like Code Push or Expo Updates), so for minor changes the teams don't need to wait for the weekly full deploy on the app stores.
NICE TO HAVE: Teams could use Expo SDK 47 OR React Native... depending on what they feel more comfortable with
The shell should have a dedicated team, the maintains the Shell/Container Architecture.in a way the minimize the conflict between modeules.
Shared libraries that should be used by all Modules/Products... Like Analytics, Log, Authentication, Design System Components, Crashlytics, Off Line Database, etc.

Any help would be appreciated.
Thanks

Any tip?

Not much, but re.pack have some kind of rules example some library cannot use with re.pack, you must find and change another same lib, config some native place to compatible with repack. And you need to create where to store CDN to get remote Chunk to load modules. After a while to config with re.pack, our project doing very well.


Adding sensors, temperature override service, fixing some stuff, update MHI-AC-Ctrl-core

Hello!
First off, thanks for your work on this implementation of MHI-AC-Ctrl in ESP Home!
I have made some additions/changes I'd like to contribute with this pull request;

Upgrade MHI-AC-Ctrl core files to latest version
Fix temperature setpoint calculations that changed in latest version
Change mode HEAT_COOL to AUTO, properly process mode OFF
Add room temperature override feature exposed through API
Change the min/max temperature setpoints to match the original MHI-AC-Ctrl
Raise CPU frequency to 160Mhz to fix SPI timing errors causing invalid checksum errors
Updated YAML with all newest cool stuff and made it a bit more 'multi-unit'-friendly

If anyone wants to test, you can try out this pull request; it should in theory work and not blow up your house, but of course no guarantees ;-). Let me know if there are any issues!

Great. 👍🏻

Wow. Thank you so much for pulling this together!
I'm unfortunately quite far from my HVAC, and won't have access to it anytime soon, so I'll just merge it and let the community iron out any bugs. :)
I guess the next step (in fact, the first one) would be to merge this branch into master.


train.py

您好，请问能提供一下train.py文件吗，非常感谢

Thanks for the your attention on our work.
I will inform you once it is uploaded.
Maybe, within two weeks.


support findFirstOrThrow

Hi,
Im using findFirstOrThrow many in my app and I wonder what is the effort to support it as well.
From my understanding its just adding this action to middlewareByModel function in:
https://github.com/olivierwilkinson/prisma-soft-delete-middleware/blob/main/src/lib/createSoftDeleteMiddleware.ts#L68
Thank you

Hi there,
just wanted to let you know that I'm looking into this, I also thought it would be as simple as adding the findFirst middleware handler under the findFirstOrThrow field of middlewareByModel but it's failing some tests I added.
I'll have some time to work on it this weekend, if not sooner 👍

Thanks man, I appreciate it!

All fixed, this should be available in v1.2.0! 😄
Thanks again for raising this and please let me know if you have any other problems 👍


Update to match new ATT&CK website

We need to ensure that all references to the ATT&CK website in the Navigator still work properly after switching to the new site.

Fixed urls in fix/new-attack-site-links and merged into develop.


envoy_reloadable_features_get_route_config_factory_by_type deprecation

Your change #21030 (get factories by proto types for filters route config) introduced a runtime guarded feature. It has been 6 months since the new code has been exercised by default, so it's time to remove the old code path. This issue tracks source code cleanup so we don't forget.

got it


How to Achieve addDevToolsExtension？

BrowserWindow.addDevToolsExtension();
method does not exist

Use please:
var mainWindow = Electron.WindowManager.BrowserWindows.First(); mainWindow.WebContents.OpenDevTools();

@GregorBiswanger According to the Electron docs there is a way to expose the ability to load a browser extension into the electron browser window via addDevToolsExtension referenced here:
https://electronjs.org/docs/tutorial/devtools-extension
@PeachT was referencing this to be able to load up a supported Dev Tool Extension.  Not opening the Dev Tools themselves.
Any way to expose that method to Electron.Net on the BrowserWindow?

@GregorBiswanger Maybe a little off topic, but do you have any plan to support to load WebExtensions through ElectronNET ? As it seem to be supported according to the official doc:
https://electronjs.org/docs/api/browser-window#browserwindowaddextensionpath
Thanks !


feat: init load test app with dummy scenerio

:clipboard: Add associated issues, tickets, docs URL here.
Overview
Initial dummy load_test priv app.
Changes

mix new load_test
add a sample load_test (watcher info) that calls dummy scenario
add a dummy scenario
solve conflict with override first. If everyone is happy and we've decide to merge back, will propose a PR to ethereumex to upgrade the httpoison dependency. See slack discussion: here

Testing
cd priv/
make load_test

Coverage remained the same at ?% when pulling 78a8dbaef6135febc8c237c14a33a623796ad4ba on boolafish/performance_priv into 6992d23a96b6a51fab9da7681ff17c6a11982ea4 on master.

closing this in flavor of : https://github.com/omisego/elixir-omg/pull/1323


community: fixed multithreading returning List[List[Documents]] instead of List[Documents]

Description: When multithreading is set to True and using the DirectoryLoader, there was a bug that caused the return type to be a double nested list. This resulted in other places upstream not being able to utilize the from_documents method as it was no longer a List[Documents] it was a List[List[Documents]]. The change made was to just loop through the future.result() and yield every item.
Issue: #20093
Dependencies: N/A
Twitter handle: N/A

@chip-davis would you be willing to add a unit test?

Merging in @chip-davis if you're willing to follow up with a unit test to catch this would be great!

Merging in @chip-davis if you're willing to follow up with a unit test to catch this would be great!

Sure thing! I'll add one tomorrow😀


[Events] checkFlounderKeypress should call e.stopPropagation on ENTER

Currently
If a search/multitag Flounder is inside a <form> pressing ENTER in the search field submits the form.
Wanted
Call e.stopPopagation() when enter is pressed.

ENTER still being propogated


Make activesupport dependency less restrictive

There is a transitive dependency in fog and chef-provisioning-fog which creates a conflict with ActiveSupport 5.x. This should resolve the conflict by allowing us to pull in the appropriate version wherever possible. Additionally, we are regenerating the Gemfile.lock as the previous version was corrupted.

/cc @jkeiser @mwrock

:+1:

:+1:


csg_stat: add error for too large interaction max

Reported here: https://groups.google.com/d/topic/votca/erhqikA4_ns/discussion

@JoshuaSBrown can you have a look why this DeepCode bot craps out?

It looks like their server is hanging.

Retry DeepCode

"Retry DeepCode"

@junghans I have sent an email, but I would ignore it for now, nothing you have done should be causing problems.

 90/242 Test  #90: integration_Run_csg_stat_angular ...................***Failed    0.11 sec
begin to calculate distribution functions
# of bonded interactions: 0
# of non-bonded interactions: 1
I have 648 beads in 216 molecules
I have 216 beads in 216 molecules for the coarsegraining
Reading frame, timestep 0
an error occurred:
The max of interaction "CG-CG-CG" bigger is than half the box.


Feature request: upgrade and/or clean support

I install multiple major latest version of a tool, e.g. erlang@25, erlang@24 and erlang@23 (standard in the Erlang ecosystem is to support the three latest major versions). It's easy to automate upgrading to the latest major versions using rtx:
$ alias upgrade_erlang='rtx install erlang@25 erlang@24 erlang@23'

There are two downsides to this approach:

The alias has to be updated whenever a new major version is released
It leaves the old versions lying around

The following are some suggestions for syntax and commands:
To solve (1) it would be nice with some support to install previous major versions.
$ rtx install erlang@latest erlang@-1 erlang@-2
...would install the latest erlang and the two previous major versions

A clean command of sorts would also be useful to solve (2). The command would uninstall all older versions than the latest major versions. An example (again, only a suggestion):
$ rtx list
  -> python     3.11.0 (set by ~/.tool-versions)
     python     3.10.0
     python     2.7.18
     python     2.7.14
     python     2.7.10
$ rtx clean python
...would uninstall python 3.10.0, 2.7.14 and 2.7.10
$ rtx list
  -> python     3.11.0 (set by ~/.tool-versions)
     python     2.7.18

Apologies if this is outside the scope of rtx or has already been suggested or solved (if so, please let me know!).

these both sound pretty useful. I remember seeing one of the version managers supporting some kind of "lts-1" method of using the last major version. I think that could be useful in a CI project where you just want to focus on the most current major releases and not need to update it.

There's also https://endoflife.date which might be useful for this in some way (at least as a reference)

yeah maybe if you wanted to say "all non-eol versions of node" with some syntax

This is really complicated since there are like 4 use-cases I can think of here.

upgrading nodejs@16 to latest version of node-16

I feel we don't need this anymore with some behavior changes that have gone in. nodejs@16 points to the latest available, not the latest installed version of node-16. If that's not installed, rtx activate will show a warning by default but that can be overridden with RTX_MISSING_RUNTIME_BEHAVIOR=autoinstall. I think just needing to run rtx install does what you need, rtx upgrade wouldn't offer anything for this use-case.

removing old runtimes

I get that you only want a single version of a runtime (say only the most recent version of nodejs@16), but I'm not sure I like rtx upgrade as the solution. In that scenario, the only difference between rtx install and rtx upgrade would be that the latter removes old runtimes.
I know that's what you want, but it feels surprising (in a bad way) to me that this would be the difference in these commands. Maybe I'm wrong.
I think there are actually 2 other use-cases that you didn't bring up but I think are what rtx upgrade should actually do:

modifying .tool-versions beyond what is specified in .tool-versions.
same as above but interactively

I think yarnv1 does both of these pretty well with yarn upgrade and yarn upgrade-interactive.
What I need to do is look at other package managers and see what's common and what would work best for rtx. I think "upgrading" is very useful, we just need to figure out what it should mean exactly.

@jdxcode I wasn't so much referring to keeping a set of already installed fuzzy version up-to-date, more to moving from one fuzzy set to another. I also don't need rtx upgrade per se (I just happened to call my alias "upgrade").
Points 1-4 in your reply doesn't really cover "requirement" (1) which is being able to automatically move to a new set of installed major versions. If I understand it correctly, 1 is about upgrading a major version to its latest minor update. 3 and 4 is not applicable because this is about all the installed version of a tool, not just the activated one.
Regarding 2, I would be fine with building my own "upgrade" task, but I'd ideally have the proper support in rtx so I don't have to hard code things or parse output (e.g. to figure out if a new major version was installed when using latest) which would make such a script incredibly complex.

thanks for clarifying. It sounds like what you want is to be able to do something where effectively the .tool-versions file would go from this:
nodejs 18

to this:
nodejs 20

is that right? It would be possible to do this today with rtx local --pin, but that would put full versions in which it sounds like you're trying to avoid, do I have this right?
Also see #221 which is related to this (but doesn't cover that use-case). I think the combination of rtx install && rtx prune would be a better solution than a single command to try to do both things.

Perhaps the way it would work would be:
$ rtx local nodejs@16
$ rtx upgrade nodejs # upgrades to "18"
$ rtx local<EMAIL_ADDRESS>$ rtx upgrade nodejs # upgrades to "18.14"
$ rtx local<EMAIL_ADDRESS>$ rtx upgrade nodejs # upgrades to "18.14.1"

Where it would pick the latest version at the same precision that it was before. Does that sound right to you @eproxus ?

I was imaging being able to have this in my tool versions file:
erlang latest

and then some kind of way of keeping the two previous versions installed, and in addition prune any older minor versions after upgrades.
I’m not advocating for a single command so that’s not a requirement. I want to avoid having to manually update scripts or aliases whenever a major version is released.

something like this?
erlang latest latest^1 latest^2

Where ^N means "subtract 1 from the first number of the latest version". This means for node you would do:
nodejs latest latest^2 latest^4

See #303 which has a new syntax that I think will be helpful for you here

@jdxcode Unfortunately for my use case it doesn't seem to work:
$ RTX_DEBUG=1 rtx install erlang@latest!-1
[DEBUG] Files: ~/.tool-versions, ~/.config/rtx/config.toml
Installed Plugins: erlang, nodejs, python
[DEBUG] /opt/homebrew/bin/rtx install erlang@latest!-1
[DEBUG] erlang@latest, nodejs@latest, python@latest
[WARN] cannot subtract 1 from latest
rtx erlang@latest!-1 installing
Error:
   0: failed to install erlang@latest!-1
   1: ~/.local/share/rtx/plugins/erlang/bin/install exited with non-zero status: exit code 1

Location:
   src/plugins/script_manager.rs:239

Version:
   1.23.7 macos-arm64 (built 2023-03-14)

Suggestion: Run with RTX_DEBUG=1 for more information.

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

this was fixed in #341

A clean command of sorts would also be useful to solve (2). The command would uninstall all older versions than the latest major versions. An example (again, only a suggestion):
$ rtx list
  -> python     3.11.0 (set by ~/.tool-versions)
     python     3.10.0
     python     2.7.18
     python     2.7.14
     python     2.7.10
$ rtx clean python
...would uninstall python 3.10.0, 2.7.14 and 2.7.10
$ rtx list
  -> python     3.11.0 (set by ~/.tool-versions)
     python     2.7.18

I solved this by setting multiple versions in the global .tool-versions, and using rtx install to upgrade and prune to delete old versions. Works like a charm:
$ rtx global<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>julia   1.8. 1.7 1.6 1.0

$ rtx ls
⏵  julia 1.0.5               (set by ~/.tool-versions)
⏵  julia 1.6.7               (set by ~/.tool-versions)
⏵  julia 1.7.3               (set by ~/.tool-versions)
⏵  julia 1.8.5               (set by ~/.tool-versions)

$ julia --version
julia version 1.8.5

$ rtx prune
...

The only downside is that rtx current returns multiple versions:
$ rtx current julia
1.8.5 1.7.3 1.6.7 1.0.5

#402 is going to lay some groundwork for this I think. With that improvement, calling rtx g nodejs@latest would actually just use the latest version previously installed (different than today, but I think it's better).
If you want to point @latest to the newest version you'll run rtx i nodejs@latest, however this would leave the old version around. I think we should add rtx upgrade nodejs@latest (and rtx upgrade nodejs for all aliases like 16 and lts).
What that would do is delete the old versions if they're not explicitly referenced like with prune.

It would be also great to have an easy way to upgrade all installed runtimes.
or is it already possible?

I would like to see one or many commands that allows me to upgrade a moving window of the X latest major version of a tool. Ideally this would include some pruning/cleanup of outdated minor versions. I'm totally fine if I have to weave together some commands to achieve this though 😄

It would be also great to have an easy way to upgrade all installed runtimes. or is it already possible?

I don't think this is possible. I think I have to reference .tool-versions or .rtx.toml. If we take nodejs:
rtx upgrade nodejs

You would expect this to upgrade 18.0.0 to 18.1.0, not 18.0.1. You're only interested in upgrading nodejs@18, not upgrading<EMAIL_ADDRESS>However with Python you want both.
What I could do is make rtx upgrade --everywhere which would look at all .tool-versions/.rtx.toml files you've ever used.
@eproxus I don't know what you mean by this:

upgrade a moving window of the X latest major version


Ads management

[x] Read
[ ] Write
[ ] Update
[ ] Delete

so in its current state can it handle creating ads and creating custom rules?
Even if I have to make manual calls to the api. Can I still use your facade to do these things? Even if I have to extend your classes.
Btw have you made any progress on writing/updating/deleting?
Really interested in what you're doing!

hi @vesper8
glad to hear that this project interest you.
for now only read operations have been implemented, but this is on my roadmap to catch' up in the next weeks


Add dependencies between components without the necessity to passing data through them

Azure SDK V2  components & for
LLM Flows as components
Describe the bug
Hi guys! i have been having the necessity of create pipelines with components where some of them not necessarily needs get a particular output from the last one, i have search in documentations if exists a way to create a dependencies between the components to having them running in series (not in parallel). There is a specific method/variable into the yaml files to do it?
I have doing that connection using a "dummy" data from one component to another although the next one only uses that info for nothing, and it works but i would like know the correct way if exists.
If another info is necessary to be more clear please tell me.
Thanks in advance!

Hi @anaarmas-sys, thank you for opening an issue! Is there a particular SDK library that you're using in this scenario? I see that the issue linked in this thread is for Azure ML, so is your question here also specific to ML? Knowing this will help us triage your issue effectively -- thank you!

Hi mccoyp!
The issue is for Azure ML SDK V2 components (using YAML definition) and for components that contain the files created with Prompt Flow, let´s say,
case a)
I want to link two components created with SDK V2 (using YAML definition):   comp1 ---> comp2
comp2 has to run after finishing comp1, without sent any particular data to comp2.
I'm using Azure AI | Machine Learning Studio.
Case b)
I want to link two components :   comp1 ---> comp2 where
comp1 was created with SDK V2 (using YAML definition) and
comp2 created with files to run a flow and do things with LLM models from prompt flow inside, etc. etc.
Therefore, comp2 has a different YAML file (normally named flow.dag.yaml).
comp2 has to run after finishing comp1, without sent any particular data to comp2.
I hope the explanation will be a little more clear.
Thanks a lot mccoyp!

Thank you for the details, @anaarmas-sys. Since this seems to be related to your previous issue, I'll tag the same folks to see if they can either help again or route this to the appropriate crowd. cc @yunjie-hub, @ahughes-msft, @nemanjarajic

@eniac871  could you please help here.

Any update until this moment please?

Hi guys! Could you please give a suggestion for the issue above?  Let me give you a specific example:
Let´s say that i have the next function to run a pipeline in azure ai ml:
@dsl.pipeline(compute = compute_name)
def flow_pipeline(
data_asset_name,
azure_embeddings_deployment,
azure_oai_endpoint,
azure_oai_key,
azure_search_endpoint,
azure_search_admin_key,
index_name
):
component1_job = component1(
data_asset_name = data_asset_name,
azure_embeddings_deployment = azure_embeddings_deployment,
azure_oai_endpoint = azure_oai_endpoint,
azure_oai_key = azure_oai_key,
azure_search_endpoint = azure_search_endpoint,
azure_search_admin_key = azure_search_admin_key,
index_name = index_name,
)
    promptflow_component_job = promptflow_component(
                data = Input(path=flow_data_path, type= AssetTypes.URI_FILE),
                question = "${data.question}",
                vectorstore_fields = component1_job.outputs.vectorstore_fields,
                index_name = index_name
    )

    return {"pipeline_job_score_result": promptflow_component_job.outputs.flow_outputs}

component1 it was created using yaml definition to run a python script. The promptflow_component is a promptflow registered as a component in azure ai ml:

I have tried to connect both through, for example:  vectorstore_fields = component1_job.outputs.vectorstore_fields that is an uri_folder. And in the definitions of flow.dag.yaml i add the input vectorstore_fields as string, but it does not works: Cannot resolve the parameter value successfully. The parameter value does not meet the requirements. Linked parameter name is vectorstore_fields.
The thing is that i want to run the component1 and when it is completed then run the promptflow_component.  I dont have to send nothing relevant from the first component to the second one, but normally, the pipelines run components in series sending outputs from one component to another in sdk v2.
Other way:
In sdk v1 it has the PipelineStep to do
pipeline = Pipeline( steps=[first_component, second_component])
For sdk v2  how do it?
Thank you in advanced!

Hi @anaarmas-sys, thanks for reaching out.

AzureML SDK v2 doesn't support execution order control without data dependencies for now.
flow will be loaded into a component with specific interfaces; you can't add/remove ports in flow.dag.yaml, or it will be invalid when using without azure.

As a workaround, you can add an extra command node, which accepts origin input data of the flow and a signal from the prior node:
@dsl.pipeline
def pipeline_with_flow(data, index_name):
  component1_job = component1()
  extra_job = pass_through_component(data=data, signal=component1_job.outputs.vectorstore_fields)
  promptflow_component_job = promptflow_component(
    data = extra_job.outputs.output,
    question = "${data.question}",
    index_name = index_name
  )
  return {"pipeline_job_score_result": promptflow_component_job.outputs.flow_outputs}

Hi @elliotzh, I have tried your suggestion but still have the same problem due to the component1 sends urifolder/urifile/mltable type as outputs and the promptflow component does not recognize that type when comes from a component.

Hi @anaarmas-sys what do you mean by saying "does not recognize"? output of component1 won't be sent to the flow component. Instead, data will be pass through to the flow component.
Could you please share you latest dsl pipeline code?


Double quotes around strings

I already a have a settings abstraction that I'm trying to fit your library into and I'm getting a weird error with a string.
My SettingsServices.cs looks like this:
public class SettingsService
{
	public static void Set(string key, object value){
		Settings.Local.Set (key, value);
	}

	public static T Get<T>(string key, T @default){
		if (Settings.Local.Contains(key)) {
			return Settings.Local.Get<T> (key);
		}
		return @default;
	}

	public static void Remove(string key) {
		if (Settings.Local.Contains(key)) {
			Settings.Local.Remove (key);
		}
	}
}

If I call this from my app as such:
SettingsService.Set ("TEST1", "THIS IS A TEST");

when I grab it back using:
SettingsService.Get ("TEST1", "MYDEFAULT");

I get back "THIS IS A TEST" with literal double quotes around it. If I change my implementation of Set to Set(string key, string value) then it comes back as expected with no double quotes around it.
Any ideas?

Type inference on your Set(string key, object value);
I use Set(string key, T value) and attempt to figure out the serialization against T.  With that being removed from the equation, it will be shoving the object through the json serializer

Thanks for the quick reply!
Changed my Set method to:
		public static void Set<T>(string key, T value){
		Settings.Local.Set (key, value);
	}

and it's working properly for me now.
Particularly like the change notification on this library. Very slick!
Cheers!


Errors in Arch Linux

My gcc's version is 6.3.1, and I got the following errors when installing Sundials.jl.
julia> Pkg.add("Sundials")
WARNING: Compat is fixed at 0.24.0+ conflicting with requirement for SymEngine: [0.25.0,∞)
INFO: Installing Sundials v0.11.1
INFO: Building Sundials
INFO: Attempting to Create directory /home/arch/.julia/v0.6/Sundials/deps/downloads
INFO: Downloading file http://ftp.mcs.anl.gov/pub/petsc/externalpackages/sundials-2.5.0.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  4 8102k    4  405k    0     0  39696      0  0:03:29  0:00:10  0:03:19     0
curl: (18) transfer closed with 7882538 bytes remaining to read
================================================================[ ERROR: Sundials ]================================================================

LoadError: failed process: Process(`curl -f -o /home/arch/.julia/v0.6/Sundials/deps/downloads/sundials-2.5.0.tar.gz -L http://ftp.mcs.anl.gov/pub/petsc/externalpackages/sundials-2.5.0.tar.gz`, ProcessExited(18)) [18]
while loading /home/arch/.julia/v0.6/Sundials/deps/build.jl, in expression starting on line 37

===================================================================================================================================================

=================================================================[ BUILD ERRORS ]==================================================================

WARNING: Sundials had build errors.

 - packages with build errors remain installed in /home/arch/.julia/v0.6
 - build the package(s) and all dependencies with `Pkg.build("Sundials")`
 - build a single package by running its `deps/build.jl` script

===================================================================================================================================================
INFO: Package database updated
INFO: METADATA is out-of-date — you may not have the latest version of Sundials
INFO: Use `Pkg.update()` to get the latest versions of your packages

Sorry! It is just because of bad internet. I should read the error message more carefully.


Copy(), Paste() broken on Android

Android, copy() - nothing is copied to clipboard, and neither callback executes.
Android, paste() - callback never runs, so can't access any clipboard data.
Works great on iOS. (image and text.)

I'll give these a look soon, thanks! Please feel free to create a PR if you already have a fix.

@blukis Also please note:
The minimum supported API Level is 11. Make sure that minSdkVersion is larger or equal to 11 in AndroidManifest.xml.

I'm building with Voltbuilder, which I believe uses the latest cordova-android, which has its own defaults for this value.  I'm not specifying a minSdkVersion in my config.xml explicitly, but relying on these defaults from cordova-android.  When I inspect the apk voltbuilder produced (in Android Studio), I'm seeing this in AndroidManifest.xml:
<uses-sdk         android:minSdkVersion="22"         android:targetSdkVersion="29" />
(Disclosure: I haven't tried providing an explicit minSdkVersion in my config.xml.)


COSBETA-11: Update standard nanomaterial use section in manual journey

COSBETA-11: Change the nano-materials part on manual journey
Add the standard use of nano-materials
* Add page for exposure conditions (rinse off xor leave on)
* Add page for exposure routes (dermal, oral or inhalation)
* Add page to list nano-materials (nano_elements)
* Add page to select the purpose of a nano_material
* Add page to confirm the use in accordance to the restrictions
* Add page if the user selects an unhappy path
Add migration to change exposure_route on nano_material to an array
of string in order to allow multiple exposure routes.
Description

Checklist:

[ ] Automated checks are passing locally.
[ ] CHANGELOG updated if change is worth telling users about.

General testing

[ ] Test without javascript
[ ] Test on small screen

Accessibility testing

[ ] Works keyboard only
[ ] Tested with one screen reader
[ ] Zoom page to 400% - content still visible
[ ] Disable css - does content make sense and appear in a logical order?
[ ] Passes automated checker (automated in build or manual)

I still need to add controller tests


pair basebackup start log message with corresponding end one of the same severity

Currently, there is only a message about basebackup start, so by looking at logs, it is not clear whether it is successfully finished or not

@SomeoneToIgnore, another log message happen here https://github.com/zenithdb/zenith/blob/main/pageserver/src/basebackup.rs#L86, and before that, we may not know the exact lsn to take basebackup from. Maybe it is better to add two messages, one at the very beginning without the lsn, and then goes this message, and a finish one after that

one at the very beginning without the lsn, and then goes this message, and a finish one after that

Yeah, or another one into send_tarball (if we stick to my initial "move"  proposal), but I like your way more.
Just feels weird a bit to have a CopyDone sent! in the logs (even with the span data), since it does not make much sense compared to the taking basebackup lsn={}, prev_lsn={} one 🙂

@SomeoneToIgnore see the updated version :)


fix: check sink properties and validate them in advance to avoid panic or recovery

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
Check whether sink properties provided in frontend and simply validate them when building executors to avoid panic or recovery.
Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Documentation
If your pull request contains user-facing changes, please specify the types of the changes, and create a release note. Otherwise, please feel free to remove this section.
Types of user-facing changes
Please keep the types that apply to your changes, and remove those that do not apply.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note
Please create a release note for your changes. In the release note, focus on the impact on users, and mention the environment or conditions where the impact may occur.
Refer to a related PR or issue link (optional)
Fix #7028

This's just a quick fix for #7028 , the validation is still pool, we need some further refactoring mentioned in #7034.


⚠ WSINGRESOS - RECIBOPAGO has degraded performance

In ea05a47, WSINGRESOS - RECIBOPAGO (https://srvshyweb.yucatan.gob.mx/cgi-bin/wspd_cgi.sh/WService=wsingresos/internet/servicios/wsRecibosPagosWeb.r) experienced degraded performance:

HTTP code: 200
Response time: 2999 ms

Resolved: WSINGRESOS - RECIBOPAGO performance has improved in 9ce81c6 after 37 minutes.


Jekyll Website Improvement

Add phone number to main page.
Add button to how it works from first page

@annajt178 lmk when you have time to tackle this together!

didn't you remove button? xD

Nice work @annajt178  and me @Marwan01 haha! We got this: covid-helpline.com


WorldEnvironment node interfers with fullscreen effect using SubViewport

Tested versions
Tested with v4.2.1.stable.official [b09f793f5]
System information
Windows 10
Issue description
I have a fullscreen effect based on two shaders and a viewport, that - when it works - highlights objects depending on their Layer:

As soon as I add WorldEnvironment node to the scene (with an Environment resource), the highlighting stops working:

Steps to reproduce
In the reproduction project there is a fullscreen effect, based on a MeshInstance3D quad, as described and recommended in the documentation. The effects needs to read the depth twice, once from a SubViewport (that writes the depth into the ALBEDO), and once normally.
To see how this works, open highlight_demo_scene.tscn and run it.
To reproduce the fault behavior, add the dng_world_environment.tscn scene (which just contains a WorldEnvironment node) to the scene. The highlighting won't work any more.
Note that this only applies to the WorldEnvironment node. If you add the Environment resource to the Camera3D, the effect is still working as it should.
Minimal reproduction project (MRP)
HighlightGodotProject.zip

Tried to repro in 4.1.1-stable, getting different results from OP (had to remove the fog render mode) but they're consistent with one another.

Please do not use a Godot version earlier than 4.2, because this effect relies on SubViewports having the use_hdr_2d flag (in order to render the viewport's depth into its albedo output reliably).

Ok, removed the regression label


Swift 2.1 build

Hey Nick, the current .zip will not work with Xcode 7.1 and Swift 2.1. Could you build, archive and upload a new version using Xcode 7.1 please? :smile: thanks!

Hey @kylejm, I have a few things to include in the next release, this'll definitely be one of them.

Thanks @nickineill!
For anyone else having this problem, you can get around it by using:
'''bash
carthage boostrap --no-use-binaries
'''
to build Permission Scope with Xcode 7.1.

@nickoneill @bre7 it's been a long time since last release. Can one be expected soon? :)

If I'm not mistaken, 1.0.2 will include some bug fixes: #125, #127...among others)

Awesome, thanks @bre7! Any idea when we can expect 1.0.2? The bug fixed by #114 would be particularly nice to have. I was slightly confused by this, since I thought I'd fixed it with PR #100.

Hey @kylejm, we'll get 1.0.2 out the door this week. Sorry for the wait.

Sweet! Legend!

@nickoneill any estimate on this?
also I'm getting this when building with carthage
*** WARNING: Skipping build for "iphoneos" SDK because the necessary signing identity "iPhone Distribution" is not installed

Thanks for the great work!

@blender this is because you don't have a distribution signing cert and key on your machine.
@nickoneill I think we should change the signing identity back to be iOS Developer just in case any developers that don't have Apple Dev accounts want to use it

yes, I don't have a distribution certificate. I agree with @kylejm , if possible please changed it to iOS Developer.
This is the only framework among the many I use (Alamofire, KeyChainAccess, ResearchKit, Swiftz) that requires a distribution certificate.

@nickoneill @bre7 how's it looking for looking for the next release?

Sorry @kylejm, busy time of year. I'll work on this today and report back with what else needs to get done before we can get a release out the door.

I'm waiting to hear back on #125 with some updated changes. If that's resolved then we'll move ahead with 1.0.2 in the next day or so.

Awesome, looking forward to it :blush:

hey guys I am new to Carthage and PermissionScope is my first Carthage install.
I am running Swift 2.1.1 and Xcode 7.2
In the top of my .swift file, I write 'import PermissionScope'  which autocompletes so I know the compiler is expecting its possible use.
However, I get kicked this fatal error:
AnimationTestingViewController.swift:11:8: Module file was created by an older version of the compiler; rebuild 'PermissionScope' and try again: Carthage/Build/iOS/PermissionScope.framework/Modules/PermissionScope.swiftmodule/arm64.swiftmodule
Reading this thread, am I right to guess that I just have to wait for a new, supported version of PermissionScope to be released?
Thanks for any help

Hey @BryanRyczek, this is a known issue with PermissionScope right now (see #137), you can fix it immediately by using the --no-use-binaries option in Carthage. We'll fix it for our upcoming 1.0.2 release.

Should be set here with the proper 1.0.2 release.


engine requirement "^4.2.1" is pretty old, update?

could we do ">4.2.1" or something? I don't even have v4 installed anymore

I guess? -- I don't know why we have it pinned, or what might break if we update.  But feel free to open a pull request!  (Or to change in phabricator.)

I think it had to do with the version of node available in compute engine at the time we first deployed this

Jamie, I'm not sure I understand this -- don't we install our own node?  In
any case, do you feel comfortable owning this PR?
craig
On Tue, Apr 18, 2017 at 1:22 PM, Jamie Wong<EMAIL_ADDRESS>wrote:

I think it had to do with the version of node available in compute engine
at the time we first deployed this
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Khan/react-render-server/issues/3#issuecomment-294969304,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHilW1MdHBX8zPeEE8i4-oZJuyKi0eEIks5rxRuRgaJpZM4M6fuN
.

We do install our own node, but it looks like the default appengine config used 4.2.1 at the time we first deployed (that's what was generated by gcloud app gen-config --custom --config=app.yaml.
Not really comfortable owning it -- I don't have any of this stuff set up, and I'm not using this code for anything personal or for work any more. Just figured I'd chime in for context :)
I think if you change the >4.2.1, you'll need to update the Dockerfile too: https://github.com/Khan/react-render-server/blob/master/Dockerfile.prod#L9

OK.  Jared, if you want to make a PR (here or in phabricator), we can try
it out!
craig
On Tue, Apr 18, 2017 at 2:10 PM, Jamie Wong<EMAIL_ADDRESS>wrote:

We do install our own node, but it looks like the default appengine config
used 4.2.1 at the time we first deployed (that's what was generated by gcloud
app gen-config --custom --config=app.yaml.
Not really comfortable owning it -- I don't have any of this stuff set up,
and I'm not using this code for anything personal or for work any more.
Just figured I'd chime in for context :)
I think if you change the >4.2.1, you'll need to update the Dockerfile
too: https://github.com/Khan/react-render-server/blob/master/
Dockerfile.prod#L9
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Khan/react-render-server/issues/3#issuecomment-294983721,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABYNZ5CLiRRoc7zpp7HCKmT9_jJfymroks5rxSbIgaJpZM4M6fuN
.

Mostly I was trying to use yarn, which actually pays attention to the engines requirement, and hard fails on install

I updated it to 8.3.


Output dir cleanup prior to artifact inconsistent between apk and appbundle build commands

After building a stripped apk, the symbol files I expect to see are present in the path I pass to --split-debug-info upon build completion. However, when building a stripped aab, the symbols are not present at the requested path upon build completion.
Upon further observation, it looks like the symbol files are generated, ahead of app.aab and app.sig, but are then deleted immediately before app.aab and app.sig appear. It should be noted that the directory I'm passing to --split-debug-info is the same as the directory into which app.aab eventually placed by the build process:
~/flutter/bin/flutter build appbundle \
                --release \
                --build-name=1.0.666 \
                --build-number=666 \
                --target-platform android-arm,android-arm64 \
                --no-shrink \
                --split-debug-info=./build/app/outputs/bundle/release

If I pass a different directory to --split-debug-info, such as ./build/app/outputs/bundle-symbols/release, the symbols do persist after the build completes.
Low priority probably, but perhaps worth noting.

Hi @jrmiddle
Can you please provide your flutter doctor -v?
Thanks for filing the issue.

Hi @jrmiddle
Can you please provide your flutter doctor -v?
Thanks for filing the issue.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


\div produces different in physics and unicode-math

I am not reporting this as a BUG but an ENHANCEMENT, as I do not use \div for divergence (I prefer \div for division). But it is needed to give an option for users who need \div for divergence.
I found that \div in physics is moved to \nabla\cdot but with unicode-math it is changed back to amsmath ÷
\documentclass[a4paper]{article}

\usepackage{unicode-math} % compare if or not I comment this line
\usepackage{physics}

\begin{document}
    \[
        \div F
    \]
\end{document}

This is when I found that I loaded physics but \div does not change
Same issue for \Re and \Im, where amsmath and unicode math use \mathfrak{R} and \mathfrak{I} but physics use \mathrm{Re} and \mathrm{Im}

The same problem is at https://github.com/wspr/unicode-math/issues/477 and https://github.com/wspr/unicode-math/issues/575


Add FreeBSD & OpenBSD to crossbinary

Closes #923
Binaries are successfully built via the script/crossbinary.
While I've not got an OpenBSD server or VM to hand, I've tested the go + glide method on a FreeBSD server, a go build completes successfully however a go test $(glide novendor) has a build failure in github.com/containous/traefik/integration as follows
# go test github.com/containous/traefik/integration
# github.com/containous/traefik/vendor/github.com/docker/docker/pkg/mount
cc: warning: argument unused during compilation: '-gno-record-gcc-switches'
# github.com/containous/traefik/vendor/github.com/docker/docker/pkg/mount
cc: warning: argument unused during compilation: '-pthread'
cc: warning: argument unused during compilation: '-gno-record-gcc-switches'
# github.com/containous/traefik/vendor/github.com/docker/docker/runconfig/opts
vendor/github.com/docker/docker/runconfig/opts/parse.go:530: flags.Changed undefined (type *pflag.FlagSet has no field or method Changed)
FAIL	github.com/containous/traefik/integration [build failed]

but I'm not really familiar enough with Docker to know whether these would be expected on FreeBSD or if they are a current issue for Linux as well.
The other packages (those with tests) all pass.

I think the test fail might just be caused by vendoring issues.  The integration tests have there own and separate vendor folder due to some incompatibilities between different versions of pflag.
Could you try
cd integration && glide install
cd ..
script/test-integration
``

Doing glide install in the integration folder gets things to build a bit further, but they seem to assume the presence of a Docker service, the script/test-integration also assumes Docker is present (also that bash is at /bin/bash rather than /usr/local/bin/bash)
I'm currently doing this in a jail, so I'm not sure what hoops I'd need to jump through to get Docker working inside it, I've only had mixed success with Docker on FreeBSD on bare or vm servers.

Ouch that is a long build time :'(


Question

I built this because I can't find a pg client library that does everything just right.

How about pg-promise?

Looks great! Next time I start a project in node I'll give it a try.


Remove sortable styles from Datagrid headers when useSortableColumns not in use

@thefirstartist noticed this in #2608, but it looks like we are always adding the class for __sortableColumn in header rows even when the useSortableColumns hook is not included.
I’m guessing this is due to some default settings that either we or react-table set because from what I’m able to tell, header.canSort is always true. :eyes:

@elycheeaI think we see hover feedback on headers because all columns are resizable. One major flaw of resizable columns is that all column widths are fixed when users resize their browser window. This can be really annoying because now users need to adjust individual columns manually.
Additionally, the resizable column is not accessible since it cannot be achieved with a keyboard.

@thefirstartist There’s a PR and work to bring keyboard support for resize that we discuss with Mike Gower a while back.

One major flaw of resizable columns is that all column widths are fixed when users resize their browser window. This can be really annoying because now users need to adjust individual columns manually.

Ahh, I can see that as an issue but not sure what the ideal behavior is otherwise. I think this is an area where we can explore further — as we see more usage, hopefully we’ll gain some ideas how how this could work better.


404 not found instead 204 no content

Hi,
when i try to set the response code to 204 (No Content) and return null, i get a 404 (Not Found) instead.
Is this a bug or expected behavior, if so, how can i return 204 with no content?

Hi, sorry for the late reply. Returning null is the reason for the 404 response. This is a documented behavior, but it turned out to be not so good design decision (it is counter-intuitive for many users).


Visual Studio must be running in Administrator mode

One important note: Visual Studio must be running in Administrator mode. Otherwise Identity Framework related  items(set up middle ware, add necessary razor views, Add connection String in AppSettings.json) will not be added.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 94bfd895-d2af-390b-0801-428b36a27ff4
Version Independent ID: 0e0d870e-e49a-e16c-c259-68d58e701b8f
Content: Introduction to Identity on ASP.NET Core
Content Source: aspnetcore/security/authentication/identity.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

That's not true if you're in a user directory.


Allow scalars int|float|bool in Query::select()

For some cases a query like SELECT 1 FROM ... required.
If allow scalars int|float|bool for columns in Query::select() method, the result could be
$query->select(1) => SELECT 1 FROM ...
or with alias
$query->select(['a' => 1]) => SELECT 1 AS "a" FROM ...
Currently using Query instance it could be done like $query->select(new Expression('1')) or $query->select('(1)')

Suggestion looks good.


WIP - Implement new parallel scheduler

There is a lot more to do before this could merge, but I wanted to get the idea out there for discussion. Things I know still need to be done.

A top level --scheduler=blah switch or something similar to allow choosing between different schedulers
Performance test results showing how it fares vs the existing parallel scheduler.
Probably putting each scheduler in its own file
Style nits, formatting, etc.
Fixing tests.
Changes files, etc.

But I don't want to spend a ton of time on that stuff unless there is a consensus around pursuing this idea.
Overall, the approach here is that instead of having one thread that drives the taskmaster and N worker threads that just execute jobs, there are just N worker threads on an equal footing. Any single worker thread can drive the taskmaster while other threads execute jobs. Once a thread has driven the taskmaster through to finding a job that requires execution, that thread goes off to execute the task and allows the next free worker thread to pick up the responsibility for turning the taskmaster crank and processing any pending results.
The nice thing about this model is that it doesn't require the system to first find N executable jobs (or exhaust that search) before it ever retires a single execution, like the current Parallel scheduler does. That model just doesn't work well when you are building with a very high number of jobs (say, 500) against a distributed compile cluster like icecream. The existing Parallel spends a ton of upfront time walking odd parts of the graph in an effort to find those N jobs because it never sees any completions. It results in odd bursty / sawtooth behavior. Attempts to build a better heuristic for when to issue vs when to retire didn't really seem promising. The free threaded approach here doesn't need any heuristic. Whichever thread is doing the serial phase w.r.t. the taskmaster is responsible for both retiring executed tasks in order to unblock graph exporation and then finding new work.
I've attempted to add enough comments that it should be possible to get a pretty good sense of the flow of control by reading through it, but I'm happy to answer any questions.
I probably won't be able to get back to this for a few weeks, and as noted above it is very much work in progress, so I'm making this a draft PR.

@bdbaddog - I've made this into a real PR. With @dmoody256's perf results from discord I think it is ready for closer review. Things to go over:

What should we do with the print statements as far as turning them into opt-in tracing?
Do we want to put this under a flag?
What should we do about some tests that don't pass. They maybe aren't very useful tests? I'm not sure.
Does the Serial class still offer anything in a multicore world? Should we just always use my NewParallel for all -j values?

I rebased, squashed, and force pushed this PR. The historical version is still available here: https://github.com/acmorrow/scons/tree/new-parallel-backup


How to show meaningful errors

Is there a way to get meaningful errors out of the exceptions? For instance If I try to create a token and token account but having not funds:
    conn = Client(network_url)
    try:
        token_client = TokenClient(conn, my_pubkey, TOKEN_PROGRAM_ID, my_keypair)
        token = token_client.create_mint(
            conn=conn,
            payer=my_keypair,
            mint_authority=my_pubkey,
            decimals=0,
            program_id=TOKEN_PROGRAM_ID,
            skip_confirmation=False
        )
        token_client = TokenClient(conn, token.pubkey, TOKEN_PROGRAM_ID, my_keypair)
        account = token_client.create_account(my_pubkey)
    except Exception as e:
        print(e)

This will throw: Unable to confirm transaction K9dEoLgOX5m7vWxquhbLCQGDLBVkNb1ty356AaR2w7WffrZrWep9ENhuj1YA794NUfpBbR5oYsF8VT38ExWVcfv
But nothing about the missing balance.

@michaelhly Can i take this issue on?

@AnderUstarroz what file is this in?

I am sorry I am not sure what you mean by that. A regular Python file within my project?


Fuzzy search

Fuzzy search implementation. Uses an adaptation of VSCode's filtering to provide better search results and an improved sub-string matching experience.
Also includes the new CommandPaletteConfig object.
closes #2

Codecov Report

Merging #3 (b27d90e) into main (a965be2) will decrease coverage by 3.60%.
The diff coverage is 71.71%.

@@            Coverage Diff             @@
##             main       #3      +/-   ##
==========================================
- Coverage   88.26%   84.66%   -3.61%
==========================================
  Files           6        9       +3
  Lines         341      450     +109
==========================================
+ Hits          301      381      +80
- Misses         40       69      +29

Impacted Files
Coverage Δ

lib/src/widgets/command_palette_modal.dart
100.00% <ø> (ø)

lib/src/widgets/command_palette_text_field.dart
100.00% <ø> (ø)

lib/src/utils/filter.dart
53.84% <53.84%> (ø)

lib/src/command_palette.dart
74.10% <65.00%> (+3.13%)
:arrow_up:

lib/src/controller/command_palette_controller.dart
98.78% <100.00%> (+0.11%)
:arrow_up:

lib/src/models/matched_command_palette_action.dart
100.00% <100.00%> (ø)

...b/src/widgets/options/command_palette_options.dart
95.77% <100.00%> (ø)

lib/src/widgets/options/option_highlighter.dart
100.00% <100.00%> (ø)

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 a965be2...b27d90e. Read the comment docs.


Adjustable column width (#106)

Closes #106

Note: The width is stored based on the filter hierarchy, i.e. (as before) multiple columns of the same attribute won't be restored.

Matrix is broken here:

Works after updating phovea_vis. 👍


Deterministic build order of crates

Benchmarking on a multicore system would benefit from being able to replay compilations in the exact same order.
The biggest source of variability presently is when memory hogging crates get bunched up together leading to swapping.
A deterministic compilation switch is probably not worth the effort, but the ability to simply dump the last build order to a toml file and feed it back to cargo could help with reproducible benchmarking.
Or is it already possible perhaps?

you are not alone!


feat: Repository search tsx

What type of PR is this? (check all applicable)

[x] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Description

This PR adds the feature.
Related Tickets & Documents

fixes #155
Mobile & Desktop Screenshots/Recordings

Added tests?

[ ] 👍 yes
[x] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[x] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

closing in favor of #169


IGNITE-20740 Fix SocketChannel Leak when connect failed

SocketChannel may leak when Ignite's hostname can't be connected.
In order to streamline the review of the contribution
we ask you to ensure the following steps have been taken:
The Contribution Checklist

[x] There is a single JIRA ticket related to the pull request.
[x] The web-link to the pull request is attached to the JIRA ticket.
[x] The JIRA ticket has the Patch Available state.
[x] The pull request body describes changes that have been made.
The description explains WHAT and WHY was made instead of HOW.
[x] The pull request title is treated as the final commit message.
The following pattern must be used: IGNITE-XXXX Change summary where XXXX - number of JIRA issue.
[] A reviewer has been mentioned through the JIRA comments
(see the Maintainers list)
[ ] The pull request has been checked by the Teamcity Bot and
the green visa attached to the JIRA ticket (see TC.Bot: Check PR)

Notes

How to Contribute
Coding abbreviation rules
Coding Guidelines
Apache Ignite Teamcity Bot

If you need any help, please email<EMAIL_ADDRESS>or ask anу advice on http://asf.slack.com #ignite channel.

@ptupitsyn @petrov-mg @ivan-fedorenkov @sk0x50  PTAL, thanks

@ptupitsyn Thanks for your review, Could you please review again? Thanks.

TC build triggered: https://ci.ignite.apache.org/viewLog.html?buildId=7591435&

@ptupitsyn Can this pr being merged? Thanks :)

@ptupitsyn Can this pr being merged? Thanks :)

Yes, once we have a good TeamCity run. I'll deal with this, don't worry.


iOS: add ProGuard exclusions

Exclusions:
java.nio.charset.Charset:
Otherwise you are limited to UTF-8 (and for example cannot use java.util.zip, because it uses ISO-8859-1)

For java.util.zip.Deflater:
java.util.zip.Deflater
java.io.FileNotFoundException
For reflection (IIRC nifty-gui and Java Annotations)
java.lang.reflect.Proxy
java.lang.reflect.InvocationHandler
For logging:
java.util.logging.ConsoleHandler
java.util.logging.FileHandler
java.util.logging.SimpleFormatter
java.util.logging.LogManager
For nifty-gui:
org.xmlpull.mxp1.MXParserFactory

Removed iOS version: just use link to the most recent version
This should reduce failing builds with new projects significantly!

Thank you very much! :)
Just one hint: 1 and 2 could've been separate pull requests as they are about separate things

Thanks. Ok, next time even more PRs... ;-)


Support embedding maps on other sites

Enhancement request to allow users to zoom the map view and then grab the code to embed that view on their own web sites. This could appeal to hyperlocals and community, historical society sites

We can now link directly to a specific place on the map. For example:
https://openbenches.org/#52.72734/-1.727214/16
Was that what you had in mind? Or something else?

I like the link directly to a specific place on the map, but what I had in mind was an ‘embed’ facility, where the user can grab the html which they could load in a page on their own web site. I thought this could be useful for hyperlocals to show benches ‘on their patch’ and also to help encourage others to participate, particularly if the location & zoom can be controlled.
Embeddable map: This sort of thing

On 13 Aug 2017, at 09:10, Terence Eden<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
We can now link directly to a specific place on the map. For example:
https://openbenches.org/#52.72734/-1.727214/16 https://openbenches.org/#52.72734/-1.727214/16
Was that what you had in mind? Or something else?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/edent/openbenches/issues/50#issuecomment-322028360, or mute the thread https://github.com/notifications/unsubscribe-auth/ADw8NiNHX9Ki0GzP5fXbtLfZX81gYo6Lks5sXq-KgaJpZM4OvxdA.

Mark Braggins
07743 817215
https://twitter.com/markbraggins https://twitter.com/markbraggins
<EMAIL_ADDRESS>

Looking at oEmbed for this. https://oembed.com/


Improve pipeline (in progress)

Working on #379.
Checklist:

[ ] Sonar complains about the Java version
[ ] Build seems to fail due to not be able to load a dll
[ ] Build claims to succeeded while all tests fail
[ ] Insight in tests is lacking (for inspiration see Buildalyzer)

Continued in #381


Projects filtering by vintage does not work

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to https://www.carbonmark.com/fr/projects?layout=grid&sort=recently-updated&vintage=2012&search=1529
Projects whose vintage is different that 2012 appear

Expected behavior
Only projects whose vintage equals 2012 should appear

I think this: https://github.com/KlimaDAO/klimadao/blob/staging/carbonmark-api/src/graphql/digitalCarbon.gql#L45 filters the carbonCredits attribute and not the top level results.


email line length limit

What did you do?
html emails sent from alert manager hit line length limit in https://tools.ietf.org/html/rfc2822#section-2.1.1.
This cause clients get broken html emails. Some links are broken because of extra bang + newline feed.
What did you expect to see?
user can get a raw html emal
What did you see instead? Under which circumstances?
html emails sent from alert manager hit line length limit in https://tools.ietf.org/html/rfc2822#section-2.1.1.
This cause clients get broken html emails. Some links are broken because of extra bang + newline feed.
Environment

System information:
linux

Alertmanager version:
0.15.2

Prometheus version:
2.13.0

It is already fixed by https://github.com/prometheus/alertmanager/pull/1609, please update to a more recent version of Alertmanager.
I'm closing it for now. If you have further questions, please use our user mailing list, which you can also search.

thx. it helps


Screenshot of class/id

Currently it appears that only a screenshot of the whole page can be made.
Would be nice to make it possible to screenshot a of specific element.

Hi @bakman2 ,
Sorry, I had to pause a bit the project. I'll check if it can be done in an incoming release.
Best regards,

Done in version 0.4.1.
Best regards,


Show the same result when switching tag feeds

Tasks

[ ] Investigate and fix

Close it since PR was merged.


Update README.md

The example shown is wrong, please go through the project properly before submitting a pull request. Anyways, the documentation of the package will be released when the package is completed.


Redirect Error and null email processed

Hi,
Good starter template for next.js, but I see there are some problems. First one is that, without entering any email on the input in route /auth/signin it processed to next page with the success message.
Second one is redirect doesn't work on the post request via ajax. So I don't see why you're adding this line on the page.
https://github.com/iaincollins/nextjs-starter/blob/master/routes/auth.js#L119
There are other issues as well like opening multiple route for getting csrf token.
I hope you resolved these issues.

Please feel free to raise specific issues as individual issues if you have any questions or comments.
The redirect does not error so I am closing this.

It redirects right away as an immediate response to users, rather than waiting for the SMTP request to complete, which is not actually a guarantee of delivery to a user mailbox either - so there isn't much point in waiting. This is normal practice and is intended behaviour here.

You are free to change this behaviour in your own project if you wish.
I'm not against adding further checks in template for obviously malformed addresses, but I think that's of limited utility - I don't want to over complicate the example without addressing outstanding issues first.

The point of this mechanism is it supports universal rendering and to not assume or require JavaScript in the client and so works even if you don't have JavaScript enabled in the browser (for example on a feature phone or if you have a NoScript utility enabled).

If you only care about JavaScript enabled browsers authentication and session handling gets a lot simpler.

I don't know what you mean by "There are other issues as well like opening multiple route for getting csrf token." but if you don't know I'm happy to explain how it works and why it's like that.

If you are referring to why there is an an Ajax route for CSRF token and what the implications are then this may help: https://medium.com/@iaincollins/csrf-tokens-via-ajax-a885c7305d4a

No, redirect doesn't happen when I put blank email address in the input field. It actually send to success page. Here's the steps to reproduce:

Click on Sign In link on header of the page which sends to route /auth/signin
Now click on signin button without entering any email and it will send to you on this route /auth/check-email
That's why the line in this link actually doesn't work: https://github.com/iaincollins/nextjs-starter/blob/master/routes/auth.js#L119.

May be because of this: https://github.com/iaincollins/nextjs-starter/blob/master/pages/auth/signin.js#L45.
I hope you'll address this. And regarding the CSRF token, I am not asking about how it work and why it should be there. I'm telling that you've send the token from server on multiple routes. First one is /session route and second one is /csrf. I think, one route is enough for exposing csrf token.

Yes, I understand about how the email address is handled. Please see the answer I've provided.
I'm aware the CSRF token is return in session and token the article I linked to explains why it's useful to have an endpoint to return just the token. If you also want to return session data each time you want to get a token that's up to you.


Clarifying rank and select

This is better documentation (no code change).

Coverage remained the same at 91.521% when pulling 7b665205cdded3d664028862062af0164f6ba4f7 on dlemire/clarifyingrankandselect into 2e2e61416ac1f040d0328c9b4ffaf798652ee727 on master.


Deprecate _ex calls that take an ENGINE * argument

There are a number of _ex calls which accept an ENGINE * argument.  These should be deprecated along with the rest of the engine infrastructure.

OTC: We won't be doing this at this stage.


Counterparty Static Data

Allow a counterparty to have specific static data
Collection of Connections
Yes/no cancel-on-disconnect flag
Self-trade-protection
FIX Version

Potential use case for https://kafka.apache.org/documentation/#connect

Closed #23