TypeError: Cannot read property 'getUint16' of undefined

i am getting the following issue

Hello, unfortunately I can't investigate what's breaking unless you provide me with more info. What file are you parsing, what's the environment? Browser or node? What's the input format? Buffer, ArrayBuffer, url string, etc...
I could figure it out if you could provide me with the snippet of your code and prefferably even the file.

I can reproduce this on

Node.js: v18.9.0
exifr: 7.1.3

touch foo.txt
node

require('exifr').parse('foo.txt')

At the end of the day, it is not an image, so the behavior is undefined and technically correct, but I think exifr should either return null or an empty object in such cases 🤷 .

Here are other edge cases
echo "" > foo.txt # this creates a file of size 1 Byte with a `\n` character in it
node

require('exifr').parse('foo.txt')

Uncaught RangeError: Offset is outside the bounds of the DataView


Error when having more than 10 files

When I have more than 10 files I get this error:
(node) warning: possible EventEmitter memory leak detected. 11 finish listeners added. Use emitter.setMaxListeners() to increase limit.
I found a work around. I just created a grunt jub for every file but It might be good to have the normal behavior.
If the project is still maintained I might have the time to make a pull request

Sorry the problem came from grunt-premailer


sncast account create should show copyable command for deployment

Which components does the task require to be changed? (think hard pls)
sncast
Description
Right now, when sncast account create is used, it is unclear how to deploy the created account.
The output already indicates that the account needs to be prefunded but doesn't show how to do so.
Change sncast account create output, so it also includes a ready to copy command for declaring. The arguments like --url that are provided by the user should be captured and included in the output command so it can be copied and run.
Concept:
$ sncast account create --url my_url.xyz --name my_account
add_profile: --add-profile flag was not set. No profile added to snfoundry.toml
address: 0x075c4094d5431fea3bdfa1c65d393ea52315f513b9fa81d1466edf1d91fc4022
max_fee:<PHONE_NUMBER>235
message: Account successfully created. Prefund generated address with at least <max_fee> STRK tokens or an equivalent amount of ETH tokens. It is good to send more in the case of higher demand.

After prefunding the address run:
sncast account deploy --url my_url.xyz --name my_account --fee-token strk

Please can I be assigned to this issue @cptartur

Hey, thanks for applying, however we mostly accept applications for tasks marked with "help wanted" or "good first issue" label.


Build for a Windows 8.1 minimum

Windows 7 was 0x0601. Windows 8 was 0x0602. Both are well past their life-cycle. While Windows 8.1 is also out-of-support, it was only retired as of last year so I'm keeping it for now.
DirectXTK_Desktop_2019.vcxproj & DirectXTK_Desktop_2022.vcxproj now include DirectX Tool Kit for Audio targeting XAudio 2.8. There are no individual MSBuild projects under Audio. This is consistent with the original DirectXTK_Desktop_2019.sln & DirectXTK_Desktop_2022.sln files.
CMake BUILD_XAUDIO_WIN7 build option renamed BUILD_XAUDIO_REDIST to use the XAudio2Redist. CMake presets like x64-Debug-Win7 are now x64-Debug-Redist for XAudio2Redist.
GamePad always uses XInput 1.4 rather than XInput 9.1.0
Always uses CreateFile2, GetOverlappedResultEx, and WIC2

Removes all use of NuGet for XAudio2Redist since this was a Windows 7 scenario. CMake still supports building using the XAudio2Redist which can also be used on Windows 8.1 if desired rather than XAudio 2.8.

https://github.com/walbourn/directxtktest/pull/59

https://github.com/walbourn/directxtktest/pull/60

https://github.com/walbourn/directxtktest/pull/61


A dumb question about delaySeconds

Hi,
I have no experience with esp32 and its Bluetooth library, Bluetooth protocal, etc. before. I was just wondering if the delaySeconds is smaller, the frequency of spam advertisements would be higher? Or limited to its hardware, could it be too short to send advertisements or there is a built-in filter somehow to filter it on iOS?

 I am guessing you're talking about this guy:
https://github.com/ckcr4lyf/EvilAppleJuice-ESP32/blob/8effcdac60f8538954c2c68a2cd8534312ee43a0/src/main.cpp#L13
I do believe, at some level, it would be limited by the underlying ESP32 hardware. It may also be somewhat limited on the iDevice side, e.g. if it sees "too many" advertisements in a very short interval, it would think they are fake.
Unfortunately, I do not have an iDevice personally, so I am unable to perform fine grained testing on the delay parameter to see how it affects the spamming.
You could definitely try and play around with it, to see if you can spam it even more frequently (since also in every loop it will randomize the spoofed device)

Thanks for your response, I'll look into it =)

No problem. Btw. if you're unfamiliar with C, you can't actually have a fractional value (E.g. 0.5) for a uint32_t , but you could change the amount is is multiplied by, since the value passed to the actual delay function is in milliseconds:
https://github.com/ckcr4lyf/EvilAppleJuice-ESP32/blob/8effcdac60f8538954c2c68a2cd8534312ee43a0/src/main.cpp#L112

@sht2017 it may interest you, that in the official Apple Design Specification (https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf), they mention, quote: "The accessory should first use the recommended advertising interval of 20 ms for at least 30 seconds."
Seems like every 20ms (which means ~50 times a second!) is within Apple spec!

I will do some PoC, using the current 1 second sleep, and a much shorter / reduced 50ms sleep, and report back if I see any noticeable changes.
Reopening this issue so others may also come across it and try it out

@sht2017 it may interest you, that in the official Apple Design Specification (https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf), they mention, quote: "The accessory should first use the recommended advertising interval of 20 ms for at least 30 seconds."
Seems like every 20ms (which means ~50 times a second!) is within Apple spec!

I will do some PoC, using the current 1 second sleep, and a much shorter / reduced 50ms sleep, and report back if I see any noticeable changes.
Reopening this issue so others may also come across it and try it out

Thanks for the info, I'll check that.
Also, I noticed that trying it at my local Apple Store didn't work as well as before (I'm currently using ESP32-S3 with delaySeconds = 200). Only devices really nearby would perform inactive popups. So I assume Apple may already applied an update with an aggressive detection filter algorithm to filter devices with weak BT signals.

Btw, I guess we may talk about this further within a new issue so that could keep everyone else on update.


[Code health] Rename persistence/geojson

This package's purpose is more specific than it's current name suggests, namely, we parse geojson to determine tile extents. The current name implies its functionality is more generic, we should rename it to better reflect its purpose.

This was done as part of #814.


Feature: relation hasMany

First, thanks for this package, help me a lot. Are you working on models with hasMany relationships? Would be amazing if you can do this. Is it posible?

yes I have in plan to improve package, including hasMany relation features


it's better to move your tensors to the device (GPU or CPU) as early as possible

No, it's not always true. You need be careful when moving all of your input tensors to GPU because GPU memory resource is limited.

No, it's not always true. You need be careful when moving all of your input tensors to GPU because GPU memory resource is limited.


Tutorial: Creating and interacting with dynamic world UI screens to show OSM metadata.

Visualizing Metadata with Dynamic UI Release
Target release date: 10/13/2022
Checklist

[x] Complete technical implementation #40
[x] Create a new version and upload to Unreal Engine Marketplace
[x] Complete text review, Link
[x] Publish page

References
VR Tutorial on UE marketplace
VR series introduction on Cesium site
Google Drive folder

Closing, as the tutorial has been published.


Remove reference to Xamarin.Android.Support.Compat

I recently checked my Xamarin.Forms projects for indirect dependencies and found out that it still referenced Xamarin.Android.Support.Compat somewhere. Investigating showed that it came from the Xam.Plugin.Geolocator NuGet package. It's the last old-school plugin that I'm using, as I could migrate most of it to Xamarin.Essentials. Further investigating showed that this plugin references Plugin.Permissions, which has the Xamarin.Android.Support.Compat NuGet package. All other projects and package references in my project is already using AndroidX.
So there are a few ways out of this dependency, in my favorite order:

Xamarin.Essentials implements foreground listening to location changes: https://github.com/xamarin/Essentials/issues/1447 (the Spec is from me, but I didn't work on the code yet). Foreground listening to location changes is the reason why I'm using this plugin for.

This plugin would get rid of Plugin.Permissions and start using Xamarin.Essentials for permission checking. The Plugin.Permissions 5.0.0-beta already includes Essentials, so why not here, too.

The Plugin.Permissions plugin would get rid of the Xamarin.Android.Support.Compat package and adapt to using AndroidX. For this I would create a separate issue, if necessary and desired.

James, what path do you think I should proceed with?
Bug Information
Version Number of Plugin: <IP_ADDRESS>
Device Tested On: Pixel 3a
Simulator Tested On: -
Version of VS: 16.8.2
Version of Xamarin: Xamarin.Android <IP_ADDRESS>
Versions of other things you are using: -

I found a way to fix including the old Xamarin.Android.Support packages: I still reference Xam.Plugin.Geolocator version <IP_ADDRESS>, but it has a dependency of Plugin.Permissions version >= <IP_ADDRESS>, but I can manually add Plugin.Permissions in version 6.0.1, which uses the newer AndroidX packages. So this is a workaround for me, closing this issue.


The "run_type" parameter in the "2.0/jobs/runs/list" API has no effect

In this section:
The "run_type" parameter is documented as "the type of runs to return". But in fact this parameter has no effect. See attached picture. When I filter the run list to JOB_RUN type, the returned run list still has SUBMIT_RUN type.

I'm not sure if this is a code defect or a documentation issue.

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

ID: 94757e87-8be2-3279-4a7e-51fbbaf7d678
Version Independent ID: 9cfad152-bba2-390c-edce-63d3aba3f4fa
Content: Jobs API - Azure Databricks - Workspace
Content Source: databricks/dev-tools/api/latest/jobs.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@memoryz Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

Thanks for your dedication to our documentation. Unfortunately, we have been unable to address your issue and apologize for the delayed response. We are closing this issue, but if you feel that it's still a concern, please let us know directly at<EMAIL_ADDRESS>#please-close

#please-close


Class Placemark not defined

🐛 Bug Report
The Placemark class is not available when only importing the geocoding/geocoding.dart package. Currently you'll need to also import the geocoding_platform_interface/geocoding_platform_interface.dart package.
Expected behavior
The Placemark class should be available through the geocoding/geocoding.dart package.
Reproduction steps

Add a dependency to the geocoding: ^1.0.2 package in your Flutter app;
Import the geocoding package in your code: import 'package:geocoding/geocoding.dart';;
Make a call in your code to one of the geocoding methods: final placemark = await placemarkFromCoordinates(52.2165157, 6.9437819);
Try to compile.

Configuration
Version: 1.0.2
Platform:

[x] :iphone: iOS
[x] :robot: Android

This issue should be solved in version 1.0.3 of the geocoding plugin.


How to restore an rbd image

In https://kubernetes.io/blog/2019/01/15/container-storage-interface-ga/ under the section "Pre-Provisioned Volumes" is a template of how to create a PV from a prepopulated CSI volume. What values do I need to create a PV that references an rbd image? Once the PV is created, I'm sure just creating a PVC will bind automatically to the PV.
I've read a lot of the official kubernetes docs, but how do I get the csi driver, volume handle, fsType? What volumeAttributes do I need? What secrets do I need to reference.
I've set up ceph-csi using rook following the following documentation: https://rook.io/docs/rook/v1.0/ceph-csi-drivers.html

I did a round of tests with pre-provisioned CephFS volumes (or directories) and exposing them as static PVs or pre-provisioned volumes, the requires YAML for that test/example can be found here. This maybe a little dated, but can serve as an example for RBD as well.
Let me know if this helps, else I can create one for RBD as well and post it.

@ShyamsundarR Yes, please show me how a file for rbd restoration should look.
My current file looks like this:
apiVersion: v1
kind: PersistentVolume
metadata:
  name: verdaccio-restored-from-rbd
spec:
  accessModes:
    - ReadWriteOnce
  capacity:
    storage: 8Gi
  csi:
    driver: rbd.csi.ceph.com
    volumeHandle: verdaccio-pvc-backup
    readOnly: false
    fsType: ext4
    nodeStageSecretRef:
      name: csi-rbd-secret
      namespace: csi
    controllerPublishSecretRef:
      name: csi-rbd-secret
      namespace: csi
    nodePublishSecretRef:
      name: csi-rbd-secret
      namespace: csi
  persistentVolumeReclaimPolicy: Retain
  claimRef:
    namespace: verdaccio-test-backup
    name: verdaccio-restored-from-rbd

---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  namespace: verdaccio-test-backup
  name: verdaccio-restored-from-rbd
spec:
  storageClassName: csi-rbd
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 8Gi

The only value that ties this pv to the rbd is the volumeHandle. It is the same name as the rbd.
When I try to use this, I get the following error at pod level:
Events:
  Type     Reason                  Age                   From                              Message
  ----     ------                  ----                  ----                              -------
  Normal   Scheduled               6m9s                  default-scheduler                 Successfully assigned verdaccio-test-backup/verdaccio-7884b5db74-thjwv to <<my-node>>
  Normal   SuccessfulAttachVolume  6m7s                  attachdetach-controller           AttachVolume.Attach succeeded for volume "verdaccio-restored-from-rbd"
  Warning  FailedMount             103s (x2 over 4m1s)   kubelet, <<my-node>>            Unable to mount volumes for pod "verdaccio-7884b5db74-thjwv_verdaccio-test-backup(dc458210-9811-11e9-a97c-d4ae52ad4f13)": timeout expired waiting for volumes to attach or mount for pod "verdaccio-test-backup"/"verdaccio-7884b5db74-thjwv". list of unmounted volumes=[storage]. list of unattached volumes=[storage default-token-5fsnp]
  Warning  FailedMount             77s (x10 over 5m46s)  kubelet, <<my-node>>           MountVolume.SetUp failed for volume "verdaccio-restored-from-rbd" : rpc error: code = Unknown desc = missing required parameter pool

My pool is called rbd, just the default name, but where in the PersistentVolume definition can I specify it. Also, is my assumption that volumeHandle == rbd-name right?
Thanks for your help, I appreciate it a lot!

@ShyamsundarR Is static PV for block volumes are supported too? My PV's being created but I doubt it even talked with RBD, since I see same behavior with having and not having rootPath.
My RBD image is t1 in pool:
apiVersion: v1
kind: PersistentVolume
metadata:
  name: reithpvtest
spec:
  accessModes:
  - ReadWriteOnce
  capacity:
    storage: 3Gi
  csi:
    driver: rbd.csi.ceph.com
    nodePublishSecretRef:
      name: rbdsecret
      namespace: rbd
    volumeAttributes:
      preProvisionedVolume: "true"
      adminid: admin
      imageFeatures: layering
      imageFormat: "2"
      monitors: <IP_ADDRESS>:6789,<IP_ADDRESS>:6789,<IP_ADDRESS>:6789
      pool: pool
      userid: admin
      rootPath: t1
      reclaimPolicy: Retain
    volumeHandle: t1
  persistentVolumeReclaimPolicy: Retain
  storageClassName: ceph-csi-volumes
  volumeMode: Block
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: reithpvtest
spec:
  storageClassName: ceph-csi-volumes
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 3Gi
  volumeName: reithpvtest
  volumeMode: Block
---
apiVersion: v1
kind: Pod
metadata:
  name: reithpvtest
spec:
  containers:
    - name: my-container
      image: busybox
      command:
        - sleep
        - "3600"
      volumeDevices:
        - devicePath: /dev/block
          name: reithpvtest
      imagePullPolicy: IfNotPresent
  volumes:
    - name: reithpvtest
      persistentVolumeClaim:
        claimName: reithpvtest

PV bounds (which I assume is just a check for accessModes and size…) but mount fails:
  Warning  FailedMount         <invalid> (x2 over <invalid>)  kubelet, node0206.compute.east  Unable to mount volumes for pod "reithpvtest_default(22e8ceb0-b751-11e9-a6e4-1402ec05bdd4)": timeout expired waiting for volumes to attach or mount for pod "default"/"reithpvtest". list of unmounted volumes=[reithpvtest]. list of unattached volumes=[reithpvtest default-token-q8hvv]
  Warning  FailedAttachVolume  <invalid> (x9 over 105s)       attachdetach-controller         AttachVolume.Attach failed for volume "reithpvtest" : attachment timeout for volume t1

@ShyamsundarR commented here that this is indeed missing functionality but that the team hasn't forgotten about it.
I just wanted to add this comment because I misinterpreted his comment here. That's entirely my fault but perhaps it has happened to other people, too. :)

@itmuckel changed the title of the issue to suit the ask, do revert in case this does not cover the requirement.

@ShyamsundarR No that's exactly what I wanted to do. Thx.


problem with ruby 1.9.3

Hi!
In ruby 1.9.2 gmail and yahoo work fine for me, but when switching to 1.9.3, I have following errors:
yahoo:
gems/liangzan-contacts-1.2.9/lib/contacts/yahoo.rb:17:in real_connect': undefined method index' for nil:NilClass (NoMethodError)
hotmail:
gems/liangzan-contacts-1.2.9/lib/contacts/hotmail.rb:21:in real_connect': undefined method split' for nil:NilClass (NoMethodError)
In general it looks like data got from 'post/get' methods is nil...
gmail works fine
I tested ruby-1.9.3-p0 [ x86_64 ] and ruby-1.9.3-p125 [ x86_64 ] both have the same error.
Thanks for any suggestions.

fixed in v1.2.10


report: generate links to source in reports

git.kernel.org provides a way to show a particular source line on particular commit:
https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/tree/net/sctp/sm_sideeffect.c?id=4dd191bb6195641edbc527a8495b7b1b816a41e6#n1097
We could embed such links into reports. Probably work for kasan_symbolize.py script.

Obsolete


Added dark mode

Closes issue #118

@itsIapetus Sorry, but this is not the main website. Our website is in Reactjs.

@itsIapetus Text is not readable in dark mode.

Okay, I will change that.

@itsIapetus Any update?

@sanjay270899 Actually I had my MTEs, will do this tomorrow for sure, sorry about the delay.

@itsIapetus any update?


Can you write a detailed description of the use of thanks

Can you write a detailed description of the use of thanks

Hi @szsyzx, I will. I think I might re-create this for public use or make a package for this one.

Is it possible to do key monitoring? For example, I want to monitor keyword A on Google search, and push alerts if new pages involving A appear, or if pushing to slack, discord.
---Original---
From: "Ryan Christopher @.>
Date: Fri, Aug 5, 2022 15:12 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [xtnctx/Google-Keyword-Search] Can you write a detaileddescription of the use of thanks (Issue #2)
Hi @szsyzx, I will. I think I might re-create this for public use or make a package for this one.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Done recreating, this one does not use the CLIENT_SECRET_FILE. Just put your values in the keyword and text_to_find. Also read the comments I made for better understanding on how this works.
https://github.com/xtnctx/Google-Keyword-Search/tree/test

About your question, this can only search specific words on your keywords you put on search bar. Pushing in your discord is different.


Validity of unit tests that perform assertEqual(TimeSeries, TimeSeries)

I may be using the wrong words in Python for this, so please work with me on this.
TimeSeries is a subclass of list but no comparison operators are explicitly defined in it.  Because of that, I believe that the unit tests are not complete.  I suspect the assertEqual ends up comparing the list values OR the private variables but never both.
Thoughts?

Comparison is generally __cmp__() in Python I think the terminology you want is equality. I like the correctness of a TimeSeries.__eq__() and see it as the right approach from a "pythonic" perspective.
I'd say fix the tests and let's merge your #1590

Ok.  I pushed changes to that pull request to clean up and/or fix the existing unit tests.


Add FastEndpoints

API/FastEndpoints - Website - https://github.com/FastEndpoints/FastEndpoints
From the website
FastEndpoints is a developer friendly alternative to Minimal APIs & MVC
It nudges you towards the REPR Design Pattern (Request-Endpoint-Response) for convenient & maintainable endpoint creation with virtually no boilerplate.
Performance is on par with Minimal APIs. It's faster, uses less memory and does around 35k more requests per second than a MVC Controller in our benchmarks.
My personal additions
This library helps folks feel right at home who are seeking a more vertical-slice-architecture approach to the classic API-building experience. It's been a fantastic few weeks using it so far, everything works well from the developer experience, to the built-in features (including an open-API client generator), to my conversations with the owner of the project.

Awesomeness confirmed


[iOS] Crash, if service txtRecordData is null

I have a device broadcasting null value dictionary
cause crashed in
https://github.com/becvert/cordova-plugin-zeroconf/blob/master/src/ios/ZeroConf.swift#L354

ok. does it work on Android?

it is ios specific issue

Please test version 2.1.4

I found that in txtRecordData is raw byte data to translate it to dictionary it need a proper key,value pair format
but some of my device boardcasted
Optional("\u{0E}isPaired=false\u{0C}serialNumber\rmodel=MODEL_NAME")
serialNumber(key) was wrong format
"=" is missing
"value" is missing

so txtRecordData returns some data but it is malformed key/value pairs?
are you able to do a quick check on android too? that would be nice.

Does it still crash the app by the way?

it will crash
seem NSDictionary could not parse the malformed data

NetService.dictionary fails an assertion if txtData cannot be represented as an NSDictionary object
failed assertions terminate the app in debug for sure, but maybe not in production. @fishkingsin , does it crash in production?
if it does, the problem is in Swift you cannot catch a failed assertion.
that means we need to parse ourselves the data. I do not want to do that.

@becvert  thanks for the comment, I will trying to fix that

What's the status on this @fishkingsin

I think it only happen from my case, ios + melform txtData

No worries. I'll have another look later on.

some finding
https://stackoverflow.com/questions/40193911/nsnetservice-dictionaryfromtxtrecord-fails-an-
assertion-on-invalid-input

any news on that?

Nope. Closing old issue. Feel free to reopen.


Fix travis pylint

This change is

Coverage remained the same at 46.423% when pulling f43672019fe37fa63f9c118c466d74da4ff177f8 on VDigitall:a509905470465688_fix_travis_pylint into 5e6d6911c6e0a2e569ccf873460b74081fb7342f on openprocurement:production.


[Trezor] Fix buffer with unmatched bound warning

Description
Fixed a small warning which were causing a build failure when building with some Emscripten versions.
This change is in line with the upstream version: https://github.com/trezor/trezor-firmware/blob/master/crypto/sha2.c
How to test
Unit tests.
Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist

[X] Create pull request as draft initially, unless its complete.
[X] Add tests to cover changes as needed.
[X] Update documentation as needed.
[X] If there is a related Issue, mention it in the description.

Does this fix work for latest emsdk version? I'd like to update to 3.1.22, it compiles using c++ 17 by default
You can change the version here: https://github.com/trustwallet/wallet-core/blob/master/tools/install-wasm-dependencies#L5

Does this fix work for latest emsdk version? I'd like to update to 3.1.22, it compiles using c++ 17 by default

Yes


Make Rally compatible with Python 3.7

With this commit we make Rally compatible with Python 3.7. The main
change is due to PEP 479.
Apart from that we do a couple of smaller cleanups and document it in
our setup file.

I suggest we target this change for release 1.0.2 instead of 1.0.1.


Add support for snail bonus game

Given its beta nature, we currently do not support the snail map.  We should consider supporting that.
One specific location that'll need addressing is that we only support a single Left/Right X coordinate when calculating snail driven distance at game end.

https://github.com/SumoLogic/killer-queen-collector/pull/12 closes this


Steam Overlay not working at all

To reproduce:

On Windows, clone the steamworks.js github, launch Steam, and login.

npm install

npm run build

cd test

cd electron

npm install

npm start. The Electron app will open, and display your Steam display name.
But it will not show the Steam Overlay hint, which normally looks like this:

Try pressing Shift-Tab. Nothing happens; no overlay appears.

Edit index.html and add this button on line 14, right before the <script> tag:

<button id="activateOverlay">activate overlay</button>

In renderer.js, add this code to the end:

document.getElementById('activateOverlay').addEventListener('click', function() {
    console.log('clicked');
    client.overlay.activateToWebPage('https://www.example.com/')
    console.log('done');
})

Quit and reopen the Electron app, toggle Dev Tools open, and click the "activate overlay" button.

Expected: The overlay should appear immediately at launch with the Shift-Tab hint, and it should fully activate the overlay when you click the "activate overlay" button.
Actual: No overlay appears at all. The Dev Tools console shows log entries, "clicked," and "done" but it doesn't show the overlay.
I've tested this on:

Windows 11 x64
Ubuntu 22 x64
macOS 13 Ventura on aarch64 M1 Apple Silicon

It's hard to be 100% sure, but I've never seen the overlay work; I don't think it ever has worked.
See also #50 and #94. I see your comment https://github.com/ceifa/steamworks.js/issues/50#issuecomment-1299013525 that "it works very well on Linux and Windows," but I've never seen it working.

I guess I bear some responsibility for this with #96, but I think that PR just revealed the error.
(And, uh, truth be told, I filed the PR without testing it myself, which is my bad.)

An easier way to test the overlay is to check out my PR branch in #98, then just click the "activate overlay" button.

Hey Guys, thanks for all your efforts in this project, it is appreciated a lot!
Sadly, I am in the same boat and cant seem to get the overlay to work up to now. I do have the new Steam installed maybe that changed up things somewhere.
I tried both, electron start and packing the electron app and then adding it as a non steam game to steam and running it like that. steamworks.js initializes, my friends list shows me ingame, but no overlay to be found. I will be happy to further test things if you need any specific things tested ceifa!

Intriguingly, I'm able to get it to work now, without launching the game from the Steam library, but only on the new client. (I don't know how to revert to the old client to check it.)
I'm going to close this out; I recommend merging #98 to hopefully minimize confusion for other users.


Is there a way to get all matches non-interactively?

Like a fuzzy grep?

not sure if this is what you're after, but you can use -f  --no-sort to make fzf a fuzzy grep

@reschex Exactly what I wanted! Thanks!


Question about 3,3',5'-trimethylmyricetin

Dear ChEBI curators,
Is the compound " 3,3',5'-trimethylmyricetin " defined in Chebi ? If not,  could you please add it.
Ref:

https://biocyc.org/compound?orgid=META&id=CPD-14938
https://pubchem.ncbi.nlm.nih.gov/compound/Myricetin-3_3_5_-trimethyl-ether

Best Regards

An entry has now been created (CHEBI:146132).


Really fix #411 on all mpi-installations reliably.

Avg response time
coverage on master

![Issue Stats][PR response img]
![Codecov branch][coverage]

Summary of changes
Really ensure progress for event_post, when CAF_MPI_LOCK_UNLOCK is set.
Rationale for changes
The fix proposed in #412 does not reliably fix the issue of #411. Answering a MPI_Win_sync() with a MPI_Win_unlock() on systems that have CAF_MPI_LOCK_UNLOCK set leads to 'Unexpected synchronization of RMA calls.' or hangs of the program. Which can easily be seen by forcing setting CAF_MPI_LOCK_UNLOCK manually. This patch "answers" a MPI_Win_sync() always by the required MPI_Win_flush().
Furthermore does the patch add the provided testcase, reformats the touched code section according to the style guide and moves a closed regression test to a location where it can be found when searching for the testcase.
Additional info and certifications
This pull request (PR) is a:

[x] Bug fix
[ ] Feature addition
[ ] Other, Please describe:

I certify that

[x] I have reviewed the [contributing guidelines] and followed the
policies on:
- Pull request (PR) naming to indicate work in progress (WIP),
and to attach the PR to the appropriate bug report, or feature
request [issue]
- White space (no trailing white space or white space errors may
be introduced)
- Commenting code where it is non-obvious and non-trivial
- Running tests locally, to ensure all of them pass
- Maintaining or increasing test coverage
- Logically atomic, self consistent and coherent commits
- Commit message content
- Waiting 24 hours before self-approving the pull request to
give another OpenCoarrays developer a chance to review my
proposed code

Sounds great! I'm traveling until later today, so I won't be able to review those changes until then. Great that you added a test case!

LGTM
(and Andre on call currently)

LGTM
Andre & Damian looked over this on the call


Add underline/bolding to selected sidebar item.

Fixes https://github.com/GoogleContainerTools/kpt/issues/1580

While we're here, can you remove the leading dash:
 - blah -> blah
It doesn't add much value.

Done:


Podfile does not exist and won't get created

I've been looking for a solution and haven't found any for my circumstances.
I develop in linux using VSCode, building and deploying to the AppStore via codemagic.
I have a published App, both stores (apple/android) and just recently updated its dependencies and added these new dependencies:
webview_flutter: ^4.2.2
package_info_plus: ^4.0.2

PlayStore: Built without trouble for android and the updated build was published.
AppStore: Went to codemagic to build/deploy it and it failed. The error:
Automatically assigning platform 'iOS' with version '11.0' on target 'Runner' because no platform was specified. Please specify a platform for this target in your Podfile.
Say no more. I go to look for the Podfile... missing!
Nobody deleted it (or any other pod related data) and the previous built went smooth! Oh well, maybe something changed (new requirements,etc).
Went and tried to recreate the project just for iOS with:
flutter create --platforms ios
Command executes fine, but still no Podfile/pod stuff!
All "solutions" I have found suggests actions that are just for a Mac environment (run pod commands). Not my case.
Basically, I have reached a dead end and it's driving me crazy.
What am i missing?

just recently updated its dependencies and added these new dependencies:
webview_flutter: ^4.2.2
package_info_plus: ^4.0.2

PlayStore: Built without trouble for android and the updated build was published. AppStore: Went to codemagic to build/deploy it and it failed. The error:
Automatically assigning platform 'iOS' with version '11.0' on target 'Runner' because no platform was specified. Please specify a platform for this target in your Podfile.

@raenk This error could be occuring due to the fact that the plugins you added may require a minimum OS version higher than the app.
Can you provide the complete error message ? Do you get something like dependency were found, but they required a higher minimum deployment target. ?
Usually the podfile is generated if you add any plugin to a project and if you are creating a new barebone project, it won't generate the podfile. Also, in your case the podfile could be missing because you added a third party package package_info_plus that you can check and confirm.

Thanks @darshankawar I'm not quite following you about the reasons or circumstances the Podfile should or should not be created.
This is the full error log:
== Building for iOS ==

> xcode-project use-profiles
Configure code signing settings
Searching for files matching /Users/builder/Library/MobileDevice/Provisioning Profiles/*.mobileprovision
Searching for files matching /Users/builder/Library/MobileDevice/Provisioning Profiles/*.provisionprofile
List available code signing certificates in keychain /Users/builder/Library/codemagic-cli-tools/keychains/27-07-23_mpl4myzg.keychain-db
Searching for files matching /Users/builder/clone/ios/**/*.xcodeproj
Completed configuring code signing settings
 - Using profile "AdKondo ios_app_store<PHONE_NUMBER>" [3c8b06b6-6bf7-4039-ab83-a9dee55c62c5] for target "Runner" [Debug] from project "Runner"
 - Using profile "AdKondo ios_app_store<PHONE_NUMBER>" [3c8b06b6-6bf7-4039-ab83-a9dee55c62c5] for target "Runner" [Profile] from project "Runner"
 - Using profile "AdKondo ios_app_store<PHONE_NUMBER>" [3c8b06b6-6bf7-4039-ab83-a9dee55c62c5] for target "Runner" [Release] from project "Runner"
Generated options for exporting the project
 - Method: app-store
 - Provisioning Profiles:
     - com.adkondo.app: AdKondo ios_app_store<PHONE_NUMBER>
 - Signing Certificate: Apple Distribution
 - Signing Style: manual
 - Team Id: ZJWLWG6MMP
Saved export options to /Users/builder/export_options.plist

> flutter build ipa --release --export-options-plist /Users/builder/export_options.plist
Resolving dependencies...
  collection 1.17.1 (1.18.0 available)
  dart_internal 0.2.8 (0.2.9 available)
  file 6.1.4 (7.0.0 available)
  intl 0.18.0 (0.18.1 available)
  matcher 0.12.15 (0.12.16 available)
  material_color_utilities 0.2.0 (0.8.0 available)
  plugin_platform_interface 2.1.4 (2.1.5 available)
  source_span 1.9.1 (1.10.0 available)
  stack_trace 1.11.0 (1.11.1 available)
  stream_channel 2.1.1 (2.1.2 available)
  test_api 0.5.1 (0.6.1 available)
  url_launcher_android 6.0.36 (6.0.37 available)
  webview_flutter_android 3.9.1 (3.9.2 available)
  webview_flutter_wkwebview 3.7.0 (3.7.2 available)
  win32 5.0.5 (5.0.6 available)
Got dependencies!

Archiving com.adkondo.app...
Updating minimum iOS deployment target to 11.0.
Upgrading project.pbxproj
Upgrading AppFrameworkInfo.plist
Upgrading Podfile
Updating project for Xcode compatibility.
Upgrading project.pbxproj
Upgrading Runner.xcscheme
Upgrading Info.plist
Removing script build phase dependency analysis.
Adding input path to Thin Binary build phase.
Automatically signing iOS for device deployment using specified development team in Xcode project: ZJWLWG6MMP
Running pod install...                                             429ms
CocoaPods' output:
↳
      Preparing

    Analyzing dependencies

    Inspecting targets to integrate
      Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
    [!] Unable to find a target named `RunnerTests` in project `Runner.xcodeproj`, did find `Runner`.

    /Users/builder/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer/target_inspector.rb:108:in `compute_targets'
    /Users/builder/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer/target_inspector.rb:40:in `compute_results'
    /Users/builder/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:1197:in `block (3 levels) in inspect_targets_to_integrate'
    /Users/builder/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:1195:in `each'
    /Users/builder/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:1195:in `block (2 levels) in inspect_targets_to_integrate'
    /Users/builder/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:1193:in `each'
    /Users/builder/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:1193:in `block in inspect_targets_to_integrate'
    /Users/builder/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/user_interface.rb:64:in `section'
    /Users/builder/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:1188:in `inspect_targets_to_integrate'
    /Users/builder/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:107:in `analyze'
    /Users/builder/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/installer.rb:422:in `analyze'
    /Users/builder/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/installer.rb:244:in `block in resolve_dependencies'
    /Users/builder/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/user_interface.rb:64:in `section'
    /Users/builder/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/installer.rb:243:in `resolve_dependencies'
    /Users/builder/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/installer.rb:162:in `install!'
    /Users/builder/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/command/install.rb:52:in `run'
    /Users/builder/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
    /Users/builder/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/command.rb:52:in `run'
    /Users/builder/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/bin/pod:55:in `<top (required)>'
    /Users/builder/.rbenv/versions/3.0.4/bin/pod:25:in `load'
    /Users/builder/.rbenv/versions/3.0.4/bin/pod:25:in `<main>'

Error output from CocoaPods:
↳

    [!] Automatically assigning platform `iOS` with version `11.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

Error running pod install

Build failed :|
Failed to build for iOS

@raenk
Looking at the error log, there's another warning Unable to find a target named RunnerTests in project Runner.xcodeproj, did find Runner. which could be leading to the error. Have you tried to resolve it ?
As I mentioned earlier, if you just use webview_flutter for example and try to run, do you still get same error ?

Solved following these steps suggested at the discussion forum of codemagic:

Start a build, enable SSH connection
SSH or VNC into the machine
When in the machine, navigate to /Users/builder/clone/ios
There, a Podfile should be generated. Copy the contents of this Podfile, and create a Podfile locally inside your iosdirectory.
Paste the contents of the VM-s Podfile to your locally created one.
Now, inside the Podfile, find this part and comment out these lines which I've marked:

target 'Runner' do
 use_frameworks!
 use_modular_headers!

 flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
 # target 'RunnerTests' do <-- MAKE SURE THIS LINE IS COMMENTED OUT
  # inherit! :search_paths <-- MAKE SURE THIS LINE IS COMMENTED OUT
 # end <-- MAKE SURE THIS LINE IS COMMENTED OUT
end

Commit changes
Run a build

Does that mean the issue is resolved ?

Well, that solution worked, but not sure if flutter is doing something wrong with the iOS folder.

Ok, if you have concrete steps to replicate the issue wherein it says the podfile is missing, please provide us the details here so that we can make this issue actionable.

Well, the steps are in my original post. Someone at codemagic community suggested that it could be due to creating my project in an older version of flutter (first build published) and building an update with the latest flutter version.

I tried by creating new flutter project with a recent and latest version but didn't get any issues. Maybe this could be a config issue at your end unless you are able to replicate it locally using older version of flutter.

I followed the same instructions for codemagic as listed by @raenk to fix my build pipeline for iOS
It is worth noting that this issue mainly happens to people who don't own a mac and therefore cannot use XCode to get flutter to fix podfile issues


first party data initial commit

Added first party data to the API doc, the bidder adapter doc, and the AdUnit reference.
Couldn't resist refactoring the bidder adapter doc a bit.

@bretg when will this be merged?
Also a quick question on the docs, you mention for example appnexus accepts a keywords key on the fpd object, but what should be the structure of the value?

Sorry, missed this one when merging docs updates for the last release. It merged now.


Ability to publish Java SDKs

We should investigate what is needed to publish the Java SDKs of all the providers under the Pulumiverse umbrella.

Info from @dirien:

https://www.jetbrains.com/help/space/publish-artifacts-to-maven-central.html
https://central.sonatype.org/publish/requirements/

Request for a repository at Maven Central:
https://issues.sonatype.org/browse/OSSRH-86096

@cobraz to publish Java SDKs to Maven Central with com.pulumiverse we must:

To register this Group Id you must prove ownership of the domain pulumiverse.com. Please complete the following steps to continue:
Add a DNS TXT record to your domain with the text: OSSRH-86096. Please read https://central.sonatype.org/faq/how-to-set-txt-record/
Edit this ticket and set Status to Open.
More info: https://central.sonatype.org/publish/

Can you execute this on a short term?

Record is added! Can you change the status to open on the ticket?

@cobraz tnx. Sonatype ticket is set to open.

is there already any update?
afaik, we‘d require the publish username and password secrets, and signing certificate and password set as github actions secrets in this org.
e.g. see the gcp provider action: https://github.com/pulumi/pulumi-gcp/blob/master/.github/workflows/release.yml

I still need to finish the setup of the upstream Sonatype registry. But our Github Actions workflows in general have a lot of inconsistencies over all the current providers. I would like to have some more generalization there so that adding Java publishing becomes much easier.

Support to publish Java packages is dependent on this upstream issue:
https://github.com/pulumi/pulumi-java/issues/1359
Please upvote as much as possible if you need Java support.


Removed Traversable.clear(), slightly changed AbstractMap

Fixes #1134

Current coverage is 94.71%

Merging #1139 into master will decrease coverage by -0.01% as of e02f612

@@            master   #1139   diff @@
======================================
  Files           79      79
  Stmts         9193    9179    -14
  Branches      1711    1710     -1
  Methods          0       0
======================================
- Hit           8708    8694    -14
+ Partial         92      91     -1
- Missed         393     394     +1

Review entire Coverage Diff as of e02f612

Powered by Codecov. Updated on successful CI builds.


Slide with "dot" hard to drag

This slider was hard to drag because the "dot" blocks the drag interaction.

Fixed!


wallet server lru cache improvements

only reset cache on a block if there were claim related TXs ( should be easy, reset happens in the same area as where the claimtrie code runs )
make the lru cache work kinda like the transaction cache in wallet sync, were first unknown queries gets to go to sqlite and everyone else waits for that one search to

done in #2308


impl Cast for DVector and DMatrix

Implementations of Cast seem to be missing for the DVector and DMatrix types, among others. Is there a reason for this and would a patch be welcome?

There is no good reason for it to be missing. Though there is no need to make a patch as it is already implemented on the yet-to-be-released next version of nalgebra (see #207 and the implementation here).


[Bug <IP_ADDRESS>]: Method not found: 'Void Microsoft.IdentityModel.JsonWebTokens.JwtTokenUtilities.ValidateTokenType(System.String, Microsoft.IdentityModel.Tokens.TokenValidationParameters)'

Hi team,
I am using ASP.NET core authentication middleware to do authentication with Jwt token in my web application.
Everything was fine before I upgrade Microsoft.IdentityModel.JsonWebTokens from <IP_ADDRESS> to <IP_ADDRESS>.
After upgrade, the httpcontext can not get user's Identity from authorization token. I tried to call httpcontext.AuthenticateAsync() but got below errors:
{"Method not found: 'Void Microsoft.IdentityModel.JsonWebTokens.JwtTokenUtilities.ValidateTokenType(System.String, Microsoft.IdentityModel.Tokens.TokenValidationParameters)'."}

Hey @melionel!
ValidateTokenType() is an internal method that was moved to a different location, so this seems like something that could be caused by a versioning issue.
What ASP.NET Core authentication middleware are you using? JwtBearer?

Thanks for you hint @mafurman !
I finally realized that the issue was caused by mis-matched version of  System.IdentityModel.Tokens.Jwt. Everything goes fine after I upgrade this package from 5.6.0 to 6.8.0


Poor diagnostic message upon curl error

Good day.
Consider this piece of code of your SndGrid.php file:
class SendGrid {
.
.
.
  private function makeRequest($form) {
    $ch = curl_init();
.
.
.
    $response = curl_exec($ch);
    $error = curl_error($ch);
    if ($error) {
      throw new Exception($error);
    }
    curl_close($ch);
    return json_decode($response);
  }
.
.
.
}

... and consider this scenario:
Let's suppose for a moment that for whatever reason your servers at SendGrig.com are unreachable. Curl_exec will fail and the $error variable will contain a meaningful description of the error (such as "host unreachable", or so). This is because it is curl itself that is handling the error.
 But, let's suppose, I've typed a wrong username and/or password in my php code. Curl_exec will fail and your code will throw an exception with the value of the variable $error as human readable message. In this case I'm left with absolutely no hint about what really did happen because the variable $error contains simply the word "error" and nothing else.
De facto, the real source of information, the $response variable, which is containing valuable diagnostic information, is discarded.
My suggestion is to modify the code as follow:
Instead of
    $error = curl_error($ch);
    if ($error) {
      throw new Exception($error);
    }

we can use
    $error = curl_error($ch);
    if ($error && empty($response) ) {
        $response = json_encode((object)array( 'message' => $error ));
    }

In this way the call to makeRequest will return a $response that contain the word "success" or "error", along with additional error info, if any, while at the same time, handling the case of a "pure" curl error.
Regards

This is no longer an issue with the current version of the library.
Thank you for taking the time to report this with such detail, we appreciate it!


Remove query argument from PostgresCursor constructor

This will make it consistent with other Cursor classes.

Landed 4a7f27afcb8d34cb7cb15d9eeaf9302d38c9ddbb.


[FEATURE] Harvester CCM & Guest CSI Automatic Integration with RKE2 Provisoner

Is your feature request related to a problem? Please describe.
Both Harvester CCM & Guest CSI driver should install and configure by default when the user spins up a k8s cluster with the Harvester RKE2 node driver.
dependes on https://github.com/rancher/rancher/issues/33611
Describe the solution you'd like

[x] RKE2 Chart integration

[x] Add Harvester CCM chart @yaocw2020
[x] Add Guest CSI driver chart @gitlawr

[x] RKE2 integration @gitlawr

Add Harvester as a cloud-provider to the RKE2 kontainer driver metadata and update the RKE2 dockerfile integration

[x] Harvester API @yaocw2020

Support generating kubeconfig file for the guest k8s cluster based on cluster name and VM namespace

[x] UI integration: @n313893254

set the default cloud provider to the harvester
call the imported cluster API to get the generated kubeconfig file and set it to the cloud_provider_config

Notes: For the external harvester cluster, the user has to copy & paste the kubeconfig file manually to the Cloud Provider Config in order to use the CCM and guest CSI features.
Additional context
https://github.com/harvester/cloud-provider-harvester

dependency: https://github.com/harvester/harvester/pull/1061

Imported Harvester v0.3.0 cluster with RKE2 built-in cloud provider support has been validated in https://github.com/rancher/dashboard/issues/4208. Guest CSI driver will be validated in https://github.com/harvester/harvester/issues/580 . Close the issue as done.


Signature for genentropy

Issue
Currently, there are two signatures of genentropy: one where α comes first, and one where it does not. I kept the two different methods until now, because that gives a simple way of distinguishing  the following situtations:

the input data x is assumed to be a probability distribution (genentropy(α::Real, x::AbstractVector{<:Real}))
the input data  x is a time series (genentropy(x::AbstractVector{<:Real}, est::ProbabilitiesEstimator, α::Real = 1))
the input data  x is a multivariate dataset (genentropy(x::AbstractDataset, est::ProbabilitiesEstimator, α::Real = 1))

In cases 1 and 2, we feed a real-valued vector as the input, but depending on the context, these vectors need to be treated differently (for time series, probabilities must be estimated using some ProbabilitiesEstimator before entropy is computed, while for distributions, entropy is computed directly).
Potential solutions
Ways of handling this issue:

Make a type Probabilities(x::AbstractVector{<:Real}) that upon initialization imposes the constraint that sum(x)≈1. Then, let genentropy(x::Probabilities, α::Real = 1) compute the generalized entropy from the probability distribution.
Let it be understood that genentropy(x::AbstractVector{<:Real}, α::Real = 1) (without specifying an estimator) must accept a probability distribution (can check that sum(x)≈1 when calling the method).

The first one is explicit, which is good. The second one is implicit, but less complicated. Any thoughts or other ideas, @Datseris ?

Hm, I didn't think that one can also calculate entropies of timeseries (which of course is very sensible).
One alternative we can think is to make it clear that a Vector{<:Real} is always interpreted as propabilities, while we explicitly ask for a Dataset for creating the probabilities internally. Because you can do:
julia> using DelayEmbeddings
[ Info: Precompiling DelayEmbeddings [5732040d-69e3-5649-938a-b6b4f237613f]

julia> x = rand(100);

julia> Dataset(x)
1-dimensional Dataset{Float64} with 100 points
 0.5126666711034205
 0.06521583056795754
 0.6137510962398203
 0.5341628528740208
 0.2752026306298141
 0.6249955321959528
 0.7856641959831117
 0.8797252458010858
 0.270468889917612
 0.07992800484440665
 ⋮
 0.6502582211728329
 0.8196577679495427
 0.9775773210799241
 0.714683906560619
 0.7674182562195317
 0.49511619266301854
 0.11920886648049112
 0.7127445511279018
 0.06047678310618143

i.e. you can turn a vector into a  1D dataset. Is this okay, or you think it is too inconvenient to ask the user to make the timeseries into a dataset? For me personally I think it is fine.
I was thinking of making α a keyword argument by the way.

I'd vote against making a custom Probabilities type, I think it introduces complexity that we don't need, but most importantly we don't have to expose.

edit: thus I think I agree with your point 2. , and we simply add the recommendation to make your timeseries a Dataset if you want the entropy of a timeseries!

Based on our discussion on zoom, we decided on:

For probability distributions, we make a Probabilities struct that upon initialization checks that sum of input is 1. Then use genentropy(x::Probabilities; α::Real = 1). That leaves the door open for estimators that actually use weighted probabilities in future.
Good as is. Time series => do embedding.
Good as is. Dataset => apply estimator directly.

Instead of having keywords in functions, parameters should be part of estimator type.
probabilities function: returns probs ps directly, but wrap Probabilities(ps).

Done in #24.


[issue][improve] zookeeper connections monitor data

Fixes #9777
Motivation
The value of zookeeper_server_connections is incorrect when we open tls connection between client(broker、bookie) and zookeeper server
Modifications
when zkServer.getSecureServerCnxnFactory() not null ,will plus the connections and return
ServerCnxnFactory secCnxFactory = zkServer.getSecureServerCnxnFactory();
if (secCnxFactory != null) {
connections += secCnxFactory.getNumAliveConnections();
}
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations:(no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation

Does this pull request introduce a new feature?(no)

This fix is fine, though since we have moved to ZK 3.6, we should drop the existing way of gathering the ZK metrics using AOP interceptors and instead enable the supported Prometheus metrics that ZK provides.

@merlimat yes ,agree. I check the zookeeper state code ,it register a key with "num_alive_connections" ,and current AOP register a key with "zookeeper_server_connections",i think it can support export both 8000(current AOP style) and 7000 (zookeeper 3.6.x) next one or two release version ,then change the grafana template with num_alive_connections、watch_count、ephemerals_count..... and pulsar-zookeeper ZooKeeperStarter
============code of zookeeper 3.6.x=============
/**
* return the total number of client connections that are alive
* to this server
*/
public int getNumAliveConnections() {
int numAliveConnections = 0;
    if (serverCnxnFactory != null) {
        numAliveConnections += serverCnxnFactory.getNumAliveConnections();
    }

    if (secureServerCnxnFactory != null) {
        numAliveConnections += secureServerCnxnFactory.getNumAliveConnections();
    }

    return numAliveConnections;
}

can you please merge with current master in order to pick up recent GH actions improvements ?

@xiaotongwang1 thanks for your code work. For this PR, do we need to update docs?

@xiaotongwang1 thanks for your code work. For this PR, do we need to update docs?

No need  to update.

@xiaotongwang1 We have removed ZooKeeperServerAspect.java by https://github.com/apache/pulsar/pull/10533, I will close this issue first.


k3s fails to run some (large) docker images

Describe the bug
lsstsqre/sciplat-lab images will not work under k3s, at least under Centos 7.  I suspect this is some kind of maximum image size issue but I cannot find it documented.  They are very large images.
To Reproduce
kubectl run -it --image docker.io/lsstsqre/sciplat-lab:exp_d_2019_08_30_jlbleed test -- /bin/bash
This hangs.  If you then kubectl get pods you will see something like:
$ kubectl get pods
NAME                   READY   STATUS             RESTARTS   AGE
test-f6995b45b-k797n   0/1     CrashLoopBackOff   8          24m

If you describe the failing pod, you will see:
Error: failed to create containerd task: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"\": executable file not found in $PATH": unknown

This despite the fact that I am in fact specifying /bin/bash as the command to run, and it is in fact present in the image, as evinced by the fact that I can run the kubectl run command on non-k3s kubernetes installations.
Expected behavior
This kubectl run command should give me a shell prompt, like:
$ kubectl run -it --image docker.io/lsstsqre/sciplat-lab:exp_d_2019_08_30_jlbleed test -- /bin/bash
kubectl run --generator=deployment/apps.v1 is DEPRECATED and will be removed in a future version. Use kubectl run --generator=run-pod/v1 or kubectl create instead.
If you don't see a command prompt, try pressing enter.

[provisionator@test-f6995b45b-f555x tmp]$

Additional context
All the other images in my application work fine, but none of the sciplat-lab images do--I have a bunch of tags representing different builds.  They all fail the same way.  What makes this image unusual is that it is extremely large (7GB compressed on Docker Hub).

I am about to test on top of k3os, to determine whether this is a centos bug.  I'm using centos 7 fully patched and k3s latest, which at the time of writing is 0.8.1.

Identical behavior on a clean k3os install in a VirtualBox machine locally, while a different (and smaller) image (in this case lsstsqre/sciplat-hub) works fine.
I think it's a maximum container size limitation of some kind.

docker run -it --rm lsstsqre/sciplat-lab:exp_d_2019_08_29_jlbleed /bin/bash works on a centos host that exhibits this behavior under k3s.

This appears to be because the image has no ENTRYPOINT defined.
root🐮k3s-1:~$ k3s crictl images
IMAGE                            TAG                        IMAGE ID            SIZE
docker.io/coredns/coredns        1.3.0                      2ee68ed074c6e       12.3MB
docker.io/library/traefik        1.7.12                     18471c10e6e4b       20.4MB
docker.io/lsstsqre/sciplat-lab   exp_d_2019_08_30_jlbleed   eeb0e4a41a5ef       6.82GB
docker.io/rancher/klipper-helm   v0.1.5                     c1e4f72eb6760       27.1MB
docker.io/rancher/klipper-lb     v0.1.1                     4a065d8dfa588       2.71MB
k8s.gcr.io/pause                 3.1                        da86e6ba6ca19       317kB

root🐮k3s-1:~$ k3s crictl inspecti 2ee68ed074c6e | grep ENTRYPOINT
          "created_by": "/bin/sh -c #(nop)  ENTRYPOINT [\"/coredns\"]",

root🐮k3s-1:~$ k3s crictl inspecti eeb0e4a41a5ef | grep ENTRYPOINT

root🐮k3s-1:~$ k3s ctr run -t --rm docker.io/lsstsqre/sciplat-lab:exp_d_2019_08_30_jlbleed test /bin/bash
Welcome to the LSST Science Platform Notebook Aspect.

Find useful documentation for the software and Notebook Aspect at:
        https://pipelines.lsst.io
        https://nb.lsst.io

The LSST Science Pipelines environment is in:

        /opt/lsst/software/stack

If you want to add your own configuration to LSST environment startup in the
LSST iPython kernel, create a sourceable shell fragment in:

        ${HOME}/notebooks/.user_setups

and it will be sourced during kernel startup.

To create an LSST environment in a terminal session and set up the full set of packages:

        source /opt/lsst/software/stack/loadLSST.bash
        setup lsst_distrib

virtualenvwrapper.user_scripts creating /home/provisionator/.virtualenvs/premkproject
virtualenvwrapper.user_scripts creating /home/provisionator/.virtualenvs/postmkproject
virtualenvwrapper.user_scripts creating /home/provisionator/.virtualenvs/initialize
virtualenvwrapper.user_scripts creating /home/provisionator/.virtualenvs/premkvirtualenv
virtualenvwrapper.user_scripts creating /home/provisionator/.virtualenvs/postmkvirtualenv
virtualenvwrapper.user_scripts creating /home/provisionator/.virtualenvs/prermvirtualenv
virtualenvwrapper.user_scripts creating /home/provisionator/.virtualenvs/postrmvirtualenv
virtualenvwrapper.user_scripts creating /home/provisionator/.virtualenvs/predeactivate
virtualenvwrapper.user_scripts creating /home/provisionator/.virtualenvs/postdeactivate
virtualenvwrapper.user_scripts creating /home/provisionator/.virtualenvs/preactivate
virtualenvwrapper.user_scripts creating /home/provisionator/.virtualenvs/postactivate
virtualenvwrapper.user_scripts creating /home/provisionator/.virtualenvs/get_env_details
[provisionator@k3s-1 tmp]$ exit

root🐮k3s-1:~$ k3s ctr run -t --rm docker.io/lsstsqre/sciplat-lab:exp_d_2019_08_30_jlbleed test
ctr: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"\": executable file not found in $PATH": unknown

So it looks like you need to add the --command flag to kubectl run since no ENTRYPOINT is defined:
root🐮k3s-1:~$ kubectl run --generator=run-pod/v1 -it --rm --image docker.io/lsstsqre/sciplat-lab:exp_d_2019_08_30_jlbleed tests --command -- /bin/bash
If you don't see a command prompt, try pressing enter.
[provisionator@tests tmp]$ exit
Session ended, resume using 'kubectl attach tests -c tests -i -t' command when the pod is running
pod "tests" deleted

From kubectl run --help: --command=false: If true and extra arguments are present, use them as the 'command' field in the container, rather than the 'args' field which is the default.

Thanks.  That works for me too.


added " " to avoid warning on safari

Have you confirmed that it doesn't break any versions of old IE? I think it was intentional.

Duplicate of #5353, #5066, #4977, #4122. Rejected for the same reasons.


Fix expr

expr now detects overflows and logs to stderr instead of overflowing the
input
Fixes https://github.com/uutils/coreutils/issues/1194

Thanks :)


Taxonomic info in file location information doesn't match ena information in a few instances

I downloaded all non-K. pneumoniae Klebsiella data from v0.1.
I used the equivalent of the v0.2 species_calls.tsv.gz file to identify all Klebsiella. I then stripped out the species I didn't want, and downloaded the assemblies I wanted. FastANI was run against all genomes using Klebsiella type strain genomes as references to confirm species affiliations (using >95 % cut-off). Had some data with <85 % ANI or no matches with authentic Klebsiella spp. Looked into this further - some of the taxonomic assignments in species_calls.tsv.gz don't match the ena metadata. I've confirmed the ena assignments are correct with ribosomal MLST (PubMLST) on the genomes listed below.
species_calls.tsv.gv info v0.2
SAMD00492919    Klebsiella ornithinolytica      T
SAMEA103954665  Klebsiella michiganensis        T
SAMEA5613687    Klebsiella oxytoca      T
SAMN16233133    Klebsiella ornithinolytica      T

ena_metadata.tsv.gz info
sample_accession	scientific_name
SAMD00492919	Pseudomonas nitroreducens
SAMEA103954665	Bradyrhizobium sp. OTU1
SAMEA5613687	Salininema proteolyticum
SAMN16233133	Enterobacter cloacae

You may need to check at minimum genus names assigned in the species call file match the ena designation, then manually curate conflicting calls.

Ignore this post. Apologies, not sure why I posted here as this issue needs to be directed at AllTheBacteria.


Calculate Body Mass Index

Here the time complexity I implement is O(n)
from this equation of linear time complexity => T=a*n + b

All of them were great implementation, stay tuned for the next video session to see how you will present the solutions


extract offset variable from parser

The parser has a messy interaction with a global, offset, which seems unnecessary. We could pass this in as a parameter or simply calculate this when the model is eventually constructed. This would make the parser thread safe again.

It turns out this isn't so easy to do because ExprIDs work by encountering their referent VarDecl in the symbol table and taking a copy of it. That is, the offset needs to be correct when a VarDecl is registered in the symbol table or otherwise an ExprID will emit code with the offset 0.


Update Input with Icon to follow Material Spec.

As you can see, the spec has a 20dp spacing between the icon, and the input. I added $input-icon-right-space to allow this to be customized and defaulted it to the 20dp in the spec.

Link to the spec:
https://material.io/guidelines/components/text-fields.html#text-fields-single-line-text-field

Let me know if you want a different variable name.

Cool, thanks!


Make it possible to compile on vanilla Android

See https://github.com/Koenkk/zigbee2mqtt/issues/1861
Adding support for Android and default -fPIC not -fPIE make serial port working on Android + Termux ( https://play.google.com/store/apps/details?id=com.termux )

Thank you!!!
Now no need to patch the code to get it working


Remove conditional Active Record 7 code

Since support for active record < 7 was removed, these checks are not needed.

Hi @fatkodima, thanks for the PR. I'd prefer to keep the check in lib for now since the gemspec (purposefully) doesn't enforce the version requirement.

Given that this gem is not so much popular, like rails, for example, and that these versions are not tested by CI, what is the reasoning? I think gemspec can simply enforce the requirement.
Can you also answer https://github.com/ankane/ownership/issues/9 ? Because from it depends whether this gem can be used for my case or I should write my own.

The gem doesn't depend on Rails, so it's not in the gemspec. Merged the test changes in the commit above.


Add flag for xml report

I've used xmlreport.py from coverage.py  as a base to add an XML support in slipcover (Cobertura-style format).
This resolves #6

Please check failure (ubuntu-latest, pypy-3.9).

Please check failure (ubuntu-latest, pypy-3.9).

I think this issue was present before this PR...

The test-build-from-source job is failing because there is no such directory starting with pp39 in manylinux container
https://github.com/plasma-umass/slipcover/blob/c8f923d2b4237d0dcabef84c178ff827b1fd0163/.github/workflows/tests.yml#L79
Maybe change to cp39?

The test-build-from-source job is failing because there is no such directory starting with pp39 in manylinux container
https://github.com/plasma-umass/slipcover/blob/c8f923d2b4237d0dcabef84c178ff827b1fd0163/.github/workflows/tests.yml#L79

Huh, it worked for me last week...  https://github.com/plasma-umass/slipcover/actions/runs/11534857119/job/32109329650
But yes, it's a different container digest, and it looks like they moved to PyPy 3.10, deleting 3.9.

Maybe change to cp39?

Well, the point is to test building with PyPy.  Let's see if SlipCover works with PyPy 3.10...

Huh, it worked for me last week... https://github.com/plasma-umass/slipcover/actions/runs/11534857119/job/32109329650

Looks like they dropped support for it 2 days ago
https://github.com/pypa/manylinux/issues/1680

Looks like they dropped support for it 2 days ago pypa/manylinux#1680

Yup. We have tests failing with pypy 3.10...  I'll look into that tomorrow.

Yup. We have tests failing with pypy 3.10... I'll look into that tomorrow.

Oh well, PyPy 3.10 implements its own line table format, different from cpython 3.9, cpython 3.10
and cpython 3.11.  I implemented it, hopefully that will work now.

Could you please create a new release in PyPI? 👀

Could you please create a new release in PyPI? 👀

It should be out momentarily.  Sorry about the wait.


[Bug]: Terraform import snowflake_function Error: object does not exist

Terraform CLI Version
1.5.7
Terraform Provider Version
0.95.0
Terraform Configuration
When I follow the docs https://registry.terraform.io/providers/Snowflake-Labs/snowflake/0.95.0/docs/resources/function#import
to import a snowflake_function resource, I get an error after the Import was prepared that the object does not exist. This doesn't help resolve the issue in anyway and I am stuck.

resource "snowflake_function" "flatten_ga_params" {
  name     = "flatten_ga_params"
  provider = snowflake.sys_admin
  database = "LANDING"
  schema   = "GA"
  arguments {
    name = "E"
    type = "VARIANT"
  }
  comment     = "Function to flatten GA4 event params"
  return_type = "VARIANT"
  language    = "javascript"
  statement   = "function code here"
}

Import statement: terraform import snowflake_function.flatten_ga_params 'LANDING.GA.flatten_ga_params(variant)'

Category
category:import
Object type(s)
No response
Expected Behavior
I expect this resource to be imported into the statefile.
Actual Behavior
Import is prepared but Error: object does not exist is returned
Steps to Reproduce
Copy the configuration and run the import provided.
How much impact is this issue causing?
Medium
Logs
No response
Additional Information
No response
Would you like to implement a fix?

[ ] Yeah, I'll take it 😎

Hi @mike-soukup-vividseats 👋
I can't reproduce this issue. Could you share logs with TF_LOG=DEBUG? Also, can you confirm in Snowsight that DESCRIBE FUNCTION "LANDING"."GA"."flatten_ga_params"(VARCHAR) returns the function you want to import?

Hi @sfc-gh-jmichalak I can confirm that the function does exist in Snowflake. I validated the id from an old statefile to be this:
""LANDING"."GA"."flatten_ga_params"(VARIANT)"
But even this throws the same error when I try to import it. Due to some sensitive info, I do not wish to share the debug logs.
Can you give more context where this error message would come from? Can you validate the terraform import syntax is correct?

I think that the name in Snowflake is upper case, but you try importing with lower case (flatten_ga_params). Please try importing with upper case. In Terraform case is sensitive.

Well, I was skeptical, but that worked!
terraform import 'snowflake_function.flatten_ga_params' ""LANDING"."GA"."FLATTEN_GA_PARAMS"(VARIANT)"
Capitalizing the function name led to a successful import!

Cool, can we close this issue, then?

Closing the issue due to inactivity.


update docstrings for AnalyzeActions

solves #17807

Actually, nevermind about

Also, looks like all the xxActionResult types need some docstring work for both the class and the properties.
For example: https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/textanalytics/Azure.AI.TextAnalytics/src/ExtractKeyPhrasesActionResult.cs#L12

I am making a change in those classes so I can update the docstrings


Show Debug line & Editor's Breakpoint

Hi !
I am adding an hightlight of current running line (in xml editor, and code visualization too).
I also integrate the debug breakpoint (red circle) into xml editor

My work is not perfect, but I think it add a little bit more understandability, and it adds more fun, I think.

Nice work, I'll take a look later today

It would be nice if the breakpoint from visualization and XML editor is synced (the breakpoint from XML editor isn't working for me)

You're wrong, Yu.
It is actually working, but if put a breakpoint on a rule under sequence, it might be there for a while during the rule loop.
Can you put a debug breakpoint on the last child of a markov ?

these commits are included in #7


why acc can not reach at 93%

acc can't reach at 93.%;this code i have run two times,i don't change any parameters.

Thanks for your message. I will check the code recently.

acc can't reach at 93.%;this code i have run two times,i don't change any parameters.

Thanks for your message. I will check the code recently.

@KuangenZhang Hi,I run the baseline,and I got the result of 92.2%

@KuangenZhang Hi,I run the baseline,and I got the result of 92.2%

@KuangenZhang Hi,I run the baseline,and I got the result of 92.2%

Hi, I will run  the  code  again and check this issue. However, it is possible that the accuracy varies sometimes, and you can  try  to  run  the train.py for several  times.

Thanks for your reply and the sharing of the code.Thanks!

@KuangenZhang Hi,I run the baseline,and I got the result of 92.2%

Hi, I will run  the  code  again and check this issue. However, it is possible that the accuracy varies sometimes, and you can  try  to  run  the train.py for several  times.
Thanks for your reply and the sharing of the code.Thanks!

@grxiao @Yuquan-Lu
Hi, I have run the code again and shown the results in the above picture. The highest classification accuracy is 92.73%. The accuracy does vary around 92.5%. If you try to run the train.py for 3 to 4 times, you may get a satisfying training result.

@Yuquan-Lu @grxiao

@Yuquan-Lu @grxiao
Moreover, I changed the batch_size to 16, which seems to increase the stability of the training result.

thanks！

@grxiao @Yuquan-Lu
Hi, I have run the code again and shown the results in the above picture. The highest classification accuracy is 92.73%. The accuracy does vary around 92.5%. If you try to run the train.py for 3 to 4 times, you may get a satisfying training result.

I am very grateful for your reply, I will repeat the experiment several times.


Change RPC, increase blocks in filter, remove redundant code

What I did:
1 - I changed the RPC to ethLlama, got down to 10s load time
2 - I remove redundant bindings
3 - I filter through 5k blocks instead of 1k, improves speed since async function gets called less

Closes:
https://github.com/GetAlluo/decentralised-app/pull/267
Addresses:
https://github.com/GetAlluo/decentralised-app/issues/262

PR feels faster on the home page indeed.
However, the boosted farms seems to not run, there are no error in the console.
Here is quick video showing what is going on
https://www.loom.com/share/151b6e8044ef4b468c25103af3e0121e


Update sorting logic

Resolve #463 - Update sorting logic
Fix #625 - Sync sorting state

Ascending sort puts favorite characters last

Ascending sort puts favorite characters last, I assume they should still be coming first?

You are right. added a way for "new"/"favorite" to bypass asending/desending


the value of IPT M？

Hi, what is the value of the matrix IPT M?

Hi, we calculated the parameters for the inverse perspective transform by observation. As in selecting four coordinates from the original image which should match with the corners of the resultant image. Therefore IPT parameters are not based on camera intrinsic parameters.


cityworks.configure is not a function

Hi Walker!
Commenting here so that the issue is attached to the repo.
When I run:
var cityworks = require('cityworks');
cityworks.configure('my.cityworks.domain')

I get the error cityworks.configure is not a function
I've tried this both in Twilio Functions but also as a standalone JS module and the error is the same.
I think the issue might be due to the fact that cityworks.d.ts is empty. This is the module that is exported by index.d.ts.
In looking at the src/cityworks file line #54 it looks like module.exports is being used and that's throwing microbundle for a loop.
Stopping before I go too far into microbundle configuration just to check if you think this is the problem. If we can get the export working I don't think there will be an issue using this with Twilio Serverless.
Charlie

This was an issue with the docs and was fixed in Commit: 2a36264ed919f39492ae7f3bd7b1358bce01c42e


Pin<EMAIL_ADDRESS>

What is this PR doing?
Pin<EMAIL_ADDRESS>How can these changes be manually tested?
CI test & previously by testing in https://github.com/web3well/bls-wallet/pull/367
Does this PR resolve or contribute to any issues?
n/a
Checklist

[x] I have manually tested these changes
[x] Post a link to the PR in the group chat

Guidelines

If your PR is not ready, mark it as a draft
The resolve conversation button is for reviewers, not authors

(But add a 'done' comment or similar)

Merge at will once approved


OS_TESTS.jmx fix for Windows

There is a fix for OS_TESTS.jmx for Windows

Codecov Report

Merging #318 into trunk will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              trunk     #318   +/-   ##
=========================================
  Coverage     57.56%   57.56%
  Complexity     9835     9835
=========================================
  Files          1136     1136
  Lines         72860    72860
  Branches       7294     7294
=========================================
  Hits          41939    41939
  Misses        28454    28454
  Partials       2467     2467

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 833d53f...6e83f7e. Read the comment docs.

Merged, thank you !

Glad to know. Thank you.


Coding style

To keep the same formatting across the entire project and multiple users project can use .editorconfig file. I never worked with Clnag Tidy file but looks similar. editorconfig can define code style settings which will be associated with a codebase rather than a Visual Studio personal account. To read more more about code styles in VS 2017 follow this link
ReSharper is also able to work with defined .editorconfig file. But it looks like ReSharper have broader range of checks than default config file.
Choices are:

editorconfig is included in project but it replaces checks done by ReSharper
rely on ReShaper to do code consistence checks, but there are people who does not have RS installed.

Let me know what do you think.
Related #98

I guess I can export what I have set to the file.  Then we can be on the same settings. And I guess you guys can tweak it if needed.

Sounds fair.

#169 contains ‘editorconfig’ file. I’m closing this PR.


[10.x] Include partitioned tables on PostgreSQL when retrieving tables

Fixes #49321 by including partitioned tables on Schema::getTables().
Fixes orchestral/testbench#388 by simply rescue compiling the query as some legacy SQLite versions doesn't support pragma_compile_options.

Thanks @hafezdivandari!


Added source location for kube-up.sh

https://kubernetes.io/docs/tasks/tools/install-kubectl/#verifying-kubectl-configuration
In the above section, kube-up.sh doesn't have any reference to the source file. Added the github location for this file.

/approve

Thanks @hpandeycodeit!
/lgtm
/approve

@remyleone Can you check the french content?

@raelga LGTM

/approve
(from the EN side)


briefcase icon

I dont know if you prefer to keep all on same issue, or open new issue for every request, but a briefcase icon is a must too, again, im using your library on a personal project to train my front end skills and is keeping beautiful
https://icon-sets.iconify.design/mdi/briefcase/

Added to dev branch, will be added to main repo tomorrow.

perfect, ty so much
how hard is too make this icons? i could help making some PR for missing icons based on MDI icons

It isn't simple. In MDI all icons use fill, so icons aren't usable. Each icon needs to be redesigned to make sure it uses stroke, which can then be animated.
When designing icon, I need to make sure stroke starts and ends at points where I want to start/end animation, so often icons need to be designed not as closed shapes, but open ones and manually adjusted. This requires knowledge of path commands.
Animations are added manually. There aren't any tools for animating icons. Animating stroke requires calculating path length, though I do have script that does it automatically, it still needs to be added manually.
I've been considering making something to help animate icons, but that would require massive amount of work and there is very little demand for that, so I don't think making any tools for animation is feasible.

Thanks!
Just added about 30 more icons for map category, so category wouldn't be so small.


Implementing grad-cam in models that use dropout

Hey,
I'm attempting to implement grad-cam into my project, which uses a different architecture than VGG16. The model, which has just two convolutional blocks (see here under MiniVGGNet), uses dropout to combat overfitting. Note that this model still uses Theano; I'm moving to TensorFlow now.
Now, if I've understood correctly, Keras must be told whether to operate in training (include dropout) or testing (exclude dropout) mode, as Francois Chollet describes here.
I've therefore included K.learning_phase (which has been set to zero, that is, testing mode) into the gradient function in grad-cam:
gradient_function = K.function([model.layers[0].input, K.learning_phase()], [conv_output, grads])
output, grads_val = gradient_function([image, K.learning_phase()])

This, however, returns the following error:
Traceback (most recent call last):
File "grad-cam-debug.py", line 90, in <module>
cam  = grad_cam(model, preprocessed_input, predicted_class, "maxpooling2d_2")
File "grad-cam-debug.py", line 58, in grad_cam
output, grads_val = gradient_function([image, K.learning_phase()])
File "/Users/tuomo/.virtualenvs/keras-tf/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py", line 1040, in __call__
updated = session.run(self.outputs + [self.updates_op], feed_dict=feed_dict)
File "/Users/tuomo/.virtualenvs/keras-tf/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 717, in run
run_metadata_ptr)
File "/Users/tuomo/.virtualenvs/keras-tf/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 872, in _run
+ e.args[0])
TypeError: Cannot interpret feed_dict key as Tensor: Can not convert a int into a Tensor.

Any idea what might be the issue here?

When calling gradient_function, the actual learning phase should be a scalar.
Please try changing the line
output, grads_val = gradient_function([image, K.learning_phase()])
To:
output, grads_val = gradient_function([image, 0])
Does that work?

Hi,
output, grads_val = gradient_function([image, 0])

returns the same error message:
Traceback (most recent call last):
File "grad-cam-debug.py", line 90, in <module>
cam  = grad_cam(model, preprocessed_input, predicted_class, "maxpooling2d_2")
File "grad-cam-debug.py", line 58, in grad_cam
output, grads_val = gradient_function([image, 0])
File "/Users/tuomo/.virtualenvs/keras-tf/lib/python2.7/site-packages/keras/backend/tensorflow_backend.py", line 1040, in __call__
updated = session.run(self.outputs + [self.updates_op], feed_dict=feed_dict)
File "/Users/tuomo/.virtualenvs/keras-tf/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 717, in run
run_metadata_ptr)
File "/Users/tuomo/.virtualenvs/keras-tf/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 872, in _run
+ e.args[0])
TypeError: Cannot interpret feed_dict key as Tensor: Can not convert a int into a Tensor.

I guess the full code would be more helpful here; I commit it to my repo (thanks for the suggestion by the way!) tomorrow.

@thiippal You should check your code carefully. I have run this code, and it works well.

@jf003320018 Which code are you referring to?
@jacobgil I've added the full code for grad-cam on this branch.

I took a look at the branch above (only runned with dummy weights since there were no tensorflow format weights).
The problem seems to be the K.set_learning_phase(0) line. Drop that line and it should be ok.
Also in the branch you shared there are a few dimension problems, it seems that MiniVGGNet were called with wrong parameters (150, 150, 3, 3) instead of (3, 150, 150, 3).
Also replace instances of 224 with 150.

Traditionally, dropout do not used for convolutional and pooling layers. So it is not needed to use K.set_learning_phase in the code.

Hi @jacobgil, unfortunately the cam branch was behind a few commits, so the TensorFlow weights were missing. I also did not get far enough to resize the images from the canonical ImageNet size, but thanks for pointing that out!
Removing K.set_learning_phase(0) helped, and the script now works with my model and weights.
The output, however, is quite interesting: most images produce a class activation map with red colour only, such as the one below:

Another image, in turn, seems to be working well, as passing different values to the category_index variable produces different kinds of activation maps.

My up-to-date code may be found here ... thanks for your support & patience!

The issue seems to be the preprocessing of the image.
Looks like your model was trained on pixels in the range [0, 1], but the images fed were in the range [0, 255].
Change  load_image to something like this, and multiply by 255 when used for visualizing:
def load_image(path):     original = keras.preprocessing.image.load_img(path, target_size=(150, 150))  # Load image and resize to 150x150     array = img_to_array(original, dim_ordering='tf')  # Convert image to numpy array     normalized = array.astype("float") / 255.0  # Normalize the array into range 0...1     reshaped = np.expand_dims(normalized, axis=0)  # Reshape for input for CNN         return reshaped
An example output i'm getting looks like this:

Btw what are the 3 categories in the output?

Hi Jacob,
thanks – should have figured that out: I faced & solved the same issue when originally using your CAM implementation. Now the script returns completely (well perhaps always not so) sensible results. :-)
The three classes correspond to T-72 tanks, BMP APCs and 'other', i.e. street and countryside scenes without none of the aforementioned classes.
I think this issue can be closed now. Hope this will help someone else implementing Grad-CAM ... thanks for your support!

Thanks a lot, @jacobgil . you answer:

When calling gradient_function, the actual learning phase should be a scalar.
Please try changing the line
output, grads_val = gradient_function([image, K.learning_phase()])
To:
output, grads_val = gradient_function([image, 0])
Does that work?

is ok, and helped me in my code:

iterate = K.function([input_img, K.learning_phase()], [loss, grads])
loss_value, grads_value = iterate([input_img_data, 1])


Make the bot less spammy

This bot keeps spamming the same issues. perhaps it should mark issues as stale only after a contributor to the project has left a comment, because otherwise it marks as stale issues for which no action has been taken and no additional information has been requested by the maintainer.
Here's an example
https://github.com/telegramdesktop/tdesktop/issues/7691
It's rather annoying to see spam messages from the bot and risk getting the issue closed with no resolution if I don't take the time to add a comment.

Add a pinned label. This is not a probot issue, but an issue with the stale app, so I'm going to move the issue over there


d20190409_ANJILELI has compressed data

Probably shift to using the summary file instead of raw files–which are so slow and enormous. Then compress all the raw files. Need to remove bad data (post April 2017) from summary file, saving a backup.


Strange cuda behavior after require 'cv'

Hi,
I'm working on a program that combines opencv and another c lib which heavily relies on cuda and is wrapped to torch too. I observed that when requiring 'cv' in lua then my other c lib stops working.  This lib stops when calling cudaMalloc. Basically the function cudaMalloc never returns. do you have an idea whats going on there?
Code example:
local cv = require 'cv'
myCudaClib.cudaMalloc(bytes)
And the c code of myCudaClib.cudaMalloc is basically:
cudaSafeCall( cudaMalloc(&data_, sizeBytes_) );
If I remove the line "local cv = require 'cv'" everything works fine, otherwise " cudaSafeCall( cudaMalloc(&data_, sizeBytes_) );" never returns.
Thank you for your ideas!
Christof

Hi!
What happens if you:

try waiting for, say, 5 minutes? Does it eventually return?
put cudaFree(0) there instead of cudaMalloc?
require 'cutorch' instead of 'cv'?

require 'cv' shouldn't be the reason. init.lua doesn't mention CUDA (well, almost).

Hi shrubb,

After 6 minutes of waiting I cancelled the prgoram. So it does not return even after a long time
cudaFree(0) does not return as well
If I put 'cutorch' everything works fine.

Hmm... Quite strange.... Unfortunately I'm not very experienced with CUDA :-(
So ideas are always welcomed
Christof

Hi,
I found out that I linked to two different versions of opencv. your torch-opencv linked against 3.1 and my C lib against 2.4.12. I re-compiled the other C lib to work with 3.1 too. Now, the cuda malloc returns after approx. 30 seconds. Which is good but a way too long.
Any idea on that?
Christof

Found this: https://devtalk.nvidia.com/default/topic/696488/first-cuda-function-call-very-slow-more-than-a-minute-on-gtx-680-only/?offset=4
during this 30 seconds i've 100% CPU load. Maybe is the processing doing the JIT compilation for CUDA?

Hm, probably no.
I've already seen such problems (first CUDA API call would hang for a couple of minutes). What solved it for me was the solution described here. Tell me if this helps. Do make sure that your compute capability matches that of the device!

Yes! This solved my problem... Thanks!

Well, no, it's built precisely for single architecture, so if it's wrong, the context initialization step takes forever. But I don't know why does it happen in turn.


Change check NotInheritedAttribute

Change check InheritedAttribute for classes BaseB and DerivedB to check NotInheritedAttribute

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: AlexandrTsvetkov sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Thank you for your suggestion @rpetrusha . Unfortunately, I don't use Visual Basic and it will be much more better, if you fix it by yourself.

Thanks again for opening this issue and correcting the C# code, @AlexandrTsvetkov, and thanks for correcting the VB code, @BillWagner. We'll merge your PR now. The changes should appear live on docs.microsoft.com in the next day or two.


Update CHANGES.md

Thanks! 😄

Awesome. @katspaugh can we have a new release (with release date in changelog)?

Released 1.2.1.


[WIP][BUG 1879424]: update stage pod running check and add destination stage pod check

This PR

updates if the stage pod is healthy by first checking if
all containers are ready. The pod can go into Running phase but one
or more containers can be unready, which is now eliminated

adds a check on destination stage pods, if during restore,
stage pods are not ready, Restic will fail after a timeout.
This eliminates the way by failing faster

I haven't tested this yet, will do it tonight

\test all

@alaypatel07 I don't think mig-controller creates stage pods on destination at all. They are part of Velero backup itself, the stage pods get recreated on destination from the Restore

@pranavgaikwad The controller doesn't directly create destination stage pods, but failing stage pods can still stall or fail a migration. Since there's not a separate "stage pod creation" step, though -- they're created during the StageRestoreCreated phase, which is fine as long as we're certain that the conditions for which we fail on stage pods aren't triggered during a transient not-yet-ready stage of the migration. That would require some testing to verify. For example, is it possible that the PVCs are pending for a small slice of time before the pod is running? If so, could that trigger this failure? There is the potential for a race condition that would fail migrations in hard-to-reproduce ways if we're not careful with this.


Spyder Network Interruptions

From<EMAIL_ADDRESS>on 2013-10-14T21:39:04Z
Please note that reporting bugs from Spyder's help menu ("?" > "Report
issue...") will fill version details for Spyder, Python and Qt in this description for you.
What steps will reproduce the problem?

Starting Spyder on a Windows platform while using wireless. What is the expected output? What do you see instead? Expected output is normal operation of network services. Said services suffer occasional interruption. What version of the product are you using? On what operating system? Latest as provided by Python(x,y)

Please provide any additional information below
. Traced problem to a thread that Spyder was running: "wlanapi". Why does Spyder need wireless networking access? Is it snooping channels without user permissions?
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1607

From ccordoba12 on 2014-10-29T09:55:17Z
We just need to open sockets for interprocess communication.
Status: WontFix

From<EMAIL_ADDRESS>on 2014-10-29T16:04:20Z
It's been over a year, the problem still persists with intermittent network interruptions due to the access of 'wlanapi'.

From ccordoba12 on 2014-10-31T11:27:20Z
Sorry about the problems but we don't access wlanapi directly. Maybe it's an issue with Python and its sockets implementation.
It's really out of our hands...

Another occurrence on my side. I have two machines and oddly it's only happening on one machine. What is happening is that while Spyder is running, the program triggers the WiFi network scan every 10 seconds, and that causes large spikes ~800ms. Process Monitor is showing that the main python.exe instance is polling several things including HKLM\SYSTEM\CurrentControlSet\services\TCPIP and TCPIP6 \Interfaces and triggering WiFi network scans.


refactor(ast_codegen): reorder imports

#4709  👈
main

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

Join @overlookmotel and the rest of your teammates on  Graphite


bug: return.5

// standard 10.0.2
standard --fix --stdin <goof.js
// contents of goof.js
function goof() {
return.5
}
...becomes...
function goof() {
return0.5
}

It seems like you have written return.5 (notice the dot), this does indeed return 0.5 when being run.

Did you mean to write:
function goof () {
  return 5
}

No, the example is return.5 which does indeed return 0.5.
But standard reforms the statement to return0.5 which is a bug, since return0 is undefined and u.5 (for undefined u) is a syntax error.

This should be filed upstream to ESLint... but, return.5... JS,  honestly.

Ah, my bad, sorry about that :)

This was fixed in https://github.com/eslint/eslint/commit/275414198a41368438478b3c046e4bc762e2614b.

In my defense, it wasn't my JS code.  I was using standard to make the horribly formatted code legible.  Because... standard rocks!
Thanks for fixing the bug.  /hugs


replace compile() with implementation()

This replaces the deprecated compile() with implementation() and succeeds the build on cordova-android 11.0.0 and above

Thanks for sending a PR! We're currently in the process of releasing a new version of our app (still using cordova-android 10) so right now we don't have time to review and test this change. We'll try to review the PR (and hopefully integrate it) in a few weeks.

@dpalou The change isn't harful even for cordova-android 10 as the compile() method has been deprecated for long time, so using the implementation() method is also acceptable and even recommended with cordova-android 10 and earlier versions.

I confirmed our app compiles fine with this change. Thank you @angjelkom for your contribution!


Example of

The list rendering page provides following example for <template v-for>:

  <template v-for="item in items">

{{ item.msg }}

  </template>

At the same time the components page says:

Another consequence is that you can not use custom tags (including custom elements and special tags like <component>, <template> and <partial>) inside of ul, select, table and other elements with similar restrictions. Custom tags will be hoisted out and thus not render properly.

This is confusing. Is the example valid? If yes, how should one understand the text about special tags?

The note about <template> is semi-valid.

By the standard <template> can appear anywhere, and can contain the tags that the template parent can contain, so the example is valid.
Some browsers don't quite follow the spec, and hoist the <template>. This is why we don't recommend to use template inside content-constraining tags.
By the standard
 can only contain
, but I don't know any browser that actually hoists non-
 elements from inside the
.

Note that Vue 2.0 will use custom parser instead of browser builtin one, so for non-DOM-based templates (template: '

', template: require('./index.html') and single-file components) this quirks will not be an issue.

I guess ul should be removed from the list in the note to adhere to the de facto behavior.

Just fixed this in f9461d0b3ab3e9baa112fffc0469cd1611e1495a.


#175. 'completionBlock' deprecated property has been removed.

No more warning there.

Thanks! Merging and closing.


rate limits

I have problems with the discogs api
they need throttle
This should be build into delayed_jobs
I'd like to enhace delayed_jobs
to add rate limiting
I'd like to configure max requests/second
and delayed_jobs should take care of that
This should be per queue
and also respecting that for reissuing jobs

DJ is designed to work though jobs as fast as it can. Rate limiting is not part of the architecture. To do what you want, you could track an external rate limit and when the job starts check if the rate limit would be exceeded. If it would be exceeded re-queue the job with a run_at time after the rate limit would expire.


add integration topology test

This request is related to #2936, which was accidentally closed.

ship after ci pass


Same architecture diagram twice?

Hi,
Why do we have this same architecture diagram twice on this page?
https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/hana-vm-operations

best regards,
Salppa

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

ID: 98b3d8f3-4639-aa5f-d0ca-9a41170dd0cf
Version Independent ID: 3ce38d97-3717-9e25-2082-f6597cc6e387
Content: SAP HANA infrastructure configurations and operations on Azure
Content Source: articles/virtual-machines/workloads/sap/hana-vm-operations.md
Service: virtual-machines-linux
GitHub Login: @msjuergent
Microsoft Alias: juergent

@salppa
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@msjuergent
Can you please check and add your comments on this doc update request as applicable.

Thanks for your feedback! We've updated this doc to remove the duplicate image. #please-close