[Bug]: Dark Mode on home page

What bug you encountered?
Dark mode functionality is not working on the page. only light mode is enabled.
Show us the trouble with screenshots

Which browsers are affected?
Chrome
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

hey @SaiSathvik6 i would like to solve this issue and add a dark mode button under Gssoc 23

In website it still same dark mode is disabled
On Fri, 21 Jul, 2023, 15:49 Piyush Kalyan, @.***> wrote:

Closed #522 https://github.com/PiyushKalyanpy/GyanaGuru/issues/522 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/PiyushKalyanpy/GyanaGuru/issues/522#event-9883819716,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXEZ25CTIF4NIWY2U44J6U3XRJJSBANCNFSM6AAAAAA2SPJAWU
.
You are receiving this because you were mentioned.Message ID:
@.***>


Deny auto start services.

dpkg may start some services when installing, and we deny all of
them by return 101 in /usr/sbin/policy-rc.d. Users can still start
services manually by start some-service if they need it.

Does this fix any bugs in particular?

I think this fixes issue #1994. I can reproduce that bug on samus many times, and it won't happen if I deny services to start. However, I am not quite sure, since that bug is not happening every time.

And we'd have some autotests failing in the past (utopic IIRC?), because dpkg-reconfigure tries to restart (meaning, actually, start) services like udev, rsyslog, etc.

Thanks again for these patches.


Fix/Netlify Analytics API v1 deprecation & switch to v2

Looks like a super simple fix...for now.
I checked in the network tab of the Netlify dashboard and the requests looked exactly like in v1 only with the v1 replaced with v2.
Local testing of index.js execution with this change seemed to worked, but I'd like to first test the whole workflow of our blog with this.
Can you get a feature package version published for us to test in our blog actions workflow with @NiklasMerz ?
If that works, we should merge this soon

Thanks @DavidM42. We can test your branch in our blog the next few days and then release version 2 of this action with API V2


Fix tracking on facet tag removal.

We had a race condition where we could not tell if the facetTagRemoved
GA event would be sent or if the data would be reloaded first.
We need the facetTagRemoved to fire first because we need it to contain the
number of items displayed when the user clicked on the link.
In an attempt to stop the form submission, I added an e.stopPropogation().
It didn't stop the form from being submitted but seems to have allowed the
GA event to happen before the data gets re-loaded, which is the behaviour we are
looking for.
I say seems here because it's a race condition that only happened rarely.
Trello: https://trello.com/c/lEgaXNX7/98-bug-with-finder-event-tracking

I'm going to give this a try on Heroku. They GA events all contain '0' there but I'll be able to tell if the GA events fire in the correct order.

This does seem to work in Heroku, going to push it through to staging.

 Bug with finder event tracking


Only set cookies in debugPrintable when relevant

If HTTPShouldSetCookies is set to false in the session's config then any cookies set will not be sent as part of the request.
Previously the cURL command output provided by debugPrintln() would include cookies whether or not HTTPShouldSetCookies was true or false. This commit will make it so debugPrintln() only prints cookies in the cURL output if they'll actually be sent.

Thank you for your PR @alexpls. I accepted your change with slight modifications in c40d7907.

Great! Thanks @cnoon


DPS 101 not recognized.

Strange issue. Got the device ID and local ID. See the device in domoticz. But when trying to switch, only the colour of the LED goes off.
Plug State Information:
{'devId': '12716401807d3a7b5c6b', 'dps': {'6': '00ff0000000000', '4': 255, '106' : 2272, '101': True, '1': True, '2': 'colour', '10': 'ffff0505ff000000ff00ffff00 ff00ff0000ff000000', '7': 'ffff500100ff00', '104': 0, '9': 'ffff5001ff0000', '8' : 'ffff8003ff000000ff000000ff000000000000000000', '3': 180, '5': '171918009c1919 ', '105': 0}}
This is what I see in domoticz. DPS 1 only shuts the LED off, but not the plug. DPS 101 is also in the list, but does nothing. Confused here. The device is lonsonho power plug from ali with power measurement.
with the turnoff.py and turnon.py I can seem to switch it with the DPS 101, but not in domoticz

my own fault. Needed to re-add device with dps 101.


Authenticate/Decrypt packet error connecting from outside LAN

hello-world,
Some background that may be relevant: I am running openvpn in docker using virtualbox in Windows 10 Home. I am running a pi-hole in another container on docker (it is functioning normally).  I setup a bridged adapter in my virtualbox, so my docker is being given its own IP address by my router.
My issue connecting a client from outside my LAN.  My client is a Pixel 2XL running Android 9.  I have tired two android openvpn clients and am experiencing the issue in both.  When I am connected to my network via WiFi the client connects right away and functions normally, even uses my pihole correctly.  However, I am unable to connect from outside my network (I've only attempted over cellular/4G).
Thu Jun 27 14:54:06 2019 <IP_ADDRESS>:63395 TLS Error: incoming packet authentication failed from [AF_INET]<IP_ADDRESS>:63395
Thu Jun 27 14:54:07 2019 <IP_ADDRESS>:63395 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #1 / time =<PHONE_NUMBER>) Thu Jun 27 14:54:02 2019 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Thu Jun 27 14:54:07 2019 <IP_ADDRESS>:63395 TLS Error: incoming packet authentication failed from [AF_INET]<IP_ADDRESS>:63395
Thu Jun 27 14:54:08 2019 <IP_ADDRESS>:63395 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #1 / time =<PHONE_NUMBER>) Thu Jun 27 14:54:02 2019 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Thu Jun 27 14:54:08 2019 <IP_ADDRESS>:63395 TLS Error: incoming packet authentication failed from [AF_INET]<IP_ADDRESS>:63395
Thu Jun 27 14:54:09 2019 <IP_ADDRESS>:63395 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #1 / time =<PHONE_NUMBER>) Thu Jun 27 14:54:02 2019 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Thu Jun 27 14:54:09 2019 <IP_ADDRESS>:63395 TLS Error: incoming packet authentication failed from [AF_INET]<IP_ADDRESS>:63395
Thu Jun 27 14:54:10 2019 <IP_ADDRESS>:63395 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #1 / time =<PHONE_NUMBER>) Thu Jun 27 14:54:02 2019 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Thu Jun 27 14:54:10 2019 <IP_ADDRESS>:63395 TLS Error: incoming packet authentication failed from [AF_INET]<IP_ADDRESS>:63395
Thu Jun 27 14:54:11 2019 <IP_ADDRESS>:63395 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #1 / time =<PHONE_NUMBER>) Thu Jun 27 14:54:02 2019 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Thu Jun 27 14:54:11 2019 <IP_ADDRESS>:63395 TLS Error: incoming packet authentication failed from [AF_INET]<IP_ADDRESS>:63395
Thu Jun 27 14:54:12 2019 <IP_ADDRESS>:44514 TLS: Initial packet from [AF_INET]<IP_ADDRESS>:44514, sid=cbac9320 92c4e694
Thu Jun 27 14:54:13 2019 <IP_ADDRESS>:44514 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #1 / time =<PHONE_NUMBER>) Thu Jun 27 14:54:12 2019 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Thu Jun 27 14:54:13 2019 <IP_ADDRESS>:44514 TLS Error: incoming packet authentication failed from [AF_INET]<IP_ADDRESS>:44514
Thu Jun 27 14:54:14 2019 <IP_ADDRESS>:44514 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #1 / time =<PHONE_NUMBER>) Thu Jun 27 14:54:12 2019 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Thu Jun 27 14:54:14 2019 <IP_ADDRESS>:44514 TLS Error: incoming packet authentication failed from [AF_INET]<IP_ADDRESS>:44514
Thu Jun 27 14:54:15 2019 <IP_ADDRESS>:44514 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #1 / time =<PHONE_NUMBER>) Thu Jun 27 14:54:12 2019 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Thu Jun 27 14:54:15 2019 <IP_ADDRESS>:44514 TLS Error: incoming packet authentication failed from [AF_INET]<IP_ADDRESS>:44514

I have made no changes to the generated openvpn.conf or client.ovpn, I'm assuming my pi-hole is functioning when connected because it is set as the DNS server at the router.   Here is a log from an openvpn client on android:
2019-06-27 11:06:05 Log cleared.
2019-06-27 11:06:07 MANAGEMENT: CMD 'hold release'
2019-06-27 11:06:07 MANAGEMENT: CMD 'proxy NONE'
2019-06-27 11:06:07 MANAGEMENT: CMD 'bytecount 2'
2019-06-27 11:06:07 MANAGEMENT: CMD 'state on'
2019-06-27 11:06:08 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2019-06-27 11:06:08 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2019-06-27 11:06:08 Control Channel MTU parms [ L:1621 D:1184 EF:66 EB:0 ET:0 EL:3 ]
2019-06-27 11:06:08 MANAGEMENT: >STATE:1561647968,RESOLVE,,,,,,
2019-06-27 11:06:08 Data Channel MTU parms [ L:1621 D:1450 EF:121 EB:406 ET:0 EL:3 ]
2019-06-27 11:06:08 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1541,tun-mtu 1500,proto UDPv4,keydir 1,cipher BF-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-client'
2019-06-27 11:06:08 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1541,tun-mtu 1500,proto UDPv4,keydir 0,cipher BF-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-server'
2019-06-27 11:06:08 TCP/UDP: Preserving recently used remote address: [AF_INET]mypublicip:1194
2019-06-27 11:06:08 Socket Buffers: R=[212992->212992] S=[212992->212992]
2019-06-27 11:06:08 MANAGEMENT: CMD 'needok 'PROTECTFD' ok'
2019-06-27 11:06:08 UDP link local: (not bound)
2019-06-27 11:06:08 UDP link remote: [AF_INET]mypublicip:1194
2019-06-27 11:06:08 MANAGEMENT: >STATE:1561647968,WAIT,,,,,,
2019-06-27 11:07:08 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
2019-06-27 11:07:08 TLS Error: TLS handshake failed
2019-06-27 11:07:08 TCP/UDP: Closing socket
2019-06-27 11:07:08 SIGUSR1[soft,tls-error] received, process restarting
2019-06-27 11:07:08 Waiting 2s seconds between connection attempt
2019-06-27 11:07:08 MANAGEMENT: >STATE:1561648028,RECONNECTING,tls-error,,,,,
2019-06-27 11:07:10 MANAGEMENT: CMD 'hold release'
2019-06-27 11:07:10 MANAGEMENT: CMD 'proxy NONE'
2019-06-27 11:07:10 MANAGEMENT: CMD 'bytecount 2'
2019-06-27 11:07:10 MANAGEMENT: CMD 'state on'
2019-06-27 11:07:11 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2019-06-27 11:07:11 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2019-06-27 11:07:11 Control Channel MTU parms [ L:1621 D:1184 EF:66 EB:0 ET:0 EL:3 ]
2019-06-27 11:07:11 MANAGEMENT: >STATE:1561648031,RESOLVE,,,,,,
2019-06-27 11:07:11 Data Channel MTU parms [ L:1621 D:1450 EF:121 EB:406 ET:0 EL:3 ]
2019-06-27 11:07:11 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1541,tun-mtu 1500,proto UDPv4,keydir 1,cipher BF-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-client'
2019-06-27 11:07:11 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1541,tun-mtu 1500,proto UDPv4,keydir 0,cipher BF-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-server'
2019-06-27 11:07:11 TCP/UDP: Preserving recently used remote address: [AF_INET]mypublicip:1194
2019-06-27 11:07:11 Socket Buffers: R=[212992->212992] S=[212992->212992]
2019-06-27 11:07:11 MANAGEMENT: CMD 'needok 'PROTECTFD' ok'
2019-06-27 11:07:11 UDP link local: (not bound)
2019-06-27 11:07:11 UDP link remote: [AF_INET]mypublicip:1194
2019-06-27 11:07:11 MANAGEMENT: >STATE:1561648031,WAIT,,,,,,
2019-06-27 11:08:11 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
2019-06-27 11:08:11 TLS Error: TLS handshake failed
2019-06-27 11:08:11 TCP/UDP: Closing socket
2019-06-27 11:08:11 SIGUSR1[soft,tls-error] received, process restarting
2019-06-27 11:08:11 MANAGEMENT: >STATE:1561648091,RECONNECTING,tls-error,,,,,
2019-06-27 11:08:11 Waiting 2s seconds between connection attempt
2019-06-27 11:08:13 MANAGEMENT: CMD 'hold release'
2019-06-27 11:08:13 MANAGEMENT: CMD 'proxy NONE'
2019-06-27 11:08:13 MANAGEMENT: CMD 'bytecount 2'
2019-06-27 11:08:13 MANAGEMENT: CMD 'state on'
2019-06-27 11:08:14 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2019-06-27 11:08:14 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2019-06-27 11:08:14 Control Channel MTU parms [ L:1621 D:1184 EF:66 EB:0 ET:0 EL:3 ]
2019-06-27 11:08:14 MANAGEMENT: >STATE:1561648094,RESOLVE,,,,,,
2019-06-27 11:08:15 Data Channel MTU parms [ L:1621 D:1450 EF:121 EB:406 ET:0 EL:3 ]
2019-06-27 11:08:15 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1541,tun-mtu 1500,proto UDPv4,keydir 1,cipher BF-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-client'
2019-06-27 11:08:15 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1541,tun-mtu 1500,proto UDPv4,keydir 0,cipher BF-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-server'
2019-06-27 11:08:15 TCP/UDP: Preserving recently used remote address: [AF_INET]mypublicip:1194
2019-06-27 11:08:15 Socket Buffers: R=[212992->212992] S=[212992->212992]
2019-06-27 11:08:15 MANAGEMENT: CMD 'needok 'PROTECTFD' ok'
2019-06-27 11:08:15 UDP link local: (not bound)
2019-06-27 11:08:15 UDP link remote: [AF_INET]mypublicip:1194
2019-06-27 11:08:15 MANAGEMENT: >STATE:1561648095,WAIT,,,,,,

I am far from an expert and have pretty limited knowledge of networking.  It seems like my client is able to talk to the server from outside my network but is unable to get authenticated.
Thanks!

I resolved this issue by leaving windows behind, installing Ubuntu 18.04 LTS, and following readme instructions.


V6 beta

Wanted to see what everyone thought of this as a direction for v6.
Looking forward to your thoughts.

Have a nice day! 😘


Number.parse implementation error

Version
21.3.0

Test case
var foo = function() {
    var num =  Number.parseInt(108, 8);
    print(num);
};
foo();

Execution steps
/root/.jsvu/graaljs Testcase.js

Output
NaN

Expected behavior
8

Description
The Number.parseInt(string, radix)method parses a string argument and returns an integer of the specified radix or NaN.
If parseInt encounters a character that is not a numeral in the specified radix, it ignores it and all succeeding characters and returns the integer value parsed up to that point. parseInt truncates numbers to integer values. Leading and trailing spaces are allowed.
In this test case, the string parameter is 108, and the radix parameter is 8. The "8" of "108" is not a numeric character in octal, so it should only be 10 when parsing, and the result is 8. However, graaljs returns NaN, which seems to be a problem.
Reference
https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-number.parseint
https://tc39.es/ecma262/multipage/global-object.html#sec-parseint-string-radix

Thank you for reporting this funny test-case. You are right that we do not handle it correctly. We (incorrectly) process all digits and not just the valid prefix when the argument of parseInt is number. It should be easy to fix that.

Fixed by https://github.com/oracle/graaljs/commit/0d36929805aaa68dbc15b6083f42c5959235cb14


[GSB] Cope with elided conformance requirements in concrete nested types

If we encounter an associated type reference within a concrete type, but
haven't seen a specific protocol requirement, add the protocol
conformance.
Fixes rdar://problem/33139928 and another crasher.

@swift-ci please smoke test and merge


Migrate tests from Jasmine 1.3.1 to Jasmine 2.3.4

Upgrade bower package and adjust symlinks
Use new test runner for Jasmine 2
Update assertion syntax throughout tests for new API
Update mock values throughout tests for new API
Update custom matchers for new API
Fix a couple tests for complex object equality round-tripping through JSON
Disable one test that is now failing; will be fixed in another change

Closes #364

LGTM


Version 3.9 does not support the function matplotlib.cm.get_cmap()

Fixes issue, otherwise works well with python 3.11

Thanks David :)


Update VS Code babel extension

Babel ES6/ES7 extension originally referenced is outdated and does not correctly scope many JS contexts.

Thanks!!


Assertion error during kinetics400 validation

🐛 Describe the bug
Running on main:
torchrun --nproc_per_node=8 train.py --data-path /datasets01/kinetics/070618/400/ --train-dir=val --val-dir=val --batch-size=16 --sync-bn --test-only --pretrained --cache-dataset

throws the following error:
Test:  [2200/3008]  eta: 0:11:24  loss: 2.6703 (2.1475)  acc1: 43.7500 (57.4938)  acc5: 68.7500 (77.8623)  time: 0.9043  data: 0.6405  max mem: 5888
Traceback (most recent call last):
  File "train.py", line 392, in <module>
    main(args)
  File "train.py", line 273, in main
    evaluate(model, criterion, data_loader_test, device=device)
  File "train.py", line 62, in evaluate
    for video, target in metric_logger.log_every(data_loader, 100, header):
  File "/private/home/vvryniotis/vision/references/video_classification/utils.py", line 128, in log_every
    for obj in iterable:
  File "/private/home/vvryniotis/.conda/envs/datumbox/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 521, in __next__
    data = self._next_data()
  File "/private/home/vvryniotis/.conda/envs/datumbox/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1183, in _next_data
    return self._process_data(data)
  File "/private/home/vvryniotis/.conda/envs/datumbox/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1229, in _process_data
    data.reraise()
  File "/private/home/vvryniotis/.conda/envs/datumbox/lib/python3.8/site-packages/torch/_utils.py", line 438, in reraise
    raise exception
AssertionError: Caught AssertionError in DataLoader worker process 3.
Original Traceback (most recent call last):
  File "/private/home/vvryniotis/.conda/envs/datumbox/lib/python3.8/site-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop
    data = fetcher.fetch(index)
  File "/private/home/vvryniotis/.conda/envs/datumbox/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 49, in fetch
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/private/home/vvryniotis/.conda/envs/datumbox/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 49, in <listcomp>
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/private/home/vvryniotis/vision/torchvision/datasets/kinetics.py", line 233, in __getitem__
    video, audio, info, video_idx = self.video_clips.get_clip(idx)
  File "/private/home/vvryniotis/vision/torchvision/datasets/video_utils.py", line 362, in get_clip
    assert len(video) == self.num_frames, f"{video.shape} x {self.num_frames}"
AssertionError: torch.Size([17, 288, 352, 3]) x 16

If we apply the following patch:
$ git diff
diff --git a/torchvision/datasets/video_utils.py b/torchvision/datasets/video_utils.py
index f0f19e33..2254f8c5 100644
--- a/torchvision/datasets/video_utils.py
+++ b/torchvision/datasets/video_utils.py
@@ -359,8 +359,8 @@ class VideoClips:
                 resampling_idx = resampling_idx - resampling_idx[0]
             video = video[resampling_idx]
             info["video_fps"] = self.frame_rate
-        assert len(video) == self.num_frames, f"{video.shape} x {self.num_frames}"
-        return video, audio, info, video_idx
+        #assert len(video) == self.num_frames, f"{video.shape} x {self.num_frames}"
+        return video[:self.num_frames], audio[:self.num_frames], info, video_idx

     def __getstate__(self):
         video_pts_sizes = [len(v) for v in self.video_pts]

We get an accuracy which is far from the expected one:
Result:
 * Clip Acc@1 56.488 Clip Acc@5 77.773

Expected:
 * Clip Acc@1 57.50 Clip Acc@5 78.81

Questions:

Is this the right dataset for validating the r2plus1d_18 model?
As far as I can see, the assertion always existed. How did the model got trained without triggering it?
Are the accuracy numbers reported on doc correct?

cc @pmeier @fmassa @bjuncek
Versions
Latest main 0817f7f

Thanks for spotting this @datumbox !
To answer your questions:

yes, this is the right dataset
This assertion always existed, but this error comes from a bug introduced in https://github.com/pytorch/vision/pull/3791. Using sec introduces rounding errors and we end up in some cases with one less frame. I've flagged this in https://github.com/pytorch/vision/issues/4112#issuecomment-867747637 but it hasn't been addressed yet. cc @prabhat00155
The accuracy numbers do surprise me. Maybe it's related to the one less frame from before that affects things? In any case, we should investigate. cc @bjuncek

Thanks for the reply Francisco. Given that our reference is basically broken, I bumped the priority.
An alternative that could buy us time is to submit a temporary patch to remove the assertion until this is properly investigated and fixed. I'm not particularly fond of this, but it might be worth considering if the actual fix is complex and requires time. I'll leave @prabhat00155 and @bjuncek to comment on that.
Concerning the accuracies, I feel that the frame issue shouldn't affect them too much. It's unclear how many records have issues but as you can see from the log, it took parsing 75% of the validation data until we find one record that has issues. While working on the multi-weights project, I've ran tests on multiple existing models and I've noticed quite some variation comparing to our documentation (though not as bad as this one). Definitely worth investigating more.

@bjuncek Thanks for confirming that we were not using the right dataset. Indeed I can see a 480 version called val_avi-480p. Unfortunately I don't have the bandwidth to run for you complex investigations but I will run the model on top of the 480 version and let you know if the accuracy matches.

I run the following:
torchrun --nproc_per_node=8 train.py --data-path /datasets01/kinetics/070618/ --train-dir=val_avi-480p --val-dir=val_avi-480p --batch-size=64 --sync-bn --test-only --pretrained --cache-dataset
Acc@1 57.029 Clip Acc@5 78.352

As you can see the results are closer but not identical to the reported numbers. I think this requires additional investigation. Potentially trying all available datasets on DevFAIR to see which one is the right one.
@bjuncek Do you have other information you could share on how the models were trained? Logs? Training paths? Anything can help.
@prabhat00155 I see that you self-assigned the ticket so I assume you plan to investigate. Let me know if you need anything from me.


fix gpg mentions

Back in January, we updated out GPG key. At the time, in order to have all of our docs display the new key, I ran a script to directly update the corresponding HTML files on the S3 bucket, and updated the main branch of the daml repo (where the corresponding file was at the time).
This seemed sensible at the time as we did not have the ability to update old versions of the docs.
But now we do, and we have pushed new versions of old docs for 2.3.8, 2.3.9, 2.5.1, 2.5.2, 2.5.3, 2.5.4, and 2.4.3. And none of those had the GPG key change, since that had been done on the HTML files directly, and not on the source files on those old branches.
This is now rectified (for 2.3.x, 2.4.x, 2.5.x; earlier branches are still a work in progress as building old branches can be tricky), but that does mean we need to republish the docs for the affected versions.
The docs for 2.6 and above were modified at the source back in January and thus are not affected by this issue.
Due to the large number of files, this PR may be hard to review, so here is a summary of what it contains:

The 2.3.8 folder has been created as a copy of 2.3.9. The LATEST file in 2.3.8 has been modified to reflect the 2.3.8 docs, except for the daml entry which points to 2.3.10 (the first one with the fixed GPG key).
The 2.3.9/LATEST file has similarly been updated for its daml entry to point to 2.3.10.
The 2.5.1 and 2.5.2 folders have been created as copies of the 2.5.3 folder, and their LATEST files have been adapted as above.

In short, to review this PR you should only review the various LATEST files that have been edited or added, and check that:

Their prefix entry matches their folder.
Their daml entry contains the GPG fix; 2.3.10 for the 2.3 releases, 2.4.3-snapshot.20230307.10604.0.9ad498d7 for the 2.4 release, and 2.5.4-snapshot.20230307.11092.0.e86e6a45 for the 2.5 releases.

@garyverhaegen-da: do we have the version string appearing the documentation somehwere, so that it would now say 2.5.4-SNAPSHOT... instead of 2.5.3?

Not to my knowledge; as far as I know prefix is the only string from LATEST that gets into the docs, which is why it's important that it matches the folder name. (From 2.6.0 onward we take that from the folder name directly so there's no risk of desync.)


{Keyvault} az keyvault certificate show: Fix 'NoneType object is not iterable' error

Related command

az keyvault certificate show
Description

az keyvault certificate show would throw
cli.azure.cli.core.azclierror: Traceback (most recent call last):
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/keyvault/_command_type.py", line 135, in keyvault_command_handler
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/arm.py", line 429, in show_exception_handler
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/keyvault/_command_type.py", line 116, in keyvault_command_handler
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/keyvault/_transformers.py", line 285, in transform_certificate_show
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/keyvault/_transformers.py", line 329, in transform_certificate_policy
TypeError: 'NoneType' object is not iterable

when the certificate doesn't have any lifetime actions.
This PR would fix NoneType iteration error.
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Keyvault


GSSOC'24 wanna add my project virtual classes attendance extractor

❓ Questions and Help
the project description is that if we upload the attendance sheet which include the time duration in the virtual class , students list with rolls, and the minimum threshold percentage of class duration attended. the sorted list of students  will be displays. technologies used python libs like flask for backend, pandas for data analysis, etc
can i add this to your repo . i think it can be a intermediate one

@ramsatyasai Explain in details about your project .

@ramsatyasai Explain in details about your project .
its a basic web application which helps the educators for shortlisting the attendance of the students based on the threshold percentage of time they present in the meeting.
user inputs:

csv file with their total students, roll numbers
attendance csv file which contains (student name, first appeared, total time in call
threshold percentage of time
after providing the above inputs the results will be shown in the table format


Error: The assembly name is invalid

I am trying to build cake scripts in Ubuntu.
After installing the necessary packages, when I run ./build.sh I get the above error.
Could you please help me on this?

Duplicate of  #2695


LLDP probe doesn't add switches to the graph until a tcpdump command is explicitly executed on the interface

Hi, I'm currently testing skydive on a virtual test environment. I've noticed that unlike when tested on a physical network, if a lldp probe is listening on a specified interface on a libvirt guest, it seems not to be able to automatically detect lldp packets sent to that interface and display on the graph. But when I run a tcpdump command on that interface, just to make sure that those packets have arrived, then the probe can finally detect the switch sending them. Can anyone explain it to me?

Hi, I suspect an issue with the destination MAC address. Skydive adds multicast address to the interface in order to get LLDP packets. I think the issue disappear with tcpdump because of the promiscuous mode. Can you confirm that the issue disappear if you set this mode to your interface.
ip link set promisc on dev eth0

Can you check if you see in the agent log the follow error message
Failed to add multicast address

Thanks

Thanks for answering,
Adding promiscuous mode to the interface does solve my problem, and I don't have any error messages about attaching multicast addresses. This is strange because if the multicast addresses are added to the interface, the probe should be able to capture LLDP packets without having to go to promiscuous mode. Does the virtual environment have anything to do with this?
I've run into this problem in two cases:

Run skydive binary on a libvirt guest
Run skydive-agent on a docker container as a part of kolla-ansible deployment

Thanks for answering @safchain,
Adding promiscuous mode to the interface does solve my problem, and I don't have any error messages about attaching multicast addresses. This is strange because if the multicast addresses are added to the interface, the probe should be able to capture LLDP packets without having to go to promiscuous mode. Does the virtual environment have anything to do with this?
I've run into this problem in two cases:

Run skydive binary on a libvirt guest
Run skydive-agent on a docker container as a part of kolla-ansible deployment

@safchain
Hi any idea how to fix : "Failed to add multicast address"


Sub Domain assets do not inherit to top level Domains

Affected module
Impacts the UI
Describe the bug
Regarding Subdomains, if the subdomain owns assets, it seems the top-level domain does not own that asset automatically; our assumption is that it should
To Reproduce
Screenshots or steps to reproduce
Expected behavior
1.) Create a Top-Level Domain
2.) Create a Sub-Level domain that belongs to the Domain you created in the previous step.
3.) Add Data Assets to the Sub-Level Domain
4.) Go to the Top-Level Domain, the Assets tab is empty. It should inherit the sub domain assets.
Version:

OS: Kubernetes
OpenMetadata version: 1.5.2
Helm : 1.5.2

Hi support team, we are blocking to implement subdomains concept in openmetadata because of this open issues which the inheritance doesn't work. Is there any plan to fix this in the recent release?


Update devDeps

!

Mostly done – just need to update Babel and Browserify.

@begizi pointed this out, but updating some of these deps leads to that pesky Deferred problem. I'm updating them one at a time to see if I can figure out what the specific cause is...


Enrich Token Sent Transactions

For example

sent tx for AEX-9 token with transaction fee in AE displayed as well but instead the AEX-9 token should be on top and AE below
This shall apply for ERC-20 tokens too.

In terms of Tx and details LGTM.
But I see that The Latest Tx widget is displaying only 2 Tx instead of 3 compared to dev. Probably affected these changes.
I would like to test it again after review.
pr:

develop:

Except for the AE transactions the fee can be included in the amount as it requires no additional line or space to be displayed. So if sending 10 AE with 0.0001692 fee we may show - 10.0001692 AE. What do you think? @smaroudasunicorn

I assume that we decided to stay Latest Tx widget as it is. The rest is LGTM


NICE implementation for RA/CA split

Define a NICE Backend and matching frontend to transfer requests between a frontend machine (User/RA) and a backend (CA) machine.
Proposal: Transfer contents of the csr/csr_attributes table plus an (optional) signature using JSON

Available in the EE


Res50 result

Hi! thanks for your implementation, I tried to change the backbone to resnet50 with other settings not change, but only get 37.0 AP on val 2017 set, I'm wondering if you also encounter the problem, so only res101 model is released ?

@twangnh I only tried resnet101, and the AP on test-dev is higher than val, you can test your model on test-dev to see the result. Also, the result of solov1_r50 is 35.8  in https://github.com/WXinlong/SOLO , so the result of 37.0 is higher than the solov1, i think it is normal.

thanks for reply, yes there is large improvement over solov1, but the solov2 paper report 37.8 val AP with resnet50, so there is a ~0.8 gap between that

I have not tested on resnet50 and have no extra gpu to run the experiment, so can not answer that. I will update when finished.


CCTileMap incorrectly uses the first tileset for all layers

TMX maps can have multiple tilesets. There is a bug happening where if a map has more than one tileset, any layers using a tileset other than the first one are rendered with the first tileset's tiles.

I have a test case and a fix for this in my pull request.

Thanks! I'll take a look at it asap and hopefully we can merge soon.
On 02/03/2015 3:24 pm, "charliekilian"<EMAIL_ADDRESS>wrote:

I have a test case and a fix for this in my pull request.
—
Reply to this email directly or view it on GitHub
https://github.com/mono/CocosSharp/issues/152#issuecomment-76656991.

@charliekilian This issue can be closed from what I can tell correct?

Yep. Damn, should have included in the 1.3.2 release notes. I'll update
that.

Yes, that is correct.

Closed after ce7b35de352024447c395f80c1b74bab2fe36f0e


ReloadData does not call cellForRowAtIndexPath?

This works just fine when I have an array I pass in and it displays cells correctly. But i have a flow where the tableviews data source needs to be reloaded after making a REST call.
I am printing out number of row in section and seeing the correct numbers after I call dispatchQueue.main.async { self.tableView.reloadData();} but I never get into the cellForRowAtIndexPath method after calling reloadData??

Heyy
On Friday, October 26, 2018, iphonerose<EMAIL_ADDRESS>wrote:

Closed #88 https://github.com/Ramotion/expanding-collection/issues/88.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Ramotion/expanding-collection/issues/88#event-1928261000,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Alw2d94n2dnJv-jd9CNGiIFXUsctDCaaks5uoszpgaJpZM4X7x_2
.


Add libjansson-dev to rosdep/base.yaml

Adding key for another JSON C library dependency
https://packages.ubuntu.com/xenial/libjansson-dev
https://packages.debian.org/jessie/libjansson-dev

dev-libs/jansson in gentoo

Please create another PR for this. We don't require contributors to add entries for distributions other than ubuntu and debian given that we don't build packages for these on the buildfarm

Ok


Bug: scrolling in an overflow container using touch doesn't work

I have a scrollable container with a bunch of sortable elements that have drag handles. I can scroll with the mouse, but not on touch devices with drag.
Video:
https://github.com/formkit/drag-and-drop/assets/13283469/44993570-946a-4ad7-a9d9-3997eb3f9abd
Repro:
https://codesandbox.io/p/sandbox/fk-drag-touch-repro-forked-fy4pz9

@wesharper This should be resolved at v0.0.37


README - Installation (OSX) fixes

Hi @ericmjonas,
Thanks for this great library.
I tried installing FFTW and Boost using brew (as described in README), but setup.py is failing for me - it seems like it can't find their header files.
However, when I installed them using conda (conda install -c conda-forge fftw boost), I was able to successfully build and install pychirpz.
Do you mind if I change Installation section of the README - recommend using conda instead of brew (or add it as an alternative way of installation)? I can create a pull-request if you're ok with it.
I would also mention that it's recommended to install Cython before trying to install eigency (I couldn't get it working without this step).
Please let me know what you think about this. I'd be happy to contribute.
Thanks.
Andrii

Yes, I'd totally take a PR! I'm sorry this wasn't working out of the box -- I still want to add a macos build to the circleci CI build but haven't gotten around to it yet.


Android NDK: LOCAL_MODULE definition in jni/Android.mk must not contain space

I use Ubuntu 16.04 and tried to compile tesseract4, by ndk-build to use it inside Android Studio. But I get this result:

jni/Application.mk:6: /home/m/tesseract/android/jni/READONLY/google3/mobile/build/common.mk: No such file or directory
Traceback (most recent call last):
  File "/home/m/android-ndk-r16b/build/extract_manifest.py", line 106, in <module>
    main()
  File "/home/m/android-ndk-r16b/build/extract_manifest.py", line 96, in main
    tree = xml.etree.ElementTree.parse(args.manifest_file)
  File "/home/m/android-ndk-r16b/prebuilt/linux-x86_64/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
    tree.parse(source, parser)
  File "/home/m/android-ndk-r16b/prebuilt/linux-x86_64/lib/python2.7/xml/etree/ElementTree.py", line 657, in parse
    self._root = parser.close()
  File "/home/m/android-ndk-r16b/prebuilt/linux-x86_64/lib/python2.7/xml/etree/ElementTree.py", line 1654, in close
    self._raiseerror(v)
  File "/home/m/android-ndk-r16b/prebuilt/linux-x86_64/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
xml.etree.ElementTree.ParseError: no element found: line 4, column 3
Android NDK: WARNING: APP_PLATFORM android-16 is higher than android:minSdkVersion 1 in ./AndroidManifest.xml. NDK binaries will *not* be comptible with devices older than android-16. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information.
Traceback (most recent call last):
  File "/home/m/android-ndk-r16b/build/extract_manifest.py", line 106, in <module>
    main()
  File "/home/m/android-ndk-r16b/build/extract_manifest.py", line 96, in main
    tree = xml.etree.ElementTree.parse(args.manifest_file)
  File "/home/m/android-ndk-r16b/prebuilt/linux-x86_64/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
    tree.parse(source, parser)
  File "/home/m/android-ndk-r16b/prebuilt/linux-x86_64/lib/python2.7/xml/etree/ElementTree.py", line 657, in parse
    self._root = parser.close()
  File "/home/m/android-ndk-r16b/prebuilt/linux-x86_64/lib/python2.7/xml/etree/ElementTree.py", line 1654, in close
    self._raiseerror(v)
  File "/home/m/android-ndk-r16b/prebuilt/linux-x86_64/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
xml.etree.ElementTree.ParseError: no element found: line 4, column 3
local c includes= jni/../../api jni/../../ccmain jni/../../ccstruct jni/../../ccutil jni/../../classify jni/../../cutil jni/../../dict jni/../../image jni/../../textord jni/../../third_party jni/../../wordrec jni/../../opencl jni/../../viewer jni/../../../leptonica/include
local path=jni
local src files  = ../../api/baseapi.cpp ../../api/capi.cpp ../../api/renderer.cpp ../../ccmain/adaptions.cpp ../../ccmain/applybox.cpp ../../ccmain/control.cpp ../../ccmain/docqual.cpp ../../ccmain/equationdetect.cpp ../../ccmain/fixspace.cpp ../../ccmain/fixxht.cpp ../../ccmain/linerec.cpp ../../ccmain/ltrresultiterator.cpp ../../ccmain/osdetect.cpp ../../ccmain/output.cpp ../../ccmain/pageiterator.cpp ../../ccmain/pagesegmain.cpp ../../ccmain/pagewalk.cpp ../../ccmain/paragraphs.cpp ../../ccmain/paramsd.cpp ../../ccmain/par_control.cpp ../../ccmain/pgedit.cpp ../../ccmain/recogtraining.cpp ../../ccmain/reject.cpp ../../ccmain/resultiterator.cpp ../../ccmain/superscript.cpp ../../ccmain/tessbox.cpp ../../ccmain/tessedit.cpp ../../ccmain/tesseractclass.cpp ../../ccmain/tessvars.cpp ../../ccmain/tfacepp.cpp ../../ccmain/thresholder.cpp ../../ccmain/werdit.cpp ../../ccstruct/blamer.cpp ../../ccstruct/blobbox.cpp ../../ccstruct/blobs.cpp ../../ccstruct/blread.cpp ../../ccstruct/boxread.cpp ../../ccstruct/boxword.cpp ../../ccstruct/ccstruct.cpp ../../ccstruct/coutln.cpp ../../ccstruct/detlinefit.cpp ../../ccstruct/dppoint.cpp ../../ccstruct/fontinfo.cpp ../../ccstruct/genblob.cpp ../../ccstruct/imagedata.cpp ../../ccstruct/linlsq.cpp ../../ccstruct/matrix.cpp ../../ccstruct/mod128.cpp ../../ccstruct/normalis.cpp ../../ccstruct/ocrblock.cpp ../../ccstruct/ocrpara.cpp ../../ccstruct/ocrrow.cpp ../../ccstruct/otsuthr.cpp ../../ccstruct/pageres.cpp ../../ccstruct/params_training_featdef.cpp ../../ccstruct/pdblock.cpp ../../ccstruct/points.cpp ../../ccstruct/polyaprx.cpp ../../ccstruct/polyblk.cpp ../../ccstruct/publictypes.cpp ../../ccstruct/quadlsq.cpp ../../ccstruct/quspline.cpp ../../ccstruct/ratngs.cpp ../../ccstruct/rect.cpp ../../ccstruct/rejctmap.cpp ../../ccstruct/seam.cpp ../../ccstruct/split.cpp ../../ccstruct/statistc.cpp ../../ccstruct/stepblob.cpp ../../ccstruct/vecfuncs.cpp ../../ccstruct/werd.cpp ../../ccutil/ambigs.cpp ../../ccutil/basedir.cpp ../../ccutil/bits16.cpp ../../ccutil/bitvector.cpp ../../ccutil/ccutil.cpp ../../ccutil/clst.cpp ../../ccutil/elst2.cpp ../../ccutil/elst.cpp ../../ccutil/errcode.cpp ../../ccutil/globaloc.cpp ../../ccutil/indexmapbidi.cpp ../../ccutil/mainblk.cpp ../../ccutil/memry.cpp ../../ccutil/params.cpp ../../ccutil/scanutils.cpp ../../ccutil/serialis.cpp ../../ccutil/strngs.cpp ../../ccutil/tessdatamanager.cpp ../../ccutil/tprintf.cpp ../../ccutil/unicharcompress.cpp ../../ccutil/unichar.cpp ../../ccutil/unicharmap.cpp ../../ccutil/unicharset.cpp ../../ccutil/unicodes.cpp ../../ccutil/universalambigs.cpp ../../classify/adaptive.cpp ../../classify/adaptmatch.cpp ../../classify/blobclass.cpp ../../classify/classify.cpp ../../classify/cluster.cpp ../../classify/clusttool.cpp ../../classify/cutoffs.cpp ../../classify/errorcounter.cpp ../../classify/featdefs.cpp ../../classify/float2int.cpp ../../classify/fpoint.cpp ../../classify/intfeaturedist.cpp ../../classify/intfeaturemap.cpp ../../classify/intfeaturespace.cpp ../../classify/intfx.cpp ../../classify/intmatcher.cpp ../../classify/intproto.cpp ../../classify/kdtree.cpp ../../classify/mastertrainer.cpp ../../classify/mf.cpp ../../classify/mfdefs.cpp ../../classify/mfoutline.cpp ../../classify/mfx.cpp ../../classify/normfeat.cpp ../../classify/normmatch.cpp ../../classify/ocrfeatures.cpp ../../classify/outfeat.cpp ../../classify/picofeat.cpp ../../classify/protos.cpp ../../classify/sampleiterator.cpp ../../classify/shapeclassifier.cpp ../../classify/shapetable.cpp ../../classify/tessclassifier.cpp ../../classify/trainingsample.cpp ../../classify/trainingsampleset.cpp ../../cutil/bitvec.cpp ../../cutil/callcpp.cpp ../../cutil/cutil_class.cpp ../../cutil/cutil.cpp ../../cutil/danerror.cpp ../../cutil/efio.cpp ../../cutil/emalloc.cpp ../../cutil/oldlist.cpp ../../cutil/structures.cpp ../../dict/context.cpp ../../dict/dawg_cache.cpp ../../dict/dawg.cpp ../../dict/dict.cpp ../../dict/hyphen.cpp ../../dict/permdawg.cpp ../../dict/stopper.cpp ../../dict/trie.cpp ../../textord/alignedblob.cpp ../../textord/baselinedetect.cpp ../../textord/bbgrid.cpp ../../textord/blkocc.cpp ../../textord/blobgrid.cpp ../../textord/ccnontextdetect.cpp ../../textord/cjkpitch.cpp ../../textord/colfind.cpp ../../textord/colpartition.cpp ../../textord/colpartitiongrid.cpp ../../textord/colpartitionset.cpp ../../textord/devanagari_processing.cpp ../../textord/drawedg.cpp ../../textord/drawtord.cpp ../../textord/edgblob.cpp ../../textord/edgloop.cpp ../../textord/equationdetectbase.cpp ../../textord/fpchop.cpp ../../textord/gap_map.cpp ../../textord/imagefind.cpp ../../textord/linefind.cpp ../../textord/makerow.cpp ../../textord/oldbasel.cpp ../../textord/pithsync.cpp ../../textord/pitsync1.cpp ../../textord/scanedg.cpp ../../textord/sortflts.cpp ../../textord/strokewidth.cpp ../../textord/tabfind.cpp ../../textord/tablefind.cpp ../../textord/tablerecog.cpp ../../textord/tabvector.cpp ../../textord/textlineprojection.cpp ../../textord/textord.cpp ../../textord/topitch.cpp ../../textord/tordmain.cpp ../../textord/tospace.cpp ../../textord/tovars.cpp ../../textord/underlin.cpp ../../textord/wordseg.cpp ../../textord/workingpartset.cpp ../../viewer/scrollview.cpp ../../viewer/svmnode.cpp ../../viewer/svpaint.cpp ../../viewer/svutil.cpp ../../wordrec/associate.cpp ../../wordrec/chop.cpp ../../wordrec/chopper.cpp ../../wordrec/drawfx.cpp ../../wordrec/findseam.cpp ../../wordrec/gradechop.cpp ../../wordrec/language_model.cpp ../../wordrec/lm_consistency.cpp ../../wordrec/lm_pain_points.cpp ../../wordrec/lm_state.cpp ../../wordrec/outlines.cpp ../../wordrec/params_model.cpp ../../wordrec/pieces.cpp ../../wordrec/plotedges.cpp ../../wordrec/render.cpp ../../wordrec/segsearch.cpp ../../wordrec/tface.cpp ../../wordrec/wordclass.cpp ../../wordrec/wordrec.cpp
Android NDK: LOCAL_MODULE definition in jni/Android.mk must not contain space
/home/m/android-ndk-r16b/build/core/build-shared-library.mk:23: *** Android NDK: Please correct error. Aborting    .  Stop.

``
How can I fix this?`

I have the same problem。Did you solve this problem?
Thanks~

https://github.com/tesseract-ocr/tesseract/wiki/User-Projects-–-3rdParty#mobile

Does anybody know what READONLY/google3/mobile/build/common.mk is? It looks like it needs to be downloaded from somewhere else?

@duanju , @rezaee : can you provide information how did you tried make android build?
There are other experiences that it is possible to compile tesseract for android.
@Jingzhe88 : I believe READONLY/google3/mobile/build/common.mk is some internal google file, not needed for tesseract build.

I have fixed this in my fork, which uses Tesseract 4.0. The executable is built with CMake in Android Studio (or on command line). Here is my Windows command for arm64-v8a:
cmake -HD:\git\Tesseract4Android\tesseract4android\src\main\cpp
-BD:\git\Tesseract4Android\tesseract4android\.externalNativeBuild\cmake\debug\arm64-v8a
-DANDROID_ABI=arm64-v8a
-DANDROID_PLATFORM=android-16
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\git\Tesseract4Android\tesseract4android\build\intermediates\cmake\debug\obj\arm64-v8a
-DCMAKE_BUILD_TYPE=Debug
-DANDROID_NDK=C:\local\Android\sdk\ndk-bundle
-DCMAKE_CXX_FLAGS=
-DCMAKE_TOOLCHAIN_FILE=C:\local\Android\sdk\ndk-bundle\build\cmake\android.toolchain.cmake
-DCMAKE_MAKE_PROGRAM=C:\local\Android\sdk\cmake\3.6.4111459\bin\ninja.exe
-GAndroid Gradle - Ninja

Is there anything which needs to be fixed in the Tesseract code base? If not, I suggest to close this issue.
Of course all relevant information how to build for Android can be added to the Tesseract Wiki.

Is there anything which needs to be fixed in the Tesseract code base? If not, I suggest to close this issue.

I would say, yes, there is. The android directory with all its files can (should) be deleted.

Of course all relevant information how to build for Android can be added to the Tesseract Wiki.

Should I add this info to Wiki?

Should I add this info to Wiki?

Yes, please. I suggest to add a new page for Android and refer to it from https://github.com/tesseract-ocr/tesseract/wiki/Compiling.

Will do, probably next week.

Actually, build for Android is so easy, it can be a short section in Compilation guide for various platforms.

It looks like the tess-two project is still based on Tesseract 3.05, or am I wrong? Is there support for the latest Tesseract (4.1 or newer), too?

@stweil see https://github.com/alexcohn/tess-two/tree/4.1. Here is what it says on my device:
./tesseract --version
tesseract 4.1.0
 leptonica-1.79.0
  libjpeg 9b : libpng 1.6.25 : zlib 1.2.8

The eurotext.png is OCRed correctly, but there are still some glitches:

Error in pixReadMemTiff: function not present
Error in pixReadMem: tiff: no pix returned
Error in pixaGenerateFontFromString: pix not made
Error in bmfCreate: font pixa not made
Warning: Parameter not found: enable_new_segsearch

I

This has nothing to do with original reported issue.
Search for answer - it was discussed many times.

@zdenop I posted these 5 glitches not to hijack this thread for unrelated build issues, but as a "progresses report" for @stweil, to show that my tess-two fork is close to completing 4.1 support for Android.

Thank you, @alexcohn, for the information on the 4.1 branch of tess-two. The README in that branch still refers to Tesseract 3.05, so it needs an update, too.

That's what happens when you push work in progress ;)

Thank you, @alexcohn, for the information on the 4.1 branch of tess-two. The README in that branch still refers to Tesseract 3.05, so it needs an update, too.

Fixed.

Closing as Android.mk does not exists in current code anymore.


Spanner verify child schema includes parent PKs

related #853
During persistent entity creation, check that the child entity includes the PK columns of the parent in the correct order.

@ChengyuanZhao Why are we requiring the child entities to map and repeat the keys of the parent? Can we just copy the parent components of the key to the child table when needed? This duplication of keys in the children seems to be causing a lot of pain in keeping them consistent.

@meltsufin There must not be any asymmetry in how the Child POJO and the Parent POJO are treated by the library and in general. In Spanner and here the POJO must hold all columns as properties. We have the embedded columns key  object feature to make this more convenient. However, if the user wanted to use the child as the root of the further family tree then we must not assume that this child has a further parent.
This check isn't strictly necessary, because the all calls will ultimately fail at spanner if these things don't match, but I thought it would be good to notify the user early. I think this is an appropriate place to do this check. Spring Data gives us this verify() function to override, and this is also we have checked for PK key columns order and such  in the past, and that looked good to the Spring Data folks back then too.


[language] fix typo

Motivation
fix typo of "ther"
Have you read the Contributing Guidelines on pull requests?
Yes.
Test Plan
cargo xtest
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/libra/website, and link to your PR here.)

@bors-libra r+

:pushpin: Commit 9f0f424 has been approved by wqfish

:hourglass: Testing commit 9f0f424d0c2d2daffbe4e653ee8aafdf6280731a with merge b4cdfb65862b07771d5090622d781ef780bb501c...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: wqfish
Pushing b4cdfb65862b07771d5090622d781ef780bb501c to master...


Fix a bug of matrix operation in jacobian_impl.h

Thanks a lot for finding this bug!

My pleasure. Thanks for sharing your wonderful work!


[TFLite] Accumulator and bias types coherence for int16x8 FC operator

Original Issue: https://github.com/tensorflow/tensorflow/issues/53763
Opening on behalf of @Tessil
Hello,
We noticed that int32 accumulator and int32 bias support was recently added for the int16x8 FULLY_CONNECTED operator (along with CONV_2D and TRANSPOSE_CONV_2D operators) through the _experimental_full_integer_quantization_bias_type option of the TFLiteConverter :

Add option to store bias as 32 bit in 16x8 Quant.
Update TFLite kernel to use Ruy 16x8 Gemm instead of reference kernel.

It seems though that these changes are leading to some incoherences with potential unexpected overflow and also created a bug. Before an int16x8 FC would always use an int64 accumulator to avoid any overflow and an int64 bias. The current status now seems to be:

converter._experimental_full_integer_quantization_bias_type = tf.int64 or None:

OpResolverType.BUILTIN_REF

use_bias = True

int64 accumulator and int64 bias

use_bias = False

int64 accumulator

OpResolverType.BUILTIN

use_bias = True

int64 accumulator and int64 bias

use_bias = False

int32 accumulator (would have expected an int64 accumulator)

converter._experimental_full_integer_quantization_bias_type = tf.int32:

OpResolverType.BUILTIN_REF

use_bias = True

int64 accumulator and int64 bias (read an int32 bias tensor as an int64 tensor => bug, need to be an int32 bias and would expect an int32 accumulator)

use_bias = False

int64 accumulator (would have expected an int32 accumulator)

OpResolverType.BUILTIN

use_bias = True

int32 accumulator and int32 bias

use_bias = False

int32 accumulator

Ideally we would have expected that an int64 accumulator (no matter if the layer has no bias) and int64 bias would be used when converter._experimental_full_integer_quantization_bias_type = tf.int64 or None (both with the reference and optimized kernels) and an int32 accumulator (no matter if the layer has no bias) and int32 bias when converter._experimental_full_integer_quantization_bias_type = tf.int32 (both with the reference and optimized kernels).
These incoherences also affect the CONV_2D and TRANPOSE_CONV_2D operators and we were wondering if it was intentional (and if so the relation between the bias type and the accumulator type) or just an oversight?
Code to illustrate the bug with converter._experimental_full_integer_quantization_bias_type = tf.int32, OpResolverType.BUILTIN_REF and use_bias=True. It's due to the https://github.com/tensorflow/tensorflow/blob/ea33c1e7a25d8025e8ee405ad8ab7be261798d76/tensorflow/lite/kernels/fully_connected.cc#L835 condition that will be true if kernel_type == kReference no matter the type of the bias while FullyConnectedInt16 will always assume an int64 bias and thus read the int32 bias tensor as an int64 tensor. It fails to provide the expected results with tf_nightly-2.9.0.dev20220114.
import tensorflow as tf

input = tf.keras.Input(shape=[1], batch_size=1)
output = tf.keras.layers.Dense(
    10,
    kernel_initializer=tf.keras.initializers.Constant(value=0),
    bias_initializer=tf.keras.initializers.Constant(value=1),
)(input)
model = tf.keras.Model(inputs=[input], outputs=output)
model.summary()

def representative_dataset():
    yield [tf.constant([1.0])]

converter = tf.lite.TFLiteConverter.from_keras_model(model)
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.representative_dataset = representative_dataset
converter.target_spec.supported_ops = [
    tf.lite.OpsSet.EXPERIMENTAL_TFLITE_BUILTINS_ACTIVATIONS_INT16_WEIGHTS_INT8
]
converter._experimental_full_integer_quantization_bias_type = tf.int32 # Will work if commented

tflite_model = converter.convert()
with open("test.tflite", "wb") as fp:
    fp.write(tflite_model)

interpreter = tf.lite.Interpreter(
    model_path="test.tflite",
    experimental_op_resolver_type=tf.lite.experimental.OpResolverType.BUILTIN_REF, # Will work if commented
)
interpreter.allocate_tensors()

input = [tf.constant([1.0])]
interpreter.set_tensor(interpreter.get_input_details()[0]['index'], input)
interpreter.invoke()
output = interpreter.get_tensor(interpreter.get_output_details()[0]['index'])

# [1.]
print(input)
# Expected: [1. 1. 1. 1. 1. 1. 1. 1. 1. 1.]
print(output)

FYI @dayeongl

This issue originally reported by @Tessil has been moved to this dedicated repository for LiteRT to enhance issue tracking and prioritization. To ensure continuity, we have created this new issue on your behalf.
We appreciate your understanding and look forward to your continued involvement.


Add: WooSung High School

I added an high school in the Republic of Korea.
official website URL: https://woosung.hs.kr
Street Address: Gocheon-Dong 496, Uiwang-si, Gyeonggi-do

@mdisprgm Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Changing to CamelCase instead of dashes.

@mrjoelkemp, any other camelcase changes that need to be made?
Fixes #5

Camel is fine but snake is more pythonic. Whatever works though. These changes plus the repo name are good.


fix grammer mistakes in Quickstart

Thanks @forrestchang! :sparkles: :cake: :sparkles

p.s. 'grammar' is spelled with an 'a', and these changes are not grammar related :)


xml vs xml-rs?

They both have homepage at https://lib.rs/crates/xml-rs, documentation at https://docs.rs/xml-rs, repository at [here]. But their readmes differ:

xml says "add it with cargo add xml-rs"
xml-rs says "add it with cargo add xml"

You can use either one. The xml crate contains the latest stable version of this project. I'm planning to move everyone over to the xml crate once the project reaches 1.0.0.
But in the near future I'm sticking with xml-rs at 0.8 to keep existing users up to date.


Rg503, oga 1.1 PPSSPP emulator dissapears after update.

Before submitting your issue or feature request.  DO NOT REQUEST ASSISTANTS FOR PRELOADED IMAGES.  I do not support or condone the use of preloaded ArkOS images.  Preloaded meaning images that come with copyrighted roms preincluded.  Look for support from the creator or supplier of those preloaded images, not from here!  If a ticket is submitted for assistance for such images or if there's an indiciation that a preloaded image is what the support request is for, the issue ticket will be closed with no further response.

This is not the Stock OS that comes with your device, AmberElec, JelOS, or UnOfficialOS.  ArkOS is a different distribution from those systems and will have differing features.  The only somewhat similarity is that they both use EmulationStation as a frontend.  Even with that, the versions of EmulationStation that's used in between ArkOS and these other distributions is different with different capabilities.  If there are features you prefer with the other available distributions, just use those distributions instead.  The choice is yours.

Have you reviewed the Frequently Asked Questions section available for your supported device in the wiki?

If your issue is related to being able to run certain emulators or ports, have you reviewed the Emulators and Ports section available at https://github.com/christianhaitian/arkos/wiki/ArkOS-Emulators-and-Ports-information for needed bios files and supported rom extensions?

Have you reviewed the known issues section available at https://github.com/christianhaitian/arkos/wiki/Known-issues ?

Describe the Issue (If applicable)
A clear and concise description of what the bug is.
How can the issue be reproduced? (If applicable)
What device are you using?
What version of ArkOS are you on?

You can find this during the initial boot process right before the Emulationstation loading screen

Anything else you'd like to include that may help to review this issue or feature request?

Make sure you've updated to the 12152023 ota update.  That should resolve an issue where folders with a period in it would not show.  If you're on this latest update, make sure your psp games are not in subfolders with a period in the name.

Hopefully the suggestions above solve your issues.  If not, please respond so I can troubleshoot further.

Hopefully the suggestions above solve your issues. If not, please respond so I can troubleshoot further.

On my RGB20 I always update with the PSP roms in the same folder, in the last update the folder is there but ppsspp standalone has disappeared. Before this update everything worked correctly. On my rg503 the installation is clean with the SD formatted. Standalone ppsspp does not appear either. On both consoles I can access the roms with retroarch and play. The path is psp/ppsspp/psp/game.iso. I have always followed this path and it has always worked. No periods, thank you.

So your psp games don't show in the menu either?

I see the problem now.  PSP games were never supposed to to in ppsspp/psp.  They were supposed to go in th root roms/psp or roms2/psp folder per the instructions here.  The ppsspp subfolder is reserved for configuration files, cheats and dlcs.  In the 12/08/2023 update, the ppsspp folder was set to not be displayed so that dlc content doesn't show in the menu.  Just move your games and related saves to the root psp folder and you should be able to play them again.

I see the problem now. PSP games were never supposed to to in ppsspp/psp. They were supposed to go in th root roms/psp or roms2/psp folder per the instructions here. The ppsspp subfolder is reserved for configuration files, cheats and dlcs. In the 12/08/2023 update, the ppsspp folder was set to not be displayed so that dlc content doesn't show in the menu. Just move your games and related saves to the root psp folder and you should be able to play them again.

Ok now runs Good 👍


User Data Service

User Data Service
:recycle: Current situation & Problem
Link any open issues or pull requests (PRs) related to this PR. Please ensure that all non-trivial PRs are first tracked and discussed in an existing GitHub issue or discussion.
:gear: Release Notes
Add a bullet point list summary of the feature and possible migration guides if this is a breaking change so this section can be added to the release notes.
Include code snippets that provide examples of the feature implemented or links to the documentation if it appends or changes the public interface.
:books: Documentation
Please ensure that you properly document any additions in conformance to Spezi Documentation Guide.
You can use this section to describe your solution, but we encourage contributors to document your reasoning and changes using in-line documentation.
:white_check_mark: Testing
Please ensure that the PR meets the testing requirements set by CodeCov and that new functionality is appropriately tested.
This section describes important information about the tests and why some elements might not be testable.
:pencil: Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

[ ] I agree to follow the Code of Conduct and Contributing Guidelines.

@Supereg Wanted to follow up on this PR; do you think we should merge this in here or should some of that functionality move to Spezi Devices?

@Supereg Wanted to follow up on this PR; do you think we should merge this in here or should some of that functionality move to Spezi Devices?

We generally went with incorporating Characteristic and Service definitions on SpeziBluetooth in the SpeziBluetoothServices target. This is what's done here.
We can think of moving all reusable services to SpeziDevices in the future.

Good point, I was just a bit confused by some Omron mentions in the code which seems quite specific to Spezi Devices's medical devices features.
I think keeping a core collection of reusable services and characteristics in here makes a lot of sense, I think this is useful. At some point we could think about some scoping in sub targets to avoid any larger API surfaces but IMO we should be fine with the current scope.

Good point, I was just a bit confused by some Omron mentions in the code which seems quite specific to Spezi Devices's medical devices features.

Yes, this feature development was originally driven by the Omron devices we used as some of the exposed a User Data Service. They defined several extensions on the services which also made it tricky to decide how to best implement this service such that it stays customizable but we do not loose type safety. In the end, Omron specific parts would move to the Omron target in SpeziDevices.

I think keeping a core collection of reusable services and characteristics in here makes a lot of sense, I think this is useful. At some point we could think about some scoping in sub targets to avoid any larger API surfaces but IMO we should be fine with the current scope.

Agree. There might be benefits to, e.g., divide between generic, easily-reusable services (like battery service or device information) and some of the medical services and characteristics. But I think, currently this still works well 👍

Agree; thank you for continuing to work on this @Supereg; greatly appreciated!!


Server side verification should use POST instead of GET

Reference: https://docs.hcaptcha.com/#server

Yes, indeed. While hCaptcha does accept GET-requests to verify, they clearly state their preference for POST. Fixed!


AsyncSingleton not supported in @StackedApp

I use ObjectBox as my Database and I can retrieve the initial Instance with an async Function  await openStore() . But the Singleton Types in the dependency List do not support async Factory methods. My Repositories depend on the Store Singleton, sothat I also needed to register them outside of the @StackedApp in a separate method like this:
setupLocatorAdditions() async {
  appLocator.registerSingletonAsync<Store>(() async => await openStore(),
      signalsReady: false);

  appLocator.registerSingletonWithDependencies(() => WorkoutRepository(),
      dependsOn: [Store]);
}

would be great if this will be possible in the dependencies: [] of the @StackedApp
dependencies: [
      LazySingleton(classType: NavigationService),
      // Something like
     // SingletonAsync(type: Store, future: openStore / asyncFunction: () => await openStore() )
     // and a dependsOn Iterable Attribute to Sync the Dependency Registration
     // Singleton(type: WorkoutRepository, dependsOn: [Store])
    ])

You can use presolves for this.
 Presolve(
     classType: SharedPreferencesService,
     presolveUsing: SharedPreferencesService.getInstance,
  ),

@hurbes  but the openStore() is not a static class function and the stacked generator always creates something like Store.openStore() which doesn't exist.

@DJ2695 since you're wrapping open box as your DatabaseService create a static getInstance method in your database service and presolve that.

got it now. Worked with static Future<Store> getInstance() async => await openStore(); in a DatabaseService class and the Presolve
Presolve(
          classType: DatabaseService,
          asType: Store,
          presolveUsing: DatabaseService.getInstance)

thank you both of you @hurbes and @FilledStacks


Add GetGraphFrameOfElements and PageRank to python shell

See gchq/Gaffer#1436

@t92549 Am I right in thinking fishbowl just picks up these operations dynamically anyway? In which case, as we are only going to support fishbowl in Gaffer 2.0, is this ticket effectively Done?


Refactor

First pass at some debloating.
It now uses npm to install nodeunit and rimraf and run tests.

Closing, will reopen for master.


local_planner_node

Describe the bug
when i run local_planner_realsense.launch , local_planner_node being created
But,  local_planner_node published nothing.!!
To Reproduce
Steps to reproduce the behavior:

Drone switched on '...'
Uploaded mission '....' (attach QGC mission file)
Took off '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Log Files and Screenshots
Always provide a link to the flight log file:

Download the flight log file from the vehicle (tutorial) or from the Gazebo simulation (logs are located in ~/.ros/logs/)
Share the link to a log showing the problem on PX4 Flight Review.
Share a link to a rosbag showing the problem

-VivoBook-ASUSLaptop-X512DA-R564DA:~$ rostopic echo /world
WARNING: no messages received and simulated time is active.
Is /clock being published?
VivoBook-ASUSLaptop-X512DA-R564DA:~$ rostopic echo /fov
WARNING: no messages received and simulated time is active.
Is /clock being published?
-VivoBook-ASUSLaptop-X512DA-R564DA:~$ rostopic echo /local_pointcloud
WARNING: no messages received and simulated time is active.
Is /clock being published?
itis some of topic that local_planner_node publishes.
Additional context/clicked_point
Add any other context about the problem here.

Hi, local_planner_realsense.launch hasn't been updated and it isn't compatible with the current codebase. I am sorry about that. I am going to deprecate it.
Please use local_planner_depth-camera.launch. Thank you


feat: introduce esm

But with the care of compatibility.
List of deps which can be upgraded to esm-only package:

globby
find-up
chalk
clipboardy
strip-ansi
read-pkg
read-pkg-up

Fix - Error [ERR_REQUIRE_ESM]

QA

[ ] For haetae.config.ts in CJS project, QA the behavior by tsconfig.json and/or package.json.
[ ] For config in CJS project, QA the behavior when the config depends on ESM package.

Completed


Rewrite urls when copied clipboard

Sites like facebook and google won't let you copy external urls. Instead they put a verbose tracking url in your clipboard. Normally I go through the hassle of opening the tracking url and copying the destination from my address bar before sharing it.
To simplify this process I extended your plugin to listen for any copy events and rewrite urls in the clipboard data. If this isn't considered out of scope I could create a PR for it.

I definitely like this idea, but I'm worried how it will be implemented. I see you've begun some work on it so I'll have a look at that, and probably also take a stab at it myself and see what we can come up with.

So working backwards from the user experience, I'd see the following ways a User would perform this:
a) Right-click and use the pre-existing "Copy Link Address" context menu item.
b) Right-click and use a custom context menu item for this extension, labeled something like "Copy Clean Link Address".
c) Right-click and use the pre-existing "Copy" context menu item.
In my experimentation, here are my findings on each:
a) This would be the most ideal hook, but it does not seem like there is an event that can be listened to for this. I'll keep looking, but this is probably a no-go as the copy/oncopy does not fire when this action is performed.
b) This would be the 2nd-most desirable way. Probably not that tough to implement.
c) Similar to b, but probably less desirable since the original copy functionality is completely gone in case you wanted to get it unaltered. Also, may as well do b if you're going to do this to highlight what you're doing and remind users how super cool the extension is for them.
What do you think?

OK, @menzow  so a few things:
I've noticed that on Gmail and Google Search organic results, the "Copy Link Address" command does not copy the junky, redirect link that it would pass you through if you were to actually click on it. This is good for all users. Of course, this does not alter the behavior of Facebook redirecting, and others.
Through my experimentation, it seems like there's not a way to tap into Chrome's "Copy Link Address" command, and tapping into the "Copy" command is kinda lame and dirty and not really focused.
I think it's best to utilize the contextMenus API wiht the link context filter. I've created a branch here that has my implementation of a Context Menu that will both skip redirects and remove tracking paramters:
https://github.com/newhouse/url-tracking-stripper/pull/30
Have a look please and let me know what you think...

Closed via https://github.com/newhouse/url-tracking-stripper/pull/33

Hey @newhouse ,
Had a busy week and I completely missed your feedback on this one! I agree that with the available options, adding a contextMenu item is the only way to achieve consistent behavior. My implementation relied on setting a listener on contextmenu and hope that it didn't conflict with the listener on the target site.
Chrome is working on a clipboard api. With this api you can simply register a event listener like: chrome.clipboard.onClipboardDataChanged.addListener. And replace tracking urls in any text copied by the user. The API is currently still in the dev channel but it's something to keep in mind.

That clipboard API looks interesting...hopefully I'll notice when it comes out, thanks!


[EventHubs] Design on Shared Key and SAS credential

echoing: https://github.com/Azure/azure-sdk-for-python/issues/14573

object: gist api/sample code

object: gist api/sample code

Question:
azure core has AzureSasCredential: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/core/azure-core/azure/core/credentials.py#L76-L113, and will have SharedKeyCredential.
so we're building the EHSharedKey andSAS credential on top of those azure core credential?

conclusion: constructor will take the two extra credential type defined in the azure-core.
code would be like:
from azure.core import AzureSasCredential
azure_sas_credential = AzureSasCredential(token)
client = EventHubProducerClient(...credential=azure_sas_credential)


More preparations towards creation of a self-contained codeworld server image

Updated to remove the unwanted files.

Thanks


Add Tutorial Participant

Hey, this somehow got created as a PR into your own develop branch rather than the main one! I'm sorry. I'm making a new one here so it actually goes in the docs! https://github.com/lookit/lookit-docs/pull/37


Create hello-world exercise

Adds the hello-world exercise to the Kotlin track.

I'm not sure it makes sense to stick the gradlew / gradlew.bat files in the exercise itself. I seem to recall going through some iterations of figuring this out in the Java track.  Since the CLI currently gets the exercise data in JSON format (each file is an entry in the JSON) I think it might have blown up with the scripts. Or not. I don't recall.
@exercism/java do any of you recall what happened with this?

Before I arrived on the scene, the decision had been made not to use the wrapper, but to walk folks through the Gradle install (or have them use IntelliJ's built-in support).  Very likely for the reason you state: we don't deliver JARs through the CLI.
In fact, what's good for the goose...  might want to take a look at the xjava build structure.

Thanks for the feedback. I've updated to not use the Gradle wrapper.

Thanks!

Great news! Looking forward to this track


Global cloud rendering

@immiao @byumjin this would be a great real-time rendering project for the winter/spring!
Phase 1 - billboards

[ ] Procedural billboard texture generation from various cloud types
[ ] Navie rendering with Cesium's billboard engine
[ ] Post processing
[ ] LOD rendering if needed

Phase 2 - Volumetric clouds

[ ] Procedural generation from noise, etc.
[ ] GPU ray marched rendering with secondary ray effects

Later

[ ] Connect to real-time weather data

Resources
Inspiration from GeoFS

https://twitter.com/GeoFlightSim/status/913410574146572289
https://twitter.com/GeoFlightSim/status/918851600348844032
https://twitter.com/GeoFlightSim/status/916324430476972033

@ron-popov and @yotam180 may have input.
Cloud rendering

Volumetric Clouds. 2016
Real-Time Cloud Rendering. Eurographics 2001. Early and influential work using billboards
Nubis: Authoring Real-Time Volumetric Cloudscapes with the Decima Engine. SIGGRAPH 2017
The Real-Time Volumetric Cloudscapes of Horizon Zero Dawn. SIGGRAPH 2015. @MegSesh may have feedback on this approach
Modeling, Lighting, and Rendering Techniques for Volumetric Clouds. Game Engine Gems 2
Lots of papers and apps at vterrain.org
Resources from the twitterverse
Dissecting “Tiny Clouds”

Cesium rendering engine

Rendering a Frame
Renderer Design
The Graphics Stack

One link I find interesting (billboard based method) is dead on the Vterrain page. Here is a the paper http://twvideo01.ubm-us.net/o1/vault/gdc04/slides/realistic_and_fast_cloud.pdf
How it's done in GeoFS:

uses billboards with a variable density based on distance from camera.
Billboards are destroyed and generated as the camera moves
Flat clouds are 3D models (quads) with a transparent texture
This works only when camera is close to the ground. Will look strange from high/orbital altitude.
has to fix billboards rotation at each frame when camera roll changes (something is wrong with Cesium's billboard implementation when it comes to "up" orientation)
entity color is modified according to a value ramp based on time of day for dusk/dawn effect.

@xtassin awesome, thanks for the summary!

Hi all,
In regards to the Horizon Zero Dawn Volumetric Cloudscapes presentation
https://www.guerrilla-games.com/read/the-real-time-volumetric-cloudscapes-of-horizon-zero-dawn,
I worked on implementing this as a C++ plugin in Nuke during my Pixar
internship this past summer. A couple other GPU current students and I
(Aman Sachan, Joe Klinger, and Dan McCann) are planning to implement this
for our final project this semester as well.
The 2015 presentation offers great insight on the approach overall, as well
as the motivations behind it. It essentially breaks down into the following
sections:

Goals / Explorations / Method comparisons
Modeling

Raymarching through multiple low and high resolution 3D textures
created from a combination of low and high resolution Perlin and Worley
noises
Describing the weather authoring system they used to dictate cloud
coverage, type, and precipitation

This and their density model is described much much better in
their Nubis 2017 presentation
http://www.advances.realtimerendering.com/s2017/index.html

Lighting
Achieving multiple-scattering using a combination of Beer's Law and
the Henyey-Greenstein function
Using a combination of beer's law and other equations to create a
more "powder" looking effect on the clouds
More thorough description in their Nubis 2017 presentation
http://www.advances.realtimerendering.com/s2017/index.html

Rendering

Describing the scale of the world, placement of the clouds in the
atmosphere, and their raymarching methods through the textures and to the
light

Optimizations

Some brief mentions of ways they optimized. Better described in the
GPU Pro 7 book (below).
More thorough explanation in their Nubis 2017 presentation
http://www.advances.realtimerendering.com/s2017/index.html

The GPU Pro 7 book
https://www.amazon.com/GPU-Pro-Advanced-Rendering-Techniques/dp/149874253X
contains
a more descriptive article based on this presentation and goes into a
little more implementation detail. So this book would be another great
resource.
Let me know if you have any other questions!
-Meghana
On Fri, Nov 3, 2017 at 8:04 AM, Patrick Cozzi<EMAIL_ADDRESS>wrote:

@xtassin https://github.com/xtassin awesome, thanks for the summary!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/AnalyticalGraphicsInc/cesium/issues/5962#issuecomment-341685495,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFKijlJF704bD5msfaNEPZVTcCC0_CAOks5sywFfgaJpZM4QP2ss
.

--
Meghana Seshadri
M.S.E., Computer Graphics and Game Technology
University of Pennsylvania School of Engineering and Applied Science
<EMAIL_ADDRESS>

@MegSesh great summary, thanks so much for the notes! @immiao, @byumjin, and I will stay in touch as this moves forward.
Great final project idea as well!

CC #797 - some WebGL 2 features like 3D textures will be required - we can have a fallback for WebGL 1.

Forum discussion: https://groups.google.com/forum/#!topic/cesium-dev/Hpzap5oNKJg

Repo for weather API integration by @immiao: https://github.com/immiao/cesium-weather

@immiao could you please evaluate these weather APIs:

https://aws.amazon.com/public-datasets/nexrad/
https://openweathermap.org/api
https://www.wunderground.com/weather/api/
http://customweather.com/products/
https://spire.com/data/weather/
http://apidev.accuweather.com/developers/

Sure!

@immiao NASA is also a great source of weather data, please evaluate:

NASA Global Imagery Browse Services (GIBS)

Available layers
API
Cesium demos

Forecast modeling

https://gmao.gsfc.nasa.gov/weather_prediction/
https://gmao.gsfc.nasa.gov/reanalysis/

Related killer projects by CIS 565 students

Real-time Cloudscape Rendering in Vulkan by @Aman-Sachan-asach and @MegSesh
Marshmallow - Vulkan-based implementation of clouds from Decima Engine by @klingerj and @mccannd

Our project has been renamed to Meteoros
https://github.com/Aman-Sachan-asach/Meteoros.
Best,
Aman Sachan
On Tue, 5 Dec 2017 at 09:15 Patrick Cozzi<EMAIL_ADDRESS>wrote:

Related killer projects by CIS 565 students

Real-time Cloudscape Rendering in Vulkan
https://github.com/Aman-Sachan-asach/Vulkan_Cloudscape_Rendering by
@Aman-Sachan-asach https://github.com/aman-sachan-asach and @MegSesh
https://github.com/megsesh
Marshmallow - Vulkan-based implementation of clouds from Decima
Engine https://github.com/mccannd/Project-Marshmallow by @klingerj
https://github.com/klingerj and @mccannd https://github.com/mccannd

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/AnalyticalGraphicsInc/cesium/issues/5962#issuecomment-349316244,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHhfdr0c_J1owMNIrRW0qnLqwRHf9Pd3ks5s9U__gaJpZM4QP2ss
.

Also see Volumetric Clouds based on "Volumetric Clouds and Mega- Particles"

Perhaps another datasource to check out: EarthServer: 1+ Petabyte Analysis-Ready Datacubes

Not sure if this'll be relevant, but it's cool and well written, Mapbox blogpost on wind sim: https://blog.mapbox.com/how-i-built-a-wind-map-with-webgl-b63022b5537f

some WebGL 2 features like 3D textures will be required - we can have a fallback for WebGL 1.

Reading through the Horizon Zero Dawn presentation, theoretically couldn't we pack the 3D texture to 2D? Back-of-the-envelope math, 128^3 takes much less GPU memory than 2048^2. Would it be too slow though?

Packing into a 2D texture could be fine.  For example, see "Real-Time Volumetric Lighting for WebGL" - https://github.com/WebGLInsights/WebGLInsights.github.io/releases/download/v1.0/WebGL.Insights.-.Patrick.Cozzi.pdf

Just as a note, the 3D textures define the cloud using all the input
parameters that are provided by the the weather map. The weather map
described in the paper was a 512*512 texture that defined a 100,000sq km.
Or the weather map can be replaced by a simulation. So over all if you pack
the cloud textures (low frequency 3D texture, high frequency 3D texture,
and a 2D curl noise texture), it should not be that terrible in terms of
memory. Also, apparently the original authors weren't able to perfect it to
the point that they could ship it with the game.
On Mon 18 Dec, 2017, 12:53 PM Patrick Cozzi<EMAIL_ADDRESS>wrote:

Packing into a 2D texture could be fine. For example, see "Real-Time
Volumetric Lighting for WebGL" -
https://github.com/WebGLInsights/WebGLInsights.github.io/releases/download/v1.0/WebGL.Insights.-.Patrick.Cozzi.pdf
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/AnalyticalGraphicsInc/cesium/issues/5962#issuecomment-352504091,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHhfdp8d-hHle3dWHPB3LU4bMzyZ0f6Tks5tBqaHgaJpZM4QP2ss
.

SIGGRAPH 2016 course: Physically Based Sky, Atmosphere & Cloud Rendering


job submitted in login node not being cancelled if all rules fail?

I'm trying to update my snakemake workflow to v8+
My nuisance so far is the following. I submit my workflows as a job in the login node from where snakemake with the executor do their thing. Problem is, if the jobs spawned by the executor fail, the job in the login node is not terminated leaving me with the "nuisance" of having to manually "scancel" my failed snakemake job. The log does not help either, it just shows the submission of jobs, so I'm guessing snakemake is not detecting the failed downstream jobs.
Is this an intended behavior? Am I missing an option that needs to be activated with the executor?
Previously, when I submitted a job in the login node via sbatch and snakemake v7 with the old slurm profile, upon a job failing, the job in the login node would immediately terminate (as intended, as the workflow could not continue because of downstream jobs failing).

This is absolutely not intended behaviour. However, Snakemake will keep running until a last job has been finished (well or otherwise) to enable proper restart without loosing too many resources. Cancelling the workflow itself, will cancel all jobs. Cancelling or finishing will take time, though. Snakemake needs to check files locally and we do intentionally not check a job status every second (more configurability will be implemented, soon-ish).
That being said: Can you please run your workflow with --verbose and attach the log? Please indicate the Snakemake and plugin versions. Thank you.

Snakemake-minimal 8.16.0
snakemake-executor-plugin-slurm 0.9.0

I attached the log for the job in the login node and the submitted job that fails. Adding --verbose did not change what is captured in the logs.
failed_job.log
master_job.log

Interesting workflow. If not already there, I hope you include in the workflow catalog.
Anyway, I meant that a workfow execution with failing jobs with --verbose gets captured. It does indeed look like the verbose flag is not in effect. Weird. What is your command line?

I've been using the following to run my workflow:
snakemake build_run_analyze --cores 512 --jobs 12 --configfile config/config.yaml --snakefile Snakefile_p.smk --executor slurm --verbose

Ah, running within a job context might give some issues. I have an idea to work on it, but could you try running your snakemake command on the login node?

Ah, running within a job context might give some issues. I have an idea to work on it, but could you try running your snakemake command on the login node?

Just did that and the result is exactly the same, the log output does not change at all and I have to manually terminate the snakemake run. One thing that I noticed is that in ALL of my snakemake runs the job is submitted with the same ID according to snakemake, its ALWAYS jobid 128
Job 6ba15ce9-7f9c-5763-a0e2-85de61553374 has been submitted with SLURM jobid 128 (log: bla bla bla/128.log).
But in reality all jobs have different job ids as I would expect.

That is another strange observation. Note, the job name is constant, as it is used to keep track of the jobs within one workflow run. When another workflow is started, it is different. The SLURM job IDs, however, ought to be incremented by SLURM itself. If this is not the case, please run:
$ sinfo --version
$ sacct -u $USER

sacct -u $USER

The job IDs are indeed incremented by slurm correctly, I just pointed out that log does not show this same job IDs. Regarding the job names, I can only say they indeed change from one workflow run to another, but I cant confirm if it remains constant as currently my workflow is failing in the first job submission.
Either way, this is the output of the commands. even though it seems unrelated?

That the job(s) are failing is one issue. Explainable by the error message numba.core.errors.TypingError: Use of unsupported NumPy function 'numpy.empty' or unsupported use of the function . That Snakemake continues to run as the shepherd for still running jobs is explainable as well (I already tried), it will try to finish as much as possible.
However, if understood correctly, ending Snakemake with CTRL+c or sending SIGINT did not cancel the jobs, and you have to do it manually? And the second Snakemake related issue is that only one constant SLURM JOBID gets reported.
Well, your logs, which were in a SLURM job, do not indicate the submission of multiple jobs, but of one job, only.
Do you have a public repo and test data to try?

That the job(s) are failing is one issue. Explainable by the error message numba.core.errors.TypingError: Use of unsupported NumPy function 'numpy.empty' or unsupported use of the function . That Snakemake continues to run as the shepherd for still running jobs is explainable as well (I already tried), it will try to finish as much as possible.
However, if understood correctly, ending Snakemake with CTRL+c or sending SIGINT did not cancel the jobs, and you have to do it manually? And the second Snakemake related issue is that only one constant SLURM JOBID gets reported.
Well, your logs, which were in a SLURM job, do not indicate the submission of multiple jobs, but of one job, only.
Do you have a public repo and test data to try?

I think somethings are not clear from my explanation.
Just to give you some background, I'm testing migrating my workflow from snakemake 7 to 8 and updating a lot of dependencies in the process (hence , the np.empty error, this is not the issue I'm talking about).
My issue is just about the "nuisance" of having to manually terminate snakemake, either via job context (using scancel), or directly in shell (using ctrl+c), whereas with the "old" slurm profile, whenever a job failed, snakemake would terminate immediately.
As a secondary finding, I reported that when using the plugin, the log always show that jobs are submitted with "jobID" 128, but the jobs have other job IDs that are given by slurm, I have no idea if this is a problem, just pointed it out.
For reproducibility, I created a very simple workflow:
rule test:
  input:
    "script.py",
    "data.txt"
  output:
    "out.txt"
  script:
    "script.py"

With a script that fails on purpose:
import numpy as np

test = np.empty(0,0)

And I run it with the following command line:
snakemake --executor slurm --jobs 1 --verbose
The python script fails immediately but snakemake carries on, this time though the verbose keyword is generating things:
2024-08-09T110810.796577.snakemake.log
I would expect snakemake to terminate as rule test failed, but that is not happening even though, according to the log, it is detecting the submitted job as failed.
I hope this is more clear and allows to better track the issue!

My issue is just about the "nuisance" of having to manually terminate snakemake, either via job context (using scancel), or directly in shell (using ctrl+c), whereas with the "old" slurm profile, whenever a job failed, snakemake would terminate immediately.

When working with the profile, SLURM support was not an integral part of Snakemake. Snakemake had no idea of what was going on. Know, the plugin will report failed jobs, immediately when the status is known (to avoid straining the scheduler DB we ask at certain intervals, so there is no immediate feedback - otherwise a number of admins would not allow Snakemake to run on "their" cluster with a good reason). It continues working as still running jobs might create valuable results. And a user can always restart a workflow to complete them. If you, however, are observing the run and want to fix things during development, you need to signal Snakemake (CTRL-c or otherwise). To fail upon error is a feature, I could implement. It will not be a default.
Regarding the job ID: your master log only shows one submitted job. Does it really look like this when run on the login node?

My issue is just about the "nuisance" of having to manually terminate snakemake, either via job context (using scancel), or directly in shell (using ctrl+c), whereas with the "old" slurm profile, whenever a job failed, snakemake would terminate immediately.

When working with the profile, SLURM support was not an integral part of Snakemake. Snakemake had no idea of what was going on. Know, the plugin will report failed jobs, immediately when the status is known (to avoid straining the scheduler DB we ask at certain intervals, so there is no immediate feedback - otherwise a number of admins would not allow Snakemake to run on "their" cluster with a good reason). It continues working as still running jobs might create valuable results. And a user can always restart a workflow to complete them. If you, however, are observing the run and want to fix things during development, you need to signal Snakemake (CTRL-c or otherwise). To fail upon error is a feature, I could implement. It will not be a default.
Regarding the job ID: your master log only shows one submitted job. Does it really look like this when run on the login node?

Ok, so according to your answer it is indeed intended behavior then. As I mentioned before, I opened this issue because in snakemake v7, the default behavior is terminate snakemake upon job failure UNLESS you use the --keep-going flag.
I still feel it does not make sense that if I run the test workflow without --executor (snakemake --jobs 1 --verbose), snakemake terminates immediately after the "rule test" fails.
In your answer you say:

It continues working as still running jobs might create valuable results

but there are NO other downstream/parallel jobs running, yet snakemake is kept "waiting" for something that will never happen. And again, we have the --keep-going flag for that.
Regarding the log in my last answer, that was a run in the login node via shell, and it only shows one job because there is only one job being submitted.

I checked: --keep-going will run the workflow (and continues to submit jobs) like it would with local execution until Snakemake encounters a job with missing input. Hence, a significantly higher portion of the workflow can be executed. But, no, there is no cancellation of the entire workflow.
For this, I can implement a new (boolean) flag. It might be handy for development purposes.

I checked: --keep-going will run the workflow (and continues to submit jobs) like it would with local execution until Snakemake encounters a job with missing input. Hence, a significantly higher portion of the workflow can be executed. But, no, there is no cancellation of the entire workflow.
For this, I can implement a new (boolean) flag. It might be handy for development purposes.

Having a boolean flag would be really useful! It will at least allow to recover the previous bahevior from snakemake 7,  which in my opinion is indeed much better for development/debugging stages.

made a PR, please check it (#139)


raise KeyError as .fetch would do to behave more intuitive

I want to show an error message when a user asks for an unknown context, so catching a KeyError would be much nicer than RuntimeError ... also seem like the correct exception to me when it basically behaves like a .fetch

LGTM :+1:
@moolitayer can you review?

@grosser it seems that Travis is failing and it has some troubles displaying the relevant logs about the failures. Maybe you can look after this (check if failures are legitimate, fix if needed, restart travis job by closing/reopening this PR, etc.). Thanks.

fixed

@grosser please take a look here
Looks really similar and probably should have the same exception

fixed
On Thu, Mar 2, 2017 at 12:53 AM, Mooli Tayer<EMAIL_ADDRESS>wrote:

@grosser https://github.com/grosser please take a look here
https://github.com/grosser/kubeclient/blob/0ad44c42742740a426fa8974803623c240fe2a91/lib/kubeclient/config.rb#L75
Looks really similar and probably should have the same exception
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/abonas/kubeclient/pull/228#issuecomment-283594054,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAsZ6AH9pAOCIm4fKrswwY9Y6seqsOYks5rhoObgaJpZM4MQBHr
.

@moolitayer can you review/ack?


shopper install migration

Shopper install migration returning error

It said this table media is exists,so you can check you mysql database .


composer.json: allow installing with PHP 8.1

So, uh, we enabled testing for 8.1 but we actually don't allow this package to be installed on 8.1? 😅
Not sure if I missed something here 😬 But if not, allow installing for 8.1!

I've especcially added myself as reviewer, to re-check it later. If I'm not mistaken ^8.0 implies all minor versions of 8, including both 8.0 and 8.1

🤦🏼
@leon0399 you are totally right.
No idea what I was thinking. I think I was misguided by seeing an explicit 8.1 reference in the GitHub action but not in composer, which is totally fine.
Yeah, this should be reverted => it's redundant.
Sorry!

There's no problem leaving as it is. On the next upload of some feature we just revert it.


Improve README readability

Renamed README.txt to README.md
Did minor adjustment to git markdown

Sorry, it's not markdown it's reStructured text.
I renamed it on master.