mac ERROR - Fatal: No such file or directory; did you install phantomjs?

i have install phantomjs

`
(py36) taoxiyan@taoxiyandeMacBook-Pro ~ % brew cask install phantomjs
Warning: Cask 'phantomjs' is already installed.

To re-install phantomjs, run:
brew reinstall phantomjs
(py36) taoxiyan@taoxiyandeMacBook-Pro ~ % brew reinstall phantomjs
==> Caveats
phantomjs has been officially discontinued upstream.
It may stop working correctly (or at all) in recent versions of macOS.
==> Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-
Already downloaded: /Users/taoxiyan/Library/Caches/Homebrew/downloads/f8cdfacce271a45f2b21ff12f7cd783d941450ed6d34e5c20eb20abd42f481c0--phantomjs-2.1.1-macosx.zip
==> Verifying SHA-256 checksum for Cask 'phantomjs'.
==> Uninstalling Cask phantomjs
==> Unlinking Binary '/usr/local/bin/phantomjs'.
==> Purging files for version 2.1.1 of Cask phantomjs
==> Installing Cask phantomjs
==> Linking Binary 'phantomjs' to '/usr/local/bin/phantomjs'.
🍺  phantomjs was successfully installed!`

when i install the tagui i follow the guide : https://tagui.readthedocs.io/en/latest/setup.html
Download TagUI v6.0.0 (macOS, Linux).
Unzip the contents to your desktop on macOS, or /home/your_userid on Linux.
Install OpenJDK (macOS, Linux).
Install Chrome.
Open Terminal.
Copy, paste and run these commands, replacing your_tagui_path as needed:
ln -sf /your_tagui_path/tagui/src/tagui /usr/local/bin/tagui

(base) taoxiyan@taoxiyandeMacBook-Pro ~ % ln -sf /Users/taoxiyan/tagui/src/tagui /usr/local/bin/tagui (base) taoxiyan@taoxiyandeMacBook-Pro ~ %

can not run the sample provided
(base) taoxiyan@taoxiyandeMacBook-Pro ~ % tagui /Users/taoxiyan/tagui/flows/samples/1_google.tag zsh: permission denied: tagui

can not init the tagui
`(base) taoxiyan@taoxiyandeMacBook-Pro ~ % python
Python 3.7.6 (default, Jan  8 2020, 13:42:34)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.

import tagui as t
t.init()
[RPA][ERROR] - following happens when starting TagUI...

ERROR - Fatal: No such file or directory; did you install phantomjs?
False`

(base) taoxiyan@taoxiyandeMacBook-Pro ~ % brew list  bash-completion		graphviz		netpbm cairo			gts			node fontconfig		harfbuzz		pango freetype		icu4c			pcre fribidi			jasper			pixman gd			jpeg			pkg-config gdbm			libffi<EMAIL_ADDRESS>gettext			libpng			readline glib			libtiff			sqlite gobject-introspection	libtool			webp graphite2		lzo			xz

`(base) taoxiyan@taoxiyandeMacBook-Pro ~ % brew list ‘
bash-completion		graphviz		netpbm
cairo			gts			node
fontconfig		harfbuzz		pango
freetype		icu4c			pcre
fribidi			jasper			pixman
gd			jpeg			pkg-config
gdbm			libffi<EMAIL_ADDRESS>gettext			libpng			readline
glib			libtiff			sqlite
gobject-introspection	libtool			webp
graphite2		lzo			xz

Hi @txyzwh. CK here.
You shouldn't need to manually install phantomjs.
The guide you have used: https://tagui.readthedocs.io/en/latest/setup.html
is for TagUI, not TagUI-Python.
Try to use the guide here: Set up TagUI-Python on Mac
Follow the guide there step-by-step.  If you bump into any problem, please let me know which part you are stuck and what's the error message that you see on the screen.

Hi RPA for Python users, 🅗🅐🅟🅟🅨 ②⓪②①!
It has been many months since I last worked on this personal side project. Just want to shout out that this project is very much alive, and I hope to look into the 30+ issues raised since July (and bug-fixes if required) soon when I get a moment again.
Below are details if you are interested, why I'm away past few months and why I believe my darkest days are over 🍀🤞🏻🙏🏻

Since May last year, I've stopped all work to juggle with my mum's critical illness, taking care of my toddler, and doing housework chores like cleaning and cooking. TBH, my wife and I felt that taking care of a baby and giving her the best nutrition (nursing and home-cooked organic food) and care requires at least 1.5 full-time headcount. There is no life to speak of, other than trying to stay afloat with baby care needs, and keep finding alternative ways to treat my mum, where there're some wins.
Eg importing soy-based tube feeds from Netherlands / Germany / Australia --> after switching away from milk-based tube feeds for 2 weeks she stops requiring dialysis. She started requiring 3x a week dialysis for more than 3 months, after admitting to the hospital. Also, applying herbs like mashed garlic or diced onions to her feet somehow consistently improve her breathing and lung function. Have to keep trying alternative healing methods when her recovery keeps hitting plateau in hospital.
She has been discharged from the hospital a month ago and recovering at home, though very slowly. A longterm medication seems to be one of the contributing causes for her condition. After stopping it, there seems to be improvement to her breathing capacity. She is still bed-bound, but over the course of the year I hope she'll regain strength to move about, and hopefully lungs to recover sufficiently to not require oxygen tank support through a tracheal mask (a hole through her throat).

Since November, I've gone back to work at AI Singapore, a government-funded programme to accelerate AI in Singapore. I'm with Product Engineering team, focusing on RPA and TagUI (open-source RPA tool), which RPA for Python is a wrapper for. There are pretty interesting stuffs on TagUI 2021 roadmap. 2020 was the year which my family was going to move to the UK and work, after I receive its tier 1 exceptional tech talent visa. Then everything changed with the virus outbreak, and my mum's illness. The best thing that happened to me in 2020 was being able to go back to work at AI Singapore - I'm grateful.
I've just hired someone to help with housework, cooking and supporting my wife with baby care. I hope this new arrangement will allow me to deliver on my work at AI Singapore, and soon be able to reply countless friends' messages which circumstances leave me with no choice but go missing for months, and then look into the issues raised here!
Eg of the cost of best-in-class nutrition standard researched and set by wife. Baby just felt restless and broke her plate. Even Corelle's break-resistant plate breaks. Why not use plastic plate? Cuz plastic can leech toxins to the food on it. Why not use Silicon plate? Cuz there is no white silicon materials for plate. Why white? Cuz that helps to improve visibility of the food instead of contrasting against some pink colour or some other colours. I would be spending much time clearing up the mess of 70 over pieces of plate fragments, while baby gets nursed to calm down, if not for our newfound helper.
That's why I feel like my darkest days are over and now seeing glimpses of light at the end of the tunnel.

My vision for RPA for Python remains - I would like it to be the go-to Python package for RPA.
A best-in-class tool in Python users toolbox which you combine with other cool packages to build amazing stuffs.

Hi RPA for Python users, 🅗🅐🅟🅟🅨 ②⓪②①!
It has been many months since I last worked on this personal side project. Just want to shout out that this project is very much alive, and I hope to look into the 30+ issues raised since July (and bug-fixes if required) soon when I get a moment again.
Below are details if you are interested, why I'm away past few months and why I believe my darkest days are over 🍀🤞🏻🙏🏻

Since May last year, I've stopped all work to juggle with my mum's critical illness, taking care of my toddler, and doing housework chores like cleaning and cooking. TBH, my wife and I felt that taking care of a baby and giving her the best nutrition (nursing and home-cooked organic food) and care requires at least 1.5 full-time headcount. There is no life to speak of, other than trying to stay afloat with baby care needs, and keep finding alternative ways to treat my mum, where there're some wins.
Eg importing soy-based tube feeds from Netherlands / Germany / Australia --> after switching away from milk-based tube feeds for 2 weeks she stops requiring dialysis. She started requiring 3x a week dialysis for more than 3 months, after admitting to the hospital. Also, applying herbs like mashed garlic or diced onions to her feet somehow consistently improve her breathing and lung function. Have to keep trying alternative healing methods when her recovery keeps hitting plateau in hospital.
She has been discharged from the hospital a month ago and recovering at home, though very slowly. A longterm medication seems to be one of the contributing causes for her condition. After stopping it, there seems to be improvement to her breathing capacity. She is still bed-bound, but over the course of the year I hope she'll regain strength to move about, and hopefully lungs to recover sufficiently to not require oxygen tank support through a tracheal mask (a hole through her throat).

Since November, I've gone back to work at AI Singapore, a government-funded programme to accelerate AI in Singapore. I'm with Product Engineering team, focusing on RPA and TagUI (open-source RPA tool), which RPA for Python is a wrapper for. There are pretty interesting stuffs on TagUI 2021 roadmap. 2020 was the year which my family was going to move to the UK and work, after I receive its tier 1 exceptional tech talent visa. Then everything changed with the virus outbreak, and my mum's illness. The best thing that happened to me in 2020 was being able to go back to work at AI Singapore - I'm grateful.
I've just hired someone to help with housework, cooking and supporting my wife with baby care. I hope this new arrangement will allow me to deliver on my work at AI Singapore, and soon be able to reply countless friends' messages which circumstances leave me with no choice but go missing for months, and then look into the issues raised here!
Eg of the cost of best-in-class nutrition standard researched and set by wife. Baby just felt restless and broke her plate. Even Corelle's break-resistant plate breaks. Why not use plastic plate? Cuz plastic can leech toxins to the food on it. Why not use Silicon plate? Cuz there is no white silicon materials for plate. Why white? Cuz that helps to improve visibility of the food instead of contrasting against some pink colour or some other colours. I would be spending much time clearing up the mess of 70 over pieces of plate fragments, while baby gets nursed to calm down, if not for our newfound helper.
That's why I feel like my darkest days are over and now seeing glimpses of light at the end of the tunnel.

My vision for RPA for Python remains - I would like it to be the go-to Python package for RPA.
A best-in-class tool in Python users toolbox which you combine with other cool packages to build amazing stuffs.

Thanks for the help! The problem has been solved.


Added 8bitdo adapter v2 for Linux and Windows

Also added missing guide button for 8bitdo adapter (Windows)

How did you obtain the GUID for the new Windows map?

How did you obtain the GUID for the new Windows map?

I built SDL2 ControllerMap from source and run on Windows to get the mapping.

I built SDL2 ControllerMap from source and run on Windows to get the mapping.

Updated firmware on my V1 Adapter
Updated relevant mapping
Ordered a V2 Adapter
Pinged 8BitDo #533

@mariotaku if OK I'll merge this now


Add founding day holiday to Saudi Arabia holidays

Add new founding day holiday to Saudi Arabia module
Add tests for new "founding day" holiday
Add tests for weekend shifts that happened at 2013 (from Thrusday, Friday weekend to Friday, Saturday weekend)
Fix weekend check for national holiday to include previous weekends (before 2013)
Fix weekend code that mistakenly add UAE weekends into Saudi Arabia

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

16 of 16 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.008%) to 98.901%

Totals

Change from base Build<PHONE_NUMBER>:
-0.008%

Covered Lines:
6130

Relevant Lines:
6147

💛  - Coveralls

Perfect job!
Merged and pushed to beta.. thank you very much, cheers! 👍


Updated stmt_block for 21.1

This PR includes the full SQL grammar diagram for 21.1 (built on https://github.com/cockroachdb/cockroach/pull/63168/commits/56fc9e44fc57ccbd95e1e2bc87028dbfb33a389f).

This change is


Is there a way to measure the specific Office Templates (Word, Excel, PPT, etc) which a user uses (touches, activates)

Need to be able to find out how users are using Templates (dotx, dotm, etc). Surely this should be possible through the analytics. We need to audit the use of such templates in large government organizations. Thanks.

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

ID: de44679b-998b-3de8-292b-d2993af9bad9
Version Independent ID: 7fd9ecf7-0468-d01e-dcca-d18a19ebb7c2
Content: Microsoft 365 usage analytics data model - Microsoft 365 admin
Content Source: microsoft-365/admin/usage-analytics/usage-analytics-data-model.md
Service: o365-administration
GitHub Login: @Sirkkuw
Microsoft Alias: sirkkuw

@Sirkkuw I had tested this in my tenant and looks like there is no place to get information about templates (Dotx, dotc, etc..) activated or used by users. Is there a way to find that out via M365 usage Analytics?
CC: @yogkumgit
Thanks
Sri

I don't know. I will ask someone on the PG.

@RKD993 Thank you for your feedback. We have checked with the product group and we do not have this capability today.
@yogkumgit No changes required in the document, please close this issue.
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @RKD993 Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Counting number of inversions

Related Issue
Closes: #843
Describe the changes you've made
Source code of the hackerrank problem.
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Language used for coding
Python
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 documented the code.
[x] New and existing unit tests pass locally with my changes.

@JASKAMAL22 Add some comments in your code.

hey @Nivedita967 , I have updated it. Kindly please check it!


Add test case for empty contract address in callback types

Summary
In types/callbacks_test.go a test case should be added for an empty callback address (in getCallbackData)

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

addressed in https://github.com/cosmos/ibc-go/pull/3939/commits/955887739775366b693ab4861f098b8bbc731954


Error while converting json to features for ST_Buffer

Hi,
My objective is to create a buffer of 1000 m for enode. I am able to obtain a json using the copy from HDFS tool. But I am unable to create a feature class using json to features tool.
I used the following query
 > CREATE external table enodebuffer (shape binary);
 >INSERT OVERWRITE TABLE enodebuffer
> SELECT ST_Buffer(enodeaggregate.shape,100) from enodeaggregate;

I am able to obtain the count and retrieve the columns on hive.  Copy from HDFS  to obtain a json file also works successfully.
When I convert json to features using the git hub tool I get
Failed to execute json to features and  I get the following description for the error as shown in the image below.

I tried the same query creating a table using multiple colums with the shape column but I get the same error as shown above.
Any info would be greatly appreciated
Thanks

FYI, the error pasted here and the one that you posted on gis.stackexchange (json-to-features-not-working-while-performing-st-buffer) are not the same.
It looks like you've tried to run the JSON to Features tool using both the Enclosed and Unenclosed JSON options.  Try to stay away from the Enclosed option.
Can you add in the entire create statement for CREATE external table enodebuffer?  I want to verify that it was created using the Unenclosed option as well.

Thank you for your valuable input. I took into account all your suggestions but I am not able to get the desired result when I want to create a buffer for 1000's of points. 1) SO for the table, as you had suggested
create external table enodebuffer1 (EnodeBStatus string,shape binary) ROW FORMAT SERDE 'com.esri.hadoop.hive.serde.JsonSerde' STORED AS INPUTFORMAT 'com.esri.json.hadoop.UnenclosedJsonInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat';
2) Then I inserted the values in the table enodebuffer1 using the select query as below
Insert into table enodebuffer1 select enodeaggregate.EnodeBStatus,ST_Buffer(enodeaggregate.shape,1000)from enodeaggregate;
3) I got the result showing that the data has been loaded into the table succesfully, and am alos able to retrieve the values using select and limit query.

Now the main part is I want to able to see the above results in ArcMAP. So I used the esri github tools for hadoop COPY FROM HDFS and JSON TO FEATURES. Copy from HDFS was successful, no error. But json to features it shows the following error (I hope you can see the images)

So as few people had suggested I had tested it with 100 points and it worked fine. Possibly the error is it can't handle too many vertices?? But there has to be a solution coz we are planning to migrate terabytes of data into HDFS using the same way. Your help is highly appreciated

Thanks

How many rows are there?

there are 30230 rows

@azhigimont thoughts? it looks like it's trying to extract wkid and it isn't there.

Yes, because when I tried to do it with 100 rows, I was able to see the results  on ArcMAP but it showed me a warning message that spatial reference was missing and cannot be projected. That's the reason I tried using enclosed json option.


dereferencing ref of refs in the same path

I'm trying to dereference some schemas, but seems that it does not resolve the urls the way I need... I'm probably missing some option here.
I have all the schemas sitting on /schemas:
/schemas/a.json
/schemas/b.json
/schemas/c.json
So /schemas/a.json:
{
    "b": { "$ref": "b.json" }
}

dereferences well, but /schemas/b.json:
{
    "c": { "$ref": "c.json" }
}

is trying to find the schema under /schemas/b.json/:

GET http://localhost:8080/schemas/b.json/c.json/ 404 (Not Found)
Error downloading http://localhost:8080/schemas/b.json/c.json/

That's odd.  Can you post a sample of how you're calling JSON Schema $Ref Parser?  I suspect that it may be something wrong with the parameters or usage.

I'm just using it like this:
refParser.dereference('/schemas/a.json', (err, schema) => {
    if (err) {
        console.error(err)
    }
    else {
        console.log(schema)
    }
})

running in a web browser. I will do more testing tomorrow if you say it's supposed to work.

Yeah, that should totally work.  I do essentially that same thing all the time.  And I have plenty of tests that cover that use-case as well.  There's gotta be some difference we're missing here.
Can you try using the un-minified version of JSON Schema $Ref Parser and then stepping into the code to see what's going on?

I'm closing this since I had to move to something else. I was probably using it wrong...


Implement asynchronous request model in ModelManagerReceiver

Codecov Report
Attention: Patch coverage is 52.27273% with 21 lines in your changes are missing coverage. Please review.

Project coverage is 50.45%. Comparing base (775f9c5) to head (c7535ff).
Report is 1 commits behind head on main.

Files
Patch %
Lines

...ollaborative_learning/ModelManagerReceiverNode.cpp
31.57%
2 Missing and 11 partials :warning:

...pp/src/cpp/types/model/ModelStatisticsDataType.cpp
68.00%
7 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #113      +/-   ##
==========================================
+ Coverage   50.32%   50.45%   +0.12%
==========================================
  Files          63       64       +1
  Lines        2633     2989     +356
  Branches      968     1098     +130
==========================================
+ Hits         1325     1508     +183
- Misses        603      656      +53
- Partials      705      825     +120

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


fix: List.length_pos no @[simp]

in #4158 I was experimenting with a change to the simplifier that
affectes the order in which lemmas were tried, and of course it breaks
proofs all over the place whenever we have a non-confluent simp set.
Among the first breakages encountered, a large fraction was due to
simp rewriting with List.length_pos  : 0 < length l ↔ l ≠ [].
This does not strike me a as a good simp lemma: If l is a manifest
constructor, the simplifier will reduce length and solve it anyways,
and if it isn't then an inequality usually isn’t very simp friendly. It
is also highly non-confluent with any kind of length-lemma we might
have.
This therefore removes it from the standard simp set.

For the record, another argument why this might be an undesirable simp lemma is that due to Array.size being reducible, 0 < d.size for d : Array α simplifies to ¬d.data = [] with this lemma, which I found quite surprising when I first encountered it after leanprover-community/batteries#769 was merged.

Oh, that’s even worse thatn what I saw!
Also thanks for digging out this PR. So this is a recent change? Then I am more confident about proposing to undo it.
I wish we could just require the default simp set to be locally confluent, with a checker. It would give us more than gut feeling and anecdotal evidence when evaluating simp set changes!

Ok, and even mathlib builds. Should be straight forward then.


Updates robfig/cron to v3

I saw some discussions about this, but I think that its best to fix this library version and use standard cron syntax.

Coverage remained the same at 96.748% when pulling af5f11e5e0f983d41d58a56e81c98f3d81ba61cb on cron into 34d7e9b3b1509d267b862e3238dd9fa7e5be4581 on master.


auto-cf: support modpack zips using IMPLODE compression method

Resolves https://github.com/itzg/docker-minecraft-server/issues/2645
Observed with https://www.curseforge.com/minecraft/modpacks/age-of-engineering/files/2503175
Also

adds and uses by default the PlayerDB API for resolving whitelist and ops. Pulls in https://github.com/itzg/mc-image-helper/pull/393

Thanks, i updated the image but now it throws an timed out error to the api server:
[init] Running as uid=1000 gid=1000 with /data as 'drwxr-xr-x 5 1000 1000 4096 Feb  8 14:15 /data'                                                                                [mc-image-helper] 21:26:56.551 INFO  : Processing modpack 'Age of Engineering-1.1.2.zip' (age-of-engineering) @ 263897:2503175
[mc-image-helper] 21:27:26.673 WARN  : [2eb28e2b-1, L:/<here is some ip 1> - R:api.curseforge.com/<here is some ip 2>] The connection observed an error                                                                                io.netty.handler.timeout.ReadTimeoutException: null                                                                                [mc-image-helper] 21:27:26.674 WARN  : [b856eba3-1, L:/<here is some ip 1> - R:api.curseforge.com/<here is some ip 2>] The connection observed an error                                                                                io.netty.handler.timeout.ReadTimeoutException: null                                                                                [mc-image-helper] 21:27:26.679 ERROR : Operator called default onErrorDropped                                                                                io.netty.handler.timeout.ReadTimeoutException: null                                                                                [mc-image-helper] 21:27:26.684 ERROR : 'install-curseforge' command failed. Version is 1.37.11                                                                                io.netty.handler.timeout.ReadTimeoutException: null                                                                                [init] ERROR failed to auto-install CurseForge modpack
idk if this is just a some other server issue, but sadly it doesnt work again :)

I'm thinking CurseForge was having some problems on their end. I noticed a lot of the image variants failed to build with similar error messages.

Yeah i thought same thing, i will wait till tomorrow and see if anything will change.

This build seems to be running better now
https://github.com/itzg/docker-minecraft-server/actions/runs/7835950318

Ok, so i tried to remove docker image and run the server again and finally it works. Thank you so much for quick responses and very fast fix of the issue. I didn't expect this to be resolved so quickly, so thank you!

If I may ask, I can't set auto-pause, I found this thread  #1636 , but I don't know if I'm completely stupid, but I can't find how to fix it. I have the same problem as the guy who described it there but I really don't know where the problem is.

@NotJohnAfterall did you happen to manually change the server port in server.properties? I noticed in your original issue description you're using port 25665 rather than the default 25565. If that's the case then set this to match https://docker-minecraft-server.readthedocs.io/en/latest/configuration/server-properties/#server-port
In case this helps
https://raw.githubusercontent.com/itzg/docker-minecraft-server/master/notes/container-network-namespaces.drawio.png

I've changed the port in server server.properties to 25665 and changed in docker-compose.yml server ports to be 25665:25565 (before i had server.properties to 25665 and docker-compose.yml server ports to be 25665:25665) , based on the image you sent. And it still doesnt work. The reason why i change ports is that, i have multiple servers running (this is second one :) )

The reason why i change ports is that, i have multiple servers running (this is second one :) )

That's the point I'm making with the image. You don't need to change the ports except for the one value that is the host port in the mapping. Leave all the other ports at 25565.

Oh, i see. I did that and now it works. Thank you so much. Have a awesome day :)


Allow change of constant Gravity (9.81)

Operating system or device - Godot version:
Godot 2.1.3 Steam Stable
It came to my attention that get_weight() is using a constant 9.81 to calculate weight. I would suggest that we allow users to change the gravity constant from within the Project Settings -> Physics 2D (I assume this is also needed in 3D).
Hardcoded 9.81:
https://github.com/godotengine/godot/blob/master/scene/2d/physics_body_2d.cpp#L591

If this uses the total gravity instead could be more useful, otherwise one is forced to use a custom integrator or register all the time the areas a body enter and exit to get the "real" weight.


[WIP]: Upgrade to Swift 4.2

Goal of this PR is to be ready for Swift 4.2 by the time it is released.
I'll try to keep this branch (and with it the PR) updated along the betas.
If things stay the way they are now, this will be easy. The only changes currently necessary were to update the project file and scheme settings.

Correction: The test for Issue #113 is crashing because of an overflow. I changed the condition from self <= Double(Int.max) to self < Double(Int.max) to fix this.

@davedelong With Xcode 10 (and Swift 4.2) now being released as GM, this PR is ready. Just ran the tests again against the simulator and the mac and it looks all good.


Confusion about nested classes

The documentation states

nested objects are converted to Kotlin nested classes (or Java static nested classes)

But it also states

For example, if a properties entry consists of a $ref pointing to a schema that is in the list of files to be generated, then a reference to an object of that type will be generated (instead of a nested class).

Now I have two files:
{
    "$schema": "http://json-schema.org/draft-04/schema",
    "additionalProperties": false,
    "definitions": {
        "typeA": {
            "type": "object",
            "properties": {
                "altitude": {
                    "type": "number"
                }
            }
        }
    },
    "$ref": "#/definitions/typeA"
}

and a second file
{
    "$schema": "http://json-schema.org/draft-04/schema",
    "type": "object",
    "properties": {
        "test": {
            "$ref": "rth.schema.json#/definitions/typeA"
        }
    },
    "additionalProperties": false
}

What is the supposed output of this? As quote one would suggest a nested class but quote two would suggest that the second file just uses a reference to the class from file one.
It results for me in this. So the class is created twice (with different name, one based on the property and one based on the filename).
data class TestSchema(
    val test: Test? = null
)  {

    data class Test(
        val altitude: BigDecimal? = null
    )

}

data class Rth(
    val altitude: BigDecimal? = null
)

I have had problems like this caused by the ordering of files specified to the Code Generator, and without seeing how you have configured the process it's not clear whether this is the same issue.
If you are using the Gradle plugin, version 0.72.1 should fix the problem; otherwise you can try specifying the files in the reverse order (so that it recognises the $ref as referring to a schema it knows about).


[UI] Update style of cursor

Current Behavior

Currently, when a user hovers over the i button on the widgets in dashboard, there is a tooltip that shows more info but doesn't update the cursor to pointer.
https://github.com/meshery/meshery/assets/73700530/10dc7c47-36a1-4966-8abb-50e6a143382d
Desired Behavior

Ensure the styling of cursor is updated so that user understands the the i button is clickable.
Screenshots/Logs

Environment

Browser: Chrome Safari Firefox
Host OS: Mac Linux Windows
Meshery Server Version: stable-v
Meshery Client Version: stable-v
Platform: Docker Kubernetes

Contributor Guides and Handbook

🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🖥 Contributing to Meshery UI
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Hello, can you please assign this to me

Please assign this task to me, as my approach would be to update the cursor property defined as the hover effect in the Dashboard.

Heyo I like to work on this issue. Kindly assign issue to me.

@OmAximani0  here you go ..

heyo could you tell how to run this locally because i cant find steps to run it.
Thx

heyo could you tell how to run this locally because i cant find steps to run it. Thx

@Paras-245 https://docs.meshery.io/project/contributing

heyo could you tell how to run this locally because i cant find steps to run it.
Thx

Check out this link


increase host selection retry max attempts

Currently host selection retry max attempts for envoy.retry_host_predicates.previous_hosts is set to 3. Some times this is not sufficient especially if the number of retries are increased to some higher number from default 2.  Ideally we should allow users to configure this via API if possible.
However since this computation is just in-memory in Envoy, it does not really harm to increase it. This PR increases it to 5.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: ramaraochavali
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: rshriram
If they are not already assigned, you can assign the PR to them by writing /assign @rshriram in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/pkg/networking/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @ramaraochavali. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/ok-to-test
rebase will fix tests

@ramaraochavali: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
3cab4a2e582a51e47057172099eab93127b77dc4
link
/test e2e-simpleTests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ramaraochavali: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
1ed33ae4951378e62fda7b25999233369095166f
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ramaraochavali, rshriram
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/pkg/networking/OWNERS [rshriram]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ramaraochavali: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
1ed33ae4951378e62fda7b25999233369095166f
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Correction for raw affiliation Laboratoire de Physique de la Matière Condensée - UR UPJV 2081; Southern Federal University [Rostov-on-Don]

Correction needed for raw affiliation Laboratoire de Physique de la Matière Condensée - UR UPJV 2081; Southern Federal University [Rostov-on-Don]
raw_affiliation_name: Laboratoire de Physique de la Matière Condensée - UR UPJV 2081; Southern Federal University [Rostov-on-Don]
new_rors: 01tv9ph92;01gyxrk03
previous_rors: 01tv9ph92;04zaaa143
works_examples: W2789782450
contact: 55977a9c97bcac1da01a26f04451d12a:8def1d3e53445002a08b5da69e22a2bd @ u-picardie.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


fix make geth-up

Ethereum does not support the miner.threads flag anymore, after switching to POS. Running the command as is leads to the following error:
flag provided but not defined: -miner.threads
make: *** [geth-up] Error 1

https://github.com/ethereum/go-ethereum/pull/27178

This is cool. I have not run Ethereum in a while.


preparations for crowbar on sle12

https://trello.com/c/xXhjGZzs/859-3-sle12-prepare-mkcloud-to-start-sle12-for-admin-server

how about taking the chance of doign the proper way of using kpartx -av to read the partition table and then mount partition 1?

https://github.com/SUSE-Cloud/automation/pull/436

Would it make sense to document that this is a temporary option (as this will be always SLE12 in the future)?

imho not documenting it is fine until we have switched to SLE12 (which hopefully happens soon..)
+1

:+1:


ImportError: cannot import name 'UniformGrid' from 'pyvista' (/projectnb/mylabscc/yzw0093/.conda/envs/SCS/lib/python3.9/site-packages/pyvista/init.py)

Hi
I tried the tutorial and stopped at the very early beginning.
I tried the "python patch_cut.py and got this error. "
ImportError: cannot import name 'UniformGrid' from 'pyvista' (/projectnb/mylabscc/yzw0093/.conda/envs/SCS/lib/python3.9/site-packages/pyvista/init.py)
Does anyone have a similar issue or have any idea how to solve?

pip install pyvista==0.42.3


Add fusionrc option to override main entry point

This will allow implementers to use a custom entry point. This opens up the ability to use FusionJS with Typescript or any other language that has babel support. I wanted to get some early feedback before I

[ ] Add documentation
[ ] Write tests

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


Fixed #27356 -- Fix lookups for a nested reverse OneToOneField and Fo…

…reignKey.
I used the tests from #7406. Thanks to @felixxm and @tobiasmcnulty

I made the changes

I made all of the changes.

I completed all of the changes.


Image normalization

Hi,
thank you very much for publishing such a wonderful work, it is a great help!
I have a question regarding data normalization.
I'd like to use your code for my data and a bit confused about how to normalize my images.
I saw your code preprocess_data.py and it seems that the following lines should normalize the image to be [0,1]:
image_data = np.clip(image_data, a_min, a_max)
image_data = (image_data - a_min) / (a_max - a_min)
But I can see that your input images have negative values, and above 1 as well.
Or should I maybe use the original SAM normalization values: (when the images is [0,255] copying the channel 3 times)
pixel_mean: List[float] = [123.675, 116.28, 103.53],
pixel_std: List[float] = [58.395, 57.12, 57.375],
Thank you very much!

You can use the original SAM normalization values, but we did not use it in our implementation.

Thank you for your answer.
If I understand correctly, I can use the original values if starting from SAM's original checkpoint (sam_vit_b_01ec64.pth).
But if I would like to start from your checkpoint (which is of course much better on medical images), how should I normalize my images?
I looked at your preprocessing section, but wasn't quite able to understand. It seems that you normalize to [0,1], but when looking at your batches loaded from *npz files, they have different values, around ~[-1,2].
Thank you for your help!


Checking only stdout is fallible

Say I have a program that writes its output to stderr, and I use it in a pipeline like
cat whatever.txt | myprogram | grep 'foo'

Then terminal_size will return None because stdout is not a tty, even though stderr is, and I can't use it to format the program's output.
I can think of a few solutions:

check stderr instead of stdout by default (this seems reasonable since human-oriented output is the main use case for getting the terminal size)
add another function that checks stderr
whatever the cross-platform equivalent is of opening /dev/tty (is there one?)

Here is the thread that prompted me to open this. Thanks for your work on this crate!

Ah, I see there are platform-specific functions that take a file descriptor or handle. But checking stderr is a portable strategy, so I think it'd be worth adding a function that does that.

I think you're right, there's a good argument to be made for a portable function that'll check stderr


Unity Editor freezes or the video never finishes recording after the first run

The issue happens on 0.0.18-alpha.8 . Steps to reproduce the issue:

Play the Unity Editor for the first time
Start a recording
Stop the recording
View the recorded video
Stop the Unity Editor
Play the Unity Editor (2nd time)
Start a recording
Stop recording
Unity Editor freezes or No Recorded video from VideoKit.

The editor logs for Unity freezing & not finishing recording cases are attached.
Unity_Editor_Freezes.log
VideoKit_Never_Finishes_Recording.log

The issue still happen on 0.0.18-alpha.12 . The Unity Editor keeps freezing after the first run in our project. Attached are the logs.
Editor.log

Still happens on 0.0.18-alpha.13 . The Unity Editor keeps freezing after the first run in our project. Attached are the logs.
Editor.log

This issue is not exclusive to Windows. It happens on MacOS as well.

@degerhandeger I can't reproduce this on macOS.

Can you share your recorder settings? I want to first reproduce and fix it on macOS before doing the same on Windows.

Also cannot reproduce this on Windows with the latest alpha build, alpha 15.

The Editor continues to freeze on alpha.15 for us. I reproduced the issue by doing the steps mentioned above. Attached are the Editor logs & recorder settings. Also, I don't know whether this would be useful but, removing the Audio mode gave a different error, the Editor did not freeze when it ran for the second time. I also attached this error's screenshot.
Editor.log

Fixed in VideoKit 0.0.18-alpha.18


[SPIKE] As an EVCM, I want a good experience using the app on mobile and tablet, so that I can consult information without a dedicated desktop machine

Description
We should do a mobile audit to ensure our designs look good on mobile and tablet devices, as many users may not have access to desktop machines with larger screens.
Solution

Run through app use cases on mobile and tablet devices alongside Design, note any visual issues
Run through front end code and determine what should change (eg use of pixels)
Discuss larger changes with Design if necessary

Describe alternatives you've considered

Not having support for mobile is not an option

Links to user research or other resources

According to analytics.gov the majority of users of government websites are on mobile

Tasks

[ ] Design - create mobile designs for 480px and above, and below 480px, with the caveat to see if there are special cases for certain components required for 320px (i.e. if map needs special consideration for 320px)
[ ] Perform manual audit on real devices of mobile-readiness against our full website feature set, document any issues on mobile devices, paying special attention to 320px configuration
[ ] Dev implement mobile designs using updated breakpoint values and audit results (subtask tracked in https://app.zenhub.com/workspaces/justice40-60993f6e05473d0010ec44e3/issues/usds/justice40-tool/575)
[ ] Perform dev audit of front end code and determine what needs to change (should be part of 575)
[ ] Come up with a plan to address highest priority issues, determine which are for launch (breakpoint configurations have been simplified)

Definition of "Done"

[ ] We have documented all issues for our site on mobile devices
[ ] We have dev focused cards on improvements we need to make to front end code

Jane posted a version of mobile designs but there are still changes proposed from usability testing and technical feasibility changes (i.e. side panel next to map for score) that need to be incorporated into mobile designs. We should make sure mobile designs are ready for Thursday for Sprint 4.

See mobile designs under Sprint 4

Adding requirement

look into map and sidepanel taking up full width
also investigate new breakpoint for when the side panel should pop below map

these are th default breakpoints with USWDS:

Convo 8/31:

We will use USWDS default breakpoints
We will only support first two breakpoints (480 and 640)
Katherine is doing an audit today on whether our current site has a decent experience for those two breakpoints
Katherine will make new discrete bug tickets for each problem identified during the audit and we will triage those as usual for bug tickets (review, prioritize for this or next sprint depending on P1/P2/etc)
In a future sprint we will do a full mobile audit for all breakpoints. This will result in either more design work showing new designs for different breakpoints and/or new bug tickets to fix breakpoint issues


Event date not consistent

The event date is not consistent. I guess, this has to do with German summer and winter time.
Example event: https://zen.coderdojo.com/dashboard/dojo/0be123e7-c9be-4002-a3cf-f0c8550f749a/event-form/32ef9311-a95d-4619-989c-0ed62d366563

from https://zen.coderdojo.com/dashboard/dojos/events/user-events
Dojo URL: https://zen.coderdojo.com/dojo/de/brandenburg/potsdam/potsdam-hpi
See also #1083

Interesting.
Thanks, we'll have a look, it may be a scenario that we forgot.

Sorry @niccokunzmann the bot closed the issue :)
Can you confirm it's solved?


cdef: refactor max element search into helper function with tests

Coverage increased (+0.8%) to 81.891% when pulling a39d27af342179b6adec7636ead4bf8874c03eff on test/cdef_max_element into 27427d0cff06d95ebe3c5f376107cb366c3a9dba on master.


IUPAC names always in lowercase

The IUPAC name field should always be in lowercase.

Please make sure to mention the issue # in the commit.


plugin: crash on darwin/amd64

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version devel +e017802 Sun Nov 6 20:11:48 2016 +0000 darwin/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/mateusz.gajewski/Desktop/Projects/"
GORACE=""
GOROOT="/usr/local/Cellar/go/HEAD-e017802/libexec"
GOTOOLDIR="/usr/local/Cellar/go/HEAD-e017802/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/43/1y0rrqr55zq3f8cj5wpkt1kmhc7r33/T/go-build192530039=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"

What did you do?
plugin.go:
package main
import "net/http"

func X() *http.Header {
	return &http.Header{}
}

host.go:
package main

import "plugin"

func main() {
	plugin.Open("main.so")
}

What did you expect to see?
plugin loaded without error
What did you see instead?
unexpected fault address 0xb01dfacedebac1e
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x1 addr=0xb01dfacedebac1e pc=0x505ee0c]

goroutine 1 [running]:
runtime.throw(0x406d4dc, 0x5)
	/usr/local/Cellar/go/HEAD-e017802/libexec/src/runtime/panic.go:596 +0x95 fp=0xc42004fa50 sp=0xc42004fa30
runtime.sigpanic()
	/usr/local/Cellar/go/HEAD-e017802/libexec/src/runtime/signal_unix.go:276 +0x28c fp=0xc42004faa0 sp=0xc42004fa50
panic: runtime error: slice bounds out of range
fatal error: panic on system stack
panic during panic

runtime stack:
panic(0x4060c20, 0x40a2de0)
	/usr/local/Cellar/go/HEAD-e017802/libexec/src/runtime/panic.go:420 +0x7d6

goroutine 1 [running]:
runtime.systemstack_switch()
	/usr/local/Cellar/go/HEAD-e017802/libexec/src/runtime/asm_amd64.s:268 fp=0xc42004f9f0 sp=0xc42004f9e8
runtime.dopanic(0x0)
	/usr/local/Cellar/go/HEAD-e017802/libexec/src/runtime/panic.go:579 +0x58 fp=0xc42004fa30 sp=0xc42004f9f0
runtime.throw(0x406d4dc, 0x5)
	/usr/local/Cellar/go/HEAD-e017802/libexec/src/runtime/panic.go:596 +0x95 fp=0xc42004fa50 sp=0xc42004fa30
runtime.sigpanic()
	/usr/local/Cellar/go/HEAD-e017802/libexec/src/runtime/signal_unix.go:276 +0x28c fp=0xc42004faa0 sp=0xc42004fa50
panic: runtime error: slice bounds out of range
fatal error: panic on system stack
stack trace unavailable
exit status 4

Another funny use-case (plugin.go):
package main

import "strings"

var headerNewlineToSpace = strings.NewReplacer("\n", " ", "\r", " ")

func X() int {
	return 1337
}

crashes with:
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0xb01dfacedebac1e pc=0x58386a9]

runtime stack:
invalid spdelta
!<S
 0x404aa70 0x58386a9 0x1f823 -1
runtime.throw(0x4071698, 0x2a)
	/usr/local/Cellar/go/HEAD-e017802/libexec/src/runtime/panic.go:596 +0x95
runtime.sigpanic()
	/usr/local/Cellar/go/HEAD-e017802/libexec/src/runtime/signal_unix.go:253 +0x2db
invalid spdelta
!<S
 0x404aa70 0x58386a9 0x1f823 -1

!<S
()
	?:0 +0x17edc39

goroutine 1 [copystack]:
invalid spdelta sync.runtime_doSpin 0x403b5c0 0x580b3b2 0x18ab6 -1
sync.runtime_doSpin(0x413396000, 0x1100, 0x0, 0x0, 0x0, 0x0, 0x1)
	?:0 +0x17cfdf2 fp=0xc42004e367 sp=0xc42004e360

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
	/usr/local/Cellar/go/HEAD-e017802/libexec/src/runtime/asm_amd64.s:2184 +0x1
exit status 2

And another:
plugin.go:
package main

import "strings"

var TestVariable = strings.ToUpper("HELLO")

crashes with:
unexpected fault address 0xb01dfacedebac1e
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x1 addr=0xb01dfacedebac1e pc=0x584e2fb]

goroutine 1 [running]:
runtime.throw(0x406d4dc, 0x5)
	/usr/local/Cellar/go/HEAD-e017802/libexec/src/runtime/panic.go:596 +0x95 fp=0xc42004fbb8 sp=0xc42004fb98
runtime.sigpanic()
	/usr/local/Cellar/go/HEAD-e017802/libexec/src/runtime/signal_unix.go:276 +0x28c fp=0xc42004fc08 sp=0xc42004fbb8
strings.Map(0x5846e80, 0x586a736, 0x5, 0x1, 0xc42004fce8)
	/usr/local/Cellar/go/HEAD-e017802/libexec/src/strings/strings.go:393 +0x9b fp=0xc42004fc90 sp=0xc42004fc08
strings.ToUpper(0x586a736, 0x5, 0x0, 0x0)
	/usr/local/Cellar/go/HEAD-e017802/libexec/src/strings/strings.go:447 +0x41 fp=0xc42004fcc8 sp=0xc42004fc90
invalid spdelta type..eq.runtime.uncommontype 0x404fb60 0x584e7fc 0x2541c -1
type..eq.runtime.uncommontype(0x500, 0x0, 0x0, 0xc42004ff0800, 0x4052b6100, 0x450000000, 0x450000000, 0xc42007c00000, 0x584e79000, 0x500, ...)
	?:0 +0x17fec9c fp=0xc42004fccf sp=0xc42004fcc8

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
	/usr/local/Cellar/go/HEAD-e017802/libexec/src/runtime/asm_amd64.s:2184 +0x1
exit status 2

Probably reason why first case (with import net/http.Header) crashes is exactly the same as 2nd and 3rd cases.

Does import "C" in the plugin resolve this?

I can reproduce this now on darwin/amd64. The plugin:
package main

// // nothing
import "C"

func F(f func()) {
	f()
}

func g() {}

func init() {
	F(g)
}

Will crash on plugin.Open:
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x1 addr=0xb01dfacedebac1e pc=0x5048857]

goroutine 1 [running]:
runtime.throw(0x40cfed4, 0x5)
	/Users/crawshaw/go/src/runtime/panic.go:596 +0x95 fp=0xc42004fc50 sp=0xc42004fc30
runtime.sigpanic()
	/Users/crawshaw/go/src/runtime/signal_unix.go:276 +0x28c fp=0xc42004fca0 sp=0xc42004fc50
plugin/unnamed-06967b3c2cb9b2f422ec9fbcdcc9240020630896.F(0x5048870)
	/Users/crawshaw/plugin.go:7 +0x17 fp=0xc42004fca8 sp=0xc42004fca0
plugin/unnamed-06967b3c2cb9b2f422ec9fbcdcc9240020630896.init.1()
	/Users/crawshaw/plugin.go:13 +0x2d fp=0xc42004fcc0 sp=0xc42004fca8
plugin/unnamed-06967b3c2cb9b2f422ec9fbcdcc9240020630896.init()
	command-line-arguments/_obj/_cgo_import.go:4 +0x3d fp=0xc42004fcc8 sp=0xc42004fcc0
plugin.open(0x40d053c, 0x9, 0x0, 0x0, 0x0)
	/Users/crawshaw/go/src/plugin/plugin_dlopen.go:96 +0x933 fp=0xc42004ff08 sp=0xc42004fcc8
plugin.Open(0x40d053c, 0x9, 0x0, 0x0, 0x3)
	/Users/crawshaw/go/src/plugin/plugin.go:30 +0x35 fp=0xc42004ff40 sp=0xc42004ff08
main.main()
	/Users/crawshaw/host.go:9 +0x3a fp=0xc42004ff88 sp=0xc42004ff40
runtime.main()
	/Users/crawshaw/go/src/runtime/proc.go:185 +0x20a fp=0xc42004ffe0 sp=0xc42004ff88
runtime.goexit()
	/Users/crawshaw/go/src/runtime/asm_amd64.s:2184 +0x1 fp=0xc42004ffe8 sp=0xc42004ffe0

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
	/Users/crawshaw/go/src/runtime/asm_amd64.s:2184 +0x1
exit status 2

While off on other projects, it looks like I have forgotten a lot of how the darwin port works. Running otool -Sv plugin.so shows no dynamic relocations, so I don't understand how the plugin can hope to refer to the g funcsym via MOVQ xyz(IP):
plugin.go:13    0x4889d 488b0524cc0100          MOVQ 0x1cc24(IP), AX
plugin.go:13    0x488a4 48890424                MOVQ AX, 0(SP)
plugin.go:13    0x488a8 e893ffffff              CALL _plugin/unnamed-....F(SB)

I don't have many spare moments to work on this over the next month, so we may have to pull plugin support on OS X from 1.8.

OK, one more observation. While I cannot remember how that PC-relative MOVQ works, the same code works in -buildmode=c-shared on darwin, and generates:
libgo.go:21     0x4f62a 488d05f7e40100          LEAQ 0x1e4f7(IP), AX
libgo.go:21     0x4f631 48890424                MOVQ AX, 0(SP)
libgo.go:21     0x4f635 e886000000              CALL main.F(SB)

So this problem could be more straightforward than some dynamic relocation mess.

OK, not luck. This snippet is being mis-handled on darwin:
	0x001d 00029 (plugin.go:10)	MOVQ	"".g·f@GOT(SB), AX
	0x0024 00036 (plugin.go:10)	MOVQ	AX, (SP)
	0x0028 00040 (plugin.go:10)	PCDATA	$0, $0

Unfortunately -dynlink on darwin is new for the plugin mode, so it could be anything. I'll try to find some more time for this next weekend. If I don't come up with anything, I'll pull plugin support on darwin.

Sad to hear that @crawshaw

cc @minux @mwhudson who might be able to guess at the problem.

The generated code looks fine, but definitely depends on the dynamic linker creating and filling out a GOT at 0x1cc24(%rip). IIRC, on ELF the external linker does that for you when it sees a R_X86_64_GOTPCREL relocation, maybe you need to do something else for macho? I don't know much of anything about how macho works though.

@mwhudson thanks, for some reason I had just been assuming the GOT was fine. Looks like it wasn't, we were relocating to the outer "go.func.*" symbol in the GOT instead of the specific funcsym.
CL 33211 fixes that problem, and might fix this entire issue. But I'll keep it open for now just in case.

Closing with the hope that CL 33211 takes care of it. If it doesn't, please reopen this.


Create Letters “the-kid-within”

Automatically generated by Netlify CMS

👷 Deploy Preview for effortless-brioche-210b80 processing.

Name
Link

🔨 Latest commit
ddb2aa52afae2986d9490c9547532a35d14fee8b

🔍 Latest deploy log
https://app.netlify.com/sites/effortless-brioche-210b80/deploys/63e7f117d8939400072492cb


ISS-146 compiling util-linux failed with variable has incomplete type on union variable

compiling util-linux failed with variable has incomplete type on union variable
sys-utils/ipcrm.c:79:   union semun arg;
^ parse.c: in declaration : variable has incomplete type

Tested also with gcc and it's the same behaviour. The difference here is that ./configure with gcc detects that semun is not managed :
| /* end confdefs.h.  */
|
| #include <sys/sem.h>
|
|
| int
| main (void)
| {
| if (sizeof (union semun))
| 	 return 0;
|   ;
|   return 0;
| }
configure:28441: result: no
and when executing configure with chibicc the result is yes :
| /* end confdefs.h.  */
|
| #include <sys/sem.h>
|
|
| int
| main (void)
| {
| if (sizeof ((union semun)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:28441: result: yes

solving for now this issue on the project config.status file removing the HAVE_SEMUN variable.

it will be fixed in <IP_ADDRESS>.


redirectTo

Hi,
My controller do not reload when I do
$scope.state.go('xxxxxx', {}, { reload: true });
and when I remove the permission (added below) it works and the controller reloads
permissions: {
only: ['Supervisor'],
redirectTo: 'error'
}

I tried using this $state.reload($state.current.name) but it's not working.

I have the following
angular: v1.3.15
angular-ui: v0.2.13
angular-permission: v1.2.0
On Mon, Aug 29, 2016 at 12:56 PM, Błażej Krysiak<EMAIL_ADDRESS>wrote:

What version of components angular, angular-ui and angular-permission are
you using ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Narzerus/angular-permission/issues/321#issuecomment-243083129,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APziJmRFsbRLlDrveYUJEIVRDFrT7Yd0ks5qkqy7gaJpZM4JtWxU
.


Give test count as output not check count

With the current setup, after running suricata-verify, the output would
give stats about the passed, failed or skipped checks. However, it is
cleaner to get the total stats about tests only.
The priority order for the output is:
FAILED
SKIPPED
PASSED
i.e. if a check or sub-test has failed, the entire test will be counted
as failed in the final output. Similarly, if a check has been skipped,
the entire test will be counted as skipped in the final output.
Closes redmine ticket: https://redmine.openinfosecfoundation.org/issues/3172

Thanks Shivani, it looks good.
I just have some code style questions...


Meetings > Live events settings screenshots not valid as menu item does not exist

"Meetings > Live events settings" screenshots and description are not valid as menu item does not exist

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

ID: 4b358007-ded1-e7e2-01ff-e646a0d8f9b6
Version Independent ID: ef681dd5-896c-1b48-7009-63cf5847f126
Content: Configure live event settings in Microsoft Teams
Content Source: Teams/teams-live-events/configure-teams-live-events.md
Service: msteams
GitHub Login: @tonysmith
Microsoft Alias: tonysmit

@officedocsbot assign @scanum

Hi @martinagrom
Thanks for reaching out! Please refer to the below link. It describes "Who can create live events".
https://support.office.com/article/get-started-with-microsoft-teams-live-events-d077fec2-a058-483e-9ab5-1494afda578a
Hope this information is helpful. Kindly confirm. Thank you for your patience.

@martinagrom  Thank you for submitting this feedback.
From our understanding the issue has been resolved. If you feel it hasn't been resolved please re-open this issue.

@officedocsbot close


Use Ground Truth for authentication

Switches to using HackGT Ground Truth for authentication and removes all auth related code from the codebase.
Ground Truth is implemented as the only login strategy which could make initial setup of registration for organizations that don't already host a Ground Truth instance slightly more complicated. Two possible mitigations:

Users can use the 2.x.x branch of registration
Ground Truth supports applications hosted on any domain for any organization. HackGT admins can authorize applications for other organizations if they are ok having their users authenticate via the HackGT Ground Truth instance.

Fixes #252
Fixes #254
Fixes #262

@joel99 would like to get a second set of eyes since it's so critical


Merge Android port branch into master

PR for merging android port into master. It's pretty clean as most of the meat is in the toolchain file and few bugs I found here and there. The README in ./android covers the building process.
@rpavlik, one thing that needs to be addressed is reverting back from cross compilation when building the devtools osvr_json_to_c binary. My hacky solution was to create the devtool in a separate native build, then  pull it in during cross compilation. I wanted to consult with you first on the best way to do this. Some research so far that may be helpful:
http://www.vtk.org/Wiki/CMake_Cross_Compiling#Using_executables_in_the_build_created_during_the_build

OK, so at this point I think we'll probably just piecemeal cherry-pick/rewrite bits of this as it goes over, since that will be both easier and cleaner than a direct merge. Will try to split up things you found/learned into discrete issues.

OK, the only thing we haven't merged yet (or subsumed into https://github.com/OSVR/OSVR-Android-Build ) is the readme file you added, so I've filed an issue about it there https://github.com/OSVR/OSVR-Android-Build/issues/4 with a copy of the file in a gist, so I can close out this old PR. Thanks!


Bug in eval.py

Is this line a bug? why is there a data type in function defination?
https://github.com/dbolya/yolact/blob/dev/eval.py#L244

Those are Python3 type annotations (https://docs.python.org/3/library/typing.html) introduced in python 3.5.
I use them time to time to tell my IDE what types things are for auto-completion. See this comment:
https://github.com/dbolya/yolact/blob/dev/eval.py#L441


Python assignment 2: Efficacy Analysis of a hypothetical arthritis drug

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Adding code to read files, summarize data and check for errors
What did you learn from the changes you have made?
Mostly how to read the files, I think I need more lessons to understand the numpy library and object oriented programming
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
No, just had to run the code a few times to understand what was happening
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
Very new content, lots of syntax to get used to for data analysis with python
How were these changes tested?
A reference to a related issue in your repository (if applicable)
Took a few tries, but ran the code to get the right output
Checklist

[ ] I can confirm that my changes are working as intended

Assignment marked.


Add persistance for metrics and dashboards

Done in https://github.com/Gravitate-Health/Monitor/commit/3f7095c0cc04b75cfa2dbc85d282e4b9b407ec29


Discord buttons

Is your feature request related to a problem? Please describe.
Frustrated that we keep using carlbot for reaction roles and links etc
Describe the solution you'd like
Using the discords buttons to well allow multiple things such as external URL sending reaction roles and more

Describe alternatives you've considered
NIL
Additional context
NIL

Placing this here so we can close it when this is added

I would like to work on this please.

I would like to work on this please.

Do you even how to use these?

I understand what it does. It basically is an embed that has pages you can cycle through. I am looking at a tutorial at how to do it.

what do you mean? im saying that like the buttons are on the embed and can link lets say like instead of one big embed that goes all the way down, you have pages you can cycle through to read the actual embed. meaning that you create the embed and you put in the buttons to cycle through

what do you mean? im saying that like the buttons are on the embed and can link lets say like instead of one big embed that goes all the way down, you have pages you can cycle through to read the actual embed. meaning that you create the embed and you put in the buttons to cycle through

That is not the mainfocus of it and cyceling though isnt even the point

sorry about that then

stop all dat @S4ge-Rites can work on it first, if it come out work, it works

stop all dat @S4ge-Rites can work on it first, if it come out work, it works

We need finish the old projects though

update: able to do with sapphire framework

update: later


Scalarization of savings and income shocks

The function get_child_state_marginal_util_and_exp_max_values now works for single savings and income shocks instead of arrays exogenous_savings_grid and income_shock_draws.

Before we introduce jax vmap, we want to the user supplied functions to work on dictionaries instead of DataFrames. Also we want to have a check on the params DataFrame if it contains taste_shock_scale , interest_rate and discount_factor. These are all mandatory for now in the code.


Main

Why are these changes needed?
Added Google Gemini Safety Settings for uninterrupted assistant conversations
Related issue number
Closes#2409
Checks

[Yes] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[N/A] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[Yes] I've made sure all auto checks have passed.

you might want to double check the tests to see if they pass for this by creating a dev environment and running / writting them

@Josephrp Okay! I tried running it E2E - works fine!
Here's the joke about NVDA and TESLA stock prices: What do NVDA and TESLA stock prices have in common?  They both go up and down like a rollercoaster!

@pratham-darooka The update looks good to me, but disabling all these moderations might be too risky for some use scenarios.
@ekzhu Any suggestions on how to configurate these settings? One naive approach is to add a parameter safety_setting_config into the llm_config_list in the client.py, but it would require some big updates and documentation. Any other suggestions?

@BeibinLi ,
I agree with your direction on passing safety_settings in llm_cofig (only if api_type is google). Next just as we extract api_key from kwargs, we can extract safty_settings  with default safety (medium and above) when that setting is not passed.

@BeibinLi @victordibia Make the parameters part of the config_list entry for api_type=google makes sense. It could be a list following the key safety_settings

@BeibinLi thanks for the insight! That does make sense.
I thought of using BLOCK_NONE because (like @victordibia said:) issue is that safety blocks are triggered whenever code is executed and become part of the conversation context.

Looks like this was addressed by #2429


Chore: add Accessibility subcategory and resources to Frontend

Closes #794
Changes proposed

Added accessibility.json to frontend folder
Added resources to the accessibility.json
Added  { name: 'accessibility', url: '/accessibility' } to database/data.ts
Added export { default as accessibility } from './frontend/accessibility.json' to database/index.ts

Screenshots

Note to reviewers
Hope everything checks out, thanks.

Hi @ha-anna! :) I pointed out a proofreading error in my inline comment. In the future, consider running your descriptions through Grammarly or Spellcheck before making a pull request. Other than that, you're off to a great start! :)

Oops, my bad! Thank you for fixing that, will make sure to not make the same mistake again. 🙆🏻♀

Your vercel deployment is getting failed because of the following errors, could you please resolve them?

Your vercel deployment is getting failed because of the following errors, could you please resolve them?

Sure, seems something went wrong after the changes were made, I'll look into it!

@rupali-codes Seems everything is working now!

@rupali-codes Seems everything is working now!

Thanks


Map logging refactor

Initial work to collect error and warning information via a message system rather than raising Exceptions.

Add messages to OreAggregation data model so that all messages will travel with a record after it is mapped. Additional code required to support this change in ModelConverter
Add cleaner reporting summary message (not fully utilized because of how message errors are dealt with)
In Mapper.map() messages of level "ERROR" will raise an Exception. This is the key bridge abstraction as we migrate from Exceptions to IngestMessages.

Those codacy complaints are illegitimate. :|


[SWOC'24] NASA News Integration Completed.

closes #100
Screenshot of the Terminal

Output Image By Jarvis

@subh05sus please review this pr and requested to merge this pr under SWOC'24

@subh05sus I have created this pr 3 days earlier but no action have done on it.
Please review this pr and requested to merge this pr under SWOC'24


Pw/activity and adventure

New stages added.
"Activity" - place where player makes choice what wants to go - temple/inn/smithy/go on adventure etc.
"Adventure" - appears when button "adventure" is clicked. Player can choose where he wants to fight. Examples of places added. When player makes a choice, he starts to fight.

yes, I haven't changed anything in fight module which has been already created by someone else. The thing i wanted to do was only add new stages between main menu and fight :)


Attempt at a method to kick an active client.

Counterpart to #747 , this is an attempt at exposing a method to kick an active client. This is for use with clients that are exhibiting unacceptable behavior such as spamming.
If there are other ideas for how to address this, please let me know.

Ah, it looks like #744 takes a shot at this as well. That may be a better implementation for the logging / etc.


fix: spell correction

Just cause i'm sometimes a bit fussy ;D
https://capitalizemytitle.com/successful-vs-successfull-what-is-the-right-spelling/

Thanks.


Remove Pachyderm storage driver.

closes https://github.com/docker/docker/issues/19228

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "patch-1" git@github.com:jdoliner/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

We no longer have a volume driver. This in response to #19228

@jdoliner would you mind signing your work please as described in https://github.com/docker/docker/pull/19234#issuecomment-170550642 ?

ping @jdoliner

Sry for the delay, just pushed.

LGTM 🐶


Add support to CloudWatch

Please add support to the CloudWatch APIs

Hi Marco, I don't have time to extend the library at the moment. You might want to have a look at how the other API clients in aws-lib are implemented and give it a try yourself.
Cheers,
Mirko


WebPage Viewer

[ ] Add menu screen to project
[x] Add webpage viewer to app
[ ] Display Hendrix Menu on Menu Screen

No screen created, but it should be on an InkWell at the bottom of the menu page


Electron 4 is having ~/.node-gyp cache collisions

When rebuilding a module for Electron 4, the compiles began to fail by saying that node_api.h was not found.
It appears that the ~/.node-gyp folder had a 4.0.0 subfolder for node v4. Electron v4 was colliding with that node-4 folder. The solution was to delete the ~/.node-gyp/4.0.0` folder and install again.
Any ideas on how to handle the collision?

Sorry @pfrazee for the lack of response here, I assume you've been able to move beyond this since December.
For anyone else searching for this, @MarshallOfSound do you have a suggestion about this? I assume it's not uncommon.

Our docs have a recommendation to override the HOME var to redirect that folder to ~/.electron-gyp --> https://electronjs.org/docs/tutorial/using-native-node-modules#manually-building-for-electron
If you use electron-rebuild it will set that for you 👍

HOME=~/.electron-gyp node-gyp is pretty nasty, perhaps we can fix that for you here and introduce an override argument or some way of detecting that it needs to go into ~/.electron-gyp? Surely there's something in process... that could be used to switch that?

Using a hash of the distUrl or using the ~/${runtime}-gyp value would probably work.  node-gyp when building for electron still runs in the users locally node so we have to figure out which dir to use based solely on arguments

Reopened to see if we can come up with a solid solution for this to prevent the need for hacks like HOME modification. (Prompted by #1807).

@rvagg How would you feel about changing devDir from node-gyp to node-gyp/${runtime}? Not sure if that's considered breaking as it'll just redownload the headers 🤔

Well we just broke it with node-gyp@5 by switching to env-paths to do native "caches" dir, so /Users/user/Library/Caches/node-gyp on macOS, /home/user/.cache/node-gyp on Linux. So I guess we're not above breaking it! Doing a node-gyp@6 isn't out of the question to make this happen and maybe sooner than later would be a good idea.

And, to make it less breaking, we could skip a runtime/ subdirectory if it === node, but I'm not even sure that's necessary. We've not had complaints yet about v5 breaking for anyone.

it seems like the prebuild team would like node-gyp to handle this

To clarify: I expressed that preference, I don't speak for other prebuild contributors.

This is happening now for electron 6 if you ever built something for node 6 also.
I pushed a workaround in my prebuildify module that looks like this if anyone is running into the same issues https://github.com/prebuild/prebuildify/commit/c5ab0eb20a0a3f4857ea712be1570d8c8ecdfc65

@rvagg helped multiple people this week with this since people are trying out electron 6, so would be great to fix this in node-gyp itself :)

Do we know if https://github.com/refack/GYP exhibits the same behavior?

@cclauss it shouldn't impact it, this logic comes from the JS side. We just need someone to work up a proposal. I'll try and get to it some time but would be appreciative if someone else had the time to throw together a basic proposal at least.

@nodejs/node-gyp Probably semver-major, but what if we cached based on the NODE_MODULE_VERSION instead of Node.js version? There should be no clashes for current releases based on https://github.com/nodejs/node/blob/master/doc/abi_version_registry.json (there may still be clashes for versions prior to the introduction of the ABI version registry).

@richardlau probably a good idea now that we've strongly pinned NODE_MODULE_VERSION to semver-major version; I don't think we really need to support < Node.js 10 at this stage so we might be safe now?
The only problem might be the --target flag, how do we manage the ability to compile against different versions? This is something that addon authors rely on to do pre-build binaries for different versions of Node.js.

--target is currently defined  as "Node.js version to build for (default is process.version)". That doesn't allow for Electron (putting the Electron version here is ambigious without some sort of qualifier) or any other runtime that ships a particular version of Node.js with an incompatible NODE_MODULE_VERSION.
We could:

add some sort of qualifier

either as the option argument, e.g. electron:6.0,0
or a new option, e.g. --target-runtime electron (default to node). (I'd prefer this to changing the format of the --target option)

make our users (or calling tooling) specify the NODE_MODULE_VERSION being targetted (not especially user friendly)

change the value of --target to be the target NODE_MODULE_VERSION
add a new option (--target-abi ?) to be the target NODE_MODULE_VERSION

Implementation wise we'd have to do a lookup in node-gyp based on https://github.com/nodejs/node/blob/master/doc/abi_version_registry.json -- maybe try to fetch the current version but ship a version in node-gyp as a backup for network restricted environments?

process.versions.modules is the ABI version fwiw.  There is also the node-abi package that can be used for determining the ABI version of node / electron

yeah, having a recent version of the registry is going to be the biggest problem, and we're going to need special rules for figuring out what to do with certain numbers:
    { "modules": 79, "runtime": "node",     "variant": "v8_7.8",               "versions": "13" },
    { "modules": 78, "runtime": "node",     "variant": "v8_7.7",               "versions": "13.0.0-pre" },
    { "modules": 77, "runtime": "node",     "variant": "v8_7.6",               "versions": "13.0.0-pre" },

We probably exclude *-pre versions, even though it'd be theoretically possible to find some headers that worked (index.json in nightlies could give us this).
I think I'm in favour of offloading some of the responsibility to users of --target, we could deprecate --target and introduce --target-abi because it's more technically correct for what they're after. Having a central registry makes it (a) easier for users to grok and use and (b) much simpler for us to figure out what they're after.
@MarshallOfSound neither process.versions.modules or the node-abi package is helpful here. We're shipping a tool that'll get bundled into npm and used for years in that single version without people updating it. We're still dealing with bug reports from versions 3.x and 4.x! So anything we do in this area needs to be at least a little future proof. "Sorry, I don't know what a modules version of 142 is, I only understand <= 80".


Replace the graphic on the Layers reference page

Background

The Layers reference page doesn't tell anything about the fact that layers are just folders. This updated graphic is meant to reflect the file-system nature of layers.
Changelog

Changed the graphic to the new one
Added a descriptive alt text to the graphic
Added styles to support themed images with #light-mode-only and #dark-mode-only URL modifiers

Before:

After:

@illright could u please merge master into current branch after recent changes? 🙏


No action option

Hi,
when I add the options via the commands, they are not taken into account. Is this normal?
I did / lp group peasant meta set griefprevention.create-claim-limit-basic 1
but when I test, I can still create multiple claims
And
I executed the command and I even restarted the server but the options do not apply

Provide gpdebug and lp verbose output.

Fixed in https://github.com/MinecraftPortCentral/GriefPrevention/commit/9477958766c20af9f8e1ed46401bf74778fdf229


Test: AppDomains and memory usage

Here I moved each test execution to separate app domain which is unloaded after with test assembly. So, test execution no more affect on each other if classes have static states.
Also I fixed work with string on writing output to file, so there is no more OutOfMemory exception even in translated tests on 32 bit.
Fixed some small EOL and added them to .gitattributes/.hgeol.
Unfortunately, with introducing app domains Simple test cases executes nearly twice as long then before.
Probably we could find some options to run most test cases in same domain, it should be able to change in just one line.

Travis really start working! Cool! Unfortunately for now we see false-broken message, as 10 test cases still not work correctly on Mono.

I really like your idea of result caching. In that case we probably will not need app domains at all (I believe it is not so critical to unload assembly :) ).
Pre-creating app-domain with multiple thread is also worth to try - but for now I'd like to return to my main task with moving to translated BCL.

So, with this fix I've seen all tests (except one broken) passed in VS Test launcher from first time in 32 bit configuration.

Don't worry about appdomains for now, but it's good to have the option. Result caching is probably what I'll go for. Does need a fallback to actually run the test any time a debugger is attached (for cases where you're trying to debug the C# test), but that's not too hard.

Per discussion in #794, moved all simple tests failing on mono to separate folder (SimpleTestCasesFailingOnMono) - so that they have separate category. All this tests are excluded from CI run.

@kg, will you merge it or do you want move out some parts of this PR (I can split parts if need)?
I've continued work on enabling test on CI, their compatibility and marking tests as FailsOnMono, so I'm not sure what commit select as base (as I move some tests to sub-folders I'd like to know it for minimal merge).

All tests (except translated bcl and ecmascripten) runs on Travis-CI. Tests that fails on Travis-CI marked with FailsOnMono/FailsOnMonoWhenStubbed category and are not executed.
Compatibility of some tests improved.
So here is some statistics:
Tests marked with FailsOnMono: 10*2 (Simple) + 6 (Other in subfolders) + 19 (Marked with attribute) = 45
Tests marked with FailsOnMonoWhenStubbed : 2
Total test passed on Travis-CI: 1226
Total test ignored on Travis-CI: 4

One of the recent changes (probably in this PR)? broke unit tests for me somehow. My first attempt to run tests hung forever, and now unit test discovery fails with some guid errors. It seems like maybe having the test adapter as an nunit package in the project is incompatible with installing the adapter into VS's extensions gallery. Personally I don't think it should be in the project's nunit packages, is there a reason why you put it in there?

NUnit VS Adapter <IP_ADDRESS> executing tests is started
Loading tests from C:\Users\Katelyn\Documents\Projects\JSIL\bin\SimpleTests.dll
Run started: C:\Users\Katelyn\Documents\Projects\JSIL\bin\SimpleTests.dll
// BclBootstrapStubbed.cs ...
generated

It hangs here every time. If I attach a debugger when running tests it seems to proceed without any issues. I'm not sure how to debug this :/

The problem appears to be that test runs can leak threadpool workers waiting on stdout/stderr. They never wake up because of how we've torn down the appdomain (and left js.exe alive?) so eventually the threadpool is full of dead threads. For some reason this makes ComparisonTest.Dispose hang with 0% CPU usage. Not sure about that one.

Have never seen both of this problems. Strange. Will try to install nunit test adapter from extensions gallery - probably it is key element here?
We could uninstall package with NUnit VS test adapter if you want or if we found that it brokes something - right now I installed so that everyone could run unit test without additional steps.

No matter what I do, AppDomain.Unload hangs indefinitely. :-(

Are you talking about AppDomain.Unload introduced in this PR (AppDomain that used for compiling and executing tests)?

Probably we lock Console in some multi-threading scenarios?

Do you have same problem when run from nunit gui/console test runner?

As far as I can tell though, this means we're disposing the appdomain while the test is still running? I can't figure out why that would be the case.

Can you try change lines that create AppDomain and test with using AppDomain.CurrentDomain instead?

I'm seeing some things to the effect that AppDomain.Unload is intrinsically unsafe in nunit but supposedly it was fixed? Maybe not in the version we're using...

Why I don't see this problems neither there is no problems on Travis-CI?
Can you try to uninstall VS plugin for nunit and check without it?
When do you see this problem? After each test or only after some specific?

I uninstalled the VS plugin already, this didn't work at all with it installed.
It looks like only the bcl bootstrap test run that happens in the fixture setup is the one that hangs. Maybe it's some sort of deadlock given the huge amount of stdout spew?

This only hangs if I click 'Run All' in the VS test runner, too. If I just pick a few tests from the stubbed bcl fixture and run those individually they work.

After the AppDomain.Unload hangs, ~20 pages of stdout spew from JSIL gets sprayed to the test output window. Is it something about how you deal with the output from that test compile, maybe?

Do you have same issue with Translated fixture setup?
Really there is no output to console in Bootstrap at all (in that app domain). Can you try add Console.WriteLine("a") to both bootstraps?

The console output is the error messages from compiling mscorlib, about untranslatable pointer expressions etc.

So it is output from translation. It happens in main app domain (but it still lock Console) Hmmm...

I'm disabling appdomains for now. It seems like this is probably due to how output redirection works in the VS test runner.

(Ugh, hit enter too early)
In the future if we want to turn AppDomains back on, this will fail in an understandable way because I put a timeout on the appdomain unload operation.

Ok, cool! The most strange here is that I also test it under VS Test Runner (same as Resharper test runner also).

Let's do UseAppDomains based on environment variable to not break CI?

Feel free to do that if you think it's a good idea. Why does CI need AppDomains?

One more question - which test case VS Test runner executes first on your machine? On my - it is SimpleTests from SimpleTestCasesForStubbedBcl. Probably that's why I don't see any problems (as fixture is executed before any other tests).

CI needs AppDomains as otherwise tests that modifies static field will not pass on second execution in same session (Simple or Stubbed).

Hm. I could split Simple and Stubbed tests in to different nunit test runners, so there will be no problems - it is another option.

For me I'm pretty sure the stubbed bcl simple test cases were always running first, and hanging in appdomain unload.

So no tests are passed at this case?
On Fri, Aug 14, 2015 at 2:48 AM, Katelyn Gadd<EMAIL_ADDRESS>wrote:

For me I'm pretty sure the stubbed bcl simple test cases were always
running first, and hanging in appdomain unload.
—
Reply to this email directly or view it on GitHub
https://github.com/sq/JSIL/pull/798#issuecomment-131052612.

Yeah, it was hanging on the first test run in the setup of the fixture.
FYI With appdomains disabled, everything is working except that translated BCL test setup is running out of memory again. I probably need to switch to the 64-bit test runner.

I've tested this today on another computer (VS 2013 Test runner) and still was unable to reproduce hang :(.
I've checked - really the only console output of stbbed bootstrap:
// SimpleTestCasesForStubbedBcl.SetupFixture() {
// BclBootstrapStubbed.cs ...
generated
// SimpleTestCasesForStubbedBcl.SetupFixture() }

So, it really small (it is not big output of translated tests bootstrap). I still have no idea what have happened.

Can we just ignore not-unloaded domain? Could you check what will happen if we just warn about it, but continue execution (will it block further domains from unloading)?

It doesn't produce output when it works correctly, only when it falls, which is mysterious
On August 14, 2015 10:29:36 PM PDT, Igor Kiselev<EMAIL_ADDRESS>wrote:

I've tested this today on another computer (VS 2013 Test runner) and
still was unable to reproduce hang :(.
I've checked - really the only console output of stbbed bootstrap:
// SimpleTestCasesForStubbedBcl.SetupFixture() {
// BclBootstrapStubbed.cs ...
generated
// SimpleTestCasesForStubbedBcl.SetupFixture() }

So, it really small (it is not big output of translated tests
bootstrap). I still have no idea what have happened.

Reply to this email directly or view it on GitHub:
https://github.com/sq/JSIL/pull/798#issuecomment-131300817

kg (mobile)

It is really interesting. Could you provide this output? Maybe it will give me some ideas?

How hard would it be to set things up such that SimpleTests / Stubbed BCL / Translated BCL each run in a single shared domain for all the tests? I'm not sure that's compatible with how things were set up, but that would avoid most of the domain setup/teardown issues, and fix the problems with those tests sharing statics between each other.

Should be not very hard - we just need path AppDomain to ComparisonTest constructor from outside, but it still may increase memory usage so that some tests will not work on x86.
Really solution with saving test output will be much more elegant and should not be much harder. I still keep it in mind, but right now have some tasks with higher priority.

I may do the saved output thing myself.


feat(ios): update privacy manifest to include NSPrivacyCollectedDataTypes

Platforms affected
ios
Motivation and Context

Include NSPrivacyCollectedDataTypes that the plugin uses
Description

Added NSPrivacyCollectedDataTypes

NSPrivacyCollectedDataTypeDeviceID for NSPrivacyCollectedDataTypePurposeAppFunctionality
NSPrivacyCollectedDataTypeOtherDataTypes for NSPrivacyCollectedDataTypePurposeAppFunctionality

Testing

n/a
Checklist

[ ] I've run the tests to see all new and existing tests pass
[ ] I added automated test coverage as appropriate for this change
[x] Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
[ ] If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
[ ] I've updated the documentation if necessary

I've since found a page that actually defines what apple means by collected data: https://developer.apple.com/app-store/app-privacy-details/#data-collection
It turns out that collected data means data moved off the device longer than necessary to process in real-time. E.g. if the data is stored for longer than it is required to fulfil an action. In otherwords if the data is kept on device, or if its sent to a server but the server doesn't retain that data, then it's not "collected".
It makes this PR invalid.


Try a different LAPACK implementation

Maybe our results do (slightly?) depend on the particular LAPACK implementation. We used OpenBLAS, the Julia default, for all experiments. Let's rerun them with MKL to be safe.

Done (except speed benchmarks). Results are the same.


Cursor, implement #17

I can't move the cursor with the arrow keys. I understand, that the right arrow key has a different action attached to it, but we might want to change the behaviour so, that it can control the cursor and only apply the "view children"-Action when the cursor is already on the end of the input - or use a different key for the action like 'tab'.

This is also the old behavior. I agree that we should change the keybindings but I think it's its own user story and does not belong to this issue. This was just making the old behavior visible via a cursor. How to you feel about opening up a seperate issue and suggesting it at the next client meeting, @sinnaj-r?

@robertkirsten and @phlprcks do you feel confident in implementing the other two changes @sinnaj-r requested?
Regarding number 2: Take a look at ALGCore>moveCursorToEnd. I implemented that method to always move the cursor to the correct position when typing. Now that the cursor is always visible, maybe we should call it earlier?

I can't move the cursor with the arrow keys. I understand, that the right arrow key has a different action attached to it, but we might want to change the behaviour so, that it can control the cursor and only apply the "view children"-Action when the cursor is already on the end of the input - or use a different key for the action like 'tab'.

This is also the old behavior. I agree that we should change the keybindings but I think it's its own user story and does not belong to this issue. This was just making the old behavior visible via a cursor. How to you feel about opening up a seperate issue and suggesting it at the next client meeting, @sinnaj-r?

That sounds reasonable. I see you've already created an issue. 👍

@robertkirsten do you need help implementing some of the requested changes?

I haven't tried yet, I will take a look at it this evening.

Agree with the previous points. I do not have any other remarks.

Ich muss gestehen, ich hatte für das Review vorhin auch nur die Tests und coverage laufen lassen, in den Code geguckt und geguckt ob Algernon im Prinzip noch läuft.
Aber was genau da jetzt neu ist und ich nun machen können sollte weiß ich nicht, weil aus der Doku des Issues nicht klar ist, was jetzt wie laufen soll für den User.
Aber afaik läuft es bei mir auch nicht

I don't want to be nitpicky but I noticed a few things while testing 😃 :
1. I can't move the cursor with the arrow keys. I understand, that the right arrow key has a different action attached to it, but we might want to change the behaviour so, that it can control the cursor and only apply the "view children"-Action when the cursor is already on the end of the input - or use a different key for the action like 'tab'.

2. When I view the children of an Item and then go back with the left arrow key, the cursor is shown on the left of the query, but when I start typing it will jump to the end of the query.

3. normalKeyStroke: is not tested

2: If you look closely the Cursor is also red in the beginning. The color as well as the position will be set once the first keyStroke is handled. As far as I understand it is problematic to do this beforehand because the initialization of Algernon needs to be finalized. Otherwise we would get errors thrown. Maybe we could catch the special case that there is already input and thus an Algernon instance in the mentioned case. I, however, was not able to determine such cases.
3: I wrote a test that checks the cursors color after a normalKeyStroke. The other Keystrokes are basically only handed to super. Does someone else have an idea on what tests to do there?

I don't want to be nitpicky but I noticed a few things while testing 😃 :
1. I can't move the cursor with the arrow keys. I understand, that the right arrow key has a different action attached to it, but we might want to change the behaviour so, that it can control the cursor and only apply the "view children"-Action when the cursor is already on the end of the input - or use a different key for the action like 'tab'.

2. When I view the children of an Item and then go back with the left arrow key, the cursor is shown on the left of the query, but when I start typing it will jump to the end of the query.

3. normalKeyStroke: is not tested

2: If you look closely the Cursor is also red in the beginning. The color as well as the position will be set once the first keyStroke is handled. As far as I understand it is problematic to do this beforehand because the initialization of Algernon needs to be finalized. Otherwise we would get errors thrown. Maybe we could catch the special case that there is already input and thus an Algernon instance in the mentioned case. I, however, was not able to determine such cases.
3: I wrote a test that checks the cursors color after a normalKeyStroke. The other Keystrokes are basically only handed to super. Does someone else have an idea on what tests to do there?

2: I could also reproduce the error with the cursor color.
At least for the wrong position I just made a fix-commit. Actually these are only two lines that manually reset the cursor to the end.
The color problem is not that critical, but you might be able to integrate it at the position of the fix.
3: I would add a check to test if the letter from the event actually appears in the text field (Meaning, if the "contents"-Attribute gets set). But otherwise it's good that the function is now tested at all.


Users must register with shop before purchase

I must say a big Thank you for having this open to the world...
I just want to know if you may add a feature that requires users to have an account with the shop before they can order.
Well done and God bless your work.

for the moment I will not add it as a function because there is no time but you can easily put a check in the Checkout Controller and if the user is not logged in (there is no session $ _SESSION ['logged_user']), you send it to the login page

@darknfaze007  The functionality of users registration is added. Now you can use it


Not zooming

Everything connected correctly and working without any errors. But, it is not zooming the image. I tried to pass 'thumb', 'normal_size' and 'large_size' - no result.

const images = {
    thumbs: [
      {
        id: 1,
        url:
          "https://cdn.pixabay.com/photo/2018/01/14/23/12/nature-3082832__340.jpg"
      },
      {
        id: 2,
        url:
          "https://cdn.pixabay.com/photo/2018/01/14/23/12/nature-3082832__340.jpg"
      },
      {
        id: 3,
        url:
          "https://cdn.pixabay.com/photo/2018/01/14/23/12/nature-3082832__340.jpg"
      }
    ],
    normal_size: [
      {
        id: 1,
        url:
          "https://cdn.pixabay.com/photo/2018/01/14/23/12/nature-3082832__340.jpg"
      },
      {
        id: 2,
        url:
          "https://cdn.pixabay.com/photo/2018/01/14/23/12/nature-3082832__340.jpg"
      },
      {
        id: 3,
        url:
          "https://cdn.pixabay.com/photo/2018/01/14/23/12/nature-3082832__340.jpg"
      }
    ],
    large_size: [
      {
        id: 1,
        url:
          "https://j.plenio.de/images/igallery/resized/401-500/jplenio_DSC02004-430-4000-4000-100.jpg"
      },
      {
        id: 2,
        url:
          "https://j.plenio.de/images/igallery/resized/401-500/jplenio_DSC02004-430-4000-4000-100.jpg"
      },
      {
        id: 3,
        url:
          "https://j.plenio.de/images/igallery/resized/401-500/jplenio_DSC02004-430-4000-4000-100.jpg"
      }
    ]
  };

     <product-zoomer :base-images="getZoomerImages"></product-zoomer>

should be some css issues, can you provider more code about when you using this component?

try new version