RedisException: CROSSSLOT Keys in request don't hash to the same slot

Getting this error when run on redis labs coud cluster.

@mraible can you help ?

On JHipster v7.9.3 getting ERR_TOO_MANY_REDIRECTS after enabling this.

We are also seeing same issue on azure enterprise cluster. Any updates on this thread?

@jaydeep-punjani I'm sorry, I missed this issue when you originally entered it because I was on vacation and had notifications turned off.
You might try asking this question on Stack Overflow. That way, more people (including JHipster developers and Redis experts) will see it and might be able to help.


Launchers not added to Steam [Epic Games, UPlay]

I followed the instructions step by step, once the scrip completed it restarted steam but couldn't find Epic games in the library. I removed the launchers and tries to install again but nothing worked. restarted the steam deck and the issue still persist. I went to Campadata file and found epicgameslauncher.exe there but cant find it in steam library. so i added it manually to steam (add non steam game) and forced the input for compatibility when I lunched it opened but non of the controllers are running except touching the screen

@xCloudy75 can you send the log

attached
NonSteamLaunchers-install.log

@xCloudy75  you may need to hit the "Start Fresh" button in order for it to go smoothly, for some reason in you log file it says NonSteamLaunchers folder was not "empty" meaning you had left over files in their for some reason. So hitting start fresh should fix your issue and then try and re install epic. ill look into the code more to see why this is happening.

the attached file above was after I did the Start Fresh button not before.

any updates?

@xCloudy75 hasn't had a chance to do much fixing yet as I've had work IRL will be working on this fix this weekend. No worries.

@xCloudy75 just pushed a fix for you brother to the .sh file let me know if youre still having the problem

I'm having the same issue on latest version (2.99)

NonSteamLaunchers-install.log

I used 2.98 on one deck without issues (other than the EA app issue itself).  And I tried to install 2.98, as well as 2.99, on a second Deck. And I can't seem to get any launchers to even show up. The log above is from the second Deck with the issues.

@trackmastersteve so for you the launchers are indeed installing just not being added to steam correct?

@moraroy that is correct!

Have the same issue with them installing but not showing up in steam - if I add them manually they nearly crash my deck - any fix?

the same
but i dont know where to find log file

I am also facing this problem.  I have tried a few different fixes, but the launchers will not show up in Steam, no matter what I try.

After installing the EGS client using NSL, the EGS client was not displayed in the steam library. Reboots and installations did not help from the very beginning. I solved the problem this way - along the way (/home/deck/.local/share/Steam/steamapps/compatdata/) I deleted the Non Steam Launcher file as well as its config and started installing EGS again and after installation it was displayed in the Steam library.

Just to add a bit more information to this as I've hit the same issue. Here's the steps I've taken and what I tried:

Manually downloaded v3.8 from releases.
Ran the script.
Performed a fresh start (I hadn't installed anything at this point but I figured better safe than sorry).
Selected EA Games, GoG, Epic, Uplay
Waited for the install to complete. I got prompted to install the Gecko components for Proton/Wine so did that.
The install finished and dropped me at the EA launcher. I was able to log in and view games.
Opened Steam - No launchers were listed.
Closed and quite Steam, and relaunched it - Still no launchers showing.
Re-ran the script, it showed the launchers had been installed and their location, but I had no way to launch them easily.
Rebooted and checked for launchers in Steam library in Deck mode - Still nothing.
Rebooted back to desktop, ran the Fresh start option to remove everything.
Downloaded the NonSteamLauncher executable from the main page of the github repo (This is the one that downloads the latest release itself, appears to also be using 3.8).
Ran the install, this time only did GoG and Epic.
Install completed successfully, still nothing appearing in Steams non-steam games for the launchers. (log attached, see NonSteamLaunchers-install_2ndTry.log) NonSteamLaunchers-install_2ndTry.log
Restarted Steam, still nothing.
Re-ran the fresh start script to clean it all out.
Checked the location cwthand mentioned above (/home/deck/.local/share/Steam/steamapps/compatdata/NonSteamLauncher) - It doesnt exist for me (assuming the clean start flattened it as to be expected).
Ran another install, this time just for Gog
Same issue, the install works and steam was automatically restarted, but still no launchers. Log attached (NonSteamLaunchers-install_gogOnly.log) NonSteamLaunchers-install_gogOnly.log
I deleted the config file that cwthand mentioned but that made no difference after a re-install.

I took a browse through the logs but the only thing that really stood out for me was line 4348 in the 2nd Try log and line 1941 in the GoG Only log, where if I'm reading it correctly it has trouble interpreting my steam id timestamp and reports no users found, but the next few lines down it does list a steam ID but prefaces it with a - symbol, where it then struggles to create the appropriate shortcuts I think, I'm not super familiar with steams shortcuts/directory structure so I could be wrong.
If you take a look at the GoG Only log and go from line 1940 all the way down to about 1968, you'll see the errors I'm referring to.
+ mkdir /home/deck/.steam/root/userdata/-76561197960265728/config/
mkdir: cannot create directory ‘/home/deck/.steam/root/userdata/-76561197960265728/config/’: No such file or directory
+ touch /home/deck/.steam/root/userdata/-76561197960265728/config/shortcuts.vdf
touch: cannot touch '/home/deck/.steam/root/userdata/-76561197960265728/config/shortcuts.vdf': No such file or directory
+ config_dir=/home/deck/.steam/root/userdata/-76561197960265728/config/
+ shortcuts_vdf_path=/home/deck/.steam/root/userdata/-76561197960265728/config//shortcuts.vdf

@Aldinas interesting thank you ill take a look

@moraroy - I've been doing some digging in the code and while my bash is rusty as anything, I think the problem is because I've got a very very old steam account that has a space in the username (i.e. my username is "Aldinas 2k").
Valve disallowed this in later account creations but those of us who made our accounts way back when Half Life 2 first released didn't have that restriction.
The error I was seeing ( ((: 2k: value too great for base (error token is "2k")) is referring to that 2k in my username as an invalid token because its expecting the timestamp, but getting the wrong value due to the space.
I'll do some more testing and see if I can write a fix for it.

I've put together a fix and submitted PR #208 for it. I don't think it will resolve trackmastersteves  issues as his log indicates his username and steam ID were correctly identified it, I think it might just be for a small percentage of people that have the same space in the username issue that I do.

The first time I installed NSL it worked like a charm but recently I decided to factory reset my Deck and now I'm having issues. I'm trying to install the 'Battle.net' app and after it finishes downloading the app, I think it tries to add the shortcut (or something else) to Steam but for some reason it doesn't work and the Steam app closes and once it is opened again, everything else closes (related to NSL) and nothing happens nor does the app seems to have been installed. Any suggestions?

@Kayonne when you install the battlenet launcher make sure you close the windows and let it install twice

For anyone having this issue in the future:
if you have already installed an app before and maybe after trying to reinstall an app,  this issue comes up .
you basically just need to delete the "nonsteamlauncher" file , from the folder "Compdata" (the path should be home/local/share/steam/steamapps/compdata).
After this , try again installing the app you want.
This should solve the issue completely and install any app without any problem .
The issue is just an internal conflict inside the compdata folder, pretty simple.
At least , this has always been the fix for me.

I deleted the modules folder, tried again, same results. A reboot showed NSL not detecting the GOG install that it created.
NonSteamLaunchers-install.log

@Mobeeuz very strange I can't seem to duplicate that error. I'm going to try on a fresh steam deck, I will get back to you. In the mean time I recommend using the decky plug-in version of NonSteamLaunchers, the decky plug-in doesn't deal in vdf file parsing.

I did, I get the "Something went wrong, refresh" black screen error during client installation and it crashes.

@Mobeeuz you got that with the decky plugin??

Yes, NSL is the only plugin with that issue that I have installed. It's full screen, stops the entire process during client installation, and crashes Decky entirely.

@Mobeeuz dang :/ ok will keep testing, thanks for letting me know.

Is this for Desktop mode install or the Decky install? If it's for Desktop, the last log I sent was the last attempt I made.

Tried, failed, no log in downloads folder. Error was 'autorun'

@Mobeeuz add me on discord @moraroy

I wanted to throw my hat in too. I factory reset my Deck this morning, heard about your project and wanted to give it a go. Script was the second thing installed on my Deck after Firefox.
NonSteamLaunchers-install.log

@suttin cool thanks suttin that error is because you have no shortcuts.vdf file, aince.you don't have any shortcuts in your library I've already fixed this in the plug-in version on decky. Still haven't fixed this one yet in the .desktop version. I would simply add something to steam manually, and then try it.

@suttin this has now been fixed

Logs as requested...
Archive.zip


Unable to create new application via DEV - Portal.

I tried to create a new application through the DEV portal but could not finish any application type. (with the latest implementation)
Step to reproduce:
Login to developer portal:
2. Application > Add new Application
3. Select any application Type
4. In Wizard, provide mandatory information,
5. Click on Finish, in the Summary section.
*** Status code -500

This issue is not reproduced in the 5.11.0-beta4 pack. Therefore closing this issue. @NilukaSripalim Please reopen this if you are able to reproduce this in the latest pack.


Blog post: Intercepts

Write a blog post about intercepts on covid19.ca.gov. Once Clara and Aaron decide what level of content support they'd like, I'll put milestones in this summary.

We will not be moving forward with this as we are re-evaluating communications. Closing out.


Cannot reshape variable with validate_shape=False

Given the following code:
import tensorflow as tf

x = tf.Variable(tf.zeros((3, 4)), validate_shape=False)
transposed = tf.reshape(x, [tf.shape(x)[1], -1])

init = tf.initialize_all_variables()
sess = tf.Session()
sess.run(init)

print(sess.run(transposed))

I got the following error:
TypeError: Expected int32, got list containing Tensors of type '_Message' instead.

Any comment on closing ?


Invalid options in vue.config.js: "publicPath" is not allowed

Version
3.3.0
Environment info
  System:
    OS: macOS 10.14.2
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
  Binaries:
    Node: 10.6.0 - /usr/local/bin/node
    Yarn: 1.13.0 - /usr/local/bin/yarn
    npm: Not Found
  Browsers:
    Chrome: 71.0.3578.98
    Firefox: 64.0.2
    Safari: 12.0.2
  npmPackages:
    @vue/babel-preset-app:  3.2.0
    @vue/cli-overlay:  3.2.0
    @vue/cli-plugin-babel: ^3.0.4 => 3.2.0
    @vue/cli-plugin-eslint: ^3.0.4 => 3.2.1
    @vue/cli-service: ^3.0.4 => 3.2.0
    @vue/cli-shared-utils:  3.2.0
    @vue/component-compiler-utils:  2.3.1
    @vue/preload-webpack-plugin:  1.1.0
    @vue/web-component-wrapper:  1.2.0
    babel-helper-vue-jsx-merge-props:  2.0.3
    babel-plugin-transform-vue-jsx:  4.0.1
    eslint-plugin-vue: ^5.0.0-0 => 5.0.0
    vue: ^2.5.17 => 2.5.21
    vue-axios: ^2.1.4 => 2.1.4
    vue-cli-plugin-element: ^1.0.0 => 1.0.0
    vue-eslint-parser:  2.0.3
    vue-hot-reload-api:  2.3.1
    vue-loader:  15.4.2
    vue-router: ^3.0.1 => 3.0.2
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.5.17 => 2.5.21
    vue-template-es2015-compiler:  1.6.0
    vuex: ^3.0.1 => 3.0.1
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce
update  " Vue CLI " => general setting "PublicPath"   's default value,then build error
What is expected?
according to the recommended configuration on the official website, I modified the value of publicPath ，
What is actually happening?
After modification, the compiler reported the following error。
error：Invalid options in vue.config.js: "publicPath" is not allowed

how I fixed it:
npm install -g yarn
yarn install

It works for me now.  Hope it can help you solve your problem. -:)

how I fixed it:
npm install -g yarn
yarn install

It works for me now. Hope it can help you solve your problem. -:)

works for me too~


Fix atom map

Fixed atom mapping to account for the environment. GeometryEngine needs some fixes still regarding eligible torsions. Those are next.

Addressing #125

Woohoo!

Looks like it's the eligible torsions problem. I think this is good to merge.


Updated docker file and readme.md

I've updated the docker file and the readme.md.
Dockerfile:
I have changed the image used to Ubuntu 18.04 and added in an apt-get upgrade to ensure that the packages installed are patched and do not have any vulnerabilities. THe benifit of this is that the container is slightly smaller now, 72mb vs 95mb.
README.MD
I have added a section on how to run the script against multiple domains by using a bash script.

Thanks for this PR.
The Dockerfile already uses ubuntu:18.10 image.
This project is shipped with tools/full-tld-scan.sh shell script which hopefully provides a convenient way to run dnstwist against multiple TLD.


Write Stalls in Cheri vs Mainline Piccolo

Hi,
I am evaluating the ability of CHERI Piccolo core to run unmodified RISC-V code, and noticed  that CHERI Piccolo takes 6 cycles to perform any type of store instructions (sb,sw ...), while the mainline piccolo core takes 2 cycles.
In these added 4 cycles, it appears that the pipeline stage one is busy as reported in the verbose log (e.g running with -v2) for these cycle:  Output_Stage1 BUSY (fetch BUSY)
I am wondering if this is known, and what is the root cause of these added stalls ?
Kind regards,
Ibrahim.

Sorry I missed this until now. This looks very interesting: I'll hopefully have time to look into it tomorrow. Thanks for bringing it to our attention!

Hmm, I've taken a look, and couldn't seem to reproduce this. Is there any chance you could give more info, including the code that triggered it, the configuration you built (RV32ACIMUxCHERI?), the addresses accessed etc.
Stage1 stalling is strange on particular types of instructions because Stage1 should only stall waiting on instruction fetch, so it shouldn't really mind what the instruction types are.
I'm keen to find out more about this!

Hi, Yes I am using RV32ACIMUxCHERI, but also just tried it on RV32CIMUxCHERI, I am seeing the same results.
It looks like for the first couple (9-10) of writes , they happen in 2 cycles, but after that, they start taking 6 cycles each. Following is a picture of a sequence that would trigger this !

But the writes are repeated couple hundred times.....
I looked at the cache implementation and it looks like its write around in both cases, so that should not result in any change ! I don't think this is writing to any specific location outside the normal memory, as SOC map reports !
cache_dw_valid$whas signal appears to be getting delayed after the first couple of writes if that helps, and I tried to track it further, there is a chain of 2FIFOs that getting filled.
It looks like the same thing is happening with just any normal program, but this just shows the sequence that triggers it. At the moment I am trying to understand how the tag controller work, and if it could potentially affect the performance, even for non CHERI programs !

I've managed to reproduce this locally and believe it to be an artefact of the simulation testbench.
In the testbench there is a deburster sitting in front of the memory controller model, as the memory controller does not handle burst transactions, and Bluespec's own deburster is able to have multiple outstanding requests (and treats read and write channels independently, though that's not relevant here), so everything is nicely pipelined.
However, our own deburster is simpler and only supports a single outstanding request (though it's not obvious from reading it, on first glance it appears to have FIFOs for state but it's implicitly throttled by the use of a mkSerialiser which doesn't go to IDLE and accept a new request until the old one has completed). By my count it takes 6 cycles for a request to go through the deburster, reach memory and come back (1 to move to the output AXI master FIFO of the deburster, 1 to move to the input AXI slave FIFO of the memory controller, 1 to move to the memory controller's internal request FIFO, 1 to process the request and put a response in its output AXI slave FIFO, 1 to move to the deburster's input AXI slave FIFO, 1 to get processed), and you can see the slow rate at which the back of the tag controller sees memory responses come back with the +tagcontroller plusarg (which turns on a bit of other debug output too). So Piccolo and the tag controller are fine, just thwarted by a slower testbench SoC; neither deburster is used when synthesising for FPGA.
Doing any kind of performance analysis in simulation is pretty meaningless anyway, the memory "controller" and "model" are rather crude; it's basically just a single-line writeback cache (that acts as a way to adapt from the 64-bit AXI bus to the 256-bit memory width) stuck in front of a big bank of 256-bit registers. Even on FPGA the mismatch between soft-core clock speeds and DRAM latency means that performance is still a bit dodgy, but at least it's real memory components.

PS: Also how do you work on development of Piccolo, is there any tool that I am missing, do you use BDW by any chance ? I am using just BSC and traditional verilog sims to debug this, but its pain because of the transpiled code, everything loses its structure and noinline won’t always work on all modules due to BSV restrictions !

We tend to use tactfully-placed prints (and have shims we can insert for things like AXI that log every transfer); there are various debug prints scattered throughout the source, some from us, some from Bluespec, generally guarded behind various verbosity settings. Trying to debug at the Verilog level does indeed tend to suck when you want to look at internal signals, it only really works when debugging signals that cross synthesis boundaries (i.e. inputs or outputs to modules marked with (* synthesize *)), or, if debugging on FPGA, when inserting your own ILA probes. Printing also has the advantage that you can use things like fshow to quickly dump out entire structs rather than having to grab all the fields manually (or, worse, reconstructing them from a bitvector). We also generally prefer using Bluesim over Verilator given all our debugging is done at the BSV level rather than needing the compiled Verilog.

However, our own deburster is simpler and only supports a single outstanding request
Hi Jessica,
Thank you very much for tracking this down. Would you please elaborate more on why the deburser was
changed from the mainline ?

Thanks,
Ibrahim.

However, our own deburster is simpler and only supports a single outstanding request

Hi Jessica,
Thank you very much for tracking this down. Would you please elaborate more on why the deburser was
changed from the mainline one ?
Thanks,
Ibrahim.

Bluespec's AXI library in Piccolo/Flute/Toooba enforces that all the xUSER fields have the same width (and then their Piccolo sets it to 0). We use the RUSER and WUSER fields to carry tags, but have no use for the ARUSER, AWUSER and BUSER fields, so replaced their components with our own AXI library (https://github.com/CTSRD-CHERI/BlueStuff/tree/master/AXI) that has them individually controllable, which includes our own deburster.

Regarding Bluesim, when we started working with Piccolo, we tried it however it looked like it was not recording all signals when exporting to VCD. Do you know if there is a parameter or an argument that specifies the depth of VCD logging in Bluesim

Never tried it. But a quick search turns up https://github.com/B-Lang-org/bsc/issues/236 which sounds like it could be what you're seeing.


Update guide for MongoDB

🐞 Describe the bug
I'm not sure how this happens, but my current MongoDB version is 4.4.6 with Ackee 3.1.1. Whenever I try to upgrade the images using docker-composer Mongo throws a few errors.
sudo docker-compose exec  mongo sh
# mongod --version
db version v4.4.6
Build Info: {
    "version": "4.4.6",
    "gitVersion": "72e66213c2c3eab37d9358d5e78ad7f5c1d0d0d7",
    "openSSLVersion": "OpenSSL 1.1.1  11 Sep 2018",
    "modules": [],
    "allocator": "tcmalloc",
    "environment": {
        "distmod": "ubuntu1804",
        "distarch": "x86_64",
        "target_arch": "x86_64"
    }
}

mongo    | {"t":{"$date":"2021-09-21T16:45:34.628+00:00"},"s":"F",  "c":"CONTROL",  "id":20573,   "ctx":"initandlisten","msg":"Wrong mongod version","attr":{"error":"UPGRADE PROBLEM: Found an invalid featureCompatibilityVersion document (ERROR: Location4926900: Invalid featureCompatibilityVersion document in admin.system.version: { _id: "featureCompatibilityVersion", version: "4.2" }. See https://docs.mongodb.com/master/release-notes/4.4-compatibility/#feature-compatibility. :: caused by :: Invalid value for featureCompatibilityVersiondocument in admin.system.version, found 4.2, expected '4.4' or '4.9' or '5.0. See https://docs.mongodb.com/master/release-notes/4.4-compatibility/#feature-compatibility.). If the current featureCompatibilityVersion is below 4.4, see the documentation on upgrading at https://docs.mongodb.com/master/release-notes/4.4/#upgrade-procedures."}}

It looks like at some point MongoDB was updated to v5 and now v6. It would be great to have documentation on how to upgrade Ackee that includes how to upgrade MongoDB
📚 To Reproduce
Have an Ackee instance running an older version of Ackee and try to upgrade. Run docker-composer pull && docker-compose up and you'll see MongoDB failures and Ackee fail to start.
💡 Expected behavior
I would expect Mongo DB to be updated and all code just to work.
⚙ Environment

Installation: Docker Compose
Ackee version: 3.1.1

Can you show you docker-compose.yml? What version do you use there for mongo?

Can you show you docker-compose.yml? What version do you use there for mongo?

It doesn't seem to have a Mongo version there. It's the stockvfile from the repo. Is that part of the problem?
$ more docker-compose.yml
version: "2"
services:
  ackee:
    image: electerious/ackee
    container_name: ackee
    restart: always
    ports:
      - "3000:3000"
    environment:
      - WAIT_HOSTS=mongo:27017
      - ACKEE_MONGODB=mongodb://mongo:27017/ackee
    env_file:
      - .env
    depends_on:
      - mongo
  mongo:
    image: mongo
    container_name: mongo
    restart: always
    volumes:
      - ./data:/data/db
      ```

Have an Ackee instance running an older version of Ackee and try to upgrade. Run docker-composer pull && docker-compose up and you'll see MongoDB failures and Ackee fail to start.

Hm, that what I'm doing, too. Docker should pull the latest image for both ackee and mongo when running docker-composer pull && docker-compose up.

Closing this, deleting the GitHub codebase then doing a clean checkout "fixed" it. Have no idea what was going on but here we are :D


bug: Scroll position not restored for android

Bug Report
Ionic version:

[ ] 4.x
[x] 5.x
Current behavior:

Scroll a list, click on an item that brings you to another page, then click on the back button. The scroll position is not restored to where you left it for Android, even though it seems to work for iOS.
Expected behavior:

The scroll position should be restored.
Steps to reproduce:

You can reproduce it by running the ionic conference app. I actually had opened the original issue there even though there was also some other issues with the scrolling that I mentioned there.
As far as I can see this issue should have been already solved here however it does not seem to be working for me on Android (I tested it with ionic serve --lab).
Ionic info:

Ionic:

   Ionic CLI                     : 5.4.16 (/usr/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 5.1.1
   @angular-devkit/build-angular : 0.803.25
   @angular-devkit/schematics    : 8.3.25
   @angular/cli                  : 8.3.25
   @ionic/angular-toolkit        : 2.2.0

Cordova:

   Cordova CLI       : 8.1.2<EMAIL_ADDRESS>   Cordova Platforms : browser 5.0.4
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 5 other plugins)

Utility:

   cordova-res : not installed
   native-run  : 1.0.0

System:

   Android SDK Tools : 26.1.1 (/home/seba/Android/Sdk)
   NodeJS            : v10.20.1 (/usr/bin/node)
   npm               : 6.14.4
   OS                : Linux 5.3

Thanks for the issue. What device/version of Android are you testing on?

I simply used ionic serve --lab, didn't test it on a real device yet

What browser/platform are you reproducing this issue on?

I am on Firefox 77.0.1 (64 bit) for Ubuntu. Btw, I am having even a bigger issue which is the fact that, whenever I click on an item and the page opens, it is automatically scrolled based on the previous page (still on Android only) :confused: so, basically if I click on the first item the scroll will be fine in the new page, since I didn't scroll the list. If I scroll the list let's say until the middle, the page that opens will be scrolled until middle and so on..please let me know if you think I should open another issue for that.

Thanks for the follow up. Looks like this is a duplicate of https://github.com/ionic-team/ionic/issues/20821.


Introduce Teller delete command

This pull request supports the following delete scenarios:

Delete keys based on mapping in config
Delete keys by secret path
Delete all keys based on path

I also updated the documentation and wrote basic tests for different delete cases.
NOTE: Do not merge it yet: This PR depends on #60. Once the #60 is reviewed, approved and merged, I will rebase this one.
 I rebased the PR and fixed the typo you noticed. Cheers!


SPARK-960 [CORE] [TEST] JobCancellationSuite "two jobs sharing the same stage" is broken

This reenables and fixes this test, after addressing two issues:

The Semaphore that was intended to be shared locally was being serialized and copied; it's now a static member in the companion object as in other tests
Later changes to Spark means that cancelling the first task will not cancel the shared stage and therefore the second task should succeed

Test build #26023 has started for   PR 4180 at commit 43da66f.

This patch merges cleanly.

Test build #26023 has finished for   PR 4180 at commit 43da66f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26023/
Test PASSed.

LGTM, so I'm going to merge this into master (1.3.0).  I've run into this same issue with semaphore serialization and ended up applying the same fix.


implement rbc integration test

Related Issue
resolve: #120
Description
Checklist
Thank you for your contribution.
Before submitting this PR, please make sure:

[x] Applying goimports
[x] Test case
[x] End of Work

review WIP ...


Create pangeo-forge recipes

@peterm790 , I think it would be useful to create pangeo-forge recipes for ERA5 and other datasets.
I didn't really see the point of using pangeo-forge for our workflows up until now, because:

we have functioning workflows for kerchunk already running elsewhere
it doesn't yet have a way to update on a schedule
it doesn't currently handle kerchunking of grib2 files

But @sharkinsspatial convinced me at SciPy2022 that even if we didn't need pangeo-forge there was value in capturing the workflow for others using pangeo-forge formalism.  And they are apparently working on the updating part.
At the scipy sprint on pangeo-forge, I created my first recipe, following the example here: https://pangeo-forge.readthedocs.io/en/latest/pangeo_forge_recipes/tutorials/hdf_reference/reference_cmip6.html
@martindurant, two questions:

do you think this is a good idea?
should I submit an issue to create a GRIB2ReferenceRecipe method, or should it be for a more generic ReferenceRecipe method?

do you think this is a good idea?

It has always been the long term plan to be able to at least interoprate smoothly with pangeo-forge.  However, kerchunk is still in the experimental phase, so while the API might yet change significantly, it seems like extra effort to maintain a set of workflows that depend on it. Whether that maintenance is easier within kerchunk or in pangeo-forge is a matter of opinion.

should I submit an issue to create a GRIB2ReferenceRecipe method, or should it be for a more generic ReferenceRecipe method

That's a good question. I have started to put some effort into making the APIs of the backends similar, and that's probably the right way to go eventually. However, each backend will take a set of unique arguments appropriate for the format, so any unified recipe will have the equivalent of an unschema-ed **kwargs. So far, pangeo-forge has separate classes for different types of input, so I would err on that side.

Let's leave pangeo-forge aside for now then, and I'll raise an issue to create  GRIB2ReferenceRecipe.


ParameterDeclaration is missing isOptional property

Method parameters (ParameterDeclaration) are missing a property declaring if they are optional or not. Can this be added?

Actually this could be added :-) And it's a nice idea.

has this feature added?


[Improvement] Parse "Run in Postman" / Environment JSONs

Insomnia Version: Help->About does not work, no idea :/ apt-get hasn't provided an update though
Operating System: Ubuntu 16.04.5

Details
Import from URL should work with e.g.:

https://app.getpostman.com/run-collection/1755573c5cf5fbf7968b  (--> Web View https://app.getpostman.com/view-collection/1755573c5cf5fbf7968b?referrer=https%3A%2F%2Fapp.getpostman.com%2Frun-collection%2F1755573c5cf5fbf7968b--> Download JSON https://app.getpostman.com/api/collections/1755573c5cf5fbf7968b)
https://developer.okta.com/docs/api/postman/example.oktapreview.com.environment (JSON)

I just tried this and found two problems:

Insomnia does not support the Postman export format under https://app.getpostman.com/api/collections/1755573c5cf5fbf7968b. Currently it only supports collection format v2
Postman does not provide CORS headers on those endpoints so making the request fails. This can be solved by using something other than the HTML5 fetch API but it's a bit of work.


I am going to install bazel 3.7.2, but following error occured. Target //src:bazel_nojdk failed to build

Plugin Version or Commit ID
v0.5.0
Unity Version
2021.2.17
Your Host OS
mac OS Montrery 12.4
Target Platform
iOS
[Windows Only] Visual Studio C++ and Windows SDK Version
No response
[Linux Only] GCC/G++ and GLIBC Version
No response
[Android Only] Android Build Tools and NDK Version
No response
[iOS Only] XCode Version
12.4
Command Sequences
$ brew install<EMAIL_ADDRESS>Log
$ brew install<EMAIL_ADDRESS>Running brew update --auto-update...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> Updated Casks
Updated 1 cask.
==> Downloading https://github.com/bazelbuild/bazel/releases/download/3.7.2/bazel-3.7.2-dist.zip
Already downloaded: /Users/hiddenstar/Library/Caches/Homebrew/downloads/66156404c0229400fe72d2b4bf6bf0cac3b8d9e25f6d906842bb3b27e81de2c8--bazel-3.7.2-dist.zip
==> Installing<EMAIL_ADDRESS>from bazelbuild/tap
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force
If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 13.4.
==> ./compile.sh
Last 15 lines from<EMAIL_ADDRESS>Target //src:bazel_nojdk failed to build
INFO: Elapsed time: 475.684s, Critical Path: 46.93s
INFO: 871 processes: 17 internal, 854 local.
FAILED: Build did NOT complete successfully
ERROR: Could not build Bazel
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/bazelbuild/homebrew-tap/issues
Error: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force
If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 13.4.
Additional Context
I am using a little old version of mediapipe. I already made an app by using this plugin on Windows and Android.
I am going to build ios framework for iOS build.
But I faced some issues on Mac OS Montrery and I thought I have to downgrade bazel.
but I faced this error during installing<EMAIL_ADDRESS>

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/bazelbuild/homebrew-tap/issues


Which message is being sent if both peers trust each other

In case a token is being used, the responder starts sending a 'token' message. But who sends which message (first) if both peers trust each other?
Also clarify what must happen in case one peer does not trust the other.

The responder will start sending a key or token followed by a key message as soon as he receives a new-initiator message from the server or the initiator-connected field in the server-auth message was true.
Resolved by 56e4408

We still have to describe what must happen in case...

the initiator did not expect a token message (the responder is already trusted)
the initiator did not expect an key message (the responder is not trusted)

For both cases, the easiest way would be to drop the responder by a drop-responder message. Any other suggestions?

It depends. What if the initiator still trusts the responder, but the responder has forgotten/removed/lost the initiator key? We probably don't have a way to cover both cases, because the initiator either needs to transfer the access token, or do a connection attempt using the trusted key.
I agree that a drop-responder message would probably be the best solution. We can't pass a drop reason to the responder, can we?
In any case, the application should probably fall back to creating a new session (with an auth token) when connection using trusted keys fails. We can't really implement our own fallback in the protocol, can we?

Another option would be a protocol error. That's already what happens in the current implementations, because the received message type does not correspond to the expected message type according to the handshake state.
@lgrahl what do you think?

What also needs to go into the spec:

When the initiator trusts a peer, on receiving the key message, the trusted public key should be used to decrypt the message. If decryption fails, the responder should be dropped instead of disconnecting with a protocol error.

Do you agree, @lgrahl?

'drop-responder' with a reason sounds good to me. I'll add an optional reason to that message. The server then just closes the connection with a different close code than 3004. Both cases can be covered that way because it will be unencryptable data for the initiator in both cases.
We cant implement a fallback procedure. The application should be able to handle those cases as they will occur frequently.
To your last question: How can the initiator differentiate between that case and a responder who tries to send a 'token' message?

That is the case where the responder tries to send a token message :) Or did I mis-understand your questino?

Yeah, basically this is just one case to the initiator. To sum it up: When the initiator can't decrypt the first C2C message of the responder (initiator expected 'key' or 'token') it drops the responder with "Can't decrypt that stuff, mate!"

Yeah, sounds about right.

It is a protocol error, but on C2C messages the initiator should probably not disconnect before the authentication of the responder is complete.

So... let's just call that a failed authentication attempt.

The current spec describes that protocol errors for C2C messages are handled differently:

If the other client is not authenticated yet, an initiator SHALL drop the corresponding responder by sending a 'drop-responder' message with the responder's address in the id field to the server and a close code of 3001 (Protocol Error) in the reason field. A responder SHALL close the connection to the server with a close code of 3001.
If the other client is authenticated, both initiator and responder SHALL send a 'close' message to the other client containing the close code 3001 (Protocol Error). Both SHALL close the connection to the server (normal close code).

The reason behind that behaviour: Bad clients could send rubbish to the initiator before authentication is complete. So, the initiator should not close. However, if the responder has been authenticated towards the initiator, there's no point in continuing once a protocol error has occurred.

Should be properly described in the spec now. Reopen if needed, @dbrgn.


Multi-part country code [e.g. US-New_York] causes download and processing problems

Describe the bug
I'm trying to download the SVGs for the reports for US states, and noticed that the svg command
produces duplicate countrycodes for states with multi-part names. Example below:
To Reproduce
Steps to reproduce the behavior:

./mobius.py svg

Produces
153. US-New               (SVG/2020-03-29_US-New_Hampshire_Mobility_Report_en.svg)
154. US-New               (SVG/2020-03-29_US-New_Jersey_Mobility_Report_en.svg)
155. US-New               (SVG/2020-03-29_US-New_Mexico_Mobility_Report_en.svg)
156. US-New               (SVG/2020-03-29_US-New_York_Mobility_Report_en.svg)
157. US-North             (SVG/2020-03-29_US-North_Carolina_Mobility_Report_en.svg)
158. US-North             (SVG/2020-03-29_US-North_Dakota_Mobility_Report_en.svg)

Tried to download using correct fullname US-New_York. This downloads the correct files but and writes into a file svgs/US-New.svg, which gets overwritten by when i call ./mobius.py download US-New_Jersey and so on.

Expected behavior
Separate countrycode for each state even if the first word in the name is identical.
Desktop (please complete the following information):

Ubuntu 18.04
Python 3.7

Thanks @apoorvalal we will fix as soon as possible.
For now if you have an immediate need for one of the SVGs please manually download from:
https://console.cloud.google.com/storage/browser/mobility-reports/SVG

@apoorvalal all fixed. Thanks for flagging.

np; Thanks for the quick fix and the clean implementation of the extractor [I'd gotten as far as getting the text for each figure, but the PDF > SVG conversion to read the series is genius].
Hope to put the data to good use, and will cite when i do.

Thanks @apoorvalal really appreciate the kind words. The team have moved onto other work now - fast pace timelines at the moment as I'm sure you'll understand - but will keep an eye on this repo if you have any questions. Thanks again. Michael


Feature/#743 add support for shacl

This PR addresses GitHub issue: # 743-add-support-for-SHACL
Briefly describe the changes proposed in this PR:

AST for  SHACL min count validation
SHACL Min Count validation

This is the kind of plan I hope to support in the future. "New" is an internal MemoryStore that stores all changes made in a transaction while "exisiting" is the wrapped Sail with all the data.

@jeenbroekstra Thank you for taking time to look over the code. @heshanjse Can you take a look at Jeen's comments?

@jeenbroekstra I would like to continue working with Heshan on the SHACL Sail. Do you agree with the current direction? Which is to follow the guidelines of a query engine, treating SHACL as a query language that returns invalid triples, with an abstract syntax tree, query plan generator, plan optimiser and executor. @jamesrdf @ansell What do you guys think?

@jeenbroekstra Thank you so much for your code review. i fixed some issues in the code and i will send those changes with my next commit. can you please tell us are you guys ok with our direction?

Any tests that have similar dependencies as the main code (looks like these do), please put the tests in the same module as shacl main (provided they don't introduce a circular dependency in eclipse). Any tests that do introduce a circular dependency (in eclipse) should be move to their own compliance module, such would be the case if it has a repository or server dependency. A shacl testsuites module should be its own module and should be based on https://github.com/shexSpec/shexTest/ that can be used by shacl main or shacl compiance modules.

Out of curiosity, is SHACL support now in RDF4J (and this PR can be abandoned), or is it worth fixing up this PR?

This is the only SHACL implementation right now for RDF4J and still needs to be cleaned up.

Closing this PR. Code was moved into https://github.com/eclipse/rdf4j-storage/pull/34 which has been merged.


Added support for getting the supported regions by libPhoneNumber-iOS

Thanks and should you close your issue ? :)


Node deployment

Is your feature request related to a problem? Please describe.
We need to implement a node deployment mechanism for rosetta implementation. Currently we have the following service need to build and deploy:

Data transport layer: https://github.com/ethereum-optimism/optimism/tree/master/packages/data-transport-layer
L2geth: https://github.com/ethereum-optimism/optimism/tree/master/l2geth
L1 node: it needs to be deployed on Kovan testnet
Rosetta server

Describe the solution you'd like
We have two solutions below and we need to do some research to figure out which one is easier to implement and more compatible with current rosetta infrastructure

Consolidate all services into one single container
One service per container (Use multiple containers)

Additional context
I have three concerns regarding the multiple containers solution and we might need to deep dive later:

rosetta-e2e: seems like currently there are no polygon related dockerfiles under rosetta-e2e, we need to figure out how to integrate multi-containers deployment into rosetta-e2e
services difference: I did a quick search on Polygon, the additional two containers are Bor and  Heimdall, which are Matic protocol implementation and validator node. We need to compare and confirm Optimism services (eg. data transport layer and l2geth) can do the same thing and there are no configuration and connection issues
op-replica: I think for local testing it’s fine, but for production, we still need to clone the specific repo (data transport layer or l2geth) separately and build from source

We very much prefer a docker-compose setup for at least the ethereum-optimism deployment (so one service per container) for the following reasons:

l2geth and the data-transport-layer (dtl) have different failure domains. While the former relies on the latter for sequencing, it shouldn't have to also crash if the dtl goes offline. A single container approach isn't ideal for reliability as any failure will take down both components.
Both l2geth and the dtl have very different resource requirements. It'll be easier to appropriately provision both services if they run in separate containers.
Our existing deployment scripts for l2 replicas are already based on a multi-container setup via docker-compose. This makes it easier to deliver a dockerized setup to users while providing updates/bugfixes.

I think the first two points also apply to the Rosetta server and the L1 node. And we can provide a docker-compose setup that incorporates all four components. Does this work for you?

@Inphi I agree with you, decoupling architecture has many advantages in terms of maintenance, debugging and reliability. Rosetta infrastructure also supports docker-compose setup, that's good for integration work as we already had op-replica as an example.
We need to figure out how to integrate the decoupling architecture into all the existing services of Rosetta (eg. rosetta-e2e). Currently my colleague Iris is working on this, I will bring her into the discussion and keep syncing up with her.

@Inphi I'm trying to set up node locally using docker-compose. Currently I can bring l2geth, dtl and rosetta into this setup. but have some connection issues between dtl and l1node(using openethereum for kovan). One question I have is on what condition can dtl connect to l1node? Does l1node have to be fully synced? What endpoints does dtl calls and what will be the result?
I'm asking this because l1node usually can't show chainID when first syncing and i suspect this may be one of the reasons for connection failure.
Also, it would be really helpful if you can provide a docker-compose setup! I'll continue testing locally meanwhile.

@irisZhangCB  The l1 node doesn't have to be fully synced. But it should have blocks produced on December post-regenesis (so at roughly block height 13720000).
What's your docker-compose setup like? Are you using op-replica as a base?

@Inphi  After local l1node has loaded snapshot, it can be connect by dtl! But healcheck and l2geth containers are not up. Sharing the errors below:
l2geth:
Fatal: Error starting protocol stack: Cannot initialize syncservice: Cannot initialize latest L1 data: Cannot fetch ctc deploy block at height 27989623: json: cannot unmarshal non-string into Go struct field EthContext.blockHash of type common.Hash

healthcheck:
{"level":30,"time":1643809977040,"msg":"Listening on port 3000"}

Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.4.4)

at Logger.makeError (/opt/optimism/node_modules/@ethersproject/logger/lib/index.js:187:21)

at Logger.throwError (/opt/optimism/node_modules/@ethersproject/logger/lib/index.js:196:20)

at StaticJsonRpcProvider.<anonymous> (/opt/optimism/node_modules/ethers/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:491:54)

at step (/opt/optimism/node_modules/ethers/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:48:23)

at Object.throw (/opt/optimism/node_modules/ethers/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:29:53)

at rejected (/opt/optimism/node_modules/ethers/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:21:65)

at processTicksAndRejections (internal/process/task_queues.js:95:5) {

reason: 'could not detect network',

code: 'NETWORK_ERROR',

event: 'noNetwork'

}

My docker-compose setup is based on op-replica, didn't change that much. For simplicity i'm using docker hub images instead of building from source.
---
version: "3.4"
services:
  l1parity:
    image: openethereum/openethereum:latest
    command: '--chain=kovan --no-ancient-blocks --jsonrpc-port=8545 --jsonrpc-cors=all --jsonrpc-interface=all --jsonrpc-hosts=all --jsonrpc-apis=web3,eth,net,parity'
    ports:
      - "26656:26656"
      - "26657:26657"
      - "8545:8545"
      - "8546:8546"
  data-transport-layer:
    image: ethereumoptimism/data-transport-layer:latest
    restart: unless-stopped
    env_file:
      - ${SHARED_ENV_PATH}/data-transport-layer.env
      - .env
    volumes:
      - dtl:/db
    depends_on:
      - l1parity
  l2geth-replica:
    image: ethereumoptimism/l2geth:latest
    restart: unless-stopped
    entrypoint:
      - /bin/sh
      - -c
      #- "sleep infinity"
      - "/scripts/check-for-chaindata.sh && /scripts/l2geth-replica-start.sh"
    env_file:
      - ${SHARED_ENV_PATH}/l2geth-replica.env
      - .env
    volumes:
      - geth:/geth
      - ./kustomize/replica/bases/configmaps/:/scripts/
    depends_on:
      - l1parity
  replica-healthcheck:
    image: ethereumoptimism/replica-healthcheck:0.3.0
    restart: unless-stopped
    env_file:
      - kustomize/replica/envs/kovan/replica-healthcheck.env
      - .env
    volumes:
      - ./kustomize/replica/bases/configmaps/:/scripts/
volumes:
  dtl:
  geth:

Could you post the logs you're seeing in l2geth? The healthcheck will go down as expected if l2geth is offline.

more detailed one is here:
INFO [02-02|16:01:28.453] Initialised chain configuration config="{ChainID: 69 Homestead: 0 DAO: <nil> DAOSupport: false EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: 0 Petersburg: 0 Istanbul: 0, Muir Glacier: 0, Engine: clique}"

INFO [02-02|16:01:28.454] Initialising Ethereum protocol versions="[64 63]" network=69 dbversion=7

INFO [02-02|16:01:28.454] Loaded most recent local header number=0 hash=02adc9…5927e5 td=1 age=52y10mo5d

INFO [02-02|16:01:28.454] Loaded most recent local full block number=0 hash=02adc9…5927e5 td=1 age=52y10mo5d

INFO [02-02|16:01:28.454] Loaded most recent local fast block number=0 hash=02adc9…5927e5 td=1 age=52y10mo5d

INFO [02-02|16:01:28.455] Loaded local transaction journal transactions=0 dropped=0

INFO [02-02|16:01:28.455] Regenerated local transaction journal transactions=0 accounts=0

INFO [02-02|16:01:28.455] Running in verifier mode sync-backend=l2

INFO [02-02|16:01:28.455] Configured rollup client url=http://data-transport-layer:7878 chain-id=69 ctc-deploy-height=27989623

INFO [02-02|16:01:28.466] Connected to upstream service

INFO [02-02|16:01:28.467] Initializing initial OVM Context ctc-deploy-height=27989623

Fatal: Error starting protocol stack: Cannot initialize syncservice: Cannot initialize latest L1 data: Cannot fetch ctc deploy block at height 27989623: json: cannot unmarshal non-string into Go struct field EthContext.blockHash of type common.Hash

I'm sorry, I provided an incorrect minimum block height for l2 syncing (I gave you the one for mainnet not kovan). For kovan it should be at least 27989623.
So it looks like your l1 node is too far behind. What is its current block-number?

that makes so much sense, currently it's 20989153. Do you know how long it roughly takes to sync to 27989623?

Probably an hour or so on a 16 GB; 4-core machine.

should L1node run in archive mode? or could you share your config for l1node?

The L1 node should run in archive mode. I don't have a config for an l1 node as I've been using a remote alchemy node instead. But typically, this is done on geth using --gcmode=archive.


380 from address to account name in the send coins screen

@longgamma-massa low priority, I let you review the pr description screenshot to see if it fit the need

Okay for me as long as we keep the address as well. Did you test if UI breaks with a long wallet account name?

I'll try to improve this, @LucasF243 do you have any advice?


Dynamically update balance popup

Created according to https://github.com/BeamMW/beam-ui/issues/536#issuecomment-807796211
1.If the popup is open at the time of receiving the shielded(max privacy) asset, the "more details" button doesn't appear. Only after reopening this popup, the button appear.

2.If the popup is open at the time of receiving the shielded coins(sending them to a public offline address), the amount isn't updated in the popup, the "More details" button isn't pressed, and there is also a lot of empty space at the bottom of the window (marked in blue). After reopening this popup the bugs disappear.

checked


[rdc] Turn off SPI_HOST when reset

For SW_RST_REQ, AonPok, and MainPok scenarios, the device is assumed to be in idle state. One common error shows up in the report is from SPI_HOST CONTROL.output_en to SPI_HOST PADs.
This commit adds constraints to turn off Passthrough and the SPI_HOST Output when resetting the IP.

For the SW_RST_REQ case I think it is reasonable to require that SW properly sequences this and makes sure the SPI_HOST is not active.
For systemwide resets (AonPok and MainPok scenarios), I am not sure we can do much, since the proper sequencing is up to the system reset controller.
When it comes to the SPI protocol however, aborting and restarting a pending transaction by cycling /CS would unwedge the interface in case it becomes locked up, right?

No problem at all! Thanks for the comment!

On Nov 16, 2022, at 11:10 AM, Martin Lueker-Boden @.***> wrote:
@martin-lueker commented on this pull request.
Hi @eunchan https://github.com/eunchan,
This sounds like a reasonable change. Unfortunately I'm really unfamiliar with the RDC corner of the project, so I don't feel exactly qualified to review this. (Apologies!) I support the intent though.
—
Reply to this email directly, view it on GitHub https://github.com/lowRISC/opentitan/pull/16400#pullrequestreview-1183181137, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJDG3S5IXYDPH5HNKX4L4LWIUWUFANCNFSM6AAAAAASCQGK4I.
You are receiving this because you were mentioned.

MainPok are the scenario the chip enters to the power down mode. I assume AonPok also similar (ready to deep power state then the PCB or host system lowers the chip power.
In these cases, it is safe to assume the SPI is quiescent in my opinion.
WDYT?

On Nov 16, 2022, at 11:13 AM, Michael Schaffner @.***> wrote:
For the SW_RST_REQ case I think it is reasonable to require that SW properly sequences this and makes sure the SPI_HOST is not active.
For systemwide resets (AonPok and MainPok scenarios), I am not sure we can do much, since the proper sequencing is up to the system reset controller.
When it comes to the SPI protocol however, aborting and restarting a pending transaction by cycling /CS would unwedge the interface in case it becomes locked up, right?
—
Reply to this email directly, view it on GitHub https://github.com/lowRISC/opentitan/pull/16400#issuecomment-1317539846, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJDG3QYUEKCDO2TDW4CXTLWIUW57ANCNFSM6AAAAAASCQGK4I.
You are receiving this because you were mentioned.

MainPok are the scenario the chip enters to the power down mode. I assume AonPok also similar (ready to deep power state then the PCB or host system lowers the chip power. In these cases, it is safe to assume the SPI is quiescent in my opinion. WDYT?
…
On Nov 16, 2022, at 11:13 AM, Michael Schaffner @.***> wrote: For the SW_RST_REQ case I think it is reasonable to require that SW properly sequences this and makes sure the SPI_HOST is not active. For systemwide resets (AonPok and MainPok scenarios), I am not sure we can do much, since the proper sequencing is up to the system reset controller. When it comes to the SPI protocol however, aborting and restarting a pending transaction by cycling /CS would unwedge the interface in case it becomes locked up, right? — Reply to this email directly, view it on GitHub <#16400 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJDG3QYUEKCDO2TDW4CXTLWIUW57ANCNFSM6AAAAAASCQGK4I. You are receiving this because you were mentioned.

I agree - SW is responsible for initiating these scenarios, and hence it should be ok to require SW to disable spi_host properly (or make sure it is not active).


Child calls are currently not available.

Looking at the swagger file we can observe some items have child calls, while you can get this data using a direct call(/contacts/{ID} instead of /companies/contacts/) it would be a nice to have to also get the direct childs supported.

Child calls are now available in branch beta. Will be pushing this branch to main soon.

After checks, published version 0.9. Child calls are now available. Documentation must still be updated. See issue #1


fix(select): return single value for single select

fixes #675

Do you think we should make a major release (v3) for this?

I believe we should at least have one new component per major release or significant change, until that time such changes can wait unless it requires urgent fix.

Stable releases should last longer than a few months. Our consumers should not need to make a careful upgrade every few months. So I propose avoiding breaking changes as much as possible for a while, and collect those proposals in a backlog for a bigger major release.
We may consider to have another branch for major releases like next-major and we can merge breaking changes to that branch, but this will also add extra maintenance cost since we will need to sync other works from next branch to next-major continuously.

Yes, beta releases can have major releases. But we currently have only a single beta channel. If we merge this branch with a "breaking change" notice in commit message, then our next branch will release "v3.0.0-beta.1". Then when we merge next to main, we'll have a major stable release. there will be no chance to make a "v2.3.0" release.


New Question related to Creating Packages (Python)

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

Closes #XXXXX

Added a question related to Creating Packages in python, putted 3 distractors, a proper explanation and a link to freecodecamp's blog.

Can I put more questions ?

@thegeekyb0y
You can create a new PR for new questions since this has already been reviewed and merged 👍


Site always shows English language independent of browser settings/weights

Expected Behavior
When configuring mutliple languages with weights I expect to see the the language with the lowest weight when opening the webpage for the first time.
Configuration is as follows:
languageCode: de

# Manage languages
# For any more details, you can check the official documentation: https://gohugo.io/content-management/multilingual/
languages:
  de:
    languageName: Deutsch
    weight: 1
  en:
    languageName: English
    weight: 3

# Force a locale to be use, really useful to develop the application ! Should be commented in production, the "weight" should rocks.
#DefaultContentLanguage: de

I've also tested languageCode: de-ch. Same effect.
The only way to make sure the page opens in German is to use DefaultContentLanguage which triggers the issue #916.
Current Behavior
When visiting the site I always see the english language. Also english is deployed to the site root, additional languages are deployed to a sub-directory.
Possible Solution

Steps to Reproduce
(See configuration snippet above)
Screenshots
(none)
Browsers Affected

[x] Chrome
[x] Edge
[x] Safari 17

Detailed Description
English seems to be hardcoded as default language on the root dir. Maybe slightly related to #916.

The issue should be fixed now. Please, try pulling the latest change. Specify defaultContentLanguage to your default language.

Works for me, thanks a lot for looking into it and also for this lovely theme.


Web: Could not proxy request

casdoor & rust part works.
cd web
yarn install
yarn serve
browser:
sign up /sign in:
Proxy error: Could not proxy request /api/signup from localhost:8080 to http://localhost:5000.
Looks like no server at  localhost:5000:
Firefox can’t establish a connection to the server at localhost:5000.
Is there anything  missing in Readme?
Thanks!

Rust backend works successfully with casbin/casdoor-all-in-one
I tested it with curl.
So conf.toml has no need to change.
But web part -  Could not proxy request /api/signup from localhost:8080 to http://localhost:5000.
The popt 5000 exists only in   vue.config.js
module.exports = {
  devServer: {
    proxy: {
      '/api': {
        target: 'http://localhost:5000',
        changeOrigin: true,
        pathRewrite: {
          '^/api': '/api'
        }
      }
    }
  }
}

Looks like it is vue dev server and it is not started .


Updating Main with changes in Live

Docs Build status updates of commit 0203ad2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

biztalk/core/high-availability-using-sql-server-always-on-availability-groups.md
:bulb:Suggestion
View
Details

biztalk/adapters-and-accelerators/adapter-oracle-ebs/enable-ms-dtc-to-allow-transactions-for-oracle-e-business-suite-adapter.md
:white_check_mark:Succeeded
View

biztalk/core/sb-messaging-adapter.md
:white_check_mark:Succeeded
View

biztalk/core/high-availability-using-sql-server-always-on-availability-groups.md

Line 142, Column 208: [Suggestion: preserve-view-not-set - See documentation] Did you mean to link to a specific version? If so, add &preserve-view=true to the URL: /sql/integration-services/catalog/ssis-catalog?view=sql-server-ver15#always-on-for-ssis-catalog-ssisdb

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


deprecated consistency

Follow up on #75813 with an (unpublished) lint to catch more places where deprecations are not consistently applied.
/cc @Piinks

PTAL


hide dependabot PRs in issue threads

So when dependabot finds a new release for a dependency, it'll add the changelog, the problem is: those changelogs sometimes have links to issues, and doing this completely swamps the issues with hundreds upon hundreds of "This was referenced ..." PR links
Being able to hide those would be amazing !
Example URL:
https://github.com/FortAwesome/Font-Awesome/issues/15396

I'd just suggest staying away from such noisy bots. There's 0 reason to update each dependency separately each time a patch version is released.
Anyway, issue tracked in https://github.com/sindresorhus/refined-github/issues/615

I'd just suggest staying away from such noisy bots. There's 0 reason to update each dependency separately each time a patch version is released.

this also depends in the case of security apps, but for most apps, I definitely agree on this, patch versions don't need automatic PRs like this
But sadly, this is something out of our control, they'll keep making noise as long as they're used :/

Anyway, issue tracked in #615

Thanks for the info !


The update script of a remote command is executed locally

What happened?
In the most recent version (0.4.0) if I supply an update script to a command.remote.Command, it seems to get executed as expected when the create or update scripts have changed, but unfortunately it is executed locally rather than remotely.
Steps to reproduce
import * as command from '@pulumi/command'

const command = new command.remote.Command('test', {
    connection: {
      host: '<IP_ADDRESS>',
      user: 'root',
      privateKey
    },
    create: 'touch /create',
    update: 'touch /update1'
  })

pulumi up -y

const command = new command.remote.Command('test', {
    connection: {
      host: '<IP_ADDRESS>',
      user: 'root',
      privateKey
    },
    create: 'touch /create',
    update: 'touch /update2'
  })

pulumi up -y

Expected Behavior
To find the files "create" and "update2" in the root of the remote server's filesystem.
Actual Behavior
Found only the file "create" on the remote server - found the file "update2" in the root of my local workstation's filesystem.
Versions used
CLI
Version      3.35.3
Go Version   go1.18.3
Go Compiler  gc
Plugins
NAME     VERSION
command  0.4.0
nodejs   unknown
random   4.8.0
Host
OS       darwin
Version  11.6.5
Arch     x86_64
This project is written in nodejs: executable='/usr/local/bin/node' version='v16.14.2'
Current Stack: dev
TYPE                                        URN
pulumi:pulumi:Stack                         urn:pulumi:dev::apps::pulumi:pulumi:Stack::apps-dev
pulumi:providers:pulumi                     urn:pulumi:dev::apps::pulumi:providers:pulumi::default
pulumi:providers:random                     urn:pulumi:dev::apps::pulumi:providers:random::default_4_8_0
random:index/randomPassword:RandomPassword  urn:pulumi:dev::apps::random:index/randomPassword:RandomPassword::pgClonePass
pulumi:pulumi:StackReference                urn:pulumi:dev::apps::pulumi:pulumi:StackReference::dfetch/infra/dev
pulumi:providers:command                    urn:pulumi:dev::apps::pulumi:providers:command::default_0_4_0
command:remote:Command                      urn:pulumi:dev::apps::command:remote:Command::create-clone
pulumi:providers:command                    urn:pulumi:dev::apps::pulumi:providers:command::default_0_3_2
command:remote:Command                      urn:pulumi:dev::apps::command:remote:Command::appsetup
Found no pending operations associated with dev
Backend
Name           pulumi.com
URL            https://app.pulumi.com/jonva
User           jonva
Organizations  jonva, dfetch
Dependencies:
NAME             VERSION
@pulumi/command  0.4.0
@pulumi/pulumi   3.35.3
@pulumi/random   4.8.0
@types/node      14.18.21
yaml             2.1.1
Pulumi locates its logs in /var/folders/p6/stvl236d5q96ystn3r7k7fbc0000gp/T/ by default
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

I have no experience with go nor with the structure of pulumi providers, but just glancing over the code it seems like this line just has a typo: https://github.com/pulumi/pulumi-command/blob/fca32a49c7c76ca4e61314cea91a0c33f4c3b9e5/provider/pkg/provider/provider.go#L355


Add failing test case for package object

This PR is meant to showcase an issue with incremental compilation for package object

To validate this pull request against other sbt modules, please visit this link.

Maybe packageobject-and-traits already exercises the same issue

indeed, looks like it to me (but I'm a zinc amateur)
/cc @romanowski who submitted it in #289

sgtm, :+1:


Delayed jobs repeats

Hi there!
Our company uses kue to perform delayed posting in social networks.
We love everything about kue, except one thing. Sometimes jobs run two and even more times.
Our server configuration has a lot of forked workers, that perform jobs execution.
Maybe the reason is my misunderstanding of jobs.promote mechanism.
Should I place this line in every worker or only in master process?

Any updated on this @brianconnoly? I'm having the same issue. Only running one process with one jobs.promote() without parameters.
Something I'm doing is changing the max attempts during job execution, which might be the cause. I'm doing this because the error generated by the job should determine if it should be run again or not. Maybe theres a better pattern for this.

https://github.com/LearnBoost/kue/issues/312


Why is my windows output not including an exe?

Hi, I built my website for windows on my windows pc, however I was expecting to get an exe file that I could have people run to install the application or create a freestanding application without a dependency, in this case i cant open the application file outside of its build folder because the error "the code execution cannot proceed because ffmped.dll was not found". I want to create a singular file however it only works if it is inside the folder with that file. How can I create the .exe file like I was expecting and that is written on the readme? Thanks

What is the command you ran, and also the address of the site?
On Fri, Oct 2, 2020 at 10:19 AM Joseph<EMAIL_ADDRESS>wrote:

Hi, I built my website for windows on my windows pc, however I was
expecting to get an exe file that I could have people run to install the
application or create a freestanding application without a dependency, in
this case i cant open the application file outside of its build folder
because the error "the code execution cannot proceed because ffmped.dll was
not found". I want to create a singular file however it only works if it is
inside the folder with that file. How can I create the .exe file like I was
expecting and that is written on the readme? Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jiahaog/nativefier/issues/1053, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOMFZRZW2UBP4WZFRLYXQI3SIVJ6PANCNFSM4SBHWY4Q
.

--
Sarwesh Parajuli

Hi, I built my website for windows on my windows pc, however I was expecting to get an exe file that I could have people run to install the application or create a freestanding application without a dependency, in this case i cant open the application file outside of its build folder because the error "the code execution cannot proceed because ffmped.dll was not found". I want to create a singular file however it only works if it is inside the folder with that file. How can I create the .exe file like I was expecting and that is written on the readme? Thanks

Hi @jshepin. You're misreading the readme. It says

Apps are wrapped by Electron (which uses Chromium under the hood) in an OS executable (.app, .exe, etc) for use on Windows, macOS and Linux.

To mean "you get an executable for your platform for a website".
But it does not pretend the expected output is a single giant standalone static file, as that's not something Electron supports. Yes, to run a Nativefier app, you need the outputted folder as a whole.
Closing.

okay, however this article on medium clearly outputs a .exe, how did that happen?

okay, however this article on medium clearly outputs a .exe, how did that happen?

@jshepin it outputs a main .exe inside a folder containing other DLLs (Dynamically-Linked Libraries), which must be present at runtime for the main .exe to work:

do you have any documentation on how to get those files? or is it just project dependent?

do you have any documentation on how to get those files? or is it just project dependent?

@jshepin see https://github.com/electron/electron/releases and https://github.com/electron/electron-packager

awesome, thanks for your help, this is a really great package.


Has many through fails under Rom 5

Describe the bug
When using a has many through relationship, Rom throws an exception:
/Users/shipmana/.rbenv/versions/2.6.2/lib/ruby/gems/2.6.0/gems/rom-core-5.0.1/lib/rom/schema.rb:232:in `[]': nil attribute doesn't exist in groups schema (KeyError)

To Reproduce
#!/usr/bin/env ruby
require 'bundler/inline'

gemfile do
  source 'https://rubygems.org'
  gem 'rom'
  gem 'rom-sql'
  gem 'rom-repository'
  gem 'dry-types'
  gem 'sqlite3'
end

module Types
  include Dry::Types(default: :nominal)
end

rom = ROM.container(:sql, 'sqlite::memory') do |c|
  c.gateways[:default].create_table :apps do
    primary_key :id
    String :name
  end

  c.gateways[:default].create_table :apps_groups do
    primary_key :id
    Integer :app_id
    Integer :group_id
  end

  c.gateways[:default].create_table :groups do
    primary_key :id
    String :name
  end

  c.gateways[:default].use_logger(Logger.new($stdout))

  c.relation(:apps) do
    schema(:apps, infer: false) do
      attribute :id, Types::Integer, primary_key: true
      attribute :name, Types::String

      associations do
        has_many :apps_groups
        has_many :groups, through: :apps_groups
      end
    end
  end

  c.relation(:groups) do
    schema(:groups, infer: false) do
      attribute :id, Types::Integer, primary_key: true
      attribute :name, Types::String
    end
  end

  c.relation(:apps_groups) do
    schema(:apps_groups, infer: false) do
      attribute :id, Types::Integer, primary_key: true
      attribute :app_id, Types::Integer, foreign_key: true, relation: :apps
      attribute :group_id, Types::Integer, foreign_key: true, relation: :groups

      associations do
        belongs_to :apps
        belongs_to :groups
      end
    end
  end
end

rom.relations[:apps].insert id: 1001, name: "rom"
rom.relations[:groups].insert id: 2002, name: "coders"
rom.relations[:apps_groups].insert app_id: 1001, group_id: 2002

class AppRepo < ROM::Repository[:apps]
  def by_name(name)
    apps.where(name: name).combine(:groups).one
  end
end

repo = AppRepo.new(rom)

puts repo.by_name("rom").inspect

Expected behavior
This code works under Rom4, so this appears to be a regression.
Your environment

Affects my production application: YES
Ruby version:

% ruby -v
ruby 2.6.2p47 (2019-03-13 revision 67232) [x86_64-darwin17]

OS: ...
Mac OS 10.13.6

Thanks for reporting. I'll deal with this ASAP.

@mrship it's fixed in master. I'll push 5.0.2 either later today or tomorrow morning.

@solnic thanks for fixing so quickly. 👍

@mrship this was fixed in https://rubygems.org/gems/rom/versions/5.0.2


Observing fast moving Particles2D from a fast moving object causes visual glitch.

Linux Kubuntu 14.04 Godot v2.1stabel
Issue description: Observing fast moving particles from a fast moving object that goes in the same direction makes the particles look jumpy like they are in two places at once.
Steps to reproduce:
Add player (rigid or kinematic body) and move it fast in one direction with attached current Camera2D.
Add Particles2D to the world and set set_initial_velocity( player.get_linear_velocity() ) and set set_pos(player.get_pos() ).
Link to minimal example project:
moving_particels.tar.gz
( spawns particles on hit return )
Use case: Creating hit debris in a space shooter that fly s independent alongside of the ship.

If you're just gonna set it's velocity the same as the player, why make it world?

If you're just gonna set it's velocity the same as the player, why don't parent it to the player?

So when the player turns the particles keep their speed and direction.

Can confirm from time to time on my game planetoidee. It looks like it is related to global coordinates in my case at least.

Can you guys confirm it's still present in 3.0?

The bug is still present. I made a 3.0 compatible minimal example and tested it with alpha 1 and a build of todays master branch. There also might be another 3.0 related bug in the particle system, spawning the test particles had some randomness in its velocity even though I turned all attributes relating to randomness to 0.
Minimal example:
particels.tar.gz

@UltyX thank you for test and example

The reproducing project is no longer work with the current master 9ad1800. It still shows some visual glitches but I'm not sure if it's the same as described by OP.

This bug is no longer present in the 3.2.beta4 version of the engine. I updated the reproduction example in case this becomes relevant again in the future.
Minimal example (resolved):
particels.tar.gz


Global config (~/.config/tab.yml) is not properly handled when cwd is ~/.config or its subdirectory

problem
It looks like the global config (~/.config/tab.yml) is also recognized as a local config to ~/.config when cwd is ~/.config or any of its subdirectory.
And if you have a tab configured with a relative path from home directory (which works fine as a global config), that causes errors as the path doesn't make sense as a local config to ~/.config.
Also it says I have duplicate definitions, which is why I believe it's recognized both as a local config and the global config. This happens no matter if the path is configured relative or absolute.
step to reproduce
OS: macOS Mojave 10.14.6 18G7016 x86_64
Shell: zsh 5.8
tab: tab 0.5.5

$ cat ~/.config/tab.yml
shell: zsh
workspace:
  - tab: N
    doc: N
    dir: solarizedalias/N # This is relative from $HOME ($HOME/solarizedalias/N)

  - tab: localbin
    doc: /usr/local/bin
    dir: /usr/local/bin # absolute path

  - tab: dotfiles
    doc: dotfiles
    dir: dotfiles # This is also a relative path

$ cd ~/.config
$ tab --check

5 errors were detected:
    - Tab N/ has a working directory that does not exist: /Users/ykksd/.config/solarizedalias/N
    - Tab dotfiles/ has a working directory that does not exist: /Users/ykksd/.config/dotfiles
    - Tab N/ has duplicate definitions
    - Tab localbin/ has duplicate definitions
    - Tab dotfiles/ has duplicate definitions

expected behavior
~/.config/tab.yml is treated as the global config
(But I wonder what if someone really wants a local config at ~/.config?)
By the way...
I really like tab! I see it's improving at every release. Good work!

Hi @solarizedalias,
Thanks for using tab!  That is really cool to hear :D
Indeed, it looks like the config is being scanned twice.  There is some 'working directory' magic that is applied to the global config, and that's why the relative paths are being rendered incorrectly.
I'll fix this by ignoring the global config if it appears in the scan.

Hi @solarizedalias,
Thanks for using tab!  That is really cool to hear :D
Indeed, it looks like the config is being scanned twice.  There is some 'working directory' magic that is applied to the global config, and that's why the relative paths are being rendered incorrectly.
I'll fix this by ignoring the global config if it appears in the scan.

I just published a fix in v0.5.6.

I just published a fix in v0.5.6.


fix: exception.type should always be a string

Which problem is this PR solving?
By Semantic Conventions for Exceptions - exception.type should be a string.
Short description of the changes
Cast to string for numeric exception codes.

Could you add a quick test that verify that the result is always a string ?


[Request] Ubuntu/Linux support?

Pretty awesome utility. Wish I could use it in Linux.

You can just use PulseAudio (pavucontrol). This tool would not work at all since it's written with the CoreAudio API which is only available for Windows.

A taskbar based utility is ideal. Opening an application like pavucontrol is the same as opening windows playback devices which nullifies the purpose of this app. It's square one.
In GNOME however, there are some GNOME Extensions which more or less do what this utility brings to the table. https://extensions.gnome.org/extension/1092/audio-switcher/
It's built into the taskbar system menu so still one layer deeper than this but solves my problem.


Blameable features update

A new inspection was created.

The inspection completed: 4 updated code elements

A new inspection was created.

The inspection completed: 3 updated code elements


Triple clicks on the screen disrupt the very state of pressing the screen

Issue details
The problem arose when switching from the previous version of the library 1.11.0 to 1.12.0
Reproduction steps/code
All you have to do is quickly press three fingers on the screen at the same time, and then libjx will record the extra press. More precisely, the fact that the finger was not removed.
And then if you move with one single finger, it will be considered that “pinching” is happening, and instead of moving, make a "zoom" here

And all because here the check is incorrectly verified, mistakenly believing that the finger was not released.

If you then press with two fingers at the same time, everything will return to normal.
We use libgdx in different modules, and each one has this problem, regardless of the screen.
Version of libGDX and/or relevant dependencies
Version 1.12.0
Please select the affected platforms

[ ] Android

Haven't been able to reproduce on current master. Tested on GestureDetectorTest and MultiTouchTest on a Galaxy S7 with Android 8. Can you try 1.12.1-SNAPSHOT?

I completely forgot. We reproduced the problem on Android 12 and 13 version. And I checked on the 1.12.1-SNAPSHOT, the problem is still there.
https://drive.google.com/file/d/1z_EF3bTqL9abR_Ly16b0E0A4spWaapRF/view?usp=sharing
Here is a recording of the problem, which clearly shows that there were 3 taps on the screen. And then there was a zoom with one finger
As I wrote when rolling back the version, everything is correct. And here, working with one finger, in checking the queue which finger is pressed, almost 10 values are true

POCO F3, Android 12
OnePlus Nord CE 2, Android 13
Yes https://drive.google.com/file/d/1MQM8ZZEQdt2sjy8S_vSunlPP6enxbu5m/view?usp=sharing
At the moment it is not possible

Ok, it's consistent with the discussion on Discord #android. It seems it affects some specific devices that intercept 3 finger gestures for stuff such as taking a screenshot. The behaviour doesn't reproduce when that setting is disabled. I'll try to work on a PR because I think I know what the problem is. If I manage to set up a Pixel device to do a 3 finger system action I'll be able to test it, otherwise I'll submit it blindly and wait for your feedback.

I've made an attempt to fix it here https://github.com/libgdx/libgdx/pull/7259 but needs testing. Can you please test it locally?


Release 7.72.7

Please make sure all GH checks passed before merging. It can take around 20 minutes.
Briefly review this PR to see if there are no issues or red flags and then merge it.

I checked ios-config doesn't add a significant number of CNAMEs.
Other changes look ok.


Wifi gets created, but breaks internet access

So I gave your script a try, because ubuntus nm applet was just too unstable, but then after the creation of the AP, my internet connection was interrupted. /etc/network/interfaces has the entries
`auto lo
iface lo inet loopback
auto enp4s0
iface enp4s0 inet dhcp
iface enp0s31f6 inet manual
`
Then I do this:
root@htpc:~# create_ap wlp5s0 enp4s0 HTPC <password> Config dir: /tmp/create_ap.wlp5s0.conf.mmQCpcSq PID: 12060 Network Manager found, set ap0 as unmanaged device... DONE Creating a virtual WiFi interface... ap0 created. Sharing Internet using method: nat hostapd command-line interface: hostapd_cli -p /tmp/create_ap.wlp5s0.conf.mmQCpcSq/hostapd_ctrl Configuration file: /tmp/create_ap.wlp5s0.conf.mmQCpcSq/hostapd.conf Using interface ap0 with hwaddr a4:34:d9:09:44:32 and ssid "HTPC" ap0: interface state UNINITIALIZED->ENABLED ap0: AP-ENABLED
and I can connect to the wifi, but no Internet access, not even from the access point itself.
syslog gives me the following:
Aug 28 22:38:37 htpc NetworkManager[3098]: <info>  [1472416717.8100] device (ap0): state change: unavailable -> unmanaged (reason 'removed') [20 10 36] Aug 28 22:38:37 htpc NetworkManager[3098]: <error> [1472416717.8100] platform-linux: do-change-link[10]: failure changing link: failure 19 (No such device) Aug 28 22:38:37 htpc NetworkManager[3098]: <error> [1472416717.8101] platform-linux: do-change-link[10]: failure changing link: failure 19 (No such device) Aug 28 22:38:37 htpc NetworkManager[3098]: <error> [1472416717.8103] platform-linux: do-change-link[10]: failure changing link: failure 19 (No such device) Aug 28 22:38:37 htpc NetworkManager[3098]: <warn>  [1472416717.8103] device (ap0): failed to disable userspace IPv6LL address handling
I am on Ubuntu 16.04, Linux htpc 4.4.0-34-generic
Thanks!

Ok, tried it again in bridged mode, not working at all
sudo] password for main:
Config dir: /tmp/create_ap.wlp5s0.conf.coyVHPn8
PID: 31955
Network Manager found, set ap0 as unmanaged device... DONE
Creating a virtual WiFi interface... ap0 created.
Sharing Internet using method: bridge
Create a bridge interface... br0 created.
hostapd command-line interface: hostapd_cli -p /tmp/create_ap.wlp5s0.conf.coyVHPn8/hostapd_ctrl
Configuration file: /tmp/create_ap.wlp5s0.conf.coyVHPn8/hostapd.conf
rfkill: WLAN soft blocked
ap0: Could not connect to kernel driver
Using interface ap0 with hwaddr a4:34:d9:09:44:31 and ssid "HTPC"
Failed to set beacon parameters
ap0: Could not connect to kernel driver
Interface initialization failed
ap0: interface state UNINITIALIZED->DISABLED
ap0: AP-DISABLED
ap0: Unable to setup interface.
ap0: interface state DISABLED->DISABLED
ap0: AP-DISABLED
hostapd_free_hapd_data: Interface ap0 wasn't started
nl80211: deinit ifname=ap0 disabled_11b_rates=0
Error: Failed to run hostapd, maybe a program is interfering.
If an error like 'n80211: Could not configure driver mode' was thrown
try running the following before starting create_ap:
nmcli r wifi off
rfkill unblock wlan
Doing cleanup.. done


Error while trying to use fcm

Am getting this error: LoadError (cannot load such file -- fcm), while trying to use fcm gem. But if i use gcm it has no error. But i upgraded to using firebase.
I have it in my gemfile and i have tried out everything i can. Can any one help me out please?
This is my class that i use to send the notification with
class Device < ActiveRecord::Base
require 'fcm'

def self.notify_android(recipient)
fcm = FCM.new(".....")
registration_ids= recipient # an array of one or more client registration tokens
options = {data: {hi: "invoice"}}
response = fcm.send(registration_ids, options)
end
end

Simple steps to diagnose:

have you done "bundle install" after mentioning it in Gemfile ?
when you do "gem list fcm" on terminal does it show fcm gem installed ?
can you try requiring fcm in IRB - does it work there ?

I have done all that, it even shows in the gem list. My ruby version is 2.1.5 (in windows) and i have tried it locally and also using heroku where i have hosted my app.
It still says 500 internal server error and then LoadError

I have the sampe bug


Add QA for additional variables

Start with mean temperature and precipitation, then expand to the rest.

Internal consistency checks from 'NWS (1994) TSP 88-21-R2':

if 'temp_airC' < 'dwpt', then FLAG (hourly)
if 'temp_air_meanC' < 'dwpt_mean', then FLAG (daily)
if 'temp_air_minC' > 'temp_air_meanC' > 'temp_air_maxC', then FLAG (daily)
if 'wind_spd_mps' > 'wind_spd_max_mps', then FLAG (hourly)
if 'wind_spd_mean_mps' > 'wind_spd_max_mps', then FLAG (daily)

Temporal consistency checks from 'NWS (1994) TSP 88-21-R2':

if 'temp_airC' hourly delta > 19.4 C (35 F) per hour, then FLAG (hourly)
if 'relative_humidity' hourly delta > 50 % per hour, then FLAG (hourly)
if 'wind_spd_mps' hourly delta > 10.3 mps, then FLAG (hourly)

Temporal consistency ('persistence') checks:

if 'sol_rad_total' < 1 for more than 14 hours, then ALERT (hourly)
if 'wind_spd_mps' < 1 for more than 14 hours, then ALERT (hourly)
if range of 'wind_vector_dir' < 1 for more than 14 hours, then ALERT (hourly)

Thanks @jeremylweiss!  This is great.  I'm imagining a pointblank validation table with these checks, then a separate table / plots for forecast-based checks.

if 'temp_airC' hourly delta > 19.4 C (35 F) per hour, then FLAG (hourly)
if 'relative_humidity' hourly delta > 50 % per hour, then FLAG (hourly)
if 'wind_spd_mps' hourly delta > 10.3 mps, then FLAG (hourly)

For this we could use historical data and look for deltas outside of some quantile


Getter from custom cast is not executed when accessing related models

Environment
No response
Reproduction
related to https://github.com/CodeDredd/pinia-orm/issues/1818
Describe the bug
I'm using a custom cast with one of my model fields and that cast provides a getter and a setter.
I just noticed that when I load related models, the getter is not being executed. It is executed fine when I query the model directly but not if I load a parent model.
So here it works well
const requirements = useRepo(Requirement).all()

console.log(requirements); // here the cast is applied and the getter is used

but here it doesn't
const architectureView = useRepo(ArchitectureView) //
  .with('requirements')
  .where('id', this.currentArchitectureView.id)
  .first();

console.log(architectureView.requirements); // here the cast is not applied and the getter is not used

I believe this is a bug right? If it's intended.. is there a way to circumvent that so the getter is always used?
Thanks!
Additional context
No response
Logs
No response

Yeah i think this is a bug. Looking into it.

@CodeDredd Great thank you!
If possible I would like to know if you foresee being able to push this fix to the edge channel very soon? I ask because I'm working on a demo for next Monday and without this fix I can still make it work but I have to add quite a lot of extra code to do the work of the getter in many places.

@vesper8 If you spend my a ☕ i push it very soon. 😉 😄 ... i like brain motivation. ^^
I see what i can do. 😉

@vesper8 Many thanks ❤ ❤ .  This is enough for 3 coffees. So that's enough for one day 😆 .... hehehe....
not thanks. It's always nice to see to get something back 💯
I hope i was fast enough with the fix....hehehe ^^....it seemed only to have affacted belongsToMany and morphToMany

@CodeDredd Thank you very much once more! I can confirm that your fix is working on the edge channel. I was indeed having this issue with belongsToMany relations.
Cheers!!


Hosting Sphinx docs and inventory

Ideally, we should build and publicly host somewhere a Sphinx documentation for this project along with inventory.
Inventory is created by Sphinx at build step, and allows Sphinx-based documentation for other projects (such as one for BibXML service) to cross-reference classes and functions in this project.
Is it possible to handle docs for this project (and possibly relaton-bib-py later, if they’re not merged) like another static site, and deploy it e.g. to py.relaton.com via GHA? Would it be a pain to manage another subdomain? I believe Sphinx docs can also be built for a subpath, e.g. relaton.com/relaton-py.
The build step is fairly simple, GHA workflow will be added shortly…

@ronaldtse if I add deployment workflow like this one, for example, will it be possible to add relevant secrets later?
Is it simple to provision a subdomain (like py.relaton.com), or configure a subpath under the existing domain (e.g.,relaton.com/relaton-py) to be served from a separate static site/S3 bucket?

@ronaldtse we could also use third-party hosting: https://readthedocs.org

Set this up at https://relaton-py.readthedocs.io/en/latest/.

Reopening, since it seems like the autodoc is not properly building.

Resolved the problem.


The promtool ships with the server

You could they could grab the promtool standalone with go get but that assumes they have Go installed and setup. I think it's more likely they have the Prometheus server download.

For Prometheus 2.0 we're in the middle of moving this document over to the Prometheus repo, would you mind making this change against https://github.com/prometheus/prometheus/blob/master/docs/configuration/recording_rules.md ?


Set View : New set populated after any item entry

New set should be blank, lol

Also new set add and delete set not working, plus convert form to type html form.

refresh on add , repopulates

in concept show item info, image part of item , change later on UI

Pass DEV


Upload: add ajax error response object to err

Please make sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you follow Element's contributing guide (中文 | English | Español).
[x] Make sure you are merging your commits to dev branch.
[x] Add some descriptions and refer relative issues for you PR.

you can ajax to any non existing page to get a 404

i wanna got 500 with response


feat(hover): add syntax highlighting for tailwindcss

My change was removed. #1067
Added a comment for future reference.
Before

After

fix lint :)

@glepnir the lint errors were outside the scope of my pr change. StyLua must been updated or something. I just ran StyLua on lua/lspsaga/symbol/winbar.lua to fix it.


Opening a bal with wrong package will result getting stuck in 'loading'

 Issue by maheeka
Monday Oct 30, 2017 at 00:16 GMT
Originally opened as https://github.com/ballerina-lang/composer/issues/4272

Since it makes users clueless, we need to at least provide an error or warning message. Please check the following from trying to open twitter connector. Without the package, it opens without an issue.

Fixed in 0.970.0


Add more information to commit message

Motivations
The PR which is created for a release has lots of useful information in it. The previous version, the version to be released, changelog, git history covering the changes, and more.
For reference, here's an example from a test project.

However, the commit message ends up looking like:
chore: release (#6)

Signed-off-by: github-actions[bot]<EMAIL_ADDRESS>Co-authored-by: github-actions[bot]<EMAIL_ADDRESS>
It's missing all of that useful information.

Would you like to implement this feature? maybe 😅

Solution
I would like to see the possibility of having all the same information that goes into a PR in the commit message. It's a more durable information store than GitHub (or alternative platforms).
It would probably be necessary to format it differently. While markdown in a commit message is often not too hard to read, adding HTML tags can make it more difficult.
An example which does what I want, but needs some more polish is what we've implemented for tokio-console:
https://github.com/tokio-rs/console/commit/05484b136f8400dd2b91ee8155e09954a9da448c
It's also using git-cliff for release notes, which might be where some more work is needed.
Alternatives
The user can copy and paste the PR description into the commit message when submitting, but this isn't an ideal workflow in my opinion.
Additional context

Hey Hayden 👋
Would this solve your issue? https://github.blog/changelog/2022-08-23-new-options-for-controlling-the-default-commit-message-when-merging-a-pull-request/
Tldr from my understanding in github you can set the commit message as the the pr description by default

@MarcoIeni Sorry! I completely missed the movement on this issue.
I think that this is a good general solution to my concern. In some cases, using this setting isn't desired because a team/project's workflow revolves around force pushing and keeping the commit message up to date, rather than the PR message.
But closing this issue is the right way to go - I think I might be a bit special here.
Thank you for your help!

I think I might be a bit special here.

I don't think so, you raised a valid concern.
Hopefully this solution is good enough for you. If it's not, feel free to open another issue or re-open this one :)


off-heap memory used by oakMap can not be released

I use oakMap instead of concurrentSkipListMap in my project, while I find something strange.
When I no longer use an oakMap, java heap memory used by this oakMap is released, but off-heap memory does not seems to be released.
I use NMT to track the use of off-heap memory, and I find something strange.

ggggggggg
The heap memory occupied by current process is very small, but through the linux system command "top" found that it occupies huge memory. And I analyze the memory distribution in heap and find that heap memory used by the current process is very small. By the way, therer is no OakMap object in heap memory.

private final OakMapBuilder<Long, AckData> oakMapBuilder;
private final OakMap<Long, AckData> unAckMessagesMap;
public OffHeapMessagePool(AmqpChannel amqpChannel) {
this.amqpChannel = amqpChannel;
this.oakMapBuilder = new OakMapBuilder<>(new OakLongComparator(), new OakLongSerializer(),
new OakAckDataSerializer(), Long.MIN_VALUE).setMemoryCapacity(MEBIBYTE);
this.unAckGetMessageSet = new ConcurrentSet<>();
this.unAckMessagesMap = oakMapBuilder.buildOrderedMap();
}
public boolean addToUnAckMessageMap(long deliveryTag, AckData ackData) {
return unAckMessagesMap.putIfAbsent(deliveryTag, ackData) == null ? true : false;
}
public boolean removeFromUnAckMessagesMap(long deliveryTag) {
return unAckMessagesMap.remove(deliveryTag) != null ? true : false;
}
public void clean() {
    if (unAckMessagesMap != null ) {
        try {
            unAckMessagesMap.close();
            //System.gc();
        } catch (Exception e){

        }
    }

}

Oak has a cached memory pool. It reuses the memory for other Oak instances.
After closing Oak the memory is not released back to the OS, but new Oak instances will reuse this memory.
Can you tell us more about your use case? Do you have a case where you don't create new Oak instances but need to release the memory back to the OS?

I create 100 OakMap. One thread keeps calling oakMap.putIfAbsent(key, value), and the other thread keeps calling oakMap.get(key) and aokMap.remove(key). During this period, no new  OakMap will be created.  A few days later, I found that my process is down due to outOfMemroy

Yes, I will not create new Oak Instances and need to release the memory back to the OS

I use MAT(Memory Analyzer Tool）to anlayze the memory usage of my process, and I find this:

Hi @fujian-zfj ,
Thanks for your interest in Oak and sorry for late reply. The issue that you see is because currently keys in the OakMap are not released and with the time going keys are consuming the memory. It was written that way because until now OakMap was used for relatively short periods of time and keys are usually not big.
However, we already have PR#188 where we are adding the new memory manager and the ability to release keys to OakMap. So it is mater of a week or so. If you need it really urgently, may be you would like to try OakHash (not ordered) instead of OakMap (ordered). In OakHash keys are released in time of the mapping remove. Are you using public release or current master?

I use current master. And what I need is OakMap(ConcurrentSkipListMap) instead of OakHash.
I am looking forward to the new  memory manager which has the ability to release keys to OakMap.
If possible, I hope it can be launched as soon as possible, and I will continue to follow up on this issue.


Drop support for HOOMD 2

2.9.7 was released 2021-08-03, so we are past the 3-year window of support.
@clpetix can you please comment on this issue with your thoughts on the window of support for simulation packages? I remember I sent you some links related to NumPy policy on support, but I don't think we finalized that discussion.

@mphoward, I had a discussion with Levi Naden at MolSSI about this. He recommended to follow SPEC 0 unless there is a compelling reason to keep support longer (e.g., necessary package but no longer updated or a majority of the core user group isn't transitioning to the new version).

SPEC 0 would be only 2 years of support. Is this acceptable for simulation packages?

I think it would also mean dropping support for Python 3.9 now and 3.10 in October. That seems fairly aggressive to me.

Following up on our discussion, I think we should:

Support Python releases until end of life
Support packages'  stable / patch releases for two years.
Implement a similar version of the chart on the SPEC 0 page into our documentation so that we can keep track of when we are officially ending support for certain packages / let users know when things will be unsupported.