Swap file is not created

Hi,
I use your playbook to install Oracle Express on a vagrant/virtual box virtual machine and the swap file is not created. I have to change the following line in tasks/main.yml :
when: (docker == 'no' ) and (not oracle.stat.exists) and (not swap.stat.exists)

by this one :
when: (not docker) and (not oracle.stat.exists) and (not swap.stat.exists)

for the swap file to be created (notice the test on the docker variable).
My ansible version is :
$ ansible --version
ansible <IP_ADDRESS>
  configured module search path = None

Did there is a problem with the way i use this role or is there an error ?
Best regards,

I just added a fix for this issue

Hi
I just added a fix for this issue.
Br
Le 20 Jul. 2015 14:02, "rastaman"<EMAIL_ADDRESS>a écrit :

Hi,
I use your playbook to install Oracle Express on a vagrant/virtual box
virtual machine and the swap file is not created. I have to change the
following line in tasks/main.yml :
when: (docker == 'no' ) and (not oracle.stat.exists) and (not swap.stat.exists)
by this one :
when: (not docker) and (not oracle.stat.exists) and (not swap.stat.exists)
for the swap file to be created (notice the test on the docker variable).
My ansible version is :
$ ansible --version
ansible <IP_ADDRESS>
configured module search path = None
Did there is a problem with the way i use this role or is there an error ?
Best regards,
—
Reply to this email directly or view it on GitHub
https://github.com/fupelaqu/ansible-oraclexe/issues/2.

Hi, sorry to not have seen it before, but there is 2 other tests in oracle-xe-configure which use an expression (docker == 'no').
Best regards and thanks for your time.

I just fixed those conditional tests on docker too.
Thanks for your feedback


Initial documentation upload

Site is up at https://google.github.io/automotive-design-compose/

Looks good! I noticed that the Tutorial page is missing the images. I think with that fixed we're good to merge.
I think we've got some good improvement opportunities for organizing the docs; maybe in round 2 we can make some new categories:

Intro (Intro, Getting Started, Capabilities, Tutorial)
Developing with DesignCompose (Interactions, Modifiers, Fonts)
Reference Apps (MediaCompose)
Using the Source (as we currently have it, maybe plus a doc on contributing)

@miriamvu also has some notes on content that would help answer some common questions (like we don't have a diagram showing the conversion process, serialized file, etc, and that info is important to understand to know how DC is different from code generation systems, and why it's good for automotive).,

Are the links supposed to all be working? For example the tutorial link at the top of https://google.github.io/automotive-design-compose/docs/index/

Are the links supposed to all be working? For example the tutorial link at the top of https://google.github.io/automotive-design-compose/docs/index/

Good catch. I've been having some issues working out the links, there seems to be a behavior difference between Jekyll's local serve and GitHub's hosting. I've gone and checked how the template does links on their site so I'm trying to resolve that now.

Ok, I figured out the proper way to do links and they should all be working now. This should be good to go.


Attempt to replace Airbnb ESLint configuration if it is not maintained

Possible actions:

look for a replacement for eslint-config-airbnb-typescript that allow us to perform the eslint upgrades currently in out pull requests
inline or remove rules from https://github.com/iamturns/eslint-config-airbnb-typescript/blob/master/lib/shared.js (300 lines including comments) to remove the dependency on the package
try to get eslint to dump its config (derived from 6 packages and a bunch of our own rules)


Editor Camera Orientation tool

Add in a tool that in the UI that shows the current rotation of the editor camera, akin to that of most other editors.
Examples:
Godot

Blender

This should both show the current rotation as well as be interact-able such that the location/orientation of the editor camera can be changed.

I think we can tweak gizmos to behave in this way.


Update tvm-supported-os.md

Updated Amazon linux 2 to the list as it supported for MDATP and TVM

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/8477

@siosulli Please merge this PR. Thanks

@yogkumgit @JohanFreelancer9
Thank you for looking at this PR. I'm close it as Amazon Linux2 is not yet supported for TVM.

@siosulli Thank you for your response. I have made changes to reflect that it is not supported. Would you be able to approve and merge the PR?

HI @msbemba,
This table is for supported OS and platforms. It only includes not supported information when at least 1 platform is supported.
As soon as this support is available the product team will let me know and I will update.
Thanks!


App is crashing failed assertion metalTexture != nil

As soon as my app starts I see the unity splash screen and then the app crashes with this message
failed assertion metalTexture != nil at line 863 in allocMetalTexture

Closing this, The problem was memory leak caused by some large images


Remove 'unsalted' PSS handling

The 'unsalted' PSS handling is not behaving like one would expect. It doesn't use salt of 0 length, but insteaad it uses some  defaults which are not properly documented. Make the salt_len mandatatory for both singing and verification.

@tarcieri sounds good to me.
cc @roblabla @dignifiedquire

@lumag alternatively, you could implement ^^^ API in this PR, which would avoid the need to deprecate anything.
Instead, change new to be salted, but infer the salt size from the digest function.

Sure, I'll do that in a minute

done


⚠ Bofrost.es has degraded performance

In a045cff, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1711 ms

Resolved: Bofrost.es performance has improved in 78b8042 after 7 minutes.


Hardcode cli/e2e to the latest 4.8 release

Hypershift control plane currently does not support the 4.9 release.
Until we can support more than one minor release with core Hypershift,
we will fix the release we use to the latest 4.8 release.

/lgtm

/approve


Fama-French File Transfer Blocked

I'm getting a download error for the FF data library and I can't turn off the FF plots have to manually deactivate them by commenting out the code.
http://mba.tuck.dartmouth.edu/pages/faculty/ken.french/ftp/F-F_Research_Data_Factors_daily_CSV.zip
File Transfer Blocked
Transfer of the file you were trying to download or upload has been blocked in accordance with company policy. Please contact your system administrator if you believe this is in error.
File name: F-F_Research_Data_Factors_daily_CSV.zip
Be good to either have those on some sort of S3 mirror or be able to turn off the FF plots.
def create_returns_tear_sheet(returns, positions=None,
                              live_start_date=None,
                              cone_std=(1.0, 1.5, 2.0),
                              benchmark_rets=None,
                              bootstrap=False,
                              return_fig=False,
                              plot_ff=True):
[...]
    if plot_ff:
        plotting.plot_rolling_fama_french(
            returns, ax=ax_rolling_risk)

see additional debug details here

Hi there @citynorman, are you still experiencing this problem? Pandas data reader has just been fixed.

Sounds like there isn't a problem anymore, closing this issue

This seems to have gone away but I'd still like the flexibility to disable the external dependency.

@citynorman could you open a new issue for disabling a the FF plots please? Sounds like an interesting point to discuss.


CocoaPods support?

Would you add ReactiveObjC to CocoaPods?

If someone wants to open a PR that adds support, I'm okay with adding it.

Ok, I'm glad to make it. However, I can't see any tags or version information, so not sure about which one should I choose for pod. Also according to contributing guide, as I understand, I should ask questions like that in slack room. Is it exist yet, and, if so, could you send invitation for me, please?

I just released https://github.com/ReactiveCocoa/ReactiveObjC/releases/tag/1.0.0.
What email would you like to b invited at?

Thanks<EMAIL_ADDRESS>

@mdiep, just created PR

Thank you for attention.


Junit5 extension

First shot at Junit 5 extension.
I was trying to make it as similar to JUnit 4 in usage as possible. However this requires some nasty hacks as JUnit 5 extensions are "stateless" and you cannot pass data from tests to extensions.
I also carried over tests from junit 4 extension and modified them to be Junit 5-style to make sure it works. There is still more testing to be done but we should first discuss whether we like this kind of approach or not really.
NOTE: some functionality(ContextImpl) is plain duplicate of what we have in Junit4 extension. We might want to create something like Weld-Junit-Common where this could be stored. For now I just copied it to make it clear what is needed/used in this extension.

Merged, thanks!

Resolves #9.


automatic registration of JPA and JAXB converters

I don't really know where to file this one, but here goes.
Via:

compiler option,
some magic for modules which import javax.persistence or javax.xml.bind,
ceylon war,
ceylon swarm, or
something else

we need to be able to add the following JPA and JAXB type converters to a generated module archive:
import java.lang {
    JByte=Byte,
    JLong=Long,
    JDouble=Double,
    JString=String
}

import javax.persistence {
    AttributeConverter,
    converter
}
import javax.xml.bind.annotation.adapters {
    XmlAdapter
}

shared class IntegerAdapter()
        extends XmlAdapter<JLong,Integer>() {
    unmarshal(JLong? v)
            => if (exists v)
            then v.longValue() else null;
    marshal (Integer? v)
            => if (exists v)
            then JLong(v) else null;
}

shared class StringAdapter()
        extends XmlAdapter<JString,String>() {
    unmarshal(JString? v)
            => if (exists v)
            then v.string else null;
    marshal (String? v)
            => if (exists v)
            then JString(v) else null;
}

shared class FloatAdapter()
        extends XmlAdapter<JDouble,Float>() {
    unmarshal(JDouble? v)
            => if (exists v)
            then v.doubleValue() else null;
    marshal (Float? v)
            => if (exists v)
            then JDouble(v) else null;
}

shared class ByteAdapter()
        extends XmlAdapter<JByte,Byte>() {
    unmarshal(JByte? v)
            => if (exists v)
            then v.byteValue() else null;
    marshal (Byte? v)
            => if (exists v)
            then JByte(v) else null;
}

shared class CharacterAdapter()
        extends XmlAdapter<JString,Character>() {
    unmarshal(JString? v)
            => if (exists v, !v.empty)
            then v.codePointAt(0).character else null;
    marshal (Character? v)
            => if (exists v)
            then JString(v.string) else null;
}

converter { autoApply = true; }
shared class IntegerConverter()
        satisfies AttributeConverter<Integer, JLong> {

    convertToDatabaseColumn(Integer? int)
            => if (exists int)
            then JLong(int) else null;

    convertToEntityAttribute(JLong? jlong)
            => if (exists jlong)
            then jlong.longValue() else null;

}

converter { autoApply = true; }
shared class ByteConverter()
        satisfies AttributeConverter<Byte, JByte> {

    convertToDatabaseColumn(Byte? byte)
            => if (exists byte)
            then JByte(byte) else null;

    convertToEntityAttribute(JByte? jbyte)
            => if (exists jbyte)
            then jbyte.byteValue() else null;

}

converter { autoApply = true; }
shared class FloatConverter()
        satisfies AttributeConverter<Float, JDouble> {

    convertToDatabaseColumn(Float? float)
            => if (exists float)
            then JDouble(float) else null;

    convertToEntityAttribute(JDouble? jdouble)
            => if (exists jdouble)
            then jdouble.doubleValue() else null;

}

converter { autoApply = true; }
shared class StringConverter()
        satisfies AttributeConverter<String, JString> {

    convertToDatabaseColumn(String? string)
            => if (exists string)
            then JString(string) else null;

    convertToEntityAttribute(JString? jstring)
            => if (exists jstring)
            then jstring.string else null;

}

converter { autoApply = true; }
shared class CharacterConverter()
        satisfies AttributeConverter<Character, JString> {

    convertToDatabaseColumn(Character? character)
            => if (exists character)
            then JString(character.string) else null;

    convertToEntityAttribute(JString? jstring)
            => if (exists jstring, !jstring.empty)
            then jstring.codePointAt(0).character else null;

}

And also add the following annotations to the package descriptor:
xmlJavaTypeAdapters {
        xmlJavaTypeAdapter { \ivalue=`class IntegerAdapter`; type=`class Integer`; },
        xmlJavaTypeAdapter { \ivalue=`class FloatAdapter`; type=`class Float`; },
        xmlJavaTypeAdapter { \ivalue=`class ByteAdapter`; type=`class Byte`; },
        xmlJavaTypeAdapter { \ivalue=`class CharacterAdapter`; type=`class Character`; },
        xmlJavaTypeAdapter { \ivalue=`class StringAdapter`; type=`class String`; }
}

I wonder what is the easiest way forward on this, @FroMage?

Couldn't these just be two tiny ceylon.interop.[jpa|jaxb] modules that depend on javax.persistence and javax.xml.bind respectively?

Well,  no, or I wouldn't have opened this issue.

What's the lookup strategy for converters? Do JPA and JAX-RS support meta-annotations?

Well, it's a bit shitty. AFAICT:

For JPA, an autoApply=true converter applies to everything in the "persistence unit", which, IIRC, means "jar". So there's no way to auto-apply the converter outside the jar in which it's defined.
For JAXB you have to annotate the package descriptor of every package you want to use the converters in, which is both a little better, and a bit worse.

Do JPA and JAX-RS support meta-annotations?

You're kidding, right?

@FroMage is this an issue we could solve with an annotation processor, perhaps?

Well, annotation processors aren't supposed to modify module.ceylon files…

Why do we need to modify module.ceylon?

To add imports to JPA and JAX-RS, no?

I think it's not tied to swarm or war as those are useless if you don't also import JPA or JAX-RS. It's really tied to your module. That's what should trigger it. We can't detect that JPA or JAX-RS are imported by the module name since many modules provide them. We could check that they provide a certain package. Or tie this to an annotation or compiler annotation on the module.

To add imports to JPA and JAX-RS, no?

Well, no, that's not what I'm proposing. I'm assuming they're already imported, and we're using that import to trigger the addition of the converters to the module that imports them.

We can't detect that JPA or JAX-RS are imported by the module name since many modules provide them.

OK, fine, but we could detect that something uses the @Entity annotation, or @Resource.

Yes, but don't we run the risk of declaring converters that conflict with user converters? How do we turn this off if required? I quite prefer this to be an explicit opt-in. Or at least, have an opt-out.

Yes, but don't we run the risk of declaring converters that conflict with user converters?

Look, user-defined converters for types like ceylon.language.Integer aren't going to work  anyway, since they won't work for non-null fields.

How do we turn this off if required?

They can explicitly annotate a certain field with a different converter/adapter.

OK, here's an alternative solution, that might be easier, and is possibly more robust.
According to some criteria I've not thought up yet (default behavior? compiler switch? @Entity annotation), we start persisting attributes of nullable "primitive" type in fields holding Java primitive wrapper types.
Thus, this attribute:
id String? name;

Would map to this Java code:
@Id java.lang.String name;

ceylon.language.String getName() {
    if (name==null) return null;
    return ceylon.language.String.instance(name);
}

void setName(ceylon.language.String name) {
    if (name==null) this.name = null;
    else name = name.toString();
}

This, in principle, avoids the need for any sort of converters at all.
WDYT, @FroMage, @tombentley?

Likewise, we would have:
id Float? amount;

Mapping to this Java code:
@Id java.lang.Double amount;

ceylon.language.Float getAmount() {
    if (amount==null) return null;
    return ceylon.language.Float.instance(amount);
}

void setName(ceylon.language.Float amount) {
    if (amount==null) this.amount = null;
    else amount = Float.valueOf(amount.doubleValue());
}

Closing, superseded by #6622.


graph does not correctly check the minimum and maximum Y Axis

Dear devs,
I'm facing an issue that's been bothering for the past weeks. The graph does not recognize the correct min and max values, and the results look like this:

as you can see, the minimum value is not corresponding to the minimum of the graphs appearing, ending up in clipped graphs.
Now the strange part is that this is somethign recent, I've been using ApexCharts for longer than a year and that wasn't a problem, it's not an issue for teh past months.
Any idea how to fix this?

Hi,
Do you have any more info?
Maybe a minimal repo to reproduce?
Did it work before in previous versions?
It could be related to negative values, do you see the same issue with only positive values.

it used to work before, only very recently this started to be an issue, and it happens in different graphs as I showed here, so it's something changed in the core of the script. Maybe it's the javascript script?
It only happens in negative values, from what i've seen.
I'll try to create a repo to reproduce the error

Thanks,
Have you tested to manually provide the Yaxis min/max values?
I noticed that this is done in the apexcharts.js sample https://apexcharts.com/javascript-chart-demos/bar-charts/bar-with-negative-values/

yes, you can fix it doing that, but as I said, this wasn't an issue a couple of months ago, something has changed that broke the graphs. The graph should automatically detect the min and max value for correct rendering.

Hi
I'm sorry but If you believe this is an issue in apexcharts.js, you should raise the issue the that repo.
Please re-open if you think this is an issue in the wrapper.


Use Flat Array Text Blob Cache instead of more expensive ConcurrentDictionary in Avalonia.Skia.GlyphRunImpl

What does the pull request do?
This PR drastically reduces the number of object allocations and gets rid of many lock enter-exits when formatting/rendering text in Avalonia.Skia.GlyphRunImpl, which is used by APIs such as TextLine and TextFormatter::FormatLine.
What is the current behavior?
When creating a TextLine using e.g., TextFormatter::FormatLine, eventually down the line Avalonia.Skia creates a GlyphRunImpl. This class contains a ConcurrentDictionary that caches created text blobs keyed by the selected TextRenderingMode:
https://github.com/AvaloniaUI/Avalonia/blob/4c428d073d28afc1196aff7c60168db62754ef05/src/Skia/Avalonia.Skia/GlyphRunImpl.cs#L18
Such a dictionary is very heavy on allocations. In particular, it creates many System.Objects used as locks to guard its internal tables and nodes from any concurrency issues (see ConcurrentDictionary:L185-L190).
Given that this cache only is meant to hold at most three possible consecutive integer keys (SKFontEdging.Alias = 0, SKFontEdging.Antialias = 1 and  SKFontEdging.SubpixelAntialias = 2) and three accompanied created text blobs, this causes many unnecessary allocations which are very noticeable when creating many TextLines.
This scenario comes up when e.g., scrolling a list box with many items, or in my specific scenario, when creating text lines dynamically in a hex editor control. Below a screenshot of a memory snapshot comparison between before and after scrolling down and up in the demo project of AvaloniaHex.

What is the updated/expected behavior with this PR?
The number of unnecessary allocations drops significantly without any visual problems:

How was the solution implemented (if it's not obvious)?
This PR replaces the expensive ConcurrentDictionary with a flat array that is updated using Interlocked.CompareExchange, vastly reducing the number of allocations required to perform a single text format, while preserving thread-safety.

@Washi1337,
Please read the following Contributor License Agreement (CLA). If you agree with the CLA, please reply with the following:
@cla-avalonia agree

Contributor License Agreement
Contribution License Agreement
This Contribution License Agreement ( “Agreement” ) is agreed to by the party signing below ( “You” ),
and conveys certain license rights to the AvaloniaUI OÜ ( “AvaloniaUI OÜ” ) for Your contributions to
AvaloniaUI OÜ open source projects. This Agreement is effective as of the latest signature date below.
1. Definitions.
“Code” means the computer software code, whether in human-readable or machine-executable form,
that is delivered by You to AvaloniaUI OÜ under this Agreement.
“Project” means any of the projects owned or managed by AvaloniaUI OÜ and offered under a license
approved by the Open Source Initiative (www.opensource.org).
“Submit” is the act of uploading, submitting, transmitting, or distributing code or other content to any
Project, including but not limited to communication on electronic mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of
discussing and improving that Project, but excluding communication that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material Submitted by You, including any
associated comments and documentation.
2. Your Submission. You must agree to the terms of this Agreement before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now or in the future (except as
described in Section 4 below), Submit to any Project.
3. Originality of Work.  You represent that each of Your Submissions is entirely Your
original work. Should You wish to Submit materials that are not Your original work,
You may Submit them separately to the Project if You (a) retain all copyright and
license information that was in the materials as you received them, (b) in the
description accompanying your Submission, include the phrase "Submission
containing materials of a third party:" followed by the names of the third party and any
licenses or other restrictions of which You are aware, and (c) follow any other
instructions in the Project's written guidelines concerning Submissions.
4. Your Employer. References to “employer” in this Agreement include Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your employer has intellectual
property rights in Your Submission by contract or applicable law, You must secure permission from Your
employer to make the Submission before signing this Agreement. In that case, the term “You” in this
Agreement will refer to You and the employer collectively. If You change employers in the future and
desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement
and secure permission from the new employer before Submitting those Submissions.
5. Licenses.
a. Copyright License. You grant AvaloniaUI OÜ, and those who receive the Submission directly
or indirectly from AvaloniaUI OÜ, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable
license in the Submission to reproduce, prepare derivative works of, publicly display, publicly perform,
and distribute the Submission and such derivative works, and to sublicense any or all of the foregoing
rights to third parties.
b. Patent License. You grant AvaloniaUI OÜ, and those who receive the Submission directly or
indirectly from AvaloniaUI OÜ, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license
under Your patent claims that are necessarily infringed by the Submission or the combination of the
Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the Project.
c. Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.
6. Representations and Warranties. You represent that You are legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your original work (except as You may
have disclosed under Section 3 ). You represent that You have secured permission from Your employer to
make the Submission in cases where Your Submission is made in the course of Your work for Your
employer or Your employer has intellectual property rights in Your Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You
have the necessary authority to bind the listed employer to the obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6 , THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
7. Notice to AvaloniaUI OÜ. You agree to notify AvaloniaUI OÜ in writing of any facts or
circumstances of which You later become aware that would make Your representations in this
Agreement inaccurate in any respect.
8. Information about Submissions. You agree that contributions to Projects and information about
contributions may be maintained indefinitely and disclosed publicly, including Your name and other
information that You submit with Your Submission.
9. Governing Law/Jurisdiction. This Agreement is governed by the laws of the Republic of Estonia, and
the parties consent to exclusive jurisdiction and venue in the courts sitting in Talinn,
Estonia. The parties waive all defenses of lack of personal jurisdiction and forum non-conveniens.
10. Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and
supersedes any and all prior agreements, understandings or communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may be assigned by AvaloniaUI OÜ.
AvaloniaUI OÜ dedicates this Contribution License Agreement to the public domain according to the Creative Commons CC0 1.

Your profiling reminds me that I should replace BreakUnit thanks


Metrics in V3

I noticed that when we disable v2 by using --enable-v2=false, we lose access to the /metrics endpoint.
Are there plans for exposing this to the v3 api?

this is a bug. will be fixed.

Also, it appears that specifying --enable-v2 false doesn't work while --eanble-v2=false does.

All bool flags work like that-- the command line parser sees --enable-v2, parses it as --enable-v2=true, then expects another flag but sees false and bails.

Interesting, thanks for the clarifying that!


Include user-impersonation client-id in repo

Is your feature request related to a problem? Please describe.
It was unnecessary difficult to gather the client-id needed for user impersonation, it is described under here:
https://github.com/equinor/OmniaPlant/wiki/Authentication-&-Authorization
Describe the solution you'd like
Include the user impersonation in this repo
Describe alternatives you've considered
Include a link to https://github.com/equinor/OmniaPlant/wiki/Authentication-&-Authorization in documentation
Additional context
Add any other context or screenshots about the feature request here.

Cool, I look forward to testing this out.


Clarification on Array Fields

Hello!
I am confused about how to support array attributes. Let's say I have simple urls array field on users like so:
  create_table "users", force: :cascade do |t|
    t.text "urls", default: [], array: true
  end

From searching the issues, it appears I need to define a build_url field on the User model? Is that correct? What else would I need to do? Or is there a simple example somewhere for this?

hm if I understand you correctly you are having an issue saving urls?
in your controller, in permit method urls has to be at the end.. I hope this helps you?
my example:
def change
    create_table :timeslots_configs do |t|
      t.references :area, foreign_key: true
      t.integer :address_type
      t.integer :from_hour
      t.integer :to_hour
      t.integer :days, array: true
      t.boolean :green

      t.timestamps
    end

def area_params
    params
      .require(:area)
      .permit(:name, :timezone, timeslots_configs_attributes: [
        :id,
        :address_type,
        :from_hour,
        :to_hour,
        :green,
        :_destroy,
        days: []
      ])
  end

@vpfaulkner (blast from the past!) did you ever figure this out?
I am struggling to get Cocoon working with an Array field that does not contain models (which seems to be the assumption in https://github.com/nathanvda/cocoon/pull/90). It is possible at all to use Cocoon with such fields?

I figured this out, and my problem above had to do with my partials not being named correctly in the scheme that Cocoon expects. 🤦🏼

@anaulin the remove links should work, so please open a new ticket, and give a little more information (show your view code).
I will close this one since @gasperhafner answered it for the OP.


chore(deps): Bump go-header

Bumping go-header.

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

Comparison is base (9b2d82a) 51.30% compared to head (99a1cce) 51.18%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3096      +/-   ##
==========================================
- Coverage   51.30%   51.18%   -0.12%
==========================================
  Files         177      177
  Lines       11139    11139
==========================================
- Hits         5715     5702      -13
- Misses       4927     4937      +10
- Partials      497      500       +3

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


add optimizations and error reports to failures

Closing as this look like a duplicate of #38
Feel free to re-open if I missed something @alaypatel07


Update test matrix and add scheduled tests

Updates test matrix to run tests across all supported Python versions (currently Python 3.8 – 3.12) and operating systems. Also adds weekly scheduled test runs to resolve #208.
Given this makes the test matrix quite large (15 combinations of OS and Python version), and Python 3.8 and Python 3.9 are both out of the recommended support window of both SPEC0  and NEP29, I would also recommend we consider dropping Python 3.8 and Python 3.9 support (in a separate PR).
EDIT: Appears that there are not Windows wheels available for healpy / pyssht and we're getting a segfault somewhere when using MacOS / Python 3.9+ so reverting to only testing on Ubuntu + (MacOS, Python 3.8) for now.

I've merged in main to resolve conflicts from some files also edited in #233 (mainly some manual edits to make docstrings raw here to avoid issues on newer Python versions that Ruff also flagged and fixed). I've also added a path filter to the pull-request trigger here to only run tests workflow when we are updating files which could lead to changes in test behaviour, which should prevent needing to run tests when for example just updating Markdown files or metadata files like all-contributorsrc.


Installation Instructions for Windows

Added installation instructions for windows-amd64

Closing in favor of #738, but I appreciate the effort regardless.


Supporty for adding BIO as a CIC statement + some linting

Here's a customized prompt for the About section, since the existing one is so 'rep' focused: https://docs.google.com/document/d/1bLPCt6g3P8mC0gDLWLEQzb_3UGrvqsjXmN6EP5Di27Y/edit


vmMemoryOverheadPercent is causing over provision. It should be considered only after launching machines

Description
Observed Behavior:
vmMemoryOverheadPercent is causing karpenter to over provision nodes in case the memory requests are calculated accurately according to instance type.
For example, I'm using the i4i.32xlarge instance type which has 128vCPUS and 1024GB memory
Launched 4 pods, each with these configs:
resources:
  limits:
    ephemeral-storage: 90Gi
    memory: 241620Mi
  requests:
    cpu: "31"
    ephemeral-storage: 5Gi
    memory: 240954Mi

Karpenter Should Launch only one as it fits in one node
But Karpenter actually launched two, as according to karpenter this node has 961470Mi, although in reality it has 1007423Mi Memory allocatable in k8s. (vmMemoryOverheadPercent default is  0.075 which sound low, but it is not really a percent, it's a factor so it is 7.25%!)
Also - karpenter will not consolidate the nodes as he thinks there is no place for all the pods in one node, but when I kill the extra node, all the pods are now scheduled to same node without any issue.
This issue happened for us in large scale and caused us mass over provision as we are using large pods and we are trying to max the node resource allocation
Expected Behavior:
Karpenter should launch according to the memory specs before the vmMemoryOverheadPercent and if the scheduler in use is failing to allocate (meaning pods are still pending)  - than it should launch more instances
Reproduction Steps (Please include YAML):
Create 4 pods with theses specs:
resources:
limits:
ephemeral-storage: 90Gi
memory: 240954Mi
requests:
cpu: "31"
ephemeral-storage: 5Gi
memory: 240954Mi
And use only 128vCPU instances in the nodePool / provisioner
Versions:
Tested on version 0.32.6

Chart Version:  0.32.6
Kubernetes Version (kubectl version): 1.29

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Unfortunately, vmMemoryOverheadPercent is just an approximation, as Karpenter has no way to know exactly what the memory is without knowing the details of the AMI. The best advice we have is to test out Karpenter in lower environments with pods simulate what you're expecting to run in production, and ensure that Karpenter runs as expected.
One way to solve this would be through NodeOverlays if you're interested in that.
I see you also cut a docs issue. Feel free to cut a docs PR if you think this warrants better documentation. Since this isn't a problem we can solve, and there's an active RFC to address this, I'll go ahead and close this. Feel free to re-open if you want.

I'm opening it as I think this is a huge design flaw. The fact that karpenter can't know upfront does not mean it should assume a constant overhead for all instances types and for all node pools.
It should be at least be a factor that depends on instance size - 7% overhead of the memory is acceptable for small instances, but for large instances it creates a huge overhead.
In my opinion the bare minimum would be to allow this to be configured per node pool. Node overlay seems like an ok solution too but it would be harder to configure, the node pool seems like a better place (although I do get why it is harder to implement it there.
Also - I still don't understand, why does karpenter needs to know upfront? it can launch an instance, check if it fits, and if not - kill it and launch another instance. Another option is to cache the allocatable memory for each instnaceType from each AMI used.

Hi @njtran do you want me to open a new issue or you can re-open this one? I don't have permission to re-open it myself


[EN-1388] Moves consul-template role to own repository

Story: http://jira.juwai.com/browse/EN-1388
Sub-task: http://jira.juwai.com/browse/EN-1399

Adds galaxy tags
No logical changes on the role from ansible-playbooks

How to test:

git clone -b EN-1388 https://github.com/agirivera/ansible-role-consul-template.git

cd ansible-role-consul-template/tests

ansible-galaxy install -p roles -r requirements.yml. python27 and supervisor roles will fail for the moment, run the following instead:
git clone -b EN-1388 https://github.com/agirivera/ansible-role-python27.git roles/juwai.python27
git clone -b EN-1388 https://github.com/agirivera/ansible-role-supervisor.git roles/juwai.supervisor

vagrant up

/cc @juwai/platform @tjoelsson @imlazyone Please review. Thanks.

👍

@tjoelsson did you test this already?

I did

💅


Fish shell support.

Currently, p is not working in Fish shell - at least with full functionality. You can use p in Fish shell to install and then use 'p 2.7.10' to switch the version. However, the interactive selection and detection of config.fish (as opposed to zshrc or bashrc) is not implemented. I've forked to try and work on the issue, but would welcome help from those more experienced with Fish.

This isn't at the top of my list for p right now.
Writing portable Shell scripts is a painful process and one that doesn't bring much benefit. Most systems have Bash pre-installed and those that don't can install Bash easily.
For now, I'll list Bash as a dependency. If you can add Fish shell support, feel free to send in a PR.


How to set variable "includeSoftConstraints" for Toplology Spread Constraint Violations

I am looking at the Helm chart provider for this application.  On the ReadMe, it says there is an option to set "includeSoftConstraints" to true (if wanted) for Toplology Spread Constraint Violations.  How can this be done on the Helm chart?  I don't see an option for this.

The strategy config settings are set through the deschedulerPolicy value in the Helm chart. This uses the same config as in the readme, so for example:
strategies:
  "RemovePodsViolatingTopologySpreadConstraint":
     enabled: true
     params:
       includeSoftConstraints: false

Thank you:
https://github.com/kubernetes-sigs/descheduler/pull/943

Fixed in #943
/close


Release v5.0.0-beta2

Preview: https://deploy-preview-32467--twbs-bootstrap.netlify.app/

@ffoodd can you please have a quick look at the dist CSS changes so that we make sure everything's alright?

Seems good to me, I recognize every change with a single exception than I'm unable to trace back: some .fs-*-* utilities are removed, but I can't even find where they were coming from :thinking:
@MartijnCuppens Might it relate to RFS?

Yeah, that must be due to #32397

Indeed, missed that one— thanks :)


instead of maintaining as load_string I am maintaining its as .kv file seperately. In that case im calling builder method in my new screen .py file.?

@HeaTTheatR But instead of maintaining as load_string I am maintaining its as .kv file seperately. In that case im calling builder method in my new screen .py file.?
MyKv.kv:
Create@MDBoxLayout:
id: crt_odr
MDLabel:
text: "Type"
halign: "left"
MDDropDownItem:
id: menu_itms
pos_hint:{'center_x':0.5, 'center_y':0.5}
text: 'Select any one'
on_release: app.menu_list.open()
MyKv.py:
Builder.load_file("MyKv.kv")
class MyKv(Screen):
def __init__(self, **kwargs):
    super().__init__(**kwargs)

  list_items = ["A", "B", "C"]
    menu_list =[{"text": drop_itm,
                 "viewclass": "OneLineListItem",
                 "on_release": lambda x=drop_itm: self.menu_callback(x)
                } for drop_itm in list_items
               ]
    self.menu_list = MDDropdownMenu(caller=self.ids.menu_itms,items=menu_list, position='center', width_mult=4)

def menu_callback(self, itm):
    self.ids.menu_itms.set_item(itm)
    self.ids.menu_itms.dismiss()

Its showing same error : AttributeError: 'super' object has no attribute 'getattr'
Please help.
Originally posted by @kirthigakalyan in https://github.com/kivymd/KivyMD/issues/511#issuecomment-817515829

hello, is this a bug report or a support request?

I don't think the problem has anything to do with the builder method but I do not fully understand your problem. Maybe you should attach a screenshot instead?

@podraco Its a query about builder methods in Kivy MD. Usually people are having a builder string to load the KV file. My query is why cant we use a separate KV file and create clasess for those in py file.

Read this : https://kivy.org/doc/stable/guide/lang.html.
You can create a separate .kv file and create classes for it in .py files.

The problem is not related to the KivyMD library.


Login to Qlik Sense cloud no longer works

What version of Butler Sheet Icons are you using?
3.4.1
What version of Node.js are you using? Not applicable if you use the standalone version of Butler Sheet Icons.

What command did you use to start Butler Sheet Icons?

What operating system are you using?
macOS
What CPU architecture are you using?

What Qlik Sense versions are you using?

Describe the Bug
Looks like Qlik has change the HTML for the login page to QS Cloud.
BSI cannot find the login input boxes on that page.
Update BSI to work with current QS Cloud login.
Expected Behavior
No response
To Reproduce
No response

does this mean any of the BSI versions wont make it past the login screen?

Indeed - at least any BSI version pre 3.5.0, which was released a few hours ago.
That version works nicely here at leas.
I only have a EU tenant to test against, so I am slightly worried US tenants work differently.
There's also always a risk of Qlik rolling out changes over time, meaning that some tenants in theory could have one login scree, while other tenants have different html code on their login screens.
But do give 3.5.0 a spin - as mentioned it works nicely here, and also passes all test scenarios.

Fixed in version 3.5.0.

another question if i may, does this app take into account users with identity providers? i have yet to get this to work so i downloaded the node.js code and fiddled around with it. i can get it to run if i comment out the code looking for the login section. since my company computer uses my microsoft account to log into QLIK there usually isnt a login page in my browser.

Good question.
Should prob clarify that in the Readme.
BSI has only been tested with regular Qlik account.
2 factor logins will definitely not work, as BSI wont know the 2FA code.
You can run the tool with an option --headless false, to see what actions are actually carried out by BSI.

By "Qlik account" I mean an account that's present in the QS Cloud tenant.
As a test, what happens if you open an incognito browser window and log in to QS Cloud with your account?
Are you redirected to some other login provider? If so BSI will not work.
Will add some examples re this in the readme.

when im in network, i.e. in the office, i dont need to use 2FA. i did use the headless false but the screen runs so quick i never get to see it lol. but i just assume its using my microsoft account to login. wasnt sure if there was a way to check for that in the code. but ill keep tinkering :)

@bskemp01  Here's an idea:
What if we add a new command line option that makes BSI skip login to QS Cloud entirely?
Something like --skip-login.
I would have to invent/implement some way of testing that though... Or create a test build that you can test?
It's a rather minor change, maybe 15-20 minutes of work or something like that.
I'll add a section to the readme too, covering various aspects of logging in.

@bskemp01
3.6.0 was released earlier today, it includes the --skip-login flag.
Basic testing of it is done, but until proven otherwise it's still a beta feature, I'd say.

@bskemp01
Docs updated wrt --skip-login: https://github.com/ptarmiganlabs/butler-sheet-icons/tree/butler-sheet-icons-v3.6.0?tab=readme-ov-file#concepts-specific-to-qs-cloud

thanks for the update. im checking it out now


Change the VC version to 6.0SP5 with Processor Pack

The new closest version to the original binary.
https://github.com/diasurgical/devil-nightly/issues/15

Fixed in #7


golangci-lint errors found in go1.21 version

Go version
go version go1.21.5 linux/amd64
What operating system and processor architecture are you using (go env)?
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/root/.cache/go-build'
GOENV='/root/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.21.5'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/dev/null'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build1994747404=/tmp/go-build -gno-record-gcc-switches'

What did you do?
Used the latest go version available i.e.,  go1.21.5 linux/amd64
What did you expect to see?
No linting errors.
What did you see instead?
Got the linting error in go package files
EX:../../usr/local/go/src/net/http/internal/chunked.go:79:14: undefined: max (typecheck)
cr.excess = max(cr.excess, 0)
^
../../usr/local/go/src/net/http/internal/chunked.go:79:14: undefined: max (typecheck)
cr.excess = max(cr.excess, 0)
^
../../usr/local/go/src/net/http/internal/chunked.go:79:14: undefined: max (typecheck)
cr.excess = max(cr.excess, 0)

that's a problem of your linter

max is a valid function in Go 1.21. Your linter likely needs an update.

Ok thank you will update the linters version

Hello,
Why not, but why the linter go out of his scope ?


absence of asgs results in failed pipeline

When the asgs/ folder is empty, the create-security-groups job fails. Presumably when the default_security_groups/ folder is empty, the assign-default-security-groups job fails as well.
This might be completely intentional. Not a huge deal. An alternative might be to indicate that "no asgs were found", and the job exit successfully.

Released 1.0.12 (https://github.com/pivotalservices/cf-mgmt/releases/tag/v1.0.12)


Exhibit edit form error

Exhibit edit form error - style field font px check not checking for missing value

Added checks for undefined style size properties

issue resolved

issue resolved


Fix broken link to bitcoin-only.com/meetups

This is a fix for the page https://bitcoiner.guide/privacy/get.
There is a broken link for Buy it in person at a meetup.
This pull request changes that link:
from https://bitcoin-only.com/#meetups
to https://bitcoin-only.com/meetups

Thanks mate


Setup Connectivity and Node Model/Endpoint

Related User Stories
38. As a server admin, I want to be able to add nodes to share with
39. As a server admin, I want to be able to remove nodes and stop sharing with them.
40. As a server admin, I can limit nodes connecting to me via authentication.
41. As a server admin, node to node connections can be authenticated with HTTP Basic Auth
42. As a server admin, I can disable the node to node interfaces for connections that are not authenticated!

Done, #147, #160, #177,  and #182.


Update regression test input YAML to current YAML version

The version of YAML has changed since these files were generated and the
newer version seems to generate slightly different YAML output e.g. it uses
single-quotes instead of double-quotes.
Because of this, when we make a change and regenerate these files, it's
difficult to see the woods for the trees. By loading and saving all the YAML
files in this PR, I hope that it will be easier to see what's changed in
later commits.

Loading and saving all the files has removed some of the comments that were added to describe why certain values were chosen:

test/data/estimate-self-assessment-penalties-questions-and-responses.yml
test/data/help-if-you-are-arrested-abroad-questions-and-responses.yml
test/data/landlord-immigration-check-questions-and-responses.yml
test/data/legalisation-document-checker-questions-and-responses.yml
test/data/maternity-paternity-calculator-questions-and-responses.yml
test/data/overseas-passports-questions-and-responses.yml
test/data/register-a-birth-questions-and-responses.yml
test/data/register-a-death-questions-and-responses.yml
test/data/simplified-expenses-checker-questions-and-responses.yml
test/data/state-pension-topup-questions-and-responses.yml
test/data/uk-benefits-abroad-questions-and-responses.yml

Do you think we should try to retain those?

Oops! Yes. I'll sort that now. Well spotted!

I've updated the middle "Update YAML files using current YAML version" commit to include manually re-adding the comments and updated the commit message to explain how I did it. I've then force-pushed.

Looks good to me, although presumably you'll need to regenerate all the checksum data too?

Yes, I'll update checksums now and get the PR merged. Thanks.

I've just added a commit which updates the checksums and force-pushed in preparation for merging.

I've just rebased this against master and force-pushed in preparation for merging.


[FR] web/*.json

Short Description
with web/*.json giving user a lot of problem. Shouldn't we stop using it?
Possible solution
One of the following:

config.
allow user to disable the ui component, ie. enable_ui
enable_ui is false, we don't do bother reading/creating/updating the web/* files.
Most people probably run the bot headless.

db.
we have a db that store the inventories, and other logs.
the web component should talk to the db directly.

socket.
use the socket to get information

How it would help others
Less Issues ( i guess ? )

Yes. Yes we should. Websocket would be ideal, but otherwise db is good. JSON files are a pain in the a**.

@rawgni I'm talking about this these days, I'm developing a web ui but need more help from python devs.
Forexample I'm updating map location etc. via socket but if user select PolylineWalker then bot doesn't emit position_update. These days I'm talkin about this onyl.

#5035

@oralunal you're developing ANOTHER web ui?

I modified the main.js of the current web ui and got the websocket working and did some fix on it's layout and some bugs I've encountered... Like when viewing your list of pokemons, it won't show when you have an egg being incubated using the breakable incubator and added a breakdown of the eggs you currently have...
Am currently working on fixing the Actions when viewing your pokemons when actionsEnabled is set to true...


Demo Test got all " NAN scores"

Emm.... I propose issue again...
My dataset is 5 classes. There are several terms of my config.

config.NUM_CLASSES = 5
config.SCALES = [(1024, 2048)]
config.CLASS_ID = [0, 1, 2, 3, 4]
config.TRAIN.SCALE = True   (!!! This term you never use in your project!!!)
default.rpn_epoch = 4
default.rcnn_epoch = 12
dataset.ObjectSnap.NUM_CLASSES = 5
dataset.ObjectSnap.CLASS_ID = [0, 1, 2, 3, 4]
dataset.ObjectSnap.SCALES = [(1024, 2048)]

I build a small dataset with 41 images for verification. The net is trained well. Parts of my Log:

Epoch[2] Batch [20]	Speed: 10.90 samples/sec	Train-RPNAcc=0.903181,	RPNLogLoss=0.238827,	RPNL1Loss=0.933737,
Epoch[2] Batch [40]	Speed: 12.69 samples/sec	Train-RPNAcc=0.919255,	RPNLogLoss=0.200416,	RPNL1Loss=0.927370,
Epoch[2] Train-RPNAcc=0.919255
Epoch[2] Train-RPNLogLoss=0.200416
Epoch[2] Train-RPNL1Loss=0.927370
Epoch[2] Time cost=7.387

Epoch[0] Batch [20]	Speed: 1.18 samples/sec	Train-RCNNAcc=0.936756,	RCNNLogLoss=0.921319,	RCNNL1Loss=1.693366,	MaskACC=0.981722,	MaskLogLoss=0.033281,
Epoch[0] Batch [40]	Speed: 1.28 samples/sec	Train-RCNNAcc=0.946408,	RCNNLogLoss=0.617575,	RCNNL1Loss=1.681111,	MaskACC=0.983959,	MaskLogLoss=0.030308,
Epoch[0] Train-RCNNAcc=0.946408
Epoch[0] Train-RCNNLogLoss=0.617575
Epoch[0] Train-RCNNL1Loss=1.681111
Epoch[0] Train-MaskACC=0.983959
Epoch[0] Train-MaskLogLoss=0.030308
Epoch[0] Time cost=67.991

Finally, I get my final-0000.params model
However! When I use several images in my train lists, I got all NAN scores for both my demo test and evaluation test. Jesus! How could that happen??
PS: One more doubt point, the log shows I get a very high Acc (like 0.8~0.9) even at the very beginning of my training!
Hope get your reply soon~ Thanks~

do you meet this problem?
cityscape_train gt roidb loaded from model/res50-fpn/cityscape/alternate/cache/cityscape_train_gt_roidb.pkl
[08:00:27] ~/mx-maskrcnn/incubator-mxnet/dmlc-core/include/dmlc/logging.h:308: [08:00:27] src/operator/./cudnn_convolution-inl.h:419: Check failed: e == CUDNN_STATUS_SUCCESS (3 vs. 0) cuDNN: CUDNN_STATUS_BAD_PARAM
thank you very much!

@qinb Oh, do I use that poor description... Sorry for confusing you.
I already get my trained model. There is no error to crash.  The problem happened in

bash scripts/demo.sh
and it is no a crash. I do get my tested images. But they have no instances on it. By debugging, I find the output of network output['cls_prob_reshape_output'] in core.tester--im_detect_mask are all NAN.

sorry, I don't run this step yet

@qinb You can try my compiled mxnet  #8  might help....

@ChenFengYe
config.TRAIN.SCALE must be removed accidently. I will double check tomorrow. Thanks.
I suggest you to check whether you have make a right instance seg label image as cityscape did for your dataset.

@qinb  please check your cudnn version when you met 'cudnn_convolution-inl.h:419: Check failed: e == CUDNN_STATUS_SUCCESS (3 vs. 0) cuDNN: CUDNN_STATUS_BAD_PARAM'
I got the same error when use  cudnn 5.1, and update cudnn to 6 works for me.

@Zehaos I find that you change the scale of Images. However, where do you change the scale fo rpn annotation(box) and rcnn annotation(mask)

I think this error may cause by un-flip mask error.
I fully suggest newcomer take care of this error and do not set too small short-side of Config.SCALE. (above 800 suggested)
Thanks the advice from @Zehaos


nixos/x11: Respect XCOMPOSECACHE/XDG_DATA_HOME if set in xsession-wrapper

Motivation for this change
This is a revival of #42677 of which the fork of nixpkgs has been removed.
The first commit is to allow user settings in ~/.xsession to actually affect the process.
Compared to the old PR I have applied one fix https://github.com/NixOS/nixpkgs/pull/42677#discussion_r429615466 , removed the intermediate variable xdg_data_home, and unset compose_cache after use.
I am not sure if this would adversely affect anything, but in principle the behaviour doesn't change if the variables are not set.
Things done

[ ] 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
[ ] Fits CONTRIBUTING.md.

Not sure who can give a (final) opinion on this, so I added some of the recent contributors to this file as potential reviewers.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/305

@adisbladis As someone who recently committed to this file as well: do you have an opinion on this PR?

LGTM, I'd love to see this get merged. I've been trying to make my ~ more XDG Base Directory compliant.

Rebased to fix merge conflicts.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/410

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-in-distress/3604/41

As a single data point: I've been using this as a module override in my config since I started working on the PR and it Works For Me.


In Windows ng g writes paths with wrong slashes

Please provide us with the following information:

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Windows 10

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:
angular-cli: 1.0.0-beta.11-webpack.8
node: 5.7.0
os: win32 x64

Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.
run

ng g component test

in app.module.ts import adds with wrong windows slashes wich prevent typescript compiling
The log given by the failure.

Normally this include a stack trace and some more information.

Mention any other details that might be useful.

Thanks! We'll be in touch soon.

This should be fixed already in the latest beta (beta-16). I think the fix is included in beta-15 or so, but you are encouraged to try the latest beta directly of course.
Unless you still experience this with beta-16, you might want to close this issue.
Cheers,

Thanks


Doumentaion for Nanoflow Commons

When you look at the Marketplace module Nanoflow Commons the documentation section refers the reader to the Mendix Studio Pro Ref Guide with a link.  The Mendix Studio Pro Ref Guide refers the reader back to the MarketPlace documentation.
I have a specific question I was trying to address.  If I want to use the geolocation actions we get a runtime error because the library @react-native-community/geolocation is imported but it does not appear to be in the Mendix Native Template.  There are no instructions in the documentation that the library needs to be imported into a custom native template but this appears to be the only way to make it work.  Is this correct?
I am sure there are other things that users of the module might like to know too.
Thanks for your help.

@Chris-Karona Are you using Mendix 8 or 9?

Hi @Chris-Karona, I checked with our developer – so you should do the following:

Install the module in Studio Pro
Use the native builder UI tool from studio pro to configure the native app
The builder tool detects the dependency and add it to the native app automatically

I will look into the possibilities of improving theNanoflow Commons doc. I created a task in the backlog.


Handle c++ variables using std::optional

#4160
This essentially treats C++ variables as Python variables, where they can be bound or unbound, and stack allocated variables don't need a default constructor any more. This feature needs C++17 (or boost optional) and so is off by default.
It work with globals, class attributes, and locals. Untested on closure variables currently.
Long-term I'd like to run (pretty much) the entire C++ test-suite with this turned on for at least one Python version - i.e. almost everything that works in C++ mode should work with this. I'm not sure if this is feasible though - the following code (which is in the utility code) doesn't work (correctly)
cdef convert(list l):
    cdef vector[int] vec  # not initialized
    for item in l:
        vec.push_back(item)
    return vec

I think this is fine - but it does make it hard to test in bulk

I'm not convinced that this should be implemented as a type. Why not make it part of the variable's symtab Entry?

It works OK done as part of the symtab entry. I'm not sure if it's better or worse - some things are a bit more fiddly but it does avoid the extra type.


Refactor combine analyzer/planner

It's gotten fairly complex and is do for a rewrite, ideally a significant simplification. We may want to do something like just make combine an actual aggregate that just accepts any arguments, and handle everything else at aggregate startup time. All it really needs to do is choose the correct transition functions, apply combinein/transout functions, etc.

Can we deterministically figure out the merge function at aggregate start up? Two different aggregates could have the same transtype in which case I'm not sure if we can do anything.

Current all we use to build the combine Aggref are:

Target column/relation, which we get from the Aggref's TL
CV id, which we get from the matrel

So I believe we should be able to generate a combine call fairly easily. The problem may lie with the fact that currently for combines we create an actual Aggref node, so it may be too late to do anything with an Aggref that is essentially already executing.

Remove special combine handling in ParseFuncOrColumn.


remove footer

Hello there,
i've been going through the code and find no way to remove footer.
How do i edit the footer link
"empress-blog Casper Template"
Thanks in advance.

found the footer template, but was also wondering the same thing of how to modify without touching node_modules


[FLINK-14100][jdbc] Added Oracle dialect

What is the purpose of the change
Add the implementation of the Oracle dialect for JDBC connectors
Brief change log

Implemented OracleDialect extending AbstractDialect in JDBCDIalects
Added default OracleRowConverter
Added getMergeIntoStatement() into JDBCDialect to handle upsert

Verifying this change
I tested this change connecting directly to a running database (but I didn't cover all the types).
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? docs

@fpompermaier could you solve the conflicts..
@wuchong could you check this

https://ci.apache.org/projects/flink/flink-docs-release-1.12/zh/dev/table/connectors/jdbc.html

Database
Upsert Grammar

MySQL
INSERT .. ON DUPLICATE KEY UPDATE ..

PostgreSQL
INSERT .. ON CONFLICT .. DO UPDATE SET ..

**Oracle
Merge into

merge into [target-table] A using [source-table sql] B on ([conditional expression] and [...]...)

when matched then [update sql]

when not matched then [insert sql]**

@fpompermaier anything pending before the conflicts can be solved and the PR to be merged?

I resolved the conflicts and update to new changes introduced in https://issues.apache.org/jira/browse/FLINK-24253 here https://github.com/apache/flink/pull/17676

@eskabetxe Could it be that the commit hasn't been pushed yet? The latest commit I see 8ab267b861904c026a6fa30e98d21742c83d9979 from the 8th of March 2020?

@eskabetxe I misread your comment, thanks for the PR! I'll try to find a reviewer for that.

Thanks @fpompermaier and @eskabetxe for the contribution to support Oracle Database, I close this PR now.


Add delete methods when deregistering Hive partitions in distcp.

Allows not deleting files when deregistering a Hive partition in distcp.

@ydai1124 can you review? Thanks!

Coverage decreased (-0.5%) to 43.857% when pulling f9028f3ca40a7ffe74f3781d82639366a46bbaee on ibuenros:distcp-hive-deregister into e4297d63353ed6c08d6bfbf6cd1e5a117f4939e7 on linkedin:master.


Add Steering Group meeeting shareables

PR captures Steering Group executive summary, action items, and minutes from their meeting on: May 28

thanks!


Add a function to paste a copied picture into a tweet

| Software         | Version(s) |
| TweetDeck | 1.1.3 |
| Package          |
| Runtime          |
| Package Manager  |
| Operating System | Windows 10 1803 |

@Valentin144 thanks for this! Could you please follow the issue template which we have set up?

ok sry, im new to github.

This would be great!

Is there something I can help you with?

@jonathontoon I'd  be happy to help :)


feat: deploy Hello World App

Summary
Deploy Hello World App to GCP
Specification

Cloud Run
Secret Manager

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.0.0-main.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


how to

Hi,
How to  execute fuzzy matching by gosexy redis?
like:
business_info = client.get("business_*")
I hope it return all key=>values that key starts by  "business_"

You'll want to use SCAN with the MATCH argument - http://redis.io/commands/scan


Can't find Harmony Hub ?

Hi,
I'm getting an odd error ... all looks the same as usual (same logitech username/password, harmony hub has the usual ip address etc.). Clicking the Test On button gives "Request Error, Pleae look in your habridge log: error {"type":6,"address":"/lights/4","description":"Should not get here, no harmony hub available","parameter":"/lights/4state"}". Harmony app works fine from tablets etc.
When I look in the log file as suggested I see the errors below.
Cheers,
David
2016-11-26 18:43:55,698 [main] INFO  com.bwssystems.HABridge.BridgeSettings - reading from config file: /data/habridge/habridge.
config
2016-11-26 18:44:04,073 [main] INFO  com.bwssystems.HABridge.HABridge - HA Bridge initializing....
2016-11-26 18:44:06,199 [main] INFO  com.bwssystems.HABridge.SystemControl - System control service started....
2016-11-26 18:44:31.783:INFO::Thread-0: Logging initialized @38040ms
2016-11-26 18:44:38,258 [Thread-0] INFO  spark.webserver.JettySparkServer - == Spark has ignited ...
2016-11-26 18:44:38,430 [Thread-0] INFO  spark.webserver.JettySparkServer - >> Listening on <IP_ADDRESS>:8080
2016-11-26 18:44:38.676:INFO:oejs.Server:Thread-0: jetty-9.3.z-SNAPSHOT
2016-11-26 18:44:42.487:INFO:oejs.ServerConnector:Thread-0: Started ServerConnector@574b75{HTTP/1.1,[http/1.1]}{<IP_ADDRESS>:8080}
2016-11-26 18:44:42.494:INFO:oejs.Server:Thread-0: Started @48886ms
2016-11-26 18:44:50,597 [main] INFO  com.bwssystems.harmony.HarmonyServer - setup initiated ....
2016-11-26 18:45:00,016 [main] ERROR com.bwssystems.harmony.HarmonyHome - Cannot get harmony client (Harmony Hub) setup, Exiting
with message: Failed to parse response from Logitech auth service
java.lang.RuntimeException: Failed to parse response from Logitech auth service
at net.whistlingfish.harmony.protocol.AuthService.getLoginToken(AuthService.java:45)
at net.whistlingfish.harmony.HarmonyClient.connect(HarmonyClient.java:111)
at com.bwssystems.harmony.HarmonyServer.execute(HarmonyServer.java:78)
at com.bwssystems.harmony.HarmonyServer.setup(HarmonyServer.java:50)
at com.bwssystems.harmony.HarmonyHome.(HarmonyHome.java:45)
at com.bwssystems.HABridge.HABridge.main(HABridge.java:68)
Caused by: us.monoid.json.JSONException: JSONObject["GetUserAuthTokenResult"] is not a JSONObject.
at us.monoid.json.JSONObject.getJSONObject(JSONObject.java:579)
at net.whistlingfish.harmony.protocol.AuthService.getLoginToken(AuthService.java:41)
... 5 common frames omitted
2016-11-26 18:45:00,396 [main] INFO  com.bwssystems.HABridge.devicemanagmeent.DeviceResource - HABridge device management servic
e started....
2016-11-26 18:45:00,644 [main] INFO  com.bwssystems.HABridge.upnp.UpnpSettingsResource - Hue description service started....
2016-11-26 18:45:00,697 [main] INFO  com.bwssystems.util.UDPDatagramSender - Initializing UDP response Seocket...
2016-11-26 18:45:00,732 [main] INFO  com.bwssystems.util.UDPDatagramSender - UDP response Seocket initialized to: 50000
2016-11-26 18:45:03,355 [main] INFO  com.bwssystems.HABridge.hue.HueMulator - Hue emulator service started....
2016-11-26 18:45:03,558 [main] INFO  com.bwssystems.HABridge.upnp.UpnpListener - UPNP Discovery Listener starting....
2016-11-26 18:45:03,571 [main] INFO  com.bwssystems.HABridge.upnp.UpnpListener - UPNP Discovery Listener running and ready....
2016-11-26 20:37:35.819:WARN:oejh.HttpParser:qtp559290-12: bad HTTP parsed: 400 Bad URI for HttpChannelOverHttp@182c643{r=1,c=fa
lse,a=IDLE,uri=-}
2016-11-26 20:43:17.379:WARN:oejh.HttpParser:qtp559290-17: bad HTTP parsed: 400 Bad URI for HttpChannelOverHttp@1eb9702{r=1,c=fa
lse,a=IDLE,uri=-}
2016-11-26 20:43:17.448:WARN:oejh.HttpParser:qtp559290-15: bad HTTP parsed: 400 Bad URI for HttpChannelOverHttp@964b22{r=1,c=fal
se,a=IDLE,uri=-}
2016-11-26 20:43:17.504:WARN:oejh.HttpParser:qtp559290-12: bad HTTP parsed: 400 Bad URI for HttpChannelOverHttp@102fe8f{r=1,c=fa
lse,a=IDLE,uri=-}
2016-11-27 01:19:58,000 [qtp559290-24] WARN  com.bwssystems.HABridge.hue.HueMulator - Should not get here, no harmony hub availa
ble
2016-11-27 01:20:15,852 [qtp559290-16] WARN  com.bwssystems.HABridge.hue.HueMulator - Should not get here, no harmony hub availa
root@x10:/var/log/heyu#
2016-11-27 09:45:40.333:WARN:oejh.HttpParser:qtp559290-15: bad HTTP parsed: 400 Bad URI for HttpChannelOverHttp@311265{r=1,c=fal
se,a=IDLE,uri=-}
2016-11-27 09:48:01.772:WARN:oejh.HttpParser:qtp559290-14: bad HTTP parsed: 400 Bad URI for HttpChannelOverHttp@17e6a06{r=1,c=fa
lse,a=IDLE,uri=-}
2016-11-27 10:25:29,952 [qtp559290-29] WARN  com.bwssystems.HABridge.hue.HueMulator - Should not get here, no harmony hub availa
ble
2016-11-27 10:25:32,950 [qtp559290-15] WARN  com.bwssystems.HABridge.hue.HueMulator - Should not get here, no harmony hub availa
ble
2016-11-27 12:59:03,510 [qtp559290-16] WARN  com.bwssystems.HABridge.hue.HueMulator - Should not get here, no harmony hub availa
ble
root@x10:/var/log/heyu#

This was fixed in the latest release. Harmony changed the way you connect to it. Use the 3.5.1 version of the bridge and it should work.

Excellent, works perfectly, thanks.
On 27 Nov 2016 16:51, "jlekhter"<EMAIL_ADDRESS>wrote:

This was fixed in the latest release. Harmony changed the way you connect
to it. Use the 3.5.1 version of the bridge and it should work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bwssytems/ha-bridge/issues/279#issuecomment-263132904,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEdxQZPDiLfEAWYYhRizgyGqsOGlmtOuks5rCbUpgaJpZM4K9JyT
.


Expose IFeatureFilter & Add .js extension to import file

Why this PR?

Follow this PR: https://github.com/Azure/azure-sdk-for-js/pull/26238 to add .js extension to import files
IFeatureFilter should be exposed so that user can implement/add customized feature filter

should separate into two PRs

export type
migrate to ESM style


Question: multiple charts

I have a question regarding multiple charts:
Given following configuration:
helm {
charts {
main {
chartName = projectName
}
dev {
sourceDir = file('src/dev')
publish = false
}
}
}
Why isn't there a task available helmInstallDev ?
How do I install the second chart using gradle? Packaging works but there is no install rule created for the second chart

Found the solution by specifying the chart in the release block.


Added Nginx example for 1.9

referring to #92

As mentioned in the associated issue, a PR for this one was submitted by another user, so we used that one, which was very similar to this. But thank you for your work on this and other examples!


IE8 sent form without any validation

IE8 sent form without any validation every time, bug with condition(line 43, jQuery Validation Plugin 1.11.1):
if ( $(event.target).attr("formnovalidate") !== undefined ) {
validator.cancelSubmit = true;
}
and I fixed that:
if ( $(event.target).attr("formnovalidate")){
validator.cancelSubmit = true;
}
Please apply this fix in new version of plugin. Thanks

I've seen this kind of report before, and its usually caused by testing in compatibility modes, which this plugin doesn't support. Please make sure you test in real browsers.


Dynamic PIX QRCode

Codecov Report

Merging #6 (b0d25d1) into master (d205b80) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master        #6   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines          131       139    +8
=========================================
+ Hits           131       139    +8

Impacted Files
Coverage Δ

lib/qrcode_pix_ruby/payload.rb
100.00% <100.00%> (ø)

spec/qrcode_pix_ruby_spec.rb
100.00% <100.00%> (ø)

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 d205b80...b0d25d1. Read the comment docs.


Skeleton HTML for main structure of web page along with bootstrap specifications

HTML skeleton along with structure page will take with bootstrap parameters

We worked on this together on day 1


Support s3 paths

Widens IOStream types to IO and logdir::String to logdir::Any. Runs all tests with both a local path and an S3Path (via Minio.jl which uses minio to run a local s3-like server).
Closes #102
I had to change lots of * to joinpath to pass the config along correctly, and do a few other minor workarounds to get all the tests passing.

Test failures on v1.3 is because Minio only supports v1.5+. I made a PR to loosen that restriction: https://gitlab.com/ExpandingMan/Minio.jl/-/merge_requests/2

To be honest, I'm rather opposed to making patches to be compatible with anything as old as 1.3 on principle.  Since Minio.jl is a tiny package and the changes to make it compatible with 1.3 are small, I don't plan on standing in the way of your PR if that's what it comes down to, but let me at least make a case for not doing that.
For a language as young as Julia, 1.3 seems positively ancient, and the new LTS version will likely be announced very soon and I imagine it won't be all that long before explicit support for pre-1.6 becomes significantly less common.
More importantly for this particular case, tests seem to pass perfectly fine for this package on 1.6, is there some specific reason it is capped at 1.3 and testing on it?  I'd much prefer to resolve any lingering issues for tensorboard world on 1.6 than start making things backward compatible with a really old Julia version.

Not testing at all on Julia v1.3 here would be fine by me, but I think that’s up to the maintainers.

To be honest, I'm rather opposed to making patches to be compatible with anything as old as 1.3 on principle.

I feel you! I was testing TensorBoardLogger on v1.0 (judging from mails I get from time to time, I think a fair number of people use it in production environments where they work with older versions) and eventually gave up.
@ericphanson It's fine for me to test this stuff only on more recent versions.
If possible, I'd like to keep testing on older versions (1.3).
Eventually all this will be dropped, but it would be unfortunate to drop compatibility only because of testing requirements...
It should be possible to do that if you edit the Project.toml to delete the Minio dependency when running on 1.3. You can do it with some bash magic. Then hide the using Minio and it's tests behind a version check...
Does this sound feasible?
--

Widens IOStream types to IO and logdir::String to logdir::Any.

I'm mildly against adding the dependency (TBLogger already has many more than I'd like).
About the type parameters... I'm not sure if it would really be a win for performance, but would it cost anything to add those two fields as type parameters to TBLogger?
then we'd have static dispatch.
It may add a little bit compilation cost, but we could offset it by generating precompile statements later on, and has no drawbacks that I can think of.
@oxinabox do you agree?

tests seem to pass perfectly fine for this package on 1.6, is there some specific reason it is capped at 1.3 and testing on it?

Because I wanted to support the 1.0 LTS.
Eventually dropped it a few months ago and the oldest version supported became 1.3 (because of JLLs).

@ericphanson It's fine for me to test this stuff only on more recent versions.
If possible, I'd like to keep testing on older versions (1.3).
Eventually all this will be dropped, but it would be unfortunate to drop compatibility only because of testing requirements...
It should be possible to do that if you edit the Project.toml to delete the Minio dependency when running on 1.3. You can do it with some bash magic. Then hide the using Minio and it's tests behind a version check...
Does this sound feasible?

Ok, just gave this a try based on the stuff already in the workflow for v1.3, good idea!

About the type parameters... I'm not sure if it would really be a win for performance, but would it cost anything to add those two fields as type parameters to TBLogger?
then we'd have static dispatch.

That sounds fine to me, I think most users are probably not generating many different loggers but rather just 1 or at least 1 type, so I think there might not be too much compilation cost. Pushed a commit to do this.

@ericphanson I was more thinking of keeping Minio in project (otherwise it fails for newer versions) and literally remove the line with Minio from the project.toml file ?
grep -v '^Minio =' Project.toml > Project.tml

should take care of removing the UUID. Then to remove "Minio",  from the testing deps line it should be another command.

If you remove Minio from Project.toml tests will fail for users who clone the repository on v>1.6

Ok, I gave that a try

Tests passing 😄. Should I bump the version?

ops, I saw your comment only now.
I did it myself.
Thanks for your PR!

@ericphanson for some reason CI was passing in 1.3 the PR branch but failed as soon at it was merged in master.
It's a test that shouldn't really fail but... maybe I'm missing something.

Sure, let me take a look

That test passes for me locally on Julia 1.3, as does a full Pkg.test() (once I do the workarounds in CI to setup the environment). So I am a bit lost aha.

It looks like this was happening even before this PR: https://github.com/JuliaLogging/TensorBoardLogger.jl/runs/2764508008

I filed https://github.com/JuliaLogging/TensorBoardLogger.jl/issues/105 to track the CI failure. Since it’s unrelated to this PR, can we get a release so I can use the s3 path feature downstream?


Compilation database generation.

TL; DR: Aiden wants to use a gradleRIO hack so that he doesn't have to use vscode
When you build, gradle will generate options.txt files that it dumps in the build/tmp/compileFrcUserProgramDebugExecutableFrcUserProgramCpp and build/tmp/compileFrcUserProgramReleaseExecutableFrcUserProgramCpp folders.
The contents of these files looks something like this:

 expand
-x
c++
-c
-Wall
-Wextra
-std=c++17
-Wformat=2
-pedantic
-Wno-psabi
-Wno-unused-parameter
-Wno-error=deprecated-declarations
-fPIC
-rdynamic
-pthread
-Og
-g
-nostdinc
-I
/workspace/RobotCode2022/src/main/include
-I
/workspace/RobotCode2022/lib/include
-I
/workspace/.gradle/caches/transforms-3/41aaea03c19142e83441d9eb14367ea3/transformed/wpilibNewCommands-cpp-2022.2.1-headers
-I
/workspace/.gradle/caches/transforms-3/12c16b9377b895ccfc45f3f12ee1041c/transformed/REVLib-cpp-2022.1.1-headers
-I
/workspace/.gradle/caches/transforms-3/a55d9b918e6caa2d33f80bea99273f38/transformed/REVLib-driver-2022.1.1-headers
-I
/workspace/.gradle/caches/transforms-3/2b9ce387dc001246545daba3150c0417/transformed/wpiapi-cpp-5.20.2-headers
-I
/workspace/.gradle/caches/transforms-3/445ba3bbfd7ddba68a0dbf6943a7132f/transformed/api-cpp-5.20.2-headers
-I
/workspace/.gradle/caches/transforms-3/cb4de00697ee2fe0d4c781bafa620eaf/transformed/cci-5.20.2-headers
-I
/workspace/.gradle/caches/transforms-3/80635fd6694bbc8400abe0538282f8d0/transformed/wpiapi-cpp-sim-5.20.2-headers
-I
/workspace/.gradle/caches/transforms-3/173fb1102aafca56090092e10923c6e6/transformed/api-cpp-sim-5.20.2-headers
-I
/workspace/.gradle/caches/transforms-3/95fe0d2ca9afbe758348eb112f367d17/transformed/cci-sim-5.20.2-headers
-I
/workspace/.gradle/caches/transforms-3/8855ad2be18847ad7071775259d1e129/transformed/simTalonSRX-5.20.2-headers
-I
/workspace/.gradle/caches/transforms-3/d5b1b53d6388c7b5639e7227d88495d2/transformed/simTalonFX-5.20.2-headers
-I
/workspace/.gradle/caches/transforms-3/faa761211ef18beca2190bca42ddb8ab/transformed/simVictorSPX-5.20.2-headers
-I
/workspace/.gradle/caches/transforms-3/b27847e97d5b93129d10c78a0b5b1a27/transformed/simPigeonIMU-5.20.2-headers
-I
/workspace/.gradle/caches/transforms-3/802d5bcfd0415b4dc8b1254a88153224/transformed/simCANCoder-5.20.2-headers
-I
/workspace/.gradle/caches/transforms-3/0546f9ba5633d276349366971ea85de2/transformed/navx-cpp-4.0.442-headers
-I
/workspace/.gradle/caches/transforms-3/2c33e55f4a00175bd8c17633c6f39c89/transformed/wpilibc-cpp-2022.2.1-headers
-I
/workspace/.gradle/caches/transforms-3/6d23c1fe2004456cf706e3c41cd803fd/transformed/ntcore-cpp-2022.2.1-headers
-I
/workspace/.gradle/caches/transforms-3/516bfd2a0a9cace0d8be91fba6d6618c/transformed/hal-cpp-2022.2.1-headers
-I
/workspace/.gradle/caches/transforms-3/421c2a3cc99623b3aca6609d65980626/transformed/wpimath-cpp-2022.2.1-headers
-I
/workspace/.gradle/caches/transforms-3/828d385f88f8274d023de1086f1dd58b/transformed/wpiutil-cpp-2022.2.1-headers
-I
/workspace/.gradle/caches/transforms-3/82660f90536b60cc6dcc3333182a5d33/transformed/netcomm-2022.2.3-headers
-I
/workspace/.gradle/caches/transforms-3/e0472765e657721c12c281be95841751/transformed/chipobject-2022.2.3-headers
-I
/workspace/.gradle/caches/transforms-3/3d5dace4cb6ae2a9a26cd9ba78c9fe55/transformed/visa-2022.2.3-headers
-I
/workspace/.gradle/caches/transforms-3/298ce67bdf85f6f56a9b648cedf7e102/transformed/cameraserver-cpp-2022.2.1-headers
-I
/workspace/.gradle/caches/transforms-3/caf4cb833c912ca0d9d59cb41941f5b9/transformed/cscore-cpp-2022.2.1-headers
-I
/workspace/.gradle/caches/transforms-3/b23233c12c84ef29bfe67b931ca5cd8d/transformed/opencv-cpp-4.5.2-1-headers
-isystem
/home/gitpod/.gradle/toolchains/frc/2022/roborio/arm-frc2022-linux-gnueabi/usr/lib/gcc/arm-frc2022-linux-gnueabi/7.3.0/include
-isystem
/home/gitpod/.gradle/toolchains/frc/2022/roborio/arm-frc2022-linux-gnueabi/usr/lib/gcc/arm-frc2022-linux-gnueabi/7.3.0/include-fixed
-isystem
/home/gitpod/.gradle/toolchains/frc/2022/roborio/arm-frc2022-linux-gnueabi/usr/include/c++/7.3.0
-isystem
/home/gitpod/.gradle/toolchains/frc/2022/roborio/arm-frc2022-linux-gnueabi/usr/include/c++/7.3.0/arm-frc2022-linux-gnueabi
-isystem
/home/gitpod/.gradle/toolchains/frc/2022/roborio/arm-frc2022-linux-gnueabi/usr/include/c++/7.3.0/backward
-isystem
/home/gitpod/.gradle/toolchains/frc/2022/roborio/arm-frc2022-linux-gnueabi/usr/include

Obviously it's just a big list of compiler options, which means we can generate a compile_commands.json  file using this data, which means that we can use editors/ides like vim or clion. Additionally, this means we can probably get better c++ completion in vscode itself because I've noticed that the frc completion is pretty subpar.
The compilation database documentation is pretty simple. Here it is.
This is something I would really like to work on in my free time.

Need to find where wpi keeps its compiler though

It seems to be (not on windows) at $HOME/.gradle/toolchains/frc/2022/roborio/bin/arm-frc2022-linux-gnueabi-g++ assuming it was installed through ./gradlew installRoboRioToolchain. I think it might be installed in a different location for the "proper" install.

I'm not entirely clear on what specifically you want to do, but it's definitely something to look into. Gradel and VScode can kinda suck, and more options would be nice. I know that Noah used to be able to deploy from InteliJ, but I think he was still using the same commands as in VScode. I also know that frc supports some level of Cmake compilation, but that might only be for installing the tools. As of for the compiler, I think I found it in ~/wpilib/[YYYY]/roborio/bin/
That being said, it should be a goal for the offseason or next year. It's too far into the season to completely overhaul our build system.

That being said, it should be a goal for the offseason or next year. It's too far into the season to completely overhaul our build system.

This wouldn't be overhauling the build system.
What I am doing is trying to generate a compilation database based on the output of gradle. The plan isn't to make a change to gradle. It's to get better intellisense so I can use clion or vim.
Since gradle dumps all of its compile options into a text file after build/configure, I can parse that file to generate a compile_commands.json file which will list all of the source files and the commands required to compile them. IDEs and editors then use this to generate code completion and code insights.
This is essentially going to be a script that I write that you would then run after compilation to get code completion in a different editor.

Thanks for the explication. That sounds great!

I hate VSCODE, thanks for the alternative aids.

here's the completed project. Still need to add cliargs.

I hate VSCODE, thanks for the alternative aids.

doesn't work on windows. use the gradle plugin

@gcjurgiel @ADawesomeguy check it out

sexy


[WIP] Added DotCover Cover command

Added DotCover Cover command. Needed since TeamCity only want snapshots, not HTML/XML reports.
If possible, to remove duplicate code, I would like to reuse DotCoverCoverSettings in DotCoverAnalyser by having DotCoverAnalyseSettings to inherit from DotCoverCoverSettings.  Is this allowed since it will make documentation unclear?
NOTE: Quickly hacked using my Linux box, need to verify functionality on Windows (dotCover.exe doesn't run under Mono). But this have to wait until monday when I'm back at work.
//cc @patriksvensson

@mholo65 Nice! :+1:
Funny, but as you published this PR I was updating the site to show inherited members better (https://github.com/cake-build/website/pull/65) :smile: As soon as that PR is merged, this won't be a problem anymore. As long as it's not a breaking change, the refactoring is OK with me.
I would however recommending adding an abstract DotCoverSettings for settings shared between different (related) DotCover tools and add all shared functionality there.
Great job!

Nice! Shouldn't be a breaking change, Analyse uses all settings as Coverer plus ReportType.

@patriksvensson, refactored, rebased and done.
An additional suggestion for removing duplicate code.

Create an abstract class for handling DotCoverSettings argument creation and interception of the unit test runner process.

DotCoverWhateverName<TSettings> : DotCoverTool<TSettings> where TSettings : DotCoverSettings

Or an internal extension method (GetArguments) for DotCoverSettings and move InterceptAction to DotCoverTool

internal static ProcessArgumentBuilder GetArguments(this DotCoverSettings settings, ProcessArgumentBuilder builder)

What do you think? Or should we leave it as is.

@mholo65 Sorry for getting back sooner about this.
This PR looks good to me :+1:
I think it's better to do more refactoring in a separate PR. It makes it easier to see how things are affected.
@devlead and @gep13: Any comments on this PR before merging?

@patriksvensson looks good to me, just left one minor comment, remove WIP and rebase, also do we have an referring issue to the PR assigned to a release?

@devlead Doh! Assumed there was an issue for this.
@mholo65 Can you create an issue for this?

@mholo65 Perfect, thanks!

Trimmed, rebased and done.
@devlead You probably meant the trailing whitespace in DotCoverSettings.cs:35 not DotCoverAnalyseSettings.cs:35 since You are referring to an deletion in your comment.

HOLD!. sorry, forgot to rebase :)

Rebased and checks have passed.

Merged! Thank you for this! :+1:


S3FS mount on Kubernetes using helm-chart

I am setting up CVAT on kubernetes  using helm chart. I want to mount S3 using S3FS. But I couldn't find any documentation on mounting S3fs on helm. Can someone guide me

Hi @RohithkumarRavi I would recommend taking a look at something like datashim. We have used it with CVAT v1.6.0.
My issue now is that in CVAT 2.x there's several backend pods running and I'm not sure in which ones I should mount the PV created by datashim. Should I add it as additional volume to the same pods that require the default storage?
Could someone help with this, please?

I think I got the answer to my question from https://opencv.github.io/cvat/docs/administration/basics/installation/#share-path.


Global project startup action

We have:
SWS/S&M: Set project startup action
SWS/S&M: Set global startup action
One mone very useful addition could be made.
An action that is run whenever a project gets loaded in a sense that we wouldn't assign this project action to individual projects but on a global basis so it would run on ALL projects. This is different from current project startup action in a sense that it would run on all projects without a need to assign the action to a project.
These would be the actions introduced by this feature:
SWS: Clear global project startup action
SWS: Set global project startup action
SWS: Show global project startup action
P.S.
To not confuse users, maybe a little "what it is" explanation could be added to the dialog that shows startup actions.

Now available as seperate extension, so closing this one:
https://forum.cockos.com/showthread.php?t=269026


Implement scrolling title on now playing and general media info screens

Hello 😃 following on from #612 for issue #599
When the title length would exceed maxLines, convert it instead to a single line ellipsized title which scrolls horizontally when focused. Titles that would fit normally on <= 2 lines are unaffected.
Found the marquee doesn't take effect unless setHorizontallyScrolling() is directly called which is why it is there instead of in styles.

I'm having some issues with my main pc, so i'm not able to test this right now. @poisdeux if it's good by you, please merge it.


Need to add xacro files to urdf

The robot has inconsistencies in the degrees since it uses a estimate of pi. To solve this is use variables and for that we need to implement xacro files.

This was implemented.


remove descriptions from stacks crds to reduce the filesize

By removing descriptions from the stacks crd we reduce the filesize from
700k to 220k, which is sufficient for kubectl apply -f to work.
The annotation set by kubectl apply (which reproduces the json sent to
the API by kubectl) was exceeding the size limit for annotations.
Fixes #698
Depends on crossplaneio/crossplane#701 (for controller-gen crd:maxDescLen=0)

Checklist

I have:

[x] Run make reviewable to ensure this PR is ready for review.
[x] Ensured this PR contains a neat, self documenting set of commits.
[ ] Updated any relevant documentation, examples, or release notes.
[ ] Updated the RBAC permissions in clusterrole.yaml to include any new types.

#701 has been closed awaiting a replacement by @muvaf


Don't mutate/use passport.authenticate options object

It seems that reusing an options object causes very bizarre very difficult to debug bugs. I haven't looked at the code, but I feel pretty confident it's because the options object is being mutated to store middleware specific state that's causing the passReqToCallback callback's return value to be set on req.account when it should be req.user and ends up as a 404 (passes through to next route, but no other routes catch obviously) instead of redirecting to successRedirect.
404s: "Cannot GET /auth/facebook/callback?code=..."
let accountRedirects = {
  successRedirect: '/profile',
  failureRedirect: '/'
}
app.get('/auth/facebook', passport.authenticate('facebook'))
app.get('/connect/facebook', passport.authorize('facebook'))
app.get('/auth/facebook/callback', passport.authenticate('facebook', accountRedirects))
app.get('/connect/facebook/callback', passport.authorize('facebook', accountRedirects))

Succeeds:
app.get('/auth/facebook', passport.authenticate('facebook'))
app.get('/connect/facebook', passport.authorize('facebook'))
app.get('/auth/facebook/callback', passport.authenticate('facebook', {
  successRedirect: '/profile',
  failureRedirect: '/'
}))
app.get('/connect/facebook/callback', passport.authorize('facebook', {
  successRedirect: '/profile',
  failureRedirect: '/'
}))

FWIW, this example only uses Facebook, but the same issue occurs with Twitter. Haven't tested with others.

Can you look at the code and find out if what you suspect is true?  If so, I'd appreciate a pull request with a fix.
Sent from my iPhone

On Apr 19, 2015, at 1:16 AM, Adam Crabtree<EMAIL_ADDRESS>wrote:
It seems that reusing an options object causes very bizarre very difficult to debug bugs. I haven't looked at the code, but I feel pretty confident it's because the options object is being mutated to store middleware specific state that's causing the passReqToCallback callback's return value to be set on req.account when it should be req.user and ends up as a 404 (passes through to next route, but no other routes catch obviously) instead of redirecting to successRedirect.
404s: "Cannot GET /auth/facebook/callback?code=..."
let accountRedirects = {
successRedirect: '/profile',
failureRedirect: '/'
}
app.get('/auth/facebook', passport.authenticate('facebook'))
app.get('/connect/facebook', passport.authorize('facebook'))
app.get('/auth/facebook/callback', passport.authenticate('facebook', accountRedirects))
app.get('/connect/facebook/callback', passport.authorize('facebook', accountRedirects))
Succeeds:
app.get('/auth/facebook', passport.authenticate('facebook'))
app.get('/connect/facebook', passport.authorize('facebook'))
app.get('/auth/facebook/callback', passport.authenticate('facebook', {
successRedirect: '/profile',
failureRedirect: '/'
}))
app.get('/connect/facebook/callback', passport.authorize('facebook', {
successRedirect: '/profile',
failureRedirect: '/'
}))
—
Reply to this email directly or view it on GitHub.

Sure, but not ATM. Perhaps in the coming month. Feel free to ping me here if I forget.

I have had a similar problem using passport-azure-ad-oauth2. This inherits from passport-oauth2 but it overrides authorizationParams to
Strategy.prototype.authorizationParams = function (options) {
  return options;
};

Where the original in passport-oauth2 returns an empty object literal. The overridden version returns a reference to the options object which is then modified to form parameters for the request to the authenticating server, which clobbers options, causing problems in subsequent attempts to authenticate.
This can be fixed in passport-azure-ad-oauth2 by returning a clone, rather than a reference to the options object, or by not overriding the method at all, as it isn't obvious (to me) if or when one might actually want options to the authenticate strategy to be mingled with parameters to the request to the authorizing server. In my case, the options object is and should remain empty.
An alternative would be to pass a clone of the options object to strategy.authenticate, in passport/lib/middleware/authenticate.js. This would have the advantage that it would solve the problem in any other strategies that do the same as passport-azure-ad-oauth2.


Easily make an ObsCollection from an existing DataFrame

I am used to reading a certain file-format with observations and creating a Pandas DataFrame from it, where each row of the DataFrame consists of one location. The columns of the DataFrame consist of the metadata of the locations and the time series information is in one of the columns.
Is it possible to easily make an ObsCollection from this DataFrame?
When I do (where df is the DataFrame I mentioned):
oc = obs.ObsCollection(df)
I get no error (I expected to get an error).  I cannot use any of the ObsCollection methods however. When I issue the command pts = oc.to_pastastore() for example I get the following error:
AttributeError: 'ObsCollection' object has no attribute 'obs'
My guess is that I should make Obs-objects, add them to a list, and then call ObsCollection.form_list(). Am I right??

You're right, creating an ObsCollection from another DataFrame is currently not validated at all. This should probably be improved. This is not something we've thought about much, because we almost always work from files using the from_* methods.
You can make any DataFrame an ObsCollection right now, but all derived methods will subsequently fail because the ObsCollection expects a column called obs that contains Obs-objects.
The method you propose is the best way to go for now:

First create a list of Obs objects from the timeseries in each row of your dataframe
Then call ObsCollection.from_list()

To improve the package we should either add some validation to the ObsCollection.__init__() or add a from_dataframe() method. @OnnoEbbens, any idea which would be better?

Good idea. I think we can create both methods:

A from_dataframe() method with an obs argument (that defaults to an observation.Obs object). - An ObsCollection.__init__() method that can handle multiple inputs. If the input is a DataFrame the from_dataframe method is called. If the input is a list of Obs-objects we can call the from_list method.

Added some extra options for constructing an ObsCollection. You can now create an ObsCollection:

from an obs object -> oc = hpd.ObsCollection(hpd.Obs())
from multiple obs objects -> oc = hpd.ObsCollection(o1, o2, o3)
from a list or tuple of observations -> oc = hpd.ObsCollection([o1, o2, o3])
from a dataframe -> oc = hpd.ObsCollection(pd.DataFrame())


Add info about accessing the attribute

Summary

Would this be sufficient to for https://github.com/PrefectHQ/prefect-snowflake/issues/32?
Relevant Issue(s)

Tries to close https://github.com/PrefectHQ/prefect-snowflake/issues/32
Checklist

[ ] Summarized PR's changes in CHANGELOG.md

Need to test if the params actually work.