Lightweight

The software will be light and will weigh around less than 1 mb (size<1mb)
Hashcat size is 64 mb which is high and can be time consuming to download, if it only need to be used once

No even 1 mb


user cannot accept owned offer

Codecov Report

Merging #16 (2149ab8) into main (0a801e1) will increase coverage by 0.03%.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
+ Coverage   89.54%   89.58%   +0.03%
==========================================
  Files          13       13
  Lines         832      835       +3
==========================================
+ Hits          745      748       +3
  Misses         87       87

Impacted Files
Coverage Δ

contracts/nft-marketplace/src/execute.rs
85.48% <100.00%> (+0.23%)
:arrow_up:


Where did this implementation originally come from?

This project exists, in part, to stop the dangerous practice of copying code around without properly understanding what it does and without there being a clear lineage of bug fixes and docs.
So, we are working on starting off on the right foot in this repo / fixing our colored past. But the question has come up during the vetting of the code of: "where did this come from and why was this decision made?".
I spent some time trying to figure out the history. We know that proximately we copied the code from mapnik-vector-tile to get this project started, but where did that code come from? Well, if you search on github for while (inflate_s.avail_out == 0) (which is a pretty unique line) we get a bunch of hits for the same code copied around: https://github.com/search?q=while+(inflate_s.avail_out+%3D%3D+0)&type=Code&utf8=✓. In looking at that I think the first to come along was https://github.com/kkaefer/DEPRECATED-node-zlib from @kkaefer. So I think that is the origination of the code that mapnik-vector-tile has been using. And the history of commits in that repo show some of the reasons for changes in the code (like the addition of handling of Z_BUF_ERROR in https://github.com/kkaefer/DEPRECATED-node-zlib/commit/523477f17f397e8e455b19e4613204e5efcb8786#diff-1edfe6d0b0a3a9c5bcbb3ba0e11144a9).

Looks like the node-zlib code likely was adapted from https://github.com/madler/zlib/blob/cacf7f1d4e3d44d871b605da3b647f07d718623f/examples/zpipe.c

I wrote this code based on the API/workflow description in the zlib manual and the usage example (which is very similar to the file you linked), but I implemented a few things differently. In any case, the howto code is in the public domain.

@kkaefer - thank you 🙏


[otp] Increase OWNER_SW_CFG_ROM_ALERT_CLASSIFICATION by 4

This synchronizes the OTP layout with the internal version. Internally, we have another alert for the socdbg module, which requires to increase the particular OTP field. Since we upstream that module in the future, we want to go ahead with the OTP changes

CHANGE AUTHORIZED: hw/ip/otp_ctrl/data/otp_ctrl.hjson
CHANGE AUTHORIZED: hw/ip/otp_ctrl/rtl/otp_ctrl_part_pkg.sv
CHANGE AUTHORIZED: hw/ip/otp_ctrl/rtl/otp_ctrl_reg_pkg.sv


api server failed to start

What steps did you take and what happened:
[A clear and concise description on how to REPRODUCE the bug.]
follow https://github.com/kubernetes-sigs/cluster-api-provider-nested/blob/main/docs/dev-quickstart.md
encounter
I0721 09:39:51.830823       1 server.go:149] Version: v1.16.2
Error: unable to load client CA file: unable to load client CA file: open /etc/kubernetes/pki/root/tls.crt: no such file or directory
Usage:
  kube-apiserver [flags]

Generic flags:

      --advertise-address ip                         The IP address on which to advertise the apiserver to members of the cluster. This address must be reachable by the rest of the cluster. If blank, the --bind-address will be used. If --bind-address is unspecified, the host's default interface will be used.

the root cause is /etc/kubernetes/pki/root/tls.crt is not defined in volume and then it's not able to find the crt file to start the container,
I removed this line in stateful set and everything is ok now , so I think we need add a secret and mount to api server as volume..
kubectl edit statefulset cluster-sample-apiserver seems doesn't have
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /etc/kubernetes/pki/proxy
          name: cluster-sample-proxy-client
          readOnly: true
        - mountPath: /etc/kubernetes/pki/etcd/ca
          name: cluster-sample-etcd-ca
          readOnly: true
        - mountPath: /etc/kubernetes/pki/etcd
          name: cluster-sample-etcd-client
          readOnly: true
        - mountPath: /etc/kubernetes/pki/apiserver/ca
          name: cluster-sample-ca
          readOnly: true
        - mountPath: /etc/kubernetes/pki/apiserver
          name: cluster-sample-apiserver-client
          readOnly: true
        - mountPath: /etc/kubernetes/pki/kubelet
          name: cluster-sample-kubelet-client
          readOnly: true
        - mountPath: /etc/kubernetes/pki/service-account
          name: cluster-sample-sa
          readOnly: true

What did you expect to happen:
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:

cluster-api-provider-nested version:
Minikube/KIND version:
Kubernetes version: (use kubectl version):
OS (e.g. from /etc/os-release):

/kind bug
[One or more /area label. See https://github.com/kubernetes-sigs/cluster-api-provider-nested/labels?q=area for the list of labels]

I can submit a PR to add a secret and mount if it's something missing from previous change?
or I encoutner env issue?

@jichenjc  Please try the latest code from main branch.

thanks, I guess it's merged after I opened latest code, will try and close this if it works


Know which handler served the request

I was looking how to best use cowboy_metrics_h.erl to get global useful metrics like #req/sec, http status counter, avg/min/max request time.
And I was wondering if could be useful also to have all these metrics but per route/handler.
E.g. to know how many requests to /users/[:id] that return 404.
Do you think there is a easy way to retrieve this information from cowboy_metrics_h.erl callback?
Thanks a lot :smile:

Rather than trying to solve "how to find the handler in metrics" perhaps instead a more general interface should be added that allows attaching some metadata to a stream and that the metrics handler can use. Maybe something like cowboy_req:set_stream_metadata(Name, Value, Req) which sends a message like {metadata, Name, Value} to the relevant stream handlers.

I will try to squeeze this into 2.6 tomorrow. I am documenting cowboy_metrics_h so it'd be good to have it solved. The new command {set_options, Opts} is probably the best way to implement this.

Heh to be honest I'll keep cowboy_metrics_h docs for after the release, there's some more stuff to be tested first.

Done in most recent commit. f673e191b30ab440440c924476bb03000fff52c6


Unexpected getServerSideProps behaviour when using Clerk helpers

[ ] Review the documentation: https://docs.clerk.dev/
[ ] Search for existing issues: https://github.com/clerkinc/javascript/issues
[ ] Go through package changelog files.
[ ] Provide the Frontend API key from your application dashboard.

Package + Version

[ ] @clerk/clerk-js
[ ] @clerk/clerk-react
[x] @clerk/nextjs
[ ] @clerk/remix
[ ] @clerk/types
[ ] @clerk/themes
[ ] @clerk/localizations
[ ] @clerk/clerk-expo
[ ] @clerk/backend
[ ] @clerk/clerk-sdk-node
[ ] @clerk/shared
[ ] @clerk/fastify
[ ] gatsby-plugin-clerk
[ ] build/tooling/chore
[ ] other:

Version:
 "@clerk/nextjs": "^4.7.0"

Browser/OS
If applicable e.g. Chrome latest
Description
Seeing strange behavior when signing in/out then navigating to a new route using router.push from nextjs and the useSignIn/useSignUp/signOut helpers from clerk
Noticed that when starting at /sign-up, if I go through an email auth flow and successfully verify the token I was sent, then navigate to a new route /users, getServerSideProps is called twice: once for the /sign-up page (the current route), and once for the /user page, the new route. This is leading to some unwanted behaviors in my app, like getting redirected by the getServerSideProps of /sign-up when it shouldn't be getting called at all. And also in general, getServerSideProps shouldn't be called on the route being navigated away from.
Fork of next starter with described behavior https://github.com/sgrund14/clerk-nextjs-starter
See changes in user/[[index]].js, sign-in/[[index]].js, sign-out/[[index]].js, Header.jsx, and commented out middleware code in middleware.js
I setup console logs in the terminal to show which getServerSideProps is getting called. Notice that when you sign out, the getServerSideProps for both the current page and for the new page will both be called.
Wondering if this has something to do with how the clerk middleware behaves? am I only meant to be doing redirects within the clerk middleware?

hello @sgrund14 thank you for reporting this. Let me take a look and come back to you with more information.

no problem thanks @dimkl

Sorry for the late response but i think you issue is related with the middleware config matcher and the nextJS route prefetching feature.
I think changing the config in middleware.ts to the following will fix your issue:
export const config = { matcher:  '/((?!_next/image|_next/static|favicon.ico).*)',};

I will update the clerk-nextjs-starter template.

@sgrund14 could you verify that this is the case?

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.

This issue was closed because it has been stalled for 10 days with no activity.

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.


Integrate our first real plugin: POS tagger.

I've added a new branch dc-not-so-dummy-task that contains file with tasks, which is importable.
I've created frontend part (it might be slightly changed but essentials are there), it's available here:
https://dl.dropboxusercontent.com/u/4366002/pos_demo.html. As you might see in the code, it's already can render tasks using handlebars.
Once #9 and #10 is in, it would be nice to integrate it (including required assets).

Started working on this, as separate package, here - https://github.com/hotsyk/vulyk-tagging


feat(coral): Topic Requests: add pagination to the table #773

User is able to browse paginated set of teams topic requests. Adds pagination controls to my teams topic requests page. Syncs the 'page' search parameter as the pagination value.
Resolves: #773

@mathieu-anderson Thanks, added the keepPreviousData option

@programmiri Thanks, looks like that did the trick!


Feature: Temporal Color Smoothing with variable decay-rate for long period average windows

Summary
In addition to the linear interpolation of LED colors that was previously supported by LinearColorSmoothing, a new algorithm - named "Decay" - is made available to the user. The Decay algorithm extents the color smoothing beyond the existing limitations of the linear interpolation.
This incorporates support for:

long smoothing times of multiple seconds
microsecond precision multi-frame smoothing
high input frame-rates ≥ 60 fps
very high output frame-rates ≥ 240 fps
linear decay: similar to the previous LinearColorSmoothing
exponential decay: non-linear weighting of input frames for nice lightbulb decay effect
temporal dithering for best color quality

For detailed description see Other Information below.
What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[x] Feature
[ ] Code style update
[x] Refactor
[ ] Docs
[ ] Build-related changes
[ ] Other, please describe:

If changing the UI of web configuration, please provide the before/after screenshot:
Options for configuring the decay-parameters are made available to the user. Please note the changes made to schema-smoothing.json.
Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing setups:
The PR fulfills these requirements:

[ ] When resolving a specific issue, it's referenced in the PR's body (e.g. Fixes: #xxx[,#xxx], where "xxx" is the issue number)

If adding a new feature, the PR's description includes:

[x] A convincing reason for adding this feature: The existing linear color smoothing algorithm was only capable of interpolation between the previous and the target colors. For long smoothing windows or high frame rate the results were not sufficient.
[ ] Related documents have been updated (docs/docs/en)
[ ] Related tests have been updated

PLEASE DON'T FORGET TO ADD YOUR CHANGES TO CHANGELOG.MD

[ ] Yes, CHANGELOG.md is also updated

To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.
Other information:
The temporal smoothing now supports very long settling-times (multiple seconds) that allows frame interpolation to span across several frames of LED colors. For calculating intermediate frames it uses a decay-based algorithm that interpolates colors based on the age of previous frames and a given decay-power.
For each moment, all ingress frames that were received during the smoothing window are reduced to the concrete color values using a weighted moving average. This is done by applying a decay-controlled weighting-function to individual the colors of each frame.
As the individual intermediate frames are solely dependent on the received frames – not on previous interpolated values – very high frame-rate targets (>>120 fps) can be met without noticeable loss of precision. The Decay algorithm effectively implements a conversion of the ingress frame-rate to the configured egress rate by generating high precision intermediate frames for every moment in time.
Decay Value
The decay-power influences the weight of individual frames based on their 'age'.

A decay value of 1 indicates linear decay. The colors are given by the moving average with a weight that is strictly proportionate to the fraction of time each frame was visible during the smoothing window. As a result, equidistant frames will have an equal share when calculating an intermediate frame.

A decay value greater than 1 indicates non-linear exponential decay. With higher powers, the decay is stronger. I.e. newer frames in the smoothing window will have more influence on colors of intermediate frames than older ones. This leads to a lightbulb effect, where the ramp-up response is fast but the decay is slower.

Typical non-linear decay values are are less than 8, but a maximum decay-power of 20 is supported for experimental use with extreme settlingTimes > 5s.
Dithering
A temporal dithering algorithm is used to minimize rounding errors, when downsampling the average color values to the 8-bit RGB resolution of the LED-device. Effectively, this performs diffusion of the residual errors across multiple egress frames. Users will perceive accurate colors when high output framerates > 120 fps are used.

@The-Master777 Ready to merge?

@The-Master777 Ready to merge?

From my side its ready.
Please check the changes made to schema-smoothing.json are fine for you as well, as these are facing the user.

@ManusSs Hi, I already merged your change, but currently I am looking to get away from compiler warnings...
Would you mind addressing the compiler Warning for
LinearColorSmoothing.cpp(273): warning C4293: '<<': shift count negative or too big, undefined behavior
on
const uint64_t scale = (1l<<FPShift) * static_cast<double>(weight);
Thank you!

Sure, i'll give this a look. On which platform do you observe this behaviour?
The idea is, to use fixed point arithmetics on Int64 instead of using the FPU for aggregating the Color components as this seems to be more efficient.
I assume (1 << FPShift) *weight == Pow(2,FPShift) * weight, where FPShift = (sizeof(uint64_t)*8 - (12 + 9)) = 64  - 21 = 43 bits. So I basically want to multiply 2^43 with the weight.
Maybe MSVC is somehow different on this compared to GCC?
--> https://docs.microsoft.com/de-de/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4293?view=msvc-160
So might `const uint64_t scale = (static_cast(1l)<<FPShift) * static_cast(weight);´fix this?
Can you test on MSVC?

Thanks for coming back quickly!
Indeed the Windows compiler brought-up this warning and with the __int64 cast it went away.
Nevertheless, __int64 does not work with gcc.
I changed the cast to
const uint64_t scale = (static_cast<uint64_t>(1l) << FPShift) * static_cast<double>(weight);
which compiles on both environments.
As I am not into the depths or the logic. Is this fine with you?

Thanks for coming back quickly!
Indeed the Windows compiler brought-up this warning and with the __int64 cast it went away.
Nevertheless, __int64 does not work with gcc.
I changed the cast to
const uint64_t scale = (static_cast<uint64_t>(1l) << FPShift) * static_cast<double>(weight);
which compiles on both environments.
As I am not into the depths or the logic. Is this fine with you?

Thanks for going ahead. This is fine for me and works on my build aswell.


px4fmu-v2 stop building unused drivers and examples

These things are still built in px4fmu-v4.

Applied, thanks!


Ways to test robustness of learned policy?

Thanks for sharing the code!
Is there an easy way to test robustness of a policy such as applying external forces to the body? An example will be greatly appreciated!

Thanks for the interest. You could indeed apply external forces or use a heightfield, such as used in the mpc_controller example in this repository. We don't have a systematic way of testing robustness in this open source release, and lack resources to add it. So closing for now.


Add CAP23 support to ingestion system

We need to extend the ingestion system to support CAP23. Depends on:

[x] https://github.com/stellar/go/issues/2858
[x] https://github.com/stellar/go/issues/2882
[ ] https://github.com/stellar/go/issues/2887
[ ] https://github.com/stellar/go/issues/2886
[ ] https://github.com/stellar/go/issues/2885

Closing this since I decomposed it into smaller tasks  which we are tracking now in #2787


Getting Started With Kali Linux

Article checklist
ATTENTION: In your PR - add the ISSUE (topic form) # that this PR corresponds to. You can do this by also adding a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
If you have not already please go over our Resources Page for more tips and tricks on how to improve our overall technical writing.
Preliminary Checks - Formatting and Structure

[x] Does your article follow any of the suggested structure formats? - see example formats
[x] Is your article properly formatted in Markdown? - see Github Markdown guide
[x] Have you used the correct folder and file structure? - see Contribution Guidelines
[x] Is your article over 750 words? - Tool: Wordcounter.net
[x] Have you used our preferred heading structure? - H3 (###) and up
[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[x] In your PR - add a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[x] Please place your article through a 3rd party plagiarism checker? We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[ ] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution guidelines
For first-time contributors and for more details, see Contributing Guidelines
This fixes #2061

Hi @Kimosop-Wakanda Thank you for submitting this article. Please make sure your article checklist is in check before submitting to avoid unnecessary corrections.

Your hero image is too big. The article checklist states that the hero image should be 600 by 400 pixels. Also rename it from hero.jpg.jpg to hero.jpg
Only header h3 and above (h4, h5) etc is recommended for titles. I've noticed you've used a header h2 header.

Please make those changes first before I can continue with the review.

Changes done @Bayler Please continue with the review

Changes done @Bayler Please continue with the review

Okay. Noted ✅

@Kimosop-Wakanda Thank you for submitting this article. It is a nice read. However, you have a few corrections. Please work on them then we can proceed for final review.

I have made all the corrections @Bayler
Thanks for the review.

Changes made @Bayler

Hi @Kimosop-Wakanda this article is now ready for final review.

plagiarism check done

@Kimosop-Wakanda great work
Nice tutorial to follow along
Please go over any edits I made to improve future articles.
cc @Bayler


question: limit re-use of nonce JWT tokens to prevent replay attacks?

Is your feature request related to a problem? Please describe.
OpenID connect specifies that a JWT token with nonce should be used to prevent replay attacks. We could make this configurable on a per JWT config base and prevent re-use of tokens > threshold. How commonly would this be useful for APIs? Most Jwt tokens will want to be used more than once given it's expensive to create new ones for each call.
Describe the solution you'd like
An option enforceNOnce on JWT config. In case of clustering, this will need a common source of truth outside of J8a server memory, i.e. a bundled REDIS instance.

This is useful but too fringe for a proxy server. J8a has no easy way to store nonce without external dependency like a data store. Also not easily supported in a cluster. Won't fix.


Update documentation for new Sass gray lighten and darken variables

In automattic/wp-calypso#22181, we introduced new color variables for lighten and darken gray at 10%, 20%, and 30%. This PR updates documents those new variables.

🚢

Thanks for the review!


Registering a new user

Block or implement
register/

The route is already working
http://gentelella.herokuapp.com/register/
Could you clarify the needed enhancement please ?

No templating,
403 after login but it's a secure area, so maybe forwarding a new user to a public resources.

I made a PR here, it works allright for me.
Waiting for confirmations
P.S: further features maight be added later (email confirmation, password reset)

Registration is successful (your fork). After testing and merging #54 feel free to implements this features. Now you can safely close this issue.
@MedUnes thanks.

Now I can close this ticket and working with your PR. Thanks again.


Can't provide a path to migrate:rollback

if you run php artisan migrate --path=path/to/migrations the migrations run fine but you can't run php artisan migrate:rollback --path=path/to/migrations
The "--path" option does not exist.

Because migrate:rollback is based on the migrations table.
This command undo the latest batch of migrattions, not noe.

While there is alternative.
You can do what you want to undo in a new migration file and run migrate.
Since each migration consists of an up and down methods, rollback means run codes in the down method, then in the new migration file, you just write those codes of the down metod in the up method.
Example:
old migration file:
up method:
$table->integer('for_num'); // add for_num field
down method:
$table->drop('for_num'); // delete field
new migration file:
up mtehod:
$table->drop('for_num');
down mthod of the new file can be left blank and do nothing.
.

If you run composer dump-autoload this actually works. I tested this as follows:

Created a migration in database/migrations/sub/2016_05_20_192337_create_sub_table.php.
Then I ran php artisan migrate with output: Migrated: 2016_05_20_192337_create_sub_table.
Then I tried php artisan migrate:rollback and got output: [Symfony\Component\Debug\Exception\FatalThrowableError] Fatal error: Class 'CreateSubTable' not found.
Then I ran composer dump-autoload and tried the rollback again, with success: Rolled back: 2016_05_20_195337_create_sub_table.

Did you try this?

@mrk-j  it looks like your Laravel isnt working properly. Because after creating migration, Laravel always runs composer dump-autoload in this file

@minhchu I just copied another migration to try this, so composer dump-autoload didn't run. I just assumed this was the case. Can you confirm this issue doesn't exist?

Ah, sorry for the misunderstanding. If you just copied you have to dump autoload so that Laravel can know your migration files.
If you use php artisan make:migration, Laravel dump autoload for you automatically. And I think this is not an issue.
As @leesleefeng explained, that is the default behaviour, we can close this issue.

This issue can be closed?

See my PR above. This is still an issue.
For example, I have a multi-tenant app with one main application/security database and separate tenant databases. I keep tenant migrations stored in a tenant subfolder of the migrations folder. I have a custom Artisan command for migrate:tenant which calls migrate and specifies the --database option to specify the tenant database connection name and the --path option to specify the path to the tenant migrations (i.e. database/migrations/tenant. This works fine and executes the migrations against the tenant database(s), but if I try to run migrate:rollback, it tries to rollback the migrations in the main migrations folder. So, the --path option was needed on the rollback, refresh and reset commands in order to support this.


New linter: SublimeLinter-contrib-cmakelint

This is a linter for cmake files. It passes flake8 and pep257. Please review.
https://github.com/jasjuang/SublimeLinter-contrib-cmakelint

Make a release and it should be visible in Package Control.
Thanks!

I can see it in Package Control now.
One more small question: It is showing "No description provided" at the second line. How can I add in a description? I am not having any luck from googling.

It's pulling from your Github repo description. Hope that helps!

got it, thanks!


Allowing script tags with src to be editable.

Fixed in another way in v2.12. See https://alex-d.github.io/Trumbowyg/documentation/#tags-to-keep for more informations.


fix:Publication date not visible by default

When publication date is unchecked by default, the card should not show the date


Refactor API models

This PR introduces a new superclass for API request models, providing:

Modularity for downstream classes
Overloadable methods for request transformation, API requests and response parsing
Tokenization support
Asyncio implementation for concurrent requests

It's a bit more complicated than I'd hoped as even though most providers follow the OpenAI API standard there are some minor differences (e.g. some allow requests to be sent as tokens or batched while another might not). I have tested it to ensure it's in working order, but it still requires testing to check if the results match. Also need to add tests.

Compared to vllm, results within the standard error:
lm_eval --model local-completions --model_args pretrained=pretrained=meta-llama/Meta-Llama-3-8B-Instruct,base_url=http://localhost:8000/v1/completions,concurrent=100 --tasks gsm8k --batch 1
vllm (pretrained=meta-llama/Meta-Llama-3-8B), gen_kwargs: (None), limit: None, num_fewshot: None, batch_size: auto

Tasks
Version
Filter
n-shot
Metric

Value

Stderr

gsm8k
3
flexible-extract
5
exact_match
↑
0.5140
±
0.0138

strict-match
5
exact_match
↑
0.5125
±
0.0138

local-completions (pretrained=meta-llama/Meta-Llama-3-8B,base_url=http://localhost:8000/v1/completions,concurrent=100), gen_kwargs: (None), limit: None, num_fewshot: None, batch_size: 1

Tasks
Version
Filter
n-shot
Metric

Value

Stderr

gsm8k
3
flexible-extract
5
exact_match
↑
0.5064
±
0.0138

strict-match
5
exact_match
↑
0.5042
±
0.0138

lm_eval --model local-completions --model_args pretrained=pretrained=meta-llama/Meta-Llama-3-8B-Instruct,base_url=http://localhost:8000/v1/completions,concurrent=8 --tasks arc_easy --batch 1
local-completions (pretrained=meta-llama/Meta-Llama-3-8B,base_url=http://localhost:8000/v1/completions,concurrent=8), gen_kwargs: (None), limit: None, num_fewshot: None, batch_size: 1

Tasks
Version
Filter
n-shot
Metric

Value

Stderr

arc_easy
1
none
0
acc
↑
0.8013
±
0.0082

none
0
acc_norm
↑
0.7782
±
0.0085

vllm (pretrained=meta-llama/Meta-Llama-3-8B,gpu_memory_utilization=0.5), gen_kwargs: (None), limit: None, num_fewshot: None, batch_size: 32

Tasks
Version
Filter
n-shot
Metric

Value

Stderr

arc_easy
1
none
0
acc
↑
0.8005
±
0.0082

none
0
acc_norm
↑
0.7769
±
0.0085


Compose v2

Issue
https://github.com/kool-dev/kool/issues/435

:beetle: Bug Fix
Yes

:toolbox: Improvement
Yes

:pencil: Refactor
Yes

:warning: Break Change
No

Description
Dropping docker-compose to always rely on docker compose - Compose V2.

This PR is looking good, just a few questions to double check


SwiftUI support?

Hey, will we be able to use this natively in SwiftUI? Would be very nice!

Hi! you can wrap it and make available for swiftUI. Its work for any controller.


Spring 20 Org Error - First error: no content to map to Object due to end of input

Summary
Org that was upgraded to Spring 20 is now getting the following error:
Version of Mass Action Scheduler
2.301.
Steps To Reproduce
Update to Winter org to Spring 2020
Expected Behavior
No error
Actual Result
Job fails
Source Type

[ x] Reports
[ ] List Views
[ ] SOQL Queries

Action Type

[ x] Process Builder & Flows
[ ] Workflow Rules
[ ] Email Alerts
[ ] Quick Actions
[ ] Apex

Does your configuration use Named Credentials?
Yes

Hi, @douglascayers,
I'm seeing the same message as above in multiple sandboxes.     I'm using a SQL statement and passing values to a flow.   When the process is run I receive 'First error: no content to map to Object due to end of input'.
I tried to re-create the same MAS suing a report instead of a SQL statement and received the following:
First error: Invoke Action Error: System.HttpResponse[Status=Temporary Redirect, StatusCode=307]
The URL has moved
Have you seen anything like this before? We haven't changed these sandboxes in sometime beyond upgrading to 2.4.

@douglascayers Scratch my last message,  I figure it out.   The named credential the URL was set up as https://XXXXXX-training.C16.my.salesforce.com, after seeing the re-direct error I changed it to https://XXXXXX-training.my.salesforce.com and everything started working again.


Cardano DB Sync 8.0.0 - Column name block.merkel_root changed to block.merkle_root

Hello Team,
Just upgraded to 8.0.0. and I noticed that column block.merkel_root changed name to merkle_root.
First I launched it with previous db from previous db-sync version and got error related with column name,
so I renamed  the column from merkel_root to merkle_root and db-sync started the rollback process.
Then I got some error regarding the ledger state files.
Finally I deleted all the *.lstate files and recreated the db, and verified that column is created as "merkle_root"
now db-sync is loading fine.
Not an issue itself, but cardano-graphql no longer loading data from postgres because of this change.
From cardano-graphql log:
FatalError: column block.merkel_root does not exist\r\nHint: Perhaps you meant to reference the column "block.merkle_root"."
Thank you
kind regards,
Emanuele

ps: i just read this from release note: This release requires the database to be dropped and recreated.

ps: i just read this from release note: This release requires the database to be dropped and recreated.

sorry also checked this: Fix typo in database column name (Merkel -> Merkle) (#446).
should I open an issue in cardano-graphql? Or just wait for new release?
Thanks you
kind regards,
Emanuele

sorry also checked this: Fix typo in database column name (Merkel -> Merkle) (#446).
should I open an issue in cardano-graphql? Or just wait for new release?
Thanks you
kind regards,
Emanuele

Hello,
I close this issue and I'll follow up cardano-graphql
thank you
Emanuele

Hello,
I close this issue and I'll follow up cardano-graphql
thank you
Emanuele

Hello,
I finally found how to get graphql working, I updated column name of hasura migrations up.sql script in /nix/store
cheers
Emanuele

Hello,
I finally found how to get graphql working, I updated column name of hasura migrations up.sql script in /nix/store
cheers
Emanuele


Log rotation

Logs should rotate to avoid maxing out on disk

Done in https://github.com/VBCompetitions/competitions-api-php/releases/tag/0.11.8, (and a fix in https://github.com/VBCompetitions/competitions-api-php/releases/tag/0.11.9)


Spatial extent of the business data on the map

It could be interesting to optionally display the spatial extent of the business data on the map.

What would be your idea exactly, to display the bounding box or envelope polygon of a target layer on the map using a dedicated action?
We already have some difficulties with the zoom to action currently, which is supposed to make the map extent cover the layer bounding box. Indeed, in some cases, the bounding box is not known or correctly positioned (e.g. layer coming from a WMS service) or does not really help (e.g. a layer only visible starting from a given zoom level). Any idea is welcome on this topic.

Hi Luc,
I was thinking of a simple bounding box if it exists to show the limits of the business data. It seems that the zoom-to action is accessible even when the zoom level is too low. I think these two concepts could be decoupled/independent.
But you're right, that doesn't solve the problem of spatial data where the bounding box is not known or not correctly positioned.


How to customize blockquotes

How to costumize blockquote in editor to appear vertical line before text?

Hi,
as the underlying implementation uses HTML / JavaScript you can simply style it with CSS.
Place a file called 'platform_style.css' in your app's src/main/assets folder and style the blockquote element there:
blockquote {
   // your custom style here
}

It's true, currently I list only system fonts (see files SystemFontsParser and FontNamesUtils and the according commands SetFontNameCommand and SetFontNameWithPreviewCommand).
But I really don't know how
a) a custom font can be used generally in Android's WebView,
b) how this then can be configured to use this custom font via JavaScript.
If you can give me any hint how to do this or even better give me a pull request with working code I can implement this.
But in general: For new questions please open a new issue.


Modifies the Mpf type to add functionality.

Mpf::zero() creates a new Mpf with value zero
Mpf::set_from_str() sets the Mpf to the value in str in the given base
Mpf::set_from_si() sets the value from a signed int
Mpf::get_str() gets a string of the Mpf, see GMP docs for formatting.
Mpf::sqrt() is self-explanatory
Also increments version number.

I think there should be whitespaces after the commas.


Fix current best solution in optimization progress plot update.

Currently, the best solution just mimics the average solution.

The above figure shows the problem - the red line should not follow the "peaks" at Generation = 20, 40, etc. It should remain at the "best."
It's probably a problem to do with how I save the "current best solution" - all the data is there (in the series being plotting), you just need to pull out the current value.

The current best solution works fine for the GA. It's only a problem for the gradient-based optimizer.

Fixed with latest push.


Snake messages

What issue is this addressing?

What type of issue is this addressing?

What this PR does | solves
Added comments for snake example

Why does PR include changes for examples/platformer/main.go??

Why does PR include changes for examples/platformer/main.go??

I don't know It looked like this on the pull request screen, I even changed the branch.🤔

Let me close this PR to save GitHub workflows resources. Create a new PR when you are really ready. Thanks,


Can't save settings or upload private key on fresh install Build 240 (have full permissions)

When I fill out all fields, leave a few, or leave them all blank, I get the exact same thing when I click save:

Also, when trying to upload the private key, this pops up and I can't find any solution online. I've been trying to figure this out for the past couple hours.:

I definitely have full permissions on my uploads directory as I have and still can upload files to that directory with absolutely no problem elsewhere, like in the "customize back-end" upload logo for example.
Any insight would be appreciated. The error codes aren't descriptive at all and I'm totally out of ideas.

Unbelievable... My adblocker was blocking it! I'm in complete awe right now.
Sorry, really appreciate the plugin.
At the very least this might help someone else. If you're getting totally locked out of everything, try disabling your adblocker if you have it running!


[DE-640] feature: add deduping cte's to actblue

hmm, i wanna say these models already have deduping in the 0_ctes/*_ab3 files

hmm, i wanna say these models already have deduping in the 0_ctes/*_ab3 files.
https://github.com/community-tech-alliance/dbt-cta/blob/main/dbt-cta/actblue/models/0_ctes/cancelled_recurring_contributions_stream_ab3.sql#L37
Update - Oh i guess only the cancelled_recurring_contributions_stream has that 🤔

oh good catch, I'd forgotten about that. @Frydafly can you also revise cancelled_recurring_contributions_stream_ab3 so that it does NOT include the window function to do the deduping, and instead we do that in _ab4 to keep things consistent with the other Actblue models?


add support for bumper change

I don't remember exactly when the change was (and still don't know why it ever happened since there are still no vanilla bumper blocks), but it would be nice to know if a map is using old bumper physics

If it helps, the oldest map on TMX I could find that uses bumpers is https://trackmania.exchange/maps/2401/f-a-n-t-a-s-y which was made on build 2020-07-10_17_08 and has a broken pf start

I had no clue there was a bumper change. Was it broken from the first nadeo patch? So, from build 0 to 2020-12-22-13-18? (Presumably, this build)

Bumpers just used to be stronger, then Nadeo weakened their effect for some reason, and as a result there are maps that are not finishable so I say they're broken. They made this change some time in November/December, I just can't say exactly which patch it was, though I think I've narrowed it down to the two I listed above (unless there was another patch between builds Nov 5 and Dec 22)

Yeah, that shouldn't be too hard to add :)
Now I just need a way to know if the map ACTUALLY has wood physics xdd

Added 👍


Subcommand dependencies

The subcommand dependencies outputs the resolved dependencies
of a project, the concrete used versions including overrides,
in a TOML format.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see CONTRIBUTING.md for more information.

Thanks for the PR! This is definitely an important part of Cargo's story in easy and amenable tooling. Some things to think about:

Cargo was actually designed with this sort of use case in mind. Each method of each subcommand returns Option<T> which actually requires T: Encodable. The idea was that each subcommand returned something encodable which was then encoded onto stdout as JSON (or any encodable format really). Along those lines, I think that the custom emission in TOML-format code should probably be represented in terms of toml::encode_str somehow. Additionally, this may want to re-hook-up the machinery to auto-print the information to stdout (I think I butchered it in a refactor awhile ago).
This is certainly a pretty hot subcommand, there's a lot you can do with dependencies! One may want to, for example, add dependencies, remove them, modify them, etc. Either that or also print out specific metadata about one dependency (perhaps more detailed than what's printed here).

In general there's a lot of ways a subcommand like this can go, and I don't think we've truly fleshed out our "subcommand producing machine-readable data" story just yet. For example we may want to standardize on an output format flag to output in e.g. TOML or JSON format. What are your thoughts on this?

The first thing is, if it could make sense to have a e.g. ResolvedDependency type:
type Name = String;
struct ResolvedDependency {
	name: Name,
version: Version,
package_id: PackageId,
dependencies: Vec<Name>
}

And then a low level function like:
type ResolvedDependencies = Vec<ResolvedDependency>;
pub fn resolve_dependencies(manifest: &Path) -> CargoResult<ResolvedDependencies>

The dependency output could then be based on this function.
If the dependencies subcommand should be used for several operations
with dependencies, then one option could be to name the dependencies
output command just cargo output-dependencies or to use a sub-subcommand
scheme like cargo dependencies output.
Regarding the standardization of subcommands outputing machine-readable
data, then having a default format could make sense - it's questionable
if the default format should be configurable - and then have an option
like --format=TOML or --format=JSON to be able to explicitely
specify the output format.

The implementation of this subcommand is now continued in #1434.


[gws] schedule features

Coverage decreased (-0.003%) to 84.857% when pulling d3eafb692eca937c614c8e94f9d6386e005dd33b on tany:gws into 4d9bdea1738a02a2ce0929ed05968871f6211f6f on shirasagi:master.

Coverage decreased (-0.003%) to 84.857% when pulling d3eafb692eca937c614c8e94f9d6386e005dd33b on tany:gws into 4d9bdea1738a02a2ce0929ed05968871f6211f6f on shirasagi:master.


[docs] Update link to add custom color in palette

[x] I have followed (at least) the PR section of the contributing guide.

Thanks for catching and fixing this. We have some checks for broken links; do you know if these cases are not covered?

Thanks for catching and fixing this. We have some checks for broken links; do you know if these cases are not covered?

I am not aware that we have checks for broken links.

I was thinking about yarn docs:link-check, which runs in test_static, so it's only for the docs. Maybe we should create an issue to be able to run the same check on packages? 🤔

Yes maybe we could. That would be great. @alexfauquette would know better. I see it was added in #34588. Looks like we also use  ahrefs  to find broken links.

Yes maybe we could. That would be great. @alexfauquette might have more insights. I see it was introduced in https://github.com/mui/material-ui/pull/34588. It seems we also utilize https://github.com/mui/material-ui/pull/34588#pullrequestreview-1137860860 to identify broken links.

Yes I have :)
ahrefs is a scroller that implies two limitations:

it only detects 400/500 code error so the hash is not taken into account
it only detects visible links (for example in pricing page collapsed links will not be scrolled)

About docs:link-check it tries to fix the first drawback by getting all markdown files, and it generate two lists:

one with all the pages and their existing hash
one with all the internal links

and we check if all internal links exist (the page and the hash)
For now, API pages are ignored because we don't handle the hash added by the page rendering (for example https://mui.com/material-ui/api/alert/#import or now https://mui.com/material-ui/api/alert/#Alert-prop-children) so it would put to many false positive.
For your usecase, you should modify the parseDocFolder such that it parse the api JSON files in addition to the markdown


Maskwise training/inference for infilling missing satellite data

To train a model to interpolate/infill missing satellite data, you need to inject additional 'fake' missing data where you actually have observations. Then, these fake missing values are used to train a model that can fill real missing values. Then at inference time, you will just pass the raw data (without added missing data) and predict over the (real) missing NaN values. It would be great to support this functionality in DeepSensor
Training/Task generation
Say with have an xarray dataset containing missing data in the form of NaNs. To generate missing data imputation Tasks I propose we:

Allow for a new TaskLoader.__call__ target_sampling strategy with a mask boolean object array (either xarray or numpy). This must be the same shape as the target data, and True will correspond to the locations to inject missing values for training
TaskLoader.__init__ links functionality currently lets you link pandas objects for splitting them into context and target datasets. I propose we extend this to support xarray objects so that passing a mask object in target_sampling will automatically convert those values to NaN in the corresponding context dataset.
In the TaskLoader.__call__, determine the X_t and Y_t of masked target sets based on the mask locations that are not already NaN/missing in that dataset.

Inference
The high-level DeepSensorModel.predict method will need some custom functionality to support infilling real missing data at inference time. I see two ways of doing this:

Support an X_t="infill" option, which will trigger .predict to use the mask sampling strategy in the TaskLoader under the hood to set the X_t locations to be the real NaN values in each target dataset. Then, the xarray/pandas prediction arrays containing the model mean, stddev and (optionally) samples, could copy the ground truth data but simply replace the NaN values with the predictions with a mask for whether a value is a model prediction or not. For the stddev, this should instead be zero where data is available.
Simpler to the above, and supported by current functionality, would be to just make the model predict over the entire grid, assuming that it will confidently copy the ground truth data where observations are available. However, this could lead to dangerous OOD predictions if the model has only been trained with targets in regions of missing data in the context data.

The above needs more thought and comments are welcome.

New ideas for loading gap-filling Tasks for training:

A new "gapfill" sampling strategy in the TaskLoader call signature.
links now connects an xarray context set with an xarray target set.
Now, if using "gapfill" sampling:

A new mask will be obtained from another randomly date from the linked xarray context set,
This mask will be added to the linked context set (ie NaNs will be added),
The target set will simply be the locations of this new mask and corresponding values of the linked target set. Any NaN values due to an overlap between the current and added mask will be automatically removed by deepsensor.model.convnp.remove_nans_from_task_Y_t_if_present.

Closing this for now as the functionality described above has now been implemented by https://github.com/tom-andersson/deepsensor/commit/896f41f08fb8200ca90eb0d3e22c0603cc5f94ac.

Here's an example:
import deepsensor.torch
from deepsensor.data import DataProcessor, TaskLoader
from deepsensor.model import ConvNP
from deepsensor.train import Trainer

import xarray as xr
import pandas as pd
import numpy as np
from tqdm import tqdm

# Load raw data
ds_raw = xr.tutorial.open_dataset("air_temperature")["air"]

nan_idxs = np.random.randint(0, ds_raw.size, size=int(ds_raw.size * 0.3)
ds_raw.data.ravel()[nan_idxs] = np.nan

data_processor = DataProcessor(x1_name="lat", x2_name="lon")
ds = data_processor(ds_raw)

task_loader = TaskLoader(context=ds, target=ds, links=[(0, 0)])

task = task_loader("2014-01-01", "gapfill", "gapfill")

>>> task.remove_context_nans().remove_target_nans()
time: Timestamp/2014-01-01 00:00:00
ops: ['str/context_nans_removed', 'str/target_nans_removed']
X_c: ['ndarray/float32/(2, 725)']
Y_c: ['ndarray/float32/(1, 725)']
X_t: ['ndarray/float32/(2, 256)']
Y_t: ['ndarray/float32/(1, 256)']


TRUE and FALSE undefined with Arduino boards, IDE version 1.8.3+ (with workaround)

The library works perfectly with the Infineon board XMC1100 Arduino compatible. Installing the shield on an Arduino UNO instead compilation can't happen. Investigating in the errors list I found the following messages:
C:\Users\enrico\Desktop\Arduino\libraries\TLE94112\src\TLE94112.cpp:42:13: error: 'FALSE' was not declared in this scope
  mEnabled = FALSE;

C:\Users\enrico\Desktop\Arduino\libraries\TLE94112\src\TLE94112.cpp:50:13: error: 'TRUE' was not declared in this scope
  mEnabled = TRUE;

C:\Users\enrico\Desktop\Arduino\libraries\TLE94112\src\TLE94112.cpp:64:13: error: 'FALSE' was not declared in this scope
  mEnabled = FALSE;

[etc...]

I have added a couple of conditions defines in the library header file as shown below
#ifndef TLE94112_CONF_H
#define TLE94112_CONF_H

// PATCH START ===================================================
/*
	The following two conditional define patches the compatibility of the library
	with NON-Infineon boards. The boolean TRUE and FALSE (uppercase) are defined
	in the Arduino IDE Infineon XMC110 library but are note recognised when
	the board is set to Arduino UNO/Genuino. It is reasonable suppose that this
	same issue - untested - exhists too with the other boards of the Arduino
	family supported by the Arduino IDE versione 1.8.3 and further

	Enrico Miglino<EMAIL_ADDRESS>	July, 5, 2017
*/
#ifndef TRUE
#define TRUE true
#endif

#ifndef FALSE
#define FALSE false
#endif
// ================================================= PATCH END

#include "Arduino.h"

This patch has been added in the header file Arduino/libraries/TLE94112/util/tle94112_conf.h

Update
After setting the workaround as described in the above issue, I moved again to work with the XMC110 and got the same opposite problem. So I updated the workaround including it in a conditional preprocessor s shown below:
#ifdef _INFINEON_BOARD
#ifndef TRUE
#define TRUE true
#endif

#ifndef FALSE
#define FALSE false
#endif
#endif
#include "Arduino.h"

Then before including the library in your sketch it is needed to define or undefine the _INFINEON_BOARD global as shown in the example below
#define _INFINEON_BOARD // "#undef" if not using Infineon XMC1100 Boot Arduino compatible board
#include <TLE94112.h>

This bug should now be resolved with the new release.
We resolved it using preprocessor directives as also done by you :)
Best regards,
Manuel

Grreat Job.
Cheers, Enrico


Auto Last hop per vlan

Is your feature request related to a problem? Please describe.
We need to have the ability to disable auto last hop per vlan
Describe the solution you'd like
To have this option per vlan like you have for Tunnel interface
Describe alternatives you've considered
The only alternative I see it to do it manually or disable globally with sys db
Additional context
This is the command I would like to have on tmsh
modify net vlan INTERNAL auto-lasthop disabled

Thank you for your feedback. This issue has been added to our internal product backlog as  AUTOTOOL-2509.

This issue has been resolved by the 1.22.0 release.


2022031801

Closes #2463, Closes #2451, Closes #2445, Closes #2446, Closes #2468
Additions 03/18:
Closes #2490, Closes #2385, Closes #2487, Closes #2485, Closes #2486

The new additions will require a new signature from all signers.

Going to land this. We have enough signatures even without Helium's signature.


Use a modal for external sources on mobile

Fixes

Fixes #734 by @panchovm
Description

This PR uses a modal for mobile external sources. To make this possible, it also adds another modal variant that is always centered and fits the content.
If the external sources button focus ring is incorrect, it will be fixed in a separate PR that will fix buttons focus rings.
Testing Instructions

Search for something and scroll down to see the external sources form. When you're on a mobile screen, you should see a modal if you click on the External sources button.
Checklist

[x] My pull request has a descriptive title (not a vague title like
Update index.md).
[x] My pull request targets the default branch of the repository (main) or
a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible
errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

This is not rendering properly for me.

This PR is for external sources under the search results. I've added the screenshot to the PR description.
The external sources buttons on the "No results" page are handled in #2077.

@panchovm could you review this for design?

The overall implementation looks good, but I think it is based on an old mockup version. The spacings and buttons are from depracated components of the Design Library, so it is my duty to bring up an updated solution.
Despite the design comment, I noticed an unintentional zoom-in bug. Put attention in the background of this screen recording
https://user-images.githubusercontent.com/895819/212140249-827b5ec4-3521-4833-8edc-b13e46de05f6.mp4
Should I share a design ticket with an updated version of this modal or share the mockup here? The three improvement aspects are modal width, popover item, and text styles.

@obulat I'm noticing one peculiarity in this PR, if I resize my browser to a mobile width I'm no longer able to scroll the page. Could merging in the recent changes to main fix this?

@obulat I'm noticing one peculiarity in this PR, if I resize my browser to a mobile width I'm no longer able to scroll the page. Could merging in the recent changes to main fix this?

Were you resizing the browser to mobile width when the external sources popover is open or closed?
I rebased the PR, and I think the scroll lock works correctly now.


More of a question than an issue, will there be a Magento 2 extension for this?

Good morning Adrian,
Thank you for your interest.  StudioForty9 currently have no plans to
produce a Magento 2 compatible version of this module.
Kind regards,
On 25 September 2016 at 15:59, Adrian Caragea<EMAIL_ADDRESS>wrote:

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/StudioForty9/Recaptcha/issues/25, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAmmDee0CcRhBqb69K3ma8l1tbBgW5nvks5qtoxRgaJpZM4KF673
.


scheduled Shoutouts

on an interval, shoutout something that is set in the config.
also: allow guests to override the current shoutout, or add to.
/setShoutout
/addShoutout
then on interval pick the next entry of an array and send it to chat.

I see the shoutout in a separate plugin (instead of the default one), feel free to implement it!


Store the Store instance itself in the context data

Store the Store instance itself in the context data using a weak GCHandle, so that it can be retrieved later from the Caller.Store property.
By using a weak GCHandle, we avoid the issue that the circular reference between the Store and the GCHandle would prevent the Store from being GCed if it's no longer reachable from user code.
Additionally (as suggested in https://github.com/bytecodealliance/wasmtime-dotnet/issues/200#issuecomment-1401167856), remove the IStore interface and change the corresponding method/constructor parameters to accept a Store instead.
For example, this allows to create a funcref value as Function using the associated Store instead of the Caller, so that it can be stored and then called outside of the callback.
Note: Users that previously passed a Caller instance to a method accepting an IStore will now need to use caller.Store.
This is a remake of the earlier PR, #201.
Fixes #200
What do you think?
Thanks!

It looks good to me 👍
If you go ahead with merging this then I'd suggest simply closing #210 for now - this changes the landscape enough that it'll be eaisest for me to just reimplement everything on top of it.

@martindevans do you think you'd be able to replace #210 today? I am hoping to clear out the PR queue and cut some releases that are long overdue.

I'll give it a go. I think this should significantly simplify things, so hopefully I can get it done within an hour or two. If it looks like it's going to be more complex and I can't get it done within that window I'll comment on #210.

@martindevans Thanks, very much appreciated!

Ah I think this may have a bug, apologies for not catching it before the merge. It looks like it fails one of my new Caller tests (introduced in #209).
This test triggers an access violation exception:
[Fact]
public void ItCannotBeAccessedAfterDisposal()
{
    Caller stash = default;

    Linker.DefineFunction("env", "callback", (Caller c) =>
    {
        stash = c;
    });

    var instance = Linker.Instantiate(Store, Fixture.Module);
    var callback = instance.GetFunction("call_callback")!;

    callback.Invoke();

    var act = () => stash.GetMemory("memory");
    act.Should().Throw<ObjectDisposedException>();
}

Dispose is called internally but of course I've already stashed away a copy before that happens, so that Caller now has invalid state.
If no one else has any other solutions I can fix this by adding back in my epoch based mechanism?

Hi @martindevans,
I'm not sure if I understand the issue; do you mean that when the Caller is changed to a struct instead of a class, the access violation may happen?
Currently, in main with the latest commit (43a5b51), Caller is still a class, and therefore when the callback returns, it should set its Handle to IntPtr.Zero, so that when later calling stash.GetMemory(...), it should throw an ObjectDisposedException, which seems also to happen for me (as the tests pass).
Thanks!

I'm not sure if I understand the issue; do you mean that when the Caller is changed to a struct instead of a class, the access violation may happen?

Derp, that's why CI didn't catch it, because it's my own bug. Sorry 🤦♂


Isolate seem to be not copying the .env file

Isolate seem to be not copying the .env file. (but it copies .env.local and .env.staging in my case)
According to firebase docs,

If you need an alternative set of environment variables for your Firebase projects (such as staging vs production), create a .env.<project or alias> file and write your project-specific environment variables there. The environment variables from .env and project-specific .env files (if they exist) will be included in all deployed functions.

(Also see the tabled example from the docs to see how the envs are inherited)
In short, .env is a valid env config for firebase functions.

@vajahath did you add it to the "files" field in the manifest? Those define what is picked up as part of the pack/unpack process. Also see https://github.com/0x80/isolate-package?tab=readme-ov-file#define-files-field-in-each-package-manifest

Yep. I missed this. Thank you for pointing out. Closing this.


[bug]: Workflow - "Latents to Image" - Errors if only CPU used.

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Linux
(Ubuntu Studio 22.04, KDE Plasma Version: 5.24.7, Memory: 62.5 GiB of RAM)
GPU
cuda
(NVIDIA GeForce RTX 3060/PCIe/SSE2)
VRAM
8 GiB
What version did you experience this issue on?
3.1.1
What happened?
Created a workflow like suggested by InvokeAI - Workflow Fundamentals - Creating with Generative AI.
Everything works fine using the GPU.
After swiching the settings to CPU

I've got errors:

The image generation stops and the "Latents to Image" module reports a "nodeExecutionState.error".

So I'm required to use the CPU for calculation, if I want to do something with SDXL, because the system is also on error, if the GPU is used for SDXL. (see https://github.com/invoke-ai/InvokeAI/issues/4573)
Just for completion:
Trying to do something with the GPU leads to the following error:

So I need to change the settings to CPU.
Screenshots
No response
Additional context
No response
Contact Details
No response

Well, found that I have to activate Fp32.

By default it is deactivated.
After Activation the whole workflow works:

The report could be closed, either if the module works on Fp16 or the Fp32 switch is activated by default.

This is issue is due to the default SDXL VAE that will cause an error with fp16/half precision. If you use the VAE node and install/load the sdxl-vae-fp16-fix it should work as expected.
Glad you got it sorted in any case!

For better or worse, this is a setting you just need to be aware of and manage. Depending on the VAE in use, you may need FP16 or FP32.
On the node editor, the final LatentsToImage node is not aware of what VAE you have chosen until LatentsToImage is executed. And because this is a setting that users may wish to change arbitrarily, we won't set it automatically.
I'll close this issue as there's nothing to fix, but acknowledge that we may need more documentation around precision.

This is issue is due to the default SDXL VAE that will cause an error with fp16/half precision. If you use the VAE node and install/load the sdxl-vae-fp16-fix it should work as expected.

Thank you, @Millu
As I understand the concept of invoke ai, the vae model should be installed in :
<invokeai-location>/autoimport/vae/
or by using the Import Models page of the UI.
I don't understand, how to do that with sdxl-vae-fp16-fix, especially the part with

...
Just load this checkpoint via AutoencoderKL:
...

So it's just useless for me.

@psychedelicious Sorry, but I think there is something to fix:
The Fp32 switch should be activated by default on  the "Latents to Image" module.
Otherwise the most Newbies will be trapped by this.
If then someone disables it, it's his own mistake.

@schoenid fp32 is only needed for the "official" sdxl VAE (with baked-in watermarking). Is this what you mean by standard installation? It's also arguable that the standard installation uses the fp16 capable sdxl vae.
@keturn we have the default VAE precision selected on application startup using the choose_precision() helper method in invocations/latent.py. Is this correct? Should it instead default to fp32?
I think fp16 vaes will cast themselves to fp32 if needed, is that correct?
Unfortunately because stability has integrated a fp32-only vae in the sdxl model, the default precision logic is not correct when that particular vae is in use.

IMHO the way it should work (not necessarily the current implementation) is that the precision is chosen by:

Default to the global InvokeAI.Device.Precision configuration setting
If you have a model that cannot run in that precision, that should be specified in the model's config (either its own config.json or in its entry in our configs/models.yaml configuration), and the model loader is responsible for using that setting to override the default.

and, practically speaking, nobody should distribute models that can't run in fp16, because we ain't all got A100s out here with memory to spare.

I think fp16 vaes will cast themselves to fp32 if needed, is that correct?

Ehhmmm..... there does exist a force_upcast configuration option on the VAE model class: https://huggingface.co/docs/diffusers/api/models/autoencoderkl#diffusers.AutoencoderKL.force_upcast
but as far as I can tell, that's not actually implemented by said class, it relies on the supporting pipeline to honor it. Which Invoke's model manager and LatentsToImageInvocation function probably isn't doing, because I'm not finding that string in any of our python sources.
and even when the fp32 toggle is on LatentsToImageInvocation it messes around with the internals of the VAE to make some parts not actually fp32 after all: https://github.com/invoke-ai/InvokeAI/blob/1419977e8943ce56341f7ee5799253da06732048/invokeai/app/invocations/latent.py#L668
(also if you need more dynamic range than fp16 and your hardware supports it, consider bfloat16.)
does that clear things up?

@schoenid to install the fp16 vae, paste this into the "Model Location" field of the Import Models tab: madebyollin/sdxl-vae-fp16-fix and press "Add Model"

does that clear things up?

lol, clear as one step of LMS with "mud" as the positive prompt.
So, followup - acknowledging that there are deeper changes to make, and ignoring them for now - should the LatentsToImage node default fp32?

(re-opening this as it's now a discussion)

fp32 is only needed for the "official" sdxl VAE (with baked-in watermarking). Is this what you mean by standard installation? It's also arguable that the standard installation uses the fp16 capable sdxl vae.

So as a Newbie I've installed invoke AI a few days ago like described at https://github.com/invoke-ai/InvokeAI
It was completely new for me.
Then I did the tutorial for workflows from https://www.youtube.com/watch?v=L3isi26qy0Y
I also found the libraries at civitai.com and tried to replicate some of the pictures, mostly done with SDXL.
Suddenly I run into problems with CUDA (not enogh memory) and decided only to use the CPU for generation, altough it's much slower. However I wanted to use a workflow, which produced the known Errors from this post.
I didn't install any model until this time.
That's what I mean with "standard installation".
The only thing I've changed was the setting to use the CPU (which of course is not standard ...).

So, followup - acknowledging that there are deeper changes to make, and ignoring them for now - should the LatentsToImage node default fp32?

Yes.
It would have spared me much time and effort to solve the problem.
On the other hand, I've learned a lot in the short time, thanks to the problem. ;)
Other people would maybe not, because they mostly give up.

You can now set VAE precision as a model default setting on a per-model basis.
The node editor will continue to have VAE Precision as a manual setting.


Discussions (or text based modules): anonymous posting

Implement in:

[ ] Timeline update
[x] Posts
[x] Discussions
[ ] Comments

If post is anonymous then:

[x] don't show author block
[x] don't include the post in posts browsing of the author, but show it for the owner
[x] don't search by author if post is anonymous
[x] check how notifications work

Issues related to Timeline:

[ ] timeline isn't updating owner_id field when post is changed to anonymous for Posts posts
[ ] timeline owner_id field isn't updated to negative value at all even upon new post for Forum posts
[ ] notifications object_owner_id and owner_id fields aren't updating when post is edited
[x] remove UNSIGNED flag from Timeline owner_id field
[x] display author as "anonymous" in timeline, not as "unknown"

related fix - https://github.com/unaio/una/commit/ae3586e77100fb61c5aaec0af735d9b2fa028795


[AKS] Fix the failure of aks update sub-command caused by accidentally passing an empty profile object

Fix the failure of aks update sub-command caused by accidentally passing an empty profile object.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

AKS


github auth does not work with JSON

I'm trying to implement Github auth using the JSON post as described at the bottom of this page:
https://docs.stormpath.com/nodejs/express/latest/social_login.html#json-api
The docs say I should pass in either accessToken or code, depending on which I receive from the provider.  Github gives me 'code', but posting that to the /login route gives me the error:
error {
"status": 400,
"message": "providerData accessToken cannot be null, empty, or blank."
}
Does this mean /login with JSON does not actually support codes, not access tokens?

Hi @jakubswiatczak , my understanding with Github is that they only support the page-based direct flow, so I believe this library is only accepting the access code when the user is redirected back to /callbacks//github with a code in the URL.  Is there another mechanism by which you are obtaining the code?  Thanks!

Github redirects back to the url I provided, which in this case is http://localhost:18080/cbs along with a query string. This string contains:
{code: "88427c6ff494c77fed07", state: "bb3b638d-cb4c-f0ce-b01a-3cd860d96310"}
The /cbs route is in my React UI. When the user reaches this page I'm posting back to my API server to the /login route provided by express-stormpath. That's when I get the errror from the stormpath middleware.

Thanks for the update, we'll have to look into how we handle the JSON post to the /login route.  In the meantime, is there a reason why you can't use the callback handler that this library provides by default?  That information will help us design a better solution.  Thanks!

Are you saying I should have github redirect back to the express server direct, rather than to my react app?  I think that might work, but then the user is leaving the react app and would have to come back again later.

I'm digging through the express-stormpath codebase right now. where is the /login route actually implemented?

Yes, in it's current form it's expected that the user will be redirected through /callbacks/github.  Doesn't the user have to leave your React app, to go to the Github site to provide authorization?
The login route handler can be found in lib/controllers/login.js

True, the user does. I'm still not sure what is really the best way to do Oauth when you have a single page webapp.  Do most people only redir to their API server, then back to the client webapp?

It depends on what OAuth flows are supported by the provider.  Github only supports the authorization code flow (which requires the user to be redirected through an endpoint on your server), whereas Google and Facebook provide the "implicit" flow, which allows you to do everything in your SPA with the JavaScript libraries that they provide.

I'm not an expert in what you can do with JS in the browser, but can't you do some sort of pop-up based flow? Eg, open up a pop up to the GitHub authorization page, it redirects to /callbacks/linkedin, which then calls window.opener.location.href = spaUri + '#access_token=' + access_token and closes itself? So basically hacking the auth code flow into the implicit flow.
@robertjd it would basically be similar to the flow for mobile we were talking about earlier today.

Okay. I've changed my code and my github settings to that the user is taken to http://localhost:30065/callbacks/github,  which is on my express server.  Now the server renders it's own login dialog with the error message: Token is Invalid.
I've tried deleting users from stormpath and revoking all the github user tokens, same error. I'm unsure how to proceed.


Fix arbiter logic

There is should be a way to set the 0 replset size in unsafe mode.
Now the operator switches off the arbiter instead of adding one more node when the nodes+arbiter size is even. This behavior is better aligned with the requirements in https://jira.percona.com/browse/CLOUD-117.
Improved the logic of the arbiter size updating.
Cut off redundant checks.

@dAdAbird: looks good, I'm just curious why we would allow a replset size of '0'? I think this would create a PSMDB CR that does nothing.
In theory '0' could allow you to create a replset with Arbiters only, but this doesn't work in MongoDB replication.

I'm just curious why we would allow a replset size of '0'? I think this would create a PSMDB CR that does nothing.
@timvaillancourt it can be useful if you want just "pause" cluster, without CR delete

Ok thanks @delgod 👍


./eosc push message currency transfer'{"from":"currency","to":"inita","amount":50}'--scope currency,inita --permission currency@active

could someone help me??

its probably bc you have no spaces between transfer and data and also between scope and data
for similar question pls use the telegram dev chat
https://t.me/joinchat/EgOVjkPktgfUS3kt14FStw

thank u for your answer,I modified the command as u said,but I come across a new error,do u have an idea?

change amount to quantity

thank u, I just got it.


IndexError: list index out of range in getting project borehole data

C:\OSGeo4W64>python --version
Python 3.9.5
pip freeze
...
numpy==1.22.1
libnadagclient==0.0.4
libsgfdata==0.0.14
pandas==1.3.5
...

Test with the ID from the readme-file:
d = libnadagclient.get_project_borehole_data("306dc437-08f8-40f2-a918-7f65c423611b")
Traceback (most recent call last):
  File "C:\OSGEO4~1\apps\Python39\lib\code.py", line 90, in runcode
    exec(code, self.locals)
  File "<input>", line 1, in <module>
  File "C:\OSGEO4~1\apps\Python39\lib\site-packages\libnadagclient\__init__.py", line 140, in get_project_borehole_data
    for url in _get_project_zip_files(get_project_info(project_id)):
  File "C:\OSGEO4~1\apps\Python39\lib\site-packages\libnadagclient\__init__.py", line 82, in get_project_info
    return _get_info(r.html.find("table")[0])
IndexError: list index out of range

Same error with a random ID:
d = libnadagclient.get_project_borehole_data("09c35654-87de-4f12-a986-6ffb8b4b4a23")
Traceback (most recent call last):
  File "C:\OSGEO4~1\apps\Python39\lib\code.py", line 90, in runcode
    exec(code, self.locals)
  File "<input>", line 1, in <module>
  File "C:\OSGEO4~1\apps\Python39\lib\site-packages\libnadagclient\__init__.py", line 140, in get_project_borehole_data
    for url in _get_project_zip_files(get_project_info(project_id)):
  File "C:\OSGEO4~1\apps\Python39\lib\site-packages\libnadagclient\__init__.py", line 82, in get_project_info
    return _get_info(r.html.find("table")[0])
IndexError: list index out of range

I can not reproduce this with the same versions. My best guess is that nadag had a temporary problem where it returned an error page, while not refusing connections.
We should add some code to detect error pages and raise a better exception in those cases.


Integrate a canvid within a canvas

Hi, thanks for canvid, it's a great idea. I have very little experience of canvas and I was wondering if it was possible to integrate a canvid video within the wider "context" (in the ordinary sense) of a canvas element, so the canvas could contain other stuff along with the canvid(s).

why don't you just stack multiple canvas elements on top of each other? to me, that sounds like a cleaner solution.

Yes, thanks for the suggestion.


New '.sh' files default to CRLF

Issue Type: Bug

New file
Save as "something.sh"

-> line endings are CRLF; this doesn't work and produces very weird results
changing line ending to LF and resaving the file makes executing of script work.
VS Code version: Code - Insiders 1.35.0-insider (16de3c28db1d2c6fbe2227d1ffe91c5e7e683bc9, 2019-05-27T05:19:20.616Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (8 x 2592)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.83GB (13.18GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (5)

Extension
Author (truncated)
Version

dotenv
mik
1.0.1

mssql
ms-
1.6.0

python
ms-
2019.4.12954

vscode-docker
Pet
0.6.2

trailing-spaces
sha
0.3.1

On Windows, all new files are defaulted to CRLF since that is most often what you will want on Windows.


Post output path

Allow specifying output path of a certain post.
I can make some defaults, like, for sites, the default is:

for articles, /yy/mm/dd/link.html
for pages, /link.html

Make this configurable in the post metadata, like:
link = "link-name"
ts = "..."
path = "/:yy/:link.html"
%%%

I think just this function from tera would work https://docs.rs/tera/0.11.0-beta.1/tera/struct.Tera.html#method.one_off
It's also easily doable via liquid if I move to it someday: https://docs.rs/liquid/0.11.0/liquid/index.html#example

Done in #30


Refactored RKConnectionDescription for improved encapsulation and subclassing

Removed type getter isForeignKeyConnection / isKeyPathConnection and make internal used subclasses public. So it is possible to create own connections with custom behavior.
I want to build an eager RKRemoteForeignKeyConnectionDescription, which has a relationship route to full-automatic request related objects by their foreign keys if they are not found in local store. What do you mean, do you feel comfortable about this way?

Closing due to inactivity.


Add support for errors to native form components

withFormik displayed errors outside of a form component, but that means it stripped away the ability to pass an error message into a component and have it displayed. Native form components need to be able to display errors so users can use them in the upcoming redux form components can also take advantage of it without duplicating code.

The point about the tests is a valid one. I'll make an effort to give proper test coverage


Could not create speech recognizer

I was trying to run the sample app and to use SPXTranslationRecognizer. However I can't instantiate an instance of this class.
Steps to reproduce:
SPXSpeechTranslationConfiguration *config = [[SPXSpeechTranslationConfiguration alloc] initWithSubscription:speechKey region:serviceRegion];

self.recognizer = [[SPXTranslationRecognizer alloc] init:config];

when I instantiate SPXTranslationRecognizer I get an exception:

Exception caught when creating SPXTranslationRecognizer in core.

For TranslationRecognizer, you need to at least specify one of target language by
[config addTargetLanguage:"your target language, e.g. de-DE"]
(you can add more target languages by calling the method multiple times)
(you can specifiy the source language by setting the property
config.speechRecognitionLanguage = "en-us"
)
Sorry, the error message is not clear. We are working on it, and will also provide more Objective-C samples soon.

Thank for your reply. I did that as well:
SPXSpeechTranslationConfiguration *config = [[SPXSpeechTranslationConfiguration alloc] initWithSubscription:speechKey region:serviceRegion];
[config addTargetLanguage:@"en-GB"];

self.recognizer = [[SPXTranslationRecognizer alloc] init:config];

but still get the same error..


Websockets on cart page

~~Requires #1041 so merge that first.~~Merged
Depends on #1056 so merge that first
This adds websocket-based removal of samples and processed data on the selected samples cart page. It also moves the analysis creation to that page as well.

Coverage decreased (-0.1%) to 78.96% when pulling a828daaaf95138a783db6d683828b6c2090a9a29 on squirrelo:websockets-on-cart-page into c1fc3c891d1e645fa20bc40aa62119cc45e94a7c on biocore:cart-branch.

Ready for review

Changes Unknown when pulling 795c748c4c8ed925783480b09668ccb6ad062069 on squirrelo:websockets-on-cart-page into ** on biocore:cart-branch**.

argh, conflicts, can you pull from upstream master and upstream cart-branch.

Done, tests running now.

Coverage decreased (-0.06%) to 79.26% when pulling 05b3837f03141d54362251fa801e5bba0b789725 on squirrelo:websockets-on-cart-page into<PHONE_NUMBER>fbe42b3c3a5dcf6b4d7b7a1461537e on biocore:cart-branch.

@biocore/qiita-dev Tests pass, ready for review!

Ok, now I'm reviewing this one.

This looks great!! Such an awesome improvement overall, a few things:

If you (1) select samples for an analysis, then (2) go to "view selected samples", then (3) remove all the samples and (4) try to create the analysis. You'll get a 405 error. Similarly if no samples are selected and you click "view selected samples", you'll get the following traceback:

  File "/Users/yoshikivazquezbaeza/.virtualenvs/qiita/lib/python2.7/site-package
s/tornado/web.py", line 1141, in _when_complete
    callback()

  File "/Users/yoshikivazquezbaeza/.virtualenvs/qiita/lib/python2.7/site-package
s/tornado/web.py", line 1162, in _execute_method
    self._when_complete(method(*self.path_args, **self.path_kwargs),

  File "/Users/yoshikivazquezbaeza/.virtualenvs/qiita/lib/python2.7/site-package
s/tornado/web.py", line 2297, in wrapper
    return method(self, *args, **kwargs)

  File "/Users/yoshikivazquezbaeza/git_sw/qiita/qiita_pet/handlers/analysis_hand
lers.py", line 220, in get
    proc_info=proc_data_info)

  File "/Users/yoshikivazquezbaeza/.virtualenvs/qiita/lib/python2.7/site-packages/tornado/web.py", line 538, in render
    html = self.render_string(template_name, **kwargs)

  File "/Users/yoshikivazquezbaeza/.virtualenvs/qiita/lib/python2.7/site-packages/tornado/web.py", line 645, in render_string
    return t.generate(**namespace)

  File "/Users/yoshikivazquezbaeza/.virtualenvs/qiita/lib/python2.7/site-packages/tornado/template.py", line 273, in generate
    return execute()

  File "analysis_selected_html.generated.py", line 276, in _tt_execute
    for pid in proc_datas:  # analysis_selected.html:79 (via sitebase.html:192)

UnboundLocalError: local variable 'proc_datas' referenced before assignment

When I select a few samples and try to create the analysis, I get a 405 error.

Last thing, now that I've been able to list several studies under the "/selected/" handler, I think it would be better if the studies were presented inside a data table. And the table shouldn't use the full width of the window, it looks weird.

@ElDeveloper I looked at the datatables idea and, to me, it doesn't look like it will make this more usable. The issue is the show/hide samples, and how the datatables Jquery will interact with the removal code.

Coverage decreased (-0.06%) to 79.26% when pulling 787c24f2867e74d0e4dd33a0703e1d2cbe38dbfe on squirrelo:websockets-on-cart-page into<PHONE_NUMBER>fbe42b3c3a5dcf6b4d7b7a1461537e on biocore:cart-branch.

Ready for another review.

Ok, I was proposing that idea, because out of the box it organizes large
data sizes, but if you think it's not a good idea, then I trust you.
However, I think the current view could be better.
On (Apr-18-15| 9:46), Joshua Shorenstein wrote:

@ElDeveloper I looked at the datatables idea and, to me, it doesn't look like it will make this more usable. The issue is the show/hide samples, and how the datatables Jquery will interact with the removal code.

Reply to this email directly or view it on GitHub:
https://github.com/biocore/qiita/pull/1058#issuecomment-94180007

@biocore/qiita-dev Can someone give this another review?

@wasade, can you check if your comments were addressed, after that, this should be ready for merge.

I've not gone over the code but I was testing this branch as @squirrelo suggested that this is the last PR on this branch.
One of the things that act weirdly is that I can select samples, go to the "View selected samples" page; and, when I go back to the study listing page, I have no feedback of which samples have been already selected. I would suggest that the checkbox should be checked if you've already chosen those samples. Alternatively,  I would suggest changing the checkbox to a + sign (glyphicon); and use a - sign when that study has been already selected. Other options are using a color scheme, but I think this can look like a Christmas tree. Anyways, I think some kind of feedback is needed in the study selection page.

Also, I cannot create an analysis. I added a new study, completely processed it, I only choose it's samples. When I click create analysis on the modal that appears, nothing happens...

Fixed the issue with creation of new analyses, the modal was submitting to the wrong page.
As for previously selected samples, I agree that something needs to be done, but it's something that needs a lot of discussion and thought. For now, I think what we have will work, and it can be expanded upon when we come to a conclusion for how previously selected samples are shown. The big issue is that you aren't selecting by sample, but by processed data.

Thanks for the comments @squirrelo
However, I don't think that we should merge all this branch into master (it can go to it's own branch). Based on the new Contributing.md document, this functionality is not complete, and leaving the system in a somewhat inconsistent state (it can be really misleading to the user - it was for me...), so we should discuss this and being able to make it for the alpha 0.1 release...

This is good to go as is for now though, since it's still on it's own branch. In light of that, can we get this a final review and merge?

As @ElDeveloper suggests, I will be more comfortable if @wasade can review this, as he has more experience with websockets and he already had some comments on this PR.

This only changed a single number, so the tests will pass fine. It's good to review.

Coverage decreased (-0.06%) to 79.26% when pulling 5b253ff6b8837f8f2a5ca820c1eea059cf00f9cc on squirrelo:websockets-on-cart-page into<PHONE_NUMBER>fbe42b3c3a5dcf6b4d7b7a1461537e on biocore:cart-branch.

What is the reason for not reusing the moi client-side websocket code? It would require only a minor modification to moi.js (allow specifying an onerror method at construction, and the specific handler the websocket should use). This is an opportunity to reduce js code replication and centralize websocket handling client-side.
.

The MOI.js is specific to what MOI is doing. I can make it generalizable, but then it’s no longe the same asr MOI.js in the MOI repo and the changes will need to get moved there as well. This is a fast solution that allows us to have qiita-specific websocket code and MOI specific web socket code coexist.

On Apr 22, 2015, at 7:38 AM, Daniel McDonald<EMAIL_ADDRESS>wrote:
What is the reason for not reusing the moi client-side websocket code? It would require only a minor modification to moi.js (allow specifying an onerror method at construction, and the specific handler the websocket should use). This is an opportunity to reduce js code replication and centralize websocket handling client-side.
—
Reply to this email directly or view it on GitHub https://github.com/biocore/qiita/pull/1058#issuecomment-95211946.

It really isn't specific. Is a PR for the minor changes against moi not possible? It literally does the exact same thing, is just more flexible.
That argument is analogous to writing a custom fasta parser every time we need to parse a fasta file. It's quick, allows for special casing whatever random garbage is in the comment field, but hurts us in the long run.

Coverage decreased (-0.06%) to 79.26% when pulling 05c24c04177f92f9f79f36d6be0f3701411ed3b8 on squirrelo:websockets-on-cart-page into<PHONE_NUMBER>fbe42b3c3a5dcf6b4d7b7a1461537e on biocore:cart-branch.

Ok, broke out the web socket initialization and in the process may have fixed #993. If the MOI code looks good I’ll open a pull request to add it directly into MOI.

On Apr 22, 2015, at 8:26 AM, Daniel McDonald<EMAIL_ADDRESS>wrote:
It really isn't specific. Is a PR for the minor changes against moi not possible? It literally does the exact same thing, is just more flexible.
That argument is analogous to writing a custom fasta parser every time we need to parse a fasta file. It's quick, allows for special casing whatever random garbage is in the comment field, but hurts us in the long run.
—
Reply to this email directly or view it on GitHub https://github.com/biocore/qiita/pull/1058#issuecomment-95236350.

Great, thank you
On Apr 22, 2015 9:46 AM, "Joshua Shorenstein"<EMAIL_ADDRESS>wrote:

Ok, broke out the web socket initialization and in the process may have
fixed #993. If the MOI code looks good I’ll open a pull request to add it
directly into MOI.

On Apr 22, 2015, at 8:26 AM, Daniel McDonald<EMAIL_ADDRESS>wrote:
It really isn't specific. Is a PR for the minor changes against moi not
possible? It literally does the exact same thing, is just more flexible.
That argument is analogous to writing a custom fasta parser every time
we need to parse a fasta file. It's quick, allows for special casing
whatever random garbage is in the comment field, but hurts us in the long
run.
—
Reply to this email directly or view it on GitHub <
https://github.com/biocore/qiita/pull/1058#issuecomment-95236350>.

—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/pull/1058#issuecomment-95242938.

Coverage decreased (-0.06%) to 79.26% when pulling a239792efaa2c9269b4f2e3870c720d6b69687eb on squirrelo:websockets-on-cart-page into<PHONE_NUMBER>fbe42b3c3a5dcf6b4d7b7a1461537e on biocore:cart-branch.

This is now fully MOI-ified so it should be ready for merge. I will add the cart info stuff to the top corner in a subsequent pull request, since this one is already growing rather large.

Coverage increased (+0.03%) to 79.35% when pulling 0cc55c94a25f50f1b42c9e4d89f161327940e177 on squirrelo:websockets-on-cart-page into<PHONE_NUMBER>fbe42b3c3a5dcf6b4d7b7a1461537e on biocore:cart-branch.

:+1:


Nuitka glfw plugin error for newer OpenGL

Hi,
I'm getting
Nuitka-Optimization:INFO: C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\OpenGL\version.py:1 : new_code : Instructed by user to follow to all non-standard library modules.
FATAL: glfw: Undetected OS, please report bug for 'x11'.

when running
python -m nuitka --standalone --enable-plugin=pyqt5 --verbose main.py
Version info:
nuitka --version
0.7.7
Commercial: None
Python: 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)]
Flavor: Unknown
Executable: C:\Users\User\AppData\Local\Programs\Python\Python310\python.exe
OS: Windows
Arch: x86_64
WindowsRelease: 10

I'm using pyforms in main.py which depends on OpenGL from what I understand. Maybe somebody has encountered a similar problem before and would be able to point me to the right direction?
Thanks so much for your time!

I have added this for factory branch, ought to work now, let me know. https://nuitka.net/doc/factory.html

Thanks for such a quick patch. I tried out the factory branch and now get a different (same?) error:
FATAL: glfw: Undetected OS specific glfw plugin 'wayland', please report bug for.

I see, it's a similar error, I have added it too.

Tried it again, now get
PASS 1:  69%|███████████████████████████████████████████████████████████████████████████████████████████████▉                                          | 920/1324, OpenGLTraceback (most recent call last):
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\__main__.py", line 137, in <module>
    main()
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\__main__.py", line 123, in main
    MainControl.main()
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\MainControl.py", line 925, in main
    main_module = _createNodeTree(filename=filename)
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\MainControl.py", line 201, in _createNodeTree
    optimizeModules(main_module.getOutputFilename())
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\optimizations\Optimization.py", line 329, in optimizeModules
    finished = makeOptimizationPass()
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\optimizations\Optimization.py", line 291, in makeOptimizationPass
    changed = optimizeModule(current_module)
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\optimizations\Optimization.py", line 187, in optimizeModule
    changed = optimizeCompiledPythonModule(module)
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\optimizations\Optimization.py", line 149, in optimizeCompiledPythonModule
    considerUsedModules(module=module, signal_change=signalChange)
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\importing\Recursion.py", line 448, in considerUsedModules
    Plugins.considerImplicitImports(module=module, signal_change=signal_change)
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\plugins\Plugins.py", line 369, in considerImplicitImports
    cls._considerImplicitImports(plugin=plugin, module=module)
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\plugins\Plugins.py", line 295, in _considerImplicitImports
    for full_name in iterateModuleNames(plugin.getImplicitImports(module)):
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\plugins\Plugins.py", line 274, in iterateModuleNames
    for v in value:
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\nuitka\plugins\standard\GlfwPlugin.py", line 71, in getImplicitImports
    os_part, plugin_name_part = line[15:-1].split(",")
ValueError: too many values to unpack (expected 2)

This is not actually glfw, but OpenGL that changed, and it just happens to live in the plugin, but actually ought to be its own, it seems glfw works without it too. I managed to reproduce it after updating PyOpenGL.  The source code based parsing broke due to line comments after the plugin instantiation. One day we need to become better doing this inside the node tree of Nuitka.
Anyway, factory now should handle this just fine.

It works now, thanks!

Hi,
Im having some issues with PyOpenGL and glfw. I tried using the factory branch but no success.
If I try import OpenGL it fails straight away with:
Nuitka-Options:INFO: Used command line options: --onefile hello.py -o hello_bin Nuitka:INFO: Starting Python compilation with Nuitka '0.7.7' on Python '3.10' commercial None. FATAL: glfw: Undetected OS, please report bug for 'x11'.
If I try import glfw, things progress for a little while then it errors with:
No installer needed, cached, one time question. Proceed and download? [Yes]/No  no Nuitka-Scons:INFO: Backend linking program (no progress information available).                        Nuitka-Scons:WARNING: You are not using ccache. FATAL: Error, call to 'install_name_tool' failed: ['/opt/local/bin/install_name_tool', '-change', '/usr/local/opt/glfw/lib/libglfw.3.dylib'<EMAIL_ADDRESS>'hello.dist/glfw/libglfw.3.3.dylib'] -> b'/opt/local/bin/install_name_tool: object: hello.dist/glfw/libglfw.3.3.dylib malformed object (unknown load command 9)'.
Im using python3.10 in a venv
Thanks!

Part of 0.8 release that I just made.


⚠ Turnos 24x7 has degraded performance

In 8f9f018, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 11161 ms

Resolved: Turnos 24x7 performance has improved in cee26ea.


pumped release version to 0.2.0 and updated uid2 ios sdk dependency

Let's wait until the License in headers PR in #7 lands.


[FEATURE]: Create the OverviewCard component for the Storybook

Is your feature request related to a problem?
This component is part of a reusable design system for Fonoster's dashboard. It helps achieve consistency and reduces repetitive implementation work.

Describe the solution you'd like
The OverviewCard should follow the design in the Figma file and be implemented as a standalone React component with the following props: onClick, icon, label.

It should use MUI styles for styling
The component must have basic tests using

Describe alternatives you've considered
NA
Additional context
Before working on this item, please check the CONTRIBUTING document. Details about the OverviewCard component can be found here.
Acceptance Criteria:

[ ] Matches Figma design
[ ] Storybook story with documentation
[ ] Works in light/dark themes
[ ] Includes basic unit tests

I will like to work on this next

@obrucheoghene
All your my friend!

Thanks again, @obrucheoghene.
You rock!
Closed as completed by #669