feat(Algebra): additive n-torsion subgroups

For an AddCommGroup A and an integer n,

Define AddSubgroup.torsionBy A n using Submodule.torsionBy;
Define a scoped notation A[n].

Additionally, for a natural number n,

Equip A[n] with a ZMod n-module structure.

Something I'm not sure about: is there a better alternative to notation:max in the following line?
scoped notation:max A"["n"]" => torsionBy A n

I've made a small change to the definition so now the def and notation take an integer n. Since the definition is currently tagged as reducible, lemmas on Submodule.torsionBy carry over. There are three lemmas for natural numbers n.
A trade-off of this low-effort approach is that there is no multiplicative version for CommGroup.

Thanks!
bors merge

The problem seems to be that nsmul_eq_smul_cast is now deprecated, so this now needs to be changed. @wupr please feel free to fix this up and then merge.
bors d+

@wupr Could you please fix up the PR and merge it?

bors r+

bors r+


Report rules in sorted order

Resolves https://github.com/grafana/dashboard-linter/issues/39.
The fix involves sorting the rules by name and then using this order to iterate over the rules and their associated results. The sorting for the results is already taken care of by ByRule().
I didn't add any tests because the addition is comparable to the sorting being done in ByRule() for which there are no tests.
Please let me know if you have any questions or any changes to suggest.

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


Board Review: Azure.Core .NET

Contacts and Timeline

Responsible service team: Azure SDK .NET Team
Main contacts: @annelo-msft @christothes @JoshLove-msft
Expected code complete date: 5/31
Expected release date: 6/2

About the client library

Name of the client library: Azure.Core
Languages for this review: .NET

APIView Links:

Client Certificate Auth
Remove extraction of failure content for RequestFailedException

Champion Scenarios:
For custom error creation scenario - see the PR https://github.com/Azure/azure-sdk-for-net/pull/28466
For the client certificate auth - see the Issue https://github.com/Azure/azure-sdk-for-net/issues/28640

Recording (MS INTERNAL ONLY - starts at 30:30)


Specialized / Pre-compiled / Prepared ScalarUDFs

Is your feature request related to a problem or challenge?
Currently, scalar UDF functions can not be "specialized"
SELECT * FROM t where my_matcher(t.column, '[a-z].*');

What happens is that the regexp string '[a-z].*' gets passed as a literal expression to each invocation of the function, then you have to compile the regex again and again for every batch you process through the UDF.
Since it is expensive to compile these RegExps, it would be nice if there was something that could compile the RegExp once per plan rather than once per batch
Describe the solution you'd like
No response
Describe alternatives you've considered
See comments below
Additional context
Suggested by @thinkharderdev  on https://github.com/apache/arrow-datafusion/issues/8045#issuecomment-1793267211

@thinkharderdev  suggests
it would be useful to be able to serialize constant parameters into the user-defined scalar function themselves rather than pass them in as expressions. So for instance if you had to create a UDF to do something with a regex that you have as a static constant. Currently the way to do that is pass it as a literal expression. But then you have to compile the regex again for every batch you process through the UDF. Ideally you could have something like:

struct MyRegexUdf {
  regex: Regex
}

impl ScalarFunction for MyRegexUdf {
  // use regex on each value somehow
}

The regex would only need to be compiled once during deserialization (or construction) instead of once for each batch.

One way to achieve this might be a PhysicalOptimizerRule that replaces relevant instances of ScalarFunctionExpr.
However this is likely somewhat awkward to write and is not clear that these expressions would serialize well (as serialization matches a name to an expr). It is probably possible to do this during derialization with the PhysicalExtensionCodec

@2010YOUY01  noted that in order to use the same APIs for built in functions and ScalarUDFs we will need to have some way to handle:

Figure out the interface to let core pass information to function definitions (e.g. now() requires to be passed query start time from core)

This sounds very similar to this method
Maybe we could add a prepare(ctx: &TaskContext) type method on ScalarUDF 🤔  that can potentially return a new version of the function to invoke

I think the trick here will be to ensure we can still serialize such "precompiled" functions
What I was thinking was maybe we can make a new PhysicalExpr that is like
/// A function that is "precompiled" in some way
/// for example, for a regular expression that has a constant argument
/// constant can be pre-compiled into a Regexpr match instance once per query
/// rather than once per batch
///
/// Somtimes precompiling make it hard/impossible to serialize the function again (e.g. the prepared regular expressions)
/// so this structure contains the original PhysicalExpr that can be used to serialize the function
struct PrecompiledExpr {
  precompiled: Arc<dyn PhysicalExpr>,
  original: Arc<dyn PhysicalExpr>
}

That seems a bit heavy handed? Why not simply augment the scalar function expr node with an interior mutable "cache" cell, that is invisible to serialization? The cell can be automatically populated as needed by the function implementation upon node instantiation/deserialization.

That seems a bit heavy handed? Why not simply augment the scalar function expr node with an interior mutable "cache" cell, that is invisible to serialization? The cell can be automatically populated as needed by the function implementation upon node instantiation/deserialization.

@sadboy  that is a (really) good idea

That seems a bit heavy handed? Why not simply augment the scalar function expr node with an interior mutable "cache" cell, that is invisible to serialization? The cell can be automatically populated as needed by the function implementation upon node instantiation/deserialization.

@sadboy that is a (really) good idea

BTW I thought more about this and one challenge is that currently the scalar function implementations that are passed around may be shared -- so using interior mutability would get confusing as each function invocation would be from the same instance of the function

the scalar function implementations that are passed around may be shared -- so using interior mutability would get confusing as each function invocation would be from the same instance of the function

Hmm, not sure I'm following? I was thinking of the ScalarFunctionExpr physical node (https://docs.rs/datafusion-physical-expr/34.0.0/src/datafusion_physical_expr/scalar_function.rs.html#51), e.g. adding something like
pub struct ScalarFunctionExpr {
[...]
    args: Vec<Arc<dyn PhysicalExpr>>,
    prepared_args: OnceCell<Vec<Box<dyn PreparedArgs>>>,
[...]
}

where prepared_args is populated by the return value of calling ScalarFunction::prepare on the set of physical args. The function implementation objects themselves do not need to mutate -- they only need to provide an optional implementation of ScalarFunction::prepare method if they wish to pre-process the arguments. prepared_args is purely an optimization construct, it should have no effect on the semantics of ScalarFunctionExpr -- the node should compute the exact same result whether or not prepared_args is populated. This way, any part of the system (e.g. Serialize, Clone, etc.) is always free to simply drop it without affecting correctness.

BTW my hope it to prototype how this would work (as a ScalarUDF) by building on top of https://github.com/apache/arrow-datafusion/pull/8578
It would be pretty rad

BTW now that @jayzhan211  and I  have implemented ScalarUDF::simplify in https://github.com/apache/arrow-datafusion/pull/9298 and we have ported the regular_expression functions to use ScalarUDF,  I think we could actually use that API to implement precompiled functions
Note sure if that would meet your requirements @thinkharderdev
For example, to implement "precompiled regexp functions" we could do something like this (would be sweet if someone wanted to prototype this):
/// A new UDF that has a precompiled pattern
impl PrecompiledRegexpReplace {
  precompiled_match: Arc<Pattern>
}

impl ScalarUDFImpl for PrecompiledRegexpReplace  {
   // invoke function uses `self.precompiled_match` directly
...
}

// Update the existing RegexpReplace function to implement `simplify`
impl ScalarUDFImpl for RegexpReplace  {

  /// if the pattern argument is a scalar, rewrite the function to a new scalar UDF that
  /// contains a pre-compiled regular-expression
  fn simplify(&self) .. {
    match (args[1], args[2]) {
       (ScalarValue::Utf8(pattern), ScalarValue::Utf8(flags)) => {
         let pattern = // create regexp match
         SImplified::Rewritten(ScalarUdf::new(PrecompiledRegexpMatch { precompiled } )))
          .call(args)
       },
      _ => Simplified::Original(args)
  }
}

We could then run some gnarly regular expression case, such as what is found on https://github.com/apache/arrow-datafusion/issues/8492 and see if it helps or not.
If it doesn't help performance, then the extra complexity isn't worth it for regexp_replace

Note sure if that would meet your requirements @thinkharderdev

Yeah, although I was mainly using regexes as an example originally. Our particular issues are with some UDFs we have implemented that require some hilarious hacks to pass state as expressions.
But the idea does seem good to me.

FYI there is another discussion about this here: https://github.com/apache/datafusion/issues/11146

After https://github.com/apache/datafusion/issues/9289, it would be good to recap what's tbd in this issue.

It looks somebody needs to prototype what @alamb suggested in
https://github.com/apache/datafusion/issues/8051#issuecomment-1979747257
I believe there is small change, some args will be used to create pattern so they should be removed from passing them down to result expression
match (args[1], args[2]) {
     (ScalarValue::Utf8(pattern), ScalarValue::Utf8(flags)) => {
       let pattern = // create regexp match, probably from  args[1], and arg[2]
       let new_args = vec![args[0]]
       SImplified::Rewritten(ScalarUdf::new(PrecompiledRegexpMatch { precompiled } )))
        .call(new_args)
},

The only downside I see is that the "state" is not going to be serialised if it has to be distributed in systems like ballista. It would make sense to have generic "serialise to physical plan" at some point,  it would help with distributing something like python udfs but, thats probably different discussion.
also note: https://github.com/apache/datafusion/pull/12270

The only downside I see is that the "state" is not going to be serialised if it has to be distributed in systems like ballista.

That's because we don't use expressions.
What about using simplify all the way down? The PrecompiledRegexpMatch could get dumped as a bytes buffer (varbinary) into an expression and then cast back to PrecompiledRegexpMatch. This will work as long as it's a flat structure. It won't work when it's something that has pointers internally and requires actual serialization.
Alternatively, we can avoid all this complexity -- at the cost of different complexity, but conceptually simpler.
Let's imagine ScalarUDF invoke gets an option to create a thread local scratch space that it can reuse on all invocations. That would make reusing compiled pattern easier without having to serialize it in the plan.
The downside would be that the implementation would need to explicitly check whether the pattern is the same on every invocation (equality check once per batch).

Sorry but I'm not sure I understand why do you need  thread local storage.
What @alamb proposed will work with datafusion execution, no need for any other state handling, state is in the struct's property, which will be re-used for each and every batch this function participate, PrecompiledRegexpMatch will be "specialised" for a given logical plan.
Or to put it in a different way, if there is no need to serialise your plan to be distributed, like with ballista, I believe proposed solution totally make sense.
Do you have use-case where you need to distribute function expression to different executors, like ballista ?

I am not using ballista currently. I realized the plan serialization concern is easy to address if we separate simplify into phases: the Expr-constraint simplify (e.g. pruning args known to be null, etc) that would be run during plan optimization phase. And then, local execution simplify which allows a function to "compile itself" into most optimal form, without any needs for serialization anymore. Ballista would need to serialize and distribute the plans in between these phases.
BTW we focused so far on compiling regular expressions, but we didn't think about memory needs for their execution.
Internally regex::Regex::is_match uses a synchronized pool of "caches" (regex execution scratch space) underneath. I don't know if this is a perf problem (probably not!), but let me use this as an example. It would probably be good if at runtime a scalar could have its own thread local "scratch space" / "local buffer". And without having to use thread locals which aren't great if DF is embedded and doesn't control thread creation.
Why am I mentioning this? I thought that maybe if we had "scratch space" / "local buffer" support, we wouldn't have need to "compile functions" during planning.

Copying a comment from https://github.com/apache/datafusion/pull/13290
Yes, I was thinking something like
trait ScalarUDFImpl {
  /// prepares to run the function, returning any state (such as
  /// a precompiled regex). Called once per instance of function in the query
  fn prepare(&self, args: &ScalarFunctionArgs) -> Option<Box<dyn Any>> { None }

  /// `prepared` field in ScalarFunctonArgs has the result of calling `prepare`
  fn invoke_with_args(&self, args: &ScalarFunctionArgs) -> ...

pub struct ScalarFunctionArgs<'a> {
  ...
  /// The result from a call to `prepare` for this function instance
  prepared: Option<Box<dyn Any>>,
}


Fix a typo in GETTING_STARTED.md

Signed-off-by: Randy Barlow<EMAIL_ADDRESS>

By the way, you can include [skip ci] in your commit message to skip running the test suite for documentation-only changes.


Add Half-Time result to last games

Currently "Letzte Spiele" box is only showing the end result, we should show the half-time result as well.
Pattern: 0-0 (0-0) First part is the end result, part in brackets is the half-time result.
Result can be taken from MatchResults in API call (similar to the end result).

I can fix this


Fixed search glitch on datatypeselecter.vue

Problem: datatype update events not properly propagated to datatypetag element
Solution: removed use of datatypetag

If there is a bug, I think it's most likely the vue-select's bug, not vue.
So vue-select is using array index as a key..
 <li v-for="(option, index) in filteredOptions" v-bind:key="index"

This means vue can't tell if the first element is modified underneath.. and probably not firing updates on computed properties.  I will have a look.

I fixed issue #169 in this PR

removed computed properties from datatypetag. Closing this PR without merging.


fix(preset-attributify): Some characters in code comments cause abnormal parsing results

close: #3847
Maybe he can't solve some special scenarios, but he can reduce some of the scenarios where problems occur.

Closed this as completed in https://github.com/unocss/unocss/pull/4325


Focus score

Focus score does not seem to be changing from 0, no matter what the candidate texts are.
It seems like it never runs this:
  score.append(1.0 /                         (1.0 + math.exp(-sim + 7)))                     # score.append(1.0 /  (1.0 + math.exp(-doc1.similarity(doc2) + 7)))
When trying to run on its own, I get the error: 'SpacySimilarityHook' object has no attribute 'similarity'

Maybe it is the package version problem? Can you try using the package version from the requirement.txt?

The error occurs because the SimilarityHook function returns a SpacySimilarityHook object. It should return a doc object. SpacySimilarityHook needs to be initialized first and then called. I guess the code in compute_sentence_similarity() should be:
nlp = spacy.load('en_core_web_md')

similarity_hook = WMD.SpacySimilarityHook(nlp)

@Language.component("simhook")
def SimilarityHook(doc):
    return similarity_hook(doc)

nlp.add_pipe('simhook', last=True)


Not running javascript when using proxy

i am using scrapy_splash to crawl pages that requires js to retrieve proper content.
Everything is fine when I use SplashRequest without proxy settings, but when I put in proxy settings, the javascript would not render, giving me prejavascript html content which do not have the data I need.
Does anyone know how to solve this? I am sure the proxy ip are not blacklisted.

@cooldar how are you setting up the proxy?

nevermind, i think I figured it out. The proxy is really slow, had to set max wait time 10 sec for it to work most of the time.

thanks tho!! appreciate your help

I'm glad you've solved it!


Would be an awesome music learning tool with keys labeled

This is a feature request. Although it should be quite simply, js is not my native language to do it myself :/

hmmm, you should(have) known,that the piano is not normal. It's keys are wrong. Normal piano has 88 keys,however this only has 80keys....


Git version on Windows not as expected with GfW

I've used double quotes, single quotes, no quotes.  All were still wrong.  Even copy/pasted the exact code from the guide still didn't work.
Using Windows if that matters.

Can you try running git --version in your terminal to see what it returns?

Version 1.9.5.github.0

Interesting, it expects the returned value to be structured like git version 2.4.3.
How did you install your Git?

I used the GitHub for Windows application.

Oh, interesting, I didn't know it would do that. You should be able to continue on with the rest of the challenges and I will look into also supporting this alternative version output.

There is a new version of the desktop app, I wonder if updating to that helps?

I still get the same thing.  I will try on my desktop sometime next week to see if it will work there.


Add Imgur API for automatically uploading images (links only in chat)

If people want to share screenshots currently, they have to upload them somewhere and share the links.
We can give our chat input the functionality so people can paste their screenshots (copied to clipboard) and it will upload them to imgur using the Imgur API.
Then we can just show the image URL in the chat list instead of the image, which keeps the chat cleaner to, and makes it really easy to share images.

I don't want to hook into Imgur api


fix: use -isystem instead of -I

This is particularly important for static analysis tools that will treat -isystem differently than -I values.

https://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html


Disk Info Inconstant

Per here (https://azure.microsoft.com/en-ca/updates/site-recovery-large-disks-8tb/) 8TB is now supported, in the "Resolve Common Issues" section, it states disks need to be smaller than 4 TB?.

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

ID: 101f1927-9428-20c5-06d0-ccc48bad912c
Version Independent ID: 6c23efba-9fab-8161-7885-dbddb7e737b2
Content: Enable VMware VMs for disaster recovery using Azure Site Recovery - Azure Site Recovery
Content Source: articles/site-recovery/vmware-azure-enable-replication.md
Service: site-recovery
GitHub Login: @Rajeswari-Mamilla
Microsoft Alias: ramamill

@skalingclouds ,  Thanks for raising the issue.We will investigate the issue and update you.

@Rajeswari-Mamilla For visibility.

Fixed, disks support info now in a single place in the support matrix. Fix should check in later today.
#please-close


secret cannot be empty

http://explorer.testnet.grid.tf/api/v1/reservations/workloads/512436
http://explorer.testnet.grid.tf/api/v1/reservations/workloads/512477
while the trc secret is clearly passed in the reservation as shown in the screenshot

caused because of https://github.com/threefoldtech/tfgateway/issues/35

Can u please send me the version of this gateway by running tfgateway -v ?

Can u please send me the version of this gateway by running tfgateway -v ?

Already fixed

Already fixed


Error #3003: File or directory does not exist.

Running from 0.6-beta, right after apm init in an empty directory.
$ ~/Documents/github/apm/client/out/apm -l debug generate app-descriptor
D::Log::setLogLevel( debug )
D::RunConfig::loadEnvironment()
D::ProcessQueue::checkAndStartNextProcess(): 3
D::LoadMacOSEnvironmentVariablesProcess::start()
D::LoadMacOSEnvironmentVariablesProcess::Process exited with: 0
D::ProcessQueue::process_eventHandler( process_complete )
D::ProcessQueue::checkAndStartNextProcess(): 2
D::LoadProjectDefinitionProcess::start()
D::LoadProjectDefinitionProcess::found project file - loading ...
D::ProcessQueue::process_eventHandler( process_complete )
D::ProcessQueue::checkAndStartNextProcess(): 1
D::LoadUserSettingsProcess::start()
D::ProcessQueue::process_eventHandler( process_complete )
D::ProcessQueue::checkAndStartNextProcess(): 0
D::GenerateAppDescriptorCommand::execute(): ...

D::ProcessQueue::checkAndStartNextProcess(): 4
D::ProcessQueue::checkAndStartNextProcess(): 2
D::ProcessQueue::process_eventHandler( process_complete )
D::ProcessQueue::checkAndStartNextProcess(): 1
Android package name: air.com.my.app
⣾ Android manifest merging
D::AndroidManifestMergeDependencyCheckProcess::Retrieving path to java installation...
⣻ Android manifest merging
✓ Android manifest merge
D::ProcessQueue::process_eventHandler( process_complete )
D::ProcessQueue::checkAndStartNextProcess(): 0
D::ProcessQueue::process_eventHandler( process_complete )
D::ProcessQueue::checkAndStartNextProcess(): 3
⢿ iOS additions merging
✓ iOS additions merge complete
D::ProcessQueue::process_eventHandler( process_complete )
D::ProcessQueue::checkAndStartNextProcess(): 2
⡿ iOS entitlements merging
✓ iOS entitlements merge complete
D::ProcessQueue::process_eventHandler( process_complete )
D::ProcessQueue::checkAndStartNextProcess(): 1
✗ Error: Error #3003: File or directory does not exist.
D::ProcessQueue::process_eventHandler( process_failed )
generate/app-descriptor :: Error #3003: File or directory does not exist.

On a more general note, the code that reports the failure should probably display the error stacktrack when logLevel is debug.

Yeah I'm working on this right now. It's looking for the apm_packages directory but there isn't one as none are installed.

Should be resolved in develop now.

Yes, solved.


Fix twitter handle for Brandon Philips...

Thanks for the PR, but these are GH handles, not Twitter handles

Ahh, oops. Sorry!
On 18 May 2015 at 19:30, Jonathan Boulle<EMAIL_ADDRESS>wrote:

Thanks for the PR, but these are GH handles, not Twitter handles
—
Reply to this email directly or view it on GitHub
https://github.com/appc/spec/pull/409#issuecomment-103162822.


Rework locks

Move locks to a new module
Deduplicate implementation
Reimplement critical_section in terms of Lock
Make Lock reentrant by default

This change should prevent multi-core apps spinning in interrupt-free context if the other core is holding the global lock.
It's hardly a stress test, but I've ran the multicore examples on an ESP32 and they worked as expected.

Fun fact: this PR came 2 days before #797 turned one year old :D

Fun fact: this PR came 2 days before https://github.com/esp-rs/esp-hal/pull/797 turned one year old :D

I expect you to mark this occasion in your calendar for next year too :D

One final thing to consider before merging, what about naming the lock module sync instead?

It's private, we can deal with this later, when we're fixing the fallout from this 🤣


Sticky Classes aren't toggling properly if scrolltop not 0 on anchor load.

I'm using this library in part due to the sticky class toggling (as well as for the polyfill). Although I've ran into some issues for when the class is added or removed.
If the scroll position is not at 0 on pageload, the sticky classes don't get added properly. for instance, if the page loads on an anchor (id hash), the script thinks that's where the page head is. ( you scroll up and the stickyclass is added, but you scroll down to that anchor point, and the stickyclass is removed).
Likewise, if you scroll down a little ways, and reload (without a url hash), the stickyclass is always present, and never removed.
Here's my bin, blue header background is not sticky, purple background is sticky.
http://jsbin.com/rejuramuku/1/edit?html,css,console,output
You will have to view the bin without the editor in order to refresh with an anchor hash url. http://jsbin.com/rejuramuku/

It seems that this issue was already posted. Sorry about that. Feel free to delete.

Thank you for being able to reproduce in isolated test case, I was not able to reproduce in plunkr

I will try to address some of the issues in Stickybits ASAP.
Thanks for the note @Jakob-Maudience!

@here adding more tests to address issues. Hopefully by Wednesday!

My quickfix solution for this that works my end.
var acquire = (function () {

    var fn = {};

    fn.addEvent = function(object, type, callback) {
        if (object == null || typeof(object) == 'undefined') return;
        if (object.addEventListener) {
            object.addEventListener(type, callback, false);
        } else if (object.attachEvent) {
            object.attachEvent("on" + type, callback);
        } else {
            object["on"+type] = callback;
        }
    };

    fn.offset = function(evt) {
        var scroll = evt.target.body.scrollTop;
        return scroll;
    };
    return fn;

})();

From here, just init as follows:
acquire.addEvent(window, 'scroll', function(event){
   if (acquire.offset(event) <= 0) {
       stickybits('#sticky-element').cleanup();
   } else {
        stickybits('#sticky-element', {
            stickyBitStickyOffset: -1,
            useStickyClasses: true
        });
    }
}, true);

Hope this helps!

@panoply Thank you! I'll review what you've done ASAP. 🙏

I think that my problem is related to this thread: when opening page with an anchor (not at top 0) sticky class is not applied (earlier version 2.0.13 was applying it). Then when page is scrolled the class is applied, but then when page is at "top 0" it isn't removed, that is what i need

It is because the initial calculation starts directly and just works when we start from the top. Scrolling and loading takes a while the autoatic scrolling is happening.

Same for websites where we do not use an anchor but a scroll position (simple F5 reload). We may have to investigate this further and write some unit tests to catch this.

@DanielRuf I think events can be used to support some of this issue.

@yowainwright Yeah, I think is is something that should be fixed because it's somewhat a bug. A lot of people do a F5 refresh (or CMD+R) and when they scroll to something, the browser tries to keep at this scroll position after reload. I don't know the real logic browser specifics behind all this, but even so it's something that should be "normalized" or fixed to work with all ways.

Might to do with the state (document.readystate).

Maybe this? https://stackoverflow.com/questions/15355839/how-to-let-the-chrome-forget-the-page-scroll-position

@DanielRuf @steveooo9 Hey! 🙂
I don't think that the Stickybits feature/update that we'll make (soon btw 🎸) should support various things that "might" happen to change a Stickbits instance's state. I think Stickybits should provide a way that the implementer can control when their implementation of Stickybits needs an adjustment its state. The reason that I think this is that the issue described can happen in not just doc ready or a url change. It could happen with a  window resize and many more things.
...So, if Stickybits can provide a hook to update/change a Stickybits instance's state based an event (probably an event) or method than that can provide a way for the implementer to manage when a Stickybits instance's state needs to be updated and not just us guessing when might be a good time to update a Stickybits instance's state.

@yowainwright Yeah, I partially agree with that.
But it still should work and mostly be bug-free.
Currently when on the Stickybits website and you scroll some time and reload, the "is Stuck! 🔥" is buggy. So this is something that should be addressed (I think).
So maybe Stickybits catches all this changes and gives a public update() method. Maybe this is enough, so we could say when to trigger update to make stickybits work in the new environment (new scroll position, etc.)).
But why not include some simple event listener that catches window resizes, scroll and reloads?

@steveooo9 if you have a fix for this issue, please submit a pull request. If there is an issue with the landing page, please file an issue and technically document what is wrong with browser, logs, gifs, OS, etc.

@yowainwright No, I didn't fix this. I upload a video of the buggy behavior which probably is the same bug as in this task.

Can someone post this issue on flems – I cannot seem to recreate it in my environment locally. I had this issue in the past and managed to fix it.

@panoply I'll be working on the actual issue soon—hopefully. If someone can post the on flems, though—that would be cool.

Any progress? It's really annoying :/

@Daidalos117 the sentence, ”It’s really annoying” is inappropriate because it is negative in context and doesn’t help the Stickbits community.
There is nothing stopping you for digging into the code and seeing that a fix has been added—which it seems you did not do.

#295 will be wrapped up shortly (next few days). Sorry about the wait.


Add advanced setup guide for iOS

Add a guide on how to setup storybook for iOS as a separate app using build targets (or a better method if available).

Fixed with #28


target not support ES7 in jsconfig.json file

From @welefen on November 20, 2015 5:48
target not support ES7 in jsconfig.json file
Copied from original issue: Microsoft/vscode#311

From @scottaddie on November 21, 2015 2:54
@welefen Not sure if you noticed or not, but there is experimental support for ES7 decorators. In your jsconfig.json file, use the experimentalDecorators option:
{
	"compilerOptions": {
		"target": "ES6",
		"module": "commonjs",
		"experimentalDecorators": true
	}
}

That seems to be all the ES7 support you get at this time.

From @warpdesign on May 5, 2016 9:17
+1
Would love support for ES7 too.
Maybe it has changed since last year and there are new ES7-related options available ?
For example new function bind :: operator would be great.

From @felixfbecker on November 21, 2015 17:45
What about async/await?! See #408

moving this to TypeScript from which VS Code gets TS and JS smartness

Covered by #4692 which is committed but not aligned to a particular Milestone.

note that ES7 (aka ES 2016) is done. decorators, object literal spread rest, SIMD, async functions etc .. is not part of ES7/ES2016.
ES7/ES2016 only has exponentiation operator and array.include. I think what you are look for is ES  Next target. this is tracked by https://github.com/Microsoft/TypeScript/issues/5361


RBAC permissions to upgrade?

This page needs to explain what RBAC permissions are required to upgrade to the Standard tier.
We need to know both which built-in roles have the necessary permissions, and ALSO exactly which RBAC permissions are required as we will most likely need to enable this capability on custom roles.
Thank you!

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

ID: f8e2ed68-8901-d002-a00a-e1d702cc1638
Version Independent ID: 32c32bf8-8492-e8c6-c05f-3b0845b06913
Content: Pricing of Azure Security Center tiers
Content Source: articles/security-center/security-center-pricing.md
Service: security-center
GitHub Login: @memildin
Microsoft Alias: memildin

@jtuliani Thanks for your feedback! We will investigate and update as appropriate.

Hey @jtuliani thank you for your feedback, we're currently looking into this and will try to update the docs accordingly.
cc: @memildin can you please look into this when you can to put this in the docs? Thanks

Investigating. Thanks!

@jtuliani I ran into the exact same question and was able to find the answers from https://docs.microsoft.com/en-us/azure/role-based-access-control/resource-provider-operations#microsoftsecurity and https://docs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles. Owner, Contributor and Security Admin are the roles you are looking for.

Thank you @zhusulai
@FrankHu-MSFT please can we get the doc updated to capture this?

Yes...it sure would be nice to have the required permissions to perform and upgrade to Standard from Basic documented here.  Part of the complexity come from the fact there is a Directory Role called Security Administrator...and that role does not seem to help you at all.  There is a separate Azure RBAC resource role called Security Admin...that can live on a Subscription.   It seems that role is required if I am tracking @zhusulai correctly.    From my perspective, I cannot understand why the Directory Role would not be sufficient.


This is a request for new documentation!

Summary
This is an additive request, there's no specific problem, I encountered. I want to add to our guides for building custom visualizations to help developers get more hands on experience with building Custom Visualizations on the platform. Specifically, these guides will be used in a training as part of New Relic University's offerings.
What type of documentation change are you suggesting?
This will be a New Relic educational guide for building Custom Visualizations.
Motivation
Developers will get more exposure to how they can interact with their users through custom visualizations. I would like to create two guides:

Customizing your custom visualization with New Relic components, specifically <SegmentedControl>
Building off of the #1, adjusting the solution to use the nr1.json configuration block instead of the SegmentedControl component.

Writing the documentation
I have the outline of the lesson worked up in a private github repository and to hopefully help move this forward as quickly as possible, I plan to create the two guides as standalone guides ASAP for review by the team. @jaesius will help me to create a "Custom visualization" subcategory where all three (the two new ones plus the currently available "getting started" guide) can live.

These are the two PRs with the guide content I am proposing:
First guide - Customizing visualizations with New Relic One SDK components
Second guide - Customizing visualizations with nr1.json configuration


Skills Display - This Skill's name is null when learning path has badge1 -> badge2 path

PR: https://github.com/NationalSecurityAgency/skills-service/pull/2302

:+1:


Add media query support to Image

This allows for different aspect ratios and/or images at different breakpoints. Couple use cases:

Design calls for square image of cat at mobile, landscape version of same cat image above the small breakpoint
Design calls for square image of cat at mobile, landscape image of dog above the small breakpoint

Possible API

No aspect ratio

<ImageService image="321">
    ...
</ImageService>

With aspect ratio

<ImageService image={{id: '321', aspectRatio: '1-1'}}>
    ...
</ImageService>

With aspect ratio and media-query

<ImageService
        image={{id: '321', aspectRatio: '1-1'}}
        imageAboveSmall={{id: '789', aspectRatio: '8-3'}}
    >
    ...
</ImageService>

Note that in #3 the HTML output must go from largest to smallest media query.
<picture>
    <source srcset="321.jpg..." media="(min-width: 701px)">
    <source srcset="321.jpg..." media="(min-width: 482px)">
    <source srcset="321.jpg...">
    <img srcset="default.jpg" alt="My default image">
</picture>```

Related: https://github.com/gatsbyjs/gatsby/issues/13164

We just published #13164
Successfully published:
 -<EMAIL_ADDRESS>
You should be able to add an array of fluid/fixed objects to gatsby image with a media property.
To see it in action you can visit https://github.com/gatsbyjs/gatsby/blob/c9ea948f068c3ba0be11adae4570900445be0922/examples/using-gatsby-image/src/components/floating-image.js#L43-L53

Sweet, thanks @wardpeet! We'll definitely be looking at that API for inspiration.


Bug Report: 1.7 Kade Engine Crashes after preload. (Windows)

Hi, I've been having a problem with this for about a week and i couldn't find a solution, can anyone help? Basically every time that i try to load a custom Kade Engine build it crashes after the preload and after checking the problem in debug mode it says 'Null Object Reference'. Any help is appreciated!

Forgot to put this in the post

Found a solution https://github.com/KadeDev/Kade-Engine/issues/2506


Add config to uptake GitHub's native Dependabot with auto-merge action

GitHub's Dependabot configuration reference: https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates
Dependabot Auto Merge GitHub Action (and config): https://github.com/marketplace/actions/dependabot-auto-merge

Coverage remained the same at 60.765% when pulling b5c38c2854d40c7559ec214d8d6cff575a1e65ed on jtschladen:upgrade-dependabot into 28b9a73a83d350b1c7ab71fdd739d64eec5d06aa on Netflix:master.


setup jupyter server

this was made based on an outdated branch a new PR on the collaboration branch is open

Ignore that last comment it was meant for the Jupyter brach.


JsValue gets return value undefined

Hi, I'm facing issues when using this package together with wasm-bindgen and having the return type as JsValue. I've tried loading the same wasm module using webpack without any issues, suggesting that the issue is with how the wasm module is loaded.
Changing the signature to return string fixes the issue...
https://github.com/fredrikjacobson/wasm-jsvalue-undefined contains a reproduction where
yarn dev

and checking the console log yields undefined. Running npm start from ./rust-wasm however will print the correct js object.
I would guess that some part of the glue-code from wasm-bindgen somehow gets removed.
Essentially switching from
// This does not work since the value comes back as undefined...
serde_wasm_bindgen::to_value(&features).map_err(|e| JsError::new(&e.to_string()))

to
serde_json::to_string(&features).map_err(|e| JsError::new(&e.to_string()))

fixes the problem by returning string instead.
Any idea for why I'm facing issue using this plugin vs. webpack?
Thanks

Sorry for coming late. As a workaround, add optimizeDeps: { exclude: ["point-cloud-tools"] } to your Vite config.

Fixed in v3.1.0.


Question about using reseval.create

Hey,
I hope it is ok Im writing here-
While trying to use reseval.create with aws, it seems that the condition:
response['Status'].lower() != 'ready':
is always with the values "lunching" or "terminate" and it just stay on the environment build loop..
there is maybe a reason for that?
thank you,
Roi

Hi Roi! Two few questions:  (1) Have you verified that everything works either locally or with Heroku? Note that the version of Node being used recently changed. I just realized I hadn't updated the README with the new version--that's fixed. (2) Have you checked the AWS elastic beanstalk console for information about the environment? Sometimes there is good debugging info there.

Hey max,
Thanks for the quick response!
I think that the link you attached solved the problem (opening a role with the 3 policies, opening manually the first environment in my Elastic-beanstalk account)
Unfortunately, Im still facing some problems:

firstly I got this problem:

and it seems that adding the policy :  AWSElasticBeanstalkManagedUpdatesCustomerRolePolicy solved it..

-Now I get this kind of problem:

and I'm not sure what next :/ It seems that there is still a problem with the connection to AWS..
Roi

Hey max,
Thanks for the quick response!
I think that the link you attached solved the problem (opening a role with the 3 policies, opening manually the first environment in my Elastic-beanstalk account)
Unfortunately, Im still facing some problems:
While It seems that the environment in AWS is open correctly, I get this kind of messages during the Create process:

Do you have any Idea why it happens?
Thanks again,
Roi

Hi Roi,
There's not enough information for me to tell what's happening yet. Googling that error, some people report a bad version of urllib or openssl can cause that. Another mentioned intermittent internet issues. That stack trace you posted doesn't show any reseval call. If you happen to know what part of creation this occurred during, that might help. And the AWS console may have further information. Lastly, as a matter of security, the IP address used to initialize the server is the one that is expected to also initialize the database and perform any monitoring, deletion, etc. So you might double check that is the case.
As for local/remote/production, remote is default and production is used when the --production flag is added. See this section of the docs.

Hi Max,
Sorry for the late responding and thanks for your comment.
I checked the code again, and it seems that there is a problem with that part:

It appears on /database/aws.py
and this is the error:

Im not sure, maybe it is a proxy problem?
Thank you in advance,
Roi.

Hi,
Change it to: "https://api.seeip.org/jsonip?" solved this problem.

That works for me as well--and it seems to be what seeip.org recommends. Feel free to place a pull request. Otherwise, I'll add that to next release.

I made a new release to fix the other bug you mentioned and rolled this out in the process. Released in version 0.1.1. Thanks again!


hedgewars: use qt514's overridden glibc++

Description of changes
This fixes the linking error.
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@McSinyx You might want to ping someone on the QT team here in Nixpkgs to get this reviewed.  I don't know enough about how the QT stuff works in Nixpkgs to tell whether this fix is correct or not.  Although it does now look like it is compiling, which is a good sign.

This patch also fixes the issue by making the game compile on qt515. Better long term solution?
--- a/QTfrontend/ui/page/pagegamestats.cpp
+++ b/QTfrontend/ui/page/pagegamestats.cpp
@@ -22,6 +22,7 @@
 #include <QGraphicsScene>
 #include <QGroupBox>
 #include <QSizePolicy>
+#include <QPainterPath>

 #include "pagegamestats.h"
 #include "team.h"

@rardiol Nice, if that's the only thing that's needed that would indeed be the preferred solution. :+1: Do you want open a PR?


alignment in internship section changed.

changed the horizontal alignment in the internship section .

Can you share the video regarding changes you have made @vedanshipathak


[ADP-1686] store transactions cbors in the database

[x] create a new Store for CBORs indexed by TxId
[x] test store invariants
[x] modify putTxHistory to populate CBORs store
[x] check performance is not degraded  in benchmark

Comments
benchmark

Issue Number
ADP-1686

As this pull request will add CBOR to user's databases, I would like to double check the serialization format before final approval.

In order to make progress in the meantime, I'm happy to merge everything except

Cardano.Wallet.DB.Store.Wallets.Model
Cardano.Wallet.DB.Store.Wallets.Store

as only the changes to these modules will lead to CBOR being stored in the user database.

CI failed:
   To rerun use: --match "/Cardano.Wallet.Api.Server.Tls/TLS Client Authentication/Deny client with wrong certificate if TLS is enabled/"

Randomized with seed 749745171

bors try

bors r+


Remove spelling terms.

Signed-off-by: Manish Kumar<EMAIL_ADDRESS>Commit Message: Remove spelling terms.
Additional Description: Cleaning tools/spelling/spelling_dictionary.txt which are single-use keywords.
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
Includes a partial fix to #12807

check-format failed:

Format check failed, try apply following patch to fix:
diff --git a/source/server/worker_impl.cc b/source/server/worker_impl.cc
index fa9212d84..f59da83f5 100644
--- a/source/server/worker_impl.cc
+++ b/source/server/worker_impl.cc
@@ -40,8 +40,8 @@ void WorkerImpl::addListener(absl::optional<uint64_t> overridden_listener,
                              Network::ListenerConfig& listener, AddListenerCompletion completion) {
   // All listener additions happen via post. However, we must deal with the case where the listener
   // can not be created on the worker. There is a race condition where 2 processes can successfully
-  // bind to an address, but then fail to listen() with `EADDRINUSE`. During initial startup, we want
-  // to surface this.
+  // bind to an address, but then fail to listen() with `EADDRINUSE`. During initial startup, we
+  // want to surface this.
   dispatcher_->post([this, overridden_listener, &listener, completion]() -> void {
     try {
       handler_->addListener(overridden_listener, listener);

/wait

Fixed check-format.


PermissionDenied error due to metadata folder

My ~/projects/ folder is not a normal directory, as it is technically a hard drive set to automatically mount to that folder on login. I use a main SSD, and a hard-drive for the projects folder to be able to get fast boot times, and a large amount of storage.
Targeting this directory with timetrack results in:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Os { code: 13, kind: PermissionDenied, message: "Permission denied" })', libcore/result.rs:945:5
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1: std::sys_common::backtrace::print
             at libstd/sys_common/backtrace.rs:71
             at libstd/sys_common/backtrace.rs:59
   2: std::panicking::default_hook::{{closure}}
             at libstd/panicking.rs:211
   3: std::panicking::default_hook
             at libstd/panicking.rs:227
   4: std::panicking::rust_panic_with_hook
             at libstd/panicking.rs:511
   5: std::panicking::continue_panic_fmt
             at libstd/panicking.rs:426
   6: rust_begin_unwind
             at libstd/panicking.rs:337
   7: core::panicking::panic_fmt
             at libcore/panicking.rs:92
   8: core::result::unwrap_failed
   9: timetrack::track::<impl timetrack::TimeTracker<'a>>::track
  10: timetrack::main
  11: std::rt::lang_start::{{closure}}
  12: std::panicking::try::do_call
             at libstd/rt.rs:59
             at libstd/panicking.rs:310
  13: __rust_maybe_catch_panic
             at libpanic_unwind/lib.rs:105
  14: std::rt::lang_start_internal
             at libstd/panicking.rs:289
             at libstd/panic.rs:392
             at libstd/rt.rs:58
  15: main
  16: __libc_start_main
  17: _start

In my projects folder, there is a file named lost+found, which is created for EXT4 drives for FS operations (due to a hard drive being mounted there). Changing this directory to a specific project folder results in the program working as expected.
As a feature request, can there be the option to avoid folders with root permission (which seems like a better solution), or maintaining an internal list of folder names to avoid (which seems like a good idea, but I don't know whether this would work in practice).
I run Arch Linux x86_64, updated to latest packages (as of current writing), using the cargo install timetrack version of the application (0.2.5).
Any help would be greatly appreciated!

Thanks for the detailed report. I made a branch permission-denied-#2 which I believe will resolve this issue. Can you pull it down and give it a try?
You can run this branch by cloning the repo, checking out the permission-denied-#2 branch, then running cargo run -- config, cargo run -- track, or just cargo run.
It should silently ignore this error when you run track, to allow it to continue to track other folders you may have configured. But if you run config it should show you the error.

Currently, it still seems like I can't build timetrack - I get this compilation error:
[permission-denied-#2][~/projects/timetrack]$ cargo run --verbose -- track
       Fresh version_check v0.1.4
       Fresh winapi-build v0.1.1
       Fresh cfg-if v0.1.5
       Fresh winapi v0.2.8
       Fresh unicode-xid v0.1.0
       Fresh libc v0.2.43
       Fresh bitflags v0.4.0
       Fresh ucd-util v0.1.1
       Fresh quick-error v1.2.2
       Fresh bytes v0.3.0
       Fresh byteorder v1.2.6
       Fresh same-file v1.0.2
       Fresh rustc-serialize v0.3.24
       Fresh slab v0.1.3
       Fresh unicode-width v0.1.5
       Fresh utf8-ranges v1.0.1
       Fresh bitflags v1.0.3
       Fresh encode_unicode v0.3.2
       Fresh vec_map v0.8.1
       Fresh ansi_term v0.11.0
       Fresh bitflags v0.7.0
       Fresh strsim v0.7.0
       Fresh termcolor v1.0.3
       Fresh log v0.4.3
       Fresh net2 v0.2.33
       Fresh memchr v2.0.2
       Fresh time v0.1.40
       Fresh memchr v1.0.2
       Fresh inotify v0.3.0
       Fresh filetime v0.1.15
       Fresh atty v0.2.11
       Fresh directories v1.0.1
       Fresh nix v0.5.1
       Fresh regex-syntax v0.6.2
       Fresh humantime v1.1.1
       Fresh term v0.5.1
       Fresh walkdir v2.2.0
       Fresh textwrap v0.10.0
       Fresh proc-macro2 v0.4.13
       Fresh log v0.3.9
       Fresh aho-corasick v0.6.8
       Fresh csv v0.15.0
       Fresh serde v1.0.72
       Fresh clap v2.32.0
       Fresh lazy_static v1.1.0
       Fresh kernel32-sys v0.2.2
       Fresh ws2_32-sys v0.2.1
       Fresh quote v0.6.6
       Fresh toml v0.4.6
       Fresh thread_local v0.3.6
       Fresh prettytable-rs v0.7.0
       Fresh miow v0.1.5
       Fresh syn v0.14.8
       Fresh regex v1.0.4
       Fresh mio v0.5.1
       Fresh serde_derive v1.0.72
       Fresh env_logger v0.5.13
       Fresh notify v4.0.4
   Compiling timetrack v0.2.5 (file:///home/shavs/projects/timetrack)
     Running `rustc --crate-name timetrack src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=41b25a061af3674c -C extra-filename=-41b25a061af3674c --out-dir /home/shavs/projects/timetrack/target/debug/deps -C incremental=/home/shavs/projects/timetrack/target/debug/incremental -L dependency=/home/shavs/projects/timetrack/target/debug/deps --extern clap=/home/shavs/projects/timetrack/target/debug/deps/libclap-0a1cef982b608eea.rlib --extern directories=/home/shavs/projects/timetrack/target/debug/deps/libdirectories-fd7857fdd314e50a.rlib --extern env_logger=/home/shavs/projects/timetrack/target/debug/deps/libenv_logger-6eabe9fa1856a452.rlib --extern log=/home/shavs/projects/timetrack/target/debug/deps/liblog-3df402b02e823472.rlib --extern notify=/home/shavs/projects/timetrack/target/debug/deps/libnotify-d21a55077c111772.rlib --extern prettytable=/home/shavs/projects/timetrack/target/debug/deps/libprettytable-27c4c9e64b14091a.rlib --extern serde=/home/shavs/projects/timetrack/target/debug/deps/libserde-07ff9064c8d17151.rlib --extern serde_derive=/home/shavs/projects/timetrack/target/debug/deps/libserde_derive-a3b99743f6e8c9de.so --extern toml=/home/shavs/projects/timetrack/target/debug/deps/libtoml-36b8237e6015e2cb.rlib`
error[E0432]: unresolved import `notify::FsEventWatcher`
 --> src/watcher/mod.rs:5:5
  |
5 | use notify::FsEventWatcher;
  |     ^^^^^^^^^^^^^^^^^^^^^^ no `FsEventWatcher` in the root

warning: unused import: `std::fs`
 --> src/schedule/mod.rs:2:5
  |
2 | use std::fs;
  |     ^^^^^^^
  |
  = note: #[warn(unused_imports)] on by default

warning: unused import: `std::fs::OpenOptions`
 --> src/schedule/mod.rs:3:5
  |
3 | use std::fs::OpenOptions;
  |     ^^^^^^^^^^^^^^^^^^^^

warning: unused import: `std::io::Write`
 --> src/schedule/mod.rs:4:5
  |
4 | use std::io::Write;
  |     ^^^^^^^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0432`.
error: Could not compile `timetrack`.

Caused by:
  process didn't exit successfully: `rustc --crate-name timetrack src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=41b25a061af3674c -C extra-filename=-41b25a061af3674c --out-dir /home/shavs/projects/timetrack/target/debug/deps -C incremental=/home/shavs/projects/timetrack/target/debug/incremental -L dependency=/home/shavs/projects/timetrack/target/debug/deps --extern clap=/home/shavs/projects/timetrack/target/debug/deps/libclap-0a1cef982b608eea.rlib --extern directories=/home/shavs/projects/timetrack/target/debug/deps/libdirectories-fd7857fdd314e50a.rlib --extern env_logger=/home/shavs/projects/timetrack/target/debug/deps/libenv_logger-6eabe9fa1856a452.rlib --extern log=/home/shavs/projects/timetrack/target/debug/deps/liblog-3df402b02e823472.rlib --extern notify=/home/shavs/projects/timetrack/target/debug/deps/libnotify-d21a55077c111772.rlib --extern prettytable=/home/shavs/projects/timetrack/target/debug/deps/libprettytable-27c4c9e64b14091a.rlib --extern serde=/home/shavs/projects/timetrack/target/debug/deps/libserde-07ff9064c8d17151.rlib --extern serde_derive=/home/shavs/projects/timetrack/target/debug/deps/libserde_derive-a3b99743f6e8c9de.so --extern toml=/home/shavs/projects/timetrack/target/debug/deps/libtoml-36b8237e6015e2cb.rlib` (exit code: 101)

It seems as though it can't use FsEventWatcher, which is odd, as I thought running cargo run or cargo build would bring down any missing dependencies? This was after running cargo run -- track, then adding the --verbose flag afterwards to get a bigger chunk of debug.

Ah sorry about that. In the pull request I was imporing FsEventWatcher which is macOS only. Travis reported the same error you did, I just didn't see it.
I've corrected that now. Can you try again?


Describe the bug
the following code from the example is throwing an assertion error
return ThemeBuilder(
        defaultThemeMode: ThemeMode.system,
        darkTheme: ThemeData(
          brightness: Brightness.dark, // <= this line is error
          colorScheme: ColorScheme.fromSwatch().copyWith(
            secondary: Colors.yellow[700], // Your accent color
            background: Colors.blue[700],
          ),
        ),
        lightTheme: ThemeData(
          brightness: Brightness.light, // <= this line is error
          colorScheme: ColorScheme.fromSwatch()
              .copyWith(
                secondary: kcPrimaryColorDark, // Your accent color
              )
              .copyWith(background: kcBackgroundColor),
        ),

exception
_AssertionError ('package:flutter/src/material/theme_data.dart': Failed assertion: line 459 pos 12: 'colorScheme?.brightness == null || brightness == null || colorScheme!.brightness == brightness': is not true.)

To reproduce
using the stake theme example code wrapping the MaterialApp
Expected behavior
no exception
Screenshots

Additional Context
No response

Hi @chrisvidal, I updated stacked_theme package, please try the new release 0.3.12 and let me know if your issue is resolved.

confirmed, thanks


Is it possible to specify capabilities and keychain access-sharing in Package.swift

Description
Is it possible to specify capabilities and keychain access-sharing flags in a Package.swift file?
Based on my reading of the documentation these are both things configured in XCode but none of those configuration options appear available in XCode for projects create with swift package init.
Maybe I am just misunderstanding where those options are found for these kinds of projects?
Thanks,
Expected behavior
No response
Actual behavior
No response
Steps to reproduce
No response
Swift Package Manager version/commit hash
No response
Swift & OS version (output of swift --version && uname -a)
No response

It is not currently possible to configure capabilities or entitlements in a Swift package. I believe typically people configure these in the ultimate app that they are building and packages just document that a certain capability is required to use their library.

Okay, thanks.


[MINOR][Documentation] Fix some minor descriptions in functions consistently with expressions

What changes were proposed in this pull request?
This PR proposes to improve documentation and fix some descriptions equivalent to several minor fixes identified in https://github.com/apache/spark/pull/15677
Also, this suggests to change Note: and NOTE: to .. note:: consistently with the others which marks up pretty.
How was this patch tested?
Jenkins tests and manually.
For PySpark, Note: and NOTE: to .. note:: make the document as below:
From

To

It seems something wrongly gone in my local so I can't run cran-check in my local. Please let me run this via Jenkins.

Please let me cc @felixcheung and @srowen though if you don't mind.

Oh, actually, it seems I should fix the ones in functions.scala too.

Test build #68124 has started for PR 15765 at commit c8fafbe.

Test build #68124 has finished for PR 15765 at commit c8fafbe.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68124/
Test FAILed.

Test build #68125 has started for PR 15765 at commit 4d8e829.

Test build #68126 has started for PR 15765 at commit 9b5b8eb.

Test build #68125 has finished for PR 15765 at commit 4d8e829.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68125/
Test FAILed.

Merged build finished. Test FAILed.

It seems the newly added test seems too flaky. the specific test seems often failed. randomized aggregation test - [typed, with partial + safe] - with grouping keys - with non-empty input cc @liancheng

retest this please

Test build #68128 has started for PR 15765 at commit 9b5b8eb.

Test build #68126 has finished for PR 15765 at commit 9b5b8eb.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68126/
Test PASSed.

Test build #68128 has finished for PR 15765 at commit 9b5b8eb.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68128/
Test FAILed.

Test build #3414 has started for PR 15765 at commit 9b5b8eb.

Test build #3414 has finished for PR 15765 at commit 9b5b8eb.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

changes LGTM. thanks.
to nit pick, I find this "(Signed) shift the given value numBits right." confusing. Perhaps we should clarify this across all doc?

How would you write it? we do need to specify that it's a signed shift.

hmm, like "shift the signed value numBits to the right"?

Ah, IMHO, it seems both are fine but actually it seems there is an unsigned shift one which is described as..
Unsigned shift the given value numBits right.

So.. if any of you does not feel strongly which one is better, I hope leave as it is because it seems at least consistent.
(Signed) shift the given value numBits right.

I think both sound odd, but it's a nit

It's not a shift of a signed value, but a 'signed' shift, meaning one that preserves the sign bit. I recognize the terms "unsigned shift" and "signed shift", FWIW.

Sure then.
Merged to master/branch-2.1

Thank you both!


fix(cli): Ensure special routes have precedence over angular defined reoutes.  Fixes #31

This PR ensures that special routes (_pong and killMe have precedence over angular defined routes.  Fixes #31 .

Sorry, but this is already fixed in another PR I have in flight, and it collides with my changes.
Good find, and thanks for the PR, but I'm not going to merge this.


Invalid Dates

I would like to alert the user when it manually enter an invalid date.
Is there any event to handle this?

You can use the formvalidation.io. works great for us.
On Apr 23, 2016 11:39 AM, "arielcannal"<EMAIL_ADDRESS>wrote:

I would like to alert the user when it manually enter an invalid date.
Is there any event to handle this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/eternicode/bootstrap-datepicker/issues/1868

I need the alert is triggered exactly when I select the invalid date.
The warning can not be in the form submission: /
Sorry for English: Google Translator.

It happens in real time, not on form submission, unless you configure it to
work only that way.
Here's the example.
http://formvalidation.io/examples/bootstrap-datepicker/
On Apr 23, 2016 7:59 PM, "arielcannal"<EMAIL_ADDRESS>wrote:

I need the alert is triggered exactly when I select the invalid date.
The warning can not be in the form submission: /
Sorry for English: Google Translator.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/eternicode/bootstrap-datepicker/issues/1868#issuecomment-213861251

You can already do this indirectly. Listen on the changeDate event, and check if the new date is valid in your callback.


Fix formatting and add "Formatting and compliance" badge

just reformatted and added the "formatting and compliance" badge to README


luci-theme-openwrt-2020: non-aligned text in Channel Analysis

You can also see this error.

It has already been solved and I can't find the commit with which it was resolved.


FaceID works then the device becomes unresponsive

I have a cordova project that uses the latest version (3.3.1) of this plugin and I tested my app on an iPhone X.
My app was originally written to use the TouchID to login users to the app, but since this plugin automatically supports FaceID, it worked without me having to adjust any of my code.
The issue is that the FaceID works perfectly the first time it is used but whenever a user logs out of the app and tries to re-login using the FaceID feature, the entire phone freezes and has to be rebooted.
This issue does not occur on older iPhones supporting TouchID.
I cannot find any error messages when debugging the app. Please advise.

I've got a similar issue. When the Face ID prompt is shown, the app freezes sometimes and crashes after 10 seconds. This only happens with Face ID, not with Touch ID.
System and framework information:
Cordova: v8.0.0
Ionic CLI: v3.20.0
Xcode: v9.4.1


v0.1.1 multi-gpu issue (fine in v0.0.21)

v0.1.1 doesn't go beyond the first GPU's VRAM (with an out-of-memory error) while v0.0.21 works fine utilizing all the GPUs.

Could you elaborate a little? What GPUs, operating system etc., what software are you using and what settings? And what is the specific exception you're getting?


Change in port number

@saumitrakahate Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

No thank you

@saumitrakahate Thank you for signing the Contributor License Agreement!

@saumitrakahate Thank you for signing the Contributor License Agreement!


Add MeasureViewport to MeasureAxis

I am currently working with data that is only in a specific range and I'd like to show that exact range, not more or less. The MeasureViewport could be implemented like the ones for the domain.
You could use the MeasureViewport to set a minimum or a maximum to the measure axis....
Something like:
measureAxis: MeasureAxis(
  ...
  measureViewport: MeasureViewport(
    upperBoundMaximum: 12,
    upperBoundMinimum: 10,
    lowerBoundMaximum: 2,
    lowerBoundMinimum: 0,
  ),
),

This would keep the measure viewport at least to 2 - 10 and at max to 0 - 12.

done from base code and simply
https://dchart.netlify.app/docs/measure-axis/property


[Impeller] Lines with a stroke width less than 1 are always rendered with a width of 1

Steps to reproduce
When using the Impeller engine, even if a line with a stroke width less than 1 is drawn using CustomPainter or SVG, it does not become thinner than a certain threshold (probably 1px). This might be related to anti-aliasing. In the traditional Skia engine, it is rendered without any visual issues.
Expected results
Traditional Skia engine output:
Screenshot

It is rendered without any visual issues.
Actual results
New Impeller engine output:
Screenshot

The stroke widths of the grid lines are not properly distinguishable.
Code sample
Code sample
import 'dart:math';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';

String createSvg() {
  var svg = '<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg">';
  for (int i = 0; i <= 200; i += 5) {
    var strokeWidth = 0.025;
    if (i % 25 == 0) {
      if (i % 100 == 0) {
        strokeWidth = 0.5;
      } else {
        strokeWidth = 0.1;
      }
    }
    svg +=
        '<line x1="$i" y1="0" x2="$i" y2="200" stroke="black" stroke-width="$strokeWidth" />\n';
    svg +=
        '<line x1="0" y1="$i" x2="200" y2="$i" stroke="black" stroke-width="$strokeWidth" />\n';
  }
  svg += '</svg>';
  return svg;
}

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: SvgZoomExample(),
    );
  }
}

class SvgZoomExample extends StatefulWidget {
  @override
  _SvgZoomExampleState createState() => _SvgZoomExampleState();
}

class _SvgZoomExampleState extends State<SvgZoomExample> {
  double _scale = 1.0;

  void _onPointerSignal(PointerSignalEvent event) {
    if (event is PointerScrollEvent) {
      setState(() {
        _scale *= pow(2.0, event.scrollDelta.dy * -0.001);
        _scale = _scale.clamp(0.1, 10.0);
      });
    }
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('SVG Zoom Example'),
      ),
      body: Listener(
        behavior: HitTestBehavior.opaque,
        onPointerSignal: _onPointerSignal,
        child: Center(
          child: Transform.scale(
            scale: _scale,
            child: SvgPicture.string(
              createSvg(),
              width: 200,
              height: 200,
            ),
          ),
        ),
      ),
    );
  }
}

Test Environment

Test Environment
macOS, iOS, Android

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.24.1, on macOS 14.6.1 23G93 darwin-arm64, locale ko-KR)
    • Flutter version 3.24.1 on channel stable at /Users/tyndall.log/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5874a72aa4 (7 days ago), 2024-08-20 16:46:00 -0500
    • Engine revision c9b9d5780d
    • Dart version 3.5.1
    • DevTools version 2.37.2

[!] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at /Users/tyndall.log/Library/Android/sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
    ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15F31d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)

[✓] VS Code (version 1.92.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.94.0

[✓] Connected device (3 available)
    • macOS (desktop)                 • macos                 • darwin-arm64   • macOS 14.6.1 23G93 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin         • macOS 14.6.1 23G93 darwin-arm64
    • Chrome (web)                    • chrome                • web-javascript • Google Chrome 127.0.6533.122

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

I think this is related to https://github.com/flutter/flutter/issues/153451 .  We don't correctly handle <1 scales on transforms.

actually this is just missing from the line geometry.

The problem here is more complicated. We're treating the entity as opaque even when it should be semi transparent.

I have a fix pending. As a work around, if you make the stroke color very slightly transparent, e.g. "rgba(0, 0, 0, 0.95)" it won't have this issue.
Skia

Impeller ToT

Impeller w/ Fix


imagemagick: 6.9.11-29 -> 6.9.11-57

Motivation for this change
See https://github.com/NixOS/nixpkgs/issues/109184 and https://github.com/NixOS/nixpkgs/issues/100302.
According to https://nvd.nist.gov/vuln/detail/CVE-2020-29599, this fixes at least CVE-2020-29599.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

I overlooked https://github.com/NixOS/nixpkgs/pull/109244.

I overlooked https://github.com/NixOS/nixpkgs/pull/109244.


MM-11782: Make archived channels experimental and off by default.

Summary
Change View Archive Channels to a new config setting that's off by default.
Ticket Link
https://mattermost.atlassian.net/browse/MM-11782
Checklist

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit and component tests passed
[x] Has UI changes

Webapp Changes: https://github.com/mattermost/mattermost-server/pull/9281

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-0670fd13e8cdc0311.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-0670fd13e8cdc0311

Spinmint test server destroyed

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-095146f6b780865e9.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-095146f6b780865e9

Spinmint test running for more than 7 days. This test server was terminated.

Spinmint test server destroyed


Upgrade Ignition to version v2.x / spec  v3.x, Afterburn to latest upstream

Current situation
HashiCorp doesn't maintain Terraform provider for Ignitoin v0.x /spec 2.x  for a long time, and RedHat W/ community maintain a new Terraform Ignition Provider, that supports Ignition version v2.x / spec v3.x, do you have any plan to upgrade the Ignition contain in the FlatCar?
Impact
In the feature, maybe Flatcar cannot leverage Terraform to provision, hence, user will have to choose other container linux
Ideal future situation
Flatcar user can use the latest HashiCorp Terraform Ignition to provision Flatcar
Implementation options

Upgrade Ignition to version v2.x / spec  v3.x
Or Maintain the legacy Terraform Ignition provider

I would also recommend adding which Ignition version Flatcar supports to the docs, somewhere under the "Provisioning Tools" section. If you do supply the wrong config version, you'll get a helpful error on startup:
[    7.747394] ignition[450]: failed to acquire config: unsupported config version

However, this error message can be easy to miss, especially since many other boot processes will be failing at the same time, for example:
[    7.768758] systemd[1]: Failed to start Ignition (disks).
[    7.813462] systemd[1]: Dependency failed for Ignition (files).
[   16.571755] systemd-resolved[783]: Failed to listen on UDP socket <IP_ADDRESS>:53: Cannot assign requested address
[   16.598174] systemd[1]: Failed to start Network Name Resolution.

To add some colour: we use the hashicorp provider for ignition and it works.
We build all kinds of systemd units, configure user accounts, set hostname, etc..
Not opposed to updating in general although it means fixing something that isn't broken. What exactly doesn't work or is the concern that Hashicorp doesn't actively maintain the provider?

In https://github.com/DataBiosphere/toil we're wanting to use Ignition JSON in AWS user data instead of the old could-config, and we're running into AWS's 16KB user data size limit. The Ignition format at spec version 3.1 got support for compression of file data or a whole config, which would help our use case.

Ading @Cougar 's input from #326 here since we'll close #326 as a duplicate.
Package name and purpose
ignition got many enhancements and fixes multiple bugs since 0.34.0 (dated back to Dec 21, 2019). Latest release from CoreOS is v2.9.0
Package upstream:

https://github.com/kinvolk/ignition/releases
https://github.com/coreos/ignition/releases

Benefits of upgrading this package
One important fix was an ability to use systemd instantiated services, merged  to v2.2.0

For example, instead of using
systemd:
  units:
    - name<EMAIL_ADDRESS>      enabled: true
    - name<EMAIL_ADDRESS>      enabled: true

such hack is needed right now:
storage:
  files:
  - path: /etc/systemd/system-preset/50-instantiated.preset
    filesystem: root
    contents:
      inline: |
        enable<EMAIL_ADDRESS>eno1 ens1f1

Btw, the<EMAIL_ADDRESS>is a custom unit because systemd-networkd-wait-online.service does not wait for all interfaces to become configured - not sure why (RequiredForOnline=yes exists in network configuration).
Additional information
When other base components like Linux kernel and Docker get frequent upgrades, ignition has been forgotten for a long time. As time passes the more complicated the upgrade could be. The same goes for systemd #301.
Or are there any other ideas for ignition roadmap by Kinvolk?

Update: added Afterburn to the scope.

Ignition is done, Afterburn is next.
Rough list for the tasks needed:

[ ] There are two changes that we need to port over: 212b2f458ef648b9dd064df2f1e85488ee46ed49 (for ignition.platform.id=→flatcar|coreos.oem.id as kernel parameters) and e2e89fcba45a390fe88550506656e67dee9da819 (I will try to upstream this)
[ ] For the name of the binary we can set up a symlink (coreos-metadata→afterburn), for the name of the service we can set up an Alias= in coreos-metadata.service/afterburn.service
[ ] Then there is the problem that the build flag for the legacy env var naming is gone. Since have logic to set up the metadata symlink already for the coreos vs flatcar location, maybe we cal also do the conversion in this step through a ExecStartPost invocation of sed instead of patching the source code (note, not only the prefix but also few names changed: AB_AWS→COREOS_EC2, GCP→GCE)
[ ] Our usage from bootengine (the dracut files call the coreos-metadata binary) needs to be checked

Here a port of the afterburn kernel parameter patch
0001-util-cmdline-Handle-the-cmdline-flags-as-list-of-sup.patch.txt
It also reintroduces the cl-legacy build flag.

Afterburn and Ignition are now upgraded and synced with upstream:

Ignition spec3 is available from 3185.0.0
Afterburn-5.2.0 should be available in the Alpha release

I took a look at the afterburn usage from bootengine and filed a PR to align the hostname setup and created a follow-up issue for additional functionality https://github.com/flatcar-linux/Flatcar/issues/717


Replace preempted with version in Resource

Closes #1124
I've also added a unit test that tests for this issue but it doesn't run correctly because of some microtask issue I don't fully understand.

Thanks, this looks good! I made a couple very small changes so the test runs correctly and it passes.


Requiring invalid files throws error

Please test this

Something seems wrong. I definitely did not change 45 files XD

I am also getting these errors in console after i do
cd examples/main

abell serve

Errors:-

oh wait did you take pull from different banch? it is not supposed to show so many changes

what i did was
git pull upstream main

git push origin master

When was the last time you git pull upstream main? I think you have the old code. A week ago we retactored the whole code

yes, it has been a long time since I pulled it, what should I do now?

git pull upstream main
but... it will create lots of lots of conflicts :(
The easier option would be to take an upstream pull in new branch and copy paste your changes there.

ok ill try to do that

ill send a new PR


Refactor ChatQnA and CodeGen Modules. Add ability to control Container Tags

Refactor required to support public and private IPs. This is a requirement as of now.

LGTM


Do test files need license headers?

( Matt suggested to separate test files from the issue #3264. )
Currently, the headers in test files are different. Some test files have the whole Apache header ( e.g. files under openwhisk/tests/src/test/scala, and even some compressed files openwhisk/tests/dat/actions/unicode.jar and openwhisk/tests/dat/actions/helloSwift311.zip), some test files don't have any header. I think we need to treat them in a consistent style.
Test files without any headers are showed below.
  openwhisk/tools/eclipse/scala.properties
  openwhisk/tools/eclipse/java.xml
  openwhisk/tools/vagrant/Vagrantfile
  openwhisk/tools/vagrant/hello
  openwhisk/tools/vagrant/hello.cmd
  openwhisk/tools/build/scanCode.cfg
  openwhisk/tools/jenkins/apache/dockerhub.groovy
  openwhisk/core/invoker/Dockerfile
  openwhisk/core/invoker/init.sh
  openwhisk/core/invoker/src/main/resources/application.conf
  openwhisk/core/controller/Dockerfile
  openwhisk/core/controller/init.sh
  openwhisk/core/controller/src/main/resources/application.conf
  openwhisk/core/controller/src/main/resources/reference.conf
  openwhisk/tests/dat/apigw/testswaggerdocinvalid
  openwhisk/tests/dat/apigw/testswaggerdoc2
  openwhisk/tests/dat/apigw/local.api.bad.yaml
  openwhisk/tests/dat/apigw/local.api.yaml
  openwhisk/tests/dat/apigw/testswaggerdoc1
  openwhisk/tests/dat/blackbox/badaction/Dockerfile
  openwhisk/tests/dat/blackbox/badaction/README.md
  openwhisk/tests/dat/blackbox/badproxy/Dockerfile
  openwhisk/tests/dat/blackbox/badproxy/README.md
  openwhisk/tests/dat/actions/argCheck.js
  openwhisk/tests/dat/actions/empty.js
  openwhisk/tests/dat/actions/sort.js
  openwhisk/tests/dat/actions/cat.js
  openwhisk/tests/dat/actions/createTrigger.swift
  openwhisk/tests/dat/actions/malformed.py
  openwhisk/tests/dat/actions/unicode3.py
  openwhisk/tests/dat/actions/echo-web-http.js
  openwhisk/tests/dat/actions/initforever.js
  openwhisk/tests/dat/actions/unicode2.py
  openwhisk/tests/dat/actions/unicode.swift
  openwhisk/tests/dat/actions/corsHeaderMod.js
  openwhisk/tests/dat/actions/invoke.swift
  openwhisk/tests/dat/actions/issue-1562.js
  openwhisk/tests/dat/actions/python-zip/greet.py
  openwhisk/tests/dat/actions/python-zip/__main__.py
  openwhisk/tests/dat/actions/niam.py
  openwhisk/tests/dat/actions/multipleHeaders.js
  openwhisk/tests/dat/actions/helloAsync.js
  openwhisk/tests/dat/actions/wc.js
  openwhisk/tests/dat/actions/hello.swift
  openwhisk/tests/dat/actions/trigger.swift
  openwhisk/tests/dat/actions/malformed.js
  openwhisk/tests/dat/actions/initexit.js
  openwhisk/tests/dat/actions/hello.js
  openwhisk/tests/dat/actions/helloContext.js
  openwhisk/tests/dat/actions/helloDeadline.js
  openwhisk/tests/dat/actions/log.js
  openwhisk/tests/dat/actions/unicode.js
  openwhisk/tests/dat/actions/niam.js
  openwhisk/tests/dat/actions/memoryWithGC.js
  openwhisk/tests/dat/actions/niam.swift
  openwhisk/tests/dat/actions/dosLogs.js
  openwhisk/tests/dat/actions/wcbin.js
  openwhisk/tests/dat/actions/helloOpenwhiskPackage.js
  openwhisk/tests/dat/actions/textBody.js
  openwhisk/tests/dat/actions/openFiles.js
  openwhisk/tests/dat/actions/pngWeb.js
  openwhisk/tests/dat/actions/base64Web.js
  openwhisk/tests/dat/actions/createRule.swift
  openwhisk/tests/dat/actions/httpGet.swift
  openwhisk/tests/dat/actions/countdown.js
  openwhisk/tests/dat/actions/ping.js
  openwhisk/tests/dat/actions/emptyJSONResult.js
  openwhisk/tests/dat/actions/echo.js
  openwhisk/tests/dat/actions/sleep.py
  openwhisk/tests/dat/actions/split.js
  openwhisk/tests/dat/actions/asyncError.js
  openwhisk/tests/dat/actions/conductor.js
  openwhisk/tests/dat/actions/step.js
  openwhisk/tests/dat/actions/helloPromise.js
  openwhisk/tests/dat/actions/stdenv.py
  openwhisk/tests/dat/actions/invokeNonBlocking.swift
  openwhisk/tests/dat/actions/sleep.js
  openwhisk/tests/dat/actions/applicationError.js
  openwhisk/tests/dat/actions/head.js
  openwhisk/tests/dat/actions/printParams.js
  openwhisk/tests/dat/actions/runexit.js
  openwhisk/tests/dat/actions/sizedResult.js
  openwhisk/tests/src/test/resources/application.conf.j2

By far not all of these are test files + the files that actually can be categorized as "test-files" are actually files used by tests (small actions). Do we just need to add an appropriate header to each of those?

We have all files with Apache headers following our policy documented here. We also documented every files in the exclusion list, refer here. So I think we can close this issue.


#[inline] on generic functions

Should #[inline] tags be present on generic functions? As far as I know, they don't actually help with inlining, since generic functions are instantiated for each type during monomorphization. However, they may actually incur a cost on compile times, which are quite long for nalgebra.
The above statements should be tested with benchmarks, before doing anything about this, of course. Is there an argument for why the annotations should stay or are they just present out of habit?
EDIT: typo

I've not made any benchmarks on this so far, but that comment on a rust-clippy issue may support the intuition of @jswrenn .


(DOCSP-26295) Adds the # symbol that cobra2snooty uses to split multi-examples, removes $

Proposed changes
Together with the last PRs merged to cobra2snooty (which automatically split commands by the # sign into new code blocks), this change:

Adds # before all intro text
Allow multi-example commands to show each example separately (since cobra2snooty splits them by #)
Removes the unnecessary $ symbol before commands

I have pulled in the latest cobra2snooty updates from using go get -u github.com/mongodb-labs/cobra2snooty
and go mod tidy
Jira ticket:
https://jira.mongodb.org/browse/DOCSP-26295
Checklist

[x] I have signed the MongoDB CLA
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added any necessary documentation in document requirements section listed in CONTRIBUTING.md (if appropriate)
[ ] I have addressed the @mongodb/docs-cloud-team comments (if appropriate)
[ ] I have updated test/README.md (if an e2e test has been added) N/A
[x] I have run make fmt and formatted my code

Force-pushed to resolve merge conflict on autogenerated files when cobra2snooty release merged


RSS Parrot post URLs on page?

On the server I am following RSS Parrot account on, older posts are not always visible:

When I click the page, I end up on the (nice) landing page, e.g. https://rss-parrot.net/web/feeds/nanocommons.github.io.erm-database
But for new RSS Parrots, I often like to "advertise" it, by boosting an older post from the RSS. But for that I need to Mastodon post URL. Because I cannot get that from my server, I was wondering if that it can be added to that page?

The thing is, a Mastodon server A simply doesn't retrieve posts from another server B from before the time someone first followed the account from A. I checked this quite thoroughly because I didn't like it either... In fact this is one of the reasons why I decided to build those browser-based feed pages at all.
To me it seemed even if I pasted a link to a toot from server B, server A didn't show it as a toot, just a regular link. (I may be wrong about this one though.)
In any case I'll keep the issue here for later!


Make distribution classes single inheritance.

This PR removes NamedTuple from the base classes of optuna.distributions.XxxDistribution.
Resolves #571 and #677.

LGTM!


Bump GMT from 6.4.0.dev4+710eb88 to 6.4.0.dev5+b5e996c

This is an automated pull request!
This PR will update the following package:

gmt from 6.4.0.dev4+710eb88 to 6.4.0.dev5+b5e996c

Full list of commits made since last release viewable at compare view

Notes for merging this PR:

Feel free to push to the bot's branch to update this PR if needed.
Checklist before merging this PR:

[ ] Dependencies have been updated if changed
[ ] Tests have passed

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


 Technically, the same is true of other windows such as wxDialog and wxPanel, though in those cases, a top level sizer is almost always going to work better with our UI management.
An example of this is our own CMsgFrame window. The entire client for this window consists of a single wxTextCtrl. There's no reason so use a sizer in this scenario, since the control is sized to whatever the client area of the window is. Currently, we can't implement that using wxUiEditor because it won't allow us to add a control without a sizer.
On the flip side, it's not that big a deal for the user to just create the child control in the derived class ctor -- we can provide the frame and optional menu, toolbar, and statusbar and leave it up to the user to create the rest. Or we could provide a limited set of controls such as a panel and/or splitter window.

In that last large testing pass, I enabled an unlimited number of containers, splitters, and most books.
I think adding more controls to wxPopupTransientWindow is rather risky -- I'd worry about a dev accidentally creating a window that can't be dismissed.
Note that the MsgFrame window no longer needs a sizer since it uses a book as the top level control, and we already support that without a sizer.
I'm going to close this for now -- it can be reopened or a separate issue created if there's a specific request for a change.


Starting EonTimer with multiple Java Runtime installs

I have both Java 8 and Java 17 installed on my machine (17 is default). How would I configure EonTimer to use Java 8 on startup (Running on Linux)
(I don't see an FAQ that would answer this question)

Sorry, I just saw your issue.
I use SDKman (https://sdkman.io/) for that kind of purpose.
I select the Java version I wanna use in my current Terminal : sdk use java 8.0.382-zulu (for example).
Then I can run any Java8 project in my current Terminal.

@KnuxMaster368 @rbobillot I'm going to close this since it's no longer relevant. I recently rewrote the application in python with PySide6. You can find the alpha release artifacts here


Feature - Develop API Gateway Service

API Gateway service as planned will be a service listening for all the HTTP based calls from UI and redirect them to micro-service as required.

With 4ce8146, data processor route added will send query input parameters to data-processing service via gRPC.
Base64 encoded image being returned from data-processing service.
Current query parameters expected from the client side are as below (with sample format):

year (eg: "2021")
month (eg: "12")
day (eg: "11")
hour (eg: "02")
minute (eg: "55")
feature (eg: "reflectivity", "velocity", "cross_correlation_ratio" etc. & these are fixed constants)
station (eg: "KLVX")

Let me know in case there are any changes to above input query parameters.

Pushed the Docker image for the gateway service to neoairavataproject repository. I will test the gRPC communication between gateway and data processor service using docker-compose.


localtunnel server offline - try again

looks like this issue had existed several months ago but i've been getting this for an hour or so...
$ lt --port 3000
your url is: http://msbx.localtunnel.me
localtunnel server offline - try again
└──<EMAIL_ADDRESS>great service though. thanks.

This could be also because you are offline i.e. you are not connected to the internet. mine was that case.


Put files in their own directory in scripts?

After downloading the zip file, where do I extract them to?
Just into the scripts folder, or into their own directory in the scripts folder? If so does it need a particular folder name?

Doesn't matter


[Issue] Make it easy to find azd env path

[X] Make sure you've installed the latest version using instructions in the wiki

I want to easily get the azd env path, so that I can load that into my Python program's environments without doing an export. This is what I'm doing now:
def load_azd_env():
    """Get path to current azd env file and load file using python-dotenv"""
    result = subprocess.run("azd env list -o json", shell=True, capture_output=True, text=True)
    if result.returncode != 0:
        raise Exception("Error loading azd env")
    env_json = json.loads(result.stdout)
    env_file_path = None
    for entry in env_json:
        if entry["IsDefault"]:
            env_file_path = entry["DotEnvPath"]
    if not env_file_path:
        raise Exception("No default azd env file found")
    logger.info(f"Loading azd env from {env_file_path}")
    load_dotenv(env_file_path, override=True)

@vhvb1989 suggested that perhaps azd could make an environment variable for the current path.

Options:

Use azd env list like above

Default Environment Path:

The default environment is listed in .azure/config.json in the defaultEnvironment property. You could build the path based on that. Read in that file, read the defaultEnvironment property, and build .azure/{defaultEnvironment}/.env.

Avoiding azd Calls:

Ideally, you shouldn't have to make an azd call to get this value. Having azd set an environment variable would only help if the app was launched in the same shell context where azd set that path. azd sets shell-level variables, not machine-level. So, you'd still have to read that environment variable within your app. If you just run python app.py, it won't have that environment variable in the same context. We wouldn't want to set a global environment variable because that would be shared amongst all apps on the machine.

Solutions:

One solution is to add an azd env set-context command that loads the azd environment values into the current process like . azd env set-context.
Another solution is to add a --query/jmespath option to the commands that allow you to call azd env list with a query to get the dotenvpath with a single call.

Hm the jmespath would be the easiest add, I imagine, and is similar to Azure CLI SDK command args. I'm a little unsure about whether I'm going to run into the same issues as exporting if I were to do an azd set-context.


Wrong cause_code during accessing PTE

If pte.v == 0 and AXI response is okay, there should be an error, and the cause code should be a page fault. But if pte.v == 0 and at the same time AXI response is not okay, priority should be given to the error due to AXI response, and the cause code should be PT_DATA_CORRUPTION. However, the RTL is giving cause_code == page_fault, which is incorrect.

@mhayat-10xe Thanks for noting the issue and making PR #16 to resolve it.
It has been merged into main.


Preserve IP->metadata cache across restarts

When process is restarted (e.g. due to an update) the IP-to-metadata cache is empty. Why it is bad:

All incoming metrics are piled up in buffers, blocked by the cloud provider;
Cloud provider needs to satisfy a lot of requests - likely hitting the allowed request rate limit.
It leads to increased errors rates and latency of metric processing.
To solve this the cache should be preserved across restarts (with a ttl for each entry).

Hasn't been a problem in practice.


[bugfix] Fix test_poll failure on dom for squeue

Fixes #844

@jenkins-cscs retry none

So it appears that the job was entering the CONFIGURING state and the Slurm backend was erroneously reporting as finished. Then when we were checking in the unit test if the job has actually finished (an operation that triggers a status update), the job was in (most probably) the RUNNING phase, and finished() returned False.

This regression was introduced in #835.


🎉 2.0.2

ℹ About this release

Version: 2.0.2
Type: patch
Last Release: 2.0.1 (8/22/2023, 12:10:59 PM) [?]
Commits to merge: 36 [?]

↩ Reverts

Revert "ci: Downgrade is-semantic-release till it's fixed" (91c2ab5)

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


Change Admin icon and make Dashboard filter panel color consistent

Describe your changes :

Change Admin icon in Settings > Members > Admin
Change Dashboard filter color with other filters
Fix the button style in Not Found page

https://github.com/open-metadata/OpenMetadata/issues/7149

Type of change :

[x] Bug fix
[x] Improvement
[ ] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Frontend Preview (Screenshots) :

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers
@open-metadata/ui

make sure the admin icon should have primary colour when we hover over the admin option, work with @aniketkatkar97 if you have any doubt regards to that!


Automated cherry pick of #5044: fix: guest创建兼容keypair参数

Cherry pick of #5044 on release/2.13.
#5044: fix: guest创建兼容keypair参数

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.13@15fb3e3). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             release/2.13   #5047   +/-   ##
==============================================
  Coverage                ?   6.83%
==============================================
  Files                   ?     527
  Lines                   ?   89478
  Branches                ?       0
==============================================
  Hits                    ?    6115
  Misses                  ?   82854
  Partials                ?     509

Flag
Coverage Δ

#aFlag
6.83% <ø> (?)

Continue to review full report at Codecov.

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

/lgtm

/approve


[Bug]: Can't forget waystone after deleting the chunk that has that waystone

Is there an existing issue for this?

[x] I have searched the existing issues

Description
I was deleting my unused world chunks to reduce my world size but I don't realize that the chunk I deleted has a waystone in it. I can't teleport to that waystone and cannot forget that waystone.
To Reproduce

Put a waystone in a selected chunk
Save that waystone and name it
Delete that chunk
and now the waystone is gone but still remain in the saved waystone list

Expected behavior
It should be removed from the list after I clicked "Forget Waystone", but it doesn't removed because the chunk that has that waystone has been accidentally deleted
Mod Version
v3.0.5
Minecraft Version
1.19.2
Java Version
Java 17
Fabric Version

Fabric: ex. 0.14.10
fabric-api-0.70.0+1.19.2

Relevant log output
No response
Anything else?
Where's the waystones save file located

Not much for me to do here. I recommend reading the wiki page if you plan on doing any manual modifications.


bugfix: avoid the deletion of reconfig.sock when the old process stops

Issues associated with this PR
#2128
Solutions
Another fix suggestion for #2128. Avoid the deletion of reconfig.sock by judging StopAction and make smooth upgrade can run continuously.
UT result
Not involved.
Benchmark
Not involved.
Code Style

Make sure Goimports has run
Show Golint result

First of all, thanks for your contribution, but this issue is being solved #2139. welcome to review together~

https://github.com/mosn/mosn/pull/2129

First of all, thanks for your contribution, but this issue is being solved #2129. welcome to review together~

OK. I will focus on the progress of #2129.