Package webextension for Safari?

Now that Apple's adopted the WebExtension API, could the extension be made available for Safari? Or is Apple's implementation missing required functionality?

It should work fine on Safari, (and in the iPhone version too, I think) but Apple doesn't support the same .zip file distribution that's used in all the other extension stores - you need a Mac to package it in XCode and a $100-a-year developer account.
If someone wants to donate about $3000 AUD to get those I'd happily build it 😸

It doesn't solve the developer account problem but I wonder if Macstadium's free hosted Mac for open source software would remove the need for you to own a Mac?

I'm trying to make the options page look more at home in Safari - how's this for the desktop version?

I take it this is all one long scrolling panel? It's quite a lot to take in, but given Apple forces you into a popover I think it's as usable as it could be.
I don't know how much control you have over the styling of the options page, or whether the effort involved would be worth it, but a way to make it less visually overwhelming, if technically posisble, might be to use iOS-style drilldowns the way 1Blocker does:

That would be a much larger effort, initially I'm just styling the same options page for all versions of the extension, but something to consider after the initial port.
In the middle of doing the iOS version, in which the dropdowns are particularly brutal compared to the native drilldowns 🙈


The node is stuck on "Distributing Validator Rewards".

The node got stuck during the upgrade to version v17. The logs are as follows:
{"level":"info","time":"2024-06-07T10:01:19+08:00","message":"starting node with ABCI Tendermint in-process"}
{"level":"info","server":"node","module":"proxy","impl":"multiAppConn","msg":{},"time":"2024-06-07T10:01:19+08:00","message":"service start"}
{"level":"info","server":"node","module":"proxy","connection":"query","module":"abci-client","impl":"localClient","msg":{},"time":"2024-06-07T10:01:19+08:00","message":"service start"}
{"level":"info","server":"node","module":"proxy","connection":"snapshot","module":"abci-client","impl":"localClient","msg":{},"time":"2024-06-07T10:01:19+08:00","message":"service start"}
{"level":"info","server":"node","module":"proxy","connection":"mempool","module":"abci-client","impl":"localClient","msg":{},"time":"2024-06-07T10:01:19+08:00","message":"service start"}
{"level":"info","server":"node","module":"proxy","connection":"consensus","module":"abci-client","impl":"localClient","msg":{},"time":"2024-06-07T10:01:19+08:00","message":"service start"}
{"level":"info","server":"node","module":"events","impl":"EventBus","msg":{},"time":"2024-06-07T10:01:19+08:00","message":"service start"}
{"level":"info","server":"node","module":"events","module":"pubsub","impl":"PubSub","msg":{},"time":"2024-06-07T10:01:19+08:00","message":"service start"}
{"level":"info","server":"node","module":"txindex","impl":"IndexerService","msg":{},"time":"2024-06-07T10:01:19+08:00","message":"service start"}
{"level":"info","server":"node","module":"consensus","hash":"\ufffdr\u001eH\ufffdFE\ufffd^dL \t\\d\ufffd\ufffd\ufffd\ufffd]\ufffd\ufffdF\ufffd`\ufffd8[\ufffd\ufffd\ufffd\ufffd","height":3388199,"protocol-version":0,"software-version":"v17.0.0-1-gc4eb81f3","time":"2024-06-07T10:01:19+08:00","message":"ABCI Handshake App Info"}
{"level":"info","server":"node","module":"consensus","appHeight":3388199,"stateHeight":3388199,"storeHeight":3388200,"time":"2024-06-07T10:01:19+08:00","message":"ABCI Replay Blocks"}
{"level":"info","server":"node","module":"consensus","time":"2024-06-07T10:01:19+08:00","message":"Replay last block using real app"}
{"level":"info","time":"2024-06-07T10:01:19+08:00","message":"applying upgrade \"v17\" at height: 3388200"}
{"level":"info","time":"2024-06-07T10:01:19+08:00","message":"Running upgrade handler for v17"}
{"level":"info","time":"2024-06-07T10:01:19+08:00","message":"migrating module observer from version 6 to version 7"}
{"level":"info","time":"2024-06-07T10:01:19+08:00","message":"Migrating observer store from v6 to v7"}
{"level":"info","time":"2024-06-07T10:01:21+08:00","message":"Distributing Validator Rewards Total:7215711805555555555 To FeeCollector : fee_collector"}
{"level":"debug","time":"2024-06-07T10:01:21+08:00","message":"Total Rewards Units : 9 , rewards per Unit<PHONE_NUMBER>95473251 ,number of ballots :1"}
{"level":"debug","module":"evm","balance":122665000000000000000,"codeHash":"0xe608049dfedadd5b9a40a5b88061253c111a4d5f703a2cc3f43169847063d26b","ethereum-address":"0x11C104b03a99B61358d5EccaC9F5C47C36F86302","nonce":1,"time":"2024-06-07T10:01:21+08:00","message":"account updated"}
{"level":"debug","module":"evm","ethereum-address":"0x11C104b03a99B61358d5EccaC9F5C47C36F86302","key":"0x46ce11255458a4ab01c4b8f89ddebe6659ec8dc96e920fd6b2ce59c3ce941f7d","time":"2024-06-07T10:01:21+08:00","message":"state updated"}
{"level":"debug","module":"evm","ethereum-address":"0x11C104b03a99B61358d5EccaC9F5C47C36F86302","key":"0x46ce11255458a4ab01c4b8f89ddebe6659ec8dc96e920fd6b2ce59c3ce941f7e","time":"2024-06-07T10:01:21+08:00","message":"state updated"}
{"level":"debug","module":"evm","ethereum-address":"0x11C104b03a99B61358d5EccaC9F5C47C36F86302","key":"0x46ce11255458a4ab01c4b8f89ddebe6659ec8dc96e920fd6b2ce59c3ce941f7f","time":"2024-06-07T10:01:21+08:00","message":"state updated"}

I don't see any error logs.

The zeta process has no IO and very low CPU usage.

After starting with the snapshot data, the blocks started syncing normally.


CSS for Advanced Slides

Hey @0atman,
I've been having a look over at Advanced Slides for Obsidian and I'm loving it! You seem to be using the black theme for it, but I can't quite work out what your highlight theme. Is it something custom? I'm just asking because the default themes don't appear to cut the mustard for code highlighting.
If you don't want to share, then no worries!

Sorry I missed this! This is the vs2015 highlight theme, as well as the black theme.


Improve documentation of struct in regards when to use it

Based on the explanation given to me in #1130 which helped me
a lot so I wanted to share it. As this is still my only source
of information it might as well be that the description given
here is not 100% correct
is it just me where all the dates change in all the files on
one rake build ? Or is there a better way to do this/should I not commit those changes?

No idea why the build failed :(

@PragTob Thanks! I don't know why the build failed either, sometimes travis has issues.
Could you re-send another pull request after pulling some changes I did to the Rakefile? I changed it so that those useless date changes are reverted after the docs are generated, so your new pull request would include just two files (and it could also include just one file, travis is now set up to generate the .html from the .md automatically).

Will totally do that, thanks @asterite !


Support/b2cqa 1737 dummy buy app and tests

📝 Description
Added tests for Buy app navigation and query parameters
❓ Context

Impacted projects: ``
Linked resource(s): ``

✅ Checklist

[ ] Test coverage
[ ] Atomic delivery
[ ] No breaking changes

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

/generate-screenshots

/generate-screenshots


CSS for the light theme is bloated with dummy PNG data.

/src/css/goldenlayout-light-theme.css

If you compare css for light and dark theme then it is ~100Kb vs ~10Kb
Difference is in Base64-encoded images.
If I put those images through PNG-optimizer or just save them back that gives me 99% shrink in size.
After my optimization file size for light theme is just ~4Kb

PR #199 is pending. Need to double check it and then can merge

Merged #119


(DRAFT) RFC: Rewriter design

We already have a couple of approaches to pattern-matching based rewrite-rules: the original one (restricted to single-output patterns, but supporting other features such as a mechanism to bind variables to specific nodes of the pattern, and using them to check for extra-conditions before applying a rewrite-rule, and allowing for more efficient match-and-replace), and a newer extension to support multiple-output patterns, but not integrated with the other mechanisms.
This is an initial proposal for the API to expose to users writing rewrite-rules.
This meant for discussion, feedback, and comments. It seemed a bit easier to do this with a PR and markdown.

Completed.


Linear gradients formatted incorrectly

Linear gradients are coming out like this: background: linear, 45deg, #235aae, #6db8d7;

Try it in online demo, you will see that Autoprefixer has no this issue.
This issue often come from other tool, like Sass.


path (bis)

Hello,
I have read the documentation in installing.
I uploaded pico 2.0.2 to my shared hosting: /domains/somedomainname.something/public_html/subdomainname
Then I loaded in the browser somedomainname.something/subdomainname
Then I got on the page: path (bis)
If I go to somedomainname.something/subdomainname/index.php I get
Parse error: syntax error, unexpected 'testen' (T_STRING), expecting ',' or ';' in /home/username/domains/somedomainname.something/public_html/subdomainname/index.php on line 36
On a second (and third) attempt I got (no changes made on the server) Cannot find 'vendor/autoload.php'. Run composer install.
What to do?
Thanks.

Please strictly follow the installation instructions as stated in Pico's README.md, or on our website. You'll have to download a release archive, no source code archive.

Hello  PhrozenByte,
Thanks for your help. As I wrote I read the documentation on installing. Especcially this part:
"
I want to use a pre-bundled release
Do you know the feeling: You want to install a new website, so you upload all files of your favorite CMS and run the setup script - just to find out that you forgot about creating the SQL database first? Later the setup script tells you that the file permissions are wrong. Heck, what does this even mean? Forget about it, Pico is different!
Step 1
Download the latest Pico release and upload all files to the httpdocs directory (e.g. /var/www/html) of your server.
Step 2
Okay, here’s the catch: There’s no catch. That’s it! Open your favorite web browser and navigate to your brand new, stupidly simple, blazing fast, flat file CMS! Pico’s default contents will explain how to create your own contents. 😊
"
From (the link from the above text)
https://github.com/picocms/Pico/releases/tag/v2.0.2
I downloaded
https://github.com/picocms/Pico/releases/download/v2.0.2/pico-release-v2.0.2.tar.gz
I extracted that gz file and uploaded the contents via FTP to the webserver at the hostingprovider as described before.
The README.md file I found in pico-release-v2.0.2.tar.gz is about the "Pico Deprecated Plugin". It is in /. I think the README.md you refer to is in /pico. It has the same text as above.
I still do not have a clue how to resolve the issue.
What to do?

Please make sure to correctly upload all of Pico's files to your webserver. Double and triple check this. Both errors indicate that something went wrong while uploading Pico's files.

Thanks. I counted files with Filezilla. Both the extracted pico-release-v2.0.2.tar.gz file and the files and folders have the same amount of files and folders.
I downloaded the pico files from the webserver to a different folder on my PC and ran diff -r on that folder and the folder with the extracted pico-release-v2.0.2.tar.gz file. No differences were found.
Also, when uploading picocms with Filezilla no errors were encounterd.
The server has Php 5.6.38 Installed and Php 7.1.23 Installed (php2)
What to do?

Hello  PhrozenByte,
picocms is running now. I removed the local extraction directory and all the files on the server and extracted again and uploaded agian. Now I have a different set of files and folders. See attachments
picocms.newset.txt
picocms.oldset.txt
picocms.newset.txt is working now although there was a catch:
www.domainname.something/subdomainname does not work. I had to enter
www.domainname.something/subdomainname/index.php in the addressbar
I do not understand why the files in the oldset got extracted and uploaded the way they were. I can not reproduce it.
Thanks for the quick help :-), Zounp

www.domainname.something/subdomainname does not work. I had to enter
www.domainname.something/subdomainname/index.php in the addressbar

Check your webserver config, it must be configured to use index.php as index file. If you're using Apache, use the DirectoryIndex directive. If you're using nginx, use the index directive.


implement monkey patch to overwrite openmc.Source

To make the name space the same as OpenMC we can use a monkey patch. Here is the code examples
package code
import openmc

class Source(openmc.Source):

    def plot_source_energy(self, n_samples: int = 1000, prn_seed: int = None):
        ...

openmc.Source = Source  # overwrites the openmc class with this extended class

user code
import openmc
import openmc_source_plotter

my_source = openmc.Source()
my_source.plot_source_energy()

completed


Cancel on unknown workflow execution as well.

Cancel the activity on receiving "unknown execution" as well as "unknown activity."

:+1:


generator raised StopIteration when preprocessing when preprocessing

Hi, thank you for releasing your code!
I ran the preprocessing code preprocess.py and meet a runtime error.
INFO:root:skip this step as /workspace/helo_word/data/conll2014 is NOT empty
INFO:root:STEP 0-8. Download language model
INFO:root:skip this step as /workspace/helo_word/data/language_model/data-bin is NOT empty
INFO:root:STEP 1. Word-tokenize the original files and merge them
INFO:root:STEP 1-1. gutenberg
INFO:root:skip this step as /workspace/helo_word/data/gutenberg/gutenberg.txt already exists
INFO:root:STEP 1-2. tatoeba
INFO:root:skip this step as /workspace/helo_word/data/tatoeba/tatoeba.txt already exists
INFO:root:STEP 1-3. wiki103
INFO:root:skip this step as /workspace/helo_word/data/wiki103/wiki103.txt already exists
INFO:root:STEP 2. Train bpe model
INFO:root:skip this step as /workspace/helo_word/data/bpe-model/gutenberg.model already exists
INFO:root:STEP 3. Split wi.dev into wi.dev.3k and wi.dev.1k
INFO:root:skip this step as /workspace/helo_word/data/bea19/wi+locness/m2/ABCN.dev.gold.bea19.3k.m2 already exists
INFO:root:STEP 4. Perturb and make parallel files
INFO:root:Track 1
INFO:root:STEP 4-1. writing perturbation scenario
INFO:root:STEP 4-2. gutenberg
# multiprocessing settings
# prepare inputs
# work
  0%|                                                                                | 0/1 [00:00<?, ?it/s]
--- SKIP ---
  0%|                                                                                | 0/1 [00:08<?, ?it/s]
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/site-packages/pattern3/text/__init__.py", line 412, in _read
    raise StopIteration
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/multiprocessing/pool.py", line 121, in worker
    result = (True, func(*args, **kwds))
  File "/opt/conda/lib/python3.7/multiprocessing/pool.py", line 44, in mapstar
    return list(map(*args))
  File "/workspace/helo_word/gec/perturb.py", line 160, in make_parallel
    perturbation = apply_perturbation(words, word2ptbs, word_change_prob, type_change_prob)
  File "/workspace/helo_word/gec/perturb.py", line 121, in apply_perturbation
    w = change_type(w, t, type_change_prob)
  File "/workspace/helo_word/gec/perturb.py", line 34, in change_type
    word = conjugate(word, verb_type)
  File "/opt/conda/lib/python3.7/site-packages/pattern3/text/__init__.py", line 2123, in conjugate
    b = self.lemma(verb, parse=kwargs.get("parse", True))
  File "/opt/conda/lib/python3.7/site-packages/pattern3/text/__init__.py", line 2088, in lemma
    self.load()
  File "/opt/conda/lib/python3.7/site-packages/pattern3/text/__init__.py", line 2042, in load
    for v in _read(self._path):
RuntimeError: generator raised StopIteration
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "preprocess.py", line 169, in <module>
    args.word_change_prob, args.type_change_prob))
  File "preprocess.py", line 15, in maybe_do
    func(*inputs)
  File "/workspace/helo_word/gec/perturb.py", line 183, in do
    p.map(make_parallel, inputs_li)
  File "/opt/conda/lib/python3.7/multiprocessing/pool.py", line 268, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "/opt/conda/lib/python3.7/multiprocessing/pool.py", line 657, in get
    raise self._value
RuntimeError: generator raised StopIteration

I tried to skip processing gutenberg corpus, but the same error raised when processing the next corpus.
How can I fix it?

Hey, I encountered same issue.
And just found it happened due to the change of PEP guide-line in Python 3.7.
You'd better user Python 3.6 or look up the solution in references.
PEP 479 is enabled for all code in Python 3.7, meaning that StopIteration exceptions
raised directly or indirectly in coroutines and generators are transformed into
RuntimeError exceptions. (Contributed by Yury Selivanov in bpo-32670.)

[References]
Solution: https://github.com/clips/pattern/issues/283#issuecomment-518561491
Reason: https://www.juandebravo.com/2018/11/09/python-37-stop-iteration/
Python 3.7 release note: https://docs.python.org/3/whatsnew/3.7.html#changes-in-python-behavior

@Huffon It works! Thank you!


AWSIoTTopic constant disconnected/reconnected messages

Hi, I'm using the SDK on a Raspberry PI 3, Java 8 and having issues with listening on a Topic.
Basically, my code is:
public class TestTopicListener extends AWSIotTopic {

    public TestTopicListener(String topic, AWSIotQos qos) {
        super(topic, qos);
        System.out.println("Listener: Connecting to " + topic);
    }

    @Override
    public void onMessage(AWSIotMessage message) {
        System.out.println(System.currentTimeMillis() + ": <<< " + message.getStringPayload());
        if ( message.getStringPayload().equalsIgnoreCase("restart"))
                System.exit(0);
    }

}

And I'm just getting the following messages on the console:
Jul 19, 2016 11:07:07 AM com.amazonaws.services.iot.client.core.AwsIotConnection onConnectionFailure INFO: Connection temporarily lost Jul 19, 2016 11:07:07 AM com.amazonaws.services.iot.client.core.AbstractAwsIotClient onConnectionFailure INFO: Client connection lost: rpi001 Jul 19, 2016 11:07:10 AM com.amazonaws.services.iot.client.core.AwsIotConnection$1 run INFO: Connection is being retried Jul 19, 2016 11:07:11 AM com.amazonaws.services.iot.client.core.AwsIotConnection onConnectionSuccess INFO: Connection successfully established Jul 19, 2016 11:07:11 AM com.amazonaws.services.iot.client.core.AbstractAwsIotClient onConnectionSuccess INFO: Client connection active: rpi001 Jul 19, 2016 11:07:12 AM com.amazonaws.services.iot.client.mqtt.AwsIotMqttMessageListener onFailure WARNING: Request failed for topic $aws/things/rpi001/shadow/update: Connection lost (32109) - java.io.EOFException Jul 19, 2016 11:07:12 AM com.amazonaws.services.iot.client.core.AwsIotConnection onConnectionFailure INFO: Connection temporarily lost Jul 19, 2016 11:07:12 AM com.amazonaws.services.iot.client.core.AbstractAwsIotClient onConnectionFailure INFO: Client connection lost: rpi001 Jul 19, 2016 11:07:15 AM com.amazonaws.services.iot.client.core.AwsIotConnection$1 run INFO: Connection is being retried Jul 19, 2016 11:07:15 AM com.amazonaws.services.iot.client.core.AwsIotConnection onConnectionSuccess INFO: Connection successfully established
I'm subscribing to $aws/things/rpi001/shadow/update.  It does seem like the very first message I publish on that topic from the client, the client also receives.  But after that one, nothing...
The strange thing is that my publications to another topic seem to be working fine along with publishing to $aws/things/rpi001/shadow/update from the client.  I'm seeing the updates in the IoT console.
Any help would be appreciated!
Thanks,
Mac

It looks like you have quite some connection errors, do you always these errors when your application starts?

Yes, every time.  I have figured out one thing, that I was subscribing to the wrong topic and I've fixed that.  I now subscribe to $aws/things/rpi001/shadow/update/delta.

Do you start your application when the wifi or ethernet connection is just established? Do the errors also happen when the network connection is stable?

Mostly, I'm starting the application with the network connection well established.  Like for hours.  I still get the messages I publish on my app-specific topic, and pretty quickly.  It seems to be just the subscriptions that have issues.

I have a thread running a blocking publish for heartbeat and it doesn't take long for that message to get published.

There are two things to rule out first when it comes to connection issues. One is client side issues, such as intermittent network issues; another one is server side disconnect, which can be caused by various reasons, such as policy violation, protocol violations and so on. Can you check your CloudWatch logs for IoT to see if you see any errors there? Another check worth doing is to do a packet capture using tcpdump on your rPi and check how the TCP connection is terminated. If you could share your packet capture file, I'm happy to take a look at it.

I don't believe there are client side network issues.  I've had a PuTTY terminal running to this thing for hours on end without being disconnected.
I checked all log streams under AWSIotLogs and didn't see any errors.  Every operation has status SUCCESS.   Message arrived on: scans, Action: lambda, Function: arn:aws:lambda:us-west-2:450017183792:function:ScanToDB StatusCode: 202, Function error: null 2016-07-20 00:09:31.698 TRACEID:097a033d-8cf6-46a2-8b67-f1dcf046b062 PRINCIPALID:b439d9313e93f298792d0c2fc4b1bf682b39cbf512684cce03c3e21e7629ca87 [INFO] EVENT:DynamoActionSuccess TOPICNAME:scans CLIENTID:rpi001 MESSAGE:Dynamo Insert record successful. Message arrived on: scans, Action: dynamo, Table: rawscans, HashKeyField: serialNumber, HashKeyValue:<PHONE_NUMBER>01, RangeKeyField: Some(clickType), RangeKeyValue:<PHONE_NUMBER>995 2016-07-20 00:09:31.772 TRACEID:097a033d-8cf6-46a2-8b67-f1dcf046b062 PRINCIPALID:b439d9313e93f298792d0c2fc4b1bf682b39cbf512684cce03c3e21e7629ca87 [INFO] EVENT:SNSActionSuccess TOPICNAME:scans CLIENTID:rpi001 MESSAGE:Successfully published to SNS topic. Message arrived on: scans, Action: sns, Target Arn: arn:aws:sns:us-west-2:450017183792:BadEmails SNS Message Id: 15d79c0a-e1c0-5d96-b75c-cc0222bbedbe 2016-07-20 00:09:35.240 TRACEID:860faa2f-171c-4fae-8393-0d973b15a3f7 PRINCIPALID:b439d9313e93f298792d0c2fc4b1bf682b39cbf512684cce03c3e21e7629ca87 [INFO] EVENT:MQTT Client Connect MESSAGE:Connect Status: SUCCESS 2016-07-20 00:09:39.153 TRACEID:6ac02c75-1d8f-458e-bb6e-80b1eb4361b9 PRINCIPALID:b439d9313e93f298792d0c2fc4b1bf682b39cbf512684cce03c3e21e7629ca87 [INFO] EVENT:MQTT Client Connect MESSAGE:Connect Status: SUCCESS 2016-07-20 00:09:43.485 TRACEID:ca2dfde1-7b71-4dd7-b08b-100c9fd5f048 PRINCIPALID:b439d9313e93f298792d0c2fc4b1bf682b39cbf512684cce03c3e21e7629ca87 [INFO] EVENT:MQTT Client Connect MESSAGE:Connect Status: SUCCESS 2016-07-20 00:09:43.639 TRACEID:db8660ac-6cbc-4aa4-914c-f2f7b18379d9 PRINCIPALID:b439d9313e93f298792d0c2fc4b1bf682b39cbf512684cce03c3e21e7629ca87 [INFO] EVENT:MQTTClient Subscribe TOPICNAME:$aws/things/rpi001/shadow/update/delta MESSAGE:Subscribe Status: SUCCESS 2016-07-20 00:10:48.998 TRACEID:cb3fc6f5-345a-4912-a520-95d472c2dc64 PRINCIPALID:b439d9313e93f298792d0c2fc4b1bf682b39cbf512684cce03c3e21e7629ca87 [INFO] EVENT:MQTT Client Connect MESSAGE:Connect Status: SUCCESS 2016-07-20 00:10:49.064 TRACEID:d4737d74-9ced-4032-9d51-f7e6944ac0bc PRINCIPALID:b439d9313e93f298792d0c2fc4b1bf682b39cbf512684cce03c3e21e7629ca87 [INFO] EVENT:PublishEvent TOPICNAME:$aws/things/rpi001/shadow/update MESSAGE:PublishIn Status: SUCCESS 2016-07-20 00:10:49.215 TRACEID:a19bbb83-f0c9-48d1-a90a-73cffec9235e PRINCIPALID:b439d9313e93f298792d0c2fc4b1bf682b39cbf512684cce03c3e21e7629ca87 [INFO] EVENT:MQTTClient Subscribe TOPICNAME:$aws/things/rpi001/shadow/update/delta MESSAGE:Subscribe Status: SUCCESS 2016-07-20 00:10:53.500 TRACEID:8910f598-6da0-4775-8b1b-738a5c77474d PRINCIPALID:b439d9313e93f298792d0c2fc4b1bf682b39cbf512684cce03c3e21e7629ca87 [INFO] EVENT:MQTT Client Connect MESSAGE:Connect Status: SUCCESS 2016-07-20 00:10:53.722 TRACEID:8a646829-7d95-475a-87d9-a7dba53f7cd6 PRINCIPALID:b439d9313e93f298792d0c2fc4b1bf682b39cbf512684cce03c3e21e7629ca87 [INFO] EVENT:MQTTClient Subscribe TOPICNAME:$aws/things/rpi001/shadow/update/delta MESSAGE:Subscribe Status: SUCCESS 2016-07-20 00:10:58.387 TRACEID:e706b5a0-3582-436c-a269-189d94f53156 PRINCIPALID:b439d9313e93f298792d0c2fc4b1bf682b39cbf512684cce03c3e21e7629ca87 [INFO] EVENT:MQTT Client Connect MESSAGE:Connect Status: SUCCESS 2016-07-20 00:10:58.726 TRACEID:420368d9-5489-49f8-a23e-66305c3963e9 PRINCIPALID:b439d9313e93f298792d0c2fc4b1bf682b39cbf512684cce03c3e21e7629ca87 [INFO] EVENT:MQTTClient Subscribe TOPICNAME:$aws/things/rpi001/shadow/update/delta MESSAGE:Subscribe Status: SUCCESS 2016-07-20 00:11:03.272 TRACEID:a3fd5cd1-e017-421d-8229-5c752e94e77c PRINCIPALID:b439d9313e93f298792d0c2fc4b1bf682b39cbf512684cce03c3e21e7629ca87 [INFO] EVENT:MQTT Client Connect MESSAGE:Connect Status: SUCCESS
I'll look into doing the packet capture as well.
Thanks!
Mac

Do you have two devices or two copies of application running using the same client Id to connect to AWS IoT?

No, only 1.  Sometimes I'll connect the Mqtt Client on the console, but most of the time, I'm not using that.

From the ClouldWatch log, there were multiple connects for a short period, with 4 or 5 seconds apart. Did you set a very short keep-alive (https://github.com/aws/aws-iot-device-sdk-java/blob/master/aws-iot-device-sdk-java/src/main/java/com/amazonaws/services/iot/client/AWSIotConfig.java#L47) interval? Could you try the sample applications and see if you can reproduce the errors?

I didn't set any keep-alive or other timeouts/intervals at all, just using defaults.  I'll try with a 30-second keep-alive in a few minutes.

Well, that did it!  Seems like maybe the default keep-alive shouldn't be 0?
Thanks so much for your help!!
Mac

Hmmm, the default keep-alive interval is 30s - https://github.com/aws/aws-iot-device-sdk-java/blob/master/aws-iot-device-sdk-java/src/main/java/com/amazonaws/services/iot/client/core/AbstractAwsIotClient.java#L56, you should't need to set it if you didn't change it.
How did you initialize the client?

That's the only change I made to make it work.  Here's my init code, but it's all directly from the PubSub sample that came with the SDK.
String clientEndpoint = arguments.getNotNull("clientEndpoint", SampleUtil.getConfig("clientEndpoint"));
		String clientId = arguments.getNotNull("clientId", SampleUtil.getConfig("clientId"));
		System.out.println("### Endpoint: " + clientEndpoint);
		System.out.println("### ClientID: " + clientId);

		String certificateFile = arguments.get("certificateFile", SampleUtil.getConfig("certificateFile"));
		String privateKeyFile = arguments.get("privateKeyFile", SampleUtil.getConfig("privateKeyFile"));
		if (awsIotClient == null && certificateFile != null && privateKeyFile != null)
		{
			String algorithm = arguments.get("keyAlgorithm", SampleUtil.getConfig("keyAlgorithm"));
			KeyStorePasswordPair pair = SampleUtil.getKeyStorePasswordPair(certificateFile, privateKeyFile, algorithm);

			awsIotClient = new AWSIotMqttClient(clientEndpoint, clientId, pair.keyStore, pair.keyPassword);
			System.out.println("Got awsIoTClient using key pair");
			awsIotClient.setKeepAliveInterval(30);
		}

		if (awsIotClient == null)
		{
			String awsAccessKeyId = arguments.get("awsAccessKeyId", SampleUtil.getConfig("awsAccessKeyId"));
			String awsSecretAccessKey = arguments.get("awsSecretAccessKey", SampleUtil.getConfig("awsSecretAccessKey"));
			String sessionToken = arguments.get("sessionToken", SampleUtil.getConfig("sessionToken"));

			if (awsAccessKeyId != null && awsSecretAccessKey != null)
			{
				awsIotClient = new AWSIotMqttClient(clientEndpoint, clientId, awsAccessKeyId, awsSecretAccessKey,
						sessionToken);
			}
		}

		if (awsIotClient == null)
		{
			throw new IllegalArgumentException("Failed to construct client due to missing certificate or credentials.");
		}

Since awsIotClient.setKeepAliveInterval() takes milliseconds input, setting it to 30 basically disables keep-alive pings. But I still don't understand how disabling keep-alive would fix it. It'd be good to take a look at the tcpdump.

Hmmm, I thought it was seconds, that's why I set 30.  I've changed to 30000 now.  Strange though how 30 ms was enough to stop it from bouncing back and forth.


LUCENE-10380: Further optimize FastTaxonomyFacetCounts#countAll by moving the liveDocs null check outside the loops

This change attempts to bring in the other piece of the LUCENE-10350 change without the regressions. See LUCENE-10374 for more details.

Benchmarking this change locally shows no impact at all. So I don't think it's actually worth pushing this change unless we just want to isolate where the nightly benchmark runs are different (i.e., see if this change regresses in the nightly run). So if I were to merge this, it would just be to see the nightly benchmark results and then likely revert it back out since it just adds complexity with no apparent value. So I won't merge it righ tnow.
                            TaskQPS baseline      StdDevQPS candidate      StdDev                Pct diff p-value
           BrowseMonthSSDVFacets       15.90     (23.7%)       15.46     (24.2%)   -2.7% ( -40% -   59%) 0.717
           BrowseMonthTaxoFacets       27.47     (26.8%)       27.05     (26.5%)   -1.5% ( -43% -   70%) 0.858
     BrowseRandomLabelSSDVFacets        9.58      (7.0%)        9.44      (4.8%)   -1.4% ( -12% -   11%) 0.455
                    OrHighNotLow     1265.12      (3.1%)     1251.37      (2.6%)   -1.1% (  -6% -    4%) 0.234
                   OrNotHighHigh      765.18      (3.2%)      757.45      (3.1%)   -1.0% (  -7% -    5%) 0.311
                    OrNotHighMed     1020.03      (3.0%)     1010.06      (3.3%)   -1.0% (  -7% -    5%) 0.327
                          IntNRQ      221.28      (1.3%)      219.28      (1.2%)   -0.9% (  -3% -    1%) 0.019
                   OrHighNotHigh      888.59      (3.8%)      880.64      (3.7%)   -0.9% (  -8% -    6%) 0.452
                    OrNotHighLow      828.68      (2.5%)      821.68      (1.7%)   -0.8% (  -4% -    3%) 0.216
            MedTermDayTaxoFacets       31.65      (4.2%)       31.41      (4.2%)   -0.7% (  -8% -    7%) 0.574
                HighSloppyPhrase        3.04      (4.7%)        3.02      (4.6%)   -0.7% (  -9% -    9%) 0.656
                    OrHighNotMed     1008.99      (3.8%)     1002.52      (3.8%)   -0.6% (  -8% -    7%) 0.597
     BrowseRandomLabelTaxoFacets       17.52     (19.6%)       17.41     (18.9%)   -0.6% ( -32% -   47%) 0.916
                      OrHighHigh       17.58      (3.7%)       17.47      (3.8%)   -0.6% (  -7% -    7%) 0.600
                       OrHighMed      137.10      (3.8%)      136.28      (4.6%)   -0.6% (  -8% -    8%) 0.655
                 LowSloppyPhrase       11.93      (3.8%)       11.88      (3.8%)   -0.4% (  -7% -    7%) 0.750
                         LowTerm     1631.30      (2.6%)     1625.23      (2.3%)   -0.4% (  -5% -    4%) 0.630
                 MedSloppyPhrase       67.24      (2.5%)       66.99      (2.6%)   -0.4% (  -5% -    4%) 0.649
                          Fuzzy1       80.85      (1.6%)       80.68      (1.8%)   -0.2% (  -3% -    3%) 0.699
                         Respell       51.74      (1.5%)       51.65      (1.7%)   -0.2% (  -3% -    3%) 0.729
                       OrHighLow      861.47      (2.9%)      860.91      (3.0%)   -0.1% (  -5% -    6%) 0.944
         AndHighMedDayTaxoFacets      110.66      (1.4%)      110.63      (1.7%)   -0.0% (  -3% -    3%) 0.958
                     MedSpanNear       50.07      (3.7%)       50.08      (3.0%)    0.0% (  -6% -    6%) 0.996
            HighTermTitleBDVSort       67.00     (23.3%)       67.01     (17.4%)    0.0% ( -32% -   53%) 0.998
                    HighSpanNear       10.62      (3.7%)       10.62      (2.9%)    0.0% (  -6% -    6%) 0.985
                          Fuzzy2       71.03      (1.5%)       71.06      (1.7%)    0.0% (  -3% -    3%) 0.953
            BrowseDateTaxoFacets       20.83     (22.2%)       20.84     (22.8%)    0.1% ( -36% -   57%) 0.992
                       LowPhrase      604.18      (2.9%)      604.76      (2.7%)    0.1% (  -5% -    5%) 0.914
       BrowseDayOfYearTaxoFacets       20.82     (22.4%)       20.85     (23.0%)    0.1% ( -36% -   58%) 0.984
             MedIntervalsOrdered       79.55      (5.1%)       79.68      (4.5%)    0.2% (  -8% -   10%) 0.915
                      HighPhrase      163.13      (2.8%)      163.42      (2.6%)    0.2% (  -5% -    5%) 0.837
          OrHighMedDayTaxoFacets        7.74      (5.3%)        7.76      (4.4%)    0.2% (  -8% -   10%) 0.888
       BrowseDayOfYearSSDVFacets       12.12     (14.1%)       12.17     (13.8%)    0.4% ( -24% -   32%) 0.930
             LowIntervalsOrdered      187.35      (8.7%)      188.22      (7.6%)    0.5% ( -14% -   18%) 0.857
                         MedTerm     2446.71      (4.1%)     2458.80      (4.8%)    0.5% (  -8% -    9%) 0.728
                      AndHighLow     1427.63      (2.7%)     1435.06      (2.5%)    0.5% (  -4% -    5%) 0.527
        AndHighHighDayTaxoFacets        9.02      (1.7%)        9.06      (2.4%)    0.5% (  -3% -    4%) 0.415
                       MedPhrase       34.65      (2.8%)       34.84      (2.6%)    0.6% (  -4% -    6%) 0.509
                     LowSpanNear       33.70      (5.5%)       33.91      (4.9%)    0.6% (  -9% -   11%) 0.705
            HighIntervalsOrdered       10.85      (8.8%)       10.92      (7.9%)    0.7% ( -14% -   19%) 0.803
                        HighTerm     1543.65      (4.2%)     1556.45      (4.4%)    0.8% (  -7% -    9%) 0.543
                      AndHighMed       83.36      (4.0%)       84.36      (4.2%)    1.2% (  -6% -    9%) 0.356
                        PKLookup      169.56      (3.5%)      171.59      (3.4%)    1.2% (  -5% -    8%) 0.275
                     AndHighHigh       71.11      (4.2%)       72.08      (4.5%)    1.4% (  -7% -   10%) 0.324
               HighTermMonthSort       96.47     (12.4%)       98.07     (18.7%)    1.7% ( -26% -   37%) 0.741
                        Wildcard      112.10      (4.5%)      114.33      (4.8%)    2.0% (  -7% -   11%) 0.180
                      TermDTSort       98.09     (12.0%)      100.68     (18.9%)    2.6% ( -25% -   38%) 0.598
                         Prefix3      206.94     (12.2%)      213.82     (10.4%)    3.3% ( -17% -   29%) 0.351
           HighTermDayOfYearSort       83.83     (17.8%)       86.78     (24.5%)    3.5% ( -32% -   55%) 0.603


[backport] ads: add e2e for permissive-smi switching

Description:
Backport commit : https://github.com/openservicemesh/osm/pull/3887/commits/2ec925fd698b54c159985b92e450d0f32deb2869
Adds an e2e to comprehensibly test switching from SMI to permissive.
This is part of the series of commits for #3775
Signed-off-by: Eduard Serra<EMAIL_ADDRESS>

Codecov Report

Merging #3991 (70b7dd5) into release-v0.9 (9fff04e) will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff              @@
##           release-v0.9    #3991   +/-   ##
=============================================
  Coverage         66.56%   66.56%
=============================================
  Files               171      171
  Lines              9219     9219
=============================================
  Hits               6137     6137
  Misses             3049     3049
  Partials             33       33

Flag
Coverage Δ

unittests
66.56% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9fff04e...70b7dd5. Read the comment docs.


Obstacle transformation improvement

[x] Test whether obstacle can keep working without dropping obstacle's waypoints
[ ] Check whether we can locate Pedestrians on the crosswalk
[ ] Apply measured size of obstacles
[ ] Refine Speed Control


finetune accuracy is much higher than what is in the README table

Great work,
I use the fine-tune code that can be obtained in math_running_commands to train the pre-trained model yahma/llama-7b-hf with LoRA. And then I evaluate the fine-tuned model on SVAMP, whose accuracy is 66.2%, with about 40% improvement form the previous 47.2%.
Could you please tell me why I can get a much better result? Did you update the dataset again?
Thank you!

Hi,
yes, we have updated the dataset. And We will update the table soon. Sorry for the confusion!

@HZQ950419 Hi, I wonder if the updated results are obtained by models trained on math_10k.json or another training dataset?

Hi, the updated results are obtained by models trained on math_10k.json for math reasoning.

@HZQ950419 Hi, I wonder if the updated results are obtained by models trained on math_10k.json or another training dataset?
Hi, the updated results are obtained by models trained on math_10k.json for math reasoning.

@HZQ950419 Hi, I wonder if the updated results are obtained by models trained on math_10k.json or another training dataset?

Hi, the updated results are obtained by models trained on math_10k.json for math reasoning.

Great work, I use the fine-tune code that can be obtained in math_running_commands to train the pre-trained model yahma/llama-7b-hf with LoRA. And then I evaluate the fine-tuned model on SVAMP, whose accuracy is 66.2%, with about 40% improvement form the previous 47.2%.
Could you please tell me why I can get a much better result? Did you update the dataset again?
Thank you!

Hi,
After carefully checking, I can't reproduce your results with llama-7b-lora. Could you give more information? The command used for training and testing, the hardware used for the experiment, and so on.
Thanks!


docs: quickstart with kind + helm charts

Refer: https://github.com/dragonflyoss/Dragonfly2/blob/main/.github/workflows/nydus-e2e.yml

Work in progress.

Finished in https://github.com/dragonflyoss/helm-charts/blob/main/INSTALL.md

https://github.com/containerd/nydus-snapshotter/pull/444
https://github.com/dragonflyoss/image-service/pull/1205

PR for nydus website
https://github.com/dragonflyoss/image-service-website/pull/18


Local information leak via log files

If LOGFILE_DIR does not exist, it's created with the default umask, thus world readable. Additionally, the log file itself, LOGFILE_PATH, is also created world readable. From my point of view, this leads to a local information leak, because some e-mail metadata information are readable for unprivileged local users (attachment file names, envelope sender), while such e-mail metadata information are normally not disclosed to unprivileged users via /var/log/maillog (or similar).
While replacing os.makedirs(LOGFILE_DIR) by os.makedirs(LOGFILE_DIR, 0750) likely does the trick, I did not find something suitable for logging.handlers.TimedRotatingFileHandler(), just others with the same issue: https://stackoverflow.com/questions/1407474/does-python-logging-handlers-rotatingfilehandler-allow-creation-of-a-group-writa
Note: The information leak might be partially or totally mitigated by logrotate, but I am so far unable to see whether logging.handlers.TimedRotatingFileHandler() or logrotate finally rotates the log files, but that's #17 and thus outside of this scope.
Currently unused constant ARCHIVE_DIR as well archive_message() method are suffering the same local information leak issue.

Link with #17

I have to update the log behavior in general. That's correct, the log file should be only readable for root users and the macromilter demon.
I try to fix the information leak ASAP with the global umask in 3.4.4.
A enhanced function rewrite comes with the 3.5.


feat : https://datical.atlassian.net/browse/DAT-12842

Impact
release-published.yml will now include deploying liquibase and liquibase-pro xsd to cloud front distribution.

[ ] Bug fix (non-breaking change which fixes expected existing functionality)
[x] Enhancement/New feature (adds functionality without impacting existing logic)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
https://datical.atlassian.net/browse/DAT-12842 :  Automating the deployment of XSDs to new beta landing site.
Things to be aware of
Need to make sure that the desired/ current xsd's are indeed getting uploaded to s3 bucket at release-published workflow.

aside from Jandro's comment I think this looks good.  You might be able to use working_directory instead of the Github Path environment variables for cleaner looking code, but that's splitting hairs :)
I think once this is ready to test we'll want to setup a manual trigger and comment out everything else so that we can confirm the process works without having to wait on a release.

the pr is has an unsuccessful check :
@merge-freeze
mergefreeze — Frozen by Surya Aki

@sayaliM0412 this looks good to me.


react_on_rails for webpack?

Hi @mipearson, have you tried out https://github.com/shakacode/react_on_rails/? We've got support for integrating React + Webpack into Rails, including support for Redux.
If so, I'd be curious as to any potential shortfalls of react_on_rails compared to your approach.
Thanks!

look at https://github.com/netguru/react_webpack_rails

I haven't looked at react_on_rails in detail, but a skim through the readme shows that they've gone for a much more full-service solution than I have. Key differences:

webpack-rails doesn't depend on or use sprockets at all
webpack-rails insists that you understand the npm ecosystem and webpack

React server side rendering support is coming "soon" (it's working, I just need to clean up the docs).


Diffing does not seem to work

I'm assuming this is a fault on my end that the core functionality does not work outright or I'm misunderstanding something. I've created a virtual environment, installed image-diff, and am trying to produce a differential image exactly as in the documentation, but the resulting image is seemingly empty. I've tried using both PNG and JPG as the input image formats, but it makes no difference.
Here are the two images I'm using just so that we're on the same page and here is the supposed differential between the two.
I'm using Python 3.10.7 on Fedora 36.

Just came across another Python library that aims to do this and while trying it I ran into the same issue as described here. I'll consider this closed as I'm not expecting any changes to this tool to accommodate the ignoring of alpha values on pixels.


JVP softmax implementation is missing a stop_gradient, leading to training instability

Description
In jax/_src/nn/functions.py there's a new implementation of JVP-based softmax.
Recently my team has been struggling with exploding gradients on training Transformer models, which we didn't have before. After bisecting all changes in JAX and other libraries we use, we narrowed it down to this change. The new softmax implementation is missing a stop_gradient operator around the x_max evaluation, which was done on the deprecated softmax implementation, and is highlighted as a canonical use case:
https://www.tensorflow.org/api_docs/python/tf/stop_gradient
What jax/jaxlib version are you using?
jax v0.4.10
Which accelerator(s) are you using?
TPU
Additional system info
Linux
NVIDIA GPU info
No response

Just adding some context we discussed in chat: after adding the custom_jvp, the stop_gradient in the softmax implementation is always a no-op, since we no longer autodiff through the softmax implementation. Just to be extra sure, I checked:

The assert triggers if we remove the custom_jvp rule, but with the custom_jvp rule in place it doesn't.


Clean up NetworkManager models relations to ext_management_system

Purpose or Intent
Clean up NetworkManager models relations to ext_management_system

@Ladas, double check the spec failures

@blomquisg specs should be fixed now


Error:

I get this running the command...
"Successfully built 0a6ed8745a60
Successfully tagged starlink-monitor_flask:latest
Starting starlink-monitor_flask_1 ... error
ERROR: for starlink-monitor_flask_1  Cannot start service flask: error while creating mount source path '/starlink-monitor': mkdir /starlink-monitor: read-only file system
ERROR: for flask  Cannot start service flask: error while creating mount source path '/starlink-monitor': mkdir /starlink-monitor: read-only file system
ERROR: Encountered errors while bringing up the project."
It looks like a permission issue...but i'm not sure where to look

Please give the pre-built image a try:
docker run -d -p 3000:80 \
    -e STARLINK_URI=<IP_ADDRESS>:9200 \
    -e STARLINK_REFRESH_SECS=1 \
    -e STARLINK_HISTORY_REFRESH_SECS=30 \
    -e BROADCAST_RATE_SECS=3 \
    -e SPEEDTEST_REFRESH_MINS=30 \
    -e BUFFER_SIZE_HOURS=72 \
    dbryanjohnson/starlink-monitor:latest

#response_container_BBPPID{font-family: initial; font-size:initial; color: initial;}  That works perfectly, thank you                                                                                From<EMAIL_ADDRESS>February 15, 2021 9:52 PMTo<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Re: [dbjohnson/starlink-monitor] Error:  (#3)
Please give the pre-built image a try:
docker run -d -p 3000:80
    -e STARLINK_URI=<IP_ADDRESS>:9200
    -e STARLINK_REFRESH_SECS=1
    -e STARLINK_HISTORY_REFRESH_SECS=30
    -e BROADCAST_RATE_SECS=3
    -e SPEEDTEST_REFRESH_MINS=30
    -e BUFFER_SIZE_HOURS=72
    dbryanjohnson/starlink-monitor:latest
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.


KafkaChannel - EOF while trying to use SASL with Azure Event Hubs

Describe the bug
When using Kafka Eventing and trying to use Azure Event Hubs' Kafka endpoint configuring KafkaChannel to leverage Azure Event Hubs results in EOF related errors.
Broker and KafkaSource work exactly as intended (using identical settings), so I suspect there might be something off with the way I am trying to configure it.
SASL secret (knative-eventing/kafka-ch-sasl-secret):
apiVersion: v1
data:
  password: {EVENT_HUB_CONNECTIONSTRING}
  protocol: SASL_SSL
  sasl.mechanism: PLAIN
  user: $ConnectionString
kind: Secret
metadata:
  name: kafka-ch-sasl-secret
  namespace: knative-eventing
type: Opaque

Used settings kafka-channel-config:
apiVersion: v1
data:
  auth.secret.ref.name: kafka-ch-sasl-secret
  auth.secret.ref.namespace: knative-eventing
  bootstrap.servers: {EVENT_HUB_ADDR}
kind: ConfigMap
metadata:
  name: kafka-channel-config
  namespace: knative-eventing

Controller logs:
controller {"level":"error","ts":"2022-11-03T08:42:22.683Z","logger":"kafka-broker-controller","caller":"controller/controller.go:566","msg":"Reconcile error","knative.dev/pod":"kafka-controller-5859d85477-lbrxv","knative.dev/controller":"knative.dev.eventing-kafka-broker.control-plane.pkg.reconciler.channel.Reconciler","knative.dev/kind":"messaging.knative.dev.KafkaChannel","knative.dev/traceid":"080716e6-dac7-4778-959d-aee79d350bbb","knative.dev/key":"test-ns/test-sequence-kn","duration":0.815566277,"error":"failed to create topic: knative-messaging-kafka.test-ns.test-sequence-kn: cannot obtain Kafka cluster admin, kafka: client has run out of available brokers to talk to: EOF","stacktrace":"knative.dev/pkg/controller.(*Impl).handleErr\n\tknative.dev/pkg@v0.0.0-20220705130606-e60d250dc637/controller/controller.go:566\nknative.dev/pkg/controller.(*Impl).processNextWorkItem\n\tknative.dev/pkg@v0.0.0-20220705130606-e60d250dc637/controller/controller.go:543\nknative.dev/pkg/controller.(*Impl).RunContext.func3\n\tknative.dev/pkg@v0.0.0-20220705130606-e60d250dc637/controller/controller.go:491"}
controller {"level":"info","ts":"2022-11-03T08:42:22.683Z","logger":"kafka-broker-controller.event-broadcaster","caller":"record/event.go:285","msg":"Event(v1.ObjectReference{Kind:\"KafkaChannel\", Namespace:\"test-ns\", Name:\"test-sequence-kn\", UID:\"f0c1b2fc-a8e9-427a-a1e3-040e1c18b320\", APIVersion:\"messaging.knative.dev/v1beta1\", ResourceVersion:\"109374008\", FieldPath:\"\"}): type: 'Warning' reason: 'InternalError' failed to create topic: knative-messaging-kafka.test-ns.test-sequence-kn: cannot obtain Kafka cluster admin, kafka: client has run out of available brokers to talk to: EOF","knative.dev/pod":"kafka-controller-5859d85477-lbrxv"}

Expected behavior
KafkaChannel behaving as KafkaSource and KafkaBroker
To Reproduce
Create new Azure Event Hub, create secrets with credentials, configure KafkaChannel to use Event Hubs.  Can be replicated in a fresh kind cluster.
Knative release version
1.6
Eventing Kafka Broker release version
1.6.10 (observed also on 1.8.x in kind local cluster)

Thanks for the update @mwieczorkiewicz!
Yes, I agree this should work out of the box.

Not sure if PRs are welcome. Anyway, closing the issue.

They are always welcome!
it would be perfect if you can summarize the options we have before starting the implementation.


How to work with your package

I'm working on a package to merge all the features of this package, your JIT cache modification in Randovania, plus extended memory support and some more.
Whenever you update this package, what steps do you take to recompile it before it can be published? I'm new to Cython but that's not exactly what I'm asking about; only if there is a set list of commands to run, to avoid having to understand the entire bundle. Is it straight-forward, with only python setup.py build_ext --inplace?
Sorry to be a bother. I'm still trying to figure it out on my own regardless of whether you respond or not.
Many thanks in advance.

I tag the repository via a github release and then github actions does
everything.
On Thu, 16 Dec 2021, 14:44 deepadmax, @.***> wrote:

I'm working on a package to merge all the features of this package,
your JIT cache modification in Randovania, plus extended memory support and
some more.
Whenever you update this package, what steps do you take to recompile it
before it can be published? I'm new to Cython but that's not exactly what
I'm asking about; only if there is a set list of commands to run, to avoid
having to understand the entire bundle. Is it straight-forward, with only python
setup.py build_ext --inplace?
Sorry to be a bother. I'm still trying to figure it out on my own
regardless of whether you respond or not.
Many thanks in advance.
—
Reply to this email directly, view it on GitHub
https://github.com/henriquegemignani/py-dolphin-memory-engine/issues/13,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGYBQF3WTIRE77WIYOSX6TURIQRFANCNFSM5KG5DLTA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I've come a bit on my own now, having successfully built the package without any errors. I don't know why I even got any errors in the first place at the start. However, with a different Source from a fork of Dolphin-memory-engine to add support for extended RAM, I'm facing issues compiling and it's not finding certain components of Qt despite my best efforts, components that the package shouldn't need anyway.
Are you available to talk on any real-time communication platform, say, Matrix or Discord? Would you be okay with that?

I got some help from the creator of Dolphin-memory-engine and they got it to work for me.


Need a way to pecify the height of TabBar in AppBar

I need to specify the height of TabBar in AppBar, but it can't be done.
I found it is hard-coded. I have tried PreferredSize, but it does't work.
We are using a package naming flutter_screenutil. We want to specify the height of TabBar according different device.
For now I have to extend the class TabBar to achieve my goal.
I don't think it is a good idea to hard-coded the height.
sample code:
AppBar(
    title: some widget,
    bottom: TabBar(
        tabs: tabs,
        isScrollable: true,
        controller: tabController)
)

#68842 This is the same issue.

#68842 This is the same issue.
I don't know why it posts repeatedly. Thanks


Last update deleted all my accounts

This morning I updated K-9 through Google Play: it deleted all my accounts.
Expected behavior
To see my many accounts set up and running as before
Actual behavior
K-9 shows as a new install, without any account
Steps to reproduce

Environment
K-9 Mail version: 5.207
Android version: 6.0
Account type (IMAP, POP3, WebDAV/Exchange): IMAP

Duplicate of #750 and closing for the same reason - there's nothing we can do without some kind of debug information.


Add Inject instances for Eons. Deprecate old eons conversion functions.

Changelog
- description: |
    Deprecate eons conversion functions like `conwayEraOnwardsToBabbageEraOnwards`. Add [`Inject`](https://cardano-ledger.cardano.intersectmbo.org/cardano-ledger-core/Cardano-Ledger-BaseTypes.html#t:Inject) instances for eon conversions. See the PR description for migration aid.
# uncomment types applicable to the change:
  type:
  # - feature        # introduces a new feature
  # - breaking       # the API has changed in a breaking way
   - compatible     # the API has changed but is non-breaking
  # - optimisation   # measurable performance improvements
   - refactoring    # QoL changes
  # - bugfix         # fixes a defect
  # - test           # fixes/modifies tests
  # - maintenance    # not directly related to the code
  # - release        # related to a new release preparation
  # - documentation  # change in code docs, haddocks...

Context
Use Inject for eons conversion instead of specialised and hard to remember functions.
You can migrate your codebase using this snippet:
find . -type f -name "*.hs" -exec sed -i \
  -e 's/allegraEraOnwardsToShelleyBasedEra/inject/g' \
  -e 's/alonzoEraOnwardsToShelleyBasedEra/inject/g' \
  -e 's/babbageEraOnwardsToShelleyBasedEra/inject/g' \
  -e 's/conwayEraOnwardsToShelleyBasedEra/inject/g' \
  -e 's/conwayEraOnwardsToBabbageEraOnwards/inject/g' \
  -e 's/maryEraOnwardsToShelleyBasedEra/inject/g' \
  -e 's/shelleyEraOnlyToShelleyBasedEra/inject/g' \
  -e 's/shelleyToAllegraEraToShelleyBasedEra/inject/g' \
  -e 's/shelleyToBabbageEraToShelleyBasedEra/inject/g' \
  -e 's/shelleyToMaryEraToShelleyBasedEra/inject/g' \
  -e 's/babbageEraOnwardsToEra/inject/g' \
  -e 's/eraToBabbageEraOnwards/inject/g' {} +

Checklist

[ ] Commit sequence broadly makes sense and commits have useful messages
[ ] New tests are added if needed and existing tests are updated. See Running tests for more details
[ ] Self-reviewed the diff

@Jimbo4350 the goal of this PR is to make the codebase more pleasant to work with until we get rid of Eons. There's still some amount of work left to do, before we arrive there.
I disagree that it adds an additional step in deprecation, I see Inject as a general purpose tool for total conversions between any two types. Those Inject instances would be gone together with Eons as well.
If you think this PR is changing too much, what do you think of just using inject in the glue code for experimental API. I mean the changes in cardano-api/internal/Cardano/Api/Experimental/Eras.hs ?


Feature Requests: Heredocs/Locals without Parens/HEEx attrs?

Hey hey, thanks for Recode!  I started writing some of these rules myself before I remember it existed (d'oh).
These are merely suggestions based on my top annoyances that were not covered by Recode.  I'm happy to take the implementation of any of them.

Indent heredocs at the same level as their sigil.
There are some considerations here as you can't blindly re-indent everything.  I feel the safest is to assume that if the first line is indented to far then reduce everything below it by the same amount (unless it "reverse-overflows").

Remove parens from :locals_without_parens.
I'm not entirely sure this is possible to reliably identify everything in their proper files.  There is Mix.Tasks.Format.formatter_for_file/2 though I haven't played around with it too much and seems to return the same results for every file.

Correct if foo == bar, do: true, else: false to foo == bar

Correct boolean={true} HEEx attribute to simply boolean
Not sure if you would want to get HEEx involved but the above always annoys me when I see it.

Thank you for your suggestions. A PR is always welcome if you want to tackle one of your suggestions yourself.
Some comments:

Indent heredocs at the same level as their sigil.

I am not sure if this can be handled in recode. When recode changes the AST the new AST goes to the Elixir formatter and the code will be formatted with the formatter rules. Maybe this is something that has to go in a custom formatter or in something like FreedomFormater.

Remove parens from :locals_without_parens.

Great Idea. That should be possible in recode. The Mix.Tasks.Format.formatter_for_file/2 is the right function to get the keyword list for locals_without_parens. The function returns different results for different files only when the project contains more than one .formatter.exs.

Correct if foo == bar, do: true, else: false to foo == bar

That should be easy and it is a good candidate for a first recode-task.

Correct boolean={true} HEEx attribute to simply boolean

Recode should also handle HEEx files. For now I haven't tried to change such files.

Hey Nick!

The function returns different results for different files only when the project contains more than one .formatter.exs.

Ah that makes sense, thanks for explaining that!  I have half-way done implementation of this (it just doesn't take arity into account) so happy to fix it up and make a PR.  I can certainly also handle the comparison one.
As for heredoc formatting, Elixir's formatter leave indentation alone so long as it's legal.  I have a naive implementation that I could work on a bit if you're interested.  To clarify I'm looking to turn this:
@moduledoc """
  I'm a doc
"""

to this:
@moduledoc """
I'm a doc
"""

Not a big deal if you aren't interested, though.
Thanks and I'll be in touch!

Ah, now I understand the thing with the heredoc. For HD in general this makes less sense, because we can't know if someone did it for a good reason. Maybe a task like DocFormatting would be useful.

Ya, basically doc formatting, but I'm also thinking for LiveView as well:
~H"""

"""

becomes:
~H"""

"""

I agree it's harder to figure out here.  As far as I can tell, the only good heuristic is to see if the first line is indented too far then just un-indent every line by that much unless it's illegal to do.
For example:
@doc """
  Hello!

  Oh hi

I'm back here for some reason

  I'm a list:
    - one
    - two
    - three
"""

would become:
@doc """
Hello!

Oh hi

I'm back here for some reason

I'm a list:
  - one
  - two
  - three
"""

But:
@doc """
I'm a doc.

  The rest of me is
  written like this for
  some reason...
"""

...would just be left alone.
The point of this corrector is just to catch people doing the extra indent on every line which is very common.  Anyone who does something like that last example are people who just like to watch the world burn AFAIC and there's not much you can do about them 😅
The indentation level could even be configurable!

I think ~H will be formatted by Phoenix.LiveView.HTMLFormatter.
A checker for @doc could be useful for a few people.


Add Portable PDB check to short circuit Source Indexing

Fixes #4567.
I've tried this locally outside of the VSTS ecosystem and it works, but I'm not sure how to bootstrap this inside the VSTS ecosystem.
So I feel like someone from the team will have to try this out on their setups before really merging this.

@mjsabby,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@ericsciple @arunkm @sprendermsft @dandancode @jerickmsft

Anything holding back merging this PR?


[landing page] improve/simplify texts spinner

Now the spinner starts from zero position of the array


Use const functions for constructors

Reopening #639

Not sure why CircleCI isn't picking the build up, but I ran just build locally and it passed fine. Anything else @rfuest? Otherwise I'll use my epic admin powers and merge without the CI.

Not sure why CircleCI isn't picking the build up, but I ran just build locally and it passed fine. Anything else @rfuest? Otherwise I'll use my epic admin powers and merge without the CI.


[Feature]  [GSSOC '24] Integrating Links to Open in the Same Tab

Description
Issue : Enhance User Experience by Integrating Links to Open in the Same Tab !
Description:

Currently, when navigating through the website, every click on a button or link opens a new tab. While this might have been designed to prevent users from losing their place, it can lead to a cluttered browsing experience and disrupt the flow of navigation.

Proposal:

To enhance the user experience, I suggest integrating links and buttons to open in the same tab by default. This would streamline navigation and create a more cohesive browsing experience for users. Opening links in the same tab encourages users to stay focused on the content without unnecessary distractions from multiple tabs.

Screenshots

On every click on a button or link opens a new tab.

When I click on any button, it redirects me to a new tab.

Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

Hey @animex007  ,
Plz assign this task to me as a GSSoC contributor;)

please assign this issue to me

Hey @animex007, Plz assign this task to me as a GSSoC contributor;)

Hii,
@Abhiiii-001 I am also a contributor, not the project Admin or Mentor. I am waiting to get assigned to work on this issue!

hey @animex007 please assign this issue to me under GSSoC'24, as i have already solved it please accept the pull request.

hey, please assign this issue to me under GSSoC'24, as i have already solved it please accept the pull request.
Hey,
@AshutoshVerma140404  if you want contribute then open your own issue , what you are doing is stealing someone else  points !
You are solving someone else issue, while the issue is not been accepted .
Just read the code of conduct before contributing

hey, please assign this issue to me under GSSoC'24, as i have already solved it please accept the pull request.
Hey,
@AshutoshVerma140404  if you want contribute then open your own issue , what you are doing is stealing someone else  points !
You are solving someone else issue, while the issue is not been accepted .
Just read the code of conduct before contributing

Sorry for the mistake , I didn't know about that. It won't happen again.

hey, please assign this issue to me under GSSoC'24, as i have already solved it please accept the pull request.
Hey,
@AshutoshVerma140404  if you want contribute then open your own issue , what you are doing is stealing someone else  points !
You are solving someone else issue, while the issue is not been accepted .
Just read the code of conduct before contributing

I have removed my pull request

Pls provide your opinion on this @saurabhsingh720

@animex007
Your reason is right but this will make user experience difficult.
As user have to reach in different components. Then they will have to get back from current component.

Yes, absolutely @saurabhsingh720
So pls work on other good issues @animex007


Use run-command-by-id in vscode

I noticed that some commands in vscode can't be accessed via cmd+p. I created an extension that allows the user to type in the id of any command to run, and switched the talon vscode to use this functionality.

It looks like you've got a few extra, unrelated changes in this PR. :)
FWIW, these are the extensions we discussed today
https://github.com/brxck/commander
https://github.com/serenadeai/code
Brxck's a talon user too ( https://github.com/brxck/talon-config ), so there's probably an opportunity to collaborate on this.

It looks like you've got a few extra, unrelated changes in this PR. :)
FWIW, these are the extensions we discussed today
https://github.com/brxck/commander
https://github.com/serenadeai/code
Brxck's a talon user too ( https://github.com/brxck/talon-config ), so there's probably an opportunity to collaborate on this.

Oh haha whoops looks like I forgot to switch back to my master branch after filing this PR 😂. Had no idea I'd been pushing here the whole time
I'll close this PR tho, as I think we're both agreed that @brxck 's approach is better. Maybe it would make sense to switch to his approach at least feature-flagged to MacOS in the short term? Happy to work on a PR for that one

Oh haha whoops looks like I forgot to switch back to my master branch after filing this PR 😂. Had no idea I'd been pushing here the whole time
I'll close this PR tho, as I think we're both agreed that @brxck 's approach is better. Maybe it would make sense to switch to his approach at least feature-flagged to MacOS in the short term? Happy to work on a PR for that one


Add properties-query package

It is much easier and faster to bump the async package version everywhere than modify the query package.
All async usage instances are queues that are not modified in the new major version.


Rails 3 app support

Is it possible to use thredded with rails 3 app ?

Hi @kirantpatil - it is not. When I got around to extracting the message board stuff out to to an engine/gem 4.0 had just come out so I concentrated on everything working with 4.0+.  The best I can do right now is to encourage you to try to get it supported with 3.0 and send some pull requests. I don't use rails 3 for any of the apps I work on so I can't devote the time to it, sorry!


feat(dx): add bootc tooling

I would like to add these to -dx since they make making images/testing for bootc projects much easier. The osbuild-selinux one is so that the images will get generated w/ the proper SELinux labels, and podman-bootc is so that testing is much easier since it kinda works like podman machine. The osbuild-selinux one is particularly useful and non-intrusive
podman-bootc has a brew package but it does not work outside of aarch64 mac :(

Note that this add xorriso as a dep https://github.com/containers/podman-bootc/blob/4bab85f45bb85717a9ffd78d4da6515b27e34e23/rpm/podman-bootc.spec#L4

Let's find out what the status is of these landing in distro and open a tracking issue so we don't forget ~F42, thanks!

By in-distro you mean like, on the base image? - osbuild-selinux seems to exist as a package but I hardly think it will be added by default. podman-bootc I don't even have any idea what could happen to it. I'll make a tracking issue for these


removed unused code and fixed docs

No changes necessary to unit tests.
No other unused parameters.

One of the tests seems to be failing
https://buildkite.com/commerceblock/ocean/builds/634#664fbfc1-fbe3-4227-aa3a-8d523dde145d

My mistake - fixed


Error parsing dcgm.prom

Hi,
I have an issue using the collector on a dgx server.
These two metrics are empty for every gpu(no value inserted at the end of line in the .prom file):
dcgm_nvlink_replay_error_count_total
dcgm_nvlink_recovery_error_count_total
Some info on the system:
GPU: Tesla V100-SXM2-16GB
Driver Version: 384.125
On another server with the same package but different hardware (Tesla P100-SXM2-16GB) The metrics are all fine.

If you are using the dcgm-exporter script directly, comment out fields 156,200,201 for now. There is a bug in DCGM 1.4.3 causing this.

The metrics impacted here are not 156 200 201 but 429 and 439

Removing nvlink metrics is not necessary. There is an overflow in printing the values of fields 156,200,201 which was causing the script to leave any last two records empty. For instance:
dcgmi dmon -e 156,200
0           N/A161262243332996445


Is it possible to compare icons inner XML

Sometimes in different components one and the same icon is called differently, and gets to the sprite on the fact twice, or more.
And sometimes different icons with the same name are called in different components, and the last component call icon is replaced in sprite.
It would be nice to compare them XML and rename them in case of the same code, or apply v1 v2 to the end of icon id in sprite in case of different XML code with the same icon name

Could you please create repo with minimal setup to demonstrate a problem (package.json, webpack config, SVG image and piece of your code). If you don't want to create a repository - you can create a gist with multiple files.

Hi! I created repo https://github.com/Krasnopir/isomorphic-style-provider
with simple configuration. There you can try how working isomorphic-style-loader and svg-sprite-loader.
Different icons in components have the same name and gets into the sprite once.

At least console  warning or error in case of a match of names and different XML of icons

And sometimes different icons with the same name are called in different components, and the last component call icon is replaced in sprite.

@Krasnopir you can use symbolId option to avoid such cases.

sorry. forgot about [hash]
symbolId : 'kisenka-[name]-[hash:base64:5]'


pretty output?

Love this package, it's really nice.
Any chance of indented (human-readable) HTML output?
I currently have a work-around by piping the output into another package: https://github.com/Joker/hpp
But would be nice as an "option"
buff := new(bytes.Buffer)
err = SomeGompFunc.Render(buf)
hpp.Format(buf, w) // read buffer, format, then write formatted bytes into responseWriter

Hi @gaspardleon! Thank you for the suggestion. 😊
The short answer is: no, I don't think it's something I want to add to the core library. The aim of the project is to produce valid HTML components, and I'd like to keep it simple.
I would think it's better suited as a form of HTTP middleware that takes the output into a response buffer, formats it, and sends it out to the client. Maybe the library you link to can be wrapped like that and published somewhere as middleware?

Fair enough, it's nice to keep the simplicity.
I'll look into making the other package into a middleware; that does seem like a decent option.

just for completeness here is the middleware version:
package middleware

import (
	"bytes"
	"net/http"

	"github.com/Joker/hpp"
)

type prettyPrintResponseWrapper struct {
	buf        *bytes.Buffer
	httpWriter http.ResponseWriter
}

func (wrapper prettyPrintResponseWrapper) Header() http.Header {
	return wrapper.httpWriter.Header() // straight pass through
}
func (wrapper prettyPrintResponseWrapper) Write(bytes []byte) (int, error) {
	return wrapper.buf.Write(bytes) // capture the written bytes in a buffer
}
func (wrapper prettyPrintResponseWrapper) WriteHeader(statusCode int) {
	wrapper.httpWriter.WriteHeader(statusCode) // straight pass through
}

func PrettyPrintHTML(next http.Handler) http.Handler {
	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
		wrapped := prettyPrintResponseWrapper{
			buf:        new(bytes.Buffer),
			httpWriter: w,
		}
		defer func(toClose *bytes.Buffer) {
			toClose.Reset()
			toClose = nil
		}(wrapped.buf)
		next.ServeHTTP(wrapped, r) // run the next middleware or end function but with a dummy buffer to collect it's output
		hpp.Format(wrapped.buf, w) // read the dummy output buffer, format the HTML in it, then write the formatted HTML into the real http.ResponseWriter
	})
}

Thanks for sharing it!


added "Validate Example Model" and "Test gen-plugin" jobs to pipeline

Also updated main-branch.yml and pull-request.yml with new Shaw number.

it looks like we have changed the path and name for the aac-spec.yaml file. I will have to update the path. Would this be better to not hard code the path to this file?

Looks like you'll need to update the reference sha again.

I don't think this is actually related to the echo y | ..., etc.  Rather, it looks like it's having some issues with encoding when loading the templates. We may need to make sure the encoding is 'utf-8' for all our files.

I don't think this is actually related to the echo y | ..., etc. Rather, it looks like it's having some issues with encoding when loading the templates. We may need to make sure the encoding is 'utf-8' for all our files.

Hm, looks like the files in src/aac/templates/ are all us-ascii encoded. I would assume this means it can be converted to utf-8 without issue, though.
√ aac % fd . 'src/aac/templates' | xargs -n1 file -I
src/aac/templates/__init__.py: text/plain; charset=us-ascii
src/aac/templates/gen_design_doc: inode/directory; charset=binary
src/aac/templates/gen_design_doc/__init__.py: inode/x-empty; charset=binary
src/aac/templates/gen_design_doc/datum.md.jinja2: text/plain; charset=us-ascii
src/aac/templates/gen_design_doc/macros.jinja2: text/plain; charset=us-ascii
src/aac/templates/gen_design_doc/model.md.jinja2: text/plain; charset=us-ascii
src/aac/templates/gen_design_doc/system-design-doc.md.jinja2: text/plain; charset=us-ascii
src/aac/templates/gen_design_doc/usecase.md.jinja2: text/plain; charset=us-ascii
src/aac/templates/gen_gherkin_behaviors: inode/directory; charset=binary
src/aac/templates/gen_gherkin_behaviors/__init__.py: inode/x-empty; charset=binary
src/aac/templates/gen_gherkin_behaviors/behavior.feature.jinja2: text/plain; charset=us-ascii
src/aac/templates/gen_protobuf: inode/directory; charset=binary
src/aac/templates/gen_protobuf/__init__.py: inode/x-empty; charset=binary
src/aac/templates/gen_protobuf/message.proto.jinja2: text/plain; charset=us-ascii
src/aac/templates/genplug: inode/directory; charset=binary
src/aac/templates/genplug/README.md.jinja2: text/plain; charset=us-ascii
src/aac/templates/genplug/__init__.py: text/plain; charset=us-ascii
src/aac/templates/genplug/__init__.py.jinja2: text/plain; charset=us-ascii
src/aac/templates/genplug/plugin.py.jinja2: text/plain; charset=us-ascii
src/aac/templates/genplug/plugin_impl.py.jinja2: text/plain; charset=us-ascii
src/aac/templates/genplug/setup.py.jinja2: text/plain; charset=us-ascii
src/aac/templates/genplug/test_plugin_impl.py.jinja2: text/x-script.python; charset=us-ascii


Gradle breaks my build marklogic-client-api is missing the Gradle .module file in Maven Central

Since moving to Gradle, the marklogic-client-api was published without it's .module file. This causes Gradle to break the build on some private repositories that proxy Maven central.
Details:
Now that you are building with Gradle, please, please, please make sure that you upload all the artifacts, including the .module file. Due to security settings on my company's Maven repository, which proxies Maven central, Gradle breaks the build when I try to use marklogic-client-api as a dependency. This is because it is missing the .module file in the Maven central repository. Artifactory's security causes this to return a 403 instead of the usual 404. It's a long story why Artifactory does this, but I can't change it because my company depends on the Artifactory security settings to protect sensitive repositories.

My company is still getting this error because the file marklogic-client-api-<version>.module is not being published to Maven Central with its other build artifacts. This is not a problem with my company's build process, but with the MarkLogic project that publishes marklogic-client-api. Your Gradle build already produces this file automatically. It should only take a few minutes for someone to correct the publication process to upload the missing artifact to Maven Central. Are there any plans to fix this?
 > Could not resolve com.marklogic:marklogic-client-api:5.5.3.
    > Could not get resource 'https://repo.xxx.org/artifactory/mvn/com/marklogic/marklogic-client-api/5.5.3/marklogic-client-api-5.5.3.module'.
       > Could not GET 'https://repo.xxx.org/artifactory/mvn/com/marklogic/marklogic-client-api/5.5.3/marklogic-client-api-5.5.3.module'. Received status code 403 from server: Forbidden

Running ./gradlew marklogic-client-api:generateMetadataFileForMainJavaPublication produces
{
  "formatVersion": "1.1",
  "component": {
    "group": "com.marklogic",
    "module": "marklogic-client-api",
    "version": "5.5-SNAPSHOT",
    "attributes": {
      "org.gradle.status": "integration"
    }
  },
  "createdBy": {
    "gradle": {
      "version": "6.7",
      "buildId": "7ketr66d4bhunpzbxnfn4p36xi"
    }
  },
  "variants": [
    {
      "name": "apiElements",
      "attributes": {
        "org.gradle.category": "library",
        "org.gradle.dependency.bundling": "external",
        "org.gradle.jvm.version": 8,
        "org.gradle.libraryelements": "jar",
        "org.gradle.usage": "java-api"
      },
      "files": [
        {
          "name": "marklogic-client-api-5.5-SNAPSHOT.jar",
          "url": "marklogic-client-api-5.5-SNAPSHOT.jar",
          "size": 1641903,
          "sha512": "b8cd84fe0a3d9b96556603abc287190b88a93c7cf53c42f3d8e75b10185d550346f087d3ee46b25ce50a46ddbbaa3f94bb24a9f1f83f1da2d321ec82057c58a9",
          "sha256": "e72ad489ccd3bf13db25a4f9c170d6ce56b0fcdd9f24abaae4c988f514b7ab63",
          "sha1": "2659ae54157fb2fd90d4c7267505ab6042760714",
          "md5": "c622b6f075a0d75250853febf42d4458"
        }
      ]
    },
    {
      "name": "runtimeElements",
      "attributes": {
        "org.gradle.category": "library",
        "org.gradle.dependency.bundling": "external",
        "org.gradle.jvm.version": 8,
        "org.gradle.libraryelements": "jar",
        "org.gradle.usage": "java-runtime"
      },
      "dependencies": [
        {
          "group": "com.squareup.okhttp3",
          "module": "okhttp",
          "version": {
            "requires": "4.7.2"
          }
        },
        {
          "group": "com.squareup.okhttp3",
          "module": "logging-interceptor",
          "version": {
            "requires": "4.7.2"
          }
        },
        {
          "group": "io.github.rburgst",
          "module": "okhttp-digest",
          "version": {
            "requires": "2.5"
          }
        },
        {
          "group": "com.sun.mail",
          "module": "javax.mail",
          "version": {
            "requires": "1.6.2"
          }
        },
        {
          "group": "javax.ws.rs",
          "module": "javax.ws.rs-api",
          "version": {
            "requires": "2.1.1"
          }
        },
        {
          "group": "org.slf4j",
          "module": "slf4j-api",
          "version": {
            "requires": "1.7.30"
          }
        },
        {
          "group": "com.fasterxml.jackson.core",
          "module": "jackson-core",
          "version": {
            "requires": "2.12.4"
          }
        },
        {
          "group": "com.fasterxml.jackson.core",
          "module": "jackson-annotations",
          "version": {
            "requires": "2.12.4"
          }
        },
        {
          "group": "com.fasterxml.jackson.core",
          "module": "jackson-databind",
          "version": {
            "requires": "2.12.4"
          }
        },
        {
          "group": "com.fasterxml.jackson.dataformat",
          "module": "jackson-dataformat-csv",
          "version": {
            "requires": "2.12.4"
          }
        }
      ],
      "files": [
        {
          "name": "marklogic-client-api-5.5-SNAPSHOT.jar",
          "url": "marklogic-client-api-5.5-SNAPSHOT.jar",
          "size": 1641903,
          "sha512": "b8cd84fe0a3d9b96556603abc287190b88a93c7cf53c42f3d8e75b10185d550346f087d3ee46b25ce50a46ddbbaa3f94bb24a9f1f83f1da2d321ec82057c58a9",
          "sha256": "e72ad489ccd3bf13db25a4f9c170d6ce56b0fcdd9f24abaae4c988f514b7ab63",
          "sha1": "2659ae54157fb2fd90d4c7267505ab6042760714",
          "md5": "c622b6f075a0d75250853febf42d4458"
        }
      ]
    }
  ]
}

The above contents were found at marklogic-client-api/build/publications/mainJava/module.json.
Command used to generate module.json file : ./gradlew marklogic-client-api:generateMetadataFileForMainJavaPublication
Hoping to publish and upload metadata in next release.
@thorntonrp , Can you please reply to this comment as far as metadata contents and file location is concerned? Any changes required? Have not worked with Artifactory.

It just needs to be uploaded to Maven Central to the same folder that has all the other artifact information. For example, for version 5.5.3, it should be found in this folder on Maven Central:
https://repo1.maven.org/maven2/com/marklogic/marklogic-client-api/5.5.3/
The file will be called marklogic-client-api-5.5.3.module.
For an example of another library that publishes Maven metadata, see this one:  https://repo1.maven.org/maven2/org/springframework/boot/spring-boot/2.7.0/
When you run gradle publish, it should be publishing the the '*.module' to your upload repository with everything else. But I'm guessing that whatever process you had for copying those files over to Maven Central was missing that file.

@thorntonrp
Thank you for your comments.
Let me talk to the DevOps team that handles Maven Central uploads (for a manual upload). Will look at Jenkins / CI build script
to correct this issue from next release.

This issue has been resolved in Java Client API tagged as 5.5.4.

Thank you. I've verified that this issuer is solved for me by version 5.5.4


added start Ollama button and it functionality

This PR shows Start Ollama button when Ollama server was stopped. When user clicks the button it starts the server on terminal

@msivasubramaniaan can you fix the conflicts please

@msivasubramaniaan can you fix the conflicts please

Done

So I like the idea, but I'm not fond of the current implementation:
The command spawns a process that will die when closing vscode, it might be a good, or a bad thing. But I tend to prefer starting a service/daemon instead.
The problem with starting ollama as a daemon is, there's no universal way to do it:

on Mac, running "ollama list" works (this is what is done after the brew installation)
on Linux, the "ollama list" trick doesn't work, so you need to try starting the ollama service first, then fall back to launching ollama serve in the background. See the ollama_start.sh script called on linux after installation
on Windows, I don't recall if the "ollama list" trick works. If it doesn't, we'd need find a way to start the ollama service, and fall back to something like ollama status >nul 2>&1

no merge commits please, use rebase instead


Add: centaur-tabs and doom-modeline configuration

Configured my plugin centaur-tabs and the doom-modeline plugin

It looks like this:

Looks good to me. Would you mind cleaning up the indentation though?

Looks good to me. Would you mind cleaning up the indentation though?

Ah didn't noticed! It seems that I only check at indentation on the left side jaja. Done!

Perfect, thanks!


Does Custom Reporter Class Blocks the execution of current method

I want to measure time and counter for a particular . I have created a CustomReporter by Extending BaseReport class and getting data in ReportCounter and ReportTimer methods . Suppose there is some issue in  these methods and it is stuck . Does this block the execution of main method as well ? I mean Metric Reporter class executes in different thread right ?

Reports are executed using Task.Factory.StartNew() and will not block the main execution thread.

thanks for clarifying.


Encrypt E-Mail Link

We could add the ability to encrypt the mailto e.g. with a caesar chiffre. If somebody clicks the link a javascript function is called to decrypt it and call the mailto.

Resolved in #9


pack14 crashes (fix included)

When trying to save 14b raw data as a dng (see #75 for why I have to do that) PiDNG crashes:
out[:, ::7] = data[:, ::6] >> 6
    ~~~^^^^^^^^
ValueError: could not broadcast input array from shape (3000,502) into shape (3000,752)

This is due to the packing algorithm being just plain wrong. I'd propose the following fix, which works just fine for me:
def pack14(data : np.ndarray) -> np.ndarray:
    out = np.zeros((data.shape[0], int(data.shape[1]*(1.75))), dtype=np.uint8)
    out[:, ::7] = data[:, ::4] >> 6
    out[:, 1::7] = ((data[:, ::4] & 0b0000000000111111) << 2)
    out[:, 1::7] += data[:, 1::4] >> 12
    out[:, 2::7] = ((data[:, 1::4] & 0b0000111111110000) >> 4)
    out[:, 3::7] = ((data[:, 1::4] & 0b0000000000001111) << 4)
    out[:, 3::7] += data[:, 2::4] >> 10
    out[:, 4::7] = ((data[:, 2::4] & 0b0000001111111100) >> 2)
    out[:, 5::7] = ((data[:, 2::4] & 0b0000000000000011) << 6)
    out[:, 5::7] += data[:, 3::4] >> 8
    out[:, 6::7] = data[:, 3::4] & 0b0000000011111111
    return out

If wanted I could create a pull request for it, in which case I'd probably propose a couple other changes here to make these functions more robust.

OParczyk, you're my hero. Thank you for this contribution!!


Snapshot testing with Styled JSX

Background - When doing snapshot testing with Jest, any Styled JSX changes will trigger incorrect snapshots. This causes the user to run jest -u more often, increasing change of updating snapshots that should not be updated.
Question - Do we need a way to strip out the data-jsx={#########} out of snapshot creation as part of the Styled JSX library as a utility, should this be a external plugin to support snapshot testing, or is it best practice to snapshot test the style changes?
What is everyones thoughts?

If the ID is changing it is because the CSS changed and therefore you may want to review and approve that. If styled-jsx bothers you probably you can remove the babel plugin when NODE_ENV is set to test or have a completely separate babel configuration for tests.

Do we need a way to strip out the data-jsx{#########} out of snapshot creation as part of the Styled JSX library as a utility

I wouldn't do that.

is it best practice to snapshot test the style changes

That's up to you if you want to test style changes too :)

Will reopen in case the comment above didn't answer your question

@giuseppeg I'm using styled-jsx with Next.js, can you help me figure out how to configure babel (or anything else) to have styled-jsx not generate random class names? I need something predictable to use with react shallow renderer

@thealjey the classnames generated by styled-jsx are not random. They are an hash of the styles (or styles + props when using dynamic styles). Therefore they should change only when your css changes.
We would need something like this https://github.com/styled-components/jest-styled-components for styled-jsx but I don't have time to implement it.
If you trust styled-jsx to work maybe you can disable the babel plugin in tests - ask the Next.js folks (on slack or via issue) if there is a way to do so.

@giuseppeg I do trust styled-jsx to work, and if you render the same component with the same styles, the classes (correctly) are also the same.
However, if the component is not the same, like in the case of tests, the ids are different.
e.g.
import ShallowRenderer from 'react-test-renderer/shallow';
import reactElementToJsxString from 'react-element-to-jsx-string';

const Alert = ({text}) =>

    {text}

;

const renderer = new ShallowRenderer();

renderer.render(<Alert text="something went wrong" />);

const message = 'passes text to Alert';
const actual = renderer.getRenderOutput();
const expected = (

    something went wrong

);

equals(reactElementToJsxString(actual), reactElementToJsxString(expected), message);

Result:
expected: |-
        '
\n  something went wrong\n  <JSXStyle\n    css="div.jsx-3198161760{color:#721c24;}"\n    styleId="3198161760"\n  />\n
'
actual: |-
        '
\n  something went wrong\n  <JSXStyle\n    css="div.jsx-1585881641{color:#721c24;}"\n    styleId="1585881641"\n  />\n
'

can you try to use  in both?

that works for some reason. Why?
Do I have to write styles in one line, without line breaks now? :)

haha no definitely not! My guess is that there were some indentation issues. I am not sure if it is worth fixing this right now since it might also be a breaking change somehow.

Anyway, thank you for your help figuring this out! Have a nice day ;)


Creating Map from params excluding passwords

This is causing an error on Rollbax parsing the path params:
[error] (Rollbax) failed to encode report below for reason: unable to encode value: {"path_param_key", "path_param_value"}

Thanks @messutied, I went with a slightly different approach that solves the same issue. Great catch, thanks for the PR! 💟


[Suggestion] Have AMS Turret snap to origin and default position when not locked on

Currently, after the AMS turret locks and tracks a missile and it disappears without the AMS turret destroying the missile, it will freeze at the position it last saw the missile and won't reset. So it can freeze in weird positions until it sees a new missile or is replaced.

On the todo list, including random rotation and rotation limiting


Files for field RELEASES are missing

RELEASES

[x] RELEASE_PROCEDURE.md
[ ] VERSION
[ ] MANIFEST.in
[ ] .bumpversion.cfg

Releases are following the Semantic Versioning (SemVer).
To follow the standard, this part should be considered:

Is “v1.2.3” a semantic version?
No, “v1.2.3” is not a semantic version. However, prefixing a semantic version with a “v” is a common way (in English) to indicate it is a version number. Abbreviating “version” as “v” is often seen with version control. Example: git tag v1.2.3 -m "Release version 1.2.3", in which case “v1.2.3” is a tag name and the semantic version is “1.2.3”.

The VERSION file is not required for code repositories that are created as a so-called package (in Python). In this case, the version is managed in setup.py. A repository like eoeplatform needs an additional source to store the version.


Support nova fields

I definitely think nova fields should be used.
The package’s role is to repeat fields.
I expected to be able to use any field.
Like using a toggle and a wysiwyg editor.
I would open it up and offload that concern

Currently working on a PR for this

Currently working on a PR for this

when ?)

Hi all, whilst I like the idea of this I don't really have time to build this out just at the moment.  For now if might be worth looking at alternatives such as : https://novapackages.com/packages/64robots/nova-row

Привет всем, в то время как мне нравится идея этого, у меня на самом деле нет времени, чтобы построить это сейчас. Пока, если стоит взглянуть на альтернативы, такие как: https://novapackages.com/packages/64robots/nova-row

not working with image

Hi all, whilst I like the idea of this I don't really have time to build this out just at the moment. For now if might be worth looking at alternatives such as : https://novapackages.com/packages/64robots/nova-row

not working with image
The new line when adding photos changes the photo in the first field. All hope for you

Closing this for now as the field functions the way I'd originally envisaged - more than happy for someone to use it as a basis for building out a version that works with native Nova fields


jQuery UI Library

Nikhil,
First, thank you very much for your effort with ScriptSharp.
I've started a wrapper for jQuery.UI in this github repo: git@github.com:briantoba/jQuery.UI-Script-Sharp.git
Do you know anybody else working on this? Can you help me, in any way, to get more developers eyes to see if I get a hand and finish this quickly?
Thanks!
Brian

URL: https://github.com/briantoba/jQuery.UI-Script-Sharp

Awesome to hear... will spread the word once I get a chance in couple weeks (out of town right now).
Sent from my phone
On Nov 26, 2011, at 4:43 PM, "Brian Toba"<EMAIL_ADDRESS>wrote:

Nikhil,
First, thank you very much for your effort with ScriptSharp.
I've started a wrapper for jQuery.UI in this github repo: git@github.com:briantoba/jQuery.UI-Script-Sharp.git
Do you know anybody else working on this? Can you help me, in any way, to get more developers eyes to see if I get a hand and finish this quickly?
Thanks!
Brian

Reply to this email directly or view it on GitHub:
https://github.com/nikhilk/scriptsharp/issues/129


Support for lambda JWT authorizer

Hello 👋
In the previous version of SST we could use lambda authorizers, does such a feature exists in SST ion?

Hi @jayair @fwang any updates for custom Lambda Authorizer with Ion?

We haven't gotten to it yet but somebody got this working on Discord through a transform.

@fwang take a look at the PR?

@fwang this PR https://github.com/sst/ion/pull/908

Any updates? @jayair
Maybe posting how some people managed it with the transform (as mentioned here) would be great!


Toggle Operation

Add a Toggle operation:
const a  = producer((
  trigger = Get.trigger,
  toggle = Toggle.foo.bar.baz
) => {
  toggle()
})

This will change the value of foo.bar.baz to true if the current value is falsy or to false if the current value is truthy.
An extended idea would be to give it a number of states through which it can cycle:
Toggle.foo.bar.baz('yes', 'no', 'maybe')
// on each call it will go through yes -> no -> maybe and back to yes

This should be handled in #53


[eas-cli] add eas env:exec command

Why
Please describe the motivation for this PR, and link to relevant GitHub issues, forums posts, or feature requests.
How
How did you build this feature or fix this bug and why?
Test Plan
Please describe how you tested this change and how a reviewer could reproduce your test, especially if this PR does not include automated tests! If possible, please also provide terminal output and/or screenshots demonstrating your test/reproduction.

#2549  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @szdziedzic and the rest of your teammates on  Graphite


Object detection on video frames take soo long.

I am using this repo to run YoloV3 on a test video.  My GPU support is GeForce GTX 1080 Ti. The video is playing with almost 3 sec per frame. I have no idea why it is so slow, even though  my GPU is good enough. I have attached a screen-shot of my terminal while running the test video. Any idea or guidance is much appreciated. Thank You

Same issue only with simple image, 2 seconds per image.

I ran into this problem with up to 1200s for only one video frame detection.
To speed up the detection processing, I replaced the part (line 39 in yolo_model.py file) :
box_xy = K.get_value(K.sigmoid(out[..., :2]))
box_wh = K.get_value(K.exp(out[..., 2:4]) * anchors_tensor)
box_confidence = K.get_value(K.sigmoid(out[..., 4]))
box_confidence = np.expand_dims(box_confidence, axis=-1)
box_class_probs = K.get_value(K.sigmoid(out[..., 5:]))

By :
box_xy = self._sigmoid(out[..., :2])
box_wh = np.exp(out[..., 2:4]) * anchors_tensor
box_confidence = self._sigmoid(out[..., 4])
box_confidence = np.expand_dims(box_confidence, axis=-1)
box_class_probs = self._sigmoid(out[..., 5:])

I also added the sigmoid function in this class :
@staticmethod
def _sigmoid(X):
    return 1 / (1 + np.exp(-X))

The prediction + detection processing goes from 4s to a constant 0.08s per frame on a GTX 970.


chore: remove paho max inflight limit

Issue #, if available:
Description of changes:
Bridge MQTT3 client currently only allows 10 "inflight" QOS1 messages, which limits performance.  This change removes paho's inflight limit by setting it to max possible value.
Why is this change necessary:
How was this change tested:
Any additional information or context required to review the change:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

looks like it broke tests though, taking a look:
BridgeTest.GIVEN_mqtt3_and_mapping_between_local_and_iotcore_WHEN_iotcore_message_received_THEN_message_bridged_to_local(Broker)[1] timed out waiting for local mqtt client to connect