⚠ Fortnite has degraded performance

In 769202b, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1637 ms

Resolved: Fortnite performance has improved in fadbcd6.


fixed input search, was returning all results

I forgot the name tag. It was returning all results every time.
Now working. Sorry about that.

ty


Manifest.json key error if source maps = true and extensionless = input

Hi, the error you fixed with the 1.0.1 version, has resulted in another error when source maps are set to true in the esbuild config and the manifest plugin is configured with extensionless: 'input'.
For example:
const esbuildOpts = {
  sourcemap: true,
  // other config...
  plugins:[
    manifestPlugin({
      hash: isProd ? '[name]-[hash]' : '[name]',
      shortNames: true,
      extensionless: 'input'
    }),
  // more config ...
  ]
}

This config results in an error message in the terminal:
[ERROR] There is a conflicting manifest key for 'app'. First conflicting output: 'app.js.map'. Second conflicting output: 'app.js'. [plugin manifest].
I believe this is because there cannot be two app keys for app.js.map and the app.js in the manifest.json. To resolve this you could append .map to the key when the value ends in .map?

Should be fixed with v1.0.2

Great, thanks again for updating so quickly. That's fixed the issue.


Display Number of products in group/category

Is it possible to dislay the number of product under a certain group/category?
For example I want to display some text: "We have # product of group- /categoryname #".

Categories and Groups are quite different concepts, but you should be able to handle it in the same way using the ProductList class. You could do something like:
$products = new \Concrete\Package\CommunityStore\Src\CommunityStore\Product\ProductList();
$products->setCID(1234);
echo count($products->executeGetResults());

That should output the number of products under the page with an ID of 1234
And for groups
$products = new \Concrete\Package\CommunityStore\Src\CommunityStore\Product\ProductList();
$products->setGroupID(123);
echo count($products->executeGetResults());

Whilst that's not going be a real drain, I'd probably look to cache that lookup, so you don't have to fetch all the products every page load just to work out the count.


Translate application to Brazilian Portugues (pt-BR)

Just translate the application to Brazilian Portuguese.

Which files should be translated?


BMX055 Values

Update the BMX055 Part to get concrete Values (like acceleration in m/s^2),
at the moment the library just prints the raw values of the sensor.

closed via https://github.com/sensebox/SenseBoxMCU-Lib/commit/365bc22e33d55fdfe13ca80937a8e517bbe689bd


[Folding] buttons at linenumbers are not displayed (shortcuts aren't working neither)

Issue Type: Bug
How to reproduce?
Start VSCode and check for the line number column. Sections of code are not having the + and - buttons anymore.
The shortcuts described on https://code.visualstudio.com/docs/editor/codebasics#_folding are not working at all.
I tried to restart VSCode and use it without any extensions ... I am still not able to use folding anymore.
VS Code version: Code 1.35.0 (553cfb2c2205db5f15f3ee8395bbd5cf066d357d, 2019-06-04T01:13:26.790Z)
OS version: Linux x64 4.18.0-21-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 x 2437)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwaresurface_synchronization: enabled_onvideo_decode: unavailable_offwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
15.39GB (0.16GB free)

Process Argv
--unity-launch

Screen Reader
no

VM
0%

@BarbecueSilver what language are you coding in?

duplicate of #75726


Remove bits about substring matching from the docs

Substring matching for labels doesn't work anymore.
These parts are misleading, and contradict with the rest of the
documentation.

Thanks!


Does not copy PlugIns

Hi,
first of all thank you for this nifty script. One problem I have, though. It does not copy the PlugIns/platforms libs. And get this error:
This application failed to start because it could not find or load the Qt platform plugin "cocoa".
Reinstalling the application may fix this problem. The program has unexpectedly finished.

Hi Tony,
i just corrected a mistake of mine in the README, i had wrongly written to use macdeployqtfix before running macdeployqt.
It should be the other way round, run macdeployqt to create the bundle and then macdeployqtfix. Could it be that?
If that's not the case, could you run macdeployqtfix with -v option and post the complete log here?
Thanks

Applying the commands in the correct order solved it, tanks allot. And once again, thank you very much for this script. Time and headache saver. :smile:

Great!
Happy that my script saves not only my time, but yours


Release docs need a complete overhaul

The release docs https://docs.silverstripe.org/en/4/contributing/making_a_silverstripe_core_release/ are wrong and confusing

You need to describe what's wrong I think.

cow needs to be run on an environment with the lowest supported PHP version, in order to avoid installing >=php@7 dependencies. Dan said that --ignore-platform-constraints isn't feasible either, it doesn't installed the lowest version constraints
When doing that, the VM needs to have git credentials set up properly, so we don't commit as anoymous users (example) - cc @dhensby ;)

I think it would be better to review the existing pull requests that are open to update these docs than to track this here

https://github.com/silverstripe/silverstripe-framework/pull/8298
https://github.com/silverstripe/silverstripe-framework/pull/7681


Images.get should return nil instead of an exception

One of the Ruby SDK customers have reported us with an enhancement request: "Images.get should return nil instead of an exception"
Details: The method throws an exception if image does not exist, it should return null for better code integration. Its absolutely correct, when the method throws an exception, if the resource group does not exist. Can the method be made a little forgiving?
Link to the code: https://github.com/Azure/azure-sdk-for-ruby/blob/master_pre_multiapi/management/azure_mgmt_compute/lib/generated/azure_mgmt_compute/images.rb#L121
Link to the original issue: https://github.com/Azure/azure-sdk-for-ruby/issues/1032
Original Issue created by @puneetloya

Cleaning up old issues from 2016 - 2018. Please let us know if this issue if it is still a concern.


Prevent header authorization multiple bearer characters

Goals :soccer:

Prevent and Safe to use http header authorization without multiple bearer characters.
Implementation Details :construction:

Use HTTPHeaders methods to add the request authorization bearer header field without multiple bearer characters.
Testing Details :mag:

No new tests added.

Thanks for the PR! However, I don't think it's necessary to do this extra work given the documented and simple nature of the existing implementation. Thanks anyway!


Add cookie consent option

Added the cookie consent option, so Matomo only stores or uses cookies after window._paq.push(['setCookieConsentGiven']); has been called. Very similar to the "requireConsent" option, but it directly allows tracking and only needs consent for cookies.

@kremalicious What do you think about this one?
This would be a really helpful feature for us!
By the way:
I would also add a hint to the docs that besides:
window._paq.push(['setCookieConsentGiven']); / window._paq.push(['setConsentGiven']);
there is also
window._paq.push(['rememberCookieConsentGiven']); / window._paq.push(['rememberConsentGiven']);
depending on the cookie consent logic used by the frontend.


Added codecov coverage configuration

Adds Codecov coverage configuration.
Issue: #50
All Submissions:

[x] Have you followed the guidelines in our Contributing document?

New Feature Submissions:

[x] Does your submission pass build tests locally?
[x] Have you indented your code locally prior to submission?

Changes to Core Features:

[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you successfully ran tests with your changes locally?

Codecov Report

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

@@            Coverage Diff            @@
##             master      #64   +/-   ##
=========================================
  Coverage          ?   93.97%
=========================================
  Files             ?       19
  Lines             ?       83
  Branches          ?        0
=========================================
  Hits              ?       78
  Misses            ?        5
  Partials          ?        0

Continue to review full report at Codecov.

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

Great @nguptaa. Squash your commits to get this merged!

Great @nguptaa. Squash your commits to get this merged!

@monsij Already done. I was just testing cases so didn't squash after every commit. Kindly review 😃

ack ac4bdaf


[AutoRelease] t2-containerservice-2024-09-02-40998(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/5463
Recording test fail, detailed info is in pipeline log(search keyword FAILED)!!!
https://dev.azure.com/azure-sdk/internal/_build?definitionId=982
BuildTargetingString
azure-mgmt-containerservice
Skip.CreateApiReview

issue link:https://github.com/Azure/sdk-release-request/issues/5463


Better test running

Good point on #2. I revised my branch so that the async-capable version of the test function is only loaded in async-capable environments, and only run by the async tests. So in Node 6, the async tests never run, and the old tests all run exactly as they did before; and in Node 7+ harmony, the async tests run and use the different test runner that catches failures. Changing one of the numbers in arrayEq out, [5, 4, 3] causes a failure now.
With this approach we don’t need to add any polyfills or shims, and we don’t need to modify any of the old tests. Is there anything I’m missing here? It might help to compare my branch against the 2 branch, you’ll see how little I changed from that eventual merge destination.

This does appear to work, but it also doesn't run the tests sequentially like the original test-suite did. This is a clever solution but it's also kind of a hack and could lead to problems down the road. Is monkey patching really better than using a helper function?

Does it matter that the tests run sequentially? And are you sure they do now? (In the 2 branch, I mean, not your master.) There's a comment noting that the tests run out of order.

And yes, I think this is better than using the polyfill/shim/helper/whatever you want to call it. I don't want to edit parts of the codebase that don't need editing, like the legacy tests you were changing to get to work with the new test runner.

So your are simply trying to narrow the focus of this PR? That makes sense, but we shouldn't do that at the expense of writing maintainable code. Redefining test in one of the test files seems like a bad idea. I think we should have the async test function in a separate file that we can import if async/await is supported. Maybe
if asyncSupported
  global.test = require 'path/to/async-test.coffee'
else
  global.test = (description, fn) ->
    try
      fn.test = {description, currentFile}
      fn.call(fn)
      ++passedTests
    catch e
      failures.push
        filename: currentFile
        error: e
        description: description if description?
        source: fn.toString() if fn.toString?

?

I thought about that, but the async version of test is only used in test/async.coffee. The test I added there is local to that file; it doesn't overwrite global.test. Put a console.log in it, you'll see.
You could rename it testAsync, and rename all the calls to test in that file to testAsync, to make it more explicit, but I was trying to keep things standardized with the calls to test.

Ok, in the future there will probably be other async features in CS, so it would probably make sense to think more broadly, but I'll leave that for another PR.

Agreed. By then hopefully we won't need this harmony nonsense, so it'll be much easier.


libprotobuf ERROR

When I try to run on my precompiled caffe, I got the following error:
[libprotobuf ERROR google/protobuf/text_format.cc:274] Error parsing text-format caffe.NetParameter: 559:25: Message type "caffe.LayerParameter" has no field named "gradient_scalar_param".
F0429 12:54:53.980785 23869 upgrade_proto.cpp:90] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: ./models/mada/train_val.prototxt
Should I recompile the caffe ?
Thanks

I recompiled caffe and problem solved.


Provide client-gen install instructions

This pull request provides install instructions for how to install the Kubernetes client code generator as this might not be obvious to everyone.

/release-note-none

/retest

/approve

/retest

@rmohr would you be so kind to leave the /ok-to-test label? Otherwise this pull request can't be merged unfortunately.

@drssdinblck I think only retest does not work without the label, but tide takes the PR into the merge queue and retries internally when a PR is approved. That should also be the reason why you see it merged now.


How to use Autoaugment  in my config.py

Hello, I want to use autoaugment of mmdet, but how to use autoaugment  in my config.py? Anyone can help me? Thanks!

It has not been implemented yet. You may need to implement some transforms first.

It has not been implemented yet. You may need to implement some transforms first.

Thanks, another question is about dataset balance of mmdet,   how to use this?

Please refer to the LVIS dataset and config files.

Please refer to the LVIS dataset and config files.

Thanks, but I my dataset is object detection.
As shown in some lvis config files, can I only change the dataset type to 'LVISV1Dataset' and change  the train type to 'ClassBalancedDataset'?

Hi @sky-fly97
You may specify your own dataset type with ClassBalancedDataset wrapping.

Can you give me some advice to use auto_augment.py?such as polices：v1?


Slalom forces you to equip defensive boots

https://codecombat.com/play/level/slalom
If defensive boots are the only boots with move that you have, game forces you to equip them and doesn't suggest anything else (makes the level impossible).

Thanks! I've extended the level's lifespan so slower heroes can complete it.


[Todoist] Menu task bar keeps erroring

Extension
https://www.raycast.com/doist/todoist
Raycast Version
1.81.0
macOS Version
14.5
Description
Error:
I'm not quite sure why, but very frequently my Todoist tasks menu bar turns into a triangle in the menu bar, and the tasks are not loaded:

Steps To Reproduce
I'm not really sure because it just doesn't load the tasks and won't load them again until I clear cache + reload. I will try to see if I can notice it when it next and if someone can point me where to check, find some log files. I've been through this process at least 5-10 times: If I clear the cache and then reload, it works for a short time and then stops again: https://app.screencastify.com/v3/watch/e1psOpeXxifSXD0gEgL7
Current Behaviour
Red triangle, tasks not loaded until I clear cache + reload.
Expected Behaviour
Should show tasks at all times.

Could you copy the error and paste it here? I think it has to do with loading too many tasks but want to double check first.

Hey there!
Could you guide me on where to find the error? All I see is the menu bar going red and angry, I've never actually seen any error messages.

In the screencast you send, there's an action called Copy Error that allows you to get the stack trace 🙂

Thanks! It appears that this is a duplicate of issue https://github.com/raycast/extensions/issues/10127, so I'll mark it as such.


Help/Suggestion

Hello! How are you?
I really like your bot!
I’m trying to add select menus but I’m not succeeding. It would be nice to be able to add different categories, for example: support, doubts, reports, etc...
I will leave the link of the Discord documentation if you are interested in helping me: Discord Select menus
Thank's <3
btw, my discord is Wee#1111

You can accept my request.


[tests-only] Trigger CI

PR 1990 is getting a failure in webUITrashbinRestore suite. See if it is an existing problem in master.

master is OK - good.


[nodejs][question] Events and middleware are competing

It seems to me that events are competing with middleware.

If I have middleware, it is called for every message. It seems that a type that represents the event could be passed in here to make a more consistent path for responding to and route based on events.

Example (Suggestion)
bot.use(function (session, next) {
    // type no longer just reports 'message'
    if(session.message.type === 'deleteUserData') {
        // Delete User Data
        session.replaceDialog('/dataDeleted');
    }
});

The listening for events is cleaner and may be more performant (not waiting for everything before reacting to a event being emitted), but right now the interface and options after a event is triggered is extremely limited. Personally, reacting to the listening of events is cleaner than a conditional chain within the middleware.

Example (Suggestion)
// Listener should take a session instead of a message object
bot.on('DeleteUserData', function(session) {
        // Delete User Data
        session.replaceDialog('/dataDeleted');
});

Instead right now you get a message object, which can not replace the dialog, and does not let you end a dialog or control the flow correctly.
Question - What is the correct way to handle these events? For example the firstRun middleware example to me should be done with the BotAddedToConversation event instead of a middleware.
Ideally, the message event should replace the need for the use method on the BotConnectorBot and should be triggered with every message.
// Triggers First Run
bot.on('BotAddedToConversation', function(session) {
    if (!session.userData.firstRun) {
       session.userData.firstRun = true;
       session.beginDialog('/firstRun');
    }
});

// Replaces Middleware that is enacted for all messages. This event is currently not working. (or should this be the reply event)
bot.on('message', function(session) {
   if(process.env.LOGGING) {
       console.log(session.type + ":" + session.message.text);
    }
});

In the end, no matter which way we go, I think it makes sense to either remove the middleware and have events trigger the actions, or keep the middleware, and allow the event types to be addressed within the middleware function. The change should allow session to be the object that is handling the message flow regardless of direction.
There is room to keep both though. Many node libraries (including built in ones for node) support both callback (all data is returned and takes up memory) and event listners (can be handled at time of event, takes up less memory, does place items on event stack).
Example - give me all rows in database query results before I act (callback) vs give me each row and act against each row (event).
Given the amount of data, the event model seems to make more sense, provided race conditions can be avoided.

Great discussion... We were just talking about this internally the other day. So first. Why can't you handle DeleteUserData from middleware.
Currently, middleware only supports something I've been calling "Dialog Middleware". When a message is received its first mapped into a Session object and then run through middleware before being dispatched to the active dialog for processing. Currently on messages of type "message" go through this flow. Why is that? Because they're the only types of messages that allow the bot to have a full conversation with the user.  All of the other message types allow only a single reply to be sent to the user at best. So if the bot is added to a conversation for instance you can send a single greeting message but you can't start a full conversation.  Since you can't take full advantage of bot builders dialog system we currently don't map these messages into a Session object. That sort of sucks because I can currently give you a way to reply with a static message (you set it as an option for the bot) but we don't have a way to reply with a dynamic message.
One idea we had for solving this was to create a ReplyOnlySession class which would let you call session.send() like your used to but you can't call session.beginDialog() or anything else. We would love feedback on that idea.
The other issue is that with certain events like DeleteUserData you can't send a reply at all so it seems like firing an event is the right way to go.
Back to the topic of just middleware, just events, or both. Middleware has a number of advantages over events that I wouldn't want to lose. For one the calling order is way more predictable than with events, they're called in the exact order they're mounted.  Second you can do async operations in middleware which you can't do with events. Events may be run in sequence but conceptually they all run in parallel. Middleware runs truly in sequence. Third, and probably most important, middleware can intercept execution. That's super useful in BotBuilder as it lets you redirect to other dialogs based on some condition.  You couldn't do that very cleanly in an eventing model. So the real question for me is can you get rid of events and go with just middleware? At this point I'd say I don't think so but I do think we can make improvements to BotBuilders middleware support so maybe.
Here's what I have planned for middleware in a future release. I want to add to the current Dialog Middleware a new type of middleware called Message Middleware.  Where Dialog Middleware is about processing messages before they're routed to a dialog, Message Middleware is about processing incoming and outgoing messages.  Here's how it would look code wise:
bot.use({
    received: function (message, next) { },
    dialog: function (session, next) { },
    sending: function (message, next) { }
});

When a message is first received we'd run it through all of the received functions. Then for messages of type "message" we'd map the message to a Session object and run it through all of the dialog functions. For out going messages we'd run the messages through all of the "sending" functions before actually sending the message. The primary idea here is to let you plugin things like machine translation but it could also potentially eliminate the need for events. Or at least provide a pure middleware based approach for those that desire it.
The thing that keeps me from thinking you could get rid of events all together is the "error" event. This event is special cased by node and its the primary way you should (and that we do) bubble errors up the stack. Calling bot.on('error', function (err) {}); today lets you register a global handler for any errors that occur within your bot. I think we'd always have to support that.
Again... Thanks for starting this discussion.

Feel free to re-open if you'd like to discuss this more.

@Stevenic  sometimes if there is any error in code then session is returning default_error message & if its correct then default_choice, so how can I handle those events & pass my custom message?

Hello @Stevenic! Nice discussion!
I have been digging into the framework(nodejs version) for the last 3 months and I would love to know if this dialog middleware you are talking about will come to life.
At the moment what I have in mind is to intercept all the messages from the chat to the user and run some kind of validation before sending it or not. For this, I would need the session.userData if possible.
However, the only events(botbuilder, receive, send) I can use only give me access to the message object.
Is there any workaround?

Hi @mmathias -
You can view the full session object by adding a console.log(session); statement to any dialog route handler. Or more specifically, you can log the userData property with console.log(session.userData);. One thing to note, the JSON object will not be logged in the Bot Emulator console, instead it will appear in the terminal where you are running the bot.js NodeJS file.
Check out this code example for a working demo.


BUG: New WYSIWYG editor swallows custom HTML

Hello,
Thanks for all the fantastic work you put into this framework!
For our challenge, some pages use custom HTML for styling. However, when I now click "Edit Page" -> "Source", most of the HTML is gone and there is only the content and a couple of divs left. I know it is still in the database because the pages display correctly.
As a workaround for updating the page, I copy the code from "View Source" into a text editor, make my updates there, and copy the whole thing back into the editor for saving (and if I click "Edit Page" -> "Source" the HTML is gone again).

Thanks for reporting this and sorry about that! I can reproduce this and will try and fix it this week.

Sorry! I forgot to enable this option for continuousregistration. Please try again.


transform() method for the shogun_LMNN

Going by the current implementation, it lacks a transform() and metric() for the Shogun wrapping implementation of the LMNN.
In case it is required / Unless someone is currently working on it, I would like to work on it.
Open to suggestions!

Both the shogun and pure Python implementations of LMNN use the BaseMetricLearner (superclass) implementation of transform() and metric(), so no action is required here.

My apologies, didn't notice that! Is there a nice point for me to start contributing to the community? :)

The algorithm wish list (#13) is a good place to start! :+1:


New version: ScientificTypes v2.0.0

Registering package: ScientificTypes
Repository: https://github.com/JuliaAI/ScientificTypes.jl
Created by: @ablaom
Version: v2.0.0
Commit: 7c2294c50cca1a0d73d3fa39d9925124b803427d
Reviewed by: @ablaom
Reference: https://github.com/JuliaAI/ScientificTypes.jl/issues/111#issuecomment-865502954
Release notes:

(breaking release) ScientificTypes 2.0 is essentially a copy of MLJScientificTypes 0.4.8. The code
at ScientificTypes 1.1.2 was moved to ScientificTypesBase 1.0. See #125 for details.

[noblock]
@ablaom

The following dependencies do not have a [compat] entry that is upper-bounded and only includes a finite number of breaking releases: ScientificTypesBase


GPUOptions struct is in internal package. And go generate doesn't work for protobuf directory. So we can't specify GPUOptions for NewSession.

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce
Mobile device

This problem appears to be broader than just specifying GPUOptions for TensorFlow sessions. There is no native Go API for passing any options when creating a session. The user must create the binary representation of a ConfigProto protocol buffer outside of the TensorFlow Go API.
See, for example, the test case TestSessionConfig in session_test.go:
func TestSessionConfig(t *testing.T) {
	// Exercise SessionOptions.
	// Arguably, a better API would be for SessionOptions.Config to be the
	// type generated by the protocol buffer compiler. But for now, the
	// tensorflow package continues to be independent of protocol buffers
	// and this test exercises the option since the implementation has a
	// nuanced conversion to C types.
	//
	// Till then, the []byte form of Config here was generated using a toy
	// tensorflow Python program:
	/*
	 import tensorflow
	 c = tensorflow.ConfigProto()
	 c.intra_op_parallelism_threads = 1
	 print c.SerializeToString()
	*/
	graph := NewGraph()
	c, err := Const(graph, "Const", int32(14))
	if err != nil {
		t.Fatal(err)
	}
	opts := SessionOptions{Config: []byte("(\x01")}
[...]

Would the TensorFlow maintainers accept a non-Google contribution that added the ability to specify session options using pure Go code? This functionality would require generating instances of the ConfigProto protocol buffer defined in config.proto. I can see two ways to generate these protocol buffers: Either add a build target to generate Go bindings for the files in tensorflow/core/protobuf; or add Go wrappers for the generated C++ code in tensorflow/core/protobuf/config.pb.h

@frreiss we'll definitely accept a Go-only API to configure tensorflow.

I am looking into this.

Created PR #26682 with a Go API to create ConfigOptions protocol buffer messages. I made the changes as narrow in scope as I could.

Closed by https://github.com/tensorflow/tensorflow/pull/26682
@frreiss Thank you

#26682 is reverted https://github.com/tensorflow/tensorflow/commit/6e9cb400d17f60e50cefe59fc099fc5b6e4074ce#diff-dcd28ad951bd17e9c512d3b564640bab

is this issue open? Can i work on it? @mattn

Yes please.

May I know how to reproduce the issue?

Sorry, I don't know why the changes was reverted.
https://github.com/tensorflow/tensorflow/pull/26682#issuecomment-480350306

ok no problem I will try some other issues

Hi,Adesh  I am beginner i don't where start Can anybody help me?????

Hello!
I am newbie to open source contribution and really interested to contribute!! . But I have very very less knowledge about it . Can anyone help me please?

can someone guide me what to do? i will be really thankful :+1:

can someone guide me what to do? i will be really thankful :+1:

Kindly close this issue. It's confusing for first time contributors who come here for solving their first Issue.

Kindly close this issue. It's confusing for first time contributors who come here for solving their first Issue.

I don't mind to close this but no one explain why https://github.com/tensorflow/tensorflow/pull/26682 was reverted.

I don't mind to close this but no one explain why https://github.com/tensorflow/tensorflow/pull/26682 was reverted.

is this still open?

is this still open?

is it still open

@mattn is this issue closed?
if not
is it open for beginners to help?
if not then why does it have the good first issue??

Assign me

relax people! if u are here to solve these tasks, u are a beginner anyway.
just do it, regardless of someone already started it, or not.
u will learn a bunch of stuff!!
don't focus too much on whether someone already started working on it. in that way, u will never start..

can any one guide me to this issue

Hello Gays

Ok ill start on the issue.

name =input("enter your name :  ")
password = input("enter your password :  ")
password_length = len(password)
if password_length <= 8:
print("Short paas troop word!")
elif 8 <password_length <= 12:
print("Medium paas word! ")
else:
print("Perfect paas word! ")
print(password_length)

@RedaAitBabaaziz ?

@plopd Thanks. I really look forward to lots of learning. So how to get started?

Note from the past to fellow coders and beginners:
Ahem.
So this pops up in the good first issue page and a lot of "good first issue finder" websites. You might've came from a link, or other way.
So here is the deal:
I am a TensorFlow Developer - god level: Try it out, if you can understand what these names mean and can spot them in in the "TensorFlow".
I am a TensorFlow Developer: Try to solve it/ or learn the issue.
I am a huge developer of [X language used in TensorFlow]: First learn the issue(more like, learn how the issue relates to the "TensorFlow".
I am a developer of [X language used in TensorFlow]: try it out; learn the issue.
I am a learner in TensorFlow: you can start by learning the code of TensorFlow, then the issue, then the solutions + comments( <- do this before solving it!)
I am a learner of [X language used in TensorFlow]: you can explore but try this issue when you become a I am a learner in TensorFlow or I am a developer of [X language used in TensorFlow]...
I am a learner of programming: first be a I am a learner of [X language used in TensorFlow] or a I am a developer of [X language used in TensorFlow]....
I am a explorer of GitHub/TensorFlow/[X language used in TensorFlow]: you can start by learning the code of TensorFlow, then the issue, then the solutions + comments( <- do this before solving it!)
After choosing what to do from the above; do these:
So you are fixing the issue: First understand what is  "GPUOptions for Go binding" then look the PRs already in progress, then chat with everyone(feel free to chat in other places like Reddit, Stack overflow.

#22926

Hello-World

This comment section is just 1 mile away from getting the normal-and spam, isn't there some body to moderate this and take a look at the PRs and like disable commenting if a PR does good?
Examples of not-spam but worthless comments:

Hello Gays

has a lot reactions :arrow_up: :roll_eyes:

#22926

Hello-World

name =input("enter your name : ")
password = input("enter your password : ")
password_length = len(password)
if password_length <= 8:
print("Short paas troop word!")
elif 8 <password_length <= 12:
print("Medium paas word! ")
else:
print("Perfect paas word! ")
print(password_length)

I am sorry if I got a comment wrong but sure this needs attention from someones (even not for my request but just...)

Is this issue open?

52193

What are you expecting by commenting this number?

Is this issue open?

Yes it is.

Request

OpenCV VS Tensorflow
The main difference between OpenCV is the computer vision library and TensorFlow is Machine Learning Tool. definition, differences, application, languages they support

Open CV

hi , my name is Arman I'm python developer such as Django I'd like extremely Django but I've problem for set static in URL please help me what should I do ?? Thanks
I've problem =>  style="background-image: url"{'%static img/bg_image_3.jpg'%};"

Is this  issue still open?
And if anyone is not working on it pleaee assign it to me

Is this issue still open? I would like to take a stab at it

@Tasfia-Ara are you new to this open source stuff

@Wansh619 Yes this is my first project.

For me too but there is no response that is this  issue stiil open or not

I hope someone responds - it also seems that many people tried to solve this, but couldn't

Are you a student?

yeah - I'm a comp sci major

From which country?

@Tasfia-Ara i was thinking that if you too are new in this so let work together as a tem to solve this issue
By the way do you have any idea how to work on this issue or you too need resources to learn.

@Wansh619 I will probably need more resources to learn more about this issue.

And working in a team also makes sense.

Hello, I am new here and want to contribute in your project I would like to ask what i should learn to contribute here and please also tell me some resources ....

Leave a comment

Hey all! I'm looking to contribute to this project in some way, and have coding skills that include C, C++, Python, and Java. Is there anything that needs to be worked on, as a first-time contributor? If not code, perhaps some changes to documentation? Thanks!

This is still open

Anyone can help me in my project .....
project is social media integrated search engine

Is this issue open?

I repeat: https://github.com/tensorflow/tensorflow/issues/22926#issuecomment-933374360

Current implementation of Go binding can not specify options.
GPUOptions struct is in internal package. And go generate doesn't work for protobuf directory. So we can't specify GPUOptions for NewSession.

https://github.com/tensorflow/tensorflow/issues/22926#issue-369400171

https://github.com/tensorflow/tensorflow/issues/22926#issue-369400171

Current implementation of Go binding can not specify options.
GPUOptions struct is in internal package. And go generate doesn't work for protobuf directory. So we can't specify GPUOptions for NewSession.

#22926 (comment)
https://github.com/tensorflow/tensorflow/issues/22926#issuecomment-1182720566

#22926 (comment)

Current implementation of Go binding can not specify options.
GPUOptions struct is in internal package. And go generate doesn't work for protobuf directory. So we can't specify GPUOptions for NewSession.

#22926 (comment)
#22926 (comment)

You don't have to quote me when you are spamming, really, it's quite messy.

can someone help me explaining the issue?

is this issue still open to contribute?

if yes can anyone guide me towards my first open source contribution.

take

I am new here . Someone assign me some open source contributing project .

Hey just starting open source can someone help me on how to contribute ?

Is the issue still open? I have a solution in mind

@Mike-gag I'd love to help contribute as well, do you want to collaborate on the fix?

@dabenor sure! dm me

@Mike-gag I don't think I can DM on here, but my email is on my profile. Shoot me an email and let's connect on this

Is this problem still not fixed? I think I have an answer, can you designate it to me?

Is this feature still not integrated? I will gladly help! Can you designate it to me?

f you want your generated code placed in a specific directory, use an absolute path:
mkdir -p /some/absolute/path
protoc my.proto --go_out=/some/absolute/path

i think this issue was resolved but feel free to look at other issues

is this problem solved , I am_ new to machine learning can anyone help to understand the problem

hi!
does this issue still actual? Or you can close it?

Can I try to contribute to this

hi, does this still need fixing?

Hello,
I'm excited about contributing to this issue and believe it aligns well with my skills and interests. Could you please assign me to work on this? I'm ready to dive in, discuss the details, and start contributing.
Thank you!
Harshavardhan Bellamkonda

@rajveer43 Sure, I'm happy to have the opportunity to collaborate with you on this! Working together to improve the GPUOptions binding for Go sounds like an interesting endeavor. Let's dive into the details and start making meaningful contributions. Your enthusiasm and willingness to contribute is greatly appreciated. Looking forward to a productive and successful cooperation!

Hello, opensource community!!, This is Jayanth I am new to opensource, I would like to contribute in tensorflow project! Can anyone guide me to contribute on any good first issue pls!, Thank you

Hi OpenSource community,I am Antony very new to this platform.I would like to contribute in tensorflow. Any help would  be appreciated

Hi folks, I am Varad and I am new to open source contribution. I would really like to contribute to the tensorflow project. I would be really grateful if someone can guide me with contributing to this project. Thank you for your time!

Hi folks, I am Varad and I am new to open source contribution. I would really like to contribute to the tensorflow project. I would be really grateful if someone can guide me with contributing to this project. Thank you for your time!

^^^^

Hi everyone👋, I am Rayyan Uddin. I recently started learning ML and found Tf to be extremely helpful.
I am glad such a community exits so that we can focus on developing applications. I would love to contribute to Open Source and can't be more excited to be a part of history.

Hi Everyone, I am Karan. I wanted to start contributing to open-source and tensor-flow is a great place to start. Please do help me by telling me whether this issue is still open or not and further guide me on how to proceed further on this issue.

Hi, I am keshav. I would also like to contribute to this issue. It would really help if someone can give a summary of what has happened so far in this issue.

HI , I am Bhalchandra patil , a artificial intelligence undergrad ,i am new to open source contribution , I would like to contribute in tensorflow project! Can anyone guide me to contribute on any good first issue pls!, Thank you

Hello everyone, I'm Mada, and I'm eager to begin contributing to open-source projects. TensorFlow seems like an excellent place to start. Could someone please help me determine if a specific issue is still open, and if so, guide me on how to proceed with it? I appreciate any assistance provided.

..

Hi, I am Anmol, I am currently learning more about Deep Learning and Computer Vision. I am new to the Open Source Contribution. I want to learn more about the technology and want to be part of the Open Source Community by actively contributing to it. Can anyone guide me, on how I can contribute to a good first issue, Thank you.

Hi my friends I am mohmmad Ayesh I want to contribute in tensor flow repo or any open sources but I new to contributing in other open sources have javascript experience with react basic can any one guide me thanks

I am looking into this problem

Hey I'm Will, and would love to contribute to TensorFlow. If anyone can recommend some starter issues to me that'd be great.

Hello people, Yash this side, and would love to contribute with some starter issue. Can anyone help me with it. I have knowledge of Java And Machine Learning.

Can I look into this? If this is available??

Hey There ! I am new to open contribution. So, i want to know how to get started and make my first contribution.

Hi, This is Surinder Singh and I would love to contribute to the Tensor Flow open contribution. Please let me know if any one needs any assistance.

Hi @SurinderSinghSaby could you assist me with tensorflow contribution

Hi @SurinderSinghSaby could you assist me with tensorflow contribution

Hi @Flutevishnu I would be happy to assist. Please reach out to me and we can discuss how I can help.


Still show profile name after icon has been selected

Type: Feature Request
The profile name (prefix part) used to be shown along with the default gear icon, which is clear and quick to identify which profile is using. However, after I selected an icon for a profile, the name won't show any more. The icon selections are not sufficient enough (e.g., lack of language icons, so I need to use coffee icon for markdown and beaker icon for matlab, but not intuitively), so I think the profile name display on the icon is still important.
VS Code version: Code 1.93.1 (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

Besides, it is hard to distinguish profiles with the same icon.

/duplicate of #218124


New op code ON-EXCP needs to have same indent as ON-ERROR

ISSUE_256.rpgle.txt

Also ON-EXIT is marked up for incorrect indent.  Should it be marked up?  I think no because it acts like an ELSE for procedures.


GUI System is terrible

The current use of PGU's GUI is at it's end - many features, such as window resizing and async display of world images are jury rigged into it and at many points are core functionality overwritten just to make things work. Additionally PGU is discontinued.
The logical solution would be to use a new GUI Framework and kivy looks like a good option.

However, moving away from pygame would be a huge undertaking, that time investment may well not be worth it.


support twitter-style @username mentions

if every @username in the comment's text translated to user info and returned back by API as a list of mentions []store.User we could do some nice things with this, like:

click on @username can show user info
reply RSS may include those even if it wasn't the actual reply
potential in-browser notification

The biggest problem here - the server doesn't know anything about @username until user posted at least one comment. Even for such users, we don't have any method to translate username to ID directly.

@umputun what do you think about this solution:

Add new bucket to store user info per site. Key is user_id and value is a new struct UserInfo like

type UserInfo struct {
    store.User
    LastTS         time.Time     // last published comment
    Count          int           // all comments per site
    ...
}

Populate UserInfo bucket when user posts a comment (or even login via provider) in case this is a new user. It should be modified in several server events (like users was deleted or user published new comment).

Next steps is about ability to mention (not about showing user info)

To mention @someone we need endpoint to get users (id) by name.
2.1. Get most relative users when prefix is empty (like @ ). Maybe it could be a list of admins or last mentioned users. I think this step can be done later
2.2. Get users by prefix  (@som should return someone, sOmebody, etc). Limited up to max possible (5). For bolt db implementation we have Seek method that helps find all keys that match to prefix. Therefore if we create new bucket (index for UserInfo) and build keys like strings.ToLower(username) $identifier$ user_id with values user_id it would be possible to find users by prefix name. The restriction is that this search is not case sensitive. Also it should me modified (add or delete) when data in UserInfo modifies (adds or deletes).
Add something like engine.Accessor.UsersInfoByPrefix(siteID, prefix strings) []store.UserInfo
Add API endpoint like GET /users?site=site-id&name=prefix. This should touch engine.Accessor.UsersInfoByPrefix and should return list []UserInfo or simpler list of data contains two fields username and user_id.
Add MentionIDs field to Comment struct. It should keep list of user_id that were mentioned in this comment. UI should modify it when create\edit comment (when user select appropriate user to mention)
Extend RSS reply logic. If user_id exists in MentionIDs field add this comment to RSS reply.

some suggestions:

one method should be added  - UserInfoByName(siteID, id) store.User.  Implementation for bolt will need new user info bucket for such index, key=name, val=userid. Create, Put and Delete will set/remove kv.  Mongo's implementation can do find by user id directly. One potential issue here - username may not be unique.
UserInfoByName will be called by the server on each create/edit/preview event as a part of text parsing and will fill MentionIDs. Probably some little regex to catch "@name" patterns. Those mentions won't be just ids but a struct with ID and name, so probably we want to call it just Mentions.
UI won't fill/edit Mentions.  The only thing UI should do is to highlight @name and make a link to the same place it's doing for regular users, i.e., info block.
We can drop the ability to mention users without comments. I don't see much value in mentioning someone who didn't write a thing.
Prefix search is nice to have, but we can do it without new interface method(s) if we restrict context to the current post only. I think it the majority of cases this should be enough.  If so, we may add Mentions (collects mentions from the whole tree) to the PostInfo and completion can be done by UI.

UI won't fill/edit Mentions. The only thing UI should do is to highlight @name and make a link to the same place it's doing for regular users, i.e., info block.

What do you think about the situation when several users have one name? I mean how server should guess what user was selected to be mentioned if UI only send @name. I aggree that if we restrict context to post (list of possible users to me mentioned) it hardly happen.  But if this collision makes sense maybe UI should encode @name in comment body to something like @name+user_id?

Prefix search is nice to have, but we can do it without new interface method(s) if we restrict context to the current post only. I think it the majority of cases this should be enough. If so, we may add Mentions (collects mentions from the whole tree) to the PostInfo and completion can be done by UI.

But maybe "site" context instead of "post" context might be helpful for customers like radio-t site. For example with "site" context each regular user will be able to post comment refering it to announcer (to leader of show). Like direct question, for example to ask something, referring to this episode (post). But maybe it can be done adding predefined list of vip Mentions to PostInfo - of course if it makes sense

@akosourov see also #155 Maybe we should postpone mentions implementation until bolt part switched to storm? It will simplify new index creation significantly.

Of course but if you have something that I can deal - I will be glad :)

I mean how server should guess what user was selected to be mentioned if UI only send @name.

I don't see how moving this responsibility to the frontend will help. The user will type @blah and we have no way to realize which @blah he meant. Probably we can show a selection of possible IDs, but practically this won't help that much.

But maybe "site" context instead of "post" context might be helpful
Such a list can be too big for active sites.

it can be done adding predefined list of vip Mentions

good idea. We can also collect the latest mentions in some sort of cache (on the server side) and keep smth like 100 latest and mix them into PostInfo mentions.

@umputun I'd like to deal with something in remark where I could be helpful. I can deal with something relative to this issue (start to switching to storm, or start implementing mentions without it) or something other. So If you need help - let me know :)

@akosourov sorry, missed your message. There is a ticket you may want to take a look #488


Benchmarks vs. std

It would be nice to have benchmarks comparing the performance to the data structures in std.

I'm also eyeing benchmarks with the reference Judy implementation, which already has Rust bindings in the judy crate. Benchmarks in general would be good for avoiding performance regressions.

See #7 for a start.


Issue running parallelformers test script in a VM

How to reproduce
First of all, thanks for this great project!
I'm facing an issue running the test code provided here on Kubernetes.
This is what I'm running inside a Kubeflow pod:
python3 tests/seq2seq_lm.py --test-name=test --name=Helsinki-NLP/opus-mt-en-zh --gpu-from=0 --gpu-to=3 --use-pf

I'm using a g4dn.12xlarge AWS machine with four T4 GPUs.
The pod hangs when executing this line until I manually terminate it.
I suspected this change might have been the culprit so I ran the same code with v1.2.4 of parallelformers. This time, the pod quits during execution of the same line without outputting any errors which is odd.
Notably, if I run the same command without --use-pf it runs fine.
I saw you've reported some problems using docker. However, memory should not be an issue here since I'm using Helsinki-NLP/opus-mt-en-zh model which is relatively small.
I was wondering if parallelformers code has ever been tested on Kubernetes?
Also would appreciate it if you could look into this issue. Thanks!
Environment

OS : Linux
Python version : 3.8.3
Transformers version : 4.17.0
Whether to use Docker: Yes
Misc.:
branch: main

can you try that in the if __name__ == '__main__' context?


Mapper Algorithm

Hi,
I want to know whether you have implemented the Mapper algorithm in javaplex.
I am new to TDA and am exploring this field so can anyone tell what is the essential use of persistent homology in the Mapper algorithm. Furthermore, how can persistence homology be separately used to analyze and visualize datasets.
Thanks
Shivin

Hi Shivin,
It looks like Mapper has been implemented in javaplex. Indeed, see the following links:
https://github.com/appliedtopology/javaplex/tree/master/src/java/edu/stanford/math/mapper
http://appliedtopology.github.io/javaplex/doc/index.html?edu/stanford/math/mapper/
https://github.com/appliedtopology/javaplex/tree/master/src_test/java/edu/stanford/math/mapper
That being said, I've never used Mapper in Javaplex. Has anybody here used Mapper in Javaplex?
Persistent homology and mapper are two completely distinct algorithms -- neither one is used in the other.
Best, Henry

I must admit, I had no idea that we had Mapper in JavaPlex. I should check it out.
Mikael Vejdemo-Johansson
<EMAIL_ADDRESS>http://atmcs.appliedtopology.org http://atmcs.appliedtopology.org/

On 4Mar, 2017, at 12:31, Henry Adams<EMAIL_ADDRESS>wrote:
Hi Shivin,
It looks like Mapper has been implemented in javaplex. Indeed, see the following links:
https://github.com/appliedtopology/javaplex/tree/master/src/java/edu/stanford/math/mapper https://github.com/appliedtopology/javaplex/tree/master/src/java/edu/stanford/math/mapper
http://appliedtopology.github.io/javaplex/doc/index.html?edu/stanford/math/mapper/ http://appliedtopology.github.io/javaplex/doc/index.html?edu/stanford/math/mapper/
https://github.com/appliedtopology/javaplex/tree/master/src_test/java/edu/stanford/math/mapper https://github.com/appliedtopology/javaplex/tree/master/src_test/java/edu/stanford/math/mapper
That being said, I've never used Mapper in Javaplex. Has anybody here used Mapper in Javaplex?
Persistent homology and mapper are two completely distinct algorithms -- neither one is used in the other.
Best, Henry
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/appliedtopology/javaplex/issues/13#issuecomment-284166931, or mute the thread https://github.com/notifications/unsubscribe-auth/AHvcp_n8uLgxJO-T0s-DKzv8Mv4IUFwhks5riZ_8gaJpZM4MTAKz.

Hi @henryadams,
Thanks for pointing that out for me. Actually I am planning to implement a data analysis tool in Julia which uses the Mapper algorithm. So just wanted to clarify on that.
BTW are you aware of Ayasdi and their software Ayasdi Core? Do you have any idea as to how they mix Machine Learning and TDA to create revealing summaries of data. There seem to be no experts in this area of Machine Learning.
Thanks,
Shivin

Hi Shivin,
I do know about Ayasdi and Ayasdi Core. Many people have thought about mixing TDA with machine learning, and written papers along these lines. But this is still very much a wide open area, and I don't know the specific details of the techniques Ayasdi tries.
Best, Henry


fix: isLastPage true if 0 items

What
When the Pagination component gets 0 items "nextPage" and "skipToLastPage" buttons are not disabled.
Why
When the component gets 0 items isLastPage is never true, because totalItems / pageSize with totalItems === 0 gives 0 and value (the current page) must be >= 1.
How
In the case we don't have items !totalItems, then isLastPage is set to true.

Do we actually need to show the pagination when there are 0 items?

Do we actually need to show the pagination when there are 0 items?

That's a fair question. So far the current behaviour is this:

IMO it should be the user who decides not to render at all the component if there are 0 items, and the bug still should be fixed.
If we want this to be a library constraint then we should anyway change the component behaviour, returning null if there're 0 items.

I agree with both of you. We should fix this behaviour in the library, but also hide the pagination in the projects if there are not multiple pages! Thanks for opening the PR 👍

It seems we can merge this @div-Leo


[event-hubs][core-amqp] Add support for allowing direct partition connections

This PR implements #7810 but doesn't expose the option to the user yet.
Background
https://gist.github.com/chradek/b7f701d45960e3bf5087d4022fe3ac89
TL;DR
This change allows the EventHubConsumerClient to connect directly to the back-end service when receiving messages versus connecting to the service gateway. This is accomplished by using the information in LinkRedirectErrors from the gateway to create connections to the back-end service.
Description of changes
Super secret flag
The EventHubConsumerClient has a new private field called _allowDirectPartitionConnections that is currently set to false. When set to true, this will allow the client to connect directly to the back-end service.
amqp:link:redirect
By default, Event Hubs won't send the client LinkRedirectError on receiver links. To let the service know that we (the client) are able to handle LinkRedirectError, we set the amqp:link:redirect desired_capability if the super secret flag is set to true.
When this desired capability is set, every time the client makes a receiver link on a connection that's pointed at the service gateway the service will send a LinkRedirectError that contains information needed to connect to a back-end node.
Parsing LinkRedirectError
See parsing the LinkRedirectError for details on what info is contained in the error and how it is used.
What happens if the connection to the node is no longer valid?
In PartitionPump, if a non-retryable error is encountered, the receiver is closed and a new one will eventually be opened by the subscription. At this point the new receiver will connect to the service gateway, get a LinkRedirectError, and connect using that data.
If a retryable error is encountered, we play it safe and create a new receiver that will connect to the gateway service so that we can get a new LinkRedirectError. This helps us recover from issues that may be caused by the node going down or no longer processing the partition we expect that we'd consider retryable based on the status code (e.g. ECONNRESET).
ConnectionContextManager
Now that each partition being read from can have its own connection, we need the ConnectionContextManager to give us easy access to the service gateway connection context and the direct partition connection contexts.
Now the PartitionPump can request a ConnectionContext using the information provided in the LinkRedirectError.
The PartitionPump will delete the direct partition connection context once that context is no longer being used. This is done to prevent excess memory from being used over time.
core-amqp
core-amqp did not allow consumers to configure the port, and did not allow the hostname to be set differently than the host. Both of these are required for the receiver redirect functionality to work so I've exposed those settings.
Testing
I have ran the entire test suite with allowDirectPartitionConnections both enabled and disabled and all tests passed.


Number of categories if I want train my onw dataset

Supposing the number of classes of my dataset is 20,should the catagories be 21?or 20?

20


Cilium not working on Fedora 32 Server and Fedora 33 Server

Hi,
I am having trouble deploying Cilium on K3S. I tested on Centos 8 and it works fine, but not on Fedora 32 Server (or 33).
When I deploy it in Fedora all the pods begin to fail (including CoreDNS), giving me I/O timeout problem to the IPs of the pods. And in Hubble's case, the Relay never turns on.
The K3S installation configuration:
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC = "--flannel-backend=none --no-flannel --node-ip=${MASTER_IP} --node-external-ip=${MASTER_IP} --bind-address=${MASTER_IP} --no-deploy servicelb --no-deploy traefik" sh -

Helm (both running on Centos 8 and Fedora 32):
helm upgrade --install cilium cilium/cilium --version = 1.9.1 \
--set global.tag = "v1.9.1" \
--set global.containerRuntime.integration = "containerd" \
--set global.containerRuntime.socketPath = "/var/run/k3s/containerd/containerd.sock" \
--set global.kubeProxyReplacement = "strict" \
--set hubble.enabled = true \
--set hubble.metrics.enabled = "{dns: query; ignoreAAAA; destinationContext = pod-short, drop: sourceContext = pod; destinationContext = pod , tcp, flow, port-distribution, icmp, http} " \
--set hubble.ui.enabled = true \
--set hubble.relay.enabled = true \
--set ipam.mode =" cluster-pool " \
--set ipam .operator.clusterPoolIPv4PodCIDR = "<IP_ADDRESS>/16" \
--set ipam.operator.clusterPoolIPv4MaskSize = 24 \
--namespace $ NS

I'm doing the VMs with Vagrant, using the VirtualBox provider (it doesn't matter that).
Pods error example:
[vagrant @ mf32 vagrant] $ kubectl -n kube-system logs coredns-66c464876b-lgzwx
.: 53
[INFO] plugin / reload: Running configuration MD5 = 4665410bf21c8b272fcfd562c482cb82
CoreDNS-1.6.9
linux / amd64, go1.14.1, 1766568
[ERROR] plugin / errors: 2<PHONE_NUMBER>513958556.3044913659707008902. HINFO: read udp <IP_ADDRESS>:58054-><IP_ADDRESS>:53: i / o timeout
[ERROR] plugin / errors: 2<PHONE_NUMBER>513958556.3044913659707008902. HINFO: read udp <IP_ADDRESS>:54678-><IP_ADDRESS>:53: i / o timeout

[vagrant@mf32 dump]$ kubectl -n kube-system get pods -o wide
NAME                                     READY   STATUS             RESTARTS   AGE   IP            NODE   NOMINATED NODE   READINESS GATES
coredns-66c464876b-lgzwx                 0/1     CrashLoopBackOff   11         45m   <IP_ADDRESS>     mf32   <none>           <none>
local-path-provisioner-7ff9579c6-l5czr   0/1     CrashLoopBackOff   10         45m   <IP_ADDRESS>    mf32   <none>           <none>
metrics-server-7b4f8b595-8hfrr           0/1     CrashLoopBackOff   10         45m   <IP_ADDRESS>   mf32   <none>           <none>

[vagrant@mf32 dump]$ kubectl -n cilium-system get pods -o wide
NAME                               READY   STATUS    RESTARTS   AGE   IP              NODE     NOMINATED NODE   READINESS GATES
cilium-operator-5df7f6cb65-258q6   0/1     Pending   0          13m   <none>          <none>   <none>           <none>
cilium-operator-5df7f6cb65-jxlwc   1/1     Running   0          13m   <IP_ADDRESS>   mf32     <none>           <none>
hubble-ui-5df5fb587d-bgq95         3/3     Running   0          13m   <IP_ADDRESS>     mf32     <none>           <none>
cilium-wt54c                       1/1     Running   0          13m   <IP_ADDRESS>   mf32     <none>           <none>
hubble-relay-544876fc89-klwrg      0/1     Running   9          13m   <IP_ADDRESS>     mf32     <none>           <none>

The pod cilium-operator-5df7f6cb65-258q6 is Pending because is single node.

I following this guide
General Information

Cilium version: 1.9.1
Kernel version: Linux 5.9.13-100.fc32.x86_64
Orchestration system version in use: Kubernetes K3S 1.19.3 (i tested on 1.19.5 and it's the same)
Generated system zip

Things I tried:

I see this issue, but nothing.
I tried disable FirewallD, but nothing.
Run on Fedora 33, but it's the error.
Works on CentOS 8 (Linux 4.18 - systemd 239).
Works on Ubuntu 20.04 (Linux 5.4 - systemd 245).

Solved!!
I had misapplied the sysctl configuration. Looking at its documentation, it applies as follows:
sudo echo 'net.ipv4.conf.lxc*.rp_filter = 0' > /etc/sysctl.d/99-override_cilium_rp_filter.conf
sudo systemctl restart systemd-sysctl


Instruct user to tap untapped official tap when running its commands

This came up in https://github.com/Homebrew/homebrew-bundle/issues/1108 wherein a user had unwittingly untapped some official taps that get automatically tapped on first use and couldn't figure out why they couldn't use the associated command.
⚠ I'm not really sure how best to test this. I think I could add something here that runs an empty check, then untaps the homebrew/bundle tap, then checks for an error when it runs the empty check again.

[X] Have you followed the guidelines in our Contributing document?
[X] Have you checked to ensure there aren't other open Pull Requests for the same change?
[X] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

Review period will end on 2022-07-20 at 22:17:30 UTC.

Review period ended.

🎉


[Bugfix] Fix for whitespace rule requiring extra space in ImportType in TS 2.9

PR checklist

[x] Addresses an existing issue: #3987
[x] New feature, bugfix, or enhancement

[x] Includes tests

[ ] Documentation update

Overview of change:
Fixes the bug where the new ImportType syntax required extra spacing when whitespace rule was enabled.
Is there anything you'd like reviewers to focus on?

Beware, my first dive into TSLint and the AST. 😄
Might have overdone or missed the test cases
As this seems to be only relevant in TS 2.9 and above, not sure how you usually deal with cases like this if you want to support older TS versions?

I've done the first thing that came to mind and typecasted the SyntaxKind as any and let the ImportKind end up undefined to fail the check.
Is there an standard way on how this is handled usually?
I've extracted the tests for this to a file which is only ran on TS 2.9, I'm assuming that's fine as the syntax for this to work should get struck down by the TS compiler for users of the older TS anyway?

CHANGELOG.md entry:
[bugfix] whitespace rule no longer requires extra spaces with the TS 2.9 import type syntax

Hi @Tenga, just wanted to check if you have signed the CLA as that appears to be the remaining test left to pass. The cla-bot has been a little confused lately, so if you're unsure what the CLA is, I've copied its message from another PR:

Thanks for your interest in palantir/tslint, @Tenga! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

Hey @johnwiseheart. I'm aware of it, I'm just waiting for the go-ahead from my employer before signing. ⌚

@johnwiseheart CLA has been signed.

Looks like #4243 is the same as this PR but with the comment resolved (and great tests reflected). Thanks for sending this in @Tenga! Closing this now that #4243 went in, but still very much appreciated!

While I'm happy this fairly thin PR will finally be resolved, it leaves a bad taste in my mouth.
This PR has been, with my full understanding, sitting in the queue for months, with me waiting for feedback/advice on how you guys would like to resolve a style problem. The end result is merging a PR that openly rips 90% of the work from this PR, because it was hard to wait a couple of hours to amend this PR with a one-liner change?
¯\_(ツ)_/¯

@Tenga Thanks for the feedback. You're right, and I'm sorry for marginalizing your contribution here. I should have waited a few days before merging in the other PR.
For context on the sitting in the queue for months, TSLint hasn't had an active maintainer in those months, and I'm coming in now as a new maintainer to clean up the issues and PR queues. My goal here was to minimize the amount of pending work we have, but I went a bit overboard and didn't stop to think about this.
If you send another PR, I can promise the same thing won't happen twice.

@JoshuaKGoldberg Appreciate the response. 👍
If I encounter an opportunity to contribute again, I'll certainly do so.
Just to clarify as I probably should've probably phrased it better. I understand that OSS is hard. "Sitting in queue for months" was not meant to be a diss or dissatisfaction with that, just the understanding of the reality. (Contributing guidelines prepare you for that anyway. 😛)


Spaces in widget names break the server link

If widget is given a name with spaces, the respective server link
http://localhost:PORT/widgets/WIDGETNAME/widget.html
breaks.

Was fixed by removing spaces from the names.


Update default box to Ubuntu 16.04 (Xenial)

devstack commit 71640bf (Feb 26, 2017) removed support for Ubuntu 14 (Trusty).
This PR updates the default box to xenial and makes some extra configuration parameters available (vagrant_username, guest_interface_default and host_ip_iface) to continue to allow other distributions to be used.

Thank you for contributing to openstack-dev/devstack-vagrant!
openstack-dev/devstack-vagrant uses Gerrit for code review.
If you have never contributed to OpenStack before make sure you have read the
getting started documentation:
http://docs.openstack.org/infra/manual/developers.html#getting-started
Otherwise please visit
http://docs.openstack.org/infra/manual/developers.html#development-workflow
and follow the instructions there to upload your change to Gerrit.


drivers: gpio_emul: Fire callbacks for pins configured as input + output

Currently, if a GPIO is configured as both input and output, callbacks will not be fired when the output value changes because input pins are masked out. This means the output-wiring mechanism does not work as expected for these pins.
Change it to fire callbacks for all output pins instead. Only fire callbacks if they have not already been fired when triggering interrupt events, to prevent callbacks being fired twice for a single state change.

This causes the tests in tests/drivers/gpio/gpio_api_1pin/src/test_pin_interrupt.c to fail. They configure the pin as input + output, and check interrupts are only triggered when expected (e.g. on rising edge only). But with this change interrupts are triggered unconditionally every time the output value changes.
I'm not sure what the best fix is. It seems like a limitation of using the same callback mechanism to mock both interrupts and output-wiring. Ideally gpio_emul would be able to fire only interrupt callbacks or only output-wiring callbacks depending on the situation, but I don't think this is possible.

@rekanorman - in general, the change looks ok. Are you able to ensure all test cases pass with this change?
The bluetooth host / scancode issue is unrelated, so it shouldn't block this PR, but I would suggest rebasing prior to pushing again, in case someone else has fixed it already in main.

They configure the pin as input + output, and check interrupts are only triggered when expected

Is the test misconfigured or the change making it misbehave? The test is setting an edge with one of the GPIO_INT_EDGE_... flags, if those are failing it sounds like the emulation driver is not emulating those correctly (or the test is wrong I guess)

I think the test is valid, and the change causes incorrect behaviour in the following situation:

The pin is configured as input + output
It has an interrupt configured, e.g. GPIO_INT_EDGE_RISING
A falling edge occurs, e.g. via gpio_pin_set() -> ... -> gpio_emul_port_clear_bits_raw()
The previous behaviour of gpio_emul_port_clear_bits_raw() was:

gpio_emul_pend_interrupt() - doesn’t fire callbacks because it’s not a rising edge
gpio_fire_callbacks() - doesn’t fire callbacks because input pins are masked out

The behaviour with this change is:

gpio_emul_pend_interrupt() - doesn’t fire callbacks because it’s not a rising edge
gpio_fire_callbacks() - does fire callbacks since it’s an output pin
So the interrupt callback is fired, which is wrong since it’s not a rising edge

The problem is that firing callbacks is all-or-nothing. I think what we want is to fire output-wiring callbacks only in some cases (e.g. the one above), and interrupt callbacks only in others. But I'm not sure how to implement something like this.

The problem is that firing callbacks is all-or-nothing. I think what we want is to fire output-wiring callbacks only in some cases (e.g. the one above), and interrupt callbacks only in others. But I'm not sure how to implement something like this.

I see, that's a bit confusing though, why would there be an unconditional path that calls gpio_fire_callbacks regardless of the pin interrupt configuration? That does not feel right to me. @cfriedt are you familiar with this part of the driver?

They configure the pin as input + output, and check interrupts are only triggered when expected

Is the test misconfigured or the change making it misbehave? The test is setting an edge with one of the GPIO_INT_EDGE_... flags, if those are failing

I haven't looked into it in a long time. Is the emulation driver not running regularly in CI for those tests? It would need to be run regularly in order to properly catch regressions.
It was added in c313828eaf1bf336fa9686d97186d2bd0dc281df and it was definitely OK at that point.

it sounds like the emulation driver is not emulating those correctly (or the test is wrong I guess)

I would guess, since new functionality is being added here, there might be changes required in the test as well, to account for the desired emulation.

This causes the tests in tests/drivers/gpio/gpio_api_1pin/src/test_pin_interrupt.c to fail. They configure the pin as input + output, and check interrupts are only triggered when expected (e.g. on rising edge only). But with this change interrupts are triggered unconditionally every time the output value changes.

A quick grep shows that no specialized behaviour exists for the emulation driver currently under tests/drivers/gpio/gpio_api_1pin/.
It's possible that if the behaviour of the driver is being changed, the desired emulation behaviour might need to change in this test as well.

I'm not sure what the best fix is. It seems like a limitation of using the same callback mechanism to mock both interrupts and output-wiring.

That's kind of a design feature. It helps to ensure that that behavioural logic lives in one place and reduces the need for additional API calls. Feel free to make a separate PR if you would like to modify that though.

Ideally gpio_emul would be able to fire only interrupt callbacks or only output-wiring callbacks depending on the situation, but I don't think this is possible.

It's likely quite possible. That new functionality might need to be added in this PR though, if that is what is required.

why would there be an unconditional path that calls gpio_fire_callbacks regardless of the pin interrupt configuration?

Before this change, the code was:
	/* for output-wiring, so the user can take action based on output */
	gpio_fire_callbacks(&drv_data->callbacks, port, pins & ~get_input_pins(port));

I.e. input pins were masked out, so there was no issue with unexpected interrupts (but output-wiring callbacks were never called for input pins, which is the issue I'm trying to fix). So the issue with unexpected interrupts was introduced by this change, and I understand that it needs to be fixed before submitting this.
I'm just not sure what the best fix is. It seems like the driver needs some way to distinguish between interrupt callbacks and output-wiring callbacks, so it can fire only one or the other depending on the situation. But I'm not sure how to implement this using the gpio callback mechanism. E.g. I can't see a way to attach metadata like this to a callback. But I'm very new to zephyr, so it's possible I'm missing some obvious solution.

There's some logic I'm missing entirely from the emulated driver: a normal hardware gpio configured as output would normally just read its own output as input and fire up the interrupt regardless of the input configuration, but only if the interrupt functionality is enabled, so on the emulated driver I would expect the same code path for the interrupt logic on both setting a output value or setting an emulated input value, and that would involve calling gpio_emul_gen_interrupt_bits to mask out the pins that are not configured. So why there are gpio_fire_callbacks calls directly in any other functions? I think that those have to go.
I suppose that the problem is that I don't understand the for output-wiring, so the user can take action based on output comment, is that meant to be a testing only functionality built on top of the interrupt callback system?

is that meant to be a testing only functionality built on top of the interrupt callback system?

Yes. It can be used to emulate things like two pins being wired together in hardware. There's an example with a comment in tests/drivers/gpio/gpio_basic_api/src/gpio_emul_callback.c.
It's meant to be completely independent from interrupts. I.e. you can register an output-wiring callback regardless of whether the pin has an interrupt. But it reuses the same callback mechanism.

It's meant to be completely independent from interrupts. I.e. you can register an output-wiring callback regardless of whether the pin has an interrupt. But it reuses the same callback mechanism.

Ok, it feels to me like that should be a test driver specific callback independent from the interrupt one, would that make sense?

Yeah, I guess so. I wasn't sure whether the existing callback mechanism is only meant to be used for interrupts, or meant to be generic. I can't see anything in the comments in gpio.h which says it should only be used for interrupts. But skimming through a few non-emulated gpio drivers it looks like they all fire callbacks on interrupts only, so at least by convention it's being used that way.

Yeah the driver seems to be somewhat vague with the association of "callback" and "interrupt", never noticed it before and somewhat funny, what else would a GPIO controller use a callback for... :-)
So it looks like the emulated driver could use some refactoring.

Yeah. Realistically it might be a while before I have time to work on it. Should I just keep this open until then?
And thanks for your help :)

Yeah. Realistically it might be a while before I have time to work on it. Should I just keep this open until then?

Sure, whatever works for you.


[#1361] feat(netty): add netty metrics into reporter

What changes were proposed in this pull request?
add netty metrics into reporter
Why are the changes needed?
Fix: #1361
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Needn't

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (453e6d6) 53.27% compared to head (f11f838) 53.45%.

Files
Patch %
Lines

.../java/org/apache/uniffle/server/ShuffleServer.java
0.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1362      +/-   ##
============================================
+ Coverage     53.27%   53.45%   +0.18%
+ Complexity     2712     2182     -530
============================================
  Files           418      341      -77
  Lines         23913    15361    -8552
  Branches       2043     1426     -617
============================================
- Hits          12739     8211    -4528
+ Misses        10388     6687    -3701
+ Partials        786      463     -323

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


Svelte: More idiomatic "emit to parent"

You would usually not export callbacks, Svelte has its own way of dispatching custom events.
Also, the functions to set a flag are a waste of space and not required in Svelte either.

I used event dispatcher at first and then I merged this recent PR: https://github.com/matschik/component-party.dev/pull/170
Read the discussion and this comment: https://github.com/sveltejs/svelte/issues/2323#issuecomment-569954265
What do you think ?

This is the idiomatic way of dispatching events; it keeps data and events separate and conforms to how regular DOM events work.
(It also scales better as you only need one dispatcher for arbitrarily many events and additionally allows easy event forwarding.)

Since it conforms to how regular DOM events, I'm good with it.
Can you conform with how functions are declared like in other framework examples ? See React or Vue examples

You mean restore onAnswerNo/Yes?

Look at React, Vue examples

Functions are restored.


Add excluded-cache-file-patterns option to bazel-build-test.

This excludes files from the build cache. By default it excludes tar archives.
The idea is to avoid filling the Actions cache with large files that can be cheaply regenerated.

This change is


Fixes 'Logging in to Microsoft 365' documentation bug. Closes #1876

Fixes Logging in to Microsoft 365 documentation bug by removing the m365 alias from OpenSSL commands. Closes #1876

Merged manually. Thank you! 👏


build.log not fetched/displayed

https://github.com/ClangBuiltLinux/continuous-integration2/actions/runs/4527641306/jobs/7974728249#step:5:145  failed but did not print build.log.
https://storage.tuxsuite.com/public/clangbuiltlinux/continuous-integration2/builds/2NZv76Eis4NY8IEdQXmbhTNB59c/ should be the artifact for that build. Looks like it wasn't even fetched?

We only print build.log if errors_count or warnings_count is greater than 0, which you can see from the JSON print out is not true. We can just adjust that condition to include if the build failed.

I'm inclined to treat this as a tuxsuite issue then; if the linker prints an error, then tuxsuite needs to set that in the metadata.json.

https://gitlab.com/Linaro/tuxsuite/-/issues/188

The issue has been resolved upstream.


Update Dependencies

There are some dependencies that need to be updated, and also included.
When trying to run the code with what you suggested, knockout-composition is looking for aurelia-loader which is not installed as a primary dependency in my project (not installed as a dependency inside aurelia-knockout)

Thanks for finding this issue! I've added the three missing aurelia dependencies, so it should work now.
This was release in 0.2.1


Fix lint failures

In https://cloud.drone.io/packethost/boots/4/1/2 there are a set of failures in the lint step, which block automated testing of the code itself.

Builds at https://cloud.drone.io/tinkerbell/boots are now green, and pass lint. Closing.


How can I use  tag instead of creating image for my text?

If there any option for that?

You can use what ever tags you want for you text. Whats important is that its wrapped by a div, which will become the 3d target.

You can write some text here

Hmm., I try it in Chrome and FF my custom text is positioned outside of screen, and it seems that for div tags css attributes width and height need replace with top and left.

you would need to absolutely position your text in the center of the container


Add Online Extra Trees Regressor (OXT)

Our paper introducing OXT was just accepted for publication at IEEE Transactions on Neural Networks and Learning Systems in this special issue. It should be online soon 😃.
We say everything was done using River in the manuscript, so here it goes!

I will add the reference once the official version of the paper is online!
Also, some #TODOs in the code require running the complete River's test suite to discover how to proceed.

Congrats on the paper :)


New Data Source from ADS - Driver

New driver data source.

Might need to discuss driver additional context but load/unload and meta for things like signature will be needed, great addition


Add support for multiple exported functions

Fixes #405.
The major features of the PR are:

JS gets a new exports method that uses swc_core to parse the source code and identify both exported functions and named exports that are functions
javy-core's main.rs gets canonical_abi_realloc and javy.invoke functions (both are stripped out of the final module). The javy.invoke function uses JSContextRef's eval_module to import and invoke a provided JS function name.
The static Wasm generator's refine function adds a new export to the Wasm module for each exported JS function. This export loads the name of the JS function from a passive data segment into an allocated memory address and then calls javy.invoke.
javy-core's lib.rs gets an invoke function which both evaluates QuickJS bytecode and then imports and invokes a JS function. This is because the module is not available in the JS runtime in the provider module so it needs to be evaluated first.
The dynamic Wasm generator's generate function adds a new export to the Wasm module for each exported JS function. This export loads the bytecode into an allocated memory address and then loads the JS function name into a different allocated memory address and then calls invoke with both addresses.
A new optional CLI flag --wit is introduced to specify a WIT file describing the exports for the JS module
A new optional CLI flag -n is introduced to specify the name of the WIT world that describes the exports
The WIT file provided by --wit is parsed and the -n flag is used to identify the world to retrieve export definitions from. An error is returned if the JS module does not contain the export.

Switched to WIT to identify exports so we can validate they're not intending to return any values.

LGTM, should the version be updated to the next alpha?

I'll create a follow-up PR to update the minor version after this is merged.


hourly cron doesn't work

Affected Puppet, Ruby, OS and module versions/distributions

Puppet: 5.5
Ruby: 2.3.1
Distribution: ubuntu
Module version: 3.4

How to reproduce (e.g Puppet code you use)
Create config:
  logrotate::rule {
    'test_file':
      path         => "/tmp/test_file.log",
      rotate_every => hour,
      rotate       => 24,
      create       => false,
    ;
  }

What are you seeing
File /tmp/test_file.log not rotated.
Logrotate even does not take in account config file /etc/logrotate.d/hourly/test_file:
What behaviour did you expect instead
Logrotate see file "/etc/logrotate.d/hourly/test_file" and parse it.
Output log
Here output of logrotate:
logrotate -dvf /etc/logrotate.conf
reading config file /etc/logrotate.conf
including /etc/logrotate.d
...
Ignoring hourly because it's not a regular file.
...

Any additional information you'd like to impart
It happens because "include" directive include only regular files, not directories.
quote from man logrotate:

The only files which are ignored are files which are not regular files (such as directories and named pipes) ...

So, directory /etc/logrotate.d/hourly and files in it just not parsed by logrotate.
You need place hourly configs in directory /etc/logrotate.d.
OR you need include dir "/etc/logrotate.d/hourly" in logrotate.conf (add include /etc/logrotate.d/hourly in templates/etc/logrotate.conf.erb)

The module should have created an hourly cronjob to run the hourly log rotates.
Do you not have a /etc/cron.hourly/logrotate file?

Yes, i have this file. Problem on other side. Sorry, my bad.

@lexore No worries.  Glad I could help.


Remove merge button from cards and make a menu item.

when merging, prompt user for which resource they want to merge.

Note:

Need to more share to master into hamburger menu. Add multi-select for user to select which cards to share. Each card entry should show sync state such as needs merge or merge conflict.

Looks good to me. Tested with v2.1.0 build 66dd56e QA.
Merge button has been removed from cards and placed into hamburger menu. Listed as Merge my work. After user clicks it, a merge pop up window appears and user is able to select which cards to merge.

After user clicks submit to merge their desired mergeable resource or resources, a Cards Sync Feedback pop up appears showing sync state.


A question about cr.pl.gene_trends() of cellrank

Hello,
When I run Cellrank using my scRNA-seq data. I annotated the cell types manually. I want to look into marker gene expression trends using the command below.
cr.pl.gene_trends(
adata,
model=model,
data_key="MAGIC_imputed_data",
genes=['Procr','Hlf','Ccl9','Phf14','Itga2b','Fabp5','Ms4a2','Fcer1a', # Myeloid_BMCP
'Car1','Ces2g', # Myeloid_MEP
'Elane','Ms4a3','Ltf','Lrg1',  #Myeloid_Granulocytes
'Flt3','Bex6', #Lymphoid_LMPP,
'Ccl5','Il2rb', # Lymphoid_NK/T
'Cd74','Ppfia4', # Lymphoid_DC
'Cd79a','Ebf1', # Lymphoid_B
'Mllt3','Cd34', # HSC/MPP
'Gata1','Klf1','F2r', # MEP
'Plek', 'Hdc',#BMCP
'Igll1','Cd19' # B cells/NK/T/cells
],
same_plot=True,
ncols=2,
time_key="dpt_pseudotime",
hide_cells=True,
)
But I got these results.

I have a question:
why are the marker's expressions at the starting point all different?  Since the start point is the HSCs. shouldn't their expression levels be the same in all trajectories?
Your example pictures in the tutorials look better.

Is there something wrong with my cell type annotation?
...

Hi @liuyang218622, what's the model in your case?

model = cr.models.GAMR(adata)
At 2023-10-17 01:23:43, "Marius Lange" @.***> wrote:
Hi @liuyang218622, what's the model in your case?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @liuyang218622, I think this is a problem with either model convergence or very low fate probabilities for some trajectories towards their beginning. Please check the model API: https://cellrank.readthedocs.io/en/latest/api/_autosummary/models/cellrank.models.GAMR.html
In particular, the parameters n_knots and smoothing_penalty might be interesting to you.
Additionally, please explore the API description for cr.pl.gene_trends here: https://cellrank.readthedocs.io/en/latest/api/_autosummary/plotting/cellrank.pl.gene_trends.html
The parameter weight_threshold might be interesting, and I would suggest trying something like weight_threshold=(1e-3, 1e-3), as in our feature trend plotting tutorial: https://cellrank.readthedocs.io/en/latest/notebooks/tutorials/estimators/800_gene_trends.html

Finally, this might also be related to this issue here: https://github.com/theislab/cellrank/issues/1126

Thank you for your answer. I tried to adjust the parameters as you suggested.
For example, I used the command below to do analysis.
model = cr.models.GAMR(adata,n_knots=6,smoothing_penalty=6)
cr.pl.gene_trends(
adata,
model=model,
data_key="MAGIC_imputed_data",
genes=['Procr','Hlf','Ccl9','Phf14','Itga2b','Fabp5','Ms4a2','Fcer1a', # Myeloid_BMCP
'Car1','Ces2g', # Myeloid_MEP
'Elane','Ms4a3','Ltf','Lrg1',  #Myeloid_Granulocytes
'Flt3','Bex6', #Lymphoid_LMPP,
'Ccl5','Il2rb', # Lymphoid_NK/T
'Cd74','Ppfia4', # Lymphoid_DC
'Cd79a','Ebf1', # Lymphoid_B
'Mllt3','Cd34', # HSC/MPP
'Gata1','Klf1','F2r', # MEP
'Plek','Hdc',#BMCP
'Igll1','Cd19' # B cells/NK/T/cells
],
same_plot=True,
ncols=2,
time_key="dpt_pseudotime",
hide_cells=True,
weight_threshold=(1e-8, 1e-8)
)
But I can get a bit better results, But the start points are still different.

I saw in your tutorials(https://cellrank.readthedocs.io/en/latest/notebooks/tutorials/general/100_getting_started.html) you said . Is it associated with the HSC cells contribution to different trajectory?

of course, after I just the parameters following your suggestions. The results became better than befor. For example:
The picture below is before:

The picture below is after and it looks much better.

ok, did you play around with the weight threshold as well? Can you check for fate probabilities of your different trajectories towards the beginning of your pseudotime? I suppose that some trajectories have really low fate probabilities towards the beginning.

I used the command below and got these results.

What does the mean that some trajectories have really low fate probabilities towards the beginning? I defined the root as HSC manually. Is it mean maybe the root I set is not the "true" root of some trajectories ?

I calculated the first 10, 20 and 30 bins's average value

The cell number of granulocytes is highest among the five terminal status.

ok, it looks like the vast majority of early cells is predicted to become Granulocytes here. Especially in the first bin, average fate probabilities for Dendritic cells are below 1%. That means, there are almost no cells the algorithm can use to reliably draw gene expression trends for the Dendritic cell trajectory. You can resolve this by using the weight_threshold I hinted at above. You could start with weight_threshold=(1e-3, 1e-3) and increase both number if that's not enough. Essentially, that resolves the ambiguity among early cells to become Dentritic cells and should make early expresion trends (for early pseudotimes) more reliable.

Sorry, can I ask you another question? What does the expression on the ordinate of this graph mean? Is it log (normalization expression + 1)? Or is it the result after scaling?
Because I found in your example pictures of the tutorials(https://cellrank.readthedocs.io/en/latest/notebooks/tutorials/general/100_getting_started.html). We can see the negative value on the ordinate of the graph.
.
When I look into the expression trends of MEP marker genes. I found the expression trends of MEP marker genes are shorted   in KO and its expression level is lower in KO.

But when I look into the expression levels of these genes in MEP. I get the opposite results. adata.X is the scaled log(normalisation expression+1). The picture below's expression is log2(TPM+1). But I think anyway the tendency should be similar.

After I checked the data. I think the expression on the ordinate of the expression trends plot  is more likely the data from "MAGIC_imputed_data" ? am I right ?

the y-axis is the GAM-predicted gene expression, smoothed to each trajectory. Input to the GAM is typically imputed data as we assume Gaussian noise by default. In your case, it seems to be MAGIC imputed data.

I have another question.
For example, we found that the MEP marker genes in KO sample have shorter pesudotime and lower expression level

But when we look into the terminal status of KO and WT. We found that the MEP's terminal status in WT is not the same with KO. Why is it happen? Is this what makes the pesudotime and expression level different? Can I conclude that the MEP marker genes in KO samples displayed shorter pesudotime and lower expression level? After all, the MEP terminal status in KO and WT is different.


move pigment cell terms

GO:0050933 iridiphore differentiation and GO:0050936
xanthophore differentiation should be moved as children
of GO:0050931 pigment cell differentiation or
GO:0043358 pigment cell differentiation (sensu
vertebrata).  They should not be direct descendents of
melanocyte differentiation, as they are not
melanocytes.  They are vertebrate specfic, though.
Reported by: mellybelly
Original Ticket: "geneontology/ontology-requests/3173":https://sourceforge.net/p/geneontology/ontology-requests/3173

thanks www.movied.org


lib throws error with "Cannot read property 'isNative' of undefined"

For seemingly unknown causes, when running transpiled code (either through ts-node, or running the plain javascript after transpiling it with tsc) the code throws the error "Cannot read property 'isNative' of undefined."
The piece of code that looks to be the problem is inside source-map-support, as follows:
if (frame.isNative()) // Here sometimes "frame" is undefined

We're getting this issue too running node v14.17.6 and the following versions for source-maps:
    "source-map": {
      "version": "0.6.1",
      "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
      "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
      "dev": true
    },
    "source-map-support": {
      "version": "0.5.19",
      "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz",
      "integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==",
      "dev": true,
      "requires": {
        "buffer-from": "^1.0.0",
        "source-map": "^0.6.0"
      }
    },
    ```


Add a new keyword, recent

Add a new keyword like today, this_week, or this_month.

keyword: recent
shorthand: re

It specifies to enumerate the most recent notes in the repository.
The number of enumerated notes is 10 by default (like head command).

In the current version (0.4.19), commands those accept keywords are:

list
pick
show

All of those commands will accept recent after implementing this enhancement.

The implementation goes with 2 steps:

change the keyword expansion mechanism,
add a feature to limit the number of notes to enumerate.


Bug fix in ParLinearForm and changing integrator names

This PR addresses #2363

This PR is now under review (see the table in the PR description). To help with the review process, please do not force push to the branch.

Merged in next for testing...


Bugfixes

Cleaning up a bunch of minor things that coverity and cppcheck have been warning about.

I missed this earlier, and fixed all of these except the README change. The current build of master (and the tagged 1.6.1 release) passes Coverity cleanly.


data instead of just url for init

The DFUFirmware init only allows URLs to be passed in for the zip, hex and dat files.
This is really inconvenient and not the best interface for the API. It would be great if one could pass in Data objects instead.

Same goes for DFUStreamBin, DFUStreamHex and DFUStreamZip

Good idea. I'll look into it soon.

@tcurdt Could you check the PR?

I agree with some of the comments that @mostafaberg made - but they are no blockers. So...
Looking good to me. Thanks!


parsing should use h2 as separator

Compatible with GitBooks. Achieves goal of max readability.

closed as duplicate, other issue is more documented https://github.com/MatthewCaseres/githubbooks/issues/7


introduce static version of fetch()

Fixes #171.

Looks great, but I'd suggest add a good error message for the case of detached proxies.

Yeah, OK, NPE :-/

Pushed manually after adding error for closed session.