How to Build an Image Classifier with Keras

update branch
Article Checklist
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.

NOTE: (1st time contributors - submit ONLY one article to get familiar with the process and style-once published, you can then submit any number of articles.)
Grammar Checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] 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

Change the title of the pr to title of the article. Also, check the boxes in the checklist whichever is applicable.

Change the title of the pr to title of the article. Also, check the boxes in the checklist whichever is applicable.

Added a folder image-classifier-keras.
Wrote an article about how to build an Image Classifier using Keras with a TensorFlow backend.
There are images of code output in the folder along with memes to aid explanation.
Some images are original while others are from the internet, the sources have been provided.

Added a folder image-classifier-keras.
Wrote an article about how to build an Image Classifier using Keras with a TensorFlow backend.
There are images of code output in the folder along with memes to aid explanation.
Some images are original while others are from the internet, the sources have been provided.

Can you add a hero image?

Can you add a hero image?

This fixes #1072

This fixes #1072

plagiarism check done

plagiarism check done

Also, we will need a short bio and a headshot pic of you. Look at the authors folder for more information.

Also, we will need a short bio and a headshot pic of you. Look at the authors folder for more information.

Are the changes done? Notify us after all the changes are made.

All the changes have been made.

All the changes have been made.


More CSS EDSL examples

Could you please add some examples demonstrating how to generate CSS classes using the ESDL?

Have you had a chance to look at the tests? https://github.com/pointfreeco/swift-web/tree/master/Tests/CssTests There's quite a few use cases there.
We also use this lib extensively in the Point-Free codebase, which you can find here: https://github.com/pointfreeco/pointfreeco.

Hm, I had a look at pointfreeco but the CSS code was kinda complex.
The tests are quite helpful though, thanks.


Docs: capitalization and cross-reference in Configuration.md

Summary
Configuration.md

capitalization: noticed these are the only all-lowercase occurrences of JavaScript and React in prose content of docs.
cross-reference: readers need the other direction with brief contrasting explanation

ExpectAPI.md

removed an extra empty line from when I moved the code example

Test plan
Review by a second pair of eyes, thank you :)
P.S. Do we have a doc convention to tell people which version of Jest, as discussed in http://facebook.github.io/jest/docs/expect.html#expectaddsnapshotserializerserializer

thanks!


Invalid authentication

Hey there,
I'm not able to log in / run the integration. I'm getting the Error Message: "Invalid authentication"
Here's some info on my setup:

as a Host I'm using the internal IP Adress provided by my router for the wallbox, right? In my case <IP_ADDRESS>
My login + Password are the combination used on the sunny portal page , right? (https://www.sunnyportal.com/)
At home I'm running a full stack of SMA (sun collectors, battery, wallbox), hence I have several IP Adresses in my router indicating that this is a SMA product. Do I need to use the IP of the wallbox or another device?

When using another IP (something different) I receive the error message "Failed to connect", so it seems to me I'm using the wrong Username + Password
Please assist,
RGDS!

Yeah okay, I digged into the system itself and figured out that there needs to be an admin account on the wallbox itself. Configured it, and now I could connect to it.


Using bosh 6.2.0 does not work with socks5 proxy

I just updated to bosh-cli 6.2.0 and I usually setup a ssh proxy and set BOSH_ALL_PROXY to be this ...
BOSH_ALL_PROXY=socks5://localhost:60031
This works with bosh-cli 6.1.0 but hangs with bosh-cli 6.2.0
Working version is this ...
➜  ~ bosh -v
version 6.1.0-9c1c210c-2019-09-18T17:33:48Z
➜  ~ /usr/local/bin/bosh.new -v                                                                          <<<
version 6.2.0-e5ce64ab-2020-01-16T19:22:06Z
Fails!

@jfmyers9 that's good news!  thanks

works like a charm now!  thanks


Issue #631

fixes https://github.com/android-graphics/sokatoa/issues/631

There was a class in Perfetto's CSS that told that icon to have a specifically gray background.  I told it to also decide the color of the text to be black as well.


remote control keys on webOS simulator not working.

I want to control the remote control events i.e. fetch the keycode events and add custom functionality for remote control keys according to the key codes but I'm not able to handle the events for webOS.
For tvOS , this is done using TVEventHandler. How can we control events for webOS or Tizen?

Standart keyboard events like onKeyDown onKeyPress onKeyUp should work on a wrapper view.
<View
    onKeyDown={e => {
    console.log(e.keyCode);
    }}
>
{children}
</View>

or you can use event listener
document.addEventListener('keydown', function(e) {
            console.log(e.keyCode);
        });

Any update for this question, maybe i'm doing things wrong ! Thx anyway.

@kasinskas It worked. Thank you.


Search text highlighting

Description
This PR implements text highlighting for search results. This works by:

Getting match start and end indices using includeMatches option in Fuse.js
Finding the most similar match using string-similarity
Highlighting the text using react-highlight-words

Demo
Demo Link: https://napari-hub-search-highlighting-demo.vercel.app
Search Resulting Highlighting

Yes, good point @Justine Larsen @.***> ! I was
imagining it'd be ideal if the length of snippet is approximately as long
as the width of the two columns in the widest screen (~600px) I think. So
for number of characters it looks like doubling it would be perfect and
help the context a lot more
On Wed, Jun 2, 2021 at 3:16 PM Justine Larsen @.***>
wrote:

@.**** approved this pull request.
LGTM, this is a really cool feature! Nice work @codemonkey800
https://github.com/codemonkey800 !
General design comment: The number of characters in the description if
it's highlighted is too small in my opinion. It's difficult to know any
context from just the small amount. I would recommend at least double the
amount of characters to get some relevant context. @liaprins-czi
https://github.com/liaprins-czi What do you think?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/chanzuckerberg/napari-hub/pull/65#pullrequestreview-674726230,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMWPDSESQIXYXJKG5DOSWDTTQ2UTBANCNFSM457KT4RA
.

--
Lia Prins
Senior Data Visualization Designer
(650) 422-1750
chanzuckerberg.com

I updated the description preview to be 40 characters on each side now. I also refactored the function a bit to handle edge cases where the matched term shows up at the beginning or end of the description.
I refactored matching finding to use string-similarity instead of the first match. This gives us way better results than the previous method. I also did a Lighthouse comparison and found the performance difference negligible (almost zero difference).


WIP Only use published artifacts, not submodules & build from source

Adds mock secrets instead of using backend's genkeys script
removes all submodules
Adds opentdf.Tiltfile common library for configuring frontend and backend helm charts for testing in a cluster, local or otherwise
TK: clients loading from published client artifacts, support for multiple artifact repos, etc.

@mustyantsev This is my local branch where I was trying to eliminate 'build from scratch' and instead only use published artifacts. Notably, this means it doesn't rely on the tiltfiles in the submodules or any other helper scripts.


You can just delete all the code after line
console.log('✅  Server-side HMR Enabled!');

in file src/index.js
This is what is hot reloading on server side

Meff34 sort of, but not really :)
https://github.com/jaredpalmer/razzle/blob/master/packages/razzle/config/createConfig.js#L339
Needs a signal: false here, so no.


Docker - Arm64 support

It seems like currently Arm64 is not supported as shown in response below:
WARNING: The DATABASE_PATH variable is not set. Defaulting to a blank string. WARNING: The EXECUTION_MODE variable is not set. Defaulting to a blank string. Creating network "docker_default" with the default driver Pulling flowise (flowiseai/flowise:)... latest: Pulling from flowiseai/flowise ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries
I also see there is a Database Path and Execution mode in the .env but no details regarding its use.

Built a docker image with multiple platform support using the original DockerFile.
https://hub.docker.com/repository/docker/impranshu/flowise-ai/tags?page=1&ordering=last_updated
Use the following command to build :
docker buildx build --platform linux/arm64,linux/amd64 --tag replace_with_with_your_dockername/flowise-ai:v1 --output "type=registry" .

You can now pull from arm64 docker image in v1.2.14:


support IP mode start when pod have static IP

in a privatization environment, k8s may be customed and the abilities are enabled through annotations.

fe not set enable_fqdn_mode as true and be set below env.
envVars:
- name: HOST_TYPE
value: IP
the example doriscluster as follows:
apiVersion: doris.selectdb.com/v1
kind: DorisCluster
metadata:
labels:
app.kubernetes.io/instance: doriscluster-sample
app.kubernetes.io/name: doriscluster
name: doriscluster-sample
spec:
beSpec:
image: selectdb/doris.be-ubuntu:x.x.x
envVars:
- name: HOST_TYPE
value: IP
feSpec:
image: selectdb/doris.fe-ubuntu:x.x.x
replicas: 3


Implement default user for demoing the website

Goal: to provide a quick access for users who do not want to sign up.

Implement a button for quick access
Ask user to enter at least their email
Time the access to 3 days, after which a user with such email must create an account
Same access rights as unverified user

Demo released today.


replace private grpc with tensorflow's grpc

Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): centos-7
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): binary(pip download & conda install)
TensorFlow version: 2.3.0
Python version:3.8.11
Installed using virtualenv? pip? conda?:conda
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

Describe the problem
I am an undergraduate research from the Ohio State University. My group is focusing on optimizing grpc(v1.38.0). Right now, we want to fills our optimized grpc into tensorflow to increase the performance of distributed trainning. However, the problem is we don't know how to modify the configuration to let tensorflow using our optimized grpc. I would very appreciate your help and please let me know if you need further information. Thank you!
Provide the exact sequence of commands / steps that you executed before running into the problem
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

Hi @TheGreatRandall ! Could you please post this query on TF Forum /Stackoverflow as this is not a bug feature request. Attaching Relevant threads for your reference though. link1,link2. Thanks!


Possibly incompatible with C2ME

https://github.com/RelativityMC/C2ME-fabric/issues/146

@orlouge Sorry about the ping

Both mods attempt to change the same parts of the code, and Structure Palettes does it in a way that shouldn't cause incompatibilities with other mods in most cases, unless they overwrite the whole method altogether like C2ME, so I will not change it.


[2.0]Improve the testing process

[ ] backend testing
[ ] frontend testing

e712903 Finished page tests


Publish source maps

I'm working on bringing source maps in the published module. I realized that in order to have correct jump to definition and debugging to work, the sources of the library need to be included. The set of scripts added in this pr includes the original source files without modifying the structure of the published package (so all imports like from '@matechs/core/Either'; should still work).
Since the .js files are unchanged, compared to all previous versions, I'm guessing that bundlers would not care about original source files and will completely skip bundling them into the final application. So it shouldn't affect the bundle size of compiled apps.
Additionally, with these changes, it is not possible to see how various methods are implemented internally, and so the effect will act as a sort of documentation of itself. As well as it shows the original source during the debug session, allowing to learn inner workings of the library.
@mikearnaldi What do you think about including source code in the published package?
EDIT: also, for now only core has proper source maps enabled. Other packages might have source maps generated, but those are broken, since they don't link correctly

I think we can include the maps I don't think they will end up in bundles

keep in mind @matechs/effect/either is needed for bundlers to properly index es6/commonjs

keep in mind @matechs/effect/either is needed for bundlers to properly index es6/commonjs

I'm not sure what you mean here. Is it Either from @matechs/core or is it something else? Could you clarify, please?

the import @matechs/core/Either is mapped to /Either where there is a package.json indexing both the commonjs and the es6 modules

Oh yes, I understand. The structure of build/ dir is still the same as before these changes: there is build/Either folder with package.json pointing to cjs and to es6 versions:
{
  "sideEffects": false,
  "main": "./index.js",
  "module": "../esm/Either/index.js",
  "typings": "./index.d.ts"
}

This pr places .d.ts.map and .js.map files beside each of those and adds source files in the separate folder. I tried putting source files in the same folder, but then tsc compiler gets confused with the import.

Is it possible to publish preview of these changes? This would allow us to ensure it works before merging.

not really, I have publish integrated in the ci and have found no way to get preview working properly. Usually I use a local registry to do this type of test

I've added a babel step to auto-add PURE comments , does it break this in any way? The reason being is writing manually PURE comments is noisy and we definitely need to pay attention to have those comments everywhere in top-level call sites (the "next" is already quite fat by default, around 80k, because of fiber tracing & additional functionality)

When babel is executed without -s flag (which enables source maps) then babel strips out source maps comments. When I add that flag, everything seems alright. I'm going to rebase and bring those changes into this merge.
Out of curiosity: why is there 2 different modules for pure annotations? It seems only one is being used. Can we get rid of the other?

yes we can it's a leftover


Increment Azure Communication Services from 1.0.18 to 1.0.19

Description
Increment Azure Communication Services from 1.0.18 to 1.0.19.

Upgraded azure-core from 1.35.0 to version 1.36.0.
Upgraded azure-communication-common from 1.2.4 to version 1.2.5.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-communication-phonenumbers


weechat-matrix: substitute matrix_upload

Description of changes

substituted the matrix_upload script with the right nix store path, so it actually works.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 308652 run on aarch64-linux 1

1 package built:

weechatScripts.weechat-matrix

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/3869


Support hashed hostnames in .ssh/known_hosts

I forgot to support this in the initial implementation, this adds support for hashed hostnames.

Awesome—I ran into this just yesterday! <3


Refactor client code and extract repository/library methods into new modules

This PR aims to make the client code cleaner and put it into modules that might be reusable in other tools, such as IDEs, or other frontends to the compiler.
Right now the haxelib.client.Main class is where most of the client code is found. Separating the specific user interface elements of the haxelib client from the functionality behind managing the database would be a step towards making the haxe frontend independent of haxelib. It would be possible to just reuse these specific modules to fetch the library locations from where the haxelib client installs them.
Other more general changes are using final where possible to keep code clean, and making use of more modern haxe 4 features.
Progress:

[x] Add hx3compat dependency to the haxelib.json, so that this can be used properly as a dependency for other projects.
[x] Extract methods for managing the location of haxelib repositories into the new module RepoManager.
[x] Refactor client initialization code
[x] Extract methods for setting and getting library versions
[ ] Testing

[x] Haxelib integration testing
[ ] API Testing

[x] Documentation

Issues fixed:

Closes #503
Closes #526
Closes #364
Attempts to fix #529
Addresses some of the ideas raised in #217

Alright, so I've done all of the integration tests to cover the fixes I've made, and now I just want to write some more tests for the API by itself. Might be good to also consider how usable the API is in its current state as well.
There were some bugs/issues that got solved by rewriting the code, and so instead of reintroducing the bug for the sake of it I documented everything that got fixed by rewriting the code and I wrote new tests for most of these changes. There was also #529 which after rewriting the code was left completely broken, so instead of recreating the intricate buggy state that we had before, I attempted to fix it. I will follow up with a summary of all the changes.

Summary of changes:
GENERAL

Show error for invalid switches (this is done after checking whether to
pass the call onto another haxelib version, to allow for forward
compatibility)
Check whether to pass onto local haxelib version as early as possible (again,
for forward compatibility), prior to doing anything
Do not suggest deprecated command in std@host_resolve error
Fix downloads when using HAXELIB_NO_SSL
Prevent haxelib on windows using a global path that is yet to be set up
--no-timeout alias for --notimeout
--remote alias for -R
Corrected --quiet flag description
--quiet and --debug are considered mutually exclusive
Give errors when a command is given too many arguments
Fix --cwd option when system haxelib passes onto updated haxelib
Library names are case insensitive everywhere #529

API

Allow usage of all haxelib functionality via separate modules in the
haxelib.api package
Running a haxelib cleans up environment variables after itself
Documented the new API as well as undocumented parts of the

RUN

Fix specifying a version not working if a development directory is set
Show an error if a non-existent version is specified instead of
silently using a different version
Reset environment variables and current working directory after a run
so that it is safe to use as a function in a process
Fix check for whether to use --haxelib-global
Fix version check breaking on old versions of haxe

PATH

If two versions of the same library are given to path, the error mentions
them in the order they were passed in

PATH and LIBPATH

Show error if a non-existent library version is specified with either
command, instead of silently using a different version, as now with
the run command

LIST

Libraries are now correctly ordered alphabetically
Do not list invalid versions

INSTALL

Check for hlc target when installing from hxml
Installing from haxelib.json with --skip-dependencies now installs the
libraries in the haxelib.json, but not their dependencies. Previously, it
did nothing at all.
Prevent installing repeated library versions from hxml
List libraries in order they appear when installing from hxmls
When installing from hxmls, library names are now case insensitive #503

SET

Prevent setting invalid library versions #526
Fix proxy not loading when installing a library through set

UPDATE

Prevent updating git/hg version if it is not set as current #364
Don't show update message if vcs lib was already up to date
Fix an incorrect hg command (a non-existent option was being used: "--no-ext-diff")

REMOVE

Prevent removal of git/hg version if there is a dev version set within it

I wrote some tests for the API so everything should be good, I'll leave this now for review. I put some of the smaller general commits into #539 and #540 as they might be useful by themselves (and they are much less to review).

Moved some more general changes into #547 and #548.
#546 is also required for the tests here to run properly.

Happy birthday, PR #510!

🥳🥳


Update README.md

update README.md with new files.(CONTRIBUTION.md or CODE_OF_CONDUCT , etc..)

#14

https://github.com/ztkmkoo/dss/releases/tag/tag-0.0.1


added banner sensor functionality in vertical conv, modified intaking action command to run vertical conv acquire slow speed when cargo is detected

@cgjyang is this the PR you were testing at the end of Sunday? It looked like it was running gr8

This change looks good to me - the question I had for Jeff can be left for a later time (I don't think we need to block the merge for that)

@cgjyang is this the PR you were testing at the end of Sunday? It looked like it was running gr8

yes, it is :)


feat(Core): switch settings to TypeORM

Fixes #1048

@all-contributors please add @vladfrangu for review


Option to add a model identifier to the search result

As the title says, do we have an option to add an identifier to the search result? Just to know which model we are currently iterating.
For example

{
  "current_page": 1,
  "data": [
    {
      "id": 1,
      "video_id": null,
      "title": "foo",
      "published_at": null,
      "created_at": "2021-12-03T09:39:10.000000Z",
      "updated_at": "2021-12-03T09:39:10.000000Z",
      "type": "Post"
    },
    {
      "id": 1,
      "title": "foo",
      "subtitle": null,
      "published_at": null,
      "created_at": "2021-12-03T09:39:10.000000Z",
      "updated_at": "2021-12-03T09:39:10.000000Z",
      "type": "Video"
    }
  ]
}

Duplicate of https://github.com/protonemedia/laravel-cross-eloquent-search/issues/5

Nice! Thanks, @pascalbaljet!


Problem running examples using Hypre compiled for GPU

Hi,
I am trying to run MFEM (3.4) examples using Hypre (2.15) compiled for GPU computing, but three type of segmentation faults are detected as follows:
$ ./ex1p
...
CUDA Error Code[11]: invalid argument
csr_matrix.c(hypre_CSRMatrixPrefetchToDevice) Line:698
Segmentation fault (core dumped)
$ ./ex2p
...
CUDA Error Code[11]: invalid argument
vector.c(hypre_SeqVectorPrefetchToDevice) Line:1932
Segmentation fault (core dumped)
$ ./ex10p
...
CUDA Error Code[11]: invalid argument
gpuMem.c(MemPrefetchSized) Line:224
Segmentation fault (core dumped)
The Hypre code is compiled using the resulting Makefile running "./configure --enable-unified-memory --with-cuda". I am using CUDA compilation tools (V9.2.148) and NVIDIA driver version 396.54.
Can you give me some advice about the modifications needed to run these examples?

Hi @davidherreroperez,
Currently, MFEM (master branch, v3.4 or any earlier version) requires hypre built for CPU.
We are working actively on adding support for GPUs to MFEM including integration with hypre built for GPUs.

We are actively developing this connection and GPU implementations of core MFEM integrators as well.  These new features are planned for release in MFEM 4.0.


Semantic UI Firefox, input overflow

This code associated with the resulting image look in firefox,

Account Info

            <form class="ui form error">

                        <input type="text" placeholder="Login" name="login"
                            id="login" />

                        <input type="password" placeholder="Password"
                            name="password" id="password" />

                <input type="submit" name="submit" value="Submit" class="ui blue button" />
            </form>

http://jsfiddle.net/p3Lpyuxk/
Looks fine to me. Tested in Chromium 39 and Firefox 35 for Ubuntu 14.04
@mhashem: What version of Firefox are you using and on what operating system?

@ph7vc I am using Firefox 27.0.1 on a Mac OS X 10.10

Looks fine on Firefox 35 on Win7 / 64Bit.

Closing for now, unless further reports.

I know it looks fine on firefox 35 but I am reporting that from a ( Firefox 27.0.1 on a Mac OS X 10.10 )
unless Semantic-UI wont support this version, I am upgrading too to Firefox 35 but maybe for future considerations .

Semantic doesn't work on what I think, all under Firefox 30 versions.

http://caniuse.com/#feat=flexbox
Exactly, all under 31.

Also, maybe related but Semantic is virtually unusable in Firefox 29-down because box-sizing is completely broken. But it can easily be fixed by making this update in reset.css:
*,:after,:before{
-webkit-box-sizing:inherit;
-moz-box-sizing:inherit;
box-sizing:inherit
}
html{
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
}
I noticed it wasn't in the newest Semantic-UI-1.12.3, which it probably should be.

Thanks to ghost. It worked perfectly fine for me.


IAM_USER_MFA_ENABLED error

getting an error when running the lambda function

An error occurred (ValidationException) when calling the PutEvaluations operation: 1 validation error detected: Value ' ... 'evaluations' failed to satisfy constraint: Member must have length less than or equal to 100: ValidationException
Traceback (most recent call last):
File "/var/task/IAM_USER_MFA_ENABLED.py", line 428, in lambda_handler
AWS_CONFIG_CLIENT.put_evaluations(Evaluations=evaluations, ResultToken=resultToken, TestMode=testMode)
File "/var/runtime/botocore/client.py", line 314, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/var/runtime/botocore/client.py", line 612, in _make_api_call
raise error_class(parsed_response, operation_name)

any ideas?

Hey, do you have more than 100 IAM users?

yeah just realised we got almost 200 users

Hey @mbotmcc , this should solve the challenge. Please let me know if it works for you.
Jon

This is a timing consideration, brand new user might not be fully recorded. After a while it will appear normally. I clean-up the annotation and added the username, but it might not help if the username is not recorded yet.
Try again to re-evaluate, please. Works?

that works, thanks!

Awesome, feel free to raise anytime


Multi-tenancy support

Feature proposal

Firebase Component: Auth

Is there any plans to add multi-tenancy support?
It's available in js client/admin sdk https://cloud.google.com/identity-platform/docs/multi-tenancy-authentication

Thanks for filing this feature request! Filed b/158507022 for internal tracking.

This has been added in #6142


gearvr support

added build script and code to support vrapi on renderdoc android

Hi thanks for the comments! The reason I treated GearVR like a graphics API is that it applies distortion correction at the end (under the hood). So I thought it would be nice if we can capture and replay the vrapi calls so that we can see that distortion corrected backbuffer in later revisions (and even better if we can measure the duration).
As to the hooks existing as its own thing rather than as part of OpenGL, the reason is that vrapi will support vulkan soon and I would like to be able to capture gearvr apps using vulkan as well. But I agree with you that we probably don't need a vrapi driver yet and I will remove that from my PR. I will fold Common_CreateTextureSwapChain into WrappedOpenGL like you suggested.
After looking at how WrappedOpenGL::SwapBuffer works more deeply I see how I can just use ovrMobile like a window handle. Thanks!

Hi! I have made some of the changes you requested.
Because of Vulkan support on GearVR, I would like to keep the hooks as its own system rather than be a part of OpenGL, so I have not made that change yet. Perhaps should I move them under /hooks?

Hi thanks for helping me getting this to work. I think I am able to do everything you have requested. Please let me know if there is anything else I should fix!


vertical and horizontal scrolling msg size

Using both commits 84cc685 (current), and 9f3ccbd (yesterday) I get boredserf: message too long: 3 on using keybindings for vertical and horizontal scrolling.
I feel like this may be a 1--2 character edit in the functions, but I'm too inexperienced to do a pull request.

I was able to re-create; 7488420 should have fixed it.
Yup, a 1 character edit. I messed up the greater-than/less-than logic when editing the style to make long lines more legible.
Thank you!


Backslash issue

Generated pages has backslashes on their import lines as seen on the screenshot below. Thus, it gives module not found error
Note: I'm using Windows 10. It works perfectly on MacOSX

@brerdem should be now fixed in canary release. Could you test it, please?

@svobik7 It's fixed. Thanks!


Update process breaks app when double clicking and opening the app

Here is what I'm seeing...please tell me why I'm crazy.

User downloads my electron app on mac which has squirrel auto updating.
Instead of dragging app to applications, user double clicks the app to open.
Once open, an message pops up that says "An update is ready to install....type your password to allow this."

Typing the password does nothing, the app doesn't update.  Now, if the user just double clicks to open, I wouldn't expect them to be able to auto update, the app isn't installed properly.
The issue I see is that in the com.electron....ShipIt directory, when the user double clicks to open, 2 logs files get written: ShipIt_stderr.log and ShipIt_stdout.log.  But they get written as root, while ShipItState.plist is written as the currentuser.  I can only guess that this is the reason for the popup asking for a password, because if you install the application normally, those two log files are owned by the current user, and the update process works fine.  The terrible thing about this is, if a user double clicks and opens, then later installs the app normally into the applications directory, the app is still bricked from performing updates.  Those two log files are still owned by root.  And, to make matters slightly worse, the ShipIt helper process crashes and respawns itself every 2 seconds forever, even after the user close the app.
So I would hope there is some kind of fix for the issue.  Once a computer gets in that state, you have to sudo rm the log files after killing the ShipIt process.  NOT something I would want to tell anyone to do to resolve an issue.

bricks computer

That's not what brick means.

Here are the errors every 2 seconds in stderr: Installation error: Error Domain=SQRLShipItRequestErrorDomain Code=2 "Could not read update request" UserInfo={NSLocalizedDescription=Could not read update request, NSUnderlyingError=0x7f9f81703c40 {Error Domain=NSCocoaErrorDomain Code=260 "The file “ShipItState.plist” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/var/root/Library/Application Support/com.electron.ShipIt/ShipItState.plist, NSUnderlyingError=0x7f9f81703450 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}}}
2016-02-08 16:46:57.969 ShipIt[52971:580078] ShipIt quitting

Yes, I get the same behavior, and yes it permanently keeps people who do this on old versions!
I put more info about this on this related issue here: https://github.com/Squirrel/Squirrel.Mac/issues/151

Seems similar/a dupe of #151.


Improvement suggestion for Zlib-ng

As of now, the ng version has the same problem as the official Zlib. The functions InflateInit, InflateInit2, DeflateInit, and DeflateInit2 are simply macros for the functions InflateInit), InflateInit2_, DeflateInit_, and DeflateInit2_  where each of the actual functions has an underscore character at the end of its name. The macros are VERY USEFUL ones too, making it so the programmer doesn't need to worry about stuff like providing a version number for the library too the function (for some reason the actual functions want to know the version number of the library they are in). Unfortunately somebody utilizing ZLib (or ZLib-ng) in a programming language that's not C or C++, will be UNABLE to use these macros, FORCING the programmer to add extra time-wasting keystrokes to his typing of his code, as he types code to tell the function what version of the library it's running in (as well as to do some of the other things that the macros normally did). This is NOT good.
The remedy I propose, is to simply take the macros, and make them into actual functions, and then export these new functions alongside the old ones (the new functions will call the old functions, just like the macros did before, and the old functions will still be exported in case there's some reason that you might need to call them directly, but most applications will never require calling those old clunky functions).

There is overhead in converting macros to functions as externally visible functions can't be inlined. I've worked with C# and other alternative programming languages for last 9 months and my solution was to have separate thunk library to expose the macros to just the programs that are not written in C/C++. This also made it possible that I can use PIE (position independent executable) on platforms that require relative addressing for also executables.
Using thunk library also allows converting or explicit casting between variable types that are not allowed in other programming languages, like unsigned integers in C#.

The reason those macros are there is, as you noticed, to provide the version number. But you seem to have misunderstood the method of delivery and reason.
The version number of zlib/zlib-ng gets compiled into the binary of the application using the library, when calling these functions with the version number, zlib/zlib-ng can then determine whether the application has been compiled with the same or a compatible version of the library as what is currently installed. Avoiding potential corruption and/or crashes by refusing to work if the actual library does not feel confident that it is compatible with the version the application was expecting.
That said, I personally think this is very old-school, and might be more useful on windows than on linux.
So I have been considering removing this for zlib-ng native, and rather go with modern versioning methods, IF we can do that without loosing too much of the protection. Potentially keep it for windows if needed? Not ideal since that would make the API different on that platform.

There is overhead in converting macros to functions as externally visible functions can't be inlined. I've worked with C# and other alternative programming languages for last 9 months and my solution was to have separate thunk library to expose the macros to just the programs that are not written in C/C++. This also made it possible that I can use PIE (position independent executable) on platforms that require relative addressing for also executables.
Using thunk library also allows converting or explicit casting between variable types that are not allowed in other programming languages, like unsigned integers in C#.

You are correct that it can't be inlined, but that's the cost of making this DLL's functions easy to call in non-C programming languages such as Visual Basic (my ABSOLUTE FAVORITE programming language, due to how SUPER EASY it is to write programs with). Instead of writing an entire chunk of code to handle window messages (which get even more complicated when you have several controls like buttons in the window) in a GUI application, VB6's internals handle ALL of that, showing you (the programmer) just EVENTS that correspond to different inputs into your GUI. This makes it SUPER EASY to write a full GUI application, without having to know how to program the GUI itself to exist. You just need to program the BEHAVIOR of the application. In C or C++ you need to waste time writing code just to make the GUI exist.
I really would hope, for the convenience of people (such as myself) using non-C programming languages, that you will maybe make a separate fork of the code, with all the macros turned into exported functions, even if you intend to keep the main fork of the code using macros.

@Videogamer555 Suggestions are always welcome, but it's ultimately @Dead2 who decides which suggestions get highest priority... Some suggestions might be counterintuitive and not a really good idea to implement.

This should be resolved now in develop with modern zlib-ng API.

What do you mean in "develop"? And what do you mean by the modern API?

develop branch in Git...

When not using ZLIB_COMPAT option.


[android/player] Add Chromecasting support

We already have the drawables for this:
ic_menu_cast

and
ic_menu_cast_active

We will make the cast icon available on the action bar of the player window, like this:

(Not sure yet, but maybe it will be a good idea to have a third icon that is displayed while the connection is being established, I've seen this on iOS apps like Google Music during the seconds it takes to start casting)
After we've managed to add this to the player screen, we'll also add it to the preview screen (for both audio/video casting)

Is there a way to add Chromecast to this? I can't find any tutorials to do this.

I believe we had a contributor try to do this in the past, the process I
believe wasn't as straightforward as we wished
https://developers.google.com/cast/docs/developers
On Wed, Apr 17, 2019, 12:21 trollmad3<EMAIL_ADDRESS>wrote:

Is there a way to add Chromecast to this? I can't find any tutorials to do
this.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/frostwire/frostwire/issues/362#issuecomment-484161132,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKAiZ1CUwK-ZIYC_afy-dD0Vv-d3bQ1ks5vh0omgaJpZM4MMFcf
.

that seems very hard to do.


full screen on feed player be error with some change mode full screen video in list

@gamestap99 Please describe the issue.

Closing this issue as we didn't get much info. Thanks.


Feat: improvements to multi-token authentication

Hey @nicktaras here is that PR I mentioned. It's quite extensive but it gets rid of a lot of code duplication and cleans up some tech-debt.
Here's a summary:

Move AuthHandler to AttestationIdClient and repurpose to handle retrieval and storage of identifier attestations. This prevents the need for subsequent redirects to attestation.id after initial creation as ID attestations are now stored in Outlet until they are expired.
Standardize multi-token auth request and response into interfaces that are used for both local outlet and remote outlet authentication. This reduces the size of the URL parameter ensuring only collection hashes are sent in the URL, rather than the whole config object.
Remove duplication in attestation.id callback switch statement. Instead we can capture ID attestation and then reuse logic from Outlet.sendTokenProof and Outlet.sendMultiTokenProof.
Remove redundant dispatchAuthCallbackEvent in Outlet. Local outlet attestation callback is now handled in the client, with no requirement for any Outlet instance.
Outlet now extends LocalOutlet in order to make use of the authenticateMany function across Client and Outlet.

There's still a few improvements that could be make client side to reduce duplication. For instance, sharing more of the same logic in TicketZKProofMulti class and Client.processAttestationIdCallback function.
Note: At the moment signed UN + ZKProof is not supported in redirect mode. We have never found a good use-case for it so I think it's okay to leave it for now, but it could be added back fairly easily.

Looks good. Thanks Miccy.


status_server: Add symbol service to support remote fetching symbolized heap profile

What is changed and how it works?

Issue Number: Close https://github.com/tikv/tikv/issues/15732
What's Changed:

Jeprof supports generating the svg by remote fetching, so we can add a symbol service
following the [pprof format](https://gperftools.github.io/gperftools/pprof_remote_servers.html),
then with ` jeprof --show_bytes http://<tikv_host>:20180/debug/pprof/heap --svg` it can simply
get the heap profiling svg from remote.

With this PR, we can get rid of the limitation that the heap profile must be processed with the
corresponding tikv binary and perl runtime which is used by `jeprof`. Later, we only need to
install `jeprof` and `perl` in tidb_dashboard environment and collect the heap profile just like
how CPU profile does.

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

Unit test
Manual test (add detailed scripts or steps below)

run
jeprof --show_bytes http://<IP_ADDRESS>:20180/debug/pprof/heap --svg > new_profile.svg

here is the result

Release note
Add symbol service to support remote fetching symbolized heap profile

Also please link to a #issue.

Comments are addressed, PTAL again @overvenus @tonyxuqqi

/test

/merge

/run-cherry-picker


All of the elements don't fit on my screen

On my 13" MacBook Pro, I can't see all of the elements on the page on a single screen. Could you tighten up the UI so that it's a little more compact and fits on most screens?

closed via #a107aea


filters: revert to original behavior for invalid content-length handling in CEL Size extractor

Description
We recently refactored the CEL context expression logic in this PR and as part of this refactoring the Size extractor's behavior got slightly changed to return the bytes when the content-length header exists but is invalid.
This PR is to revert back to the original behavior of not returning anything in that case.

Commit Message: filters: revert to original behavior for invalid content-length handling in CEL Size extractor
Additional Description: This PR reverts back to the original behavior of the Size extractor when we have content-length header present but it's invalid.
Risk Level: Low
Testing: Added Unit Tests
Docs Changes: N/A
Release Notes: N/A

/assign @kyessenov


🐛 Bug Report: Github authentication provider doesn't support environment variables

📜 Description
environment variables are not caught when passed to the auth block in app-config.production.yaml
non working examples:
auth:
  environment: production
  providers:
    github:
      production:
        clientId: ${AUTH_GITHUB_CLIENT_ID}
        clientSecret: ${AUTH_GITHUB_CLIENT_SECRET}

auth:
  environment: production
  providers:
    github:
      production:
        clientId:
           $env:  ${AUTH_GITHUB_CLIENT_ID}
        clientSecret:
           $env: ${AUTH_GITHUB_CLIENT_SECRET}

What works is mounting a file with the credentials and using an include like this (documented my findings here https://github.com/backstage/backstage/discussions/16900) :
auth:
  environment: production
  providers:
    github:
      production:
         $include: /tmp/github-backstage-credentials.yaml

Additionally, using the integration block with environment variables are working fine, which is confusing because the auth block doesn't seem to accept env variables but the integrations does.
working example from same deployment for integrations block using env variables
integrations:
  github:
    - host: github.com
      apps:
        - appId:
            $env: APP_ID
          webhookUrl:
            $env: WEBHOOK_URL
          clientId:
            $env: AUTH_GITHUB_CLIENT_ID
          clientSecret:
            $env: AUTH_GITHUB_CLIENT_SECRET
          webhookSecret:
            $env: WEBHOOK_SECRET
          privateKey:
            $env: PRIVATE_KEY

👍 Expected behavior
passing environment variables to the auth block works like other blocks (integration, database, etc)
👎 Actual Behavior with Screenshots
the entire auth block configuration just doesn't get caught up when passing the environment variables, as if the block is not defined. The error says: "unknown auth provider github"
👟 Reproduction steps

define and auth block in app-config.production.yaml and pass environment variables for the Github Client ID and secret
deploy the application
attempt to login with Github on backstage
response in github browser window is 404
redirect_uri leads to "unknown auth provider github"

📃 Provide the context for the Bug.
No response
🖥 Your Environment
OS:   Darwin 21.6.0 - darwin/arm64
node: v18.14.1
yarn: 1.22.19
cli:  0.22.3 (installed)
backstage:  1.11.0

Dependencies:
  @backstage/app-defaults                          1.2.0
  @backstage/backend-app-api                       0.4.0
  @backstage/backend-common                        0.18.2
  @backstage/backend-dev-utils                     0.1.0
  @backstage/backend-plugin-api                    0.4.0
  @backstage/backend-tasks                         0.4.3
  @backstage/catalog-client                        1.3.1
  @backstage/catalog-model                         1.2.0
  @backstage/cli-common                            0.1.11
  @backstage/cli                                   0.22.3
  @backstage/config-loader                         1.1.8
  @backstage/config                                1.0.6
  @backstage/core-app-api                          1.5.0
  @backstage/core-components                       0.12.4
  @backstage/core-plugin-api                       1.4.0
  @backstage/errors                                1.1.4
  @backstage/eslint-plugin                         0.1.1
  @backstage/integration-aws-node                  0.1.1
  @backstage/integration-react                     1.1.10
  @backstage/integration                           1.4.2
  @backstage/plugin-adr-backend                    0.3.0
  @backstage/plugin-adr-common                     0.2.6
  @backstage/plugin-adr                            0.4.0
  @backstage/plugin-api-docs                       0.9.0
  @backstage/plugin-app-backend                    0.3.42
  @backstage/plugin-auth-backend                   0.18.0
  @backstage/plugin-auth-node                      0.2.11
  @backstage/plugin-catalog-backend-module-github  0.2.5
  @backstage/plugin-catalog-backend                1.7.2
  @backstage/plugin-catalog-common                 1.0.11
  @backstage/plugin-catalog-graph                  0.2.27
  @backstage/plugin-catalog-import                 0.9.5
  @backstage/plugin-catalog-node                   1.3.3
  @backstage/plugin-catalog-react                  1.3.0
  @backstage/plugin-catalog                        1.8.0
  @backstage/plugin-events-node                    0.2.3
  @backstage/plugin-github-actions                 0.5.15
  @backstage/plugin-github-pull-requests-board     0.1.9
  @backstage/plugin-org                            0.6.5
  @backstage/plugin-permission-common              0.7.3
  @backstage/plugin-permission-node                0.7.5
  @backstage/plugin-permission-react               0.4.10
  @backstage/plugin-proxy-backend                  0.2.36
  @backstage/plugin-scaffolder-backend             1.11.0
  @backstage/plugin-scaffolder-common              1.2.5
  @backstage/plugin-scaffolder-node                0.1.0
  @backstage/plugin-scaffolder-react               1.1.0
  @backstage/plugin-scaffolder                     1.11.0
  @backstage/plugin-search-backend-module-pg       0.5.3
  @backstage/plugin-search-backend-node            1.1.3
  @backstage/plugin-search-backend                 1.2.3
  @backstage/plugin-search-common                  1.2.1
  @backstage/plugin-search-react                   1.5.0
  @backstage/plugin-search                         1.1.0
  @backstage/plugin-tech-radar                     0.6.1
  @backstage/plugin-techdocs-backend               1.5.3
  @backstage/plugin-techdocs-module-addons-contrib 1.0.10
  @backstage/plugin-techdocs-node                  1.5.0
  @backstage/plugin-techdocs-react                 1.1.3
  @backstage/plugin-techdocs                       1.5.0
  @backstage/plugin-user-settings                  0.7.0
  @backstage/release-manifests                     0.0.8
  @backstage/test-utils                            1.2.5
  @backstage/theme                                 0.2.17
  @backstage/types                                 1.0.2
  @backstage/version-bridge                        1.0.3
✨  Done in 3.50s.

👀 Have you spent some time to check if this bug has been raised before?

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

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
None

I'm not able to reproduce this, the following works for me:
auth:
  environment: production
  providers:
    github:
      production:
        clientId: ${AUTH_GITHUB_CLIENT_ID}
        clientSecret: ${AUTH_GITHUB_CLIENT_SECRET}

Are you sure you have AUTH_GITHUB_CLIENT_ID and AUTH_GITHUB_CLIENT_SECRET set in your environment?

yup,I printed all the env variables from the pod (running printenv) they were set correctly and they were also correctly visible in my deployment, so I'm not sure what's wrong.
Interestingly, I also noticed the same behaviour with the postgres credentials - passing them via env variables didn't work, but only worked when mounting a file having the secrets in the deployment (just like the auth block)

Does your deployment have its front and backend served from separate containers?

No, it's the same container

Having the same issue.


release: only build for archs we use

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

Project coverage is 54.89%. Comparing base (4dab5ba) to head (0af57b3).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #150      +/-   ##
==========================================
+ Coverage   54.65%   54.89%   +0.23%
==========================================
  Files          10       10
  Lines        1257     1257
==========================================
+ Hits          687      690       +3
+ Misses        481      479       -2
+ Partials       89       88       -1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Unexpected reserved word: class

I'm using gulp-coverage in my gulpfile like so:
gulp.task('test', () => {
  return gulp.src('test/**/*.js', {read: false})
    .pipe(cover.instrument({
      pattern: [`${srcDir}/**/*.js`, `!${srcDir}/configure.js`],
      debugDirectory: 'debug',
    }))
    .pipe(mocha({reporter: 'nyan'}))
    .pipe(cover.gather())
    .pipe(cover.format())
    .pipe(gulp.dest('reports'));
});

This the error I'm getting when running the task:
c:\Users\ketsu\Documents\Development\plexacious>gulp test
(node:14780) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
[23:57:50] Using gulpfile c:\Users\ketsu\Documents\Development\plexacious\gulpfile.js
[23:57:50] Starting 'test'...

events.js:160
      throw er; // Unhandled 'error' event
      ^
 Error: Line 23: Unexpected reserved word
    at throwError (c:\Users\ketsu\Documents\Development\plexacious\node_modules\instrumentjs\esprima.js:1470:21)
    at throwUnexpected (c:\Users\ketsu\Documents\Development\plexacious\node_modules\instrumentjs\esprima.js:1518:17)
    at parsePrimaryExpression (c:\Users\ketsu\Documents\Development\plexacious\node_modules\instrumentjs\esprima.js:1832:16)
    at c:\Users\ketsu\Documents\Development\plexacious\node_modules\instrumentjs\esprima.js:3577:38
    at trackLeftHandSideExpressionAllowCall (c:\Users\ketsu\Documents\Development\plexacious\node_modules\instrumentjs\esprima.js:3483:61)
    at parsePostfixExpression (c:\Users\ketsu\Documents\Development\plexacious\node_modules\instrumentjs\esprima.js:1938:20)
    at c:\Users\ketsu\Documents\Development\plexacious\node_modules\instrumentjs\esprima.js:3577:38
    at parseUnaryExpression (c:\Users\ketsu\Documents\Development\plexacious\node_modules\instrumentjs\esprima.js:2001:16)
    at c:\Users\ketsu\Documents\Development\plexacious\node_modules\instrumentjs\esprima.js:3577:38
    at parseBinaryExpression (c:\Users\ketsu\Documents\Development\plexacious\node_modules\instrumentjs\esprima.js:2103:16)

In my source code file, line 23 is
class Plexacious extends EventEmitter {

If I replace this with a function declaration, the file seems to parse that line correctly. If I only remove the extends portion, I get the same error, so it seems that it's the class keyword itself that's causing the error.
Adding // cover: false to the end of the line does not help.
gulp-coverage version 0.3.38
instrumentjs version 0.0.2 is the one installed as a dependency of gulp-coverage, but I still get the same error after manually updating to 0.0.3.

gulp-coverage does not support ES6 yet

Awww, darn. Thanks for the quick reply.


PostgreSQL parser doesn't check if a function exists

-- name: F :exec
SELECT doesntexist();

Compiles using the experimental Postgres parser, but it shouldn't since the function does not exist.

Now that #635 has been merged, we're closer to fixing this. One blocker is functions defined by extensions. I need to update the generation script to support all built-in extensions.

I've made a first pass at adding extension functions (#640). I need to add support for all extensions that ship with PostgreSQL, and then I think we can turn this on.

I've added all the functions from popular PostgreSQL extensions. The last step is to add a configuration option to turn this on. The other possibility would be to turn this on by default and let people turn it off. Not sure which option we should pick.

Is it possible to activate when CREATE EXTENSION is called?

This will be released in v1.12.0 behind a the strict_function_checks configuration flag.
{
	"version": "1",
	"packages": [
		{
			"name": "querytest",
			"path": "go",
			"schema": "query.sql",
			"queries": "query.sql",
			"engine": "postgresql",
			"strict_function_checks": true
		}
	]
}


python312Packages.pygsl: 2.4.1 -> 2.5.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.pygsl is: Python interface for GNU Scientific Library
meta.homepage for python312Packages.pygsl is: https://github.com/pygsl/pygsl
meta.changelog for python312Packages.pygsl is: https://github.com/pygsl/pygsl/blob/v2.5.0/ChangeLog
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.5.0 with grep in /nix/store/nws1lf63vawl3gdl407f6vqhgjmgh8rw-python3.12-pygsl-2.5.0
found 2.5.0 in filename of file in /nix/store/nws1lf63vawl3gdl407f6vqhgjmgh8rw-python3.12-pygsl-2.5.0

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath

python311Packages.pygsl
python312Packages.pygsl

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/nws1lf63vawl3gdl407f6vqhgjmgh8rw-python3.12-pygsl-2.5.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.pygsl https://github.com/r-ryantm/nixpkgs/archive/37380018ecddb38841ad5ef35539da1351717c4e.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/37380018ecddb38841ad5ef35539da1351717c4e#python312Packages.pygsl

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/nws1lf63vawl3gdl407f6vqhgjmgh8rw-python3.12-pygsl-2.5.0
ls -la /nix/store/nws1lf63vawl3gdl407f6vqhgjmgh8rw-python3.12-pygsl-2.5.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 4 packages built:

python311Packages.pygsl
python311Packages.pygsl.dist
python312Packages.pygsl
python312Packages.pygsl.dist

Maintainer pings
cc @amesgen for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

@NixOS/nixpkgs-merge-bot merge


Mac Page Up / Page Down in text fields

This PR implements the Mac page up/down keyboard shortcuts, which scroll by page.  The selection changing behavior of pageup/down and shift + pageup/down were handled by @tgucio in https://github.com/flutter/flutter/pull/107602.

Closes https://github.com/flutter/flutter/issues/105448
Closes https://github.com/flutter/flutter/issues/77611

What about ScrollIntent? It's already used in default app shortcuts (with type: ScrollIncrementType.page)

I think @knopp is right about ScrollIncrementType.page, we use the same distance determination for page scrolling on scrollbar and keyboard scroll actions. It may be a good idea to centralize that logic so it is easier to re-use.

@tgucio It looks like the scroll-only behavior that I implemented in this PR is specific to MacOS.  I tried gedit on Linux and Notepad on Windows and both of them move the cursor, as you described.
How about we keep both of our PRs?  I'll do the Mac behavior in this one and leave Linux and Windows unimplemented, and you fill that in on your PR.

@Piinks Let me know what you think of this approach of sharing some code with ScrollAction.
I'm also interested in what you and @LongCatIsLooong think about my making ScrollIntent overridable to get this to work.

@justinmc just tried a bunch of different apps on macOS (long form fields on Chrome, Notes, TextEdit) and I find it almost fascinating that indeed page up/down scrolls without moving the caret :). Let me continue the caret movement implementation in #106484 then and we can differentiate in default_text_editing_shortcuts.dart.

Planning to return to this once I finish ContextMenu.

No problem!
This PR should wait for https://github.com/flutter/flutter/pull/107602 and then I'll address any conflicts before merging.

https://github.com/flutter/flutter/pull/107602 landed, would you like to update here so this can be merged @justinmc?

@Piinks Yes thanks, I've updated this to no longer handle shift + pageup/down (which was taken care of in https://github.com/flutter/flutter/pull/107602).  Now it does only Mac and iOS pageup/down scrolling.
You're welcome to re-review if you want!  Otherwise I'll merge this later assuming it goes green.

Google testing has been pending for days, I'm going to go ahead and merge as it should be very low risk for breakages.  I'll monitor it after merge.


jinja2 compiled templates not working

Expected Behavior
It should be possible to use jinja2 precompiled templates using loader shown in documentation: http://jinja.pocoo.org/docs/2.10/api/#jinja2.ModuleLoader
Sample repo: https://github.com/iljau/flask_precompiled_templates_issue
from flask import Flask, render_template
from jinja2 import ChoiceLoader, FileSystemLoader, ModuleLoader

app = Flask(__name__)

app.jinja_env.compile_templates(
    target='templates_compiled', zip=None,
    ignore_errors=False
)

loader = ChoiceLoader([
    ModuleLoader('templates_compiled'),
    FileSystemLoader('templates')
])
app.jinja_loader = loader

@app.route('/')
def hello_world():
    return render_template("index.jinja2")

if __name__ == '__main__':
    app.run(debug=True)

Actual Behavior
Tell us what happens instead.
  File ..\lib\site-packages\flask\app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File ..\lib\site-packages\flask\app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "C:\Users\Ilja\Code\flowers_v2\flowers\flowers_app.py", line 301, in general_expenses_list
    return render_template("general_expenses.jinja2", transactions=transactions, form=form)
  File ..\lib\site-packages\flask\templating.py", line 134, in render_template
    return _render(ctx.app.jinja_env.get_or_select_template(template_name_or_list),
  File ..\lib\site-packages\jinja2\environment.py", line 869, in get_or_select_template
    return self.get_template(template_name_or_list, parent, globals)
  File ..\lib\site-packages\jinja2\environment.py", line 830, in get_template
    return self._load_template(name, self.make_globals(globals))
  File ..\lib\site-packages\jinja2\environment.py", line 804, in _load_template
    template = self.loader.load(self, name, globals)
  File ..\lib\site-packages\jinja2\loaders.py", line 113, in load
    source, filename, uptodate = self.get_source(environment, name)
  File ..\lib\site-packages\flask\templating.py", line 58, in get_source
    return self._get_source_fast(environment, template)
  File ..\lib\site-packages\flask\templating.py", line 83, in _get_source_fast
    return loader.get_source(environment, template)
  File ..\lib\site-packages\jinja2\loaders.py", line 90, in get_source
    self.__class__.__name__)
RuntimeError: ModuleLoader cannot provide access to the source

Environment

Python version: 3.7.0
Flask version: 1.0.2
Werkzeug version: 0.14.1

I have the same problem. Maybe, jinja2.loader.ModuleLoader should override get_source ?

https://github.com/pallets/jinja/blob/master/jinja2/loaders.py
Have noticed that in the ModuleLoader subclass,  has_source_access = False, which could be what's making the get_source implementation in the BaseLoader class raise the error you are seeing?
Not sure why has_source_access is initialised to False there though.

If you set has_source_access to True in ModuleLoader it works. My question is: why this variable exists?

It looks the problem is on https://github.com/pallets/flask/blob/master/flask/templating.py#L47 DispatchingJinjaLoader, it will only try to use loaders with get_source implementation, thus not implementing ModuleLoader

See https://github.com/pallets/flask/issues/101 😞

I just encountered this problem. The solution is to override app.jinja_env.loader with ModuleLoader instead of app.jinja_loader.
The problem apparently arises when your ModuleLoader (or ChoiceLoader, or what have you) is being dispatched by DispatchingJinjaLoader, which assumes get_source, instead of operating on its own. Note that DispatchingJinjaLoader is only useful for integrating the base loader with all the blueprint loaders; if you already pre-compiled everything available to the DispatchingJinjaLoader, there's no point in dispatching anymore.
Basically, you can structure your application like this:
import flask
import jinja2

app = flask.Flask(__name__)

# Make sure to import the blueprints before template compilation.
import blueprints.foo
import blueprints.bar

# Register filters and context processors before compilation, too.
@app.template_filter('foo')
def filter_foo(val):
    return val

@app.context_processor
def injector():
    return dict()

app.jinja_env.compile_templates('/path/to/compiled/templates')  # Of course this may be done separately.
app.jinja_env.loader = jinja2.ModuleLoader('/path/to/compiled/templates')

I think the templating might be due for a general refactor at some point, it's definitely confusing that app.jinja_loader, app.make_global_jinja_loader(), and app.jinja_env are all different things that are interrelated in circuitous ways.
The Flask.make_global_jinja_loader() method is what you want to override. That gets assigned to app.jinja_env.loader. app.jinja_loader is used by the default global loader, so just replacing it doesn't replace the behavior of the global loader, which requires get_source for explaining the template loading chain during debugging.
Closing for now as there is an intended way to override this.


Add ability to specify pod metadata

The prometheus Helm chart allows setting annotations on its Service and Ingress resources, but not on the Prometheus pods created by the operator. This PR makes the podMetadata property of the Prometheus resource configurable, which allows setting the annotations and labels of the Prometheus pods created by the operator. This can be useful for assigning IAM roles to Prometheus pods, etc.
The list of podMetadata labels is sourced from both .Values.labels and .Values.podMetadata.labels to preserve backwards compatibility.

/lgtm on green


Fix: AI-generated file path issues with -i

Remove workspace\ from the file_list.txt context to prevent nesting another workspace folder.
Could do this a dozen ways.
Core issue: GPT would state filenames as workspace\... causing new file creation and no overwrites.

Can you make a solution that does this, but:

works on all operating systems
only targets directories that are called exactly workspace (the current one can distort cases when workspace is a substring in an actual directory)
Only removes the first occurrence of a folder called workspace in the path

I may be missing something :)

I imagine this is  obsolete, now that the concept of workspace has been removed. Happy to open again in case I'm wrong


Don't track codebase internals as part of the analytics

When we send events to Segment, we send several properties about the page:
https://github.com/wellcomecollection/wellcomecollection.org/blob/e6a8ad06b732868e5e1ffc2ba46b00be1d080485/common/services/conversion/track.ts#L93-L104
The Router.pathname value tells you the path for the current route file, and our recent routing refactor means this value has changed in the analytics, e.g. we moved /pages/items.tsx to /pages/works/[workId]/items.tsx – the external path stayed the same, but this value changed in analytics.
This feels like an odd coupling – we shouldn't be using implicit properties of our code structure to Segment. We should be using values that we change more intentionally, e.g. the external pathname or hard-coded strings.

@alexwlchan Thanks. This looks like a good start.

I've had a chat with Tacey about this, we're going to do two things:

Stop sending the pathname value to analytics, because she doesn't need it, and it's liable to cause confusion by implying the presence of stability where none exists
Add some comments to the name values which she does rely on to explain where it's used outside the codebase context


Sets the resource format with QA value when empty

When a resource is processed that doesn't have a format (for whatever
reason) then this will set the resource format to whatever was
discovered during QA.
This does mean that the package will re-run the
background tasks (archiver, packagezip etc) but the second time around
the resource will not be modified (because we already set it). Once we
have set the format on all of the resources it will go back to current behaviour
until harvesting happens - as this is the primary source of resources without
defined formats.
Should fix https://github.com/datagovuk/ckanext-dgu/issues/260

This is great - I think you should try this in test (prod2) and see how long it takes to do a full QA run (update).


Attempt to delete @connection creates CF conflict

Describe the bug
When trying to remove a @connection between 2 GQL types, the amplify push fails as the CF update attempts to remove the output from the stacks for the types before the dependency on the output is removed from the connection stack. This also happens if trying to remove the @searchable annotation, as the update attempts to remove the DynamoDB stream before the dependency on it in the searchable stack is removed.
To Reproduce
Steps to reproduce the behavior:

Install amplify 1.6.7
Set up 2 types with a @connection and push to AWS
Remove the @connection links and push to AWS
Push fails

Expected behavior
It should be possible to remove @connection and @searchable (or to completely delete a GQL type that has these annotations).
Additional context
Example CF error (resolver in Connection stack requires data source from GQL Type stack):
UPDATE_FAILED PreviewImage  AWS::CloudFormation::Stack Thu May 09 2019 14:33:20 GMT+0100 (British Summer Time) Embedded stack xxxxxx was not successfully updated. Currently in UPDATE_ROLLBACK_IN_PROGRESS with reason: Export xxxx:GetAtt:PreviewImageDataSource:Name cannot be deleted as it is in use by xxxx-ConnectionStack-xxxxx

There are 2 PR opens to handle the 2 scenarios, #1182 for removing @connection and #1140 for removing @searchable.

the fixes by @kstro21 has been merged and would be published in the next release - 1.6.10.


some kind of hint about how packages are actually used

I have a Gopkg.toml and I'm trying to reproduce a reported error. I basically created a main.go that imports all of the dependencies, to reproduce the same logic dep would use to build the vendor directory.
package main

import (
    _ "golang.org/x/sync"
    _ "github.com/lib/pq"
    // ...
)

This is annoying because they all fail with *build.NoGoError so I need to go to each dependency in turn and find a subpackage that's actually imported. Not sure what a good solution would be, maybe I should have asked for the lock file instead.

Or like a tool that, given a set of Git root package names returns the first matching Go subpackage (if any)

Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!


KAFKA-8713 KIP-581: Add new conf serialize.accept.optional.null in connect-json

See details on KAFKA-8713 and KIP-581
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

The fix is not quite correct.  You need to conditionally call struct.getWithoutDefault(field.name()).  You should also add a test using a struct.  See the corresponding fix for the JSON Schema converter in https://github.com/confluentinc/schema-registry/pull/2326

may I ask if there's any progress?

@rayokota sorry for bothering you. I'm trying to maintain my own version of JsonConverter. I just copied the code and pasted it to a new class JsonConverter. and I replaced the following line  https://github.com/a0x8o/kafka/blob/283d07f9d2577e78b7aab7a419818cf9cda19d0a/connect/json/src/main/java/org/apache/kafka/connect/json/JsonConverter.java#L664
to
obj.set(field.name(), this.convertToJson(field.schema(), struct.getWithoutDefault(field.name())));

Then I changed my debezium config to
        ...
        "key.converter": "org.apache.kafka.connect.json.MyJsonConverter",
        "key.converter.schemas.enabled": true,
        "value.converter": "org.apache.kafka.connect.json.MyJsonConverter",
        "value.converter.schemas.enabled": true,

but seems it still does not work. do u know why? what else do I need to do?

@rayokota sorry for bothering you. I'm trying to maintain my own version of JsonConverter. I just copied the code and pasted it to a new class JsonConverter. and I replaced the following line
https://github.com/a0x8o/kafka/blob/283d07f9d2577e78b7aab7a419818cf9cda19d0a/connect/json/src/main/java/org/apache/kafka/connect/json/JsonConverter.java#L664
to
obj.set(field.name(), this.convertToJson(field.schema(), struct.getWithoutDefault(field.name())));

Then I changed my debezium config to
        ...
        "key.converter": "org.apache.kafka.connect.json.MyJsonConverter",
        "key.converter.schemas.enabled": true,
        "value.converter": "org.apache.kafka.connect.json.MyJsonConverter",
        "value.converter.schemas.enabled": true,

but seems it still does not work. I still got default value with an nullable field. do u know why? what else do I need to do?

Have you been able to make this work ? I just ran into the same issue. I upgraded my schema registry version and tried using the configuration in the connector, but it still was showing the wrong data.

@blueberrysugarhigh , sorry I'm not the author of this PR and I haven't tried it myself.

This has been implemented in https://github.com/apache/kafka/pull/13419. Closing this PR.


Minor grammar fixes in README.md

Hello,
I noticed a couple of grammar issues and fixed them in this pull request

Thanks @kas :)


Integration tests or benchmarks?

In reference to this pr and the mention of integration tests to track updates and performance, I was wondering whether integration tests for this kind of project should look more like benchmarks.
Like, there's always a sort of pass/fail test that could be run to tell us whether something still does work. However, with a non-deterministic system such as an agent, it seems like testing how well the system "works", needs to be a bit more broad. Essentially, I'm thinking of a test suite, which would contain a series of pass/fail tests, each which would be designed to test a specific criteria. Then, whenever changes were made to UC (or other agents for that matter), they could be tested against the benchmark, to see if the update improved the performance or not.
There are definitely benchmarks which exist already, and I'm gonna look around some more. However, I haven't seen very comprehensive ones, and either way UC would need an adapter to actually utilize an existing one. Either way, I'm thinking that I'm going to see about getting UC hooked up to some benchmarking suite, so that something like an update to the file editing tool will show either performance improvement or detriment.
I think I'm going to try to work out a manual benchmark first, just getting things down conceptually to start. Then, I can see about automating it.
So far I'm thinking about covering these key areas:

Tools

Tool Selection: How well does the agent select which tool to use in a specific situation?
Tool Use: How well does the agent use a tool for maximum effectiveness?

Editing: How well does it use editing tools
Commands: How well does it execute commands which are fitting for the task

Reasoning

Plan Formation: How well does it form specific plans
Steps Required: How many steps between task initialization and completion?
Task Understanding: How well does it understand instructions, versus misinterpreting them?
Redundancy: How often are actions repeated when they don't need to be?
Multi-Step Operations: How well are multi-step operations performed?
Assumptions: Does the model make assumptions about tasks which could lead to accuracy deficits?

Assumption Rate: Given a task, how many assumptions are made about the nature of the task?
Assumption Accuracy: Given a task, how accurate are the assumption which are made?

Code:

Quality: How is the code quality based on several metrics?
Optimization: How well can it optimize existing code?
Testing: How well does the agent test its code?

Test Accuracy: How often do the tests fail when they shouldn't?

Robustness:

Inter-model Ability: How well does the model perform when using different models

If memory gets added

Memory:

Memory Creation: How well does it decide to make memories
Memory Recall: How well does it pull old memories accurately to working memory
Memory Management: How well is the line between proposed and working memory handled?

But this is kinda a rough draft. I'm opening this issue as a reference point and start of a discussion around this topic!

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."


problem with self signed certificats

I have a self signed certificate on a https site I point the proxy to.
I get the following error:
Fatal error: Parse Error
Fatal error: socket hang up
my configuration is:
proxies: [{
        context: '/api', // the context of the data service
        host: 'my-https-api-site', // wherever the data service is running
        port: 443,
        https: true,
        xforward: true,

      }],
livereload: {
        options: {
          open: {target: 'http://localhost:9000'},
          base: [
        '.tmp',
        '<%= yeoman.app %>'
        ],

please help,
Shay

Thx guys! Took me a while to find this page, but worked like a charm. Had HTTP 400: The plain HTTP request was sent to HTTPS port response and downgrading fixed it!

+1 in the downgrade ! after a day I found this page !

Thanks everyone. Downgrading to version 0.1.10 worked for me as well.


h30ga rtsp low quality is not working

Hi,
I have this h30ga (YI 1080 Outdoor) camera with most recent software running. I tried first time to use low resolution stream for frigate detection. In VLC only a black screen is visible with occasional stripes.
I did't used this low quality with the previous firmware version.
Any idea on that?

Sorry for opening this issue, It was a VLC problem and not the camera. I will close it.


New release

Hi, I've created an pull request to fix React error #170 and you've merged it. Thanks for that! Are you going to publish new release with this patch?

I have! Sorry for not getting around to this earlier. Thanks!


Add other fetch globals: Response, Request, Headers

With the introduction of fetch, Response, Request, and Headers are now globals in the browser.

+1

+1

Hi folks: GitHub.com's web interface allows you to signal your support of an
issue through a feature called "reactions." If you don't have anything
substantive to add to a conversation but would like to help raise awareness on
a given issue, please use that feature. Thanks!


Heading subscripts are stripped out in TOC extension

A heading with a subscript, i.e. ### CO2 Emissions now gets the  tag stripped out in the table of contents as of the 3.2 release (issue #899).
I understand that arbitrary HTML in the headings is undesirable, but for some formatting tags it seems like the most straightforward approach.
Until there is a different way to format TOC entries, is there a workaround for this, or do I just need to keep using an older release?

I understand that arbitrary HTML in the headings is undesirable, but for some formatting tags it seems like the most straightforward approach.

The problem is that we would need to parse the raw HTML and check the tag against a whitelist to do that. We don't actually parse raw HTML (we just remove anything between < and >. I'm not sure if we want to get any more sophisticated than that.

is there a workaround for this

You can define a custom label if you are also using the attr_list extension via the data-toc-label attribute. However, that also strips out raw HTML tags.

Have you considered to return the raw Markdown or HTML in raw_md or raw_html keys of toc_tokens output of toc extension @waylan? This would allow to Mkdocs to format the table of contents properly.

This is a duplicate of #660. Not sure how I missed that before.


Not an issue

More of an appreciation
Thanks for continuously updating this throughout Discords infinite changes! (I am on Canary)
By far my favourite theme!

thank you for the kind words!


Whisper 20231106 released

New v3 of the language model in 20231106.
https://github.com/openai/whisper/blob/main/CHANGELOG.md

Great, will test it this weekend!

A newer openai-whisper is needed on systems with Python 3.12. Getting this currently:
INFO: pip is looking at multiple versions of openai-whisper to determine which version is compatible with other requirements. This could take a while.
ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
ERROR: Could not find a version that satisfies the requirement triton==2.0.0 (from openai-whisper) (from versions: 2.2.0, 2.3.0)
ERROR: No matching distribution found for triton==2.0.0


R Session Aborted when using lgb.Dataset.construct() in R

Environment info
Operating System: OSX 10.14.3
CPU/GPU model: 2.8 GHz Intel Core i7
C++/Python/R version: R 3.5.1
LightGBM version or commit hash: 2.2.4
Error message
R Session Aborted
Reproducible examples
library(lightgbm)
data(agaricus.train, package = "lightgbm")
train <- agaricus.train
dtrain <- lgb.Dataset(train$data, label = train$label)
lgb.Dataset.construct(dtrain)

Steps to reproduce
I played around with the lgb.train() functions and experienced the same R Session Aborted error while not being sure were the problem was. After checking different params and datasets, I tried to deep dive into the construction of the lgb.Dataset object. So I took the reproducible example from the lightgbm::lgb.Dataset() function's help page (see above) and experienced the same error as before (R Session Aborted).
While I did not not explicitly construct the dataset using lgb.Dataset.construct() before, I currently speculate that the error might be related to this function, instead of the actual model fitting.

Thank you for taking the time to open this issue @fabianmax ! I will take a look tonight and see if I can reproduce.
How did you install LightGBM? Did you build from source or use a pre-compiled executable?

Build it from source using (based on https://github.com/Microsoft/LightGBM/tree/master/R-package).

Works fine on Windows (VS17, MinGW 4.9) and Linux (gcc 8.2, icc 2019.1):
> library(lightgbm)
Loading required package: R6
> data(agaricus.train, package = "lightgbm")
> train <- agaricus.train
> dtrain <- lgb.Dataset(train$data, label = train$label)
Loading required package: Matrix
> lgb.Dataset.construct(dtrain)
>

Maybe a compiler issue or you might have installed the LightGBM R package over an opened R session which has LightGBM loaded? (and thus the files are immutable while installing and you end up with mixed versions of LightGBM in the R package, therefore crashes)

I agree with @Laurae2 , I have also not been able to duplicate this issue. I agree with the suggestion that you should try closing all open R sessions, then
Rscript -e "remove.packages('lightbm')"
Then re-installing and trying again.

Thanks for looking into this. I did a reinstall using clang instead of gcc this time. Seems to solve the problem 👍


Where's the "Pay me Money" button?

I would pay $10 or even $20 for this, no questions asked, even if there were no additional features - or maybe a "lifetime" license for $50 with some "pro" features or up to 5 computers, etc.
I just want to know that there's a truly responsible party who passes the bare minimum requirements to sign up for merchant services with PayPal, FastSpring, 2Checkout - or whatever - and has a tangible responsibility to the customers.
(I'm measuring the perceived value pricing on other narrow-focus, power-user tools I've happily paid for, such as BetterTouchTool - not intending to offend with the idea that this is "only worth" $10 per seat)
Re: #134

Since I can't upgrade to Big Sur due to compatibility issues, I did end up going with KeyCastr rather than KeyStroke-Pro.


You must fix option setCurrentTime. It doesn't work.

Summary
'setCurrentTime' : false does not function correctly
Expected results
Setting option 'setCurrentTime' : false should disable automatically setting current time by default.
Expected results
Setting option 'setCurrentTime' : false does not disable automatically setting current time by default.
Exact steps to reproduce
Initialise Timedropper with 'setCurrentTime' : false

I am currently using this function for a project and it works. Maybe set a value for your preferred time?

Does not work for me too

This is a complete hack but it works:
this.$('.time-picker').timeDropper({     setCurrentTime: false,     mousewheel : true     });     var $clocks = $('.td-input');     _.each($clocks, function(clock){             clock.value = null;       });
the setCurrentTime property does nothing. The mousewhieel property does work, but maybe because it is the default. I haven't looked closer. The default for setCurrentTime is true and this setting doesn't override it. I tried setting a property value: null but that doesn't work either.

I had the same problem and fixed it ;)
I don't know yet if it will work properly - but for me it does.
timedropper.zip

@jutho-agentur what did you change?

@MrNicodemuz That was a good question!^^
I had to search but I found it.
I built a new variable in line 346 and a new if clause from line 365 to 368. That's all.

Thanks @jutho-agentur. I created a PR based on your changes:
https://github.com/felicegattuso/timedropper/pull/26


Include inherited labels in databasechangelog table

Impact

[X] Bug fix (non-breaking change which fixes expected existing functionality)
[ ] Enhancement/New feature (adds functionality without impacting existing logic)
[X] Breaking change (fix or feature that would cause existing functionality to change)

Description
Changes MarkChangeSetRanGenerator so that if a changeSet was included with an include/includeAll containing a labels attribute, those labels are included in the labels column of databasechangelog. Makes the behavior match what the contexts attribute was generally doing before.
Fixes #2824
Fixes #2883 (please test)
However, when looking at the current behavior, I found the following wrong logic and made the following changes:

The contexts from the include are only logged if changeSet has contexts as well

Now the include's context is always tracked
The tracked context is always null vs. sometimes an empty string
New logic is only applied to new changests going forward, we don't update existing values in the databasechangelog table

The include/includeAll functions on DatabaseChangeLog took a LabelExpression and not a Labels like it should. In the changelog file, we define just comma separated lists of labels, not a label expression.

The java objects now store Labels not LabelExpression objects
I added deprecated versions of the DatabaseChangeLog's include(), includeAll(), and setIncludeLabels() functions to match the old versions that took a LabelExpression and converted them into Labels.
I did NOT add deprecated version of DatabaseChangeLog.getIncludedLabels() or ChangeSet.getInheriteableLabels() since java cannot overload return values. I don't think those should be methods generally used by extensions and so it is not worth switching to less useful names to preserve the API compatibility.

Additional Context
I'm adding the ReleaseMajor label due to the changes in logic and APIs listed in the description. They should not be serious breaks and will likely not impact anyone, but something for users to be aware of.

I tested the issues linked to this PR and both of them are fixed in this build. I also checked that both of them could be applied simultaneously:

Check label values are propagating correctly to changelog files included in a main changelog.

include tag. PASS

Check context values are propagating correctly to changelog files included in a main changelog.

includeAll tag. PASS
include tag. PASS

2870.zip


use of project board

Hey All,
Anyone mind if I start a project board for organization of checked out issues?  Would be nice to be able to see what folks are working on / assign/be-assigned tasks to minimize redundant work.  Also would be good to post some of the roadmap items on there.

Sounds like a good idea to me, and a chance to revisit older issues that may have gone stale or become obsolete.  I say go for it!

Great - can you add me as a collaborator so I can build one?

I just realized I don't have access to the Settings on this repo.  @davidraythompson, can you add Phil as a collaborator when you have a chance?  Thanks!

Hi Winston, @davidraythompson is also a lowly collaborator without the ability to change settings.  But Behold! I, the omniscient entity ISOFIT, have now invited Phil to the official repo to wield the sacred push/pull access.

Thanks omiscient entity!  Will start up a some projects, feel free to edit at your leisure.


Debug: Improvements to halt locations used by breakpoints and stepping.

My original implementation for identifying 'step over', 'step into', and 'step out' logic worked only the simple cases (where debug info sequences of instructions were reasonably predictable).   The reality is that there are many edge cases where a single source statement can have multiple debug info sequences, and they are not contiguous.
This PR is a complete 'do over' of the logic for stepping in debug mode, and :

Adds an understanding of non-contiguous sequences of instructions when dealing with step over, step into, and step out requests.
The existing logic and tests for identifying breakpoint location and instruction level stepping remains stable.
Adds the ability to create in-line (column specific) breakpoints when there are multiple distinct statements on a line of source code.

Note: There are still cases where step into and step over don't behave perfectly (limitation with respect to information about function call-sites in the debug info), but overall it is much improved from before.

Stepping in, Stepping over & Run to line are all working perfectly. I am however having a little trouble stepping out of some functions.
To reproduce

Flash and debug the hello_world example from esp32c3-hal.
Set a debug point on https://github.com/esp-rs/esp-hal/blob/35e568dd38dc20b934d9eae314bb65d160412562/esp32c3-hal/examples/hello_world.rs#L25
Step in
Try and step out
Doesn't work, stays in the same function

Also hard to tell, but inline breakpoints are a little finicky, but I can't tell if that's because they're being those parts are being inlined.

Try and step out
Doesn't work, stays in the same function

Yeah, this is one of those limitations. That said, your comment made me realize the user probably needs a message when that happens :)

Also hard to tell, but inline breakpoints are a little finicky, but I can't tell if that's because they're being those parts are being inlined.

The intention is that you should be able to ask for line a, column x, but if if the actual statement begins on line a, column x minus/plus z, then the breakpoint will automatically adjust to the beginning of the inline statement. Is that what you are seeing, or something different?
If it is about an inlined function, then the results will definitely be more confusing.
I can add a warning but am worried that too many warnings to the user will be noise. Any suggestions?
Are you able to compare those situations to a gdb session?

This PR also addresses stepping and variable resolution issues with regards to RISC-V, as tracked by #877


The bounds is not correct

I wonder ol.proj.transformExtent() should be used to transform an extent object.

You're right, thanks for the PR


Documentation update and website contribution section

Lots of new documentation

Extended README.md to describe process for synchronization of both repositories
Review rest README.md where the overall project structure is described and important files and locations in the project are named
Add a new section to the site with info for contributors (which is currently not linked anywhere but I would link it from /contribute). I would also like to see @kirakirawes design ressources as a part of this.

Pages with typography and common elements for pages created using Nunjucks and Markdown
Step-by-step guide to creating new patterns
Hints and tips for adding new non-pattern content to the site

Preview
https://deploy-preview-107--tender-hermann-aea35a.netlify.app/contribute/dots-website/
Todo

[ ] Describe the structure of pattern text here
[ ] Describe requirements for illustrations here
[ ] Review content for spelling, grammar, and legibility

@bumbleblue @kirakirawes we need to fill out the two sections noted here by vincent!


Corrected Power Flow and added air code inductor method

Using List Comprehensions
Created Submodule capacitors.py
Corrected Power Flow( Vs*Vr*sin(delta)/X) not Z
Added AirCore inductor

Sir I am waiting for code coverage feature for our repository

Fantastic work! Thank you!


Testing CI for moving where the IPFS node is init

Description
This PR's purpose is to test how the CI handles moving when and where the IPFS node is initiated. This PR should not be merged yet, and will likely conform to whatever #323 and #312 end up doing
Closes: #XXX

While this was only a test and never meant to be merged, this test is no longer needed thanks to #334


TODO Items

It would be very handy indeed if there was a simple CLI for code->svg.
Flowchart.js is javascript (obviously), so how would you feel if I made a pull request that installed npm, and the npm 'diagrams' package? From there, it's really just a simple CLI interface once those 2 things are installed.

Thanks for your plan. Just feel free to begin your work with following things noticed:

how to install the js environment in different platforms (Linux, macOS, Windows)
npm & the needed package may be already installed. before install, detect it.

Hi - I have a Jupyter demo that wraps flowchart.js as a Jupyter widget (there may be better ways of packaging things...) and uses IPythin magic to render code in magicked cells:
https://github.com/innovationOUtside/flowchart_js_jp_proxy_widget/
Issues: https://github.com/innovationOUtside/flowchart_js_jp_proxy_widget/issues/2

Hi - I have a Jupyter demo that wraps flowchart.js as a Jupyter widget (there may be better ways of packaging things...) and uses IPython magic to render code in magicked cells:
https://github.com/innovationOUtside/flowchart_js_jp_proxy_widget/
Issues: innovationOUtside/flowchart_js_jp_proxy_widget#2

@psychemedia What a magic! A bit trouble to setup notwithstanding, it's useful.
Here is the detailed way to setup:

install jp_proxy_widget

$ pip install jp_proxy_widget
$ jupyter nbextension install --py --symlink --sys-prefix jp_proxy_widget
$ jupyter nbextension enable --py --sys-prefix jp_proxy_widget
$ jupyter labextension install @jupyter-widgets/jupyterlab-manager
$ jupyter labextension install jp_proxy_widget

install jp_flowchartjs

$ pip install jp_flowchartjs

install pyflowchart

pip install pyflowchart

Run jupyter lab, open a notebook, and run this:

from jp_flowchartjs.jp_flowchartjs import *
from IPython.core.magic import register_cell_magic
from pyflowchart import Flowchart

@register_cell_magic
def flowchart_magic(line, cell):
    "Send code to simulator."
    return FlowchartWidget().charter(cell, embed=True)

@register_cell_magic
def pyflowchart_magic(line, cell):
    "Generate flowchart code and send to flow charter."
    fc = Flowchart.from_code(cell)
    return FlowchartWidget().charter(str(fc.flowchart()), embed=True)

then, enjoy the magic:

%%flowchart_magic
st=>start: Start
e=>end: End
op1=>operation: Generate
op2=>parallel: Evaluate
st(right)->op1(right)->op2
op2(path1, top)->op1
op2(path2, right)->e

&
%%pyflowchart_magic
import time

def demo(msg='demo'):
    for i in range(10):
        print(f'{msg} loopcount is {i}')
        time.sleep(i)

I just simplified the setup; now you should just need to install the package and in a notebook run %load_ext jp_flowchartjs to make the magics available. Thanks for the prompt:-)