oCIS get “Unexpected HTTP response: 400” error

I am not an English speaker, part of the content below is translated from Google Translate
Steps to reproduce

fresh install of debian11 on raspberry pi, the following operations will use the root user
get oCIS binary then put it in /usr/local/bin/, chmod +x
/etc/ocis/ocis.env

PROXY_TLS=false
OCIS_INSECURE=false
OCIS_URL=https://example.com:2885
PROXY_HTTP_ADDR=<IP_ADDRESS>:6001
OCIS_LOG_LEVEL=error
OCIS_CONFIG_DIR=/etc/ocis
OCIS_BASE_DATA_PATH=/testocis

/etc/systemd/system/ocis.service

[Unit]
Description=OCIS server

[Service]
Type=simple
User=ocis
Group=ocis
EnvironmentFile=/etc/ocis/ocis.env
ExecStart=/usr/local/bin/ocis server
Restart=always
RestartSec=600
User=root
Group=root

[Install]
WantedBy=multi-user.target

/etc/nginx/sites-enabled/ocis

server {
    listen 2885 ssl http2;
    server_name example.com;
    ssl_certificate /etc/TLS/fullchain.cer;
    ssl_certificate_key /etc/TLS/key.key;
    ssl_session_timeout 1d;
    ssl_session_cache shared:MozSSL:10m;
    ssl_protocols TLSv1.3;
    ssl_ciphers HIGH:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!DES:!MD5:!PSK:!RC4;
    ssl_prefer_server_ciphers off;
    location / {
        proxy_buffers 4 256k;
        proxy_buffer_size 128k;
        proxy_busy_buffers_size 256k;
        client_max_body_size 0;
        proxy_pass http://<IP_ADDRESS>:6001;
        proxy_set_header Host $host;
    }
}

ocis init --config-path /etc/ocis
systemctl daemon-reload && systemctl restart ocis
Map port 2885 of the Raspberry Pi to port 2885 of the public network IP of the router, and access https://example.com:2885 through chrome

Expected behaviour
OCIS is running normally
Actual behaviour

Server configuration
Operating system:
debian 11
Web server:
nginx
Database:
none
PHP version:
none
ownCloud version: (ocis version)
3.1.0-rc.1
Updated from an older ownCloud or fresh install:
fresh install
Where did you install ownCloud from:
https://download.owncloud.com
Are you using external storage, if yes which one: local/smb/sftp/...
no
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no
Client configuration
Browser:
chrome 115
Operating system:
windows 11
Logs
ownCloud log (systemctl status ocis)
Aug 12 23:43:16 raspberrypi ocis[8958]: {"level":"info","time":"2023-08-12T23:43:16.914150235+08:00","caller":"github.com/cs3org/reva/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/stora4_switch_to_messagepack_space_index.go:96","message":"done."}
Aug 12 23:43:16 raspberrypi ocis[8958]: {"level":"info","time":"2023-08-12T23:43:16.915174173+08:00","caller":"github.com/cs3org/reva/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/stora5_fix_messagepack_space_index_format.go:72","message":"done."}
Aug 12 23:43:18 raspberrypi ocis[8958]: {"level":"info","time":"2023-08-12T23:43:18.027852441+08:00","caller":"github.com/cs3org/reva/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/stora1_create_spaces_directory_structure.go:40","message":"Migrating spaces directory structure..."}
Aug 12 23:43:18 raspberrypi ocis[8958]: {"level":"info","time":"2023-08-12T23:43:18.028128865+08:00","caller":"github.com/cs3org/reva/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/stora2_move_spacetypes_to_indexes.go:38","message":"Migrating space types indexes..."}
Aug 12 23:43:18 raspberrypi ocis[8958]: {"level":"info","root":"/testocis/storage/users","time":"2023-08-12T23:43:18.028975249+08:00","caller":"github.com/cs3org/reva/v2@v2.15.1-0.2023e/utils/decomposedfs/migrator/0003_switch_to_messagepack_metadata.go:52","message":"Migrating to messagepack metadata backend..."}
Aug 12 23:43:18 raspberrypi ocis[8958]: {"level":"info","time":"2023-08-12T23:43:18.029107785+08:00","caller":"github.com/cs3org/reva/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/stora3_switch_to_messagepack_metadata.go:113","message":"done."}
Aug 12 23:43:18 raspberrypi ocis[8958]: {"level":"warn","error":"open /testocis/storage/users/indexes/by-user-id: no such file or directory","time":"2023-08-12T23:43:18.030807867+08:00/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/storage/utils/decomposedfs/migrator/0004_switch_to_messagepack_space_index.go:42","message":"error listing user indexes"}
Aug 12 23:43:18 raspberrypi ocis[8958]: {"level":"warn","error":"open /testocis/storage/users/indexes/by-group-id: no such file or directory","time":"2023-08-12T23:43:18.030886681+08:0a/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/storage/utils/decomposedfs/migrator/0004_switch_to_messagepack_space_index.go:62","message":"error listing group indexes"}
Aug 12 23:43:18 raspberrypi ocis[8958]: {"level":"info","time":"2023-08-12T23:43:18.03094244+08:00","caller":"github.com/cs3org/reva/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/storag_switch_to_messagepack_space_index.go:96","message":"done."}
Aug 12 23:43:18 raspberrypi ocis[8958]: {"level":"info","time":"2023-08-12T23:43:18.04286057+08:00","caller":"github.com/cs3org/reva/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/storag_fix_messagepack_space_index_format.go:72","message":"done."}
Aug 12 23:43:36 raspberrypi ocis[8958]: {"level":"debug","time":"2023-08-12T23:43:36.878764815+08:00","message":"app provider tick, registering Provider"}
Aug 12 23:43:56 raspberrypi ocis[8958]: {"level":"debug","time":"2023-08-12T23:43:56.878909522+08:00","message":"app provider tick, registering Provider"}
Aug 12 23:44:16 raspberrypi ocis[8958]: {"level":"debug","time":"2023-08-12T23:44:16.881431463+08:00","message":"app provider tick, registering Provider"}
Aug 12 23:44:36 raspberrypi ocis[8958]: {"level":"debug","time":"2023-08-12T23:44:36.878618992+08:00","message":"app provider tick, registering Provider"}
Aug 12 23:44:56 raspberrypi ocis[8958]: {"level":"debug","time":"2023-08-12T23:44:56.882596796+08:00","message":"app provider tick, registering Provider"}

Then I gave /testocis 777 permissions, still wrong
Aug 12 23:43:18 raspberrypi ocis[8958]: {"level":"warn","error":"open /testocis/storage/users/indexes/by-user-id: no such file or directory","time":"2023-08-12T23:43:18.030807867+08:00/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/storage/utils/decomposedfs/migrator/0004_switch_to_messagepack_space_index.go:42","message":"error listing user indexes"}
Aug 12 23:43:18 raspberrypi ocis[8958]: {"level":"warn","error":"open /testocis/storage/users/indexes/by-group-id: no such file or directory","time":"2023-08-12T23:43:18.030886681+08:0a/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/storage/utils/decomposedfs/migrator/0004_switch_to_messagepack_space_index.go:62","message":"error listing group indexes"}

When I opened the corresponding directory, I found that the directory mentioned in the log exists. So I emptied the /testocis directory and manually created the following directories
mkdir -p /testocis/storage/users/indexes/by-group-id
mkdir -p /testocis/storage/users/indexes/by-user-id
mkdir -p /testocis/storage/metadata/indexes/by-group-id
mkdir -p /testocis/storage/metadata/indexes/by-user-id

Deleted /etc/ocis/ocis.yaml and re-run ocis init --config-path /etc/ocis, then restarted OCIS
This time there are no errors in the log, but the service is still dead
Aug 13 09:46:30 raspberrypi systemd[1]: ocis.service: Succeeded.
Aug 13 09:46:30 raspberrypi systemd[1]: Stopped OCIS server.
Aug 13 09:46:30 raspberrypi systemd[1]: ocis.service: Consumed 55.245s CPU time.
Aug 13 09:46:54 raspberrypi systemd[1]: Started OCIS server.
Aug 13 09:46:55 raspberrypi ocis[13110]: {"level":"info","time":"2023-08-13T09:46:55.913222958+08:00","caller":"github.com/cs3org/reva/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/storage/utils/decomposedfs/migrator/0001_create_spaces_directory_structure.go:40","message":"Migrating spaces directory structure..."}
Aug 13 09:46:55 raspberrypi ocis[13110]: {"level":"info","time":"2023-08-13T09:46:55.922557574+08:00","caller":"github.com/cs3org/reva/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/storage/utils/decomposedfs/migrator/0002_move_spacetypes_to_indexes.go:38","message":"Migrating space types indexes..."}
Aug 13 09:46:55 raspberrypi ocis[13110]: {"level":"info","root":"/testocis/storage/metadata","time":"2023-08-13T09:46:55.925796359+08:00","caller":"github.com/cs3org/reva/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/storage/utils/decomposedfs/migrator/0003_switch_to_messagepack_metadata.go:52","message":"Migrating to messagepack metadata backend..."}
Aug 13 09:46:55 raspberrypi ocis[13110]: {"level":"info","time":"2023-08-13T09:46:55.926267024+08:00","caller":"github.com/cs3org/reva/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/storage/utils/decomposedfs/migrator/0003_switch_to_messagepack_metadata.go:113","message":"done."}
Aug 13 09:46:55 raspberrypi ocis[13110]: {"level":"info","time":"2023-08-13T09:46:55.929760605+08:00","caller":"github.com/cs3org/reva/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/storage/utils/decomposedfs/migrator/0004_switch_to_messagepack_space_index.go:96","message":"done."}
Aug 13 09:46:55 raspberrypi ocis[13110]: {"level":"info","time":"2023-08-13T09:46:55.932140781+08:00","caller":"github.com/cs3org/reva/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/storage/utils/decomposedfs/migrator/0005_fix_messagepack_space_index_format.go:72","message":"done."}
Aug 13 09:46:56 raspberrypi ocis[13110]: {"level":"info","time":"2023-08-13T09:46:56.655236341+08:00","caller":"github.com/cs3org/reva/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/storage/utils/decomposedfs/migrator/0001_create_spaces_directory_structure.go:40","message":"Migrating spaces directory structure..."}
Aug 13 09:46:56 raspberrypi ocis[13110]: {"level":"info","time":"2023-08-13T09:46:56.655618062+08:00","caller":"github.com/cs3org/reva/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/storage/utils/decomposedfs/migrator/0002_move_spacetypes_to_indexes.go:38","message":"Migrating space types indexes..."}
Aug 13 09:46:56 raspberrypi ocis[13110]: {"level":"info","root":"/testocis/storage/users","time":"2023-08-13T09:46:56.66202191+08:00","caller":"github.com/cs3org/reva/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/storage/utils/decomposedfs/migrator/0003_switch_to_messagepack_metadata.go:52","message":"Migrating to messagepack metadata backend..."}
Aug 13 09:46:56 raspberrypi ocis[13110]: {"level":"info","time":"2023-08-13T09:46:56.662205317+08:00","caller":"github.com/cs3org/reva/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/storage/utils/decomposedfs/migrator/0003_switch_to_messagepack_metadata.go:113","message":"done."}
Aug 13 09:46:56 raspberrypi ocis[13110]: {"level":"info","time":"2023-08-13T09:46:56.662980888+08:00","caller":"github.com/cs3org/reva/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/storage/utils/decomposedfs/migrator/0004_switch_to_messagepack_space_index.go:96","message":"done."}
Aug 13 09:46:56 raspberrypi ocis[13110]: {"level":"info","time":"2023-08-13T09:46:56.664187606+08:00","caller":"github.com/cs3org/reva/v2@v2.15.1-0.20230731132956-0fb5212d0551/pkg/storage/utils/decomposedfs/migrator/0005_fix_messagepack_space_index_format.go:72","message":"done."}
Aug 13 09:47:15 raspberrypi ocis[13110]: {"level":"debug","time":"2023-08-13T09:47:15.908480688+08:00","message":"app provider tick, registering Provider"}
Aug 13 09:47:35 raspberrypi ocis[13110]: {"level":"debug","time":"2023-08-13T09:47:35.908524423+08:00","message":"app provider tick, registering Provider"}
Aug 13 09:47:55 raspberrypi ocis[13110]: {"level":"debug","time":"2023-08-13T09:47:55.919816849+08:00","message":"app provider tick, registering Provider"}

After modifying the nginx configuration file, the service runs successfully
Changed from
        proxy_set_header Host $host;

to
        proxy_set_header Host $host:$server_port;

But there is a new problem. I want to enable client certificate verification on nginx, so I added the following to the nginx configuration file
    ssl_client_certificate /etc/TLS/client.crt;
    ssl_verify_client on;

then i got error like this

and an error log
Aug 13 19:06:00 raspberrypi ocis[16807]: {"level":"error","service":"proxy","error":"failed to verify access token: 400 Bad Request: \r\n<title>400 No required SSL certificate was sent</title>\r\n\r\n
400 Bad Request
\r\nNo required SSL certificate was sent\r\n
nginx/1.18.0\r\n\r\n\r\n","authenticator":"oidc","path":"/api/v0/settings/values-list","time":"2023-08-13T19:06:00.294836214+08:00","message":"failed to authenticate the request"}
Aug 13 19:06:00 raspberrypi ocis[16807]: {"level":"error","service":"gateway","pkg":"rgrpc","traceid":"00000000000000000000000000000000","error":"internal error: gateway: error finding an auth provider for type: bearer","type":"bearer","time":"2023-08-13T19:06:00.325324425+08:00","message":"error getting auth provider client"}
Aug 13 19:06:00 raspberrypi ocis[16807]: {"level":"error","service":"proxy","error":"failed to verify access token: 400 Bad Request: \r\n<title>400 No required SSL certificate was sent</title>\r\n\r\n
400 Bad Request
\r\nNo required SSL certificate was sent\r\n
nginx/1.18.0\r\n\r\n\r\n","authenticator":"oidc","path":"/ocs/v1.php/cloud/user","time":"2023-08-13T19:06:00.335392292+08:00","message":"failed to authenticate the request"}
Aug 13 19:06:12 raspberrypi ocis[16807]: {"level":"debug","time":"2023-08-13T19:06:12.147047184+08:00","message":"app provider tick, registering Provider"}

Can you tell me, where do I need to configure ocis to use client certificate authentication?


Complete the work on experimental features

The problem
macro, pack and cache are still not documented in
Suggestions
Document experimental features

[x] macro
[x] cache
[x] pack
[ ] smallnatives

smallnatives is so experimental, it's actually not working.


Windows simulator: "up" and "down" key events result in significant FPS drops

I've run into an interesting bug on Windows simulator and I've attached a sample project that demonstrates the issue clearly.
In the sample project, if you press "s" or "w", the circle in the middle of the screen moves up or down, as expected. However, while you're holding down "s" or "w", if you then push and hold down either "up" or "down" arrow key, then the FPS will get halved.
This behaviour is interesting because it only occurs IF you press down "up" or "down" while the circle is already moving. If you start by holding down "up" or "down" and only afterwards start moving the circle by pressing "s" or "w", then there's no FPS drop.
This issue seems to only persist on the simulator. Once you build for Windows, the issue is no longer present. I'm not sure if this issue affects MacOS as well.
Sample project: keyEvent issue.zip

I discovered this was happening to me and I've been driving myself crazy the last few days hunting for it.
I noticed if I just tapped the keys a lot, nothing seemed to go amiss, so I tried triggering the repeat logic here https://github.com/coronalabs/corona/blob/master/platform/windows/Corona.Native.Library.Win32/Rtt/Rtt_WinInputDeviceManager.cpp#L966 and following it. It does quite a lot of fallback logic.
If you add the "key was handled" logic inside of it, however, suddenly the slowdown is gone!
I believe this is sound; only the backspace logic might be affected, but it should be handled by the WM_KEYUP case (for that matter, we shouldn't really need the repeat case here, no?).
It looked to be like the up and down keys were getting sent to the back of map used to look up their names. This is the only real guess I have for why they trigger this major slowdown but no other key seems to. If there's a better answer I'd love to know! :smiley:
I don't quite have the test case to pursue this, but I suspect something might be going on with the similarly noisy mouse moves: https://github.com/coronalabs/corona/blob/master/platform/windows/Corona.Native.Library.Win32/Rtt/Rtt_WinInputDeviceManager.cpp#L545. A few people have complained about this being a major performance drag.


DependencyCleanup -> dev

This change is

Review status: 1 of 3 files reviewed at latest revision, 1 unresolved discussion.

support/build.gradle, line 51 at r1 (raw file):
Previously, romrell4 (Eric Romrell) wrote…
Did we decide that we were going to implementation for external libraries?

So I looked into this more and realized that I had understood what was going on incorrectly. Now I understand better. What is going on is I use api for dependencies used in both the app and support modules. If a dependency is only used in one of the two modules then it uses implementation and is kept in the module that it is used in. This gives us faster compile times because if an implementation dependency is updated in the support module, the compiler knows it only needs to recompile the support module were as before it recompiled both the app and support modules even when it didn't need to. This will mean that we will need to be more conscious as to how our dependencies are used and shared. Another option would be to change all the api dependencies to implementation and put them in both the app and support modules but I don't see any advantage to this.

Comments from Reviewable

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

support/build.gradle, line 47 at r2 (raw file):

        exclude group: 'stax', module: 'stax'
    }
    api 'com.prolificinteractive:material-calendarview:1.4.3'

Make sure these are all in alphabetical order

Comments from Reviewable

Review status: 2 of 3 files reviewed at latest revision, 1 unresolved discussion.

support/build.gradle, line 47 at r2 (raw file):
Previously, romrell4 (Eric Romrell) wrote…
Make sure these are all in alphabetical order

Done.

Comments from Reviewable

Reviewed 1 of 1 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Handle special fields "date" and "slug" separately.

Hi! First of all, thanks for a really useful addon!
I noticed that some special Statamic fields were empty in my exports.
If you have a dated collection the "date" field will be included when collecting fields through Entry::blueprint()->fields()->all() but unlike normal fields the $entry->get('date') method will return null - you'll have to use $entry->date() to retrieve the date.
Similarly, if you have a "slug" field then $entry->get('slug') will return null - you'll have to use $entry->slug() to retrieve the slug.
I wrote a quick fix for these two issues. Note that I have only tested this code in Statamic 4.58.0.

@jonatanalvarsson thank you very much for creating a PR for this! Looks good, merged it.


route regex matches path but router params are not parsed correctly

I seem to have encountered a bug with the param parsing logic for routes. This is what I have observed:
route regex:
/users/:user_id([0-9]+)/hello

url path:
/users/12345/hello

expected Request.params value:
{
  "user_id": "12345"
}

actual Request.params value:
{
  "user_id": "1234"
}

Based on my testing, it is always missing the last digit

Hey!  Hate to be the bearer of bad news, but that's not technically a bug, as itty doesn't claim true regex support (and zero regex support within the param itself, like you've tried).  In the effort of keeping itty absurdly tiny, we had to make some tough decisions - and one of those was to handle most of the cases* for most of the people, leaving all else to be covered by individual users or other, more feature-rich libraries (that are much bigger).
What the library is doing in your test case is matching the final 5 to your regex and passing the rest to the param ;)
If you wanted to stick with itty with what you're trying, I'd just recommend a middleware to check for validation:
import { Router} from 'itty-router'
import { error, missing, json } from 'itty-router-extras'

const router = Router()

const users = {
  '1234': {
    name: 'Mittens',
    type: 'cat',
  }
}

const withUser = req => {
  const { user_id } = req.params

  if (!user_id.match(/^\d+$/)) { // test for validation
    return error(400, 'User ID must be numeric.')
  }

  // just embed the found user in the request for future handlers
  req.user = users[user_id]

  if (!req.user) {
    return missing(`User ${user_id} was not found.`)
}

// middleware will intercept requests and even embed the user for later handlers
router.get('/user/:user_id/hello', withUser,
  ({ user }) => json(user)
)

// GET /user/foo/hello --> 400 User ID must be numeric.
// GET /user/4567/hello --> User 4567 was not found.
// GET / user/1234/hello --> { name: 'Mittens', type: 'cat' }

Hope this helps!

ah I see. Thank you @kwhitley.


case-split suffers from byte offsets TOO

it will leave behind a ? if the name has unicode

All these problems could be mitigated if I make a special charbyte type when decoding agda stuff --- that would force interop whenever it needs to get turned into vim.


[Onboarding] Initially getting to the home view it can happen that you don’t see the ‘works by artist you follow’ rail.

During on boarding it’s possible to follow artists that have no for-sale artworks. On the home view we only show works [by artists you follow] that are for-sale, so the user might get confused if it doesn’t show for them when they have in fact followed artists.

Actually, having said that, I don’t know why it would every be really confusing to them, as they simply won’t know that they are missing that rail.


the admain thing is not working for  me and my userr name is orion\

ddsodkjja

thats because its completely fake

bru
On Mon, Dec 11, 2023 at 4:01 PM giver of content @.***>
wrote:

thats because its completely fake
—
Reply to this email directly, view it on GitHub
https://github.com/mrmojololo/blooket-admin-hack/issues/611#issuecomment-1850961240,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A44TPKKAO3J4CXP5V746LP3YI57FLAVCNFSM6AAAAABAMYQ5Z6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJQHE3DCMRUGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

so fake


Additional Theme Options

Added simple hue shifted themes:

Green

Yellow

Orange

Red

Dark

Light

I'm not a fan of just stuffing a bunch of different hues as themes for no reasons except "hey we got more themes and colours!". At this rate we'll have too many themes. Open to counter-arguments tho if people do enjoy being able to choose their favourite colours as themes or something tho.
Bland dark and light themes are a good idea tho, but they need better contrast (and maybe make the dark theme a tiny bit darker?)

I'm not a fan of just stuffing a bunch of different hues as themes for no reasons except "hey we got more themes and colours!". At this rate we'll have too many themes.

At the moment, they're called "Color theme". There's not really much room for in-depth customization other than changing the color. To be quite honest, I'm not sure what else you would do with themes otherwise.

Bland dark and light themes... need better contrast (and maybe make the dark theme a tiny bit darker?)

The contrast of all the themes should be the same since they're a hue shift. It's hard to explain without seeing it yourself, but trying to do themes that have different levels of contrast or color saturation looks "off" when switching between themes. Personally, I think it's ideal to keep the contrast the same between themes, but that's just a personal preference.

If I add custom themes support and a share feature, would everyone be happy?

A share feature would be nice. Themes are easy enough to make, but having to build the GUI to add them is a bit of a hurdle for most people.

i need to make a file format, there is no nice way of "loading css files"

There once was a pretty easy to parse format called "JSON". I think you should use it.

I think im going to use yml... /jk

Here's a list of reason why YAML is terrible: https://noyaml.com/

Can you add support to add custom css themes?

Just like import a css file of the colours, no like gui or anything difficult


Fix typo, grammar, punctuations in NATS docs

Description
Fix typo, grammar, punctuations in NATS docs
Fixes #770
Type of change

[x] Documentation (typos, code examples, or any documentation updates)

Checklist

[ ] My code adheres to the style guidelines of this project (scripts/lint.sh shows no errors)
[x] I have conducted a self-review of my own code
[x] I have made the necessary changes to the documentation
[x] My changes do not generate any new warnings
[x] Both new and existing unit tests pass successfully on my local environment by running scripts/test-cov.sh
[ ] I have ensured that static analysis tests are passing by running scripts/static-anaylysis.sh

Also, can you check that all external links in the NATS section are valid, please?

Can you also take a look at logging page section too, please?

This one - https://faststream.airt.ai/0.1/getting-started/logging/ ?

Yep

Also, can you check that all external links in the NATS section are valid, please?

Done. All the links works.
There was a broken link which should have pointed to NATS youtube channel. I fixed it while going through NATS docs.

Thanks, I just forgot about it, sorry

You can take a look at all main and NATS branch docs differences here: https://github.com/airtai/faststream/pull/692/files#diff-0f4e057b715abd5c87898813ecca5eff9c92c905f94e93e1cb483d98fdbba34c

Yep, I added stuctlog example to it

Went through whole logging section again and fixed issues. Please check.

Well, looks like the job is done, thanks!
Probably, I should spend all this project donations on english lessons...

I have to go, sorry
Davor or Tvrtko can merge this branch, I already checked logging & NATS docs, so there should no any problems

You can take a look at all main and NATS branch docs differences here: https://github.com/airtai/faststream/pull/692/files#diff-0f4e057b715abd5c87898813ecca5eff9c92c905f94e93e1cb483d98fdbba34c

I am going through all the docs changes now. Will let you know once I am done.

Rest of the docs changes looks fine. No significant changes. We can merge this.


private registry: curl registry works, but docker pull/login gets Client.Timeout exceeded error

I'm accessing a remote private registry over an openvpn container.  I just want to pull the image into the AWS instance. Everything works on the remote-registry node (pull/push/login/etc). On the AWS side I can curl the remote registry, but nothing else works. What else should I check or look at?
[ec2-user@ip-172-31-24-144 ~]$ sudo nsenter -t 23288 -n curl --insecure https://docker-registry:4000/v2/_catalog
{"repositories":["fuel100"]}
[ec2-user@ip-172-31-24-144 ~]$ sudo nsenter -t 23288 -n docker pull docker-registry:4000/fuel100:1
Error response from daemon: Get http://docker-registry:4000/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
[ec2-user@ip-172-31-24-144 ~]$ tail -f /var/log/docker
time="2018-02-18T03:09:32.967253029Z" level=warning msg="Error getting v2 registry: Get https://docker-registry:4000/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"
time="2018-02-18T03:09:32.967309688Z" level=info msg="Attempting next endpoint for pull after error: Get https://docker-registry:4000/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"
time="2018-02-18T03:09:47.967504865Z" level=warning msg="Error getting v2 registry: Get http://docker-registry:4000/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"
time="2018-02-18T03:09:47.967546177Z" level=info msg="Attempting next endpoint for pull after error: Get http://docker-registry:4000/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"
time="2018-02-18T03:09:47.967573503Z" level=error msg="Handler for POST /v1.32/images/create returned error: Get http://docker-registry:4000/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"
[ec2-user@ip-172-31-24-144 ~]$ docker version
Client:
Version:      17.09.1-ce
API version:  1.32
Go version:   go1.8.4
Git commit:   3dfb8343b139d6342acfd9975d7f1068b5b1c3d3
Built:        Mon Jan  8 22:44:09 2018
OS/Arch:      linux/amd64
Server:
Version:      17.09.1-ce
API version:  1.32 (minimum version 1.12)
Go version:   go1.8.4
Git commit:   402dd4a/17.09.1-ce
Built:        Mon Jan  8 22:44:42 2018
OS/Arch:      linux/amd64
Experimental: false
stack@lab:~$ docker exec privmirror registry --version
registry github.com/docker/distribution v2.6.2

need add insecure-registry flag to docker daemon config.

@rezroo you probably should start looking at your network traffic in more details (tcpdump).
Somehow docker is unable to communicate through your vpn. It's hard to advise on what is going on here, since this is likely specific to your config / VPN.

@rezroo you probably should start looking at your network traffic in more details (tcpdump).
Somehow docker is unable to communicate through your vpn. It's hard to advise on what is going on here, since this is likely specific to your config / VPN.
I'm sorry, I jumped in, but, I have also faced with the same issue, and I suspect some changes to the network caused this.
But how can I prove it?(If I proved it, then I would not be blamed for that)
I used TCP dump, all packages reached the destination, except for check sum error, which can be ignored.
Exactly it seems that after receiving the https cert, the docker dropped the connection dues to time out but I don't know what is it requesting and I did not see anything meaningful sent between the client and registry.
Any details should I provide to help you analyze the problem?


Test failure when TADA_RandomTestingData provides no results

There are occasional test failures due to no data returned from a TADA_RandomTestingData query.
An example can be seen here: https://github.com/USEPA/EPATADA/actions/runs/12357853259/job/34487062959?pr=555 (see line 1878).

We've addressed this in a couple of tests that use TADA_RandomTestingData, but there are more places we need to do so such as the test for "TADA_AutoClean function does not grow dataset" in test-Utilities.R.
Could be addressed in each test or update TADA_RandomTestingData to ensure that a data set containing some minimum number of entries is returned.

I think it is reasonable to require at least 10 results return with TADA_RandomTestingData

10 seems reasonable to me. We may also want to review whether random results from a single state vs. a single state are more appropriate for each test. Allowing a random data set from all states is more likely to yield > 10 results, but results from a single state are more appropriate for some tests (ex: looking for duplicates, continuous data, etc.)


Names with spaces

Any work around for names with spaces when giving permission to {name} ?
I tried setting it like "setuperm '{name}' perm" but without success.

Is this a RankUp issue? RankUp doesn't include the "setuperm" command...

I never had any problems with PurePerms executing the command with just the
initial letters of a name, so yea, it could be or you could just give me a
solution on how to put {name} in quotes.
On Thu, Jul 26, 2018, 03:58 Noah Heyl<EMAIL_ADDRESS>wrote:

Is this a RankUp issue? RankUp doesn't include the "setuperm" command...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Falkirks/RankUp/issues/54#issuecomment-407960605, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AF17DrpywiNtnj5zcu2CBJmw-bERHlS9ks5uKTBTgaJpZM4Vgqvd
.


[FLINK-27861][table] Introduce UserResourceManager to manage user defined resource

What is the purpose of the change
Introduce UserResourceManager to manage user defined resource
Brief change log

Introduce UserResourceManager to manage user defined resource

Verifying this change
This change added tests and can be verified as follows:

Added unit tests in UserResourceManagerTest

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (JavaDocs)

@wuchong Thanks for your review, I have addressed your comments.

@lsyldliu Thanks for your review, the advice is goods to me, I've addressed it.

be

I agree with you, we should throw checked exception. The IOException is good to me.


make the resilient topo cache even more resilient and informative

Overview
Improve the status UI for the resilient topo cache, make GetSrvKeyspaceNames fetch asynchronously, and fix a logic bug in the watch-based caching for GetSrvKeyspace.
This incorporates the ideas first proposed by @yangxuanjia in #3640 while addressing my concerns about the refresh interval and properly managing locks and state.
Details
This first came up because I wanted better indication in the status UI about the state of the cache. In particular, it used to either show the cached value or show the most recent error, but would not indicate if the cache was valid or not.
To address this, I changed the status UI to display the current cached value (if any), the last error (if any), as well as information about the cache freshness / TTL.
Next, as discussed in slack and in #3640 I moved the topo in GetSrvKeyspaceNames into a separate goroutine, and kept tracking state in the entry to make sure only one topo request is outstanding. This makes sure that a cached value can always be returned immediately even if the topo service is unresponsive or slow.
However, unlike in the other proposal, if there is no cached value, all requests block waiting for the fetcher goroutine to complete. This seems like an acceptable tradeoff to me since it avoids errors on the initial query, and for the most part should insulate callers from topo service unavailability or slowness.
Finally, I noticed a logic bug in the earlier changes that I made to cache the watched SrvKeyspace object. Previously the lastValueTime was updated on every change, but that meant that if the watch failed after some time where no changes were detected, the cache did not properly keep the last value for the full TTL as designed. To address this, I changed it to update lastValueTime whenever an established watch returns, either due to error or the value being in the cache.
Testing
I added a unit test for the last case and did a decent amount of manual testing both using zookeeper and consul.
I'd like to add some tests for the logic in the status UI since that turned out to be surprisingly tricky to get right, as well as the case where the topo service is blocked.

Oh and one more thing - I think that for completeness we should also rework the logic that sets up the watch to also follow this pattern to perform the topo call asynchronously and after dropping the mutex, again to ensure that queries can continue to flow if there is a valid cached value but the topo service is unresponsive.

I got stuck on the use of the WaitGroup to synchronize the background processing. I suggest changing that to use a channel instead:

if the channel is non-nil, it means someone is already asking for the data in the background.
if the channel is nil, create one. When the fetching is done, retake the mutex, close the channel, nil the value.
the wait code (that's outside the mutex, where the WG.Wait() is now) would then instead be a select(), and the added bonus here is you can wait for either <-ctx.Done(), and the channel closure.

I think that would be more go-like to do it this way. A WaitGroup somewhat implies you start a bunch of tasks, and wait for them all to finish. This is not what is done here, and is confusing (at least I was confused hehe). Because then you have to think and make sure you can't Add(1) to a WG of value 0 at the same time as a Wait() is running (which doesn't happen here, but you have to think a lot about it).

i suggest if entry.value has value,  do not set "entry.value = nil" even if it expired.

If that is the behavior you want then you can effectively get it by setting an extremely long TTL like 1 year.

if topo ok, we want a little TTL.  But if the topo all down,  we want use cache even if it's expired, util we recover the topo.

Ah yes. Same for us :)
That’s why I added a second flag to control the refresh interval separate from the TTL.
That way you can update the state more frequently but still keep the cached value for a long time.

oh, I see. server.cacheTTL is more important, it decide cacheValid which user can get  entry in cache.
like set cacheTTL = 7day,  set server.cacheRefresh= 1second, it looks work good.

LGTM

@alainjobart I think this should be ready for final review assuming Travis passes.
I made the following additional changes:

Move all the GetSrvKeyspace watch into the separate goroutine so that it doesn't hold the lock or block cache access when calling out to the topo service.
Convert from WaitGroup to sync.Cond for the cases when there is no cached value and we are waiting for a topo service response. This seemed like a cleaner abstraction than a channel as you suggested.
Add a test that simulates an unresponsive topo service by explicitly grabbing the mutex on the memorytopo during the test to block out other requests.

This looks good. The only reservation I have is the Wait() on the sync.Cond may block for a long time, even after ctx.Done(). That means a go routine waiting to execute may be dangling, even when the caller has timed out. That's the main reason I was suggesting a channel, so you can stop waiting on either the channel, or ctx.Done(). With a sync.Cond, you can't wait on either the Cond or ctx.Done().

@alainjobart Oh of course!
Thanks for the feedback. I reworked to use a channel like you originally suggested and added tests to ensure that in fact it does the right thing when the context times out.
I also rebased and squashed things down so the guts of the new logic is in 170a542

(Oh and this is ready for final review).

LGTM will merge after travis passes


Tutorial links Mongo & Express v3 and Postgres & Passport fixed in RE…

Mongo & Express v3 and Passport & Postgres tutorial links fixed

Coverage remained the same at 98.88% when pulling 19c8f9781b9d97dea8d47c750fd7b6cab6346317 on LAccastello:fix-tutorial into 1fd591d5cdcf6516d9eb446216843223c0e020c4 on jaredhanson:master.

Should close #874


unversion MessagePlaintext, and improve MessageFromServerOrError CORE-3911

@patrickxb @songgao @oconnor663 @mlsteele @maxtaco r?
I just went ahead and tagged all the chat developers on this PR since it touches code that everyone has worked on.
The purpose of this patch is to un-version MessagePlaintext in order to simplify a bunch of the code that uses it. All version specific code now takes place in chat.Boxer, and any client code of that just deals with a normal type.
I also changed MessageFromServerOrError into a variant type, and renamed it to MessageUnboxed, since I think that is a more accurate name. The variant type also makes the code easier to understand and write.

This looks like it will make things a lot easier to work with after unboxing. :)
Will this be able to read existing MessageFromServer into MessageUnboxed? Will it break existing messages?

Shouldn't break any compatibility with existing messages.


Add developer instructions for new templates

Context:
Adds a section to developers guide that explains how to add new templates.
Description of the Change:
The section is added by including a new rst file, since we are planning to extend the Developer's guide.
A link to the section is included in doc/introduction/templates.rst
Benefits:
Helps the community to grow the library.
Possible Drawbacks:
We need to maintain this file when making changes to the template library or tests.
Related GitHub Issues:

Thanks @antalszava and @josh146 for improving the section so much. I think it's ready for a last check!


Double logging

if I import logging and vk_requests modules at same time and configure new logger
import vk_requests, logging
ololo = logging.getLogger("Ololo")
ololo.setLevel(logging.DEBUG)
o_ch = logging.StreamHandler()
o_ch.setFormatter(logging.Formatter('%(asctime)s - Test - %(levelname)-8s %(message)s'))
ololo.addHandler(o_ch)
ololo.info('test')
It actually doubles logs:
2017-07-17 19:22:14,034 - Test - INFO     test
2017-07-17 19:22:14,034 INFO [Ololo] test
If I remove vk_requests module from import - logs behave like normal:
2017-07-17 19:22:23,769 - Test - INFO     test
Fix it pls

Thanks for the report.
Fixed in v0.9.9
I removed logging.basicConfig(...) call from the library completely to let an end-user decide logging format and other options.
Check the README section how to work with logging from now on.


Idea: Use PapaParse for handling CSV files

Since noticing that CSV files are modified upon being read, I realized that perhaps I should just use another library for CSV files. However, I didn't like that idea because they really are just another form of spreadsheet.
For now, I am using PapaParse, but ideally js-xlsx would use it so I can just rely on js-xlsx and let it do its magic!

There were quite a few issues raised / commented upon, so it's better to just put the related responses in one message.
tl;dr: Excel "modifies" CSV files as well.  SheetJS tries to mimic Excel behavior.  Other libraries try to follow RFC4180, blissfully ignoring Excel's behavior.
The Excel formats, as well as the Lotus formats, Symbolic Link, and other formats, separate "content" from "presentation".  This is a great decision because it lets you show numbers with fewer decimal places while still retaining the original values for future calculations.  For each cell, Excel stores the number format as well as the actual underlying IEEE754 number (but not the final formatted string!).  In the library, we represent the "content" as the .v attribute of a cell, the "number format" as the .z attribute, and the "presentation" as the .w attribute (these are single-character because it is common to have to serialize the workbook object as JSON -- like when working across a web worker -- so each additional character adds up when dealing with millions of cells)
CSV mixes both.  Even though there's an alleged specification RFC4180, it leaves the "Value" part completely implementation-dependent.  There's no standard for what constitutes a date, what constitutes a number, and in fact there's no concept of data types.  Nothing says that the string "2018-09-19" is a Date.  It is the end application that has to decide what to do.
Excel has many special behaviors that are not standard according to RFC4180.  In addition to features like automatic value interpretation, there is the sep directive to specify the field separator:
sep=;
1;2;3
4;5;6

Related to the original question, if you try opening CSV dates in Excel, it automatically falls back to number code 14 (the default d/m/yy format)!  For example, consider the CSV:
1,2,3
a,b,c
2018-09-19

Save this to a file and open in Excel, and you will see that Excel throws away the original format!

Reading the data with cellDates: true will preserve the original date and use the default date format according to Excel:
XLSX.read("1,2,3\na,b,c\n2018-09-19", {type:"binary", cellDates:true, cellNF: true}).Sheets.Sheet1
{ A1: { t: 'n', w: '1', v: 1 },
  B1: { t: 'n', w: '2', v: 2 },
  C1: { t: 'n', w: '3', v: 3 },
  A2: { t: 's', v: 'a' },
  B2: { t: 's', v: 'b' },
  C2: { t: 's', v: 'c' },
  A3: { z: 'm/d/yy', t: 'd', v: 2018-09-19T00:00:00.000Z, w: '9/19/18' },
  '!ref': 'A1:C3' }

In summary, since RFC4180 is easy to approximate, pretty much all libraries go that route; since we're trying to replicate Excel's behavior as closely as possible, we have to do something different.
You did happen to reveal a bug: Excel will show hours/minutes if it thinks you specified a date time.  For example, the CSV value 2018-09-19 01:23:45 is rendered as 9/19/18 1:23.  Even so, it's still "modifying" the CSV.

When you say Excel modifies CSVs do you mean in it's underlying data or what is surfaced to the user you opening a CSV?
I didn't know that this project aimed to mimic Excel's handling of files. I suppose there are user cases for that. My greatest surprise is that Excel modifies CSVs. Thanks for letting me know. Perhaps you could update your projects READ E to be more clear that CSVs are handled as if opened by Excel. The README mentioned compatibility, but that didn't last me to realize this before going the ticket.


Guardrex/commandline squiggle

Fixes #2248

Hi @GuardRex, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

CONTRIBUTING.md
:white_check_mark:Succeeded

aspnetcore/client-side/bundling-and-minification.md
:white_check_mark:Succeeded

aspnetcore/client-side/yeoman.md
:white_check_mark:Succeeded

aspnetcore/data/ef-mvc/migrations.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/configuration/sample/src/ConfigConsole/Program.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/hosting.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/servers/aspnet-core-module/sample/Program.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/servers/kestrel/sample/Program.cs
:white_check_mark:Succeeded

aspnetcore/fundamentals/servers/weblistener.md
:white_check_mark:Succeeded

aspnetcore/fundamentals/servers/weblistener/sample/Program.cs
:white_check_mark:Succeeded

aspnetcore/hosting/apppool.md
:white_check_mark:Succeeded

aspnetcore/mobile/native-mobile-backend.md
:white_check_mark:Succeeded

aspnetcore/publishing/apache-proxy.md
:white_check_mark:Succeeded

aspnetcore/publishing/web-publishing-vs.md
:white_check_mark:Succeeded

aspnetcore/tutorials/publish-to-azure-webapp-using-vs.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

FYI @Rick-Anderson

It's not like the "old days" when I could click to see the build progress (or in case of failure to see what the build choked on with a doc). There's no clickable link when the build is in progress, unless that's normal.
@tdykstra Ready for a look-see: :eyes:


error setting agent address to mobile number

When setting the agent address to mobile number, encounter the following error:
[note: real number is manually masked from the log]
curl -X PUT http://localhost:8080/comms-router-web/api/routers/my-router/agents/esagent1 -H 'Content-Type:application/json' -d'{"address”:”xxxxxxxxx”,”capabilities":{"language":["en","es"]}}'
Unrecognized field "address”:”xxxxxxxxx”,”capabilities" (class com.softavail.commsrouter.api.dto.arg.CreateAgentArg), not marked as ignorable (2 known properties: "address", "capabilities"])
at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@251f1384; line: 1, column: 50] (through reference chain: com.softavail.commsrouter.api.dto.arg.CreateAgentArg["address”:”xxxxxxxxx”,”capabilities"]

Looks like double quotes are not from ascii table.
This one works
curl -X PUT http://localhost:8080/comms-router-web/api/routers/router/agents/esagent1 -H 'Content-Type:application/json' -d'{"address":"xxxxxxxxx","capabilities":{"language":["en","es"]}}'


Render as something else than input

Add the capability to render as something than an input. For example a Input or a Field.Input from https://react.semantic-ui.com/elements/input

Im sorry, Ive been swamped lately, I will take a look at this PR soon

Don't worry. I created a separate npm package so I can use it while this PR is still open.

@denispasin I think this is a pretty edge case feature you're supporting and would prefer not to support it because it will increase the complexity of the app and I would need more comprehensive testing coverage.
If you feel strongly about this I would invite you ton continue your fork/separate npm package. This tool isnt terribly compelx, it's just a wrapper for zxcvbn so if you need it for something more than just a simple input I would suggest using something else or writing it custom for your project.

I'm fine with this. I can definitely live with my fork :) Thx for looking inside my PR.


Bug: Ratings bar turns blue when you like a video

Kind of self-explanatory, here's a screenshot.

Ah, missed that. Thanks for pointing that out. It'll be fixed in the next update. I'm in the middle of adding some other features, though, so it might be a few days before that next update is released. But I'll post a message here when it's been updated.

Just released an update that included the fix for this issue. Thanks again for reporting it.


io.crate.integrationtests.LuceneQueryBuilderIntegrationTest#testNullOperators

Fails consistently with:
REPRODUCE WITH: ./mvnw -pl server test -Dtest=io.crate.integrationtests.LuceneQueryBuilderIntegrationTest -Dtests.method=testNullOperators -Dtests.seed=FBAF698F31CAA4EF -Dtests.locale=sv-Latn-SE -Dtests.timezone=Canada/Mountain

(Just the seed is enough to reproduce)
Expecting actual:
  [-2L, -2L, 1L]
to contain exactly (and in same order):
  [1L, 1L, 1L]
but some elements were not found:
  [1L, 1L]
and others were not expected:
  [-2L, -2L]

    at __randomizedtesting.SeedInfo.seed([FBAF698F31CAA4EF:51D7754B679854A6]:0)
    at io.crate.integrationtests.LuceneQueryBuilderIntegrationTest.testNullOperators(LuceneQueryBuilderIntegrationTest.java:361)
    at java.base/java.lang.reflect.Method.invoke(Method.java:580)
    at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1758)
    at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:946)
    at com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:982)
    at com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:996)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
    at java.base/java.lang.Thread.run(Thread.java:1570)

Was this with https://github.com/crate/crate/pull/16511 included? I can't reproduce the failure with the given seed.

I had updated master for sure (to get my PR ready to be merged) and I had DYNAMIC policy in the code, but probably had some stale build locally. Indeed, after rebuilding everything (including the https://github.com/crate/crate/pull/16511) I cannot reproduce it anymore, closing.
Thx and sorry for the noise.

Failure from 29.08
https://wacklig.pipifein.dev/github/crate/crate/a8d26a78-806a-46c2-9eeb-c014a883f7aa/f9b401eb-1810-41d1-9295-fee725ee8e3a
org.opentest4j.AssertionFailedError:

Expecting actual:
  [1L, -2L, 1L]
to contain exactly (and in same order):
  [1L, 1L, 1L]
but some elements were not found:
  [1L]
and others were not expected:
  [-2L]

	at __randomizedtesting.SeedInfo.seed([4C154FE032C88BF8:E66D5324649A7BB1]:0)
	at io.crate.integrationtests.LuceneQueryBuilderIntegrationTest.testNullOperators(LuceneQueryBuilderIntegrationTest.java:361)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)

Hopefully fixed with https://github.com/crate/crate/pull/16557 - but can't tell for sure as I wasn't able to reproduce the failure. Closing this anyway for now, we'll notice if it's still broken

I was able to reproduce it beforehand, locally, with the seed: 4C154FE032C88BF8, but not anymore.


chore: relicans style fix

Adapted style based on recommendations from product design to align consistency on the following pages:

Relicans
Developer Champions
New Relic Builders
Podcasts

Description
Add a short description about the purpose of this PR here.
Reviewer Notes
If there are links or steps needed to test this work, add them here.
Related Issue(s) / Ticket(s)
If there are any related GitHub Issues or JIRA tickets, add links to them here.

issue

Screenshot(s)
If relevant, add screenshots here.
Use Conventional Commits
Please help the maintainers by leveraging the following conventional commit
standards in your pull request title and commit messages.
Use chore

for minor changes / additions / corrections to content.
for minor changes / additions / corrections to images.
for minor non-functional changes / additions to github actions, github templates, package or config updates, etc

git commit -m "chore: adjusting config and content"

Use fix

for minor functional corrections to code.

git commit -m "fix: typo and prop error in the code of conduct"

Use feat

for major functional changes or additions to code.

git commit -m "feat(media): creating a video landing page"

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Ruairi Douglas seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Add motion csv import (Fixes #1675)

Pushed some improvements for import pre check with nice warning/error/success icons in preview table. Added review stuff.
Ready for new review!

All done. Ready for review.

Only proposals. You can fix them or rebase and merge

All done. Ready for last review.

All rebased. Ready for merge (or comment).


fix bug where non-gifs don't import from disk

also some minor cleanup here and there

I will pull and test things locally when I get back home.

I reflected the changes in c5e66af.

out of curiosity why not merge the pull?

There were other changes I wanted to do, and on some lines you had spaces instead of tabs / etc.


Remove quarkus extension

@carlesarnal even just for tracking purposes, can you explain the rationale for this PR?

The rationale is that the Quarkus extension is going to be contributed to the https://github.com/quarkiverse/quarkus-openapi-generator repo and to the Quarkiverse, so it should not be here anymore.

I think we are going a little wild here, the source code was removed > 1 month ago and is nowhere at the moment.
Probably, the best would be to revert this PR and drop the code here only when it's merged(if not released) from the other repo, thoughts?
cc. @EricWittmann

I think we are going a little wild here, the source code was removed > 1 month ago and is nowhere at the moment.
Probably, the best would be to revert this PR and drop the code here only when it's merged(if not released) from the other repo, thoughts?

The code "is" there (in the sense that it's in the repository, obviously not released, merged etc), but I wanted to remove the extension to not have more releases so people don't start using it from the wrong repository and dependency. If we revert this, I'm afraid people might start using it from here. In any case, open to other opinions.

cc. @EricWittmann

FYI @andreaTP https://github.com/quarkiverse/quarkus-openapi-generator/pull/482

FYI @andreaTP https://github.com/quarkiverse/quarkus-openapi-generator/pull/482

Thanks, I appreciate the PR is still in a Draft state.


chore: bdd-sbhg-1583398373 to 0.0.1

chore: Promote bdd-sbhg-1583398373 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Add a new engagement cancellation reason

Is your feature request related to a problem? Please describe.
Virtual engagements are being cancelled because of network / connectivity issues.  Report authors cannot select a relevant cancellation reason.
Describe the solution you'd like
Add a cancellation reason.  For example "Cancelled due to Network / Connectivity Issues"
Describe alternatives you've considered
N/A
Additional context
This additional cancelled reason was requested by a user.
The request was approved by the requirements owner.

Indeed. We should externalize these reasons in anet-dictionary.yml


Invalid Argument in IE 11

Hello,
I am using angular js with version  v1.4.8. I am facing Invalid Argument issue in IE 11.
You can see my code as below.
var ele = $(".planner-container");
$compile(ele)($scope);
$scope.$apply();
Please help.
Thanks in advance

Hi, your issue reads like a support question. This github repo is only for bug reports and feature requests. Please try one of the listed Support Channels.
There also not enough information about your issue -  it's impossible to say what is wrong if it's unclear what is inside the element that is compiled.


Is it possible to get rid of graininess?

Can you tell me when art model can be?

not planning now.

I am currently developing art_scan model.
It is primarily aimed for scanned art images, denoising  for scanned manga or  magazine, anime screen captures, restoring screentones, etc.
The skin and outfit areas in the above image can be denoised. background is preserved.
I will release it in the next few days.

I have released art_scan model. Try it.


Running Scale Tool fails on mac due to trying to write files to root (working) directory

Related issue on opensim-core:
https://github.com/opensim-org/opensim-core/issues/1957

ModelScaler methods addScale, addMeasurement do not communicate transfer of ownership across interface causing carshes downstream. Same with MarkrePairSet. Need to fix in SWIG interface files. Where do we place these @chrisdembia so they serve both python, java

@aymanhab we have not handled this in the shared interface files. In the past, we handled this separately for each language.
For Python, we can use the handy %pythonappend construct. I'm not sure if something like that is available for Java.

I came across the same issue when testing on the Mac build - OpenSim-4.0.Beta_0930_Mac.pkg.

Issue causing crash has been fixed. Issue related to writing spurious files lives on API side, issue open as indicated above.

The scaling issue still shows on the MAC for the latest build. Nothing happens when you do the scaling.

@aymanhab https://github.com/opensim-org/opensim-core/issues/1957 (indicated above) has been closed; should it be reopened?

Yes it should be reopened. We need to decide behavior if files are specified in xml or else why the failure on osx.


Fix: Use Elvis operator where possible

This PR

[x] uses the Elvis operator where possible

Thanks @localheinz

Thank you, @chartjes!


bombay-lcd.terra.dev:443

Cannot connect to host bombay-lcd.terra.dev:443 ssl:default [nodename nor servname provided, or not known]: failed to get terra wallet balance!, Error"
when I disconnect psiphon get this error. is it need vpn for connecting?

no, vpn is not needed. check https://bombay-lcd.terra.dev/swagger/ is reachable in your browser. if it is unreachable, it's your network problem i guess.

Cannot connect to host bombay-lcd.terra.dev:443 ssl:default [nodename nor servname provided, or not known]: failed to get terra wallet balance!, Error"
when I disconnect psiphon get this error. is it need vpn for connecting?

Hello, A support ticket has been opened for you with Support ticket number TB7836SH. You should talk to a Terra money Dev on the LIVE SUPPORT PAGE So that your transaction can be looked into. Thank you. CLICK HERE


E/SpeechRecognizer(22424): no selected voice recognition service

I've used library futter_speech to record my voice. And I have faced a problem that cannot use it.
And it only happens on Android.
E/SpeechRecognizer(22424): no selected voice recognition service
Can anyone give me some help, please?
Thanks a lot.

I found out the solution, that needs to install google assistant, that I accidentally removed it before.

Hi @daothan1211 ,
Can you please share what solution have you found ?
how did you solve this ?


MelonLoader tries to download from non existent github URLs?

Hi I have no clue how MelonLoader works or what MelonLoader does but I downloaded it because it was on some guys youtube video for how to hack Crab Game. Anyway that doesn't matter, what matters is when I try to load Melon Loader with Crab Game with no mods or plugins in their respective folders, MelonLoader does the following:
[01:10:38.840] ------------------------------
[01:10:38.841] MelonLoader v0.4.3 Open-Beta
[01:10:38.848] OS: Windows 10
[01:10:38.848] Hash Code:<PHONE_NUMBER>5256100975748575398505751559856525454574855561005057495297
[01:10:38.849] ------------------------------
[01:10:38.849] Name: Crab Game
[01:10:38.849] Developer: Dani
[01:10:38.850] Unity Version: 2020.3.21
[01:10:38.850] Game Type: Il2Cpp
[01:10:38.851] Game Arch: x64
[01:10:38.851] ------------------------------

[01:10:40.648] Preferences Loaded!
[01:10:40.717] Loading Plugins...

[01:10:40.728] ------------------------------
[01:10:40.729] No Plugins Loaded!
[01:10:40.730] ------------------------------

[01:10:41.315] Loading Il2CppAssemblyGenerator...
[01:10:41.715] Contacting RemoteAPI...
[01:10:42.385] ForceDumperVersion = 2021.1.10
[01:10:42.386] ForceUnhollowerVersion = <IP_ADDRESS>
[01:10:42.386] ObfuscationRegex = null
[01:10:42.386] MappingURL = null
[01:10:42.387] MappingFileSHA512 = null
[01:10:42.388] Downloading Unity 2020.3.21 Dependencies...
[01:10:42.416] Downloading https://github.com/LavaGang/Unity-Runtime-Libraries/raw/master/2020.3.21.zip to C:\Users\mrbob\AppData\Local\Temp\tmp7a413699.tmp
[01:10:42.959] Creating Directory E:\Program Files\Steam\steamapps\common\Crab Game\MelonLoader\Dependencies\Il2CppAssemblyGenerator\UnityDependencies
[01:10:42.963] Extracting C:\Users\mrbob\AppData\Local\Temp\tmp7a413699.tmp to E:\Program Files\Steam\steamapps\common\Crab Game\MelonLoader\Dependencies\Il2CppAssemblyGenerator\UnityDependencies
[01:10:44.722] Downloading Cpp2IL...
[01:10:44.723] Downloading https://github.com/SamboyCoding/Cpp2IL/releases/download/2021.1.10/Cpp2IL-2021.1.10-Windows.exe to C:\Users\mrbob\AppData\Local\Temp\tmp7ba7ea1c.tmp
[01:10:44.777] [ERROR] System.Net.WebException: The remote server returned an error: (404) Not Found.
  at System.Net.WebClient.DownloadFile (System.Uri address, System.String fileName) [0x000ad] in <d2957de1c3fd4781a43d89572183136c>:0
  at System.Net.WebClient.DownloadFile (System.String address, System.String fileName) [0x00016] in <d2957de1c3fd4781a43d89572183136c>:0
  at (wrapper remoting-invoke-with-check) System.Net.WebClient.DownloadFile(string,string)
  at MelonLoader.Il2CppAssemblyGenerator.PackageBase.Download (System.Boolean directory_check) [0x00027] in <453a0ba9bdd44e40b0b04745dad60967>:0

[01:10:44.779] Loading Support Module...
[01:10:44.808] [ERROR] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.BadImageFormatException: Could not resolve field token 0x04000010, due to: Could not load type of field 'MelonLoader.Support.Main:obj' (1) due to: Could not load file or assembly 'UnityEngine.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies. assembly:UnityEngine.CoreModule, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null type:<unknown type> member:(null) signature:<none> assembly:E:\Program Files\Steam\steamapps\common\Crab Game\MelonLoader\Dependencies\SupportModules\Il2Cpp.dll type:Main member:(null) signature:<none>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <e1319b7195c343e79b385cd3aa43f5dc>:0
   --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <e1319b7195c343e79b385cd3aa43f5dc>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <e1319b7195c343e79b385cd3aa43f5dc>:0
  at MelonLoader.SupportModule.Initialize () [0x00123] in <67e16b0234254e2183a98652371f8451>:0
Setting breakpad minidump AppID = 1782210
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:<PHONE_NUMBER>6174493 [API loaded no]

As you can see, it tries to download from https://github.com/SamboyCoding/Cpp2IL/releases/download/2021.1.10/Cpp2IL-2021.1.10-Windows.exe which returns 404 and flat out doesn't exist. Please fix.

Nah how about you don't hack and actually get good at the game


[KYUUBI #3885][1.6] Fix memory leak when using incremental collect mode

Fix memory leak when using incremental mode.
FYI: https://stackoverflow.com/questions/45649044/scala-stream-iterate-and-memory-management

[x] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[X] Add screenshots for manual tests if appropriate before:
 after:

[ ] Run test locally before make a pull request

Closes #3885 from wForget/dev.
Closes #3885
4f1b1bffb [wForget] add test
129ac1efa [wForget] Fix memory leak when using incremental mode
Authored-by: wForget<EMAIL_ADDRESS>Signed-off-by: fwang12<EMAIL_ADDRESS>

Codecov Report

Merging #3895 (765652a) into branch-1.6 (7a2dbba) will increase coverage by 0.03%.
The diff coverage is 50.00%.

@@               Coverage Diff                @@
##             branch-1.6    #3895      +/-   ##
================================================
+ Coverage         51.32%   51.36%   +0.03%
  Complexity           13       13
================================================
  Files               470      470
  Lines             26339    26340       +1
  Branches           3661     3662       +1
================================================
+ Hits              13518    13529      +11
+ Misses            11526    11517       -9
+ Partials           1295     1294       -1

Impacted Files
Coverage Δ

...uubi/engine/spark/operation/ExecuteStatement.scala
86.95% <50.00%> (+2.34%)
:arrow_up:

...rg/apache/kyuubi/ctl/cmd/log/LogBatchCommand.scala
63.93% <0.00%> (-1.64%)
:arrow_down:

...ache/kyuubi/operation/KyuubiOperationManager.scala
80.82% <0.00%> (-1.37%)
:arrow_down:

...in/scala/org/apache/kyuubi/config/KyuubiConf.scala
96.93% <0.00%> (-0.09%)
:arrow_down:

...n/scala/org/apache/kyuubi/engine/ProcBuilder.scala
83.22% <0.00%> (+0.62%)
:arrow_up:

...ain/scala/org/apache/kyuubi/engine/EngineRef.scala
73.10% <0.00%> (+0.84%)
:arrow_up:

.../engine/spark/session/SparkSQLSessionManager.scala
79.74% <0.00%> (+1.26%)
:arrow_up:

...ache/kyuubi/server/mysql/MySQLGenericPackets.scala
78.72% <0.00%> (+2.12%)
:arrow_up:

...ache/kyuubi/server/mysql/MySQLCommandHandler.scala
79.54% <0.00%> (+3.40%)
:arrow_up:

... and 1 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Animation Example

Goal is to demonstrate and improve support for animation using pydeck.
Perhaps make an example using ImageCollection.

Here are two animation examples I have done with geemap. It would be nice if pydeck can do sth similar.

Adding colorbar and images to GIF animations generated from Earth Engine data (video | gif | notebook)
Creating Landsat timelapse animations with animated text using Earth Engine (video | gif | notebook)

@giswqs - Thanks, this looks awesome! We will take a look and try to make sure can match this with pydeck.

There are a couple different possibilities here, depending on whether the animation is generated server-side with Earth Engine, or locally by stepping through a collection of individual ee.Images.
Server-side animation
I think both of @giswqs 's examples are generated server-side? From the notebooks it looks like there isn't local image processing combining individual image frames, though with the Landsat example it's possible local image processing is hidden within geemap.Map.add_landsat_ts_gif.
From the EE docs, it looks like the standard way to create an animation from an ImageCollection is to use ee.ImageCollection.getVideoThumbURL(). This generates a gif from the ImageCollection on Earth Engine's servers.
But the docs indicate:

The maximum number of pixels allowed in an animation is 6,553,600 (e.g., 256 x 256 x 100)

So it isn't feasible to create a single animation at global scale, unless it's very low resolution.
A possible workaround with this approach is to create a TileLayer of animations. I believe the BitmapLayer can handle an animated gif, so it would be possible to create a separate 256x256 animation for each mercator tile, and then work to make sure each gif animation is in sync with the others.
Client-side animation
Since deck.gl is powerful, rendering the animation client-side is clearly of interest. There are a couple considerations with this:
Tile url isn't unique per set of Image * visParams. Currently we deep compare visParams to prevent requesting a new map url if the visParams haven't changed since the previous props, but if we have an animation using a single EarthEngineLayer where the Image or visParams rotate through a series of 30 frames, the 1st and 31st frame will represent the same dataset but will generate a new map url, and thus no caching will happen.
Rotate visibility prop of many layers. Another possibility is to have 30 separate EarthEngineLayers, where in each animation frame the visibility prop is set to false on the active layer and true on the next active layer. This prevents requesting a new map url for layers whose ee.Image and visParams props don't change, and should thus allow better caching. But this means that the user must handle a few dozen layers and when to enable visibility. Or we'd have to handle that case inside the EarthEngineLayer by rendering the number of frames as separate subLayer EarthEngineLayers.
Regardless, there could be some lag initially while loading since the tiles requested change each frame, and it might take a few seconds to cache all the results.

@kylebarron In geemap, the animations are generated on the server-side using ee.ImageCollection.getVideoThumbURL() and downloaded automatically as a GIF to local drive. Animated text, label, and progress bar are added locally using the pillow package as GEE server-side could not do this. Here are some relevant functions in geemap :

download_ee_video()
add_text_to_gif()
add_image_to_gif()

That makes sense. We might be able to have animated text, labels, and progress bars on the JavaScript side inside deck.gl, but first it's more important to have a working interactive animation.

For our purposes, we probably want to focus on supporting animation of ImageCollections with a reasonable amount of Images (<100(.
We could add time prop and timeRange props to the EELayer.

Setting time would select which Image in the ImageCollection we show.

Ddownload filmstrip tiles for ee.ImageCollection:

Fetch FilmStrips for ImageCollection.
Need to be split client side 256x256x100
40 images in 10s. 10s of seconds to first byte...

We'd need to manage the cutting in the EElayer, and we'd need to update the bitmap layers when the time prop advances.

For reference, the example of a filmstrip in the EE docs is such:

From the following code:
// Define an area of interest geometry with a global non-polar extent.
var aoi = ee.Geometry.Polygon(
  [[[-179.0, 78.0], [-179.0, -58.0], [179.0, -58.0], [179.0, 78.0]]], null,
  false);

// Import hourly predicted temperature image collection for northern winter
// solstice. Note that predictions extend for 384 hours; limit the collection
// to the first 24 hours.
var tempCol = ee.ImageCollection('NOAA/GFS0P25')
  .filterDate('2018-12-22', '2018-12-23')
  .limit(24)
  .select('temperature_2m_above_ground');

// Define arguments for the getFilmstripThumbURL function parameters.
var filmArgs = {
  dimensions: 128,
  region: aoi,
  crs: 'EPSG:3857',
  min: -40.0,
  max: 35.0,
  palette: ['blue', 'purple', 'cyan', 'green', 'yellow', 'red']
};

// Print a URL that will produce the filmstrip when accessed.
print(tempCol.getFilmstripThumbURL(filmArgs));

So to use the filmstrip as the animation medium we'd have to:

create a polygon with each mercator tile bounds
call getFilmstripThumbURL on the ImageCollection
Figure out which xy image coordinates to select for each frame given the number of coordinates. I'd prefer to call the prop frame rather than time, which might be easily confused with the timestamp of the actual images, while an ImageCollection doesn't need to track with actual image time.
Create a custom bitmap layer to render that small portion of the image.

Other considerations:

Region: Unlike the static map, new tiles wouldn't automatically load as you pan. We'd have to call getFilmstripThumbURL on tiles newly in the viewport
Strip number: Is there always the number of the strip in the top left of each image?

Also see: https://earthengine.google.com/timelapse/ - an example of pregenerated video tiles. We could display this, but synchronizing them would require work, and it is just one dataset.

Animation supported as of #54, I'll include examples in the repository soon.


Confusing maxHeight documentation

From the docs:

maxHeight : String(Pixels)
Set the max column width

Either the name or the description is inaccurate. Could this be cleared up?

Just a inaccurate description.... I'll fix it. Thanks you :)


Minor tweak: fix link to project website in about API response

Hi,
Today I managed to get nhaystack running on a Niagara 4.11 instance, in preparation of re-basing prior work and hopefully releasing that upstream.  In testing the module, I happened to notice this in the about endpoint:
ver:"3.0"
productUri,tz,moduleName,serverName,productName,haystackVersion,productVersion,moduleVersion,serverTime,moduleUri,serverBootTime
`http://www.tridium.com/`,"Brisbane","nhaystack","WC5029","Niagara 4","2.0","<IP_ADDRESS>","3.0.3",2022-08-01T11:35:40.949+10:00 Brisbane,`https://bitbucket.org/richiemac_77/nhaystack`,2022-08-01T11:08:02.550+10:00 Brisbane

I understand the project shifted from Bitbucket to Github when Bitbucket decided to drop Mercurial support, and so the old link now reports "404 Not Found".  This little tweak fixes that.

Looks to have been done in commit ffea69a595b2a6d7fdb8339358ea2f62404531d3.  Closing.


docker_launch.sh checking /ssh fails

find: '/ssh/*': No such file or directory
cp: missing file operand
Try 'cp --help' for more information.

I build the image for MI, and use as a base image. Then I handle decrypting my keys from source control and placing within ~/.ssh/ (/root/.ssh/). Because it seems fixed to requiring the directory /ssh/ the script fails. Even if creating the /ssh/ directory within my dockerfile and copying my keys there after decrypting fails as the volume points a non-existent directory.
Requiring a volume be mounted for ssh keys seems overly restrictive. Maybe just adding a check if SSH_KEY already exists then skip trying to create /root/.ssh and copying files from /ssh/ ?

if [ ! -f "$SSH_KEY" ]; then
    mkdir -p /root/.ssh/
    find /ssh/* ! -type l -print0 | xargs -0 cp -t /root/.ssh/
fi

That does work and provides the ability to use mi as a base image. I can submit a PR to apply that change.

sounds good to me. I wasn't thrilled with the existing way of managing ssh keys but hadn't really come up with a better one

Closing with the merge of #556


66-change-the-way-images-are-listed-mounia

closes #66

When the selected image is not the last, removing a non-selected image changes the selected image (it should stay the same)
https://github.com/zakodium-oss/pixelium/assets/4118690/e8751f23-14f0-4144-a271-54f6ba08fa52

Otherwise LGTM design wise 👍🏻


Use "Held Item" property with foxes

Would it be possible to add the ability to hold items with entities that are able to?  With Bipeds (Zombies, Skeletons, etc) it's already working, but foxes are able to hold items in their mouths. I think Villagers also hold items, and there might be others from other mods that use that property.

Alright, I'm gonna work on it.

Ok this bug should be fixed now. If you wonder why this bug existed in the first place, it existed because I tested item holding on skeletons, which have hands inverted. This inversion is now only applied to skeletons, and not to normal mobs, which means, that this bug should be fixed now.


fix copy fileFormatOptions

Maybe this field should not be a DSN config, but a format option argument?

Maybe this field should not be a DSN config, but a format option argument?

Maybe some users want to make empty string to NULL in table?

I mean this is not a client wide config, but a query specified argument.


Create dataset ahotsak

uid: ahotsak
type: primary
description:

name: ahotsak
description: Catalogue of  Basque Oral Heritage, interviews to elderly people about their experiences.
homepage: https://ahotsak.eus/
validated: True

languages:

language_names:

Basque

language_comments: different dialects of Basque
language_locations:

Western Europe
Spain

validated: False

custodian:

name: BADIHARDUGU Deba Ibarreko Euskera Alkartia
type: A nonprofit/NGO (other)
location: Spain
contact_name: ahotsak
contact_email: https://ahotsak.eus/kontaktua/
contact_submitter: True
additional: https://ahotsak.eus/info/ohar-legala/
validated: False

availability:

procurement:

for_download: No - we would need to spontaneously reach out to the current owners/custodians
download_url:
download_email: https://ahotsak.eus/kontaktua/

licensing:

has_licenses: Yes
license_text:
license_properties:

open license

license_list:

cc-by-sa-4.0: Creative Commons Attribution Share Alike 4.0 International

pii:

has_pii: Yes
generic_pii_likely: somewhat likely
generic_pii_list:

full-face photographs and comparable images
dates (birth, death, etc.)

numeric_pii_likely: none
numeric_pii_list:
sensitive_pii_likely: very likely
sensitive_pii_list:

religious or philosophical beliefs
racial or ethnic origin

no_pii_justification_class:
no_pii_justification_text:

validated: False

source_category:

category_type: collection
category_web:
category_media:
validated: False

media:

category:

audiovisual

text_format:
audiovisual_format:

video

image_format:
text_is_transcribed:
instance_type: video
instance_count: 10K<n<100K
instance_size: 100<n<10,000
validated: False

fname: ahotsak.json

#self-assign

I have reached out; will report back once I hear back from the ahostak project.
There seems to be an API but the request key link is broken. (I've asked about this as well)
https://ahotsak.eus/api/v2/
https://ahotsak.eus/api/v2/dokumentazioa/

Thanks, @cakiki.
Any feedbackfrom the custodians?

@albertvillanova None. Should we try to find a Basque speaker within Big Science? I could also try reaching them again.
I also found this dataset of transcribed Basque audio: https://research.google/tools/datasets/basque-tts/ (~7100 sentences)
Part of a bigger resource available here: https://github.com/google/language-resources  and here: http://openslr.org/resources.php both of which might be interesting to look into. cc @yjernite

I think the basque-tts (according to the info in their site) is part of SLR: SLR76

OpenSLR is already available: https://huggingface.co/datasets/openslr


Force a local email to be set for Github repos

Updated TOC:
Table of Contents
=================

  * [Table of Contents](#table-of-contents)
  * [Collection of git hooks](#collection-of-git-hooks)
    * [pre\-commit hooks](#pre-commit-hooks)
      * [github\_email\_verify](#github_email_verify)
        * [Motivation](#motivation)
        * [Install](#install)
        * [Optional](#optional)
        * [Demo](#demo)
    * [Contributors](#contributors)

Thanks so much for your contribution!

Shiny! Don't forget to update the demo.

On it :D

We've the new demo live!

Hurray!!


Disable dragging

Is there a way to disable drag behavior for certain children?

Is there a way to dragging children？  similar  "handle" props ！

You should pass childProps={draggable: false} to SortableListItem


Need documentation on exporting data via Shapefile

We need documentation in README.md for how a user can export data as Shapefile from Dropchop.

@aaronr Did you add this feature originally? Care to add the details to the README.md? I remember that there were some oddities around it not working every time, would be good to get those written down.


ModelGen: Generated persisted models need to initialize __T

We're currently not initializing the __T property for generated persisted data models.  We need to initialize this in the generated constructors.

DONE


How can I make yabai -m space --focus next not move across displays?

How would I make yabai -m space --focus next not move across displays when getting to the last desktop on a display and instead stop on the last desktop on the focussed monitor?

https://github.com/koekeishiya/yabai/issues/1771#issuecomment-1577418112

added to wiki
https://github.com/koekeishiya/yabai/wiki/Tips-and-tricks#constrain-space-focus-to-current-display-with-optional-cycling


[Event Request] Table 5965 Service Contract Heder event OnCalculateEndPeriodDateCaseElse

ServiceContractHeader variable should be passed as VAR
BEFORE
[IntegrationEvent(false, false)]
local procedure OnCalculateEndPeriodDateCaseElse(ServiceContractHeader: Record "Service Contract Header"; var EndPeriodDate: Date)
begin
end;
AFTER
[IntegrationEvent(false, false)]
local procedure OnCalculateEndPeriodDateCaseElse(var ServiceContractHeader: Record "Service Contract Header"; var EndPeriodDate: Date)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


src/cntk-train/src/main/scala/Builder

[ ] Should use immutable classes with constructor arguments instead of setFoos.
[ ] Rename printOutput -> runWithOutput
[ ] Go over bogus quotes in CommandBuilders.scala

We should ideally remove all reference to brainscript


Add a possibility to use different default terminal profiles depending on OS for as in user settings

I am working on different machines - Windows PC and Macbook and using user sync option for syncing settings.
I want to have ability to use Powershell on PC and bash on Macbook

you can do this with terminal.integrated.defaultProfile.windows and terminal.integrated.defaultProfile.osx and  terminal.integrated.profiles.windows and terminal.integrated.profiles.osx


Default permissions for newly added users

It would be nice to be able to setup Roles and be able to have default role for newly added users to be able to give specific permissions, now we have almost no permissions assigned and need to manually adjust each new user.

https://the-guild.dev/graphql/hive/product-updates/2023-12-05-member-roles#member-invitation
available in production in about a few minutes


implemented gulp and nodejs build and or run tasks / publish

What is the status of this pull request


[DO NOT MERGE YET] Turbine integration workflow

Description of change

Fixes
Type of change

[ ]  New feature
[ ]  Bug fix
[ ]  Refactor
[ ]  Documentation

How was this tested?

[ ]  Unit Tests
[ ]  Tested in staging
[ ]  Tested in minikube

Demo

before
after

Additional references

Documentation updated

Per @jmar910 , it sounds like this wan experiment that can be closed for now.


Adjusted the  check location for postinstall script

Current dependencies on/for this PR:

master

PR #255   👈

This comment was auto-generated by Graphite.


Lab 3>LogStreamSimulator.ipynb

Hello , I am executing Lab 3 and preparing lab guides, but I am facing issues in the LogStreamSimulator.ipynb notebook. Cell 2 installations are encountering errors, and the last cell is also not running. Please help me. please find the screenshots

Hello @hfleitas , please help me, I need to prepare lab guide Thanks


Added 4 nodes req for bookinfo

This is the requirement of the bookinfo application, not of Istio. One of the bookinfo services, productpage, it's quite big.


Removes multiple items with the same priority, regardless of test

If a test would remove a single item, it instead removes all items in that priority bucket.

According to the docs:
  /// Remove a single element that is equal to [e].
  ///
  /// If there are multiple elements identical to [e], only the first will be removed.
  /// To remove all, use something like:
  ///
  ///     set.removeWhere((a) => a == e);
  ///
  bool remove(E e) { ... }

So what method are you using (remove, or removeWhere)?
Because it might be expected. Would you like to contribute with a PR with a test case that fails describing your scenario?

I'm using removeWhere. I'll return to this issue after the one.


Dynamically resize emoticon window

use https://gist.github.com/HulaSamsquanch/91b86b8e66f2596937f3 to better position emoticons for any window size.

.


track pre-annotated objects in CVAT

I have a labeled images resulted from a trained model , the images from a video , i need to set an unique ID to each label to help in tracking some objects over frames .
is there any way to do that ?

Seems I have answered your question on gitter, for now I would only suggest try to use ReID model for person objects https://github.com/openvinotoolkit/cvat/tree/develop/serverless/openvino/omz/intel/person-reidentification-retail-300/nuclio


0.13.3 release build issue

👋 looks like with this commit, now the build is going forever for homebrew CI, probably should revert it.

Hi @chenrui333, I analyzed the build process of the formulae. It was hanging during completions generation as the webserver was starting for that command therefore logdy completion bash never exited. I fixed it in commit. How do we proceed with removing the patch from formulae file?

@PeterOsinski in that case, can you cut a new release? we can remove the patch from there. thanks!


always_issue_new_refresh_token is passed to MongoClient, causing MongoConnectionException

I've recently updated apigility and I'm now fighting the changes needed.
One of the issues I can't seem to figure out is the following exception:
Fatal error: Uncaught exception 'MongoConnectionException' with message '- Found unknown connection string option 'always_issue_new_refresh_token' with value '1'

It seems like always_issue_new_refresh_token option (and probably others as well) are not being removed from the $options array before passing it to the MongoClient.
The pitfall is in the factory of the server adapter (when creating the mongo client):
https://github.com/zfcampus/zf-mvc-auth/blob/master/src/Factory/OAuth2ServerFactory.php#L197
Looking at the equivalent piece of code in https://github.com/zfcampus/zf-oauth2/blob/master/src/Factory/MongoAdapterFactory.php#L57 you can see the options is taken from a sub array "mongo".
I also found the following in the google group:
As you can see here: https://groups.google.com/a/zend.com/forum/#!topic/apigility-users/BtCPsO6jS6c

This repository has been closed and moved to laminas-api-tools/api-tools-mvc-auth; a new issue has been opened at https://github.com/laminas-api-tools/api-tools-mvc-auth/issues/14.


Focus animations and labelPositions

Switches now support focusability and can be focused/changed via keyboard inputs. Animations are included to reflect when switches are focused. Refractoring was done so that rendering and event handling is done all through enhanced-switch. Styling from switch-wrap.less has been moved into enhanced-switched.less.
Also, all switches use the labelPosition prop (as opposed to labelPositionRight), including RadioButtonGroup.

Thanks @mmrtnz - looks great.


Readme does not get updated on npm

Readme in the npm package doesnt get updated. This seems to be a common issue based on similar issues reported on stackoverflow.
Need to find a workaround for it.

working again


darts Window transformer

Hi @JQGoh
I wonder if you have managed to do the same with the WindowTransformer from darts?
All the Best
D.

@nagydavid Hi, thanks for reading the article and checking this repository. I have not managed to get Window transformer working yet.
I will update this repository and let you know once it is ready.

@nagydavid
Thanks for opening the issue. Please check the changelog whereby I include an example of how to perform Darts window transformation using DartsTransformers class.
I am keen to learn more about how this project will benefit you. Hope this helps!

Hi @JQGoh,
Thanks a lot. I am using tsfresh to enrich univariate time series, where additional data can be used for covariates. I love the fact that tsfresh helps to extract additional info, but during inference I need to do it,  based on prediction step,  as shown in the documentation.  Therefore I am interested to test your method and implement into "one-step prediction and feature extraction" encoder.
:)


[WIP] Heroku build

This branch will have Heroku automatically build itself with Gulp.

"Remove all build files" If you could do that after ignoring them, then it's not working...

@GrahamCampbell I added it to the .gitignore, then had to remove them from the source, no?

No, ignoring them means git shouldn't even know you've deleted them. It literally means ignore, rather than don't store.

But they're in the source currently, don't they need to be removed once they're added to the ignore list? If I didn't do that, then surely the existing files from the last commit would remain?

don't they need to be removed once they're added to the ignore list

yes, but you ignored them first, so what i'm saying is your "ignore" can't be working correctly

Ok, so talk me through what I should've done?

That's my point. I'm saying I don't know why git didn't ignore the files?

It never does, I always add the pattern to .gitignore, commit it, but then the existing files aren't removed from the tree.

No, you not understanding what I mean by "ignore". I expect it to keep the existing files, and then whe you delete them, I expect it to do nothing.

I think we have our wires crossed. If I ignore the files, I still want to remove the existing ones. I don't need to keep removing them.

Maybe it's because I did it in two commits?

What i'm saying is if you were able to delete them after ignoring them, that means if you put files in that folder again, then it won't ignore them because it didn't before. See my concerne?

I'm able to delete them because Git still has them committed from previously. They're ignored, but Git still knows they're in there.

Hmmm. Ok. Also, you made travis sad.

Maybe just call gulp in the one-click-setup command?

Yeah, I think that's what we're going to have to do. I can't for the life of me make this work.

My last commit didn't work either...

Yeh, I can sort this if you like?

If you wouldn't mind? :)

Will do this soonish. Bit busy with other stuff atm.

I think a better idea would be to get people to run the install with --no-scripts if then don't want to run the scripts. Quite simple really.

I'll prepare another pull request.


Created tests for UserService #65

Tests for UserService
This is the part of the issue #65

Codecov Report

Merging #101 (2c6b53f) into main (e0f36d9) will increase coverage by 0.94%.
The diff coverage is 85.00%.

:exclamation: Current head 2c6b53f differs from pull request most recent head 91e8180. Consider uploading reports for the commit 91e8180 to get more accurate results

@@             Coverage Diff              @@
##               main     #101      +/-   ##
============================================
+ Coverage     14.05%   14.99%   +0.94%
- Complexity       38       47       +9
============================================
  Files            43       43
  Lines           918      927       +9
  Branches        116      117       +1
============================================
+ Hits            129      139      +10
+ Misses          786      785       -1
  Partials          3        3

Flag
Coverage Δ

unittests
14.99% <85.00%> (+0.94%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...m/innopolis/innoqueue/controller/UserController.kt
50.00% <0.00%> (ø)

...n/com/innopolis/innoqueue/utils/StringGenerator.kt
83.33% <83.33%> (-16.67%)
:arrow_down:

...lin/com/innopolis/innoqueue/service/UserService.kt
96.42% <92.30%> (+12.42%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


On startup coc-tsserver can't understand JSX/TSX

Here's my coc-config:
{
  "suggest.echodocSupport": true,
  "suggest.autoTrigger": "always",
  "suggest.floatEnable": true,
  "coc.preferences.formatOnSaveFiletypes": [
    "ruby",
    "json",
    "javascript",
    "typescript",
    "python",
    "typescriptreact",
    "javascriptreact"
  ],
  "coc.preferences.hoverTarget": "float",
  "javascript.suggestionActions.enabled": false,
  "tsserver.trace.server": "verbose",
  "tsserver.log": "verbose",
  "signature.target": "float",
  "snippets.extends": {
    "typescript": [
      "typescriptreact"
    ]
  },
  "explorer.width": 30,
  "eslint.enable": true,
  "eslint.filetypes": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact"
  ],
  "eslint.autoFixOnSave": true,
  "explorer.icon.enableNerdfont": true,
  "explorer.previewAction.onHover": false,
  "explorer.keyMappings.global": {
    "<cr>": [
      "expandable?",
      "expand",
      "open"
    ],
    "v": "open:vsplit"
  },
  "coc.preferences.extensionUpdateCheck": "daily"
}

This only started to be an issue recently. When I run CocCommand tsserver.restart things start to work again. However, if I search for definitions they don't work.

I've found the issue - I had some Python files in a directory that was inside the root of my React project. Those were disturbing coc-tsserver I believe. I removed them and everything is now working.

Should be problem of your language server, checkout https://github.com/neoclide/coc.nvim/wiki/Debug-language-server#using-output-channel


added the browser tts api as fallback for ElevenLabs

Browser text-to-speech fallback for people who don't want to use ElevenLabs.

Adding support for the browser's native TTS is a good idea, but I don't think it should be enabled by default, because the quality is very low on many devices. My experience has been that the 'default' voice chosen by the web speech API is not always the best choice.
Probably the design should be something like: clicking Play still opens speech settings, but the dropdown for the Voice setting shows native voices by default, and ElevenLabs voices if you enter your API key.
This would also work for adding other TTS providers (Google, AWS, Coqui? etc.) in the future.

It is free and easy and on some browsers it works quite well: not sure if there is a reason to not enable it? But further in completely agree.

Browser text-to-speech fallback for people who don't want to use ElevenLabs.

I came across your pull request and noticed an issue with the code involving API calls. Specifically, the SpeechSynthesis.getVoices() method does not work on Edge browser, and should be replaced with populateVoiceList() as seen below:
if (speechSynthesis.onvoiceschanged !== undefined) {
  speechSynthesis.onvoiceschanged = populateVoiceList;
}

I've made some modifications to the code and uploaded them to my forked repository at https://github.com/tao1020/chat-with-gpt.git for your reference.
You can find more information about using the Web Speech API, including this specific issue, at the following link: https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API/Using_the_Web_Speech_API#:~:text=When we come,statement seen below.

Hi, just wanted to update you on this - I decided to approach this in a different way. Browser TTS has been added, but I rewrote the text-to-speech code to use a new 'plugin' format. This will make it easier to add new TTS providers in the future.