Debian: Add support for Apple AirPrint

I'm well aware this one is most probably contentious for Apple. But OpenPrinting is not Apple :-)
Bug-Ubuntu: https://bugs.launchpad.net/bugs/711779
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1054495
Bug-Debian: https://bugs.debian.org/700961
Bug: https://github.com/apple/cups/issues/4341

No, but CUPS does not conform to the AirPrint specification and never can because we don't support media-ready/media-col-ready. That basically limits printing from iOS to US Letter/A4, which is only slightly better than useless.
Will consider some parts of this in the future, but really this change will need major work before it can be merged.

OK, tracking this for CUPS 2.4.0 in issue #105.


A01633776 - Fabian Lioner (input not fully working, graphviz broken install)

Properties should be working.
Commented input line, using hard-coded values for testing purposes.
Graphviz installation is kind of broken on my system.

80


Unable to set custom field when using #create_activity method

It is possible to set custom fields using #tracked method, however, when I create an activity using #create_activity method, custom fields are just ignored
def track_activity(model, activity_name, params={})
    model.create_activity activity_name,
                owner: current_user,
                enterprise_id: current_user.enterprise.id,
                params: params
end

I have this method in Application controller and I have added enterprise_id field to database.

Something similar happened to me where it wouldn't save the activity when I sent a custom field. My fix was to use a different function I found as an answer to another issue.
In this example, my custom field is project_id which is a belongs_to association with the activity. So on creating a new project I added this line:
PublicActivity::Activity.create key: 'project.create', trackable: @project, owner: current_user, project: @project
Quite ugly but am working on a way to clean it syntax.

You are right that create_activity does not allow passing custom, so it's a potential improvement to be made


Support for multiple peers needs improvement

While I love the idea of a pure-Node alternative to ZeroMQ and the like, there are a number of areas that need some improvement before it can replace it for dynamic clusters with nodes coming in and out periodically:

Support for disconnect-ing existing peers - This is required, but tricky. I played around on a fork for a little while, but it'd be a pretty substantial undertaking. The biggest hurdle is overhauling how axon does automatic reconnect: there's not currently a way to turn it off at all, let alone disable it for a specific peer.
Per-peer elastic backoff - Currently, the retry time is per Axon socket, not per peer. One good peer and one bad peer will cause a lot of connection thrashing.
Multiple-peer-aware connection state - Currently, the connected flag is flipped as soon as any peer accepts or disappears.
Reconnection timers aren't cleared on destroy - This is more an issue with cleanly shutting down, which is impossible to do if a peer has ever disappeared suddenly.

I could certainly be misunderstanding the code, but tinkering in the guts confirms these concerns. Thoughts? How would y'all feel about my fixing some (or all) of these?

Hmm I imagine a clean close via some command would be enough to signal that the peer isn't coming back. That wasn't something I needed personally but I agree it would be good to have!
I haven't checked out the code in a while now but I think the rest sounds about right as well

+1


Footer alignment

Hi,
Do you have any idea how can I align the footer in the adapter?
The footer view is working correctly, my problem is when the content of recyclerview lesser than the height of recyclerview, I would like to show the footer view at the bottom of the view.
So I would like to set the position of the footer view align to the bottom or below the the items if the content is scrollable.
Thanks for the help!

@larten, yes I understand, it could be interesting, it's doable with a ItemDecorator that is able to recognize if exists a Footer item, it can calculate the difference between the last item and the remaining space.
If you will do you will share the code.


Display in table view

fileClass: [ fc1, fc2]

The note uses more fileClasses is not going to appear in the "display in table view" of fc1 or fc2.

How I realized in the "display in table view" I can see the file name, not the file link. I can see the right pointer but I cannot link to the note.

Fülike

good catch. will be fixed in the next version

fixed in 0.3.7


Update validate-the-my-site-host-and-individual-my-sites-are-on-a-ded…

…icated-web-applica.md
Add !important to note the removal of the rule.

@bentoncity Hi Steve, changes look correct. Could you please check and merge? Thanks!


intro initial image building

Don't know if you have this sitting in one of your dev branches @stuartwdouglas after our slack exchanges yesterday but if not a starting point to build off of
I started with the build service Dockerfile and added a tweak or two from what we do in openshift

for the k8s objs to deploy, after taking another pass at what the other controllers our team has deals with, I decided to ask some sanity check questions in the next scrum meeting on Friday (I am probably suffering from new team member ignorance on some stuff)

@stuartwdouglas I rebased this off the changes you had merged / that we touched upon during our call Thursday PM my time / Friday AM your time
PTAL / if you are good let's merge or of course post any comments / questions you have - thanks

@stuartwdouglas and I talked .... he ran into some hiccups with this, and then when I realized his current version was NOT doing RUN go mod download this approach is not as critical to me
closing this out


Change outputkeycerttodir to be a move instead of writing

Describe the feature request
We are using gloo as an api gateway and followed these instructions to set it up (I also set up a cluster that uses SDS looking at the cert/key.) However, after the certificate expires we get errors connecting to the upstream saying it is expired. If you check /etc/istio-certs you'll see that istio-proxy indeed updated the files.
However, based on this I believe istio-proxy is just writing to the file. Based on envoy's documentation here (read the second note under path) I believe that a move is required instead of writing over the content of the file. I tested this by exec'ing to the container, copying the files (e.g. cp /etc/istio-certs/cert-chain.pem /etc/istio-certs/cert-chain.pem.bak) and then moving the copies into the original location (e.g. mv /etc/istio-certs/cert-chain.pem.bak /etc/istio-certs/cert-chain.pem) and the upstreams started to work again.
Describe alternatives you've considered
Some sort of code change could be made on the gloo side and some sort of gRPC SDS could be setup to work with istio. Or something could watch for a checksum change to the file and then do the mv.
Affected product area (please put an X in all that apply)
[X] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[X] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Additional context
It's also possible you and solo are working on some tighter integration and this would not need to go into istio-agent and if so I welcome that solution as well.
Currently using istio 1.5.4 and gloo enterprise 1.3.8.

@lei-tang is OOO, assign to @myidpt to triage the issue.

cc @williamaronli

Assigning to Lei. This should be a simple fix.

This is done in 1.9. Thanks!


HDDS-11857. Freon log flooded by HSync message

What changes were proposed in this pull request?
The Freon log seems to be flooded by HSync message, this information might be helpful for debug, it would be better to keep it in degbug mode. Please take a look, thanks!
What is the link to the Apache JIRA
HDDS-11857
How was this patch tested?
run the provided command in the docker services can see the msg doesn't show under normal mode.
$ sudo docker compose exec -T scm ozone freon ockg -n10 -t1 2>&1 | grep -o -e 'Ignoring ozone.fs.hsync.enabled' -e 'Initializing ChecksumCache' | sort | uniq -c
7 Initializing ChecksumCache

Thanks @chiacyu for the patch.  Can you please also change the checksum cache message to debug?
https://github.com/apache/ozone/blob/5b27f6d938c67028f105767f104f65efb9f5637d/hadoop-hdds/common/src/main/java/org/apache/hadoop/ozone/common/ChecksumCache.java#L49


feat: changing note processor / synchronizer to add siloed notes

Please read contributing guidelines and remove this line.

Benchmark results
Metrics with a significant change:

protocol_circuit_proving_time_in_ms (base-parity): 1,370 (-35%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_ms
5,718
1,545
716 (+1%)
755
769 (+1%)

proof_construction_time_sha256_30_ms
11,727 (-1%)
3,146 (-1%)
1,409 (-3%)
1,439 (-3%)
1,473 (-3%)

proof_construction_time_sha256_100_ms
43,766 (-1%)
12,304 (-4%)
5,830
5,562 (-3%)
5,523 (-4%)

proof_construction_time_poseidon_hash_ms
78.0
34.0 (-26%)
34.0
59.0
88.0 (-1%)

proof_construction_time_poseidon_hash_30_ms
1,517
416
201 (+1%)
224 (-3%)
270 (+1%)

proof_construction_time_poseidon_hash_100_ms
5,607
1,516
677
741 (+4%)
750 (+1%)

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs
16 txs

l1_rollup_calldata_size_in_bytes
740
740
740

l1_rollup_calldata_gas
6,704
6,724
6,728

l1_rollup_execution_gas
611,971
612,142
612,297

l2_block_processing_time_in_ms
758 (+2%)
1,396 (-1%)
2,716 (-3%)

l2_block_building_time_in_ms
10,400
20,115
40,155

l2_block_rollup_simulation_time_in_ms
10,400
20,115
40,155

l2_block_public_tx_process_time_in_ms
8,654
18,200
38,155

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
6,978
9,728 (-2%)

node_database_size_in_bytes
12,709,968
16,871,504

pxe_database_size_in_bytes
16,254
26,813

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Function
time_ms
bytecode_size_in_bytes

GasToken:_increase_public_balance
98.7 (+1%)
8,139

GasToken:set_portal
11.8 (-6%)
2,362

Token:constructor
118 (-6%)
16,400

FPC:constructor
90.2 (-6%)
9,304

GasToken:mint_public
81.5 (-4%)
6,150

Token:mint_public
94.3 (-2%)
11,720

Token:assert_minter_and_mint
48.7 (-6%)
8,028

AuthRegistry:set_authorized
7.08 (-20%)
4,537

FPC:prepare_fee
259 (-5%)
8,812

Token:transfer_public
37.7 (-2%)
32,641

FPC:pay_refund
72.7 (-3%)
12,114

Benchmarking:increment_balance
1,012
7,450

Token:_increase_public_balance
11.8 (-10%)
8,960

FPC:pay_refund_with_shielded_rebate
141 (-3%)
12,663

Public DB Access
Time to access various public DBs.

Function
time_ms

get-nullifier-index
0.151 (-2%)

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
256 leaves
512 leaves
1024 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.2 (-1%)
16.5
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.588 (-1%)
0.506
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
47.2
75.9 (-3%)
131 (+2%)
242
475 (-1%)

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
287
543
1,055

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.482
0.466 (-2%)
0.448 (+1%)
0.439
0.443

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
58.5
110
181 (+1%)
347 (-1%)
697 (-5%)

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
109
207
355
691
1,363

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.492
0.493
0.478
0.471 (-1%)
0.476 (-5%)

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
71.4 (-1%)
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
133
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
0.508 (-1%)
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
62,729
664,455

Transaction size based on fee payment method
| Metric |  |
| - |  |


Introduce SEO helper

Let's change the title in the <head> section of the page list archive, for better SEO!
Fixes #1716

This is great. Really nice addition. Thanks.

right on. thank you, guys!!!

:+1:


Use general 'note' command & extend documentation

I use typst drafting as the typst equivalent of todonotes.
I'm new to typst, which is why I struggled to get some equivalent functionality, but I think I managed:
I'd like to propose to

add some extra examples in the documentation which show the usage of different variants of notes
add a general #note command, which can switch between the inline & margin variant, with a default to margin.
(or if not, also add this to the documentation as an example of working with it...)

If you are ok with this, I can send a PR (when I find some time)
A note, defaulting to a margin note:
#let note(inline: false, ..kwargs) = {
    if inline {
        inline-note(..kwargs)
    } else {
        margin-note(..kwargs)
    }
}

An example of defining custom todo-commands:
#let todo-ballon = rect.with(inset: 0.3em, radius: 0.5em)
#let todo-unsure = note.with(
        stroke: maroon,
        rect  : todo-ballon.with(fill: maroon.lighten(70%)))
#let todo-add = note.with(
        stroke: blue,
        rect  : todo-ballon.with(fill: blue.lighten(60%)))
#let todo-change = note.with(...)

Usage:
#todo-add(inline: true)[Inline todo note, showing that I should add something...]
#todo-add[Todo note in the margin, showing that I should add something here...]

Extra examples are welcome! Thank you for the consideration.
I am more hesitant to provide uniform access both to inline and margin notes, since each needs slightly different parameters (i.e. inline notes have a par-break option, and I am hoping in the future to have more margin-aware options for margin notes).
Since the code to provide this is so short, I'm also happy to merge an example that shows  you can use a function like this if you need the unified API.


Fix adding controls with map config

If a control like ol.control.Bar by @Viglino adds sub controls when added to a map it fails during map creation because the listeners are added after the control was added to the map.
Adding listeners before adding controls / interactions / overlays fixes this
See https://codesandbox.io/s/ol-ext-bar-map-config-vl1o0?file=/src/index.js for an example

I don't think it adds any overhead.
The listeners are only dispatched for controls that are newly added when the map is set on the already configured controls.
If the collections don't change, it behaves the same.

Ok, then I misread your change. Can you add a test that failed before and passes after this change? That should make clear what you were doing.

I added the test for the control config, I can add one for overlays and interactions if you like, @ahocevar.
I hope this clears up the intent of this change.


docs: fix package name in babel config docs

Pre-flight checklist

[x] I have read the Contributing Guidelines on pull requests.
[ ] If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
[ ] If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation
The documentation for customizing the babel config says to install @docusaurus/theme-live-codeblock, then use the @docusaurus/babel/preset in the config file. This should tell the user to install @docusaurus/babel instead.
Test Plan

N/A
Test links

Deploy preview: https://deploy-preview-10666--docusaurus-2.netlify.app/
Related issues/PRs

N/A

thanks 👍


Provide user-agent with async requests

Prerequisites:

[x] Unless it is a documentation hotfix it should be merged against the dev branch
[x] Branch is up-to-date with the branch to be merged with, i.e. dev
[x] Build is successful
[x] Code is cleaned up and formatted

Summary
Include the Epidata request headers in async request sessions, so the delphi-epidata User-Agent is used. Unfortunately I don't have a way to test this because I can't figure out how to get aiohttp to tell me the headers it sent, but it should work.

lol I opened #709 and tagged @krivard  for review

oops, you win


IOError: Permission denied on some files

Hello, I was just trying your thing (looks pretty cool!) but I cannot run it correctly.
I just git cloned it then did:
sudo python setup.py install

and entered the examples folder and executed the widgets_overview_app.py then I got:
<IP_ADDRESS> - - [03/Nov/2015 21:25:15] "GET / HTTP/1.1" 200 -
<IP_ADDRESS> - - [03/Nov/2015 21:25:15] "GET /res/style.css HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('<IP_ADDRESS>', 43276)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 593, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "widgets_overview_app.py", line 22, in __init__
    super(MyApp, self).__init__(*args)
  File "/usr/lib/python2.7/SocketServer.py", line 649, in __init__
    self.handle()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
    self.handle_one_request()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
    method()
  File "/usr/local/lib/python2.7/dist-packages/remi-0.1-py2.7.egg/remi/server.py", line 540, in do_GET
    self.process_all(function)
  File "/usr/local/lib/python2.7/dist-packages/remi-0.1-py2.7.egg/remi/server.py", line 574, in process_all
    with open(filename, 'r+b') as f:
IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/remi-0.1-py2.7.egg/remi/res/style.css'
----------------------------------------
<IP_ADDRESS> - - [03/Nov/2015 21:25:15] "GET /res/logo.png HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('<IP_ADDRESS>', 43277)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 593, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "widgets_overview_app.py", line 22, in __init__
    super(MyApp, self).__init__(*args)
  File "/usr/lib/python2.7/SocketServer.py", line 649, in __init__
    self.handle()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
    self.handle_one_request()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
    method()
  File "/usr/local/lib/python2.7/dist-packages/remi-0.1-py2.7.egg/remi/server.py", line 540, in do_GET
    self.process_all(function)
  File "/usr/local/lib/python2.7/dist-packages/remi-0.1-py2.7.egg/remi/server.py", line 574, in process_all
    with open(filename, 'r+b') as f:
IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/remi-0.1-py2.7.egg/remi/res/logo.png'
----------------------------------------
<IP_ADDRESS> - - [03/Nov/2015 21:25:15] "GET /res/logo.png HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('<IP_ADDRESS>', 43278)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 593, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "widgets_overview_app.py", line 22, in __init__
    super(MyApp, self).__init__(*args)
  File "/usr/lib/python2.7/SocketServer.py", line 649, in __init__
    self.handle()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
    self.handle_one_request()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
    method()
  File "/usr/local/lib/python2.7/dist-packages/remi-0.1-py2.7.egg/remi/server.py", line 540, in do_GET
    self.process_all(function)
  File "/usr/local/lib/python2.7/dist-packages/remi-0.1-py2.7.egg/remi/server.py", line 574, in process_all
    with open(filename, 'r+b') as f:
IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/remi-0.1-py2.7.egg/remi/res/logo.png'

Am I doing anything wrong?
Also Chrome (in ubuntu 14.04) says "Connection is closed" when I run the script. And the website looks wrong.

You should avoid to install with sudo, it is not required. Maybe the cause is it. Can you try to install the library without sudo? Right now I am not on a linux platform, I can only try tomorrow.

Thank you for the lightning fast response. I'll try installing somewhere else and adding that to my PYTHONPATH (altho I dislike doing that as I always forget :P).

I made a directory to store the lib and I'm still getting an error to install it:
sam@think:~/web_dynamic_reconf_ws/src/remi$ python setup.py install --prefix /home/sam/web_dynamic_reconf_ws/remi_lib
running install
running bdist_egg
running egg_info
writing remi.egg-info/PKG-INFO
error: [Errno 13] Permission denied: 'remi.egg-info/PKG-INFO'

I imagine you use a different setup, virtualenvs or something like that? But I've never used that.

Now I just tried to do my first virtualenv for trying to install this, but it's still not working :/ Man I must be doing stuff very wrong.
(remi_env)sam@think:~/web_dynamic_reconf_ws/src/remi$ python setup.py install
running install
running bdist_egg
running egg_info
writing dependency_links to remi.egg-info/dependency_links.txt
error: [Errno 13] Permission denied: 'remi.egg-info/dependency_links.txt'

Ok, this last error was generated because I used sudo previously and it wrote the remi.egg-info directory all with root permissions, so further runs of install when creating that temp folder didn't work!
My bad! Now it works :)

;-) Happy to see you solved.

Anyways if I want to use this in production I'll need to be able to install it somehow as a debian or pip install :P Are there plans for that?

You can pip install from the git url until a release is made.

Didn't know the trick of pip installing from a git .zip url, nice, thanks!

Environment: I ran into this issue trying to set up a repo in a Juypter notebook on a Google Cloud VM.
Problem: setup.py build and setup.py install were failing because of permissions issues.
My specific output was:
jupyter@tensorflow-2-vm:~/flownet2-pytorch/networks/resample2d_package$ python setup.py buildrunning build running build_ext building 'resample2d_cuda' extension creating build/temp.linux-x86_64-3.7 error: could not create 'build/temp.linux-x86_64-3.7': Permission denied
Solution: for me it was literally a permission issue. Doh. Somehow the blocked file belonged to root, not me the user, jupyter. To check if this is your problem too, cd to the directory of the offending file(s) and run ls -l to view the file permissions/owners. The file you are trying to run should belong to you and be fully executable. This is what it looked like for me while causing problems:
rwxr-xr-x 2 root root 4096 Apr 22 07:33 temp.linux-x86_64-3.5 (note how it says root root)
this was after I fixed it:
drwxr-xr-x 2 jupyter jupyter 4096 Apr 22 07:33 temp.linux-x86_64-3.5 (changed to my username)
To change the owner run sudo chown -R $USER:$USER [FILE or FOLDER]
Now in the appropriate directory, re-try with admin status sudo python setup.py build
Hope this helps someone out of a .pkl

@TylerDKnight thank you a lot! ;-)


How do I contribute

Title sais it all. I have 3 hours per weekday, 4 hours per weekend day for this. Please let me know. :)

We appreciate it! We are a small team and have been organizing privately up until now. Given the recent interest, we will do our best to put our design specs on the project wiki and our to-do list on the issues page as soon as possible - stay tuned!

I was actually intending to do this myself. If I was a student I would have probably had started something similar, but my job has been taking most of my time and yeah.. ;p

So I might as well help you guys out!

Did you guys affiliated with Facebook somehow? )

Also interested in contribute here!

:+1:

Is it ok If I try to "port" this to other "platforms" like mxnet?
I am a newbie in deep learning~

want to contribute too

@Nefeste we are a group of data science students, not affiliated with facebook
@firearasi of course! Really the deep learning part of AlphaGo isn't the technically challenging part, though. In fact, once we have started the training process, we will be able to provide pre-trained model parameters in a universal format so that running the neural nets in any system (torch/caffe/mxnet/etc) is relatively easy. The difficult part for any implementation will be optimizing the tree search and neural nets together

Can you explain how goServer works? I'm trying fix #34, but I don't understand how it should works. What should happen after sgf uploading? Server tries redirect me to the uploaded file and returns 404, because it uses wrong path.

@wrongu How can I contact you? I want to share some of my details with you(so you can check my suitability to work with you guys).

@wrongu Ok than ) btw i have a lot of sgf-files with top professionals games from recent tournaments.. It can be useful to prepare the first stage of NN training

@Nefeste absolutely - the more expert SGF data we have the better. We only have a single dataset so far. We will need to look into whether we have permission to open-source that as well.

@AntreasAntoniou there is not much to check!  Looking forward to this.

Hi, what do you guys plan to develop next?

Would appreciate if you could put your todo list, etc. on the wiki as soon as reasonably feasibly.  I think there are a lot of people interested in contributing but don't want to write code that you have in progress.

We will have the wiki and todo list up tomorrow, which is the earliest time our team is able to meet!

Hello,
there is free and big (58444 games) pro game database under this link
https://badukmovies.com/pro_games/download
I like python :+1:

@gogogeo thanks! Downloaded it.

alphago learned with kgs sgf data
http://www.u-go.net/gamerecords/
but i prefer 58444 games data from
https://badukmovies.com/pro_games/download
it is PRO game data.

@skyer9 It also needs to be trained or non-pro data, so that it can see moves that are not-that-good in addition to really good ones, in order for it to model the game in more depth. E.g. AlphaGo didn't know about the type of move Lee Sedol played in game 4 when he turned the game around because it mostly played itself, that played at the level of super-pro. Therefore missing observations on different kinds of moves.

Hello My name is Ricardo, I am a graduate in computer science and interested in contributing to an open source project.I would like to know more about this please and stay in contact? My hours are varied but available to help and would like to learn aswell.


Add instructions to turn off simulation before disabling developer mode

Docs Build status updates of commit 2e07640:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/using-the-windows-mixed-reality-simulator.md
:white_check_mark:Succeeded
View

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


Error when encoding video with no audio

I'm getting the follow error when I attempt to encode video with no audio:
Invalid audio track specified for audio_selector [1]. Audio track [1] not found in input container.
Looking through some of the solutions I don't see an easy way to modify the output presets to allow for the successful processing of video with no audio. I found this solution on StackOverflow but I'm missing how I might make that change in the presets defined in the solution. Thanks for your time!

Hi @maduggan,
The workflow expects the video to have at least one audio track.
You could change the presets created by the solution, but a better approach might be to create a custom preset (without audio) and custom job template in MediaConvert, and use them whenever you're uploading a video that does not have audio.
Would that be possible?

@dscpinheiro It's certainly possible but ideally I would be able to handle both types of video without having to add a step where I check whether the source video has an audio track or not. If I modify the js there to remove track will it remove tracks from videos with audio or will it just handle both usecases? Thank you!

I followed the suggestion on the StackOverflow link you posted, and it looks like even after removing the Tracks property a video with audio is still processed successfully.
You're right that'd be ideal if the workflow identified if the video has audio or not. In a future update of the solution, we'll add this logic (at the time the solution was first designed, there was only need to support videos with audio).

No worries, thanks for the quick response. Have a good one.

I'm having the same issue, I already have everything deployed but running into encoding issues with videos that have no audio. Where can I change this in the console?

doesn't work here. still get the same error. file doesn't have audio... followed above as well.


Exclude some paths from brotli

Hi. I'm sorry to put this in here, because it's more of a support/documentation request than a bug.
But the situation is that I'd really like to use mod_brotli for most of my site -- it really speeds things up for most things. But it badly breaks Nextcloud. Is there a straightforward configuration directive I can use, either in Nextcloud's .htaccess, or in my main httpd.conf, that will exclude https://mydomain/nextcloud/ from using brotli?

Never mind, read the source, the following seems to work:
<Location /nextcloud>
    SetEnv no-brotli
</Location>


List Groups inside of dropdown menus don't wrap text

Describe the bug
When you put a list-group list-group-flush inside of a dropdown menu, you lose the wordwrap, cause the menu forces white-space: no-wrap on it's children. We have to override it manually. And I am not sure whether I can use list group in dropdown or not, Its an workaround that I am doing to create a notification dropdown.
How to reproduce
https://clarity-light-theme-v012-pwy9cv.stackblitz.io
Expected behavior
Putting a list-group inside of a dropdown menu item should not lose the default wrapping of text that normally wraps in lists.
Actual behavior
When you put a list-group inside of a dropdown menu, we lose the wordwrap, cause the menu forces white-space: no-wrap on it's children. we have to override it manually.
Versions
App

Angular: [6]
Node: [8.10.0]
Clarity: [e.g. 0.12]

@vinaykhegde
What is the use case for putting a list group in a dropdown?

Its an workaround that I am trying out to create a notification dropdown.

@vinaykhegde
Are the items in the dropdown clickable?

@mathisscott
can be both, If notification  to be seen in detail then clickable can be done or else the item will be left as it is in the view. As off now I have not made it clickable.

@vinaykhegde
It doesn't make sense to mix clickable and non-clickable elements that both look the same and exist at the same level in the DOM. That means basic functionality in your application has now been designated as discoverable.
It's like removing all the underlines from links on a webpage and making them the same color as regular text.
If I have the time, I will try to put together a stackblitz soon demonstrating how this type of dropdown can be done. I just had a half dozen presentations dropped on me, though, so I don't know how soon I can do this. Maybe later this week.

@mathisscott
Thank you for your demo, will be waiting to see one.

@vinaykhegde
Here is that workaround. It isn't that much CSS to handle on the application side for now.
Before we consider adding this officially to the dropdown menus in Clarity, we will need our UX people to go over it and examine the use cases and accessibility issues it raises. That will take us some time.
Until then, the workaround is there.

Since there is a workaround and the component in question (a notification drawer) is in progress #2350 as part of toasts and snackbars #365 I will be closing this unless another list group wrapping use case is submitted.


VSCode calling node components in a non Node App

From @netofd84 on March 8, 2018 16:6

VSCode Version: 1.21.0
OS Version: Windows10

Steps to Reproduce:

By using SPTools in order to work with a SharePoint Folder I have noticed, by using fiddler, that vscode is trying to open bower_compoents, node_modules, bower.json, package.json, etc. When this application is only using simple javascript. The real problem is that it keeps going and never stops from making these calls to these files and folders. We got to the point that one of the server farms was so busy because of these multiple calls.

I have used the same vscode to build other applications outside of SharePoint but apparently the configuration for node and bower are still there, is there a way to disable this configuration and just work with plain javascript without calling these other elements?

Does this issue occur when all extensions are disabled?: Yes
Copied from original issue: Microsoft/vscode#45313

Can you please check when these requests are triggered. Try closing all editors and then reloading the workspace. Are the requests triggered then? When you open the first file? Some other time?
Trying to narrow down if this is the npm built-in extension or workspaceStats.ts.

From @netofd84 on March 15, 2018 16:18
These requests are being triggered only when I open a JS file, I don't even have ts files nor json files, and it happens on any folder, not only sharepoint folders, any remote folder that have js files within. It keeps looking for tsconfig.json, node_modules/, bower_components/.
As soon as open a js file and look at the code that's when it happens, if I look at the code of some HTML or css files everything is good, I feel like it's trying to run a compiler when I don't need it and it keeps trying and trying, it never stops.

Thanks @netofd84
We look for these files in order to provide intellisense. Even non-node app usually have a node_modules directory to manage their dependencies, and there's no way for us to tell that your js file is just a plain old js file without checking for the existence of these other files first. As you note though, checking continuously for these files seems like a bug.

This is automatic type acquisition in action. It tries to find all dependencies of your app, and tries to use folder names in node_modules to know what declaration files to download to help your intellesense experience.
We do disable many of these lockups on remote file systems, can you share more information to help us recreate the same issues you are running into? a sample project would be ideal.

I just created a new separate folder within my remote server then I created a basic plain CSS, HTML and JS files without any content, and as soon as I open the js file, I can see how in fiddler VSCODE  starts generating all those calls... and it keeps going and going trying to find all those folders that don't exist in my remote server.

Is there a way to tell VSCODE to not to look for those files and folders?

So the /test is mapped to a remote folder?

YES, remote folder, empty files, no node related, just plain javascript, any idea why this is happening? I have used the same VSCODE to develop angular apps in my local machine, no remote server involved, but now that I'm in a remote server and just simple javascript.. this happens...
Thanks

Add a jsconfig.json file to the root of your project, and set files property to your input (this avoids enumerating the directory to find all .js files) and set enabled to false for type acquisition (this should avoid reading node_modules contents to find types for you).
{
	"files": [ "./script.js" ],
	"typeAcquisition": {
		"enable": false
	}
}

There is one problem, in my remote server, I'm not allow to put JSON files, just plain js, html and CSS files. any other approach?
I tried to do it in the User Preferences (File>>Preferences>>Settings) by putting this line
"typescript.disableAutomaticTypeAcquisition": true,
but not luck.

can you put it above your mapped directory?

No, just HTML, JS and CSS files are allowed in my remote server.


Untyped quotation operator autocompletion not working

Steps to reproduce the behaviour:
When I type <@@ while edititing a .fsx file
I expect to get <@@@@> with my cursor between the operators
Instead I get
<@@@@>@>
Windows 10
VS code 1.33.1
Name: Ionide-fsharp
Id: ionide.ionide-fsharp
Description: F# Language Support
Version: 3.36.1
Publisher: Ionide
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=Ionide.Ionide-fsharp

This is the same for [{}] as well. I ended up turning off the auto complete for this stuff because it was too annoying.

I actually think it's a bug in VSCode - it seems their bracket autocomplete system was not build with mulitcharacter brackets in mind.
I'll try to reproduce on simple extension, and investigate what's wrong in Code.

I found the same as Isaac and ended up hacking language-configuration.json on one PC to get around this. With the hacks it worked well for me, however I didn't want to submit a PR in case it breaks things for other people (I'm very new to dev generally).

Thanks for looking at the duplicate @Krzysztof-Cieslak - and sorry for the duplication!  Have we looked VS Code's issue list to see if it's on theirs?  If not I'm happy to do so.

Ah, there she blows:
https://github.com/microsoft/vscode/issues/72177
In short, it's on the VS Code feature backlog.

The fix for this is merged and in the VS Code insiders build.
Previously:

Now:

Thanks for reporting back, that's exciting news!

Well, I guess I can close it here.


Add default property API's to enable and test for fips

Checklist

[x] documentation is added or updated
[x] tests are added or updated

Does anyone have any alternate names for the API's that would be better?

This issue is in a state where it requires action by @openssl/committers but the last update was 30 days ago

Could this be merged soon?  Please rebase. As for alternative names of the public functions I could propose EVP_default_properties_has_fips and EVP_default_properties_set_fips but the current names are OK as well.

Rebased  : squashed and  updated generated files only.

This pull request is ready to merge

Thanks. Merged to master.

This merge breaks the build :
$ if ! $make update; then echo -e '\052\052 FAILED -- MAKE UPDATE'; travis_terminate 1; fi
EVP reason code 208 collision at EVP_R_SET_DEFAULT_PROPERTY_FAILURE
Makefile:2894: recipe for target 'errors' failed

I don't know why I am not surprised...


CLI broken, tests have started failing

~/src/fox (main)$ yarn test
yarn run v1.22.17
$ jest

 RUNS  src/create.test.ts
info No lockfile found.
 RUNS  src/create.test.ts
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning " ><EMAIL_ADDRESS>has unmet peer dependency "eslint-plugin-es@^4".
 RUNS  src/create.test.ts
[4/4] 🔨  Building fresh packages...

success Saved lockfile.
success Saved 237 new dependencies.
<!-- adrian: snipped boring stuff -->
$ fox build --mode production
 RUNS  src/create.test.ts
Error: build failed: Errors:
ModuleBuildError: Module build failed (from ./node_modules/ts-loader/index.js):
Error: Debug Failure. False expression: Non-string value passed to `ts.resolveTypeReferenceDirective`, likely by a wrapping package working with an outdated `resolveTypeReferenceDirectives` signature. This is probably not a problem in TS itself.
    at Object.resolveTypeReferenceDirective (/private/var/folders/ms/g4fyb1zs3cx5k4f3npp2qvfm0000gn/T/tmp-64444-kwi5Jw5OkPu5/extension-test/node_modules/typescript/lib/typescript.js:42530:18)
    at /private/var/folders/ms/g4fyb1zs3cx5k4f3npp2qvfm0000gn/T/tmp-64444-kwi5Jw5OkPu5/extension-test/node_modules/ts-loader/dist/servicesHost.js:713:18
    at /private/var/folders/ms/g4fyb1zs3cx5k4f3npp2qvfm0000gn/T/tmp-64444-kwi5Jw5OkPu5/extension-test/node_modules/ts-loader/dist/servicesHost.js:128:141
    at Array.map (<anonymous>)
    at Object.resolveTypeReferenceDirectives (/private/var/folders/ms/g4fyb1zs3cx5k4f3npp2qvfm0000gn/T/tmp-64444-kwi5Jw5OkPu5/extension-test/node_modules/ts-loader/dist/servicesHost.js:128:124)
    at actualResolveTypeReferenceDirectiveNamesWorker (/private/var/folders/ms/g4fyb1zs3cx5k4f3npp2qvfm0000gn/T/tmp-64444-kwi5Jw5OkPu5/extension-test/node_modules/typescript/lib/typescript.js:116611:163)
    at resolveTypeReferenceDirectiveNamesWorker (/private/var/folders/ms/g4fyb1zs3cx5k4f3npp2qvfm0000gn/T/tmp-64444-kwi5Jw5OkPu5/extension-test/node_modules/typescript/lib/typescript.js:116911:26)
    at processTypeReferenceDirectives (/private/var/folders/ms/g4fyb1zs3cx5k4f3npp2qvfm0000gn/T/tmp-64444-kwi5Jw5OkPu5/extension-test/node_modules/typescript/lib/typescript.js:118393:31)
    at findSourceFileWorker (/private/var/folders/ms/g4fyb1zs3cx5k4f3npp2qvfm0000gn/T/tmp-64444-kwi5Jw5OkPu5/extension-test/node_modules/typescript/lib/typescript.js:118278:21)
    at findSourceFile (/private/var/folders/ms/g4fyb1zs3cx5k4f3npp2qvfm0000gn/T/tmp-64444-kwi5Jw5OkPu5/extension-test/node_modules/typescript/lib/typescript.js:118133:26)
    at /private/var/folders/ms/g4fyb1zs3cx5k4f3npp2qvfm0000gn/T/tmp-64444-kwi5Jw5OkPu5/extension-test/node_modules/@foxglove/fox/dist/build.js:59:35
    at /private/var/folders/ms/g4fyb1zs3cx5k4f3npp2qvfm0000gn/T/tmp-64444-kwi5Jw5OkPu5/extension-test/node_modules/webpack/lib/HookWebpackError.js:68:3
    at Hook.eval [as callAsync] (eval at create (/private/var/folders/ms/g4fyb1zs3cx5k4f3npp2qvfm0000gn/T/tmp-64444-kwi5Jw5OkPu5/extension-test/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/private/var/folders/ms/g4fyb1zs3cx5k4f3npp2qvfm0000gn/T/tmp-64444-kwi5Jw5OkPu5/extension-test/node_modules/tapable/lib/Hook.js:18:14)
    at Cache.shutdown (/private/var/folders/ms/g4fyb1zs3cx5k4f3npp2qvfm0000gn/T/tmp-64444-kwi5Jw5OkPu5/extension-test/node_modules/webpack/lib/Cache.js:150:23)
    at /private/var/folders/ms/g4fyb1zs3cx5k4f3npp2qvfm0000gn/T/tmp-64444-kwi5Jw5OkPu5/extension-test/node_modules/webpack/lib/Compiler.js:1127:15
    at Hook.eval [as callAsync] (eval at create (/private/var/folders/ms/g4fyb1zs3cx5k4f3npp2qvfm0000gn/T/tmp-64444-kwi5Jw5OkPu5/extension-test/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/private/var/folders/ms/g4fyb1zs3cx5k4f3npp2qvfm0000gn/T/tmp-64444-kwi5Jw5OkPu5/extension-test/node_modules/tapable/lib/Hook.js:18:14)
    at Compiler.close (/private/var/folders/ms/g4fyb1zs3cx5k4f3npp2qvfm0000gn/T/tmp-64444-kwi5Jw5OkPu5/extension-test/node_modules/webpack/lib/Compiler.js:1121:23)
    at /private/var/folders/ms/g4fyb1zs3cx5k4f3npp2qvfm0000gn/T/tmp-64444-kwi5Jw5OkPu5/extension-test/node_modules/@foxglove/fox/dist/build.js:51:22
 FAIL  src/create.test.ts (17.421 s)1.
  createCommand
    ✕ creates a skeleton extension package (17287 ms)

  ● createCommand › creates a skeleton extension package

    thrown: "yarn failed with exit code 1"

      at src/create.test.ts:67:3
      at Object.<anonymous> (src/create.test.ts:66:1)

Test Suites: 1 failed, 1 total
Tests:       1 failed, 1 total
Snapshots:   0 total
Time:        17.439 s
Ran all test suites.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
~/src/fox (main)$

Appears that this was broken by Typescript 4.7 which was released 2 days ago.
Workaround for now is to change the typescript version to 4.6.x in your extension's package.json and run yarn:
$ cat package.json
{
  "name": "helloworld",
  "displayName": "helloworld",
  "description": "",
  "publisher": "unknown",
  "homepage": "",
  "version": "0.0.0",
  "license": "UNLICENSED",
  "main": "./dist/extension.js",
  "keywords": [],
  "scripts": {
    "build": "fox build",
    "foxglove:prepublish": "fox build --mode production",
    "lint:ci": "eslint --report-unused-disable-directives .",
    "lint": "eslint --report-unused-disable-directives --fix .",
    "local-install": "fox install",
    "package": "fox package",
    "pretest": "fox pretest"
  },
  "devDependencies": {
    "@foxglove/eslint-plugin": "0.19.0",
    "@foxglove/fox": "0.4.0",
    "@foxglove/studio": "1.12.1",
    "@types/react": "18.0.9",
    "@types/react-dom": "18.0.5",
    "@typescript-eslint/eslint-plugin": "5.26.0",
    "@typescript-eslint/parser": "5.26.0",
    "eslint": "8.16.0",
    "eslint-config-prettier": "8.5.0",
    "eslint-plugin-import": "2.26.0",
    "eslint-plugin-prettier": "4.0.0",
    "eslint-plugin-react": "7.30.0",
    "eslint-plugin-react-hooks": "4.5.0",
    "prettier": "2.6.2",
    "react": "18.1.0",
    "react-dom": "18.1.0",
    "typescript": "4.6.x"
  }
}
$ yarn
yarn install v1.22.17
[1/4] 🔍  Resolving packages...
success Already up-to-date.
✨  Done in 0.08s.

Looks like the problem is that when we create an extension we just use the latest version of every package so that means we get typescript 4.7 in the generated package:
  "devDependencies": {
    "@foxglove/eslint-plugin": "0.19.0",
    "@foxglove/fox": "0.4.0",
    "@foxglove/studio": "1.12.1",
    "@types/react": "18.0.9",
    "@types/react-dom": "18.0.5",
    "@typescript-eslint/eslint-plugin": "5.26.0",
    "@typescript-eslint/parser": "5.26.0",
    "eslint": "8.16.0",
    "eslint-config-prettier": "8.5.0",
    "eslint-plugin-import": "2.26.0",
    "eslint-plugin-prettier": "4.0.0",
    "eslint-plugin-react": "7.30.0",
    "eslint-plugin-react-hooks": "4.5.0",
    "prettier": "2.6.2",
    "react": "18.1.0",
    "react-dom": "18.1.0",
    "typescript": "4.7.2"
  }

Keeping this open until we figure out exactly which packages aren't working with latest typescript.

Permanent fix in https://github.com/foxglove/create-foxglove-extension/pull/63


New animation proposal: headShake

Hello
I've created an animation called "headShake", amazing for natural negative feedbacks
check out the preview:
http://codepen.io/FelipeMartinin/pen/ZbOvxr
Pull request link: https://github.com/daneden/animate.css/pull/465
How about merge it? :D

:+1:

Nice! :+1:

Github REALLY needs a Like and vote counters.  I HATE commenting to say that I like something and show support. "+1" just clogs comment areas and hinders discussions. :/
On that note, I love it. +1.


GPU

This is an excellent work.
Here is a question.
If I want to train this model using  ethylene carbonate dataset.,What model GPU do I need for training？

We used a single Nvidia RTX 3090 GPU. It has 24 GB of GPU memory.
If you get CUDA errors due to out-of-memory, you can change these lines
https://github.com/peterbjorgensen/DeepDFT/blob/a6bab4deb5cf05d9b46ae397b72253d04ea3c694/runner.py#L237-L245
The second argument 2 is the number of molecules per iteration and the numbers 1000 and 5000 are the number of probe points per iteration. You could decrease the number of probe points per iteration to see if it helps.
This should really be added as command line arguments.
    train_loader = torch.utils.data.DataLoader(
        datasplits["train"],
        2,
        num_workers=4,
        sampler=torch.utils.data.RandomSampler(datasplits["train"]),
        collate_fn=dataset.CollateFuncRandomSample(args.cutoff, 1000, pin_memory=False, set_pbc_to=set_pbc),
    )
    val_loader = torch.utils.data.DataLoader(
        datasplits["validation"],
        2,
        collate_fn=dataset.CollateFuncRandomSample(args.cutoff, 5000, pin_memory=False, set_pbc_to=set_pbc),
        num_workers=0,
    )


feat(preconditions): add voice channel only precondition

Backports #462

Backporting to stable is limited to DiscordJS / discord-api-types package bumps to ensure that v2 users can continue to work without getting conflicts in @discordjs, discord.js or -types.
Therefore this will be closed.


Blob is not defined

Using this with latest Node.js gives me:
/node_modules/stream-to-blob/index.js:16
        : new Blob(chunks)
              ^
ReferenceError: Blob is not defined
    at ReadStream.<anonymous> (/home/me/cruncher/node_modules/stream-to-blob/index.js:16:15)
    at emitNone (events.js:91:20)
    at ReadStream.emit (events.js:188:7)
    at endReadableNT (_stream_readable.js:975:12)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickDomainCallback (internal/process/next_tick.js:128:9)
error Command failed with exit code 1.

Blob is a browser DOM object and it's not available in Node.js. Maybe you want a Buffer instead?

@feross Then you should remove example in README.md which use fs and remove tag node in this repository please. I spend my time because of that.

Fair point.


[UI] Cluster Templates - s3 not picked when "etcd Snapshot Backup Target" is not a question

Version: master-head (7/25/19)
What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

Create a cluster template like the following:

Note, the important part is that I have chosen "s3" but that I have "etcd Snapshot Backup Target" NOT set as a question.
Try to create a cluster with the template.

Result:
"s3" doesn't appear to be picked when we try to create a cluster with the template:

If I had to guess, the UI for some reason is not seeing our s3BackupConfig in the clusterconfig we sent when we created the cluster template

I'm not sure why or exactly what is going wrong. There are no JS errors/warnings.
Other details that may be helpful:
If you clone the CTR and make "etcd Snapshot Backup Target" a question, then use it to make a cluster, "local" is picked first even though CTR defines "s3". This may be the issue. UI is not checking clusterconfig to make determination if "local" or "s3" should be picked.
Possibly related, other areas also look somewhat like this visually in the UI:

Closing in favor of #21724 but note that I do NOT have a question set for etcd Snapshot Backup Target. Still, seems like it's the same root issue. I will add a comment to #21724


Pass /bigobj for SBReproducer.cpp with MSVC

/BIGOBJ is used to bypass certain COFF file format
limitations and is used with, unsurprisingly, very big
object files.  This file has grown large enough that it
needs this flag in order to compile successfully.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@355559 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit e6aef474e2c0ce41e29d91555be81270d7f4804a)

CC: @adrian-prantl @dcci

@swift-ci please smoke test and merge

@swift-ci please test and merge


Implement shaping using Rustybuzz 0.3.0

Proof of concept. Seems to work identically to the "simple shaper" on my Arabic sample — Rustybuzz doesn't support that language yet?

These are screenshots from the KAS layout example, respetively with no shaping, HarfBuzz shaping, and Rustybuzz shaping:

Arabic text is from this sample.
It appears that Rustybuzz is not doing any shaping here. @RazrFalcon you claim rustybuzz has 98% compliance with the Harfbuzz test suite, hence I assume Arabic shaping is included? Any idea why it isn't being used here?
The Rustybuzz driver code is close to a copy+paste of the Harfbuzz code, and is being used.
No "features" are enabled for either HarfBuzz or Rustybuzz; I think they aren't needed? Harfbuzz enables several by default.

Rustybuzz passed Harfbuzz's test suite which has like 1500 tests, so I'm pretty sure It's identical.
I need a minimal reproduceable example. Can you run your text + font through hb-shape and cargo run --example shape utils? Like this: hb-shape /usr/share/fonts/corefonts/arial.ttf 'text'

This is just the first word. And yes, it appears that font-kit happens to be selecting the font supplied with Blender.
$ cargo run --example shape /usr/share/fonts/blender/droidsans.ttf عندما
    Finished dev [unoptimized + debuginfo] target(s) in 0.01s
     Running `/home/dhardy/.cache/cargo/debug/examples/shape /usr/share/fonts/blender/droidsans.ttf 'عندما'`
uniFE8D=4+530|uniFEE1=3+1360|uniFEA9=2+1001|uniFEE5=1+1376|uniFEC9=0+1106
$ hb-shape /usr/share/fonts/blender/droidsans.ttf عندما
[uniFE8E=4+616|uniFEE3=3+1237|uniFEAA=2+1124|uniFEE8=1+698|uniFECB=0+1079]
$

Can you also include this exact font? I will take a look.

blender-droidsans.ttf.gz

Sorry, you might need to rename that to _.tar.gz.

I've finally found time to investigate this and looks like you've hit the unsupported 2%.
More specifically, you hit the Arabic fallback shaping feature, which is not implemented and probably would never will be, because it basically requires creating/synthesizing a temporary Arabic font in memory.
Sadly, I'm not sure why harfbuzz does this, but I presume this is because the particular font doesn't have Arabic shaping data. So you simply should another one.
HarfBuzz has a single test case for this feature, so I'm not sure how common it is.
In general, rustybuzz does support Arabic shaping, as long as you are using the correct font. Like Amiri.

Interesting answer. Thanks for investigating.


molecule init role fails to create standalone role

Issue Type

Bug report

Molecule and Ansible details
ansible --version && molecule --version
ansible [core 2.13.2]
  config file = None
  configured module search path = ['/home/vagrant/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/vagrant/venv/lib/python3.9/site-packages/ansible
  ansible collection location = /home/vagrant/.ansible/collections:/usr/share/ansible/collections
  executable location = /home/vagrant/venv/bin/ansible
  python version = 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]
  jinja version = 3.1.2
  libyaml = True
molecule 4.0.1 using python 3.9
    ansible:2.13.2
    delegated:4.0.1 from molecule
    docker:2.0.0 from molecule_docker requiring collections: community.docker>=3.0.0-a2

Molecule installation method:

pip

Ansible installation method:

pip

Detail any linters or test runners used:
Desired Behavior
molecule init role role_A should create role when ansible-galaxy init role_A
Actual Behaviour
ansible-galaxy init a-b-c
- Role a-b-c was created successfully
ansible-galaxy init a_b_c
- Role a_b_c was created successfully
molecule init role a_b_c
CRITICAL Outside collections you must mention role namespace like: molecule init role 'acme.myrole'. Be sure you use only lowercase characters and underlines. See https://galaxy.ansible.com/docs/contributing/creating_role.html
molecule init role a-b-c
CRITICAL Outside collections you must mention role namespace like: molecule init role 'acme.myrole'. Be sure you use only lowercase characters and underlines. See https://galaxy.ansible.com/docs/contributing/creating_role.html

Molecule debug's option doesn't help
molecule --debug init role a_b_c
CRITICAL Outside collections you must mention role namespace like: molecule init role 'acme.myrole'. Be sure you use only lowercase characters and underlines. See https://galaxy.ansible.com/docs/contributing/creating_role.html
molecule --debug init role a-b-c
CRITICAL Outside collections you must mention role namespace like: molecule init role 'acme.myrole'. Be sure you use only lowercase characters and underlines. See https://galaxy.ansible.com/docs/contributing/creating_role.html

@deogracia
It is by design.
role name
The underscore, '_', in role name is mentioned in creating_role role-names as below.

Role names are limited to lowercase word characters (i.e., a-z, 0-9) and ‘’. No special characters are allowed, including ‘.’, ‘-‘, and space. During import, any ‘.’ and ‘-‘ characters contained in the repository name or role_name will be replaced with ‘’.

namespace
Generally, a namespace is required to init a role by molecule. Like acme in acme.myrole.
You can change acme to your Github username or an allowed name following namespace-limitations

The first time you log into Galaxy using your GitHub credentials a namespace is created for your GitHub username automatically. For name limiations view Namespace Limitations. To request additional namespaces view Requesting Additional Namespaces.

If it can address your issue, could you close it?

Thanks for pointing me out this parts, @zhan9san
First, my role won't be on ansible Galaxy. I don't think the namespace parts is really important.
What I really don't understand is if molecule use ansible-galaxy to create role, why, given the same input molecule fails. On Creating Role, there's no mention that namespace is mandatory. But in molecule it is..
And for me, who only produce standalone role (at least for now) , it's annoying to generate new role with ansible-galaxy + using manual steps to do the same job as molecule init role.
Am I completely off tracks ansible/molecule normal way?

It makes sense.
I'll create a PR to fix it.
I believe this is not a block for you, and you know how to work around it.

Thanks @zhan9san !I'm sorry I didn't answer before.
I use now FQCN first.

It also fails if you have more than one namespace prefixes, mine is nats.default.my_new_role   This should work as far as I can tell.


Store: store responses should always be sorted

[ ] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes

always resort store responses
compare labelsets without dropping replica labels in proxy heap

Verification
Not verified yet

Tested this out in our test environment:
After deployment number of 422s and 503s disappear completely

And we no longer see any of the Error executing query: vector cannot contain metrics with the same labelset issues seen in !6677

Thanks for your effort on this PR @MichaHoffmann I'm running this in our testing environment as well and the labelset error I reported in #6677 is resolved

Thanks for working on this but I think that this is a wrong approach to take because it just papers over the problem namely that StoreAPIs don't uphold the invariant of sending a sorted response set. I think that for long term project's health we should focus our efforts toward fixing that.
I think this is related: https://github.com/prometheus/prometheus/issues/12605. This is because we actually implement a very similar logic regards external labels.
Essentially, I think that external labels functionality breaks thuisinvariant when the internal TSDB has overlapping labels with different values. Everywhere we use this logic:

Select() or, in other words, get a sorted series set
Overwrite labels with the external labels

But if the 1st operation has a mix of time series with and without labels that are part of external labels, problems might ensue. Because time series with less labels come before those with more labels, it means that the end result might be unsorted if the first series in the result do not have external labels in the TSDB and the latter ones do.
I'm a bit busy but I could try writing a test for this case in all components to show what I'm talking about. I'll try to do that over the next few working days.

Just to state: I didnt intend this as the solution to the problem; more as a short term ad-hoc fix so we can uphold the invariant and solve the problem properly in subsequent PRs.

It's all good, no worries. I was thinking about this and perhaps this problem could be temporarily fixed by forcing resorting if there's an intersection between the external labelset and the label names filter? This would allow us to check if such a possibility is even possible before starting to read the series.

It's all good, no worries. I was thinking about this and perhaps this problem could be temporarily fixed by forcing resorting if there's an intersection between the external labelset and the label names filter? This would allow us to check if such a possibility is even possible before starting to read the series.

If we get respSet A and B we would need to check if labelnames of store B intersect extlabels of A; in which case we would need to resort i think. But that seems way more complicated then forcing sort on store APIs for first iteration

Could we commit to merging this as a hotfix and work on improvements or a "proper fix" in follow ups? This dedup issue is plaguing Thanos releases since 6 months, blocking many people out there from upgrading to take advantage of new features because of uncertainty to whether there will be issues or not with queries.
@MichaHoffmann is putting a lot of hard effort and time into this working on fixes, automated tests, testing things in general, etc. I'm sure he has many plans or ideas to improve this further down the line. Others could and are very welcome to help too.
But let's get this working first, shall we? We gotta move forward and, most importantly, move over this bug.

We've moved this discussion a bit into #prometheus-dev. It seems like in most cases it is not safe to extend a sorted series set with external labels because it might lead an unsorted series set. Maybe someone will have some ideas there. In general it looks like external labels is a broken functionality. Anyway... if nothing comes up, we will probably be forced to revert back buffering and resorting in the querier :'/

Isn't it better to resort in the store instead of centralizing a compute intensive operation in a single component?

Isn't it better to resort in the store instead of centralizing a compute intensive operation in a single component?

The worry is that sidecar gets expensive i think. We could introduce a slight expansion of the protocol where we generally assume that store responses are sorted except if we get a hint that its not ( and sidecar would send that hint maybe )

It would be great if we can leave this out to the user to decide. Our performance will drop significantly if we had to sort in the querier again.

It would be great if we can leave this out to the user to decide. Our performance will drop significantly if we had to sort in the querier again.

I added a sortingStrategy thats currently hard coded in the different stores. I would like to move making it configurable ( to opt-out or to sort in the querier if wanted ) into a followup PR though since strictly speaking its an optimziation and this is already getting kinda big

Adding test on Prometheus side to show the issue: https://github.com/prometheus/prometheus/pull/12822.

@GiedriusS is this PR acceptable?


Potential bug in task202_mnli_contradiction_classification.json

Task description mentions Indicate your answer as '1', '2', or '3' corresponding to the choice number of the selected sentence.
although all the instance labels are either 1 or 3 (no 2's).
@aarunku5 I think you have contributed this task. Could you take a look, please?

Similarly, in task200_mnli_entailment_classification.json

One possible solution will be to drop the label "2" from the instructions.
But even after that, the resulting task will be skewed. The number of instances with label "3" is 5 times those of instances with label  "1".

I will fix this.

@danyaljj I think we can close this.


Battery Status not Updating

For me the batterie Status does not Update, it only switches between "Unknown" and "Error".  The other Values are gathered properly so the plugin shows the right value for that.

If I try to read the data manually with the tool "modbus-cli" I get the correct value:
~/modbus-cli/bin $ python3 modbus <IP_ADDRESS>:502 1065
Parsed 0 registers definitions from 1 files
1065: 4 0x4
My config is as follows:
module: 'MMM-VartaESS',
position: "bottom_right",
config: {
ip: "<IP_ADDRESS>", // Entering the IP of the power converter is mandatory
header: "Hausbatterie",
clientId: 42,
uodateInterval: 60000
}
I already experimented with different update interval and clientId, as you can see.
Any idea how to fix that?
(atm I'm connecting to the batterie through a VPN, so maybe the timeout for connection kicks in? But all the other values work...)

Now that you mentioned it, I see the same behaviour on my mirror. I wasn't really paying attention to the status. (It was working earlier though)
I will look into it as soon as I find time. Please bring a little patience :)

Ok, that was a quick fix 😅
I just browsed the code and saw what the problem was. This should be fixed now.
Please feel free to re-open if you still experience the error aber updateing

Hi,
very nice, I can confirm that it also works for me.
Thanks!
And for sure, thanks for that hint to my typo in the config :D


cannot compile due to incorrect version of android cordova plugin

using the command 'cca build' fails at compiling compileArmv7DebugJava, because we are missing two functions inCordovaPlugin.java to override:

shouldAllowNavigation
shouldAllowRequest

after returning just null instead of calling the supers it compiles fine
cca version: v0.5.1
osx: 10.10.2 Yosemite

Thanks for bringing this to our attention! I've made the fix that you suggested. 0638d3370c29d47ac5396c36067b2307a97dd9d2


Add pre commit hooks/ or github actions for linter checks

https://github.com/AaruBama/memestr/pull/45


No easy data migration path when changing minio (ex: to resize minio, or to switch to an S3 store) or db store

Presently, there is no simple way to take the data from the minio repo or db backing kfp and migrate them to a new implementation.  This could be done manually (connect with the minio store or db directly and export the data) but there is nothing automated or very obvious for the user to do.

Even though it would be great if we had these steps automated, I would consider that an enhancement. What I consider a bug is us not having any clear documentation of how to do manual migration currently. Therefore I think the first step should be to document the manual steps, as that will get users unblocked and will document the steps for when we have time to automate it.


Fix word_language_model script for multi-gpu

Description
The loss logged didn't consider the number of contexts used for training, yielding extremely large ppl.
Checklist
Essentials

[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage
[ ] Code is well-documented

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

Job PR-150/1 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-150/1/index.html


--enable-languges=all

Probably not sufficient to fully support all gcc languages.  Or maybe I'm wrong?  Is there an easy way you can test this?

Hi Jesse; thanks for the patch! Unfortunately the majority of compilers aren't built by this script, I'm ashamed to say. I'll need to also set up more amazon instances, DNS entries and whatnot. I'm happy to do so: what languages were you thinking of?

If held at gunpoint I'd say Java, but that's just because I already know
it.  Honestly, the only reason I filed this is in the first place
because I thought it might be quick to set up, but apparently not!

I see. D, Rust and Go are already supported (https://d.godbolt.org/
https://rust.godbolt.org/ and https://go.godbolt.org respectively).
Java doesn't compile into object code directly, so there's nothing really
to show, but there's a similar project for Java at
http://javabytes.herokuapp.com/
Also see https://github.com/mattgodbolt/gcc-explorer/issues/12 which tracks
a number of similar requests.
Cheers, Matt :)
On Sun, Jan 31, 2016 at 10:09 PM Jesse Talavera-Greenberg <
<EMAIL_ADDRESS>wrote:

If held at gunpoint I'd say Java, but that's just because I already know
it. Honestly, the only reason I filed this is in the first place
because I thought it might be quick to set up, but apparently not!
—
Reply to this email directly or view it on GitHub
https://github.com/mattgodbolt/gcc-explorer-image/pull/2#issuecomment-177753774
.

Wait, I thought Java could be compiled into native code through gcj?

You're absolutely right; I had no idea gcj was an ahead-of-time compiler!
Thanks!
On Mon, Feb 1, 2016 at 4:59 PM, Jesse Talavera-Greenberg <
<EMAIL_ADDRESS>wrote:

Wait, I thought Java could be compiled into native code through gcj?
—
Reply to this email directly or view it on GitHub
https://github.com/mattgodbolt/gcc-explorer-image/pull/2#issuecomment-178242906
.

Closing: it would take more than rebuilding all the compilers here to get the other languages in. Sorry this was left open so long.


Set composer's minimum-stability to "stable"

What for? :-)

My composer package depends on yours and that means that people who wants to install my/your package needs to set minimum-stability to dev.
Anyway it seems it is working wuite well, isn't it? :D

behavior package now has a stable release, so you can use it in stable packages :-)


Icons not showing up

Hi @hgpt185, Thanks for filing the issue. Please provide the output of flutter doctor -v, This helps to better investigate the issue.
Thank you.

Just a guess but did you define ```flutter:
The following line ensures that the Material Icons font is
included with your application, so that you can use the icons in
the material Icons class.
uses-material-design: true```` in your pubspec.yaml?


Columns that are extra in db cannot be excluded

It seems that columns that are extra in db are not excluded via the IgnoreTheseErrors method
e.g.
EXTRA IN DATABASE: Table 'dbo.TheTable', column name. Found = Blah

Again, I need your EF Core DbContext and entity classes, your SQL Server database structure and the failing EFCore.SchemaCompare output for me to look at this.

I had the same problem as @pm7y because all ignore commands worked and removed the log messages except the one mentioned.
I observed that all log messages i got were "build" the same way (perspective by the user of library) except:
EXTRA IN DATABASE: Table '<yourTable>', column name. Found = <yourColumnName>.
It's not like all my other ignore commands where i could directly find the CompareType (with the others ... CompareState, CompareAttributes) value as string inside the log line.
Because of this I originally thought the following is correct:
config.AddIgnoreCompareLog(new CompareLog(CompareType.Table, CompareState.ExtraInDatabase, null, CompareAttributes.ColumnName));
Instead it has to look like this (worked for me):
config.AddIgnoreCompareLog(new CompareLog(CompareType.Column, CompareState.ExtraInDatabase, null, CompareAttributes.ColumnName));
After finding this Issue and realizing my (in hindsight obvious) mistake i think the log message should be changed to be more inline with others (or the first ignore command with CompareType.Table valid).
Thanks for your time and effort creating and maintaining this library!

I'm looking some things in EfCore.SchemaCompare and saw this issue. You might find the TablesToIgnoreCommaDelimited property useful.
See the Other configuration options section for more information on this configuration feature.

Hi,
I have just released version 8.1.0 of my EfCore.SchemaCompare library which fixes this issue. The main change in this version is that it handles the checking of Json Mapping.


refactor: non-brush lightweight styling for Textbox

GitHub Issue: https://github.com/unoplatform/Uno.Themes/issues/1067
PR Type
What kind of change does this PR introduce?

Refactoring (no functional changes, no api changes)

Description

non-brush lightweight styling for Textbox
PR Checklist
Please check if your PR fulfills the following requirements:

Commits must be following the Conventional Commits specification
[ ] Tested UWP
[ ] Tested iOS
[ ] Tested Android
[ ] Tested WASM
[ ] Tested MacOS
[x] Contains No breaking changes

If the pull request contains breaking changes, commit message must contain a detailed description of the action to take for the consumer of this library. As explained by the Conventional Commits specification

@mergifyio backport legacy/2x


Split plugins, 0.2.0

References

fixes #6
updates many things from #5

upstream servers still don't distribute LICENSE files

Changes

[x] splits out the codemirror modes from the extractors
[x] updates binder
[x] add CI

[x] moves package to py_src for testability

[x] bump coverage up to 100

[x] add tests for actual servers

[x] add CLI via console_scripts
[x] update upstreams

[x] linters
[x] typescript
[x] lsp
[x] builder for licenses

[x] adds README, THIRD-PARTY-LICENSES, etc.
[x] update copyright year, owner

Actually, in this case, it's not particularly worth it to register a whole spec loader.


Update docs for creating an android native view

Doc changes only.  Updating example code to reflect the new requirements discussed in this issue.
In short, in the JS code that registers your new native view, you need to explicitly include the propTypes that come default for views or else you get an error.

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

By analyzing the blame information on this pull request, we identified @kmagiera and @mkonicek to be potential reviewers.

Sounds reasonable, thanks! I search the codebase for View.propTypes and the convention is to add that as the first in the list but no big deal.
@facebook-github-bot shipit

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

Thanks for importing. If you are an FB employee go to Phabricator to review.


Rationalize krmignore with the filtering resources in pipeline run

We are filtering out resources during pipeline execution for ex. Kptfile, function configs etc. We need to investigate and support krmignore use-cases as well. Creating this for us to investigate first what needs to be done and then implement it.

Pipeline appears to already be ignoring files specified in .krmignore, because the function localResources uses kyaml's LocalPackageReader, which uses ignoresFileMatcher which filters out files specified in .krmignore.
I am making a PR for an e2e test that uses a .krmignore file to cover this case


Fix to issue of errors when multiple entities were being consolidated using the same staging CDM folders

When consolidating many entities, the data flow writes to the staging folder. This may lead to one process acquiring a lock on the staging manifest and thus the other entities fail. This pull request makes separate staging CDM folders for each entity to avoid this concurrency issue.

 Kindly refer to this pull request instead.


Replace the unmaintained lodash.get with get-value

This replaces #174, using get-value rather than the full lodash.

hmm, looks like get-value does not support node 4. Is this version of Node still relevant ?

some of the larger libraries using cosmiconfig support node v4 which is why davidtheclark didn't want to update.

Thanks @stof. I'm going to create a new PR to include our own get-like function (see https://github.com/davidtheclark/cosmiconfig/pull/174#issuecomment-468945111).


new(libsinsp): extract pod_uid from cgroups

What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area libsinsp
Does this PR require a change in the driver versions?
No
What this PR does / why we need it:
This PR allows us to extract the pod_uid directly from the cgroups paths obtained from our drivers (kmod/bpf).
Which issue(s) this PR fixes:
This is necessary to unblock https://github.com/falcosecurity/libs/issues/987
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97]

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

We will evaluate other possible solutions

this is now integrated into the new plugin, we can close this


!!!! dawn-v3.0.0 Build failed on macOS

[ 92%] Built target test_cypher_suites
[ 92%] Built target test_exchange
[ 92%] Built target http_plugin
[ 92%] Linking CXX executable eosio-applesedemo
ld: framework not found security
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [programs/eosio-applesedemo/eosio-applesedemo] Error 1
make[1]: *** [programs/eosio-applesedemo/CMakeFiles/eosio-applesedemo.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 94%] Built target eosio_chain
make: *** [all] Error 2
>>>>>>>>>>>>>>>>>>>> MAKE building EOSIO has exited with the above error.

macdeMacBook-Pro:bin mac$ ./clang++ -v
Apple LLVM version 9.1.0 (clang-9<IP_ADDRESS>)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Can you go in to your eos/build directory and
make VERBOSE=1
and either attach the log or copy/paste the part toward the end where it fails

@spoonincode
[ 97%] Linking CXX executable eosio-applesedemo
cd /Users/mac/EOS/eos3.0/eos-v3/eos/build/programs/eosio-applesedemo && /usr/local/Cellar/cmake/3.11.0/bin/cmake -E cmake_link_script CMakeFiles/eosio-applesedemo.dir/link.txt --verbose=1
/usr/bin/clang++   -Wall -Wno-deprecated-declarations -O3 -DNDEBUG -Wl,-search_paths_first -Wl,-headerpad_max_install_names -framework security -framework corefoundation CMakeFiles/eosio-applesedemo.dir/main.cpp.o CMakeFiles/eosio-applesedemo.dir/r1_signature_compactor.cpp.o  -o eosio-applesedemo ../../libraries/fc/libfc.a -L/usr/local/lib /usr/local/lib/libboost_thread-mt.a /usr/local/lib/libboost_date_time-mt.a /usr/local/lib/libboost_filesystem-mt.a /usr/local/lib/libboost_system-mt.a /usr/local/lib/libboost_program_options-mt.a /usr/local/lib/libboost_signals-mt.a /usr/local/lib/libboost_serialization-mt.a /usr/local/lib/libboost_chrono-mt.a /usr/local/lib/libboost_unit_test_framework-mt.a /usr/local/lib/libboost_context-mt.a /usr/local/lib/libboost_locale-mt.a /usr/local/lib/libboost_iostreams-mt.a /usr/lib/libpthread.dylib /usr/local/opt/openssl/lib/libssl.a /usr/local/opt/openssl/lib/libcrypto.a /usr/lib/libz.dylib /usr/lib/libbz2.dylib /usr/local/lib/libsecp256k1.a /usr/local/lib/libgmp.a
ld: framework not found security
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [programs/eosio-applesedemo/eosio-applesedemo] Error 1
make[1]: *** [programs/eosio-applesedemo/CMakeFiles/eosio-applesedemo.dir/all] Error 2
make: *** [all] Error 2

Did you use eosio_build.sh to build? Or some other mechanism? Is this a recently cloned repo or something somewhat old?
For some reason you're building with /usr/bin/clang++ which is the clang included with Xcode. But you should be building with /usr/local/bin/clang++ which is the clang installed as part of homebrew.

For a better help, I think you can compile the source code with the following command:
./eosio_build.sh applewebdata://6FAAE2B5-2818-43FD-BFC5-18B9CCD8B3E0/eosio_build.sh >compile.log 2>&1
And then attach the result in compile.log to the github issue.

On Apr 14, 2018, at 11:21 AM, Dayo<EMAIL_ADDRESS>wrote:
@spoonincode https://github.com/spoonincode
Did you use eosio_build.sh to build?
yes, use ./eosio_build.sh to build, failed:
ld: framework not found security
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [programs/eosio-applesedemo/eosio-applesedemo] Error 1
make[1]: *** [programs/eosio-applesedemo/CMakeFiles/eosio-applesedemo.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 94%] Built target eosio_chain
make: *** [all] Error 2
Is this a recently cloned repo or something somewhat old?
cloned at 4.12.
For some reason you're building with /usr/bin/clang++ which is the clang included with Xcode. But you should be building with /usr/local/bin/clang++ which is the clang installed as part of homebrew.
Maybe, it's a solution, how to set build with /usr/local/bin/clang++?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/EOSIO/eos/issues/2347#issuecomment-381299712, or mute the thread https://github.com/notifications/unsubscribe-auth/Ad6ZPuvJ8Rb7zQAhZVspsmGlq8GloaV-ks5toWs4gaJpZM4TRocF.

@learnforpractice
Beginning build version: 1.2
Sat Apr 14 03:28:11 UTC 2018
git head id: 96ee0325cc925ff3e90f865ebc72b01341196e08
Current branch: * (HEAD detached at dawn-v3.0.0)

ARCHITECTURE: Darwin

OS name: Darwin
OS Version: 10.13.4
CPU speed: 240.00Ghz
CPU cores: 4
Physical Memory: 16 Gbytes
Disk space total: 233G
Disk space available: 189G

Checking XCode installation
XCode installation found.

Checking Ruby installation
Ruby installation found.

Checking Home Brew installation
Home Brew installation found.

Checking dependencies.
Checking automake ... 		 automake found
Checking Libtool ... 		 Libtool found
Checking OpenSSL ... 		 OpenSSL found
Checking llvm ... 		 llvm found
Checking wget ... 		 wget found
Checking CMake ... 		 CMake found
Checking Boost ... 		 Boost found
Checking GMP ... 		 GMP found
Checking gettext ... 		 gettext found
Checking MongoDB ... 		 MongoDB found
Checking Doxygen ... 		 Doxygen found
Checking Graphviz ... 		 Graphviz found
Checking Python3 ... 		 Python3 found

No required Home Brew dependencies to install.

Checking MongoDB C++ driver installation.
Mongo C++ driver found at /usr/local/lib/libmongocxx-static.a.

Checking secp256k1-zkp installation.
secp256k1 found at /usr/local/lib/

Checking LLVM with WASM support.
WASM found at /usr/local/wasm/bin/

ALL dependencies sucessfully found or installed . Installing EOS.IO

-- Using custom FindBoost.cmake
-- Boost version: 1.66.0
-- Found the following Boost libraries:
--   thread
--   date_time
--   filesystem
--   system
--   program_options
--   signals
--   serialization
--   chrono
--   unit_test_framework
--   context
--   locale
--   iostreams
-- Configuring Eos on OS X
-- binaryen building with -std=c++11
-- binaryen building for platform x86-64
-- binaryen building with -Wall
-- binaryen building with -Werror
-- binaryen building with -Wextra
-- binaryen building with -Wno-unused-parameter
-- binaryen building with -fno-omit-frame-pointer
-- binaryen building with -fPIC
-- binaryen building with -O2
-- binaryen building with -UNDEBUG
-- Using WASM clang => /usr/local/wasm/bin/clang
-- Using WASM llc => /usr/local/wasm/bin/llc
-- Using WASM llvm-link => /usr/local/wasm/bin/llvm-link
-- Found Secp256k1: /usr/local/lib/libsecp256k1.a
-- Configuring fc to build on Unix/Apple
-- zlib found
-- bzip2 found
-- Configuring SoftFloat
-- Using custom FindBoost.cmake
-- Boost version: 1.66.0
-- Found the following Boost libraries:
--   thread
--   date_time
--   filesystem
--   system
--   chrono
--   unit_test_framework
--   locale
-- Configuring ChainBase on OS X
-- Using custom FindBoost.cmake
-- Boost version: 1.66.0
-- Found the following Boost libraries:
--   thread
--   date_time
--   filesystem
--   system
--   chrono
--   program_options
--   unit_test_framework
--   locale
-- Configuring AppBase on OS X
-- Found bsoncxx headers: /usr/local/include/bsoncxx/v_noabi
-- Found bsoncxx library: /usr/local/lib/libbsoncxx-static.a;/usr/local/lib/libbson-static-1.0.a;-D_THREAD_SAFE
-- Found mongocxx headers: /usr/local/include/mongocxx/v_noabi;/usr/local/include/bsoncxx/v_noabi
-- Found mongocxx library: /usr/local/lib/libmongocxx-static.a;/usr/local/lib/libbsoncxx-static.a;/usr/local/lib/libbson-static-1.0.a;-D_THREAD_SAFE;/usr/local/lib/libmongoc-static-1.0.a;/usr/local/lib/libbson-static-1.0.a;-D_THREAD_SAFE;-lsasl2;-framework Security;-framework CoreFoundation;-lz;-lresolv
-- Git commit revision: d9ad8eec
-- Git commit revision: d9ad8eec
-- Git commit revision: d9ad8eec
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/mac/EOS/eos3.0/eos-v3/eos/build
[  0%] Built target asmjs
[  1%] Built target ast
[  1%] Built target binaryen
[  1%] Built target wasm
[  1%] Built target cfg
[  1%] Built target emscripten-optimizer
[  2%] Built target support
[  5%] Built target passes
[  5%] Built target Platform
[ 29%] Built target softfloat
[ 29%] Built target chainbase
[ 31%] Built target libc++
[ 31%] Built target eosiolib
[ 31%] Built target appbase
[ 31%] contract...
[ 31%] Built target copy_skeleton_contract
[ 73%] Built target libc
[ 73%] Built target print_floats
[ 73%] Built target eosio-s2wasm
[ 74%] Built target Logging
[ 75%] Built target eosio.bios
[ 76%] Built target simple.token
[ 76%] Built target chainbase_test
[ 77%] Built target eosio.token
[ 77%] Built target appbase_example
[ 77%] Built target eosio.msig
[ 79%] Built target multi_index_test
[ 79%] Built target eosio.system
[ 79%] Built target identity
[ 79%] Built target currency
[ 80%] Built target identity_test
[ 80%] Built target stltest
[ 80%] Built target test.inline
[ 80%] Built target asserter
[ 80%] Built target infinite
[ 81%] Built target test_api
[ 81%] Built target proxy
[ 81%] Built target test_api_mem
[ 81%] Built target test_api_db
[ 82%] Built target test_api_multi_index
[ 83%] Built target noop
[ 84%] Built target dice
[ 84%] Built target IR
Scanning dependencies of target exchange
[ 84%] Building LLVM bitcode exchange.cpp.bc
[ 84%] Built target WASM
[ 84%] Generating exchange.abi.hpp
[ 85%] Built target Runtime
[ 86%] Built target WAST
[ 86%] Built target Emscripten
[ 86%] Built target Assemble
Scanning dependencies of target Disassemble
Scanning dependencies of target Test
[ 86%] Building CXX object libraries/wasm-jit/Source/Programs/CMakeFiles/Disassemble.dir/Disassemble.cpp.o
[ 86%] Building CXX object libraries/wasm-jit/Source/Programs/CMakeFiles/Test.dir/Test.cpp.o
[ 91%] Built target fc
[ 91%] Built target test_cypher_suites
Scanning dependencies of target wavm
[ 91%] Building CXX object libraries/wasm-jit/Source/Programs/CMakeFiles/wavm.dir/wavm.cpp.o
[ 91%] Linking CXX executable Disassemble
[ 91%] Built target Disassemble
Scanning dependencies of target eos_utilities
[ 91%] Linking CXX executable Test
[ 91%] Building CXX object libraries/utilities/CMakeFiles/eos_utilities.dir/key_conversion.cpp.o
/Users/mac/EOS/eos3.0/eos-v3/eos/contracts/exchange/exchange.cpp:115:34: warning: unused parameter 'fee' [-Wunused-parameter]
uint32_t        fee,
^
[ 91%] Built target Test
[ 92%] Linking CXX executable wavm
Scanning dependencies of target test_exchange
[ 92%] Building CXX object contracts/exchange/CMakeFiles/test_exchange.dir/test_exchange.cpp.o
[ 92%] Built target wavm
[ 92%] Building CXX object plugins/http_plugin/CMakeFiles/http_plugin.dir/http_plugin.cpp.o
1 warning generated.
[ 92%] Linking LLVM bitcode executable exchange.bc
[ 92%] Generating textual assembly exchange.s
/Users/mac/EOS/eos3.0/eos-v3/eos/contracts/exchange/test_exchange.cpp:347:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
/Users/mac/EOS/eos3.0/eos-v3/eos/contracts/exchange/test_exchange.cpp:361:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/Users/mac/EOS/eos3.0/eos-v3/eos/contracts/exchange/test_exchange.cpp:368:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/Users/mac/EOS/eos3.0/eos-v3/eos/contracts/exchange/test_exchange.cpp:376:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
[ 92%] Building CXX object libraries/utilities/CMakeFiles/eos_utilities.dir/string_escape.cpp.o
[ 92%] Generating WAST exchange.wast
[ 92%] Generating exchange.wast.hpp
[ 92%] Built target exchange
[ 92%] Building CXX object libraries/utilities/CMakeFiles/eos_utilities.dir/tempdir.cpp.o
[ 92%] Linking CXX executable eosio-applesedemo
ld: framework not found security
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [programs/eosio-applesedemo/eosio-applesedemo] Error 1
make[1]: *** [programs/eosio-applesedemo/CMakeFiles/eosio-applesedemo.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 92%] Building CXX object libraries/utilities/CMakeFiles/eos_utilities.dir/words.cpp.o
4 warnings generated.
[ 92%] Linking CXX executable test_exchange
[ 92%] Built target test_exchange
[ 92%] Linking CXX static library libeos_utilities.a
[ 92%] Built target eos_utilities
/Users/mac/EOS/eos3.0/eos-v3/eos/plugins/http_plugin/http_plugin.cpp:182:66: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
handler_itr->second(resource, body, [con,this](int code, string body) {
^
1 warning generated.
[ 92%] Linking CXX static library libhttp_plugin.a
[ 92%] Built target http_plugin
make: *** [all] Error 2
>>>>>>>>>>>>>>>>>>>> MAKE building EOSIO has exited with the above error.

Yeah, sounds like you are missing security framework which need by programs/eosio-applesedemo/CMakeLists.txt
For a quick fix, just comment out the following line in programs/CMakeLists.txt, as you probably would’t  play with eosio-applesedemo.
add_subdirectory( eosio-applesedemo )
Or try command
softwareupdate --install —all
to update your OS X?
Also I think the eos team have a better solution.

On Apr 14, 2018, at 11:25 AM, john rok<EMAIL_ADDRESS>wrote:
For a better help, I think you can compile the source code with the following command:
./eosio_build.sh x-msg://16/eosio_build.sh >compile.log 2>&1
And then attach the result in compile.log to the github issue.

On Apr 14, 2018, at 11:21 AM, Dayo<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
@spoonincode https://github.com/spoonincode
Did you use eosio_build.sh to build?
yes, use ./eosio_build.sh to build, failed:
ld: framework not found security
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [programs/eosio-applesedemo/eosio-applesedemo] Error 1
make[1]: *** [programs/eosio-applesedemo/CMakeFiles/eosio-applesedemo.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 94%] Built target eosio_chain
make: *** [all] Error 2
Is this a recently cloned repo or something somewhat old?
cloned at 4.12.
For some reason you're building with /usr/bin/clang++ which is the clang included with Xcode. But you should be building with /usr/local/bin/clang++ which is the clang installed as part of homebrew.
Maybe, it's a solution, how to set build with /usr/local/bin/clang++?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/EOSIO/eos/issues/2347#issuecomment-381299712, or mute the thread https://github.com/notifications/unsubscribe-auth/Ad6ZPuvJ8Rb7zQAhZVspsmGlq8GloaV-ks5toWs4gaJpZM4TRocF.

It's not the first time we've seen this, but it's very rare. Not sure why the build is picking up that clang. Can you post the result of these two commands
echo $PATH
which clang++


how can i sign in to GEE Server Admin console

i entered the website:http://localhost:8080/admin
it appears 404 not found

Which OS and version are you running? You have verified that server has been started and is running?

ubuntu14.04lts,the server is installed completely. How can I confirm that I have started my server service?

postmaster: Not running
gehttpd: Not running

After the server installation was completed, I couldn't find the information to configure the server.

Restart the server (sudo service geserver restart) and see if you can access the admin console.
Which version of gee are you running?

5.3.1
Is the address http://localhost:8080/admin?
Does admin need to be replaced by my hostname?

@hantong263 if you haven't done so already you might try building from the latest stable release instead of master. You would run git checkout release_5.2.4 and then build and install the normal way.

git check out release_5.2.4  before   this step
GIT_LFS_SKIP_SMUDGE=1 git clone git@github.com:google/earthenterprise.git
cd earthenterprise
git lfs pull
and  then run as follow?

If you've already run the git clone and git pull commands all you need to do is cd earthenterprise, then git checkout release_5.2.4, then scons -j8 release=1 build and the rest of the build and install commands.

thank you
so if restall the server successfully,then directly  access http://localhost:8080 ,can I see the console page?

I didn't realize you were accessing http://localhost:8080. Before reinstalling, try http://localhost.

thank you very much,i will try it later.

when i install fusion.h,it appears that
The following assets contain invalid characters:
/gevol/assets/??

@tst-lsavoie  the  http://localhost appears apache2 ubuntu(it works),so the next step?

i find my problem,when i start the server ,it appears that
address is already in use:couldnt bind to address80

@tst-basilhuffman  apache2 Apache 2 takes up  port80

i have solved it,thank you very much

I want to upload local data and load it in fusion and publish it to server. I want to know how to set it up.

When cesium is calling the data published by google earth enterprise server, the following error is displayed.
Failed to retrieve http://<IP_ADDRESS>/HK/dbRoot.v5?output=proto. Using defaults.

Can you try viewing the globe in earth client? You can download it here: https://github.com/google/earthenterprise/wiki/Google-Earth-Enterprise-Client-(EC)

I haven't seen any activity on this ticket in a while so I'm closing it. @hantong263 if you are still having trouble, feel free to reopen this ticket or a new one.


Json encoding

I would like to be able to use json instead of proto for data encoding.
I can see that the .pb.go files annotates the structs for json encoding, so I guess the only addition would be where the marshal/unmarshal is done.

Protobuf and JSON have their pros and cos. If you're going to use JSON, you probably don't need .proto files -- anything else would be too confusing.
Anyways, using JSON is out of scope for nRPC. Feel free to fork (nrpc-json?) and try it out. Would recommend using snappy or something similar to compress the messages.

.proto files are a great way to formalize the API, even with JSON. And doing so provides a natural step to switch to protobuf encoding when all the clients are ready.
And this is exactly my use case: most of my clients (and server) will be able to use the protobuf encoding, but for a few of them it will not be possible in a near future. For those, I want the server to accept json instead of protobuf, and reply accordingly.
Since proto3 provides JSON mappings natively, I think JSON is not that out of scope for nRPC. Especially when gRPC is designed to support multiple format, and nRPC claims to be like gRPC but over NATS.
My idea is to propose json support as an option of the plugin, which I think is better than to fork and maintain 2 projects that are almost the sames.

Here is a preview of what I have in mind: https://github.com/orus-io/nrpc/tree/json-support
In this branch the json is not optional but does not get in the way; a client sending JSON just has to suffix the subject with "-json".
Using snappy is not an option in my case because the client that will need the json encoding will not be able to decode it.

That looks good. Few comments:

Can we use ".json" instead of "-json"? That way we can leave open the possibility of subscribing to "Greeter.*.json" explicitly -- just for the future.
Let's use "protobuf" rather than "proto".
If the topic does not end in ".json", or ".protobuf", assume ".protobuf" by default.
In the generated client code, we can have the encoding as a field in the client, so that we can use:

// caller
c := NewGreeterClient(nc)
c.SetEncoding(nrpc.JSON)
c.SayHello(...)

// helloworld.nrpc.go
type GreeterClient struct {
	nc      *nats.Conn
	Subject string
	Timeout time.Duration
	Encoding string
}

func (c *GreeterClient) SayHello(req HelloRequest) (resp HelloReply, err error) {
	nrpc.Call(..., c.Encoding)
}

The Prometheus metrics will need a ConstLabel for the encoding.

Thanks for the feedback!

I hesitated with .json instead of -json and went for -json because I did not have to change the subscribe subject. But thinking about it, it makes a lot of sense to use .json, and I think you are right.
"protobuf" it is!
Already protobuf by default (seems natural, and improve compatibility).
Good idea, will do that, thanks :-)
Ok

I should work on that this week.

I made a proper PR that includes your feeback, expect for the prometheus ConstLabel.
I am not familiar with prometheus, but it seems that adding a ConstLabel for the encoding imply we have a metric for each encoding. Am I right?

For prometheus, wouldn't a LabelValue be better ?

Feel free to leave out the Prometheus changes, I'll add it in as another commit.
And you're right, we should be adding it like so:
// The counts of requests handled by the server, classified by result type.
serverRequestsFor{{.GetName}} = prometheus.NewCounterVec(
	prometheus.CounterOpts{
		Name: "nrpc_server_requests_count",
		Help: "The count of requests handled by the server.",
		ConstLabels: map[string]string{
			"service": "{{.GetName}}",
		},
	},
	[]string{"method",  "encoding", "result_type"}) // <-- goes here

// in the handler
serverRequestsFor{{$serviceName}}.WithLabelValues("{{.GetName}}",
	encoding, "protobuf_fail").Inc()


Use junit reporter for integration tests

Testing junit reporter in ginkgo and integration with CircleCI.

Woah this is pretty cool

Hehe yeah. I wish Circle had a full report where it showed green tests as well though.