Fe: Front page web design (discord bot)

Discord bot Frontpage
The current site that explains the Discord bot doesn't do a good job of explaining the usefulness of the bot: https://webaverse.com/discordbot
Based on some research, most Discord bot websites are same colored as Discord and explain the utility right away with actual screenshots. I put together some quick initial mockups, there needs to be more revisions done.

Inspiration

https://tatsu.gg/
https://tacoshack.dev/
https://mee6.xyz/
https://carl.gg/

I've scraped ideas together on Miro. Could go over this with other builders to improve the mockup designs.

progress shot from a builder!

Update: Images have been added in

Going to think of new text to update with

Live Link
https://webaverse-web.vercel.app/discordbot

Text changes:
Boost your Discord community
Build a meme economy in your server with a CLI to Web3
There's no initial wallet setup required, everyone in the server will have an Ethereum address generated for them.
Mint anything from images, 3D models, avatars, and more! The files automatically upload and pin to IPFS.
Create TRADING CARDS for METAVERSE NFTs
Every NFT minted gets a trading card generated with randomized battle stats.
Upgrade your Discord server today

The Contents have been updated, you can check it out
https://webaverse-web.vercel.app/discordbot

I've made a Pull Request
https://github.com/webaverse/webaverse.com/pull/53

Merged, great work! First builder contribution! :raised_hands:


TimberImageHelper::delete_generated_files doesn’t delete jpg files created through tojpg filter

Expected behavior
TimberImageHelper::delete_generated_files() should automatically delete all generated image sizes when an attachment is deleted.
Actual behavior
Some JPG files are not deleted, when they were generated through tojpg Twig filter that was used on a PNG file.
Steps to reproduce behavior

Upload PNG image to Media Library.
Assign PNG to post as featured image.
Bring featured image into template through <img src="{{post.thumbnail.src|tojpg|resize(200, 200)}}">
Check if JPG file with dimensions 200x200 is present in wp-content/uploads folder.
Choose Delete permanently on uploaded PNG in Media Library.
Check for JPG file with dimensions 200x200 still present in wp-content/uploads folder.

What version of WordPress, PHP and Timber are you using?
WordPress 4.4.2, PHP 5.6.10, Timber 0.22.5
How did you install Timber?
Upgraded to newest version via plugin updater in WordPress.

@gchtr: thanks for filing this detailed issue (and using the issue template, it really helps us zero-in on the problem quickly and provide a patch). @connorjburton made changes to the code and submitted a PR in #897 that resolves the issue. Thanks to you both for making the fix happen!

@jarednova @connorjburton Thanks for the fix! I think the issue template works really well, for both sides.


Configured leader election to use configmaps

Configured leader election to use ConfigMaps

Can you elaborate a bit on why this is preferred? Wouldn't also the RBAC need to be changed for that?

Can you elaborate a bit on why this is preferred? Wouldn't also the RBAC need to be changed for that?

The SA does not have rights by default to the resources due to changes in recent Kubernetes versions. RBAC already does have this type of configuration setup
https://github.com/evryfs/github-actions-runner-operator/blob/master/config/rbac/leader_election_role.yaml#L9

The SA does not have rights by default to the resources due to changes in recent Kubernetes versions. RBAC already does have this type of configuration setup
https://github.com/evryfs/github-actions-runner-operator/blob/master/config/rbac/leader_election_role.yaml#L9

@sabre1041 see comment in controller runtime. It seems it is legacy to use configmaps for election?

@sabre1041 see comment in controller runtime. It seems it is legacy to use configmaps for election?

We need to be able to support older Kubernetes environments.

We need to be able to support older Kubernetes environments.

1.18 i believe

1.18 i believe

Seems to exist in 1.16 too: https://v1-16.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#lease-v1beta1-coordination-k8s-io

Seems to exist in 1.16 too: https://v1-16.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.16/#lease-v1beta1-coordination-k8s-io

@davidkarlsen can we move forward on this.

@davidkarlsen can we move forward on this.

Just tried installing on 1.16 and seem to be tripping over this error :/ Is there a good workaround for this?
E0304 04:24:39.197395       1 leaderelection.go:325] error retrieving resource lock github-actions-runner-operator/4ef9cd91.tietoevry.com: configmaps "4ef9cd91.tietoevry.com" is forbidden: User "system:serviceaccount:github-actions-runner-operator:github-actions-operator" cannot get resource "configmaps" in API group "" in the namespace "github-actions-runner-operator"

@BastianM3 it should be covered by the existing role: https://github.com/evryfs/helm-charts/blob/master/charts/github-actions-runner-operator/templates/role.yaml#L18.
How did you install garo? Can you double-check the role?


Network tcp stats filter cannot use semantic name

After proxy sha update to envoy 1.14.1, network filter cannot use semantic name: https://github.com/istio/istio/pull/23265/files#diff-1e82666f6c50fc89b17fee45dfe8d289L1638. Specifically envoy complains: Didn't find a registered implementation for name: 'istio.stats'.
Not sure if this is an upstream envoy bug or we missed a related PR in istio/envoy 1.14.1.

Even before your Sha update merged I saw this error ij master sometimes. unfortunately I didn't record the exact images - very likely the install and proxy images where mismatched though.
I don't 100% understand the timeline of changes here but we should make sure that this never occurs in the 1.5 to 1.6 upgrade


fix (Webpack): Run dev server and Build

Update Webpack Dev Server to 4.4.0
Update Webpack-CLI to 4.9.1
Fix issue when running the server by changing "contentBase" to "static" current format.
Fix issue when building to allow multiple commands sequentially.

Thanks!


Add quote parameter to accepted_values test

Describe the feature
Currently only character values can be tested in the built-in accepted_values test.
Relevant from accepted_values.sql
select
        value_field

    from all_values
    where value_field not in (
        {% for value in values -%}

            '{{ value }}' {% if not loop.last -%} , {%- endif %}

        {%- endfor %}
    )

To support testing both accepted numeric and character values, we should make quoting the values optional.
Additional context
https://getdbt.slack.com/archives/C2JRRQDTL/p1572299083481900
Per a Slack conversations with Claire and Drew, this should not break existing uses of this test.
Drew suggested added a quote parameter, the default of which should be true, which is the current behavior.
Proposed change
{% set quote_values = kwargs.get('quote_values', True) %}

    select
        value_field

    from all_values
    where value_field not in (
        {% for value in values -%}
            {% if quote_values == True -%}
            '{{ value }}'
            {%- else -%}
            {{ value }}
            {%- endif -%}
            {%- if not loop.last -%},{%- endif %}
        {%- endfor %}
    )

Who will this benefit?
All users that use the accepted_values test.

You can change {% if quote_values == True -%} to be {% if quote_values -%}

Wasn't sure how that worked in Jinja, thx!


Use VerifyReadCloser for tar images

Using ggcr's verify closer allows us to ensure the bits we read match the expected hash

done in kbld: https://github.com/k14s/kbld/commit/f6538ce54ba6c7ad0f849878031d5ec084c20857

done in imgpkg: https://github.com/vmware-tanzu/carvel-imgpkg/commit/eea38649ed2cdb76ea36b881acffdf902e0ebc26


Adding a new connector for MSG91

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

Partner has found some issues during testing the connector in Preview - They will submit an other update in the portal and also update the files here in the PR

Please fix the issues and resubmit the PR in the dev branch.


Add url type in the url module

Signed-off-by: Hanlin Shi<EMAIL_ADDRESS>Introduce type url in url module, which has three methods:

user.name: to extract username in URL.
user.password: to extract password in URL.
user: return the colon separated username+password tuple. (if password is not present, then just return username).
without_user(): generate a URL object that removes user credential information.
string(): returns the string representation of the URL object.

Closes #366.

This is fantastic, Hanlin!
I love the move of keeping all of what's common for custom type values while providing the extension point for what will vary. 👍🏼
I need to reflect on the co-existence of the represent feature alongside the StarlarkValueToGoValueConversion. I think it's okay, but I want to sleep on it.
Other than that, I'm really liking where this is landing.

Hi @jtigger, thanks for the feedbacks! I think the tricky part for StarlarkValueToGoValueConversion is, as for now, it doesn't provide a way for people to emit errors. So is it ok if I refactor StarlarkValueToGoValueConversion the interface to allow it return error? If so, then I can make it return error such as "urlValue: cannot coerce to a string; use .string()".

represent vs. StarlarkValueToGoValueConversion vs. ....?
Talked about this with @cppforlife and we arrived at what I thought was a cool compromise:
Given that the only error we'd be "throwing" is that the type is not convertible, what if we introduced an interface that specifically indicates the type is not convertible?
Something like:
type UnconvertableStarlarkValue interface {
	ConversionHint() string
}

So, instead of muddying up StarlarkValueToGoValueConversion with an error (and all the error checks), a type would instead implement the UnconvertableStarlarkValue interface. StarlarkValue.asInterface() detects this interface and returns an error with part of the error message coming from ConversionHint().
Personally, I'm digging how this makes the code more explicit about what's going on: that there are some types that are just not convertible... and that those types ought to give contextualized hints/help in how they might be converted.
Thoughts?
...
A few more comments in-line, below.
Note: a few thing I've marked as "(optional)". I'm sharing these as observations; I'm gonna leave it up to you whether you agree and want to include that change. It's okay if you don't.

Thanks for the suggestions. I think it would make sense to have a separate changeset to cover this optional refactoring, as it's something invisible for consumers.


created a branch, created a file and made a commit, and opened a pull request

created a branch, created a file and made a commit, and opened a pull request

ei kommenttia


"Spotify can't play this right now. If you have the file on your computer you can import it."

No longer works. At least for my Windows 10 Spotify app. Spotify seems to detect the changes in the hosts file.
The app will give out an error.
"Spotify can't play this right now. If you have the file on your computer you can import it."
Once I removed the changes in the hosts file only then the app will play the music.

Yeah same here as well.


Make text field component available on documentation website

Wait for #196
### Tasks
- [ ] UX documentation
- [ ] technical documentation
- [ ] accessibility documentation
- [ ] Launch on sanomalearning.design
- [ ] Mention on Slack
- [ ] Which input do we need from dev side? Please communicate this properly.

The "Behaviour" heading is missing for the text field on confluence: https://confluence.sanomalearning.com/pages/viewpage.action?pageId=411583121
Don't we need this here?
My suggestion would be to keep the documentation as uniform as possible; so describe all the same properties at least, that makes comparing them also easier.

[ ] aria text
[ ] placeholder images


[Enhacement] Updated Website - New UI (#17)

Description

Improved the UI and styling of your Website
Worked on header
Filter and Sort Selective buttons
Glow Effect of Heart Icon
Fixes #17

Screenshots

Before

After

@ankitsaxena21 - I have created my PR, So I have added a Neumorphism styling to your website - removing the borders and making the website more engaging for users

LGTM.
Thank you for contributing to this project @hariketsheth .

@ankitsaxena21 Thanks for reviewing !
Can I request you to please add the hactoberfest-accepted label.

Done


Support other icon sizes

Icon sizes other than 256x256 should be supported.

Is 256×256 a pixel resolution?

Why do some NROs not allow you to modify images? Some NROs show that the modification failed.


Feat/add jadex plugin

This PR comes from a conversation in facebook/jsx#60 where I proposed adding the ability to use Jade like compact indented JSX syntax via option. This was proposed to be implemented as separate plugin.
Since Jsx without end tags resembles Jade. I named this plugin JadeX.
Reasoning.
A lot of Jsx lines are useless end tags. But screen and bandwidth space is precious. And as projects/sources grow ability to focus and spot bugs is often lost in noise especially after inline styles kick in.
How it works.
All the parsing is still done by Jsx plugin as usual.
What we do is we load jsx before jadex and enable locations collecting. The latter is needed for indentations but will be optimized later with locations only for tagstarts.
After Jsx extends acorn with his jsx methods.
We extend acorn with our method calling jsxParseIndentedElementAt instead of jsxParseElementAt.
jsxParseIndentedElementAt adds children based on indentation(for now it uses line and column no from (locations:true)
Finally we disable complaining about missing end tags in jsxReadToken
All tests pass.
I also implemented first indent basic test in test/fixtures/Jadex/indented. More will follow.
var App  =  <div>
                <drawer>
                    <menu>
                        <item>
                <area>
                    <toolbar>
                    <content>

This will also result to twice as fast parsing due to half of tags  and smaller ast trees in web
assembly but most importantly Jsx UI structure will now be much more easy to understand and bugs easier to spot especially in complex projects.

Ahh. I work on case insensitive mac so build was passing before PR.
But as travis spotted
Offender was uppercase plugin dir name
JadeX instead of jadex.
Sorry for that.

i just published in npm babel-plugin-syntax-jadex so babel is now aware of this syntax
var babel  = require("babel-core");
var output = babel.transform("", { presets: ['react'],plugins: ['syntax-jadex'] }).code;

"React.createElement("div", null);"

Sorry, I guess I could have made this clearer in https://github.com/babel/babylon/pull/61. We're not really looking to add one-off syntax extensions to Babylon. At this point we support JSX and Flow as kind of grandfathered-in extra syntax, but otherwise Babylon is only really aimed at supporting officially proposed features for the ECMAScript specification.

Ok going to close


1.14.0

Major features

Implement Nomai shuttles and gravity cannons. The gravity cannon also takes a position for a computer displaying where the shuttle is currently landed, and a position for the gravity cannon controls. Shuttles are linked to gravity cannons using the id and shuttleID parameters.
Added a CreateNomaiText method to the API that allows you to directly write Nomai text without loading from an external xml file.

Minor features

Improvements

Load times should be somewhat faster when going to a new star system.

Bug fixes

Fix Nomai mask being coloured weird sometimes (let center of the universe die)
Make clearing default system options setting actually reset it
Details preserve sectors better. This means you can set them up in your own bundles and they should work.

Have to find a better way of preserving the CDATA for the shuttle computer texture because it breaks UI for volume popups, we might want to either make an entirely different section for directly getting xml translations which would include CDATA


Is there any way to sort Custom Weeks?

assets/preload/weeks/weekList.txt. i haven't implemented a way to custom weeks to be sorted individually, though they're sorted alphabetically if that helps in anything.


Update all citation locations with the new JOSS citation after published

Just modified my N-X paper with the latest citation.
@SmartJingJing123 Can you check whether the ref in the RIDES-related papers need to update also?

@mzy2240 - I'm going to close this since I've updated the citation in the main README as well as in the .rst file. I'll go ahead and email the group with the new citation.

Just modified my N-X paper with the latest citation.
@SmartJingJing123 Can you check whether the ref in the RIDES-related papers need to update also?

Yes, I will add ESA in the evaluation metric paper since I used it in the TSR file decoding process. And I could think about whether ESA can be added in the RIDES development paper as well.


[Bug] [run shell script]

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
i have a shell command, it can run on my linux machine, but when i deploy DS,the shell cant run on DS,and i can only get few information
myshell:
hive -e 'insert into test.td_phone_test select * from test.td_phone limit 10'
here is the log:
[LOG-PATH]: /cloud/data1/apache-dolphinscheduler-3.1.5-bin/standalone-server/logs/20230427/9364246845920_1-1-1.log, [HOST]:  Host{address='<IP_ADDRESS>:1234', ip='<IP_ADDRESS>', port=1234}
[INFO] 2023-04-27 09:43:12.582 +0000 - Begin to pulling task
[INFO] 2023-04-27 09:43:12.592 +0000 - Begin to initialize task
[INFO] 2023-04-27 09:43:12.592 +0000 - Set task startTime: Thu Apr 27 09:43:12 UTC 2023
[INFO] 2023-04-27 09:43:12.593 +0000 - Set task envFile: /cloud/data1/apache-dolphinscheduler-3.1.5-bin/standalone-server/conf/dolphinscheduler_env.sh
[INFO] 2023-04-27 09:43:12.593 +0000 - Set task appId: 1_1
[INFO] 2023-04-27 09:43:12.593 +0000 - End initialize task
[INFO] 2023-04-27 09:43:12.604 +0000 - Set task status to TaskExecutionStatus{code=1, desc='running'}
[INFO] 2023-04-27 09:43:12.609 +0000 - TenantCode:hive check success
[INFO] 2023-04-27 09:43:12.614 +0000 - ProcessExecDir:/tmp/dolphinscheduler/exec/process/hive/9364241561184/9364246845920_1/1/1 check success
[INFO] 2023-04-27 09:43:12.614 +0000 - Resources:{} check success
[INFO] 2023-04-27 09:43:12.619 +0000 - Task plugin: SHELL create success
[INFO] 2023-04-27 09:43:12.619 +0000 - shell task params {"localParams":[],"rawScript":"hive -e 'insert into test.td_phone_test select * from test.td_phone limit 10'","resourceList":[]}
[INFO] 2023-04-27 09:43:12.620 +0000 - Success initialized task plugin instance success
[INFO] 2023-04-27 09:43:12.620 +0000 - Success set taskVarPool: null
[INFO] 2023-04-27 09:43:12.624 +0000 - raw script : hive -e 'insert into test.td_phone_test select * from test.td_phone limit 10'
[INFO] 2023-04-27 09:43:12.625 +0000 - task execute path : /tmp/dolphinscheduler/exec/process/hive/9364241561184/9364246845920_1/1/1
[INFO] 2023-04-27 09:43:12.628 +0000 - Begin to create command file:/tmp/dolphinscheduler/exec/process/hive/9364241561184/9364246845920_1/1/1/1_1.command
[INFO] 2023-04-27 09:43:12.629 +0000 - Success create command file, command: #!/bin/bash
BASEDIR=$(cd dirname $0; pwd)
cd $BASEDIR
source /cloud/data1/apache-dolphinscheduler-3.1.5-bin/standalone-server/conf/dolphinscheduler_env.sh
/tmp/dolphinscheduler/exec/process/hive/9364241561184/9364246845920_1/1/1/1_1_node.sh
[INFO] 2023-04-27 09:43:12.634 +0000 - task run command: sudo -u hive -E bash /tmp/dolphinscheduler/exec/process/hive/9364241561184/9364246845920_1/1/1/1_1.command
[INFO] 2023-04-27 09:43:12.642 +0000 - process start, process id is: 5638
[INFO] 2023-04-27 09:43:12.667 +0000 - process has exited. execute path:/tmp/dolphinscheduler/exec/process/hive/9364241561184/9364246845920_1/1/1, processId:5638 ,exitStatusCode:127 ,processWaitForStatus:true ,processExitValue:127
[INFO] 2023-04-27 09:43:12.672 +0000 - Send task execute result to master, the current task status: TaskExecutionStatus{code=6, desc='failure'}
[INFO] 2023-04-27 09:43:12.672 +0000 - Remove the current task execute context from worker cache
[INFO] 2023-04-27 09:43:12.673 +0000 - The current execute mode isn't develop mode, will clear the task execute file: /tmp/dolphinscheduler/exec/process/hive/9364241561184/9364246845920_1/1/1
[INFO] 2023-04-27 09:43:12.693 +0000 - Success clear the task execute file: /tmp/dolphinscheduler/exec/process/hive/9364241561184/9364246845920_1/1/1
[INFO] 2023-04-27 09:43:13.643 +0000 -  -> /bin/hive: line 27: /opt/soft/hive/bin/hive.distro: No such file or directory
[INFO] 2023-04-27 09:43:13.645 +0000 - FINALIZE_SESSION
What you expected to happen
i want the shell script run normally on DS like it did on my machine
How to reproduce
create a shell script then do  hive commands on DS
Anything else
No response
Version
3.1.x
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

[INFO] 2023-04-27 09:43:13.643 +0000 - -> /bin/hive: line 27: /opt/soft/hive/bin/hive.distro: No such file or directory

Please check your environment configuration.

[INFO] 2023-04-27 09:43:13.643 +0000 - -> /bin/hive: line 27: /opt/soft/hive/bin/hive.distro: No such file or directory

Please check your environment configuration.

after i change the HIVE_HOME in dolphinscheduler_env.sh，it works.
but i still confuse why outside this service it could run normally ,however inside the service it failed.They both on the same machine.


Jade has been renamed to pug

Challenge Build Web Apps with Expressjs has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
hi folks, i get these warnings when starting the express tutorial
npm WARN deprecated<EMAIL_ADDRESS>Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated<EMAIL_ADDRESS>Deprecated, use jstransformer
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
it seems from the article (http://evanhahn.com/understanding-express/) that pug is the way to go so just wondering how i can upgrade to pug?
thanks very much! really appreciate you guys helping us newbies out!

@sw-yx
Pug was formerly known as Jade. Refer: https://github.com/pugjs/pug#rename-from-jade.
It has some breaking changes too, like syntax changes.
Such changes are documented in https://github.com/pugjs/pug/issues/2305
Pug is currently in Beta, and at some point, the node school article will be updated (when its actually goes out of beta, maybe).
Until then, you can ignore the warning and continue with Jade, if you are a complete beginner to  it. Transitioning later should be easier, because you would have had the concepts clear.
Leaving this open for further suggested articles, from the community.

@raisedadead since the backend challenges are being overhauled, I think the workshoppers will replaced with something else. Or am I mistaken?

@dhcodes I am afraid, I have not been up to date with the expansion lately, but yeah that sounds like a good idea though.

backend challenges being overhauled?? ooh! whats coming? I’m like halfway through the current set of challenges now...
Sw yx
Sent from
https://polymail.io/?utm_source=polymail&utm_medium=referral&utm_campaign=signature
On Sat, Nov 26, 2016 at 4:29 AM Dylan
<
mailto:Dylan<EMAIL_ADDRESS>
wrote:

a, pre, code, a:link, body { word-wrap: break-word !important; }
https://github.com/raisedadead
since the backend challenges are being overhauled, I think the workshoppers will replaced with something else. Or am I mistaken?
—
You are receiving this because you were mentioned.
Reply to this email directly,
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/11806#issuecomment-263024209
, or
https://github.com/notifications/unsubscribe-auth/AGc5nXD6UCo_37COfAR9KOC8WtY9yQdBks5rB1NVgaJpZM4K8Mif
.

@sw-yx
Apologies but can you please discuss on the chat, keeping the thread for issue-specific discussions only. That said, challenges would mostly be same, with a new twist making them more flexible.
And do not worry your progress is still counted, as always. You can also should you want to do them again per your interest, hang tight... 😉

Somewhat distantly related to https://github.com/FreeCodeCamp/FreeCodeCamp/issues/8743 in terms of jade-to-pug transition.

This is more of an issue for workshoppers, not us as we do not maintain it.
@sw-yx using jade will not do you any harm, currently freeCodeCamp is using jade to render almost everything on the production site. You can use pug where the workshopper says to use jade, I'm sure it wont break anything.
Happy coding


How to visualize the denoising process？

What are the axes, mean and variance?

We used PCA to map the latent code of each frame at each time step to a 2-dimensional vector.

Thank you for your answer.


Unable to find network where name in docker-compose file used template var.

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
I have a docker-compose.yml file with a service, that attaches to my traefik network declared as an existing external network.
version: '3.9'

services:
  sqlserver:
    image: mcr.microsoft.com/mssql/server:2022-latest
    deploy:
      replicas: 1
      restart_policy:
        condition: any
        delay: 5s
      labels:
        traefik.tcp.services.sqlserver.loadbalancer.server.port: 1433
        traefik.tcp.routers.sqlserver.entrypoints: "mssql"
        traefik.tcp.routers.sqlserver.rule: "HostSNI(`*`)"
        traefik.tcp.routers.sqlserver.tls: "false"
        # traefik.tcp.routers.sqlserver.service: sqlserver
        traefik.enable: "true"
        # traefik.docker.network: "reverse-proxy-${TRAEFIK_NETWORK_NAME}"
    # ports:
    #   - '1433:1433'
    environment:
      ACCEPT_EULA: "Y"
      MSSQL_SA_PASSWORD: "${MSSQL_PASSWORD}"
    networks:
      - sqlserver
      - traefik-net

networks:
  sqlserver:
    name: sqlserver
    driver: overlay
    attachable: true

  traefik-net:
    name: reverse-proxy-${TRAEFIK_NETWORK_NAME}
    driver: overlay
    external: true

Note: I have several oother services such as web api's deployed in an identical way which all have this same issue.
When this is deployed using docker stack deploy note that the environment variable ${TRAEFIK_NETWORK_NAME} is used in the template.
I then see errors in the traefic logs
67eem  time="2023-07-03T13:41:27Z" level=warning msg="Could not find network named 'reverse-proxy-${TRAEFIK_NETWORK_NAME}' for container 'mystack_sqlserver.1'! Maybe you're missing the project's prefix in the label? Defaulting to first available network."

However if I uncomment this label
- traefik.docker.network=reverse-proxy-${TRAEFIK_NETWORK_NAME}

This error goes away.
I beleive that traefik should be able to work out the network name without this label but is this a wrong assumption, or could this be a bug?
What did you see instead?
67eem  time="2023-07-03T13:41:27Z" level=warning msg="Could not find network named 'reverse-proxy-${TRAEFIK_NETWORK_NAME}' for container 'mystack_sqlserver.1'! Maybe you're missing the project's prefix in the label? Defaulting to first available network."

What version of Traefik are you using?
I am running the traefik 2.7 docker image:
services:
  reverse-proxy:
    # The official v2 Traefik docker image, Published on https://hub.docker.com/_/traefik?tab=tags
    image: traefik:v2.7

What is your environment & configuration?
providers:
  docker:
    endpoint: "unix:///var/run/docker.sock"   # Listen to the UNIX Docker socket
    exposedByDefault: false                   # Only expose container that are explicitly enabled (using label traefik.enabled)
    network: "reverse-proxy-${env_name}"      # Default network to use for connections to all containers.
    #network: "{{ env "env_name" }}-reverse-proxy"
    swarmMode: true                           # Activates the Swarm Mode (instead of standalone Docker).
    swarmModeRefreshSeconds: 15               # Defines the polling interval (in seconds) in Swarm Mode.
    watch: true                               # Watch Docker Swarm events
    # constraints: "Label(`traefik.env.name`,`{{ env "env_name" }}`)" # only consider services with a matching label.  I.e this traefix is scoped to services with this label
    # domain: "docker.{{ env "TRAEFIK_DOMAIN" }}"
  file:
    filename: "/etc/traefik/config.yml"       # Link to the dynamic configuration
    watch: true                               # Watch for modifications
  providersThrottleDuration: 10

If applicable, please paste the log output in DEBUG level
67eem  time="2023-07-03T13:41:27Z" level=warning msg="Could not find network named 'reverse-proxy-${TRAEFIK_NETWORK_NAME}' for container 'mystack_sqlserver.1'! Maybe you're missing the project's prefix in the label? Defaulting to first available network."

Thanks for reaching out!
To keep the repository focused, we ask that all questions be asked in the [community forum] (https://community.traefik.io/).
It is pretty active, so you might find that your question has already been answered there.  If not, you can ask and get help from other community members pretty quickly.


Using pip-compile --upgrade does not upgrade rPy2 to latest available version in requirements.txt

I am trying to upgrade the rPy2 package from my current version (2.8.5) to the next version available - 2.8.6.
Here are the contents of my requirements.in
# requirements.in
Pandas
Jupyter
Dask
Seaborn
rpy2
matplotlib

When I run pip-compile requirements.in, here is a snippet of the resulting requirements.txt file produced:
.
.
.
pyzmq==16.0.2             # via jupyter-client
qtconsole==4.3.0          # via jupyter
rpy2==2.8.6
seaborn==0.7.1
simplegeneric==0.8.1      # via ipython
.
.
.

Now, I use this requirements.txt to upgrade all packages. Only rPy2 is out of date - all the others are already up-to-date. When I run pip-compile --upgrade and then pip freeze, I find that the rPy2 package has not been upgraded. It still remains at version 2.8.5.
I have also tried pip-compile --upgrade-package rpy2 and pip-compile --output-file requirements.txt requirements.in but rpy2 is still not upgraded.
The steps to reproduce are below. How can I achieve this upgrade of rPy2 using pip-compile?
Environment Versions

OS Type - Windows 8 64-bit
Python version: $ python -V - 3.6.1
pip version:  $ pip --version - 9.0.1
pip-tools version: $ pip-compile --version - 1.9.0

Steps to replicate

Install Python - I got this file
Install R - I got this file
Install rPy2 version 2.8.5 using a pre-compiled binary, for Windows, from here
Set rPy2 environment variables

R_USER C:\Users<user_name>\AppData\Local\Programs\Python\Python36\Lib\site-packages\rpy2
R_HOME C:\program files\R\R-3.4.0

At the git-bash console or Windows command prompt:

pip-compile requirements.in
pip-compile --upgrade (or pip-compile --upgrade-package rpy2 or pip-compile --output-file requirements.txt requirements.in)
pip freeze

Expected result
rPy2 would be upgraded to version 2.8.6, after running pip freeze in last step above.
Actual result
rPy2 remains at its current version of 2.8.5, after running pip freeze.
EDIT
rPy2 does not list any Python dependencies. My version of R - 3.4.0 and Python meet the  rPy2requirements.

Digging a bit into this:
The package six is bizzarely listed as a dependency in requirements.txt. Also in requirements.txt, six is at version 1.10.0 which is the latest version.
Maybe rPy2 cannot be updated since its apparent dependency six is already at the latest version? Could this be the cause of the problem?

Just to double check: I noted that the example of requirement.txt you've given actually contains rPy2 2.8.6, I assume that yours contains 2.8.5, right?
Also, you said that you performed a pip-compile, and then a pip freeze, and the package r2py was not updated, but I'll also assume that you did pip install -r requirements.txt in between to actually update your venv with the new requirements.txt, right?
If those 2 things above are true, could you give me your full requirements.txt before and after trying to upgrade, as well as the verbose output of each of your pip compile command?
I'll try to get the time to setup R and try to reproduce, but in the meantime, maybe I'll be able to help with that additional info.

Hi,
I think you might have already resolved the problem.
Here's the info about the questions:

My pip freeze currently gives 2.8.5 - this is the version I have installed. After running pip-compile requirements.in, the produced requirements.txt file does list 2.8.6.
Apologies since I am new to pip-tools - I was following the instructions here which indicated:

pip-compile requirements.in    #generates requirements.txt
pip-compile --upgrade          #to periodically upgrade all packages

I assumed the second command would have performed the upgrade. So, after pip-compile --upgrade, I did not actually run pip install -r requirements.txt. This might be the problem - I think I followed the Updating requirements section of the README.md too literally. Is this necessary to perform the upgrade with pip install -r ....., or does pip-compile --upgrade perform this upgrade automatically?

pip-compile makes no change to the installed packages, so yes, you have to do pip install -r ......
The --upgrade flag is actually to upgrade the version in the resulting requirements.txt.
Now, you might ask:
"Wait, you mean re-runing pip-compile without --upgrade does not update the requirements.txt? Why? Why would a run pip-compile` then?"
And thats a good question. The thing is that when re-running pip-compile, the tool will make sure that the requirements.txt still respects what's in the requirements.in. Much like if you do pip install resquests>=2.13.0, and requests 2.14.0 is already installed, it won't upgrade it to the latest (say 2.17.3). For pip install to update requests to the latest, you must use --upgrade. It's the same thing for pip-compile: For the version in the requirements.txt to be updated after it was first generated, you use --upgrade.
I hope that makes sense. Tell me if not, that can be confusing.

Many thanks! Yes, all makes sense. Thanks for the details.


Add mana calculations

https://github.com/iotaledger/tips-draft/blob/tip39/tips/TIP-0039/tip-0039.md

Closed by https://github.com/iotaledger/iota-sdk/pull/1376


add logging and external file for currency conversion service

external file is not possible. leaving a script to get logging file from docker.
have plan to add logstash for central logging


Not able to create local platform due to errors with docker --tlsverify

When the command in compose script:
docker --tlsverify --tlscacert=${HOME}/.docker/machine/certs/ca.pem --tlscert=${TEMP_CERT_PATH}/cert.pem --tlskey=${TEMP_CERT_PATH}/key.pem -H=${DOCKER_HOST} version &> /dev/null
do not finish properly, that script to bring up the platform do not finish ok (although platform could be created properly anyway).
I have found this issue repeatedly in local environments.

@TheTechOddBug I tried with docker-machine but can't reproduce this issue. Could you please provide the steps?

I haven't tried that lately but the issue happened on low resources and not so much cpu capable PC and, maybe, more important within company network connection and restrictions. I'll try again and I'll let you know.


Applepay - Missing details

Action Items -

[ ] Add Support for the config collect_billing_details_from_wallets, to give the option for the merchant to either collect billing details from Wallet SDK or directly from Hyperswitch SDK in the Dynamic Fields.
[ ] In case collecting billing details from Wallet SDK, add validation on the fields received in the response given by the Wallet SDK before sending in the confirm payload.
[ ] Open modal to collect the invalid details sent by the Wallet SDK
[ ] Add support for a config from the merchant to open a Modal to show all the details sent by the Wallet SDK to verify from the user


Case sensitive tokens to work with lowercase letters

Is your feature request related to a problem? Please describe.
When users use these case-sensitive tokens (text case, text decoration, font family, font weight), want them to work with lowercase letters too.
Example:
text case
Current behavior - None
Expected - none
Text Decoration
Current behavior - None
Expected - none
Font Family
Current behavior - Inter
Expected - inter
Font Weight
Current behavior - Bold
Expected - bold

Not sure I understand fully. Is this about being able to use bold for Bold? And inter for Inter?

@six7 correct.

Migrated to Featurebase

Migrated to Featurebase

Added to featurebase request -
📏 Expand accepted reference token types and units


EN Documentation: Notifcation & Alert component

TODO*

[x] First version of EN documentation for component using documentation template
[ ] Review of documentation
[ ] Publishing documentation on site

Outcomes

First version of documentation for component for feedback

Deliverables

Published documentation page(s)

Estimated Effort

[ ] XS: 1 to 2 hours
[ ] S: half a day
[ ] M: 1-2 day
[ ] L: 1 week
[ ] XL: Move to an epic

Out of scope

@nmakuch can you review the design part, please?
@SmartMouthWords the draft is ready for your review.
The draft can be found here:
https://docs.google.com/document/d/1OWtLThCcHF1y3o2VgqF8Wt2LtU6kTkUMppYpcjZ8XRI/edit?usp=sharing

Looks good, nothing to currently add that isn't there already


Single Run Page - Annotation Metadata

User story: (4.2) I want to see all the annotation metadata from single run page, so that I can access detailed information
Tasks

[ ] full list of annotation metadata accessible but initially tucked away (likely via panel) - open via "more info" within each row within the table
[ ] when panel is open, the rest of the page (outside of the panel) is greyed out and not accessible - user to click on "X" or somewhere outside of the panel to close
[ ]  the annotation row that metadata is opened from is highlighted in gray

Link to design: https://www.figma.com/file/WEmbsjtlBUtRy7pzmuCCjj/CryoET-Data-Portal---Phase-2-Designs?type=design&node-id=1310%3A11321&mode=dev

Screenshot from Design:

Following bug was found during testing:
Page not greyed out and accesible when right panel is opened #245


[backport] updated english for extension documentation

Backport of #4215

Please merge this and make backport please. #4446

Sorry, it's my fault. I missed the error somehow... (I thought all tests have passed by maybe was seeing different tests ...) Anyway, I merged the PR #4446. @kmaehashi

LGTM!


LinearForm’s copy constructor might cause a segfault when the copy is deleted

LinearForm doesn’t seem to obey the Rule of 3 — it doesn’t define a copy constructor explicitly, so an implicit copy constructor is used. I think this implicit copy-constructor could pose a potential problem because dlfi, dlfi_delta, blfi, and flfi will be deep-copied (owing to the copy constructor in mfem::Array), but the pointer elements within each of these Array objects will be shallow-copied — their addresses will be copied only. Given that each LinearForm owns the pointers in each of those Arrays, it looks like the destructor for the original and the copy will each call delete on those pointers, which could cause a segfault. If I’m correct, then an appropriate explicit copy constructor will need to be defined for LinearForm. The lack of explicit copy-constructor also suggests that the assignment operators may need re-examining — these are typically implemented using a copy-and-swap idiom, and if the copy operation needs to be rewritten, the assignment operators probably need to be rewritten also.
cc: @v-dobrev, related to #654

@goxberry,
I've never considered the implications of the implicit copy ctor and copy assignment operator in class LinearForm. I did not think they will be useful -- I guess I was wrong. 😃
I think @mlstowell's PR #568 (which I have not had time to review yet) already addresses some, if not all, of the issues you pointed out. If not, we can certainly add the missing parts.

@v-dobrev I've quickly glanced at #568, and it looks like it implements a deep-copying copy c'tor, which removes the segfault/Rule of 3 issue above. I think the assignment operators would still need to be modified in #568 for consistency with the copy constructor, but doing so via copy-and-swap should only require minor changes.

@goxberry, I started looking at #568 and I see that it does not provide actual copy constructors.
Let me try to clarify the issue that you are raising: is it (1) the current state of class LinearForm can be used in ways that leads to segmentation faults/memory corruption (specifically when using the implicit copy constructor and the implicit copy assignment operator); or is it (2) class LinearForm has to provide proper copy constructor, and proper copy assignment operator, so that it can be used safely with STL containers? Clearly, addressing (2) will resolve (1). However, if we are just trying to address (1), we can simply disallow copy construction and copy assignment (by making them private in c++03, or by deleting them in c++11) -- this is simpler than addressing (2).

@v-dobrev You're right, #568 doesn't provide a copy constructor.
I'm raising issue (1). You're right that LinearForm need not expose a public copy-constructor -- implicitly or otherwise -- unless you want to permit users to write code that requires these operations, like passing a LinearForm object by value, or like your example of STL containers. mfem::Vector does have a copy constructor and a copy assignment operator, so it's not unreasonable for a user to attempt some operation with LinearForm objects that requires copying. I don't have any particular need for copy-constructing or copy-assigning LinearForm objects at the moment, so I have no strong opinions on issue (2). I support disallowing those operations or implementing appropriate versions of those operations instead of the implicitly-defined versions. Passing pointers or references instead of passing by value often suffices.

Okay, let's just disallow the copy construction and copy assignment in class LinearForm (and similar classes like ParLinearForm, BilinearForm, etc). Later, if the need arises, we can implement proper copy constructors and/or copy assignments.
Does this sound reasonable? If so, I'll make the changes in #568.

I believe this issue was resolved in #568 which is now merged.


Add simple web support

Adds support for web in the multiview playground.

FYI this won't work with main Flutter until https://github.com/flutter/flutter/pull/139103 lands

The underlying engine bits have made it into the framework


Line up input and output

After more the one calculation the output on the right no longer lines up with the input on the left. After a couple of entries this becomes really jarring and makes the program difficult to use.
Also, if you happen to use all the space on the output side then the output starts getting written off the visible window and you have to scroll down to see it
Feels like both input and output should be aligned and the scroll bar should move both sides in sync

I agree this would make the app even better
e.g. screenshot of misalignment:

Another cool thing that could be done would be to add the possibility to create "seperators" using --- like in markdown to create lines
Or maybe add the possibility to add comments to a line ?
e.g.
CALIGATOR UI

24*365 {Number of weeks in a year} | Number of weeks in a year: 8760

From what I see in the code, comments begin with # :)

Would like to take this issue on :)


valid_until question

Is there any way to set arbitrary valid_until values for attributes in MISP, which will be respected by misp2sentinel?
I have last_seen attributes but they are corresponding to the date, when the indicator was seen for the last time, so don't serve valid_until purpose.
Tried to set Expiration sighting to some date in future but it's not being translated to valid_until.
I know I can ignore last_seen but then valid_date is based on the current date and increased every time connector script is executed.

Anything in future, preferably last_seen + value similar to days_to_expire.
Currently I find this condition never met (as last seen is in the past) :
if date_object > datetime.now():


New number-field component

Closing this PR for now. The branch will remain. PR takes up valuable azure devops resources.


Bump available httpoison to ~> 1.0

This makes dependency resolution in my project easier.
According to this comment on httpoison
there are no breaking changes in httpoison 1.0, so allowing it eases
dependency resolution in downstream projects.

thanks @adherr appreciate it

Would you be up for using Dependabot to create dependency update PRs like this one automatically? It just creates PRs whenever one of your dependencies can be updated. I built it and it's free - I'm just trying to get more people using it. :octocat:

@techgaun could you release it to hex.pm?

@scarfacedeb the new version is on hex now.


Add syntax highlighting for ISPC

...or rather, clone Monaco's C++ syntax and hack in the ISPC keywords. Close enough 😛

Great stuff. Cunning way of extending the language too! (CC @RabsRincon I think at some point we were wondering how to do this?)

Yes we were! I'll implement it once if finish my examns in 2 days. Thanks for the heads up!


Design a nicer CWU proposal

This issue has been auto-generated to facilitate questions about
 a paid opportunity that has just been posted on the
BCDevExchange.
To learn more or apply, visit the opportunity page.
The opportunity closes on Wednesday, March 20th, 2019 at 16:00 PDT.

This opportunity has been assigned

This opportunity has been un-assigned

This opportunity has been assigned

This opportunity has been assigned


Cannot edit inflow mediation when using SOAP to REST feature for tenants

Description:
Cannot edit inflow mediation when using SOAP to REST feature for tenants.
Steps to reproduce:
This issue only seems to be occurring in the tenant mode.
Steps to reproduce.
1 ) Expose a SOAP Service as a REST API.
2 ) Select Options
a ) Implementation Type : Generate REST APIs
b ) Input Type : WSDL.
3 ) Got *Inflow * and Update the code and save.
4 ) Come back again check inflow, update code will not available.

Secondary issue fixed with https://github.com/wso2/carbon-apimgt/pull/9159/commits/618888394f4d3c8ccfdcf682dad54c10833299c4


Inconsistent treatment of trademarks in HTML and PDF outputs

TestTMElement.zip
Feedback from one of our end users:

Recently we bumped into this issue in DITA-OT 3.6.1 where the tm superscript is not printed when there is a repeated value use for trademark attribute and element data.
I have attached the sample content that can demonstrate the issue. It only happens to html based output.
It is somehow “remember” values used before in trademark attribute + element data and it won’t work for any repeating value of such existing combinations.

For example in cases like this:
<topic id="test" xml:lang="en-us">
  <title>Test case for TM element</title>

      <tm tmtype="tm" trademark="ABCY">ABC3</tm>

      <tm tmtype="tm" trademark="ABCY">ABC4</tm>

</topic>

in the HTML based outputs the second trademark symbol is skipped although it applies to a different text. For PDF both are taken into account.
Looking at how the XSLT stylesheets for HTML5 publishing interpret the  element dita-ot/plugins/org.dita.html5/xsl/topic.xsl in the template:
 <xsl:template match="*[contains(@class, ' topic/tm ')]" name="topic.tm">

it seems to mimic a behavior in which subsequent trademark symbols are not output.
For PDF output all trademark symbols are output.
Our client expects the HTML output to behave in the same way.
The DITA 1.3 specification says nothing about how trademark symbols should be interpreted in the published output.

@raducoravu See https://github.com/dita-ot/dita-ot/issues/2065 for related discussion.

@infotexture so according to what was done in #2065, the inconsistency between HTML and PDF still exists, in HTML the second tm is usually ignored, but before the fix for #2065 for certain languages the tm was always ignored for HTML output.

👍 https://www.oxygenxml.com/forum/viewtopic.php?p=70576#p70576
  Is there a setting which will allow us to display the trademark symbol only to the first occurrence of the product name in each topic in the documentation?

In the "org.dita.pdf2/xsl/fo/topic.xsl" this template always returns true:
<xsl:template match="node() | @*" mode="tm-scope" as="xs:boolean" priority="-10">
  <xsl:sequence select="true()"/>
</xsl:template>

The HTML algorithm which attempts to avoid outputting consecutive tm symbols in a topic seems to have problems as well for example here "org.dita.html5/xsl/topic.xsl"
 <xsl:when test="preceding::*[contains(@class, ' topic/tm ')][@trademark = $tmvalue][ancestor::*[contains(@class, ' topic/body ') or contains(@class, ' topic/shortdesc ')]]">skip</xsl:when>

If in my topic I have something like this, the preceding:* will not find any other tm elements as they are in different paragraphs.
        <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
        <topic id="introduction">
            <title>Introduction</title>

<tm tmtype="tm">Merative</tm>

<tm tmtype="tm">Merative</tm>

<tm tmtype="tm">Merative</tm>

        </topic>


Cherry pick omnibus commit

Signed-off-by: Scott Hain<EMAIL_ADDRESS>@mwrock pending success of http://manhattan.ci.chef.co/job/angrychef-build/6/

@chef/engineering-services
(this pulls in the omnibus commit that reflects the correct GCC for sles 11)

Doesn't the bump bot take care of this automatically?

@schisamo as far as I know, it doesn't... I don't know all the details of how it works, but the history leads me to believe it doesn't: https://github.com/chef/chef/commits/master/omnibus/Gemfile.lock

no @schisamo the bump bot just bumps the version and submits a release build

@mwrock What is the dep update stuff for then?
https://github.com/chef/lita_versioner#dependency-update

right there is a timer based action that does update deps. TBH: I'm not familiar with the details of its current status and believe there is a card to address it more formally.


Error handling inconsistent/not working

@boyand  reports that logged errors aren't properly displayed and the span isn't mark as errored.

it seems OT errors are not handled currently
the error data we send is not displayed in “data”
and the span is also not shown as error

[x] Review/fix error handling/reporting
[x] Add tests to validate

While implementing tests for this, I found there are 3 valid/supported methods to indicate an error.  Each of these are now properly translated for the backend:
import (
	ot "github.com/opentracing/opentracing-go"
	ext "github.com/opentracing/opentracing-go/ext"
	"github.com/opentracing/opentracing-go/log"
)

err := errors.New("Error: File not found")
span.LogFields(log.Error(err), log.String("function", "MyBadfunction"))

span.LogKV("error", "File not found")

ext.Error.Set(span, true)


[Event Request] table 167 Job - OnAfterBillToCustomerNoUpdated

Could you please extend the event OnAfterBillToCustomerNoUpdated with additional parameter:
[IntegrationEvent(false, false)]
local procedure OnAfterBillToCustomerNoUpdated(var Job: Record Job; xJob: Record Job; CallingFieldNo: Integer; BillToCustomer: Record Customer)
begin
end;

            Job."Bill-to Contact No." := '';
            Job."Payment Method Code" := '';
            Job."Payment Terms Code" := '';
        end;

#if not CLEAN20
        OnAfterUpdateBillToCust(Job, BillToCustomer);
#endif
        OnAfterBillToCustomerNoUpdated(Job, xJob, CurrFieldNo, BillToCustomer);
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 47832.


Encryption of backups at rest

Support for encrypting backups at rest. RSA keys are used as master keys: public side of the pair is configured where backups are generated. Private key can be injected on the nodes performing restore or at the time of restore.
As for the individual files and blobs, each is encrypted with an single-use generated random key; the key material is encrypted with RSA and prepended to the actual contents.
MAC is appended to the end of the file. This allows streaming of the outflowing data, but only allows rejecting a downloaded content once the full content is fetched and availble.
The cipher code is now injected into the compressor module. I would explore whether both compression and encryption could be implemented as independent but stackable "filters" if you will.

Can you add the new dependency into the debian package.

..and please explain how would we replace the existing key with another one.

Can you also add a commandline to the Setup bit of the README how to generate appropriate keys. (as in the user can just follow and copypaste whaterver is in the setup section and get a working setup)

Restore is missing functionality to decrypt files.

I'll close this one and re-introduce it in chunks.


Increment Version

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/46736
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.2 -m "<description of version>" f0ba92ca3f08ed1616584ff50225e604d48ee672
git push origin v0.2.2


forall statements should assert that they are [True]

Forall statements right now are parsed, then ignored. Forall statements should validate that they resolve to [True]
Solution: The result of the body of a forall statement should resolve to a term with the Constant value True.

rolled up into #63


ensureNoDisposablesAreLeakedInTestSuite: ipc

related to #190503
Fixed all tests expect the ones which use the magic proxy code fromService. That method starts buffering events immediately, even though no customer has attached to them. This is a proper leak with no good solution. Need @bpasero to untangle this.

@joaomoreno added my change to enable the skipped ones


Question

Im looking at the shaders and code, and I dont understand what is offset and halfpixel. Can explain please?

Ok I got the half pixel thing. Question still is how use the offset in the iteration to the image really blurry?


How to wait for deployment to finish

Does anyone know how to wait for the deployment to finish?
I have done this in the past with Elastic (ELK) using:
kubectl rollout status deployment/es-client-ek-cluster --namespace ${K8S_NAMESPACE}

I see these helm charts create 2 different deployments:
$ kubectl -n os-logging get deployments
NAME                        READY   UP-TO-DATE   AVAILABLE   AGE
ofd-client                  0/1     1            0           2s
ofd-opensearch-dashboards   0/1     1            0           2s

Both of these commands finish quite early, while (using k9s) I see pods in the namespace still being dropped and recreated.
$ kubectl -n os-logging  rollout status deployment/ofd-client
Waiting for deployment "ofd-client" rollout to finish: 1 old replicas are pending termination...
Waiting for deployment "ofd-client" rollout to finish: 1 old replicas are pending termination...
deployment "ofd-client" successfully rolled out

$ kubectl -n os-logging  rollout status deployment/ofd-opensearch-dashboards
deployment "ofd-opensearch-dashboards" successfully rolled out

Hi
can you please check the pod status?
And do you observe the same behaviour with the latest released chart version (3.2.8)
Thanks
Niki

Hi,
You can check the init container logs. These are used for a startup dependency management. Initialisation jobs typically wait the dependent components to be up and running. For example, kafka init containers wait for zookeepers to be reachable. Index-patterns jobs wait for opensearch-dashboards to be in healthy state and the latter waits for opeansearch stack to be fully initialised so it can authenticate itself and uploads the "index-patterns", "searches" and "visualisations"
Don't use --wait as that will break the dependency checks.
helm install ... --timeout 10musually is sufficient.  The timeout here is needed to give sufficient time for the statefulsets to be initialised. This can take time due to the sequential startup order and the time volumes are created and attached.
Take a look at nickytd/kubernetes-logging for a setup example.
Thanks
Niki


multitimer: preserve original uiRemove

e.g. a showMenu()'s setUI call.
Without this, a showMenu's call doesn't get its remove callback called.

Tested for a few days, works ok


Need appropriate loader to handle this .node, in Electron.

I'm in Mac, installing nodejieba to https://github.com/chentsulin/electron-react-boilerplate , require nodejieba and get this error.
node-loader did no help for this.

Similar to https://github.com/yanyiwu/nodejieba/issues/91

Tried node-loader, and got Module did not self-register

npm rebuild causing
nodejieba.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. This version of Node.js requires
NODE_MODULE_VERSION 54. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or`npm install`).

rm -rf ./node_modules && yarn don't work for me

After funning ./node_modules/.bin/electron-rebuild , error back to Module did not self-register

移除源码中  lib/utils.h 文件中 对 node.h 文件的引用

@wm123450405 厉害了，你怎么发现的？


Return T from Assert.IsInstanceOfType()

This PR introduced the generic version of the Assert.IsInstanceOfType<T>(). It will be much more useful to return the T from the method, so the two lines of code
Assert.IsInstanceOfType<MyType>(obj);
var myTypeObj = (MyType)obj;

can be replaced with a single line
var myTypeObj = Assert.IsInstanceOfType<MyType>(obj);

Hi @gao-artur, Thank you!
We will review the request.

Sure. Will do it by the end of the week.

Awesome! Feel free to ping me here or on a draft PR if you have any trouble with implementation or tests.

Hey @Evangelink. I'm getting the following errors when trying to build the solution. Not sure what am I missing

C:\github\testfx\test\IntegrationTests\TestAssets\FSharpTestProject\FSharpTestProject.fsproj : error NU1503: Skipping restore for project 'C:\github\testfx\test\IntegrationTests\TestAssets\FSharpTestProject\FSharpTestProject.fsproj'. The project file may be invalid or missing targets required for restore. [C:\github\testfx\TestFx.sln]

C:\Users\ArturGordashnikov.nuget\packages\msbuild.sdk.extras\3.0.44\Build\LanguageTargets\CheckMissing.targets(44,5): error : The specified language targets for uap10.0.16299 is missing. Ensure correct tooling is installed for 'uap'. Missing: 'C:\github\testfx.tools\msbuild\17.6.0-2\tools\MSBuild\Microsoft\WindowsXaml\v17.0\Microsoft.Windows.UI.Xaml.CSharp.targets' [C:\github\testfx\src\TestFramework\TestFramework.Extensions\TestFramework.Extensions.csproj::TargetFramework=uap10.0.16299]

C:\Users\ArturGordashnikov.nuget\packages\msbuild.sdk.extras\3.0.44\Build\LanguageTargets\CheckMissing.targets(44,5): error : The specified language targets for uap10.0.16299 is missing. Ensure correct tooling is installed for 'uap'. Missing: 'C:\github\testfx.tools\msbuild\17.6.0-2\tools\MSBuild\Microsoft\WindowsXaml\v17.0\Microsoft.Windows.UI.Xaml.CSharp.targets' [C:\github\testfx\src\Adapter\MSTestAdapter.PlatformServices\MSTestAdapter.PlatformServices.csproj::TargetFramework=uap10.0.16299]

C:\Users\ArturGordashnikov.nuget\packages\microsoft.windowsappsdk\1.0.0\build\MrtCore.PriGen.targets(891,5): error MSB4062: The "Microsoft.Build.Packaging.Pri.Tasks.ExpandPriContent" task could not be loaded from the assembly C:\github\testfx.tools\msbuild\17.6.0-2\tools\MSBuild\Microsoft\VisualStudio\v17.0\AppxPackage\Microsoft.Build.Packaging.Pri.Tasks.dll. Could not load file or assembly 'file:///C:\github\testfx.tools\msbuild\17.6.0-2\tools\MSBuild\Microsoft\VisualStudio\v17.0\AppxPackage\Microsoft.Build.Packaging.Pri.Tasks.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the  declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [C:\github\testfx\src\TestFramework\TestFramework.Extensions\TestFramework.Extensions.csproj::TargetFramework=net6.0-windows10.0.18362.0]

@gao-artur You will need UWP and WinUI to be able to fully compile the project. Make sure the required VS workload are installed (see https://learn.microsoft.com/windows/apps/windows-app-sdk/set-up-your-development-environment?tabs=cs-vs-community%2Ccpp-vs-community%2Cvs-2022-17-1-a%2Cvs-2022-17-1-b#required-workloads-and-components) and also run the following script (see https://github.com/microsoft/testfx/blob/main/eng/Install-WindowsSDK.ps1).

Very odd. I have installed all mentioned components but still getting the same errors...

Removing UwpMinimum and WinUiMinimum helped. Thanks! For some reason, VS didn't recognize the dotnet 8 sdk installed by the Build.cmd and I had to install it from here. But now I can build the code.

Sorry to hear your first build experience isn't good. I need to setup some VM to try to clone and build the repo from scratch so that I could work on improving the first clone/build experience.


feat(renovate): add merge confidence to update PRs

Adds these handy columns to renovate PRs to give you a better indication if an update is safe to merge or not:

More info: https://docs.renovatebot.com/merge-confidence/
Blocked on https://github.com/time-loop/clickup-projen/pull/108

@mattlewis92 This is great but there are some merge conflicts!

@mattlewis92 This is great but there are some merge conflicts!

Fixed!


#259 Switch to action-maven-plugin

Switch to action maven publish plugin from marketplace.

:+1:

👍


Early leaf spot resistance

I'd like to add Early leaf spot resistance as a child of TO:0000439, fungal disease resistance. It is important in cultivated peanut and is described as:
Traits bearing on the reaction of the plant or plant part to Cercospora arachidicola infection and/or traits that affect the biology of the fungus in the presence of the plant.  Cercospora arachidicola causes the foliar disease Early leaf spot in peanut.  Synonyms for the anamorph (asexual reproductive stage) include Passalora arachidicola and Cercospora arachidis var. macrospora.  The teleomorph (sexual reproductive stage) is known as Mycosphaerella arachidis.
See e.g. Agarwal, G. et al. High-density genetic map using whole-genome resequencing for fine mapping and candidate gene discovery for disease resistance in peanut. Plant Biotechnol. J. 16, 1954–1967 (2018)

I suggest you annotate the data with the existing term from our partners at the Crop Ontology:
Early leaf spot severity CO_337:0000239
Def'n: Early leaf spot disease severity caused by agent Cercospora arachidicola.
While we have not yet incorporated the Groundnut Ontology into Planteome, we anticipate doing so in the near future.
https://github.com/Planteome/CO_337-groundnut-traits
This term would be mapped to the existing TO term:  TO:0002702  Cercospora leaf spot resistance, which is the general class for the diseases caused by various species in the genus Cercospora.


scheduled tasks dont run if the previous instance of the task is still running

Laravel Version
11.30
PHP Version
8.3.2
Database Driver & Version
SQLite
Description
Hello,
Thanks for your awesome work at Laravel.
I came across an unexpected behavior when using the schedule feature, as stated at this link "By default, scheduled tasks will be run even if the previous instance of the task is still running.". However, this is not working as expected in the scope of seconds.
Notice how the 3rd operation started at 18:30:30 and took 5 seconds to finish and the 4th operation didnt start until the 3rd one finished at 18:30:35.
php artisan schedule:work

  2024-11-23 18:30:28 Running ["artisan"  broadcast:send 1] ................................................................................ 1s DONE
  ⇂ "C:\php\php-8.3.2-Win32-vs16-x64\php.exe" "artisan" broadcast:send 1 > "NUL" 2>&1
  2024-11-23 18:30:29 Running ["artisan"  broadcast:send 1] ................................................................................ 1s DONE
  ⇂ "C:\php\php-8.3.2-Win32-vs16-x64\php.exe" "artisan" broadcast:send 1 > "NUL" 2>&1
  2024-11-23 18:30:30 Running ["artisan"  broadcast:send 1] ................................................................................ 5s DONE
  ⇂ "C:\php\php-8.3.2-Win32-vs16-x64\php.exe" "artisan" broadcast:send 1 > "NUL" 2>&1
  2024-11-23 18:30:36 Running ["artisan"  broadcast:send 1] ................................................................................ 1s DONE
  ⇂ "C:\php\php-8.3.2-Win32-vs16-x64\php.exe" "artisan" broadcast:send 1 > "NUL" 2>&1
  2024-11-23 18:30:38 Running ["artisan"  broadcast:send 1] ................................................................................ 1s DONE

Steps To Reproduce
create normal new laravel app
laravel new test
cd test
php artisan make:command broadcastCommand

broadcastCommand.php:
<?php

namespace App\Console\Commands;

use Illuminate\Console\Command;

class BroadcastCommand extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'broadcast:send {brokerId}';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Send broadcast messages to channel.';

    /**
     * Execute the console command.
     */
    public function handle()
    {
        sleep(random_int(1, 5));
    }
}

console.php :
Schedule::command(' broadcast:send 1')->everySecond();

run the schedule:
php artisan schedule:work

This issue already exists! https://github.com/laravel/framework/issues/53342

Duplicate of #53342


Create json files if they don't exist

Instead of crashing at startup if the files don't exist, create them. Especially useful for testing stuff.

the v2 doesn't use json file anymore.


Clarify prune documentation: enabled by default if you run dep init.

The documentation (https://golang.github.io/dep/docs/Gopkg.toml.html#prune) states that prune is disabled by default but does not mention that dep init enables it by default.
Setting the dep init generated prune configuration values to false gives the error
manifest validation failed: root prune options must be omitted instead of being set to false

PR in progress: https://github.com/golang/dep/pull/1650

@tw1nk You should remove the option instead of setting it to false. It's disabled by default when omitted. dep init enables some options default.

Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!


Adding ArtifactHub entries for HTTP Addon v0.2.0

This PR adds an entry in artifact hub for the KEDA HTTP Addon version 0.2.0 release
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO)
[x] A PR is opened to update the documentation on our docs repo

Fixes #11
cc/ @tomkerkhove

Thanks @tomkerkhove !!


AttributeError: '_UnixSelectorEventLoop' object has no attribute 'create_future'

Home Assistant release (hass --version):
0.51.0.dev0
Python release (python3 --version):
Python 3.6.2 :: Continuum Analytics, Inc.
Run in a venv, I don't know why the traceback refers to python3.5
Component/platform:
on hass --open-ui
Description of problem:
Get the following:

Expected:
Launch hass ui
Traceback (if applicable):

2017-08-05 06:16:36 INFO (MainThread) [homeassistant.components.http] Serving /api/websocket to <IP_ADDRESS> (auth: True)
2017-08-05 06:16:36 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/Users/robincole/anaconda3/lib/python3.5/site-packages/asyncio/tasks.py", line 238, in _step
    result = next(coro)
  File "/Users/robincole/anaconda3/lib/python3.5/site-packages/aiohttp/web_protocol.py", line 500, in start
    waiter = create_future(loop)
  File "/Users/robincole/anaconda3/lib/python3.5/site-packages/aiohttp/helpers.py", line 206, in create_future
    return loop.create_future()
AttributeError: '_UnixSelectorEventLoop' object has no attribute 'create_future'
2017-08-05 06:16:36 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/Users/robincole/anaconda3/lib/python3.5/site-packages/asyncio/tasks.py", line 238, in _step
    result = next(coro)
  File "/Users/robincole/anaconda3/lib/python3.5/site-packages/aiohttp/web_protocol.py", line 500, in start
    waiter = create_future(loop)
  File "/Users/robincole/anaconda3/lib/python3.5/site-packages/aiohttp/helpers.py", line 206, in create_future
    return loop.create_future()
AttributeError: '_UnixSelectorEventLoop' object has no attribute 'create_future'

Additional info:

Created a python 3.5.3 venv to match the root, now try to install ha and get the following:
(hass_dev_3_5) Robins-MacBook-Air:home-assistant robincole$ script/setup
...
Installing collected packages: homeassistant
  Found existing installation: homeassistant 0.49.0.dev0
Exception:
Traceback (most recent call last):
  File "/Users/robincole/anaconda3/lib/python3.5/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/Users/robincole/anaconda3/lib/python3.5/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/Users/robincole/anaconda3/lib/python3.5/site-packages/pip/req/req_set.py", line 778, in install
    requirement.uninstall(auto_confirm=True)
  File "/Users/robincole/anaconda3/lib/python3.5/site-packages/pip/req/req_install.py", line 703, in uninstall
    '(at %s)' % (link_pointer, self.name, dist.location)
AssertionError: Egg-link /Users/robincole/Documents/Hass-dev/home-assistant does not match installed location of homeassistant (at /Users/robincole/Documents/Github/home-assistant)

I removed a previously installed version in the root venv and this error disappeared


Add contract testing skeleton to the starter

Would this be a good idea? It is much touted nowadays and this is needed if there are multiple APIs.
A different approach here might be to bake in Pact instead and have contract tests between the UI and the API.
Would this be of value?

Yes good idea. Please submit the PR


Npcap guide

Hi Team,
You should try to have someone do the Npcap installation that hasn't done it before. It's not really very useful the guide since there is no direct link to the download and the command line is someting we have to find ourselves.

Uninstall WinPcap
Download Npcap from:
https://nmap.org/npcap/dist/
find the latest npcap-version.exe file (0.9984 as of 2019-12-12)
Install with this command:
npcap-version.exe /loopback_support=no /winpcap_mode=yes
Ps. You can also just untick loopback support and tick WinPcap mode in the GUI
Install the sensor

Friendly regards
StChrist (Microsoft)

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

ID: 71a56ac5-d132-1427-4c55-12921ec978c7
Version Independent ID: aad125e7-7fa3-5fec-e025-2da79e11f44a
Content: Troubleshooting Azure ATP known issues
Content Source: ATPDocs/troubleshooting-atp-known-issues.md
Service: azure-advanced-threat-protection
GitHub Login: @mlottner
Microsoft Alias: mlottner

@st-christ Thanks so much for taking the time to give us feedback.
We've re-tested the scenario and I've updated the page based on your suggestions and feedback from the product group. .
This page with go live with new information in the next publish (~24 hours).
Appreciate your contribution to our user community!

#please-close


[BUG] Incorrect Input Signature of Saved Model with Ragged Features and Loader transform

Bug description

When using a SequenceTransform as a Loader transformation as part of model training. The saved the model input signature names change to generic names [arg_0, arg_0_1, args_0_2, ...]
Steps/Code to reproduce bug

Run test test_transformer_with_causal_language_modeling with a model.save(tmpdir)
Check the output signature

saved_model_cli show --tag_set serve --signature_def serving_default --dir <path-to-saved-model

The given SavedModel SignatureDef contains the following input(s):
  inputs['args_0'] tensor_info:
      dtype: DT_INT64
      shape: (-1)
      name: serving_default_args_0:0
  inputs['args_0_1'] tensor_info:
      dtype: DT_INT32
      shape: (-1)
      name: serving_default_args_0_1:0
  inputs['args_0_10'] tensor_info:
      dtype: DT_FLOAT
      shape: (-1)
      name: serving_default_args_0_10:0
  inputs['args_0_11'] tensor_info:
      dtype: DT_INT32
      shape: (-1)
      name: serving_default_args_0_11:0
  inputs['args_0_12'] tensor_info:
      dtype: DT_INT64
      shape: (-1)
      name: serving_default_args_0_12:0
  inputs['args_0_13'] tensor_info:
      dtype: DT_INT32
      shape: (-1)
      name: serving_default_args_0_13:0
  inputs['args_0_14'] tensor_info:
      dtype: DT_INT64
      shape: (-1, 1)
      name: serving_default_args_0_14:0

...

The given SavedModel SignatureDef contains the following output(s):
  outputs['item_id_seq/categorical_output'] tensor_info:
      dtype: DT_FLOAT
      shape: (-1, -1, 51997)
      name: StatefulPartitionedCall:0
Method name is: tensorflow/serving/predict

Expected behavior

Names of inputs in saved model signature should match input feature names
Environment details

Merlin version: 22.10
Python version: 3.8.10
Tensorflow version (GPU): [2.9.1+nv22.8, 2.9.2]

The same issue occurs with SparseTensor's passed as inputs to the model.


Support for gRPC client spans

This PR adds support for gRPC client spans, much like we support HTTP client spans. We use the same logic to nest the gRPC spans within server gRPC spans or server HTTP spans.
Outstanding work:

[ ] More unit tests
[ ] Integration tests for both HTTP and gRPC client

Closes https://github.com/grafana/ebpf-autoinstrument/issues/9

Codecov Report

Merging #104 (35d92f4) into main (8d3e69b) will decrease coverage by 26.33%.
The diff coverage is 52.27%.

@@             Coverage Diff             @@
##             main     #104       +/-   ##
===========================================
- Coverage   73.70%   47.37%   -26.33%
===========================================
  Files          20       19        -1
  Lines        1464     1412       -52
===========================================
- Hits         1079      669      -410
- Misses        292      689      +397
+ Partials       93       54       -39

Flag
Coverage Δ

integration-test
?

unittests
47.37% <52.27%> (-0.52%)
:arrow_down:

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

Impacted Files
Coverage Δ

pkg/ebpf/grpc/grpc.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/goexec/structmembers.go
68.18% <ø> (-7.28%)
:arrow_down:

pkg/export/otel/metrics.go
66.66% <37.50%> (-1.87%)
:arrow_down:

pkg/transform/spanner.go
80.95% <60.00%> (-1.55%)
:arrow_down:

pkg/export/otel/traces.go
76.92% <68.00%> (-3.66%)
:arrow_down:

... and 11 files with indirect coverage changes

Thanks Mario!


TLS certificates cannot be ingested by istio-ingressgateway due to missing newline characters

Description:
During the testing of the integration of the issuer with Istio ingress gateway secrets, we've found that the certificates cannot be ingested by the istio-proxy container in the ingress gateway pod due to a missing newline after each certificate.
What's expected:
Newly-generated certificate secrets should be successfully ingested by istio-proxy upon creation or update (certificate rotation)
What's happening:
Certificates are being rejected by istio-proxy with the following error:
[Envoy (Epoch 0)] [2021-06-10 18:24:34.984][21][warning][config] [external/envoy/source/common/config/grpc_mux_subscription_impl.cc:82] gRPC config for type.googleapis.com/envoy.api.v2.auth.Secret rejected: Failed to load certificate chain from <inline>
Versions affected:
google-cas-issuer: 0.3.0
cert-manager: 1.1.0
How to reproduce:
Generate a new certificate with google-cas-issuer in the istio-system namespace. The ingress-sds secret discovery container detects the secret and passes it to istio-proxy, where it is rejected with the error above.
In testing the issue, I've found that we are running into the issue described here: https://github.com/istio/istio/issues/22530.
In order to validate, I was able to modify the generated secret and add a newline after each certificate in the chain for ca.crt, tls.crt, and tls.key.  After adding these newline characters, the istio-proxy container successfully ingested the secret.


to_h returns a hash with symbol keys

Although this is a breaking change, this is how OpenStruct behaves and how I expected your solution to work.
Do you have any special reason for preserving the original keys?

@Kris-LIBIS wrote the spec in question, although I suspect it is an oversight. I generally prefer defaulting to mimicking OpenStruct. @Kris-LIBIS any thoughts?

It is intentional. It asures that a roundtrip 'read file into OpenStruct and save back to file' will not alter untouched data. Changing the keys can - and will in our case - break other applications that share the information in the configuration file. If you change it, please make it configurable as otherwise it would bring down our application. I cannot change the 3rd party's application behaviour, so it is important to keep this behaviour.

@Kris-LIBIS Do you commonly have a case where a YAML file mixes string and symbol keys, or other kinds of keys? Basically, asking how useful an option to preserve the original keys would be, something like:
ros = RecursiveOpenStruct.new({...}, recurse_over_arrays: true, preserve_original_keys: true)
...
ros.to_h

vs doing something like:
ros = RecursiveOpenStruct.new({...}, recurse_over_arrays: true)
...
ros.to_h.reduce({}) { |memo, (k,v)| memo[k.to_s] = v ; memo }

I currently have one case where mixed key types are used. Unfortunately that's enough ;)
To be honest, I believe the mixed key type behaviour of the application should be considered a bug and the concept of server and client exchanging configuration info via a YAML file is bad design. But I do not expect that will be fixed any time soon.
In any other cases I can think of right now, there is only one YAML writer and converting at output would not be an issue. It is fairly common though to want to force keys as symbols/strings that I would at least suggest to make it a method on RecursiveOpenStruct. But I think the code above would not convert {foo: [ { bar: 1 } ] } correctly.

This is not moving and I'm afraid I'm part of the problem. Maybe I should clarify things:
I currently do rely on the indifferent access behaviour, but I do support the fact that ROS should behave as much as possible like an OpenStruct. I'm strongly in favor of making ROS converting keys to symbols on input again as long as there is still an easy way to make it work as it does now. That could mean introducing an extra configuration parameter or defining a module that could be included to change the behaviour.
Unfortunately changing the default behaviour would make it a breaking change now, but as long as users of the gem have an easy way to revert to the I.A. behaviour, that may be acceptable? I do agree that making I.A. the default behaviour was a mistake and it's mine.

Do you think there might be much value in providing a minor release where
the existing behavior is the default but we add an option to enable the
strict behavior? The next major release would then change the default
behavior and make indifferent access optional. This sounds like an extra
set of logistical hoops to deal with compared to just making a new major
version that makes the indifferent access optional though.
Also, if it seems that you are waiting for feedback or a decision from me
and I am not responding within a few days or a week, feel free to comment
on the bug or PR to get my attention.
On Thu, Oct 29, 2015 at 2:09 AM, Kris Dekeyser<EMAIL_ADDRESS>wrote:

This is not moving and I'm afraid I'm part of the problem. Maybe I should
clarify things:
I currently do rely on the indifferent access behaviour, but I do support
the fact that ROS should behave as much as possible like an OpenStruct. I'm
strongly in favor of making ROS converting keys to symbols on input again
as long as there is still an easy way to make it work as it does now. That
could mean introducing an extra configuration parameter or defining a
module that could be included to change the behaviour.
Unfortunately changing the default behaviour would make it a breaking
change now, but as long as users of the gem have an easy way to revert to
the I.A. behaviour, that may be acceptable? I do agree that making I.A. the
default behaviour was a mistake and it's mine.
—
Reply to this email directly or view it on GitHub
https://github.com/aetherknight/recursive-open-struct/pull/34#issuecomment-152120852
.

My problem was simpler than I thought, so I ended up using ActiveSupport's HashWithIndiferentAccess.
Now, I understand this gem solves a very specific need, so perhaps you should clarify that on the README. Otherwise, the approach being discussed here seems more "correct".

Maybe the best way to deal with this is to state in the README how ROS is currently behaving and that it will soon be changing. Making I.A. optional and strict behaviour default again would probably justify a version bump to 0.7, IMHO.

Closing this PR in favor of #40. @Kris-LIBIS @faloi  could you review that PR and let me know if you see any problems? As soon as I get a thumbs up, I will merge it in to master, and I will look into getting #39 merge din.


[WIP] taskwarrior-web: init at 1.1.11

This is WIP.
It includes a service definition for taskwarrior-web (feel free to test, I will do asap).
I want to implement http-authentication for the service - but not today, maybe tomorrow.

@matthiasbeyer Last upstream commit was in September 2013. Does it even work with recent taskwarrior versions?

@geerds Well, yeah. I will close this, as the pkg seems to be unmaintained.


Show lot end times on lot page

BID-208
Following logic in this chart: https://www.notion.so/artsy/Cascading-End-Times-29cdacc4cb3f4614a827fbba561fdfd9#d4c48d6894f14a78b2d8f1257a161e6e
TODO

[x] Sale is not yet open state is not displaying the countdown to start yet
[ ] Sale not yet open state, the Bid button is showing when the sale is not yet open and it should show the "Register to Bid" button instead I think it's actually expected
[x] Add timezone to the display label
[ ] Bid button should be disabled when the sale is closed
[x] Some types are wrong
[ ] Tests for component

Sale is not yet open:

Sale is open:
SaleArtwork end_at > 24 hours from close

SaleArtwork end_at <24 hours from close:

SaleArtwork end_at < 60 mins from close:

SaleArtwork end_at <2 mins from close:

SaleArtwork end_at in the past

@damassi would love your thoughts on whether I should test LotTimer's fragment container w/ our Relay testing tools?


W-16431886-add-7-18-Archive-site-fa

Writer's Quality Checklist
Before merging your PR, did you:

[ ] Run spell checker
[ ] Run link checker to check for broken xrefs
[ ] Check for orphan files
[ ] Perform a local build and do a final visual check of your content, including checking for:

Broken images
Dead links
Correct rendering of partials if they are used in your content
Formatting issues, such as:

Misnumbered ordered lists (steps) or incorrectly nested unordered lists
Messed up tables
Proper indentation
Correct header levels

[ ] Receive final review and signoff from:

Technical SME
Product Manager
Editor or peer reviewer
Reporter, if this content is in response to a reported issue (internal or external feedback)

[ ] If applicable, verify that the software actually got released

Closing this PR since these changes were merged in other PRs.


Support unregistering an action. Have found this useful for in-app testing.

Coverage remained the same at 100.0% when pulling 3892524dac71c9829e0d3efa4940cfc17e184b1b on BoltApp:unregister_config into 4f8f2654b64395bc80cf0c93c01fa7fff408d988 on coinbase:master.

Hey, sorry I didn't see this for so long. I'm happy to merge it in if you rebase onto master.


🚀 Fix sort with same name

Fix this issue https://github.com/argilla-io/argilla/issues/4377

I have tested it with the same dataset that used on #4377 and looks like working to me. Thanks!


Meetup Suggestion: Lexington Bitcoin Meetup

Thanks for making a suggestion for a new meetup.
Please note: Only suggest bitcoin-only meetups.
Meetups which promote any coin or token other than Bitcoin are not suitable for listing.
Altcoin's are only mentioned in the context of warnings or lessons learnt for bitcoin.
Required:

Name of Meetup: Lexington Bitcoin Meetup
Location Of Meetup: Lexington, KY
At least one of the following:

Meetup Page (or similar): https://www.meetup.com/LexingtonBitcoin/
Telegram Group (or similar): https://t.me/joinchat/9ZHtEJwK8VVmMzZh
Matrix Group: https://matrix.to/#/!GyfMdcvxReQKrlvEYB:lexingtonbitcoin.org?via=lexingtonbitcoin.org
Website: lexingtonbitcoin.org

Optional

Name of Organiser(s) & Twitter Handle: Patrick Ulrich (@patrick_ulrich)
Links showing public support: >>>  example
Tweet your commitment

As the organiser of @lexbitcoinorg Meetup I can confirm that the meetup is bitcoin-only
-The meetup is bitcoin focused.
-'Altcoins' are scams and are not promoted in talks/presentations at our meetups.
#bitcoinonlymeetups @bitcoinonly_

Added (2)
Thanks!


Send keystrokes not work for notepad and other programs

Expected Behavior
send keys in background like on-screen keyboard.
Actual Behavior
nothing happened
Steps to Reproduce the Problem

application connect to a notepad
send_keystrokes

Short Example of Code to Demonstrate the Problem
from pywinauto.application import Application

app = Application().connect(title_re="a.txt")
app.top_window().send_keystrokes("aaaaa")

Specifications

Pywinauto version: 0.6.8
Python version and bitness: 3.7
Platform and OS: windows 10

app.UntitledNotepad.Edit.send_keystrokes("aaa") works for me. Also there is .send_chars(...) method (without key combinations support).
I guess sending keys to the top level window is incorrect for this kind of methods. Only .type_keys(...) may work for the whole window but it requires focus.

I have the same problem. Sending keys does not work in some programs. In these situations, I use the following code.
https://github.com/Wavilson/SendKeys/blob/415b81b8ac2fb191bf0302e152222aadd88e8c8b/Key.py
Would it be possible to use it with pywinauto?

@Wavilson method .type_keys("...", with_spaces=True) can do everything. But it requires active desktop like Win32 API function SendInput used in the code you've referenced. So nothing to add to pywinauto.


Get https://<IP_ADDRESS>/api/v1/namespaces: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs

Running :
./bin/wsk property set --namespace guest
error: Authenticated user does not have namespace 'guest '; set command failed: Get https://<IP_ADDRESS>/api/v1/namespaces: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs
However if I run in insecure mode,
./bin/wsk -i property set --namespace guest
It sets fine.
Due to this when I try to set "Service Node Config" in Node-RED UI, I also get
[Error: Error encountered calling OpenWhisk: Error: self signed certificate]
I am assuming it is because I cannot setup insecure from Node-RED
Is there anyway I can fix this certificate issue in openwhisk?

You can use certbot to generate a signed certificate https://certbot.eff.org/.

Did you try to disable TLS for nodered? :
Try that by exporting NODE_TLS_REJECT_UNAUTHORIZED = "0" in your environment.

@rabbah I encountered the same issue. The workaround does the trick. But is the certificate error the expected behavior? If it is, the doc should discuss it.

They do but not in the best place: https://github.com/openwhisk/openwhisk/tree/master/tools/vagrant#ssl-certificate-configuration-optional.
See this discussion for a longer debate about this: https://github.com/openwhisk/openwhisk/issues/1570 (and related pr https://github.com/openwhisk/openwhisk/pull/1838).

Closed by #2000.


Remove modal title question marks

Made it so question marks are only on titles of destructive actions.

Discussed over Flowdock: question marks are appropriate for destructive actions (e.g. Delete this file?), but unnecessary for non-destructive actions (e.g. Add image).
This would be another good suggestion to add to the style guidelines. @geeksnglitter @caneruguz

@sloria I changed this pull request to remove the question marks you wanted removed....

@geeksnglitter Ah ok, didn't see that last commit. Thanks!


Debian 7.8-i386 Parallels image is 20GB

The Parallels image available for Vagrant (v2.0.4) expands to 20GB, rathe than the usual 2-3GB for a base box.
Nothing seems to be using the space in the virtual environment.

Closed due to age, repon if still an issue


How to generate the sha3-256 hash?

I want use it to generate sha3-256 hash, what should i do?below is realization of the package futoin-hkdf
const hkdf = new Hkdf.Hkdf('sha3-256');
const masterPrk =hkdf.extract('aaa', 'bbb');
const secretKey =hkdf.expand(masterPrk, 'ccc', 32);

@yqsailor At this point, js-crypto-hash and other subpackages in jscu do not support SHA-3 series yet since webcrypto for browsers and crypto for Node.js don't as well. (jscu leverages these native apis to accelerate its operation.) It currently supports SHA2 series, SHA1 and MD5.
Honestly, integration of sha3 package (https://www.npmjs.com/package/sha3) into js-crypto-hash seems not much tough, and I will consider to do it as a future work. (If you can, please send me a PR ;-) )

@yqsailor Hello.
Just now, I released js-crypto-hash sub package of v0.5.0 that supports SHA3 on Node.js and browsers. js-crypto-hkdf, js-crypto-hmac, and js-crypto-pbkdf supports SHA3 family as well. Now you can compute SHA3-256 hash value as follows.
import jschash from 'js-crypto-hash';

const computeSha3Hash =  async (msg) => {
  const hashValue =
}

If you want to calculate HKDF-derived key, then please check the README.md in packages/js-crypto-hkdf.
Cheers!


The onboarding screens could use some improvements

I find it a little hard to read the text on the onboarding screens. It would be nice to change them.
I find the new onboarding screens of the wikipedia app to be a good alternative. It's currently only in the alpha. I could help with this if it's ok to change it.

One of my main concerns about the current onboarding screen is that it forces the user to swipe to go to the next screen which isn't such a good thing.

I'm good with changing the layout of the tutorial/onboarding screen, but please post screenshots of the change in your PR so people can comment on it first. :) How would you recommend the transition to the next screen be done?

How would you recommend the transition to the next screen be done?

As I'm just going to take most of the code from the Wikipedia android app, you could see what you would get in live action by using the alpha app. Here are a few screen shots of the android app. I'll post screen shots of the change after I make them.

One thing I need to confirm before I make the change. Is it good to have a generalized onboarding screen that could be re-used? (or) Should I just make an initial onboarding screen ?

@sivaraam We have been talking about forcing "bad" users (users who got reverted a lot) to re-pass the tutorial pages. So making it reusable sounds good.

@nicolas-raoul I guess I should have been more clear. I didn't mean the number of times an onboarding would be shown when I meant re-usable. I meant designing a generalized view pager layout that could be used to create multiple user-education flows.
To be more clear, the Wikipedia app has three user-education flows,

The initial onboarding screen (shown when the user opens the app for the first time)
The tutorial shown when a user tries to edit wikidata descriptions
The onboarding used to introduce the 'Offline Library' feature (still under active development)

Note: These are currently found only in the alpha version of the app.

It would be great to have a generalized layout that could be re-used if possible, IMO. While we do not have a need for it at the moment, many new features for the app are planned, and it's possible we might have multiple flows in the future.
If that is significantly more difficult, a specific initial onboarding screen is fine and is all that is really needed for now.

If that is significantly more difficult, a specific initial onboarding screen is fine and is all that is really needed for now.

As I said before, it's not that difficult thanks to the wikipedia app developers who have done the great work of creating a generalized version of the onboarding screen. So, just a little modification to suite it to the commons app.

@sivaraam  I see you are assigned to this issue, would you mind sharing what is the status? Thanks :-)

@nicolas-raoul I've not been looking into in recent days. So, you coukd unassign me.
Let me know if it is still considered a worthwhile addition. I'll see if I could continue my efforts :-)
If anyone else is willing to take this up, that would be great too!


Fix setFuses return data

This PR addresses an issue with the setFuses function where previously set fuses were not being included in the returned result. A test has been added to ensure the returned fuses are accurate.

I wonder if it makes more sense to leave this as-is and update the docs. The caller can always calculate the new fuses from the old ones, but they can't do the inverse, so this gives them more information.

I wonder if it makes more sense to leave this as-is and update the docs. The caller can always calculate the new fuses from the old ones, but they can't do the inverse, so this gives them more information.

I think this makes sense. @nxt3d would you mind updating the docs?

I wonder if it makes more sense to leave this as-is and update the docs. The caller can always calculate the new fuses from the old ones, but they can't do the inverse, so this gives them more information.

The function just returns the parameter, ownerControlledFuses, it currently serves no purpose.

I think Nick meant to return oldFuses, not the parameter.

I think Nick meant to return oldFuses, not the parameter.

Ok, got it, I will update the PR as well as the docs.

I updated this PR to now return old fuses instead of the new fuses. @jefflau


Help compiling

Hi, trying to compile this so I can include it in the erlang.mk index. I install mesos 0.22.1, I am guessing that's not compatible? I get this:
In file included from /usr/include/mesos/mesos.hpp:22:0,
                 from ../c_src/executor_c_api.cpp:29:
/usr/include/mesos/mesos.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
 #error This file was generated by an older version of protoc which is
  ^
/usr/include/mesos/mesos.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
 #error incompatible with your Protocol Buffer headers.  Please
  ^
/usr/include/mesos/mesos.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
 #error regenerate this file with a newer version of protoc.
  ^

Hey - off the top of my head what is your current version of protoc?
For me it is -
$ protoc --version
libprotoc 2.5.0

From memory I think mesos needs 2.5.0 to compile but I can't remember where I saw that.
I've tested with 0.22.0 and as far as I know there aren't any protobuffer changes in 0.22.1
Anyway - tell me how you get on?
Mark

2.6.1 apparently.
Installed this package: https://aur.archlinux.org/packages/mesos/

From mesos.pb.h -
#if GOOGLE_PROTOBUF_VERSION < 2005000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers.  Please update
#error your headers.
#endif
#if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers.  Please
#error regenerate this file with a newer version of protoc.
#endif

which seems strangely exact?
Is mandating 2.5 out of the question?
Failing that the .h file could be generated using something like -
protoc --cpp_out=. --proto_path=/usr/include/mesos/ /usr/include/mesos/mesos.proto

But that seems a bit weird and might have unintended consequences.
Mark

Yes it would be difficult to find the older version, fix things, make sure other things don't break etc. though not impossible of course. But I will have to defer that to after I solve a few other projects. :-)
An alternative would be for me to include it without checking that it builds but it's not currently possible.
Thanks for the help.


ES6 Intellisense preview

Changes to add an "ES6 IntelliSense Preview" option under:
Tools->Options->Text Editor->Node.js->IntelliSense
The option is only enabled if the TS version is at least 1.6
If the intellisense preview option is enabled the TypeScript editor is used for JS files (instead of the NodeJS editor)

Hi @jramsay, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Jason Ramsay). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

Left some minor comments and lgtm after that!

:+1:
Merging this in now. Too bad about the top margin, but that's not a blocking issue