Doesn't work with chatGPT

OpenAI just released the chatgpt api:
https://openai.com/blog/introducing-chatgpt-and-whisper-apis
https://platform.openai.com/docs/models/gpt-3-5
I've added "gpt-3.5-turbo"  in openAICompletionEngine in the plugin settings but it doesn't work.
I get this:
Unknown OpenAI Error
and

Hey @Vitorvlv , I'm working on supporting this now. Should be out in a couple days.
This new model requires me to call a new endpoint, unlike the previous models they released, so it takes some changes on my side, but should be pretty straightforward to implement.
Should be a nice update since they say it's as good as the earlier models but 10x cheaper!

Hey @Vitorvlv , I'm working on supporting this now. Should be out in a couple days.
This new model requires me to call a new endpoint, unlike the previous models they released, so it takes some changes on my side, but should be pretty straightforward to implement.
Should be a nice update since they say it's as good as the earlier models but 10x cheaper!

Great! This is the first thing I tried when I got the email from Open AI this morning: your plug-in is super useful!
In the same vein, as the Whisper API is now available, being able to upload an audio file and get the transcribed text directly in Logeq would be pretty cool!

@marcsachet I'll implement the whisper API integration as well. It would be really cool to take voice notes using the app and then use the plugin to transcribe them
I updated the project roadmap to add that. https://github.com/users/briansunter/projects/1
Right now, I plan on implementing this, then the multi-block select, then the whisper integration.
Should be able to finish the chatgpt pretty quick, then get whisper out in the next couple of weeks.

@marcsachet I'll definitely implement the whisper API integration as well. It would be really cool to take voice notes using the app and then use the plugin to transcribe them
I updated the project roadmap to add that. https://github.com/users/briansunter/projects/1
Right now, I plan on implementing this, then the multi-block select, then the whisper integration.
Should be able to finish the chatgpt pretty quick, then get whisper out in the next couple of weeks.

Fantastic! it'll be very cool indeed! and not to mention the possible (almost) on the fly translation!

just gave it a shot, working great, thanks!!

Awesome! Glad you like it!

Thanks, @briansunter This very quick work, is Awesome.

Still not working for me
**

**

What's the solution for this issue "Unknown OpenAI Error"?

Still not working for me **  **

First, try to change/regenerate your API key for logseq.
Second, make sure the number "OpenAI Max Tokens" in the plugin setting is 2048 or 1500. It fixed my problem with this.

Still not working for me **  **

same, doesn't work


Fix tests in IE11

Gets the tests passing in IE11. Based on feedback in #1391.

nice work man!

Thanks, that last change is in, can confirm all passing in IE11 now.

Nice work, and thanks!


Project was closed?

Hi @raffaeleguidi i noticed the DirectMemory proposal was retired - on the apache wikis.
Hard to track why the project was retired - may i know the reason?
Was there an alternative to this? Was any progress made or could you share any execution plan even if it was not implemented?
Thanks,
Pushkar Gupta
(we're trying to use a offheap cache to store Java objects for our application :))

Well, back in the days this was needed because no free implementation was available, but due to lack of impulse the project stopped. Good news is that the project stimulated some competition and big names started offering free tiers of commercial implementations and alternatives arrived - see this article for a starting point: https://www.quora.com/Whats-the-best-open-source-solution-for-Java-off-heap-cache

Even though this project was closed, are there any design notes we can use to get inspiration for implementing ourselves?
(assuming that is non propriety information, ok if it's not)

Nvm, sifting through the code in this repo - seems this solution involves encoding objects before storing them in this cache


Build failure: civetweb/http_server with target blackpill_f411ce and CONFIG_DEBUG=y

Describe the bug
Building http_server for board blackpill_f411ce and CONFIG_DEBUG=y fails
To Reproduce
Steps to reproduce the behavior:
west build -p auto -b blackpill_f411ce zephyr/samples/net/civetweb/http_server/ -- -DCONFIG_DEBUG=y

Expected behavior
Build succeded
Impact
It's would be nice with debug output.
Logs and console output
/home/xxx/toolchains/zephyr-sdk-0.14.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.bfd: modules/civetweb/lib..__modules__lib__civetweb.a(civetweb.c.obj): in function `pull_inner':
/home/xxx/Projects/zephyrproject/modules/lib/civetweb/src/civetweb.c:6426: undefined reference to `fileno'
/home/xxx/toolchains/zephyr-sdk-0.14.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/../../../../arm-zephyr-eabi/bin/ld.bfd: modules/civetweb/lib..__modules__lib__civetweb.a(civetweb.c.obj): in function `push_inner':
/home/xxx/Projects/zephyrproject/modules/lib/civetweb/src/civetweb.c:6267: undefined reference to `ferror'

Environment (please complete the following information):

OS: Linux
Toolchain: Zephyr SDK,
Commit SHA or Version used:
zephyr: 47850a301c419df5d01e2c5eef04ca05c48e33e1

Additional context
Seems related to this issue:
#36796
But the same fix does not seem to work (I think)

@rlubos Would you mind having a look? Seems this issue is not STM32 specific but rather linked to sample configuration.

Civetweb is no longer maintained in Zephyr, see https://github.com/zephyrproject-rtos/zephyr/pull/46746 for more details.


Enable Snappy compression support in LevelDb in cmake builds

This PR patches in https://github.com/firebase/firebase-ios-sdk/pull/9596 to enable Snappy compression support in LevelDb databases. This only affects cmake builds.
This change should be reverted once this repository's dependency on the firebase-ios-sdk is upgraded to a version that includes https://github.com/firebase/firebase-ios-sdk/pull/9596.
TODO:

Ensure the test runs in iOS

Googlers see b/227782613 for more details.

I started the "CPP binary SDK packaging" action to make sure that a usable package is produced: https://github.com/firebase/firebase-cpp-sdk/actions/runs/2109321878

You can see the integration test linker error when using the binary SDK here: https://github.com/firebase/firebase-cpp-sdk/runs/5888940999?check_suite_focus=true
I'll work on getting the packaging stuff merged into this branch, stand by.

Integration tests are now building against binary SDK: https://github.com/firebase/firebase-cpp-sdk/actions/runs/2117250300
(waiting to see what happens when they run)

The failing tests show that Snappy support is NOT enabled in iOS. I think this will be fine in Unity but I need to confirm.

Will we disable the test on iOS to get this checked in, or wait for the iOS dependency to be updated?

Will we disable the test on iOS to get this checked in, or wait for the iOS dependency to be updated?

I will disable the test on iOS. There are no plans to add Snappy support to iOS. I had just assumed that iOS had Snappy support, so configured the test run on iOS. Since iOS does not, that's totally fine and I'll just disable the test. The only reason I'm adding Snappy support at all is for the Desktop builds in the Unity SDK, whose previous releases inadvertently included Snappy support because they were compiled internally in Google instead of in GitHub.


Adding find-missing-solutions script & docs

I was perusing the open issues for hacktoberfest & came across #57 .
I started clicking around looking for problems that didn't have a python solution yet, and realized it'd be easier to write a script for that. So I did. This feature isn't strictly captured on the issues page - but it was helpful to me, so I figured I'd create a PR out of it in case it might be helpful to anyone else.
changes

initial add of script
adding a documentation section in Contributing.MD since that's the most likely use
case/customer entry point for this script

concerns:
- script is bash only. It's a simplistic/functional choice, but won't support all
  users
- not a lot of input parameter checking
- this code doesn't attempt to handle the codejam directory

Oh wow, that's quite a nice idea! I think if people see the script on the project root, they might understand what it's for and give it a spin. Thanks for that. 😊
I would go one step further and add a section to the README and mention the script there, too. But this can be done in a separate PR if you like.

ah, good point. I didn't think about discovery from the root. I'll propose an addition to the readme, and evaluate whether the script could use another line or two at the top to explain the purpose.


Disable the button that is clicked to open the modal

I have looked around and have not been able to find the option to disable the button that is clicked to open the modal while it's loading. I have tried using wire:loading and it's not working. It should be working with wire:loading because eventually, livewire is making the same request to the backend to fetch the component data.

I think the wire:loading property is scoped to a given component. You might be able to define your own logic by using the Javascript hooks: https://laravel-livewire.com/docs/2.x/lifecycle-hooks


Correct "HEAP_SIZE" release file value for x86 OpenJ9 builds

Fixes: https://github.com/AdoptOpenJDK/openjdk-build/issues/2412
Currently the HEAP_SIZE value in the release file is incorrect and states "Large" while x86 OpenJ9 binaries are only produced with standard heap size. This PR adds a check for the architecture being built on and factors this in when setting the HEAP_SIZE value.
Old release file for x86:
JAVA_VERSION="1.8.0_282"
OS_NAME="Windows"
OS_VERSION="5.1"
OS_ARCH="i586"
SOURCE="OpenJDK:ab07c6a8fd OpenJ9:345e1b09e OMR:741e94ea8"
IMPLEMENTOR="AdoptOpenJDK"
BUILD_SOURCE="git:10223734"
FULL_VERSION="1.8.0_282-b08"
SEMANTIC_VERSION="8.0.282+8"
BUILD_INFO="OS: Windows Server 2012 R2 Version: 6.3"
JVM_VARIANT="Openj9"
JVM_VERSION="openj9-0.24.0"
HEAP_SIZE="Large"
IMAGE_TYPE="JDK"

New release file for x86:

Signed-off-by: Austin Bailey<EMAIL_ADDRESS>

run tests

run tests

run tests

run tests

Look like J9 on jdk15/16 is struggling at the moment, will retest when issue is fixed.

Look like J9 on jdk15/16 is struggling at the moment, will retest when issue is fixed.

run tests

@austin0  - Did you want to continue with this PR or are you happy to park it given our refactoring efforts?

The builds that are able to run are all passing but but issues with jdk15/16 run tests are preventing it from passing completely. At the very least it doesn't seem to break anything and will hopefully have the correct outcome.

Will likely require a rebase due to the merge of #2132

@M-Davies - no rebase required. Can you check the PR Tester failures in this PR and see if it's related to your recent changes?

@M-Davies - no rebase required. Can you check the PR Tester failures in this PR and see if it's related to your recent changes?

Yes, they are. See https://github.com/AdoptOpenJDK/openjdk-build/pull/2441#issuecomment-773308094

run tests

Needs test. I'll let the PR pass if a follow-up ticket gets created with the objective to create tests for the entire release file.

Yes, I'd be happy to trial run any documentation that gets created (https://github.com/AdoptOpenJDK/openjdk-build/pull/2397#issuecomment-773488556).

Issue has been created to track testing for the release file: https://github.com/AdoptOpenJDK/openjdk-tests/issues/2258.


Various Windows fixes

Return an error if GetStdHandle() returns a null handle, which can happen if running in a context where standard handles are not available.
Avoid closing the handle in prompt_password_stdin(). Similar to STDIN_FILENO in the Unix implementation, the stdin handle is global and needs to stay open or else stdin can't be used anymore.
Switch to using std's HANDLE type.
Use File + AsRawHandle for prompt_password_tty() similar to the Unix implementation. This avoids needing to use CreateFileA() and CloseFile().
Use a str literal for \r\n instead of allocating a String.

Looks great. Thank you!


The version number's location

Is this a bug report?
No
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS:  macOS Sierra 10.12.6
Node:  8.9.0
npm:  5.5.1
Xcode:  Xcode 8.3.3 Build version 8E3004b
Android Studio:  3
Packages: (wanted => installed)
react-native: 0.48.1 => 0.48.1
react: 16.0.0-alpha.12 => 16.0.0-alpha.12
Target Platform: iOS (10.3)
Steps to Reproduce

don't find The version number
and no package.json
and no react-native-implementation.js

Expected Behavior
The version number should be write to in package.json or other, must be marked
Actual Behavior
no marked, don't find The version number
Reproducible Demo
this

Hey @OnlyFlyer
from your pull request here
https://github.com/facebook/react-native/issues/17802
I concluded that you want to "research" on special version only right?
you can do that easily by switching branch on this repo.
so for example, if you want the react-native code base from version 0.30 you can just switch the branch to 0.30-stable.

I find that, thank you, and my English isn't great, Sorry for the inconvenience

Don't worry you English will improve by practice, English is also not my first language.
Since my answer solve your problem, can you kindly close this issue @OnlyFlyer?


Existence of Static Function Prevents Access of Unrelated Static Variable

Tested versions
Reproducible in 4.2stable, 4.3 stable
System information
Windows 11 - Godot 4.2stable, Godot 4.3 stable
Issue description
I truly do not know why this is the case, but in my project the very existence of the below code causes a crash when attempting to access an unrelated static variable. This function is not called before the crash occurs.
class_name CardHelpers
...
static func arrow_to_target_k(origin:CardStub, target:PilotButton)->void:
	#TODO: Add color and/or texture as arguments
	var arrow:TargetArrow = load("res://engine/common/ui_scenes/target_arrow.tscn").instantiate()
	origin.add_child(arrow)
	arrow.unpack(origin.global_position, target.global_position)

The existence of "arrow_to_target_k" causes a crash elsewhere in the project when attempting to access a static variable.
This code:
class_name CardHelpers
....

static func card_by_id(id:String, origin:String)->LogicalCard:
	if origin == "pilot":
		return PilotCardLib.lib[id]

causes the error below:
Invalid access to property or key 'lib' on a base object of type 'GDScript'.
Steps to reproduce
Hit "new game" after running this branch: https://github.com/BluntBSE/ultra_mayor_2/tree/non_crashing_example
to see intended behavior
Hit "new game" after running this branch:  https://github.com/BluntBSE/ultra_mayor_2/tree/crashing_example
to see the crash
Minimal reproduction project (MRP)
Steps to reproduce not exactly known. Crashing/non crashing branches posted above.
Bugsquad edit: Fix codeblock formatting.

I was able to narrow this down a little further:
func arrow_to_target_k(origin:CardStub)->void: 	pass
This useless function will cause the crash if the function is set to take an argument of the custom class, CardStub. If the function is defined as accepting no arguments, or an argument of type int, it does not crash.

Are there parsing errors in CardStub? I've encountered similar errors to this that I was able to resolve by fixing errors in the scripts being referenced. It seemed that anything that tried to reference the script with errors sometimes ended up failing to parse, and anything that tried to reference that script and its members, and so on.

@HolonProduction How are you able to tell which things are initialized first? I suppose I assumed (perhaps naively) that static vars were all sort of initialized on their own before the program started.
Your workaround definitely works, I just don't know how you figured that out. This also suggests to me that it's time to change how all these are stored. I was using this static variable as a placeholder for what should probably be a collection of resources.

@BluntBSE If you implement static func _static_init() -> void, it will be called whenever the static variables of the class are initialized, so you can check exactly when they're getting initialized and from where.
I don't know all the specifics, but I did previously find that if I load a resource subclass for the first time, regular member variables are initialized first, and only then the static variables.

May be related:

#82141
#91117

Thanks so much for the amazing information, people. I was seriously losing my mind a little bit.


Add DateOnly and TimeOnly support

Polyfills for the System.DateOnly and System.TimeOnly types would be nice as well.
This library has it Portable.System.DateTimeOnly.
What do you think? Good idea, bad idea?

I think it's still very useful in case you are designing (or consuming) Web APIs. The service that publishes the API might be from newer .NET version and uses these types, and sometimes you need to consume it in an older .NET version.
Also, it's often not difficult to add support for DateOnly/TimeOnly to serialize/deserialize in certain format, or older EF, etc. In Newtonsoft.Json, it's almost trivial.
To talk numbers, the Portable.System.DateTimeOnly package has over 132K downloads. I think that illustrates that it has value to the users.
It's also possible to use that package together with Polyfill. However, I see great value in having an unified package that does it all. But I'm not sure if this is your vision for Polyfill. If you want to cover as much as possible, or only the selected most useful polyfills.
How about leaving this issue open for a while and see if it gains some interest from other users?

closing this one since there doesnt seem to be more interest


Add an invitiation workflow

Currently there is no UI workflow to add new users to the system. The only options are creating new super-users using the Django script or enabling registration for a limited time. For self-hosted scenarios, it would make sense if the application would support invites. That would make it simple to add specific users (such as family members, friends, colleagues) without setting a password for them.
The workflow would look something like this:

Application provides a page + form to invite a new user per mail
User clicks on link in mail and lands on page / form where they can complete their registration details and set their password
Completing the form enables the account and the user is now able to login

Would need to consider if this needs to be behind a config flag or if the invite feature can be active all the time (for super users).

Rather than sending a mail automatically, it would be a lot easier to just provide an invite link that can be shared however the user likes. If you just want to invite like 3 people, sharing the 3 links is likely faster than having to figure out how to configure an SMTP service.

Agreed, as an admin, having the ability to create an invitation link that can expire in x hours, days... or after a specific number of uses. Very useful in large-scale use cases


fixed issue #6

Hi,
So what i have done is

Rename all images
add alt tags

Fixed issue #6
The code is more systematic and easier to read now

Sorry but this issue was already assigned to someone and she has successfully submitted the PR.


index.js uses relative file paths for readFileSync

https://github.com/tjwebb/pg-json-schema-export/blob/master/index.js#L7
and
https://github.com/tjwebb/pg-json-schema-export/blob/master/index.js#L8
causes
Error: ENOENT, no such file or directory './sql/views.sql'
when requiring pg-json-schema-export from another directory.
Potential fix would be to use __dirname + "/sql/..."
rather than "./sql/..."

I think this should be resolved. Publishing new version to npm now.

confirmed: this resolved my issue


data_pool_* symbol visibility

The new data_pool_* functions seem to be internal-only (or are at least undocumented?) but they appear on the library's exported symbols:
$ objdump -T libmaxminddb.so.0.0.7 | grep data_pool
0000000000003ce0 g    DF .text<PHONE_NUMBER>00007a  Base        data_pool_new
0000000000003e20 g    DF .text<PHONE_NUMBER>000023  Base        data_pool_lookup
0000000000003cb0 g    DF .text<PHONE_NUMBER>000022  Base        data_pool_destroy
0000000000003e50 g    DF .text<PHONE_NUMBER>000054  Base        data_pool_to_list
0000000000003d60 g    DF .text<PHONE_NUMBER>0000b6  Base        data_pool_alloc

These can be hidden using gcc/ld tricks, like the visibility attribute or a version script with e.g. a MMDB_* pattern.

I've tried this:
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,7 +4,7 @@ lib_LTLIBRARIES = libmaxminddb.la

 libmaxminddb_la_SOURCES = maxminddb.c maxminddb-compat-util.h \
        data-pool.c data-pool.h
-libmaxminddb_la_LDFLAGS = -version-info 0:7:0
+libmaxminddb_la_LDFLAGS = -version-info 0:7:0 -export-symbols-regex '^MMDB_.*'
 include_HEADERS = $(top_srcdir)/include/maxminddb.h

 pkgconfig_DATA = libmaxminddb.pc

…but then apparently the data pool test fails with:
data_pool_t-data-pool-t.o: In function `test_data_pool_new':
./t/data-pool-t.c:24: undefined reference to `data_pool_new'
./t/data-pool-t.c:29: undefined reference to `data_pool_new'
./t/data-pool-t.c:34: undefined reference to `data_pool_new'
./t/data-pool-t.c:39: undefined reference to `data_pool_destroy'
[etc.]

Hi @paravoid. Great catch! Yeah, they are intended to be internal.
Regarding the problem with the test, we could possibly do something like this:
--- a/t/Makefile.am
+++ b/t/Makefile.am
@@ -18,6 +18,7 @@ check_PROGRAMS = \

 data_pool_t_CFLAGS = $(CFLAGS) -I$(top_srcdir)/src
 data_pool_t_LDFLAGS = $(AM_LDFLAGS) -lm
+data_pool_t_SOURCES = data-pool-t.c $(top_builddir)/src/data-pool.c

 threads_t_CFLAGS = $(CFLAGS) -pthread

Thanks for the super quick response! That's a smart idea, I can confirm that the combination of the two patches above work as intended.

Cool, thanks for trying it!
As you did most of the work, would you want to make a PR with these changes? Otherwise I'll do so.


Added a chmod example in the description...

I added this because if you search the D docs for chmod no results appear which is confusing for Unix/Linux users. This should help with the search and also provide a useful example.

Why not merged?


ctrl+k is overwritten

Hey folks, fantastic project, unfortunately running into a big issue both on our own project and other websites where this hijacks normal user behaviour of ctrl + k being kill the line from cursor to end of line. Is there any way we can make this not default behaviour?

ehh I'm seeing the rest of the documentation. It's fantastic project but I do disagree with overwriting standard unix key commands, it's at least documented which was what I was asking about :(. Thanks again for your time.


added restart with latest definitions to workflow client

Pull Request Test Coverage Report for Build 2480

3 of 7 (42.86%)  changed or added relevant lines in 2 files are covered.
8 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.02%) to 68.738%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

client/src/main/java/com/netflix/conductor/client/http/WorkflowClient.java
2
4
50.0%

grpc-client/src/main/java/com/netflix/conductor/client/grpc/WorkflowClient.java
1
3
33.33%

Files with Coverage Reduction
New Missed Lines
%

grpc-server/src/main/java/com/netflix/conductor/grpc/server/GRPCServer.java
2
85.71%

client/src/main/java/com/netflix/conductor/client/http/ClientBase.java
3
56.76%

core/src/main/java/com/netflix/conductor/service/Lifecycle.java
3
30.0%

Totals

Change from base Build 2472:
-0.02%

Covered Lines:
9215

Relevant Lines:
13406

💛  - Coveralls


Babble slow-heartbeat config

Make the slow-heartbeat configurable.
Requires adding an option to Babble.

Fixed in b36b505390e2ae2cb3ab3fe972a358af7c124561


FEATURE - Add Semantic Tags for Reccommendation

Semantic tags will be used for reccomendation system. Details will be shown in interest selection and tag area.

Recommendation system has been implemented.


Expected behavior

Screenshots

KubeVela Version

1.7.4
Cluster information

1.23.1
Additional context

This is the expected behaviour for now although it is confusing.

When you pick resources by component name, all the resources rendered by component & trait under that component will be selected. This is case 1.
When you pick resources by component type, all resources rendered by that type of component (not by trait) will be selected. This is case 2. This case is designed for users who want to pick out resources under specific type of components when there are multiple components inside the application.

ok


Move grift to grpc-ecosystem

grift (thrift-over-gRPC) was removed in #10911 because it is too unreliable to keep a dependence on Apache thrift - the repository has recently rewritten its history and we no longer have a valid commit as our submodule. We should restore grift as a grpc-ecosystem member and also move the java version there as well.
Cc: @ejona86
FYI: @chedeti

+1, having thrift in third_party has always annoyed me (but I never had enough free cycles to do something about it).
grpc-ecosystem/grift is the right place for thrift-over-gRPC.


how to use codec

i want to covert mp3 to ogg
ffmpeg command line is ffmpeg -y -i sample.mp3 -acodec libvorbis -aq 50 sample.ogg
how to achive this using sonus

Did you success to install sonus with Composer in your Laravel projetct ?

I rewrite again. FOr now only Laravel 4 is supported.
As for ArbindJain request
try this
Sonus::convert()->input('sample.mp3')->output('sample.ogg')->go(' -acodec libvorbis -aq 50');

I don;t have the time to make it for laravel 5. Actualy just a few days ago I started first serious project on Laravel 5. Is possible in future to migrate but not in near future.
Thanks
PS: anyone could make a pull request, and also i can give permissions to the repo


where is minidump.dmp file?

minidump-stackwalk --symbols-url=https://symbols.mozilla.org/ /path/to/minidump.dmp,i want to have a try

That's intended to be an example commandline where you provide your own minidump. If you simply want to try the tools out you can use any of the dump files in the testdata folder in this repository:
https://github.com/rust-minidump/rust-minidump/tree/main/testdata

That's intended to be an example commandline where you provide your own minidump. If you simply want to try the tools out you can use any of the dump files in the testdata folder in this repository: https://github.com/rust-minidump/rust-minidump/tree/main/testdata

https://github.com/rust-minidump/rust-minidump/issues/786 ,help me to watch this


fix: default repository does not exist and missing dependency containers

Signed-off-by: Letfu<EMAIL_ADDRESS>
Description
Dragonfly2 starts with dependencies on mysql and redis, but they do not exist
in the script. and the default mirror repository d7yio does not exist.
Also some of the containers that depend on it when starting may not be ready
yet, so I added --restart=always.
Related Issue

Motivation and Context
In my use of . /run.sh container I found some problems.
Screenshots (if appropriate)
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.

Codecov Report

Merging #1395 (e114102) into main (be6380a) will decrease coverage by 0.26%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1395      +/-   ##
==========================================
- Coverage   45.62%   45.36%   -0.27%
==========================================
  Files         140      140
  Lines       12059    12059
==========================================
- Hits         5502     5470      -32
- Misses       5927     5960      +33
+ Partials      630      629       -1

Flag
Coverage Δ

Object-compatibility-e2etests
?

e2etests
?

unittests
45.36% <ø> (-0.27%)
:arrow_down:

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

Impacted Files
Coverage Δ

client/daemon/peer/peertask_piecetask_poller.go
30.43% <0.00%> (-16.67%)
:arrow_down:

client/daemon/peer/peertask_conductor.go
57.14% <0.00%> (-1.21%)
:arrow_down:

scheduler/service/service.go
83.16% <0.00%> (+0.61%)
:arrow_up:


fix: setting member_options no longer unsets package on members

This PR fixes a bug where setting member_options in options, caused package and dynamic to be set back to their default values on the members
from quartodoc import blueprint, Builder

cfg = yaml.safe_load("""
quartodoc:
  package: quartodoc
  options:
    member_options:
      signature_name: "short"
  sections:
    - contents:
      - MdRenderer
"""

builder = Builder.from_quarto_cfg(cfg)
blueprint(builder)

Caused the error:
WorkaroundKeyError: Cannot find an object named: render_header. Does an object with the path quartodoc:render_header exist?

Since it unset package from quartodoc.MdRenderer, and fell back on the default package quartodoc (in the top-level config).
The gist is that blueprint uses a function called _non_default_entries to get only the arguments manually specified options (since pydantic automatically puts in the defaults, we need a way to get only the ones users manually specified). However, because member_options are nested inside Auto, and we were converting the pydantic Auto to a dict, we accidentally grabbed the defaults too there.

cc @hamelsmu may be related to the issue you ran into in https://github.com/machow/quartodoc/pull/260 (but seems unlikely, would need to see a reproducible example)


Renaming some things

Hi folks.
There's a bit of confusion around the names of things in Guardian. I'm not surprised because I'm pretty terrible at naming things.
The things that have currently been discussed are:
Functions
Guardian.mint
This function generates a JWT, and calls hooks that incorporate behaviour. Mint does not seem to be a common word for this (it fits! but just not common)
Suggestions so far:
Guardian.encode_and_sign
Guardian.verify
In order to be symmetrical with the replacement for mint, the following has been suggested
Guardian.decode_and_verify
Modules
EnsureSession
This is  just flat out poorly named. It implies that you need to be running a session (which is not true).
An alternative might be
EnsureTokenValidity
VerifyAuthorization
This module fetches a token from the Authorization header, but could be named better.
Open for suggestions.

I would suggest Guardian.sign & Guardian.verify for the functions, as it's fairly common terminology as far as cryptography goes, and mirrors Phoenix.Token. encode_and_sign is a bit tedious, although it is incredibly descriptive; so a bit of a trade-off.
EnsureSession -> EnsureAuthorized or EnsureAuthorization
VerifyAuthorization -> VerifyHeader (Aligns well with VerifySession)
My 0.02C, hope it helps.

Super happy about these changes. Thanks!


Update Composer dependencies (2022-10-22-00-12)

Visual regression test passed!
View the visual regression test report


Increase language support for Spanish.

crisis.js needs to be expanded beyond src/langs/en.js. The src/templates/template.jst file can be used for contribution. The development branch can be used as a starting point.

The gulpfile.js will need to be updated for the language ('es')
A new es.js in src/langs will need to be created matching the spirit of the application to the language.
A new index.es.html will need to be created that explains the application and shows it off with examples.
A new README.ES.MD will need to be created.
Please use global neutral resources for now.

Please make your PRs to the development branch.

I can help you transating everything to spanish :)

That would be wonderful! Feel free to contribute.

@mookman288 Could you explain a bit more about the English format you already have? I think I kind of get it. But I'm not sure, can "primary" and "secondary" words be followed by any "combinations"? And if so, why is it like that versus something else?
I just found this project which does sentiment analysis based on some research derived wordlist. It tries to determine positive or negative sentiment in a string of text. That is to say, it tries to determine if the feeling of a sentence is basically "happy" or"sad". I guess I'm curious if you've considered combining something like that with a more specific keyword search to help minimize false positives? (Note: I'm not sure that minimizing false positives is a good thing in this case if it causes false negatives to occur)

Hi @zenware,
I'm not sure if this discussion is appropriate for this particular issue because it doesn't have to do with the Spanish language translation, but I will answer your questions. If this gets any bigger we should move this to a new issue and we can continue the discussion there.
If you haven't tried the software yet on the gh-pages version, I'd recommend doing so. The combination system that I devised is designed to provide a relatively small footprint when it comes to checking for particular combinations of words and word fragments. That is to say, I didn't want to write out all of the various word combinations I was detecting for, but I wanted those explicit combinations to be detected. Enter regular expressions.
No, I haven't looked at integrating a project like the one you've linked, but that isn't to say it isn't a worthwhile idea. I've thought about various methods to analyze the wording of people's input.
The difficulty I see is a combination of two concerns:

I worry that we will see a greater number of triggers if we try and rank the severity of someones thoughts. Instead, it's my goal in this regard, only to rank the type of combination of words, rather than how severe those combinations may be. This is a nuanced difference. It is my poor and crude understanding that approaching an individual at the wrong time when they are in the midst of crisis would only push them away, essentially marking this software as nagware. This software should hopefully never be seen as a nag, but instead an attempt to provide comfort or support.

I want to keep the footprint as small as possible so it is adoptable when and if it ever becomes ready. Right now I already dislike that the English variant is >8kb, but I am not technically apt yet at writing the most performant code. I would like to avoid using AJAX wherever possible, because it is not my intention to ever let the thoughts and feelings someone expresses to leave the safety of their viewport. I'm starting to think at some point if this grows to be bigger than it is, we would need some type of on demand neural net to process analysis of phrases, which goes against that tenet.

Ah interesting, actually I was hoping both of my questions related to language support. (While perhaps not specifically Spanish)
As I was trying to understand just exactly how the English file was encoded so I could understand how to encode a Spanish file, which you have somewhat helped with. And then as far as sentiment analysis goes, that type of tool likely differs per-language as well.
One thing I guess I also didn't realize is that you mean for this to be entirely client-side with minimal if not no server communication whatsoever.
Something that will make Spanish difficult to add is that the "prefixes" and "suffixes" don't really work the same way at all as in English, as the words are gendered, the conjugations depend heavily on tense and person, and there are fourteen tenses. See this poster on wikipedia for an example of just a single verb 'run'. Compare to English where the options are 'run', 'ran', 'running'.
Since it seems like, from the en.js file, that you're basing the detection largely on 'primary' and 'endings', creating even a Spanish duplicate of your English template is very difficult.

@zenware my apologies for the delay in response. Admittedly, I do not know enough about other languages, and so I apologize if this is an unrealistic issue. Thank you for letting me know. If you can think of a better way to integrate other languages like Spanish, I would be very interested.


Rename translation_ea to translation_ea.xml

Rename translation_ea to translation_ea.xml

@santixV8 thank you but this has been fixed on our dev_RC branch already.


storage response headers

I am able to get blob headers using one call (get_blob_property etc) and download file/stream using another call (download_blob_to_stream etc.).
However I am looking for some simple way to get response headers values (like for status code, response content length, response content range and content-type etc.) and blob itself using a Single call like download_blob_to_stream.
Sample example most welcome.

Vikas

cpplite cannot do that, but track2 can do exactly what you want https://github.com/Azure/azure-sdk-for-cpp/tree/master/sdk/storage


stops working after a while - HA 7.x, NANO_V14M

first of all - nice work, thank you very much!
this integration of my hargassner heating really leverages my move to ha ;-)
i have a hargassner nano-pk 2-25 in my basement with fw v14m5.
ha is running smoothly on a rpi4/1gb - currently os 7.2, core 2021.12.10, supervisor 2021.12.2.
issue:
NANO_PK value updates have always been freezing after a while (minutes/hours), which was a bit annoying, since it took a core restart to solve this. behaviour did not alter through several ha updates.
findings:

obviously comm timing issues with telnet
hargassner.py, l95: msgFormat is strictly set to 'V14L'
hargassner.py, l107 ( self._scheduler.add_job(lambda:self._update(),'interval',seconds=update_interval) ) threw errors

stay healthy, ron
-- i would not mind, if you'd continue working on this cool integration :-p

Hey Tobias,
worked quite well for a few days but now I have the same issues like Ron. Integration won't update anymore. If I change the parameters: STANDARD to FULL in configuration.yaml everything works fine again.
Appreciated!
Markus

Like ron mentioned, if an error occurs, the integration will stop working. I have my own fork of this repo where I fixed those Issues. Feel free to check it out. I could also open a pull request to this repo.

Hey Luca,
thanks for the quick reply! I've added your repo and it works fine out of the box. Will let you know when it fails ;)
Best Markus

Hey,
Im using this integration with my ECO HK wich is a woodchip heating and it also worked quite well first, but then i had the same problems as mentioned above.
Now after using the repository of Luca it works great again.
So thanks to you both!!

Hi all, I have completely reworked the network code and message parsing of the integration. It would be great if you could try the latest version and report back if that resolves the issues you had. Thanks!

Resolved with the latest updates.


Recommanded way to have multiple staticlib with corrosion

I have 2 crate that depends on cxx, when I try to create a project that link to the 2 of them, I get linking error, as symbols for cxx object are defined more than once.
I've stumble across that: https://github.com/dtolnay/cxx/issues/883
I'm unsure how to solve the problem in practice. I will investigate on my side, but has anyone sucessfully integrated 2 cxx crates using corrosion? Is there an example somewhere?

It's not a cxx issue, it's a general rust issue: https://github.com/rust-lang/rust/issues/104707
I've been thinking (but haven't had the time to implement) about adding an abstraction to Corrosion that does the following:

Create a dummy wrapper package that has a staticlib library target, and depends on all the libraries you need. This should be automatically created by a CMake function corrosion_create_wrapper_staticlib(new_lib_name dep_1_crate ...).
The dependencies would need to have an rlib target, so that cargo can link them into the wrapper crate.
corrosion currently ignores rlib only libraries, so potentially one would need to add a staticlib to import the actual cxx libraries, even if they will not be used directly, just to make corrosion aware that these libararies exist.

Ok, have you ever integrated 2 libraries yet with a workaround?
I guess I will go with the one crate with everything in it.


How to create and use another connection provider instead of the WebSocket one?

Hi!
I'm trying to add LSP supports for a IDE project I'm developing based on the Tauri framework.
In Tauri, there is a better way to do the IPC instead of using json-rpc based on WebSocket connection.
So does monaco-languageclient supports this case? How should I do?
Should I implement the IConnectionProvider and pass it to constructor of MonacoLanguageClient, or directly use BaseLanguageClient? I'm confusing and unable to find out.
And what is the different between monaco-languageclient and vscode-languageclient?
Should I install vscode-languageclient as a dependency of my project? Is that normal a language client for monaco-editor is depending on vscode things?
Thanks for your help.

@msujew Thank you! So you means:

Installing vscode-languageclient is therefore not necessary.
I should implement IConnectionProvider#get.

But to do so, I think I should import MessageTransports type somewhere? As I can see it's belongs to the vscode-languageclient:

I known its ok to avoid using MessageTransports type according to some duck type feature. But if it's actually what you said

This project (i.e. the monaco-languageclient library) does the same but just for the monaco editor as a standalone component.

It's weird right?
Thank you!


From PIL import

This should solve #96

I also deleted a duplicate import statement which was hidden in the main content below.

Okay, I delete the last two commits form here and will create a new PR with them.


http: proxy error: dial tcp <IP_ADDRESS>:80: connect: connection refused

Starting reverse-proxy  successfully
Opened udp port from config
Created site with apache on domain pavelkuznetsov.ton
Try to open pavelkuznetsov.ton whith internal telegram browser
Server console prints:

2024/09/26 11:45:41 request: GET pavelkuznetsov.ton /
2024/09/26 11:45:41 http: proxy error: dial tcp <IP_ADDRESS>:80: connect: connection refused

Tried to toggle on/off nginx for this domain - same problem

Changed server ip address from <IP_ADDRESS> to real server ip in config.json
It works now.

If domain is already configured you can run without this flag.
The reason of this error are public liteservers not in sync


Feature Request: General feedback and advice

Is your feature request related to a problem? Please describe.
Love that you are doing this! Just wanted to provide some helpful feedback since i'm building a similar project right now for EVMts. I also built the optimism starterkit which got a lot of positive feedback.
Describe the solution you'd like
Name the package create-foo
By naming the package create-onchain-app instead of @base-org/build-onchain-app it will follow the standard tooling expects and work seemlessly with all package managers. e.g npx create-onchain-app npm init onchain-app pnpm create onchain-app and yarn create onchain-app will all work.
Also make sure you add the binary to bin in package.json
Consider building with tsup
Small tip but if you use tsup to build the app it has a nice feature of automatically making the build output executable https://tsup.egoist.dev/#building-cli-app .
Eslint config is way too opinionated
Lots of rules in the eslint config but in general this is too opinoinated for a general starterkit. Myself, I would never use an eslint config based off of air bnb. IMO only the most important rules that prevent bugs should be included and it should be otherwise less opinionated
Tailwind is too opinoinated
I think including tailwind is a step too far. I plan on including tailwind as an option for create-evmts-app via including it as an option. This is how create-t3-app works too.
Some command line tech I like that could be helpful
There are three pieces of tech that are worth looking into when you build the cli.

Clack - just a really good way of building a cli app
pastel - React based cli framework that I'm using for create-evmts-app
cac - this is a great more robust option than comandeer while still being as minimal. This was my goto before I switched to using pastel and also what the create-wagmi-app cli uses

Docs
Optimism starter got great feedback mostly from it's really detailed docs and readme. It might be a good starting point for the create onchain app readme https://github.com/ethereum-optimism/optimism-starter.
Additionally the optimism starter has a signifcant amount of links to documentation in the source code that could be helpful pattern to follow

Describe alternatives you've considered
No response
Additional context
My WIP create-evmts-app cli is here https://github.com/evmts/evmts-monorepo/pull/650/files. Sharing just in case it sparks any ideas or inspiration. Feel free to copy anything from it.
Also I would love to add the onchain-app template as an option later.
Here is a video of what I implemented so far:
Untitled_ Nov 9 2023 1_08 PM.webm

Ciao @roninjin10,
love all those notes.
Overall, we are still finishing up this week our first real release. So yeah the code is a bit messy and several key parts are missing.
One point to make, is that we are going to have an opinionated starter kit. With opinions mostly based on what we are confortable to use, and overall has large support in the industry.
I am going to close this ticket for now, and I am looking forward to chat more in a week or two, either over Github or even over Google Meet.
Especially as this is just the begining for us, and for sure we are going to hit a few miss-direction which we are happy to debate and see how to improve.


SharedRateLimiterFactory.create() method does not correctly use WeakHashMap

Describe the bug
While looking at our use of WeakHashMap throughout our code, I observed that the SharedRateLimiterFactory uses a WeakHashMap called activeLimiters. However, it uses activeLimiters.put(name, new SharedRateLImiter(name, ....)), and the constructor stores a strong reference to name as a member variable. Therefore, it is impossible for activeLimiters to ever garbage collect and remove references once added.
Versions (OS, Maven, Java, and others, as appropriate):

Affected version(s) of this project: 2.1.0-SNAPSHOT (probably others... only looked at this one)

the constructor stores a strong reference to name as a member variable

Which constructor are you referring to?

the constructor stores a strong reference to name as a member variable

Which constructor are you referring to?

new SharedRateLImiter

@DomGarguilo The WeakHashMap already uses weakly referenced keys. However, the objects in the value are strong references by default. The way to ensure the values in the hashmap don't retain strong references to the keys in the map is to wrap the values themselves in a WeakReference. So, instead of a WeakHashMap<String,SharedRateLimiter>, you would simply wrap the values and make them WeakHashMap<String,WeakReference<SharedRateLimiter>> instead.  See the implementation note in the WeakHashMap javadoc for a similar explanation.


not Uptodate

[Enter feedback here]

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

ID: bfbfbd93-0056-6d8b-8ee1-f7d0c6d0a739
Version Independent ID: b52c7b72-d512-d172-6569-b289e05302e6
Content: Tutorial: Language Understanding Bot C# v4 - Azure Cognitive Services
Content Source: articles/cognitive-services/LUIS/luis-csharp-tutorial-bf-v4.md
Service: cognitive-services
Sub-service: language-understanding
GitHub Login: @aahill
Microsoft Alias: aahi

Hi, thanks for the feedback here. Could you please provide more details about this issue? Are you mentioning the whole page is not up to date?

I will check this document to see any point need to be changed. Please do let me know if anything you think is not correct.
We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.


minimal=true should be the default for markdown widget

As an engineer, I'd like it to be easy to create course configs that function properly.
Acceptance Criteria:

[ ] minimal=true should be the default for the Markdown widget. Only body fields can support non-minimal markdown.
[ ] update existing configs to use minimal=false on markdown body fields (that don't currently specify a value).

Deployed in https://github.com/mitodl/ocw-studio/pull/1362


Propagate 'undefined' instead of the optional type marker at an optional chain boundary

This ensures that the optionalType marker type does not escape the boundary of an optional chain. This causes unintended side effects even though optionalType is essentially the same as undefinedType.
Fixes #34579

@RyanCavanaugh should we cherry-pick this into release-3.7?

The issue this PR resolves (https://github.com/microsoft/TypeScript/issues/34579) was added to the 3.7.2 milestone https://github.com/microsoft/TypeScript/milestone/106, so I think this should be cherry-picked to 3.7

@typescript-bot port this to release-3.7

@typescript-bot cherry-pick this to release-3.7

Me bad at bot

Thanks for the quick response 👍


Question: Would a wiki page about setting up Intellisense be useful?

I recently struggled to get Intellisense working for React.js.
I think I've done it now, so wrote the steps I followed here http://mattdufeu.co.uk/setup-intellisense-vscode-react-js/
Is that correct or am I missing something?
Would something like this be useful on the wiki? I'd be more than happy to create a PR if you think it's useful.

@mattdufeu You maybe want to ask this question on stackoverflow.

@aeschli sorry, the title might have been misleading. I've changed the title to hopefully reflect better what I mean.
Unless you are saying, there's no need for a wiki page?

Closing vscode issue.  Will be covered with vscode-docs issue: https://github.com/Microsoft/vscode-docs/issues/495


Copy/Paste - Select with the left mouse button and paste with middle mouse button - which is supported in UNIX terminals.

Description of the new feature/enhancement

Proposed technical implementation details (optional)

Thanks for the suggestion! Please make sure to search for duplicates when filing new issues. This is already being tracked by another issue on our repo - please refer to #1553 for more discussion.
/dup #1553


The screen does not turn on after the Turn screen off scrcpy session is stopped.

The screen does not turn on after the Turn screen off scrcpy session is stopped.

Which scrcpy version?
When you close scrcpy, in which state is your device screen? It is physically off, but is it "on" in the mirroring window, or off too?

If you enable "show touches" (scrcpy --show-touches), a circle appears when you physically touch the screen.
Is it kept active when you close scrcpy?
What is the device and Android version?

Is the screen turned on with MOD+Shift+o?

The circle is kept active when I close scrcpy.
INFO: Device: rockchip RK3399 (Android 9)
The screen is not turned on with MOD+Shift+o

The circle is kept active when I close scrcpy.

The cleanup code is run in a separate process. When scrcpy closes (even if the main process is killed, for example on device unplug), the clean up call is still expected to be called: I2f74ec2518377103e144684a9fb0c2d358168bbb
However, on some devices/ROM (this is the case for example on my Nexus 5 test device), the cleanup process is killed very quickly after the main process is killed, I don't know why (it's a system bug I guess), so the cleanup code don't have chance to complete.

The screen is not turned on with MOD+Shift+o

(with MOD == Alt by default)
On some devices (but on older Android versions), there was a problem with turning the screen on (8c8649cfcd710859ce18eab557ed2af8cedb9a42 and dcde578a50ffb9d2594c4764a067e9dd328bf55c).
It's surprising that your device has these two seldom issues.


TypeScript incompatability: type predicates in interface call types not supported

type Verifier<T> = {
    (value: unknown): value is T
}

runs into a ParseError on the is.

Fixed in 0.6.14!


No view in default application

Issue Type: Bug
there is no view in default application. i might be doing it wrong though. can someone help me please?
VS Code version: Code 1.21.0 (9a199d77c82fcb82f39c68bb33c614af01c111ba, 2018-03-07T11:04:09.969Z)
OS version: Windows_NT x64 10.0.15063

System Info

Item
Value

CPUs
Intel(R) Celeron(R) CPU N3350 @ 1.10GHz (2 x 1094)

Memory (System)
3.84GB (1.20GB free)

Process Argv
C:\Program Files\Microsoft VS Code\Code.exe

Screen Reader
no

VM
0%

Extensions: none
Reproduces without extensions

To clarify, you launch VS Code and don't see an interface at all?
We need additional information to reproduce your problem. If possible, please provide reproduceable steps to your issue.
A screen recording might be helpful in your case, too.


Remove unnecessary stuff in boosted-grid.scss

Related issues
Closes #2153
Description
Remove unnecessary stuff in boosted-grid.scss
Motivation & Context
Lighter code and smaller bundle size.
Types of change

Bug fix (non-breaking which fixes an issue)

Live previews

https://deploy-preview-2196--boosted.netlify.app/

Checklist
Contribution

[x] I have read the contributing guidelines

Accessibility

(NA) My change follows accessibility good practices; I have at least run axe

Design

(NA) My change respects the design guidelines defined in Orange Design System
(NA) My change is compatible with a responsive display

Development

[x] My change follows the developer guide
(NA) I have added JavaScript unit tests to cover my changes
(NA) I have added SCSS unit tests to cover my changes

Documentation

(NA) My change introduces changes to the documentation and/or I have updated the documentation accordingly

Checklist (for Core Team only)

[ ] My change introduces changes to the migration guide
(NA) My new component is well displayed in Storybook
(NA) My new component is compatible with RTL
(NA) Manually run BrowserStack tests
(NA) Manually test browser compatibility with BrowserStack (Chrome >= 60, Firefox >= 60 (+ ESR), Edge, Safari >= 12, iOS Safari, Chrome & Firefox on Android)
[ ] Code review
[ ] Design review
[ ] A11y review

After the merge

[ ] Manually launch Percy tests

IMY we still have a problem because running npm run dist with this configuration removes some necessary stuff too 🤔


TS2304: Cannot find name '<variables_exposed_in_setup>' reported after setting allowJs to true

Hi,
I have a Vue2 project, where components are written in JavaScript or TypeScript.
Without setting allowJs to true in tsconfig.json, there is a message Virtual script not found, ...

After I set allowJs to true in tsconfig.json, Virtual script not found messages in js .vue file have gone.
But in ts .vue file, TS2304 errors are reported by vue-tsc and VSCode.

Here is the repository for reproduction, and version information is as the following.

typescript v4.4.4
vue v2.6.14
vue-tsc v0.29.8
@vue/runtime-dom v3.2.25

Similar issue I found: https://github.com/johnsoncodehk/volar/issues/319

Solved by using Vue.extend to wrap object exported in js .vue file.


Node engine?

Does this package really need node version in package.json? Some people use older Node.js versions. And this package works fine with them

Hello Artur @sedlukha,
Thank you for noticing this.
After reading the documentation again (this time more carefully), it became clear to me that I misunderstood the purpose of this field in package.json. Feel free to submit a PR. Otherwise I will fix this as soon as I have access to my personal computer.
Best,
David

@davidcetinkaya
PR done. https://github.com/davidcetinkaya/embla-carousel/pull/83
Thank you for awesome package!

Hello again Artur @sedlukha,
Release v3.0.26 comes with the patch fix for this.
Thank you for making Embla Carousel better and welcome to the contributors club 🙂.


Injury Roll Inline and Add

Is your feature request related to a problem? Please describe.
Brought up by @damccull on the forums. To include the duration roll of the amount of time for injury in the same instance as the roll for the injury itself.
I am adding on an addendum myself to then be able to drag it to the character sheet and it auto add the injury to this injury list and fill out the type and duration from the roll. Or if you roll from the token itself to just add the injury right to its related actor/token data.
Describe the solution you'd like
@damccull showed a picture of a proposed inline roll.

Other than my description above of my addon to this request It should have some way to add it right to the sheet. preferably if I roll from the actor it should go right on them.
Version
0.1.2
Checklist:

[x] I have searched the existing issues to ensure this feature has not already been requested.

So my example actually auto rolls it. I couldn't figure out how to put in a click to roll. I like the auto roll personally.
I also like the idea of automatically adding it to the sheet when rolled from the token.

UPDATED to remove the part about 2 clicks! Sorry friend. Wanted to make sure your idea didn't get lost!

UPDATED to remove the part about 2 clicks! Sorry friend. Wanted to make sure your idea didn't get lost!

Naa don't worry about it. Any kind of automation is better than none anyways lol.

Out of curiosity, was the part suggested by @Doc-Sun taken care of by someone else? Dragging injuries into the character sheet from chat? If not we should open a separate issue for that.


Is it possible to add multiple virtual sound card?

Hi, Thanks for this low latency of the virutal sound card driver.
Now I have a machine, I wish to play to different computers by selecting the virtual sound card.
So I can set different unicast address and play the sound to target pc by selecting coressponding virtual sound card.
Is it possible to do this?
Thanks.

Is it possible to install multiple Scream virtual sound card sw in windows? Which code is need to be changed?


Firecracker Limitation: volume support

Description of problem
Firecracker today does not have support for host to guest file sharing. Kata achieves minimal file sharing by copying files from host to guest.
Critical kubernetes features like tokens, secrets, configmaps are typically volumes mapping to host side directories with files (and symlinks).
We need to find a method to handle common kubernetes volumes mounts using copy.
This may help us handle short lived PODs that may not need to handle updates (like FaaS usages).

/cc @egernst @raravena80 @sboeuf

For example the service account token shows up inside the pod as below
root@ubuntu-pod-runc:/run/secrets/kubernetes.io/serviceaccount# ls -alp
total 4
drwxrwxrwt 3 root root  140 Dec 21 18:08 ./
drwxr-xr-x 3 root root 4096 Dec 21 18:08 ../
drwxr-xr-x 2 root root  100 Dec 21 18:08 ..2018_12_21_18_08_35.690127622/
lrwxrwxrwx 1 root root   31 Dec 21 18:08 ..data -> ..2018_12_21_18_08_35.690127622/
lrwxrwxrwx 1 root root   13 Dec 21 18:08 ca.crt -> ..data/ca.crt
lrwxrwxrwx 1 root root   16 Dec 21 18:08 namespace -> ..data/namespace
lrwxrwxrwx 1 root root   12 Dec 21 18:08 token -> ..data/token

And the pod spec is
   "spec": {
        "containers": [
            {
                "command": [
                    "top"
                ],
                "image": "ubuntu:14.04",
                "imagePullPolicy": "IfNotPresent",
                "name": "ubuntu",
                "resources": {},
                "stdin": true,
                "terminationMessagePath": "/dev/termination-log",
                "terminationMessagePolicy": "File",
                "tty": true,
                "volumeMounts": [
                    {
                        "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount",
                        "name": "default-token-2ncpz",
                        "readOnly": true
                    }
                ]
            }
        ],
        "serviceAccount": "default",
        "serviceAccountName": "default",
        "volumes": [
            {
                "name": "default-token-2ncpz",
                "secret": {
                    "defaultMode": 420,
                    "secretName": "default-token-2ncpz"
                }
            }
        ]
    },

The host side directory corresponding to this is
tree -a ./var/lib/kubelet/pods/6eacc701-054b-11e9-944a-5254003d4a1b/volumes/
./var/lib/kubelet/pods/6eacc701-054b-11e9-944a-5254003d4a1b/volumes/
└── kubernetes.io~secret
    └── default-token-2ncpz
        ├── ..2018_12_21_18_08_35.690127622
        │   ├── ca.crt
        │   ├── namespace
        │   └── token
        ├── ca.crt -> ..data/ca.crt
        ├── ..data -> ..2018_12_21_18_08_35.690127622
        ├── namespace -> ..data/namespace
        └── token -> ..data/token

4 directories, 6 files

We will not be able to support termination pod binding. An example from a container config.json
               {
                        "destination": "/dev/termination-log",
                        "type": "bind",
                        "source": "/var/lib/kubelet/pods/6eacc701-054b-11e9-944a-5254003d4a1b/containers/ubuntu/b0d9ecbb",
                        "options": [
                                "rw",
                                "rbind",
                                "rprivate",
                                "bind"
                        ]
                },

Another point of concern I believe, is how to handle secrets/certs securely. host -> VM

/cc @nmeyerhans

Is there an update on this ticket, or can it be re-prioritized?
Since the majority of potential container-based workloads require dynamic configuration, secrets, and/or serviceaccount tokens, I believe this limitation is a rather large blocker for anyone to use kata+firecracker outside of sandbox environments. Am I off on this?

@jcrowthe - I don't believe you are off on your assessment, but, I also believe this is generically a firecracker 'issue', not a Kata issue. It is a feature that is not provided by firecracker, with no easy workaround for Kata to use in its place. Something to also note/discuss to the firecracker folks then I guess?
/cc @egernst @mcastelino

It looks like support for something along these lines is on the firecracker roadmap at least https://github.com/firecracker-microvm/firecracker/issues/1180

@jodh-intel Did kata with firecracker get volume support that I missed?

@StevenACoffman, please, see http://lists.katacontainers.io/pipermail/kata-dev/2021-April/001819.html, there you'll find the explanation why the issue was closed.

Hi All,

# TL;DR

We're closing all open GitHub issues for Kata 1.x and 2.x that were created before 1st June 2020.

# Background

We have too many old open issues that are making it hard to identify the reallly important newer ones.

# Plan

Since a lot of those issues are now probably "stale", we intend to close all open GitHub issues opened before 1 June 2020.

# When?

This week some time.

# Why?

Closing these old issues will:

- Allow us to better manage the more recent issues

  We're in the process of categorising current issues with labels to allow us to manage the backlog more efficiently).

- Act as a forcing function for those who raised the issue

  The originator will get notified when the issue is closed, which will remind them of the issue and the problem. And if the issue is still important, they can re-open it with a single click.

# What is the impact of closing an issue?

Whether a GitHub issue is open or closed is simply a state field - you can open and close an issue as many times as you like: no information is going to be lost by changing the issue state to closed. By closing the old issues, we'll hopefully get the list of relevant open issues down to a more manageable number. And once labelled, will allow us to concentrate on fixing the issues rather than spending lots of time managing the issues themselves.

Of course, if an issue is closed, it's highly unlikely anyone will be working on resolving it, so...

# If one of your issues is closed

As mentioned above, if one of your issues is closed, please consider whether you are happy with this. If you think the issue should remain open, just click the "reopen" button and add a comment for us. It would be helpful if you could also mention whether the problem still exists with the latest 2.x version of Kata.

# Get involved

If you're interested in helping us manage the isue backlog, please get in contact [1], and maybe consider volunteering to help on the Kata rota [2].

Cheers,

James

[1] - https://github.com/kata-containers/community/blob/master/README.md#join-us
[2] - https://github.com/kata-containers/community/wiki/Review-Team-Rota


Add fuzzer that just parses &str input

Now, the output from the fuzzer looks like
FuzzingInput {
    markdown: "s!!!!!!!!!!E^\u{19}\u{0}\u{1}\u{0}\u{0}\u{0}\n*\t[][ >\n\t<p\n\t\t0o]Z\n\t[]\u{19}\t\u{19}&#x",
    tables: false,
    footnotes: false,
    strikethrough: false,
    tasklists: false,
    smart_punctuation: false,
    heading_attributes: false,
}

which is rather pretty :)
Could go farther and make the debug output of FuzzingInput be a valid test case.... but that seems a bit too weird, and it only saves a bit of time.

Yesss, I love the idea of choosing the options randomly also! Who knows what weird interactions we might find.
So I think this is ready to go as soon as the minor oversight that was flagged has been fixed. Maybe it would be nice to automatically try to minimize any troublesome input we find also, but that's maybe fun for a follow-up PR some time.
Thanks!

Thank you for this! And no sweat about being the person that only reports. The pulldown internals are not super accessible (an import problem of itself!) and each of these reports is making pulldown a little better.
I think we should submit to the Google fuzzers once we've done the low-hanging fruit. They actually reached out to us at some point in last year, but I didn't have the energy to get into it at that time. Let's see if the offer still stands once we are ready.
Thanks again!


BUG: Fix data.history with a single continuous future.

Allow ContinuousFuture when checking for a single "asset".
This could be further improved by:

Defininng a tuple of the Asset-like types OR making
ContinuousFuture and Asset share a common type (whether that is
ContinuousFuture inheriting from Asset or making Asset and
ContinuousFuture share a common type.)

Make a history test which uses BarData + ContinuousFuture,
instead of just using the history loader directly from tests.

Could also register with an ABC, like we do with AssetConvertible.

Coverage decreased (-0.04%) to 86.984% when pulling 2186208ba63f22b067a83c6129a7d39a1aa7a521 on allow-single-continuous-future into 84e1813e95e69f2dcce57d0547ad5ce9f4eebbdd on master.

I like the ABC idea, looks pretty doable here.

Good idea. I'll patch that in.
On Mon, Nov 7, 2016, 1:19 PM Richard Frank<EMAIL_ADDRESS>wrote:

Could also register with an ABC, like we do with AssetConvertible.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/quantopian/zipline/pull/1584#issuecomment-258917050,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALVkCeR0TWkpwMucyms7C2_ksab7keOks5q72u1gaJpZM4KriZh
.

Coverage decreased (-0.04%) to 86.987% when pulling 3e3d95ebb9c89adec8542058a5da21a24d88098c on allow-single-continuous-future into 993b694d492ed7471af4750ecb89aae853eb3c03 on master.

Made a mistake in merging this. Had made a change locally to use an abc of PricingDataAssociable instead. Fixing now.

https://github.com/quantopian/zipline/pull/1585


bug: Pushing page on a specific ion-nav affects other ion-navs

Bug Report
Ionic version:

[x] 4.x
Current behavior:

Display a page that has an ion-nav inside.
Open a modal that has an ion-nav inside.
Call push(SomeView) on the ion-nav that's inside the modal.
Close the modal.
The ion-nav that was behind (Not inside a modal) shows the last page displayed by the modal I just closed. [UNEXPECTED]

Expected behavior:

...
5. When I call push() on an ion-nav it only affects the ion-nav it was called on.
Steps to reproduce:

Display a page that has an ion-nav inside.
Open a modal that has an ion-nav inside.
Call push(SomeView) on the ion-nav that's inside the modal.
Close the modal.

Related code:

insert short code snippets here

Other information:

Ionic info:

Ionic:
ionic (Ionic CLI)             : 4.12.0 (/usr/local/lib/node_modules/ionic)
Ionic Framework               : @ionic/angular 4.3.0
@angular-devkit/build-angular : 0.13.6
@angular-devkit/schematics    : 7.2.4
@angular/cli                  : 7.3.6
@ionic/angular-toolkit        : 1.4.1
Cordova:
cordova (Cordova CLI) : 8.1.2<EMAIL_ADDRESS>Cordova Platforms     : android 7.1.4, ios 4.5.5
Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.3.3, (and 9 other plugins)
System:
Android SDK Tools : 26.1.1 (/Users/worldoffice/Library/Android/sdk)
NodeJS            : v11.6.0 (/usr/local/Cellar/node/11.6.0/bin/node)
npm               : 6.9.0
OS                : macOS High Sierra
Xcode             : Xcode 10.1 Build version 10B61
insert the output from ionic info here

I finally got time to implement a reproduction. It seems this issue only happens in the context of my application, so the original issue as submitted is not correct.


Post-paper Detection Optimizations

Related to #5307 and #2263. Touches upon requests recorded at #4932 and #5325.
Our target is to improve the existing RetinaNet, FasterRCNN and MaskRCNN architectures using post-paper optimizations:

Adds a new RetinaNet variant with post-paper optimizations proposed at "Bridging the Gap Between Anchor-based and Anchor-free Detection via Adaptive Training Sample Selection".
Adds a new FasterRCNN and MaskRCNN variants with post-paper optimizations proposed at "Benchmarking Detection Transfer Learning with Vision Transformers" by @rbgirshick and @pdollar
Adds support of elements from @vaibhava0's recipe, @xiaohu2015's recipe and @fmassa's work on DETR. Other recipes influencing this work is the ones of Swin Transformers and XCiT.

This PR contains commits which were later split on separate PRs to assist the reviews. Currently it contains the following changes on top of the main branch:

Adds support of norm_layer in all Detection heads.
Adds a new extendible FastRCNNConvFCHead which follows a similar strategy as the existing MaskRCNNHeads.
Replaces Conv-Norm-BNs with Conv2dNormActivation where possible; we use  PyTorch core's _load_from_state_dict() approach to maintain BC.
Extends RPNHead to support heavier heads.
Adds an experimental private _box_loss utility which allows for training models with different box losses. No plans to make this public; the entire API is kept private so that we can review our Detection API as a whole and examine the best way to support different Transforms and Losses in Detection models.
Adds new 3 variants for RetinaNet and *RCNN based on follow up papers.

@datumbox I'm getting errors when trying to load a model using FPN as a frozen layer.
Traceback (most recent call last):
  File "/mnt/ext/openape/apedepth/train.py", line 85, in <module>
    model.load_state_dict(state_dict, strict=False)
  File "/home/rice/venvs/openape/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1566, in load_state_dict
    load(self)
  File "/home/rice/venvs/openape/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1564, in load
    load(child, prefix + name + '.')
  File "/home/rice/venvs/openape/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1564, in load
    load(child, prefix + name + '.')
  File "/home/rice/venvs/openape/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1564, in load
    load(child, prefix + name + '.')
  File "/home/rice/venvs/openape/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1560, in load
    module._load_from_state_dict(
  File "/home/rice/venvs/openape/lib/python3.10/site-packages/torchvision/ops/feature_pyramid_network.py", line 131, in _load_from_state_dict
    state_dict[new_key] = state_dict.pop(old_key)
KeyError: 'semantic.backbone.fpn.inner_blocks.0.weight'

This seems to be a regression since PT 1.11 stable and I can no longer save/load my model. Excluding the semantic weights when calling torch.load doesn't help either.
My model has
        self.semantic = freeze(models.detection.fasterrcnn_mobilenet_v3_large_fpn(pretrained=True))

Adding a if old_key in state_dict in a few spots seems to fix it.
        version = local_metadata.get("version", None)

        if version is None or version < 2:
            for type in ["weight", "bias"]:
                old_key = f"{prefix}conv.{type}"
                new_key = f"{prefix}conv.0.0.{type}"
+                if old_key in state_dict:
                    state_dict[new_key] = state_dict.pop(old_key)

@d4l3k Thanks for the heads up.

This seems to be a regression since PT 1.11 stable and I can no longer save/load my model.

If this is true, it's probably not related to this PR. To reduce any confusion, could you please open a separate issue and provide a way to reproduce the problem?

Adding a if old_key in state_dict in a few spots seems to fix it.

This might indicate that the old structure is modified and not compatible with v1. The proposed patch is not a solution but rather more likely to mask the issue. If you provide a way to reproduce the issue, we can help you invstigate.


Bumped Azure IMDS API version

vmScaleSetName is only exposed in 2017-12-01 and later.
See https://docs.microsoft.com/en-us/azure/virtual-machines/linux/instance-metadata-service?tabs=windows#response-1

Thank you for your contribution. That's merged and backported now.


Incorrect subjectAltName in cert generated in -U mode

Running mitmproxy -p 8081 and making a request to https://pentest.com, the cert that mitmproxy generates has the following properties:
   Subject: CN=www.pentest.com
    X509v3 extensions:
        X509v3 Subject Alternative Name:
            DNS:www.pentest.com, DNS:pentest.com, DNS:pentest.com

Cert is accepted by IE8 WinXP since mitmproxy CA cert is trusted.
Running mitmproxy -U "http://localhost:8080" pointing to Burp as an upstream proxy, the cert mitmproxy generates has the following properties:
  Subject: CN=pentest.com
    X509v3 extensions:
        X509v3 Subject Alternative Name:
            DNS:localhost

Cert is rejected by IE8 WinXP despite mitmproxy CA cert being trusted.
It seems that IE doesn't like the invalid DNS:localhost subjectAltName despite the main CN being OK.
I can see no reason why the upstream proxy hostname should be added as a subjectAltName? This just seems incorrect.
The cert returned by Burp for the upstream proxy case only has the following:
    Subject: C=PortSwigger, O=PortSwigger, OU=PortSwigger CA, CN=pentest.com

With no subjectAltNames.
I would suggest the following changes. When constructing certs on the fly:

Don't add subjectAltNames that already match the CN, or preceding subjectAltNames
Don't add localhost or any other upstream proxy hostname as a subjectAltName.

When I run
mitmproxy -p 8081 -U "http://localhost:8080" --no-upstream-cert
And request https://pentest.com with IE8, the generated cert ONLY contains CN=localhost and no mention of pentest.com, which IE8 also rejects.

Thanks for the report and sorry for not providing any feedback yet. This'll be fixed by #741.

Thanks, this is fixed on master now. :smile:


Version bump (post 0.2.6)

Libmorton 0.2.6 has already been released, master is 0.2.6-next: 0.2.7?

Yeh, gotta bump it in code as well


Fill the Hot wallet before it’s empty

If u guys want people to trust this platform & bring in more BTC. People have to know that they can take out their BTC at any time. I’ve tried to take out 0.02029825 BTC at 3 diffent times of the day today. & get the same message after a minute of processing. “Error or the hot wallet is empty & will be founded shortly”. Being able to withdraw at any time, is one of the most important things to build trust & a happy community. & we can let others know that it is safe. Cause  people are very weary about lending & stacking platforms right now.

@TonyMcclure that's right, we have some deficit because of the bug happened on 7th Febuary and it takes some time for the team to get BTC from the cold wallet to cover the stolen funds.

@monyxcoin  any estimate on how much was taken due to the bug ?

@chakramchirkut yes, around 20BTC. We were able to restore some part of that in MYX coins, but we still need to sell them to cover the missing amount, that's why it's also in our interest to make the price higher, still trying to get any information from the team.

@monyxcoin Thank you for the information. appreciate it.

 You will NEVER see a dollar from these guys. Just one excuse after another. I can’t even Withdraw a measly 200.00. Nickel and dime scammers

@debow22  so just bcz you cant withdraw its scam ? did you even see any real back office and github community for other lending platforms ?
Plus they have already said that they had issues and bugs for which they needed to to do audit and halt the withdrawals etc.. its work in progress but its still better than running away, if they want they could just not care about all of these and run away..but they are still here so have faith.. no one knows future..

It's cool, people r just made that they can't pull their BTC out. So he kinda has the right to be mad. People only trust a platform if they can pull their crypto out. But we do need to be calm & give them a few more days. But I wouldn't refer anyone till they get the wallet filled & r able to keep it filled. Need to be able to withdraw at anytime

@debow22 @TonyMcclure  We don't do that people can't pull their BTC, it's in our interest to keep the platform running.
I just filled the wallet, so you can withdraw your BTC and stop using out platform at all.


[Bug]: Long label name for switch widget appears distorted

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Long label name for switch widget appears distorted
Also in switch group widget long label name overrides other label name in default widget size.

https://loom.com/share/e4496c4a0ccf441b8932d522e7ca076a
Steps To Reproduce

D & D switch widget
In property pane give a long label name (ex: Be the first in line to receive discounts and offers for this product)

Environment
Production
Version
Cloud

@dilippitchika using an ellipsis here would be ideal?

@Tooluloope i think this should be left to the dev if we want to truncate the text with ellipsis or show a scroll bar.
This will also be a problem in checkbox widget and radio widgets. Let's tackle these together later.


fix(MemoryStorage): RequestQueue file system entries should have RAM …

…buffer
This is added because request queues tend to have a lot of activity on one entry, until the request is finished. This should ensure that no more invalid JSON errors are thrown, while also keeping the memory footprint low once a request entry is no longer accessed (+re-loading from fs if that happens)

I think the sweep timeout would deserve some comments. Why it's needed, what it achieves.

I think what I just pushed should be enough, but let me know if it isn't


[#167804765] Update our forked UAA to upstream's v74.0.0

What
Mitigate https://www.cloudfoundry.org/blog/cve-2019-11274/ by using https://github.com/alphagov/paas-uaa-release/pull/10 which uses https://github.com/alphagov/paas-uaa/pull/7.
How to review
See the testing plan in https://github.com/alphagov/paas-uaa/pull/7.
🐝🐝🐝 Before merging, update the [WIP] commit to use the build from merging https://github.com/alphagov/paas-uaa-release/pull/10. 🐝🐝🐝
Who can review
Not @46bit

ℹ This PR wasn't actually closed. It got merged (see @tlwr's commit mentioned above.) Github is confused.


Automatic error report

Hi @charbit-oze please, the next time, try to add a description to understand better what problem are you facing (the more detailed you write it the best we can provide you help) :)
Also, probably you are using an old version of Spyder if a minimum length to open the issue wasn't requested. Please, try to update Spyder.
If you're using Anaconda you can do something like (over the corresponding env where Spyder is installed):

For Spyder 3.x : conda install spyder=3.3.6
For Spyder 4.x : conda install spyder=4.1.3


check asset, extended_asset, symbol, and extended_symbol for missing operators

related to #4834 and #4525

Some work on this was done in #8540

This was before the eos/cdt repo split. It was about the types used in contracts.


H2O-3 XGBoost inaccurate

H2O's fork and DMLC XGboost version mismatch on accuracy.

This should be a JIRA for h2o-3 ?


teacher forcing not implemented

You mentioned in Readme about teacher forcing in your implementation. But I am unable to see it. Please explain more about it, if it has been implemented.
Thanks!

This has already been addressed. Please see #104


CAMEL-14194: Message thread name removed from JID

A proposed fix to the issue where invalid JID's are generated for private chat messages.
I could not find any reason for the message thread to be appended to the JID and the thread is set in the message, and have removed the thread.
Tested using Openfire 4.4.3.

Thanks Jonhan for your 1st commit to Apache Camel - that took a long time ;)

Thank you Claus. I'm happy to finally be able to give a little back to the community :)

Thanks and btw did you give a star on github

Yes, think I did that a long time ago. Just a bit slow on the contribution part :)


[Docs] Search functionality not obvious for keyboard/screenreader users

The current search functionality for docs relies on users typing in search terms and then selecting matches from the dropdown of results shown.
Visually, the dropdown appears like options should be reachable with cursor up/down - but unintuitively, user has to TAB to them (as they're simply links).
For screenreader users, no announcement is made that results are being dynamically shown.
Lastly, submitting the form/hitting enter in the search field results in the page being reloaded, but no actual search being performed...this is confusing to all users.

Hi, is this issue being worked on?  If not I would be interested in working on it.

Do you want me to create a pull request for this?

Go ahead @craigstroman 👍 every opened issue are open for a PR, instead of the issue already have a PR

Hi, sorry for not responding sooner.  I will create a PR for this tomorrow then.

Should be good since #22715.

Hi,
Glad this was fixed.
I'm sorry for not completing this sooner like I said I would.  In the past 2 months I actually ended up getting a new job and moving to a new state.

No worries! We ended up in a good spot with DocSearch :).

Confirming that this now works a lot better for keyboard/AT users


Obfuscation of private method contents and private const strings

I tried the latest Obfuscar (2.2.33) with my .NET Core 6.0 project.  While it worked, I saw two issues:

Private const string values were not obfuscated (even though HideStrings was true).
Private method contents were not obfuscated (not sure if your library supports this).  This is important for say, a license module that uses RSA / SHA256 behind the scenes, a fact I do not want discoverable via dotPeek or other reflection program.

Thanks in advance!

const are are not obfuscated.
Private method contents are not obfuscated just the name of the method is obfuscated.

Yes, that is my point?  Can the above be implemented as features?  To me, they are crucial:

Private method contents may content proprietary info like algorithms or other security related info.
Likewise for private const strings which may contain, say, encryption keys.

ConfuserEx supports both, but unfortunately doesn't support .NET Core yet (https://github.com/mkaring/ConfuserEx/issues/302)

Different obfuscation tool vendors might advertise their products in any way they like (ConfuserEx or not), but the fact is that decompiler and deobfuscator are out there to help reverse engineering.
https://docs.obfuscar.com/getting-started/basics.html#caveat
If you really want to protect something important, writing it in C#/Java or similar languages isn't the right way. Thus, for obfuscar what you see is what you get and no plan to add anything fancy.


Let publisher.py republish already-collected samples.

I often collect data and then realize I wish I had exported to
CSV. This change lets publisher.py run independently. In this mode, it
will read the JSON sample file that it always generates by default
(inside the run directory) and run the publish step again, in the same
way that it does during normal PKB runs. This gives the flexibility to
re-publish samples to anywhere they could be published initially.

@tedsta I think I've responded to your comment. PTAL.

@tedsta just uploaded a new version, please take a look. Thanks for your reviews!

LGTM thanks!


attach: set the terminal size and handle SIGWINCH

Notify conmon when the terminal size changes.  Use the same notification
to set the correct initial size.
Closes: https://github.com/projectatomic/libpod/issues/351
Signed-off-by: Giuseppe Scrivano<EMAIL_ADDRESS>

@cgwalters Could you check if this fixes your issue?

This seems to work well for me!  Thanks a lot @giuseppe !

@rh-atomic-bot r+


fix: Typo Italian and Portuguese

@qishibo

Thx! I just translate via google 😂

no worries, every time that has a new translate thing you can just mention me before accepting the PR and I will check IT and PT words

no worries, every time that has a new translate thing you can just mention me before accepting the PR and I will check IT and PT words

:+1:


Non compatible with NumPy 2.0.0

Problem description
When creating a new virtual environment, pip install trimesh[all] was fully installed to use the collision module. Code using trimesh.collision.The CollisionManager did not start. When working in detail with the environment, an error occurred when installing python-fcl:
File "src/fcl/fcl.pyx", line 1, in init fcl.fcl
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject

The problem disappears only when you pre-install numpy with version 1.*
Steps to reproduce the problem:

pip install python-fcl
import fcl

or

pip install numpy
pip install python-fcl
import fcl

Mediocre solution

pip install numpy==1.*
pip install python-fcl

Thank you in advance

I faced with the same issue.

Hey, looks like there's a token permission issue preventing it from being released to PyPi but I triggered a rebuild which used Numpy 2 and the wheels from the release appear to work: https://github.com/BerkeleyAutomation/python-fcl/releases/tag/v<IP_ADDRESS>

Thank you very much! The wheels are working. We are waiting for the release on pipy.


Bikeshed update does not work anymore?

I had to reinstall my windows from scratch, but it seems that bikeshed update doesn't work anymore.
Here is the error message I get:
Either this version of the anchor-data API is no longer supported, or (more likely) there was a transient network error. Try again in a little while, and/or update Bikeshed. If the error persists, please report it on GitHub.

Here is the the only thing bikeshed requests on the network:
GET https://api.csswg.org/shepherd/ HTTP/1.1
Accept-Encoding: identity
Host: api.csswg.org
Connection: close
Accept: application/home+json, application/json-home, application/json
User-Agent: Python-urllib/2.7

{
    "resources": {
        "specifications": {
            "href-template": "https://test.csswg.org/shepherd/api/spec/{?spec,sections,anchors,draft,insync}",
            "href-vars": {
                "spec": "param/spec",
                "sections": "param/spec/sections",
                "anchors": "param/spec/anchors",
                "draft": "param/spec/draft",
                "insync": "param/spec/insync"
            },
            "hints": {
                "allow": [
                    "GET"
                ],
                "formats": {
                    "text/vnd.csswg.shepherd.v1+javascript": {},
                    "application/vnd.csswg.shepherd.v1+json": {},
                    "text/javascript": {},
                    "application/json": {}
                },
                "docs": "https://test.csswg.org/shepherd/api/"
            }
        },
        "technical_report": {
            "href-template": "https://test.csswg.org/shepherd/api/tr/{?spec, group}",
            "href-vars": {
                "spec": "param/spec",
                "group": "param/group"
            },
            "hints": {
                "allow": [
                    "GET"
                ],
                "formats": {
                    "text/vnd.csswg.shepherd.v1+javascript": {},
                    "application/vnd.csswg.shepherd.v1+json": {},
                    "text/javascript": {},
                    "application/json": {}
                },
                "docs": "https://test.csswg.org/shepherd/api/"
            },
            "functions": {
                "getSpec": {
                    "arguments": [
                        "spec"
                    ],
                    "method": "GET",
                    "format": "application/json"
                },
                "getSpecsForGroup": {
                    "arguments": [
                        "group"
                    ],
                    "method": "GET",
                    "format": "application/json"
                }
            }
        },
        "test_flags": {
            "href-template": "https://test.csswg.org/shepherd/api/flag/{?flag}",
            "href-vars": {
                "flag": "param/flag"
            },
            "hints": {
                "allow": [
                    "GET"
                ],
                "formats": {
                    "text/vnd.csswg.shepherd.v1+javascript": {},
                    "application/vnd.csswg.shepherd.v1+json": {},
                    "text/javascript": {},
                    "application/json": {}
                },
                "docs": "https://test.csswg.org/shepherd/api/"
            }
        },
        "test_formats": {
            "href-template": "https://test.csswg.org/shepherd/api/format/{?format}",
            "href-vars": {
                "format": "param/format"
            },
            "hints": {
                "allow": [
                    "GET"
                ],
                "formats": {
                    "text/vnd.csswg.shepherd.v1+javascript": {},
                    "application/vnd.csswg.shepherd.v1+json": {},
                    "text/javascript": {},
                    "application/json": {}
                },
                "docs": "https://test.csswg.org/shepherd/api/"
            }
        },
        "test_suites": {
            "href-template": "https://test.csswg.org/shepherd/api/suite/{?suite,spec}",
            "href-vars": {
                "repo": "param/repo",
                "suite": "param/suite",
                "spec": "param/spec"
            },
            "hints": {
                "allow": [
                    "GET"
                ],
                "formats": {
                    "text/vnd.csswg.shepherd.v1+javascript": {},
                    "application/vnd.csswg.shepherd.v1+json": {},
                    "text/javascript": {},
                    "application/json": {}
                },
                "docs": "https://test.csswg.org/shepherd/api/"
            }
        }
    }
}

Anything I can do to make this work again? I tried using an older version but that doesn't seem to help at least not the few ones I tried.

I literally just used it, so it's nothing wrong in general. ^_^
That message is gated by if ((not res) or (406 == res.status)):, so one of those two happened.

Weird, I definitely do see the request succeeding through Fiddler.
Thanks for quick reply, I will investigate further...

Dug this deeper, and actually the issue seemed to be I didnt follow your instructions properly, and had installed the 64bit version of LXML (which is of course not compatible with the 32bit version of python that instructions have us install). It is working fine now.

...I'm confused as to how that caused this error, but ok, glad you got yourself fixed.

@tabatkins I think anchor-data api is down https://api.csswg.org/

It appears to be working for me.  What error are you getting?  (And can you report it in a new issue?)


Typo in equation 10.49

In equation 10.49, I believe the Z in the divergence arguments should be lower case.

I think I used upper Z to denote a dummy variable, distinct from the z argument passed to f'.


Feature/confirm modal updates

Added options for setting confirm modal button labels
Added options for customizing confirm modal button actions
Added confirm modal documentation

@rasmusebbesen I spotted a doc and comment mistake but other than that it's all good


selectedClass option not working

I'm having trouble getting the selectedClass option to work.
If I leave the option off and go with the default "Selected" that works, but anything else does not.
$(document).ready(function(){
$('#menu').mmenu({
searchfield : true,
selectedClass : 'active'
});
});

I'm trying to set my selected class to 'active' and I following the [tutorial] (http://mmenu.frebsite.nl/tutorials/basic/styling-lists.html), but for some reason is not working for me... Maybe I'm missing something. Here is my code:
$(document).ready(function() {
    $("#menu-mobile").mmenu(
    {
        // options
        "extensions": [
            "border-full",
            "effect-slide-menu",
            "effect-slide-panels-100",
            "pageshadow",
            "theme-dark"
        ],

        "offCanvas": {
            "position": "right"
        }
    },
    {
        // configuration
        classNames: {
            selected: "active"
        }
    });
});

Thanks for the help!