Auto-selecting updated mods

The recent update added a new behavior that's getting pretty annoying.
When a mod updates from 0.16 to 0.17, it gets auto-selected as 'active', which means that you have to remember to turn off all mods, and then turn the modpack you want back on, or you'll end up with unexpected mods when you start playing. This has caught me out a couple times now.

Factorios default behaviour is to enable newly installed mods. Usually I try to stay close to how Factorio handles mods to not cause confision.
It should've always worked like this so I'm confused why you think it's new behaviour.
The most logical way I see to approach this is to add an option to the settings.

Hmm. Maybe the issue is just that it's been a long time since the last update cycle. And it feels wrong because the mod is disabled because it's from last version, then gets updated and turned on.

I've added a setting to control this behaviour, will be in the next release.


Wrong NID when submitting Tx

I having issues sending transactions on mainnet with the javascript sdk. We are able to send Txs on berlin and lisbon but not on mainnet which is holding back the release of the contract verification tool.
Here you can see us building the Tx: https://github.com/geometry-labs/icon-tracker-frontend/blob/main/src/redux/store/iiss.js#L464
We are using a lookup table here: https://github.com/geometry-labs/icon-tracker-frontend/blob/main/src/redux/store/iiss.js#L395
The lookup table is how we get the nid but when we send the Tx, the nid comes out as "0xNaN" in the rpc payload which is causing the error.  We have also tried using nid=1 (int not hex) but still confused why it would work on testnet.  Any idea why on this?
Thank you for your time.

@robcxyz
I think table is wrong.
const nodeId = {'https://berlin.net.solidwallet.io': '0x7',
                'https://lisbon.net.solidwallet.io': '0x2',
                'https://tracker.icon.community': '0x1'}

try https://tracker.icon.community -> https://api.icon.geometry.io

@inwonkim - That was it.  Sorry should have got that myself. My JS skill are not good...


Write Feed Info Schedule File Last

There is a race condition between Ingestion and Performance Manager when writing the parquet files from a gtfs static schedule. The Performance Manager understands there to be a new schedule to read when the Feed Info file is written to the metadata log. In processing this schedule, it will build other URLs for other files in the schedule. If the Feed Info file is written before these other files, it could trigger processing of files that have yet to be written.
To fix this, we want to write the Feed Info table last, so that the Performance Manager will only attempt to read a static schedule when all of the files associated with it have been written.

change some of the structure of the GtfsConverter class to skip writing the feed info file while looping through zip contents and then write the feed info file
update tests to acommadate this, including monkey patching the write parquet and move s3 objects functions.

Asana Task: https://app.asana.com/0/1204817744674813/1204868004140902/f

LGTM


Broken link to overview page

https://chaoss.community/software/ says "see Augur in action using 8-knot."
That link (metrix.chaoss.io/overview) 404s.

@sgoggins Is there a place in chaoss that this issue should be put? Not sure which repo/area this falls under
@suehle thank you for pointing this out!

@suehle : I pushed a correcting change to GitHub and it should be propogated to the website shortly.


Add support for --network=netns:/proc/pid/ns/net

To test this run a cri-o container and then get its pid and pass --network=netns:/proc/pid/ns/net of the cri-o container. You should then see the same ip a output inside both these containers.
@rhatdan @runcom
Signed-off-by: Mrunal Patel<EMAIL_ADDRESS>cc: @lsm5 we need a new rpm as soon as this is merged.

See https://github.com/projectatomic/docker/pull/272 for a review and the port to 1.13.1 as well

Updated.

LGTM, but there's no way I can test this out unfortunately :(

I tested it on Fedora 26.

@lsm5 can we build a new docker rpm with this?

@mrunalp @runcom i'm preparing to consume this but i don't know how to determine my container's pid:

To test this run a cri-o container and then get its pid and pass --network=netns:/proc/pid/ns/net of the cri-o container. You should then see the same ip a output inside both these containers.

since my logic is running inside the pod, as far as it's concerned it's pid is "1".

@bparees We need two things. 1. pid 2. path to resolv.conf
Both of these are available in the inspect endpoint served by the crio unix socket /var/run/crio.sock at /containers/id
You should bind mount the resolv.conf path to /etc/resolv.conf i.e. the equivalent of docker run -v /path/you/get/from/inspect/:/etc/resolv.conf

@bparees See https://github.com/google/cadvisor/pull/1741/files for an example on how to talk to cri-o inspect endpoint. Also, resolv.conf path will be returned as part of annotations.


Properly mangle method names, don't generate destructors.

r? @fitzgen
Fixes a few issues seen in #342

 Warning

These commits modify unsafe code. Please review it carefully!

@bors-servo r+

:pushpin: Commit 31bd2d3 has been approved by fitzgen

Thanks!

:hourglass: Testing commit 31bd2d3 with merge 3289e93...

:sunny: Test successful - status-travis


added Escape Room game 👍

Resolve Issue #620
Added the escape room in this repository!
Screenshots :-

Please refer the documentation. Checks have failed


[seen] Fix seen_movies scope: local (2nd attempt)

Fixes #1148
So, it turned out that that scope: local was not getting passed to seen.py's on_task_learn()
Add tests for seen_movies scope: local

Awesome work


Readers/agents/tools in LlamaHub available for LlamaIndexTS users?

Hello there, I started building a RAG application powered by Llamaindex.TS (chrome extension for students).
I was wondering whether the readers/agents/tools etc. provided in LlamaHub --> eg [https://llamahub.ai/?tab=readers] are usable within my llamaindex.ts application, as I don't see documentation for them in llamaindex and the import examples are in Python.
Is the only way to leverage these pre-created tools switchin to the Python client?
Thank you in advance!

Unfortunately not, we have started a ToolFactory (https://github.com/run-llama/LlamaIndexTS/blob/main/packages/llamaindex/src/tools/ToolsFactory.ts) which contains a couple of the LlamaHub tools


Error: unbound immediate PersistentVolumeClaims (hardcoded do-block-storage)

Using all the defaults in values.yaml, I keep getting the 1 pod has unbound immediate PersistentVolumeClaims error message
Made sure .domain is an empty string to disable Let's Encrypt (https://github.com/1Password/scim-examples/issues/104)
$ jq 'keys' scimsession
[
  "deviceUuid",
  "domain",
  "encCredentials",
  "healthVerifier",
  "verifier",
  "version"
]
$ cat scimsession | jq .domain
""

Create secret
$ kubectl create secret generic scimsession --namespace 1password-scim --from-file=scimsession
secret/scimsession created

$ kubectl get secrets scimsession --namespace 1password-scim
NAME          TYPE     DATA   AGE
scimsession   Opaque   1      13s

Install latest op-scim helm chart
$ wget https://github.com/1Password/op-scim-helm/raw/main/op-scim-2.0.2.tgz
$ helm install 1password-scim op-scim-2.0.2.tgz --namespace 1password-scim
NAME: 1password-scim
LAST DEPLOYED: Wed Jun  2 21:40:38 2021
NAMESPACE: 1password-scim
STATUS: deployed
REVISION: 1
TEST SUITE: None

Check if it's deployed correctly
$ kubectl --namespace 1password-scim get pods
NAME                              READY   STATUS    RESTARTS   AGE
op-scim-bridge-7bd959c5b4-bfksc   0/1     Pending   0          3m55s
redis-bb88d7466-4kwhh             1/1     Running   0          3m55s

Look to see if there are any alarming events
$ kubectl --namespace 1password-scim describe pod op-scim-bridge-7bd959c5b4-bfksc
Name:           op-scim-bridge-7bd959c5b4-bfksc
Namespace:      1password-scim
Priority:       0
Node:           <none>
Labels:         app.kubernetes.io/application=op-scim-bridge
                app.kubernetes.io/component=op-scim-bridge
                pod-template-hash=7bd959c5b4
Annotations:    kubernetes.io/psp: eks.privileged
Status:         Pending
IP:
IPs:            <none>
Controlled By:  ReplicaSet/op-scim-bridge-7bd959c5b4
Init Containers:
  scimuser-home-permissions:
    Image:      alpine:3.12
    Port:       <none>
    Host Port:  <none>
    Command:
      /bin/sh
      -c
    Args:
      mkdir -p /home/scimuser && chown -R 999 /home/scimuser
    Environment:  <none>
    Mounts:
      /home from op-scim-bridge-scimsession (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-tn2nk (ro)
Containers:
  op-scim-bridge:
    Image:       1password/scim:v2.0.2
    Ports:       8080/TCP, 8443/TCP
    Host Ports:  0/TCP, 0/TCP
    Command:
      /op-scim/op-scim
    Environment:
      OP_PORT:       8080
      OP_SESSION:    /home/scimuser/scimsession
      OP_REDIS_URL:  redis://op-scim-bridge-redis-svc:6379
    Mounts:
      /home from op-scim-bridge-scimsession (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-tn2nk (ro)
Conditions:
  Type           Status
  PodScheduled   False
Volumes:
  op-scim-bridge-scimsession:
    Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
    ClaimName:  op-scim-bridge-pvc
    ReadOnly:   false
  default-token-tn2nk:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-tn2nk
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type     Reason            Age                  From               Message
  ----     ------            ----                 ----               -------
  Warning  FailedScheduling  4m14s                default-scheduler  0/2 nodes are available: 2 pod has unbound immediate PersistentVolumeClaims.
  Warning  FailedScheduling  86s (x4 over 4m14s)  default-scheduler  0/2 nodes are available: 1 Too many pods, 1 pod has unbound immediate PersistentVolumeClaims.

Check for logs from the container and there aren't any.
$ kubectl --namespace 1password-scim logs op-scim-bridge-7bd959c5b4-bfksc op-scim-bridge
$

Check pvc
$ kubectl --namespace 1password-scim describe pvc
Name:          op-scim-bridge-pvc
Namespace:     1password-scim
StorageClass:  do-block-storage
Status:        Pending
Volume:
Labels:        app.kubernetes.io/application=op-scim-bridge
               app.kubernetes.io/component=op-scim-bridge
               app.kubernetes.io/managed-by=Helm
Annotations:   meta.helm.sh/release-name: 1password-scim
               meta.helm.sh/release-namespace: 1password-scim
Finalizers:    [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
VolumeMode:    Filesystem
Mounted By:    op-scim-bridge-7bd959c5b4-bfksc
Events:
  Type     Reason              Age               From                         Message
  ----     ------              ----              ----                         -------
  Warning  ProvisioningFailed  0s (x3 over 27s)  persistentvolume-controller  storageclass.storage.k8s.io "do-block-storage" not found

Edit: Hmmmm :thinking: so this requires the do-block-storage which requires a Digital Ocean api key ?
$ kubectl --namespace 1password-scim describe storageclass do-block-storage
Error from server (NotFound): storageclasses.storage.k8s.io "do-block-storage" not found

It looks like the kubernetes instructions in scim-examples don't even use the do-block-storage... perhaps I'll have better luck there.
cc: @alicethorne-ab

Thanks for submitting your issue. This repo is indeed intended mostly to be used with our DigitalOcean marketplace integration. You'll likely have better luck using our Kubernetes example and modifying it to suit your needs with Helm. Additionally, since scim-examples uses Kubernetes Secrets, you won't run into any potential PersistVolumeClaim issues, either.


question about AssertionError: PascalVOCDataset:

Hello, I convert my dataset to VOC format and modify my config file ,then I trained a segment task with "python tools/train.py configs/swin/upernet_swin_tiny_patch4_window7_512x512_160k_voc.py --options model.pretrained=../pretrain_models/swin_tiny_patch4_window7_224.pth" on my own datasets,it happened:
Traceback (most recent call last):
File "tools/train.py", line 163, in
main()
File "tools/train.py", line 159, in main
meta=meta)
File "/home/ma-user/work/Swin-Transformer-Semantic-Segmentation/mmseg/apis/train.py", line 100, in train_segmentor
val_dataset = build_dataset(cfg.data.val, dict(test_mode=True))
File "/home/ma-user/work/Swin-Transformer-Semantic-Segmentation/mmseg/datasets/builder.py", line 73, in build_dataset
dataset = build_from_cfg(cfg, DATASETS, default_args)
File "/opt/conda/lib/python3.7/site-packages/mmcv/utils/registry.py", line 182, in build_from_cfg
raise type(e)(f'{obj_cls.name}: {e}')
AssertionError: PascalVOCDataset:
I wonder if the code not support VOC format dataset? which kind of dataset do the code support?
thank you!

@yr-zh 您好，我想问问您怎么解决的


Update to Symfony 7.2

@javiereguiluz annotating the User entity to tell phpstan that the identifier property contains a non-empty-string and not just any string

A non empty kernel.secret is required for remember_me, so we cannot empty it, unless we also comment out the remember me feature in security.yaml

@javiereguiluz aren't you seeing a deprecation at least ?

No. Now I also removed APP_SECRET from .env.test and I don't see a deprecation when running tests either.

That's a bug, fixed by https://github.com/symfony/symfony/pull/58419
If we want to have an empty APP_SECRET but still use remember me, we could configure a persistent remember strategy.

If we want to have an empty APP_SECRET but still use remember me, we could configure a persistent remember strategy.

Actually that's not enough because ESI/fragments need the secret also.


Scenarios are not running: SignalRBroadcast, SignalREcho, SignalREchoAll

Some scenarios have stopped running:

Scenario
Environment
Last Run

SignalRBroadcast
Windows, Physical, http, KestrelSockets
10/4/19 10:43:54 PM +00:00

SignalREcho
Windows, Physical, http, KestrelSockets
10/4/19 10:47:08 PM +00:00

SignalREchoAll
Windows, Physical, http, KestrelSockets
10/4/19 10:50:19 PM +00:00

Logs

Known downtime over the weekend


Unable to Run Rspec Tests - Invalid Configuration Object in webpack config

This is with a vanilla setup using rspec-rails to run tests.
My rails_helper.rb
RSpec.configure do |config|
  # Ensure that if we are running js tests, we are using latest webpack assets
  # This will use the defaults of :js and :server_rendering meta tags
  ReactOnRails::TestHelper.configure_rspec_to_compile_assets(config)

config/webpack/test.js
// The source code including full typescript support is available at:
// https://github.com/shakacode/react_on_rails_demo_ssr_hmr/blob/master/config/webpack/test.js

const webpackConfig = require('./webpackConfig')

const testOnly = (_clientWebpackConfig, _serverWebpackConfig) => {
  // place any code here that is for test only

}

module.exports = webpackConfig(testOnly)

Environment

Ruby version: 3.1.2
Rails version: <IP_ADDRESS>
Webpacker version: Shakapacker 6.4.0
React on Rails version: 13.0.1

Expected behavior
Able to run base rspec specs.
Actual behavior
React on Rails FATAL ERROR!
Error in building webpack assets!
cmd: cd "/Users/user/Sites/test" && RAILS_ENV=test bin/webpacker
exitstatus: 2
stdout:
Loading ENV specific webpack configuration file /Users/user/Sites/test/config/webpack/test.js
[React on Rails] Creating both client and server bundles.

stderr:
[webpack-cli] Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
 - configuration has an unknown property '1'. These properties are valid:
   object { amd?, bail?, cache?, context?, dependencies?, devServer?, devtool?, entry?, experiments?, externals?, externalsPresets?, externalsType?, ignoreWarnings?, infrastructureLogging?, loader?, mode?, module?, name?, node?, optimization?, output?, parallelism?, performance?, plugins?, profile?, recordsInputPath?, recordsOutputPath?, recordsPath?, resolve?, resolveLoader?, snapshot?, stats?, target?, watch?, watchOptions? }
   -> Options object as provided by the user.
   For typos: please correct them.
   For loader options: webpack >= v2.0.0 no longer allows custom properties in configuration.
     Loaders should be updated to allow passing options via loader options in module.rules.
     Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:
     plugins: [
       new webpack.LoaderOptionsPlugin({
         // test: /\.xxx$/, // may apply this only for some modules
         options: {
           1: …
         }
       })
     ]
================================================================================

Small, reproducible repo

test.js is typically for jest tests.
Set your NODE_ENV to either development or production when running tests.
Unfortunately, the Shakapacker default is to set an unset NODE_ENV to be the same as the RAILS_ENV.
CC: @Judahmeek @mage1711


PTX-13848: Improve tagging logic for reporting to dashboard

Changed tagging logic
Added code to push TestRail ID to Aetos
Minor nit fixes

@mborodin-px Here are the successful run with image built from the PR.
https://jenkins.pwx.dev.purestorage.com/job/Users/job/Aniket/job/tp-basic-sharedv4/lastCompletedBuild/


Figure out where to put the indy-sdk postgres plugin node.js bindings

This currently lives in the @aries-framework/node package, but ideally we extract this out of there, as the indy-sdk is not provided anymore by the agent dependencies. That said, it only adds a depedency on ffi-napi / ref-napi and not the indy-sdk, so we can take some time to figure out the best approach.
We could add it to the indy-sdk module, but we should make sure the code doesn't get bundled in react-native packages in that case

Indy SDK has been removed 🙌


migrations: Add migration to revoke invites from old deactivated users.

This is a natural follow-up to
93e8740218bef0a7fea43197dc818393a5e43928 - invitations sent by users
deactivated before the commit still need to be revoked, via a
migration.
The logic for finding the Confirmations to deactivated is based on
get_valid_invite_confirmations_generated_by_user in actions.py.

#20973 should be marked as "help wanted" when this PR is merged.

Merged, thanks @mateuszmandera!


startScan() does nothing on tablets

I'm having a problem with two tablets and the startScan() (in ble and in eddystone) function.
I'm trying to implement scan on 2 tablets.
Two Asus. One TF300 with Cyanogenmod and Android 5.1.1 and another, the Asus K013 with stock Android 4.4.2.
In either of the cases, the startScan() doesn't return anything (success or error).
It works fine on every other device we've tested. From iPhone 5 and 6 (both s and "normal") , Oneplus Two, and several other low-end devices.
Is there anything I can do to make the scan work, or at least return something?
Thanks in advance

@PTthe13 If you have adb logcat installed there may be hints in the log about what goes wrong. The best is if it is possible to debug. Do other BLE apps that scan work? If they work this indicates a bug in the BLE plugin. There could be tweaks that are needed to make BLE work on Cyanogenmod. Android 4.4.2 has early BLE support and may have problems, but I have run several BLE apps on 4.4.2 (my main problem was that the BLE cache was filled up so that BLE stopped all the time).

@mikaelkindborg The Asus K013 had an application before that did scan BLE beacons. But it worked very poorly. "Very" being an understatement.
Is there a way to easily clear the BLE cache so I can try that out?

@PTthe13 For clearing the BLE cache on Android you can try this app by Radius Networks: https://play.google.com/store/apps/details?id=com.radiusnetworks.bluetoothcrashresolver
Related blogpost: http://developer.radiusnetworks.com/2014/04/02/a-solution-for-android-bluetooth-crashes.html
Another more radical solution is to factory reset the tablet.
If above methods fails, one needs to root the tablet and manually remove entries in some BLE settings file (don't have the details at hand unfortunately). There is info on how to do this I noted this when I googled for the problem, but I did not save the link!
Let me know how it goes.

@PTthe13 Any progress on this issue?

@mikaelkindborg I haven't been able to test the latest info you gave me. Other projects got in the way, but I will return to the project in question and give you feedback as soon as I can.
Thanks.

@mikaelkindborg just got back to this project and to try to fix this. Tried with the app you mentioned. No luck there.
Unfortunately I can't factory reset the tablet or root it because it is from our client, it's not our device.
I'll keep looking into this. If I find another solution I'll post it here :)

Forgot to mention. Logcat "seems" to find beacons. Only the plugin "doesn't return" anything (If that makes any sense).
Example of logcat:
D/BtGatt.btif( 8129): btif_gattc_upstreams_evt: Event 4096 D/BtGatt.GattService( 8129): onScanResult() - address=C1:F1:CF:D2:34:C7, rssi=-81 I/bt-hci  ( 8129): BLE HCI(id=62) event = 0x02) I/bt-hci  ( 8129): btu_ble_process_adv_pkt D/BtGatt.btif( 8129): btif_gattc_upstreams_evt: Event 4096 D/BtGatt.GattService( 8129): onScanResult() - address=38:01:95:CA:88:B8, rssi=-65 I/bt-hci  ( 8129): BLE HCI(id=62) event = 0x02) I/bt-hci  ( 8129): btu_ble_process_adv_pkt D/BtGatt.btif( 8129): btif_gattc_upstreams_evt: Event 4096 D/BtGatt.GattService( 8129): onScanResult() - address=EA:FC:8D:5C:23:D8, rssi=-66
But when I go to the console in Android Studio (should return this: 'Scanned for beacon...' when a beacon is found), nothing...

Does this mean that you now get scan results in JavaScript?

@mikaelkindborg no. In javascript there is nothing. I recently "made an alternative" version of the app with the https://github.com/petermetz/cordova-plugin-ibeacon and it works (iBeacon protocol...). It is the "workaround" I'm using at the moment cus of the damn tablets not working.
In my particular case it will suffice. But there is something "missing". The information is not going from the "logcat" to the "javascript" in the tablets. :\

Any news on this? Just tried on another tablet (a similar project) and it doesn't work.
It displays the exact same problems as before.
Logcat shows:

D/BtGatt.GattService( 4382): onScanResult() - address=XX:XX:XX:XX:XX, rssi=-58
D/BtGatt.btif( 4382): btif_gattc_upstreams_evt: Event 4096
D/BtGatt.GattService( 4382): onScanResult() - address=XX:XX:XX:XX:XX, rssi=-87
D/BtGatt.btif( 4382): btif_gattc_upstreams_evt: Event 4096
D/BtGatt.GattService( 4382): onScanResult() - address=XX:XX:XX:XX:XX, rssi=-73
D/BtGatt.btif( 4382): btif_gattc_upstreams_evt: Event 4096

But nothing is reported on the javascript part
The tablet is a Samsung Galaxy E (SM-T560) with android 4.4.4 (latest one available).


[BUG] Inconsistent UI (Another instance detected message)

Acknowledgement of preliminary instructions

[ ] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[x] My answer given in the checkbox above is a lie.

What problem did you encounter?
The Another instance detected message is always dark mode, while others adapt to settings.

Also, the expectation Ui is inconsistent too.


Implement Output Sanitizer to Enhance Security and Data Integrity

This pull request introduces a new safeHTML function to sanitize user inputs and prevent XSS attacks. The changes span multiple files and include updates to processing logic, utility functions, and unit tests.
XSS Prevention and HTML Sanitization:

BotAdminService.kt: Updated to use safeHTML for sanitizing request labels.
WebConnector.kt: Added a new processSafeHtml property to WebMessageProcessor to enable safe HTML processing.
WebMessageProcessor.kt: Modified to incorporate safeHTML in text post-processing, ensuring both Markdown and HTML safety. [1] [2]
Strings.kt: Introduced safeHTML function and supporting utilities to escape and filter unsafe HTML content. [1] [2]

Unit Tests:

StringsTest.kt: Added comprehensive unit tests for safeHTML to validate its effectiveness against various XSS attack vectors and ensure proper functionality.

Hi Pierre,
How about using a tried-and-tested lib that can handle the very long list of possible injections at https://github.com/nahsra/antisamy?


Add portable flasher

Now that FlashOnTrigger exists this is much more doable.
Requirements:

Need a ProximityTriggerComponent that has a non-hard circular fixture to represent the trigger.
When collided with calls HandleTrigger on TriggerSystem and issues a TriggerEvent for the entity.
ProximityTrigger probably also needs a cooldown.

shouldn't this be closed now?


[Issue] Create a Hadolint file for linting Dockerfiles

Description
To ensure our Dockerfiles adhere to best practices and common conventions, we need to add a Hadolint configuration file to our repository. This file will define the rules and exclusions for Dockerfile linting, aligning with our project's specific requirements and standards.
Acceptance Criteria / Test Cases

[ ] A .hadolint.yaml configuration file is added to the root of the repository
[ ] The configuration file includes rules that are relevant to our Dockerfile practices, including any necessary exceptions
[ ] The configuration has been tested locally

Additional Information
See hadolint repo: https://github.com/hadolint/hadolint

Decided to use the default hadolint config, since the project/Dockerfile is not that complicated, that it would warrant a custom one.


Updated example to show footnotes

Great idea! I think it may make more sense to use pandoc's footnote system. Maybe one of each, inline and regular! I'll merge that if you want to do it :smile_cat:  Feel free to add whatever text you think is fun.

Done! :smile:

Thanks!


Does not work on Windows 10 with docker installed

Thank you for this awesome template! Works like a charm for development on the mac!
I was trying to run this on Windows 10 with docker installed.
Cloned the repo
Ran npm install
Then npm start
It failed with the following errors

C:\Users\LabAdmin\dotnet\aspnet-core-react-template-master>npm start

<EMAIL_ADDRESS>prestart C:\Users\LabAdmin\dotnet\aspnet-core-react-template-master
docker-compose up -d

Traceback (most recent call last):
File "docker-compose", line 3, in
File "compose\cli\main.py", line 68, in main
File "compose\cli\main.py", line 118, in perform_command
File "compose\cli\main.py", line 926, in up
File "compose\project.py", line 388, in up
File "compose\project.py", line 614, in warn_for_swarm_mode
File "site-packages\docker\api\daemon.py", line 90, in info
File "site-packages\docker\utils\decorators.py", line 47, in inner
File "site-packages\docker\api\client.py", line 183, in _get
File "site-packages\requests\sessions.py", line 488, in get
File "site-packages\requests\sessions.py", line 475, in request
File "site-packages\requests\sessions.py", line 596, in send
File "site-packages\requests\adapters.py", line 423, in send
File "site-packages\requests\packages\urllib3\connectionpool.py", line 595, in urlopen
File "site-packages\requests\packages\urllib3\connectionpool.py", line 363, in _make_request
File "httplib.py", line 1042, in request
File "httplib.py", line 1082, in _send_request
File "httplib.py", line 1038, in endheaders
File "httplib.py", line 882, in _send_output
File "httplib.py", line 844, in send
File "site-packages\docker\transport\npipeconn.py", line 31, in connect
File "site-packages\docker\transport\npipesocket.py", line 22, in wrapped
File "site-packages\docker\transport\npipesocket.py", line 50, in connect
pywintypes.error: (2, 'WaitNamedPipe', 'The system cannot find the file specified.')
Failed to execute script docker-compose
npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
npm ERR! node v6.11.1
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>prestart: docker-compose up -d
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prestart script 'docker-compose up -d'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the aspnet.core.react.template package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     docker-compose up -d
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs aspnet.core.react.template
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls aspnet.core.react.template
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\LabAdmin\dotnet\aspnet-core-react-template-master\npm-debug.log
C:\Users\LabAdmin\dotnet\aspnet-core-react-template-master>

I do not have access to a Windows 10 box currently and would appreciate if you could help get to the bottom of this issue. This issue looks simular: https://github.com/shipping-docker/php-app/issues/19 .  Do you think you could follow the resolution steps mentioned in there and see if you can get it to work?

I found the error - it was on my part - docker was not running.


Integration tests failing with "object has not Attribute RetrieveContent"

Local and E2E tests are currently failing with:
null_resource.apply_esx_network_config[1] (remote-exec): Connected to ESX Host !
null_resource.apply_esx_network_config[1] (remote-exec): Traceback (most recent call last):
null_resource.apply_esx_network_config[1] (remote-exec):   File "/root/bootstrap/esx_host_networking.py", line 353, in <module>
null_resource.apply_esx_network_config[1] (remote-exec):     main()
null_resource.apply_esx_network_config[1] (remote-exec):   File "/root/bootstrap/esx_host_networking.py", line 242, in main
null_resource.apply_esx_network_config[1] (remote-exec):     host, si = connect_to_host(new_ip, options.user, options.pw)
null_resource.apply_esx_network_config[1] (remote-exec):   File "/root/bootstrap/esx_host_networking.py", line 146, in connect_to_host
null_resource.apply_esx_network_config[1] (remote-exec):     content = si.RetrieveContent()
null_resource.apply_esx_network_config[1] (remote-exec): AttributeError: 'NoneType' object has no attribute 'RetrieveContent'

This error is returned after the esx_host_connect function times out after 5 minutes.
The timeout was happening because the gateway node could not reach the esx01/esx02 nodes on the private vlan - <IP_ADDRESS> -> <IP_ADDRESS> and <IP_ADDRESS>
The gateway's pre_req.py script is very sensitive to the host configuration and this configuration changed when a bug fix was deployed: https://github.com/packethost/packet-networking/pull/35
The current thinking in solving this problem is to take advantage of hybrid-bonded mode.
An alternative would be to change the pre_reqs.py to find the interfaces in the new order.
Modifying /etc/network/interfaces is tricky business, it may be better in the long term to rely on salt (masterless minion) to make these changes.


[bug] WalletConnectConnector killing other modals on mobile devices

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
0.2.21
Current Behavior
If you wrap your app with the wagmi provider and give it the WalletConnectConnector it will work just fine on any macbook and any browser but on any mobile device third party modals like https://chakra-ui.com/ wont open anymore.
Its most likely cause of the Support for the experimental syntax 'classPrivateMethods' isn't currently enabled error you see in sandbox, but i am not sure.
So if you recreate the sandbox repo locally on your computer (I use nextjs, next build && next export && next start) it will work just fine on the mac but not on your ios device anymore. i did not check android.
Problem lies with the WalletConnectConnector
Expected Behavior
that it works
Steps To Reproduce
read "current behavior"
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
https://codesandbox.io/s/reverent-gould-ryzlsx
Anything else?
Bug is gone on ios 15 but present on ios 14

FYI I have the same issue using this https://headlessui.dev/react/dialog


Progress of transactions using TransactionManager

Hi Andrew,
It would be really nice if somehow we could retrieve the amount of data/entities pending to be inserted, do you know how we could access to this info in order to create a progress bar/percent?
Cheers,
Arturo.

I would shy away from using the queue as a means for percentage as I would try combining transactions into ones that are as large as possible (for exponentially higher performance).
If you wish to do a percentage for a single transaction, you can subclass ProcessModelTransaction or any of the default subclasses of that such as SaveModelListTransaction and override processModel().
You can keep track of the number of models saved/total and provide an event listener for that yourself.
I hope this helps

closing


moved deleted functions to public for better compiler errors.

@googlebot I signed it!

@googlebot I signed it!

The "iff" is not a typo, it stands for "if and only if".
The rest of this change looks good to me; do you want to revert the comment change, and I'll pull this in?

Hi @vslashg , I see, I didn't know the abbreviation. I removed the "fixed typo" part.


fix prefix_set_test

The Cisco OCAGENT name was not defined inside gnoi.go file causing the test to fail.
Now this is been added and the test is now passing.

Pull Request Functional Test Report for #3517 / 75ebe1772a2e6140cc122d89fd4841612a4d9a7f
No tests identified for validation.
Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 55.268%

Totals

Change from base Build<PHONE_NUMBER>3:
0.0%

Covered Lines:
1983

Relevant Lines:
3588

💛  - Coveralls


Add BitPay Latest

If there’s a checkbox you can’t complete for any reason, that's okay, just explain in detail why you weren’t able to do so.
After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if adding a new cask:

[x] Named the cask according to the token reference.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.
[x] Checked there are no open pull requests for the same cask.
[x] Checked that the cask was not already refused in closed issues.

Modified from https://github.com/caskroom/homebrew-cask/blob/master/Casks/copay.rb
The repository's releases have been renamed from copay to bitpay, and no longer appear to use versioned URLs.
Maybe needs GPG verification? https://github.com/Homebrew/brew/pull/1335

If this is an app that was renamed, please edit the other cask, don’t add a new one and leave the other one, as it no longer serves a purposed.
Additionally, this can have an appcast, and as such it will also need a version (even there is none in the URL).

Closed as it may be easier to do in a different PR. If you wish to reuse this one, let me know and I’ll reopen.


HTML  tag disappearing

Version
1.3.0
Development Environment
Windows and Mac: Chrome, Firefox, and edge.
Current Behavior
When a user puts a <mark> tag in the markdown tab it shows the text highlight correctly on the preview, but when the tab is switched to the wysiwyg the highlight disappears. The tag is no longer on the text when you go back to the markdown tab.
Expected Behavior
The mark tag stays in place like html tags or is a special type like italic and bold.

The mark tag is an HTML5 tag, but it's confusing my users that they can see it and then it goes away
https://www.w3schools.com/tags/tag_mark.asp

I tried like you tried. However It is no problem. Can I see your code by codepen or jsbin etc?
I tried at Chrome and Safari.

I'm able to reproduce it here https://nhn.github.io/tui.editor/latest/tutorial-example01-editor-basic
On Markdown tab:

After changing to WYSIWYG tab:

@jolrael-dev
Yes, you're right. Mark tag is now showing in WYSIWYG tab. also removed mark tag when back to Markdown tab

This is a question related to the issue #705. Please check that issue first. Currently, WYSIWYG is being removed except for the tag below. And in WYSIWYG, the tags below and other tags are removed. The mark tag is the case here.

https://github.com/seonim-ryu/Squire/blob/fd40b4e3020845825701e9689f190bab3f4775d4/build/squire-raw.js#L2047

The html5 tag mark does not carry over to the wysiwyg tab, not showing the literal text or displaying the highlight. To contrast the tag <sub> will still show the text as a subscript on the wysiwyg tab, and the html5 time tag stays when you return to the markdown tab.
1 markdown tab:

2 wysiwyg tab:

3 back to markdown tab:

As you can see the fake tag and the mark tag was removed, but time and sub were still there. Mark is an html5 tag and should stay.

@jolrael-dev I got it.. It's because of the tag handling in Squire. However, what I said before was the processing of block elements. mark is an inline element, which is excluded from the logic of processing inline elements in Squire.

https://github.com/seonim-ryu/Squire/blob/fd40b4e3020845825701e9689f190bab3f4775d4/build/squire-raw.js#L182

Simply adding this tag to your code won't solve the problem. I think this issue can be solved by specifying the specification of which tags should be allowed or not. I'll let you know when it's decided.


Training on Charades-STA

Is is possible to release the training code on Charades-STA (codes related to load the dataset) as stated in the paper? Thanks.

Hi @vateye, we use the same data loader for charades-STA, but simply convert the dataset annotations into the same format as QVHighlights.

Hi @jayleicn, thanks for your reply. And I want to know how do you prepare the features? Did you extracted features by yourself with 2 seconds per clip?

Thanks.


Add failing test fixture for RemoveRedundantDefaultPropertyAnnotation…

…ValuesRector
Failing Test for RemoveRedundantDefaultPropertyAnnotationValuesRector
Based on https://getrector.org/demo/926896fe-4d3f-4cd2-930e-be843ad5eb34

@TomasVotruba this is related with partial value update I commented at https://github.com/rectorphp/rector-src/pull/2786#pullrequestreview-1079552086 which next annotation is SpacelessPhpDocTagNode
Original patch PR for it https://github.com/rectorphp/rector-src/pull/1862
Updated Phpdoc parser PR that uses ArrayItemNode https://github.com/rectorphp/rector-src/pull/2786
This needs to be patched in rector-src to verify.

I created PR https://github.com/rectorphp/rector-src/pull/2914 for it


Jtl gateway (WIP)

I don't think it's appropriate for the Availability queries to be in either LocationContext or ReservationContext - rather, they will have to depend on a join of both. Which Context, then, should the queries be found in?

My Reservation stories are actually duplicating a lot of the Availability stories, both in the Example and Interaction portions, particularly when it involves picking from an Availability list. It would be nice to be able to use one Interaction or Example in another test case, but maybe we are just supposed to assume some setup has been done already (like checking for Availability)? That would greatly simplify the Reservation stories, to just picking an ID from a list that is already in App

Also, given that booking a reservation requires that the reservation exists in non-booked state, I am not sure what the use of these Location Availability queries are, other than for simulating browsing loads. In those queries we decided to simply return a list based on either a time range or a maxCapacity, but in the Reservation Availability queries we are assuming that a Reservation has already been created, but not booked, and is being used in the query. For this reason I want to add a story to Reservations that can transition a Reservation into Booked state, assuming it has been found a Location already. But then I am not sure, in the other stories where a list is returned or automatically selected from, whether we should be updating our Reservation with the chosen Location before updating it to Booked status. @reid-spencer this is largely based on your requirement that we use the exact same object type for PreBooked Reservations and Booked Reservations.


Selection problems with the mouse

Type: Bug

create a new extension with yo code
change the helloworld part of the extension as follows

		let editor = vscode.window.activeTextEditor;
		let selection = editor?.selection;
		if (!editor || !selection) { return; }
		editor.selection = selection as vscode.Selection;

to prevent other extensions from affecting it, add the following to the "Run Extension" args in launch.json
"--disable-extensions"

when an extension is executed, the following differences in behavior can be observed

In the case of selection by mouse beforehand, cursor movement cannot be performed with the keyboard .
(With the mouse, the cursor can be moved.)

In case of selection by keyboard beforehand, cursor movement is possible with keyboard as well.

VS Code version: Code 1.72.2 (d045a5eda657f4d7b676dedbfa7aab8207f8a075, 2022-10-12T22:15:18.074Z)
OS version: Windows_NT x64 10.0.22000
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (8 x 1800)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
7.82GB (1.17GB free)

Process Argv
C:\workspace\01_vscode\test\selecttest --crash-reporter-id 7b55db6b-38d8-4d0e-baed-20034ea568cf

Screen Reader
no

VM
0%

Extensions: none
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
2144e591:30553903
vsccc:30566497
pyindex848cf:30577861
nodejswelcome1cf:30587006
40g7c324:30573242

Sorry, what's going on here, you are assigning the editor selection back to the editor selection- why? What exactly is the problem? Maybe a screen recording would help?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Fixed footer

What kind of PR is this?:

/kind fix
What this PR does / why we need it:
Part of UI fixes and  pixel perfect design across projects.
Which issue(s) does this PR fixes?:

Fixes part of  #260
Additional comments?:
Developer Checklist:

[ ] Read your code changes at least once
[ ] Tested on multiple web browsers
[ ] Tested responsiveness (e.g, iPhone, iPad, Desktop)
[ ] No console errors
[ ] Unit tests*
[ ] Added e2e tests*

Codecov Report

Merging #315 (1854900) into main (b2a9704) will increase coverage by 0.66%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #315      +/-   ##
==========================================
+ Coverage   80.67%   81.34%   +0.66%
==========================================
  Files          53       53
  Lines         590      595       +5
  Branches      130      130
==========================================
+ Hits          476      484       +8
+ Misses        109      104       -5
- Partials        5        7       +2

Impacted Files
Coverage Δ

src/layouts/components/Footer.tsx
100.00% <ø> (ø)

src/components/prices/PriceFeed.tsx
86.66% <0.00%> (-13.34%)
:arrow_down:

src/pages/blocks/index.tsx
90.90% <0.00%> (-9.10%)
:arrow_down:

src/pages/blocks/[blockId]/index.tsx
100.00% <0.00%> (ø)

src/components/prices/PriceTickerDetail.tsx
75.00% <0.00%> (ø)

src/layouts/components/Header.tsx
72.72% <0.00%> (+0.63%)
:arrow_up:

src/pages/masternodes/index.tsx
74.35% <0.00%> (+5.12%)
:arrow_up:

src/components/prices/PriceOracleTable.tsx
93.33% <0.00%> (+6.66%)
:arrow_up:

src/components/commons/popover/HoverPopover.tsx
80.00% <0.00%> (+20.00%)
:arrow_up:

Continue to review full report at Codecov.

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


Cluster Coordinator election not happening properly

I am running the set up for 2 node nifi with 3 zookeeper setup. Every time I start up nifi pod both the pods claim as they are the Cluster Coordinator. It works sometimes and sometimes it doesn't. Any idea whats going wrong?

I have updated zookeeper project to use the right namespace, and I've fixed the connection string in nifi. Very sorry about this - please try again from scratch.

NodeClusterCoordinator Failed to determine which node is elected active Cluster Coordinator: ZooKeeper reports the address as nifi-1:2882, but there is no node with this address. Attempted to determine the node's information but failed to retrieve its information due to org.apache.nifi.cluster.protocol.ProtocolException: Failed to create socket due to: java.net.UnknownHostException: nifi-1

Can you please try since the v0.1 release?


not getting error messages only status code from $this->response->error()

Everything was working but now I am not getting any error msg from $this->response->error("error", 422).
I have moved my Laravel 5.1 app to Forge with HHVM/3.11.0 and PHP7,  "dingo/api": "1.0.*@dev".
All below returns are giving only status code with not content in response
// returning 401 with empty content
return $this->response->error($user->msg, 401);

// returning 422 with empty content
return $this->response->error('This email id has been taken.', 422);

Please look into this

issue was something related cors

please have a look at barryvdh/laravel-cors#89 its not working.

I have the same problem...

Buddy i put the Larael cors on global middleware, like said in https://github.com/dingo/api/issues/576.
Now everything works fine. =))

This error is because when using those error responses it's actually throwing an HttpException, which results in the halting of the route middleware execution, so the CORs headers are never attached.
The global middleware is still applied, hence why it works in that case.
The solution here would be to enable it globally.
I'll try and implement something that makes it easier to apply middleware globally to API only routes, as I think that would be a better solution.

Refer to #876 for more.


declare and check fn signatures (interim work)

OK, this has reached a nice state. This adds preliminary support for function signatures to Dada. They are checked dynamically at the moment -- the plan is to eventually add in an (optional) static check as well. I've not written up great docs, but you can now write things like this...
class Character(n: my Name)
fn name(c: Character) -> given{c} Name {
    c.n.give
}

The given{c} declaration can be read as "given from c", and it means: "This function will return a Name that has all the permissions that the variable c had, coming in."
The result to expect from this name function will then depend on how you call it...

name(some_character.give) gives ownership of the character, and so you get a my String back.
name(some_character.give.share) gives shared ownership of the character, and so you get an our String back.
name(some_character.lease) leases the character, and so you get a leased string back.
name(some_character) or name(some_character.share) creates a shared lease to the character, and so you get a shared string back.

We check that the function returns the right thing and throw an error if not.
You can also write signatures like

-> given{x, y} -- given from x or y
-> leased{x} -- leased from x
-> shared{x} -- shared from x (shared lease)

bors r+


chore: fix test flakyness

Testing to see if simply upping the retry delay fixes the issue

Seems to have worked. Not a great solution, but when dealing with async things, sometimes the best option is just a longer delay.


Programmatically fill input

I am trying to edit a page using this and i cannot get the input to fill in with data.
<input  class="form-control"
       	ng-model="myCtrl.DateModel"
       	ng-model-options="{ updateOn: 'blur' }"
    	min-view="year"
     	max-view="hour"
	format="YYYY-MM-DD HH:mm"
       	placeholder="Select a date..."
       	moment-picker="myCtrl.data.Date"
	readonly
	required>

I have tried setting myCtrl.DateModel and myCtrl.data.Date to "2009-07-15 00:00" and neither work. Help please

to populate the input it is expecting a moment object
myCtrl.DateModel = moment(2009-07-15, 'YYYY-MM-DD')

Thank you that worked!


Don't allow security updates during cassim migration

Companion PR for cassim manual security doc migrations.

+1 after addressing that one comment.


Ubuntu 22.04

Hello,
I'd like to build a wheel for latest ubuntu lts, but could not find the commands you used for your wheels.

For now, you'll have to build the underlying C++ library from source.
See https://github.com/brendan-ward/pymgl#developing
See the workflow which builds for ubuntu-20.04: https://github.com/brendan-ward/pymgl/blob/main/.github/workflows/build_wheels.yml
The overall steps should be the same, but note that some of the dependencies may have slightly different names for ubuntu-22.04 vs ubuntu-20.04.  I haven't yet tried to build for ubuntu-22.04, so I'm not sure where the challenges will be.

Version 0.3.0 now includes wheels for Ubuntu 22.04 (x86_64 only)

I'm having trouble with this so far:
❯ cat /etc/lsb-release
DISTRIB_ID=ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="KDE neon Testing Edition"
❯ uname -a
Linux ncelrnd0216 5.19.0-24-generic #25-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov 14 14:06:02 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
❯ /usr/bin/python3 --version
Python 3.10.6
❯ /usr/bin/pip3 install --user https://github.com/brendan-ward/pymgl/releases/download/v0.3.0/pymgl-0.3.0-cp310-cp310-ubuntu22_04_x86_64.whl
ERROR: pymgl-0.3.0-cp310-cp310-ubuntu22_04_x86_64.whl is not a supported wheel on this platform.

Also on anaconda
❯ .../anaconda3/bin/python3 --version
Python 3.10.2
❯ .../anaconda3/bin/pip3 install https://github.com/brendan-ward/pymgl/releases/download/v0.3.0/pymgl-0.3.0-cp310-cp310-ubuntu22_04_x86_64.whl
ERROR: pymgl-0.3.0-cp310-cp310-ubuntu22_04_x86_64.whl is not a supported wheel on this platform.

/usr/bin/pip3 debug --verbose | rg cp310-cp310
  cp310-cp310-manylinux_2_35_x86_64
...
  cp310-cp310-linux_x86_64

I don't have  ...ubuntu22_04... wheel tags, is it just me because of uing an ubuntu derivative (KDE neon)?

As a workaround it seems enough to rename the file:
❯ wget https://github.com/brendan-ward/pymgl/releases/download/v0.3.0/pymgl-0.3.0-cp310-cp310-ubuntu22_04_x86_64.whl
❯ mv ./pymgl-0.3.0-cp310-cp310-{ubuntu22_04,linux}_x86_64.whl
❯ pip install ./pymgl-0.3.0-cp310-cp310-linux_x86_64.whl

There is also a WHEEL file with the tag, but apparently it's not read by pip, here is how to change it if needed:
❯ mkdir pymgl-0.3.0.dist-info
❯ echo "Wheel-Version: 1.0
Generator: bdist_wheel (0.38.4)
Root-Is-Purelib: false
Tag: cp310-cp310-linux_x86_64
" > pymgl-0.3.0.dist-info/WHEEL
❯ zip pymgl-0.3.0-cp310-cp310-*_x86_64.whl pymgl-0.3.0.dist-info/WHEEL
updating: pymgl-0.3.0.dist-info/WHEEL (deflated 5%)

Thanks for testing and sorry for the issues @eddy-geek
The platform tag was actually the point of some difficulty in our CI tests of the wheels, but I totally forgot to mention the steps needed to make it work in the README.
Here's what we're doing in the CI test: https://github.com/brendan-ward/pymgl/blob/main/.github/workflows/build_wheels.yml#L217
Basically, you have to specify the platform and target tags; target needs to be the site packages of your particular python environment (here denoted with the PYTHON_SITE_PACKAGES environment variable).
python -m pip install --find-links wheelhouse/artifact --platform ubuntu22_04 --target $PYTHON_SITE_PACKAGES --no-deps --upgrade pymgl

Using the platform tag seems to be the recommendation for building OS version specific wheels, but it has a quite unfriendly user experience as you bumped into here.
Unfortunately we need unique file names for the artifacts we upload to the Github release, so I'll need to either update the instructions or figure out some way of adding the OS version into the filename that doesn't trip up pip's compatibility check.

I've got new wheels built now just adding a suffix before uploading the artifacts.  If you'd like to test these out before I cut the next release (hopefully soon), they are in the artifact file here: https://github.com/brendan-ward/pymgl/actions/runs/3868806965
They just need to be renamed to strip off the .ubuntu-22.04 suffix after downloading.


Heap memory testing PsychicHttp vs AsyncWebServer

I ran some further benchmarking tests to see why PsychicHttp was using more heap memory than my original build on AsyncWebServer.
What's important to point out here is that my specific AsyncWebServer and AsyncTCP and not the original GitHub versions but very optimized over the years. The stack for example in AsyncTcp is 8192.
I used this repo's benchmark folder for the testing, stripping out everything except adding multiple server.ons() like:
        for (uint8_t i = 0; i < number_uris; i++) {
            char path[10];
            sprintf(path, "/api%d", i);
            server.on(path, HTTP_GET, [](PsychicRequest * request) {
                return request->reply(200, "text/plain", "Hello, World!");
            });
        }

When a URI handler is registered, I see

PsychicHttp uses 426 bytes (23 of this is storing the endpoints in a std::list for future use)
AsyncWebServer uses 280 bytes

That would explain with my 80 URI's PsychicHttp uses 12KB more heap memory.
The PsychicHttp code is clean and I don't see any areas for further optimization, so expecting this is all in the IDF.
I'll keep this open for now and report back any further findings.

Not really a PsychicHttp thing, but seeing as there is significant String usage, I modified this line:
https://github.com/espressif/arduino-esp32/blob/b2e7338a5e8529b5ede0a8fc7d95703074be093c/cores/esp32/WString.h#L305
To enum { SSOSIZE = 32 };. After testing, heap allocations are basically gone from String usage. For me the 32 stack bytes is worth it.

Thanks @Chris--A - I'll try that out. When I first wrote the first version of my app, many moons ago, it was ESP8266 based I was obsessed with memory optimization and ended up writing my own string class (and later STL classes), after reading so many articles on how 'evil' Arduino's String class was (specially for non-transient operations and data duplication ops like concat()).  With ESP32 I'm using std::string with allocated buffers but as you pointed out there are still String's lurking around in other libraries.

Thanks @Chris--A - I'll try that out.

Yeah, the ESP8266 and ESP32 versions have been optimized for short strings to avoid allocations. I'm new to the ESP crowd, but have been an AVR/Arduino user for many years, and yes, I would never use String with them and did many safer recreations myself. This is the reason that I do not want to migrate to ArduinoJson 7 either. Sure its nicer, but I would like to grow the stack where I can.
However, I'm trying to use dynamic memory as little as possible so my app can safely run long term. Got an 8MB PSRAM version coming so that will be great.

what dou you mean by : "AsyncWebServer and AsyncTCP and not the original GitHub versions but very optimized over the years" ?
I do have a lots of esp-s(8266, esp32 around the house, so I would look forward for a reliable solution to use a crash-proof webserver + async tcp for web-requests. Hence asking, is there any Idea if i would port my code to psychichttp, hot to use a more stable asynctcp-calls together?

You can retry with my new fix for memory https://github.com/hoeken/PsychicHttp/pull/89

Moving this to discussions


Program to generate all possible valid IP addresses from given string

Description
Program to generate all possible valid IP addresses from given string
Domain
Algorithm
Type of Contribution
Addition
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of LearnCPP.

i would like to work on it under Gssoc22


404 error on https://schema.overturemaps.org/

The link https://schema.overturemaps.org/ results in a 404 page not found error. Is this still the correct link?

Whoops! Nope, it's here: https://docs.overturemaps.org/schema/ — I just updated it, thanks!


improvesupport arrays_overlap with invertedIndex (#41161)

support arrays_overlap with invertedIndex
Proposed changes
Issue Number: close #xxx

Proposed changes
Issue Number: close #xxx

run buildall

run buildall


[Merge] MONDO:0010601	gynecomastia, familial

Mondo term (ID and Label)
MONDO:0010601	gynecomastia, familial
Reason for deprecation
OMIM merged these
Term to be merged with
MONDO:0010720	partial androgen insensitivity syndrome

I think this should be included under Aromatase excess syndrome which has a synonym “prepubertal hereditary gynecomastia”

@galyea-gard are you suggesting that we merge MONDO:0010601 gynecomastia, familial with MONDO_0007690 'aromatase excess syndrome'?
I agree, that seems to be a better merge, rather than what is suggested above.

Yes, I think so.  Thank you!
From: Nicole Vasilevsky<EMAIL_ADDRESS>Sent: Monday, June 22, 2020 10:18 PM
To: monarch-initiative/mondo<EMAIL_ADDRESS>Cc: Alyea, Gioconda (NIH/NCATS) [C]<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [monarch-initiative/mondo] [Merge] MONDO:0010601 gynecomastia, familial (#1695)
@galyea-gardhttps://github.com/galyea-gard are you suggesting that we merge MONDO:0010601 gynecomastia, familial with MONDO_0007690 'aromatase excess syndrome'?
I agree, that seems to be a better merge, rather than what is suggested above.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/monarch-initiative/mondo/issues/1695#issuecomment-647865286, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APG3MG6CPHN3HJ4KNL6A6ITRYAGEBANCNFSM4N4YCO3A.

@ahamosh
OMIM obsoleted this term 'gynecomastia, familial' and merged it with ANDROGEN INSENSITIVITY, PARTIAL; PAIS (https://omim.org/entry/312300), which doesn't really seem equivalent, as gynecomastia seems to be is a feature of this disease, but not the same thing
As @galyea-gard suggested, I could merge MONDO:0010601 gynecomastia, familial into MONDO_0007690 'aromatase excess syndrome', which is equiv to OMIM:139300, and synonyms for this term are:
GYNECOMASTIA, FAMILIAL, DUE TO INCREASED AROMATASE ACTIVITY, INCLUDED
GYNECOMASTIA, HEREDITARY, INCLUDED
This seems like the right merger to me, do you agree?
Or I could just obsolete MONDO:0010601 gynecomastia, familial and add a annotation to consider MONDO:0010720 partial androgen insensitivity syndrome, which would be in alignment with OMIM.
Thanks!
cc @cmungall

Update- per discussion with Chris, I'll just obsolete this term and add consider MONDO:0010720 partial androgen insensitivity syndrome and MONDO_0007690 'aromatase excess syndrome'

Thank you Nicole!


Make cc-client Pluggable

Coverage increased (+0.1%) to 62.502% when pulling b420458f0568b7b32d3e96589605273b0b3f2fcc on asifdxtreme:ccplugin into edb554b82f9a53de2c1a437b2c4a66672a0106dd on ServiceComb:master.


Adds the CPO Alignment Loss Function

Summary
CPO is almost the same as DPO with the major difference being that the Reference Model in CPO is assumed to be a Uniform distribution. This assumption leads to the cancellation of all terms related to the reference model.
$$CPOLoss = -\log(\sigma(\beta\log(\pi_\theta(y_c|x)) - \beta\log(\pi_\theta(y_r|x))))$$
This corresponds to equation 3 in the paper. Additionally CPO also assumes a scaling factor alpha for the NLL loss on the preferred response. In TRL this corresponds to the CPOTrainer using a loss_type="sigmoid"
We also refactor the test cases for chunked loss functions to include a generic HFAlignmentLoss base class that takes care some of the plumbing work to correctly generate batches of input, calculate the NLLoss etc. All future test cases can inherit from this class and just implement the alignment_loss function to compare implementation in the TRL lib versus the custom impl.
Testing Done
A100-80G-SXM
Benchmark Results:

Hardware Type:
[X] run make test to ensure correctness
[X] run make checkstyle to ensure code style
[X] run make test-convergence to ensure convergence

@pramodith could you add the speed benchmark plot (currently both are memory plots)


Added several missing action macros to the system

Added several missing action macros to the system
Evangelize
Reveal Machinations
No Cause For Alarm
Reveal True Name
Scare To Death
Disturbing Knowledge
Battle Prayer
Sacred Defense

We're not making anymore macros, sorry


Layer Opacity no longer works?????

Never mind I found the issue thank you

can you close the ticket if you found the issua? Also clarify what it was?


Prepare repo for Google bot

@craigcitro I did not fill in the year or copyright holder in LICENSE. What should be there? You have write access here so you can tell me what to do or do it yourself.
I'm not expecting any action on this over the holidays!! Just thought I'd do it since the related convo keeps going over on bigquery. If you want to tell someone to watch this space or contribute in this space, now at least it exists.

Fixed up the last bits in 8f36ea6 and 191da3a, so we should be good to go. (Forgot about the issue or I'd have been fancy and added a note in the commit.)


activesupport >=5 or 6

Will roo-google support newer rails ?

@idler921
roo-google has no dependencies on rails


Log command and event consumer shutdown directive processing

Add some transparency what is going on.

Ready for next review.


Fix grammar for freestanding-rust-binary linker arguments.

The grammar for MacOS linker arguments was clunky. Fix it to be grammatically correct.

Thank you!


Fix issue where some vocab words aren't transcribed correctly

Due to [https://github.com/talonvoice/beta/issues/88].
For example, saying "dee en ess" results in “@dns” instead of “DNS". Changing the keys to lowercase fixes the problem for now.
Also, made it so that the dictionary is created first with simple vocabulary so that the things defined later override the things defined earlier.

don't lowercase the terms now, this was fixed in talon


Failed to load simple torch model saved with MLEM

Hi I'm trying to get to know mlem.
I'm facing weird error.
Nothing goes wrong if I run the following script.
import torch
from mlem.api import save, load

class MyNet(torch.nn.Module):
    def __init__(self):
        super().__init__()
        self.l1 = torch.nn.Linear(10, 5)
        self.l2 = torch.nn.Linear(5, 1)

    def forward(self, x):
        return self.l2(self.l1(x))

net = MyNet()
# Save and load mlem
saved = save(net, 'mlem-test')
loaded = load('mlem-test')

But If I try to load model again in another terminal. I get attribute error.
from mlem.api import load

loaded = load('mlem-test')

Error log
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Input In [2], in <cell line: 1>()
----> 1 loaded = load('mlem-test')

File /usr/local/lib/python3.9/dist-packages/mlem/core/metadata.py:100, in load(path, project, rev, batch_size, follow_links)
     81 def load(
     82     path: str,
     83     project: Optional[str] = None,
   (...)
     86     follow_links: bool = True,
     87 ) -> Any:
     88     """Load python object saved by MLEM
     89
     90     Args:
   (...)
     98         Any: Python object saved by MLEM
     99     """
--> 100     meta = load_meta(
    101         path,
    102         project=project,
    103         rev=rev,
    104         follow_links=follow_links,
    105         load_value=batch_size is None,
    106     )
    107     if isinstance(meta, MlemData) and batch_size:
    108         return meta.read_batch(batch_size)

File /usr/local/lib/python3.9/dist-packages/mlem/core/metadata.py:180, in load_meta(path, project, rev, follow_links, load_value, fs, force_type)
    175 meta = cls.read(
    176     location=find_meta_location(location),
    177     follow_links=follow_links,
    178 )
    179 if load_value:
--> 180     meta.load_value()
    181 if not isinstance(meta, cls):
    182     raise WrongMetaType(meta, force_type)

File /usr/local/lib/python3.9/dist-packages/mlem/core/objects.py:627, in MlemModel.load_value(self)
    625 def load_value(self):
    626     with self.requirements.import_custom():
--> 627         self.model_type.load(self.relative_artifacts)

File /usr/local/lib/python3.9/dist-packages/mlem/core/model.py:249, in ModelType.load(self, artifacts)
    248 def load(self, artifacts: Artifacts):
--> 249     self.model = self.io.load(artifacts)

File /usr/local/lib/python3.9/dist-packages/mlem/contrib/torch.py:154, in TorchModelIO.load(self, artifacts)
    152 load = torch.jit.load if self.is_jit else torch.load
    153 with artifacts[self.art_name].open() as f:
--> 154     return load(f)

File /usr/local/lib/python3.9/dist-packages/torch/serialization.py:712, in load(f, map_location, pickle_module, **pickle_load_args)
    710             opened_file.seek(orig_position)
    711             return torch.jit.load(opened_file)
--> 712         return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
    713 return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args)

File /usr/local/lib/python3.9/dist-packages/torch/serialization.py:1049, in _load(zip_file, map_location, pickle_module, pickle_file, **pickle_load_args)
   1047 unpickler = UnpicklerWrapper(data_file, **pickle_load_args)
   1048 unpickler.persistent_load = persistent_load
-> 1049 result = unpickler.load()
   1051 torch._utils._validate_loaded_sparse_tensors()
   1053 return result

File /usr/local/lib/python3.9/dist-packages/torch/serialization.py:1042, in _load.<locals>.UnpicklerWrapper.find_class(self, mod_name, name)
   1040         pass
   1041 mod_name = load_module_mapping.get(mod_name, mod_name)
-> 1042 return super().find_class(mod_name, name)

AttributeError: Can't get attribute 'MyNet' on <module '__main__'>

What am I doing wrong?
Any help would be great.
Environment and versions are
Ubuntu 20.04
mlem==0.2.8
torch==1.12.1+cu116

@madhur-tandon, could you please TAL?

Hi @wiswisbus This is not related to MLEM, its an underlying issue of the pickle library itself which is being used by torch beneath.
pickle only serializes the name of functions and classes and not their contents – meaning that the unpickling environment should have access to these functions and classes otherwise we get an attribute error.
To reproduce, even without using MLEM, you can try the following:

To reproduce, pickle a function / class in a file through one shell
Try to unpickle it after reading that file in another shell
Should get an error

There is this other library called cloudpickle which solves this but is not used by torch unfortunately.
So for you to have a fix, your other terminal should have this code:
import torch
from mlem.api import load

class MyNet(torch.nn.Module):
    def __init__(self):
        super().__init__()
        self.l1 = torch.nn.Linear(10, 5)
        self.l2 = torch.nn.Linear(5, 1)

    def forward(self, x):
        return self.l2(self.l1(x))

loaded = load('mlem-test')

This way, your other terminal i.e. the unpickling environment has access to the class it is trying to unpickle.
Hope this helps!

Thanks for the explanation @madhur-tandon, but shouldn't MLEM handle this case somehow? This looks like a typical user case, so I assume we should have a solution for it?

I don't think this is related to us, it's a general problem really.
This is why all distributed computing libraries such as dask etc. use cloudpickle
I think we can use torch.save(data, path, pickle_module=cloudpickle) by default if that helps.
I have tried this and confirm that this works. But then, we offer saving through torch.jit.save as well -- which I guess doesn't allow specifying our pickling module.
CC: @mike0sv -- WDYT?

Another approach is to have model class definition in separate module (so it's not __main__ for pickle). I will review cloudpickle solution too


Generate APK on CI

To detect problems with release we should generate APKs as a part of integration tests.

Bump, I suppose

Bump, I suppose


Revert "Add in bad diff from staging"

@francoisl
Reverts Expensify/App#10173

🚀 Deployed to staging by @yuwenmemon in version: 1.1.87-3 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
failure ❌

🍎 iOS 🍎
failure ❌

🕸 web 🕸
failure ❌

🚀 Deployed to production by @yuwenmemon in version: 1.1.87-9 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


merkaartor: 0.18.4 → 0.19.0

Motivation for this change

Changelog
qtwebkit -> qtwebengine (#53079)

Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@erictapen sha256 hash changed for some reason, I have no idea why.


How To Compile

Hi,
Could anyone tell how can we run the app that we are developing for debugging.
Like electron has :- electron .
What's for electrino :-
&&
Could anyone also tell that how can we compile our app for windows and mac.

I'm pretty sure this project is abandoned. If you want to see something similar you could check out https://tauri.studio/.


Prevent scope file permission problems for Linux host systems

This can be done with on-board features provided by the Jupyter docker-stacks, where details are found here.
Basically, instead of,
docker run -p 8888:8888 -v $(pwd):/home/jovyan/work --rm jupyter/base-notebook:latest

Run the Docker container with,
docker run -p 8888:8888 -v $(pwd):/home/jovyan/work -e NB_UID=$(id -u) -e NB_GID=$(id -g) --user root --rm jupyter/base-notebook:latest

From the docs,

-e NB_UID=1000 - Instructs the startup script to switch the numeric user ID of $NB_USER to the given value. This feature is useful when mounting host volumes with specific owner permissions. For this option to take effect, you must run the container with --user root. (The startup script will su $NB_USER after adjusting the user ID.) You might consider using modern Docker options --user and --group-add instead. See the last bullet below for details.

-e NB_GID=100 - Instructs the startup script to change the primary group of$NB_USER to $NB_GID (the new group is added with a name of $NB_GROUP if it is defined, otherwise the group is named $NB_USER). This feature is useful when mounting host volumes with specific group permissions. For this option to take effect, you must run the container with --user root. (The startup script will su $NB_USER after adjusting the group ID.) You might consider using modern Docker options --user and --group-add instead. See the last bullet below for details. The user is added to supplemental group users (gid 100) in order to allow write access to the home directory and /opt/conda. If you override the user/group logic, ensure the user stays in group users if you want them to be able to modify files in the image.

The mentioned last bullet says,

--user 5000 --group-add users - Launches the container with a specific user ID and adds that user to the users group so that it can modify files in the default home directory and /opt/conda. You can use these arguments as alternatives to setting $NB_UID and $NB_GID.

Doing the following works as well,
docker run -p 8888:8888 -v $(pwd):/home/jovyan/work --user $(id -u):$(id -g) --group-add users --rm jupyter/base-notebook:latest

but as no entries in /etc/passwd and /etc/group are setup in the container, shell sessions start with warnings such as "groups: cannot find name for group ID 1000". Therefore, it might be best to stick with the first approach?

Looks like updating the Readme is sufficient.


Items clip through the floor frequently when dropping them in dog mode

Steps to reproduce:

Enable dog mode
Pick up a large object
Bring it into the ship
Crouch
Look down
Drop item

This can drop the item through the floor of the ship, which is obviously problematic for when you leave the planet.

I've spent a chunk of time debugging this and trying fixes, but nothing's quite made sense yet.
I've tried:

Adjusting the drop height of the object by a flat amount
Adjusting the target position of the object by a flat amount
Checking if  a) the player is in the ship, b) the object was dropped in the ship, and c) the object target position is not in the ship, and then attempting to place it in the ship (using the ship bounds)

Tried this with variants to just update the height to be in/on the ship bounds, updating the target position to be the closest point in/on the ship bounds

Setting the target position or y-component of the object to be the player's current position or y-component
Adjusting the anchor points of the dog model (tried both removing the custom anchor adjustment logic and tried updating it in prefix)

So far none of these seem to work as solutions. Still need to put more work into this, but right now it's not clear to me how to solve this one. It's possible one of my previous solution attempts wasn't implemented quite right, too.

A couple other things to try:

Enabling item physics when held by dog player
StartOfRound.Instance.insideShipPositions to teleport items

Massively improved after adjusting the item anchors. Closing for now.


InstanceStatus.setTimer(true) cannot be reflected in executeServiceOperation

-----Original Message-----
From: Shiino, Toshihiro/椎野 稔弘
Sent: Freitag, 16. Dezember 2016 09:16
[...]
I used to inquire about what looked like a bug that InstanceStatus.setTimer(true) cannot be reflected in executeServiceOperation while implementing APPPlatformController.
The answer received from EST indicated that regarding my source code, it should follow the source code of other adapters, without specifying whether it was a bug or whether my source code was essentially on right track.
Finally, I confirmed APP source code and found out that it does not allow such reflection, but it was contradicting for me that the reply from EST did not mention it was a bug since InstanceStatussetTimer(true) is also called in executeServiceOperation within the standard controller for AWS etc. developed by EST and the original developer seemed to have the same expectation as me.
[...]

What is the expectation for this issue @mdehn? There are only some comments about the APP and controller code.

Please contact Shiino, Toshihiro.

What I expect here is reflection of the results when calling InstanceStatus.setRunWithTimer(true) among the executeServiceOperation for implementation of APPlatformController class.
It seems the developer of AWS Controller had the same expectation (however, so far he/she has not commented anything about how his/her expectation is not yet fulfilled).
https://github.com/servicecatalog/development/blob/master/oscm-app-aws/javasrc/org/oscm/app/aws/controller/AWSController.java#L431
It looks like implementation following deleteInstance which forcefully set true for RunWithTimer can be one alternative.
At least, I personally deem current status of not reflecting any results is a bug and needed to be fixed.


Always error, help

When I load "Drop" after "Tether", and follow documentation, but always got error: Tether Error: Both element and target must be defined, I want to know how to defined element, thanks

Is this still an issue? I believe if you just include the drop[.min]?.js at the root of this project, it includes Tether without having to require Tether explicitly anymore.

This is still an issue with Drop 0.5.7.

The recent updates that added UMD support should have resolved this issue. Let me know if it still persists and I'll be happy to take another look.


Can't get it working on Arch

I had set this up on Ubuntu with no problems whatsoever, however I've been unable to get this to work on my work PC that is currently running Arch Linux 64 bit. I have followed the install instructions precisely two time already but without success. I use the fish shell, and with powerline active all I can see is the following

Hi @Arengorn
I was able to reproduce what you're seeing in fish on Arch using the --colorize-hostname option. I couldn't reproduce any errors using other optional arguments to powerline-shell.py, so if you're not using --colorize-hostname it would help to know what segments you're using and what optional arguments you've passed to powerline-shell.py in your fish_prompt.
As Arch ships Python3 by default and Ubuntu is still on Python2, you're likely running into some Python 3 specific bugs in the code. To confirm, you could remove or comment out the ^/dev/null in the your fish_prompt function to see the Python exceptions raised preventing your shell prompt from executing.
There are three Python 3 specific errors I've found in lib/color_compliment.py that I'll send a PR for. The first you are likely to see is ImportError: No module named 'colortrans'.
For now you could either,

Install python2 and change the hashbang in powerline-shell.py to read #!/usr/bin/env python2
Temporarily switch to my branch containing fixes to the 3 bugs I mentioned earlier

https://github.com/ceholden/powerline-shell/tree/py3

Hope this helps

@Arengorn I just merged @ceholden's fix for python 3 support in lib/color_compliment.py. Can you check whether this is working for you after that change?

@ceholden Thanks a lot! @b-ryan I have no access to my work computer currently, so I'll only be able to test it on the fifth on January, I'll make sure to let you guys know if it worked, until then, happy new year!

Just tested this and it works perfectly, no issues whatsoever.
Thanks a bunch for the quick fix guys.


Recommended way to make a boilerplate based on create-react-app?

I'd like to make a boilerplate based on CRA. How it would differ from CRA:

Different files in src/
A few YAML files in the project root
Extra packages in package.json

What is the recommended way to do this? Normally I'd just run create-react-app my-boilerplate, set it up the way I want it, then commit and share.

I suggest just creating a repository containing the output after running create-react-app my-app as well as any tweaks you may want to make to it. If you care to share it with friends/colleagues then it would be as simple as forking your boilerplate repository to start a new project.

Yeah, that's probably the easiest approach. I'll go that route. Thanks!


Merge updates from MRTK Examples Hub 2.6.0

Overview
Merging updates from MRTK Examples Hub 2.6.0 (Submitted and available on Microsoft Store)
https://www.microsoft.com/en-us/p/mrtk-examples-hub/9mv8c39l2sj4

Example scenes updated: Layout polish (no feature update/addition)

Hub Main menu updates : Added Scrolling Object Collection, Surface Magnetism Solver, Hand Coach, Scene Understanding)

Some utility scripts needed:

ToggleSpatialMeshObserver.cs : Suspend observer & Visual off & clear mesh (disables collision)
LoadProfile.cs : Manually load a specified MRTK config profile
SceneSystemUnloadingCheck.cs : On Scene System unloading, clear Scene Understanding data. (Used before going back to Hub Main Menu)

ToggleFeaturesPanelExamplesHubStore.prefab updated to use shell-parity Pulse Shader on/off feature (PulseShaderSpatialMeshHandler)

ArticulatedHandMesh.prefab : Updated to use shell-parity Pulse Shader (shows mesh only when first detected)

HolographicButtonContentCageProximity.mat : Adjusted alpha of the albedo to 0 to avoid black color in MRC capture

Some example scene layout updates for easier view & interaction

#9614

/azp run

/azp run


convos: 7.02 -> 7.06

Description of changes
https://github.com/convos-chat/convos/blob/56240d2a0a4e6e3161b44e1ff2282cc7c1a1afee/Changes#L10-L38
A t/irc-reconnect.t online test is disabled as well, as it fails in sandbox.

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Sorry I've seen this too late!  Will remake this for the latest Convos version (7.16).


Porfolio website: Local storage

###Local storage.

Created a localstorage.js file that will handle the storage functionality of the data that will be stored in browser.

###Local storage.
Created a localstorage.js file that will handle the storage functionality of the data that will be stored in browser.


Piper will not initialize on Home Assistant without an internet connection?

I’m trying to run my Home Assistant on a network that isn’t connected to the internet, and it seems like that’s preventing Piper from even starting up. It works fine when I run it on an internet-connected network, but if I run it on just my LAN, it fails.
Here’s the log file, which I think indicates that the program is failing because it can’t reach the internet. Any way to fix this?

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service piper: starting
s6-rc: info: service piper successfully started
s6-rc: info: service discovery: starting
Traceback (most recent call last):
File "/usr/lib/python3.11/urllib/request.py", line 1348, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib/python3.11/http/client.py", line 1282, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.11/http/client.py", line 1328, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.11/http/client.py", line 1277, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.11/http/client.py", line 1037, in _send_output
self.send(msg)
File "/usr/lib/python3.11/http/client.py", line 975, in send
self.connect()
File "/usr/lib/python3.11/http/client.py", line 1447, in connect
super().connect()
File "/usr/lib/python3.11/http/client.py", line 941, in connect
self.sock = self._create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/socket.py", line 827, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/socket.py", line 962, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/usr/local/lib/python3.11/dist-packages/wyoming_piper
/main.py", line 193, in
asyncio.run(main())
File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in
run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/wyoming_piper
/main.py", line 161, in main
await process_manager.get_process()
File "/usr/local/lib/python3.11/dist-packages/wyoming_piper
/process.py", line 114, in get_process
ensure_voice_exists(
File "/usr/local/lib/python3.11/dist-packages/wyoming_piper
/download.py", line 137, in ensure_voice_exists
with urlopen(file_url) as response, open(
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 519, in open
response = self._open(req, data)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 536, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 1391, in https_open
return self.do_open(http.client.HTTPSConnection, req,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^
File "/usr/lib/python3.11/urllib/request.py", line 1351, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in
name resolution>
[16:22:26] INFO: Service exited with code 1 (by signal 0)

The Piper add-on does not include any voices. It will download the default voice the first time it's run, and from then on you can use it without an internet connection. On Home Assistant OS, you may also manually download voices to /share/piper

I appreciate the response!  I've left my Home Assistant instance running online for over 24 hours, and I've confirmed everything is working as intended.  I have just switched it back to the LAN-only network, and it continues refusing to start, with the same error.
Clearly Piper is checking the internet on every single startup, not just the first one.  Here's a current log file.  As Piper runs, it's just repeating this every 4-5 seconds.  Thoughts on next steps?

Traceback (most recent call last):
File "/usr/lib/python3.11/urllib/request.py", line 1348, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib/python3.11/http/client.py", line 1282, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.11/http/client.py", line 1328, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.11/http/client.py", line 1277, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.11/http/client.py", line 1037, in _send_output
self.send(msg)
File "/usr/lib/python3.11/http/client.py", line 975, in send
self.connect()
File "/usr/lib/python3.11/http/client.py", line 1447, in connect
super().connect()
File "/usr/lib/python3.11/http/client.py", line 941, in connect
self.sock = self._create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/socket.py", line 827, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/socket.py", line 962, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/usr/local/lib/python3.11/dist-packages/wyoming_piper/main.py", line 193, in
asyncio.run(main())
File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/wyoming_piper/main.py", line 161, in main
await process_manager.get_process()
File "/usr/local/lib/python3.11/dist-packages/wyoming_piper/process.py", line 114, in get_process
ensure_voice_exists(
File "/usr/local/lib/python3.11/dist-packages/wyoming_piper/download.py", line 137, in ensure_voice_exists
with urlopen(file_url) as response, open(
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 519, in open
response = self._open(req, data)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 536, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 1391, in https_open
return self.do_open(http.client.HTTPSConnection, req,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 1351, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
[10:28:41] INFO: Service exited with code 1 (by signal 0)


Added algorithms for DFS,BFS,BST,CheckingForBST,Tree

DFS -Depth First Search for graphs
BFS - Breadth First Search for graphs
BST - Binary Search Tree
CheckingForBST - Check if a given Tree is a Binary Search Tree
Tree - Implementation of tree.

This repository has chosen to disable pull requests.


"Source font font not found." But it's in the asset browser.

I imported the new 9.1.0 scribble to this project which used the previous version of scribble, the only things I changed were a couple macro settings (Either way it didn't even work before that)
The font is in the asset browser and it works normally using vanilla GameMaker functions.
(Needless to say, this worked in the previous scribble version.)
{ message : "ScribbleDX:
Source font "fntApfelPreload" not found
"fntApfelShadow" will not be available
 ", script : "gml_Script___scribble_error", line : 145, longMessage : "ERROR in action number 1
of Create Event for object manFlashingLights:
ScribbleDX:
Source font "fntApfelPreload" not found
"fntApfelShadow" will not be available

 at gml_Script___scribble_error (line 145) -     show_error("ScribbleDX:\n" + _string + "\n ", true);
", stacktrace : [ "gml_Script___scribble_error (line 145)","gml_Script_scribble_font_bake_shader (line 40) -         __scribble_error("Source font \"", _source_font_name, "\" not found\n\"", _new_font_name, "\" will not be available");
","gml_Script_scribble_font_bake_shadow (line 39) -     scribble_font_bake_shader(_source_font_name, _new_font_name, __shd_scribble_bake_shadow,
","gml_Object_manFlashingLights_Create_0 (line 9) - scribble_font_bake_shadow(global.fontStringDependingLanguage,"fntApfelShadow",2,2,c_black,1,0,false)
" ] }

Reimporting the library fixed this, sorry for opening an unnecesary issue.

That's ok, I'd prefer people come running whenever there's an issue in case it's something I can smooth out.

Reimporting the library fixed this, sorry for opening an unnecesary issue.

hey, how do you "reimport the library"? im having the same issue you did

hey, how do you "reimport the library"? im having the same issue you did
Import it again, like, just import it.

hey, how do you "reimport the library"? im having the same issue you did

Import it again, like, just import it.

i need to reimport the scribble yymps file?

hey, how do you "reimport the library"? im having the same issue you did

Import it again, like, just import it.

i need to reimport the scribble yymps file?

...yes...

hey, im still getting a error but know it's different.
this is what im doing:
scribble_glyph_set("fnt_astron", all, SCRIBBLE_GLYPH.Y_OFFSET, 4);
but i triggers an error:
function __scribble_get_font_data(_name)
{
static _font_data_map = __scribble_get_font_data_map();
var _data = _font_data_map[? _name];
//the error is happening here:
if (_data == undefined) __scribble_error("Font "", _name, "" not recognised");
return _data;
}
the _font_data_map variable is just an empty ds map which causes the _data variable to be undefined, triggering the error.
can someone PLEASE help?

hey, im still getting a error but know it's different. this is what im doing:

afaik this issue is closed, i'd recommend you to open a new one, i can't help

hey, im still getting a error but know it's different. this is what im doing:

afaik this issue is closed, i'd recommend you to open a new one, i can't help

thanks, i'll open a new issue


Enhancement Idea: Allow map card

During an active storm, I like to watch to see where all of the strikes are and go to the built in Home Assistant Map.  But that also shows my list of places/pins I've dropped for geolocation such as stores and other places.
I would like to know if there is a way I could set up a map card to only show the (LS) Strikes only?  I didn't see an entity to show except where the previous ones were individually and not a group.   In other words, on the same page as the strikes and distance, I would like to include a map showing my user defined radius where all of the strikes are without all of the other saved locations.   Is this possible?

It's not listed as a source in the UI but this still works:
      - type: conditional
        conditions:
          - entity: sensor.blitzortung_lightning_counter
            state_not: '0'
        card:
          type: map
          entities:
            - entity: zone.home
          geo_location_sources:
            - blitzortung
          dark_mode: false
          default_zoom: 10
          aspect_ratio: '80%'
          auto_fit: true

Beautiful that seems to work, I just took out the conditional part though (I never have used that card, and saving the changes made it go away so I'm sure it was just because of the lack of storms here).  :)
Anyway, I'm excited to see when we get the next storm in our area which TBH is far and few between!  (2-3 times /year at the most in the PNW)


Revert "Merge pull request #530 from rspeicher/rs-error-method-missing"

This reverts commit 216251a554e2392ed22e61ef279bd7d4008fa1f0, reversing
changes made to e10c7e2a840666518d679f426082b1fbc6753aea.
After updating to 4.13.0 in https://gitlab.com/gitlab-com/chatops, I started seeing unexpected spec failures related to argument counts and method_missing on ObjectifiedHash, so for the time being I think it's best to revert this feature until it can be properly re-implemented.
I suggest a 4.13.1 patch release after this revert.

Released 4.13.1


Fix indentation in nginx.conf

https://github.com/pydanny/cookiecutter-django/blob/master/{{cookiecutter.project_slug}}/compose/nginx/nginx.conf contains a mix of tabs and spaces, I think. Or maybe they're tabs, just misaligned.
Either way, it would be good for them to be consistently aligned.

fixed in https://github.com/pydanny/cookiecutter-django/commit/a4884bb5d76f49f823361eac12cd905d82ea2313


Erro 404 - Update version encoding

in validate.ts file, I have error in line 3, because link version is wrong
Error
import { encodeToString as convertUint8ArrayToHex } from<EMAIL_ADDRESS>
Solution
import { encodeToString as convertUint8ArrayToHex } from<EMAIL_ADDRESS>

Hi @eniwez , unfortunately I can't replicate this error. Is it possible that this was a temporary mistake on the deno server side?

Nevertheless your solution is the more correct one it seems. Thank you!


Is the XMLA readonly endpoint in GA?

I understand that the writeback endpoint (feature) using XMLA is in preview. But what about the XMLA read-only endpoint? Did it reach GA?
I could see the documentation still says Preview for XMLA endpoint.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ee1b920c-639a-a627-58f2-e8fd69c9ef7d
Version Independent ID: ab13e62f-0629-0aed-7e85-a902e150f9b1
Content: Dataset connectivity and management with the XMLA endpoint in Power BI Premium (Preview) - Power BI
Content Source: powerbi-docs/admin/service-premium-connect-tools.md
Service: powerbi
Sub-service: powerbi-admin
GitHub Login: @Minewiskan
Microsoft Alias: owend

Thanks for your comment, @joymon. We’ve forwarded your feedback to the writer, who should respond to this thread shortly. Thanks!

@joymon - XMLA endpoint, which supports read only and read-write operations is still in preview. That said, keep a close eye on the Power BI blog in the coming weeks.
#please-close