TPV GO:0006506  GPI anchor biosynthetic process should not be GO:0006661 (phosphatidylinositol biosynthetic process)

GO:0006506  GPI anchor biosynthetic process should not be GO:0006661 phosphatidylinositol biosynthetic process
phosphatidylinositol  forms part of the GPI anchor,  therefore phosphatidylinositol biosynthetic process
precedes GO:0006506  GPI anchor biosynthetic process
and GPI anchor biosynthetic process  is not part of GO:0006661 phosphatidylinositol biosynthetic process
(because it has other parts)

It looks like the problem is that the logical definition is
'biosynthetic process'
and ('has primary output' some glycosylphosphatidylinositol), ie CHEBI:24410
According to ChEBI this is correct:

Of couse, glyco-phosphoinositols are phosphoinositols.
But the phosphoinositol part already exists when the glyco part is formed.
It's a bit unsatisfactory that there is no grouping term for  inositol phosphate IP and  phosphatidyl inositol phosphate PIP etc
which are a much smaller class than the glyco part. We would be unlikely to see enrichment for  the PI/PIP/ etc pathways
i.e.

because of the   larger number of genes involved in building the GPI part of of a GPI anchor.
A GPI is a phospholipid, but really the glyco part is a modification to an existing phospholipid.
It is impossible  to access the list of  phospholipid synthesis pathways in GO without pulling in all of the 31 genes involved in the 'glyco- part

@pgaudet
So should I ask CHEBI to remove
glycosylphosphatidylinositol (CHEBI:24410) is a phosphatidylinositol (CHEBI:28874)
glycophosphatidylinositol includes a phosphatidylinositol core but has additional sugars and other molecules attached, so it isn't a phosphatidylinositol.

glycophosphatidylinositol includes a phosphatidylinositol core but has additional sugars and other molecules attached, so it isn't a phosphatidylinositol.

But the definition of phosphatidylinositol in ChBI is "Any glycerophosphoinositol having one phosphatidyl group esterified to one of the hydroxy groups of inositol." That definition appears to put no restriction on what else may be attached, so, unless I'm missing something (quite possible) glycophosphatidylinositol  fits the definition. Check with someone with a good knowledge of this chemistry?

@deustp01 Does this seems correct ?

For what it's worth, yes, but could we get some expert advice on from, say, Kristian Axelsen or Steven Marygold, who are better at biochemical nomenclatue and classification and who (at lesst Kristian) have adirect stake in the outcome?

@kaxelsen @sjm41 We'd like your inout on the suggestion above: https://github.com/geneontology/go-ontology/issues/27954#issuecomment-2437851113


Remove inactive portfolio - mhbaando.com

Issues
Closes #346

@Evavic44, I just found another one, 'Haythem Lazaar,' which is also inactive. Should I remove this one as well?

When we visit the mentioned link, it takes me to:

@PriyansuMaurya Yeah, go ahead.


Add --overWrite flag for overwriting broker/server alias

Proposed changes
This adds --overWrite flag for overwriting broker/server alias.
Types of changes
What types of changes does your code introduce to the project: Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Update only documentation, not any source code.

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of
them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before
merging your code.

[X] I have read the CONTRIBUTING doc
[ ] I have signed the CLA
[X] I have added tests that prove my fix is effective or that my feature works
[X] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
N/A

Coverage remained the same at 100.0% when pulling 2f85b39d3c4cbab7947d499507fb48d370319137 on fisuda:feature/overwrite_alias into 8ff6069756c0e7289cb6ac8999e180220b8fb13d on lets-fiware:main.


unclear errormessage importing AMEFF

bug reports
There is no recent error log
Version of Archi
4.9.3
Archi Plug-ins
CoArchi
Operating System
Windows 11
Expected Behaviour
AMEFF - file created by Sparx Enterprise Architect  van be imported in Archi
Actual Behaviour

Steps to Reproduce the Behaviour
I have isolated the problem to a 2 kb AMEFF file. Optically it looks ok in the indicated row and column. It can also be re-imported in Sparx.
This is the file:
BUS-fout.txt

The error message is an XML validation error message. It means that the XML file is incorrect and can't be made any clearer. If Sparx can import that then it shows that their implementation is wrong.
I'll close this one, perhaps you can report it to Sparx?

Maybe an important note: Sparx is not a certified ArchiMate tool and has never been. For a long time (and maybe even now) its implemention of ArchiMate has been know to be non compliant. So I don't expect this tool to be able to generate a valid AMEFF file.

The problem is with this line:
<node identifier="EAID_DN000000_3D16_4af7_B8F8_B3A62528228F" xsi:type="Label" x="11" y="551" w="1030" h="154">
The type is "Label" and this type cannot contain child nodes. It should be type "Container".

You guys are quick. Thanks a million.  This helps me to unravel our present policy om tooling.


"slimes" tag not respecting chunks' borders

I made a video to make the problem more clear, am I missing something or maybe there is something not working properly? I'm on 1.10.2 and using the latest version of your mod.
https://youtu.be/27z8u2XAmFM

Is the area in a swamp biome?

uhm yes.. so that's why.. is there no why to distinguish or excluding swamp biomes as slime chunks? it is well known slimes spawn there with full moon so maybe you can omit this information in swamps? I don't know if this is possible

It was a request from a long time ago, but the tag list was never updated accordingly. I'll most likely add a new tag slimechunk or something along the lines of that.

Thanks for your help then! I love your work :) p.s. I sent you a tweet about a possible localization for this mod, just in case you are interested in adding more languages

Are you sure that you sent a tweet? Can't see anything localization related in my mail nor on the twitter feed. There's a small section about localization in CONTRIBUTING.md. Link to the tool.

Fixed in a70d126268bbba57f23682e10350111e3a55642b - the new tag is slimechunk.

hello! thanks for updating your mod with this nice feature :D I can't see the new tag in taglist tho

The last two commits aren't in any release yet. I planned to fix a few other things, but didn't have the time yet. I'll try to get the next build out asap.

oh ok, thank you!


Add details about what a Sandbox is

How would this feature be useful?

The README has a section about "Walkthrough: Running an Application in a Temporary, Sandboxed Environment"
Describe the solution you'd like

Please go into more detail about the Sandbox - is it a venv? Can I run untrusted code with pipx run?
If the sandbox is a venv, please consider changing the verbage to something like "Walkthrough: Running an Application in a Temporary Virtual Environment".
Describe alternatives you've considered

This is purely a documentation feature request. I'll be happy to submit a PR with any change decided

Thanks, good call. The sandbox is a venv. PR is welcome.


Added Synapse Kusto Policy

This PR fixes
This PR will add a Policy for Synapse Kusto Pools (Autoscale enforcement).

Deployment runs successfully:


GetHeaders and GetHeader have a different result

With custom headers, if you do:
$request->getHeaders() resulting in headers like HTTP_X_APIKEY
and
$request->getHeader($name) resulting in X_APIKEY
getHeaders() should rewrite the header key also. The current getHeaders could be renamed to getRawHeaders()

I thought this was handled by https://github.com/slimphp/Slim-Http/blob/master/src/Headers.php#L54.
Maybe not though.

Yep, that's where the magic happens. But the all() function in Headers, uses the original keys:
https://github.com/slimphp/Slim-Http/blob/master/src/Headers.php#L100

According to PSR-7, getHeaders() MUST preserve the original case.

Despite that headers may be retrieved case-insensitively, the original case
MUST be preserved by the implementation, in particular when retrieved with
getHeaders().

However, the spec doesn't state we should preserve the HTTP_ prefix.
That said, the following section makes me believe the philosophy of the spec is to preserve whatever the user intended.

Non-conforming HTTP applications may depend on a certain case, so it is useful
for a user to be able to dictate the case of the HTTP headers when creating a
request or response.

I'm not sure if that means we should remove the HTTP_ prefix though. I'll leave that to @akrabat :)
If it turns out we want to make changes here, feel free to shoot me a message and I'll create a PR.

It should preserve the original case, but it doesn't. e.g. I try to send A-a-a,
$request->getHeaders() contains HTTP_A_A_A.  php's getallheaders() contains A-a-a.
Even worse, when I try to send the header A_a-a (with a lower dash). The $request->getHeaders() does not contain the header at all. $request->getHeader('A_a-a') does, and getallheaders() does too.

The headers are taken from the $_SERVER variable. As per the CGI/1.1 specification:
Meta-variables with names beginning with "HTTP_" contain values read
from the client request header fields, if the protocol used is HTTP.
The HTTP header field name is converted to upper case, has all
occurrences of "-" replaced with "_" and has "HTTP_" prepended to
give the meta-variable name.

If I call a test script with curl and send the header A_a-a, it is stored in PHP in $_SERVER as:
Array(
    [HTTP_A_A_A] => test
)

$request->getHeaders() returns the header as PHP passes it through $_SERVER:
["HTTP_A_A_A"]=>
  array(1) {
    [0]=>
    string(4) "test"
  }

From what I gather, there is no original case to be retrieved. The headers in $_SERVER are already stored in uppercase before Slim starts. getallheaders() does seem to contain the headers in the original case, but I don't think that function is available on all web servers, e.g. Nginx.
Changing $request->getHeaders() to return the headers without the HTTP_ prefix looks like the right thing to do to me, but I it would break backwards compatibility for Slim 3. Perhaps fix this only for Slim 4?

This is a Slim-Http issue, so I've raised https://github.com/slimphp/Slim-Http/issues/61 for it.


No Autoplay Similar Songs

I've selected the appropriate option in my settings but when playing to my raspotify device, it never autoplays similar songs when the queue ends.

So is anyone still maintaining this?

So is anyone still maintaining this?

The owner of the repo has been busy with real life lately so I've stepped up to help. I'm currently dealing with the backlog of issues and getting ready for a new release. I would say that you can either try the package I posted here or wait until I get the new release out the door.

The new release is live. Please update and see if that solves your issue.

Thanks for working on it. Sadly the update didn't fix it. Still just stops at the end rather than autoplaying a radio.

Strange. I very rarely have Raspotify stop. I can listen for hours and it never stops?

What does the tail-end of journalctl -u raspotify -b have to say before it stops?

The spotify app on iphone only lets you play one album at a time so this is when it gets to the end of the album. The song Racing Stripes is the last song of the album and Get Up is the first. It just finishes playing the last song and then loads up the first of the album again but doesn't play it.
Nov 20 18:16:12 raspy librespot[453]: [2021-11-20T23:16:12Z INFO  librespot_playback::player] Loading <Racing Stripes> with Spotify URI <spotify:track:3mOlGrCrh3rJYbjmhfMTiQ>
Nov 20 18:16:12 raspy librespot[453]: [2021-11-20T23:16:12Z INFO  librespot_playback::player] <Racing Stripes> (246506 ms) loaded
Nov 20 18:20:18 raspy librespot[453]: [2021-11-20T23:20:18Z INFO  librespot_playback::player] Loading <Get Up> with Spotify URI <spotify:track:1RyoaXDDV5cPO5g0yWZi89>
Nov 20 18:20:19 raspy librespot[453]: [2021-11-20T23:20:19Z INFO  librespot_playback::player] <Get Up> (153840 ms) loaded

If I play the same album (or any album) but instead of selecting raspotify as the spotify connect speaker, I play it to my Denon receiver or my desktop computer, when it gets to the end of the album it continues to autoplay similar songs.

And you have --autoplay in your config I assume?
Could you post it (removing your username and password if it's in there)?

That's a big assumption. First I've ever heard of an autoplay flag. I just edited the default config file that raspotify installs. No mention of autoplay in there. Seems like it should just adopt the settings of the device you're playing from. Added it to the options environment and it magically works now! Thanks.

That's a big assumption. First I've ever heard of an autoplay flag. I just edited the default config file that raspotify installs. No mention of autoplay in there. Seems like it should just adopt the settings of the device you're playing from. Added it to the options environment and it magically works now! Thanks.

Apparently you have not "selected the appropriate option".
--autoplay is a client-side flag. The controlling device does not decide that. It's a pretty big assumption on your part maybe you should take a peak at the librespot wiki? I mean there are like 75 links to and mentions of librespot in this repo,lol!!!
Sort of a RTFM moment on your part...

That goes against the whole concept of raspotify. To quote the readme "A Spotify Connect client for Raspberry Pi's that Just Works™". A default config file is provided so that I can set the options and it works. Now all of a sudden I have to go to a completely different project and examine the endless flag options to get it to work?? No thanks.
Sort of a douchebag moment on your part...

librespot isn't a completely different. Raspotify is librespot. Again maybe read something, anything in the readme...
And Raspotify does just work. That doesn't mean you shouldn't maybe learn about the available options. I'm sorry, you asked a question that you could have figured out yourself in a couple mins, and then you pop off like it's my fault that Spotify designed their API so that autoplay is not decided by the controlling app.
The info is out there with links plastered everywhere I'm not sure how much easier I can make it. I can't read and learn it for you. You may actually have to put forth some effort... It's amazing you managed to install it with that attitude...


Inconsistent behavior when selecting track

When selecting a track in albums or playlists, there is some inconsistent behavior, which depends on whether a track is currently playing or not.
Steps to reproduce, using "squeezer":

First, ensure no track is playing.
Go into an album and touch a track. This track will now play, and after that it will continue playing all tracks of the album. Nice!
Now, with the track still playing, go back and then into a different album and touch a track.  A menu will be presented, to select an action:

Note: There is a similar (but slightly different) inconsistency when using "OrangeSqueeze" but I'm not sure how widespread the use of this app is so I won't expand on it here.
Currently using Deezer Plugin v2.72.0
My server info can be seen in issue #24

This is a LMS feature. Go on the settings (I think player settings) and look to options defeat touch to play

Yes, you're right - just tried it and it works fine. Thanks for the help.
Closing the issue.


Show results of hamilton DAG actions in Burr UI

Is your feature request related to a problem? Please describe.
Burr has a tracer used to create spans for each step within a child hamilton DAG or any 3rd party package that supports burr tracers. However, there's no way to add the state transitions data.
Describe the solution you'd like
Ideally, the DAG can add results to the span of each step.
Describe alternatives you've considered
The alternative is to add
Additional context
In the screenshot below, a DAG is being executed which leads to an error hence colored red. However, there is no way to see the individual results of each action within the DAG. Their ordering are also not in chronological order with the parent burr execution.

Update - https://github.com/DAGWorks-Inc/burr/pull/301 was merged with some features to help here. We should be able to get you to try something this week.

@osiloke I assume you're using the SimpleTracer, right?
Do you want to try installing the latest burr (0.26.0) and trying the following:
Insert the following above this line:
context_manager.log_attributes(result=result, error=error, success=success)

That will then log three things at the end of each Hamilton function (you can obviously just log errors for example). If you then go to the Burr UI you should be able to see it. Would love feedback - I have a few ideas on how to make it better and would love more opinions.


Lazy transaction records

@nvanbenschoten Do we have a tech note or anything to use as a reference for this, or should we grab some in-person time?

@sploiselle, is this resolved by https://github.com/cockroachdb/docs/pull/4397?

Closing, since the corresponding PR was merged.


DM-40043: Pin pybind11 to <2.11.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender


Run jest only once while running all tests

I am using a single directory named tmp_exercises and dumping all exercise and test files there. This makes it easy to run jest command over the entire directory in one-shot instead of running it over single exercise.
Speeds up the tests considerably - which means faster builds! 🎉
Before:
make test  106.12s user 24.49s system 101% cpu 2:09.03 total
After:
make test  20.53s user 2.75s system 106% cpu 21.872 total
This is possible because jest parallelizes tests across workers.
Also added default target to Makefile. Which means we can run make instead of make test.

@tejasbubane this is interesting, and the performance gain is impressive!  I have a couple of questions:

Do you think there's value in a contributor being able to run the tests locally in a way that's grouped by exercise?  Because with this change, we would get tests in a non-deterministic order.  Perhaps what we might want to do is to enable this mode for Travis, but turn it off locally...IE, Travis doesn't care, fast builds are great, but helpful feedback is great too. :)
When I run make locally, I get this output:

Test Suites: 132 passed, 132 total
Tests:       623 skipped, 755 passed, 1378 total
Snapshots:   0 total
Time:        4.657s
Ran all test suites matching "tmp_exercises/".

I think what is happening is that Jest is running all the tests in /tmp_exercises, but also all the tests in /exercises/*/.  That should probably be fixed, no?

@tejas let me know if I can help with this one.

Thanks @matthewmorgan! There is certainly some issue with the numbers there. I did not find time to get back to this one. Will fix it tonight and let you know if any issue.

@tejasbubane have you had a chance to look at this?  Is there anything we can do to help you finish it?
BTW I did some checking and it looks like Travis supplies the env TRAVIS=true by default.  That could be the gatekeeper for running the tests as a group rather than per-exercise.

@tejasbubane are you planning on implementing this, or should we close the PR for now?  Either way is OK, please let me know if I can help.

The work @tejasbubane did in this PR is a really good one. Faster builds are always GG. Let's keep this one alive.
@tejasbubane if you don't have the available time or something that might block you from getting this one merged I would be happy to help you on it.  You could add me or @matthewmorgan as contributor to your fork, so we can continue from where you are.

@tejasbubane Thanks for initiating this work.  However, because the PR has been open for three months now, I'm going to close it in favor of a newer one that addresses some of the concerns here.


How to have a group conversation using Direct Line API

I am trying to create an application using REST API.
Is it possible to have a group conversation with the bot using Direct Line API. If it is so, help me how to approach this way of creating a group conversation!
Thanks,
Nirmal

Yes, you can have a group conversation using the DirectLine API.  One client in the group needs to create the conversation.  Then, other clients can send and receive messages using that same conversation id.  What code have you got so far?

Closing this issue due to no response.  If you require further assistance, please open a new issue or post questions on StackOverflow using the BotFramework tag: stackoverflow.com/questions/tagged/botframework


Inter-mod crafting recipes with knives do not work

Advanced Fishing 1.12.2-1.3.3 (knife recipes are displayed in the JEI, but do not work)
Aquaculture 1.12.2-1.6.8 (knife recipes are displayed in the JEI, but do not work)
Fishing Made Better 1.12.2-2.2.4
Forge 1.12.2 - <IP_ADDRESS>60

# Replace/remove/override/add AdvancedFishing recipes to work better with this mod? (Does nothing if AdvancedFishing is not installed)
B:"AdvancedFishing Recipe Override"=true
# Replace/remove/override/add Aquaculture recipes to work better with this mod? (Does nothing if Aquaculture is not installed)
B:"Aquaculture Recipe Override"=true

I've tried in my full modpack, as well as a freshly-made instance with just the 3 mods, I can't craft fish fillets/drops from fish using knives. Would like to avoid making recipes in CraftTweaker2 for all of them if I can help it.

Did you pull the fish from creative/JEI/etc, or actually catch them with FishingMadeBetter.
The filleting/scaling only works with legitimately caught fish. (Not all fish have scaling recipes as well)

Ah! That was the trick. I will remove the vanilla and aquaculture fishing rods from the game (or at least try to with crafttweaker , loot tables....)


feat(cast): send 4844 support

Motivation
4844 Support for cast send

Solution
Added --blob flag which should be coupled with the --path flag pointing to the blob data.

@DaniPopes @mattsse good to merge?


Don't show resolve is detail is ''.

Some servers will respond with the detail field, but with an empty
string. If this happens an empty window is shown. This just adds another
simple check to ensure that the window isn't shown if the detail is ''.
Before:

After:

Thank you!


 A clean compilation takes around 12s and an incremental compilation after a simple change takes around 10s. Turning off noEmitOnError takes the incremental compilation time down to 1.6s.
Based on the CPU profiles, it looks like bulk of the time is spent in getDeclarationDiagnostics, which is only triggered pre-emit when noEmitOnError is turned on.
tsconfig.json:
{
    "compilerOptions": {
        "allowSyntheticDefaultImports": true,
        "target": "ESNext",
        "importHelpers": false,
        "module": "esnext",
        "jsx": "react",
        "newLine": "lf",
        "moduleResolution": "Node",
        "strict": true,
        "noErrorTruncation": true,
        "noLib": true,
        "preserveConstEnums": true,
        "resolveJsonModule": true,
        "sourceMap": true,
        "noResolve": false,
        "typeRoots": [],
        "alwaysStrict": true,
        "declaration": true,
        "isolatedModules": true,
        "composite": true
    },
    "include": [
        "**/*.ts",
        "**/*.tsx"
    ],
    "exclude": [
        "node_modules"
    ]
}

Using tsc --incremental --noEmitOnError and tsc --incremental:
Diagnostics:

Clean noEmitOnError true
Incremental noEmitOnError true
Clean noEmitOnError false
Incremental noEmitOnError false

Total time
12.34s
9.90s
13.31s
1.63s

CPU Profile
Link
Link
Link
Link

Files
294
294
294
294

Lines
61074
61075
61074
61075

Nodes
220691
220694
220691
220694

Identifiers
69349
69350
69349
69350

Symbols
191258
184217
191182
46246

Types
84567
81264
84493
103

Memory used
225553K
205273K
226985K
92313K

Assignability cache size
127401
127401
127401
2

Identity cache size
1820
1820
1820
0

Subtype cache size
1203
1204
1203
0

Strict subtype cache size
10236
5766
10236
0

I/O Read time
0.15s
0.15s
0.04s
0.03s

Parse time
0.81s
0.85s
0.96s
0.78s

Program time
1.15s
1.17s
1.21s
0.97s

Bind time
0.56s
0.63s
0.64s
0.55s

Check time
7.96s
8.02s
8.41s
0.03s

transformTime time
0.96s
0.31s
0.93s
0.01s

commentTime time
0.18s
0.00s
0.24s
0.00s

printTime time
2.66s
0.08s
3.03s
0.07s

Emit time
2.67s
0.08s
3.04s
0.07s

Source Map time
0.10s
0.00s
0.13s
0.00s

I/O Write time
0.26s
0.01s
0.25s
0.00s

Please remove .txt extension from CPU profiles to be able to load them in Chrome dev tools. I had to use .txt extension to be able to attach them to the issue.

Expected behavior:
Enabling noEmitOnError should not signficantly increase incremental compilation time. In the project above, I would expect a simple incremental compilation to take 1-2 seconds, i.e. similar to when noEmitOnError is false.
Actual behavior:
Incremental compilation after a simple change takes around 10 seconds, which is almost the same as the 12 seconds it takes to perform a clean compilation.
Playground Link: -
Related Issues:

Not a directly related issue but https://github.com/microsoft/TypeScript/issues/31849#issuecomment-527657520 indicates declaration diagnostics are collected by doing in-memory emit.

A different kind of slowness report related to noEmitOnError: https://github.com/microsoft/TypeScript/issues/24444

Should look into writing tsbuildinfo file when there are errors with noEmitOnError so semantic errors are cached.. Needs more depth investigation since this affects --build as well

I also ran into the issue (in my case it increases the re-compilation time in watch mode from 25 to ~70 seconds). Please ping me if I need to provide any additional information.

I should say that disabling declaration compiler option speeds up the build as well as disabling noEmitOnError in my case.
Diagnostics:

Name
declaration: false
declaration: true

Files
3944
3944

Lines
460896
460896

Nodes
1966966
1966966

Identifiers
654712
654712

Symbols
307304
856053

Types
1150
342100

Memory used
696512K
1552378K

I/O read
0.00s
0.00s

I/O write
0.01s
0.00s

Parse time
0.15s
0.22s

Bind time
0.04s
0.02s

Check time
0.45s
41.94s

Emit time
0.96s
0.00s

Total time
1.60s
42.18s

Cpu profile for declaration: false: declaration-disabled.zip
Cpu profile for declaration: true: declaration-enabled.zip

Should be fixed by #38853

Thank you @sheetalkamat.  "noEmitOnError" is a popular feature, so your fix hugely improves performance for many users.


Attach child handler loop.

Fix problems reported in #238 for Python3.6. ( In python3.5 I couldn't reproduce the error)
Tested with python versions: 2.7.13, 3.4.5, 3.5.2 and 3.6.0.
In python 3.4, and 3.5, we have this:
Exception ignored in: <bound method _UnixSelectorEventLoop.__del__ of <_UnixSelectorEventLoop running=False closed=True debug=False>>
Traceback (most recent call last):
  File "/home/meiralins/.pyenv/versions/3.4.5/lib/python3.4/asyncio/base_events.py", line 417, in __del__
  File "/home/meiralins/.pyenv/versions/3.4.5/lib/python3.4/asyncio/unix_events.py", line 58, in close
  File "/home/meiralins/.pyenv/versions/3.4.5/lib/python3.4/asyncio/unix_events.py", line 139, in remove_signal_handler
TypeError: signal handler must be signal.SIG_IGN, signal.SIG_DFL, or a callable object
Exception ignored in: Exception ignored in: Exception ignored in: %

Exception ignored in: <bound method BaseEventLoop.__del__ of <_UnixSelectorEventLoop running=False closed=True debug=False>>
Traceback (most recent call last):
  File "/home/meiralins/.pyenv/versions/3.5.2/lib/python3.5/asyncio/base_events.py", line 431, in __del__
  File "/home/meiralins/.pyenv/versions/3.5.2/lib/python3.5/asyncio/unix_events.py", line 58, in close
  File "/home/meiralins/.pyenv/versions/3.5.2/lib/python3.5/asyncio/unix_events.py", line 139, in remove_signal_handler
  File "/home/meiralins/.pyenv/versions/3.5.2/lib/python3.5/signal.py", line 47, in signal
TypeError: signal handler must be signal.SIG_IGN, signal.SIG_DFL, or a callable object

I'm not sure how to fix it yet.

The change seems reasonable, based on the error message in #238. I couldn't find any results on what change in asyncio made this necessary. It's somewhat surprising that it ever worked.

I can confirm that fixed the problem I reported.


Considerations on memory management

While investigating issue #285, I came across a couple of points in our code where the memory allocations seemed a bit weird/bug-prone. Let me mention them below, so that more people can take a look and let me know if I am missing something:

The allocation of the indicesOfEligibleT5Modules happens in Event.cu https://github.com/SegmentLinking/TrackLooper/blob/4d0158d7afbf293bab50e7611c42067100e249a1/SDL/Event.cu#L1257-L1261 instead of in Module.cu https://github.com/SegmentLinking/TrackLooper/blob/4d0158d7afbf293bab50e7611c42067100e249a1/SDL/Module.cu#L12 where the relevant memory is then freed https://github.com/SegmentLinking/TrackLooper/blob/4d0158d7afbf293bab50e7611c42067100e249a1/SDL/Module.cu#L108 I see no reason for this, and I would propose to move the memory allocation to Module.cu.

We have only one way to allocate the modulesInGPU https://github.com/SegmentLinking/TrackLooper/blob/4d0158d7afbf293bab50e7611c42067100e249a1/SDL/Module.cu#L76-L106 but two ways to free the memory
https://github.com/SegmentLinking/TrackLooper/blob/4d0158d7afbf293bab50e7611c42067100e249a1/SDL/Module.cu#L166-L203 and https://github.com/SegmentLinking/TrackLooper/blob/4d0158d7afbf293bab50e7611c42067100e249a1/SDL/Module.cu#L204-L244 Any reason for this that I am missing? Otherwise, I think we should just remove the extra memory-freeing functions.

Finally, I would like to ask why these variables https://github.com/SegmentLinking/TrackLooper/blob/4d0158d7afbf293bab50e7611c42067100e249a1/SDL/Event.cu#L4-L7 are defined in the global scope. I would expect them to be inside the Event class or defined in the appropriate file where they are relevant.

#292 Deals with issue two by deleting the cached version since we've agreed previously to not use the caching allocator here. Both will actually be deleted when that area of the code moves to Alpaka since the buffers are freed automatically.

More instances of variables in global scope (sub-issue 3 above):
https://github.com/SegmentLinking/TrackLooper/blob/6e6e2d0612a9c67223b72da25fb5bf5ff4b6c848/SDL/Module.cu#L5-L9
https://github.com/SegmentLinking/TrackLooper/blob/6e6e2d0612a9c67223b72da25fb5bf5ff4b6c848/SDL/ModuleConnectionMap.cc#L3-L24

One more instance of variables in global scope:
https://github.com/SegmentLinking/TrackLooper/blob/c58c36e401d4d52b9f859c996a0840223bb15aea/SDL/TiltedGeometry.cc#L3

@GNiendorf subissue 3 is still open but was subissue 1 dealt with during the Alpaka migration?

@VourMa Yup, subissue 1 is fixed!

Given that we found a work-around for thread-safety of global variables, should we close this issue?

@slava77 @GNiendorf Is subissue 3 of this issue closed by the #377?

@slava77 @GNiendorf Is subissue 3 of this issue closed by the #377?

do you mean
uint16_t SDL::nModules;
 uint16_t SDL::nLowerModules;

?
Well, they are still in a "global" space in SDL::Gloabals.
I'm not sure though what the text in subissue 3 implied.

I think this can be closed now, right @VourMa?

I would say so, yes. Closing and we can reopen a new, more dedicated one if we see anymore problems.


Regression in treatment of Globalconf

Affected Puppet, Ruby, OS and module versions/distributions

Puppet: 6.24.0
Ruby:
Distribution: CentOS 7
Module version: 3.0.0 and 3.1.0

This configuration from the documentation does not work any longer (works in v2):
# Configuring multiple olc serverIDs for multiple master or mirror mode
openldap::server::globalconf { 'ServerID':
  ensure  => present,
  value   => { 'ServerID' => [ '1 ldap://master1.example.com', '2 ldap://master2.example.com' ] }
}

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Openldap::Server::Globalconf[ServerID]:
parameter 'value' variant 0 expects a String value, got Struct
parameter 'value' variant 1 entry 'ServerID' expects a String value, got Tuple

The doc is right.  This is a regression introduced in #300.


Buttons state flickr

Login Button and Add PWA Button flickr on page changes.

I also noticed that the login/logout button stays in focus with a border


Add status code and response to server errors

Problem
Currently when Graphlient errors are raised, we do see useful message but there are cases that we want to get more details about the error. GraphQL specs allow for other fields in an error response like extensions which can have application specific fields:
http://facebook.github.io/graphql/June2018/#example-fce18
Current setup doesn't allow easy access to error details.
Solution
Add response to Graphlient::Errors::Error to make sure all the errors raised in Graphlient's level have the response returned from the server in them.
Update Graphlient::Errors::ServerError to also include/expose status_code along with the response.
This way clients can access the details of the raised error if they wanted to.

This looks like an interface change. Can we keep ServerError's constructor the same signature and just add the response part?

Yeah we should avoid breaking changes whenever possible. Once exposed, people will depend on a surprising mount of things and upgrading would become real hard if a path to a new interface is not given. I also personally don't mind chaining calls like server_error.cause.response[:status].

good points, will update 🙌

now i remember why i did it this way, depending on the http Adapter being used we may have different object in inner_exception which makes it little hard to parse, in case of Faraday, inner_exception is an actual Faraday::ClientError but in case of HttpAdapter is a response.
I think there is benefit in easy access to response and status, I see two options:

Have ServerError get inner_exception, status_code, response_body on initialize

module Graphlient
  module Errors
    class ServerError < Error
      attr_reader :status_code, :inner_exception
      def initialize(message, inner_exception, http_status, response_body)
        super(message, response_body)
        @status_code = http_status
        @inner_exception = inner_exception
      end
    end
  end
end

Have conditional code in ServerError that based on what it got from inner_exception extracts the response body and status, something like

def status_code
  if inner_exception.is_a?(Faraday::ClientError)
     inner_exception.response.status
  elsif inner_exception.responds_to? :status
     inner_exception.status
  end
end

I personally prefer option #1 but let me know if you think otherwise or there are other options.

What about inheriting Faraday::ServerError from ServerError and doing faraday-specific stuff in that?

ooh, thats interesting idea! giving it a try!

Thanks both for reviews, going to squash merge 🙌


use card name from transaction

@grgia @Beamanator
Details
This PR uses card name from the transaction object while displaying card information in E-receipt.
Fixed Issues
$ https://github.com/Expensify/App/issues/44569
PROPOSAL:
Tests
Prerequisite: A workspace which can settle expenses through Expensify cards.

Create a new manual expense
Pay the manual expense using Expensify card
Verify that the Expense/Transaction Report displays the Card information correctly
Click/Tap on the receipt image to invoke `Ereceipt.
Verify that the Ereceipt displays the Card information correctly.

[x] Verify that no errors appear in the JS console

Offline tests
Same as Steps for Tests Section.
QA Steps

Sign-in using a new account
When the onboarding modal is displayed, select Manage my Team’s expenses and Continue.
Enter the Business Name and Name details and Continue to complete the onboarding steps.
Navigate to the newly created workspace chat and generate a manual expense.
Also, complete the payment for the manual expense.
Navigate to the Expense Report
Open the Inspect window and locate the newly create transaction in IndexDB(via Storage tab on Safari or Application tab on Chrome).
Identify the transaction id.
Open the Console window and run the following command after replacing TRANSACTIONID with the identified transaction id:
Onyx.merge('transactions_TRANSACTIONID’, {"cardID": 4,"cardName": "Expensify Card - 3458","mccGroup": "Airlines", hasEReceipt: true, reimbursable: false, managedCard: true });
Verify that the Expense Report displays the Card information as Expensify Card - 3458 (Test 1)
Click/Tap on the receipt image to invoke Ereceipt.
Verify that the Ereceipt displays the Card information as Expensify Card - 3458 (Test 2)

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes

[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)

[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://github.com/user-attachments/assets/11833632-9f65-4240-b526-354ee418e1fd

Mobile Web - Chrome
https://github.com/user-attachments/assets/1a6a5a96-d88b-45cf-8ddb-048a1ad8f836

Mobile Web - Safari
https://github.com/user-attachments/assets/3db764a8-4a9f-42ed-944c-3380fe90727d

Desktop
https://github.com/user-attachments/assets/6607277b-0f9f-4fb9-aac1-ae621a2b0867

iOS
Skipping as tests involved running console commands and, also, the issue is not platform specific

Android
Skipping as tests involved running console commands and, also, the issue is not platform specific

Reviewer Checklist

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[ ] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[ ] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If any new file was added I verified that:

[ ] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[ ] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[ ] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[ ] I verified that all the inputs inside a form are aligned with each other.
[ ] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[ ] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[ ] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/Beamanator in version: 9.0.30-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@luacmartins any idea why we're not getting the prod deploy message on this PR now that the checklist it's on has been shipped?

Nice, thanks!


Referral

Hi, does the extension support Referral campaigns as well?
It was not mentioned in the list specifically

thanks

Sorry for the delay. Yes we do support Referral campaigns as well.
https://youtu.be/f6hFUtV0n1k?t=479


Upload dataset tutorial invalid curl

In the (create custom dataset tutorial](http://api.freme-project.eu/doc/current/tutorials/entity-recognition-against-custom-dataset.html#curl-examples) the first curl example does not have an authentication token and will therefore not work. Please do not add an actual token to the call but a placeholder like like "?token=YOUR_TOKEN_HERE".

I have added the token parameter.


Extract Zip on windows failing with corrupt directory

Since we updated to version 0.5.1 our task is not working anymore. Our code does work correctly with version 0.4.1.
What we do:
 let downloadLocation = await to.downloadTool(installerUrl);
 tl.debug(`download locaton: ${downloadLocation}`)
 let extractedLocation = await to.extractZip(downloadLocation);
 tl.debug(`extracted location: ${extractedLocation}`)
 let cacheDir = await to.cacheDir(extractedLocation, 'GitVersion', downloadVersion);
 tl.debug(`cache location: ${cacheDir}`)
 return cacheDir;

The error:
2018-03-19T13:26:48.4274565Z ##[debug]which 'powershell'
2018-03-19T13:26:48.4302226Z ##[debug]found: 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe'
2018-03-19T13:26:48.4302471Z ##[debug]which 'powershell'
2018-03-19T13:26:48.4322083Z ##[debug]found: 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe'
2018-03-19T13:26:48.4322395Z ##[debug]C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe arg: -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command
2018-03-19T13:26:48.4323956Z ##[debug]C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe arg: $ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ; [System.IO.Compression.ZipFile]::ExtractToDirectory('D:\a\_temp\67f97e98-d565-4bc7-8dc8-dee6006c9b06', 'D:\a\_temp\66cabaa2-1b51-479a-bb53-b49ebe571836')
2018-03-19T13:26:48.4324504Z ##[debug]exec tool: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
2018-03-19T13:26:48.4324990Z ##[debug]arguments:
2018-03-19T13:26:48.4325421Z ##[debug]   -NoLogo
2018-03-19T13:26:48.4325780Z ##[debug]   -Sta
2018-03-19T13:26:48.4326347Z ##[debug]   -NoProfile
2018-03-19T13:26:48.4326682Z ##[debug]   -NonInteractive
2018-03-19T13:26:48.4326983Z ##[debug]   -ExecutionPolicy
2018-03-19T13:26:48.4327262Z ##[debug]   Unrestricted
2018-03-19T13:26:48.4327548Z ##[debug]   -Command
2018-03-19T13:26:48.4327907Z ##[debug]   $ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ; [System.IO.Compression.ZipFile]::ExtractToDirectory('D:\a\_temp\67f97e98-d565-4bc7-8dc8-dee6006c9b06', 'D:\a\_temp\66cabaa2-1b51-479a-bb53-b49ebe571836')
2018-03-19T13:26:48.4331053Z [command]C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command "$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ; [System.IO.Compression.ZipFile]::ExtractToDirectory('D:\a\_temp\67f97e98-d565-4bc7-8dc8-dee6006c9b06', 'D:\a\_temp\66cabaa2-1b51-479a-bb53-b49ebe571836')"
2018-03-19T13:26:49.7235351Z Exception calling "ExtractToDirectory" with "2" argument(s): "Central
2018-03-19T13:26:49.7237895Z Directory corrupt."
2018-03-19T13:26:49.7238949Z At line:1 char:111
2018-03-19T13:26:49.7240884Z + ... catch { } ; [System.IO.Compression.ZipFile]::ExtractToDirectory('D:\a ...
2018-03-19T13:26:49.7241905Z +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2018-03-19T13:26:49.7350394Z     + CategoryInfo          : NotSpecified: (:) [], ParentContainsErrorRecordE
2018-03-19T13:26:49.7497928Z    xception
2018-03-19T13:26:49.7507370Z     + FullyQualifiedErrorId : InvalidDataException
2018-03-19T13:26:49.7620877Z
```

It doesn't look like it's crashing, the task captures and returns the error from powershell.
2018-03-19T13:26:49.7237895Z Directory corrupt."

Is that environmental (a corrupt directory on that machine) or does it happen on every agent you run it on?  (hosted pool?)

That code also didn't change between 0.4.x and 0.5.x
https://github.com/Microsoft/vsts-task-tool-lib/blame/master/tool.ts#L446
I think this is environmental (a corrupt dir)
2018-03-19T13:26:49.7237895Z Directory corrupt.

That's strange. We have a sample build to test our custom tasks. I just updated the library to 0.5.1, built the task and run the builds. The builds are run on the hosted pool. I run them multiple times, same error. I switch back to the old library version, rebuilt the task and it was running again. I haven't had the time to do some tests on other agents.

@marc-mueller  I just double checked to be sure and we have tests for all of these functions and all the tests are passing (of course there could be a bug in the tests). What installerUrl are you using for the test? I can try to recreate as close as possible to your scenario and see if I can recreate.

Interesting.  I was thinking perhaps powershell version on hosted changed (and it does slide) but if the lib code is the same, it should work the same.  hmmm
Adding @ericsciple

I am able to recreate locally by stringing together your steps and using the GitTools url, continuing to investigate...

@marc-mueller I discovered the issue, working on a fix now. Should have it rolled out soon. Will update here when deployed to npm. Sorry for the inconvenience!

@marc-mueller We have released version 0.8.1 of the library. Could you give that a try and let us know if it solves the issue? Thanks!


pip (python3) does not install most example code

When installing on my Debian (stretch) using the "native pip" method via:
pip3 install -U tensorflow-gpu
I get tensorflow to install, but the examples directory does not contain everything I believe it should based on the source tree in github: This is what is installed in the examples directory:
/usr/local/lib/python3.5/dist-packages/tensorflow/examples$ tree
.
├── init.py
├── pycache
│   └── init.cpython-35.pyc
└── tutorials
├── init.py
├── mnist
│   ├── init.py
│   ├── input_data.py
│   ├── mnist.py
│   └── pycache
│       ├── init.cpython-35.pyc
│       ├── input_data.cpython-35.pyc
│       └── mnist.cpython-35.pyc
└── pycache
└── init.cpython-35.pyc
5 directories, 10 files
PS. I wonder if this installation bug is related to issue: https://github.com/tensorflow/tensorflow/issues/590
since other issues report having similar problems there even after issue 590 was closed.

Ran into the same question with a Windows 10 installation into an Anaconda conda environment. TensorFlow 1.0.0 was installed with pip as well.

@jmoraleda Perhaps you can try to uninstall first?
Note the instructions here:
https://www.tensorflow.org/install/install_linux#install_tensorflow
The sequence of commands should be:
$ sudo pip3 uninstall tensorflow # for Python 3.n
$ pip3 install tensorflow-gpu # Python 3.n; GPU support

Only if that fails, try this (for Python 3.5 with GPU support):
$ sudo pip3 uninstall tensorflow # for Python 3.n
$ sudo pip3 install --upgrade \
https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.0.0-cp35-cp35m-linux_x86_64.whl

@tatatodd Thank you for your reply. I just tried your suggestion, but it made no difference. Uninstalling (pip3 uninstall tensorflow-gpu) followed by install (pip3 install tensorflow-gpu) produces the same effect as my original problem (i.e. Tensor flow installs and works, but the content of the examples directory  is limeted to what I showed in my original message) .

We are moving our example and model codes out of the pip package. Pip package will install the core TF library on your machine, and then you can download the example and tutorial codes from relevant webpages or our repository.

@gunan. Thank you. That makes perfect sense. I imagine the download instructions and tutorials have not been updated yet to reflect this change. I will close this issue.


Error when building database

I run /dev/build?flush after installing and get an error:
[Emergency] Uncaught SilverStripe\ORM\Connect\DatabaseException: Couldn't run query: ALTER TABLE "File" DROP INDEX "SearchFields", ADD fulltext "SearchFields" ("Name","Title","Name","Title") 42S21-1060: Duplicate column name 'Name'

Hello @peterkoopman Can you check whether you have FulltextSearchable::enable(); in your app/_config.php and if you find it remove that and give it a go.

I'm also having this exact same issue/error message, FulltextSearchable is enabled. It looks like the dev/build schema code is trying to add a "Name" column to the "File" table which already contains that column..

Oops! I misread, I thought we needed to enable the default FullTextSearchable not remove it. After removing FulltextSearchable::enable(); in my app's config, dev/build completes properly. Thanks!!

@quamsta yeah, its a bit confusing isnt it ?


Main page of website needs  to be more attractive

Do you want to have the enhancement of existing game ? 😀 Describe yourself..
hey! I'm palak ved  , a frontend developer . I want to improve css of its main page .Please give me a chance .
Describe the solution you'd like
we can make the main page colourful and animated so  that it will look attractive  , also we can add login page so than we can display a user name playing  game .

Select program in which you are contributing
GSSoC23, Other
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

@39palakved Could you please explain more what you want to do, if possible you can also add screenshot.
If you have any doubt you can directly send message on our discord (https://discord.gg/rZb46cCMmK), we have created seprate chennals for all projects...
Thank you :)

@Durgesh4993  I want to improve css of main page of this website .  want to add some annimation . It is black and white i want to give it some color  so it will look attractive  whenever a user  click on website link .

please assign me this issue

The main page needs to be more attractive to engage users. Suggestions include:

Modernize the layout
Update the color scheme
Add high-quality images
Improve typography
Include subtle animations

Please assign this to me. Thanks!

I would like to add appropriate fonts and themes and layouts to the main page and enhance the attraction of the visitor more.
assign this to me under GSSOC

My name is Harshwardhan Singh Panwar and I'm a contributor at GSSOC'24 .
idea:- By incorporating div CSS and animations, I can design the UI in an interactive manner, making it visually appealing.
Please assign this task to me, GSSOC'24 .

Please assign this task to me, GSSOC'24


proposal-promise-any

Search Terms
tc39

Suggestion
https://tc39.es/proposal-promise-any/ is stage-3 now

Use Cases

Examples

Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

Stage 3 https://github.com/tc39/proposal-promise-any


[DATASET] New dataset

0122nodes_2024-08-06_11-15-18_singulate.zip
Here is a new ROS2 meta system dataset generated with rosmetasys.
I agree to the following:

By publishing the dataset in this issue, I consent to its storage in this open-source repository.
By publishing the dataset in this issue, I consent to its usage for implementing and evaluating graph and visualization algorithms.
[x] I consent to the publication of the dataset under the CC BY-SA license (e.g., on [Zenodo}(https://zenodo.org/)).

Here are some details about the origin of the data:

Simulation of a pacel singulation robot

Using this json, the visualization website freezes my firefox.
@vschroeter please post a short message here, as soon as the visualization works with our data set.

Thanks a lot for the dataset!
I'll fix the problem with the freezing visualization, it shouldn't take long.
However, on a quick look, I saw that your dataset contains every node 2 times, one time for ROS_LOCALHOST_ONLY=1 and one time for =0. Is this an expected behavior of your system or a bug from the exporter?

@jmachowinski The freeze is fixed and online.
However, the prototype shows the shortcomings that we are currently working on in terms of scalability and usability for larger systems:

Especially the nodes that are connected to every other node in the system, such as the snapshotter or the node_orchastrator nodes in your case, lead to quite a mess in the current state.
But we are working on solving that. Thanks again for the dataset!

However, on a quick look, I saw that your dataset contains every node 2 times, one time for ROS_LOCALHOST_ONLY=1 and one time for =0. Is this an expected behavior of your system or a bug from the exporter?

Our system should be ROS_LOCALHOST_ONLY. That being said, I am not sure, if we got a bug in our system configuration, or your exporter. Do you know a way of verifying this ?
Our DDS Configuration is :
ROS_DOMAIN_ID: 0
ROS_AUTOMATIC_DISCOVERY_RANGE: "LOCALHOST"
ROS_STATIC_PEERS: "<IP_ADDRESS>"
RMW_IMPLEMENTATION: "rmw_cyclonedds_cpp"
CYCLONEDDS_URI: |
  <General>
    <AllowMulticast>true</AllowMulticast>
    <Interfaces><NetworkInterface name="lo"/></Interfaces>
  </General>
  <Discovery>
    <ParticipantIndex>auto</ParticipantIndex>
    <MaxAutoParticipantIndex>1000</MaxAutoParticipantIndex>
  </Discovery>

I've just been experimenting a bit and found out, that the temporary node created in the exporter tool can sometimes discover nodes that it shouldn't be able to discover.
From previous experiments, I thought that nodes started with ROS_LOCALHOST_ONLY=1 would only be able to discover other nodes also started with =1, and vice versa.
However, if the temporary exporter node is started with =1, it can discover all nodes, whether started with or without ROS_LOCALHOST_ONLY.
On the other hand, if the temporary exporter node is started with =1, it cannot detect any other nodes that were started with =0, but only nodes with =1.
I find this somewhat inconsistent, but I think this is fixed by the Improved Dynamic Discovery in newer versions.
So I think your system is fine.
I've updated the exporter tool to only include nodes once.


User registration

Endpoints:

Sign up for account

Triggers invitation email

Uses link in invitation email to complete registration
Models:
User model(s)

Update existing with fields we need
Create new models as necessary (preregistered user?)

AC:

Send new user payload to registration endpoint
Email address receives registration email
Clicking on link in email registers user
User is now listed on the home page (show that a user has been created)

A heads up that for the email sending portion of this, we are going to need to identify a Node.js/NestJS specific solution for sending email through Amazon SES with instance metadata provided credentials.
This can be done in a primitive way with the AWS SDK for JavaScript, but there may also be a good wrapper out there that integrates with NestJS.
I created https://github.com/PublicMapping/district-builder-2/issues/54 to account for the SES specific setup.


Minor variables scss cleanup ($btn-focus-box-shadow)

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
there is a variable in use $btn-focus-box-shadow that looks like its only use is just to be used as default for $accordion-button-focus-box-shadow
seems like probably should just remove the singular instance use of $btn-focus-box-shadow and replace it with the much more widely used $input-btn-focus-box-shadow
Reduced test cases
No test case, just a variable cleanup
What operating system(s) are you seeing the problem on?
Linux
What browser(s) are you seeing the problem on?
No response
What version of Bootstrap are you using?
v5.2.0

PR #36780

See https://github.com/twbs/bootstrap/pull/36780#issuecomment-1194687401.


Unconditionally set the base image annotation.

Previously we only set this annotation when our base image was a tag, but this means when folks actually follow the best practice of use digest base images they get strictly worse resulting images!
It sounds like maybe the original motivation for this condition was that it was supposed to contain the mutable reference (tag), but I don't see anything detailing such a restriction (just an example), so there should be nothing
precluding this from the spec.

This also supports: https://github.com/google/ko/pull/744

Codecov Report

Merging #745 (195c844) into main (d17aca8) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #745      +/-   ##
==========================================
- Coverage   51.38%   51.35%   -0.03%
==========================================
  Files          44       44
  Lines        3295     3293       -2
==========================================
- Hits         1693     1691       -2
  Misses       1390     1390
  Partials      212      212

Impacted Files
Coverage Δ

pkg/build/gobuild.go
61.34% <100.00%> (-0.11%)
:arrow_down:

Continue to review full report at Codecov.

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


feature like TreeComp

Is your feature request related to a problem? Please describe.
it could be interesting integrate, in future versions, a feature like TreeComp (https://lploeger.home.xs4all.nl/TreeComp.htm)
Describe the solution you'd like
Describe alternatives you've considered
Additional context
TreeComp is an interactive utility to keep 2 directory trees and the files within the directories in sync. The combined tree is displayed using a treeview control with icons indicating the status per directory. Programs to view the differences (i.e. Microsoft's WinDiff or WinMerge) between files with the same name can be launched by double-clicking, as well as editors for a file residing in one of the 2 trees. After inspection files can be copied/deleted interactively as desired. In our organization we view this program as an indispensable tool that is far beyond xcopy /s /e.

@SimoneRaspagni Thank you for opening this issue, I am closing this issue since this feature request is out of scope for Files.


Add support for FACT token

Checklist

[ ] App update process has been followed
[x] Target branch is develop
[ ] Application version has been bumped

Will be part of https://github.com/vacuumlabs/ledger-app-cardano-shelley/pull/212


[FLINK-28828][network] Sorting all unfinished readers in batches at one time in SortMergeResultPartitionReadScheduler

What is the purpose of the change
Currently, when reading data in SortMergeResultPartitionReadScheduler, the reader is added to the priority queue immediately. However, the data read from this reader may not have been consumed, which will cause this reader to be ranked later in the queue, which is unfavorable to sequential reading.
To solve the issue, After reading the data, we should sort all unfinished readers in batches at one time, that is, add all unfinished readers to the priority queue, which is more conducive to sequential reading.
Brief change log

Sorting all unfinished readers in batches at one time in SortMergeResultPartitionReadScheduler

Verifying this change
This change is already covered by existing tests, such as SortMergeResultPartitionReadSchedulerTest.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@TanYuxin-tyx Thanks for the change. LGTM.


Changelog Entry
version: <log entry>

Checklist:

[x] I have performed a self-review of my own code
[ ] I have documented my code in accordance with the documentation guidelines
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have run the unit tests
[ ] I only have one commit (if not, squash them into one commit).
[x] I have a descriptive commit message that adheres to the commit message guidelines

Please review the CONTRIBUTING.md file for detailed contributing guidelines.

Codecov Report

Merging #618 (280d831) into main (a1bbe8d) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main     #618   +/-   ##
=========================================
  Coverage     68.32%   68.32%
  Complexity      408      408
=========================================
  Files           129      129
  Lines         12626    12626
  Branches        294      294
=========================================
  Hits           8627     8627
  Misses         3843     3843
  Partials        156      156

Flag
Coverage Δ

rust
66.10% <ø> (ø)

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


fixes bug #23 - with wrong routes for unauthenticated multinenancy users

fixes bug #23 - with wrong routes for unauthenticated multinenancy users

@JibayMcs do you have any concerns about this commit? Should I fix something?

Would love to see this one go into a release soon! @JibayMcs

I have a similar error in multitenant application, see:


Postman collection for EV charging

Description
Create postman collection for the ev charging booking use case details are as below
base_url - https://mit-ps-bap-client.becknprotocol.io
bap_id - mit-ps-bap.becknprotocol.io
bap_uri - https://mit-ps-bap.becknprotocol.io
Further details for registry , gateway , bpp are here - https://docs.google.com/spreadsheets/d/1X6RPNJH2eQrpjvHtZte9Jw6Zy0fIj7MNOcdlpr5iphE/edit#gid=2086670707
It should have, search, select, init confirm, cancel, and status endpoints.
Postman collection should be published under https://github.com/beckn/beckn-action-bot/artefacts/postman_collection
The collection must use protocol server client of BAP as the base URL.
Goals

[ ] Postman collection pointing to BAP protocol server.

Expected Outcome
Postman collection for ev charging use case that points to BAP protocol server.
Acceptance Criteria

[ ] All the listed endpoints must be there and the postman collection must be tested with BAP protocol server without any local services running.

@vishi24 i haven't worked on this issue. I have worked on DSEP over the weekend and that too not for MIT-demo. So i should not be the owner of this ticket if its already under review.
cc: @faizmagic

Assigning this to @zoyaashik as confirmed by @vishi24

current update

EV charging catalogs are fully updated in the bpp
PR link attached to the ticket, which contains the postman collection to the EV charging
@zoyaashik to review the PR and ensure that postman collection for EV charging is working as expected, by connecting to the new network for MIT Demo
verify if the base url in the postman collection is pointing to the MIT demo newtork

Pointed the base url to MIT demo network and tested search, select,init,confirm,status endpoints.
The endpoints are working as expected.

@zoyaashik , can you provide details about the list of tables / columns in the strapi which are used for item.descriptor.name search

the table sequence is as follows provider-> Item->sc_retail_product->price_brakeup

Reviewed and merged, any issues discovered after this will be treated as separate bugs.


doc: Correct and enhance Spanish translation

Hi people, looks like a really nice project. I was taking a look at the source code trying to understand the logic and I noticed that the Spanish translations were a bit off. I decided to correct them and fill the entries that didn't have one.
I hope I can make more contributions to the back-bone of the source code in the near future :)

Hi @marc-gav thank you so much for your contribution, it's highly appreciated!
The file translations_3 will soon change because it contains translations for the items being introduced in the next release.
Anyway, it's not a bad idea to have it updated already.

@all-contributors please add @marc-gav for translation.


context canceled

context canceled

Making Kitematic project under the Release of download the latest Release Kitematic fix the Bug

Delete just download Kitematic
In the Release of the project in Github Kitematic Kitematic download the latest Release
Put the new Kitematic in Docker tip location: C: \ Program Files \ Docker \ Kitematic
Complete


Add Select OK to avoid any confusion

Some customers confuse after the click "Trigger now" because there is NO navigation. Of course, there is "OK" button at the bottom in the screen.
I believe this step help some of them.

@dahatake : Thanks for your contribution! The author(s) have been notified to review your proposed change.


If not all projects fit in a sav on import, let the user know

Apparently import already let the user know, but then corrupted your sav. Doesn't anymore now :)


ionic contact select not working correctly

I have a problem in ionic when I want to open the contacts.
The funny thing is that contacts only open when before clicking to get_contacts() I tab into/activate the textarea. After that the function get_contacts() is working fine - contacts popup as it should.
But only clicking the button (I added two in my container) does not open the contacts - nothing happens. Why????
Here is my code of the container:

<form name="sendMessageForm" ng-submit="sendMessage(sendMessageForm)" style="background-color: black;" novalidate>
    <ion-footer-bar class="bar-stable message-footer" style="background-color: black;" keyboard-attach>

        <button class="button button-icon icon ion-android-attach" ng-click="choosePhoto()"></button>

        <textarea ng-model="input.message" value="" placeholder="Leave a message..."
                  required minlength="1" maxlength="1500" msd-elastic  autofocus></textarea>

        <button class="button button-icon icon ion-android-send footer-btn" type="submit"
                ng-disabled="!input.message || input.message === ''">
        </button>
            <button class="button button-icon icon ion-ios-search-strong" ng-click="get_contacts()">
            </button>

    </ion-footer-bar>

</form>

And this is my js......

document.addEventListener('deviceready', function () {

    $scope.get_contacts = function (){

    navigator.contacts.pickContact(function(contact){
    console.log('The following contact has been selected:' + JSON.stringify(contact));
    var mobilenr = " no mobile nr ";
    var jsonObj = JSON.parse(JSON.stringify(contact));
    for (i = 0; i < jsonObj.phoneNumbers.length; i++) {
        var phoneNumber = contact.phoneNumbers[i];
        if (phoneNumber.type == 'mobile')
            {

                mobilenr = phoneNumber.value;

            }

        }

        $scope.itemsList.push({"name":contact.name.formatted, "room":mobilenr});

        localStorage.setItem("phonecounter",+localStorage.getItem("phonecounter")+1);

        },function(err){
            console.log('Error: ' + err);
        });

    }

}, false)

I'm not able to get this thing working, googled and tried almost everything.
Does anybody have a hint?
I tested on iOS - but this should work in any environment, as I understand. Or not?
Thank you in advance - very much

Hi, your issue reads like a question for https://github.com/driftyco/ionic-v1. This github repo is only for bug reports and feature requests on AngularJS core. You can also try one of the Support Channels. Thanks!


Add github codespaces setup

What does this PR address?

Adds support for developing nixpacks in GitHub Codespaces

Before submitting:

[x] Make sure to follow GitHub's guide on creating PR.
[x] Did you read through contribution guidelines?
[ ] Did your changes require updates to the documentation? Have you updated those accordingly?
[ ] Did you write tests to cover your changes? Did it pass locally when running cargo test?
[ ] Have you run cargo fmt, cargo check and cargo clippy locally to ensure that CI passes?

I can test tomorrow, will merge if works.


rename hmd bodypart to head

Rename to head to remove false association with trackers

Also changed the filtering comment. Who wrote the original smh my head.


Update index.md

Jenkins job istio.github.io/presubmit passed

{{home}} seems to be istio.io/community here, I need istio.io/

Jenkins job istio.github.io/presubmit passed


Start button for libraries won't work if description text goes beyond three lines

When the description for a library exceeds three lines in the user interface, the start button shows correctly but becomes unclickable.
A text size limitation should be set and enforced, as well as not allowing the text layer to prevent access to the start button.

Closing this, as it doesn't seem to be an issue anymore. I've tested it with all sorts of titles for libraries (a little bit longer, far more longer...) and I haven't had any success reproducing the problem either on server or on local.


smartgithg: install_freedesktop_items.sh: Permission denied

Issue description
The same build worked before. Now the bundled script is not executable. I would know a workaround, but I would like to know why it stopped working.
I will try to bisect it when I have time today
Steps to reproduce

Checkout master branch of nixpkgs
Try to build smartgithg

nix-build /path/to/nixpkgs -A smartgithg --arg config '{ allowUnfree = true; }'
...
/nix/store/63karsgdg7fm3q0if4zfd7apbd8ac1ci-stdenv-linux/setup: line 1299: /nix/store/kzlgjv3xscc9g6ix38lflh1gz6hghvhn-install_freedesktop_items.sh: Permission denied
builder for '/nix/store/49f6csj2dyasslg9fxrkb2slpf1ay8xc-smartgithg-18.2.4.drv' failed with exit code 126
error: build of '/nix/store/49f6csj2dyasslg9fxrkb2slpf1ay8xc-smartgithg-18.2.4.drv' failed

The script is executable:
ls -l ./pkgs/applications/version-management/smartgithg
total 8
-rw-r--r-- 1 bara bara 1910 Mar  5 10:40 default.nix
-rwxr-xr-x 1 bara bara  524 Mar  5 10:40 install_freedesktop_items.sh

The stored file isn't
ls -l /nix/store/kzlgjv3xscc9g6ix38lflh1gz6hghvhn-install_freedesktop_items.sh
-r--r--r-- 1 root root 582 Jan  1  1970 /nix/store/kzlgjv3xscc9g6ix38lflh1gz6hghvhn-install_freedesktop_items.sh

The file is added like this
    install_freedesktop_items = substituteAll {
      inherit (stdenv) shell;
      src = ./install_freedesktop_items.sh;
    };

and then referenced in the build script
    ${install_freedesktop_items} "${pkg_path}/bin" "$out"

Technical details

system: "x86_64-linux"
host os: Linux 4.20.7, NixOS, 19.03pre169108.36f31600749 (Koi)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.2
channels(bara): ""
channels(root): "nixos-19.03pre169108.36f31600749, nixos-unstable"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Result of bisect:
# only skipped commits left to test
# possible first bad commit: [d531da6f8ae7a8dab806bcd3211cd84d2d189d24] Merge pull request #54094 from rnhmjoj/shell
# possible first bad commit: [4eca960cb4ed5e68b93d112fd90623a5a2bae433] Merge #53946: attr: fix issues with 2.4.48

I'll make a PR as soon as possible to fix this. I didn't realize substituteAll does not preserve the file permissions.

Thank you, for the response and the PR. It looks good so I will already close this issue.
I have learned something while searching for the cause.


Building app without connection

I'm under company proxy and it isn't possible to download big zip files, especially from command line.
It is possibile to build application without internet connection?
I try to explain my question.
I have downloaded all that need to build on another computer with the same OS (win7) and I take all the folders,
In the pc without connection I tried to build but  I get the following error:
Downloading electron-v1.4.15-win32-ia32.zip
Error: GET https://github.com/electron/electron/releases/download/v1.4.15/electron-v1.4.15-win32-ia32.zip returned 403

I passed these arguments:
electron-packager . --overwrite --platform=win32 --arch=ia32 --out=out --version-string.CompanyName='CompanyNameStartPackager' --version-string.FileDescription='FileDescriptionStartPackager' --version-string.ProductName='ProductNameStartPackager'

@Leonardonline you need to specify --download.cache=your_cache_folder_path and have already packaged all platforms you need so that you should have electron zip files in that folder, then you can copy that folder to non connection machine's project folder

@englishextra I took advantage of the lunch break to try to download as you suggested and ...it works!
THANK YOU


default mfa-token to environment variable if any

@gojko let me know what you think :)

@gregory what's the use case here? isn't the MFA token something that changes all the time, so it's unlikely to be the same across two calls? if you have to specify it on the command line anyway, why is this different than just specifying it with --mfa-token?

nvm.


Error importing TensorBoard, ModelCheckpoint

Dear All,
I am new to keras and related modules. I am trying to import the following:
from keras.callbacks import TensorBoard, ModelCheckpoint
I am getting an error like following which seems to me related with tensorflow
Using TensorFlow backend.
Traceback (most recent call last):
  File "/Users/sbhakat/anaconda/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "/Users/sbhakat/anaconda/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "/Users/sbhakat/anaconda/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  File "/Users/sbhakat/anaconda/lib/python3.6/imp.py", line 242, in load_module
    return load_dynamic(name, filename, file)
  File "/Users/sbhakat/anaconda/lib/python3.6/imp.py", line 342, in load_dynamic
    return _load(spec)
ImportError: dlopen(/Users/sbhakat/anaconda/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so, 6): Symbol not found: _clock_gettime
  Referenced from: /Users/sbhakat/anaconda/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so (which was built for Mac OS X 10.12)
  Expected in: /usr/lib/libSystem.B.dylib
 in /Users/sbhakat/anaconda/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/sbhakat/anaconda/lib/python3.6/site-packages/keras/__init__.py", line 3, in <module>
    from . import utils
  File "/Users/sbhakat/anaconda/lib/python3.6/site-packages/keras/utils/__init__.py", line 6, in <module>
    from . import conv_utils
  File "/Users/sbhakat/anaconda/lib/python3.6/site-packages/keras/utils/conv_utils.py", line 9, in <module>
    from .. import backend as K
  File "/Users/sbhakat/anaconda/lib/python3.6/site-packages/keras/backend/__init__.py", line 89, in <module>
    from .tensorflow_backend import *
  File "/Users/sbhakat/anaconda/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py", line 5, in <module>
    import tensorflow as tf
  File "/Users/sbhakat/anaconda/lib/python3.6/site-packages/tensorflow/__init__.py", line 24, in <module>
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
  File "/Users/sbhakat/anaconda/lib/python3.6/site-packages/tensorflow/python/__init__.py", line 49, in <module>
    from tensorflow.python import pywrap_tensorflow
  File "/Users/sbhakat/anaconda/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 74, in <module>
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "/Users/sbhakat/anaconda/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in <module>
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "/Users/sbhakat/anaconda/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
    _pywrap_tensorflow_internal = swig_import_helper()
  File "/Users/sbhakat/anaconda/lib/python3.6/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  File "/Users/sbhakat/anaconda/lib/python3.6/imp.py", line 242, in load_module
    return load_dynamic(name, filename, file)
  File "/Users/sbhakat/anaconda/lib/python3.6/imp.py", line 342, in load_dynamic
    return _load(spec)
ImportError: dlopen(/Users/sbhakat/anaconda/lib/python3.6/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so, 6): Symbol not found: _clock_gettime
  Referenced from: /Users/sbhakat/anaconda/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so (which was built for Mac OS X 10.12)
  Expected in: /usr/lib/libSystem.B.dylib
 in /Users/sbhakat/anaconda/lib/python3.6/site-packages/tensorflow/python/../libtensorflow_framework.so

Failed to load the native TensorFlow runtime.

I checked the installation of tensorflow as I can call tensorflow like following
import tensorflow as tf
I am not sure what is this error and how to solve it. Any help will be highly appreciated.

@omalleyt12  -  Just to confirm, does this issue be opened in Tensorflow repo ?

Hi think the above error maybe due to improper installation of Kreas in my Mac. However in my Linux I installed Keras and Tensorflow properly and got an error like

/home/sbhakat/miniconda2/envs/py36/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
Using TensorFlow backend.
Traceback (most recent call last):
  File "script.py", line 1, in <module>
    from keras.callbacks import TensorBoard, ModelCheckpoint
  File "/home/sbhakat/miniconda2/envs/py36/lib/python3.6/site-packages/keras/__init__.py", line 3, in <module>
    from . import utils
  File "/home/sbhakat/miniconda2/envs/py36/lib/python3.6/site-packages/keras/utils/__init__.py", line 27, in <module>
    from .multi_gpu_utils import multi_gpu_model
  File "/home/sbhakat/miniconda2/envs/py36/lib/python3.6/site-packages/keras/utils/multi_gpu_utils.py", line 7, in <module>
    from ..layers.merge import concatenate
  File "/home/sbhakat/miniconda2/envs/py36/lib/python3.6/site-packages/keras/layers/__init__.py", line 4, in <module>
    from ..engine.base_layer import Layer
  File "/home/sbhakat/miniconda2/envs/py36/lib/python3.6/site-packages/keras/engine/__init__.py", line 8, in <module>
    from .training import Model
  File "/home/sbhakat/miniconda2/envs/py36/lib/python3.6/site-packages/keras/engine/training.py", line 21, in <module>
    from . import training_arrays
  File "/home/sbhakat/miniconda2/envs/py36/lib/python3.6/site-packages/keras/engine/training_arrays.py", line 8, in <module>
    from scipy.sparse import issparse
  File "/home/sbhakat/miniconda2/envs/py36/lib/python3.6/site-packages/scipy/sparse/__init__.py", line 229, in <module>
    from .csr import *
  File "/home/sbhakat/miniconda2/envs/py36/lib/python3.6/site-packages/scipy/sparse/csr.py", line 15, in <module>
    from ._sparsetools import csr_tocsc, csr_tobsr, csr_count_blocks, \
ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /home/sbhakat/miniconda2/envs/py36/lib/python3.6/site-packages/scipy/sparse/_sparsetools.cpython-36m-x86_64-linux-gnu.so)

With all my Google search it seems like a conda vs pip installation issue which is kind of mentioned here https://github.com/widdowquinn/pyani/issues/96
Now I wonder how to solve this? Any help?

Unable to reproduce the above issues. I would suggest re-creating the virtual environment.
In my testing on linux this works:
pyenv virtualenv 3.6.7 keras-test
pyenv local keras-test
pip install keras tensorflow
echo 'from keras.callbacks import TensorBoard, ModelCheckpoint' > test.py

$ python test.py
Using TensorFlow backend.

Cool but now the question how to install pyenv virtualenv 3.6.7?


Uncaught Error: Null Object Reference

Describe your bug here.
FreeplayState.hx (line 74)
fixel/FlxGame.hx (line 642 )
fixel/FlxGame.hx (line 729 )
fixel/FlxGame.hx (line 682 )
fixel/FlxGame.hx (line 550 )
openfl/events/EventDispacther.hx ( line 402 )
openfl/display/DisplayObject.hx (line 1399 )
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
I only edited Mainmenustate not freeplaystate

same here idk why ;-;

same
flixel/graphics/frames/FlxAtlasFrames.hx (line 250)
editors/MenuCharacterEditorState.hx (line 237)
editors/MenuCharacterEditorState.hx (line 187)
flixel/ui/FlxButton.hx (line 521)
flixel/ui/FlxButton.hx (line 507)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)
Uncaught Error: Null Object Reference
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

Crash Handler written by: sqirra-rng

i think its because of high quality making game crash or did something wrong on the Mainmenustate

It never happens to me. I don't understand why it's happening to you

nvm i fixed it

yeah me to

completed

God dammit

I mean that @Emananimateslol should close this as completed.

completed

God dammit

it happened to me and I don't know how to fix it


Please point location of requirements.yml

pr https://github.com/lean-delivery/cookiecutter-ansible-role/pull/12 merged


Cannot create new worker node after upgrade from 4.7.0-0.okd-2021-06-04-191031 - VMWare IPI

After upgrading  from 4.7.0-0.okd-2021-06-04-191031 to 4.7.0-0.okd-2021-06-13-090745, I am not able to create new worker nodes. I do manage to acess the machine and find that the configuration of this machine halts due to an error in machine-config-daemon-firstboot.service.
In the logs of this service I found the following error:
jun 17 20:54:35 localhost machine-config-daemon[2363]: I0617 20:54:35.639020    2363 rpm-ostree.go:261] Running captured: rpm-ostree update --install NetworkManager-ovs --install glusterfs --install glusterfs-fuse --install qemu-guest-agent jun 17 20:54:36 localhost machine-config-daemon[2363]: I0617 20:54:36.370100    2363 update.go:439] Rolling back applied changes to OS due to error: error running rpm-ostree update --install NetworkManager-ovs --install glusterfs --install glusterfs-fuse --install qemu-guest-agent: error: "NetworkManager-ovs" is already provided by: NetworkManager-ovs-1:1.30.4-1.fc34.x86_64. Use --allow-inactive to explicitly require it. jun 17 20:54:36 localhost machine-config-daemon[2363]: : exit status 1
I did a clean install starting with 4.7.0-0.okd-2021-05-22-050008, updating to 4.7.0-0.okd-2021-06-04-191031 and then to  4.7.0-0.okd-2021-06-13-090745. I didn't see this problem in 4.7.0-0.okd-2021-05-22-050008 and 4.7.0-0.okd-2021-06-04-191031
Version
4.7.0-0.okd-2021-06-13-090745 -IPI VMWare

How reproducible
100% reproducible, I did a clean install of

Log bundle

Relevant Slack thread: https://kubernetes.slack.com/archives/C6BRQSH2S/p1623781138240100
Interestingly enough, I can't reproduce it on clean install.

I started with 4.7.0-0.okd-2021-05-22-050008 which still uses FCOS-33.

@aalgera you could check MachineConfigs/99-worker-okd-extensions, and if  NetworkManager-ovs is present there - remove

This should be resolved by https://github.com/openshift/okd-machine-os/pull/145

@aalgera you could check MachineConfigs/99-worker-okd-extensions, and if NetworkManager-ovs is present there - remove

I've removed all extensions and then MCO turned into DEGRATED STATE because of the existing nodes not being able to uninstall the packages as it wasn't requested. As the node Isn't in production yet I just removed the node and then MCO reconciliated. Although I think there's a RedHat KB that provides a workaround to bypass it without removing the node.
After that I just scaled up new nodes with success.

Verified the scale up works again, installed 06-04, upgraded to 06-13 and then to 2021-06-19-191547 nightly. Upgrade worked correctly with 99-okd-master/worker-extensions and machineset can be scaled up.

Fixed in https://amd64.origin.releases.ci.openshift.org/releasestream/4-stable/release/4.7.0-0.okd-2021-06-19-191547, please reopen if this still happens

Hi @vrutkovs
we have this sissue again in https://github.com/openshift/okd/issues/441