Add test if user has the pokémon

Expected Behavior
The user can specified if he want to keep the pokemon (whatever CP or IV ) if this one isn't in his hand
Actual Behavior
Transfer pokémon if he is under CP or IV specified, same if the user don't have this one
What do you think ?

so multiuser option for transfer filter?

duplicate of #604

Duplicate of https://github.com/PokemonGoF/PokemonGo-Bot/issues/604
/closed


Issues on MSM estimation and validation in Notebook 00

When I ran the code block
its = pyemma.msm.its(cluster.dtrajs, lags=50, nits=10, errors='bayes')
pyemma.plots.plot_implied_timescales(its, units='ns', dt=0.1);
It show "estimating BayesianMSM: 80%" and I ran it multiple times but it just fluctuated between 50%-90% and never reach 100%.
Can anyone help on this?

Try this:
its = pyemma.msm.its(cluster.dtrajs, lags=50, nits=6, errors="bayes" , n_jobs = 1)
pyemma.plots.plot_implied_timescales(its, units='ns', dt=0.1);
n_jobs is ambiguous in this case. Hope this helps.


get_nc_variable/build_index calendar issue

I've encountered an issue using get_nc_variable in combination with build_index when loading variables using an explicit path to an experiment directory. Loading variables in this way seems to omit calendar information, so leap years and month lengths are muddled up.
This is what I'm currently doing:
import cosima_cookbook as cc
exp_dir =  '/g/data/v45/rm2389/Freshwater_Experiments/025deg_tests/rcp45/'
cc.build_index(exp_dir_list = exp_dir)
runoff = cc.get_nc_variable(exp_dir, 'ocean_month.nc', 'runoff')

The variable loads fine, but the time information is incorrect. If I specify time_units = None in get_nc_variable the dates are closer the dates in the time_stamp.out file, but with an offset that seems to match a leap year issue. The nc file itself specifies no leap year calendar,
 double time(time) ;
                time:long_name = "time" ;
                time:units = "days since 0001-01-01 00:00:00" ;
                time:cartesian_axis = "T" ;
                time:calendar_type = "NOLEAP" ;
                time:calendar = "NOLEAP" ;
                time:bounds = "time_bounds" ;

but I think this isn't being included in the get_nc_variable step.
The issue doesn't occur when I load variables from experiments in the central cosima directory (i.e. just specifying an experiment name, not a path within which I've built an index) that have the same calendar information as above.

Thanks for the detailed report! Is this still an issue? I can't access your output files (they're owned by group q90) -- could you chgrp to v45 or make them other-readable?

Hi @angus-g , sorry I thought I replied but the permissions have been changed now. It is still an issue, and still, as far as I can see, only an issue for cases where you explicitly give a file path rather than an experiment in the hh5 cosima directories.

Took a while to get to this, sorry @ruth-moorman! Hopefully this helps (it won't work if you're using the offsetting, but it should work in your case specifically)

Yep that did it, thanks @angus-g !


README files

[ ] The main readme file is meant to offer general information about the project and signpost the user to the documentation. The hardware schematics don't belong there. The main readme file should explain the structure of the project. In other words, "what are all these folders you have here?!", the user will ask. The main readme file should also point to CONTRIBUTING.md and SAFETY.md
[ ] Create a readme file here to describe the schematics. @gunturiCM it would be good to include a schematic that shows how the different boards are connected. And a few photos too.
[ ] The folder raspberry and it sub-folders should have a readme file (every Python package needs a main readme file)

bump @gunturiCM @jamie-54

I will come back to update the schematics as per the suggestions as I write my report. Thanks professor.


Firefox smooth scroll bug

Hello.
I found a little bug on Firefox. When I click on a link in navigation bar, smooth scrolling performs a little further than it should be. It looks like after normal scroll Firefox immediately makes one-step scroll forward, so upper widget's border is behind navigation bar.
Best regards.

It happens after window.location.hash = hash; is called in hugo-academic.js.

Would be great if smooth scrolling could be made optional

I agree with @rmst. At least simple scrolling (with mouse wheel) seems to be an overkill.

@rmst are your referring to the smooth scrolling for mouse wheel (which is enabled when a user uses the mouse wheel for scrolling in non-Firefox and non-Mac browsers) or are you referring to the smooth animated scrolling which occurs when clicking the navigation links?

@gcushen yes, it is a little offtop here, sorry.

Ah no, for me it was just about the mouse wheel scroll. I didn't like the feel of it very much. Now I just commented out that one line in javascript but doing that in the config would be nicer of course :)

@rmst update 641c699 removes the animated mouse wheel scrolling feature.
@UltraCoderRU update 641c699 should improve the in-page link scrolling.
I'll close this issue, but please comment to confirm if this fixes your issues or not and I'll re-open if needed :)


MODE-2510 Fixes various issues around SNS reordering, including keeping [jcr:path] indexes up-to-date in such cases

Looks good.


python310Packages.peaqevcore: 12.2.0 -> 12.2.1

Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Hmmm, that looks like the browser was lagging and then merged by accident.

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


Text Style Persists for Text-only Heroes in Flight

Description
This PR addresses the issue of Text-only Hero widgets breaking from style in flight. The default HeroFlightShuttleBuilder for the Hero widget uses the destination widget as a model for the shuttle. As such, this PR wraps the shuttle in a DefaultTextStyle using the context of the destination widget so that the intended Test styling is not lost in flight.
Related Issues

Fixes #30647
Fixes #20845
Fixes #12463

Tests
I added the following tests:

Check that a given TextStyle persists through Hero flight
Check that the DefaultTextStyle of underlined red text does not replace the Text Hero in flight.

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[x] No, this is not a breaking change.

@Piinks why was this pull request closed? Wont be merged?

Hi @marianoarga!
This was closed because the fix can't be implemented in this way.
This section of Flutter's technical overview explains why: Layer Cakes are Delicious!
The Text widget belongs to the widgets library, above that layer in Material is where the theme information that styles a Text widget lives. This is why wrapping a Text widget in a Material widget has been a successful workaround for a Text-only Hero losing style in flight.
This PR modifies the _defaultHeroFlightShuttleBuilder to add style, but trying to bring that information down a layer breaks with Flutter's layered design principles, so it won't be merged.
It is possible to provide a Hero widget with a custom flightShuttleBuilder of your own like this:
Widget _flightShuttleBuilder(
    BuildContext flightContext,
    Animation<double> animation,
    HeroFlightDirection flightDirection,
    BuildContext fromHeroContext,
    BuildContext toHeroContext,
  ) {
    return DefaultTextStyle(
      style: DefaultTextStyle.of(toHeroContext).style,
      child: toHeroContext.widget,
    );
  }
  ...

Widget build(BuildContext context) {
  return Scaffold(
    ...
        child: Hero(
          tag: 'text',
          flightShuttleBuilder: _flightShuttleBuilder,
          child: Text('Text'),
        ),

Providing a TextStyle for each Text widget also works, as well as some of the wrap methods others have mentioned in the related issues. (#30647, #20845, #12463)

@Piinks Thank you very much


How to get user API keys?

We would like to allow users to recover their API key, view it on a profile page, etc. We have tried the Admin API, but it only returns an api_key_preview. How can we access user API keys from the database?

Apologies for the delay in responding. This is a good point. Right now our API for users is geared towards the admin use-case, where we are purposefully hiding the full API key (the thought is that we're treating admins as less trusted, so not even admins can get a user's key and impersonate them). But I can definitely see how it would be useful to be able to show the owner of the API key the full key again. Ideally we'd have the user API return the full API key if the owner is hitting that API endpoint. Have you implemented user login yet? I'm just wondering how that might work in your system and how we could tie that to our API.

It seems like there should be at least some level of trusted user, such as super admin -- for data-sync, etc.
We have implemented sign-in with Github, via the meteor OAuth package.
For integration, I am writing Meteor.js wrappers around all Admin API endpoints, and can use the methods to store information in our database, create reactive data sources, etc.

This issue might simply be resolved by making API Keys available to superusers via the Admin API REST interface.

Super user admins can now view the full API keys in v0.9 (see https://github.com/18F/api.data.gov/issues/276), so it think this should solve this use-case, but let us know if not.


Default Shell Always Powershell even when set

VS Code Version: 1.56.2
OS Version: Windows 10 Pro 10.0.19042 Build 19042

Steps to Reproduce:

Open VSCode
press ctrl + '  (powershel will open)
press ctrl +shift + P and type "select default terminal"
Choose anything other than powershell
close VSCode
repeat steps 1 and 2 (it will be powershell again even though you set it to something else)

Related issue #124805

Two additional notes:

It may open the chosen default terminal profile once or twice after reopening vscode, but will eventually open the PS profile.
It does remember the default profile when pressing + (New Terminal).

I believe this is already fixed, can you see if you can reproduce in the Insiders build?

I cannot reproduce it with Insiders build on neither my laptop or desktop, so it definitely seems fixed.
Note, I only had this bug on my new laptop (R5 4700U cpu) in V1.56.2 (user setup),  but not on my desktop (Ryzen 7 2700x).


Unable to run the POC

The Portal and the Admin blazor sites do not contain index.html files.
Is this POC fully functional?

There are is no "index.html" when you create a BlazorWASM project.
If you mean "index.razor" than yes, they are present in both Portal & Admin.
If you truly mean "index.html" this will be created after the application/s are build & published via docker file. To understand this better, please refer to my blog post on this. You'll have a much better understanding.

when publish it, there is no index.html.

Have you made sure to do these beforehand (as mentioned in my blog):

You need to own a domain beforehand.
The subdomains you want to issue certificates for, must correctly resolve to the host.
Your DNS provider must answer correctly to CAA record requests.
Your host must be publicly reachable on both port 80 and 443.

I believe dotnet will create index.html file when generating blazor wasm project, and it's missing in admin and portal project. However, it's easy to resolve it. Just create blank template and copy-paste will do. I believe it's caused by ignored by git rule

Huu I missed that part of the git rule! Thanks @fakhrulhilal
Added them via #5


Refactor codebase to async/await - m365 spo list retentionlabel remove until m365 spo list view field remove

Closes #5050

Thank you for your awesome work 👍. You rock 🤩. We will review it ASAP.

Thanks for the feedback @martinlingstuyl . Seems that I forgot one command 😞 Could you have another look?


API or "Fetch" hook

Feature Request
I was wondering if a general useFetch or some API calling hook was a sensible idea. I feel its something that I constantly rewrite. The whole useAPI that then returns loading, error and the result.
General idea being it would be a useEffect that calls fetch on some url with parameters. Im not sure what the right level of granularity would be. (If it should be something like)
interface ApiResult<R>{
  result: R
  loading: boolean
  error?: string
}

useAPI<T,R>(url: string, type: "POST" | "GET", body?: T): ApiResult<R>

Or if its more sensible to split it into useGet or usePost etc (if there are too many arguments on fetch to have one hook)

It's a good idea but I think I'd recomend using swr or if more configuration is needed react-query.
It will handle a load of extra stuff for you, such as polling, refreshing in page activation, using cashed result until refreshed, local manipulation...
It might be better to add a set of standard fetcher functions that can easily be used with swr. I'll think on it.

The other thing here is that rarely is POST a hook type of thing. You normally only want to call it on a specific action, not on every render of a component.

Yeah thats a good point, I will check out that library.
Yeah I wasnt completely sure if it was a good hook idea or not, just came to mind as something I always find myself rewriting.


Support placeholders ($ or ?) in LIMIT clause

#486

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

16 of 16 (100.0%)  changed or added relevant lines in 1 file are covered.
72 unchanged lines in 5 files lost coverage.
Overall coverage decreased (-0.7%) to 89.76%

Files with Coverage Reduction
New Missed Lines
%

src/parser.rs
1
83.08%

tests/sqlparser_redshift.rs
1
98.11%

tests/sqlparser_snowflake.rs
2
96.43%

tests/sqlparser_postgres.rs
16
97.76%

tests/sqlparser_common.rs
52
97.03%

Totals

Change from base Build<PHONE_NUMBER>:
-0.7%

Covered Lines:
8240

Relevant Lines:
9180

💛  - Coveralls

I took the liberty of fixing cargo fmt on this PR. Thanks again @step-baby


Inform user their application has GitOps paused

Short description
As an application operator I want to be able to tell if I have an application paused so that I can resume GitOps operations when I'm done manipulating the application manifests].
Acceptance criteria
given cluster with wego installed and application foo added via wego app add and wego app pause foo run
when issuing wego app status foo
then the command informs me that application foo has GitOps paused
Work breakdown
(optional)Task breakdown of the work

[ ] create X
[ ] design X
[ ] ...

API server should pause and unpause application.
CLI talks to API server.

@palemtnrider I am not sure if you were looking for more info on the paused status but when the status call is made to flux we already do get if its paused or not. It just says suspended
NAME                    READY   MESSAGE                                                         REVISION                                        SUSPENDED
gitrepository/nginx     True    Fetched revision: main/b8872cb44b9b30d67505ea01a585bd1d23412610 main/b8872cb44b9b30d67505ea01a585bd1d23412610   False

NAME                    READY   MESSAGE                                                         REVISION                                        SUSPENDED
kustomization/nginx     True    Applied revision: main/b8872cb44b9b30d67505ea01a585bd1d23412610 main/b8872cb44b9b30d67505ea01a585bd1d23412610   False

I could just change the word suspended to paused if that works?

I could just change the word suspended to paused if that works?

I think showing suspended true/false is fine.


Add a UI control in SR to call delete API to delete a given schema

Corresponding to the API created for https://github.com/hortonworks/registry/issues/509  we need to add a UI control in SR UI that will first warn the user and if user still goes ahead, then it will call the API provided. This will delete all metadata related to the given schema including branches, states, versions, etc.

Currently we only allow "archiving" a schema.


Proto-tagged maps and slices do not tolerate nil values

Struct fields of a proto message that are maps or slices and tagged (mir.key_type and mir.value_type for maps, or mir.type for the inner type of the slice) do not tolerate nil values.
A similar behaviour occurs the methods ...FromPb (from the generated types.mir.go) on slices and certs whose content is empty.

In general, we should not use nil pointers as zero values.

It can become very inconvenient to not be able to use nil in the generated data structures. For instance, when writing tests we might need to use a message without specifying a very concrete one. However, a nil value for the content cannot be used right now. Instead of constructing a Message object with nil content, we need to use some (arbitrary) very concrete message (e.g., a PBFT prepare message) or define a special simple message type, specifically for testing.
Thus, I think that instead of not using nil values, we should update the code generation tool to support nil values.

Agreed, it still holds that, in general, we should not use nil pointers as zero values, but the code generation tool should support nil values.


implemented requestWhenInUseAuthorization

The method uses Promises to handle the location source settings intent;
Added a new react method called isLocationServiceEnabled to check if the gps service is enabled;
Fixed some breaking changes in gradle settings and the module react package;
Updated react-native dependency version;

This is for android only :|


Add different cloud provider support between BSL and VSL

This PR does the following:

Supports different cloud provider between BSL and  VSL at the same time.
Adds checks in preflight tasks for VSL as well as updates operator tasks
Updates default Velero CR accommodating VSL credentials reference
Fixes https://github.com/openshift/oadp-operator/issues/117

Changes tested for:

AWS BSL + AWS VSL
Azure BSL + AWS VSL

/retest


Zdash (ZDASH)

Hi!
Could you please add Zdash logo?
Current logo here: https://www.iolardemartini.com/clientes/zdash/images/logo.png
AI file here: https://www.iolardemartini.com/clientes/zdash/images/Zdash-Logo.ai
Thanks a lot. ;)

Stalled development


Feature request: In-plane locally-connected 2D convolutions

I'm requesting a convolution that works on each channel separately using the same filter (as https://www.tensorflow.org/versions/r1.2/api_docs/python/tf/contrib/layers/conv2d_in_plane), and but uses different filters spatially (like LocallyConnected2D).
One approach would be to modify LocallyConnected2D:
individual_channels = tf.split(inputs, inputs.shape[3], -1)
convs = []
for channel in individual_channels:
    conv = K.local_conv2d(channel, self.kernel, self.kernel_size, self.strides,
       (self.output_row, self.output_col), self.data_format)
    convs.append(conv)
outputs = tf.concat(convs, -1)

where
self.kernel_shape = (output_row * output_col,
    self.kernel_size[0] * self.kernel_size[1], 1)

But the above approach is very slow.

I want to request same exact thing as @tsoernes asked above.
A locally connected layer that works on each channel separately (can use the same filter or not), without summation over the different colors of the previous layer.


Limit on Concurrent HTTP connections?

Is there a limit on the number of concurrent HTTP connections?. I see that the requests get timed out if there are more than 1000 connections. Is this a config set somewhere which we can tweak?

you set grpc.MaxConcurrentStreams to grapiserver.WithGrpcServerOptions, you can tweak it 😄


Need to avoid/tolerate race condition in calling git config

(git-annex)lena:…11ea-be9b-ff519d1f6bc9[master].reproman/jobs/local/20200522-000958-46c0
$> grep 'not lock' -3 stderr.1
> 00:10:34.142854375 [2357873] echo '[ReproMan] executing command containers/scripts/singularity_cmd run containers/images/bids/bids-mriqc--0.15.0.sing '\''data/bids'\'' '\''data/mriqc'\'' participant --participant_label '\''13'\'' -w work'
> 00:10:34.146979943 [2357873] echo '[ReproMan] ... within /home/yoh/.reproman/run-root/0a372e4e-9be2-11ea-be9b-ff519d1f6bc9'
> 00:10:34.149859825 [2357873] /bin/sh -c 'containers/scripts/singularity_cmd run containers/images/bids/bids-mriqc--0.15.0.sing '\''data/bids'\'' '\''data/mriqc'\'' participant --participant_label '\''13'\'' -w work'
error: could not lock config file /home/yoh/.reproman/run-root/0a372e4e-9be2-11ea-be9b-ff519d1f6bc9/containers/binds/HOME/.gitconfig: File exists
> 00:10:34.211776551 [2357873] echo 'failed: 255'
> 00:10:34.214277774 [2357873] mkdir -p /home/yoh/.reproman/run-root/0a372e4e-9be2-11ea-be9b-ff519d1f6bc9/.reproman/jobs/local/20200522-000958-46c0/failed
> 00:10:34.216103284 [2357873] touch /home/yoh/.reproman/run-root/0a372e4e-9be2-11ea-be9b-ff519d1f6bc9/.reproman/jobs/local/20200522-000958-46c0/failed/1

probably due to https://github.com/ReproNim/containers/blob/master/scripts/singularity_cmd#L49
see more info in https://github.com/ReproNim/reproman/issues/511
most likely should just try for X (5 should be enough ;)) times with some random sleep between

fixed for it in ff700a4ade5a76883120644c700c5fcf6af20006, forgot to add Closes


Open GitHub Discussions

@jacoscaz, could you perhaps open the Discussions functionality of this repo? That would allow us to keep less formal discussions restricted to there.
Just crossed my mind when posting https://github.com/w3c/WebID/issues/35

@woutermont I actually do not have administrative access to the repo, yet. As soon as that's settled, this seems like a good idea. Less formal discussions are often carried out on the list but moving everything onto a single platform would be nice.

I now have administrative access to this repo. I'll give it a few days and, if nobody objects to this, I'll enable Discussions.

I now have administrative access to this repo.

Awesome.  Who else has admin access?
In particular who can create a new branch.  It might to start creating branches for new items getting closer to merge.

Done, closing this one.

Awesome. Who else has admin access?

I think this would ultimately depend on some kind of process we should agree on. I'm still reading through a bunch of material, more soon...

I think this would ultimately depend on some kind of process we should agree on.

I mean who has access to merge a branch currently.
https://github.com/w3c/WebID/branches
I've observed that branch merges are sometimes being conducted unilaterally by a select few, leading to a noticeable imbalance.
This situation, where only certain individuals have the access and authority to perform these branch merges, is concerning to me. It feels akin to a power grab, and I think it's important for us to apply group fairness.
I have reservations about using Microsoft GitHub as our definitive platform for work, particularly in terms of expanding our footprint there.

FWIW I've always been against working exclusively in w3c/webid for the reason above. It's much better to have our own github org. Which can have multiple repos, e.g. one for specs and one for vocabs. This is what many successful groups do.
So expanding github discussions here, I think is a bad idea. Sorry @woutermont I like the idea in principle. But if we had our own org, our own repos, then discussions, I have no issue with. As someone said we can still use the mailing list, for now.

I mean who has access to merge a branch currently

@melvincarvalho this is likely better discussed elsewhere, in a dedicated issue / discussion / email thread. To answer your question, though, right now @csarven and I have direct administrative access to the repo while many more can access it via their base role in the W3C org (2802 people). I am unsure as to what access means in their case. Perhaps @TallTed can shine some light here so that we can understand what the situation is and how to move forward.

[@jacoscaz] Perhaps @TallTed can shine some light here so that we can understand what the situation is and how to move forward.

I confess, I'm having trouble following what @melvincarvalho has said above, such as --

[@melvincarvalho] access to merge a branch currently. (ie to create a new branch in this repo)

and

[@melvincarvalho] In particular who can create a new branch. It might be an idea to start creating branches for new items getting closer to merge.

Generally speaking, a repository has some CODEOWNERS who have full permissions on the content managed within that repo. In the W3 context, these tend to be the Chairs of Working Groups and Community Groups, as well as the Editors of any documents managed by those Groups. Other Group members (as well as all other GitHub users) are able to create Issues and Pull Requests (associated with a specific Branch in a Fork owned by the creator of the PR), which are then addressed by the Group as a whole, and upon consensus on a Pull Request, an Editor or Chair merges that PR into the (usually) main branch of the original repository.
The power to merge a PR into the original repository is not globally open, because this is a sure path to boundless spam and other vandalism.
I don't see any point to "creating branches [in this repo] for new items getting closer to merge". Raising a PR inherently involves creating a user-owned branch (in a user-owned fork), which is what is used to generate and present the https://github.com/w3c/WebID/pulls/.../files pages associated with each PR. Each such PR should evolve, through suggested changes and other discussion, to a point that the (Working or Community) Group's consensus is that it should be merged (or closed without merging) into the main branch for the Group-owned repo.

I am generally against the use of GitHub "Discussions", because they really aren't the threaded discussions they originally promised; they're Q&A areas modeled after StackOverflow (and the like). One Question, multiple Answers, with multiple Comments on those Answers -- but no threaded Comments on Comments.
This usually leads to confusion and misunderstanding, as users do not have an easy path to "all Comments since the last time I viewed this Question," as the simplest example, nor to "all Comments on this Comment," nor to "all Comments answering my Comments on this Question," nor to "all Comments answering my Comments on this Answer"....
Someday, enough people with appropriate resources will recognize that NNTP and the infinitely threadable conversations of USENET still have significant value outside of the Google Groups silo that was jumpstarted by loading all USENET history they could grab and which will soon drop its outbound connections to USENET, and USENET will be well and truly revived.


Generating Incomplete code cause lost to much credits in reload

Hi, i lost to much credits because incomplete code generating, i think tha all this ai, have a big problem with handle error caused by the ai itself, if the ai cant resolve correctly this should not consume credits, because is a falut of the ai, in my case i ask to many time for complete code and the ai always give incomplete code.

Hi, thx for fast reply, i'm using vscode extension, and more tan 50% of the times i have incomplete answers or incomplete generated code, and this forces me to make a clic in reload or made a new question in chat, and this cause to me lost of credits because a fault of the ai, you will need implement that if the fault is because ai problem, then credits cant be discounted by this reason, only until ai guarantee a complete answer.
Thx
GM

De: PilarHidalgo @.>
Enviado: lunes, 28 de octubre de 2024 11:34 a. m.
Para: JudiniLabs/code-gpt-docs @.>
Cc: gianmarcelo @.>; Mention @.>
Asunto: Re: [JudiniLabs/code-gpt-docs] Generating Incomplete code cause lost to much credits in reload (Issue #380)
Hi @gianmarcelohttps://github.com/gianmarcelo, I understand you're facing an issue. Could you please provide more details about the problem you're experiencing? This will help me assist you better. What platform are you using—Playground, API, SDK, or the VSCode extension?
—
Reply to this email directly, view it on GitHubhttps://github.com/JudiniLabs/code-gpt-docs/issues/380#issuecomment-2442080283, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQTND7KBZJMGUUCNUD4Q3PTZ5ZRRDAVCNFSM6AAAAABQUXKUXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBSGA4DAMRYGM.
You are receiving this because you were mentioned.Message ID: @.***>

The logical process for discount inteactions is bad, you cant discount any credit without a correct and complete answer, first you need do well your job and then you can take our credits, because that is the logical order, and your app have to many bugs, and when the app failed  i lost my credits, Why? , and when i get a incomplete answer and need reload because that fault, why i need to pay again.

Hi @gianmarcelo, It would be very helpful for us to know which model you are using. Please remember that we have a way to report issues so that we can address them adequately. If you are using models like Gemini 1.5, the provider has been experiencing issues lately and is providing incomplete responses. We suggest switching the model provider to Claude Sonnet 3.5, for example.


When importing external nodes, enable only specific nodes

When bringing and dropping external nodes, I want to allow only specific nodes.
I want to disable a specific node, is there a way?

external nodes

external node1
external node2
external node3

current tree

root (candrop disabled)
subroot1 (this node)
item1
subroot2 (candrop disabled)
item1

The way i am currently using

 onDrop={(newTree, { dragSource, monitor, dropTarget }) => {
    const itemType = monitor.getItemType();

    if (itemType === NativeTypes.TEXT) {
        const nodeJson = monitor.getItem().text;

        const node = JSON.parse(nodeJson);
        const nodeType = node.type;
        const nodeData = node.data;

         const { type, originalId } = dropTarget;

          if (type === nodeType) {
              ...
              return;
          }
          .....
       return;
       }
       ...
}}

@developergunny
Thank you.
I found that the canDrop API is not evaluated when dropping an external node.
This is not expected behavior and will be fixed.

@developergunny Thank you. I found that the canDrop API is not evaluated when dropping an external node. This is not expected behavior and will be fixed.

Thank you for your efforts. Please let me know when that issue is fixed.

@developergunny
I just published an alpha version of v3.4.1.
You can install it like below.
npm install @minoru/react-dnd-treeview@alpha

In this version, it is possible to evaluate the dropability of external nodes using canDrop API.
Here is a sample
https://codesandbox.io/s/issue188-kkwznd
Please give it a try. If there are no problems, I will make an official release.

@minop1205
Thank you This works very well!
I just have one question.
I would like to allow "canDrop" depending on the state of an external node.
However, the information of the external node cannot be obtained before the state is dropped.
Do you have any solution? If not, I'll try another method.

The way i thought

canDrop={(tree, options) => {
       const { dragSourceId, dropTargetId, dragSource, dropTarget } = options;

       // But this warning message is displayed
       // "Browser doesn't allow reading "text" until the drop event."
       const externalType = dragSource.text;

       if (dragSourceId === undefined && externalType === dropTarget.type)  {
            return true;
       }
}}

I know that the drag and drop library has prevented it due to security concerns.
Just wonder if there is any way.
You don't have to answer if this isn't the right way or if it's not worth answering. Thank you.

@developergunny
I just published an alpha version of v3.4.1. You can install it like below.
npm install @minoru/react-dnd-treeview@alpha

In this version, it is possible to evaluate the dropability of external nodes using canDrop API.
Here is a sample https://codesandbox.io/s/issue188-kkwznd
Please give it a try. If there are no problems, I will make an official release.

@developergunny
I just published an alpha version of v3.4.1. You can install it like below.
npm install @minoru/react-dnd-treeview@alpha

In this version, it is possible to evaluate the dropability of external nodes using canDrop API.
Here is a sample https://codesandbox.io/s/issue188-kkwznd
Please give it a try. If there are no problems, I will make an official release.

@minop1205
Thank you This works very well!
I just have one question.
I would like to allow "canDrop" depending on the state of an external node.
However, the information of the external node cannot be obtained before the state is dropped.
Do you have any solution? If not, I'll try another method.

The way i thought

canDrop={(tree, options) => {
       const { dragSourceId, dropTargetId, dragSource, dropTarget } = options;

       // But this warning message is displayed
       // "Browser doesn't allow reading "text" until the drop event."
       const externalType = dragSource.text;

       if (dragSourceId === undefined && externalType === dropTarget.type)  {
            return true;
       }
}}

I know that the drag and drop library has prevented it due to security concerns.
Just wonder if there is any way.
You don't have to answer if this isn't the right way or if it's not worth answering. Thank you.

@developergunny
As you mentioned, the dataTransfer object cannot be accessed during a drag operation for the following reasons
https://stackoverflow.com/questions/40940288/drag-datatransfer-data-unavailable-in-ondragover-event
Therefore, if you want to determine whether or not a drop is possible depending on the state of an external node, you need to devise a way to useState or useRef in addition to the canDrop API.
In the following sample, the drop is controlled by the ID of the external node, but it is possible to get the expected behavior by storing the state of the external node somewhere and using it in canDrop.
https://codesandbox.io/s/issue188-kkwznd?file=/src/App.tsx

@minop1205
This is perfect!
Thank you!

Merged: https://github.com/minop1205/react-dnd-treeview/pull/190

The corresponding version of this Issue has been released as v3.4.2.


List libusb as dependency

At least on macOS you need to brew install libusb, in addition to the pip3 install stuff, or you get the following error:
./hwi.py enumerate
WARNING:trezorlib.transport.webusb:WebUSB transport is disabled: dlopen(libusb-1.0.dylib, 6): image not found
[]

Done in #138


[20.09] virtualbox: 6.1.16 -> 6.1.18

Signed-off-by: Bryan A. S<EMAIL_ADDRESS>(cherry picked from commit 72e688c97315553ae9ef76385f403aeaebb97dff)
Motivation for this change
Backport https://github.com/NixOS/nixpkgs/pull/110550 in 20.09
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

@jfroche Can you also cherry pick https://github.com/NixOS/nixpkgs/pull/112762/commits/5e56f17907262ba681754c4f527f552515cc0f16 to unbreak VirtualBox on Linux 5.10. I've tested that this works (compiled and running VBox on 5.10 right now).

@jfroche Can you also cherry pick 5e56f17 to unbreak VirtualBox on Linux 5.10. I've tested that this works (compiled and running VBox on 5.10 right now).

Cherry picked your commit but I am wondering now if we should instead revert 4e5e46061e5ea38beb08446ee0779e6fc7b16fe7 ?

@jfroche Can you also cherry pick 5e56f17 to unbreak VirtualBox on Linux 5.10. I've tested that this works (compiled and running VBox on 5.10 right now).

Cherry picked your commit but I am wondering now if we should instead revert 4e5e460 ?

I've seen it. It also marks other packages as broken. I only wanted to unbreak the VBox changes.

@flokli @blitz @jfroche i'm running this now, works great!


IS THIS PROJECT ABANDONED?

We see no commits/activity from Author. Last commit was 2018 October.
Should we switch to Matt Zollinhofer's fork?

I switched to this: https://github.com/KazanExpress/vue-simple-suggest - it is more complete

I switched to this: https://github.com/KazanExpress/vue-simple-suggest - it is more complete

With first glance,  I couldnt find that as satisfying as current Vue-Typeahead (because of the custom images along items and some other things...), might be i havent checked that well enough... will try in future.


docs(content): translate support.md and partner for deployment section

PR Checklist

Closes # N/A
What is the new behavior?

Add translation for the "Support" section
Add translation to Navbar item : Support
Add translation to Partner for Deployments section

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information
[optional] What gif best describes this PR or how it makes you feel?

@brandonroberts  I'm not sure if beta is the right branch.

@Villanuevand yep, that's the one

Thanks!


Review / use React forwarding refs

https://reactjs.org/docs/forwarding-refs.html

Closing as under-specified


feature/issue-48: TROPOMI CH4 get_epoch_time_var bugfix

Github Issue: #48
Description
Add logic so get_epoch_time_var can return the full time variable
Overview of work done
Overview of verification done
Add test so that input time type equals the output time type.
Overview of integration done
Explain how this change was integration tested. Provide screenshots or logs if appropriate. An example of this would be a local Harmony deployment.
PR checklist:

[x] Linted
[x] Updated unit tests
[x] Updated changelog
[ ] Integration testing

See Pull Request Review Checklist for pointers on reviewing this pull request

looks like the S5P_OFFL_L2__SO2____20200713T002730_20200713T020900_14239_01_020103_20200721T191355_subset.nc4 file got removed so the latest build failed.

looks like the S5P_OFFL_L2__SO2____20200713T002730_20200713T020900_14239_01_020103_20200721T191355_subset.nc4 file got removed so the latest build failed.

Should be good to go now


AttributeError: st.session_state has no attribute "retriever". Did you forget to initialize it?

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.

Example Code
st.header("Interweb Explorer")
st.info("I am an AI that can answer questions by exploring, reading, and summarizing web pages."     "I can be configured to use different modes: public API or private (no data sharing).")
def init_session_state():
return SessionState()
.get(retriever=None, llm=None)
Make retriever and llm
session_state = init_session_state()
Make retriever and llm
if 'retriever' not in st.session_state:
st.session_state['retriever'], st.session_state['llm'] = settings()
if session_state.retriever is None:
session_state.retriever, session_state.llm = settings()
web_retriever = st.session_state.retriever
llm = st.session_state.llm
Error Message and Stack Trace (if applicable)
embedding_function is expected to be an Embeddings object, support for passing in a function will soon be removed.
KeyError                                  Traceback (most recent call last)
File ~/.local/lib/python3.8/site-packages/streamlit/runtime/state/session_state.py:378, in SessionState.getitem(self, key)
377 try:
--> 378     return self._getitem(widget_id, key)
379 except KeyError:
File ~/.local/lib/python3.8/site-packages/streamlit/runtime/state/session_state.py:423, in SessionState._getitem(self, widget_id, user_key)
422 # We'll never get here
--> 423 raise KeyError
KeyError:
During handling of the above exception, another exception occurred:
KeyError                                  Traceback (most recent call last)
File ~/.local/lib/python3.8/site-packages/streamlit/runtime/state/session_state_proxy.py:119, in SessionStateProxy.getattr(self, key)
118 try:
--> 119     return self[key]
120 except KeyError:
File ~/.local/lib/python3.8/site-packages/streamlit/runtime/state/session_state_proxy.py:90, in SessionStateProxy.getitem(self, key)
89 require_valid_user_key(key)
---> 90 return get_session_state()[key]
File ~/.local/lib/python3.8/site-packages/streamlit/runtime/state/safe_session_state.py:113, in SafeSessionState.getitem(self, key)
111     raise KeyError(key)
--> 113 return self._state[key]
File ~/.local/lib/python3.8/site-packages/streamlit/runtime/state/session_state.py:380, in SessionState.getitem(self, key)
379 except KeyError:
--> 380     raise KeyError(_missing_key_error_message(key))
KeyError: 'st.session_state has no key "retriever". Did you forget to initialize it? More info: https://docs.streamlit.io/library/advanced-features/session-state#initialization'
During handling of the above exception, another exception occurred:
AttributeError                            Traceback (most recent call last)
Cell In[12], line 18
14     st.session_state['retriever'], st.session_state['llm'] = settings()
16 # if session_state.retriever is None:
17 #     session_state.retriever, session_state.llm = settings()
---> 18 web_retriever = st.session_state.retriever
19 llm = st.session_state.llm
File ~/.local/lib/python3.8/site-packages/streamlit/runtime/state/session_state_proxy.py:121, in SessionStateProxy.getattr(self, key)
119     return self[key]
120 except KeyError:
--> 121     raise AttributeError(_missing_attr_error_message(key))
AttributeError: st.session_state has no attribute "retriever". Did you forget to initialize it? More info: https://docs.streamlit.io/library/advanced-features/session-state#initialization
Description
AttributeError: st.session_state has no attribute "retriever". Did you forget to initialize it?
System Info
streamlit==1.25.0
langchain==0.0.244
chromadb==0.4.3
openai==0.27.8
html2text==2020.1.16
google-api-core==2.11.1
google-api-python-client==2.95.0
google-auth==2.22.0
google-auth-httplib2==0.1.0
googleapis-common-protos==1.59.1
tiktoken==0.4.0
faiss-cpu==1.7.4

hi im getting the error
web_retriever: vectorstore=<langchain_community.vectorstores.faiss.FAISS object at 0x33ff60ed0> llm_chain=LLMChain(prompt=PromptTemplate(input_variables=['question'], template='You are an assistant tasked with improving Google search results. Generate THREE Google search queries that are similar to this question. The output should be a numbered list of questions and each should have a question mark at the end: {question}'), llm=HuggingFacePipeline(pipeline=<transformers.pipelines.text_generation.TextGenerationPipeline object at 0x1764288d0>, model_kwargs={'temperature': 0.4}), output_parser=QuestionListOutputParser(pydantic_object=<class 'langchain.retrievers.web_research.LineList'>)) search=GoogleSearchAPIWrapper(search_engine=<googleapiclient.discovery.Resource object at 0x437b3aa50>, google_api_key='AIzaSyAjvqZsdo4Evelu8M7H9_vlyocNxIn-CfQ', google_cse_id='c764100213b2a4a1b', k=10, siterestrict=False) num_search_results=3 text_splitter=<langchain.text_splitter.RecursiveCharacterTextSplitter object at 0x144b60390>
llm HuggingFacePipeline

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/prasanthrentachinthala/anaconda3/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
exec(code, module.dict)
File "/Users/prasanthrentachinthala/Downloads/mistral2.py", line 262, in
llm = st.session_state.llm
^^^^^^^^^^^^^^^^^^^^
File "/Users/prasanthrentachinthala/anaconda3/lib/python3.11/site-packages/streamlit/runtime/state/session_state_proxy.py", line 121, in getattr
raise AttributeError(_missing_attr_error_message(key))
AttributeError: st.session_state has no attribute "llm". Did you forget to initialize it? More info:

Hi @Tejasree-Reddy, I'd be happy to help, but it is challenging for me to read your code without code blocks. You can do that by putting them in "" "".


Trap on SIGTERM in test scripts

Updates the test scripts to trap on SIGTERM as well as EXIT to clean up
the docker containers and dump the logs. This changes ensures that the
cleanup and log dumping happens when Jenkins aborts one of the scripts,
which will aid in troubleshooting issues.
Signed-off-by: Logan Seeley<EMAIL_ADDRESS>

Tested using a temporary commit that caused the CFT test to timeout; the logs were dumped successfully.


docs(node): initial getting started doc for node

PR Checklist
Please review the guidelines for contributing to this repository.

[X] I am requesting to pull a topic/feature/bugfix branch (right side). In other words, not master.
[X] I have run npm test against my changes and tests pass.
[X] I have added or edited necessary documentation, or no docs changes are needed.

Description
Adds a minimal (copied from repo readme) getting-started doc for Node.

Just a couple things. I think the image needs to be added here, and then it'd be good if the spokestack.io links were made relative.

weird, neither my spacemacs error checker nor the commit hook check is seeing those graphql dupes

The commit hook is working fine for me, but the hook was broken for a bit. You may need to rebase and npm install to get the latest hook.


cleanupSubscription is not working

Pulsar Functions Worker cleans the subscription in Functions Worker, see https://github.com/apache/pulsar/blob/branch-2.10/pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/FunctionActioner.java#L326-L343
Function Mesh only passes the cleanupSubscription to the function details, but without function worker, the config is not working on Function Mesh cluster.

Dose it mean we need to add a mechanism to inform the Function Woker to exec terminateFunction when the user deletes functions in the Function Mesh cluster?

@tpiperatgod not exactly, the better solution is to call pulsar admin apis to remove the subscription if the function is been deleted.


Initial Form Component

This component will be used by hackathon organizers to give details of participants.

For the future, take a look at a guide like https://www.atlassian.com/agile/project-management/user-stories about writing user stories.


write MidenVM constraints for the range checker (excludes multiset check constraints)

The constraints for the range checker are described here and implemented in Rust here.
The following constraints related to multiset checks should be excluded from this issue:

8-bit range checks table
range checker communication bus

closed by #184


Create Documentation Template

Background on the problem the feature will solve/improved user experience
Create a Documentation Template for Open Sentencing
Describe the solution you'd like
Add a .md file to the Github Issues Templates to create a new template
Tasks

copy the text in the following link:  https://raw.githubusercontent.com/Call-for-Code-for-Racial-Justice/Hacktoberfest/main/.github/ISSUE_TEMPLATE/documentation-template.md

Create a new file in the Open Sentencing folder: .github/ ISSUE_TEMPLATE

Paste the copied text from above into file

name the file:  documentation_template.md

commit the change to your branch and create a pull request

Acceptance Criteria

Documentation Template is in the Open Sentencing ISSUE_Template folder
As a user, when I click "new issue" in the Open Sentencing repository I see an option for the Documentation Template

Hi, can I work on this issue?


Throw an error when putting the relative address constant offset on the wrong side

When using relative addressing, writing [1+a.x] results in the 1+ being silently ignored - this should probably be a syntax error instead, or do the same as [a.x+1].

Looks like I failed here:
https://github.com/fincs/picasso/blob/master/source/picasso_assembler.cpp#L719
Should have been if (!*idxType).
Thanks for reporting, will fix at some point.

ping


Ready for 0.5.0 PyPI/GitHub release

Release checklist for GitHub contributors

[x] All PRs/issues attached to the release are merged.
[x] All the badges on the README are passing.
[x] Locally rendered documentation contains all appropriate pages, including
API references (check no modules are missing), tutorials, and other human
written text is up-to-date with any changes in the code.
[x] Installation instructions in the README, documentation and on the website are updated and tested
[x] Successfully run any tutorial examples or do functional testing in some
other way.
[x] Grammar and writing quality have been checked (no typos).

Double check Python version badges on README and doc.

Double check Python version badges on README and doc.

Fixed


macOS GHA runner misses libhdf5

install hdf5 lib on the the macos GHA runner before executing python package installation
there might be other system libraries that are missing that need to be installed

Example: https://github.com/nawrotlab/larvaworld/actions/runs/11816592066/job/32920207721

The mac-OS testing in the ci.yml of the github actions has been commented out.
Any contribution that addresses this issue can be tested on commit by uncommenting that line.


Flutter should provide access to Mozart's FrameInfo::presentation_time

Flutter should provide access to Mozart's FrameInfo::presentation_time, possibly in BuildContext.
Motown expresses timelines with respect to presentation time so that UI can be synchronized with audio and video. For c++ UI implemented as a subclass of BaseView, this is available through frame_tracker().frame_info().presentation_time. Flutter should provide access as well.
The current need for this is to correctly animate the media player widget's progress bar. The fidl MediaPlayer exposes progress as a set of coefficients that may be used to convert Mozart presentation time into a content-relative media presentation time.
(Report from Dale Sather)

cc @chinmaygarde

I found SchedulerBinding.instance.currentFrameTimestamp. This is close to what I need, but doesn't have a useful epoch. Epoch for FrameInfo::presentation_time is (Fuchsia) system startup.

How do you want to handle time dilation? That is, if the developer says to run time at 0.5x normal speed, what should happen?

I'm not familiar with that feature, but I'm pretty sure the timestamp I'm looking for should not be affected. Hopefully this is true of FrameInfo::presentation_time.
What I'm trying to achieve is to synchronize UI with external events. For example, if I have a progress slider for audio playback, the slider needs to be synchronized with audio playback, which is completely external to flutter. I have a function that will convert FrameInfo::presentation_time to a suitable progress value for the slider.
Video frame selection, which happens in a Mozart child view written in C++, uses FrameInfo::presentation_time and should also be indifferent to dilation.

When does the presentation_time change? from the vsync?

Assuming that is where the presentation_time comes from, I would make the time that you pass from the engine to Dart via onBeginFrame be this presentation time, and I would store it on the SchedulerBinding as something like currentSystemFrameTimeStamp.

I'm not familiar with Mozart internals, but I assume you're correct. presentation_time is available to a view's OnDraw method (at least) via frame_tracker().frame_info().presentation_time. FrameTracker is here: https://github.com/fuchsia-mirror/mozart/blob/master/services/composition/cpp/frame_tracker.h. I access it in my video renderer here: https://github.com/fuchsia-mirror/media/blob/master/src/media_service/video_renderer_impl.cc#L77.
Sorry, I'm unsure from the wording of your comment whether you're suggesting I do something or you're saying what you will do. If it's the former, I'm not sure where mozart and flutter actually meet in fuchsia. I see onBeginFrame in flutter but not in apps/mozart or apps/sysui.
SchedulerBinding.instance.currentFrameTimestamp would be fine if only I knew the offset between its epoch and the epoch of mx_time_get(MX_CLOCK_MONOTONIC), which is widely used in fuchsia.

SchedulerBinding.instance.currentFrameTimestamp doesn't have a fixed epoch, it changes whenever the timeDilation changes and at various other times (e.g. on hot reload). I'm suggesting we (you, me, maybe @chinmaygarde) add a SchedulerBinding.instance.currentSystemFrameTimestamp that reflects the presentation_time for the currently running frame.

Perfect, thanks

Yes, I still think this is important.
Media players need to synchronize UI animation with media presentation.
'clock monotonic' is the underlying time base used for presentation, both
for media and for scenic.
Regardless of time dilation, presentation_time should reflect that actual
'clock monotonic' time at which the current frame will be presented. If
media presentation is to be dilated as well, this must be handled in the
media pipeline, which will understand the relationship between dilated
presentation time and clock monotonic.
On Tue, Dec 4, 2018 at 1:11 AM Günter Zöchbauer<EMAIL_ADDRESS>wrote:

Is there still something to do?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/10850#issuecomment-444025692,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMxHXeneKZiqEJex61sFD0nNa0syE_xWks5u1jxMgaJpZM4N-53q
.

@dalesat , I want to make sure that I understand this issue.
The problem we are trying to solve is coordinating UI events based on an external service, in this case it's the media player FIDL service. As the media player uses "clock monotonic" to drive its events, you wish to use the same (exposed via Flutter) to drive the UI events.
Is that correct?
If so, Is there a reason we can not use FIDL to talk to the clock service via dart-fidl bindings, and then use them to drive the UI events?

The flutter application knows the relationship between player's
'presentation time' (distinct from scenic presentation time) and system
time (CLOCK_MONOTONIC). What it doesn't currently know is the system time
at which the view being drawn at the moment will be presented. It needs to
be able to obtain this information synchronously, so that information needs
to be provided in the context of the render (term?) that's currently
happening.
On Mon, Dec 2, 2019 at 4:08 PM Kaushik Iska<EMAIL_ADDRESS>wrote:

@dalesat https://github.com/dalesat , I want to make sure that I
understand this issue.
The problem we are trying to solve is coordinating UI events based on an
external service, in this case it's the media player FIDL service. As the
media player uses "clock monotonic" to drive its events, you wish to use
the same (exposed via Flutter) to drive the UI events.
Is that correct?
If so, Is there a reason we can not use FIDL to talk to the clock service
via dart-fidl bindings, and then use them to drive the UI events?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/10850?email_source=notifications&email_token=ADGEOXM3Q6DSE7TGZCZHKI3QWWPPFA5CNFSM4DP3TXVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFXTWQQ#issuecomment-560937794,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADGEOXPBZFMBHPFASOB3DPDQWWPPFANCNFSM4DP3TXVA
.

I believe the framework side of this was done as part of https://github.com/flutter/flutter/issues/33216. I am going to remove the framework label.

This is fishy to me.  If you want to synchronize UI events to media playback you should be writing something like this:
let player = new Player("foo.mov")
player.AddObserver((mediaTimeMicroSeconds) => _playhead.SetTime(mediaTimeMicroSeconds));
player.play()

Flutter just needs to know the current media time of the video/audio and should base all of the drawing off of that information alone.

The player reports progress as a set of coefficients that can be used to
calculate the presentation time from the system monotonic clock. This
design is preferred over one that incurs a lot of IPC traffic to get
presentation time values that are 1) inaccurate due to the transit time of
the IPC response, and 2) not available synchronously when you need them.
On Fri, Dec 6, 2019 at 2:38 PM gaaclarke<EMAIL_ADDRESS>wrote:

This is fishy to me. If you want to synchronize UI events to media
playback you should be writing something like this:
let player = new Player("foo.mov")
player.AddObserver((mediaTimeMicroSeconds) => _playhead.SetTime(mediaTimeMicroSeconds));
player.play()
Flutter just needs to know the current media time of the video/audio and
should base all of the drawing off of that information alone.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/10850?email_source=notifications&email_token=ADGEOXI7BN7DEVJY5FZY6XDQXLH6NA5CNFSM4DP3TXVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGFR27I#issuecomment-562765181,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADGEOXLKAZA7266M6CIFHBDQXLH6NANCNFSM4DP3TXVA
.

How bad is the transit time?  It's the same computer isn't it?  A playhead that is 200ms behind isn't really going to miff anyone.  Especially considering that might even leave the playhead on the same pixel anyway.
You can cut down in chattiness by controlling the broadcasting samplerate, 2 x the refresh rate of the screen should be all that's needed.

The current design is better, and the bug represents a reasonable request.
Thanks anyway.
On Fri, Dec 6, 2019 at 2:58 PM gaaclarke<EMAIL_ADDRESS>wrote:

How bad is the transit time? It's the same computer isn't it? A playhead
that is 200ms behind isn't really going to miff anyone. Especially
considering that might even leave the playhead on the same pixel anyway.
You can cut down in chattiness by controlling the broadcasting samplerate,
2 x the refresh rate of the screen should be all that's needed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/10850?email_source=notifications&email_token=ADGEOXJI4RU3HW5NXEZS76TQXLKKPA5CNFSM4DP3TXVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGFTNYI#issuecomment-562771681,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADGEOXNF3MU4B5QSDVALYD3QXLKKPANCNFSM4DP3TXVA
.

Right on.  This is filed as "customer critical" which means you are blocked from shipping.  I merely presented a way forward.  I think this might be better filed as a feature request since we both admit there is an acceptable solution available, we'd just like to make a better solution available.  FWIW I suspect the synchronization problems this request prevents are hypothetical with respect to the discrete nature of the machine and human perception.

Your point is taken. A simpler alternative to having this feature
implemented is to simply use the current time when calculating progress,
current time being a reasonable approximation of the presentation time.
On Fri, Dec 6, 2019, 6:46 PM gaaclarke<EMAIL_ADDRESS>wrote:

Right on. This is filed as "customer critical" which means you are blocked
from shipping. I merely presented a way forward. I think this might be
better filed as a feature request since we both admit there is an
acceptable solution available, we'd just like to make a better solution
available. FWIW I suspect the synchronization problems this request
prevents are hypothetical with respect to the discrete nature of the
machine and human perception.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/10850?email_source=notifications&email_token=ADGEOXPDEXDGAC56NTYHXBLQXME7VA5CNFSM4DP3TXVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGF35UI#issuecomment-562806481,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADGEOXKQZIR6TUYZIXFVOZLQXME7VANCNFSM4DP3TXVA
.

This should be relatively trivial to implement on our side, no? It's just piping data from one API to another, if I'm not mistaken.

Once https://github.com/flutter/engine/pull/14318 rolls into the framework, it will make it so that we pass the frame_target_time for window.onBeginFrame. Which should mean that using currentSystemFrameTimeStamp will reflect the time, with the CLOCK_MONOTONIC epoch, for when the frame will likely be presented.
@dalesat you would want to switch usages of currentFrameTimeStamp to currentSystemFrameTimeStamp.


./pufferpanel: line 142: uuidgen: command not found

while installing pufferpanel base the above notice came up.
I've just entered a name an went further. Don't know if somethin is missing beause of that missing command.
Happened with unubtu trusty and wily
Please enter the following information for the new admin user
./pufferpanel: line 142: uuidgen: command not found
Username:

This should be in the default install of Ubuntu 14.04 and 15.10, but if you run:
sudo apt-get install uuid-runtime

This error should be fixed.


Figure out a release/editorial process

Currently, the website gets updated publicly whenever there is a push to main. This is not ideal and risky.
For content, it might include these steps

Someone fact checks it
Someone proofreads it
The ready text could be approved by someone/multiple someones
Merged to master

New code is submitted as a pull request

Tests are ran
The code is reviewed
The ready code could be approved by someone/multiple someones
We may also use branch protection rules to enforce parts of this process.

I've added branch protection for main

I'm torn on whether to create issues and pull requests for each page or just pull requests.

Perhaps, if it's coming from a thread we've discussed on Discord, we could just submit a PR. If it's a person from non-Discord community, they'd need to first submit an issue, get it okayed to work on and then submit a PR when they are done. We could even describe only this pathway in the contribution guide and bypass the issues within the team.

I like this. Will work on documenting that

What do you think @lynkos @Toasterbirb ?

The current setup probably works well enough already. I can do conversion and do it quickly.


Make .crystal directory location configurable

Default behaviour unchanged
Allows to not clutter stuff up with .crystal directories wherever you happen to run crystal eval
No conflicts, generated files are already namespaced by their full path
Potential reusage of temporary files after changing the current working directory and compiling the same file again
Slight speedup by setting the location to somewhere in /tmp
If we later decide to put the default location into /tmp/crystal, ~/.crystal or whatever, if available, there's now a central place to implement that logic.

Yes !!! Yes please , I have like 10 different hidden .crystal folder all over my /home .
Thanks @jhass
+5 for this

+1 of course, but I don't think it should clutter the home directory unless it's a hidden folder. So not ~/crystal, but maybe ~/.crystal or ~/.cache/crystal or something.

Not that this pr does that of course, just referring to your last bullet point.

Looks good. Should it be named CRYSTAL_TMP_DIR maybe?

Don't care much about the name, just used what was used in the codebase already. Should I change it?

I wouldn't care about the name either, except that it has to be set as an ENV var. I think CRYSTAL_TMP_DIR is better, CRYSTAL_OUTPUT_DIR sounds like the dir where executables are going to be created.

Changed to CRYSTAL_CACHE_DIR after discussion on IRC.

:+1: that would help with my ecryptfs home, where I sometimes hit the filename length limit.

:+1: I was thinking to anchor .crystal to be a sibling of the Projectfile. But fixing to the whole environment seems simpler.


update overridden config for 1.10

Oops. Suspect this happened a while back. Fixed before release anyway ...
/assign @zacharysarah

Thanks folks. Why I love PRs and reviews!

/hold cancel


Unable to access gptr.dev

I'm unable to access any pages on https://gptr.dev/
Chrome reports the following error:

I have also tried using Firefox which doesn't work either.

It works on my end. However at work, it is blocked by our VPN, as it is wrongly classified as parked domain.

Very strange @danieldekay and thanks for raising it. Works on my end. Have you tried entering it from another network like your mobile (not wifi)?


No strong types on filters

Hello!
When using a model function, typescript does not error when using non-existing attributes on the schema.
const Model = papr.model('collection', schema(
  {
    attributeExists: Types.objectId(),
  }));

(async () => {
  await Model.findOne({ attributeNotExists: new ObjectId() });
})();

Hi there!
We would also like to have strong types. We were researching some months ago and the permissive type is coming from MongoDB NodeJS driver. You can find more info there:

https://jira.mongodb.org/browse/NODE-3905
https://github.com/mongodb/node-mongodb-native/pull/3115

Basically, they prefer to avoid narrowing the type and prevent issues when evolving MongoDB operators. Is there anything we could do from Papr? Maybe overwrite Filter?.

@CarlosLozanoHealthCaters I did actually try to overwrite Filter with a custom version in Papr, but I ended up in a big rabbit hole and other errors surfacing up.
I didn't know about the PR you linked from the mongodb repo. I'll try that code and see if it has a better outcome than my previous attempt.

The main issue is that RootFilterOperators extends from Document. If we are able to overwrite that interface without that extension, everything will work correctly.
export declare interface RootFilterOperators<TSchema> ~~extends Document~~ {
    $and?: Filter<TSchema>[];
    $nor?: Filter<TSchema>[];
    $or?: Filter<TSchema>[];
    $text?: {
        $search: string;
        $language?: string;
        $caseSensitive?: boolean;
        $diacriticSensitive?: boolean;
    };
    $where?: string | ((this: TSchema) => boolean);
    $comment?: string | Document;
}

I did exactly this: I copied the types from mongodb and removed the extends Document and I got so many new errors (in our private repo).

It would be something like:
export declare type PaprFilter<TSchema> = Partial<TSchema> | ({
    [Property in Join<NestedPaths<WithId<TSchema>, []>, '.'>]?: Condition<PropertyType<WithId<TSchema>, Property>>;
} & PaprRootFilterOperators<WithId<TSchema>>);

export declare interface PaprRootFilterOperators<TSchema> {
    $and?: PaprFilter<TSchema>[];
    $nor?: PaprFilter<TSchema>[];
    $or?: PaprFilter<TSchema>[];
    $text?: {
        $search: string;
        $language?: string;
        $caseSensitive?: boolean;
        $diacriticSensitive?: boolean;
    };
    $where?: string | ((this: TSchema) => boolean);
    $comment?: string | Document;
}

And then change all reference of Filter by PaprFilter in all internal types in papr and your private repo.
Did you have time to check if the errors were due to wrong naming in the filter?
Can you provide with an example of the errors so we can check together and think for a solution?

Here's the branch in question: https://github.com/plexinc/papr/tree/feature/papr-filter-inexistent-fields
I'll try to dig up some of those new errors.

An example of the errors that show up with this branch in our private repo:
Argument of type '{ 'person._id': ObjectId; }' is not assignable to parameter of type 'PaprFilter<{ _id: ObjectId; type: CreditType; person: { _id: ObjectId; name?: string | undefined; images?: { thumbnail?: string | undefined; } | undefined; slug?: string | undefined; }; ... 6 more ...; isPrimary?: boolean | undefined; }>'.
  Object literal may only specify known properties, and ''person._id'' does not exist in type 'PaprFilter<{ _id: ObjectId; type: CreditType; person: { _id: ObjectId; name?: string | undefined; images?: { thumbnail?: string | undefined; } | undefined; slug?: string | undefined; }; ... 6 more ...; isPrimary?: boolean | undefined; }>'.

The code:
await Credit.deleteMany({ 'person._id': person._id });

Part of the schema:
const creditSchema = schema({
  // ...
  person: Types.object(
    {
      _id: Types.objectId({ required: true }),
      name: Types.string(),
      slug: Types.string()
    },
    { required: true }
  ),
});

This may be caused by the recursive protections built in the NestedPaths type helper, but I'm not entirely sure. And if it is, I'm not sure how to work around it.

I will try to work with that piece of code and check if I can find a solution!

Closed in #430


Netstandard 2.0  - SvgDocument.GetXML()

I'm having trouble getting netstandard2.0 to work which was added in #509
The build command I am using (from the source directory) is:
dotnet build -c release -f netstandard2.0 Svg.csproj

I get the warning
warning NU1701: Package 'Fizzler 1.1.0' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.2'. This package may not be fully compatible with your project.

I noted that netstandard is only supported from v1.2 (rather than the v1.1 referenced on main). I blindly changed the version in the .csproj file and tried again (required removing the other compilation targets). This then build successfully.
I refernced this into my project and all seems well until I get to SvgDocument.GetXML() which throws the exception:
{System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Svg.SvgElement' threw an exception. ---> System.PlatformNotSupportedException: System.Drawing is not supported on this platform.
   at System.Drawing.Text.PrivateFontCollection..ctor()
   at Svg.SvgElement..cctor() in C:\Users\Hugh.Groves\Documents\VS_Code_Projects\SVG-1\source\SvgElementStyle.cs:line 420
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at System.RuntimeFieldHandle.GetValue(RtFieldInfo field, Object instance, RuntimeType fieldType, RuntimeType declaringType, Boolean& domainInitialized)
   at System.Reflection.RtFieldInfo.UnsafeGetValue(Object obj)
   at System.Reflection.RtFieldInfo.GetValue(Object obj)
   at Svg.SvgElement.WriteAttributes(XmlTextWriter writer) in C:\Users\Hugh.Groves\Documents\VS_Code_Projects\SVG-1\source\SvgElement.cs:line 601
   at Svg.SvgFragment.WriteStartElement(XmlTextWriter writer) in C:\Users\Hugh.Groves\Documents\VS_Code_Projects\SVG-1\source\Document Structure\SvgFragment.cs:line 308
   at Svg.SvgElement.Write(XmlTextWriter writer) in C:\Users\Hugh.Groves\Documents\VS_Code_Projects\SVG-1\source\SvgElement.cs:line 788
   at Svg.SvgDocument.Write(XmlTextWriter writer) in C:\Users\Hugh.Groves\Documents\VS_Code_Projects\SVG-1\source\SvgDocument.cs:line 704
   at Svg.SvgDocument.Write(Stream stream, Boolean useBom) in C:\Users\Hugh.Groves\Documents\VS_Code_Projects\SVG-1\source\SvgDocument.cs:line 729
   at Svg.SvgExtentions.GetXML(SvgDocument doc) in C:\Users\Hugh.Groves\Documents\VS_Code_Projects\SVG-1\source\SvgExtentions.cs:line 38
   at DesignCheck2.Examples.DynamicImage.CreateImage(Double width, Double height) in c:\Users\Hugh.Groves\Documents\designcheck2\DesignCheck2\DesignCheck2\Examples\DynamicImage.cs:line 76
   at DesignCheck2.Examples.DynamicImage.<>c__DisplayClass0_0.<.ctor>b__0() in c:\Users\Hugh.Groves\Documents\designcheck2\DesignCheck2\DesignCheck2\Examples\DynamicImage.cs:line 35
   at DesignCheck2.Framework.ReportSvgGraphic_Delayed.get_SVG() in c:\Users\Hugh.Groves\Documents\designcheck2\DesignCheck2\DesignCheck2\Framework\Report.cs:line 424}

In my project I have referenced svg.dll and system.drawing.common.dll, what else am I doing wrong!

@HughGrovesArup What is your Program target framework? I usually target multiple frameworks when publishing library so when its executed (usually net461 or netcoreapp2.2 target) the missing platform features are available in main app.  I have custom nuget build https://www.nuget.org/packages/Svg.Custom that targets .NETStandard 2.0, .NETCoreApp 2.2 and .NETCoreApp 3.0.

It's a plain netstandard2.0 class library. Just some simple functions being served over an API that we want the future flexibility to run on linux if required.
Thanks for the custom nuget builds, I'll give them a try.

That's sorted things for me, thanks @wieslawsoltes!

Actually spoke too soon, built and tested locally, but is failing on my VM with the error message
System.Drawing is not supported on this platform.

How can it be said to support netstandard2.0 if it requires a library (System.Drawing) that is not available? Would not all of the System.Drawing calls need to be replaced wih something that is available, or can be packaged in (I believe System.Drawing.Common?)

Maybe its this issue: https://stackoverflow.com/questions/51904125/azure-function-gives-error-system-drawing-is-not-supported-on-this-platform
Did you try running using different target framework like net461 ?

Actually spoke too soon, built and tested locally, but is failing on my VM with the error message
System.Drawing is not supported on this platform.

How can it be said to support netstandard2.0 if it requires a library (System.Drawing) that is not available? Would not all of the System.Drawing calls need to be replaced wih something that is available, or can be packaged in (I believe System.Drawing.Common?)

In the FAQ is some detail regarding the System.Drawing stuff. We need some Drawing and GDI stuff and that requires a wrapper/replacement on Linux and Mac systems. Also, some edgecases, like Azure functions simply do not support System.Drawing.
The .NET Standard defines that System.Drawing is part of the base system (https://docs.microsoft.com/en-us/dotnet/api/system.drawing?view=netstandard-2.0), but the implementors of each runtime environment are (as far as I know) free to limit/disable certain stuff. If you have a very limited installation (e.g. headless or whatever), there is a possibility some of the stuff is just not supported regardless of .NET standard.

@HughGrovesArup I did some tinkering in the past with the SVG lib to get it in an API. I tried making a WebAPI (ASP.NET MVC) and Azure function. The azure function gave the same PlatformNotSupported exception, while the WebAPI was able to run just fine in a app service. I did not try to set the target to .NET standard, but I got it fully working with .NET Core. So it might be something you can check.
See: https://github.com/gvheertum/SvgToBitmapApi

From my reading I had seen that System.Drawing.Common could be used instead of System.Drawing and then things would 'just work'. I had assumed that the inclusion of netstandard2.0 support would have made the switch from System.Drawing to System.Drawing.Common but it appears thats not the case.
If I get the chance I'll have a play and see if I can get it to work by using System.Drawing.Common
https://www.hanselman.com/blog/HowDoYouUseSystemDrawingInNETCore.aspx

Mmm, the article is a bit old. Since 2.0 the System.Drawing seems to be natively supported in standard (see also the Microsoft page, if you switch to standard < 2.0 you get a message that System.Drawing is not available, but in 2.0 it shows the namespace details), so I don't think there is an absolute need for a switch to common (correct me if I'm wrong). Also, the warning you get is something that should not be a problem (at least for me at MacOS no issues so far) since the framework is kinda able to do some "magic" to get it working. We are still investigating if we can have a standard/core version of the linked library to get rid of the warning.
By the way the gdiplus stuff is still needed on OS-es like Ubuntu (and I guess it also goes for MacOS) according to the article of Hanselman. Most stuff of the library even works without the GDI+ replacement and we did some changes to show a nice error when the GDI+ cannot be used. The error you get comes from a different place and really seems to be related to the implementation/capabilities of the deployment target (hence the different behavior locally and deployed). These exceptions even occur when deploying certain stuff to certain .Net 4.6+ targets (e.g. to run most PDF generators you need to move from App Services to Classic Cloud architecture on Azure since some of the lower level calls are just not enabled in AppServices.
We did come a long way since the article of Hanselman and the Standard supports a lot of stuff to be compiled against (the System.Drawing did not even compile in the past), but we are still dependent on the support of the target systems. This is a bit like how in the past UWP worked, there were a lot of calls that just no-opped or were not supported on some of the frameworks. .NET standard and core are a bit like that, they support compiling and coupling with a lot of calls, but not all calls might work on all platforms (e.g. in Core 3.0 you can build WPF and WinForms apps and technically you can start these compiled versions on MacOS, but unfortunately you will not be shown a GUI).

(Appreciate the point about Azure functions not allowing it to work due to the GDI stuff).

Funny thing is you can even see this behavior when running a function locally (at least if I remember correctly). The function will yield a platform not supported message, even when running on Windows, while the same code will work without problems outside of the function.

This problem is definitely not solved. I just tried to use this in a .NET Standard 2.0 library from a UWP app, and I get the same unsupported exception. Why does it require System.Drawing to parse the file?


Add ID attribute for elements on the Feed Page

What does this pull request aim to achieve? 💯
resolves #1045

Link to test?

https://featurefeed-page-id-attribute.fightpandemics.xyz


Create variant screen

After the field for inputting quantity add the unit (kg, g) after the field to indicate what type of number you are putting in.

Fixed in https://github.com/localfoodnodes/localfoodnodes/commit/8a99991128594b97a0810d9fd7bda1704f302ac7


Font Colors

Customize Font Colors
Short description of the feature
users can customize the colors of the strings - methods - values etc. to their taste

Extra details:

More verbose details of features

This is actually supported, but is done externally for now.
I wrote a small guide on it here: https://coley.software/recaf-creating-custom-themes/

@Col-E i hope you add so that it can be changed through the program interface

I plan to eventually have a live editor with a preview mode. Its not that hard to set that up. But that'll be done later. I'm currently focusing on other issues.

@Col-E thx

👍

Information on how to create a custom theme can be found here:

https://col-e.github.io/Recaf/doc-advanced-theme.html

The plugin that activates the theme editor (which isn't done yet, but is usable at this point) is in the #plugins channel on discord until I create a proper list of plugins somewhere.


chore: remove unused forward proxy object

During live review, it was proposed we move the forward proxy objects from the API into a retired directory in cmd/database-migrator/migrations/retired.  This lead to an inability to build the database-migrator binary:

So that file will need to remain in the API package.  I have added a comment to pkg/api/v0/forward_proxy.go to explain why it is there.


Would you guide me how to use these codes?

i am not getting how to start with this code

Hi,
This is a toolbox  that was used by our team mainly for processing SSVEP datasets [1], so it contains all the state of the art algorithms for this BCI paradigm. The examples that are provided work with our datasets, which can be downloaded from the links that are provided in the README. We also used this toolbox for two more BCI paradigms, processing of SMR signals, and detection of Error Related Potentials, however this was not the focus of the toolbox and there might be shortcomings for these cases. I would start by downloading one of our datasets e.g. Dataset III which is the most lightweight and run the exampleEPOC (make sure to uncomment lines 4&5 on the example file).
For using the toolbox with your own data you should have a look at the eegtoolkit.util.Session class and provide your own method for loading the dataset in the required format.
[1] https://www.youtube.com/watch?v=xnjfuqRtAgE


test: clean up test runtime libs (1)

Commit Message:
Additional Description:
Risk Level: Low
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/retest

/assign @phlax


Json report created only when test started via terminal, not when started via Cypress UI

Current behavior
As the title says, the report json file is created only if I run a test via terminal. Not when I open Cypress UI and click on test there.
The cucumber-messages.ndjson file is created immediately when test is started via command line, not when test starts when clicked in cy UI.
I have a lot of .feature files - placed in many folders, so to retype command is really time consuming. Clicking in the UI is much easier, not everyone likes command line ...
Desired behavior
That a json file would be created also when someone executes a test via the Cypress UI.
Another, even more awesome - yet that would be a feature request - would be if the json would take ie. the name of the feature file that was executed ... The old setting for the other cypress-cucumber-preprocessor did that, the settings then were in cypress.json (yes, I am not having this in my cy 12 project, only in the .cypress-cucumber-preprocessorrc.json),
"cypress-cucumber-preprocessor": {
"nonGlobalStepDefinitions": true,
"cucumberJson": {
"generate": true,
"outputFolder": "cypress/reports-cucumber",
"filePrefix": "",
"fileSuffix": ""
}
}
Now I have few options - run whole suite - huge project, runs over 10 hours, output would be 1 json file. Report would contain few failed tests. To green them up, I'd need to adjust those, rerun the whole suite ...
Run folder by folder - and rename the .json everytime so I could compile it to 1 report file.
Best would be truly having a json fer every feature ... then only the particular test would need to run, huge time saving ...
Test code to reproduce
My .cypress-cucumber-preprocessorrc.json settings:
{
"stepDefinitions": ["cypress/support/step_definitions/**/*.{js,ts}"],
"json": {
"enabled": true,
"output": "reports-cucumber/cucumber-report.json"  (already found out that not specifying the filename doesn't work)
}
}

Versions

Cypress version: 12.17.1
Preprocessor version: 18.0.1
Node version: 18.16.1

Checklist

[X ] I've read the FAQ.
[X ] I've read instructions for logging issues.
[ X] I'm not using<EMAIL_ADDRESS>(package name has changed and it is no longer the most recent version, see #689).

Pity that a non-programmer doesn't understand what is written in FAQ nor how to use the cypress-on-fix ... Broke my project, had to return it to the previous state.


Mldb 1639 join where

same row name convention as regular executor
properly consider outer joins in cross executor
Allow any kind of 'where' even when there is no 'on' expression

+1


Postgres Exporter converts time into epoch timestamp

Hi,
thanks for the great exporter.
Recently i came across a strange behaviour of the postgres exporter. I am trying to put a time value e.g. "2018-04-10 14:12:03.714" from a sql statement within my custom query file in a prometheus label.
When I execute my sql statement on the database server I am getting the right date format like above, but when I am looking at the exporter output it seems that the exporter converts this time format in the epoch timestamp e.g.<PHONE_NUMBER>.
Is it possible to let the exporter not touch this date format?

It's possible but I'm not sure its a good idea. Putting timestamps in labels isn't going to be great for Prometheus to store in it's backend - what's your use case?

For an immediate fix you could just have your query cast the date type to a string in the output. That would mean the exporter would leave the value alone in conversion.

Thanks for the advice with this change the exporter imports the date as i want it to be.
Because this is a grafana issue I think this issue can be closed.


vqfx image changes

[x] Use qemu monitor savevm command to save a snapshot of a fully booted and bootstrap config'd image to speed up boot times

[ ] Modify vqfx image to use front panel ports instead of management Probably a different PCI index, just haven't had a chance to play with it yet (should ask tim mcarthy)

The vPFE is needed for the front-panel ports to be used. So I'll need to snapshot that and experiment with it a bit and see how badly startup time is impacted, if at all. Probably won't get to it until after go-live, so we'll have to live with em ports for now.


[Ballerina Quick Tour – Community Engagement] compilation error in client.bal for calculator service

Description:
Compilation error in client.bat file
error: .\client.bal:17:20: not enough arguments in call to 'post()' compilation contains errors
Affected Product Version:
Ballerina 0.975.1
OS, DB, other environment details and versions:
Windows 10, Java(TM) SE Runtime Environment (build 1.8.0_172-b11)
Steps to reproduce:
Created client.bal file in parent directory
Pasted the code
Run ballerina run client.bal
Following Resolved
Change line 17
From var response = clientEndpoint->post("/calculator/operation", request = req);
To var response = clientEndpoint->post("/calculator/operation", req);

Duplicate issue https://github.com/ballerina-platform/ballerina-www/issues/964 This is fixed with
https://github.com/ballerina-platform/ballerina-www/pull/967 and will be updated in the web site with 0.980.0 release


update include path listed in doc/index.html

the code examples list "leveldb/include/file.h" but the source tree is
`include/leveldb/file.h`; presumably this is an artifact from something else,
and just "leveldb/file.h" would be how people typically include header files
(this may change if a make install is added to the Makefile)

Original issue reported on code.google.com by jehiah on 30 Jul 2011 at 4:37
Attachments:

index.html.patch

This is fixed in r42.

Original comment by<EMAIL_ADDRESS>on 16 Aug 2011 at 1:45

Changed state: Fixed

Original comment by<EMAIL_ADDRESS>on 8 Aug 2011 at 10:19

Changed state: Accepted


CloudUtils.mediaUpload methods are dependent on the password

Need to support only securityToken for the mediaUpload methods in the cloud utils.

Fixed in version 1.20


Create initial distribution .zip file

Modified build.xml so that it uses modules's dist target instead backpublish.
This makes sure that produced artifacts are compiled and produced inside each module instead duplicated inside ceylon-dist build directory.
Added a simple distribution .zip file as well.
Next step is fixing shell files to make sure they work OOB for client.

Looks good, thanks, though I don't think that using publish produced anything in ceylon-dist/build, here it didn't, they were built properly in each project.

And could you explain what kind of changes you have in mind for the OOB experience for the shell scripts? Just so we make sure it isn't something that should actually be handled by the runtime.

I meant to use filter and rewrite script from build.properties instead having duplicate management for versions in scripts.
Also windows batch files presume there is HOME set
this should be
if "%HOME%"="" (set "HOME=%HOMEDRIVE%%HOMEPATH%")

version: ok cool

I see. Its %USERPROFILE%
This does not however relates to user.home property, cause
changing any of these does not influence that (at least for Java6)
since JVM guess that directly from registry by parsing
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
It reads Desktop key and removes the last path part and that's user.home
However suppose %USERPROFILE% will do in most cases.
In the end it might be better to allow explicit HOME setting and if that's empty
then use %USERPROFILE%
eg.
if "%HOME%"=="" (set "HOME=%USRPROFILE%")

Sure.


Job not found: build

Getting the following error while using this action:
##[error]job not found: build

I think it's a problem with matrix actions

I've also come across this issue in this action run: https://github.com/dokku/ci-docker-image/runs/1496752754?check_suite_focus=true
Here is my commit: https://github.com/dokku/ci-docker-image/tree/78e3d5347d05e73c43ef72eb4bc631081f15f897

yes also come across a problem with matrix actions - any solutions?


TypeError : e is null for firefox

Hi there @junedchhipa ,
i have a dashboard where i am displaying the apex charts and up on clicking on the side nav bar , i will be loading other page , so when ever i load another page from the dashboard in firefox , i m getting below error type error specific to firefox only

Is there any solution for this, Thank you.

@junedchhipa any chance to make a release?

I apologize, but when we will get a new release with this issue fixed? Or, at least, could you please regenerate ./dist folder that we can install via npm i 'git+https://...'?

hi @junedchhipa  does it fixed in the latest release ?
thanks


Add exception for nodes close to Tertium

Since the exit from the Tertium aetheryte is so offset from the aetheryte itself I think a check to make sure the node is closest to that exit instead of the aetheryte itself would be helpful. Small optimization but still.

You can do this manually in the Locations tab

Oh cool didnt know that. Thank you.


Make HolidayDatabase testable

This branch started as an attempt to fix issues with running tests in a significant time zone difference to the USA (@libraryaddict is in New Zealand). It became clear that using Date was not going to sufficiently handle our requirements around timezones, so I've moved HolidayDatabase to use ZonedDateTime instead. This is actually really nice since we frequently use two different "timezones" in mafia - "Rollover" time and Arizona time.
Calendar and Date, while not officially deprecated, are declared as legacy - and in writing this PR I can see why! We're in a much better place now with our handling of time. I've left local reporting of dates and times (like for logging) alone at the moment, but everything else is moved over. I also used our mockable "now" getter in more places, which will make that code more testable in future.

I think it's fine.
The comment also mentions that time changes at rollover, not Arizona time, but that the code assumes Arizona. Now that we have separate timezones for rollover and Arizona could (does?) the code use rollover instead?

It does already. Very little uses arizona time now - UMD, December, Monday (for gar-ish), Tuesday Ruby


Is there any Swiss keyboard layout?

Hi, my problem is that there is no swiss_german keyboard layout, what should i do?
Thanks for your time.

Hi, please see my answer(s) here


Where is the data-set (.nii files) used in the documentation?

I integrated the various registration algorithms in my web application and I want to check if they execute correctly.
I can't seem to find where the .nii files used in the documentation are imported from.
Otherwise, is there any dataset of medical images that require registration available to the public?

It would be great for users who just build SimpleElastix to be able to copy and paste the HelloWorld example into a Jupyter Notebook or something and run it successfully without getting a "file not found" error.
Better yet, each .rst file in the folder SimpleElastix/Documentation/Sphinx/ could have a corresponding ipynb file that can be run in Jupyter Notebook by the user.


Error while generating swift bindings

Hi! I ran into this error during the "Generating Swift bindings..." phase:
Could not generate UniFFI bindings for udl files due to the following error: No such file or directory
My library uses proc macros, not udl files. Is that the reason for this? Seems like a bug.

This should work fine. I also can not reproduce this. Are you using version 0.6.0?

I've modified my own scripts to create swift bindings due to the conditional compilation requirements so am not using cargo-swift.


Installation error

Hi dev,
First of thank for creating such a web based beautiful tool. Im very curious to download the tools,
Actually I never used docker before, it little bit tough learn quickly, During installation I have so many doubt and error.
Could you guide how to download the tools that would be better.
Even though I followed as you instructed but still im facing issue.

Pls kindly help me on this.

Hi, sorry for getting back to you late. I've never encountered this error before, and after some research, it seems that the problem is caused by a bug from Docker on Windows. For further details, refer to this GitHub issue: https://github.com/docker/for-win/issues/13611.

Hi Dev,
I newly installed latest docker in my windows machine, but still I'm facing issue, is there specific docker version that you recommend.

Hi Dev,

How long it will take,  for the last half hours it will be same 18/21
NPM error

Hi danger112233,
please try it again using the following command docker-compose build --no-cache


You have to get to the green goal with as little time as possible, but you do not control the player. You place down arrow blocks that when the player steps on them, it changes their direction.
You cannot place down blocks on barriers, or goals. However, you CAN overwrite another arrow block.

How to play your game?

Use WASD to change the selected tile, and use IJKL to place down arrow blocks

Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (is not used)

[ ] The image is in the /games/img directory.
[ ] The name of the image matches the name of your file. Example: sokoban_plus.js -> sokoban_plus.png.

Thanks for PR!

Yes, that's correct. Thank you!