Add an expand callback to tableajax

Kash,
I add an expand callback to tableajax to decorate the expanded item. It is invoked whenever the item is expanded.
Thanks,
Lam

Hi Lam,
I merged this.
Can you create a separate pull request with same feature in tableLite as well?

Kash,
Thanks Kash. Will create another pull request in tableLite.
Lam

Someone else already did it for us. Its merged and released in v2.1.5


create cluster provider custom  using curl

creating cluster provider custom  using curl (following guide https://rancher.com/adding-custom-nodes-kubernetes-cluster-rancher-2-0-tech-preview-2) below command.
https://rancher.com/adding-custom-nodes-kubernetes-cluster-rancher-2-0-tech-preview-2
But in console when cluster created its says its imported not custom.
Not sure where should I mention provider custom

Please use https://github.com/rancher/quickstart as that is probably the most up-to-date one.

@superseb
👍👍👍

@superseb
One more help, how can I add (or read) pem file content in fqdn certificate using curl?


#12506 Upload issue

Hello,
Does any one have the compiled binary for windows for the upload issue 12506. I am not able to build the fix. Please help.
Ramya

Thank you for submitting this ticket!
This issue tracker primarily serves as the tool to report and track bugs, defects, and development tasks.
For general question, code review request, build problem, or other related discussion, please post it to either:

the official PhantomJS users mailing-list
Stack Overflow (with phantomjs tag)

If you have not read it yet, please check also a few tips on Effective Q&A.


Bug 1318395: Add timeout check for Docker API calls

[test]
@bparees || @rhcarvalho can you review this?

@bparees there are more calls we can wrap with timeout, but I don't want to go nuts about them unless we get BZ when people hitting timeouts...

lgtm [merge]


Disable the rounded corners

The new modern_dark theme is really nice but is there anyway to reduce or disable the rounded corners? Some people like me hate the rounded corners and prefer squared corners instead.

You can disable the round corner by set false in place of radius
def {
    //frame=[border color, border size (0:10), radius (true:false), opacity (0:100)]
    frame = [default, 0, false]
}

The corner radius value has been changed in the next update to the following values:
0 = disable
1 = small
2 = large


NoopSpanBuilder does not need to inherit from SpanContext.

Would fix #255
@yurishkuro ;)

Coverage increased (+0.2%) to 74.112% when pulling 10a04c498c08d2844b50e7604656eef1bc0a03ed on carlosalberto:noopspanbuilder_nospancontext into 3e78ba6126519053918ddae9fb8782b239c33bf7 on opentracing:master.


License ?

Hello, under what license is this project released under ? I would like to study it to learn from it. Thank you.

Just added a MIT license.
I never got around to finishing the MCTS MVP, so I'm afraid this project will not be that useful to you however...


adding excludes and strip-excludes feature to polybuild

Done
On Wednesday 23 November 2016, googlebot<EMAIL_ADDRESS>wrote:

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project. Before we can look at your
pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll
verify. Thanks.

If you've already signed a CLA, it's possible we don't have your
GitHub username or you're using a different email address. Check your
existing CLA data https://cla.developers.google.com/clas and verify
that your email is set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
If you signed the CLA as a corporation, please let us know the
company's name.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PolymerLabs/polybuild/pull/30#issuecomment-262443597,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANS16SrwD5o12D5OqaTrdH16q1Zm6raMks5rA9_9gaJpZM4K6Q1r
.


Update IoTeX API [xrc20-balance-of]

Fixes # .
Changes proposed in this pull request:

Fix the snapshot strategy not working

@millken Many test cases fail, try running this strategy in local

tests passed


Updated New/Set-PartnerApplication

Still available in ExO, but doesn't work, so is effectively on-prem only.

Docs Build status updates of commit 51afee3:
:clock10: Full build: the average full build time is 17 min(s) 37 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 51afee3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-PartnerApplication.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-PartnerApplication.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


The default configuration doesn't work

When I try to execute probe I get the following error:
./mmt-probe.conf:718: no such option 'output-format'
mmt-probe: Error: configuration file './mmt-probe.conf' could not be parsed.
/opt/mmt/probe/mmt-probe.conf:718: no such option 'output-format'
mmt-probe: Error: configuration file '/opt/mmt/probe/mmt-probe.conf' could not be parsed.
Aborted

I think that you didn't use the latest version of mmt-probe. If so, you can delete line 781


Convert Jalali To Gregorian

Hi, I Write This Code:
moment.from('1377/02/15', 'fa', 'YYYY/MM/DD').format('YYYY/MM/DD')
And Return To Me: 1377/02/15
How I Can Convert Jalali To Gregorian?

Hi,
Please create a demo
you have used moment.locale('fa') so you need to use locale('en') before the format method
moment.from('1377/02/15', 'fa', 'YYYY/MM/DD').locale('en').format('YYYY/MM/DD')

I Try it.
not work.
it return: 1377/02/15
I use in the vue.js and install vue-jalali-moment library.

Please create a demo in stackblitz


add Maverick & Clash, update to grim sky

updated what @billy-yoyo said in https://github.com/billy-yoyo/RainbowSixSiege-Python-API/issues/14.

Seems good, thanks a bunch


Explore an alternative approach to Spark UI Proxy

Explore using https://github.com/jupyterhub/jupyter-server-proxy or another generic approach to provide the Spark UI through a proxy.
The current approach is brittle as it works only on localhost and is hardcoded. (This is currently removed in the refactor #1, will be added back.).
In our current deployment, we rely on https://github.com/swan-cern/jupyter-extensions/tree/master/SparkConnector as an external link. (this requires to be in the same network)

I just want to chime in on this one. After seeing this issue, I have used the jupyter-server-proxy extension along with the jupyter-app-launcher extension to create a launcher button to launch a Jupyter workspace tab to load the Spark UI in the JupyterLab environment.
JupyterLab 3.6.2
Spark 3.4.0
This worked pretty well and we could see most of the UI. The only thing not working was the executors page. Even when I configure the Spark UI to use the appropriate base path, it just didn't seem to propagate through correctly to the executor details page to load the executor details.
spark.ui.proxyBase: /proxy/4040

If I then forward the port from the Kubernetes pod and connect directly to the Spark UI, everything was working as expected - so there is some minor unexpected behaviour with the jupyter-server-proxy plugin and the Spark UI - I suspect this was a unexpected behaviour from the Spark UI itself and may work in newer versions. I'm in the process of testing Spark 3.5.0.
The other thing to note is as per the same issues with the sparkmonitor UI connector, was that it is possible to start multiple Spark sessions from a single JupterLab notebook. In this case, the UI port will increment monotonically from 4040 on to 4041 and the app launcher icon fails to connect to any additional instances. Our master Pyspark instances are run in the same container/pod as JupyterLab, rather than spawning the master in a new pod in Kubernetes, and this resulted in a half working solution (better than no Spark UI).
There does appear to be an attribute in the sparkContext to get the URL of the UI: spark.sparkContext.uiWebUrl. The problem in the context of Docker is that it returns the container uid as the host address and is not routable in a development environment. My guess is there will be some cases where it's not possible to proxy the UI via jupyter-server-proxy reliably depending on the network configuration and environment of the Spark cluster configuration.


Not a issue

Hi this is not a issue reporting. i want to thank you to make this amazing library to happen. i'm searching and struggling to make that Meaningful Transition by my hand by using GSAP. but it fail when creating that kind of UI state changes for the multiple objects and i have trouble with the browser performance when i create that kind of effect for the multiple pages. so i think this is much better. and i also wonder if you can make jquery version and pure javascript version for this library and dedicated site and doc for this library. anyway. thank you very much. for your hard work.

@yashilanka
Thank you for your kind words.
The features of the gsTimeline DSL comes from both GSAP from and the amazing power of AngularJS Directives. It would be very difficult to create the equivalent features in jQuery since Directives with databinding and HTML compiling are not available.


Update packages

Coverage decreased (-2.2%) to 78.378% when pulling ae5eebeff6978315a1b1c2e6bdc906767768a511 on upgrade-react-scri into ed4991b4dca30f2b669ee1746e982e341b5535aa on master.


Other Linux distros on Windows

Since there is Ubuntu for Windows.  How hard would it be to support the other popular linux distributions?

I see this already mentioned on user voice.  closing.


Support for marker_edge_color/marker_face_color that is not a string, but a rgb-tuple

Like it was the code expected the colors to be single values/strings and failed for rgb tuples.  Commit f59ed39 should fix it.

Thx!

Big thanks to you.
matplotlib2tikz and matlab2tikz are simply awesome!
On 2015-03-12 23:35, Nico Schlömer wrote:

Thx!
—
Reply to this email directly or view it on GitHub
https://github.com/nschloe/matplotlib2tikz/pull/51#issuecomment-78662987.

--
Paul Wohlhart
University Assistant
Institute for Computer Graphics and Vision
Graz University of Technology
Inffeldgasse 16, 8010 Graz, Austria
Web: http://lrs.icg.tugraz.at/members/wohlhart


Add Telegram notifier

@stuartnelson3, Telegram – popular messenger in some countries, currently has 100m users, 15b messages sends daily.
All test passed on my laptop.
Additional:

https://telegram.org
https://core.telegram.org/bots/api
http://telegram.me/BotFather

docs
global
[ telegram_api_url: <string> | default = "https://api.telegram.org/" ]
[ telegram_token: <string> ]

<telegram_config>
Telegram notifications are sent via the Telegram Bot API.
# Whether or not to notify about resolved alerts.
[ send_resolved: <boolean> | default = true ]

# The API key to use when talking to the Telegram Bot API, can be obtained from `@BotFather`.
[ token: <string> | default = global.telegram_token ]

# The chat id or user id to send notifications to.
chat_id: <string>

# The url to send Telegram Bot API requests to.
[ api_url: <string> | default = global.telegram_api_url ]

# Disables link previews for links in this message.
[ disable_web_page_preview: <boolean> | default = false ]

# Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.
[ disable_notification: <boolean> | default = false ]

# Send `Markdown` or `HTML`, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot's message.
# https://core.telegram.org/bots/api#formatting-options
[ parse_mode: <string> | default = 'HTML' ]

# Notification message.
[ text: <tmpl_string> | default = '{{ template "telegram.default.text" . }}' ]

Thanks for the contribution!
When adding new receivers, we require tests as well as code.
For this case though we are recommending that you implement this as a separate webhook service, as we aren't sure of the desire from the community to use this, and as far as delivery guarantees go we would also recommend something a bit more robust.
We are talking about a generic JSON templated receiver as a solution, which would solve this and many other service's requirements. We haven't made any firm plans yet, though.

@stuartnelson3, Oh, ok. Where I can find design-docs to start helping with some required things?

https://github.com/prometheus/alertmanager/issues/701

any news about telegram support without external bot system?

There are no plans as of now to add telegram support


Update to crest version 2.12

MNT: Re-rendered with conda-build 3.21.8, conda-smithy 3.19.0, and conda-forge-pinning 2<IP_ADDRESS>.10.33

Checklist

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

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.


Any Changes in .Net 6?

I am going back through this tutorial for .Net 6 Preview. (I went through it last year for .Net 5.)  I see the .Net 5 tutorial is being used for .Net 6 Preview.  Are there going to be any changes in .Net 6 Release and will the tutorial be updated?

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

ID: 1d975a83-1550-b284-d0d8-7fe2ea206ff5
Version Independent ID: 48e81b42-7c2b-afbf-71e6-d4f442a4bd1f
Content: Part 4, add a model to an ASP.NET Core MVC app
Content Source: aspnetcore/tutorials/first-mvc-app/adding-model.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Not that I know.
Try the Razor Pages versions, it's much more up to date with best practices and the new EFC 5 M:M


New tutorial for ROS 2 parameters

There's an issue here where ros2 param list hangs if the teleop node is running.
I'd like to know if it's caused by the steps I followed or if this is an issue for /ros_tutorials
Signed-off-by: maryaB-osr<EMAIL_ADDRESS>

There's an issue here where ros2 param list hangs if the teleop node is running.
I'd like to know if it's caused by the steps I followed or if this is an issue for /ros_tutorials

Either a node shouldn't have a parameter or it should spin to handle incoming parameter related requests. So I think this should be fixed for the teleop node.

Either a node shouldn't have a parameter...

Don't all nodes carry the use_sim_time parameter?

The node options have a flag start_parameter_services if that is set to false the node doesn't need to spin if it has no other incoming data.


PyTorch TEQ Weight-only 3x API Implementation

Type of Change
feature
Description
detail description
Expected Behavior & Potential Risk
the expected behavior that triggered by this PR
How has this PR been tested?
how to reproduce the test (including hardware information)
Dependency Change?
any library dependency introduced or removed

LGTM


Fixup docs clean target

Same fix as for xtensor

Thanks, I have wanted to do that for some time!


Refactor standings positions map creators

They are duplicating too much code (only _generatePositionsMap() varies between the subclasses)

Use template method pattern


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 11:39:29 on 2023.05.23
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 2, errors out: 0
Original problem ID: 22285
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=22285

Problem has been resolved in 6m 0s at 11:45:29 on 2023.05.23
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 22285


[Bug]: Consistent naming convention for NiANetwork and NiaPreferences etc

Is there an existing issue for this?

[X] I have searched the existing issues

Is there a StackOverflow question about this issue?

[X] I have searched StackOverflow

What happened?
Not a bug per se, and probably super picky :) , but be nice to have consistent naming convention e.g. for NiANetwork (big A) and NiaPreferences (little a)....only noticed this when reading https://github.com/android/nowinandroid/blob/main/docs/ArchitectureLearningJourney.md as I didn't realise initially  what NiA stood for!
Relevant logcat output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@joreilly I have added a PR if that can be reviewed to fix this. Thank you!


Spellcheck markdown superfences

Overview/Summary
After a brief communication in PR #200, I have created this PR.
This PR fixes/adds/changes/removes

Improves configuration for handling code fences in Markdown for PySpelling
Correction of several spelling errors
Correction of a few grammatical errors, please bare with me I am not a native English speaker
A few Markdown improvements, so get the spellcheck action to pass

Breaking Changes

I hope my corrections does not change meaning of sentences etc. please review carefully

Testing Evidence

The spellcheck action can pass with these changes applied

As part of this Pull Request I have

[ ] Checked for duplicate Pull Requests
[X] Ensured my code/branch is up-to-date with the latest changes in the main branch
[ ] Performed testing and provided evidence.
[ ] Updated relevant and associated documentation.

@microsoft-github-policy-service agree

@jonasbn could you, please review if this PR is still valid?
If so, could you please check the conflicting files?
Thank you

I need to correct and update this PR based on the last additions, will ping when completed

The spelling check now passes locally


Fix to make JsonObject type partial

This fixes the JsonObject type to recognize that keys could be validly undefined.
Wrong behavior:
const obj: JsonObject = ...;
obj.whatever;   // => Json ❌

New/correct behavior:
const obj: JsonObject = ...;
obj.whatever;   // => Json | undefined ✅

My initial thought was that we were supposed to do the opposite, but maybe I'm wrong 🤔
From what I understand, undefined is not serializable to json, so we shouldn't be able to set have undefined values on a LiveObject. UpdateObjectOp.data should be a JsonObject or a Record<string, Json> instead of a Partial<JsonObject>? Sorry about the confusion, I'm still not 100% of what's the correct type

My initial thought was that we were supposed to do the opposite, but maybe I'm wrong 🤔
From what I understand, undefined is not serializable to json, so we shouldn't be able to set have undefined values on a LiveObject. UpdateObjectOp.data should be a JsonObject or a Record<string, Json> instead of a Partial<JsonObject>? Sorry about the confusion, I'm still not 100% of what's the correct type

Yeah, its been confusing for sure. My wrong thinking before comes from the fact that undefined does not have a JSON representation, but you can still work with them in TypeScript land on the input and output side. I hope the following examples help to illustrate that.
On the serializing side, not allowing undefined in inputs was too restrictive. It’s okay to send in { a: 1, b: undefined }, which is the same as sending in { a: 1 }, because they both produce the same string when using JSON.stringify().
On the parsing side, { [key: string]: Json } means that all potential thinkable keys on an object are always going to be Json in TypeScript. They almost never are! For example: JSON.parse("{ a: 1 }").someRandomProperty is definitely going to be undefined.
The old/wrong way
const x: JsonObject = { a: 1, b: undefined };
//                            ^ ❌ Errors here
JSON.stringify(x);  // Even though this call is fine!

Also:
const y: JsonObject = JSON.parse("{ a: 1 }");
const a: Json = y.a;  // Correct
const b: Json = y.b;  // ❌ Incorrect! It’s actually `undefined`, but TypeScript misses that truth

The new/correct way
// ✅ Fine now
const x: JsonObject = { a: 1, b: undefined };
JSON.stringify(x);

Also:
const y: JsonObject = JSON.parse("{ a: 1 }");
const a = y.a;
const b = y.b;
//    ^ ✅ Now correctly infers that these could be Json | undefined

tl;dr undefined itself isn’t a legal Json value, but a JsonObject can still have implicitly-missing or explicitly-missing (through undefined) entries.

Tying this back to your UpdateObjectOp.data use case: I think from that perspective, we should simply ignore any keys with undefined values ourselves (skipping over them when looping). Because depending on where the JSON value is generated, it’s possible that there are explicit-undefined keys (and thus more entries to loop over), which should be treated as implicit-undefined keys (which would not pop up when looping all entries).
I hate the fact that implicit-missing and explicit-missing values are observable (e.g. when looping over entries), but this is the most honest reflection of the possible realities that are the consequence of JS’ language design.

Thank you for the detailed explanation! I now understand why you implemented the fix that way. The new JsonObject type is a better representation of a javascript object created by a JSON.parse.

I hate the fact that implicit-missing and explicit-missing values are observable (e.g. when looping over entries), but this is the most honest reflection of the possible realities that are the consequence of JS’ language design.

Yep, we're on the same page. "The looping over entries" is what I was thinking about when I mentioned serialization. My intuition is that if we allow LiveObject<{ x?: number }>, we might give the impression that the LiveObject keys will be the same on all clients after liveObject.set("x", undefined). But at the same time, it could help us refine the type of LiveObject.delete by allowing only keys where the value can be undefined?

My intuition is that if we allow LiveObject<{ x?: number }>, we might give the impression that the LiveObject keys will be the same on all clients after liveObject.set("x", undefined). But at the same time, it could help us refine the type of LiveObject.delete by allowing only keys where the value can be undefined?

Ohh... great point! I didn't even consider that use case yet, but I think that this now indeed naturally solves for that. In LiveObject.set(x, y), y should never be undefined (or better… it should implicitly translate to LiveObject.delete(x) instead), and indeed: not allowing .delete() on keys that aren't declared to be optional would be an amazing DX if you ask me :)


Make exponential back off for .call

fixed in https://github.com/GrafeasGroup/blossom-wrapper/commit/dab498f298931a4a24e8d18d66b7aaf353b8aa53


lambda function for getting feature flag by Id

[X] Created utility for dynamodb operations like creating session
[X] Created seperate files to store the models
[X] Created one lambda for getting feature flags by Id
[X] Have created file for storing Constants
[X] Have created common file to reuse AWS lambda error response ErrorOutput.go

Closing this PR as the same code is covered in this PR


Mods for Minecraft 1.17.x require additional changes for compatibility

FYI: Mostly a reminder than issue since these files are often forgotten to be updated.  There are files to change for 1.17.1 to work.
mods.toml, mixins and pack.mcmeta need updating for every major release of Minecraft depending on what is included.
Minecraft 1.17.x - Minimum Java Level Supported: 16.0.1
pack.mcmeta files Pack Format=7 for 1.17.x release, 6 for 1.16 and 5 for 1.15, etc.
Minecraft Vanilla Launcher (new one from Microsoft Store) has loading issues that require additional changes to our mods and modpacks.  Read conversation towards the bottom on Forge Support: https://forums.minecraftforge.net/topic/105079-forge-1171-not-launching/?_fromLogin=1
This describes how to workaround the breaking change Microsoft made with the new Vanilla Minecraft launcher.  I'm posting here as I've looked at this 1.17.x version of the mod and found one or both issues exist.  It wasn't an easy process figuring out why mods were not working properly so I've provided the data so you don't have to waste time trying to figure out why.

Please stop spamming GitHub repos.
Declaring outdated metadata is not the cause of the issue linked to that forum, your issue is caused by too new Java and the quirks with how Forge bootstraps itself, it has never been about the mods.

I'm not spamming anything @shedaniel - if you choose not to update the mod, that is entirely up to you.  I've only provided the results of what I see in your mod.  As my first statement starts: FYI which is for your information.  Wasn't opening up a debate on programming practices just providing help on what I've found.


Amiibo personality shows up as Normal in the editor, but shows up as Show-Off in the game. Is taunt value registering in the personality calculation for this program?

I had a similar case where I had a supposed "Thrill Seeker" personality amiibo, but it shows up as "Flashy" in the game.
Does the "Taunt" value register for the Personality calculated in this program? Uploaded images and a zip containing the mr game and watch bin.
Nice program, by the way!

socalled normal amiibo.zip

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

to fix your trouble check this fix, i see it in another issue,
https://app.mediafire.com/9mrkd33xulszl
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

This is an issue with our current personality calculation code, but there are calculations possible on the switch that aren't on a normal computer that make it almost impossible for us to have 1-1 personality calculation. I appreciate you sending us the bins though, it truly does help with our research on the matter. Also, the person that previously responded to you was a scam bot, please do not do anything as they directed.

Thanks for acknowledging it (and deleting the comment that I never got to read but am glad I didn't)
Good luck with polishing this program


doing CW on the name of some methods confuses input with another return type

doing DW, DIW, CW, and so on will make it so the parenthesis wraps around the input instead of letting you change the name, on some specific cases. refactoring via LSP works fine, so that's the workaround. this happens specifically on methods, functions work fine.
the only case i've found this to be an issue is when a a method only has 1 return, if it has more than 1 return then it will also work fine:
//                  CW here works
func (m MovieModel) Get(id int64) (*Movie, error) {
	return nil, nil
}
//                  This wont work
func (m MovieModel) Update(movie *Movie) error {
	return nil
}

doing CW on this function will result in this:
//                   Pipe is the cursor
func (m MovieModel) (|movie *Movie error) {
	return nil
}

Hmm, this one is interesting, it looks like it is because when the entire name is removed it parses differently
func (m MovieModel) (movie *Movie) error {

parses as a func_literal
  (expression_statement ; [51, 0] - [52, 1]
    (func_literal ; [51, 0] - [52, 1]
      parameters: (parameter_list ; [51, 5] - [51, 19]
        (parameter_declaration ; [51, 6] - [51, 18]
          name: (identifier) ; [51, 6] - [51, 7]
          type: (type_identifier))) ; [51, 8] - [51, 18]
      result: (parameter_list ; [51, 20] - [51, 34]
        (parameter_declaration ; [51, 21] - [51, 33]
          name: (identifier) ; [51, 21] - [51, 26]
          type: (pointer_type ; [51, 27] - [51, 33]
            (type_identifier)))) ; [51, 28] - [51, 33]
      (ERROR ; [51, 35] - [51, 40]
        (identifier)) ; [51, 35] - [51, 40]
      body: (block))) ; [51, 41] - [52, 1]

and it ends up thinking (movie *Movie) is the actual desired return statement.
Bit of a weird one here. Might take some thought on how to handle it

As for workaround the LSP rename options works well.
You can also use AutoFixReturnDisable and AutoFixReturnEnable to turn the autocmds on and off which will allow you to edit the line as you expect

As for workaround the LSP rename options works well.
You can also use AutoFixReturnDisable and AutoFixReturnEnable to turn the autocmds on and off which will allow you to edit the line as you expect

That's how I do it when LSP rename is not suitable.
Hopefully you can figure out, I'm 2x out of my depth both with treesitter and lua so I can't really contribute much other than testing 🙂

@cachesdev Ended up being a possible one character fix lol. Give the branch set-column-offset a try when you get the chance and let me know if it works for you

@Jay-Madden Can confirm the fix is definitely working 👌

Cool, fixed on master https://github.com/Jay-Madden/auto-fix-return.nvim/commit/0fd3c7b959bb1e30f272d0091b5521ee10b149da
Bit fragile tho, there are few other things i think can be done here long term. But for now this should solve the immediate case


Add warning sign for Ubuntu

Planning to fix in Version 2.0.0, so going to close the PR.

Thanks. Will start using this when this happens


Fix #3012: expose scanner

:+1:

I would not expose the scanner. It is an implementation detail.  We should be exposing this through our AST API.
-- Cyrus

From: Mohamed<EMAIL_ADDRESS>Sent: 5/4/2015 9:52 AM
To<EMAIL_ADDRESS>Subject: [TypeScript] Fix #3012: expose scanner (#3020)
mhegazy wants to merge 1 commit into master from exposeScanner:

You can view, comment on, or merge this pull request online at:
https://github.com/Microsoft/TypeScript/pull/3020
Commit Summary

Fix #3012: expose scanner

File Changes

M src/compiler/scanner.tshttps://github.com/Microsoft/TypeScript/pull/3020/files#diff-0 (5)

Patch Links:

https://github.com/Microsoft/TypeScript/pull/3020.patch
https://github.com/Microsoft/TypeScript/pull/3020.diff

—
Reply to this email directly or view it on GitHubhttps://github.com/Microsoft/TypeScript/pull/3020.

#3012 is for users like TSLint that need to walk through all nodes of a specific kind (like comment, whitespace etc.). I'm cool with exposing it somewhere, we've been using the scanner to do this work currently.


Python: Handle multiple dependency specifiers for the same package

In PythonResolver and SimplePythonResolver, as surfaced in #962 there is the potential for multiple package version specifications for the same package present in a .WHL file returned by pypi. PythonResolver and SimplePythonResolver will now resolve this mismatch by choosing the latest entry, but this logic may result in lost versions.
Investigate pypi responses and documentation to see if there is a better method of handling this case.
Example:
https://pypi.org/project/msal-extensions/
https://files.pythonhosted.org/packages/52/34/a8995d6f0fa626ff6b28dbd9c90f6c2a46bd484bc7ab343d078b0c6ff1a7/msal_extensions-1.0.0-py2.py3-none-any.whl
AB#2139080

Relevant function: ResolveDependencySpecifications in PythonResolverBase

@cobya can you please share ETA for this fix ?

@hravellamicrosoft we do not have a current ETA for this. The fixes in #962 will be rolled out in the next release of our internal tooling but this repo's discussions should be kept separate from that.


:sparkles: Add SwitchHub in the feature gate list.

Summary
The SwitchHub is in alpha stage, is used by both operator and registration-agent.

/assign @qiujian16

/approve
/lgtm


server: reverse event arguments for vehicle attachment

Found event arguments were flipped when trying to use the events for https://github.com/sudojunior/altv-os-indicators/pull/5, unsure if the parent vehicle should remain the leading argument.

Are you sure? Cuz in the code its how it is in the typings currently

My referenced code targeted the truck when it was the leading argument, which disabled it's indicators when vehicleDetach was run.
alt.on('vehicleAttach', (vehicle1, vehicle2) => {
  console.log(vehicle1.id, "->", vehicle2.id); // 2 -> 1
});

And despite trailer being the second entity of the session, it is vehicle1 - so which one leads?

... or would it be better to just add a note to the event?


Pull request: add more folio customization

Specify some folio behavior in the options JSON object under options.footer.folio.
Currently, there is no control over how the pages are numbered... If you want to have a Cover page and then 1, 2, 3, etc. or if you want to page normally but have the first page say "cover" and then the second say "table of contents" etc.
"footer": {
    "folio": {
        "start": 1,
        "substitute": [
            "Cover",
            "Table of Contents"
        ]
    }
}

This makes the pages start counting on the second page (the first page being 0, aka not showing). It also replaces the folio on page 1 with "Cover" and page two with "Table of Contents."

Thanks for the pr. But wouldn't it have been easier to extend the existing data structure.
We're already saving the content from the html as object. So we have {1: 'first-footer', 2: 'second-footer'} in there. I'd just reuse that same data structure and also support it in the config instead just in the html.
It would also require less chnages.
I believe we just have to add var html = c[pageNum] || o[pageNum] to that line: https://github.com/marcbachmann/node-html-pdf/pull/154/files#diff-c8ef83c99137993de22df9c9dfe8d1f8R154

Just so we're on the same page here... this code is only for page numbers. Not for footer content. It's just adding an easier way to override the {{page}} directive. With that in mind, if I wanted to have the first page say "Cover" instead of "1" for the page number, I would much rather be able to just stick it the config than come up with a whole new footer template.
Unless I'm missing what you're saying.

Are you suggesting that we just change the data structure from
"footer": {
    "folio": {
        "start": 1,
        "substitute": [
            "Cover",
            "Table of Contents"
        ]
    }
}

to
"footer": {
    "1": {
        "start": 1,
        "substitute": [
            "Cover",
            "Table of Contents"
        ]
    },
    "2": {
        "start": 1,
        "substitute": [
            "Cover",
            "Table of Contents"
        ]
    }
}

or are you saying that footer.1 should be new place to override footer html?

I would much rather be able to just stick it the config than come up with a whole new footer template.
Unless I'm missing what you're saying.

Nope, that's exactly what I meant. 👍
I'd rather duplicate the content.

Are you suggesting that we just change the data structure from ...
or are you saying that footer.1 should be new place to override footer html?

Yes, I'd just allow to override the footer html using the footer.1 config

Nope, that's exactly what I meant. 👍
I'd rather duplicate the content.

IMO your suggestion has a very specific use case but is a bit complicated to understand.


[MM-21517] Members in the Manage Members Team Modal roles not updating when changing pages

Summary

While fixing MM-21517, I noticed users roles where not updating when I changed pages and even after closing and re-opening the modal of the Manage Team Members Modal. This PR addresses this issue.
Ticket Link

https://mattermost.atlassian.net/browse/MM-21517

As per discussion with @hahmadia this PR does not still fixes the original issue found while testing on the RC.test instance. It only partially fixes the issue where the users on the second page will never get updated. Have asked @hahmadia to fix this issue completely so that it can be tested thoroughly and ensured that the role for a user is updated every time in the Manage Members dialog.

As per discussion with @hahmadia this PR does not still fixes the original issue found while testing on the RC.test instance. It only partially fixes the issue where the users on the second page will never get updated. Have asked @hahmadia to fix this issue completely so that it can be tested thoroughly and ensured that the role for a user is updated every time in the Manage Members dialog.

@sbishel @fm2munsh
Hey guys,
This PR now addresses two problems (easier for Rohitesh to test as it's dealing with the same area of UI) so I've added some more code which requires a re-review. Thank you!

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.


make keys copy + move draggable

Reminder to me to do this

Can we close as #125 merged in?

No, #125 is only for folders still. I'll start work on keys today


SECURITY ERROR - This download does NOT match the one reported by the checksum server

Hi, when I try to build (xk6 build --with github.com/grafana/xk6-chaos@latest) with xk6 a k6 file, I get the following error:
SECURITY ERROR
This download does NOT match the one reported by the checksum server.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.

We couldn't reproduce this, maybe it was some temporary network issue? Does this still happen? And if so, which Go version are you using?

Yes, the error continues. I am using windows and used the version below:
go version go1.18.2 windows/amd64
I used the newer one just in case:
go version go1.18.3 windows/amd64
The error still occurs. Full log below
2022/06/16 18:28:13 [INFO] Temporary folder: C:\Users\figaro\AppData\Local\Temp\buildenv_2022-06-16-1828.1333196320
2022/06/16 18:28:13 [INFO] Initializing Go module
2022/06/16 18:28:13 [INFO] exec (timeout=10s): C:\Program Files\Go\bin\go.exe mod init k6
go: creating new go.mod: module k6
2022/06/16 18:28:13 [INFO] Pinning versions
2022/06/16 18:28:13 [INFO] exec (timeout=0s): C:\Program Files\Go\bin\go.exe mod edit -require github.com/grafana/xk6-chaos@latest
2022/06/16 18:28:13 [INFO] exec (timeout=0s): C:\Program Files\Go\bin\go.exe mod tidy -compat=1.17
go: downloading go.k6.io/k6 v0.38.1
k6 imports
        github.com/grafana/xk6-chaos imports
        go.k6.io/k6/js/modules<EMAIL_ADDRESS>verifying module: checksum mismatch
        downloaded: h1:1D1qZuOJVTeYpYSiq+fEe1ntPTMSgBekrP932upP414=
        sum.golang.org: h1:s/XTX00SD4FJuwN79MR3KxAnMEPhqq9neT7ZIH/7lPQ=

SECURITY ERROR
This download does NOT match the one reported by the checksum server.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.

k6 imports
        github.com/grafana/xk6-chaos imports
        github.com/grafana/xk6-chaos/internal/k8s imports
        go.k6.io/k6/js/common<EMAIL_ADDRESS>verifying module: checksum mismatch
        downloaded: h1:1D1qZuOJVTeYpYSiq+fEe1ntPTMSgBekrP932upP414=
        sum.golang.org: h1:s/XTX00SD4FJuwN79MR3KxAnMEPhqq9neT7ZIH/7lPQ=

SECURITY ERROR
This download does NOT match the one reported by the checksum server.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.

Hm, can you try running xk6 build v0.38.3 --with github.com/grafana/xk6-chaos@latest ?

@mstoykov I get the same error

Yeah ... I forgot that xk6 will still at one point in the process request k6 v0.38.1 ;(.
I have bumped the required version and made new release. You should be able to build it with the normal command in a couple of minutes when this propagates through the caches. You can force it with @v0.0.4 instead of @latest in case it takes too long.
Apparently v0.38.1 was tagged once and there was a problem, so it was deleted and remade. Unfortunately at least the  gosumdb server you are hitting got the original tag and now that it has been replaces you are getting the error above.
I am not certain we can really do anything and to be honest v0.38.0-2 have bugs that required us to rebuild, so arguably they shouldn't be used :shrug:.
So I guess I will just hope that nobody else uses v0.38.1 and won't hit this issue :crossed_fingers:
Please close the issue once your build succeeds and thanks for reporting :bow:

Works like a charm, thanks:)


(feat): Helper function: addAndSetActive()

I'm submitting a...

[x] Feature request

Expected behavior
A function for EntityStore:
addAndSetActive(entity: E)

What is the motivation / use case for changing the behavior?
I think it is a pretty common use case to create an entity and set it as active right after.

In my case I'm creating an area in my map and the user then edits it.

I don't think we need to pollute the API. There are many "two-lines methods" that are common. I would suggest the following:
add(entity, { setActive: true })
But I can't see how it's better from writing:
add(entity);
setActive();

You know what I mean?

I thought Akita was managing ID creation internally at first.
As it's not the case, you have the id at the moment of the creation so it's simple.
I'm with you then, no need to pollute the API.
That said, what do you think about providing an opt in (or configurable) default ID creation strategy ?
I mean that entity created with null or undefined ids would automatically get one.
This would make the framework even more easy to use.

That's an interesting idea. I would love to see what you have in mind (maybe a high-level design of the API) and a PR.

Sure !
I'll get around it when I'll have a more global vision of the framework as it could change a few other things.

By the way, great job, loving the clean and simple API so far ! :heartbeat:

Looking forward to hearing from you, thanks.

I'm suggesting closing this issue and open a new feature request - auto ID creation.

Closing until re-opening, now tracked in #38


Implement Client.setOperator

https://github.com/hashgraph/hedera-sdk-java/blob/47c88d03d7e90fa931c802502e3251b7c40c4e18/src/main/java/com/hedera/hashgraph/sdk/Client.java#L145

closed by #104


Updated CDI method Producers TCK to add Startup HealthChecks

Signed-off-by: Prashanth G<EMAIL_ADDRESS>fixes #293

@xstefank Can you please take a look?


gevent and monkey patch the sockets

Hello,
imho, it's a litle bit fishy to use the monkey patch on sockets.
For example when you import the graphitesend library through a synchronous library, it will break.
Maybe, we need to find an other way to add the async layer.
https://github.com/daniellawrence/graphitesend/blob/master/graphitesend/graphitesend.py#L5
Regard

Hi,
I'm sorry for this use of monkey patch, I did it without knowing that it was a bad practice in a library.
@daniellawrence Would you agree that it should be removed and that it should be written in the doc that asynchronoucity requires gevent.monkey.patch_socket ?


az ad returns a Graph object without objectId property

Related command
az ad user list --filter "startswith(userPrincipalName<EMAIL_ADDRESS>or startswith(userPrincipalName<EMAIL_ADDRESS>or startswith(userPrincipalName, 'user3@dev.acme.com.au')" --query '[].objectId' -o tsv
Describe the bug
The output of the command changes depending on whether the GA CLI or Beta CLI is used.
To Reproduce

Run the above command with the GA CLI and see results:

az version
{
  "azure-cli": "2.36.0",
  "azure-cli-core": "2.36.0",
  "azure-cli-telemetry": "1.0.6",
  "extensions": {}
}

az ad user list --filter "startswith(userPrincipalName<EMAIL_ADDRESS>or startswith(userPrincipalName<EMAIL_ADDRESS>or startswith(userPrincipalName, 'user3@dev.acme.com.au')" --query '[].objectId' -o tsv
The underlying Active Directory Graph API will be replaced by Microsoft Graph API in Azure CLI 2.37.0. Please carefully review all breaking changes introduced during this migration: https://docs.microsoft.com/cli/azure/microsoft-graph-migration
55f14c0d-7328-4495-aafa-608529099711
3ba298b6-3bc4-4ecb-ba91-5d937b27f1b5
0023964f-42ce-4b3e-b51f-0d583e99512a

Run the above command with the Beta CLI and see results:

az version
{
  "azure-cli": "2.36.0.post20220505034434",
  "azure-cli-core": "2.36.0.post20220505034434",
  "azure-cli-telemetry": "1.0.6.post20220402024323",
  "extensions": {}
}

az ad user list --filter "startswith(userPrincipalName<EMAIL_ADDRESS>or startswith(userPrincipalName<EMAIL_ADDRESS>or startswith(userPrincipalName, 'user3@dev.acme.com.au')" --query '[].objectId' -o tsv
The underlying Active Directory Graph API will be replaced by Microsoft Graph API in Azure CLI 2.37.0. Please carefully review all breaking changes introduced during this migration: https://docs.microsoft.com/cli/azure/microsoft-graph-migration

Note that with the Beta CLI the command returns no results.
Expected behavior
The results returned should not change depending on which version of the CLI is used.
Environment summary

MacOS Monterey 12.3.1
GA cli is from HomeBrew
Beta cli is per instructions at https://docs.microsoft.com/en-us/cli/azure/microsoft-graph-migration?view=azure-cli-latest&tabs=bash#try-azure-cli-beta-with-microsoft-graph

Additional context
If I remove the --query parameter from the beta cli I get:
az ad user list --filter "startswith(userPrincipalName<EMAIL_ADDRESS>or startswith(userPrincipalName<EMAIL_ADDRESS>or startswith(userPrincipalName, 'user3@dev.acme.com.au')" -o tsv

The underlying Active Directory Graph API will be replaced by Microsoft Graph API in Azure CLI 2.37.0. Please carefully review all breaking changes introduced during this migration: https://docs.microsoft.com/cli/azure/microsoft-graph-migration
1       Flintstone, Fred    Fred  55f14c0d-7328-4495-aafa-608529099711    Company Contractor<EMAIL_ADDRESS>      +61 000 000 000 None    None    Flintstone<EMAIL_ADDRESS>1       Flintstone, Dino    Dino    3ba298b6-3bc4-4ecb-ba91-5d937b27f1b5    IT Advisor<EMAIL_ADDRESS>      +61 000 000 000 None    None    Flintstone<EMAIL_ADDRESS>1       Flintstone, Pebbles     Pebbles 0023964f-42ce-4b3e-b51f-0d583e99512a    IT Manager<EMAIL_ADDRESS>    +61 000 000 000 None    None    Flintstone<EMAIL_ADDRESS>

@jiasli for awareness

Okay, I think I know whats happening here.
az ad user list --filter "startswith(userPrincipalName<EMAIL_ADDRESS>or startswith(userPrincipalName<EMAIL_ADDRESS>or startswith(userPrincipalName, 'user3@dev.acme.com.au')" --query '[].id -o tsv
I see the expected result. Seems like this is a result of a different key name in the response. With AAD Graph the return is named 'objectId'. With MS Graph it's just 'id'.
Feels like this (and probably other instances elsewhere im sure) should be added to https://docs.microsoft.com/en-us/cli/azure/microsoft-graph-migration?view=azure-cli-latest&tabs=powershell#breaking-changes

Exactly. objectId from AD Graph has been replaced by id in Microsoft Graph. Please see https://docs.microsoft.com/en-us/graph/migrate-azure-ad-graph-property-differences#directoryobject-property-differences

Feels like this (and probably other instances elsewhere im sure) should be added to https://docs.microsoft.com/en-us/cli/azure/microsoft-graph-migration?view=azure-cli-latest&tabs=powershell#breaking-changes

Added as requested 😉:  https://github.com/MicrosoftDocs/azure-docs-cli/pull/3122

Actions we took to announce the Microsoft Graph migration:

Show in-tool warning before and after the migration:

https://github.com/Azure/azure-cli/pull/21302
https://github.com/Azure/azure-cli/pull/21732
https://github.com/Azure/azure-cli/pull/22432
https://github.com/Azure/azure-cli/pull/22612

Provide documentation and instruction for the migration: https://learn.microsoft.com/en-us/cli/azure/microsoft-graph-migration
Announce the migration in the release history: https://learn.microsoft.com/en-us/cli/azure/release-notes-azure-cli#may-24-2022
Create and pin https://github.com/Azure/azure-cli/issues/22580 from May 24, 2022 to Oct 19, 2022.

However, if someone skips all versions through 2.34.0 and 2.37.0 and also doesn't check the documents or GitHub repo, they will not be able to see any warnings for the breaking change. I think that's why we are receiving issues again recently for breaking changes caused by Microsoft Graph migration.

if you are having issues to get object id from a SP, one way to get the object id is to  use the az ad app show --id $ID


Car play won't start

The app runs and the map is displayed but nothing is shown on the car play simulator when I start it. Are there any additional steps needed?
Also the app won't stop at breakpoint in
func application(_ application: UIApplication, didConnectCarInterfaceController interfaceController: CPInterfaceController, to window: CPMapContentWindow)
If I put a breakpoint there.

same here.  I spent a few hours over the weekend trying to get this top work with the same results.  I tested on both High Sierra + Xcode Beta2 and Mojave + Xcode Beta2.   Do we need a special entry in an entitlements file or something?

You need to apply for CarPlay based entitlements before being able to connect.
Quote from Apple:

The referenced project does not have the necessary entitlement to appear on the car screen. Please visit https://developer.apple.com/carplay/ to apply for the navigation app entitlement.

No you don't have to apply for entitlement when only debugging.
https://blog.flitsmeister.nl/start-developing-your-navigation-app-for-carplay-6e4c6c2b4e47
Create a file: Route66.entitlements
With Content:

com.apple.developer.carplay-maps

as per; https://github.com/Svantulden/carplay-navigation/blob/master/CarplayNavigationTesting/CarplayNavigationTesting.entitlements

@OzBob Great feedback! Can you do a PR to add this?

Fixed in a recent commit. There is still an open issue where the map view does not appear, but that's unrelated to the actual car-connection that now works.

I'll do a PR once I can get the project building and debugging... getting some error about Bundle Identifier, but when I change it and the team, I then start getting 'Automatic singing can't add' the entitlements. " Switch to manual signing and resolve the issue by downloading a matching provisioning profile from the developer website. Alternatively, to continue using automatic signing, remove these entitlements from your entitlements file and their associated functionality from your code."


The SSL connection could not be established, see inner exception.

Describe the bug
The SSL connection could not be established, see inner exception.
SocketException: An existing connection was forcibly closed by the remote host.
Your code piece
        public async Task GenerateResponse2()
        {
            var openAiService = new OpenAIService(new OpenAiOptions()
            {
                ApiKey = apiKey
            });

            var completionResult = await openAiService.ChatCompletion.CreateCompletion(new ChatCompletionCreateRequest
            {
                Messages = new List<ChatMessage>
                {
                    ChatMessage.FromSystem("You are a helpful assistant."),
                    ChatMessage.FromUser("Who won the world series in 2020?"),
                    ChatMessage.FromAssistant("The Los Angeles Dodgers won the World Series in 2020."),
                    ChatMessage.FromUser("Where was it played?")
                },
                Model = Models.ChatGpt3_5Turbo,
                MaxTokens = 50//optional
            });
            if (completionResult.Successful)
            {
                Console.WriteLine(completionResult.Choices.First().Message.Content);
            }
        }

If you need to use a self-signed SSL certificate you may want to pass your own HTTP client to the library. There was a topic in the discussion about this.


Should detect the already cloned repos

Suggested new feature or improvement
That it can detect a cloned repo in a specific folder so it can manage it.
Scenario
When you open the clone repo window and you pick the folder, it detects that has a repo.
Additional details
No response

Maybe also sub-folder repo detection would be good.
So you can just add your Documents/Code folder/drive and it would detect repo's in sub-folders

Please review this proposal for a repository management experience in Dev Home and let us know your thoughts https://github.com/microsoft/devhome/issues/2161


add support for nova 4.x

one more vote for v4.0 support, thanks in advance!!!

@chrillep, @vbezruchkin
https://github.com/stepanenko3/nova-command-runner

@chrillep, @vbezruchkin
https://github.com/stepanenko3/nova-command-runner

switched over thank u!

thanks @stepanenko3 works like a charm!


User should be able to send directly to a wallet address

Add button in send screen to send to an address
User can type a wallet address or paste (input has paste button)
G$ is sent directly (not via payment link) to address
To: field should be automatically field by reading "users/bywalletAddress" profile
wallet address screen design: (no need for bottom part)
https://xd.adobe.com/view/f195a710-6a9c-4365-68e5-5644b73d1e36-87a4/screen/00eedfbd-8000-4e17-8c1a-5fddc61c6969/Send-to-address-1
wallet send button design:
https://xd.adobe.com/view/f195a710-6a9c-4365-68e5-5644b73d1e36-87a4/screen/fce524f7-2da0-4a68-b4a0-bd5688970770/Send-46

Verified as done on the Dev env v0.18.1-0
Devices:
iPhone 11 // 13.3
iPhone 6 // iOS 12.1.1
Redmi 7 // Android 9.0


[Question] Concurrency management

Hello everyone 👋
I have a situation where I need to use Umzug fine control migrations during boot time for my app. The problem is that I must run multiple instances of my service, so the migration script will run for every instance before the app starts.
Is there any built-in concurrency management mechanism in Umzug or this is a concern I should take care of?
Also, if this is something I should address in the code, is there an official recommendation on how to proceed (lib I should use or process I should follow for example)? So far, I only found this lib called umzug-sync.
Thank you!

Hi @pedroneves - currently there isn't in-built locking support, since this best way to lock varies quite a lot between SQL dialects/implementations. If you're using postgres, you could try @slonik/migrator which does support this via pg_advisory_lock (disclaimer - I am the author of that library). In your case, whichever instance stood up second would wait until any existing migrations are finished before trying to run (once the first instance finishes, any subsequent migrations should be a no-op).
If you're not using postgres, you could take a look at the implementation - it overrides the runCommand method in a subclass. So you could try something like:
import {Umzug} from 'umzug'

export class MyMigrator extends Umzug {
  async runCommand(command, cb) {
    if (command === 'up' || command === 'down') {
      return super.runCommand(command, async params => {
        await aquireLock()
        try {
          return cb(params)
        } finally {
          await releaseLock()
        }
      })
    }
    return super.runCommand(command, cb)
  }
}

Then instantiate and use MyMigrator in the same way you would use Umzug. This is essentially what @slonik/migrator does, with a couple of extra bits for logging when acquiring the lock takes more than 1s, etc.


Add properties that were previously omitted

PHP 8.3 (part of Ubuntu 24.04) outputs a deprecated warning for properties that were not in the class definition (output below). There were a few of these missing from the Ebook, GitCommit, CollectionMembership, EbookSource, and Contributor classes. Adding them doesn't change any functionality, but it does make it clearer what properties a class has.
Some of these properties are never set for Ebook instances created from the filesystem, i.e., Created and Updated, and some of them need to be manually set to make Ebook instances from the filesystem and the database match, e.g., GitCommitId, CollectionEbookId, EbookSourceId, and ContributorId. Making the Ebook instances from the filesystem and the database match each other makes it easier to spot bugs in the future.
Previous errors with PHP 8.3:
PHP Deprecated:  Creation of dynamic property Ebook::$Created is deprecated in /standardebooks.org/web/lib/Traits/Accessor.php on line 42
PHP Deprecated:  Creation of dynamic property Ebook::$Updated is deprecated in /standardebooks.org/web/lib/Traits/Accessor.php on line 42
PHP Deprecated:  Creation of dynamic property GitCommit::$GitCommitId is deprecated in /standardebooks.org/web/lib/DbConnection.php on line 286
PHP Deprecated:  Creation of dynamic property GitCommit::$EbookId is deprecated in /standardebooks.org/web/lib/DbConnection.php on line 286
PHP Deprecated:  Creation of dynamic property GitCommit::$GitCommitId is deprecated in /standardebooks.org/web/lib/DbConnection.php on line 286
PHP Deprecated:  Creation of dynamic property GitCommit::$EbookId is deprecated in /standardebooks.org/web/lib/DbConnection.php on line 286
PHP Deprecated:  Creation of dynamic property GitCommit::$GitCommitId is deprecated in /standardebooks.org/web/lib/DbConnection.php on line 286
PHP Deprecated:  Creation of dynamic property GitCommit::$EbookId is deprecated in /standardebooks.org/web/lib/DbConnection.php on line 286
PHP Deprecated:  Creation of dynamic property GitCommit::$GitCommitId is deprecated in /standardebooks.org/web/lib/DbConnection.php on line 286
PHP Deprecated:  Creation of dynamic property GitCommit::$EbookId is deprecated in /standardebooks.org/web/lib/DbConnection.php on line 286
PHP Deprecated:  Creation of dynamic property GitCommit::$GitCommitId is deprecated in /standardebooks.org/web/lib/DbConnection.php on line 286
PHP Deprecated:  Creation of dynamic property GitCommit::$EbookId is deprecated in /standardebooks.org/web/lib/DbConnection.php on line 286
PHP Deprecated:  Creation of dynamic property CollectionMembership::$CollectionEbookId is deprecated in /standardebooks.org/web/lib/Traits/Accessor.php on line 42
PHP Deprecated:  Creation of dynamic property CollectionMembership::$EbookId is deprecated in /standardebooks.org/web/lib/Traits/Accessor.php on line 42
PHP Deprecated:  Creation of dynamic property CollectionMembership::$CollectionId is deprecated in /standardebooks.org/web/lib/Traits/Accessor.php on line 42
PHP Deprecated:  Creation of dynamic property EbookSource::$EbookSourceId is deprecated in /standardebooks.org/web/lib/DbConnection.php on line 286
PHP Deprecated:  Creation of dynamic property EbookSource::$EbookId is deprecated in /standardebooks.org/web/lib/DbConnection.php on line 286
PHP Deprecated:  Creation of dynamic property EbookSource::$EbookSourceId is deprecated in /standardebooks.org/web/lib/DbConnection.php on line 286
PHP Deprecated:  Creation of dynamic property EbookSource::$EbookId is deprecated in /standardebooks.org/web/lib/DbConnection.php on line 286
PHP Deprecated:  Creation of dynamic property Contributor::$ContributorId is deprecated in /standardebooks.org/web/lib/DbConnection.php on line 286
PHP Deprecated:  Creation of dynamic property Contributor::$EbookId is deprecated in /standardebooks.org/web/lib/DbConnection.php on line 286
PHP Deprecated:  Creation of dynamic property Contributor::$SortOrder is deprecated in /standardebooks.org/web/lib/DbConnection.php on line 286

Thanks!


Cannot inspect elements

Can't look at elements through chrome or any browser, it does not show the code. It's very difficult to customize the styles without knowing what is what and where....

use debug:true it will force the picker to stay open even on blur

Hey there!
We're automatically closing this issue since the original poster (or another commenter) hasn't yet responded to the question or request made to them 5 days ago. We therefore assume that the user has lost interest or resolved the problem on their own. Closed issues that remain inactive for a long period may get automatically locked.
Don't worry though; if this is in error, let us know with a comment and we'll be happy to reopen the issue.
Thanks!


python: pyopengl-accelerate: 3.1.5 -> 3.1.6

Description of changes
bump 3.1.5 -> 3.1.6 which now works on python 3.10, still not on 3.11.
Things done

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Done in #209403 and #252304.


LSCP with multiple LOF testing error: range parameter must be finite

I am running the following code:
clf_name = 'LSCP_LOF'
other parameters:
lof_list = [LOF(n_neighbors=5), LOF(n_neighbors=10), LOF(n_neighbors=20), LOF(n_neighbors=30), LOF(n_neighbors=40), LOF(n_neighbors=50), LOF(n_neighbors=75)]
clf = LSCP(lof_list)
#clf = LOF(n_neighbors=5, contamination=outliers_fraction)
clf.fit(X_train)
and got the following error, however, when fit directly with LOF method, it runs fine:
ValueError                                Traceback (most recent call last)
 in ()
12 clf = LSCP(lof_list)
13 #clf = LOF(n_neighbors=5, contamination=outliers_fraction)
---> 14 clf.fit(X_train)
15
16 # get the prediction label and outlier scores of the training data
~/proj/myPylib/lib/python3.6/site-packages/pyod/models/lscp.py in fit(self, X, y)
171
172         # set decision scores and threshold
--> 173         self.decision_scores_ = self._get_decision_scores(X)
174         self._process_decision_scores()
175
~/proj/myPylib/lib/python3.6/site-packages/pyod/models/lscp.py in _get_decision_scores(self, X)
273             pred_scores_ens[i,] = np.mean(
274                 test_scores_norm[
--> 275                     i, self._get_competent_detectors(pearson_corr_scores)])
276
277         return pred_scores_ens
~/proj/myPylib/lib/python3.6/site-packages/pyod/models/lscp.py in _get_competent_detectors(self, scores)
355                           "classifiers, reducing n_bins to n_clf.")
356             self.n_bins = self.n_clf
--> 357         hist, bin_edges = np.histogram(scores, bins=self.n_bins)
358
359         # find n_selected largest bins
/opt/anaconda3/lib/python3.6/site-packages/numpy/lib/function_base.py in histogram(a, bins, range, normed, weights, density)
668     if not np.all(np.isfinite([first_edge, last_edge])):
669         raise ValueError(
--> 670             'range parameter must be finite.')
671     if first_edge == last_edge:
672         first_edge -= 0.5
ValueError: range parameter must be finite.
Thanks

Thanks for the note. Is that possible for sharing the code as well? especially the underlying data.
Yue

please see attached zipped csv file, this is exactly the data for X_train. The code is all here except the library loading part.
test.zip

This is related to https://github.com/scipy/scipy/issues/3728 regarding how Pearson scores are generated. LSCP relies on Pearson score to select the "best set of detectors". However, pearsonr in scipy will return nan if the input vectors are with zero variance. For instance,
X1: [1,2,3,4,5]
X2: [2,2,2,2,2]
Pearson is defined as cov(X1, X2)/sqrt(var(X1)var(X2)). In the given example, var(X2)=2 causes pearsonr(X1, X2) become infeasible (denominator=0) and return nan.
The Pearson scores are then passed in np.histogram to build histograms. This error can be overridden by adding the following two lines. This could force nans to zeros. :

I will think about how to handle this...this happens when data lacks variations and base detectors are also similar:

Training samples receive similar scores
base detectors generate similar results, e.g., lof detectors

Under this situation, the value of using LSCP for model combination is limited. that being said, using a simple combination might be preferred.

The latest commit is not yet pushed to master branch but development branch only (https://github.com/yzhao062/pyod/tree/development). The next release V0.7.0 will include this commit.

Closed by #84. Available in the latest version (v0.7.0).


feat(Autoscroll): add Autoscroll extension

Description
This PR adds an Autoscroll extension to Raycast, allowing users to set an automatic scroll in any direction at a speed of their choice (e.g. "scroll down every 3 seconds").
Screencast
https://user-images.githubusercontent.com/72814106/171732057-f463a8c6-ca28-4027-9068-27f51ebd0cc1.mov
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

A quick bump for @pernielsentikaer 😄

Hi @ThatNerdSquared 👋
Thanks for your contribution 💪
What is the purpose of this extension 🙂

@pernielsentikaer works great for using documents/webpages as teleprompters, or when you want to read something hands-free, etc. Figured I'd submit it since I already had it built and use it regularly, but if it doesn't fit the store feel free to close 🙂

Hi @ThatNerdSquared 👋
Yes, I'm not sure yet. I gave the extension a quick spin as a regular user and ended up with a hard reboot - the machine froze, and there was no way to stop it again.
I'm unsure if it's the best extension since it might have unexpected behaviors.

@pernielsentikaer fair enough, let me know if you have feedback to make the behaviour more user-friendly, or feel free to close the PR :)

I think that for now that we have to close it, we're not there yet to provide good enough ways to communicate about this.
If had to reboot, we might run into others with the same provlem. I'll have it on my list for when we're having a better way to communicate this, sorry for the long response time
Feel free to contact me here or at Slack if you have any questions.


Rebase master onto doghouse, update go-github to v17, switch to go mod

This PR:

Rebases haya14busa:master onto haya14busa:doghouse to fix the merge conflict
Switches from using Gopkg.* to go.mod
Updates to v17 of go-github

Thanks for fixing this. Would love to be able to use Doghouse again 🙏

Sorry for the late response. I merged this with some follow ups. (e.g. revert gomod changes because I'd like to introude it both for master and doghouse at once)


feat(tutorial): complete step 1

@Brenne Looks perfect 🏆! I've recorded your completion of step 1.


[Feature Request] A web UI for the update process

What is the idea?
We definitely need to provide a better updating experience than this one.

Why would this be beneficial
It would look better, maybe we could inform the user about what it's doing instead of just displaying "patch 18 was executed".

At the very very least these messages should appear on a new-line lol

@BenNottelling Agreed, please put these messages on a new-line

@evrifaessa @BenNottelling Progress indicator with option for detail would be wonderful.

Additionally, it would be nice if we could purge old dependencies from bb-vendor and other removed files so BB doesn't gradually get larger and larger on the user's disk

We should find a way to delete old files, folders, and libs that BB no longer uses when updating


getStream instead of httppost?

I was just examining your code and there is this one also very similar to yours. i was wondering why did you prefer httppost request instead of getstream like here is doing? https://github.com/patsadow2/XamarinLiveReload/blob/master/XamarinLiveReloadPS/XamarinLiveReloadPS/Program.cs
I am not sure but maybe it is better way, as you can see he is doing localhost connection. Xamarin Livereload was doing similar connection also. maybe thats why we have problem to connect on android emulators with your implementation.

@EmilAlipiev i know, how we can solve this issue. Make requests every 1 sec by timer FROM device/emulator TO laptop/pc. In this case laptop/PC must know, which files it should send to device.

I think that you dont even need to schedule for 1 sec. you can continue doing it as you do now. only problem here is connection between work station and emulator. Android emulator seems to be working differently than Ios simulator. like in the answer here is given localhost can be used with <IP_ADDRESS> Android recognizes this. yesterday i played around a little bit but i couldnt make it work. maybe it is best way to use getstream with this ip address. i will play around more later when i have time.

@EmilAlipiev I will be grateful any details :)
Probably i will continue investigation.
So, if you will have any ideas, contact me
Btw, let's close this ticket and go ahead with existing one https://github.com/AndreiMisiukevich/HotReload/issues/1


SWS 299 - Highlight connection and nodes for services

Highlight related nodes when clicking a service.
Mouseover will only highlight related nodes of the service (if one
is selected).
Moved all the highlight code out of the CytoscapeLayout component.

Issues: When the graph is refreshed, we lose the current selected service.

@mtho11 I moved the highlighting logic to a separate class. I'm wondering if there is a more React-way of doing that.

I like what you did with moving the highlighting logic out of the class. It makes it less likely for merge conflicts.

Ideally, I guess it would be a High Order Component that decorates the CytoscapeLayout with Highlighting capabilities.
But we can take the functionality now and refactor later.


Issue with Mesh retaining Texture when draging a .Tres file over it in the Workspace

Godot version
V4.0.1.stable.official.cacf49999
System information
Windows 11, Forward+, NVIDIA GeForce GTX 1060 Laptop
Issue description
When I created a texture file for easier future change, and attempted to apply it to a mesh, if I dragged over another mesh in the process, it would lose its already assigned texture. What would be expected
Steps to reproduce
Create multiple meshes and drag a .TRES file texture over the mesh but don't end on the mesh
Minimal reproduction project
N/A

Duplicate of https://github.com/godotengine/godot/issues/74077.


feat: added expansion example

closes #97
I feel the plot is very small....are there any ways to zoom in?

Okay so that's happening because of the random edges being created outside the limit and we are using durations to filter out the ones that are inside...


Android - No platform plugin found. when deployed on device.

Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[] Android

Version of OS(s) listed above with issue
Android 7.1
Version of Library
5.3
Expected Behaviour
It should work on android when deployed.
Actual Behavior
When we install application on the android device it gives below error.
Unhandled Exception:
System.ArgumentException: [Plugin.BluetoothLE] No platform plugin found.  Did you install the nuget package in your app project as well? occurred
Code of Conduct
I am using latest version on the plugin that is 5.3.
I am using PCL structure in my project.
At the time of coding i am able to access the library but when building it and installing on the device its showing No platform plugin found.
Can you Please guide me.

This library uses .NET standard 2, not PCL.  Please follow the setup guide on the readme.

Can you give me the link for the readme guide Or Steps how to setup this library using .NET standard 2 because i have used nuget, installed this plugin in all of my project.

https://github.com/aritchie/bluetoothle/blob/master/readme.md or scroll down on the root page of this project.  Seriously though, I would consider taking a class on Xamarin University and reading up on this stuff.  I can't do .NET 101 support here, sorry.


Entry Point not found

Version 0.2.0
Windows 8.1
When I ran Lapce for the first time I got this error:
The procedure entry point ResizePseudoConsole could not be located in the dll C:\Program Files\lapce.exe

Any fixes?

You need at least Windows 10 1809 to use Lapce

well thats disappointing

Duplicate of #132


x11: do not override _POSIX_C_SOURCE if already defined

Yet another simple compiler warning fix.

Merged as ab80b4b, thanks.


operator hive-operator (1.2.4013-2f697a4)

Update Hive community operator channel(s) [['alpha']] to 1.2.4013-2f697a4

/merge possible

/merge possible


Would UBI use Basic Allowance for Housing charts?

The US military has Basic Allowance for Housing charts which are updated annually. Would Universal Basic Allowance use something like that? The reason the US military uses it is because it costs more money to live in some places than others. For example, New York City might be a more expensive place to live in than 95% of the USA.

Hi @nathanielstenzel, all of the UBI proposals I've seen have everyone receiving the same amount regardless of where they live and local cost of living.


Strategy for client side components

Is there a way to define a component as a client side rendered component?
In nextJS it's done via next/dynamic. Is this the recommended way?
I'm assuming I'd have to create .web.ts and .native.ts for each client side rendered component to handle this.
Backstory:
I'm using firebase token based auth and SSR is required only for the pages which need indexing.
I don't want to switch to a cookie based auth and wouldn't mind if the pages / components that require auth context are not SSR.
Looking for a better way to achieve this cross-platform apart from the one mentioned above.

next dynamic should work


Fixed dead links in ConsIndShock notebook using Jupytext

I was trying to work with the ConsIndShock model here: https://econ-ark.org/notebooks/ and found that the link to the REMARK was dead, so I updated it. I checked the other links in the notebook, and the link to the HARK documentation was also dead so I updated that one too. It doesn't seem to be a browser-specific thing, as I tried the both sets of links in Chrome, Safari, and FireFox as well as on my phone and the dead ones are dead everywhere and the updated ones work everywhere.

Thanks, I think this is due to a change in GitHub's URL structure.  This
problem might crop up other places as well.
Can you revert the -checkpoint file (we really need to gitignore these)?
On Thu, Mar 28, 2019 at 4:19 PM Cory Cutsail<EMAIL_ADDRESS>wrote:

I was trying to work with the ConsIndShock model here:
https://econ-ark.org/notebooks/ and found that the link to the REMARK was
dead, so I updated it. I checked the other links in the notebook, and the
link to the HARK documentation was also dead so I updated that one too. It
doesn't seem to be a browser-specific thing, as I tried the both sets of
links in Chrome, Safari, and FireFox as well as on my phone and the dead
ones are dead everywhere and the updated ones work everywhere.
You can view, comment on, or merge this pull request online at:
https://github.com/econ-ark/DemARK/pull/32
Commit Summary

Fixed dead links in ConsIndShock notebook using Jupytext

File Changes

M notebooks/.ipynb_checkpoints/ConsIndShockModel-checkpoint.ipynb
https://github.com/econ-ark/DemARK/pull/32/files#diff-0 (132)
M notebooks/ConsIndShockModel.ipynb
https://github.com/econ-ark/DemARK/pull/32/files#diff-1 (30)
M notebooks/ConsIndShockModel.py
https://github.com/econ-ark/DemARK/pull/32/files#diff-2 (47)

Patch Links:

https://github.com/econ-ark/DemARK/pull/32.patch
https://github.com/econ-ark/DemARK/pull/32.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/econ-ark/DemARK/pull/32, or mute the thread
https://github.com/notifications/unsubscribe-auth/ANUQFZjJaheKaTg5gwnSR4qorWtCue-qks5vbSPKgaJpZM4cRDsc
.

@ccutsail Thanks!
@mnwhite .ipynb_checkpoints is in the .gitignore file, and according to this that is supposed to work.
But when you add something to the .gitignore file, the confusing thing is that anything that was previously being tracked still hangs around and continues being tracked.  The file should be named something like .gitignore_newfiles or something to avoid confusion.
I've just gone in and deleted (and stopped tracking) the old versions of these files, so now they are gone from the master repo.  I'm guessing that Cory downloaded DemARK before we added .ipynb_checkpoints to the .gitignore file so that's why it wasn't being ignored for him.
Cory, if you revert or delete the .checkpoint file and update the PR, I think it will remove the conflict...
PS.  I think you meant the link to the DemARK; there's no REMARK for ConsIndShockModel.py.

I deleted the -checkpoint file from my master.
It was actually the link to the REMARK for SolvingMicroDSOPs, not ConsIndShock. Toward the bottom of the notebook.
I think this is good now, right?

@ccutsail Thanks for updating.
PS.  Actually, looking at your changes, I think the old dead links maybe never worked, I probably typed them in by hand without checking them, having (incorrectly) thought that I understood the pattern for constructing GitHub urls.   Merging now.


Readd support for managing multiple instances of logstash on the same machine

I think it would be good to add managing multiple instances of logstash on the same server.  My use case for this is setting up an architecture like http://logstash.net/docs/1.3.3/tutorials/getting-started-centralized except using a different log shipper to send logs to an input logstash and a second logstash instance for output to elasticsearch.
One of the ways I've thought of how to do this is by changing the config path and having the default file and service file be named the name of the instance (logstashA, logstashB).  I haven't been able to flesh this out though and I've run into several multiple class declaration error when doing a some amount of testing.

+1 (for what its worth).
We currently run our own internal puppet code that supports multiple instances. This was initially created because older logstash version did not allow multiple output threads and we were hitting this limit. Running multiple logstash instances on the same hardware was our method of scaling the throughput of the output threads.
Another reason for wanting to run multiple instances is the ability to run lean configurations instead of one huge configuration. In our setup we have 4 physical boxes running logstash instances per environment. Each environment has its own set of pipelines and variables (e.g. hostnames, filter threads, redis keys).

+1 - I would also find this useful for reasons stated already.

+1 I would also find this feature very useful

This module: https://github.com/haf/puppet-logstash#multi-instance has multi-instance support, maybe you can reimplement it somehow?

+1

+1
Having a separate logstash configuration instead of if else everywhere in one single configuration is sometimes preferable.

+1 Same reason as mentioned by @clly

+1
Unlike others who have speculated about things like being single threaded, I also tried simply copying the logstash tree to a new location and then attempting to launch a logstash instance from each tree.
Because this doesn't work, I'm more inclined to suspect that a single process ID is being used for any/all instances of Logstash, most likely hardcoded.
If what I suspect is true, then the solution is simple... allow a randomly generated PID whenever logstash is invoked so that each invocation is assigned its own PID.
I guess for now I'll just run my logstash instances on separate machines which is doable but a bit of a headache when I prefer my logstash instances to run on the same machine for management simplicity as long as there are no bottlenecks.

+1

+1

Hi @electrical, +1 for me as well. The current Logstash documentation references being able to add more Logstash indexing instances: you can "increase the Elasticsearch cluster’s rate of data consumption by adding more Logstash indexing instances" https://www.elastic.co/guide/en/logstash/current/deploying-and-scaling.html. Could you elaborate on how this would be done? Multiple Logstash instances would imply the ability to sequence the data between indexers.  Thanks!

+1

+1

:hourglass_flowing_sand: :smiley_cat:

+1 as well. It's necesary to build up the ls -> redis -> ls -> es pipeline.

+1 I agree: this function / possibility IS needed.

+1
I'd like to do the following on one machine:
logstash-shipping.conf: (input (multiple types) -> redis)
logstash-indexer.conf: (redis-> grok -> elasticsearch)
When I tried to give to conf files, logstash joins them together so that I got a redis input to redis output and had an endless loop for the same message.

+1   I also need this feature.  Also I am willing to implement it.

+1

Suggestion: run Logstash in a Docker container using the official image: https://hub.docker.com/_/logstash/
It is an easy way for running multiple instances. Just create configfiles (or dirs) per instance and start that many containers.
YMMV

@rtoma this going in a completely different direction and will require docker which will in turn limit this to only running ok kernels 3.10+. This issue is for this puppet module, not a generic question. Thanks for your input though.

@rtoma : also for us this is only a workaround. Adding a different system (Docker) with all its implications cannot be the solution.

+1 I have a similar scenario but we have split the ingest of different types of events per instance, as well as having a shipper and indexing nodes. This would be awesome!

+1

Hopefully multiple pipeline support in Logstash will eliminate the need for this, and do so in a way that is much less complex and uses much less RAM!

Do you know if there is any other module that implements this feature for logstash 5?

Needing multiple instances is not necessary once you start using the new
multiple pipelines feature — you can read about it here:
https://www.elastic.co/blog/logstash-multiple-pipelines
On Tue, Nov 7, 2017 at 2:59 AM eLeX<EMAIL_ADDRESS>wrote:

Do you know if there is any other module that implements this feature for
logstash 5?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/elastic/puppet-logstash/issues/144#issuecomment-342447871,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIC6r3k-LNMye6JkT8nHh4UoBy64pPGks5s0DgRgaJpZM4BnNmh
.

The multiple pipelines feature is now mainstream and directly supported by this module, so I'm going to close this issue out.

@jordansissel , @jarpy Is it possible to use the multiple pipelines feature to implement, all on one machine (I want it to be able to go all on one machine for testing, not production):
shipper (LS 6.3) => redis => indexer (LS 6.3)

? If so, is there an example somewhere of the pipeline config you'd use?

This post here suggests it is possible https://discuss.elastic.co/t/logstash-multipipline-to-replace-shipper-redis-indexer/117787

As far as I understand it, that should be perfectly achievable. There is no reason that an event can't "leave the building" and then return to be processed by another pipeline.


[PHP8]  ErrorException - Undefined property: Concrete\Core\Permission\Access\Entity\GroupCombinationEntity::$label

With v9.0.2 and PHP 8.1 when trying to assign permissions to an existing collection with multiple group instances the following ErrorException appears:
Undefined property: Concrete\Core\Permission\Access\Entity\GroupCombinationEntity::$label.

Thanks!


Fix async loading of modules containing both nodes and plugins

Fixes #3523
Full credit to @tve for diagnosing the issue - details in the linked issue.

Coverage: 68.227% (-0.003%) from 68.231% when pulling 4d1d927110f933bf2ff33ebfc79c5d8782becb99 on fix-plugin-async into 4d202a7a3790222706b532865235bd919d63d5e7 on master.

This morning (in the shower...) it occurred to me that he fix I proposes is incorrect. It does not guarantee that loadNodeSetList is called on all plugins before any node. All the FlexDash nodes have RED.plugins.get('flexdash').initWidget(this, config, 'widgetName') to register and obtain the FlexDash API and with this fix IIUC either the plugins.get may fail or the initWidget may fail. So I believe it is necessary to keep a pluginList separate from a nodeList and call loadNodeSet two times to ensure that plugins are fully initialized before nodes get init'd.

I will take another look tonight.

I've pushed a better fix that ensures the modules are loading fully, whilst also ensuring plugins are registered before nodes.


Is there a decimal_fp -> Float conversion?

Unless I am missing something there appears to be no reverse conversion in this library.
I am trying to convert Ryu based code that operates on moral equivalent of decimal_fp (doing more than just printing) to Dragonbox. Lack of reverse conversion is a big stumbling block because I would need to essentially carry around big chunks of Ryu data and code to do it.
As an aside it also looks like to_chars only does exponential notation. Lack of fixed format would be another stumbling block.
Would be great if decimal_fp were exposed as a first class thing with conversion and formatting functions. 😃

Unless I am missing something there appears to be no reverse conversion in this library.

There is no such reverse conversion, yes.
I am planning to develop a more fully-featured floating-point conversion library someday, but that will be another library. The reason is because, in order to add the reverse conversion, I have to add a considerable amount of new entries into the already big static data table. (This is why Ryu has a bigger table than Dragonbox.) I am expecting that there may be many people who are happy with just one direction of conversion, so this library will mostly stay as is.
I think probably you do not want full floating-point <-> string conversions, rather just the conversion between binaries and decimals. But if you do want the conversions from/to strings, then you can consider using the Boost.charconv library: https://github.com/cppalliance/charconv
(Or I guess you can make a feature request about binary <-> decimal conversions?)
It seems this library is also still in development at this point, but I guess it is maybe almost done and you can probably use most of its features. It currently internally uses Dragonbox for the shortest-roundtrip conversion from binary to decimal, if I understood correctly.

Would be great if decimal_fp were exposed as a first class thing

It is a first class thing already (i.e., it is supposed to be the user-facing interface), though it lacks things you mentioned.
I am closing this issue because the feature you are requesting will not be implemented. But thanks for your interest anyway!
By the way, for this:

As an aside it also looks like to_chars only does exponential notation. Lack of fixed format would be another stumbling block.

please see https://github.com/jk-jeon/dragonbox/issues/35. This is likely to be added in a future.

Fair enough. Thank you!


No download

So, a few of us got interested on trying this. The download button doesn't exist on that website. Care to elaberate on how to grab it? https://gyazo.com/a754d734eee4c65274342d9b7c6effcc

Thanks for the heads up. AppVeyor no longer store build outputs permanently, and it's been a while since my last commit, so AppVeyor deleted all the artifacts.
I've just published a GitHub release (and made a few bugfixes,) you can find it here: https://github.com/xyx0826/Priceall/releases
Let me know how it goes.

For the record: I'll publish all future versions, if any, in GitHub releases. If it's been less than a month since my last commit, you can also find the automatic build on AppVeyor. (And of course, you can build it yourself if you have Visual Studio.)

Yeh, was too lazy to use Visual Studio, as i don't use it, i use VSCodium. Feel free to close this when you want too.

With the .NET compiler you can also dotnet build Priceall.csproj with no IDE needed. I'll add these to the README.


Aries JS Worker : startup in constructor

move start up code to constructor
aries opts to be passed to constructor along with asset path

closed by https://github.com/hyperledger/aries-framework-go/pull/1283


Multiple modifications to same residue

Hi Michael,
Is it possible to add several variable modifications to the same site? When I tried including the following modifications in my config.json file:
"variable_mods": {
      "M": 15.9949,
      "[": 42.0,
      "[": 227.98237,
      "[": 331.04570,
      "K": 227.98237,
      "K": 331.04570
    }

only the following modifications seemed to be used:
 "variable_mods": {
      "M": 15.9949,
      "[": 331.0457,
      "K": 331.0457
    }

Hi Maxence,
It's currently only possible to add a single variable modification per amino acid - this is definitely something I have been noodling over the last couple weeks.
The use of the fragment indexing strategy has many benefits (speed, enables open-search), but on the flip side it means that we need to pre-generate every single b- and y- ion fragment for every single peptide (with all combinations of modifications) and store it in memory - this becomes pretty unwieldy when many modifications are used.
That being said, I will probably do some testing and see if it's feasible for use cases like this. In the mean time, I would suggest performing an open search and determining if modifications are present by delta mass

Hi Maxence,
I have added support for this in the newest release of Sage. You can now specify multiple variable mods like so:
"variable_mods": {
  "M": 15.9949,
  "[": [42.0, 227.98237, 331.04570],
  "K": [227.98237, 331.04570]
}

Please note that for high frequency amino acids, this may require a large amount of memory or time. I am going to close this issue as completed, but please feel free to re-open it if you have any issues or questions!


Restrict key

how to Restrict Android and iOS key using this plugin ?
when add package name and fingerprint autocomplete does't show,

Sorry, but i really don't understand your comment

Hey there, just wanted to get an update on this.
For some reason the plugin stops working when you add api key restrictions to google's console. So limiting the API key to a specific bundle ID and SHA-1 fingerprint on google console pretty much grinds the plugin to a halt. It could be because the plugin is not passing the bundle id to google's api?
Not sure but would love to get some help on this


add SameType as default type inference function in imperative mode

Description
Add SameType as default type inference function in imperative mode (this is the same way in symbolic mode).
Test locally by removing the FInferType attr in Regression operators, before this PR the script below will fail
import mxnet as mx
import numpy as np

in_shape = (10, 10, 10)
ctx = mx.cpu()
data = mx.nd.ones(in_shape)
out = mx.nd.LinearRegressionOutput(data=data, label=data)
print out.asnumpy()

cc @eric-haibin-lin @reminisce
Checklist
Essentials

[ ] Passed code style checking (make lint)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

Hi, the community has passed to vote about associating the code changes with JIRA<EMAIL_ADDRESS>We have updated the guidelines for contributors in https://cwiki.apache.org/confluence/display/MXNET/Development+Process, please ensure that you have created a JIRA at https://issues.apache.org/jira/projects/MXNET/issues/ to describe your work in this pull request and include the JIRA title in your PR as [MXNET-xxxx] your title where MXNET-xxxx is the JIRA id
Thanks!


Fix issue with Python client version 1.34 - AttributeError: 'dict' object has no attribute 'to_dict'

We run Svix in production and when we upgraded to the 1.34 version we started seeing the error:
AttributeError: 'dict' object has no attribute 'to_dict'

This PR aims to fix the issue - I think payload is already a dict when to_dict is called.
Thank you!

Hey! Thanks for the PR and sorry for releasing a broken version! We're looking into it and will provide a fix soon.
There is more to it than the error this PR fixes, so we'll fix everything in one go on our own. Please subscribe to #1440 to get updates on this bug, or subscribe to releases on the repo to get notified when we publish a new release with the fix.


DSND-3022: Call Mongo before resource changed

Changes order of operations so data is persisted in Mongo before calling the resource changed endpoint in chs-kafka-api.
If the call to resource changed fails, any subsequent retries will now pass as a delta with the same delta_at as the existing document in Mongo is now considered latest.

DSND-3022

CI: Security warnings found!


Add new Style/RedundantRegexpArgument cop

This PR adds new Style/RedundantRegexpArgument cop.
It identifies places where argument can be replaced from a deterministic regexp to a string.
# bad
'foo'.byteindex(/f/)
'foo'.byterindex(/f/)
'foo'.gsub(/f/, 'x')
'foo'.gsub!(/f/, 'x')
'foo'.index(/f/)
'foo'.partition(/f/)
'foo'.rindex(/f/)
'foo'.rpartition(/f/)
'foo'.scan(/f/)
'foo'.split(/f/)
'foo'.sub(/f/, 'x')
'foo'.sub!(/f/, 'x')

# good
'foo'.byteindex('f')
'foo'.byterindex('f')
'foo'.gsub('f', 'x')
'foo'.gsub!('f', 'x')
'foo'.index('f')
'foo'.partition('f')
'foo'.rindex('f')
'foo'.rpartition('f')
'foo'.scan('f')
'foo'.split('f')
'foo'.sub('f', 'x')
'foo'.sub!('f', 'x')

This is a superset of Performance/RedundantSplitRegexpArgument which only handles String#split: https://docs.rubocop.org/rubocop-performance/1.16/cops_performance.html#performanceredundantsplitregexpargument
Changing the argument from regexp to string have a positive effect on readability as well as performance. So this cop is promoting Style department, not Performance department.
In the future Performance/RedundantSplitRegexpArgument can be deprecated and replaced by this cop.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

@koic Please address the feedback provided by @jaynetics.

please note this will still cause false positives for Array#{index,rindex} as mentioned here and still needs to preserve some more STR_SPECIAL_CHARS as mentioned here

Yeah, I've made corrections for Array#{index,rindex} in https://github.com/rubocop/rubocop/commit/d9b431b51f91acc36d4d66deca73882af65be101. As for STR_SPECIAL_CHARS, I'll look into it in conjunction with Performance/RedundantSplitRegexpArgument, which it is based on. Thank you.


Feature suggestion:  avoid creating duplicated flash cards when sending to anki

In the current version (0.3.0), if I push the same markdown file twice to anki, duplicated cards are created in anki.
Can we automatically detect the duplicates (e.g. by comparing front side of cards)?

The only time a duplicate happens is if you push the same card to different decks. It definitely shouldn’t be possible to create duplicates in the same deck. The API guards against this already

My anki version is 2.1.33
This is the markdown file I was testing with
TypeScript
TypeScript: Utility Type: Partial<Type>
Test
When I executed the command "Anki: Send to Deck" a few times, I got the duplicates in Anki, all under "notes" deck. Here is the screenshot

Thanks
I will take a look, it could be a possible regression

@songguoqiang I've been able to reproduce this by using certain characters.
It looks like the > character gets converted to > and for some reason AnkiConnect or Anki cannot discern that it is unique. If you try the same without the < > it should work.
Im not sure why special characters break the duplicate check, i would need to raise it with AnkiConnect.


CI: drop Go 1.3 and add 1.6

It seems Gorilla has stopped supporting 1.3, and in the meantime, 1.6 was released. Time for a CI update.

This is :shit: and you should feel back.

*bad
:grin: