How to add TailwindCSS in Each Module?

Hello,
Is it possible to use same laravel-mix for all Modules? I am using TailwindCSS for my Web App. For each Module will I have to use separate mix?
Giving me an exception:
Exception
Unable to locate Mix file: /css/category.css. (View: E:\xampp\htdocs\lavecart\Modules\Category\Resources\views\layouts\master.blade.php)
I have created a public folder. Inside that folder I have created js and css folder.
const dotenvExpand = require('dotenv-expand');
dotenvExpand(require('dotenv').config({ path: '../../.env'/*, debug: true*/}));

const mix = require('laravel-mix');
require('laravel-mix-merge-manifest');

mix.setPublicPath('../../public').mergeManifest();

mix.js(__dirname + '/Resources/assets/js/app.js', 'js/category.js')
    .postCss('resources/css/app.css', 'css/category.css', [
        require('postcss-import'),
        require('tailwindcss')
    ]);

if (mix.inProduction()) {
    mix.version();
}

I haven't used tailwind much so I could really tell you.
I would assume just like any application though, I don't see why it wouldn't work.

Hello, Is it possible to use same laravel-mix for all Modules? I am using TailwindCSS for my Web App. For each Module will I have to use separate mix?
Giving me an exception: Exception Unable to locate Mix file: /css/category.css. (View: E:\xampp\htdocs\lavecart\Modules\Category\Resources\views\layouts\master.blade.php)
I have created a public folder. Inside that folder I have created js and css folder.
const dotenvExpand = require('dotenv-expand');
dotenvExpand(require('dotenv').config({ path: '../../.env'/*, debug: true*/}));

const mix = require('laravel-mix');
require('laravel-mix-merge-manifest');

mix.setPublicPath('../../public').mergeManifest();

mix.js(__dirname + '/Resources/assets/js/app.js', 'js/category.js')
    .postCss('resources/css/app.css', 'css/category.css', [
        require('postcss-import'),
        require('tailwindcss')
    ]);

if (mix.inProduction()) {
    mix.version();
}

Did you figured this out? I can get Tailwind to see all the folder but not the Modules

For anybody that is looking for this just add this to your mail config.js
module.exports = {   mode: 'jit',   purge: [     './Modules/**/*.blade.php',     './resources/views/**/*.blade.php',     './resources/css/**/*.css',   ],   theme: {     extend: {}   },   variants: {},   plugins: [     require('@tailwindcss/ui'),     require('@tailwindcss/jit'),   ] }

with tailwind v.3 the syntax changed a bit:
base tailwind.config.js file would look like this now:
module.exports = {
    content: [
      "./resources/**/*.blade.php",
      "./resources/**/*.js",
      "./resources/**/*.vue",
      './modules/**/*.blade.php', // this is the important line
    ],
    theme: {
      extend: {
        //
      }
    },
    plugins: [],
  }


Fixed a precision problem where fast gradient can result in double fo…

…r some domains, float for non hex domains. This later causes scalars made from the gradient to be eliminated, resulting in a white Pseudocolor plot.
Description
Resolves #4902
I changed the fast gradient routine so it makes its output gradient using the same type as the input scalar.
Type of change
Bug fix.
How Has This Been Tested?
Locally, using a specific file.
Checklist:

[ x] My code follows the style guidelines of this project
[ x] I have performed a self-review of my own code
[ x] I have commented my code, particularly in hard-to-understand areas
[ ] I have updated the release notes
[ ] I have made corresponding changes to the documentation
[ ] I have added debugging support to my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I have added any new baselines to the repo
[ ] I have assigned reviewers (see VisIt's PR procedures for more information).

The overhead for this whole pull request business really makes me think twice about contributing fixes.

As for the PR, what parts are onerous? Is it all the check boxes, the git process etc?

I think in this case it was just a 1 line change and filling in the forms and doing the PR, waiting for CI, etc was more work than the fix. Thanks for reviewing.

Thanks, I can appreciate that. Lots of key strokes beyond the fix before you can declare victory.


[Basic] Remove llvm::JSON C bridging

This was used for plugin message serialization, but it's migrated to SwiftCompilerPluginMessageHandling JSON.

@swift-ci Please smoke test


6848 remove visualization migrator

Removes the last dependencies of the visualization migrator and kills it. Closes #6848
This was used to drop and recreate the visualization table in tests. This PR removes that behaviour, and modifies the Visualization::Locator tests to restrict searches to an user. There are a couple instances where it was testing the total number of visualizations in the table that were removed, as they don't have much value and do not work with this approach.

retest this please

@juanignaciosl, CR please

:+1:


How can i change the image color

I want to chane the UIImage color.

You can use theme_image to set different themes of the image, but can not change the image itself.

Because more than 1 week is not active, I closed, if there is any problem, you can reopen.

i can change image color, it seem your lib is only support change image, not change color, it's will make bigger app size


MenuItem as Link component does not support external links

Bug report
Required System information

Npm version: 8.5.0
NodeJS version: 16.4.2
Strapi Design System version: 1.2.0
Browser: Chrome

Describe the bug
The MenuItem component support internal links but not externals.
Steps to reproduce the behavior

Use the SimpleMenu and MenuItem components
Try to add a href/isExternal props to use the MenuItem component as an external link.

hey @joshuaellis Can you please assign this to me?
Also, I think it's an enhancement and not a bug since this will add external link support to the current "MenuItem" component.
Tasks =>

Add support for external links to "MenuItem" component.
Add/Update documentation for the same in storybook
Add test cases to test the working of the external link

Hey @INNOVATIVEGAMER
Tasks sound good, I'd probably remove the ternary operator for an if statement and look for the isExternal prop to know if it should be an anchor.


[BUG] System.UnauthorizedAccessException: Access to the path 'RobloxCrashHandler.exe' is denied.

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
v2.8.0
What problem did you encounter?
wont run
Bloxstrap Log
2024-10-23T22:08:40Z [App::OnStartup] Starting Bloxstrap v2.8.0
2024-10-23T22:08:40Z [App::OnStartup] Compiled Wednesday, 16 October 2024 at 4:44:37 AM from commit 42ffec26cf2e080fe22210305a08fcb286aeb577 (tag/v2.8.0)
2024-10-23T22:08:40Z [App::OnStartup] Loaded from %UserProfile%\AppData\Local\Bloxstrap\Bloxstrap.exe
2024-10-23T22:08:40Z [App::OnStartup] Temp path is %UserProfile%\AppData\Local\Temp\Bloxstrap
2024-10-23T22:08:40Z [App::OnStartup] WindowsStartMenu path is %UserProfile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
2024-10-23T22:08:40Z [LaunchSettings] Identifier 'player' is active with data
2024-10-23T22:08:40Z [Logger::Initialize] Initializing at %UserProfile%\AppData\Local\Bloxstrap\Logs\Bloxstrap_20241023T220840Z.log
2024-10-23T22:08:40Z [Logger::Initialize] Finished initializing!
2024-10-23T22:08:40Z [JsonManager<Settings>::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\Settings.json...
2024-10-23T22:08:40Z [JsonManager<Settings>::Load] Loaded successfully!
2024-10-23T22:08:40Z [JsonManager<State>::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\State.json...
2024-10-23T22:08:40Z [JsonManager<State>::Load] Loaded successfully!
2024-10-23T22:08:40Z [FastFlagManager::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\Modifications\ClientSettings\ClientAppSettings.json...
2024-10-23T22:08:40Z [FastFlagManager::Load] Loaded successfully!
2024-10-23T22:08:40Z [LaunchHandler::LaunchRoblox] Initializing bootstrapper
2024-10-23T22:08:40Z [LaunchHandler::LaunchRoblox] Initializing bootstrapper dialog
2024-10-23T22:08:40Z [Bootstrapper::Run] Running bootstrapper
2024-10-23T22:08:40Z [Bootstrapper::SetStatus] Connecting to Roblox...
2024-10-23T22:08:40Z [Deployment::TestConnection<https://setup.rbxcdn.com>] Connecting...
2024-10-23T22:08:40Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/versionStudio
2024-10-23T22:08:40Z [Deployment::InitializeConnectivity] Testing connectivity...
2024-10-23T22:08:40Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/versionStudio
2024-10-23T22:08:40Z [Deployment::InitializeConnectivity] Got https://setup.rbxcdn.com as the optimal base URL
2024-10-23T22:08:40Z [Bootstrapper::Run] Connectivity check finished
2024-10-23T22:08:40Z [Bootstrapper::CheckForUpdates] Checking for updates...
2024-10-23T22:08:40Z [HttpClientLoggingHandler::ProcessRequest] GET https://api.github.com/repos/bloxstraplabs/bloxstrap/releases/latest
2024-10-23T22:08:40Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://api.github.com/repos/bloxstraplabs/bloxstrap/releases/latest
2024-10-23T22:08:40Z [Bootstrapper::CheckForUpdates] No updates found
2024-10-23T22:08:40Z [Bootstrapper::GetLatestVersionInfo] Got channel as zharmonyplannerv2-0
2024-10-23T22:08:40Z [HttpClientLoggingHandler::ProcessRequest] GET https://bloxstraplabs.com/metrics/post?key=robloxChannel&value=zharmonyplannerv2-0
2024-10-23T22:08:40Z [Deployment::GetInfo] Getting deploy info for channel zharmonyplannerv2-0
2024-10-23T22:08:40Z [HttpClientLoggingHandler::ProcessRequest] GET https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer/channel/zharmonyplannerv2-0
2024-10-23T22:08:40Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer/channel/zharmonyplannerv2-0
2024-10-23T22:08:40Z [Deployment::GetInfo] Getting deploy info for channel production
2024-10-23T22:08:40Z [HttpClientLoggingHandler::ProcessRequest] GET https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer
2024-10-23T22:08:40Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer
2024-10-23T22:08:40Z [RegistryKeyEx::SetValueSafe] Writing 'zharmonyplannerv2-0' to HKEY_CURRENT_USER\SOFTWARE\ROBLOX Corporation\Environments\RobloxPlayer\Channel\www.roblox.com
2024-10-23T22:08:40Z [ApplicationSettings::Fetch.PCClientBootstrapper.zharmonyplannerv2-0] Fetching fast flags
2024-10-23T22:08:40Z [HttpClientLoggingHandler::ProcessRequest] GET https://clientsettingscdn.roblox.com/v2/settings/application/PCClientBootstrapper/bucket/zharmonyplannerv2-0
2024-10-23T22:08:40Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://clientsettingscdn.roblox.com/v2/settings/application/PCClientBootstrapper/bucket/zharmonyplannerv2-0
2024-10-23T22:08:40Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/channel/common/version-4e3b062d6e584043-rbxPkgManifest.txt
2024-10-23T22:08:40Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/channel/common/version-4e3b062d6e584043-rbxPkgManifest.txt
2024-10-23T22:08:40Z [Bootstrapper::SetStatus] Installing {product}...
2024-10-23T22:08:40Z [LaunchHandler::LaunchRoblox] Bootstrapper task has finished
2024-10-23T22:08:40Z [LaunchHandler::LaunchRoblox] An exception occurred when running the bootstrapper
2024-10-23T22:08:40Z [App::FinalizeExceptionHandling] System.UnauthorizedAccessException: Access to the path 'RobloxCrashHandler.exe' is denied.
   at System.IO.FileSystem.RemoveDirectoryRecursive(String fullPath, WIN32_FIND_DATA& findData, Boolean topLevel)
   at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
   at Bloxstrap.Bootstrapper.UpgradeRoblox()
   at Bloxstrap.Bootstrapper.Run()
   at Bloxstrap.Bootstrapper.Run()
2024-10-23T22:08:41Z [HttpClientLoggingHandler::ProcessResponse] 429 Too Many Requests https://bloxstraplabs.com/metrics/post?key=robloxChannel&value=zharmonyplannerv2-0

Duplicate of #3408. I suggest you ensure that you haven't marked any of Roblox's files as read-only, and try restarting.


Dokany find files fix

The readdir callback is executed on dispatcher_thread. Then the filler is executed. The problem is that the filler may do other fuse requests, but the dispatcher_thread is still running and so the whole ends in a deadlock. This fix ensures that

The filler is executed in a separate thread
Even if there are some following requests those do not tell the system that the find_files is done until it's really finished. Therefore a different semaphore is used.

Without this fix dokany does not work at all using fuse-bindings.

:+1:  great!

would be great if this got merged -- want to rebase off of it for my upcoming pull request

See my minor comments. LGTM otherwise

@mafintosh looks like he added the changes ^

Awesome, 2.11.1


Failed to set up TLS certificates:

Error Code :
[err] failed to set up TLS certificates: www.[mydomain]: obtaining certificate: [mydomain] Obtain: [mydomain] creating new order: provisioning client: performing request: Get "https://acme-v02.api.letsencrypt.org/directory": dial tcp: lookup acme-v02.api.letsencrypt.org on <IP_ADDRESS>:53: server misbehaving (ca=https://acme-v02.api.letsencrypt.org/directory)
[03:46:17] [err] run 'test-certs' command to retry
I am new to this, and was wondering what I can do to fix this?  If you need a service and you cant pay for it you beg for it all this blackmail wont help you.

**Hi 👽 ! If you are interested in ⚙Advanced Phishing⚙ and the ✨Evilginx3✨ tool then I offer you Google Gmail and Custom Phishlets with a ✅Free Tutorial✅ which arrives if the 📈Telegram reaches 50 Subscribers📈
⏳ GOOGLE GMAIL PHISHLET 2024 WITH PROOF ⏳
->
⛔https://www.youtube.com/watch?v=nA47UknIE6A⛔
🔓 Ask your questions and a free tutorial from 50 subs on telegram !!!
->
📩https://t.me/Noremorse1011📩**


Telegram X Android problem

Tnx , This really works well on Windows Server 2008
but my proxy gets error on Telegram X android
Telegram Android and Telegram Desktop are OK
Problem is Telegram X Android (new version supports mtproto)
Whats Solution?

I've checked. problem exist. i'll add manually other ips of telegram to the codes but didn't work.

i have same problem with telegram x android.
i cant connect to jsmtproxy!
please update JSMTProxy to new version.

The problem resolved in my new fork
https://github.com/cinohee/JSMTProxy

your fork didnt work on any client
not connected on telegram,telegram x,telegram desktop

@ea1234567  There is 13 connected client online
There is no problem in this code

@ea1234567  check my new version file I increased timeout to 30 sec again

i checked again new version
not connected
can you check codes? :(

when i use FreedomPrevails/JSMTProxy all of clients are ok (except telegram x)
but when i use your fork all of clients get error
i cheked again and again (atleast 5 times)
@cinohee
@FreedomPrevails

This commit has the right idea - you just need to pass the protocol tag (either 0xef 0xef 0xef 0xef or 0xee 0xee 0xee 0xee) to the Telegram servers to make the proxy work.

@K900 can you copy past codes here?
i dont uderstand

I'm not familiar enough with JS to rewrite the code. If you just want a working solution, try this - I've implemented similar changes there and can confirm it works on multiple devices.

@ea1234567  do you just replace new code with old one?
Could you give me remote address team viewer or etc?

@K900 really? its very good
do you have any manuals or guide about how run this script on windows?

I can help you run it, but you'll have to contact me on Telegram: t.me/k900x. I'm not going to spam this unrelated issue any more.

@ea1234567 do you use my config for user manager?
This code manage user to avoid multiple login with one server based on IP.
You could set unlimited or limited connection

@cinohee  this is my anydesk id:  461457966
anydesk is portable software like team viewer (only 2mb size)
can you connect to my pc?

@titancomputer
You need all of files I created
Copy hole git

@masterprogrammer513 i've copied the full clone of your files.
didn't start at all.

@masterprogrammer513 yes, what a bug!
app gets start but telegram x android didn't work with your codes too.
all other clients do OK.

@titancomputer  please attention just telegeram X beta work with mtproto
Please update to latest beta version
If use unlimite : false only ine ip could connect to server set it into true
I test with telegramX beta latest version on blue stack without any problem
and my friend test on windows mobile version of Telegram
Change secret code to new code and retest

@masterprogrammer513 i know that, i've got last version beta of telegram x on play store, works with proxies that made with MTProxy but didn't work on your codes or @FreedomPrevails
tested many secret, make no difference.

@titancomputer  I will check it tommoro again
what is your server info?
os,cpu,vps/dedic...

@masterprogrammer513 windows server 2012 R2, 2GB RAM, 2 Core XEON E3-1270 v6

@titancomputer  what is you telegram Xmobile number country?
maybe we need add more telegram server ip to file
with proxy server workh with Telegram X?
Do you have source code of that proxy?

@masterprogrammer513 country IR +98
this mtproto is working with all.
i already asked problem on tdlib in here.

@titancomputer  another user told me after error 400 the connection will work after 30sec
Do you test after error 400?

@titancomputer  make separated user for TelegramX and check again

@masterprogrammer513 thats true. it takes too long but get connected.
very slow on updating or downloading.

@masterprogrammer513
proxy_for 1 <IP_ADDRESS>:8888;
proxy_for -1 <IP_ADDRESS>:8888;
proxy_for 2 <IP_ADDRESS>:80;
proxy_for 2 <IP_ADDRESS>:80;
proxy_for -2 <IP_ADDRESS>:80;
proxy_for -2 <IP_ADDRESS>:80;
proxy_for 3 <IP_ADDRESS>:8888;
proxy_for -3 <IP_ADDRESS>:8888;
proxy_for 4 <IP_ADDRESS>:8888;
proxy_for 4 <IP_ADDRESS>:8888;
proxy_for 4 <IP_ADDRESS>:8888;
proxy_for 4 <IP_ADDRESS>:8888;
proxy_for 4 <IP_ADDRESS>:8888;
proxy_for 4 <IP_ADDRESS>:8888;
proxy_for 4 <IP_ADDRESS>:8888;
proxy_for 4 <IP_ADDRESS>:8888;
proxy_for 4 <IP_ADDRESS>:8888;
proxy_for 4 <IP_ADDRESS>:8888;
proxy_for -4 <IP_ADDRESS>:8888;
proxy_for -4 <IP_ADDRESS>:8888;
proxy_for 5 <IP_ADDRESS>:8888;
proxy_for 5 <IP_ADDRESS>:8888;
proxy_for -5 <IP_ADDRESS>:8888;
proxy_for -5 <IP_ADDRESS>:8888;

@titancomputer  I think this is Telegram X beta bug that not work perfectly with MTPROTO proxy .
The X version do not support all secret key.
I think better wait until released version of Telegram X

@masterprogrammer513
I think so

@ea1234567 @masterprogrammer513
this is ok with x android. tested for 3 days.
https://t.me/proxy?server=proxy.digitalresistance.dog&port=443&secret=d41d8cd98f00b204e9800998ecf8427e

@titancomputer  You are right,other proxies work well on Telegram X

@masterprogrammer513 didn't resolve the issue?

@FreedomPrevails This messages comes: error (400: connection closed) on Telegram X <IP_ADDRESS>7-armeabi-v7a

I'm connected but my download speed is low
The connection is not stable, it is permanently disconnected on some devices
and what is say ?
openssl config failed: error:02001003:system library:fopen:No such process

@masterprogrammer513


live streaming with no audio on disk

Hi,
i am working with nginx rtmp module for live streaming of audio.
for security reasons i can't have nginx save the streamed audio on disk.
but nginx saves all the segments on disk, is there a way to overcome this?
can i make nginx save the audio in memory only?
thanks,
Galia.

Nginx don't save streams on disk. Only if you have HLS enabled.
W dniu niedziela, 19 czerwca 2016 gbarzilay<EMAIL_ADDRESS>napisał(a):

Hi,
i am working with nginx rtmp module for live streaming of audio.
for security reasons i can't have nginx save the streamed audio on disk.
but nginx saves all the segments on disk, is there a way to overcome this?
can i make nginx save the audio in memory only?
thanks,
Galia.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/arut/nginx-rtmp-module/issues/841, or mute the thread
https://github.com/notifications/unsubscribe/AAbp9oN_cQLr5ryJwJt1x7idA1iu1jwoks5qNQsDgaJpZM4I5IJl
.

this is the configuration i am using:
#user  nobody;
worker_processes  1;

error_log  logs/error.log debug;

events {
    worker_connections  1024;
}

rtmp {
    server {
        listen 1939;

        chunk_size 4096;

        application dash {
            live on;
            dash on;
            dash_path ../tmp/dash;
	    dash_fragment 500ms;
        }

    }
}

# HTTP can be used for accessing RTMP stats
http {

    server {

        listen      9090;

	location /dash {
            # Serve DASH fragments
            root ../tmp;
            add_header Cache-Control no-cache;
            add_header Cache-Control no-store;

        add_header 'Access-Control-Allow-Origin' "$http_origin";
        add_header 'Access-Control-Allow-Credentials' 'true';
        add_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, DELETE, OPTIONS';
        add_header 'Access-Control-Allow-Headers' 'Accept,Authorization,Cache-Control,Content-Type,DNT,If-Modified-Since,Keep-Alive,Origin,User-Agent,X-Mx-ReqToken,X-Requested-With';

        }

    }
}

and you can see the stream files saved to ../tmp/dash folder below.
is there something i can change in the configuration to stop saving those files to disk?

thanks,
Galia


Update create-private-link-service-portal.md

No RFC compliant IP address, Non-RFC compliant IP range, if a Public IP address can/should be use we need a call out box.
Special contribution @domccune and @mistalove aka<EMAIL_ADDRESS>

@Gabrielgdm : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@asudbring - Can you review this old PR and determine whether it needs to be closed or merged?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.

This article is slated for update.
#please-close

#please-close


texlive: add schemes "with docs"

Description of changes
Build additional variants of each texlive scheme with the documentation included.
This is the final test that we can actually include all the documents, without clashes, and it adds the doc containers to the binary cache (implicitly verifying that those fixed hashes are correct too).
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

I'd prefer including the docs by default and making the interface for removing them less clunky

That seems excessive: the docs of scheme-full are huge and some packages have texlive as build time dependency, so we'd have to add overrides everywhere.
In the meanwhile, an alternative could be to ship scheme-full-with-docs only... ? I can't think of another way to get the binary cache at the moment. (I suppose we agree that we don't care about the source containers.)

Progress re building formats in a separate container and on texlive.withPackages is going faster than expected – better pause this PR until we can add docs at no cost.

At last, the texdoc containers are in the binary cache and the formats do not need recompiling, so this PR is now 100% irrelevant.


Add more txsource workloads

We should add more txsource workloads to test out the system during longer term runs, specifically:

[ ] Delegation workloads, including changing the commission schedule.
[ ] Registry workloads.
[ ] Runtime workloads.

We should also consider using a genesis block which uses gas fees and rewards to test out those parts of the code.

We should also add transactions that add randomized additional fields as payloads, e.g. see #2708.

Also we should have stress tests that send lots of transactions in parallel every once in a while, so we test with large blocks.

Based on a bug discovered in #2708, we should test with oversized transactions and also restart (some) validator nodes while the long-term txsource test is running.

[ ] We should also have some workloads that perform various historic queries using our exposed APIs and make sure the responses make sense.

done in all the linked PRs


Undefined behavior in constructor of child of RouterElement

Describe the bug
Argument of type 'typeof Import' is not assignable to parameter of type 'RouterElement'.
  Type 'typeof Import' is missing the following properties from type 'RouterElement': child, __parseEmptyConfig, __parseUnusedArguments, __loadModule

21     super(Import, [], {})
             ~~~~~~

  lib/models/Import.js:21:11
    21     super(Import, [], {})
                 ~~~~~~
    Did you mean to use 'new' with this expression?

To Reproduce
If I take class Import (same bug for all extends of RouterElement) in constructor call of super.
super.constructor take a RouterElement as first param
But Import super call = super(Import, [], {}) (link direct)
Expected behavior
No Idea but what the value of Import ?
Screenshots
If applicable, add screenshots to help explain your problem.
System informations (please complete the following information):

OS: Fedora
Node Version 16.4.0

Additional context
X

The RouterElement constructor does not expect an instance of RouterElement (or other class that inherit from this class), but only the class.
This allow to display better errors when the configuration is incorrect (only the name of the class, accessed by Class.name, see examples below), e.g. :

here
or here

Only the class ? What do you mean ?
Yes about that only child as property name not RouterElement. but method of RouterElement use this.child.name
maybe add this property to RouterElement

Yes maybe only provide the class name instead of providing class and accessing to the name should be a better idea.


Fix typos in SpeechRecognitionResult.yml

"incements" corrected to increments

Docs Build status updates of commit 86da032:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-autogen/microsoft-cognitiveservices-speech-sdk/SpeechRecognitionResult.yml
:white_check_mark:Succeeded
View (azure-node-latest)

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

Hey @akabraham! Apologies for the delay on the PR, and thanks for the contribution!
Unfortunately, due to how the content under docs-ref-autogen is generated, any changes we directly merge to files therein will be wiped out on the next run of the backend. As such, I won't be accepting this PR.
However, you absolutely are calling out a real issue. I tracked it down the source of this package, and submitted a PR that mirrors your fixes here.
This way, the next time they release that package to npm, the documentation will be updated. (The backing CI pulls from real NPM packages to generate documentation whenever possible)


Fixups for odroidc2 example

Add symlink to vmlinuz and reduce image size by running zypper cc.
It also override default layout (don't require COS_PERSISTENT) and disable requiring network on boot.
Drops ubuntu sample - it's not working, and green one it's enough, hooks the image creation to the ci
Signed-off-by: Ettore Di Giacinto<EMAIL_ADDRESS>

Maybe we should call the workflow differently? Like this are device example images no? As to not mistake them with our own docker example images

looks good.
the artifact name seems to have a missing field odroid-c2--image

Where? I see it being uploaded as:
 build/cOS-example-odroid-c2-0.7.4-5-gb0a380c9.img.sha256
build/cOS-example-odroid-c2-0.7.4-5-gb0a380c9.img

Cant the image be compressed somehow? maybe convert it to qcow?

Why qcow? we want to provide images that can be directly used for SD card etc

I know its not the same format but they are easily interchanged and can results in a much smaller image, with some docs on how to decompress it should be ok

We could apply xz, but I avoided as the last step of the release already compress them. Besides the container image which is being uploaded is compressed already (see odroid-c2-0.7.4-5-gb0a380c9.img in https://quay.io/repository/costoolkit/examples?tab=tags)

No CI jobs will run for this as it runs just on master and its a new pipeline, merging :t-rex:


Adds Korean translation

Thank you very much for your contribution, I'm gonna merge this probably later today. I'm always trying to give proper information  about the source of translation contributions. Could you take a look at https://github.com/anvil-vtt/FateX#translations and tell me if the translation is from some official source like an official Korean Fate Book? Or is there a public korean Fate SRD available?

it's from korean Fate core SRD: https://sites.google.com/site/fatecorekr/
and CCL is below:

페이트 코어 한국어 공개판은 Leonard Balsera, Brian Engard, Jeremy Keller, Ryan Macklin, Mike Olson, Clark Valentine, Amanda Valentine, Fred Hicks, Rob Donoghue가 개발, 저술, 편집한 Evil Hat Productions, LLC 제품 Fate Core System을 크리에이티브 커먼즈 저작자표시 3.0 Unported 라이선스에 의거하여 도서출판 초여명의 김성일이 번역한 작품입니다.
페이트 코어 한국어 공개판: https://sites.google.com/site/fatecorekr/ 은 크리에이티브 커먼즈 저작자표시 3.0 Unported (CC BY 3.0) 라이센스에 따라 이용할 수 있습니다.

Great, thank you!

Thank you very much for your contribution, its now integrated into the main branch.


Split the RRTMG k_g tables into separate files

This PR is needed as the current "One giant massive table" of RRTMG seems to trigger issues in the CI system as it overloads the virtual machine used in the medium resource class.

I'm going to ping @dr0cloud about this as he is our radiation expert. It's really not that fancy of a PR. Just took the each separate table in the big file and split it up.

Hi Matt, I have no problem with this. As long as its zero diff when running with RRTMG, no problem.

Hi Matt, I have no problem with this. As long as its zero diff when running with RRTMG, no problem.

@dr0cloud Okay. I think it was zero-diff in my testing, but I know @sdrabenh will do a test to confirm as well.


Option "Install Another Version..." is non-clickable for all installed extensions

Browser: Edge Beta\Dev, Chrome
Operation System Information: Win10 (18363.1316)
Repro Steps:

Open link https://github.com/codespaces
Create a codespace and connect to it.
Navigate to Extensions tab, select any installed extension, clicking setting icon.
Observe "Install Another Version..." option on opened dropdown.

Expected:
"Install Another Version" option is clickable. we are able to install previous extension version by it.
Actual:
"Install Another Version" option is gray, we are unable to use it.
GitHub Codespace Version: #1.0.3070
VS Code Version:
Version: 1.53.0-insider
Commit: c265dff48a27868c7f0f84fd25a169897dc43d73
Version: 1.52.1-Stable
Commit: ea3859d4ba2f3e577a159bc91e3074c5d85c0523
GIF show as below:

@sandy081 Hi, I have make a PR for this issue, could you take a look.

@sandy081 Hi, I have make a PR for this issue, could you take a look.

@susiwen8 I could repro this bug on PPE. This option of GitHub codespaces extension is non-clickable by default, and this option of other extension becomes non-clickable after refreshing web page.

@susiwen8 Install Another Version... action is not supported for builtin extensions. Codespaces extension is builtin extension and hence this action is disabled.

Verify this bug on Web , Install Another Version... action is disabled for GitHub codespaces extension, and it is enabled for other extensions which shows in Extensions: 'INSTALLED', so this bug is fixed now.


Breadth of this community?

I'm in the process of building a production app based on these techniques, and as I do so I'm wondering - is this a reasonable place to share war stories and exchange tips? Steven, was that your intent in creating this project? As an example, I'm currently struggling mightily with attaching ndk-gdb to my Android app. That's not exactly in the domain of this source project, but I'd love to participate in a community of people trying to make native C++ development great on mobile.

This is as good of a place as any, in my opinion.  Obviously, github isn't really well suited for that, but neither is an undiscoverable forum.
A Slack instance that we could invite people to might be cool, but so far - I wouldn't know who to invite.  Is anyone else interested in this sort of thing?  A C++ on mobile open forum?

I'm interested! But if it's a small crew, GitHub issues might be fine for now.

Count me in too. I am exploring C++ development on mobile for cross platform business logic and found these techniques very powerful and great starting steps in this direction.

i'm in too it's been several month i was searching and i think this is
where i want to try , learn and share my experience (if i've got any ;) )
On Sun, Mar 22, 2015 at 10:54 AM, dixitpeeyush<EMAIL_ADDRESS>wrote:

Count me in too. I am exploring C++ development on mobile for cross
platform business logic and found these techniques very powerful and great
starting steps in this direction.
—
Reply to this email directly or view it on GitHub
https://github.com/libmx3/mx3/issues/56#issuecomment-84532207.

This is radical stuff!
I'm playing catchup with all that you've been working on for the last year!
Been working on production apps with Xamarin for the last few years and now looking at going back to c++ using these techniques.
How's it going?

Anyone have any war stories or repo's to share using Djinni?

Hmm, war stories?  I have more war stories about not using djinni (but still trying to use c++ over the JNI manually).

Was just interested in hearing if anyone had any experiences to share as from the original issue post this might be "a reasonable place to share war stories and exchange tips".
I'm really interested in databinding to view models and if anyone had expanded on the example towards a binding mechanism common in MVVM, like ReactiveCocoa/Robobinding/MVVMCross.

Looks like someone has mx3.slack.com. Is that this community or someone else? I would be totally game for starting a Slack dedicated to discussing cross platform mobile development in C++...as an engineer at Slack charged with exploring that very topic!

OK, what the heck, right? I've started a slack for discussion at https://mobilecpp.slack.com. If there's interest, let me know, and let's work out a system for invites!

@DEGoodmanWilson I'd appreciate an invitation!
<EMAIL_ADDRESS>Thanks!

Andrew: done!

Can you please send an invite to me
<EMAIL_ADDRESS>

Great! I'd appreciate an invite!
<EMAIL_ADDRESS>Cheers

Hi Don,
thanks for this. I would appreciate an invite as well.
<EMAIL_ADDRESS><EMAIL_ADDRESS>Thanks,
Max

On 05.06.2015, at 04:26, Don Goodman-Wilson<EMAIL_ADDRESS>wrote:
OK, what the heck, right? I've started a slack for discussion at https://mobilecpp.slack.com https://mobilecpp.slack.com/. If there's interest, let me know, and let's work out a system for invites!
—
Reply to this email directly or view it on GitHub https://github.com/libmx3/mx3/issues/56#issuecomment-109136936.

Invites sent. There has to be a better way to manage this…

@DEGoodmanWilson you could host a Slackin page a la the Reactiflux channel.

The things I don't know! Thanks! https://mobilecpp.herokuapp.com/


A prefix

I've just tested the latest update. seeing good improvements.
Though one issue I'm see is to do with the A prefix.. I had similar issues a while back, but they resolved..
Anyways this time I've pulled a fresh copy of the sample project and when I compile the output of the MyActor.h has
#include "AMyActor.h on line 18

I'm currently working around this by manually removing the A
Are you seeing the same thing?

Yes! Sorry about this again! Literally just fixed this also with new commit. Apologies for all these issues that keep occurring whenever I make a bunch of changes,


URL is not assignable to parameter of type 'string'

Hi, deno-postgres.
I have used this driver sucessfully for some weeks, but after updating I have discovered an error:
TS2345 [ERROR]: Argument of type 'string | URL' is not assignable to parameter of type 'string'.
  Type 'URL' is not assignable to type 'string'.
  return new URL(url).pathname;
                 ~~~
    at https://deno.land/std@0.51.0/path/posix.ts:433:18

It appears on my computer even in very simple code:
import { Client } from "https://deno.land/x/postgres/mod.ts";

async function main() {
  const client = new Client({
    user: "me",
    database: "some",
    hostname: "localhost",
    password: "qwerty",
    port: 5432
  });
  await client.connect();
  const result = await client.query("SELECT * FROM users;");
  console.log(result.rows);
  await client.end();
}

How can I fix this? Thank You!

Type definition for URL constructor has been changed in 1.2.0 to align with TypeScript type definitions. We need to update deps.ts to use latest version of std/. Meanwhile you can downgrade Deno to 1.1.3 and it should still work.

Thank you for quick response!


Fix env vars marshalling of time

Today, a time.Time is marshalled into an env variable with a non-rfc3339 compliant string value.
Solution:

Custom marshaller with a custom time.Time type?

It should not too much work to fork https://github.com/Netflix/go-env, type check for time.Time and have format with RFC3339 instead of using the default time.Time String() method.
We then need to maintain this library, but its not big and has no dependencies. Might be easier than dealing with custom types for time and marshall methods for those.

I forked the env vars marshalling package and modified it to handle time.Time with RFC3339:
https://github.com/metno/go-env
@mpejcoch If this sounds ok, I will switch out the dependency now and we should have env vars  in the command formatted with RFC3339 support.

It's probably the best solution, what I wonder about is whether there is some process that would help us to get notified about patches upstream and propagate them both to our fork ( I assume that GitHub might have some tools for that) and to go-mms.

We can setup a Watch on issues and PR-s for that repo. Not sure if we can get notified for each commit? Or if we even want that.

No, not every commit. I was more wondering about major bugs or potential security issues.

I set a Watch on that repo for PR, releases and security alerts. Not sure if there more that can be done.


task(chat): embeds images inline in chat

Currently all attachments view in the "no preview available" view, instead videos and pictures should be rendered inline.

still valid


MediatR.Extensions.Microsoft.DependencyInjection version 8.0.1 does not reference MediatR version 8.0.2

Runtime exception is thrown Could not load file or assembly 'MediatR, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=bb9a41a5e8aaa7e2'. The system cannot find the file specified.  this is caused when Domain layer project have MediatR version 8.0.2 while application layer reference MediatR.Extensions.Microsoft.DependencyInjection version 8.0.1

@jbogard Any idea for this issue?

Can't you use the same version on both? Do you need different versions?

Can't you use the same version on both? Do you need different versions?

@joaomatossilva Sure can do which has no problem, issue is happening because of mismatching of dependencies in MediatR.Extensions.Microsoft.DependencyInjection

I think the best option here is to bump the versions.

I just released 8.1.0 which should fix things?

I just released 8.1.0 which should fix things?

Yes, it's working
Appreciate it.


Check balances of both accounts after transfering lamports

Made initial balances of both accounts large enough to be rent exempt.

The existing test actually shows the functional bounds (account must be empty or rent-exempt at the end of processing the transaction). Can we add your changes as a separate example/case instead?

Oh, I didn't realize that the test wants to demonstrate functional bounds.If the test wants to show accounts must be empty or rent-exempt at the end of processing the transaction, why is there no verification? I think at least we should verify that the account corresponding to the source_pubkey doesn't exist anymore.
I'm just wondering why there is no assert or assert_eq in a Rust test function... I'm new to Solana so this somewhat confuses me. And sure, I don't mind these changes to be in a separate example. Thanks

I think at least we should verify that the account corresponding to the source_pubkey doesn't exist anymore.

Well, I'm not sure the test was intended to demonstrate the bounds, but it does, and I think that has some value. If you'd like to add asserts on those accounts for existence/balance, I would support that, as well as a 2nd example using 2 rent-exempt accounts.

I think it's better to have the 2nd example to show the correctness after transferring lamports. And I also think it's better to assert the existence of both accounts in the current example. From my (as a newbie) perspective, these 2 improvements could help me get some basics of Solana quickly... Thanks :)


Fix for issue: #185

I'm able to reproduce the issue and able to see metrics with the fix.
Please review it. Thanks.

@Ganesh-Juniper looks good, please fix the DCO


application for casuallyblue.dev

I'd like to apply to have my website https://casuallyblue.dev added to the list.

Welcome to the Club! Your sub page will be https://250kb.club/casuallyblue-dev


jk bms with faulty temperature

seems that my bms doesn't show the temperature anymore and the code can't live without it, can this exception be handled correctly ?
2820408  ERROR (MainThread) [homeassistant.components.mqtt.models] Exception raised when updating state of sensor.280ah_temperatures_1, topic: '280ah/temperatures/1' with payload: b'nan'
2820664  Traceback (most recent call last):
2820838    File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 581, in state
2821143      numerical_value = int(value)
2821358                        ^^^^^^^^^^
2821609  ValueError: invalid literal for int() with base 10: 'nan'
2821770
2821930  The above exception was the direct cause of the following exception:
2822070
2822227  Traceback (most recent call last):
2822377    File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 270, in process_write_state_requests
2822561      entity.async_write_ha_state()
2822731    File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 590, in async_write_ha_state
2822955      self._async_write_ha_state()
2823190    File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 654, in _async_write_ha_state
2823352      state = self._stringify_state(available)
2823747              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2823925    File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 596, in _stringify_state
2824069      if (state := self.state) is None:
2824287                   ^^^^^^^^^^
2824431    File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 585, in state
2824590      raise ValueError(
2824798  ValueError: Sensor sensor.280ah_temperatures_1 has device class 'temperature', state class 'None' unit '°C' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-numeric value: 'nan' (<class 'str'>)#033[0m
2829282  #033[31m2023-06-30 19:20:31.825 ERROR (MainThread) [homeassistant.components.mqtt.models] Exception raised when updating state of sensor.280ah_temperatures_2, topic: '280ah/temperatures/2' with payload: b'nan'
2829514  Traceback (most recent call last):
2829671    File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 581, in state
2829829      numerical_value = int(value)
2829968                        ^^^^^^^^^^
2830110  ValueError: invalid literal for int() with base 10: 'nan'
2830263
2830477  The above exception was the direct cause of the following exception:
2830628
2830787  Traceback (most recent call last):
2830923    File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 270, in process_write_state_requests
2831063      entity.async_write_ha_state()
2831218    File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 590, in async_write_ha_state
2831372      self._async_write_ha_state()
2831557    File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 654, in _async_write_ha_state
2831741      state = self._stringify_state(available)
2831876              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2832027    File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 596, in _stringify_state
2832190      if (state := self.state) is None:
2832405                   ^^^^^^^^^^
2832673    File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 585, in state
2832849      raise ValueError(
2833073  ValueError: Sensor sensor.280ah_temperatures_2 has device class 'temperature', state class 'None' unit '°C' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-numeric value: 'nan' (<class 'str'>)#033[0m
 homeassistant addon_2af0a32d_batmon[1508]: 19:20:38 WARNING [bt] BMS JKBt(xx) disconnected after 41.7s!

I'll fix this with the next update

Fixed with 4ddc3348ead1c95a912f9b2c6c8e03a77ec7e07a , please wait for the next release and re-open if issue persists.


Feature Request: add a setting to keep, remove, or change Action text

This might be outside the scope of the module, but it would be great if there would be an option to keep or change the text of some of the actions.
I'd like to keep "Sheet" as it for example, and rename "Prototype Token" to just "Token".  It could clean up the sheet but still provide indication for some of the more useful actions.

Thanks for your feedback ! I think however this should be managed by a new module which change button text : this will be 100% compatible with this module.
However, despite this feature is easily doable for native foundry buttons, I can't think to a nice way to handle buttons added by other modules unless adding special code for each module.


Metrics Going but not appearing in metric index

What happened:
Setup a fresh install to test splunk k8s metrics.  Metric pods start etc and I see 200s in the logs but when I want to search my metrics I don't see anything
What you expected to happen:
I expect queries like | mcatalog values(metric_name) to have recent values and I expect my metric index to show that it's been updated recently.
How to reproduce it (as minimally and precisely as possible):
Create and AWS EKS Cluster 1.18
Use helm to install the metric collector
Anything else we need to know?:
I checked the '_internal' index and I see these errors being produced for all metrics entering my cluster
06-15-2021 21:49:02.194 +0000 ERROR JsonLineBreaker - JSON StreamId:0 had parsing error:Unexpected character while looking for value: 'm' - data_source="kube.container.logs.inodes_used", data_host="ip-10-239-175-26.us-west-2.compute.internal", data_sourcetype="_json"
Environment:

Kubernetes version (use kubectl version):

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.2", GitCommit:"faecb196815e248d3ecfb03c680a4507229c2a56", GitTreeState:"clean", BuildDate:"2021-01-14T05:14:17Z", GoVersion:"go1.15.6", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"18+", GitVersion:"v1.18.16-eks-7737de", GitCommit:"7737de131e58a68dda49cdd0ad821b4cb3665ae8", GitTreeState:"clean", BuildDate:"2021-03-10T21:33:25Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}

Ruby version (use ruby --version):

2021-06-15 21:43:03 +0000 [info]: gem 'fluentd' version '1.11.5'
2021-06-15 21:43:03 +0000 [info]: gem 'fluent-plugin-jq' version '0.5.1'
2021-06-15 21:43:03 +0000 [info]: gem 'fluent-plugin-kubernetes-metrics' version '1.1.5'
2021-06-15 21:43:03 +0000 [info]: gem 'fluent-plugin-kubernetes_metadata_filter' version '2.5.3'
2021-06-15 21:43:03 +0000 [info]: gem 'fluent-plugin-prometheus' version '1.8.5'
2021-06-15 21:43:03 +0000 [info]: gem 'fluent-plugin-record-modifier' version '2.1.0'
2021-06-15 21:43:03 +0000 [info]: gem 'fluent-plugin-splunk-hec' version '1.2.5'

OS (e.g: cat /etc/os-release):
Splunk version:

Saas 7.0.13

Splunk Connect for Kubernetes helm chart version:

Splunk Connect for Kubernetes 1.4.7 Release

Others:

values.yaml.txt

Hey @TechnicalMercenary,
From the information, it looks like everything seems fine from SCK. If there was any format issue, HEC collector would return Invalid data format error but that's not the case. So need some more information to look into this.
Are you using any add-on which may affect data ingested by SCK?

Closing the issue for now. Feel free to reopen the issue or create a new one if still facing the issue.


v0.4.0

no issue
Changelog:

bump got version to fix issues with image URLs containing unescaped chars
drop support for EOL Node.js 4.x and 6.x

Coverage remained the same at 100.0% when pulling 8e873ad846c829aacca05eb7f05c52a604d52100 on kevinansfield:v0.4.0 into fbb324aa3213de61f2f7d3121c2f2c8362d7f132 on jbhannah:master.


Fix typos. Fix link in license file

It seems to me an interesting tool for securing Redis. Good job.

Thanks!


Add Application Number to application

Issue:

https://github.com/bcgov/entity/issues/22636
https://github.com/bcgov/entity/issues/22897

Description of changes:
Added application_number to application table, Added function in migration to add application_number to existing records.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namex license (Apache 2.0).

/gcbrun

Temporary Url for review: https://strr-ui-dev--pr-142-7b8ts3pk.web.app

/gcbrun

Temporary Url for review: https://strr-ui-dev--pr-142-7b8ts3pk.web.app

/gcbrun

Temporary Url for review: https://strr-ui-dev--pr-142-7b8ts3pk.web.app

CodeCov is not currently working and according to Patrick Wei we can disregard that check for now.


[Bug] Assigning values to items in list or dictionaries raise inconsistent-assignment warning and unused-variable info

What happened?
Since Robot Framework 6.1, there's now Support item assignment with lists and dictionaries
So the following are now accepted:

List item related assignments:

${list} =    Create List    one    two    three    four
${list}[0] =    Set Variable    first
${list}[${1}] =    Set Variable    second
${list}[2:3] =    Evaluate    ['third']
${list}[-1] =    Set Variable    last

Dictionary item related assignments:

${DICTIONARY} =    Create Dictionary    first_name=unknown
${DICTIONARY}[first_name] =    Set Variable    John
${DICTIONARY}[last_name] =    Set Variable    Doe

What command/code did you try to run?
Executed robocop for static analysis
What is the full error message?

Warnings and Info for list item assignments:

[W] 0909 The assignment sign is not consistent within the file. Expected ' =' but got '[0] =' instead (inconsistent-assignment)
[I] 0920 Variable '${list}[0]' is assigned but not used (unused-variable)
[W] 0909 The assignment sign is not consistent within the file. Expected ' =' but got '[${1}] =' instead (inconsistent-assignment)
[I] 0920 Variable '${list}[${1}]' is assigned but not used (unused-variable)
[W] 0909 The assignment sign is not consistent within the file. Expected ' =' but got '[2:3] =' instead (inconsistent-assignment)
[I] 0920 Variable '${list}[2:3]' is assigned but not used (unused-variable)
[I] 0317 Use underscore in variable name '${list}[-1] =' instead of hyphens to avoid treating them like minus sign (hyphen-in-variable-name)
[W] 0909 The assignment sign is not consistent within the file. Expected ' =' but got '[-1] =' instead (inconsistent-assignment)
[I] 0920 Variable '${list}[-1]' is assigned but not used (unused-variable)

For the dictionary item assignments:

[W] 0909 The assignment sign is not consistent within the file. Expected ' =' but got '[first_name] =' instead (inconsistent-assignment)
[I] 0920 Variable '${DICTIONARY}[first_name]' is assigned but not used (unused-variable)
[W] 0909 The assignment sign is not consistent within the file. Expected ' =' but got '[last_name] =' instead (inconsistent-assignment)
[I] 0920 Variable '${DICTIONARY}[last_name]' is assigned but not used (unused-variable)

What did you expect to happen instead?
When using Robot Framework 6.1 it should be okay to assign values to items in lists or dictionaries.
Operating System
Tested on macOS
Robocop version
3.2.1

Thanks for the report and the information about the change in the Robot Framework. I will investigate it but it looks like something to be fixed in those 2 rules

Fixed and it will be part of the next release (4.0.0 in next 1-2 days).


fix(cfsauto): fix build time for cfsauto -V option

fix(cfsauto): fix build time for cfsauto -V option
for example:
go build -v -ldflags="-X main.buildVersion=1.1 -X 'main.buildDate=$(date '+%Y-%m-%d %H:%M:%S')'"
./cfsauto -V
# Version: 1.1, BuildDate: 2023-05-18 15:22:58

Please check the README.md file under autofs direction for more details.

Codecov Report

Merging #2000 (b1dcb63) into master (8dd10a7) will decrease coverage by 0.27%.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##           master    #2000      +/-   ##
==========================================
- Coverage   45.25%   44.99%   -0.27%
==========================================
  Files         472      446      -26
  Lines       84824    71793   -13031
==========================================
- Hits        38385    32301    -6084
+ Misses      43393    37255    -6138
+ Partials     3046     2237     -809

see 133 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Review how responses are indexed in the elasticsearch index.

Ref: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-nested-query.html

WONT APPLY


Documentation update to show permission requirements

Community Note

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

Hi,
Would it be possible to update the documentation to include the permissions required in Azure AD / subscription level for the TF module to successfully run end-to-end?  Let's assume a full deployment with hub/spoke included.
The reason I ask is that we're doing lots of ES deployments at the moment, and generally customers will give us GA/tenant root owner levels, but it's (understandably) becoming more common for customers to ask us for more granular permissions, be it for accounts or SPNs.  At the moment I'm unsure for an end-to-end deployment and I'm sure others have been asked similar questions.
Thanks

You should be able to view a preview of the proposed new page covering this issue here:
[User Guide] Module Permissions
Please let me know if that helps and whether you would like to see additional information.
As a quick additional note, we are avoiding going to the specifics of individual Actions due to the fact that we advise customers to use built-in roles wherever possible.

Thanks for this Kevin, much appreciate you putting the time in.


Add release workflow and prepare for 1.0.0

#131  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rbro112 and the rest of your teammates on  Graphite


Feature/iddiff get previous draft

Adds the ability to get the previous draft for iddiff
If the latest draft is the same as the submitted draft, get the previous draft for iddiff.

Codecov Report

Merging #48 (5239359) into main (0eff5c6) will increase coverage by 0.37%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #48      +/-   ##
==========================================
+ Coverage   85.05%   85.42%   +0.37%
==========================================
  Files           9        9
  Lines         582      597      +15
==========================================
+ Hits          495      510      +15
  Misses         87       87

Impacted Files
Coverage Δ

at/api.py
87.42% <100.00%> (+0.16%)
:arrow_up:

at/utils/file.py
100.00% <100.00%> (ø)

at/utils/iddiff.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Background color changing in Builder with certain basemaps in Style > CartoCSS view

Hello,
When using basemaps like Toner Hybrid or Toner Lines, the background color of the map is an off white color. This is the same color that remains on the published map.
The issue is that if you are using one of these basemaps and switch to Style > CartoCSS, the background color of the map changes to the same background color as the CartoCSS editor.
This is difficult for design purposes if the background of the map is not the same color as the published version when writing out CartoCSS.
Of course people may put a background of their own behind these basemaps, but I am working on a map where I want no background and only the Toner Lines linework.
Here is a demonstration of what is happening:

Oh!, that's a good one, that is basically due to the fact those tiles are transparent and there is no solid background behind. When we change to an advance mode (sql or cartocss editors for example) we apply that dark mode, and looks like the reason. cc @matallo @alonsogarciapablo

Good catch @makella! I guess this is something we should change in cartodb.js... Should we set it to white?

uhm 🤔 shall we really manage this in carto.js? this is specific to the frame those tiles are, I'd apply this change in the builder CSS itself

Yeah, it has to be managed in Carto.js @matallo, because how tiles/basemap layer is managed/styled/whatever should be defined there. Take into account if we decide to add the same dark frame in the embed page, the bug would appear due to we don't use anything from the Builder there, only Carto.js stuff.

Issue moved to CartoDB/cartodb.js #1424 via ZenHub


MBPP+ HF dataset generation

What is the script that you used to generate the MBPP+ dataset on HF hub (MBPP+: https://huggingface.co/datasets/evalplus/mbppplus)?

i'm curious about how you handled the inputs serialisation in the test column
could we have a version where the base/plus assertions are separated?

Thank you!

i'm curious about how you handled the inputs serialisation in the test column

Sure!
To serialize MBPP inputs: https://github.com/evalplus/evalplus/blob/ce6db8f3e168853e001a3e32398b15f66ca942b7/evalplus/data/mbpp.py#L34-L44
To deserialize MBPP inputs: https://github.com/evalplus/evalplus/blob/ce6db8f3e168853e001a3e32398b15f66ca942b7/evalplus/data/mbpp.py#L47

What is the script that you used to generate the MBPP+ dataset on HF hub

https://github.com/evalplus/evalplus/blob/master/tools/mbpp/to_original_fmt.py
Inputs are selected here: https://github.com/evalplus/evalplus/blob/master/tools/mbpp/to_original_fmt.py#L149
Let me know if you have more questions!

Thank you for all the insights. This is very helpful!

Hey @ganler , following up on that: it seems like these special cases, that are correctly handled in the evalplus codebase, were not handled when creating the HuggingFace file, which results in a mismatch between HF and evalplus:
https://github.com/evalplus/evalplus/blob/c4d5103de7fd5fc608a10a0bfb92e82bb618b17d/evalplus/eval/__init__.py#L142
For example with the task id Mbpp/164 with function "are_equivalent", the hugging face file has the following base test assert are_equivalent(23, 47) == True which is incorrect, while the code I linked above correctly fixes this.
Any chance we could fix this?


bug: If json is not valid/supported system should report an issue to the user before it proceeds

Bug Description

If the collection.json metadata has the same name for all it's assets, it passes metadata validation and batch copy is 'successful', but it only copies one file, the last one in the list of assets I believe. It would be better if it caught this issue early and reports the issue to the user.
How to Reproduce**

Do create a collection.json with assets that look like this:

    "assets": {
        "image": {
        "href": "s3://data-lake-test-bn/data_lake_test/tasman-rural-2003-1m-RGB/BN23_10000_0203.tif",
            "type": "image/vnd.stac.geotiff",
            "checksum:multihash": "122019f99c7784c29fe0c936079ea131f2e4ce9d3dcd05ed359f4461d39b4e2449f1"
        },
        "image": {
            "href": "s3://data-lake-test-bn/data_lake_test/tasman-rural-2003-1m-RGB/BN23_10000_0204.tif",
            "type": "image/vnd.stac.geotiff",
            "checksum:multihash": "12209c2703c3959cfd835c374a8fc894d1d9144232c2644afb9d908d5f8bfa757cd6"
        },
        "image": {
            "href": "s3://data-lake-test-bn/data_lake_test/tasman-rural-2003-1m-RGB/BN23_10000_0301.tif",
            "type": "image/vnd.stac.geotiff",
            "checksum:multihash": "1220f0a3aee42250ffe3f352c36a0426df333c8387a52b52f796638ecd5b8ee935e4"
        },
        "image": {
            "href": "s3://data-lake-test-bn/data_lake_test/tasman-rural-2003-1m-RGB/BN23_10000_0302.tif",
            "type": "image/vnd.stac.geotiff",
            "checksum:multihash": "12202eef3a16b666145680855c079fca9b3e4da525e526a5b2963fc4b99a86d5bd23"
        },
        "image": {
            "href": "s3://data-lake-test-bn/data_lake_test/tasman-rural-2003-1m-RGB/BN23_10000_0303.tif",
            "type": "image/vnd.stac.geotiff",
            "checksum:multihash": "12203a02367bbf48c701399a139823fb9550b23a74664b8d4a355910547066966e82"
        },
        "image": {
            "href": "s3://data-lake-test-bn/data_lake_test/tasman-rural-2003-1m-RGB/BN23_10000_0304.tif",
            "type": "image/vnd.stac.geotiff",
            "checksum:multihash": "1220f38dd0330d3db853a41f0d6297deae041ac3f239be719f8b91aa571a94c86401"
        },
        "image": {
            "href": "s3://data-lake-test-bn/data_lake_test/tasman-rural-2003-1m-RGB/BN23_10000_0401.tif",
            "type": "image/vnd.stac.geotiff",
            "checksum:multihash": "1220eb7db49b3b73489e3fe194bcb043fa6af0dbdc84c00faf55cf04526b34b9eb6a"
        },
        "image": {
            "href": "s3://data-lake-test-bn/data_lake_test/tasman-rural-2003-1m-RGB/BN23_10000_0402.tif",
            "type": "image/vnd.stac.geotiff",
            "checksum:multihash": "122028ec463c6ba8bfaeddc06dacd369805541c4201f8eac858eba3907d32cb53c15"
        },
        "image": {
            "href": "s3://data-lake-test-bn/data_lake_test/tasman-rural-2003-1m-RGB/BN23_10000_0403.tif",
            "type": "image/vnd.stac.geotiff",
            "checksum:multihash": "122075a6de1683ba7e0f31379bf6663ec9dd18a1145a5861df3cbd0d0d442834ef8f"
        }
    }

Run import new dataset version
No errors, but only "s3://data-lake-test-bn/data_lake_test/tasman-rural-2003-1m-RGB/BN23_10000_0403.tif" is copied

Then:

Do create a collection.json with assets that look like this:

    "assets": {
        "image01": {
        "href": "s3://data-lake-test-bn/data_lake_test/tasman-rural-2003-1m-RGB/BN23_10000_0203.tif",
            "type": "image/vnd.stac.geotiff",
            "checksum:multihash": "122019f99c7784c29fe0c936079ea131f2e4ce9d3dcd05ed359f4461d39b4e2449f1"
        },
        "image02": {
            "href": "s3://data-lake-test-bn/data_lake_test/tasman-rural-2003-1m-RGB/BN23_10000_0204.tif",
            "type": "image/vnd.stac.geotiff",
            "checksum:multihash": "12209c2703c3959cfd835c374a8fc894d1d9144232c2644afb9d908d5f8bfa757cd6"
        },
        "image03": {
            "href": "s3://data-lake-test-bn/data_lake_test/tasman-rural-2003-1m-RGB/BN23_10000_0301.tif",
            "type": "image/vnd.stac.geotiff",
            "checksum:multihash": "1220f0a3aee42250ffe3f352c36a0426df333c8387a52b52f796638ecd5b8ee935e4"
        },
        "image04": {
            "href": "s3://data-lake-test-bn/data_lake_test/tasman-rural-2003-1m-RGB/BN23_10000_0302.tif",
            "type": "image/vnd.stac.geotiff",
            "checksum:multihash": "12202eef3a16b666145680855c079fca9b3e4da525e526a5b2963fc4b99a86d5bd23"
        },
        "image05": {
            "href": "s3://data-lake-test-bn/data_lake_test/tasman-rural-2003-1m-RGB/BN23_10000_0303.tif",
            "type": "image/vnd.stac.geotiff",
            "checksum:multihash": "12203a02367bbf48c701399a139823fb9550b23a74664b8d4a355910547066966e82"
        },
        "image06": {
            "href": "s3://data-lake-test-bn/data_lake_test/tasman-rural-2003-1m-RGB/BN23_10000_0304.tif",
            "type": "image/vnd.stac.geotiff",
            "checksum:multihash": "1220f38dd0330d3db853a41f0d6297deae041ac3f239be719f8b91aa571a94c86401"
        },
        "image07": {
            "href": "s3://data-lake-test-bn/data_lake_test/tasman-rural-2003-1m-RGB/BN23_10000_0401.tif",
            "type": "image/vnd.stac.geotiff",
            "checksum:multihash": "1220eb7db49b3b73489e3fe194bcb043fa6af0dbdc84c00faf55cf04526b34b9eb6a"
        },
        "image08": {
            "href": "s3://data-lake-test-bn/data_lake_test/tasman-rural-2003-1m-RGB/BN23_10000_0402.tif",
            "type": "image/vnd.stac.geotiff",
            "checksum:multihash": "122028ec463c6ba8bfaeddc06dacd369805541c4201f8eac858eba3907d32cb53c15"
        },
        "image09": {
            "href": "s3://data-lake-test-bn/data_lake_test/tasman-rural-2003-1m-RGB/BN23_10000_0403.tif",
            "type": "image/vnd.stac.geotiff",
            "checksum:multihash": "122075a6de1683ba7e0f31379bf6663ec9dd18a1145a5861df3cbd0d0d442834ef8f"
        }
    }

Run import new dataset version
No errors and alll files are copied

Software and OS versions

OS: Ubuntu VM on Mac
Environment: LINZ network
Relevant Software Versions: Nonprod 24/03/2021

Additional context

For technical reasons I don't think this should be considered a bug in our code, but rather unsupported JSON. The standard "does not require that name strings be unique", but there is no equivalent data structure in most languages, including Python. That is, in Python it is not possible to have a dict with duplicate keys.

Understood. I'll remove the bug label.
I've also noticed that if I forgot a comma somewhere in a dict object then it fails but doesn't report any useful error back.
So maybe we need a step to valdiate that it is 'supported' JSON first and report back any issues. it is possible that users may edit json with a text editor so we will probably need this. ALthough this isn't urgent I don't think.

I'm not sure if the Python JSON parser will make that easy, but we can certainly try to detect things like this.
Could you please include the relevant snippet with the missing comma, because I'm not sure what is going on there.

Need to check if python JSON parser or STAC parser can catch this.
Could use a python3 custom decoder?

I've created a separate issue for the original problem of duplicate asset names. Providing useful feedback on more critical JSON errors is going to require a bit of separate work.

Could you please include the relevant snippet with the missing comma, because I'm not sure what is going on there.

Should I raise another issue for this @l0b0 ?

No, that's alright, the last PR addresses this by just reporting any JSON parsing errors verbatim.


bug: support reactivity in vue components

Your Environment
FYI => Stackblitz

Operating System: Linux
Node Version:     v18.18.0
Nuxt Version:     3.11.2
CLI Version:      3.11.1
Nitro Version:    2.9.6
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      ssr, devtools, components, build, modules, vite
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://stackblitz.com/edit/nuxt-starter-q1yjjm?file=machines%2Fsnackbar.ts,app.vue,components%2FSomeSnackbarComponent.vue
Describe the bug

Just create any machine
Read machine context from any page or App.vue
Read machine context from any vue component anywhere

What notices is that machine context is reactive in pages only
Additional context
No response

Here's what I think is happening in the example you provided:
Machine (the object you defined in the file) you defined gets auto-imported by nuxt and afterwards you use useMachine composable provided by XState. If you check API description for this composable it says A Vue composition function that interprets the given machine and starts a service that runs for the lifetime of the component. Since both page and component are both valid vue components and have lifecycle hooks as such, XState plugs into each one individually and independently - effectively creating 2 instances of the machine from the same starting template object.
I'm closing this as this both desired (for consistency) and described (in the API reference) behavior.

However, having in mind Nuxt has lot's of useful cache-first composables like useAsyncData I think it would make sense to consider adding something similar here where machines will be cached and available from different sources. If that's something you think will solve your use-case, please consider opening a feature request :)

Aha! that explains why we should stick to use all the machine helpers in the same component!
I agreed on that since this is how the useMachine was designed. I think that instead of caching, we
could use the machine in a page and nest the dependent components with a parent-child data flow pattern
for the sake of simplicity.
On the other hand, I will try using Nuxt cache-first composables and see, However, I guess I need to make a granular control over the behaviors using some testing approaches.
Thanks for the heads up, I did learn something valuable in here!


chore: update system status boxes

Summary | Résumé
Break system status boxes out into individual components.
Added download but not confirmed state

@anikbrazeau the string are now in your PR
https://github.com/cds-snc/platform-forms-client/pull/4676/files#r1852321306


ImportError: cannot import name 'deform_conv_cuda'

When I run:  python video.py, errors occured. ImportError: cannot import name 'deform_conv_cuda'
Someone suggest reinstall pytorch==1.0.1,
I try but it dosen't work. @lxy5513 Do you have any  suggestion?
error displays as below:
/home/jiapy/virtualEnv/py3torch4HRNet/bin/python3.6 /home/jiapy/workspace/hrnet/pose_estimation/video.py -i ./right-2-out.mp4 -o /output/output.mp4 --display
/home/jiapy/virtualEnv/py3torch4HRNet/lib/python3.6/site-packages/IPython/core/interactiveshell.py:931: UserWarning: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.
warn("Attempting to work in a virtualenv. If you encounter problems, please "
Traceback (most recent call last):
File "/home/jiapy/workspace/hrnet/pose_estimation/video.py", line 29, in
from lib.detector.mmdetection.high_api import human_boxes_get as mm_det
File "/home/jiapy/workspace/hrnet/lib/detector/mmdetection/high_api.py", line 8, in
from mmdet.models import build_detector
File "/home/jiapy/workspace/hrnet/lib/detector/mmdetection/mmd/mmdet/models/init.py", line 1, in
from .backbones import *  # noqa: F401,F403
File "/home/jiapy/workspace/hrnet/lib/detector/mmdetection/mmd/mmdet/models/backbones/init.py", line 1, in
from .resnet import ResNet, make_res_layer
File "/home/jiapy/workspace/hrnet/lib/detector/mmdetection/mmd/mmdet/models/backbones/resnet.py", line 9, in
from mmdet.ops import DeformConv, ModulatedDeformConv
File "/home/jiapy/workspace/hrnet/lib/detector/mmdetection/mmd/mmdet/ops/init.py", line 1, in
from .dcn import (DeformConv, DeformConvPack, ModulatedDeformConv,
File "/home/jiapy/workspace/hrnet/lib/detector/mmdetection/mmd/mmdet/ops/dcn/init.py", line 1, in
from .functions.deform_conv import deform_conv, modulated_deform_conv
File "/home/jiapy/workspace/hrnet/lib/detector/mmdetection/mmd/mmdet/ops/dcn/functions/deform_conv.py", line 5, in
from .. import deform_conv_cuda
ImportError: cannot import name 'deform_conv_cuda'
If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at<EMAIL_ADDRESS>You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
%config Application.verbose_crash=True

When I run: python video.py, errors occured. ImportError: cannot import name 'deform_conv_cuda'
Someone suggest reinstall pytorch==1.0.1,
I try but it dosen't work. @lxy5513 Do you have any suggestion?
error displays as below:
/home/jiapy/virtualEnv/py3torch4HRNet/bin/python3.6 /home/jiapy/workspace/hrnet/pose_estimation/video.py -i ./right-2-out.mp4 -o /output/output.mp4 --display
/home/jiapy/virtualEnv/py3torch4HRNet/lib/python3.6/site-packages/IPython/core/interactiveshell.py:931: UserWarning: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.
warn("Attempting to work in a virtualenv. If you encounter problems, please "
Traceback (most recent call last):
File "/home/jiapy/workspace/hrnet/pose_estimation/video.py", line 29, in
from lib.detector.mmdetection.high_api import human_boxes_get as mm_det
File "/home/jiapy/workspace/hrnet/lib/detector/mmdetection/high_api.py", line 8, in
from mmdet.models import build_detector
File "/home/jiapy/workspace/hrnet/lib/detector/mmdetection/mmd/mmdet/models/init.py", line 1, in
from .backbones import * # noqa: F401,F403
File "/home/jiapy/workspace/hrnet/lib/detector/mmdetection/mmd/mmdet/models/backbones/init.py", line 1, in
from .resnet import ResNet, make_res_layer
File "/home/jiapy/workspace/hrnet/lib/detector/mmdetection/mmd/mmdet/models/backbones/resnet.py", line 9, in
from mmdet.ops import DeformConv, ModulatedDeformConv
File "/home/jiapy/workspace/hrnet/lib/detector/mmdetection/mmd/mmdet/ops/init.py", line 1, in
from .dcn import (DeformConv, DeformConvPack, ModulatedDeformConv,
File "/home/jiapy/workspace/hrnet/lib/detector/mmdetection/mmd/mmdet/ops/dcn/init.py", line 1, in
from .functions.deform_conv import deform_conv, modulated_deform_conv
File "/home/jiapy/workspace/hrnet/lib/detector/mmdetection/mmd/mmdet/ops/dcn/functions/deform_conv.py", line 5, in from .. import deform_conv_cuda ImportError: cannot import name 'deform_conv_cuda'
If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at<EMAIL_ADDRESS>You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
%config Application.verbose_crash=True

you can reference http://blog.leanote.com/post/liuliu408/5.


{cern,drop}box integration

Can we make containers that automatically/easily mount {cern,drop}box in addition to the repository?
Gives people a way to store their edits somewhere in case they don't want to push them back to the original repo. Or maybe put plots/results into {cern,drop}box instead of making them public.

The docker image built by https://github.com/betatim/everware-cern-analysis has support for access to CERNBox.


Readme Install Instructions Correction

Quick fix: The nbmolviz path shouldn't be there in the dev install instructions, right?  setup.py is in the root folder, so the following command needs to happen in the root folder.

@avirshup for quick review

Whoops, nice catch - thanks!


SafeAreaView doesn't respect padding property in style

Environment
React Native Environment Info:
    System:
      OS: macOS 10.14
      CPU: x64 Intel(R) Core(TM) i5-4258U CPU @ 2.40GHz
      Memory: 34.00 MB / 8.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 9.7.1 - ~/.nvm/versions/node/v9.7.1/bin/node
      Yarn: 1.2.1 - /usr/local/bin/yarn
      npm: 6.4.1 - ~/.nvm/versions/node/v9.7.1/bin/npm
      Watchman: 4.7.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
      Android SDK:
        Build Tools: 21.1.2, 22.0.1, 23.0.1, 23.0.3, 25.0.0, 25.0.2, 26.0.1, 26.0.2, 27.0.1, 27.0.3, 28.0.2, 28.0.3
        API Levels: 17, 18, 19, 22, 23, 25, 26, 27, 28
    IDEs:
      Android Studio: 3.2 AI-181.55<IP_ADDRESS>56338
      Xcode: 10.0/10A254a - /usr/bin/xcodebuild
    npmPackages:
      react: 16.6.0 => 16.6.0
      react-native: ^0.57.3 => 0.57.3
    npmGlobalPackages:
      react-native-cli: 2.0.1

Description
Applying padding to SafeAreaView's style doesn't work.
Reproducible Demo
https://snack.expo.io/@danielmartin/c2FmZW

renders nested content and automatically applies paddings

Seems like intended behaviour from the docs. Try adding padding to your view inside the SafeAreaView instead.

Thanks for the response, @bartolkaruza. I was wondering if it would be better if the padding applied by the consumer was added to the safe area one, instead of being overwritten. Thinking about it, the way the SafeAreaView component achieves its behaviour is more an implementation detail.

If the padding is added to the already in place padding that the SafeAreaView adds automatically, the next opened issue will be from someone asking why the padding value is not exactly the number of pixels specified by the style. Maybe someone would expect to be able to override the padding by using the padding style for some cases, which wouldn't work... Are the complexity and additional discussion worth it when the solution is putting in a containing view on which you can apply all the styles you want?
Perhaps a note in the docs specifying more clearly that the padding style property is ignored would save the next person some time? Maybe a warning message could take it even a step further. Feel free to open a PR for that if you have the time.

I wanted to share my thoughts regarding this because I found the current approach not ideal. I discussed this internally before creating the issue and people agreed with me that this was confusing.
If someone uses SafeAreaView I expect them to know that it will define new bounds and that all style properties applied to it would work in base to those new bounds (otherwise they would have used a View in the first place). The fact that internally SafeAreaView uses padding to accomplish this it's just, IMO, an implementation detail that shouldn't concern the consumer.
I thought the additional discussion was worth it and that's why I brought it up.
Adding a containing view is what we're doing now and it feels unnecessary, given that SafeAreaView already takes a View's style property. I also thought about the warning message, there are components out there that filter out forbidden properties and warn about their usage in dev mode, this could rise awareness about this particularity, but it wouldn't solve the underlying issue.
To add another argument, in native iOS you can create a constraint relative to the safeAreaLayoutGuide without having to create a containing view to do it.
I would love to find time to help improving this somehow, I just wanted to know what people think about it first!

Sorry but I'm a bit confused about this issue.
I have applied padding to a SafeAreaView component. In Android it works, in iOS it doesn't. What is the reason, and what is the solution?
Thanks.

@esr360 Until this issue is solved, you need to add another view inside the SafeAreaView and apply your padding there, because SafeAreaView uses the padding style prop to implement its behaviour, overriding the one you pass to it.

:(

Since this causes inconsistent behaviour between iOS and Android, I don't think that adding a simple message in the doc is enough, as it will falsely indicate that this behaviour is the same on Android & iOS. Whether the user provided paddings are applied or not, the behaviour atleast needs to be consistent across all OSes.

Wouldn't a contentContainerStyle prop be appropriate, to be consistent with KeyboardAvoidingView?

confusing behavior. could be improved as suggested

It took me a while yesterday to figure out why my padding wasn't working.  Looked at the docs and saw SafeAreaView inherits View properties so I got even more confused.  I would think add the padding to the calculated padding as suggested, or don't allow SafeAreaView to take in a style to remove the confusion.

@gavin-gyle good point on blocking it from taking in a style. That would just require an update to StyleSheet

Still doesn't work. easily fixable with view inside. Slight confusion though. a note in the docs could help.

SafeAreaView is currently only applicable to iOS devices, so on Android, I must add paddingTop to avoid Status Bar.
And paddingTop working on Android (but not in iOS), so I don't need to check Platform to set padding. I think add more View inside SafeAreaView to set padding is acceptable.
It's better if SafeAreaView working on both iOS & Android.

If people here are still following this discussion, you may be interested into reading my opinion and possible solution here:
https://github.com/react-native-community/discussions-and-proposals/issues/275
Briefly, the solution would be to extract the functionality provided by SafeAreaView into an API, and maybe, integrating this API with the StyleSheet API.

this is still an issue on lastest stable version 0.63.4

Still

as a beginner to RN I found SafeAreaView styling non-intuitive

Don't make it stale, bot! Still a problem.

is it true that using SafeAreaView in android with Flatlist as its child will cause onEndReached prop to not fire? I am currently having this problem.

It doesn't cause any issue. Make sure your flatlist parent component is not scrollview, if not try using onEndReachedThreshold prop to value 0 in iOS or 0.5 in Android. This shall work.

It at least should be similar to KeyboardAvoidingView, with a contentContainerStyle prop. So weird needing to add another view just for padding

Any solution?

use https://github.com/th3rdwave/react-native-safe-area-context, it has a hook api and you can change the mode from padding to margin.

@esr360 Until this issue is solved, you need to add another view inside the SafeAreaView and apply your padding there, because SafeAreaView uses the padding style prop to implement its behaviour, overriding the one you pass to it.

this makes sense. @esr360 .....does it work with Android phones that have a notch too?

Maybe this issue should be closed. Because the padding problem is resolved by react-native-safe-area-context. Just a suggestion

I personally would like to have an option to override the padding. E.g.: I want the default vertical padding but I want to disable the horizontal padding.

Dont know about the perfect solution but once i have added another view on top of SafeAreaView and gave the style to that View. Problem gets solved but yeah its weird as it adds one extra node.

@07kushalsaini  margin will affect the background color unless you wrap it in another view which is not ideal.

Just stumbled across this issue myself what a strange waste of my time trying to figure out what I was doing wrong, only to be surprised.

sad to bump into this unfixed problem :(

6 years until now

My approach maybe will help you:

Create simple custom container

 <View style={{  paddingTop: Platform.OS === "android"
      ? Constants?.statusBarHeight + 10
      : Constants?.statusBarHeight,}}>
 ...you code
 </View>

I'm confused about what the expected behavior is for padding in a SafeAreaView. I landed here because I have 5 pages, each set up exactly the same with a SafeAreaView wrapping some Text and a ScrollView. Each page has the exact same layout and exact same styles (imported from a shared file). Four of the pages respect the padding, one does not, and I cannot figure out why.
I was able to get padding on that page by adding an extra View and putting the padding on it, but everything else gets messed up because the shared styles weren't designed for that extra layer of nesting. After reading the comments in this thread I'm thinking I'll need to redo all of the pages to have that extra View within the SafeAreaView, which seems silly.

This works for me!
Add a View inside SafeAreaView and provide styling separately, as shown below.
import { Platform, SafeAreaView, StyleSheet, View } from "react-native";
import { NavigationContainer } from "@react-navigation/native";
import HomeNavigator from "./App/Navigations/HomeNavigator";

export default function App() {
  return (
    <SafeAreaView style={styles.safeContainer}>
      <View style={styles.container}>
        <NavigationContainer>
          <HomeNavigator />
        </NavigationContainer>
      </View>
    </SafeAreaView>
  );
}

const styles = StyleSheet.create({
  safeContainer: {
    flex: 1,
    backgroundColor: "#fff",
  },
  container: {
    flex: 1,
    backgroundColor: "#fff",
    paddingTop: Platform.OS == "android" ? 20 : 0,
    paddingRight: 20,
    paddingLeft: 20,
  },
});

It's been 4.5 years since we merged the PR that added the link to this issue to the official docs (https://github.com/facebook/react-native-website/pull/1847).
I wanted to celebrate almost 5 years of getting notifications about this with my current solution to the problem: don't use SafeAreaView.
Unless you have a very simple app with basic routing (a hello world demo), you should go for flexibility and use useSafeAreaInsets from https://github.com/th3rdwave/react-native-safe-area-context (as mentioned by @a-eid and @magom001). It should help you avoid weird components wrapping when using tabs or drawers, background color issues and animation shenanigans.


MVP-7 Markdown Parsing

User Story
As a Blog Author, I want the ability to include markdown notation in my content so that I can provide our readers with an experience that is more visually pleasing.
Engineering Response
We will determine the minimum number of symbols required to be supported in the MVP release of our web system and use them to define requirements for the initial version of a markdown parsing engine.
Technical Breakout

Define minimum number of symbols to support
Implement markdown parsing engine
Update blog authoring documentation to include mention of supported Markdown symbols

Acceptance Criteria

Markdown parsing engine meets minimal requirements
Markdown parsing engine made available to blog authors

Markdown symbol requirements:

Embedded images
Headings of different sizes
Embedded emboldening and italicizing symbols
Embedded links

An initial markdown processing engine has been included. The class where this is included is called XMLEngine.php and the conversion from Markdown to HTML occurs in the function convertXMLBlogToHTML(). We still need to update code comments and the existing documentation for building blog posts.

The markdown processing engine succeeded in handling the first blog post released at www.christianwestbrook.dev.

Finished updating both source code comments and the README. Closing this issue as complete.


Suggestion: quick edit profile button

hi,
what about button(?) for quick editing active profile next to profile selection window
...not so important thing to do, but I think convenient for people who often tweaking allocations

What should this button do?

quick edit profile in default text editor under Windows? its just suggestion because I tweaking active allocation profile fairly often and traveling thru folder structure is slow :P


Add Sanitization of Track Version String

Up until this point, track names have been sanitized, removing illegal characters on Windows. This overlooked the track version substring, so this pull request adds sanitization of that

This pull request fixes #99


Jest throws SyntaxError after updating from 5.94.0 to 5.95.0

Bug report

What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.

We have a repo with Jest tests. The Jest config needs to specify transformIgnorePatterns to allow some third-party node modules to be transpiled, otherwise running Jest results in "Jest encountered an unexpected token" errors. This was working fine with webpack v5.94.0; however, after updating to v5.95.0, running Jest now results in errors like this:
Test suite failed to run

    Jest encountered an unexpected token

    Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.

    Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.

    By default "node_modules" folder is ignored by transformers.

    Here's what you can do:
     • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
     • If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
     • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
     • If you need a custom transformation specify a "transform" option in your config.
     • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

    You'll find more details and examples of these config options in the docs:
    https://jestjs.io/docs/configuration
    For information about custom transformations, see:
    https://jestjs.io/docs/code-transformation

    Details:

    /Users/me/my-app/node_modules/decamelize-keys/index.js:2
    import mapObject from 'map-obj';
    ^^^^^^

    SyntaxError: Cannot use import statement outside a module

I can't see anything else that changed that could have caused this – no other dependencies have been updated in my yarn.lock and rolling back to v5.94.0 makes the issue go away again, so it definitely seems to be linked to the webpack update.
What is the expected behavior?

Jest tests that built on the previous minor version should continue to build successfully after updating to the latest minor version.
Other relevant information:
webpack version:  5.95.0
Node.js version: 20.17.0
Operating System: macOS 14.4 (23E214)
Additional tools: N/A

Rolling back webpack locally caused tests to build again, but on CI they're still failing with the same error 😳 Closing this for now since it seems like this might not be due to webpack after all, sorry!