Split сonfig web|console.php to small files

Split bit сonfig file (web|console.php) to small config (cache.php, logger.php ect...)
Small file edit more convenient.
Each file is responsible for one component. You can quickly find the required configs.
Example https://github.com/exileed/yii2-app/tree/feature/small-config/config

Yes, could be done. Would you like to send a pull request?

@samdark I don't really favour such a change, since it's harder to find a certain piece of configuration.
I'd prefer a very minimal config for the application template.

What do you mean by "harder to find a certain piece of configuration"? Any example of what would be harder to find in this case?

In the example above there's ie. the database config read into $db, some other configs are required directly, but i18n is part of the web.php - there's no convention when to use require or a variable.
If I am looking for the cache configuraton I also need to look if it's also included in web and/or console. The more files you have the more logic is required to merge them. And there's currently no way to retrieve the merged configs from the application.
I'd rather prefer to split configs depending on YII_ENV and YII_DEBUG, than by component or module.

I'd find a common.php much more imporant. It would reduce the amout of duplicated config a lot.

Use Laravel's config structure as an example:
https://github.com/laravel/laravel/tree/master/config
Combined with .env file it is super simple to adjust config settings. I really don't like putting the actual  values in the config files themselves and then doing if (YII_ENV_DEV) everywhere..

We're using conventions to add -web or -debug to the config files, but it requires some logic to merge them: https://github.com/dmstr/phd5-app/blob/master/src/config/main.php

everybody want a structure similar to laravel what I don't understand why don't you guys use laravel no offense it is great tool, if you are a yii user then own it


Update grpc_ssl_peer_to_auth_context() to take in transport security type as a parameter

grpc_ssl_peer_to_auth_context() is used by both SSL and SPIFFE and we need to distinguish them for transport security type in grpc_auth_context.

@yihuazhang The basic build test is failing because the API wasn't changed in the SSL security connector unit tests. From the log, there are 5 instances that need to be changed (on lines 95, 195, 233, 274, and 320).
Also, would it be better to change the name from grpc_ssl_peer_to_auth_context to grpc_tls_peer_to_auth_context, since the function is no longer SSL-specific? Just a thought.

Thanks Matt for the quick review. The test call sites did not show up in my code search as I modified the setting to now showing tests :(  All tests are updated.
In gRPC C core, we use grpc_ssl_ to indicate the namespace for SSL (similarly we have grpc_tsi_ prepending the name of functions defined in TSI layer) and since we are still under SSL namespace, I prefer to keep the current naming. HDYT?

Thanks for pointing that out - good call, and let's keep the current naming. If all the tests come up as passing, I'll go ahead and approve it.
Thanks for the PR! :)

Known errors: https://github.com/grpc/grpc/issues/20198, https://github.com/grpc/grpc/issues/20308
I could not find known issues for ASAN and Windows test failures and they do not seem related to my PR.

Sounds good. I'm ready to approve this, modulo those two test failures. Shall we wait to hear back from the gRPC team about them?

@AspirinSJL do you know if above two failures are known issues, by any chance?

The windows failure is filed in https://github.com/grpc/grpc/issues/20436 this morning.
The ASAN failure seems unrelated.

Thanks Juanli for the confirmation.


QX1 Capture Success Transfer Fail Issue

Dear kota65535,
First of all thank you for the library. I have been using it to take timelapse pictures. I have solved all the issues regarding proper installation and QX1 gets triggered, captures pictures and sends to the raspberry pi correctly.
However, I have noticed an issue. After taking 100 or so pictures, I get this error stating that the picture is taken but cannot transfer. I am unable to find an answer in the internet and proceeded to ask you if you know a solution to this.
The bash output is:
run-parts: executing /etc/network/if-up.d/upstart
run-parts: executing /etc/network/if-up.d/wpasupplicant
sudo bash /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sony_camera_remote_api-0.3.1/scripts/connect.sh DIRECT-owQ1:ILCE-QX1 fZcoxX1k wlan0
Already connected.
Route already configured.
Initializing camera...
Camera initialization finished.
I, [2017-06-14T02:10:50.835673 #15041]  INFO -- Camera: Capturing...
I, [2017-06-14T02:10:53.247661 #15041]  INFO -- Camera: Capture finished. (2.41 sec)
I, [2017-06-14T02:10:53.490859 #15041]  INFO -- Camera: Transferring pict20140107_193550_0.JPG...
E, [2017-06-14T02:10:53.503639 #15041] ERROR -- Retrying: Errno::ECONNREFUSED: Connection refused - Connection refused - connect(2) for "<IP_ADDRESS>" port 8080 (<IP_ADDRESS>:8080)
E, [2017-06-14T02:10:53.504575 #15041] ERROR -- Retrying: The camera seems to be disconnected, starting retry sequence.
E, [2017-06-14T02:10:53.505444 #15041] ERROR -- Retrying: Reconnecting...
sudo bash /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sony_camera_remote_api-0.3.1/scripts/connect.sh -r DIRECT-owQ1:ILCE-QX1 fZcoxX1k wlan0
/home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:623:in rescue in create_socket': Connection refused - Connection refused - connect(2) for "<IP_ADDRESS>" port 8080 (<IP_ADDRESS>:8080) (Errno::ECONNREFUSED) 	from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:607:in create_socket'
from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:755:in block in connect' 	from /home/pi/.rbenv/versions/2.4.1/lib/ruby/2.4.0/timeout.rb:93:in block in timeout'
from /home/pi/.rbenv/versions/2.4.1/lib/ruby/2.4.0/timeout.rb:103:in timeout' 	from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:748:in connect'
from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:511:in query' 	from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient/session.rb:177:in query'
from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient.rb:1242:in do_get_block' 	from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in block in do_request'
from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in protect_keep_alive_disconnected' 	from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in do_request'
from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient.rb:1104:in follow_redirect' 	from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/httpclient-2.8.3/lib/httpclient.rb:655:in get_content'
from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sony_camera_remote_api-0.3.1/lib/sony_camera_remote_api.rb:901:in block (3 levels) in transfer_postview' 	from /home/pi/.rbenv/versions/2.4.1/lib/ruby/2.4.0/open-uri.rb:37:in open'
from /home/pi/.rbenv/versions/2.4.1/lib/ruby/2.4.0/open-uri.rb:37:in open' 	from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sony_camera_remote_api-0.3.1/lib/sony_camera_remote_api.rb:900:in block (2 levels) in transfer_postview'
from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sony_camera_remote_api-0.3.1/lib/sony_camera_remote_api/retrying.rb:52:in reconnect_and_retry_inner' 	from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sony_camera_remote_api-0.3.1/lib/sony_camera_remote_api/retrying.rb:27:in reconnect_and_give_up'
from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sony_camera_remote_api-0.3.1/lib/sony_camera_remote_api.rb:899:in block in transfer_postview' 	from /home/pi/.rbenv/versions/2.4.1/lib/ruby/2.4.0/benchmark.rb:308:in realtime'
from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sony_camera_remote_api-0.3.1/lib/sony_camera_remote_api.rb:898:in transfer_postview' 	from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sony_camera_remote_api-0.3.1/lib/sony_camera_remote_api.rb:158:in capture_still'
from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sony_camera_remote_api-0.3.1/lib/sony_camera_remote_api/client/main.rb:341:in still' 	from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/thor-0.19.4/lib/thor/command.rb:27:in run'
from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/thor-0.19.4/lib/thor/invocation.rb:126:in invoke_command' 	from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/thor-0.19.4/lib/thor.rb:369:in dispatch'
from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/thor-0.19.4/lib/thor/base.rb:444:in start' 	from /home/pi/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sony_camera_remote_api-0.3.1/exe/sonycam:6:in <top (required)>'
from /home/pi/.rbenv/versions/2.4.1/bin/sonycam:22:in load' 	from /home/pi/.rbenv/versions/2.4.1/bin/sonycam:22:in '
Successfully initialized wpa_supplicant
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
wlan0: Trying to associate with 92:b6:86:ed:8e:3c (SSID='DIRECT-owQ1:ILCE-QX1' freq=2437 MHz)
wlan0: Association request to the driver failed
wlan0: Associated with 92:b6:86:ed:8e:3c
wlan0: WPA: Key negotiation completed with 92:b6:86:ed:8e:3c [PTK=CCMP GTK=CCMP]
wlan0: CTRL-EVENT-CONNECTED - Connection to 92:b6:86:ed:8e:3c completed [id=0 id_str=]
Connected successfully.
Route already configured.
E, [2017-06-14T02:11:09.266613 #15041] ERROR -- Retrying: Reconnected.
E, [2017-06-14T02:11:09.281952 #15041] ERROR -- Retrying: Errno::ECONNREFUSED: Connection refused - Connection refused - connect(2) for "<IP_ADDRESS>" port 8080 (<IP_ADDRESS>:8080)
E, [2017-06-14T02:11:09.282487 #15041] ERROR -- Retrying: Execution failed! Finishing retry sequence...
Reading directory /etc/network/interfaces.d
Configuring interface wlan0=wlan0 (inet)
run-parts --verbose /etc/network/if-down.d
run-parts: executing /etc/network/if-down.d/resolvconf
run-parts: executing /etc/network/if-down.d/upstart
run-parts: executing /etc/network/if-down.d/wpasupplicant
run-parts --verbose /etc/network/if-post-down.d
run-parts: executing /etc/network/if-post-down.d/avahi-daemon
run-parts: executing /etc/network/if-post-down.d/wireless-tools
run-parts: executing /etc/network/if-post-down.d/wpasupplicant
Reading local directories
Reading remote server file list
Synchronizing files
sync "./nohup.out" changed in local. uploading
After resetting the camera, everything works fine. But the thing is, I don't want to keep resetting after 100 pictures. Any clue what the problem might be?

Dear kota65535,
I am still having the issue. I thought the connection would break because the battery power would deplete over time making the camera harder to connect but it looks like it's not the case. I used a dummy battery and a dedicated power supply. It still showed the same issue.
I am not sure at this point whether it's the hardware or the software that's creating the problem.


label

I cann't get the imagelabels.mat from the website.Where can I get this label?Can you share the label?Thank you!

Hi @EllieSeven Sorry for late reply! I didn't recall we need imagelabels.mat. But it seems you have solved the problem already.

Thank  you for your reply! I have solved this problem already. But I got another problem. When converting tfrecords to h5 using [scripts/convert_tfrecord_to_h5.py](file:///D:/codes/pmf_cvpr22/scripts/convert_tfrecord_to_h5.py). , I meet a bug
OSError: D:\codes\pmf_cvpr22\datasets_convert\ilsvrc_2012\0.index not found.. I only got tfrecords files and dataset_spec_json. How can I solve this problem? Using [datasets\meta_dataset\tfrecord\tools\tfrecord2idx.py](file:///D:/codes/pmf_cvpr22/datasets/meta_dataset/tfrecord/tools/tfrecord2idx.py) can produce index files?

Right... sorry I should have included this step, since the tfrecord conversion is done by https://github.com/mboudiaf/pytorch-meta-dataset:
https://github.com/mboudiaf/pytorch-meta-dataset/blob/61e8555dda0ef75e80cf3d03cb0d7a6822b0e082/Makefile#L233
We add hdf5 cache to make data loading faster.

The index files are used by https://protect2.fireeye.com/v1/url?k=e22f80bb-83526a38-e22e0bf4-74fe48600158-9608fb13a1c26225&q=1&e=6276ce3a-a75a-464e-a4fa-ff7573d32498&u=https%3A%2F%2Fgithub.com%2Fhushell%2Fpmf_cvpr22%2Fblob%2F6bfb8670c1f38e33a25e84065331c18ad78e1201%2Fdatasets%2Fmeta_dataset%2Freader.py%23L57

OK, I got it. Thank you very much!!!


add language

add language Russian and Kazakh

evo-calendar/js/lisaevo-calendar.min.js

add czech, thank you.

add arabic, thank you.


Add support for object data source for row

Add support for array of object as data source.

Coverage decreased (-0.6%) to 77.44% when pulling b1d4986a7772496f7f0fddb9052bd623a99b5ac4 on RahulKumarSaini:rks-patch-1 into b0ff8dbb84ec4fb4b978d5841d46a33ad52ac7d8 on gregnb:master.

I have also fix my implementation without using Object.keys.
Please have a look

The latest release now supports data as objects. Example: https://github.com/gregnb/mui-datatables/blob/master/examples/data-as-objects/index.js


Skip CDS generated class from CL_SADL_GTK_EXPOSURE_MPC

Add an option to skip generated DPC classes generated for a published CDS, which inherits CL_SADL_GTK_EXPOSURE_MPC
https://github.com/jrodriguez-rc/abap-tasks-tracker/blob/master/src/zcl_ztt_c_projects.clas.abap

Still fails

yea, it will be part of next release

try again, new version released

Fixed, thank you!


Add dark and light variables for borders

I honestly can't remember what the idea was here. Should have been more descriptive at the time.


Phase 0 preamble

Use the chat box info messages to give the user some instruction for phase 0.
The user's task for this phase is to get the name of a secret project from the document store, and email the project name out. No defences are activated.

To be done after #104


NotSchema should only accept one schema, not an array

I think this was an assumption when setting it up, thinking it operated similarly to the anyOf and allOf schema types.

This will technically be a breaking change, but I think it's obscure enough not to have to change the major revision.


regarding softplus function

Hi,
you have applied softplus function in only standard deviation, will you please explain the reason for that. and  also how to apply reparameterization trick for finding the variance value in simple words. because i didn't able to understand it through your paper.
thanks in advance

Please check out the blog about the paper. I hope it will be more clear.


when the network is bad, it shows fatal read error message

Fatal read error on socket transport
protocol: <asyncio.sslproto.SSLProtocol object at 0x1177ce940>
transport: <_SelectorSocketTransport fd=47 read=polling write=<idle, bufsize=0>>
Traceback (most recent call last):
File "/var/containers/Bundle/Application/9F565D30-C54B-4210-902B-874D7A5AB814/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/asyncio/selector_events.py", line 725, in _read_ready
data = self._sock.recv(self.max_size)
TimeoutError: [Errno 60] Operation timed out

I'm not sure what changes you're suggesting here. Do you mean that websockets should do something specific to handle this situation?

Yes. As a user, I can't handle this even though I use 'try'. So I think maybe websockets should handle it.

Can websockets handle this exception? I think maybe you can just drop it and retry the connection. For me the exception is very uncomfortable.

OK, so that's a duplicate of #414.

No, it is strange that it just show the message but "recv()" doesn't raise exceptions which means I can receive messages without reconnection.

It's really hard for me to say something meaningful with zero context about what code produces this traceback under what circumstances.

https://github.com/yjqiang/bilibili-live-tools/blob/master/bilibiliCilent.py

1."danmuji.connectServer"  set up a connection
2."HeartbeatLoop" and "ReceiveMessageLoop" receive the msg and heartbeat
3. if something is wrong, then I close the connection

So, do you find where the problem is?

I'm not going to debug the 300 lines of code you linked to. If you can produce a minimal reproduction example that exhibits an issue in websockets, perhaps I will take a look.

Ok, I'll write a minimal program. Then I will tell you. By the way, I think you should reopen this issue.

Fatal read error on socket transport
protocol: <asyncio.sslproto.SSLProtocol object at 0x111208ef0>
transport: <_SelectorSocketTransport fd=12 read=polling write=<idle, bufsize=0>>
Traceback (most recent call last):
File "/var/containers/Bundle/Application/9F565D30-C54B-4210-902B-874D7A5AB814/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/asyncio/selector_events.py", line 725, in _read_ready
data = self._sock.recv(self.max_size)
TimeoutError: [Errno 60] Operation timed out
Error in data transfer
Traceback (most recent call last):
File "/private/var/mobile/Containers/Shared/AppGroup/DD7F02C7-CB2E-4501-8454-4160BFD1B7B2/Pythonista3/Documents/site-packages-3/websockets/protocol.py", line 530, in transfer_data
msg = yield from self.read_message()
File "/private/var/mobile/Containers/Shared/AppGroup/DD7F02C7-CB2E-4501-8454-4160BFD1B7B2/Pythonista3/Documents/site-packages-3/websockets/protocol.py", line 582, in read_message
frame = yield from self.read_data_frame(max_size=self.max_size)
File "/private/var/mobile/Containers/Shared/AppGroup/DD7F02C7-CB2E-4501-8454-4160BFD1B7B2/Pythonista3/Documents/site-packages-3/websockets/protocol.py", line 647, in read_data_frame
frame = yield from self.read_frame(max_size)
File "/private/var/mobile/Containers/Shared/AppGroup/DD7F02C7-CB2E-4501-8454-4160BFD1B7B2/Pythonista3/Documents/site-packages-3/websockets/protocol.py", line 712, in read_frame
extensions=self.extensions,
File "/private/var/mobile/Containers/Shared/AppGroup/DD7F02C7-CB2E-4501-8454-4160BFD1B7B2/Pythonista3/Documents/site-packages-3/websockets/framing.py", line 100, in read
data = yield from reader(2)
File "/var/containers/Bundle/Application/9F565D30-C54B-4210-902B-874D7A5AB814/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/asyncio/streams.py", line 669, in readexactly
yield from self._wait_for_data('readexactly')
File "/var/containers/Bundle/Application/9F565D30-C54B-4210-902B-874D7A5AB814/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/asyncio/streams.py", line 459, in _wait_for_data
yield from self._waiter
File "/var/containers/Bundle/Application/9F565D30-C54B-4210-902B-874D7A5AB814/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/asyncio/futures.py", line 332, in iter
yield self  # This tells Task to wait for completion.
File "/var/containers/Bundle/Application/9F565D30-C54B-4210-902B-874D7A5AB814/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/asyncio/tasks.py", line 245, in _wakeup
future.result()
File "/var/containers/Bundle/Application/9F565D30-C54B-4210-902B-874D7A5AB814/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/asyncio/futures.py", line 245, in result
raise self._exception
File "/var/containers/Bundle/Application/9F565D30-C54B-4210-902B-874D7A5AB814/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/asyncio/selector_events.py", line 725, in _read_ready
data = self._sock.recv(self.max_size)
TimeoutError: [Errno 60] Operation timed out

Is there anything else I can do for you? Maybe my code and the message are not clearly enough, but I hope it can help you.

It occurred frequently recently, it is very confusing.

？

Keep showing the msg...

I'm sorry but I really can't help with what you've provided.
In the context of a bug report, a "minimal program" is something about as large as https://github.com/aaugustin/websockets/blob/master/example/client.py.
I suppose I could install go, compile the 638 lines of Go and run a server, connect a client with the 379 lines of Python, and see that stack trace... and I'd be left with "well I guess Go server times out somewhere".
Unfortunately I don't have the motivation to do this.

Sorry to bother u but it looks like it is a bug on Pythonista(ios). I'm so sorry about this.

No problem. Feel free to open a new issue if you end up suspecting something in websockets.

I’m so sorry. Sorry I just found I sent the wrong test file. But I think it’s unnecessary to resend since it’s not a bug in websockets. I wrote it just to apologize. Sorry.


would a click a city to isolate be cool?

this would be a choropleth of just that one city's score. it's tricky because it would be better to show the new scale (0-100), not probably/maybe. but i could also show the binary.

I still like this, but could definitely live without it, it doesn't feel incomplete without it

yeah I think it's nice but doesn't change impression of the piece


1027 | Longest Arithmetic Subsequence | C++

Title - C++ code for 1027. Longest Arithmetic Subsequence
What will change - Adding C++ code for leetcode problem 1027
Type of Issue -

[x] Adding New Code

Programming Language

[x] C++

Please assign this to me.


Add example cfd data

The data is for XAUUSD. Tick, minute and second files match the dates of the example forex data (20140501 - 20140515). Total, the data is about 20MB.

Next time we update the samples I think we should trim all these by half, e.g. maybe 7 days instead of 14. Repo is a 106Mb zip now


Fixes #553: fix max_analyzer_offset field to match OS 2.2.0

Fix field max_analyzed_offset to max_analyzer_offset
Description
The current field max_analyzed_offset used in ElasticSearch doesn't match the field added to OpenSearch version 2.2.0, max_analyzer_offset.
This means the current client implementation have two problems:

It doesn't work for versions before version 2.2.0, because no equivalent field exist on OpenSearch
It doesn't workf for version after 2.2.0, because the field is misspelled

For further information see:

https://github.com/opensearch-project/OpenSearch/pull/4031
https://github.com/opensearch-project/OpenSearch/pull/3893

Issues Resolved

https://github.com/opensearch-project/opensearch-java/issues/553

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@schmittjoaopedro thank you for the fix, could you please address DOC check? See please https://github.com/opensearch-project/opensearch-java/blob/main/CONTRIBUTING.md#developer-certificate-of-origin

@schmittjoaopedro thank you for the fix, could you please address DOC check? See please https://github.com/opensearch-project/opensearch-java/blob/main/CONTRIBUTING.md#developer-certificate-of-origin

Hello @reta
I have added the DCO signing to my commits:

Am I missing something else?

@schmittjoaopedro thank you for the fix, could you please address DOC check? See please https://github.com/opensearch-project/opensearch-java/blob/main/CONTRIBUTING.md#developer-certificate-of-origin

Hello @reta I have added the DCO signing to my commits:
Am I missing something else?

Got that, I had to remove the Pedro from the DCO, now it's passing.

@reta and @szczepanczykd do you think it's possible to backport this change still this week?
We need this feature fixed for our project to go to production.

Hi @schmittjoaopedro :)
As You see, there are some conflicts, could You please do backport by Yourself? (checkout to 2.x, cherry pick, resolve conflicts and create a new PR)

Hi @schmittjoaopedro :)
As You see, there are some conflicts, could You please do backport by Yourself? (checkout to 2.x, cherry pick, resolve conflicts and create a new PR to 2.x branch)

Hi @szczepanczykd
Yes, there you go: https://github.com/opensearch-project/opensearch-java/pull/556

Hi @schmittjoaopedro :)
As You see, there are some conflicts, could You please do backport by Yourself? (checkout to 2.x, cherry pick, resolve conflicts and create a new PR to 2.x branch)

Hi @szczepanczykd
There you go: https://github.com/opensearch-project/opensearch-java/pull/557


Some KDE programs not working correctly in firejail

https://github.com/netblue30/firejail/issues/1793

I'll probably Just have to wait until the profiles get fixed (or fix them myself).
Or wait until ktorrent implements firejail.

Spectactle save location also isn't whitelisted

noblacklist /usr/share/screenshots
whitelist /usr/share/screenshots

instead of
noblacklist $PICTURES
whitelist $PICTURES

{
    echo "noblacklist /usr/share/screenshots"
    echo "whitelist /usr/share/screenshots"
} > /etc/firejail/spectacle.local

Doesn't work correctly

Maybe removing the problematic apps from firejail is the cleanest and best option. Since ktorrent and spectacle don't really run any 3rd party code (except for downloading torrents), it shouldn't be too much of a problem.

Should be fixed by https://github.com/LeoMeinel/mdadm-encrypted-btrfs/commit/6ed2a41cfdfab46a9cdf77e696707c55e2844532

FUTURE

[ ] Add programs to firejail again


[BUG] customer session issue

Describe the bug
customer session issue:
after login on a website and add some product to basket I press ctr + ef5 to refresh website
what happend? I'm logged out automatically, product disappearing from basket but when I add another product, the first one appear immediately
Additional context
Shopware v<IP_ADDRESS> Stable Version
Shopware PWA 0.7.1

It was solved - the reason: invalid old cookies.


Tags dd/dl/dt ignored when computing height

I have used your component and defined a slide with the following content:

Reference

Test

Reference2

Test2

The slide height is not correctly computed and as a result ascroll bar appears. This problem doesn't occur when "simple" div/h1/p are being used.

I couldn't reproduce this issue. Are you applying some specific style to those elements?
I'm closing this issue.

To be honnest, this is already far too old... I was testing react and some components like yours. Will revert back to you if starting again some work on this technology using your component.


base_temperature

Thanks for sharing the code!
What is the intuition behind base_temperature? I found that its value is always 0.07. Is it just for scaling the learning rate by temperature / 0.07?
https://github.com/HobbitLong/SupContrast/blob/master/losses.py#L95

It just scales up the loss, you can ignore it.

Should it be a sensitive hyper-parameter that should be fine-tuned carefully on the dataset?

Should it be a sensitive hyper-parameter that should be fine-tuned carefully on the dataset?

This is something that I'm also struggling to understand. Did you understand if it should be fine-tuned or not?

Should it be a sensitive hyper-parameter that should be fine-tuned carefully on the dataset?

This is something that I'm also struggling to understand. Did you understand if it should be fine-tuned or not?

By dividing self.temperature first, and then times (self.temperature / self.base_temperature), it seems like self.temperature is useless and the actual temperature is always self.base_temperature, which is always 0.07, different from the default temperature 0.1 according to the README file?


refactor: ViewModelProviders --> ViewModelProvider

Starting in version 2.2.0 of the lifecycle library, the ViewModelProviders class has been deprecated. We should now use the ViewModelProvider constructor instead.

LGTM thank you!


Windows Support

Windows Support

Has there been any update in this regard?
I am currently extending java-specific code, including swing + jruby, so I will be busy with windows-specific things. (My current aim will be to try to write as much swing-specific code, use it primarily via jruby, to make windows more useable, so a bit like glimmer; but to also map down which widgets I need in the long run. And at a later point to see how much of this could be turned into glimmer + libui automatically. But I'd like to test as much things as possible on windows. On linux I don't have these problems but on windows I kind of need all the power of GUIs in the world.)

Windows is already supported because Glimmer Wordle is written with Glimmer DSL for SWT, which runs on Windows. But, the styling is not tweaked for Windows yet. It shouldn't be a tough job for anyone to tackle given that the game is completely implemented already.
And, why consider Swing when SWT is far superior and better?! Glimmer DSL for SWT is the most advanced Glimmer library, and it renders OS native widgets, unlike Swing, which doesn't and has freeze-up issues on some systems. If I were you, I'd use Glimmer DSL for SWT without thinking twice.
In any case, if you want to use Swing, it would be simpler to use it with Glimmer DSL for Swing:
https://github.com/AndyObtiva/glimmer-dsl-swing

Windows has been officially supported by tweaking the styling to look nice in it. This was done in version 1.1.5, which was just released to RubyGems:
https://rubygems.org/gems/glimmer_wordle/versions/1.1.5

I am closing this issue as it is fully handled.


Aux window close button doesn't work

On the latest Insiders on Windows, when I click on the close button for an empty aux window, it doesn't close.

I just noticed that even for the main group, it closes all the editors but leaves the window open.
The title of the icon is "Close Group". Should it be "Close all editors in group" instead?

@rzhao271 you click the "Close Group" button you mean?

Yes

Verification:

ensure workbench.editor.closeEmptyGroups: true
open a floating window, e.g. by dragging an editor tab out
open more editor groups inside the floating window and open editors
verify editor groups close when the last editor closes within
verify the floating window closes when the last editor in the last group closes


cmd/internal/obj: wrong binary generated for TST instruction by the ARM assembler

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
the newest go master branch
What operating system and processor architecture are you using (go env)?
GOARCH=arm
GOOS=linux
What did you do?
test the arm assembler
If possible, provide a recipe for reproducing the error.
Wrong 4-byte word assembled
TST     $255, R7: have encoding 000050e3, want ff0017e3
TST     $4278190080, R9: have encoding 000050e3, want ff0419e3
TST     R9<<30, R7: have encoding 000050e3, want 090f17e1
TST     R9>>30, R7: have encoding 000050e3, want 290f17e1
TST     R9->30, R7: have encoding 000050e3, want 490f17e1
TST     R9@>30, R7: have encoding 000050e3, want 690f17e1
TST     R9<<R8, R7: have encoding 000050e3, want 190817e1
TST     R9>>R8, R7: have encoding 000050e3, want 390817e1
TST     R9->R8, R7: have encoding 000050e3, want 590817e1
TST     R9@>R8, R7: have encoding 000050e3, want 790817e1

All variants of TST are encoded to the same 000050e3. Actually TST have 3 different forms as CMP/CMN/TEQ have.

I have committed a patch to fix this issue.
https://go-review.googlesource.com/#/c/37662/

@benshi001 when filing issues, please start the title with the package path and a colon (in this case, "cmd/internal/obj:"). Thanks!

OK. I learn it.  ^_^

B is also wrongly assembled, I have reported in another #19419.


Added Istanbul University

Added Istanbul University

@onurozer0 I am sorry, the domain ogr.iu.edu.tr is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


removing retries

Reviewer:
Asana:
Description
Steps to test

@shakyShane Is this now superseded by https://github.com/duckduckgo/duckduckgo-autofill/pull/525? Can we close?


Whole UI scrolls up

VSCode Version: 1.5.0-insider 538cd9ded5a471fbb20920f01eff9c8df4b83ee9 2016-09-05T08:29:15.791Z
OS Version: Mac OSX El-Captain

Steps to Reproduce:

Open a file that is longer than the window height
Scroll down to the bottom

Happens since the last Insider build.

@marvinhagemeister I am on the exact same insiders version in Mac OSX El-Captain and I cannot repro.
Can you provide a few more details?

Which extensions do you have installed?
Can you repro this when extensions are disabled? code --disable-extensions ?
Can you open dev tools and inspect that blank area below the status bar and send us a screenshot of that element?

@marvinhagemeister also, how do you scroll to the bottom? And can you pin point which update caused this? Or is it 1.5.0 vs 1.4.0 causing it?

@ramya-rao-a @bpasero It was yesterdays (7.9.2016) update that broke it for me. Weirdly, I haven't been able to reproduce this anymore today. I'll leave this open for another day and if I can't find anything to reproduce it or the issue is gone, I'll close this one

@marvinhagemeister I would be surprised if any change in that time frame could cause this, rather this bug is hard to reproduce but can always happen with 1.5. Anyhow, when you find steps to reproduce, please comment.

Closing this until we have more steps or more users that see this.

Yeah, that's best. I haven't been able to reproduce it anymore in the past days abs I'm using vscode daily for up to 10h.


Problem with H2oGPT Client setup for Windows (Makefile)

Hi, I'm trying to setup the H2oGPT Client. However, I'm no able to set it up on Windows, I have tried both powershell and powershell in admin mode.
When I run the command:
make -C client setup

I get the following message in the terminal:
PS C:\...\h2ogpt> make -C client setup
make: Entering directory 'C:/.../h2ogpt/client'
"Installing Poetry into 'C:/.../client/.poetry' ..."
curl -sSL https://install.python-poetry.org | POETRY_HOME="C:/.../h2ogpt/client/.poetry" python3 - --force --version 1.5.1
'POETRY_HOME' is not recognized as an internal or external command,
operable program or batch file.
make: *** [Makefile:14: C:/.../h2ogpt/client/.poetry/bin/poetry] Error 255
make: Leaving directory 'C:/.../h2ogpt/client'

I'm following this guide and have made it to work without problems on a VM running Ubuntu but I very much prefer if it would work on Windows.
The makefile in question. This is the part that is running when I get the error:
$(POETRY_BIN):
	@echo "Installing Poetry into '$(POETRY_INSTALL_DIR)' ..."
	curl -sSL https://install.python-poetry.org | POETRY_HOME="$(POETRY_INSTALL_DIR)" python3 - --force --version 1.5.1

I'm not sure if I'm missing something obvious with the makefile that has to be changed or if its something else😅.

@casje896 h2oGPT Python Client development commands (e.g. make -C client setup) are not designed to be run in Windows and we have not yet tested in Windows either. We will be addressing this in future.
If you are looking for a release of the Client, we will doing such soon.

@casje896 h2oGPT Python Client development commands (e.g. make -C client setup) are not designed to be run in Windows and we have not yet tested in Windows either. We have plans to address this in future, meanwhile feel free to submit a fix.
If you are looking for a release of the Client, we will doing such soon.

Alright, thank you for your answer. I will try and see if I can figure out at fix for it.

Given the hot fixes you had to do in the Makefile, I feel like having a separate cmd script for Windows would be a better approach.

I ran the tests and had 1/5 passed, however, I am not sure if the tests failed because of the client being setup and built incorrectly or if it was something else since the server crashed.

@casje896 Can you post the test failures.

Sure, here is the test summary:
============================== short test summary info ==============================
PASSED tests/test_client.py::test_parameters_order
FAILED tests/test_client.py::test_text_completion - ValueError
FAILED tests/test_client.py::test_text_completion_sync - ValueError
FAILED tests/test_client.py::test_chat_completion - ValueError
FAILED tests/test_client.py::test_chat_completion_sync - ValueError
=========================== 4 failed, 1 passed in 52.45s ============================
make: *** [Makefile:75: test] Error 1

I think I noticed that when the test script is running the test_text_completion_sync or the test_chat_completion, the server running the UI crashes due to a Windows fatal exception: access violation.


Landmark detection working in android?

Hi, I am wondering if the facial landmark detection example from dlib works in Android?
Thank you.

Hi,
It's easy if you can write JNI and need to build the source to a shared library instead of executable file.
Currently, it is built to executable file, you can change it in dlib-android/jni/other_ex/Android.mk
Change include $(BUILD_EXECUTABLE) to include $(BUILD_SHARED_LIBRARY)
Actually, I would like to implement Android application for demo, but I does not have free time to do that recently.

@aseptianto
I uploaded a commit to demo facial landmark 10 mins ago.
You can refer to
https://github.com/tzutalin/dlib-android-app

@tzutalin I have used your demo with dlib. I want to create similar sample which can identify lips, eyes can user can able to adjust things using magnifier glass and drag a line on surrounding of lips.
Can you guide me how to implement this with dlib ?

Hello,
I am new to android. Can you help me getting face_landmark_detection_ex.cpp please?
thanks in advance.


after a container termination its interface is not destroyed

Thank you for creating pipework. It's very cool and very easy to use.
However, I have a problem with it recently and I hope I can find a solution for it.
After upgrading the kernel version of my ubuntu server to 5.0.0-20, I added an IP with the following command to my container:
pipework br0 -i eth1 CONTAINER<EMAIL_ADDRESS>It worked fine but when I stopped the container, its network was not destroyed completely. I can ping the IP . I tried to find the interface on the host or on the container and remove it manually  but I could not find anything. After restarting the server the ping was gone and the problem was solved.
Is there a way to remove the IP manually from the container (without container termination)? or do you have any idea for solving the issue?

Closing old issues.


missing seaborn 0.8.1

seaborn 0.8.1 -missing. Can this be added?
//Rajesh

seaborn and its requirements statsmodels and patsy have been added to the rpi channel.


Support for 1.20.1

Changing the fabric mod json should be enough, I don't think the loot table code changes between those versions.


haywire_hello_world fails under benchmark

On Mac OS X 10.9 I followed the build instructions using 6f162f1c2d2474afbb08fa85d615b6a1c572fe31. Haywire built okay, and I ran the hello world sample server - it started fine. I made a single curl request - it ran fine. I then used the ab command from the benchmarking document (ab -n 100000 -c 32 -k http://<IP_ADDRESS>:8000/) and then it crashed like so:
$ ./builds/unix/debug/haywire_hello_world
Added route /stats
Added route /
Listening on <IP_ADDRESS>:8000
connections_created_total: 2
connections_destroyed_total: 1
requests_created_total: 2
requests_destroyed_total: 1

haywire_hello_world(43163,0xb0103000) malloc: *** mach_vm_map(size=8388608) failed (error code=3)
*** error: can't allocate region securely
*** set a breakpoint in malloc_error_break to debug
Assertion failed: (buf.base != NULL), function uv__read, file lib/libuv/src/unix/stream.c, line 996.
[1]    43163 abort      ./builds/unix/debug/haywire_hello_world

$ ab -n 100000 -c 32 -k http://<IP_ADDRESS>:8000/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking <IP_ADDRESS> (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
apr_socket_recv: Connection refused (61)
Total of 54219 requests completed

I tried this twice and the total number of requests was not the same, but it's always around 54000 requests. Any more information I can provide to help diagnose this?

This should be fixed now.


[Scheduled Maintenance] fcube is down for maintainance

Additional context
for improve the performance of site

Resolved: pashupatitimes is back up in cb2771d after 2 days, 15 hours, 43 minutes.


SWS-235 Add Istio Rules and support ACL scenarios

Support for Istio objects: rule, listchecker, listentry, denier, checknothing
Add /rules and /rules/{rule} endpoints to expose Istio rules
Add tests for Istio Rules parsing
Refactoring misuse of pointer to interface in kubernetes module

I haven't rebased yet, but I am curious about travis.
Meanwhile I rebase with upstream, please @xeviknal take a look.
Thanks.

/rules

/rules/checkfromcustomer

/rules/denycustomer


Indy 1.7.x promote perf

This is for NOSSUP-45. Basically, the promotion ran very slowly. I looked at the grafana for Apr 4 and 5, and found (for some period):

promote-rules-executor and promote-rules-runner each run took up to 10 minutes (I suspect there was timeout. The default timeout is 10 minutes).
promote-rules-executor load-factor was up to 30,000 %. There are 200 threads in the pool. That adds up to 60,000 tasks waiting in the queue.

I add a few changes in this PR:

remove synchronized(error) from groovy scripts. Use a synchronizedList() instead. This surely will help but not sure how much time it can save.
add forEach() in the validation tool to do serialized execution. I use it to replace some nested paralleledEach() in groovy rules to reduce the parallel tasks to a level that Java can work properly considering threads swapping affects, etc.
catch and throw the timeout exception. The old code just log the timeout but let the promotion go success. With this change, some prev build would have failed. To minimize the impact, I expend the timeout from 10 min to 30 which should allow as many promotions to pass.
add metrics for each rule so that we know which rule takes the longest time.
fix a minor issue in the MetricsInterceptor to return if Measure is null. Not sure why this old code does not throw NPE. It looks not right so I correct it. Let me know if there is any tricks here.

I am not sure how the #2 works. Maybe we just add more threads to the pool? We may stick to the current prod groovy scripts and see what is going on by #4 metric. Once we identify the slowest rule, we can try the #2.

@ruhan1 I don't think it is a good idea to apply No.2 to current rules, because it is original way that these scripts have been used before the paralleled refactoring, and has been proved to have very bad performance. So I agree to add these metrics per rule to see what's pain points and then decide next step.

@ligangt I guess it depends on how many threads and how many tasks. We have 200 threads. It is better for them to run hundreds of a bit bigger tasks than 60,000 very smaller ones. But I agree this is uncertain. To not mislead us, I will revert the groovy files, only keep the tool.forEach in case of need.

I add a new PR for the batching. Not sure about the locking. we need jira to track. I see you have commented in the NOS-1685.


Public room preview : some public rooms have no display name

For example, #scala:matrix.org has no room title.
I assume it happens because the room has only a room alias and it is a "world readable" one. (same comments for the topic).

https://github.com/matrix-org/matrix-android-sdk/commit/1d828a6a18f91528a21f05c8635390704dbee144


Classes

[x] grammar

[x] class components
[x] dot notation

class Person {
    name: str
    age: int

    constructor(self, name: str, age: int) {
        self.name = name
        self.age = age
    }

    fn grow_up(self) {
        self.age = self.age + 1
    }
}

myself = Person("Mateo", 16)

assert myself.age == 16
myself.grow_up()
assert myself.age == 17

[x] Walk the AST Tree for classes twice:

Parse ONLY fields and do not walk constructor/function bodies. Perform type lookups for fields at the class level and create a ClassType.
Register the type that self assumes for the class
Re-walk the AST tree like normal.

[x] Bytecode instruction to reserve space for class fields before the constructor is called.
It would make most sense to add a new primitive of Option<Primitive> or an OptionalByte, OptionalString, etc..

[ ] The compiler must not allow a constructor to finish execution if all fields have not been initialized in its body.

[x] #113

The foundations of classes is done--the development of classes has been moved to #115


Feedback for "Create an SAP SuccessFactors Extensibility Service Instance in the Cloud Foundry Environment"

https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/8b774e4ca8be46a4830a021f727667ed.html?version=Cloud
the "New Instance or Subscription wizard" has changed as mandatory selection field "System Name" (between step d. and e.) has been introduced to select the SFSF system (registered and entitled). So no need to add json file in this step. You can manipulate the json file afterwards in the wizard

This applies also to the  Configure the Subaccount as a Trusted Service Provider in SAP SuccessFactors set up step (see screenshots)

Hi @mar-hol,
Thank you so much for letting me know! I will update the documentation, the changes will be available with the next release.
Best regards,
Ekaterina


Added TPU Sample

Added TPU Sample.
CC: @vbardiovskyg

Hi Adrish, as discussed offline, we are hesitant to merge this one as it uses unofficial APIs. As is, it is a great exploratory work, but maybe should not be in the examples for now.
When the API gets public, we will be definitely be more open to hosting this.


Cache behavior issues with v4.2

Describe the bug
I deployed Serverless Image Handler v4.2 and can access my .jpg files from my source s3 bucket and its subfolders via base64 encoded requests.
I want to increase the cloud front cached file expiration (from default TTL 1 day to 2 weeks) without sending additional headers for individual objects as per : https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html.
In my Cloudfront distribution console, I created multiple new cache behaviors with various path patterns (*.jpg, *.webp, *, etc) and increased the minimum and default TTL to 1209600 but none appear to have worked - i.e. When accessing the resized image files from a website, the images load slow for the first time every day - which seems like the cached files in cloudfront have expired and are getting resized every day.
Is it possible to view the expiration of the files in cloudfront? Are there any additional logs I can enable and view to debug why cache behavior TTL is not being respected?
Expected behavior
Cached cloud front files should respect the minimum and default TTL cache behavior and remain in the edge cache until expired.
Please complete the following information about the solution:

[ ] Version: v4.2
[ ] Region: us-east-1
[ ] Were there any errors in the CloudWatch Logs?

Screenshots
Additional context

@pengunerd Thanks for contacting us and I'm sorry to hear you experienced inconvenience.
Unfortunately, CloudFront does not provide when your objects are going to be expired (you may see Age in the response header though).
CloudFront provides the access log which is available in the <YOUR_STACK_NAME>-logs-<HASH> S3 bucket and the access log provides this. In addition, CloudFront provides some reports in the console, so you can take a look at this as well.
By the way, do you mean you are facing the issue on the same browser everyday?

Hi @beomseoklee , that's correct, I was facing the issue on the same browser everyday. I wanted to avoid adding headers to the origin bucket so that's why I tried to add cache behaviors.
I was able to figure out a little more. In the Cloud Front console under the 'Behaviors' tab, and following the aws docs the cache behaviors I had added were not working.
If I modify the "Default (*)" behavior and set a NEW default TTL to increase file expiration (e.g. 2 weeks), it seems like cloudfront is respecting this new value and the files are staying in the cache longer (instead of expiring after the default 24hrs).

@pengunerd Thanks for your information. We've put this one into our backlog item so that we can evaluate how we can reproduce and fix the issue.

I am having a similar problem. My S3 images return headers with cache-control max-age=31536000, and I can see this header showing in the image response from Cloudfront. The problem is despite this, all images are expiring from Cloudfront within 24 hours, so each day when loading up a website, it has to regenerate all the images again for a the site. With large images, this can result in a delay of 4 or 5 seconds waiting for the image to load which is unacceptable. This might be because the site doesn't have much traffic, and so the images are not accessed frequently - it looks like this is causing them to be evicted from the Cloudfront cache prematurely.


Breaking change in remote connectivity to be able to use different protocols in future

Until now, it was difficult to use different protocols on the remote side, this is because the message type was embedded into the message. Now the message type has been moved into the message header, which after this change will contain:
START MSG 0x01
PROTOCOL 0x01 for tagval
MSGTYPEH
MSGTYPEL
As long as the API and controller app is updated at the same time as the board, all should continue to work.

This small change now before the connector is fully stablised makes supporting new protocols easier.


Dynamically grab properties in geojson file and build columns

It would be awesome if when you load a geojson file, the columns are automatically parsed out to the dashboard

Perhaps... You still have to do some configuration for the table and filter utilities though.

Closing for now. We can revisit this later if necessary.


Update apps.html

Changed highly subjective description of Windows.

Automated message from Dropbox CLA bot
@sexybern, thanks for the pull request! It looks like you haven't yet signed the Dropbox CLA. Please sign it here and update the thread so we can consider merging your code.

It's possible we should change the text more extensively rather than just removing that sentence; @wdaher what are your thoughts on this?

I personally find that sentence funny, especially the bit about expense reports, but I also wrote it :)
I don't have strong feelings about it — each tab basically panders to users of that specific OS, so I would also be fine if the others were like "Mac OS, best thing ever" and "Linux, it finally is the year of the Linux desktop" or something.
I would also be fine removing it in the self-hosted versions of the apps, since I realize that not everyone shares my sense of humor, but I'd be a little sad about it.

I'd be curious to hear from more users on this language; but yeah I think the ideal would be for this to be something that panders to Windows users, rather than something that people who primarily use another OS would find an amusing description of Windows (Which is I think whta we currently have).


C extension doesn't seem to be packaged

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
AFAICT the C extension isn't being compiled/packaged.
In my install folder:
❯ tree /opt/python/envs/dev310/lib/python3.10/site-packages/pybase64/
/opt/python/envs/dev310/lib/python3.10/site-packages/pybase64/
├── __init__.py
├── __main__.py
├── __pycache__
│   ├── __init__.cpython-310.pyc
│   ├── __main__.cpython-310.pyc
│   ├── _fallback.cpython-310.pyc
│   ├── _license.cpython-310.pyc
│   └── _version.cpython-310.pyc
├── _fallback.py
├── _license.py
├── _version.py
└── py.typed

In the CI logs I can see:
 running build_ext
  running cmake '--version'
  building 'pybase64._pybase64' extension
  creating build/temp.linux-x86_64-cpython-310
  creating build/temp.linux-x86_64-cpython-310/src
  creating build/temp.linux-x86_64-cpython-310/src/pybase64
  /home/conda/feedstock_root/build_artifacts/pybase64_1704134746267/_build_env/bin/x86_64-conda-linux-gnu-cc -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/conda/feedstock_root/build_artifacts/pybase64_1704134746267/_h_env_placehold/include -fPIC -O2 -isystem /home/conda/feedstock_root/build_artifacts/pybase64_1704134746267/_h_env_placehold/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/conda/feedstock_root/build_artifacts/pybase64_1704134746267/_h_env_placehold/include -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/pybase64_1704134746267/work=/usr/local/src/conda/pybase64-1.3.2 -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/pybase64_1704134746267/_h_env_placehold=/usr/local/src/conda-prefix -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/conda/feedstock_root/build_artifacts/pybase64_1704134746267/_h_env_placehold/include -fPIC -DBASE64_STATIC_DEFINE=1 -Ibase64/include/ -Ibase64/lib/ -I.base64_build -I/home/conda/feedstock_root/build_artifacts/pybase64_1704134746267/_h_env_placehold/include/python3.10 -c src/pybase64/_pybase64.c -o build/temp.linux-x86_64-cpython-310/src/pybase64/_pybase64.o
  src/pybase64/_pybase64.c:4:10: fatal error: config.h: No such file or directory
      4 | #include <config.h>
        |          ^~~~~~~~~~
  compilation terminated.
  warning: BuildExt: building extension "pybase64._pybase64" failed: command '/home/conda/feedstock_root/build_artifacts/pybase64_1704134746267/_build_env/bin/x86_64-conda-linux-gnu-cc' failed with exit code 1

Installed packages
-

Environment info
`linux-64`

Some info on the error message:
https://github.com/mayeut/pybase64/issues/674

cmake and possibly ninja might be required in the build section:
https://github.com/mayeut/pybase64/blob/b50630a70eff129763019f8a72b6467789be49d6/.github/workflows/msys2.yml#L31-L32

Thanks @njzjz! :heart:


Status Invalid When Submitting in XML

Hi today when i want to submit i received status invalid, previous 2 month ago i try it is working. Now it become invalid.

Can you call get document detail API to check the error? My side is working


Add a database mapping for registered stake pool owners

Context
In order to provide stake pool metadata, the wallet must track the mapping from PoolId to PoolOwner.
Decision
In Cardano.Pool.DB add the following database table:
PoolOwner sql=pool_owner
    poolOwnerPoolId     W.PoolId     sql=pool_id
    poolOwnerOwner      W.PoolOwner  sql=pool_owner
    -- poolOwnerSlot        W.SlotId     sql=slot
    -- poolOwnerSlotRetired W.SlotId Maybe sql=slot_retired
    deriving Show Generic

This is a many-to-many relation by the way.
Add DBLayer functions:
putStakePoolOwner :: DBLayer m -> SlotId -> PoolId -> PoolOwner -> m ()
-- deleteStakePoolOwners :: DBLayer m -> SlotId -> PoolId -> m ()
readStakePoolOwners :: DBLayer m -> PoolId -> m [PoolOwner]

Note that reading stake pool owners for a list of stake pools will not be very efficient, but let's ignore that until will start caching stake pool metadata in the database.
~Rollback is handled by recording the slots when an owner was registered/deregistered.~
Acceptance Criteria

The stake pool owner mapping must be stored in the DB and be queryable.

Development

Implement per Decision section.
Add stake pool owners to the model DB and state machine tests.

QA

The putStakePoolOwner and readStakePoolOwners functions are tested together in Cardano.Pool.DB.Properties.

For the time being we are not concerned about handling stake pool retirement certificates, nor rollback. The mapping may contain stale entries, but the entries which aren't stale will still be correct. WB-40

This will require db migration, correct?

Probably not because it's a new table. So it'll be part of the initial migration CREATE TABLE IF NOT EXISTS that are ran automatically by persistent.
I think

lgtm


Introduce a perf testing framework for Mixer.

What this PR does / why we need it:
This PR introduces a new perf testing framework for Mixer. A substantial documentation can be found in the package documentation in setup.go.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
I am sending this out a bit early: it is going to conflict with some of the PRs that I know to be in-flight. I'll incorporate those changes when they land, before checking this PR in.
Also, this PR does not include an actual perf test (just a proof of concept one). I'll try to come up with a basic test separately, and submit it in a separate PR.
Release note:

NONE

@ozevren: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
1cce25011860d2f2d7ba019e0f438d81af597a33
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

subscribe

Fixed CR comments. PTAL

It's very hard to track, given GitHub's poor code review system, but I think there are comments from my original review which haven't yet been addressed.
This is a big PR...

Still working on the cleanup for rebase. But most of your comments should
be addressed. There are a couple of places where I didn't do the "if err =
..." as it would have yielded more complicated code. If you feel strongly
about it I can add them as well. :)
On Mon, Dec 11, 2017 at 11:11 AM, Martin Taillefer<EMAIL_ADDRESS>
wrote:

It's very hard to track, given GitHub's poor code review system, but I
think there are comments from my original review which haven't yet been
addressed.
This is a big PR...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/1931#issuecomment-350826049, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AQR8I2MsayN30g87GvhLL6V9fdUwqaOIks5s_X5JgaJpZM4Qv4O5
.

I know you commented that:
x.y, err = func()
if err != nil {
Would be more wordy as:
if x.y, err = func(); err != nil {
Isn't that shorter?
Note, this is = and not :=
On Mon, Dec 11, 2017 at 11:13 AM, Ozben Evren<EMAIL_ADDRESS>wrote:

Still working on the cleanup for rebase. But most of your comments should
be addressed. There are a couple of places where I didn't do the "if err =
..." as it would have yielded more complicated code. If you feel strongly
about it I can add them as well. :)
On Mon, Dec 11, 2017 at 11:11 AM, Martin Taillefer <
<EMAIL_ADDRESS>
wrote:

It's very hard to track, given GitHub's poor code review system, but I
think there are comments from my original review which haven't yet been
addressed.
This is a big PR...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/1931#issuecomment-350826049, or
mute
the thread
<https://github.com/notifications/unsubscribe-auth/
AQR8I2MsayN30g87GvhLL6V9fdUwqaOIks5s_X5JgaJpZM4Qv4O5>
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/1931#issuecomment-350826611, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVucHaciDZfGYCLipY_zs-L5tXwsRPdYks5s_X7AgaJpZM4Qv4O5
.

It is about having to hoist var declarations out. if the variable is being
declared within that line, it will only be available within the if-block,
which is useless. Either I have to flip the condition and rewrite the code,
or do explicit variable declaration. The trade-off seems wrong.
I am not a fan of the single-line if, but I don't feel strongly about it.
I'll rescan and make it uniform.
On Mon, Dec 11, 2017 at 11:17 AM, Martin Taillefer<EMAIL_ADDRESS>
wrote:

I know you commented that:
x.y, err = func()
if err != nil {
Would be more wordy as:
if x.y, err = func(); err != nil {
Isn't that shorter?
Note, this is = and not :=
On Mon, Dec 11, 2017 at 11:13 AM, Ozben Evren<EMAIL_ADDRESS>wrote:

Still working on the cleanup for rebase. But most of your comments should
be addressed. There are a couple of places where I didn't do the "if err
=
..." as it would have yielded more complicated code. If you feel strongly
about it I can add them as well. :)
On Mon, Dec 11, 2017 at 11:11 AM, Martin Taillefer <
<EMAIL_ADDRESS>
wrote:

It's very hard to track, given GitHub's poor code review system, but I
think there are comments from my original review which haven't yet been
addressed.
This is a big PR...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/1931#issuecomment-350826049, or
mute
the thread
<https://github.com/notifications/unsubscribe-auth/
AQR8I2MsayN30g87GvhLL6V9fdUwqaOIks5s_X5JgaJpZM4Qv4O5>
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/1931#issuecomment-350826611, or
mute
the thread
<https://github.com/notifications/unsubscribe-
auth/AVucHaciDZfGYCLipY_zs-L5tXwsRPdYks5s_X7AgaJpZM4Qv4O5>

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/1931#issuecomment-350827832, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AQR8I7jHzaaBVZm7PDSKNF4FviRu2-ZFks5s_X_GgaJpZM4Qv4O5
.

I specifically pointed out my comments are about lines with "=" in it, not
with ":=". That means no symbols are being introduced by such a line and so
a single-line "if" should be universally usable without changing any
variable scopes.
On Mon, Dec 11, 2017 at 11:24 AM, Ozben Evren<EMAIL_ADDRESS>wrote:

It is about having to hoist var declarations out. if the variable is being
declared within that line, it will only be available within the if-block,
which is useless. Either I have to flip the condition and rewrite the code,
or do explicit variable declaration. The trade-off seems wrong.
I am not a fan of the single-line if, but I don't feel strongly about it.
I'll rescan and make it uniform.
On Mon, Dec 11, 2017 at 11:17 AM, Martin Taillefer <
<EMAIL_ADDRESS>
wrote:

I know you commented that:
x.y, err = func()
if err != nil {
Would be more wordy as:
if x.y, err = func(); err != nil {
Isn't that shorter?
Note, this is = and not :=
On Mon, Dec 11, 2017 at 11:13 AM, Ozben Evren<EMAIL_ADDRESS>wrote:

Still working on the cleanup for rebase. But most of your comments
should
be addressed. There are a couple of places where I didn't do the "if
err
=
..." as it would have yielded more complicated code. If you feel
strongly
about it I can add them as well. :)
On Mon, Dec 11, 2017 at 11:11 AM, Martin Taillefer <
<EMAIL_ADDRESS>
wrote:

It's very hard to track, given GitHub's poor code review system, but
I
think there are comments from my original review which haven't yet
been
addressed.
This is a big PR...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/1931#issuecomment-350826049,
or
mute
the thread
<https://github.com/notifications/unsubscribe-auth/
AQR8I2MsayN30g87GvhLL6V9fdUwqaOIks5s_X5JgaJpZM4Qv4O5>
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/1931#issuecomment-350826611, or
mute
the thread
<https://github.com/notifications/unsubscribe-
auth/AVucHaciDZfGYCLipY_zs-L5tXwsRPdYks5s_X7AgaJpZM4Qv4O5>

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/1931#issuecomment-350827832, or
mute
the thread
<https://github.com/notifications/unsubscribe-auth/
AQR8I7jHzaaBVZm7PDSKNF4FviRu2-ZFks5s_X_GgaJpZM4Qv4O5>

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/1931#issuecomment-350829908, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVucHUP4QrpoxzgLugabQSdhUVDatH3Dks5s_YFqgaJpZM4Qv4O5
.

Any more comments on this? If not, I'd like to check this in.

I had LGTM'd before, if there has not been any major changes since then, I
am good.
Thanks,
-Sunny
On Tue, Dec 12, 2017 at 10:26 AM, Ozben Evren<EMAIL_ADDRESS>wrote:

Any more comments on this? If not, I'd like to check this in.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/1931#issuecomment-351142104, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AK6xE6I569KDB_QRcGTY4nBQ1l3TKSw2ks5s_sU6gaJpZM4Qv4O5
.

--
Thanks,
-SG

/retest


Missing version output @latest

latest; flyway-7.15.0
Command line / Docker
database : n/a
OS: linux/amd64 docker hub deep link
export SHA=@sha256:aeb735b0fc384e10247faac2808792bc358856ed92c1dffdd28b58a03fc1ce48
docker run --entrypoint /usr/bin/env flyway/flyway:7.15.0$SHA  flyway -v
# same situation:
# docker run --entrypoint /usr/bin/env flyway/flyway:7.15.0$SHA  flyway --version

Expected to see some kind of output among the lines of Flyway Community Edition 7.15.0 by Redgate, instead saw no output at all (neither stdout nor stderr) – in other words a blank string and zero exit code
Additional Info:
When I run the following to verify the correct utilisation of docker cli:
docker run --entrypoint /usr/bin/env flyway/flyway:7.14.1@sha256:cb29805338c3cd594ba15db7f3bd2f6590ae43e068770a62c95ad9c638713387  flyway -v

It yields as expected: Flyway Community Edition 7.14.1 by Redgate

Fixed by https://github.com/flyway/flyway/commit/86c285e5a707e19700f1c53841af02397323e844


Added a titletag for the “Pages using ” page

Added a translated title to the empty titletag for content_type_user.html

@ramonakira congratulations on your first PR to Wagtail! :) And thanks!
Merged. Release notes added in 35a1af2b3b99a568d30fd4906d8733a1e39ebbdf.


Redo README

Change the current readme and format it properly allowing user's to understand and have an overview of the project.
Use readme badges, tags ,etc to enhance the look of the file.

Please assign this issue to me under JWOC.

No. Pull request is still there. You can merge it.

Sure

Thankyou! :)


Remember Value Panel "Content viewer settings"

The chosen content viewer must be saved for an attribute, so user don't need to change it every time.
The issue is created from #10149.

Content viewer rests after Dbeaver restart

Verified


Automatic dark/light theme switching according to OS

Hello,
Please add below feature:

Automatic dark/light theme switching according to OS

In VSCode I can enable this feature using:
window.autoDetectColorScheme

Idea for Windows Terminal:

I think this is a duplicate of #1230.

I think this is a duplicate of #1230.

No, My issue isn't about a bug. It is about a new feature.

If you set "theme" in the config file to "system", it's supposed to work, but right now I think it doesn't work because of that bug.

So, this needs #1230 to work properly but it isn’t 1230 alone. There’s also a request that the colorScheme be theme switchable :)

Ah, OK. I get it now. That's a neat idea. But do you not then need some way to specify your preferred light color scheme (or vice versa)? Or does it auto detect it based on the name?

Yeah, that’s a good question :) Probably warrants at least a mini-spec. There’s also a request for focused/unfocused configuration, so I am a bit concerned about adding another dimension to the config matrix.

The VS Code implementation in the example has up to four "colorScheme" specifications:

It is a bit verbose, but is much more flexible than requiring a scheme to define both a dark and a light (or high contrast!) variant.  For example, I like Dracula at night but it does not define a light variant, so I use Quiet Light during the day.

Is there a reason why the terminal's title bar does not inherit the Windows accent color where all the other windows do?
Guess this is due to the fact that it's some custom code handling the title bar rendering due to tabs.

Title Bar colouring is also what I think @DHowett was referring to earlier, probably #4862

You know what even be better? Running an elevated session within your existing terminal window 😄
That one might be difficult to achieve technically due to the various isolations at OS level when it comes to handing admin privileges. It would however, be of great use to me as I normally need one elevated and one non elevated session of powershell.

Yeah, let’s not pollute this request with the discussion of mixed elevation, which you can absolutely find a place for elsewhere in our issue tracker.

Isn't this a duplicate of  #4066?

@ChristAlbert good find! It totally is. Thanks for digging that out of our backlog!
/dup #4066

@zadjii-msft I thought #4066 spoke about the color profile specifically, while this ticket is about the terminal theme itself (dynamic change without having to restart the terminal). Are these 2 aspects planned to be implemented in scope of one ticket?

From the way I understand it:

#1230 covers: "When I set the theme to system, the RequestedTheme of the Terminal should update when I change my system theme"
#4066 is "I want to change color scheme based off the current RequestedTheme of the Terminal application"

Waiting for this feature. Currently, every time I change to dark/light mode I have to open my terminal config file and comment/uncomment my light colour scheme manually. And yes you would need to set a preferred light scheme, every other application I use does it a similar way.
The smart ones just remember what colour scheme was active last time you were in light/dark mode.

@b-hayes Yup, that's being tracked in #4066.

Waiting for this feature. Currently, every time I change to dark/light mode I have to open my terminal config file and comment/uncomment my light colour scheme manually. And yes you would need to set a preferred light scheme, every other application I use does it a similar way. The smart ones just remember what colour scheme was active last time you were in light/dark mode.

I've setup a cron job using sed and some tricks to change between a light and dark theme, the job runs every 29 minutes and checks if the sun is up using hdate.
https://pastebin.com/LPc2Fe0h
It is a bit hacky, but works, I've setup the terminal to start up with user login.

Or, y'know, this feature was added to the Terminal a couple releases back: https://learn.microsoft.com/en-us/windows/terminal/customize-settings/profile-appearance#color-scheme
"colorScheme":
{
    "light": "One Half Light",
    "dark": "One Half Dark",
},

Or, y'know, this feature was added to the Terminal a couple releases back: https://learn.microsoft.com/en-us/windows/terminal/customize-settings/profile-appearance#color-scheme
"colorScheme":
{
    "light": "One Half Light",
    "dark": "One Half Dark",
},

I didn't look too much into it, I couldn't be arsed to read the whole thread so I made a quick hack for it, thanks for showing me this. Now it syncs perfectly with Night Light settings and Auto Dark Mode.

I don't know why but mine just stays on dark no matter what.
"profiles":
    {
        "defaults":
        {
            "colorScheme": {
                "dark": "Ayu Dark",
                "light": "Ayu Light"
            },
            "font":
            {
                "size": 16.0
            }
        },
        "list":
        ...

@Kellen-Stuart We need to see your complete config file to point out the issue.

I'm guessing it's your theme setting. That needs to be set to default (or, "use windows theme") to allow the app to switch between themes, so that the scheme can match the app's theme.


Provide Camel component Syntax completion

provide syntax completion when:
-- after 'uri="' and before next '"'
-- there is at least one to or from part of camel namespace in the
document
duplicated (ouch) Model and some Model Helper from Camel IntelliJ
plugin

Signed-off-by: Aurélien Pupier<EMAIL_ADDRESS>


PoC: Migration to dotnet core 3.1

Migration looks like a completely new project based on the old one.
I'll gonna start a second project in the repository.
simple changelog

donet core 3.1
removed singleton antipattern
bullet train client can be injected
bullet train HTTP client introduced
bullet train API endpoints
removed package references
TODO
[ ] exception handling

Hey @Menur - thanks for this effort! We need our SDKs to be backwards compatible within the .net landscape, and so we can't merge it in, sorry about that.
We'd be happy to list the fork as an unofficial client tho?

Hi @dabeeeenster, It was just a proof of concept and I've unluckily opened a draft against the main repository master branch.
I plan to get back to these changes later and make them compatible even w/ netstandard2.0

Sounds good!


Skins?

Hey so i opened my client and clicked play and did  and it didnt work. BUT! i did set the right directory and everything https://gyazo.com/fd8fd3cd0f031c8c4285b9e744137af8
https://gyazo.com/2f11ee426f9c4bff620a72348056dadd
anything i need to enable in multiogar?

If you're using Cigar's client then I believe it should be [skinname]

var SKIN_URL = "./skins/co/";

try it without the <> or try it with []

ok

ok

nope

https://gyazo.com/1f8bdee1397102f85ac30edd9f223451

And when i drag the client on the desktop... it has a white screen when i open the index.  https://gyazo.com/a96e1fc26d609d943b9e850804cf2b3e

in knownNameDict , you need to put all of the skins' names. Example:

^^ Oh yeah, I forgot about that xD

lol ill try!

doesnt work even if i put the name in the knownNameDict
https://gyazo.com/9d8440bd220e700a890e2843d50816ee
https://gyazo.com/f4673e23bcd4e8fea027ed59b54fcd86

You're not supposed to use <>, you use  [skinname]

Don't use <> use [skinname]


How can i compile?

Hello, how can i compile code?

Into a jar file?

yes

I'm not home right now so I cannot check, but I think it is a Gradle task setup. You know if you modify it and put it into a jar file, only you can use it and it cannot be distributed/shared, right?

I want my own anti-cheat launcher like https://sonoyuncu.network

"WHAT IS SONOYUNCU NETWORK ?
SonOyuncu Network LogoSonoyunc Network 7 years serving is Turkey's oldest Minecraft server. With SonOyuncu Launcher you can play Minecraft for free."
That has nothing to do with anti-cheat. That's a cracked/pirated launcher.

@leideeen above ^^^^^^^

http://prntscr.com/osaswv They have a system when you connect with another client it gives that error i want to create launcher like this

https://www.google.com/search?q=sonoyuncu+launcher&source=lnms&tbm=isch&sa=X&ved=0ahUKEwjEnKu354DkAhVMz6YKHWAuD2gQ_AUIESgB&biw=1920&bih=937#imgrc=sSAvkVt-_Lo4dM:

Just got home, sorry for delay.

You're not distributing this, right? Only you're using it?

I share only with my players and they can only joiin my server

X
You can't share it with ANYBODY. It is illegal to share a directly modified Minecraft client.

Is there any method to make client-sided anticheat i really need it

Why not just a server side anti-cheat?

server side checks aren't enough some players still hacking

@leideeen Get a better anti cheat. Try NoCheatPlus if you have a spigot server.

Already i tried too many anti cheats thanks anyway

@Justsnoopy30 Sharing a modified Minecraft client (Without sharing SRC) is legal (if it doesn't break Minecraft legal rights (Terms of use)) but remember I mean sharing not distribution (I mean not for commercial use)


HTML layout to be defined and sorts

Design Main Card and forecast cards.
DG - i think we should us temp and date and icon as the output fields and then the three images.


Support for @custom markup

Feature idea:
Would be cool to support @custom:... from NatSpec documentation: https://docs.soliditylang.org/en/v0.8.17/natspec-format.html#tags
Potential code usage:
/// @custom:validation Only contract owner can perform this function
/// @custom:validation This function can be performed only once

Potential result: Additional section below description or parameters.

Thanks, will consider that after the work on a new parser is done.


reduce from 10000 to 100 the maximum Y axis of quality graphs.

A large peak in ping delay often completely obscure the average trends in both delay and packet loss.
This change reduces the maximum value for the Y axis to 100 (from 100000).
In the presense of intermittent large ping delays, this makes it easier to see the general trend in both ping delay and packet loss.

@zxvv In order to have patches accepted you must sign a CLA as described at https://www.pfsense.org/about-pfsense/#legal

I submitted the ICLA.
Sorry for the delay. Gmail inbox buried it, and I found ti today.

@jdillard can you check this while you work on rrdtool changes please?

To my mind, this change is unwise. There are plenty of scenarios where first hop delay can be greater than 100ms - satellite and some cellular scenarios come to mind.
10000ms is maybe too high, but I wonder whether any change is needed now that dpinger is in use and the latency figures should be more reliable.

Op 8-2-2016 om 11:15 schreef David Wood:

To my mind, this change is unwise. There are plenty of scenarios where
first hop delay can be greater than 100ms - satellite and some cellular
scenarios come to mind.
10000ms is maybe too high, but I wonder whether any change is needed now
that dpinger is in use and the latency figures should be more reliable.
—
Reply to this email directly or view it on GitHub
https://github.com/pfsense/pfsense/pull/1816#issuecomment-181290866.

3G internet is regularly in the 100-300ms region, so I'd recommend
atleast using 1 second. Although I've seen in the 2 second ranges if you
have wifi somewhere in between or switches with buffer bloat.
That also applies to other wireless solutions. 3G under load is often in
the second range, 4G is quite a lot better suited and well behaved.
Regards,
Seth

10000 isn't unreasonable as an upper limit. 100 is way too low. 5000 maybe if it were to be dropped at all, though that doesn't seem like a good idea at this point now that we have dpinger in 2.3 which always returns sane values. The only significant need for this before was attributable to apinger's bad math.


”Crasna”, ”Aninișu din Deal”, "Aninișu din Vale", "Buzești", "Cărpiniș", "Crasna din Deal", "Drăgoiești", "Dumbrăveni", "Radoși" are listed in the drop-down menu

Description:
”Crasna”, ”Aninișu din Deal”, "Aninișu din Vale", "Buzești", "Cărpiniș", "Crasna din Deal", "Drăgoiești", "Dumbrăveni", "Radoși" are listed in the drop-down menu alongside their corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Crasna"

Expected results
The location appears in the drop-down menu as "Sat Crasna, GORJ (Crasna)".

Step 3
Write in the search bar "Aninișu din Deal"

Expected results
The location appears in the drop-down menu as "Sat Aninișu din Deal, GORJ (Crasna)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Aninișu din Vale"

Expected results
The location appears in the drop-down menu as "Sat Aninișu din Vale, GORJ (Crasna)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Buzești"

Expected results
The location appears in the drop-down menu as "Sat Buzești, GORJ (Crasna)".

Step 9
Write in the search bar "Cărpiniș"

Expected results
The location appears in the drop-down menu as "Sat Cărpiniș, GORJ (Crasna)".

Step 10
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 11
Write in the search bar "Crasna din Deal"

Expected results
The location appears in the drop-down menu as "Sat Crasna din Deal, GORJ (Crasna)".

Step 12
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 13
Write in the search bar "Drăgoiești"

Expected results
The location appears in the drop-down menu as "Sat Drăgoiești, GORJ (Crasna)".

Step 14
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 15
Write in the search bar "Dumbrăveni"

Expected results
The location appears in the drop-down menu as "Sat Dumbrăveni, GORJ (Crasna)".

Step 16
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 17
Write in the search bar "Radoși"

Expected results
The location appears in the drop-down menu as "Sat Radoși, GORJ (Crasna)".


Support multi-stage image builds

Adds support for the FROM foo AS bar and COPY --from=bar syntax,
allowing multi-stage builds to be executed. The -target flag is supported
on cmd/imagebuilder to allow a specific stage to be chosen.

@bparees closes the gap

Did some manual testing, going to add conformance tests soon.


Postgres system tables simulation

What is the level of Postgres emulation that Buena Vista aims for?
For example, if I do \d in psql to get list of tables, I get following error:
Catalog Error: Scalar Function with name pg_get_userbyid does not exist!
Did you mean "pg_get_expr"?
LINE 1: ...HEN 'partitioned index' END AS "Type", pg_catalog.PG_GET_USERBYID(c.relowner) ...

That is because the pg_ tables don't exist. DBeaver for example is broken when browsing the database as well, since it relies on them being there:

Would it make sense to add simulation of those tables into Buena Vista or is it out of scope and only the wire protocol is the point?

Ah, great question.
So many of the pg_catalog tables do exist; DuckDB has implementations for many of them here: https://github.com/duckdb/duckdb/blob/master/src/catalog/default/default_views.cpp
The problem, of course, is that it doesn't support all of them, and even to the extent that it does, there are conceptual gaps that are hard to get around (e.g., what roles should DuckDB have?)
I don't think I (or DuckDB) can reasonably implement every thing that every BI/DB query tool needs to work with postgres in all of it's glory and complexity. On the other hand, I do think it might be possible to fill out the Presto/Trino protocol stuff (in https://github.com/jwills/buenavista/tree/main/buenavista/http ) to the point where I could (at least for any tool that knows how to talk to Presto/Trino, which isn't everything but is a lot of things) primarily b/c both the protocol and the metadata catalog are so much simpler. I've been working on some other things (https://github.com/jwills/dbt-duckdb alone keeps me reasonably busy), but when I have some more free time I would like to explore making the http protocol into a first-class thing.

Trino protocol might have similar challenge as the JDBC driver relies on views in system.jdbc catalog and schema but at least there's less of them than of the pg_whatever stuff and they seem to be just renames views from information_schema.

@jwills I think I am observing a smilar issue when trying to use datagrip from Jetbrains - the raw SQL can be executed but DataGrip will not recognize the schema and offer any UI assistance - in fact it only recognizes an unnamed empty schema - even though duckdb itself will not show it

@jwills I tried https://github.com/jwills/buenavista/blob/main/buenavista/examples/duckdb_http.py but do not understand how to set it up to retrieve JDBC compliant connections

Hey @geoHeil for the duckdb_http stuff you want to use the presto connector in datagrip

This has a very similar issue that a) only undefined schema and b) no tree drill down work for me


WriteLinesToFile allows creating an empty file with Overwrite=true

#4067 introduced a regression, fixed by #4125, that WriteLinesToFile could no longer create an empty file.
However, #4125 overfixed the issue: in 15.5, the file would be deleted if Overwrite was true:
https://github.com/microsoft/msbuild/blob/e4c819961e3154152cd0c47681527784632aa55f/src/Tasks/FileIO/WriteLinesToFile.cs#L109-L114
But not if it wasn't:
https://github.com/microsoft/msbuild/blob/e4c819961e3154152cd0c47681527784632aa55f/src/Tasks/FileIO/WriteLinesToFile.cs#L149-L152
This was observed in one Microsoft-internal repo by @sphibbs.

Team triage: we don't plan to fix this since it's been in the current state since at least 16.1. Can revisit if there are more reports of a problem.


Apple Match-O Linker Error

Hello!
I am getting the following error after I put the code in the AppDelegate.m file:
ld: warning: directory not found for option '-L/Users/seung/Desktop/Websites/FirstApp/build/Debug-iphoneos'
Undefined symbols for architecture i386:
"OBJC_CLASS$_NgKeyboardTracker", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any help would be appreciated. Thank you!

This happened when I put the below code in to my AppDelegate:

(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[[NgKeyboardTracker sharedTracker] start]; // start tracking
return YES;
}

(void)applicationWillTerminate:(UIApplication *)application {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
[[NgKeyboardTracker sharedTracker] stop]; // stop tracking
}

How do you include NgKeyboardTracker in your project, Cocoapods or manual copy?
If manual copy, make sure you've included NgKeyboardTracker.m in your target.

Thanks for your quick response. i'm using the Podfile. Also, is this framework a InputBar with textfield that I can use for my app? I am trying to implement a CommentsDetailsView controller and I was wondering if this was the right framework to use.. Thanks!

If you're using cocoapods, make sure that you open .xcworkspace.
From your error, it seems very likely that you opened and compiled from .xcodeproj
This project does not include input bar, there're many open-source input bar you can try out there, I do not have any recommendation.

I am closing the issue because it seems to be caused by Xcode project configuration.


Router.initialize is not a function

We're using "react-router": "^2.0.1" with react "react-hot-loader": "^1.1.6" and sometimes when you write some code that breaks you don't get to see the line that actually broke in Chrome's console. The only output is Router.initialize is not a function like so:

i.e. a very general error message that is not related to the code that broke anything which means it's almost impossible to track down the bad code.
Usually, if you have only written a couple of lines, it's easy to just revert it manually and see what line that broke things. However, if you have been changing lots of code it's almost impossible to manually test what lines broke things in this way.
I'm just curious if this problem happens to more people or if anybody have an idea if something is wrong in our setup?

Look at the stack trace. You're trying to call this nonexistent function in your main.js file.

Seems like this issue is easily solved by activating "Pause on exceptions" in Chrome dev tools.

When doing so, Chrome first stops at the line in the source code that provokes the error. (When you continue (F8), you get the indecipherable error message above).


Static files only work for blueprints registered with url_prefix

The option static_folder for blueprints only works correctly when the blueprint has been registered with a url_prefix, otherwise the application's default static URL takes precedence.
There is nothing wrong in that behavior, but it is not documented. It would be nice to have that fact mentioned at http://flask.pocoo.org/docs/blueprints/#static-files and/or http://flask.pocoo.org/docs/api/#blueprint-objects

I ran into this issue as well and found that using static_url_path resolves the ambiguity. This should be documented better, or perhaps the defaults should change.

https://vilimpoc.org/blog/2012/11/21/serving-static-files-from-root-and-not-static-using-flask/
this essay look like is can work fix that situation can be resolved

Something very strange is up when using static_url_path, and I'm not using blueprints.  When I set:
app = Flask(__name__, static_url_path="", static_folder="../public")
then @app.route("/<path:path>") doesn't match on anything even though all my other routes work.  When I set:
app = Flask(__name__, static_folder="../public")
then @app.route("/<path:path>") matches on everything including intercepting all links to resources in index.html, which is annoying.  It seems my only hope is to rebuild :tired_face: to default Flask locations (<app>/static) and see if that magically works.  I dislike magic.  Flask 0.10.1.

Hey guys, thank you @juanitogan, we have been working on this for days and your post really solved it, thanks!

I manually created the rules instead of registering the blueprint
    react = Blueprint('react', __name__, static_folder='../react/dist/')
    app.add_url_rule('/', endpoint='root',
                     view_func=lambda: react.send_static_file("index.html"))
    app.add_url_rule('/<path:filename>',
                     endpoint='react.static',
                     view_func=react.send_static_file)

It works for me when:

set static_folder='static' when creating the Blueprint
use '.static' (note the .) in url_for, e.g.  I have {{ url_for('.static', filename='js/a-script.js') }} in base.html

And here's my app structure:
flask_app
├── flask_app
│   ├── app.py
│   ├── blueprints
│   │   ├── __init__.py
│   │   └── a-blueprint
│   │       ├── blueprint.py
│   │       ├── __init__.py
│   │       ├── static
│   │       │   └── js
│   │       │       └── a-script.js
│   │       ├── templates
│   │       │   └── base.html
│   │       └── views.py
│   └── __init__.py
├── config.py
└── manage.py

@DusanMadar that isn't what this issue is about: you're not mounting the blueprint at /. If you did, you wouldn't get the blueprint's static folder because the app static path would take precedence.

workaround: app.register_blueprint(mod, url_prefix='/')and then just do @mod.route('test') instead of @mod.route('/test') now localhost:5000/test correctly shows what you defined under 'test' in a submodule, which basically has the same effect as no url_prefix

I also happened to run into this issue and I am now at the point that the static folder merges with the application static folder as needed but since I mounted it at a prefix there are 2 related problems.
Only the registration time prefix works as described above. The one in the Blueprint init is not the same.
The other problem is that the url_for template tag is broken for these static files as they are mounted at /static/whatever but the blueprint prefix is computed and prepended in front of it

Found easy solution. Do it only for your page with url_prefix='/', because other pages work correctly
main_page/view.py
`from flask import render_template, Blueprint
main_page_blueprint = Blueprint(
'main_page',
name,
template_folder='templates',
static_folder='static',
static_url_path='/project.main_page.static'
)
@main_page_blueprint.route('/')
def index():
return render_template('main_page/index.html')
`
main_page/templates/main_page/index.html
{% block content%} 	<img src="{{url_for('main_page.static', filename='img/photo.png')}}" alt=""> {% endblock %}
in init.py
from project.main_page.view import main_page_blueprint app.register_blueprint(main_page_blueprint, url_prefix='/')
Hope it works!

Hi, mine worked with this set up:
Folders structures:
flask_app
|---modules
|     |-----user
|     |-----user_entry
|.              |------static
|.              |------templates
|.              |------__init__.py
|.              |-------my_blueprint.py
|
|---static
|---templates
|---app.py

In my_blueprint file:
my_blueprint = Blueprint("loin_register_module",
                                  __name__,
                                  template_folder="templates",
                                  static_folder="static",
                                  static_url_path=**"/modules/user_entry/static"**) #have to show full path from root directory

In my templates files:
<link href="{{url_for('.static', filename='login.css')}}" rel="stylesheet">
<script src="{{url_for('.static', filename='login_page.js')}}"></script>

Hope this will help!


Adding myself 🙋♀

Its an nice initiative for beginners to get started with open-source.
Keep it up bro :+1:

Thanks @divyakelaskar 💛
I hope other's find it useful too 😊


I was relying on -use-hermes but there is no support for hermes in this cli.

Before I relied on -use-hermes on appcenter-cli but on this cli there is no hermes support, my application without using -use-hermes update always fails to be applied.

I'm sorry the current version does not support Hermes but we will add it soon to have a feature parity with the current appcenter-cli version.

I'm sorry the current version does not support Hermes but we will add it soon to have a feature parity with the current appcenter-cli version.

This is a very good news

@lucen-ms Would it be possible to share a potential timeline for the same? Is "soon" weeks or months?

It's 1-2 weeks.

Hermes support has been implemented.


Reverse-Charge Example?

At first thanks for this awesome package.
There is still one thing unclear to me:
How can I apply the tax codes (e.g. "E", "AE") to the invoice and the billing lines in the GOBL JSON?
Can you post a short example for this?

Great to hear this is useful! So the tax code handling was recently improved and moved into the core GOBL library as part of the eu-en16931-v2017 addon included with de-xrechnung-v3. You can see an example here: https://github.com/invopop/gobl/blob/main/examples/de/invoice-de-es-b2b.yaml, with the output [here]
(https://github.com/invopop/gobl/blob/main/examples/de/out/invoice-de-es-b2b.json).
The issue however is that this gobl.xinvoice library is out of date, and we've been focussing on the github.com/invopop/gobl.cii library instead, whose latest PR implements the correct mapping. We hope to release that this week and deprecate this package. I'll leave this issue open so that I remember to provide an update when ready.

I see - thanks for the info!


AttributeError: module 'jax.numpy' has no attribute 'DeviceArray' on 0.4.14

Description
Using latest version of JAX library 0.4.14 cause errors on importing DeviceArray from jax.numpy. Seeme like there is API breaking change on patch version.
The library 0.4.13 works correctly.
What jax/jaxlib version are you using?
0.4.14
Which accelerator(s) are you using?
GPU
Additional system info
Python 3.10, Ubuntu 22.04
NVIDIA GPU info
No response

That's correct, DeviceArray was deprecated in jax 0.4 and removed during the 0.4 series. So that's working as intended. Can you say more about why you need it? jax.Array replaced it.

We are using a model implementation from HuggingFace and simply using latest version fails. If this is intentional is fine, just though it is an issue as patch version provide breaking change.

JAX doesn't at the moment really use semver versioning (and the leading version is 0 anyway, so semver says "anything can change at any time" in this case), so "patch" releases can do this. However this particular API has been deprecated (and hopefully issuing a warning to you) for many months now.
I would follow up with the owner of the model (or whichever library was using the deprecated API). Hope that helps!

When using the jaxfluids library, which is a computational fluid dynamics library that requires JAX, I encountered a similar issue. I installed JAX and jaxlib with versions jax=0.4.14 and jaxlib=0.4.14, respectively. When running the examples, I faced the same problem as you did.
I took a bold approach by using PyCharm's "Replace in file" feature and replaced all instances of jnp.DeviceArray with jnp.Array. This ultimately resolved the issue for me.
finally，success。

You may change jax.numpy.DeviceArray to jax.numpy.array.

You may change jax.numpy.DeviceArray to jax.numpy.array.

good

For posterity, I'll note the advice these days would be: "You may change jax.numpy.DeviceArray to jax.Array or jax.numpy.ndarray". jax.numpy.array is a function, whereas jax.numpy.ndarray is a type, which is an alias for jax.Array.


Add google stemcell stage to heavy stemcell pipeline

Adds jobs to publish heavy GCE stemcells for Ubuntu and CentOS
Adds step to build.sh to publish stemcell checksums to bosh.io
Fixes a failed CentOS google stemcell test

Ubuntu test was already updated to use the new InstanceMetadata provider

#127591235
Signed-off-by: Lyle Franklin<EMAIL_ADDRESS>

Updated PR to publish checksums to bosh.io


WIP: MINIFICPP-1103 - Stabilize MergeFileTests

Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with MINIFICPP-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file?
[ ] If applicable, have you updated the NOTICE file?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

I would like to verify on the env I could reproduce it quite frequently, please don't merge yet!


Review criteria for "connection to FEAGI lost" message

When there is loss of API connectivity with FEAGI, the "Connection to FEAGI lost" message is displayed but seems like it gives up immediately. We need better handling so proper retry count with proper retry frequency is set for recovery.

Define a configurable retry count and keep it in a global config file
Define a rety frequency

we added  basic retry a while back