Proposal: parquet 53.0.0 feature branch

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
We are now being careful about breaking changes (see https://github.com/apache/arrow-rs/blob/master/CONTRIBUTING.md#breaking-changes)
This means we can't merger PRs with breaking API changes to main until early August
However there are now three potentially large parquet  changes that could conflict with each other and have API changes:

https://github.com/apache/arrow-rs/pull/5486 from @etseidl
https://github.com/apache/arrow-rs/pull/5933 from @progval
https://github.com/apache/arrow-rs/pull/6000 from @adriangb

Describe the solution you'd like
Some way to avoid a massive set of merge conflicts when we start merging changes to master for parquet 53
I would also love to be able to review and merge smaller PRs rather than keep several large ones outstanding
Describe alternatives you've considered
I would like to propose we create a feature branch (e.g.  parquet-53.0.0) in the arrow-rs repo that we can merge parquet API changes to and develop new features
Once main opens for 53 (in early August) we can merge the branch to main
This approach does require maintenance of the parquet 53 branch and runs the risk of accumulating merge conflicts as it diverges from master. I am willing to help do the proces
Additional context

If we can't merge breaking changes to main I agree this is the path forward. It's very generous of you to take up that burden.
For what it's worth I don't think #6000 should include breaking changes, if there are any I think they're accidental. I'll double check. I do agree it might cause merge conflicts.

FWIW I just tried a merge of #5486 and #6000. The only significant conflict was missing (new) arguments for the thrift OffsetIndex and ColumnIndex structs. Shouldn't be hard to integrate those two, but it's probably better for the metadata encoder to merge first (especially since #5486 will now be broken up into smaller chunks). #6045 and #6000 should be easier to reconcile and can probably be merged in any order.
The bloom filter changes seem to be orthogonal to the other two, so I don't anticipate any issues there.

For what it's worth I don't think #6000 should include breaking changes, if there are any I think they're accidental. I'll double check. I do agree it might cause merge conflicts.

Thanks @adriangb  -- I agree the first PR won't have API conflicts. However, I expect some iteration on the APIs, so once we have merged / released new API (Stats builder) then any changes we make to the new API will require "breaking changes" so we would have to remember what APIs we have released / haven't released.
Maybe we could put it behind a feature flag or something that made it clear the API would change :thinking:

The bloom filter changes seem to be orthogonal to the other two, so I don't anticipate any issues there.

I guess I was imagining the parquet metadata encoder would also potentially have the ability to write bloom filters and thus may be affected by https://github.com/apache/arrow-rs/pull/6000

🤔  maybe I can simply make a 53.0.0-dev branch and we can merge the 53 features there 🤔

The more I think about this the more sense I think it makes to have a 53 feature branch for the next few weeks. I plan to create one tomorrow and start merging stuff there to clear the review queue

The more I think about this the more sense I think it makes to have a 53 feature branch for the next few weeks so we can not build up a massive set of conclits. I plan to create one tomorrow unless there are objections and start merging stuff there to clear the review queue

Sounds good to me. In addition to #6045, I have 3 stacked PRs ready to go, and I also have a plan for integrating with the changes from #6000.

I have created https://github.com/apache/arrow-rs/tree/53.0.0-dev as the branch and will now begin retargeting and merging PRs.
This will likely require me to do some release note finagling but we'll handle that when we get there

label_issue.py automatically added labels {'next-major-release'} from #5933

label_issue.py automatically added labels {'arrow'} from #6018

label_issue.py automatically added labels {'auto-dependencies'} from #6018

label_issue.py automatically added labels {'arrow-flight'} from #6041

label_issue.py automatically added labels {'object-store'} from #5930


Fix Unrelated Histories and Initial Discord Bot Creation

Fix unrelated histories issue from template unrelated main and staging branches due to discord-bot branch being created from main.
Also contains work for discord-bot branch. @dtemir's initial Discord bot creation and my own improvements - see commit history.

Hi

Hi

Hi

Hi

Hi

Hi

Hi

Hi

Hi

Hi

Hi


Add an example

https://pub.dev/packages/stagehand#-analysis-tab- deducts 10 points because we don't have a demo in the example/ directory. We could probably extract a bit of typical code from one of our plugins.

I think this is really a bug with Pub.dev's analysis - it makes no sense to have an example for a package that isn't a library.
/cc @mit-mit @jonasfj

Well, pub.dev don't know if a package should have an example or not. I'd say that's a missing feature.


Can't implement setState

Question
Hi Guys, I have this function:
async function search() {
     try {
    const response = await places.nearbysearch({
      location: text, // LatLon delimited by ,
      radius: distance,  // Radius cannot be used if rankBy set to DISTANCE
      type: ['cafe','bakery','meal_delivery','meal_takeaway','restaurant'], // Undefined type will return all types
      // rankby: "distance" // See google docs for different possible values
    });

    const { status, results, next_page_token, html_attributions } = response;

    var index = Math.floor(Math.random() * response.results.length);
    console.log(response.results[index].name);

    restName = response.results[index].name;
    console.log(restName);

  } catch (error) {
    console.log(error);
  }

 }

it is within export default function App() {}
I have made a text compenent within view like this:
return (
    <View style={styles.container}>

    <View style={{minWidth: '100%', minHeight: '100%', backgroundColor: '#f0fbff', alignFit:'stretch', marginTop: 0, alignItems:'center', justifyContent:'space-evenly'}}>
    <Card style={{padding: 5, margin: 1}}>
      <Text style={{ fontWeight: 'bold', fontSize: 25,  }}>{restName}{"\n"}</Text>

even though restName updates( I made a button that runs the search() function on press), the text does not update, how would I implement set state with this or refresh the variabel.
In short, the actual variable changes but it doesn't display anything differently

I believe it is not an issue of the library itself and probably some issue with your code. It would be for sure easier if you made a small reproduction of the issue in a form of e.g. snack. I do not see any react-native-svg components here also. Would you be able to provide such reproduction?


Error: Callback was already called

When I parse this sitemap: https://gazeta.ua/sitemaps/sitemapindex.xml it fails with:
...node_modules/async/dist/async.js:966
        if (fn === null) throw new Error("Callback was already called.");
                         ^

Error: Callback was already called.
    at ...node_modules/async/dist/async.js:966:32
    at SAXStream.parserStream.on (...node_modules/sitemap-stream-parser/index.js:98:16)
    at SAXStream.emit (events.js:197:13)
    at SAXParser.SAXStream._parser.onend (...node_modules/sax/lib/sax.js:190:10)
    at emit (...node_modules/sax/lib/sax.js:624:35)
    at end (...node_modules/sax/lib/sax.js:667:5)
    at SAXParser.end (...node_modules/sax/lib/sax.js:154:24)
    at SAXStream.end (...node_modules/sax/lib/sax.js:248:18)
    at Gzip.onend (_stream_readable.js:655:10)
    at Object.onceWrapper (events.js:285:13)
    at Gzip.emit (events.js:202:15)
    at endReadableNT (_stream_readable.js:1129:12)
    at processTicksAndRejections (internal/process/next_tick.js:76:17)

I'm not sure what's the reason of this. Probably on(error) and on(end) are called for one parse url? But how coult it be possible?

I'm having the same issue!! and I Can't even catch the error.. it just breaks the execution..

When I parse this sitemap: https://gazeta.ua/sitemaps/sitemapindex.xml it fails with:
...node_modules/async/dist/async.js:966
        if (fn === null) throw new Error("Callback was already called.");
                         ^

Error: Callback was already called.
    at ...node_modules/async/dist/async.js:966:32
    at SAXStream.parserStream.on (...node_modules/sitemap-stream-parser/index.js:98:16)
    at SAXStream.emit (events.js:197:13)
    at SAXParser.SAXStream._parser.onend (...node_modules/sax/lib/sax.js:190:10)
    at emit (...node_modules/sax/lib/sax.js:624:35)
    at end (...node_modules/sax/lib/sax.js:667:5)
    at SAXParser.end (...node_modules/sax/lib/sax.js:154:24)
    at SAXStream.end (...node_modules/sax/lib/sax.js:248:18)
    at Gzip.onend (_stream_readable.js:655:10)
    at Object.onceWrapper (events.js:285:13)
    at Gzip.emit (events.js:202:15)
    at endReadableNT (_stream_readable.js:1129:12)
    at processTicksAndRejections (internal/process/next_tick.js:76:17)

I'm not sure what's the reason of this. Probably on(error) and on(end) are called for one parse url? But how coult it be possible?

btw.. rolling back to 1.6.0 works

Hm, the 1.7.0 was my change from unzip to gzip to auto recognize zip algorithm.

Hm, the 1.7.0 was my change from unzip to gzip to auto recognize zip algorithm.

yep.. it happens only on sitemap indexes which contain nested sitemaps with ".xml.gz"  extensions
on non-compressed sitemaps works fine

Hey @max-frai, @lizaaard. Thanks for reporting this. I have been meaning to rewrite this thing in a slightly modern version with some upgraded dependencies.
Been wanting to migrate away from Coffeescript and Request for a while anyway. Going to see how far I get today with this..

Any update on this?


Crash in AFURLSessionManager.m line 636 -[AFURLSessionManager addDelegateForUploadTask:progress:completionHandler:]

Hi,
We are seeing the following stack coming in from our clients in the field via Crashlytics:
#0
Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000030
 Raw Text
0
libobjc.A.dylib
objc_retain + 16
1	libsystem_blocks.dylib
_Block_object_assign + 196
2	CFNetwork
<redacted> + 36
3	libsystem_blocks.dylib
_Block_copy + 140
4	libdispatch.dylib
_dispatch_Block_copy + 64
5	libdispatch.dylib
dispatch_async + 64
6
CFNetwork
<redacted> + 132
7	AFNetworking
AFURLSessionManager.m line 636
-[AFURLSessionManager addDelegateForUploadTask:progress:completionHandler:]
8	AFNetworking
AFURLSessionManager.m line 805
-[AFURLSessionManager uploadTaskWithRequest:fromData:progress:completionHandler:]

The code in AFNetworking that is crashing is here:
uploadTask.taskDescription = self.taskDescriptionForSessionTasks;
It's as if the retain operation that is being attempted after self.taskDescriptionForSessionTasks return is failing. And yet, the method self.taskDescriptionForSessionTasks is a simple 1-liner, returning:
@property (readonly, nonatomic, copy) NSString *taskDescriptionForSessionTasks;

- (NSString *)taskDescriptionForSessionTasks {
    return [NSString stringWithFormat:@"%p", self];
}

Is it somehow possible that the value of taskDescriptionForSessionTasks is getting freed in-between being returned and being assigned to uploadTask.taskDescription?

We realize we are running an older version of AFNetworking and will close this and try to repro on the latest.

Hi folks - we have updated to AFNetworking 3.1.0 and continue to experience this issue. Can anyone offer any insight into how or why setting a simple string description could cause this kind of crash?

Hi folks - we have updated to AFNetworking 3.1.0 and continue to experience this issue. Can anyone offer any insight into how or why setting a simple string description could cause this kind of crash?

Can you post some related code here? Like is there any concurrency condition while calling uploadTaskWithRequest?

The line that invokes uploadTaskWithRequest is pretty simple:
dataTask = [self.backgroundSessionManager uploadTaskWithRequest:request
                                  fromData:nil
                                  progress:nil
                         completionHandler:completionBlock];

The self.backgroundSessionManager is a member var on a singleton class, initialized this way:
NSURLSessionConfiguration *backgroundSessionConfiguration = [NSURLSessionConfiguration backgroundSessionConfigurationWithIdentifier:@"MyApp"];
self.backgroundSessionManager = [[AFHTTPSessionManager alloc] initWithSessionConfiguration:backgroundSessionConfiguration];

This method is invoked on applicationDidEnterBackground after we first context-switch to a background database thread to obtain some data, and then context switch back to the main thread -- I have summarized/simplified what is happening in the following pseudo-code below:
- (void)applicationDidEnterBackground:(UIApplication *)application {
    dispatch_async( dbQueue(), ^{
       PSSAppEvent *events = [self dbFetchAppEvents];
       dispatch_async(dispatch_get_main_queue(), ^{
          // <snip> Construct request... </snip>
              dataTask = [self.backgroundSessionManager uploadTaskWithRequest:request
                                  fromData:nil
                                  progress:nil
                         completionHandler:completionBlock];
              [dataTask resume];
       });
    });
}

Could this be related to the crash?

In general, if you need to perform long running task you should consider using beginBackgroundTaskWithExpirationHandler: However, in this case I think there may be some memory issue after your app enter background (or receives memory warning). Can you reproduce this crash?

In spite of the great frequency with which we see this crashing stack, I am not able to repro on demand. Perhaps the lack of a beginBackgroundTaskWithExpirationHandler was facilitating memory corruption when doing network operations as the app was being backgrounded. I will see if this has any effect and report back.

@esilverberg Did you ever figure this out?
I'm having a similar problem.  My app has a very similar stack:
Crashed: com.apple.main-thread
0  libobjc.A.dylib                0x182fc80a0 objc_retain + 16
1  libsystem_blocks.dylib         0x183457c7c _Block_object_assign + 196
2  CFNetwork                      0x184ca8c6c __copy_helper_block_.426 + 36
3  libsystem_blocks.dylib         0x183457934 _Block_copy + 140
4  libdispatch.dylib              0x18340214c _dispatch_Block_copy + 64
5  libdispatch.dylib              0x183403568 dispatch_async + 64
6  CFNetwork                      0x184ca8bec -[__NSCFBackgroundSessionTask setTaskDescription:] + 132
7  AFNetworking                   0x1009f7074 -[AFURLSessionManager addDelegateForDataTask:uploadProgress:downloadProgress:completionHandler:] + 232
8  AFNetworking                   0x1009f7fe8 -[AFURLSessionManager dataTaskWithRequest:uploadProgress:downloadProgress:completionHandler:] + 268
9  AFNetworking                   0x1009e27fc -[AFHTTPSessionManager dataTaskWithHTTPMethod:URLString:parameters:uploadProgress:downloadProgress:success:failure:] + 604
10 AFNetworking                   0x1009e1cbc -[AFHTTPSessionManager POST:parameters:progress:success:failure:] + 140
11 ShopStyle                      0x1002c345c -[SSAnalyticsManager flushEventQueue] (SSAnalyticsManager.m:1243)
12 ShopStyle                      0x1002c2e30 -[SSAnalyticsManager logUserEvent:withParameters:products:] (SSAnalyticsManager.m:1187)
13 ShopStyle                      0x1002bfdcc -[SSAnalyticsManager logImpressionEvent:withParameters:product:] (SSAnalyticsManager.m:861)
14 ShopStyle                      0x1002bf938 -[SSAnalyticsManager logImpressionEvent:withParameters:] (SSAnalyticsManager.m:826)
15 ShopStyle                      0x100167fdc -[SSUserSaleAlertsManager doneSyncing] (SSUserSaleAlertsManager.m:328)
16 ShopStyle                      0x100167c14 __60-[SSUserSaleAlertsManager getSaleAlertsWithOffset:andLimit:]_block_invoke (SSUserSaleAlertsManager.m:317)
17 libdispatch.dylib              0x1834021fc _dispatch_call_block_and_release + 24
18 libdispatch.dylib              0x1834021bc _dispatch_client_callout + 16
19 libdispatch.dylib              0x183406d68 _dispatch_main_queue_callback_4CF + 1000
20 CoreFoundation                 0x184526810 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
21 CoreFoundation                 0x1845243fc __CFRunLoopRun + 1660
22 CoreFoundation                 0x1844522b8 CFRunLoopRunSpecific + 444
23 GraphicsServices               0x185f06198 GSEventRunModal + 180
24 UIKit                          0x18a4997fc -[UIApplication _run] + 684
25 UIKit                          0x18a494534 UIApplicationMain + 208
26 ShopStyle                      0x1000b78d0 main (main.m:17)
27 libdispatch.dylib              0x1834355b8 (Missing)

In Fabric, it tells me that the heap is corrupt, but I haven't figure it out yet.
I'm using AFNetworking 3.1.0 with this a fix for https://github.com/AFNetworking/AFNetworking/issues/3380 backported, see https://github.com/AFNetworking/AFNetworking/issues/3380#issuecomment-258508308

@esilverberg I'm also not using beginBackgroundTaskWithExpirationHandler.  Did that fix it for you?

@sspitzer our issue was this: https://github.com/AFNetworking/AFNetworking/issues/2941
We were attempting to do a background upload with an in-memory piece of NSData instead of writing that piece of NSData out to a file first. If you give the background uploader an ephemeral NSData stream it will crash.

@esilverberg thanks for letting me know what you were doing.  Unfortunately for us, we aren't doing that, so I'll keep digging.

Hopefully this has been fixed; if you are still experiencing issues please re-open with reproduction steps or open a new issue. Thanks!

@SlaunchaMan I think it's still an issue with 3.1.0, but when I look at crashes on fabric, I only see this for iOS 10, not iOS 11.  So maybe apple fixed something?

¯_(ツ)_/¯ I hope so!


Add CocCoc latest

After making all changes to the cask:

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

Additionally, if updating a cask:

[ ] sha256 changed but version stayed the same (what is this?).
I’m providing public confirmation below.

Additionally, if adding a new cask:

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

Can you teach me how to find the path ?

$ find ~ -iname "*coccoc*"
or
https://github.com/sharkdp/fd
brew install fd
$ fd coccoc ~


[Fix] Add PHP7 requirement

Some return type declarations are used in the bundle which are only available in PHP7 and higher.

Alright at first I wondered wether I should just ditch those declaration and support PHP5 but hey, it's 2019.

Honestly, it may be the best choice for compatibility, but adding the requirement was easier and faster. Just wanted to avoid someone else headaches.


Disable input data placement in Unified

Impact of the new feature
MicroServices
Is your feature request related to a problem? Please describe.
Not really a WMCore development, but something that will be required to switch MicroServices on in production. There will be a moment that MicroServices will be fully enabled in central production, at the same time we need to make sure that Unified stops making the data placement, keeping all the rest of its functionality intact.
Describe the solution you'd like
We need to make the necessary changes to disable input data placement in Unified, somewhere here:
https://github.com/CMSCompOps/WmAgentScripts/blob/master/Unified/transferor.py
Even better if we can start by making this configurable.
Describe alternatives you've considered
none
Additional context
none

I'm not sure I'll be able to get it done by the next Thursday.... If I fail, I'll re-assign it to someone else ;)

@amaltaro What is the status of this one? Do we need to organize a last minute chat with you where you can give more details?

I didn't manage to get this one started. I'll get this one done in the coming week or two. I might need your help though to get the tests performed with Sharad.

let me put here the note that if you want to disable transferor (which is the right way to go) you have to make sure eveything is tight about the lock and I do not see a dynamo GH issue linked here #7651

Hi Jean-Roch @vlimant. Thanks for this guidelines. One question here. Is it enough that only the transferor.py module from unified [1] to be disabled? And moreover, is it the whole thing that should be stopped, like just stopping its execution from the acrontab [2], or cutting that high could cause some other issues? Also should we consider disabling the stagor.py too?
Regards
Todor
[1]
https://github.com/CMSCompOps/WmAgentScripts/blob/master/Unified/transferor.py
[2]
https://github.com/CMSCompOps/WmAgentScripts/blob/master/acrontab.list#L18
https://github.com/CMSCompOps/WmAgentScripts/blob/master/precycle.sh

About data locking, @goughes is on top of those things and we might even get the data locking in place before the input data placement. We're following data locking discussions on:
https://github.com/dmwm/WMCore/issues/7651

Initial proposal implemented here: https://github.com/CMSCompOps/WmAgentScripts/pull/519
I underestimated the amount of work that had to go in, especially because the assignor.py module has tons of data management logic.


Hard-wire empty lists for lumis/eventsPerLumi in WMArchive docs

Fixes #9628
Status
not-tested
Description
As discussed in the list, there is no need to provide an expanded version of the lumis list and eventsPerLumi. That is a lot of information that sometimes make the document too big.
In addition to that, that event level bookkeepping is already stored in DBS, there is no need to keep that info in WMArchive too.
This change should be consistent with the current WMArchive schema.
Is it backward compatible (if not, which system it affects?)
yes
Related PRs
none
External dependencies / deployment changes
none

@vkuznet can you please check how things are on the server side? We should have two agents with this patch in: vocms0193 and vocms0262, and they are running a few hundred jobs each.

Alan, I can't find docs which reflects jobs with cmsRun. Here is an example of wmarchive doc from your agent, but it does not have (yet) cmsRun, e.g. steps.name="cmsRun" (basically there is no input info):
{
        "_id" : ObjectId("5e95821ca807ae0a063294ec"),
        "PFNArrayRef" : [
                "inputPFNs",
                "outputPFNs"
        ],
        "EOSLogURL" : "",
        "PrepID" : null,
        "skippedFiles" : [ ],
        "Campaign" : "April2020_Val",
        "wmaid" : "632d1c9926880b46af6e480423f53515",
        "dtype" : "fwjr",
        "wmats" :<PHONE_NUMBER>.065891,
        "PFNArray" : [
                "root://eoscms.cern.ch//eos/cms/store/unmerged/DMWM_Test/RelValProdMinBias/GEN-SIM/ProdMinBias_TaskChain_ProdMinBias_April2020_Val_Privv8-v11/00000/0C4195BF-2F7E-EA11-B0D4-FA163EBE5B45.root"
        ],
        "fallbackFiles" : [ ],
        "task" : "/amaltaro_TaskChain_ProdMinBias_April2020_Val_200414_104124_1805/ProdMinBias",
        "meta_data" : {
                "jobstate" : "success",
                "wn_name" : "b7g42n0504.cern.ch",
                "ts" :<PHONE_NUMBER>,
                "fwjr_id" : "295-0",
                "host" : "vocms0262.cern.ch",
                "agent_ver" : "1.3.3.pre1",
                "jobtype" : "Production"
        },
        "steps" : [
                {
                        "status" : 0,
                        "errors" : [ ],
                        "logs" : {

                        },
                        "input" : [ ],
                        "stop" :<PHONE_NUMBER>,
                        "site" : "T2_CH_CERN",
                        "analysis" : {

                        },
                        "start" :<PHONE_NUMBER>,
                        "cleanup" : {

                        },
                        "output" : [ ],
                        "performance" : {
                                "multicore" : {

                                },
                                "storage" : {

                                },
                                "cpu" : {

                                },
                                "memory" : {

                                }
                        },
                        "name" : "stageOut1"
                },
                {
                        "status" : 0,
                        "errors" : [ ],
                        "logs" : {

                        },
                        "input" : [ ],
                        "stop" :<PHONE_NUMBER>,
                        "site" : "T2_CH_CERN",
                        "analysis" : {

                        },
                        "start" :<PHONE_NUMBER>,
                        "cleanup" : {

                        },
                        "output" : [
                                {
                                        "runs" : [ ],
                                        "adler32" : "af096402",
                                        "inputLFNs" : [ ],
                                        "inputPFNs" : [ ],
                                        "merged" : false,
                                        "module_label" : "logArchive",
                                        "outputLFNs" : [
                                                1
                                        ],
                                        "location" : "T2_CH_CERN",
                                        "cksum" : "4214695491",
                                        "events" : 0,
                                "memory" : {
                                        "PeakValueRss" : 507.891,
                                        "PeakValueVsize" : 940.559
                                }
                        },
                        "name" : "cmsRun1"
                }
        ],
        "WorkerNodeInfo" : {
                "MachineFeatures" : {
                        "total_cpu" : null,
                        "hs06" : null
                },
                "HostName" : "b7g42n0504.cern.ch",
                "JobFeatures" : {
                        "hs06_job" : null,
                        "allocated_cpu" : null
                }
        },
        "LFNArray" : [
                "/store/unmerged/DMWM_Test/RelValProdMinBias/GEN-SIM/ProdMinBias_TaskChain_ProdMinBias_April2020_Val_Privv8-v11/00000/0C4195BF-2F7E-EA11-B0D4-FA163EBE5B45.root",
                "/store/unmerged/logs/prod/2020/4/14/amaltaro_TaskChain_ProdMinBias_April2020_Val_200414_104124_1805/ProdMinBias/0000/0/d4110c34-e0db-4176-8a30-f3493b9cf32d-110-0-logArchive.tar.gz"
        ],
        "LFNArrayRef" : [
                "outputLFNs",
                "inputLFNs",
                "skippedFiles",
                "fallbackFiles"
        ],
        "stype" : "avroio"
}

For comparison here is a section of doc with input we need to check (see /afs/cern.ch/user/v/valya/public/wma.json):
        "steps": [
          {
            "status": 1,
            "errors": [],
            "name": "cmsRun",
            "output": [],
            "analysis": {},
            "cleanup": {},
            "input": [
              {
                "runs": [
                  {
                    "runNumber": 1,
                    "eventsPerLumi": [],
                    "lumis": [
                      2537130,

Valentin, that workflow+task name does not have any input data indeed.
Can you please look for this one:
    "taskName": "/amaltaro_ReReco_Parents_April2020_Val_200414_120652_9774/DataProcessing",

Alan, it seems to me it is ok now, see attached doc. I see the right section now:
"runs": [
            {
              "runNumber": 234332,
              "eventsPerLumi": [],
              "lumis": []
            }

wma_new.txt

Thanks for confirming it, Valentin. I'm going to merge this PR and put it in the upcoming new WMAgent release.
If we keep having too many problems in production, please let us know and we can backport and patch the current production agents as well.


cmd/go: GO15VENDOREXPERIMENT go get errors out when using submodules in /vendor

As per golang-nuts:
I am trying to get vendoring working with submodules which is supposed to be working according to s/go15vender. The building part works fine but the "go get" part doesn't.
To reproduce I created a test repo by doing the following:
Created a test package and added a submodule via:
 git submodule add https://github.com/dgrijalva/jwt-go vendor/github.com/dgrijalva/jwt-go

Committed everything.
Now, if I do:
GO15VENDOREXPERIMENT=1 go get github.com/StephanDollberg/govendorsubmodulestest

I get the error:
# cd .; git --git-dir=/$GOPATH/src/github.com/StephanDollberg/govendorsubmodulestest/.git submodule update --init --recursive
No submodule mapping found in .gitmodules for path 'vendor/github.com/dgrijalva/jwt-go'
package github.com/StephanDollberg/govendorsubmodulestest: exit status 1

The interesting thing is that if I do a go get -u after that it checks out the submodule correctly. Looking at the error and the source of the go command I think it has to do with --git-dir not working together with the submodule command.
I tested this on Windows, Mac OSX and Linux (all Intel 64bit)  with go 1.5.1 and several git versions (2.3, 2.4, 2.5).

any progress?

Not from my side no. The other dupe is labeled Go 1.6 so I doubt there will be any quick fix for this.

@StephanDollberg labeled Go 1.6 where is? I see Labels None yet.

Yeah, not on this one but on #12612.

This is affecting several users of https://github.com/oschwald/geoip2-golang as discussed in https://github.com/oschwald/geoip2-golang/issues/13. I might have to replace my submodule usage, but it would be really nice to get this fixed.

Agree with you. Workaround in the time being is to run go get -u after the initial go get.

Duplicate of #12612 (which has a suggested fix).


data refresh problem

The data requested by the interface has not changed. How to update the UI
 .execute {
                    copy(result = it, logs = (it()?.orderList ?: emptyList()), page = 2, refresh = refresh + 1)
                }

How do I notify the UI when the result have not changed?

MvRx can't help you, but you can use LiveData to notify the UI.

thank


Support Tautulli

Would be AMAZING to see Tautulli support. It'd definitely get me to lifetime sub, if that ever becomes an option.

Too much work. Plex and Tautulli already have apps.


vite build removes files from _site

Some of the 11ty templates create "additional files" in the document root like _redirects or feed.xml. While this works fine in development, they are either not created or deleted in production. I suspect a connection to the fact that vite expects them in public maybe? However, I don't think that it's possible to keep or create (all of) them there …

https://github.com/11ty/eleventy-plugin-vite/issues/26


[Cherry-pick to 4.15] [#6018] Move Dotnet generators from Samples to "generators" - dotnet-templates - Echo Bot (#6049)

Add dotnet-templates echo bot

Add launchSettings.json file
#minor

Pull Request Test Coverage Report for Build 291188

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.009%) to 78.67%

Files with Coverage Reduction
New Missed Lines
%

/libraries/AdaptiveExpressions/BuiltinFunctions/GetPreviousViableTime.cs
1
90.91%

/libraries/AdaptiveExpressions/BuiltinFunctions/GetNextViableTime.cs
2
90.91%

Totals

Change from base Build 289740:
-0.009%

Covered Lines:
24862

Relevant Lines:
31603

💛  - Coveralls


What is the licence?

Thank you for this great app @fatih-yavuz. I want to ask you if you have a plan for adding a licence.

Thanks, @eser, I don't have anything in my mind. What do you think about MIT?

I prefer MIT but it is very permissive.
It is up to you how you wanted use this repo.
Disclaimer! I really liked the design. (I know it is very simple but I am really lazy to recreate it 😅). I wanted use for my personal site deployed statically with my custom domain.

You can actually use your own domain. Just add a CNAME to map your domain to links.dev/eser.
Is there any specific reason why you asked about the license? Or, did you just want to contribute?

@fatih-yavuz Adding a license is what truly makes your code open-source, legally allowing people to copy and change it. Probably something to get out of the way sooner rather than later, plus fairly simple to do. I can even throw it in if you want.

See also https://choosealicense.com/ (by github).


The window will drift when dragging with three fingers

The window will drift when you drag it with three fingers. See the video for details.
Can you provide your email address? I will send the video to you.
version <IP_ADDRESS>

Hi, yes, send me the video at<EMAIL_ADDRESS>

already send email

The cursor moves unexpectedly fast jumping in the direction of the drag from what I see on the video.
Can you record logs while reproducing the issue and upload the file?

There are multiple cursor jumps in this log
Logs_ThreeFingerDragOnWindows.txt

The window will drift when you drag it with three fingers. See the video for details.

Same here. The first day using the program.


Kafka 7514 - Trogdor support multiple consumers in ConsumeBenchWorker

This PR adds a new ConsumeBenchSpec field - "consumerCount". "consumerCount" will be spawned over "consumerCount" threads in the ConsumeBenchWorker.
It's now questionable how existing fields such as "targetMessagesPerSec", "maxMessages", "consumerGroup" and "activeTopics" should work.
With "activeTopics", we need to decide whether they should be split over the consumers or not.
I see 4 cases which I believe we should address like this:

Random group, subscribe to topics - N unique groups all subscribed to all topics
Specific group, subscribe to topics - 1 group subscribed to all topics. Consumers share workload.
Random groups, assign partitions - X groups all subscribed to all partitions
Specific group, assign partitions - 1 group all subscribed to part of the partitions (split in a round-robin style)

I believe "targetMessagesPerSec", "maxMessages" should account for each consumer individually. This would ease implementation by a ton, too.

You bring up some good points.  I agree that it's better to have targetMessagesPerSec and maxMessages apply to each consumer individually.  We should add some JavaDoc specifying that this is the case.
Case 1, 2, and 3 all look right to me.  The only one that's debatable is case 4.  You could argue that dividing up the partitions statically in a round-robin fashion is a bit unintuitive for the end-user.  I think having such a big difference between 3 and 4 would probably trip up some people.  Maybe we can merge cases 3 and 4?  I'm curious what others think.

@cmccabe is there another possible scenario? I thought two consumers in the same group cannot read from the same partition? Unless you're questioning whether we should round-robin them or not?
I can post this PR to the public AK repo and even post in the mailing list for opinions - what do you think?

Should we close this as a duplicate of the other PR?


feat: :sparkles: Windows compatibility with Air

Added windows compatibility at the air.toml by adding the ".exe" extension to the compiled binary
What this PR is changing or adding?
It makes the command "create" to create a project that works with Windows when using Air
Before/after or any other screenshots

Which issues are fixed by this PR?

#54

Pre-launch Checklist

[x] I have read and fully accepted project's code of conduct.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation and/or comments to the code.
[x] All existing and new tests are passing successfully.

Hi, @eddyvy
Thanks for this PR.
But I am aware of this configuration inaccuracy, and I am preparing a more in-depth solution, which will come out in the next CLI version.

@eddyvy fixed in v2.3.1.
Thanks!


Get rid of asserts in helper classes #2295

[ ] Breaking change? (if so, please describe the impact and migration path for existing application instances)

What changes did you make? (Give an overview)
-Refactored all methods like SelenideElement.shouldBe(Condition) in waitUntilScreenReady() cause the main goal of them is waiting for element's
-Refactored only methods which correspond opening pages
Is there anything you'd like reviewers to focus on?
How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)

[x] No need to
[ ] Manually (please, describe, if necessary)
[ ] Unit checks
[ ] Integration checks
[ ] Covered by existing automation

Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (e.g. ENVIRONMENT VARIABLES)
[x] My changes generate no new warnings (e.g. Sonar is happy)
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged

Check out Contributing and Code of Conduct
A picture of a cute animal (not mandatory but encouraged)

@anezboretskiy don't forget to link the issues


AFHTTPRequestOperationManager.o  does not contain bitcode

Im getting this error after updating into iOS9

ld: '/Users/myAccount/Library/Developer/Xcode/DerivedData/AppName-ftxlbucmwlnghsehqlhsyfbtxsvb/Build/Products/Debug-iphoneos/libAFNetworking.a(AFHTTPRequestOperationManager.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7

Im trying workout without disabling bitcode . help ?

i have try the example project,also failed

I'm happing the same problem. I confirm that i disabled bitcode in libAFNetworking.a but that setting does not applied to AFHTTPClient.o which is inside the libAFNetworking.a

Same problem here

I solved it by disabling the Bitcode into the whole app (Target -> Info -> Bitcode Enabled -> NO). Maybe some of my dependencies are not Bitcode enabled yet.

yes, I did that too. But for tvOS apps Bitcode is now mandatory needed as YES. So I will naturally have to move away from AFNetworking, which is used in all my project
And likely that the iOS apps will require setting Bitcode to YES as well...

That's true. Maybe consider to use a rest client with bitcode support such as Alamofire or wait for afnetworking to push with bitcode support.

I am also facing same issue, for now i have just disabled bitcode for time being. But we can't submit (please correct me if i am wrong) a IPA generated from xcode7 with bitcode set to NO. when can we get AFNetworking support Bitcode.

How are you pulling the library into your project? With Cocoapods?
@iosliujun are you saying you cannot run the example project? I don't seem to have that problem here.

I'm going to close this issue for now. The 3.0.0 branch has Carthage Support that does enable bitcode, and to my knowledge there is nothing specific a library maintainer needs to do in order to support bitcode for Cocoapods.


docs: some improvements

This PR adds some small documentation improvements to hopefully make it a little easier for people to get started.

Thanks for review @sago35 now merging.


Update metadata to include key id

I guess these were scripted? Could you make sure they're unique? You can paste the whole key as the key ID if necessary


Check the spring security migration guide is correct and complete

Before 4.0 GA release, we should make sure the migration guide is correct and contain all breaking changes.
For spring security parts, the migration guide contains

Artifact changes: renamed / added / deleted
Configuration changes
API changes

We should also make sure users can follow our migration guide and migrate their projects.

FYI: Remember to update according to #27579

Note: an error in current keyvault migration guide:
https://microsoft.github.io/spring-cloud-azure/4.0.0-beta.4/4.0.0-beta.4/reference/html/appendix.html#configuration-spring-cloud-azure-starter-keyvault-secrets

For the check and update for the 4.0 version update is finished.  close it.


not use sigmoid on score when decoding

Centernet use sigmoid on heatmap score, but centerface not  use it.

Centernet use sigmoid on heatmap score, but centerface not use it.

Sigmoid is in the model.

@ywlife Thank you!


Manage single session on laravel and magento

I want manage single session on laravel application and magento application. so i have changed the laravel session name to frontend as magento uses frontend as the cookie name and both are under same domain name.
So i thought it would be simple as i will be able to get session details on both application but its little tricky as laravel set session id encrypted in session cookies.
Is there any way i can disable the encryption of session while creating session cookies or i can override the session management in laravel only for this encryption of session cookie.
Even i also want to exactly where this encryption is done while creating session cookies in the code so i can verify as it will work or not?

Please ask on the forums.

Ok thanks buddy


path_conv: backport forgotten part of msys2/msys2-runtime#179

In https://github.com/msys2/msys2-runtime/pull/179 ("Fix out-of-bound access in path conversion"), two instances were fixed where it was used when it2 should have been used instead.
In 3a20d2f (Sync path_conv.pp with msys2-runtime, 2023-12-22), only one of those fixes was applied. Let's apply the other one, too.

oops, thanks


Shifter: Component:  Gradual scaling on legs and arms

Add a gradient/gradual linear scaling for arm_and leg 2 bones.  Similar to ms components

This issue was moved to mgear-dev/shifter_classic_components#6


Documentation

Hi,
Your approach to perform roles & permissions are very interesting !
can you provide detailed documentation to use correctly ?
Many thx !!!

Hi,
This package not completed. at now, I working on it.
please wait until complete


Fails to resolve when same requirement specific multiple times

Error in pants/pex when trying to package multiple modules that depend on each other, with shared external dependencies.
AssertionError: More than one direct requirement is satisfied by PyJWT 1.7.1:
0. PyJWT
1. PyJWT==1.7.1
This should never happen since Pip fails when more than one requirement for a given project name key is supplied and applies for a given target interpreter environment.

constraints.txt
PyJWT>=1.7.1,<2.0

requirements.txt #1
PyJWT

requirements.txt #2
PyJWT==1.7.1

To clarify, none of these requirements constraints are mutually exclusive and pip does not error when multiple of the same requirement are specified. This could potentially be an issue with how pants is passing in the requirements.
Full traceback
stderr:
Traceback (most recent call last):
  File "/home/noah/.cache/pants/named_caches/pex_root/unzipped_pexes/01a8d22400b26b1d132a9849fb6e28962f1ecf9e/.bootstrap/pex/pex.py", line 476, in execute
    exit_value = self._wrap_coverage(self._wrap_profiling, self._execute)
  File "/home/noah/.cache/pants/named_caches/pex_root/unzipped_pexes/01a8d22400b26b1d132a9849fb6e28962f1ecf9e/.bootstrap/pex/pex.py", line 401, in _wrap_coverage
    return runner(*args)
  File "/home/noah/.cache/pants/named_caches/pex_root/unzipped_pexes/01a8d22400b26b1d132a9849fb6e28962f1ecf9e/.bootstrap/pex/pex.py", line 432, in _wrap_profiling
    return runner(*args)
  File "/home/noah/.cache/pants/named_caches/pex_root/unzipped_pexes/01a8d22400b26b1d132a9849fb6e28962f1ecf9e/.bootstrap/pex/pex.py", line 532, in _execute
    return self.execute_entry(self._pex_info.entry_point)
  File "/home/noah/.cache/pants/named_caches/pex_root/unzipped_pexes/01a8d22400b26b1d132a9849fb6e28962f1ecf9e/.bootstrap/pex/pex.py", line 668, in execute_entry
    return self.execute_pkg_resources(entry_point)
  File "/home/noah/.cache/pants/named_caches/pex_root/unzipped_pexes/01a8d22400b26b1d132a9849fb6e28962f1ecf9e/.bootstrap/pex/pex.py", line 700, in execute_pkg_resources
    return runner()
  File "/home/noah/.cache/pants/named_caches/pex_root/installed_wheels/7fea57708be4117c2d962e01abd1585a8846dc06/pex-2.1.54-py2.py3-none-any.whl/pex/bin/pex.py", line 666, in main
    do_main(
  File "/home/noah/.cache/pants/named_caches/pex_root/installed_wheels/7fea57708be4117c2d962e01abd1585a8846dc06/pex-2.1.54-py2.py3-none-any.whl/pex/bin/pex.py", line 687, in do_main
    pex_builder = build_pex(
  File "/home/noah/.cache/pants/named_caches/pex_root/installed_wheels/7fea57708be4117c2d962e01abd1585a8846dc06/pex-2.1.54-py2.py3-none-any.whl/pex/bin/pex.py", line 578, in build_pex
    result = resolve(
  File "/home/noah/.cache/pants/named_caches/pex_root/installed_wheels/7fea57708be4117c2d962e01abd1585a8846dc06/pex-2.1.54-py2.py3-none-any.whl/pex/resolver.py", line 943, in resolve
    build_and_install_request.install_distributions(
  File "/home/noah/.cache/pants/named_caches/pex_root/installed_wheels/7fea57708be4117c2d962e01abd1585a8846dc06/pex-2.1.54-py2.py3-none-any.whl/pex/resolver.py", line 707, in install_distributions
    raise AssertionError(
AssertionError: More than one direct requirement is satisfied by PyJWT 1.7.1:
0. PyJWT
1. PyJWT==1.7.1
This should never happen since Pip fails when more than one requirement for a given project name key is supplied and applies for a given target interpreter environment.

@chiefnoah what version of Pants are you using?

[GLOBAL]
pants_version = "2.9.0.dev2"

We're currently using 2.2.0, but I'm attempting to bump the version again (because that's very old and deprecated), but any version newer than that appears to have this problem.

Ok, thanks @chiefnoah. Could you share the PEX-INFO? If you're seeing this via ./pants run ... you'd want to ./pants package ... and then unzip -qc dist/my.pex PEX-INFO. If you get this error from some command other than ./pants run can you provide a bit more detail? Perhaps the full logs from ./pants -ldebug --no-local-cache ....

I'm seeing this when trying to run ./pants package :: to package all of our modules, and also when I attempt to package the specific module that's failing here. Adding -ldebug --no-local-cache doesn't add any additional output.
The actual command appears to be:
  ProcessExecutionFailure: Process 'Building redacted.pex with 10 requirements: Flask, PyJWT, PyJWT==1.7.1, cachetools, cryptography, fire>=0.1.3, protobuf, requests==2.25.1, tabulate==0.8.7, typing_extensions>=<IP_ADDRESS>' failed with exit code 1.

...
<above stacktrace>

I can attempt to package another module and pull the PEX-INFO out from there, but I'm not sure how much that will help.

Thanks, that was enough. This is definitely a Pants bug passing the same requirement 2x.   I'll take a look over there and see if I can't see what conditions lead to that.

Alright, Pants makes no attempt to dedup project names, just whole requirements; so PyJWT and PyJWT==1.7.1 are treated as distinct:
https://github.com/pantsbuild/pants/blob/0b1805739af59f76b1eee86d263dc4c25fe4dcef/src/python/pants/backend/python/util_rules/pex.py#L130-L141
A person sitting down and using the Pex CLI would ~never do this. That said, it appears you're correct re This should never happen since Pip fails when more than one requirement for a given project name key is supplied and applies for a given target interpreter environment. and that's definitely False.
To be clear, what's happening here is at PEX file boot time, the Pex runtime is trying to determine which distributions contained in the PEX file to activate and add to the sys.path. In so doing, its complaining about the same requirement being recorded 2x in its PEX-INFO. Let me dig in the Pex logic a bit here and see what can be done. This is not simple since a common case of multiple requirements is when you use environment markers to express "Choose this version for this environment and that version for that one.". In those cases you cannot collapse dup requirements but there is also no problem at runtime since only one of the two environments is active / present.

Aha, the This should never happen ... bit is, at least in part, true:
$ pex -V
2.1.59
$ pex --resolver-version pip-legacy-resolver PyJWT PyJWT==1.7.1 -o PyJWT.pex --include-tools
ERROR: Double requirement given: PyJWT==1.7.1 (already in PyJWT, name='PyJWT')
pid 25018 -> /home/jsirois/.pex/venvs/52ef3fa0fec32d58685d2164c25fd2d092f23324/9148e449944f6676b304f8f06462e05782fdb928/pex --disable-pip-version-check --no-python-version-warning --exists-action a --use-deprecated legacy-resolver --isolated -q --cache-dir /home/jsirois/.pex download --dest /tmp/tmp5mn2ez7g/home.jsirois..venv.pex.bin.python3 PyJWT PyJWT==1.7.1 --index-url https://pypi.org/simple --retries 5 --timeout 15 exited with 1 and STDERR:
None

It's only using the new resolver, which Pants now does unconditionally, that it's false:
$ pex --resolver-version pip-2020-resolver PyJWT PyJWT==1.7.1 -o PyJWT.pex --include-tools
Traceback (most recent call last):
  File "/home/jsirois/.venv/pex/bin/pex", line 8, in <module>
    sys.exit(main())
  File "/home/jsirois/.venv/pex/lib/python3.10/site-packages/pex/bin/pex.py", line 683, in main
    do_main(
  File "/home/jsirois/.venv/pex/lib/python3.10/site-packages/pex/bin/pex.py", line 704, in do_main
    pex_builder = build_pex(
  File "/home/jsirois/.venv/pex/lib/python3.10/site-packages/pex/bin/pex.py", line 593, in build_pex
    result = resolve(
  File "/home/jsirois/.venv/pex/lib/python3.10/site-packages/pex/resolver.py", line 958, in resolve
    build_and_install_request.install_distributions(
  File "/home/jsirois/.venv/pex/lib/python3.10/site-packages/pex/resolver.py", line 722, in install_distributions
    raise AssertionError(
AssertionError: More than one direct requirement is satisfied by PyJWT 1.7.1:
0. PyJWT
1. PyJWT==1.7.1
This should never happen since Pip fails when more than one requirement for a given project name key is supplied and applies for a given target interpreter environment.

Interesting. For some additional context, what's effectively happening here is we have module A and module B. Module A depends on module B, and both depend on 3rd-party dependency C. Both module A and B exist in the same repo as independent source_roots and packaged separately (one as a .pex, another as .whl). It seems Pants tries to union all requirements from both modules at package-time and resolve the environment for the .pex (which makes sense), but it's not de-duplicating the common dependency. The existence of a constraints.txt should disambiguate the version it ultimately resolves and passes to pex.
Should I create an issue on the pants repo?

Should I create an issue on the pants repo?

I don't think so. You really can't dedup unless you are a resolver. Neither Pants nor Pex are resolvers. Pants delegates to Pex and Pex to Pip. Now Pip has enough context to dedup; i.e.: Its supposed to have enough logic to understand that PyJWT and PyJWT==1.7.1 always dedups to PyJWT==1.7.1 but that PyJWT==1.7.1; python_version <= "3.7" and PyJWT>1.7.1; python_version > "3.7" de-dups to one or the other depending on the interpreter being used to perform the resolve, etc.

I'll get this fixed up in Pex 2.1.60 and upgrade Pants to that for the 2.9.x series (It's on 2.9.0rc0 presently).

@chiefnoah this is now released in Pex 2.1.60, is in Pants main and is being cherry-picked to 2.9.x here: https://github.com/pantsbuild/pants/pull/13949. This will be released in Pants 2.9.0rc2.


Would like to use this with storybook-addon-apollo-client

Would let us mock out the responses of Network Layer Container components
https://www.npmjs.com/package/storybook-addon-apollo-client

I ran through all the required setup for the addon,
Our GQL guys gave me a schema.graphql to put in our frontend project
I setup one of the stories that ends up loading a Network Layer Component with a query created with gql from @ts-gql/tag
it spits out this error:

Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql
Invariant Violation: Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql
    at new InvariantError (http://localhost:6006/vendors~main.iframe.bundle.js:163217:28)
    at invariant (http://localhost:6006/vendors~main.iframe.bundle.js:163229:15)
    at checkDocument (http://localhost:6006/vendors~main.iframe.bundle.js:5447:96)
    at removeConnectionDirectiveFromDocument (http://localhost:6006/vendors~main.iframe.bundle.js:5903:143)
    at MockLink.push.../../node_modules/.pnpm/@apollo/client@3.1.1_graphql@14.6.0+react<EMAIL_ADDRESS>(http://localhost:6006/vendors~main.iframe.bundle.js:6776:133)
    at MockLink.push.../../node_modules/.pnpm/@apollo/client@3.1.1_graphql@14.6.0+react<EMAIL_ADDRESS>(http://localhost:6006/vendors~main.iframe.bundle.js:6719:45)
    at http://localhost:6006/vendors~main.iframe.bundle.js:6713:23
    at Array.forEach (<anonymous>)
    at new MockLink (http://localhost:6006/vendors~main.iframe.bundle.js:6712:29)
    at new MockedProvider (http://localhost:6006/vendors~main.iframe.bundle.js:6622:27)

If I instead use the import { gql } from '@apollo/client'; to write the queries, then it doesn't crash and burn, but obviously there's no type safety on our query results :(

looking at your README.md there's this :

@ts-gql/apollo only exposes a subset of @apollo/client's functionality. For example, it doesn't expose useLazyQuery because we recommend using useApolloClient().query instead. If you disagree with some of the decisions that @ts-gql/apollo makes, you can use ts-gql but write your own type definitions for Apollo or another GraphQL client.

Confused? are you essentially telling anyone who wants a bit more out of the @ts-gql/apollo exports to go away ?
I think I need @ts-gql/client/testing exported also.

With the change to use @graphql-typed-document-node/core, you can now use @apollo/client/testing and it will work with ts-gql's queries.


Is this the right repo

Hello,
I would like to know if this repo is the "official" one. Is still maintained?
Issue for me:
| MyTest |
|    | [Documentation] | xxxx |
|    | [tags] | critical |
...

When I use the jenkins allure plugin the test has "normal" severity

You can use this one https://pypi.org/project/allure-robotframework/


Cannot access the docker container via OpenVPN

I have a docker (version 1.11.1) openvpn_client container running that connects the host to my VPN network. This is working just fine.
However, when I start my munin container and bind it to the VPN IP <IP_ADDRESS>:8080 then I cannot access the container from my remote (local host).
I tried via telnet to access <IP_ADDRESS> on port 8080 but no luck. I can however access to my hosts 'native' SSH server via VPN (<IP_ADDRESS> port 22) just fine.
Here is my docker-compose file just to make my setup clear.
version: "2"
services:
    munin:
      build: munin
      ports:
        - "<IP_ADDRESS>:8080:8080"

    openvpn_client:
      build: ../openvpn_client
      environment:
        CLIENT_CONFIG: server01.example.com.conf
      network_mode: host
      devices:
        - /dev/net/tun:/dev/net/tun
      cap_add:
        - NET_ADMIN

Maybe someone can give me a hint! Thanks!
PS:
Actually I now also tried to simply map the port 8080 to ``<IP_ADDRESS>` so that it listens on all interfaces, but also that is not working. I'm out of ideas actually...
As already stated the VPN works as expected and the iptable routes are ok. I can access the port 8080 via public IP just fine. Via VPN it is not working.

docker version
Client:
 Version:      1.11.1
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   5604cbe
 Built:        Tue Apr 26 23:30:23 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.11.1
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   5604cbe
 Built:        Tue Apr 26 23:30:23 2016
 OS/Arch:      linux/amd64

docker info
Containers: 22
 Running: 8
 Paused: 0
 Stopped: 14
Images: 528
Server Version: 1.11.1
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 633
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: host bridge null
Kernel Version: 3.16.0-70-generic
Operating System: Ubuntu 14.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 5.69 GiB
Name: machine.example.com
ID: QYQV:YBR4:WAQQ:ONCC:VRCU:3COL:ZT72:G4ZW:236F:BGDZ:5HT2:QFSL
Docker Root Dir: /var/lib/docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support

iptables -t nat -L -nv
See: https://gist.github.com/phlegx/de09ddd55091da486a021021823fc8e9

Please keep in mind that the GitHub issue tracker is for tracking bugs and feature requests, not a general support forum. Can you ask this question on either one of;

forums.docker.com
the #docker IRC channel on freenode
StackOverflow

I'll close this issue, because of the above, but feel free to comment here after I closed, thanks!

Thank you @thaJeztah! The thing is I think it is a bug. I don't see any reason why this shouldn't work the way I set it up. The VPN itself works just fine. It seems to be a problem with docker somehow. But this is of course just my assumption.
Thank you very much!

@phlegx can you provide the output of docker version and docker info, and add that to your original comment? Also any options you set on the daemon / related environment vars (such as http_proxy)

@thaJeztah I've updated the original comment. Please let me know if you need something in addition!

Thanks, let me reopen, perhaps someone of the network team can have a look at this. It's quite busy though at the moment, due to preparations for DockerCon and the upcoming release, so it may take slightly longer than usual

Thank you @thaJeztah! If someone might want to test/reproduce it via OpenVPN itself, I can only point to this image: https://github.com/kylemanna/docker-openvpn/ which makes setting up a VPN extremely easy and fast.

@phlegx: Did you ever figure out the root cause for this? I'm running into a similar issue. I'm hosting an openvpn server in a docker container, and I can't access any of the other ports from the other docker containers.

@Peaches491 Hi! Unfortunately no. I wanted to wait for a new docker version  and then try it out again, but haven't had time yet. I hope I can come back to this soon.

I tried it now locally via KVM machines with docker 1.12 and it seems to work just fine now. Awesome! Probably this got resolve in this newest docker version. I think since Openvpn didn't change, this was indeed a docker issue then.
I still have to deploy everything to production and see if it also working there.I'll let you know if no further issues appear there!

Thanks @phlegx

Only now I managed to test it on the new server. All is working fine with docker version Docker version 1.12.6, build 78d1802. This can be closed @thaJeztah  Thank you very much!

thanks @phlegx, good to hear it's resolved!


Cast node does not have inputs

[ONNXRuntimeError] : 10 : INVALID_GRAPH : Load model from /opt/pytorch/.onnx_models/DistillGPT2/torch_onnx_patch/DistillGPT2_torch_onnx_patch.onnx failed:This is an invalid model. In Node, ("node_Cast_43", Cast, "", -1) : () -> ("val_21",) , Error Node (node_Cast_43) has input size 0 not in range [min=1, max=1].

full.default has an empty input, and we need to handle that


Which font did you use?

I've tried Monoid and Hasklig. They do not have so many ligatures as you do.
Thanks.

PragmataPro
http://www.fsd.it/fonts/pragmatapro.htm


Remove blue glow on buttons

fixes #405

Codecov Report

Merging #450 (337f3fd) into develop (7da834f) will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop        #450   +/-   ##
=============================================
  Coverage   96.42157%   96.42157%
=============================================
  Files             82          82
  Lines           2040        2040
=============================================
  Hits            1967        1967
  Misses            73          73


Add a new hyper parameter to enable or disable the avoidance in the last section

Hello, the maintainers of OpenPlanner.
As discussed in https://github.com/hatem-darweesh/autoware.ai.openplanner/issues/9, replan is not triggered if the current rollouts reach the goal. Thus some collision will happen while there are obstacles between ego and goal. In some scenarios(such as bus stop), as you mentioned, this is a reasonable design choice. We enable and disable avoidance manually in the last section based on the hyper parameters, as suggested by your opinion. This approach provides convenience for users to adapt to various driving scenarios.

Hello, @hatem-darweesh This PR has not received a response for a long time, and I want to confirm if this solution is acceptable. If it is not, I kindly request your advice.
Thanks for your attention.

Hi @hatem-darweesh ,
I'd like to check the status of my pull request, as it has been pending without a response for some time. If it doesn't meet the requirements or if there are any concerns, I would appreciate your guidance and advice for potential adjustments. Thank you for your time and consideration.
Thanks for your attention.


Timestamp deposits

Every time stamp for every deposit is the same

Haven't been able to replicate this issue.


[Script]: Prediction of energy output of a power plant ML model

Aim
Want to use neural networks to predict the net hourly electrical energy output (EP) of the plant on the basis of Temperature (T), Ambient Pressure (AP), Relative Humidity (RH) and Exhaust Vacuum (V) features.
Details
dataset:
Train (1).csv
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

/assign


not able to install it directly from github

i have forked this repo to customize it but when i try to install using npm i faced error so when i tried to install original repo with npm i faced same issue
command: npm i https://github.com/Shmulik-Kravitz/react-jewish-datepicker/tarball/master
error: npm ERR! Cannot read properties of undefined (reading 'spec')

Hi Salish,
This repo uses yarn workspaces, you will need to build it locally before you can use it.
Thank you and have a good day
Shmulik


rustup randomly dies updating itself in CI? (windows-only?)

When trying to build releases for my rust cli tool https://github.com/fritzrehde/watchbind, I get:
info: downloading self-update
error: could not copy file from 'C:\Users\runneradmin\.cargo\bin\rustup-init.exe' to 'C:\Users\runneradmin\.cargo\bin\rustup.exe': Access is denied. (os error 5)
ResourceUnavailable: D:\a\_temp\7f52b54c-ff40-4eed-a91a-8b2bb5e42c67.ps1:2
Line |
   2 |  rustup update stable && rustup default stable
     |                          ~~~~~~~~~~~~~~~~~~~~~
     | Program 'rustup.exe' failed to run: An error occurred trying to start process
     | 'C:\Users\runneradmin\.cargo\bin\rustup.exe' with working directory 'D:\a\watchbind\watchbind'. Access is
     | denied.At D:\a\_temp\7f52b54c-ff40-4eed-a91a-8b2bb5e42c67.ps1:2 char:25 + rustup update stable && rustup default
     | stable +                         ~~~~~~~~~~~~~~~~~~~~~.

for the windows build.

Hmm, I reran the github action manually and this time cargo-dist failed for the macos build with "Process completed with exit code 255.", but the windows build succeeded. Very strange.

This is the second time someone's reported rustup spuriously failing, we should find out if there's some upstream issue.

this looks like it's maaaaybe https://github.com/rust-lang/rustup/issues/2441

Looks like we can potentially work around this with --no-self-update


Remove the "track" field and declare it as a local variable in the relevant methods

Describe the technical debt
When the value of a private field is always assigned to in a class' methods before being read, then it is not being used to store class information. Therefore, it should become a local variable in the relevant methods to prevent any misunderstanding. Here it is for variable "Track"
Expected behavior
Private fields only used as local variables in methods should become local variables
Rule ID:java:S1450
Screenshots

Additional context
Filename - TrackEditActivity.java
File Path - java/de/dennisguse/opentracks/TrackEditActivity.java

Solved through this PR


Werkzerg reloader crashes due to Nix wrapped scripts

Issue description
Werkzerg (a python framework; used by Flask for example) has a function that reloads the server while you are developing it.  This crashes on NixOS, since it is wrapped as a shell script:
 * Serving Flask app "main"
 * Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
 * Restarting with stat
  File "/nix/store/ya4r3zvl1abad8rkql804q9slhbp3n5d-python3.6-Flask-0.12.2/bin/flask", line 2
    export PATH=/nix/store/839vm39v1wnb6zw0hn66g834n08735yg-python3-3.6.3/bin:/nix/store/ya4r3zvl1abad8rkql804q9slhbp3n5d-python3.6-Flask-0.12.2/bin:/nix/store/wl6gn1ll6zfxpv3k7a6aq7sdq47f0xzx-python3.6-setuptools-36.4.0/bin${PATH:+:}$PATH
              ^
SyntaxError: invalid syntax

Werkzerg tried to reload the app based on sys.argv[0]; however, this is mangled by NixOS and does not point to the real python script.
Steps to reproduce
Using flask (aka. nix-env -i python3.6-Flask)
Create a file main.py:
from flask import Flask

app = Flask(__name__)

@app.route('/')
def index():
    return 'Hello World'

Attempt to run it with the reloader:
FLASK_APP=main.py flask run --reloader

Currently, it will crash with the error as above:
 * Serving Flask app "main"
 * Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
 * Restarting with stat
  File "/nix/store/ya4r3zvl1abad8rkql804q9slhbp3n5d-python3.6-Flask-0.12.2/bin/flask", line 2
    export PATH=/nix/store/839vm39v1wnb6zw0hn66g834n08735yg-python3-3.6.3/bin:/nix/store/ya4r3zvl1abad8rkql804q9slhbp3n5d-python3.6-Flask-0.12.2/bin:/nix/store/wl6gn1ll6zfxpv3k7a6aq7sdq47f0xzx-python3.6-setuptools-36.4.0/bin${PATH:+:}$PATH
              ^
SyntaxError: invalid syntax

Technical details

system: "x86_64-linux"
host os: Linux 4.9.66, NixOS, 17.09.2281.b4a0c011e81 (Hummingbird)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 1.11.15
channels(root): "nixos-17.09.2281.b4a0c011e81"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

As a workaround until this is fixed properly, FLASK_ENV=development python -m flask run seems to work fine, while FLASK_ENV=development flask run crashes with this bug.

@samdroid-apps If you want, you can make a PR which adds the upstream fix (https://github.com/pallets/werkzeug/pull/1242) as a patch to our Werkzeug expression.

Werkzeug 0.15 was released with @samdroid-apps's fix for this.

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/python-flask-app-cant-find-dependencies/6380/5


Configure Tensorflow Serving docker container

The aim here is to Puppet-ify running a TensorFlow Serving container, namely the following command:
docker run -t --rm -p 8501:8501 \
    -v "$EXPORT_PATH/$LATEST:/models/ltr/1" \
    -e MODEL_NAME=ltr \
    tensorflow/serving

@barrucadu Do you have any pointers as to how we can mount the volume?
Paired with @bilbof
Card: https://trello.com/c/HaeILDIG/1166-add-dockerised-model-to-search-machines

Do you have any pointers as to how we can mount the volume?

You can pass extra parameters to ::docker::run, so I think the way to do it would be to pass -v /some/directory/on/the/host:/models/ltr/1 with a resource to create the directory before starting the container:
  file { '/ltr-model':
    ensure => 'directory',
  } ->

  ::docker::run { 'tensorflow/serving':
    ports            => ['8501:8501'],
    image            => $image_name,
    require          => Docker::Image[$image_name],
    extra_parameters => ['-P', '-v', '/ltr-model:/models/ltr/1'],
    command          => "-m ${max_memory} -e MODEL_NAME=${model_name}",
  }

@laurentqro rebasing should get the build to pass: https://github.com/alphagov/govuk-puppet/commit/83b8923df138c5f9637c2ea9190ab6e650e5c0b7


udpate dependencies

updated dependencies as discussed in issue https://github.com/anvilresearch/connect/issues/300
updated version of node.js in .travis.yml to latest as discussed in issue #302

Looks good. Thanks!


Building image from rhel and rhocp channels throws mismatch files from same packages on both channels

What happened:
Using
However, when building an image with osbuild, it throws errors related with same file in different channels, like:
Jul 26 07:15:21 rhel86 osbuild-worker[1902]: time="2022-07-26T07:15:21-04:00" level=info msg="    \tfile /etc/issue conflicts between attempted installs of redhat-release-coreos-410.84-2.el8.x86_64 and redhat-release-8.6-0.1.el8.x86_64" jobId=7f0d533b-e351-40bc-91a2-301c2f51d3e9
Jul 26 07:15:21 rhel86 osbuild-worker[1902]: time="2022-07-26T07:15:21-04:00" level=info msg="    \tfile /etc/issue.net conflicts between attempted installs of redhat-release-coreos-410.84-2.el8.x86_64 and redhat-release-8.6-0.1.el8.x86_64" jobId=7f0d533b-e351-40bc-91a2-301c2f51d3e9
Jul 26 07:15:21 rhel86 osbuild-worker[1902]: time="2022-07-26T07:15:21-04:00" level=info msg="    \tfile /etc/os-release conflicts between attempted installs of redhat-release-coreos-410.84-2.el8.x86_64 and redhat-release-8.6-0.1.el8.x86_64" jobId=7f0d533b-e351-40bc-91a2-301c2f51d3e9
...

What you expected to happen:
Include only packages from rhel channels.
How to reproduce it (as minimally and precisely as possible):

Create a RHEL image with the notes
Run osbuid

Anything else we need to know?:
Environment:

Microshift version (use microshift version): N/A
Hardware configuration: KVM virtual machine
OS (e.g: cat /etc/os-release):Red Hat Enterprise Linux release 8.6 (Ootpa)
Kernel (e.g. uname -a): Linux rhel86 4.18.0-372.9.1.el8.x86_64 #1 SMP Fri Apr 15 22:12:19 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux
Others:

Relevant Logs

I am using https://github.com/openshift/microshift/blob/main/docs/devenv_rhel8.md, but building it with osbuild-composer.
It is related with dependencies for cri-o on the rhocp channel.

It seems adding redhat-release solve the issue. Also, check https://access.redhat.com/solutions/6964106.

Thanks for posting the extra details, and I'm glad you have it working!


Graduate AntreaPolicy Feature to Beta

We graduate this Feature to Beta for the Antrea v1.0 release.
See #1725

/test-ipv6-e2e
/test-ipv6-only-e2e

Codecov Report

Merging #1999 (197a181) into main (85456c9) will decrease coverage by 0.34%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1999      +/-   ##
==========================================
- Coverage   65.14%   64.79%   -0.35%
==========================================
  Files         197      197
  Lines       17407    17407
==========================================
- Hits        11339    11279      -60
- Misses       4880     4943      +63
+ Partials     1188     1185       -3

Flag
Coverage Δ

kind-e2e-tests
55.71% <ø> (-0.50%)
:arrow_down:

unit-tests
42.01% <ø> (+0.32%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/features/antrea_features.go
16.66% <ø> (ø)

pkg/agent/controller/traceflow/packetin.go
47.17% <0.00%> (-12.31%)
:arrow_down:

pkg/apiserver/handlers/endpoint/handler.go
58.82% <0.00%> (-11.77%)
:arrow_down:

...agent/controller/traceflow/traceflow_controller.go
71.93% <0.00%> (-3.17%)
:arrow_down:

pkg/controller/traceflow/controller.go
66.88% <0.00%> (-2.60%)
:arrow_down:

pkg/controller/networkpolicy/clustergroup.go
86.11% <0.00%> (-1.86%)
:arrow_down:

pkg/agent/openflow/pipeline.go
69.01% <0.00%> (-1.63%)
:arrow_down:

pkg/agent/route/route_linux.go
45.65% <0.00%> (-0.65%)
:arrow_down:

pkg/agent/openflow/client.go
63.15% <0.00%> (-0.51%)
:arrow_down:

...ntroller/networkpolicy/networkpolicy_controller.go
84.08% <0.00%> (-0.49%)
:arrow_down:

... and 3 more

/test-all
/test-ipv6-all
/test-ipv6-only-all

/test-windows-conformance
/test-windows-networkpolicy

/test-all

testing fix
/test-windows-conformance
/test-windows-networkpolicy

/test-all
/test-ipv6-all
/test-ipv6-only-all

/test-ipv6-e2e

some unrelated failures for IPv6 and dual-stack (nterNodeUDPDstIPTraceflowIPv6 & Egress tests)


The legend panel is not fully displayed.

As illustrated in the heatmap, half of the legend panel was truncated. Here is the code I used:
fig = plt.figure(figsize=(f_width, f_height))
heatmap = pch.ClusterMapPlotter(
data=heatmap_data.T,
top_annotation=col_ha,
row_cluster=False,
col_cluster=True,
show_rownames=True,
show_colnames=False,
vmin=abund_limit[0],
vmax=abund_limit[1],
row_dendrogram=False,
col_dendrogram=True,
label="values",
verbose=0,
cmap=color_code,  ## To choose the build-in colormap
rasterized=True,
tree_kws={"row_cmap": "Dark2"},
xlabel=f"Run ({n_r} in total)",
ylabel=f"{data_type} ({n_p} in total)",
xlabel_kws=dict(color="black", fontsize=12, labelpad=0),
ylabel_kws=dict(color="black", fontsize=12, labelpad=0),
legend_hpad=7,
legend_gap=20,
yticklabels=True,  ## To force display all row labels
xticklabels_kws={"labelrotation": -45, "labelcolor": "blue"},
yticklabels_kws={"labelsize": 8},
)
plt.savefig(heatmap, bbox_inches="tight")
Thanks for your help!

Try to adjust the parameter legend_width.

Great! It works! Thanks a lot @DingWB.
Another thing is how to get rid of the outline frame around the heatmap? Thank you!

If you run any example code on the documentation website, is there an outline frame? If yes, then you need to upgrade the latest version of there must be something wrong with your code.


[NEW] Helpers / Overlay

Component References
Figma Link
https://www.figma.com/file/R7ymwKrEI3LF6ssrZe5opG/Desktop-UI-Kit?node-id=9187%3A38889
Additional Info
Shared Overlay component for Modal + Drawer components.

has implemented at #580


Implement Aggregation View in Angular

Aggregation View has now been added to Angular on mossy url. It allows multiple table to made each aggregating the data on a selected variable, and allows users to export the data as csv.zip, excel file, json, or pdf.

Great! Thanks, David. Anu, let’s thoroughly check this view. Thanks!
From: David Cowan @.>
Sent: Friday, July 26, 2024 1:31 PM
To: CDCgov/MicrobeTrace @.>
Cc: Subscribed @.***>
Subject: [CDCgov/MicrobeTrace] Implement Aggregation View in Angular (Issue #828)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Aggregation View has now been added to Angular on mossy url. It allows multiple table to made each aggregating the data on a selected variable, and allows users to export the data as csv.zip, excel file, json, or pdf.
—
Reply to this email directly, view it on GitHubhttps://github.com/CDCgov/MicrobeTrace/issues/828, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHMTDBJEJEVWCZLQRBQPM6LZOKBT7AVCNFSM6AAAAABLQ5AM6GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZTENRVHE3TCMA.
You are receiving this because you are subscribed to this thread.Message ID<EMAIL_ADDRESS>


fix: :bug: Fix TMS halt and temperature calculations.

Previously, TMS would appear to crash upon boot. This was caused by the HAL_CAN_RxFifo0MsgPendingCallback interrupt being triggered when the BMS sent CAN messages, even though the TMS does not care about them. TMS did not call HAL_CAN_GetRxMessage() in the interrupt to clear the interrupt flag, so the interrupt continued to fire, preventing the main code from running. This commit fixes the problem by handling the messages.
Also fixes the temperature calculation which is now explicitly calculated from the sensor datasheet table and the physical hardware circuit.
As far as I can tell, TMS "works" now. It boots, sends messages, and correctly calculates the temperature values.
Verified the temp calc by reading the CAN message which stated the battery temp was 19 degC which matched the Hatch thermostat.

I want to do one more test on monday to make sure nothing got messed up when I rebased my commits

Let's go! This was the last ECU of EV5 to be moved to racecar/! We're officially a gen2 firmware car. Thanks @CameronBeneteau for getting openocd working, we wouldn't have been able to debug without it.


partnership note was note updated [second attempt]

I made an issue previously to update the partnership note to reflect the new language and although it was marked as resolved, the text has not been updated.
Please find the updated language here: here:https://docs.google.com/document/d/1nac1T3geXMBQ_4y078yzVUEFdJOGPRgmRSvRbR9lolg/edit

Already updated on the next release. Will be out on the new version on Monday.
-- staged on the dev branch

Already updated on the next release. Will be out on the new version on Monday.
-- staged on the dev branch


Driver not retained when migrating from Windows 11 22000 to 22449 and likely all build upgrades

[x] I have searched open and closed issues for duplicates
[x] I am submitting a bug report for existing functionality that does not work as intended
[x] I have read https://vigem.org/Community-Support/
[x] This isn't a feature request or a discussion topic

Bug description
Driver for BthDS3 is lost when upgrading from Windows 11 build 22000 to 22449.
Steps to reproduce

Install Windows 11 from ISO
Install DsHidMini and BthPS3
Enroll in the Dev channel and install the new build

Actual result: Controller no longer connects, Nefarius Bluetooth PS Enumerator is no longer present in Device Manager.
Expected result: Driver should be still installed.
Machine info

CPU-Architecture: x64
Windows version: Windows 11 builds 22000 and 22449
Software/driver version(s): 2.1.153
Any other helpful information

The MSI "Repair" option is not available to reinstall the drivers in one step; have to uninstall, reboot, and install again to get the drivers back.

Last week's Dev build killed it again; it appears the migration system causes the driver to get uninstalled.  Perhaps something to do with the method used to install it?

I'm doing nothing special that hasn't been done for like 20+ years now and I am tired running after things Microsoft breaks 🙂

Closing as Windows 11 doing Windows 11 silliness is outside of my scope.


AGP8 upgrade

The following configuration worked for me when migrating to AGP8:
build.gradle
buildscript {
    ext.kotlin_version = '1.9.0'
    repositories {
        google()
        jcenter()
        maven { url 'https://developer.huawei.com/repo/' }
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:8.1.1'
        classpath 'com.google.gms:google-services:4.3.15'
        classpath 'com.google.firebase:perf-plugin:1.4.2'
        classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.6'
        classpath 'com.huawei.agconnect:agcp:<IP_ADDRESS>0'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
...

app\build.gradle
...
apply plugin: 'com.android.application'
apply plugin: 'com.google.firebase.firebase-perf'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
//apply plugin: 'com.huawei.agconnect'

android {
    // Conditional for compatibility with AGP <4.2.
    if (project.android.hasProperty("namespace")) {
      namespace 'my_namespace'
    }

    compileSdkVersion 34
...

gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
#https://developer.android.com/studio/releases/gradle-plugin
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip

Forks (if required):
https://github.com/adrianvintu/file_saver
https://github.com/adrianvintu/flutter_statusbarcolor
https://github.com/adrianvintu/hms-flutter-plugin

Hey @adrianvintu Thank you, i will take a look into this soon

Hey @adrianvintu Thank you, i will take a look into this soon

@Sameerkash any update? i'm also facing the issue after flutter upgrade to 3.24 and AGP 8 upgrade. Giving namespace error.
A problem occurred configuring project ':flutter_statusbarcolor_ns'.
> Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
   > Namespace not specified. Specify a namespace in the module's build file. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

Hey @Dr-Usman there is a PR let me try to merge it soon

@Sameerkash  Yes i have checked and thank you for reply and please update.

@Sameerkash any update? please merge the PR

done @svarup

Thanks @Sameerkash, is flutter plugin have this pr merged or you have to released new version?


fix: Added missing test projects in CI/CD

There were some projects not tested on CI/CD runs.
We should merge this after #754 to test if that works :D

Funny I had a typo that is why the first run failed. But seems like hang-dump is not supported on linux:

Data collector 'Blame' message: Could not start process dump: System.PlatformNotSupportedException: Unsupported operating system: Linux 5.13.0-1029-azure #34~20.04.1-Ubuntu SMP Thu Jun 9 12:37:07 UTC 2022, and framework: .NETCoreApp,Version=v3.1.

See here.

Good catch. I wanted to remove these for v2, but obviously they still need to be here.


Docker Swarm: can't see agent nodes with docker node ls after deployment

Seems ACS still use the standalone way to install and configure Docker swarm. Since installed docker on host is already 1.12, can we change to integrated swarm mode which is recommended by Docker? So we could use docker service create command etc

Docker Swarm Mode is not currently supported. You can expect to see this included the future .


Remove all uses of #region

Closes #3
(I think this is what you meant in that issue, to remove all instaces of #region and #endregion.)

That's exactly what I meant. I've validated it manually (still setting up CI correctly) and it's approved.


Close playback and return to recording without getDevice

Using a single player instance to record multiple videos. When finished recording - in some cases I want the user to playback what they have recorded, in other cases I want it to return straight back to webcam view while file uploads.
Is there a way to do this without using getDevice()? It keeps asking permission to use the camera when testing on HTTP. I know this isn't an issue when on HTTPS but I'm concerned it might be causing some other issues in my app. Namely that when I destroy the player the browser record icon doesn't go away.

@bennybee getUserMedia, the browser API that provides access to the webcam, only works on HTTPS.

Ah ok, was testing in Firefox which seems to allow HTTP recording.

Ah ok, was testing in Firefox which seems to allow HTTP recording.

Only on localhost afaik.

@bennybee you can use player.record().startVideoPreview() (or player.recorder.startVideoPreview() in older videojs-record versions) to bring back the video preview instantly. Does that work for you?
Related to #163

That works, thanks. But I can't seem to get rid of the controls:
Camera inits with no controls
User records
User plays back with controls
I bring back preview and controls are still there
This is my code:
player.record().startVideoPreview();
player.controls(false);

and later when I run:
player.record().start();
player.controls(false);

The controls go again

@bennybee what about hiding controls with player.controlBar.hide()?


/var/lib is mounted as tmpfs

There is state that should be persisted in /var/lib that is currently lost during reboot due to the tmpfs mount. For example the systemd random-seed and the systemd clock file that helps maintain a monotonic clock.
./systemd/clock
./systemd/random-seed
./NetworkManager/dhclient6-9fc92dad-29a7-4de8-acf6-c09e95341029-wlan0.lease
./NetworkManager/dhclient6-wlan0.conf
./NetworkManager/seen-bssids
./NetworkManager/timestamps
./NetworkManager/dhclient-9fc92dad-29a7-4de8-acf6-c09e95341029-wlan0.lease
./NetworkManager/secret_key
./NetworkManager/dhclient-wlan0.conf
./NetworkManager/NetworkManager-intern.conf
./dropbear/authorized_keys

Also /var/lib includes /var/lib/systemd/coredump which could easily fill up RAM is enough programs crash

This issue was moved to resin-os/resinos#280


Node.js version update to LTS (12) for pipeline tasks

Hi! Are there any plans to update Node version used for pipeline tasks execution to the current LTS (12)? We are working on CopyFilesOverSSH pipeline and faced with an issue that for Ed25519 key support we need to use at least Node 12 - for current version (Node6 or Node10) it is possible, but it requires much more efforts, so it would be great to have the latest version onboard.

Bump. The current version fails with assert, and it's not supported by node team yet. See https://github.com/nodejs/node/issues/34633

Note that the documentation of azure-pipelines-task-lib is indirectly claiming that node14 is supported: https://github.com/microsoft/azure-pipelines-task-lib/blob/master/node/docs/nodeEnvironment.md

Given that Node.js 10 support ended on 30th April 2021, are there any plans to add Node.js 12 (maintenance LTS) or 14 (active LTS)?

Node 6 is causing problems with the recently updated Root certificate of letsencrypt as well. See the issue(s) with Sonarqubes plugin: https://community.sonarsource.com/t/cert-has-expired-issue-on-sonarqube/25656/29

Given that Node.js 10 support ended on 30th April 2021, are there any plans to add Node.js 12 (maintenance LTS) or 14 (active LTS)?

Or perhaps Node 16, now that "Active Support" for Node 14 ended today according to endoflife.date.

Would really like to see this get updated so we can use Ed25519 ssh keys

Just as a quick update - there are plans to introduce Node 14 execution handler and start updating tasks to this, but it could take some time due to wide and significant changes.

Just as a quick update - there are plans to introduce Node 14 execution handler and start updating tasks to this, but it could take some time due to wide and significant changes.

Nice! Perhaps even Node 16, since "Active Support" for Node 14 ended last October?

GitHub Action's equivalent change skipped Node 14 and went directly to Node 16: https://github.com/actions/runner/pull/1439

There are currently 2 PRs open to add support for new versions of Node.js

#3861
#3849

@anatolybolshakov I think this can be closed now that #3861 is merged


Add official support for Python 3.13

@codingjoe GitHub already supports Python 3.13. I usually add allow-prereleases: true to facilitate future releases.
I removed this parameter from CI and the tests continue to work!


Uncaught TypeError: Cannot read property 'getGrammar' of undefined

[Enter steps to reproduce:]

...Packages
...Fountain
Show preview

Atom: 1.31.1 x64
Electron: 2.0.7
OS: Ubuntu 16.04.5
Thrown From: fountain package 0.8.1
Stack Trace
Uncaught TypeError: Cannot read property 'getGrammar' of undefined
At /home/haldun/.atom/packages/fountain/lib/fountain.coffee:210

TypeError: Cannot read property 'getGrammar' of undefined
    at Object.pdfPreview (/packages/fountain/lib/fountain.coffee:210:25)
    at /packages/fountain/lib/fountain.coffee:166:31)
    at CommandRegistry.handleCommandEvent (/snap/atom/200/usr/share/atom/resources/app/src/command-registry.js:384:49)
    at CommandRegistry.dispatch (/snap/atom/200/usr/share/atom/resources/app/src/command-registry.js:273:23)
    at AtomEnvironment.dispatchApplicationMenuCommand (/snap/atom/200/usr/share/atom/resources/app/src/atom-environment.js:1351:25)
    at EventEmitter.outerCallback (/snap/atom/200/usr/share/atom/resources/app/src/application-delegate.js:311:53)
    at emitThree (events.js:136:13)
    at EventEmitter.emit (events.js:217:7)

Commands
     -9:13.1.0 core:save-as (ul.list-inline.tab-bar.inset-panel)
     -7:52.8.0 fountain:export-PDF (ul.list-inline.tab-bar.inset-panel)
     -1:48.5.0 core:backspace (input.hidden-input)
     -1:43.7.0 core:save (input.hidden-input)
     -0:33.3.0 fountain:preview (div.pdf-view)

Non-Core Packages
fountain 0.8.1
pdf-view 0.71.0

I haven't been able to recreate this with 1.31.2 x64 with Linux Mint 18.3. Does it happen every time you follow those steps, or only sometimes?

@jrbostic The existential operator is a coffeescript bit of syntactic sugar for dealing with Javascript's multiple kinds of "not ready to use" variable.

@superlou Sure.  But the additional cases that this would catch and return truthy for would probably not be appropriate.  I'm not saying that this is definitely a problem in this case, but it is the only relevant piece of retrieval code that could cause the error described... If I read it right.  Based on what I just read the only case this usage would return falsey for is if the variable didn't exist at all.

Got this same error on Windows 10 when attempting to export PDF.  PDF previews fine in editor.
[Enter steps to reproduce:]

...
...

Atom: 1.33.0 x64
Electron: 2.0.11
OS: Microsoft Windows 10 Pro
Thrown From: fountain package 0.8.1
Stack Trace
Uncaught TypeError: Cannot read property 'getGrammar' of undefined
At C:\Users\[redacted]\.atom\packages\fountain\lib\fountain.coffee:227

TypeError: Cannot read property 'getGrammar' of undefined
    at Object.pdfExport (/packages/fountain/lib/fountain.coffee:227:25)
    at /packages/fountain/lib/fountain.coffee:167:34)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:11:349858)
    at Object.didConfirmSelection (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:11:693551)
    at SelectListView.confirmSelection (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:11:858841)
    at SelectListView.didClickItem (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:11:856783)
    at ListItemView.onclick (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:11:855773)
    at ListItemView.didClick (~/AppData/Local/atom/app-1.33.0/resources/app/static/<embedded>:11:859861)

Commands
     -2:52.6.0 core:select-all (input.hidden-input)
     -2:52.1.0 core:paste (input.hidden-input)
     -2:50.2.0 core:save (input.hidden-input)
     -2:47.1.0 command-palette:toggle (input.hidden-input)
     -2:45.8.0 editor:consolidate-selections (input.hidden-input)
     -2:45.8.0 core:cancel (input.hidden-input)
     -2:44 fountain:preview (input.hidden-input)
     -1:31.4.0 command-palette:toggle (div.pdf-view)
     -1:28.3.0 fountain:export-PDF (div.pdf-view)

Non-Core Packages
fountain 0.8.1
pdf-view 0.59.0

Thanks for the update. I'm going to close, and we can reopen or create a new issue if this comes back.


Fix incorrect text on options page

Description of Trailing '#' option had a grammatical error and was duplicated for the Empty Link option.

Pinging @kyleladd -- you seem to be the hero making things happen in this repo.


Downloading incorrect tv shows

Hello!
I went to download the show House as given to me by the suggestions and I looked in transmission and it's downloading
"House of Cards"
"House Rules"
"Barnwood Builders Alamaba Lake House"
"Building Off the Grid Bamboo House"
"House MD"
:P

Hi @DanMossa, what torrent tracker do you use?

When I did this I was using
Rarbg
1337x
Kickasstorrents
PrivateHD


MapID problem?

Hi!
I used mbxmapkit to download map,when i wrote these code
    MBXOfflineMapDownloader *downloader = [MBXOfflineMapDownloader sharedOfflineMapDownloader];     [downloader<EMAIL_ADDRESS>mapRegion:self.mapView.region minimumZ:12 maximumZ:18];
I take exception breakpoint to debug,and break at MBXMapKit.mfile in line 88,when i continue program execution
i get this error in console log:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'pk.eyJ1IjoiaGVkb25nYmluIiwiYSI6ImNpaHEwN2Y1eTA0YTN0cG0yeXhvcGpqN3QifQ.lfyQkuZXBUssjTsUhwi8tQ'
Is my MapID wrong?
I get this from https://www.mapbox.com/studio/account/tokens/

That'll be your access token, not a map id. A vector map id, created with Mapbox Studio, looks like mapbox://styles/heisenbean.somehashhere. You cannot use this with mbxmapkit.
This framework (mbxmapkit) has been deprecated and is no longer supported. Check out the new iOS SDK and this guide for how to get started.


New release, please!

There are very important bugfixes on master that should be released immediately as the bugs they fix are severe.

The next libuv release will happen when it's ready, and right now its not.
There are important bugfixes in the v1.x branch, not master. They are important, yes, but not urgent. There is a difference.
You can of course disagree.

I don't see what's so difficult about creating a new point release in the interim.
I understand it may not seem important to some members of the libuv team, but please understand that the thousand or so users of slap-editor/slap are forced to run Node v0.10 (!) because of this unfixed bug.

To reiterate, NodeJS 0.11+ is utterly broken on OSX as the event loop gets blocked. Please release.

See #384


Fix MarshallAs issue with raylib structs

There are issues getting unmanaged arrays with a fixed size to work in C#. I have had errors with using LoadShader throwing error "Method's type signature is not PInvoke compatible".
I am not sure what I am doing wrong.
Here are the structs using MarshallAs currently and the array from C.

Mesh unsigned int vboId[7];
Shader int locs[MAX_SHADER_LOCATIONS];
Material MaterialMap maps[MAX_MATERIAL_MAPS];

Maybe those arrays should be defined as just pointers and allocated by LoadMesh(), LoadShader(), LoadMaterial()?

I had similar issue with Font and CharInfo that I solved with IntPtr. However they were pointers not fixed arrays.
I tried changing the Shader to use IntPt but it crashes with a "System.AccessViolationException".
This is the Marshall code im using for the Shader. Tested with LoadShader.
[MarshalAs(UnmanagedType.ByValArray, SizeConst = Raylib.MAX_SHADER_LOCATIONS)]
public int[] locs;

Where Raylib.MAX_SHADER_LOCATIONS is a constant equal to 32.

Update, after looking at the different options it seems you cannot Marshall fixed size arrays without using the fixed keyword. This requires this library and any that use it to be compiled as unsafe. For now it will use this instead.
I will keep this issue open for now in case a better solution is found in the future.

@ChrisDill Why not just compile the library with unsafe?
With .Net Core I believe you can use Span and its variants to handle this issue without fixed.  But don't quote me on that.

At the moment it is compiled as unsafe. I may keep it like that. I have tested using Span properties that use the IntPtr for mesh vertices, texcoords etc. Not sure if I prefer that.


Prevent invalid signed JWT expiration upon login

If the backend and the bot/BDK do not have their clocks synced, the
signed JWT generated to authenticate could be considered as invalid
because the expiration is considered to be more then 5 minutes by the
backend.
We use 4 minutes instead to accommodate that.
Given we create a new token for each authentication attempt this should
be fine to use less than 5 minutes (we expect the signed JWT to be used
quickly).

In the Python BDK it is already using a smaller value than 5 minutes


ESP8266 ChipInfo ChipID and FlashID

With espduino library, how do I get the values of ChipID, FlashID and other hardware related data? This is useful to assign station id and some other scenarios.
Something similar to https://github.com/nodemcu/nodemcu-firmware/wiki/nodemcu_api_en#nodechipid

Any progress on this?


Sort improve

Related #245
Changes:

Add to_vec function to MergeSortSlices, this makes iterator reuseable.
Add buffer_from_range  to Index trait
Fix some bad codes in benches.
Change cmp(a,b).reverse() to cmp(b,a)

Seems #![feature(step_trait)] is not acceptable.

The only way currently I can find to reduce hot path from_usize().unwrap()  is to add a method buffer_from_range  in trait Index.

I can see that there is some limitations with stable Rust wrt to the ranges and indices. I will take a stab at addressing this here, to see if we can get the remaining performance out of this without the from_usize around.

I think that https://github.com/jorgecarleitao/arrow2/pull/247 addresses the limitations; could you take a look and see what do you think?

I have also created https://users.rust-lang.org/t/idiomatic-way-to-populate-vector-from-branched-loop/63152 to see if we get good ideas.

Update:
Add   shrink_to_fit() to fix #249

I think that #247 addresses the limitations; could you take a look and see what do you think?

Ok, I'll take look at that.

I will go ahead and merge this, and clear up the API in a follow-up PR. Thanks a lot, @sundy-li !


fix gh and ask apps

@belisarius222 have you checked to see if these fixes allow for exploration of one's GitHub repo issues as is exemplified in arvo docs' API.md? Initial testing on my end suggests more fixing is needed, but I'll be testing more thoroughly tomorrow morning.

@mattlevan I did not check that, so I wouldn't be too surprised if there's a bug. This PR is dead, though. Its commits have already been merged into master.

@belisarius222 Ah ok, I assume those fixes were included in the sec-fixes branch merged in urbit/arvo#443?

Yes, that's correct.
On Sun, Oct 29, 2017 at 1:27 PM, Matthew Levan<EMAIL_ADDRESS>wrote:

@belisarius222 https://github.com/belisarius222 Ah ok, I assume those
fixes were included in the sec-fixes branch merged in urbit/arvo#443
https://github.com/urbit/arvo/pull/443?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/pull/441#issuecomment-340291549, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA1Y9apvqFLmE1D8DFKljZa6ko2XoYlLks5sxN_KgaJpZM4QBERM
.