v4: non-utf8 characters prohibit execution

If a non-utf8 character is somewhere in the file, the regex, which searches for a frontmatter, fails:
/.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/util/data.rb:40:in `match': invalid byte sequence in UTF-8 (ArgumentError)
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/util/data.rb:40:in `parse'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/core_extensions/front_matter.rb:68:in `data'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/core_extensions/front_matter.rb:33:in `block in manipulate_resource_list'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/core_extensions/front_matter.rb:30:in `each'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/core_extensions/front_matter.rb:30:in `manipulate_resource_list'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/sitemap/store.rb:206:in `block (2 levels) in ensure_resource_list_updated!'
	from /.../gems/hamster-2.0.0/lib/hamster/vector.rb:1316:in `each'
	from /.../gems/hamster-2.0.0/lib/hamster/vector.rb:1316:in `traverse_depth_first'
	from /.../gems/hamster-2.0.0/lib/hamster/vector.rb:431:in `each'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/sitemap/store.rb:204:in `block in ensure_resource_list_updated!'
	from /Users/ulrichgabor/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/sitemap/store.rb:196:in `ensure_resource_list_updated!'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/sitemap/store.rb:153:in `block in resources'
	from /Users/ulrichgabor/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/sitemap/store.rb:152:in `resources'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/util.rb:504:in `find_related_files'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/sources/source_watcher.rb:237:in `update'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/sources/source_watcher.rb:188:in `poll_once!'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/sources.rb:123:in `watch'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/core_extensions/i18n.rb:42:in `after_configuration'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/extension.rb:385:in `block in bind_after_configuration'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/callback_manager.rb:51:in `instance_exec'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/callback_manager.rb:51:in `block in execute'
	from /.../gems/hamster-2.0.0/lib/hamster/vector.rb:1316:in `each'
	from /.../gems/hamster-2.0.0/lib/hamster/vector.rb:1316:in `traverse_depth_first'
	from /.../gems/hamster-2.0.0/lib/hamster/vector.rb:431:in `each'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/callback_manager.rb:51:in `execute'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/callback_manager.rb:28:in `block in install_methods!'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/application.rb:289:in `start_lifecycle'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/application.rb:265:in `initialize'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/preview_server.rb:140:in `new'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/preview_server.rb:140:in `initialize_new_app'
	from /.../gems/middleman-core-4.0.0.rc.2/lib/middleman-core/preview_server.rb:33:in `start'
	from /.../gems/middleman-cli-4.0.0.rc.2/lib/middleman-cli/server.rb:86:in `server'
	from /.../gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
	from /.../gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
	from /.../gems/thor-0.19.1/lib/thor/invocation.rb:133:in `block in invoke_all'
	from /.../gems/thor-0.19.1/lib/thor/invocation.rb:133:in `each'
	from /.../gems/thor-0.19.1/lib/thor/invocation.rb:133:in `map'
	from /.../gems/thor-0.19.1/lib/thor/invocation.rb:133:in `invoke_all'
	from /.../gems/thor-0.19.1/lib/thor/group.rb:232:in `dispatch'
	from /.../gems/thor-0.19.1/lib/thor/invocation.rb:115:in `invoke'
	from /.../gems/thor-0.19.1/lib/thor.rb:40:in `block in register'
	from /.../gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
	from /.../gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
	from /.../gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
	from /.../gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
	from /.../gems/middleman-cli-4.0.0.rc.2/bin/middleman:23:in `<top (required)>'
	from /.../bin/middleman:23:in `load'
	from /.../bin/middleman:23:in `<main>'
	from /.../bin/ruby_executable_hooks:15:in `eval'
	from /.../bin/ruby_executable_hooks:15:in `<main>'

I suppose such characters should be silently ignored, since the actual content of a file should not be relevant. The affected file does not even contain a frontmatter.

Are non-UTF8 characters valid? Or should the error message just be more clear?

In this case it is just another character set (ISO 8859-1), which would work if the html is passed over. The html header specifies the character set, so a browser can render this file correctly.
I would expect middleman to ignore the actual content of a file, besides the frontmatter. (Frankly I do not know the character set convention of the front matter? This seems like a related issue to me.)

Ruby is weird with various encodings. Basically, the whole file has to be the same encoding to be read. Can the content not be represented as utf-8?

I guess best solution would be to catch the exception and print an error complaining about an unexpected character encoding and pointing towards the "encoding" setting. The encoding setting should also be documented more clearly in the docs.
I thought a while about the problem and I doubt it makes sense to mix two character sets in one file (front matter + content). I also doubt it makes sense to mix different character sets in one middleman project at all.

I don't think we have a centralized encoding setting, I'm pretty sure we're expecting utf8 in a bunch of places.

Actually there is one, but it does not work...
I think the position where the setting is used is too early. The config file has not been read at that point yet. If one moves this lines e.g. into the middle of start_lifecycle() the config file has been parsed and the setting can be used.
Furthermore the call to set the internal encoding should be removed, see documentation:

You should not set ::default_internal in ruby code […]
http://docs.cs.up.ac.za/programming/ruby/ruby_2_2_0_core/Encoding.html#method-c-default_internal-3D

Is there any way to write a test to test this?

Yes, this is possible.
Prevent exception (1.)
First think make sure Middleman does not crash and reports something useful, so check if this starts without an exception:
mkdir bugreport && cd bugreport
echo "gem 'middleman', '>= 4.0.0.rc.2'" > Gemfile
bundle install && bundle binstub middleman-cli
mkdir source
cat <<EOT > source/index2.html.erb
---
title: ÄÖÜ
---
ÄÖÜ
EOT
iconv -f UTF-8 -t ISO-8859-1 source/index2.html.erb > source/index.html.erb
rm source/index2.html.erb
touch config.rb
./bin/middleman server preview

== The Middleman is loading
...gems/middleman-core-4.0.0.rc.2/lib/middleman-core/util/data.rb:40:in `match': invalid byte sequence in UTF-8 (ArgumentError)
...

Which obviously does not work yet.
Check for correct HTTP header (2., 3.)
Change the project like
echo "set :encoding, "ISO-8859-1" >> config.rb
./bin/middleman server preview

and move the code like I mentioned in the previous comment and Middleman starts, but opening http://localhost:4567/ displays wrong umlauts (���) that is because the preview server sends everything as UTF8:

Response Headers:
Connection:Keep-Alive
Content-Length:4
Content-Type:text/html; charset=utf-8
Date:Fri, 25 Dec 2015 09:56:19 GMT
Server:WEBrick/1.3.1 (Ruby/2.1.1/2014-02-24) OpenSSL/1.0.1g

So next two tests should be for the Content-Type header, without an encoding setting it should contain charset=utf-8, whereas with encoding setting it should contain charset=#{config[:encoding]}. (This is a little bit duplicated, because the encoding setting defaults to utf-8 so maybe just one test here.)
Check for correct output file (4.)
There should be one further test, which checks the built file for the correct bytes.
./bin/middleman build

output = File.read('build/index.html', :encoding => 'iso-8859-1')
expected_utf8 = "ÄÖÜ"
expected_iso = expected_utf8.encode('iso-8859-1')
assert(output.strip == expected_iso)

Forgive my ignorance, but shouldn't UTF-8 work for all those characters or am I missing something?

Yes, ÄÖÜ can be encoded in UTF-8 too, although the bit string is different:
$ irb
2.1.1 :001 > "ÄÖÜ".encode("UTF-8").bytes
 => [195, 132, 195, 150, 195, 156]
2.1.1 :002 > "ÄÖÜ".encode("ISO-8859-1").bytes
 => [196, 214, 220]

One could re-encode all files and just use UTF-8, but this issue is rather about "repairing" the character encoding awareness of Middleman...
The default external encoding of ruby is based on the system locale, but it is currently (accidentally always) overwritten with UTF-8. This is good for portability of Middleman projects, but bad for systems which do not use UTF-8, because they cannot use (mostly) any umlauts at all. (As long as one does not save files in UTF-8 independently of the locale.)
The encoding setting should come handy in all cases, (1) expected behavior with non-UTF-8 locale and (2) portability of Middleman projects, but it is broken and does nothing.
First step should be to repair the encoding setting, to have any control over the encoding.
Second step should be a discussion about the default value of the setting, which could be either UTF-8 for improved portability or not be overwritten for a default value based on the locale. (I guess most editors will default to UTF-8 now, so default should likely stay with UTF-8 as for Middleman portability might be more important.)

Cool, I'll look into in. All help appreciated as I'm not well versed in the encoding stuff at all, but I'll try to blindly address your items above.

I did most of the things described only missing the appropriate content-type...charset=:encoding http header of the preview server. I guess you can do this faster than me.


Kubegres pods are restarting again and again and creating new replicas

Hi Team, I have deployed kubegres with three replicas, the pod count is something like postgresql-32-0 , postgresql-34-0 , postgresql-35-0 . The pods are restarting and creating new replica, I am unable to find that whats causing this.
I am adding the logs here
2022-07-25 02:01:14.159 GMT [1] LOG:  starting PostgreSQL 13.2 (Debian 13.2-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
2022-07-25 02:01:14.190 GMT [1] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
2022-07-25 02:01:14.190 GMT [1] LOG:  listening on IPv6 address "::", port 5432
2022-07-25 02:01:14.296 GMT [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2022-07-25 02:01:14.504 GMT [31] LOG:  database system was interrupted; last known up at 2022-07-25 01:59:40 GMT
2022-07-25 02:01:15.089 GMT [31] LOG:  entering standby mode
2022-07-25 02:01:15.218 GMT [31] LOG:  redo starts at 5/E4000028
2022-07-25 02:01:17.128 GMT [31] LOG:  consistent recovery state reached at 5/E46CD688
2022-07-25 02:01:17.138 GMT [1] LOG:  database system is ready to accept read only connections
2022-07-25 02:01:17.464 GMT [41] LOG:  started streaming WAL from primary at 5/E5000000 on timeline 21
2022-07-25 04:01:48.575 GMT [13264] ERROR:  canceling statement due to conflict with recovery
2022-07-25 04:01:48.575 GMT [13264] DETAIL:  User query might have needed to see row versions that must be removed.
2022-07-25 04:01:48.575 GMT [13264] STATEMENT:  COPY public.reversion_version (id, object_id, format, serialized_data, object_repr, content_type_id, revision_id, db) TO stdout;
2022-07-25 05:08:07.106 GMT [41] FATAL:  could not receive data from WAL stream: server closed the connection unexpectedly
		This probably means the server terminated abnormally
		before or while processing the request.
2022-07-25 05:08:07.107 GMT [31] LOG:  invalid resource manager ID 32 at 6/754D1B0
2022-07-25 05:08:07.237 GMT [20697] FATAL:  could not connect to the primary server: could not translate host name "pointzi-postgresql" to address: Name or service not known
2022-07-25 05:08:12.121 GMT [20717] FATAL:  could not connect to the primary server: could not translate host name "pointzi-postgresql" to address: Name or service not known
2022-07-25 05:08:17.130 GMT [20727] FATAL:  could not connect to the primary server: could not translate host name "pointzi-postgresql" to address: Name or service not known
2022-07-25 05:08:22.177 GMT [20742] FATAL:  could not connect to the primary server: could not translate host name "pointzi-postgresql" to address: Name or service not known
2022-07-25 05:08:27.155 GMT [20749] FATAL:  could not connect to the primary server: could not translate host name "pointzi-postgresql" to address: Name or service not known
2022-07-25 05:08:32.146 GMT [20764] FATAL:  could not connect to the primary server: could not translate host name "pointzi-postgresql" to address: Name or service not known
2022-07-25 05:08:37.151 GMT [20765] FATAL:  could not connect to the primary server: could not translate host name "pointzi-postgresql" to address: Name or service not known
2022-07-25 05:08:42.163 GMT [20766] FATAL:  could not connect to the primary server: could not translate host name "pointzi-postgresql" to address: Name or service not known
2022-07-25 05:08:47.205 GMT [20767] FATAL:  could not connect to the primary server: could not translate host name "pointzi-postgresql" to address: Name or service not known
2022-07-25 05:08:52.172 GMT [20768] FATAL:  could not connect to the primary server: could not translate host name "pointzi-postgresql" to address: Name or service not known
2022-07-25 05:08:57.170 GMT [20769] FATAL:  could not connect to the primary server: could not translate host name "pointzi-postgresql" to address: Name or service not known
2022-07-25 05:09:02.187 GMT [20770] FATAL:  could not connect to the primary server: could not translate host name "pointzi-postgresql" to address: Name or service not known
2022-07-25 05:09:07.183 GMT [20771] FATAL:  could not connect to the primary server: could not translate host name "pointzi-postgresql" to address: Name or service not known
2022-07-25 05:09:12.193 GMT [20772] FATAL:  could not connect to the primary server: could not translate host name "pointzi-postgresql" to address: Name or service not known
2022-07-25 05:09:17.203 GMT [20812] FATAL:  could not connect to the primary server: could not translate host name "pointzi-postgresql" to address: Name or service not known
2022-07-25 05:09:22.213 GMT [20813] LOG:  fetching timeline history file for timeline 22 from primary server
2022-07-25 05:09:22.251 GMT [20813] LOG:  started streaming WAL from primary at 6/7000000 on timeline 21
2022-07-25 05:09:22.418 GMT [20813] LOG:  replication terminated by primary server
2022-07-25 05:09:22.418 GMT [20813] DETAIL:  End of WAL reached on timeline 21 at 6/754D1B0.
2022-07-25 05:09:22.427 GMT [31] LOG:  new target timeline is 22
2022-07-25 05:09:22.534 GMT [20813] LOG:  restarted WAL streaming at 6/7000000 on timeline 22
2022-07-25 06:00:36.857 GMT [24859] LOG:  duration: 7022.961 ms  statement: COPY public.campaign (id, created, modified, filters, suid, title, priority, status, actions, action_type, substitutes, groups, type, active, smart, monitoring, weekdays, start_at, end_at, best_time, activation, timezone, activates_at, expires_at, finished, feed, app_id, creator_id, segment_id, rematch_repeat, rematch_duration, target, metric, champion, split_id, product, feed_deletion_conditions, tag_filters, goal_id, operating_system, goals, feed_repeat_conditions, last_editor_id, trigger_conditions) TO stdout;
2022-07-25 06:02:21.215 GMT [24859] LOG:  duration: 99503.629 ms  statement: COPY public.reversion_version (id, object_id, format, serialized_data, object_repr, content_type_id, revision_id, db) TO stdout;
2022-07-25 06:12:07.603 GMT [20813] FATAL:  could not receive data from WAL stream: server closed the connection unexpectedly
		This probably means the server terminated abnormally
		before or while processing the request.
2022-07-25 06:12:07.604 GMT [31] LOG:  record with incorrect prev-link 636B71A1/910 at 6/136DC6A8
2022-07-25 06:12:07.778 GMT [26358] FATAL:  could not connect to the primary server: could not translate host name "pointzi-postgresql" to address: Name or service not known
2022-07-25 06:12:12.678 GMT [26375] FATAL:  could not connect to the primary server: could not translate host name "pointzi-postgresql" to address: Name or service not known
2022-07-25 06:12:17.681 GMT [26384] FATAL:  could not connect to the primary server: could not translate host name "pointzi-postgresql" to address: Name or service not known
2022-07-25 06:12:22.640 GMT [26406] FATAL:  could not connect to the primary server: could not translate host name "pointzi-postgresql" to address: Name or service not known
2022-07-25 06:12:27.761 GMT [26414] FATAL:  could not connect to the primary server: could not translate host name "pointzi-postgresql" to address: Name or service not known
2022-07-25 06:12:34.846 GMT [26426] FATAL:  could not connect to the primary server: could not translate host name "pointzi-postgresql" to address: Name or service not known
2022-07-25 06:12:38.093 GMT [26433] FATAL:  could not connect to the primary server: could not translate host name "pointzi-postgresql" to address: Name or service not known
2022-07-25 06:12:39.203 GMT [1] LOG:  received fast shutdown request
2022-07-25 06:12:39.305 GMT [1] LOG:  aborting any active transactions
2022-07-25 06:12:39.932 GMT [32] LOG:  shutting down
2022-07-25 06:12:40.281 GMT [1] LOG:  database system is shut down

Please help me with this, any suggestions will be higly appreciated

How did you solve this? we're also seeing could not connect to the primary server


auto close after posting

This PR is not supposed to be merged, but is just an example of how to rely on Near.View cache invalidation implemented in this PR to the VM, to detect when the editor can be closed after creating a post.
https://youtu.be/xbxX3DVHFno
@Megha-Dev-19

hey @petersalomonsen, thanks for the PR
I have incorporated the logic here


Remove unneccessary AppsandFeaturesEntries * manifests/m/Microsoft/Teams/Classic/<IP_ADDRESS>573/Microsoft.Teams.Classic.installer.yaml

Microsoft Reviewers: Open in CodeFlow

URL:
Invalid URI: The hostname could not be parsed.
(Automated message - build 899)


Nsurlsessiond and flutter connection

I was facing my internet hogging problem with nsurlsessiond process of iOS simulator. So I followed steps mentioned in this stackoverflow link : https://apple.stackexchange.com/questions/376025/nsurlsessiond-hogging-on-internet-when-running-ios-simulator
It solved my problem of internet hogging. But after that My Flutter app going to stuck at splash screen.
Just confirming that is recently flutter did some change which is reling on nsurlsessiond. As far as I can recall sometime before I was able to run the flutter application without the nsurlsessiond

I was facing my internet hogging problem with nsurlsessiond process of iOS simulator

@ParvinderjitSF
Can you please elaborate on what exactly the issue were you facing ? Are there any steps to replicate ?
Can you also provide flutter doctor -v and error log you are getting ?

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Do not replace empty strings with "unknown" and do not return them to UI

Fixes #896

Hi, yuri. I'm in favor of this (ex making the de-facto label "unknown" something a user or instrumentation must opt into).
The changes you reverted were added for consistency, particularly to ensure that we don't end up with data that isn't queryable. In your experience, you've found it better to make "" unqueryable, which I can certainly see the logic in (basically this is effectively making this field optional)
Can you add a summary here about the semantics of empty string? I know there are places in docs where we say empty is prohibited, so please do a quick sweep of serviceName accessors to ensure this change doesn't end up confusing ppl
https://github.com/openzipkin/zipkin/blob/master/zipkin-thrift/src/main/thrift/com/twitter/zipkin/zipkinCore.thrift#L179
Alternatively (and because this is in my timezone, and a branch on the main repo), I can make these changes and fold them into this. I expect my suggestions to be documentation affecting only (maybe another test, but yeah).
wdyt?

I replaced the reference to "unknown" with "" in zipkinCore.thrift.
FWIW, we've been sending empty strings as service name without any ill effects, the only exception being the UI issue #896. And I recall seeing somewhere, maybe in the old Hadoop job, a code that was checking for empty strings.


Capture images from main camera

Investigate if there is a way to capture images from the main game camera, allowing a less flexible but faster method to capture images.

I was wondering:
If you type shot in the command line that appears if you press the ``` key, you get a screenshot saved. If I understand it correctly, it is the main game camera right? Can we not use it somehow to achieve the purpose?

Hey,
this person here accesses the main camera and grabs from the frame buffer. Not sure if that's something interesting:
https://github.com/Batname/SpectatorWindow

This problem was solved in the latest version(s) of CARLA.


ERR: You are using an outdated version of DCA.

HI - I know this is not an issue with DiscordPHP, but I have spent hours trying to resolve this issue and had no luck.
I use OSX, and have done "go get github.com/jonas747/dca" which runs and completes but DiscordPHP still throws this error.
How can I update DCA on OSX or resolve this error?
Thanks!

Worth noting - I'm running Sierra 10.12.3.
Have been in Discord API channel and was told it's potentionally permissions -
I've chmod -R 777 bin/ inside vendor/team-reflex/discord-php/bin and still produces the same error.

I can run the dca files:


rename firewall -> gateway-firewall

Renaming nsxt-firewall to nsxt-gateway-firewall to keep naming consistent.

[X] Tests pass
[X] Appropriate changes to README are included in PR

/cc gcve-iac-foundations-team


toLowerCase error

local@MBP~$ generate service

? What do you want to call your service?
? What type of service do you need? database
? For which database? NeDB
? Does your service require users to be authenticated? No
events.js:141
      throw er; // Unhandled 'error' event
      ^

TypeError: Cannot read property 'toLowerCase' of undefined
    at Object.module.exports.string.downcase (/usr/local/lib/node_modules/feathers-cli/node_modules/i/lib/util.js:126:21)
    at Object.inflect.camelize (/usr/local/lib/node_modules/feathers-cli/node_modules/i/lib/methods.js:46:24)
    at Object.exports.addImport (/usr/local/lib/node_modules/feathers-cli/node_modules/generator-feathers/lib/transform.js:92:21)
    at importService (/usr/local/lib/node_modules/feathers-cli/node_modules/generator-feathers/generators/service/index.js:14:15)
    at module.exports.generators.Base.extend.writing (/usr/local/lib/node_modules/feathers-cli/node_modules/generator-feathers/generators/service/index.js:171:5)
    at Object.<anonymous> (/usr/local/lib/node_modules/feathers-cli/node_modules/yeoman-generator/lib/base.js:431:23)
    at /usr/local/lib/node_modules/feathers-cli/node_modules/run-async/index.js:26:25
    at new Promise (/usr/local/lib/node_modules/feathers-cli/node_modules/core-js/modules/es6.promise.js:191:7)
    at /usr/local/lib/node_modules/feathers-cli/node_modules/run-async/index.js:25:19
    at /usr/local/lib/node_modules/feathers-cli/node_modules/yeoman-generator/lib/base.js:432:9

In What do you want to call your service? you have to give the service a name. It looks like you just skipped it.


Optional DC offset removal/warning, and some categorization questions

I have three questions:

First, as we know, there are some Airwindows plugins that can trap dangerous DC voltage energy, such as Deckwrecka, BassAmp, Creature (the latter of which even included in the Recommended section!), and even a plugin that literally does that, called DCVoltage. I am afraid that this may cause issues to people who are using DC-coupled systems. Would it be a good idea if the Consolidated plugin had an optional DC offset remover just before the final output stage? Or, even better, an optional clamp that kills anything below 20Hz and anything above 20 (similar to Infrasonic) or 22kHz (similar to Ultrasonic and Hypersonic). I've heard that the problem with Infrasonic is that it adds too much group delay, so maybe a very steep implementation of Hermepass could be useful. An optional safety clipper at the end (like ClipOnly2) wouldn't hurt, either.

Why is DubSub2 under the Bass category and Weight under the Filter category, since they are fairly similar?

I noticed that none of the Amp Sims is in the Recommended section. Does Chris not like those plugins at all?

On 2 and 3, it's all up to @airwindows
On 1, I've told chris I'm not going to get in the signal path at all other than amplitude scaling for gain staging. Can you just add a DC blocker of choice downstream?

Thanks chris (and happy holidays both and merry christmas if that's your thing)
I'll close this issue as resolved for the categories and wont-do for the dc blocker.


how can i get count of my bot members?

Hello!
how can i get count of my bot members? have any api for this ability?
Thanks :D

A simple solution could be:
The first time a user start converse with the bot, for example when he do /start, you could register it somewhere, like in a db, and when you need to count them you simply access the db.


Prototyping connection state - simper approach

This PR prototypes another concept of connection state.
In this approach, we return a simple connection result from the schema poller package and use this to update the extension UI.
In the extension UI, when you connect to a connection you are first presented with a "Connecting" state.. the label next to the connection will briefly read connecting... until the connection promise resolves, at which point we switch the label to connected and show a success info message.
For connections that fail, we will show a error... label and an accompanying error message.
In this approach, if the connection becomes unhealthy after you've already established a connection, the UI will not be updated until you change the connection.. try and modify it or reconnect to it.. or if VSCode restarts.
However I envisage that at a point in the not too distant future when we start listing a connection's meta data, we may implement this functionality at that point.

 [VSCode Extension] Synchronicity between DBMS connection and extension


Add websockets to REST api

Master issue is #11 Add more metrics, Graph visualization, and UI dashboard
spray now supports websockets. As part of realtime streaming client requirements (WebUI) we need to be able to stream events rapidly. This is

This has been merged into ui_portal branch.


react-googlemaps for react 0.13.x

Is there any plan to have a version built for react 0.13?

+1 here

+1

+1

+1

Is this an abandoned project? Anyone using an alternative?

+1

I guess we can close this at this point right @pieterv ?

I guess we can close this at this point right @pieterv ?


v3-set-env command unable to set value begins with -

v3-set-env command unable to set env var value begins with -
Command
cf v3-set-env java_app JAVA_OPTS -Dconfig
cf v3-set-env java_app JAVA_OPTS \-Dconfig
cf v3-set-env java_app JAVA_OPTS "-Dconfig"
What occurred
Incorrect Usage: unknown flag `D'

cf v3-set-env java_app JAVA_OPTS "\-Dconfig" works, but the CLI also adds the escape char to the env var,
$ cf v3-set-env java_app
...
User-Provided:
JAVA_OPTS: "\\-Dconfig"

What you expected to occur
CLI Version
cf version 6.33.0+a345ea34d.2017-11-20
CC API Endpoint Version
api endpoint:   https://api_endpoint
api version:    2.99.0

CF Trace
no stack trace available
Platform & Shell Details
Mac OS X 10.13.1
iTerm Build 3.1.5.beta.2

Thanks! We've fixed the issue, will be in the next release.

Fixed in cf CLI 6.33.1. Thanks again for the report.


VC dropping out

Describe the bug
Voicechat dropping out on busy times
To Reproduce
Steps to reproduce the behavior:
Enable "voice_useNativeAudio" to use the PMA 3d audio
Server Info:

Server Version: 5688
Client Version: production
Game: FiveM

Additional context
When around 200-300 players voicechat starts dropping out for some people or dont even work at all.
Even re enabling in de pause menu wont bring the voicechat back.
This problem occurs when enabling "voice_useNativeAudio".
No errors unfortunatly

Are you using an external pma-voice server? Or running the script only on the main server?

External server

And when there are more than 15-20 players near each other. It starts dropping to

Does the same thing happen as often when you're on Internal?
Just a note here, you shouldn't really ever need to use an external server with how we do voice targets

The same thing happens for me too and i am using it on internal server, around 150 players, the voice breaks off. nothing will fix it

same happening here, not sure what to do but wait! Internal voice server

Internal server same problem. Even worse with 250 - 300 players

Hello,
We encounter a similar problem, with a crash of the remote pma-voice machine, a 100% increase in ram memory, then the service restarts.
it may take up to 6 minutes to recover.
Type: Production
Game: FXServer-master v<IP_ADDRESS>81 linux
OS: Linux
sv_enforceGameBuild":"1604
BR

Hello,
We encounter a similar problem, with a crash of the remote pma-voice machine, a 100% increase in ram memory, then the service restarts. it may take up to 6 minutes to recover. Type: Production Game: FXServer-master v<IP_ADDRESS>81 linux OS: Linux sv_enforceGameBuild":"1604
BR

That genuinely sounds like a (D)DoS attack.

Hello,
We encounter a similar problem, with a crash of the remote pma-voice machine, a 100% increase in ram memory, then the service restarts. it may take up to 6 minutes to recover. Type: Production Game: FXServer-master v<IP_ADDRESS>81 linux OS: Linux sv_enforceGameBuild":"1604
BR

That genuinely sounds like a (D)DoS attack.

this usually happens when we are more than 400 players.
it's really when you cross the threshold.
During the day no particular concern.

Any news on this?
Its really annoying

No, there likely wont ever be a fix as its an issue with the mumble server itself, which I can't fix, nor can anyone (myself included) find a consistent reproduction so Cfx can fix it

Problem is, its impossible to reproduce it just happens randomly

That's always been the issue since day 1, I still have no idea what the issue is or how to fix this.
I'm going to close this as this isn't an issue with pma-voice and I have no solution for Cfx


Setting config --global DOKKU_RM_CONTAINER=1 is ignored in dokku run

The documentation here: http://progrium.viewdocs.io/dokku/deployment/one-off-processes/ says to set dokku config:set --global DOKKU_RM_CONTAINER=1 to automatically remove containers when using dokku run.
It looks like those config vars are not loaded during the run command.
It might need another eval "$(config_export global)" around https://github.com/progrium/dokku/blob/master/plugins/00_dokku-standard/commands#L136

Thanks for the bug report. Fix pending.


Increase sync timeouts

Increase the sync timeouts, to support slower mainnet and testnet nodes.
This PR is based on #980, because it modifies nearby code.
These timeouts are not triggered very often, because of the fixes in:

#980: Ignore sync errors when the block is already verified
#978: Make tips independent of response order
#991: Always drop the final hash in peer responses
#992: If the first ExtendTips hash is bad, discard it and re-check
e5a6aa4c: Retry obtain and extend tips on failure

We might be able to reduce these timeouts in future, once we implement a peer reputation service.
In the meantime, users can further reduce the timeout rate by configuring the number of peers:

fewer peers if the node is network-bound
fewer peers to reduce the number of peers providing incorrect responses
more peers if the node has too many slow peers
more peers if verification is timing out before all the blocks are downloaded

As a side-effect, this PR also reduces the load on the network from zebrad instances which constantly fail to sync. (Because their network connections are slow or unreliable.)
TODO:

[ ] get PR #980 merged
[ ] rebase on main

The clippy errors are unrelated to this PR, see #994.


Open Science Festival NL 2024

Who is going to the Open Science Festival in the Netherlands on October 22nd? I am still debating it as it is a Tuesday and I'd have to take time off from my dayjob (including travel).

Okay it looks like I'll be joining. 😊 cc @nsunami @AnnaVantVeer @hanneoberman who else will be there 😄?

Session submissions are possible now 👍 Registration will open June 21st
https://opensciencefestival.nl/en/news/call-for-sessions-national-open-science-festival-opened

yes, I will be there! and, don't forget to book a hotel because you are all needed at the BARCAMP the day before as well! See https://www.linkedin.com/feed/update/urn:li:activity:7207346355701174274/

Our session with @karvovskaya is accepted! It'll be about our work on https://github.com/ubvu/open-handbook 👍

We had a blog post as a follow-up: https://upstream.force11.org/cultivating-openness-from-community-resources-to-institutional-acceptance/
Pictures are now available here: https://www.flickr.com/photos/201765692@N04/sets/72177720321740875/


feat: refact win zip handling

using a local script for downloading/extracting win binaries, this avoids refactor all local scripts on the integrations

@sigilioso  Is not super simple, i think the fake pre expects some other modificatinos on the scripts . anyway is defently a separate effort


Added q! - command

Hey,
I have added the q! command, which discards all changes and quits the editor.
Furthermore, if someone now tries to quit with the q command while changes have not been saved, it will fail and display an error message.
Since this is my first time contributing to a go open source project, I would appreciate any feedback!
Best regards,
Dario! :)

This sounds nice. I'll take a look later.

Your pull request updates unsavedChanges for only some limited operations. You can find all the changes by searching /b.buffer./, for example, window#insert, window#replace, window#cut or window#paste. Also, please rename unsavedChanges to modified, which reminds me &modified of Vim.
changes sample:
@@ -356,11 +356,13 @@ func (w *window) state(width, height int) (*state.WindowState, error) {
 func (w *window) insert(offset int64, c byte) {
 	w.buffer.Insert(offset, c)
 	w.changedTick++
+	w.modified = true
 }

 func (w *window) replace(offset int64, c byte) {
 	w.buffer.Replace(offset, c)
 	w.changedTick++
+	w.modified = true
 }

 func (w *window) undoReplace(offset int64) {

Hey @itchyny,
Thanks for reviewing my PR! :)
I have updated the files as requested, would you mind taking another look?
Best regards!

Great, thank you.

Now that I improved the cmdline parser, you can use both :q!, :quit!.

Nice thanks! :) @itchyny


[Fix]: fix mask rcnn training stuck problem when there is no positive rois

Fix https://github.com/open-mmlab/mmdetection/issues/3563

Task linked: CU-49tawu Fix training stuck problem (#3563)


Touchables and horizontal scroll at the header

Feature request
The idea is to allow the header to contain Touchable elements and horizontal views that don't affect the vertical scroll behavior of the tab view, this means we don't have to manually add pointerEvents to all views that are not target of the touch events, it also means we can have both the behaviors, having the element being target of a touch event as press and still be able to scroll vertically on the same element
Current behavior
At first sight it works pretty well, but if you play around with it some tabs will not sync properly, this is easier to reproduce on the examples that have snap or reveal header on scroll. With that said, I believe I need some help on this topic since I'm not yet familiar with all the project internals, either way I will keep playing around with it and see If I can figure it out myself.
Screenshots (if applicable)
https://github.com/PedroBern/react-native-collapsible-tab-view/compare/main...tiagocorreiaalmeida:feat/header-touchables-and-horizontal-scroll?expand=1
https://user-images.githubusercontent.com/17684951/165991489-8ba14919-6564-437d-bfab-6a2d4ebd186d.mp4

After some updates I believe most of it works properly, there's so minor improvements that need to be made:

Changing tab when the header is scrolling is not perfect yet
Further test reveal header on scroll and snapping
Improve snapping, at the moment the snap only happens at the end of the decay which takes a bit too long in terms of UX, haven't tested it yet, but I believe one solution could be handling the snap logic on the onScrollEnd end event

@andreialecu  @PedroBern can you give a look into this one and see if the approach is correct and also see if I missed any of the project internals?

Would suggest opening a PR, a bit hard to go over it like this.


Docker init - CLI command to create all docker related files in a project folder

Tell us about your request
It would be cool to have something like docker init. This command would create all docker-related assets in my project folder, with some smart defaults for me to change to my liking. It would be nice if it could detect what my stack is, and create all the required files in one go.
Which service(s) is this request for?
Docker CLI
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Right now, I need to manually write Dockerfiles, and compose files when using Docker in my project. I feel like a lot of my time would be cut-short by a docker init command that creates these files for me. I would be even better if it can detect what kind of code is there in my repository and pre-fill these files with commonly used configurations. I would then tweak it to my liking.
Are you currently working around the issue?
Currently, I am googling common Dockerfiles for the stack I use. Once I have one, I'm manually creating some docker assets in my project.
Additional context
$ docker init

Detected an Angular project...

Would you like to setup Docker for your Angular project?
► Yes, Continue
  No, Pick from a list of templates
  Quit

Setting up Docker for your Angular project...

CREATE .dockerignore
CREATE Dockerfile
CREATE compose-dev.yaml
CREATE docker-compose.yaml

✔ Docker is setup for your Angular Project at /source/my-angular-project

Run docker compose up to get started

Sounds useful for scaffolding projects. It might not be easy to create a set of templates that'll fit most users because even for the same stack there can be different combinations, depending on a variety of factors like the environment these containers run, developer's preferences, company policy etc.
Here are some suggestions that could potentially improve experience:

Add a vanilla option, similar to npm init and git init that would just create the files with either placeholders or comments on the main configurations
Allow custom templating -> this opens up to the community to create and host their own templates as well as orgs with specific internal standards/guidelines for their container images  (Example from create-react-app)

$ docker init --template https://github.com/alice/docker-nextjs-template my-project

Setting up Docker for your project...

CREATE .dockerignore
CREATE Dockerfile
CREATE compose-dev.yaml
CREATE docker-compose.yaml

✔ Docker is setup for your Project at ./my-project

Run docker compose up to get started

Interactive scaffolding option: Guiding the user through a series of questions that would help them scaffold project files.

Could not detect any framework for your project
  Pick from a list of templates
> Step by step setup guide
 ---
Select base image:
> alpine:latest
 node:19-buster-slim
 eclipse-temurin:11
 other
---
Do you want to add a database ?
> No, Continue
 postgres:latest
 mysql:latest
 other
...

Hello, I don't really understand the purpose of this feature.
The first proposal seems oriented toward language framework selection, which I think is a bad idea for several reasons. Some of these reasons are already pointed out by @madoke . I could add:

Framework chasing: new frameworks is a common thing, does docker really want to chase all frameworks for all languages out there?
Framework scaffolding: frameworks often come with their own scaffolding tool, imo they're in a better position to provide such tooling
No framework: What if I don't want to use any framework?

At the end, the framework concept feels out of scope for docker in my opinion.
The second proposal does make some sense though, but trying to think about it leads me to the only conclusion that I would probably never use it. Here's some why:

Using a template: with the proposed templating option, I could just copy/clone a template repo, would be the same result, so where's the benefit of using docker init versus git or even curl here?
With the interactive option, comes so much questions/issues: base image chasing, services images chasing, which services are eligible for proposal (i.e. why proposing a database), encouraging the use of latest tag, chasing image documentation (if you want to provide a database selection for example, you'll need to have the correct port etc...), and the list goes on.
IDEs: All IDEs are usually capable of generating files based on templates, what is the value added by docker init here?
Framework scaffolding: here again I feel like frameworks are in a better position with their own scaffolding tool, which can just decide to add a docker support. It's easier for each framework to chase docker api, than for docker to chase every framework, isn't it?


How to install and run ?

My question might seem stupid, but I don't know much about node.js
I am using ipfs through CLI interface... I would like to test your app.
What is next after npm run build?
Thanks

To run this web app it should be npm run serve. For now we are using the IPFS server provided by Infura.So we don't need Local IPFS node anymore. This is to make it simpler to use.


Cats Effect context for cassanda

Fixes #issue_number
Problem
Cats Effect context for cassanda. Cats ecosystem currently missing cassandra orms.
Solution
Cats Effect context for cassanda
Notes
2.11 is not support. Makes empty artifact.
Increased the  ReservedCodeCacheSize to avoid warning on 2.12 compilation.
OpenJDK 64-Bit Server VM warning: CodeCache is full. Compiler has been disabled.
OpenJDK 64-Bit Server VM warning: Try increasing the code cache size using -XX:ReservedCodeCacheSize=
CodeCache: size=262144Kb used=229683Kb max_used=257547Kb free=32460Kb
 bounds [0x00007f75e0000000, 0x00007f75f0000000, 0x00007f75f0000000]
 total_blobs=51233 nmethods=50316 adapters=826
 compilation: enabled

Also changed the courier directory to the /home/sbtuser/ from /root.
Checklist

[X] Unit test all changes
[X] Update README.md if applicable
[X] Add [WIP] to the pull request title if it's work in progress
[X] Squash commits that aren't meaningful changes
[X] Run sbt scalariformFormat test:scalariformFormat to make sure that the source files are formatted

@getquill/maintainers

Nice work! Could you squash the PR into a single commit?

@voropaevp In terms of implementation, I think everything here is good. My main concern is with the build. Since we support ~8 different databases, it's extremely important to make sure that all the images play well together and no single image takes too many resources. In the bigdata build matrix we have the Cassandra image, the Orientdb image, and the Spark stuff all run on the same CI node so we need to be extremely careful with the amount of resources that all of these things take.

Is it possible abstract the Effect  types like Future / IO / ZIO, instead of encoding multiple times for each.

@jilen It is possible, but the amount of Tagless-Final/Free-Monadic machinery it would take to do that would ultimately be waaay more complex then all of the context-implementations combined. I've tried. I don't think it's worth it.

The problem is that the operating paradigms of these different DB systems are different enough that we would be building abstractions that literally make no sense half the time. For example, in order to have the flexibility that Future(s) have of passing a ExecutionContext into each map call etc... we would have to encode into a Tagless-Final/Free-Monadic solution as a dummy-implicit for the other contexts corresponding map method. For ZIO where we don't pass any kind of DataSource into the context at all... that would be another dummy argument. When combined, all of these things would create so many no-op placeholders that they would be insanely hard to understand, let alone debug and explain to others.
On top of that, we might end up building machinery that is actually wrong. In the Monix contexts for instance, we rely on Monix's equivalent of thread-locals to store the connection state. In other synchronous contexts we use actual thread locals. In other contexts (e.g. JAsync) we rely on a implicit re-passing pattern. Creating a layer to abstract out all of the details of these things would make it very, very easy to make mistakes in some of them.
Every time I think about this stuff I come to the same conclusion. Quill is not "in the business" of high-level abstracting effects for 8 different databases, 5 different database-protocols, and 3 different effect types (actually if you count NDBC and Finagle it's more like 5). Even if it is actually possible to do it well (and I'm not convinced it is), we don't have the time or resources to do it properly.
Our io.getquill.context.Context might be a "lowest common denominator" of sorts but it's a remarkably stable construct. The same cannot be said at all about effect-type libraries.

@voropaevp I think we're very close to wrapping this up. Please merge in the latest change (I think it's just version.sbt) and make sure the builds work. I can merge and then push out a release later this week.

I think you might have more success just abstracting over ZIO, Cats Effect, and Monix. This is, after all, part of what Cats Effect was designed to accomplish. You do indeed need to build some relatively complex abstractions to solve that problem, but in the case of those three, the abstractions are already built.
Future, on the other hand, and other similar types are a different story. There isn't really any meaningful way of abstracting them and being sure that things still work correctly, because the types in question have relatively weak compositional properties. Since the desire is to maintain compatibility with these unruly constructs, abstraction really is probably out of the question.

Zstream, Observable and fs2.Stream will require abstracting over too. And these are further away from each other than Task, IO or ZIO.

Zstream, Observable and fs2.Stream will require abstracting over too. And these are further away from each other than Task, IO or ZIO.

That's a good point. And abstracting over those three is pretty much not even a meaningful thing to do. fs2.Stream works with all three ecosystems, but I suspect that (e.g.) Monix users would prefer Observable to Stream, so it's not an entirely helpful compatibility.

@diesalbla thank you for the suggested improvements. All were included.
Rerun the tests and pushed new squashed commit.

There is one additional change that I need to merge to master before this one that adds the session directly to Prepare. It will require this PR to be changed slightly. Sorry about the delay. Will explain more soon.

Hey guys, sorry about the wait. I just merged what is hopefully the last of a series of large refactorings that needed to be done in order to align Quill with the ProtoQuill API modifications.
Two major things happened:

As a result of #2219, the session (i.e. the context Session type) was added to the function type Prepare (check RowContext that propagates to all other contexts). That means that prepare(prepStatement) invocation in prepareRowAndLog now needs the session variable to be passed in. Now, because CassandraCeContext extends CassandraClusterSessionContext and that extends CassandraSession which extends UdtValueOf, you should be able to do override type Session = CassandraSession directly in CeContext and then change the method to prepare(prepStatement, this) (or define a self-type if you want).
As a result of #2231, an additional two parameters (info: ExecutionInfo, dc: DatasourceContext) have been added to streamQuery, executeQuery, executeAction, executeBatchAction (as well as some others that I don't think this implementation uses). If these parameters are added to the above methods everything should be fine. Also, add type DatasourceContext = Unit to CeContext.

@voropaevp Is there any chance you can merge in the latest code and make the above changes? I know you've already done an amazing amount of work and it's almost embarrassing for me to ask you to do more. If you're willing to make these changes please let me know. If not, also please let me know and I will try to find time to merge them in myself.

Sorry for the mess, intial merge went wrong.
Please review final commit, all tested and updated according to PR2219.

Hey, will look at this this weekend. Rosh Hashanah and Yom Kippur just happened so I'm on a backlog :sweat_smile:

closed in favour of https://github.com/getquill/quill/pull/2343


Raw error span issues

The raw error messages (i.e., before they are reprocessed) are broken:

off by one errors
formatting

Fixed


First attempt for making rasa run listen on a specific ip

Proposed changes:

Restrict the network interfaces used by rasa to one specific address instead of <IP_ADDRESS>

I updated one single document and I'm happy to update other files as needed.
Status (please check what you already did):

[ ] added some tests for the functionality
[x] updated the documentation
[x ] updated the changelog (please check changelog for instructions)
[ ] reformat files using black (please check Readme for instructions)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for submitting a pull request 🚀 @degiz will take a look at it as soon as possible ✨

Thanks for tackling this @bastbnl!
I think we should handle the host in the same way we currently handle port.
See add_port_argument in rasa/cli/arguments/run.py.

Thanks for getting back to me, @joejuzl. I think I added the changes you requested and I must say that it beats the SANIC_HOST approach. I added some doc updates as well.
The SANIC_HOST approach was merged into the rasa-sdk package, so merging this PR does create an inconsistency

Whoops... I think I basically messed up. Maybe it's a better idea to create a new PR?

Whoops... I think I basically messed up. Maybe it's a better idea to create a new PR?

@bastbnl if you find that easier, go for it. You can request a review from me directly on it.

Whoops... I think I basically messed up. Maybe it's a better idea to create a new PR?

@bastbnl if you find that easier, go for it. You can request a review from me directly on it.

Did that in PR #9242, @joejuzl. Thanks for your guidance here. I didn't close the PR as I don't know what the consequences of closing it would be on your end.

We can close this one and I will look at the new PR.


Document what happens with superfluous parens

While superfluous parens have no official semantics, they are actually used by browsers to perform laziness tricks:
var foo = function() { ... }; // Parsed lazily by the browser.
var bar = (function() { ... }); // Parsed eagerly by the browser.

It would be very useful to keep superfluous parens in such a case (or perhaps always). I don't know if that's what ratel does currently, so documenting the choice would be useful, too!
Perhaps it should be a parsing option?

Superfluous parens are always dropped. I don't particularly see a reason to change it since the goal is to produce an AST, not a parse tree. In either case, we do need a proper book for all of this stuff.

Well, these superfluous parens turn out to have an observable (by timing) effect, so they are de facto part of the language. For instance, in Binary AST, we make the difference between EagerFunctionDeclaration and LazyFunctionDeclaration.
Would it be possible to somehow store the information somewhere?

That would work very well for my usecase (and I believe a number of other usecases).


The configuration of webpack4 in Vue has no effect

You'll have to do some research on this one. Feel free to request this to be reopened. @luoye111, maybe you already solved this?


Add review content fields to ContractRequest

Coverage decreased (-0.5%) to 87.992% when pulling 887ed1a1bbf74d277313d953d310150702e43418 on add-contract-request-review-content-fields into 8a272c38ef4335be5fee64f6b895d762403b8bdd on develop.


NumPad only latest one saved

Microsoft PowerToys version
0.64.0
Installation method
GitHub
Running as admin
No response
Area(s) with issue?
Keyboard Manager
Steps to reproduce
Want to map all the Numpad keys (to up/down etc) but only the last mapping I set is saved
✔ Expected Behavior
Get 12 mappings, one for each key
❌ Actual Behavior
Only the last mzpping I set is retained
Other Software
No response

Sorry - my mistake. It works perfectly. I just got confused with the user interface


Using AppSync in a dev environment

Not sure if this is normal behavior or not, but didn't notice it the first time I added app-sync. It came to my intention after upgrading tns-cli from 6.0.4 to 6.1.2 and xcode to 11.
Environment

CLI: 6.1.2
Cross-platform modules: 6.1.1
iOS Runtime: Tested on 6.0.4 & 6.1.1
Plugin(s): nativescript-app-sync (1.0.5)
Xcode 11
iOS 12/13 Simulator

Describe the bug
It seems that there are some issues with hmr & app-sync if the app crashes due to a coding mistake. hmr stops reloading the app & applying new changes, and it shows the app from the last app-sync patch. Any new changes are not applied, and one has to stop the app & nuke the platforms folder and run again.
Using just tns run ios does not work, it just shows the app from the last patch and not applying any new changes.
I did try stopping the app, doing first tns build ios and then tns run ios. That worked, but stopping the app, and running again, made the issue reappear.
If I disable app-sync, hmr works as expected.
EDIT: Also noticed both in iOS & Android, if I close the running app and re-open it. It just applies the latest patch, ignoring all local changes.
To Reproduce

Enable App-sync & run the app on iOS simulator.
App-sync tells you the latest patch version, let's say: v5.

Do a change in app and save
hmr refreshes app normally and the change is applied. *See Log nr 1 for details

Do another change in the app but that causes a crash, like invalid color value color="#white"
App crashes and the log shows the error.

Fix the error in the app and save
App loads but is showing the app in the v5-patch state, not showing any changes you made since then. *See Log nr 2 for details

Do another change and save
App refreshes but still, showing only v5-patch version, change not applied.

Stop the app (CTRL+C) and do tns run build then tns run ios
App runs and shows the latest changes.

Stop the app (CTRL+C) and do tns run ios
App runs but showing the app from v5-patch state. No changes applied.

Stop the app (CTRL+C) and do rm -rf platforms then tns run ios
App runs normally and hmr applies new changes

Expected behavior
That hmr & app-sync play nice together. Or perhaps a flag to disable app-sync when in dev mode.
Workaround
Disable App-sync in app.ts when developing. Enable it when ready for publish.
Additional context
Here are loggs related to the reproduce-steps above.
Log nr 1 (reproduce step 2)
File change detected. Starting incremental webpack compilation...
Hash: 7536a98cd09efedf58f7
Version: webpack 4.27.1
Time: 388ms
Built at: 09/22/2019 6:20:08 PM
                                            Asset       Size                                          Chunks             Chunk Names
             5ffc82675a2e078d2249.hot-update.json   48 bytes                                                  [emitted]
        bundle.5ffc82675a2e078d2249.hot-update.js   28.7 KiB                                          bundle  [emitted]  bundle
                                        bundle.js    851 KiB                                          bundle  [emitted]  bundle
                                       runtime.js   71.4 KiB                                         runtime  [emitted]  runtime
tns_modules/tns-core-modules/inspector_modules.js  955 bytes  tns_modules/tns-core-modules/inspector_modules  [emitted]  tns_modules/tns-core-modules/inspector_modules
 + 1 hidden asset
Entrypoint bundle = runtime.js vendor.js bundle.js bundle.5ffc82675a2e078d2249.hot-update.js
Entrypoint tns_modules/tns-core-modules/inspector_modules = runtime.js vendor.js tns_modules/tns-core-modules/inspector_modules.js
[./ sync ^\.\/app\.(css|scss|less|sass)$] . sync nonrecursive ^\.\/app\.(css|scss|less|sass)$ 174 bytes {bundle} [built]
[./ sync recursive (?<!\bApp_Resources\b.*)\.(xml|css|js|(?<!\.d\.)ts|(?<!\b_[\w-]*\.)scss)$] . sync (?<!\bApp_Resources\b.*)\.(xml|css|js|(?<!\.d\.)ts|(?<!\b_[\w-]*\.)scss)$ 2.78 KiB {bundle} [built]
[./views/fixtures/fixtures.xml] 2.21 KiB {bundle} [built]
[./views/main-view.xml] 8.61 KiB {bundle} [optional] [built]
    + 488 hidden modules
Webpack compilation complete. Watching for file changes.
Webpack build done!
Successfully transferred bundle.5ffc82675a2e078d2249.hot-update.js on device BE27BBD4-59BD-4382-B6AB-2535EC8E3C57.
Successfully transferred 5ffc82675a2e078d2249.hot-update.json on device BE27BBD4-59BD-4382-B6AB-2535EC8E3C57.
NativeScript debugger has opened inspector socket on port 18183 for com.myawesomeapp.
Refreshing application on device BE27BBD4-59BD-4382-B6AB-2535EC8E3C57...
CONSOLE LOG file:///node_modules/tns-core-modules/inspector_modules.js:1:0 Loading inspector modules...
CONSOLE LOG file:///node_modules/tns-core-modules/inspector_modules.js:6:0 Finished loading inspector modules.
NativeScript debugger attached.
CONSOLE INFO file:///node_modules/nativescript-dev-webpack/hot.js:3:0 HMR: Checking for updates to the bundle with hmr hash 5ffc82675a2e078d2249.
CONSOLE INFO file:///node_modules/nativescript-dev-webpack/hot.js:3:0 HMR: The following modules were updated:
CONSOLE INFO file:///node_modules/nativescript-dev-webpack/hot.js:3:0 HMR:          ↻ ./views/fixtures/fixtures.xml
CONSOLE INFO file:///node_modules/nativescript-dev-webpack/hot.js:3:0 HMR:          ↻ ./views/main-view.xml
CONSOLE INFO file:///node_modules/nativescript-dev-webpack/hot.js:3:0 HMR: Successfully applied update with hmr hash 5ffc82675a2e078d2249. App is up to date.
Successfully synced application com.myawesomeapp on device BE27BBD4-59BD-4382-B6AB-2535EC8E3C57.

Log nr 2 (reproduce step 4)
File change detected. Starting incremental webpack compilation...
Hash: 167ac25931c761387b99
Version: webpack 4.27.1
Time: 434ms
Built at: 09/22/2019 6:36:20 PM
                                            Asset       Size                                          Chunks             Chunk Names
             7c9cca8fca3349af29ce.hot-update.json   48 bytes                                                  [emitted]
        bundle.7c9cca8fca3349af29ce.hot-update.js   28.7 KiB                                          bundle  [emitted]  bundle
                                        bundle.js    851 KiB                                          bundle  [emitted]  bundle
                                       runtime.js   71.4 KiB                                         runtime  [emitted]  runtime
tns_modules/tns-core-modules/inspector_modules.js  955 bytes  tns_modules/tns-core-modules/inspector_modules  [emitted]  tns_modules/tns-core-modules/inspector_modules
 + 1 hidden asset
Entrypoint bundle = runtime.js vendor.js bundle.js bundle.7c9cca8fca3349af29ce.hot-update.js
Entrypoint tns_modules/tns-core-modules/inspector_modules = runtime.js vendor.js tns_modules/tns-core-modules/inspector_modules.js
[./ sync ^\.\/app\.(css|scss|less|sass)$] . sync nonrecursive ^\.\/app\.(css|scss|less|sass)$ 174 bytes {bundle} [built]
[./ sync recursive (?<!\bApp_Resources\b.*)\.(xml|css|js|(?<!\.d\.)ts|(?<!\b_[\w-]*\.)scss)$] . sync (?<!\bApp_Resources\b.*)\.(xml|css|js|(?<!\.d\.)ts|(?<!\b_[\w-]*\.)scss)$ 2.78 KiB {bundle} [built]
[./views/fixtures/fixtures.xml] 2.21 KiB {bundle} [built]
[./views/main-view.xml] 8.61 KiB {bundle} [optional] [built]
    + 488 hidden modules
Webpack compilation complete. Watching for file changes.
Webpack build done!
Successfully transferred bundle.7c9cca8fca3349af29ce.hot-update.js on device BE27BBD4-59BD-4382-B6AB-2535EC8E3C57.
Successfully transferred 7c9cca8fca3349af29ce.hot-update.json on device BE27BBD4-59BD-4382-B6AB-2535EC8E3C57.
Refreshing application on device BE27BBD4-59BD-4382-B6AB-2535EC8E3C57...
Successfully synced application com.myawesomeapp on device BE27BBD4-59BD-4382-B6AB-2535EC8E3C57.

Yeah this is not intended to run alongside livesync/hmr because any available appsync package will interfere with whatever hmr wants to sync. I did not anticipate anyone enabling appsync during development so didn't test that scenario either.
What should work though is having the plugin installed, but never calling AppSync.sync() while developing. Is that a correct assumption?
I'll add a note to the readme once that's confirmed, and figure out a way to detect running with hmr available so the plugin can at least log a warning. Ideas welcome of course!.

Totally agree, took me a while to understand & debug that there was a conflict here, and it does make sense, there is no need to sync anything as I am sitting with the latest code.
Correct, disabling AppSync.sync() does not interfere with hmr/livesync, the behavior was much better after turning it off.
The best way would be if it could detect a dev environment, but I read a bit about environment modes (dev/production) and could not find anything easy to use. Not without remembering to alter files/configs.
So I would guess a fast & easy way would be to just add a flag to the options that turns sync on or off. Similar to the sandbox mode on the firebase plugin. You still need to remember to turn it on before publishing, but perhaps give a warning in the console if you try to build with --release or when using the appsync-cli: Appsync is not enabled! Check your config something like that?

Thanks a bunch, this gives me something to think about!

I decided to detect "hmr" when running the app, and if it's the case AppSync.sync() will no longer update the app. This behavior can be overridden by passing in enabledWhenUsingHmr: true to that method.


Unable to write batch due to unsupported writer feature invariants (when datafusion flag is not enabled)

Environment
Delta-rs version:
0.17.1
Binding:
Rust
Environment:

Cloud provider: None
OS: Windows
Other:

Bug
While trying to write a batch to a new table, I receive an error: Error: Transaction { source: UnsupportedWriterFeatures([Invariants]) }
What happened:
I tried creating a new table followed by a batch record write. I received the error: Error: Transaction { source: UnsupportedWriterFeatures([Invariants]) }
What you expected to happen:
I expected the batch to write without error.
How to reproduce it:
test_case2.rs
use std::future::IntoFuture;
use std::sync::Arc;
use std::vec;

use deltalake::kernel::{Action, DataType, StructField};

use deltalake::arrow::array::{builder, StringBuilder};
use deltalake::arrow::array::RecordBatch;
use deltalake::arrow::datatypes::Field as AField;
use deltalake::arrow::datatypes::Schema as ASchema;
use deltalake::arrow::datatypes::DataType as ADataType;
use deltalake::operations::transaction::commit;
use deltalake::operations::writer::{DeltaWriter, WriterConfig};
use deltalake::protocol::{DeltaOperation, SaveMode};
use deltalake::{open_table, DeltaOps, DeltaTableBuilder};

use deltalake::checkpoints::create_checkpoint;

pub type AppResult<T> = Result<T, Box<dyn std::error::Error>>;

struct Person {
    pub name: String,
    pub favorite_number: Option<i32>,
}

impl Person {
    pub fn new(name: impl Into<String>, favorite_number: Option<i32>) -> AppResult<Self> {
        Ok(Self {
            name: name.into(),
            favorite_number,
        })
    }
}

struct PersonBatch {
    pub name: StringBuilder,
    pub favorite_number: builder::Int32Builder,
}

impl PersonBatch {
    pub fn new() -> Self {
        Self {
            name: StringBuilder::new(),
            favorite_number: builder::Int32Builder::new(),
        }
    }

    pub fn append(&mut self, person: &Person) {
        self.name.append_value(&person.name);
        self.favorite_number.append_option(person.favorite_number);
    }

    pub fn finish(&mut self) -> AppResult<RecordBatch> {
        let schema = PersonBatch::get_arrow_schema();
        let batch = RecordBatch::try_new(
            Arc::new(schema),
            vec![
                Arc::new(self.name.finish()),
                Arc::new(self.favorite_number.finish()),
            ],
        )?;
        Ok(batch)
    }

    pub fn get_table_schema() -> Vec<StructField> {
        vec![
            StructField::new("name", DataType::STRING, false),
            StructField::new("favorite_number", DataType::INTEGER, true),
        ]
    }

    pub fn get_arrow_schema() -> ASchema {
        ASchema::new(vec![
            AField::new("name", ADataType::Utf8, false),
            AField::new("favorite_number", ADataType::Int32, true),
        ])
    }

    pub async fn create_if_not_exists(table_uri: impl AsRef<str>) -> AppResult<()> {
        let table = DeltaTableBuilder::from_uri(table_uri)
            .build()?;

        let config: HashMap<String, Option<String>> = HashMap::new();
        let storage_options: HashMap<String, String> = HashMap::new();

        let builder = DeltaOps(table)
            .create()
            .with_save_mode(SaveMode::Ignore)
            .with_configuration(config)
            .with_storage_options(storage_options)
            .with_columns(PersonBatch::get_table_schema())
            .with_partition_columns(vec![String::from("name")]);

        let _ = builder.into_future().await?;
        Ok(())
    }
}

fn create_batch(people: Vec<Person>) -> AppResult<RecordBatch> {
    let mut person_batch = PersonBatch::new();

    for person in people {
        person_batch.append(&person);
    }

    let batch = person_batch.finish()?;
    Ok(batch)
}

async fn write_batch(table_uri: impl AsRef<str>, people: Vec<Person>) -> AppResult<()> {
    let mut table = open_table(table_uri).await?;
    table.load().await?;
    let batch = create_batch(people)?;

    let object_store = table.object_store();
    let log_store = table.log_store();

    let write_config = WriterConfig::new(batch.schema().clone(), vec![], None, None, None);
    let mut writer = DeltaWriter::new(object_store.clone(), write_config);

    writer.write(&batch).await?;
    let write_actions = writer.close().await?;

    let actions: Vec<Action> = write_actions
                .iter()
                .map(|add| Action::Add(add.clone()))
                .collect();

    let operation = DeltaOperation::Write {
        mode: SaveMode::Append,
        partition_by: Some(vec![]),
        predicate: None,
    };

    let _ = commit(&*log_store, &actions, operation, Some(table.snapshot()?), None).await?;
    Ok(())
}

pub async fn checkpoint(table_uri: impl AsRef<str>) -> AppResult<()> {
    let mut table = open_table(table_uri).await?;
    table.load().await?;

    create_checkpoint(&mut table).await?;
    Ok(())
}

pub async fn run() -> AppResult<()> {
    let table_path = "data/people_1";

    if let Ok(md) = std::fs::metadata(table_path)
    {
        if md.is_dir() {
            std::fs::remove_dir_all(table_path)?;
        }
    }

    PersonBatch::create_if_not_exists(table_path).await?;

    write_batch(table_path, vec![
        Person::new("Alice", Some(42))?,
        Person::new("Bob", None)?,
    ]).await?;

    checkpoint(table_path).await?;

    write_batch(table_path, vec![
        Person::new("Bailey", Some(12))?,
        Person::new("Ollie", None)?,
    ]).await?;

    Ok(())
}

main.rs
mod test_case2;
use async_std::task::block_on;

fn main() -> Result<(), Box<dyn std::error::Error>>{
    block_on(test_case2::run())?;
    Ok(())
}

cargo.toml
[package]
name = "dt-test"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
deltalake = { version = "0.17.1", features = ["azure", "json"] }
async-std = { version = "1.12.0", features = ["attributes", "tokio1"] }

output
Error: Transaction { source: UnsupportedWriterFeatures([Invariants]) }
error: process didn't exit successfully: `target\debug\dt-test.exe` (exit code: 1)

More details:
I took a look through the source to see what might be happening. I see that a default writer version of 2 is being assigned and in protocol.rs, writer v2 requires Invariants
    static ref WRITER_V2: HashSet<WriterFeatures> =
        HashSet::from_iter([WriterFeatures::AppendOnly, WriterFeatures::Invariants]);

However, the protocol checker only add the feature for Invariants if the datafusion feature is on.
    #[cfg(feature = "datafusion")]
    {
        writer_features.insert(WriterFeatures::Invariants);
        writer_features.insert(WriterFeatures::CheckConstraints);
    }

If I turn on the datafusion tag on, the code does work though. It seems like the required writer features should be gated by that feature as well?

I think this is a duplicate of 2204.

#2204


[COMMUNITY] Egor Churaev -> reviewer

Please join us to welcome @echuraev as a new reviewer
He has contributed to the metal backend, auto-scheduler, and ONNX frontend.
He also actively participates in the discussion forum.

Commits History
Code Review
Community Forum Summary

This PR also makes the order of the reviewers strictly follow the alphabetical order.

Congratulation! @echuraev

Thank you! I'm glad to be a part of TVM community.


Generate documentation

Generate module documentation in html from the sources. Pdoc is easy to use for this. Generate it to a docs directory, which will then be  deployed to Github pages when commited. Add a link to the root node of the documentation from the README-file, for easy access.

It seems pdoc has changed a lot since the last time I used it. It currently crashes when there is a module import it cannot resolve. This is difficult to solve since the user interface parts rely on the js module form pyodide, and this module is not present during build time. For that reason, the build script currently only builds documentation for the modules for which it does not crash.

In the current build script, pdoc is run as an os command. However, it might be possible to better finetune what is generated if the pdoc API is used instead. In this way, pdoc. Module objects can be created for each module in the source directory structure, maybe with the exception of some (such as Mesa), and documentation is generated from there. It is then possible also to capture files that generate errors and skip them.

Build script modified to use pdoc as a library. The easiest way to skip modules on which pdoc crashes is probably to use a modified version of the pdoc function itself, see https://pdoc.dev/docs/pdoc.html. Basically, the idea would be to generate each module at a time, keeping track of those that do not cause a crash. Then, the index is generated for those modules that came through.

Build script modified to skip files that causes pdoc to crash.


ReadAsASync

I don't believe the examples for ReadAsASync anymore? I could be wrong but I'm seeing that HttpContent does not have a ReadAsASync function, only ReadAsStringAsync, ReadAsByteAsync, ReadAsStreamAsync and they aren't generic?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 881cef77-11ef-ac11-06d0-0996a1ccfa1b
Version Independent ID: 3d356334-e672-7e8b-1fef-7944ebee99eb
Content: Make HTTP requests using IHttpClientFactory in ASP.NET Core
Content Source: aspnetcore/fundamentals/http-requests.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @stevejgordon
Microsoft Alias: scaddie

FYI, ReadAsAsync is provided by the Microsoft.AspNet.WebApi.Client NuGet package. This was provided by the Microsoft.AspNetCore.App metapackage before 3.0, but needs to be added as a PackageReference from 3.0 onwards.

You can make use of the new json serializer from microsoft. The code using ReadAsAsync would then be refactored as:
```
using (var contentStream = await response.Content.ReadAsStreamAsync())
{
PullRequests = await JsonSerializer.DeserializeAsync<IEnumerable>(contentStream);
}
https://docs.microsoft.com/en-us/dotnet/api/system.text.json?view=netcore-3.0


Update build to use MicroBuild

Updating our solution to use the new MicroBuild.  For now, removing ApiPort.Core from solution so that nuget.exe restore does not fail.
@twsouthwick , @mjrousos

Does NuGet 3.3 work with Core? That's the latest available right now.

@twsouthwick NuGet 3.3 does work with Core (ie. If you execute nuget.exe restore ApiPort.project.json, it works successfully.)
The problem is when we include it in our solution, it writes all of the resolved conflicting packages to the error stream.  Consequently, the build step fails because it saw that the error stream is not empty. Rather than ignoring all errors, I opted just to exclude these false ones until the issue is fixed.

Sounds good. LGTM


Compose file issues and connection with the DB + readme changes

Some issues remains when trying to run the compose file directly. Precisions must be added.

[x] The compose file should run postgres, the core then the app seamlessly
[x]  Changes on the readme must be added to take into account the architectural changes and possible setup with a Reverse Proxy for a production release

Completed.


VIM-1105 Adding support for the command command (aliases).

This adds support for the command command.
Allowing users to add their own aliases for certain commands.
For example:
command WQ wq

Will allow WQ to be used as an alias for wq.
Documentation: http://vimdoc.sourceforge.net/htmldoc/map.html#:command

[x] :command {cmd} support.
[x] ! flag.
[x] :com[mand] support (shorter version).
[x] Listing added aliases.
[x] :delc[ommand] support.
[x] Do not allow defining ":X", ":Next" and ":Print"
[x] Tests

Please give me some feedback.
Fixes VIM-1105
Example:

I will do some research on -nargs and potentially add it, but initially I had not planned on it.
I will add tests and black list those variables so that this won't overwrite them.
Thank you very much for the feedback!

I've added some tests, the tests cover 93% of lines in CmdHandler.kt and 100% of lines in DelCmdHandler.kt. I need to fix the infinite recursion thing still, and do you want the state of commands to save? It makes sense to me that any aliases added via ideavimrc.vim would be enough, but what is your preference.

Looking at -nargs I do like the idea of having that. But I think I will add that in a separate pull request, it might take me a bit to make that work, and having basic command aliases would be really nice to have sooner.

Actually, we had already very bad feedback about uncompleted features. So, at the moment we are trying to support commands as much as possible before the release.
I think that for now, I can approve changes, but without merging it into master. And you will have some time to decide what to do with -nargs. In any case, we are not planning to make any releases yet.

Sounds good, I will work on -nargs a bit this week/weekend and add that. Thank you very much Alex!

I've implemented nargs handling based on documentation and experiments with vim itself. This code should be reviewed again @AlexPl292 due to the changes I've made.
Supported symbols at the moment are <lt> <count> <args> <q-args> and <f-args>. Granted I don't know if <f-args> has an application yet in IdeaVim.
I've also changed the format of the list alias output to look more like Vim's actual output and include the number of arguments.

I'm sorry, I've updated flags method. That's why the checks failed.

I should be able to just rebase onto master then fix it.

Mmmmmm, I seem to have messed up rebasing my branch/fork. I'm going to recreate this pull request on a clean branch. That seems easier.


add manifest metadata description to docs

fixed by https://github.com/keboola/developers-docs/commit/077a90acc635bf64f9d812323791cccd1044b8c5


Data is not updating dynamically

Expected Behavior
If we change data source at run time Section list should dynamically updated
Actual Behavior
Currentlyif we change data source section list is not getting current data

Hello there, thanks for assigning this, we gonna check. Feel free to open a PR.

Hello there, I had the same problem. My data came from an SQL request with a limit. And as long as the data had the same length / count, the list did not update. Probably this is a feature/bug. I solved the problem with a workaround that I changed the limit on every request.


Completed test coverage for contenttypes models.

Hello!
I added tests to name propety at ContentTypes model to complete django/contrib/contenttypes/models.py file coverage

Thanks!

@mgaligniana Thanks :+1:


⚠ Jenkins Plugins Artifactory has degraded performance

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

HTTP code: 200
Response time: 1188 ms

Resolved: Jenkins Plugins Artifactory performance has improved in f52bd1e after 1 hour, 7 minutes.


set provider's serialization is fastjson will use hessian2 to serialize

[x] I have searched the issues of this repository and believe that this is not a duplicate.
[x] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.7-SNAPSHOT I build dubbo source locally  mvn clean source:jar install -Dmaven.test.skip

Operating System version: OSX

Java version: oracle 1.8.0_231

Steps to reproduce this issue

clone https://github.com/xiantang/dubbo-demo
clone https://github.com/apache/dubbo
use remote debug
my provider.xml is below:

    <dubbo:protocol name="dubbo" port="20880"  serialization="fastjson"/>

but when i try to debug is the serializationType will be 2 which is hessian2 serialize tool

but my consumer log is below:

I think it was a xml parse miss in Parser
Pls. provide [GitHub address] to reproduce this issue.
Expected Result
What do you expected from the above steps？
Actual Result
What actually happens?
If there is an exception, please attach the exception trace:
Just put your stack trace here!

I tried, but I didn't have this problem.Can you provide more information？


Adding in new theme prop, docs, and some css tweaks to allow all this

@joelgriffith is the theme only affecting the visual component of the app?

Correct. It doesn't change anything regarding UI though, so I'm not sure it really fulfills the original motiviation:

I'm going to close this in favor of just a plain-old dark and light theme


google.protobuf.message.DecodeError: Error parsing message

TCAV library -- there's a problem when importing in utils.py. Particularly the line when importing the results_pb2 module. I fixed it by changing "from tcav_results.results_pb2..." to "...tcav.tcav_results_pb2...".
Also there is an incompatibility with tf 2.0. I've tried by replacing tf. with tf.compat.v1. However, I then ran into a decode error, which i opened another issue on.
In addition, i get this error:
File "./tcav/tcav/model.py", line 318, in import_graph
graph_def = tf.compat.v1.GraphDef.FromString(tf.compat.v1.gfile.Open(saved_path, 'rb').read())
google.protobuf.message.DecodeError: Error parsing message
Do you know how I could resolve this problem? Thank you

@BeenKim @sherryy have either of you seen these issues before?

I have seen this error when the graph is in the wrong format. Is your graph
ends in '.pb'? Make sure your graph is saved using something like
"tf.io.write_graph(output_graph_def, frozen_graph_dir, 'graph.pb',
as_text=False)" if you are loading it using
"tf.GraphDef.FromString(tf.gfile.Open(saved_path,
'rb').read())" as on line 318 of model.py.
On Mon, Nov 4, 2019 at 12:46 PM James Wexler<EMAIL_ADDRESS>wrote:

@BeenKim https://github.com/BeenKim @sherryy
https://github.com/sherryy have either of you seen these issues before?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tcav/issues/56?email_source=notifications&email_token=ADAHHWCCPHEA7UKOVE57DV3QSCCZLA5CNFSM4JICFITKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDAU3RY#issuecomment-549539271,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADAHHWFDHV7R7U6AENQBVVTQSCCZLANCNFSM4JICFITA
.

Thanks Sherry! @justcho5 please feel free to reopen this issue if it wasn't resolved.

I have also the same problem, anyone can give some solutions to this problem.
This is my code...
detection_graph=tf.Graph()
with detection_graph.as_default():
od_graph_def=tf.GraphDef()
with tf.gfile.GFile(PATH_TO_FROZEN_GRAPH, 'rb') as fid:
serialized_graph=fid.read()
od_graph_def.ParseFromString(serialized_graph)
# od_graph_def.ParseFromString('saved_model.pb')
tf.import_graph_def(od_graph_def, name='')
# tf.import_graph_def(od_graph_def, name='prefix')
Error line:
Traceback (most recent call last):
File "D:/TensorFlow-2/raccoon_dataset-master/object_detection_testing_yolov4.py", line 54, in
od_graph_def.ParseFromString(serialized_graph)
google.protobuf.message.DecodeError: Error parsing message


misleading summary of a graphic in "make queries fast"

In this page, when the initial query is done to get the top 10 riders, the graphic shows that the server execution time was 103.41ms.  The text below it says that it took 160ms.  These two should be in agreement with each other.
Unfortunately, this query is a bit slow. 160 milliseconds puts us over the limit where a user feels the system is reacting instantaneously, and we're still down in the database layer. This data still needs to be shipped back out to your application and displayed to the user.
The threshold for a human noticing a non-instantaneous transaction is around 100ms, which the graphic says we are near.  To use this as an example, you may want to artificially slow the query for the exercise.
Later on in the same page, the 160ms figure is referenced again: This query is now running much faster than it was before we added the indexes (160ms vs. 25ms). This means we have an extra 135 milliseconds we can budget towards other areas of our application.

cc @ericharmeling, @ianjevans


Way to browse and edit files in github repos?

I see how to write a new file to a github repo, but how can I browse files from a github repo and then edit/update an existing file in a github repo?
Thanks!

Hi Robert,
The current 'workflow' would probably be to retain the master copy of the document in Google Docs. Then when you publish it to Github, if you are using the same file name, it will update/overwrite the existing version with a new commit. Essentially a simple authoring system for those people who prefer to use Google Docs as their main content editor.
Adding functionality to load/parse a current markdown document from Github into a Google doc for editing would certainly be a worthwhile feature if it was going to be useful for you & others....
Yours,
JD


MXNet built from source problem

Hi,
I use my own MXNet pakages that built from source,beacause I also has some custom operator.
As you mentioned in your readme file ,some custom operators are not presented in official MXNet
Can I add these additional custom operators to my own MXNet source?
Which operators should I copy to my own MXNet pakages?
Any help would be appericated! Thanks a lot!
Best Regards,
PengWei

src/operator/contrib/yolo_output*

Hi,
I copy yolo_output* to my own mxnet and use cmake to build and I comment #import tools.find_mxnet in
line2 demo.py then get below errors
Could you please tell me how I can solve these problems?

the command line  I used:
mkdir build/Release && cd build/Release
cmake ../../
make -j8
export LD_LIBRARY_PATH=/build/Release
export PYTHONPATH=/python
python demo.py --cpu

errors:

Failed loading Op stack_downsample of type stack_neighbor: [16:41:28] /home/jacky4323/BMXNet_yolo/mxnet/nnvm/src/core/op.cc:55: Check failed: op != nullptr Operator
stack_neighbor is not registered

If you run the latest master, stack_neighbor operator shouldn't be required anymore.


HarmonyOS

Huawai Matepad T10s
AGS3K-W09
Version 0.2 works fine, but no higher version does. Can  I replace Android System View, because Can not  legally install Google apps. Can something be done about it?

Maybe try to sideload it?
https://www.apkmirror.com/apk/google-inc/android-system-webview/

Version 0.2 works fine = does it show Better xCloud's settings?

Yes, better xcloud work

Capture a video showing the app in version 0.2

https://github.com/redphx/better-xcloud-android/assets/164740041/03294e3d-c52f-442f-99db-9711052fe4c3

I didn't see a button with server's name in the video

Ehh. You're right, it doesn't work at the moment. However, APK version 0.2 still works. Unfortunately, all of the above does not want to move

Move to #55


Auto completion does not show static variables after typing "ClassName."

Godot version
v4.1.1.stable
System information
Godot v4.1.1.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3050 Laptop GPU (NVIDIA; <IP_ADDRESS>79) - 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz (16 Threads)
Issue description
Auto completion does not show static variables after typing "ClassName."
They do show up in autocompletion when using an instance of the class.
Steps to reproduce
Example class script:
`class_name ClassA
extends Node
static var test = "Test"`
Then in another script start typing:
ClassA.
The autocomplete will not show "test", even though it's a common and valid use of static variables (and it works, just not autocompleted).
Minimal reproduction project
StaticVarMinimalReproduction.zip

Duplicate of: #79339
Thank you for reporting


consider LIMA_INSTANCE environment variable in limactl

As we already know that LIMA_INSTACE is a special variable used by lima. But it didn't mean anything to limactl. So, it'd be nice to use it for limactl too to specify the instance name.
cc: @afbjorklund @dentrax

I don't really see how this can work in general, e.g. is limactl shell foo bar supposed to run limactl shell $LIMA_INSTANCE foo bar? Would I have to unset LIMA_INSTANCE if I wanted to specify an instance name explicitly?
So the most I can see is that limactl would use $LIMA_INSTANCE whenever it currently would use default when the name is not specified, as in limactl start and limactl stop.
But limactl delete would still require an explicit instance name, and e.g. limactl ls would list all instances, and not just $INSTANCE_NAME.
I guess this is possible, but I'm not sure how useful this really is, compared to the potential confusion it can cause. So I'm rather neutral on this idea.


unable to do scraping:

Running the code:
from twitter.scraper import Scraper

email, username, password = ...,...,...
scraper = Scraper(email, username, password, debug=1, save=True)

trends=scraper.trends()

tweets=scraper.tweets_by_ids([1657520327642030080,1656325838466347010])

I get empty trends={} and the following error for tweets:
AttributeError: 'Scraper' object has no attribute 'tweets_by_ids'
What's wrong?
Thank you.

Whereas if I run:
tweets=scraper.tweets([1657520327642030080,1656325838466347010])

I get:
[RuntimeError: asyncio.run() cannot be called from a running event loop
](url)

Ensure you're using version 0.8.1 or greater, I stupidly ended up changing some of the method names/signatures. tweets_by_ids() was changed to tweets_by_id() at some point.
scraper.tweets() takes a list of user ids, it looks like you're passing tweet ids. I need to create some better documentation for this. For now, you can see in the method signatures what types of ids are required.

Thank you very much for your work, Trevor!
Regarding this issue, I get an empty {} JSON file after executing
from twitter.scraper import Scraper

## sign-in with credentials
email, username, password = ..., ..., ...
scraper = Scraper(email, username, password)

# trends
scraper.trends()

Is it me or trends cannot be retrieved?

If someone has the same problem with me, you can try this patch 😉


To do list[ add & remove] project

In this project, I worked on the To do list project finalized the structure part, and added more functionality to the website also worked with webpack and bundle.js and set my files with ES6 Modular, In the final part of the project i will remodify the application and make it into a fully functional website.
In this project, I worked on and modified the following.

[X] Worked on the index.HTML file and apply the best practice methods and added all the requirements.
[X] Worked on the style.Css file and apply the best practice methods and added all the requirements.
[X] Worked on the index.js file and apply the best practice methods and added all the requirements.
[X] Worked on the Webpack and apply the best practice methods and added all the requirements.
[X] Worked on the Modular Directory and apply the best practice methods and added all the requirements.
[X] Worked on the Linters files and checked all errors.

Hi @Abbas-Aljuaifari 👋🏼👋🏼👋🏼,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Highlights✅✅✅

[x] Project has met the requirements for the milestone👍🏼.

Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Import / export user keys

[correct me if I'm wrong, please, these are my first days with orbitdb :) ]
orbitdb uses public key cryptography to sign databases. This means that the identity of users is defined by their public key, and their ability to actually do things with that identity is defined by their private key. The public-private key couples broadly defines what in a centralised system would be called an authenticated user.
Now, if I start a node in my browser, a key pair is generated (randomly?) and persisted in the browser storage. But if I start it in another browser, on in another device, or I simply erase my browser storage, the key pair changes. This means that my identity is linked to a particular browser storage and it's not portable.
There could be many ways of storing the keys and reusing them (the most simple would be saving them to a file and importing them back manually copying the file to another device), but I think all them would need a key import / export functionality baked in orbitdb.
Is this right? If yes, would it be possible to implement this import / export functionality?

Hi there. I am also very curious about importing public/private key to orbitdb.
It seems that there are two functions orbitdb.key._importPublic and orbitdb.key._importPrivate, but I don't know if they are relevant to importing?
Thanks

Right now we don't have a way to import/export keys. However, the keys are located in ./orbitdb/<peerID>/keystore/ from which you can copy them manually. This is tedious, error prone and definitely not what we want as the solution.
My thinking has been that we'll use the nice keystore interface IPFS will provide. There's an open PR https://github.com/ipfs/js-ipfs/pull/1133 to bring into the js-ipfs land, so I would wait until we have the keystore and then see what's the best way to import/export. Right now there's nothing on import/export in the spec but I don't see why we couldn't add a layer on top of it, or as part of the spec, to import/export keys.
Any thoughts?

@haadcode - Supporting IPFS keystore would be cool. There's another thing too: what about the actual data? Imagine the simplest case, where a user buys a new PC and wants to migrate data to it. They export their keys and gain the possibility to tweet as themselves in the new PC, but when they db.load() there is no data in the new PC's  IndexedDB, so they get an empty user info object and, an empty tweet feed, plus an empty follower list (currently I use three dbs, two kvs and a feed). How do they go about importing all their previous state? They should replicate their old dbs with their old computer turned on and running the Twitter app?

FYI - the PR mentioned above has been merged two months ago.

Closing this for now but can re-open or revisit if necessary


Has anyone got the min-date max-date working?

I have tried just about everything to get it working but no joy.
Here is my code...

                    <input id="nct" type="text" ng-model="stockItem.nctExpiry"
                           date-time
                           view="month"
                           max-view="year"
                           min-view="month"
                           format="yyyy/MMMM"
                           auto-close="true"
                           min-date="2015-10-27"
                           max-date="2015-12-27"
                           watch-direct-changes />

Any help would be great.
Cheers
Stuart

Great update with V 2.0.0 I have found the min - max easy to implement with the new code.
Thank you.

@StuartBAutotrader can you tell how you implemented min/max date? I feel like I've tested every possible combination:
min-date="datePickerOptions.minDate"
min-date="{{datePickerOptions.minDate}}"

$scope.datePickerOptions = {
  minDate: '2015-09-15',
  // or
  minDate: moment('2015-09-15'), // also .format(), .toString(), .toDate()
};

but nothing works, I'm able to select any date and input still contains ng-valid ng-valid-min ng-valid-max classes. I'm using angular-datepicker 2.0.3, moment 2.10.6, angular 1.4.3

It seems to work with the latest commits from master. When the next version will be released?

+1

+1
this will work
bower install https://github.com/g00fy-/angular-datepicker.git#28c312d6d1 --save


Can't use colon in the updater name

For example: 'update the value on the hst:types' will fail.
Quite likely some other characters will fail as well.

Also the "/" doesn't work in names either "Add/remove x from node"

Also the "/" doesn't work in names either "Add/remove x from node"


DynamoDB table information and other meta not set

I'm seeing aws metadata in segments however the table_name and other properties aren't being set:
"aws": {
  "consistent_read": null,
  "consumed_capacity": null,
  "operation": "GetItem",
  "projection_expression": null,
  "region": "eu-west-1",
  "request_id": "MNCJ6R6HEAMTOSCET28V5FD3MRVV4KQNSO5AEMVJF66Q9ASUAAJH",
  "retries": 0,
  "table_name": null
}

I'm following the guidance in this repos' README whereby calls to DynamoDB use the WithContext variation of the GetItem method.
I'm not sure if this is a problem with this library or with the AWS Golang SDK.

Thanks for reporting this bug @alexbilbie. We've released version 0.9.2 to address this issue.


Servers

What are the servers it can run?

No servers actually work. Well actually I think the proxy is the problem.


Collapse ProcessBuilder::arg calls in tests

Refs #5742
More of #5854

r? @matklad
(rust_highfive has picked a reviewer for you, use r? to override)

@bors r+
Thanks!

:pushpin: Commit 0152f264057791968eba251dd46f0700cf9e5322 has been approved by matklad

:hourglass: Testing commit 0152f264057791968eba251dd46f0700cf9e5322 with merge 99a44cd7c9a7451aa1e19b0b1b63922e05e9c087...

:broken_heart: Test failed - status-appveyor

Failure seems legit!

@bors: r=matklad

@bors: r=matklad

:pushpin: Commit c882b4e02ed67bf76793f96da0faba746c609e4f has been approved by matklad

:hourglass: Testing commit c882b4e02ed67bf76793f96da0faba746c609e4f with merge a06570c2d1f04299d07e50ea2ec74f776e3d4582...


Use AWS Neuron SDK 2.14

This bumps the version of the AWS Neuron system and python packages to those corresponding to AWS Neuron SDK 2.14.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Bungee

/portal create -b Nether
I am using that command in an attempt to make a portal to another server, it is telling the server does not exist or is not loaded. What might I doing incorrectly?

You're missing the name parameter
/portal create {name} -b Nether
I will also direct you to https://github.com/trentech/HelpMe/releases
This plugin gives more information for registered commands that have HelpMe integrated into them. Most of my plugins are supported. check out the wiki page for more information

Thank you very much