mount frequently hangs on 14.04 server

***NOTE:***Creating issue here as more of a workaround notice as it doesn't fit on nanobox-boot2docker since it seems to be an issue with the nfs server.
Ubuntu 14.04 server as the host is being plagued by a bug with symptoms similar to these.
Restarting the nfs-kernel-server does allow the hanging mount command
(issued from within the vagrant box guest) to go through.
test@testbox:~$ uname -a
Linux testbox 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
test@testbox:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:  Ubuntu 14.04.3 LTS
Release:  14.04
Codename: trusty
test@testbox:~$ apt-cache policy nfs-kernel-server
nfs-kernel-server:
  Installed: 1:1.2.8-6ubuntu1.2
  Candidate: 1:1.2.8-6ubuntu1.2
  Version table:
 *** 1:1.2.8-6ubuntu1.2 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1:1.2.8-6ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
test@testbox:~$ tail /var/log/syslog
Dec 10 09:41:52 testbox rpc.mountd[1415]: message repeated 7 times: [ qword_eol: fprintf failed: errno 2 (No such file or directory)]
Dec 10 09:42:04 testbox rpc.mountd[1415]: authenticated mount request from <IP_ADDRESS>:876 for /home/test/.nanobox/apps/testapp/nanobox-engine-java (/home/test/.nanobox/apps/testapp/nanobox-engine-java)
Dec 10 09:42:14 testbox rpc.mountd[1415]: authenticated mount request from <IP_ADDRESS>:879 for /home/test/.nanobox/apps/testapp/nanobox-engine-java (/home/test/.nanobox/apps/testapp/nanobox-engine-java)
Dec 10 09:44:14 testbox rpc.mountd[1415]: qword_eol: fprintf failed: errno 2 (No such file or directory)
Dec 10 09:46:22 testbox rpc.mountd[1415]: qword_eol: fprintf failed: errno 2 (No such file or directory)
Dec 10 09:47:57 testbox rpc.mountd[1415]: authenticated mount request from <IP_ADDRESS>:897 for /home/test/.nanobox/apps/testapp/nanobox-engine-java (/home/test/.nanobox/apps/testapp/nanobox-engine-java)
Dec 10 09:48:32 testbox rpc.mountd[1415]: qword_eol: fprintf failed: errno 2 (No such file or directory)
test@testbox:~$ /home/test/.nanobox/apps/testapp/nanobox-engine-java
bin  Enginefile  lib  meta.json  templates

$ sudo service nfs-kernel-server restart
$ tail /var/log/syslog
Dec 10 10:03:09 testbox kernel: [168952.188986] IPVS: Registered protocols (TCP, UDP, SCTP, AH, ESP)
Dec 10 10:03:09 testbox kernel: [168952.189001] IPVS: Connection hash table configured (size=4096, memory=64Kbytes)
Dec 10 10:03:09 testbox kernel: [168952.189044] IPVS: Creating netns size=2048 id=0
Dec 10 10:03:09 testbox kernel: [168952.189240] IPVS: ipvs loaded.
Dec 10 10:02:07 testbox rpc.mountd[1415]: message repeated 6 times: [ qword_eol: fprintf failed: errno 2 (No such file or directory)]
Dec 10 10:03:35 testbox rpc.mountd[1415]: Caught signal 15, un-registering and exiting.
Dec 10 10:03:35 testbox kernel: [168977.852245] nfsd: last server has exited, flushing export cache
Dec 10 10:03:36 testbox kernel: [168979.026059] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Dec 10 10:03:36 testbox kernel: [168979.037467] NFSD: starting 90-second grace period (net ffffffff81cdac80)
Dec 10 10:03:36 testbox rpc.mountd[31306]: Version 1.2.8 starting
Dec 10 10:03:36 testbox rpc.mountd[31306]: qword_eol: fprintf failed: errno 2 (No such file or directory)
Dec 10 10:03:36 testbox rpc.mountd[31306]: message repeated 6 times: [ qword_eol: fprintf failed: errno 2 (No such file or directory)]
Dec 10 10:03:48 testbox rpc.mountd[31306]: authenticated mount request from <IP_ADDRESS>:1009 for /home/test/.nanobox/apps/testapp/nanobox-engine-java (/home/test/.nanobox/apps/testapp/nanobox-engine-java)

# mount command finishes successfully

@sdomino What is the .nanofile configuration to disable nfs?
@sanderson When domino responds, we should probably document the .nanofile configuration to disable nfs.

mount_nfs: false


Merge duplicate import cause parsing error

Below is my test code:
import {
  DEFAULT_FILTER_KEYS,
  BULK_DISABLED,
} from '../constants';
import React from 'react';
import {
  BULK_ACTIONS_ENABLED
} from '../constants';

const TestComponent = () => {
  return <>
  </>;
}

export default TestComponent;

Then run npx eslint to fix this file, then see below error:
5:2  error  Parsing error: Unexpected token, expected "," (5:2)
Missing comma after 'BULK_DISABLED'.
Auto fix result is:
import {
  DEFAULT_FILTER_KEYS,
  BULK_DISABLED

  BULK_ACTIONS_ENABLED
} from '../constants';
import React from 'react';

const TestComponent = () => {
  return <>
  </>;
};

export default TestComponent;

ESLint version: 7.13.0
eslint-plugin-import version: 2.26.0

When you run eslint without autofixing, what exact warning do you get?

When you run eslint without autofixing, what exact warning do you get?

See below errors:
 2:3   error  'DEFAULT_FILTER_KEYS' is defined but never used                                                                          no-unused-vars
   3:3   error  'BULK_DISABLED' is defined but never used                                                                                no-unused-vars
   3:16  error  Unexpected trailing comma                                                                                comma-dangle
   4:8   error  '***\constants.js' imported multiple times  import/no-duplicates
   7:3   error  'BULK_ACTIONS_ENABLED' is defined but never used                                                                         no-unused-vars
   8:8   error  '***\constants.js' imported multiple times  import/no-duplicates
  13:2   error  Missing semicolon

import/no-duplicates autofix cause this issue

I'm able to reproduce it easily, thanks. I'll see what I can do.

hm, actually i'm unable to reproduce this in eslint 7 or 8, and nothing's been changed about this rule since v2.26.0 was released.
Can you share your full eslint config?

(note, that your OP imports from ../constants but your error message says ***\constants.js - are you on windows or something? where do the triple asterisks come from, or the backslash?

note, that your OP imports from ../constants but your error message says ***\constants.js - are you on windows or something? where do the triple asterisks come from, or the backslash?

sorry for late reply, very busy recently.
***\constants.js just hide personal information path with '***'

hm, actually i'm unable to reproduce this in eslint 7 or 8, and nothing's been changed about this rule since v2.26.0 was released.
Can you share your full eslint config?

this is my eslint config:
module.exports = {
  root: false,
  env: {
    browser: true,
    node: true,
    es6: true,
    jest: true
  },
  parser: '@babel/eslint-parser',
  globals: {
    __DEV__: true,
    __PROD__: true,
    __TEST__: true,
    __DEBUG__: true,
    __DEBUG_NEW_WINDOW__: true,
    __BASENAME__: true,
    Url: true
  },
  parserOptions: {
    ecmaFeatures: {
      jsx: true,
      legacyDecorators: true
    },
    sourceType: 'module'
  },
  plugins: [
    'react',
    'react-redux'
  ],
  settings: {
    react: {
      version: 'detect'
    },
    polyfills: 'fetch'
  },
  extends: [
    'standard',
    'plugin:react/recommended',
    'plugin:react-hooks/recommended',
    'plugin:react-redux/recommended',
    'plugin:compat/recommended'
  ],
  rules: {
    indent: ['error', 2],
    semi: ['error', 'always'],
    complexity: ['error', 10],
    'quote-props': ['error', 'as-needed'],
    'no-unused-vars': ['error', { vars: 'all', args: 'none', ignoreRestSiblings: false }],
    'no-var': 2,
    'max-depth': ['error', 4],
    'no-trailing-spaces': 2,
    'no-multiple-empty-lines': ['error', { max: 2 }],
    'react/jsx-uses-react': 2,
    'react/jsx-uses-vars': 2,
    'react/display-name': 0,
    'no-await-in-loop': 2,
    'no-loss-of-precision': 2,
    'no-promise-executor-return': 2,
    'no-unsafe-optional-chaining': 2,
    'require-atomic-updates': 2,
    'array-callback-return': 2,
    'block-scoped-var': 2,
    'no-undefined': 2,
    'react/prop-types': 0,
    'no-template-curly-in-string': 0
  }
};


WIP: Fsdp qlora

Description
AnswerAI managed to get qlora+fsdp working, taking a stab at implementing the fundamentals.
https://github.com/AnswerDotAI/fsdp_qlora/blob/47c17224b86425cd9cf03c1d7c760a5035656859/train.py
cc: @jph00 @johnowhitaker

I'm really excited about this


virt-handler blocks waiting on KVM

/kind bug
What happened:
virt-handler does not check the cluster-level ConfigMap for the useEmulation setting, which means it will block waiting on a KVM device that will never show up.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

KubeVirt version (use virtctl version):
Kubernetes version (use kubectl version):
VM or VMI specifications:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

Upon further review of the code, the issue is slightly different. The real issue is that multiple device plugins are started sequentially--in a single thread. Thus the device manager blocking on KVM devices also inadvertently blocks tun devices.


Use implicit knowledge about divisions for efficient grouping

There are operations like Groupby+Apply that do not require the knowlege of the exact order of rows of the columns but are already happy knowing that a given value is only occurring in a single partition. If this was known we can avoid a shuffle.
This property can be calculated from parquet statistics (if one collects them) but it also occurs very naturally whenever we shuffle data. This is a POC on how such a property could be handled and utilized.
Note: There are even stronger properties we can pipe through here but this is a simple one to get started

This can be extended to a much more useful property if we encode knowledge about this mapping itself. For instance, the unique mapping for a shuffle is a hash on a set of columns. Whenever two datasets are encountered that were using the same mapping this can even be used to have trivial merges.
This topic is being discussed over here https://github.com/dask/dask/issues/9425

I updated your implementation to drop shuffles from merges as well and propagate the mapping through blockwise and similar ops. This is a rough implementation for now
We would need a lot more tests among other things if we want to do this now

Update here: The correctness tpch tests are green on scale 100, so we should be good to go

Yes I only implemented case 1 (and dropped case 2 after you pointed it out to me), I think case 1 is more helpful for us at the moment because we can use it by default (the statistics thing needs explicit action from the user).

For case 1) one would typically also want to remember which function was used to generate this partitioning since that has to match as well for joins to be trivial. Maybe this is follow up work but we should at least make it explicit in docs/function names

I'll improve the docs either later today or tomorrow, but we now use the same partitioning function for all shuffles, so that should be fine from an implementation perspective, we need to document it though, that's correct.

I think case 1 is more helpful

Yes, of course. Case 2 can only do trivial single-df operations. Case 1 includes Case 2 trivially but we have to shuffle. The nice thing about my initial stab was that it could be just inferred from parquet data so read_parquet("foo").groupby(...) could work by just reading parquet metadata. I think this is also something we'll want to implement.

I'll improve the docs either later today or tomorrow, but we now use the same partitioning function for all shuffles, so that should be fine from an implementation perspective, we need to document it though, that's correct.

Yes, I just want to make sure we understand this moving forward. Especially

There is a case (the parquet metadata) which looks very similar but isn't. We have to distinguish this.
While the shuffle currently is unique and used almost everywhere, there are other mechanisms to create a unique partitioning with the properties of Case 2.

 I'll follow up with better naming and docs


Import links containing aliases, not just direct copy of topic title

Currently we need a case-insensitive match between the linking text and the title of the linked topic.
Instead, we should process the linking text based on the title and aliases of the known outbound links.
Each topic also has "linkage" children, which can be used to determine the outgoing links from within the contents.
Each of the topics referenced in the outgoing links can be checked for "alias" child elements of the topic element - these can be used as additional search strings for the links within the topic being processed.
The correct process when processing contents snippets within a topic...

Collect all the linkage children of the topic with a direction of "Outbound".
Collect all the aliases for the target_id of each linkage.
When processing the contents snippets, use the "span" text to lookup in the alias-to-topic map for the correct destination.

Fixed in release 0.0.11


Cookie verification

In this library, there's no way to verify a session cookie, compared to firebase-admin which has a verifySessionCookie function. Passing a cookie value generated from firebase-admin's createSessionCookie to verifyIdToken leads to this error:
{"code":"INVALID_ARGUMENT","message":"Invalid argument: idToken has incorrect \"iss\" (issuer) claim. Expected https://securetoken.google.com/***, but got https://session.firebase.google.com/***"}

Hey @itsWindows11!
The library does not work with Firebase's createSessionCookie and verifySessionCookie. Could you explain your use case a bit? Why are you using those two functions? authMiddleware is responsible for creating and verifying session cookie, so the developer does not have to call those functions. You can still use firebase-admin's verifyIdToken to verify the token returned from getTokens function


Test Release Camera App

What type of PR is this? (check all applicable)

[X ] 🍕 New feature/project
[ ] 🐛 Bug fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Related Issues & Documents

Related Issue #

Screenshots (optional)

@sadiul-hakim bhaiya, please add me as pr reviewer before merging, by this we can avoid potential bugs and can improve code quality

Final version released
On Sun, 19 May 2024, 2:48 pm Jisan Mia, @.***> wrote:

@sadiul-hakim https://github.com/sadiul-hakim bhaiya, please add me as
pr reviewer before merging, by this we can avoid potential bugs and can
improve code quality
—
Reply to this email directly, view it on GitHub
https://github.com/Jisan-mia/dom-projects/pull/46#issuecomment-2119156012,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AV6VR5LMJO65THN6EDSVEETZDBRMPAVCNFSM6AAAAABH6FJBXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJZGE2TMMBRGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

@sadiul-hakim bhaiya, for every pr you'll raise, add me as pr reviewer before merging

Ok, will do that.
On Sun, 19 May 2024, 3:06 pm Jisan Mia, @.***> wrote:

@sadiul-hakim https://github.com/sadiul-hakim bhaiya, for every pr
you'll raise, add me as pr reviewer before merging
—
Reply to this email directly, view it on GitHub
https://github.com/Jisan-mia/dom-projects/pull/46#issuecomment-2119161729,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AV6VR5IFRND7ZGMKY726Y5TZDBTPXAVCNFSM6AAAAABH6FJBXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJZGE3DCNZSHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks, bhaiya, let's expand this project collaboratively

You can changes the photo of my projects to make them standard
On Sun, 19 May 2024, 3:09 pm Jisan Mia, @.***> wrote:

Thanks, bhaiya, let's expand this project collaboratively
—
Reply to this email directly, view it on GitHub
https://github.com/Jisan-mia/dom-projects/pull/46#issuecomment-2119163126,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AV6VR5OHJWZ7H4P6T23LMWLZDBT6PAVCNFSM6AAAAABH6FJBXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJZGE3DGMJSGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

When you'll raise a pr, I'll review it and you can make changes according to the review bhai including photos

No i am talking about existing ones
On Sun, 19 May 2024, 3:33 pm Jisan Mia, @.***> wrote:

When you'll raise a pr, I'll review it and you can make changes according
to the review bhai including photos
—
Reply to this email directly, view it on GitHub
https://github.com/Jisan-mia/dom-projects/pull/46#issuecomment-2119169212,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AV6VR5IYIUH7GC7HPOFU3WLZDBWWLAVCNFSM6AAAAABH6FJBXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJZGE3DSMRRGI
.
You are receiving this because you were mentioned.Message ID:
@.***>


Persist Sensitivity Report to HDFS And Add Mean, Variance Value t

So far, sensitivity only be used in variable selection, we'd better write such report into HDFS files for analysis.

To use one mapreduce to compute mean, variance:
Variance computing:

http://www.cnblogs.com/zhangchaoyang/articles/2623905.html

done in develop-0.2.5 branch


Keys with newlines don't work

QSV3KH4sIAAAAAAAAAGNgYNAz0GESkTaQqGxnqZZN7Sn9MYvrxvsptj+EmUScNAsCeE31LrW77vM6W6F

yqrA9aa1NTmZyal5xqkJ+eV5qka1SallqUWV+XqpDcXJGfl5aak6KXnJ+rpIdl4KCTUFRfkppcokPRAd

ICCGoUJJZkpNqq1QYXFKakpmvpFBcklhU4pJYAhQzMjAy0TUw1zUwUzA0sTIytjI00jMyNVcIDXFWUkj

Doesn't work as it contains new lines. Should ignore newlines and spaces.

fixed in previous release.


Enhancement: Support Catalog Classloader Isolation in FE

Enhancement
FE should support Classloader isolation for catalogs.

StarRocks now supports many catalogs, but does not isolate these classes from different catalogs.
For each catalog, It's a common requirement to support different versions of external systems. For example, different JDBC Catalogs use different versions of mysql Drivers.

If Catalogs are not isolated, it will result some unexpected exceptions in some cases.

Would you like to contribute to improve it?

Would you like to contribute to improve it?

Yeah, I'd like to. I thinks this is a big enhancement for SR, I would like to hear more from community and work together on it.


add spec token support

Add SPEC token support: https://spec.finance/

@JoowonYun please review and merge, the platform has soft-launch since 1 July. Thank you.


jlink support

If it is not out-of-scope from your POV it would be nice if you could also provide support for conveniently using jlink without using a task of type Exec.

Hi, this feature is planned as task #18 : "Create task for generating modular runtime images". Closing this issue as a duplicate.

Ups, sorry, I looked for one this time, must have been blind.


"something went wron. Try again in a few minutes"

When I submit a new introduction or type employee checklist the bot responds with something went wrong try again in a few minutes.

Hi @aidab98,
Thank you for raising the issue, as per your email, issue got resolved, please confirm so that we can close this issue.

How was this issue resolved? I am encountering 'something went wrong' error too.

@Porkai-Pandian How was this issue resolved?


Redstone port in top of reactor

I am unable to place the Redstone Port in the top of the reactor and have it face up.  All of the other controls and ports, that I have tried, controller, power tap and access port, place and work fine in the top of the reactor.

any news about this bug, trying to fit my reactor in compact machine and Material Energy ^4 has no computer craft nor rednet available :(

This is tagged for 0.5, so it's going to be a while.


gcov is trying to find coverarge results for lib

When I run  gcov:all, it prints many lines of "Could not find coverage results for lib/...", which I don't want.
I tried adding report_include and report_exclude in project.yml but that doesn't make any changes.
:gcov:
  :reports:
    - HtmlDetailed
    - Cobertura
  :gcovr:
    :html_medium_threshold: 75
    :html_high_threshold: 90
    :delete: true
    # Keep only source files that match this filter. (gcovr --filter).
    :report_include: "^src.*"
    # Exclude source files that match this filter. (gcovr --exclude).
    :report_exclude: "^vendor.*|^build.*|^test.*|^lib.*"

How could I suppress those "Could not find coverage results for" warnings?

I found my problem. I had - lib/** under :paths:srouce in project.yml. Moving it to include seems working fine.


Allow trace level logging to be enabled

Changes proposed in this pull request:

Very vervose trace logging can be enabled via the command line

@anz-bank/sysl-developers

This appears to be a duplicate of #401.


如果能支持 自定义swith就好了

如果能支持 自定义swith就好了

Hey @LZRight123! Could you explain in English what the issue is? I tried translating it, but I don't really understand

maybe you can use the protocol of PagingViewControllerSizeDelegate

@LZRight123 closing this for now, but let me know if you're still having some issues


Grid with checkbox editor and FontAwesome/Bootstrap4 not displaying field value

Grid checkbox column with bootstrap4 and FontAwesome is not displaying the check and not allowing edit.

We fixed that in the new development version. You can find the new build at https://github.com/atatanasov/gijgo/tree/master/dist


Only allow valid Id s to be constructed

Use newtypes for the enum variants so they cannot be constructed
anymore. Implement the From trait for the variants to access the id
value as integer.

Note to self: Update README.md implementation links before merging this PR.


Being nicer to hstspreload.org, chromium.googlesource.com, and publicsuffix.org

The pshtt tool now hits 3 external endpoints per-scan:

hstspreload.org for the Preload Pending status
chromium.googlesource.com for the Preloaded status
publicsuffix.org to incorporate Public Suffix checking into calculation of the "parent domain"

I've gotten reports from @lgarron that hstspreload.org is getting hit really hard by what are apparently large batches of pshtt runs. It's possible they're coming via domain-scan, and possible that they're not. And though I thought we did, we actually have no caching facility whatsoever for hstspreload.org. (Though if pshtt's internal batching is being used, it will only hit hstspreload.org once.)
So I think we definitely need to add caching for the hstspreload.org hit.
I also wonder if it's best to incentivize downstream users of pshtt who are doing their own batching to take advantage of the caching features we have built in for (2) and (3), by requiring locations of cached files to be specified for those features to be enabled.
But that would punish folks who are using pshtt's internal batching by adding additional complexity, since internal batching just holds the contents of the 3 requests in-memory the whole time as each domain is being processed.
Any ideas on ways we could help external batchers do the right thing, without making built-in batchers' lives harder?

Would you feel comfortable using an $XDG_CACHE subfolder as a default (configurable) cache location, and providing only a flag to disable that cache?

Noting that I'd actually opened #84 and #85 a month ago to address some aspects of this, though neither talked about caching by default. Moving all the conversation here.

One thought, discussed today on a call, is to modify those other tools (e.g. domain-scan) to use pshtt as a library, rather than as an external dependency.
That should allow the same in-memory caching that pshtt does natively when running on multiple domains to be leveraged by domain-scan.


Implement JS Standards

https://github.com/standard/standard
Let's use this.

Using JSBeautify through Sublime is working great and implementing the majority of this. Formatting standard was the goal, and the goal is met


[DOC]: Improving the front-end design of the documentation website as much as possible

What's wrong?
The current design of the documentation site is satisfactory, but we should conduct a more thorough inspection to identify areas where improvements can be made to enhance the overall design.
How could it be better?
From a front-end design perspective, we should explore opportunities to enhance its visual appeal. I will conduct a thorough inspection from top to bottom and suggest redesigning components that align with our open-source yet professional image.
Let's discuss it.

The new revamped version as of 27 November 2023 is here - https://docs.superduperdb.com/


embedded links not being detected by Nadeko?

for some reason I cannot add quotes if it embeds an image or a youtube video, for images at the very least i can take a new one and it works, but trying to add a image that has already been embedded in the server just doesn't work, no error on nadeko's side aswell. it just can't read the message.
it can't read youtube links at all either. so that means the music side of the bot doesn't work half the time.

i shall look into it

can't reproduce anymore, can you give a concrete example?


Option for using up and down arrow keys.

Added the option verticalKeys for when you want to change the arrow keys to up (prev slide) and down (next slide) when you have vertical slide mode enabled.

Semantically, I don't think naming them prev and next key actually make sense in the code if rtl is enabled (because then next is prev and vice versa if I am not mistaken), but that is just nitpicky. I was looking for someone who had fixed this and those changes are similar to the ones I made.


CSR should not read/write on special zero cases

We shouldn't trigger side effects (illegal instruction traps) during these cases. The fix is in the decoder disabling csr_w_v / csr_r_v based on the instruction mask.

#766


Calculate a custom tip: Typo in onValueChange parameter

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-calculate-tip?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-2-pathway-3%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-calculate-tip#3
In which task and step of the codelab can this issue be found?
Codelab - Calculate a custom tip
Step Number 04 - Add a tip-percentage text field
Describe the problem
The name of the lambda expression is written as "onValueChange" in some steps while in some other steps, it is written as "onValueChanged"
This minor mistake confuses a lot and it is repeated in 4-5 code samples in this step
Steps to reproduce?

Go to...Add a tip percentage text field step
Click on...Scroll down page
See error...Multiple code samples

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

@itxcrusher
Thank you so much for reporting this issue. This is fixed and will be published soon.


Desktop: create unit tests

Describe what problem your feature request solves
The desktop unit tests are empty
Describe the solution you'd like
Add desktop unit tests
Additional context

reinstate desktop unit tests with
diff --git a/package.json b/package.json
         "stop:site": "cd td.vue && npm run stop:serve",
-        "test": "npm-run-all build pretest test:site test:server",
+        "test": "npm-run-all build pretest test:site test:server test:desktop",
         "test:desktop": "cd td.vue && npm run test:desktop",
diff --git a/td.vue/package.json b/td.vue/package.json
     "test:help": "vue-cli-service help test:unit",
-    "test:desktop": "vue-cli-service test:unit --testMatch '**/desktop/**/*.spec.js' --collectCoverageFrom='src/desktop/**/*.spec.js'",
+    "test:desktop": "vue-cli-service test:unit --testMatch '**/tests/unit/desktop/*.spec.js' --collectCoverageFrom='src/desktop/*.js'",
     "test:e2e": "vue-cli-service test:e2e -C e2e.config.js",

Desktop unit tests added in latest commits to main


When a test fails, json is not generated

When Then(/^URL should match /([^"]*)/$/ fails, it throws an error in the callback of the then function, which results in an error in the console, and an empty json file.  When I create a similar step myself, without a promise and also throwing an error, it works.
I changed the implementation in a way that the new Error is returned using the callback, instead of throwing it, and now it works.
I assume that since I use the latest version of cucumber, it's broken.  Can you confirm?
My versions:
"@ angular/cli": "^1.6.7",
"@ angular/compiler-cli": "^5.2.3",
"@ angular/language-service": "^5.2.3",
"@ angular/service-worker": "^5.2.3",
"@ compodoc/compodoc": "^1.0.5",
"@ types/chai": "^4.1.2",
"@ types/cucumber": "^4.0.0",
"@ types/jasmine": "~2.8.6",
"@ types/jasminewd2": "~2.0.3",
"@ types/node": "~9.4.0",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"cucumber": "^4.0.0",
"karma": "~2.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^1.4.1",
"karma-jasmine": "~1.1.1",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "^5.3.0",
"protractor-cucumber-framework": "^4.2.0",
"protractor-cucumber-steps": "^1.2.0",
"typescript": "^2.7.1"
New implementation:
Then(/^URL should match \/([^"]*)\/$/, function (regexp, callback) {
    browser.getCurrentUrl().then(function (url) {
        if (new RegExp(regexp).test(url)) {
            callback();
        } else {
            callback(new Error(`"${url}" ${errors.REGEXP} /${regexp}/`));
        }
    });
});

Error when working with old code:
(node:44415) DeprecationWarning: cucumber: defineSupportCode is deprecated. Please
require/import the individual methods instead.
[16:37:04] E/launcher - "http://localhost:4200/policy" does not match provided regexp /\/polixxxcy$/
[16:37:04] E/launcher - Error: "http://localhost:4200/policy" does not match provided regexp
/\/polixxxcy$/
at node_modules/protractor-cucumber-steps/index.js:649:23
at ManagedPromise.invokeCallback_ (node_modules/selenium-webdriver/lib/promise.js:1376:14)
at TaskQueue.execute_ ode_modules/selenium-webdriver/lib/promise.js:3084:14)
at TaskQueue.executeNext_ (node_modules/selenium-webdriver/lib/promise.js:3067:27)
at asyncRun (node_modules/selenium-webdriver/lib/promise.js:2927:27)
at node_modules/selenium-webdriver/lib/promise.js:668:7
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
[16:37:04] E/launcher - Process exited with error code 199

@pmestrum thanks for the issue. I tested it with "cucumber": "^4.1.0", - looks ok. Maybe the problem is because of the reporter (I use "cucumber-pretty": "1.4.1",). Anyway, I plan to update the steps to throw error inside callback as you suggested and also will bump dependencies to the fresh ones.
Also, you are welcome to create PR with fixes if you want. Cheers!

@pmestrum 1.3.0 version of protractor-cucumber-steps was released with all mentioned fixes

Hi Dmytro,
Thanks for the update.  I’m currently on another project, but will switch back next week.  I’ll have a look then.
Keep up the good work !
Paul
From: Dmytro Shpakovskyi<EMAIL_ADDRESS>Reply-To: Marketionist/protractor-cucumber-steps<EMAIL_ADDRESS>Date: Monday, 9 April 2018 at 13:31
To: Marketionist/protractor-cucumber-steps<EMAIL_ADDRESS>Cc: "Mestrum, Paul"<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Marketionist/protractor-cucumber-steps] When a test fails, json is not generated (#52)
@pmestrumhttps://github.com/pmestrum 1.3.0 version of protractor-cucumber-steps was released with all mentioned fixes
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Marketionist/protractor-cucumber-steps/issues/52#issuecomment-379720890, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYnlv7ju6cMKjg09H701_IJ1E8NRxAQ2ks5tm0ZkgaJpZM4R86zy.


MWPW-136617 Keep analytics in English (martech-attributes-metadata block)

new block called martech-attributes-metadata. The table has 2 columns.  On the US EN pages, both columns will be in English and be part of the page or fragment when it's sent for localization.  The right side column will be styled as DNT.  Therefore in other languages, the left side column will be translated and the right side will remain in English.
where no reverse translations are found, the link will stay in the page's language
when a translation is found, the analytic will use English instead
multiple tables can be used
new block can be included in gnav fragments
accordion answers now include the question as their header in the analytic

Resolves: MWPW-136617
Non english pages aren't passing the psi check, so I'm using an English page for the before and after.  But use the BACOM pages to see the translation feature at work.
When viewing any of the 3 BACOM pages, the following have reverse translations provided and should be in English:

ctas in the marquee
accordion buttons
Top level gnav
the first 2 links inside in the first column of the "Productos" menu

BACOM examples:
English: https://main--bacom--adobecom.hlx.page/drafts/vgoodrich/fragments/en-analytics/photoshop?milolibs=mwpw-136617-analytics-en&martech=off
Japanese: https://main--bacom--adobecom.hlx.page/jp/drafts/vgoodrich/fragments/en-analytics/photoshop?milolibs=mwpw-136617-analytics-en&martech=off
Spanish: https://main--bacom--adobecom.hlx.page/es/drafts/vgoodrich/fragments/en-analytics/photoshop?milolibs=mwpw-136617-analytics-en&martech=off
Source files for the Spanish BACOM URL (each has a "martech-attributes-metadata" block):
page: https://adobe.sharepoint.com/:w:/r/sites/adobecom/_layouts/15/Doc.aspx?sourcedoc={85F7A0B2-DBA6-4FEF-B932-D9ADE0C25D46}&file=photoshop.docx&action=default&mobileredirect=true
gnav: https://adobe.sharepoint.com/:w:/r/sites/adobecom/_layouts/15/Doc.aspx?sourcedoc={58C3BCED-EA1F-42A0-9861-3DA6AC82A96B}&file=gnav.docx&action=default&mobileredirect=true
product sub-menu: https://adobe.sharepoint.com/:w:/r/sites/adobecom/_layouts/15/Doc.aspx?sourcedoc={86FC2EF5-30D4-4ED9-A533-627CA9D21A0B}&file=products.docx&action=default&mobileredirect=true
Test URLs:

Before: https://main-analytics-en--milo--adobecom.hlx.page/drafts/vgoodrich/fragments/en-analytics/photoshop?martech=off
After: https://mwpw-136617-analytics-en--milo--adobecom.hlx.page/drafts/vgoodrich/fragments/en-analytics/photoshop?martech=off

Note, nala tests are currently failing due to "due to non availability of IMS and CORS on PR branches, few tests related to Login and Gnav/Header are failing...." and are likely not from this code.  This should be fixed soon.

Note, nala tests are currently failing due to "due to non availability of IMS and CORS on PR branches, few tests related to Login and Gnav/Header are failing...." and are likely not from this code. This should be fixed soon.

@vgoodric :
I have updated the nala-run job to skip the IMS and CORS tests on PR branches. Observing below issue w.r.t to daa-ll attribute related to the Marquee video button on the PR branch, can you please review it.
PR branch URL: https://mwpw-136617-analytics-en--milo--adobecom.hlx.live/drafts/nala/blocks/marquee/marquee-large-desktop-video-autoplay


MVI Product Dashboard

[ ] transfer north stars and core KPIs

Create user and product analytics queries for MVI:

[ ] cohort retention
[ ] net unit retention
[ ] holder growth
[ ] repeat buyers
[ ] holders x exposure
[ ] aum x exposure
[ ] holders x cohort
[ ] aum x cohort
[ ] mint & redeem volume
[ ] exchange issuance volume
[ ] buys & sells (transactions & volume)


Use a different name other than SIBCI

The name SIBCI was chosen quickly by myself when writing the initial draft of
the spec. This name however appears to be a bad choice as SIBCI is already used
by the Bolivian revolutionary government and already has many
mentions on twitter. I therefore propose we quickly adopt a new name with the
following guidelines based on a blog post by Keith Bradnam:

The twitter handle and domain name are available
There should be a limited number of google hits to the name.
The name gives an indication of what the project is about, and therefore
need not necessarily be an acronym. I would go a step further and say that
there are many acronyms in bioinformatics and perhaps we should even avoid
one.
The name should be easily pronounceable and ideally easily spellable from
the pronounciation.

A few ideas from browsing terms related to shipping:

BioAssets
BioFreight
BioInterModal

Other ideas:

unitenere    - Latin: units of holding
containelles - composition of containers and organelles
endotainers  - endo + containers
Golgi Boxes  - Golgi apparatues + boxes

Ace of Base: a place to "ace" your nucleotide "bases"

I also have the domain http:/conti.gs. We could use this and follow a similar
path to http://nucleotid.es where the name is also the URL. This has proved
quite fruitful on twitter as "nucleotid.es" becomes a clickable hyperlink in
the tweets.

How about something simpler still like BioBox or BioBoxes? Both have been used by others but the latter seems to have twitter account available and there's not too much usage of it which would overlap with your intended use.
If you were prepared to hyphenate it, you could probably have more chances of making it unique.

I like bioboxes, the .org domain is available too.

I like BioBoxes. It meets all the criteria.

There is some previous overlap within the field of bioinformatics with APBioBox:
http://www.apbionet.org/grid/apbiobox/lsvgcApr04/index.shtml
This is from over a decade ago, and is not likely to cause confusion I think, especially if you went with the plural form (which makes more sense for you anyway).

@kbradnam Thanks for your comments they are much appreciated and I think BioBoxes is an excellent and simple name.

Since we have a simple consensus, I will change the name to BioBoxes.

I have changed the github organisation name to 'bioboxes'. I also think that we should use all lower case to avoid any confusion about internal capitalisation, e.g. BioBoxes vs. Bioboxes.

I have registered the twitter handle bioboxes

I have registered the domain bioboxes.org

And biobox.es? 😀
On 3 Feb 2015 17:04, "Michael Barton"<EMAIL_ADDRESS>wrote:

I have registered the domain bioboxes.org
—
Reply to this email directly or view it on GitHub
https://github.com/bioboxes/rfc/issues/40#issuecomment-72689941.

According to gandi.net this domain is already registered

Resolved by #41

Glad you could register the domain name and get the twitter account name.
I have one other minor comment…your current logo doesn't really feature anything biological. Also, given your new name, it would make more sense to me to have a log which features at least 2 boxes of some kind. I attach a mock up of the sort of thing I would imagine (DNA logo created by Darrin Higgins for the Noun Project)

And one more iteration of the design to change the font and kerning, and make everything a bit 'boxier'

Thanks for your suggestions @kbradnam, your input is very much appreciated. I agree that the current logo does not reflect the name bioboxes or it's relationship to biology. I suggest we continue this discussion on logo repository. I have opened the issue - bioboxes/logo#2. I have made further iterations in response to your suggestions.


[TACHYON-423] [TACHYON-443] Refactor core and client module to move client APIs from module core to module client

https://tachyon.atlassian.net/browse/TACHYON-423
This PR aims to complete TACHYON-423 by implementing shading (renaming and hiding libthrift inside tachyon client jar to avoid name conflicts in downstream Tachyon users) in module client. The complication comes from the fact that module core depends on module client. If module client is shaded, module core could not build.
We took the approach that generates two client jars in two different modules: in module tachyon-client-internal, nothing is shaded and the output of this module is only used inside tachyon (e.g., by module core); in module tachyon-client, it generates the shaded jar which is supposed to be used by external users.
This PR also aims to fix TACHYON-443 by making the right artifactSet in shading.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/Tachyon-Pull-Request-Builder/3190/
Test PASSed.

I think if you include the internal-client and then do not shade that jar, the dependency will get propagated and whoever references it will end up pulling in internal-client and its dependencies (including thrift and tachyon-common).

@apc999 Thanks for the patch, I did a pass over the code.

Thanks Calvin, PTAL :)

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/Tachyon-Pull-Request-Builder/3191/Build result: FAILURE[...truncated 1698 lines...][JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/underfs/pom.xml to org.tachyonproject/tachyon-underfs/0.7.0-SNAPSHOT/tachyon-underfs-0.7.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/underfs/s3/pom.xml to org.tachyonproject/tachyon-underfs-s3/0.7.0-SNAPSHOT/tachyon-underfs-s3-0.7.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/underfs/s3/target/tachyon-underfs-s3-0.7.0-SNAPSHOT.jar to org.tachyonproject/tachyon-underfs-s3/0.7.0-SNAPSHOT/tachyon-underfs-s3-0.7.0-SNAPSHOT.jar[JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/underfs/s3/target/tachyon-underfs-s3-0.7.0-SNAPSHOT-sources.jar to org.tachyonproject/tachyon-underfs-s3/0.7.0-SNAPSHOT/tachyon-underfs-s3-0.7.0-SNAPSHOT-sources.jar[JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/underfs/s3/target/tachyon-underfs-s3-0.7.0-SNAPSHOT-javadoc.jar to org.tachyonproject/tachyon-underfs-s3/0.7.0-SNAPSHOT/tachyon-underfs-s3-0.7.0-SNAPSHOT-javadoc.jar[JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/examples/pom.xml to org.tachyonproject/tachyon-examples/0.7.0-SNAPSHOT/tachyon-examples-0.7.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/clients/pom.xml to org.tachyonproject/tachyon-clients/0.7.0-SNAPSHOT/tachyon-clients-0.7.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/clients/unshaded/pom.xml to org.tachyonproject/tachyon-client-unshaded/0.7.0-SNAPSHOT/tachyon-client-unshaded-0.7.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/clients/unshaded/target/tachyon-client-unshaded-0.7.0-SNAPSHOT.jar to org.tachyonproject/tachyon-client-unshaded/0.7.0-SNAPSHOT/tachyon-client-unshaded-0.7.0-SNAPSHOT.jar[JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/clients/unshaded/target/tachyon-client-unshaded-0.7.0-SNAPSHOT-sources.jar to org.tachyonproject/tachyon-client-unshaded/0.7.0-SNAPSHOT/tachyon-client-unshaded-0.7.0-SNAPSHOT-sources.jar[JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/clients/unshaded/target/tachyon-client-unshaded-0.7.0-SNAPSHOT-javadoc.jar to org.tachyonproject/tachyon-client-unshaded/0.7.0-SNAPSHOT/tachyon-client-unshaded-0.7.0-SNAPSHOT-javadoc.jar[JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/underfs/hdfs/pom.xml to org.tachyonproject/tachyon-underfs-hdfs/0.7.0-SNAPSHOT/tachyon-underfs-hdfs-0.7.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/underfs/hdfs/target/tachyon-underfs-hdfs-0.7.0-SNAPSHOT.jar to org.tachyonproject/tachyon-underfs-hdfs/0.7.0-SNAPSHOT/tachyon-underfs-hdfs-0.7.0-SNAPSHOT.jar[JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/underfs/hdfs/target/tachyon-underfs-hdfs-0.7.0-SNAPSHOT-sources.jar to org.tachyonproject/tachyon-underfs-hdfs/0.7.0-SNAPSHOT/tachyon-underfs-hdfs-0.7.0-SNAPSHOT-sources.jar[JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/underfs/hdfs/target/tachyon-underfs-hdfs-0.7.0-SNAPSHOT-javadoc.jar to org.tachyonproject/tachyon-underfs-hdfs/0.7.0-SNAPSHOT/tachyon-underfs-hdfs-0.7.0-SNAPSHOT-javadoc.jar[JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/core/pom.xml to org.tachyonproject/tachyon/0.7.0-SNAPSHOT/tachyon-0.7.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/pom.xml to org.tachyonproject/tachyon-parent/0.7.0-SNAPSHOT/tachyon-parent-0.7.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/clients/client/pom.xml to org.tachyonproject/tachyon-client/0.7.0-SNAPSHOT/tachyon-client-0.7.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/underfs/glusterfs/pom.xml to org.tachyonproject/tachyon-underfs-glusterfs/0.7.0-SNAPSHOT/tachyon-underfs-glusterfs-0.7.0-SNAPSHOT.pom[JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/underfs/glusterfs/target/tachyon-underfs-glusterfs-0.7.0-SNAPSHOT.jar to org.tachyonproject/tachyon-underfs-glusterfs/0.7.0-SNAPSHOT/tachyon-underfs-glusterfs-0.7.0-SNAPSHOT.jar[JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/underfs/glusterfs/target/tachyon-underfs-glusterfs-0.7.0-SNAPSHOT-sources.jar to org.tachyonproject/tachyon-underfs-glusterfs/0.7.0-SNAPSHOT/tachyon-underfs-glusterfs-0.7.0-SNAPSHOT-sources.jar[JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/underfs/glusterfs/target/tachyon-underfs-glusterfs-0.7.0-SNAPSHOT-javadoc.jar to org.tachyonproject/tachyon-underfs-glusterfs/0.7.0-SNAPSHOT/tachyon-underfs-glusterfs-0.7.0-SNAPSHOT-javadoc.jar[JENKINS] Archiving /home/jenkins/workspace/Tachyon-Pull-Request-Builder/shell/pom.xml to org.tachyonproject/tachyon-shell/0.7.0-SNAPSHOT/tachyon-shell-0.7.0-SNAPSHOT.pomchannel stopped
Test FAILed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/Tachyon-Pull-Request-Builder/3192/
Test PASSed.

@apc999 Only concern I have left is about the shade issue in my previous comment.

@calvinjia  I am not quite sure I understand your concern, could you elaborate it ?
"I think if you include the internal-client and then do not shade that jar, the dependency will get propagated and whoever references it will end up pulling in internal-client and its dependencies (including thrift and tachyon-common)."
e.g., when you say include the internal-client, which pom you are talking about? the core?

@apc999 I mean the shaded client is referencing the unshaded client as a dependency. Despite shading in the shaded client, the unshaded client will still be included (which will then include all the other dependencies that should be shaded).

The latest commit modifies clients/client/pom.xml (for tachyon-client):  this file now not only depends on tachyon-client-unshaded, but also include this unshaded module in its jar though shade plugin.
I have confirmed that the generated jar has classes defined in client module.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/Tachyon-Pull-Request-Builder/3195/
Test PASSed.

+1 LGTM


Add openswoole-v4.11.1

⚠Warning - total noob here no idea what i'm doing
Just wanted some features of latest openswoole 4.11.1
Literally just copy/pasted anywhere I saw mention of "swoole" I duplicated the code for "openswoole"
Tried also throwing in an educated guess of the --with-postgres build option 🤷♂

I'll make sure this builds shortly.

This is now building.


Show amqp and kafka asyncapi.json in UI

To demonstrate the abilities of springwolf-ui, the amqp and kafka asyncapi.json files are shown in the ui as well.
Benefit for the user: View amqp and kafka examples based on real example projects
Benefit in development: Faster feedback cycles during development.
Preview: https://github.com/timonback/springwolf-ui/pull/2#issuecomment-1249062305
(Netlify deploy with npm run build-dev)
Closes: https://github.com/timonback/springwolf-ui/pull/2

In my fork, I have set up netlify for deployments - including feature branches to allow a manual verification of the changes.
To ease using the preview without and index.html file, src/_redirects is added.
Looking forward to your thoughts on including this vendor specific file vs benefit of previews.


Write better documentation

See https://docs.divio.com/documentation-system/

also see https://numpy.org/devdocs/


Screen orientation on iOS is always default.

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
I'm setting the screen orientation in:
SystemChrome.setPreferredOrientations(
[DeviceOrientation.portraitUp]);
But inside controller?.value.deviceOrientation, even with the iPhone in portrait format I receive:
flutter: DeviceOrientation.landscapeLeft
If I go to the IOS settings and lock the screen orientation, everything works as expected. However, I already define this in the code, as the App has screens where I need to use the orientation in LandsCap and other screens in Portrait
Expected results
Respect the defined guidance:  DeviceOrientation.portraitUp
Actual results
flutter: DeviceOrientation.landscapeLeft
Code sample
Code sample
void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await EasyLocalization.ensureInitialized();

  // Screen in Portrait Mode
  SystemChrome.setPreferredOrientations(
      [DeviceOrientation.portraitUp]);

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
not

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.13.0, on macOS 13.0 22A8381 darwin-arm64, locale fr-CA)
    • Flutter version 3.13.0 on channel stable at /Users/olinto.souza/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision efbf63d9c6 (7 weeks ago), 2023-08-15 21:05:06 -0500
    • Engine revision 1ac611c64e
    • Dart version 3.1.0
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/olinto.souza/Library/Android/sdk
    • Platform android-33, build-tools 33.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E222b
    • CocoaPods version 1.12.0

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

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

[✓] VS Code (version 1.81.1)
    • VS Code at /Users/olinto.souza/Documents/Visual Studio Code 3.app/Contents
    • Flutter extension version 3.74.0

[✓] Connected device (5 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        • android-arm64  • Android 12 (API 32) (emulator)
    • iPhone de Olinto (mobile)   • 00008101-0014305924A1401E            • ios            • iOS 16.6.1 20G81
    • iPhone12 (mobile)           • FC7F4D88-C23E-4A53-8A0F-34DD27288FCE • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)             • macos                                • darwin-arm64   • macOS 13.0 22A8381 darwin-arm64
    • Chrome (web)                • chrome                               • web-javascript • Google Chrome 117.0.5938.149
    ! Error: Apple Watch de Olinto has not finished loading development services. Please select a different device, or wait for the device to load development services and try again. (code 8)

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

• No issues found!

I check this issue with below sample code but the app persists in portrait mode as expected (even when device's orientation is not locked):

Sample code
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();

  // Screen in Portrait Mode
  SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);

  runApp(
    MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const Scaffold(
        body: Center(
          child: Text(
            'Hello',
          ),
        ),
      ),
    ),
  );
}

Please provide a complete sample code and step-by-step to reproduce the issue you see.

Yes, because portrait mode has been set, so even if the device's orientation is locked or not, it will always be in portrait mode. What I can say is that even so, when I activate the camera, it turns, it's as if it hadn't stopped.
class DocumentScanScreen extends StatefulWidget {
const DocumentScanScreen({Key? key, required this.title, required this.typeCard, required this.iconAsset}) : super(key: key);
final String title;
final String typeCard;
final String iconAsset;
@override
State createState() => _DocumentScanScreenState();
}
class _DocumentScanScreenState extends State {
List cameras = [];
CameraController? controller;
XFile? image;
Size? size;
double turns = 0.0;
bool inCapture = false;
bool loadCamera = false;
final GlobalKey _scaffoldKey = GlobalKey();
late Future Function() onBackPress;
@override
void initState() {
super.initState();
onBackPress = () async {
  Navigator.of(context).pop();
  return true;
};

}
@override
void dispose() {
super.dispose();
}
_loadCameras() async {
try {
cameras = await availableCameras();
_startCamera();
} on CameraException catch (e) {
debugPrint(e.description);
}
}
_startCamera() {
if (cameras.isEmpty) {
debugPrint('Camera not found!');
showSnackBar(
context: context,
text: const Text(
'Camera not found!',
style: TextStyle(fontSize: 16, fontWeight: FontWeight.w700),
),
color: kColorRedError);
} else {
_previewCamera(cameras.first);
  setState(() {
    loadCamera = true;
  });
}

}
_previewCamera(CameraDescription camera) async {
final CameraController cameraController = CameraController(
camera,
ResolutionPreset.medium,
enableAudio: false,
imageFormatGroup: ImageFormatGroup.jpeg,
);
controller = cameraController;
try {
  await cameraController.initialize();
} on CameraException catch (e) {
  debugPrint(e.description);
}

if (mounted) {
  setState(() {});
}

}
@override
Widget build(BuildContext context) {
size = MediaQuery.of(context).size;
return Scaffold(
    key: _scaffoldKey,
    body: Consumer<LoginManager>(
      builder: (_, loginManager, __) {
        if (loginManager.loading) {
          return const Center(
            child: CircularProgressIndicator(
              valueColor: AlwaysStoppedAnimation<Color>(kColorGrey4),
            ),
          );
        }

        return Stack(
          alignment: Alignment.center,
          children: [
            if (loadCamera) _cardCameraPreviewWidget(),
            Padding(
              padding: const EdgeInsets.only(top: 150, left: 16, right: 16),
              child: Column(
                crossAxisAlignment: CrossAxisAlignment.start,
                children: [
                  if (!loadCamera) ...[
                    Text(
                      widget.typeCard,
                      style: const TextStyle(fontWeight: FontWeight.w600, fontSize: 16),
                    ),
                    const SizedBox(
                      height: 10,
                    ),
                    InkWell(
                        onTap: () {
                          setState(() {
                            image = null;
                          });

                          _loadCameras();
                        },
                        child: _cardPicture()),
                    if (image != null) ...[
                      Padding(
                        padding: const EdgeInsets.only(top: 10),
                        child: SizedBox(
                          height: 60,
                          child: CustomPrimaryButton(
                            icon: Icomoon.send,
                            iconColor: Colors.white,
                            title: 'lbl_btn_save'.tr(),
                            backgroundColor: kColorRed,
                            borderColor: kColorRed,
                            fontSize: 16,
                            fontWeight: FontWeight.w600,
                            textColor: Colors.white,
                            onPressed: () async {
                              // 1 - Step: Send picture to Blob
                              await loginManager.uploadPictureCardStorage(
                                  file: File(image!.path),
                                  onError: (e) => showSnackBar(context: context, text: Text(e.toString()), color: kColorRed),
                                  onSuccess: (url) {
                                    // 2 - Step: Send URL to IA

                                    // Verify type card
                                    if (widget.title.contains('CCQ')) {
                                      loginManager.sendUrlCCQToIa(
                                          url: url,
                                          onError: (e) => showSnackBar(context: context, text: Text(e.toString()), color: kColorRed),
                                          onSuccess: () {
                                            showSnackBar(context: context, text: const Text('lbl_snack_success_card').tr(), color: kColorGreen);

                                            Navigator.pop(context);
                                          });
                                    } else {
                                      loginManager.sendUrlDriverLicenceToIa(
                                          url: url,
                                          onError: (e) => showSnackBar(context: context, text: Text(e.toString()), color: kColorRed),
                                          onSuccess: () {
                                            showSnackBar(context: context, text: const Text('lbl_snack_success_card').tr(), color: kColorGreen);

                                            Navigator.pop(context);
                                          });
                                    }
                                  });
                            },
                          ),
                        ),
                      ),
                      Padding(
                        padding: const EdgeInsets.only(top: 10),
                        child: SizedBox(
                          height: 60,
                          child: CustomPrimaryButton(
                            icon: Icons.camera_alt,
                            iconColor: kColorRed,
                            title: 'lbl_btn_try_again'.tr(),
                            backgroundColor: Colors.white,
                            borderColor: kColorRed,
                            fontSize: 16,
                            fontWeight: FontWeight.w600,
                            textColor: kColorRed,
                            onPressed: () {
                              setState(() {
                                image = null;
                              });

                              _loadCameras();
                            },
                          ),
                        ),
                      )
                    ],
                    const SizedBox(
                      height: 30,
                    ),
                    const Text(
                      'lbl_title_guide_carte',
                      style: TextStyle(fontSize: 14, fontWeight: FontWeight.w400),
                    ).tr(),
                    const SizedBox(
                      height: 30,
                    ),
                    Center(child: SvgPicture.asset(widget.iconAsset))
                  ],
                ],
              ),
            ),
            Positioned(
              top: 60,
              left: 0,
              right: 0,
              child: Column(
                children: [
                  SvgPicture.asset(
                    "assets/images/scan2_icon.svg",
                    key: const Key("image"),
                    height: 30,
                  ),
                  const SizedBox(
                    height: 10,
                  ),
                  Text(
                    key: const Key("title"),
                    widget.title,
                    style: const TextStyle(fontSize: 16, fontWeight: FontWeight.w600),
                  ),
                ],
              ),
            ),
            Align(
              alignment: Alignment.topLeft,
              child: Padding(
                padding: const EdgeInsets.only(top: 60, left: 16),
                child: CustomIconButton(
                    key: const Key('backButton'), iconData: Icomoon.chevronLeft, color: Colors.black, size: 30, onTap: onBackPress),
              ),
            ),
          ],
        );
      },
    ));

}
_cardCameraPreviewWidget() {
return SizedBox(
width: size!.width - 60,
height: image == null ? size!.height - (size!.height / 3) : 300,
child: _cameraPreviewWidget()
);
}
_cameraPreviewWidget() {
final CameraController? cameraController = controller;
if (cameraController == null || !cameraController.value.isInitialized) {
  return const Center(child: CircularProgressIndicator(valueColor: AlwaysStoppedAnimation<Color>(kColorGrey4)));
} else {

  return Stack(
    alignment: Alignment.center,
    children: [
      Row(
        children: [
          const SizedBox(
            width: 15,
          ),
          Expanded(
              child: CameraPreview(controller!,
                  child: inCapture
                      ? Column(
                    mainAxisAlignment: MainAxisAlignment.center,
                    children: [
                      const Text(
                        'lbl_progress_picture',
                        textAlign: TextAlign.center,
                        style: TextStyle(color: Colors.white, fontWeight: FontWeight.w600, fontSize: 25),
                      ).tr(),
                      const SizedBox(
                        height: 10,
                      ),
                      const CircularProgressIndicator(
                        valueColor: AlwaysStoppedAnimation<Color>(kColorGrey4),
                      )
                    ],
                  )
                      : Container()),
          ),
          const SizedBox(
            width: 10,
          ),
          RotatedBox(
            quarterTurns: 1,
            child: Row(
              mainAxisAlignment: MainAxisAlignment.center,
              children: [
                const Text(
                  'lbl_text_scan_1',
                  textAlign: TextAlign.center,
                  style: TextStyle(color: Colors.black, fontWeight: FontWeight.w600, fontSize: 14),
                ).tr(),
                const Text(
                  'lbl_text_scan_2',
                  textAlign: TextAlign.center,
                  style: TextStyle(color: kColorRed, fontWeight: FontWeight.bold, fontSize: 14),
                ).tr(),
                const Text(
                  'lbl_text_scan_3',
                  textAlign: TextAlign.center,
                  style: TextStyle(color: Colors.black, fontWeight: FontWeight.w600, fontSize: 14),
                ).tr(),
              ],
            ),
          )
        ],
      ),
      Positioned(
        left: 0,
        child: _captureButtonWidget(),
      )
    ],
  );
}

}
_captureButtonWidget() {
return Padding(
padding: const EdgeInsets.only(bottom: 24),
child: RotatedBox(
quarterTurns: 1,
child: CircleAvatar(
radius: 40,
backgroundColor: Colors.black.withOpacity(0.5),
child: CustomIconButton(
iconData: Icons.camera_alt,
color: Colors.white,
size: 45,
onTap: () {
setState(() {
inCapture = true;
});
            _takePicture();
          },
        ),
      ),
    ));

}
_takePicture() async {
final CameraController? cameraController = controller;
if (cameraController != null && cameraController.value.isInitialized) {
  try {
    XFile file = await cameraController.takePicture();
    if (mounted) {
      setState(() {
        image = file;

        inCapture = false;
        loadCamera = false;
      });
    }
  } on CameraException catch (e) {
    debugPrint(e.description);
  }
}

}
_cardPicture() {
return Container(
margin: const EdgeInsets.only(top: 10),
height: 210,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(10),
border: Border.all(
color: kColorGrey5,
width: 1,
),
),
child: Center(
child: (image == null && !loadCamera)
? SvgPicture.asset(
'assets/images/camera_plus_icon.svg',
width: 30,
height: 30,
)
: RotatedBox(
quarterTurns: 3,
child: Image.file(
File(image!.path),
width: double.infinity,
height: double.infinity,
fit: BoxFit.cover,
),
),
));
}
}

I put your sample code into a code block for better readability. But it's a production code that will be not easy for us to debug the issue. It seems you are using camera plugin, I'd recommend you provide:

A completed and minimal reproducible code sample that doesn’t include 3rd party plugins or complex production code
Detailed steps to reproduce the issue (for instance: open screen A, navigate to screen B, etc)

import 'dart:io';
import 'package:flutter/material.dart';
import 'package:camera/camera.dart';
import 'package:flutter/services.dart';
class DocumentsPage extends StatefulWidget {
const DocumentsPage({Key? key}) : super(key: key);
@override
State createState() => _DocumentsPageState();
}
class _DocumentsPageState extends State {
List cameras = [];
CameraController? controller;
XFile? imagem;
Size? size;
@override
void initState() {
super.initState();
_loadCameras();
// Screen in Portrait Mode
SystemChrome.setPreferredOrientations(
    [DeviceOrientation.portraitUp]);

}
_loadCameras() async {
try {
cameras = await availableCameras();
_startCamera();
} on CameraException catch (e) {
debugPrint(e.description);
}
}
_startCamera() {
if (cameras.isEmpty) {
debugPrint('Câmera não foi encontrada');
} else {
_previewCamera(cameras.first);
}
}
_previewCamera(CameraDescription camera) async {
final CameraController cameraController = CameraController(
camera,
ResolutionPreset.high,
enableAudio: false,
imageFormatGroup: ImageFormatGroup.jpeg,
);
controller = cameraController;
try {
  await cameraController.initialize();
} on CameraException catch (e) {
  debugPrint(e.description);
}

if (mounted) {
  setState(() {});
}

}
@override
Widget build(BuildContext context) {
size = MediaQuery.of(context).size;
return Scaffold(
appBar: AppBar(
title: const Text('Documento Oficial'),
backgroundColor: Colors.grey[900],
centerTitle: true,
elevation: 0,
),
body: Container(
color: Colors.grey[900],
child: Center(
child: _fileWidget(),
),
),
floatingActionButton: (imagem != null)
? FloatingActionButton.extended(
onPressed: () => Navigator.pop(context),
label: const Text('Finalizar'),
)
: null,
floatingActionButtonLocation: FloatingActionButtonLocation.centerFloat,
);
}
_fileWidget() {
return SizedBox(
width: size!.width - 50,
height: size!.height - (size!.height / 3),
child: imagem == null
? _cameraPreviewWidget()
: Image.file(
File(imagem!.path),
fit: BoxFit.contain,
),
);
}
_cameraPreviewWidget() {
final CameraController? cameraController = controller;
if (cameraController == null || !cameraController.value.isInitialized) {
  return const Text('Widget para Câmera que não está disponível');
} else {
  return Stack(
    alignment: AlignmentDirectional.bottomCenter,
    children: [
      CameraPreview(controller!),
      _btnTakeWidget(),
    ],
  );
}

}
_btnTakeWidget() {
return Padding(
padding: const EdgeInsets.only(bottom: 24),
child: CircleAvatar(
radius: 32,
backgroundColor: Colors.black.withOpacity(0.5),
child: IconButton(
icon: const Icon(
Icons.camera_alt,
color: Colors.white,
size: 30,
),
onPressed: takePicture,
),
),
);
}
takePicture() async {
final CameraController? cameraController = controller;
if (cameraController != null && cameraController.value.isInitialized) {
  try {
    XFile file = await cameraController.takePicture();
    if (mounted) setState(() => imagem = file);
  } on CameraException catch (e) {
    debugPrint(e.description);
  }
}

}
}

Thanks for your sample code but I'm still not clear on what is the issue and how to reproduce it.
I ran your sample code (it's a single page only) on my device, the camera preview is in portrait mode as expected. Is it in landscape mode on your device? If so, could you share the device information? (OS, model)

Demo screenshot on my device (iPhone 7, iOS 15.7.9)

Below is the demo on my device iPhone 7, iOS 15.7.9 with your sample code above:

device rotation locked: When rotating device, camera preview is not rotated
device rotation unlocked: When rotating device, camera preview is rotated

device rotation locked
device rotation unlocked

To make sure we are understanding the issue correctly, could you confirm that the result on your device are different from my first case above? (It means the camera preview is rotated when rotating your device)
It will be more clear if there is a recorded video from your side. Thank you!

Exactly, what happens to me is the result shown in your second video, where I unlock the screen rotation via the OS, but within the App I leave it locked, the camera rotation still happens.
The result I expected would be the result in the first video: Rotation locked, and the camera is not rotated.
Thanks.

Thank you for making this clearer. I understand now after comparing results between iOS and Android. I also compared Flutter app with iPhone device's camera app and saw the issue you reported.
However, this is a known issue being tracked at https://github.com/flutter/flutter/issues/111063. So I will close this issue in favor of that one, so please follow up on it for further updates. You can leave there your comment and react an upvote to the original comment will help to raise the issue. Thank you!


Reduce country list

There are a lot of countries, when selecting countries in the customer information section! How to add fewer countries in the list?

You can edit the list here or provide your own list/array of countries:
https://github.com/mrvautin/expressCart/blob/82753996c03f2e52d560609a2f3a418accf1a17b/lib/common.js#L18

Thank you for your response
On Tue, May 12, 2020, 11:41 AM Mark Moffat<EMAIL_ADDRESS>wrote:

Closed #143 https://github.com/mrvautin/expressCart/issues/143.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mrvautin/expressCart/issues/143#event-3325983326, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AILUBWSQ5UBZA6XZDDZV2V3RRDVP3ANCNFSM4M6QNE2Q
.


What is the expected range of reg_loss?

Hello, thank you for sharing good work!
I tried to apply the reg_loss calculated by the step_regularize() function in train_smooth_diffusion.py in other diffusion models.
However, I found out that the reg_loss shakes a lot (1 ~ 100).
What is the expected range of reg_loss?
Or, is there any additional skill necessary to be applied?
Thanks:)

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."


implement a shared pacakge that can be used for both infra and OSS

Too late to deal with TS2742 errors..................

gaaahahahahahaha why does nothing just woooork


[cassandra] properly clear cached containers.

clear containers before we use them rather than after, so that in the case of
exceptions we can recover.
closes #127

:+1:


Issue with end parameter

I'm looking for a way to write something to my terminal without automatically taking a newline. With the print builtin, I can pass an empty string as the end paramter. The end parameter in Console.print doesn't seem to work in the same way however.
Example:
print(".", end="")
print(".", end="")
print(".", end="")

console.print(".", end="")
console.print(".", end="")
console.print(".", end="")

Output:
....
.
.

Expected output:
......

It also seems to add a space before the end character:
Example:
print(".", end="x")
console.print(".", end="x")

Output:
.x. x

Expected output:
.x.x

It should work in the same way as built in print, so that looks like a bug.
In general though, you may be better off appending to a single Text instance then printing that. It may break wrapping if the cursor isn’t at the beginning of a line.

In general though, you may be better off appending to a single Text instance then printing that. It may break wrapping if the cursor isn’t at the beginning of a line.

I might be misunderstanding you here, but I don't want to print the full line in one go. I'd like to print a character at a time. The dots represent test results, and will be printed as they come in.

Ah, I see. In that case, multiple prints makes sense.

Should be fixed in v0.6.0.


run iOS UI test with WDA

Codecov Report

Merging #1451 (0407c02) into master (ea2b854) will increase coverage by 25.92%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #1451       +/-   ##
===========================================
+ Coverage   51.37%   77.30%   +25.92%
===========================================
  Files          90       33       -57
  Lines       12813     3428     -9385
===========================================
- Hits         6583     2650     -3933
+ Misses       5899      778     -5121
+ Partials      331        0      -331

Flag
Coverage Δ

unittests
77.30% <ø> (+25.92%)
:arrow_up:

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

Impacted Files
Coverage Δ

hrp/runner.go

hrp/server.go

hrp/step_request.go

hrp/response.go

hrp/internal/builtin/utils_unix.go

hrp/internal/boomer/ulimit.go

hrp/build.go

hrp/internal/sdk/init.go

hrp/cmd/curl.go

hrp/config.go

... and 47 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Label Docker images with Helios version

Can be useful for figuring out what version of Helios the latest images
contain. For example:
$ docker inspect -f \
    '{{index .Config.Labels "com.spotify.helios.version"}}' \
    spotify/helios-agent:latest
0.8.0-SNAPSHOT

@spotify/helios-team

you could move the duplicated <labels> up out of the <executions> section and into the parent <configuration> of the plugin, so you don't have to duplicate them, but otherwise :+1:

Current coverage is 47.25%

Merging #864 into master will decrease coverage by -0.02% as of 72407ea

@@            master    #864   diff @@
======================================
  Files          268     268
  Stmts        12576   12576
  Branches      1598    1598
  Methods          0       0
======================================
- Hit           5945    5943     -2
+ Partial        453     450     -3
- Missed        6178    6183     +5

Review entire Coverage Diff as of 72407ea

Powered by Codecov. Updated on successful CI builds.


Add SASS Support

The direction of CSS preprocessor development seems to be leaning strongly in the direction of SASS.  Add SCSS sources, and switch CSS files over to be compiled from these sources.

The project has been switched over to SCSS sources as of 75fc444e31fb15718a5ba4b2bf59b4adbda15b57, with the compiled CSS files being based off the SCSS, rather than the LESS.
Minor formatting changes may have appeared in the CSS as a result. Examples include shorter HEX colors, and less wrapping in selector groups.
The LESS source will be maintained through version 2.x, but should be considered deprecated.


next is not a function with<EMAIL_ADDRESS>

After I made upgrades on npm as described down below<EMAIL_ADDRESS>threw the error next is not a function on line 12 of the index.js.
Upgrades:
redux: 1.0.1 -> 2.0.0
react-redux: 1.0.1 -> 2.1.0
redux-devtools: 1.1.0 -> 2.1.0

Once I rolled back to 1.x.x, everything worked again as expected.
Update: Ok, just looked at the code. I probably could have dropped the line number.

My guess is that you didn't apply this change from Redux 2.0 release notes:

If this is not the problem please provide a project reproducing the issue.


Deploy Metronome (Actions) docs

Proposed changes

Merge timing

Related issues (optional)
Relates to #3002

@mcough2 Opened a new PR here with some finishing touches, due to some GitHub cross-workspace issues.
As I mentioned, we'll deploy this as hidden on Tuesday June 14, and will make it available publicly alongside the integration.


Galley config analyzer panic closed channel

https://prow.k8s.io/view/gcs/istio-prow/logs/integ-istioctl-k8s-tests_istio_postsubmit/468

I've looked at this a bit, and so far haven't been able to find any more examples or anything obvious in the code that could be leading to it.

I haven't been able to find any examples of this more recent than 10/20 (the one linked above). Going ahead and closing this,  but we should reopen if this starts happening again.


[A11Y] Android: Date picker doesn’t open appropriately with talkback

ENVIRONMENT:
OS (number): O
Build number: marlin-userdebug O MASTER eng.cbrowe.20170410.155415 dev-keys
Form factor (Smartphone / tablet): PIXEL XL
Browser: Chrome Dev 59.0.3062.4
PRE-REQUISITE

Talkback is ON

STEPS TO REPRODUCE:

Open https://ampstart.com
Linearly Navigate to COMPONENTS link and double tap on it.
Linearly navigate to date picker and try to open it.

ACTUAL RESULTS:
On moving focus on date picker, talkback says “Date of Expiry, date picker” “double tap to change”. Upon double tapping nothing happens. If user navigates linearly further, talkback just says “Date of expiry”. But, here the actual double tap works properly and opens up the date picker.
EXPECTED RESULTS:
Control type and focus should be assigned appropriately for the date picker
ATTACHMENT(S):
Date Picker.mp4.zip

Please see #415 for the date input accessibility discussion

@torch2424 - this i think we might need to fix, please check

I guess the fix for this is to make the label aria-hidden

Oh yes you are correct, fixing now


Make it for 1.16

Hey Ankerfung my brother don't have a very good pc and can play 1.16 only can you please make a 1.16 version

port it yourself


How to integrate APIs in this template

Can anyone please let me know how to integrate APIs using this template.
I have tried to integrate APIs using 'axios' in this template where APIs created in Node.js.
I got this error in the browser
Access to XMLHttpRequest at 'http://localhost:3000/user/import' from origin 'http://localhost:4000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
  `constructor(props) {
	super(props);
	this.state = {
		users: []
	};
	this.load_table();
}

componentDidMount() {
	this.load_table();
}

async load_table(){

	const instance = await axios.post('http://localhost:3000/user/import',
		{	headers:
				{'x-access-token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjVkNTY1YWUwYWE3NjNiNDlhNDY1ODQ1YyIsImlhdCI6MTU2NjA0ODA4MiwiZXhwIjoxNTY2MTM0NDgyfQ.aGX0AhwL-9DrZZ20F5vJqPnqqYRThtWlaDe_GfGW3kU'
				}
		}
		);
	console.log('instance>>',instance);

	this.setState({
		users: []
	});

}

Hello there, @abdullahqureshi1994
Thank you for your interest in working with our products.
It seems that you haven't respected our ISSUE_TEMPLATE, so we are going to close it.
Please add a new comment here, or open a new issue, by filling the mentioned ISSUE_TEMPLATE and please be sure that your issue title is a very small description of your issue as well.
All the best,
Manu
Developer @Creative-Tim.com


Update messages.fr.yml

Fixed name translation (prénom means first name). Added missing translations for FAQ and subheader

Thanks, Gabriel! Don't forget to upgrade to dev-master instead of 1.1.0 🙂


Fail VolumeCreate requests if they fail on any node

Also log failures

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "log_failures" git@github.com:wsong/swarm.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

Ping @nishanttotla

This was causing some confusion with third-party volume drivers, where volume creates might succeed on one node but fail on others due to problems with a remote volume driver backend.


questions

https://github.com/c-tanner/laravel-deep-sync/blob/75f9fa074d5266444a1a45e9a086c35fa04c72b8/src/Observers/DeepSync.php#L191
thanks for this package !! 👍
the first question that came into my mind: if a user has 10k posts, are you doing 10k updates ?
because based on the foreign key it could be done with only one update, of course ;)
does it only work with the column "deleted_at" or is it possible to change that name ?
thanks!

Hey @michabbb 👋  First issue, nice :) Thanks!

if a user has 10k posts, are you doing 10k updates ?

Short answer, yes. The reason this has to be done one-by-one is due to how Laravel's model events work. When querying the database directly to perform updates, model events do not fire. From the docs:

When issuing a mass update via Eloquent, the saved and updated model events will not be fired for the updated models. This is because the models are never actually retrieved when issuing a mass update.

Since we rely on model events to fire in order for everything downstream to also pick up the updates (Model A triggers Model B, Model B triggers Model C, ...), this is unfortunately the only way to make that happen.

does it only work with the column "deleted_at" or is it possible to change that name

If you're asking about the delete() events, this seems to be possible in Laravel by declaring a const in your model with the desired column name:
const DELETED_AT = 'my_soft_delete_column';
For attributes that should be updated on save() or update() events, those can be declared in the $syncable array.
Hope this helps! Let me know if you have any other questions

Merging the fix that will support the custom column name now. Thanks for the suggestion!


Consider setting allowJs to false

context
currently allowJs is true
consider changing it to false
rationale
new projects from the template should be new projects with no legacy code so i imagine there’s no need to allow js.
and if teams need to allow js they can always re-enable it themselves

I think the rationale makes sense, a lot of our changes in the last few weeks have involved making the template have more neutral defaults that can be adjusted based on project need. I think this kind of falls in that category too, so I'll pick this up today unless anyone objects.


Nuxt module

Relates to #1247

This PR adds a basic nuxt module to integrate onyx into nuxt projects. It just adds the global styles and auto imports all onyx components, more features may be added later.
Checklist

[x] The added / edited code has been documented with JSDoc
[x] All changes are documented in the documentation app (folder apps/docs)
[x] If a new component is added, at least one Playwright screenshot test is added
[x] A changeset is added with npx changeset add if your changes should be released as npm package (because they affect the library usage)

I hope this works with your current release flow, I tried to adapt to the other packages. But please double check that e.g. all required scripts are in place and so on :)


[GOBBLIN-885]Fix orc-Compaction bug in non-dedup mode and add unit-test

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[ ] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-885

Description
The original output of OrcValueMapper is contradictory to OrcMapreduceRecordWriter where the Key is Nullable but the value is a generic-type object.
Adding unit test to cover non-dedup mode of compaction.
Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[ ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

@htran1  Can you help take a look on this changes? Thanks.

Codecov Report

Merging #2738 into master will increase coverage by 40.99%.
The diff coverage is 100%.

@@              Coverage Diff              @@
##             master    #2738       +/-   ##
=============================================
+ Coverage      4.14%   45.14%   +40.99%
- Complexity      738     8781     +8043
=============================================
  Files          1886     1886
  Lines         70501    70500        -1
  Branches       7736     7736
=============================================
+ Hits           2924    31827    +28903
+ Misses        67269    35727    -31542
- Partials        308     2946     +2638

Impacted Files
Coverage Δ
Complexity Δ

...bblin/compaction/mapreduce/orc/OrcValueMapper.java
78.87% <100%> (+78.87%)
16 <1> (+16)
:arrow_up:

...gobblin/service/monitoring/JobStatusRetriever.java
0% <0%> (ø)
2% <0%> (+2%)
:arrow_up:

...ata/management/copy/hive/HivePartitionFileSet.java
0.95% <0%> (+0.95%)
1% <0%> (+1%)
:arrow_up:

...e/gobblin/runtime/locks/ZookeeperBasedJobLock.java
64.44% <0%> (+1.11%)
16% <0%> (+1%)
:arrow_up:

...pache/gobblin/runtime/GobblinMultiTaskAttempt.java
56.3% <0%> (+1.35%)
27% <0%> (+2%)
:arrow_up:

...ava/org/apache/gobblin/runtime/MultiConverter.java
83.6% <0%> (+1.63%)
9% <0%> (+1%)
:arrow_up:

...rg/apache/gobblin/runtime/FsDatasetStateStore.java
73.8% <0%> (+1.78%)
35% <0%> (+1%)
:arrow_up:

...a/org/apache/gobblin/cluster/SingleTaskRunner.java
1.85% <0%> (+1.85%)
1% <0%> (+1%)
:arrow_up:

.../java/org/apache/gobblin/runtime/TaskExecutor.java
45.05% <0%> (+2.19%)
9% <0%> (+1%)
:arrow_up:

...rg/apache/gobblin/runtime/AbstractJobLauncher.java
58.12% <0%> (+3.3%)
31% <0%> (+5%)
:arrow_up:

... and 1080 more

Continue to review full report at Codecov.

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


changing linux package

While trying to build RPM package on centos7 I was getting error:
# runtime/cgo
cgo: C compiler "x86_64-linux-gnu-gcc" not found: exec: "x86_64-linux-gnu-gcc": executable file not found in $PATH
make: *** [output/linux_amd64/bin/health-checker] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.qNiIAj (%build)

One of the solution for this is to change x86_64-linux-gnu-gcc with x86_64-redhat-linux-gcc

Created PR by accident on this repo instead of forked one.


Error found: Cannot read property 'kind' of undefined

This just updated to 2.0.2 and I keep getting this error message. I don't see additional information about what the issue is.
This is the message:

Error found: Cannot read property 'kind' of undefined. If you believe this is a bug, please report on https://github.com/daidodo/tsimportsorter
Source: JS/TS Import/Export Sorter (Extension)

Duplicate of #8


Add vcard prefix to fix TTL

mod.ttl was broken because of missing namespace declaration.

Indeed good catch. My parser did not catch this.


Pokegame not working?

i have the NadekoFlowers but none of the pokegame commands are working for me

it has been removed in 1.0, it will be reworked sometime


How to set the left offset of events?

There seems no way to set the left offset of events.
In the source of angular-bootstrap-calendar.js, from line 3850 - line 3883
function getDayView(events, viewDate, dayViewStart, dayViewEnd, dayViewSplit) {

	      var dayStart = (dayViewStart || '00:00').split(':');
	      var dayEnd = (dayViewEnd || '23:59').split(':');

	      var view = calendarUtils.getDayView({
	        events: events.map(function(event) { // hack required to work with event API
	          event.start = event.startsAt;
	          event.end = event.endsAt;
	          return event;
	        }),
	        viewDate: viewDate,
	        hourSegments: 60 / dayViewSplit,
	        dayStart: {
	          hour: dayStart[0],
	          minute: dayStart[1]
	        },
	        dayEnd: {
	          hour: dayEnd[0],
	          minute: dayEnd[1]
	        },
	        eventWidth: 150,
	        segmentHeight: 30
	      });

	      // remove hack to work with new event API
	      events.forEach(function(event) {
	        delete event.start;
	        delete event.end;
	      });

	      return view;

	    }

There have a key that can set the left offset of every events: eventWidth: 150,
but this 150 is not configurable. So, how should I configure this property to make sure when width is changed, the position of event is changed?

This should now be possible in 0.27.0, thanks for the suggestion!


Try deploying wagtail

At Djangocon, someone mentioned that an interesting use case for simple_deploy would be helping people deploy wagtail sites. I've been aware of wagtail for a long time, but never tried it. This is a quick experiment to see if the most basic wagtail site can be deployed using simple_deploy.

[x] Start the demo wagtail site from Try Wagtail in 7 Lines locally.
[ ] Deploy it using simple_deploy on platform.sh.

Working notes

Wagtail creates its own Dockerfile and .dockerignore. This doesn't prohibit deployment to platforms where we need to make a Dockerfile, but it might make it more interesting.

Conclusion

This looks interesting! It certainly helps define the boundary of what a "simple" project is.
There are a number of ways to manage working with multiple settings files. In the platform-agnostic work, we can identify whether there's a single settings file or several. We also may be able to work programmatically with the settings object; not necessarily to modify settings, but at least to inspect current settings, and identify settings file names and paths.
This is probably post-1.0 work.


Update typography docs re: global vars

Docs should indicate that _reboot.scss uses the variables, and that to see their values users would look in _variables.scss.

LGTM, @cvrebert ship it?


Run on desktop, possibility for sync between multiple devices?

Hi since this is a flutter app it should be available for desktop too, right? Are you planning on making a sync between multiple devices?

Currently no plan to support sync between multi-device. (Maybe support sync data with WebDav in future version? Personally i don't want to set up a public server to provide service)
run on desktop(windows/linux/macos) maybe possible, but need do some compatibility testing and development, some packages (such as sqflite) don't support desktop platforms like windows. So there are currently no plan to support desktop platform, iOS will supported later.

 Sync habits with webdav

I second this.
It'll be awesome if some people could run the app as self hosted, and track their habbits.

What would be the server app needed?

Just a web UI to manage the setting is more than enough.

Hi, any progress or intention to progress?


Fix: cluster-proxy doesn't work in OCP proxy environment.

Signed-off-by: xuezhaojun<EMAIL_ADDRESS>Fixes: https://issues.redhat.com/browse/ACM-2829

@JakobGray Hello, please take a look at this PR when you have time! Thanks!


Add documentation for overlay in devServer

In webpack-dev-server 2.3.0, overlay was introduced. I forgot to document this, but better late than never.

I wonder if it would make sense to push webpack-dev-server docs to its readme and consume from there. That would give higher quality docs for npm users too. Most likely we still need some heavier docs to support that, but it could contain the basic API at least.

Yeah that's probably a good idea. At the moment WDS doesn't really have docs in the readme, but we could easily move those to there.
A small problem is that WDS inherits a lot of options from webpack-dev-middleware. It would be weird to document them again in the WDS readme, but maybe we could solve this by making a kind of Table of Contents and list the WDS + WDM options in there. For the WDM options, it would link to the WDM readme instead of an anchor tag.

If we do a WebpackDevServerPlugin, that might help with the latter concern. It could also tell that webpack-dev-middleware should become a package of its own (monorepo below wds?). But it's basically an organization issue.


[kueuectl] Remove duplication of list commands.

What type of PR is this?
/kind bug

What this PR does / why we need it:
Remove duplication of list commands on kueuectl cli.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

/assign @trasc


#001 Creating Youtube Rendering Functionality

[x] Create a logger
[x] Create a custom exception.
[x] Youtube file to deal with this module.
[x] Manual checks in a jupyter notebook.

I face lots of uses to handle and split Youtube different types of URLs
at the end i learned from the issues

its done from development perspective.

Done🗿👍


ValidatorBreaking on ds208

login2.ls5(23)$ /home1/04275/suyashdb/validator_versions/validatorSept11/bids-validator/bin/bids-validator .
/home1/04275/suyashdb/node_modules/ajv/lib/ajv.js:92
      if (!v) throw new Error('no schema with key or ref "' + schemaKeyRef + '"');
              ^

Error: no schema with key or ref "http://json-schema.org/draft-06/schema#"
    at validate (/home1/04275/suyashdb/node_modules/ajv/lib/ajv.js:92:21)
    at validateSchema (/home1/04275/suyashdb/node_modules/ajv/lib/ajv.js:162:19)
    at _addSchema (/home1/04275/suyashdb/node_modules/ajv/lib/ajv.js:288:7)
    at Ajv.compile (/home1/04275/suyashdb/node_modules/ajv/lib/ajv.js:113:21)
    at checkUnits (/home1/04275/suyashdb/validator_versions/validatorSept11/bids-validator/validators/json.js:42:32)
    at /home1/04275/suyashdb/validator_versions/validatorSept11/bids-validator/validators/json.js:22:44
    at Object.parse (/home1/04275/suyashdb/validator_versions/validatorSept11/bids-validator/utils/json.js:29:17)
    at module.exports (/home1/04275/suyashdb/validator_versions/validatorSept11/bids-validator/validators/json.js:20:16)
    at /home1/04275/suyashdb/validator_versions/validatorSept11/bids-validator/validators/bids.js:275:21
    at /home1/04275/suyashdb/validator_versions/validatorSept11/bids-validator/utils/files.js:50:47

@nellh Could this be related to https://github.com/INCF/bids-validator/pull/309 ?

@suyashdb Have you run npm install since pulling the new master? This is the error you get with the new schema + old ajv.

@nellh the new master is not generating error for any other dataset.
Also the older version of validator runs successfully on ds208 without running npm install.

Please try doing npm install to update dependencies nonetheless. It will
help narrowing down what's the problem.
On Sep 11, 2017 9:47 PM, "Suyash"<EMAIL_ADDRESS>wrote:

@nellh https://github.com/nellh the new master is not generating error
for any other dataset.
Also the older version of validator runs successfully on ds208 without
running npm install.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/INCF/bids-validator/issues/310#issuecomment-328734777,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOkp06GDgeeews0Le_l7dBrIExLP7wPks5shgzggaJpZM4PT9jf
.

@chrisfilo @nellh yes after npm install there's no more error.


add order critieria event and test

1. Why is this change necessary?
When writing plugins for Shopware, whenever I wanted to display some additional information on the thank you page, I had to create a new database request. Most often I needed to add product data. Thanks to the application of event criteria, which is used in many similar situations in Shopware, we can extend associations.
2. What does this change do, exactly?
My code adding an event that allows you to extend the criteria when retrieving order data on the thank you page.
3. Describe each step to reproduce the issue or behaviour.
4. Please link to the relevant issues (if any).
5. Checklist

[x] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-20121
Please use this issue to track the state of your pull request.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-20123
Please use this issue to track the state of your pull request.

Your PR was already merged a while ago, thanks for your contribution! :tada: :blue_heart:


Addresses Errors in Stage 5 using LD coefficients from a file

This PR primarily address Issue #588, where using a fixed LD file causes an error in BatmanModels.py.  The fix was simple enough and appears to work under the small number of tests that I ran.
I'm also including an assortment of minor improvements in this PR.  The most consequential of these changes is enabling the user to manually specify the source position in the ECF.

@taylorbell57 Several people need this fix asap because they are working towards an impending deadline.  It would be good to get this merged today.  Thanks!