Sep 7 - 11: Rust Programming Basics

Event Information

Category
Details

Reactor Topic
Coding, Languages, Frameworks

Monthly Topic (if applicable)
Skill Up September

Weekly Topic (if applicable)
Rust

Stream Date
Sep 7 - Sep 11, 2020

Stream Duration
90 min

Title
Rust Programming Basics

Description
Rust is a programming language that empowers developers to build reliable and efficient software. It is fun to write, easy to read, and high performing. In this workshop, we will explore how to start coding in Rust. This workshop will require you to use VS Code and the Rust extension to write code.

Content
https://github.com/microsoft/Reactors/tree/main/online-event-resources/web-development/rust101

Additional Resources:

Workshop details

Date
Local Start Time
Location
Speaker
SharePoint ID

Sep 7
4:00 PM GMT+4
Abu Dhabi
Sameer Arora
7917

Sep 7
6:00 PM  GMT+3
Tel Aviv
Sameer Arora
7918

Sep 8
8:00 PM  GMT+10
Sydney
Andrew Smith
7919

Sep 8
6:30 PM GMT+5:30
Bangalore
Sameer Arora
7920

Sep 9
3:30 PM GMT-3
Sao Paulo
Tiago Guimarães
7921

Sep 9
7:30 PM GMT+8
Shanghai

7922

Sep 9
6:00 PM GMT+1
London
Brian Sletten
7923

Sep 9
4:00 PM PDT
US/Canada
Andrew Smith
7924

Event Checklist
10 Weeks Prior

[X] Reactor Content Team (RCT) opens a new issue for an upcoming local workshop filling in the Event Information and Workshop details tables. RCT member who owns content (content owner) this week will be the assignee.
[X] RCT and content owner discuss details of the event in the comments of this issue. RCT adds a confirmed-event label and local-digital-event tag to the issue and adds event to the Local Digital Events project. Issue will appear in the Upcoming Streams column
[X] RCT adds a ready-for-marketing-edit label so the RCT can review title and description

8 Weeks Prior

[x] RCT does a review of title and description and removes the ready-for-marketing-edit label
[x] RCT moves the issue to the Ready for SharePoint column
[ ] RCT informs the Reactor Marketing Team of the new event information
[ ] RCT confirms the speaker
[ ] RCT provides speaker with assets (e.g. slides, overlays) and the survey data for the event
[ ] RCT moves the issue to the Content Preparation In Progress column

5 weeks Prior

[ ] Content owner opens a PR with the new content for the workshop on the customer-facing Reactor repository and adds the content-development and local-digital-event tag to the PR.
[ ] Content owner adds to the same PR modification to the Streaming README
[ ] RCT reviews, approves, and merges the changes
[ ] RCT shares content with the vendor/instructor
[ ] RCT provides vendor/instructor with assets (e.g. slides, overlays) and the survey data for the event
[ ] RCT ensures that instructors have received an invite to the workshops and that PM team works with instructors to get setup in the platform (e.g. Teams, Teams Live Event)

1 Week Prior

[ ] Connect vendor/instructor with the PM(s) for the locations where this event has been marketed
[ ] Check-in with vendor/instructor that they are prepared for the workshop
[ ] RCT moves the issue to the Ready to Stream column

During and After Stream

[ ] Instructor (and optional moderator) run the stream
[ ] _(Optional)_RCT submits recording to be uploaded to the Reactor YouTube and to be made available on LearnTV
[ ] RCT moves issue to the Stream Complete column

@meaghanlewis
Edited abstract for your review:
Rust Programming Basics
Rust is a programming language that empowers developers to build reliable and efficient software. It is fun to write, easy to read, and high performing. In this workshop, we will explore how to start coding in Rust. This workshop will require you to use VS Code and the Rust extension to write code.

This edit looks good to me. ✅

@mebaumb
Abstract final and moved to next stage.

These titles/Abstract/Topics/Length of event updates have been added into Sharepoint. Waiting on DI for speakers (6/26)

Abu Dhabi, Bangalore and Tel Aviv have been published since we have Speaker info. (7/20)

Sent Sao Paulo title description to Caio for translation (7/23)

Need to publish Sao Paulo - Dynamics down

Stream numbers sent to DI and workshops delivered.


Windows 2012 R2 Ent with over 64GB of RAM

I used the script to build an image, which worked well, however now that im spinning up VMs with it i've come across an issue with VMs that have over 64GB of RAM. After the creation of an instance as windows boots I get the following error
Windows could not finish configuration the system. To attempt to resume configuration, restart computer.
So, i restart it and it ends up back at the same error message.
Thoughts?

Hello,
Can you give more information related to the setup you have: what hypervisor, RAM given to the vm?
Thank you,
Adrian Vladu

Hello again,
I have found the issue you are facing -- is related to the swap size. Basically, the swap size is by default computed by Windows at boot time and is proportional to the available RAM. In your case, the swap size is bigger than the size of the initial disk (as OpenStack does not expand the partition automatically before instance boot).
The imaging tool has already an option: DisableSwap, which you need to set on $True: https://github.com/cloudbase/windows-openstack-imaging-tools/blob/master/WinImageBuilder.psm1#L892
If the DisableSwap option is set to $True, before sysprep the swap will be set to 0 and at the first boot time, during specialize and after cloudbase-init has expanded the partitions, the swap will be set to the default Windows value (automatically managed).
Let me know if you have any questions on the solution.
Thank you,
Adrian Vladu

Awesome, that makes sense. I'll give it a try.
Thanks!


Autotile right clicking with pencil makes UI hang

Godot version:
31f8616e6c
OS/device including version:
OS: Ubuntu 20.04.1 LTS x86_64
GPU: Intel Iris Plus Graphics G7
Built Godot with -j8 platform=x11 target=release_debug
Also tested on Windows10, NVidia GPU and e16729a8c, same results.
Issue description:
I have a tile set with an autotile. I start painting the autotile on my scene: OK. If I right click to delete tiles it works but the UI hangs after that. I can't change the scene or nodes. Also, if I quit afterwards, I got a crash with following trace:
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7f59d386b210] (??:0)
[2] /home/oragon/bin/godot4-fixed() [0x351153b] (/home/oragon/community/godot/./core/templates/hash_map.h:313)
[3] /home/oragon/bin/godot4-fixed() [0x36d696b] (/home/oragon/community/godot/./core/variant/variant.h:256)
[4] /home/oragon/bin/godot4-fixed() [0x1761d1b] (/home/oragon/community/godot/./core/templates/cowdata.h:369 (discriminator 1))
[5] /home/oragon/bin/godot4-fixed() [0x19c8b06] (/home/oragon/community/godot/./core/templates/cowdata.h:369)
[6] /home/oragon/bin/godot4-fixed() [0x19cd1f9] (/home/oragon/community/godot/editor/scene_tree_editor.cpp:539)
[7] /home/oragon/bin/godot4-fixed() [0x8ce4de] (/home/oragon/community/godot/./core/object/method_bind.h:291)
[8] /home/oragon/bin/godot4-fixed() [0x36d8736] (/home/oragon/community/godot/core/object/object.cpp:787 (discriminator 1))
[9] /home/oragon/bin/godot4-fixed() [0x350e499] (/home/oragon/community/godot/core/variant/callable.cpp:53)
[10] /home/oragon/bin/godot4-fixed() [0x36d3633] (/home/oragon/community/godot/core/object/message_queue.cpp:259)
[11] /home/oragon/bin/godot4-fixed() [0x36d39bc] (/home/oragon/community/godot/core/object/message_queue.cpp:306)
[12] /home/oragon/bin/godot4-fixed() [0x2212a26] (/home/oragon/community/godot/scene/main/scene_tree.cpp:415 (discriminator 2))
[13] /home/oragon/bin/godot4-fixed() [0x86d433] (/home/oragon/community/godot/main/main.cpp:2404)
[14] /home/oragon/bin/godot4-fixed() [0x84bd71] (/home/oragon/community/godot/platform/linuxbsd/os_linuxbsd.cpp:261)
[15] /home/oragon/bin/godot4-fixed(main+0x114) [0x845004] (/home/oragon/community/godot/platform/linuxbsd/godot_linuxbsd.cpp:58)
[16] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f59d384c0b3] (??:0)
[17] /home/oragon/bin/godot4-fixed() [0x84a52e] (??:?)

Steps to reproduce:

Create a new project
Create a new TileSet resource and add it a texture

Configure an autotile (16x16, 3x3 minimal) and its bitmasks

Save the tile set resource (<-- state of the minimal project zip)
Create a new Scene with Node2D root
Add a TileMap and give it the tileset (16x16)
Start painting the autotile with pencil tool
Right click with pencil tool to erase some
The UI is stuck

Try the + button to create a new scene -> Viewport is unchanged
Try adding, moving nodes in the sceeen tree: nothing changes
Try quitting. UI hangs, then crashes.

Minimal reproduction project:
TileSetUIBug.zip

@OragonEfreet Can you still reproduce this issue in 3.3? I tried the minimal project and there is no problems.

@KoBeWi Seems ok!


issues found when changing language.

I'm not sure if this is a bug or not. When I'm on my way to import data, say when I finish importing vertices, if I change from Chinese to English. It's initialized to the beginning. I have to re-choose the space and re-import vertices.

It's common, if you switch the language, we can't save the data you operate.


Add missing concat plugin properties

I saw that there were some properties missing on the concat plugin documentation and this adds them. They were added to the plugin on https://github.com/kube-logging/logging-operator/pull/1170.

Thanks a lot!


Add dependencies

The pip package depends on azure core and azure identity. Without these package use of this fails with an import error
see for example the qcodes build here  https://github.com/QCoDeS/Qcodes/pull/3426/checks?check_run_id=3801469033
This fails with
qcodes/logger/logger.py:25: in <module>
    from opencensus.ext.azure.log_exporter import AzureLogHandler
/usr/share/miniconda/envs/qcodesforge/lib/python3.7/site-packages/opencensus/ext/azure/log_exporter/__init__.py:33: in <module>
    from opencensus.ext.azure.common.transport import TransportMixin
/usr/share/miniconda/envs/qcodesforge/lib/python3.7/site-packages/opencensus/ext/azure/common/transport.py:22: in <module>
    from azure.core.exceptions import ClientAuthenticationError
E   ModuleNotFoundError: No module named 'azure'

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

requirements: run: azure-identity>=1.5.0,<2.0.0 must contain a space between the name and the pin, i.e. azure-identity >=1.5.0,<2.0.0

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

Sorry, this is still broken

The packaging of opencensus-ext-azure is awful since they don't tag releases for contrib/* packages so you have no idea what git sha the pypi sources actually came from.
With a little bit of digging, you can find that the opencensus-ext-azure=1.1.0 sources correspond to the v0.8.0 tag for the opencensus-python package, where the deps are specified as:
    install_requires=[
        'azure-core >= 1.12.0, < 2.0.0',
        'azure-identity >= 1.5.0, < 2.0.0',
        'opencensus >= 0.8.0, < 1.0.0',
        'psutil >= 5.6.3',
        'requests >= 2.19.0',
    ],

https://github.com/census-instrumentation/opencensus-python/blob/v0.8.0/contrib/opencensus-ext-azure/setup.py#L43-L49
You can confirm the above dependencies by downloading the pypi sources and inspecting the tarball.
So, the final error in the deps is that opencensus-ext-azure requires opencensus>=0.8.0, not >=0.7.13

In general, I think it's an awful idea to use automerge as it's just a recipe for broken packages all over the place, and really diminishes the benefits of conda as a package manager if none of the deps agree with upstream and installed environments are consequently broken with conda.

If we want to do things properly we should now mark all current build versions as broken... which IMHO is a lot more work than casting a cursory glance at the deps before manually adding the automerge label to the PR.

@dhirschfeld, feel free to set automerge to false again in https://github.com/conda-forge/opencensus-ext-azure-feedstock/blob/master/conda-forge.yml.

I'm not a fan of automerge, but if you think it solves more problems than it creates, I'm ok leaving it as-is...

I am maintaining about 40 conda-forge repos, many of which I am the sole maintainer. So in order to not get swamped with work, I adopted the automerge functionality. If something breaks, I fix it. Since here it's not only me that is maintaining the recipe, it might make less sense. Still, I am happy to remove it.

It's fine. The alternative is a backlog of PRs, which I'll definitely get to... at some point 😬


Release 0.12.0

@ronkok here:

... #2219, which was fixed by PR #2220 in March. The problem is that we have not had a release issued since September. There are also some bug fix PRs waiting for review, much less release.

We should review at least the bug-fix PRs, and then do a release.  (Sorry, I've been slacking on this as much as everyone.)  @ronkok, can you list which PRs you think are important and/or easy for review before release, so we can prioritize?  I'll then make a list here that can track progress:
Bug fixes:

[x] PR #2234, Fix a parenthesis rendering bug — awaiting responses/revisions
[x] PR #2278, Prevent a crash when \substack has no argument.
[x] PR #1841, Remove space after \\
[x] PR #2290, Fix \boldsymbol{\Omega}
[x] PR #2236, Fix fraction bar color
[ ] PR #2295, Fix website trust

PRs that aim at making the documentation more clear or complete:

[x] PR #2269
[x] PR #2279
[x] PR #2280 — blocked on https://github.com/bradhowes/remarkable-katex/issues/4
[x] PR #2289

Cleanup:

[ ] PR #2156, Font cleanup

Bug fixes:

PR #2234, Fix a parenthesis rendering bug.
PR #2278, Prevent a crash when \substack has no argument.

Others have contributed PRs that aim at making the documentation more clear or complete:

PR #2269
PR #2279
PR #2280

There are also some cool feature enhancements, but we should not wait for their review. We ought to get a release out right away.

re the comment on incorrect rendering via a custom element in #2286:
re the below, unfortunately not the case.  If I remove output: mathml from options in elm-katex.js, the output is as in the attached image, which is why I had put that option in the code.

I believe this is an issue with MathML, not KaTeX. (But @ronkok can correct me on that.) If you take out the output: 'mathml', and let KaTeX do its thing (use both HTML and MathML output), you'll probably get better results.

Is this something for which there will be a solution in the relatively near future?
Thanks!

If possible, it'd be best get either #2156 or #2134 merged, but as it has been a long time since the last release, I don't mind including them in the next release.

It'd be nice to get your nice PRs #2134, #2131, #2085 merged, but that is probably a larger effort. I'm imagining 0.12.0 would be good to just get the various improvements over the last six months, but as #2134 is a breaking change, maybe someone would want those improvements (including bug fixes) without having to adjust their code to avoid relying on greediness. (I'm wondering whether it would be better to do a deprecation warning in a release beforehand...? Or keeping greediness, but with a nonstrict warning? Anyway, would kinda like to push this off...)
#2156 would be nice to merge (hence my partial review). Let's see if we can get that one in.
@ylemkimon When the time comes (hopefully soon), do you want to do the release process or should I? You've done it more recently, so it might be easier for you (happy to review the resulting PR), but I'm also willing to do it.

I can do it. But another concern is #2082, which may cause security issues. I think its documentation is insufficient.

@ylemkimon Could you elaborate on the lack of documentation? I looked at https://katex.org/docs/next/supported.html#html and the strict documentation in https://katex.org/docs/next/options.html and it seemed OK in terms of security. We just need to be careful in the release notes to point out that there's new security options, so security: true has a different meaning now than before.
Perhaps the rendered form in https://katex.org/docs/next/supported.html#html would be clearer if we also included the raw HTML repeated like ......x......?

@edemaine I don't have any specific thoughts, but for instance, https://github.com/KaTeX/KaTeX/pull/2296/files#r453218268. I think we should explicitly state there exists commands that loads external resources or change HTML attributes.

Perhaps we've reached a good time to do a release? Or did you want to finish #2301 first?

@edemaine I think it'd be safe to do with the current environment. I'll prepare a release PR.


EFRS-846 - created an endpoint for cloning collections and added test…

…s for this case

I have read the CLA Document and I hereby sign the CLA


Add CIRRUS_URL param to strato-run.sh

@samrit can you take a look at the value of CIRRUS_URL on my p2p branch and push any necessary changes there as well?
https://github.com/blockapps/strato-getting-started/blob/p2p-testing-2/strato-run.multinode.sh#L82


Tests only pass in UTC

Was this resolved?

closing tickets without description.

Regardless of whether the title communicates the issue?


Hook into changed form state

Say I want to do something effectful with the formState, every time it changes (e.g. store the values in localStorage, so the form can be restored on a reload). What would be the best way to do this?
The initial thought may be to use useFormFieldValue(form), but this will of-course re-render the whole form onChange (which is what this library explicitly wants to prevent.
Right now, we made a separate component, which uses this hook and calls a callback prop whenever the value changes. Maybe it would make sense to add an onChange property to the useForm config?
Example:
const { form: { fields }, submit } = useForm({
    initialValues: {}
    fields: {},
    // handle form change
    onChange: handleChange,
    // handle form submit
    onSubmit: handleSubmit,
  })

Although it's not part of the 'official' API I think you can do fieldOrForm.value.subscribe(...).
If that works we can document it and with that make it official.

snapshot is will be part of the API (see #15) So then you can use snapshot.subscribe(form, f)


Revert from hwe kernel to normal lts kernel

We've seen OOM problems when running cgroups v1 with the 6.5 kernel line.
Resolves #318
The plan is to test this before releasing it. So we'd like to merge it and then use the test stemcells to verify hardware compatibility with the kernel.
Once the stemcells are built in the pipeline, we'll reference the URLs in #318 so people have a chance to take a look at them.
Earliest date we'd want to release this is Monday March 11th.

you need to adjust https://github.com/cloudfoundry/bosh-linux-stemcell-builder/blob/ubuntu-jammy/master/stemcell_builder/stages/static_libraries_config/apply.sh#L16 to 5.15
and this probably needs a check as well https://github.com/cloudfoundry/bosh-linux-stemcell-builder/blob/ubuntu-jammy/master/stemcell_builder/lib/prelude_apply.bash#L50


Selected date didn't appear in input field

I use custom customInput so i can display button next to the input field. The problem is, when I select the date, the selected date did not appear in the input field.
Example : https://codepen.io/jochenberger/pen/ENRNZN
What did I miss?

Because you need to maintain somehow input field state. It's not bound to any value.

Closing this, no feedback


fix(network_info_plus): Added getWifiIPv6, getWifiSubmask, getWifiBroadcast and getWifiGatewayIP functions for Windows and fixed getWifiName and getWifiBSSID.

Description
These functions were available for other platforms but not for Windows:

getWifiIPv6
getWifiSubmask
getWifiBroadcast
getWifiGatewayIP

I have added these functions to network_info_plus_windows.dart and created win32 structs required for it in file windows_structs.dart.
I have created some helper functions and modified existing functions:

formatIPAddress (modified): It will use SOCKADDR pointer as parameter and is able to format both IPv4 and IPv6.
getIPAddr (new helper): Moved functionality of previous getWifiIP function here and generalized it for IPv4 and IPv6.
getWifiIP (modified): changed to call getIPAddr with IPv4 as parameter.
getWifiIPv6 (new feature): Call getIPAddr to return IPv6 address of network.
extractSubnet (new helper): Gets prefix length from adapter addresses struct and creates and return a string for subnet mask.
getWifiSubmask (new feature): Use extractSubnet to return subnet mask of the network.
getWifiBroadcast (new feature): Use getWifiIP and getWifiSubmask to get broadcast IP for the network.
getWifiGatewayIP (new feature): Returns gateway IP for the network. Implementation similar to getIPAddr.

getWifiName was returning empty string and getWifiBSSID was returing all zeroes.
I have fixed this by changing pAttributes (Pointer<WLAN_CONNECTION_ATTRIBUTES>) to ppAttributes (Pointer<Pointer<WLAN_CONNECTION_ATTRIBUTES>>) in query function and made related changes.
Related Issues

#2665

Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I titled the PR using Conventional Commits.
[x] I did not modify the CHANGELOG.md nor the plugin version in pubspec.yaml files.
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze) does not report any problems on my PR.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate that with a ! in the title as explained in Conventional Commits).
[x] No, this is not a breaking change.

Amazing! Thanks a lot for this!
I will try to run this on my windows setup and if everything goes well, we will merge it.


(in)activeTintColor are ignored for TabNavigator

This issue has been reported in #792, but the issue was not solved for me (neither was it for the original reporter according to their message).
At least on Android, activeTintColor and inactiveTintColor seem to be ignored in a TabNavigator. style: {background-color: foo} works well, however.
I'm using the master branch (c8062d014ce5002e9067a7764e99b483be6d1571).

Can you post a code to reproduce the issue?

I narrowed it down to the type of label that is passed. A string is rendered correctly, while a component using the parameter tintColor will fail.
I also noticed it happens with 1.0.0-beta.8, but it wasn't the case in 1.0.0-beta.7.
Using a function and setting the color of the Text with tintColor doesn't have any effect.
'use strict';
import React from 'react';
import {
  AppRegistry,
  View,
  Text,
} from 'react-native';
import { StackNavigator, TabNavigator } from 'react-navigation';

class Foo extends React.Component {
  static navigationOptions = ({ navigation }) => ({
    // works only in beta.7, not in beta.8
    tabBarLabel: (<Text>Foo</Text>),
  });

  render() {
    return (
        <View>
          <Text>lalala</Text>
        </View>
    );
  }
}

class Bar extends React.Component {
  static navigationOptions = ({ navigation }) => ({
    // works all the time
    tabBarLabel: 'Bar',
  });

  render() {
    return (
        <View>
          <Text>lololo</Text>
        </View>
    );
  }
}

const FooBar = TabNavigator({
  Foo: { screen: Foo },
  Bar: { screen: Bar },
}, {
  tabBarOptions: {
    activeTintColor: 'green',
    inactiveTintColor: 'yellow',
    style: {
      backgroundColor: 'lightgrey',
    },
  },
}
);

AppRegistry.registerComponent('reactnativefoo', () => FooBar);

1.0.0-beta.7

1.0.0-beta.8

It is working as intended. When you specify a component, you take the full control over it, including styling. So it's upto you to specify the color. When you define tabBarLabel  as a function, you receive the tintColor as an argument, tabBarLabel: ({ tintColor }) => ....
Not sure how it was working in previous release, but it was a bug.

I understand that with a component I'm responsible for styling it. But the tintColor parameter seems to always be empty. As I said in my previous message, this doesn't work either:
tabBarLabel: ({ tintColor }) => (<Text style={{color: tintColor}}>Foo</Text>)

Am I missing something?

For those who are wondering, it seems to have been fixed, the same tabBarLabel as in my previous comment works fine with<EMAIL_ADDRESS>


[Item] Hurricane Pike sidegrade

Disclaimer: the original idea belongs to an other user, whom I had a conversation on a slightly different item, but he deleted the suggestion; it was #129

Builds from:

Force staff
some mid-tier damage item, like javelin or claymore
recipe?

Stats should be around the sum of the bonuses that the components give.
Acive: Untargeted, always acts on user.

For example: the buff stays for 5 seconds or 2 attacks.
Notes:
I think it should push you farther that the original force staff, somewhere between 400 (the original) and hurricane pikes effective distance (which is 2x400?). This way it is better for traveling, and somewhat decent when you just want to get away from a melee hero.
It would also benefit heroes who can use the buff without consuming it. (I can't think of any)
The more I think of it, the more I want to try it with PA.

No i have not deleted it O_o

well someone did.
it should be #129 but it doesn't exists

now it decided to work again, github is on crack

ohh nevermind I'm just bored as hell in work

me2 :D

That "pushing you backwards" can be unnoing, very unnoing, if you want to use it you need to turn back to enemy, use it and turn back again because enemy is behind you. Now imagine that enemy have Batrider.

Sounds like an interesting concept. Preferably would be used as an upgrade to the normal hurricane pike. Could also be used as an upgrade for one of the higher tiers of the hurricane pike

Thanks for the commitment

Another possibility for a Force staff variant, would be one that acts as Magnus' charge, i.e. you bring other players along with you if they are in your way. Allies? Enemies? Both?

^ that sounds interesting

We have plenty of Force Staff upgrades atm. Closed.


Adopt Less or Sass?

As we'll be doing lots of CSS work here, it may make sense to start using a CSS preprocessor, so we can have variables in the CSS definitions and avoid repetition.
I saw Less was in use in another project, that preprocessor looks pretty solid to me. Any thoughts, recommendations?

Closing as considered done - we're using Less, as Semantic UI is using Less.


feat: trust model

Title
Content
Review

[x] Ensure your files are written following RST specs (not MD!)
[ ] Italian version
[x] English version
[x] Example files
[x] Ask for review

@peppelinux proofread in #29, I opened a PR to your PR as the changes were many 😊

Thank you @ruphy, I'd resolve the pendings comments on PR 29, then merge it here, then merge to master branch
Good catch!


Reduce bundle size

From https://github.com/hzrd149/nostrudel/pull/11
Currently we depend on nostr-tools and some other packages, which are more bloated than necessary. We might be able to replace these with more cut-down versions or implement the code ourselves.
This will get worse when we add further integrations which require their own packages such as LNC.

Main issues:

Remove source maps (this is >3MB of wasted space)
Remove browserify/esbuild index.browser.js files

The above need to be done in Bitcoin Connect, alby JS SDK and lightning tools.

We can upload the browserify builds to the release instead.
But actually something like skypack should be used? https://github.com/getAlby/bitcoin-connect/issues/85

Currently the package size is 6.04MB. We should try to get it less than 1MB.


Figure 1

Thank you for your work and code！
I was wondering if you could provide the experimental setup and code for Figure 1?
Thank you.

Thanks for your interest in our work. The code for the meta learning experiments can be found in cifar10_meta_train.py.

Thanks for your interest in our work. The code for the meta learning experiments can be found in cifar10_meta_train.py.

Thank you for your reply. However, this code is not consistent with Figure 1.
(1) The article mentions "training in 4 noises and testing in 15 corruptions"
(2) without illustrated code. “Fig 1 visualizes the learnt meta-loss over model predictions as we vary a single class prediction with the rest fixed.”
Therefore, I modified the code based on my own understanding
‘’‘
net_train = copy.deepcopy(net)
model = tent.configure_model(net_train)
params, param_names = tent.collect_params(model)
inner_opt = setup_optimizer(params, lr_test=None)
model_state, optimizer_state = copy_model_and_optimizer(model, inner_opt)
meta_opt = torch.optim.Adam(learnable_loss.parameters(), lr=1e-3, weight_decay=1e-5)
scheduler = torch.optim.lr_scheduler.CosineAnnealingLR(meta_opt, T_max=NUM_EPOCHS, verbose=True, eta_min=1e-6)
for severity in cfg.CORRUPTION.SEVERITY:
for corruption_type in cfg.CORRUPTION.TYPE:
x_test, y_test = load_cifar10c(cfg.CORRUPTION.NUM_EX,severity, cfg.DATA_DIR, False,[corruption_type])
    x_test, y_test = x_test.cuda(), y_test.cuda()
    y_test = y_test.type(torch.cuda.LongTensor)

    num_examples_train, num_examples_test, num_inner_iter = 10000, 10000, 1

    best_err = 1.
    for epoch in range(NUM_EPOCHS):
        learnable_loss.train()
        load_model_and_optimizer(model, inner_opt, model_state, optimizer_state)
        learnable_loss = meta_train_one_epoch(model, meta_opt, inner_opt, learnable_loss, x_test, y_test, cfg.TEST.BATCH_SIZE, num_inner_iter)
        scheduler.step()

import matplotlib.pyplot as plt
inputs_range = torch.arange(-10, 41, 2).float().to(device)
inputs = torch.full((inputs_range.size(0), 10), 0.5).to(device)
inputs[:, 0] = inputs_range
outputs = learnable_loss(inputs)
print(inputs.shape, outputs.shape)
inputs_cpu = inputs.cpu().numpy()
outputs_cpu = outputs.detach().cpu().numpy()
plt.figure(figsize=(10, 6))
plt.plot(inputs_cpu[:,0], outputs_cpu[:,0], label='Model Output')
plt.title('Model Output for Inputs from -10 to 40 with Step 2')
plt.xlabel('Input')
plt.ylabel('Output')
plt.legend()
plt.grid(True)
plt.savefig('meta-loss.png')
’‘’
However, I don't know if there was a misunderstanding somewhere, and the result was not good.

Can you share what the plot looks like in your case?

Can you share what the plot looks like in your case?

ce:

squared:

Is my process correct? I first use a certain loss to train a model on CIFAR10. Then, based on ‘CIFAR10_meta_train. py’, train the ‘meta_loss_transformer’ on four noises of CIFAR10-C. Then draw a picture. The input is a matrix of n * 10, with each value fixed, and then the first column is changed to [-10,40] (for squared loss, it is [-1,2]). Obtain the output of meta_loss_transformer. But the curve drawn so far is incorrect. In addition, there is a question as to the range of squared loss should be [0,1], but why is it [-1,2]. In addition, the output range of the CE loss model I trained is [-3, 18]. Is it my misunderstanding?

First, the meta loss for the classifier trained with CE loss looks correct i think? The trend seems to match that in the paper. Second, for the squared loss, have you checked the performance of this meta learnt loss? It seems to be random. I recalled that the meta learning process could be unstable but make sure that the trained meta loss is a valid TTA loss.


WIP: adding campaign support

TODO:

update documentation
add tests

Awesome, I've reordered the endpoints, changed the author to me, and rebased this into 1 commit. Only you have permission to merge so I'll update the Gemfile after the merge.


Panel and dialog close together

Hi, I tried to open the panel and then close it can work well, as well as dialog. Then I tried to combine panel with dialog, so first I show panel then second show dialog and then I click button close dialog result were all closed. I want to ask how if I close dialog, panel remain open not closed together?

          Test Panel
         <button class="btn primary openinfo"></button>

Info

Test dialog

close

phonon.panel("#bodykwh").open();

$('.openinfo').on('click', function() {
      phonon.dialog("#dialog-info").open();
});

See this issue #69 there I put a example how to make work...

@John-Henrique in your issu is how to open a dialog. and my problem is when click close dialog and  panel still open not together to close. Sorry, I not yet understand your explanation.
Command component phonon.panel() and phonon.dialog() is different

@anggaranc the problem looks like with the direct call.
var component = phonon.panel( '#my');
component.close();

Was this reported in #69
This help you? (From cellphone is very limited)

@John-Henrique after I try it not work. panel and dialog close together. maybe problem is when click event element

 so when i touch dialog, panel closed

Your HTML example is very poor, your explain but reading the HTML isn't possible understand your problem, in next time, please put all HTML necessary, so, your help be more faster.
You have a full panel, that have a button to open a dialog. The full panel every will close when lost focus (window blur), so when you click in button on dialog window the focus go to dialog and full panel is closed.
This is default behavior

                <button class="btn pull-right icon icon-close" data-panel-close="true"></button>

Panel

The contents of my panel go here. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut.

                    <button class="btn btn-flat primary" id="openinfo">Open info</button>

Info

Test dialog

close

        <home data-page="true">

Panels

                    <button class="btn padded-bottom primary" data-panel-id="action-sheet">Open Panel</button>

                    <button class="btn btn-flat primary" data-panel-id="full-panel-example">Open Full Panel</button>

                    <button class="btn btn-flat primary" id="openinfo">Open info</button>

        </home>

By now, this is my simple solution (looks like POG), I'm without time to add changes to panel.js

			phonon.navigator().on({page:'home', content:false},function( at ){

				at.onReady( function(){

					myDialog = phonon.dialog( "#dialog-info" );
					myDialog.on( 'cancel', function(){

						setTimeout( function(){
							phonon.panel( "#full-panel-example" ).open();
						},1000);
					});

					phonon.panel( "#full-panel-example" ).open();

					document.querySelector( '#openinfo' ).onclick = function(){

						myDialog.open();
					}
				});
			});

@anggaranc : I just fixed it :)
The patch will be added in the release 1.1.8 (coming asap) :)
(https://github.com/quark-dev/Phonon-Framework/releases)[https://github.com/quark-dev/Phonon-Framework/releases]


Get context help working and fixup path problems with kernel tree

Adding in the contextual help stuff.
Also fixed up some PythonEnvironment URI changes (jupyter changed to use URIs for stuff) (Kernel tab was broken)
Changed to webpack because of stuff like this: https://github.com/evanw/esbuild/issues/1619
ESBuild is a lot pickier about what it will consume. Instead of trying to resolve those problems (I had about 10 of them), just switched to webpack.

Not sure how webviews works locally, but I think I fixed it.


Any unquantized and quantized models available?

I was wandering if you could upload something to test with ggerganov/llama.cpp and oobabooga/text-generation-webui.
Any q4_0 or q8_0 GGML .bin file will do.

It would be fantastic.


Add sample to import n-grams from Google Books dataset

The books dataset isn't quite a CSV or TSV: it's its own special thing. It's close enough that we should be able to adapt it into a more general tool later on.
@lesv PTAL

Waiting to merge. Right now this includes both the Dataflow and Bigtable libraries in the pom.xml so that I can read from Bigtable in the integration tests. These are incompatible.
I've switched the Bigtable package to be a test-scope dependency, but that may not be enough.
Waiting on thoughts from @sduskis on how to proceed.

LGTM

Thanks. Good catch on the dependency versions. I didn't realize I never checked this in.

@dpebot merge when green


Bayesian neural network using VI tutorial does not solve the problem

In https://turing.ml/dev/tutorials/3-bayesnn/ where you use ADVI to fit the parameters of the network the resulting posterior doesn't seem to correctly solve the problem. VI should have no problem solving this particular problem so maybe it's sensitive to the initialization or the optimizer doesn't get enough time to converge.
The plot showing the issue is given below which is copied from the tutorial.

Yeah, it's probably the number of steps. Remember running this experiment locally and it took a bit to converge. Don't know why we set it to only 1000 in this case :confused: Thanks @DoktorMike !


How to control number of users using same username and password (i want to limit)

If you want to allow a single user to have multiple connections with the same certificate the line in the server config is "duplicate-cn".

@Mandofskii any news or update?


[C++][Testing] Add approximate equality helpers for floating-point

Describe the enhancement requested
As suggested in this comment, it would be useful to add approximate equality helpers for float comparison:
bool WithinUlp(float left, float right, int n_ulps);
bool WithinUlp(double left, double right, int n_ulps);

void AssertWithinUlp(float left, float right, int n_ulps);
void AssertWithinUlp(double left, double right, int n_ulps);

Component(s)
C++

Issue resolved by pull request 44906
https://github.com/apache/arrow/pull/44906


Allow using HTTP proxy servers

Goodbye, https://www.youtube.com/das_captcha 😿

This is great! Thanks for the PR 🔥
Since the tool is also used from the command line, how can we add this as a command line argument?
According to the requests docs (https://requests.readthedocs.io/en/master/user/advanced/#proxies), proxies are specified as a dict similar to this:
proxies = {
  'http': 'http://<IP_ADDRESS>:3128',
  'https': 'http://<IP_ADDRESS>:1080',
}

So, as a command line argument, how should this be specified? YouTube-DL has a --proxy argument which seems to just take a url (as a string) and use this as the proxy.
--proxy URL                          Use the specified HTTP/HTTPS/SOCKS
                                     proxy. To enable SOCKS proxy, specify a
                                     proper scheme. For example
                                     socks5://<IP_ADDRESS>:1080/. Pass in an
                                     empty string (--proxy "") for direct
                                     connection

Should we do this or must we allow for http and https to be specified separately? (i.e. will they usually be different?)

I've never seen proxies providing HTTP and HTTPS separately before. Almost streaming services use HTTPS only so we don't have to provide two options.

Okay sounds good 👍 Do you want to add that or should I?

I'll try that.

Great! Thanks. I will check your changes, test, add methods from YouTube-dl's implementation and finally merge.

Okay I have simplified how the proxy can be specified (i.e. as a string). For the most part, I adapted YouTube-dl's implementation. I have tested it with http, https and socks5 proxies and all seem to work.
I have also added basic unit testing for these initialisation parameters (including empty proxies). However, due to security reasons, I have not included any actual test cases. For example, we could get a proxy from a free proxy list, but this could pose some security concerns (especially when specifying cookies). Most free proxies do not use https and will most likely be insecure. I most definitely do not want to be responsible for possibly revealing user's IP addresses. Proxy-usage should be the responsibility of the user. If you have any thoughts, let me know :)
If you can check my changes and perhaps do some testing on your end, I can merge it into the master branch.

It works! Thank you for your improvement.


Add Actor.position and remove Actor.getPos

Thanks for your contribution.
But I recommend using the getter function instead of the offset accessing.
Field offsets are easily changed with the minor update. But function names are almost static.

Thanks for your contribution.
But I recommend using the getter function instead of the offset accessing.
Field offsets are easily changed with the minor update. But function names are almost static.

okay👌🏻


Support creation of another product

There are three subclasses of DolphinProduct included as part of the boot image and any of these three can be built with a command-line argument. To build another product using the same process requires loading a new subclass of DolphinProduct before the build can proceed. This pull request provides one such way of doing so. If the named product (argument 3) isn't found then argument 4 is treated as the path to a package to be loaded and then the search for the product is repeated. I've been able to build a Jade development image using this approach and it seems pretty simply. I'm not sure, however, if it is the recommended approach. Like all my contributions, I'd welcome feedback and guidance.

The DolphinProduct approach was really for releasing the old D6 products from a fully populated image by paring them down rather than by booting them up (although both work). I think we need something better going forwards but your approach seems fine for now.


Trivial: Remove execute bit from plain text files in git

Trivially change file mode from 755 to 644 for files in git that
shouldn't be marked as executable. These were probably marked as
executable due to some contributors developing on Windows using a
filesystem that doesn't support POSIX file modes, or aggressively marks
everything as executable.

[ ] Did you create an Apache Jira ticket?  (not required for trivial changes)
[ ] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
[ ] Did you squash your changes to a single commit?  (not required, but preferred)
[ ] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[ ] If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

I'm not sure what to make of that single Travis CI failure. It doesn't seem likely that it's related to this, but I don't understand why it failed.


Relay heartbeats to wakatime error executing relayed request

After configuring WakaTime integration wakapi docker container crash:
<IP_ADDRESS> - - [24/Jan/2021:13:37:45 +0000] "POST /api/heartbeat HTTP/1.1" 201 27
2021/01/24 13:37:45 error executing relayed request – Post "https://wakatime.com/api/v1/users/current/heartbeats.bulk": x509: certificate signed by unknown authority
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0xada8cd]
goroutine 109 [running]:
github.com/muety/wakapi/middlewares/custom.(*WakatimeRelayMiddleware).send(0xc000010128, 0xcf2ae9, 0x4, 0xd17ba6, 0x39, 0xe02180, 0xc000342030, 0xc00043ff80)
/src/middlewares/custom/wakatime.go:94 +0x3ad
created by github.com/muety/wakapi/middlewares/custom.(*WakatimeRelayMiddleware).ServeHTTP
/src/middlewares/custom/wakatime.go:69 +0x8a5

When I run from source everything works.

Thanks for bringing this up! I'll investigate later.

Thanks for bringing this up! I'll investigate later.

Should be fixed now, please check again. Keep in mind that DockerHub takes quite some time to rebuild the image.

Should be fixed now, please check again. Keep in mind that DockerHub takes quite some time to rebuild the image.


Edit: Microsoft Apprenticeship link

Which apprenticeship are you trying to edit?
Microsoft Apprenticeship
What edits do you want to make?
link jumps to https://industryexplorers.com/. It should be: https://www.microsoft.com/en-us/leap/

By submitting this issue, I have verified the following ✅

[X] Made sure all the details were provided 🔍

New to GitHub and contributing, but I tried my best to update this myself under Fix Microsoft Leap URL #490. Will close if that is approved.


Migrate to libabseil and rename mujoco-cxx to libmujoco

Fix https://github.com/conda-forge/mujoco-feedstock/issues/16 .
@h-vetinari I did not find any occurence of mujoco-cxx on GitHub, so I think the rename is quite safe. Anyhow, do you have any suggestions on how to advertise/document such a name change? I would list the currently updated outputs in the README, but the summary is expected to be just one sentence (at least from https://conda-forge.org/docs/orga/guidelines.html#transferring-to-conda-forge).
Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

Anyhow, do you have any suggestions on how to advertise/document such a name change?

It would be possible to introduce a "compatibility wrapper" for the old name that just 1:1 depends on the new one (which is what we did for abseil, grpc, arrow), but given that I cannot see that anything explicitly depends on mujoco-cxx in conda-forge, I think a rename is quite safe.


Adds a jobs feature to make rust_g.dm work again

In #51 I foolishly assumed jobs was a feature in line with everything else, turns out it wasn't and now the jobs defines are missing from rust_g.dm.
I wonder if feature-interdependencies are possible...
They are. jobs is now a feature depended on by http and sql.

oh yeah this is tested to compile with default features and --features="dmi git log json noise" --no-default-features, jobs is not directly a default feature but a dependency of default features http and sql

hmm today I will click "Rebase Merge"

Why is it the default then?

it remembers what you used last


🛠  Refactor: no casting Vue instances as any

Motivation 🏁
It's bad practice to cast types as any just to circumvent TS compiler errors; that kind of defeats the purpose of type-checking if we disable its functionality every time we run into a problem. i read this article here:
https://v3.vuejs.org/guide/typescript-support.html#using-with-options-api
which talks about how the TS compiler has difficulty inferring types in the Vue framework. Explicitly specifying them with an interface is the preferred method of resolution.
Originally posted by @diracs-delta in https://github.com/grey-software/Material-Math/pull/79#issuecomment-718180597
Describe your refactoring solution 🛠

[ ] identify all instances of Vue instances being cast as any to circumvent TS compiler errors
[ ] add strict checks to tsconfig.json that disable casts to any

here's all the instances of any casts in the codebase.

TS doesn't actually having a compiler option disabling explicit casts to any. we'll just have to wait until we implement ESlint
https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-explicit-any.md


Fix focus hover state on buttons

What is the context of this PR?
Fixes: #739
How to review
Check buttons now are the correct colour (dark yellow) when focused and hovered

 Issue #739: Button Focus state shouldn't change when the element is hovered.


docs(ioc): principal IoC implementation of DI

I'm submitting a ...

[ ] bug report
[ ] feature request
[x ] other

Current behavior:

The principle of Inversion of control is missing.
There is not clear idea about why DI is used here.
There is IoC Container is present.
Expected / new behavior:

Gives you more clear idea about DI implementation of IoC Principle,
Helpful for beginner coders.
Minimal reproduction of the problem with instructions:

Its documentation issue modification in existing docs.
File can be seen https://github.com/angular/angular.js/blob/master/docs/content/guide/di.ngdoc
AngularJS version: 1.x.y

1.6.0
Browser: [all | Chrome XX | Firefox XX | Edge XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView | Opera XX ]

all Browser
Anything else:

Nothing

These principles are mentioned and linked in the Why Dependency Injection section.


Make etcd_backup_prefix configurable.

Ensures that backups can be stored on a different location other than ${HOST}/var/backups, say an EBS volume on AWS.
Address this issue

@bradbeam - done.

ci check this


Default value for type argument does not match inferred type

When using a type parameter with default value depending on another type parameter, the default value is set only when the other type argument is explicitly given:
void f<T, Sub=T>(T[] x) given Sub satisfies T {
    print("`` `T` ``");
    print("`` `Sub` ``");
}

shared void run() {
    f([5]);
    f<Integer>([5]);
}

The code above should print ceylon.language::Integer four times, but instead prints
ceylon.language::Integer
Nothing
ceylon.language::Integer
ceylon.language::Integer

I think this is correct and per-spec: default type arguments are only used when you have a type parameter list (§3.6.3); type argument inference (§3.6.5) does not use default type arguments. Since Sub does not occur anywhere in the signature, it is treated as covariant (“finally, if none of the above cases apply…”), and the best inferred type is thus Nothing. But @gavinking should probably look at this too.

If this is true, it's counter-intuitive in my opinion. Maybe the "bug" is §3.6.3 of the spec because nobody has thought of inferred type args here (which I doubt), or maybe there is a deeper reason why it cannot be possible to respect inferred type args as values for default type args.

If default type arguments took precedence over inferred type arguments, then default type arguments would become less useful, since when available, callers would no longer have the option of using type argument inference for defaulted type parameters.
Perhaps your suggestion is that the default argument be used if the type parameter does not appear in the signature (and therefore a type argument can't easily be inferred), but that seems like too much complexity to me.
Of course... default type arguments tend to be used when using types as actual arguments (rather than describing value arguments), where variance inference usually does the opposite of what you what. You can, however, get the desired behavior with a variance hint:
void f<T, in Sub>(T[] x) given Sub satisfies T { ... }

which results in ceylon.language::Integer being used for all args.

Well, yes, I wanted to suggest that the type argument for Sub=T should be taken as the inferred value of T, because Sub can not itself be inferred here.
Thanks for your "variance hint" suggestion, it does indeed what I intended. (I just realized that I get away with only one type parameter anyway, but that should not be in itself the reason to invalidate this issue/suggestion, I think.)

I know it's unintuitive, but this is indeed what we consciously designed it to do. You're certainly not the first person to be tripped up by this, and I admit it's not something I'm completely happy with, but nobody has really proposed an alternative behavior here that would be obviously "better".
I'm going to close this, because so far there's nothing to "fix", but I will entertain suggested for improvements, if there are any.

Fine. Thanks!


Up vector should be added before world space conversion.

To fix problems when world space has a different rotation than the spline.
Tested with Unity 2019.2.

Thanks for your contribution ^^


1823825 | Message fixes | Address validation issues | 20

This PR is for user story 1823825.
Fixed an issue with missing table headers.
If these changes are not appropriate, please let me know. I'm only trying to clean up validation issues in this repo. So I can easily close this PR or modify it in whatever way is best for the content.

Docs Build status updates of commit 445c234:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

biztalk/core/single-sign-on-event-10541.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10542.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10543.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10544.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10545.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10547.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10548.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10549.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10550.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10551.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10552.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10553.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10554.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10555.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10556.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10557.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10558.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10559.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10560.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10561.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10562.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10563.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10564.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10565.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10566.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10567.md
:white_check_mark:Succeeded
View

biztalk/core/single-sign-on-event-10568.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Web: dispatch and icon props set as attributes

🐛 Bug Report
I'm getting the following in the browser (expo, react native web):

Warning: React does not recognize the marginHorizontal prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase marginhorizontal instead. If you accidentally passed it from a parent component, remove it from the DOM element.

All I'm doing is:
<Button
  style={style}
  icon={iconStyle => <Icon name='plus' {...iconStyle} />}
  size='small'
  status='primary'
/>

as stated in the docs. However, the props get passed through all the way to the rendered component and that's not allowed for attributes.
I'm having the same issue with dispatch:

Warning: Invalid value for prop dispatch on  tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://fb.me/react-attribute-behavior

Although I'm not sure where that's coming from to be honest.
To Reproduce

New expo project
add ui kitten
open in the browser
Implement some components with UI kitten
Check console

Expected behavior
No warnings
Link to runnable example or repository (highly encouraged)
I tried, but the sandbox seems broken (https://codesandbox.io/s/ui-kitten-welcome-x8q8z)

(0 , _reactNative.requireNativeComponent) is not a function

UI Kitten and Eva version

Package
Version

@eva-design/eva
Master

@ui-kitten/components
Master

Warning: React does not recognize the marginHorizontal prop on a DOM element.

Pay attention on what you're passing to components and how it is applied. I can't give you more details on it.

Invalid value for prop dispatch.

This property comes from styled, you may know this from the docs. Also, it is a known issue #669. Fixed in v5 which is currently on review.

@artyorsh I'm not doing that, your Icon component is. It takes a marginHorizontal but passes it on to the dom element. I'm pretty sure this is not something I'm doing wrong as they're props coming from bugs taken from your documentation 😄
I think this should be reopened. I don't mind submitting a fix with some assistance.

your Icon component is.
Then I don't understand why marginHorizontal is not recognizable? 🤔 Do you run it on web?
Eva Icons is nothing more than svg elements from react-native-svg lib.

@artyorsh All I'm doing is what's in the description:
<Button
  style={style}
  icon={iconStyle => <Icon name='plus' {...iconStyle} />}
  size='small'
  status='primary'
/>

Exactly like the docs say I should do it. Nothing more. The icon registry is set to eva icons: <IconRegistry icons={EvaIconsPack} />

@RWOverdijk seems to be web-specific behavior. Svg elements may accept a style property, meaning you may extract marginHorizontal and pass it into style prop. If web is your primary platform, I would suggest reading this guide, and configure your own Icon package, where you can manage style props more accurately.

All right. I could do that... But I think I'll instead look into fixing it for this library and make a PR.

Web is not our primary goal, but, definitely, will appreciate it a lot! 🚀

@artyorsh I get that, but it would be an excellent addition! I'll close this for now.

I faced the same problem and I just fixed it by replacing it as below:
<Button   style={style}   icon={(props) => <Icon name='plus' {...props.iconStyle} />}   size='small'   status='primary' />


Feature request: Get detailed metadata from expect matchers in reporters

I'd like to generate HTML reports from jest-image-snapshot with the diff images.
But doing it from a customer Jest reporter does not seem to be possible because because custom matchers such as the toMatchImageSnapshot cannot pass extra metadata (path to the snapshot diff file) to the reporters.
I'd like to be able to return the filename here and read it somehow in a onTestResult() method of a reporter.
Ref https://github.com/americanexpress/jest-image-snapshot/issues/13

I'm trying to figure out what the implications are for returning the file name here, and what the downsides are, but I cannot think clearly right now. I definitely think we should find a way to support this.
@aaronabramov and @thymikee do you guys have any thoughts about this?

Hm, this is another key in the object, so as long as we keep all properties initialized (at least in core matchers), we should still have this code monomorphic and perf shouldn't degrade I think.
And some metadata may really be useful to create more powerful matchers.

I took a break and have some more clarity. My concern was mostly around what exposing a file name will mean: Does returning an absolute path cause issues with caching? Should it be relative to the rootDir? More importantly: will this enable people to store more metadata in different files, without appropriate hooks to clean them up when a snapshot/test is removed? I worry that this is opening a can of worms that allows people to do crazy things and that we may need to provide a fuller API to hook into Jest that gives access to the cleanup hook etc.

Hmm, I'm bit confused. I meant just adding possibility pass any metadata from a (custom) matcher to the (custom) reporters. Why does it matter if it's filename or any other string/object?

@cpojer jest-snapshot returns a few extra properties but I am not sure that custom reporters have access to these.
I think the ability for any metadata to be returned by a matcher and for reporters to pick up these properties is what @epeli is asking for.

Related #7594

I am trying to add custom metadata inside a test to be read by a custom reporter (like test category, severity, etc), is this issue related to this in any way?
What is the current status of this?
It is still open but was assigned to the v26 milestone


Added sdk for Stream Sharing

This PR adds sdk for Stream Sharing

We might want to add it to confluentinc/ccloud-sdk-go-v2-internal first.

@linouk23 It's already added there. https://github.com/confluentinc/ccloud-sdk-go-v2-internal/tree/master/cdx


OneLine cannot initialize Inspector Window Utility

General Info
OS: Windows 10
Unity Version: 2020.2.0b2
OneLine Version: 0.5.1
OneLine Installation: Package Manager
RectEx Version: didnt change

Trying to use it on a list of custom struct. Im using Odin Serializer, maybe thats somehow affects it.

OneLine can not initialize Inspector Window Utility.
You may experience some performance issues.
Please create an issue on https://github.com/slavniyteo/one-line/ and we will repair it.
System.NullReferenceException: Object reference not set to an instance of an object
at OneLine.InspectorUtil.Initialize () [0x00010] in D:\Games\Unity\MyProjects\SkatePrototypeV2\Library\PackageCache\st.one-line@321188262e\Editor\Scripts\Utils\InspectorUtil.cs:51
at OneLine.InspectorUtil..ctor () [0x00039] in D:\Games\Unity\MyProjects\SkatePrototypeV2\Library\PackageCache\st.one-line@321188262e\Editor\Scripts\Utils\InspectorUtil.cs:41
UnityEngine.Debug:LogError (object)
OneLine.InspectorUtil:.ctor () (at Library/PackageCache/st.one-line@321188262e/Editor/Scripts/Utils/InspectorUtil.cs:45)
OneLine.OneLinePropertyDrawer:.ctor () (at Library/PackageCache/st.one-line@321188262e/Editor/Scripts/OneLinePropertyDrawer.cs:36)
UnityEditor.ScriptAttributeUtility:GetHandler (UnityEditor.SerializedProperty)
UnityEditorInternal.ReorderableList:CacheIfNeeded (bool)
UnityEditorInternal.ReorderableList:GetListElementHeight ()
UnityEditorInternal.ReorderableList:DoList (UnityEngine.Rect,UnityEngine.Rect)
UnityEditorInternal.ReorderableListWrapper:Draw (UnityEngine.Rect,UnityEngine.Rect)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Seem to be duplicate of #34 and #47
To disable the error message: go to Window/OneLineSettings and switch off the Culling column (the second from the right).


How do I write strings like LK in word index? I tried to convert this to 4c4b but it writes as it is in EPC when scan the tag it shows 4c4b instead of LK in EPC

    newepc0 = b'\x4c\x4b'
    print("Changing the EPC first two bytes to ", f.Bytes2Hex(newepc0))
    # our first index is 0
    ret = f.WriteEpcWord(sr.EPC, newepc0, 0)
    assert ret == True

I tested with this snippet from test script

EPC is always in HEX. The inventory table displays everything in HEX currently. But we can add an option to display the EPC as ASCII, if you so desire. Do you want this?
Regards,
Mansur.

@jence  Thank for the reply, at the moment not required.


Updating READMEs and comments in examples

:tada: This PR is included in version 1.1.11 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


make djxl_conformance return all extra channels

Builds on https://github.com/libjxl/libjxl/pull/791.
Makes djxl_conformance produce a npy array that contains all extra channels, not just alpha like it is now.

I tried "merge conflicts" in this pull request, and this affected the "PR / authors" check. I don't know how to revert this

The commit that you are trying to merge has like author your user, but with a hidden email address.

This needs to be rebased instead of merging main into it.

So the question is how that wrong Merge commit I created with the online github interface can be removed again

@lvandeve there I rebased it locally and push again
The PR says:

Add more commits by pushing to the conformance_extrachannels branch on jonsneyers/libjxl.

git push git@github.com:jonsneyers/libjxl.git HEAD:conformance_extrachannels lets you push your HEAD to this PR. just make sure that when you rebase you rebase the right branch, not like I did the first time :-p

I updated Jon's MR with more comments. I also verified that the spot image test now runs for the level 5 conformance tests.


Multiple linker errors of: PIE object; recompile with -fPIC

Multiple linking errors with dmd 2.081. Linker errors are beyond me but is there an easy fix to this.
Errors:
/usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(lapi.o): relocation R_X86_64_32 against hidden symbol luaO_nilobject_' can not be used when making a PIE object
/usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(ldebug.o): relocation R_X86_64_32S against hidden symbol luaP_opmodes' can not be used when making a PIE object /usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(ldo.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(lgc.o): relocation R_X86_64_32S against .rodata' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(lmem.o): relocation R_X86_64_32 against .rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(lobject.o): relocation R_X86_64_32S against .rodata' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(lparser.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(lstate.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(ltable.o): relocation R_X86_64_32S against .rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(ltm.o): relocation R_X86_64_32S against .rodata' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(lundump.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(lvm.o): relocation R_X86_64_32S against .rodata' can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(lauxlib.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(lcode.o): relocation R_X86_64_32S against hidden symbol luaP_opmodes' can not be used when making a PIE object /usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(llex.o): relocation R_X86_64_32S against hidden symbol luaX_tokens' can not be used when making a PIE object
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Error: linker exited with status 1`
Thanks!
`

dub build --force should help.
On Sun, Jul 8, 2018 at 4:46 PM, Paul Crane<EMAIL_ADDRESS>wrote:

Multiple linking errors with dmd 2.081. Linker errors are beyond me but is
there an easy fix to this.
Errors:
/usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(lapi.o):
relocation R_X86_64_32 against hidden symbolluaO_nilobject_' can not be
used when making a PIE object
/usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(ldebug.o):
relocation R_X86_64_32S against hidden symbol luaP_opmodes' can not be
used when making a PIE object /usr/bin/ld: ../../../.dub/packages/luad-
master/luad/extlib/x86_64-linux-gnu/liblua.a(ldo.o): relocation
R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE
object; recompile with -fPIC
/usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(lgc.o):
relocation R_X86_64_32S against .rodata' can not be used when making a
PIE object; recompile with -fPIC /usr/bin/ld: ../../../.dub/packages/luad-
master/luad/extlib/x86_64-linux-gnu/liblua.a(lmem.o): relocation
R_X86_64_32 against.rodata.str1.8' can not be used when making a PIE
object; recompile with -fPIC
/usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(lobject.o):
relocation R_X86_64_32S against .rodata' can not be used when making a
PIE object; recompile with -fPIC /usr/bin/ld: ../../../.dub/packages/luad-
master/luad/extlib/x86_64-linux-gnu/liblua.a(lparser.o): relocation
R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE
object; recompile with -fPIC
/usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(lstate.o):
relocation R_X86_64_32 against .rodata.str1.1' can not be used when
making a PIE object; recompile with -fPIC /usr/bin/ld:
../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(ltable.o):
relocation R_X86_64_32S against.rodata' can not be used when making a PIE
object; recompile with -fPIC
/usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(ltm.o):
relocation R_X86_64_32S against .rodata' can not be used when making a
PIE object; recompile with -fPIC /usr/bin/ld: ../../../.dub/packages/luad-
master/luad/extlib/x86_64-linux-gnu/liblua.a(lundump.o): relocation
R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE
object; recompile with -fPIC
/usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(lvm.o):
relocation R_X86_64_32S against .rodata' can not be used when making a
PIE object; recompile with -fPIC /usr/bin/ld: ../../../.dub/packages/luad-
master/luad/extlib/x86_64-linux-gnu/liblua.a(lauxlib.o): relocation
R_X86_64_32 against.rodata.str1.1' can not be used when making a PIE
object; recompile with -fPIC
/usr/bin/ld: ../../../.dub/packages/luad-master/luad/extlib/x86_64-linux-gnu/liblua.a(lcode.o):
relocation R_X86_64_32S against hidden symbol luaP_opmodes' can not be
used when making a PIE object /usr/bin/ld: ../../../.dub/packages/luad-
master/luad/extlib/x86_64-linux-gnu/liblua.a(llex.o): relocation
R_X86_64_32S against hidden symbolluaX_tokens' can not be used when
making a PIE object
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Error: linker exited with status 1`
Thanks!
`
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/JakobOvrum/LuaD/issues/109, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA8l8yglLNSgs9r_nWP0itS_9wQ9HHRHks5uEY6NgaJpZM4VGlyd
.

Thanks! No sadly the same result.

May have found a fix! Removing these lines from dub.json:
	"sourceFiles-linux-x86": ["extlib/x86_32-linux-gnu/liblua.a"], "sourceFiles-linux-x86_64": ["extlib/x86_64-linux-gnu/liblua.a"],
Everything compiles fine then. There is also a line for windows but I didn't test it with it removed.


spi/blocking: Add word methods and default impls that use them

Rename all methods that deal with slices to include "slice".
Add read_word, write_word, and transfer_word methods.
Add default implementations for slice methods based on word methods.

This will also allow us to add new methods in the future with default implementations as a non-breaking change.

r? @therealprof
(rust-highfive has picked a reviewer for you, use r? to override)

I'm not convinced the _word variants are useful.

They can't be implemented with DMA, so I would not add them to the async traits, but this makes async+blocking inconsistent.
I'm not sure it has a performance advantage. If you call write with a slice with len=1 the compiler can inline write and then simplify all the code baking in the assumption that len=1, for example eliminating the loop. This would give final compiled code similar to what write_word would've.

This will also allow us to add new methods in the future with default implementations as a non-breaking change.

Why is that not the case already, with the current slice-based methods?

I share @Dirbaio's analysis. I would rather not increase the API surface if there is no very good reason for it.
Could you elaborate what that would be?

As discussed in the meeting, I find the arguments against these methods to be convincing.


ChatGUI.cs error after importing the package

Assets/Photon/PhotonChat/Demos/DemoChat/ChatGui.cs(599,112): error CS0117: 'Extensions' does not contain a definition for 'ToStringFull'
Assets/Photon/PhotonChat/Demos/DemoChat/ChatGui.cs(604,148): error CS0117: 'Extensions' does not contain a definition for 'ToStringFull'
This is happening in Unity Editor 2023. The extensions are installed and the login works fine but these two errors persists. Any thoughts on how to resolve them?
Thanks much!
-Musangi

This doesnt seem to be feedback about a https://learn.microsoft.com/ site page - or least if it is I'm not sure how to find it. Closing as invalid.


Allow passing timeout values for sql tool

Changing schema like adding a new field could take some time. Currently the timeout is hardcoded.
This is a problem for sql tool because one of the steps could get timeout and fails. Then the sql couldn’t rerun because some steps are already executed.
Making sql tool to be idempotent is ideal way but it’s a lot of work to do. The easier way to mitigate for now is allowing passing a timeout value for the command. The timeout value will be used for executing any sql query.
This will be much easier done after this PR to introduce passing a context.Context into the interface https://github.com/uber/cadence/pull/4561

While this has not been implemented, I found no reports of a timeout during a schema change. I think since we prefer adding new columns over changing data types for the fields.
https://github.com/uber/cadence/blob/c7dfbd634aaa89ca1131a8e668cab39b6df9c6d8/tools/sql/conn.go#L75-L80


Context help lookups in Python/JavaScript failing

Transferring this issue from: https://github.com/microsoft/pxt-minecraft/issues/1878
@Jaqster posted:
Right-clicking on some values/API's in typescript, and selecting Help opens side-docs pane, but doesn't load anything. If we don't have documentation, then we should hide the Help option in the context menu.

Adding the text from my earlier email:
This is a problem we’ve had for some time. This is related to recognizing text substrings in the editor as functions, methods, namespaces, variables, etc. Blocks are very deterministic as an actual BlockID is associated with each block. These refer directly to metadata which contains a help path for the documentation page.
When in JavaScript, MakeCode is using the Monoco editer which does provide some object info for cursor context. However, I don’t think we’re using that to retrieve associated metadata for the code under the cursor. Instead, an attempt is made to parse out a substring from the cursor location and then form a path from it to retrieve the help page. For example, when you hover over the “onChat()” portion of the string “player.onChat()”, the context help code builds a path using “on-chat” for the “onChat” substring and then backs up past the “.” for the namespace to discover “player”. These are combined with “/reference” to form the document path of “/reference” + “/player” + “/on-chat”.
This works for most, well maybe just some, of the code elements in text. So, not all help paths are resolved correctly with this technique especially for methods on objects returned from create-style functions: "mySprite.setPosition()". The name "mySprite" is not a namespace of course and can't be used to form a document path.

BTW, need a sidedocs label for pxt: https://github.com/microsoft/pxt/labels/sidedocs.

Just wondering if you could fallback to a page that autogenerates based on the apis macro when a file is not found.
basic


Dynamically adding tweets to the same html element

I encountered this problem when using this script, i forked and fixed the issue.
I had 1 element in which the initial feed was going into. On click of something else on the page i was loading a different tweet feed into the same element.
line 217 of the non min version:
$(widget).bind("tweet:load", function(){
This bound the same event to the element object every time the .tweet function is called, quite simply:
  $(widget).unbind("tweet:load").bind("tweet:load", function(){

Unbinds the event before adding a new one.

If someone bound a handler to "tweet:load" after initialising the widget, would subsequent unbind() calls remove that handler?
Not exactly sure I understand what you were trying. Is there an example snippet you could paste so I can understand what was going on?
Cheers,
-Steve

$('.some_link_class').each(function(){
$(this).click(function(){
update_twitter_feed(twitter_username);
return false;
});
});
function update_twitter_feed(twitter_username){
$("#tweet_placeholder").tweet({
join_text: "auto",
username: twitter_username,
count: 1,
loading_text: "loading tweets...",
template: "{time} {text}"
});
}
Every time a "some_link_class" is clicked on it would bind another event to the "tweet_placeholder" element.
So the first click on 'some_link_class' would add an event to "tweet_placeholder" that is triggered after it is added. The second click on "some_link_class" would add another event with the same event type but not override the first event added to the "tweet_placeholder".
So on the second click both the feeds are called and loaded into "tweet_placeholder".
It is true that if the user did try to bind an event called 'tweet:load' to the "tweet_placeholder" element it would take it off.

Gotcha - thanks for taking the time to explain. I'll look into it.

Wanted to take time to think about it, but in the end I've applied your fix verbatim. Thanks for your help with this!
-Steve


Add API to search for files in a group with path. Handles non-unique filenames in groups

Resolves https://github.com/tuist/xcodeproj/issues/670
Short description 📝

Add path based accessor for files in a group

Solution 📦

Simply generate a full path, using the available source root, so it's possible to filter on a complete abs/relative path, rather than just assuming that the filename is enough

Implementation 👩💻👨💻

[x] Step 1: Add unit test
[x] Step 2: Implement file find method
[x] Step 3: Deprecate the name method

Codecov Report

Merging #671 (a25d0b9) into main (0b18c3e) will increase coverage by 0.45%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #671      +/-   ##
==========================================
+ Coverage   84.34%   84.80%   +0.45%
==========================================
  Files         154      157       +3
  Lines        8758     9022     +264
==========================================
+ Hits         7387     7651     +264
  Misses       1371     1371

Impacted Files
Coverage Δ

Sources/XcodeProj/Objects/Files/PBXGroup.swift
85.71% <100.00%> (+6.86%)
:arrow_up:

...s/XcodeProjTests/Objects/Files/PBXGroupTests.swift
94.65% <100.00%> (+0.90%)
:arrow_up:

Sources/XcodeProj/Extensions/Path+Extras.swift
84.37% <0.00%> (-2.73%)
:arrow_down:

Sources/XcodeProj/Utils/CommentedString.swift
91.48% <0.00%> (-1.67%)
:arrow_down:

.../XcodeProj/Scheme/XCScheme+TestableReference.swift
72.88% <0.00%> (-1.63%)
:arrow_down:

Sources/XcodeProj/Project/XcodeProj.swift
43.67% <0.00%> (-1.27%)
:arrow_down:

...urces/XcodeProj/Objects/Files/PBXFileElement.swift
83.33% <0.00%> (-0.76%)
:arrow_down:

...ources/XcodeProj/Utils/BuildSettingsProvider.swift
53.95% <0.00%> (-0.20%)
:arrow_down:

Tests/XcodeProjTests/Scheme/XCSchemeTests.swift
100.00% <0.00%> (ø)

Sources/XcodeProj/Scheme/XCScheme+Runnable.swift
100.00% <0.00%> (ø)

... and 9 more

Continue to review full report at Codecov.

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

Ok! This has now actually changed somewhat, and much improved (I hope!). The only real question is whether or not fullPath(sourceRoot:) might have some unexpected results in some situations; it seems not, though...

@kwridan Thanks for investigating further. To be honest, going deeper into this in order to validate it worked as expected for all cases was beginning to stretch my understanding of PBXSourceTrees, which I've only semi-understanded over the years working in Xcode. I was also trying to set up a whole suite of unit tests (which are still in previous commits), but started chasing my tail and getting a headache... 🤯
So, when I realised there was already an implementation in there, I went with the approach of exposing that, rather than assuming DIY could be any better (probably worse)
Actually our original use case was avoiding duplicate files in groups, and this whole exercise has taught me that addFile(...) already has some form of this...


Case notes being recorded incorrectly in case history

Business Context:
When you add a case note to a case and then look at the case history, the entry for the addition of the case note shows undefined and N/A (see screenshot), which is not ideal

As a
I want
So that
In Scope

Out of Scope

Open Questions

Acceptance Criteria

Scenario:
Given
When
Then

Scenario:
Given
When
Then

Mockups
Checklist (should be reviewed before grooming as the BA or Pair are writing the card—NOT reviewed for the first time at grooming)

Discuss the technical implementation of this card.
Discuss how this feature would be included in or affect the Audit Log.
In respect to security, what could go wrong? Brainstorm threats using STRIDE model, especially if this card introduces a new technical architecture or design pattern. (TIMEBOX: 7 mins) https://docs.google.com/document/d/18AFl1d3SRieI4d_8R3GyEazqQOycLNDHGN_vOYIHuiE/edit#heading=h.aio9zb5j63wl
Ensure any open questions have been resolved with stakeholders.
Determine if documentation should be referenced or created.
Ensure to include all necessary mockups to this card.
Discuss what success/failure user feedback messages would be present, if any occur (front end/back end).
Discuss why this feature would not be implemented behind a toggle / what would happen if this card was partially done while a release branch was being cut.
If this card is part of a sequence of cards, discuss if this card should be blocked until the testing of previous  cards in the sequence have been finished.
Have we added edge cases as ACs that we're considered from a QA perspective
Does this card overlap with any entities outlined in API Housekeeping?

Notes:

in CaseHistoryDetails, it's breaking down model description and mapping each element of that array, but the first element is empty


Make a javascript 'code snippet' app an installable windows .exe using VS CODE?

VSCode Version:
OS Version:

Steps to Reproduce:

Does this issue occur when all extensions are disabled?: Yes/No

VSCode Version:
OS Version:

Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes/No

Hi😁😁

/needsMoreInfo

VSCode Version:
OS Version:

Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes/No


Allow recording without audio

... by adding an  optional parameter withAudio in CameraView.StartRecordingAsync. Fixes #14.

@TFreudi Can you confirm that things work on Windows now, with the changes in c8ec4f63ab0d368c55bb4f5ae3ef2324e0b199f9?

@tfreudi Can you confirm that things work on Windows now, with the changes in c8ec4f6?

Ping!


molecule-podman 2.1.0 not available on pypi.org

Hi! The molecule-podman 2.1.0 package is not available on pypi.org.
FWIW, I will try to unify all the packages we had on Arch Linux for the various plugins into a new package replacing the others in the coming days. However, this is some work and I'd rather first upgrade the molecule-podman package to its latest version.

Do you still need this package ? [ disclaimer: I don't have the powers to do anything about that, I'm only trying to lower the open bug count ]


samples: bluetooth: set available contexts for unicast audio server

set available contexts for unicast audio server
Signed-off-by: Hang Fan<EMAIL_ADDRESS>

The unicast audio server would report ‘Not available to receive audio’ if not set available audio contexts
before patch:

after patch:


set customized cmap lisa_cluste()

I came across the following problem:
https://gis.stackexchange.com/questions/329433/how-to-fix-colors-of-lisa-cluster-maps-from-pysal
I tried to set another colormap, such as
fig, ax = lisa_cluster(moran_loc, gdf, cmap='Blues')

TypeError: plot() got multiple values for keyword argument 'cmap'

https://github.com/pysal/splot/blob/11da7879c0e2f0231317cc8a3fa8fdc00f10a58a/splot/_viz_esda_mpl.py#L921-L932

@StevenLi-DS, thank you for the issue! We currently do not support the change of a cmap in lisa_cluster(). But I will have a look at it for a future release.
If you are interested in changing the colours and need a quick fix, I would recommend cloning the splot GitHub repo, installing splot from your local copy (e.g. installing splot as a developer with cd splot, pip install . in your chosen Conda environment) and changing the colours in: def mask_local_auto(moran_loc, p=0.5): found in _viz_utils.py.
There is a little bit of information on how to install splot for development here and I am happy to add some more in the coming weeks.

Same problem. I think it's important and easily do it by dectect whether the cmap params passed


Ensure that failed jobs still have results (in particular, stdout, stderr) published

If a container returns a non-zero exit code we currently swallow stdout,err and don't give the user any way to get it back. This a regression and makes developing on the network extremely painful
We should also make the UX of a failed job hint to the user that they should get the stderr/out from bacalhau get and/or encourage users to use --download (which prints stdout/err immediately to the screen) or even make download the default?

has this work started? i've been doing a bunch of refactoring in this area and am worried we're doing duplicate work

It turns out we were actually doing this - i.e. publishing a full result set even in the case of the container doing an exit >= 1
I've added a test to check for this now


one class svm

Why do I use the libsvm library to implement one class svm? When the same data is used for training and forecasting, the results will be different each time

May you explain more about your questions?
On 2023-11-27 16:57, xiongli1008 wrote:

Why do I use the libsvm library to implement one class svm? When the
same data is used for training and forecasting, the results will be
different each time
--
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
You are receiving this because you are subscribed to this
thread.Message ID: @.> [ {
@.": "http://schema.org", @.": "EmailMessage",
"potentialAction": { @.": "ViewAction", "target":
"https://github.com/cjlin1/libsvm/issues/208", "url":
"https://github.com/cjlin1/libsvm/issues/208", "name": "View Issue" },
"description": "View this Issue on GitHub", "publisher": { @.***":
"Organization", "name": "GitHub", "url": "https://github.com" } } ]
Links:
[1] https://github.com/cjlin1/libsvm/issues/208
[2]
https://github.com/notifications/unsubscribe-auth/ABI3BHSLYOJT7XW4L2CID73YGRIXFAVCNFSM6AAAAAA73VGW62VHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYTCOBQGA4DONQ


Default JasonDotNet serializer maxdepth

Describe the solution you'd like
Current JasonDotNet serializer maxdepth set to 64, it seems backend today supports upto 128.
Investigate need/impact of raising it higher.

#4542


Ability to write full path to a component's file in className

Hi there!
Our common pattern is to write template in index.tsx (or view.tsx) and styles in styles.tsx. So the most common component dir structure looks like:
client/components/AwesomeComponent:

index.tsx
styles.tsx

That's why classes looks like styles__Header-sc-1ei6mxn-18 and you can't easily identify what Header is it, from Component1/styles.tsx or from Component2/styles.tsx. It would be great for us to write full path to a file from cwd in className, like so client_components_component1_styles__Header-sc-1ei6mxn-18.
What do you think?
btw we absolutely love styled components

What do you think @mxstbr? My only concern is this could greatly increase the payload size of both the CSS and the HTML, though some of it would get gzipped away. Perhaps it could make sense behind a flag that isn't enabled by default.

+1 for flag, it should be used in development only

I added a flag for it in this PR:
https://github.com/styled-components/babel-plugin-styled-components/pull/259


Added logic to choose 'short' or 'scratch' as default shortpath location

Added logic to choose 'short' or 'scratch' as default shortpath location depending on which exists
Added tests for lab path creation.
Rearranged existing tests and shared code to common.py

Hello @aidanheerdegen! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file payu/laboratory.py:

Line 40:59: W291 trailing whitespace

In the file test/test_manifest.py:

Line 14:80: E501 line too long (88 > 79 characters)
Line 16:80: E501 line too long (85 > 79 characters)


Add style to contact page

Description
Screenshots (if applicable, else remove this line / section)

Checklist:

[x] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added necessary inline code documentation
[x] I have added tests that prove my fix is effective and that this feature works
[ ] New and existing unit tests pass locally with my changes

@sunny775 what is the next line of action?


Support MIME type application/yaml

At the moment the server creates an unvalid zip file if the mime type is set to application/yaml and the file send is of type yaml (with curl). If send with json it works well. As you can see in swagger it tells us that the server supports only json. As of yaml is a superset, and your clusterdefinition function already supports this i think the issue is in the controller.
in https://github.com/stackabletech/t2/tree/diy-support-multi-mime-type you can see that i changed the signature of the getmapping. Do you have more places in mind where this issue could be adressed?
Regards
Kev

I picked your commit and added another mime mapping for another endpoint


docs: update to storybook v7

Updates the Primer React storybook to Storybook 7.0 🥳
This PR runs the automatic migration script against the repo. Thankfully there were only a handful of areas where we needed to make changes, namely for TypeScript changes between v6 and v7 of Storybook.
Changelog
New
Changed

Update storybook dependencies to latest using automatic migratoin script
Update .storybook/main.js to use new format for builders from automatic migration script
Update .storybook/preview.js with changes to when addons.setConfig can run
Update CI workflows with new storybook build command (compared to build-storybook previously)
Update storybook test helper for e2e tests to use new HTML structure in v7
Update stories that had TypeScript errors when updating to v7

Removed

IS IT HAPPENING OMG


Breaking change in nix 0.26.3  due to bitflags upgrade

In nix 0.26.3, the bitflags crate was updated which is technically a breaking change.
For example, the function nix::fcntl::OFlag::from_bits_unchecked no longer exist.
(Note: while we were using that function in our project, we're going to port to 0.27 anyway so we're not going to be impacted by this change, but i just wanted to report the issue just in case you think this is worth fixing. I can suggest either reverting the change, or add the missing functions in libc_bitflags macro. )

we're not going to be impacted by this change

Actually, i spoke too soon, one of my dependencies from crates.io (calloop) is impacted
error[E0599]: no function or associated item named `from_bits_unchecked` found for struct `OFlag` in the current scope
  --> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/calloop-0.11.0/src/io.rs:55:41
   |
55 |         let old_flags = unsafe { OFlag::from_bits_unchecked(old_flags) };
   |                                         ^^^^^^^^^^^^^^^^^^^ function or associated item not found in `OFlag`

In light of that, i believe something should be done about it.  (and 0.26.3 should probably be yanked)

Fixed by #2117 .


play2-core: re-enable Play-Integration-Test

cc @schmitch

test run: https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-community-build/1045/consoleFull (404 til Jenkins gets back from the laundromat)

[play2-core] [error] Failed: Total 529, Failed 2, Errors 0, Passed 523, Skipped 4, Pending 4
[play2-core] [error] Failed tests:
[play2-core] [error] 	play.it.http.NettyIdleTimeoutSpec
[play2-core] [error] 	play.it.http.AkkaIdleTimeoutSpec
[play2-core] [error] (Play-Integration-Test/test:test) sbt.TestsFailedException: Tests unsuccessful
[play2-core:error] Incomplete(node=Some(ScopedKey(Scope(Select(ProjectRef(file:/home/jenkins/workspace/scala-2.12.x-integrate-community-build/target-0.9.7-RC1/project-builds/play2-core-69098b021155bb490c563b9e9543905351be1b1b/framework/,Play-Integration-Test)),Select(ConfigKey(test)),Global,Global),test)), tpe=Error, msg=None, causes=List(), directCause=Some(sbt.TestsFailedException: Tests unsuccessful))

maybe just needs longer timeouts...?

Hm I will look into it.
Looks like a SSL problem:
[play2-core] [info] NettyIdleTimeoutSpec
[play2-core] [info]
[play2-core] [info] Play's idle timeout support should
[play2-core] [info]   + support sub-second timeouts
[play2-core] [error]   x support a separate timeout for https
[play2-core] [error]    Expected: java.net.SocketException. Got: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? instead
[play2-core] [error]
[play2-core] [error]     The  SSLException stacktrace is
[play2-core] [error]
[play2-core] [error]    sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:710)
[play2-core] [error]    sun.security.ssl.InputRecord.read(InputRecord.java:527)
[play2-core] [error]    sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
[play2-core] [error]    sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
[play2-core] [error]    sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:747)
[play2-core] [error]    sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123)
[play2-core] [error]    sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
[play2-core] [error]    sun.nio.cs.StreamEncoder.implWrite(StreamEncoder.java:282)

can you tell me the exact java version of the build server?

openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-2ubuntu<IP_ADDRESS>-b14)
OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)

well I looked into it but actually I couldn't find something that might make problems.
Currently what I've fought at first is that tests run more parallel than in our case, however since the https tests are using a totally different port it can't be the case.
Well so the error is either one of the following:

the port 9443 is used elsewhere?
the server generates incorrect ssl messages, maybe caused by a java agent that somehow gets loaded or tcnative that somehow gets loaded (the client actually accepts any certificate and is extremly simple)

Well the first one could be changed pretty fast I guess, I can just change the port to something higher and we could see what happens.

@wsargent possibly of interest?
I'm going to provisionally close this, we can reopen someone decides to tackle it


[SpeedDialAction] Follow the classes root convention

[x] I have followed (at least) the PR section of the contributing guide.

@DrPhil Thank you


Sync error for folders with space at the end

Unable to download files due to spacing at the end of the Luminus folder.

From logfile:
[2022-09-20 17:17:01] ERROR - open C:\Users\user\Desktop\NUS\Lominus\MA1301\Test Seating Plan \Route to MPSH.pdf: The system cannot find the path specified. (D:/jiawei/projects/lominus/internal/cron/cron.go:github.com/beebeeoii/lominus/internal/cron.createJob.func1:231)

thanks for reporting this !

issue resolved with #96


improve typescript, added pnpm instead of yarn, updated dependencies, improved typescript config strictness

@dvlkv Hello, please review. I found some issues - and fixed while improving the typescript config. Tried to impact as less as possible.
improve typescript, added pnpm instead of yarn, updated dependencies, improved typescript config strictness
Please review.

@dvlkv  please review

Hi! I am afraid I cannot merge this PR as it is affecting too much files and brings no practical value. Thank you for your contribution.

It dos brings value: latest typescript, I've fixed some undefined or null type errors, updated types to support tsconfig settings. How is that not valuable?
If you not merging it, I will consider to just inline the code from this package into my own project, cos we using typescript 5.6, and you's stuck on typescript 4.