Frameit is slow with non-matching images in the screenshots directory

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

Frameit speed can be significantly improved when there are large amounts of screenshots captured but only a subset of them are filtered for framing.
Reproduce Steps

Add a Framefile.json that has a single filter:

{
    "default": {
      "title": {
        "color": "#545454"
      },
      "background": "./background.jpg",
      "padding": 50
    },
    "data": [
      {
        "filter": "match",
        "title": {
            "text": "Title Text!"
        }
      }
    ]
  }

Add some valid device screenshots in the fastlane/screenshots/en-US directory (as would be captured in Snapshot).
Rename one of these images to match.png, rename the others to something like ignore*.png
Run fastlane frameit

Expected Results
Frameit should skip loading into memory all the ignore*.png images as they are not targeted for framing.
Actual Results
Frameit takes time to load into memory all the non-matching images before it decides it doesn't need to frameit.
Why Is This A Problem?
When running Snapshot a common use case to have hundreds of screenshots that are captured for a variety of reasons (Manual review, Archival purposes, Diffs, etc).  Only a small subset of these screenshots may be intended to be used by Frameit for publishing to the App Store.  Because Frameit spends time loading all of the non-matching images that don't match the filters in the Framefile.json file it can significantly slow down CI build times when there are lots of images.
On my test machine it takes ~2 seconds per non-matching screenshot before Frameit decides to skip the file.  With hundreds of screenshots this becomes a problem.
Current Work Around
In between Snapshot and Frameit extra logic can be added to copy only the relevant screenshots over to a separate directory specifically for Frameit.  This isn't ideal though as it duplicates the filter logic that already exists in Framefile.json.
Proposed Solution
Move the logic to check for filtered filenames in frameit/lib/frameit/editor.rb to happen BEFORE the image gets loaded into memory.  This would short-circuit the loading of the image into memory if it is not intended to be framed by just looking at the filename.  With a greenlight from the maintainers, I'm happy to submit a PR.
Complete output when running fastlane, including the stack trace and command used

~/dev/play/frameit-bug 🌮  bundle exec fastlane frame
[✔] 🚀
[10:12:37]: ------------------------------
[10:12:37]: --- Step: default_platform ---
[10:12:37]: ------------------------------
[10:12:37]: Driving the lane 'frame' 🚀
[10:12:37]: -------------------------------
[10:12:37]: --- Step: frame_screenshots ---
[10:12:37]: -------------------------------
[10:12:38]: Framing screenshots at path ./fastlane/screenshots (via frameit)
[10:12:38]: Using device frames version 'latest'
[⠇] Framing screenshot './en-US/ignore.png' [10:12:39]: Could not get title for screenshot ./en-US/ignore.png. Please provide one in your Framefile.json or title.strings
[⠏] Framing screenshot './en-US/ignore.png' [10:12:42]: Could not get title for screenshot ./en-US/ignore8.png. Please provide one in your Framefile.json or title.strings
[⠏] Framing screenshot './en-US/ignore6.png' [10:12:43]: Could not get title for screenshot ./en-US/ignore6.png. Please provide one in your Framefile.json or title.strings
[⠇] Framing screenshot './en-US/ignore8.png' [⠇] Framing screenshot './en-US/ignore7.png' [10:12:45]: Could not get title for screenshot ./en-US/ignore7.png. Please provide one in your Framefile.json or title.strings
[⠇] Framing screenshot './en-US/ignore5.png' [10:12:47]: Could not get title for screenshot ./en-US/ignore5.png. Please provide one in your Framefile.json or title.strings
[⠇] Framing screenshot './en-US/ignore4.png' [10:12:49]: Could not get title for screenshot ./en-US/ignore4.png. Please provide one in your Framefile.json or title.strings
[⠼] Framing screenshot './en-US/ignore7.png' [10:12:51]: Could not get title for screenshot ./en-US/ignore3.png. Please provide one in your Framefile.json or title.strings
[⠼] Framing screenshot './en-US/ignore8.png' [⠏] Framing screenshot './en-US/ignore3.png' [⠼] Framing screenshot './en-US/ignore7.png' [⠹] Framing screenshot './en-US/i[⠙] Framing screenshot './en-US/ignore3.png' [⠼] Framing screenshot './en-US/ignore.png' [⠦] Framing screenshot './en-US/ignore8.png' [⠦] Framing screenshot './en-US/ig[⠧] Framing screenshot './en-US/ignore8.png' [⠹] Framing screenshot './en-US/ignore3.png' [⠧] Framing screenshot './en-US/ignore7.png' [⠴] Framing screenshot './en-US/i[⠏] Framing screenshot './en-US/ignore7.png' [⠼] Framing screenshot './en-US/ignore3.png' [⠏] Framing screenshot './en-US/ignore8.png' [⠧] Framing screenshot './en-US/i[⠴] Framing screenshot './en-US/ignore7.png' [⠴] Framing screenshot './en-US/ignore8.png' [⠧] Framing screenshot './en-US/ignore5.png' [⠙] Framing screenshot './en-US/m[⠹] Framing screenshot './en-US/match.png' [⠏] Framing screenshot './en-US/ignore4.png' [⠇] Framing screenshot './en-US/ignore5.png' [⠙] Framing screenshot './en-US/ign[⠼] Framing screenshot './en-US/match.png' [⠙] Framing screenshot './en-US/ignore4.png' [⠦] Framing screenshot './en-US/ignore.png' [⠸] Framing screenshot './en-US/igno[⠦] Framing screenshot './en-US/ignore8.png' [⠙] Framing screenshot './en-US/ignore3.png' [⠏] Framing screenshot './en-US/ignore4.png' [⠦] Framing screenshot './en-US/i[⠋] Framing screenshot './en-US/match.png' [⠸] Framing screenshot './en-US/ignore6.png' [⠼] Framing screenshot './en-US/ignore8.png' [⠹] Framing screenshot './en-US/ign[✔] Framing screenshot './en-US/match.png'
[10:13:02]: Added frame: '/Users/dvarner/dev/play/frameit-bug/fastlane/screenshots/en-US/match_framed.png'
[⠼] Framing screenshot './en-US/ignore.png' [⠦] Framing screenshot './en-US/ignore8.png' [⠴] Framing screenshot './en-US/ignore6.png' [⠇] Framing screenshot './en-US/ig[⠴] Framing screenshot './en-US/ignore2.png' [10:13:04]: Could not get title for screenshot ./en-US/ignore2.png. Please provide one in your Framefile.json or title.strings
[⠼] Framing screenshot './en-US/ignore7.png'
+------+-------------------+-------------+g'
|            fastlane summary            |
+------+-------------------+-------------+
| Step | Action            | Time (in s) |
+------+-------------------+-------------+
| 1    | default_platform  | 0           |
| 2    | frame_screenshots | 27          |
+------+-------------------+-------------+
[10:13:04]: fastlane.tools finished successfully 🎉

Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
10.13.5

Ruby
2.5.1

Bundler?
true

Git
git version 2.17.0

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.13.5 (17F77)

Ruby Lib Dir
/usr/local/Cellar/ruby/2.5.1/lib

OpenSSL Version
OpenSSL 1.0.2o  27 Mar 2018

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
9.4.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:ios)

  lane :frame do
    frame_screenshots(white: true, path: './fastlane/screenshots')
  end

`./fastlane/Appfile`
# app_identifier("[[APP_IDENTIFIER]]") # The bundle identifier of your app
# apple_id("[[APPLE_ID]]") # Your Apple email address

# For more information about the Appfile, see:
#     https://docs.fastlane.tools/advanced/#appfile

fastlane gems

Gem
Version
Update-Status

fastlane
2.100.1
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.2.0

bundler
1.16.2

CFPropertyList
3.0.0

public_suffix
2.0.5

addressable
2.5.2

atomos
0.1.2

babosa
1.0.2

claide
1.0.2

colored
1.2

colored2
3.1.2

highline
1.7.10

commander-fastlane
4.4.6

declarative
0.0.10

declarative-option
0.1.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20180417

dotenv
2.5.0

emoji_regex
0.1.1

excon
0.62.0

multipart-post
2.0.0

faraday
0.15.2

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.12.2

fastimage
2.1.3

gh_inspector
1.1.3

jwt
2.1.0

little-plugger
1.1.4

multi_json
1.13.1

logging
2.2.2

memoist
0.16.0

os
0.9.6

signet
0.8.1

googleauth
0.6.2

httpclient
2.8.3

mime-types-data
3.2016.0521

mime-types
3.1

uber
0.1.0

representable
3.0.4

retriable
3.1.2

google-api-client
0.21.2

json
2.1.0

mini_magick
4.5.1

multi_xml
0.6.0

plist
3.4.0

rubyzip
1.2.1

security
0.1.3

naturally
2.2.0

simctl
1.6.5

slack-notifier
2.3.2

terminal-notifier
1.8.0

unicode-display_width
1.4.0

terminal-table
1.8.0

tty-screen
0.6.5

tty-cursor
0.6.0

tty-spinner
0.8.0

word_wrap
1.0.0

nanaimo
0.2.6

xcodeproj
1.5.9

rouge
2.0.7

xcpretty
0.2.8

xcpretty-travis-formatter
1.0.0

generated on: 2018-07-27

@janpio @joshdholtz @vjanssens I'm looking to contribute my first PR to Fastlane.  OK if I go ahead with the implementation/fix?
Also note, I'm waiting for feedback on #12903 as I'd like to get a fix into fastlane for that as well.

Hey @piohhmy, that sounds like a very good improvement to frameit, so I would say: Go for it!
Looking forward to review it, as well.

Has a PR at #13993 now :)


docs: Adding steps in README.md for enabling embedded dashboard feature in Superset

SUMMARY

Adding steps to enable embedded dashboard feature in Superset as it is a feature flag and is not set by default. But this step is required to enable the feature in Superset.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before:

After:

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

closing/reopening to kick-start CI.


Incorporated XiaoNing's feedback.

@zmn223 , can you please merge this PR. This is to incorporate XiaoNing's feedback. Thanks.


Redstone clock system

Clock redstone system not detected :
https://cdn.discordapp.com/attachments/732276536140627989/1011370985166999622/unknown.png

Hello, Yes I also have this problem with this redstone system, hoping that a solution can be found, cordially.


Remove Fedora 32 as a supported platform

💡 Summary
The Fedora 32 platform should be removed.
Motivation and context
With Fedora 32 going EOL on 2021-05-25 we should stop supporting it as a platform once any images currently built on that version are upgraded to work with a later version of Fedora.
Implementation notes
Currently this platform is in use in cisagov/freeipa-server-packer. That is the only image that appears to be built on Fedora 32, so as soon as that image is updated to use a later version of Fedora it should be fine to remove support.
Acceptance criteria

[x] cisagov/freeipa-server-packer is no longer built on Fedora 32
[x] Fedora 32 is removed from the supported platforms for our Ansible configurations.

@mcdonnnj - I believe this is now resolved.  Can you confirm and add a link to the relevant PR?

I believe these are the relevant PRs:

https://github.com/cisagov/skeleton-ansible-role/pull/95
https://github.com/cisagov/freeipa-server-packer/pull/74


Improvement to the shard allocation logic when max_shards_per_node configured

Problem Statement
Currently, when a cluster is configured with a restrictive max_shards_per_node and the allocation algorithm end up distributing the shards in a way that the last shard to be placed can only be allocated on the same node as its primary, the replica is never allocated and the allocation logic does not move other shards to correct this lock.
Example:
Given a 8 node cluster, a table with 16 shards and 1 replica (32 shards total) and  the setting max_shards_per_node = 4 the following behavior is observed.  When the last shards is on the allocation process, it is not placed in any nodes given the constraint of 4 shards per node and the explanation on sys.allocations shows too many shards [4] allocated to this node for index for 7 of the nodes while one shows a copy of this shard is already allocated to this node.
Possible Solutions
Move shards around automatically to conform with both constraints: max_shards_per_node and the primary/replica placement.
Considered Alternatives

Manually change the max_shards_per_node to a greater number so the replica can be placed on another node

Use ALTER TABLE REROUTE to manually control the allocation of the shards, moving around a couple of shards to guarantee the allocation success

But in the example I provided, one of the nodes is not full yet. So the allocation process could move one of the other shards from the full node to the other node and then allocate the missing replica on the now not full node. Something like this:
Given a 4-node cluster with 4 shards and 1 primary (8 shards total), the following decision process is used. When the replica for the 4th shard is unable to be placed on node 4 since its primary is already allocated to that node. So the allocation process moves the primary for shard 2 from node 2 to node 4 and then place the replica for shard 4 on node 1. This is just an example, of course there are many other possibilities.

Still - using max_shards_per_node for this level of control was never intended. It's only meant as a safeguard.
There's https://github.com/crate/crate/issues/15919 to track shard allocation improvements


Updated SDK docs on output

The previous version was technically correct in that you shouldn't create resources within an apply function but was incorrect that it is not allowed

See also pulumi/pulumi#16885


Display On/Off not working

The problem
Switching display on and off via "awtrix-light.0.display.power" (true / false) not working.
Version of nodejs
18.16.1
Version of ioBroker js-controller
5.0.12
Version of Adapter
0.8.0
Version of awtrix-light firmware
0.86
Operating system running ioBroker
Linux
Checklist of files to include below

[X] iobroker.current.log (Please share the logs in debug mode)
[ ] Contents of the JavaScript browser console (always include in cases of issues with the user interface)

Additional information & file uploads
No response

Works like expected:
2023-09-13 09:34:20.139  - debug: awtrix-light.0 (538535) state display.power changed: false
2023-09-13 09:34:20.139  - debug: awtrix-light.0 (538535) changing display power to false
2023-09-13 09:34:20.139  - debug: awtrix-light.0 (538535) sending "POST" request to "/api/power" with data: {"power":false}
2023-09-13 09:34:21.021  - debug: host.dev-awtrix-light-iobroker-dev Incoming Host message getHostInfo
2023-09-13 09:34:21.498  - debug: awtrix-light.0 (538535) received 200 response from "/api/power" with content: "OK"
2023-09-13 09:34:22.655  - debug: awtrix-light.0 (538535) state display.power changed: true
2023-09-13 09:34:22.655  - debug: awtrix-light.0 (538535) changing display power to true
2023-09-13 09:34:22.655  - debug: awtrix-light.0 (538535) sending "POST" request to "/api/power" with data: {"power":true}
2023-09-13 09:34:22.720  - debug: awtrix-light.0 (538535) received 200 response from "/api/power" with content: "OK"


[FR]Add ability to let extensions pick files + folders

VSCode Version: 1.11.1
OS Version: 10.12.4

Extensions sometimes need file or folder names to create new files and hence have the need to ask the user for a file/folder name. Currently this is only possible via the input box, which is rather inconvenient. It would be nice if there were APIs for extension writers which trigger the native OS file/folder selection box (just like what "Save As" for editors is using, similar for load file and select folder).

dupe of #13807


Fix Toggle Outline View in the Packages menu (#24)

I noticed under the Packages -> Fountain menu that Toggle Outline View doesn't do anything, and doesn't have a keyboard shortcut listed next to it. This should fix that. (And I ran the tests!)

This was actual part of pull request 58 as well.

Oh, right. Looking around a bit further, I see it here: https://github.com/superlou/fountain-atom/pull/58/commits/107e4c4bd27318d56529844147ae87273e18f0ac
Cool. Not sure of your process of getting those changes out to Atom/Fountain users, just trying to help.

I appreciate the fix. I got bogged down in other responsibilities, but I am still intending to release #58. It might be a month or so though. In the meantime, I'll merge this fix, and push a patch release tonight.


Update request: postman 10.18.6 → 10.22

Package name: postman
Latest released version: 10.22

Current version on the unstable channel: 10.18.6
Current version on the stable/release channel: 10.18.6

[x] Checked the nixpkgs pull requests

Due to security vulnerability (likely), Postman deletes older version of the packages including this version.
See changelog.
Notify maintainers
@johnrichardrinehart @evanjs @tricktron @craff

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

The derivation has sha256 hash inside each platform (linux.nix & darwin.nix). It would be wise to put architecture and OS matrix on the default.nix isn't it? So that everyone can overwrite easily.
By the way, this is the hash for x86 linux binary:
error: hash mismatch in fixed-output derivation '/nix/store/wak9126605j70rpsxvc50vjqjysv2cfr-postman-10.22.0.tar.gz.drv':
         specified: sha256-R6mejxuxSZv37nyjnt/oGvgqCw1pULCHCWnlw+pq8iY=
            got:    sha256-Ii6ScBPuYxyzH2cGSTuDlUFG3nS1rTLTGqXqVbz5Epo=

You might want to see this thread here:
https://github.com/NixOS/nixpkgs/issues/259147

How can I missed that, I've search for postman. Thanks.


tuxguitar: fix start script

Fix #227206: The package now uses which java in the startup script, so we need which as build input and java in $PATH.
Add warpGAppsHook to run in KDE.

Things done

Built on platform(s)

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 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

[x] Fits CONTRIBUTING.md.

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

Thanks for the suggestions😊
Took me a while to figure out that I need to put warpProgram in postFixup to hook GSettings schemas.


Help Wanted for Creating Early Area Estimate Based on the Controller Tree

The current approach to get an area estimate is by running through the synthesis tool chain. This approach doesn't scale well due to the overhead generated by chisel generation, firrtl compilation, and fpga synthesis. It seems that the controller tree should provide an rough estimation about the memory, logic, and register utilization. If we can get this estimation before hitting the hard FPGA / RTL generation route, that would be great!

https://github.com/stanford-ppl/spatial/blob/master/src/spatial/traversal/AreaAnalyzer.scala ?

We will definitely start from there.  I think area estimation pre-unrolling/mem analysis is going to be tricky now since small changes in parallelizations and dse parameters can have huge impacts on luts and brams that will be instantiated, and it will make dse take way longer to put mem analysis in the loop.  This issue is asking for area estimation only based on the last IR so that we can cut out synthesis and p&r from the designer's development flow, and we can think about fully automated area estimation in dse at some point in the future.
Also we need to collect new area data to train on


Prepare to ignore intermittent errors

https://trello.com/c/qqGgd6mA/598-dev-pain-slimmer-causes-500-errors-for-transient-communication-errors-with-static
This separates certain kinds of unactionable exception
into a new, custom error, so that we can ignore them in
Sentry, much like we do for GDS API Adapters.
Before ignoring the errors, I also looked at whether we
could stop them from occurring in the first place, but
decided against making any changes:

The local caching is deliberately short-lived, to avoid
false negative checks during deployment 1.

The default timeouts are all 60 seconds 2, which is way
above what we have for GDS API Adapters.

Please see the commits for more details.

We should at least get some automatic statistics of this that can be investigated if necessary

Oh, that's useful to know. Shame we can't see stats before we ignore something (Sentry doesn't seem to support that). I'm less worried about making the errors less visible, though: our team seems to be unique in actually doing something about them, so arguably we aren't losing anything except an annoying message. Just like API calls, the end user experience is variable and equally unmonitored. Our alerts should at least warn us if it starts affecting high numbers of users.


Slim 4 does give blank page with 200 ok instead of redirecting

I try to use Slim 4 in the presentation layer of a project. I did a little tinkering to use custom container and controller classes with Slim. My main problem currently that redirection does not work:
This is the routing settings I use:
    $slim->get('/business-intervals/', function (Request $request, Response $response) use ($container, $slim) {
        $controller = $container->getCanteenController();
        $controller->readBusinessIntervalsForThisYear($request, $response, $slim);
        return $response;
    })->setName('CanteenController.showBusinessIntervalsForThisYear');

    $slim->post('/business-intervals/create/for-the-rest-of-the-month', function (Request $request, Response $response) use ($container, $slim) {
        $controller = $container->getCanteenController();
        $controller->createBusinessIntervalForTheRestOfThisMonth($request, $response, $slim);
        return $response;
    })->setName('CanteenController.createBusinessIntervalForTheRestOfThisMonth');

This is the relevant method from the controller class:
public function createBusinessIntervalForTheRestOfThisMonth(Request $request, Response $response, Slim $slim) {
    $businessIntervalData = $this->canteenService->createBusinessIntervalForTheRestOfThisMonth();
    $routeParser = $slim->getRouteCollector()->getRouteParser();
    $response->withHeader('Location', $routeParser->urlFor('CanteenController.showBusinessIntervalsForThisYear'))->withStatus(302);
}

Not sure what I am doing wrong. No echo or var_dump in the code, no prefix before the <?php part, and I got an empty response with 200 ok, so it does not make any sense. The location header does not show up. I use utf-8 with vscode, the default saves files without BOM. Any suggestions?

I checked the code meanwhile. I got the impression that the response object is created with 200 status header by default and it cannot be changed later despite that it is not sent to the browser before the changing attempt. Creating a new response instance with the response factory this way solved it, but I have the impression based on the q&a sites I checked and the documentation that this is not the expected behavior:
        $slim->get('/business-intervals/', function (Request $request, Response $response) use ($container, $slim) {
            $controller = $container->getCanteenController();
            $controller->readBusinessIntervalsForThisYear($request, $response, $slim);
            return $response;
        })->setName('CanteenController.showBusinessIntervalsForThisYear');

        $slim->post('/business-intervals/create/for-the-rest-of-the-month', function (Request $request, Response $response) use ($container, $slim) {
            $controller = $container->getCanteenController();
            $controller->createBusinessIntervalForTheRestOfThisMonth($request, $response, $slim);
            $routeParser = $slim->getRouteCollector()->getRouteParser();
            return $slim->getResponseFactory()->createResponse(302)->withHeader('Location', $routeParser->urlFor('CanteenController.showBusinessIntervalsForThisYear'));
        })->setName('CanteenController.createBusinessIntervalForTheRestOfThisMonth');

So I guess this is a real bug that the status header of the response passed to the controller action cannot be changed and it is always the default 200.

It works with this too:
            return $slim->getResponseFactory()->createResponse()
                ->withStatus(302)
                ->withHeader('Location', $routeParser->urlFor('CanteenController.showBusinessIntervalsForThisYear')
            );

Looks like I figured it out. Returning the original response object does not help, because the withStatus and withHeader methods create and return a new Response object instead of modifying the original one. Which makes it harder to use them with my code.

I read the same in the documentation. Not sure why this is considered the best practice though, but ok.


upgrade stellar-sdk

Preview is available here:http://laboratory-pr734.previews.kube001.services.stellar-ops.com/

Preview is available here:http://laboratory-pr734.previews.kube001.services.stellar-ops.com/


adding coveralls

<!-- Make sure you have read http://napalm.readthedocs.io/en/latest/contributing/index.html --!>

Changes Unknown when pulling aadcaa0459fcc245a93895d970bfbd7414448b2c on fooelisa:develop into ** on napalm-automation:develop**.

Champ!

Definitely the winner! 👍


Improve genesis emulation

Description

Update genesis emulation VDP_CYCLES_PER_FRAME to actually be correct for better emulation
Update how audio emulation accuracy configuration is set (CMakeLists.txt)
Actually mix both sound outputs from genesis hardware into single buffer
Update sdkconfig some

Motivation and Context

Makes genesis much more enjoyable to play on this hardware :)
How has this been tested?

Building and running on box-3-emu and listening to how much better the genesis sound emulation is and seeing how much better it runs (and esp. when sound is off!)
Screenshots (if appropriate, e.g. schematic, board, console logs, lab pictures):
With sound (slower, but sound is much improved):
https://github.com/user-attachments/assets/4238d942-c4e5-42f7-a5ed-cf4bc16efb14
Muted (buttery smooth):
https://github.com/user-attachments/assets/38955249-2be1-4621-98f6-da124b44ee0b
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update
[ ] Hardware (schematic, board, system design) change
[x] Software change

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have added / updated the documentation related to this change via either README or WIKI

Software

[ ] I have added tests to cover my changes.
[ ] I have updated the .github/workflows/build.yml file to add my new test to the automated cloud build github action.
[x] All new and existing tests passed.
[x] My code follows the code style of this project.

can add VGA output instead 3.5" LCD  such as FabGL ESP32 project?
I can not open schematic file. because my kicad  program version is old. please add PCB file and bill of material  with pdf format or JPG.

@Noorsun0035 Can you please open this as a discussion instead of on this issue specifically? I'd recommend opening a new discussion for the first question.
Regarding your second question, I've included PDFs of the schematics and board files in the ecad folder of this repository.
The ecad folder currently contains a few things:

PDFs in the root level
sch/brd files (these are EAGLE / Fusion 360 Electronics format files, which can be opened with EAGLE / Fusion 360 Electronics or can be imported into KiCAD).
an elec folder which contains the atopile + KiCAD version of the electronics. Since I'm using atopile+KiCAD, the schematic is actually in elec/src as .ato text files and the layouts for the different modules and boards are in elec/layout subfolders.


How to pass props to another scene?

Hello,
Can anyone please tell me how to pass props from one screen to another screen and how to store data and pass props after login is done? [Using NativeBase]
Thanks.

You can pass props the same way as you would in a regular react-native application. There is no separate way of doing that using native-base. Native-starter-kit here uses native-base and redux for state management and passing props between routes. Please refer to the login component for a working example of the same.


Build instructions can produce non-working binary for linux

Tested on WSL Ubuntu version 2<IP_ADDRESS>, but this might happen on any OS if golang can't find the c compiler. Build instructions in the readme don't throw up an error, but since this environment doesn't come with gcc installed, the binary produced won't run:
$ go build
$ ./japanese
2023/10/10 19:56:56 Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub

Resolved by installing gcc (for ubuntu: ``, which sets the golang compiler to enable CGO):
$ sudo apt install -y build-essential
(output elided)
$ go build
$ ./japanese
time to load kanji:  141.37979ms
time to unzip entries:  714.373175ms
time to load entries:  656.787842ms
time to build entry maps:  157.713199ms
2023/10/10 19:58:25 Defaulting to port 8080
2023/10/10 19:58:25 Running on port: 8080

Awesome app, BTW. Maybe just mention in the readme that one of the imported modules requires CGO?

Thanks, I made a note of this in the install instructions


HttpClientFactory is already a thing

At first I was like: 😞 😢 😭 😠
And then I was like: 😕 🤔 😃 👍
https://msdn.microsoft.com/en-us/library/system.net.http.httpclientfactory(v=vs.118).aspx

The fqn System.Net.Http.HttpClientFactory already exists in the old WebAPI client library. This is where we we also provide things like ReadAsAsync<T> methods and the general support for formatters and deserialization. We own this library and control it's destiny 👍
Basically we expect users to use this package and the name HttpClientFactory will conflict between Microsoft.Extensions.Http.HttpClientFactory and and System.Net.Http.HttpClientFactory. This will be broken for a lot of people.
:canada: Fortunately, we Canadians have the same word for crisis as we do for opportunity :canada:.
Please note that most of the types we need to interact with for HttpClient are in System.Net.Http. We were going to add Microsoft.Extensions.Http as a companion namespace. We expected that users will have to sprinkle some Microsoft.Extensions.Http around their code - but this was a non-goal.
Please also note that it is not a breaking change to change a type from static to abstract, in fact a static class is declared as sealed abstract at the IL level - and unsealing is not a breaking change.

At this point a plan starts forming in my mind. Don't reply until you get to the end. I know some of you are going to type a response before you read all of the steps. Here's what I think this would look like:

We create a new package in the WSR repo System.Net.Http.XYZ - pick whatever name you want
We type-forward HttpClientFactory into this new package
System.Net.Http.Formatting now depends on this new package
We unseal System.Net.Http.HttpClientFactory and add whatever we decide is required.
We ship 5.2.4 of WSR including the new package (already planned)
We ship Microsoft.Extensions.Http as the implementation of HttpClientFactory including the wire-ups for DI, logging, and options

Pros

This is our change to re-use and extend something that already exists
The Microsoft.Extensions.Http namespace isn't required unless you are implementing extensibility
Imagine we don't do this, and just choose another name (HttpClientProvider 🤒) this is still going to be annoying for anyone using System.Net.Http.Formatting.

Cons

Requires another package to exist, or introduces coupling we don't want (see below)
Some risk associated with getting step 4 nailed down
Have to live with the existing API on HttpClientFactory which is IMO not that bad

Why another package
This solves an issue with coupling.
Right now HttpClientFactory lives in the Microsoft.AspNet.WebApi.Client package, where it also has a whole bunch of infrastructure for formatters, content negotiation, and also a reference to JSON.NET
We anticipate that Microsoft.Extensions.Http to have a bunch of references to other Microsoft.Extensions.* packages. We really don't want to introduce coupling either way. You don't want things like DI and options showing up in your old ASP.NET WebAPI 2 project, and you don't necessary want WebAPI2 formatters in your ASP.NET Core project.
If we have to live with the coupling one way we'd probably want to reference Microsoft.AspNet.WebApi.Client from Microsoft.Extensions.Http. Most of what's there is still pretty relevant, and it's not coupled to any server-side abstractions.

Is your statement about the existing API not being that bad based upon an assumption that people don't really consume it anyway? Since I would've assumed that a new HTTPClientFactory would maintain the lists of delegating handlers and I would just give it a name. No?

bad based upon an assumption that people don't really consume it anyway?

Yes, these are static methods that are basically infrastructure.

Since I would've assumed that a new HTTPClientFactory would maintain the lists of delegating handlers

Yes, but this is an implementation concern not part of the API.
I expect that we'd add:
public abstract HttpClient CreateClient(string name);

// Maybe
public virtual HttpClient CreateClient();

Conclusions
We will use:
namespace System.Net.Http
{
public interface IHttpClientFactory
{
  HttpClient CreateClient(string name);
}
}

This will ship in the Microsoft.Extensions.Http package.
We are not concerned about confusion between HttpClientFactory and IHttpClientFactory.
We're comfortable making this an interface instead of a class because we think we're got the API nailed down and it's minimal.

@rynowak Quick question:
Will there be official documentation about this class AND how to use it in code?
I'm asking this about the lack of information (or discovery of this information) with respect to the current status quo with HttpClient and how many people still enclose this in a using statement ... until recent times (q3/q4 last year) when AspMonsters dropped that blog post which made a heap (nearly all?) of us go 'what the heck?! really?? /me face palms'.
Not trolling/hating - just want to make sure everyone gets onto the same page, as early as possible.
👍 🍰

Will there be official documentation about this class AND how to use it in code?

Yes, what we're doing in this repo is building a library and a pattern for using HttpClient with DI in a configurable way. This is planned as part of the ASP.NET Core 2.1 release but will be usable outside of ASP.NET Core.
The .NET team is also looking at some of the foundational issues that have made using HttpClient difficult.

thank you heaps @rynowak for the info! Sounds great :) Can't wait to see and use this :)
P.S. Please don't forget UNIT TESTING scenario's 👍 🍰

See also: https://github.com/aspnet/HttpClientFactory/issues/9

8a64334


How is this extension supposed to work?

Hi,
how is this extension supposed to work (a more extensive README would indeed be nice) ?
I installed the extension with jupyter labextension install jupyterlab_bokeh , and got a bunch of error messages for an optional dependency:
warning Error running install script for optional dependency: "/home/pahl/anaconda3/envs/chem/share/jupyter/lab/staging/node_modules/canvas: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /home/pahl/anaconda3/envs/chem/share/jupyter/lab/staging/node_modules/canvas
Output:
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| linux | x64
gyp http GET https://nodejs.org/download/release/v9.7.1/node-v9.7.1-headers.tar.gz
gyp http 200 https://nodejs.org/download/release/v9.7.1/node-v9.7.1-headers.tar.gz
gyp http GET https://nodejs.org/download/release/v9.7.1/SHASUMS256.txt
gyp http 200 https://nodejs.org/download/release/v9.7.1/SHASUMS256.txt
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/home/pahl/.config/yarn/global/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/home/pahl/anaconda3/envs/chem/share/jupyter/lab/staging/node_modules/canvas/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/pahl/.config/yarn/global/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/home/pahl/.node-gyp/9.7.1/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/home/pahl/.node-gyp/9.7.1',
gyp info spawn args   '-Dnode_gyp_dir=/home/pahl/.config/yarn/global/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/home/pahl/.node-gyp/9.7.1/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/home/pahl/anaconda3/envs/chem/share/jupyter/lab/staging/node_modules/canvas',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/pahl/anaconda3/envs/chem/share/jupyter/lab/staging/node_modules/canvas/build'
  SOLINK_MODULE(target) Release/obj.target/canvas-postbuild.node
  COPY Release/canvas-postbuild.node
  CXX(target) Release/obj.target/canvas/src/Canvas.o
../src/Canvas.cc: In static member function ‘static void Canvas::ToBufferAsyncAfter(uv_work_t*)’:
../src/Canvas.cc:221:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
     closure->pfn->Call(1, argv);
                               ^
In file included from ../src/Canvas.h:22:0,
                 from ../src/Canvas.cc:7:
../../nan/nan.h:1568:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/Canvas.cc:226:31: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
     closure->pfn->Call(2, argv);
                               ^
In file included from ../src/Canvas.h:22:0,
                 from ../src/Canvas.cc:7:
../../nan/nan.h:1568:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
In file included from ../src/Canvas.cc:8:0:
../src/PNG.h: In function ‘cairo_status_t canvas_write_png(cairo_surface_t*, png_rw_ptr, void*)’:
../src/PNG.h:73:20: warning: variable ‘status’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
     cairo_status_t status = CAIRO_STATUS_SUCCESS;
                    ^~~~~~
  CXX(target) Release/obj.target/canvas/src/CanvasGradient.o
  CXX(target) Release/obj.target/canvas/src/CanvasPattern.o
In file included from ../src/CanvasPattern.cc:9:0:
../src/Image.h:19:10: fatal error: gif_lib.h: No such file or directory
 #include <gif_lib.h>
          ^~~~~~~~~~~
compilation terminated.
canvas.target.mk:127: recipe for target 'Release/obj.target/canvas/src/CanvasPattern.o' failed
make: *** [Release/obj.target/canvas/src/CanvasPattern.o] Error 1
make: Leaving directory '/home/pahl/anaconda3/envs/chem/share/jupyter/lab/staging/node_modules/canvas/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/pahl/.config/yarn/global/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at ChildProcess.emit (events.js:127:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.jssuccess Saved lockfile.
.........
Done in 35.73s

But  otherwise the built seems to have worked.
However, after a restart of the server, I stll do not see any Bokeh plots in the JupyterLab notebook.
Am I missing an additional installation step? Do I have to activate the extension somewhere?
Many thanks.
Kind regards,
Axel

cc @canavandl

jupyter labextension install jupyterlab_bokeh should be the only action needed to install. Offhand, it looks like it's failing to build Cairo. But bokeh does not depend on Cairo so not sure why it's trying to build it at all unless it's some jupyter lab thing.

It's an upstream jupyterlab issue (https://github.com/jupyterlab/jupyterlab/issues/3665). The errors should be able to be ignored and the build should complete correctly.
Can you share the output of jupyter labextension list after you've tried to install the extension? I'd also suggest trying to hard refresh your browser when you launch jupyterlab, in case there's some caching issue.

I do wish jupyter labextension was quieter by default. All this output is mostly confusing and not helpful.

I've installed it successfully, bokeh's listed in the labextension list output.  But I don't see any clue in JupyterLab that tells me it's there.  What should I look for?  Is there a hello world I can run besides something that just tells me "JavaScript output is disabled in JupyterLab?"  Thanks.

Is there a hello world I can run besides something that just tells me "JavaScript output is disabled in JupyterLab?" Thanks.

If it is saying that, then it specifically is not trying to use the extension. What version of Bokeh do you have installed?

> conda list | grep bokeh
bokeh                     0.12.5                   py36_1
r-rbokeh                  0.5.0                  r3.4.1_0

Is there a minimum version required?

Yes, JupyterLab support was only introduced in version 0.12.9:
https://bokeh.github.io/blog/2017/9/12/release-0-12-9/

Thanks!  That works!  (Sorry to hijack @apahl's thread, but maybe it helps?)

+1 for @rcthomas problem + @bryevdv bokeh upgrade suggestion, which appears related to @apahl original post: I also had an apparent error message running jupyter labextension install jupyterlab_bokeh that sent me off on a wild goose chase of gobject-2.0, libz, ... dependencies when the actual problem was just that I needed to upgrade bokeh.
Is there any way that jupyter labextension install jupyterlab_bokeh dependency checks could catch that bokeh itself needs to be upgraded and print a helpful error message about that?

@canavandl : Thanks for coming back to me.
 When I open the Notebook directly from the Jupyter Notebook server, the plots are there.
Many thanks for your help.
Kind regards,
Axel

@apahl Looks like you are trying to run HoloViews. We only just added support for JupyterLab in HoloViews last week and currently there is no release that supports it yet, once 1.10 is released you'll
be able to use it once you have to installed the jupyterlab_holoviews extension.

Ah ok, I thought since I use the bokeh backend, the bokeh extension would be sufficient.
This explains it, then.
Many thanks for your help.
Kind regards,
Axel

I thought since I use the bokeh backend, the bokeh extension would be sufficient.

For static plots it technically would have been sufficient but HoloViews offers bidirectional communication in the notebook, which required shipping our own custom extension.


PyPi index only includes the latest releases

Prerequisites
Please answer the following questions for yourself before submitting an issue.

[X ] I am running the latest code. Development is very rapid so there are no tagged versions as of now.
[X] I carefully followed the README.md.
[X] I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
[X] I reviewed the Discussions, and have a new bug or useful enhancement to share.

Expected Behavior
The pypi index should include pre built wheels for all releases previous releases.
Current Behavior
The GitHub API returns paginated responses. Currently, only the first page is used when building the index.

@OKUA1 thanks for reporting this, it should be fixed now to pull all pages!


Package directives should allow specifying a world reference for validation.

There should be a way for composition authors to specify the world the output component conforms to such that they can ensure the result is of the expected shape.
Some syntax suggestions:
package foo:bar targets wasi:http/proxy;

Where targets ... is optional.

The validation of the world should occur after resolution and go through the imports and exports to validate each one is present in the targeted world.

Presumably we could use wit_component::targets to do this check too but the error returned describing what causes the targets failure is not incredibly informative.

That's definitely one option, but it's implementation is pretty heavy compared to reusing all of the type information a resolve document already contains (the implementation of wit_component::targets encodes a new component and then tries to parse it for a validation error).
It should be pretty straight forward to go through each import, error on an import that's not in the target or a matching one that is mismatched on type, and inverse on the exports (go through only the matching exports and check for mismatched types; i.e. allow more exports than the world specifies).

That makes sense to me!


RFC: Implement UITableView Support

Purpose
I would like to add support for UITableView within IGListKit. Ever since @rynstrom started formulating what would become IGListKit I thought it would be great if it worked with UITableView, but I didn't have the time to do that. Additionally, Instagram doesn't have many table views left so the impact would have been small. However, I still believe that there is meaningful value in supporting UITableView, and for Instagram it would be great to convert the remaining UITableViews over to this more sane framework.
This issue is to track the following:

desired additions
analysis of required changes to IGListKit

As this will likely be 100% source breaking changes, I'm guessing this will be included in at earliest the 4.0.0 release.
Expected Changes
Below are my (likely) naive expectation of changes that will happen:
IGListAdapter

collectionView, collectionViewDelegate, and updater will no longer be direct properties on the object

IGListAdapter is relatively weakly coupled to UICollectionView. There are a number of collection view specific data source, delegate, and layout methods but none of them are critical to the adapter itself. I believe all of those could move out to an owned object that is specific to collection view without breaking the adapter.
IGListUpdatingDelegate
This protocol is also not 100% dependent on collection view but rather what a collection view can do for adding, deleting, and moving parts. Thankfully all of that is possible in UITableView also. Except for the completion block that is available with -[UICollectionView performBatchUpdates:completion:], but I feel confident that it will be possible to add that exact method via an extension to UITableView and effectively change this protocol into one that depends only on an object that implements some other specific protocol.
Add IGListUpdatePerformable Protocol
I'm good at naming. I based this on the Swift API Design Guideline

Protocols that describe a capability should be named using the suffixes able,ible, or ing

This protocol will be used by IGListUpdatingDelegate to encapsulate an object's ability to handle adds, deletes, moves, and reloads that IGListKit support. By abstracting this out it should be possible to allow objects that aren't even UIView subclasses be managed by IGListKit.
Add IGListEncapsulating Protocol
Names. This protocol would be for objects that actually own the object that is being managed by IGListKit and should implement any specific data source and delegate methods that should be intercepted/implemented. This object type would be what is owned by IGListAdapter and could become the actual collectionContext that is provided to IGListSectionController instances. That last part may get a bit weird, but maybe.
The overall goal is to make IGListAdapter independent of UICollectionView and provide some method for it to handle any kind of list-ing thing. The largest downside is that at some point a consumer is going to have to do type specific casts to go from a protocol to a specific list-ing type. Thus if there are implementations for UICollectionView and UITableView then at some point there will be a need to know which type is being used and then cast to that type. I don't know exactly where that is yet, but I'm sure it will shake out on its own and there will be great feedback.
Break UICollectionView Dependency in IGListSectionController
This one is potentially going to be difficult. The section controller needs the collection context and then has various delegate and data source objects that are specific to collection view functionality. The two that are most apparent are IGListSupplementaryViewSource and IGListDisplayDelegate. Both of these maybe could be easily converted but I'm not sure yet.

This would be trivial with Swift, because we could unify table and collection views like this:
https://github.com/jessesquires/JSQDataSourcesKit/blob/develop/Source/ViewFactory.swift
We could probably get close to this in Objective-C, but there are a few things that will be much more cumbersome.

I'd be hesitant to implement this given that UITableView may be on the chopping block, iOS 10 already includes a lot of private headers that indicate UICollectionView is going to get some API's to help it do everything UITableView can already do.
https://pspdfkit.com/blog/2017/the-case-for-deprecating-uitableview/

I also would avoid implementing this. UICollectionView and UITableView have subtle differences of behavior that will lead to a ton more branching code than you might expect on the surface.
Most modern apps only have a couple of table views these days, and it's not too hard to implement diffing or a section controller architecture without IGListKit managing the updates etc.

Science: https://twitter.com/jesse_squires/status/852288149162086400

I agree with @robertjpayne , may best to til WWDC and see what will be happening.

I would also wait till after WWDC. We're actually making use of ASCollectionNode for our "tables" now without any additional logic needed and plan to use that throughout the app.

The science is in.

Clearly all those "don't use" are just future users who gave up when it didn't support table view. ;)

Ok, looks like there's enough interest and some good reasons to do this. Here's my suggestion for implementing this and rolling it out:
Implementation/release plan:

Release with 4.0 (potentially as the only major work for 4.0). Created the milestone for this.
We'll do all work on a dedicated branch from master, release-4.0-tableview-support, except for foundational refactoring work
If possible, let's identify any "rearrange the deck chairs" refactoring work and try to do this for 3.0 to minimize major-release churn
We can submit all PRs to this branch and merge directly on GH
When ready, we can PR this branch for master and merge into master
Then, merge to stable, tag release on GH, push to cocoapods

That sounds great! I can put together an issue with the pieces of work as I see them and we can discuss what constitutes deck chair vs 4.0 release. Or is there a better way to document and discuss the breakdown of work?

@amonshiz - sounds good to me! 👍

Given the response in 692 I'm closing this out. There's no demand for implementing UITableView support internally, so developing this and supporting it would be a no-go for us


Please implement also horizontal window splits

Hello,
In many cases it's is beneficial to have also horizontal splits.
What is the font that you use standard for the Linux, I'm on fedora and the font is small but very nice. Although it doesn't appear in the settings.
On a FullHD Screen I could perfectly put 8 readable vertical splits with the small font that Lapse ships with.
Best regards,
João

You can already make horizontal split by dragging the tab

Thank you for explaining to me,
I didn't see that in the documentation, nor in a icon, nor in the command  palet, nor in a video about Lapce :-)
Best regards,
João


Install momentjs via NPM

Meteor is shifting more and more towards nodejs modules instead of meteor packages. So instead of relying on packages that wrap node modules, it's better to use the node modules directly.
Check the meteor guide Atmosphere vs NPM

Thanks Dev1an! love the tips, keep 'em comming 😄

This is the mail system at host lotootevai.mailfwd.taloha.net.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
               The mail system

<EMAIL_ADDRESS>host DPRO.BE[<IP_ADDRESS>] said: 550-Message rejected
because (lotootevai.mailfwd.taloha.net) 550 [<IP_ADDRESS>]:53655 is
blacklisted. (in reply to RCPT TO command)

Dear Jeroen,
The email sent to<EMAIL_ADDRESS>with subject
"Re: [JeroenBe/SnapTwit] Install momentjs via NPM (#3)"
will be delivered as soon as possible.
Your email address is automatically added to the
recipients 'whitelist'. This means for further
emails to<EMAIL_ADDRESS>you will not receive a delivery
notification again.
TK MAILIAS

Looking for a way to Protect Your Identity and
for a great no-more-spam solution for your email
address<EMAIL_ADDRESS>Sign up for TK Mailias.
It's free! Please visit http://www.mail.tk/


RTMP to Streaming Server/CDN

Hello,
I set up my RTMP Camera and am ready to stream to a server.
I also got a CDN and a domain.
I was now wondering how I can get that RTMP stream to the CDN (probably over a streaming server).
There are some easy solutions like Wowza but for my project this is no option because of the price (it will be a social media platform like twitch where everyone can stream).
Does anyone have a solution where I can maybe stream directly to the CDN (it's BelugaCDN/BunnyCDN) or an affordable solution that would work for receiving the RTMP streams and sending them as HLS (not necessarily HLS and RTMP) to the CDN?
Best Regards,
Philipp

If you are looking a server you can check this:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/wiki/Media-servers-tested
The better choice for a scalable free server could be Nginx or Srs but you need know how to implement it because you need install all manually.

Thank you for the quick response, I will look through the list and close the issue when I find something! :)

To run and implement the server I need a VPS right?
Or is there any other solution?

Yes, you need a VPS or buy a IP and create your own server in local


MissingMethodException: Method not found: 'SixLabors.ImageSharp.Formats.IImageFormat  on Cropper.LoadImage()

With any ABP.IO Blazor Server project using version 7.0 (dotnet and ABP) I get the following error!  I'm seem to be unable to fix it.
Error: System.MissingMethodException: Method not found: 'SixLabors.ImageSharp.Formats.IImageFormat SixLabors.ImageSharp.Formats.ImageFormatManager.FindFormatByFileExtension(System.String)'.
at Blazor.Cropper.Cropper.LoadImage(String ext, IBrowserFile resizedImageFile)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Blazor.Cropper.Cropper.LoadImage(String ext, IBrowserFile resizedImageFile)
at Blazor.Cropper.Cropper.OnParametersSetAsync() in C:\Users\brauerj\source\repos\MyReport7\dependencies\Blazor.Cropper\Blazor.Cropper\Cropper.razor.cs:line 376
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)
Any suggestions?

Now in the most basic version of a 7.0 template (calling a razor libary) I'm getting "Microsoft.AspNetCore.Components.Server.Circuits.RemoteRenderer: Warning: Unhandled exception rendering component: Could not find 'setVersion' ('setVersion' was undefined).
Error: Could not find 'setVersion' ('setVersion' was undefined)."
Here is a repository showing both issues:  https://github.com/brauerj-gc/CropperError-ABP7-and-dotnet7
(browse to /cropper after loading either Blazor app)

It looks like the ServerSideCropperExample doesn't work either after switching to net7.0  https://github.com/Chronostasys/ServerSideCropperExample/

I'm running into the same issue even though I'm not using ABP.IO. Was working a couple days ago and it started throwing after the setting the image OnInputFileChange
:Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: Method not found: SixLabors.ImageSharp.Image SixLabors.ImageSharp.Image.Load(byte[],SixLabors.ImageSharp.Formats.IImageFormat&)
System.MissingMethodException: Method not found: SixLabors.ImageSharp.Image SixLabors.ImageSharp.Image.Load(byte[],SixLabors.ImageSharp.Formats.IImageFormat&)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[d__176](d__176& )
at Blazor.Cropper.Cropper.LoadImage(String ext, IBrowserFile resizedImageFile)
at Blazor.Cropper.Cropper.OnParametersSetAsync()
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task , ComponentState )

Not sure if it's related to @brauerj-gc 's issue but I found out the cause of my issue with the Method Not Found error. I had another package that updated SixLabors.ImageSharp to 3.0 which caused Cropper to break. Downgrading SixLabors.ImageSharp to 2.1.3 seems to resolved my issue.

This workaround (what little it did) seems to completely not work as of .net 8. Using Client/Server/Shared model, and no matter the version of SixLabors.ImageSharp, even though it is loaded as a wasm module, it still fails with Method not found


Update auto-release pattern

Previously, if the patch version of the CLI was bumped due to the check-for-updated-binary-version task returning successfully, then the check-for-patched-cves task afterward would fail because it would try to look up the new version as a git tag. If that didn't cause a failure and it also returned successfully, the version could have been bumped twice.
Now, the golang-release task scripts create a
release-notes/needs-release file when the condition for the script is met. This allows us to chain the scripts together, build up release notes from each script, then bump a single time if any of the scripts were successful.

See also: https://github.com/cloudfoundry/bosh-package-golang-release/commit/be6d9118f0a12a9db822e237237cc9c2e732c611


Preserve systemd provided socket after shutdown

Description
I struggle to understand why gitea unlinks the socket file on shutdown (L171):
https://github.com/go-gitea/gitea/blob/a701fd35cf6efdecf8047cb1ee9eb683d95b1db5/modules/graceful/net_unix.go#L166-L174
I believe this is unwanted behavior since it breaks systemctl restart gitea when using socket activation.
Gitea Version
a701fd3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
# gitea.service
[Unit]
Description=Gitea (Git with a cup of tea)
After=syslog.target
After=network.target

Wants=postgresql.service
After=postgresql.service

After=gitea.socket
Requires=gitea.socket

[Service]
RestartSec=2s
Type=simple
User=git
Group=git
WorkingDirectory=/var/lib/gitea/
ExecStart=/usr/local/bin/gitea --config /etc/gitea/app.ini --custom-path /pool/git/custom --work-path /var/lib/gitea/ web
Restart=always
Environment=USER=git

[Install]
WantedBy=multi-user.target

# gitea.socket
[Unit]
Description=Gitea Web Socket

[Socket]
ListenStream=/run/gitea/gitea.sock
SocketMode=0666
SocketUser=git
SocketGroup=git

[Install]
WantedBy=sockets.target

Database
PostgreSQL

Have you tried using kill -1 to restart gitea?

I could, but why?

from what I learned, SetUnlinkOnClose was designed exactly for preserving the socket file created by systemd by the golang team.
https://groups.google.com/g/golang-nuts/c/UtBR4IfgaEw

Isn't it normal to unlink a inactive socket, indicating it is not available? What other options are there? Set chmod 000?

https://www.freedesktop.org/software/systemd/man/systemd.socket.html

Interesting, yeah they mention it multiple times on that link:

A daemon listening on an AF_UNIX socket may, but does not need to, call close(2) on the received socket before exiting. However, it must not unlink the socket from a file system.

further explanation on how it breaks "systemctl restart":

gitea.socket activates, systemd creates ipc file
gitea.service activates, listens on the ipc file sysd just created
invoke systemctl restart
gitea.service deactivates, deleting the ipc file
gitea.service activates, failing to find the appropriate ipc file to listen on

under such circumstances, users would have to first restart gitea.socket, then gitea.service.

Interesting, yeah they mention it multiple times on that link:

A daemon listening on an AF_UNIX socket may, but does not need to, call close(2) on the received socket before exiting. However, it must not unlink the socket from a file system.

Unrelated to gitea, but normally, what I do in my apps is unlink,create and chmod 666 a socket on start, and do nothing with it on shutdown.

no, this is not about using ipc file, this is about using systemd.socket. it's two things to consider.

any thoughts?


Rewrite docs with DocStringExtensions

Another package I wish I knew about a long time ago… https://docstringextensions.juliadocs.org/stable/

It seems like it’s not fully fleshed out yet. For example when using TYPEDSIGNATURES, all methods appear to return Any according to the docstring. So I will hold off on trying this for now.


how to use a csproj file

Title

It's a project file for a programming editor, you would load it into the IDE and work on the project files.


Relationships not returned

I'm working on an example blogging app (https://github.com/michaelrkn/blogger/tree/86b134b05d9749136b76202841769c2c6808ec99) for an Ember class I'm teaching. I'm using the LS adapter.
In my models, a post has many comments. As instructed in the LS adapter README, I have not used {async: true} (at least at the point at which the linked commit was made).
I can create a post, and write some comments on it. However, if I refresh the page, and then click on a post, I get the error "You looked up the 'comments' relationship on 'Blogger.Post:ember477:00hdt' but some of the associated records were not loaded." If I load the page at the URL for that particular post (eg file:///Users/michael/Code/blogger/index.html#/00hdt), that particular route won't throw an error, but browsing to any other post will.
If I add {async: true}, the app does not throw those errors.

any update on this ?

the afterModel hook workaround to pre-load all comments worked form me. But I think this bug persists

This is annoying, for sure. Anyone volunteer for a fix/PR? I am not really working in any app with LS right now, so I lack the time for that.

I don't know enough about ember data to create a fix but i think i've found the location of the problem.
https://github.com/kurko/ember-localstorage-adapter/blob/master/localstorage_adapter.js#L408
It has to do with Ember-CLI and requiring an adapter for every model.
if (relationEmbeddedId && foreignAdapter === adapter)
The foreign adapter is not the same as the current adapter because they are different objects. But their types are the same which should be enough, right?  I couldn't find anything to compare types besides looking at the model namespace and comparing it though.

Any news on this one? This is still a problem in Ember Data 2.x

@oleander because of that and other problems i build an adapter for ember data versions that include the JSONAPIAdapter/Serializer. The default behavior of relationships in ember data 2.x is async that solve the problem.

#124 says that it fixes this issue, please reopen if that's not the case.


Various Percona Configuration Improvements

Description

Doesn't try to change the perms on /tmp (this causes some idempotency issues @ OSL)
Removes duplicate configuration line
Avoid duplicating mysqld configuration section in my.cnf
Remove the open file limit from the systemd unit since we are already setting it in my.cnf anyway

Check List

[x] A summary of changes made is included in the CHANGELOG under ## Unreleased
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable.

Whoops, didn't mean to create a PR here yet, but I guess it's close enough to ready!

Released as: 3.4.0


Handle spaces in project/repo names

Describe the bug
Whenever a project name contains a space, workspace creation fails. It can get its name automatically from the underlying repo which in some instances might have a space.
To Reproduce
Steps to reproduce the behavior:

daytona create
Enter a repo with a space encoded in its URL
Submit creation and view the error that occurs after a couple steps pass

Expected behavior
Spaces should probably be replaced with dashes
Screenshots

Desktop (please complete the following information):

Daytona Version: v0.16.0

/bounty $20

@ezhil56x You can recreate it by setting up an Azure Devops account and creating a repo with a space on PR #610 if you wish.

/attempt #611

If the source repo name has an underscore (_), Workspace creation also fails with the pre-filled suggestion due to validation reasons, so the scope here is a bit wider than spaces.
It's probably worth using a regex to identify non-valid characters and replace them with a hyphen.


perf: nexmark q0

Background
In recent benchmark Flink had average throughput of 1M r/s. RW had average throughput of 850K r/s. Requires a 17% improvement to match Flink. Thanks to @huangjw806  for spotting this.
Flamegraph can be found here, under Artifacts.
query
    CREATE SINK nexmark_q0
    AS
    SELECT auction, bidder, price, date_time
    FROM bid
    WITH ( connector = 'blackhole', type = 'append-only');

plan
   QUERY PLAN
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
 StreamSink { type: append-only, columns: [auction, bidder, price, date_time] }
 └─StreamProject { exprs: [$expr1, $expr2, $expr3, $expr4] }
   └─StreamProject { exprs: [Field(bid, 0:Int32) as $expr1, Field(bid, 1:Int32) as $expr2, Field(bid, 2:Int32) as $expr3, Field(bid, 5:Int32) as $expr4, _row_id] }
     └─StreamFilter { predicate: (event_type = 2:Int32) }
       └─StreamRowIdGen { row_id_index: 5 }
         └─StreamSource { source: "nexmark", columns: ["event_type", "person", "auction", "bid", "_rw_kafka_timestamp", "_row_id"] }

Here are screenshots of the flamegraph, highlighting cost centers.

Please append to screenshots if you find something interesting in the flamegraph.

https://github.com/risingwavelabs/risingwave/blob/main/src/connector/src/parser/json_parser.rs#L94-L109
It seems nothing wrong if we save one to_vec here, even unsafely?

https://github.com/risingwavelabs/risingwave/blob/main/src/connector/src/parser/json_parser.rs#L122
done to_ascii_lowercase() once in advance, out of the closure/loop?

https://github.com/risingwavelabs/risingwave/blob/main/src/connector/src/parser/mod.rs#L200
Vec::with_capacity() instead of vec![]?

I feel we need to find a good strategy to decide when to compact in the ProjectExecutor
https://github.com/risingwavelabs/risingwave/blob/main/src/stream/src/executor/project.rs#L113
In this case, as the expr is really computation-light, compact itself introduces 11% overhead.

https://github.com/risingwavelabs/risingwave/blob/main/src/connector/src/sink/remote.rs#L276-L294
Kind of depending on the output format requirement
if it asks for JSON, then we iterate through each row of the chunk, so we can choose not to compact.
But if it asks for stream chunk format, then we have to compact.
Since this is a blackhole sink, we can save the compaction, you are right!

https://github.com/risingwavelabs/risingwave/blob/main/src/connector/src/sink/remote.rs#L276-L294
Kind of depending on the output format requirement
if it asks for JSON, then we iterate through each row of the chunk, so we can choose not to compact. But if it asks for stream chunk format, then we have to compact.
Since this is a blackhole sink, we can save the compaction, you are right!

Hmm even in StreamChunk we can defer it to encode_to_vec? https://github.com/risingwavelabs/risingwave/blob/96aa23dd0dc04c869a2ea5fdb4b7b1fc8fbcbf6d/src/connector/src/sink/remote.rs#L292

But typically will any system consume StreamChunk even? 👀
I thought it is used internally

But typically will any system consume StreamChunk even? 👀

I guess no, so we can save the final compact if it is connected to the sink/MV executor

So whether to compact becomes something to determine at the stage of optimization?

Makes sense to me.

For this particular query, we need to be cautious because of this two project issue. It's a bug that has not been fixed.
The project below actually compacts in this case, so

save the final compact

is a wrong statement here, which is a correct one if we fixed this particular bug first.

Linking it: https://github.com/risingwavelabs/risingwave/issues/8577

https://github.com/risingwavelabs/risingwave/issues/8577#issuecomment-1471343129

Which means we actually do no need to have  StreamRowIdGen { row_id_index: 5 } right? @st1page

Guess SourceStreamChunkRowWriter is not efficient enough for those insert-only sources 🤔

I feel we need to find a good strategy to decide when to compact in the ProjectExecutor
https://github.com/risingwavelabs/risingwave/blob/main/src/stream/src/executor/project.rs#L113
In this case, as the expr is really computation-light, compact itself introduces 11% overhead.

done in https://github.com/risingwavelabs/risingwave/pull/8758

But typically will any system consume StreamChunk even? eyes

I am not sure if we can sink the chunk into a system with arrow format :thinking:

For this particular query, we need to be cautious because of this two project issue.
It's a bug that has not been fixed.
The project below actually compacts in this case, so

save the final compact

is a wrong statement here, which is a correct one if we fixed this particular bug first.

I think it can not help the compact performance issue because it will be compact in any project. If we have a plan ProjA->ProjB, the chunk will be compacted in the projA and the the ProjB::compact() will not be costly

I think the idea I have is slightly different, it's more to avoid compact even when there's filter, as in the case of q0.
When sinking, we don't need to build new chunk, instead we build protobuf / json encoded chunk. We can delay the top-most compact call until here, saving cost of building a new chunk, and relying on protobuf / json building step to remove invisible rows.
@st1page 's approach is still great for intermediate executors with compact. This approach is complementary, it will always eliminate top-most compact when sinking regardless of selectivity, to avoid unnecessarily building a new chunk.

When sinking, we don't need to build new chunk, instead we build protobuf / json encoded chunk. We can delay the top-most compact call until here, saving cost of building a new chunk, and relying on protobuf / json building step to remove invisible rows.

strongly +1.

To implement this as a optimization requires a bit of refactoring to add should_compact as a plan-level attribute (or other suggestions?). A simple thing to do for now is just disable compact for top-most project, if sinking, since that's usually the most common case.

I think is not a plan-level attribute. Currently, we do compact the input chunk just to simplify the executor's implementation. But in fact, every executor should handle the visibility properly. e.g.

for Project, the executor should trade off between constructing a new chunk or the redundant row's computing(because our expression framework can not accept visibility)
for Agg, the executor should can ignore the invisible rows
for SinkExecutor, it should make sure the visibility can be properly handled by the SinkImpl as you say.

The question here is that we give the chunk's visibility to SinkExecutor which means it has the chance to do the optimization but it does not. So we need to do optimization in the SinkExecutor.

The peak throughput gets to 1M rows/s.


Application crashed after some days

First of all, Merry Christmas :)
Describe the bug
Sadly the application crashes after some days inside the docker container. The container itself keeps running. See attached log.
Version
v<IP_ADDRESS>
To Reproduce
Steps to reproduce the behavior:

Let the application run for some days
See that the application crashed

! ALWAYS INCLUDE AN EXAMPLE URL WHERE IT IS POSSIBLE TO RE-CREATE THE ISSUE - USE THE 'SHARE WATCH' FEATURE AND PASTE IN THE SHARE-LINK!
Expected behavior
Application should not crash
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10
Browser: chrome
Version: 107

Smartphone (please complete the following information):

Device: Pixel 6
OS: Android 13
Browser: chrome
Version: 108

Additional context
changedetection.log

the last exception it would recover from
what do you mean exactly by "crashed" ?

the last exception it would recover from
what do you mean exactly by "crashed" ?

After the error occurred, the web page wasn't available anymore.
It happens every 7 to 14 days in my environment.

Sadly the issue happens again. The docker container was running for 6 days and now the application is "dead". The webpage isn't available anymore. The docker container is still running.
changedetection_crash.log
Do you need any additional information?

Sadly the issue happens again. The docker container was running for 6 days and now the application is "dead". The webpage isn't available anymore. The docker container is still running.
changedetection_crash.log
Do you need any additional information?

Once again, I repeat, I would need the full log, not just an excerpt


React reveal starts revealing, before content (image) is loaded.

Hello community
On my page I am using cascade reveal on my list. Each list item has a React component rendered inside (the component is basically link thumbnail).
My problem is that reveal of the list item begins before the component inside is fully loaded, meaning items are revealed before thumbnail image is fully loaded. This is problem speacially with poor internet connection.
Question is: Is there any way to postpone reveal up until the image and the item content is fully loaded?
By the way great work, really like the framework.

Hi!
For image you can use component that provides onLoad callback(f.e. react-image) and use spy property on your reveal, so reveal will start when spy  become true.
Something like this:
<Bounce spy={this.state.loaded}>
  <Img src="your icon" onLoad={() => this.setState({loaded: true})} />
</Bounce>


Useful stability fix

Hi,
I'm using your great library and it looks like that the data I'm getting from server can be incosistent, so if the server returns no data, the app crashes in "+ (nonnull instancetype)withData:(nullable NSData *)data".
I've made the simple fix for that issue and am sharing it here with you:
id object = [NSJSONSerialization JSONObjectWithData:data ? data : [NSData data] options:NSJSONReadingAllowFragments error:&error];

@duke4e hello.
Sorry for the late response. Can you create PR please? It will be awesome.

https://github.com/bernikowich/NSTEasyJSON/releases/tag/1.0.6


List index out of range from mtime

>>> mtime = (datetime.now() - timedelta(days=1)).isoformat()
>>> mtime
'2015-12-09T14:33:11.722751'
>>> events = otx.getevents_since(mtime)
>>> json_normalize(events)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/pandas/io/json.py", line 684, in json_normalize
    if any([isinstance(x, dict) for x in compat.itervalues(data[0])]):
IndexError: list index out of range

The issue here is panda's json_normalize, which somewhat oddly raises IndexError for empty lists:
>>> json_normalize([])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/bsmartt/Resources/tmp/ott/lib/python2.7/site-packages/pandas/io/json.py", line 707, in json_normalize
    if any([isinstance(x, dict) for x in compat.itervalues(data[0])]):
IndexError: list index out of range

I suggest we update the notebook like this:
if events:
    json_normalize(events)

I haven't been able to preview this on github yet it might be sufficient though: https://github.com/bsmartt13/OTX-Python-SDK/commit/6b230563d1cc3811ef280e60b08bce2d342357a6


16px font-size in input to prevent iOS zoom

The example on the home page is awesome. Setting the font-size to 16px on the input will prevent zoom in safari on iOS.

Fixed in c25dfe2


WiFi cannot connect if passcode has special characters, like $.

This was also a bug in RRVL and was fixed there. See issue here: https://github.com/valadaa48/retroroller/issues/201
Example passkey that would not work: nHs$7nvJOfj)BEkd

Not something I will fix soon.


Adding custom schemas to users

Nate,
I appreciate how quickly you were able to add the ability to set custom schemas and publish the changes to PowerShell Gallery! I am getting an error when trying to set one, though. I am probably just missing something:
[fesscript]: PS C:\Users\mcooper\Documents> Update-GSUser mcooper -CustomSchemas @{ Frontier_Private_IDs = @{ Employee_Number = 4097 } }
Update-GSUser : Cannot index into a null array.
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Update-GSUser

[fesscript]: PS C:\Users\mcooper\Documents> Update-GSUser mcooper -CustomSchemas @{ Frontier_Private_IDs = @{ Employee_Number = "4097" } }
Update-GSUser : Cannot index into a null array.
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Update-GSUser

[fesscript]: PS C:\Users\mcooper\Documents> Update-GSUser mcooper -CustomSchemas @{ "Frontier Private IDs" = @{ "Employee Number" = "4097" } }
Update-GSUser : Cannot index into a null array.
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Update-GSUser

The schema group is called "Frontier Private IDs" with attributes "Student Number" and "Employee Number." I noticed when querying a user with Get-GSUser, the spaces are replaced with underscores, but I can't get it to work either way.

Hey @cooper - that error indicates something isn't working as expected on the PowerShell side, not necessarily Google not liking your schema construction.
Testing it out to see if I can replicate locally, working on a fix ASAP for you!

@cooper - found the issue! pushing v2.5.2 now with the fix

lol, spelling is a drag sometimes ¯_(ツ)_/¯

v2.5.2 deployed, try it out! you may have to fiddle with the space vs underscore issue, curious on whether your schema accepts spaces or not (I'm guessing it may convert it to underscores and require that when performing updates to it, tbh)

It works using the underscores. You're awesome!

Glad it's working for you! 😄
On Thu, May 3, 2018 at 8:10 AM Mitchell Cooper<EMAIL_ADDRESS>wrote:

It works using the underscores. You're awesome!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/scrthq/PSGSuite/issues/39#issuecomment-386289978, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AMIo3Ve2xPt377MbqCBu-7r3drnuwYSxks5tuwHDgaJpZM4Tvo2c
.

--
Thank you for your time, Nate Ferrell (SCRT HQ)


ISPN-9677 Check tx running when updating query cache

backporting ISPN-9677 as it's an important one

force pushed to amend the JIRA code to : ISPN-10323
https://issues.jboss.org/browse/ISPN-10323

Thx @Sanne :)


Doubts about roadmap and implementation

Hi...
 I was start playing with esdl2 and Erlang, and during this sort period of time I could take a look to the project, I have some questions about it...

I'm aware you're only interested in the 2d side of things from SDL, Do you think in implement SDL2_gfx plugin inside esdl2?. It would include additional functionality like polygons (2d), curves like bezier, rotozoom... It seems like a great candidate to expand current functionality.
Threading is implemented using nif threads to avoid blocking schedulers, what are your thoughts about nif threads vs dirty CPU threads, taking in account that dirty schedulers are experimental at this stage inside Erlang?
In your roadmap you include candidate ideas about implementing some kind of drawing pipeline/batching functions... Do you have some numbers about the nif calls overhead with esdl2?. What are your ideas about implementing this functionality? Some kind of maps list with a set of draw commands to be deserialized at once from C NIF side?.
Is it possible to profile SDL code from Erlang?
Regarding reference receive optimization inside the roadmap, could you describe a bit more in detail your discoveries about the bottlenecks with the current implementation.
Do you think is it viable to support windows in erlang.mk?... esdl2 and windows could be a good platform for game development/simulation.

I know that the project is slow paced at the moment, but it's a quite interesting idea by itself and I would like to deep a bit more on it.
Regards,

Do not misunderstand the late answer, it's not that I don't care about the project, it's just that I didn't have Internets until yesterday. :-)

I am personally interested in the 2D side of things, yes. But I don't have any problem with adding more things. SDL2_gfx is something that indeed looked interesting to add so there's no objection from me on that. I would also be OK with adding OpenGL support if someone wants it. :-)

I think dirty schedulers are interesting but I do not think they fit. We have a thread because SDL2 is (still) single threaded (at least on some OSes) and we need that thread to have the graphics related code actually work.

I do not have numbers about overhead and it's not implemented because I didn't need it yet, but it's something fairly useful to have even if you don't need the performance. I am not sure how this should be done at this point.

Hmm, probably? Depends what you mean by that. All the Erlang profiling tools will work. :-)

None. It's just food for thoughts when we try to optimize everything. :-) I'm not even sure it's possible to use that with NIFs anyway. Would be interesting to check just to know that, though.

Yes, I want to add Windows support to Erlang.mk. I have some work started for that, but I have been quite busy this past month so it's still sitting on my laptop somewhere...

Thanks for your feedback and support...
Regarding dirty schedulers, probably you are right and I misunderstood its behaviour. It seems they create a thread associated to each CPU core and with some kind of scheduling algorithm, executing the C code in any of them. I thought it could be locked to only 1 scheduler/core, avoiding the implementation of complex NIF threading code.
I'll continue playing/learning with esdl2, it's quite interesting to discover what could be done with functional programming, erlang soft-real time properties and graphics at the moment.
PD: OpenGL would be a great addition, to have one erlang graphics library to rule them all :)

Even if it could be locked to one thread, it would severely limit the other applications on your system which may benefit more from dirty schedulers, so it's not the best idea.
Feel free to send feedback. I know everything isn't implemented yet, so if you need a function that's missing, ping me. I can do a quick function or two even when busy. :-)

Closing, please open a new ticket if more questions. :-)


[FEATURE REQ] AzureCliCredential and all new credentials need to be added to docs

Library or service name.
Azure Identity
Is your feature request related to a problem? Please describe.
Cannot find docs on how to use AzureCliCredential or any of the new credentials, i.e. VSCodeCredential, etc
azsdke2e

@jianghaolu can you please follow up?

Thanks @jongio and @joshfree. Will be adding them for July release.

Adding blocking-release label


Update first-fungible-asset

Description
Updates the First Fungible Asset tutorial with a more streamlined walk through (and working with the updated version of the fa_coin contract).
Checklist

Do all Lints pass?

[ ] Have you ran pnpm spellcheck?
[x] Have you ran pnpm fmt?
[ ] Have you ran pnpm lint?

@gregnazario would you please review this tutorial when you have a chance? It corresponds with this PR to update the fa_coin example script: https://github.com/aptos-labs/aptos-ts-sdk/pull/600


Strano hanging

Mr. Moss
A. Love these UI improvements; will suggest any that occur to me in the weeks to come
B. /projects/16/jobs/42 is hanging for me for quite a bit now (20 min?)   Thx for checking it out
Thanks

Seems job #42 don't exist. Try again.

hhmm, reloaded and it 404ed; retrying

Success.  Nice 'completed' message;  better than before.   Well done Joel, thanks!


Deploy Using ARM Template in DF

I am using this as a reference to execute ARM templates in DogFood
Here is my code snippet:
var credentials = SdkContext.AzureCredentialsFactory.FromFile(Environment.GetEnvironmentVariable("AZURE_AUTH_LOCATION", EnvironmentVariableTarget.User));
var groupName = "myFluentResourceGroup";
var location = Region.USWest;
var resourceGroup = azure.ResourceGroups.Define(groupName).WithRegion(location)
.Create();
// this is my.azureauth
subscription=########-####-####-####-############
client=########-####-####-####-############
tenant=########-####-####-####-############
managementURI=https://management.core.windows.net/
baseURL=https://api-dogfood.resources.windows-int.net/
authURL=https://login.windows-ppe.net/
graphURL=https://graph.ppe.windows.net/
Exception:
{"The access token has been obtained from wrong audience or resource 'https://api-dogfood.resources.windows-int.net/'. It should exactly match (including forward slash) with one of the allowed audiences 'https://management.core.windows.net/','https://management.azure.com/'."}

Fixed in Fluent v.1.2


When groupby a mix of numbers and letters, it doesn't work, but doesn't error

Two issues here:

mix letters and numbers and the one with the number fails to show anything in holoplot with and without .layout()

If you do it thru the hv.Dataset.to.curve().layout() method, it works

But if you remove the .layout the third item in the drop down doesn't respond.

df1 = pd.DataFrame(index=[1, 2, 3, 4])
df1['id'] = 'A'
df1['x'] = [1, 2, 3, 4]
df1['y'] = [1, 2, 3, 4]

df2 = df1.copy()
df2['id'] = 'B'
df2['y'] *= -1

df3 = df2.copy()
df3['id'] = 3
df3['x'] *= -1

df = pd.concat([df1, df2, df3])
df.holoplot('x', 'y', groupby='id', width=350).layout('id')
hv.Dataset(df).to.curve('x', 'y', 'id')

Oh I guess if I do df['id'] = df.id.astype(str) it works as expected, but maybe the example above should raise an error by somehow detecting this?

The groupby works just fine, the issue is in the dropdown widget, so this is a duplicate of https://github.com/ioam/holoviews/issues/1059


Fitbit Sense support?

Would be cool.

I havn't tested on a sense, but it should work. I have to set back up my dev environment, I hadn't had time to update it further since last year

It seem sense would require an upgrade to SDK 5, but it will require a rework to change a display component not supported by sdk 5. It will require duplicating the codebase too as skd 5 does not support legacy device (like ionic for exemple)

Fitbit Versa 3 user here, also interested. Following ;-)

I looked at the migration yesterday, I will have to redo all the buttons and text component, as fitbit removed them in sdk 5/6. Should not be too difficult but wil be a major undertaking nonetheless

Would also love to see an implementation for Fitbit Sense. Thanks for your effort in advance.

For fun/an exercise to learn coding, I'm thinking of building a Versa 3/Sense Tesla app/watchface with the ability to control things like climate/vent settings on the car. Do you think this is feasible for someone with very basic coding knowledge?


[stable/sentry] feat: support initialDelaySeconds

What this PR does / why we need it:
The application takes sometimes a lot more than 50 seconds to start.
Which issue this PR fixes
Makes initialDelaySeconds editable
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [stable/chart])

/ok-to-test

/lgtm


Updated query and test cases

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2197  👈
#2194
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tommylau523 and the rest of your teammates on  Graphite

Merge activity

Jul 24, 4:42 PM EDT: @tommylau523 merged this pull request with Graphite.


Update server and use Elm to receive socket frames

This refactors the server a bit and uses Elm on the client to receive and process web socket frames.
From here, libraries like elm-svg or elm-graphics could be used to visualize this number, position, and size of all detected faces.
NOTE: Previously, the only field that would update when a face was detected as "persistent" would be the matchedCount. Now, all fields (height, width, x, y, and matchedCount) update when a face changes.
@rickychilcott @benlachman @michaelblohm ( I'm not sure who else worked on this originally )

I'd suggest that the main limitation of the server that could use fixing is that matching only happens on the faces array that is set when the first match is found.
This means that if a second face enters the frame it won't be matched correctly and if the first face leaves the frame I'm not even certain it'll match the remaining face.
Basically we need to add newly found faces to the faces array and cull old unmatched faces from the array so that it doesn't just infinitely grow in length.


Failed when debugging

Expected Behavior
complete debugging
Actual Behavior
Newtonsoft.Json.JsonReaderException:“Invalid character after parsing property name. Expected ':' but got: ". Path '', line 5, position 0.” when parsing the config.cs
" return JObject.Parse(File.ReadAllText(ConfigurationFileName));"
Potential Solution
Reproducing the Problem
After building, click debug, start debugging.
System Information
windows 7 64bits
Checklist

[ ] I have completely filled out this template
[ ] I have confirmed that this issue exists on the current master branch
[ ] I have confirmed that this is not a duplicate issue by searching issues

[ ] I have provided detailed steps to reproduce the issue

This is a bug in your configuration file. For individual 1-1 debugging please post to the LEAN user group:
https://www.quantconnect.com/forum/discussions/1/lean


[Db2] Setting Query#setFirstResults or Query#setMaxResults causes exception

I've discovered this while working at #556
This is probably a bug in the Vert.x SQL Db2 client: https://github.com/eclipse-vertx/vertx-sql-client/issues/887
java.lang.IllegalStateException: Found unknown codepoint: 0x215f / 8543

We have already tests for this situation but they are disabled for Db2: See FilterWithPaginationTest

This test still fails using 4.0.4-SNAPSHOT and 4.1.0-SNAPSHOT.


Research Quay.io

Research and maybe also try out Quay.io in order to understand what needs to be done to start using it instead of Docker Hub to build and host all our images.

@jpopelka I think we can close this...

I just created a repo for dis2src.
This issue here is about investigating Quay.io for building/hosting our packit-service images, which are a bit more difficult - I don't remember exactly, but I think SOURCE_BRANCH build arg is one of the things we need to be sure work on Quay.io.
@sakalosj did some initial research several months ago, but I don't remember the exact outcome.

I just created a repo for dis2src.
This issue here is about investigating Quay.io for building/hosting our packit-service images, which are a bit more difficult - I don't remember exactly, but I think SOURCE_BRANCH build arg is one of the things we need to be sure work on Quay.io.
@sakalosj did some initial research several months ago, but I don't remember the exact outcome.

I don't think the SOURCE_BRANCH  approach will work in Quay - I don't see any hooks configuration there.
But if I understand correctly, currently we are using 2 different ways how to build images:

direct DockerHub triggers - for images which OpenShift is pulling
builds handled by ansible - for images used in tests

I think it will be good to unify it to avoid bending configs to work in both configurations. But high probably will require some "container build server".

I think it will be good to unify it to avoid bending configs to work in both configurations.

Can you give me an example (of where we bend configs to work in both configurations)?

Are zuul nodes able to push images to some external registry (eg. Quay?)

I can see some roles for building and uploading of container images but haven't looked into them yet.

@jpopelka
master/stable branch builds - you have to maintain Dockerhub + zuul logic

Where exactly Jan? :-)
Are we talking about Makefile, Dockerfile, files/some.yaml or something else?

to have Dockerhub working correctly, you need to maintain:
https://github.com/packit/packit-service/blob/master/files/docker/hooks/build
I am not aware of any alternative functionality in Quay, so if you want to migrate you will probably need to split docker files to prod/stable version at least for builds invoked directly in Quay.

Another option for building/pushing are Github Actions:

https://www.redhat.com/en/about/press-releases/red-hat-and-github-collaborate-expand-developer-experience-red-hat-openshift-github-actions
https://github.com/marketplace?query=redhat
https://github.com/marketplace/actions/buildah-build
https://github.com/marketplace/actions/push-to-registry

It looks good, but I think one CI system should be used to ensure consistency, compatibility, and keep maintenance easy. I am not against anything just prefer a unified environment.

still wanted

https://github.com/packit/deployment/pull/182
https://github.com/packit/packit-service/pull/1013
https://github.com/packit/packit-service-fedmsg/pull/29
https://github.com/packit/packit-service-centosmsg/pull/20
https://github.com/packit/dashboard/pull/81
https://github.com/packit/sandcastle/pull/108
https://github.com/packit/dist-git-to-source-git/pull/186
https://github.com/packit/packit.dev/pull/248

Thanks Jirko for all the work!


Add Acquia Dev Desktop 2.

Acquia Dev Desktop 2 is a free app that allows you to run and develop
Drupal sites locally on your computer and optionally hos them using
Acquia Cloud. Use Acquia Dev Desktop to evaluate Drupal, add and test
other Drupak modules, and develop sites while on a plane or away from
an internet connection.

It’s missing uninstall. There are scripts and documentation geared for that.

Thank you. Could you please squash your commits?
Please @mention me after you do, so I get an email to check back.

@vitorgalvao I squashed the commits. =)

@vitorgalvao I think that now its ok. I found a way to do install/uninstall actions without any GUI. Can you please review this?

Thank you for the contribution. It needed some fixes, so they were made in 6dc06a21764f39d4308721a2531cbac4bd098f1a. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.

@vitorgalvao Thanks for the awesome and useful tool. Did you just changed the url using the version variable and properly indented the line 18, am I right or anything else? Thanks again, now code review and fixes.

Yep, those were the changes.