Segmentation fault

Hi Oros42
I am new to telephony and wanted to try your programs.
But, I have difficulties to run scan-and-livemon, gr-gsm and grgsm_livemon: I get segmentation fault each time.I am using RTL2832 from Nooelec.
And when I run python simple_imsi_catcher.py, even after 20 minutes I get nothing.
 Any recommendation about antenna ? Or what am I doing wrong?
And wireshark is empty too :(
wireshark -k -Y '!icmp && gsmtap' -i lo
I have Kali linux, and I blacklisted the driver like described in Kubon forum.
rtl_test works fine.
Here is the procedure I followed for making my RTL working:

Edit /etc/modprobe.d/raspi-blacklist.conf file and add the following lines
blacklist dvb_usb_rtl28xxu
blacklist dvb_usb_v2
blacklist rtl_2830
blacklist rtl_2832
blacklist r820t

sudo  apt-get install git build-essential cmake libusb-1.0-0-dev
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr
mkdir build
cd build
cmake ../ -DDETACH_KERNEL_DRIVER=ON -DINSTALL_UDEV_RULES=ON
make
sudo make install
sudo ldconfig

Here are outputs I have, in case it is useful for you, to help me solve the issue:
grgsm_livemon gr-osmosdr 0.1.4 (0.1.4) gnuradio <IP_ADDRESS> built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp  [INFO] [UHD] linux; GNU C++ version 8.2.0; Boost_106700; UHD_<IP_ADDRESS>-3 [INFO] Using format CF32. Segmentation fault
./scan-and-livemon  Locating potential GSM base station frequencies (this can take a few minutes). Segmentation fault
grgsm_scanner Segmentation fault
python simple_IMSI-catcher.py --sniff Nb IMSI ; TMSI-1     ; TMSI-2     ; IMSI              ; country      ; brand      ; operator              ; MCC  ; MNC   ; LAC    ; CellId
I tried with and without sniff, but the same.
I hope that you can help me to solve this.
By the way, is there a way to obtain imei too? I would like to just scan for a device/number in particular (mine), would it be possible? Or should I query from results (when I will get them)?
Thanks a lot in advance for your help and really congrats for your program!

I'm having the same issue. I either get segmentation fault, or just a return of 0 stations found after about 15min. Tried installing on different os. Made sure that my USB is recognized too.

Now I don't have segfault anymore, but simple_IMSI_Catcher.py still doesn't return anything. While grgsm_scanner works fine
What could be the reason why I don't get any result with the script? I am on linux, grgsm_scanner works fine but I would like to see if I find my IMSI among the IMSI returned by the script, however it doesn't show anything

Same issue with not seeing any output with it working as well.
On Tue, Jun 11, 2019, 2:20 PM jbdu94<EMAIL_ADDRESS>wrote:

Now I don't have segfault anymore, but simple_IMSI_Catcher.py still
doesn't return anything. While grgsm_scanner works fine
What could be the reason why I don't get any result with the script? I am
on linux, grgsm_scanner works fine but I would like to see if I find my
IMSI among the IMSI returned by the script, however it doesn't show anything
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Oros42/IMSI-catcher/issues/67?email_source=notifications&email_token=AKQINPTOLWK6JYW4GO6JFDLPZ7UFXA5CNFSM4GZ7VCRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXOBTHA#issuecomment-500963740,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKQINPRVYTTTTY6H4AV6I7LPZ7UFXANCNFSM4GZ7VCRA
.

I have you try :
python simple_IMSI-catcher.py
(no sudo and -s)

Hi Oros42
thanks but without  -s, it still doesn't display anything, even after 20 min !
I am root by default on my distro
It did work once, then no more.
The dongle is fine, I can run grgsm_scanner
I really want to use your program, I run kali linux (debian based)
By the way, is there a way in your program to display signal, like grgsm_scanner propose? It would be cool to get the IMSI and his signal strength from his cell, but first I would like to be able to obtain results from your program
My dongle is RTL2832

We are both clearly missing a step somewhere here. I have updated and
upgraded several times. Updated my rolling Kali repository. Tried running
the installation multiple times, but have the same issue that no data ever
starts showing up. Is it possible that we have installed from the wrong
list. I have tried it on Ubuntu as well, but same result. Any thing we need
to enable or disable? I have had trouble with blacklisting one of the
configurations with the RTL-SDR, can't remember the name right now, but no
luck. With a current version of Kali, which set of instructions do we
follow? I would like to just try it again with a new image.
On Wed, Jun 12, 2019 at 3:21 PM jbdu94<EMAIL_ADDRESS>wrote:

Hi Oros42
thanks but without -s, it still doesn't display anything, even after 20
min !
I am root by default on my distro
It did work once, then no more.
The dongle is fine, I can run grgsm_scanner
I really want to use your program, I run kali linux (debian based)
By the way, is there a way in your program to display signal, like
grgsm_scanner propose? It would be cool to get the IMSI and his signal
strength from his cell, but first I would like to be able to obtain results
from your program
My dongle is RTL2832
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Oros42/IMSI-catcher/issues/67?email_source=notifications&email_token=AKQINPRW3OWG2UB7CGVGPLDP2FEDBA5CNFSM4GZ7VCRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXRRBOY#issuecomment-501420219,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKQINPQ3RJFOMPFXIE3EJ73P2FEDBANCNFSM4GZ7VCRA
.

@jbdu94 euuuh did you run grgsm_livemon ?
Because grgsm_livemon show you the signal strength and redirect cell's packets to your localhost.
And simple_IMSI-catcher.py only listen your localhost and not directly the cell.
You have to find the good frequency in grgsm_livemon.

@Oros42
I ran grgsm_scanner, checked the best frequency (where the signal has a value closer to zero), and I put this frequency into grgsm_livemon.
Nothing however has been displayed in simple_imsi_catcher, even after 20min
NB: I changed a few time the freq in grgsm_livemon, the last one was the good one, it displayed stuff in hexadecimal, but no IMSI showed up in simple_imsi_catcher
#################################################################################
Here is the output of grgsm_livemon
grgsm_livemon
gr-osmosdr 0.1.4 (0.1.4) gnuradio <IP_ADDRESS>
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy airspyhf soapy redpitaya freesrp
[INFO] [UHD] linux; GNU C++ version 8.2.0; Boost_106700; UHD_<IP_ADDRESS>-3
RtApiAlsa::getDeviceInfo: snd_pcm_open error for device (hw:1,0), Device or resource busy.
Found Rafael Micro R820T tuner
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Exact sample rate is: 2000000.052982 Hz
[R82XX] PLL not locked!
Allocating 15 zero-copy buffers
[R82XX] No valid PLL values for<PHONE_NUMBER> Hz!
r82xx_set_freq: failed=-1
[R82XX] PLL not locked!


fix(deps): adds packaging module on Dockerfile

Add missing dependency packaging for pubtools-marketplacesvm

@mmalina PTAL

/ok-to-test

All of our build pipelines are broken (I have a support thread open for it) which fails the check here

Build pipeline fixed, can you rebase?

/ok-to-test


Fix project-resources template for apps with "-" in the name

CloudFormation logical IDs can't have dashes in the name. This
change "sanitizes" the logical IDs we generate in the project
resources stack.
We'll replace dashes with the word DASH (since caps aren't
allowed in app/project names - we won't have any collisions with
any real apps, which may have dash in their name).

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Would it simplify things to prevent - in names?

yes! But from the first bug bash, Clare mentioned really wanting to have a front-end app.


Feature/entity set cast

Description
I have added a public method setCast to the CodeIgniter\Entity class.
As I was hashing entity ids with the casting functionality there were problems when I wanted to update such entity.
After some searching I have found out that the $_cast variable is messing me up, so I made this method.
There would be no problem but as this var is private I had do change the CodeIgniter\Entity class, and this means that my app will break after every framework update.
There is a way around it, and right now I am using it, but its too much for my taste and adding a simple setter to the class is way better.
Current workaround:
use CodeIgniter\Entity;
use CodeIgniter\Model;
use ReflectionProperty;

class BaseModel extends Model
{
    public function save($data): bool{
        $entityReflection = new ReflectionProperty(Entity::class, '_cast');
        $entityReflection->setAccessible(true);
        $entityReflection->setValue($data, false);
        $result = parent::save($data);
        $entityReflection->setValue($data, true);
        return $result;
    }
}

And here we have the code after adding the method to CodeIgniter\Entity:
use CodeIgniter\Model;

class BaseModel extends Model
{
    public function save($data): bool{
        $data->setCast(false);
        $result = parent::save($data);
        $data->setCast(true);
        return $result;
    }
}

Checklist:

[x] Securely signed commits
[x] Component(s) with PHPdocs
[x] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

I've extended the Entity::castAs function and have something like protected $casts=['id'=>'hash'], so in Model::save (line 549) $response = $this->update($data->{$this->primaryKey}, $data); the id is cast by the magic getter.
I'll try to write tests next week, I'm not good at those not gonna lie. If you can provide one that does a similar task that would be helpful :)
Commits squashed ;)

I don't think if there are existing tests for the casting. The general idea for the test is since you will be changing the behavior of $_casts to false, then test is expected that casting of variables will not happen. So, if you have set the $casts property to include 'id' => 'string', then I would expect that if my original ID is an integer then no changes will happen. It will remain as int instead of the casted string.

We can't use setCast() because this would trigger anytime someone wanted to use their own "cast" attribute, due to the magic __set():
$entity->cast = 'Philip';

I suggest using simply cast(), and make it return the current value of $_cast when no parameter is supplied.

I've changed the function name to cast as suggested, also test were added :)

@mikouaji thank you for your first contribution :)


Styling for gallery list view

Added styles for gallery list view in asset-admin
and added a DataFormat library for formatting particular data in specific ways
See https://github.com/silverstripe/silverstripe-asset-admin/issues/278 for more details
Please merge https://github.com/silverstripe/silverstripe-asset-admin/pull/327 after this

There's a missing progress indicator when uploading files in gallery view.
Files also temporarily display NaN GB as files size.


Bumped Nuget packages and fixed a Tokencalculation bug

Renamed the Proxy project and all namespaces
Bumped Nuget packages to latest versions
TikTokenSharp expects "gpt-3.5-turbo" as a model name, but AzureOpenAI uses gpt-35-turbo as a name. Fixed this to get correct token calculation

src/Azure.OpenAI.ChargebackProxy/Azure.OpenAI.ChargebackProxy.csproj can be deleted
.gitignore now ignores visual studio folder .vs, csproj.user and deleted some test files from the ignore.


simple-sticky-notes: Add version 5.7

[x] I have read the Contributing Guide.

/verify

/verify


System.FormatException in LoggingExtensions

Title
When logging level is Debug, calling XmlKeyManager.ProcessKeyElement(XElement keyElement) will cause a System.FormatException: Input string was not in a correct format. exception
Functional impact
Unable to use DataProtection API (and therefore any authentication)
Minimal repro steps
dnx451 with dnx 1.0.0-rc2-20213 clr x86 win
All AspNetCore assemblies are 1.0.0-rc2-20230 (from aspnetcidev)
Project is available : https://github.com/NatMarchand/FormatExceptionRepro
Using MVC + OpenIdConnect authentication
When navigating to a restricted uri (with [Authorize] on controller or method)
LogLevel = Debug (works correctly in LogLevel = Information)
Expected result
No exception (and logging "found key")
Actual result
Error 500 :
System.Format exception : Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
Further technical details
System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
   at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
   at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
   at System.String.Format(IFormatProvider provider, String format, Object[] args)
   at System.Diagnostics.Debug.WriteLine(String format, Object[] args)
   at Microsoft.Extensions.Logging.Debug.DebugLogger.DebugWriteLine(String message, String name)
   at Microsoft.Extensions.Logging.Debug.DebugLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func3 formatter)
   at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func3 formatter)
   --- End of inner exception stack trace ---
   at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func3 formatter)
   at Microsoft.Extensions.Logging.LoggerMessage.<>c__DisplayClass5_01.<Define>b__0(ILogger logger, T1 arg1, Exception exception)
   at Microsoft.Extensions.Logging.LoggingExtensions.FoundKey(ILogger logger, Guid keyId)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.ProcessKeyElement(XElement keyElement)

We ran into this exact issue I think, although we're using CookieAuthentication.  The problem is here:
https://github.com/aspnet/DataProtection/blob/dev/src/Microsoft.AspNetCore.DataProtection/LoggingExtensions.cs#L372
The GUID is formatted with the :B switch which results in putting braces around the GUID.  Eventually this ends up in a call to System.Diagnostics.Debug.WriteLine(message, name).  Message has the curly braces in it around the GUID and it blows up here because it can't format the string.

+1 having this issue too.

@Eilon please allocate as you see fit.

@muratg 's team. But if no one available, I can find someone ASAP.

Assigned to @BrennanConroy.  We should add a test case as well.

Fixing in ad487c76e16e52474572694d98feafd78575318d
Will close when it goes through the CI


Faux Rows while Loading

Per my discussion with @gdi2290 , it would be cool to add a faux row collection while the datatable is loading until server data is inserted. Like facebooks fake post filler.

I opened issue for this 1 month ago nop? https://github.com/swimlane/angular2-data-table/issues/139

Yes same thing.


feat: Bump github.com/wapc/wapc-guest-tinygo to v.0.3.1

wapc-guest-tinygo works with tinygo >= 0.19.0.

We will need to cut a new release after merging this, to be consumed.

Doh, indeed, thanks. Removed, I suppose I staged incorrectly at first.

LGTM too


Emscripten console loging API has changed since 3.41

From Emscripten change log:

3.1.40 - 05/30/23

The _emscripten_out(), _emscripten_err() and _emscripten_dbg() functions
declared in emscripten/console.h no longer have the underscore prefix and
are now documented. (#19445)

So please make appropriate changes for libs/utils/src/Log.cpp

Yes it is:

But what if the Emscripten version less than 3.1.40?
The logging function still has underscore prefix, while after & equal 3.1.40, there are still underscore prefix Legacy/internal name fail back.

you may use macros I guess:

3.1.4

The __EMSCRIPTEN_major__, __EMSCRIPTEN_minor__ and __EMSCRIPTEN_tiny__
macros are now available via the emscripten/version.h header file.  For the
time being, unless you enable -sSTRICT, these are still also defined
directly on the command line.  If you use these macros please make sure you
include emscripten/version.h (or emscripten.h which indirectly includes
it). (#16147)


A mistake on OOP in JavaScript

Describe the Issue
I have been learning  OOP in JavaScript on freeCodeCamp. But I found a mistake.
function Bird(name) {
  this.name = name;
}

const duck = new Bird('Donald');

Bird.prototype = {
  numLegs: 2,
  eat: function() {
    console.log("nom nom nom");
  },
  describe: function() {
    console.log("My name is " + this.name);
  }
};

duck.constructor === Bird;
duck.constructor === Object;
duck instanceof Bird;

If we setting the prototype to a new object while forgetting to define the contructor. We should the following output:
duck.constructor === Bird; // true
duck.constructor === Object; // false
duck instanceof Bird; // false

While the curicullum shows this:
duck.constructor === Bird; // false
duck.constructor === Object; // true
duck instanceof Bird; // true

By the way, there's nothing meaningful for this line of code duck.constructor === Object;, it should be removed.
Affected Page
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/object-oriented-programming/remember-to-set-the-constructor-property-when-changing-the-prototype
Your code
In order, these expressions would evaluate to true, false, and false.
Expected behavior
Nothing
Screenshots
No response
System

Device: MacBook Air, m2 2022
OS: macOS 14.0 (23A344)
Browser: Chrome
Version: 117.0.5938.149 (Official Build) (arm64)

Additional context
No response

I test this on replit, here is the link:
https://replit.com/@DevinJohw/An-Issue-on-freeCodeCamp-Course

This looks to me like a matter of code ordering. If creating new instance of Bird and changing Bird.prototype are swapped in order, then checks against duck are as expected.
function Bird(name) {
  this.name = name;
}

Bird.prototype = {
  numLegs: 2,
  eat: function() {
    console.log("nom nom nom");
  },
  describe: function() {
    console.log("My name is " + this.name);
  }
};

const duck = new Bird('Donald');

console.log(duck.constructor === Bird); // false
console.log(duck.constructor === Object); // true
console.log(duck instanceof Bird); // true

It seems I misunderstood that. If so, other people more than me would misunderstood this too. So it would be a good choice to clarify this. I will recreate a PR for this.

Please wait with creating PR until it is decided whether if or how this would need to be clarified. If you have something specific in mind feel free to write it in this issue.

Sorry, I didn't see your message. I have closed my PR, waiting with creating PR until it is decided whether if or how this would need to be clarified.

Yeah, this seems fine to me as is

There is one crucial side effect of manually setting the prototype to a new object. It erases the constructor property! This property can be used to check which constructor function created the instance, but since the property has been overwritten, it now gives false results:

I think if you carefully read the text it explains why the order matters. Calling the constructor function before and after the constructor property has been overwritten by manually setting the prototype won't give the same result.

Hello, i have been going through your issue. But i cant find the relevant file here. can you assign me to this issue?

Hello, i have been going through your issue. But i cant find the relevant file here. can you assign me to this issue?

It is on the affected page.
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/object-oriented-programming/remember-to-set-the-constructor-property-when-changing-the-prototype

Hello, i have been going through your issue. But i cant find the relevant file here. can you assign me to this issue?

Hey @sachinNishalka
We typically do not assign issues. Instead, we accept the first pull request that comprehensively solves the issue.
Issues labelled with help wanted or first timers only are open for contributions.
Please make sure you read our guidelines for contributing. We prioritize contributors following the instructions in our guide. Join us in our chat room or the forum if you need help contributing - our community will be happy to assist you.


Rosetta CI fix

Fixes Rosetta CI integration test.

!ci-build-me

!ci-nightly-me

https://buildkite.com/o-1-labs-2/mina-end-to-end-nightlies/builds/2609#019232bb-4920-41a9-b478-d011a5bb73f0

!ci-build-me


newly trained tesseract model not  working

We have trained tesseract  with custom data having 2000 images for 10k iteration.The  size of the trained file (digitsmodel.traineddata) is very less (5.1 KB).
When we  are testing the newly trained model,we are getting the following error
raise TesseractError(status_code, get_errors(error_string))
pytesseract.pytesseract.TesseractError: (1, "Error: LSTM requested, but not present!! Loading tesseract. Failed loading language 'digitsmodel' Tesseract couldn't load any languages! Could not initialize tesseract.")

Use the generated trained data from the data directory data/digitsmodel.traineddata

@vijayrajasekaran Thank you very much for your hint! @kiransab Still an issue?

@wrznr @kiransab I have the same problem, did you manage to find what the solution is? At the end of the training, output was something like that:
2 Percent improvement time=975, best error was 3.143 @ 5376
At iteration 6351/10000/10000, Mean rms=0.492%, delta=0.284%, char train=1.013%, word train=3.54%, skip ratio=0%,  New best char error = 1.013 wrote best model:data/checkpoints/pts1.013_6351.checkpoint wrote checkpoint.

Finished! Error rate = 1.013
lstmtraining \
--stop_training \
--continue_from data/checkpoints/pts_checkpoint \
--traineddata data/pts/pts.traineddata \
--model_output data/pts.traineddata
Loaded file data/checkpoints/pts_checkpoint, unpacking...

I have tried both data/pts.traineddata and data/pts/pts.traineddata, but got the same output:
TesseractError: (1, "Failed to load any lstm-specific dictionaries for lang pts!! Failed loading language 'pts' Tesseract couldn't load any languages! Could not initialize tesseract.")
I'm using it with pytesseract, but other .traineddata files work well.

Mates, I found what the issue is for me. I was using tesseract in "--oem 2 (legacy+lstm)" mode, but realized that the code in this repo cannot produce ".box" files (it produces, but only emty files), so it doesn't work for legacy mode. It can work only in "--oem 1 (only lstm)" mode.

Many thanks for your helpful solution!


java.lang.NullPointerException when compiling

I am new to Haskell, I just installed the plugin for intellij Idea (community edition) and created a new Haskell module (called 'test2').
When trying to compile it, I got the following error:
Error:Module 'test2' production: java.lang.NullPointerException

Screencast: https://jetbrains1.viewscreencasts.com/embed/62aeeac6265a4d2393395154eaaed6d2

i receive the same error in intellij idea


Use actual interface orientation instead of the device one

Use actual interface orientation instead of the device one to fix misplaced progress view when orientations do not match
Progress view is misplaced when the device is in landscape orientation, but application is portrait-only.

Progress view is still misplaced on devices that run on iOS 8+
Since iOS 8, [UIScreen mainScreen].bounds is orientation-dependent, this solution is incorrect when devices run on iOS 8+.
Below screenshot is captured from iPad simulator iOS 10.2 with IDMPhotoBrowser 1.11.1:


Memcached HHVM compatibility and reduced duplicated code

@Maks3w @Ocramius Is this PR ready for merge now?

@Maks3w @Ocramius ping


trouble installing augsynth in RStudio

Bug description
code run
remotes::install_github("ebenmichael/augsynth")
error message
'"C:\Users\xxx~1\AppData\Local\Programs\R\R-42~1.1/bin/x64/Rterm.exe"' is not recognized as an internal or external command,
operable program or batch file.
Error: Failed to install 'augsynth' from GitHub:
! System command 'Rcmd.exe' failed
Checked if available for current RStudio version
pkgbuild::with_build_tools(install.packages("ebenmichael/augsynth", type = "source"))
result
Warning in install.packages :
package ‘ebenmichael/augsynth’ is not available for this version of R
Is this an issue with the version of R or something to do with permissions on my pc or .... ? (i am on a work device)
Session information
R version 4.2.1 (2022-06-23 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19044)
Reproduction steps
library(remotes)
library(devtools)
library(pkgbuild)
library(pkgconfig)
library(usethis)

pkgbuild::check_rtools(TRUE)
Found in Rtools 4.2 installation folder
[1] TRUE
pkgbuild::has_rtools(TRUE)
Found in Rtools 4.2 installation folder
[1] TRUE
pkgbuild::has_build_tools(debug=TRUE)
Found in Rtools 4.2 installation folder
[1] TRUE
devtools::find_rtools(debug=TRUE)
Found in Rtools 4.2 installation folder
[1] TRUE

install.packages("C:/Users/xxx/Downloads/LowRankQP_1.0.5.tar.gz", repos = NULL, type = "source")
'"C:\Users\xxxI~1\AppData\Local\Programs\R\R-42~1.1/bin/x64/Rterm.exe"' is not recognized as an internal or external command,
operable program or batch file.
Warning in install.packages :
installation of package ‘C:/Users/xxx/Downloads/LowRankQP_1.0.5.tar.gz’ had non-zero exit status
install.packages("C:/Users/LiamMiddleton/Downloads/Synth_1.1-6.tar.gz", repos = NULL, type = "source")
'"C:\Users\xxxI~1\AppData\Local\Programs\R\R-42~1.1/bin/x64/Rterm.exe"' is not recognized as an internal or external command,
operable program or batch file.
Warning in install.packages :
installation of package ‘C:/Users/xxx/Downloads/Synth_1.1-6.tar.gz’ had non-zero exit status
remotes::install_github("ebenmichael/augsynth")
devtools::install_github("ebenmichael/augsynth")
Expected behavior
Unable to install geolift due to pre requisites not installing
Output goes here

Additional context
Add any other context about the problem here. (like proxy settings, network setup, overall goals, etc.)

Hi @LMiddles, this recent issue is caused by a dependency that has recently been removed from CRAN. We recommend following the updated installation instructions to get synth, LowRankQP, and augsynth.


Reorganise Jenkins doc, document rate limit

Reorganise Jenkins docs, try to remove impression that using custom
script deployment is less secure. Document issue with login rate limit
https://www.pivotaltracker.com/story/show/136104045
"In our current jenkins docs
(https://github.com/alphagov/paas-tech-docs/blob/01a111ddb7ea95951e2f0d2
c809b317acc292fd5/source/documentation/deploying_apps/jenkins.md), we
recommend users log in every time job runs. This is so that they don't
have to handle secure storage of CF secrets (which is a file with a
logged-in token cf CLI produces after logging in). However our platform
has protection to lock accounts that log in 5 times in 5 minutes. If
someone has a lot of jenkins jobs, or small jobs that run often, they
can easily hit this limit and lock themselves out. As it has already
happened once and support request had to be risen to analyse and
resolve the situation.
We should either document this (that there is a lockout and what
criteria trigger it) or instead think about secure handling of
logged-in credentials and recommend that to users instead."

I have double checked the login rate limit and there is none, it's only for failed attempts. I think we can remove this paragraph for now from docs.
On the other side, what is really not nice is that when your account is locked out, you only get 'login failed' message without telling you that you are locked. This then seems like your password is wrong or expired. People then might ask support to reset their PW - whereas in practice, they should have waited 5 mins first and try to log in again. Only then if that fails ask support for new PW.

LG, merging

On the other side, what is really not nice is that when your account is locked out, you only get 'login failed' message without telling you that you are locked.

I believe it's intentional because it makes it harder to brute force passwords.


Fix typos in Single-Width Integer Multiply-Add.

Fixing typos in 12.13. Vector Single-Width Integer Multiply-Add Operations.

Looks good, thank you!


updated openssl version

current is  openssl-1.0.2f

Hi @SimonPe
Thank you for opening an issue. We always update to the latest openssl when we publish a new build. Additionally, Vagrant is not designed for real production scenarios, so the attack vector is relatively small.

@sethvargo The main problem is that the openssl people don't keep their old versions around, which breaks rebuilding the substrate.
This in turn breaks distribution package rebuilds (in this case I was trying to rebuild the archlinux package)

Hi @SimonPe
Ah yes. This is correct. We cache them internally for that reason, but I understand how that can be frustrating if you just want to build your own installers. If you want to bump the ossl versions in a PR, I'll merge it :smile:

created pull request #80

Resolved by #107


Rework dovecot module, add and update plugins, default Dovecot to 2.2

This makes quite a few changes into our Dovecot packages and modules:

dovecot now defaults to dovecot22. dovecot_pigeonhole doesn't even build with the old version, and we support it better via our patches.
dovecot_pigeonhole is updated, and dovecot_antispam is added as new Dovecot plugins.
Our modules directory patch now changes modules dir into /etc/dovecot/modules. This gives us cleaner NixOS module (environment.etc instead of preStart script).
ExecReload command is added.
Dovecot users and groups now added only if their names haven't changed (as per our convention in other modules).
We now create /run/dovecot2 via systemd.
New protocols option is introduced. My own use case if sieve protocol, I imagine it can be used for other protocols added by plugins.
sieveScripts option is added, which allows us to specify system-wide Sieve scripts which will be compiled automatically.
mailUser and mailGroup options added -- primarily because pigeonhole uses daemon with mail_uid user to access system-wide sieve scripts (and to store cache files).

I like the technical content, but it will be a little while before I can try this.

:+1: for the changes and :+1: cause it does not break my config.

I'll merge this in a few days if noone objects.


AD294 - dependabot spotbugsfix

Summary
Refactoring to address spot bugs findings
SpotBugs Error
110
	Short Message:		May expose internal representation by returning reference to mutable object
111
	Long Message:		software.amazon.documentdb.jdbc.DocumentDbConnection.getMetaData() may expose internal representation by returning DocumentDbConnection.metadata
112
	Source of Error:	At DocumentDbConnection.java:[line 103]

Description
Refactoring for the metadata, made it final the DocumentDBConnection.
Related Issue
https://bitquill.atlassian.net/browse/AD-294
Additional Reviewers
@birschick-bq
@mitchell-elholm
@alexey-temnikov
@andiem-bq

Close PR for now. We can recreate/reopen later


fix: YouEclipse/waka-box-go#37

LGTM

@YouEclipse looks like tests are failing due to a bad API key. Can you check and update this?


Plotting empty Points crashes matplotlib backend

When df has no rows then plotting hv.Points(df, ['x', 'y']) with the maptlotlib backend leads to the following exception:
...
  File "/home/.../miniconda3/lib/python3.7/site-packages/holoviews/util/__init__.py", line 749, in save
    return renderer_obj.save(obj, filename, fmt=fmt)
  File "/home/.../miniconda3/lib/python3.7/site-packages/holoviews/plotting/renderer.py", line 549, in save
    plot = self_or_cls.get_plot(obj)
  File "/home/.../miniconda3/lib/python3.7/site-packages/holoviews/plotting/renderer.py", line 207, in get_plot
    plot.update(init_key)
  File "/home/.../miniconda3/lib/python3.7/site-packages/holoviews/plotting/mpl/plot.py", line 243, in update
    return self.initialize_plot()
  File "/home/.../miniconda3/lib/python3.7/site-packages/holoviews/plotting/mpl/plot.py", line 48, in wrapper
    return f(self, *args, **kwargs)
  File "/home/.../miniconda3/lib/python3.7/site-packages/holoviews/plotting/mpl/element.py", line 1054, in initialize_plot
    subplot.initialize_plot(ranges=ranges)
  File "/home/.../miniconda3/lib/python3.7/site-packages/holoviews/plotting/mpl/plot.py", line 48, in wrapper
    return f(self, *args, **kwargs)
  File "/home/.../miniconda3/lib/python3.7/site-packages/holoviews/plotting/mpl/element.py", line 508, in initialize_plot
    handles = self.init_artists(ax, plot_data, plot_kwargs)
  File "/home/.../miniconda3/lib/python3.7/site-packages/holoviews/core/options.py", line 200, in __exit__
    raise AbbreviatedException(etype, value, traceback)
holoviews.core.options.AbbreviatedException: ValueError: zero-size array to reduction operation minimum which has no identity

This is within a bigger plot that contains other non-empty elements. It would be good if this is handled more gracefully, otherwise I have to put guards around the places where the dataframe may be empty (caused by filtering).
Note: I haven't checked this with other elements or backends.

Thanks @letmaik, all elements and backends should allow empty plots but I think this is only effectively tested for the bokeh backend.


DRY, KIS(s), YAGNI (self-assessment)

https://github.com/AKeeganDev/To_Do_List/blob/6c33bce77463b0aa385e54059bd6e206a6ca0ad4/src/style.scss#L8
Here I reused the specific code already used in a declared variable
https://github.com/AKeeganDev/To_Do_List/blob/6c33bce77463b0aa385e54059bd6e206a6ca0ad4/src/style.scss#L44
https://github.com/AKeeganDev/To_Do_List/blob/6c33bce77463b0aa385e54059bd6e206a6ca0ad4/src/style.scss#L53
Here I reuse the same code that could be held in a variable to adjust the style of these specific elements
https://github.com/AKeeganDev/To_Do_List/blob/6c33bce77463b0aa385e54059bd6e206a6ca0ad4/src/style.scss#L88
https://github.com/AKeeganDev/To_Do_List/blob/6c33bce77463b0aa385e54059bd6e206a6ca0ad4/src/style.scss#L95
https://github.com/AKeeganDev/To_Do_List/blob/6c33bce77463b0aa385e54059bd6e206a6ca0ad4/src/style.scss#L127
https://github.com/AKeeganDev/To_Do_List/blob/6c33bce77463b0aa385e54059bd6e206a6ca0ad4/src/style.scss#L136
Here I reuse the same code that could be held in a variable to adjust the style of these specific elements

YAGNI
https://github.com/AKeeganDev/To_Do_List/blob/6c33bce77463b0aa385e54059bd6e206a6ca0ad4/src/style.scss#L110-L112
This was never used. I actually remember removing this because I thought I added it for another reason. this changes the display of the input arrow and makes the arrow point inward towards the text. This is currently unused, but is intended to be used. I will implement this after the DRY, KISS & YAGNI exercises this week


Handle camera permission not allowed

We will update this with a better visual at a later time. For now just a message that tells the user what happened.

LGTM


Add binary_roc_curve

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (21439c2) to head (7b9baf9).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #149   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           46        48    +2
  Lines         1106      1117   +11
  Branches       127       127
=========================================
+ Hits          1106      1117   +11

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


chore(deps): bumping regex-syntax

The regex-syntax introduces breaking changes between 0.6 and 0.7.
This PR tries to bump the regex-syntax dependency, to make Logos a bit more future-proof regarding that :-)
Major changes
Since regex-syntax seems to do some optimization on the HIR, some patterns see their priority be affected by this.
E.g.: "a|b" (priority = 2) is optimized into "[a-b]" (priority = 2).
Those optimizations also result in better performances for Logos, so I suggest to not go against them :-) See benchmark below.
As a result, this PR proposes to change the priority of classes, so that equivalent regex patterns have the same priority. This "rule" is tested in logos-codegen/src/mir.rs.
This is a breaking change, but will hopefully never change in the future, as regex HIRs cannot be optimized in something else than an equivalent pattern.

NOTE: this should be documented in the release notes, as well as in the book. Maybe after #319 is merged?

Funny enough: I also tried to update all dependencies in the logo eco system (not just regex-syntax).
Now only the test fail for me and this is two folded.
First, literals are not just one byte/char at a time, but instead a whole string/byte slice.
Therefore the following line should be changed as following:
https://github.com/maciejhirsz/logos/blob/e2702f6a742a48061cd060081f03d5297286cd2b/logos-codegen/src/mir.rs#L75
Mir::Literal(lit) => 2 * lit.0.len()
Second, regex-syntax does some crazy optimization, e.g. a|b is not an alternation, but instead a class, e.g. a..=b and this is correct. Even a|c is not an alternation, but a Class of a..=a, c..=c, which is all correct, but this means that some calculations are in the test cases are "wrong".
I'm not entirely sure, if they should be dropped or relaxed, but this works:
--- a/logos-codegen/src/graph/regex.rs
+++ b/logos-codegen/src/graph/regex.rs
@@ -207,7 +206,7 @@ mod tests {

         let mir = Mir::utf8("a|b").unwrap();

-        assert_eq!(mir.priority(), 2);
+        assert!((1..=2).contains(&mir.priority()));

diff --git a/logos-codegen/src/mir.rs b/logos-codegen/src/mir.rs
index 18a6307..5f258e8 100644
--- a/logos-codegen/src/mir.rs
+++ b/logos-codegen/src/mir.rs
@@ -207,17 +204,17 @@ mod tests {
     #[test]
     fn priorities() {
         let regexes = [
-            ("[a-z]+", 1),
-            ("a|b", 2),
-            ("a|[b-z]", 1),
-            ("(foo)+", 6),
-            ("foobar", 12),
-            ("(fooz|bar)+qux", 12),
+            ("[a-z]+", (1..=1)),
+            ("a|b", (1..=2)),
+            ("a|[b-z]", (1..=1)),
+            ("(foo)+", (6..=6)),
+            ("foobar", (12..=12)),
+            ("(fooz|bar)+qux", (12..=12)),
         ];

         for (regex, expected) in regexes.iter() {
             let mir = Mir::utf8(regex).unwrap();
-            assert_eq!(mir.priority(), *expected);
+            assert!(expected.contains(&mir.priority()));
         }
     }
 }

Funny enough: I also tried to update all dependencies in the logos eco system (not just regex-syntax). Now only the test fail for me and this is two folded.
First, literals are not just one byte/char at a time, but instead a whole string/byte slice.
Therefore the following line should be changed as following:
https://github.com/maciejhirsz/logos/blob/e2702f6a742a48061cd060081f03d5297286cd2b/logos-codegen/src/mir.rs#L75
Mir::Literal(lit) => 2 * lit.0.len()
Second, regex-syntax does some crazy optimization, e.g. a|b is not an alternation, but instead a class, e.g. a..=b and this is correct. Even a|c is not an alternation, but a Class of a..=a, c..=c, which is all correct, but this means that some calculations are in the test cases are "wrong".
I'm not entirely sure, if they should be dropped or relaxed, but this works:
--- a/logos-codegen/src/graph/regex.rs
+++ b/logos-codegen/src/graph/regex.rs
@@ -207,7 +206,7 @@ mod tests {

         let mir = Mir::utf8("a|b").unwrap();

-        assert_eq!(mir.priority(), 2);
+        assert!((1..=2).contains(&mir.priority()));

diff --git a/logos-codegen/src/mir.rs b/logos-codegen/src/mir.rs
index 18a6307..5f258e8 100644
--- a/logos-codegen/src/mir.rs
+++ b/logos-codegen/src/mir.rs
@@ -207,17 +204,17 @@ mod tests {
     #[test]
     fn priorities() {
         let regexes = [
-            ("[a-z]+", 1),
-            ("a|b", 2),
-            ("a|[b-z]", 1),
-            ("(foo)+", 6),
-            ("foobar", 12),
-            ("(fooz|bar)+qux", 12),
+            ("[a-z]+", (1..=1)),
+            ("a|b", (1..=2)),
+            ("a|[b-z]", (1..=1)),
+            ("(foo)+", (6..=6)),
+            ("foobar", (12..=12)),
+            ("(fooz|bar)+qux", (12..=12)),
         ];

         for (regex, expected) in regexes.iter() {
             let mir = Mir::utf8(regex).unwrap();
-            assert_eq!(mir.priority(), *expected);
+            assert!(expected.contains(&mir.priority()));
         }
     }
 }

Oh yeah... this optimization is quite annoying, and seems to be caused by the AST to HIR translator, see https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=6e993bda9d1d375ea2dd0bd3927a38a6.
If think there are three possible solutions to this:

revert back to regex-syntax v0.6 and never upgrade;
update the class' priority to 2, which is a breaking change, but satisfy the rule that "equivalent regexes the same priority". I worked a bit on that, but a lot of tests must be updated;
use regex-syntax's AST, which seems to be not optimized, instead of the HIR, or use a custom AST to HIR translator (I am not sure that optimization can be turned off).

It is also important to check whether regex-syntax's optimizations are actually impacting (or not) Logos' performances :'-)

Ok so I did a small benchmark to compare equivalent patterns, and it seems that optimizing alternations into classes (at least a range) can improve performances, see this example:

can improve performances

Yeah I thought so ;) Why should they do that, if not for performance :D
I mean, honestly: There's no reason for us so stick to "old" behavoir. We just need to make sure, that priorities do not conflict with each other. And I think we can do this with more tests, but IMHO we shouldn't block the upgrade just because old tests are not working.

can improve performances

Yeah I thought so ;) Why should they do that, if not for performance :D

True! But optimizations in the regex-syntax crate do not necessarily translate into performance gains with Logos, so testing is always good ;-)

I mean, honestly: There's no reason for us so stick to "old" behavoir. We just need to make sure, that priorities do not conflict with each other. And I think we can do this with more tests, but IMHO we shouldn't block the upgrade just because old tests are not working.

I agree, but this is a major change, and hopefully we should be able to produce a stable result such that "equivalent regex patterns have the same priority". Maybe it is as simple as multiplicating the class priority by 2 ^^'
Anyway, I'd like to have @maciejhirsz's opinion on that too.

Your commits seem to be messed up. You have duplicate commits.
Could you rebase your commits, or maybe squash them (I don't like squashing, but it's okay to use).


electron app

would it make sense security-wise and be possible to have keyboot as an electron app?
So that instead of opening keyboot.org and putting in that URL into an app you want to sign into, i would instead put in "localhost".
localhost could maybe even be the default and apps offering "keeyboot signin" would automatically try to connect to the local keyboot electron app - and if it doesnt work - it would offer a download link instead.

I think that it's too complicated for "the average user" and that at least continuing to offer keyboot.org is a good idea. It could make a good optional feature though.

is there a listing of apps that already use keyboot?
i like keyboot.org
How do i import/export keys from it in case i want to move to another machine?
Many people i know are average users and many of them use password managers.
Installing an electron app as a password manager might not be so new to them and it allows import/export of keys.


Added some migration advices 5.x -> 6.x

Hey mate. I just wanted to thank you for this PR. I'm super busy at the moment and haven't had time to review and merge it, but I just wanted to let you know that it's appreciated and I'll get around to it as soon as I have some time. Cheers!

Hi again. Just wanted to read my own advices for migration 5.x to 6.x and found this is still open.
For clarification:

I based all advices on code-review to make sure the migration doesn't change anything
no code changes are included in this PR. It is just the advices in the documentation


Merge watches for hybrid and helm

This PR does the following:

Add labelSelectors to hybrid watches
Remove reconcilePeriod and max-concurrent-reconciles from
watches and instead accept it from flags.
Rename ChartPath to ChartDir. ChartPath also accepts directory or a chart file.

PS: follow up would be to remove legacy/watches.yaml entirely
Signed-off-by: varshaprasad96<EMAIL_ADDRESS>

cc: @fabianvf

@camilamacedo86 The reason for not versioning this as a separately is we want hybrid plugin scaffolding without any modifications to be exactly same as the helm plugin which we have now in SDK. This is to maintain backwards compatibility and enable helm authors to move to hybrid with out making any breaking changes.

Remove reconcilePeriod and max-concurrent-reconciles from watches and instead accept it from flags.

I'm curious what the motivation is for this. IIRC, these are both optional additions to the watches.yaml file and are therefore backward compatible. Is there a reason reoncile period and max concurrent reconciles can't/shouldn't be configurable on a per-GVK basis?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.5%) to 88.953%

Totals

Change from base Build<PHONE_NUMBER>:
0.5%

Covered Lines:
1546

Relevant Lines:
1738

💛  - Coveralls


[Bug]: Test workato web hook-1

What happened?
A bug happened!
Jira Status (Internal)
In Progress

test comment workato


toc bump (Classic-Era and CATA-classic), please

HI Broker_PlayedTime dev,
I noticed that Classic-Era, and CATA-classic..
both got a update so the toc is out dated again..
Classic-Era v1.15.4 --> v1.15.5
CATA-classic v4.4.0 --> v4.4.1
just so you know it appears to still be working fine..
if you could bump the toc please and thx..
thx so much for an awesome WoW-addon.

hmm, I guess you missed or forgot about this ticket..
but you did update the TOCs anyway so I will close this ticket for you.
Thank you for an awesome WoW- addon.


Cant click on modal elements

What are you trying to achieve?
Clicking a button on a modal
What do you get instead?
Element not visible / not found

Provide console output if related. Use --verbose mode for more details.
Interactive debug session started
Use JavaScript syntax to try steps in action
Press ENTER to continue
I.click('Okay, Got it');
FAIL  element not visible
I.click('#afterLaunch input[type=button]');
FAIL  Clickable element #afterLaunch input[type=button] was not found by text|CSS|XPath
I.click('//[@id="afterLaunch"]/div/div/div[2]/div[3]/button')
FAIL  element not visible
I.click('//[@id="afterLaunch"]/div/div/div[2]/div[3]/button')
FAIL  invalid selector: Unable to locate an element with the xpath expression //[@id="afterLaunch"]/div/div/div[2]/div[3]/button because of the following error:
SyntaxError: Failed to execute 'evaluate' on 'Document': The string '//[@id="afterLaunch"]/div/div/div[2]/div[3]/button' is not a valid XPath expression.
I.click({xpath:'//[@id="afterLaunch"]/div/div/div[2]/div[3]/button'})

Details
There are 2 modals with same structure in the sameDOM, one gets activated for an action and thats get visible. But the click action is not working on a button from the modal thats visible

CodeceptJS version: 1.x
NodeJS Version: 8.11.1
Operating System: mac OS X
WebDriverIO
Configuration file:

Sorry, I can't tell why some elements on your page are invisible or can't be accessed via webdriver.
It's not a CodeceptJS issue.


Blinding vs Masking

The M11 template changed to ‘blinding’ and has the following comment on this: While blinding is the more commonly used term, masking  is an alternative term which may be used in certain situations.

Based on the above, I explored existing publications on blinding vs masking. In many articles masking and blinding are used interchangeable with a preference for blinding. The following two publications made a clear distinction:
Masking is better than blinding, Morris et. al. BMJ. 2007 Apr 14; 334(7597): 799.

Blinding is inappropriate in the opthalmological setting. Patients do not understand it correctly so doctors should use other words. Therefore the word masking in itself is a better description of what we intend to do in a trial.
Term masking is defined as “to cover or conceal, protect or disguise”
Encyclopedia of biostatistics: https://encyclopediaofbiostatistics.weebly.com/blindingmaskingconcealment.html
Blinding in health and medicine is withholding information from those involved.
The term blinding applies to the human beings involved in the project and masking to the regimens and the procedures
Concealment of allocation is that the person allocating the treatments in a clinical trial does not know what treatment the next person is going to get.

Please consider to change attribute description to text to align to the rest of the model.

Check alignment with masking roles of CT.gov:
Roles, if masking:

Participant
Care Provider
Investigator
Outcomes Assessor: the individual who evaluates the outcome(s) of interest
No Masking


How to modify CSS / Color  using Swagger V2?

Problem statement
How to modify CSS / Color  using Swagger V2?
Swagger specification
Hi,
I am using Swagger V2 (I need to because Swagger V3 isn't supported with my software, which uses flask)  and to modify my style sheet from the default.
Essentially I'm trying to reproduce this file, but using uiversion v2 https://github.com/flasgger/flasgger/blob/master/examples/colors_external_js.py.
But this block of code does not work on v2.
swagger_config = Swagger.DEFAULT_CONFIG
swagger_config['swagger_ui_bundle_js'] =<EMAIL_ADDRESS>swagger_config['swagger_ui_standalone_preset_js'] =<EMAIL_ADDRESS>swagger_config['jquery_js'] =<EMAIL_ADDRESS>swagger_config['swagger_ui_css'] =<EMAIL_ADDRESS>Anyone know how to make it work?
Thank you!
Environment
swagger version: V2

This is a question for the maintainers of swagger UI


Microsoft.Data.SqlClient.SqlConnection.GetOpenTdsConnection throws random exception invalid operation, connection closed

Describe the bug
posted on stackoverflow as well
I was using System.Data.Client and see above error, according to this fix, I should upgrade to Microsoft.Data.Cient, so I did that (.net framework 4.8 windows running environment)
However, from the log, I still see the same error, the only difference is it was  System.Data.SqlClient.SqlConnection.GetOpenTdsConnection, now it is  Microsoft.Data.SqlClient.SqlConnection.GetOpenTdsConnection.
For the fix mentioned in the previous ticket, does it apply to .net framework 4.8 on an azure windows app service?

@daxu7509 can you post a simple repro that we can investigate at our end?

Also, it would be nice if we can have the error stack trace please.

@daxu7509 what connection string properties are being used?

@daxu7509 just to confirm a theory, if you take out CommandBehavior.CloseConnection everything works fine. correct?

hi @JRahnama I never tried this, don't know. Can I ask why you think that could make some difference? The most used UDT are these two:
CREATE TYPE [dbo].[Code] AS TABLE (
[Idx]       INT          NULL,
[TypeCode]  VARCHAR (20)  NULL,
[InstrType] VARCHAR (10)  NULL,
[Universe]  VARCHAR (20)  NULL,
[Code]      VARCHAR (20)  NULL );
CREATE TYPE [dbo].[Setting] AS TABLE (
[Name]  NVARCHAR (50)  NULL,
[Value] NVARCHAR (50)  NULL);

@daxu7509 seems like the reader is disposed before getting the results back in an async call. When the reader is disposed the  CommandBehavior.CloseConnection will make sure that the connection is closed that is why you are getting  the message indicating the connection is closed.
{""id"":""37200188"",""outerId"":""28672654"",""type"":""System.InvalidOperationException"",""message"":""Invalid operation. The connection is closed."

in the production code, we wrap connection and command in polly retry, like this:
using (var cmd = new SqlCommand
{
CommandType = commandType,
CommandTimeout = taskTimeoutInSeconds, // in secs
CommandText = commandText
})
{
cmd.Parameters.AddRange(parameters.ToArray());
//Pass table Valued parameter to Store Procedure
            // this is the maxium amount of time to allow for any one attempt. If is exceeded then the request fails
            var timeoutPerTry = Policy
                .TimeoutAsync(context =>
                {
                    // ReSharper disable once AccessToDisposedClosure
                    var tryCount = CommonConnection.ProcessRetry(context);
                    var timeoutMs = taskTimeout * Math.Pow(Constants.RetryFactor, tryCount);

                    taskTimeoutInSeconds= (int)(timeoutMs / 1000);
                    cmd.CommandTimeout = taskTimeoutInSeconds;

                    Log.LogVerbose(
                        $"Execute {commandText} try count of {tryCount} from context, timeout is now {timeoutMs} ms.");
                    return TimeSpan.FromMilliseconds(timeoutMs);
                }, TimeoutStrategy.Optimistic);

            // retry SqlException up to MaxRetries
            var retryPolicy = Policy
                .Handle<SqlException>()
                .RetryAsync(Constants.MaxRetries,
                    (response, calculatedWaitDuration, context) =>
                    {
                        Log.LogError(
                            $"Failed dynamic execution attempt. Retrying. {response.Message} - {response.StackTrace}");
                    });

            try
            {
                var combinedPolicy = retryPolicy.WrapAsync(timeoutPerTry);
                // ReSharper disable once AccessToDisposedClosure
                await combinedPolicy.ExecuteAsync(async () => {

                    var connectionString = ConnectionStringHelper.GetConnectionString(warehouseId);
                    using (var connection = new SqlConnection(connectionString))  // assumed no need for using block as closed by caller
                    {
                        await connection.OpenAsync();
                        cmd.Connection = connection;

                        using (var reader = await cmd.ExecuteReaderAsync(CommandBehavior.CloseConnection))
                        {
                            results = mapper.Map<IDataReader, IEnumerable<T>>(reader);
                        }
                    }
                });

                //cmd.Connection = null;        //  https://stackoverflow.com/a/31234469/1033684
            }
            catch (SqlException ex) when (ex.Number == -2)  // -2 is a sql timeout
            {
                throw new ThunderTimeoutException(Constants.HttpResponseTimeoutSql);
            }
            catch (TimeoutRejectedException)
            {
                throw new ThunderTimeoutException(Constants.HttpResponseTimeoutTask);
            }

@daxu7509 Retry Logic is not compatible with the CommandBehavior.CloseConnection . For more information you can look into
issue #1454.

oh, dear. I see where you coming from now. @JRahnama
I will remove CommandBehavior.CloseConnection and what happens.
With the  polly retry, as long as I put our things in using bracket, that should still handle all dispose and connection close of SqlConnection, SqlCommand and SqlDataReader? Do I need to do something special?

With the polly retry, as long as I put our things in using bracket, that should still handle all dispose and connection close of SqlConnection, SqlCommand and SqlDataReader? Do I need to do something special?

Correct. The Using block will take care of disposing and closing the connection and command.
Closing the issue due to inactivity. Feel free to open a new issue or comment here if there are more to discuss.


[BUG] The following assertion was thrown during a scheduler callback

Hi all,
I cannot provide an MRE or steps to reproduce, as I do not know where this issue is being thrown. The issue is as below (it states to raise a bug here):
I/flutter ( 3797): ══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter ( 3797): The following assertion was thrown during a scheduler callback:
I/flutter ( 3797): SemanticsNode#114(Rect.fromLTRB(0.0, 0.0, 0.0, 0.0), tags: [RenderViewport.twoPane], invisible)
I/flutter ( 3797): (with null) tried to set a non-finite rect.
I/flutter ( 3797): 'package:flutter/src/semantics/semantics.dart':
package:flutter/…/semantics/semantics.dart:1
I/flutter ( 3797): Failed assertion: line 1605 pos 12: 'value.isFinite'
I/flutter ( 3797):
I/flutter ( 3797): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter ( 3797): more information in this error message to help you determine and fix the underlying cause.
I/flutter ( 3797): In either case, please report this assertion by filing a bug on GitHub:
I/flutter ( 3797):   https://github.com/flutter/flutter/issues/new?template=2_bug.md
I/flutter ( 3797):
I/flutter ( 3797): When the exception was thrown, this was the stack:
I/flutter ( 3797): #2      SemanticsNode.rect=
package:flutter/…/semantics/semantics.dart:1605
I/flutter ( 3797): #3      _SwitchableSemanticsFragment.compileChildren
package:flutter/…/rendering/object.dart:4223
I/flutter ( 3797): #4      _SwitchableSemanticsFragment.compileChildren
package:flutter/…/rendering/object.dart:4235
I/flutter ( 3797): #5      RenderObject._updateSemantics
package:flutter/…/rendering/object.dart:3159
I/flutter ( 3797): #6      PipelineOwner.flushSemantics
package:flutter/…/rendering/object.dart:1221
I/flutter ( 3797): #7      RendererBinding.drawFrame
package:flutter/…/rendering/binding.dart:518
I/flutter ( 3797): #8      WidgetsBinding.drawFrame
package:flutter/…/widgets/binding.dart:884
I/flutter ( 3797): #9      RendererBinding._handlePersistentFrameCallback
package:flutter/…/rendering/binding.dart:378
I/flutter ( 3797): #10     SchedulerBinding._invokeFrameCallback
package:flutter/…/scheduler/binding.dart:1175
I/flutter ( 3797): #11     SchedulerBinding.handleDrawFrame
package:flutter/…/scheduler/binding.dart:1104
I/flutter ( 3797): #12     SchedulerBinding._handleDrawFrame
package:flutter/…/scheduler/binding.dart:1015
I/flutter ( 3797): #13     _invoke (dart:ui/hooks.dart:148:13)
I/flutter ( 3797): #14     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:318:5)
I/flutter ( 3797): #15     _drawFrame (dart:ui/hooks.dart:115:31)
I/flutter ( 3797): (elided 2 frames from class _AssertionError)
I/flutter ( 3797): ════════════════════════════════════════════════════════════════════════════════════════════════════

Although this error is raised, there doesn't appear to be anything wrong with the UI.
flutter doctor output:
[√] Flutter (Channel stable, 3.3.10, on Microsoft Windows [Version 10.0.22621.1105], locale en-GB)
    • Flutter version 3.3.10 on channel stable at C:\Users\lukas\fvm\versions\3.3.10
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 135454af32 (6 weeks ago), 2022-12-15 07:36:55 -0800
    • Engine revision 3316dd8728
    • Dart version 2.18.6
    • DevTools version 2.15.0

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at C:\Users\lukas\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[√] Visual Studio - develop for Windows (Visual Studio Build Tools 2022 17.4.2)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools
    • Visual Studio Build Tools 2022 version 17.4.33122.133
    • Windows 10 SDK version 10.0.22000.0

[√] Android Studio (version 2021.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[√] VS Code, 64-bit edition (version 1.74.3)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.58.0

[√] Connected device (2 available)
    • M2101K6G (mobile) • 95e93891 • android-arm64 • Android 12 (API 31)
    • Windows (desktop) • windows  • windows-x64   • Microsoft Windows [Version 10.0.22621.1105]

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Unfortunately without a minimal working example or at least the link to the project, it's nearly impossible to tell what that is.
If you don't know right away what's causing it, remove parts of the app incrementally until you arrive in a minimal working example.

Hi @Paguiar735, thanks for your response. I'll do that.

Can't include all the code, but this is the triggering widget. It's wrapped in a whole bunch of widgets and slivers. It only triggers on some screen sizes it seems.
Padding(
  padding: const EdgeInsets.only(
    left: 16.0,
    right: 16.0,
    top: 16.0,
    bottom: 8.0,
  ),
  child: Text(
    'Recent Comments',
    style: context.typography.caption1.bold.primary,
  ),
),

Thanks for the report @JaffaKetchup
There was an old issue triggering similar error as you reported: https://github.com/flutter/flutter/issues/48043. The code sample mentioned in it didn't throw the reported anymore at my end. I also tried to club your code snippet in it but I didn't get the said error. So please try to provide a reproducible code sample. I also suggest you to try the code you have on latest master and stable to see if you still get same error on them as well or not.

@darshankawar I'll try updating the project to 3.10 first to see if that helps, but that might take a while, but I'm unlikley to be able to form a complete example (I guess DevTools might help). My colleagues couldn't reproduce it, so there's a good chance that even with an example, you won't be able to reproduce.

See if your code is using same implementation as mentioned in this issue https://github.com/flutter/flutter/issues/36419.
This comment from the linked issue describes same error as you reported.

Unfortunatley, I can no longer reproduce this, and I'm not sure what's changed. Therefore, I'll have to close this issue.


Sb fix livetest march 2021 release

Fixing following test in ServiceBusReceiverAsyncClientIntegrationTest

Session state is updated but the validation of session state is done after session lock is released. This needs to be done before session lock is released.
Disable receiveDeferredMessage : After session receiver have received all the messages and session receive is closed .  There is an issue for this to investigate if this is valid scenario https://github.com/Azure/azure-sdk-for-java/issues/19673

/azp run java - servicebus - tests


Maestro 5078

The prefix "5078" is not specified as Maestro.
Numbers like this are valid, but not recognized:<PHONE_NUMBER>345600019 (this is just a test number, btw)

Fixed in 2.5.0


config: allow choosing separator character and encoding for csv writing

This PR adds two global variables in config.py, CSV_SEP and CSV_ENCODING allowing to configure at application level, which separator character and which encoding should be used to write a csv file.
Fixes #1519

Coverage increased (+0.009%) to 69.127% when pulling 12c8ffbf86d7b3749376accb8ed89df532c60ecf on JulieRossi:master into 3dfdde130a88d3a12a6e084adc07d284ed6090e6 on apache:master.

Are csv exports covered by tests? If not would be nice to add them :)

test_csv_endpoint (https://github.com/apache/incubator-superset/blob/master/tests/core_tests.py#L527)
tests csv export route (https://github.com/apache/incubator-superset/blob/master/superset/views/core.py#L2102)
test_slice_csv_endpoint (https://github.com/apache/incubator-superset/blob/master/tests/core_tests.py#L92)
tests csv export from slice (https://github.com/apache/incubator-superset/blob/master/superset/viz.py#L306)
So both cases are already tested.

Coverage increased (+0.005%) to 69.123% when pulling 2af618e27bdcc24863def4f1c896bc49c6d30e71 on JulieRossi:master into 3dfdde130a88d3a12a6e084adc07d284ed6090e6 on apache:master.

Is there a use case to not use utf-8? Changing the delimiter globally seems like a bad idea as the C in CSV stands for comma...

Regarding the non utf-8 encoding and the delimiter, we have the same problem kylozw describes in #1519.
Our users are used to Excel so when they export csv the want to be able to easily open it with Excel (they are not advanced users and changing Excel default encoding and delimiter is beyond their knowledge).
In the french version, Excel expects latin1 encoding and ; as separator (also , as decimal separator instead of .). It seems that others have the same kind of issues (given #1519) so I thought issuing a PR was a better idea than just changing this locally. It would also be more convenient for us.
I also commented (but probably not visible enough since it was just a reply to a former comment) that I was thinking I can do something more generic to be able to replace any option of the to_csv method. I'm gonna change this and resubmit if it is OK for you.

Coverage increased (+0.005%) to 69.124% when pulling dfed319ac6fcfcddc04e63ddb8f526b5d8564158 on JulieRossi:master into 3c0e85e2c074755eb2883dc75b92aad83a3f0261 on apache:master.

Coverage increased (+0.005%) to 69.124% when pulling dfed319ac6fcfcddc04e63ddb8f526b5d8564158 on JulieRossi:master into 3c0e85e2c074755eb2883dc75b92aad83a3f0261 on apache:master.

Coverage increased (+0.005%) to 69.124% when pulling dfed319ac6fcfcddc04e63ddb8f526b5d8564158 on JulieRossi:master into 3c0e85e2c074755eb2883dc75b92aad83a3f0261 on apache:master.


How can i log errors in log file?

Currently, the errors are showing in trace mode on vs.net log window.
How I can change the configuration to log all errors in an external log file to check them in production?

Try this
var okx = new OKX.Api.OKXRestApiClient(new OKX.Api.OKXRestApiClientOptions()
{
    LogWriters = new List<Microsoft.Extensions.Logging.ILogger> { logger }, // logger -> your logger object
    LogLevel = Microsoft.Extensions.Logging.LogLevel.Debug
});


Atomic Pull Request to Restore Compatibility to Inkscape 1.0

Thanks a lot for sharing this plugin. While I see there is another pull request already which provides similar modifications and even merges in some new functionality, I can only assume there might be some hesitation to merge in larger changes into the existing codebase.
Find attached a pull request which keeps changes to a minimum and only restores functionality to work with Inkscape 1.0.

Hello and thank you for the pull request!
I finally merged https://github.com/Hyvok/Inkscape-rotary-encoder-disk-generator/commit/0c612eb3e53efac6acf7abe60eb48871b72d5b23 so the plugin should now be compatible with Inkscape 1.0.


mask_rcnn_R_50_FPN_3x.yaml

@hpanwar08
Why did you train using x101 fpn, have you tested mask_rcnn_R_50_FPN_3x.yaml?

As per the Publaynet paper, x101 and R101 gave good results.
I did not try mask_rcnn_R_50_FPN_3x.yaml although I tried faster_rcnn_R_50_FPN_3x.yaml which was not as good as x101 in terms of bounding box, but it is much smaller and faster.

Thanks

@hpanwar08 Also upload the DLA_mask_rcnn_R_50_FPN_3x.yaml files that you used for training and inferencing.

Thanks, you are amazing! @hpanwar08


build.rs fails to parse hand-written pyconfig.h headers installed by python for windows (MSVC-compiled)

🐛 Bug Reports
When trying to cross-compile a python extension for windows on linux using the mingw target I get the following error:
$ cargo build --target x86_64-pc-windows-gnu

error: failed to run custom build command for `pyo3 v0.13.0`

Caused by:
  process didn't exit successfully: `./target/debug/build/pyo3-7cf3ac8bb8af293b/build-script-build` (exit code: 1)
  --- stderr
  Error: "Py_ENABLE_SHARED is not defined"

pyconfig.h from python 3.9.1 for windows (built with the MSVC compiler), which I have installed, contains the following lines:
/* For Windows the Python core is in a DLL by default.  Test
Py_NO_ENABLE_SHARED to find out.  Also support MS_NO_COREDLL for b/w compat */
#if !defined(MS_NO_COREDLL) && !defined(Py_NO_ENABLE_SHARED)
#       define Py_ENABLE_SHARED 1 /* standard symbol for shared library */
#       define MS_COREDLL       /* deprecated old symbol */
#endif /* !MS_NO_COREDLL && ... */

When I manually add the line
#define Py_ENABLE_SHARED 1

to pyconfig.h the error disappears.
I believe the following code fails to parse C headers with white space between # and define,
as well as with the comments:
https://github.com/PyO3/pyo3/blob/master/build.rs#L224
The C header parsing code should somehow be restricted to generated pyconfig.h headers only.
Manually written pyconfig.h from python for MSVC does not work.
🌍 Environment
Arch Linux
python 3.9.1
mingw-w64-python39-bin 3.9.1 <- this is the MSVC-compiled python, not the MinGW-compiled python
rustc 1.48.0
pyo3 0.13.0

Hi @ravenexp thanks for the report. Is there a _sysconfigdata.py file (might have a slightly different name) anywhere in your mingw lib directory? Perhaps we can parse this; it's usually more reliable than header parsing.
(See find_sysconfigdata function in build.rs for more detail.)

No, there isn't. It could be that the ArchLinux package author has chosen not to install it, though.
BTW, what kind of configuration data pyo3 needs to build an extension module for Windows?
I'm asking because by applying the above workaround, as well as some DLL import library symlinking hacks,
I've successfully compiled an extension module for Windows python that loads and works under WINE.
Perhaps it is possible to provide the same information via environment variables and avoid looking at the cross python installation files at all (except for the python DLL import library)?

Hi @ravenexp, thank you for reporting.

what kind of configuration data pyo3 needs to build an extension module for Windows?

See https://github.com/PyO3/pyo3/blob/v0.13.0/build.rs#L198.
We need seven variables. It would be good to allow some manual configuration(json or Python dict?) instead of pyconfig.h.

Thank you for your prompt responses.
I've stumbled upon this function:
https://github.com/PyO3/pyo3/blob/26ca1f5bcaf833c254bcf69c6f275cc13df08dc0/build.rs#L507
and "PC\pyconfig.h" is exactly the header I've quoted before. As I've said, the arch mingw python package installs MSVC headers.
These hardcoded config vars would probably have worked for my use case.
But is it really feasible to build a working python 3.5+ for windows without wide Unicode, dynamic linking and threading support?
AFAIK on windows the extension modules have to link to python3y.dll or python3.dll (ABI3 modules) because the source DLL has to be defined explicitly for every imported symbol.
And dynamic linking on windows pretty much implies multi-threading, at least when using MSVC.

I did some research on the impact of the build config variables on the extension module ABI.
The ./configure flag --with-wide-unicode has been removed in Python 3.3.
It is no longer possible to select the Py_UNICODE representation at the compile time.
I think it becomes entirely platform-dependent.
Also, Py_UNICODE typedef is not a part of the stable ABI.
Py_DEBUG is not compatible with the stable ABI.
What's left is Py_ENABLE_SHARED and WITH_THREAD, which I believe can be assumed to be set on Windows.

Thanks, I've opened #1350 based on that research! I think it might even be reasonable to remove the header parsing entirely, though that's a breaking change so will wait until 0.14.

I have retried building my extension module with pyo3 git master after #1350 was merged.
When PYO3_CROSS_INCLUDE_DIR is not set, I'm greeted with the following new error message:
Error: "One of PYO3_CROSS_INCLUDE_DIR, PYO3_CROSS_PYTHON_VERSION, or an abi3-py3* feature must be specified when cross-compiling for Windows."

When I set the PYO3_CROSS_INCLUDE_DIR to point to the windows python headers, I get the same old:
Error: "Py_ENABLE_SHARED is not defined"

but, when I set either PYO3_CROSS_PYTHON_VERSION, or an abi3-py3* feature everything works as expected.
My cross-compilation problem is essentially solved by #1350, but the reported windows pyconfig.h parsing bug is still there.
Also the first error message the user encounters when trying to cross-compile for windows is very misleading, as the very first suggested solution fails with a cryptic error message.

I have retried building my extension module with pyo3 git master after #1350 was merged.
When PYO3_CROSS_INCLUDE_DIR is not set, I'm greeted with the following new error message:
Error: "One of PYO3_CROSS_INCLUDE_DIR, PYO3_CROSS_PYTHON_VERSION, or an abi3-py3* feature must be specified when cross-compiling for Windows."

When I set the PYO3_CROSS_INCLUDE_DIR to point to the windows python headers, I get the same old:
Error: "Py_ENABLE_SHARED is not defined"

but, when I set either PYO3_CROSS_PYTHON_VERSION, or an abi3-py3* feature everything works as expected.
My cross-compilation problem is essentially solved by #1350, but the reported windows pyconfig.h parsing bug is still there.
Also the first error message the user encounters when trying to cross-compile for windows is very misleading, as the very first suggested solution fails with a cryptic error message.

Thanks for following up @ravenexp .
I agree now I think about it that the error messages are still not great. I am aware the original INCLUDE_DIR issue still remains.
I think that as the other options now work well, I'd be keen to remove the header parsing entirely in pyO3 0.14. This'll "fix" the bug and I'll improve the help messages at the same time.

Thanks for following up @ravenexp .
I agree now I think about it that the error messages are still not great. I am aware the original INCLUDE_DIR issue still remains.
I think that as the other options now work well, I'd be keen to remove the header parsing entirely in pyO3 0.14. This'll "fix" the bug and I'll improve the help messages at the same time.


Update quick-start-linux.md

Curl fails to follow redirects by default.
Adding -L instructs it to follow them and allows Marlin to be downloaded.

@Oquile Thx!! LGTM.


Creating a new viz extension project

I am trying to develop login page in Visualization extension project.How can i achieve this.

Hi @Deepti21456 Could you please elaborate a bit more on what you are trying to achieve and with what SAP product? Thank you.

Thank you for your feedback. We haven't heard from you in the past 30 days, so we are closing the issue.
If you still have questions, feel free to reopen the issue.


Can't start collector - failed to call webhook - context deadline exceeded

This is a problem in GKE Autopilot cluster version 1.25.6-gke.1000.
I follow the guide from https://github.com/GoogleCloudPlatform/opentelemetry-operator-sample#prerequisites.
I installed cert-manager and OpenTelemetry Operator.
I can't start collector, here is the error:
$ kubectl apply -f collector-config.yaml
Error from server (InternalError): error when creating "collector-config.yaml": Internal error occurred: failed calling webhook "mopentelemetrycollector.kb.io": failed to call webhook: Post "https://opentelemetry-operator-webhook-service.opentelemetry-operator-system.svc:443/mutate-opentelemetry-io-v1alpha1-opentelemetrycollector?timeout=10s": context deadline exceeded

Hi @gbajson-area22, just a guess, but it sounds like maybe the operator pod isn't yet running/ready to serve the webhooks that process the Collector object. Is this by any chance a fresh autopilot cluster? If so, new clusters can take some time to scale up for all pods to be scheduled (including the operator pod).

Thanks for your response.
This is not fresh cluster and "opentelemetry-operator-controller-manager"
Pod successfully started.There are no errors in Pod's logs.
According to logs, v1alpha1.OpenTelemetryCollector" tried to start.
{"level":"info","ts":"2023-03-22T15:15:08.833041327Z","msg":"Starting
EventSource","controller":"opentelemetrycollector","controllerGroup":"
opentelemetry.io","controllerKind":"OpenTelemetryCollector","source":"kind
source: *v1alpha1.OpenTelemetryCollector"}
{"level":"info","ts":"2023-03-22T15:15:08.833121793Z","msg":"Starting
EventSource","controller":"opentelemetrycollector","controllerGroup":"
opentelemetry.io","controllerKind":"OpenTelemetryCollector","source":"kind
source: *v1.ConfigMap"}
{"level":"info","ts":"2023-03-22T15:15:08.833165633Z","msg":"Starting
EventSource","controller":"opentelemetrycollector","controllerGroup":"
opentelemetry.io","controllerKind":"OpenTelemetryCollector","source":"kind
source: *v1.ServiceAccount"}
{"level":"info","ts":"2023-03-22T15:15:08.833180179Z","msg":"Starting
EventSource","controller":"opentelemetrycollector","controllerGroup":"
opentelemetry.io","controllerKind":"OpenTelemetryCollector","source":"kind
source: *v1.Service"}
{"level":"info","ts":"2023-03-22T15:15:08.833188249Z","msg":"Starting
EventSource","controller":"opentelemetrycollector","controllerGroup":"
opentelemetry.io","controllerKind":"OpenTelemetryCollector","source":"kind
source: *v1.Deployment"}
{"level":"info","ts":"2023-03-22T15:15:08.833195283Z","msg":"Starting
EventSource","controller":"opentelemetrycollector","controllerGroup":"
opentelemetry.io","controllerKind":"OpenTelemetryCollector","source":"kind
source: *v1.DaemonSet"}
{"level":"info","ts":"2023-03-22T15:15:08.833201818Z","msg":"Starting
EventSource","controller":"opentelemetrycollector","controllerGroup":"
opentelemetry.io","controllerKind":"OpenTelemetryCollector","source":"kind
source: *v1.StatefulSet"}
{"level":"info","ts":"2023-03-22T15:15:08.833209363Z","msg":"Starting
EventSource","controller":"opentelemetrycollector","controllerGroup":"
opentelemetry.io","controllerKind":"OpenTelemetryCollector","source":"kind
source: *v2.HorizontalPodAutoscaler"}
{"level":"info","ts":"2023-03-22T15:15:08.833214042Z","msg":"Starting
Controller","controller":"opentelemetrycollector","controllerGroup":"
opentelemetry.io","controllerKind":"OpenTelemetryCollector"}
{"level":"info","ts":"2023-03-22T15:15:08.993565055Z","logger":"instrumentation-upgrade","msg":"no
instances to upgrade"}
{"level":"info","ts":"2023-03-22T15:15:08.993882768Z","logger":"collector-upgrade","msg":"no
instances to upgrade"}
{"level":"info","ts":"2023-03-22T15:15:09.195660699Z","msg":"Starting
workers","controller":"opentelemetrycollector","controllerGroup":"
opentelemetry.io","controllerKind":"OpenTelemetryCollector","worker
count":1}

On Mon, Mar 27, 2023 at 9:28 PM Mike Dame @.***> wrote:

Hi @gbajson-area22 https://github.com/gbajson-area22, just a guess, but
it sounds like maybe the operator pod isn't yet running/ready to serve the
webhooks that process the Collector object. Is this by any chance a fresh
autopilot cluster? If so, new clusters can take some time to scale up for
all pods to be scheduled (including the operator pod).
—
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/opentelemetry-operator-sample/issues/29#issuecomment-1485746137,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A37Q7PRN3YONCFQ6XH5M54TW6HS7PANCNFSM6AAAAAAWD7CUSA
.
You are receiving this because you were mentioned.Message ID:
<GoogleCloudPlatform/opentelemetry-operator-sample/issues/29/1485746137@
github.com>

@gbajson-area22 thanks for clarifying. It does look like the operator pod starts up fine and is watching for objects to be created.
I found a couple other issues scattered around that are similar to this: https://github.com/open-telemetry/opentelemetry-operator/issues/100 https://github.com/open-telemetry/opentelemetry-operator/issues/1009. I tried reproducing this on a couple new GKE autopilot clusters and wasn't able to unfortunately.
Could you confirm that you installed cert-manager using the special helm instructions in https://github.com/GoogleCloudPlatform/opentelemetry-operator-sample#prerequisites?
Also, is this a private GKE cluster? You may need to make a firewall rule for the webhook port based on this comment: https://github.com/open-telemetry/opentelemetry-operator/issues/100#issuecomment-846125541

Hi Mike,

Yes, I installed cert-manager using instructions from
https://github.com/GoogleCloudPlatform/opentelemetry-operator-sample#prerequisites
Yes, this is a private GKE cluster. Thanks for this link, I will test it.

On Tue, Apr 4, 2023 at 5:52 PM Mike Dame @.***> wrote:

@gbajson-area22 https://github.com/gbajson-area22 thanks for
clarifying. It does look like the operator pod starts up fine and is
watching for objects to be created.
I found a couple other issues scattered around that are similar to this:
open-telemetry/opentelemetry-operator#100
https://github.com/open-telemetry/opentelemetry-operator/issues/100
open-telemetry/opentelemetry-operator#1009
https://github.com/open-telemetry/opentelemetry-operator/issues/1009. I
tried reproducing this on a couple new GKE autopilot clusters and wasn't
able to unfortunately.
Could you confirm that you installed cert-manager using the special helm
instructions in
https://github.com/GoogleCloudPlatform/opentelemetry-operator-sample#prerequisites
?
Also, is this a private GKE cluster? You may need to make a firewall rule
for the webhook port based on this comment: open-telemetry/opentelemetry-operator#100
(comment)
https://github.com/open-telemetry/opentelemetry-operator/issues/100#issuecomment-846125541
—
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/opentelemetry-operator-sample/issues/29#issuecomment-1496218974,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A37Q7PRHCT6YQF5PAW5OCZ3W7Q7VJANCNFSM6AAAAAAWD7CUSA
.
You are receiving this because you were mentioned.Message ID:
<GoogleCloudPlatform/opentelemetry-operator-sample/issues/29/1496218974@
github.com>

Thanks for the quick reply. Please let me know if that helps and if so I'll update our docs to include it

I was able to reproduce this in a private cluster and the fix linked above worked for me. Opened https://github.com/GoogleCloudPlatform/opentelemetry-operator-sample/pull/32 to document this and that will close this issue.

Thank you!
On Wed, Apr 12, 2023 at 8:21 PM Mike Dame @.***> wrote:

Closed #29
https://github.com/GoogleCloudPlatform/opentelemetry-operator-sample/issues/29
as completed via #32
https://github.com/GoogleCloudPlatform/opentelemetry-operator-sample/pull/32
.
—
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/opentelemetry-operator-sample/issues/29#event-8988645701,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A37Q7PS2YQG3DA77IE32PWLXA3XDFANCNFSM6AAAAAAWD7CUSA
.
You are receiving this because you were mentioned.Message ID:
<GoogleCloudPlatform/opentelemetry-operator-sample/issue/29/issue_event/8988645701
@github.com>


Use markdown.Config as pointer everywhere

As value mutex was copied and therefore synchronization worked wrong
It's pretty big structure with reference types, so copying create unnecessary
pressure on GC

I'm glad you noticed that - thank you! Especially with Go 1.5 and on, this will be more important I think.


How to create CIFS docker volume with username, password, uid, and gid?

I am trying to create CIFS docker volumes using docker-volume-netshare. I am having trouble finding the right syntax to pass options to mount and I suspect that there might be a bug in the option passing.
The sequence should be like this:
docker volume create -d cifs <some_options>
docker run -v <the_volume> <other_docker_options>

and I can get it to work part of the way but for the life of me I can't get it to pass all the options I need.
Instead of trying to recount my countless different failure modes, I would prefer to state my goal. Underneath, docker-volume-netshare will execute a mount -t cifs ... command. This can be seen in the log when verbose is set to true.
This is the mount command that I am trying to get. I can get username and password in there, but only when using a .netrc file, and I have found no way to get the uid and gid into the command.
mount -t cifs -o username=myusername,password=mypasswd,uid=500,gid=499,rw //myserver.example.net/mysharename /the_mount_point/

So what I am looking for is the authoritative syntax for passing these options through docker-volume-netshare.

I had to run this:
docker-volume-netshare cifs --username myusername --password "mypasswd" --domain DOMAIN --security ntlm
Then I used this to test: (phusion baseimage is just an example of an image you could run.)
docker run -it --volume-driver=cifs -v servername/sharename:/mount phusion/baseimage /bin/bash
I had to use security ntlm for it to work with my server.

Hi BarnumD,
Thank you for your reply! Have you also successfully used uid and gid options? This is the part I am having the most difficulty with.

I have not tried that, sorry.

Thanks anyway for quick feedback!

Looking at the code in cifs.go it seems like you should be able to pass cifsopts

That's what I thought too at one point, but I think cifsopts are treated differently than the other options. I am not that seasoned in go, so I admit having some difficulty following the flow. When I find some time, I will set up an environment that lets me step through it in the debugger.

There's a Serverfault question asking the same. I too would like to know. And details in general about how to use cifsopts would be great, as we have some other extra stuff in there.

@mfowlewebs , that is my question on Serverfault. I asked it there first but got reprimanded by one of the moderators (Michael Hampton) for asking the question there before asking the developers here.

According to docker-volume-netshare cifs --help you can just pass options using -o just as you would with mount.
ex: -o uid=1000,gid=1000


Typo in the "Changing characters" tutorial

See the following screenshot:

The line before the last starts with "to the top." But it's repeated from the previous line!
The second "to the top." should be removed.
Thanks for this fan translation that looks really professional. 😃

Also, I'm not really sure what the last sentence "You may find new combat skills" means in this context.
But maybe it's the same in the original Japanese?

Thanks you for the report the fix is done and should be in the next patch


Allow fan speed adjustment for dehumidifier

Is your feature request related to a problem? Please describe:

When opening the dehumidifier button from the home app I only see a slider to adjust the humidity level, I would like to be able to set the fan speed as well.  Currently I can tell Siri to set fan speed to 25 and it will go to low speed mode, if I ask Siri to set fan speed to 100 it will go to high speed mode.  I would like to use a slider to adjust without having to talk to Siri.
Describe the solution you'd like:

When setting an automation for the dehumidifier there is a slider at the bottom to set fan speed as well already, I would just like to see that also when selecting the dehumidifier from the Home Screen.

If you open the accessory from the Home app, there will be a gear icon in the bottom right corner. If you click on that you can adjust the speed of the fan.
I can make a configuration option which will toggle if a separate fan service should be created or not if that is more comfortable for you.

I don’t have an option to adjust even after clicking the gear.  That is the way I used to do it with a different plugin.  On Jun 22, 2024, at 7:21 AM, Kovalovszky Patrik @.***> wrote:
If you open the accessory from the Home app, there will be a gear icon in the bottom right corner. If you click on that you can adjust the speed of the fan.
I can make a configuration option which will toggle if a separate fan service should be created or not if that is more comfortable for you.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Maybe you have enabled other accessories (like the water tank one) and now all of those accessories are grouped. I this case you when you open the menu with the gear, there should be an Accessories line. In that menu you should select the dehumidifier again and the fan speed adjustment should be there.

I have the temp sensor enabled, when I click accessories then i see the dehumidifier and temp sensor, then when I opens dehumidifier from there and click gear I see the fan speed adjustment, you are correct.It would be nice to have that adjustment accessible when opening dehumidifier from the Home Screen though.On Jun 22, 2024, at 7:33 AM, Kovalovszky Patrik @.***> wrote:
Maybe you have enabled other accessories (like the water tank one) and now all of those accessories are grouped. I this case you when you open the menu with the gear, there should be an Accessories line. In that menu you should select the dehumidifier again and the fan speed adjustment should be there.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

I also noticed it doesn’t show the current relative humidity when the temp sensor is enabled.  Is there a way to ungroup the accessories so temp sensor is separate and the dehumidifier acts like it does with no accessories selected?On Jun 22, 2024, at 7:44 AM, Matthew Britten @.> wrote:I have the temp sensor enabled, when I click accessories then i see the dehumidifier and temp sensor, then when I opens dehumidifier from there and click gear I see the fan speed adjustment, you are correct.It would be nice to have that adjustment accessible when opening dehumidifier from the Home Screen though.On Jun 22, 2024, at 7:33 AM, Kovalovszky Patrik @.> wrote:
Maybe you have enabled other accessories (like the water tank one) and now all of those accessories are grouped. I this case you when you open the menu with the gear, there should be an Accessories line. In that menu you should select the dehumidifier again and the fan speed adjustment should be there.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

AFAIK you can't ungroup the temperature sensor from it. These are the limitations of the Home app sadly. So there are multiple solutions now:

make the temperature sensor as a sepearate accessory which will enable the ungrouping
create a fan accessory as a seperate accessory which is basically "synced" to the main accessory, you just have a seperate accessory for controlling the fans

Also, I can merge the previous two solutions into one. Please suggest which one is more usable. And of course if you need it I can create a seperate humidity sensor as well.

I think option 1, making the temperature sensor a separate accessory would be the way to go.On Jun 22, 2024, at 8:24 AM, Kovalovszky Patrik @.***> wrote:
AFAIK you can't ungroup the temperature sensor from it. These are the limitations of the Home app sadly. So there are multiple solutions now:
make the temperature sensor as a sepearate accessory which will enable the ungrouping
create a fan accessory as a seperate accessory which is basically "synced" to the main accessory, you just have a seperate accessory for controlling the fans
Also, I can merge the previous two solutions into one. Please suggest which one is more usable. And of course if you need it I can create a seperate humidity sensor as well.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

If a separate humidity sensor could be made as well that would be nice to be able to use that for automationsOn Jun 22, 2024, at 8:24 AM, Kovalovszky Patrik @.***> wrote:
AFAIK you can't ungroup the temperature sensor from it. These are the limitations of the Home app sadly. So there are multiple solutions now:
make the temperature sensor as a sepearate accessory which will enable the ungrouping
create a fan accessory as a seperate accessory which is basically "synced" to the main accessory, you just have a seperate accessory for controlling the fans
Also, I can merge the previous two solutions into one. Please suggest which one is more usable. And of course if you need it I can create a seperate humidity sensor as well.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Wait, I was wrong. If you can see the temperature sensor as a seperate accessory you can ungroup it. I've described the menu where you see the Accessories menu. Under that option somewhere there should be a button like Show as seperate tiles or something like that, which will ungroup those accessories. Can you check it if it solves your problems?

Odd, I do not have an option to show as separate tiles anywhere.On Jun 22, 2024, at 8:42 AM, Kovalovszky Patrik @.***> wrote:
Wait, I was wrong. If you can see the temperature sensor as a seperate accessory you can ungroup it. I've described the menu where you see the Accessories menu. Under that option somewhere there should be a button like Show as seperate tiles or something like that, which will ungroup those accessories. Can you check it if it solves your problems?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

In theory, you should have this option there, can you send me a screenshot?

On Jun 22, 2024, at 8:48 AM, Kovalovszky Patrik @.***> wrote:
In theory, you should have this option there, can you send me a screenshot?
Upload.from.GitHub.for.iOS.png (view on web)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

The photo didnt came through but in the meantime I managed to simulate a humidifier accessory and it's indeed not possible to ungroup them. It means that option 1 is not feasible.

It’s not the end of the world, I can just tell Siri to adjust the speed or perform the extra clicks needed to get there when need be.  It would have been nice if it could have all just been adjustable when clicking the dehumidifier from the home page, I’ll live with it like this. I appreciate your time.On Jun 22, 2024, at 9:05 AM, Kovalovszky Patrik @.***> wrote:
The photo didnt came through but in the meantime I managed to simulate a humidifier accessory and it's indeed not possible to ungroup them. It means that option 1 is not feasible.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

I can still add a Fan accessory which will be available from the Home main screen. So you would have the dehumidifier settings on the top and the fan at the bottom, like this:
https://github.com/kovapatrik/homebridge-midea-platform/assets/44952801/5deb3784-005a-4e28-8973-5935759ae4b1

Yeah, that would be great! Thanks.On Jun 22, 2024, at 9:20 AM, Kovalovszky Patrik @.***> wrote:
I can still add a Fan accessory which will be available from the Home main screen. So you would have the dehumidifier settings on the top and the fan at the bottom, like this:
https://github.com/kovapatrik/homebridge-midea-platform/assets/44952801/5deb3784-005a-4e28-8973-5935759ae4b1
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

I've released v1.1.0-beta.1 which contains the ability to add the fan to the dehumidifer, you can enable it from the plugin configuration. Could you try it out please?

Works great.  Thank you.On Jun 22, 2024, at 10:13 AM, Kovalovszky Patrik @.***> wrote:
I've released v1.1.0-beta.1 which contains the ability to add the fan to the dehumidifer, you can enable it from the plugin configuration. Could you try it out please?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Great to hear it! I will close this issue as soon as I release v1.1.0.


:New Feature - Swing + Console

Integrate both swing and console in the same file.
So the user can provide extra param while running the jar file for the console version.

[ ]  Add a boolean variable in Request model and then check it on the server.

Completed!


Fix version navigation

Description:
Need to fix the version navigation of the same documentation between different versions.

[ ] Modify the UI and add the dropdown for the versions.
[ ] Create versions page.
[ ] Configure the Jenkins build script.

Closing this issue since this is a duplicate issue.