[QUESTION] Specify VARCHAR/NVARCHAR length in CallableStatement (mssql-jdbc driver)

I am using SQL Server 2017 Ent with Spring Framework (5.3.19) + mssql-jdbc driver (8.4.0) + HikariCP (3.4.5). Is there a way to specify VARCHAR/NVARCHAR length in CallableStatement ?
Pseudo-code
CallableStatement callableStatement =
conn.prepareCall(concatenatedCallableStmt (index,paramVal));

concatenatedCallableStmt (int index,Object parameterValue)
{
   case Types.VARCHAR:
      //stmt.setString(index, String.valueOf(parameterValue));
       stmt.setObject(index,parameterValue,Types.VARCHAR ,String.valueOf(parameterValue).length());
    break;
}

Final CallableStatement for this execution :
{? = CALL [dbo].[<SP_NAME>] (@P1=?,@P2=?,@P3=?,@P4=?)}
All the params are getting submitted with nvarchar(4000) to the database if I use setString or setObject
Profiler screenshot:

The SP in the DB has VARCHAR(60) for the concerned parameters.

Is there a way I could specify the length of the parameters (like varchar(60) instead of nvarchar(4000)) in setString/setObject or any other way?
P.S: I have asked the question on StackOverflow as well, albeit no response. URL : https://stackoverflow.com/questions/72136734/specify-varchar-nvarchar-length-in-callablestatement-mssql-jdbc-driver
Edit1: Added HikariCP version

Hi @praskutti,
As of currently there isn't a way to specify the length in a situation you describe, using setString/setObject and callable statements directly. I will take a look at see if there may be a roundabout way to achieve the result you're looking for.

Thanks @Jeffery-Wasty . That's what I found too. In fact, the mssql-jdbc driver Parameter.java Line 771 actually has a code path where there concatenate a "length" , just that, the length is a static final variable I think. Perhaps be we can make this accept lengths?

Hi @praskutti,
Based on the background of this issue, and potential impact, we've decided to add this issue to our backlog, where it will be looked at once again during semester planning.

Thanks @Jeffery-Wasty ! I look forward to seeing this feature in 2025 then (just kidding 😁)

@lilgreenbird  , thanks for a detailed overview of the process. My comment was more of a tongue in cheek :) No malicious intent. Once again, thank you!

yes I know, thanks for understanding 😉


[compile][rocm]: error: 'llvm.fptrunc' op result #0 must be floating point LLVM type or LLVM dialect-compatible vector of floating point LLVM type, but got 'i8'

What happened?
for the given IR
module @module {
  util.global private @"__auto.model.layers.31.self_attn.v_proj.qdq_output:rscale" = #stream.parameter.named<"model"::"model.layers.31.self_attn.v_proj.qdq_output:rscale"> : tensor<f16>
  func.func @prefill_bs2(%arg0: !torch.vtensor<[2,?],si64>, %arg1: !torch.vtensor<[2],si64>, %arg2: !torch.vtensor<[2,?],si64>, %arg3: !torch.tensor<[?,4194304],f16>, %arg4: !torch.vtensor<[?,4096],f16>, %arg5: !torch.vtensor<[4096,32000],f16>, %arg6: !torch.vtensor<[2,?],si64>, %arg7:!torch.vtensor<[?,4194304],f16>, %arg8:!torch.vtensor<[2,?],si64>, %arg9:!torch.vtensor<[2,?,4096],f16>) -> !torch.vtensor<[2,?,4096],f16>  attributes {torch.assume_strict_symbolic_shapes} {
    %__auto.model.layers.31.self_attn.v_proj.qdq_output3Arscale = util.global.load @"__auto.model.layers.31.self_attn.v_proj.qdq_output:rscale" : tensor<f16>
    %944 = torch_c.from_builtin_tensor %__auto.model.layers.31.self_attn.v_proj.qdq_output3Arscale : tensor<f16> -> !torch.vtensor<[],f16>
    %int24_8273 = torch.constant.int 24
    %9307 = torch.prims.convert_element_type %arg9, %int24_8273 : !torch.vtensor<[2,?,4096],f16>, !torch.int -> !torch.vtensor<[2,?,4096],f8E4M3FN>
    %int5_8274 = torch.constant.int 5
    %9308 = torch.prims.convert_element_type %9307, %int5_8274 : !torch.vtensor<[2,?,4096],f8E4M3FN>, !torch.int -> !torch.vtensor<[2,?,4096],f16>
    %9309 = torch.aten.mul.Tensor %9308, %944 : !torch.vtensor<[2,?,4096],f16>, !torch.vtensor<[],f16> -> !torch.vtensor<[2,?,4096],f16>
    return %9309 : !torch.vtensor<[2,?,4096],f16>
  }
}

getting error as
unknown>:0: error: 'llvm.fptrunc' op result #0 must be floating point LLVM type or LLVM dialect-compatible vector of floating point LLVM type, but got 'i8'
:0: note: see current operation: %87 = "llvm.fptrunc"(%86) : (f16) -> i8
Steps to reproduce your issue
command to reproduce:
iree-compile --iree-hal-target-backends=rocm --iree-input-demote-i64-to-i32 --iree-hip-target=gfx942 small.mlir

dump.log
dump.log with flag "--mlir-print-ir-after-all --mlir-print-ir-before-all --mlir-disable-threading --mlir-elide-elementsattrs-if-larger=4"
What component(s) does this issue relate to?
Compiler
Version information
No response
Additional context
No response

@andfau-amd could you please take a look

Okay, I'll try to find time to look at it today. FWIW I doubt this has any relation to my recent fptrunc-related changes, but I'm still happy to look at it.

Oh I am not saying it's related, but as I mentioned, these are bugs being filed as part of general compiler testing that is being ramped up.

@pdhirajkumarprasad there's no support for f8E4M3FN on the backend but exists for f8E4M3FNUZ. You can just change the type to this and it will compile successfully

@nithinsubbiah this small IR created from big model. We don't have plan to support this? if so then user need to modify it manually?

If a compiler target (https://github.com/iree-org/iree/tree/main/compiler/plugins/target) can't handle a data type, it should signal that with a clear error message early in the compilation pipeline.

@nithinsubbiah this small IR created from big model. We don't have plan to support this? if so then user need to modify it manually?

There might be a long winded path of supporting it, but it isnt easy, and probably not what users wants to begin with. So it would be better to change the input anyway.

If a compiler target (https://github.com/iree-org/iree/tree/main/compiler/plugins/target) can't handle a data type, it should signal that with a clear error message early in the compilation pipeline.

Good point. @nithinsubbiah  can you add a check before ConvertToROCDL which checks for valid data type supported and throws an error of unsupported element type?

@nithinsubbiah , is the plan to modify the MLIR by running a script for now to work around and keep this issue open for real fix?

@nithinsubbiah , is the plan to modify the MLIR by running a script for now to work around and keep this issue open for real fix?

There is no real fix. We cant support the data type cause it is not supported on the hardware. We can error out, but the fix is to fix the front end.


docs: publish the translation of Thrift Streaming

What type of PR is this?

Check the PR title.

[ ] This PR title match the format: <type>(optional scope): <description>
[ ] The description of this PR title is user-oriented and clear enough for others to understand.

(Optional) Translate the PR title into Chinese.
发布Thrift Streaming的译文
(Optional) More detailed description for this PR(en: English/zh: Chinese).

en: publish the translation of Thrift Streaming and supplement the omissions in the Chinese part of Thrift Streaming
zh(optional): 发布Thrift Streaming的译文并补充Thrift Streaming中文部分的遗漏
(Optional) Which issue(s) this PR fixes:

Please check the CI result and fix the typo


New rule: Use only ascii symbols in identifiers and comments.

I'm trying to find some configuration allowing to write comments in other language than English and I cannot find any. Am I missing something or using English is an obligation and cannot be skipped ?


Enable vertx native also for vanilla hono components

Type of change

Bugfix

Description
Vertx native support was only enabled for EnMasse IoT components, but not for vanilla Hono components. TLS native support was already enabled for all components.
Checklist

[ ] Update/write design documentation in ./documentation/design
[ ] Write tests and make sure they pass
[ ] Update documentation
[ ] Check RBAC rights for Kubernetes / OpenShift roles
[ ] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[ ] Reference relevant issue(s) and close them after merging
[ ] Update CHANGELOG.md

@enmasse-ci run tests profile=iot

:heavy_check_mark: Test Summary :heavy_check_mark:
TEST_PROFILE: iot
TEST_CASE:
TOTAL: 73
PASS: 63
FAIL: 0
SKIP: 10
BUILD_NUMBER: 171


Flash Preset behaves strangely at React Native 0.61.5

Bug
Hello, This library is awesome!
but, Flash Preset behaves strangely at React Native 0.61.5.
The example provided works very well,
but if you change the react native version to 0.61.5, the bug is reproduced.
It only happens on Android.
Environment info

Library
Version

@gorhom/animated-tabbar
1.2.0

react-native
0.61.5

react-native-reanimated
1.7.0

react-native-gesture-handler
1.6.0

react-native-svg
12.1.0

Steps To Reproduce

Use animated-tabbar on react native 0.61.5

Thank you.

It only happens on Android.

hi @harucsx , thanks for reporting this issue , i'll investigate it as soon as i get free time :)


In GEOSldas, use only a sparse checkout of GEOS_Util?

@weiyuan-jiang : When running GEOSldas parallel_build.csh, mepo init tends to take a long time when it is getting the external GEOS_Util repo.  The latter consists of >1,000 files, and we probably only need a handful (pre/remap_restart/*).  For reference, the entire GEOSldas (incl external repos) consists of ~4,000 files.
I might have miscounted, and I might be missing something else we need from GEOS_Util besides remap_restart.py.  But it's worth a try to see if we can do a sparse checkout for GEOS_Util.  When you get a chance, can you please take a look?  Thanks!
cc: @biljanaorescanin

After we have tag from GEOS_Uti,  this PR can have sparse checkout of GEOS_Util.
Do we need sparse checkout of GMAO_Share? @gmao-rreichle

Do we need sparse checkout of GMAO_Share? @gmao-rreichle

Maybe.  I didn't look into the size of what we need relative to the total size of GMAO_Shared.  Something to look into.  Maybe just run mepo intialize and see if any repo other than GEOS_Util slows things down

addressed in #711


Fix view z calculation for 'distance' used as sort key

Objective

Fix incorrect mesh sorting in wireframe and examples that use custom sorts

Solution

The model translation must be transformed by the inverse view transform.   So, you transform the model by the inverse view transform.
To get the view space z of the object, we can calculate the dot product of row 2 of the inverse view matrix and the object's translation, which is stored in column 3 of the object transform.
Add constructors for Opaque3d,  AlphaMask3d,  Transparent3d,  Transparent2d in order to correctly calculate the sort key using the inverse view transform and mesh transform
Make phase item struct members private to encourage use of the constructors

Changelog

Fixed: Sort order of wireframe meshes
Changed: Add constructors for Opaque3d,  AlphaMask3d,  Transparent3d,  Transparent2d in order to correctly calculate the sort key using the inverse view transform and mesh transform, and make phase item struct members private to encourage use of the constructors

@cart I'd like your input on the phase item constructors that I've added to try to force correct calculation. It feels a bit controversial to me. Also, I'm not super keen on having to pass matrices as the API but the main alternative I see is to try to get people to pass inverse view row 2 and model column 3 by naming the function parameters as such and that feels sketchy too.

I definitely like these constructors as they simplify common use cases / cut down on sources of error. But I'm opposed to making them the only way to construct phase items. These phases are intended to be as generic and unopinionated as possible. Ex: we shouldn't be dictating that Opaque phase items have a Mat4 transform (or use an inverse_view when computing distance).

Cool. I think that probably frees me up to use a slightly less ergonomic but better-performing and documented constructor then that allows caching the row 2 vector of the inverse view matrix rather than this approach that requires extracting and constructing it for each call. I just did it this way to try to force doing the right thing because people had done the wrong thing and then copied and pasted it to other places and it spread.  That said, someone could just pass the view matrix instead of inverse view and then it’s the same problem as originally. Not really sure how to encourage or enforce correct usage.

Not really sure how to encourage or enforce correct usage.

I think this is a "with great power comes great responsibility" situation. Generally people touching these apis should already be comfortable with the render pipeline and its requirements. I'm ok with some level of trust here, in the interest of flexibility / clarity. Ex: i dont think moving the concept of InverseView(Mat4) into the type system is worth the cognitive load of the abstraction.

Not really sure how to encourage or enforce correct usage.

I think this is a "with great power comes great responsibility" situation. Generally people touching these apis should already be comfortable with the render pipeline and its requirements. I'm ok with some level of trust here, in the interest of flexibility / clarity. Ex: i dont think moving the concept of InverseView(Mat4) into the type system is worth the cognitive load of the abstraction.

Then it seems we will just have to expect that people will do it wrong if they aren’t familiar with how matrix transformations work and why the inverse view matrix is needed in this case. Alternatively put, we expect that people to understand matrix transformations and that the inverse view matrix is needed here. Ok.
I’ll change the constructors to use the vectors instead, for better performance, and double check the documentation is present and clear for those constructors, and make the struct members public again.

I think #5014 is a better solution to this but I’ll see how it pans out.

Fixed by #5014


Enable dbus delay signals for internal processing delay.

I've raised this as a draft PR for discussion because:

I'm not sure if there is a reason why D-Bus signalling was omitted originally.
I'm not sure of the GIO dbus thread handling. This solution emits dbus signals from the transport I/O thread, but without any locking. Is that safe?
My choice of a 10ms difference threshold to limit the rate that signals can be emitted is entirely arbitrary with no specific evidence to justify it.

I'm not sure if there is a reason why D-Bus signalling was omitted originally.

It was omitted due to lack of time to implement that :D Many thanks for that!

I'm not sure of the GIO dbus thread handling. This solution emits dbus signals from the transport I/O thread, but without any locking. Is that safe?

Yes, it should be safe. Internally signal is just a D-Bus message, and messages are sent by g_dbus_connection_send_message which is thread safe.

My choice of a 10ms difference threshold to limit the rate that signals can be emitted is entirely arbitrary with no specific evidence to justify it.

I'm going to use such delay for the client-delay signaling as well and it's also arbitrary decision (based on commersial headset delay report updates). However, during testing, I've also added time-rate limiting logic (https://github.com/arkq/bluez-alsa/pull/516/files#diff-8bfb2124e7db1e5681c384f69b807d2a22821e0db287cab13d9ea0eb000cff81R827) because during playback start I could unnecessarily flood other device with lots of delay reports (the 1s rate limit is also based on some commercial headset). It's implemented on the client side, but maybe it should be moved to the bluealsad... I'll have to check how this delay report signaling will work with your PR. I hope that the client-delay will be merged soon (after support on BlueZ side will fully land in upstream).

I can see that you've used ba_transport_pcm_delay_sync to notify everyone about delay change, but the ba_transport_pcm_delay_sync function does not have any hysteresis/throttling for sending D-Bus signals (it has that for updating BlueZ Delay property). I think that at least some kind of hysteresis might be required there otherwise we will DDoS D-Bus daemon :D


TrieDedup collapsing?

Hi! :D
I have come across you cool algorithm and I was wondering if there is a way for using it in barcode sequence collapsing (no Ns in the sequences and length of ~35 nucleotides) or by the contrary I am wrong an your algorithm cannot work as UMIClusterer from UMItools or UMICollapse.
Thank you a lot!!
Pedro

Hi Pedro,
Thank you for your interests in our tool.  The algorithm can be potentially extended to apply to UMIs, which has not been implemented in current version yet.  In my opinion, sequences without ambiguous Ns can be simply and efficiently deduplicated by hash, so our tool focuses on the harder problem with ambiguous Ns.  We may extend it for UMIs and include another branch of hash deduplication for not allowing Ns in the future version, but current version may be slower due to careful checking possible Ns.
Best regards,
Adam Yongxin Ye

Thank you for the clear respose!
Best :D
Pedro


Use create_XXXX! methods

View https://github.com/aptible/aptible-resource/issues/30 for rationale, https://github.com/aptible/aptible-cli/issues/172 for timing.
cc @fancyremarker

[Current coverage][cc-pull] is 83.56%

Merging [#173][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #173   diff @@
==========================================
  Files            24         24
  Lines           864        864
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            722        722
  Misses          142        142
  Partials          0          0

Powered by Codecov. Last updated by [eba5020...f27567c][cc-compare]
[cc-base-branch]: https://codecov.io/gh/aptible/aptible-cli/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/aptible/aptible-cli/compare/eba50200f695e5397327899b30f4e6874849503e...f27567cf2da43c93ac6409404552cc789689e391
[cc-pull]: https://codecov.io/gh/aptible/aptible-cli/pull/173?src=pr

👍

@blakepettersson do you know what  codecov/patch — 42.85% of diff hit (target 83.56%) means?

@krallin I think it means that of the lines that have been changed in this PR, 42% of those lines have code coverage in the tests.

@blakepettersson do we want to keep that?

@blakepettersson to expand on that last comment. I'm not entirely convinced this adds much value for us here. I can see why this default might make sense in general, but I feel it'll result in a lot of false positives (which in turn makes views like pending PRs in Github a little less usable) unless we substantially increase test coverage first.
So, if it were up to me, I'd rather we remove it (it looks like there's a YAML file we can provide — I'm happy to send this), but let me know if you think otherwise.
Cheers,

@krallin yeah I see what you mean. I'm fine with removing the patch check in this repo.


Plane finding api for hololens help

Overview
How does the min area specified for Plane Finding api work. I need to understand the parameter function in better way.
Expected Behavior
if i increase the min area, only bigger chunks of floor/wall must be detected and vice-a-versa.
Actual Behavior
Increasing the area actually produces offset where planes, specificially floor are getting detected with some unacceptable level of offset.
Steps to reproduce
(Links to sample github project preferred)
Unity Editor Version
Unity 2017.2.1p4
Mixed Reality Toolkit Release Version

Closing issues older than 180 days. If this is still an issue, please reactivate with recent information.


Barrows plugin widget won't go away

Describe the bug
Barrows brother widget which which shows which brothers are killed and the current reward potential does not go away if you leave the Barrows minigame, I was able to have it on screen for hours after leaving the minigame and doing something else and it just stayed on my screen showing stats from my last run.
To Reproduce
Steps to reproduce the behavior:

Go to Barrows
Complete a run
Widget wont go away even if you leave and do something else like tithe farm

Expected behavior
Widget should go away after leaving Barrows
Environment:

OS: Windows 10
RuneLite version: 1.8.2
Launcher version: 2.1.6

Here's an example of this happening following steps to reproduce

I was able to reproduce this by waiting in the chest room after looting it. When the next prayer drain happens, the overlay will come back and will not go away. I did kill all 6 brothers if it matters.
This seems to be caused by the vanilla barrows brothers widget appearing again, but with a width and height of 0. Adding  || barrowsBrothers.getWidth() == 0 to the early return in BarrowsBrothersSlainOverlay#render fixed this issue for me.

This is still happening and can only be resolved by restarting RuneLite, reloading the plugin makes the overlay come back


feat(core): complete define_metric feature parity

Description

Fixes WB-NNNNN
Fixes #NNNN

What does the PR do? Include a concise description of the PR contents.

[ ] I updated CHANGELOG.md, or it's not applicable

Testing
How was this PR tested?

Superseded by #7781


Watch task should execute automatically on workspace open

In the tasks.json configuration file, you can specify a task to be defined as a watch task by stating isWatching: true.  I don't believe I see any benefit to explicitly stating that a task is a watch task.
What I believe would be useful is if the watch task defined in tasks.json is actually started automatically by VS Code upon opening the workspace.
From what I can tell, currently you need to explicitly start your watch task task <watch-task-name>.

This is an extremely important feature which shall be implemented as soon as possible.
I'd be careful about security concerns, though: On the first launch of a specific project, VS Code should ask if the user wants to enable automatic watching, and warn for potential security issues.

Duplicate of #17147

Closing as duplicate then.


Not working after upgrading to api level 26 with android studio 3.0，Error： android.database.sqlite.SQLiteException: no such table: FavEntity (code 1): , while compiling: SELECT * FROM FavEntity ORDER BY sid DESC

please help me，think you

Just uninstall the app and run again

I'm having the same issue

@YongshengLuan @LycInSzu @pdivita @cbedoy @oguzayan  Just uninstall the app and run again

Same problem here, i am not able to use Sugar anymore.
Cannot resolve symbol "SugarRecord".

have you solved the problem? Can you tell me your solution ?

have you solved the problem? Can you tell me your solution ?

Disabling Instant Run worked for me. Do a cleanup of the project just in case


gpgkey cannot specify more than one of content, source

Affected Puppet, Ruby, OS and module versions/distributions

Puppet: 2019.8.5
Ruby: unsure
Distribution: Puppet Enterprise
Module version: 4.3.0

How to reproduce (e.g Puppet code you use)
puppet apply --modulepath /home/pat/modules -e 'class { "yum": manage_os_default_repos => false, }'

with the following added locally into the "yum" module. I understand that that is not the right way to do it. I only did it to create the smallest test case I could with the least amount of work.
I added the following to yum/data/common.yaml
yum::gpgkeys:
  /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7:
    source: puppet:///modules/yum/RPM-GPG-KEY-EPEL-7
yum::managed_repos:
  - 'local_epel'
yum::repos:
  local_epel:
    ensure: 'present'
    descr: 'EPEL for RHEL7'
    baseurl: 'http://reposerver.vanguard.com/epel7/'
    enabled: true
    gpgcheck: true
    gpgkey: 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7'

I created a "files" dir in "yum" module and I added the gpg key file from EPEL to yum/files directory
What are you seeing
Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, You cannot specify more than one of content, source (file: /export/home/nt018238/puppet/dev/modules/yum/manifests/gpgkey.pp, line: 50, column: 18) (file: /export/home/nt018238/puppet/dev/modules/yum/manifests/init.pp, line: 140) on node xyz.vanguard.com

What behaviour did you expect instead
I expected

the file /etc/yum.repos.d/local_epel.repo to be created with content enabling gpg key and pointing to file in /etc/pki/rpm-gpg
the file /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 to be created from files dir within module
rpm --import to run for the file created in /etc/pki/rpm-gpg

Output log
See "What are you seeing above"
Any additional information you'd like to impart
I feel as though I have crafted my yaml correctly to accomplish my goal following the examples in the README. What have I done wrong to cause this compilation/evaluation error?
Sorry if I am using the "issue tracker" here inappropriately. Wasn't sure if this was an acceptable use
First time posting an "issue" on github. I wanted to assign the "question" label to this "issue". I can't seem to do that. Are labels only applied by the project owners?

I figured out what I was doing wrong. Because /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-* exists in the module data, the merge of my hieradata, which specified "source", was duplicating data provided by the module data causing the error. I simply needed to remove the "source" line from my hieradata. Sorry for wasting anyone's time with this question/issue


add virtio gpu support

see http://lists.freedesktop.org/archives/dri-devel/2015-March/079867.html

Just saw this "issue" accidental. I am already working on enhancement on virtio to support it.
So jor1k will support it sooner or later.
Who wants to write an opengl to webgl translation in a few months? ;)

That's not too difficult, it's already planned for JSIX

My solution would entail AMD modules, but I should imagine you could port it to your own thing.
When a DLL is loaded, and function is called, it is downloaded via requirejs and executed before returning to the process being executed.  Binary DLLs also happen in this manner via kernel32.dll/LoadLibrary and kernel32.dll/GetProcAddress (and of course the imports field in the PE JSON header).
JSIX Application Update:
I am on holiday all next week so I hope to have a couple of apps completed and published into the web.  I have a hosting provider, SSL and CDN ready.
You can check progress @ http://test.emulayer.com from tomorrow, I'm still compressing js at the moment.
What works:

Notepad (Provided by wine project) -> Works but need to continue porting functions and needs tweaks.  IT WILL CRASH because functions are missing, but by the end of the week it will be done.
WineMine (Also wine) -> Got to the menu, but need to sort out jwtk.
cmd (Untested)
AkelPad (Works but again still porting functions so it will crash)
Notepad++ (Works but still . . . you get the picture).
WineFile (Untested)
Write works fully (when porting I didn't realise all it does is run WordPad and then exits(), oops)

Planned:
At least two fully working apps by the end of the week supported on Firefox, Chrome and IE 11.
Data Storage is provided by OneDrive and Google.  At the minute when an open dialog box is opened it will just load "Lorem Ipsum . . .".  No Saves or anything for a couple of days.
Longer Term:

More complex apps
OpenGL (perhaps), and audio capability
Basic Games

Notepad, after clicking "Edit -> Date/Time", Many functions to implement though.  Rendering is slightly off for now.

WineMine (MineSweeper clone).  Need to enhance jwtk to render the grid buttons.  Just menu working for now [and registry accesses and what not]

Any ideas for apps?  Porting is becoming a lot easier and quicker as time goes by.  I've been scouring portableapps.com as well and most of those are feasible and are under going testing/integration also.

Ok copy, smacke,
As promised in my email a few weeks ago, proof of concept is up at http://test.emulayer.com
On my computer (slow), network (~50 Mb/s fast), app load time is about 20 seconds (No CDN or enhancements yet, SPDY and what not).
Second run (cache), 10 seconds.  All apps take approximately the same depending on what code is executed prior to ShowWindow()/CreateWindow[Ex].
Once a CDN is active, we can (in theory) halve these times.
In JSIX Iteration 7, [end of the year/next year], we have further optimisations to implement, just lets get a few apps out first.
Whilst smaller apps are optimal, really large apps can work too due to the chunked data, i.e. if an app is 1GB in size, and your executing 24MB of it you only get those chunks that are being executed [.text and .data segments for example].  That's a feature of the PE JSON format, plus the chunks are compressed using LZG and uncompressed in the virtual memory controller.
Microsoft(R) Windows(TM) compatibility JavaScripts are just AMD modules loaded on the fly by requirejs.
Wine also works but is slower, so:
*kernel32.dll
*user32.dll
*advapi32.dll
*msvcr[X].dll
*commctl32.dll
*commdlg32.dll
*gdi32.dll
*ntdll.dll
*ole32.dll
*shell32.dll
*version.dll
and libwine.dll
are all written/encoded in JavaScript, although they are only partial implementations and are being ported in a function by function basis.  Depending on the app, some functions may never be ported [as it's never called]

That looks already pretty promising. Unfortunately you can't do much at the moment. I can basically click in the menus. What do you think about implementing Minesweeper or Solitar?

Regarding the virtio gpu driver: Sounds like a cool project, but I'm not convinced that there are big performance gains from this. v86 currently implements  Bochs VBE extensions, which provide a linear frame buffer. The only improvements the virtio driver seems to have over that are pixel formats and a hardware cursor. Am I missing something here?
@warpcoil Very nice. Maybe some interpreters like Python or PowerShell? Have you tried .NET applications? If this is mature enough, MS Office would be very interesting. How about Firefox?
Do you need something from us? I have fixed a pretty serious CPU bug in 6978f963fa, make sure to upgrade if you haven't already.

I partly have implemented virtio gpu today. It is indeed just a little bit more advanced framebuffer what you get. However I hope for some hardware acceleration in the future. Also I want to understand how it works.

@s-macke Yes, long way to go. winemine (aka minesweeper) is on the way.
@copy PowerShell is a no no because of copyright/licensing.  Python, yes definitely wouldn't take too much, I'll look at that today.  Firefox would work but I'd say performance would be an issue, along with MS Office.
I'm thinking smaller apps for now to reduce bugs.
CPU bug todo, but issue not yet encountered.

Still haven't implemented it fully. But I see one good reason. Looks like you only have to update the screen on certain commands. Like during the flush command. A background job, which permanently updates the screen with 10-30fps would be unnecessary. Especially when switching to a worker thread this might be important.

Closing since my suggestion suffers from the XY problem: Instead of defining specific benchmark for graphics and suggesting how to achieve it, I suggested a specific way that I thought would speed up graphics. As noted by copy above:

I'm not convinced that there are big performance gains

So I'll close this. Bugs should be actionable unlike this one.

@warpcoil Your server's down.

@hello-smile6 Yeah, that was years ago i.e. before WebAssembly. The project stalled for a while as time was always an issue. I don't currently use v86 in this project and switched to libx86emu (which does compile with Emscripten). I'll bring that back up online at some point.

@hello-smile6 Yeah, that was years ago i.e. before WebAssembly. The project stalled for a while as time was always an issue. I don't currently use v86 in this project and switched to libx86emu (which does compile with Emscripten). I'll bring that back up online at some point.

Okay

@hello-smile6 Yeah, that was years ago i.e. before WebAssembly. The project stalled for a while as time was always an issue. I don't currently use v86 in this project and switched to libx86emu (which does compile with Emscripten). I'll bring that back up online at some point.

is it online yet?

Let's reopen this.
Even though I'm not planning to work on it, it'd still be useful for graphics performance, especially now that the cpu is fast(-ish).
Note that there are several options with varying amounts of complexity (see https://www.qemu.org/docs/master/system/devices/virtio-gpu.html):

virtio-gpu 2d: Reasonably complex, can probably be implemented with 2d canvas operations
virtio-gpu virglrenderer: Very complex, as we'd need to reimplement virglrenderer and/or translate opengl to webgl
virtio-gpu rutabaga: Probably similar to virtio-gpu virglrenderer


[CIRCLE-17179] [WIP] Store current tags

Checklist

[X] I've run make from the root directory to see all Dockerfiles are created successfully.
[X] I've updated the documentation if necessary.

Motivation and Context
start working on a solution to better / more easily (for customers) display, not just every tag that exists, & not just the full dockerfiles for each commit, but the specific lists of tags pushed on each commit, so folks can figure out, at a glance, which tags have been recently built vs. which ones are likely older / may not include recent bugfixes / patches / etc.
Description
currently, we are just storing each tag as a CircleCI artifact, AFTER it's been pushed to Docker Hub (to ensure that every tag we store, really has been published), but we should then aggregate them somehow & store them at some static endpoint

Closing due to inactivity and a refocus on next-gen images for new features.


Using AirBnB preset for eslint

We used to use airbnb presets for jscs so I implemented/fixed all the issues for airbnb preset for eslint.
The only file that really had a lot of "scary" changes was the transfer-jump feature which is currently hidden anyway.
Everything else was just cosmetic.

Thank you for all the back end clean up you've been doing, much appreciated!


Custom label

From @geonu on March 13, 2018 2:31
We want adding our custom label by rule. like this
Copied from original issue: dependabot/feedback#102

@greysteil A related question. Is it possible to replace a label? For example, if I want to replace security label with the critical label, is that possible?


TMOPt split fem/quadinterpolator [tmopt-split-quadinterp]

Extracted from the #1484 (tmopt) branch.
This PR adds the support for different modes of QuadratureInterpolator on GPU.
The layout (QVectorLayout::byNODES|byVDIM) and the tensor modes can be enabled before calling the Mult, Values, Derivatives, PhysDerivatives and Determinants methods.
One of the three parallel PRs that splits #1484

Removed default DofToQuad::TENSOR to use fespace's UsesTensorBasis

[x]  mesh: GeometricFactors/GetGeometricFactors
[x] fespaces: GetQuadratureInterpolator with IntegrationRule and QuadratureSpace

PR
Author
Editor
Reviewers
Assignment
Approval
Merge

#1737
@camierjs
@v-dobrev
@YohannDudouit + @dylan-copeland
09/08/20
⌛due 09/22/20
⌛due 09/29/20

LGTM

@kmittal2 and @vladotomov, please disregard the review request for this PR -- I asked @YohannDudouit and @dylan-copeland instead -- this is not directly related to TMOP, so I think it will be easier for them to review, and also I wanted to spread out the reviews a bit more.

LGTM

The new kernels in fem/kernels.hpp appear to be used only in code related to QuadratureInterpolator so far. In future work, would it be good to use them in PA kernels to reduce lines of code and prevent bugs? Has there been any study of the performance impact of using these kernels, for QuadratureInterpolator or PA kernels? It would be interesting to see if some sample runs are affected in terms of run time.

All the tmopt kernels use fem/kernels.hpp, I brought just what was needed here, but yes, that was a way to reduce the lines of code. I haven't heavily benchmarked it, but it should be the same.

The new kernels in fem/kernels.hpp appear to be used only in code related to QuadratureInterpolator so far. In future work, would it be good to use them in PA kernels to reduce lines of code and prevent bugs? Has there been any study of the performance impact of using these kernels, for QuadratureInterpolator or PA kernels? It would be interesting to see if some sample runs are affected in terms of run time.

@dylan-copeland I'm working on this in this branch

Comments have been addressed, new changes can be reviewed.

LGTM

Codecov Report

Merging #1737 (660360f) into master (f4a99fa) will increase coverage by 0.28%.
The diff coverage is 88.48%.

@@            Coverage Diff             @@
##           master    #1737      +/-   ##
==========================================
+ Coverage   61.77%   62.05%   +0.28%
==========================================
  Files         398      409      +11
  Lines      117015   117709     +694
==========================================
+ Hits        72286    73050     +764
+ Misses      44729    44659      -70

Impacted Files
Coverage Δ

general/backends.hpp
100.00% <ø> (ø)

general/forall.hpp
100.00% <ø> (ø)

linalg/dtensor.hpp
100.00% <ø> (ø)

fem/quadinterpolator.cpp
73.68% <71.34%> (+27.05%)
:arrow_up:

fem/quadinterpolator_eval_by_vdim.cpp
79.16% <79.16%> (ø)

fem/quadinterpolator_grad_by_vdim.cpp
80.00% <80.00%> (ø)

fem/quadinterpolator_grad_phys_by_vdim.cpp
81.48% <81.48%> (ø)

fem/quadinterpolator_grad_phys_by_nodes.cpp
84.12% <84.12%> (ø)

fem/quadinterpolator_eval_by_nodes.cpp
85.89% <85.89%> (ø)

fem/quadinterpolator_grad_by_nodes.cpp
86.48% <86.48%> (ø)

... and 24 more

Continue to review full report at Codecov.

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

LGTM

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@789fe95). Click here to learn what that means.
The diff coverage is 88.48%.

@@            Coverage Diff            @@
##             master    #1737   +/-   ##
=========================================
  Coverage          ?   62.59%
=========================================
  Files             ?      410
  Lines             ?   117878
  Branches          ?        0
=========================================
  Hits              ?    73786
  Misses            ?    44092
  Partials          ?        0

Impacted Files
Coverage Δ

general/backends.hpp
100.00% <ø> (ø)

general/forall.hpp
100.00% <ø> (ø)

linalg/dtensor.hpp
100.00% <ø> (ø)

fem/quadinterpolator.cpp
73.68% <71.34%> (ø)

fem/quadinterpolator_eval_by_vdim.cpp
79.16% <79.16%> (ø)

fem/quadinterpolator_grad_by_vdim.cpp
80.00% <80.00%> (ø)

fem/quadinterpolator_grad_phys_by_vdim.cpp
81.48% <81.48%> (ø)

fem/quadinterpolator_grad_phys_by_nodes.cpp
84.12% <84.12%> (ø)

fem/quadinterpolator_eval_by_nodes.cpp
85.89% <85.89%> (ø)

fem/quadinterpolator_grad_by_nodes.cpp
86.48% <86.48%> (ø)

... and 7 more

Continue to review full report at Codecov.

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

LGTM

LGTM

LGTM

@camierjs, you should double check the changes I made in this commit: 82bafe8. I think they are correct but I may be missing something.

LGTM

With the latest commit (326a7f5), the "QuadratureInterpolator" unit test should work on GPUs as well. I tested it on Lassen with #2207 merged into this branch.
@camierjs, @YohannDudouit, @dylan-copeland, one last time: can you confirm you are okay with the latest changes?

@v-dobrev I have not looked at this PR since December 8, when I approved, and even then my understanding of this topic was not very deep. It would take some time to review it all again, but I trust it has been sufficiently reviewed by you, @YohannDudouit, and @camierjs.

Merged in next for testing...

@YohannDudouit, @camierjs, I merged the PR in next to start the testing, however, we can still address any potential suggestions you may have regarding my latest commits.

LGTM


Add base_repo_url parameter

This allows to use the module with custom mirrors.
Fixes GH-8.

Awesome stuff, complete with docs and tests!
Many thanks.

Released to the Forge as version 6.2.0.


Revert "fix:change name to pass the doc build"

Reverts ssut/py-googletrans#228

Coverage remained the same at 91.288% when pulling 57876b73842d183644e9755f57407fb874f8c0fa on revert-228-master into 1d8ce5581b731f65d7e132a2d6890e9862570311 on master.

Coverage remained the same at 91.288% when pulling 57876b73842d183644e9755f57407fb874f8c0fa on revert-228-master into 1d8ce5581b731f65d7e132a2d6890e9862570311 on master.


Hey, good work. How can I cite the ICLR 2024 version of this paper instead of the arxiv version?

Hey, good work. How can I cite the ICLR 2024 version of this paper instead of the arxiv version?

Hi @2391134843,
thank you! You can cite the ICLR version using the following bibtex code:
@inproceedings{Bdeir2024,
     title={Fully Hyperbolic Convolutional Neural Networks for Computer Vision},
     author={Ahmad Bdeir and Kristian Schwethelm and Niels Landwehr},
     booktitle={The Twelfth International Conference on Learning Representations},
     year={2024},
     url={https://openreview.net/forum?id=ekz1hN5QNh}
}

got it, thanks~


notifies :redeploy fails, but manually notifying :stop, :remove and :run works

Reference: https://snap-ci.com/rapidftr/RapidFTR/branch/master/logs/defaultPipeline/74/DEV?back_to=build_history
notifies :redeploy, ..., :immediately

Fails randomly. Instead we have switched to:
notifies :stop, ..., :immediately
notifies :remove, ..., :immediately
notifies :run, ..., :immediately

And that works consistently well better. Any ideas what could be the issue?
EDIT: That doesn't work consistently well, it just works "better", and does fail occasionally.

This is my experience as well. When using :redeploy I get an error about not being able to remove an running container. As a fix I'm using action [:stop, :remove, :run].

FIxed in master


making navbar responsive and a button above the footer

navbar is made responsive , changing acc. to screen size.
a button is used to go to top of page.

hello sir @deepak-raaaz , please merge this work.
please attach hacktoberfest tag


URL in description needs to be updated

It is not HTTPS

Which description?

This one:

Done! An actionable issue ... closed!
!m @techtonik 😃 💃


< 安卓.上传图片> 相机权限默认是禁止的。直接跳转到了相册。

Environment

Technology
Version

Flutter version
3.0

Plugin version
5.3.2

Xcode version
13.3

Description
1.相机权限默认是禁止的。直接跳转到相册。
2.开启相机权限，闪退。
3.授权被拒绝后，无法再弹出授权
4.无法直接跳转到相机拍照
##具体现象见下面本人文章记录
https://www.jianshu.com/p/bf0707988afc
##其他
不知最新版本修复此问题没有，若无，请辛苦修复下~

The question is based on inAppWebiew
I didn't find the answer among the many existing questions
I think it will be more intuitive for you to say this differently, and I hope you can test it more:
< Running on the iPhone, photos are uploaded with a picker box that separates the album from the camera; But when running on an Android phone, it goes straight to select File/Photo, no picker pops up >
Details:
The same four I mentioned last time:
1. Camera permission is disabled by default. Jump directly to the album.
2. Enable the camera permission and blink back.
3. After the authorization is rejected, the authorization cannot be displayed again
4. Unable to directly jump to the camera to take photos（Can be ignored）
Detailed in my record article: https://www.jianshu.com/p/bf0707988afc
Test method:
You put a fixed url in the in_app_webiew_example.screen.dart class: https://ant.design/components/upload-cn/, and then respectively on the iphone and android mobile phone click the upload button to check the effect.
Problem:
Because of these problems, I had to change the source code and then put the plug-in into the project, which was very troublesome.
Expectations:
android works the same as iOS.
Select picker when the camera or album is selected. Authorization will pop up and you can operate after authorization.
Attached:
ios rendering

android rendering

Enable camera permission and crash.

To request permissions, such as camera and microphone, you need to use some other packages, such as permission_handler.
Example:
import 'package:permission_handler/permission_handler.dart';

Future main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Permission.camera.request();
  await Permission.microphone.request();
  // ...
}

Implement the androidOnPermissionRequest event, for example:
androidOnPermissionRequest: (controller, origin, resources) async {
  return PermissionRequestResponse(resources: resources, action: PermissionRequestResponseAction.GRANT);
}

and add your specific permissions in your AndroidManifest.xml file, for example:
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.VIDEO_CAPTURE" />
<uses-permission android:name="android.permission.AUDIO_CAPTURE" />

Also, starting with plugin version 5.5.0, Android now have direct camera capture feature.


Thread awareness is not available on QEMU targets

Describe the bug
gdb is unable to show threads list while debugging an executable on Zephyr QEMU targets. Instead of full thread list only the one running thread (current thread) is shown.
This is only an issue with the various Zephyr QEMU targets; thread awareness works as expected with the hardware targets I have tested, through OpenOCD.
To Reproduce
Steps to reproduce the behavior:

west build -b qemu_x86 zephyr/samples/philosophers/
ninja debugserver
[zephyrsdk path]/x86_64-zephyr-elf/bin/x86_64-zephyr-elf-gdb zephyr/build/zephyr/zephyr.elf
Halt execution and issue info threads
See only one running thread

Expected behavior
A complete list of all program threads shown, preferably with their name and priority.
Impact
This makes it harder to debug highly concurrent applications for issues such as thread synchronization.
Logs and console output
Expected output (example from board iotdk):
west debug
(gdb) continue
(gdb) ^C
(gdb) info threads
  Id   Target Id                                                                   Frame
* 2    Thread<PHONE_NUMBER> "idle" (Name: idle, prio:40,useropts:1)                   arch_cpu_idle ()
    at /home/mendesb/zephyrproject/zephyr/arch/arc/core/cpu_idle.S:49
  3    Thread<PHONE_NUMBER> "Philosopher 5" (Name: Philosopher 5, prio:-2,useropts:4) 0x00003ce2 in ?? ()
  4    Thread<PHONE_NUMBER> "Philosopher 4" (Name: Philosopher 4, prio:-1,useropts:4) 0x00003ce2 in ?? ()
  5    Thread<PHONE_NUMBER> "Philosopher 3" (Name: Philosopher 3, prio:0,useropts:4)  0x00003ce2 in ?? ()
  6    Thread<PHONE_NUMBER> "Philosopher 2" (Name: Philosopher 2, prio:1,useropts:4)  0x00003ce2 in ?? ()
  7    Thread<PHONE_NUMBER> "Philosopher 1" (Name: Philosopher 1, prio:2,useropts:4)  0x00003ce2 in ?? ()
  8    Thread<PHONE_NUMBER> "Philosopher 0" (Name: Philosopher 0, prio:3,useropts:4)  0x00003ce2 in ?? ()

Actual output from qemu_x86:
(gdb) continue
(gdb) ^C
(gdb) info threads
  Id   Target Id                    Frame
* 1    Thread 1.1 (CPU#0 [running]) 0xe61db94c in ?? ()

Environment

OS: Ubuntu 22.04
Toolchain: Zephyr SDK
Zephyr Commit SHA: fe15f7736c

Moved to https://github.com/zephyrproject-rtos/sdk-ng/issues/691 since this should be an SDK-related issue


test for whole blaze-elements suite doesn't work

I'm submitting a ...  (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => You can submit support request here, but we preffer to chat about it realtime at our [ngParty slack](https://ngparty.herokuapp.com/)

Current behavior

This behaviour started after https://github.com/wc-catalogue/blaze-elements/pull/153
I have no idea why travis allowed to merge this when tests are erorring.
Expected behavior

yarn test should work
This is a high priority !
Looks like skate is not included
Uncaught ReferenceError: skatejs is not defined

LOL so the issue was that my alert had dist folder inside it and it broke whole test suite.
We should clean up all those things before every task run ( test, build ,start )

Closed by https://github.com/wc-catalogue/blaze-elements/issues/183


feat: add buffer_pool_size and check_embedding arguments

add buffer_pool_size and check_embedding

We agreed upon that SimpleIndexer should stay as simple as possible. Therefore, the embedding checking will be moved outside SimpleIndexer.


$cordovaNetwork is not working

$cordovaNetwork  is not working. When I did "alert(JSON.stringify($cordovaNetwork));", It is returning "{}" in ios. Not tested in android though.

It's maybe not related but I have found in the browser of desktop this doesn't cause an issue...however on a device this causes some js error halting the block of code.
So I have to do this to get some initial device testing working
//if ((navigator.connection && $cordovaNetwork.isOnline()) || !navigator.connection) {
if (navigator.connection) {


Monor markdown cleanup in release notes, and move to doc directory

Fixes part of #193.

Strange. I've now the document naming issue. Please re-review. Once merged I will create the issue in ontology-toolkit.

@sa-bpelakh Do you get a notification when I've made the requested changes, or is there some button I'm supposed to push?

Changes merged in #208. Closing this one.


PDF Attachment Fix

Codecov Report

Merging #254 into master will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #254   +/-   ##
=======================================
  Coverage   96.44%   96.44%
=======================================
  Files           9        9
  Lines        1463     1463
  Branches      165      165
=======================================
  Hits         1411     1411
  Misses         30       30
  Partials       22       22

Impacted Files
Coverage Δ

morpheus/app/worker.py
94.58% <100.00%> (ø)

Continue to review full report at Codecov.

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


Update the marker style

Partially complete: See comments
Update the marker style to use coloured circles with the count inside the marker, similar to the WHO threat map https://apps.who.int/malaria/maps/threats - the colours should be based on the species but should have an element of transparency so you can see overlaps and increasing density.
Acceptance Criteria:

[x] The markers are round circles with the count in the middle.
[x] The marker colour is based on the species for the occurence point.
[x] Markers are partially transparent to allow for overlaps.

The backend has been configured but requires tests to be written to reflect the updates. Aside from the changing of the icon to a circle, the frontend is untouched. Therefore, the queries will have to be updated and the marker colour hooked into species - the graphQL playground at http://localhost:3001/graphql should show that the data is available to query:
query Occurrence {
   OccurrenceData(skip:2, take:2){
    items{
    recorded_species{
      species{
        species
      }
    }
    }
  }
}

All AC met, see test TC-4.4.


Fix an issue when the coverage file is empty

What does this PR do?
Fix the following issue when the coverage file is empty
 File "/go/src/github.com/DataDog/datadog-agent/tasks/coverage.py", line 208, in _merge_dev_in_main_coverage
    main_mode_line = main_cov_lines.pop(0)

Motivation
Describe how to test/QA your changes
Possible Drawbacks / Trade-offs
Additional Notes

/trigger-ci --variable RUN_ALL_BUILDS=true --variable RUN_KITCHEN_TESTS=true --variable RUN_E2E_TESTS=on --variable RUN_UNIT_TESTS=on --variable RUN_KMT_TESTS=on


docs: Update documentation CMS_CACHE_PREFIX default value

Description
Update documentation CMS_CACHE_PREFIX default value
Related resources

#7700

Checklist

[x] I have opened this pull request against develop
[ ] I have added or modified the tests when changing logic
[x] I have followed the conventional commits guidelines to add meaningful information into the changelog
[x] I have read the contribution guidelines  and I have joined #workgroup-pr-review on Slack to find a “pr review buddy” who is going to review my pull request.

Thanks @protoroto 👍


Installation with composer does not work

Hi,
i tried to install yii2-tagsinput with composer and I've got the following error.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

    Problem 1
       - Installation request for wbraganca/yii2-tagsinput * -> satisfiable by wbraganca/yii2-tagsinput[1.0.0].
       - wbraganca/yii2-tagsinput 1.0.0 requires bower-asset/bootstrap-tagsinput ~0.5 -> no matching      package found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems

Do you have an idea what went wrong?
Best Regards
Sven

+1


Extension section is empty after reload

Open the new settings editor. Notice that the Extension section has children:

Reload the window. Notice that the Extension section is empty

When closing and reopening the settings editor then the Extension section appears correctly again.

This actually happens in the old settings editor sometimes too.


Technical Writing Mentorship Challenge - "Essential TypeScript Features for Every Developer"

Social Media follow

X

Facebook

LinkedIn

GitHub

Youtube

Repo

Kindly find attached my article's URL
Essential TypeScript Features for Every Developer
https://github.com/Alachi24/Articles/blob/main/Essential TypeScript Features for Every Developer.md

Hello @Alachi24,
The criteria for this challenge was that you send in an article that relates to open-source, technical writing, or both. Are you sure you want to continue with this submission?

Good day @Aahil13,
Indeed, I do.

Hey @Alachi24
This article doesn't fall within the scope of this challenge, and we'll not be reviewing it. Please always endeavour to read instructions properly.

Good day @Aahil13
Based on the criteria, it says open-source, technical writing or both. I understood it as focus on open-source or any other aspect related to technical writing.
Got a wrong message at the end not knowing it's fully on open-source... Thank you.


Add components to FixedPoint type so that it conforms to numbers.Real

FixedPoint type should include the necessary dunders to make it equivalent to a numbers.Real type. This will allow us to use e.g. assertAlmostEqual with FixedPoint arguments.

Resolved by #446


训练停止并未完成，控制台没有报错信息

你好，我遇到了以下问题，训练停止并未完成，控制台没有报错信息，在web端中显示error无法继续，错误信息如下
(py38) C:\Users\shd14\Documents\code\facechain-main\facechain-main>python app.py
2023-11-29 22:48:57,932 - modelscope - INFO - PyTorch version 2.0.1+cu117 Found.
2023-11-29 22:48:57,934 - modelscope - INFO - Loading ast index from C:\Users\shd14.cache\modelscope\ast_indexer
2023-11-29 22:48:57,984 - modelscope - INFO - Loading done! Current index file version is 1.9.5, with md5 0c667a039a9b29271347d22e770d05ed and a total number of 945 components indexed
[['C:\Users\shd14\Documents\code\facechain-main\facechain-main/resources/inpaint_template\1.jpg'], ['C:\Users\shd14\Documents\code\facechain-main\facechain-main/resources/inpaint_template\2.jpg'], ['C:\Users\shd14\Documents\code\facechain-main\facechain-main/resources/inpaint_template\3.jpg'], ['C:\Users\shd14\Documents\code\facechain-main\facechain-main/resources/inpaint_template\4.jpg'], ['C:\Users\shd14\Documents\code\facechain-main\facechain-main/resources/inpaint_template\5.jpg']]
[['resources/tryon_garment\garment1.png'], ['resources/tryon_garment\garment2.png'], ['resources/tryon_garment\garment3.png'], ['resources/tryon_garment\garment4.png']]
Running on local URL:  http://<IP_ADDRESS>:7860
Could not create share link. Missing file: C:\Users\shd14.conda\envs\py38\lib\site-packages\gradio\frpc_windows_amd64_v0.2.
Please check your internet connection. This can happen if your antivirus software blocks the download of this file. You can install manually by following these steps:

Download this file: https://cdn-media.huggingface.co/frpc-gradio-0.2/frpc_windows_amd64.exe
Rename the downloaded file to: frpc_windows_amd64_v0.2
Move the file to this location: C:\Users\shd14.conda\envs\py38\lib\site-packages\gradio
显存足够
** Setting base model to SDXL **
--------uuid:  qw
----------work_dir:  C:\Users\shd14\Documents\code\facechain-main\facechain-main\worker_data\qw\AI-ModelScope/stable-diffusion-xl-base-1.0\person1
2023-11-29 22:50:03,867 - modelscope - INFO - PyTorch version 2.0.1+cu117 Found.
2023-11-29 22:50:03,869 - modelscope - INFO - Loading ast index from C:\Users\shd14.cache\modelscope\ast_indexer
2023-11-29 22:50:03,923 - modelscope - INFO - Loading done! Current index file version is 1.9.5, with md5 0c667a039a9b29271347d22e770d05ed and a total number of 945 components indexed
[['C:\Users\shd14\Documents\code\facechain-main\facechain-main/resources/inpaint_template\1.jpg'], ['C:\Users\shd14\Documents\code\facechain-main\facechain-main/resources/inpaint_template\2.jpg'], ['C:\Users\shd14\Documents\code\facechain-main\facechain-main/resources/inpaint_template\3.jpg'], ['C:\Users\shd14\Documents\code\facechain-main\facechain-main/resources/inpaint_template\4.jpg'], ['C:\Users\shd14\Documents\code\facechain-main\facechain-main/resources/inpaint_template\5.jpg']]
[['resources/tryon_garment\garment1.png'], ['resources/tryon_garment\garment2.png'], ['resources/tryon_garment\garment3.png'], ['resources/tryon_garment\garment4.png']]
2023-11-29 22:50:13.9588041 [W:onnxruntime:, graph.cc:3543 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2649'. It is not used by any node and should be removed from the model.
2023-11-29 22:50:13.9618147 [W:onnxruntime:, graph.cc:3543 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2644'. It is not used by any node and should be removed from the model.
2023-11-29 22:50:13.9648713 [W:onnxruntime:, graph.cc:3543 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2647'. It is not used by any node and should be removed from the model.
2023-11-29 22:50:13.9675510 [W:onnxruntime:, graph.cc:3543 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2658'. It is not used by any node and should be removed from the model.
2023-11-29 22:50:13.9700824 [W:onnxruntime:, graph.cc:3543 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2648'. It is not used by any node and should be removed from the model.
2023-11-29 22:50:13.9734617 [W:onnxruntime:, graph.cc:3543 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2657'. It is not used by any node and should be removed from the model.
2023-11-29 22:50:13.9761604 [W:onnxruntime:, graph.cc:3543 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2653'. It is not used by any node and should be removed from the model.
2023-11-29 22:50:13.9791752 [W:onnxruntime:, graph.cc:3543 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2652'. It is not used by any node and should be removed from the model.
2023-11-29 22:50:13.9819490 [W:onnxruntime:, graph.cc:3543 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2645'. It is not used by any node and should be removed from the model.
2023-11-29 22:50:13.9845896 [W:onnxruntime:, graph.cc:3543 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2643'. It is not used by any node and should be removed from the model.
2023-11-29 22:50:13.9878951 [W:onnxruntime:, graph.cc:3543 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2641'. It is not used by any node and should be removed from the model.
2023-11-29 22:50:13.9905723 [W:onnxruntime:, graph.cc:3543 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2633'. It is not used by any node and should be removed from the model.
2023-11-29 22:50:13.9935002 [W:onnxruntime:, graph.cc:3543 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2632'. It is not used by any node and should be removed from the model.
2023-11-29 22:50:13.9961173 [W:onnxruntime:, graph.cc:3543 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2624'. It is not used by any node and should be removed from the model.
2023-11-29 22:50:13.9986391 [W:onnxruntime:, graph.cc:3543 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2614'. It is not used by any node and should be removed from the model.
2023-11-29 22:50:14.0011645 [W:onnxruntime:, graph.cc:3543 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2613'. It is not used by any node and should be removed from the model.
2023-11-29 22:50:14.0036085 [W:onnxruntime:, graph.cc:3543 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2606'. It is not used by any node and should be removed from the model.
2023-11-29 22:50:14.0064339 [W:onnxruntime:, graph.cc:3543 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2598'. It is not used by any node and should be removed from the model.
2023-11-29 22:50:14.0091208 [W:onnxruntime:, graph.cc:3543 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2596'. It is not used by any node and should be removed from the model.
2023-11-29 22:50:14.0116885 [W:onnxruntime:, graph.cc:3543 onnxruntime::Graph::CleanUnusedInitializersAndNodeArgs] Removing initializer 'const_fold_opt__2594'.


fix(Build): Update lockfile and config file to include new template

Forgot to add these files when I rebased.

📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5e8b70bdcc95e67630962c41--codecademy-styleguide.netlify.comDeploy Logs

📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5e8b776fda95f48de763ae0f--codecademy-styleguide.netlify.comDeploy Logs


Highlight matching brackets outside

Hello
It is possible to highlight matching brackets while cursor is outside but next to bracket?
I mean something like this:

The cursor touch this bracket but outside.
Native VS Code matching works like that

Due to the lack of response from the author, I close the ticket


Cannot use splash:set_user_agent when using proxy.

Been struggling quite a bit today on the 'execute' endpoint. I have got a very simple Lua script which goes to a page, make a search, submit and reach the search page.
The script works perfectly without proxy and also with proxy (the proxy is submitted with the proxy arg). However, when I try to add a User-Agent with splash:set_user_agent within the Lua script, I get the following error:
{
"type": "ScriptError",
"error": 400,
"description": "Error happened while executing Lua script",
"info": {
	"source": "[string \"function main(splash)...\"]",
	"type": "LUA_ERROR",
	"error": "JsError({'js_error_type': 'TypeError', 'type': 'JS_ERROR', 'message': 'JS error: \"TypeError: undefined is not an object (evaluating \\'rect.left\\')\"', 'js_error': \"TypeError: undefined is not an object (evaluating 'rect.left')\", 'js_error_message': \"undefined is not an object (evaluating 'rect.left')\"},)",
	"message": "Lua error: [string \"function main(splash)...\"]:12: JsError({'js_error_type': 'TypeError', 'type': 'JS_ERROR', 'message': 'JS error: \"TypeError: undefined is not an object (evaluating \\'rect.left\\')\"', 'js_error': \"TypeError: undefined is not an object (evaluating 'rect.left')\", 'js_error_message': \"undefined is not an object (evaluating 'rect.left')\"},)",
	"line_number": 12
}

}
The user-agent is also added as an argument and then used in Lua script with splash.args.user_agent. Surprisingly, if I do NOT submit a proxy, the script runs perfectly and the user-agent is passed normally.
I basically have to choose between using proxies OR changing the user-agent. That does seem really counter effective to me.
I also tried using the method splash:set_custom_headers and have exactly the same behavior.

What proxy are you using? Some proxies change User-Agent themselves.

I'm using dedicated proxies from buyproxies.org. I've already changed UAs with those IPs before (or so I thought).
I went through Splash documentation, and it seems I could handle both user-agent and proxy within the Lua script, using a splash:on_request function. I'll try this and come back here with the results.

Shall we assume it worked?


Allow generation and use of Organization API Tokens

Feature Request: we would love to generate, manage and use Organization API Tokens rather than our own user ones since we do a lot of AppCenter CLI work through our CI/CD.
Let us know how we can help :)

I don't know about organization tokens, do we have that in the portal?
Have you considered using "app tokens" instead of user tokens? Those can easily be shared within a team of collaborators.

@jp-andre I cannot find it if it exists - but I think what you recommended might work for now, however, we automatically create the apps based off env etc....so it's a race-condition. Unless we have an overarching token which can create, build, deploy any app within the organisation (same deal as a normal user account). Does that make sense?

It totally makes sense but I'm afraid there is no support for org tokens at this point in app center, so this is not a CLI issue.
You can browse and open a new issue in https://github.com/microsoft/appcenter instead, though we may not be able to address the request in the near future, see note.

Got it! Thanks. Shall I leave this one here open and linked to for the future, or reopen later?

If you don't mind, we would rather close it here. Thanks for your understanding and follow-up on the main repo!


fix build failures for branches - 0.41 through 0.45

We discovered a build failure in PR (https://github.com/tektoncd/pipeline/pull/6201) which is updating knative dependencies. The LTS released branch - release-v0.41.x was failing our CI process. We have introduced a beta tests in the plumbing but the configurations for that check is missing from release-v0.41.x through release-v0.44.x. I was able to cherry pick all the necessary commits into release-v0.41.x to fix the failure. release-v0.41.x is crucial being an LTS release and has to be buildable/releasable until it's EOL (October, 2023).

release
tests failing
PR fixing failures
status

release-v0.41.x
beta
https://github.com/tektoncd/pipeline/pull/6213
Done

release-v0.42.x
beta
needs fix
pending

release-v0.43.x
beta and build
needs fix
pending

release-v0.44.x

Done

release-v0.45.x
build
needs fix
pending

TODO:

[x] Cherrypick https://github.com/tektoncd/pipeline/pull/6213 to release-v0.42.x
[x] Cherrypick https://github.com/tektoncd/pipeline/pull/6213 to release-v0.43.x
[x] Cherrypick https://github.com/tektoncd/pipeline/pull/6213 to release-v0.44.x
[ ] ./hack/update-deps.sh using Go 1.19 for release-v0.43.x (update https://github.com/tektoncd/pipeline/pull/6203)
[ ] ./hack/update-deps.sh using Go 1.19 for release-v0.44.x (update https://github.com/tektoncd/pipeline/pull/6226)
[ ] ./hack/update-deps.sh using Go 1.19 for release-v0.45.x (update https://github.com/tektoncd/pipeline/pull/6204)

Notes:

Build is failing for release-0.42.x - https://github.com/tektoncd/pipeline/pull/6202
Build is failing for release-0.43.x - https://github.com/tektoncd/pipeline/pull/6203
Build is failing for release-0.45.x - https://github.com/tektoncd/pipeline/pull/6204

We have had a patch release for 0.41 and 0.44:
https://github.com/tektoncd/pipeline/releases/tag/v0.41.2
https://github.com/tektoncd/pipeline/releases/tag/v0.44.2
0.42, 0.43, and 0.45 are EOL now 💀
The branches (0.41 and 0.44) are buildable. This issue is resolved.
/close


Cannot read property 'defineFunctionProperties' of undefined when deploy

Bug Report
Description
SLS deploy throws error when using lambda-insights
What did you do?
sls deploy --verbose -s dev

What happened?
TypeError: Cannot read property 'defineFunctionProperties' of undefined
What should've happened?
should deploy successfully
What's the content of your serverless.yml file?
service: mysvc #change service name will be different deployment
custom:
  stage: ${opt:stage, self:provider.stage}
  domains:
    certificateArn:
      prod: ---
      dev: ---
      test: ---

  customDomain:
    domainName: ${opt:stage, self:provider.stage}.---.com
    stage: ${opt:stage, self:provider.stage}
    # basePath: 'v1'
    endpointType: 'regional'
    createRoute53Record: true
    region: ap-northeast-1
    certificateArn: ${self:custom.domains.certificateArn.${opt:stage, self:provider.stage}}
    serverless-offline:
      noPrependStageInUrl: true
  lambdaInsights:
    defaultLambdaInsights: false

plugins:
  - serverless-python-requirements
  - serverless-domain-manager
  - serverless-step-functions
  - serverless-offline
  - serverless-plugin-lambda-insights

package:
  exclude:
    - node_modules/**
    - .idea/**
    - .requirements/**
    - env/**
    - README.md
    - package.json
    - package-lock.json
    - requirements.txt
    - venv/**

provider:
  name: aws
  stage: ${opt:stage, dev}
  runtime: python3.7
  region: ap-northeast-1
  RoleName: "${self:service}-${self:provider.stage}-serverless-role"
  iamRoleStatements:
    - Effect: Allow
      Action:
        - dynamodb:Query
        - dynamodb:Scan
        - dynamodb:GetItem
        - dynamodb:PutItem
        - dynamodb:UpdateItem
        - dynamodb:DeleteItem
        - dynamodb:DescribeTable
        - dynamodb:BatchWriteItem
      Resource: "arn:aws:dynamodb:${opt:region, self:provider.region}:*:*"

    - Effect: "Allow"
      Action:
        - "states:StartExecution"
      Resource:
        - "*"

    - Effect: "Allow"
      Action:
        - "cognito-idp:AdminInitiateAuth"
      Resource: "arn:aws:cognito-idp:${opt:region, self:provider.region}:*:*"

functions:
  wf:
    name: ${self:service}-${self:provider.stage}-wf
    handler: mybot.handler
    lambdaInsights: true
    environment:
      ENV: ${self:provider.stage}
    events:
      - http:
          path: /api/msg/send
          method: post
          cors: true

resources:
  Resources:
    CognitoUserPool:
      Type: "AWS::Cognito::UserPool"
      Properties:
        AliasAttributes:
          - email
          - phone_number
        AutoVerifiedAttributes:
          - email
        MfaConfiguration: OFF
        UserPoolName: ${self:service}-${self:provider.stage}-user-pool
        Policies:
          PasswordPolicy:
            MinimumLength: 6
            RequireLowercase: False
            RequireNumbers: True
            RequireSymbols: False
            RequireUppercase: True

    CognitoUserPoolClient:
      Type: "AWS::Cognito::UserPoolClient"
      Properties:
        ClientName: ${self:service}-${self:provider.stage}-user-pool-client
        GenerateSecret: False
        ExplicitAuthFlows:
          - ALLOW_ADMIN_USER_PASSWORD_AUTH
          - ALLOW_CUSTOM_AUTH
          - ALLOW_USER_SRP_AUTH
          - ALLOW_REFRESH_TOKEN_AUTH
        UserPoolId:
          Ref: CognitoUserPool

    ApiGatewayAuthorizer:
      DependsOn:
        - ApiGatewayRestApi
      Type: AWS::ApiGateway::Authorizer
      Properties:
        Name: ${self:service}-${self:provider.stage}-cognito-authorizer
        IdentitySource: method.request.header.Authorization
        RestApiId:
          Ref: ApiGatewayRestApi
        Type: COGNITO_USER_POOLS
        ProviderARNs:
          - Fn::GetAtt: [CognitoUserPool, Arn]

    GatewayResponseDefault4XX:
      Type: 'AWS::ApiGateway::GatewayResponse'
      Properties:
        ResponseParameters:
          gatewayresponse.header.Access-Control-Allow-Origin: "'*'"
          gatewayresponse.header.Access-Control-Allow-Headers: "'*'"
        ResponseType: DEFAULT_4XX
        RestApiId:
          Ref: 'ApiGatewayRestApi'

    GatewayResponseDefault5XX:
      Type: 'AWS::ApiGateway::GatewayResponse'
      Properties:
        ResponseParameters:
          gatewayresponse.header.Access-Control-Allow-Origin: "'*'"
          gatewayresponse.header.Access-Control-Allow-Headers: "'*'"
        ResponseType: DEFAULT_5XX
        RestApiId:
          Ref: 'ApiGatewayRestApi'

What's the output you get when you use the SLS_DEBUG=* environment variable (e.g. SLS_DEBUG=* serverless deploy)
sls deploy --verbose -s dev
Serverless: Load command interactiveCli
Serverless: Load command config
Serverless: Load command config:credentials
Serverless: Load command config:tabcompletion
Serverless: Load command config:tabcompletion:install
Serverless: Load command config:tabcompletion:uninstall
Serverless: Load command create
Serverless: Load command install
Serverless: Load command package
Serverless: Load command deploy
Serverless: Load command deploy:function
Serverless: Load command deploy:list
Serverless: Load command deploy:list:functions
Serverless: Load command invoke
Serverless: Load command invoke:local
Serverless: Load command info
Serverless: Load command logs
Serverless: Load command metrics
Serverless: Load command print
Serverless: Load command remove
Serverless: Load command rollback
Serverless: Load command rollback:function
Serverless: Load command slstats
Serverless: Load command plugin
Serverless: Load command plugin
Serverless: Load command plugin:install
Serverless: Load command plugin
Serverless: Load command plugin:uninstall
Serverless: Load command plugin
Serverless: Load command plugin:list
Serverless: Load command plugin
Serverless: Load command plugin:search
Serverless: Load command config
Serverless: Load command config:credentials
Serverless: Load command rollback
Serverless: Load command rollback:function
Serverless: Load command upgrade
Serverless: Load command uninstall
Serverless: Load command requirements
Serverless: Load command requirements:clean
Serverless: Load command requirements:install
Serverless: Load command requirements:cleanCache
Serverless: Load command create_domain
Serverless: Load command delete_domain
Serverless: Load command invoke
Serverless: Load command invoke:stepf
Serverless: Load command offline
Serverless: Load command offline:start

  Type Error ---------------------------------------------

  TypeError: Cannot read property 'defineFunctionProperties' of undefined
      at new AddLambdaInsights (/somepath/node_modules/serverless-plugin-lambda-insights/index.js:28:36)
      at PluginManager.addPlugin (/usr/local/lib/node_modules/serverless/lib/classes/PluginManager.js:78:28)
      at /usr/local/lib/node_modules/serverless/lib/classes/PluginManager.js:115:31
      at Array.forEach (<anonymous>)
      at PluginManager.loadAllPlugins (/usr/local/lib/node_modules/serverless/lib/classes/PluginManager.js:115:8)
      at /usr/local/lib/node_modules/serverless/lib/Serverless.js:96:35
      at processImmediate (internal/timers.js:461:21)
  From previous event:
      at Serverless.init (/usr/local/lib/node_modules/serverless/lib/Serverless.js:94:8)
      at Object.<anonymous> (/usr/local/lib/node_modules/serverless/bin/serverless.js:79:4)
      at Module._compile (internal/modules/cjs/loader.js:1063:30)
      at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
      at Module.load (internal/modules/cjs/loader.js:928:32)
      at Function.Module._load (internal/modules/cjs/loader.js:769:14)
      at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
      at internal/main/run_main_module.js:17:47

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com

  Your Environment Information ---------------------------
     Operating System:          darwin
     Node Version:              14.15.1
     Framework Version:         1.72.0
     Plugin Version:            3.6.13
     SDK Version:               2.3.1
     Components Version:        2.30.14

@CiscoKidxx @baby3873575 - it seams like the error pops up because of an old version of the Serverless Framework.
To use the Plugin properly - please update your version.
Anyway, the following PR will check for the 'TypeError: Cannot read property 'defineFunctionProperties' of undefined' error.

Thanks @CiscoKidxx , @cstanger. There is no error after upgrade serverless framework.


How to label certain category of primitives in the semantic image?

Steps to reproduce

Change the code that loads the primitive id. If the id == let's say floor's id (40, get from the semantic.json file), pass the id to the texture generation procedure, or else pass id = 0 or a hard coded value.
compile the tool
run with a replica dataset.

Observed Results
The whole semantic result is a dark blue image, even the RGB result shows indeed floor inside the image.

What happened?  This could be a description, log output, etc.

Expected Results
I expect the all the wall will be one color while the other parts be in a solid color in the semantic png result.

What did you expect to happen?

Relevant Code
https://github.com/facebookresearch/habitat-sim/blob/eb191d19165a32101a3745bde03518ddfe86155e/src/esp/assets/GenericInstanceMeshData.cpp#L187
// TODO(you): code here to reproduce the problem

for (auto id : tmp) {
 if(id != 40) {
     id = 0;
  }
  objectIds_.emplace_back(id);
  if (vertexPerFace == 4)
    objectIds_.emplace_back(id);
}

The ID's in the mesh are the instance ID's, not the semantic class ID's.

Does this means the generated image the mesh color represent instance not semantics?
So is that possible to visualize certain types in term of semantics in the room model?
Thank you.

For the replica dataset, there is mapping between the instance IDs and the semantic label IDs already in the annotations.  You can get it like
import json
import numpy as np

with open("./apartment_0/habitat/info_semantic.json", "r") as f:
    annotations = json.load(f)

instance_id_to_semantic_label_id = np.array(annotations["id_to_label"])

Then you can do
sem_seg = instance_id_to_semantic_label_id[obs['semantic']]

Hi Erik
Your suggestion works. Thanks for pointing me out to the correct direction.
Todd


Android 9 clicking back while scanning exits app

Expected Behaviour
clicking back button should go back to the previous page
Actual Behaviour
exits app
tested on android 9
cordova cli 7.1.0

maybe the same issue like this: https://github.com/phonegap/phonegap-plugin-barcodescanner/issues/717

Using Ionic's ionViewCanLeave lifecycle event seems to work in preventing the view from exiting.

Within IonViewCanLeave() method we can either return true or false depending on if we want to leave that view, I am setting a boolean variable to false before the barcode.scan() method is called, now when the user  tries to exit while barcode scanner is on it wont exit the view as the ionViewCanLeave() returns that boolean false.

That will prevent leaving of current page and fix the issue. But wouldn't it also prevent any navigation to other pages after setting that boolean to 'false'.

I think the idea is to set it to false when you call scan, and then set it to true once you receive the success or error callback

Variable did not work for me.
This is the work around i came up with.
In scanner page
ionViewCanLeave() {
    let canGoBack = this.canGoBackService.getValue();
    this.canGoBackService.setValue(true);
    return canGoBack;
  }```

And in cancellation of scan block i wrote

```javascript
if(barcodeData.cancelled) {
 if(this.platform.is('android'))
          this.canGoBackService.setValue(false);
}```

Dedicated service to maintain the boolean.

```javascript
import { Injectable } from '@angular/core';
@Injectable()
export class CanGoBackService {
	private canGoBack = true;
	constructor() {}

  public setValue(value: boolean) {
    this.canGoBack = value;
  }

  public getValue(): boolean {
    return this.canGoBack;
  }
}```

And before all the transition from scan page i had manually set boolean to true.
```javascript
this.canGoBackService.setValue(true);
this.nav.push(MyPage)

This worked fine for me.
Still trying to find out better way.


Subscribe/close throws exception

Hi,
I think I found a bug. It occurs in following situation:
When I subscribe to characteristic with connection.openNotificationSubscription(notificationCharacteristic) and
connection closes before I get the chance to unsubscribe from characteristic. I get this exception:
kotlinx.coroutines.CoroutinesInternalError: Fatal exception in coroutines machinery for CancellableContinuation(DispatchedContinuation[Unconfined, Continuation at com.beepiz.bluetooth.gattcoroutines.extensions.ReceiveChannelKt$withCloseHandler$1.invokeSuspend(ReceiveChannel.kt:26)@8d3a248]){CompletedExceptionally[com.beepiz.bluetooth.gattcoroutines.ConnectionClosedException: The connection has been irrevocably closed.]}@93e38e1. Please read KDoc to 'handleFatalException' method and report this incident to maintainers
        at kotlinx.coroutines.DispatchedTask.handleFatalException$kotlinx_coroutines_core(Dispatched.kt:275)
        at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:246)
        at kotlinx.coroutines.EventLoop.processUnconfinedEvent(EventLoop.common.kt:65)
        at kotlinx.coroutines.DispatchedKt.resumeUnconfined(Dispatched.kt:389)
        at kotlinx.coroutines.DispatchedKt.dispatch(Dispatched.kt:295)
        at kotlinx.coroutines.CancellableContinuationImpl.dispatchResume(CancellableContinuationImpl.kt:250)
        at kotlinx.coroutines.CancellableContinuationImpl.completeResume(CancellableContinuationImpl.kt:327)
        at kotlinx.coroutines.channels.AbstractChannel$ReceiveHasNext.resumeReceiveClosed(AbstractChannel.kt:965)
        at kotlinx.coroutines.channels.AbstractSendChannel.helpClose(AbstractChannel.kt:332)
        at kotlinx.coroutines.channels.AbstractSendChannel.close(AbstractChannel.kt:271)
        at kotlinx.coroutines.channels.ArrayBroadcastChannel$Subscriber.checkOffer(ArrayBroadcastChannel.kt:259)
        at kotlinx.coroutines.channels.ArrayBroadcastChannel.checkSubOffers(ArrayBroadcastChannel.kt:127)
        at kotlinx.coroutines.channels.ArrayBroadcastChannel.close(ArrayBroadcastChannel.kt:66)
        at com.beepiz.bluetooth.gattcoroutines.GattConnectionImpl.closeInternal(GattConnectionImpl.kt:141)
        at com.beepiz.bluetooth.gattcoroutines.GattConnectionImpl.close(GattConnectionImpl.kt:120)

While investigating, I realised that you attach close handler to notifications channel which causes the exception:
notificationChannel.withCloseHandler {
    setCharacteristicNotificationsEnabled(characteristic, enable = false)
}

setCharacteristicNotificationsEnabled(characteristic, enable = false) will fail if device is not connected.
I also realise that you have disableNotificationsOnChannelClose flag which could handle this case, but I don't think that would be the right way to handle my use case. In my case, remote device suddenly initiates (unexpected) connection close which triggers this exception.
I think this exception shouldn't happen, library should check if connection is alive before calling setCharacteristicNotificationsEnabled(characteristic, enable = false).
I posted a PR with my proposed solution.
You can reproduce this bug very easily:

Open subscription on characteristic
Close connection before unsubscribing from characteristic

Hi, I'm sorry for the late reply, but here it is:
Checking the connection is alive before doing something can be a fail-fast optimization, but other than that, it cannot prevent sudden connection drops, so checking the connection somehow before using it would only reduce occurrences of that behavior.
I'll take a look at your PR soon, still.

For what it's worth, @grubesa's change was a big help to me. I have a situation where the device can suddenly go out of range, so graceful disconnects are not an option.

Hello, I finally released a new version (after almost 3 years 😓 ), it's on MavenCentral and should avoid un-preventable crashes like this one.
I'll let you read the (short) release notes of the version 0.5.0 to learn a bit more before you update.
BTW, BleGattCoroutines is, as you'd expect, now on MavenCentral.


Expose runtime render/bootstrap the same way as core/bootstrap

With untool/core we can use bootstrap to quickly create a mixinable container and call defined mixin methods on this container.
Unfortunately this only works for core mixins.
I need to be able to access getApolloCache from the hops-graphql package and therefore have hacked the following code:
import { environmentalize } from '@untool/core/lib/env';
import { getConfig } from '@untool/core/lib/config';
import define from 'mixinable';

process.env.UNTOOL_NSP = 'hops';
const bootstrap = (configOverrides = {}) => {
  const config = environmentalize(getConfig(configOverrides));
  const mixins = config.mixins.server.map((mixin) => require(mixin));
  const strategies = mixins.reduce(
    (result, mixin) => ({ ...result, ...mixin.strategies }),
    {}
  );
  return define(strategies, mixins)(config);
};

const mixinContainer = bootstrap((config) => {
  config.mixins = ['hops-graphql'];
  return config;
});

Maybe we could make it so that bootstrap has two arguments bootstrap(configOverrides, mixinType) where mixinType can be one of browser | server | runtime or something similar instead of hardcoding server.
Also: Not sure if this is actually a good idea, because some mixins contain code that needs to be run through webpack before it can be used..
Usecase: I need to run this in jest in order to have access to the correctly configured fragment matcher of hops-graphql.

I will have to think about this a bit - apart from your own doubts, I do not exactly love the fact that this would (obviously) only word in a node environment and we tend to keep runtime stuff universal wherever possible.
Anyway, I can imagine adding code very similar to what you proposed as a test-only utility export.

@ZauberNerd would it not be possible to use/test (an instance of) your Mixin directly, i.e. without container, and just mock the methods and config values you are actually using? I.e. monkey-patch the instance you are testing?

@dmbch yes, I think something like that is more robust - or maybe even just implement the logic needed for the test helper yourself. All other things would potentially break if webpack-isms are used in some of the mixins and therefore would require a webpack build.


Fix auth for documentation

Thanks for PR. Alexanders PR #96 already added the same code so I will just close this one


Upload images and labels used to generate the models on public repository

The images and labels we used to generate ADS models should be made available on OSF, so that:

it gives us an opportunity to version our models with a publicly-available dataset (excellent for comparison).
it gives other groups an opportunity to test other approaches against ADS

Should we upload this data to the AxonDeepSeg OSF, or your separate histology OSF project?

I would suggest ADS OSF (for now)

To do:

[ ] Copy the folders /duke/projects/axondeepseg/raw_data/data_SEM and /duke/projects/axondeepseg/raw_data/data_TEM
[ ] Delete all the other subfolders besides 3_done/

@alzaia please confirm if that the training was done using any of the other subfolders (0_to_segment/, 1_to_correct/, and 2_to_check/), some of which have images in them.

[ ] Cleanup 3_done/ so that it is in a format ready to be used by our data patching tool

should be 3_done/(folder)/(image.png + mask.png + pixel_size_in_micrometer.txt)
SEM has the pixel sizes, but TEM doesn't. @jcohenadad or @alzaia, what was the pixel sizes of the raw TEM data acquired? And are they the same for all images (for SEM, they are not.)? The paper seems to suggest they are all 0.02, I just want to check.

[ ] Copy 3_done/ for each SEM and TEM to more descriptive folder names for OSF
[ ] Upload each to OSF
[ ] Create patched data for training
[ ] Upload patched data to OSF + training/validation/testing split details

I think this is important too, because differences in the final model could result in bad patching (from either us or other folks), e.g. interpolation method for masks.

[ ] Train model

We need to do this again since I recently fixed our patching interpolation mode
Use @vs74 's data augmentation branch

[ ] Upload model + training details

e.g. the commit # used for training & which OSF version of the patched data that was used.

One more thing to note is that the number of images in the folders don't agree exactly to how many were reported in the paper for SEM. I found 15 images, but only 12 are reported in the paper:

Also, I don't know which images exactly were used as test images (for both SEM and TEM, except for one SEM I believe since it's the same one as in our repository for testing). Can I arbitrarily choose the testing ones, or @jcohenadad do you want to try and match up the exact same training/validation/testing split as the paper ? (I don't know if this'll be possible, but I can try).

Actually for TEM there is a guide in another folder for the splitting of the datasets. Not for SEM though.
TEM:
Training : 7 - 9 - 10 - 11 - 13 - 14 - 26 - 27 - 29 - 30 - 31 - 34 - 35 - 36
Validation : 15 - 25 - 28 Note : 25_0002 needed to be removed
Test : 12 - 32 - 33

Validation and tests id were drawn randomly.
then Creation of patches

I concur that 20160718_nyu_mouse_25_0002 does not contain a proper dataset (it only contains one file, image.png (missing the mask.png), and as shown below, is not actually a raw image file)

@jcohenadad do you want to try and match up the exact same training/validation/testing split as the paper ? (I don't know if this'll be possible, but I can try).

no, let's be pragmatic and just upload a clean dataset, as heterogeneous as possible, and with ground truth as good as possible

@mathieuboudreau You are right, only the samples under 3_done/ were used for the training.

@mathieuboudreau and yes, all the TEM samples of the mouse splenium had the same pixel size.

Done.
SEM: https://osf.io/vrdpe/
TEM: https://osf.io/uewd9/


Get Started with SAP Cloud Platform Workflow

Group: https://developers.sap.com/group.cp-workflow-cf.html
This tutorial content is now loading!

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


Incorrect coloring on tabs and reveiced texts/chat messages

The picture says it all. Same for groups, single threads. Also the same for chat and SMS messages

Windows 10 on the latest version

Toggling the dark mode on and off seems to have fixed the issue

Toggling the dark mode on and off seems to have fixed the issue


implement rate limiting for admin api

as discussed in the meeting @philprime

@flohoch please add your notes to this issue so we can find it again in the future


Modest dependency updates

Java target to 8
Maven to latest version
Hibernate components to latest not requiring code/config changes

Canceling this pull request. I have realized there are many items around Weld dependency injection, Jetty, etc. and a whole complicated library dependency hell that needs to be addressed before even considering switching the runtime version to 1.8


In the USDM_CT please don't use strikethrough in the official tabs

The USDM_CT file uses cells with struck through text.  This is difficult to process programmatically, changes like this should be tracked in a different way (maybe a changelog tab or similar), the Entities & Attributes and Value set tabs should represent the current state

For Internal Review onwards these strike throughs will be removed. The USDM_CT_Changes.xls file will document the changes made.


[kubernetes] bump a deprecation warning from 5.12 to 5.13

pretty self explanatory

This warning is not released yet. The plan was to show the warning starting from 5.11 and remove the option in 5.12, but 5.11 ended up not shipping our code so we'll show the warning starting from 5.12 and drop the setting in 5.13 instead.

Aaaah, thanks for the explanation!


Create Web Installer Module

It will be easier to provide Web Interface for installation/Upgrades. All board software do have this.
@DaSourcerer  do you have any opinion as how to do it? AFAIK, ciims have kind of installer that is quiet nice and we can glean some insights since its coded in Yii

Officially unsupported!

Officially unsupported!


drivers/Cache_redis.php Call to a member function set() on null

CI  V3.1.9
$config['host'] = '<IP_ADDRESS>';
$config['password'] = NULL;
$config['port'] = 6379;
$config['timeout'] = 0;
$this->load->driver('cache');
$this->cache->redis->save('foo', 'bar', 10);
Fatal error: Call to a member function set() on null in D:\Vhosts\catv\system\libraries\Cache\drivers\Cache_redis.php on line 193
A PHP Error was encountered
Severity: Error
Message: Call to a member function set() on null
Filename: drivers/Cache_redis.php
Line Number: 193

This is most likely the php redis extension not loaded. CodeIgniter should have thrown an exception immediately when you loaded the cache driver, rather than allowing you to call the save function. I've pushed some changes that should fix that.

Please follow #5562.

Getting this error:-
Type: Error
Message: Call to a member function sRemove() on null
Filename: C:\wamp64\www\services\system\libraries\Cache\drivers\Cache_redis.php
Line Number: 196
Backtrace:
File: C:\wamp64\www\services\application\controllers\Redis.php
Line: 6
Function: save
File: C:\wamp64\www\services\index.php
Line: 315
Function: require_once
Please help!

i have the same problems