Http Client read timeout not set / cannot set said timeout without extending RedditClient. Without it application hangs.

Hello,
I encountered a bug where without read timeout set my application hangs on socketRead0. I could not set this timeout without extending your class, because OkHttpClient is not accessible from outside.

Have you tried RestClient.setTimeoutLength()?

This method provides only connection timeout length, not read timeout.

I think it would be a good idea to remove/deprecate setTimeoutLength() and provide a getOkHttpClient() method, which would allow you to configure the client directly. How do you feel about that?

It is fine by me. The question is how tightly do you want to couple your project with okhttp client.

In the next release you should be able to adjust the read timeout using reddit.getHttpAdapter().setReadTimeout(int).

What happened to getOkHttpClient()? With the new interceptors features, it would be great to be able to take advantage of that. A good use case would be with Facebook's new Stetho library, which plugs into it with its own interceptor: https://github.com/facebook/stetho
A good middleground would be to maybe expose this as part of HttpAdapter, but not sure if you want that to have anything specific to OkHttp.

getOkHttpClient() was removed in favor of getHttpAdapter() as it decouples JRAW from any specific HTTP library. The default implementation of HttpAdapter (OkHttpAdapter) still uses OkHttp, but the the interface is written in such a way that HttpAdapters could be made for HttpComponents or some other library without an API change.
If you wanted to bring a method like getOkHttpClient() back, I would suggest introducing generics to HttpAdapter:
public interface HttpAdapter<T> {
    // <other methods here>
    public T getNativeClient();
}

So then HttpAdapter could be declared like this:
public class OkHttpAdapter extends HttpAdapter<OkHttpClient>

That seems reasonable to me. Would you be open to a pull request for that?


refactor: make plugin more easier to maintain

close: #26
here I create a new module called: luai(lua interface)
we can define many thing with the lua world in this module.
the thing I first made is a transformer, which can transform golang struct to lua table(most cases, but you still can use it transform golang int to lua number)
and I try made a new struct called LuaVM, which will simplify our opreations when interact with the lua world

though the encode and decode file is so complex, but we can add many test cases to ensure its correctness, and we can contribute this encode module into gopher-lua community.

some code in decode.go is copied from go source
https://cs.opensource.google/go/go/+/master:src/encoding/json/decode.go;l=612;drc=5e387b2feee87b7d8d5cc81e7cb08603b3e9cd6a;bpv=0;bpt=1
later I will see should we add some license for that or I will remove most of them and write by my own

Amazing, I will start reviewing this change tomorrow, what a big change. Hahaha

Yes, I know that, this pr just add a basic logger, in order to see the debug info when I write the encoding code.


Add CustomEvent class declaration

Adds the CustomEvent class

ping @samwgoldman; this is simple and should be good to merge.

@facebook-github-bot import

Thanks for importing. If you are an FB employee go to Phabricator to review.


add rupay network

Conflicts were checked on the following sites:

https://www.bincodes.com/
https://www.bindb.com/

Thank you :+1: Cherry-picked into master, you can safely delete your branch.


Added Uyghur (ug) language.

Summary:

Added Uyghur (ug) language support to Django.

Changes:

Introduced Uyghur in the list of supported languages.
Added Uyghur(ug) to the list of BiDi languages.
Added date and time formats specific to the Uyghur language.
Added "Uyghur" to the documentation's spelling wordlist.
Added Uyghur language support entry to 5.0 release notes.

Testing:

Successfully executed Django's test suite locally.
Initialized a Django project using the local version of Django encompassing these changes. Verified that it reflects Uyghur-specific localizations.

Please review and let me know if any adjustments are required. Thank you for considering this addition!

@azataiot Thanks 👍 Please add a release note (5.0.txt).

Added with https://github.com/django/django/pull/17163/commits/1b97b2dab1ce12601d15b0bf1448241599aaa2d4

@azataiot Thanks :+1: Welcome aboard :boat:


Container.width calculated incorrectly when children contains a TilingSprite

In this pen, TilingSprites are horizontally positioned by a static value, followed by a similar set of TilingSprites being positioned by their container's width.
The two images should be identical, however differ due to tileContainer.width calculation being wrong for tiling sprites.

A third image using Sprite is then added (and scaled to the same size as the TilingSprite), showing correct calculation of spriteContainer.width.

Nice one @staff0rd ! Thanks for reporting the bug and providing the example too! Will let you know when this has been addressed 👍

Fixed in latest


Installation script.

Hey! was just wondering if you can make a installation script for this. And if I need all of this like you have shared in the screen shots then will I need to manually move everything to my .config directory after cloning the repository. Right?
(I am new to the ricing area and wanted to try and rice my desktop.)

Okay thanks


Lacking documentation

How does this node work?
Which devices are supported? Is RM 3 Mini supported?

Присоединяюсь к вопросу по поводу работы с RM 3 Mini

I have the RM Mini 3 working with this code base. Have added a readme.md and other English translations with the pull request.
See here: https://github.com/mlfunston/node-red-contrib-broadlink/blob/master/README.md
It was a bit complicated and a number of steps to go through, but I can now send commands to my air conditioner and other devices.

On running the NPM I failed to get the nodes displayed and also got warnings from the putty terminal. Do I need to edit a file with my unit's MAC address and wifi details or similar? As I am fairly inexperienced I am sure the problem is of my own making. Any assistance someone may be willing to provide will be most gratefully received.


Publish crate 0.7.1

You released a new version on github, but the crate was not published (cargo / crates.io). Would it be possible to publish 0.7.1?

Hi @c2bo , thank you for reporting the issue.
Published: https://crates.io/crates/sd-jwt-rs/0.7.1

Thanks!


feat: More useful share button on NFT purchase modal

PR Type

[ ] Bugfix
[x] Feature
[ ] Refactoring

Context

[x] Closes #8378

Did your issue had any of the "$" label on it?

[x] Fill up your DOT address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot 📸

[x] My fix has changed something on UI;

https://github.com/kodadot/nft-gallery/assets/44554284/6135e392-7219-4a13-936f-f6ca2e2f4f6f
Copilot Summary
copilot:summary
copilot:poem

@exezbcz is it normal that we added border-radius on this notification modal?

@exezbcz is it normal that we added border-radius on this notification modal?

Hey hey, thanks for the tag
Nope, should remain sharp

sharp ✨

@exezbcz should it be sharp for all neo

Nope, should remain sharp

everywhere or only this notification , neomessage component had a border-radius: 0.25rem;

i think mobile needs some love ❤, can you check @hassnian ?
https://github.com/kodadot/nft-gallery/assets/36627808/732c27d8-a175-4033-af2a-2db47e63af51
i cannot be sure if the UI its buggy like the video because i could not ctrl+f5 when switching to mobile view, it always gives me keypair known error, not related i know.
When i tried on chrome i faced some lagging, responsivity issues.

i think mobile needs some love ❤

let's make it in follow up, merging for release
Thanks!
pay 30 usd

😍 Perfect, I’ve sent the payout
💵 $30 @ 8.65 USD/DOT ~ 3.468 $DOT
🧗 13QUj3pZyFNfYj4AM336hRdyLQbevj5H3sR4PKmLEXLdwZhh
🔗 0x9c28e2ac60b87c3c38e5d42065f73c134b9c7d8551ae476fe78825aefabebc6c
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


add jindo sdk doc for hive

sdk configuration for Hive

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Errors when loading Mastermap Topography into SQL Server

I'm trying to use Astun Loader to import Mastermap Topography into SQL Server. When I run it I get the following output:
C:\OS Mastermap Topo\AstunLoader\python\loader.py:138: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if exit_status is not 0:
C:\OS Mastermap Topo\AstunLoader\python\loader.py:156: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if exit_status is not 0:
C:\OS Mastermap Topo\AstunLoader\python\loader.py:168: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if exit_status is not 0:
C:\OS Mastermap Topo\AstunLoader\python\loader.py:186: DeprecationWarning: 'U' mode is deprecated
  with open(config_file, 'rU') as f:
Processing: E:/MMTopo raw/tmp\5823014-NT6000.gz
Loading: E:/MMTopo raw/tmp\5823014-NT6000.gz
Traceback (most recent call last):
  File "C:\OS Mastermap Topo\AstunLoader\python\loader.py", line 211, in <module>
    main()
  File "C:\OS Mastermap Topo\AstunLoader\python\loader.py", line 200, in main
    loader.run(config)
  File "C:\OS Mastermap Topo\AstunLoader\python\loader.py", line 60, in run
    self.load()
  File "C:\OS Mastermap Topo\AstunLoader\python\loader.py", line 112, in load
    if self.load_file(root, file_name):
  File "C:\OS Mastermap Topo\AstunLoader\python\loader.py", line 155, in load_file
    exit_status = subprocess.call(ogr_args, stderr=sys.stderr)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1520.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 345, in call
    with Popen(*popenargs, **kwargs) as p:
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1520.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 969, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1520.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1438, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

Could anyone advise what may be wrong please?
Thanks
Rob

Hi Rob, The warnings can be ignored, we should update Loader to avoid them in future but they shouldn't affect the operation.
I've struggled to find a reasonable explanation for the actual error you're seeing. A couple of things to try one at a time:

Make sure the current working directory is the python folder of your copy of Loader before running Loader (cd /d "C:\OS Mastermap Topo\AstunLoader\python\")
Try removing spaces from your src_dir, out_dir and tmp_dir paths (both the folder names and in your loader.config
It's possibly an issue with Python installed from the Windows App Store, see the last comment on this SO question

Matt
Thanks for your help. I removed the spaces from the directory names and reinstall python directly. I also modified line 155 in loader.py to add shell=True to subprocess.call(ogr_args, stderr=sys.stderr),
It now loads some of the data successfully into SQL Server but it is blanking several of the fields due to the error:
 Warning 1: The output driver does not natively support StringList type for field theme. Misconversion can happen. -mapFieldType can be used to control field type conversion.
Warning 6: Can't create field theme with type StringList on MSSQL layers.  Creating as varchar.
ERROR 1: INSERT command for new feature failed. [22001][Microsoft][ODBC Driver 17 for SQL Server][SQL Server]String or binary data would be truncated.(8152), [01000][Microsoft][ODBC Driver 17 for SQL Server][SQL Server]The statement has been terminated.(3621)

I've tried adding -fieldTypeToString StringList to the ogr command but I still get the latter of those errors.
Any further help much appreciated.
Rob

@RobShaw77 fantastic 😋


Link Mayor's video on homepage

https://youtu.be/vA3X1WK_F7o
Add playbutton overlay to city of long beach image so when you click, it popups the video

And do we have a particular deadline on this story?

Hey Mark, We just got a request to put this up this week. Is that manageable?

More spec needed first. See questions above.


autocomplete.ModelSelect2 does not work, there is no any choice for it

I am sorry to ask help from you , that is I want to use  django-autocomplete-light for the foreign key in the form. But it returns me the error as follows:
select2.js:25 Uncaught TypeError: $(...).select2 is not a function(anonymous function) @ select2.js:25jQuery.event.dispatch @ jquery.js:4435elemData.handle @ jquery.js:4121jQuery.event.trigger @ jquery.js:4350(anonymous function) @ jquery.js:4901jQuery.extend.each @ jquery.js:374jQuery.fn.jQuery.each @ jquery.js:139jQuery.fn.extend.trigger @ jquery.js:4900initialize @ autocomplete.init.js:45jQuery.extend.each @ jquery.js:374jQuery.fn.jQuery.each @ jquery.js:139(anonymous function) @ autocomplete.init.js:50fire @ jquery.js:3099self.fireWith @ jquery.js:3211jQuery.extend.ready @ jquery.js:3417completed @ jquery.js:3433
With the help of this

link:http://stackoverflow.com/questions/37143571/django-autocomplete-light-not-working-select2-is-not-a-function/38719460#38719460

I  rearranged the INSTALLED_APPS in the settings.py  as follows:
INSTALLED_APPS = [ 'admin_bootstrapped_plus', 'django_admin_bootstrapped', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'dal', 'dal_select2', "webui", "membership", "hotel", "transaction", 'django.contrib.admin', "gunicorn", ]
But the error is also there.
According to this link:

http://stackoverflow.com/questions/20034522/select2-is-not-a-function

the error raises if your js files where you have bounded the select2 with select box is loading before select2 js files. Please make sure files should be in this order like:Jquery, select2 js, your js.
But I do not know how to reorder them.

It's in your template.

Hi ! Did you figure it out ? Moved on ?

Ｉam sorry that I already forget this problem and use other technology solve it

Awesome, thanks for the info !

I have this problem with Django 1.10.1 and default admin. After upgrade Django to 1.10.3  problem disappeared.


chore(deps): update module github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper to v1.10.1

This PR contains the following updates:

Package
Type
Update
Change

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
minor
v1.8.8 -> v1.10.1

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper
v1.10.1
Compare Source
Bug Fixes

deps: update gomod (#556) (f9691fe)

v1.10.0
Compare Source
Features

add common function to generate test SSH keypair (#551) (c7cf345)

v1.9.2
Compare Source
Bug Fixes

deps: update gomod (#549) (5689c4c)

v1.9.1
Compare Source
Bug Fixes

deps: update gomod (#547) (d8c479a)

v1.9.0
Compare Source
Features

output human-readable change log when the consistency test fails (#544) (2ff81e4)

v1.8.11
Compare Source
Bug Fixes

deps: update module github.com/gruntwork-io/terratest to v0.41.23 (#543) (a6dc684)

v1.8.10
Compare Source
Bug Fixes

deps: update gomod (#534) (e9bace0)

v1.8.9
Compare Source
Bug Fixes

deps: update module github.com/ibm/platform-services-go-sdk to v0.36.0 (#528) (f4a94b5)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

:tada: This PR is included in version 1.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


question about months name

Hi,
This is not an issue.
I have a question:
What is the use cases of
extend(getPrototypeOf(moment.localeData()),
    { _jMonths: [ "Farvardin"
        , "Ordibehesht"
        , "Khordaad"
        , "Tir"

Because of an issue in angular material 2 datepicker,  if your library could set months name in the above code just to Persian names as moment's locale data, it may help on mentioned issue.
Thanks again.

Hi,
What is the problem with the following code?
moment.locale('fa').format('jMMMM');

As you helped me with this nice and concise function of returning weekDayNames:
    getDayOfWeekNames(style: 'long' | 'short' | 'narrow'): string[] {
        switch (style) {
            case 'long':
                return jmoment().localeData().weekdays().slice(0);
            case 'short':
                return jmoment().localeData().weekdaysShort().slice(0);
            case 'narrow':
                return jmoment().localeData().weekdaysMin().slice(0);
        }
    }

Is there any similar way to returning months name?
I need a consistent way, by calling localeData()
return jmoment().localeData().months().slice(0);  // must return Persian names

Hi,
you could use the following code
moment().localeData()._jMonths.slice(0);
moment().localeData()._jMonthsShort.slice(0);
moment().locale('fa').localeData()._jMonths.slice(0);

no such functions or properties in typescript.
_jMonths is not available on localeData()

I will fix it in next version
but for now you can cast and use it
(moment().localeData() as any)._jMonths.slice(0);

Thank you very much. nice of you as always

how can i change the names of the months to Afghanistan's month? is there any way to achieve this functionality?

You can find it in the moment documents
https://www.tutorialspoint.com/momentjs/momentjs_customization_month_names.htm


Did someone push a rogue tag?

https://github.com/kubernetes/apimachinery/compare/v0.30.2...v0.30.3

@porthorian an automated bot generates tags in this repo based on staging directories in the main kubernetes repo, so you can cross verify if there are changes there.

https://github.com/kubernetes/kubernetes/tree/master/staging#external-repository-staging-area
https://github.com/kubernetes/apimachinery/commits/release-1.30


This is a solution to issue #343 .
time::Timespec is deprecated in time 0.2.0 and is currently used as the rust type associated with Cassandra's timestamp datatype. This is a possible implementation using time::PrimitiveDateTime.
This code builds and has great performance on a project of mine. PrimitiveDateTime has many features--including serialization--while maintaining a low profile. Consequently, I believe it would be extremely useful for many users, and may be a good choice of replacement.
However, because this pr eliminates Timespec, it is api breaking. If you have any other suggestions I can try something else out, but this is a possibility to start off with and explore.
Check out the docs for PrimitiveDateTime here to learn more about it.

the time crate also struct time::OffsetDateTime documented here. it may be more appropriate instead and worth checking out

Hello @jamesetaylor3,
First of all, thank you for a great PR! I think sooner or later we'll need to release a new major version because of this deprecation. So I'm about to merge your PR.
As for using OffsetDateTime instead, it's not necessary especially taking into account that we can use it along with time::PrimitiveDateTime. I don't think something blocks us here unless I'm missing something.

Hey @AlexPikalov.
Thank you very much! I completely agree. OffsetDateTime might not create extra value and instead add needless computer/programmer overhead. PrimitiveDateTime seems like the best choice, and the most useful.
It all looks good--thanks again!

Looks like this also needs to be backported to async-tokio branch.


WASM WebGL examples crash "wgpu error: Validation Error"

Bevy version
0.10.0 (or whichever version is currently used in the bevy WASM examples).
Relevant system information
Android 12 Chrome (v110.0) on pixel 3a, and android 13 Firefox (v110.1) on pixel 4a.
`AdapterInfo { name: "Adreno (TM) 615", vendor: 20803, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Gl }`

What you did
Opened the https://bevyengine.org/examples/3d/3d-scene/
What went wrong
The 3d scene does not load.
Additional information
I am not sure whether the error is in gfx-rs/naga or bevy's usage of it (through gfx-rs/wgpu). The string Assertion failed: false && "Unknown named pointer type or missing metadata" also appears in https://github.com/google/filament/issues/6355 .
My own bevy application that uses PbrBundles also had this problem in the WASM build. Then while looking for a cause I noticed that the example also does not run. Removing all PbrBundles or rolling back to bevy 0.9.1 both cause the error to disappear.
chrome on android console log:

3d_scene.js:368 INFO crates/bevy_winit/src/system.rs:51 Creating new window "Bevy App" (0v0)
3d_scene.js:368 INFO crates/bevy_render/src/renderer/mod.rs:128 AdapterInfo { name: "Adreno (TM) 615", vendor: 20803, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Gl }
3d_scene.js:1069 The AudioContext was not allowed to start.  It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
(anonymous) @ 3d_scene.js:1085
handleError @ 3d_scene.js:238
imports.wbg.__wbg_resume_72fe7cd3e68b861a @ 3d_scene.js:1084
$web_sys::features::gen_AudioContext::AudioContext::resume::h8f55082cd0d59b8d @ 0579948a:0xe75356
$<cpal::host::webaudio::Stream as cpal::traits::StreamTrait>::play::hd14c42327a9fc2bd @ 0579948a:0x7f20c3
$<cpal::platform::platform_impl::Stream as cpal::traits::StreamTrait>::play::h2cf8e833296a4838 @ 0579948a:0xeeda19
$rodio::stream::OutputStream::try_from_device_config::hcdb3f909034fc80a @ 0579948a:0x76cb83
$rodio::stream::OutputStream::try_default::h5128867b7c029c9b @ 0579948a:0x5478d9
$<T as bevy_ecs::world::FromWorld>::from_world::h407da30cb0f34772 @ 0579948a:0xa94164
$bevy_app::app::App::init_resource::h7afb885464a4de8c @ 0579948a:0x6a672f
$<bevy_audio::AudioPlugin as bevy_app::plugin::Plugin>::build::h7b56af866cce7f92 @ 0579948a:0xe71466
$bevy_app::app::App::add_boxed_plugin::h2210e446ce8b74b4 @ 0579948a:0x3a91fc
$bevy_app::plugin_group::PluginGroupBuilder::finish::hc518d27aa582e36e @ 0579948a:0x52fef9
$_3d_scene::main::hac1f03664ce5a2e6 @ 0579948a:0x2ff921
$std::sys_common::backtrace::__rust_begin_short_backtrace::h7d6950ad3cf8e90f @ 0579948a:0xeef88f
$std::rt::lang_start::{{closure}}::hbac199d3774bc2e9 @ 0579948a:0xe93865
$std::rt::lang_start_internal::h47a582f19b98cc9f @ 0579948a:0xc11383
$main @ 0579948a:0xe8c766
$__wbindgen_start @ 0579948a:0xee7564
finalizeInit @ 3d_scene.js:1847
init @ 3d_scene.js:1879
await in init (async)
(anonymous) @ (index):286
3d_scene.js:368 ERROR  Shader translation error for stage VERTEX | FRAGMENT | VERTEX_FRAGMENT: Assertion failed: false && "Unknown named pointer type or missing metadata"

I am also experiencing this issue. I can tell that it was working fine with bevy 0.9.1 but breaks in 0.10.0.

I just noticed the error tells me to report it to upstream, so I also did that now.

I am getting this now on 0.13.0. In Firefox it works but on Chromium I get:
wgpu error: Validation Error

Caused by:
    In Device::create_render_pipeline
      note: label = `tonemapping pipeline`
    Internal error in ShaderStages(VERTEX) shader:

When I try to compile my own wasm project it works in 0.12.0 in Chromium but not on 0.13.0.
My CPU:
Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
My graphics:


Board Info Display

Wrote frontend code to account for Board info display. The design format follows Figma layout: https://www.figma.com/file/mbfxbriwZn43udOsryBTbE/CS-130-Group-Project?type=design&node-id=43-133&mode=design&t=d7vGYUNdddWMCKvz-0

tested & looks good! the little shadow on the cover makes it look extra fancy. thanks jenn :)


Async or async-like search

Currently, the search feature is called with an onchange event on the search input. With 100 tracks it's ok, but when you have 3000 of them, the search being synchronous take a huge amount of time and resources.
Search should be async. Something like:

start to write in search input
if nothing was written for like 400ms, then trigger search

or

start searching onchange, but do not display anything
if nothing was written for 400ms, then display results

just ideas.

Do you mean the indexing or the track search itself ?

Sorry, was unclear. The track search itself.


feat: vfs pipe support

So that we can stream out of vfs objects

Description of what you did:

My PR is a:

[ ] 💥 Breaking change
[ ] 🐛 Bug fix
[x] 💅 Enhancement
[ ] 🚀 New feature

Please confirm that your PR fulfills these requirements

[x] Multiple commits are squashed into one commit.
[x] The commit message follows Conventional Commits, which allows us to autogenerate release notes; e.g. fix(plugins/plugin-k8s): fixed annoying bugs
[x] All npm dependencies are pinned.

/check-cla

/easycla

/check-cla
/easycla


Update scala-java-time to 2.2.1

Updates io.github.cquiroz:scala-java-time from 2.0.0 to 2.2.1.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.github.cquiroz", artifactId = "scala-java-time" } ]

labels: test-library-update, semver-minor

Superseded by #353.


Skype Connectivity with RASA Core

Rasa Core version:
Python version:
Operating system (windows, osx, ...):
Issue:
Content of domain file (if used & relevant):

Hi,
Is there any connector available for connecting RASA core with Skype Enterprise

Yes, you can use the Microsoft Bot Framework connector

Thanks


Login secret is not being pulled from database if user already exists

See https://github.com/Snaacky/dndserver/blob/85b7202dab89e7ef4a1e0ccf3cf74abe9b70baa2/dndserver/handlers/login.py#L40

The secret token is intended to only show during the registration and not subsequent logins.


Update apktool version to support Android P

Update apktool.jar from 2.3.0 to 2.3.4 to support Android P.
#29

Thanks @victorrattis !


Console.time() generates two telemetry traces

Lib version:

applicationinsights: 2.0.0

Given the following code
import { setup, defaultClient } from 'applicationinsights';
import { Contracts } from "applicationinsights";
import {
  Data,
  MessageData,
} from "applicationinsights/out/Declarations/Contracts";

const telemetryConsoleLogger = (envelope: Contracts.Envelope, _contextObjects?: {
  [name: string]: unknown;
}): boolean => {
  if (envelope.data.baseType !== "MessageData") {
    return true;
  }

  const data = envelope.data as Data<MessageData>;
  console.log("Logged: " + data.baseData.message);
  return true;
};

const sleep = (ms: number): Promise<void> => {
  return new Promise(resolve => setTimeout(resolve, ms));
}

void (async function () {
  setup("_your_ikey_")
    .setAutoCollectConsole(true, true)
    .start();

  defaultClient.addTelemetryProcessor(telemetryConsoleLogger);

  console.log("Hello")
  console.time("Test")
  await sleep(150)
  console.timeEnd("Test")
  console.log("Goodbye")
})();

The following is dumped in  the console.
ApplicationInsights:An invalid instrumentation key was provided. There may be resulting telemetry loss [ '_your_ikey_' ]
Logged: Hello
Hello
Logged: Test: 153.578ms   # <-- Here.
Logged: Test: 155.478ms
Test: 155.478ms
Logged: Goodbye
Goodbye

I'm not sure why Logged: Test: 153.578ms goes through the telemetry processor, but that looks like an unexpected behavior.
This has been discovered while going through Azure ApplicationInsights logs and generates quite a bit of pollution...

@hectorhdzg Thanks for the feedback.
However, I'm not sure to  understand why a call to time() generates a trace entry. The spec (https://console.spec.whatwg.org/#timing) only defines calls to Printer for timeLog and timeEnd.
Any chance you could please explain the rationale to make time generate a trace entry when the same method doesn't send anything to the standard console output?

That functionally had been there for a while, I don't know the rationale used several years ago unfortunately as I was not part of that discussion, the problem now is that is someone is relying on this and we remove it they will be missing telemetry and would be a breaking change for them.


Support for chaining steps to dynamically loaded content

Currently building a .NET application built around the single page model. Users interact with the application by click on a navigation link that opens up a popup modal. Unfortunately the content loaded within the modal is called dynamically with AJAX and is not present when Hopscotch is instantiated.
Is there a way to chain steps to selector within the dynamically loaded content? Or perhaps a way to "refresh" Hopscotch so that it has the most current state of the DOM?
Possible related scenario and solution here: http://stackoverflow.com/questions/18897520/hopscotch-js-dynamically-created-modal-target-not-functioning
Is there an official way to accomplish this functionality?

Rolling into #56.


strange bug

firstly：  File "neural_conversation_model.py", line 269, in decode
curr[kk] = path[i][curr[kk]]
TypeError: 'range' object does not support item assignment
i met this bug ,and i fixed it
then:
Replies --------------------------------------->
touchegg downloding downloding downloding downloding completelly completelly completelly completelly
touchegg touchegg downloding downloding downloding completelly completelly completelly completelly
touchegg downloding downloding downloding downloding completelly completelly completelly conneting
touchegg touchegg downloding downloding downloding completelly completelly completelly conneting
touchegg touchegg downloding downloding downloding downloding completelly completelly completelly
touchegg downloding downloding downloding completelly completelly completelly completelly completelly
touchegg touchegg downloding downloding completelly completelly completelly completelly completelly
touchegg downloding downloding downloding downloding downloding completelly completelly completelly
touchegg touchegg downloding downloding downloding downloding completelly completelly conneting
touchegg wsa downloding downloding downloding completelly completelly completelly completelly
touchegg downloding downloding downloding completelly completelly completelly completelly conneting
touchegg touchegg downloding downloding completelly completelly completelly completelly conneting
touchegg wsa downloding downloding downloding completelly completelly completelly conneting
touchegg downloding downloding downloding downloding completelly completelly conneting completelly
touchegg downloding downloding downloding downloding downloding completelly completelly conneting
touchegg touchegg downloding downloding downloding completelly completelly conneting completelly
touchegg touchegg downloding downloding completelly downloding completelly completelly completelly
touchegg downloding downloding downloding completelly downloding completelly completelly completelly
touchegg downloding downloding downloding downloding completelly completelly completelly grapics
touchegg wsa downloding downloding completelly completelly completelly completelly completelly
touchegg touchegg downloding downloding downloding completelly completelly completelly grapics
touchegg wsa downloding downloding downloding downloding completelly completelly completelly
touchegg downloding downloding downloding downloding completelly completelly conneting conneting
touchegg touchegg downloding downloding downloding completelly completelly conneting conneting
touchegg touchegg wsa downloding downloding completelly completelly completelly completelly

what's this ????
log???

it,s not bug!!!!!!!!,it's runs well !!!!!


Custom process.service template

Is there any plan to create custom templates?
An example is to use a custom process.service template for systemd, that use another service configs, like LimitNOFILE and LimitNPROC, as below:
[Unit]
StopWhenUnneeded=true
Requires=<%= name %>-<%= process_name %>.service
After=<%= name %>-<%= process_name %>.service

[Service]
Environment=PORT=PORT_NUM
ExecStart=/usr/bin/<%= name %> run <%= process_name %>
Restart=always
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=%n
LimitNOFILE=<%= limit_no_file %>
LimitNPROC=<%= limit_n_proc %>

[Install]
WantedBy=<%= name %>-<%= process_name %>.service

Sorry but this is not something I need yet, so closing for now.


[Bug]: Obisidan becomes very slow when commiting / pushing

Describe the bug
Hey, when I push my vault to Git, Obisidian becomes very slow. Any idea why?
Relevant errors (if available)
No response
Steps to reproduce
Push and commit.
Expected Behavior
No response
Addition context
No response
Operating system
macOS

Did you search other issues?
It is a known issue of simple-git library on MacOS Big Sur. It was discussed here already: https://github.com/denolehov/obsidian-git/issues/69


Can this package work with a Blob as an input?

I'm trying to send images to the api that have been uploaded by the user directly. So i dont have a remote url, a local url, or a base64 image. All i have is the image Blob.
Is this possible to do with this pkg?

This package is a wrapper for ocr.space API, so it accept the same input as that.
I think that if you have the Blob, you have or you can generate in fact the local file, so then you can use local url because the user is actually uploading something somewhere.
Please provide me more info or the code you are using to create the Blob and I'll try to help you further.

This package is a wrapper for ocr.space API, so it accept the same input as that.
I think that if you have the Blob, you have or you can generate in fact the local file, so then you can use local url because the user is actually uploading something somewhere.
Please provide me more info or the code you are using to create the Blob and I'll try to help you further.

I have a post on the forum, but not getting any support there:
https://forum.ui.vision/t/file-type-not-detected/6698
Nextjs Api route code:
import fetch from 'isomorphic-unfetch'
import { NextApiRequest, NextApiResponse } from 'next'
const { OCR_SECRET } = process.env

if (!OCR_SECRET) {
    throw new Error(
        'Please define the OCR_SECRET environment variable inside .env.local'
    )
}

export default async (req: NextApiRequest, res: NextApiResponse) => {
    if (req.method === 'POST') {
        const params: RequestInit = {
            method: 'POST',
            mode: 'cors',
            headers: {
                'Content-Type': 'multipart/form-data',
                'Access-Control-Allow-Origin': '*',
                apikey: OCR_SECRET,
            },
            body: req.body,
        }
        await fetch('https://api8.ocr.space/parse/image', params)
            .then(r => r.json())
            .then(json => res.json(json))
    }
}

What i learned since that forum post and asking here is that nextjs actually parses the original request body into a single string that includes the headers AND the body. That's why the above doesn't work as a body passed straight through to the ocr api.
I tried using formidable and your pkg to grab the original file as a File and send it along to ocr, but i wasn't able to get that working either...

I have a post on the forum, but not getting any support there:
https://forum.ui.vision/t/file-type-not-detected/6698
Nextjs Api route code:
import fetch from 'isomorphic-unfetch'
import { NextApiRequest, NextApiResponse } from 'next'
const { OCR_SECRET } = process.env

if (!OCR_SECRET) {
    throw new Error(
        'Please define the OCR_SECRET environment variable inside .env.local'
    )
}

export default async (req: NextApiRequest, res: NextApiResponse) => {
    if (req.method === 'POST') {
        const params: RequestInit = {
            method: 'POST',
            mode: 'cors',
            headers: {
                'Content-Type': 'multipart/form-data',
                'Access-Control-Allow-Origin': '*',
                apikey: OCR_SECRET,
            },
            body: req.body,
        }
        await fetch('https://api8.ocr.space/parse/image', params)
            .then(r => r.json())
            .then(json => res.json(json))
    }
}

What i learned since that forum post and asking here is that nextjs actually parses the original request body into a single string that includes the headers AND the body. That's why the above doesn't work as a body passed straight through to the ocr api.
I tried using formidable and your pkg to grab the original file as a File and send it along to ocr, but i wasn't able to get that working either...

I think this is more a problem of "how to upload a file using SPA frameworks" like React, Next or Angular.
I also had some troubles using Angular but I made it work both locally and remotely using S3 or EC2 server as storage.
For Next I found these 2, maybe they can help:

https://gist.github.com/agmm/da47a027f3d73870020a5102388dd820 BE
https://gist.github.com/AshikNesin/e44b1950f6a24cfcd85330ffc1713513 FE

In Angular I used an input type file that calls this function:
return this.fileService.upload(event.target.file).subscribe(...)

upload(file: File): Observable<any> {
    const formData: FormData = new FormData();
    formData.append('file', file);
    return this.http.request(new HttpRequest('POST', '/backend/endpoint/toupload/here', formData, { responseType: 'json' }));
  }

and on backend I used multer https://www.npmjs.com/package/multer#diskstorage or multer-s3

I think this is more a problem of "how to upload a file using SPA frameworks" like React, Next or Angular.
I also had some troubles using Angular but I made it work both locally and remotely using S3 or EC2 server as storage.
For Next I found these 2, maybe they can help:

https://gist.github.com/agmm/da47a027f3d73870020a5102388dd820 BE
https://gist.github.com/AshikNesin/e44b1950f6a24cfcd85330ffc1713513 FE

In Angular I used an input type file that calls this function:
return this.fileService.upload(event.target.file).subscribe(...)

upload(file: File): Observable<any> {
    const formData: FormData = new FormData();
    formData.append('file', file);
    return this.http.request(new HttpRequest('POST', '/backend/endpoint/toupload/here', formData, { responseType: 'json' }));
  }

and on backend I used multer https://www.npmjs.com/package/multer#diskstorage or multer-s3


Sampling model details

The command for generating the samples are given as below.
python scripts/classifier_sample_known.py  --data_dir path_to_testdata  --model_path ./results/model.pt --classifier_path ./results/classifier.pt --dataset brats_or_chexpert --classifier_scale 100 --noise_level 500 $MODEL_FLAGS $DIFFUSION_FLAGS $CLASSIFIER_FLAGS  $SAMPLE_FLAGS
There are two model paths in the command..

--model_path ./results/model.pt
--classifier_path ./results/classifier.pt

On training the below series of '.pt' files were generated in the results folder.
brats2update2500000.pt
emabrats2update_0.9999_2550000.pt
modelbratsclass025000.pt
optbratsclass025000.pt
Can you please specify the paths to use for model and classier in the command above.

Hi
You will need the model "brats2update2500000.pt" as diffusion model (model_path), and the "modelbratsclass025000.pt" as classifier model (classifier_path)


Allow create in empty folder

How's this?

@fivethreeo
Facebook's logic implemented as discussed here: https://github.com/jaredpalmer/razzle/pull/1744/files/07d8169b4f91126c61c55289ee6f2a370cb9052a#r735844589
My local tests work when creating in a non-existing dir, and existing dir, and in '.'
The messages are a bit meh for '.':
npx create-razzle-app .

Creating ....

> Success! Created files for "." razzle app

But whatever
Please review

Cool. Hope it works : )


Option to remove commented-out Media Queries in output?

Hi there,
this is more of a question than an issue, as the plugin works very nicely (thanks!):
Is there an option to remove the media query code completely in the output, as opposed to just commenting them out? I could not find that in the docs.
Thanks again for the plugin!
Philipp

Hey Philipp,
Sorry it took me so long to get back to you, there isn't an option to do this at the moment (In my own workflow I'd sent this straight to minification which removed all comments), but I'll look at adding an option to do this next time I work on the plugin :)
Glad you like the plugin, thanks for the feedback,
Michael

Hi Michael,
Actually, duh… Minifying afterwards would solve my little problem, right? Don't know why I didn't think of that myself. :-D
Thanks for the hint!
Philipp


Update Istio resources to stable versions

Some of the Istio resource type URLs in internal/pkg/xds/types.go are still using v1alpha3. These should be updated to the latest stable (GA) versions to ensure compatibility and avoid potential issues with deprecated APIs.
This was suggested during the review of PR #84.

We need older APIs to support migration from the old federation in OSSM 2.6 (Istio 1.20). Removing them would block migration testing, so we should keep them.


UI issues on mobile view - Text and Spacing between sections

About:
There are UI issues on mobile view.

The text is inconsistent between Let's talk? section, Core Values section and Thoughts on Product? section2.
Spacing is inconsistent between Let's talk, Memoji 2 and Core Values sections

Step to Reproduce:

Launch website on mobile device2.
Scroll through it3.

Expected Behavior:

Text size should be consistent on UI2.
Spacing should be consistent between sections3.
User Experience should feel high qualit

Attachments:

Hello!.pdf

Root causes are as below:

The text is not uniform because the text w/ the icons is part of an image
The spacing between the Let's talk, Memoji and Core values is off as the Memoji and Core values are part of the same <tr> and the space between them and Let's talk section is a <section>

Proposed fixes:

Freeze the text using same font used in keynote (not ideal but have to do this due to current setup)
Let's revisit this after issue 1 is resolved


issue with release v1.3.0

after updating from v1.2.0 to v1.3.0 the imports in root file were changed from "./external/" to "external/"
This is causing problem in projects where the application is imported.

saw your commit
const newRelativePath = newPath.startsWith("./") ? newPath : `./${newPath}`;

should be instead
const newRelativePath = newPath.startsWith(".") ? newPath : `./${newPath}`;

any way both are correct


1.20.4 Compatibility?

Hey hey! Just wondering - this mod is tagged with 1.20.2, and I'd like to run it on a 1.20.4 server as one of my friends despises KeepInventory and the rest of us want it on.
D'you think it'd be compatible as-is, or do we need an update to be able to run it? If so, would it be possible to get that update?
Thanks!

Hello, thank you for your interest! I'm not sure if it would work or not on 1.20.4, but I suppose it wouldn't hurt to try.
In any case, I'll see about getting that 1.20.4 update out as soon as I can.


[Enhancement] add option for SPNs to domainjoin-cli

domainjoin-cli has no option to define SPNs.
With adtools SPNs can be added when a new compuet account is created.
I need computer accounts with SPNs for HTTP, NFS and CIFS.
Actually I do:

/opt/pbis/bin/domainjoin-cli join --ou "Member Server Solaris" Domain  Account
delete account in Windows MMC
/opt/pbis/bin/adtool -a new-computer --dn "OU=.." --name HOSTNAME --password password --keytab-file /etc/krb5/krb5.keytab --spn="HOST, NFS, HTTP, cifs"

It would be great if domainjoin-cli would have the same feature for SPNs as adtool.

There is a config option for this called ServicePrincipalName that was added in 8.5.5. This should be what you're looking for:
https://www.beyondtrust.com/docs/ad-bridge/how-to/configuration-tool/lsass-active-directory.htm
pbis-open will longer receive updates and will be archived. Closing all outstanding issues. Please consider BeyondTrust Active Directory Bridge for continued support.
https://www.beyondtrust.com/privilege-management/active-directory-bridge


Option to negate regexes

Could have the option to invert the regexes, so instead of "must match" the meaning becomes "must not match". Probably a dropdown with:

"title and input name must both match"
"title must match, input name must NOT match"
"title must NOT match, input name must match"
"title must NOT match, input name must NOT match"

or, two dropdowns, each of which is:

'Must match'
'Doesn't matter'
'Must not match'

Not going to do this; you can always use a negative regex.


Support K8S container logging

This PR will support syslog-ng as the log collection tool in place of fluentd

Any news when there may be support for Openshift/K8's? The FAQ was recently updated to explain a few reasons why it shouldn't be installed on these platforms, but not any kind of answer regarding if these shortcomings will be addressed by Redhat.


Using the new Jenkins client library

What type of PR is this?

/kind chore
What this PR does / why we need it:
We intend to use jenkins-zh/jenkins-client to replace current XML based Jenkins client.
Which issue(s) this PR fixes:

Fixes #
Special notes for reviewers:

You can use the following image to test this PR:
surenpi/devops-controller:dev-v3.2.1-f7661f6

Does this PR introduce a user-facing change??

None

This PR will replace https://github.com/kubesphere/ks-devops/pull/313

Before the upstream PR is https://github.com/jenkins-zh/jenkins-client/pull/43 got merged, we need to hold it.
/hold

/unhold
/cc @kubesphere/sig-devops


SPI master example bug (LCD) (IDFGH-7034)

Environment

Development Kit:      ESP_WROVER_KIT_v4.1
Kit version: 4.1
Module or chip used:  ESP32-WROVER-E
IDF version: v5.0-dev-2169-gc1bcb8756b
Build System:        idf.py
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
xtensa-esp32-elf-gcc (crosstool-NG esp-2021r2-patch3) 8.4.0
Operating System:   macOS
Using an IDE?: No
Power Supply:  USB

Problem Description
This is a "right answer but for the wrong reason" kind of bug.
In the examples/peripherals/spi_master/lcd/main/spi_master_example_main.c file, in lcd_get_id two spi_device_polling_transmits are called (one is in lcd_cmd), but because these are two separate calls to polling transmits, the SPI CS line is pulled high in between the command send to SPI and the data receive (as viewed with a logic analyzer). On a ILI9341 LCD chip, pulling CS high between command write and response read apparently causes the read to lose connection with the write, and thus to return 0 (nothing on the MISO line). Now, it turns out the ID on the ILI9341 chip does happen to be 0, but this call isn't actually receiving 0 for that reason. So, if you were to adapt this call to read from other registers (as I did), you'll always receive 0 and sit scratching your head for 3 days :). I wrote a function called lcd_get_register (see below) that does the correct thing by using the SPI_TRANS_CS_KEEP_ACTIVE flag to keep CS low which requires the SPI bus to be acquired (I adjusted the lcd_cmd function to help out):
void lcd_cmd(spi_device_handle_t spi, const uint8_t cmd, bool keep_cs_active)
{
    esp_err_t ret;
    spi_transaction_t t;
    memset(&t, 0, sizeof(t));       //Zero out the transaction
    t.length=8;                     //Command is 8 bits
    t.tx_buffer=&cmd;               //The data is the cmd itself
    t.user=(void*)0;                //D/C needs to be set to 0
    if (keep_cs_active) {
      t.flags = SPI_TRANS_CS_KEEP_ACTIVE;
    }
    ret=spi_device_polling_transmit(spi, &t);  //Transmit!
    assert(ret==ESP_OK);            //Should have had no issues.
}

uint32_t lcd_get_register(spi_device_handle_t spi, const uint8_t cmd, const uint8_t num_bytes)
{
    spi_device_acquire_bus(spi, portMAX_DELAY);
    lcd_cmd(spi, cmd, true);

    spi_transaction_t t;
    memset(&t, 0, sizeof(t));
    t.length=8*num_bytes;
    t.flags = SPI_TRANS_USE_RXDATA;
    t.user = (void*)1;

    esp_err_t ret = spi_device_polling_transmit(spi, &t);
    assert( ret == ESP_OK );

    spi_device_release_bus(spi);

    return *(uint32_t*)t.rx_data;
}

uint32_t lcd_get_id(spi_device_handle_t spi)
{
    return lcd_get_register(spi, 0x04, 3);
}

Steps to reproduce
You can reproduce this by trying to use the get_lcd_id function to get a different register, like 0x0a, and you'll only get back 0, but after reboot you should get back 0x08 (per the documentation: https://cdn-shop.adafruit.com/datasheets/ILI9341.pdf page 94).
Code to reproduce this issue
This function is from a direct and simple adaptation of lcd_get_id, just changing the command and receive length. This will confusingly not work.
uint32_t lcd_get_display_power_mode(spi_device_handle_t spi)
{
    //get_id cmd
    lcd_cmd(spi, 0x0a);

    spi_transaction_t t;
    memset(&t, 0, sizeof(t));
    t.length=8*1;
    t.flags = SPI_TRANS_USE_RXDATA;
    t.user = (void*)1;

    esp_err_t ret = spi_device_polling_transmit(spi, &t);
    assert( ret == ESP_OK );

    return *(uint32_t*)t.rx_data;
}

Debug Logs
n/a
Other items if possible

[ ] sdkconfig file (attach the sdkconfig file from your project folder)
[ ] elf file in the build folder (note this may contain all the code details and symbols of your project.)
[ ] coredump (This provides stacks of tasks.)

@martaaay just noticed that we don't have a good example to show the usage of "SPI_TRANS_CS_KEEP_ACTIVE", it's clever of you to make it work!


PHPUnit 9 Shift

This pull request contains changes for upgrading to PHPUnit 9 automated by the PHPUnit 9 Shift.
Before merging, you need to:

Checkout the shift-92498 branch
Review all pull request comments for additional changes
Run composer update (if the scripts fail, add --no-scripts)
Run your tests suite: vendor/bin/phpunit

If there were changes you felt could have been automated, please reply to the follow-up email with your feedback or on Twitter.

:warning: PHPUnit 9 requires PHP version 7.3 or higher. Be sure to verify you met this requirement by running php -v on your test environment.


Under Which Open Source License Is This Released?

The GitHub project page indicates that libgit2sharp.nativebinaries is released under the MIT license.

https://github.com/libgit2/libgit2sharp.nativebinaries
https://github.com/libgit2/libgit2sharp.nativebinaries/blob/master/LICENSE.md

However, the license bundled with the corresponding NuGet packages states that the license is GNU GPL 2.

https://github.com/libgit2/libgit2sharp.nativebinaries/blob/master/nuget.package/NativeBinaries.nuspec
https://github.com/libgit2/libgit2sharp.nativebinaries/blob/master/LICENSE.md
https://www.nuget.org/packages/LibGit2Sharp.NativeBinaries/ (click the "Licensing" link, which redirects to the above link)

Sonatype scans are detecting the license as GPL 2.0 and not the MIT license that is listed on the project home page.
Thank you!

This project, the source code contained in this repository, is MIT licensed.
The point of this project is to build libgit2, which is GPL2 with a linking exception.  Thus the results that are produced (libgit2) are under its license.


[ci skip] adding user @ndevenish

Hi! This is the friendly automated conda-forge-webservice.
I've added user @ndevenish as instructed in #6.
Merge this PR to add the user. Please do not rerender this PR or change it in any way. It has [ci skip] in the commit message to avoid pushing a new build and so the build configuration in the feedstock should not be changed.
Please contact conda-forge/core to have this PR merged, if the maintainer is unresponsive.
Fixes #6

👍


BUG: Layout is sometimes delayed by one render

If you open the ComponentGallery, the dropdown layout has a bug:

After the first rerender, the bug is fixed:

Fixed with https://github.com/FlurinBruehwiler/flamui/commit/12d68d60f403f6f42f0bfeb24fe1569ada0842d7


Update test cases for AAP-32080

Jira Issue: https://issues.redhat.com/browse/AAP-32080

Description

Updates test cases based on the comments I got for #1326. Except for one line to add a log at DEBUG level, all changes are in test codes.
Testing

Steps to test

Pull down the PR
Run test cases

Scenarios tested

This is a PR on test cases.
Production deployment

[X] This code change is ready for production on its own
[ ] This code change requires the following considerations before going to production:

Sorry @TamiTakamiya I finally got around to look at this and it now has a merge conflict.

@manstis @goneri I have resolved conflicts on test_views.py. Would you take a look at this again? Thanks!


Cross-compilation and GOROOT

I'm working on golang cross-compilation support for bazel within rules_go.  rules_go jumps through a number of hoops to marry golang's and bazel's filesystem opinions, requiring the explicit use of GOROOT.
What I'm finding is that for cross-compilation of the stdlib via go install stdlib, GOROOT must be an absolute path, without symlinks.  For reasons outside of the scope of this question, the absolute path can be challenging to figure out within bazel.
Is this expected behaviour?  Any suggested workaround?
darwin/amd64, go1.6.2 and go1.7

Actually just realized one workaround may be to get the abs path from go env, but question remains if behavior is expected.  Thanks.

In general, cmd/go is very hostile towards symlinks, which nobody seems to mind. So at least that part I would find to be expected.
There is https://golang.org/pkg/path/filepath/#EvalSymlinks to evaluate symlinks if that helps.

But the golang-dev mailing list might be a better place to discuss this, per https://golang.org/wiki/Questions
There's nothing actionable for us to do here, so closing for now. If there's an identified bug or feature request, then we can track its resolution.

Not quite nobody, but I gave up trying to figure out why or how to fix it.


Add chapter on training llama 405b

https://github.com/axolotl-ai-cloud/axolotl/blob/main/src/axolotl/cli/train.py
https://github.com/axolotl-ai-cloud/axolotl-cookbook/pull/1/files

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

WIll need to add details on how to load checkpoint with delayed initialization - likely need to use device_map="auto" & accelerate

Add gradient checkpoint here as well


Save/save as option

Save saves to video folder;
Save as allows the user to choose the name and the destination folder (use filesavepicker)

First progress in https://github.com/MarcAnt01/Fluent-Screen-Recorder/commit/16b5d48f807f373b9647f8ca0547a8ea9479074b


Spent half of a day, no result

Hello,
First of all I want to say that the examples on the main page (https://foliotek.github.io/Croppie/) are working properly. However, I need to say that, it does not seem to be developer-friendly.
I followed the installation steps and included all the script and css. And then firstly i followed "the basics" section of the site. I copy-pasted that part and now I can zoom in and out on the image.
Then, the usage part. OK, I understand that there are 2 options which I can choose to use jQuery or not. Then a "documentation" part appears. I skip that part since I don't know how it works yet. Let me see some examples.
"Demos" part. There is a "basic example". I want to try that part on my local. However, there is only the "script" part. Where is HTML? Where is the HTML of the result button? Where are the HTML codes of that textboxes?
I appreciate your efforts but when I am trying a new plugin, I expect a few lines of JS + html codes that actually work.
However, I have finally managed to use the "result" function, then I assigned the base64 result into the src of an img element.
Expected Behavior
A cropped image in the img tag.
Actual Behavior
A black image in the img tag.
Steps to Reproduce the Problem

Paste that HTML into a page

Paste those scripts

            var el = document.getElementById('demo-basic');
            var vanilla = new Croppie(el, {
                viewport: { width: 100, height: 100 },
                boundary: { width: 300, height: 300 },
                showZoomer: false,
                enableOrientation: true,
                enableResize: true,
                mouseWheelZoom: 'ctrl'
            });
            vanilla.bind({
                url: 'test.jpg',
                orientation: 4
            });

            vanilla.result({ type: "base64", format: "jpeg", size: 'original' } ).then(function(base64) {
                document.getElementById("imgbase64").setAttribute("src", base64);
            });

Save a random image as test.jpg, in the main folder.
Run the page, and see the black image on the image tag's src.

Specifications

Browser: Chrome
Version: 72.0.3626.121

Doesn't really seem like you appreciate it, but I'll try not to be insulted.
Every single example says "on button click" before calling the result method, but I understand if you just skip over comments, that's an easy mistake.
https://codepen.io/thedustinsmith/pen/KEEBKX
Next time, instead of criticizing, try being helpful.  If you think the documentation could use some updating, it's an open source repository to which you can contribute changes.  I can't promise they'll make it in, but it's a way better approach than your current one.

Fucked up documentation, Jesus Christ


Optimize operations on smaller types

The optimizer should use less registers for values where it can infer that they need less than 256 bits. We should potentially also revisit the code that is generated for e.g. 256 bit multiplication such that it is efficient for small values and that branch prediction is correct.

The following will fit in a 32-bit integer for the foreseable future:

Gas amounts: GASLIMIT, GAS
Block numbers: BLOCKNUMBER
Sizes: CALLDATASIZE, CODESIZE, EXTCODESIZE, PC, MSIZE
Timestamps: TIMESTAMP

The following will fit in a 64-bit integer for the foreseable future:

Difficulty: DIFFICULTY
Gasprice: GASPRICE

The following will fit in a 96-bit integer for the foreseable future:

Ether amounts in wei: BALANCE, CALLVALUE

The following will fit in a 160-bit integer:

Addresses: ADDRESS, ORIGIN, CALLER, COINBASE


Updateded dependancies

Why is this a problem:
Failed to download "https://github.com/CYBUTEK/KSPAddonVersionChecker/releases/download/<IP_ADDRESS>/KSP-AVC-<IP_ADDRESS>.zip" - error: The remote server returned an error: (502) Bad Gateway.


Training Computing Resource Recommendation

If I want to reproduce the training results using Llama-7b and Lora, and fine-tune the model for a specific domain (task tuning), what kind of GPUs should I use? I have attempted to use two 3090Ti GPUs, but I encountered a torch.cuda.OutOfMemoryError: CUDA out of memory. And to avoid out of memory, what DeepSpeed config should I use ? Thanks

Thanks for your interest in LMFlow! Normally a single RTX 3090 (24GB) GPU is sufficient for finetuning Llama-7b and Lora, with ds_config_zero3.json config. If you don't have enough RAM, i.e. CPU memory, you may switch to ds_config_zero2.json or turn off the offload options in ds_config_zero3.json, but larger GPU memory will be required.
Hope that answers your questions. Thanks 😄

used ds_config_zero3.json, got following out of memory error.
[2023-04-08 19:27:43,013] [WARNING] [runner.py:186:fetch_hostfile] Unable to find hostfile, will proceed with training with local resources only. [2023-04-08 19:27:43,027] [INFO] [runner.py:550:main] cmd = /root/miniconda3/envs/lmflow/bin/python -u -m deepspeed.launcher.launch --world_info=eyJsb2NhbGhvc3QiOiBbMCwgMV19 --master_addr=<IP_ADDRESS> --master_port=11000 --enable_each_rank_log=None examples/finetune.py --model_name_or_path ../llama-7b-hf --dataset_path /mnt/disk1/cc/LMFlow/data/example_dataset/train --output_dir /mnt/disk1/cc/LMFlow/output_models/cc_run_0408 --overwrite_output_dir --num_train_epochs 0.01 --learning_rate 1e-4 --block_size 512 --per_device_train_batch_size 1 --use_lora 1 --lora_r 8 --save_aggregated_lora 0 --lora_model_path output_models/llama7b-lora-170k [2023-04-08 19:27:44,462] [INFO] [launch.py:142:main] WORLD INFO DICT: {'localhost': [0, 1]} [2023-04-08 19:27:44,462] [INFO] [launch.py:148:main] nnodes=1, num_local_procs=2, node_rank=0 [2023-04-08 19:27:44,462] [INFO] [launch.py:161:main] global_rank_mapping=defaultdict(<class 'list'>, {'localhost': [0, 1]}) [2023-04-08 19:27:44,462] [INFO] [launch.py:162:main] dist_world_size=2 [2023-04-08 19:27:44,462] [INFO] [launch.py:164:main] Setting CUDA_VISIBLE_DEVICES=0,1 04/08/2023 19:28:51 - WARNING - lmflow.pipeline.finetuner - Process rank: 0, device: cuda:0, n_gpu: 1distributed training: True, 16-bits training: False 04/08/2023 19:28:51 - WARNING - lmflow.pipeline.finetuner - Process rank: 1, device: cuda:1, n_gpu: 1distributed training: True, 16-bits training: False Downloading and preparing dataset json/default to /root/.cache/huggingface/datasets/json/default-463b362797b8ecba/0.0.0/0f7e3662623656454fcd2b650f34e886a7db4b9104504885bd462096cc7a9f51... Downloading data files: 100%|██████████| 1/1 [00:00<00:00, 4120.14it/s] Extracting data files: 100%|██████████| 1/1 [00:00<00:00, 680.56it/s] Dataset json downloaded and prepared to /root/.cache/huggingface/datasets/json/default-463b362797b8ecba/0.0.0/0f7e3662623656454fcd2b650f34e886a7db4b9104504885bd462096cc7a9f51. Subsequent calls will reuse this data. 04/08/2023 19:29:02 - WARNING - datasets.builder - Found cached dataset json (/root/.cache/huggingface/datasets/json/default-463b362797b8ecba/0.0.0/0f7e3662623656454fcd2b650f34e886a7db4b9104504885bd462096cc7a9f51) Loading checkpoint shards: 100%|██████████| 33/33 [00:08<00:00,  3.75it/s] Loading checkpoint shards:  97%|█████████▋| 32/33 [00:09<00:00,  3.47it/s]trainable params: 4194304 || all params:<PHONE_NUMBER> || trainable%: 0.06220594176090199 Loading checkpoint shards: 100%|██████████| 33/33 [00:09<00:00,  3.53it/s] trainable params: 4194304 || all params:<PHONE_NUMBER> || trainable%: 0.06220594176090199 Running tokenizer on dataset:   0%|          | 0/50 [00:00<?, ? examples/s][WARNING|tokenization_utils_base.py:2431] 2023-04-08 19:30:23,869 >> Asking to truncate to max_length but no maximum length is provided and the model has no predefined maximum length. Default to no truncation. 04/08/2023 19:30:50 - WARNING - datasets.arrow_dataset - Loading cached processed dataset at /root/.cache/huggingface/datasets/json/default-463b362797b8ecba/0.0.0/0f7e3662623656454fcd2b650f34e886a7db4b9104504885bd462096cc7a9f51/cache-bdec6107e9a75956.arrow 04/08/2023 19:30:50 - WARNING - datasets.arrow_dataset - Loading cached processed dataset at /root/.cache/huggingface/datasets/json/default-463b362797b8ecba/0.0.0/0f7e3662623656454fcd2b650f34e886a7db4b9104504885bd462096cc7a9f51/cache-d9c28dbaba212db4.arrow Traceback (most recent call last):   File "/mnt/disk1/cc/LMFlow/examples/finetune.py", line 70, in <module>     main()   File "/mnt/disk1/cc/LMFlow/examples/finetune.py", line 66, in main     tuned_model = finetuner.tune(model=model, lm_dataset=lm_dataset)   File "/mnt/disk1/cc/LMFlow/src/lmflow/pipeline/finetuner.py", line 212, in tune     trainer = Trainer(   File "/root/miniconda3/envs/lmflow/lib/python3.9/site-packages/transformers/trainer.py", line 478, in __init__     self._move_model_to_device(model, args.device)   File "/root/miniconda3/envs/lmflow/lib/python3.9/site-packages/transformers/trainer.py", line 720, in _move_model_to_device     model = model.to(device)   File "/root/miniconda3/envs/lmflow/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1145, in to     return self._apply(convert)   File "/root/miniconda3/envs/lmflow/lib/python3.9/site-packages/torch/nn/modules/module.py", line 797, in _apply     module._apply(fn)   File "/root/miniconda3/envs/lmflow/lib/python3.9/site-packages/torch/nn/modules/module.py", line 797, in _apply     module._apply(fn)   File "/root/miniconda3/envs/lmflow/lib/python3.9/site-packages/torch/nn/modules/module.py", line 797, in _apply     module._apply(fn)   [Previous line repeated 4 more times]   File "/root/miniconda3/envs/lmflow/lib/python3.9/site-packages/torch/nn/modules/module.py", line 820, in _apply     param_applied = fn(param)   File "/root/miniconda3/envs/lmflow/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1143, in convert     return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking) torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 172.00 MiB (GPU 1; 23.70 GiB total capacity; 22.84 GiB already allocated; 150.56 MiB free; 22.84 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF Traceback (most recent call last):   File "/mnt/disk1/cc/LMFlow/examples/finetune.py", line 70, in <module>     main()   File "/mnt/disk1/cc/LMFlow/examples/finetune.py", line 66, in main     tuned_model = finetuner.tune(model=model, lm_dataset=lm_dataset)   File "/mnt/disk1/cc/LMFlow/src/lmflow/pipeline/finetuner.py", line 212, in tune     trainer = Trainer(   File "/root/miniconda3/envs/lmflow/lib/python3.9/site-packages/transformers/trainer.py", line 478, in __init__     self._move_model_to_device(model, args.device)   File "/root/miniconda3/envs/lmflow/lib/python3.9/site-packages/transformers/trainer.py", line 720, in _move_model_to_device     model = model.to(device)   File "/root/miniconda3/envs/lmflow/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1145, in to     return self._apply(convert)   File "/root/miniconda3/envs/lmflow/lib/python3.9/site-packages/torch/nn/modules/module.py", line 797, in _apply     module._apply(fn)   File "/root/miniconda3/envs/lmflow/lib/python3.9/site-packages/torch/nn/modules/module.py", line 797, in _apply     module._apply(fn)   File "/root/miniconda3/envs/lmflow/lib/python3.9/site-packages/torch/nn/modules/module.py", line 797, in _apply     module._apply(fn)   [Previous line repeated 4 more times]   File "/root/miniconda3/envs/lmflow/lib/python3.9/site-packages/torch/nn/modules/module.py", line 820, in _apply     param_applied = fn(param)   File "/root/miniconda3/envs/lmflow/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1143, in convert     return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking) torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 172.00 MiB (GPU 0; 23.70 GiB total capacity; 22.84 GiB already allocated; 150.56 MiB free; 22.84 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
Any idea on this ?

This issue has been marked as stale because it has not had recent activity. If you think this still needs to be addressed please feel free to reopen this issue. Thanks


Remove uncommitted blocks map

Current dependencies on/for this PR:

feature/pos-fast-hotstuff-consensus

PR #742

PR #755

PR #756   👈

This comment was auto-generated by Graphite.


Rename CompilerInstance::ModuleManager to match D70583

See: https://reviews.llvm.org/D70583

Thanks Vedant!

Is this the same as https://github.com/apple/swift/pull/28474?


feat(VtmnSearch): add onSearch function

Changes description

Allow user to call a function when clicking on search icon
Context

related to #1181
Checklist

[x] Make sure you are requesting to pull a topic/feature/bugfix branch. Please, don't request directly from your main!
[x] Check commits & PR names matches our requested structure. It must follow the https://www.conventionalcommits.org pattern.
[x] Check your code additions will fail neither code linting checks.
[x] I have reviewed the submitted code.
[x] I have tested on related showcases.
[x] If it includes design changes, please ask for a review with a core team designer.

Does this introduce a breaking change?

No

Other information

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Transforms raise many Koza csv_reader warnings

For this KG build, the transforms output a fantastic number of warnings identical to the following:
[2023-07-12 07:41:32][WARNING][koza.io.reader.csv_reader] 'meta'

i.e., the Jenkins logs are >100 MB but they're mostly just this warning, repeated.
Doesn't impact the build but it does make the logs difficult to read.

This happens because the initial JSON -> KGX transform creates a meta column from the meta field in the JSON, but we try to ignore it. Koza still knows it's there.


[flutter_markdown] online markdown editor will freeze

Is there an existing issue for this?

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

Steps to reproduce

open https://dart-lang.github.io/markdown/
paste following code:

[]()  |
------|------
Row 1 | row 2

Expected results
Optimal would be to render table without header (Bitbucket's markdown) or at least it should not freeze the app.
Actual results
the web page will freeze
Code sample
[]()  |
------|------
Row 1 | row 2

Screenshots or Video
No response
Logs
No response
Flutter Doctor output
Doctor output
can't provide becasue the editor is not hosted by me

Issues with markdown need to be filed in it's repository.
Closing as this doesn't appear to be related to the Flutter package.


Extend _ihm_ensemble_info.ensemble_clustering_method enumeration

The list of allowed clustering methods in _ihm_ensemble_info.ensemble_clustering_method is a little short - essentially just k-means and hierarchical clustering. Add some other methods, such as Density based threshold-clustering used in recent IMP applications from @shruthivis such as γTuSC-Spc110. Or perhaps add a _ihm_ensemble_info.ensemble_clustering_method_other_details or similar rather than using the _ihm_ensemble_info.details data item.

Addressed in v1.18.


warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.

Facing warnings
gems/aspector-0.14.0/lib/aspector/interception.rb:229: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.
gems/aspector-0.14.0/lib/aspector/interception.rb:229: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
The syntax used for ERB.new in the interception.rb file is deprecated. The issue persists with the latest release 0.14.0 I see in your master this issue is fixed. Please release a new version of Gem with the fix provided.

Yo. This lib ain't supported anymore by us. It's deprecated and won't get any new released.


move examples to own project

The sphinx-gallery examples in GLASS are more difficult than elsewhere because they are computationally expensive.  Therefore, they are built and committed to the repo. This adds a lot of unnecessary volume to PRs, such as in #29.
I propose we move the examples to their own glass-examples project.  That way, we can build them asynchronously whenever necessary, and commits don't clutter the main repository.
Using the subprojects feature on ReadTheDocs, we should still be able to serve the examples under the GLASS documentation.

As an example of what that would look like concretely, here is https://glass.readthedocs.io/projects/examples/en/latest/.
It was build from the glass-dev/examples repository, which I made by filtering the relevant commits from this repository here. So the commit history that relates to examples is all still there.
Let me know what you think @arthurmloureiro since you contributed to the examples.


No reason to have [0] included in removing revisions. And this breaks…

… potential use of UUID ids.
Summary
General information about what this PR is all about. If it fixes any issues
please don't forget to tag them.
Thanks for contributing!

@usiegj00 is there a reason you closed this? I just tried to use the latest release with UUIDs, and I'm running into an error that this would fix.


"You can use /kick only on a channel" message displays very weirdly

/op and /deop added in #191 have the same problem


[BAEL-7669] Example code for article. Setting global TimeZone in spring

Added logback-test.xml for spring tests, to set level to INFO

I had some weird conflicts. There were no conflicts really. But anyway, i rebased over master, then some issue again with the spaces in pom.xml so i had to force push a last commit. Should be all right now


Generalize tf and torch dataset check in case path is not strict prefix

Fails on internal imports.

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (c8a5a89) 77.76% compared to head (e2160fa) 57.26%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #18552       +/-   ##
===========================================
- Coverage   77.76%   57.26%   -20.51%
===========================================
  Files         334      334
  Lines       32372    32372
  Branches     6313     6313
===========================================
- Hits        25175    18538     -6637
- Misses       5620    12414     +6794
+ Partials     1577     1420      -157

Flag
Coverage Δ

keras
57.26% <50.00%> (-20.41%)
:arrow_down:

keras-jax
?

keras-numpy
57.26% <50.00%> (ø)

keras-tensorflow
?

keras-torch
?

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

Files
Coverage Δ

keras/trainers/data_adapters/__init__.py
50.00% <50.00%> (-17.86%)
:arrow_down:

... and 180 files with indirect coverage changes

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


Required attribute removed

I have a form I build using the following:
$builder
    ->add('user', UserType::class)
    ->add('consent', CheckboxType::class, [
        'required' => false,
    ]);
```

UserType contains a few fields, such as `firstName` and `lastName`. Both of these fields are required. When I enable this bundle, the `required` attributes on the inputs for `firstName` and `lastName` are removed.

This seems to be happening on `ValidConstraintPass` line 34. My form is not bound to an entity and it seems like `ValidConstraintPass` checks for `Symfony\Component\Validator\Constraints\Valid` on child form elements in the entity.

Do I need to bind my form to an entity and use the `@Valid` annotation to get your bundle to work?

@EAnushan this is correct the UserType can be null according to the validator this is why the required attribute is removed adding ['constraints' => new Valid() ] or ['constraints' => new NotNull()] to the 'user' field option should enable the required attribute again.
The reason for this behaviour is that symfony used to do some strange things for the required attribute.
(I'm not sure which issue this was related to but i think it was https://github.com/symfony/symfony/issues/3661)

Thank you. I ended up adding ['constraints' => new Valid() ] to the user field and then adding additional constraints inside UserType so that each individual field was validated.


update webpack 3.2 and add scope hoisting plugin

Codecov Report

Merging #136 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #136   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          17     17
  Lines         113    113
  Branches        1      1
=====================================
  Hits          113    113

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 fd5e51c...f1c4afc. Read the comment docs.


Lokalise: Translations update

This pull request was initiated by Lokalise (user Peter Murray) at 2022-05-04 22:11:21

yarn run v1.22.18
$ eslint .
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.


add equiv axioms to children of 'acute respiratory distress syndrome'

is this too inclusive?

consider requesting a superclass for the range you need, from HPO or HsapDv

I revised this - there actually was pediatric onset in HPO (it just wasn't imported into Mondo).
I fixed this for ARDS and another term ('pediatric-onset Graves disease')


Is this project abandoned?

As I can see, there are a few important PR's which are not accepted, last release was more than year ago, BS4 branch is not being developed anymore, etc. So, Is this project abandoned?

Well, I found another similar project which looks like it's under active development and maintainers promptly fixing appearing issues.

Sorry guys, I will update the readme to indicate this is not active being developed


Update Ruby version in Gemfile to 3.3.0

Updated the Ruby version in the Gemfile from 3.2.2 to 3.3.0 to ensure compatibility with the latest version of Ruby.

@genesis-writing You can keep working on this Pull Request. You don't have to create a new Pull Request for the change I requested.


code

Excuse me, I encountered this error when I reproduced your code in order. I wonder if a key configuration file is missing?
  dataset = eval(cfg['DATASET']['NAME'])(cfg['DATASET']['ROOT'], 'val', transform, cfg['DATASET']['MODALS'], case)
   File "<string>", line 1, in <module>
NameError: name 'FMB' is not defined

Thank you for pointing this out. I have uploaded the missing files. Please let me know if you need further help reproducing the results.

There is another question here.
File "E:\work\Segment\MMSFormer-main\tools\val_mm.py", line 196, in <module>
    main(cfg)
  File "E:\work\Segment\MMSFormer-main\tools\val_mm.py", line 166, in main
    acc, macc, f1, mf1, ious, miou, _ = evaluate(model, dataloader, device)
  File "D:\application\anaconda\envs\pytorch13\lib\site-packages\torch\autograd\grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "E:\work\Segment\MMSFormer-main\tools\val_mm.py", line 83, in evaluate
    metrics.update(preds.softmax(dim=1), labels)
  File "E:\work\Segment\MMSFormer-main\semseg\metrics.py", line 15, in update
    self.hist += torch.bincount(target[keep] * self.num_classes + pred[keep], minlength=self.num_classes**2).view(self.num_classes, self.num_classes)
RuntimeError: shape '[14, 14]' is invalid for input of size 3556


Code Update: Check for deformed software objects

Check that software objects have the following properties:

[ ] The generated hash ID has 8 hex digits
[ ] Have Activation, Path, Purpose, RequestedActivation, and Version properties
[ ] Properties are set to legal values

One use case reported in lab for BMC
/xyz/openbmc_project/software/3ab50d91
{
    "Path": "/tmp/images/3ab50d91",
    "Purpose": "xyz.openbmc_project.Software.Version.VersionPurpose.BMC",
    "Version": "ibm-v1.99.10-0-r7-0-gcce0f1b"
}

https://gerrit.openbmc-project.xyz/#/c/7119


Proposal to obsolete 'transmembrane electron transfer carrier' and children

Hello,
The term 'transmembrane electron transfer carrier' has only been used once for EXP annotation (P36655) by EcoCyc @keseler
'Electron carrier activity' would be more accurate to describe the function.
We can create a better BP to express what the protein is doing- any suggestions?
I also propose to obsolete the two children (no annotations):

GO:0022866 transmembrane 1-electron transfer carrier
GO:0022867 transmembrane 2-electron transfer carrier

Thanks,
Pascale

Dear all,
The proposal has been made to obsolete:’GO:0022865 transmembrane electron transfer carrier'
and its two children

GO:0022866 transmembrane 1-electron transfer carrier
GO:0022867 transmembrane 2-electron transfer carrier
The reason for obsoletion is that the term does not represent a molecular function but rather a process: "The transmembrane electron transfer carriers in the membrane include two-electron carriers, such as the disulfide bond oxidoreductases (DsbB and DsbD in E. coli) as well as one-electron carriers such as NADPH oxidase.” (https://en.wikipedia.org/wiki/Membrane_transport_protein)

There is 1 experimental annotation to this term and 2 NAS.
Comments can be added to the issue:
https://github.com/geneontology/go-ontology/issues/14234
We are opening a comment period for this proposed obsoletion. We’d like to proceed and obsolete this term on August 26, 2017.
*** Unless objections are received by August 26, 2017, we will assume that you agree to this change. ***
Best regards,
Pascale

Regarding a BP term for the P36655 (DsbD)
Suggested name: protein disulfide bond formation via L-cysteine oxidation
New term would be a child of GO:0018171 peptidyl-cysteine oxidation and the definition for this latter term should be expanded to indicate that peptidyl cysteines can be modified to form inter and intra disulfide bonds (amongst other things - PMID 16716890 Eaton 2006 has a nice diagram of protein thiol oxidation products)
GO:0055114 oxidation-reduction process has a child term for protein oxidation (GO:0018158) but no term for protein reduction and more specifically protein disulfide reduction - suggested def: the modification of a protein by reduction of one or more disulfide bonds (PMID 11544348 Ritz 2001)
E. coli DsbD functions as part of an electron transport chain whereby electrons are transferred from thioredoxin in the cytoplasm via DsbD in the membrane to reduce periplasmic proteins. Would a new child of GO:0022900 electron transport chain be appropriate? I'm unsure about this because the definition of electron transport chain refers specifically to the generation of a transmembrane electrochemical gradient.
Amanda (EcoCyc curator)

Regarding the proposal to obsolete GO:0022865 transmembrane electron transfer carrier'
It was suggested that electron carrier activity (GO:0009055) is a better MF term for DsbD function. I agree but I would like to suggest a new term which would be child of electron carrier activity:
Suggested name: electron transporter, transferring electrons within the cellular protein thiol-disulfide redox pathways

isn't that a molecular function?
protein-disulfide reductase activity

Yes and we use that term for DsbD and others in EcoCyc - I think I misunderstood Pascale's post to suggest that we should also use an electron carrier MF term for P36655 but perhaps that's not what he meant.  Sorry - not very experienced with using the ontology.

Hi @amandamackie
Thanks for your input. It sounds like you will not miss the annotation to 'transmembrane electron transfer carrier'  and that the current annotation to 'protein disulfide oxidoreductase activity' correctly captures the function of P36655. I'll go ahead with the obsoletion in this case.
Thanks, Pascale

Obsoletions:
[Term]
id: GO:0022865
-name: transmembrane electron transfer carrier
+name: obsolete transmembrane electron transfer carrier
namespace: molecular_function
-def: "Enables electron flow across a biological membrane, from donors localized on one side of the membrane to acceptors localized on the other side. These systems contribute to or subtract from the membrane potential, depending on the direction of electron flow. They are therefore important to cellular energetics." [GOC:mtg_transport, ISBN:0815340729, TC:5]
+def: "OBSOLETE. Enables electron flow across a biological membrane, from donors localized on one side of the membrane to acceptors localized on the other side. These systems contribute to or subtract from the membrane potential, depending on the direction of electron flow. They are therefore important to cellular energetics." [GOC:mtg_transport, ISBN:0815340729, TC:5]
+comment: The reason for obsoletion is that the term does not represent a molecular function but rather a process: "The transmembrane electron transfer carriers in the membrane include two-electron carriers, such as the disulfide bond oxidoreductases (DsbB and DsbD in E. coli) as well as one-electron carriers such as NADPH oxidase.” (https://en.wikipedia.org/wiki/Membrane_transport_protein)
xref: TC:5
-is_a: GO:0022857 ! transmembrane transporter activity
+is_obsolete: true
[Term]
id: GO:0022866
-name: transmembrane 1-electron transfer carrier
+name: obsolete transmembrane 1-electron transfer carrier
namespace: molecular_function
-def: "Enables transfer of one electron across a membrane." [GOC:mtg_transport, ISBN:0815340729, TC:5.B]
+def: "OBSOLETE. Enables transfer of one electron across a membrane." [GOC:mtg_transport, ISBN:0815340729, TC:5.B]
+comment: The reason for obsoletion is that the term does not represent a molecular function but rather a process: "The transmembrane electron transfer carriers in the membrane include two-electron carriers, such as the disulfide bond oxidoreductases (DsbB and DsbD in E. coli) as well as one-electron carriers such as NADPH oxidase.” (https://en.wikipedia.org/wiki/Membrane_transport_protein)
synonym: "transmembrane one-electron transfer carrier" EXACT [GOC:mah]
-is_a: GO:0022865 ! transmembrane electron transfer carrier
+is_obsolete: true
[Term]
id: GO:0022867
-name: transmembrane 2-electron transfer carrier
+name: obsolete transmembrane 2-electron transfer carrier
namespace: molecular_function
-def: "Enables transfer of two electrons across a membrane." [GOC:mtg_transport, ISBN:0815340729, TC:5.A]
+def: "OBSOLETE. Enables transfer of two electrons across a membrane." [GOC:mtg_transport, ISBN:0815340729, TC:5.A]
+comment: The reason for obsoletion is that the term does not represent a molecular function but rather a process: "The transmembrane electron transfer carriers in the membrane include two-electron carriers, such as the disulfide bond oxidoreductases (DsbB and DsbD in E. coli) as well as one-electron carriers such as NADPH oxidase.” (https://en.wikipedia.org/wiki/Membrane_transport_protein)
synonym: "transmembrane two-electron transfer carrier" EXACT [GOC:mah]
-is_a: GO:0022865 ! transmembrane electron transfer carrier
+is_obsolete: true


fetchDeps: Add flags for pre-built repos

Add --v-headers-root, --spirv-cross-root,
and --glslang-root options with an arg that allow
caller to pass in the root dir of these three
repos if the caller already has them.  The script
then symlinks to these instead of fetching and building.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Publish unicode-tables as a separate crate?

Hi, I'm using regex and need access to the unicode tables. I don't really want to duplicate those data. Any chance it can be published as a separate crate somehow?

What problem are you trying to solve?
On Sun, Jul 1, 2018, 05:28 CrLF0710<EMAIL_ADDRESS>wrote:

Hi, I'm using regex and need access to the unicode tables. I don't really
want to duplicate those data. Any chance it can be published as a separate
crate somehow?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rust-lang/regex/issues/496, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAb34s4NjAqMTcjKogpwq4oXUA9UBjDhks5uCJZbgaJpZM4U-Que
.

Hi, i can obviously copy all those generated files from regex and include them in my crate. However as i'm also using regex too so these data actually exists twice in the generated binary (correct me if i'm wrong). If it is a single crate then there's one single dependency on it, so these data won't be duplicated.

I'll ask again: could you please state the high level problem you're to solve? Making Unicode tables public is a means to an end. Why do you want access to those tables? What do you want to do with them?

Sure, I want to check whether a code point lives in a specific general category, and whether it has id_start/id_continue,  xid_start/xid_continue properties. I'm doing some parsing and these properties are required from the spec.

You might consider just using a regex to do that.
I personally have mixed feelings on this. Obviously, the biggest advantage to providing the tables is that we reduce the number of copies, and therefore, the binary size, since these tables can be somewhat significant in size. I suspect this is the only advantage since the ucd-generate tool should be more than capable of making it easy to build these tables yourself.
With that said... There are a myriad of problems:

The tables in the regex crate are specifically generated for the specific use case of the regex crate. Notably, the regex crate does not require blindingly fast lookups since the tables aren't used at a match time and only at compile time. (For the most part.) Therefore, the tables don't have universal applicability and may not fit everyone's use case.
There is non-trivial maintenance required in exporting the tables. It needs documentation and a description of how each table is built and how to use them. This new crate will also attract new kinds of bug reports and PRs that I'm not sure I want to be responsible for.

cc @SimonSapin What do you think about this? Do you have any kind of vision here? My thinking is that will be pretty hard to share the internal Unicode tables between a decentralized set of crates without a strong coherent vision on how it all fits together. But I might be missing something!

I think it’s really good that ucd-generate or something like it exists to unify the way Unicode data is parsed and processed in the Rust ecosystem, rather than having everyone forking and tweaking various copies of the same Python script.
That said I do not particularly have a vision or plans further than that. It’s hard to come up with something that’ll work for every case we haven’t yet thought of. You mentioned lookup speed, which is likely a classic space v.s. time trade-off. I suspect this is one of a number of axes where different users might want to make different choices.

Thanks for the explanation and vision! I'm going to close to this issue.


Improve error message: "Field set to nothing can't be serialized"

Customers have huge and complex pipelines. Bond serialization is buried deep in the code, and sporadic errors like a null value in some record may require an humongous amount of time such as connecting to the cloud service for debugging (before getting clearance for doing so), or adding more logs elsewhere (which would be duplicated when Bond is used for logging), and deploying again.
Therefore, this error message is not being helpful at all. It should state at very minimum the field that is not satisfying the condition, and ideally the schema name as well.

Makes sense. Can you submit a PR to improve the message? The line that needs to be changed is 135 in SimpleBinary.cs.

is there a workaround to this. The bigger issue is boolean with false values are also being omitted.
I need all the fields to be present in the serialized json as this will be deserialized in another application based c++ where these fields are not marked as nullable.

@himanshusainig, this issue is specifically about a better error message when a = nothing field is encountered that cannot be serialized. Can you please create a new issue about your problem? It will be useful to see the .bond schemas that each app. Make sure you've tested with the currently released versions of Bond too, in case the issue has been fixed already.


List of code sections that should be refactored at some point

[x] Input test data preparation for the Golden tests
[x] renderJannoCompleteness in Poseidon.CLI.Survey
[ ] The data types for .janno and .ssf should live in an own module
[ ] replace misused type class Show with an own class
[ ] Organize the defaultPackageReadOptions as considered here

Here's a library tackling the Show issue identified above: https://github.com/haskell-text/text-display

The text-display library offers the Display typeclass for developers to print a textual representation of datatypes that does not have to abide by the rules of the Show typeclass.

A search for instance Show in the code base reveals many manually defined instances. I systematically misused the typeclass.


bump revm to v2.1.0

Bumping revm to crates version

test failures unrelated, ref https://github.com/foundry-rs/foundry/issues/3344


Add signedUrls parameter to appClass

:v:
/cc @zendesk/vegemite
needed for the signedUrls manifest parameter to be exposed to the framework
Description
Add signedUrls parameter to appClass
References

JIRA: https://zendesk.atlassian.net/browse/AF-231

Risks

None, defaults to false (opt-in parameter)

👍

@danielbreves is the change in 66295e0 okay or should I add more stricter checking to ensure that developers don't mix old and new names?

:+1:


[WIP] Postcodes v0

Description
Adding postcode type to Addresses theme in order to have an encompassing schema which incorporates all data types. The initial drop of postcodes is intended to contain GeoNames data covering EU countries, since the coverage there is of the best quality. This gives us a good starting point for future sidecars and expansion into other countries.
Testing
Testing of the schema and the examples/counterexamples done via the git-inferred tests done during push.
Checklist
Checklist of tasks commonly-associated with schema pull requests. Please review the relevant checklists and ensure you do all the tasks that are required for the change you made.

[x] Add relevant examples.
[x] Add relevant counterexamples.
[x] Update any counterexamples that became obsolete. For example, if a counterexample uses property A but is not intended to test property A's validity, and you made a schema change that invalidates property A in that counterexample, fix the counterexample to align it with your schema change.
[x] Update in-schema documentation using plain English written in complete sentences, if an update is required.
[ ] Update Docusaurus documentation, if an update is required.
[ ] Review change with Overture technical writer to ensure any advanced documentation needs will be taken care of, unless the change is trivial and would not affect the documentation.

Documentation Website
Docs preview for this PR.

It looks like we're holding off on this to focus on address core functions. We can revive it later if necessary


Unable to remove Dashboard and Settings links

I've been trying to remove the Dashboard and Setting links.
But despite creating a craft/config/adminbar.phpfile and updating with:
    'displayDashboardLink' => false,
    'displayDefaultEditSection' => false,

It still shows those buttons on the front-end.

Hi, Alex. I'll take a look this weekend. The Settings link has been on my radar since project config, but I haven't had a chance to get to it. Thanks!

@alexagui Hey Alex, regarding your settings, I changed the handle of the plugin to admin-bar when re-building it for Craft 3. If your config file is changed to admin-bar.php then those settings should now work.
There was a bug with displayDefaultEditSection and that's now all set. Thanks for letting me know!

Thanks Will!


[0.9.0] Improve documentation regarding naming convention

It is still very obscure what is the proper way to name measurements, tags, fields, etc.  Which characters are allowed? Which one should be escaped? How to escape? With a backslash, with double quotes, with simple quotes?
This information is spread everywhere in the doc and sometimes contradictory.  Please add a clear naming convention document.

Moved this issue to the documentation repo: https://github.com/influxdb/influxdb.com/issues/51

@vptheron the https://influxdb.com/docs/v0.9/write_protocols/write_syntax.html and https://influxdb.com/docs/v0.9/guides/troubleshooting.html pages should the info or links to the info needed.


Sort help request list based on distance.

I think it'd be easier for volunteers to attend a help request if they can sort the list of help requests based on distance from them. That means nearest help request goes to top of the list.

The map has a near me sorting option.


README file links to CHANGELOG.md, but it no longer exists.

Larastan Version: 2.6.0
--level used:
Pull request with failing test:

Description
README file links to CHANGELOG.md, but it was removed in v2.6.0.
I didn't want to just remove the link, as I'm unsure whether something replaced it?

I'd assume probably the GitHub Releases are replacing this going forward.
https://github.com/larastan/larastan/releases


fix: add learn more link for export as skill

Description
fix: add learn more link for select trigger, select dialog & allow callers pages in export as skill experience.

Task Item
closes #7851
Screenshots

Coverage decreased (-0.004%) to 50.389% when pulling 1990c8076249aeb49209a1b7c99794c258edf17e on julong/add-link into d607e81291b5fd9bb0d7d76fa65fb857f79a529b on main.

why is there a blank space below the buttons in this dialog?

why is there a blank space below the buttons in this dialog?

Sorry, I dont get u.

In the screen recording you have attached, there is a gap between the dialog buttons and the bottom of the dialog, why is that?

@alanlong9278 what's the status of work on this PR, did you see my question above with screenshots?

@alanlong9278 what's the status of work on this PR, did you see my question above with screenshots?

Sorry, I am on vacations these days. I will fix it today @hatpick

@hatpick could you please take another look at this PR?

@alanlong9278 can you update your screenshots?


Compatibility with JupyterLab 3.0?

katex extension stops working after upgrade

Resolved by #233 :tada: