initial value and big endian start bit problem.

hi,
My Requirement:
I am converting DBC to Excel, according to candbc++ editor excel format using python 3.9.
cantools latest version:
Problem 1:
big endian start bit is different from as it present in vector Candbc++ editor.
Problem 2:
i am getting initial value from cantools as NONE , but initial value present in dbc and visible in  vector Candbc++ editor.

Problem 1 is not a problem. CANdb++ in its standard setting will display the start of a signal different from what the representation in the dbc file looks like. You can go into the settings and inspect the options there, but I would not recommend changing.

// Little endian
//   DBC     Startbit  : Bit numbering -> LSB0, Reference bit -> LSB
//   CANdb++ Startbit  : Bit numbering -> LSB0, Reference bit -> LSB

// Big endian
//   DBC     Startbit  : Bit numbering -> LSB0, Reference bit -> MSB
//   CANdb++ Startbit  : Bit numbering -> LSB0, Reference bit -> LSB

// Convert bit numbering (both ways)
// b = b - (b % 8) + 7 - (b % 8)

// Convert reference bit LSB to MSB (when bit numbering is MSB0)
// b = b + 1 - length

// Convert reference bit MSB to LSB (when bit numbering is MSB0)
// b = b + length - 1

For problem 2: Some code and a dbc would probably required to help.

hi
Thanks for information for problem 1 .
I need  to convert cantools big endian start bit (msb to lsb ) to match vector Candbc++ editor value.
problem 2.
some of initial value of signal , I get as none type,but in candbc editor initial value is present.
when value will be of None type ?
initial value of signal from cantools not match with Candbc++ editor .
how to match can tools value to Candbc++ editor value ?
how to convert physical to raw, considering all types in can tools ?

@juleq probably wanted to say that we would appreciate if you boiled down your DBC file to something which shows the problem  and that can be shared freely (i.e., containing no confidential data). If you do so, I volunteer to try to fix the issue and to also create a unit test so that it will not re-appear in the future. (see #311 for an example of how this is supposed to work.)

Yes. Further, since you are already debugging, you could inspect the dbc_specifics object. You should find the attribute GenSigStartValue associated with your signal in the attributes there. If so, the issue would be that the initial value attribute is properly read when parsing the dbc, but not applied to the respective signal property when building up the internal db. Please check if that might be the case here.

@juleq There is not attribute defined for the signal.

but GenSigStartValue is present in attribute_definitions.

in attribute definition it contain default values.
@andlaus I will try to create sample dbc and try to reproduce the same issue.

hi
Initial value : None
sample dbc attached. I have reproduced the same issue.
please check I am getting initial value as None.
SampleDBC.zip
start bit :
can tools will give startbit as per below
Big endian = > DBC     Startbit  : Bit numbering -> LSB0, Reference bit -> MSB
for conversion as per CANdb++ Startbit , what exactly formula need to use ?
b = startbit from cantools ?
b = b - (b % 8) + 7 - (b % 8)
b = b + length - 1
this not matching with the value of CANdb++ Startbit

Try this function to convert the start bit representation from dbc to CANdb++. It is C# but easy to adapt:
private static uint GetStartBitInVectorCANdbppStyle(Signal signal)
{
  uint startbit = (uint)signal.Start;
  if (signal.IsBigEndian)
  {
    startbit += 7 - 2 * (startbit % 8);
    startbit += (uint)signal.Length - 1;
    startbit += 7 - 2 * (startbit % 8);
  }
  return startbit;
}

Maybe I get a chance to look into your dbc tomorrow.

The dbc does contain an attribute definition for the signal type (SG_) that is of value type FLOAT and has a default value of 0. However, there is no signal in the dbc that has this attribute set to it. So either your example is missing that last step or everything is fine. It might be that Vector tools fall back to this default if there is nothing specificly defined for a signal. But I wonder what their logic would be in this case since the signal you have there is an integer type but the default is FLOAT...

Try this function to convert the start bit representation from dbc to CANdb++. It is C# but easy to adapt:
private static uint GetStartBitInVectorCANdbppStyle(Signal signal)
{
  uint startbit = (uint)signal.Start;
  if (signal.IsBigEndian)
  {
    startbit += 7 - 2 * (startbit % 8);
    startbit += (uint)signal.Length - 1;
    startbit += 7 - 2 * (startbit % 8);
  }
  return startbit;
}

Maybe I get a chance to look into your dbc tomorrow.

Thanks for the information , I understood the formula.

The dbc does contain an attribute definition for the signal type (SG_) that is of value type FLOAT and has a default value of 0. However, there is no signal in the dbc that has this attribute set to it. So either your example is missing that last step or everything is fine. It might be that Vector tools fall back to this default if there is nothing specificly defined for a signal. But I wonder what their logic would be in this case since the signal you have there is an integer type but the default is FLOAT...

hi ,
Thanks for information.
if GenSigStartValue attribute not set to the signal,
then Cantools will make initial value as None.
if None then vlaue will be 0: raw =0
so iv =  (raw * factor ) + offset
so iv will become equal to offset
Is my understanding Correct ?

Do you mean when encoding a message without setting the signal value? I could walk through the code to answer that but it is probably easier you try it or even step through the encoding process with your debugger.

@juleq
yes I will  try with debugger,
but I want to understand at what condition cantools return initial value as None  ?

I want to write all signal data into excel.
As i am getting signal.initial  value as None.

so because of None , nothing is written in excel sheet for that particular signal.

I would argue that this is a reasonable behaviour. Vector seems to fall back to the generic attribute which is FLOAT 0, but I think that that is a surprising choice since the signal is of integer type. I don´t really get their reasoning behind that. But it might also be that I am misinterpreting what I saw in CANdb++ and Vector will default to uint 0 when so generic initial integer value is defined.
If you also want to default to 0, just check if value is None and replace that with 0 on export.

@juleq
ya I understood your explanation and I agree to it.
I just created sample dbc for one signal, as i will try changing the FLOAT and check.

hi @juleq
I changed the value FLOAT to INT , still i got None .
what I observed is when "GenSigStartValue"  attribute not set to signal, that time cantools return value as None .
and with respect to vector tool , when  "GenSigStartValue"  attribute not set to signal, it fall back to default value defined in attribute definitions.
So whenever I get initial value as none from cantools , then I taking default value of GenSigStartValue from attribute defintion.

Sounds reasonable to do so.
But for cantools in general, I would argue that such a generic fallback would not be mandatory. When you do a residual bus simulation you should probably initialize the signal values or define the initial value for each specific signal to avoid surprises due to a generic fallback. But it is a design choice to do one or the other...

Hi,
@juleq with respect to current requirement to display vector data in excel sheet without use of vector tool ,I think this approach it will work.
Thanks for your information.
I have additional requirement to this.
REQ : To get Japanese character as it is from dbc and write Japanese character to excel .
as my dbc will contain some Japanese character in comment attribute.
when I read and write comments attribute  in excel , it will display some unreadable characters for Japanese letter.
Can you tell How to handle this Japanese characters ?

I think cantools has a parameter to define encoding if that is an issue. I assume it should be UTF-8 bit check that using a capable editor that you can load your dbc into to find out what encoding it uses.
I would assume that cantools uses utf-8 internally, but have not checked.
I do not know how you output, but I think you could define encoding there to. Your mileage may vary on output, not sure if you use text-based output or some OLE / ODBC stuff to get to excel.
It might be painful but having a recent Python and its packages at your disposal will certainly help if you need to fix stuff along the way (e.g. I vaguely remember using iconv for some encoding matters...).

hi @juleq
Coding language : python 3.9
editor : Pycharm
I read dbc using cantool package and store in python dictionary.
I use openpyxl to write dictionary data to excel .
Ex:
worksheet.cell(row=i, column=j).value = "Data"
if Cantools use utf 8, then it able to read Japanese character ?
I am getting this from cantools:

same thing it is written to excel.

Looks like you need to specify the encoding when reading in. Check the docs for cantools to see how to do that.
Find out what encoding to use by opening dbc in editor.
As far as I see utf-8 does contain most Japanese chars, but not all (?). So it might mostly work out of the box as long as you get the encoding parameters right.
A good resource might be googling for handling of Japanese text with Python in general. You will come across usual encodings and packages for handling such stuff that way.

hi @juleq
I gone through cantools doc,  I changed encoding to cp932 for Japanese Characters  while reading DBC.
self.db = cantools.database.load_file(self.path,  encoding ="cp932")
Great Cantools took care of encoding part also.
Thanks for your Quick Reply and suggestions.

hi @juleq
when I testing my dbc to excel script, I observed that,
cantools returns None for Min and Max value ?
at what condition Cantools return None for min and max value ?
EX: For this signal
SG_ xxxx : 232|5@1+ (1,0) [0|0] "NA"  abc
Note : Vector gives min =0 max =0

Cantools is not specific to any db format.
The issue sou are seeing is that dbc represents None with 0 in this case, because its syntax has no other means to represent None.
You can always look into the dump function for dbc to see the way cantools does dbc specific replacements.

hi @juleq
it means ,
if Cantools return None for min and max value , then its ok to consider 0
None = 0
is this ok ?
I observed in vector min = 0  max =0
I got none in cantools,
I observed in vector min = 1  max =1
can tools give min = 1 , max =1

Yes, if min and max are 0 that is the dbc files way of saying None (not defined).

hi @juleq
thanks for clarification .
I will write 0 to excel if I got min and max as none.


Hidden.svelte naming issue

Error that i get:
Internal server error: Failed to load url ./editors/Hidden.svelte (resolved id: ./editors/Hidden.svelte) in<EMAIL_ADDRESS>Does the file exist?
After a while of checking, i found out that the name of the file in the node modules is "HIdden.svelte", the "I" is in uppercase and caused this error.

In the source code, I see that the name of the file is correct. Not sure why after i install the package the name will become wrong
How I install the package:
yarn add @restspace/svelte-schema-form

@mithray How do you fix it for now? using patch method ?

This was resolved by https://github.com/restspace/svelte-schema-form/commit/58cc5e70ea1a5559f9ec68ec72d33e6611549f1e
Released in<EMAIL_ADDRESS>


Ability to override displayName for entryPoints

Search Terms
displayName, entryPoint
Problem
When using entry points that don't end with "/index.", TypeDoc currently keeps that filename as part of the display name of the entry point. This leads to ugly URLs and ugly links – note the "_api" and "/api" parts where none should be:

Suggested Solution
Some way to configure displayName when the entry points are not "/index.js".
In our case, they are named "/api.js".

You can do this today on a case by case basis with the @module tag, or with a tiny plugin:
typedoc --plugin ./plugin.mjs

import td from "typedoc";
/** @param {td.Application} app */
export function load(app) {
  app.converter.on(td.Converter.EVENT_CREATE_DECLARATION, (context, refl) => {
    if (refl.name.endsWith("/api")) {
      refl.name = refl.name.replace("/api", "");
    }
  });
}

Thanks – I tried this but it looks like createDeclaration is not called for module names, it's called for the individual Reflections. Am I missing something?

It seems to work for me, npx typedoc src/test/**/*.ts --plugin ./plugins/gh2735.js

$ tree src/test
src/test
├── api.ts
├── someOtherTest
│   └── api.ts
└── someTest
    └── api.ts

3 directories, 3 files

It won't work if you're using packages mode for each of those as those aren't (initially) declaration reflections, but project reflections. Is that the case in your configuration?

OK, got it to work! Thank you!


Vc-Auth component after scanning QR code, Present button is not displaying in wallet

Hi Team,
We have old vc-auth set up with aries py agent 0.4.0 which is working, We are planning to upgrade it. This week we have taken the latest code from your main branch we have deployed as container instance with aries py agent 0.7.3. vcauth component is presenting QR code for scanning, After scanning the code, the present button is not coming. In the vc-ath DB i have configured attributes as mentioned in #173 . Could you please point me to any reference document for configuring it ?

I tested out the flow (as documented in the demo/README.md file and it worked fine for the current ACA-Py image (0.7.0) up through 0.7.4-rc1 (including 0.7.3).  If you saw the QR code, scanned it and did not get a "Present" button, perhaps you hadn't been issued the credential needed (from here: https://email-verification.vonx.io/).  Can you check that?
I did find that ACA-Py 0.7.4-rc2 did not work, with an error when creating the presentation request.  I'll open an issue on that and have that investigated. But it doesn't sound like the issue you are having.

Closing due to inactivity, reopen if necessary.


Grails 3.2.9, spring-security-core:3.1.2 plugin not honoring BootStrap.groovy

I made a mistake and added the following to BootStrap.groovy:
new RequestMap(url: '/', configAttribute: ("ADMIN_GROUP, SUPER_USER_GROUP")).save()
This, on Grails startup, predictably, created the error:
Error parsing expression 'ADMIN_GROUP, SUPER_USER_GROUP': EL1041E: After parsing a valid expression, there is still more data in the expression: 'comma(,)'
Reading the doc, I realized the configAttribute needs to be prefaced with ROLE_. So I changed it to:
new RequestMap(url: '/', configAttribute: 'ROLE_ADMIN,ROLE_SUPER_USER').save()
I got the same parsing error on Grails startup.
I then REMOVED ALL CODE from BootStrap.init, and STILL GET the parsing error on startup.
I created a small project and was not able to reproduce the error. Unfortunately I cannot upload a live project for trouble-shooting.
I then removed all spring security from my project and it started up. I stopped the project and added      compile "org.grails.plugins:spring-security-core:3.1.2" to build.gradle. The error reapearred on startup. I added springSecurityService.clearCachedRequestmaps() as the only line to BootStrap.init.  But, RequestmapFilterInvocationDefinition.loadRequestmaps() is not honoring the BootStrap changes.  SpringSecurityService.clearCachedRequestmaps() seems to be ineffective. There seems to be no objectDefinitionSource?.reset() method? I'm assuming there is some kind of caching going on, but where do I clear it manually? Project is dead in the water.

configAttribute: ("ADMIN_GROUP, SUPER_USER_GROUP") had made it into the database. ReflectionUtils.loadAllRequestmaps()stumbled over it on Grails startup. Deleted that row from the database, works now.

sorry @dorisviv but I don't understand the issue. I am going to close it as you seen to have found the solution. If you consider there is is still open, I will appreciate if you could link to repository example.


connect timeout current HEAD (Heltec Wifi Lora, cp2102)

Hi, I have a bunch of older boards with plain ESP32's and CP2102 USB-serial-converters. One of them, a Heltec Wifi LoRa board (the original, they seem to call it V1 now) worked with espflash version  2.1.0, but doesn't work on current HEAD:
~/espflash/espflash $ RUST_LOG=trace ../target/release/espflash board-info
[…]
[2024-01-15T20:44:53Z INFO ] Using flash stub
[2024-01-15T20:44:53Z DEBUG] Loading flash stub for chip: Esp32
[2024-01-15T20:44:53Z DEBUG] Write 12700 byte stub text
[…]
[2024-01-15T20:44:55Z DEBUG] Finish stub write
[2024-01-15T20:44:55Z DEBUG] Writing command: MemEnd { no_entry: false, entry:<PHONE_NUMBER> }
[2024-01-15T20:44:55Z DEBUG] Stub written!
Error: espflash::timeout

  × Error while connecting to device
  ╰─▶ Timeout while running command

I've bisected this a few times (good v2.1.0, bad 074f8bcdbcbc5890909932ec99a157837202f025 (i.e. current HEAD), and each time I end with the "first bad commit" being 775e22275b30f952457978b0c38e64942233e734.
This commit is working just fine, so I'm a bit at a loss here as to what causes this behaviour or how to further debug this.
This commit, as well as tag v2.1.0 and HEAD, work perfectly fine on two other boards (a ESP32 Node-MCU-style and a custom board using an external converter, but all use a CP2102 converter chip). The result is consistent, i.e. running espflash multiple times always yields the same result for the Heltec board for all bisecting steps. For reference, esptool.py version 4.6.2 (from Arch repos) works just fine.
Host is Arch Linux on amd64, rust and cargo 1.75.0 (through rustup, stable).
Unrelated to this, I noticed in the debug output that it fires a request to crates.io on each invocation. Is that really necessary?
Edit: I just realised there's https://github.com/esp-rs/espflash/issues/546 and I can confirm that current HEAD with --no-stub works with the Heltec board. But that doesn't work for flashing, does it?

Hi! Do you have any updates regarding this issue?

I'll be closing this issue as I can't reproduce it, and it has been inactive, if the issue persists, feel free to reopen it!


Checks that all required images exist

Processes list of images required by kordac result and throws an error when it finds one that does not exist.
Fixes #148

Thanks bro, I am the best, aren't I?

This PR has provided it for all time: Hayley is the best.


Script blocked by uBlock origin prevents submitting answers

Without disabling adblock, I cannot submit answers due to the following script being blocked:

I generally don't encounter problems like this and would like to be better informed about the script's purpose.

Can explain exactly what you do and what happens? Do you enter answer, press Validate, and then get ad block? Or something else?

The javascript is prevented from loading completly, which causes javascript errors, which causes the button to not respond to actions.
According to the extension log, it is part of https://easylist.to/
(using uBlock Origin v1.18.10)

@lpareek Can you help here? Do you know what we could do?

Hi @FreHu,
You will have to add exception to uBlock.

Regards,
Lalit


The intersection 'Client' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents

I get an error when following this tutorial https://docs.pimlico.io/permissionless/tutorial/tutorial-1. It works if I install the demo app but when I try to do the same in a nestjs app I get a type error about cacheTime property on the public client.
Relevant Code:
const account = await toSafeSmartAccount({
      client: publicClient, ---> this part throws the error
      owners: [privateKeyToAccount(privateKey)],
      entryPoint: {
        address: entryPoint07Address,
        version: '0.7',
      }, // global entrypoint
      version: '1.4.1',
    });

I have a repo with the problem here: https://github.com/0xtiki/permissionless/blob/main/src/app.service.ts

looks like this fixed it:
const account = await toSafeSmartAccount({
      client: publicClient as Client,
      owners: [privateKeyToAccount(privateKey)],
      entryPoint: {
        address: entryPoint07Address,
        version: '0.7',
      }, // global entrypoint
      version: '1.4.1',
    });

Hey, could you try turning strict mode on in your tsconfig, seems related to viem/issues/871

Hey, could you try turning strict mode on in your tsconfig, seems related to viem/issues/871

Yes it seems to be the same issue, thanks for the response. Strict mode doesn't fix it unfortunately.

Do you think the other TS errrors are caused by the same issue? For example smartAccountClient.sendTransaction throws Type instantiation is excessively deep and possibly infinite.
It is in https://github.com/0xtiki/permissionless/blob/main/src/app.service.ts

For anybody else who might run into this, this seems to fix it: https://github.com/wevm/viem/issues/3021


Cocoapods error: [!] The '' target has transitive dependencies that include static binaries: (./Pods/Intercom/Intercom/Intercom.framework)

pod "Segment-Intercom", "~> 1.0.0-beta"
16:42 $ bundle exec pod install --verbose
  Preparing

Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods-Studio`: (``)
  Using `ARCHS` setting to build architectures of target `Pods-WatchExtension`: (``)
  Using `ARCHS` setting to build architectures of target `Pods-StudioTests`: (``)

Finding Podfile changes
  A Segment-Intercom
  R Intercom
  - ActionSheetPicker-3.0
  - Alamofire
  - AlamofireImage
  - AlamofireNetworkActivityLogger
  - Analytics
  - Branch
  - DeallocationChecker
  - DeviceKit
  - EBCardCollectionViewLayout
  - FBSDKCoreKit
  - FBSDKLoginKit
  - FXKeychain
  - Firebase
  - Marshal
  - PKHUD
  - PromiseKit
  - Reusable
  - Reveal-SDK
  - Rollbar
  - Segment-Facebook-App-Events
  - SwiftMessages
  - SwiftVideoBackground
  - SwiftyBeaver
  - TTTAttributedLabel
  - Twinkle
  - UICountingLabel

Fetching external sources
-> Pre-downloading: `EBCardCollectionViewLayout` from `https://github.com/betzerra/EBCardCollectionViewLayout`, commit `f04ff40d36e588054d91832621ac237917c299ee`
  > Copying EBCardCollectionViewLayout from
  `/Users/nebiros/Library/Caches/CocoaPods/Pods/External/EBCardCollectionViewLayout/5c6721a52f796f7af729ad5500f5aa6a` to
  `Pods/EBCardCollectionViewLayout`

Resolving dependencies of `Podfile`

Comparing resolved specification to the sandbox manifest
  A Segment-Intercom
  M EBCardCollectionViewLayout
  - ActionSheetPicker-3.0
  - Alamofire
  - AlamofireImage
  - AlamofireNetworkActivityLogger
  - Analytics
  - Bolts
  - Branch
  - DeallocationChecker
  - DeviceKit
  - FBSDKCoreKit
  - FBSDKLoginKit
  - FXKeychain
  - Firebase
  - FirebaseAnalytics
  - FirebaseCore
  - FirebaseInstanceID
  - GoogleToolboxForMac
  - Intercom
  - Marshal
  - PKHUD
  - PromiseKit
  - Reusable
  - Reveal-SDK
  - Rollbar
  - Segment-Facebook-App-Events
  - SwiftMessages
  - SwiftVideoBackground
  - SwiftyBeaver
  - TTTAttributedLabel
  - Twinkle
  - UICountingLabel
  - nanopb

Downloading dependencies

-> Using ActionSheetPicker-3.0 (2.3.0)

-> Using Alamofire (4.6.0)

-> Using AlamofireImage (3.3.0)

-> Using AlamofireNetworkActivityLogger (2.2.0)

-> Using Analytics (3.6.9)

-> Using Bolts (1.9.0)

-> Using Branch (0.22.5)

-> Using DeallocationChecker (2.0.1)

-> Using DeviceKit (1.5.0)

-> Installing EBCardCollectionViewLayout (0.2.0)

-> Using FBSDKCoreKit (4.31.0)

-> Using FBSDKLoginKit (4.31.0)

-> Using FXKeychain (1.5.3)

-> Using Firebase (4.8.2)

-> Using FirebaseAnalytics (4.0.9)

-> Using FirebaseCore (4.0.14)

-> Using FirebaseInstanceID (2.0.8)

-> Using GoogleToolboxForMac (2.1.3)

-> Using Intercom (4.1.9)

-> Using Marshal (1.2.4)

-> Using PKHUD (5.0.0)

-> Using PromiseKit (4.5.2)

-> Using Reusable (4.0.0)

-> Using Reveal-SDK (13)

-> Using Rollbar (0.2.0)

-> Using Segment-Facebook-App-Events (1.0.3)

-> Installing Segment-Intercom (1.0.0-beta)
  > Copying Segment-Intercom from `/Users/nebiros/Library/Caches/CocoaPods/Pods/Release/Segment-Intercom/1.0.0-beta-f4942` to `Pods/Segment-Intercom`

-> Using SwiftMessages (4.1.0)

-> Using SwiftVideoBackground (2.0.1)

-> Using SwiftyBeaver (1.5.1)

-> Using TTTAttributedLabel (2.0.0)

-> Using Twinkle (0.3.0)

-> Using UICountingLabel (1.4.1)

-> Using nanopb (0.3.8)
  - Running pre install hooks
[!] The 'Pods-Studio' target has transitive dependencies that include static binaries: (/Users/nebiros/OneDrive/Projects/studio-ios/Pods/Intercom/Intercom/Intercom.framework)

/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cocoapods-1.4.0/lib/cocoapods/installer/xcode/target_validator.rb:81:in `block (2 levels) in verify_no_static_framework_transitive_dependencies'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cocoapods-1.4.0/lib/cocoapods/installer/xcode/target_validator.rb:73:in `each'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cocoapods-1.4.0/lib/cocoapods/installer/xcode/target_validator.rb:73:in `block in verify_no_static_framework_transitive_dependencies'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cocoapods-1.4.0/lib/cocoapods/installer/xcode/target_validator.rb:70:in `each'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cocoapods-1.4.0/lib/cocoapods/installer/xcode/target_validator.rb:70:in `verify_no_static_framework_transitive_dependencies'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cocoapods-1.4.0/lib/cocoapods/installer/xcode/target_validator.rb:36:in `validate!'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cocoapods-1.4.0/lib/cocoapods/installer.rb:406:in `validate_targets'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cocoapods-1.4.0/lib/cocoapods/installer.rb:118:in `install!'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cocoapods-1.4.0/lib/cocoapods/command/install.rb:41:in `run'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cocoapods-1.4.0/lib/cocoapods/command.rb:52:in `run'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/cocoapods-1.4.0/bin/pod:55:in `<top (required)>'
/Users/nebiros/.rbenv/versions/2.3.3/bin/pod:23:in `load'
/Users/nebiros/.rbenv/versions/2.3.3/bin/pod:23:in `<top (required)>'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/site_ruby/2.3.0/bundler/cli/exec.rb:75:in `load'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/site_ruby/2.3.0/bundler/cli/exec.rb:75:in `kernel_load'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/site_ruby/2.3.0/bundler/cli/exec.rb:28:in `run'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/site_ruby/2.3.0/bundler/cli.rb:424:in `exec'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/site_ruby/2.3.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/site_ruby/2.3.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/site_ruby/2.3.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/site_ruby/2.3.0/bundler/cli.rb:27:in `dispatch'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/site_ruby/2.3.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/site_ruby/2.3.0/bundler/cli.rb:18:in `start'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.16.0/exe/bundle:30:in `block in <top (required)>'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/site_ruby/2.3.0/bundler/friendly_errors.rb:122:in `with_friendly_errors'
/Users/nebiros/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/bundler-1.16.0/exe/bundle:22:in `<top (required)>'
/Users/nebiros/.rbenv/versions/2.3.3/bin/bundle:23:in `load'
/Users/nebiros/.rbenv/versions/2.3.3/bin/bundle:23:in `<main>'

anyone at Segment monitoring these issues?

Hi all,
Thanks for writing in, and yes we monitor these and try to get back to you as quickly as possible!
This unfortunately is a common issue that doesn't have an out of the box solution due to Cocoapods and static libraries not working well together.  This issue explains why combining use_frameworks! and the static file doesn't work. This GitHub issue tracks this problem.
This may be something outside our scope to fix, as Cocoapods has this limitation, however, we have a work around we can suggest.
You will need to manually copy the integration files and then depend on Intercom directly. Instead of importing the integration from our library, then you would import the integration from your local copy.
This eliminates the transitive dependency (from App -> Segment-Intercom  -> Intercom  to App -> Intercom).
Let me know if this makes sense!

thanks @ladanazita for the response. I got it working as you suggested: I copied in the four implementation/header files from the library, leaving the existing Intercom dependency in place. I'm not exactly sure what you mean when you say

Instead of importing the integration from our library, then you would import the integration from your local copy

but it seems to be working regardless. I need to include Intercom anyway in order to use their UI for the message interface.

@toddgower Sorry for the confusion — so instead of importing Segment-Intercom, you would natively include the Intercom pod which is what you have done.

We were able to work around this error with this:
https://github.com/CocoaPods/CocoaPods/issues/3289#issuecomment-232775634


Make a complete example of onError handling in the docs

What is the feature you are proposing?
The docs for the app.onError handling have an incomplete example. https://hono.dev/api/exception#handling-httpexception
app.onError((err, c) => {
  if (err instanceof HTTPException) {
    // Get the custom response
    return err.getResponse()
  }
  //...
})

It would be helpful if the example was expanded where the // ... is to show how to pass through the err if it is not an HTTPException.

The section itself was described only to handle httpexception, if it is not an HTTPException, you can check here:
https://hono.dev/api/hono#error-handling

The problem is I want to always use HTTPException because it triggers app.onError() which I use for logging to Sentry. Setting the status code does not do this.


Issue not fixed #1692, still showing bower_components path in less files

Issue type:

[ ] Feature request
[*] Bug report
[x] Documentation

Environment:

AdminLTE Version:   2.4
Operating System:  OSX
Browser (Version): Chrome (Latest)

Description:
I installed this version  "admin-lte": "2.4.2" but the less file are still bower_components related paths which I am not able to compile through css loader as I am using this in my angular project.

@DroidNinja Any luck on this?Is there a fix?

This issue is already fixed


Support\Collection::unique() private object attribute access - what is expected behavior?

Laravel Version: 5.7
PHP Version: 7.1.22
Database Driver & Version: N/A

Description:
I am unsure of the expected behaviour in relation to Collection::unique() and a Collection of objects. If I pass objects that have a public attribute it will return the right unique count based on a key that matches the attribute name.
However if the attribute is private it only returns unique()->count() == 1 as the response.
Possible resolutions:

Collection::unique() does not support object attributes in any form (throws an error?)
Collection::unique() supports only public object attributes (throws an error if attribute is not visible)
Collection::unique() supports object attributes regardless of visibility (returns the correct result in test)

Steps To Reproduce:
Steps to reproduce are here in the PR (just for demonstration purposes):
https://github.com/redthor/framework-1/pull/1/files#diff-f565fa2deb7f67254a3a052a4f1d214bR819

I think the expected behavior should be motivated by the name of the method and functional consistency. If it isn't consistent then it should throw an error. I don't think it is right that the expected behavior is driven by an understanding of the internal implementation.
It then follows that valid use-cases for accessing private properties are:

to provide consistency with the way it behaves when accessing public properties; and
support projects that insist classes are implemented with private attributes reachable via accessors and mutators (many will argue that objects should be immutable)

If a property is private/protected, it either has an accessor or shouldn't be accessed from the outside.
Accessors are supported via closures:
$collection->unique(function($value) {
    return $value->accessor();
});

FWIW I have this code for finding if all objects share the same value for a property. I does not handle all cases. Just a first version...
        Collection::macro('isConsistent', function ($key = null) {
            if ($this->count() === 0) {
                return false;
            }

            // Looking for a private property?
            // This will work for regardless of visibility
            // @see https://github.com/laravel/framework/issues/26033
            $first = $this->first();
            if (\is_string($key) && \is_object($first)) {
                $key = function ($item) use ($key) {

                    $getProp = function () use ($key) {
                        return $this->{$key};
                    };

                    return $getProp->call($item);
                };
            }

            $items = $this->unique($key);

            return $items->count() === 1;
        });

Having ->unique implicitly being able to access protected/private property information is a WT… in my book and would be unexpected.

@mfn so you are ruling out my third option in my original post.
What do you think of existing behavior? It appeared to be a WT moment for me.

What do you think of existing behavior? It appeared to be a WT moment for me.

Debatable, I'm not saying it's the perfect result.
I mean: there's always some responsibility on the developers side to some degree, accessing a non-public property to me looks like an error on the developer side. Probably found/covered in a test in the project. Fixed in the code. Moved on.
Not saying to ignore this but it seems an edgy case and it's not a blocker for anything.
Which brings me back to: maybe it's a documentation thing 🤷♀
Because then you can't say it's unexpected 😄

Ha, actually, I just came back in to github to say let's call it a documentation thing :)
It could say at the start of https://laravel.com/docs/5.7/collections something like:

Collection works with an array of arrays or an array of objects. When working with objects properties are treated in

The current behavior seems the expected behavior. I agree with @staudenmeir and @mfn that accessing private/protected properties is unwanted in this situation.


Training code?

Hi,
Thanks for share your work.
By any chance, is there any plan to release the training code?

Hai AliBaheri, did you got training code.... If so kindly help


AutoStationConfig breaks Advanced Miner power usage

The PLS charging power setting is being applied to Advanced Miners (before the mining speed multiplier).
Setting this to 10% cuts the power usage of new miners in half, while 100% multiplies it by 5.
There's no way to fix the usage in-game without deleting and re-placing the misconfigured miner.

@scottfranklin Thanks for the feedback!
This mod was created before advanced miners were a thing. I'm not currently playing DSP and don't have a savefile ready that has them unlocked for testing.
Feel free to drop a PR, I'll be happy to merge it.

https://github.com/Pasukaru/DSP-Mods/blob/e5fd15d028d2d25f783a3997f5b92973422bbf63/AutoStationConfig/Extensions.cs#L15
I think changing this line to if (component.isCollector || component.isVeinCollector) return; can solve the issue

@scottfranklin Thanks for the feedback!
This mod was created before advanced miners were a thing. I'm not currently playing DSP and don't have a savefile ready that has them unlocked for testing.
Feel free to drop a PR, I'll be happy to merge it.

there is sandbox in the game now, you can unlock everything with 1 click of a button, they even give you dev tools, all you have to do is create new game with sandbox mode enabled.


Add gp3 storageclass

We add this unconditionally to all clusters for simplification, so we can set storageClass: gp3 for new clusters that come up on AWS without issue. This doesn't change the default, and does not change the storageclass in existing clusters. In addition to using gp3, it also sets reclaimPolicy to Retain, so if the PVC is deleted, it does not delete the PV or the underlying EBS volume.
Ref https://github.com/2i2c-org/infrastructure/issues/2906
Ref https://github.com/2i2c-org/infrastructure/issues/2717

Going to close this in favor of opening something along the lines of https://github.com/2i2c-org/infrastructure/pull/3112 later for AWS, once I get the GCP stuff done.


PaymentCustomizations Sample App (Stop Silencing Errors + Update)

This PR will update the payment customization sample app.
The sample app currently holds three functions, but only one UI to create the hide customization.
This PR will:

refactor front-end code for routes to be: /<function-name>/:functionId/new and  /<function-name>/:functionId/:id for each function
stops silencing user errors
add Banner to show user errors

Next Steps

add UI for other functions

/<function-name>/:functionId/new

I think this makes sense (PR description) but in practice the files are in hide 😆
The other 2 functions are rename and sort, so maybe you don't want the UI to all be hide-specific?

🎩 ed the function and UI, didn't read through the code


python3.pkgs.cx-freeze: switch to pyproject and rename

Description of changes

Switch to pyproject.toml, which upstream already uses. Extracted from https://github.com/NixOS/nixpkgs/pull/245509 when I was testing something. Unfortunately, I don't remember what now, but we should still do this.
Normalize its attribute name, part of https://github.com/NixOS/nixpkgs/issues/245383.

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

LGTM :+1:
Too bad https://github.com/NixOS/nixpkgs/pull/243787 hasn't been merged yet, which makes it more difficult to test this.

Thanks for the review! Hope yours gets committed soon too.


Set tracestate and sampling decision even if operation id is set

OperationCorrelationTelemteryInitializer should set tracestate and sampling decision even when operation id is provided on telemtery item already. Auto-collectors always set operation id, but they should not duplicate code for tracestate/sampling

@lmolkova Do you need this in the new beta release?


Add ssh test

It tests native and external connection.

It tests native and external connection.

I would have expected to have this in the commit log.

I updated the commit message. Waiting for CI and I merge it, thanks for the review!


Migrate to shaded HMS client for getting delegation token on server

:mag: Description
Issue References 🔗
Describe Your Solution 🔧
Kyuubi Shaded 0.3 introduces a light kyuubi-relocated-hive-metastore-client, for refreshing
delegation token, this PR aims to migrate from the vanilla HMS client to this light shaded HMS client, then we can get rid of Hive dependencies, especially the vulnerable thrift 0.9, from the Kyuubi server.
Types of changes :bookmark:

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Test Plan 🧪
Pass GA.

Checklist 📝

[x] This patch was not authored or co-authored using Generative Tooling

Be nice. Be informative.

Codecov Report
Attention: Patch coverage is 34.78261% with 15 lines in your changes are missing coverage. Please review.

Project coverage is 61.06%. Comparing base (8026e72) to head (f74d963).
Report is 2 commits behind head on master.

Files
Patch %
Lines

.../apache/kyuubi/server/http/ThriftHttpServlet.scala
16.66%
10 Missing :warning:

...apache/kyuubi/jdbc/hive/auth/TFilterTransport.java
40.00%
3 Missing :warning:

...a/org/apache/kyuubi/service/TFrontendService.scala
0.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #6118   +/-   ##
=========================================
  Coverage     61.06%   61.06%
  Complexity       23       23
=========================================
  Files           623      623
  Lines         37195    37218   +23
  Branches       5039     5040    +1
=========================================
+ Hits          22713    22728   +15
- Misses        12019    12039   +20
+ Partials       2463     2451   -12

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

lgtm if tests pass

Thanks, merged to master


Optimize CertificateRequest Reconcile Behavior

These changes fix the reconcile behavior of the CertificateRequest reconcile to requeue after a certain duration such that subsequent CRs can be processed. The old behavior was effectively processing each CR in serial and this changes it to a rapid succession.

Please add unit test coverage for the code being added.

All done. Added unit tests around utils and cloudflare functions.

/assign @mbarnes
/assign @c-e-brumm
/assign @cblecker
/assign @jharrington22

Thanks for this @dustman9000! This is quite a big change, so I'd like to get this reviewed throughly.
/hold
Holding for reviews.

/assign @c-e-brumm

/hold

Yes, that's a much more simple change than this PR. I'm ok with closing this in favor of 156.

Closing in favor of #156


Update library to use definitions of ultrahdr_api everywhere

This is a major change but maintains bitexactness with previous commit. This change unifies legacy structure definitions with definitions of ultrahdr_api.h. This helps for better extensibility for new features and avoid redundancy.
Legacy structures are moved to ultrahdr.h. These are deprecated and only retained for backward compatibility.
Briefly,

unify ultrahdr_color_gamut with uhdr_color_gamut_t
unify ultrahdr_transfer_function with uhdr_color_transfer_t
unify ultrahdr_metadata_struct with uhdr_gainmap_metadata_t
unify jpegr_uncompressed_struct with uhdr_raw_image_t
unify jpegr_compressed_struct with uhdr_compressed_image_t
unify jpegr_exif_struct with uhdr_mem_block_t
unify status_t with uhdr_error_info_t
Deprecate ultrahdr_output_format
Added methods to Jpeg*Helper to simplify data translation between helper
and its users

Bug fix,

For images with multi channel gainmap, decoded gainmap is not copied
completely for getter functions. This is fixed.
Add support for tonemapping linear transfer inputs
Add error checks for input params of newly added setter functions
update documentation of sample app for newly added options
Fixes oss-fuzz: 69287

Test: ./ultrahdr_unit_test
Test: ./ultrahdr_dec_fuzzer
Test: ./ultrahdr_enc_fuzzer

Thank you for the change, but we may need to hold on for a little bit. jpegr.h layer is currently used by Android, and this change will also need change in Android and it's out of scope now. We will hold this change for a while and land it with v2 version.

I would recommend separate this change land the bug fixing part now, and hold the API change part. Let me know what you think. Thank you!

Thank you for the change, but we may need to hold on for a little bit. jpegr.h layer is currently used by Android, and this change will also need change in Android and it's out of scope now. We will hold this change for a while and land it with v2 version.

This change does not effect android builds. The android builds works normally.

OK Thanks, I'll take a further look

Thank you for the change, but we may need to hold on for a little bit. jpegr.h layer is currently used by Android, and this change will also need change in Android and it's out of scope now. We will hold this change for a while and land it with v2 version.

This change does not effect android builds. The android builds works normally. It seems recent sample app changes are causing build issues in android. These were corrected in this commit.

I would recommend separate this change land the bug fixing part now, and hold the API change part. Let me know what you think. Thank you!

Some fixes work with the changes made. I will try to seperate independent one's and give a pull request.

OK then we are having two interfaces of the public APIs. I'm not against with this move, but I'm feeling this is not an urgent need. And additionally this change is fairly too large and I would still recommend separating this change and we'll merge the bug fixing part first. Let me know what you think. thank you!

OK then we are having two interfaces of the public APIs.

As the interface is from ultrahdr_api.h, there is only one. But if we were to include jpegr.h directly then as you have rightly pointed out, there are aliases for each api.

I'm not against with this move, but I'm feeling this is not an urgent need. And additionally this change is fairly too large and I would still recommend separating this change and we'll merge the bug fixing part first.

Certain fixes that are independent of this change, i have moved them out and issued pull requests. #178 #179 #180
But some fixes where a little more coupled with this change (oss-fuzz 69287 and returning decoded gainmap). So i did not move them. Also, some parts of this change simplifies handling 444 and 422 support.

When I use the attached sources, I get error "encountered unknown error during decoding" (exit code 255).
I assume this is related to the JPG, though it does not say which file decoding failed (would be nice to update the error message to be more clear there).

It also addresses this.
Some portions of this change are not at all a priority and can be marked as good to have and some other parts are helpful towards addressing known issues.

OK my only concern of this change is about having aliases at jpegr.cpp layer, but indeed this change makes the code unified and clean, and has benefit of simplifying 444 and 422 color format. I've approved this change. Thank you for work!


output diffuse and direct components of sw

Hello,
Here is a feature request. I would like to be able to output the direct and diffuse components of downwelling shortwave radiation. It appears that this might be straightforward to do.
I think that by modifying the driver.f90 script might be possible.
https://github.com/climlab/climlab-rrtmg/blob/3db6e66b1c735c694ca2f37fd259d73bb26868e9/climlab_rrtmg/rrtmg_sw/Driver.f90

Agreed that this would be a useful feature. It would require a slightly deeper drive into the fortran code. driver.f90 just passes the same diagnostics reported by the original RRTMG_SW code through to the Python wrapper.

Thanks!
I'm looking in the rrtmg_sw_rad.f90 script — it looks like these are the optional output variables that we want.
https://github.com/climlab/climlab-rrtmg/blob/3db6e66b1c735c694ca2f37fd259d73bb26868e9/climlab_rrtmg/rrtmg_sw/sourcemods/rrtmg_sw_rad.f90#L528C1-L530C1
So, i think the steps would be 1) change the intent of this variable to "out" in the rrtmg_sw_rad.f90 script, and 2) add this variable to the output from driver.f90 here https://github.com/climlab/climlab-rrtmg/blob/3db6e66b1c735c694ca2f37fd259d73bb26868e9/climlab_rrtmg/rrtmg_sw/Driver.f90#L237
And also add the new variables to the f2py declarations here: https://github.com/climlab/climlab-rrtmg/blob/3db6e66b1c735c694ca2f37fd259d73bb26868e9/climlab_rrtmg/rrtmg_sw/Driver.f90#L245
Does that sound about right? Any pointers are appreciated.

That sounds more or less right, except that there would need to be a new switch to turn on the optional extra output. The Python wrapper that calls this module would default to setting this switch off, to preserve backwards compatibility.

There is some work happening concurrently in a different project that is looking at enabling full spectral output from RRTMG. I think it will be worth taking the time to think through what a consistent interface should look like for turning on and off various optional output.
If you're interested in roughing out a PR that handles diffuse / direct part, I think that would help nudge these efforts along @bsu-wrudisill!


Version 0.4.3

Updated py-selenium-auto-core==0.5.3
Support for CSS conversion to XPath selectors for find_elements and find_child_elements
Updated getting path for some objects. Removed hard root_path
Added execute_script_from_file in Browser
Some refactoring
Added tests

Codecov Report
Attention: 24 lines in your changes are missing coverage. Please review.

Comparison is base (2e030ea) 90.35% compared to head (76c8bd1) 91.65%.

Files
Patch %
Lines

py_selenium_auto/browsers/browser.py
50.00%
7 Missing and 3 partials :warning:

...ests/integration/usecases/test_file_downloading.py
83.33%
5 Missing and 3 partials :warning:

py_selenium_auto/elements/element_factory.py
33.33%
1 Missing and 1 partial :warning:

.../usecases/test_element_exists_but_not_displayed.py
93.54%
2 Missing :warning:

...figurations/web_driver_settings/driver_settings.py
83.33%
0 Missing and 1 partial :warning:

tests/integration/test_element_state.py
93.33%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #7      +/-   ##
==========================================
+ Coverage   90.35%   91.65%   +1.30%
==========================================
  Files          73       75       +2
  Lines        2197     2338     +141
  Branches       94      106      +12
==========================================
+ Hits         1985     2143     +158
+ Misses        185      161      -24
- Partials       27       34       +7

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add UDP Listener

Issue: 1755
Bind the server to a UDP listener.

Generally makes sense, though it needs testing. Sending UDP traffic back to the sender -- especially in the case of successful ingest -- seems like overkill to me.

Since UDP, by nature, is unreliable, a client isn't going to do anything differently if it doesn't see those UDP packets come back. So I don't think there is any point sending UDP traffic back. Just log any errors and move on.

@otoolep please take a look at the updated bits whenever you feel like it.

Looks, +1 assuming you've actually seen data travel over UDP and been ingested by the system.
An integration test should be next, but that can be a separate PR if you wish.

When you do commit, don't forget to update the changelog.

Since you know the PR (this one) you can make the change to the log as part of this change.


feat(plugin-docsearch): support transformItems function in options

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Provide a description in this PR that addresses what the PR is solving. If this PR is going to solve an existing issue, please reference the issue (e.g. close #123).

What is the purpose of this pull request?

[ ] Bug fix
[x] New feature
[ ] Documentation update
[ ] Other

Description

Screenshots

Before
After

Thanks for contribution, but we might not merge it. We will add client config support in later version, and that should be a better solution. Currently you can patch the package as a workaround.

Closing because of https://github.com/vuepress/vuepress-next/pull/1286


Any plans for ds1 compatibility?

Pretty self explanatory.

Not likely. PTDE doesn't use a central server, and Remastered uses a substantially different online protocol.

Not likely. PTDE doesn't use a central server, and Remastered uses a substantially different online protocol.
Then what exactly is needed for ptde? After all, still need some kind of server for players to connect, even an intermediate like spacewar.

PTDE just uses steam lobbies for all the network connectivity, there is no central server that players connect to, it all goes through existing steam functionality.


Images filtered as "cross-posts"

Describe the bug:
When uploading several images (even different ones), the "cross-posts" filter is triggered because it detects them as equal strings with the following content (in Spanish in this case): "... (Tiempo restante: NaN KB)"
This does NOT seem to be happening 100% of the time an image is uploaded.

This seems to happen with any file type, and not just images.


Fixes deepdive compute to deepdive compute execute

to leave room for the sub-command for future extensions by compute drivers

@netj Should I do anything else on this? I need to pull this to my branch eventually, right?

Please take a look, comment, then merge once everything looks good to you. Standard code review :)
You can then perhaps rebase your branch.

Looks good to me! Just some questions below.
When we were discussing the idea of having other compute-* (such as compute-status, compute-loadin, compute-unloadout, compute-submit) commands, we also talked about requiring DeepDive be installed on the submission nodes as well. I was wondering if running deepdive compute status (for example) should be allowed on both our workstation (laptop, etc.) and the submission node?
Or would it only make sense to run these compute-* commands inside the context of compute-execute (i.e. compute-* commands would be "private functions" being used only by compute-execute)?

It'll largely be up to the driver but that'd be nice feature to have. compute-status for example can show all running processes for the config, right? I'd recommend hiding private commands under a clear namespace such as compute-remote- and let others be end user friendly by default.

Rebased, fixing a few merge conflicts.

LGTM


Include  if possible to check if we can use the feature

Ok, I think I found a fix. I didn't realize <version> was a c++20 header. I tested this on gcc 5 and it worked fine, so here's hoping Travis agrees!
Addresses #303
Supercedes #304

This change is

Looks good, thanks.


feat(ASC-262): Deploy applications from main

Now that the multi-cluster branch was merged into main, we can switch our CI to deploy from main.

/test ?

/test appstudio-e2e-tests

/lgtm


Gather feedback docs widget

It would be helpful to allow users to submit feedback directly from docs pages so we know where they may be hitting issues.

Hello @jamilbk ,
I came across this issue while searching for "docs feedback widget" on GitHub. I'm the founder of PushFeedback, a feedback widget designed specifically for documentation sites that integrates seamlessly with Next.js projects.

We offer a complimentary plan for open-source projects, which includes unlimited feedback entries for one project while maintaining PushFeedback branding. If you're considering adding a feedback mechanism to your documentation, I invite you to create an account. Once you're set up, please let me know, and I'll remove the limitations for your docs project.
Looking forward to hearing from you!


Create engine-script-library.py

I created an outline for the engine-script-library script conversion and attempted to implement a few functions. I'm unsure about my version of the do_roadblock function: any suggestions for how I might test and verify?

I created an outline for the engine-script-library script conversion and attempted to implement a few functions. I'm unsure about my version of the do_roadblock function: any suggestions for how I might test and verify?

@rafaelfolco Can you provide Greg some examples of how you do unit tests to validate individual functions?

I created an outline for the engine-script-library script conversion and attempted to implement a few functions. I'm unsure about my version of the do_roadblock function: any suggestions for how I might test and verify?

@rafaelfolco Can you provide Greg some examples of how you do unit tests to validate individual functions?
Take a look at
https://github.com/perftool-incubator/multiplex/tree/master/tests

All you need to do is to create test-* files under tests/ dir... README tells you how to set virtual env.
I'm here for questions. If you need a quick walkthrough we can do it as well.


Introduce VectorMaker::mapVectorFromJson

Make it easier to create MAP vectors for testing.
VectorMaker::mapVectorFromJson creates MapVector from JSON maps. It allows to
create empty maps, null maps and maps with null values.
      makeMapVectorFromJson<int32_t, double>({
          "{0: 0.05, 2: 2.05}",
          "{4: 4.05}",
          "{6: 6.05, 8: null}",
          "null",
          "{}",

See #6816

CC: @duanmeng

@laithsakka Laith, thank you for review. Updated. Would you take another look?


wip: Remove cruft from ./bazel

Motivation

There were a bunch of problems and cruft

It didn't pass shellcheck at all
It read the bazel version from stripe-build.yaml, but we haven't used
that in ages because Sorbet no longer lives in it's own repo with it's
own build configurations. Sorbet CI is either configured to run on
Buildkite, or in whatever job of pay-server that builds it
(like sips-ruby-typer) so there's no point in having a
stripe-build.yaml anymore.
It did a lot of extra work before making the fast path decision of
"I've already built bazel" to compute information that was only needed
in the slow path of "I need to build bazel".
It had some nonsense about kubernetes, which we're definitely not
using and never did use.

Test plan

See included automated tests.

@elliottt pointed out that there's a tools/bazel symlink in our repo. This change will make that symlink stop working, which is important because it's the tools/bazel one that counts for pinning the version, and the top-level one is just for convenience.
Marking it WIP until I get time to fix that.


Indent line doesn't refresh on CursorMoved

For the option indent_blankline_show_current_context, In the help file, it says that the plugin will refresh on CursorMoved but it doesn't refresh. When I check the autocommands list, IndentBlanklineContextAutogroup is not there.
https://user-images.githubusercontent.com/5569621/112742241-809f4300-8fac-11eb-81ab-419b25332eff.mp4

Settings
vim.g.indent_blankline_char = '┊'
vim.g.indent_blankline_use_treesitter = true
vim.g.indent_blankline_show_current_context = true
vim.g.indent_blankline_filetype_exclude = {'help', 'packer'}

Maybe the same issue as #63 ?
Or it could be an issue with the order you set the variable and load the plugin.
The current system isn't great, I want to update this to use a lua setup function, that should fix these issues. Just need to find some time.
If nothing else works, you can also just define the autocommand yourself for now.
augroup IndentBlanklineContextAutogroup
    autocmd!
    autocmd CursorMoved * IndentBlanklineRefresh
augroup END

Maybe the same issue as #63 ?

I was lazy loading the plugin and requiring it on attach.
local custom_on_attach = function(client, bufnr)
  require'plugins._indent-blankline'
end

Or it could be an issue with the order you set the variable and load the plugin.

This was the issue. Moving vim.cmd[[packadd indent-blankline.nvim]] at the end solved it. Thanks :)


Test Istio release "Istio 1.12.9"

Istio recently (2022-07-12 15:46:51 +0000 UTC) released "Istio 1.12.9". Let's test it :rocket:.

Closing as we don't test 1.12.x.


Multiple failed push credential requests per call.

Please include following information for better support
What version of React Native are you running? 0.51.0
What version of react-native-twilio-programmable-voice are you running? 3.10.0
What device are you using? (e.g iOS9 simulator, Android 6 device)? Simulator ios10, ios10, android device 6.0.1
Is your app running in foreground, background or not running? App is in foreground.
Is there any relevant message in the log? I'm not sure what's relevant yet.
If using iOS, which pod version are you using? 2.0.0
Step to reproduce
Call from iOS device to Android device.
Advanced:
Have you tried adding break point in native handlers and see the logs printed?  Yes, but I'm not sure what's relevant.
can share a project with issue? Not really.
Did you try to reinstall the pods completely? Yes, I've done this more times than I can count.

I'm seeing multiple (5+) failed requests in the Twilio debugger when only one call is initiated.

It's only empty when I call from iOS to Android.  Android to iOS doesn't trigger the empty credential errors.  iOS simulator to iOS device doesn't trigger it either.  I'm now testing calls between real devices because the simulator seems to crash a lot and not accept incoming calls. Everything is client to client connection.
This is what I see in the call log.  One call results in an incoming call from the initial client, then the Twiml results in an outgoing dial that connects both clients.

My guess is that old tokens are being triggered because I've deleted those credentials that are missing and the server isn't serving those tokens anymore.  I've restarted the Node server many times.
I'm attempting to use VoIP Push Notifications to handle the incoming connection.  I've yet to see a notification on iOS.  I see the didReceiveIncomingPushWithPayload get triggered, but no notification appears, and I don't see any errors. Android notifications work fine.
I tried downgrading to 2.0.0-beta15, but my Android notifications stopped working.  I don't know where else to look to make this work properly.
I have two server routes to deliver push tokens for iOS and Android.  I was planning to add token storage in React Native and handle the refresh check there, but I wanted to solve this problem first.
My client JS looks like this...  it used to be identical to the recommended docs, but that was causing me issues,  and this seems to be working - for the most part.
async function initTelephony(uid) {
    try {
        const url = `${TWILIO_APP_URL}/accessToken?identity=${encodeURIComponent(uid)}&platform=${encodeURIComponent(platform)}`
        const request = new Request(url)
        const accessToken = await getAccessTokenFromServer(url)
        TwilioVoice.initWithToken(accessToken)

        if (Platform.OS === IOS){
            TwilioVoice.configureCallKit({
                appName:       'appname',                  // Required param
                imageName:     '',             // OPTIONAL
                ringtoneSound: '' // OPTIONAL
            })
        }
        else {
            requestMicrophonePermission() //this goes to React Native Android permissions
        }

    } catch (err) {
        console.log("init error: ", err)
    }
}

Here's the express path that Node is delivering.
(req, res) => {

        var resp = new VoiceResponse()
        const dial = resp.dial()
        res.writeHead(200, {
          'Content-Type':'text/xml'
        });
        dial.client({},req.body.To)
        res.end( resp.toString() )

Sometimes when a call connects I hear nothing but a loud noise - dunno if this is relevant or what to do about it besides initiate a new call.

Do iOS notifications work?  I don't see any errors in Xcode or any notifications. I tried setting this up with a fresh CSR.
Should I be using initWithTokenUrl on iOS?  It's my understanding that initWithToken should be the same cross platform.
Do I need to clear old tokens somewhere?
Where / How can I further debug the multiple failed notification requests?

@jheyer159 Thanks for filling in such a detailed issue. My apologies for not replying to this earlier!
Calling PSTN from iOS leaves Empty Credentials errors also for me, but the calls are delivered. I can also receive calls to the app.

Do iOS notifications work? I don't see any errors in Xcode or any notifications. I tried setting this up with a fresh CSR.
My understanding of iOS VOIP push notifications is that they are not normal APN notifications, in the way that you will need a special certificate in order to deliver them. Also you must configure debug = true to test on any app installed manually. Only Appstore and Testflight apps need debug=false.
Does this help? Also try to install Twilio official quickstart and see if the outcome is the same.

Should I be using initWithTokenUrl on iOS? It's my understanding that initWithToken should be the same cross platform.
They are equivalent

Do I need to clear old tokens somewhere?
I am not sure. Twilio might be able to answer this question.

Where / How can I further debug the multiple failed notification requests?
I was meant to ask Twilio this myself, but my stack of TODOs is just enormous! Also we should see if the latest Twilio pods solve somehow this problem (see #66 )

Please clarify as a matrix of in/out call VOIP/real and ios/Android which calls are delivered for your installation and which aren't
The loud noise is not common. But usually I deem testing calls on real device the only sensible thing to do.

I hope this was helpful and reach me with your findings.

We have discussed this issue with Twilio as well. They now remove credentials which are not valid anymore. This issue should be resolved.
Since a long time has passed I will be closing this issue. Read our repository update in #158. I invite you to reopen this issue when you still have problems so we can debug the problems together.


change elements: pre

close #39.
Already exists similar issue ( #40 ).
The <pre> tag is used with <code> tag.


TextOverflow.Ellipsis behaves inconsistently on Android and iOS

Describe the bug
TextOverflow.Ellipsis behaves inconsistently on Android and iOS
Affected platforms

iOS

Versions

Kotlin version*: 1.9.22
Compose Multiplatform version*: 1.6.0

To Reproduce
Text("Hello World! \nHello World!", maxLines = 1, overflow = TextOverflow.Ellipsis)

Expected behavior
Behavior consistent with Android
Screenshots
iOS:

Android:

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Sort extractors page based on usage

When I land on the extractors page I get plugins listed in alphabetical order right now and the top 8 I see are all no or very low usage taps. I wonder if we could do some simple sorting to put the most popular taps at the top, then you'd see gitlab/postgres/mysql/csv/mssql/github/spreadsheets-anywhere/bigquery/facebook/google-analytics/salesforce/zendesk.
Well known logos are better and if someone is simply browsing the hub to check it out and click on a random tap, they'll more likely open one with full clean documentation and high traffic.
We can have a debate about how to order them given the metrics we have right now but I think any way we choose will bring up more relevant results than a plain alphabetical sort:

all projects (variant level)
successful projects (variant level)
all executions (variant level)
successful executions (variant level)
~all projects (non-variant specific)~
~all executions (non-variant specific)~

@pnadolny13 I quite like this! I don't know the level of effort required, but for extractors in particular it may be worth it. cc @aaronsteers


implement page.title translation support thx to @ehguille

page titles are used in the previous/next links which were not
taken into account by the navigation translation logic
closes #88

@ehguille thanks for testing, this is available as version 0.43
enjoy!

Thanks! Already downloaded it :)
El mar, 8 feb 2022 a las 16:48, Ultrabug @.***>)
escribió:

@ehguille https://github.com/ehguille thanks for testing, this is
available as version 0.43
enjoy!
—
Reply to this email directly, view it on GitHub
https://github.com/ultrabug/mkdocs-static-i18n/pull/91#issuecomment-1032756171,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANI7TLJXEEB3B5R5PYYD7OTU2E3MDANCNFSM5NYQ4N2A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>


OSError: [WinError 126] The specified module could not be found

I try to do the code from 'load-sentiment.ipynb'.
But, error occurs. This is what it says
Traceback (most recent call last):
File "malaya_test.py", line 1, in
import malaya
File "C:\Users\User\Documents\Year 3\FYP\code\malaya test\malaya_init_.py", line 198, in
from . import augmentation
File "C:\Users\User\Documents\Year 3\FYP\code\malaya test\malaya\augmentation.py", line 7, in
from tensorflow.keras.preprocessing.sequence import pad_sequences
File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\tensorflow_init_.py", line 102, in
from tensorflow_core import *
File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\tensorflow_core_init_.py", line 28, in
from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
File "", line 1019, in handle_fromlist
File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\tensorflow_init.py", line 50, in getattr
module = self.load()
File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\tensorflow_init.py", line 44, in load
module = importlib.import_module(self.name)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2032.0_x64__qbz5n2kfra8p0\lib\importlib_init.py", line 127, in import_module
return bootstrap.gcd_import(name[level:], package, level)
File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\tensorflow_core\python_init.py", line 83, in
from tensorflow.python import keras
File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\tensorflow_core\python\keras_init.py", line 26, in
from tensorflow.python.keras import activations
File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\tensorflow_core\python\keras_init.py", line 26, in
from tensorflow.python.keras import activations
File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\tensorflow_core\python\keras\activations.py", line 23, in
from tensorflow.python.keras.utils.generic_utils import deserialize_keras_object
File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\tensorflow_core\python\keras\utils_init_.py", line 38, in
from tensorflow.python.keras.utils.multi_gpu_utils import multi_gpu_model
File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\tensorflow_core\python\keras\utils\multi_gpu_utils.py", line 22, in
from tensorflow.python.keras.engine.training import Model
File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\tensorflow_core\python\keras\engine\training.py", line 47, in
from tensorflow.python.keras.engine import training_arrays
File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\tensorflow_core\python\keras\engine\training_arrays.py", line 41, in
from scipy.sparse import issparse  # pylint: disable=g-import-not-at-top
File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\scipy_init_.py", line 136, in
from . import distributor_init
File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\scipy_distributor_init.py", line 61, in
WinDLL(os.path.abspath(filename))
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2032.0_x64__qbz5n2kfra8p0\lib\ctypes_init.py", line 364, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
I am not sure why this happens. Can anyone help me please

Make sure you installed tensorflow < 2.0,
Can you try,
import tensorflow as tf
tf.__version__

Make sure you installed tensorflow < 2.0,
Can you try,
import tensorflow as tf
tf.__version__

It returns this
'1.15.3'

try,
from tensorflow.keras.preprocessing.sequence import pad_sequences
pad_sequences([[1,2], [1,2,3]])

Your windows got library linking problem. I am not so sure how to fix that, this part,
File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\scipy_distributor_init.py", line 61, in
WinDLL(os.path.abspath(filename))
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2032.0_x64__qbz5n2kfra8p0\lib\ctypes_init.py", line 364, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found


Typo in screenshot

At step 5 in the section "Configure Azure AD SSO", the screenshot shows "Organization" but the spelling is wrong. See the text next to the red flag on the yellow background. This image was copied and pasted directly from the page.

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

ID: eb39c8bf-2709-c59d-94f8-6db76d21bcfb
Version Independent ID: f7122c2c-ef68-95b6-2273-edbc4bb89464
Content: Tutorial: Azure Active Directory integration with Atlassian Cloud
Content Source: articles/active-directory/saas-apps/atlassian-cloud-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@v-hagamp Can you please get this fixed?

@v-rant Please track this change.

#please-close


How can I visualize datasets?

Thank you for your wonderful work! I would like to see the changes in ScanObjectNN after some data augmentation operations. How can I visualize it?

@Enuang Thanks for your interests. Mabe you can refer this one and make some modifications to get what you want https://github.com/ma-xu/pointMLP-pytorch/issues/55#issuecomment-1226716347

@Enuang Thanks for your interests. Mabe you can refer this one and make some modifications to get what you want #55 (comment)
Thanks. And how can I visualize the training process?

Thanks. And how can I visualize the training process?

Thanks. And how can I visualize the training process?

You can track the training loss of each epoch


Upgrade all dependencies

This PR includes

upgrade all dependencies to latest
removal of reflect-metadata in favor of core-js
removal of ts-helper in favor of tslib (import helpers and do not emit helpers)

This is the latest pull request.

Any change it EVER gets to be merged ? One year without update is too long !


Error Found with AutoNormalize and dataset

Using this dataset.csv.zip

import pandas as pd
import autonormalize as an

data = pd.read_csv('dataset.csv.zip')
es = an.auto_entityset(data,
                       name="fraud",
                       index='id',
                       time_index='datetime')

Results in the following error:
ValueError: zero-size array to reduction operation maximum which has no identity

Full stack trace:
ValueError                                Traceback (most recent call last)
<ipython-input-5-930823aade43> in <module>
      7                        index='id',
      8                        time_index='datetime',
----> 9                        accuracy=0.50)

~/lib/python3.6/site-packages/autonormalize/autonormalize.py in auto_entityset(df, accuracy, index, name, time_index)
    133         entityset (ft.EntitySet) : created entity set
    134     """
--> 135     return make_entityset(df, find_dependencies(df, accuracy, index), name, time_index)
    136
    137

~/lib/python3.6/site-packages/autonormalize/autonormalize.py in find_dependencies(df, accuracy, index)
     25         within the contraints provided
     26     """
---> 27     deps = Dependencies(dfd.dfd(df, accuracy, index))
     28     if index is None:
     29         prim_key = normalize.choose_index(deps.find_candidate_keys(), df)

~/lib/python3.6/site-packages/autonormalize/dfd.py in dfd(df, accuracy, index)
     45             dependencies.add_unique_lhs(i)
     46     for i in tqdm(non_uniq):
---> 47         lhss = find_LHSs(i, non_uniq, df, partitions, accuracy, masks)
     48         dependencies.add_LHSs(i, lhss)
     49     return dependencies

~/lib/python3.6/site-packages/autonormalize/dfd.py in find_LHSs(rhs, attrs, df, partitions, accuracy, masks)
     97                 node.infer_type()
     98                 if node.category == 0:
---> 99                     if compute_partitions(df, rhs, node.attrs, partitions, accuracy, masks):
    100                         if node.is_minimal():
    101                             min_deps.add_dep(node.attrs)

~/lib/python3.6/site-packages/autonormalize/dfd.py in compute_partitions(df, rhs, lhs_set, partitions, accuracy, masks)
    314     # for approximate dependencies see TANE section 2.3s
    315     if accuracy < 1:
--> 316         return approximate_dependencies(list(lhs_set), rhs, df, accuracy, masks)
    317     part_rhs = partition(lhs_set.union(set([rhs])), df, partitions)
    318     # if part_rhs > df.shape[0] * rep_percent:

~/lib/python3.6/site-packages/autonormalize/dfd.py in approximate_dependencies(lhs_set, rhs, df, accuracy, masks)
    377         options = df[mask]
    378         _, unique_counts = numpy.unique(options[rhs].to_numpy(), return_counts=True)
--> 379         acc += unique_counts.sum() - unique_counts.max()
    380         if acc > limit:
    381             return False

~/lib/python3.6/site-packages/numpy/core/_methods.py in _amax(a, axis, out, keepdims, initial, where)
     28 def _amax(a, axis=None, out=None, keepdims=False,
     29           initial=_NoValue, where=True):
---> 30     return umr_maximum(a, axis, None, out, keepdims, initial, where)
     31
     32 def _amin(a, axis=None, out=None, keepdims=False,

ValueError: zero-size array to reduction operation maximum which has no identity

@gsheni Can you test this out with the issue19 branch of this repo to see if that resolves your issue? I was having similar problems on a different dataset and made some changes to approximate_dependencies that might fix your issue as well.

The branch does allow the autonormalize to progress further, but I got the following error with the above (attached dataset)
KeyError: 'Variable: country not found in entity'

100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 13/13 [24:53<00:00, 114.87s/it]
2020-04-02 10:18:24,380 featuretools.entityset - WARNING    index id not found in dataframe, creating new integer column
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-1-f1c5c82cc330> in <module>
      8                        index='id',
      9                        time_index='datetime',
---> 10                        accuracy=0.50)

~/autonormalize/autonormalize/autonormalize.py in auto_entityset(df, accuracy, index, name, time_index)
    133         entityset (ft.EntitySet) : created entity set
    134     """
--> 135     return make_entityset(df, find_dependencies(df, accuracy, index), name, time_index)
    136
    137

~/autonormalize/autonormalize/autonormalize.py in make_entityset(df, dependencies, name, time_index)
    108             relationships.append((child.index[0], child.index[0], current.index[0], child.index[0]))
    109
--> 110     return ft.EntitySet(name, entities, relationships)
    111
    112

~/autonormalize/venv/lib/python3.6/site-packages/featuretools/entityset/entityset.py in __init__(self, id, entities, relationships)
     84         for relationship in relationships:
     85             parent_variable = self[relationship[0]][relationship[1]]
---> 86             child_variable = self[relationship[2]][relationship[3]]
     87             self.add_relationship(Relationship(parent_variable,
     88                                                child_variable))

~/autonormalize/venv/lib/python3.6/site-packages/featuretools/entityset/entity.py in __getitem__(self, variable_id)
    154
    155     def __getitem__(self, variable_id):
--> 156         return self._get_variable(variable_id)
    157
    158     def _get_variable(self, variable_id):

~/autonormalize/venv/lib/python3.6/site-packages/featuretools/entityset/entity.py in _get_variable(self, variable_id)
    172                 return v
    173
--> 174         raise KeyError("Variable: %s not found in entity" % (variable_id))
    175
    176     @property

KeyError: 'Variable: country not found in entity'

@gsheni That was also an error I was seeing that I thought was resolved in this branch. I'll take another look and run with the dataset you attached to see what is going on.

@gsheni That was also an error I was seeing that I thought was resolved in the issue19 branch. I'll take another look and run with the dataset you attached to see what is going on.

I actually got a different error when I ran. Will continue to investigate both.
Traceback (most recent call last):
  File "test_issue19.py", line 18, in <module>
    time_index='datetime')
  File "/Users/nate.parsons/dev/autonormalize/autonormalize/autonormalize.py", line 135, in auto_entityset
    return make_entityset(df, find_dependencies(df, accuracy, index), name, time_index)
  File "/Users/nate.parsons/dev/autonormalize/autonormalize/autonormalize.py", line 110, in make_entityset
    return ft.EntitySet(name, entities, relationships)
  File "/Users/nate.parsons/dev/autonormalize/env/lib/python3.7/site-packages/featuretools/entityset/entityset.py", line 82, in __init__
    variable_types=variable_types)
  File "/Users/nate.parsons/dev/autonormalize/env/lib/python3.7/site-packages/featuretools/entityset/entityset.py", line 480, in entity_from_dataframe
    raise ValueError("time_index and index cannot be the same value, %s" % (time_index))
ValueError: time_index and index cannot be the same value, datetime

I'm not sure what is going on, but the dependencies that are being found appear to be quite complex for this input dataframe. Will require a more in depth investigation to really understand and diagnose this problem.


License scanning for SDK libraries

This is not-yet-done and was flagged as a follow-up action from

https://github.com/meltano/sdk/issues/743

cc @edgarrmondragon, @kgpayne

Some third-party options:

snik.io. I've never used it but dbt-labs folks do, and it can automatically create PRs for vulnerability fixes.

fossa.com. I've used it before and it runs in PRs that touch pyproject.toml/poetry.lock.

I had previously considered Snyk (Snik?), but I'm hesitant to use them because we would be only be able to run a limited number of tests per month unless we purchase one of their expensive plans. It would be unfortunate for our pipelines to begin failing just because we had run too many that month.
Fossa seems great. Thanks for the recommendation @edgarrmondragon.
I don't believe licensebat gives us anything that it's provided by actions/dependency-review-action (which is being added to the Meltano repository by https://github.com/meltano/meltano/pull/6403). It's probably worth using the same approach for both repositories for their Python dependencies and security analysis. They'll only differ since Meltano also needs container scanning, but the SDK does not.

thanks @WillDaSilva, I agree in using the same approach for both repos so I started https://github.com/meltano/sdk/pull/808.


to change the ui image of log in page

as i visit the website i found that logo image should be small and also that cloud transion should be removed because that is making website look so much  unethical and not pleasing for a user while login in it will just distract them.
so raising this issue under gssoc23 i hope u will assign me this

Hey @sandeep0009  thanks for opening the issue. Yah sure start working on this .

bro basically im not able to find the where does the login pages code is written and styling components of this page im unable to find if u dont mind can you please help me out

Hey @sandeep0009 thanks for opening the issue. Yah sure start working on this .

Yah sure brother . Will let u know by evening . Currently in clg .


Fix sizing of color picker dialog

Remove the forcing of a fixed height for color picker dialog. The height needs to change based on what colorpicker options are used.

https://github.com/Mergifyio backport release/3.2.x

@mergifyio backport release/3.2.x


Fatal error: cpr/cpr.h: No such file or directory

So I'm trying to get this to run
using namespace std;

#include <iostream>
#include <cpr>

int main(int argc, char** argv) {
    auto r = cpr::Get(cpr::Url{"https://api.github.com/repos/whoshuu/cpr/contributors"},
                      cpr::Authentication{"user", "pass"},
                      cpr::Parameters{{"anon", "true"}, {"key", "value"}});
    r.status_code;                  // 200
    r.header["content-type"];       // application/json; charset=utf-8
    r.text;                         // JSON text string
}

But when I try to run it in VSCode 2019, I get "fatal error: cpr/cpr.h: No such file or directory."
I've added ${workspaceFolder}/cpr/include to my includePath but no die.

Use common sense, replace 'cpr/cpr.h' with your includes working directory.

Copy this include folder to the include path directory of your development environment (or the one you predefined). Then add the following to your script #include <cpr/cpr.h>

Feel free to reopen this issue, if the answer from @kdeng00 did not resolve your problem.

Sir, I am also facing this problem , in my case for each #include my VS code can't search for header file in the working dir of main program (main.cpp) . means when I include header file as #include "cpr/cpr.h" its done just here but when in the cpr.h internal def of #include "api.h" executes then compiler search for api.h  file in 'cpr/cpr/api.h' becaouse of now the api.h have that 'cpr/' dir relative to main.cpp.
then it shows error :
cpr/cpr.h:4:10: fatal error: cpr/api.h: No such file or directory
4 | #include "cpr/api.h"
how can I solve this issue


Fix a compilation warning

This pull request fixes 1 alert when merging afdb7d26da479c6db1e39274d84367da399fb9c6 into c9743400f1ad8d18e76f377513911be81bb88606 - view on LGTM.com
fixed alerts:

1 for Wrong type of arguments to formatting function

Comment posted by LGTM.com


Fix memory leak on mesh collider destroy

Fixes #4267
I know it doesn't match the suggestion from the issue. However I think having a CollisionSystemImpl#destroyShape function sound more beneficial than making the parent class aware of an extension. It also removes override of the CollisionMeshSystemImpl#remove function and make sure there is an actual shape to destroy.
I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

Hey @LeXXik - you submitted the original issue. Got any thoughts here? 😄

I think it would be good if we add a test that covers this change. If you are short on time, I can add it later this week. The test would need to cover at least clearing of the collision shapes (primitive, compounds, mesh and triggers). We don't need to test Ammo, so its methods can be stubbed. We just need to make sure we are calling the destroy methods on our side whenever needed.

That makes sense and time is not really a problem to me. However I have to admit that I have absolutely no knowledge or skills on this matter and when I look at the existing tests none already handle Ammo which sound quite complex to mirror especially on complex shapes... I would love to learn so if you have any example I can use to do so I'll be more than happy to give it a try!

@MushAsterion you can take a look at these tests that handle Ammo, as an example:
https://github.com/playcanvas/engine/pull/4144/commits/2a07dacae527eb3abcabc0efafd884bd969398cc

Thank you @LeXXik! Took a bit of time but I managed to mirror Ammo based on the IDL from playcanvas/ammo.js repo and added the tests for destruction. Did my best to keep it simple but it might be still a bit messy...
I wasn't sure about creating a .mjs file only for Ammo but this way it keeps it separate since it is quite long. I know not all functions are used by the engine at the moment but as I was on it I just added everything based off the IDL so it won't cause issue if more features are used.

Perhaps you can then split this PR into two .. one which fixes the memory leak, and the test as a separate. This would allow us to merge the fix while waiting for latest Ammo.

Moved the tests to #5322!


Replaces deprecated table_exists with data_source_exists

Hi there! Any news?

@MartinJNash Can you merge this PR?


i18n(ko-KR): update content.mdx

Description (required)

update content.mdx
#9900

Related issues & labels (optional)

Closes #
Suggested label:

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

ko
community-resources/content.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@liruifengv Oh I forgot this, lol but if I merge my own PR, does it not have to have reviews?

@jsparkdev Congratulations on becoming a Astro maintainer! 🎉🎉🎉


Code not highlighted

Hi,
Describe the issue/behavior that seems buggy
-Javascript code
output :

declaration in html :

In script side, we get the code element :

We apply the instruction :

The result is that the code is not highlighted
Sample Code or Instructions to Reproduce
Use VS Code last version + vite for the local server for running the project in the zip file below :
ThreeJS-Tutorials.zip
Npm package installed :

for running vite local server :

instruction for the launch.json :

For going into the javascript side click on :

Expected behavior
The code should be highlighted with color synthax ?
when we apply :

Additional context
Best regards

If you're debugging why not step into our function and see what it's doing?
Are you loading a theme CSS file?  If there isn't an error most of the time someone had forgotten to load the CSS, etc.

hi @joshgoebel ,
yes, you're right , I've forgotten the style sheet :)
I put it :

and now I can see some code highlighted :


change permission of targetpath

Describe what this PR does
setting the permission of  targetpath to 777 will allow non-root user to write to pv
Signed-off-by: Madhu Rajanna<EMAIL_ADDRESS>

@humblec @ShyamsundarR PTAL

LGTM. Approved..

Any comments here @poornimag @ShyamsundarR

The solution to set the mode bits to 777 every publish seems like risky behavior. I understand that this was used for similar issues in other CSI implementations, and that a more generic Kubernetes alternative to pass in the fsgroup from the security context of the pod is in progress.
It would be really useful it to have an issue to track the same in this repository and get the final version of this fix in place once the Kubernetes end is fixed. @Madhu-1 If we have such an issue I can add my approval to this and we can move forward.

@humblec @JohnStrunk is there any issue created for this in kubernetes

Otherwise changes here look fine, and I have no other comments.

The solution to set the mode bits to 777 every publish seems like risky behavior. I understand that this was used for similar issues in other CSI implementations, and that a more generic Kubernetes alternative to pass in the fsgroup from the security context of the pod is in progress.
It would be really useful it to have an issue to track the same in this repository and get the final version of this fix in place once the Kubernetes end is fixed. @Madhu-1 If we have such an issue I can add my approval to this and we can move forward.

@humblec @JohnStrunk is there any issue created for this in kubernetes

Understood (offline) that this is being handled in possibly a few different ways in Kubernetes. For now, let's go ahead with this option.

Otherwise changes here look fine, and I have no other comments.