Handle max payloads

Thank you for submitting a pull request. This code is leveraged to monitor critical services. Before contributing, please read our contributing guidelines and code of conduct.

Overview
The problem:

If an app has thousands of AJAX requests in the harvest interval, the body could be too big and lots of data could be dropped.  There is a defined limit that can be placed on the agent.  We can check against that and break up the requests into multiple pieces if needed.

The approach:

Payload is evaluated in the AJAX serialization for size
Payload is split into array items if exceeds the size limit on the loader
The harvester loops through all array items in the harvest and sends to NR1 for each.

Related Github Issue
GITHUB Card
Testing
Automated testing is simply ensuring that:
if I add 2,000 requests to the harvest queue, that it breaks it into multiple items in the array, and that each is under the size limit
To test this manually, you can:

Open the mock-bam-server
paste in these file contents

<head>
  <script type="text/javascript">
    window.NREUM||(NREUM={});

    // agent loaded from a local directory
    // reporting to local fake consumer
    NREUM.info={
      agent:"localhost:8181/agent/dev/spa",
      beacon:"staging-bam.nr-data.net",
      errorBeacon: "staging-bam.nr-data.net",
      licenseKey:"2fec6ab188",
      applicationID:"34824659",
      sa: 1
    };

  </script>
  <script type="text/javascript" src="/loader/dev/spa"></script>
</head>
<body>
  hello
  <script>
      const loaded = [];
      const getRandomNumber = () => Math.floor(Math.random() * 10000)
      let count = 0;
      const sendHello = () => {
        let xhr = new XMLHttpRequest()
            // const num = getRandomNumber();
            xhr.open('GET', `/hello`)

            xhr.setRequestHeader('Content-Type', 'text/plain')
            xhr.onload = function (e) {
                if (count < 3000) {
                    count++
                    sendHello();
                }
            }

            xhr.send()
      }
      setTimeout(() => {
            sendHello()
        }, 250)

  </script>
</body>
</html>

run against the file, which calls many ajax requests, and see that request is broken into multiple items and each is sent

@metal-messiah Can you please rebase on main, so that it does not include the old commits?


Can't enter year into the year textbox

Attempting to type numbers makes it fail. Mask issue probably

fixed in 27d1861d8093c948748fdc4ff3645d97708021f6


Possibility to create WebService from query

Add UI to create WebService from query.

@lastnod
can you explain it better?

You could use sql functions exposed in REST API if you want.
http://orientdb.com/docs/2.1/Functions.html


No windows build attached to latest continuous-master release.

Only see the source and no windows build on the latest continuous-master release...

It is available now.  There was a new dependency added and I needed to update the build script.


max_speed && speed problem

fit file:
2019-2-13-10-36-52-12791.fit.zip
fitparse version 1.0.1
max_speed : 14.201
fitparse version 1.1.0
max_speed: 14201
and speed encounter the same problem.

As I dive into detail, I found that bug is caused by generate_profile.py script, in line 468, which wipe out scale, offset and units.
But I think that only in situation of components scale is None or b'' or is not digit(

), we can wipe out scale, offset and units. so, wipe code should be
.  If you agree with me, I'd make a PR.

Hi, we've been happy users of this library for a while. We recently encountered an issue that is resolved by this work around which is available in 1.1. However, the bug described in this issue is preventing us from moving to 1.1. Any idea when this change will make it to a release that we can install with pip?
Thanks a lot for all the work on this library.

@cberthiaume You can create a new issue to detail your problem.

I'm confused, the issue in this issue is my problem. I see it's been merged. I'd just like to know when it will be released.

@cberthiaume, you're able to install it from pip immediately. Just use the latest SHA, see this post on Stack Overflow.

Excellent, thanks @dtcooper!


Cannot scroll to last slide if scrollPerPage=false

Bug Report
Current Behavior
The last slide can be reached with scrollPerPage=true but not with scrollPerPage=false.
Expected behavior/code
The last slide should be reachable with scrollPerPage=false.

I noticed that the slide appears, it's just the icons the pagination icon that does not become active.

there is a patch in https://github.com/SSENSE/vue-carousel/issues/527


Provide a way to convert a double to a string without emitting an exponent

Between toStringAsExponential(), toStringAsFixed(), and toStringAsPrecision(), there are a lot of ways to control the string output of a double. However, all of these output formats can emit XeN if the double is large or small enough. That's useful for human readability, but there are some string formats that don't support the notation, so it would be good to have a way to avoid it.
I suggest that toStringAsFixed(), toStringAsPrecision() and maybe toString() have a bool exponent named argument added to control whether exponents are emitted. This argument would default to true.

One potential problem is that it's hard to compile to JavaScript because it doesn't have such a toString method.
It's probably easier to just make a helper function:
doubleToFixed(num value, int positions) {
  var result = value.toStringAsFixed(positions);
  if (value < 1e+21) return result;
  // Value is always an integer.
  var dotIndex = result.indexOf('.');   // Always -1 or 1.
  var eIndex = result.indexOf('e', dotIndex + 1);
  int fractionStart = eIndex + 1;
  if (result.startsWith('+', fractionStart)) fractionStart++;
  var buffer = new StringBuffer();
  int zeros = int.parse(result.substring(fractionStart));
  if (dotIndex >= 0) {
     buffer.write(result.substring(0, dotIndex));
     buffer.write(result.substring(dotIndex + 1, eIndex));
     zeros -= eIndex - (dotIndex + 1);
  } else {
    buffer.write(result.substring(0, eIndex));
  }
  for (int i = 0; i < zeros; i++) buffer.write('0');
  if (positions > 0) {
    buffer.write('.');
    for (int i = 0; i < positions; i++) buffer.write('0');
  }
  return buffer.toString();
}

Then you only pay for the function if you actually use it, instead of what happens if we include it in the existing toStringAsFixed where it will likely be included in the compiled program even if we never set the flag to false.

If tree-shaking is an issue, it would be fine to make a different toStringWithoutExponent({int fractionDigits, int precision}) method. Copying that giant ball of logic around doesn't really seem like a great solution, though.

I just spent half an hour writing some special-case code because we do not have a toStringXXX method that avoids the exponent.
x.toStringAsPrecision(3) did what I wanted on the range 0.1 to 999.49... but below 0.1 there are too many digits after the point and from 999.5 and above it uses exponential format.
What I needed was something that is almost like double.toString(), i.e. no unnecessary fractional digits, but with a limit on the number of fractional digits and a limit on the precision when there are fractional digits, but never omitting an integral digit (even if it has no significance).
It is not a problem for dart2js putting methods on num or double, they are not included in the output of they are not used. The existing methods already do additional work over the JavaScript analogues (validation of parameters that flow to JavaScript). This is alread


How to allow html block-level tags to be wrapped in an anchor tag in CKEDITOR_CONFIGS

I'm trying to allow adding divs inside  tag but it always get converted into wrapping the  inside the div
i found a solution in native CKEditor:
CKEDITOR.dtd.a.div = 1;
CKEDITOR.dtd.a.p = 1;

but don't know how to add these settings in CKEDITOR_CONFIGS dict
any ideas?

i made a workaround by adding config.js file to my static directory and moved my app above ckeditor in INSTALLED_APPS
don't know if this will make any troubles

That sounds like a good way. Just make a note to yourself to re-check the contents of config.js when upgrading :)


Flows - Geoloc error

Some locations in the iploc.csv file include extra commas in the name, causing this script to crash when trying to read a float value (coordinates) where a text value is stored, after separating the results by commas.
ValueError                                Traceback (most recent call last)
 in ()
----> 1 generate_attack_map_file(anchor_ip, top_inbound_b, outbound, twoway)
 in generate_attack_map_file(ip, inbound, outbound, twoway)
396                     'geometry': {
397                         'type': 'Point',
--> 398                         'coordinates': [float(row[7]), float(row[6])]
399                     }
400                 })
ValueError: could not convert string to float: Road Town

Fixed with https://github.com/Open-Network-Insight/oni-oa/issues/44


Pubsub unary pull does not correctly trace mod acks

What's happening: TracingPullLeaseManager::StartLeaseLoop -> DefaultPullLeaseManager::StartLeaseLoop -> DefaultPullLeaseManager::ExtendLeaseLoop
What should happen: TracingPullLeaseManager::StartLeaseLoop -> DefaultPullLeaseManager::StartLeaseLoop -> TracingPullLeaseManager::ExtendLeaseLoop -> DefaultPullLeaseManager::ExtendLeaseLoop
I need to refactor this so it is like the streaming pull, the StartLeaseLoop will be a public interface and the ExtendLeaseLoop will be part of a nested class.
Example here: https://github.com/alevenberg/google-cloud-cpp/blob/8dcd1c028b7b6de5f6eb684a64bb17b0a915bcee/google/cloud/pubsub/quickstart/subscriber_pull_quickstart.cc

The work is broken up into 4 parts:

Initial refactoring to add the PullLeaseManagerImpl
Refactor TracingPullLeaseManager unit tests for TracingPullLeaseManagerImpl
Refactor DefaultPullLeaseManager unit tests for DefaultPullLeaseManagerImpl
Refactor Factory unit tests


Fix typo

Coverage remained the same at 100.0% when pulling 9c5a62b0502f07342f1d9903801963c328b309e6 on adamtheturtle:patch-1 into 5e9322318843e507361583c93fcdfc111f48a47e on mewwts:master.

Thanks!


Add types for marathon

Testing

It's dead code for now, no testing needed. If one knows a good place to use these types initially, I'm all in for it 👍

Trade-offs

These types are auto-generated from the marathon raml definitions using https://github.com/DanielMSchmidt/dcos-api-schemas

Dependencies

Screenshots

We can use them everywhere we get a response back from Marathon. These parts are not moved to typescript yet, so this is an enabler to move them over

@DanielMSchmidt , sounds good.

@pierrebeitz I will show the way they were generated, but I think we need to think about them more as a one time generation

:tada: This PR is included in version 2.102.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Remove animation like curl while scroll or naviagete to next view controller

Hi..
I am using MSPageViewController for page view controller and i am newbie for this.
I want to remove animation while display when we scroll or simply navigate to next page.
How can i achive this.
Thanks in advance

If you are trying to change the transition style programmatically, I don't think there is a way. MSPageViewController is only meant to be used with a Storyboard, and in that case, it is in the inspector for the page view controller:


Why syncs-start packet is issued after two consecutive exceptions/interruptions?

What are the principles for this packet sending mechanism?

Normally, when there is a single trap, the following occurs:

Format 1 or 2 indicating last instruction retired before the trap
Sync-trap (with thaddr = 1) reports the cause of the trap, and the address of the 1st instruction that retires after the trap

Now consider a pair of consecutive traps.  The above case doesn't work, because the instruction after the 1st trap does not retire.  So instead we use the following sequence:

Format 1 or 2 indicating last instruction retired before the trap
Sync-trap with thaddr = 0 reports the cause of the 1st trap (and the address of the instruction which raised the exception).
Sync-trap with thaddr = 1 reports the cause of the 2nd trap and the address of the 1st instruction that retires after the 2nd trap

There is another case related to exceptions at the targets of indirect jumps (updiscons).  In the usual case (the first one above), the instruction which caused the exception is known: it is the instruction which follows the one reported in the format 1 / 2.  However, if that instruction is an indirect jump, the decoder doesn't know the target address, and so is unable to determine which instruction caused the exception.  So when the exception occurs at the target of an uninferable jump, the following sequence is used:

Format 1 or 2 indicating last instruction retired before the trap
Sync-trap with thaddr = 0 reports the cause of the trap, and the address or the instruction which raised the exception
Sync-start reports the address of the 1st instruction that retires after the trap

If a double-trap occurs after an uninferable jump you get

Format 1 or 2 indicating last instruction retired before the trap
Sync-trap with thaddr = 0 reports the cause of the 1st trap, and the address or the instruction which raised the exception
Sync-trap with thaddr = 0 reports the cause of the 2st trap, and the address or the instruction which raised the exception
Sync-start reports the address of the 1st instruction that retires after the 2nd trap

If there are more than 2 consecutive traps, the number of sync-trap packets with thadd=0 increases accordingly.
Iain
From: zhangdujiao @.>
Sent: 28 June 2024 09:19
To: riscv-non-isa/riscv-trace-spec @.>
Cc: Subscribed @.***>
Subject: [riscv-non-isa/riscv-trace-spec] Why syncs-start packet is issued after two consecutive exceptions/interruptions? (Issue #126)
What are the principles for this packet sending mechanism?

Reply to this email directly, view it on GitHubhttps://github.com/riscv-non-isa/riscv-trace-spec/issues/126, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALQOPSXIKFXZ77THIOEHBHTZJUL75AVCNFSM6AAAAABKBMLPACVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3TSOBWHE2DMMA.
You are receiving this because you are subscribed to this thread.Message ID<EMAIL_ADDRESS>

Thanks Iain, great to have you! Made me have a deeper understanding of the mechanism.
still a little question for the quoted scene, it seems Sync-start will issue in the last from figure 9.1, since <reported?> is satisfied. So, the address of the 1st instruction that retires after the 2nd trap will be reported by sync-start packet, am I right?

Now consider a pair of consecutive traps. The above case doesn't work, because the instruction after the 1st trap does not retire. So instead we use the following sequence: * Format 1 or 2 indicating last instruction retired before the trap * Sync-trap with thaddr = 0 reports the cause of the 1st trap (and the address of the instruction which raised the exception). * Sync-trap with thaddr = 1 reports the cause of the 2nd trap and the address of the 1st instruction that retires after the 2nd trap

Yes, exactly.
Iain
From: zhangdujiao @.>
Sent: 29 June 2024 03:24
To: riscv-non-isa/riscv-trace-spec @.>
Cc: Robertson, Iain (DI SW ICS TST RD EAH) @.>; Comment @.>
Subject: Re: [riscv-non-isa/riscv-trace-spec] Why syncs-start packet is issued after two consecutive exceptions/interruptions? (Issue #126)
Thanks Iain, great to have you! Made me have a deeper understanding of the mechanism.
still a little question for the quoted scene, it seems Sync-start will issue in the last from figure 9.1, since <reported?> is satisfied. So, the address of the 1st instruction that retires after the 2nd trap will be reported by sync-start packet, am I right?
Now consider a pair of consecutive traps. The above case doesn't work, because the instruction after the 1st trap does not retire. So instead we use the following sequence: * Format 1 or 2 indicating last instruction retired before the trap * Sync-trap with thaddr = 0 reports the cause of the 1st trap (and the address of the instruction which raised the exception). * Sync-trap with thaddr = 1 reports the cause of the 2nd trap and the address of the 1st instruction that retires after the 2nd trap

Reply to this email directly, view it on GitHubhttps://github.com/riscv-non-isa/riscv-trace-spec/issues/126#issuecomment-2197860339, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALQOPSRS43K2R4CLE6JZOPDZJYLDHAVCNFSM6AAAAABKBMLPACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJXHA3DAMZTHE.
You are receiving this because you commented.Message ID<EMAIL_ADDRESS>


[Bug] Is there a known bug with Driver Version: 535.129.03 which cases MscclppAllReduce3 to hang?

Hi MSCCL++ team,
Do you know if Driver Version: 535.129.03 has a bug that makes AllReduce3 to timeout?
Thanks,
--Saeed

Hmm... not tested based on this version. Azure hpc image using driver 535.86.10 and doesn't have this issue.
https://github.com/Azure/azhpc-images/blob/63e5eaa23de69ccc1c6e6a52dff29037c88e96d4/ubuntu/common/install_nvidiagpudriver.sh#L16-L19

thanks @Binyang2014! Debugging this issue with nvidia.

Hi @saeedmaleki, is this issue resolved on your end? 535.154.05 is working good on my env.

it definitely still happens, i think this is a non-deterministic bug. NVIDIA couldn't reproduce it either. so maybe we could ignore it for now.

Actually, I can occasionally reproduce this bug. @Binyang2014 please be aware.


Multi module project skipping rootCoverageReport

We are running version 1.9.0 in a project with a structure like such:
app
common
  - module 1
  - module 2
features
  - feature 1
  - feature 2

We have a flavor called devDebug so I am overriding it in the config as such:
rootCoverage {
  buildVariant = "debug"
  buildVariantOverrides = mapOf(":app" to "devDebug")

  generateHtml = true
  generateXml = true
}

As well as some other config.
I am running ./gradlew rootCoverageReport but nothing is being generated. Appending --info finds me this:
> Task :app:processDevDebugUnitTestJavaRes NO-SOURCE
file or directory '/Development/android/app/src/test/resources', not found
file or directory '/Development/android/app/src/testDev/resources', not found
file or directory '/Development/android/app/src/testDebug/resources', not found
file or directory '/Development/android/app/src/testDevDebug/resources', not found
Skipping task ':app:processDevDebugUnitTestJavaRes' as it has no source files and no previous output files.
Resolve mutations for :app:testDevDebugUnitTest (Thread[#5563,Execution worker,5,main]) started.
:app:testDevDebugUnitTest (Thread[#5563,Execution worker,5,main]) started.

> Task :app:testDevDebugUnitTest NO-SOURCE
Skipping task ':app:testDevDebugUnitTest' as it has no source files and no previous output files.
Resolve mutations for :rootCoverageReport (Thread[#5563,Execution worker,5,main]) started.
:rootCoverageReport (Thread[#5563,Execution worker,5,main]) started.

> Task :rootCoverageReport SKIPPED
Skipping task ':rootCoverageReport' as task onlyIf 'Any of the execution data files exists' is false.
AAPT2 aapt2-8.7.0-12006047-osx Daemon #0: shutdown

The top task output makes sense since we do not put our unit tests in the app module, but rather each individual module so that test code lives with the feature code. So I am not sure why the actual task is not finding the tests within the other modules to generate a report?
Any other info needed, I will be glad to provide. Thanks!

So it looks like not only does:
  buildTypes {
    debug {
      enableUnitTestCoverage = true
      enableAndroidTestCoverage = true
    }
  }

need to be applied to the :app module, but all sub modules as well. May want to update the docs with that, especially for a highly modularized project.
Awesome tool by the way, saved us a lot of time!


Review Procurement Journey with Mac

Describe the issue
Mac requested review of Procurement Journey.  This could be accomplished in the Even More Collaboration series or one on one.
Which Sprint Goal is this issue related to?

Note: 'Milestone' is a ZenHub term that we use synonymously with 'Sprint'.

The 'Milestone' description (created in ZenHub) should clearly list Sprint Goals. This section should indicate which 'goal' this issue is related to.
Additional context
Add any other context, attachments or screenshots
Definition of done

Mac has had an opportunity to walk through the journey and his feedback/suggestions/comments are captured
Tickets created if needed

Meeting scheduled for 2021-03-22


Defining radar scope vs. control scope

Currently the radar scope is twice the airport ctr_radius or 160 km.  Altitude is ground level to infinity within that distance.  The current control scope is the same distance, with 10,000' being the maximum altitude assignable.
I was thinking of changing the control scope to be the ctr_radius laterally and 0-10,000' vertically.  Aircraft outside of the controlled airspace would not respond to radio commands or show a flight strip, and would be visually displayed in a subdued manner.  All relevant scoring would occur at the control boundary instead of the current lateral 'radar' boundary.  An altitude of 11,000' would be assignable as an implied hand-off to the controller of the airspace above.
I had been thinking hand-offs should be implicit, as they are currently.  Making them explicit doesn't feel fun.
Thoughts? Does this feel right for this game?

To make this work I think the spawn rates, positions and tracks for new aircraft would have to be retuned for each airport. For SFO for example, it is currently necessary to issue commands to distant aircraft for things like popping up randomly in the path of a takeoff runway. Also, traffic separation is currently not guaranteed outside of the control boundary, and giving new vectors very early helps a lot. But if there was some greater order imposed (i.e. tighter enroute/area control spawn policy into each airport) then this new approach makes a lot of sense.

I absolutely agree, spawning would need to be tuned.  Likely departure would also need work to keep them from being vectored into an arrival.


Incomplete Convolutional docs

Hey Keras-Team,
As I noticed the convolutional layers documentation seems to be incomplete.
Concret I am missing the layer DepthwiseConv1D in your documentation. In code this layer is available but not mentioned in the layers overview:

(https://keras.io/api/layers/convolution_layers/)

The same is true for TransposeConvolution1D case:

Thx in advance for adding them <3

DepthwiseConv1D is new API and only available via pip install tf-nightly.
See https://www.tensorflow.org/api_docs/python/tf/keras/layers/DepthwiseConv1D


chore: implement issue form templates

Deprecation of old .md issue templates over .yml form templates to standardise our issue creation.

@afonsojramos Any way to test these new templates?

Not without merging, but you can check out a working example here: https://github.com/afonsojramos/discrakt/issues/new?assignees=&labels=🐛+bug%2Cbug&template=bug_report.yml

Not without merging, but you can check out a working example here: https://github.com/afonsojramos/discrakt/issues/new?assignees=&labels=🐛+bug%2Cbug&template=bug_report.yml

Looks great!


ComplexCondition: add config option to ignore null check

Expected Behavior of the rule

I expect to have option to ignore null checks in ComplexCondition rule, so they'll not be counted in total threshold

Simple example: we have many nullable values and need map them to some other data. To get mapped successfully, we must have all these values not-null. We can achieve this by recommended standard way:
data class SomeData(
    val one: Int,
    val two: Int,
    val three: Int,
    val four: Int,
    val five: Int,
    val six: Int
)

fun mapData(): SomeData? {
    val one: Int? = getOne()
    val two: Int? = getTwo()
    val three: Int? = getThree()
    val four: Int? = getFour()
    val five: Int? = getFive()
    val six: Int? = getSix()
    return if (one != null && two != null && three != null && four != null && five != null && six != null) {
        SomeData(one, two, three, four, five, six)
    } else {
        null
    }
}

But this way, we got an issue about too complex condition. But actually, it's just multiple null check to achieve smart cast
We could add additional config field to not count null check only if condition has null checks
Of cource, we can increase threshold, but this increase will touch conditions in whole project which could be really refactored

    return if (one != null && two != null && three != null && four != null && five != null && six != null) {
        SomeData(one, two, three, four, five, six)
    } else {
        null
    }

This looks smelly to me. I would replace it with:
    return if (listOf(one, two, three, four, five, six).all { it != null} ) {
        SomeData(one, two, three, four, five, six)
    } else {
        null
    }

I agree. Optionally, the author of this issue could also look into writing a custom rule by copying the existing rule and additionally flagging this code sample.

@cortinico No, in this case compiler would not activate smart cast to be able to instantiale SomeData object. Look at the signature more attentively

@schalkms of course, i can do it. But at my opinion, this case could be handled at library scope

@cortinico and lambdas inside if, at my opinion, significantly reduce readability

No, in this case compiler would not activate smart cast to be able to instantiale SomeData object. Look at the signature more attentively

IIRC, you should be able to write your own nullchecker function with a Kotlin contract that provides this capability

This issue is stale because it has been open 90 days with no activity. Please comment or this will be closed in 7 days.

Closing for the reasons explained above.


TextInput unexpected linebreaks

Software Versions

Python: 3.8.5
OS: Linux Mint 20 (based on Ubuntu 20.04 LTS)
Kivy: 2.0.0rc3

Describe the bug
If I start entering text (e.g. by holding down "c" key) between letters "a" and "b" in the line "aaaabbbb", then when the text fills all the line, unexpected linebreaks after each letter "b" appears.
Code and Logs and screenshots
from kivy.app import App
from kivy.uix.textinput import TextInput

class Sample(App):
    def build(self):
        return TextInput(text="aaabbb")

Sample().run()

Current behavior

Expected behavior

When investigating the issue more closely, I noticed that when typing a word larger than the width of the viewport if the cursor is at the end of the word, the text flows correctly. But, if after the word flows to the next line, you insert a character at the beginning of the previous line or in the middle of it, the problem mentioned above appears.
I made some attempts, without success :(
But to speed up the process of identifying the bug's origin, it's probably in:
https://github.com/kivy/kivy/blob/9152bc85908b757c0664f95c9105c84901e8b2a5/kivy/uix/textinput.py#L2576
https://github.com/kivy/kivy/blob/9152bc85908b757c0664f95c9105c84901e8b2a5/kivy/uix/textinput.py#L2561

Many thanks!
Actually I've fixed it and some other bugs, now testing. Hope to share the results in the nearest couple of weeks if everything will work properly.


1 hour running crash - None has type <type 'NoneType'>, but expected one of: (<type 'str'>, <type 'unicode'>)

Expected Behavior
Bot should run without crashing
Actual Behavior
Bot stops running and crashes after 1 hour, giving this error
Traceback (most recent call last):
File "pokecli.py", line 521, in
main()
File "pokecli.py", line 95, in main
bot.tick()
File "/Users/Alessio/PokemonGo-Bot/pokemongo_bot/init.py", line 441, in tick
if worker.work() == WorkerResult.RUNNING:
File "/Users/Alessio/PokemonGo-Bot/pokemongo_bot/cell_workers/evolve_pokemon.py", line 28, in work
response_dict = self.api.get_inventory()
File "/Users/Alessio/PokemonGo-Bot-Desktop/gofbot/src/pgoapi/pgoapi/pgoapi.py", line 122, in function
return request.call()
File "/Users/Alessio/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 106, in call
result = self._call()
File "/Users/Alessio/PokemonGo-Bot/pokemongo_bot/api_wrapper.py", line 63, in _call
return PGoApiRequest.call(self)
File "/Users/Alessio/PokemonGo-Bot-Desktop/gofbot/src/pgoapi/pgoapi/pgoapi.py", line 220, in call
response = request.request(self._api_endpoint, self._req_method_list, self.get_position())
File "/Users/Alessio/PokemonGo-Bot-Desktop/gofbot/src/pgoapi/pgoapi/rpc_api.py", line 126, in request
request_proto = self._build_main_request(subrequests, player_position)
File "/Users/Alessio/PokemonGo-Bot-Desktop/gofbot/src/pgoapi/pgoapi/rpc_api.py", line 216, in _build_main_request
request.auth_info.token.contents = self._auth_provider.get_access_token()
File "/usr/local/lib/python2.7/site-packages/google/protobuf/internal/python_message.py", line 669, in field_setter
new_value = type_checker.CheckValue(new_value)
File "/usr/local/lib/python2.7/site-packages/google/protobuf/internal/type_checkers.py", line 176, in CheckValue
raise TypeError(message)
TypeError: None has type <type 'NoneType'>, but expected one of: (<type 'str'>, <type 'unicode'>)
I've also tried ALL the trick found about that, even adding the token on line 94, but nothing worked
Steps to Reproduce
Let the bot running until the user stops it
Other Information
OS: OSX
Last dev commit
Python Version: 2.7

same

2016-08-09 11:32:17,053 [PokemonGoBot] [INFO] [login_started] Login procedure started. Traceback (most recent call last):   File "pokecli.py", line 524, in <module>     main()   File "pokecli.py", line 140, in main     report_summary(bot)   File "pokecli.py", line 149, in report_summary     metrics.capture_stats()   File "/root/Bot/pokemongo_bot/metrics.py", line 76, in capture_stats     response_dict = request.call()   File "/root/Bot/pokemongo_bot/api_wrapper.py", line 106, in call     result = self._call()   File "/root/Bot/pokemongo_bot/api_wrapper.py", line 63, in _call     return PGoApiRequest.call(self)   File "/root/Bot/src/pgoapi/pgoapi/pgoapi.py", line 220, in call     response = request.request(self._api_endpoint, self._req_method_list, self.get_position())   File "/root/Bot/src/pgoapi/pgoapi/rpc_api.py", line 126, in request     request_proto = self._build_main_request(subrequests, player_position)   File "/root/Bot/src/pgoapi/pgoapi/rpc_api.py", line 216, in _build_main_request     request.auth_info.token.contents = self._auth_provider.get_access_token()   File "/root/Bot/lib/python2.7/site-packages/google/protobuf/internal/python_message.py", line 669, in field_setter     new_value = type_checker.CheckValue(new_value)   File "/root/Bot/lib/python2.7/site-packages/google/protobuf/internal/type_checkers.py", line 176, in CheckValue     raise TypeError(message) TypeError: None has type <type 'NoneType'>, but expected one of: (<type 'str'>, <type 'unicode'>)

Same - 1 hour, bot crashes

Same problem
2016-08-09 04:09:49,761 [RecycleItems] [INFO] [item_discarded] Discarded 1x Greatball (maximum 90).
2016-08-09 04:09:49,768 [MoveToFort] [INFO] [moving_to_lured_fort] Moving towards pokestop Ibirapuera Escultura - 0.07km (attraction of lure 0.07km)
2016-08-09 04:10:03,754 [       cli] [INFO]
2016-08-09 04:10:03,755 [       cli] [INFO] Ran for 0:59:59
2016-08-09 04:10:03,755 [       cli] [INFO] Total XP Earned: 14210  Average: 14214.64/h
2016-08-09 04:10:03,755 [       cli] [INFO] Travelled 1.71km
2016-08-09 04:10:03,755 [       cli] [INFO] Visited 45 stops
2016-08-09 04:10:03,755 [       cli] [INFO] Encountered 26 pokemon, 26 caught, 33 released, 11 evolved, 0 never seen before
2016-08-09 04:10:03,755 [       cli] [INFO] Threw 33 pokeballs
2016-08-09 04:10:03,755 [       cli] [INFO] Earned 5053 Stardust
2016-08-09 04:10:03,755 [       cli] [INFO]
2016-08-09 04:10:03,756 [       cli] [INFO] Highest CP Pokemon: Pinsir [CP: 535] [IV: 15/11/14] Potential: 0.89
2016-08-09 04:10:03,756 [       cli] [INFO] Most Perfect Pokemon: Magikarp [CP: 18] [IV: 15/12/13] Potential: 0.89
Traceback (most recent call last):
  File "pokecli.py", line 502, in <module>
    main()
  File "pokecli.py", line 133, in main
    raise e
TypeError: None has type <type 'NoneType'>, but expected one of: (<type 'str'>, <type 'unicode'>)

Removed and updated pgoapi. 1+ hour running right now. No crash. Will update if it crashes (or not).
Update: Total Run time 1h 08m
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/init.py", line 851, in emit
msg = self.format(record)
File "/usr/lib/python2.7/logging/init.py", line 724, in format
return fmt.format(record)
File "/usr/lib/python2.7/logging/init.py", line 464, in format
record.message = record.getMessage()
File "/usr/lib/python2.7/logging/init.py", line 328, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
Logged from file init.py, line 547
Followed by Traceback (most recent call last):
File "pokecli.py", line 493, in
main()
File "pokecli.py", line 129, in main
raise e
TypeError: None has type <type 'NoneType'>, but expected one of: (<type 'str'>, <type 'unicode'>)

Duplicate of #2864, #2874

update to latest dev and upgrade pip packages

This should be resolved with #3241 being merged days ago.


Added color to the container and added link to the github & discord link

added Text colors to  different Section   as it was not visible

Added Github discord docs & community theme colors  links,

They are visible. If your instance is not showing them its because its missing a json file that gets generated by themes.py. Check your console logs for errors.


IPFS Desktop menu in corrupt state ?

OS: macOs
Version of IPFS Desktop

Describe the bug
Menu appears in some corrupt state and every item is disabled

Web UI seems to work fine
Additional context
I did see update notification this morning. Which I suspect might be related

Logs
combined log for last couple of days
2020-05-13T15:22:47.931Z info: [updater] update not available
2020-05-13T15:22:49.398Z info: [npm on ipfs] ipfs-npm: checking if outdated
2020-05-13T15:23:13.338Z error: [npm on ipfs] ipfs-npm: could not check if up to date Error: Command failed: npm outdated -g

2020-05-13T15:23:13.338Z info: [npm on ipfs] ipfs-npm: is out to date, will update
2020-05-13T15:24:00.472Z info: [npm on ipfs] ipfs-npm: installed globally
2020-05-14T03:23:35.016Z info: [updater] update not available
2020-05-14T03:23:36.773Z info: [npm on ipfs] ipfs-npm: checking if outdated
2020-05-14T03:23:49.531Z error: [npm on ipfs] ipfs-npm: could not check if up to date Error: Command failed: npm outdated -g

2020-05-14T03:23:49.534Z info: [npm on ipfs] ipfs-npm: is out to date, will update
2020-05-14T03:24:33.976Z info: [npm on ipfs] ipfs-npm: installed globally
2020-05-14T19:29:11.435Z info: [updater] update not available
2020-05-14T19:29:13.178Z info: [npm on ipfs] ipfs-npm: checking if outdated
2020-05-14T19:29:45.747Z error: [npm on ipfs] ipfs-npm: could not check if up to date Error: Command failed: npm outdated -g

2020-05-14T19:29:45.747Z info: [npm on ipfs] ipfs-npm: is out to date, will update
2020-05-14T19:30:39.292Z info: [npm on ipfs] ipfs-npm: installed globally
2020-05-16T12:23:20.038Z info: [ipfsd] stop daemon STARTED
2020-05-16T12:23:20.458Z info: [ipfsd] stop daemon FINISHED 0.41648366701602935s
2020-05-16T12:23:20.461Z info: [ipfsd] start daemon STARTED
2020-05-16T12:23:23.129Z info: [daemon] PeerID is QmYhQG9JXYeBF6pL7yafFJfEYcKPp9N8n4aRmYZzU6z47u
2020-05-16T12:23:23.129Z info: [daemon] Repo is at /Users/gozala/.ipfs
2020-05-16T12:23:23.130Z info: [ipfsd] start daemon FINISHED 2.666522302001715s
2020-05-18T16:09:32.321Z info: [updater] update available, download will start
2020-05-18T16:09:33.947Z info: [npm on ipfs] ipfs-npm: checking if outdated
2020-05-18T16:09:49.893Z info: [updater] update downloaded

error log for this month

2020-05-01T07:31:11.859Z error: [npm on ipfs] ipfs-npm: could not check if up to date Error: Command failed: npm outdated -g

2020-05-02T00:01:23.656Z error: [npm on ipfs] ipfs-npm: could not check if up to date Error: Command failed: npm outdated -g

2020-05-03T04:24:17.414Z error: [npm on ipfs] ipfs-npm: could not check if up to date Error: Command failed: npm outdated -g

2020-05-04T21:12:41.960Z error: [npm on ipfs] ipfs-npm: could not check if up to date Error: Command failed: npm outdated -g

2020-05-05T21:11:26.331Z error: [npm on ipfs] ipfs-npm: could not check if up to date Error: Command failed: npm outdated -g

2020-05-06T20:05:01.330Z error: [npm on ipfs] ipfs-npm: could not check if up to date Error: Command failed: npm outdated -g

2020-05-07T15:33:30.086Z error: [npm on ipfs] ipfs-npm: could not check if up to date Error: Command failed: npm outdated -g

2020-05-08T20:17:03.227Z error: [npm on ipfs] ipfs-npm: could not check if up to date Error: Command failed: npm outdated -g

2020-05-12T19:42:08.392Z error: [npm on ipfs] ipfs-npm: could not check if up to date Error: Command failed: npm outdated -g

2020-05-13T15:23:13.338Z error: [npm on ipfs] ipfs-npm: could not check if up to date Error: Command failed: npm outdated -g

2020-05-14T03:23:49.531Z error: [npm on ipfs] ipfs-npm: could not check if up to date Error: Command failed: npm outdated -g

2020-05-14T19:29:45.747Z error: [npm on ipfs] ipfs-npm: could not check if up to date Error: Command failed: npm outdated -g

@rafaelramalho19 and/or @lidel -- can you please look into this?

Just noticed that there was a dialog buried behind some windows

I suspect menu is rendered in that awkward state when that dialog open. I'm also unable to reproduce this issue any more.

@rafaelramalho19 either this is a generic bug in our code or a quirk of Electron on macOS.
Some tips for when you have time to take a look:

perhaps we just need to update/rebuild  menu at the end of autoupdate hook?
(otherwise) I remember Electron menu/tray rendering was full of quirky behaviors on different platforms (eg. we already have custom code paths for updating it on linux, iirc). This may be harder to track, but also may be fixed by making additional refresh on macOS.

@lidel Isn't this the modal we use to skip the "Do not disturb" mode? Maybe it's blocking all the options from being selectable since it's probably waiting for user input to continue...
Need to look into this 🤔

I can confirm the dialog freezes everything happening in the ipfs-desktop system tray menu. But I'm not able to reproduce that awkward state @Gozala was reporting.
What do you prefer about this?

Try to force the menu to update with some hack 🔨
Make the update feature not blocking? (This could lead to people using outdated versions, but it's their choice nonetheless)

Just got another update and it seems that this time around dialog did not renderred menu in corrupt state

Just dumping some old knowledge here: macOS allows us to show dialogs without showing the dock icon so it can be an hassle to find the dialogs! We're, by default, showing the dock when showing dialogs.
@Gozala did you notice if the dock icon of IPFS Desktop was shown at that moment? I think the same happened to me and Molly. However, I did not notice the dock icon. If I did, I wouldn't have force killed IPFS Desktop 😞
--
Idea: maybe the logic behind hiding the dock is wrong because I'm not sure if a dialog is counted for the active windows. But anyways, that shouldn't be a problem because we only call that after receiving the response from the dialog: https://github.com/ipfs-shipyard/ipfs-desktop/blob/master/src/dialogs/dialog.js#L42
We're using showMessageBoxSync. I wonder if by using showMessageBox (async version), we would not run into the weird status bar state.

@hacdias Tried out your suggestion but it's still locking the process until the dialog is dealt with 😢

Well, I don't think that the "inactive" state is bad: if a dialog is opened, then it's because user action is required that depends on the current context. If the menu could be changed, things could break.
The only worry I have is the corrupt state in the beginning of the post I've never seen before. But so far no one reproduced it.

Agree with assesment from https://github.com/ipfs/ipfs-desktop/issues/1513#issuecomment-633583292, assuming no longer an issue.


Add --override-module-licence and --check-go-modules options

This allows you to override the licence for a given go module. This
finds the directory for the module, then continues with compliance
checking normally.

@sebbonnet I think I've fixed all those up, mind taking another look?

Thanks @kragniz - I've released this under v1.0.1


Provide API for phrase retrieval

Using keywords provide well-known urls for emoji phrases

Initial option:

use Google sheets and API spark to serve phrases


Support Message and Command stores on AWS DynamoDB

I'm working on it

Is there a progress on this? I'd be happy to give this a go

Lets talk tomorrow in the office about this :)
Cheers,
Deniz
On Wednesday, 20 July 2016, João Lebre<EMAIL_ADDRESS>wrote:

Is there a progress on this? I'd be happy to give this a go
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/iancooper/Paramore/issues/131#issuecomment-234097630,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALro8KisK8NYDHW3gi_jjHnO_lhFgBZHks5qXpr6gaJpZM4FxpWt
.


Json as local file or raw json

Is this a request for help?: Yes

Is this a BUG REPORT or FEATURE REQUEST? (choose one):

Version of Helm and Kubernetes: 2.0.1 and 1.13 respectively
Which chart: Grafana
What happened: Change/Update to version 1.23.0 on the 11th of Jan removed the ability to pass raw json into a values file. Looks for files but doesn't find local file as I believe when I pass the stable/grafana its expanding the copy in local cache directory which doesn't find local json files.
What you expected to happen:
Json to be updated in the ./var/lib/grafana/dashboards/*.json from local file or the raw json in the  values.yaml
How to reproduce it (as minimally and precisely as possible):
Try use a local json file in the directory you run helm command above or update the values.yaml with raw json as per below.
e.g.

dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1
providers:
- name: 'default'
orgId: 1
folder: ''
type: file
disableDeletion: false
editable: true
options:
path: /var/lib/grafana/dashboards
- name: 'json-configmap'
orgId: 2
folder: ''
type: file
disableDeletion: false
editable: true
options:
path: /var/lib/grafana/dashboards/json-configmap/
dashboards:
default:
custom-dashboard:
json: |
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
}
json-configmap:
joe1-dashbaord:
json: dash.json

any help would be great!

PR on its way :)

cheers!

Would it be possible to get something like...
data:
{{ (.Files.Glob "dashboards/*.json").AsConfig | indent 2 }}
or
data:
{{ (.Files.Get "custom-.json").AsConfig | indent 4 }}
to the stable chart to enable the use of a local file?

This is a bit misleading I suppose.
You can not actually use a local file, unless it is inside the chart directory. Meaning - you must have a local copy of the chart directory to use this feature, and you can not use it along with helm install stable/grafana.
Regarding {{ (.Files.Glob "dashboards/*.json").AsConfig | indent 2 }} - since all other dashboards are defined one by one, I would prefer to keep it as is. Another reason would be the usage of $key as the file name in the configmap.
Both these reasons are only my opinion. Should a PR come along to settle these, I would probably approve it ;)

Thanks for the quick feedback.
So the team I work in don't want to use the local copy of the chart directory.  I don't see how we can pass external JSON to the chart without using a URL(This isn't ideal either for management of multiple and new dashboards)
Is there a suggested way to use helm install stable/grafana to pass external JSON?
Thanks again!

I think the best way is using url. If this is not possible for you, I would use the json option and do something along the lines of:
Have the files in a directory.
Write a short script that iterates over the files and adds their content to a new values file. Lets call it dashboards-values.yaml.
This file only contains the dashbords now (need to create it to fit the structure of the json dashboard.
Now you can pass that file and do:
helm install stable/grafana -f dashboards-values.yaml.
Will that work for you?
Hope this helps.

Thanks I am using
helm --debug install --namespace Joe --name grafana --values values.yaml stable/grafana
However the json option currently isn't working and hence the issue. Are you suggesting that the json option of passing raw json should work?
Thanks

Yes! It is now working again :)

Super and thank you!
However I am getting an issue with using raw json.
Just to confirm that you have tried the raw json in the dashboards-values.yaml ?

just ignore the last message I got it! Many thanks for this!

Happy to help ;)


When would u release the official code?

Thank you for your interest in our work.
We just uploaded the official pytorch code.
We will close this issue.


[BUG]There is an error when creating vm using withLinuxGalleryImageVersion

Describe the bug
There is an error when creating vm using withLinuxGalleryImageVersion
Exception or Stack Trace
Exception in thread "main" com.microsoft.azure.CloudException: Parameter 'osProfile' is not allowed.: Parameter 'osProfile' is not allowed.
at com.microsoft.azure.AzureClient.createExceptionFromResponse(AzureClient.java:771)
at com.microsoft.azure.AzureClient.access$100(AzureClient.java:33)
at com.microsoft.azure.AzureClient$3.call(AzureClient.java:160)
at com.microsoft.azure.AzureClient$3.call(AzureClient.java:157)
at rx.internal.operators.OnSubscribeMap$MapSubscriber.onNext(OnSubscribeMap.java:69)
at retrofit2.adapter.rxjava.CallArbiter.deliverResponse(CallArbiter.java:120)
at retrofit2.adapter.rxjava.CallArbiter.emitResponse(CallArbiter.java:102)
at retrofit2.adapter.rxjava.CallExecuteOnSubscribe.call(CallExecuteOnSubscribe.java:46)
at retrofit2.adapter.rxjava.CallExecuteOnSubscribe.call(CallExecuteOnSubscribe.java:24)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:81)
at rx.internal.operators.OnSubscribeSingle.call(OnSubscribeSingle.java:27)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:39)
at rx.internal.operators.SingleToObservable.call(SingleToObservable.java:27)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.DeferredScalarSubscriber.subscribeTo(DeferredScalarSubscriber.java:153)
at rx.internal.operators.OnSubscribeTakeLastOne.call(OnSubscribeTakeLastOne.java:32)
at rx.internal.operators.OnSubscribeTakeLastOne.call(OnSubscribeTakeLastOne.java:22)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48)
at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33)
at rx.Observable.unsafeSubscribe(Observable.java:10327)
at rx.internal.operators.OperatorSubscribeOn$SubscribeOnSubscriber.call(OperatorSubscribeOn.java:100)
at rx.internal.schedulers.CachedThreadScheduler$EventLoopWorker$1.call(CachedThreadScheduler.java:230)
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: rx.exceptions.OnErrorThrowable$OnNextValue: OnError while emitting onNext value: retrofit2.Response.class
at rx.exceptions.OnErrorThrowable.addValueAsLastCause(OnErrorThrowable.java:118)
at rx.internal.operators.OnSubscribeMap$MapSubscriber.onNext(OnSubscribeMap.java:73)
... 43 more
To Reproduce
when use withLinuxGalleryImageVersion（）function to create vm
Code Snippet
VirtualMachine placementGroup = azure.virtualMachines().define("guanjuntest060198").withRegion(Region.CHINA_NORTH)
.withExistingResourceGroup("test0608").withNewPrimaryNetwork("<IP_ADDRESS>/28")
.withPrimaryPrivateIPAddressDynamic().withoutPrimaryPublicIPAddress()
.withProximityPlacementGroup(
"")
.withLinuxGalleryImageVersion(
"")
.withRootUsername("")
.withRootPassword("*")
.withOSDiskStorageAccountType(StorageAccountTypes.STANDARD_SSD_LRS)
.withSize(VirtualMachineSizeTypes.STANDARD_A1_V2)
.withOSDiskName("test").withOSDiskSizeInGB(128)
.create();
Expected behavior
create successfully
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):

OS: win 10
IDE : Eclipse
Version of the Library used:

com.microsoft.azure
azure
1.34.0

Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[ ] Bug Description Added
[ ] Repro Steps Added
[ ] Setup information Added

hi @xccc-msft could you pls have a look? thanks

@123Jun321 Thanks for sharing the code snippet. I tried similar scenario with region of US west instead of China north as our testing environment cannot create a resource group via China north for now.
        VirtualMachine virtualMachine = this.computeManager.virtualMachines().define("test")
                .withRegion(REGION)
                .withExistingResourceGroup(RG_NAME)
                .withNewPrimaryNetwork("<IP_ADDRESS>/28")
                .withPrimaryPrivateIPAddressDynamic()
                .withoutPrimaryPublicIPAddress()
                .withLinuxGalleryImageVersion(imageVersion.id())
                .withRootUsername("user")
                .withRootPassword("pwd")
                .withOSDiskStorageAccountType(StorageAccountTypes.STANDARD_SSD_LRS)
                .withSize(VirtualMachineSizeTypes.STANDARD_A1_V2)
                .withOSDiskName("test").withOSDiskSizeInGB(128)
                .create();

From my end, I cannot reproduce your issue. And also, it's weird that it returns error message of osProfile not allowed as the root user/password are part of os profile. I would add label of Service Attention so the service team could provide help on this issue. Thanks.

@123Jun321 Are you trying to create a VM using a specialized image version? If so, OSProfile (username, password, computer name) should not be passed.

Hi  axayjo,
Yes, we try to create a VM using a specialized image version, but when we use the withLinuxGalleryImageVersion method, you must use this withRootUsername later, if you don't, it will report an error. To learn more about this issue, I think you can try it in your local.

Thanks @123Jun321. @xccc-msft, can you take a look at this? Seems like an SDK issue. On the service end, we don't require users to pass OSProfile related information (username, password, computer name) if the VM is being created from a specialized image. You should be able to reproduce this if you use a specialized image.

@123Jun321 Thanks for sharing the details.
@axayjo Is this a new scenario or existing one? Do we have any doc with related service scenarios? We might need to make some changes on phases of VM interfaces.

@123Jun321 Please feel free to review the PR with supporting specialized gallery image version and share your comments.
@axayjo It would be appreciated if you could advise similar scenarios which should not pass the OS profile besides the specialized image version.
Thanks.

@xccc-msft  ok thanks. I will focus on it

Removing the ServcieAttention label because this is being fixed on the SDK side.


aws-sso-util configure profile is hard to use

When using aws-sso-util configure profile a few things make it difficult to use:

Prompt for start URL and region (I think this can be safely assumed by the time we start setting up profiles)
After providing a valid account Id and role, a selector box still pops up and requires me to find the role again
The roles in the selector don't appear to be sorted or searchable and the list can be quite long
CLI default client region and format are requested at each new profile without any default option. The region and format must be entered each time.

These are all good requests. Currently, aws-sso-util configure profile delegates to aws configure sso if not all the required information is provided, and there isn't a way to provide any of the partial information that aws-sso-util configure profile has to that CLI command, so it reprompts for everything. So, you should probably open one or more issues on the CLI repo for improvements there. But you can leave this one open as well, as it's possible aws-sso-util configure profile will get its own implementation in the future.
You can also disable the delegation to aws configure sso with the --non-interactive flag, in which case it will error out if not all the required information is provided.

Also, you can use AWS_CONFIGURE_DEFAULT_REGION to set the default region (though again, this won't help if it gets delegated to aws configure sso). I hear you on the format, though.


Add expect-error input to force PR check green on expected failure

In #1159 we introduced a PR check to confirm that when the analyze workflow fails, partial debug artifacts are still uploaded. This caused 2 PR checks that always failed with a red X, which was not ideal for user experience.
This change adds an expect-error optional input to the analyze workflow, which is set by default to false. Only in the PR Check that intentionally causes a failure in analyze is it set to true (though it could also be used in future cases where we expect a failing job). If this parameter is true, we do not call core.setFailed(...) on the job so it succeeds.
If expect-error is set in any run not created by this repo, or a fork of it, we throw an error.
If expect-error is set to true, but no error in the run was found, the job fails.

Merge / deployment checklist

[x] Confirm this change is backwards compatible with existing workflows.
[x] Confirm the readme has been updated if necessary.
[x] Confirm the changelog has been updated if necessary.

So far I have tested to confirm the following cases:

when expect-error is set on a repo that's not this one, expect-error input parameter is for internal use only. It should only be set by codeql-action or a fork. is thrown. (run)
when expect-error is set on this repo, and no error is found, expect-error input was set to true but no error was thrown. is thrown. (run)
when expect-error is set on this repo and an error is thrown, the job succeeds and is green (run)

I will test to make sure it does the right things in a fork and update.

The fork logic works 👍 (run)
I will do some comment and commit cleanup.

Thank you! I forgot to remove a couple of core.info() debug lines. Will remove them now, squash and merge, and then add these PR checks to the required set.


Add javadocs checks on circle-ci

Javadocs problems make the build fail but actually, circle-ci is not checking any JavaDocs.
We should add the ./gradlew install on circle-ci to avoid https://github.com/aerogear/aerogear-android-sdk/issues/97

PR https://github.com/aerogear/aerogear-android-sdk/pull/109 should fix this issue.


Adding supports for variable-sized keys, additionally a Generalized Extreme Value Distribution generator

As reported in a paper (Workload Analysis of a Large-Scale Key-Value Store) at SIGMETRIC'2012, the key size  is Generalized Extreme Value distribution in Facebook.
I hence implemented a new IntegerGenerator for Generalized Extreme Value distribution (see com.yahoo.ycsb.generator.ExtremeValueGenerator).
The comparisons of the theoretical distribution and the generated distribution are shown in the attached files.

To support variable-sized keys, I added a persistent array of key lengths.
The array records the lengths of all keys, one byte for each key.
The length of the first key (namely "1") is in the first slot, second in the second slot, and so on.
The array would be initialized in Load phase, and persisted into a file named "keylengths.array".
In Run phase, the file is read back to re-construct the array.
It will grow up if there are insert transactions.
In each operation, buildVariableKeyName() is called to construct the key according to the key length and the key number.
Additionally, since the keylengths.array file records the size of the current key space, we can execute several Run phases after a single Load phase without the need of manually updating the 'recordcount' in the workload file.
Best regards
Min Fu

Hi! Could you rebase to current master so we can try to get a clean CI build?

Could we break the new workload into a new class rather than trying to fit it into CoreWorkload? something like VariableKeyLengthWorkload?


icon updates + addition

Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

lgtm


(fix): allow user_attributes to be evaluated with symbol or string keys

Summary

Change the default_proc of the user_attributes hash to check for string keys or symbol keys and return the appropriate value.

The SDK allows a user to send the user_attributes hash with symbol keys or with string keys. If passing a hash with symbol keys, the evaluate check will always return nil as the method only checks for string keys. This will enable the attribute evaluation to evaluate string or symbol keys.
Test plan

Added unit tests to pass in user_attributes with a symbol hash and ensure new tests and existing tests still passed.

Issues

none opened at this time.

Would love to know if there's a better way to handle this! Just took a stab to see if I could enable that functionality. :)

Realized I created the PR incorrectly. Closing to reopen with new pr. Sorry about that!

Reopened as #277 with the proper branch name on my fork.


Add an anchor system to SuperEditor widget

It should be easier than it is to display popover toolbars and other overlay anchored items.
Currently, developers need to provide a ScrollController to SuperEditor so that the developer can update the toolbar's location on every frame. This is very tedious and it's likely to fail when there's more separation between SuperEditor and the rest of the app behavior.
One idea that I have to deal with this is to pass a map of DocumentSelection -> LayerLink. The SuperEditor widget can maintain a set of invisible SizedBox widgets at the locations and sizes represented by the various DocumentSelections and those boxes can be wrapped in a LinkTarget.
Then, builder widgets could be used to easily anchor other widgets in the overlay.
SuperEditorAnchoredBuilder(
  link: _selectionLink,
  overlayBuilder: (context) {
    return EditorToolbar(
      editContext: editContext,
    );
  },
  child: SuperEditor(
     //...
     anchors: {
       // Place an invisible anchor around the user's selection
       _selectionLink: composer.selectionNotifier,
     },
  ),
);

Another issue I'm having is that my toolbar is a bit large and it prevents the user from being able to scroll the document when the mouse is on top of the toolbar. This is because the toolbar isn't actually in the scrollable widget. afaik I don't think it's possible to collect raw scroll information?
Another use case is slash commands. For example in Notion, if you type "/h1" a filtered list of blocks shows up and hitting enter will create a new block of that type.


Implement ZoomEye feature for search

Hi, I saw that ZoomEye is in your to-do list and still not supported. I make the ZoomEye module and search query so it now support melting-cobalt and fully functionable. Here is my screenshot:

Please give it try ;)

tested and ran successfully


Endpoint routing extensibility

I am trying to extend endpoint routing in order to support additional url patterns. Even though the Mvc api allows me to add Endpoints and EndpointDataSources the part that matches the url is internal/sealed. Apart from this the DefaultLinkGenerator is tightly coupled with RouteEndpoint which is also sealed.
In my opinion the Mvc API should change in one of two ways:

Make Endpoint and EndpointDatasource internal/sealed to signal that there is no chance of extending endpoint routing
OR
Make the Matcher part public and decide on what scenarios should be available for customization. Ideally we would like to be able to customise the url matching and generation engine.

We are in the process of moving our CMS to ASP.Net Core and we need to be able to support the url structure and customization options that our platform provided using Mvc 5. In our Mvc 5 implementation we supported url patterns like the following:
{language?}/{category:1,3}/{article:2}
language is optional and can have at most 1 path part
category is required and should have between 1 and 3 path parts
article is required and should have exactly 2 path parts
Each parameter of the url would have a route constraint that was responsible for:

Url generation: Serving as an adapter between the route values and the path part of the url that is being generated. i.e. the constraint could influence what the url would look like. Usually this would involve converting entities into url fragments e.g.
article  => $"{article.ID}/{article.FriendlyUrl}"
This can be achieved in endpoint routing by you need to use two separate classes. IRouteConstraint and IOutboundParameterTransformer. You can not have the same class implement both interfaces because IOutboundParameterTransformer.TransformOutbound is being called twice and this is confusing and will leaded to weird behavior. So the end result is a little clunky.

Incoming request: The constraint was responsible for validating that the url fragment is valid and retrieves the entity/model needed to display. So '123/my-article-title' -> id=123 -> db.Articles.Where(x=> x.ID == 123).Select(x=> new MyArticleModel{})
I believe this can be achieved with endpoint routing

@rynowak could you respond?

So let me answer my own questions:

We wanted to customize the Matcher part of the routing engine: This is possible by creating your own middleware. The output of this middleware is in fact an Endpoint (so yeah thats why Endpoint is public). The middleware should look at the HttpContext and decide if it matchers or not, produce route values and set an endpoint whos RequestDelegate actually executes the request.  The request delegate can then execute a controller based on the route values, possibly using IActionDescriptorCollectionProvider and IActionInvokerFactory.
We wanted to customize url generation: This can be done by decorating LinkGenerator. LinkGenerator has 4 methods which can be overriden and do additional checking to determine the url based on the route values

So in the end, endpoint routing is not customizable in itself but you can create your own collection of endpoints (or routes), and hook them up with a middleware and LinkGenerator so that they work in parallel to it.

Have you tried the DynamicRouteValueTransformer?

If I got everything right DynamicRouteValueTransformer handles all route values and only for incomming requests.  Instead of having a route constraint responsible for a given entity (language, page, article whatever) both for url generation and incomming requests, we would have to have to split the logic of those constraints into two classes:

Implementation of IRouteConstraint to check whether we have the route values we need in the route value dictionary during url generation and incoming request. I think IRouteConstraint can actually influence route values in incoming requests so DynamicRouteValueTransformer would not be needed for our scenario
IOutboundParameterTransformer to transform the route value to a path

But even then there is always the limitation that a route parameter can not have more than one url segments (i.e. /{category}/{article} => {category} can not have '/' in it)

Correct: if you want to have complete control over URL matching, write a middleware for this.
The common use case of DynamicRouteValueTransformer is to write a route pattern like "{**slug}" and then run your arbitrary logic to do matching. That will capture the entire URL path for you to process.


Store initialization guarantees best block initialization

PR Description
Guarantee store initialization to initialize best block

@ajsutton I've noticed that the approach I took was utterly rubbish, and the only thing I need to do to guarantee that we have a properly set best block before the networks starts it to run the ForkChoice.processHead() as soon as the Store is initialized. I will make a forced push that will get rid of the changes I have now, and update the PR with the simple changes necessary.


Only hide empty values if compact mode is enabled

If a value is an empty string, it currently is hidden regardless of the setting compact_show_view.
I think an empty string should only be hidden if compact mode is enabled. This PR enables that behaviour.

Could you write a spec for this issue? Best place will be:
https://github.com/sferik/rails_admin/blob/master/spec/integration/actions/show_spec.rb

@mshibuya : Tests have been added. When you run these without the parentheses in the view the test shows blank fields will fail:
  2) Show action when compact_show_view is disabled shows blank fields
     Failure/Error: is_expected.to have_css('.logo_url_field')
       expected #has_css?(".logo_url_field") to return true, got false
     # ./spec/integration/actions/show_spec.rb:95:in `block (3 levels) in <top (required)>'

Perfect, thanks!


[Feature]

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

Describe the feature you'd like

Additional context

What is the feature though?

epic isiuse


feat(TFD-2146): add ability to pass through PTransform name

What is the current behavior? (You can also link to an open issue here)
What is the new behavior?
add ability to pass through PTransform name
Please check if the PR fulfills these requirements

[ ] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: success :star:
Sonar results

Hi @StefanLMNG @lbourgeois
I have done a modification about unify the chilid PTransform name,
I intend to use the build-in naming mechanism by Beam rather than add other names, as it readable and easy to locate the relate code, will send you pic on slack
1 use the class name of PTransform,
2 give a proper name for anonymous PTransform

Pull request test result: failure :x:

failed by salesforce, not related
com.sforce.soap.partner.fault.LoginFault
	at org.talend.components.salesforce.runtime.SalesforceSessionReuseTestIT.invalidSession(SalesforceSessionReuseTestIT.java:434)
	at

Pull request test result: success :star:
Sonar results


Split up global settings button and utility menu

To me it feels like the settings button does not belong into the menu since it is a "user facing" functionality while the other stuff in the utility menu is more for development on abapGit itself or less commonly used utility functions. Open to opinions though, maybe I am alone in that assumption.

Addresses #3770 with the least amount of effort possible :)

I also noticed the settings hotkey does not work on the repo page. I tried adding it in 1444744a5f5910dc17ee349d0030a348d3e2d89c but that causes the table to change the hotkeys to shortdump because of a duplicate key. So I reverted that change.

I was about to split "Settings" into "Global Settings" and "User Preferences" since it was becoming rather big with the new HTML forms https://github.com/larshp/abapGit/issues/3878. Maybe with your change "Global Settings" and "Personal Settings" behind the "Settings" button make more sense.

thanks 👍

I was about to split "Settings" into "Global Settings" and "User Preferences" since it was becoming rather big with the new HTML forms #3878. Maybe with your change "Global Settings" and "Personal Settings" behind the "Settings" button make more sense.

If it's split into two pages then just change it to a dropdown again.


musl LLVM toolchain

We may be able to use a static toolchain like this one: https://github.com/grailbio/bazel-toolchain
The Linux kernel is technically able to be built with LLVM, even with CFI (which is nice for security). Google uses it in production and Pixel phones.

Working on this. Trying to build a fully static and portable llvm+clang+libcxx+musl toolchain.

Currently paused because got preeempted by Kubernetes / Control Plane split. But still in my immediate backlog.

Letting someone else deal with this beast.


fix: Make msg a function to fix http logging

Changes Unknown when pulling b2230f2fec995702eaf514802c1987cb00c0e1ce on fix/http-logging into ** on master**.


Shorten hostnames in server response time stats logs

Right now we get FQDNs in the logs while logging server response time. It is useful to shorten this to
just the leading part of the domain name, so as to reduce the log size.

Codecov Report

Merging #1300 into master will decrease coverage by 0.03%.
The diff coverage is 57.14%.

@@            Coverage Diff             @@
##           master    #1300      +/-   ##
==========================================
- Coverage   67.35%   67.31%   -0.04%
==========================================
  Files         774      774
  Lines       37802    37806       +4
  Branches     4940     4941       +1
==========================================
- Hits        25460    25448      -12
- Misses      10672    10680       +8
- Partials     1670     1678       +8

Impacted Files
Coverage Δ

...not/transport/scattergather/ScatterGatherImpl.java
67.88% <57.14%> (-0.34%)
:arrow_down:

...not/common/segment/fetcher/HttpSegmentFetcher.java
28.57% <0%> (-19.05%)
:arrow_down:

...dex/loader/invertedindex/InvertedIndexHandler.java
77.58% <0%> (-13.8%)
:arrow_down:

...m/linkedin/pinot/common/utils/FileUploadUtils.java
45.58% <0%> (-7.36%)
:arrow_down:

...kedin/pinot/core/util/SortedRangeIntersection.java
83.82% <0%> (-7.36%)
:arrow_down:

...time/converter/stats/RealtimeColumnStatistics.java
70.31% <0%> (-3.13%)
:arrow_down:

...ealtime/converter/RealtimeSegmentRecordReader.java
82.35% <0%> (-2.95%)
:arrow_down:

...manager/realtime/HLRealtimeSegmentDataManager.java
77.34% <0%> (-2.21%)
:arrow_down:

...e/realtime/converter/RealtimeSegmentConverter.java
87.5% <0%> (-2.09%)
:arrow_down:

...e/operator/dociditerators/MVScanDocIdIterator.java
62.68% <0%> (-1.5%)
:arrow_down:

... and 11 more

Continue to review full report at Codecov.

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


[Frontend] Some Bugs

Describe the bug

Bug 1
Join Us Button is not at center.

Bug 2
Text of Footer Sign Up Button is out of the button.

To Reproduce
Steps to reproduce the behavior:

Go to Home Page
Click on Open Inspect Tool
Scroll down to Toggle Device Emulation
Resize the screen to 786px
We can see the above bugs.

Desktop (please complete the following information):

OS: [e.g. iOS] Windows
Browser [e.g. chrome, safari] Edge
Version [e.g. 22]

Have you read the Code of Conduct?
Yes.
I would Like to fix it.

Hey @sanjay270899 Thanks for pointing these out. Please go ahead with fixing it.


Custom fee lower than 'Low' Fee Bug

Related to PR:https://github.com/hirosystems/stacks-wallet-web/issues/1728
User was testing the Fee estimate PR
User wanted a custom fee which is lower than the 'Low' setting fee displayed
User was able to send the tx with the lower fee but when user wanted to send another tx,the standard fee was displayed as the first tx custom fee value which was 0.000072 STX as opposed to the standard actual fee which is 0.012876 STX
User was not able to select 'Preview 'icon as well
Attaching the error console log and video for perusal
https://user-images.githubusercontent.com/38872890/141829163-d3eb33b1-c6e2-48f4-ac69-b8eccb38e8aa.mov

cc @fbwoolf

@Eshwari007 I am not sure I understand this issue? It is expected behavior that a user can send a tx lower than the lowest estimate, so that is ok. A warning should just popup letting the user know it might fail. After sending that tx, you would not end up back at the send form. You would end up on the activity list, did that happen for you?

@Eshwari007 got it, thx for clarifying, so the state must not have cleared from the first tx ...I will take a look.

@Eshwari007 I fixed this locally, how should I handle the issue on a feature branch? Should I just close it or keep it open and move to QA again once I push up the fix?

@fbwoolf Since the issue is open, I'd move it to QA to be retest before merging the PR #1857
@Eshwari007 since the issue is directly related to the feature that we are building, I think it might be better make to write a comment on the same thread as the original PR so we can keep things in one place and they are easy to follow. I'd only open a new issue if it's unrelated. what do you think?

I'd only open a new issue if it's unrelated. what do you think?

I agree, this would be easier for me as a dev bc typically the fixes are pretty minor if found bc of the new feature work.

@andresgalante @fbwoolf sounds good.I love the idea of tracking it in one original PR,as it helps to identify /locate any recurring bugs in future as well.

The issue was not able to be reproduced hence will be closing the ticket
cc @fbwoolf


Pushy native module not loaded, please make sure to run "react-native link pushy-react-native" to link the native library to your project.

I have already ran link command and got this message
info iOS module "pushy-react-native" is already linked. How do i resolve this issue.

Hi @sohamad,
We'd be glad to assist.
If you're getting an error that the pushy-react-native module is already linked, then you do not need to run the react-native link pushy-react-native command again. The module is already linked and nothing else needs to be done.
Please let us know if you face any other issues that we can assist with.

When i start building i get this error even if pushy is linked Pushy native module not loaded, please make sure to run "react-native link pushy-react-native" to link the native library to your project.

this is resolved now


Ecosystem Description Table

Is your feature request related to a problem? Please describe.
We should display a table for our ecosystem on repositories main README, including:

ergo
cicero
cicero-ui
markdown-editor
markdown-transform
slate-markdown-transform
template-studio-v2
cicero-vscode-extension
cicero-template-library
models
etc...

Describe the solution you'd like
Reference vue:

Our table should consist of:

Core:

ergo
cicero

Cicero

cicero-template-library
models

Markdown

markdown-editor
markdown-transform
slate-markdown-transform

User Interface

cicero-ui
template-studio-v2

Developer Tools

cicero-vscode-extension

Describe alternatives you've considered
Open to alternatives. Get feedback from @jeromesimeon @dselman and @mttrbrts
Additional context
Starting point for badges here

Hacktoberfest:
This issue can provide for multiple pull requests.

I can took this one too, but, I have one question: Is it okay If I make table with the same structure, like in vue example, or, we really need a sub heading for each section, like :
Core
Project                Status             Description
ergo                    badge              some descr
cicero                  badge              some descr
User Interface
Project                Status             Description
cicero-ui                    badge              some descr
template-studio-v2                  badge              some descr

@daniloff200: I'm pretty sure I understand! I think the option you proposed sounds better, having sub-headings. There are some pretty distinct borders, so that sounds like the right path.

@jeromesimeon https://github.com/accordproject/techdocs/pull/131#issuecomment-540212205
In reference to this, I don't think we expect our ecosystem to change so often that this would be hard to maintain - I think it would take little to no maintenance.

@jeromesimeon #131 (comment)
In reference to this, I don't think we expect our ecosystem to change so often that this would be hard to maintain - I think it would take little to no maintenance.

We re-publish those things quite often. I just want to make sure we do not add too much extra work for this.
When things change, if those aren't maintained this will confused users more rather than less.
(I think this was the same idea when we added DEVELOPER.md etc to every project, and obviously we have tons of inconsistencies across those and have to fix typos in all the different places).

I agree with @irmerk, I don't think that new modules / libraries will appear every release.
If you're confused because of version badge, that should be updated automatically, I suppose

We re-publish those things quite often. I just want to make sure we do not add too much extra work for this.

Does this change the way the ecosystem is shaped? If auto generating this from one source is possible, then we can just do that.
I think later in October or post Hacktoberfest, having one task be to sync all DEVELOPERS files again isn't too onerous.

Based on the latest response (https://github.com/accordproject/techdocs/pull/131#issuecomment-541226731), I was thinking of this to look more like this (https://github.com/accordproject/techdocs/pull/131#issuecomment-538763708) and this (https://github.com/accordproject/techdocs/pull/131#issuecomment-539713452).
Where does this stand @jeromesimeon?

@irmerk  I got your point, I personally more like these two options, then how I made it now, but, it was per https://github.com/accordproject/techdocs/pull/131#issuecomment-540084748 this . Let's wait for feedback from Jerome !

This issue will be the tracker for all PRs in other repos. Make sure to link to this when creating more PRs @daniloff200

Adding a checklist @daniloff200:

[x] ergo (@daniloff200)
[x] cicero (@daniloff200)
[ ] concerto (@daniloff200)
[ ] markdown-transform
[ ] markdown-editor
[ ] cicero-ui
[ ] concerto-ui
[ ] template-studio-v2
[ ] cicero-vscode-extension (@daniloff200)
[ ] cicero-template-library
[ ] models
[ ] techdocs

techdocs actually already fixed and merged, we're in this repo now, ahahah :rofl:  @irmerk

@irmerk  looks like I've created a PRs for all items from your checklist :) waiting for reviews!

Nice, thank you for all the consistency and thoroughness!

There are already discrepencies between some of those tables in different projects. e.g., between Concerto: https://github.com/accordproject/concerto/blob/master/README.md and Cicero: https://github.com/accordproject/cicero/blob/master/README.md

@jeromesimeon  ohhhh my god!
That was a missclick ! And that was only in one repo: in Cicero.
I missed concerto-ui there. Gonna create a fix right now.
In all other repos, tables are exactly the same
`

Well, I see, that I failed a little bit, and link to markdown editor package is broken in every repo :mask:
Gonna create PRs today in all repos with a fix

@daniloff200 link them all to this issue and we can review them all at once again.

Well, looks like that's all
cc @irmerk  @jeromesimeon


Linux: Cleaner approach for selecting Vulkan drivers on Optimus laptops

You suggest renaming the driver discovery file for Intel or uninstalling the Intel Vulkan driver. This is usually unnecessary, since you can

Force which Vulkan driver to use with env variable VK_ICD_FILENAMES
Specify which GPU to use if running PRIME using env variable  __GLX_VENDOR_LIBRARY_NAME (but only when using X11 I think)

Specifically, launch options in steam would look like

VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.x86_64.json %command% (or the radeon ICD in the section below)
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia %command%

The first approach is (at least for me) more reliable and works most of the time (for me).
I also noticed your TODO in that section, tried it but sadly did nothing for me.
I am not submitting as a PR, since more research is probably needed, Optimus and PRIME are pretty finicky with Proton. Works on my machine™.
Thank you for the docs, beautiful work!

Sources:

Vulkan on ArchWiki
ICD docs on Vulkan docs
PRIME offloading on Nvidia driver docs

Hi @Somrlik !
Thanks a lot for your thorough message and sorry for not having answered earlier. Somehow I wasn't receiving any notification for issues opened on the repositories of my own organization… that should be fixed now.
I really like the approach you suggest! The ones I discuss in the guide are really ugly but I've never managed to figure out a better way (mainly because I'm not facing the issue anymore, so it's impossible for me to tell whether a “fix” is working or not). There's has never been a valid reason to restrict what someone can do with their GPUs, just to be able to play a game, so from now on, I'll suggest your approach instead.
The TODO you mention (using DXVK_FILTER_DEVICE_NAME) was something I've seen a couple of people use (and have not been able to validate either), but I'm not sure it would have helped with the ICD problem anyway. It could still be useful to chose which GPU to use, but people could have to use both variables at the same time, eg. DXVK_FILTER_DEVICE_NAME="AMD Radeon RX 6600" VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.x86_64.json %command% (first variable to chose the GPU, second variable to chose the ICD).
I'll keep this issue open until if update the guide and close it just after.
Thanks again!


Fix bug when filtering on specific scalars.

When filtering on certain scalars like M or m we run into a specific bug where the pd.api.types.is_datetime64_type check returns True because these string correspond to date time like dtypes when pandas tries to convert this to a Dtype based on the Array-protocol section here

Codecov Report

:exclamation: No coverage uploaded for pull request base (datafusion-sql-planner@8056edf). Click here to learn what that means.
The diff coverage is n/a.

@@                    Coverage Diff                    @@
##             datafusion-sql-planner     #609   +/-   ##
=========================================================
  Coverage                          ?   61.95%
=========================================================
  Files                             ?       72
  Lines                             ?     3601
  Branches                          ?      734
=========================================================
  Hits                              ?     2231
  Misses                            ?     1223
  Partials                          ?      147

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Flutter Build failed after adding this package

Platform info
Operating System     Windows 10
Processor	Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz   2.21 GHz
Installed RAM	16.0 GB (15.9 GB usable)
System type	64-bit operating system, x64-based processor
Dart SDK version: 3.4.0 (stable) (Mon May 6 07:59:58 2024 -0700) on "windows_x64"
[√] Flutter (Channel stable, 3.22.0, on Microsoft Windows [Version 10.0.22631.3593], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Android Studio (version 2023.3)
[√] VS Code (version 1.89.1)
[√] Connected device (4 available)
[√] Network resources
Error message:
`Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...
Running Gradle task 'assembleDebug'...
Checking the license for package Android SDK Platform 30 in C:\Users\User\AppData\Local\Android\Sdk\licenses
License for package Android SDK Platform 30 accepted.
Preparing "Install Android SDK Platform 30 (revision: 3)".
"Install Android SDK Platform 30 (revision: 3)" ready.
Installing Android SDK Platform 30 in C:\Users\User\AppData\Local\Android\Sdk\platforms\android-30
"Install Android SDK Platform 30 (revision: 3)" complete.
"Install Android SDK Platform 30 (revision: 3)" finished.
../../AppData/Local/Pub/Cache/hosted/pub.dev/fading_edge_scrollview-3.0.0/lib/src/fading_edge_scrollview.dart:116:31: Error: The argument type 'PageController?' can't be assigned to the parameter type 'ScrollController' because 'PageController?' is nullable and 'ScrollController' isn't.

'PageController' is from 'package:flutter/src/widgets/page_view.dart' ('/D:/lib/flutter/packages/flutter/lib/src/widgets/page_view.dart').
'ScrollController' is from 'package:flutter/src/widgets/scroll_controller.dart' ('/D:/lib/flutter/packages/flutter/lib/src/widgets/scroll_controller.dart').
scrollController: child.controller,
^
Target kernel_snapshot failed: Exception

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command 'D:\lib\flutter\bin\flutter.bat'' finished with non-zero exit value 1

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 21m 16s
Error: Gradle task assembleDebug failed with exit code 1`

Thanks for opening the issue. I'll try to look into it ASAP.

#4


Youtube video about how to start from scratch with Asp.Net Core 1.1, Angular2, DevExtreme

To help those who are starting:
https://www.youtube.com/watch?v=iR-azi-kgjg

Hi there
Anybody know how to speed up first time loading?
When I run my project, the "Loading..." test is appearing only after 30 sec waiting..

@SidorovX86 if your question is still active, consider looking up lazy-loading.
@viktorbk thank you for that video.

Hi Victor, thanks for supporting devextreme, we appreciate it. If you have more videos, please feel free to share with the community.


Altoverview2

Even more abstraction and less repetitious code than #24. :+1: or :-1:?

I think this one is the best. Do you want me to merge it and close #24?

@DavidVorick @lukechampine
The Overview's javascript remains the same for the most part with the last commit, though I made a few corrections.
Peruse the tutorial, specifically the last section, and merge if satisfied ^_^

looks good, tutorial still doesn't cover jsdoc


Updating the logging chart to use tabs for each provider

rancher/dashboard#1027

The dropdown for disabled/enabled on each driver and some other bool fields seems sort of odd vs a [ ] Enabled checkbox.
Since there's nothing else in the tab I'd probably go with the options (host, port, etc) are always shown, but disabled if !enabled
Host / Scheme / Port should go in logical order, and possibly as one row... [scheme http]://[host foo.com]:[port 443]

The dropdown for disabled/enabled on each driver and some other bool fields seems sort of odd vs a [ ] Enabled checkbox.

To me this looks pretty odd. I'm fine to make the change but here's a screenshot. Let me know if you'd still like this change.

Since there's nothing else in the tab I'd probably go with the options (host, port, etc) are always shown, but disabled if !enabled

That's actually what I originally did but our enabled vs disabled doesn't look very distinct to me and the show vs hide made it very evident that you needed to enable things first. But I'll make the change if that's what you'd like.

Host / Scheme / Port should go in logical order, and possibly as one row... [scheme http]://[host foo.com]:[port 443]

Done. Definitely looks better.

@codyrancher @vincent99 after talking with @paynejacob, it seems the provider configuration should be moved out of the helm deployment and into individual CRD pages as helm upgrades will override any changes in the CRDs. But the work in these tickets should be pushed to the individual CRD pages for cluster outputs.

Alright well that eliminates the need for enabled flags altogether.. @codyrancher can you update this PR to show whatever options are still supposed to be there on install of the chart.  You can leave the individual provider config code orphaned for future crd work..

Yeah. I'll go ahead and update once I find out what the options are going to be.

@codyrancher I think the options are being simplified a lot, but @paynejacob should provide input on what is expected.

I'm just going to orphan this PR and dot he work elsewhere.


test/reportingframework: Stat the report output directory.

Could probably update this to check if the path is os.IsDir and differentiate between a stat error and os.IsNotExist(err).

@timflannagan1 Can you describe the purpose of this change in your commit message and PR descriptions?

@chancez updated both

/lgtm
/approve


dbt source does not respect database tag

When running sqlmesh create_external_models on a historic dbt project which includes databases in the schema.yml, the below error is received.
Example schema.yml config:
sources:
  - name: util
    database: my_database
    tables:
      - name: dim_date

Error text:
snowflake.connector.errors.ProgrammingError: 002003 (02000): SQL compilation error:
Schema 'DEV_CORE.UTIL' does not exist or not authorized.

HI @ciejer, sqlmesh create_external_models will look at the db configured in the target profile for tables referenced by the project's models. In your case, do the referenced tables exist both in that db (but unauthorized) and the db configured in sources? I want to make sure I correctly understand what's going on.

The referenced table only exists in the db configured in sources (the landing database).
The structure of the existing dbt environment is similar to below, with all raw landed data in a single separate database in Snowflake:

db_landing (airbyte managed)

sch_source1

table_1
table_2

sch_source_2

table_3

db_prod (dbt managed)

sch_mart1

model1
model2

db_dev (dbt managed)

sch_mart1

model1
model2

We can restructure the prod and dev databases, but prefer to keep the landing database separated in this way and limited to airbyte writes, sqlmesh read.

Okay, thanks for clarifying. We should be able to make it work the way you want it to. I'll have a PR up shortly.

Great, thanks Chris - love your work. Just arrived via Tobias's podcast - haven't been this excited since 2018 dbt

You can try it out at pip install sqlmesh==0.16.2.dev47. Let me know if you still have issues with creating external models.

Perfect - completed without errors, thank you

Great! I'll get this into the code base as soon as it is reviewed.
Let us know if you run into any additional problems with your dbt project. We'll get them fixed asap.


[<FIREBASE_ADMOB>]

Hello,
Google Mobile Ads allowed developers to control the volume of the ad have sounds.
https://developers.google.com/admob/android/global-settings
It makes the app really user-friendly because the ads won't startle users.
Really helpful if it is available in Flutter.
Thank you

May be related to 2673

The firebase_admob plugin will be deprecated in April 2021 in favor of Google Mobile Ads SDK for Flutter.
Google Mobile Ads SDK for Flutter is a new Flutter plugin that supports more Ads formats than firebase_admob does. Google Mobile Ads SDK for Flutter currently supports loading and displaying banner, interstitial (full-screen), native ads, and rewarded video ads across AdMob and AdManager. It also supports displaying banner and native ads as Widgets as opposed to being overlayed over all app content.
We're now recommending projects currently using firebase_admob migrate to Google Mobile Ads SDK for Flutter following the instructions outlined here.
Issues with migrating or with using the new package should now be raised over on the Google Mobile Ads SDK for Flutter repository.


What is the license of this project?

If there is none yet, could you add a license to the project @nagalun ?

wat for

Yes, it's done, you can use this for whatever you want.


District data is too large to import into Google Sheets

Using the function =IMPORTDATA("https://api.covid19india.org/csv/latest/districts.csv") gives the following error: Resource at URL contents exceeded maximum size, because the data has too many rows.
Can this data be put in a wide format, similar to State Wise Daily (_https://api.covid19india.org/csv/latest/state_wise_daily.csv_) data? If every district were a column, it would be possible to import the live data into Google Sheets.

Hi,
Wide format was found to be impractical as the are 700+ districts. Since the format has been established, it would be problematic to change it now as it might break some other applications.
There are custom Google Scripts available to import large data to Google Sheets. Otherwise, consider downloading the csv and imorting it.
Thank you.


observe refactoring

minor refactor to the observe package to ensure
good behavior from our progress bars.  This refactor has the following goals:

get unit tests working with latest version (allows version upgrade after breaking changes)
transition the observe writer away from a global and into a context.
clean up the pattern of behavior around closing some bars.
clean up progress bars that weren't geting closed due to async issues.
Generally improve resource control by automating and centralizing some closing and flushing.

Does this PR need a docs update or release note?

[x] :no_entry: No

Type of change

[x] :broom: Tech Debt/Cleanup

Test Plan

[x] :muscle: Manual
[x] :zap: Unit test

proof of run with multiple users, showing that auto-flush within print is successful:
corso backup create onedrive --user rfinders<EMAIL_ADDRESS>
Connecting to repository:      2s done
Connecting to M365:         done
Backing Up ∙<EMAIL_ADDRESS>Discovering items to backup:      1s done
∙ files:      0s done
Discovered 148 items to backup
Backing up data:     13s done
Done

  ID                                    Bytes Uploaded  Items Uploaded  Items Skipped  Errors
  3f7824d8-e262-4662-8476-241fb74e95ef  6.3 MB          105             1              0

Backing Up ∙<EMAIL_ADDRESS>Discovering items to backup:      1s done
∙ files:      0s done
Discovered 32 items to backup
Backing up data:      1s done
Done

  ID                                    Bytes Uploaded  Items Uploaded  Items Skipped  Errors
  9b54493b-cda4-4fcb-81f1-8d1ae3862594  1.1 MB          15              0              0

Completed Backups:
  ID                                    Started At            Duration    Status                            Resource Owner
  3f7824d8-e262-4662-8476-241fb74e95ef  2023-07-27T16:33:33Z  15.509899s  Completed (1 skipped: 1 malware<EMAIL_ADDRESS>  9b54493b-cda4-4fcb-81f1-8d1ae3862594  2023-07-27T16:33:52Z  3.346286s   Completed<EMAIL_ADDRESS>


Upgrade to Go 1.16

Signed-off-by: KeisukeYamashita<EMAIL_ADDRESS>
What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area config

/area outputs

/area tests

What this PR does / why we need it:
To maintain the project.
Which issue(s) this PR fixes:

None.
Special notes for your reviewer:
Ref: https://blog.golang.org/go1.16

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign keisukeyamashita after the PR has been reviewed.
You can assign the PR to them by writing /assign @keisukeyamashita in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Issif
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Issif]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: d88c0752b1da716124a037c49ff974eb673439f3


feat(tutorial): complete step 3 - BOE

Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

@holger-koenig Looks fantastic 🏆! I've recorded your completion of step 3.


Allow save card deletion

[ ] add support for channel for saved cards

Done in https://github.com/CommerceWeavers/SyliusTpayPlugin/pull/152