0.10 beta - influx_tsm conversion from bz1

~200gb of database @ 20shards, been running for 5 hours now, not high cpu usage, any way to see progress? and more important, what happens if i ctrl-c? corruption?

@discoduck2x has the conversion tool output any information yet? it should give you some updates as it progresses through the shards.

@toddboom , thanks for reply
i had 2 databases, one which was only  ~300mb and that ones shards was converted in 4-5minutes with corresponding info from the tool, however no info since then.
I can see that the folders in /databasename/default/shardnumber.tsm are growing,,,slooowly so i guess it is progressing just very very slow. i used the -parrallell parameter still i dont know what that implies,, since it doesnt seem to do anything more than hogging one cpu core (out of 8) ~10-20% ,, mem is 64% out of 24gb,, disk system is internal sas 15krpm raid 1+0,,, system doesnt seem bogged down,,
I guess i will let it simmer for another 5-10hours and see what happens... should go out with a warning though to anyone tryign to convert +200gb of data....

Approximately how big are the new folders? Depending on the data, I'd expect the final result to be in the 10-20GB range.
Also, we did most of our testing on SSD, so it's possible that it's I/O bound on the disk array, but I'd expect you to still get decent performance. Keep me posted as it progresses.

200-300mb per folder , will let u know more tomorrow. Thx
Todd Persen<EMAIL_ADDRESS>wrote:
Approximately how big are the new folders? Depending on the data, I'd expect the final result to be in the 10-20GB range.
Also, we did most of our testing on SSD, so it's possible that it's I/O bound on the disk array, but I'd expect you to still get decent performance. Keep me posted as it progresses.

Reply to this email directly or view it on GitHubhttps://github.com/influxdata/influxdb/issues/5406#issuecomment-173384264.

I did a little digging, and think I might have figured out why your conversion is crawling along. You enabled the parallel flag, which sounds great, but the current influx binaries are built with Go 1.4.x which defaults GOMAXPROCS to 1.
This means that when the conversion tool creates 20 goroutines (to handle your 20 shards), but only one goroutine will be running at any given time. This would explain your "low CPU usage". If you enabled backups, rather if you didn't disable backups, you should be able to kill the process, move the directories back, and start again with GOMAXPROCS set higher. Although you might still have an issue that those 20 goroutines will all be fighting for the GOMAXPROCS active goroutines, all consuming memory in the process.
I'm going to play around with the parallelism in the conversion tool, as well as add some extra logging in the case a TSM file hits the max size (although it doesn't sound like that's the case you're seeing here).
@toddboom How does having influx_tsm limit itself to GOMAXPROCS simultaneous shards is -parallel is enabled sound?

@joelegasse @toddboom
i canceld this morning, it had done 2 shards by then,, one took 9h.. reverted to backup and
running now without -parallel but performance looks the same, low cpu usage, do i have to set GOMAXPROCS somehow as en env variable or somewhere else ? (sorry dont know enough bout this)
its working on a 12gb bz1 shardfile now, and currently the .tsm folder is at 900mb...
gonna add iostat to the host to see how quelengths etc look but it feels like something else

before: -rw-r--r-- 1 root root  12G Jan 21 07:37 510
Conversion of /var/lib/influxdb/data/mydb/default/510 successful (2h32m10.702839909s)
after: 1.5G    ./default/510
so,, since i have bout 18shards left size ranging between 9-15GB , im estimating this to be done earliest in bout 36 hours,  any help before will be appritiated

@toddboom
@joelegasse
my test env which has been running 0.10beta started to behave strangely today,, so i tried to revert this procution host , removed the 0.10beta, reinstalled the stable <IP_ADDRESS> , but cannot get it to load my database.bak stuff,, i am copying them to
[data]
dir = "/var/lib/influxdb/data"
which is specified in /etc/influxdb/influxdb.conf ,,,
when started up and going into the CLI "show databases" only shows _internal ,, if i do "use mydb" then i CAN do "show series" but if i do "show measurements" it says "database not found" ...
please help!

@discoduck2x Did you remove the .bak extension from the backed-up folders?  Did you make sure influxd was stopped when copying the files around?
The .bak folders are just copies of the directories files that were there, and shouldn't have been modified in any way. Removing the partially-converted folders and copying the .bak folders to their original names should be sufficient to restore the previous state.
@toddboom Can you think of any other steps that might need to be taken when downgrading and restoring the backed-up data?

@joelegasse , yes
i tried again to "upgrade" , this time using the nightly build which seems a bit faster,, all shards finished in aboout 9hours.
however,, after i start influx the log gives me some info that its reading this and that,, but i still cant see the database in CLI nor access it via grafana, heres the log output as i start it:
2016/01/22 23:34:22 InfluxDB starting, version 0.10.0-nightly-72c6a51, branch master, commit 72c6a51c78efec0ed25b906b2e6b722be7d32cf1, built 2016-01-11T05:00:46+0000
2016/01/22 23:34:22 Go version go1.5.2, GOMAXPROCS set to 8
2016/01/22 23:34:23 Using configuration at: /etc/influxdb/influxdb.conf
[metastore] 2016/01/22 23:34:23 Using data dir: /var/lib/influxdb/meta
[metastore] 2016/01/22 23:34:23 Skipping cluster join: already member of cluster: nodeId=1 raftEnabled=true peers=[localhost:8088]
[metastore] 2016/01/22 23:34:23 Node at localhost:8088 [Follower]
[metastore] 2016/01/22 23:34:24 Node at localhost:8088 [Leader]. peers=[localhost:8088]
[metastore] 2016/01/22 23:34:24 spun up monitoring for 1
[store] 2016/01/22 23:34:24 Using data dir: /var/lib/influxdb/data
[metastore] 2016/01/22 23:34:24 Updated node id=1 hostname=localhost:8088
[tsm1wal] 2016/01/22 23:34:24 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2016/01/22 23:34:24 tsm1 WAL writing to /var/lib/influxdb/wal/mydb/default/507
[filestore]2016/01/22 23:34:24 /var/lib/influxdb/data/mydb/default/507/000000001-000000001.tsm (#0) opened in 1.417411ms
[tsm1wal] 2016/01/22 23:34:24 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2016/01/22 23:34:24 tsm1 WAL writing to /var/lib/influxdb/wal/mydb/default/509
[filestore]2016/01/22 23:34:24 /var/lib/influxdb/data/mydb/default/509/000000001-000000001.tsm (#0) opened in 1.457071ms
[tsm1wal] 2016/01/22 23:34:24 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2016/01/22 23:34:24 tsm1 WAL writing to /var/lib/influxdb/wal/mydb/default/510
[filestore]2016/01/22 23:34:24 /var/lib/influxdb/data/mydb/default/510/000000001-000000001.tsm (#0) opened in 1.600667ms
[tsm1wal] 2016/01/22 23:34:24 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2016/01/22 23:34:24 tsm1 WAL writing to /var/lib/influxdb/wal/mydb/default/511
[filestore]2016/01/22 23:34:24 /var/lib/influxdb/data/mydb/default/511/000000001-000000001.tsm (#0) opened in 1.495351ms
[tsm1wal] 2016/01/22 23:34:24 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2016/01/22 23:34:24 tsm1 WAL writing to /var/lib/influxdb/wal/mydb/default/512
[filestore]2016/01/22 23:34:24 /var/lib/influxdb/data/mydb/default/512/000000001-000000001.tsm (#0) opened in 1.55079ms
[tsm1wal] 2016/01/22 23:34:24 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2016/01/22 23:34:24 tsm1 WAL writing to /var/lib/influxdb/wal/mydb/default/515
[filestore]2016/01/22 23:34:24 /var/lib/influxdb/data/mydb/default/515/000000001-000000001.tsm (#0) opened in 1.552111ms
[tsm1wal] 2016/01/22 23:34:25 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2016/01/22 23:34:25 tsm1 WAL writing to /var/lib/influxdb/wal/mydb/default/532
[filestore]2016/01/22 23:34:25 /var/lib/influxdb/data/mydb/default/532/000000001-000000001.tsm (#0) opened in 2.012052ms
[tsm1wal] 2016/01/22 23:34:25 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2016/01/22 23:34:25 tsm1 WAL writing to /var/lib/influxdb/wal/mydb/default/556
[filestore]2016/01/22 23:34:25 /var/lib/influxdb/data/mydb/default/556/000000001-000000001.tsm (#0) opened in 2.160766ms
[tsm1wal] 2016/01/22 23:34:25 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2016/01/22 23:34:25 tsm1 WAL writing to /var/lib/influxdb/wal/mydb/default/557
[filestore]2016/01/22 23:34:25 /var/lib/influxdb/data/mydb/default/557/000000001-000000001.tsm (#0) opened in 2.003232ms
[tsm1wal] 2016/01/22 23:34:25 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2016/01/22 23:34:25 tsm1 WAL writing to /var/lib/influxdb/wal/mydb/default/561
[filestore]2016/01/22 23:34:25 /var/lib/influxdb/data/mydb/default/561/000000001-000000001.tsm (#0) opened in 2.146533ms
[tsm1wal] 2016/01/22 23:34:25 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2016/01/22 23:34:25 tsm1 WAL writing to /var/lib/influxdb/wal/mydb/default/563
[filestore]2016/01/22 23:34:25 /var/lib/influxdb/data/mydb/default/563/000000001-000000001.tsm (#0) opened in 1.842797ms
[tsm1wal] 2016/01/22 23:34:26 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2016/01/22 23:34:26 tsm1 WAL writing to /var/lib/influxdb/wal/mydb/default/564
[filestore]2016/01/22 23:34:26 /var/lib/influxdb/data/mydb/default/564/000000001-000000001.tsm (#0) opened in 1.827628ms
[tsm1wal] 2016/01/22 23:34:26 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2016/01/22 23:34:26 tsm1 WAL writing to /var/lib/influxdb/wal/mydb/default/567
[filestore]2016/01/22 23:34:26 /var/lib/influxdb/data/mydb/default/567/000000001-000000001.tsm (#0) opened in 2.141969ms
[tsm1wal] 2016/01/22 23:34:26 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2016/01/22 23:34:26 tsm1 WAL writing to /var/lib/influxdb/wal/mydb/default/573
[filestore]2016/01/22 23:34:26 /var/lib/influxdb/data/mydb/default/573/000000001-000000001.tsm (#0) opened in 1.822479ms
[tsm1wal] 2016/01/22 23:34:26 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2016/01/22 23:34:26 tsm1 WAL writing to /var/lib/influxdb/wal/mydb/default/574
[filestore]2016/01/22 23:34:26 /var/lib/influxdb/data/mydb/default/574/000000001-000000001.tsm (#0) opened in 2.102393ms
[tsm1wal] 2016/01/22 23:34:26 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2016/01/22 23:34:26 tsm1 WAL writing to /var/lib/influxdb/wal/mydb/default/578
[filestore]2016/01/22 23:34:26 /var/lib/influxdb/data/mydb/default/578/000000001-000000001.tsm (#0) opened in 2.195543ms
[tsm1wal] 2016/01/22 23:34:27 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2016/01/22 23:34:27 tsm1 WAL writing to /var/lib/influxdb/wal/mydb/default/580
[filestore]2016/01/22 23:34:27 /var/lib/influxdb/data/mydb/default/580/000000001-000000001.tsm (#0) opened in 2.143866ms
[tsm1wal] 2016/01/22 23:34:27 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2016/01/22 23:34:27 tsm1 WAL writing to /var/lib/influxdb/wal/mydb/default/582
[filestore]2016/01/22 23:34:27 /var/lib/influxdb/data/mydb/default/582/000000001-000000001.tsm (#0) opened in 2.164687ms
[tsm1wal] 2016/01/22 23:34:27 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2016/01/22 23:34:27 tsm1 WAL writing to /var/lib/influxdb/wal/mydb/default/585
[filestore]2016/01/22 23:34:27 /var/lib/influxdb/data/mydb/default/585/000000001-000000003.tsm (#2) opened in 181.52µs
[filestore]2016/01/22 23:34:27 /var/lib/influxdb/data/mydb/default/585/000000001-000000001.tsm (#0) opened in 1.197134ms
[filestore]2016/01/22 23:34:27 /var/lib/influxdb/data/mydb/default/585/000000001-000000002.tsm (#1) opened in 1.278982ms
[tsm1wal] 2016/01/22 23:34:27 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2016/01/22 23:34:27 tsm1 WAL writing to /var/lib/influxdb/wal/mydb/default/602
[filestore]2016/01/22 23:34:27 /var/lib/influxdb/data/mydb/default/602/000000001-000000003.tsm (#2) opened in 344.935µs
[filestore]2016/01/22 23:34:27 /var/lib/influxdb/data/mydb/default/602/000000001-000000001.tsm (#0) opened in 1.228954ms
[filestore]2016/01/22 23:34:27 /var/lib/influxdb/data/mydb/default/602/000000001-000000002.tsm (#1) opened in 1.654521ms
[tsm1wal] 2016/01/22 23:34:28 tsm1 WAL starting with 10485760 segment size
[tsm1wal] 2016/01/22 23:34:28 tsm1 WAL writing to /var/lib/influxdb/wal/mydb/default/604
[filestore]2016/01/22 23:34:28 /var/lib/influxdb/data/mydb/default/604/000000001-000000002.tsm (#1) opened in 346.728µs
[filestore]2016/01/22 23:34:28 /var/lib/influxdb/data/mydb/default/604/000000001-000000001.tsm (#0) opened in 1.923337ms
[handoff] 2016/01/22 23:34:28 Starting hinted handoff service
[monitor] 2016/01/22 23:34:28 'hh' registered for diagnostics monitoring
[handoff] 2016/01/22 23:34:28 Using data dir: /var/lib/influxdb/hh
[subscriber] 2016/01/22 23:34:28 opened service
[monitor] 2016/01/22 23:34:28 Starting monitor system
[monitor] 2016/01/22 23:34:28 'build' registered for diagnostics monitoring
[monitor] 2016/01/22 23:34:28 'runtime' registered for diagnostics monitoring
[monitor] 2016/01/22 23:34:28 'network' registered for diagnostics monitoring
[monitor] 2016/01/22 23:34:28 'system' registered for diagnostics monitoring
[cluster] 2016/01/22 23:34:28 Starting cluster service
[shard-precreation] 2016/01/22 23:34:28 Starting precreation service with check interval of 10m0s, advance period of 30m0s
[snapshot] 2016/01/22 23:34:28 Starting snapshot service
[copier] 2016/01/22 23:34:28 Starting copier service
[admin] 2016/01/22 23:34:28 Starting admin service
[admin] 2016/01/22 23:34:28 Listening on HTTP: [::]:8083
[continuous_querier] 2016/01/22 23:34:28 Starting continuous query service
[httpd] 2016/01/22 23:34:28 Starting HTTP service
[httpd] 2016/01/22 23:34:28 Authentication enabled: false
[httpd] 2016/01/22 23:34:28 Listening on HTTP: [::]:8086
[retention] 2016/01/22 23:34:28 Starting retention policy enforcement service with check interval of 30m0s
[run] 2016/01/22 23:34:28 Listening for signals
[http] 2016/01/22 23:34:34 ::1 - - [22/Jan/2016:23:34:34 +0100] GET /ping HTTP/1.1 204 0 - InfluxDBShell/0.10.0-nightly-72c6a51 4fb3d13e-c158-11e5-8001-000000000000 82.672µs
[query] 2016/01/22 23:34:34 SHOW DIAGNOSTICS FOR registration
[http] 2016/01/22 23:34:34 ::1 - - [22/Jan/2016:23:34:34 +0100] GET /query?db=&epoch=ns&q=SHOW+DIAGNOSTICS+for+%27registration%27 HTTP/1.1 200 40 - InfluxDBShell/0.10.0-nightly-72c6a51 4fb3e57a-c158-11e5-8002-000000000000 1.250904ms
[query] 2016/01/22 23:34:38 SHOW DATABASES
[http] 2016/01/22 23:34:38 ::1 - - [22/Jan/2016:23:34:38 +0100] GET /query?db=&epoch=ns&q=show+databases HTTP/1.1 200 98 - InfluxDBShell/0.10.0-nightly-72c6a51 522339ca-c158-11e5-8003-000000000000 3.443317ms
and heres CLI:
[root@LON-CAB6-01 604]# systemctl start influxdb
[root@LON-CAB6-01 604]# influx
Visit https://enterprise.influxdata.com to register for updates, InfluxDB server management, and monitoring.
Connected to http://localhost:8086 version 0.10.0-nightly-72c6a51
InfluxDB shell 0.10.0-nightly-72c6a51

show databases
name: databases

name
_internal

im gonna await till sunday then just kick it all out and restart empty database(s) from <IP_ADDRESS> stable.

gave up... went all way back to <IP_ADDRESS>


[release/2.1] Add online tarball builds back in.

Some issue only repro with an only tarball build - e.g. PR #653.
This is a partial reversion of b5a02e93099cbef7ad5e6fce3800903322859f7c - I left the offline CentOS build leg in.
Skip CI please.

@dotnet-bot test CI please.

@dotnet-bot test CI please

@dotnet-bot test CI please.


Revert MTU probe changes

This did not fix the issue with Openshift clusters
Signed-off-by: Aswin Surayanarayanan<EMAIL_ADDRESS>

This revert is urgent so we can continue with rebasing #1500


fix ISA_MASK

Fix crash in getClassRW described in this issue: crash caused by wrong ISA_MASK.
ISA_MASK should be 0x0000000ffffffff8UL in arm64, see  objc-private.h.

ISA_MASK before iOS 9 is 0x00000001fffffff8UL, in and after iOS 9, it's changed to 0x0000000ffffffff8UL.
This can be confirmed from objc_getMetaClass in libobjc.A.dylib in system frameworks: iOS-System-Symbols.
So we should use different  ISA_MASK in different iOS system version.

“ISA_MASK before iOS 9 is 0x00000001fffffff8UL, in and after iOS 9, it's changed to 0x0000000ffffffff8UL”
why it happened just after iOS12， not iOS9～iOS11+？

After iOS 12, pointer value may be greater than 0x00000001fffffff8UL, such as NSException <0x0000000280045590>, so 0x0000000280045590 ^ 0x00000001fffffff8UL will get wrong pointer.
Before iOS 12,  pointer value is not greater than 0x00000001fffffff8UL, such as NSException <0x0000000180045590>, so 0x0000000180045590 ^ 0x00000001fffffff8UL can still get the right pointer.

After iOS 12, pointer value may be greater than 0x00000001fffffff8UL, such as NSException <0x0000000280045590>, so 0x0000000280045590 ^ 0x00000001fffffff8UL will get wrong pointer.
Before iOS 12, pointer value is not greater than 0x00000001fffffff8UL, such as NSException <0x0000000180045590>, so 0x0000000180045590 ^ 0x00000001fffffff8UL can still get the right pointer.

Thank you for your reply!
The problem just happened when the object is kind of class----- NSException, it seems that apple treat NSException class differently with others. is that right?


iodocs npm start don't run on mac

hi, I run 'npm start' fails  like this error ,but ‘config.json file already exists  in root path.
Starting child process with 'node app'
File /Users/flat_peach/Downloads/iodocs/config.json not found or is invalid.  Try: `cp config.json.sample config.json`
Program node app exited with code 1

Same issue

@chuvpilo  That's OK !  Thanks for your help~

Any time @PanYuntao :)


Code that checks the existence of a file

What feature do you want to get added on the base engine?
is like:
checkFileExistence(type:String, name:String)
examples:
if not checkFileExistence('json', 'events') then
    close()
end

if checkFileExistence('png', 'somethingLmao') then
    --do anything
end

To test your sight, and reliability, please select the option of what should NOT be requested.
Stage Editor, 6K+ support, and winning icons.

checkFileExistance(path:string)
I would format it like this...
But this should be added lol...


[DOC] Missing api documentation

What do you want to do?

[ ] Request a change to existing documentation
[ ] Add new documentation
[ ] Report a technical problem with the documentation
[X] Other

Tell us about your request. Provide a summary of the request and all versions that are affected.
In the issue https://github.com/opensearch-project/OpenSearch-Dashboards/issues/3714 I was asked to update links in Dev Tools console in Opensearch-Dashboards repo. I was asked to list all the missing docs. First I audited documentation values in JSON files in https://github.com/opensearch-project/OpenSearch-Dashboards/tree/main/src/plugins/console/server/lib/spec_definitions/json/generated. I found several missing docs, I will list respective filenames:

cat.master
cluster.delete_voting_config_exclusions
cluster.pending_tasks
cluster.post_voting_config_exclusions
cluster.state
cluster.reroute
field_caps
indices.add_block
indices.flush_synced
indices.flush
indices.forcemerge
indices.get_upgrade
indices.recovery
indices.refresh
indices.resolve_index
indices.rollover
indices.segments
indices.shard_stores
indices.simulate_index
indices.simulate_template
indices.stats
indices.upgrade
indices.validate_query
ingest.processor_grok
mtermvectors
remote_store.restore
search_shards
snapshot.cleanup_repository
snapshot.clone
termvectors

Another important notes is that only PUT _component_template is documented while DELETE, HEAD and GET are not.
Additionally, in reindex, delete by query and update by query rethrottle variations are not documented (reindex_rethrottle, delete_by_query_rethrottle, update_by_query_rethrottle).
Lastly after checking https://github.com/opensearch-project/OpenSearch-Dashboards/tree/main/src/plugins/console/server/lib/spec_definitions/js/ingest.ts it seems like a lot of processors are not documented. The list:

append-processor
bytes-processor
ingest-circle-processor
convert-processor
date-index-name-processor
dissect-processor
dot-expand-processor
drop-processor
fail-processor
foreach-processor
geoip-processor
gsub-processor
htmlstrip-processor
inference-processor
join-processor
kv-processor
pipeline-processor
remove-processor
rename-processor
script-processor
set-processor
ingest-node-set-security-user-processor
sort-processor
urldecode-processor
user-agent-processor

Please tell me if missed something and they are actually documented. Also, please comment if you need additional any additional info.
What other resources are available? Provide links to related issues, POCs, steps for testing, etc.
https://github.com/opensearch-project/documentation-website/issues/url

Thanks for entering this issue, Sirazh! We have a number of APIs in our backlog to document: https://github.com/opensearch-project/documentation-website/issues?q=is%3Aissue+is%3Aopen+label%3AAPI, so we can cross-check against your list.

Assigning to @ariamarble , since she is assigned to the other APIs, and @kolchfa-aws for visibility.

Hi @curq - The missing processors are being addressed according to this issue: https://github.com/opensearch-project/documentation-website/issues/4193
Removed @ariamarble and added @vagimeli.

I did a check to see if we had issues for the undocumented APIs. Most of them do, but I commented if it doesn't.

[ ] cat.master - no issue exists
[ ] cluster.delete_voting_config_exclusions https://github.com/opensearch-project/documentation-website/issues/2092
[ ] cluster.pending_tasks https://github.com/opensearch-project/documentation-website/issues/2092
[ ] cluster.post_voting_config_exclusions https://github.com/opensearch-project/documentation-website/issues/2092
[ ] cluster.state https://github.com/opensearch-project/documentation-website/issues/2092
[ ] cluster.reroute https://github.com/opensearch-project/documentation-website/issues/2092
[ ] field_caps - no issue exists
[ ] indices.add_block - no issue exists
[ ] indices.flush_synced - https://github.com/opensearch-project/documentation-website/issues/2096
[ ] indices.flush-  https://github.com/opensearch-project/documentation-website/issues/2096
[ ] indices.forcemerge -https://github.com/opensearch-project/documentation-website/issues/2097
[ ] indices.get_upgrade - no issue exists
[ ] indices.recovery -https://github.com/opensearch-project/documentation-website/issues/2098
[ ] indices.refresh - https://github.com/opensearch-project/documentation-website/issues/2099
[ ] indices.resolve_index - https://github.com/opensearch-project/documentation-website/issues/2114
[ ] indices.rollover  https://github.com/opensearch-project/documentation-website/issues/2100
[ ] indices.segments - https://github.com/opensearch-project/documentation-website/issues/2101
[ ] indices.shard_stores - https://github.com/opensearch-project/documentation-website/issues/2102
[ ] indices.simulate_index - https://github.com/opensearch-project/documentation-website/issues/2115
[ ] indices.simulate_template - https://github.com/opensearch-project/documentation-website/issues/2115
[ ] indices.stats - https://github.com/opensearch-project/documentation-website/issues/2103
[ ] indices.upgrade - no issue exists
[ ] indices.validate_query -https://github.com/opensearch-project/documentation-website/issues/2104
[ ] ingest.processor_grok - https://github.com/opensearch-project/documentation-website/issues/2105
[ ] mtermvectors - https://github.com/opensearch-project/documentation-website/issues/2108
[ ]  remote_store.restore - no issue exists
[ ] search_shards - https://github.com/opensearch-project/documentation-website/issues/2110
[ ] snapshot.cleanup_repository - https://github.com/opensearch-project/documentation-website/issues/2111
[ ] snapshot.clone - https://github.com/opensearch-project/documentation-website/issues/2111
[ ] termvectors -https://github.com/opensearch-project/documentation-website/issues/2108

We also have issues for these that are not in the above list:

[ ] DELETE /_component_template/ - https://github.com/opensearch-project/documentation-website/issues/2113
[ ] HEAD /_component_template/ https://github.com/opensearch-project/documentation-website/issues/2113
[ ] GET /_component_template/ https://github.com/opensearch-project/documentation-website/issues/2113
[ ] POST /_component_template/ (already have PUT)https://github.com/opensearch-project/documentation-website/issues/2113
[ ] POST /_delete_by_query/<task_id>/_rethrottle -https://github.com/opensearch-project/documentation-website/issues/2112
[ ] POST /_update_by_query/<task_id>/_rethrottle https://github.com/opensearch-project/documentation-website/issues/2112
[ ] POST /_reindex/<task_id>/_rethrottle https://github.com/opensearch-project/documentation-website/issues/2112

I did a check to see if we had issues for the undocumented APIs. Most of them do, but I commented if it doesn't.
* [ ]  cat.master - no issue exists This is documented https://opensearch.org/docs/latest/api-reference/cat/cat-cluster_manager/

* [ ]  cluster.delete_voting_config_exclusions [[DOC]Create documentation for _cluster APIs #2092](https://github.com/opensearch-project/documentation-website/issues/2092)

* [ ]  cluster.pending_tasks [[DOC]Create documentation for _cluster APIs #2092](https://github.com/opensearch-project/documentation-website/issues/2092)

* [ ]  cluster.post_voting_config_exclusions [[DOC]Create documentation for _cluster APIs #2092](https://github.com/opensearch-project/documentation-website/issues/2092)

* [ ]  cluster.state [[DOC]Create documentation for _cluster APIs #2092](https://github.com/opensearch-project/documentation-website/issues/2092)

* [ ]  cluster.reroute [[DOC]Create documentation for _cluster APIs #2092](https://github.com/opensearch-project/documentation-website/issues/2092)

* [ ]  field_caps - no issue exists The issue is #2094

* [ ]  indices.add_block - no issue exists

* [ ]  indices.flush_synced - [[DOC]Create documentation for _flush APIs #2096](https://github.com/opensearch-project/documentation-website/issues/2096)

* [ ]  indices.flush-  [[DOC]Create documentation for _flush APIs #2096](https://github.com/opensearch-project/documentation-website/issues/2096)

* [ ]  indices.forcemerge -[[DOC]Create documentation for _forcemerge API #2097](https://github.com/opensearch-project/documentation-website/issues/2097)

* [ ]  indices.get_upgrade - no issue exists

* [ ]  indices.recovery -[[DOC]Create documentation for _recovery API #2098](https://github.com/opensearch-project/documentation-website/issues/2098)

* [ ]  indices.refresh - [[DOC]Create documentation for _refresh API #2099](https://github.com/opensearch-project/documentation-website/issues/2099)

* [ ]  indices.resolve_index - [[DOC]Create documentation for _resolve API #2114](https://github.com/opensearch-project/documentation-website/issues/2114)

* [ ]  indices.rollover  [[DOC]Create documentation for _rollover API #2100](https://github.com/opensearch-project/documentation-website/issues/2100)

* [ ]  indices.segments - [[DOC]Create documentation for _segments API #2101](https://github.com/opensearch-project/documentation-website/issues/2101)

* [ ]  indices.shard_stores - [[DOC]Create documentation for _shard_stores API #2102](https://github.com/opensearch-project/documentation-website/issues/2102)

* [ ]  indices.simulate_index - [[DOC]Create documentation for _index_template API #2115](https://github.com/opensearch-project/documentation-website/issues/2115)

* [ ]  indices.simulate_template - [[DOC]Create documentation for _index_template API #2115](https://github.com/opensearch-project/documentation-website/issues/2115)

* [ ]  indices.stats - [[DOC]Create documentation for _stats API #2103](https://github.com/opensearch-project/documentation-website/issues/2103)

* [ ]  indices.upgrade - no issue exists

* [ ]  indices.validate_query -[[DOC]Create documentation for _validate API #2104](https://github.com/opensearch-project/documentation-website/issues/2104)

* [ ]  ingest.processor_grok - [[DOC]Create documentation for GET /_ingest/processor/grok API #2105](https://github.com/opensearch-project/documentation-website/issues/2105)

* [ ]  mtermvectors - [[DOC]Create documentation for _mtermvectors API #2108](https://github.com/opensearch-project/documentation-website/issues/2108)

* [ ]   remote_store.restore - no issue exists

* [ ]  search_shards - [[DOC]Create documentation for _search_shards API #2110](https://github.com/opensearch-project/documentation-website/issues/2110)

* [ ]  snapshot.cleanup_repository - [[DOC]Create documentation for _snapshot API #2111](https://github.com/opensearch-project/documentation-website/issues/2111)

* [ ]  snapshot.clone - [[DOC]Create documentation for _snapshot API #2111](https://github.com/opensearch-project/documentation-website/issues/2111)

* [ ]  termvectors -[[DOC]Create documentation for _mtermvectors API #2108](https://github.com/opensearch-project/documentation-website/issues/2108)

See PR #4299 for updates on processors documentation

Let's keep this open until we have all APIs complete.

Additional missing APIs uncovered:

[ ] PUT data_streams
[ ] DELETE data_streams
[ ] GET data_streams
[ ] PUT data_streams/migrate
[ ] GET data_streams/promote
[ ] PUT data_streams/modify

I propose we invest some hands into https://github.com/opensearch-project/documentation-website/issues/7700 to bridge all the gaps with automation.


Get text to flush left

Hello,
first off, thanks for this awesome package. It's been the base for several of my projects.
In my latest, I'm trying for a more OSR-vibe layout, one-column, and while it looks good, I find that text doesn't get flushed left. And when I tried to add the ragged2e package, I found that it's already being used (because of an error message Overleaf threw at me).
Now, try as I might, I wasn't able to fix that. Can someone point out to me, what I could do? I'm thinking to either completely removed all traces of the existing usage of ragged2e, or find a way to set it to do what I want (flush left).
Thanks kindly.

I can report that I managed to fix it a day or two later, but unfortunately I don't remember what the issue was. Sorry. :(


Feat: Combining/referencing variants to avoid conflicting classNames

I have this component:
const Text = w.p(
  ``,
  {
    variants: {
      size: {
        'base' : 'text-base',
      },
      weight: {
        normal: 'font-normal',
      },
      variant: {
        h1: 'font-bold text-8xl',
       base: 'font-normal text-base',
      },
    },
    defaultVariants: {
      variant: 'base',
      weight: 'normal',
      size: 'base',
    }
  }
);

I render this:
<Text variant="h1">Heading 1</Text>

the output I get:

Heading 1

The issue here is the output has conflicting classNames and it shows a normal font instead of bold.
The question would be, how can I make the variant reference the size and weight so specifying the variant acts just like specifying both weight and size and I won't get those conflicting classNames? or how can I make the defaultVariants not apply if the variant prop is specified?
the expected result is
I render this:
<Text variant="h1">Heading 1</Text>

The output should be:

Heading 1

Sure. Take your time.

This is another great point. Something we definitely need to implement. Stiches JS has Compound Variants https://stitches.dev/docs/variants#compound-variants
We probably can take ideas from that.
What do you think?

Hey @AbdallahAbis, check this out https://windstitch.vercel.app/docs/compound-variants ;)


provide type hint for ExpressionFunctionProviderInterface for Symfony 6.4 + 7.0 Support

Add missing type implementation for Symfony 6.4 + 7.0 support. As \Flagception\Constraint\Provider\MatchProvider already upgraded, there should be no breaking changes.
This also allows the bundle to working with Symfony 6.4 / 7.0. Releasing a new new tag would nice, so a contribution on bundle repo can be done also.

One Job is failing cause of issues with coverage badge generation but I merge it and will fix ci later.

https://github.com/playox/flagception-sdk/releases/tag/1.9.1


[BUG] Calling FaceAPIManager.authenticate(String, String) to authenticate does not set Azure region

Describe the bug
Calling the FaceAPIManager.authenticate(String, String) overload to create a Face API client fails to set a private member variable, which later results in thrown exceptions when you call the methods of the Faces interface.
Exception or Stack Trace
Parameter this.client.azureRegion() is required and cannot be null.
java.lang.IllegalArgumentException: Parameter this.client.azureRegion() is required and cannot be null.
        at com.microsoft.azure.cognitiveservices.vision.faceapi.implementation.FacesImpl.detectWithUrlWithServiceResponseAsync(FacesImpl.java:701)
        at com.microsoft.azure.cognitiveservices.vision.faceapi.implementation.FacesImpl.detectWithUrl(FacesImpl.java:658)
        at FindSimilar.main(FindSimilar.java:64)

To Reproduce
Steps to reproduce the behavior:

Create a Face API client with FaceAPIManager.authenticate(String, String). Note: to use FaceAPIManager, I am referencing azure-cognitiveservices-faceapi-1.0.2-beta.jar, which I compiled from https://github.com/Azure/azure-sdk-for-java. For more information see: https://github.com/Azure/azure-sdk-for-java/issues/3640.
Call a method like Faces.detectWithUrl.
An exception is thrown.

Code Snippet
String subscriptionKey = "<insert key here>";
String faceEndpoint = "https://westus.api.cognitive.microsoft.com";
String imageUrl = "https://www.biography.com/.image/t_share/MTQ1MzAyNzYzOTgxNTE0NTEz/john-f-kennedy---mini-biography.jpg";
FaceAPI client = FaceAPIManager.authenticate(faceEndpoint, subscriptionKey);
List<DetectedFace> detectedFaces = client.faces().detectWithUrl(imageUrl, new DetectWithUrlOptionalParameter().withReturnFaceId(true));

Expected behavior
Calling the FaceAPIManager.authenticate(String, String) overload to create a Face API client lets me call the methods of the Faces interface without errors.
Screenshots
N/A
Setup (please complete the following information):

OS: Windows 10 Pro 1804
IDE: None
Version of the Library used: 1.0.2-beta (compiled from downloaded Github repo https://github.com/Azure/azure-sdk-for-java)

Additional context
FaceAPIManager.authenticate(String, String) does not set the Azure region, unlike other overrides such as FaceAPIManager.authenticate(AzureRegions, String):
https://github.com/Azure/azure-sdk-for-java/blob/master/cognitiveservices/data-plane/vision/faceapi/src/main/java/com/microsoft/azure/cognitiveservices/vision/faceapi/FaceAPIManager.java#L24
public static FaceAPI authenticate(AzureRegions region, String subscriptionKey) {
    return authenticate("https://{AzureRegion}.api.cognitive.microsoft.com/face/v1.0/", subscriptionKey)
        .withAzureRegion(region);
}

FaceAPIImpl.withAzureRegion simply sets the azureRegion private member variable that is accessed by FaceAPIImpl.azureRegion.
https://github.com/Azure/azure-sdk-for-java/blob/master/cognitiveservices/data-plane/vision/faceapi/src/main/java/com/microsoft/azure/cognitiveservices/vision/faceapi/implementation/FaceAPIImpl.java#L49
public FaceAPIImpl withAzureRegion(AzureRegions azureRegion) {
    this.azureRegion = azureRegion;
    return this;
}

However, FaceAPIManager.authenticate(String, String) calls FaceAPIManager.authenticate(String, ServiceClientCredentials), neither of which calls FaceAPIImpl.withAzureRegion. This is probably because AzureRegions is an enum type and baseURL is a string, so they would need to parse the URL or just scan it for known AzureRegions values.
https://github.com/Azure/azure-sdk-for-java/blob/master/cognitiveservices/data-plane/vision/faceapi/src/main/java/com/microsoft/azure/cognitiveservices/vision/faceapi/FaceAPIManager.java#L77
public static FaceAPI authenticate(String baseUrl, ServiceClientCredentials credentials) {
    return new FaceAPIImpl(baseUrl, credentials);
}

FaceAPIImpl.initialize creates an instance of FacesImpl and passes itself to the constructor.
https://github.com/Azure/azure-sdk-for-java/blob/master/cognitiveservices/data-plane/vision/faceapi/src/main/java/com/microsoft/azure/cognitiveservices/vision/faceapi/implementation/FaceAPIImpl.java#L211
protected void initialize() {
// ...
    this.faces = new FacesImpl(restClient().retrofit(), this);

The FacesImpl saves the FacesAPIImpl instance.
https://github.com/Azure/azure-sdk-for-java/blob/master/cognitiveservices/data-plane/vision/faceapi/src/main/java/com/microsoft/azure/cognitiveservices/vision/faceapi/implementation/FacesImpl.java#L63
public FacesImpl(Retrofit retrofit, FaceAPIImpl client) {
    this.service = retrofit.create(FacesService.class);
    this.client = client;
}

FacesImpl's methods, such as detectWithUrlWithServiceResponseAsync, perform the following check, which throws, because FaceAPIImpl.azureRegion was not set.
if (this.client.azureRegion() == null) {
    throw new IllegalArgumentException("Parameter this.client.azureRegion() is required and cannot be null.");
}

My suggestion re: the fix would be to change FaceAPIManager.authenticate(String, String) and/or FaceAPIManager.authenticate(String, ServiceClientCredentials) to call FaceAPIImpl.withAzureRegion. They'll likely need the parse the base URL or maybe just scan it for known AzureRegions values.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Bug Description Added
[x] Repro Steps Added
[x] Setup information Added

Thank you for opening this issue! We are routing it to the appropriate team for follow up.

Hi @kurtzeborn, do you happen to know the status for this issue?  Thanks much.

@milismsft @ryogok

Hello @v-jaswel,
Can you try using the withAzureRegion API along with the authenticate(String, String) method?
FaceAPI client = FaceAPIManager.authenticate(faceEndpoint, subscriptionKey).withAzureRegion(AzureRegions.WESTUS2)

Let us know if this is still an issue.


Run the integration tests in FIPS mode

@btm @adamedx

FIPS acceptance tests is over 1.5hrs already, and our limit is 1. We need to fix that before we run integration tests, sadly :( However, if we ran the integration tests simultaneously with the unit+functional tests, it might not increase overall time, in which case this would be fine. This could be done by adding a fips-integration to .kitchen.yml and running them in those separate instances.

The FIPS tests with integration seem to be throwing some memory allocation errors.  I have made a cursory investigation but I need to look at it more closely.  Consider this PR WIP until then.  The tests seem to pass locally but something about the way we run it in acceptance is making it unhappy.
I'll update this when I've dug into the issue some more.

I have finished cleaning up the tests and the log outputs.  Running the tests in parallel brings FIPS overall test timing down to 15 minutes.  This is now ready for review /cc @mwrock @PrajaktaPurohit @randomcamel @btm

:+1:

[Current coverage][cc-pull] is 100%

Merging [#4642][cc-pull] into [master][cc-base-branch] will increase coverage by +100%

@@           master   #4642   diff @@
=====================================
  Files           0       0
  Lines           0       0
  Methods         0       0
  Branches        0       0
=====================================
  Hits            0       0
  Misses          0       0
  Partials        0       0

[][cc-pull]

Powered by Codecov. Last updated by 38923eb
[cc-base-branch]: https://codecov.io/gh/chef/chef/branch/master?src=pr
[cc-pull]: https://codecov.io/gh/chef/chef/pull/4642?src=pr


Brew upgrade only download, but do not upgrade

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

[ ] are reporting a bug others will be able to reproduce and not asking a question. If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh
[ ] ran a brew command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Homebrew/homebrew-core: https://github.com/Homebrew/homebrew-core/issues/new/choose. If it's a brew cask problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.
[X] ran brew update and can still reproduce the problem?
[X] ran brew doctor, fixed all issues and can still reproduce the problem?
[X] ran brew config and brew doctor and included their output with your issue?

To help us debug your issue please explain:

What you were trying to do (and why)
What happened (include command output)
What you expected to happen
Step-by-step reproduction instructions (by running brew commands)

Homebrew is suddenly no longer able to upgrade packages after it downloads them.
Below is exactly the procedure I followed (brew commands plus outputs):
★  brew update
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
Updated Homebrew from 25542d7 to 0d33aba.
 This is all I have after running the command brew upgrade
I then type again:
★  brew outdated
brew-cask-completion (2.1) < 2.1_1
ffmpeg (4.0) < 4.0.1
gdbm (1.14.1_1) < 1.16
gnu-sed (4.2.2) < 4.5 [pinned at 4.2.2]
grep (2.27, 2.28) < 3.1 [pinned at 2.28]
harfbuzz (1.8.0) < 1.8.1_1
imagemagick (7.0.7-38, 7.0.7-39) < 7.0.8-3
libgcrypt (1.8.2) < 1.8.3
libyaml (0.1.7) < 0.2.1
lynis (2.6.4) < 2.6.5
node (10.4.0) < 10.5.0_1
parallel (20180522) < 20180622
perl (5.26.2) < 5.28.0
python (3.6.5) < 3.6.5_1
python@2 (2.7.15) < 2.7.15_1
rclone (1.41) < 1.42
streamlink (0.13.0) < 0.14.0
unbound (1.7.1) < 1.7.3
unrar (5.6.4) < 5.6.5
vim (8.1.0001) < 8.1.0100_1

Packages still remain outdated.

★  brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
  /usr/local/lib/libaspell.15.1.4.dylib
  /usr/local/lib/libpcre.0.dylib
  /usr/local/lib/libpspell.15.1.4.dylib

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
  /usr/local/include/aspell.h
  /usr/local/include/pspell/pspell.h

Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .la files:
  /usr/local/lib/libaspell.la
  /usr/local/lib/libpcre.la
  /usr/local/lib/libpcrecpp.la
  /usr/local/lib/libpcreposix.la
  /usr/local/lib/libpspell.la

Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  pdftohtml

Using brew doctor does not help since I always had the above output when brew upgrade did upgrade packages after their download.
★  brew config
HOMEBREW_VERSION: 1.6.9-33-g0d33aba
ORIGIN: https://github.com/Homebrew/brew
HEAD: 0d33aba0b7d8448e815a2eecc92417b46cb905f3
Last commit: 3 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 617ce4c81af575a5bb14ea67a19421ca5abc6f96
Core tap last commit: 17 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: --appdir=~/Applications/
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_LINKAGE_CACHE: 1
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.3.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3_2/bin/ruby
Clang: 8.0 build 800
Git: 2.10.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.43.0 => /usr/bin/curl
Java: 1.6.0_65-b14-468
macOS: 10.11.6-x86_64
CLT: <IP_ADDRESS>.1.1480973914
Xcode: N/A
XQuartz: 2.7.11 => /opt/X11

I just got the idea to run brew cleanup:
★  brew cleanup
Warning: Skipping brew-cask-completion: most recent version 2.1_1 not installed
Warning: Skipping ffmpeg: most recent version 4.0.1 not installed
Warning: Skipping harfbuzz: most recent version 1.8.1_1 not installed
Warning: Skipping imagemagick: most recent version 7.0.8-3 not installed
Warning: Skipping libgcrypt: most recent version 1.8.3 not installed
Warning: Skipping lynis: most recent version 2.6.5 not installed
Warning: Skipping node: most recent version 10.5.0_1 not installed
Warning: Skipping parallel: most recent version 20180622 not installed
Warning: Skipping python@2: most recent version 2.7.15_1 not installed
Warning: Skipping rclone: most recent version 1.42 not installed
Warning: Skipping streamlink: most recent version 0.14.0 not installed
Warning: Skipping unbound: most recent version 1.7.3 not installed

I don't understand the warnings. For example, for rclone package:
★  brew info rclone
rclone: stable 1.42 (bottled), HEAD
Rsync for cloud storage
https://rclone.org/
/usr/local/Cellar/rclone/1.41 (9 files, 38MB) *
  Poured from bottle on 2018-05-16 at 13:34:51
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/rclone.rb
==> Dependencies
Build: go ✔
==> Options
--HEAD
	Install HEAD version
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completions have been installed to:
  /usr/local/share/zsh/site-functions

I don't understand why it would refuse to upgrade rclone

Below, my fix to force package upgrade…
If the message Warning: Skipping  appears after running brew cleanup, then brew upgrade one package at at time. For example:
★  brew cleanup
Warning: Skipping harfbuzz: most recent version 1.8.1_1 not installed
Warning: Skipping lynis: most recent version 2.6.5 not installed

★  brew upgrade lynis harfbuzz
==> Upgrading 2 outdated packages, with result:
lynis 2.6.4 -> 2.6.5, harfbuzz 1.8.0 -> 1.8.1_1
==> Upgrading lynis
==> Downloading https://cisofy.com/files/lynis-2.6.5.tar.gz
==> Downloading from https://downloads.cisofy.com/lynis/lynis-2.6.5.tar.gz
######################################################################## 100.0%
🍺  /usr/local/Cellar/lynis/2.6.5: 97 files, 1.3MB, built in 2 seconds
==> Upgrading harfbuzz
==> Downloading https://homebrew.bintray.com/bottles/harfbuzz-1.8.1_1.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring harfbuzz-1.8.1_1.el_capitan.bottle.tar.gz
🍺  /usr/local/Cellar/harfbuzz/1.8.1_1: 151 files, 6.1MB

I'm seeing the same thing, its like homebrew doesn't loop over the packages correctly.
You can just keep running brew upgrade and it will upgrade a single package and upon processing the next candidate it just dies with exit code 1, after printing the name of the next package.
⤷ $ brew update && brew upgrade
Already up-to-date.
Error: Not upgrading 2 pinned packages:
postgresql 10.4, postgis 2.4.4_1
==> Upgrading 19 outdated packages, with result:
planck 2.14.0 -> 2.16.0, heroku/brew/heroku 7.0.88 -> 7.5.5, cmake 3.11.3 -> 3.11.4, gdal 2.3.0 -> 2.3.1, python 3.6.5 -> 3.6.5_1, redis 4.0.9 -> 4.0.10, libyaml 0.1.7 -> 0.2.1, maven 3.5.3 -> 3.5.4, shared-mime-info 1.9 -> 1.10, harfbuzz 1.8.0 -> 1.8.1_1, erlang 20.3.7 -> 21.0.1, awscli 1.15.30 -> 1.15.40, ruby-build 20180601 -> 20180618, numpy 1.14.4 -> 1.14.5, libgcrypt 1.8.2 -> 1.8.3, railwaycat/emacsmacport/emacs-mac emacs-26.1-z-mac-7.0 -> emacs-26.1-z-mac-7.1, getsentry/tools/sentry-cli 1.32.2 -> 1.33.0, mysql 5.7.22 -> 8.0.11, heroku/brew/heroku-node 10.4.0 -> 10.5.0
==> Upgrading heroku/brew/heroku-node
⤷ $

If you see this error (brew upgrade just stops and doesn't produce any output) and can reproduce: can you run brew upgrade --debug and paste your output here? @faxotherapy @kennethkalmer it'd be great if you could both do this, thanks! ❤

I've been seeing this for the past few days. brew upgrade --debug below, with initial (Formulary::TapLoader) lines removed:
Error: Not upgrading 1 pinned package:
html-xml-utils 7.7
==> Upgrading 3 outdated packages, with result:
perl 5.26.2 -> 5.28.0, python 3.6.5_1 -> 3.7.0, vim 8.1.0100 -> 8.1.0100_2
==> Upgrading perl
/Users/user/homebrew/Library/Homebrew/install.rb:35:in `exit'
/Users/user/homebrew/Library/Homebrew/install.rb:35:in `check_development_tools'
/Users/user/homebrew/Library/Homebrew/formula_installer.rb:224:in `install'
/Users/user/homebrew/Library/Homebrew/cmd/upgrade.rb:149:in `upgrade_formula'
/Users/user/homebrew/Library/Homebrew/cmd/upgrade.rb:96:in `block in upgrade'
/Users/user/homebrew/Library/Homebrew/cmd/upgrade.rb:93:in `each'
/Users/user/homebrew/Library/Homebrew/cmd/upgrade.rb:93:in `upgrade'
/Users/user/homebrew/Library/Homebrew/brew.rb:100:in `<main>'
$

Here is mine from
$ brew upgrade
Updated Homebrew from 0d33aba0b to 1e610ae7a.
...
brew upgrade --debug
...
==> Upgrading 9 outdated packages, with result:
planck 2.14.0 -> 2.16.0, coreutils 8.29 -> 8.30, heroku/brew/heroku 7.5.5 -> 7.5.7, gdal 2.3.1 -> 2.3.1_1, python 3.6.5_1 -> 3.7.0, awscli 1.15.40 -> 1.15.40_1, numpy 1.14.5 -> 1.14.5_1, railwaycat/emacsmacport/emacs-mac emacs-26.1-z-mac-7.0 -> emacs-26.1-z-mac-7.1, getsentry/tools/sentry-cli 1.32.2 -> 1.33.0
==> Upgrading getsentry/tools/sentry-cli
/usr/local/Homebrew/Library/Homebrew/install.rb:35:in `exit'
/usr/local/Homebrew/Library/Homebrew/install.rb:35:in `check_development_tools'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:224:in `install'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:149:in `upgrade_formula'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:96:in `block in upgrade'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:93:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:93:in `upgrade'
/usr/local/Homebrew/Library/Homebrew/brew.rb:100:in `<main>'


!playsound configuration

How can I enable/disable !playsound? I need to have tokens? Any way to make it work without tokens? Follower the wiki guide for install.
Pajlada bless me <3

Nvm, got it, was under Quest Module, just a some lack of info <3


Returning Zero Nodes with similarity_cutoff

Is there a solution for when I set similarity_cutoff and there are no nodes with a high enough float point?
Maybe there could be a separate prompt template for that case. For example, in my use case, I would like to find the top 5 closest nodes with .9 similarity_cutoff, and if there are none then I would like the model to try to answer the question without any added context.

been running into the same issue, i can't go above 0.7


feat(chatgpt): add theme

I couldn't get highlight.js to work using imports so I ended up copying the hljs code to the css, unsure if this has something to do with how the hljs port of rose pine is setup?

Resolved the comments now.


🧙♂ Typescript support

Hello, I tried to use this package along with Typescript, but I had some problems.
The main problem is that there isn't a @types/react-usestateref.

So I tried to use this method:
Add a new declaration (.d.ts) file containing "declare module 'react-usestateref';"
I created the global.d.ts file containing this code:
declare module 'react-usestateref';

but after that I got type errors when using the useState unfortunately.

It would be really great to have typescript support as well; let me know! 😊

Hello, I already opened a PR (#6) to migrate to TypeScript, I hope it will be merged soon 😃

Hello, I already opened a PR (#6) to migrate to TypeScript, I hope it will be merged soon 😃

Yeah, I saw it after opening the issue. Thank you very much :)


Using rand() for port number generations will lead to collisions

At the moment when you do IPv4 w/ mbed Client we're recommending this:
// Randomizing listening port for Certificate mode connectivity
   _server_address = server_address;
    srand(time(NULL));
    uint16_t port = rand() % 65535 + 12345;

The birthday paradox tells us that with 500 devices we're getting a 85% chance of collisions. That is a lot. Apparently having collisions is really bad, as @KalleVayrynen and @teetak01 explained:

Kalle Väyrynen [10:38 AM]
these NATs are problematic
Teemu Takaluoma [10:47 AM]
@janjongboom: client code should randomize the port-number to which it is listening normally, or is this not the case? I presume you are using mbed Client components
Kalle Väyrynen [10:49 AM]
I see client ports 5684 a lot
Teemu Takaluoma [10:52 AM]
that port really should only be used for the connection going to server
Kalle Väyrynen [11:00 AM]
Logs of few days for domain 680b... shows, sometimes port looks random, sometimes 5684,  few IPv4 addresses among IPv6, and sometimes those addresses even changes

We should find a better way of distributing port numbers here. Maybe put it in SECURITY_H file? As we can then use a counter and put it there. This way we're limiting the number of devices that can connect to Connector severely.

The original problem is not here but in the underlying network stack which should be supporting randomize port functionality. There is a inherent drawback for this system that you can only connect a limited set of devices if all of them decide to share the same IP address which is a fundamental issue here. Not sure how we can address this issue, when it is actually infrastructure problem.

decide to share the same IP address

Well, I'm assuming all my devices are behind a NAT, so not really a choice. Does 1000 devices on a single IP sound unreasonable?

FYI, there was a suggestion in #connector-service Slack to reject registration when a port number is already in use, making the device re-register (with another random number). That would help a bit (but not solve the underlying problem).

Well, I think this is more of an IPv4 problem, but it seems that having real IPv6 anywhere is still a dream.
Of course in case someone wants to have a network of 1000 devices they might have to have internal sub-networks to handle it in IPv4.

there was a suggestion in #connector-service Slack to reject registration when a port number is already in use
That's something server needs to address and client can handle the corresponding error message and retry with newer port.

ARM Internal Ref: IOTCLT-847

Does 1000 devices on a single IP sound unreasonable?

Extremely unreasonable. They end up sharing 65000 ports, causing exactly the sort of problems you're having here. Maybe not a problem if they were all talking to different servers, but if they're all talking to the same server, your collision chance approaches certainty. Servers are going to start getting upset with what comes out of the NAT.
If you want to run thousands of devices, you need more than 1 public IP address. That's why IoT is expected to use IPv6. (Tunneled over the IPv4 Internet if necessary).

it seems that having real IPv6 anywhere is still a dream.

Not sure that IPv6 is that much of a dream - my domestic cable ISP activated IPv6 last year for all customers. I've currently got 72,000,000,000,000,000 IP addresses, without even asking for them.
If going through a NAT, port collisions from the server's view are nothing to do with client port selections. If you're going through a NAT, it's the NAT choosing the public port. And it distinguishes devices based on internal IP address.
So I don't see any mbed-client issue here.


:robot: triggering CI on branch 'release-next' after synching from upstream/main

Codecov Report
Patch and project coverage have no change.

Comparison is base (070798f) 48.94% compared to head (070798f) 48.94%.

:exclamation: Current head 070798f differs from pull request most recent head b7bd41a. Consider uploading reports for the commit b7bd41a to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.
Additional details and impacted files
@@              Coverage Diff              @@
##           release-next     #672   +/-   ##
=============================================
  Coverage         48.94%   48.94%
=============================================
  Files                96       96
  Lines             13090    13090
=============================================
  Hits               6407     6407
  Misses             6047     6047
  Partials            636      636

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

OCF Webhook is merging this PR


Keep minimum weight edge when merging parallel boundary edges in conversion from UserGraph to MatchingGraph/SearchGraph

When converting from a pm::UserGraph to a pm::MatchingGraph or pm::SearchGraph, all boundary nodes in the pm::UserGraph are merged into one virtual boundary node. This can sometimes lead to parallel boundary edges during the conversion. Previously, when these parallel boundary edges arose, only the first-added boundary edge was kept, leading to issue #81. This PR fixes the issue by keeping only the minimum-weight parallel boundary edge, since this edge is guaranteed to be chosen over the others by blossom.
Fixes #81.

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

Comparison is base (c30fcce) 100.00% compared to head (30b2b70) 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##            master       #86   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines          337       337
=========================================
  Hits           337       337

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


feat: telegraf editor design work

@alexpaxton took a pass through the UI for influxdata/idpe#5399 based on feedback from product and with some context of future plans from design. Things got moved around and buttoned up. Also, the color palette isn't so chaotic.

:100: :fire:


[Feature Request]: Add support for cusomization of notebook pod nodeAffinity in the config

Feature description
In #406, we added the default application of nvidia.com/gpu for any non-gpu nodes.  The current implementation is hardcoded for a specific deployment scenario with no support for disabling it or providing user customization.
I think a Dashboard/notebook admin should be able to to manage:

If/whennodeAffinity is applied to a pod
What nodeAffinity expression is applied

If the Dashboard designated two states for the application of  nodeAffinity and toleration to gpu-notebook and non-gpu-noteook then you can apply the proper values/expression based on admin input.  Affinity/toleration would be applied if any value was found in the DashboardConfig
Describe alternatives you've considered
No alternatives since the dashboard does not currently support user input of notebook configuration beyond Image, Size and ENV var
Anything else?
N/A

Converting this to a bug -- we shouldn't have added a feature that does not always apply. We need to be able to sub-configure this item.
cc @LaVLaS do we think this should be a UI toggle-able thing? Or can an entry in the ODH Dashbaord Config work?
I assume this is critical for 1.16? cc @jkoehler-redhat

@cfchase thoughts on priority?

It looks like non-gpu pods prefer non-gpu nodes, which seems like a reasonable default for 1.16 and I don't think there's a risk leaving it this way.  I would like to see the feature of adding affinity along with tolerations, but I don't think it's required for 1.16 and would require changes to the OdhDashboardConfig CRD and it's late for that.

I don't think this is a bug, it is fully compatible with an environment with no GPUs:

GPU environment ->  Normal notebooks are scheduled on non-GPU nodes.
Non-GPU environment -> Normal notebooks are scheduled on any node (except masters).

I like the idea of making affinity configurable but to me this is not a bug, I understand this is similar to https://github.com/opendatahub-io/odh-dashboard/issues/338 but with affinities.

Moving to closed based on all of the accelerator work done at the end of 2023 - if this is still an issue, please reopen in jira (or tag me and I'll move it).


⚠ Jenkins Plugins Artifactory has degraded performance

In ba1cce4, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1960 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 424ed8e after 38 minutes.


XStore remove function does not work

Hi,
thanks for this nice library!
One thing i discovered: xStore.remove function does not remove the item from the storage:
Line 150 should be modified from:
delete this.store[keys[i]];
to:
this.store.removeItem(keys[i]);
Thanks!

Oh, you're right.
Thanks for the help, I've fixed it :)


"Allow multiple units with the same callsign and department per user" is broken

What version of Node.js are you using?
18
What operating system are you using?
Windows
What version of SnailyCAD are you currently using?
1.80.0
Describe the Bug
When enabling "Allow multiple units with the same callsign and department per user" in the CAD settings under features, officers are still unable to use the same call-sign, despite the feature being enabled to allow them.

Expected Behavior
It should allow officers to use the same call-sign as an existing officer with this feature enabled.
To Reproduce
Enable "Allow multiple units with the same callsign and department per user" in the CAD feature settings, then attempt to create the same call-sign as another officer.

This feature does work properly. The callsign 1B-01 is already used by another officer by a different user. Only the same user may have the same callsign for a different officer


3328 Fixed drag and drop for kusto tables with spaces

Created function getProviderNameForElement. Added logic to add [@" "] around table names with spaces.

This PR fixes #

Verified with Lens Explorer the [@" "] syntax is required to run queries against a table with spaces.

And what about escaping the " and/or "]? I assume you'll have to escape one/both of those somehow.

And what about escaping the " and/or "]? I assume you'll have to escape one/both of those somehow.

I verified in Lens Explorer this is the only syntax that works [@"1ES Day Attendees"]. I tried with [1ES Day Attendees], "1ES Day Attendees", and @"1ES Day Attendees". Everything returns a Syntax Error.

I'm saying what if the object contains a " and/or "] in its name. Try it with
Test "Object e.g. [@"Test "Object"]
Test "]Object e.g. [@"Test "]Object"]

I'm saying what if the object contains a " and/or "] in its name. Try it with
Test "Object e.g. [@"Test "Object"]
Test "]Object e.g. [@"Test "]Object"]

Great question! Looking at the documentation, entity names can't have special characters in their names.

Identifier naming rules
Identifiers are used to name various entities (entities or otherwise). Valid identifier names follow these rules:
They have between 1 and 1024 characters long.
They may contain letters, digits, underscores (_), spaces, dots (.), and dashes (-).
Identifiers consisting only of letters, digits, and underscores do not require quoting when the identifier is being referenced.
Identifiers containing at last one of (spaces, dots, or dashes) do require quoting (see below).
They are case-sensitive.

https://kusto.azurewebsites.net/docs/kusto/query/schema-entities/entity-names.html

Hmmm, so this is also a thing to be aware of :
Entity names that are language keywords must be quoted quoted using [' and '] or using [" and "]
At this point I think it'd just be better to always quote the name in [" and "] to avoid further issues there. This is what we do for the normal drag-and-drop behavior. Or do you have a reason for not wanting to do that?
(also - so the @ is expected in the string? The doc mentions nothing about a @ in the escape quotes...)

You're right (just tested). Thanks @ is not required. I added it just to stay consistent with Lens Explorer and Azure Data Explorer. It looks like ADE doesn't put the [""] around tables with spaces which makes the user add them separately. Lens and ADE only add the [""] when there's a space in the table name.


fix(nuxt): remove div wrapper in client-only pages

🔗 Linked issue
close #30417
close #30344

📚 Description
The reason we needed the div wrapper was because we were passing slots to ClientOnly. And slots in Vue are Fragments which Transition can't apply animations even if there's only one element.
This PR removes the div wrapper on client-only pages by cloning the component and making it client-only. This is almost identical to createClientOnly()
The reason createClientOnly isn't used is that it reads the current el html and returns a StaticVNode which <Transition> can't modify. So the remaining solution is to create a simplified createClientOnly that is suitable for page components.

BTW i'm planning to do some light refactors in client-only components to slightly reduce the amount of code.


Fix: Relative Imports

Add file extensions to relative imports to conform to ES module standard

I think this is not doing it recursively so for example in the messages/PongMessage.js it is using buf and not buf.js.
causing:
ERROR in ./node_modules/lnmessage/dist/messages/PongMessage.js 2:0-51
Module not found: Error: Can't resolve './buf' in 'xxx/node_modules/lnmessage/dist/messages'
Did you mean 'buf.js'?
BREAKING CHANGE: The request './buf' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.


Allow neo-cli to switch between RocksDB and LevelDB

TODO: Require changes when https://github.com/neo-project/neo/pull/1063 was merged
If you want to test RocksDB PR, you can use this branch

Yes, we can do real benchmarks between them now


expose npm login custom message

Current if npm login fail it will throw message in terminal

expect out put error message by getUnauthorized message.

It's a bug or a feature request? I'm not clear. Anyhow  what's the error specifically? Could you be more specific ?


error: uncaughtException: spawn git EMFILE

System information

OS: Ubuntu
TypeScript Hero version: 1.7.0
VSCode version: 1.19.0-insider

Description
vscode error alert being repeatedly fired from x in x seconds. The typescript hero log file displays the error below:
Steps to reproduce
typescript hero log:
2017-12-06T20:45:11.166Z - error: uncaughtException: spawn git EMFILE
Error: spawn git EMFILE
	at exports._errnoException (util.js:1050:11)
	at Process.__dirname.ChildProcess._handle.onexit (internal/child_process.js:193:32)
	at onErrorNT (internal/child_process.js:367:16)
	at _combinedTickCallback (internal/process/next_tick.js:80:11)
	at process._tickCallback (internal/process/next_tick.js:104:9) {"error":{"code":"EMFILE","errno":"EMFILE","syscall":"spawn git","path":"git","spawnargs":["remote","--verbose"]},"stack":"Error: spawn git EMFILE\n\tat exports._errnoException (util.js:1050:11)\n\tat Process.__dirname.ChildProcess._handle.onexit (internal/child_process.js:193:32)\n\tat onErrorNT (internal/child_process.js:367:16)\n\tat _combinedTickCallback (internal/process/next_tick.js:80:11)\n\tat process._tickCallback (internal/process/next_tick.js:104:9)","exception":true,"date":"Wed Dec 06 2017 18:45:11 GMT-0200 (-02)","process":{"pid":22717,"uid":1000,"gid":1000,"cwd":"/home/hoisel","execPath":"/usr/share/code-insiders/code-insiders","version":"v7.9.0","argv":["/usr/share/code-insiders/code-insiders","/usr/share/code-insiders/resources/app/out/bootstrap","--type=extensionHost"],"memoryUsage":{"rss":242208768,"heapTotal":190058496,"heapUsed":157383288,"external":3077081}},"os":{"loadavg":[5.63330078125,3.294921875,1.8759765625],"uptime":18996},"trace":[{"column":11,"file":"util.js","function":"exports._errnoException","line":1050,"method":"_errnoException","native":false},{"column":32,"file":"internal/child_process.js","function":"Process.__dirname.ChildProcess._handle.onexit","line":193,"method":"onexit","native":false},{"column":16,"file":"internal/child_process.js","function":"onErrorNT","line":367,"method":null,"native":false},{"column":11,"file":"internal/process/next_tick.js","function":"_combinedTickCallback","line":80,"method":null,"native":false},{"column":9,"file":"internal/process/next_tick.js","function":"process._tickCallback","line":104,"method":"_tickCallback","native":false}]}

This looks like an external error that winston just catched. I disabled the notification since there are other errors in vscode that are catched by winston


reconnect after ws timeout

split config in env specific config and constants

Signed-off-by: Andreas Hille<EMAIL_ADDRESS>

It does reload the page upon reconnect, but I think that's OK.


ROS2 humble, not able to install common ros binaries?

Hi there,
I was able to run ROSS humble container 32.7.1. I need to install additional packages, which I commonly install as binary by apt install ros-humble-....
but I always get
unable to localte package...
So you build ROS from source in these containers? Are they based on Ubuntu20 instead of 22.04?
I spend a lot of time with my Jetson Nano and it seems NVidia don't want to let me use it for something real.
Can't we just simply install a common Ubuntu22.04 server image to SD card? I don't need ML or OpenCV

I have the same problem for Ros2 Iron image (dustynv/ros:iron-ros-base-l4t-r32.7.1), trying to use the ros-iron-ros2-control packages. After spending hours trying to figure out why it doesn't work (again) , it seems that even the containers are running Ubuntu 18 !
# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.6 LTS
Release:	18.04
Codename:	bionic

So basically everything is built from source inside the containers and if you want to use something you have to figure out how to build it from source. Unfortunately that is not so easy ...
Another option is to use Ros2 Eloquent images , that aims for Ubuntu 18 and apt install should work, but is outdated since 2020 (see here)
So yeah, go and get an RPi if you don't need a GPU for machine learning on edge. Safe yourself a lot of time and frustration - I wish someone told me this months ago, because in all the 'getting started' videos it looks so easy, but I spent more time on setting up the Nano than actually doing anything on it.

@mischa-ai @PaddyCube if you don't need GPU acceleration, you can just use the upstream OSRF aarch64 containers using whatever base OS and the ROS packages from apt:

https://github.com/osrf/docker_images
https://hub.docker.com/r/arm64v8/ros/tags

if you want GPU acceleration, then you can compile ROS packages from source using rosinstall_generator / rosdep like here:

https://github.com/dusty-nv/jetson-containers/blob/c5efc12d51e42bf56e2c4408933ce47e4d1c2483/packages/ros/ros2_build.sh#L79
https://github.com/dusty-nv/jetbot_ros/blob/d8e5ee1b17f5c66d038017b86f8920a496197ea9/Dockerfile#L72

@dusty-nv thank you the link, I will try it out.
Yes that is exactly my problem, I want to run AI on the Nano.
I am using OSRF images on my notebook where everything works fine - so my question would be: why is it  not possible to use ubuntu 22.04 as base image for the nvidia images? I guess driver issues?


Highlighting of Pure React Components

The highlighting of Pure React components just changed with todays release:

Used To Be:

Was this intentional? Is there a way to switch it back?

Nothing has changed that would cause this to my knowledge. Are you sure you are using language-babel? Maybe it wasn't updated correctly? Below is one-dark, not sure what your theme is.

Thanks for the quick response!
It is the Monokai theme, but it was also happening with OneDark.
Rebooting my computer and atom made it go back to normal? Either way, it is fixed now.


can't insert â in xterm in modifyOtherKeys mode when  is mapped until an Ex command is run

Describe the bug
In xterm in modifyOtherKeys mode, some accented characters can't be inserted when some insert mode mappings are installed, until an Ex command is run.
To Reproduce
Open an xterm terminal.
Start Vim like this:
vim -Nu NONE +'ino <m-b> xxx' +'startinsert'

Type â; on an azerty keyboard layout, it means pressing the dead key for the circumflex accent ^, followed by a.  The result is that Vim inserts xxx.
Now, press Escape to get back to normal mode, : to enter the command-line, and Enter to run an empty command.  Finally, press i to enter insert-mode, and try again to insert â; this time, it works as expected; i.e. Vim inserts â.
Expected behavior
When typing â, Vim inserts â even if no Ex command has been run.
Screenshots

Environment

Vim version: 8.2 Included patches: 1-598
OS: Ubuntu 16.04.6 LTS
Terminal: XTerm(322)

Additional context
It doesn't matter which Ex command you run; however, you must run something; i.e. if you leave the command-line by pressing Escape instead of Enter, when you type â, Vim still uses the insert mode <m-b> mapping instead of inserting â.

Update: I've just found out that Vim correctly inserts â after you press <M-b> once.
But again, this is unexpected; Vim should insert â immediately, not after some other event has occurred.

As a workaround, I'm trying to make Vim enter the command-line at least once before entering insert mode:
au InsertEnter * ++once call feedkeys("\<c-\>\<c-o>:\<cr>", 'nt')

But it doesn't work.  I've tried passed the ++nested argument to :au, and the L flag to feedkeys(); it doesn't change anything.
OTOH, this works:
au InsertEnter * ++once call feedkeys("\<c-\>\<c-o>:", 'nt')

But you still have to press Enter to validate the empty command-line.  Something must happen when you press Enter, which feedkeys() can't emulate, but I don't know what it is.

As a workaround, I'm trying to make Vim enter the command-line at
least once before entering insert mode:
au InsertEnter * ++once call feedkeys("\<c-\>\<c-o>:\<cr>", 'nt')

But it doesn't work.  I've tried passed the ++nested argument to
:au, and the L flag to feedkeys(); it doesn't change anything.
OTOH, this works:
au InsertEnter * ++once call feedkeys("\<c-\>\<c-o>:", 'nt')

But you still have to press Enter to validate the empty command-line.
Something must happen when you press Enter, which feedkeys() can't
emulate, but I don't know what it is.

Vim doesn't anything special when going to the command line and back.
Have you tried other things, such as CTRL-L?  Or clicking the mouse?
I suspect the terminal is in some strange mode.
--
EXPERIENCE - experience is a wonderful thing. It enables you to
recognise a mistake when you make it again.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Vim doesn't anything special when going to the command line and back.
Have you tried other things, such as CTRL-L?  Or clicking the mouse?
I suspect the terminal is in some strange mode.

Clicking the mouse doesn't help, however pressing C-l does help.  It seems that pressing any control character interactively fixes the issue.  But as soon as I use feedkeys() to automate the keypress, the fix stops working.

Ah you were right.  Entering the command-line is irrelevant.  What matters is C-m.  I wrote Enter but in reality I always press C-m instead of Enter.  If I press the Enter key, the issue persists; but C-m like all control keys (except C-c) fixes the issue.

Vim doesn't anything special when going to the command line and back.
Have you tried other things, such as CTRL-L?  Or clicking the mouse?
I suspect the terminal is in some strange mode.

Clicking the mouse doesn't help, however pressing C-l does help.  It
seems that pressing any control character interactively fixes the
issue.  But as soon as I use feedkeys() to automate the keypress,
the fix stops working.

This very much sounds like the input method is not reset.
Try changing some of the 'im' options, such as 'iminsert' and
'imsearch'.
--
Imagine a world without hypothetical situations.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

I've tried all possible combinations of 'im' options (96):
" source this code in Vim
let counter = 0
for imdisable in ['imdisable', 'noimdisable']
    for iminsert in ['iminsert=0', 'iminsert=1', 'iminsert=2']
        for imstyle in ['imstyle=0', 'imstyle=1']
            for imsearch in ['imsearch=-1', 'imsearch=0', 'imsearch=1', 'imsearch=2']
                for imcmdline in ['noimcmdline', 'imcmdline']
                    let counter += 1
                    call writefile([printf('set %s %s %s %s %s | startinsert | ino <m-b> xxx', imdisable, iminsert, imstyle, imsearch, imcmdline)],
                        \ '/tmp/.test.'..printf('%02d', counter)..'.vim')
                endfor
            endfor
        endfor
    endfor
endfor

# run this shell command
$ for f in /tmp/.test.*.vim; do vim -Nu NONE -S "$f";done
" press dead key '^' followed by 'a'

The result is always the same: Vim inserts xxx instead of â.

I've tried all possible combinations of 'im' options (96):
" source this code in Vim
let counter = 0
for imdisable in ['imdisable', 'noimdisable']
    for iminsert in ['iminsert=0', 'iminsert=1', 'iminsert=2']
        for imstyle in ['imstyle=0', 'imstyle=1']
            for imsearch in ['imsearch=-1', 'imsearch=0', 'imsearch=1', 'imsearch=2']
                for imcmdline in ['noimcmdline', 'imcmdline']
                    let counter += 1
                    call writefile([printf('set %s %s %s %s %s | startinsert | ino <m-b> xxx', imdisable, iminsert, imstyle, imsearch, imcmdline)],
                        \ '/tmp/.test.'..printf('%02d', counter)..'.vim')
                endfor
            endfor
        endfor
    endfor
endfor

# run this shell command
$ for f in /tmp/.test.*.vim; do vim -Nu NONE -S "$f";done
" press dead key '^' followed by 'a'

The result is always the same: Vim inserts xxx instead of â.

Hmm, I wonder if the method that makes the dead key work is not an input
method but some other mechanism.  You mentioned that typing any key with
CTRL makes it work.  Does it also work when only pressing CTRL, without
any other key?
--
It's totally unfair to suggest - as many have - that engineers are socially
inept.  Engineers simply have different objectives when it comes to social
interaction.
(Scott Adams - The Dilbert principle)
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Does it also work when only pressing CTRL, without any other key?

No, it doesn't work with only pressing CTRL.  I need to combine CTRL with another key.


node.js crashes

let's chat crashes I use npm start.
here is the npm-debug.log...
http://pastebin.com/WkurazYZ
D:\user\lets-chat>npm run-script migrate

><EMAIL_ADDRESS>migrate D:\user\lets-chat
> migroose

D:\user\lets-chat>node app.js
D:\user\lets-chat\node_modules\mongoose\node_modules\mongodb\lib\server.js:228
        process.nextTick(function() { throw err; })
                                            ^
Error: Could not connect to database
    at NativeConnection.<anonymous> (D:\user\lets-chat\app.js:190:11)
    at NativeConnection.emit (events.js:104:17)
    at NativeConnection.Object.defineProperty.set (D:\user\lets-chat\node_modules\mongoose\lib\connection.js:105:14)
    at D:\user\lets-chat\node_modules\mongoose\lib\connection.js:444:23
    at D:\user\lets-chat\node_modules\mongoose\lib\drivers\node-mongodb-native\connection.js:57:21
    at D:\user\lets-chat\node_modules\mongoose\node_modules\mongodb\lib\db.js:203:14
    at null.<anonymous> (D:\user\lets-chat\node_modules\mongoose\node_modules\mongodb\lib\server.js:226:9)
    at g (events.js:199:16)
    at emit (events.js:110:17)
    at null.<anonymous> (D:\user\lets-chat\node_modules\mongoose\node_modules\mongodb\node_modules\mongodb-core\lib\topologies\server.js:255:68)
    at g (events.js:199:16)
    at emit (events.js:110:17)
    at null.<anonymous> (D:\user\lets-chat\node_modules\mongoose\node_modules\mongodb\node_modules\mongodb-core\lib\connection\pool.js:77:12)
    at g (events.js:199:16)
    at emit (events.js:110:17)
    at Socket.<anonymous> (D:\user\lets-chat\node_modules\mongoose\node_modules\mongodb\node_modules\mongodb-core\lib\connection\connection.js:118:49)

this is the error I get when I try the run-script migrate command.
for the record I have a mongodb instance running.
this is on windows 7 64-bit, I used the npm install (github.com/sdelements/lets-chat/wiki/Installation ) option

Is mongo running?

the last thing mongo tells me in the console = [initandlisten] waiting for connections on port 27017

@HeadhunterXamd oh sorry I misread your original post
Are you able to connect using mongo shell in cmd?

it seems that the connection is working
[initandlisten] connection accepted from <IP_ADDRESS>:50802 #1 (1 connection now open)

can this:
npm info it worked if it ends with ok
npm info using<EMAIL_ADDRESS>-----> npm info using<EMAIL_ADDRESS>npm info prestart<EMAIL_ADDRESS>
be a problem?

@HeadhunterXamd nah your node/npm versions look fine
Also this is not a problem with migroose, the error is being thrown from app.js :/

yeah, changed it.
When I look at the source code I see this:
/**
 * @fileOverview The **Server** class is a class that represents a single server topology and is
 * used to construct connections.
 *
 * **Server Should not be used, use MongoClient.connect**
 * @example
 * var Db = require('mongodb').Db,
 *   Server = require('mongodb').Server,
 *   test = require('assert');
 * // Connect using single Server
 * var db = new Db('test', new Server('localhost', 27017););
 * db.open(function(err, db) {
 *   // Get an additional db
 *   db.close();
 * });
 */

in the top of the source file at lets-chat\node_modules\connect-mongo\node_modules\mongodb\lib\server.js
what is this?

it seems to crash at line 228 of that server.js

Does mongo --host localhost work?

hmmm, yes it does...
should I make the database beforehand?

Maybe something is up with the connection string.
If you add console.log('uri: ', settings.database.uri);  at the bottom of app.js, what does it give you?

uri:  mongodb://localhost/letschat
it gives me this.

Yea that seems good too...
I don't know what's going on :(

which port does it use to connect to mongodb?

27017

seems to be correct... and still nothing? =/

can the problem be that my user is a domain account like computername.domain.local and user = username.domain.local?

alright seems to be fixed the problem came from a malformed hosts file...

@HeadhunterXamd haha that'll do it


Add feature to set the category header content limit in velocity

Add feature to set the category header content limit in velocity
By default, the limit is set in velocity theme for category content bar on the header, add the ability to set this without changing in code in the velocity-> header content
Suggestion link : https://forums.bagisto.com/topic/1615/in-velocity-theme-is-there-a-way-do-display-5-category-in-header
This repository is only for reporting bugs or issues. If you need support, please use
other channels:

Write an email -<EMAIL_ADDRESS>

Create support ticket on https://bagisto.uvdesk.com

Visit forums to get support from our community (https://forums.bagisto.com)

Alternatively, you may use Facebook (https://www.facebook.com/groups/bagisto/).
We promise that more channels are coming soon!!!

@shubhwebkul
getting the exception when save content header count in meta data

run php artisan migrate will solved the issue, working fine now


subdmoudle update lead to all ut failed

@qili93  recently paddle repo merged https://github.com/PaddlePaddle/Paddle/pull/51033, which introduce a lot of change of paddle.fluid.layers.utils --> paddle.utils
Short Term Actions

[ ] upgrade paddlecustomdevice's submodule paddle to newer on
[ ] link need .py file to paddlecustomdevice's  python/tests

Long Term Actions

[ ] move paddle test base to paddle wheel

@qili93

We have solved this problem in #444 , thanks for your advice!

We have solved this problem in #444 , thanks for your advice!

but all test still failed, and i am trying to fix it in #449


Allow file:// urls to fetch media files from

1. Why is this change necessary?
to allow file:// urls to fetch images from
2. What does this change do, exactly?
3. Describe each step to reproduce the issue or behaviour.
4. Please link to the relevant issues (if any).
5. Checklist

[ ] I have written tests and verified that they fail without my change
[ ] I have squashed any insignificant commits
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[ ] I have read the contribution requirements and fulfil them.

Although I really want to support this I assume this will be a problem, when file paths are not sanitized or validated, you can expose any whitelisted file on the system.

A documentation about how to import local images would make this pr useless :-D

I was just about to create the same pull request, as I did not find out how to import images, without using a workaround to ftp to the same server.
As for the security issue, is that not what PHP's open_basedir is for?

@aragon999 but will this be limited to paths inside the app? I assume I can import log files and have them public. Yes, there is still admin auth needed.

@JoshuaBehrens if I would import files from the file system I would not like the path limited to the app directories and/or even public directories of the app. If you supply wrong data to the CSV, I am not sure if one should guard against this. Maybe one could also check some extensions or other things for the downloaded file, but these are all things which can be circumvented.
Maybe I do not understand the attack angle of this "security problem"?

My thought of attack that this whitelist is not solely used on a csv import but any upload to media from admin/API.

I still do not get it, what is the difference if it is from a CSV than from the admin/API?
Do you mean that you could circumvent the "ACL protection" if you have rights to the media managment, in the sense that one could for example copy some logs or config files as media and then view it?

CSV is internal and admin API is external.
Wait ACL is already a thing?

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

Hey @teiling88, thanks for your contribution 💙  Unfortunately this could lead to possible security issues therefor we decided to close this PR.


Release v1.4.1

This is a draft of changelog for the v1.4.1 release.
Here you can find all related translations changes: v1.4.0...master.

⚠ Do not merge this pull request manually ⚠
You should approve this pull request instead. After approving, I will automatically update it (release date needs to be adjusted), merge, and tag a new release. You can read more about the process on forum.

Show release notes preview
v1.4.1

Updated translations for extensions:

askvortsov/flarum-pwa
blomstra/web3
finteger-ratings
vlssu/flarum-cravatar
ziiven/money-transfer

All changes: v1.4.0...v1.4.1.

Success! Now you can announce new release on forum:
## Version [`v1.4.1`](https://github.com/flarum-lang/chinese-traditional/releases/tag/v1.4.1)

**Updated translations for extensions**:

* [`askvortsov/flarum-pwa`](https://github.com/askvortsov1/flarum-pwa)
* [`blomstra/web3`](https://github.com/blomstra/flarum-ext-web3)
* `finteger-ratings`
* [`vlssu/flarum-cravatar`](https://github.com/vlssu/flarum-cravatar)
* [`ziiven/money-transfer`](https://github.com/Ziiven/ziven-money-transfer)

All changes: [v1.4.0...v1.4.1](https://github.com/flarum-lang/chinese-traditional/compare/v1.4.0...v1.4.1).

In order to update run these commands:

```console
composer update flarum-lang/chinese-traditional
php flarum cache:clear
```


Tap counter

First ios project

Navigation bar should not be gray
There is no Undo button in design
Navigation bar says Counter
Label color is black
Tap button is capitalized, not all caps

Also, about git branch naming and comments conventions.
In general, all branches should start with a verb in base form. For example, this one could be add-tap-counter. Usually you would use verbs like add, fix, refactor.
 In general, it will replicate branch name, so Add tap counter.
Some exceptions could be initial commits when you could just say Initial commit.
If you need to explain your commit, do it in Present Simple. For example, Initial commit. Add storyboard, view controller, and tap counter.

lgtm 👏


Scaling for cooling

Inverting the output does not have the expected behavior for cooling
Consider a heating case:
PB = 1 (no I or D)
SV = 10, AV = 9.9, Output = .1 as expected
The equivalent cooling case (using inverted output):
SV = 10, AV = 10.1, Output = 0 , inverted to 1.0, equivalent to full cooling power.
in effect, it controls to SV-PB instead of SV
To get around this I change the AV to be (SV-AV)+SV on the input to the PID block:
SV = 10, AV = 10.1
AV adjusted = (10-10.1)+10 = 9.9
Output = .1 as expected.

By "no I" do you mean you have set it to a large time?   That does not fully disable I, it just  makes it very slow acting.
What have you got Initial Integral set to?  I guess it is set to zero.  If you set it to 1 then you will get the effect you are looking for.
Are you intending to use integral eventually?  If so then all this does is adjust the starting point. Once the integral kicks in then the loop will sort itself out.

Did that help explain what is going on?

Yes Integral is 100 million or something.
With Initial Integral set to 0 - I term is .5 at the output
With Initial Integral set to 1 - I term is -.5 at the output
Even if I term will eventually counteract the P term, generally seems odd. Also makes it difficult to use gains determined by another simulator if the behavior will not be similar. Maybe this is just a feature request to add a cooling option.
I will close this and just use the polarity switch on the input side to make the output as expected.

I would like to understand the problem better if possible please, as if the node is missing a feature then I would like to know.  Firstly, will you eventually want to use Integral and/or Derivative, or do you want just proportional control with no I or D?

Hi, I am back playing with this. I expect to use just P+I for this case.
At high level, inverting the output is not the same as inverting the logic of the loop. Waiting for I term to adjust for this isn't an elegant way to approach it. An option to change to heat or cool would be ideal. If I have a moment I will look about adding this function.
It is possible another PID is better for this application where I can just set negative P gain to invert the action.

Waiting for I term to adjust for this isn't an elegant way to approach it.

Approximately what power value into the cooler do you expect once it has reached a stable temperature?


Feature request: Add objectManager type hints for Unit tests

Hi!
You already have the nice feature with the ObjectManager type hints.
But magento also provides another ObjectManager for unit tests. The problem is that  the class ObjectManagerDynamicReturnTypeExtension just provides support for the default magento objectmanager as seen here.
So now when assigning the return value of the getObject() function to an class property with phpDoc the following phpstan error occurs: Property Oneserv\TestFramework\Test\Unit\Test::$testClass (Oneserv\TestFramework\Test\Unit\TestClass) does not accept object as the return type of the function is just object.
Here is a minium example:
<?php

declare(strict_types=1);

namespace Oneserv\TestFramework\Test\Unit;

/**
 * Class Test
 */
class Test extends AbstractTestCase
{
    /** @var TestClass */
    protected $testClass;

    /**
     * @inheritDoc
     */
    protected function setUp(): void
    {
        parent::setUp();

        $this->testClass = $this->objectManager->getObject(TestClass::class);
    }
}

I would love having this feature to avoid ignoring the error!

@sprankhub did you also run into this?
Of course we have to fix this ;) Need to check how. Thanks for opening your first issue @oneserv-heuser here!

I did not encounter this, because we usually do not write unit tests :-)

@oneserv-heuser quick update on this issue: Still working on it, having some issues with the type system of PHPStan.

Hey @oneserv-heuser I uploaded a first test version in #47. Mind checking this against your repo(s)? My very limited test looked good, would be lovely to get some real world feedback before merging :)

@shochdoerfer Tested and it works like a charm! Thanks a lot!

I'll add a bit more error checks soonish (e.g. make sure that you can only pass \Magento\Framework\Data\Collection instances to the getCollectionMock() method and then merge & release.

@shochdoerfer How does it look? I am waiting impatiently for the release 😄

@oneserv-heuser sorry for letting you down, the last weeks have once again been too busy to get this going. My plan is to release a new version this week. It may not include the extended error checks for now, that depends a bit on how much I can find to work on this.

@oneserv-heuser quick update: Still on it, sorry. I ran into a bunch of problems that I need to solve first before I can merge the changes.

@oneserv-heuser just pushed the latest changes to the PR. Mind testing the branch against your codebase? Had to make a few minor adjustments and added a rule to deject wrong classes passed to the getCollectionMock() method. Seems to work in my simplified test environment. Would now need some real-world insights :)

@oneserv-heuser just pushed the latest changes to the PR. Mind testing the branch against your codebase? Had to make a few minor adjustments and added a rule to deject wrong classes passed to the getCollectionMock() method. Seems to work in my simplified test environment. Would now need some real-world insights :)

@shochdoerfer I just can repeat myself, works like a charm 👍🏻
But now it also makes 2 @phpstan-ignore-next-line redundant in tests, so it's even better

@shochdoerfer I just can repeat myself, works like a charm 👍🏻
But now it also makes 2 @phpstan-ignore-next-line redundant in tests, so it's even better

Here we go: https://github.com/bitExpert/phpstan-magento/releases/tag/v0.5.0

Here we go: https://github.com/bitExpert/phpstan-magento/releases/tag/v0.5.0


Cura Build Freezes on test_sockets.py

Describe the bug
When installing Cura with nix-env it freezes while, apparently, running tests.
Here is the command-line output of nix-env: https://gist.github.com/JonathanILevi/a87892e2d80ce4b14d18dbc3898f93e1
To Reproduce
Run nix-env -iA unstable-pkgs.cura.
(My OS is using nixos-stable channel, but I am installing Cura with nixos-unstable).
Notify maintainers
@gebner @OmnipotentEntity @nh2 @esclear @betaboon
Metadata

system: "x86_64-linux"
host os: Linux 5.4.43, NixOS, 20.03.2015.e7752db2fb6 (Markhor)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.5
channels(root): "nixos-20.03.2351.f8248ab6d9e, spkgs-20.03.2351.f8248ab6d9e, upkgs-20.09pre231796.22a81aa5fc1"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

With the current HEAD of master, I cannot reproduce this issue.  However, I do get a different error during the tests of sentry-sdk-0.14.4 (which occurs far beyond the point that you experienced failures in your build.)
My error is:
running egg_info
writing sentry_sdk.egg-info/PKG-INFO
writing dependency_links to sentry_sdk.egg-info/dependency_links.txt
writing requirements to sentry_sdk.egg-info/requires.txt
writing top-level names to sentry_sdk.egg-info/top_level.txt
reading manifest file 'sentry_sdk.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'sentry_sdk.egg-info/SOURCES.txt'
running build_ext
trytond (unittest.loader._FailedTest) ... ERROR

======================================================================
ERROR: trytond (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: trytond
Traceback (most recent call last):
  File "/nix/store/f87w21b91cws0wbsvyfn5vnlyv491czi-python3-3.8.3/lib/python3.8/unittest/loader.py", line 154, in loadTestsFromName
    module = __import__(module_name)
  File "/build/sentry-sdk-0.14.4/sentry_sdk/integrations/trytond.py", line 7, in <module>
    from trytond.exceptions import TrytonException  # type: ignore
ModuleNotFoundError: No module named 'trytond'

----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (errors=1)
Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
builder for '/nix/store/8lbaa3nmxp12dv1iw1wa2549zvbm7qwr-python3.8-sentry-sdk-0.14.4.drv' failed with exit code 1
cannot build derivation '/nix/store/hyxm1pgl7mpqfz82xwhawf59fnn6vjah-cura-4.6.1.drv': 1 dependencies couldn't be built
error: build of '/nix/store/hyxm1pgl7mpqfz82xwhawf59fnn6vjah-cura-4.6.1.drv' failed

It looks like the pip package trytond is not in nixpkgs, hence the failure.  Probably should skip that test, or package trytond.

Running against the nixos-unstable branch as indicated by your initial post; however, I get the exact same error.
It's likely caused by the build issue fixed in #91440 yesterday.  So if you wait until unstable is synced up with master again you'll be able to get my error instead of yours.

The sentry-sdk failure is being fixed in #91417.

Fixed by #91417