Migrate from CFXMLTree to NSXMLDocument

CFXMLTree is deprecated as of Mac OS X 10.8.
Our XMLParser class needs to be refactored to use NSXMLDocument.

Instead of refactoring XMLParser, I've migrated most classes away from using it and replaced it with NSXMLDocment/NSXMLNode. The only remaining class is RichXMLParser.
The works is being done on https://github.com/josh64x2/vienna-rss/tree/xmlchanges
and I will create a PR once RichXMLParser has been done.

@barijaona if you tell me which feeds you have been using for testing RichXMLParser I will save them as .xml files and use them in the unit tests. Then I can write performance tests so we can do some optimisations :smile: !

You have a very comprehensive collection, here : https://github.com/rss-sync/corpus
I haven’t tested them all :grinning:


DuckDB: figure out how pass along a directory to find files

Hannes suggested reading up on this:
Hannes Mühleisen5:37 AM
https://github.com/rilldata/rill-developer
Hannes Mühleisen5:49 AM
https://github.com/duckdb/duckdb/blob/master/tools/pythonpkg/src/pyconnection.cpp#L491
https://github.com/duckdb/duckdb/blob/master/tools/pythonpkg/src/pyconnection.cpp#L539
Hannes Mühleisen5:53 AM
https://pubs.opengroup.org/onlinepubs/009695299/functions/access.html

@lloydtabb this is complete, yes?

Done.


Migrate on duplicate found

Describe your suggested feature
It is hoped that comics with the same name and different image sources can be directly migrated from the old reading comic data to the new comic data
Other details
I hope the migrate function on this image helps with my single manga migration
This does not exist in TachiyomiSY
It was very useful to be able to migrate old data directly from the manga from the new source that I searched for, as well as delete manga from the old source.

Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extensions repository.
[X] I have updated the app to version 1.8.4.
[X] I will fill out all of the requested information in this form.

This is really needed

very useful idea


further development

Do you think there will be further development of Shortumation in the near future?  It's a great tool.

Is there no response to my question?

Hi sorry. Unfortunately I don't have the time to dedicate for this. I may come back to it in the future.
I'm sorry I didn't reply sooner. I did add the archive notice.


Add object insert flag

Prevent API object from being created if object with the same name already exists on the API side. This will prevent objects from being duplicated.
This should be a default behavior with a possibility to disable it during connection initialization.

Done.


use async/await and update http, tokio

@lucab, @steveeJ, this PR adds support for async/await. Please, have a look.


feat/request-stack-voter

Hello @stof
What do you think about this PR?
Regards Dominik

Hello,
Thanks for contributing. Can you tell me why the RouteVoter is not enough for you ?
Notice that the KnpMenuBundle sets up the route voter for you.

@Nek cause there is no standalone Request within Symfony3 and Silex DIC anymore, see #222

i think this makes sense. the PR should deprecate RouteVoter and https://github.com/KnpLabs/KnpMenuBundle/blob/master/EventListener/VoterInitializerListener.php . and have some documentation and a changelog entry warning that the request="true" option on the knp_menu.voter tag will go away in the next major version.
maybe lets also add @trigger_error deprecation notices in https://github.com/KnpLabs/KnpMenuBundle/blob/5e7c44cb084b5c4f842f94ab443fb5dbb3f7a44c/DependencyInjection/Compiler/AddVotersPass.php#L32 so people realize they should not use that tag anymore.

We should update the RouterVoter class (maintaining BC) rather than creating a RequestStackRouteVoter. This is still a voter voting based on the route. the fact that it depends on the RequestStack is an implementation detail, which should not be in the name

@dbu @stof i do not care which solution we or you choose, as long as it works and its not taking another half year to implement

@stof so after re-reading https://github.com/KnpLabs/KnpMenu/pull/222#issuecomment-141769541 your idea would be to have this new class, but call it RouteVoter as well and separate it by having it in the Integration\Symfony namespace instead of Matcher\Voter?

ping @stof

@stof @dbu any news on this or alternative solution, which makes KnpMenu usable with Symfony 3?

You could change the existing voter to let it allow injecting either a Request or a RequestStack instance (making the decision what to inject in the container extension class in the bundle). Inside matchItem() you can then check what information is present.

@xabbuh i see no reason to mix them, its more complex, less typesave

@dominikzogg the idea is to have a single class, with a deprecated code path in it (which would trigger a deprecation warning when used).

Closing as #222 was merged.


add giteasy.py file

Fixes #13

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@0ea0566). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #14   +/-   ##
=========================================
  Coverage          ?   95.83%
=========================================
  Files             ?        4
  Lines             ?       96
  Branches          ?        0
=========================================
  Hits              ?       92
  Misses            ?        4
  Partials          ?        0

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 0ea0566...7e8ceda. Read the comment docs.

:ok_man:


More image server options

I am from Asia so the server from NA/EU takes a lot time to load.

Are these some missing that are available on MangaDex?  Neko doesn't have any servers

I found this in Mangadex extension setting for Tachiyomi. Here, it says
rest of the world so I thought there might be more or other servers of
mangadex. Mangadex loads a lot faster selecting rest of the world. But I
love using Neko app instead.
On Fri, Oct 16, 2020, 8:01 PM Carlos<EMAIL_ADDRESS>wrote:

Closed #348 https://github.com/CarlosEsco/Neko/issues/348.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CarlosEsco/Neko/issues/348#event-3886633115, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQNYHMH7JVTCB7AUPAIB4S3SLBIVPANCNFSM4STMUWPQ
.

What are the options on Dex's website?  Also why would you not use automatic?

Guess I should do that. I also found this in their website. Thank you for
your time 😀.
On Fri, Oct 16, 2020, 8:26 PM Carlos<EMAIL_ADDRESS>wrote:

What are the options on Dex's website? Also why would you not use
automatic?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CarlosEsco/Neko/issues/348#issuecomment-710088650,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQNYHMDXPLTELPTHRE4KUSDSLBLSTANCNFSM4STMUWPQ
.

If its an option for rest of world i can definitely add it.

Thanks I would appreciate it if you would look into it. 😊
On Fri, Oct 16, 2020, 8:32 PM Carlos<EMAIL_ADDRESS>wrote:

If its an option for rest of world i can definitely add it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CarlosEsco/Neko/issues/348#issuecomment-710091954,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQNYHMFUKBKS2P2K2ENG7QDSLBMIZANCNFSM4STMUWPQ
.


Dynamic Client Registration

Hi Dominick,
I am very happy that I can be part of this. I also need this functionality for one project.
Why can not we put Dynamic Client Registration as an extension to Identity Server 3? Anyway its part of both OAuth and OpenID Connect. Speaking about attack surface, it seams to me that it does not mater much where it is, if this endpoint is enabled the attack surface is the same. It can be part of Identity Server 3, and turned of by default.
Its just small proposal. What do you think Dominick?

Are you planning on implementing this inside of IdentityServer, or as a separate application?

that would be part of an admin service.


Invalid transport and auth combination

Hi, when trying to subscribe to stream events online or offline, I get an error could not subscribe to event: 400 Bad Request: {"error":"Bad Request","status":400,"message":"invalid transport and auth combination"} even when I try to execute the code from your example.
As a result, I am sending a completely correct json {"type":"stream.online","version":"1","condition":{"broadcaster_user_id":"842366340"},"transport":{"method":"websocket","session_id":"AgoQXqCqQ0RlS0-1URVxCmlCUBIGY2VsbC1j"}}
The error is not in client_id, access_token or user_id and the code is 1 in 1 as in your example

What type of auth token are you using? WebHook eventsub subscriptions require an app token, but Websocket eventsub subscriptions require a user access token. This is what I use for my bot that uses this package. https://dev.twitch.tv/docs/authentication/getting-tokens-oauth/#authorization-code-grant-flow
When I get an app access token I also got
ERROR: could not subscribe to event: 400 Bad Request: {"error":"Bad Request","status":400,"message":"invalid transport and auth combination"}

Indeed, I mistakenly used the application token, not the user. Thank you for correcting me!


Ignore additional top-level directories

Related to #234
Building upon #229, which ignores hidden directories ./Tests/, this PR also ignores the following top-level directories:

node_modules
Packages
Pods
Resources

@Lukas-Stuehrk Seriously, thanks again for catching my mistake here. I'm excited to get this merged and cut a new beta soon.


Gantt diagrams too narrow

Thanks in advance. I used the example form the site. I get the output pictured below

and I would hope for something like this.
In this particular example, my result is not too bad. But most of my personal charts have collisions and text overruns. For example,

I'm using Ubuntu, latest. Installed as npm install mermaid. I installed phantomjs via phantomjs-prebuilt, and
> mermaid --version
7.0.0
> phantomjs --version
2.1.1

I get the same problem when I pull from git, and use the deprecated npm phantomjs.
I am using no modified/custom configurations or CSS. Everything is just out of the box.
The -w flag has no effect.

+1

+1

I write an example and the gatt diagram takes the full page width.
Sample code:

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>Mermaid Quick Test Page</title>
  <link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
  <link rel="stylesheet" href="mermaid.css">
</head>
<body>
  <div class="mermaid">
gantt
dateFormat  YYYY-MM-DD
title Adding GANTT diagram to mermaid

section A section
Completed task            :done,    des1, 2014-01-06,2014-01-08
Active task               :active,  des2, 2014-01-09, 3d
Future task               :         des3, after des2, 5d
Future task2               :         des4, after des3, 5d

section Critical tasks
Completed task in the critical line :crit, done, 2014-01-06,24h
Implement parser and jison          :crit, done, after des1, 2d
Create tests for parser             :crit, active, 3d
Future task in critical line        :crit, 5d
Create tests for renderer           :2d
Add to mermaid                      :1d

section Documentation
Describe gantt syntax               :active, a1, after des1, 3d
Add gantt diagram to demo page      :after a1  , 20h
Add another diagram to demo page    :doc1, after a1  , 48h

section Last section
Describe gantt syntax               :after doc1, 3d
Add gantt diagram to demo page      : 20h
Add another diagram to demo page    : 48h
  </div>

  <script src="mermaid.js"></script>
  <script>
    mermaid.initialize({startOnLoad:true});
  </script>
</body>
</html>

+1 A fix for this in the CLI would be much appreciated.  I'll give the code a look when I have a moment, but passing the width argument to PhantomJS might resolve this issue.

I manage to resolve my generated gantt diagrams being too narrow by passing in a css file using -t option of mermaid CLI.
The css file is actually a duplicate copy of the file mermaid.css in the folder npm\node_modules\mermaid\dist. I append the following lines to the above-mentioned file.
div.mermaid {
  width: 1192px;
}

We do not use PhantomJS any more. Ref: https://github.com/mermaidjs/mermaid.cli
Feel free to create a new issue for the latest version.


This explains how GPT-4 understands sudolang

Using pseudocode to interact with LLMs is definitely a brilliant idea!!! I think it is very useful and helpful, thanks!
To add my two cents, I also asked ChatGPT(GPT-4) to explain the Minimum Salary example to see how GPT-4 understands the code. Here is the conversation:
https://chat.openai.com/share/fe27a52f-44c0-460a-b857-e848469048c5
It seems that, because we instruct GPT-4 to give a definite response, GPT-4 is trying to do that with many assumptions. GPT-4 said it would be "educated guesses". So, it seems we can also use other pseudocode, e.g. python-like or c-like, etc, as long as it is based on some popular languages, it'll work as well.

Yes, you can use any popular language, but SudoLang has significant advantages over Python and Javascript. Simple syntax, a virtually infinite library of functions that can be automatically inferred, declarative, natural language constraints which can express complex ideas and algorithms with a few words, composable interfaces with optional typing and type inference, semantic pattern matching, /commands...
It's a curation of all the best features from the best programming languages in history, and once you get familiar with it, it's easy to miss its features and usability in other languages. In fact, I only write SudoLang these days, and transpile to other languages.


EMI error registering brewing recipes with newer NeoForge

Version: 1.21 - 1.1.7
NeoForge version: 21.0.31-beta (though I think this is the case in 21.0.26-beta and up)
When we cleaned up some ATs in https://github.com/neoforged/NeoForge/commit/09ab1211e5a5ffa2dfacc9dfe1263d00d58b04b1 it seems that one EMI was using got removed. Given it is a record, you can just switch to querying the method rather than the internal field of the potion mix.
java.lang.IllegalAccessError: class dev.emi.emi.platform.neoforge.EmiAgnosNeoForge tried to access private field net.minecraft.world.item.alchemy.PotionBrewing$Mix.ingredient (dev.emi.emi.platform.neoforge.EmiAgnosNeoForge is in module<EMAIL_ADDRESS>of loader 'TRANSFORMER' @580fd26b; net.minecraft.world.item.alchemy.PotionBrewing$Mix is in module<EMAIL_ADDRESS>of loader 'TRANSFORMER' @580fd26b)
	at TRANSFORMER/emi@1.1.7+1.21+neoforge/dev.emi.emi.platform.neoforge.EmiAgnosNeoForge.addBrewingRecipesAgnos(EmiAgnosNeoForge.java:149)
	at TRANSFORMER/emi@1.1.7+1.21+neoforge/dev.emi.emi.platform.EmiAgnos.addBrewingRecipes(EmiAgnos.java:90)
	at TRANSFORMER/emi@1.1.7+1.21+neoforge/dev.emi.emi.VanillaPlugin.lambda$register$29(VanillaPlugin.java:463)
	at TRANSFORMER/emi@1.1.7+1.21+neoforge/dev.emi.emi.VanillaPlugin.safely(VanillaPlugin.java:829)
	at TRANSFORMER/emi@1.1.7+1.21+neoforge/dev.emi.emi.VanillaPlugin.register(VanillaPlugin.java:463)
	at TRANSFORMER/emi@1.1.7+1.21+neoforge/dev.emi.emi.runtime.EmiReloadManager$ReloadWorker.run(EmiReloadManager.java:185)
	at java.base/java.lang.Thread.run(Thread.java:1583)

Fixed in 1.1.8


[docs] add deprecations page

some new deprecations are coming, it'd be great to have it on a single page.

Coverage remained the same at 98.756% when pulling c9c475170d73a01df83170c8f372d7e7e099529b on ro0gr:docs/deprecations-page into c37d364d7d0a6a075fa4f6b384011fe7a4946717 on san650:master.


Rename instance groups to something in line with Horizontal Replicas and High Availability Group, right now name is confusing

"High availability Sets"

After discussion today w/ @bmanifold and on standup, it seems like "Gateway clusters" is the best name for this for now:

Our Gateways are not highly available until #2138 is implemented
Reflects how similar Gateways instances are

Renamed to Sites.


Parsing Error Raised when Attempting to Run Example Code

I installed the scale-llm engine using pip for windows and am currently running it on python. To test the engine, I ran the example code shown on the website for the engine. However, I ran into the following error.

Below is the code that was used, along with the code that raised the error

Any help would be appreciated

Thanks for filing @Arahat-Chikkatur. Looking into it.

I have fixed the Not Found Error using the following fix

As os.path.join added a backslash instead of forward slash. However, I now get an error for an invalid API key despite using a valid key.  Running this code on a mac with the same key worked, meaning it is not an issue with the key. Any help would be apprieciated.

Hi @Arahat-Chikkatur, thanks for reporting issues on Windows. However we're focused on supporting macOS / Linux right now and we don't have resource to support running LLM Engine e2e on Windows at this time.

We can leave this issue open for another 30 days or so in case there is additional demand/interest in Windows, but yeah what @yunfeng-scale said is correct.

With #225, the Completions API should work on Windows machines and I'm unable to reproduce this issue.
I believe the underlying issue lied with how the auth was done with the request at the time of this PR. Specifically, missing this param in the POST request:
auth=(api_key, "")

This was addressed in https://github.com/scaleapi/llm-engine/pull/181.


NEON: Implements some intrinsics supported by architecture v7.

Hi all, this is Eric from Andes Technology Corporation. This PR includes
Add the types simde_float16x4x{3/4}_t and simde_float16x8x{3/4}_t
Add 351 initial implementations and corresponding test cases in 63 families which are listed below:

abal, abal_high, cale, calt, create, cvt, cvt_n, cvtn, dup_lane, ext
fma, fma_lane, fma_n, fms, fms_lane, fms_n, get_lane
ld1_dup, ld1_lane, ld1_x2, ld1_x3, ld1_x4, ld1q_x2, ld1q_x3, ld1q_x4
ld2, ld2_dup, ld2_lane, ld3, ld3_dup, ld3_lane, ld4, ld4_dup, ld4_lane
mla_lane, mlal_high_lane, mls_lane, mlsl_high_lane, mul_lane, neg
qdmlal, qdmlal_high, qdmlal_high_lane, qdmlal_high_n, qdmlal_lane, qdmlal_n
qdmlsl, qdmlsl_high, qdmlsl_high_lane, qdmlsl_high_n, qdmlsl_lane, qdmlsl_n
qdmull, qdmull_high, qdmull_high_lane, qdmull_high_n, qdmull_lane, qdmull_n
qdmulh, qdmulh_lane, qshl, reinterpret, sqrt

"macOS (version 14.2, macos-13)" was the only test that failed on my fork, and it occurred during the "Install Homebrew Dependencies" stage, but all the other CI tests passed smoothly.
Thanks for reading and any recommendations are welcome!

Thank you @yyctw !
Please review https://app.circleci.com/pipelines/github/simd-everywhere/simde/1139/workflows/b6f035be-5458-4865-b49c-fb22d4d49335/jobs/3138/parallel-runs/0/steps/0-112

Looks like the msvc build also has compliants: https://ci.appveyor.com/project/nemequ/simde/builds/48267547/job/vgv72gurd4e0s202#L1856

Test errors on Fedora i386 (ignore the avx512 failures)
https://download.copr.fedorainfracloud.org/results/packit/simd-everywhere-simde-1075/fedora-rawhide-i386/06522193-simde/builder-live.log.gz (source)

Thank you @yyctw !
Please review https://app.circleci.com/pipelines/github/simd-everywhere/simde/1139/workflows/b6f035be-5458-4865-b49c-fb22d4d49335/jobs/3138/parallel-runs/0/steps/0-112

I attempted to build these two failing test cases using the "aarch64-linux-gnu-g++" toolchain with the same compile options that "circleci: i686-gcc11-O2" uses. However, I observed that these two test cases passed successfully on my x86 machine.
Upon further investigation, I noticed that the test cases only fail when built using the "i686-linux-gnu-g++-11" toolchain, while they pass when compiled with "i686-linux-gnu-gcc-11". I guess that there might be some issues or bugs in the "i686-linux-gnu-g++-11" toolchain when using the O2 optimization option.

Upon further investigation, I noticed that the test cases only fail when built using the "i686-linux-gnu-g++-11" toolchain, while they pass when compiled with "i686-linux-gnu-gcc-11". I guess that there might be some issues or bugs in the "i686-linux-gnu-g++-11" toolchain when using the O2 optimization option.

Yeah, this project often finds new compiler bugs. Can you report this bug to GCC? We'll need a workaround for the affected functions in SIMDe

Sure, I will report it as soon as possible.

Looks like the msvc build also has compliants: https://ci.appveyor.com/project/nemequ/simde/builds/48267547/job/vgv72gurd4e0s202#L1856

It appears that there are some bugs when expanding nested macros, such as SIMDE_CONSITIFY and simde_mla_lane_*. I've manually expanded SIMDE_CONSITIFY and resolved the issue. Many other implementations, like {qq}mls{l}_lane, have similar problems, and I will fix all of them as soon as possible.

It appears that there are some bugs when expanding nested macros, such as SIMDE_CONSITIFY and simde_mla_lane_*. I've manually expanded SIMDE_CONSITIFY and resolved the issue. Many other implementations, like {qq}mls{l}_lane, have similar problems, and I will fix all of them as soon as possible.

Yeah, the SIMDE_CONSTIFY_ macros work in the headers, but for MSVC they cause problems in the tests.

FYI, see https://github.com/simd-everywhere/implementation-status/commit/916de72538b89743016a3c411063e616fc33cf30 for the status of f16 type NEON intrinsics prior to this PR
(I updated the script that generates the implementation status, as it was ignoring functions that use 16-bit floating point types)

Upon further investigation, I noticed that the test cases only fail when built using the "i686-linux-gnu-g++-11" toolchain, while they pass when compiled with "i686-linux-gnu-gcc-11". I guess that there might be some issues or bugs in the "i686-linux-gnu-g++-11" toolchain when using the O2 optimization option.

Yeah, this project often finds new compiler bugs. Can you report this bug to GCC? We'll need a workaround for the affected functions in SIMDe

Sure, I will report it as soon as possible.

I found that this problem may be caused by variations in the precision of double across different processors [ref]. I resolved it by adding the -ffloat-store flag in the i686-gcc-11-qemu.cross file.

Looks like the msvc build also has compliants: https://ci.appveyor.com/project/nemequ/simde/builds/48267547/job/vgv72gurd4e0s202#L1856

It appears that there are some bugs when expanding nested macros, such as SIMDE_CONSITIFY and simde_mla_lane_*. I've manually expanded SIMDE_CONSITIFY and resolved the issue. Many other implementations, like {qd}mls{l}_lane, have similar problems, and I will fix all of them as soon as possible.

Solved.

Upon further investigation, I noticed that the test cases only fail when built using the "i686-linux-gnu-g++-11" toolchain, while they pass when compiled with "i686-linux-gnu-gcc-11". I guess that there might be some issues or bugs in the "i686-linux-gnu-g++-11" toolchain when using the O2 optimization option.

Yeah, this project often finds new compiler bugs. Can you report this bug to GCC? We'll need a workaround for the affected functions in SIMDe

I found that this problem may be caused by variations in the precision of double across different processors [ref]. I resolved it by adding the -ffloat-store flag in the i686-gcc-11-qemu.cross file.

This is a good workaround to document in the README for x86 (32-bit) users, but it is still a compiler bug if different -O optimizations levels produce different math. So we'll need to get a minimal reproducer and file a bug with GCC. Hopefully the failing tests cases will make developing a minimal reproducer easier. Let me know if you need help with that.
As for a workaround, perhaps one of the following applied only for the problematic GCC versions will help: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-optimize-function-attribute https://gcc.gnu.org/onlinedocs/gcc/x86-Function-Attributes.html#index-sseregparm-function-attribute_002c-x86 https://gcc.gnu.org/onlinedocs/gcc/x86-Function-Attributes.html#index-target-function-attribute-5 with one or more of no-mmx, no-fancy-math-387, fpmath=sse
If you want to get the bulk of this merged first, feel free to open a new PR that skips the functions that triggers the compiler bug. Then this PR can be rebased and kept until we implement a workaround.

Sure, I'll start by opening a new PR without the functions that trigger the compile errors. After that, I'll report this compilation bug to GCC and look for a workaround for SIMDe.

@yyctw Now that https://github.com/simd-everywhere/simde/pull/1081 is merged,: do you want to keep this PR to develop the workaround, or will you open a new one?

@yyctw Now that #1081 is merged,: do you want to keep this PR to develop the workaround, or will you open a new one?

I'll open the new one, this PR can be closed.


Policy out softmax with illegal moves

https://github.com/mokemokechicken/reversi-alpha-zero/blob/5ee2f330663b34513f0c894eb658f03a1201f400/src/reversi_zero/agent/model.py#L48
I see calculate policy softmax on the all moves contains illegal.
How can calculate softmax on the only legal moves, if set placeholder for legal moves?

I see calculate policy softmax on the all moves contains illegal.
How can calculate softmax on the only legal moves, if set placeholder for legal moves?

Does this answer understand the intent of the question?

For example,
  # no output for 'pass'
  policy_out = Dense(8*8, kernel_regularizer=l2(mc.l2_reg), activation="softmax", name="policy_out")(x)

↓
  legal_mask = Input((8 * 8))  # (0: illegal, 1: legal)
  ...
  # no output for 'pass'
  x = Dense(8*8, kernel_regularizer=l2(mc.l2_reg))(x)
  x = Multiply()([x, legal_mask])
  policy_out = Activation("softmax", name="policy_out")(x)

  ...

  self.model = Model([in_x, legal_mask], [policy_out, value_out], name="reversi_model")

Input of legal_mask is required to be computed in all training data.

Is not equal softmax((0, -0.5, 0.5))[1:2] and softmax((-0.5,0.5)) when legal_mask=(0,1,1)?

@apollo-time Mathematically it is. But in neural network, you have same size of output elements no matter what input it is, that is 3 in your (0, -0.5, 0.5) case. You can only apply the legal_mask after the neural network output.

@apollo-time
oh, I was careless.
How about like this?
  legal_mask = Input((8 * 8))  # (0: illegal, 1: legal)
  legal_mask = Lambda(lambda x: (x-1)*1000000)(legal_mask)  # illegal -> -1000000, legal -> 0
  ...
  # no output for 'pass'
  x = Dense(8*8, kernel_regularizer=l2(mc.l2_reg))(x)
  x = Add()([x, legal_mask])
  policy_out = Activation("softmax", name="policy_out")(x)

  ...

  self.model = Model([in_x, legal_mask], [policy_out, value_out], name="reversi_model")

> softmax([-0.5, 0.5])
[ 0.26894142,  0.73105858]

> softmax([-0.5, 0.5, -1000000])
[ 0.26894142,  0.73105858,  0.        ]

right, just it. thanks.


🐞 -  Virtual scroll on table not working on stackblitz.com (link from documentation)

Which @taiga-ui/* package(s) are the source of the bug?
Don't known / other
Please provide a link to a minimal reproduction of the bug
https://stackblitz.com/edit/taiga-starter
Is this issue blocking you?
Non-Blocking
Description
Link from documentation https://stackblitz.com/run?file=src%2Fapp%2Fapp.component.ts
not load table with virtual scroll
Catch Error:
Error in /turbo_modules/<EMAIL_ADDRESS>(6762:21)
Template parse errors:
Can't bind to 'itemSize' since it isn't a known property of 'cdk-virtual-scroll-viewport'.

If 'cdk-virtual-scroll-viewport' is an Angular component and it has 'itemSize' input, then verify that it is part of this module.
If 'cdk-virtual-scroll-viewport' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message.
To allow any property add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component. ("
tuiScrollable
class="viewport tui-zero-scrollbar"
[ERROR ->][itemSize]="45"
[maxBufferPx]="500"
[minBufferPx]="400"
"): ng:///AppModule/AppComponent.html@7:8
Can't bind to 'maxBufferPx' since it isn't a known property of 'cdk-virtual-scroll-viewport'.
If 'cdk-virtual-scroll-viewport' is an Angular component and it has 'maxBufferPx' input, then verify that it is part of this module.
If 'cdk-virtual-scroll-viewport' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message.
To allow any property add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component. ("
class="viewport tui-zero-scrollbar"
[itemSize]="45"
[ERROR ->][maxBufferPx]="500"
[minBufferPx]="400"

"): ng:///AppModule/AppComponent.html@8:8
Can't bind to 'minBufferPx' since it isn't a known property of 'cdk-virtual-scroll-viewport'.

If 'cdk-virtual-scroll-viewport' is an Angular component and it has 'minBufferPx' input, then verify that it is part of this module.
If 'cdk-virtual-scroll-viewport' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message.
To allow any property add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component. ("
[itemSize]="45"
[maxBufferPx]="500"
[ERROR ->][minBufferPx]="400"

]*cdkVirtualFor="let item of data | tuiTableSort"
tuiTr
>
"): ng:///AppModule/AppComponent.html@46:20
Property binding cdkVirtualForOf not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the<EMAIL_ADDRESS>("

[ERROR ->]
[ERROR ->]
Angular version
12.2.16
Taiga UI version
2.50.0
Which browsers have you used?

[X] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge

Which operating systems have you used?

[ ] macOS
[ ] Windows
[X] Linux
[ ] iOS
[ ] Android

I just requires scrolling module from Angular CDK. Quick fix would be to add it to all modules we have for stackblitz examples.

I close the issue, it is not reproduced in the latest version


allow gregarious monsters to enter the queue

Gregarious monsters enter the queue. It's a pretty big deal!
I've hardcoded this basically as a special case, because I feel like touching ignoreSpecialMonsters() is a recipe for disaster, and I feel like this will probably stay as basically one special case for an extremely long time.

This mostly matters for the Time-Spinner,but it also matters for queue math.

A test would be appreciated, but let me know here if it's too hard / you can't figure out where to start.

I gave it the ol' college try but came up emptyhanded; this code is in AdventureRequest.registerEncounter, and I can't quite figure out how to fake an AdventureRequest properly. I spent a while doing it with EncounterManager.registerEncounter  before realizing that that'll never actually update the queue. Which is a shame, because EncounterManager is relatively easy to write tests for.

okay, so I've put together the following test:
  @Test
  public void gregariousMonstersAreQueued() throws IOException {
    KoLAdventure.setLastAdventure(AdventureDatabase.getAdventure("Barf Mountain"));
    MonsterStatusTracker.setNextMonster(MonsterDatabase.findMonster("Knob Goblin Embezzler"));

    var req = new GenericRequest("fight.php");
    req.setHasResult(true);
    req.responseText = Files.readString(Path.of("request/test_fight_gregarious_monster.html"));
    req.processResponse();

    assertThat(AdventureQueueDatabase.getZoneQueue("Barf Mountain"), contains("Knob Goblin Embezzler"));
  }

which fails because a Knob Goblin Embezzler is a lucky monster, so EncounterManager.isLuckyMonster is hit and the encounter isn't queued. So I think the if chain needs a bit more work.

You don't need to "fake" an AdventureRequest. You can allocate a request, give it a urlString and a responseText, and call methods in AdventureRequest.java with that request. Even static ones, like registerEncounter.
For example, in my BastilleBattalionManagerTest, I do this:
    String urlString = "choice.php?whichchoice=1314&option=1";
    String responseText = loadHTMLResponse("request/test_bastille_game1_1.html");
    GenericRequest request = new GenericRequest(urlString);
    // If you want to reuse the request with different URL/responseText pairs:
    // request.constructURLString(urlString);
    request.responseText = responseText;
    ...
    assertNull(AdventureRequest.parseChoiceEncounter(urlString, 1315, responseText));
    assertEquals(38, Preferences.getInteger("_bastilleLastCheese"));
    assertEquals(38, Preferences.getInteger("_bastilleCheese"));

Notice that I called a method that AdventureRequest.registerEncounter calls and verified that state -- properties, in this case - had been modified as expected.


Input context to resolver #333

https://github.com/graphql-go/graphql/issues/333
Hi, I have problem that i do not know how to pass context to each resolver and i cannot find it on google. Could anybody help me ?
通过context传参给resolve

上个demo：https://github.com/graphql-go/graphql/blob/master/examples/context/main.go


Enum values aren't available until initialize or values method isn't called or it wasn't referenced from Java source

I'm using <IP_ADDRESS>.1
So I have enum class MarkerSideEnum and it has values MarkerSide_LEFT and MarkerSide_RIGHT (which are defines to MarkerSideEnum_values_ array elements).
If I use these defines in my ObjC code, they aren't available until this array is initialized. It happens in [MarkerSideEnum initialize] or [MarkerSideEnum values]. It seems they aren't called until they're used in Java code or called explicitly. I set a breakpoint, and it seems that Java code translates into macro JreLoadStatic(MarkerSideEnum, RIGHT) which causes the array to initialize. Before this method is called, this macro substitutes nil.
I guess, it's a bug? Unless I should use JreLoadStatic to get enum objects I need.

If it really works as intended, what is the correct way to get the Enum object? Documentation states that there should be static accessors (http://j2objc.org/docs/Enum-Translation.html) like + (MarkerSideEnum *)LEFT, but that's not the case. And if I will use + (MarkerSideEnum *)valueOfWithNSString:(NSString *)name, it won't be safe in case if the Java source will change.

It's obscure because each Java enum class creates both a C enum and an Objective C enum class. To separately reference the two, the C enum has the name of the Java enum, while the Objective C class has the name plus "Enum". So "MarkerSide" native references refer to the C enum, while "MarkerSideEnum" native references are to the class.
The C enum is always set by the compiler, so MarkerSide_LEFT and MarkerSide_RIGHT are always defined. It sounds like you want the enum constants as objects, though, so you should use MarkerSideEnum_LEFT() and MarkerSideEnum_RIGHT(). It's not obvious, but these are created by the J2OBJC_ENUM_CONSTANT_GETTER macros in the .h file.
We're working on removing all macros that define public API from our headers, while hopefully will eliminate this confusion.

To get the accessor methods, use the translator's --static-accessor-methods
flag. Static accessors are now defined as C functions, which are faster
than Objective C methods. Generating static accessor methods also makes the
app larger, so they're off by default.
On Tue, Dec 1, 2015 at 12:34 PM Nicholas Yasnov<EMAIL_ADDRESS>wrote:

If it really works as intended, what is the correct way to get the Enum
object? Documentation states that there should be static accessors (
http://j2objc.org/docs/Enum-Translation.html) like + (MarkerSideEnum
*)LEFT, but that's not the case. And if I will use + (MarkerSideEnum
*)valueOfWithNSString:(NSString *)name, it won't be safe in case if the
Java source will change.
—
Reply to this email directly or view it on GitHub
https://github.com/google/j2objc/issues/669#issuecomment-161087669.

Thanks for detailed response. I totally missed constant getters in header file.

That's why we need to replace the J2OBJC_ENUM_CONSTANT_GETTER uses in generated headers with actual declarations. :-)

We now have documentation on how to access fields, methods, etc. from
generated classes: http://j2objc.org/docs/Translation-Reference.html#enums
Like Tom said, we have some work to do to make the correct usage more
obvious when looking at the headers.
On Tue, Dec 1, 2015 at 4:31 PM Tom Ball<EMAIL_ADDRESS>wrote:

That's why we need to replace the J2OBJC_ENUM_CONSTANT_GETTER uses in
generated headers with actual declarations. :-)
—
Reply to this email directly or view it on GitHub
https://github.com/google/j2objc/issues/669#issuecomment-161101830.


[Bug Report] please not use onRemve / onChange ... as props ！ those attrs is interpreted as event by JSX syntax，therefore there's no way to pass these attrs

Element UI version
2.4.0
OS/Browsers version
all
Vue version
2.5.16
Reproduction Link
https://elementui.github.io/issue-generator/#/en-US
Steps to reproduce
rt
What is Expected?
rt
What is actually happening?
rt

I found this PR from babel-plugin-transform-vue-jsx, it may solve your problem.


Update plantuml jar

Previous: PlantUML version 8046 (Mon Jul 25 18:43:30 WEST 2016)
Current:  PlantUML version 1.2020.15 (Sun Jun 28 12:39:45 WEST 2020)

Thanks


Remove Dependabot PR Automerge

Pull Request Test Coverage Report for Build 9b8cb394634e72eb1f8d68fc8ad9e7d774453842-PR-136
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.296%

Totals

Change from base Build f0d08181d8c7a6a723f2a310a7bcbf724d611480:
0.0%

Covered Lines:
423

Relevant Lines:
426

💛  - Coveralls


Add the TableLikeClause with necessary details to the tableElts list

Hi, I am the new Operations Manager Jayden from Vancouver Team.

Hello, I'm Matheus and I've been assigned to this project.

Hi! I'm Marco and I'll be working on this task.

Hello, Moeed here. I'll be working on this project.

Hello, I'm Zahid and I'll be working on this project.

Hey, I am Hrishikesh and I have been assigned to this project

Hello, I am Kalyan. Looking forward to work with you all on this project.


Make the function that check for forbidden functions generic

Any updates on this one ? it's been 2 years ;)


Drop-down for Cluster list needs new component and design

Current drop-down is actually a tooltip.  Would like a custom component that make the list of cluster look more like a drop-down.
Current:

New one should look more like the Namespaces drop-down

@vincent99 can you change this from a tooltip to a dropdown?

Fixed


Cannot receive any data from hat

Hi!
I'm trying out the code but I can't receive any data from my hat.
I'm using the repo example code for fetching the board GPS position.

from gsmHat import GSMHat, SMS, GPS
gsm = GSMHat('/dev/ttyS0', 115200)
GPSObj = gsm.GetActualGPS()
print('GNSS_status: %s' % str(GPSObj.GNSS_status))

Python result:

GNSS_status: 0

And here are the logs:

2021-08-31 07:23:19,639 - gsmHat.gsmHat - INFO - Serial connection to /dev/ttyS0 established
2021-08-31 07:23:19,640 - gsmHat.gsmHat - INFO - Worker started
2021-08-31 07:23:19,641 - gsmHat.gsmHat - DEBUG - Sent to hat: AT+CMGF=1

Just some notes:

The hat is connected to my raspberry pi 3B
The jumpers are on position B
If I connect the board to my PC directly (and put the jumpers on position A) I can send commands and receive data
Tried waiting for a GPS fix but result doesn't change
I've also tried manually powering ON the hat (with the power key button) but it makes not difference at all

It looks like the raspberry may not be communicating the hat.

An update: it looks like the serial communication is actually working because I see the RX led blinking on my hat when I try to run the python script

Solved by adding a few seconds sleep after GSMHat initialization

gsm = GSMHat('/dev/ttyS0', 115200)
sleep(2)
GPSObj = gsm.GetActualGPS()


GD-588: Mocks fail when created inside a test

The used GdUnit4 version
4.3.1
The used Godot version
v4.3.stable.official [77dcf97d8]
Operating System
Windows 11 Enterprise 23H2 Build 22631.4169
Describe the bug
Mocking a resource inside a test function cause an error in GdFunctionDoubler.gd leading to a test fail while the same mock created in a before_test hook makes the test pass properly.
Steps to Reproduce
Please refer to the attached project to a complete reproduction code, but bellow you can find examples of a passing test and a failing test
Passing
extends GdUnitTestSuite

var alphabet: Alphabet

func before_test():
	alphabet = mock(Alphabet)
	alphabet.letter_amounts = {
		"A" : 5
	}

func test_init_starts_queue_shuffled_from_given_alphabet() -> void:
	var queue = LetterQueue.new(alphabet)

	var popped = queue.popn(3)

	assert_array(popped).is_equal(["A", "A", "A"])

Failing
extends GdUnitTestSuite

func test_init_starts_queue_shuffled_from_given_alphabet() -> void:
	var alphabet = mock(Alphabet)
	alphabet.letter_amounts = {
		"A" : 5
	}
	var queue = LetterQueue.new(alphabet)

	var popped = queue.popn(3)

	assert_array(popped).is_equal(["A", "A", "A"])

Minimal reproduction project
mrp.zip

This is already fixed you should upgrade to GdUnit4 4.4.0

Confirmed that updating to GdUnit 4.4.0 solved the issue.


[3.x] GDNative: Fix Linux riscv warning about ignored sysv_abi

Fixes https://github.com/godotengine/godot/issues/41160 but for RISC-V. This is the same as PR https://github.com/godotengine/godot/pull/85916 but for RISC-V.
The __riscv define is set on all RISC-V targets, including rv32 and rv64. It's the same define we use in the OS class.

Thanks!


Update comparison to ensure ordering

Issue: https://github.com/rancher/rancher/issues/13595

LGTM


Android 12

https://github.com/danielhlynosky78/NewRepo/blob/master/.gitattributes

Don't know what this is about.


feat: add assertion for navigation event after click. update various libraries.

Add ability to handle assertedEvents that happen after a user clicks a link.
Output is:
cy.get("{selector").click();   cy.location("href").should("eq", "{url}");

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


Trying to load previewer in VS2022: Could not load file or assembly Avalonia.Base

Describe the bug
I built the latest VS2022 Avalonia extension, then added a new Window.axaml. I installed the Avalonia and Avalonia.Desktop nuget packages and don't have any errors when I look at them in the Dependencies/Packages. The paths all look correct and I see Avalonia.Base.dll in there.
To Reproduce
See above.

Select my Windows.axaml file and choose to "View Designer"

Expected behavior
Designer should appear.
Avalonia Diagnostics Pane
17:42:45.226 [Information]  Stopping previewer process
17:42:45.227 [Information]  Stopping previewer process
17:42:50.973 [Information] 0 Starting previewer process for '"C:\github\Core-Net6\zzzz\bin\Debug\net6.0-windows\zzzz.dll"'
17:42:51.000 [Information] 39136 Started previewer process for '"C:\github\Core-Net6\zzzz\bin\Debug\net6.0-windows\zzzz.dll"'. Waiting for connection to be initialized.
17:42:51.344 [Error] 39136 <= "Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'Avalonia.Base, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=c8d484a7012f9a8b'. The system cannot find the file specified."
17:42:51.350 [Error] 39136 <= "File name: 'Avalonia.Base, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=c8d484a7012f9a8b'"
17:42:51.352 [Error] 39136 <= "   at Avalonia.Designer.HostApp.Program.Main(String[] args)"
17:42:53.125 [Information]  Process exited while waiting for connection to be initialized.
17:42:53.137 [Information]  Process exited
17:42:53.139 [Information]  Stopping previewer process
Windows 10, VS 2022.

This is a .Net 6 project, currently net6.0-windows until I can swap out the WinForms and then change it to net6.0.

I've gotten past this by creating an empty Avalonia project and copying the bootstrapping code to my project.


GUI 1.0

A graphical user interface for phantom created so that people who are less technically skilled can still use it.
To build into exe ect run the command:  pgk phantom-GUI.js
For more info see: https://www.npmjs.com/package/pkg
The front end code is at lib/js/indexjs
I have used my own library - Interface.js - to create the console
lib and phantom exe are intended to be included in the same file when running phantom-GUI

I cannot get it to run on macOS and hence I am re-writing it a an electron app instead of a basic web-app. https://www.electronjs.org/
I will be in touch soon...

Hey @OliverBrotchie, thanks for the contribution. We've got some ideas for a UI but no concrete plans yet. For what it's worth, we're probably going to avoid Electron just because of how resource intensive it tends to be. Either way, feel free to start up another repo and if you get something working, I'll happily add a link to it in our readme under a section for community projects/forks/etc.

Okay no worries! Feel free to use anything from the UI or old code. It was all working, I was just struggling to find a way to package it into an exe.
Good luck and I'll let you know when I get the electron app finished! 😊

@jhead I have just finished and released the electron app! If you want to take a look at it, you can see it under my releases.


Refactor append records analyze and validate records

Motivation
Currently, when appending records we should analyze and validate the append records, but some operates can be optimized, such as :

Shouldn't check the max message size in another loop
Shouldn't calculate num of messages in another loop
Shouldn't get the source codec in another loop

Modifications

Check the max message size in the analyzeAndValidateRecords method.
Calculate num of messages in the analyzeAndValidateRecords method.
Get the source codec in the analyzeAndValidateRecords method.
Test of analyze and validate records.

I found #912 did much work for the similar thing. Does this PR conflict with #912?

I found #912 did much work for the similar thing. Does this PR conflict with #912?

Since PR #912 already moved LogAppendInfo to the outside of class, this PR needs to find a way to access the LogAppendInfo, when we need to test it.

this PR needs to find a way to access the LogAppendInfo, when we need to test it.

We can access the class if the test is under the same package (io.streamnative.pulsar.handlers.kop.storage).


nixos/nh: init

Description of changes
Mostly a copy of the upstream module: https://github.com/viperML/nh/blob/master/module.nix
Marking as draft to get reactions about it. I need to add the release notes.

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.05 Release Notes (or backporting 23.05 and 23.11 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.

Add a :+1: reaction to pull requests you find important.

Idk why the bot adds the has module (update) tag

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/3619

The other mdDoc usages can be removed as well

All of them?

thanks


INFO does not compile when used like a function call

Description
When INFO is used in code such as
if (condition)
	INFO("Information");

it will not compile. However, if you add braces on like
if (condition) {
	INFO("Information");
}

it compiles.
INFO() should act like any other function call, where you can omit the braces when used in if statements and such.
Steps to reproduce
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include "./doctest/doctest/doctest.h"

TEST_CASE("") {
	if (true)
		INFO("Information");
}

Extra information

doctest version: v2.4.5
Operating System: Arch Linux
Compiler+version: g++ 10.2.0

Just pushed a fix for this in dev - thanks for reporting! I managed to change the entire macro to consist of a single statement so now it can be used properly like what you have suggested.
However, I should note that this usage is actually not useful at all - whatever is logged in an INFO() call will only be available for asserts which fail in it's block scope - and that block scope in this case is only the then part of the if statement - and thus you'd have no way of actually using whatever is logged in this way.


Revised ordinal string comparison sections

Revised ordinal string comparison sections
Related to dotnet/samples#509
Fixes #9201

Thanks for the reviews, @pkulikov and @BillWagner!


🐛 [firebase_auth] Unresolved External Symbol Errors with firebase_auth on Windows in Release Mode

When attempting to build a Flutter project with firebase_auth for Windows, the build fails with multiple error LNK2001: unresolved external symbol related to __imp__calloc_dbg and __imp__invalid_parameter.
Steps to Reproduce:

Create a new Flutter project.
Add firebase_auth and firebase_core to pubspec.yaml.
Initialize Firebase in the main.dart.
Run flutter build windows --release.

Expected Result:
The project should build successfully without any errors.
Actual Result:
The build fails with multiple error LNK2001: unresolved external symbol errors:
firebase_auth.lib(a9003852461049443285ecfe94112265_firebase_auth.dir_Debug_verify_custom_token_request.obj) : error LNK2001: unresolved external symbol __imp__invalid_parameter
...
firebase_auth.lib(a9003852461049443285ecfe94112265_firebase_auth.dir_Debug_auth_request.obj) : error LNK2001: unresolved external symbol __imp__invalid_parameter
...

flutter doctor -v
[✓] Flutter (Channel stable, 3.13.4, on Microsoft Windows [Version 10.0.19045.3448], locale en-IN)
    • Flutter version 3.13.4 on channel stable at C:\Users\karti\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 367f9ea16b (10 days ago), 2023-09-12 23:27:53 -0500
    • Engine revision 9064459a8b
    • Dart version 3.1.2
    • DevTools version 2.25.0

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\karti\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.4)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.7.34031.279
    • Windows 10 SDK version 10.0.22621.0

[✓] Android Studio (version 2022.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)

[✓] VS Code (version 1.82.2)
    • VS Code at C:\Users\karti\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.3448]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 116.0.5845.188
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 117.0.2045.31

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Additional Context:

Is there any specific configuration needed in Visual Studio to resolve these errors?

Log Output:
firebase_auth.lib(a9003852461049443285ecfe94112265_firebase_auth.dir_Debug_verify_custom_token_request.obj) : error LNK2001: unresolved external symbol __imp__invalid_parameter [C:
\Users\karti\AndroidStudioProjects\NexaShopsFlutter\build\windows\runner\nexa_shops.vcxproj]
firebase_auth.lib(a9003852461049443285ecfe94112265_firebase_auth.dir_Debug_verify_password_request.obj) : error LNK2001: unresolved external symbol __imp__invalid_parameter [C:\Use
rs\karti\AndroidStudioProjects\NexaShopsFlutter\build\windows\runner\nexa_shops.vcxproj]
firebase_auth.lib(a9003852461049443285ecfe94112265_firebase_auth.dir_Debug_auth_request.obj) : error LNK2001: unresolved external symbol __imp__invalid_parameter [C:\Users\karti\An
droidStudioProjects\NexaShopsFlutter\build\windows\runner\nexa_shops.vcxproj]
firebase_auth.lib(a9003852461049443285ecfe94112265_firebase_auth.dir_Debug_sign_in_flow.obj) : error LNK2001: unresolved external symbol __imp__invalid_parameter [C:\Users\karti\An
droidStudioProjects\NexaShopsFlutter\build\windows\runner\nexa_shops.vcxproj]
firebase_auth.lib(a9003852461049443285ecfe94112265_firebase_auth.dir_Debug_credential_util.obj) : error LNK2001: unresolved external symbol __imp__invalid_parameter [C:\Users\karti
\AndroidStudioProjects\NexaShopsFlutter\build\windows\runner\nexa_shops.vcxproj]
firebase_auth.lib(a9003852461049443285ecfe94112265_firebase_auth.dir_Debug_create_auth_uri_request.obj) : error LNK2001: unresolved external symbol __imp__invalid_parameter [C:\Use
rs\karti\AndroidStudioProjects\NexaShopsFlutter\build\windows\runner\nexa_shops.vcxproj]
firebase_auth.lib(a9003852461049443285ecfe94112265_firebase_auth.dir_Debug_sign_up_new_user_request.obj) : error LNK2001: unresolved external symbol __imp__invalid_parameter [C:\Us
ers\karti\AndroidStudioProjects\NexaShopsFlutter\build\windows\runner\nexa_shops.vcxproj]
firebase_auth.lib(a9003852461049443285ecfe94112265_firebase_auth.dir_Debug_get_oob_confirmation_code_request.obj) : error LNK2001: unresolved external symbol __imp__invalid_paramet
er [C:\Users\karti\AndroidStudioProjects\NexaShopsFlutter\build\windows\runner\nexa_shops.vcxproj]
firebase_auth.lib(a9003852461049443285ecfe94112265_firebase_auth.dir_Debug_secure_token_request.obj) : error LNK2001: unresolved external symbol __imp__invalid_parameter [C:\Users\
karti\AndroidStudioProjects\NexaShopsFlutter\build\windows\runner\nexa_shops.vcxproj]

Kindly assist in resolving these unresolved external symbol errors to successfully build the project for Windows.

Not entirely same issue but we started to get also unresolved symbol errors in Windows build (debug) to our own custom plugin (not firebase related) after updating to latest firebase_core and firebase_auth with the new Windows auth support without any other changes in the codebase. I haven't yet figured out what causes it but reverting to old firebase resolves the issue.

Hey @johannesvuorinen
Modifying the CMakeLists.txt as recommended and performing the following steps resolved the problem for me:
CMakeLists.txt

Delete .\Runner\flutter\ephemeral.
Run flutter clean.

Okay found the issue. Latest firebase plugin adds FLUTTER_PLUGIN_IMPL preprocessor define to the main project. Removing it (manually) fixes the issue with our own plugin because we use the same define there as well but then I get unresolved external symbol __imp_FirebaseAuthPluginCApiRegisterWithRegistrar referenced in function "void __cdecl RegisterPlugins(class flutter::PluginRegistry *)" (?RegisterPlugins@@YAXPEAVPluginRegistry@flutter@@@Z)
I fixed our issue by making our own define to be unique e.g., OUR_CUSTOM_FLUTTER_PLUGIN_IMPL

When I am trying to create windows desktop(.exe) version of my app - I am getting firebase not initialised error. It works fine on andorid, ios and web. Any help?


Bot is not saving the track list for the first time the command !track is called.

Title

Maybe it's related with #64, need to check more.


drag-canvas behavior 配置 shouldBegin 不生效，在 return false 的情况下还是能拖动 canvas

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Steps to reproduce
打开页面，拖动 canvas 即可复现

Environment
Info

g6
4.1.4

System
-

Browser
-

谢谢，下个小版本会修复

谢谢，下个小版本会修复

v4.1.5 已修复

v4.1.5 已修复


[BUG] connection errors lead to endless retries

It seems Marketing Cloud's API servers have become... less usable. I've seen "ECONNRESET" errors across the board and independent of the metadata type during retrieve operations. We need to build in more handlers for that situation deeper in the code. Right now, it's mostly handled on a type-by-type basis which does not help much when you try to download hundreds of entries and it always fails at the very end, causing a complete restart.
Versions:

mcdev (mcdev --version): 3.0.1

causes #49, #48, #46, #45


A dependency failed does not cause job fail cascade

For example, job A require job B, job B require job C. If job C fail, job B fail of course. However, job A will not fail. In fact, it won't be run.
A quick work around is to change a line of code in function get_work, which is in scheduler.py, from
elif self._tasks[dep].status != DONE:

to
elif self._tasks[dep].status not in (DONE, FAILED):

I'm closing this issue.

[x] It has been inactive for +4 months.
[ ] It's not about luigi core, so not as many users are affected about this.
[ ] The change seems quite big, it's unlikely to be sporadically picked up.
[ ] The owner haven't responded or disappeared.
[ ] I don't understand what this issue is about.
[ ] There exists a reasonable workaround for this.
[ ] We need to check if this hasn't been fixed by now (for old issues).
[ ] This is kind of by design and not a bug.
[ ] Resolving this would probably add a lot of complexity.

Every open issue adds some clutter, and we try to make the issues fewer and make it easier for new collaborators to find. Currently we try to close any issue that meets the first checkbox + one other.
Feel free to reopen this issue at any point if you have the intent to continue to work this. :)


Sample file for workshop

This is a sample file for workshop.

Checklist
I applicable, I acknowledge that I have:

[X] Read the contributing guide
[X] Ran terraform fmt on all modified files
[X] Regenerated the relevant README.md files using tools/tfdoc.py
[X] Made sure all relevant tests pass

🧐


Multiple Drop-downs appear at same time

Feature Request
Context
If you click multiple dropdowns after each other, they all appear without the previous one disappearing. Only one dropdown should appear at a time.
Story
As a poeplemover user
I want one dropdown to appear at a time
So I'm not distracted by the previous one that I clicked

Acceptance Criteria
Given I click My Account dropdown
When I click Sort By dropdown
Then My Account dropdown disappears
This user story applies to ALL dropdowns (My Account, Sort By, Filter)
Notes

Story #227 may fix this.


refactor: remove the obsolete angularOnly tag

This information use was obsoleted by Bullet when they obsoleted their "obsolete constraint solver".
It was passed by FSMP to the bullet engine, but was never used by it.

Integrated through another pull request.


Front end 1

Marc and Ford progress if imagersite with added registration and log in.

Changes Unknown when pulling 89b2c592423906637cf5db03566cef7333fd9d88 on front-end-1 into ** on master**.


bug: Cannot open oil

Did you check the docs and existing issues?

[X] I have read the docs
[X] I have searched the existing issues

Neovim version (nvim -v)
0.10.0
Operating system/version
MacOS 14.4.1
Describe the bug
After updating to the latest stable Nvim version and the latest Oil, the plugin does not display the root directory anymore.
Error shown:
   Error  10:54:48 notify.error lazy.nvim Failed to run `config` for oil.nvim

...s/turbo/.local/share/nvim/lazy/oil.nvim/lua/oil/util.lua:159: E565: Not allowed to change text or change window

# stacktrace:
  - /oil.nvim/lua/oil/util.lua:159 _in_ **rename_buffer**
  - /oil.nvim/lua/oil/init.lua:746 _in_ **maybe_hijack_directory_buffer**
  - /oil.nvim/lua/oil/init.lua:1265 _in_ **setup**

https://github.com/stevearc/oil.nvim/assets/14198542/36fc4cf6-6ece-4f9c-a2af-030b99feb2ff
What is the severity of this bug?
breaking (some functionality is broken)
Steps To Reproduce
Unfortunately I cannot reproduce this with the repro. So creating the issue with the hope to get some inputs.
Expected Behavior
Oil should not show any error and work with root directory
Directory structure
No response
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  {
    'stevearc/oil.nvim',
    opts = {},
    -- Optional dependencies
    dependencies = { "nvim-tree/nvim-web-devicons" },
  }
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

Did you check the bug with a clean config?

[X] I have confirmed that the bug reproduces with nvim -u repro.lua using the repro.lua file above.

I found a workaround for now: after opening Nvim, I use Telescope to open a random file before open Oil, it will then work as normal. Hopefully this can be fixed :)

Since you can't reproduce the issue with a clean config, it's most likely interference with some other plugin. The message

E565: Not allowed to change text or change window

seems to be related to autocomplete. So maybe you're loading oil in the middle of a completion function somehow.
The last resort to figure out the conflict is always to :help bisect

FYI - I've got the same issue and use lazy.nvim to pin to the commit 18272aba9d00a3176a5443d50dbb4464acc167bd
  {
    "stevearc/oil.nvim",
    commit = "18272aba9d00a3176a5443d50dbb4464acc167bd",
    opts = { }
  }

FYI - It's working for me with last commit now.

Same, it's working again.
I've also noted that the "actions.save" which i had mapped is gone now, i replaced it with vim.cmd.w

@t18n does the most recent commit work for you as well?

@jellydn unfortunately     commit = "18272aba9d00a3176a5443d50dbb4464acc167bd", did not work for me.
@stevearc I updated to
  "oil.nvim": { "branch": "master", "commit": "64a3a555b40d96faae488ed6cf5d0f8b38520891" },

but the issue persisted.

@t18n the only clue I have is that it might be related to autocomplete somehow. It's definitely a bad interaction with something else in your config, but without being able to reproduce it on my end I can't look into it. As mentioned before, you could try :help bisect. Another place to look could be using :Lazy to see what triggered the loading of oil.nvim, because it looks like the error is happening in the setup function, so it's possible that oil is getting loaded in a weird or unexpected context.

I disabled lazy load for oil and now it works fine.

@Divelix that's it. Set lazy = false fixed it for me. Thank you!

I got this working so that oil is lazy loadable:
	"stevearc/oil.nvim",
	keys = {
		{ "-", "<cmd>Oil<cr>" },
		{ "<leader>-", "<cmd>Oil --float<cr>" },
	},
	opts = {
		default_file_explorer = false,

It seems something to do with the default_file_explorer option and setting it to false. Didn't know if this would help but wanted to show just in case.
NOTE: i disabled netrw in my lazy.nvim config


Supporting health checks

In production we want an easy way of doing health checks with tcurl.
There are a few options:
as=raw endpoint
In your language of choice; implement an endpoint that uses the raw encoding.
Then use tcurl -p host:port {serviceName} {endpointName} --raw to hit it;
This works today
Using a thrift health check
To do a thrift health check you need the IDL file; this is rather inconvenient; to really do so we want to support pre-flight IDL fetches

In all languages; implement as=raw endpoint called thrift_idl_v1 that returns the thrift IDL as utf8.
Add a feature to tcurl to support tcurl -p host:port --thrift {serviceName} {endpointName}. If the --thrift flag is set then do a pre-flight IDL fetch request followed by the actual request

This relies on #10
Support machine readable output
The tcurl binary outputs "Got call response ok" which we should have a way of stripping; this makes matching with existing tooling easier, for example nagios

Add a --quiet flag that only outputs response arg3.

This relies on #11
Related issues

tcurl #10
tcurl #11
tchannel https://github.com/uber/tchannel/issues/907

cc @xichen2020 @prashantv @jsu1212

Another idea
A shared IDL that all services implement.
To do better introspection into any service using tcurl we could force all services to implement a shared IDL file.
For example
service Meta {
  void health_v1()
  string thrift_idl_v1()
}

We can bake this IDL directly into tcurl and we would have all services implement it; this allows us to add new useful shared endpoints in the future.
We should probably expose this IDL file from tchannel so it can be imported from a shared place.

v1?

Method names are usually camelCase in Thrift IDLs.
Health check needs to be able to return something (bool or enum) or throw an exception.
Also, thoughts on removing v1? Breaking changes to method signatures will be problematic regardless of approach. How does the version number in method names help?

Let's make v1 go away.
No need to return true, since the result body should has ok=true when succeeded.

Casing
camelCase vs snake_case is a general discussion to have; I dont care too deeply.
version numbers
As for putting version numbers in endpoints; I strongly recommend this as reality says that breaking changes happen. My biggest mistake with sirvice was not putting versions in everything.
Now especially for a shared Meta thrift IDL that is going to be hardcoded in a tcurl debian that wil be shared among all languages.
We may want to implement a health_v2 that returns a scalar or a struct instead of a boolean.

One could argue that you can pick unique method names instead of postfixing the version
One could argue that the v1 can be health and v2 can be health_v2

Either way versions are a reality and I strongly encourage people to put a v1 in every endpoint because that is reality; you will make  breaking changes.
Any belief that thrift has one version and you never make breaking changes is a lie and that's not how it works

"One could argue that you can pick unique method names instead of postfixing the version" -- a new name is better when a new feature is implemented.

Casing: Whatever we choose here will basically establish a convention that other people will start emulating. The convention in existing services has been camelCase, so I'm OK with that for consistency.
Versioning: I really don't want to encourage people to make breaking changes. We should be encouraging a mindset that supports smart Thrift usage. It is possible to use Thrift correctly.
Return type: I'm in favor of returning a boolean. The app might be able to listen/serve traffic but has failed to load some resources or something and isn't actually healthy enough for traffic. I think this would better support some business logic in the health check.

+1 for camelCase.
Return type: prefer returning something other than void, and preferably a struct (which can be extended to return more info in future).

I don't have a strong opinion on the health check return type. It would be nice if the health check could do some extra checks but most people will implement it to return right away. I don't know if we want to differentiate between light and deep health checks.
Regarding more complex structs on health checks: sounds like a great idea in theory, but for most use cases, service health is treated as binary. Callers will treat services as either working or not working. I doubt they will alter their behavior because the service is in a partially degraded state.

I prefer to make the health endpoint as simple as possible. Since this is a meta endpoint required on all service, it will affect lots of service. For more complex functionality, services can create their own.

+1 for making the health check simple. Most of our existing health checks are simple health checks. We need to have a very good reason to convince people implement more complex ones. For complex checks, stats and alerts should be used instead.

Health checks are in.


[cloud_firestore] Catch exceptions for transactions on Android

This should resolve #70.
I assume that the RuntimeExceptions I am seeing there happen in the doInBackground AsyncTask of Transaction#set, which is why I added a try-catch block there.
Transaction#update and Transaction#get already had try-catch blocks, however, they only caught IllegalStateException's and since I got RuntimeExceptions and there is no need to be specific about the type of exception when only e.getMessage is called anyway, I generalized the catch block for those as well.
Additionally, I applied the same logic to Transaction#delete, just to be consistent.

@collinjackson The test timed out: https://github.com/FirebaseExtended/flutterfire/pull/84/checks?check_run_id=211246131

has this been released?


Minimum required version of Tags::HTML seems to be 0.08, declared is only 0

Sample fail report: http://www.cpantesters.org/cpan/report/8c098992-dc77-11ee-9f62-e9b2707a655f
The reported failing test run encountered Tags::HTML 0.07

Thank you, fixed in 0.05 release.


RSS support

Can anatole add RSS support for posts?

@ericswpark  Thanks for bringing this up. RSS has been supported for quite a while:
https://github.com/lxndrblz/anatole/blob/3971e373205483aa7530cd2037dfaed644253628/layouts/partials/head.html#L60-L63
Did you have any issues using it?

Hi, I didn't know anatole already had support for RSS, sorry! I did check the README but didn't see anything about RSS so I assumed there was no support yet.
I noticed the RSS feed also includes pages for some reason, including hidden pages (pages not linked in the navbar). Is there a way to get the RSS feed to only show articles posted?
Also, can the RSS feed be added as an icon next to the social links, like the GPG key?

Thanks for making me aware that the Readme currently does not mention the RSS feed. It certainly makes sense to add it there as well.
Regarding your first question: With the default settings this is not possible. However, you can always override the default rss.xml template. Check out the following link, it will describe on how that's done. Basically, you would include an additional check to make sure you are only showing linked pages.
Yes, you can add the RSS feed quite easily. You have to add another social icon like this:
[[socialIcons]]
icon = "fas fa-rss"
title = "rss"
url = "/index.xml"

It will give you a link this:

Hope that helps.

Hi @lxndrblz thanks for the reply. Just found an easier way of excluding pages from the RSS feed. It seems like the RSS feed is generated in subdirectories as well, so all I have to do to only have blog posts show up in the RSS feed is to use the URL:
<website>.com/blog/index.xml

I'll submit a PR soon to add the information to the README.


Remove Barrett-Specific executors.

Addresses https://github.com/personalrobotics/aikido/issues/375
Moved to libherb in https://github.com/personalrobotics/libherb/pull/90

Before creating a pull request

[ ] Document new methods and classes
[x] Format code with make format

Before merging a pull request

[x] Set version target by selecting a milestone on the right side
[x] Summarize this change in CHANGELOG.md
[ ] Add unit test(s) for this change

@jslee02 Done! Will merge once the tests pass.


Fix fastnumber error in cluster

Coverage increased (+0.008%) to 95.18% when pulling 81308ca43713484fe0095317306c475c6d821d75 on develop into 328c0346e518c1039905781e33fb41ffc99f44d9 on master.


agent in Kubernetes, An error occurred while flushing metric on context key

**Describe what happened:
I'm running agent version 6.1.4 on kubernetes version 1.9.7
Following error message is flooding in agent logs.
[ AGENT ] 2018-05-29 17:29:46 UTC | INFO | (context_metrics.go:76 in Flush) | An error occurred while flushing metric on context key '66663fb455bb9bad5263897052b17d4f': Rate value is negative, discarding it (the underlying counter may have been reset)

Describe what you expected:
Would love to know what the implication of this error is and how to mitigate this.
Steps to reproduce the issue:
Additional environment details (Operating System, Cloud provider, etc):
Kubernetes cluster version 1.9.7 provisioned with KOPS in AWS.
Datadog agent version 6.1.4

Hi @sunghospark!
#1598 added more readable info on this log message. The PR is included in versions 6.2.0 and up of the Agent. Therefore, could you update your Agents to have more readable information on what's causing these messages? Thanks!

Looks better on 6.2.1,  thanks for quick answer and sorry for reporting on old bug, thought I updated to the latest but I was wrong.


Fix chi-squared tests in random_test.py

As far as I can tell, the previous implementation of the chi-squared test
for samples from discrete probability distributions was broken. It should have
been asserting that the p-value was greater 0.01, e.g., as illustrated here:
http://hamelg.blogspot.com/2015/11/python-for-data-analysis-part-25-chi.html
This hid a few other bugs, such a miscalculation of expected frequencies.
Fortunately, the existing random tests for Bernoulli and Categorical mostly
still pass, which the exception of multi-dimensional logits for Categorical.
Those tests are disabled by this PR.

To be clear, I think the multidimesional categorical samplers are probably generating correct values, but the tests aren't doing the right data manipulations to verify this right now.


Issue with KBFS no longer working on MacBook Pro

Unable to use KBFS on MacBook Pro running Venture 13.0
my log id: 3cfe98f3a3fb03ddaafd7a1c

https://github.com/keybase/client/pull/28028


read_csv converters "Buffer dtyle mismatch"

Am trying to convert a string column to seconds in a dataframe. It looks like there is some sort of off by one error.
Here's my csv
"id","Time to Calculate"
1,"19:31:15"
2,"19:18:17"
3,"19:31:15"
4,"19:27:42"
5,"19:27:42"
6,"19:28:25"
7,"19:28:25"
8,"19:28:25"
9,"19:28:04"
10,"19:28:04"
11,"19:28:04"
12,"19:25:56"
13,"19:25:56"
14,"19:25:57"
15,"19:25:57"
16,"19:26:41"
17,"19:26:41"
18,"19:26:08"
19,"19:26:08"
20,"1 day, 1:04:33"
21,"1 day, 1:04:33"
22,"1 day, 1:04:33"
23,"2 days, 2:14:33"

Here's my code
from pandas import read_csv

def sec_to_calc(time_to_calc):
    print "TIMETD", time_to_calc, type(time_to_calc)
    total = 0
    days = 0
    if 'days' in time_to_calc:
        days, time_to_calc = time_to_calc.split(" days, ")
        days = int(days)
    elif 'day' in time_to_calc:
        days = 1
        _, time_to_calc = time_to_calc.split(" day, ")
    hours, min, sec = [int(x) for x in time_to_calc.split(':')]
    return days + 24 * 60 * 60 + hours *60 * 60 + min * 60 + sec

filename = '/tmp/test.csv'
df = read_csv(filename, converters={'Time to Calculate': sec_to_calc})

Here's my error:
  File "/tmp/test.py", line 19, in <module>
    df = read_csv(filename, converters={'Time to Calculate': sec_to_calc})
  File "/home/mharrison/work/pandas/env/lib/python2.6/site-packages/pandas/io/parsers.py", line 64, in read_csv
    return parser.get_chunk()
  File "/home/mharrison/work/pandas/env/lib/python2.6/site-packages/pandas/io/parsers.py", line 418, in get_chunk
    data = _convert_to_ndarrays(data, self.na_values)
  File "/home/mharrison/work/pandas/env/lib/python2.6/site-packages/pandas/io/parsers.py", line 462, in _convert_to_ndarrays
    result[c] = _convert_types(values, na_values)
  File "/home/mharrison/work/pandas/env/lib/python2.6/site-packages/pandas/io/parsers.py", line 470, in _convert_types
    lib.sanitize_objects(values, na_values)
  File "parsing.pyx", line 220, in pandas._tseries.sanitize_objects (pandas/src/tseries.c:54380)
ValueError: Buffer dtype mismatch, expected 'Python object' but got 'long'

While I'm at it. How would I assign an additional column to a dataframe using the provided function (or the logic from it)?

Fixed the bug in the above referenced commit. Thanks for reporting!
On your second question, you mean something like:
df['time_converted'] = df['Time to Calculate'].map(sec_to_calc)
?

Thanks for the fix.
WRT adding a column, yes, you have mechanisms to apply some math operators to create new columns, but I want a function to create an arbitrary new column

DataFrame.insert?

I would prefer .insert_col. It's really hard for me to distinguish between row and col operations. For example, I keep feeling like when I iterate over a dataframe, I should get the rows, not the column keys.
I imagine I'm coming from a different background/use case. I've done time series stuff before for BI but not finance. So I feel like I'm trying to do SQL-like operations on dataframes. There I groupby, sort, create columns and tweak columns, but I normally iterate over rows.

I see. It's very much a column-oriented data structure. You'll be much better off expressing logic as vector operations on columns rather than iterating through the rows. Sometimes it's unavoidable, though.

Yep, it's an adjustment to think in vector ops on columns.


#269 Add simple getters for timeout, pollDelay and pollInterval

Thanks for the PR, however I'm a bit reluctant to do this because it'll make the API surface larger, and getting the poll interval etc is not something that you need every day.
Maybe we can take a step back, why do you need this? Maybe we could solve it in a different way?

Well I guess I messed up linking to the original issue:
https://github.com/awaitility/awaitility/issues/269
Sum: In our test environment, we need to increase the timeouts for specific task and then want to set them back to the previous value


Faster esy env for global installs.

I'm making global packages for things like refmt, and they expose wrapper scripts that simply defer to esy refmt. That's great, but that seems to be incurring an additional 50ms each invocation at least. For local project development that is wonderfully fast! Part of that time goes into checking if any package.jsons were modified and it's worth it. However, for global packages, nothing ever changes, so I think wrapper scripts could benefit from an esy-cached command version.
cc @sanderspies

This is a good first task.

Local project development invokes this every build right? No-op bsb is 70ms. Adding 50ms for esy refmt during parsing is unfortunate.

@chenglou no, not every build.  So for example, you would spin up your bsb build server using esy bsb -make-world -w, and only pay the first time you load the env. You could also do esy shell then do bsb -make-world -w and it would only incur the cost when you do esy shell. But I would like it to be instant the second time you do esy anycommand - and it should be very straightforward. This task is simply a matter of not checking if any package.jsons changed (currently it checks) when you run esyf command. ("esy fast").

Right, a build watcher circumvents this. I was asking about straight up bsb -make-world, no -w. Your issue makes sense.


"Unexpected token <" error in browser

Getting this error in the browser console in a fresh-from-git version: "app.js:1 Uncaught SyntaxError: Unexpected token <".

Sorry, I changed the dev server port to 4000, so that the dev server could run separately and not be restarted when the server code changes.  Try localhost:4000

Ahh yes. Duh, it's in the README. I didn't catch the change. Thanks.

Yeah, I should probably start a changelog before long


correct c++ standard in compiler

Fixes #3 by specifying the right C++ standard version.

Closing this as #3 was closed also.


Code improvement to speed up sorting on larger result-sets

Changing the code to use a (pre-calculated) direct reference to the data array. While it won't make a change on small-to-medium data sets, it starts paying off really nicely on bigger data sets (think of 5-10K records and more), where the number of calls to the criteria function from the native sort() becomes just huge (esp. in the "average" to "worst" cases).

Looks great, thanks!

Ditto!
On Sun 17 Jan 2016 16:12 obeliskos<EMAIL_ADDRESS>wrote:

Looks great, thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/techfort/LokiJS/pull/314#issuecomment-172345477.


Migrate from react to HTML CSS JS

Just a thought for faster rendering and better building of the app

Just a thought for faster rendering and better building of the app

For the fastest, I think React is way more faster then regular HTML, Css, JS app, because is uses what is Called Virtual DOM....

Just a thought for faster rendering and better building of the app

For the fastest, I think React is way more faster then regular HTML, Css, JS app, because is uses what is Called Virtual DOM....

true but building the app and then running it is much more complicated. We haven't been able to package the app yet.


[importer] calling guess_field_types for both 'localfile' and 'remote file' options

What changes were proposed in this pull request?

adding remote file option for calling guess_fuled_types also.

I guess occurring due to some changes in this PR -> https://github.com/cloudera/hue/commit/5a8ddcfc333fcca0bf73fcc1ecb386e9f371b422#diff-febde30edf75f1a484457fb976110629dcddf622992cecdb750b3ecde8ff0377R2852


[FLOC 4166] update mesos page with better CTAs

Fixes 4166
Corrects some UX issues highlighted in 4166. This includes removing the tutorial title, as we don't provide a mesos tutorial, and adding a CTA for launching the Mesos/Flocker isolator.

Sphinx build: http://clusterhq-staging-docs.s3-website-us-east-1.amazonaws.com/updateCTA-mesos-FLOC-4166/mesos-integration/index.html

could we just change the word "launch"
as the button just takes you to a website rather than launching anything scary

In review with @alicesowerby, we decided that this page requires further work, so have opened FLOC-4359.
This PR though is an improvement on the original though, so can be merged as a step change towards 4359.


The colors in terminal.app and iterm2 are very different for the same theme.

I set the airline and airline-theme for vim properly, but i found the color ouputs are very differently in terminal.app and iterm2.
I use solarized light for iterm2, terminal.app and the air-line theme.
It seems iterm2 gives similar outputs as the screenshots of the wiki, but in terminal.app, the colors are strange: in normal mode, the backgroud is yellow which the words "NORMAL" is white, so it's hard to see it clear.

A screenshot for contrast

Most likely a configuration issue. Probably depends on termguicolors and the t_Co setting.


Trading Ratios

Display the ratios for trading so the user knows how much they need to have and how much they will receive (i.e. If bank, show 4:1 ratio)

This has been addressed by showing the ratio by the port and in the menu depending on how many intersections they have selected.


(#244) Fix .info['annualReportExpenseRatio'] for ETFs

As reported in issue #244, there is a bug with querying for an ETF's
expense ratio. For mutual funds, this value is found in
.info['annualReportExpenseRatio'], but for ETFs it is not.
>>> import yfinance as yf
>>> print(yf.Ticker('VTSAX').info['annualReportExpenseRatio'])
0.0004
>>> print(yf.Ticker('VTI').info['annualReportExpenseRatio'])
None

The github user @ycc1107 commented on the issue, identifying the root
cause, which is that for some reason this value is only available inside
the 'fundProfile' key of the data dictionary, a key that is only
present when querying mutual funds and ETFs.
The 'fundProfile' key leads to a dictionary with a
'feesExpensesInvestment' key, which leads to a dictionary with an
'annualReportExpenseRatio' key, which has the value we need.
The github user @ycc1107 opened a PR to fix this issue, but I'm
concerned that it changes too much, as it recursively merges the
entirety of the 'fundProfile' dictionary into the .info dictionary.
So I'm proposing an alternative fix here that attempts to write only
.info['annualReportExpenseRatio'] and nothing else.

MR closed without any changes. Dont think it is to hard to update it as it only requires 4/5 added lines of code and constitues an important info

I'm going through old issues/PRs, and see this was closed when looks to me like should have been merged. But codebase has changed a lot since - can someone create a fresh new PR?


There should be a way to specify jobs which could affect other jobs

Imagine you have a job where if it has run on date A, then it doesn't need to be run for any previous date.  You can manually short circuit the run with a check, but it would be nice to have a cleaner way to deal with these sort of situations.

I'm closing this issue.

[x] It has been inactive for +4 months.
[ ] It's not about luigi core, so not as many users are affected about this.
[ ] The change seems quite big, it's unlikely to be sporadically picked up.
[ ] The owner haven't responded or disappeared.
[ ] I don't understand what this is issue is about.
[ ] There exists a reasonable workaround for this.
[ ] We need to check if this hasn't been fixed by now (for old issues).

Every open issue adds some clutter, and we try to make the issues fewer and make it easier for new collaborators to find. Currently we try to close any issue that meets the first checkbox + one other.
Feel free to reopen this issue at any point if you have the intent to continue to work this. :)

big change because: Luigi relies on configuration in code. Hard to analyze
workaround: There's the deps tools now.


Remove application_service_provider_linux.{cc,h}.

These files have not been used since 192fcaca ("Remove the D-Bus code
from Crosswalk").

LGTM


Create 17ucs127.md

Thanks for the PR.
Hope to see more contribution from you in this organization in future.
We will like have you onboard.
Feel free to contact me in case of any doubt.


inception_score.py: ValueError in the method _init_inception()

I am getting the following error in the method _init_inception() after fixing
o.set_shape(tf.TensorShape(new_shape))
The error is
ValueError: Shape must be rank 2 but is rank 1 for 'MatMul' (op: 'MatMul') with input shapes: [2048], [2048,1008].
which is in line 93
logits = tf.matmul(tf.squeeze(pool3), w)

logits= tf.matmul(tf.squeeze(pool3, [1, 2]), w)
works for me


Add category support

Add Spotify category playlist listing support

Category API console: https://developer.spotify.com/web-api/console/get-browse-categories/#complete

Closed by https://github.com/mattdennewitz/playlist-to-vec/commit/f466c5df2b96976da8e59573d62a471002e827f5


Support for deleting the loaded buffer when delete/rename/move file in mini.files

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md

Module(s)
mini.files
Description
Maybe it could be achieved by using autocmd, like the code below.
vim.api.nvim_create_autocmd("User", {
	pattern = "MiniFilesActionDelete",
	callback = function(args)
		local fname = args.data.from
		local bufnr = vim.fn.bufnr(fname)
		if bufnr > 0 then
			-- delete the buffer
		end
	end,
})

Thanks for the suggestion!
I did consider adding this as it is more or less aligned with the functionality of renaming file of an opened buffer. But eventually opted out for these reasons:

Not deleting buffer is an extra protection from accidental removal of a file, which I personally was grateful for couple of times.
Adding it is a matter of creating custom autocommand like the outline you provided.

Closing as not planned.


[Loc] changes to arc and sql xlfs

This PR fixes #

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.009%) to 42.414%

Files with Coverage Reduction
New Missed Lines
%

src/sql/workbench/services/connection/browser/connectionDialogWidget.ts
1
71.43%

Totals

Change from base Build<PHONE_NUMBER>:
0.009%

Covered Lines:
28423

Relevant Lines:
62563

💛  - Coveralls


New release and deployment

Data format is not backwards compatible so must clear out the Azure deployment and set it up again. Ideally after https://github.com/ascoderu/opwen-cloudserver/issues/27.

Created a new Docker user for Ascoderu: https://cloud.docker.com/u/ascoderu. Travis CI was updated to push images to that user instead of my personal account.

Deleted opwen_email_server on PyPI since we no longer require the package to be pip-installable as client registration is now performed via a HTTP request.

New deployment published and some preliminary testing went well. Next up full end-to-end testing on a Pi.


Include model name in findOne error message

Fix: balderdashy/sails#6873

Hey, @alxndrsn! I tested this out, and it looks like it works as promised. Thanks for your patience with this!

Thanks for the merge :slightly_smiling_face:


Fixed typo: HasPrefox -> HasPrefix

This is breaking travis ci tests for me at https://travis-ci.org/apexskier/httpauth/jobs/53216483#L122

:+1: on getting this merged. Breaking our tests as well.

I should let the first one of these pull requests go first. Duplicate of #178. (sorry for not checking!)


Class Webkul\Core\Repositories\SliderRepository does not exist

Bug report
Class Webkul\Core\Repositories\SliderRepository does not exist
Issue Description
I have been trying to deploy on digital ocean server. Application was woking well on local machine but still getting errors on production ubuntu server.
Preconditions
1. version 0.1.6

@KyawNaingTun
Please use our latest version - https://github.com/bagisto/bagisto/releases/tag/v0.1.8

Thanks @jyoti-webkul  I have been fixed this issue by replacing prettus/l5-repository version 2.6(old version). I guess (bagisto)v0.1.6 doesn't compatible with (l5-repository) version 2.6.32.


Rebuild package with new compilers

Checklist

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

Hi, I have a linker issue on PR conda-forge/pyemma-feedstock#41 and I think updating the images and compilers here might resolve it. Hence this PR :slightly_smiling_face:

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Thanks @mattwthompson ! Builds have passed.

LGTM, merging


fix: use external Nutanix API types directly

What problem does this PR solve?:
From what I can tell there is no longer a need to have these separate types.
These types get used by other projects where it generates a swagger spec. This change also fixes a swagger issue complaining about a circular reference since the types are named the same.
Which issue(s) this PR fixes:
Fixes #
How Has This Been Tested?:

Special notes for your reviewer:

The type aliases allow Go consumers to import only the CAREN package, so they are convenient.
I don't completey understand the swagger issue.
That said, I'm ok with this change. We can easily use type aliases again in the future, if we resolve the swagger issue.


Quick start code needs to be linted. It's not correct.

Quick start code needs to be linted. It's not correct.

Thanks for flagging! I'll fix it in the next release.

Fixed in https://github.com/QuisApp/flutter_contacts/commit/81d72d36eca5675fcc61c97cedee2f01aa6a8b7d and released as part of 1.0.0: https://pub.dev/packages//flutter_contacts#quick-start


Fix documentation of case-sensitive server arguments

The more involved approach would've been to figure out how to configure pico-cli to be case insensitive, if that's a preferred approach? At least for now, the documentation matches the current behaviour.

It seems that there is an option for this in picocli:
command.setCaseInsensitiveEnumValuesAllowed(true);
So I will try this out soon, and make a fix before making the release (0.19.3) this weekend.

I think the configuration needed is:
https://picocli.info/apidocs/picocli/CommandLine.html#setOptionsCaseInsensitive-boolean-
https://picocli.info/apidocs/picocli/CommandLine.html#setSubcommandsCaseInsensitive-boolean-

I think the configuration needed is:
https://picocli.info/apidocs/picocli/CommandLine.html#setOptionsCaseInsensitive-boolean- https://picocli.info/apidocs/picocli/CommandLine.html#setSubcommandsCaseInsensitive-boolean-

That is correct, and also the way I solved it for both the Server and Booter: 🙂
https://github.com/robocode-dev/tank-royale/blob/master/server/src/main/kotlin/Server.kt
https://github.com/robocode-dev/tank-royale/blob/master/booter/src/main/kotlin/dev/robocode/tankroyale/booter/Booter.kt
I made a new release on Friday with these fixes, and I did change the botSecrets and controllerSecrets into bot-secrets and controller-secrets to be consistent with the other command-line commands and options.


test fixes for 1170

Based on https://github.com/replicate/cog/pull/1170

Thanks for your help, @zeke. This is now resolved by #1170.


Teleporting Crashes Client

I went to tele out of my PoH and it force closed my client. The game froze and within 2-3 seconds the client closed completely.

Duplicate of #3026 please provide more information there