How to manual control the sim car

Hi,
Is there any way to manually control the sim car?
Thank you.

can you please elaborate your question?


Dataverse 5.x: support Postgres connection from app

Once IQSS/dataverse#6819 is done, we can remove lots of boilerplate from the Dockerfile and init script, setting up the JAR file and connection details.

Done in new images. See commit mention above


As a user, I want to easily submit my input through an intuitive interface and have it processed securely into a structured LinktaFlow

Describe the solution you'd like
The user story focuses on providing a seamless and user-friendly experience for submitting input and generating a structured LinktaFlow. It involves designing an intuitive user interface, developing a robust API for handling user input, enhancing the input processing pipeline, and implementing client-side functionality for a smooth user experience.
The goal is to ensure that users can easily share their thoughts and ideas, while the system securely processes and transforms the input into a structured format, ready for further analysis and visualization. The implementation will prioritize data integrity, security, and performance optimization to deliver a reliable and efficient solution.

This ticket is getting closed along with the sprint ends on Monday 27th, 2024


Intellisense not working Neovim

Here's my mason lspconfig file
plugin seems to work but intellisense and treesitter dont ?

Unfortunately I do not manage the neovim setup. Please report your issue to https://github.com/lopi-py/luau-lsp.nvim


the loss is nan

Hi, I met the same problem in https://github.com/yjh0410/PyTorch_YOLOv3/issues/1 when I train yolov3 in this project.

@lostlose
Please try my another YOLO project: https://github.com/yjh0410/PyTorch_YOLO-Family

@1023280072 Thank you! Due to memory constraints, I can only set the batch_size to 16, and now I'm trying to adjust the learning rate to get the correct results.

@yjh0410 OK, thanks, I will try it later!

It is nan even at batch size 48:
I was using RN50 as backbone, and trying to train coco dataset.


SparkSQL fails inserting data into Elasticsearch index

Hi,
I am trying to insert into Elasticsearch and getting an Exception below.
Environment:
elasticsearch-hadoop 2.1.0.BUILD_SNAPSHOT
spark 1.2.0
Exception in thread "main" java.lang.AssertionError: assertion failed: No plan for InsertIntoTable (Relation[ColumnName#0,DataStore#1,Day#2,DbName#3,Hour#4,Interval#5,Month#6,ResponseCount#7,SchemaName#8,TableName#9,User#10,Year#11] ElasticsearchRelation(Map(es.resource -> s@s/intervals))), Map(), false
Project [1 AS c0#18,2 AS c1#19,3 AS c2#20,4 AS c3#21,5 AS c4#22,6 AS c5#23,7 AS c6#24,8 AS c7#25,9 AS c8#26,10 AS c9#27,11 AS c10#28,12 AS c11#29]
NoRelation$
at scala.Predef$.assert(Predef.scala:179)
at org.apache.spark.sql.catalyst.planning.QueryPlanner.apply(QueryPlanner.scala:59)
at org.apache.spark.sql.SQLContext$QueryExecution.sparkPlan$lzycompute(SQLContext.scala:418)
at org.apache.spark.sql.SQLContext$QueryExecution.sparkPlan(SQLContext.scala:416)
at org.apache.spark.sql.SQLContext$QueryExecution.executedPlan$lzycompute(SQLContext.scala:422)
at org.apache.spark.sql.SQLContext$QueryExecution.executedPlan(SQLContext.scala:422)
at org.apache.spark.sql.SQLContext$QueryExecution.toRdd$lzycompute(SQLContext.scala:425)
at org.apache.spark.sql.SQLContext$QueryExecution.toRdd(SQLContext.scala:425)
at org.apache.spark.sql.SchemaRDDLike$class.$init$(SchemaRDDLike.scala:58)
at org.apache.spark.sql.SchemaRDD.<init>(SchemaRDD.scala:108)
at org.apache.spark.sql.SQLContext.sql(SQLContext.scala:303)

Code:
...
val sparkConf = new SparkConf().setAppName("Percolator")
val sc =  new SparkContext(sparkConf)
val sqlContext = new SQLContext(sc)
...
sqlContext.sql("CREATE TEMPORARY TABLE INTERVALS    " +
               "USING org.elasticsearch.spark.sql " +
               "OPTIONS (resource 'events/intervals') " )

val insertRDD = sqlContext.sql("INSERT INTO INTERVALS SELECT '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'");

Can you please advise if INSERT INTO feature is supported with elasticsearch-hadoop 2.1.0.BUILD_SNAPSHOT and Spark 1.2?
Thanks,
Dmitriy Fingerman

Which is expected; data sources in Spark 1.2 do not support data insertion. This has been introduced in 1.3 which is currently wip (since it breaks backwards compatibility it's a big step to introduce it in master which I somehow hope to avoid).

Closing the issue. As I've mentioned we might support this feature with the Spark 1.3 support.


ARROW-759: [Python] Serializing large class of Python objects in Apache Arrow

This PR adds the capability to serialize a large class of (nested) Python objects in Apache Arrow. The eventual goal is to evolve this into a more modern version of pickle that will make it possible to read the data from other languages supported by Apache Arrow (and might also be faster).
Currently we support lists, tuples, dicts, strings, numpy objects, Python classes and namedtuples. A fallback to (cloud-)pickle can be provided for objects that cannot be natively represented in Arrow (for example lambdas).
Numpy data within objects is efficiently represented using Arrow's Tensor facilities and for the nested Python sequences we use Arrow's UnionArray.
There are many loose ends that will need to be addressed in follow up PRs.

Looks like some of my comments got messed up while you were pushing commits -- make sure to expand the "outdated" notes =)

Thanks for all the work on this, I will take another scan through today if possible

I'm working on the test failures

Great thanks! I gave you access to my fork, feel free to push any changes. I'll switch working on the huge page table PR and the entry points PR.

I think I got everything; I'll get the build passing and then take a last look

For future reference, I find that using clang to build and using -Werror -Wconversion -Wno-sign-conversion helps catch the common issues that cause failures in MSVC. Using clang with -Werror also catches unchecked Status

Appears we are missing some DLL exports for Windows (ARROW_EXPORT). Getting too late here tonight, I will take a look tomorrow

@pcmoritz there were several flake8 warnings. In my environment I have this bash function which makes with catching these
function arrow_preflight {
    ARROW_PREFLIGHT_DIR=$HOME/code/arrow/cpp/preflight
    mkdir -p $ARROW_PREFLIGHT_DIR
    pushd $ARROW_PREFLIGHT_DIR
    cmake -GNinja ..
    ninja format
    ninja lint
    popd
    pushd $HOME/code/arrow/python
    flake8 pyarrow
    flake8 --config=.flake8.cython pyarrow
    popd
}

@pcmoritz @robertnishihara I'm going to mark these APIs experimental. We might add an additional set of functions to help with determining the amount of output space required, e.g.:
import pyarrow as pa

serialized = pa.serialize(obj)

# This would use MockOutputStream
total_bytes = serialized.total_bytes

buf = ...allocate(total_bytes)
serialized.write_to(buf)

That sounds good.

I added a minimal version of this. We should return in a subsequent patch and harden with more unit tests and check more rigorously for memory leaks

cc @cpcloud

current benchmarks (haven't dug in to investigate where time being spent):
In [1]: import numpy as np

In [2]: import pyarrow as pa

In [3]: import pickle

In [4]: arrays = [np.random.randn(100, 100) for i in range(1000)]

In [5]: %timeit buf = pa.serialize(arrays).to_buffer()
34.8 ms ± 217 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)

In [7]: buf = pa.serialize(arrays).to_buffer()

In [8]: %timeit deserialized = pa.deserialize(buf)
2.05 ms ± 55.8 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)

In [9]: pickled = pickle.dumps(arrays)

In [10]: %timeit pickled = pickle.dumps(arrays)
37.1 ms ± 777 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)

In [11]: %timeit unpickled = pickle.loads(pickled)
11.1 ms ± 237 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)

So in a simple list of arrays, serialization takes 10% less time, but deserialization takes ~80% less time. Since this is only 80 MB of data, the savings will grow greater the larger the total size of the serialized object.

It's amazing how this came together, thanks everybody so much for all the help! These are great changes.
Concerning the benchmarks: For the serialization, it helps a bunch to use the FixedSizeBufferOutputStream and multithreading to write the bytes. Also excited how performance improves if we write things to Plasma with the recent hugepages PR ;)

Concerning more rigorous tests, there is a good suite of tests here https://github.com/jsonpickle/jsonpickle/tree/master/tests that we could borrow from or port.

Just finished a last buglet and will hopefully get a passing Travis CI build (and Appveyor will fail because of ARROW-1375). Will merge this, let's open JIRAs about follow up stuff!

+1 you should go ahead and merge it :)


docs(guide/Expressions): html5 standards, update contents reflect dat…

…e now
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change?
Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:

Hi Holger,
how exactly is this version better than the current one? I only see string changes.

This PR is being rejected on the basis of violation of our Code of Conduct by the contributor.
More detailed explanation was emailed to the contributor.


Fancy Zones breaks when setting space around zones to -1 in v0.23.0

ℹ Computer information

PowerToys version: 0.23.0
PowerToy Utility: Fancy Zones
Running PowerToys as Admin: Issue occurs in both
Windows build number: 19041.508

📝 Provide detailed reproduction steps

Launch zones editor
Set Space around zones to -1 (or any negative number)
Zones won't appear anymore when holding a window and the shift key

✔ Expected result
Windows should overlap a bit in their borders (as in previous versions).
❌ Actual result
Zones won't work either by using the shift key or the keyboard shortcuts (WIN + Arrow).
📷 Screenshots
 Trying to simulate the overlapping.

did this behavior work before?

@enricogior adding this into 0.25 as this is breaking behavior it sounds like

did this behavior work before?

Yes, it used to work. I'm not able to say until which version, though. I've just updated to 0.23.0 to find that Fancy zones wasn't working. Playing with the settings let me figure out that that -1 on the space around zones was the problem.

@Ed1123
Why do you set space to -1? What is the use case? For me it is not logical. Space smaller 0 can't exist.
@crutkas, @enricogior
I think if there isn't any use case for this we should prevent input less than 0.

To overlap windows. That way I can hide the windows borders as the no so
modern chrome scroll bar, some excessive title bars, etc.
But you're right. This is not the typical use case, and I may be the only
one using it.
On Fri, Oct 9, 2020, 9:33 AM htcfreek<EMAIL_ADDRESS>wrote:

@Ed1123 https://github.com/Ed1123
Why do you set space to -1? What is the use case? For me it is not
logical. Space smaller 0 can't exist.
@crutkas https://github.com/crutkas, @enricogior
https://github.com/enricogior
I think if there isn't any use case for this we should prevent input less
than 0.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/7160#issuecomment-706217454,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKW7LKU4WTNVNQYFUZUZ64DSJ4NNNANCNFSM4SHUV7TQ
.

I think if there isn't any use case for this we should prevent input less than 0

Good idea. What about the upper limit?

Added in 0.25.  https://github.com/microsoft/PowerToys/releases/tag/v0.25.0


PR Workflow Test 1

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

:exclamation: No coverage uploaded for pull request base (release-1@25242a3). Click here to learn what that means.

Additional details and impacted files
@@             Coverage Diff              @@
##             release-1     #252   +/-   ##
============================================
  Coverage             ?   87.23%
============================================
  Files                ?        7
  Lines                ?       47
  Branches             ?       12
============================================
  Hits                 ?       41
  Misses               ?        6
  Partials             ?        0

Flag
Coverage Δ

html-ui
93.10% <0.00%> (?)

react-ui
77.77% <0.00%> (?)

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

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


FileNotFoundError: [Errno 2] No such file or directory:

I just installed it and I have this problem. For some reason it doesn't find its own temporary file:
[Memory Management] Target: JointTextEncoder, Free GPU: 11149.60 MB, Model Requi
re: 234.72 MB, Previously Loaded: 0.00 MB, Inference Require: 1024.00 MB, Remain
ing: 9890.88 MB, All loaded to GPU.
Moving model(s) has taken 0.11 seconds
[Unload] Trying to free 1024.00 MB for cuda:0 with 1 models keep loaded ... Curr
ent free memory is 10468.56 MB ... Done.
[LayerDiffuse] LayerMethod.FG_ONLY_ATTN_SD15
[Unload] Trying to free 3155.23 MB for cuda:0 with 0 models keep loaded ... Curr
ent free memory is 10468.26 MB ... Done.
[Memory Management] Target: KModel, Free GPU: 10468.26 MB, Model Require: 1639.4
1 MB, Previously Loaded: 0.00 MB, Inference Require: 1024.00 MB, Remaining: 7804
.85 MB, All loaded to GPU.
Moving model(s) has taken 0.63 seconds
100%|██████████████████████████████████████████| 20/20 [00:10<00:00,  1.84it/s]
[Unload] Trying to free 1568.67 MB for cuda:0 with 0 models keep loaded ... Curr
ent free memory is 8359.66 MB ... Done.
[Memory Management] Target: IntegratedAutoencoderKL, Free GPU: 8359.66 MB, Model
 Require: 159.56 MB, Previously Loaded: 0.00 MB, Inference Require: 1024.00 MB,
Remaining: 7176.10 MB, All loaded to GPU.
Moving model(s) has taken 0.20 seconds
[Unload] Trying to free 1282.13 MB for cuda:0 with 0 models keep loaded ... Curr
ent free memory is 8198.67 MB ... Done.
[Memory Management] Target: UNet1024, Free GPU: 8198.67 MB, Model Require: 198.5
6 MB, Previously Loaded: 0.00 MB, Inference Require: 1024.00 MB, Remaining: 6976
.10 MB, All loaded to GPU.
Moving model(s) has taken 0.12 seconds
100%|████████████████████████████████████████████| 8/8 [00:01<00:00,  6.92it/s]
Total progress: 100%|██████████████████████████| 20/20 [00:11<00:00,  1.72it/s]
Traceback (most recent call last):█████████████| 20/20 [00:11<00:00,  2.13it/s]
  File "D:\apps\stable-diffusion\Forge_2024\system\python\lib\site-packages\grad
io\queueing.py", line 536, in process_events
    response = await route_utils.call_process_api(
  File "D:\apps\stable-diffusion\Forge_2024\system\python\lib\site-packages\grad
io\route_utils.py", line 285, in call_process_api
    output = await app.get_blocks().process_api(
  File "D:\apps\stable-diffusion\Forge_2024\system\python\lib\site-packages\grad
io\blocks.py", line 1933, in process_api
    data = await self.postprocess_data(block_fn, result["prediction"], state)
  File "D:\apps\stable-diffusion\Forge_2024\system\python\lib\site-packages\grad
io\blocks.py", line 1756, in postprocess_data
    prediction_value = block.postprocess(prediction_value)
  File "D:\apps\stable-diffusion\Forge_2024\system\python\lib\site-packages\grad
io\components\gallery.py", line 235, in postprocess
    for o in executor.map(_save, value):
  File "concurrent\futures\_base.py", line 621, in result_iterator
  File "concurrent\futures\_base.py", line 319, in _result_or_cancel
  File "concurrent\futures\_base.py", line 451, in result
  File "concurrent\futures\_base.py", line 403, in __get_result
  File "concurrent\futures\thread.py", line 58, in run
  File "D:\apps\stable-diffusion\Forge_2024\system\python\lib\site-packages\grad
io\components\gallery.py", line 208, in _save
    file = processing_utils.save_pil_to_cache(
  File "D:\apps\stable-diffusion\Forge_2024\webui\modules\ui_tempdir.py", line 6
6, in save_pil_to_file
    file_obj = tempfile.NamedTemporaryFile(delete=False, suffix=".png", dir=dir)

  File "tempfile.py", line 559, in NamedTemporaryFile
  File "tempfile.py", line 556, in opener
  File "tempfile.py", line 256, in _mkstemp_inner
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\apps\\stable-diffus
ion\\Forge_2024\\webui\\output\\txt2img-images\\tmpvyefum4a.png'

Oops, my bad, it was a bad setting in "saving images/grids" "Directory for temporary images;" at the bottom.


[Storage] Fix issue of getting 403 error when blob/file/directory name includes './' or '../'

Packages impacted by this PR
@azure/storage-blob @azure/storage-file-share @azure/storage-file-datalake
Issues associated with this PR
Describe the problem that is addressed by this PR
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[x] Added impacted package name to the issue description
[x] Does this PR needs any fixes in the SDK Generator? No (If so, create an Issue in the Autorest/typescript repository and link it here)_
[x] Added a changelog (if necessary)

/check-enforcer override


Update failing and Incorrect release notes for version

Microsoft PowerToys version
0.67.1
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
Welcome / PowerToys Tour window
Steps to reproduce
I don't know if you'll be able to reproduce this or not because I don't know how I got where I am!
I received an email earlier to say that PowerTools 0.68.0 had been released, so I went to check it out, only to realise that PowerTools wasn't running in the System Tray. I launched PowerTools and, sure enough, it notified me that an update was ready to be installed (I didn't notice what version number it said was installed at that point), so I let it do its thing and update. Once it had finished, I read through the What's New page.
I was intrigued by the new Mouse Jump feature mentioned in the What's New notes, so I went to try and find it, but it was nowhere to be seen. After checking a few times I realised that on the General page it still says I'm on version 0.67.1. Nevertheless, when I click the Welcome to PowerToys link in the menu and click the What's New link in the Welcome to PowerToys window, I am shown release notes for v0.68.0 - not the version I have installed. Similarly, if I click the Release Notes link beneath the version number on the General page, the page that opens in my browser is the GitHub release page for v0.68.0.
A possibly related problem is that if I click the Check for updates button, PowerToys appears to check for updates forever - no update is ever found and it never stops checking. If I close PowerToys whilst it's checking, it seems to hang because I'm unable to restore it from the System Tray and right-clicking on the icon there does not produce a context menu allowing me to exit the app. Worst of all, when PowerToys is in this "checking for updates" state it seems to affect my whole computer because even typing in this form on GitHub becomes extremely sluggish, with a significant lag between key presses and characters appearing on the screen.
I suspect a memory leak.  When I run the update process and monitor Task Manager, the memory consumption of PowerToys goes up and up (see attached mp4).
I have to kill it using Task Manager and relaunch it (after which the check for updates still doesn't work).
I have also tried the update in Administrator mode with the same result.

https://user-images.githubusercontent.com/7631595/222291949-1df6efaf-a154-4203-a34e-41da0e07b008.mp4
✔ Expected Behavior
Update process should update the app. Whatever version of the app is installed, opening the Release Notes or What's New page should show release notes for the version I have installed, not necessarily the latest version.
❌ Actual Behavior
Update hangs and shows symptoms of a memory leak. Clicking the Release Notes and What's New links shows me release notes for version 0.68.0, even though I have version 0.67.1 installed.
Other Software
No response

Update - I left the update process running for several minutes to monitor the increase in memory usage and eventually the app did actually find the new version and install it successfully. Still, something wasn't right!

Hi, thanks for reporting this.
The release notes changing the latest and not the installed version is expected behavior. It's basically the up to date information from all the releases.
Regarding the Checking for updates, it's actually downloading the PowerToys update in the background. I think we should change the message when we're actually downloading in the background, as an UI improvement.
The most critical I'm seeing here, and I was able to replicate this is that the keyboard get sluggish. We're likely downloading the PowerToys update in the main thread of the runner, meaning that the runner is unable to run the low level keyboard hook that it registered and it makes all keystrokes be delayed. This needs to be fixed.

The fact that this download hangs our low level keyboard hook meant that Windows even dropped our hook after some key strokes and llkh shortcuts stopped functioning.

Fixed in 0.71 release of PowerToys. aka.ms/installpowertoys


Added hover effect for the button on the navbar.

Fixes Issue🛠
Closes #404
Description👨💻
Added hover effect for the button on the navbar.
Type of change📄
Enhance the styling of the navbar by adding a hover effect.
How this has been tested✅
On local machine
Checklist✅

[x]  My code follows the style guidelines of this project.
[x]  I have performed a self-review of my own code.
[x]  I have commented my code, particularly in hard-to-understand areas.
[x]  I have added demonstration in the form of GIF/video file
[x] I am an Open Source Contributor

Screenshots/GIF📷

Pls don't create a PR if you are not assigned  to an issue @anshikatiwari20


cant install - licence error

hi
apologies if I am missing something the install instructions did not work for me on windows 10
had to clone from git then ....
D:\mc\codydev\cody>npm install
npm WARN EPACKAGEJSON<EMAIL_ADDRESS>No license field.
any ideas ?

It seems that new versions of npm enforce the use of a "licence" attribute in the package json file.
Someone should add
"license": "MIT"
In our package file.
I don't have a computer here, but if someone could add it, Mark would be helped.
@Mark: can you send us the errors you get when installing (there should no need for git cloning)
Johan.

thanks for reply but still a loop of problems
initial getting of cody fails ? ...
D:\mc\codydev>npm install cody
D:\mc
└──<EMAIL_ADDRESS>npm WARN ENOENT ENOENT: no such file or directory, open 'D:\mc\package.json'
npm WARN EPACKAGEJSON mc No description
npm WARN EPACKAGEJSON mc No repository field.
npm WARN EPACKAGEJSON mc No README data
npm WARN EPACKAGEJSON mc No license field.

I added the license to the package and update the npm version. Could you try again?
(I should get windows 10 running to test these things..)


serverAlias null after authentication (Feathers V4<EMAIL_ADDRESS>

I am using<EMAIL_ADDRESS>and followed the guide to upgrade for Feathers V4
Got most of it working but ran into an issue where the populated user after authentication wasn't a Model.  Fiddled around a bit and turns out that the state.serverAlias in the responseHandler in auth-module.actions.js was undefined.
It seems to work if I explicitly define the serverAlias again in the makeAuthPlugin
import { makeAuthPlugin } from '@/plugins/feathers-client'

export default makeAuthPlugin({ serverAlias: 'xxxxxxxxxx', userService: 'users' })

I followed the steps/guide for the upgrade, so not sure if I missed something or if this is a bug.

How were you able to setup feathersjs v4 with nuxt and feathers-vuex 2.0.0-pre without getting this error
NuxtServerError
[vuex] getters should be function but "getters.users/list" in module "store" is []

How were you able to setup feathersjs v4 with nuxt and feathers-vuex 2.0.0-pre without getting this error
NuxtServerError
[vuex] getters should be function but "getters.users/list" in module "store" is []

That's really weird.  The options are passed to setup the state, here: https://github.com/feathers-plus/feathers-vuex/blob/typescript/src/auth-module/auth-module.ts#L41
From there it lands in the state: https://github.com/feathers-plus/feathers-vuex/blob/typescript/src/auth-module/auth-module.state.ts#L19
So it should be correct, at least initially.

There aren't any mutations that change the serverAlias, so I'm not sure what could be happening in this case.

Oh ok - guess I screwed up something in the setup then. I can live with it for now so I will dig deeper in a few days. Thanks!


Bug in requesting additional events for infinite event request

If you open an infinite connection, it only requests 200 events before closing the connection. The sequence of events is:

Open a connection and request 100 events
Receive 100 events
Hit the receivedEventCount === requestedEventCount if statement here
Request 100 additional events. receivedEventCount is not reset to 0 because the code incorrectly sets subscription.receivedEventCount = 0, instead of subscription.info.receivedEventCount = 0
Receive 100 events
At this point, receivedEventCount = 200 and requestedEventCount = 100 so we never hit the if statement again
Close the connection because we received the last event

Incorrect:
requestAdditionalEvents(topicName, numRequested) {
  .........
        // Request additional events
        subscription.receivedEventCount = 0;
        subscription.requestedEventCount = numRequested;
  .........
    }

Correct:
requestAdditionalEvents(topicName, numRequested) {
  .........
        // Request additional events
        subscription.info.receivedEventCount = 0;
        subscription.info.requestedEventCount = numRequested;
  .........
    }

Great catch! Thanks for the detailed description and the source of the error. I fixed it in v5.0.2.


Change specification search of name search to exact name match

Substring matching on searches is of limit value and is dangerous,
potentially producing inconsistent, difficult to predict results.  There was
no way to escape the substring matching behavior to get exact matches.  If
pattern searches are required, a separate parameter should be added that
supports regular expressions.
Also made variable search name parameter consistent.

+1

Here also: https://github.com/ga4gh/schemas/blob/master/src/main/resources/avro/referencemethods.avdl#L33

+1, but probably needs to be manually rebased.

Any volunteers for manual merge? @diekhans?

Any update on this PR @diekhans? We should include @calbach's example and rebase this so it can be merged.

Sorry about the delay.  I fixed my gitdiocy on my attempt at a rebase.  I think things are sane.  However, I am not seeing what CH changed.  Could that have already been merged?

Yes, ~1h ago. Adam N. hat put it up for mergeable …

On 10 Mar 2015, at 22:06, Mark Diekhans<EMAIL_ADDRESS>wrote:
Sorry about the delay. I fixed my gitdiocy on my attempt at a rebase. I think things are sane. However, I am not seeing what CH changed. Could that have already been merged?
—
Reply to this email directly or view it on GitHub https://github.com/ga4gh/schemas/pull/239#issuecomment-78148360.

I think  SearchReferenceSets.assemblyId is the offending field; we should change this too.

Yes, my above link is no longer correct, but my suggestion was to also update the SearchReferenceSets.assemblyId field with this PR, as it has the same substring semantics currently:
  /**
  If present, return reference sets for which the `assemblyId`
  contains this string.
  */
  union { null, string } assemblyId = null;

thanks CH, I didn't catch that one.  Fixed
CH Albach<EMAIL_ADDRESS>writes:

Yes, my above link is no longer correct, but my suggestion was to also update
the SearchReferenceSets.assemblyId field with this PR, as it has the same
substring semantics currently:
/**
If present, return reference sets for which the assemblyId
contains this string.
*/
union { null, string } assemblyId = null;
—
Reply to this email directly or view it on GitHub.*

Thanks. +1

Looks good, thanks @diekhans. Merging.


Think about dialects for js like typescript, flow.

Both typescript and flow write code as static language, and then compile source to dynamic language, and execute it in browser.
Why not compile it to binary code? If so, the performance will be improved greatly!
We can update ecma 262 to es2015/es2016, and invent typescript, flow, and so on. Why not update browser to run binary code?

That is just about contrary to every TypeScript design goal.  That is some other project, not TypeScript.

See also why we don't do asm.js compilation (#375).
If someone wants to go write that themselves, they're free to, but it would be an enormous undertaking that is far outside what our team can do.

Personally, I don't see much of a benefit of using TypeScript instead of JavaScript. Especially now that the ES6 standard also added class-based object-oriented programming to the language, all you'd really get from adopting TypeScript today would be the addition of static typing... and interfaces. Besides making your code look more like eg. Java code, I really don't see the benefit at all... except when using static typing to optimize the JavaScript code it produces... which is where asm.js comes in.
In environments where high performance is essential (eg. 3D rendering in the browser for browser games or GIS web apps), the current approach is to write the core code (that does the heavy lifting) in C/C++ (compiled to asm.js) and everything else in JavaScript. That means you need a really good understanding of both JavaScript (which I do) and C/C++ (which I don't) to be able to write proper code or maintain existing code for such apps, both inside and outside of the the core code.
How great would it be to be able to use one - TypeScript - codebase for such projects and compile to asm where possible and to regular JavaScript where not possible? Or to put it differently : how great would it be for a JavaScript programmer to be able to program in highly readable superset of JavaScript and have it compiled - where possible - to a highly optimized subset of JavaScript?
It seems like a win-win for everyone, really, especially if you leave it optional whether or not to compile to asm.js for developers who don't work in high performance environments and prefer readability to performance.
IMO, compilation of (a subset of) TypeScript to asm.js would be major improvement over TypeScript as it exists today. For me, it would totally be a game changer and make the difference between supporting and not supporting the adoptation of TypeScript at the company I work for...

@jslegers May be you can try kotlin, it will be compiled to java code in the future.

@acrazing How exactly would kotlin be useful for high performance apps that run in a browser?

@jslegers you are clearly looking for something other than TypeScript.

@kitsonk :
I guess the tool I'm looking for hasn't been invented yet :-p

As I understand that TypeScript is not intented to be compiled to asm.js or C/C++ (and I expect that), the ability to export a language like Flow or TypeScript to typed AST in some way or another would be a good first start. With the TypeScript core devs not interested in this feature, it would at least open up the possibility for other teams to implement TypeScript to C/C++ or TypeScript to asm.js.

@jslegers I think it should be a good solution: the v8 engine compiles JavaScript code to dynamic assembly code, and then execute it, why not we compile it to assembly before send it to browser?

Either way, if the TypeScript devs aren't interested in compiling to asm.js, C/C++, WebAssembly or whatever else someone may want to convert their TypeScript to, I would way allowing the export of the typed AST seems like a minimal effort for allowing other developers to do the hard work of implementing such a conversion.
The short term benefit would obviously be small, but the large term benefit would be quite significant, as it would basically provide a pluggable interface that allows - subsets of - TypeScript to be converted to any language that is sufficiently compatible. And I'm sure there are many clever folks out there who can come up with far more use cases than the ones I've mentioned...

TypeScript to be converted to any language that is sufficiently compatible. And I'm sure there are many clever folks out there who can come up with far more use cases than the ones I've mentioned...

I think even the TypeScript team that TypeScript wouldn't be the language to start it with.  Its objectives are to make JavaScript as sane as possible.  There are some really challenging things with the way JavaScript is constructed that make both Flow and TypeScript do horrible type abuses.  Both are designed to make JavaScript more maintainable and better to manage.
Lots of people misunderstand the objectives of asm.js and WebAssembly.  None of those technologies are really designed to be a replacement for JavaScript in the browser.  There are there essentially as an escape hatch when the browser vendors haven't had the time to incorporate low level APIs into their browsers.  There are huge amounts of optimisations that ChakraCore, V8, SpiderMonkey and Nitro perform, all in slightly different ways, someone trying to take JavaScript/TypeScript to what is still an intermediary syntax of assembly, before bypassing these engines is on a fools errand, but if it is an errand one wants to embark on, this is clearly not the forum for discussing it.

There are some really challenging things with the way JavaScript is constructed that make both Flow and TypeScript do horrible type abuses. Both are designed to make JavaScript more maintainable and better to manage.

Recently, I joined the R&D department of a company to work on a product that has two codebases :

A C/C++ OpenGL 3D engine, ported to asm.js
A JavaScript codebase built on top of that engine

That means two codebases, written in two different languages, for one product. For projects like these, it would make sense to move to a language like TypeScript, and convert that code to asm.js where possible. It would allow JS developers to add to the existing C/C++ engine without having to learn C/C++ and it would allow C/C++ developers to use static typing in their JavaScript - which Java programmers and C/C++ programmers understandably tend to prefer to the dynamic typing used in "normal" JavaScript. You would get the best of both worlds, alleviate frustrations on both side and be able to move towards a more unified codebase.

Lots of people misunderstand the objectives of asm.js and WebAssembly. None of those technologies are really designed to be a replacement for JavaScript in the browser.

They are not designed to replace ALL of your JavaScript code, no. However, they are designed to supplement your ordinary slow JavaScript with specialized high performance JavaScript. They are designed as a way to render expensive operations in your browser in a language already supported by every browser.

someone trying to take JavaScript/TypeScript to what is still an intermediary syntax of assembly, before bypassing these engines is on a fools errand

I don't see what would make conversion of a subset of TypeScript to asm.js that different from eg. converting from TypeScript to JavaScript, EcmaScript2015 to EcmaScript5 (which Babel does), SCSS to CSS (what Sass does) or other conversions that convert / preprocess / transpile one language to a subset of that language. As long as the implementation of the first is something that can be expressed in the second (eg. you can't use Babel to transpile Proxies, because there's no way to represent Proxies in EcmaScript5), such a conversion is feasible.

if it is an errand one wants to embark on, this is clearly not the forum for discussing it.

Fair enough...

Those also interested in converting staticly typed variations of JavaScript to asm.js, WebAssembly or C might want to take a look at ThinScript, TurboScript or AssemblyScript.
ThinScript compiles to JavaScript, WebAssembly, and C. TurboScript compiles only to JavaScript and WebAssembly. AssemblyScript compiles to WebAssembly only.
Each of these languages have been inspired by TypeScript, and the latter is a subset of TypeScript.
I'd like to thank @RReverser for pointing me in the direction of these languages.


[Coder]: New Class in Uncategorized Virtual Tag Creates Duplicate

if you create a class from the virtual uncategorized tab, an actual uncategorized tag is created instead of putting it in the virtual one.
https://user-images.githubusercontent.com/184176/177175232-18f850e5-7fa1-45ca-9177-debe152818b3.mov

The dialog is no longer filled with the  Uncategorized package tag name:


HTML entities being double-escaped

The escape() sanitizer is being called multiple times, leading to double-escaping. Ie:

Consider the field value: ->
This should escape to -> which would, in HTML documents, show up as: ->
Instead, we get -&gt; which will show up in HTML as ->
The escaped string no longer resembles the input value. The validator package seems to escape ampersands before anything else for this exact reason.

Reproduction:
app.get('/', check('q').escape(), (req, res, next) => {
  res.json(matchedData(req));
});

Firing GET /?q=->

Fixed with v5.1.2!


chore: updates to match spec

/clock endpoint
version bumped fiatconnect-types

https://github.com/fiatconnect/api-starter/pull/8


Attach python debugger to QGIS

Make it possible to attach the python debugger to QGIS to make it easier to check what is going wrong in the Ribasim QGIS plugin while developing.
We might want to take a look into debug_vs.

The newest debug_vs (0.8) has an issue with starting up. So instead I tried to work with debug_vs 0.7. I was able to connect to visual studio, but it didn't reach my breakpoints. There is most likely something wrong with my pathMappings in the launch.json file.


formats/packfile: cleanup and hash type

Current coverage is 63.20%

Merging #2 into v2.0.0 will increase coverage by +1.15% as of 27c6e4a

@@            v2.0.0     #2   diff @@
=====================================
  Files           10     11     +1
  Stmts          751    761    +10
  Branches         0      0
  Methods          0      0
=====================================
+ Hit            466    481    +15
  Partial          0      0
+ Missed         285    280     -5

Review entire Coverage Diff as of 27c6e4a

Powered by Codecov. Updated on successful CI builds.


Only allow parallax vertically?

By default, your view allows the parallax effect in all directions. Our designer brought up the fact that, in a vertically scrolling list, Apple uses the parallax effect only when moving up and down as a hint to the user as to the scroll direction. Is there an easy way to achieve this?

Nvm, looks like setting parallaxMotionEffect.viewingAngleY = 0 does the trick.

Actually, this didn't quite get me all the way to what I wanted. There's no more parallax horizontally, but I can still wiggle it side to side. Is there any way to remove that?

Ok, just answering my own question again. I'll leave this for posterity. It finally occurred to me that what I wanted in this instance wasn't actually even a parallax, so trying to make a parallax view do it didn't make much sense.
I ended up just adding my own custom motion effects like so:
if context.nextFocusedView == self {
    let effect = UIInterpolatingMotionEffect(keyPath: "center.y", type: .tiltAlongVerticalAxis)
    effect.minimumRelativeValue = -8
    effect.maximumRelativeValue = 8
    self.addMotionEffect(effect)
} else {
    self.motionEffects.removeAll()
}


Restrict data dir for no_anticompaction_of_already_repaired_test

Simple fix for no_anticompaction_of_already_repaired_test, which is failing only on 3.11 due to JBOD (test is disabled on trunk).

+1


Unable to build an application for Raspberry Pi 3

Using electron package manager am unable to build an application for the armv7a architecture i.e., Raspberry Pi 3 .. Does it support for this architecture..

As of Electron Packager version 8.0.0, the armv7l architecture is supported. However, due to the way that ARM architectures identify themselves, you need to explicitly specify the arch parameter yourself.

Yes I have seen armv7l architecture is supported . But Raspberry Pi 3 is raising an error that architecture not found when I specify the --arch=armv7a . And if I compile it using armv7l I am unable to run the application created.

What is armv7a?

It the processor present in Raspberry Pi 3 Model B which we are using. Is there any difference it shows for the both armv7a and armv7l. I don't know exactly.

It's confusing because my Raspberry Pi 3 is running a stable Raspbian image, and when I run uname -a on it, it reports armv7l. However, according to Wikipedia it runs https://en.wikipedia.org/wiki/ARM_Cortex-A53 which is armv8, which is not currently supported by Electron.
The only architectures that Electron Packager supports is a subset of the architectures that Electron supports. All of the "Electron does not build/ for some version of ARM" issues seem to be getting merged into https://github.com/electron/electron/issues/259.

On my raspberry pi 3 running on New Raspbian Pixel desktop when I run uname -a it shows Linux.

Sorry, uname -a shows everything. I specifically meant uname -m.


Compilation fails for multiplicative expression with an operand that is of a union type containing a singleton type

Description:
$title.
Steps to reproduce:
type T1 1|2;

type T2 int:Unsigned16|int:Unsigned32|byte|int:Signed8;

type T3 int:Signed16|int:Signed32|int:Unsigned8|int:MAX_VALUE;

type T4 T1|T3;

public function main() {
    T1 a = 1;
    T2 b = 2;
    T3 c = 3;
    T4 d = 4;

    int v1 = 2 * a; // OK
    int v2 = 2 * b; // OK

    int v3 = 2 * c; // error: operator '*' not defined for 'int' and 'T3'
    int v4 = 2 * d; // error: operator '*' not defined for 'int' and 'T4'
    int v5 = a / d; // error: operator '*' not defined for '1|2' and 'T4'
    int v6 = c % d; // error: operator '*' not defined for 'T3' and 'T4'
}

Affected Versions:
slbeta3-rc3

Same as https://github.com/ballerina-platform/ballerina-lang/issues/33265. Fixed in https://github.com/ballerina-platform/ballerina-lang/pull/33614.


Clarify "Step 4 - Testing and loading new languages"

After skimming through the Step 4 - Testing and loading new languages section of the Android Speech article, I was under the impression that it would be possible to download a new language, let's say Brazilian Portuguese, to Google's stock AVD for KitKat.
Only after a closer look at the sample code I noticed that the language/country pair isn't passed to the Activity that would be responsible for downloading the language/voice data.
Given that the sample code is similar to the code found on the TTS's announcement on Android Developer's blog, my current understanding is that:

If not already present on the device, supported (TextToSpeech.IsLanguageAvailable >= LanguageAvailableResult.Available) language/voice data can be downloaded using the sample code provided.
TextToSpeech.IsLanguageAvailable == LanguageAvailableResult.NotSupported is kind of final: there's no language/voice package available (even for download) for that language.

Either way, the text or the sample code could be improved to make it more clear what we should expect from the API.

Hi @alfredmyers, this topic has been updated to better explain how the above APIs work (with screenshots of the activity that gets launched). The changes should be published soon. Thanks again for pointing this out!


Line count is not visible

Description
When editing any file, regardless of syntax highlighting, themes, and plugins, some line counts don't get displayed. It appears to alternate the displaying every 30 lines. Sorry for the broad description, but there really isn't much to be described.
Steps to Reproduce

Open atom
Edit a text file

Expected behavior:
Edit a text file with all line counts on the left side of the editor.
Actual behavior:
Edit a text file with missing line-counts on the left side of the editor.
Reproduces how often:
This bug occurs every time I load Atom.
Versions
Atom    : 1.38.2
Electron: 2.0.18
Chrome  : 61.0.3163.100
Node    : 8.9.3
Operating System: Windows 10 Pro - 10.0.17134
Additional Information
Here's a video of what I mean by the bug. My text description isn't helpful, I figure a video may be more insightful.
https://www.youtube.com/watch?v=guguHZfUyK4
Again, sorry for the broad description of everything. It's just hard to describe the issue.

The template isn't just there for fun, it contains some important first steps 😉.
Are you able to reproduce this in Safe Mode?
Have you tried Disabling GPU rendering?

Yes I know the template contained important steps. I tried safemode, I read the FAQ's, and checked if there was already an issue. I didn't entirely follow the debugging section, just the first several steps.
Also, I just tried and disabled GPU rendering. It appears to have fixed it, though this isn't a permanent fix.  I get that this may not be a problem directly associated with Atom, but can you point me in the direction to possibly fix this issue? I got the latest drivers on the latest build of windows. Ideas?

Do you see the same behavior on the beta branch? There's a major upgrade to the version of Electron (the framework Atom runs on) available for testing, one of the many improvements coming from that is updated GPU handling.

Ill take a look later, thanks. I will close this thread now.  But anyway, thanks!


Translations update from Weblate

Translations update from Weblate for Wavelog/Main Translation.
Current translation status:

no wrap is not working properly here


Sheep U+1F411 🐑 and Ram U+1F40F 🐏 are too similar

Actually, they’re not that similar at all if compared next to each other, but since both show horns, it’s easy to confuse a Sheep (generic or female, i.e. ewe) for a Ram (male) or even a Goat (any sex). Several other vendors differentiate the glyphs better. (Apple, LG and Mozilla do not.)

http://emojipedia.org/sheep/
http://emojipedia.org/ram/
http://emojipedia.org/goat/

Please use a sheep without horns in a future update.

Oops, this is basically a duplicate of a subset of #164

Oops, this is basically a duplicate of a subset of #164


Cache composer dependecies for faster builds

Could you please explain how this takes effect? Comparing build time of the PR on travis, I see no difference to older builds?

Because the cache is not yet there, it's the first commit.

Thanks!

@bwoebi this PR does not yet benefit from the build cache, only commits after this one will.
the benefit is, that composer packages wont get downloaded over http but instead will be re-used from previous builds.

This commit won't anyway, because it's a separate branch and has it's own cache.


Show serve command after template scaffolding

Is your feature request related to a problem? Please describe.
Quoting @kaeedo from #113

After running dotnet perla new MyProject it gives a selection of templates: Awesome!
Then it shows hints about quick access commands:
Finally it says successful.

We're lacking a mention of what's the next step after you create a new template here
Describe the solution you'd like
Quoting @kaeedo again here

I think it would be nice if it could also show a hint about how to start the newly created template. Something like:
Perla: To see your new website, run perla serve and open your browser

I agree with the feedback and I'll add a similar message here indicating how to start/build your project once you create it
Describe alternatives you've considered
N/A
Additional context
N/A

I can take this one if you haven't already started it :)

I actually have some relatively medium sized changes that will touch this area, so I would wait a little bit!

@kaeedo beta 18 made some changes this one went in
You may see the setup command run the next time you run any command it is expected as it will set a couple of checks in our local database so we know we don't have to manually setup things once again or that we're not missing things like esbuild which are core to the dev server feel free to open another issue if there's more feedback to the perla new <project-name> command


Add typings field in package.json to expose msal.d.ts

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

This PR has been open for months. Any response from the team?

Paging @rohitnarula7176


modifying search filter does not update results until I click within the search/filtering component

I have the following options set for my dropdown:
{
    singleSelection: true,
    enableSearchFilter: true,
    addNewItemOnFilter: true
}

Unless I click within the search/filtering component after typing a letter, the filter used is one letter behind what I've typed.
Angular 10
angular2-multiselect-dropdown v4.2.1

This is a duplicate of #524


Command panel data validation & formatting

Numbers fields allows more than just numbers, none of them seem to have a max limit and if you enter too much data, it just overflows the box

If you add a space after a long word it will format. I don't know the exact word length limit but nobody would type something that long anyway. When you add a command it runs a formatter in the background, its supposed to tell the user what went wrong but the message is bugged. The command shouldn't be added if anything goes wrong.
The launch day update will also add a filter for command data, ensuring that no hidden HTML was added. (If the source was copy/pasted.)


GetSentShareByToken in nextcloud driver for ocm package

Fixes https://github.com/pondersource/sciencemesh-php/issues/208

Superseded by https://github.com/cs3org/reva/pull/4115


Add armv7l architecture

In follow-up of #70
The original patch to support arm7 will only work for the raspberry pi 3, but failed on my raspberry pi 4 running Raspbian 10 and uname -m reporting armv7l.
I've done a successful manual test with a Phoenix 1.7 (rc-0) project that was failing to build before on this device.

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Deprecated classes

What would be the best way to get status connected/disconnected since connectivity.state == NetworkInfo.State.CONNECTED
is deprecated.

@uberchilly Thanks for the submission.
I suppose, there should be revisions made similar to https://github.com/pwittchen/ReactiveNetwork/pull/455
I would be grateful if you could arrange them in the form of Pull Request.
I will do my best to publish a new version of the library after it.


I cannot understand these comment and code, why not drain the channel after breaking for loop?

I have some question about stream api of go-zero (in core/fx/stream.go) when reading code:
// Head returns the first n elements in p.
func (s Stream) Head(n int64) Stream {
	if n < 1 {
		panic("n must be greater than 0")
	}

	source := make(chan any)

	go func() {
		for item := range s.source {
			n--
			if n >= 0 {
				source <- item
			}
			if n == 0 {
				// let successive method go ASAP even we have more items to skip
				close(source)
				// why we don't just break the loop, and drain to consume all items.
				// because if breaks, this former goroutine will block forever,
				// which will cause goroutine leak.
				drain(s.source)
			}
		}
		// not enough items in s.source, but we need to let successive method to go ASAP.
		if n > 0 {
			close(source)
		}
	}()

	return Range(source)
}

why we don't just break the loop, and drain to consume all items. because if breaks, this former goroutine will block forever, which will cause goroutine leak.
This comment make me very confused. So, why the following version not work?
// Head returns the first n elements in p.
func (s Stream) Head(n int64) Stream {
	if n < 1 {
		panic("n must be greater than 0")
	}

	source := make(chan any)

	go func() {
		for item := range s.source {
			n--
			if n >= 0 {
				source <- item
			}
			if n == 0 {
				break
			}
		}
                 close(source)
                 drain(s.source)
	}()

	return Range(source)
}

I think your code is also right.

if n > 0, we don't need to call drain.

if n > 0, we don't need to call drain.

Thank you for your reply, I have understood this code


Frequent downtime of prose.io

Hello,
Can someone confirm the frequent downtime of prose.io?
What are the reasons?
Robert

No actions here. We're probably not moving prose.io off github pages in the near future.


12.2.2 - repository release

Versioning

x = changes to fields
y = changes to values/ontology IDs
z = changes definitions/formats/examples

Incrementing up one point for any number of changes.
Repository Release

[x] Make new branch (e..g _#-#-#_release) if not already working on one.
[x] Upload updated "Excel Template".

[x] Versioning x.y.z

[x] Upload updated "Reference Guides" (XLSX & PDF).

[x] Update the Version Tracking tab (note: the latest version should be consistent across the SOPs, reference guides and templates)
[x] Make sure "text wrap" is on before export so all contents are legible in the PDF
[x] Do not include "Editor Note" column (PDF version)
[x] Clean up formatting (if applicable)
[x] Versioning x.y.z (same as template)

[x] Upload updated "Metadata Curation SOP" & "DataHarmonizer Curation SOP" (PDF).

[x] Versioning x.y (same as template, minus "z" changes since those don't come up in the protocol")
[x] Ensure version is consistent across document title, header and document revision history

[x] Upload updated "New Term Request SOP" (PDF).

[x] Versioning x.y (independent versioning since changes to the specification/template doesn't impact this protocol)
[x] Ensure version is consistent across document title, header and document revision history

[x] Pull Request & Merge your Branch
[x] Draft a new release (Example):

[x] Release title: GRDI-AMR specification package #.#.#
[x] Choose a tag: v#.#.# (create a new tag)
[x] Include "Contents:" section that lists the files and their individual version information

Data Collection Template #.#.#  Field and Term Reference Guides #.#.#  Curation Standard Operating Procedure (SOP) #.#.#  DataHarmonizer Download and Operation Instructions (SOP) #.#  New Term Request Standard Operating Procedure (SOP) #.#

[x] Include "Updates:" section with important information like "fixes", new fields, and a table of fields and their associated changes (e.g., picklist updates, ID/label changes, etc.).
[x] Include Release Notes - referencing applicable GitHub #issue release notes

More details can be found under release notes issue #

[x] Set as the latest release
[x] Publish release

[ ] Notify curation team on the CIDGOH SLACK #grdi channel

PR #90


White Screen HoloLens2

I was not able to run the plugin with HoloLens2 and unity 2020.3.41f1. I get the following error:
Assets "CamStreamStream" Example "VideoPanelApp.cs(61,39): error CS0234: The type or namespace name 'WorldManager' does not exist in the namespace 'UnityEngine.XR.WSA' (are you missing an assembly reference?).
the workaround I implemented was to replace:
_spatialCoordinateSystemPtr = UnityEngine.XR.WSA.WorldManager.GetNativeISpatialCoordinateSystemPtr(); with the following line of code
_spatialCoordinateSystemPtr = Microsoft.MixedReality.Toolkit.WindowsMixedReality.WindowsMixedRealityUtilities.UtilitiesProvider.ISpatialCoordinateSystemPtr;
i try also:
I also tried using this solution from another post
I was able to compile the code without errors but when viewing the panel I only see a white screen. I urgently need to use this plugin I would be eternally grateful if someone could help me. As a clarification when starting the application I get a pop to allow the use of the camera. The problem is in the camera permissions.

Indeed the error is that you are using the define BUILTIN_XR instead of using XR_PLUGIN_OPENXR. That solved the problem


[Task]: Monitor transaction after sending it

Task description
After sending a transaction check it's state in a loop every few seconds and emit the confirmation state change event if it's confirmed, so it doesn't need to sync the full account for the update
Probably should just use retry_until_included in a spawned thread
Requirements
N/A
Acceptance criteria
N/A
Creation checklist

[X] I have assigned this task to the correct people
[X] I have added the most appropriate labels
[X] I have linked the correct milestone and/or project

a65932f3af75e227379821ecdc492f947d9e6f3d


CB-515 - fixed that root volume size was set to 0 when not specified

No Consuela, no

I found the second error in the code, it works now, just let me push in a few mins


Cannot open a file

I simply cannot find a way to display a picture in the app.
Steps to reproduce:

Open the Pictures bucket
Tap on a file - nothing happens
Tap on the ellipses to show the action bar
Click on the download button - the file downloads successfully
Tap on the file - nothing happens...

You probably have Android 6 or lower on your device.
So we are receiving mimetype /octet-stream instead of image/ on this kind of devices and therefore unable to show image preview.

Yes, I am on Android 6. I remember the android-libstorj library returned better mime types in the past. I'll check what went wrong.


CT-73 Filebeat source shows up as Kafka-<topic> when running in container

Filebeat source shows up as Kafka-<topic>, which is the default when the source serverHost is null. The reason for this is that when running in containers, the hostname field is in host.name instead of host.hostname.  When running in non-container, the hostname is in both host.name and host.hostname.
Fix: change the Filebeat mapping to use host.name instead of host.hostname.

Do we also have some end to end / integration tests which assert on this?

Yes, agree we should have the system test verify script assert on this.  I'll do this as part of a separate PR that I'll have later this week to add a default parser.


Grabbing Search Results in Playlist Options

As a user it would be nice if I could have a certain amount of playlists from public searchs/fetches. Such that I'm not restricted to my own playlists to merge

closing due to lack of progress on issue


Is Nova quantum ready?

Quatum computing is seeing exponential development and it is conceivable that we will be able to run Shor's algorithm within 2030. That would break all convetional public key algorithms based on the hardness of prime factoring. It would also render all zk-SNARK-proofs compromised for forgery. Therefore switching to quantum secure cryptography is a must for serious application now even if the crack is some years away. Old proofs will be rendered entirely compromised and useless after that point. Therefore you would either need a system to upgrade and detrust old proofs, which would require recomputing all of them, or just start off quantum secure. The latter is definitely more realistic.
https://www.ncsc.gov.uk/whitepaper/preparing-for-quantum-safe-cryptography

Nova relies on additively homomorphic commitments to vectors. In the current implementation, this is based on elliptic curves, so Nova is not quantum-safe. In the future, if one builds an efficient commitment scheme based on quantum-safe primitives, Nova can use them.


Japanese transliteration / romanization

Japanese can be transliterated or romanized pretty effectively with software. That would be a killer feature for my future needs, as my company has several sites will include URLs for stores that have Japanese titles.

I took a look on the issue -> "This chart shows in full the three main systems for the romanization of Japanese: Hepburn, Nihon-shiki and Kunrei-shiki:"
What's the way to go here? Three types of transliteration? Is there a focus on one?
Is this a good choice? -> http://www.translitteration.com/transliteration/en/japanese/iso-3602-kunrei-shiki/

I've been experimenting with this, and Hepburn is definitely the way to go, but unfortunately, there's two cases we'd need to detect for here.
Hepburn can detect if the string needs to be altered with containsKana. Then, using fromKana, we get the desired Romajii.
However, another problem is that not all Japanese is in kana; there's also Kanji. The best solution I can come up with for that is ENAMDICT.
With both, we should have good coverage. I might also be prudent to get the hiragana from ENAMDICT first, then pass that to Hepburn.
We also want to be careful to provide to SpeakingURL the result of these techniques, in case it throws in any other characters with marks/diacriticals/accents/long-vowels that should be converted to ASCII.

Also, I have this code written for my own slugifier based on SpeakingURL. It may be of some help.
And this is the test, but note, this only works for Kana, not for Kanji. You'll want to get it working for both, and that's the tricky part.
slugify-spec.coffee
  it "should romanize japanese characters", ->
    url_with_japanese = "/store/デパート/12345"
    romanized_url = "/store/depato/12345"
    expect(slugify(url_with_japanese)).toEqual(romanized_url)

slugify.coffee
hepburn = require 'hepburn'
getSlug = require 'speakingurl'

module.exports = (str) ->
  if typeof str isnt 'string'
    throw new Error "Slugify Error: Wrong type passed for value: #{str}"
  else
    if hepburn.containsKana str
      str = hepburn.fromKana str

    str = getSlug str,
      uric: yes
      custom:
        '&': 'and'

    str

+1 on this issue.  I'll need this for soundtrack.io.

Because of lack of time, this issue is still unfinished.
Still hope that someone will send a pull-request :-) Come on ;-)

+1

+5


Sign assemblies

What does the pull request do?

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Avaloniaui.net with user documentation

Breaking changes

Fixed issues

By curiosity, what is the value for you to enable this ?
we are not doing this strong named signing in some of our projects as we do not see real values in that. Only dotnet code can verify such signature.
Strong name signing also break the name of the assemblies soif any code consume the name (InternalVisibleTo or load assembly if i remember correctly) this is a breaking change.
We prefer digital signing which is more visible to the user and is more secure to modification

Strong naming is required for several scenarios like Visual Studio extensions.

internalsvisibleto is only valid when used inside Avalonia repo to give access to unit tests, and its bad practise... for people consuming avalonia... they already do not have the option to use this.
0.10.0 is breaking change anyway. This is the major one we want to get in,so we can maintain stable api going forward.

In general, in this regard, the strongnamer library is interesting


Build a library AAR instead of APK

Hi all,
I'd love adding Flutter to an existing app in the form of an Android library added to the existing project, but apparently that's not possible at this moment.
I skimmed through the docs and examples and couldn't find anything in that direction.
It it possible to do that, or is there at least something in sight for the near term future?
Thanks a lot for your hard work

I guess what you're looking for is this: https://github.com/flutter/flutter/tree/master/examples/flutter_view
I haven't tried it, but you can most likely can convert it to produce an Android library (applying the android library gradle plugin, instead of the android app plugin) and use the generated AAR library wherever you want. You can go even fancier and publish the AAR to a maven repository and include it as a Gradle dependency.

There was no documentation explaining how to generate an Android library instead of an APK when I created this issue.
It seems there are an initiative going on that direction https://github.com/flutter/flutter/issues/14821
I'll close this issue as the progress on this subject can be tracked over there.


binaryninja ERROR

hello，when i use the following comand  to test the binary xz,the was an error.
$ mcsema-disass --disassembler /home/lip/binaryninja --os linux --arch amd64 --output xz.cfg --binary xz --entrypoint main --log_file xz.log
The Error: mcsema-disass: error: Could not import binaryninja. Is it in your PYTHONPATH?
i couldn't find the IDA pro (linux) V6.7+,so i use the binaryninja,and i have set the environment variables of binaryninja, but i undestand the  PYTHONPATH?

You have to add /home/lip/binaryninja/python to your PYTHONPATH so that you can import the API


Build-ContainerImage misbehaves with absolute paths

Build-ContainerImage unconditionally appends the provided path with the current powershell user's working directory, but that should only happen for relative paths.  Absolute paths should be used directly.

Not repro on my machine... can you give an example with the -Verbose flag?

Yup, looks like I was still using an outdated master.  Synced up and the problem went away... though now I'm seeing issue https://github.com/ahmetalpbalkan/Docker.DotNet/issues/62 in the serialization.  I'll close this one.


Add Repl Command for loading an external file (':l')

I add Repl Command for loading an external file (":l").
example:
esehara $ ./roy
roy> :l test.roy
roy> a
5 : String

I cleaned this up a bit and pushed. Thanks!


dial tcp: lookup refused code=422

Question:
I have portainer deployed in a swarm on Docker 1.13.1-cs9 with LDAP authentication. After a period of time, maybe 24 hours or so, I cease to be able to log into Portainer due to this error in the portainer log:
2018/11/28 15:43:36 http error: Invalid credentials (err=LDAP Result Code 200 "Network Error": dial tcp: lookup dc.example.com on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:54475-><IP_ADDRESS>:53: read: connection refused) (code=422)

Since portainer is based on scratch, I can't exec into the container to diagnose anything. What might be going on here?

"Network Error": dial tcp: lookup dc.example.com on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:54475-><IP_ADDRESS>:53: read: connection refused

Seems that there is a network issue between your Portainer host/container and your LDAP server.
Not related to Portainer I think. Feel free to re-open/comment if you think we're missing anything.

@deviantony I don't have a "re-open" button, but <IP_ADDRESS>:54475-><IP_ADDRESS>:53 is clearly a DNS query to the container's internal DNS server.

Indeed and that internal is managed by Docker, not Portainer.
I'd recommend you to update your Docker version as 1.13.x is actually quite old and might contain network bugs.


Extension Store release?

Hey - is it planned to release this on the Chrome Extension store to make it more widely available?
Thanks!

I am working on it! Hopefully soon!


Spread operator support

Version
Tell us which versions you are using:

react-native-router-flux v3.22.23
react-native v0.?.?

Expected behaviour
See https://facebook.github.io/react/docs/jsx-spread.html

Spread operator should be already supported, what are you trying to achieve?

Sure, here's my code:
const getSettingsTab = (topPadding) => {
  const opts = {
    key: 'settings',
    title: 'More',
    icon: { TabIcon }
  };
  return (
    <Scene {...opts}>
      <Scene
        key="tab2_1"
        title="Settings"
        component={SettingsContainer}
        sceneStyle={{ paddingTop: topPadding }}/>
    </Scene>
  );
};
//...
render() {
    const topPadding = Platform.OS === 'ios' ? IOS_TOP_PADDING : ANDROID_TOP_PADDING;
    const settingsTab = getSettingsTab(topPadding);
    // abbreviated scene initialization
    return (
      <RouterWithRedux>
        <Scene key="tabbar"
          tabs={true}
          type="reset">
          { settingsTab }
        </Scene>
      </RouterWithRedux>
    );
  }

If I use the key value pairs in opts directly in the JSX, it works as expected.

You should probably change your options from this:
const opts = {
  key: 'settings',
  title: 'More',
  icon: { TabIcon }
};

To this:
const opts = {
  key: 'settings',
  title: 'More',
  icon: TabIcon
};

@AntonNiklasson is correct. Using {} is necessary in JSX but when you use it in the JS object, it creates a child object holding the TabIcon and not just the TabIcon as expected.

Didn't catch that. Thanks!


Add generic Zino config file

Closes #224.
This is a first draft, that probably does a lot of things wrong since I haven't worked much with toml files before.
A few notes for discussion/information:

in Zino1 zino.cf is not re-read, so I am also not re-reading zino.toml here, but if wanted, an issue for that can be added for post-zino2.0
open invitation to comment on the setting names and if they should be grouped in any way
as @runborg already commented in #224: eventid_file is not necessary, since it only keeps track of the last event id, which is something we already cover with last_event_id, which is dumped to zino-state.json
should we require a zino.toml file to exist? or is it optional and otherwise we simply use the default values?

should we require a zino.toml file to exist? or is it optional and otherwise we simply use the default values?

If the zino.toml file is used to do the job of polldevs.cf there should be an error on startup if the polldevs-section is empty.

It can be nice to have an example zino.toml with all the defaults explicitly set and commented out. This is what postgres does.

should we require a zino.toml file to exist? or is it optional and otherwise we simply use the default values?
i think everything in zino.toml should have it's default fallback in code-defaults. and those should be mandatory to have.
But it would be great to have this file created with all default values documented so the user can uncomment and change it.

If the zino.toml file is used to do the job of polldevs.cf there should be an error on startup if the polldevs-section is empty.
I do not think it should be redundant options in polldevs.cf and zino.toml.. and everythin in polldevs.cf should be directly connected to one or more devices in the polling cycle.

Also, if multiple config files, all should use the same format unless one of them only contains one string.

For documentation purposes:
Old zino.cf variable names to new zino.toml variable names:

old_events -> archiving.old_events_dir
zino_secrets -> authentication.file
persist_file -> persistence.file
persist_period -> persistence.period
pollfile -> polling.file
conf_check -> polling.period

As a reminder from our meeting last week:
If a configuration file does not exist zino should load with its internal defaults
If a configuration file is specified as a cli parameter ensure that the file exists and is a valid configuration, if the specified configuration file does not exist or includes errors zino should not start.
When loading the configuration file it should extend the internal default values definded in zino.
Ensure that the configuration only includes known and valid configuration options, if the user have defined a key with a illegal value or if a unknown key is defined zino should not start.

Since we now have a config we can ask for what the state  filename should be, does it make sense for  ZinoState.load_state_from_file to default to STATE_FILENAME? Is there any real usecase for the default value anyways? I imagine this function will always be called with either the value read from config or with a temp file during tests

Since we now have a config we can ask for what the state filename should be, does it make sense for ZinoState.load_state_from_file to default to STATE_FILENAME? Is there any real usecase for the default value anyways? I imagine this function will always be called with either the value read from config or with a temp file during tests

Very good point, I feel like I had a good reason for it when I was working on it to keep that default value, but I do not remember now

Oh well, playing fast and loose this Friday afternoon... @johannaengland left the office and I forgot there was a fixup! commit here :-D


feat(data-table): mode variant prop and storybook examples update

Describe pull-request
Adding a mode-variant feature to the data-table component, both native and web component
Solving issue
Fixes: AB#3115
How to test

Go to the Data table component in PR storybook link
Check the data-table component (both native and web component)
Make sure every data-table story has a "Mode-variant" control
Make sure every "Mode-variant" control works - it changes the background color of the data-table body row.
Compare colors for both dark and light mode and it variants: primary/secondary

Suggested test steps

[ ] Browser testing (Chrome, Safari, Firefox)
[ ] Storybook controls
[ ] Design/controls/props is aligned with other components
[ ] Dark/light mode and variants

Additional context

Only body row is affected by mode-variant changes
For checking color, feel free to use my Figma playground file with the basic data-table component.

Great job with the implementation! 🚀 Left some comments, some might not be applicable. Also sorry for spamming the same comment in several places. I generally prefer to have the same comment in all the places it might be applicable so it's easy to see what I need to look at, please let me know if you prefer another approach 😄
The "Data Property" story doesn't have a Mode Variant control, is it supposed to? Also, are the row cells not supposed to have a background color, but be transparent?

Thanks a lot for the detailed review. Regarding spamming and comments on the same things previously found, I would recommend putting "+" or thumbs on the existing comment. It keeps it DRY and easier to navigate between comments.
Regarding data property: No. That story is just a simple example of how to use data-prop so there is no need for extra controls.

@nathalielindqvist and @mJarsater  - Thanks a lot for the feedback. I think I managed to cover all comments, please check again when you have time.


bug(ratings): Whole number ratings displays as half ratings

Describe the bug

When providing whole number rating to a VitaminRatings.ReadOnly composable, it is displayed with a half more note that it should.
According to a bit of debugging, a missing case of handling .0 decimals is located here
To Reproduce

Expected behavior

There should be no half stars displayed.
Screenshots

Here the exact note is 3.0

Smartphone (please complete the following information):

Device: Samsung Galaxy S8
OS: Pie
Version 28

Thanks a lot for spotting and creating this issue. We will look at it as soon as possible.
Don't hesitate to contribute if you'd like.


[BUG] residual connection wrong?

In bit_transformer.py:
class Transformer(nn.Module):
    def forward(self, x: Tensor, *args, **kwargs) -> Tensor:
        for attn, ffn in zip(self.layers, self.ffn_layers):
            # print(x.shape)
            x, _ = attn(x, x, x, is_causal=True, *args, **kwargs)
            x = x + x
            x = ffn(x) + x
        return x

Is the line x = x + x  wrong? This seems not a residual connection.

@qianlong0502 fixed it now excuse me, thanks for the catch!


DynamicSubject dual binding

Hello,
I've tried to make a dual binding between a text field and a DynamicSubject but it does not behave as in your test cases samples.
My dynamic subjects are done with the NSObject extension .keyPath method:

public var organizerDetail: String?

///Sends values when KVO see changes to the "orgamizerDetail" property (store institution id)
    public var dynamicOrganizerDetail: DynamicSubject<Optional<String>> {
        return self.reactive.keyPath(SerializationKeys.organizerDetail, ofType: Optional<String>.self)
    }

Here is how i have to write dual binding to get it working:
filter.dynamicOrganizerDetail.bind(to: self.filterValueTextField.reactive.text).dispose(in: self.bag)
            self.filterValueTextField.reactive.text.bind(to: filter.dynamicOrganizerDetail).dispose(in: self.bag)

Could you please explain to me why I'm not able to get the bidirectional operator working in this sample?

Hi!
How are you trying to bidirectionally bind and what exactly is the problem?

Hi, thanks for your answer.
here is the bi-directional that i can't manage to get working:
self.filterValueTextField.reactive.text.bidirectionalBind(to: self.viewModel.creatingEvent.dynamicTitle).dispose(in: self.bag)

Here is the manual binding that works:
self.viewModel.creatingEvent.dynamicTitle.bind(to: self.filterValueTextField.reactive.text).dispose(in: self.bag)
        self.filterValueTextField.reactive.text.bind(to: self.viewModel.creatingEvent.dynamicTitle).dispose(in: self.bag)

dynamicTitle :
///Sends values when KVO see changes to the "title" property
    public var dynamicTitle: DynamicSubject<Optional<String>> {
        return self.reactive.keyPath("title", ofType: Optional<String>.self)
    }

In what way does it not work? Does it not compile? Does it not get updated?

Yes  this works, but if you modify a.title, your textfield should receive the value and in my exemple it dont.

well, im seeing that i did not use the dynamic keyword, is it necessary ?

dynamic is necessary to get KVO working in Swift :)

Ok, i will try setting my variables to dynamic and let you know soon.
Thank you, see you soon.


"created with a trial version Syncfusion PowerPoint library" watermark

I am getting a Watermark saying "created with a trial version Syncfusion PowerPoint library" in the generated Powerpoint file.

Thanks for letting me know @mattnfdev, it should be fixed now.


[Question] Algoritm to position nodes / layout diagram?

Hey there, not an issue, just a question of "How do I do this?" -
My use-case is that I want to display a diagram of nodes connected to each other. For an easy reference, imagine the DatabaseDesigner: https://github.com/Blazor-Diagrams/Blazor.DatabaseDesigner
What I want to do is - from code, iterate over a model, lets say a database model. Then programmatically add all the needed tables and connections to the diagram, and then call a function to place these tables in a position in the diagram so that their position relative to each other makes sense, and it'll give a decent overview of tables and their connections to each other.
For reference, something like the enterprise architect function of "layout diagram": https://sparxsystems.com/enterprise_architect_user_guide/15.2/modeling/layoutadiagram.html
I was considering to build something to do this, but was just wondering if there was already anything out there so that I don't have to build it myself

Hello,
You'll need to implement a layout algorithm or use a library that can do itfor you.
Examples: https://github.com/Blazor-Diagrams/Blazor.Diagrams/tree/master/docs/Layouts (GraphShape library)

Oh ok, thanks. I didn't know it was already possible out-of-the-box.
I was checking https://blazor-diagrams.zhaytam.com/demos/simple to see the possible features, and I don't think that the "Layout diagram" demos are in there.
But I've cloned this repo, and it looks like close to what I need, yea, thanks