FOUC when nesting components

When rendering a skate component within another skate component, the nested component is vulnerable to a FOUC.
This can occur when the nested component has a prop that directly affects the way the component is rendered. Consider the following:
define('x-parent', {
  render(elem) {
    return h('x-child', { active: true });
  }
});

define('x-child', {
  render(elem) {
    return h('p', { class: elem.active ? 'active' : '' });
  },

  props: {
    active: {}
  }
});

The problem occurs when rendering <x-parent />.
Sequence of events:

<x-parent /> is added to the DOM, and its connectedCallback synchronously causes render() to be invoked.
<x-child /> is synchronously added to the DOM via incremental-dom, (but importantly without an active attribute).
x-child's render() function is synchronously invoked (again via connectedCallback) causing

 (at this time active is false) to be added to the DOM.
Incremental DOM now applies active=true attribute to x-child, which uses skate's overridden behaviour to actually apply the attribute as property (node.active = true).
The active property setter is invoked, which schedules a render() on the next tick.
One tick passes.
x-child's render() function is invoked, and adds active to the
 element.

Here's a demo: http://www.webpackbin.com/N1Rm2yEAZ
There's a simple way to solve this — don't debounce render() when a property changes. However this would introduce a performance problem when setting multiple properties, as it would cause multiple renders:
elem.foo = true;  // triggers render()
elem.bar = true;  // triggers render()
…

The whole point of the debouncing is ensure only one invocation of render() occurs regardless of the number of properties that are set.

I have a proposal which I think is reasonable:

Setting a property or attribute that corresponds to a prop causes an immediate synchronous render of the component.
When setting multiple properties, it's possible to avoid intermediate (between property mutations) renders by using the props utility.
Update the incremental-dom integration to utilise the same underlying mechanics as props.

In the original example in this issue, this proposal would change the sequence of events to:

<x-parent /> is added to the DOM, and its connectedCallback synchronously causes render() to be invoked.
<x-child /> is synchronously added to the DOM via incremental-dom, (but importantly without an active attribute).
x-child's render() function is synchronously invoked (again via connectedCallback) causing

 (at this time active is false) to be added to the DOM.
Incremental DOM enters the phase were it sets attributes on x-child, but first sets a flag via beginPropsTransaction(). (new)
Incremental DOM now applies active=true attribute to x-child, which uses skate's overridden behaviour to actually apply the attribute as property (node.active = true).
The active property setter is invoked, but observes that it's currently within a prop transaction, and so does not schedule a render(). (changed)
Incremental DOM finishes its setting-attributes phase, and clears the flag via endPropsTransaction(). (new).
During endPropsTransaction(), x-child's render() is synchronously invoked, which adds active to the  element.

A further optimisation could be made to remove the initial render() during connectedCallback, by having special integration with incremental-dom, but that is not the target of this issue.

Concretely we need to update react-integration to do this.

react-integration can't cater to any specific library / framework. To it, things are just vanilla web components.

react-integration can't cater to any specific library / framework. To it, things are just vanilla web components.

Ah good point. If performance is an issue, we can always go down the path of a skatejs-react layer that knows about skatejs specifics (i.e. props) to do more efficient rendering.

Ah good point. If performance is an issue, we can always go down the path of a skatejs-react layer that knows about skatejs specifics (i.e. props) to do more efficient rendering.

And also, as discussed IRL, the browser should only do a single repaint / reflow anyways. It's just that when using a component outside of Skate (raw web component), render() will get called for every single one, and Incremental DOM patches will occur, but if there's no reads in between of props / attrs that cause reflow / repaint, then the browser should only do it once. The main overhead here is Skate / iDOM runtime.


How to pre-load localattention extension?

Hi, thanks for sharing your awesome work! But I found that 'localattention' is loaded while importing ops, which makes it quite slow to run the model. So is there any way to preload this module, like, load it in setup.py files?

I also face the same problem, I tried to apply https://github.com/fudan-zvg/DeepInteraction/issues/8. It is not working for me.

I also face the same problem, I tried to apply #8. It is not working for me. Can you help on how to generate 'localattention' ?

Hi, actually it works well but a little bit slow for me. Could you give more details about your issue?

localattention.so: cannot open shared object file: No such file or directory

@SibylGao can you provide me solution about  how you handeled it.


Adding frontend tests

@ConnorDoyle Could you take a look at this? You don't have to look through the code (which is only tests, test-helper)Just

Thanks, didn't know how to do that :P

@drexin could you take a look too?

:100:, LGTM

We are seeing this consistently in the build logs:
><EMAIL_ADDRESS>preinstall /home/travis/build/mesosphere/marathon/src/main/resources/assets/node_modules/broccoli-replace/node_modules/applause/node_modules/cson/node_modules/js2coffee
> node ./cyclic.js
-\/-|/\|-\/\|-\|-\/-npm WARN optional dep failed, continuing<EMAIL_ADDRESS>
Do we have a bad dependency listed?

No, it's an optional dependency from one of our dependencies. I read about it and it is no problem. Optional dependencies are.. well... optional

From google groups https://groups.google.com/forum/#!topic/nodejs/Drz2hvmnryU:

"FSEvents is an API only available on OS X"


Separate _scene_cull() into two stages for better stability

Splits it into a filter stage (where >99% of runtime is spent) and a binning stage. A followup patch converts the binning stage (which is very prone to race conditions, see #71705 ) to single-threaded so that just the filter stage is multithreaded, greatly simplifying the culling code and removing the need to keep track of a local InstanceCullResult in each thread.
This also opens the doors for potentially adding an option to turn off filtering altogether (resulting in no culling), making it easier to detect culling regressions.
I've also observed a slight increase in culling performance (going from 1 -> 2 threads results in an average of 1.3x speedup rather than 1.2x), although obviously YMMV.
Required for converting _scene_cull() to use parallel foreach(): #78016
Required for occlusion soft-culling: #76297

Passes the regression test in https://github.com/godotengine/godot-benchmarks/issues/34
Not tested on https://github.com/Calinou/godot-rendering-tests


Remove Jitter as we already have sufficient jitter in the background task randomness

https://github.com/cds-snc/covid-alert-app/blob/192a86a80d0d02ae474576ea1c9bbafc719e0214/src/services/MetricsService/MetricsService.ts#L117
This is just delaying things unnecessarily given that we are having zero issues on the server side, let's back this out, and let server bump up as necessary.

ref: #1435


cell cycle arrest logical defs

for all abnormal occurrence of cell cycle arrest in phase x terms, convert logical defs to this pattern (from FYPO upheno reconciliation minutes):
FYPO_0000608: arrested and (during some 'mitotic M phase') and (during some 'single-celled organism vegetative growth phase') and ('inheres in part of' some 'mitotic cell cycle') and (qualifier some abnormal)
... but leave out and (during some 'single-celled organism vegetative growth phase') per #3636

I've gone through and done as many of these as I could figure out - that should cover all of the straightforward ones, plus a few of the other terms that have something about cell cycle arrest but also something else. There's probably a bit more to do, but this work should take it down to where the remaining oddballs can be dealt with on a case-by-case basis.
@matentzn

closed in ea87e700b2fe412622b4cf6aead3ca0b83e698a2 (typo in commit msg foiled auto-linky)


Api burn nft does not work

Recently, i have used api:
await client.burnNonFungibleToken('ee3955c8', '10000001', '00000002', {
ownerAddress: "",
ownerSecret: "",
fromUserId: 'U8853f82b832513d479fb634ef7d1eee3'
})
but when i check in line blockchain it return failed, and nft was not burn.

So i decided to check with api:
const res = await client.transactionResult(
"2CD7BDC53FD9CEF3CCDFDDBC0E110ECCE0396F9CC9A177A374F1075E8A3A456E"
);

It returns success but logs is empty. Please check this issue. Thank you so much.

I guess it look the user didn't approve proxy, which means the proxy account(address) is not authorized as proxy. so I appreciate if you check the proxy is set on the item-token-collection(contract - ee3955c8) by below API.

Retrieve whether the item token proxy set or not
, and the proxy address is correct one that has proxy authority.

i've tried this:

so response returns

How can i fix this.
So let me describe the things that my company want me to do that is when i create a nft, i have to set a time like 01/01/2023 so up to that time (01/01/2023) trigger a cronjob to delete all infomation of that nft. People who bought this also loss their nft. I know that sound bad things.

Sorry for late response, but I think it's hard to set a proxy right after an item token collection(contract) because it needs several steps and some of steps are required a user' action(approval) through wallet system.
More details, (* Below steps has to be done after an item token collection(contract) has been created)

if you send a proxy request to chain via open-api
LBW(wallet system, LINE Blockchain Wallet), sends a notification to get the user's approval for the proxy setting, which is approve a service wallet to mint, burn and transfer.
when the user approves the proxy request, then there will be a transaction for approval of the proxy request.
The transaction has been confirmed, then open-api sends callback for the transaction, and proxy setting is checked by v1-users-userId-item-tokens-contractId-proxy-get API.

I am not sure what exactly you want to do, but you'd better understand how proxy request and approval are working.
And it does not look a bug, it could be caused by already existing proxy request on same user or the steps are not completed. I appreciate if you check any previous requests are and log or save what your system request to LBD

[FYI Setup proxy]

https://docs-blockchain-beta.line-beta.biz/sample-services/Link-cinema#3-set-up-the-proxy
*I hope the document can help you.


Date.fromString is not working in the repl

This was on OS X 10.10.3. I tried with both io.js and vanilla nodejs. Works with elm-compiler, but just not with the repl:
> import Date
> Date.fromString
<function: readDate> : String -> Result.Result String Date.Date
> Date.fromString "2015-05-14T08:05:08.594144+00:00"
TypeError: undefined is not a function
> Date.fromString "2015-05-14"
TypeError: undefined is not a function
>

Same here.

Ok this is fixed for me on master. Let me know if it hasn't fixed it for you.


Get notified when a transfer has been canceled

Confirm by changing [ ] to [x] below:

[x] I've gone though Developer Guide and API reference
[x] I've searched for previous similar issues and didn't find any solution

Platform/OS/Hardware/Device
MacOS / Linux
Describe the question
I want to be able to pause and restore my download queue where I have several assets.
I have written a piece of code where I start the download then cancel it: https://github.com/martindelille/aws-cancel-test
Is there no other way to be notified than waiting for the handle than using the synchro TransferHandle::WaitUntilFinished() ?
Logs/output
If applicable, add logs or error output.
To enable logging, set the following system properties:
REMEMBER TO SANITIZE YOUR PERSONAL INFO
options.loggingOptions.logLevel = Aws::Utils::Logging::LogLevel::Trace;
Aws::InitAPI(options)

You can call TransferStatus which will give you one one the following results:

EXACT_OBJECT_ALREADY_EXISTS
NOT_STARTED
IN_PROGRESS
CANCELED
FAILED
COMPLETED
ABORTED

I'm not sure if this would be more useful for your use case. Make sure to check out the API if you haven't already

My problem is that CANCELED is sent several times (one per part). I finally manage to guess that the asset has been totally cancelled this way:
PartStateMap queuedParts,  pendingParts,  failedParts, completedParts;
handle->GetAllPartsTransactional(queuedParts,  pendingParts,  failedParts, completedParts);

if (queuedParts.size() == 0 && pendingParts.size() == 0) {
  if (failedParts.size()) {
    // => Asset canceled
  } else {
    // => Asset ready
  }
}

Two question:

why not having a status telling all part are cancelled?
why TransferHandle::GetAllPartsTransactional() is not const?

Hi @MartinDelille,
I think you may be thinking of transferStatusUpdatedCallback...
Aws::Utils::Threading::DefaultExecutor executor;
TransferManagerConfiguration config(&executor);
config.s3Client = m_s3Client;
config.transferStatusUpdatedCallback =
 [&](const TransferManager* manager, const std::shared_ptr<const TransferHandle>& handle)
        {
        //Do your check for Canceled here.
        }

Let me know if this is what you were looking for.

Yes this is where I put my code in with a little different: I had to convert to an non const handle since TransferHandle::GetAllPartsTransactional() is not const.

Hmmm I see, I'll take a look at the PR...
But at this point I feel like I can close this issue and keep an eye on the PR, specially since this turned into more of a fix than a question.
Anyways, thanks for the PR!


contributing storage demo

@jmspring any chance you can test the PVC with the storage account name specified and maybe at least mention it or incorporate it into the demo? I don't blame you for saying no, just thought I'd ask given the thread on ACS-Talk right now.

@jmspring I'd love to merge this but I need you to remove the Apache license as we are MIT licensed. I'd love a little more info in the readme about what the demo is but I can always do that myself. Licensing is something I want to be sure you approve of.

@jmspring repinging after a while. We want your stuff, but see ross's and Cole's comments. Don't want the stuff go wasting!!!

@rgardler License was fixed a bit ago, small readme added


[DOCUMENTATION FIX] Missing Tailwindcss link in the readme

What docs page needs to be fixed?

Section: Tech Stack section in read me
Page:

What is the problem?
Tailwindcss links redirects to 404 page no found
What should be changed to fix the problem?
Add tailwindcss official website link

I'll like this issue to be assigned to me.


feat: add the repetition index to the miniblock write path

The repetition index is what will give us random access support when we have list data.  At a high level it stores the number of top-level rows in each mini-block chunk.  We can use this later to figure out which chunks we need to read.
In reality things are a little more complicated because we don't mandate that each chunk starts with a brand new row (e.g. a row can span multiple mini-block chunks).  This is useful because we eventually want to support arbitrarily deep nested access.  If we create not-so-mini blocks in the presence of large lists then we introduce read amplification we'd like to avoid.

Codecov Report
Attention: Patch coverage is 42.99674% with 175 lines in your changes missing coverage. Please review.

Project coverage is 78.49%. Comparing base (f21397d) to head (2982346).

Files with missing lines
Patch %
Lines

rust/lance-encoding/src/encodings/logical/list.rs
10.23%
112 Missing and 2 partials :warning:

.../lance-encoding/src/encodings/logical/primitive.rs
68.69%
30 Missing and 6 partials :warning:

rust/lance-encoding/src/encoder.rs
18.18%
8 Missing and 1 partial :warning:

rust/lance-encoding/src/decoder.rs
0.00%
8 Missing :warning:

...ust/lance-encoding/src/encodings/logical/struct.rs
72.72%
6 Missing :warning:

rust/lance-encoding-datafusion/src/zone.rs
0.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3208      +/-   ##
==========================================
- Coverage   78.59%   78.49%   -0.10%
==========================================
  Files         244      244
  Lines       83957    84213     +256
  Branches    83957    84213     +256
==========================================
+ Hits        65986    66106     +120
- Misses      15181    15306     +125
- Partials     2790     2801      +11

Flag
Coverage Δ

unittests
78.49% <42.99%> (-0.10%)
:arrow_down:

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

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


Add Support For Authenticated URL Discovery

I want to generate an API client using a Discovery URL that's only available once you're authenticated as a trusted tester. The Python api clients can do this
I think there just needs to be an option to authenticate the DefaultTransporter in lib/generator.js before making the call.
I can do a PR for this, just want to make sure there's not already way to do this and the PR will get accepted.

Let's work together on this.

SGTM, happy to put it on a Q2 OKR. I think step 1 is to catch up with all the various API client teams and make sure whatever we're working on fits into their plans.

@waprin @jmdobry do we still need this?  I'm happy to take it on if folks are still asking for it.  Can you point me towards an example of a private API?

If you love a bug, let it go.  If it loves you, it will come back.  If we really need this, let me know and I'll re-open the issue :)


Refundable amount not calculable without seller_receivable_breakdown

The refundableAmount used to enable the refund functionality of PayPal is not calculable if seller_receivable_breakdown is missing.

[public]

Priority changed to: High

Thank you for your report. Based on the information in this report, we have decided to investigate this issue in more detail and are planning to provide a fix for this issue. Although we are always eager to solve such problems as soon as we can, we can't give you a more specific time frame right now. We appreciate your patience and thank you for your understanding.
[created from PPI-1045, comment 529410]

[public] Shopware automated response: This issue is linked to the internal issue: PPI-1045
[created from PPI-1045, comment 529412]


Remove version: Eraser.Eraser version 6.2.2994

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/eraser/files/Eraser 6/6.2/Eraser <IP_ADDRESS>94.exe/download
OK
(Automated message - build 923)

Close with reason: Duplicate;


Fix for OnEnd issue

NOT A REAL MERGE REQUEST! JUST TO SYNC UP AND GATHER IDEAS HOW TO PROCEED!
This is how far I got with my attempts to fix the bug that the bots get stuck at the end of the game,
Problem:
Currently one or both bots get stuck at the end of a match and need to be killed. A bot that needs to be killed never learns the result of the game. This is a problem for bots that want to use the result information in the next game.
Attempts to fix the problem:
@Cryptyc mentioned that processing all requests/responses even after the game finished solves the problem. Just continuing to run the GameUpdate function for each bot is not an option, because this would close the SC2 client and would make saving the replay impossible. Therefore, I introduced a 'onEnd` function that processes all remaining requests/responses after the replay is saved for 10 seconds or if the SC2 client closes the connection, whatever happens sooner.
This alone did not fix the problem. The bots were still stuck even after the client closed the connection. So additionally I removed all leaveGame or quit requests in the bot interfaces I could find.
Experiment:
I always ran a bot as player 1 and then player 2 against a reference python bot that does nothing (these lines commented out). The LadderManager is in the version of this merge request. For the results below I used the newest SC2 Linux client. But I had the same experience on older versions.
Expected outcome:
If two bots are matched against each other the stdout result should look like this. I highlighted the important line.

22-11-2018 19-42-13: Starting proxy for Python
22-11-2018 19-42-13: Starting proxy for Python_ref
22-11-2018 19-42-32: New status of Python_ref: in_game
22-11-2018 19-42-32: New status of Python: in_game
22-11-2018 19-42-45: New status of Python_ref: ended
22-11-2018 19-42-45: New status of Python: ended
22-11-2018 19-42-45: Python Exiting with GameEnd Average step time 1134.05, total time: 2.4677e+06, game loops: 2176
22-11-2018 19-42-45: Python_ref Exiting with GameEnd Average step time 1104.33, total time: 2.40302e+06, game loops: 2176
22-11-2018 19-42-46: Saving replay
22-11-2018 19-42-48: Processing last requests/responses for Python
22-11-2018 19-42-48: Sending request of Python
22-11-2018 19-42-48: Processing last requests/responses for Python_ref
22-11-2018 19-42-48: Sending request of Python_ref
22-11-2018 19-42-48: Sending response for Python
22-11-2018 19-42-48: Sending response for Python_ref
22-11-2018 19-42-50: Client disconnected (Python)
22-11-2018 19-42-50: Client disconnected (Python_ref)
22-11-2018 19-42-52: Both bots quit properly.
22-11-2018 19-42-54: Game finished with result: Player1Win
22-11-2018 19-42-54: Finished.

If the line Both bots quit properly. appears the experiment was successful. If instead one sees Failed to detect end of CppBot after 20s. Make sure the bot does not issue leaveGame or quit. Killing or even worse just Killed the experiment failed.
Linux:
Python-sc2:
I used this https://github.com/Archiatrus/python-sc2-ladderbot bot to test. Please note the removal of the quit AND leaveGame requests. The fix was successful and the following stdout.log was produced.

Starting ladder game...
INFO:sc2.protocol:Client status changed to Status.in_game (was None)
INFO:root:Player id: 2
Game started
INFO:sc2.protocol:Client status changed to Status.ended (was Status.in_game)
OnGameEnd() was called.
INFO:root:Result for player id: 2: Result.Victory
ERROR:asyncio:Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f819ef3f4e0>
Result.Victory  against opponent  6c248b87d6ae33f

OnGameEnd (or on_end) was called and the bot received the result to process it. I unfortunately do not know how to handle the ERROR:asyncio:Unclosed client session error. But it does not seem to interfere with the proper execution of the bot.
C#
I also needed to remove one leaveGame request to get https://github.com/Archiatrus/SC2-CSharpe-Starterkit. But then the bot worked as expected, i.e., the above mentioned Both bots quit properly. appears. Also onEndGame could be called
[18:51:59 INFO] --> Connected
[18:52:16 INFO] RaxBot
....
[19:53:01 INFO] Result: Victory
[21:28:10 INFO] Terminated.
C++
I created the simple bot https://github.com/Archiatrus/CppBot. Unfortunately, the test fails here. Even worse, the bot not only crashes at the end of a game, it will also kill the ladderManager!

....
22-11-2018 20-19-09: Saving replay
22-11-2018 20-19-10: Processing last requests/responses for Cpp
22-11-2018 20-19-10: Sending request of Cpp
22-11-2018 20-19-10: Processing last requests/responses for Python_ref
22-11-2018 20-19-10: Sending request of Python_ref
22-11-2018 20-19-10: Sending response for Python_ref
22-11-2018 20-19-10: Sending response for Cpp
Killed

The stderr.log of the bot is empty. The stdout.log shows the following.

Connecting to port 5677
Connected to <IP_ADDRESS>:5677
Waiting for the JoinGame response.
WaitJoinGame finished successfully.
Successfully joined game
Result: 0

This means LadderInterface.h#L71 is reached. Which leads me to believe that the problem occurs during the deconstruction of the coordinator. Also note that onGameEnd() was not called.
Without sending the last requests/responses, i.e., without the new onEnd function the bot is stuck waiting for a response and needs to be killed. Faking a response was unsuccessful so far.
Java
I have not yet tested a Java bot. My Java knowledge is unfortunately non-existent.
Windows
In my preliminary tests last weekend all bots (even Java) passed the test on Windows. But I will thoroughly repeat the experiment as described above to double check this.
Mac
I have no access to a mac. Maybe @alkurbatov can repeat the tests for me.
Next steps
No idea. I do not know how to prevent the C++ bot from crashing and killing the ladderManager under Linux. That is why I made this merge request. Maybe someone has an idea...
(Also note that average frame calculation fails on Linux.)

Today I tested the setup on Windows. The games run fine for Python-SC2, C#, and Java.
The C++ bot does not kill the ladderManager. It disconnects and it knows the result of the game. BUT! onEndGame() is not issued. So I guess the same problem happens (during the deconstruction of the Coordinator?) but Windows can silently catch it.
Just for a small check, I have put a std::cout in the deconstructor of CoordinatorImp but I got no output. Not much time this weekend to investigate further but I will next week.

Java now also tested under Linux. Ends withBoth bots quit properly. Unfortunately, I can not tell if the result is available to the bot at the end of the game, because, as already said, no idea about Java so I can not change the example bot. But I assume it would work.
So only C++ and Linux is missing.

C++ bot killing the LM can be reproduced in a Debian VM.
27-11-2018 01-56-39: Processing last requests/responses for Cpp
27-11-2018 01-56-39: Sending request of Cpp
27-11-2018 01-56-39: Sending response for csharpe
27-11-2018 01-56-39: Sending response for Cpp
Killed

27-11-2018 02-06-15: Sending request of Cpp
27-11-2018 02-06-15: Sending response for csharpe
27-11-2018 02-06-15: Sending response for Cpp
Killed

Finally. This line in combination with a pid = 0 results in all processes killed in the same process group. That includes the ladderManager (and also the other bot). Moving the bot to a different processing group with setpgid(0,0) "solved" the problem. The bot still kills itself, but only itself. We should advice all bot authors that use the s2client-api to include a check if pid is equal to zero.


feat(Topology/Group/Profinite): limits in the category of profinite groups

Define the limit in profinite groups as a profinite group.
Co-authored-by: Jujian Zhang<EMAIL_ADDRESS>Nailin Guan<EMAIL_ADDRESS>

To prove that the functor from profinite groups to profinite sets preserves limits, I would suggest using https://leanprover-community.github.io/mathlib4_docs/Mathlib/CategoryTheory/Limits/Preserves/Basic.html#CategoryTheory.Limits.preservesLimitOfPreservesLimitCone applied to Profinite.limitCone.

To prove that the functor from profinite groups to profinite sets preserves limits, I would suggest using https://leanprover-community.github.io/mathlib4_docs/Mathlib/CategoryTheory/Limits/Preserves/Basic.html#CategoryTheory.Limits.preservesLimitOfPreservesLimitCone applied to Profinite.limitCone.

Thank a lot, I just got stuck at there.

Did you forget to remove awaiting-author? It LGTM now, just one minor comment above

Thanks!
maintainer merge

bors merge


adding in missing olmconfig file

Issue #, if available:

Fixes: aws-controllers-k8s/community#1095

Description of changes:
adding in the missing olmconfig file to the repo
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Signed-off-by: Adam D. Cornett<EMAIL_ADDRESS>

/ok-to-test

/lgtm


[TF2Server] Monitor Query error - unable to receive

My TF2 server will start and work, flawlessly, as I can connect to it. But I can't use ./tf2server monitor, as it will give me the following error:
[  OK  ] Monitor tf2-server: Checking session: OK
[ FAIL ] Monitor tf2-server: Querying port: /myIp/:27015 : ERROR: Unable to receive
[ FAIL ] Monitor tf2-server: Querying port: /myIp/:27015 : ERROR: Unable to receive
Here are some distro informations:
Arch Linux release
LSB_VERSION=1.4
DISTRIB_ID=Arch
DISTRIB_RELEASE=rolling
DISTRIB_DESCRIPTION="Arch Linux"
NAME="Arch Linux"
ID=arch
PRETTY_NAME="Arch Linux"
ANSI_COLOR="0;36"
HOME_URL="https://www.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
And I have the following line in my netstat -ntulp
udp        0      0 /myIp/:27015    <IP_ADDRESS>:*                           16502/./srcds_linux
I had to modify the line 59 of the file gsquery.py from
connection.send( self.query_prompt_string )
to
connection.send( self.query_prompt_string.encode() )
because I was getting the following error without that change:
[ FAIL ] Monitor tf2-server: Querying port: /myIp/:27015 : Traceback (most recent call last):
File "/home/server/servers/tf2/gsquery.py", line 124, in
server.responding()
File "/home/server/servers/tf2/gsquery.py", line 60, in responding
connection.send( self.query_prompt_string )
TypeError: 'str' does not support the buffer interface

to confirm you resolved your issue by changing
connection.send( self.query_prompt_string )

to
connection.send( self.query_prompt_string.encode() )

I havnt come across this problem before. Could it have somthign to do woth you running Arch?

I belive this may be to do with the version of python being used. However I dont yet know enough to resolve this. I will close.


Create SDL_Init shared library to gcc configure for vamos

https://exceptionshub.com/usrbinld-cannot-find-lnameofthelibrary.html
https://www.cprogramming.com/tutorial/shared-libraries-linux-gcc.html

MinGW ld does not find any shared libraries
ld -lglu32 --verbose
C:/Program Files/MinGW/bin
C:/Program Files/msys/1.0/bin
C:/Program Files/MinGW/lib
C:/Program Files/msys/1.0/lib


preventAwait cannot handle Effect.runSync

Kysely is helping me a lot with SQLite (local-first) and Postgres (server).
I'm encountering a problem in my project (I can give access to the Kysely's authors if they want) using Kysely-PowerSync-Effect.
// runtime.ts
...
const MainLayer = Layer.mergeAll(
	PowerSyncClientLive,
	PowerSyncConnectorLive,
	ReposLive,
	SupabaseLive,
	WebClientLive,
).pipe(Layer.provide(ViteConfigProviderLayer))

export const RuntimeClient = ManagedRuntime.make(MainLayer)

// repo.ts
getMe: () => kysely.selectFrom(TableLibraryNames.creators).selectAll().limit(1)

// react_page.tsx
import { useQuery } from '@powersync/react'
import { RuntimeClient } from '...'

export const PageSettings = () => {
	const { data: creators, isLoading: isLoadingCreators } = useQuery(
		RuntimeClient.runSync(RepoCreator.getMe()) // <-- Error here
	)
...
}

More about PowerSync's useQuery here<EMAIL_ADDRESS>and<EMAIL_ADDRESS>No compile error, but this runtime error:

It works when I refactor getMe to:
	getMe: () => {
		const query = kysely
			.selectFrom(TableLibraryNames.creators)
			.selectAll()
			.limit(1)

		return {
			execute: () => query.execute(),
			compile: () => query.compile(),
		}
	}

PowerSync's team, a developer, and I consider there's something wrong detecting async logic.
Could it be caused by this? https://github.com/kysely-org/kysely/blob/14dc94af7ed2fb75004f02e616ab9ac255acbf8a/src/query-builder/select-query-builder.ts#L2430-L2433
What do you think can be the cause?

https://github.com/kysely-org/kysely/pull/748

Thanks Sami for considering it.


Only one character is underlined, not the whole error

Notice that only the "i" is underlined, not "iint":

GCC provides -fdiagnostics-parseable-fixits which shows the start and end lines and columns:
       -fdiagnostics-parseable-fixits
           Emit fix-it hints in a machine-parseable format, suitable for consumption by IDEs.  For each fix-it, a line will be printed after the relevant diagnostic, starting with the string "fix-it:".  For example:

                   fix-it:"test.c":{45:3-45:21}:"gtk_widget_show_all"

This applies to the gcc and avrgcc cpp checkers. I didn't test any of the other ones.

Please note that syntastic is dead, deprecation note is in the README.
Please also note that even when syntastic was alive, nobody really cared about the C/C++ checkers.  Syntastic is a general framework for putting error messages in a box; for C/C++ there are far more capable specialized plugins such as YCM.
Still, if you insist to fix this, patches are welcome.  Please make sure the fix is only applied to the gcc versions that support fix-it, and that it doesn't break checking with CLang.


ModuleNotFound error

while i execute "from models.transformer import ViT" it generates error saying "No module named 'models"
I am using the latest version of Pytorch,,,what may be the cause for this type of error??

If you are using the files locally then you would use "from models.transformer import ViT". but if you are using from PyPi, then you want to specify the package name first.
On my machine, I installed these modules locally through "pip install -e .", so i wouldn't have to reinstall them after updates

If you are using the files locally then you would use "from models.transformer import ViT". but if you are using from PyPi, then you want to specify the package name first.
On my machine, I installed these modules locally through "pip install -e .", so i wouldn't have to reinstall them after updates

i am implementing this in Google Colab,,and facing the same issue "ModuleNotFoundError"

i am implementing this in Google Colab,,and facing the same issue "ModuleNotFoundError"

I'm working on a fix, I would recommend copying the model class and using it directly for now

I'm working on a fix, I would recommend copying the model class and using it directly for now

The issue has been fixed with version 0.0.7, and the module can now be imported with "from transformer_package.models import transformer"

The issue has been fixed with version 0.0.7, and the module can now be imported with "from transformer_package.models import transformer"


different css outputs from serve and build script

Version
3.0.0-beta.3
Reproduction link
https://github.com/you06/vue-cli-css-issue
Steps to reproduce
The following css is in https://github.com/you06/vue-cli-css-issue/blob/master/src/components/HelloWorld.vue#L19
background-image: linear-gradient(top, #ffffff, #2196F3);

running yarn build, check the style from chrome, webkit compatible is auto added
background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#2196F3));
background-image: linear-gradient(top, #ffffff, #2196F3);

running yarn serve, check the style from chrome, there is no webkit compatible
background-image: linear-gradient(top, #ffffff, #2196F3);

What is expected?
I think the serve and build script should get the same output.
What is actually happening?
The css output is different.

Can't reproduce... the webkit prefixed version is there for me with yarn serve as well.


AdGuard breaks the Comics Scroller extension by AG injection

@Eugene-Savenko commented on Sun Dec 02 2018

Steps to reproduce

Install the extension from the Chrome Store: link
Open http://www.dm5.com/m5196/ it should open within the extension

Expected behavior

Screenshot:

Actual behavior

Screenshot:

Customer ID 2046937

Your environment

Environment name and version: 70.0.3538.110
Operating system and version: macOS 10.14.1, AdGuard 1.5.12
Filters: Base, Spyware, Social media, Annoyances, Safari, Russian, Annoyances, all up to date
HTTPS filtering: On

@Alex-302 commented on Tue Dec 04 2018
@Eugene-Savenko please send this rule to customer:
@@www.dm5.com/*/|$jsinject,extension,elemhide

The extension works through CoreLibs stand-alone proxy.


executor: fix macros in common.h

Bot found a bug when testing #474
tmp.c: In function ‘fail’:
tmp.c:39:41: error: ‘kRetryStatus’ undeclared (first use in this function)
   doexit((e == ENOMEM || e == EAGAIN) ? kRetryStatus : kFailStatus);
                                         ^
tmp.c:39:41: note: each undeclared identifier is reported only once for each function it appears in
tmp.c:39:56: error: ‘kFailStatus’ undeclared (first use in this function)
   doexit((e == ENOMEM || e == EAGAIN) ? kRetryStatus : kFailStatus);

LGTM


Error in moving to GPU

@Smerity  I tried the following code:
import torch
import torch.nn as nn

class Model(nn.Module):
    def __init__(self):
        super(Model, self).__init__()
        self.gru = nn.GRU(10, 10)
        self.gru = WeightDrop(self.gru, ['weight_hh_l0'], dropout=0.5)

m = Model()
# The following operation throws an error
m.cuda()

Can you take a look and see where the problem occurs? I am using PyTorch 0.2.

As noted in the README, PyTorch 0.1.12 is currently required, with one reason being that WeightDrop needs to be updated.
This is mentioned in https://github.com/salesforce/awd-lstm-lm/issues/3. Given the work shall take place in that issue, I'll close this one.


Could you please request to change the repository of Quicklisp?

Quicklisp doesn't follow this repository, so some important changes (ex. CCL support) are not available with Quicklisp.
https://github.com/quicklisp/quicklisp-projects/issues/946

+1


No object detected

I have run the above code and the model executed perfectly with no errors, but when I run the test part of the model then i get no output, i.e., there is no bounding box in the output image but the images are written with no errors.

For how many epochs did you train it for?

I also ran the code with 26 epochs and 80 validation sets . My result is also the same

In my case only rgb values are showing up when I move it over images

I would suggest increase your dataset size and number of epochs. Even i had faced the same issue initially. But I got the output after more than 50 epochs.

Exactly how many epochs did you train? also what is your bbox thresold in test_frcnn.py?

I ran about the network for about 65 epochs. I left the bbox threshold unchanged, i.e 0.8

val set was 1000? and how much time it took to train the data?

What is val set?
It took me 2 days with Quadro M6000

I mean length of epochs

I set the length as 500

Sorry for being late to the discussion, but I already figured out the problem.
Increasing number of epochs solved the problem for me.
Also can anyone tell me what should be the size of epoch and how many epochs to train for a dataset with 200 classes.

I set it for 55 epochs with 100 epoch length but it didn't work for me

sdroy101,  how many classes do u have in the training data, also how many training images do u have?

I trained it on pascalvoc2012

I'm also facing the same problem of objects not detected, after training data for 50 epochs and 125 iter per epoch, training data is of 450 images, and number of classes are 2 (excluding bg).

I have a confusion. What does epoch length signify in this code?

I have a confusion, what does epoch length signify in this code.
P.S. I am facing the same issue

epoch length is the number of iterations, the training examples will go through in a specific batch size.
For eg:
If you have 3000 training examples, and batch size of 10 (which means 10 training examples in a single batch), you would need to have 300 iterations to complete 1 epoch. So, your epoch length in this case becomes 300.
You can calculate the optimal epoch length for your training data to avoid overfitting/underfitting

Thank you so much for that, I thought the same thing, just needed to confirm. Also, after complete training, nothing is being detected. Num_classes = 79, Epoch = 200, Num_samples = 3000. Am i doing something wrong?

Which base network are you using for training your data? Have you tried loading pre-trained weights for that network?

Resnet50. No i haven't tried that. Does that affect the result to this extent?

You should try loading weights into the model for your network using [https://github.com/fchollet/deep-learning-models/releases](this link).
Just download the suitable weights for your network and input the path of weight file on the command line.
It would speed up your training process, and you can run more epochs in the same interval for the model to detect adequate features for localizing objects.

GPU: 1xTesla K80 , compute 3.7, having 2496 CUDA cores , 12GB GDDR5 VRAM

Also, it is using train_on_batch() method. Batch size is not known. How do I resolve this?

When you open train_frcnn.py on any editor (For eg. notepad++), Batch size here is basically the number of ROIs processed at once.
you can find it here:

Change the default value acc. to your GPU memory, coz higher batch size means more memory used.
I think batch size=16 would work good in your case

Thank you so much for that. Big Help! I am training the model with pre-trained weights for resnet50. Will see how that turns up

Its still not working!! :(

is there a specific image size we have to use?

Does the script throws an exception? Or a memory error?

I couldn't see any exception during training, it ended with a 'training complete' message. A question: do the training images have to have the bbox drawn or not?

A question: do the training images have to have the bbox drawn or not?

Purpose of training data and images is to train the ML model to detect features on test images.
Run the test_frcnn.py file to test the trained model on the test images.

is there a need to pass some argument while you run the test_frcnn.py file except the -p /path/to/test_data ?

epoch length is the number of iterations, the training examples will go through in a specific batch size.
For eg:
If you have 3000 training examples, and batch size of 10 (which means 10 training examples in a single batch), you would need to have 300 iterations to complete 1 epoch. So, your epoch length in this case becomes 300.
You can calculate the optimal epoch length for your training data to avoid overfitting/underfitting

So how does this work. Do you decide the batch size first and calculate the epoch lenght based on the batch size or is it the other way around and does the batch size changes when you change the epoch length

So how does this work. Do you decide the batch size first and calculate the epoch lenght based on the batch size or is it the other way around and does the batch size changes when you change the epoch length

Yes, we decide batch size first and then calculate the epoch length.
In addition, most efficient way of deciding batch size is to select it in the power of 2 i.e. 1, 2, 4, 8, 16, 32..... and so on.
Furthermore, epoch length is dependent on batch size by the below formula:
Epoch length = Number of training examples // batch size
// op is used to typecast the value to int, but you risk omission of some images. So, try using a batch size which perfectly divides the number of training examples.

@3ST4R Thanks a lot for the response. This makes everything clear here


recently,it is repeated for each character entered

I encountered with the same issue. I found the reason is that vs code get an unexpected value for the variable replaceSelection in function function perform(initial, editor, options, undoStop) .
Forcing replaceSelection to be true, I get what I want.
MY final solution is giving a corresponding setting in my settings.json file.
{
    // the other settings
    "sequence": {
        "replaceSelection": true,
    }
}

why it is Unknown Configuration Setting?

why it is Unknown Configuration Setting?

The actual setting in my version is:
"sequence.replaceSelection": true

Sounds like a Visual Studio Code version issue.
For the time being, it seems that it can be avoided by setting sequence.replaceSelection to true from the settings.

This setting seems to have been added in #1.

It seems to be a setting that exists to match the feeling of use with sequential-number of the Atom editor.

nice


PageTree.js currently throwing 404

Noticed after a nuget update that the Page Management screen was no longer working - only the "New Root Level Page" button appears and no existing pages appear.
Looking in the javascript console this message appears on loading the page:
Loading failed for the <script> with source “http://localhost:62453/csscsr/js/pagetree.js”.
Looks like it's related to the Web.Mvc project being merged into Web project.
I've made the change to fix it and added a test, please let me know if it looks okay. #246

Many thanks @scott-wi ! Merged your pull request. Great work, many thanks for the fix and the unit test.


Re-publish Contrib Guide with latest updates

specifically, the updates should include the update to the Contrib Guide introduced by 3fb7f14a5f4207673c0c650f76dca31316ad1040

resolved in PR #20 on saas-launchpad


Support for Sensitive/PII/Personal Data

It would be useful if you could tag schema properties and parameters as being sensitive or PII specific so that these could be tagged appropriately in API docs.

You could use an extension such as x-pii: true.

That's the exact extension we are going with actually but would be ideal to have it incorporated in the spec and to standardise on it so that all API doc generators handle it the same way i.e. swagger, widdershins, readme, apigee etc

A good candidate for a ui / forms / documentation vocabulary to extend JSON Schema.

@MikeRalphson does such a vocabulary exist or is there a suitable place to get one started?

@galvo formal extension vocabularies will be a thing in OAS 3.1 (with JSON Schema draft 2019-09 or later).  So there aren't any yet but there is a lot of interest.
We've designated https://github.com/json-schema-org/json-schema-vocabularies/issues as a place to hold ideas, although the JSON Schema organization will not be acting on those directly.  It is more of a clearinghouse for others to figure out what might be useful.
It is not necessary for a vocabulary to be proposed there, it's just where we moved all of the keyword proposals from the JSON Schema spec repo that weren't going into the core or validation spec.

It would be good for sensitive information not to be part of what gets logged also - notably not to be considered in the toString method of java implementations for example

It would be good for sensitive information not to be part of what gets logged also - notably not to be considered in the toString method of java implementations for example

has anything happened about this issue? it would be really useful

I agree this is a usefull feature (especially in EU with all the GDPR regulation)
this would allows gateway , and logger to not take decision weither it should be log or not for instance
also for documentation sharing with the party using the API is subject to regulation for instance as manipulating sensitive data
notice it can be tricky as PII definition can vary from a regulation to another ...
also in some case a unitary field is not pii but the combination of is .
still having simple flag true/false can handle most of the case usually

We already use format: password for obscuring things in UI.  A format: pii that applies to any data type (because anything, including whole objects or arrays, might be sensitive) would be an easy solution and could go in the format registry (which can be updated at any time) instead of the spec itself.
Would this work?  If so, if someone (@LasneF ?) could open a PR on the regstry in the gh-pages branch of this repo?

We already use format: password for obscuring things in UI. A format: pii that applies to any data type (because anything, including whole objects or arrays, might be sensitive) would be an easy solution and could go in the format registry (which can be updated at any time) instead of the spec itself.
Would this work? If so, if someone (@LasneF ?) could open a PR on the regstry in the gh-pages branch of this repo?

For me it wouldn't, as PII represents a different dimension than format. i.e. any fields which are PII would also have a format (e.g. a customer email address format: email).

@AdamCoulterOz  i agree with your statement, PII is not a format, but more associated to data handling
notice than password , as well is more about data handling than data format
as you mentionned a given a field birthDate can be set as format date , but can be considered as pii , but dropping format date to format password looks wrong
@handrews  , in fact there is a gap around data handling information , how a consumer should handle a data (that is distinct from the format) , data handling can be around display (like password , but could be also dropdown list or  )  or in the pii context can be about storage requirement, and handling (removed from log , not fowarded to 3rd party )
so can be a bigger topic .
notice that PII is a bit difficult to defined and can be set differently among the regulation . to be more foggy the term sensitive-data can be used, it would embrace a larger spectrum
could be either something like x-sentitive : true
or better if we considers extensibitiliy
x-data-classification :  enum with sentitive , GDPR , CCPA , etc  ... yet another registry ?
or just data-classification  can be adopted , it might be a topic for @moonwalk project , but for OAS 3.2 adding a basic extension data-classification would great en show case the concern about OAI to data security , data privacy and so  on

idk why the bot marked this "no recent activity" 2 hours after a new comment was added.  I've removed the bot labels.

@LasneF the main problem here is that we're talking about the Schema Object, so this is a JSON Schema extension, not and OpenAPI extension.  OpenAPI has retained a few JSON Schema extension keywords in 3.1, but we've generally tried to get out of the business of extending other specs.  JSON Schema draft 2020-12 (used in OAS 3.1) allows defining extensions with its own mechanism that does not require OpenAPI involvement, which is preferable.  Also, in JSON Schema 2020-12, unknown keywords SHOULD be treated as annotations (like title or readOnly), which is what you'd want for any PII keywords.

@handrews  you are right,  that should fall at the end into the JSON schema perimeter ,  @jdesrosiers would it be something ready to include ?
=> we may follow / create an item in the https://github.com/json-schema-org/json-schema-spec  and annoy our friends :)


ZoomToFit does not invoke ZoomChanged event

Hello,
I noticed that the ZoomToFit method doesn't invoke the ZoomChanged event. This looks like a bug to me since the method changes the Zoom value.

You're right, it only triggers the PanChanged event.
Thanks for letting me know, it will be fixed in the next version!

This is now available in 2.1.4!


Missing length(path) function

Hi, I'm missing length(path) function.
So far it can be replaced by size(nodes(path)).

@michael-simons Thanks for such quick fix! Could you also backport it to 2022.8.x, please?


The donations URL on perkeep.org is invalid

The current donations URL on perkeep.org website is invalid due to deprecated format. Coinbase donations are via newer commerce.coinbase.com methods.
The updated donations URL on perkeep.org website would need to be of the form:
https://commerce.coinbase.com/checkout/[unique id]

donation links removed in 0683145d61


Petitions have fixed durations

As per: https://www.pivotaltracker.com/story/show/94483442

:shipit:


[BUG]

Issue is affecting probably the vast majority of Gen 8 HPE Servers. It stops in Step 4 and needs manual actions.
The script did not generate any warnings before to alert me prior to starting the upgrade.
It will cause the server to have no connection and experience serious problems with its console.
Steps had to be taken in order to resolve this.
Relevant guide on how to remediate the issue is here : https://forums.cpanel.net/threads/elevate-on-gen-8-hp-enterprise-servers-goes-wrong.713033/
In order to reproduce it you can run it on a HPE Gen 8 server with broadcom NIC's.
Kindly upgrade the elevate script to check if this is a Gen 8 server with the specific drivers needed.
If this is the case, simply download the needed rpm before upgrade on step 3 install the needed rpm on the system.
It must also make the needed changes if it is needed on the NIC configuration as well as the grub options.
If the script takes care of the above, everything should be ok.
After we applied the fixes as we explained them in our forum post, everything worked flawlessly. The elevate was able to complete and no further errors or problems were detected.

Honestly I suspect this issue would be present even on non-cpanel elevations using leapp if the issue at hand is needing to reinstall a missing driver for a NIC.
Whatever solution we think of doing would probably be best targeted at almalinux's fork of leapp. This isn't to say we won't consider doing the work, but certainly if we do then it would be over on that side of things rather than in the scope of the cpanel-elevate script (other than perhaps a temporary workaround for this issue until a fix for that gets accepted in the upstream leapp tooling).
Any thoughts on this @toddr ?

Thanks for the follow up Andy @troglodyne
Indeed the issue is more wide regarding RHEL 8 derived operating systems since RHEL left out this driver and I believe almalinux should look into this. If you have a way to communicate this issue with them it would be great.
Gen 8 servers are still very widely used , not just in the Hosting industry. And with the current vendor shortages , these machines will probably serve for at least another 3-4 years. To be honsest, since almalinux8 will have support until 2029 and these are still powerfull machines, seems reasonable.
Without this fix pleople will be stranded with servers that are inoperative in the midst of an upgrade.
Also some data centers don't provide their customers directly with iLO , so it is important for this to be implemented as a check. You can't foresee the issue when you run the preupgrade checks. No warning will be given with the current elevate script.
Thankfully detecting a Gen8 server is very easy and reliable via dmesg
#dmesg | grep Gen8
[    0.000000] DMI: HP ProLiant BL460c Gen8, BIOS I31 05/21/2018

and the solution imho should also be relatively easy to implement.

I accidentally closed it.


✖ No binary found matching your system. It's probably not supported.

hi, Any thoughts on what I might need / be doing wrong?
Ubuntu 14.04 x86.
% sudo npm install -g elm
[lots of stuff and then]

<EMAIL_ADDRESS>postinstall /usr/local/lib/node_modules/elm
node lib/install.js

✖ No binary found matching your system. It's probably not supported.
✖ elm pre-build test failed
✖ No binary found matching your system. It's probably not supported.
✖ elm-doc pre-build test failed
✖ No binary found matching your system. It's probably not supported.
✖ elm-make pre-build test failed
✖ No binary found matching your system. It's probably not supported.
✖ elm-package pre-build test failed
✖ No binary found matching your system. It's probably not supported.
✖ elm-reactor pre-build test failed
✖ No binary found matching your system. It's probably not supported.
✖ elm-repl pre-build test failed
<EMAIL_ADDRESS>/usr/local/lib/node_modules/elm
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

$ file which elm-doc
/usr/local/bin/elm-doc: symbolic link to `../lib/node_modules/elm/bin/elm-doc'
t$ ls /usr/local/lib/node_modules/elm/bin/
elm*  elm-doc*	elm-make*  elm-package*  elm-reactor*  elm-repl*

I'm not an expert in npm matters, but: Can you also show us what kind of file that latter elm-doc is? Is it a true binary, or a (shell) script of some sort? In the latter case, what is its content?
So, what are the outputs of ls -la /usr/local/lib/node_modules/elm/bin/elm-doc and cat /usr/local/lib/node_modules/elm/bin/elm-doc, respectively?

same sort of thing for all the elm-* binaries e.g. elm-make:
$ which elm-make
/usr/local/bin/elm-make
$ file which elm-make
/usr/local/bin/elm-make: symbolic link to `../lib/node_modules/elm/bin/elm-make'
$ file /usr/local/lib/node_modules/elm/bin/elm-make
/usr/local/lib/node_modules/elm/bin/elm-make: Node.js script, ASCII text executable
$ cat /usr/local/lib/node_modules/elm/bin/elm-make
#!/usr/bin/env node
'use strict';
var spawn = require('child_process').spawn;
var bin = require('../')['elm-make'];
var input = process.argv.slice(2);
spawn(bin, input, {stdio: 'inherit'})
.on('exit', process.exit);
$ which node
/usr/bin/node
$ file which node
/usr/bin/node: symbolic link to `/usr/bin/nodejs'
$ node -v
v0.10.25

$ elm-make vessel.elm
execvp(): No such file or directory
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:988:11)
at Process.ChildProcess._handle.onexit (child_process.js:779:34)

Is there also a directory /usr/local/lib/node_modules/elm/vendor? Does it contain actual binaries? Are they runnable on your system?

Thanks for your help. There's is not any vendor folder at all in /usr/local/lib/node_modules/elm.
$ ls /usr/local/lib/node_modules/elm/
bin/  index.js	lib/  node_modules/  package.json  readme.md  share/
$ find /usr/local/lib/node_modules/elm/ -name elm-make
/usr/local/lib/node_modules/elm/bin/elm-make
(nothing else found)

Ubuntu 14.04 x86.

This repository doesn't include any pre-built binaries for 32bit Linux. https://github.com/kevva/elm-bin/tree/3c80f1c3d155fecc025bd7fb092907998eb300b3/vendor

So there you have the problem. That vendor directory should contain the binaries for your OS, but the installer does not have access to binaries for your specific case.

$ node -v
v0.10.25

@raould You are using the really older Node. Regardless of this issue I strongly recommend using the latest io.js or Node.

Thanks everybody.
Is there no intention of supporting x86?
If not it would probably be nice to have clear messaging up front and/or clearer error messages :-)

I don't know, I'm not using this myself. But if someone is willing to compile binaries, then sure.


New version: GMT v0.42.4

Registering package: GMT
Repository: https://github.com/GenericMappingTools/GMT.jl
Created by: @joa-quim
Version: v0.42.4
Commit: f7bf1c54180bb22a9c06bb445f5e4fe446ff809a
Reviewed by: @joa-quim
Reference: https://github.com/GenericMappingTools/GMT.jl/issues/919
Description: Generic Mapping Tools Library Wrapper for Julia

The failure is not the Package's fault. Can this be merged?
ERROR: LoadError: could not load library "/tmp/jl_PZDWC5/conda/3/lib/libgmt.so"
/opt/hostedtoolcache/julia/1.7.3/x64/bin/../lib/julia/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /tmp/jl_PZDWC5/conda/3/lib/./libgdal.so.31)


docs: add jsdocs, documentation and docker

Coverage remained the same at 100.0% when pulling d1d4710853c920dc5d9028387abc9e563fae14df on prtksxna:docs into<PHONE_NUMBER>0e03bce6f7593b57c498b9d85bd156 on decisively:master.


New Plugin API

Following on from working on #598, I have a question about plugin configuration.
The player plugin expects a playerSetup function in the game config. Do you think there should be a more specific namespace for plugin configuration? Or a way of cleanly associating plugins with their configuration, so that methods don’t clutter up the main game config object? For example, a pluginsConfig object could be keyed by plugin name, and hand the value of that field to the plugin methods:
// game configuration
const game = {
  plugins: [PluginPlayer],
  pluginsConfig: {
    player: {
      setup: (playerID) => ({}),
    },
  },
}

// plugins/plugin-player
setup: ({ ctx, config }) => {
  // use config.setup()
},

This could also make it easier to enforce correct types for Typescript users. For now, I allowed any arbitrary key–value pair in the game config, but that’s not great, because it reduces type-checking for misspelled keys.
An alternative might be to encourage a pattern where plugins that need configuring provide a plugin factory that takes the configuration options and returns a plugin, with no need for custom fields in the game config:
const game = {
  plugins: [
    PluginPlayer(setupFn),
  ],
}

Yes, I think we should stop allowing arbitrary keys in the game config.
The pattern of passing in args to a plugin factory sounds good to me, and would require almost no changes to boardgame.io.  We'd just need to migrate PluginPlayer.


AutoConfiguredMoqCustomization and read-only properties

This issue relates to the problem described here: AutoConfiguredMoqCustomization and unsettable properties
Repro
public interface Interface
{
    string Property { get; }
}

var fixture = new Fixture().Customize(new AutoConfiguredMoqCustomization());
var a = fixture.Create<Interface>();
Assert.NotNull(a.Property);

Passes with Moq 4.2.1409.1722 or lower
Fails with Moq 4.2.1502.911 or greater
Background
The setup of Interface in the repro is roughly equivalent to these 3 steps:
var a = new Mock<Interface>();

// MockVirtualMethodsCommand - sets up all non-void methods,
// including getters (e.g. the auto-generated `get_Property`)
a.Setup(x => x.Property).Returns("test");

// StubPropertiesCommand
a.SetupAllProperties();

// AutoMockPropertiesCommand - sets all properties
// - skipped since there are no settable properties -

Assert.NotNull(a.Object.Property);

Problem
It appears that, before Moq 4.2.1502.911, the visible side-effects of SetupAllProperties were:

Stub get-set properties
Initialize get-set properties with a default value - thus, overriding any previous setups.

Since 4.2.1502.911, SetupAllProperties now does this:

Stub get-set properties
Initialize all properties with a default value - thus, overriding any previous setups.

I see this as a breaking change introduced by Moq.
Whether it was intentional or not, I don't know - but even if it is a bug, judging from past experience, I don't think it'll be addressed anytime soon since this is kind of an edge case.
Should we address this issue and provide a fix? (e.g., by reordering our setup steps)

Shouldn't we raise an issue to Moq? This looks like a Moq-related issue to me. I could be wrong though...

@moodmosaic Agreed - done so here: moq/moq4#196

@dcastro :+1:

As usual an exemplary bug report, @dcastro :+1:

even if it is a bug, judging from past experience, I don't think it'll be addressed anytime soon

Unfortunately, I'd tend to agree with this assessment, but let's give the Moq team a couple of days to prove us wrong.
If, after a couple of days, nothing has happened in Moq, I think that we should address the issue here, if we can (and it doesn't pull us in the wrong direction).

While I've added the label bug to this issue, I haven't added the label jump in. This shouldn't be taken as an indication that none except the 'core team' must address this defect.
The actual reason I didn't add the jump in tag is that I'm not sure whether or not this issue is easy to tackle for newcomers.
@dcastro, you know this part of the code base batter than I do. Do you think we should add the jump in tag?

Thanks guys!
@ploeh Well, I'm not sure what the criteria is for adding the jump in tag, so I can only speak as to how straightforward the solution might be.
And I can't think of a straightforward solution, so far. My first thought was to switch the order of the setups - (1) call SetupAllProperties and then (2) setup all non-void methods. But that wouldn't work either, because step (2) would setup getters as well, overriding the "stub behavior" introduced by step (1) and therefore rendering it useless. It seems like these two steps are stepping on each other's toes.
So, I think this deserves a bit of thought.
Of course, I can give this a try myself, if we don't get a response from the Moq team soon, as you said.

For the record, the jump in tag is described here.

@dcastro Thanks for mentioning my stackoverflow's question and your support

Closing this due to inactivity.

Sorry for bringing this up, but is there any workaround? It doesn't seems that Moq team will fix this anytime soon.

Still no work around? The codebase I'm currently on is full of get-only properties on interfaces so could really use this

@MichaelLogutov, @EsbenSkovPedersen, have you considered sending Moq a pull request addressing the underlying issue?

@ploeh fair enough. I'll see what I can do. Btw thanks for an awesome library. Saves us so much time.

The issue has since been closed by the Moq team and described as their desired behaviour.
See: https://github.com/Moq/moq4/issues/196#issuecomment-312506229

@nphmuller Thanks for the follow up. That means that we should fix this on our side as they will not change the behavior.
I'm not too familiar with Moq and don't use it. Therefore, let's see whether somebody with knowledge could fix this.


[Functions] Fix iOS exception message

When an error is returned in a cloud function (e.g. HttpsError("internal", "This is the error message")), the actual iOS implementation incorrectly propagates the message to FirebaseFunctionsException.
Rather than set message = message, it sets message = theNSError.toString() which produces an Objective-C string representation of the error. This prevents us from being able to parse that field reliably, since it is in an unstructured format and is inconsistent between Android and iOS.
This change brings iOS in parity with Android, where the exception's message matches that of the error returned by Firebase.
e.g. message = "This is the error message"

@walkingbrad thanks for the clear description of the issue!


Multiple crashes when using dir

I wanted to make a test example to grab a random file and hash it and see what happens but i cant use dir at all.
(println (dir "~/"))
terminated by signal SIGSEGV (Address boundary error)
The error above also happens if you try to open a file with dir
(println (dir "/"))
free(): invalid pointer
terminated by signal SIGABRT (Abort)
(println (dir "."))
corrupted size vs. prev_size
terminated by signal SIGABRT (Abort)

I am not able to reproduce any of these crashes under MacOS, I'll investigate under Linux later, but this might just be a Linux specific problem.

just in case this could be related i compiled crowlang with -ldl

i mess with dir a but more and tried
(dir ".')

(defvar x (dir "."))

both of the above executed without crashing
it was only when i tried to print the variable or the dir output directly do i get:
corrupted size vs.prev_size

This may be an issue with arrays and array printing, can you try to print any other array value. Try these and see if any of them also crash
(println (array 1 2 3))

printing those arrays works but i also get some unprintable characters to
0�Q"�(array 1 2 3)
(array "hello" "world")
����U(array "hello" "world")

That output is what is expected, there was a recent overhaul in how these things get printed. However the garbage characters are not what should be getting printed.

Have a fix for it, it seems like a buffer wasn't having its initial value set to NULL. Completely escaped me since it seems like MacOS allocates memory on zero'd pages, where Linux (and I assume windows as well) do not. Or at least the issue never happened to me. I can confirm that it fixed issues on my system, but I'll see if it fixes the issues for you before closing.

(array 1 2 3)
(array "hello" "world")
(array "hello" "world")
i believe the arrays print out as they should now
and dir works now

I believe ~ is populated by your shell, dir uses a system call, so it would not work there. Eventually if #54 gets picked up, we might be able to alias for it though, just like a shell would. I am going to mark this issue as closed since it seems like everything is resolved.


Update d3 dcapi example

Good catch on the need to call Release().  Added that to the current pull request.


Album and artist images are not being displayed.

Are they supposed to be automatically grabbed from plex or is that what the imgur setup is for. I went through the process of getting the client id and tried uploading to imgur but im not quite sure if i am doing it right. Also I did make sure the picture is a jpg. I have tried enabling and disabling albumimage and artistimage. I also tried enabling and disabling imgur.

It suddenly


Shader not rendering in SLZURP

lilToonBugReport-2022-09-30_09.53.55.txt
Might be a little early to try, but am attempting to import a VRCHAT avatar over to Bonelab and the shader is turning pink as if its not supported, its currently running SLZ URP 12.1.6
I also get this error on import:
Shader error in 'Hidden/lilToonGem': redefinition of 'sampler_linear_clamp' at Assets/lilToon/Shader/Includes/lil_common_input.hlsl(11) (on d3d11)
Compiling Subshader: 0, Pass: SHADOW_CASTER, Vertex program with
Platform defines: SHADER_API_DESKTOP UNITY_ENABLE_DETAIL_NORMALMAP UNITY_ENABLE_REFLECTION_BUFFERS UNITY_LIGHTMAP_FULL_HDR UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_PASS_SHADOWCASTER UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BLENDING UNITY_SPECCUBE_BOX_PROJECTION UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS
Disabled keywords: DOTS_INSTANCING_ON INSTANCING_ON SHADER_API_GLES30 UNITY_ASTC_NORMALMAP_ENCODING UNITY_COLORSPACE_GAMMA UNITY_ENABLE_NATIVE_SHADOW_LOOKUPS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_RGBM_ENCODING UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_DXT5nm UNITY_NO_FULL_STANDARD_SHADER UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_UNIFIED_SHADER_PRECISION_MODEL UNITY_VIRTUAL_TEXTURING _CASTING_PUNCTUAL_LIGHT_SHADOW

Thank you for reporting the bug.
I have fixed this error in the dev branch.
You can use the fixed version by importing https://github.com/lilxyzw/lilToon.git?path=Assets/lilToon#dev from UPM.

Also the outlines are not working in the game

It works by setting RenderQueue to Transparent. The problem comes from Depth Prepass, which causes Opaque or Cutout materials to only render polygons that match the pre-rendered depth. Therefore, when using outlines, the outline depth must also be output, but URP does not allow multi-pass shaders. Geometry shaders are one solution to this problem, but they should not be used because they degrade performance, and it is better to change the RenderQueue. For general game development purposes, the URP Renderer Feature can be used to solve this problem.


fix(amplify-provider-awscloudformation): infinite loop on stack failure

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@attilah Good catch


iOS only: hive with encryption clearing database, app includes db usage in background

Has anyone ever experienced this?  I will try to get an MVCE but i wanted to throw it out here before i forget because this is where "Get help" from the documentation went. :)

Encrypted with flutter_secure_storage for the key
hive version: 2.2.3
hive_flutter: 1.1.0
flutter_secure_storage: "8.0.0"

from pubspec.lock
mac app uses Timer() to have db access every x minutes
iOS app uses https://pub.dev/packages/flutter_background_geolocation for db access when location changes.

I did a test project and this happened to me the other way. I opened an encrypted box and stored some values, then next time I opened the box without encryption and when I check the  box.values they are empty.
Is this expected in any way? I was expecting that I could check whether the db is encrypted by getting some garbage data.

We worked with this a long long time because of iOS and Flutter secure
storage
Hive should have better documentation around this and throw an exception
rather than corrupt/delete data IMHO but I guess they just consider it your
responsibility to use the right key.
Your use case sounds a little different but similar.
I suspect it is expected behavior.
There probably isn't any way to know if the box is encrypted any more than
knowing if you have the right key
I mean unless of course you know the filename and put the file in a string.
It's "just" a file right?
....sent from my phone
On Tue, Apr 2, 2024, 6:07 AM ig-garcia @.***> wrote:

I did a test project and this happened to me the other way. I opened an
encrypted box and stored some values, then next time I opened the box
without encryption and when I check the box.values they are empty.
Is this expected in any way? I was expecting that I could check whether
the db is encrypted by getting some garbage data.
—
Reply to this email directly, view it on GitHub
https://github.com/isar/hive/issues/1276#issuecomment-2031718836, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXBGYONJE2J6CDNSLYPSV3Y3KGQ5AVCNFSM6AAAAABDMSUQOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZRG4YTQOBTGY
.
You are receiving this because you authored the thread.Message ID:
@.***>


Characters in file names

I'm working on a project that has some files with scores in the names. The lcov parser is truncating the file names and the process fails when trying to process that file. If I replace the regex to accept any character it works fine. Why is the regex restriction necessary?
https://github.com/grodowski/undercover/blob/8f9cb32094d1669d67ff957337f95243c4d15ff2/lib/undercover/lcov_parser.rb#L30

Thanks for submitting this issue! The \w match is a bug – turns out JS and rust LCOV parsers just match the whole line. Feel free to open a PR (otherwise, I should be able to fix this very soon!).

Thanks, @grodowski. I will open the PR.


Insert command at button location

I've set up Button for the new Obsidian-ICS plugin. It only works in edit mode and will insert the feed wherever the cursor is. It would be great if it could work at the location of the button.

A way to do this would be to run the command in a templater template and then use a insert template button


Update SkipFirewallConfiguration to have Dynamic upgrade policy

@tomvcassidy

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Add support for hypershift-dump

This adds support for hypershift-dump.  As hypershift jobs create more than one hosted cluster, this adds support for multiple dumps.

Looks great, thank you!

Deployed to production


UI/UX enhancements

Crafting a more visually appealling  UI while taking User experience into account

[ ] Streamline the use of fonts (size, font-family, color, headings...)
[ ] Leverage Material Design (for icons, buttons, dialog boxes...)
[ ] Redesigned splash screen
[ ] Use animations on all buttons, and transitions animation
[ ] Redesign the login screen (make it less cluttered)
[ ] Better logo
[ ] Better toast messages


Threadx modules kernel stack memory leakage

Describe the bug
tx_thread_module_kernel_stack_start is allocated at _txm_module_manager_thread_create from the object pool, but is not released at thread delete function (it is deleted upon module stop when all objects of the module are deleted)
To Reproduce
Run from module:
    while(1)
    {
		status = txm_module_object_allocate(<thread_ptr>, sizeof(TX_THREAD));
		assert(TX_SUCCESS == status);

		status = tx_thread_create(<thread_ptr>, "my thread", <my_thread_func>, 0, <stack_ptr>,
                <stack size>, <priority>, <priority>, <time slice>, TX_DONT_START);
		assert(TX_SUCCESS == status);

		status = tx_thread_terminate(<thread_ptr>);
		assert(TX_SUCCESS == status);

		// This system call deallocating also <thread_ptr>, so will need to allocate it afterward
		tx_thread_delete(<thread_ptr>);
		assert(TX_SUCCESS == status);
    }

Expected behavior
tx_thread_module_kernel_stack_start should be released upon thread delete.
Impact
Can leak object pool out of memory, which cause no more option to create OS objects from module
Logs and console output
Additional context

Workaround: add to tx_port.h (or tx_user.h)
extern UINT  _txm_module_manager_object_deallocate(VOID *object_ptr);
#define TX_THREAD_DELETE_PORT_COMPLETION(t) _txm_module_manager_object_deallocate(t -> tx_thread_module_kernel_stack_start);


Identifier 'global' has already been declared when using SvelteKit due to outdated version on npm registry

Edit (August-30@4:26 PM UTC)
I've managed to resolve this issue by installing the repository build directory using npm install vincjo/svelte-simple-datatables.

Hi,
I've tried this library, and it's great, but I've tried using it with SvelteKit and it's not working due to the following error Identifier 'global' has already been declared:

I've found an issue #29 and a PR #30 addressing this bug, but I'm using the latest npm version and I got this bug, I've installed the library as a dev-dependency as instructed.
Any help would be appreciated.
Thanks,

The PR changes don't seem to be added to the library code.
This image is from the latest npm version

I managed to resolve this issue by installing the repository build directory using npm install vincjo/svelte-simple-datatables.
I'll rename this issue to be more accurate, then close it.

Well, I thought it would be better to re-open the issue, because I realized someone else using SvelteKit might stumble upon this bug, so until the npm registry is updated, I'll keep this issue open.

Changed as "globalFilter" identifier


Can the trading mode set to live?

Hi @mvberg,
Thanks for this and this is very helpful. I successfully build the image, run a container and view it in VNC, all perfectly well as documented.
Now, I'm wondering how to use the live trading mode? As you know, in live trading mode, we need to supply additional info in 2-fac mode, e.g. code sent in mobile or the printed card random numbers.
I know once we started a container, run vnc, do some modification in IB gateway settings, then wen can build a new image with these changes. But I still don't see how entering of 2-fac code can be done.
Thanks,
Marvin

@marvinvperez sweet, nice to hear.
so, last i checked with the IBController project (not sure if they are still maintaining this), they did not want to touch 2FA - i know you can disable it, but this is risky ...
that said, i had an interesting automated solution in the past - it revolved around "captcha busting" - essentially:

database your secret codes, keyed by "captcha" code
grab a screenshot of the 2FA image that is prompted after user/pass login
upload it to DeathByCaptcha via API
wait for the image translation (or you could do this yourself)
take the response code, lookup the "secret", enter it in the Swing input box, and in you're in

of course this is assuming IB's 2FA impl is still based off that little pocket card? though, reading here it seems to now be SMS based (which is not great) https://github.com/ib-controller/ib-controller/issues/201 ?
if they still have the printed card offering, LMK. i will look for the code and share it in this repo.

@mvberg Thanks for quick response. Yeah, the printed card still work along with new sms based. From the login window you can choose which one you want to use. It will be great if you share that repo of how to implement the bullets you describe. I can imagine your pretty helpful repo now will be more useful if we add this solution to handle the "captcha" for live trading mode. I have a team member that can help out if needed.

I'll just disable the 2FA as a temporary solution. I will close this issue but still, look forward to seeing a solution on how to handle the "captcha".


Search settings not working when invoked using the extension settings button

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.58.2
OS Version: 10.0.19042 Build 19042

Steps to Reproduce:
1.Pick an extension and open the extension tab
2.Click on manage button and choose extension settings and the search result isn't shown

This should have been fixed in 1.59 (was just released)


I have added images to y axis label instead of text. but it is blinking some times every stop animations
Reproducible sample
don't have
Optional extra steps/info to reproduce
1.add the images for y axis label
2.update the options every secounds
3. you can see images blinking
Possible solution
No response
Context
No response
chart.js version
v5.2.0
Browser name and version
No response
Link to your project
No response

A reproducible sample is required otherwise we can't help you, please add one

Closing since there is no reproducible sample


Night

Song Name
Tu falta de querer
Artist Name
Mon Laferte
Source
Youtube
Youtube Link
https://youtu.be/6pu2Rij3U_c?si=USnjl8bXcFEpalhG
Direct File Link
No response
Song ID
856484
Start Offset [ms]
0
Extra
No response

Accept
El vie., 9 de agosto de 2024 6:33 p. m., auto-nong[bot] <
@.***> escribió:

Thanks for contributing!
Someone will soon review your request.
Here is the JSON result for the reviewer:
{
"name": "Tu falta de querer",
"artist": "Mon Laferte",
"source": "youtube",
"startOffset": 0,
"yt-id": "6pu2Rij3U_c",
"songs": [
856484
]
}
To accept the request, a reviewer needs to write "accept".
—
Reply to this email directly, view it on GitHub
https://github.com/FlafyDev/auto-nong-indexes/issues/2616#issuecomment-2278878904,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKN5T5JGGD5YVQSQFVE7BWLZQVGULAVCNFSM6AAAAABMJI34KSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZYHA3TQOJQGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


[ConstraintSystem] Infer whether locator is related to return of a si…

…ngle-expression function
This information could be inferred from state recorded in a
constraint system, so to need to record that in the
constraint locator as well.

@swift-ci please smoke

@swift-ci please smoke test

@swift-ci please smoke test Windows platform

@swift-ci please test Linux platform

Build failed
Swift Test Linux Platform
Git Sha - e254f1c3e2d13a95384d024a6ad5599ba02e6d18

@swift-ci please clean test

Build failed
Swift Test Linux Platform
Git Sha - e254f1c3e2d13a95384d024a6ad5599ba02e6d18

@swift-ci please test Linux platform

@swift-ci please test Linux platform


Make CEF the primary user interface [PRIORITY/IN-PROGRESS]

The goal is to switch the user interface from cubescript+g3d to CEF+HTML5+CSS+JavaScript.

[x] Upgrade CEF to 'branch 2526' (therefore requires plattform repository 'branch 2526')
[x] Upgrade CEF to 'branch 2704' (therefore requires plattform repository 'branch 2704')
[ ] Stable initialization of CEF
[ ] Stable shutdown of CEF
[x] CEF rendering in a separate subprocess
[ ] autodetect the subprocess binary
[x] Resizing the (CEF) user interface layer (fullscreen / screen resolution changes)
[x] Synchronizing the Inexor Tree from Inexor (CPP) via protobuf-IPC to Inexor (NodeJS)
[x] REST API from Inexor (NodeJS) for the user interface
[ ] User interface component / service for accessing the Inexor Tree via REST
[ ] SDL2 input (= key and mouse) event propagation from Inexor (CPP) to CEF
[ ] User interface state (menu und hud states) propagation from Inexor (CPP) via CEF-IPC to the  HTML5+JavaScript user interface
[ ] Rendering of the mouse cursor + resize the mouse resolution
[ ] Responsive user interface as a single page application
[ ] Main menu background -> HTML5
[ ] Menu framework / CEF Layer for Menus and Webapplications
[ ] Loading menu definitions from JSON files / Define menus in the Inexor Tree
[ ] HUD framework / CEF Layer for HUDs
[ ] Loading HUD definitions from JSON files / Define HUDs in the Inexor Tree
[ ] First set of default menus: main menu, multiplayer, options, ...
[ ] GameStateHUD
[ ] ScoreBoardHUD
[ ] Console WebApp
[ ] Remove cubescript console rendering
[x] Remove g3d menu rendering
[x] Remove g3d cursor rendering

This is a rebase/fork of karo+fohlen+hanck/fix_cef against the current master. Consider closing it.
Please consider that we're only getting at the final stage, and there is still broken stuff that we will fix in the upcoming weeks!:)

Why is upgrading CEF to 2526 striked through?

Because it's done?

@aschaeffer It is not merged nor tested?

Closed in favor of #350


Versioned dependencies (via --dep) are not found

I have the following WAC document:
package<EMAIL_ADDRESS>targets<EMAIL_ADDRESS>
let c = new root:component { ... };

export c...;

I resolve it like so:
wac resolve aaugh.wac --registry wa.dev --dep "root:component=./target/wasm32-wasi/release/calculator_spin.wasm"

And life is good.  But if I change root:component to have a version:
package<EMAIL_ADDRESS>targets<EMAIL_ADDRESS>
let c = new<EMAIL_ADDRESS>{ ... };

export c...;

and invoke with the version:
wac resolve aaugh.wac --registry wa.dev --dep<EMAIL_ADDRESS>
I get:
error: failed to resolve document

  × package `root:component` does not exist in the registry
   ╭─[aaugh.wac:3:13]
 2 │
 3 │ let c = new<EMAIL_ADDRESS>{ ... };
   ·             ──────────┬─────────
   ·                       ╰── package `root:component` does not exist
 4 │
   ╰────

(If I revert the command line to the unversioned, uh, version, same error.)
Is this behaviour intentional?  If so, could the error indicate more specifically what the user should do to fix it?

This might be the relevant line that needs to be revised: https://github.com/bytecodealliance/wac/blob/main/crates/wac-resolver/src/fs.rs#L37
Some(path) if key.version.is_none() => { might need to drop the conditional requirement that version not being specified in order to use the overrides file path.
@itowlson let me know if that fixes

@calvinrp Thanks for looking into that.  The fix you suggest worked for me (in my one test case!).  I haven't explored if it impacts anything else though - @peterhuene do you recall why you specified that condition?

A PR could add additional test cases and document the expected usage patterns. Seems safe to do.


feat: add ipython autocomplete support for MetaflowObject instances

relates to #1114
The autocomplete for objects works with this simple addition of returning children ids. Suggestions when initiating classes like Flow(" could be helpful too but I couldn't find a way to do this. But for the class instances of Flow, Run, Step, Task, the autocomplete works and for reference the options are printed by calling the function that ipython would use.
Any thoughts @romain-intel ?
from metaflow import Flow, Metaflow

Metaflow().flows
>>> [Flow('HelloFlow'), Flow('MovieStatsFlow')]

flow = Flow('HelloFlow') # No autocomplete here
flow._ipython_key_completions_()
>>>
['1680815181013681',
 '1680815178214737',
 '1680432265121345',
 '1680430310127401']

run = flow["1680815178214737"]
run._ipython_key_completions_()
>>> ['end', 'hello', 'start']

step = run["hello"]
step._ipython_key_completions_()
>>> ['2']

task = step["2"]
task._ipython_key_completions_()
>>> ['name']

data = task["name"]
data._ipython_key_completions_()
>>> Error (since no childern), so autcomplete just list unrelated things

This looks great. I did do some research about adding in constructor but yes, it's not straightforward so we can merge this. Thanks for the contribution.


Splash Screen

Contains a welcome message, a scoreboard button, and a new game button

Perhaps add another if statement to the requestAnimationFrame loop, when they click one of the options it sets the value to false and the game gen continues as normal.


Perform cross-validation

https://github.com/chengsoonong/didbits/blob/master/CrossVal/expt_protocol.ipynb

CV was also completed, but I never got around to fixing the bug in didbits/…/expt_protocol.


Add metadata to action

Added the required metadata file
Used the same values found in the Dockerfile

fixes #2

@jakejarvis Mind merging/release this 🙂

@jakejarvis Ping?..

@jakejarvis please merge!

@jakejarvis please merge!

@clearyusc @rijkvanzanten I've ended up giving up and publishing my own fork with this fix, you can use it if you want: https://github.com/kibertoad/wait-action

@clearyusc @rijkvanzanten I've ended up giving up and publishing my own fork with this fix, you can use it if you want: https://github.com/kibertoad/wait-action

Using the fork as well. Thanks !

@jakejarvis  hey buddy :)

This was painful to read through.  @jakejarvis, are you saying that you do not have permission to merge the PR?  If that's true, then @joaopgrassi can you please merge this PR?

@aceberle not sure what you mean? I'm not the owner of this repo, so I can't merge anything :). Also not sure where you saw the owner saying he does not have permission. Maybe another thread?


Inverse fft

Are we supposed to perform inverse fft on the original X or the filtered X?

I am not sure about that. Any suggestion will be appreciated.

I dont think we need inverse fft for task 1

I dont think we need inverse fft for task 1

He is talking about task 2.

We are not doing task2, so we cant hep you out


Roll Engine from 67591c224585 to 882a5cb3ff25 (1 revision)

https://github.com/flutter/engine/compare/67591c224585...882a5cb3ff25
2021-01-15<EMAIL_ADDRESS>Roll Dart SDK from 82cec4d65743 to c262c3e0d9d2 (1 revision) (flutter/engine#23711)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.

Commit queue failed; closing this roll.


Adding sections that talks about project management / working on a team / working within a company

Hi ya'll!
I noticed this may be a request that needs to be broken out into several parts / tickets:
What I've noticed with people who are new to software development at times is they feel out of the loop when it comes to the nuts and bolts of project work / working with other disciplines such as PM / Producer, UX, QA, etc... It may help the campers to have some sort of documentation, videos, or some sort of information to help them get a sense of what it's like to work on a team or within a company.
Also, it will be helpful to talk about how to manage a project, and the different kinds of way a project can be managed -- such as how does Agile development works, or Waterfall method. For the majority of places that I've worked (web apps) at have used Agile. Although, that has usually depended on what kind of project is being built, and the company's preferences.
If anyone needs elaboration or has questions -- feel free to reach out to me. I work as a software QA Analyst that works on web apps and mobile apps.

Interested to hear @FreeCodeCamp/owners thoughts on if this is within the scope of Free Code Camp and should be added to the curriculum down the line.

Interested to hear @FreeCodeCamp/owners thoughts on if this is within the scope of Free Code Camp and should be added to the curriculum down the line.

This issue is better suited for hikes as these aren't actionable challenges.

This issue is better suited for hikes as these aren't actionable challenges.

Closing this as something not appropriate for the challenge structure of the main Free Code Camp curriculum. I suggest opening an issue on https://github.com/FreeCodeCamp/hikes if this is something you would still like to see added. Thanks and happy coding!


Add a http + json sample - v2

Replaces #984
Changelog:

Using url create
Implemented a better way of getting appid and other users parameters. I am using now command line to get them. I didn't implemented the persistence strategy, but maybe we can do it for another version.

Signed-off-by: Otavio Pontes<EMAIL_ADDRESS>

+1

merged


Discard optimized containers with negative counts in UBJSON/BJData (#3491,#3492,#3490)

This may partially address the fuzzer errors reported in #3491, #3492 and #3490.
Specifically, the above failed fuzzer errors appear to be triggered when an ND-array optimized header contains 0 in any of the dimensional vector elements. This causes partially written objects and array constructs.
Another issue this patch fixes is related to the implementation-spec mismatch discussed in https://github.com/nlohmann/json/issues/3492#issuecomment-1129318362
a negative count should result in an invalid UBJSON and BJData input.

Coverage remained the same at 100.0% when pulling 838facbb434920773d6898a72e9a3f8db2e08511 on NeuroJSON:issue3492 into 6a7392058e69956d610acefa7e3ce1cd60c8f5a6 on nlohmann:develop.

I let the fuzzer run on the now-merged branch and see no issues after letting it run for half an hour. 👍

@fangq
I think I found another issue:
In the binary reader in function get_ubsize_size_value, we have
string_t key = "_ArraySize_";
if (JSON_HEDLEY_UNLIKELY(!sax->start_object(3) || !sax->key(key) || !sax->start_array(dim.size())))
{
    return false;
}

In an example input, I get the following SAX events:
<object size="3">
    <key key="_ArraySize_" />
    <array size="2">
        <number_integer val="2148925440" />
        <number_integer val="6701356247676222464" />
    </array>

However, the object that is started with sax->start_object(3) is never ended with a closing end_object() call. This yields issues down the road in the SAX-DOM parser, because, we when we call the return sax->end_array(); line at the end of the code block, we are still inside the unclosed object we started before.
Here is the respective input: crash.bjdata.zip
I will re-run the fuzzer with the enabled assertions from #3498 and see if I can find smaller examples.

Here is a 14 byte example:
00000000: 5b5b 235b 5500 5b55 ff69 5d5d 5d5d       [[#[U.[U.i]]]]

which produces these SAX events:
<array>
    <object size="3">
        <key key="_ArraySize_" />
        <array size="2">
            <number_integer val="255" />
            <number_integer val="93" />
        </array>
        <array size="0">
        </array>
    </array>

The more I look at it: why is there a hard-coded 3 for the object size?
minimized.bjdata.zip

@nlohmann, let me know if the patch if #3502 fixes the errors.


Use of kramdown?

I think it will be a better implementation with Kramdown for footnote and others cool features...

Source : https://kramdown.gettalong.org/syntax.html