Execute Job don't clean subproccess jobs after finishes

Describe the bug
When using the execute WOH and the workflow is set to retrieve a "Track" object,  Opencast creates a Job for inspecting the new created track, when the inspection job finishes, is left an empty job in "waiting" state.
Example:
Here is the log with Debug in TRACE mode for the Job barrier and the execute module:
020-11-02 16:17:23,179 | DEBUG | (ExecuteOnceWorkflowOperationHandler:117) - Running execute workflow operation with ID 4332
2020-11-02 16:17:23,181 | DEBUG | (JobBarrier:161) - No waiting job set, unable to put waiting job into waiting state
2020-11-02 16:17:27,345 | DEBUG | (AbstractJobProducer:176) - 639 Current load on this host: 1.0, job's load: 1.0, job's status: DISPATCHING, max load: 12.0
2020-11-02 16:17:27,346 | DEBUG | (AbstractJobProducer:199) - 639 Accepting job 4333 of type org.opencastproject.execute with load 1 because load of 2 is within this node's limit of 12.
2020-11-02 16:17:27,920 | INFO  | (ExecuteServiceImpl:494) - Running command /home/max/repos/mldc-opencast/build/opencast-dist-develop-8-SNAPSHOT/etc/overlay_publish.sh
2020-11-02 16:17:27,920 | DEBUG | (ExecuteServiceImpl:495) - Starting subprocess /home/max/repos/mldc-opencast/build/opencast-dist-develop-8-SNAPSHOT/etc/overlay_publish.sh with arguments /media/max/40423f62-2aad-4b51-b563-ac55b41b4a241/repos/mldc-opencast/build/opencast-dist-develop-8-SNAPSHOT/data/opencast/workspace/http_localhost_8080/assets/assets/488aca11-3a03-496d-97f2-1f08d72899d3/1f2d02be-f1f7-42e1-b55a-e68878023aee/1/dual_presentation_1.mp4, /media/max/40423f62-2aad-4b51-b563-ac55b41b4a241/repos/mldc-opencast/build/opencast-dist-develop-8-SNAPSHOT/data/opencast/workspace/http_localhost_8080/assets/assets/488aca11-3a03-496d-97f2-1f08d72899d3/21e23cf7-6b17-4b41-8eac-c004a5cf57bc/1/dual_presenter_1.mp4, /media/max/40423f62-2aad-4b51-b563-ac55b41b4a241/repos/mldc-opencast/build/opencast-dist-develop-8-SNAPSHOT/data/opencast/workspace/http_localhost_8080/assets/assets/488aca11-3a03-496d-97f2-1f08d72899d3/21e23cf7-6b17-4b41-8eac-c004a5cf57bc/1/4333_composite_pip.mp4
2020-11-02 16:17:28,182 | TRACE | (JobBarrier$JobStatusUpdater:313) - Job {id:4333, operation:Execute_Mediapackage, status:QUEUED} is still in the works
2020-11-02 16:17:33,183 | TRACE | (JobBarrier$JobStatusUpdater:313) - Job {id:4333, operation:Execute_Mediapackage, status:QUEUED} is still in the works
2020-11-02 16:17:38,184 | TRACE | (JobBarrier$JobStatusUpdater:313) - Job {id:4333, operation:Execute_Mediapackage, status:QUEUED} is still in the works
2020-11-02 16:17:43,185 | TRACE | (JobBarrier$JobStatusUpdater:313) - Job {id:4333, operation:Execute_Mediapackage, status:QUEUED} is still in the works
2020-11-02 16:17:48,186 | TRACE | (JobBarrier$JobStatusUpdater:313) - Job {id:4333, operation:Execute_Mediapackage, status:QUEUED} is still in the works
2020-11-02 16:17:53,187 | TRACE | (JobBarrier$JobStatusUpdater:313) - Job {id:4333, operation:Execute_Mediapackage, status:QUEUED} is still in the works
2020-11-02 16:17:58,188 | TRACE | (JobBarrier$JobStatusUpdater:313) - Job {id:4333, operation:Execute_Mediapackage, status:QUEUED} is still in the works
2020-11-02 16:18:00,410 | DEBUG | (ExecuteServiceImpl:504) - Command /home/max/repos/mldc-opencast/build/opencast-dist-develop-8-SNAPSHOT/etc/overlay_publish.sh finished with result 0
2020-11-02 16:18:01,793 | DEBUG | (ExecuteServiceImpl:512) - Deleted the local copy of the encoded file at /media/max/40423f62-2aad-4b51-b563-ac55b41b4a241/repos/mldc-opencast/build/opencast-dist-develop-8-SNAPSHOT/data/opencast/workspace/http_localhost_8080/assets/assets/488aca11-3a03-496d-97f2-1f08d72899d3/21e23cf7-6b17-4b41-8eac-c004a5cf57bc/1/4333_composite_pip.mp4
2020-11-02 16:18:03,193 | DEBUG | (JobBarrier:178) - No waiting job set, unable to put waiting job into waiting state
2020-11-02 16:18:03,199 | DEBUG | (JobBarrier:153) - Job 4333 set to WAITING state.
2020-11-02 16:18:07,387 | DEBUG | (AbstractJobProducer:176) - 650 Current load on this host: 0.0, job's load: 0.2, job's status: DISPATCHING, max load: 12.0
2020-11-02 16:18:07,388 | DEBUG | (AbstractJobProducer:199) - 650 Accepting job 4334 of type org.opencastproject.inspection with load 0,2 because load of 0,2 is within this node's limit of 12.
2020-11-02 16:18:08,232 | DEBUG | (JobBarrier:170) - Job 4333 wakened and set back to RUNNING state.
2020-11-02 16:18:08,241 | DEBUG | (ExecuteOnceWorkflowOperationHandler:230) - Execute operation 4332 completed

Job 4332 is created for Execute WOH, the script that is inside, starts FFMPEG, this creates a subprocess, opencast gaves to this the Job 4333. The FFMPEG finishes and then the script also finishes. Opencast finishes the Job 4332 but not the Job 4333, leaving the Job empty running.
To Reproduce
Steps to reproduce the behavior:

Create a workflow that includes "execute-once" WOH executing a process that generates a Track object.
Run the workflow, wait until completes
See in the servers -> Jobs section there is a process still running.

Environment Information

OS: Ubuntu 18.10
Opencast 8.7

Edit: Found the exact cause of the bug

Video Showing the bug:
https://www.youtube.com/watch?v=L3l-TsWoyFM
Also, I found the code that creates the issue:
modules/execute-workflowoperation/src/main/java/org/opencastproject/execute/operation/handler/ExecuteOnceWorkflowOperationHandler.java
if (resultElement.getElementType() == MediaPackageElement.Type.Track) {
            // Have the track inspected and return the result
            Job inspectionJob = null;
            inspectionJob = inspectionService.inspect(resultElement.getURI());
            JobBarrier barrier = new JobBarrier(job, serviceRegistry, inspectionJob);
            if (!barrier.waitForJobs().isSuccess()) {
              throw new ExecuteException("Media inspection of " + resultElement.getURI() + " failed");
            }

            resultElement = MediaPackageElementParser.getFromXml(inspectionJob.getPayload());
}

Closed with commit 4959712


Polybar crashes when using i3-msg for moving containers quickly

/usr/include/c++/11.1.0/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = std::__cxx11::basic_string<char>; _Alloc = std::allocator<std::__cxx11::basic_string<char> >; std::vector<_Tp, _Alloc>::reference = std::__cxx11::basic_string<char>&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed.
this is the log that gives me when executes this piece of code
i3-msg "workspace 5; append_layout ~/.config/scripts/dummy_window.json"&
  termite -e "nvim -u $HOME/.config/nvim/notes.vim -c "startinsert" $HOME/.notes/notes"&
  pid="$!"
  echo ${currentWsName}
  i3-msg "workspace ${currentWsName}"
while : ; do
  winid="`wmctrl -lp | awk -vpid=$pid '$3==pid {print $1; exit}'`"
  [[ -z "${winid}" ]] || break
done
  i3-msg '[id="'$winid'"] floating enable'
  wmctrl -i -r $winid -e 0,$x,50,1000,1000

what it does is that it gives me a container window id and then move it to 5th workspace and take me back to workspace 1 and then bring the container within a window back to where i am, is so quick that it completely freezes polybar and then kill it

I'm unable to reproduce this. Could you share the following:

Your polybar config
The output of polybar -vvv
The entire polybar output (if possible using trace logging -l trace)

Closing due to inactivity


How do i use lua with rediscluster

Hi，I want to know how do i use lua script with rediscluster. I find eval api,but i don't understand how to use it, could you please give some example? Thank you!

@dsgdtc this repo is deprecated, please use the official redis client https://pypi.org/project/redis/


Knockback does not work when there is a block occupying the knockback destination's X/Z-coordinate at the same Y level

Describe the bug: When WorldBorder cannot find a suitable block for a player to be knocked back to that retains the same Y coordinate, the plugin just gives up and teleports the player in the spawn chunk. Ideally, this should be fixed by teleporting the player to free space with the closest Y coordinate. If none is available, just keep checking the next X/Z coordinate until a suitable space is found.
Reproduce this by creating a worldborder, then crossing it while stepping down from a block at the exact same time.
Server Version: paper-184
Plugin Version: 2.0.9
Plugins: CoordinatesObfuscator*, dynmap*, ProtocolLib, ProtocolPlugin, TCPShield*, VariableTime*, ViaVersion, WorldBorder

Please test out the newest version, 2.1.0!


Fixing the calendar issues

There is only the Month option for the calendar now, closes #30. Took a while to see that the selection option would disappear by only giving it one option.
I made the scroll-back date go back two years instead of one, partially addressing #3, but not completely. There is no way to make it infinite scrolling. So we might have to search by earliest date, and just record that in appState when the events are updated from Firebase?
Also partially addresses #52. Now calendar events will show up for the current day when loaded.

For looking forward, I did limit to just the next month. Another good question for communications. Many events are planned out on the master calendar, but they won't be in 'hendrix today' until a few weeks beforehand.


Make an example for casdoor-python-sdk

See: https://github.com/casdoor/casdoor-python-sdk

@Abingcbc


add retroactive test for future bug

adjust margin top for sidebar li element

Coverage remained the same at 93.712% when pulling 458af27fa37f1a5c14a72002339b822553b173c4 on abemassry:highlight-current-page into c8cae04c4412cf19fa807706e1e95d9a90b77cde on linode:master.


Put write_dimensions() into DataSet class io.

Taking this from #506.
Not much to do really, just import and make it a classs method basically.

closing, will simply pick this up when updating DataSet as I move along.


ci: fix connector integration test script

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
As the title.
Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR contains user-facing changes.

It will block all PRs, let's fix it quickly, and then see if we can run according to the conditions.

It will block all PRs, let's fix it quickly, and then see if we can run according to the conditions.

Let's try whether apt update works in this PR or not.


How can i read nodes?

Hello,
I hope you good. I'm implementing this project in a file sharing app. So, i should get nodes' ip addresses to be able to send files. Unfortunately, i didn't find a solution for this. Thanks in advance!

You will need to have at least one node at a known address (boostrap.yourfileservice.com).  New nodes will connect to that to learn about the rest of the network.


First part of #1644: C*3 from 3.11.11->3.11.12

What this PR does:
Starting work on #1644: first upgrade Cassandra-3: separate upgrades to isolate problems.
Instructions to follow:

https://github.com/stargate/stargate/tree/master/persistence-cassandra-3.11#cassandra-version-update

Which issue(s) this PR fixes:
Will eventually resolve #1644 but not with just this PR.
Checklist

[ ] Changes manually tested
[x] Automated Tests added/updated -- relies on test coverage
[ ] Documentation added/updated
[x] CLA Signed: DataStax CLA

Alas, immediate (unit) test failures for seemingly trivial update:
Step #4 - "cassandra-3.11": [INFO] Running io.stargate.db.cassandra.Cassandra311PersistenceActivatorTest
Step #4 - "cassandra-3.11": [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.48 s - in io.stargate.db.cassandra.Cassandra311PersistenceActivatorTest
Step #4 - "cassandra-3.11": [INFO]
Step #4 - "cassandra-3.11": [INFO] Results:
Step #4 - "cassandra-3.11": [INFO]
Step #4 - "cassandra-3.11": [ERROR] Errors:
Step #4 - "cassandra-3.11": [ERROR]   StargateQueryHandlerTest.authorizeByTokenBatchStatement:936 ? IllegalState Can...
Step #4 - "cassandra-3.11": [ERROR]   IdempotencyAnalyzerTest.shouldReturnIdempotentIfAllStatementsWithinABatchAreIdempotent:102 ? IllegalState
Step #4 - "cassandra-3.11": [ERROR]   IdempotencyAnalyzerTest.shouldReturnNonIdempotentIfAllStatementsWithinABatchAreNonIdempotent:117 ? IllegalState
Step #4 - "cassandra-3.11": [INFO]

The other failing tests here are reproducible locally..
Step #4 - "cassandra-3.11": [ERROR] Errors:
Step #4 - "cassandra-3.11": [ERROR]   StargateQueryHandlerTest.authorizeByTokenBatchStatement:936 ? IllegalState Can...
Step #4 - "cassandra-3.11": [ERROR]   IdempotencyAnalyzerTest.shouldReturnIdempotentIfAllStatementsWithinABatchAreIdempotent:102 ? IllegalState
Step #4 - "cassandra-3.11": [ERROR]   IdempotencyAnalyzerTest.shouldReturnNonIdempotentIfAllStatementsWithinABatchAreNonIdempotent:117 ? IllegalState

Seems like a bug due to this changed line in BatchStatement.Parsed. The isFullyQualified() is called, which throws the IllegalArgumentException in the super class CFStatement. I don't really understand how can a batch be fully qualified, this has to be a bug.. This should be confirmed by the (BatchStatement.Parsed constructor)[https://github.com/apache/cassandra/blame/cassandra-3.11.12/src/java/org/apache/cassandra/cql3/statements/BatchStatement.java#L514-L520] that calls super with null.
This bug does not exist in the 4.0.2 as they correctly override the isFullyQualified() method.

As per comment on parent issue, could be due to:
https://issues.apache.org/jira/browse/CASSANDRA-17248

Completed work from update list, but as to the real problem(s), I am not quite sure how to proceed.

Seems that calling QueryProcessor.getStatement instead of QueryProcessor.parseStatement does the trick and batches are correctly prepared in that case.. If tests are green, I will update all the tests existing in all persistence modules to not use QueryProcessor.parseStatement..
Seems we only use this in tests, so should be fine overall..


Reduced the testing scope a bit

Removed Clippy until we have fixed the warnings
Run on stable only first
Removed wasm until we have fixed it

Yeah :P I will disable it for now until we can figure out what the cause of the compile errors are


Tmux loses layout after Airline refresh

I've been struggling with this for a while now, and I can't seem to figure it out.
Every time I open vim/nvim in a tmux pane, the tmux statusline (which is customized through powerline) loses layout.
I have recently figured out that it is because of Airline refreshing the tmux statusline.
Because when I call :AirlineRefresh the same thing happens.
Does someone know what's happening?

Fixed it, tmuxline.vim was overwriting my already defined layout.


Unable to start scrcpy - message "Aborted"

[✓ ] I have read the FAQ.
[✓ ] I have searched in existing issues.

Environment

OS: Windows 10
scrcpy version: 1.16
installation method: Windows release
device model: Swift 2 Plus
Android version: 8.1.0

Describe the bug
I downloaded the Windows release from the Genymobile/scrcpy page and it was working perfectly before but at that time it was connected by USB.
I wanted for it to work wirelessly so I restarted ADB in TCP/IP by running the command $ adb tcpip 5555 and after trying that it was working wirelessly as well.
Then, I came across this warning: adb server version (41) doesn't match this client (40); killing... but it was carrying on well.
So because my Android Studio version of ADB was before scrcpy in the PATH, I moved it up and then whenever I ran it from anywhere except the directory where I installed scrcpy, it would give me the error adb: error: cannot stat 'scrcpy-server.jar': No such file or directory.
I looked up that I would need to set the environment variable SCRCPY_SERVER_PATH to the full path of the scrcpy-server.jar file and I did so.
Then I ran scrcpy after restarting Command Prompt and then it started to download something (I think) and then it stopped working. Then, I removed the environment variable and now, no matter if the environment variable is there or not, it gives me this error  path-to-my-scrcpy-folder\scrcpy-server: 1 file pushed, 0 skipped. 9.6 MB/s (33622 bytes in 0.003s) Aborted.
I am unable to fix this. I have already tried re-installing the program but that hasn't worked out for me. I would appreciate any help given. If you need anymore details, be sure to ask.

I moved it up and then whenever I ran it from anywhere except the directory where I installed scrcpy, it would give me the error adb: error: cannot stat 'scrcpy-server.jar': No such file or directory.

That's not expected on recent versions. Did you always used v1.16?
I guess at some time you passed a wrong SCRCPY_SERVER_PATH (pointing to a directory), so it ended up create a directory /data/local/tmp/scrcpy-server.jar (which, again, should not happen anymore in recent versions).
What is the result of:
adb shell ls -l /data/local/tmp

?

Hello @rom1v,

Did you always used v1.16?

I'm sure I did always use v1.16, this is only a week ago when I got these errors.
The result of adb shell ls -l /data/local/tmp is
drwx--x--x 3 shell shell 4096 2020-09-04 20:00 oat
drwxrwxrwx 3 shell shell 4096 2020-07-07 18:34 perfd
drwxrwxrwx 3 shell shell 4096 2020-09-08 19:48 scrcpy-server.jar
-rw-rw-rw- 1 shell shell   40 2020-07-01 14:49 sky.com.example.app_widgets.sha1
-rw-rw-rw- 1 shell shell   40 2020-09-01 19:46 sky.com.example.shop_app.sha1
-rw-rw-rw- 1 shell shell   40 2020-09-01 20:11 sky.com.example.startup_namer.sha1
. (The bottom three are the apps I was developing a few months ago)

The files showing up in the scrcpy-server.jar directory are attached

Ok so the cause of your problem is that in a previous version (v1.8), you wrongly set SCRCPY_SERVER_PATH to your scrcpy directory (instead of the full path to the file scrcpy-server). As a result, it executed adb shell push /your/directory /data/local/tmp/scrcpy-server.jar (to avoid this problem, recent versions do a sanity check that the variable does not point to a directory). As a consequence, it attempts to execute scrcpy-server.jar via app_process, but it's a directory, so it fails and abort.
You should unset SCRCPY_SERVER_PATH, and remove the directory from the device:
adb shell rm -rf /data/local/tmp/scrcpy-server.jar

Then, scrcpy should work as expected.

Dear @rom1v,
Yes, that worked fine and now I am able to run scrcpy without any issues. Thank you for the support and the prompt replies to my comments. You have developed a very good application and it is very useful.
Thank you again,
devmoksh


Modding section has unneeded seperator

Seems to be unnecessary and can probably just be removed. Feels a bit broken like it is.

will be "fixed" with the "new" layout from #32


Video frame issue on some android TV devices

Video frame issue on some android TV devices. Getting issue when scroll down/ keyboard open.

MI Android TV

Hi, thanks for submitting this issue. Can you please provide the following information so we can investigate:
Describe the bug
A clear and concise description of what the bug is.
To reproduce
Steps to reproduce the behavior.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):

Simulator or Real Device:
Device: [e.g. iPhone 12]
OS: [e.g. iOS 12.5]

Debug logs
You can turn on debug logging using the logLevel prop.
Additional context
Add any other context about the problem here.

@maxstoller @vcankur
Android MI TV - android 10
1# - Video Frame is shrinking on opening the keyboard :

Before opening the keyboard:

After opening the keyboard:

2#- Video is also shrinking while scrolling the list :
1.Before Scrolling:

2.After Scrolling

Please suggest the solution to fix the resizing of video:

Already tried aspectZoom,aspectFit,aspectFill but none of them are working.

Hi, do you see this same issue on an Android phone? If so, can you please provide code and/or a sample app that demonstrates the issue? We were unable to reproduce it on a phone.
The IVS Android player SDK doesn’t currently support Android TV. We will update our documentation to make that more clear. I’ve also passed on a request for Android TV support to the rest of the team. Thanks for the feedback.

Hi Team , please can you inform us Amazon IVS Player is currently supported for Android TV and tvOS platforms?
We will awaiting for your answer.


[SB-678] Tidy up poms

@geoand removed the property

Thanks!
Maybe we should at some later point, check and see if there is way to enforce that a POM does not contain properties that are not used


Added Numbers Protocol to network

Description
Add Numbers Protocol to network.
Numbers Mainnet is on Chainlist.org. The SLIP-0044 update is also created.
Changes include

[ ] Bugfix (non-breaking change that solves an issue)
[x] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)
[ ] Tests
[ ] Documentation
[ ] Other (for changes that might not fit in any category)

64px GIF icon:

32px GIF icon:

Hello @shc261392 , can you please update your PR with latest guidelines ? So we can trigger the CI and see if the icons are fine. Thanks!

Hi @vforgeoux-ledger , I've updated the PR with the guideline and added the icon. Thanks!

Hi @vforgeoux-ledger , I've updated the PR with the guideline and added the icon. Thanks!

It looks like the Stax icon doesn't pass the CI. Can you please fix it ?
Let me know if this tool helps.

@vforgeoux-ledger I've replcaed the icon with the image generated via the tool you mentioned. Could you trigger the CI again and let's see if it passes?

@vforgeoux-ledger I've replcaed the icon with the image generated via the tool you mentioned. Could you trigger the CI again and let's see if it passes?

✅ , remaining failing checks are on our side. Thanks @shc261392

Already added in #516


Passing date parameters to patient resource throws error

Do you want to request a feature, improve documentation, or ask a question?
N/A
Are you reporting a bug?
Yes
What is the current behavior?
Error thrown: error: message=date.match is not a function, stack=TypeError: date.match is not a function
What is the expected behavior?
Patient resources that match the date in the birthdate parameter are returned.
What are the steps to reproduce?
Send the following request to the server:
GET /3_0_1/Patient?birthdate=1980-01-01 HTTP/1.1
Host: <IP_ADDRESS>:3000
Content-Type: application/fhir+json
Cache-Control: no-cache

What OS are you using and what version of node.js, @asymmetrik/node-fhir-server-core, and @asymmetrik/node-fhir-server-mongo are you running?
Windows 10 - 64-bit, version 1607

Thanks for reporting this @FSmithYDH.
When I was briefly reading through the source code for query building utils I can see why the error is happening. This will be an easy fix. I'll start working on a patch soon and add some unit tests so this kind of thing does not happen again in the future.

Ok, so we have a patch for this. This patch will fix the issue for now but I am eventually going to clean this function up. The cleanup will be a slightly larger effort so that won't make it here immediately, but the patch should be in by EOD today.

Hey @FSmithYDH, just wanted to provide an update on this. While we were cleaning things up we re-evaluated the parameter parsing in the core library and decided on making a big change there. @jonterrylee is out today but I will check with him to see what we want to do with this.
Currently core cannot support modifiers, so field modifiers like gender:not and value modifiers like lt2010-10-10, are not possible. But we will be adding support for these soon.

This issue was resolved with the addition of @asymmetrik/fhir-qb-mongo.


port motion_velocity_optimizer

Remarks

add autoware_planning_msgs/VelocityLimit.msg
replace boost::shared_ptr to std::shared_ptr
replace dynamic reconfigure to add_on_set_parameters_callback.
add blockUntilVehiclePositionAvailable as in mpc_follower porting

TODO

[x] needs osqp fix to be merged : https://github.com/tier4/Pilot.Auto/pull/66
[x] needs to add dynamic-reconfigure function

This also has the TF issue. https://github.com/tier4/AutowareArchitectureProposal/issues/103

@fred-apex-ai I modified from your review. Some review comments are still open because I want you to check it.

@TakaHoribe looks like it's all taken care of, go ahead, please

@fred-apex-ai Thanks for your review. I'll merge after the CI passes.


Cleanup couch_ejson_compare C module

Add static modifiers to some of the newer functions.
Fix function protype for get_collator to be void. This squashes this warning on MS compiler:
'get_collator': no function prototype given: converting '()' to '(void)'

@kocolosk thanks for taking a look.
Good idea to link to the PRs which introduced the functions. The PR are:

is_max_utf8_marker
get_icu_version and get_uca_version
compare_strings_nif

+1 from me as well.


Closes #446 | Add/Update Dataloader voxlingua

Please name your PR title and the first line of PR message after the issue it will close. You can use the following examples:
Title: Closes #446 | Add/Update Dataloader voxlingua
First line PR Message: Closes #446
Checkbox

[x] Confirm that this PR is linked to the dataset issue.
[x] Create the dataloader script seacrowd/sea_datasets/{my_dataset}/{my_dataset}.py (please use only lowercase and underscore for dataset folder naming, as mentioned in dataset issue) and its __init__.py within {my_dataset} folder.
[x] Provide values for the _CITATION, _DATASETNAME, _DESCRIPTION, _HOMEPAGE, _LICENSE, _LOCAL, _URLs, _SUPPORTED_TASKS, _SOURCE_VERSION, and _SEACROWD_VERSION variables.
[x] Implement _info(), _split_generators() and _generate_examples() in dataloader script.
[x] Make sure that the BUILDER_CONFIGS class attribute is a list with at least one SEACrowdConfig for the source schema and one for a seacrowd schema.
[x] Confirm dataloader script works with datasets.load_dataset function.
[x] Confirm that your dataloader script passes the test suite run with python -m tests.test_seacrowd seacrowd/sea_datasets/<my_dataset>/<my_dataset>.py or python -m tests.test_seacrowd seacrowd/sea_datasets/<my_dataset>/<my_dataset>.py --subset_id {subset_name_without_source_or_seacrowd_suffix}.
[ ] If my dataset is local, I have provided an output of the unit-tests in the PR (please copy paste). This is OPTIONAL for public datasets, as we can test these without access to the data files.

For 6 & 7, I have tested it using ceb language only since the data folder is quite large (up to 6GB per each language)

LGTM! Just have a small comment. Thank you!

Thanks LJ, comment addressed, pls have a check, thanks!


inc_rename not working anymore?

Is it just me or does inc_rename not work anymore?

Works for me

Could you provide more details?


resource ids are repeated, all resource ids in input file should be unique

AL Compiler version 0.15.18771
Platform Version 12.0.21812
We sent request to LCS for translation and we got below response.

Duplicate Resource Ids.txt

@DominikDitoIvosevic what is resource id in translation file?
can we manually fix them? what impact it will have if we fix manually and generate file next time?

Resource IDs are IDs of each translation item. Each translation item should only be related to one label and the reverse should hold as well. Could you please find out which 2 labels have identical IDs and paste them here so that I can investigate why this happens? A workaround is to rename one of them

Do you mean Table<PHONE_NUMBER> - Property<PHONE_NUMBER> is resource id in below screenshot?
our translation file has 111169 lines. is there any way to identify duplicates without manual check?

@DominikDitoIvosevic I think I found. are these the ones?

Am I correct that these are labels on triggers on fields on a table? This is a known issue which we fixed in master but didn't want to backport yet to not break backwards compatibility as the IDs have to have additional 4th value for differentiation.
The workaround for you is to rename the labels so that they don't have the same name. I was also told it is general practice to have all labels as global variables on the object which would also avoid these issues.

The IDs have to be exactly the same as the compiler would generate them.
1. Change the name of the labels in your AL code so that they are different
2. Generate a new xliff file
3. See the new ID values
4. Apply them in your xliff file.
If you change the ID to a new value without renaming the label you will simply disconnect them and the compiler wont use that translation.

I have the same problem.
Is this going to be fixed in the future? do you know when it will be?
Or we have to change our labels manually in order to fix it?
Thanks!!

Hi @mr-sala
What version are you using since it should be fixed in the developer preview and in Business Central now.

hi @thpeder
I'm using
AL Extension Version: 0.12.25327
Server Version: 11.0.23019 (NAV 2018 CU7)

The fix wasn't backported to Nav2018, so you will have to use the workaround that Dominik wrote, namely to rename the label variable.


Add additation info logs to scop claim mapping stored procedure

Purpose

note #subject

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.bhagyasakalanka seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Don't modify transactions when signing no broadcast requests

If fuel is enabled when signing an ESR that has the broadcast flag set to false the resulting signature will be invalid when used by the requester

Gonna close this since Aaron's commit is already on develop.


Wrong PURL in SWO

Hey! In our great OBO wide effort to fix our PURLs, I noticed the following wrong ones being used in SWO:
http://purl.obofoundry.org/obo/IAO_0000136
should be:
http://purl.obolibrary.org/obo/IAO_0000136

Thanks so much @matentzn !
I'll get onto an update for that.


Add includeStage to allow starting check immediately for JUnit

Relates to https://github.com/jenkinsci/checks-api-plugin/issues/199
I can't see a specific issue for it but I think its came up for it.
The specific usecase I have is for Jenkins core.
Multi hour testsuite in some cases.
I would like the check to be changed to pending as soon as it starts running the maven build, which can be done by wrapping it with:
withChecks('Tests', includeStage: true) {
  junit '*.xml'
}

You could work around it before by specifying the full checks name in withChecks, e.g. the stage yourself manually but its clunky.
Example checks names:

Tests / linux-jdk17 / Linux - JDK 17 - Test
Tests / linux-jdk21 / Linux - JDK 21 - Test

Ideally you wouldn't even need to specify the name Tests as thats the default in the JUnit plugin but the only workaround I could think of was making the JUnit step a block scoped step, but I figured this was probably useful to other plugins.
Thoughts?
Testing done
TODO Look at any unit or integration tests
Manually tested at https://github.com/timja-org/junit-attachments-test/pull/9

### Submitter checklist
- [ ] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!
- [ ] Ensure that the pull request title represents the desired changelog entry
- [ ] Please describe what you did
- [ ] Link to relevant issues in GitHub or Jira
- [ ] Link to relevant pull requests, esp. upstream and downstream changes
- [ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue

Oh I see, the "Tests" at the start is what was specified in withChecks. So with an empty step name and omitting the separator, it'd be "linux-jdk17 / Linux - JDK 17 - Test"?

Yeah should be that

Thanks for the review 😄


GEODE-4408: Move CacheableKeys.hpp to internal include dir

Signed-off-by: Echo Bravo<EMAIL_ADDRESS>

@pivotal-jbarrett how about now? ;)


GlobalMemoryAllocator sometimes returns misaligned pointers

This can be reproduced by running:
ls /
ls /
ls /
ls /
ls /

Not sure if this is actually the problem, I seem to crash when returning from Process::sys$read, seems I smashed the stack somehow?

I am allocating a buffer in each call of readdir in userspace and at some point I run out of heap space. (This should be a static allocation!)
However, I don't understand how this fucks up the stack. Maybe I should finally deal with the whole -fstack-protector stuff.

ac011b4a5ca2db9f71d8ddf7af3f4be5efc3a657


Add sf::UniqueResource to simplify the implementation of move semantics

Description
sf::UniqueResource implements the interface for std::experimental::unique_resource. It's basically a wrapper class that owns a handle to a resource in such a way that you can safely move that handle while ensuring that you never free a given resource more than once.
I suspect this has potential to be used elsewhere in SFML but I'm not yet certain if that is true. Whether this is worth merging largely hinges on whether it can be used in 2 or more places.
Places to consider using sf::UniqueResource:

sf::Texture (Won't let us remove custom copy operations but move operations are simplified)
sf::Shader
sf::SoundBuffer
sf::VertexBuffer
sf::SoundSource (This potentially breaks the assumption that 0-value handles represent a "null" state but maybe I'm misunderstanding OpenAL)
XFreePixmap and other X11 resource cleanup functions (This is possible but painfully verbose for little gain other than purity and satisfaction)
sf::priv::WindowImplWin32 (std::unique_ptr is better fit for m_icon since it's a pointer type and the other members need destruction logic too complicated to capture in a single deleter function)
sf::Font::FontHandles (std::unique_ptr is a better fit since these are pointer types but that's also not possible because other Freetype APIs need to take the address of the underlying pointer which is not possible)

Whether this is worth merging largely hinges on whether it can be used in 2 or more places.

Having a quick look at public headers, I think it could be used to manage OpenAL identifiers in SoundBuffer, SoundSource and SoundStream classes and OpenGL identifiers in Shader, Texture, and VertexBuffer classes.
It could also be used as a cleaner alternative to std::unique_ptr<std::remove_pointer_t<T>, D> to manage FreeType handles in Font.cpp.

Personally not sure the benefits of this are worth it, it's still an experimental proposal and adds unnecessary complexity.
Don't feel too strongly though - would rather we just get a decision made quickly so this doesn't continue to hold up other work

I rebased on master and a few more CI issues. There's still the bigger problem of why sf::Shader is moveable on all platforms except Windows. I'm not sure why a type would moveable on one platform but not the other.
I'm doing enough to maintain this PR so it doesn't go stale but I still haven't gotten back to putting any serious thought into it.

Periodic maintenance rebase. No changes made.

https://github.com/SFML/SFML/blob/839ad6cf70276c6ee78a2f7adc5555e8fc07a6bb/src/SFML/Window/Unix/WindowImplX11.cpp#L625
X11 includes a few non-pointer types that need special cleanup functions. This could benefit from sf::UniqueResource as well.

I'm thinking about this more and I think I want to focus on making this more similar to std::unique_ptr for a few reasons.

std::experimental::unique_resource is not even standardized so it seems excessive to try to match its interface. It was a good starting point but I'm not going to let that stop me from making different decisions.

std::unique_ptr has proven itself to be a great interface and one that most C++ programmers understand quite well. It's probably the most common move-only type we work with. If we match its semantics, we're replicating a known, good solution for resource management. While these resource handles aren't exactly equivalent to pointers, they're used in a similar manner so I think it's a reasonable parallel to draw.

So how do we get closer to std::unique_ptr? First we need some robust way to represent a null state for the resource handle. One option is to treat the default-constructed state of T as representing null. This is what std::unique_ptr does because we've all collectively agreed that pointer types use their default-constructed (or "zero") state to mean "there is no value". In other words std::unique_ptr depends on a sentinel value to represent a default initialized or moved-from state.
sf::UniqueResource aims to work with arbitrary resource handle types. Those resource handle types often do use the default-constructed state (aka the value 0) to represent a null state but this is not a safe assumption to make in the general case. Because of this we maybe cannot use a sentinel value to represent an empty or moved-from state. Luckily we can use std::optional within the class to bolt on an "empty" state to any arbitrary T.
At this point we can now mostly copy the std::unique_ptr interface. We can use operator* and operator-> to easily access (but not modify) the contained handle and modify it as needed. We can have .get() which returns an std::optional<T> just like std::unique_ptr::get() returns the raw pointer it's storing inside. We have operator bool to easily query whether the unique resource has a value. We match the semantics of std::unique_ptr wherein a non-null pointer/resource indicates that the pointer owns something. This eliminates issues where someone tries to use the underlying resource handle after it has been moved. .release() and .reset() still work as intended when you need to free the current resource or replace the current handle with a handle to a new resource.
There's a lot of value in a type that already obeys existing semantics we all know and understand.

I've been working on this off and on the last few weeks and pushed up an updated version of sf::UniqueResource alongside using it in sf::Shader and sf::Texture. I'm still on the fence about whether the underlying handle should be nullable via std::optional or nullable by using its default-constructed state as the "null" state (like std::unique_ptr does) but so far I'm sticking with the std::optional<Handle> route. If we use sf::UniqueResource in a bunch of places and it still ends up that all handles use 0 as their "null" state then we can remove the std::optional and simplify sf::UniqueResource in a few ways. However if a single kind of resource handle uses 0 as a valid state then we can't do that.

I was able to use UniqueResource to remove the custom destructors for sf::Shader, sf::Texture, and sf::VertexBuffer which means we've met my minimum requirement for this being a worthwhile addition to the library! After doing that I saw that every single resource we were managing used 0 as its null state so I added one more commit to this PR that takes advantage of that fact and removes std::optional from UniqueResource in favor of treating the Handle's default-constructed state as being its "null" state. This lets us simplify things significantly.
Are there resources with handles where the default-constructed state is valid? Yeah maybe. However those handles are either not used in SFML or if they are used it's not a big deal to maintain the status quo and handle them in a more manual fashion. This most recent change means that the majority of resource handles are treated in a simple, elegant fashion that is very similar to std::unique_ptr.
I know I've changed my mind a few times on this PR but this is the most certain about it I've been so far. I'm marking this as ready for review so we can resume the discussion in hopes of getting this merged soon.

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.

So how do we get closer to std::unique_ptr? First we need some robust way to represent a null state for the resource handle.

Do we though? I found unique_ptr being and owned pointer and representing a null state a bad separation of responsibilities. It's basically the Billion Dollar Mistake all over again.
I wonder if sf::UniqueResource should not have an always-valid state, and use std::optional<sf::UniqueResource<T>> if we need an absent value.
Maybe the use cases we handle become too verbose as a result, though; in that case, might be indeed better to have built-in nullability.

Do we though?

I reverted that decision between writing that comment and the latest commit. My new preferred solution involves no additional optionals.

Maybe the use cases we handle become too verbose as a result, though; in that case, might be indeed better to have built-in nullability.

The built-in nullability comes from the handles themselves being nullable as per the conventional of the handles we're wrapping. The libraries giving us these handles treat 0 as "null" so we can take advantage of that.

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.
Rebased on master and updated tests to Catch2

If we require that a default-constructed handle corresponds to a null state, maybe UniqueResource needs to be in sf::priv namespace as it cannot be used in the general case?
Anyways this convention could be added to the class documentation.

If we require that a default-constructed handle corresponds to a null state, maybe UniqueResource needs to be in sf::priv namespace as it cannot be used in the general case?

I'm fine with that. I don't plan on users using this. My only intention is to clean up some of our implementations. We can always change our mind and make it public later if we so choose.

SFMLBuildMaster: Build this please.

If we require that a default-constructed handle corresponds to a null state, maybe UniqueResource needs to be in sf::priv namespace as it cannot be used in the general case?

If this is at some point no longer the case, we could always have compile-time metaprogramming that would construct a null state for a handle type.
Either something like
template <typename T>
struct HandleDefault {
    static T value() { return T(); }
};

// now specialize for concrete T

Or if we have lots of handles that are int but fundamentally different types:
class UniqueResource<T, HandleOp = Default<T>> { ... };

If the type is only used internally, it should probably be in sf::priv. Then we can also iterate on the API, including breaking changes, until we converge on something that works well for a lot of cases. It could also be promoted to the public API as soon as we either want to expose UniqueResource in interfaces, or want the user to benefit from similar functionality.

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.


feat: Added AccessedViaMountTarget condition for deny_nonsecure_transport

Fixes #20
Fixes #11
This doc explains it - https://docs.aws.amazon.com/whitepapers/latest/efs-encrypted-file-systems/encryption-of-data-in-transit.html

This PR is included in version 1.4.0 :tada:


Improve the deploy mechanism

In accordance with:
https://github.com/afragen/github-updater/issues/354

Have something initial now... See here:
https://github.com/afragen/github-updater/issues/354#issuecomment-187744565

PR here: https://github.com/afragen/github-updater/pull/366


[Feature] Virtual keyboard on Smart TV

Device
TV
Suggestion
When I play from the Smart TV (LG WebOS) and a text field appears, I cannot enter it since my controller does not have letters. A virtual keyboard would be useful.

Too complicated


Documentation about cli

I think we are missing getting started. I am not possible to get started now by reading the docs. We completely ignored what is required (docker-compose) and what is the flow of commands you should start with.

@wtrocki added them. Let's refactor this to docusaurus in another PR.


Vulnerability roundup 85: libvirt-6.2.0: 2 advisories [8.1]

search, files

[ ] CVE-2017-1000256 CVSSv3=8.1 (nixos-unstable)
[ ] CVE-2019-3886 CVSSv3=5.4 (nixos-unstable)

Scanned versions: nixos-unstable: 22c98819ccd. May contain false positives.
Cc @fpletz
Cc @globin

This version of package is no longer in nixpkgs.
Closing.


Lab2 has bugs.

Hi, I have done the my own lab2, and has passed all test code in gradescope.
But there is a question in my code that I can't understand, Why the time of crabing latch is larger than just use a global mutex ?
With this doubt, I test your source code.
Unfortunately,  I found your code has a bug as shown in following, and also has the problem of the time of latch and mutex.
Running main() from gmock_main.cc
[==========] Running 7 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 7 tests from BPlusTreeConcurrentTest
[ RUN      ] BPlusTreeConcurrentTest.InsertTest1
[       OK ] BPlusTreeConcurrentTest.InsertTest1 (608 ms)
[ RUN      ] BPlusTreeConcurrentTest.InsertTest2
[       OK ] BPlusTreeConcurrentTest.InsertTest2 (394 ms)
[ RUN      ] BPlusTreeConcurrentTest.DeleteTest1
[       OK ] BPlusTreeConcurrentTest.DeleteTest1 (103 ms)
[ RUN      ] BPlusTreeConcurrentTest.DeleteTest2
[       OK ] BPlusTreeConcurrentTest.DeleteTest2 (106 ms)
[ RUN      ] BPlusTreeConcurrentTest.MixTest1
[       OK ] BPlusTreeConcurrentTest.MixTest1 (19748 ms)
[ RUN      ] BPlusTreeConcurrentTest.MixTest2
/home/fhkong/bustub2020-lab2/test/storage/grading_b_plus_tree_checkpoint_2_concurrent_test.cpp:446: Failure
Expected equality of these values:
  size
    Which is: 599
  perserved_keys.size()
    Which is: 600
[  FAILED  ] BPlusTreeConcurrentTest.MixTest2 (14673 ms)
[ RUN      ] BPlusTreeConcurrentTest.MixTest3
[       OK ] BPlusTreeConcurrentTest.MixTest3 (18888 ms)
[----------] 7 tests from BPlusTreeConcurrentTest (54520 ms total)

[----------] Global test environment tear-down
[==========] 7 tests from 1 test suite ran. (54520 ms total)
[  PASSED  ] 6 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] BPlusTreeConcurrentTest.MixTest2

Thanks for your issue.
However, it has been too long since I finsih the lab. I have forgotten the details of this profect, and I'm not going to update this project nor fix bugs in it. I'm afraid you would find out the reason on your own.
Good luck!

Lab3 has bugs too
Running main() from gmock_main.cc
[==========] Running 5 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 5 tests from LockManagerTest
[ RUN      ] LockManagerTest.BasicTest
2022-08-24 07:24:37 [others/bustub2020/src/include/concurrency/lock_manager.h:62:LockManager] INFO  - Cycle detection thread launched
2022-08-24 07:24:37 [others/bustub2020/src/include/concurrency/lock_manager.h:69:~LockManager] INFO  - Cycle detection thread stopped
[       OK ] LockManagerTest.BasicTest (50 ms)
[ RUN      ] LockManagerTest.TwoPLTest
2022-08-24 07:24:37 [others/bustub2020/src/include/concurrency/lock_manager.h:62:LockManager] INFO  - Cycle detection thread launched
2022-08-24 07:24:37 [others/bustub2020/src/include/concurrency/lock_manager.h:69:~LockManager] INFO  - Cycle detection thread stopped
[       OK ] LockManagerTest.TwoPLTest (50 ms)
[ RUN      ] LockManagerTest.UpgradeLockTest
2022-08-24 07:24:37 [others/bustub2020/src/include/concurrency/lock_manager.h:62:LockManager] INFO  - Cycle detection thread launched
2022-08-24 07:24:37 [others/bustub2020/src/include/concurrency/lock_manager.h:69:~LockManager] INFO  - Cycle detection thread stopped
[       OK ] LockManagerTest.UpgradeLockTest (50 ms)
[ RUN      ] LockManagerTest.GraphEdgeTest
2022-08-24 07:24:37 [others/bustub2020/src/include/concurrency/lock_manager.h:62:LockManager] INFO  - Cycle detection thread launched
2022-08-24 07:24:37 [others/bustub2020/src/include/concurrency/lock_manager.h:69:~LockManager] INFO  - Cycle detection thread stopped
[       OK ] LockManagerTest.GraphEdgeTest (50 ms)
[ DISABLED ] LockManagerTest.DISABLED_BasicCycleTest
[ RUN      ] LockManagerTest.BasicDeadlockDetectionTest
2022-08-24 07:24:37 [others/bustub2020/src/include/concurrency/lock_manager.h:62:LockManager] INFO  - Cycle detection thread launched
Segmentation fault

It cost me a lot of time to find the bug ...


build: use poetry

Use poetry as dependency manager
Use multistage build
Update python version to 3.9

Should also update the workflows to run tests with poetry + add the BDD dependencies.


fix: deploy errors based on subscription status

Updates the deploy error page to be more descriptive based on subscription status. More details: https://www.notion.so/rilldata/Rill-Developer-deploy-trial-information-modal-cases-135ba33c8f5780f6959ae5873e7c44cb?d=13cba33c8f5780eabf04001c47642617#138ba33c8f5780b5b740c20fdca6b422

[x] Skip showing the "Start trial" confirm dialog during deploy if the user has any org with a plan attached.
[x] Show the "Start trial" confirm dialog when the selected org during deploy is a blank org without a plan attached.
[x] Parse deploy errors and show upgrade button when quota is hit or subscription has ended.
[x] The upgrade button from the above should take the user to rill cloud's billing page with upgrade modal open.
[x] Upgrading successfully in clould should redirect user back to deploy. Note that if the user navigates to some other page here before upgrading then the redirect will no longer apply.

Thanks @ericpgreen2 . We did a round of QA with @ericokuma and @jkhwu


[NEW FEATURE] - Add ''create proposal'' record in Profile activity

Briefly describe the feature.
Add ''create proposal'' record in Profile activity
Which problem is this feature trying to solve?
Currently, the activity in Profile only shows one's voting record.
We should find a way to add the proposal record as well, this also get us insights on the historical reputation of the proposer.
Of course, if we introduce this, we will also need a filter here.

What is the expected solution?
Add the record of proposal history along with voting history.
How do you currently handle this problem?
No response
Anything else you'd like to mention?
No response

Similar to #3340


If no project config is available it fails to deploy nginx only

If there is no project config, the system is failing when trying to deploy nginx only projects.

@ohauer fixed in next version


Revert eslint package

Revert eslint package to v8.22.0 due to the TypeError below. This prevents the IDE from highlighting lint errors.
"eslint TypeError: this.libOptions.parse is not a function"

Codecov Report

Merging #2470 (8ed1635) into main (87c43b1) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             main    #2470    +/-   ##
========================================
  Coverage   71.22%   71.22%
========================================
  Files         427      427
  Lines        7926     7926
  Branches     1838     1837     -1
========================================
  Hits         5645     5645
+ Misses       2278     2174   -104
- Partials        3      107   +104

Impacted Files
Coverage Δ

src/utils/cookie.ts
58.33% <0.00%> (ø)

src/utils/format.ts
67.00% <0.00%> (ø)

src/api/orgs/orgUtils.ts
37.50% <0.00%> (ø)

src/api/queries/query.ts
43.85% <0.00%> (ø)

src/utils/localStorage.ts
78.66% <0.00%> (ø)

src/store/metrics/selectors.ts
75.86% <0.00%> (ø)

src/api/resources/resourceUtils.ts
17.18% <0.00%> (ø)

src/components/exports/exportsLink.tsx
43.75% <0.00%> (ø)

src/routes/components/currency/currency.tsx
31.25% <0.00%> (ø)

src/routes/costModels/components/errorState.tsx
37.83% <0.00%> (ø)

... and 24 more

Continue to review full report at Codecov.

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


Add support for OpenID Connect OAuth2 self-hosted services for external auth

Referencing:
https://github.com/Nordaaker/convos/issues/89#issuecomment-554748818
Using build in OAuth2 provider functionality of self-hosted services such as Nextcloud or Gitea there could be a really easy registration and login functionality similar to the often found "log in with Github" etc. buttons.
See for example: https://docs.nextcloud.com/server/17/admin_manual/configuration_server/oauth2.html
https://docs.gitea.io/en-us/oauth2-provider/

The big problem here is not how to authorise the user, but rather how to get the email (or other information) after the user has authorised the access.
I don't know how to do this in a generic way.

AFAIK you can request access to that and usually the identifier is "email". But that that could be just a admin config setting.
IMHO just have a look at how others do the same, it's a solved problem I think.

This would be really interesting for us! We're making an inbox service where we can have addons. I'd love to show Convos in an iframe, and create a user in the background. Wouldn't have to be tied to email or anything, we could just handle authentication on our side. That would actually be the ideal solution.

I'm still very unsure how to solve this. If someone can draft which (semi-) standard URLs that can be used after the user gets redirected to Convos to retrieve the user profile, then I will implement it. If there is no such thing as a standard list, then at least I want to start out with Google, Github and whatever @leshokunin is using.
The flow is something like this:

You arrive at https://your-convos.example.com/login
You click on one of/a "Connect" button which takes you to a provider X (Google, Github, ....)
You either accept or reject on the providers webpage
If you accept, then Convos gets a token it can use to retreive information from provider X
Convos needs an endpoint user profile URL where it can retrieve information from (this is where my problem comes in)
Once Convos has done a GET to endpoint user profile URL, then Convos needs to know which field to fetch. Maybe "email" is a standard field, but I don't know.

Some help to make this generic is very much welcome. I will use https://metacpan.org/pod/Mojolicious::Plugin::OAuth2#Configuration which already support a list of providers, but no means to retrieve the user information.

I think you need to look into the OpenID Connect standard that builds this on top of oauth2.
Besides that, an option only for logging into a linked account without auto registration would also be a good start.

logging into a linked account without auto registration would also be a good start.

How does that work?
I’ve spent way too much time looking into the Oauth2/OpenID “standards” years ago. It was a complete mess. Not saying it’s as bad now, but without any help I don’t see this issue going anywhere.

The way that is implemented in the Nextcloud social plugin for example is that a user that is regularly logged in can authenticate with oauth2 (say their twitter account) and that account will be linked to their existing account. Then next time they want to log in they just need to press the "login with twitter" button.

It still needs to connect the user with some sort of key. Oauth2 does not do authentication, it just gives some sort of authorization level.

So I guess I can close this now... Is the feature documented somewhere?

The feature isn't finished just a branch that mostly works. I'm sorry I haven't had time to come back to it yet. Between work and parenting I have precious little open source time available to me. I'd leave it open for tracking for now if you don't mind?

Not sure if this is interesting or not: #696


General README.md discussion

I made a new branch, improve-readme, for us to collaborate on the matter of... improving the readme.

Not on my laptop right now. But do we want to change
pkg install py27-hypatia-engine
to
sudo pkg install py27-hypatia-engine
and
pkg_install hypatia
to
sudo pkg_install hypatia
To match what's in get.html?

Sorry meant
sudo pkg install py-game
and
sudo pkg_add pygame

@ibara as you see it's resolved in 9d20a6d


UNBLOCKED GAMES dress up games unblocked | Play Free Games Online - d1sol

UNBLOCKED GAMES dress up games unblocked | Play Free Games Online - d1sol
dress up games unblocked is a popular website that offers a wide variety of games that can be played in environments where access to gaming sites is typically restricted, such as schools and workplaces.
Enjoy playing all your favorite casual dress up games unblocked, office, or home. Dive into the world of online free games without downloads!
👉🔴 SITE Games Unblocked >> dress up games unblocked
👉🔴 PREMIUM Games Unblocked >> dress up games unblocked
🙋♀ A short introduction - what is your organization all about?
🌈 Contribution guidelines - how can the community get involved?
👩💻 Useful resources - where can the community find your docs? Is there anything else the community should know?
🍿 Fun facts - what does your team eat for breakfast?
🧙 Remember, you can do mighty things with the power of Markdown
dress up games unblocked: Unlocking Premium Fun in Educational Settings
In recent years, the phenomenon of dress up games unblocked has taken the online gaming community by storm. These games, designed to bypass restrictions often placed by schools and workplaces, provide a unique blend of entertainment and engagement, especially for students. Among the vast array of options, unblocked premium games stand out as a popular choice, offering enhanced features, better graphics, and a more immersive gaming experience.
What Are dress up games unblocked?
dress up games unblocked are online games that can be accessed and played without restrictions, typically in environments like schools or offices where gaming sites might be blocked. The appeal of these games lies in their accessibility and the diverse range of genres available, from action and adventure to puzzles and strategy. Students often turn to these games during breaks or downtime, providing a quick escape from their academic routines.
The Rise of Premium dress up games unblocked
As the unblocked games market has evolved, so has the demand for premium content. Premium dress up games unblocked are those that offer superior gameplay experiences, often including advanced graphics, engaging storylines, and multiplayer functionalities. Many of these games are adaptations of popular titles, enabling players to enjoy high-quality gaming even in restricted environments.
The allure of premium unblocked games lies in their ability to combine fun with an element of strategy and critical thinking. Many of these games challenge players to solve complex problems, collaborate with peers, and develop skills that are beneficial beyond the gaming world.
Benefits of Playing dress up games unblocked

Stress Relief: For students juggling a demanding academic schedule, unblocked games provide a much-needed break. Engaging in play can reduce stress and enhance overall well-being.
Social Interaction: Many unblocked games allow for multiplayer modes, enabling students to connect with friends or even make new ones. This social aspect is particularly valuable in school settings, fostering teamwork and collaboration.
Skill Development: Numerous unblocked games require strategic thinking, quick reflexes, and problem-solving abilities. These skills can translate to academic success, making gaming a potentially productive pastime.
Creativity Boost: Games that allow for customization and creative expression can inspire students to think outside the box, enhancing their creative skills.

Popular Genres of dress up games unblocked Premium Games

Action and Adventure: Games that provide thrilling narratives and exciting challenges, often featuring iconic characters and rich worlds. Titles like "Among Us" or "Minecraft" have gained immense popularity in unblocked formats.
Puzzle and Strategy: These games challenge players to think critically and plan ahead, with examples including "2048" and "Bloons Tower Defense."
Simulation: Games like "The Sims" or "Animal Crossing" let players create and manage their virtual lives, promoting creativity and organization.
Sports and Racing: Titles such as "Basketball Stars" and "Slope" offer fast-paced action and competitive gameplay, appealing to sports enthusiasts.

Conclusion
dress up games unblocked premium games represent a dynamic intersection of fun and education, providing students with a unique platform to unwind while also honing valuable skills. As educational institutions continue to grapple with balancing entertainment and learning, these games offer a solution that can enhance the school experience. By integrating gaming into their downtime, students can enjoy the thrill of play while developing critical skills, making unblocked premium games a worthwhile addition to any educational setting.

bcb


MDL SDK 2019.1.1

MDL SDK 2019.1.1
Definitely a WIP
Tweaked many times MDL SDK CMake build config to make it pass
Patch description :

0001-freeimage-dependency-search.patch : allow to pull freeimage from vcpkg
0002-install-rules.patch : make MDL SDK install its main target
0003-disable-freeimage-faxg3.patch : disable image format not supported by vcpkg port
0004-clang-tool-version.cmake : even if restricted by current CMake build config, using newer clang seems to work

Notes:
1/ CMake MODULE installed target (at least on Windows)
vcpkg post build checks verify that after a static build no .dll exists in lib/ directory
However CMake MODULE target only produced .dll file
My hack is to directly installed them in installed/ and produce dummy file to pass post build checks

/azp run

/azp run

/azp run

Pinging @theblackunknown for response. Is work still being done for this PR?

@LilyWangL this PR is on hold for too long, if you want to do some cleanup and delete it go ahead

Thanks for your PR! I am closing this PR for now, please reopen if work is still being done.


dcos 1.7  - unable to access marathon

Getting error while accessing marathon, seems to be an issue with zookeeper
HTTP ERROR: 503
Problem accessing /. Reason:
Could not determine the current leader

@jitendraky You might want to try using mesos-resolve to determine the leader via zookeeper:
$ mesos-resolve `cat /etc/mesos/zk` 2>/dev/null

Looks like a dupe of #4063


Customize cluster annotation image

Hello,
Is it possible to customise the image of the cluster annotations?
Best regards,

Yes, the included ABFClusterAnnotationView.h serves as the default view, but you could subclass it and then override drawRect: to customize the image.
You will then need to define - (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(id <MKAnnotation>)annotation as part of MKMapViewDelegate and return your custom annotation view.
If you look into ABFRealmMapView.m you will see that all the MKMapViewDelegate methods are defined, but they check to see if you set a delegate to override, see here.


DSM 7.2.1-69057 Update 4 for DS920+

Hi,
I noticed DSM 7.2.1-69057 Update 4 isn't listed in the "Confirmed working on" data table for the DS920+.
Is it due to the version not being compatible with this script or it hasn't been tested yet?
Thanks again for creating this script!

It's just that nobody with a DS920+ using DSM 7.2.1-69057 Update 4 has taken the time to report that it worked.

I see. I’ll update now and provide you an answer.

Confirming all is well with DSM 7.2.1-69057 Update 4 on DS920+ 👍


Support macOS with M1

Running this on a M1 Mac produces:
❯ npm exec convert-svg-to-png file.svg
convert-svg-to-png failed: Error: spawn Unknown system error -86
at ChildProcess.spawn (node:internal/child_process:413:11)
at Object.spawn (node:child_process:700:9)
at Launcher.launch (/Users/user/Desktop/tmp/node_modules/puppeteer/lib/Launcher.js:132:40)
at async Converter.[getPage] (/Users/user/Desktop/tmp/node_modules/convert-svg-core/src/Converter.js:273:24)
at async Converter.[convert] (/Users/user/Desktop/tmp/node_modules/convert-svg-core/src/Converter.js:205:18)
at async Converter.convertFile (/Users/user/Desktop/tmp/node_modules/convert-svg-core/src/Converter.js:148:20)
at async CLI.[convertFiles] (/Users/user/Desktop/tmp/node_modules/convert-svg-core/src/CLI.js:198:30)
at async CLI.parse (/Users/user/Desktop/tmp/node_modules/convert-svg-core/src/CLI.js:172:9)
at async /Users/user/Desktop/tmp/node_modules/convert-svg-to-png/bin/convert-svg-to-png:35:5

You can try resvg-js, which supports Apple M1

I'm sorry for the delay in replying in responding to you but life sometimes gets in the way of OSS development. I thank you for your patience and, although I'm closing this issue out, I hope you'll be glad to know that I believe this issue has been resolved in with today's 0.6.0 release with a bump in Puppeteer to the latest version. I believe ^10 was needed for M1 support and we're now on ^13.7.
If you continue to have this problem, please raise a new ticket with an SVG to reproduce the problem and, where possible, an expected and actual file of the output. I hope you can understand my delay.

Excellent, thank you!


Reorder HTML elements

Hello,
Is it possible to re-order HTML elements, so the tns-ovh will be above tns-nav?
Currently, the structure is:

tns-controls
tns-nav
tns-ovh

I would prefer to have elements in the following order:

tns-ovh
tns-controls
tns-nav

I need to put tns-nav element below the slider. However, the current solution is only absolute positioning, which requires a bunch of CSS lines to make it work.
The more elegant solution will allow me to reorder elements in HTML markup.

There are options for that.
You can set navPosition: 'bottom' and controlsPosition: 'bottom'.


Reverse words fix argument

Fix for #277

This PR has too many commits (see the "Commits" tab). It should only have the commits pertaining to the fix that's being made for the issue in question.
Would you mind closing this, checking out master, syncing to HEAD on master, making a new branch from HEAD, and trying again? (Sorry I missed this when reviewing the previous PR.)

I was wondering about that.


Truffle Plugin Feasibility Research

Research File: https://www.notion.so/limechain/Truffle-d88970dc09894959b955ff1a778e14df

We will not be proceeding with Truffle plugin implementations, hence I am closing this task.


Add Normal and Selected Foreground styles for activity bar to theme settings

currently there is activityBar.foreground to style the activity bar's icons overall but I think it would also be useful to have a selected or active foreground color when you either are hovering over a icon or clicked on one.

Can this be reopened? The issue it thinks is a duplicate is actually not the same

I am referring to specifically theming these icons in the activity bar:

I do not believe this is a duplicate of #33346

Its https://github.com/Microsoft/vscode/issues/51796

Okay thank you


Not compatible with Rails 5.1.0.rc1

Bundler could not find compatible versions for gem "railties":
  In Gemfile:
rails (~> 5.1.0.rc1) x86-mingw32 was resolved to 5.1.0.rc1, which depends on
      railties (= 5.1.0.rc1) x86-mingw32

sass-rails (~> 6.0.0.beta1) x86-mingw32 was resolved to 6.0.0.beta1, which
depends on
      railties (< 5.0, >= 4.0.0) x86-mingw32

Output after running bundle update

sass-rails 5.0.4 is compatible. Why are you using the beta version?

@rafaelfranca I just wanted to be on the latest release.
Why is 5.0.6 compatible and 6.0.0 not?

Becase the 6.0.0.beta1 is not ready yet.


Update message.txt

you do not create a PR, you need to change the message in the main branch and then either use vercel to push the site into prod or use github pages. cloudflare pages works too i think


ballmaze game: Navigate a ball through a maze using the accelerometer

Using extremely naive physics/collision code (for now), but it seems to work okish.

Nice - thanks!


remove check for updates

Ran into issues getting the default branch variable in here. The script will fail later anyways if there are no updates

Love this fix. Very simple. Straightforward.


Fluid Tank duping Buckets

Issue Description:
Note: If this bug occurs in a modpack, please report this to the modpack author. Otherwise, delete this line and add your description here. If you are using an unreleased version of Ender IO (e.g. for 1.8.9), please don't open an issue for features that have not been announced as "finished" or "working".
What happens:  When using the fluid tank to fill buckets in order to feed a farm, the water buckets are being duped.
What you expected to happen:  I expect an empty bucket to enter and a filled bucket to get pulled out.  What happens is that an empty bucket enters and 1000 filled buckets are created.
Steps to reproduce:
1.attach to water source (ender io)
2. put empty bucket in
3. collect 1000 full buckets
...

Affected Versions (Do not use "latest"):

EnderIO: <IP_ADDRESS>
EnderCore: <IP_ADDRESS>
Minecraft: 1.10.2
Forge: <IP_ADDRESS>4

Your most recent log file where the issue was present:
[pastebin/gist/etc link here]

and you probably duplicated a bug :D
https://github.com/SleepyTrousers/EnderIO/issues/3507
check if there is IC2 present

yes, known bug in IC2


Layout break in CollectionDetailsPage when having executed Memos

Steps to reproduce:

Execute at least 1 Memo fro ma given collection;
Open the collection details page.

Stacktrace:

flutter:   size: Size(324.0, 47.6)
flutter:   direction: vertical
flutter:   mainAxisAlignment: start
flutter:   mainAxisSize: min
flutter:   crossAxisAlignment: stretch
flutter:   verticalDirection: down
flutter: ◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
flutter: The following assertion was thrown during layout:
flutter: A RenderFlex overflowed by 29 pixels on the bottom.
flutter:
flutter: The relevant error-causing widget was:
flutter:   Column
flutter:
lib/…/theme/collection_card.dart:56
flutter:
flutter: To inspect this widget in Flutter DevTools, visit:
flutter: http://<IP_ADDRESS>:9100/#/inspector?uri=http%3A%2F%2F<IP_ADDRESS>%3A63724%2FC1EyCvuzJMk%3D%2F&inspectorRef=inspector-8
flutter:
flutter: The overflowing RenderFlex has an orientation of Axis.vertical.
flutter: The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and
flutter: black striped pattern. This is usually caused by the contents being too big for the RenderFlex.
flutter: Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the
flutter: RenderFlex to fit within the available space instead of being sized to their natural size.
flutter: This is considered an error condition because it indicates that there is content that cannot be
flutter: seen. If the content is legitimately bigger than the available space, consider clipping it with a
flutter: ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex,
flutter: like a ListView.
flutter: The specific RenderFlex in question is: RenderFlex#ac9d0 relayoutBoundary=up1 OVERFLOWING:
flutter:   creator: Column ← Flexible ← Column ← Padding ← CustomPaint ← DecoratedBox ← Container ← Listener ←
flutter:     _GestureSemantics ← RawGestureDetector ← GestureDetector ← CollectionCard ← ⋯
flutter:   parentData: offset=Offset(0.0, 0.0); flex=1; fit=FlexFit.loose (can use size)
flutter:   constraints: BoxConstraints(w=335.3, 0.0<=h<=2.5)
flutter:   size: Size(335.3, 2.5)
flutter:   direction: vertical
flutter:   mainAxisAlignment: start
flutter:   mainAxisSize: min
flutter:   crossAxisAlignment: start
flutter:   textDirection: ltr
flutter:   verticalDirection: down
flutter: ◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════

It doesn't show a visual inconsistency, although the layout error is thrown

This is a problem with the hero animation stretching itself vertically, probably a Flex issue.

Closed as we have removed the hero collection card animation here.


breaking(Input): remove shorthand action button class

Breaking Change
Dropdown actions must now explicitly define the button prop.
Before
<Input action={<Dropdown />} />

After
<Input action={<Dropdown button />} />

Fixes #1703.  For more context, see https://github.com/Semantic-Org/Semantic-UI-React/issues/1703#issuecomment-304072906.

Codecov Report

Merging #1791 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #1791   +/-   ##
=======================================
  Coverage   99.75%   99.75%
=======================================
  Files         142      142
  Lines        2441     2441
=======================================
  Hits         2435     2435
  Misses          6        6

Impacted Files
Coverage Δ

src/elements/Input/Input.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Cannot override gateway to "none" in DHCPv4 static mapping

When you want to override a DHCPv4 static mapping gateway with none (current 18.1.13), you cannot assign this value within the static mapping scope. Error is the following:

The following input errors were detected:
A valid IP address must be specified for the gateway.
The gateway address none does not lie within the chosen interface's subnet.

But on the main settings page of the DHCPv4 server, the help text to the Gateway tells us:

The default is to use the IP on this interface of the firewall as the gateway. Specify an alternate gateway here if this is not the correct gateway for your network. Type "none" for no gateway assignment.

I need this scenario because one client gets IPv4 addresses from two different OPNsense that do not communicate with each other and have different roles, but the outgoing network should only go through one of the firewalls. So setting the static mapping to "none" on one firewall would exactly do what I want, but this shall not be the default, only when overriding this single client.
I think this should be simple to fix...

@Addy90 I can't reproduce this, although I think the current none input is somewhat confusing, it seems to be working fine on my end, due to https://github.com/opnsense/core/blob/master/src/www/services_dhcp.php#L214
Maybe some spacing before or after the "none" string?

Dear @AdSchellevis
Please have a look here: https://github.com/opnsense/core/blob/master/src/www/services_dhcp_edit.php#L185
You sent me the main settings page which I wrote is working as expected, my problem is that the static leases do not work as expected! As you can see, there is no mentioning of "none" in the override section "edit" page.

@Addy90 The help text in the static assignment is correct, I'm unsure what you would like to fix here, but feel free to propose a pull request for us to validate.
The "none" implementation for the dhcp zone can be found here:
https://github.com/opnsense/core/blob/master/src/etc/inc/services.inc#L669-L673
(where "none" provides the option to ignore the default set on the interface)
and the static entry can set it's own (or drop back to default in the zone) using:
https://github.com/opnsense/core/blob/master/src/etc/inc/services.inc#L892-L894

Well I have set in my DHCPv4 main settings page a gateway (to let's say <IP_ADDRESS>) and I want to override this behavior for a static lease to "none". This is currently unsupported because on the edit page (which is called for static leases, I mean the plus at the bottom of the page), the "none" is no valid input but only on the main page it is a valid value (but there, I have a gateway set).
Perhaps I can try to make a pull request when I have some time left... do you understand what I mean, so far? Set a gateway on the main page (which is valid for all static leases that do not override it) and override the gateway to none for some / a single static lease.

I see you're point, it just doesn't appear to work that way. the "none" in the general page prevents the system from sending a gateway, not sending a gateway in the host overwrite automatically falls back to the pool.
If it's possible to configure, you probably should digg into the dhcpd documentation.

Thank you @AdSchellevis, now I understood why this is not working as I expected it to do.
While searching through the documentation, it is indeed not possible to overwrite already set options, but one is able to set an option to a value that is "invalid".
So what works is to set the gateway in the static lease to the network address. As this is an invalid address, the option is ignored and no gateway is sent. Now my client works as expected, it only gets one default route and has access to both networks with it's way out to only one node.
Nevertheless, this is a hack. It works great, there is no complaint of any software, but I think that this should have a safe way. Nevertheless, I understand now that this is no issue of OPNsense but if the isc-dhcp-server. Totally agree, thanks for your help!


hybrid: eth 2 provider url format

eth2 provider URL now also has protocol prefix, update doc accordingly

Thank you for fixing this!


How to Achieve simultaneous connections

Hi Corry,
Thanks for UDT-net. I have console app that does the file receiving and an web application through which users upload files. Below is the code for console app. It works fine when there is one user uploading a single file but when multiple users connect at the same time all the later users have to wait till the first file gets uploaded. How can we use UDT to support multiple file to be received at the same time.
Any help or thoughts would be greatly appreciated. Thankyou once again for UDT-net
Const MaxBytes As Long = 12697600
Public Sub UDPSendRecieve()
        Try
            Dim rootWebConfig1 As System.Configuration.ConfigurationSettings
            Dim SAMPLEUDPPORT As Integer = 4568
            While True
                Using server As New Udt.Socket(AddressFamily.InterNetwork, SocketType.Stream)
                    server.Bind(IPAddress.Any, SAMPLEUDPPORT)
                    Console.WriteLine("Server is ready at port: {0}", SAMPLEUDPPORT)
                    server.Listen(10)

                    While True
                        Using client As Udt.Socket = server.Accept()
                            '*******Code to save file*************
                            ' Receive file name from client
                            Dim filelength As Byte() = New Byte(1023) {}
                            Dim filename As Byte() = New Byte(1023) {}
                            Dim lgFilelength As Long
                            Dim intFileNameLength As Integer
                            Dim name, strGblFl As String
                            Dim strTmp As String
                            Dim rs As Long = 0
                            Dim rs2 As Long = 0
                            Dim rsize As Long = 0
                            Dim rsize2 As Long = 0
                            Dim BytesToSend As Long = 0

                            client.Receive(filelength, 0, 1024)
                            client.Send(BitConverter.GetBytes(True))

                            intFileNameLength = BitConverter.ToInt32(filelength, 0)
                            filename = New Byte(intFileNameLength - 1) {}
                            'file info
                            While rsize2 < intFileNameLength
                                rs2 = client.Receive(filename, rsize2, intFileNameLength - rsize2)
                                rsize2 += rs2
                            End While
                            strGblFl = Encoding.UTF8.GetString(filename)

                            'File size
                            lgFilelength = CType(strGblFl.Split("~")(0), Long)
                            'File Name
                            name = strGblFl.Split("~")(1)

                            Console.WriteLine("length: {0}", lgFilelength)
                            Console.WriteLine("name: {0}", name)

                            'FILE ITSELF
                            Dim fileContent As Byte()
                            If lgFilelength > MaxBytes Then
                                fileContent = New Byte(MaxBytes - 1) {}
                            Else
                                fileContent = New Byte(lgFilelength - 1) {}
                            End If

                            client.Send(BitConverter.GetBytes(True))
                            BytesToSend = MaxBytes

                            If lgFilelength > MaxBytes Then
                                'open file to append
                                Using s As New System.IO.FileStream(name, System.IO.FileMode.Append, System.IO.FileAccess.Write, System.IO.FileShare.ReadWrite)
                                    For intByeCounter As Long = 0 To lgFilelength - 1 Step MaxBytes
                                        If lgFilelength - intByeCounter < MaxBytes Then
                                            BytesToSend = lgFilelength - intByeCounter
                                        End If
                                        fileContent = New Byte(BytesToSend - 1) {}

                                        While rsize < BytesToSend
                                            rs = client.Receive(fileContent, rsize, BytesToSend - rsize)
                                            rsize += rs
                                        End While
                                        'write to location
                                        If fileContent IsNot Nothing Then
                                            ''AppendByteToDisk(name, fileContent)
                                            s.Write(fileContent, 0, fileContent.Length)
                                        End If
                                        'send to client that current upload completed
                                        client.Send(BitConverter.GetBytes(True))
                                        rsize = 0
                                        rs = 0
                                    Next
                                End Using
                            Else
                                While rsize < lgFilelength
                                    rs = client.Receive(fileContent, rsize, lgFilelength - rsize)
                                    rsize += rs
                                End While
                                If fileContent IsNot Nothing Then
                                    System.IO.File.WriteAllBytes(name, fileContent)
                                End If
                            End If
                           '**********end code to send file**********
                            'send so that client may not exit as soon as sends
                            client.Send(BitConverter.GetBytes(1), 0, 4)
                            client.Close()
                        End Using
                    End While
                    server.Close()
                End Using
            End While

        Catch ex As Exception
            'Console.WriteLine(ex.Message)
            'WriteToLog(ex.Message)
            Dim errorpath As String = "ServerUDP"
            Dim MethodeName As String = "UDPSendRecieve"
            Dim Message As String = ex.Message
            Message += ":StackTrace:" & Left(ex.StackTrace.ToString(), 1000)
            DBUtils.ErrorReporting(Message, errorpath, MethodeName)
            UDPSendRecieve()
        End Try
    End Sub

The issue with your code does not have anything to do with UDT. The issue is that you are processing the connection in the same thread that you are accepting new connections. The result would be the same if you used TCP sockets. The simple solution would be to handle each client socket in a separate thread, leaving your server thread to accept new connections.
Additionally, you might want to check out Socket.ReceiveFile and ReceiveFile. These methods could make your code simpler and more efficient for sending/receiving files.

Hi Corry,
Thank you very much for the the help.


Update README.md

Description
Updated Omise to Opn Payments.

@danfowler  Do we need the Omise logo? It doesn't match the text then - text is modified to Opn Payments instead of Omise.


iOS Deployment Target needs updating

I am getting an error when trying to build my app for iOS on the latest react native SDK version the React Native SDK has an iOS deployment target of 9.0 but the Iterable iOS SDK has an iOS deployment target of 10.0.
If I update the deployment target manually it works but it gets reset anytime I deepclean the project.

I am getting an error when trying to build my app for iOS on the latest react native SDK version the React Native SDK has an iOS deployment target of 9.0 but the Iterable iOS SDK has an iOS deployment target of 10.0.
If I update the deployment target manually it works but it gets reset anytime I deepclean the project.

Having the same issue here! 🤚🏽
@hytea how did you manually change this? does it work for release?

Hi! Sorry we missed this, it's since been fixed in version 1.2.1. If there's a new issue with that, please feel free to open a new ticket!


How do you get Mesh output and Skeleton output from inference as shown in README.md?

Among the geometries given in the visualization window, I couldn't find one that has the skeleton and mesh output. Can you please guide me on how to obtain the skeleton and mesh output?

The visualizers display the neural network output and then the skeleton.

These can be enabled/disabled in the pipeline config file: https://github.com/uc-vision/smart-tree/blob/main/smart_tree/conf/pipeline.yaml


Try rounding codecov down instead of up

Perhaps I had this backwards previously? I hope this helps with the recent codecov flakes we've been seeing occur when people delete lines of code.
https://docs.codecov.io/docs/codecovyml-reference#coverageround

I think we can also try to widen the threshold and see how that goes.

@jeremyliweishih I think that is also worth looking into! I don't think rounding can save us if we ever decide to delete a whole file or something like that.

I just tested this out in a PR #1414 , deleted a unit test to trigger a <0.01% coverage drop, and the codecov job was marked as passing!
We may wanna decrease the threshold to 0.1% or something, but this is fine for now. Merging soon!


Autoformat breaks code for comments

I am using language-babel in combination with atom-beautify.
In adapter.js, there is the following lines:
  // add promise support
  ['createOffer', 'createAnswer'].forEach(function(method) {
  ...

If I enable language-babel, this is auto-beautified on save to:
  // add promise support['createOffer', 'createAnswer'].forEach(function(method) {
  ...

effectively breaking the code.

You should raise this issue at the beautify repo as I don't forget code.

From: Tom<EMAIL_ADDRESS>Sent: 30/07/2017 14:53
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS>Subject: [gandm/language-babel] Autoformat breaks code for comments (#391)
I am using language-babel in combination with atom-beautify.
In adapter.js, there is the following lines:
// add promise support
['createOffer', 'createAnswer'].forEach(function(method) {
...
If I enable language-babel, this is auto-beautified to:
// add promise support['createOffer', 'createAnswer'].forEach(function(method) {
...
effectively breaking the code.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/gandm/language-babel/issues/391, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACNMFZTs6wBpfKkZm6jRhAsKxMFpBlwDks5sTIregaJpZM4OnpCs.

So you think it's not related to the babel package? Strange thing is: it works if I disable this package.

Yes I think it is the beautifier.  The actual beautifier used depends on the scope of the grammar used.  My scope is source.js.jsx therefore a jsx beutifuer is used. If you use the atom JavaScript grammar it uses source..js and maybe another beautifier.

From: Tom<EMAIL_ADDRESS>Sent: 30/07/2017 15:25
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [gandm/language-babel] Autoformat breaks code for comments (#391)
So you think it's not related to the babel package? Strange thing is: it works if I disable this package.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/gandm/language-babel/issues/391#issuecomment-318905117, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACNMFcQihUdDmo_K1Mx7xEnloj4f8Ib6ks5sTJItgaJpZM4OnpCs.

From the atom-beautify readme that shows the default beautifiers used..

Ok, thanks, I filed an issue there.


Testability of UserViewModel

Hi!
Thanks for the Rx + Kotlin + Room example @florina-muntenescu !
I was looking at the UserViewModel + Activity and found myself wondering how the testability could go further, specifically if we wanted so do something like ensuring that clicking the update button results in disabling it during the duration of the DB write.
Currently, the button is being disabled within the Activity code, but I thought moving this responsibility to the ViewModel would make it more easily testable.

interface UserViewModel {

// Still responsible of dictating the username text
fun userName(): Flowable<String>

// Dictates wether the button is clickable or not.
// (Could provide initial state with .startWith())
fun buttonState():Observable<Boolean>

//responsible with writing username updates,
//Observable<String> as parameter representing username text changes
//Observable<Any> representing button clicks.
fun updateUsername(changes:Observable<String>, clicks:Observable<Any>): Observable<Any>
/* Implementation connects input parameters with observable chain that
*1. Grabs the latest change value when a click is emitted
*2. Pushes false on buttonState stream to disable it
*3. Updates db with new username value
*4. Pushes true on buttonState stream to re-enable it */

}

Would you welcome this as an improvement?

As a general principle, your ViewModel should work even with a totally different UI operating on the same dataset. Otherwise it starts to become a god object. If you want to be able to unit test your UI logic, consider something like a Presenter.

@lukasb  - Your ViewModel simply exposes data streams that contain pure information about what your View is supposed to display. It's the View's job to bind to those data streams, so if you were switching to a totally different UI -  unless your new UI represents to same piece of information or a subset of it -  Your ViewModel will change for sure, and that is not a bad thing at all.
Consider a situation where we would be designing a brand new View with the same expected functionality as above of disabling the update button when updating the database/api. If this logic was implemented on the View level, then it would need to be rewritten for your new View. If, however, the functionality was implemented by the ViewModel, your logic would be ready to be reused. Moreover, moving that logic on the ViewModel makes it testable without requiring a heavy instrumentation test.


Pathing issue

Describe the bug
Possible edge case bug
To Reproduce

Go to spawner-test
set 'test' in lower spawn spot
move that boi to the right as far as he can go first turn
press space a lot
enemy does take available path to my boy.

Expected behavior
enemy path to my boi

fixed by #29


Add support for URL vscode://gitclone/ to do a git clone of the specified repository and open it

I would like to be able to achieve the following scenario using URL handlers for VS Code, giving a quick start for any new developers interested in developing using my extension. This issue is about step 2:
//1. Install VS Code -  https://code.visualstudio.com/download
2. Clone a git hub repository with sample source code -  vscode://gitclone/https/github.com/Microsoft/AL/
//3. Install extension - vscode://extension/microsoft.al
Step 3 seems to be supported but doesn't work - see #20289

Good idea!

This idea could be normalized to something like
vscode:git/clone?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2FAL%2F&outPath=path%2Fto%2Fproject
or even some sort of API for extensions to hook into the URLService something along the lines of vscode:extension-short-name/command?query=params

@joaomoreno How could I even begin to experiment with solutions for this?
As a very basic experiement, I tried to add an additional handler in extensionsWorkbenchService, but nothing gets to the debug version of code. If I click on a link such as <a href=the "vscode:git/clone?url" I never hit debug points (even in the exisitng extension protocol handler with a link that should work) and nothing happens. I assume this is because the actual vscode installation receives the URL, not vscode window that I'm running from source.
What do you or the tema do to the test this/what did you do while developing it?
Thanks!

Correct @hoovercj.
This is now much harder... since Git is an extension. So, needs thought.

@joaomoreno I think we could generalized this by allowing url vscode://extensions/extension.id/SomeThing can pass the relative path to extension endpoint. And each extension could write a handler to do custom work
vscode://extensions/git/clone?url=githubURL
And if that extension was not installed then it would fallback to vscode://extensions/extension.id

Seem like general protocol handler supported #46256
https://code.visualstudio.com/updates/v1_23#_protocol-handler-api
Just make it work in git extension then?

@stanislawstempin does the new git clone uri support meet your needs?

Perfect! That covers it


basic vue support for listview

It's far from optimized.
Your listview code is based on tns listview code which is not optimized for recyclerview/adapter.
In case of view (and maybe angular too), the onCreateViewHolder and onBindViewHolder are not optimized.
If you want you can take look at what i did on nativescript-collectionview here
But at list for me this makes it work with Vue

Thanks @farfromrefug 🎉

@bradmartin BTW i though about it. Instead of rewriting a full listview (using recycler) again. Maybe you could just add nativescript-collectionview as a dependency and just extend its createNativeView?
I could make any change necessary to it.

@farfromrefug - Might work. Not sure.
Need some Wearable specifics to replace current one in this plugin.
Mainly: https://github.com/bradmartin/nativescript-wear-os/blob/master/src/packages/listview/tns-custom-scrolling-layout-callback.ts so the listview will work on circular watch faces. I need to optimize the code for that so the items hug the screen edge closer on the left (see #6).

Awesome. I'm open to it as long as it allows me to modify things without having to depend heavily on the dependency in case I can't reach you 😄
Would you want to work on the PR? I would, but I'm probably 6 weeks out from having time to do any updates that aren't critical for work at the moment.

As long as the recycler works normally on square watches and then has the scaling circular option for circle watch faces, then I like the idea of reusing what you have. The circle watch face support is my main focus right now and getting #6 taken care of in the next week or two.

@bradmartin you will be able to override everything!
I ll make a PR when i have the time. I am also about to work more on watches.

Also, apologies if I've broken the plugin along the way. Had no idea anyone was actually using it right now 😄 so I've been really loose with development. I'll be more cautious going forward knowing it's not just me playing around with it.

@bradmartin i just started using it fore the rounded watch listview. Will try to contribute more. BTW, maybe you could add me as a contributor? Could create beta version to test from branch and then you could merge in master. Would make things a bit faster

Done 👍


[2.5.8] Update zh-hans.yaml

fixed tons of duplicate keys and other YAML errors in @#2822 and @#2799
update CN contents in zh-hans.yaml

wrong base, see https://github.com/rancher/dashboard/pull/2828 for update


Date created

Hello,
In the Container details view, the created date is the current date but not the date of the creation of the container
ex :
Created | 2017-07-26 10:20:30

Indeed, thanks for the report. That should be quite easy to fix.


Feature request: in-text blindfolds

Is it possible to add same thing inline instead of as separate block/paragraph? blindfold here could be inline spoiler or something like that.

There are definitely other obsidian plugins doing this. But yes, including this in the same plugin is not a bad idea.

I added this feature in version 1.0.2, you can now use inline spoiler by the following syntax.
|% inline spoiler %|


Update DeveloperGuide.md

Updated Use Case Portion of the Developer Guide to include the various use cases for the AronaPro address book product.

Closes #7


Move GHA runners to ubuntu-22.04

This is a blind change, I don't know whether further work will be needed to update the actions for Ubuntu 22.04. Hopefully the runs for this PR will shed some light.

Summarizing current GHA failures in this PR:

ubi9/openjdk-17 failing due to ubuntu mirror error. This is a transient but frequent problem in this PR.
ubi9/openjdk-17-runtime due to #353 (ignore in this PR)
ubi9/openjdk-11:

I think this is ready for review. There's still a transient Ubuntu mirror issue that we might be able to side-step somehow but I think this is more reliable than the current deprecated runner image despite that.

@jmtd Could you please force push so as to trigger a new GHA build, please? Hopefully that would give us clean runs.

@jmtd Could you please force push so as to trigger a new GHA build, please? Hopefully that would give us clean runs.

Done (and it did! :))

We'll need something similar for ubi8 as well. Thanks!