ERROR

Description

Environment

OS  centos 7.9  Linux localhost.localdomain 5.17.4-1.el7.elrepo.x86_64 #1 SMP PREEMPT Tue Apr 19 12:06:15 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux
S1EM version: { S1EM latest }
Other environment details:

Reproducible Steps
CORTEX keytool error: java.lang.Exception: Alias  does not exist
##########################################
########### STARTING CORTEX ##############
##########################################

[+] Running 2/2
 ⠿ Container es01    Running                                                                                0.0s
 ⠿ Container cortex  Started                                                                                4.3s

keytool error: java.lang.Exception: Alias <ca> does not exist
Certificate was added to keystore
[+] Running 0/1
[+] Running 0/1rtex  Restarting                                                                                6.5s
[+] Running 1/1rtex  Restarting                                                                                6.7s
 ⠿ Container cortex  Started                                                                                10.8s

##########################################
######### DEPLOY CORTEX USER #############
##########################################

docker logs cortex
PassiveTotal_Components 2.0
	AzureTokenRevoker 1.0
	MetaDefenderCore_GetReport 1.0
	Diario_GetReport 1.0
	MalwareClustering_Search 1.0
	Mnemonic_pDNS_Closed 3.0
	Splunk_Search_File_Filename 3.0
	UnshortenLink 1.2
	Onyphe_Summary 1.0
	AnyRun_Sandbox_Analysis 1.0

[error] o.e.d.DBConfiguration - ElasticSearch request failure: POST:/cortex_6/_search?scroll=60000ms
StringEntity({"seq_no_primary_term":"true","query":{"bool":{"must":[{"term":{"relations":{"value":"worker"}}},{"match_all":{}}]}},"from":0,"sort":[{"_doc":{"order":"desc"}}]},Some(application/json))
 => ElasticError(index_not_found_exception,no such index [cortex_6],Some(_na_),Some(cortex_6),None,List(ElasticError(index_not_found_exception,no such index [cortex_6],Some(_na_),Some(cortex_6),None,null,None,None,None,List())),None,None,None,List())
[warn] o.e.d.SearchWithScroll - Search error
org.elastic4play.IndexNotFoundException$: null
	at org.elastic4play.IndexNotFoundException$.<clinit>(Errors.scala)
	at org.elastic4play.database.DBConfiguration.$anonfun$execute$2(DBConfiguration.scala:155)
	at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:307)
	at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:41)
	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
	at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:56)
	at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:93)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
	at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:85)
	at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:93)
[info] p.c.s.AkkaHttpServer - Enabling HTTP/2 on Akka HTTP server...
[info] p.c.s.AkkaHttpServer - Listening for HTTP on /<IP_ADDRESS>:9001
[info] c.s.e.h.JavaClient$ - Creating HTTP client on https://es01:9200
[info] c.s.e.h.JavaClient$ - Creating HTTP client on https://es01:9200
[info] c.s.e.h.JavaClient$ - Creating HTTP client on https://es01:9200
[info] c.s.e.h.JavaClient$ - Creating HTTP client on https://es01:9200
[info] c.s.e.h.JavaClient$ - Creating HTTP client on https://es01:9200
[info] o.e.s.MigrationSrv - Create a new empty database
[info] o.e.s.MigrationSrv - Migrate database from version 0, add operations for version 2
[info] o.e.s.MigrationSrv - Migrate database from version 0, add operations for version 3
[info] o.e.s.MigrationSrv - Migrate database from version 0, add operations for version 4
[info] o.e.s.MigrationSrv - Migrate database from version 0, add operations for version 5
[info] o.e.s.MigrationSrv - Migrate database from version 0, add operations for version 6
[warn] o.e.c.RestClient - request [PUT https://es01:9200/cortex_6?include_type_name=false] returned 1 warnings: [299 Elasticsearch-7.17.2-de7261de50d90919ae53b0eff9413fd7e5307301 "[types removal] Using include_type_name in create index requests is deprecated. The parameter will be removed in the next major version."]
[info] o.e.s.MigrationSrv - Migrating 0 entities from sequence
[info] o.e.s.MigrationSrv - Migrating 0 entities from artifact
[info] o.e.s.MigrationSrv - Migrating 0 entities from audit
[info] o.e.s.MigrationSrv - Migrating 0 entities from data
[info] o.e.s.MigrationSrv - Migrating 0 entities from dblist
migrateEntity(sequence) has finished : Success(())
migrateEntity(audit) has finished : Success(())
migrateEntity(artifact) has finished : Success(())
migrateEntity(data) has finished : Success(())
[info] o.e.s.MigrationSrv - Migrating 0 entities from job
migrateEntity(dblist) has finished : Success(())
[info] o.e.s.MigrationSrv - Migrating 0 entities from organization
[info] o.e.s.MigrationSrv - Migrating 0 entities from report
[info] o.e.s.MigrationSrv - Migrating 0 entities from user
migrateEntity(report) has finished : Success(())
migrateEntity(job) has finished : Success(())
migrateEntity(organization) has finished : Success(())
[info] o.e.s.MigrationSrv - Migrating 0 entities from worker
migrateEntity(user) has finished : Success(())
[info] o.e.s.MigrationSrv - Migrating 0 entities from workerConfig
migrateEntity(worker) has finished : Success(())
migrateEntity(workerConfig) has finished : Success(())
[info] o.e.s.MigrationSrv - End of migration

DEPLOY CORTEX USER ERROR
##########################################
######### DEPLOY CORTEX USER #############
##########################################

Waiting for Cortex to come online.
Waiting for Cortex to come online.
{"_id":"admin@cortex.local","createdAt":1650872396446,"name":"admin@cortex.local","createdBy":"init","roles":["superadmin"],"organization":"cortex","status":"Ok","_type":"user","_parent":null,"_routing":"admin@cortex.local","_seqNo":0,"_primaryTerm":1,"id":"admin@cortex.local","hasKey":true,"hasPassword":false}{"createdAt":1650872398227,"status":"Active","createdBy":"admin@cortex.local","description":"SOC team","_id":"test","_type":"organization","_parent":null,"_routing":"test","_seqNo":2,"_primaryTerm":1,"id":"test","name":"test"}{"createdBy":"admin@cortex.local","_id":"admin@test.com","createdAt":1650872399245,"name":"admin@test.com","organization":"test","roles":["read","analyze","orgadmin"],"status":"Ok","_type":"user","_parent":null,"_routing":"admin@test.com","_seqNo":0,"_primaryTerm":1,"id":"admin@test.com","hasKey":false,"hasPassword":false}{"type":"AuthorizationError","message":"Insufficient rights to perform this action"}{"type":"AuthorizationError","message":"Insufficient rights to perform this action"}{"type":"AuthorizationError","message":"Insufficient rights to perform this action"}{"type":"AuthorizationError","message":"Insufficient rights to perform this action"}{"type":"AuthorizationError","message":"Insufficient rights to perform this action"}

##########################################
######### CONFIGURING THEHIVE ############
##########################################

the hive error
##########################################
######## DEPLOY THEHIVE USER #############
##########################################

Waiting for TheHive to come online.
Waiting for TheHive to come online.
Waiting for TheHive to come online.
Waiting for TheHive to come online.
Waiting for TheHive to come online.
Waiting for TheHive to come online.
{"name":"test","description":"SOC team","_id":"~16400","id":"~16400","createdAt":1650872529470,"createdBy":"admin@thehive.local","_type":"organisation","links":[]}{"type":"NotFoundError","message":"User not found"}

##########################################
######## CONFIGURING ELASTALERT ##########
##########################################

docker logs thehive
[info] o.j.g.d.m.ManagementSystem [|] Index update job successful for [global]
[info] o.t.s.m.Database [|mgmt-460d99bb] Reindex job 705a77f0 is finished
[info] o.t.s.m.Operations [|] *** UPDATE SCHEMA OF thehive-cortex (2): Create database schema
[info] o.t.s.m.Database [|mgmt-6c96e9f2] Creating database schema
[info] o.t.s.m.Operations [|] *** UPDATE SCHEMA OF thehive (99): Create database schema
[info] o.t.s.m.Database [|mgmt-26b82ee7] Creating database schema
[info] a.c.s.ClusterSingletonManager [|] Singleton manager starting singleton actor [akka://application/system/singletonManagerCaseNumberLeader/CaseNumberLeader]
[info] a.c.s.ClusterSingletonManager [|] ClusterSingletonManager state change [Start -> Oldest]
[info] o.q.i.StdSchedulerFactory [|] Using default implementation for ThreadExecutor
[info] o.q.s.SimpleThreadPool [|] Job execution threads will use class loader of thread: main
[info] o.q.c.SchedulerSignalerImpl [|] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
[info] o.q.c.QuartzScheduler [|] Quartz Scheduler v.2.3.2 created.
[info] o.q.s.RAMJobStore [|] RAMJobStore initialized.
[info] o.q.c.QuartzScheduler [|] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'DefaultQuartzScheduler' with instanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

[info] o.q.i.StdSchedulerFactory [|] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
[info] o.q.i.StdSchedulerFactory [|] Quartz scheduler version: 2.3.2
[info] o.q.c.QuartzScheduler [|] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
[info] a.c.s.ClusterSingletonManager [|] Singleton manager starting singleton actor [akka://application/system/singletonManagerIntegrityCheckActor/IntegrityCheckActor]
[info] a.c.s.ClusterSingletonManager [|] ClusterSingletonManager state change [Start -> Oldest]
[info] a.c.s.ClusterSingletonProxy [|] Singleton identified at [akka://application/system/singletonManagerCaseNumberLeader/CaseNumberLeader]
[info] o.t.t.s.IntegrityCheck [|] Integrity checks is enabled and will start at Sun May 01 02:30:00 UTC 2022
[info] a.c.s.ClusterSingletonProxy [|] Singleton identified at [akka://application/system/singletonManagerIntegrityCheckActor/IntegrityCheckActor]
[info] o.t.t.c.m.s.TheHiveMispClient [|] Add MISP connection MISP
  url:              https://siem.kkguan.com/misp
  proxy:            <not set>
  filters:
    max attributes: <not set>
    max age:        <not set>
    excluded orgs:
    excluded tags:
    whitelist tags:

[info] a.c.s.ClusterSingletonManager [|] Singleton manager starting singleton actor [akka://application/user/misp-actor-singleton/singleton]
[info] a.c.s.ClusterSingletonManager [|] ClusterSingletonManager state change [Start -> Oldest]
[info] o.t.t.c.m.s.MispActor [|] [Actor[akka://application/user/misp-actor-singleton/singleton#-1138602413]] Starting actor MISP
[info] a.c.s.ClusterSingletonProxy [|] Singleton identified at [akka://application/user/misp-actor-singleton/singleton]
[info] a.c.s.ClusterSingletonManager [|] Singleton manager starting singleton actor [akka://application/user/flowSingletonManager/singleton]
[info] a.c.s.ClusterSingletonManager [|] ClusterSingletonManager state change [Start -> Oldest]
[info] play.api.Play [|] Application started (Prod) (no global state)
[info] p.c.s.AkkaHttpServer [|] Listening for HTTP on /<IP_ADDRESS>:9000
[info] a.c.s.ClusterSingletonProxy [|] Singleton identified at [akka://application/user/flowSingletonManager/singleton]
[info] o.t.s.c.Entrypoint [00000002|] <IP_ADDRESS> POST /thehive/api/v0/organisation
[info] o.t.s.AccessLogFilter [00000002|] <IP_ADDRESS> POST /thehive/api/v0/organisation took 624ms and returned 201 166 bytes
[info] o.t.s.c.Entrypoint [00000003|] <IP_ADDRESS> POST /thehive/api/v1/user
[error] o.t.s.u.Retry [00000003|3c3bd6ba] uncaught error, not retrying
org.thp.scalligraph.NotFoundError: User not found
	at org.thp.scalligraph.traversal.TraversalOps$TraversalOpsDefs.getOrFail(TraversalOps.scala:145)
	at org.thp.thehive.services.LocalPasswordAuthSrv.$anonfun$setPassword$1(LocalPasswordAuthSrv.scala:113)
	at org.thp.scalligraph.janus.JanusDatabase.$anonfun$tryTransaction$7(JanusDatabase.scala:241)
	at scala.util.Try$.apply(Try.scala:213)
	at org.thp.scalligraph.janus.JanusDatabase.$anonfun$tryTransaction$6(JanusDatabase.scala:241)
	at scala.util.Try$.apply(Try.scala:213)
	at org.thp.scalligraph.utils.DelayRetry.withTry(Retry.scala:93)
	at org.thp.scalligraph.janus.JanusDatabase.tryTransaction(JanusDatabase.scala:238)
	at org.thp.thehive.services.LocalPasswordAuthSrv.setPassword(LocalPasswordAuthSrv.scala:107)
	at org.thp.scalligraph.auth.MultiAuthSrv.$anonfun$setPassword$1(MultiAuthSrv.scala:107)
[error] o.t.s.m.Database [00000003|3c3bd6ba] Exception raised, rollback (User not found)
[warn] o.t.t.s.TOTPAuthSrv [00000003|3c3bd6ba] local fails: org.thp.scalligraph.NotFoundError: User not found
[warn] o.t.s.ErrorHandler [00000003|3c3bd6ba] POST /thehive/api/v1/user returned 404
[info] o.t.s.AccessLogFilter [00000003|] <IP_ADDRESS> POST /thehive/api/v1/user took 354ms and returned 404 51 bytes
[info] o.t.s.c.Entrypoint [00000004|] <IP_ADDRESS> POST<EMAIL_ADDRESS>[error] o.t.s.u.Retry [00000004|7ba3f473] uncaught error, not retrying
org.thp.scalligraph.NotFoundError: User not found
	at org.thp.scalligraph.traversal.TraversalOps$TraversalOpsDefs.getOrFail(TraversalOps.scala:145)
	at org.thp.thehive.services.LocalKeyAuthSrv.$anonfun$renewKey$1(LocalKeyAuthSrv.scala:51)
	at org.thp.scalligraph.janus.JanusDatabase.$anonfun$tryTransaction$7(JanusDatabase.scala:241)
	at scala.util.Try$.apply(Try.scala:213)
	at org.thp.scalligraph.janus.JanusDatabase.$anonfun$tryTransaction$6(JanusDatabase.scala:241)
	at scala.util.Try$.apply(Try.scala:213)
	at org.thp.scalligraph.utils.DelayRetry.withTry(Retry.scala:93)
	at org.thp.scalligraph.janus.JanusDatabase.tryTransaction(JanusDatabase.scala:238)
	at org.thp.thehive.services.LocalKeyAuthSrv.renewKey(LocalKeyAuthSrv.scala:43)
	at org.thp.scalligraph.auth.MultiAuthSrv.$anonfun$renewKey$1(MultiAuthSrv.scala:110)
[error] o.t.s.m.Database [00000004|7ba3f473] Exception raised, rollback (User not found)
[warn] o.t.t.s.TOTPAuthSrv [00000004|7ba3f473] key fails: org.thp.scalligraph.NotFoundError: User not found
[warn] o.t.s.ErrorHandler [00000004|7ba3f473] POST<EMAIL_ADDRESS>returned 404
[info] o.t.s.AccessLogFilter [00000004|] <IP_ADDRESS> POST<EMAIL_ADDRESS>took 189ms and returned 404 51 bytes
[info] o.t.t.s.IntegrityCheck [|] Integrity check on Organisation ( dedup ): job scheduled, it will start at Mon Apr 25 07:42:39 UTC 2022
[info] o.t.t.s.IntegrityCheck [|] Start of deduplication of Organisation
[info] o.t.t.s.IntegrityCheck [|] End of deduplication of Organisation:
  duplicate: 0
  duration: 55
[info] o.t.t.s.IntegrityCheck [|] Integrity check on User ( dedup ): job scheduled, it will start at Mon Apr 25 07:42:40 UTC 2022
[info] o.t.t.s.IntegrityCheck [|] Start of deduplication of User
[info] o.t.t.s.IntegrityCheck [|] End of deduplication of User:
  duplicate: 0
  duration: 51

SURICATA
##########################################
######## UPDATE SURICATA RULES ###########
##########################################

25/4/2022 -- 07:43:37 - <Info> -- Loading /etc/suricata/update.yaml
25/4/2022 -- 07:43:37 - <Info> -- Using data-directory /var/lib/suricata.
25/4/2022 -- 07:43:37 - <Info> -- Using Suricata configuration /etc/suricata/suricata.yaml
25/4/2022 -- 07:43:37 - <Info> -- Using /usr/share/suricata/rules for Suricata provided rules.
25/4/2022 -- 07:43:37 - <Info> -- Found Suricata version 6.0.5 at /usr/bin/suricata.
25/4/2022 -- 07:43:37 - <Info> -- Downloading https://www.openinfosecfoundation.org/rules/index.yaml
25/4/2022 -- 07:43:38 - <Info> -- No change in sources
25/4/2022 -- 07:43:38 - <Info> -- Saved /var/lib/suricata/update/cache/index.yaml
25/4/2022 -- 07:43:39 - <Info> -- Loading /etc/suricata/update.yaml
25/4/2022 -- 07:43:39 - <Info> -- Using data-directory /var/lib/suricata.
25/4/2022 -- 07:43:39 - <Info> -- Using Suricata configuration /etc/suricata/suricata.yaml
25/4/2022 -- 07:43:39 - <Info> -- Using /usr/share/suricata/rules for Suricata provided rules.
25/4/2022 -- 07:43:39 - <Info> -- Found Suricata version 6.0.5 at /usr/bin/suricata.
25/4/2022 -- 07:43:39 - <Info> -- Loading /etc/suricata/suricata.yaml
25/4/2022 -- 07:43:39 - <Info> -- Disabling rules for protocol modbus
25/4/2022 -- 07:43:39 - <Info> -- Disabling rules for protocol dnp3
25/4/2022 -- 07:43:39 - <Info> -- Disabling rules for protocol enip
25/4/2022 -- 07:43:39 - <Info> -- Checking https://rules.emergingthreats.net/open/suricata-6.0.5/emerging.rules.tar.gz.md5.
25/4/2022 -- 07:43:40 - <Info> -- Fetching https://rules.emergingthreats.net/open/suricata-6.0.5/emerging.rules.tar.gz.
 100% - 3269232/3269232
25/4/2022 -- 07:43:43 - <Info> -- Done.
25/4/2022 -- 07:43:43 - <Info> -- Fetching https://openinfosecfoundation.org/rules/trafficid/trafficid.rules.
 100% - 9855/9855
25/4/2022 -- 07:43:44 - <Info> -- Done.
25/4/2022 -- 07:43:44 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/app-layer-events.rules
25/4/2022 -- 07:43:44 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/decoder-events.rules
25/4/2022 -- 07:43:44 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/dhcp-events.rules
25/4/2022 -- 07:43:44 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/dnp3-events.rules
25/4/2022 -- 07:43:44 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/dns-events.rules
25/4/2022 -- 07:43:44 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/files.rules
25/4/2022 -- 07:43:44 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/http-events.rules
25/4/2022 -- 07:43:44 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/ipsec-events.rules
25/4/2022 -- 07:43:44 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/kerberos-events.rules
25/4/2022 -- 07:43:44 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/modbus-events.rules
25/4/2022 -- 07:43:44 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/nfs-events.rules
25/4/2022 -- 07:43:44 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/ntp-events.rules
25/4/2022 -- 07:43:44 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/smb-events.rules
25/4/2022 -- 07:43:44 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/smtp-events.rules
25/4/2022 -- 07:43:44 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/stream-events.rules
25/4/2022 -- 07:43:44 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/tls-events.rules
25/4/2022 -- 07:43:45 - <Info> -- Ignoring file rules/emerging-deleted.rules
25/4/2022 -- 07:43:46 - <Info> -- Loaded 33209 rules.
25/4/2022 -- 07:43:46 - <Info> -- Disabled 14 rules.
25/4/2022 -- 07:43:46 - <Info> -- Enabled 0 rules.
25/4/2022 -- 07:43:46 - <Info> -- Modified 0 rules.
25/4/2022 -- 07:43:46 - <Info> -- Dropped 0 rules.
25/4/2022 -- 07:43:47 - <Info> -- Enabled 131 rules for flowbit dependencies.
25/4/2022 -- 07:43:47 - <Info> -- Backing up current rules.
25/4/2022 -- 07:43:49 - <Info> -- Writing rules to /var/lib/suricata/rules/suricata.rules: total: 33209; enabled: 25807; added: 54; removed 9; modified: 1257
25/4/2022 -- 07:43:49 - <Info> -- Writing /var/lib/suricata/rules/classification.config
25/4/2022 -- 07:43:49 - <Info> -- Skipping test, disabled by configuration.
25/4/2022 -- 07:43:49 - <Info> -- Running suricatasc -c reload-rules.
Unable to connect to socket /var/run/suricata/suricata-command.socket: [Errno 2] No such file or directory
25/4/2022 -- 07:43:50 - <Error> -- Reload command exited with error: 1
25/4/2022 -- 07:43:50 - <Info> -- Done.

##########################################
########## UPDATE YARA RULES #############
##########################################

Expected Output

Actual Output

Additional information

Screenshots (optional)

thehive script error
cat elastalert_config.yaml
es_host: es01
es_port: 9200
use_ssl: true
ca_certs: /usr/share/certificates/ca/ca.crt
client_cert: /usr/share/certificates/elastalert/elastalert.crt
client_key: /usr/share/certificates/elastalert/elastalert.key
es_username: elastic
es_password: IZ28CoBdvFSQVi
rules_folder: /opt/elastalert/rules
scan_subdirectories: true
disable_rules_on_error: false
show_disabled_rules: true
add_metadata_alert: True
es_conn_timeout: 60
hive_connection:
 hive_host: http://thehive
 hive_port: 9000/thehive
 hive_apikey: {"type":"NotFoundError","message":"User not found"}
run_every:
 minutes: 1
buffer_time:
 days : 1
writeback_index: elastalert_status
alert_time_limit:
 days: 1

You need to wait for the whole system to come up, this "error" occurs while the modules don't start and talk to each other.


Installing with yarn makes webpack build to the wrong location

When following the install instructions, if you use yarn instead of npm, the webpack files will build to public/build/dist rather than public/dist.
This in turn breaks the build, as all the

can be fixed by editing webpack.config.js:
https://github.com/cretueusebiu/laravel-vue-spa/issues/230#issuecomment-614530923

Because there's no yarn.lock, Yarn will probably install the wrong version of the deps.


Graphql-helix vs graphl-ez.

Looking into the docs, graphql ez looks like it's combination of graphql-helix + envelop combined into one, is there some other difference? like in terms of performance or something?
A comparison table in doc will do great.

@Unbuttun You are right. It is a combination of graphql-helix and envelop. But it also adds a nice, clean api to adapt in different contexts/servers and an plugin-api, with quite some plugins already there, which rescues you from all the fiddling and boilerplate to make those common tasks work in your environment.
So, if you want to, you can think about it as the plugin-system for the app-part, where envelop does the plugin-system for the graphql-part.
And about performance: Technically it should be nearly the same cost/benefit as if you would do those setups by hand... But as you'll find quite some options for caching in here, it could be easily a gain in net-cost, I would say :)

thank you @benbender for the description, very well explained.
@Unbuttun I don't think there is a "difference" with graphql-helix + envelop, graphql-ez uses both, if you want differences and compare with alternatives, it would be with apollo server, express-graphql or Mercurius for example, and graphql-ez philosophy is to be relatively unopinionated and give maximum customization and composability leveraging Envelop at it's maximum, this project was born thanks to Envelop, and graphql-ez is also meant to work as an engine for more opinionated setups, like the next version of graphql-yoga


all contributors update

@all-contributors please add @refraction-ray for financial

@all-contributors please add @refraction-ray for financial


Add README update to show support for EKS and Kubectl.

You solved a problem you didn't even know about. :) I had aws-okta working for aws-cli, but whenever I tried to access my EKS cluster with kubectl, it would fail since aws-iam-authenticator doesn't know anything about aws-okta.
This works so long as aws-okta uses ENV variables to authenticate with AWS.
Adding this info to README should increase SEO friendliness on the topic and help others like myself find it in the future as EKS gains traction.

Cool! Glad that works. I think I'd like to see this section come later, maybe between the Backends and Releasing section because I think it applies to less users than the config stuff. That said the order of the sections as it stands isn't great (config should come before


Update Fish System Logic

Definition of Done

[x] Hunger is moved from fish to school of fish as a whole
[x] Fish death is moved from fish to school of fish as a whole

[x] School of fish has a total fish count
[x] Fish count is reduced over time if school of fish is hungry

[x] School of fish moves up in cage if hungry + feed in water
[x] School of fish moves together

[ ] Some fish move before/after others
[ ] Some fish move randomly

[x] Food particles are removed if they get "eaten"

The two tasks of fish moving before/after others and randomly are not implemented explicitly at the moment, because the movement already looks quite random. They can of course be implemented if necessary, and I think we should discuss this. Will move on to other issues for the time being.


How to test sse endpoint using external client?

I tried to run following node app:
var EventSource = require('eventsource');

var es = new EventSource('http://<IP_ADDRESS>:9001/message-events');

es.onmessage = function(e) {
  console.log(e);
};
es.onerror = function() {
  console.log('ERROR!');
};

and could't see any messages on the console.
See: https://www.npmjs.com/package/eventsource

Message events – like all the events in Reactive Flows – carry an event type, as you can see here: https://github.com/hseeberger/reactive-flows/blob/master/src/main/scala/de/heikoseeberger/reactiveflows/ServerSentEventProtocol.scala#L38
So instead of es.onmessage which you must register a handler for "added" event types, like in the JS client: https://github.com/hseeberger/reactive-flows/blob/master/src/main/resources/web/js/controllers.js#L90

Thanks!


load library failed

I was using the new POB update fine until I came across this error: LoadLibrary failed with error 126: the specific module could not be found.
I tried uninstalling and reinstalling and it did not fix it, what is this issue?

Could you show me a screenshot of the error?

https://imgur.com/Z88Ncp5

What on earth... It looks like you may have an issue with your display driver, as that's occurring when the program is initialising OpenGL.


Consolidate offset - length behavior in files

Resolves Azure/azure-sdk-for-python#7812

change offset - length behavior
fix a small issue in from_file_url

Can one of the admins verify this patch?

https://dev.azure.com/azure-sdk/public/_build/results?buildId=153931&view=results
ci is green


Support Carthage

In addition to Cocopods, consider supporting Carthage. https://github.com/Carthage/Carthage

@damianjsullivan
Thanks for the recommendation. We will definitely look into it

Thank you! :)


trezor-suite: 23.10.1 -> 23.11.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/trezor-suite/versions.
meta.description for trezor-suite is: Trezor Suite - Desktop App for managing crypto
meta.homepage for trezor-suite is: https://suite.trezor.io
meta.changelog for trezor-suite is: https://github.com/trezor/trezor-suite/releases/tag/v23.11.5
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 23.11.5 with grep in /nix/store/cich37vgzigsvvrldfcw5792lcc5zxhp-trezor-suite-23.11.5
found 23.11.5 in filename of file in /nix/store/cich37vgzigsvvrldfcw5792lcc5zxhp-trezor-suite-23.11.5

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
trezor-suite

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/cich37vgzigsvvrldfcw5792lcc5zxhp-trezor-suite-23.11.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/983343528e971f43a898466925daf7d2d86ac0ab#trezor-suite

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/cich37vgzigsvvrldfcw5792lcc5zxhp-trezor-suite-23.11.5
ls -la /nix/store/cich37vgzigsvvrldfcw5792lcc5zxhp-trezor-suite-23.11.5/bin

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

1 package built:

trezor-suite

Maintainer pings
cc @prusnak for testing.

superseded by https://github.com/NixOS/nixpkgs/pull/273312


syncall: mark as broken

Motivation for this change
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Since both the downstream maintainer and upstream don't respond, I'm merging this.

For anyone  who want to use syncall, it is pretty simple to get to work with poetry2nix.
For flakes, add inputs:
    poetry2nix = {
      url = "github:nix-community/poetry2nix";
      inputs.nixpkgs.follows = "nixpkgs";
      inputs.flake-utils.follows = "flake-utils";
    };

    syncall-src = {
      url = "github:bergercookie/syncall/v1.8.8";
      flake = false;
    };

Then:
    let
      system = "x86_64-linux";
      lib = nixpkgs.lib;

      syncall-poetry = { poetry2nix, lib }: poetry2nix.mkPoetryApplication {
        projectDir = syncall-src;

        overrides = poetry2nix.overrides.withDefaults (final: super:
          lib.mapAttrs
            (attr: systems: super.${attr}.overridePythonAttrs
              (old: {
                nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ map (a: final.${a}) systems;
              }))
            {
              pyright = [ "setuptools" ];
              check-jsonschema = [ "setuptools" ];
              taskw-ng = [ "poetry-dynamic-versioning" ];
            }
        );
      };

      pkgs = import nixpkgs {
        inherit system;
        overlays = [
          poetry2nix.overlays.default
          (final: prev: {
            syncall = final.callPackage syncall-poetry { };
          })
        ];
      };


I can't set style

when I set style={{color: '#ddd'}}  it can't work
<Iframe url={day.desc_url} width="100%" height="600px" style={{color: '#ddd'}}                   position="relative" allowFullScreen/>

It's styles and not style, but I'll make a release shortly that adds an alias for styleas well

Oh,I made such a low mistake. Thanks!


English rewording

Discussion welcome. Discord conversation that initiated this PR
Goals (not all are fulfilled yet):

There are more legit sites than those four, the wording should be more inclusive
Any "big site" is meaningless if it's not the author-intended one
Possibly check for comments, download stats, author interactions?
The extension is more useful in practice than this mod. Should be promoted and encouraged.
Other languages. Russian translation is currently missing from this PR.
Attack less, give awareness and help more.

I'll do that quickly


example colab notebook fails. there's no env 'FP_PDN_LOWER_LAYER'

Description
Example Colab notebook fails at step 6. The log says

Error: pdn_cfg.tcl, 92 can't read "::env(FP_PDN_LOWER_LAYER)": no such variable

It seems this problem is related to PR #1764
Expected Behavior
I just want it to run.
Environment report
issue survey command didn't work in the notebook.

Reproduction material
N.A.
Relevant log output
env: PDK=sky130A
OpenLane 2023.04.12_0_g23e367a9-conda
All rights reserved. (c) 2020-2022 Efabless Corporation and contributors.
Available under the Apache License, version 2.0. See the LICENSE file for more details.

[INFO]: Using configuration in 'config.json'...
[INFO]: PDK Root: /content/conda-env/share/pdk
[INFO]: Process Design Kit: sky130A
[INFO]: Standard Cell Library: sky130_fd_sc_hd
[INFO]: Optimization Standard Cell Library: sky130_fd_sc_hd
[WARNING]: DIODE_INSERTION_STRATEGY is now deprecated; use GRT_REPAIR_ANTENNAS, DIODE_ON_PORTS and RUN_HEURISTIC_DIODE_INSERTION instead.
[INFO]: DIODE_INSERTION_STRATEGY set to 3. Setting GRT_REPAIR_ANTENNAS to 1
[INFO]: Run Directory: /content/runs/RUN_2023.07.01_15.04.25
[INFO]: Preparing LEF files for the nom corner...
[INFO]: Preparing LEF files for the min corner...
[INFO]: Preparing LEF files for the max corner...
[STEP 1]
[INFO]: Running Synthesis (log: runs/RUN_2023.07.01_15.04.25/logs/synthesis/1-synthesis.log)...
[STEP 2]
[INFO]: Running Single-Corner Static Timing Analysis (log: runs/RUN_2023.07.01_15.04.25/logs/synthesis/2-sta.log)...
[STEP 3]
[INFO]: Running Initial Floorplanning (log: runs/RUN_2023.07.01_15.04.25/logs/floorplan/3-initial_fp.log)...
[INFO]: Floorplanned with width 23.46 and height 35.36.
[STEP 4]
[INFO]: Running IO Placement...
[STEP 5]
[INFO]: Running Tap/Decap Insertion (log: runs/RUN_2023.07.01_15.04.25/logs/floorplan/5-tap.log)...
[INFO]: Power planning with power {VPWR} and ground {VGND}...
[STEP 6]
[INFO]: Generating PDN (log: runs/RUN_2023.07.01_15.04.25/logs/floorplan/6-pdn.log)...
[ERROR]: during executing openroad script /content/conda-env/share/openlane/scripts/openroad/pdn.tcl
[ERROR]: Log: runs/RUN_2023.07.01_15.04.25/logs/floorplan/6-pdn.log
[ERROR]: Last 10 lines:
OpenROAD 850238c2fb11cf83a9d33c6d065a121aae8d837b
This program is licensed under the BSD-3 license. See the LICENSE file for details.
Components of this program may be licensed under more restrictive licenses which must be honored.
[INFO]: Reading ODB at '/content/runs/RUN_2023.07.01_15.04.25/tmp/floorplan/5-tapcell.odb'...
define_corners Typical
read_liberty -corner Typical /content/conda-env/share/pdk/sky130A/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__tt_025C_1v80.lib
Error: pdn_cfg.tcl, 92 can't read "::env(FP_PDN_LOWER_LAYER)": no such variable
child process exited abnormally

[ERROR]: Creating issue reproducible...
[INFO]: Saving runtime environment...
OpenLane TCL Issue Packager

EFABLESS CORPORATION AND ALL AUTHORS OF THE OPENLANE PROJECT SHALL NOT BE HELD
LIABLE FOR ANY LEAKS THAT MAY OCCUR TO ANY PROPRIETARY DATA AS A RESULT OF USING
THIS SCRIPT.

Parsing config file(s)…
Setting up /content/runs/RUN_2023.07.01_15.04.25/issue_reproducible…
Done.
[INFO]: Reproducible packaged: Please tarball and upload 'runs/RUN_2023.07.01_15.04.25/issue_reproducible' if you're going to submit an issue.

    (procedure "gen_pdn" line 15)
    invoked from within
"gen_pdn"
    (procedure "run_power_grid_generation" line 65)
    invoked from within
"run_power_grid_generation"
    (procedure "run_floorplan" line 56)
    invoked from within
"run_floorplan"} -errorline 1
[INFO]: Saving current set of views in 'runs/RUN_2023.07.01_15.04.25/results/final'...
[INFO]: Generating final set of reports...
[INFO]: Created manufacturability report at 'runs/RUN_2023.07.01_15.04.25/reports/manufacturability.rpt'.
[INFO]: Created metrics report at 'runs/RUN_2023.07.01_15.04.25/reports/metrics.csv'.
[INFO]: Saving runtime environment...
[ERROR]: Flow failed.

The version in your log file OpenLane 2023.04.12_0_g23e367a9-conda is old. How did you get this version? When I tried the collab, the only thing that I had to replace was CLOCK_TREE_SYNTH in Write Configuration step.

I clicked the link to the Colab notebook in the Quick-start Guide on the top page of this repository. When I tried it again today, it ran on a newer (the newest?) version. It's confusing, but the version problem is now resolved.
However, even after replacing CLOCK_TREE_SYNTH with RUN_CTS, it still doesn't work properly. Here is the log message.
env: PDK=sky130A
OpenLane 2023.06.26_0_g3bc9d02d-conda
All rights reserved. (c) 2020-2022 Efabless Corporation and contributors.
Available under the Apache License, version 2.0. See the LICENSE file for more details.

[INFO]: Using configuration in 'config.json'...
[INFO]: PDK Root: /content/conda-env/share/pdk
[INFO]: Process Design Kit: sky130A
[INFO]: Standard Cell Library: sky130_fd_sc_hd
[INFO]: Optimization Standard Cell Library: sky130_fd_sc_hd
[WARNING]: DIODE_INSERTION_STRATEGY is now deprecated; use GRT_REPAIR_ANTENNAS, DIODE_ON_PORTS and RUN_HEURISTIC_DIODE_INSERTION instead.
[INFO]: DIODE_INSERTION_STRATEGY set to 3. Setting GRT_REPAIR_ANTENNAS to 1
[INFO]: Run Directory: /content/runs/RUN_2023.07.15_13.39.42
[INFO]: Saving runtime environment...
[INFO]: Preparing LEF files for the nom corner...
[INFO]: Preparing LEF files for the min corner...
[INFO]: Preparing LEF files for the max corner...
[INFO]: Running linter (Verilator) (log: runs/RUN_2023.07.15_13.39.42/logs/synthesis/linter.log)...
[INFO]: 0 errors found by linter
[INFO]: 0 warnings found by linter
[STEP 1]
[INFO]: Running Synthesis (log: runs/RUN_2023.07.15_13.39.42/logs/synthesis/1-synthesis.log)...
[ERROR]: during executing yosys script /content/conda-env/share/openlane/scripts/yosys/synth.tcl
[ERROR]: Log: runs/RUN_2023.07.15_13.39.42/logs/synthesis/1-synthesis.log
[ERROR]: Last 10 lines:
ERROR: TCL interpreter returned an error: can't read "::env(SYNTH_CAP_LOAD)": no such variable
child process exited abnormally

[ERROR]: Creating issue reproducible...
[INFO]: Saving runtime environment...
OpenLane TCL Issue Packager

EFABLESS CORPORATION AND ALL AUTHORS OF THE OPENLANE PROJECT SHALL NOT BE HELD
LIABLE FOR ANY LEAKS THAT MAY OCCUR TO ANY PROPRIETARY DATA AS A RESULT OF USING
THIS SCRIPT.

Parsing config file(s)…
Setting up /content/runs/RUN_2023.07.15_13.39.42/issue_reproducible…
[WRN] /content/runs/RUN_2023.07.15_13.39.42/tmp/synthesis/synthesis.sdc was not found, might be a product. Skipping
Done.
[INFO]: Reproducible packaged: Please tarball and upload 'runs/RUN_2023.07.15_13.39.42/issue_reproducible' if you're going to submit an issue.
[ERROR]: Step 1 (synthesis) failed with error:
-code 1 -level 0 -errorstack {INNER {invokeStk1 throw_error} CALL {run_tcl_script -tool yosys -no_consume /content/conda-env/share/openlane/scripts/yosys/synth.tcl -indexed_log /content/runs/RUN_2023.07.15_13.39.42/logs/synthesis/1-synthesis.log} CALL {run_yosys_script /content/conda-env/share/openlane/scripts/yosys/synth.tcl -indexed_log /content/runs/RUN_2023.07.15_13.39.42/logs/synthesis/1-synthesis.log} CALL {run_yosys -indexed_log /content/runs/RUN_2023.07.15_13.39.42/logs/synthesis/1-synthesis.log} CALL run_synthesis CALL {run_non_interactive_mode -design .}} -errorcode NONE -errorinfo {
    while executing
"throw_error"
    (procedure "run_tcl_script" line 219)
    invoked from within
"run_tcl_script -tool yosys -no_consume {*}$args"
    (procedure "run_yosys_script" line 2)
    invoked from within
"run_yosys_script $::env(SYNTH_SCRIPT) -indexed_log $arg_values(-indexed_log)"
    (procedure "run_yosys" line 44)
    invoked from within
"run_yosys -indexed_log $log"
    (procedure "run_synthesis" line 13)
    invoked from within
"run_synthesis"} -errorline 1
[INFO]: Saving current set of views in 'runs/RUN_2023.07.15_13.39.42/results/final'...
[INFO]: Generating final set of reports...
[INFO]: Created manufacturability report at 'runs/RUN_2023.07.15_13.39.42/reports/manufacturability.rpt'.
[INFO]: Created metrics report at 'runs/RUN_2023.07.15_13.39.42/reports/metrics.csv'.
[INFO]: Saving runtime environment...
[ERROR]: Flow failed.

I believe this is now fixed with:
openlane            2023.06.26_0_g3bc9d02d  20230606_125334       litex-hub      12MB

from https://anaconda.org/LiteX-Hub/openlane/files (see https://github.com/hdl/conda-eda/pull/345 https://github.com/hdl/conda-eda/pull/348)


user.states.incident incorrect, causing Spinner of Death

Description
Somehow, user_users.states->incident is getting set to an incident to which the user's organization does not have access. It should happen to admins and phone volunteers. I think this is happening when phone volunteers answer calls, and then don't log in for months, then lose access to the incident. I've confirmed 260 instances of users with a mismatched user state.
I logged in as user 75, organization 130 (voad@aa...), and the login never completes, getting stuck in the endless spinner of death.
Expected Behavior
Get user_users.states->>incident

If the user is an admin, then allow it to load.
If the user is a phone volunteer AND the incident is more than 2 months old, AND the user's organization does not have access, then then it should revert to the most recent incident to which the organization DOES have access.
If the user is not a phone volunteer or admin AND the organization does not have access to the user states incident, then it should revert to the most recent incident to which the organization DOES have access.

Current Behavior
Unfortunately, this particular bug is not solvable by the user. Logging in via an incognito browser does not work. Clearing states would work, but that requires the user to be able to log in. It currently requires a manual database update.
Screenshots
Spinner of death on https://www.crisiscleanup.org/dashboard
Steps to Reproduce
User 75 belongs to organization 130, which does NOT have access to incident 385.

Log in as User 75<EMAIL_ADDRESS>Manually update the user's states in the database: UPDATE user_users SET states = '{"incident": 385}' WHERE id = 75;
Without refreshing, visit https://www.crisiscleanup.org/dashboard
Note: This will not work with admin accounts, since they have defacto access to all incidents.

Tasks

[x] Find out why this is happening
[x] Aaron to add this to housekeeping();
[ ] Fix expected behavior.

Superseded by #687


New Ideas Megathread

/feedback:
/ameen for placing orders at fixed time 1100, 1130, 1200, 1230. Message users at that time?
/jio for events and activites
/openjios for seeing open events and meeting new people
tracking lift movements
/ask to upload residential related questions on a BB
/sharecab for transport
/hangout
/borrow

Meeting 29/4

admin panel
printing
check dining credits
checking dining hall crowd level
class venues

\outside to view an image of the town green


Aren't the project pages meant to include references to NDP goals?

Yup - the original design allowed for that. Not sure where it went.


Reduced the number of messages displayed.

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information

Coverage remained the same at 40.765% when pulling 55d767669454c3a3e3bf5119a7025367debe34f4 on sfurtat:master into 196a12a3f07ae8d69ef2d29ed16ef6e7f935c077 on NG-ZORRO:master.

@sfurtat please do not change the default config, you can change it yourself in the config of your app


Compile Manifests and Link directive support

Hi mincer folks,
Since version 3.0, Sprockets supports asset manifest and the link directives.
Is anyone interested to implement these new features?
More info here at the Compile Manifests section.

I'm not interested - no time for that.

Pull-requests are welcome :D

We don't have resources to work on this particular feature, but if anybody will provide a PR, we will be happy to merge it!


Dask Code Debug

Unable to debug code related to dask and running into the below issue.
Couldn't find a debug adapter descriptor for the debug type 'python' (the extension might have failed to activate)

Hi Don,
Please find the below screenshot.
It doesn't seem like a code issue or dask issue but rather something to do with VS Code itself. I also noticed that sometimes vs code does not pick up file changes unless vs code or the conda environment is not restarted. It might be something to do with caching is what I believe.

Closing this issue since we are able to monitor dask workers and see the execution using bokeh.


hover styles for enabled nav buttons only & disabled button cursor style

hover styles for enabled nav buttons only & disabled button cursor style
Signed-off-by<EMAIL_ADDRESS>

@KingMario
You need to amend your commit message to have...
Signed-off-by: KingMario<EMAIL_ADDRESS>...as the last line in the commit message.

@mathisscott
The Developer Certificate has been added to the commit message.
Thanks for the approval and the Developer Certificate reminder.


Microphone sound cast, audio not?

I'm using Soundflower combined with Soundcast to cast audio to my Chromecast Audio. (MBP OS X El Capitan 10.11.4)
Since a while (not sure how long) it stopped working. I've tried re-installing Soundflower and Soundcast, but no luck: When I play audio and select Soundflower 2ch as output, no sound comes through my speakers connected to the CC Audio.
But I just noticed a strange thing: When starting the Soundcast app, both input and output are set to Soundflower audio device. I tried setting 'input' back to my Built-in microphone, and suddenly the sounds that my microphone records are immediately played through my speakers.
All the while I'm playing music that should be cast, but this doesn't arrive at my speakers.
Anyone has an idea what might cause this?
Using Chrome browser and casting audio (e.g. youtube Tab to the CC Audio) works flawlessly..
Thanks in advance :)

yes, you can't have input and output set to SF - this creates a feedback loop.  i don't know soundcast, but  the general use case is setting system default output device to SF, then whatever app you are using has input set to SF (and either muted output or a different output device!)  if you need to monitor the audio out of the default device use a multi-output aggregate device -- i have some steps how to do that here: https://github.com/mattingalls/Soundflower/releases


RNNT

first epoch is gonna take around 100 minutes on single gpu
[00:12:33.4 batch 59/557 Loss :1.40793]
mainly bottlenecked by insane memory requirements for lstm backward pass


Can't delete or modify servers

I added a server with a typo in the URL.
There is currently no way to either remove the wrong server, or modify it.
So when the app starts up, I now have multiple servers available, but only ome of then actually works...

Well you can just delete the device from the LibreNMS webui but yes this could be added in.

I am not talking about a device in LibreNMS.  I am talking about a librenms-server in the app.
Start App -> "+" to "Add New Server"

Any way to recreate this? I'm unable to do it.
I can add in a button to remove all items from the list. In the next update
If it's bothering you until then you should be able to uninstall and reinstall the app to clear the app data.

Side note, you should be able to swipe the items left to edit them. Does this not work?

Ah. I was not aware of the "Swipe left" gesture.
I now see I can edit the Token and the URL, but not the Name, for some reason.


Clicking 'x' to exit the 'Add review' popup reloads the page

When a user clicks a marker, an 'Add review' popup appears. If the user does not want to add a review, the user clicks the 'x' button on the top right. This causes the whole page to load and the map has to be reloaded (which is currently slow).
It might make more sense for us to just hide the popup, instead of reloading the whole page.

fixed - changes pushed to ReineUI-maps branch


Enhanced Styling Updates: Conditional 'Completed' Tags and Export Button Design

Proposed Changes

Fixes #9417
Added conditional styling for tags based on the "completed" status in Resource and Shifting sections.
Adjusted button color and text style for the "COMPLETED" section to enhance visual clarity.
Made the export button background white for visbility.
Ensured consistent styling for section titles, tags, and buttons.

@ohcnetwork/care-fe-code-reviewers
Updated Design

Merge Checklist

[ ] Add specs that demonstrate bug / test a new feature.
[ ] Update product documentation.
[x] Ensure that UI text is kept in I18n files.
[x] Prep screenshot or demo video for changelog entry, and attach it to issue.
[x] Request for Peer Reviews
[ ] Completion of QA

Summary by CodeRabbit

New Features

Enhanced visual feedback for the ExportButton with a tooltip displaying the current board's name.
Conditional styling for the Kanban section header, improving the representation of completed sections.

Bug Fixes

Improved drag-and-drop functionality by preventing unnecessary navigation when items are dropped in the same location.

https://github.com/ohcnetwork/care_fe/issues/9417#issuecomment-2558379336


Master

Coverage remained the same at 81.382% when pulling 7c7809269bebd828243992ad0dc4d235045b10ce on master into d8dc18a0b7c241421c8b257b86f579fc7e292a7b on dev.


Facemesh update to SDK

Update after releasing SDK 1.10.2 (or 1.11, not sure how the SDK number will increase after current 1.10.1)

https://github.com/luxonis/depthai-experiments/assets/18037362/04d594e2-2238-49d6-a818-a9079270beff

@Erol444 Thanks for the updates. I was able to get this to work by:

Creating a new Python 3.9 venv environment
Switching my local copy of depthai to the develop branch
Changing the version number of the local develop branch to 1.10.1b0 and installing locally from source (pip install -e .)
Installing all dependencies for depthai via pip install -r requirements.txt
Changing the installation requirement for the gen2-facemesh/requirements.txt to 1.10.1b0
Running the depthai-experiments/gen2-facemesh/main.py file from my local venv

This does seem to be an improvement over the gen1 iteration of facemesh; thanks for doing the work to update it and for the fresh example.

Hi @mhilden , thanks for testing and confirming it works as expected!


Navigation buttons for slider in vertical direction

This is a (multiple allowed):

[ ] bug
[x] enhancement
[ ] feature-discussion (RFC)

SASS for having navigation buttons at the top and bottom
(and pointing up- and downwards) for a slider in vertical direction:
.swiper-container-vertical {
  .swiper-button-next,
  .swiper-button-prev {
    left: 50%;
    transform: rotate(90deg);
    transform-origin: left center;
  }

  .swiper-button-prev {
    top: 10px;
  }

  .swiper-button-next {
    top: auto;
    bottom: 10px;
  }
}

Hm, the transform rotation makes it a bit difficult to position. The arrows are slightly offset.

Any updates with this? Ideally when the direction is set to vertical, the navigation should place to up and down sides of the swiper. But it is not happening.

@Joshanity17: You can try the CSS I posted, it should place the arrows at the top and bottom and visually flip them into vertical directions.

It appears that there are still no vertical-direction style navigation buttons, or am I missing a module or stylesheet?
Otherwise, it may be nice to re-open this issue.

This seems too obvious to be missing...?

@DrMoshtael: I agree, this should be added to swiper as default or extra styles (vertical module).

@DrMoshtael: I agree, this should be added to swiper as default or extra styles (vertical module).

Looks like you'll need to re-create this issue as it's gone stale

@DrMoshtael: I made a PR that references this issue: https://github.com/nolimits4web/swiper/pull/7429

@DrMoshtael: I made a PR that references this issue: #7429

Awesome, thank you!

@nolimits4web: Could this be eventually revisited in the near future?


Fix Bigtable admin pagination workarounds before GA

The Bigtable admin API doesn't fully support pagination, but we've got workarounds in the library to allow PagedEnumerable (etc) to be implemented, so long as users never set a page size.
We should almost certainly not go to GA with those in place.

Reassigned to Mike as he's keeping better tabs on this than I am.

(The bulk of the work for this will be internal, hence the lack of discussion here. This issue is mostly a placeholder to help make sure we don't forget about it.)

The partial class can (and must) now be removed, but I need to check exactly how far it's really implemented.

@jskeet, what's your take on this?
Also, can you please remove the "p2" label?

I think it's best to continue the discussion via the internal mail thread. (I won't be terribly active on that right now as I'm travelling, but it seemed to have stalled anyway.)
I can't remove the P2 label as otherwise it'll come up as untriaged - any particular reason it's causing a problem?

@jskeet, oh sorry.  I didn't realize that "type: cleanup" also required a "priority: *" label.

@sduskis: I believe it does, but I could be wrong. Will kill that label (the alert one) - I can always reapply it if it comes back saying it needs triage :)

We removed ListSnapshots recently, and ListAppProfiles is now paginated appropriately server-side. ListInstances and ListClusters are not paginated either server-side or client-side. Closing as I believe we're done here.


Interface with methods interferes with string literal type inference

TypeScript Version:  2.7.0-dev.20171026
Minimal example:
interface Observable<T> {peek(): T}
declare function obs<T>(val: T): Observable<T>
const t: Observable<'A'> = obs('A')

Expected behavior:
Compilation without errors.
Actual behavior:
src/test.ts(3,7): error TS2322: Type 'Observable<string>' is not assignable to type 'Observable<"A">'.
  Type 'string' is not assignable to type '"A"'.

This error goes away if the interface has no methods or function signature:
interface Observable<T> {}

Alternately, you can redundantly specify the type of the argument to obs():
const t: Observable<'A'> = obs('A' as 'A')

We've had some issues about string literal types in the past but this seems like a new one:
declare function id<T>(val: T): T
declare function arr<T>(val: T): T[]
const x: "a" = id("a");
const y: "a"[] = arr("a");

x works but y doesn't.

This is a design limitation and is working as intended. See #10676 for context. In the original example we can't tell that T is used only in output positions within Observable<T>. Therefore we widen from 'a' to string. As you point out, you can force the desired result by writing 'a' as 'a'. It would be nice to do better here, but it isn't clear how we could cheaply and consistently determine that a type parameter is used only in output positions.

@andy-ms Your example is working as it should. Array elements are mutable locations so widening is to be expected.

This doesn't seem to be affected by mutability?
declare function arr<T>(val: T): ReadonlyArray<T>
const y: ReadonlyArray<"a"> = arr("a");

Observable also only returns a T, not exposing it as a property.

@wolfgang42 Another potential workaround for your example if you are only expecting strings is:
interface Observable<T extends string> {peek(): T}
declare function obs<T extends string>(val: T): Observable<T>
const t: Observable<'A'> = obs('A') // now works

@kpdonn The Observable in my example was actually from a library, so I can't change its declaration. Hopefully someone else will find that useful, though.
[I've since had to rewrite the code that had this issue for other reasons, this is not currently a problem for me any more.]

Another case:
declare function createArray<T>(): Array<T>;
interface I {
    a: number;
    b: true[];
}

const x: I = { a: 0, b: createArray() };

src/a.ts(7,7): error TS2322: Type '{ a: number; b: boolean[]; }' is not assignable to type 'I'.
  Types of property 'b' are incompatible.
    Type 'boolean[]' is not assignable to type 'true[]'.
      Type 'boolean' is not assignable to type 'true'.


controller: Convert the deployer to a generic worker

This will make it easier to handle more background jobs (e.g. #993).

LGTM


Communication.Identity:  CommunicationUserIdentifier type definition is not in sync with javascript sdk

The 2 sdk have different definitions for CommunicationUserIdentifier type last version (beta.5)
in .net  the property that contains the communication id is id while in javascript is communicationUserId

Thank you for your feedback.  Tagging and routing to the team best able to assist.

Hi @guru98 , thanks for reaching out!
We're striving to make the SDKs consistent across languages but sometimes languages are different enough that we diverge. In this case TypeScript uses interfaces and you can pass in object literals like { communicationUserId: "<actual id>" } and { phoneNumber: "#123456789" }` which we've felt to be more idiomatic to JavaScript than using classes. In C# classes are the idiomatic way to model these identifier types.
Let us know any more feedback and how we can improve to make the usage patterns more clear.

Understand but in the case of communicationUserToken the json properties are different that make inconsistent, for example use an azure function written in .net to provide token to a javascript app. I fixed it using my own json
Regards
Inviato da Postahttps://go.microsoft.com/fwlink/?LinkId=550986 per Windows 10
Da: @.>
Inviato: giovedì 1 aprile 2021 01:32
A: @.>
Cc: Ugo @.>; @.>
Oggetto: Re: [Azure/azure-sdk-for-net] Communication.Identity: CommunicationUserIdentifier type definition is not in sync with javascript sdk (#19483)
Hi @guru98https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fguru98&data=04|01||88e17a84166849ddc60e08d8f49d4135|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637528303522248723|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=ngvZWmxUr4DtNO7UM8uX4zqGHk1G%2FuOQKcRWbfQvVos%3D&reserved=0 , thanks for reaching out!
We're striving to make the SDKs consistent across languages but sometimes languages are different enough that we diverge. In this case TypeScript uses interfaces and you can pass in object literals like { communicationUserId: "" } and { phoneNumber: "#123456789" }` which we've felt to be more idiomatic to JavaScript than using classes. In C# classes are the idiomatic way to model these identifier types.
Let us know any more feedback and how we can improve to make the usage patterns more clear.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-sdk-for-net%2Fissues%2F19483%23issuecomment-811531326&data=04|01||88e17a84166849ddc60e08d8f49d4135|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637528303522258699|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=K2tEnN5XhUYjUdzZQmX8IU40MUMuUzSP1jf%2B7EHIbJU%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA77TTTN3K6XSQMMRBQ652DTGOWI5ANCNFSM4ZCK6QLQ&data=04|01||88e17a84166849ddc60e08d8f49d4135|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637528303522258699|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=VFVnOqpQy0rpor4tiHKWq%2FvhLiM08jEFbQYAOyWPQUk%3D&reserved=0.

@guru98 Thanks for sharing your specific use case. You're right, we're not helping much in terms of serializing a C# model and then deserializing it as the corresponding JS model.
What you described with a .NET token issue route and a JS client is a common scenario, we can see if we can improve our documentation around that and provide code snippets.
cc @ProbablePrime

Taking this back to the team to discuss supporting the flow you described better.


Handle deletions of associated models

The behavior will be similar to EF. When trying to remove a model that is being used in an association an exception will be thrown when calling SaveChanges(). This will be done before any changes are written to localStorage, similar to the way a transaction works.


Pre-Open ColorPicker without button

Hi, I was wondering if it is possible to have a pre-opened ColorPicker dialog in page, with no need of a button
I don't want it to be a popup that gets activated by clicking on a button, I want it as a section in my website which has to be shown already and be activated ASAP the page loads,  NOT A POPUP DIALOG
Any Ideas ?

Hi,
No this is not currently a featute in the color picker. I will add this idea to feature requests and may work on it in the future.

Thanks


(1/6) HolidayEntitlementCalculator: Add logic and tests for days-worked-per-week calculations

EPIC: HolidayEntitlementCalculator new logic. We're raising this PR for visibility, then we'll branch off this branch to continue with the other phases in the parent Trello card. Then we'll merge the final PR at the end, after some rebasing. Hence, this is PR 1/6. :scream:
This implements:

Days worked per week for a full leave year.

Starting work part-way through a leave year.

Leaving work part-way through a leave year.

We even account for leap years.

We've done a lot of refactoring to help our numbers match the numbers on the spreadsheet we took our test data from. Notably, converting the HolidayEntitlement OpenStruct to a Class to make it easier to work with, and making sure all the necessary methods dealt with BigDecimals instead of Floats, to make sure we're precise enough in the calculations.

We've deleted a lot of the old calculator code and tests to make our current changes easier to reason about and able to be done hopefully less confusingly. This means that the Flow tests fail because they call code that doesn't exist any more. When we've finished the EPIC REFACTOR, we'll tie it all together again.

https://trello.com/c/x7UV13sW/1325-8-implement-revised-logic-for-days-worked-per-week-for-holiday-entitlement-calculator
Co-authored-by: Alan Gabbianelli<EMAIL_ADDRESS>Co-authored-by: Ed Kerry<EMAIL_ADDRESS>Co-authored-by: Issy Long<EMAIL_ADDRESS>Co-authored-by: Deborah Chua<EMAIL_ADDRESS>

I'm going to do the opposite of what one does with approved PRs... I'm going to close it... 😱It's not mergeable until we're done with all of the changes and have fixed the flows.


ImportError: cannot import name 'syncbn_gpu'

cxt@ubuntu4-X299X-AORUS-MASTER:~/codetest/det3d$ python tools/create_data.py kitti_data_prep --root_path=/home/cxt/Kitti/object/
/home/cxt/anaconda3/envs/second/lib/python3.6/site-packages/numba/cuda/envvars.py:17: NumbaWarning:
Environment variables with the 'NUMBAPRO' prefix are deprecated and consequently ignored, found use of NUMBAPRO_NVVM=/usr/local/cuda/nvvm/lib64/libnvvm.so.
For more information about alternatives visit: ('http://numba.pydata.org/numba-doc/latest/cuda/overview.html', '#cudatoolkit-lookup')
warnings.warn(errors.NumbaWarning(msg))
/home/cxt/anaconda3/envs/second/lib/python3.6/site-packages/numba/cuda/envvars.py:17: NumbaWarning:
Environment variables with the 'NUMBAPRO' prefix are deprecated and consequently ignored, found use of NUMBAPRO_LIBDEVICE=/usr/local/cuda/nvvm/libdevice.
For more information about alternatives visit: ('http://numba.pydata.org/numba-doc/latest/cuda/overview.html', '#cudatoolkit-lookup')
warnings.warn(errors.NumbaWarning(msg))
/home/cxt/anaconda3/envs/second/lib/python3.6/site-packages/numba/cuda/envvars.py:17: NumbaWarning:
Environment variables with the 'NUMBAPRO' prefix are deprecated and consequently ignored, found use of NUMBAPRO_CUDA_DRIVER=/usr/lib/x86_64-linux-gnu/libcuda.so.
For more information about alternatives visit: ('http://numba.pydata.org/numba-doc/latest/cuda/overview.html', '#cudatoolkit-lookup')
warnings.warn(errors.NumbaWarning(msg))
Traceback (most recent call last):
File "tools/create_data.py", line 7, in
from det3d.datasets.kitti import kitti_common as kitti_ds
File "/home/cxt/codetest/det3d/det3d/datasets/init.py", line 4, in
from .kitti import KittiDataset
File "/home/cxt/codetest/det3d/det3d/datasets/kitti/init.py", line 1, in
from .kitti import KittiDataset
File "/home/cxt/codetest/det3d/det3d/datasets/kitti/kitti.py", line 8, in
from det3d.datasets.custom import PointCloudDataset
File "/home/cxt/codetest/det3d/det3d/datasets/custom.py", line 8, in
from .pipelines import Compose
File "/home/cxt/codetest/det3d/det3d/datasets/pipelines/init.py", line 18, in
from .preprocess import Preprocess, Voxelization, AssignTarget
File "/home/cxt/codetest/det3d/det3d/datasets/pipelines/preprocess.py", line 8, in
from det3d.builder import (
File "/home/cxt/codetest/det3d/det3d/builder.py", line 18, in
from det3d.models.losses import GHMCLoss, GHMRLoss, losses
File "/home/cxt/codetest/det3d/det3d/models/init.py", line 2, in
from .backbones import *  # noqa: F401,F403
File "/home/cxt/codetest/det3d/det3d/models/backbones/init.py", line 1, in
from .scn import RCNNSpMiddleFHD, SpMiddleFHD
File "/home/cxt/codetest/det3d/det3d/models/backbones/scn.py", line 6, in
from det3d.models.utils import Empty, change_default_args
File "/home/cxt/codetest/det3d/det3d/models/utils/init.py", line 1, in
from .conv_module import ConvModule, build_conv_layer
File "/home/cxt/codetest/det3d/det3d/models/utils/conv_module.py", line 7, in
from .norm import build_norm_layer
File "/home/cxt/codetest/det3d/det3d/models/utils/norm.py", line 4, in
from det3d.ops.syncbn import DistributedSyncBN
File "/home/cxt/codetest/det3d/det3d/ops/syncbn/init.py", line 1, in
from .syncbn import DistributedSyncBN
File "/home/cxt/codetest/det3d/det3d/ops/syncbn/syncbn.py", line 12, in
from . import syncbn_gpu
ImportError: cannot import name 'syncbn_gpu'

have you compile the syncbn_gpu memory?

Yes i ignored it now it's resolved

But I encountered the same problem as on Second. I used TATIN V and the batch size was set to 4 (even set to 1)and it still didn't work. prompt:RuntimeError: CUDA out of memory.


Add tests of Lattice ALU logic and arithmetic functionality

Currently we're just passing a value through the Lattice ALU. We need to make it actually do something.

7/16/23
Notes on #276
(though also kind of on #278)
I have a test that shows that we can combinationally do a+c through the ALU, but it's not figuring out how to do (a*b)+c in the integration test.
Also, it seems like adding the C signal (i.e. running the mul-add integration test vs just the multiplier integration test) slows things down significantly. So what is it about using C that makes the symbolic interpretation so much slower?
Ah. I just realized. It's because C needs to be passed in on the last clock cycle, in this case. That is, it's not being registered.
So what's the solution here?
The correct thing to do would be to add a feature to delay the signal, i think. Does the mult have built in registers? It does have C inputs and outputs, doesn't it?
Oh, no it doesn't. The D multiplier did. Not sure if those were a delay path or not.
The other problem here is that we're forcing the ALU to be combinational. The ALU may actually have a way to delay C -- let me see.
Yeah, it does. So I think that means that, if we can solve the weird problem with clk, we could sidestep this problem of needing to delay C, because then C could be internally delayed.
So what's the problem with clk?
Gonna write notes in https://github.com/uwsampl/lakeroad/issues/275.


⚠ Replace MTIME by CLINT

This PR replaces the MTIME machine timer by the RISC-V-compatible core local interruptor (CLINT). From a functional point of view, both devices are backwards-compatible. However, base address and register offsets are changed. Additionally, the CLINT also provides an interface for triggering machine-level software interrupts.
The CLINT supports up to 4095 harts (CPU cores). So maybe it is finally time to think about a multi-core setup (like the one GitHub user @NikLeberg has created). 🤔
:warning: This PR also removes the processor HART_ID generic.

Wow! This looks nice. :)
I guess I have to rebase my (a bit dormant) SMP system.
If we'd like to think about a multi core system what are your thoughts how to progress? If you like I can sketch an architecture overview of my current implementation so that we could discuss points/entities that would need to be created or modified.
Cheers and happy new year! 🚀

Wow! This looks nice. :)

Thanks a lot!

If we'd like to think about a multi core system what are your thoughts how to progress? If you like I can sketch an architecture overview of my current implementation so that we could discuss points/entities that would need to be created or modified.

That's a good question. Let's open an issue or discussion for that. What worries me most is the multi-hart DM and of course the software support. 😅

Cheers and happy new year! 🚀

A happy new year to you too!


More camera controls?

Hello!
I've been enjoying your freecam tool; it's a lot of fun! I'm wondering if it's possible to add a few more directional controls for the camera.
I'm looking for strafe-up and strafe-down movement (so basically "jump" and "crouch" directions if that makes any sense). Currently in order to move the camera up or down, I have to first look up/down then press forward or backward.
The following are totally optional, no worries if they aren't possible:

rotating the camera clockwise and counterclockwise would be cool,
Changing the FoV. Especially during cutscenes with a far FoV, it's tough to get closeups of characters without clipping into their models.  It's an awesome tool!
-- Curagea

I have plans on implementing the strafe-up strafe-down movement, I'll do it as soon as I clean up the code, because right now there's too much redundancy so I want to avoid writing the same stuf three times. But it is a must!
Rotating the camera is a good idea to implement, I'll see what I can do with that!

I made some progress cleaning the code, and now you can move up/down with the camera with Control and Space.
I'll close this issue when I manage to implement the camera rotation

Hello again! The up/down movement is working great. Can't wait to see camera rotation.
How mappable are the camera controls? I've noticed there's now controller support for some of the controls but not all.

I don't think buttons will be ever mappables, but I'll make sure all options are available for keyboard or controller.


:sparkles: Support pagination on /_api/search

This pull request makes /_api/searchAPI  paginatable with limit and offset parameters which same with `/_api/pages.list' API.
$ curl -X GET "http://localhost:3000/_api/search?access_token=MY_SECRET_TOKEN&q=memo&tree=/user/&limit=2&offset=1" | jq '.data[]._id'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2202  100  2202    0     0  50029      0 --:--:-- --:--:-- --:--:-- 51209
"5b123f13403dd50264d0fec7"
"5b133b6b83558c0266a8454a"

Motivation
I want to create a cli tool to search crowi pages, but /_api/search does not support pagination parameters, yet.
Question
It seems that /_api/page.list API can't configure limit by query parameters. (here).
I wonder whether /_api/search API should support limit parameter, or not. 🤔
What do you think about limit parameter on /_api/search API?

I checked the behavior and it worked correctly 👍

@hirakiuc I think pages.list and search APIs both can support limit parmeter.
But, should also have a limitation for a large number.
How do you think make the limit to 1000 and allow any lower number of it?

But, should also have a limitation for a large number.
How do you think make the limit to 1000 and allow any lower number of it?

Yes,  limit parameter should have max limit to avoid too large response. 👍
I'll try  to implement the max limitation of limit parameter.

I added lib/util/apiPaginate.js to parse limit/offset param, b44b927.
It works for me about limit parameter. 😃
But an error occurred with big offset parameter, like below.
elasticsearch_1  | [2018-06-06T14:49:11,029][WARN ][r.suppressed             ] path: /crowi/pages/_search, params: {size=50, index=crowi, from=10000, type=pages}
elasticsearch_1  | org.elasticsearch.action.search.SearchPhaseExecutionException: all shards failed
elasticsearch_1  |      at org.elasticsearch.action.search.AbstractSearchAsyncAction.onPhaseFailure(AbstractSearchAsyncAction.java:272) ~[elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.action.search.AbstractSearchAsyncAction.executeNextPhase(AbstractSearchAsyncAction.java:130) ~[elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.action.search.AbstractSearchAsyncAction.onPhaseDone(AbstractSearchAsyncAction.java:241) ~[elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.action.search.InitialSearchPhase.onShardFailure(InitialSearchPhase.java:107) ~[elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.action.search.InitialSearchPhase.access$100(InitialSearchPhase.java:49) ~[elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.action.search.InitialSearchPhase$2.lambda$onFailure$1(InitialSearchPhase.java:217) ~[elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.action.search.InitialSearchPhase.maybeFork(InitialSearchPhase.java:171) [elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.action.search.InitialSearchPhase.access$000(InitialSearchPhase.java:49) [elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.action.search.InitialSearchPhase$2.onFailure(InitialSearchPhase.java:217) [elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.action.ActionListenerResponseHandler.handleException(ActionListenerResponseHandler.java:51) [elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler.handleException(TransportService.java:1077) [elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.transport.TransportService$DirectResponseChannel.processException(TransportService.java:1181) [elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.transport.TransportService$DirectResponseChannel.sendResponse(TransportService.java:1159) [elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.transport.TransportService$7.onFailure(TransportService.java:665) [elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.onFailure(ThreadContext.java:659) [elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:39) [elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_161]
elasticsearch_1  |      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_161]
elasticsearch_1  |      at java.lang.Thread.run(Thread.java:748) [?:1.8.0_161]
elasticsearch_1  | Caused by: org.elasticsearch.search.query.QueryPhaseExecutionException: Result window is too large, from + size must be less than or equal to: [10000] but was [10050]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max_result_window] index level setting.
elasticsearch_1  |      at org.elasticsearch.search.DefaultSearchContext.preProcess(DefaultSearchContext.java:203) ~[elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.search.query.QueryPhase.preProcess(QueryPhase.java:95) ~[elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.search.SearchService.createContext(SearchService.java:497) ~[elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:461) ~[elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:257) ~[elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.action.search.SearchTransportService$6.messageReceived(SearchTransportService.java:343) ~[elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.action.search.SearchTransportService$6.messageReceived(SearchTransportService.java:340) ~[elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:69) ~[elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.transport.TransportService$7.doRun(TransportService.java:654) ~[elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:674) ~[elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) ~[elasticsearch-5.6.9.jar:5.6.9]
elasticsearch_1  |      ... 3 more

I'll check this error  🤔

hmm

elasticsearch_1  | Caused by: org.elasticsearch.search.query.QueryPhaseExecutionException: Result window is too large, from + size must be less than or equal to: [10000] but was [10050]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max_result_window] index level setting.

https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-from-size.html
I see, the default max_result_window is 10000 and from + size must be less than it.
IMO, the search result over 10000 is not so meaningful, how about set the from + size limitation same as the default size of es? (10000)

Thank you for your comment!
I've checking whether we can use scroll API, or not.
But just limit the from + size is the best simple solution, as your comment. 👍
I'll implement that 💪

I've implemented the limitation of (limit + offset) and fix bugs.
Please check this PR 🙏


hetio.abbreviation.metaedges_from_metapath breaks for integers

I have been building hetnets for MSigDB at https://github.com/greenelab/interpret-compression and have been using MSigDB collection names for hetio metagraph IDs.
However, I am receiving an error in the function metapath_from_abbrev. For example, when calling graph.metagraph.metapath_from_abbrev('GpC1')
The traceback is:
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-6-2cbc2580bcf8> in <module>()
      1 DWPCs = collections.OrderedDict()
      2 for name, graph in hetnets.items():
----> 3     metapath = graph.metagraph.metapath_from_abbrev('GpC1')
      4     rows, cols, dwpc_matrix, seconds = dwpc(graph, metapath, damping=0.4)
      5     DWPCs[name] = dwpc_matrix

~/anaconda3/envs/interpret-compression/lib/python3.6/site-packages/hetio/hetnet.py in metapath_from_abbrev(self, abbrev)
    333         for metaedge_abbrev in metaedge_abbrevs:
    334             metaedge_id = hetio.abbreviation.metaedge_id_from_abbreviation(
--> 335                 self, metaedge_abbrev)
    336             metaedges.append(self.get_edge(metaedge_id))
    337         return self.get_metapath(tuple(metaedges))

~/anaconda3/envs/interpret-compression/lib/python3.6/site-packages/hetio/abbreviation.py in metaedge_id_from_abbreviation(metagraph, abbreviation)
    128     abbrev_to_kind = {v: k for k, v in metagraph.kind_to_abbrev.items()}
    129     source_kind = abbrev_to_kind[source_abbrev]
--> 130     target_kind = abbrev_to_kind[target_abbrev]
    131     metanode = metagraph.get_node(source_kind)
    132     for edge in metanode.edges:

KeyError: 'C'

It appears the root of the error is in in line 332 to the method metaedges_from_metapath:
hetio.abbreviation.metaedges_from_metapath('GpC1')
>>> ['GpC']

Which also appears to break in line 114 in hetio/abbreviation.py.
I have not looked in the specific line in too much detail but I was wondering if there would be a way to accept integers in metapath abbreviations.
pattern = regex.compile('(?<=^|[a-z<>])[A-Z]+[a-z<>]+[A-Z]+')

Ah interesting case. You've identified the problematic line. The main difficulty is that we use case to determine what's an metanode (UPPER) and what's and edge (lower). Perhaps we could allow digits proceeding an initial letter to set the case? That would fix your issue and also allow G1Fp1C2, although the readability of such an abbreviation is poor.

Looks like this works for my use case (and others)
>>> import regex
>>> pattern = regex.compile('(?<=^|[a-z<>])[A-Z0-9]+[a-z<>]+[A-Z0-9]+')
>>> pattern.findall('GiGpBP', overlapped=True)
['GiG', 'GpBP']
>>> pattern.findall('GpC1', overlapped=True)
['GpC1']
>>> pattern.findall('G1Fp1C2pC1', overlapped=True)
['G1Fp1C2', '1C2pC1']

Do you think this would introduce any unintended consequences? I can work around this issue by extracting metapaths by other means


Little cleanup

Removing the exposure of some class variables and applying the program to an interface principle.

@thejamesthomas  this also fixes #13
Thanks!

I really need to fix the TravisCI build. I'll see if I can find the time to work on that this week. Thanks again for the contribution!


Cgroup manager unit tests fail on a host with cgroup v2

What happened:
The unit tests pkg/virt-handler/cgroup/cgroup_test.go fail on a host with cgroup v2. Current implementation does not mock the real cgroup code correctly, and it ends up in calling the functions from runc.
What you expected to happen:
The unit tests should not call runc code. Instead, proper mocking should be implemented. The tests should pass on any host.
How to reproduce it (as minimally and precisely as possible):
Run make test on a system with cgroup v2:
------------------------------
• [FAILED] [0.001 seconds]
cgroup manager
pkg/virt-handler/cgroup/cgroup_test.go:12
  ensure that default rules are added
  pkg/virt-handler/cgroup/cgroup_test.go:66
    [It] for v1
    pkg/virt-handler/cgroup/cgroup_test.go:82

  Unexpected error:
      <*errors.errorString | 0xc00062f110>: {
          s: "cannot initialize new cgroup manager. err: not implemented for cgroup v2 unified hierarchy",
      }
      cannot initialize new cgroup manager. err: not implemented for cgroup v2 unified hierarchy
  occurred
  In [It] at: pkg/virt-handler/cgroup/cgroup_test.go:68
------------------------------
...
------------------------------
• [FAILED] [0.000 seconds]
cgroup manager
pkg/virt-handler/cgroup/cgroup_test.go:12
  ensure that past rules are not overridden
  pkg/virt-handler/cgroup/cgroup_test.go:86
    [It] for v1
    pkg/virt-handler/cgroup/cgroup_test.go:103

  Unexpected error:
      <*errors.errorString | 0xc00062fc60>: {
          s: "cannot initialize new cgroup manager. err: not implemented for cgroup v2 unified hierarchy",
      }
      cannot initialize new cgroup manager. err: not implemented for cgroup v2 unified hierarchy
  occurred
  In [It] at: pkg/virt-handler/cgroup/cgroup_test.go:88
------------------------------
...
------------------------------
• [FAILED] [0.000 seconds]
cgroup manager
pkg/virt-handler/cgroup/cgroup_test.go:12
  ensure that past rules are overridden if explicitly set
  pkg/virt-handler/cgroup/cgroup_test.go:107
    [It] for v1
    pkg/virt-handler/cgroup/cgroup_test.go:122

  Unexpected error:
      <*errors.errorString | 0xc0001934a0>: {
          s: "cannot initialize new cgroup manager. err: not implemented for cgroup v2 unified hierarchy",
      }
      cannot initialize new cgroup manager. err: not implemented for cgroup v2 unified hierarchy
  occurred
  In [It] at: pkg/virt-handler/cgroup/cgroup_test.go:109
------------------------------
...
Summarizing 3 Failures:
  [FAIL] cgroup manager ensure that default rules are added [It] for v1
  pkg/virt-handler/cgroup/cgroup_test.go:68
  [FAIL] cgroup manager ensure that past rules are not overridden [It] for v1
  pkg/virt-handler/cgroup/cgroup_test.go:88
  [FAIL] cgroup manager ensure that past rules are overridden if explicitly set [It] for v1

Additional context:
I think the recent bump of runc https://github.com/kubevirt/kubevirt/pull/8073 revealed this issue. Previously it was hidden because of no error handling.
Environment:

KubeVirt version (use virtctl version): N/A
Kubernetes version (use kubectl version): N/A
VM or VMI specifications: N/A
Cloud provider or hardware configuration: N/A
OS (e.g. from /etc/os-release): N/A
Kernel (e.g. uname -a): N/A
Install tools: N/A
Others: N/A

@iholder-redhat FYI

Thank you @vasiliy-ul for raising my attention. I would get into it as soon as I can.
/assign

FYI, PR created: https://github.com/kubevirt/kubevirt/pull/8136

Fixed by https://github.com/kubevirt/kubevirt/pull/8136


StackNavigator: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object.

Current Behavior
android && ios wrong

Expected Behavior
can work.
Your Environment
"react": "16.0.0-alpha.12",
"react-native": "0.46.4",
"react-navigation": "^1.0.0-beta.11"
node:8.0.0
npm:5.0.1
code:
const AppNavigator = StackNavigator(
{
home: {screen: myHome,},
project: {screen: myProject,},
credit: {screen: myCredit,},
profile: {screen: myProfile,},
},
{
headerMode: 'screen',
navigationOptions: {
headerStyle: {
backgroundColor: 'red'
},
headerTitleStyle: {
color: '#fff',
fontSize: 20,
alignSelf: 'center'
},
headerTintColor: '#fff',
gesturesEnabled: true,
}
}
);
export default AppNavigator;
myhome/myProject/myCredit/myProfile  code:
`export default class Home extends Component {
render(){
    return (<View>
       <Text>hahhahah</Text>
    </View>)
}

}`

I though.it a quesstion of 0.46.4.
when I install 0.44.0 and yarn install (not npm install)
and is ok.

One of your screens likely isn't imported/exported correctly. Make sure you can render each screen independently of the navigator.


zimfw upgrade messages

i got these messages when running zimfw upgrade on some of my machines, what does it mean to my system?
# macOS 10.15.2
2020-01-09 22:37:43 URL:https://raw.githubusercontent.com/zimfw/zimfw/master/zimfw.zsh [14318/14318] -> "$HOME/.zim/zimfw.zsh.new" [1]

# Archlinux

Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
2020-01-09 22:38:23 URL:https://raw.githubusercontent.com/zimfw/zimfw/master/zimfw.zsh [14318/14318] -> "$HOME/.zim/zimfw.zsh.new" [1]

while on another archlinux box, i don't get these messages. all zimfw are newly installed via curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh

found the cause, it is due to wget, _zimfw_upgrade tries to use wget firstly if found, but wget does not give quiet enough output even with  zimfw upgrade -q.

Exactly, and wget -q will also suppress the error messages, which I think is not a good idea. The messages you see are even printed to stderr. I just learned to accept that this is how wget works, and I agree it can be annoying! There are workarounds for this annoyance, but I also want to avoid making the code more complex because of that.
Something I'm considering is adding a -v verbose flag to zimfw. So in this case we can do wget -q unless you're calling zimfw upgrade -v.

just swap curl and wget, make curl the first choice, on most *nix systems, curl is installed by default.

Stupid question, but how do I update?
zimfw upgrade
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
2020-01-14 00:50:22 URL:https://raw.githubusercontent.com/zimfw/zimfw/master/zimfw.zsh [14318/14318] -> "~/.zim/zimfw.zsh.new" [1]
) ~/.zim/zimfw.zsh: Already up to date
Done with upgrade.
) ~/.zim/login_init.zsh: Already up to date
Done with compile.

But I still have:
_zimfw_upgrade() {
  local -r ztarget=${ZIM_HOME}/zimfw.zsh
  local -r zurl=https://raw.githubusercontent.com/zimfw/zimfw/master/zimfw.zsh
  {
    if (( ${+commands[wget]} )); then
      command wget -nv -O ${ztarget}.new ${zurl} || return 1
    else
      command curl -fsSL -o ${ztarget}.new ${zurl} || return 1
    fi
    _zimfw_mv ${ztarget}{.new,} && _zimfw_print -P 'Done with upgrade.'
  } always {
    command rm -f ${ztarget}.new
  }
}


important things to document

two proposals i received for the FAQ:

can I have access to query params?
is it possible to pass custom flags to the app like window size?

Preliminary answers by @ryannhg via Slack:

drop one of the always functions that gets auto-generated in one of your pages, and check out the new PageContext that your init/update/view now. That has access to the global model, route, and query parameters (as a Dict String String)
you can control the flags your app excepts by updating the type alias Flags in Global.elm
(edited)

Spa-Types#PageContext

https://elm-spa.dev/docs/faq


//test/integration:tcp_tunneling_integration_test segmentation fault on aarch64-opt (flake?)

From this PR: https://github.com/envoyproxy/envoy/pull/12376. Not sure if it is just a flake.
[ RUN      ] IpVersions/TcpTunnelingIntegrationTest.TcpProxyUpstreamFlush/IPv6
[2020-07-31 00:06:41.684][21976][critical][backtrace] [bazel-out/aarch64-opt/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:104] Caught Segmentation fault, suspect faulting address 0x61616161616179
[2020-07-31 00:06:41.684][21976][critical][backtrace] [bazel-out/aarch64-opt/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:91] Backtrace (use tools/stack_decode.py to get line numbers):
[2020-07-31 00:06:41.684][21976][critical][backtrace] [bazel-out/aarch64-opt/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:92] Envoy version: 0/1.16.0-dev/test/RELEASE/BoringSSL
[2020-07-31 00:06:41.684][21976][critical][backtrace] [bazel-out/aarch64-opt/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #0: __kernel_rt_sigreturn [0xffff8d7e45b8]
[2020-07-31 00:06:41.690][21976][critical][backtrace] [bazel-out/aarch64-opt/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #1: Envoy::Event::DispatcherImpl::runPostCallbacks() [0xe859c0]
[2020-07-31 00:06:41.695][21976][critical][backtrace] [bazel-out/aarch64-opt/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #2: event_process_active_single_queue [0x159f714]
[2020-07-31 00:06:41.701][21976][critical][backtrace] [bazel-out/aarch64-opt/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #3: event_base_loop [0x159e238]
[2020-07-31 00:06:41.706][21976][critical][backtrace] [bazel-out/aarch64-opt/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #4: Envoy::FakeUpstream::threadRoutine() [0x87fb44]
[2020-07-31 00:06:41.711][21976][critical][backtrace] [bazel-out/aarch64-opt/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #5: Envoy::Thread::ThreadImplPosix::ThreadImplPosix()::{lambda()#1}::__invoke() [0x15994f4]
[2020-07-31 00:06:41.712][21976][critical][backtrace] [bazel-out/aarch64-opt/bin/source/server/_virtual_includes/backtrace_lib/server/backtrace.h:96] #6: start_thread [0xffff8d6af088]

Runner logs: https://dev.azure.com/cncf/4684fb3d-0389-4e0b-8251-221942316e06/_apis/build/builds/46686/logs/67

This is a dup of https://github.com/envoyproxy/envoy/issues/12253 which somehow get closed. Anyway, I've tried to repro this locally but have been haven't been able to hit it. Let's live this open to track.

Another run (post-submit for https://github.com/envoyproxy/envoy/commit/4f85591457c73a56efb171ec021d1f80b09205fe): https://github.com/envoyproxy/envoy/runs/934639524 with the same failure.


Interface abstraction layer for DI

Hi,
I've extracted an interface for all API classes. This will make easier to used this package with a dependancy injection container.
I've also added phpunit and phpcs to the dev dependancies so that I was able to run the unit tests and apply code style
Please review these changes and if approved merge them.
Also might I suggest/request that you mark the merge as 1.0.0 version

I see the repo settings might also need an update:
https://github.com/travis-ci/travis-ci/issues/10204

Hi @ocean90
Have you had a look at this pull request ?

No, not yet. I will try to take a look at this over the next few days.
It's a big PR with a lot of out-of-scope changes which doesn't make it easy to review such PRs.


Drop unused istio client

I reviewed our repositories and couldn't find any usages for this. Rightfully so I guess as this repository isn't supposed to have anything to do with Istio.
/assign @nak3

/lgtm
Thank you!


Update code that gets armor name

src/lib.js#L1348

This should be updated to include the new dungeon "stars" things, armor dyes, dungeon boss enhancement (this thing: )
Or better at this point just do a whitelist regex for A-Za-z0-9 -', and .trim()

instead of regex A-Za-z0-9 -', use \w, far easier imo

instead of regex A-Za-z0-9 -', use \w, far easier imo

\w is equivalent to A-Za-z0-9_, not A-Za-z0-9 -


Improve usage of snprintf in dump.c

Be more explicit about casting arguments to snprintf.
Use sizeof() instead of magic constant.

Merged, thanks.


Make AppendFile() return the newly appended lines as []string

This would be very useful if I could check what's being appended within my code.

Can you think of an example where this would be useful?

reading output of Exec("X program") while getting the job of appending it to a file at the same time

There have been suggestions before for something like Tee() that splits the pipe into two identical streams, which would sort of achieve what you want, wouldn't it? Unfortunately, we haven't really come up with a nice API for it yet.

There have been suggestions before for something like Tee() that splits the pipe into two identical streams, which would sort of achieve what you want, wouldn't it?
absolutely.

would something like Tee() return the second stream to be used separately or be something that takes a pointer to the variable to write to or would you give Tee() the actions to apply to the pipe.

Right now AppendFile returns n, err, and I can't see a way to change that without breaking existing code, so closing with regret.


Drop docs/Reference, point to kubecf/doc and specific files

Keeping everything in sync for development docs feels like a lost battle.
Point to the kubecf repo instead for now.

I'm fine with it. To be honest, I find the dev docs rather confusing than helpful. Better work on wonderful user-facing docs :rainbow:


In "cat" command print header only for a few files

Useful for cat one file from gist:
gister cat --gist=NNNNN > file
chmod 700 file
./file

Thx!


adjust chart/graph size depending on window size

Since dc/d3 charts needs to have a fixed-pixel size, the pixel# for each chart should be generated on the fly based on the amount of pixels available to the browser.  This is really a long term fix, since what we have is good enough™

I said "good enough™" over a year ago and it seems to be good enough! closing..


[fix](restore tablet) _exec_env is null,use StorageEngine::instance()…

… instead
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 49.16 seconds
stream load tsv:          581 seconds loaded<PHONE_NUMBER>9 Bytes, about 122 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          29.3 seconds inserted 10000000 Rows, about 341K ops/s
storage size:<PHONE_NUMBER>1 Bytes


feat: spanish language added

Summary
Spanish language added

Spanish "es.json" translation file added

@JEliasLugo may I request you to force push signed commits by GPG?