Rest Apis to export/import

Rest apis to export notebook as JSON
Rest api to import notebook from JSON
https://issues.apache.org/jira/browse/ZEPPELIN-590

attaching screenshot for export JUnits

attaching screenshots for import Junit

Thanks @swakrish for the contribution!
Do you mind update docs/rest-api/rest-notebook.md, too? Changing this file updates zeppelin website.

I added them

Thank you for improvement!
Reconciling the exisiting GUI import/export features to use this API may be a good idea too, otherwise we'll have different code doing the same job. What do you think?
Buy the way, could you also please check that your code formated accodring to the project styleguide?

@bzz thanks for your comments. I did look at the UI functions, it doesnt have an import I guess and export is more or less similar. Let me know your thoughts
I also formatted it for google style.

I think maybe import should be a POST? In REST, PUT should be modifying an existing object?
http://restcookbook.com/HTTP Methods/put-vs-post/

@felixcheung Yes makes sense, I changed it to http POST.
Please review and let me know your comments

Cool thanks.
This is the PR for notebook import #374
Agree with @bzz I think it makes sense if that is using this new REST API too?

Does it make sense to have a separate PR for making UI import use REST API?

Right, it would make sense that both WebSocketAPI and REST API use the same function for Import.

Just to clarify, the UI should not use the REST API, the WebsocketAPI and the REST API should rely on the same code to do the import on the backend

@corneadoug thanks for the comments, Just to clarify, I would be touchig the notebook.java to create a import/export method which can then be leveraged by Notebookserver.java for UI right?
Please correct me if im wrong

@swakrish Right exactly, that method would be used in both Websocket and REST API case :)

@corneadoug I moved the code to common notebook.java. Please review and let me know. Thanks

Shouldn't the REST API send back an error response when something goes bad?

@corneadoug
it does, it throws IOException which results in Http 500 for import failed. This is similar to all other rest api method calls
I added a id not found for export too now, so it should return HTTP 500 too

@corneadoug i donno why travis is failing. it looks like its failing on lots of PRs. Let me know if something else is missing for my commit too

There are couple of interesting things in logs:

At the very end:

9479K downloaded
[INFO] Expanding: /home/travis/build/apache/incubator-zeppelin/spark-dependencies/target/spark-dist/spark-1.1.1.tgz into /home/travis/build/apache/incubator-zeppelin/spark-dependencies/target/spark-dist
The log length has exceeded the limit of 4 Megabytes (this usually means that test suite is raising the same exception over and over).
The build has been terminated.

Right before that, there are tests with strange exceptions

9:39:00,009 ERROR org.quartz.core.JobRunShell:211 - Job note.2BB4UKWE4 threw an unhandled Exception:
java.lang.NullPointerException
  at org.apache.zeppelin.notebook.Notebook$CronJob.execute(Notebook.java:484)
  at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
  at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
09:39:00,010 ERROR org.quartz.core.ErrorLogger:2425 - Job (note.2BB4UKWE4 threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
  at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
  at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: java.lang.NullPointerException
  at org.apache.zeppelin.notebook.Notebook$CronJob.execute(Notebook.java:484)
  at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
  ... 1 more
09:39:00,001 ERROR org.quartz.core.JobRunShell:211 - Job note.2BB4UKWE4 threw an unhandled Exception:
java.lang.NullPointerException
  at org.apache.zeppelin.notebook.Notebook$CronJob.execute(Notebook.java:484)
  at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
  at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
09:39:00,010 ERROR org.quartz.core.ErrorLogger:2425 - Job (note.2BB4UKWE4 threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NullPointerException]
  at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
  at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: java.lang.NullPointerException
  at org.apache.zeppelin.notebook.Notebook$CronJob.execute(Notebook.java:484)
  at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
  ... 1 more

another one, strange

09:39:05,622 ERROR org.apache.zeppelin.rest.NotebookRestApi:341 - Exception in NotebookRestApi while moveParagraph
java.lang.IndexOutOfBoundsException: paragraph size is 2 , index is 10
  at org.apache.zeppelin.notebook.Note.moveParagraph(Note.java:265)
  at org.apache.zeppelin.rest.NotebookRestApi.moveParagraph(NotebookRestApi.java:335)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:606)
  at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)

one more suspicious thing

09:39:57,491  INFO org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer:551 - Exception in RemoteInterpreterServer while angularObjectAdd, nolock
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 5
  at com.google.gson.Gson.fromJson(Gson.java:802)
  at com.google.gson.Gson.fromJson(Gson.java:757)
  at com.google.gson.Gson.fromJson(Gson.java:706)
  at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer.angularObjectAdd(RemoteInterpreterServer.java:546)
  at org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Processor$angularObjectAdd.getResult(RemoteInterpreterService.java:1231)
  at org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Processor$angularObjectAdd.getResult(RemoteInterpreterService.java:1216)
  at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
  at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
  at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:285)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 5
  at com.google.gson.stream.JsonReader.expect(JsonReader.java:339)
  at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:322)
  at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:184)
  at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:146)
  at com.google.gson.Gson.fromJson(Gson.java:791)
  ... 11 more

Each of them looks very strange to me, never seen any of them before and each worth further investigation.

@Leemoonsoo issue 2 has been happening before too
3 & 4 seems to have started happening from sometime back. Do we need a seperate JIRA/PR for those?

@bzz
are any related to this PR ? I ran my unit tests standalone and seems to be working fine

@swakrish I assume that you, as an author, should know better.
Usually the mindset we try to share here is - CI must be green for anything to be merged.  If it's not - then dedicated effort worth putting is - try to fix it i.e by collaborating with more experienced members, asking for help, etc.
If you have some spare cycles you could spend them creating a separate issues, investigating these failures and pinging the people who touched particular code before - that would be very appreciated and of the great help to the project.
Otherwise best bet is to wait until somebody takes care of this one day, so you can rebase on top of that work, but this might take some time.

@bzz thanks for your comments, i just wanted to confirm since when i run test suite it doesnt break any of my changes :)
I will take a look at those failures you mentioned to see why those are happening. Again those doesnt seem to happen in local builds

@bzz , point 3 is negative test case, so i think its fine, the unit test dont fail here

Great!
One more thing - @swakrish  @corneadoug  could you guys please point me to the place where REST API and WS API for importing\exporting notebooks re-use the same code path?

@bzz Please take a look at notebook.java, this is accessible both from REST and Websocket,
We need to modify notebookserver.java to use the common method for UI

Please review this

Sorry for a delay. Will review this today.

thanks @bzz

@swakrish sorry, may be I did not make it clear last time, but having 2 code paths for same function (for importing\exporting notebooks) in different APIs (WS\REST) does not look as a good idea to me.

@bzz Please take a look at notebook.java, this is accessible both from REST and Websocket
I did, and both of them are called exactly once, in the NotebookRestApi.java

This brings us back to the question asked before:

One more thing - @swakrish @corneadoug could you guys please point me to the place where REST API and WS API for importing\exporting notebooks re-use the same code path?

As far as I can tell such place does not exist, right now. This makes concerns, expressed by me and @corneadoug in this PR not addressed. Please let me know if I'm missing something here.
If you have a plan on how to converge these API's code paths (yours and one from the Websocket) - why not to do it in this PR?  I think that way it would be a even greater contribution, reducing number of possible bugs, etc. What do you think?

@bzz Yes i was thinking of opening a different PR for that since this address just REST calls. I have a tested code base for modifying web socket too
Let me know if creating a separate PR doesnt make sense ?
snippet:
protected Note importNote(NotebookSocket conn, Notebook notebook, Message fromMessage)
throws IOException {
Note note = null;
if (fromMessage != null) {
String noteName = (String) ((Map) fromMessage.get("notebook")).get("name");
String noteJson = gson.toJson(fromMessage.get("notebook"));
note = notebook.importNote(noteJson, noteName);
note.persist();
broadcastNote(note);
broadcastNoteList();
}
return note;
}

@bzz I merged the websocket import to use the common code.So now both REST/UI import uses same code.
Export is just getting the json notation of the note, so I feeel we dont need to  change the code base to go through same path. Let me know if you still feel we need to create a websocket call

@bzz can you review this?

@swakrish import code looks great.
Just to double-check, I think it's good to ask original author of ImportNote from #374 to review this.
@prabhjyotsingh if you have a few spare cycles - could you take a look please?

Test this PR, both newer and existing functionality works fine.

@prabhjyotsingh , thanks for checking this so quickly and your comments.
I modified the comment

@prabhjyotsingh @bzz , please review

@prabhjyotsingh  @bzz  , please review

is there any other change needed on this PR?

@prabhjyotsingh thanks for prompt reply!
Looks great to me, will merge if there is no more discussion.

@felixcheung pleasereview, i think travis is stuck :)

looks good

@felixcheung thanks for reviewing, looks like travis finally passed

@swakrish could you assign a JIRA issues to yourself please? Or let me know your JIRA id and I can do that for you.


Fix problems with raw email arrays from Github

I have problem with Github Extractor and getEmail() this function returns only first character of first email.
0 =><EMAIL_ADDRESS>1 =><EMAIL_ADDRESS>2 =><EMAIL_ADDRESS>
Look on https://github.com/logical-and/php-oauth/blob/master/examples/github.php#L40 example have it right

How it's look with this PR

Will be possible merge this request?

Any news about that?


count() function no longer works on v0.19.0

Describe the bug
Any usage of count() results in an error Function 'count' argument number 0 with type '(some type)' don't match expected type 'Integer'.
To Reproduce
Steps to reproduce the behavior:

Upgrade to v0.19.0
Enter GQL console in any repo
Try any count(), query, i.e. select count(commit_id) from commits

gql > select count(commit_id) from commits
[Error]: Function `count` argument number 0 with type `Text` don't match expected type `Integer`
=> Column 12 to 12,
  |
1 | select count(commit_id) from commits
  | ------------^
  |

Expected behavior
On v0.18.0, this returns the following:
gql > select count(commit_id) from commits
╭──────────╮
│ column_2 │
╞══════════╡
│ 27       │
╰──────────╯

Screenshots
N/A (output provided)
GQL (please complete the following information):

v0.19.0

Hello @SadMachinesP86,
Thank you so much for fast reporting, it fixed now on 0.19.1
Thank you,
Amr


Not able to push sample mails

I was able to execute the GET XSUAA TOKEN request using requests-btp-private.htpp file and successfully retrieved the xsuaa token. But when I tried to execute ADD MAILS request, I received "Internal Server Error 500".
Further checking the logs on "ai-srv-dev", it appears the error is related to undefined property on mail-insights-service.js line 190

Hi @shumagundam, looking at your other logs, I see a lot of 403. It seems that any part of the flow is not configured properly and my assumption would be the connection from CAP to SAP AI Core and the LLMs. Can you check with SAP AI Launchpad (or with the API of SAP AI Core) if the resource group and model deployments are available? If so, can you double check your destination pointing to the SAP AI Core instance?
Best
Kay


Where is the lib folder?

For implementation related questions or technical support, please refer to the Stack Overflow and Server Fault communities.
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!

[y] You've met the prerequisites.

[y] You're running the latest version of Parse Server.

[y] You've searched through existing issues. Chances are that your issue has been reported or resolved before.

Environment Setup
Steps to reproduce
Logs/Trace

lib is built on npm install after cloning..


Reorder reset and add to pool to avoid adding connections with remain…

…ing work.  Utilize atomic operations to avoid set(0) at wrong time concurrently.

In my testing I found that this change had a significant impact on performance when more concurrent operations where being attempted than connections in the pool.

Thanks! I don't use this library as much anymore so I don't know when I'll be able to look real close to check for leaks or concurrency issues (I'm sure there are none). I may request a change or two on formatting/spacing (e.g. around operators, after if keyword, around lambda parameters, but not before closing parens).

Thank you for the feedback.  Do you have a checkstyle that I can use to ensure I meet your formatting standards?  I've eyeballed the change and it appears similar to your style.
I'm curious if you use a different driver for your postgres work or if you've simply moved to another database.

I don't have a checkstyle I'm afraid. I have left the JVM ecosystem entirely for the most part.


[JS] Topic: Node Filesystem Module

Description 📜
The documentation part of Filesystem module of Node JS has been covered briefly. This PR solves issue #6338.

Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise , Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilities etc)
[x] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[ ] C/#CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[ ] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[x] JavaScript_Domain
[ ] ME#RN
[ ] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm a GWOC'21 contributor

@paramsiddharth @s4-2 take a look at new changes.


Not able to run nightly cargo on OS X 10.11.6 + MacPorts

$ rustup run nightly cargo --version
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /Users/vvv/.multirust/toolchains/nightly-x86_64-apple-darwin/bin/cargo
  Reason: image not found
$
$ rustup run nightly rustc --version
rustc 1.15.0-nightly (d5814b03e 2016-11-23)

#3303 and #3320 are closed, yet the problem is still there on my machine.
$ otool -L ~/.multirust/toolchains/nightly-x86_64-apple-darwin/bin/cargo | grep libssl
        /usr/local/opt/openssl/lib/libssl.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
$
$ port contents openssl | grep libssl
  /opt/local/lib/libssl.1.0.0.dylib
  /opt/local/lib/libssl.a
  /opt/local/lib/libssl.dylib
  /opt/local/lib/pkgconfig/libssl.pc

It looks like this is because there's been no new nightly build of cargo since #3315 landed. On my system:
$ rustup run nightly cargo --version
cargo 0.16.0-nightly (d1bfc01 2016-11-18)

But the merge was 2 days ago, 2016-11-22.

It looks like this is because there's been no new nightly build of cargo since #3315 landed.

Sounds like a bug of the build system. Unless word “nightly“ is not supposed to be taken literally.

Works now.
$ rustup update
info: syncing channel updates for 'stable-x86_64-apple-darwin'
info: syncing channel updates for 'nightly-x86_64-apple-darwin'
info: downloading component 'rustc'
 33.9 MiB /  33.9 MiB (100 %)   4.1 MiB/s ETA:   0 s
info: downloading component 'rust-std'
 43.8 MiB /  43.8 MiB (100 %)   6.3 MiB/s ETA:   0 s
info: downloading component 'cargo'
  3.2 MiB /   3.2 MiB (100 %) 685.7 KiB/s ETA:   0 s
info: installing component 'rustc'
info: installing component 'rust-std'
info: installing component 'cargo'
info: checking for self-updates

  stable-x86_64-apple-darwin unchanged - rustc 1.13.0 (2c6933acc 2016-11-07)
   nightly-x86_64-apple-darwin updated - rustc 1.15.0-nightly (d9bdc636d 2016-11-24)

$
$ rustup run nightly cargo --version
cargo 0.16.0-nightly (bd283a7 2016-11-24)
$
$ date
Fri Nov 25 22:42:07 EET 2016

\o/


PnP PowerShell Version: Replace a user's membership in selected Microsoft 365 Groups or Teams

Add PnP PowerShell version to sample:
https://pnp.github.io/script-samples/aad-replace-membership-of-selected-groups/README.html?tabs=cli-m365-ps

Can you please assign this to me?

@Jitenparmar : Apologies, I saw issue #205 yesterday and wrote the updated PnP PowerShell equivalent and after submitting the PR #212, realised the issue was assigned to you. Hope you have not worked on it yet but if yes I am happy to close my PR.

Really sorry both @Jitenparmar @reshmee011 I didn't see this until after I merged @reshmee011 version. Sorry @Jitenparmar.

@pkbullock : Thanks for merging the PR #212 . @Jitenparmar : apologies again. Same I will double check in future too.

@pkbullock @reshmee011  No Need to apologize.


Fixed autostart

I figured why not just put in the path of the file you selected into the variable instead of figuring out what @:2 is
edit: bash -c implementation wasn't working, replaced with sh command..
@SwallowYourDreams 's implementation is better. Please close this PR.

Thank you for your work.


Add multiple produce consume support

@kylef This is a good example you might want to review thoroughly and make sure our current behaviour is good or if we need to change it. https://github.com/apiaryio/swagger-zoo/blob/d572e3c5a52f56f93907cd8b008e72841bbe3de6/fixtures/features/swagger/response-example-with-produces.yaml


fix/564 : Solved Username responsiveness

Fixed Issue :- #564
Screenshot:-

Summary by CodeRabbit

Style

Updated the user name display size for better readability on different screen sizes.

this issue has already been resolved, @pranshugupta54 i think we can close this


Fix for cursive issue #428, "Rendering an empty SelectView..."

This change fixes cursive issue #428, caused by indexing into an empty
list.  The issue is corrected by using the .get() method to safely
handle the case where the requested index doesn't exist, and renders
no label in that case.
Fixes https://github.com/gyscos/cursive/issues/428

Wow - good catch! And thanks for the work!


How to extend repository to add functions without edit core packages inside vendor folder

Hi,
I'm trying to add my features to your framework, I can edit blade views without editing the core packages by copying the file to "app/resources". But don't know how to add new functions to a repository "packages/Webkul/Category/src/Repositories/CategoryRepository.php". Docs only mentioned "overriding core models".
Is there any way to extend the repository or controller outside the vendor folder?

Hello,
Please take a look of above link
ref - forum

@shivam-webkul  Thanks for your reply, I already saw this forum post before I write this issue. Also, I went through the docs but can't find what I'm looking for.
For example, if I want to add a 'top_categories' field to channel model, I can create a migration to add this field to the database, Also I can extend views easily in resources with the same file directory structure/name, BUT:

[ ] How to extend packages/Webkul/Core/src/Models/Channel.php  to add top_categories to $casts and $fillable arrays:

class Channel extends Model implements ChannelContract
{
    protected $casts = [
        'top_categories' => 'array'
    ];

    protected $fillable = ['code', 'name', 'description', 'theme', 'home_page_content', 'footer_content', 'hostname', 'default_locale_id', 'base_currency_id', 'root_category_id', 'top_categories'];

[ ] How to Extend packages/Webkul/Category/src/Repositories/CategoryRepository.php to add a function to get top_categories of a channel:

 public function getChannelTopCategories($ids)
    {
        $categories = $this->model->whereIn('id', $ids)->get();
        $trimmed = array();

        foreach ($categories as $key => $category) {
            if (($category->name != null || $category->name != "")
                && $category->id != core()->getCurrentChannel()->root_category_id) {
                $trimmed[$key] = [
                    'id' => $category->id,
                    'name' => $category->name,
                    'slug' => $category->slug,
                    'image' => [
                        'small' => url('cache/small/' . $category->image),
                        'medium' => url('cache/medium/' . $category->image),
                        'large' => url('cache/large/' . $category->image),
                        'original' => url('cache/original/' . $category->image)
                    ]

                ];
            }
        }

        return $trimmed;
    }

How to extend files in core packages without editing files directly.
I hope we can make this issue a reference for this kind of situation, because I saw many questions about it in blog/forums/github/facebook page, but can't find a clear answer.
Help Much Appreciated
Thanks

Hi @MostafaAttia
You can use this one to override model in bagisto - https://devdocs.bagisto.com/override-core-model.html
After overriding the model, In your packages model, you can add $casts and $fillable properties as you did above.
About Repository
To add new method in the repository what we can do - We can simply create the same name route for the given one and now this route will call your packages controller (new controller in your package).
Now, in our package, we will create a new repository with same name in which we want to add method and our controller (controller in the package which we have created) will use this repository (For Dependency) instead of the old one and can add any number of method in this repository.
Thanks

@MostafaAttia
Hope you're query is resolved, We are not getting any activity from the last 21 days over this, so we are closing this issue.
Feel free to reopen the issue.
Thanks

@rahulcs0082, With Laravel 7 and above, multiple routes with the same names are not supported, so how are we planning the L7 or above upgrade, if to override anything, we have to use the same route name pattern?

Hi @nikhilbhatia22,
I have checked the Laravel threads and discussion. For Laravel 7, there is a way to ignore the routes registry. If you need to overwrite package routes you need to explicitly define them in your own routes file and prevent the route registration of the package.
They have done in the Cashier package as well. It's up to the package implementation as well.
https://github.com/laravel/cashier-stripe/blob/11.x/src/Cashier.php#L133-L143

Okay, Thanks @devansh-webkul!
I believe we will be taking care of this, in the manner you suggested, when upgrading to upcoming Laravel versions.

Okay, Thanks @devansh-webkul!
I believe we will be taking care of this, in the manner you suggested, when upgrading to upcoming Laravel versions.

Yes! Every new version comes with its own standards and recommendation. We will check accordingly.


Flakes: some tests in //test/core/end2end:h2_http_proxy_test and //test/core/end2end:h2_load_reporting_test flake under tsan

Saw the flakes in bazel build but since it's a flake, it doesn't seem to have to do with bazel:
https://source.cloud.google.com/results/invocations/4d2bba78-fa0b-4dca-9cc8-04dcd09b3630/targets
Both failures are caused by
D0130 23:51:40.988844514      20 test_config.cc:388]         test slowdown factor: sanitizer=5, fixture=1, poller=1, total=5
E0130 23:51:47.719952182      20 cq_verifier.cc:273]         cq returned unexpected event: OP_COMPLETE: tag:0x1 OK
E0130 23:51:47.721364383      20 cq_verifier.cc:280]         expected tags:
tag(101) GRPC_OP_COMPLETE success=1 test/core/end2end/tests/invoke_large_request.cc:185

Not an issue any more.


Add partition argument to sequential_values test

Describe the feature
The sequential values test is useful for ensuring that an entire column over the whole table is incrementing properly. In some cases, multiple types of rows can be updating in parallel within the same table. We would like the sequential_values test to include a partition feature, similar to other dbt tests.
Describe alternatives you've considered
We are planning to copy the source code of dbt utils and implement this ourselves.
Additional context
Is this feature database-specific? Which database(s) is/are relevant? Please include any other relevant context here.
Who will this benefit?
This will help cases where multiple row types are incrementing and need to be tested for incrementally.
Example 1:
Items published on a website. Each row is a day an item is active on the website. The sequential test should test that each item has sequential data for each day it was active on the website.
Example 2:
User is using an incremental model and this test to ensure that the model is pulling data correctly daily. the incremental model pulls information on 4 different marketing channels. We'd like to ensure that the data from each marketing channel is updated incrementally.
Are you interested in contributing this feature?
I think the solution could be as simple as adding this:
with windowed as (

    select
        {{ column_name }},
        lag({{ column_name }}) over (
            {% if partition_by is not none %}
            partition by {{ partition_by }}
            {% endif %}
            order by {{ column_name }}
        ) as previous_{{ column_name }}
    from {{ model }}
),

where partitioned by is a new parameter to the test, defaulting to None

Hey @macklin-fluehr! Sounds like partitioning is the hot thing at the moment. @emilyriederer's writeup covers this in a bit more detail, so even though yours came first I'm going to close it as a dupe in favour of #450 if that's OK?
As I wrote there, I'm 100% on board with this sort of solution - my only ask is that the changed behaviour comes with tests so that we're confident that both the new and existing behaviour keep working 🛠

Sounds great! Thanks
On Sun, Nov 28, 2021 at 3:56 PM Joel Labes @.***> wrote:

Hey @macklin-fluehr https://github.com/macklin-fluehr! Sounds like
partitioning is the hot thing at the moment. @emilyriederer
https://github.com/emilyriederer's writeup covers this in a bit more
detail, so even though yours came first I'm going to close it as a dupe in
favour of #450 https://github.com/dbt-labs/dbt-utils/issues/450 if
that's OK?
As I wrote there, I'm 100% on board with this sort of solution - my only
ask is that the changed behaviour comes with tests so that we're confident
that both the new and existing behaviour keep working 🛠
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dbt-labs/dbt-utils/issues/447#issuecomment-981150673,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIOTTNLKIKLXZ2T72TUXMD3UOKJQPANCNFSM5IUTSJSQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Add method on Group for getting object with max/min of a key (i.e. health)

Usage example:
group.getMax('health')
Maybe to make it clear what the user wants returned we could use a second param like other methods do:
group.getMax('health', RETURN_CHILD)
group.getMax('health', RETURN_VALUE)

Thank you for the suggestion. However this will not be implemented in Phaser, so I'm moving this request over to the Lazer feature request list instead. If you wish to submit a PR that isn't massively API breaking and that adds this feature to Phaser then we will consider merging it.


Release 0.6.0

Update CHANGELOG for 0.6.0
Update version to 0.6.0

Closing as empty changelogs generated in the PR


add to be able to sort by date

Class 'String' has no instance method '>'.
Receiver: "2021-02-16T00:00:00.000"
Tried calling: >("2021-02-18T00:00:00.000")
'useDate': useDate.toIso8601String(), or 'useDate' : useDate does not work either

Read #2 . And let me if it worked.

Yes! thank you!


[enhancement] Elasticsearch - Align the doc publishing with the Standard (batch)

Description
Align the doc publishing of records in the same way as its done with the Standard (batch) mode
How Has This Been Tested?

[X] Local tests

Checklist

[X] The PR is tagged with proper labels (bug, enhancement, feature, documentation)
[X] I have performed a self-review of my own code
[X] I have added unit tests that prove my fix is effective or that my feature works
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation

cc:
@tommydangerous

it could be a breaking change if other users are using doc field in the elasticsearch index

Ok, let me add a configuration setting with the default value as its currently now


Unify chunks, fold_chunks, and fold_chunks_with

We only have factorial_fold_chunks_with as a benchmark, but its result is unaffected by this change, so I think it's safe from that perspective. Otherwise there's no public API change here, only code reduction.
bors r+


Self-hosted runner: C:/git-sdk-64-full' already exists

On a self-hosted runner, when running this action for the second time, it fails with the following error:
Downloading git-sdk-64-full
Cloning git-sdk-64
  Notice: Cloning https://github.com/git-for-windows/git-sdk-64 to .tmp
  Cloning into bare repository '.tmp'...
Checking out git-sdk-64
  Preparing worktree (detached HEAD 456de1018)
  fatal: 'C:/git-sdk-64-full' already exists
Error: process exited with code [12](https://github.com/dennisameling/git/runs/7046758549?check_suite_focus=true#step:3:13)8

This is because, unlike GitHub-hosted runners, self-hosted runners can reuse the filesystem on the machine. It would probably be good to update this Action to either:

Respect the already installed git-sdk-64-full and reuse it (and probably update it to the latest commit)
Remove the existing git-sdk-64-full (e.g. by adding a force input to the Action) and redownload

If you could let me know what your preference is, I'm happy to update the Action accordingly. Thanks!
Example run here: https://github.com/dennisameling/git/runs/7046758549?check_suite_focus=true

The problem with "updating to the newest commit" is that we don't have enough information to do that, it's long gone by that time.
The safer thing would be to put the SDK into a worktree-local path that gets automatically cleaned up.


register services

When there are multiple services, how do you register? [The example only gave registration for one service. When you need to register multiple services, how do you configure it?

Hi, to register another one you can just import and register it the same way as the first
from django_socio_grpc.services.app_handler_registry import AppHandlerRegistry
from my_app.services import Service1
from my_app.services import Service2

def grpc_handlers(server):
    app_registry = AppHandlerRegistry("my_app", server)
    app_registry.register(Service1)
    app_registry.register(Service2)

Hi, to register another one you can just import and register it the same way as the first
from django_socio_grpc.services.app_handler_registry import AppHandlerRegistry
from my_app.services import Service1
from my_app.services import Service2

def grpc_handlers(server):
    app_registry = AppHandlerRegistry("my_app", server)
    app_registry.register(Service1)
    app_registry.register(Service2)

But, if there are multiple apps, how to handle it? eg: my_app1, my_app2

Each app has its own registry,
from django_socio_grpc.services.app_handler_registry import AppHandlerRegistry
from my_app1.services import Service1
from my_app1.services import Service2
from my_app2.services import Service3

def grpc_handlers(server):
    app_registry1 = AppHandlerRegistry("my_app1", server)
    app_registry1.register(Service1)
    app_registry1.register(Service2)
    app_registry2 = AppHandlerRegistry("my_app2", server)
    app_registry2.register(Service3)

Closing due to inactivity


New game hangs forever when click on [Cancel]

hi Aragas, thank you for the great menu framework provided!
I recently try to onboard to MCM5 and choose the Fluent Builder as I really want to benefit from the runtime setting creation.
I implement my setting following the example: https://github.com/jzebedee/ButterEquipped/blob/94e7de3a2000a6c611a8a84d43da01685f226abd/src/ButterEquipped/Settings/EquipSettings.cs
However, for a new game, when I first enter the Mod Configure panel and select my mod setting:

It will by default showing the [custom] preset as the selected preset, rather than [default] preset (I see for all other Mods, they are all by default with their [default] preset selected.
In this case, when I click the [Cancel] button of the Mod Configure panel, the game will stuck here forever.

My game version: 1.2.8
ButterLib version: 2.9.8
MCM version: 5.10.1
Would you mind help check whether this is a common issue?

Hey! I'm struggling a bit with GitHub notifications, sorry for not replying earlier! I'll try to take a look at it this week!

Close the issue as it was caused by the bound variables not initialized.
Example code that would re-produce this issue:
[SettingPropertyFloatingInteger("哨骑 - 连胜行军速度加成", minValue: 0.001f, maxValue: 1f, Order = 3, RequireRestart = false, HintText = "哨骑战斗每一次连胜后，给与己方部队行军速度的加成。")]
[SettingPropertyGroup("哨骑")]
public float Sentry_WinningStreakPartySpeedBonus
{
    get => MBCampaign.Current.JunSiMa().Sentry_WinningStreakPartySpeedBonus;
    set => MBCampaign.Current.JunSiMa().Sentry_WinningStreakPartySpeedBonus = value;
}

For above example code, the MCM pane will hang forever when clicking on [Cancel] button --- if the Sentry_WinningStreakPartySpeedBonus is not set with init value.
I would like to conclude this issue to be more modder-usage side issue, thus I will close this issue.


Not working with wgpu.h

I tried the example given in the readme with the latest version of wgpu-native for the github page for it, it seems to create an error with one of the structs and tries to run c code containing sizeof(undefined). not sure how to really fix this

Hi! Will check it
What system & compiler version you have?

I'm on Ubuntu (WSL) and clang --version reads
Ubuntu clang version 11.0.0-2~ubuntu20.04.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

here is my wgpu.h (github doesn't support .h files so I uploaded it to a file server) https://ninja.dog/1B71ry.h

For me everything works (both with latest wgpu-native & yours wgpu.h)
clang13, macos
Could you provide some logs or investigate with which struct error happens?
Here is my result (you should adjust _LIB_PATH variable inside it):
wgpu.ts.zip


CI build and test MSVC

Expand CI build and test coverage to x86_64-windows-msvc for the libs that currently support MSVC

See https://github.com/zig-gamedev/zig-gamedev/pull/725


Updated geocoder version to 2.14.0

Updated package.js. Node-geocoder has been updated to v2.14.0, which includes OpenCage. Would like to give it a try.

Thanks!


move the ByteUtil from light-portal to light-4j utility module

so that it can be shared by more projects working with Kafka.

 move the ByteUtil from light-portal to light-4j utility module light-4j master

 move the ByteUtil from light-portal to light-4j utility module light-4j master


Firebase problem with xWalk

Since 17 june, Google released new versione of Firebase. Even if nothing changes in config.xml, plugins version and so on, building in Phonegap fails after 17 june if the project includes push notifications (pushwoosh in example). That's because of google Firebase. I tried to build and the error is:

What went wrong:
Execution failed for task ':transformClassesWithJarMergingForRelease'.

com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: android/support/v4/app/INotificationSideChannel$Stub$Proxy.class

so I'm wondering how to fix it, In my opinion, using build-extras.gradle and exclude some library could solve, but I don't know which is the library that causes this problem.
Can you help me?
Thanks

Did you try the https://github.com/ardabeyazoglu/cordova-plugin-crosswalk-webview-v3 fork ?


Salesforce emp Connector not waiting for event after subscribe in AWS Lambda

I have a simple client using salesforce EMP connector and subscribing to a platform event. When I have it run from commandline on windows machine it works fine and subscription and subsequent events work fine. When I deploy the same code as a Java Lambda function in AWS - it successfully subscribes but does not wait/listen for events. Is there some limitation around using java Bayeaux client in AWS Lambda ?
Below is the code in Lambda handler -
public String handleRequest(Object input, Context context) {
        try {
        context.getLogger().log("Input: " + input);

        Consumer<Map<String, Object>> consumer = event -> System.out.println(String.format("Received:\n%s", JSON.toString(event)));

        BearerTokenProvider tokenProvider = new BearerTokenProvider(() -> {
            try {
                return LoginHelper.login(new URL(SFDC_TEST_URL), SFDC_TEST_USERNAME, SFDC_PASS_SEC_KEY);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        });

        BayeuxParameters params = tokenProvider.login();

        EmpConnector connector = new EmpConnector(params);
        LoggingListener loggingListener = new LoggingListener(true, true);

        connector.addListener(META_HANDSHAKE, loggingListener)
                .addListener(META_CONNECT, loggingListener)
                .addListener(META_DISCONNECT, loggingListener)
                .addListener(META_SUBSCRIBE, loggingListener)
                .addListener(META_UNSUBSCRIBE, loggingListener);

        connector.setBearerTokenProvider(tokenProvider);

        connector.setBearerTokenProvider(tokenProvider);

        connector.start().get(5, TimeUnit.SECONDS);

        TopicSubscription subscription = connector.subscribe(SFDC_TOPIC_EVENT_NAME, EmpConnector.REPLAY_FROM_TIP, consumer).get(2, TimeUnit.SECONDS);

        System.out.println(String.format("Subscribed: %s", subscription));

        // TODO: implement your handler
        return "Hello from Lambda!";
        }catch(Exception e) {
            e.printStackTrace();
            return "exited with error";
        }
    }

Hello,
I am running into the same issue now with my instance of EMP connector. It will work locally, but when thrown into a lambda function, it will exit as soon as it subscribes. Did you ever come to a solution as to why the code doesn't wait/listen for events? I tried making the return type void or adding a sleep at the end of the handler, but that didn't seem to work.
Any help would be great here - thanks!


Omni crash

Describe the Bug
When using Omni mods and selecting Omnifurnace in the recipe book, the map crashes.
To Reproduce
Steps to reproduce the behavior:

Open Recipe Book
Select the "Crafter" search mode
Search for Omnifurnace
Click on it
See error

Save file & Username
Omni Recipe Book crash.zip
Username: sproott
Log file
factorio-current.log

Fixed for the next release.


Feature request: Importance setting

Hello,
Would it be possible to add an Importance setting when creating a new message?
It would be nice to be able to send Important or Urgent messages for e.g. crisis communication.
Thank you in advance.

For this app template repository, we are currently only making changes to fix critical bugs or deployment failures. Please consider forking the repository to implement your improvement and post back here if you're successful.


circt: 1.54.0 -> 1.56.1

Description of changes
updated circt and added myself as a maintainer.

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Please split the maintainer addition into another commit: maintainers: add pineapplehunter

Thanks for checking!
I separated the commits, and added a commit for another patch update for circt.

The CIRCT supports share library now: https://github.com/chipsalliance/chisel/blob/e1707a68861e2dd39b6775c3beb7d2aab7bb3190/overlay.nix


constexpr and mutable what does it mean if you put them together?

https://compiler-explorer.com/z/Y7bodY5G5

Coming in episode 390


[bug] naming breaking when migrate swagger to typespec

When signature name begins with $ like https://github.com/Azure/azure-rest-api-specs/blob/d1d028736d79183a6a420e29145887fb02d1b1a9/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-07-01/virtualMachineExtensionImage.json#L120-L124

Then the generated signature name in SDK is:

However, when migrate it to typespec

https://github.com/Azure/azure-rest-api-specs/blob/d1d028736d79183a6a420e29145887fb02d1b1a9/specification/compute/Compute.Management/VirtualMachineExtensionImage.tsp#L79-L80
the signature name is changed to _filter which has breakings compared with before:

We need to optimize the logic that converts camel case to snake case: https://github.com/microsoft/typespec/blob/477560b2be680a4fd52bbe769fd5341e7b5715f8/packages/http-client-python/emitter/src/utils.ts#L91-L97


Fix removeDataview

Related to: https://github.com/CartoDB/carto.js/issues/2119
Description
This PR calls dataview.disable() in removeDataview.
Acceptance

Use the example provided in the issue
Open the map and check that moving the map calls the api
Click in the Remove widget button
Check that moving the map doesn't call the api

I have made the acceptance for this PR, and works as expected. The dataChanged event is not fire after dataview is removed from the client.
I found that we were not returning a Promise when the dataview is not found in the client, so that's what I changed in the last commit, to follow the API specification.


Meteor UserAccounts Webix project started

Opening this issue to bring this work to your attention and also I would like some help/advice on how to proceed w/ this project.
================================================
To determine if Webix could be a "good citizen" in the Meteor ego-system, I thought I'd attempt to implement the UserAccounts package in Webix.
The current project is hosted here: http://useraccounts-webix.meteor.com
What works:

The nav bar switches routes (home, private (secured) and signon)
Iron-router integration
The sign on button is integrated w/ the core UserAccounts atNavButton
The sign on form displays per the UserAccounts core definitions

What doesn't work

The events from Webix controls to Meteor event system for the sign on form input fields
If I add the "atTitle" to the "atPwdForm", the "sign-in" page increases in size
Haven't added the "resize" event

I've written up some thoughts of my design patterns, such as the choice to use Webix HTML Markup exclusively, and my current challenge, of which I am miserably failing, of mapping Webix events to Meteor events so that the UserAccounts core events can be emitted.
There's been significant success, imo, of seamlessly integrating Meteor templates with Webix markup - using this approach supports nested template interpolation, there are no limitations of using the Blaze template system.
You can read my overview of my design decisions at the [Meteor Webix UserAccounts package] (https://github.com/bartonhammond/useraccounts-webix)
The [Meteor-Webix UserAccounts Boilerplate] (https://github.com/bartonhammond/useraccounts-bootstrap-webix) project uses the package above.  To use it, local package development has to be set up (e.g. ln -s ..)

:100: !

I am abandoning the project.  There's just too much core logic in the AccountsTemplates that I'm not able to use due to the components on the page are Webix and not Meteor.
I tried using [meteor template extension(https://github.com/aldeed/meteor-template-extension) rather then the peer-libary:components but still no headway.
Where I hit the wall was redirecting from signin <-> signup:  to show/hide the additional "password_again" field.  I created a "shadow" Meteor running in the same space to see what it was doing and of course, it was fine.  But the "at_pwd_form" would not display/hide the password field.  I give up.
Not to say Meteor & Webix is not good, but not being able to easily include a working "UserAccounts" is going to slow the rate of adoption, imo.

Webix just released v3.0 yesterday, along with a microframework called Webix Jet:

Webix UI helps you to create apps faster by providing rich widgets. Still the whole app is more complex than just a set of widgets. Developers also need to arrange their code nicely as well as solve such tasks as app routing, state saving, code re-usage and etc. To cover all above concerns, we are introducing micro framework Webix Jet as part of the release. It will definitely save your time and efforts.

@bartonhammond: thanks for all your work on this, completed in #27. I'll try to make time to look at in depth next week, and integrated it into the demo.


add support for remarks

For Tutorial 3 - Adding a new Command

Codecov Report

Merging #1 into master will increase coverage by 1.05%.
The diff coverage is 95.16%.

@@             Coverage Diff              @@
##             master       #1      +/-   ##
============================================
+ Coverage     72.31%   73.36%   +1.05%
- Complexity      400      423      +23
============================================
  Files            70       73       +3
  Lines          1228     1284      +56
  Branches        124      130       +6
============================================
+ Hits            888      942      +54
- Misses          308      310       +2
  Partials         32       32

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/seedu/address/ui/PersonCard.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...c/main/java/seedu/address/model/person/Person.java
97.77% <83.33%> (+0.21%)
22.00 <1.00> (+1.00)

...c/main/java/seedu/address/model/person/Remark.java
87.50% <87.50%> (ø)
6.00 <6.00> (?)

...java/seedu/address/logic/commands/EditCommand.java
97.05% <100.00%> (+0.04%)
12.00 <0.00> (ø)

...va/seedu/address/logic/commands/RemarkCommand.java
100.00% <100.00%> (ø)
11.00 <11.00> (?)

...a/seedu/address/logic/parser/AddCommandParser.java
100.00% <100.00%> (ø)
5.00 <0.00> (ø)

.../seedu/address/logic/parser/AddressBookParser.java
100.00% <100.00%> (ø)
13.00 <0.00> (+1.00)

...ain/java/seedu/address/logic/parser/CliSyntax.java
85.71% <100.00%> (+2.38%)
1.00 <0.00> (ø)

...eedu/address/logic/parser/RemarkCommandParser.java
100.00% <100.00%> (ø)
2.00 <2.00> (?)

.../java/seedu/address/model/util/SampleDataUtil.java
25.00% <100.00%> (+5.00%)
2.00 <1.00> (+1.00)

... and 4 more

Continue to review full report at Codecov.

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

Can now be closed, so closing the tutorial PRs.


Accept donations for ord development

An easy and standard way to support the ongoing development of ord, which is fully OSS, and beneficial to various stakeholders in the BTC and digital art communities.

I'm actually leaning towards not doing this right now. I've looked at other projects that accept donations, and even successful ones tend to get very little, so it's very low priority.

Just an idea is to allow donations while creating an inscription, then create a separate list of inscriptions where those with most funds donated to ord will be on top.  It can stimulate people to donate and I believe it can also increase the value of a particular inscription. @casey

I think what I'd like is actually to add a donate command: ord wallet donate <INSCRIPTION_ID>, which would donate an inscription to the project.

Just opened https://github.com/casey/ord/issues/1570 to track this.


update iltorb to 2.4.3

fixes tar vulnerability
closes #214 and closes #215

seems like there is a problem with node 4 , we need to move out of node 4 to merge this it seems

Yes it looks like Node 4 support was dropped in iltorb v2.3.1.

According to this figure from NodeJS, you could consider dropping support for v4 anyway, since it is hardly being downloaded anymore.

Any update on this?

Any update on this? 😀

[1/5] scripts.install<EMAIL_ADDRESS>›<EMAIL_ADDRESS>›<EMAIL_ADDRESS>run "detect-libc prebuild-install || node-gyp rebuild", root: "/Users/dickeylth/.clam/@ali/clam-toolkit-xpi/package/node_modules/_iltorb@1.3.10@iltorb"
prebuild-install http request GET https://github.com/MayhemYDG/iltorb/releases/download/v1.3.10/iltorb-v1.3.10-node-v64-darwin-x64.tar.gz
prebuild-install http 404 https://github.com/MayhemYDG/iltorb/releases/download/v1.3.10/iltorb-v1.3.10-node-v64-darwin-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=10.16.3 runtime=node arch=x64 platform=darwin)
  CC(target) Release/obj.target/iltorb/brotli/common/dictionary.o
  CC(target) Release/obj.target/iltorb/brotli/dec/bit_reader.o
  CC(target) Release/obj.target/iltorb/brotli/dec/decode.o
  CC(target) Release/obj.target/iltorb/brotli/dec/huffman.o
  CC(target) Release/obj.target/iltorb/brotli/dec/state.o
  CC(target) Release/obj.target/iltorb/brotli/enc/backward_references.o
  CC(target) Release/obj.target/iltorb/brotli/enc/backward_references_hq.o
  CC(target) Release/obj.target/iltorb/brotli/enc/bit_cost.o
  CC(target) Release/obj.target/iltorb/brotli/enc/block_splitter.o
  CC(target) Release/obj.target/iltorb/brotli/enc/brotli_bit_stream.o
  CC(target) Release/obj.target/iltorb/brotli/enc/cluster.o
  CC(target) Release/obj.target/iltorb/brotli/enc/compress_fragment.o
  CC(target) Release/obj.target/iltorb/brotli/enc/compress_fragment_two_pass.o
  CC(target) Release/obj.target/iltorb/brotli/enc/dictionary_hash.o
  CC(target) Release/obj.target/iltorb/brotli/enc/encode.o
  CC(target) Release/obj.target/iltorb/brotli/enc/entropy_encode.o
  CC(target) Release/obj.target/iltorb/brotli/enc/histogram.o
  CC(target) Release/obj.target/iltorb/brotli/enc/literal_cost.o
  CC(target) Release/obj.target/iltorb/brotli/enc/memory.o
  CC(target) Release/obj.target/iltorb/brotli/enc/metablock.o
  CC(target) Release/obj.target/iltorb/brotli/enc/static_dict.o
  CC(target) Release/obj.target/iltorb/brotli/enc/utf8_util.o
  CXX(target) Release/obj.target/iltorb/src/common/allocator.o
  CXX(target) Release/obj.target/iltorb/src/common/stream_coder.o
  CXX(target) Release/obj.target/iltorb/src/dec/stream_decode.o
../src/dec/stream_decode.cc:14:72: warning: 'ToObject' is deprecated [-Wdeprecated-declarations]
    Local<Object> dictionary = Nan::Get(params, key).ToLocalChecked()->ToObject();
                                                                       ^
/Users/dickeylth/.node-gyp/10.16.3/include/node/v8.h:2455:10: note: 'ToObject' has been explicitly marked deprecated here
  inline V8_DEPRECATED("Use maybe version", Local<Object> ToObject() const);
         ^
/Users/dickeylth/.node-gyp/10.16.3/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/dec/stream_decode.cc:40:49: warning: 'ToObject' is deprecated [-Wdeprecated-declarations]
  StreamDecode* obj = new StreamDecode(info[0]->ToObject());
                                                ^
/Users/dickeylth/.node-gyp/10.16.3/include/node/v8.h:2455:10: note: 'ToObject' has been explicitly marked deprecated here
  inline V8_DEPRECATED("Use maybe version", Local<Object> ToObject() const);
         ^
/Users/dickeylth/.node-gyp/10.16.3/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/dec/stream_decode.cc:48:35: warning: 'ToObject' is deprecated [-Wdeprecated-declarations]
  Local<Object> buffer = info[0]->ToObject();
                                  ^
/Users/dickeylth/.node-gyp/10.16.3/include/node/v8.h:2455:10: note: 'ToObject' has been explicitly marked deprecated here
  inline V8_DEPRECATED("Use maybe version", Local<Object> ToObject() const);
         ^
/Users/dickeylth/.node-gyp/10.16.3/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
3 warnings generated.
  CXX(target) Release/obj.target/iltorb/src/dec/stream_decode_worker.o
../src/dec/stream_decode_worker.cc:46:15: warning: 'Call' is deprecated [-Wdeprecated-declarations]
    callback->Call(1, argv);
              ^
../../_nan@2.14.0@nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
  NAN_DEPRECATED inline v8::Local<v8::Value>
  ^
../../_nan@2.14.0@nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
                                       ^
../src/dec/stream_decode_worker.cc:52:15: warning: 'Call' is deprecated [-Wdeprecated-declarations]
    callback->Call(2, argv);
              ^
../../_nan@2.14.0@nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
  NAN_DEPRECATED inline v8::Local<v8::Value>
  ^
../../_nan@2.14.0@nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
                                       ^
2 warnings generated.
  CXX(target) Release/obj.target/iltorb/src/enc/stream_encode.o
../src/enc/stream_encode.cc:14:51: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations]
    val = Nan::Get(params, key).ToLocalChecked()->Int32Value();
                                                  ^
/Users/dickeylth/.node-gyp/10.16.3/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
  ^
/Users/dickeylth/.node-gyp/10.16.3/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/enc/stream_encode.cc:20:51: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations]
    val = Nan::Get(params, key).ToLocalChecked()->Int32Value();
                                                  ^
/Users/dickeylth/.node-gyp/10.16.3/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
  ^
/Users/dickeylth/.node-gyp/10.16.3/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/enc/stream_encode.cc:26:51: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations]
    val = Nan::Get(params, key).ToLocalChecked()->Int32Value();
                                                  ^
/Users/dickeylth/.node-gyp/10.16.3/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
  ^
/Users/dickeylth/.node-gyp/10.16.3/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/enc/stream_encode.cc:32:51: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations]
    val = Nan::Get(params, key).ToLocalChecked()->Int32Value();
                                                  ^
/Users/dickeylth/.node-gyp/10.16.3/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
  ^
/Users/dickeylth/.node-gyp/10.16.3/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/enc/stream_encode.cc:44:51: warning: 'Int32Value' is deprecated [-Wdeprecated-declarations]
    val = Nan::Get(params, key).ToLocalChecked()->Int32Value();
                                                  ^
/Users/dickeylth/.node-gyp/10.16.3/include/node/v8.h:2478:3: note: 'Int32Value' has been explicitly marked deprecated here
  V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
  ^
/Users/dickeylth/.node-gyp/10.16.3/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/enc/stream_encode.cc:50:72: warning: 'ToObject' is deprecated [-Wdeprecated-declarations]
    Local<Object> dictionary = Nan::Get(params, key).ToLocalChecked()->ToObject();
                                                                       ^
/Users/dickeylth/.node-gyp/10.16.3/include/node/v8.h:2455:10: note: 'ToObject' has been explicitly marked deprecated here
  inline V8_DEPRECATED("Use maybe version", Local<Object> ToObject() const);
         ^
/Users/dickeylth/.node-gyp/10.16.3/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/enc/stream_encode.cc:76:49: warning: 'ToObject' is deprecated [-Wdeprecated-declarations]
  StreamEncode* obj = new StreamEncode(info[0]->ToObject());
                                                ^
/Users/dickeylth/.node-gyp/10.16.3/include/node/v8.h:2455:10: note: 'ToObject' has been explicitly marked deprecated here
  inline V8_DEPRECATED("Use maybe version", Local<Object> ToObject() const);
         ^
/Users/dickeylth/.node-gyp/10.16.3/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
../src/enc/stream_encode.cc:84:35: warning: 'ToObject' is deprecated [-Wdeprecated-declarations]
  Local<Object> buffer = info[0]->ToObject();
                                  ^
/Users/dickeylth/.node-gyp/10.16.3/include/node/v8.h:2455:10: note: 'ToObject' has been explicitly marked deprecated here
  inline V8_DEPRECATED("Use maybe version", Local<Object> ToObject() const);
         ^
/Users/dickeylth/.node-gyp/10.16.3/include/node/v8config.h:327:29: note: expanded from macro 'V8_DEPRECATED'
  declarator __attribute__((deprecated))
                            ^
8 warnings generated.
  CXX(target) Release/obj.target/iltorb/src/enc/stream_encode_worker.o
../src/enc/stream_encode_worker.cc:47:15: warning: 'Call' is deprecated [-Wdeprecated-declarations]
    callback->Call(1, argv);
              ^
../../_nan@2.14.0@nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
  NAN_DEPRECATED inline v8::Local<v8::Value>
  ^
../../_nan@2.14.0@nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
                                       ^
../src/enc/stream_encode_worker.cc:53:15: warning: 'Call' is deprecated [-Wdeprecated-declarations]
    callback->Call(2, argv);
              ^
../../_nan@2.14.0@nan/nan.h:1739:3: note: 'Call' has been explicitly marked deprecated here
  NAN_DEPRECATED inline v8::Local<v8::Value>
  ^
../../_nan@2.14.0@nan/nan.h:104:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
                                       ^
2 warnings generated.
  CXX(target) Release/obj.target/iltorb/src/iltorb.o
  SOLINK_MODULE(target) Release/iltorb.node
  COPY ../build/bindings/iltorb.node
  TOUCH Release/obj.target/action_after_build.stamp
[1/5] scripts.install<EMAIL_ADDRESS>›<EMAIL_ADDRESS>›<EMAIL_ADDRESS>finished in 28s

It's really very annoying install experience. Hope this pr could be merged soon.


Add ability to set priority grouping.

Also update interrupt::free to pass CriticalSection<'_> instead of a reference.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @adamgreig (or someone else) soon.
Please see the contribution instructions for more information.

@adamgreig, I extracted the unrelated changes from this PR. Should be easier to review now.

@adamgreig, ping.


Added tutorial about sharing data

Q
A

content fix?
no

New article?
yes

Related issues?
n/a

What's in this Pull Request?
Added tutorial about sharing data between web parts using a global variable

Hi @waldekmastykarz, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

thx Waldek, appreciated.


Add notify_timeout config file option

I had issues with too small notify timeout option in my environment, so i`ve added additional settings.conf variable fot that.

Also need to add description about this on: https://github.com/jomo/imgur-screenshot/wiki/Config


feat: improve ui/ux learn map

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Closes #XXXXX

ToDo:
Add icons

Add descriptions on superblocks

Add intros in each block

Add breadcrumbs
Auto expand block to page they came from
Auto scroll to block

Remove path to intro for hotkeys stuff
Probably remove block intro component and pages?
center misaligned buttons
Add map at the bottom

Don’t allow project expansion, just list the projects
Add Cert at the bottom with icon or checkmark after it gets claimed
Add Sign in button if not signed in
Fix inevitably broken tests
Here's a table of the behavior I implemented when someone arrives on one of these map pages. The place they are coming from is on the left - the top row is the state of the app, the block to expand and the block to auto scroll to

unAuthed - Expand
unAuthed - Scroll to
SignedIn - Expand
SignedIn - Scroll to

breadcrumb block click
clicked block
clicked block
clicked block
clicked block

anywhere else
first block
top of page
currentChallenge block or first block
currentChallenge block or first block

This will be removing the introduction challenges from the map and replacing them with a small description. Do we want to just completely get rid of the block intro pages? And I suppose the files as well? I think I would say yes.

This will be removing the introduction challenges from the map and replacing them with a small description. Do we want to just completely get rid of the block intro pages? And I suppose the files as well? I think I would say yes.

@moT01, thanks for removing the intro paths.
I'm still using the intro pages to help write the new descriptions, but yeah, I'm all for removing those files if we can. I think I was able to make it so those pages won't build in a stashed commit somewhere, but I didn't experiment with removing those files / directories yet.

@moT01, thanks for removing the intro paths.
I'm still using the intro pages to help write the new descriptions, but yeah, I'm all for removing those files if we can. I think I was able to make it so those pages won't build in a stashed commit somewhere, but I didn't experiment with removing those files / directories yet.

I assume we will remove any extraneous files in a subsequent PR?

I assume we will remove any extraneous files in a subsequent PR?


Copy over the authorization header if it exists.

This allows done-ssr to actually work with JWT tokens.  It works!
🎉 🎉 🎉

I should probably add a test.

I wonder, should we just copy over all headers?
I can pair with you monday for a test.

For some reason this stopped working after making some more changes to my app.  I thought it was after adding ajax: $.ajax to my model, but it doesn't seem to make a difference when I remove it.  It's weird, too, because all of the code around the new send here https://github.com/donejs/done-ssr/blob/master/lib/zones/xhr.js#L7, runs, but the newSend doesn't run.  The request still goes through to the API server, though.

I wonder, should we just copy over all headers?

This is the only header that I can think would be useful.  It seems to me like it might be smarter to only start with this one and copy others if/when the need arises.  I would hate to open a security hole that I'm not aware of when I can't think of a valid use case for any other headers.

Closing in favor of #168


Adding Commuter rail tracking!

Added commuter rail and all the relevant platforms!
service_date,route_id,trip_id,direction_id,stop_id,stop_sequence,vehicle_id,vehicle_label,event_type,event_time,scheduled_headway,scheduled_tt
2023-12-22,CR-Worcester,CR-628017-522-AshClosedFramShuttleDyn,1,WML-0214-02,110,0,1819,DEP,2023-12-22 15:17:14-05:00,3300.0,2400

It works!

Look at https://github.com/transitmatters/gobble/pull/41 instead, I should have checked slack 😅


Can't found Oracle errors in grafana dashboard

Hello !
Thanks for your new release of prometheus_oracle_exporter with multiples tables query.
I want to know why exporter don't prinf Oracle error like ORA-01089 in alert_instance.log
Thanks for your reply.

It should work. The rexex for errors is : "O(RA|GG)-[0-9]+"
Can you post the piece of your altertlog where the error is in?
With a few lines before and after.

OK now


Changes to file templates based on kwarg (feature request?)

I'm using the master branch, and so far, seems fantastic. I'm wondering if the following is possible (with apologies if it's obvious - I didn't see it in the docs), and if not, wondering if it can be a feature request.
I'm building a course where each lesson is separate repository (a typical julia package), and they share a number of structural elements. So far, it's really clear that I can use templates/plugins to set up a consistent structure to my liking, which is awesome. The one thing I'd like to do that I don't know how to do is to set up something where I can automatically replace all of a given pattern with another pattern. In particular, I want to change the lesson name throughout.
So for example, the README.md template might be something like
# Lesson {{XX}} - Description of lesson

In Lesson {{XX}}, you will learn how to ...

Then the module template might be
module Lesson{{XX}}

include("lesson_{{XX}}.jl")
include("assignment_{{XX}}.jl")

end

So when I build my template function, it would be need to be able to do something like my_template("Lesson01"; replacements=(xx=>"01")). This is easy enough to do in Atom after the fact, but I thought it might be a bit of a time-saving feature.

Thanks for the good explanation! I think some kind of global_view keyword would be useful for that.
For now, I think you can use user_view, maybe like this:
const NeedsNum = Union{Readme, SrcDir}
PkgTemplates.user_view(::NeedsNum, ::Template, pkg::AbstractString) =
    Dict("LESSON" => match(r"(\d+)$", pkg)[1])

Then you could use {{{LESSON}}} in your template files.

Here's a more versatile solution that still uses user_view but with a simple custom plugin:
struct Replacements <: PkgTemplates.Plugin
    d::Dict{String, Any}
end
Replacements(; kwargs...) = Replacements(Dict(string(k) => v for (k, v) in pairs(kwargs)))

PkgTemplates.user_view(::PkgTemplates.Plugin, t::Template, ::AbstractString) =
    PkgTemplates.getplugin(t, Replacements).d

t = Template(; plugins=[Replacements(; LESSON="01")])

The one downside is that this approach can't coexist with the one I posted yesterday, i.e. you can't use user_view for anything else after you do this.

Awesome, thanks for the explanation! The second one should work, given I didn't know about user_view until this :-D.

It's ok with me to close this or leave it open if you want to flag the global_view idea


New version: TeamIDE.TeamIDE version 2.6.7

This pull request is automatically generated by 🥟 Dumplings in #3300
Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run

/AzurePipelines run

/AzurePipelines run

/AzurePipelines run

/AzurePipelines run


error

make sure your input data and poses are correctly set up......
i have tried 2 different audios on 2 different rigs still the same error please help me out

Hey, did you find a solution for this?

Could you please post the whole error message here?
There should be more info above the error message you posted, in the Maya script editor log.

pls can you do a tutorial on how to install. finding it difficult to install

I need an error log to be able to to help. Without any information it's hard to tell what exactly went wrong when running the tool.

pls can you do a tutorial on how to install. finding it difficult to install

Download and add the auto_lip_sync.py to your Maya scripts folder.
Add the DEPENDENCIES_INSTALLER.bat to your Maya scripts folder and run the bat-file from there.
In Maya you should be able to run these lines in script editor to start the script:

import auto_lip_sync
auto_lip_sync.start()


Exercise menu alert appears too early

In the menu, an alert appears next to the exercise option the round before the stats menu informs that the pet is getting a little chubby.

iibf


Remove support for standalone bson codec

ImportError: cannot import name 'DEFAULT_CODEC_OPTIONS' from 'bson'

See: #949
Either add a workaround or fix upstream

Run a subset of tests in CI with bson installed without pymongo

Given #999, I think it may be best to remove support for the standalone bson codec, and recommend installing pymongo instead.


NPX command Not working.

Hello. I just found this and was going through the steps and cant seem to get the NPX command to work. It doesn't make the utility nor does it make or edit anything. Am I missing anything or is this outdated?

Check if you have node/npm installed, https://github.com/peterthehan/create-discord-bot#troubleshooting

I ended up just installing Git Bash. Bot runs and commands work but cannot get the reaction role widget to work.

Closing since resolved.


Show derivation doesn't display functions and symbols

The Show derivation uses JSON.stringify to serialise values for which typeof returns something different from object, but these values include function and symbol, which are ignored by JSON serialisation:
const { show, data } = require('folktale/core/adt');

const { Id } = data('Id', {
  Id(value){ return { value } }
}).derive(show);

Id(1); // => Id.Id({ value: 1 })
Id(x => x); // => Id.Id({ value: undefined })
Id(Symbol('foo')); // => Id.Id({ value: undefined })

This should probably use the common REPL representations of these two:
Id(x => x) // => Id.Id({ value: [Function] })
Id(function foo(){ }) // => Id.Id({ value: [Function: foo] })
Id(Symbol('foo')) // => Id.Id({ value: Symbol(foo) })

Hi,
I fixed this, but I accidentally commited it to master , instead of creating a branch. https://github.com/origamitower/folktale/commit/c73ff0adfec2cf80e29aaba5d2a074b1f5d5e874
Delete or revert it, if you want.
Sorry.

Fixed in https://github.com/origamitower/folktale/commit/c73ff0adfec2cf80e29aaba5d2a074b1f5d5e874

Ah, I've been away and busy with other stuff, so sorry I took this long to reply :(
It's okay, accidents happen. I keep messing up with Git too :)

Hi,
I am glad that you are back - coding by myself is no fun :)


Unknown field 'events' on type 'Query'. Source: document ListEvents file: GraphQL request

The query is not working for me.

I figure this issue out.
When gatsby-config.js is not set properly, this error log is generated as a result.


About CRI metrics of virtlet-based pod.

Now, k8s mainly uses cAdvisor to collect container performance metrics, and the runtimes that are not included in the cAdvisor, if they have implemented ContainerStats of CRI, also can collect some of metrics.
At present, we need to autoscale Virtlet Pods according to the resource usage of VM. However, virtlet has not yet implemented the ContainerStats of CRI, and there is no Virtlet Pod metrics data collection in cAdvisor also.
Are we going to implement the CRI metrics in the near future?
At present, how can I get the ContainerStats(VM metrics) of Virtlet-Based Pod?
In addition, k8s achieves the Images garbage collection by collecting the disk usage of the container/image. Is there any way to collect the Virtlet image?
Hope to get someone's help, thank you very much!

@jellonek Any suggestion?

We don't have at the moment this topic on our agenda, but contributions are welcomed.
CPU stats could be probably gathered from libvirt in similar manner to https://libvirt.org/docs/libvirt-appdev-guide-python/en-US/html/libvirt_application_development_guide_using_python-Guest_Domains-Monitoring-vCPU.html
Memory is also very similar: https://libvirt.org/docs/libvirt-appdev-guide-python/en-US/html/libvirt_application_development_guide_using_python-Guest_Domains-Monitoring-Memory.html
At the moment I don't know if they have equivalents in used by us https://github.com/libvirt/libvirt-go-xml
As for image, imo we should return only Allocation value of root disk.

Ok, we have that on our agenda (i missed it) and probably in near future i'll start working on that.

Filesystem stats were implemented in #735
Runtime part is in PoC form in #743 - and should be finished in more proper way soon.
Can you verify if that works for you, by testing mirantis/virtlet:jell_rtstats image from docker hub? (it's poc because it has a little simplifications if few places and lacks a proper coverage which i'm doing right now, but core functionality should work).

@jellonek OK, Thanks for this feature. :-)

@miaoy please note that when Virtlet is used together with docker you still will not be able to get VMs stats using Kubelet Summary API. It's because how kubelet is designed.
If you want to get Virtlet VMs stats using Summary API then you need to switch to containerd. You can also just directly call ContainerStats then it will work everywhere.

Directly - means on the node using virtlet unix socket.


Add goog.dom.getElementsByName()

Fixes #944

Closed by the comment https://github.com/google/closure-library/issues/944#issuecomment-443061254


[Bug]: Installing this made me lose EVERYTHING!

Operating System
Windows 10
BG3 Mod Manager Version
<IP_ADDRESS>
BG3 Game Version
Full Release Patch 2
Bug Summary
Tried installing this as suggested to do, and instead it deleted my entire save and the game. Having to reinstall and start from scratch
Links
No response

Can you explain in more detail what steps you took, and what precisely happened?
 Even then it sends those files to your recycle bin. It doesn't delete folders.
So I'm curious why you think the BG3MM is capable of deleting the game, or your saves.

In the download guide it mentioned to not put this in the programme files
x86, I made a new folder and moved BG3 file to the new one as they need to
be together. It then deleted everythung and now I have to reinstall for the
2nd time, trying to do this again this morning. What am I doing wrong?
On Thu, Sep 14, 2023, 5:49 AM LaughingLeader @.***>
wrote:

Can you explain in more detail what steps you took, and what precisely
happened?
 Even then it sends those
files to your recycle bin. It doesn't delete folders.
So I'm curious why you think the BG3MM is capable of deleting the game, or
your saves.
—
Reply to this email directly, view it on GitHub
https://github.com/LaughingLeader/BG3ModManager/issues/118#issuecomment-1718759170,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCR4NJLOJMJ64I72EPOGMX3X2KEEDANCNFSM6AAAAAA4W5EI2A
.
You are receiving this because you authored the thread.Message ID:
@.***>

By "deleted everything", what are you referring to? BG3MM can't delete the game's folder, or your saves/profile folder. This isn't something it was programmed to do.
What are you reinstalling?

I made a new folder and moved BG3 file to the new one as they need to
be together

What do you mean by "as they need to be together"? The mod manager can go in its own folder somewhere (like C:\Games\BG3MM).

Just to clarify, you don't need to move the game to the mod manager, if that's what you're implying you did. The mod manager is a portable program, which means it can run from anywhere without needing to be installed. It has settings to specify where the game is installed, and it'll try and find that location automatically through Steam/GoG.

I Just had a similar thing happen, I set everything up and launched the game through the mod manager and had no saves in my game. I then closed the game and launched the game as normally do (through my desktop shortcut) witch opened The LariLauncher, it told me I have a data missmach, I continued. when the game opened I had all of my saves.

I am going to make a backup of my saves and then make a new save when launched with the mod manager, then through the Larilauncher and see if the saves or over written

And now Launching through the mod manager has my saves... witch is how it is meant to work. So I have no idea why it did that the first time or why it is working now

Hi there,
This happens for me from time to time. Seems unrelated to the manager in general, but rather to the Steam cloud sync and launching the game directly instead of using the launcher.


Separation of components

Should we seperate all components (standalone running processes) to single repositories and create a GitHub organization? Would be easier to develop but something like a "master" project would be necessary that brings it all together.
Is this something we should think about right know?

I'm not sure whether separating by components is the best approach to work distributed. Every time you would add a feature, every component would have to be touched. I think that might add complexity to our workflow, and especially in the beginning where a lot of work is needed, a lot of work in parallel on different components would be done (and have to get merged).
But to put them all in one repo is fine, as long as they are separated. When a single feature would only require changes in one (or little) place(s), distributed work and merges can be handled for one repo imho

i.e. I would simply keep it as it is for now ^^

I'm fine with keeping it as it is, although I'm not sure if you can make repositories from git folders and keep the history afterwards?
EDIT: seems to work (http://stackoverflow.com/a/1307969)


Check number of rhs for CUDA triangular solvers

Closes #1138

could you also add the short description in the beginning comment of pull request?

This makes specifying the with_num_rhs parameter for the triangular solvers a requirement on the CUDA executor
to avoid the (apparent) internal data corruption in cuSPARSE that may occur otherwise when analyzing
with <= 32 rhs and solving with > 32 rhs.
Additionally, I needed to modify the solver tests, since instead of the typical forall_solvers(..., forall_vectors(...)),
here we need to use forall_vectors(..., forall_solvers_with_num_rhs(...)).
Related PR: https://github.com/ginkgo-project/ginkgo/pull/1184


ImportError: cannot import name 'SchemaMetaclass' from 'typesystem.schemas' ([...]/Projects/test/lib/python3.8/site-packages/typesystem/schemas.py)

Checklist

[x ] The bug is reproducible against the latest release and/or master.
[ ] There are no similar issues or pull requests to fix it yet.

Describe the bug

when importing orm , got the error in topic
To reproduce
# coding: utf-8
import orm

print("hello")

Expected behavior

no error whe import orm
Actual behavior
python server.py
Traceback (most recent call last):
  File "server.py", line 2, in <module>
    import orm
  File "[...]/Projects/test/lib/python3.8/site-packages/orm/__init__.py", line 18, in <module>
    from orm.models import Model
  File "[...]/Projects/test/lib/python3.8/site-packages/orm/models.py", line 5, in <module>
    from typesystem.schemas import SchemaMetaclass
ImportError: cannot import name 'SchemaMetaclass' from 'typesystem.schemas' ([...]/Projects/test/lib/python3.8/site-packages/typesystem/schemas.py)

Debugging material

Environment

OS: Linux
Python version: 3.8.10
ORM version: 0.1.9

23:10 $ pipdeptree
orm==0.1.9
  - databases [required: >=0.2.1, installed: 0.5.2]
    - sqlalchemy [required: >=1.4,<1.5, installed: 1.4.23]
      - greenlet [required: !=0.4.17, installed: 1.1.1]
  - typesystem [required: Any, installed: 0.3.0]
pipdeptree==2.1.0
  - pip [required: >=6.0.0, installed: 20.0.2]
pkg-resources==0.0.0
setuptools==44.0.0

Additional context

i tried to import orm to use it.

@foxmask
tldr; It was a release issue which is fixed in version orm==0.2.0.
The reason behind this is that yesterday we release typesystem==0.3.0 and orm didn't depend on any version of typesystem so it would break.
Today orm==0.2.0 is released which depends on typesystem=>0.3.0 so we won't face this again.
This should be fixed, otherwise please update this issue.


chore(docs): Update docs for v0.8

Key thing in this release is support for more types, plus some bug fixes.

@thruflo @balegas - I've added a note about JSON support:


fix: do type check on assignment

Fixes #714

We have types and rtypes so I think isRecursiveType might better.


RobotCar Seasons evaluation issues

Hello ,paul.
I found that the evaluation results of RobotCar Seasons in your paper are for each different condition, but when I submit it in visuallocalization.net, I can only upload all night conditions and all day conditions. How did you do that? To be assessed separately?

Hi,
You can get separate results for different weather conditions by submitting them separately, as shown in the picture below. After I get the results of the dust, night, night-rain, and sun conditions, I upload them to the website respectively. I submitted the result that I chose the RobotCar-Seasons v2 dataset and got RobotCar all day 17.2 / 25.0 / 27.5. The results of night-rain, sun, and dust are much worse than the author's. I consulted the website and got a reply that the current website can only calculate the posture of the rear camera. I guess that's one of the reasons for such poor results.I hope this can help you.
And I see you have questions about the training process. Can you download the Google Landmarks dataset according to the code provided by the original author? I'm having trouble trying to download them, and I'm guessing the reason is that I can't get a stable connection to Google's servers in China. Could you please provide me the training dataset? I will be very grateful.
------------------ 原始邮件 ------------------
发件人:                                                                                "ethz-asl/hfnet"                                                                                @.>;
发送时间: 2022年4月12日(星期二) 上午10:37
@.>;
<EMAIL_ADDRESS>主题: Re: [ethz-asl/hfnet] RobotCar Seasons evaluation issues (#63)
I meet the same problem. Have you figured out this problem now? @yzssik
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Hi,
Sorry for the inaccuracy of the last reply. I found that opening  MY SUBMISSIONS and clicking on the name of the method you submitted will open a new web page that will detail the results under each condition. And I see you have questions about the training process. Can you download the Google Landmarks dataset according to the code provided by the original author? I'm having trouble trying to download them, and I'm guessing the reason is that I can't get a stable connection to Google's servers in China. Could you please provide me the training dataset? I will be very grateful.
------------------ 原始邮件 ------------------
发件人:                                                                                "zoey"                                                                                @.>;
发送时间: 2022年4月30日(星期六) 晚上9:38
@.>;
主题: 回复： [ethz-asl/hfnet] RobotCar Seasons evaluation issues (#63)
Hi,
You can get separate results for different weather conditions by submitting them separately, as shown in the picture below. After I get the results of the dust, night, night-rain, and sun conditions, I upload them to the website respectively. I submitted the result that I chose the RobotCar-Seasons v2 dataset and got RobotCar all day 17.2 / 25.0 / 27.5. The results of night-rain, sun, and dust are much worse than the author's. I consulted the website and got a reply that the current website can only calculate the posture of the rear camera. I guess that's one of the reasons for such poor results.I hope this can help you.
And I see you have questions about the training process. Can you download the Google Landmarks dataset according to the code provided by the original author? I'm having trouble trying to download them, and I'm guessing the reason is that I can't get a stable connection to Google's servers in China. Could you please provide me the training dataset? I will be very grateful.
------------------ 原始邮件 ------------------
发件人:                                                                                "ethz-asl/hfnet"                                                                                @.>;
发送时间: 2022年4月12日(星期二) 上午10:37
@.>;
<EMAIL_ADDRESS>主题: Re: [ethz-asl/hfnet] RobotCar Seasons evaluation issues (#63)
I meet the same problem. Have you figured out this problem now? @yzssik
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Hi,  Sorry for the inaccuracy of the last reply. I found that opening  MY SUBMISSIONS and clicking on the name of the method you submitted will open a new web page that will detail the results under each condition. And I see you have questions about the training process. Can you download the Google Landmarks dataset according to the code provided by the original author? I'm having trouble trying to download them, and I'm guessing the reason is that I can't get a stable connection to Google's servers in China. Could you please provide me the training dataset? I will be very grateful.
…
------------------ 原始邮件 ------------------ 发件人: "zoey" @.>; 发送时间: 2022年4月30日(星期六) 晚上9:38 @.>; 主题: 回复： [ethz-asl/hfnet] RobotCar Seasons evaluation issues (#63) Hi, You can get separate results for different weather conditions by submitting them separately, as shown in the picture below. After I get the results of the dust, night, night-rain, and sun conditions, I upload them to the website respectively. I submitted the result that I chose the RobotCar-Seasons v2 dataset and got RobotCar all day 17.2 / 25.0 / 27.5. The results of night-rain, sun, and dust are much worse than the author's. I consulted the website and got a reply that the current website can only calculate the posture of the rear camera. I guess that's one of the reasons for such poor results.I hope this can help you. And I see you have questions about the training process. Can you download the Google Landmarks dataset according to the code provided by the original author? I'm having trouble trying to download them, and I'm guessing the reason is that I can't get a stable connection to Google's servers in China. Could you please provide me the training dataset? I will be very grateful.
------------------ 原始邮件 ------------------ 发件人: "ethz-asl/hfnet" @.>; 发送时间: 2022年4月12日(星期二) 上午10:37 @.><EMAIL_ADDRESS>主题: Re: [ethz-asl/hfnet] RobotCar Seasons evaluation issues (#63) I meet the same problem. Have you figured out this problem now? @yzssik — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Sorry for the late reply.  I have access to the oversea servers, so I have not connection problem.


How to do move from input?

How to do move on board from input, something like board.doMove('e2e4');. Is this possible

Positions are set with FEN notation. Just use setPosition().

Adding a movePiece() method could make sense, I will think about it.

Added a new method movePiece(squareFrom, squareTo, animated = true) with version 3.16.


Revamped the web UI.

Related Issue
#33
Proposed Changes

Used Tailwind CSS to style the UI, since this process is very fast, easy and future add-on's could be added in a minimal time
Changed web UI images to match with color scheme

Additional Info

Removed the backend server, since it was not being used effectively
Removed duplicate CSS and JS files to lighten the directory structure

Checklist

[X] ✅ My code follows the code style of this project.
[X] 📝 My change requires a change to the documentation.
[X] 🎀 I have updated the documentation accordingly.
[X] 🌟 ed the repo
[X] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)

Output Screenshots

Hey, you've done really great work but it doesn't matches our colour theme i.e light blue.
Can you make that blue only instead of red..

Yeah sure @agamjotsingh18, I will make the changes and push my code once again!

@AyushSingh22 I will revert to the previous font but as far as pictures are concerned, I just searched on Google randomly just to give the overview of the look of the finished site, so one can change those images easily as per wish whenever needed as or required.

@AyushSingh22 I will revert to the previous font but as far as pictures are concerned, I just searched on Google randomly just to find some to give the overview of the feel of the finished site, so one can change those images easily as per wish whenever needed as or required.

Okay make sure you will update other changes, Keep going :)

@AyushSingh22 Review now, all set.


Connecting to valora app does not make the network as Mainnet

When connecting to Valora app, use-contractkit chooses the last network it was connected to instead of Mainnet.
How to reproduce:

Connect with celo-extention wallet on Alfajores network with use-contractkit
Disconnect from the address
Connect with valora app

Test Config:
Browser: Google Chrome
OS: EndeavourOS Linux x86_64
Kernel: 5.16.8-arch1-1
Valora app: 1.24.1
Platform: Android
Use-contractkit version: 2.1.4
cc: @Geektrovert, @Pinotio

Hmm for most wallets It makes sense to keep last network, but since Valora only supports celo mainnet switching network when Valora is used is probably a good idea.
unless there is someway to use other networks with valora im not aware of @jeanregisser

Rather than force switching the network im thinking it might be better if we ask or prompt users to switch. And come up with a solution that works for other wallets like Celo dance that only support celo.


Leaderboard issue (again)

So i was rebirthing alot lately hopefully getting into leaderboard but ive passed the 3 last people on it (highest life) but it didnt show it even after a while or waiting and rejoining server.
The main problem is leaderboard getting stuck and not refreshing properly. and thanks for your time
sincerly, focus-diyaadiyaa

This is not a bug. The problem is that the datastores can only be accessed and updated so many times in a period of time. If the server you are in takes up datastore requests at the time your data would be uploaded to the datastore then it will be added to a queue, and if you leave while in queue then it won't update at all.


Deployment Group Target can't access its own tags via a built in Release Variable

Agent Version and Platform
Version of your agent? 2.131.0
OS of the machine running the agent? Windows
VSTS Type and Version
On-Prem TFS, 2018.2 RC 2
What would be a good addition to the agent?
It would be very helpful if VSTS offered us the ability to access an Agent's tags via the release variables.  Our particular use case is that we need to create scheduled tasks on a VM.  Our approach is to create a deployment group with a bunch of VMs in it and then store the VMs scheduled task time in a tag.  From there, read the target would read the tag as part of the script and know when to execute the scheduled task.

We worked around this issue, by creating a build script which writes the targets in a particular deployment group to a JSON file which gets added to the build artifact.  The release then reads that file to know what to do.  PowerShell follows:
<# create output file #>
$outputFile = New-Item -Path "$env:BUILD_ARTIFACTSTAGINGDIRECTORY\targets.json" -ItemType file
echo "{""targets"": [ " | Out-File -Append $outputFile

<# get deployment group object and members #>
[string] $uriString = "$env:SYSTEM_TEAMFOUNDATIONCOLLECTIONURI$env:SYSTEM_TEAMPROJECT/_apis/distributedtask/deploymentgroups/$env:DEPLOYMENTGROUPID/targets?"
$deploymentGroup = Invoke-RestMethod -Method Get -ContentType "application/json-patch+json" -UseDefaultCredentials -Uri $uriString

<# write individual target json object to output file because deployment group doesn't create a list of tags and individual target does #>
foreach($target in $deploymentGroup.Value)
{
    [string]$targetId = $target.Id
    $uriString = "$env:SYSTEM_TEAMFOUNDATIONCOLLECTIONURI$env:SYSTEM_TEAMPROJECT/_apis/distributedtask/deploymentgroups/$env:DEPLOYMENTGROUPID/targets/$targetId"
    Invoke-RestMethod -Method Get -ContentType "application/json-patch+json" -UseDefaultCredentials -Uri $uriString |
      ConvertTo-Json |
      Out-File -Append $outputFile

    <# add comma if there is another item in the array #>
    if ($target -ne $deploymentGroup.value[-1])
    { echo "," | Out-File -Append $outputFile }
}

<# close out JSON #>
echo "]}" | Out-File -Append $outputFile

@chshrikh , agreed.  Thank you for tagging and taking this on as capacity allows.

This would be a nice enhancement. We sometimes want to deploy to a single instance, vs the entire group. Example is when we add a new VM to the group and need to deploy services to it. We don't want to deploy to all VMs, just the new one.

@chshrikh Could you take a look? We should either confirm we want to do this or close.

This is low priority as per customer asks, closing this for now


feat(interview-prep): Porting Rosetta Problem: Sort Disjoint

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[ ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@RandellDawson successfully tested locally

Hey @NitronR. Did some testing locally and found that the solution didn't work as expected. I modified it a bit and this should pass:
function sortDisjoint(values, indices) {
  let sublist = [];

  indices.sort(function (a, b) { return a - b; });

  for (let i = 0; i < indices.length; i++) {
    sublist.push(values[indices[i]]);
  }

  sublist.sort((a, b) => { return a - b; });

  for (let i = 0; i < indices.length; i++) {
    values[indices[i]] = sublist[i];
  }

  return values;
}

Let me know what you think!

Also, just noticed, but could you add an indent to the tests?
tests:
  - text: sortDisjoint should be a function.
    testString: assert(typeof sortDisjoint=='function','sortDisjoint should be a function.');

just tested this locally again and the solution doesn't seem to be recognised:
  Check challenges tests
    Sort disjoint sublist
      ✓ Common checks
      ✓ Test suite must fail on the initial contents (1185ms)
      - Check tests. No solutions