Make a dedicated search box

At present, search shares space with the stream description at the top of the message panel. This can make search hard to find, especially for new users. The lack of separation between the stream description and search can cause confusion.
In order to address this, we should create a dedicated search box, separate from the stream description.
Placement:

When the right-side buddy list panel is open, the search box should be placed just to the left of the gear menu.

Otherwise, the search box should be to the right of the stream description, taking up a portion of the space currently used by the description.

Behavior:
Clicking on the search box should make it expand to the left, similar to other apps (Discord, Mattermost). We should play around with how much the search box expands; perhaps it should take over the entire stream description area.
CZO thread

@zulipbot claim

One of the design constraints here that I don't think has been explicitly talked about here is that essentially, every view in zulip is a search... And so every narrow implies some content in the search box, the most common narrows would add stream:abc, stream:abc topic:xyz or pm-with:abc and would take a decent amount of space...
...but that text is only really relevant when you're about to start typing into the search box*, so, maybe if we show an empty search box and expand it in a way that shows the current filter, it might work. I'll look into how difficult it would be to implement (and maybe make a mock up if a working prototype ends up being too complicated).
*or if you're in a searching narrow.
@Morgannjaw I don't think this is a good issue for new contributors because (1) we're not clear on the design and (2) the code is a little involved and complicated by assumptions from message_view_header, so I'd recommend choosing a different issue.

ok @YashRE42  thank you

Here's kind of what I'm imagining, except the search box would first grow to the left to a certain point as text is entered and then the text would scroll, instead of the text scrolling right away.

If that looks okay, then we have a design to work towards. It'd probably take a while to implement correctly because of how things are currently structured is.

Yeah, this seems reasonable... Discord doesn't have the search box grow to the left (beyond the initial expansion), but it feels cramped.

By the way, we should also fix the fact the right edge of the auto-complete dropdown looks bad when there is long text in there. It'll come up more in the new layout. Should I file an issue for it?

Hi is this issue still open? I see the previous person dropped their assignment

Yeah, I'm working on it. (@zulipbot claim)
This one isn't easy because of the reasons mentioned above, I recommend looking through the "help wanted" and "good first issue" labels.

yes.

@zulipbot claim

@ailyas19776  I don't think this is a good issue for new contributors because (1) we're not clear on the design and (2) the code is a little involved and complicated by assumptions from message_view_header, so I'd recommend choosing a different issue.
It'll be better if I'm the one who ends up working on this.

@zulipbot abandon

@zulipbot claim

Closing in favor of https://github.com/zulip/zulip/issues/21798.


Update unit files for systemd

This iterates on the exemplary unit files for systemd. It does not add anything new to the Caddy binary itself.

 You should sign our Contributor License Agreement in order to get your pull request merged.

Cool, thanks!
I'm not sure I'd recommend auto-updating Caddy in production, though. Before 1.0, I'm not afraid to make breaking changes.

@mholt I'd also discourage auto-updating caddy in production as this may break your web sites without having you noticing.

These files have been, and still are examples. They cannot be complete.
One mentioned reason is Caddy's plugins, the other one is that<EMAIL_ADDRESS>is by no means practical in production, where you would go with something like<EMAIL_ADDRESS>or even with systemd socket activation.
They question hence is what we regard as »good enough«. To me these files have been a reference only.

@wmark I appreciate the reference, but I think we'd be sending the wrong message to include production auto-update scripts like this in the repo. People will use it without giving it enough thought.
Let's take that part out, then I'm good with merging the changes to the unit file (if @klingtnet is).

For sure, I didn't knew network-online.target, happy to learn something new :smiley:

Excellent. wmark@7a144acc4f86b1d20efe721d520931ca46725908 is pruned.

Thank you!


Clustering model option

Can you include a clustering model option in the experiment design?

This is included in the pull request 47


Pulsar function Should support Generic output Message

Is your feature request related to a problem? Please describe.
In the pulsar function, I don't want to define a particular class as O in
public interface Function<I, O> {     O process(I var1, Context var2) throws Exception; }
because I have a POJO class, but I always want to push a wrap class to wrap the POJO class as output. because the only different thing between this wrap class and the POJO class is wrap class always adds a JSON field to any of POJO class.
We can prodcue a Generic message with pulsar.client.api:
RecordSchemaBuilder recordSchemaBuilder = SchemaBuilder.record(USER_CONST.SCHEMA_NAME);         recordSchemaBuilder.field(USER_CONST.AGE).type(SchemaType.INT32);         recordSchemaBuilder.field(USER_CONST.NAME).type(SchemaType.STRING);         recordSchemaBuilder.field(USER_CONST.JSON_FOR_EVENT).type(SchemaType.STRING);         SchemaInfo schemaInfo = recordSchemaBuilder.build(SchemaType.AVRO);         GenericSchema userSchema = Schema.generic(schemaInfo);         Producer<GenericRecord> producer = pulsarClient.newProducer( userSchema)                 .topic(TOPIC_CONST.TOPIC_FUN_GENERIC)                 .create();         User user = new User();         user.age = 27;         user.name = "Simon Generic";         Gson gson = new Gson();         String jsonForEvent = gson.toJson(user);         GenericRecordBuilder genericRecordBuilder = userSchema.newRecordBuilder();         GenericRecord genericRecord = genericRecordBuilder                 .set(USER_CONST.AGE, user.age)                 .set(USER_CONST.NAME,user.name)                 .set(USER_CONST.JSON_FOR_EVENT, jsonForEvent)                 .build();
but, I am trying many ways to produce dynamic object into a pulsar, just like:
public class FunWrapGeneric implements Function<String, GenericRecord> {     @Override     public GenericRecord process(String input, Context context) throws Exception {
but I always got failed. Can we support this?
Describe the solution you'd like

Add GenericRecord support for pulsar function
public class FunWrapGeneric implements Function<String, GenericRecord>

or Add a generic Class
public class FunWrapGeneric implements Function<String, RecordWrap<T>> {  @Override  public RecordWrap<T> process(String input, Context context) throws Exception {
and interface RecordWrap
support add or reduce fields from T.

or Add an override of pulsar function want a Generic class as a parameter of pulsar function
FunWrapGeneric implements Function<String,Schema>

cc @sijie @codelipenghui

This is related to:
https://github.com/apache/pulsar/pull/9590
and to
https://github.com/apache/pulsar/pull/9481
I really would like to see this feature land soon.
I believe that the work at #9590 could be extended in order to add an integration test about this specific case

The issue had no activity for 30 days, mark with Stale label.

Move feature "request" to the discussion forum.


Side bar and top menus not in correct language

Languages are not loading as expected.
English pages work fine, both at https://docs.stacks.co/en and at https://docs.stacks.co
For Indonesian, viewable at https://docs.stacks.co/id:

Links on left sidebar DON'T work (they redirect to English)
Text is displayed CORRECTLY in Indonesian
Top menu bar is NOT TRANSLATED
Visiting https://docs.stacks.co from an ID browser DOESN'T redirect to docs.stacks.co/id.

For Spanish, viewable at https://docs.stacks.co/es:

Links on left sidebar DO work (they redirect to /es/ links)
Text is displayed INCORRECTLY in English (instead of Spanish)
Top menu bar is NOT TRANSLATED
Visiting https://docs.stacks.co from an ES browser DOES redirect to docs.stacks.co/es.

The difference behavior between both languages is because of this line of code of the file next.config.js.
Adding 'id' language to the next.config.js is done in PR #1387 ,  and makes the "id" language behave like the "es" but doesn't fix the problem entirely.
A possible part of the problem is that the 'en' is hardcoded in this line of code

Tagging @hstove to see if he can help with this one.

This issue will no longer be necessary if (1417)[(https://github.com/stacks-network/docs/issues/1417)] is completed instead

Closing as migration to Discosaurus makes this issue obsolete. .


Bug in models.MessagePassingNeuralNetwork regarding layers.Set2Set

Line 58 in mpnn.py:
self.readout = layers.Set2Set(feature_dim, num_s2s_step)

Whereas the initiation of Set2Set requires specification of type (line 166 in readout.py):
def __init__(self, input_dim, type="node", num_step=3, num_lstm_layer=1):
        super(Set2Set, self).__init__(type)
        self.input_dim = input_dim
        self.output_dim = self.input_dim * 2
        self.num_step = num_step
        self.lstm = nn.LSTM(input_dim * 2, input_dim, num_lstm_layer)
        self.softmax = Softmax(type)

Fix: Specify "node" for line 58 in mpnn.py.

Btw is there a way to automatically add "node_position" to PackedMolecule object given SMILES strings?

Thanks for reporting this bug. It has been fixed in ed17610.
For the second question, I think node_position cannot be inferred directly from SMILES strings.


[Bug] Cannot set language for android platform

Hi team,
I'm having trouble setting or changing the language. I checked everything in your guide, and it's fine. And iOS still works fine.
But for Android, nothing happens without any error or exception.
I run your example code, it's the same
If I put the setLanguage function after the init function, it throws an exception the first time I run the app like this screenshot and the floating button is not visible
await ZohoSalesIQ.setLanguage('vi');
// initialization successful
await ZohoSalesIQ.showLauncher(true);

And if I wrap the setLanguage function with unawaited or put it after showLauncher, it throws the same exception and shows the float button in English language
unawaited(ZohoSalesIQ.setLanguage('vi'));
// initialization successful
await ZohoSalesIQ.showLauncher(true);

Or if I remove the setLanguage function in the init function and put it in the Button widget, setLanguage also does not work with asynchronous or not
TextButton(
  onPressed: () {
    try {
      ZohoSalesIQ.setLanguage('vi');
      ZohoSalesIQ.show();
    } catch (e) {
      print(e.toString());
    }
  },
  child: const Text('Click to open Zoho SalesIQ'),
),

Here is the example code
import 'dart:async';
import 'dart:io' as io;

import 'package:flutter/material.dart';
import 'package:salesiq_mobilisten/salesiq_mobilisten.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
    initPlatformState();
    initMobilisten();
  }

  Future<void> initMobilisten() async {
    if (io.Platform.isIOS || io.Platform.isAndroid) {
      String appKey;
      String accessKey;
      if (io.Platform.isIOS) {
        appKey = 'INSERT_IOS_APP_KEY';
        accessKey = 'INSERT_IOS_ACCESS_KEY';
      } else {
        appKey = 'INSERT_ANDROID_APP_KEY';
        accessKey = 'INSERT_ANDROID_ACCESS_KEY';
      }
      await ZohoSalesIQ.init(appKey, accessKey).then((_) async {
        try {
          await ZohoSalesIQ.setLanguage('vi');
          // initialization successful
          await ZohoSalesIQ.showLauncher(true);
        } catch (e) {
          print(e.toString());
        }
      }).catchError((error) {
        // initialization failed
        print(error);
      });
      await ZohoSalesIQ.setThemeColorForiOS('#6d85fc');
    }
  }

  Future<void> initPlatformState() async {
    // If the widget was removed from the tree while the asynchronous platform
    // message was in flight, we want to discard the reply rather than calling
    // setState to update our non-existent appearance.
    if (!mounted) return;
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Example Application'),
        ),
        body: Center(
          child: TextButton(
            onPressed: () {
              try {
                ZohoSalesIQ.setLanguage('vi');
                ZohoSalesIQ.show();
              } catch (e) {
                print(e.toString());
              }
            },
            child: const Text('Click to open Zoho SalesIQ'),
          ),
        ),
      ),
    );
  }
}

I think it can be the same issue #6
Please help me check this problem.
Thank you!
Son.

Hi @lesonlhld ,
We have evaluated the same instances you've provided in the sample above. However, it is working fine from our side. To resolve this issue, please write us at (support@zohosalesiq.com). We will be happy to help you.
Thanks,
Bhahirathan M
Zoho SalesIQ


Toggle between name and acronyms in structure tree view

more complex version of this issue at #61 . To close this, it is sufficient for users to be able to see the structure names if they'd like to.


max_ranges safe value

NTS: bear in mind

Safari movie playback uses byte ranges
download managers

fixed in https://github.com/textpattern/server-config/commit/7377b2a060ddd7ab2a4d147cfba35b5c2f88f83b


support more type in postgres-extended

This PR does two things:

support INTERVAL && TIMESTAMPTZ type in postgres-extended
refactor run() in postgres-extended: use a macro to generate process

BTW, why would you want to format the time results instead of keeping it as-is? What's the motivation? 👀

Because for the time type(such as INTERVAL), there is more than one string format representing the same value.
Such as '31 days' and '1 mon', they have the same semantics.
So the easiest way to compare these is to declare a fixed format.
More detail: #93

there is more than one string format representing the same value

But maybe some users do want to depend on such behavior, and the db implementation want to respect the behavior? (😅

BTW this will make postgres and postgres-extended not compatible. i.e., some test cases will pass one but fail the another. Is this what you expect?

BTW this will make postgres and postgres-extended not compatible. i.e., some test cases will pass one but fail the another. Is this what you expect?

In risingwave, Postgres and Postgres-extended have different e2e tests now. So I think it's acceptable to make it not compatible now. After introducing the custom comparator, we can make it compatible I think. 🤔

After introducing the custom comparator, we can make it compatible I think.

Actually it's still not 100% "compatible". Specifically if it can pass postgres-extended, it can fail postgres https://github.com/risinglightdb/sqllogictest-rs/issues/93#issuecomment-1288110789 🤔
Maybe we need to completely switch to postgres-extended?

Maybe we need to completely switch to postgres-extended?

We can't completely switch to postgres-extended because there are some type can't support in postgres-extended such as multi-dimensional array and struct.

Ping me when you're ready to merge and release a new version.

Originally I think of rewriting all of SQL queries that output date time column, so that they won't directly appear in sqllogictest. e.g, to_char(interval '15h 2m 12s', 'HH24:MI:SS'). Anyway, this approach also LGTM.

I'm aware of actually we can use (...)::varchar eg: (interval '15h 2m 12s')::varchar  to convert any type into varchar type so that we can compare it with string.

I'm aware of actually we can use (...)::varchar eg: (interval '15h 2m 12s')::varchar to convert any type into varchar type so that we can compare it with string.

I use this way to convert theinterval timestamptztype to string. So now for these two types, Postgres and Postgres-extended are compatible. And I also do other additional work:

support array type of the supported single type
add a test file

@skyzh @xxchan

LGTM, merging now.


New Select Menu Types

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[x] Internal code
[x] Library interface (affecting end-user code)
[ ] Documentation
[ ] Other: _____

Closes Issue: #2280
Description
Adding support for the new select menu types
I hope it’s not too messy as this is my first time working with the internals of JDA :)

[x] Implement Channel Select Menus
[x] Implement User Select Menus
[x] Implement Role Select Menus
[ ] Implement Mentionable Select Menus
[ ] Implement Channel Select Menu Filters

I will add the remaining two select types in the morning as it's getting quite late.

We also may want to consider making an abstraction that represents all select types as there is a looooot of duplicate code here now.
Unclear if that'd paint us into a corner, but i think it's something worth considering.

I think the design I'd go for would be something like this:
SelectMenu
|- StringSelectMenu
\- EntitySelectMenu

And then have a factory method like EntitySelectMenu.create(customId, types) where types is an EnumSet<SelectType>. The enum would be the currently supported types:
enum SelectType {
  USER, ROLE, CHANNEL
}

Naturally, we will have to make a runtime exception if you try to do EnumSet.of(ROLE, CHANNEL), since that combination is not supported.

We also may want to consider making an abstraction that represents all select types as there is a looooot of duplicate code here now.
Unclear if that'd paint us into a corner, but i think it's something worth considering.

There's something there with the interaction events though, because atm the event just returns a string list of the selected types, which obviously wouldn't work for a channel select menu, since Discord returns a list of channel objects etc.

I think the design I'd go for would be something like this:

SelectMenu

|- StringSelectMenu

\- EntitySelectMenu

And then have a factory method like EntitySelectMenu.create(customId, types) where types is an EnumSet<SelectType>. The enum would be the currently supported types:

enum SelectType {

  USER, ROLE, CHANNEL

}

Naturally, we will have to make a runtime exception if you try to do EnumSet.of(ROLE, CHANNEL), since that combination is not supported.

This also looks like a great way of going about implementing this, but again how would the event work?

There would need to be some kind of new Mentionable class since the existing one also includes channels, which is not the case for selects.
There are channel selects. I don't understand.

There would need to be some kind of new Mentionable class since the existing one also includes channels, which is not the case for selects.

There are channel selects. I don't understand.

oh yeah nvm I'm stupid

I think the design I'd go for would be something like this:

SelectMenu

|- StringSelectMenu

\- EntitySelectMenu

And then have a factory method like EntitySelectMenu.create(customId, types) where types is an EnumSet<SelectType>. The enum would be the currently supported types:

enum SelectType {

  USER, ROLE, CHANNEL

}

Naturally, we will have to make a runtime exception if you try to do EnumSet.of(ROLE, CHANNEL), since that combination is not supported.

Should I implement this then?

Even without processing the event, I get this error when the user selects the user
dependencies {         implementation("com.github.seailz:JDA:feature~newselecttypes-SNAPSHOT") }

I think the design I'd go for would be something like this:
SelectMenu
|- StringSelectMenu
\- EntitySelectMenu

And then have a factory method like EntitySelectMenu.create(customId, types) where types is an EnumSet<SelectType>. The enum would be the currently supported types:
enum SelectType {
  USER, ROLE, CHANNEL
}

Naturally, we will have to make a runtime exception if you try to do EnumSet.of(ROLE, CHANNEL), since that combination is not supported.

I don't think the CHANNEL type should be put here, an EntitySelectMenu subclass would be needed for channels, as you can specify channel types, just like in slash command options

The new select menu components are defined similarly to the existing string select menu—with the exception of not including the options field and, within channel select menus, having the option to include a channel_types field.

I don't think the CHANNEL type should be put here, an EntitySelectMenu subclass would be needed for channels, as you can specify channel types, just like in slash command options

This is not a problem. We handle it the same way for OptionData by providing a setter for any type and throwing at runtime.

Even without processing the event, I get this error when the user selects the user
`dependencies {
    implementation("com.github.seailz:JDA:feature~newselecttypes-SNAPSHOT")

}`

This PR isn't even finished let alone ready for production. You shouldn't be using it in your project.

This could be a limitation of discord, but I don't see any way to limit what roles are selectable

Yeah, it's a limitation of discord.

Thank you for your efforts, however I already started my implementation before this PR was opened and would like to finish it there. Feel free to review or PR into #2287, there is still a bit in terms of documentation and testing that is needed for its completion. And I'm sorry for having to close this one, as it is unfortunately is not close enough to what I'm looking for.

Thank you for your efforts, however I already started my implementation before this PR was opened and would like to finish it there. Feel free to review or PR into #2287, there is still a bit in terms of documentation and testing that is needed for its completion. And I'm sorry for having to close this one, as it is unfortunately is not close enough to what I'm looking for.

Would of been nice if you could mention that before...

@seailz Sorry, I was hoping your implementation would end up as I intended. You were unfortunately too quick at opening this PR and I just didn't really have time to look into this until now.


refactor: Migrate EventDetailsFragment to use SafeArgs

Fixes #1198
Changes: Migrates the EventDetailsFragment to use Safe args instead of working with raw bundles. Arguments have been added to the navigation graph XML file, along with a more idiomatic Kotlin approach to creating argument bundles for related fragments. The delegate function navArgs has been used to retrieve the arguments for this fragment

Build is failing. Please do not use wildcard imports and revert unnecessary changes.

On it. Will update the PR in a few minutes.

@liveHarshit I've fixed the build issue. Please take a look and review when you can.

EDIT: Updated PR to rebase on latest upstream dev branch

Okay, It is right, we need to pass bundle after setting data to safe args. I apologize for the inconvenience.

No worries! The discussion helped me understand the Nav AAC better. Please give a final review to the PR and merge if everything looks okay 😊

Rebased on latest upstream/development branch changes.

@liveHarshit @iamareebjamal Can this be merged now? I am basing the branch to migrate entire project to safe args on this one, and if i submite that PR before this one gets merged then there will be some merge conflicts to solve.

Please wait for @iamareebjamal's reviews. I don't have the rights.

@nikit19 @iamareebjamal I've updated the PR to include the latest changes in upstream development branch. Please review when you can, and merge if everything looks good.

@iamareebjamal Can you please review this PR?

@iamareebjamal I have fixed all the problems you found in the codereview, and have updated the PR to rebase on current upstream dev branch.

@iamareebjamal Updated the PR again.


helper link redirection to 404 page

page address: http://www.scala-sbt.org/1.x/docs/Basic-Def.html
content: A build definition is defined in build.sbt, and it consists of a set of projects (of type Project). Because the term project can be ambiguous, we often call it a subproject in this guide.
problem: clicking on hyperlink of project leads to a 404 page

Related to @dec5e's efforts in https://github.com/sbt/website/pull/526 and https://github.com/sbt/sbt.github.com/pull/42

Continuing efforts to fix links in #530 😄

Fixed with #530, thanks to the tireless @dec5e :D


Thread stacksize not properly set

Did you have a case where stacksize still was thread_stacksize_current at this point? I would rather put an assert in the first if after stacksize has been updated as this shouldn't happen. A created HPX thread should always have one of the actual sizes (small, medium, ...), and a non-HPX thread should return the default which is the small stacksize at the moment.
Originally posted by @msimberg in https://github.com/STEllAR-GROUP/hpx/pull/4644

Reopening as a reminder to look at https://cdash.cscs.ch//testDetails.php?test=21992139&build=109075.


Not listed yet: www.suzuki.ro

The website at this url is unlisted: https://www.suzuki.ro/gaseste-cel-mai-apropiat-dealer/

This website is now in the support list and will be in the next release of the GCM web extension on addons.mozilla.org
Thanks!


Games from the Schoolforge database of Open Source programs

I took all the entries in the schoolforge database that include educational games in the category.  I updated any links that looked like they might be out-of-date.  Am attaching the results in CSV format as a text file.  Hopefully, it will upload to github.  If not, let me know and I an cut and paste the information.
sfgames.txt

Thanks, the file is accessible. I will include the games from there in the next days.

This one isn't from my Schoolforge list, but thought you might be interested in it too.  It's available from the Google Play store as OpenGemmy:  https://play.google.com/store/apps/details?id=org.opengemmy&hl=en_US  Source code is here:  https://bitbucket.org/vjaka/match3/src/master/  It uses lua and the love2d library, so it'll work on PCs as well.  Here's some information on how I got it running on my PC:  https://lmemsm.dreamwidth.org/16655.html  I also contacted one of the developers about the license for:  https://sourceforge.net/projects/bejeweled/  If you need a copy of what he sent me, let me know.

Since Schoolforge isn't active and I can't maintain the educational games list there, I've added this:  https://lmemsm.dreamwidth.org/15912.html

Thanks, I will check it within the next days.


Link broken

Hi,
The link:
http://metcalf1.bo.astro.it/blf-portal/data/GroundBasedTraining.tar.gz is broken. Do you have another link in which I can get the data for running your code. I'd appreciate a lot.

Sorry it took a while, the link has been updated, it is now: http://metcalf1.difa.unibo.it/blf-portal/gg_challenge.html


b.55  User->Logout gives error

On AWS I get
{
    "errors": [
        "arg4 must not be null"
    ]
}

Needs someone with perms on the IDP to fix the config.

now gives a full page from the token service


ansible task 'Generate kraken.provider.aws.tf file' fails for aws us-east-1

ansible task 'Generate kraken.provider.aws.tf file' fails with message as below. my configuration file is https://gist.github.com/gochist/346ab86bf7a3bad1b3b5a5f0ad985a68 . and my change from default config is https://gist.github.com/gochist/346ab86bf7a3bad1b3b5a5f0ad985a68/revisions . I used latest k2 docker image(sha:1176f4cb0372).
TASK [/kraken/ansible/roles/kraken.provider/kraken.provider.aws : Generate kraken.provider.aws.tf file] ***
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefinedVariable: 'None' has no attribute 'name'"}

PLAY RECAP *********************************************************************
localhost                  : ok=78   changed=3    unreachable=0    failed=1

I turned on verbose option.
TASK [/kraken/ansible/roles/kraken.provider/kraken.provider.aws : Generate kraken.provider.aws.tf file] ***
task path: /kraken/ansible/roles/kraken.provider/kraken.provider.aws/tasks/aws-template.yaml:20
fatal: [localhost]: FAILED! => {
    "changed": false,
    "failed": true,
    "invocation": {
        "module_args": {
            "dest": "/home/june/.kraken/kraken-june/kraken.provider.aws.tf",
            "src": "kraken.provider.aws.tf.jinja2"
        },
        "module_name": "template"
    },
    "msg": "AnsibleUndefinedVariable: 'None' has no attribute 'name'"
}

PLAY RECAP *********************************************************************
localhost                  : ok=78   changed=3    unreachable=0    failed=1

It works for this task with this default keypair name in config.yaml but when I changed the keypair name, it occurs this issue.

It seems better put entire config.yaml to check.
In my test it is possible to

change region
change keypair name

gah, that's a really poorly error message though.  I'll make a note in #49 to include better error messages for bad config setups.


[183] Issue #183 - April 22, 2021

To contribute to this issue, simply leave a comment here. Please also review our contributing guidelines.
The current draft for this issue in _drafts/. If you want to contribute directly, feel free to open a pull request.

SE-0306 (Second Review): Actors
https://forums.swift.org/t/se-0306-second-review-actors/47291

Pitch: non-static & non-generic attributes for protocols
https://forums.swift.org/t/pitch-non-static-non-generic-attributes-for-protocols/47280

[Pitch] Add indexed() and Collection conformances for enumerated() and zip(_:_:)
https://forums.swift.org/t/pitch-add-indexed-and-collection-conformances-for-enumerated-and-zip/47288

Syntax highlighting in lap is coming...
https://github.com/apple/sourcekit-lsp/pull/279

Make it Official: the “Undocumented/Private API” signifier
https://forums.swift.org/t/make-it-official-the-undocumented-private-api-signifier/47381

https://youtu.be/pSTU6UlA4uw

SE-0310: Effectful Read-only Properties
https://forums.swift.org/t/se-0310-effectful-read-only-properties/47401

[Returned for revision] SE-0305: Package Manager Binary Target Improvements
https://forums.swift.org/t/returned-for-revision-se-0305-package-manager-binary-target-improvements/47441

SE-0303 (2nd review): Package Manager Extensible Build Tools
https://forums.swift.org/t/se-0303-2nd-review-package-manager-extensible-build-tools/47438

Why is Dictionary[position:] not settable?
https://forums.swift.org/t/why-is-dictionary-position-not-settable/47435

Swift on the Server Workgroup meetings
https://forums.swift.org/t/march-17th-2021/47427
https://forums.swift.org/t/march-31st-2021/47404

https://github.com/apple/swift/pull/36940

https://github.com/apple/sourcekit-lsp/pull/388

Async/Await in swift NIO ?
https://github.com/apple/swift-nio/pull/1701

SE-0311: Task-local values
https://forums.swift.org/t/se-0311-task-local-values/47478

SE-0309: Unlock existential for all protocols
https://forums.swift.org/t/se-0309-unlock-existential-types-for-all-protocols/47515

https://twitter.com/towernter/status/1383815365520629760

SE-0309: Unlock existential types for all protocols
https://forums.swift.org/t/se-0309-unlock-existential-types-for-all-protocols/47515

https://github.com/swift-server/swift-backtrace/pull/42: Backtrace: enable support for Windows

https://holyswift.app/single-forward-pipe-operator-in-swift

https://developer.apple.com/documentation/xcode-release-notes/xcode-12_5-release-notes#Swift

https://forums.swift.org/t/swift-5-5-nightly-development-snapshots/47594


klee error: No module named 'distutils'

Describe the bug
Klee installation returns the following error:
...
-- Performing Test HAVE_C_FLAG_-fPIC
-- Performing Test HAVE_C_FLAG_-fPIC - Success
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'distutils'
CMake Error at bindings/python/stp/CMakeLists.txt:57 (message):
  Failed to determine python site package directory

-- Configuring incomplete, errors occurred!
error: builder for '/nix/store/p3n56bnf2y3sgxg0y2znn6dfjkkv0x5m-stp-2.3.3.drv' failed with exit code 1;
       last 10 log lines:
       > -- Performing Test HAVE_C_FLAG_-fPIC
       > -- Performing Test HAVE_C_FLAG_-fPIC - Success
       > Traceback (most recent call last):
       >   File "<string>", line 1, in <module>
       > ModuleNotFoundError: No module named 'distutils'
       > CMake Error at bindings/python/stp/CMakeLists.txt:57 (message):
       >   Failed to determine python site package directory
       >
       >
       > -- Configuring incomplete, errors occurred!
       For full logs, run 'nix log /nix/store/p3n56bnf2y3sgxg0y2znn6dfjkkv0x5m-stp-2.3.3.drv'.
error (ignored): error: cannot unlink '/tmp/nix-build-compiler-rt-libc-13.0.1.drv-0/build/source': Directory not empty
error: 1 dependencies of derivation '/nix/store/p787rj0mqb048aac3rcf5x30lvsghanq-klee-3.1.drv' failed to build

Steps To Reproduce
Steps to reproduce the behavior:

nix-shell -p klee

Notify maintainers

@numinit
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.37, Athena OS, 24.11 (Vicuna), 24.11pre652179.7e7c39ea35c5`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(root): `"home-manager, nixos, nixpkgs"`
 - nixpkgs: `/home/athena/.nix-defexpr/channels/nixpkgs`

Add a :+1: reaction to issues you find important.

Thanks for the report; looking into it.

Looks like a STP issue, @McSinyx any ideas?

@D3vil0p3r KLEE works on 24.05, try that in the meantime.

See also: #326296, #326120, and others. Seems like this is treewide.

It looks like there's an update to stp; I'll bump it after #327037 gets merged but those two changes should fix klee.


python39Packages.packaging: add tests, remove unused six

Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@ofborg eval

Can you please rebase correctly next time

Can you please rebase correctly next time

Yeah, I think I grabbed the wrong rebase onto command from my history... Sorry about that.


Can't add children's device

Describe the bug
I can't add my child's device because after ~15 seconds it throws an error on the child's device:
"LateInitializationError<EMAIL_ADDRESS>has not been initialized."
To Reproduce
Steps to reproduce the behavior:

Setup an account
Setup a parent's device, add a child
Try to setup the cild's device with the name and given code

Expected behavior
The child's device successfully registers and I can configure it.
Smartphone:

OS: Android
Versions: (Child: 13), (Parent: 14)

Screenshots

@Elwag  I have a few questions.
1- Did you mke sure you configured a Parent device before the Child?
2- Did you use the same device to register both.
3- Did you have a valid internet connection?
4- Did you use the same Email/Google account on both devices
5- Did you try from the apk provided or did you run the app locally. If yes, can I see the logs?

Duplicate of #251 Please refer to this thread


⚠ Bofrost.be has degraded performance

In a88f25b, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2506 ms

Resolved: Bofrost.be performance has improved in a9c6a0b.


harvester cluster goes into error state with temporary connection error when a local user is added as a cluster owner

Rancher Server Setup

Rancher version: v2.6-head 62c101a
Installation option (Docker install/Helm Chart): Docker install

If Helm Chart, Kubernetes Info: k3s
Cluster Type (RKE1, RKE2, k3s, EKS, etc):
Node Setup: 1 node
Version: v1.21.3

Proxy/Cert Details: self-signed

Information about the Cluster

Kubernetes version: v1.21.5+rke2r1
Cluster Type (Local/Downstream): Downstream infrastructure provider 3 worker, 1 etcd, 1 cp

Describe the bug
Harvester cluster goes into error state and revives back in a few minutes. Saw this happen when a local user with standard user permissions is added as a cluster owner in the cluster.
To Reproduce

created a standard user from global permissions on the rancher server from users & auth - user1
From the Virtualization management page --> harvester cluster --> RBAC --> added the created user as a Cluster Owner.
log in as user1

Result

When I tried to login as user1, the cluster went into a error state with the error displayed on the cluster and was inaccessible.

2021/10/06 19:12:38 [ERROR] error syncing 'c-m-fqrjnx4k': handler cluster-deploy: Get "https://<IP_ADDRESS>:443/apis/apps/v1/namespaces/cattle-system/daemonsets/cattle-node-agent": cluster agent disconnected, requeuing
2021/10/06 19:38:55 [ERROR] error syncing 'c-m-fqrjnx4k': handler cluster-deploy: Get "https://<IP_ADDRESS>:443/apis/apps/v1/namespaces/cattle-system/daemonsets/cattle-node-agent": net/http: TLS handshake timeout, requeuing

After some time 5 to 10 minutes, the cluster came back active.
Expected Result
Cluster not expected to go into error state.
Screenshots

Additional context
Once the cluster came back up active, as an admin created a new standard user and added them as Cluster member - role binding was created for the user as well as the cluster role
Logged in as that cluster member and the cluster didn't go into error state.

Verified fixed on master-f5bde7fa-head with Rancher v2.6-head. (744f32f)
This issue did not happen after several trials. Close this issue.
Result
With different user login, the downstream harvester cluster keep in active no error state show up.

Test Information

Test Environment: 3 nodes harvester on provo bare machines
Harvester version: master-f5bde7fa-head
Rancher version: v2.6-head
Kubernetes version: v1.21.5+rke2r1

Environment Preparation

Install harvester v2.6-head through docker command

Verify Steps

Environment preparation as above steps
Import harvester in rancher
Create user3 as standard user in user&authentication
Add user3 as cluster owner in harvester RBAC page
Login with user user3
Access the virtual machine page
Check harvester cluster state
Login with another user1 and user2
Check harvester cluster state
Repeat the previous step several times and check harvester state


Use cpg utils get batch 2

I've made a separate branch from @illusional 's <> following a particularly onerous rebase
This is an alternative to #496, and I probably should have tried a merge with main instead of a rebase for simplicity

Chaotique


Plugin stopped working after first use?

I installed this plugin and tested it by configuring a single keymap and testing it with a date.
I wrote out (2022/11/01) and observed that incrementing the 11 to 13 would instead roll the year around to (2023/01/01).
Eager at the success, I added the rest of the keymaps and tried them out, only to find out that the plugin had stopped working entirely.
Now when I manually run DialIncrement when my cursor is over the 11 in (2022/11/01), it simply increments the year to (2022/11/01) instead of the month to (2022/12/01).
My keybinds are defined as follows:
utility remap function (imported into map config file)

function M.nmap(lhs, rhs, opts)
    local options = {noremap = false}
    if opts then options = vim.tbl_extend('force', options, opts) end
    api.nvim_set_keymap('n', lhs, rhs, options)
end

vmap is also imported from this utility file
map configs here
nmap("<C-a>", "<Plug>(dial-increment)")
nmap("<C-x>", "<Plug>(dial-decrement)")
nmap("g<C-a>", "g<Plug>(dial-increment)")
nmap("g<C-x>", "g<Plug>(dial-decrement)")
vmap("<C-a>", "<Plug>(dial-increment)")
vmap("<C-x>", "<Plug>(dial-decrement)")
vmap("g<C-a>", "g<Plug>(dial-increment)")
vmap("g<C-x>", "g<Plug>(dial-decrement)")

Pressing Ctrl+a on a boolean, date, or other non-regular incrementable item simply does nothing. It seriously worked the first time I booted up neovim with the plugin installed!!

I can't figure out the cause with those information.
Can you reproduce it with a minimally configured vimrc?
One that does not use the package manager is preferred.

If it is difficult to create a reproducible minimum configuration, please share the code for the entire configuration file or a link to it (if you are publishing on GitHub or others).
Since I could not reproduce it with just the code already shared, I guess it is due to something else.

Sorry for the delay, here's my configs

Hmm, seemed to have fixed itself..


A small question about lambda

Hello, why do you use lambda here?Just be curious

This is so that when args.dump_epoch is true, the filename is generated again at each call, and therefore the index of the current epoch in the filename (given by xp.Epoch.value) is correctly updated

I get it. Thank you.


Fixes reference to AES128_GCM

There were a couple of places where AeadKeyTemplates.AES_128_GCM was mentioned. Replaced it with AeadKeyTemplates.AES128_GCM as it's the correct name of the constant.

Thanks for the fix!


Native App Issue: custom background

Provide a theme drop option where user can choose from either preset backgrounds or uploads his custom to background image and set it as background

Hey Taking up this issue !

Assign me please

Go Ahead @anjali1102
Fork the Native-Branch and push updates to it
Please keep that in mind.

@anjali1102 any updates on the issue??

Will give PR by today. Had little fever from past days so sorry for that

@abhijeet007rocks8 please assign me this issue

Done, surely give PR today. Had bad health from past days.

@anjali1102 any progress on the issue??

All done, Surely give PR by today. I had bad health from past days. Sorry for late😐

@abhijeet007rocks8 please assign this issue to me


8base last victim nto detected

LILI'S BROWNIES

Can you double check because I see it

I shoudl investigate more because it's present in the XML file :
<item>
<title>🏴☠ 8base has just published a new victim : LILI'S BROWNIES</title>
<link>https://www.ransomware.live/#/group/8base</link>
<description>Lili's Brownies is a company specializing since 1991 in the production of semi-finished products, cakes, cookies and cupcakes for catering establishments. The workshop, located in the beef stroganoff production area in Le Ulis (91), unites 30 employees around a project filled with meaning and sophistication. Lili's Brownies joined the Norac Group in 2017 to ensure its commercial implementation. lilisbrownies.fr</description>
<enclosure url="https://images.ransomware.live/screenshots/posts/94841d9581eaf670cfc8e80ea501f052.png" type="image/png" length="125474"/>
<guid>https://www.ransomware.live/#/group/8base?c1e98ae9ed3b4f44c5cf0c690965c9eb</guid>
<category>N/A</category>
<pubDate>Tue, 09 Jan 2024 00:00:00 +0000</pubDate>
</item>


make router.ts + normalize how we handle routes + queries etc

i've never seen vue-router used how it's currently setup... let's make it more standard.

introduce <router-view /> compeonent
add named router views for panels operating independently, like:

https://router.vuejs.org/guide/essentials/named-views.html#nested-named-views
https://codesandbox.io/s/nested-named-views-vue-router-4-examples-re9yl?initialpath=/settings/emails&file=/src/views/UserSettings.vue

@enceladus
what's the reasoning for search being part of the route instead of a query string?
name: 'full', path: '/:ledger/contract/:contractId/s/:query', component: App
i think router.resolve() is a helpful util we should leverage instead of the getNewRoute method in state.ts

[ ] make ability to minimize modular panels
[ ] highlight particular panel w hash # + mod-fund
[ ] share state thru url WITH modular panel settings in URL (share button generates url + copies to clipboard)

consider when modal=about2 returns a not real modal. close the modal in this case... + remove modal qs


[rpc] Disable batch transaction

Description
Disable rpc batch transaction in favor of the recently addedmultiGetTransactions and multiGetObjects
Test Plan

CI and verify that batch requests no longer works

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[x] user-visible impact
[x] breaking change for a client SDKs
[x] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes
Disable RPC Batch requests in favor of sui_multiGetTransactions and sui_multiGetObjects

@Jordan-Mysten good callout, I just removed that as well in my PR


The paper is missing from the evaluation record in https://paperswithcode.com/sota/atari-games-on-atari-2600-pong

Issue still there...


Replace memalloc / memfree by C++ new / delete

Signed-off-by: Stefan Weil<EMAIL_ADDRESS>

memfree is still used – without matching memalloc, so these calls of memfree should be replaced. This must be addressed in a separate pull request.


bump dekorate to 2.9.3

After reviewing these changes with @jacobdotcosta , we can't change the parent of the snowdrop examples, so we can't overwrite the dekorate version in these examples.
Therefore, I will discard (again) the idea of using these examples to cover Dekorate functionality. :(


VNext Web API bearer token authentication

I am sorry if this a repeat.
BUT there is not clear guidance on how to issue bearer token in Web API and use that to secure WEB APIs using Claims are Roles. This was possible in Web Api 2.1/2.2
Can any one share a link which explains the way this is going to work in future. Docs.asp.net does not talk about this yet.
Thanks & Regards,

I'm also interested in this topic. Especially in context with a pure Angular application without using MVC based controllers/pages at all.
All examples i found so far are somewhat outdated and also crazy over-engineered and complicated.

See here https://github.com/aspnet/Identity/issues/495

Yep dupe of 495


Improvement proposal

Hi,
With the current node implementation, siglip-so400m-patch14-384 is stored in cache\huggingface, which sometimes causes issues (multiple downloads, download interruptions ...).
Just like with https://github.com/Shakker-Labs/ComfyUI-IPAdapter-Flux, it is possible to have the Clip vision model siglip-so400m-patch14-384 stored in ComfyUI_windows_portable\ComfyUI\models\clip (this is the place where Joycaption 2 stores it, so it's possible to use the same model file for both Joycaption 2 and Flux IPAdapter)
For that, in the file nodes.py, you could replace :
@classmethod
def INPUT_TYPES(s):
    return {
        "required": {
            "ipadapter": (folder_paths.get_filename_list("ipadapter"),),
            "clip_vision": (["google/siglip-so400m-patch14-384"],),
            "provider": (["cuda", "cpu", "mps"],),
        }
    }

RETURN_TYPES = ("IP_ADAPTER_SD3_INSTANTX",)
RETURN_NAMES = ("ipadapter",)
FUNCTION = "load_model"
CATEGORY = "InstantXNodes"

def load_model(self, ipadapter, clip_vision, provider):
    logging.info("Loading InstantX IPAdapter SD3 model.")
    model = SD3IPAdapter(clip_vision, ipadapter, provider)
    return (model,)

with :
@classmethod
def INPUT_TYPES(s):
    return {
        "required": {
            "ipadapter": (folder_paths.get_filename_list("ipadapter"),),
            "provider": (["cuda", "cpu", "mps"],),
        }
    }

RETURN_TYPES = ("IP_ADAPTER_SD3_INSTANTX",)
RETURN_NAMES = ("ipadapter",)
FUNCTION = "load_model"
CATEGORY = "InstantXNodes"

def load_model(self, ipadapter, provider):
    logging.info("Loading InstantX IPAdapter SD3 model.")
    clip_path = os.path.join(folder_paths.models_dir, "clip", "siglip-so400m-patch14-384")
    model = SD3IPAdapter(clip_path, ipadapter, provider)
    return (model,)

That is to say :

suppress the line :  "clip_vision": (["google/siglip-so400m-patch14-384"],),
suppress clip_vision, in load_model
suppress clip_vision, in model
add the line  clip_path = os.path.join(folder_paths.models_dir, "clip", "siglip-so400m-patch14-384")
add clip_path, in model

Then users have to download the 9 files of the model : https://huggingface.co/google/siglip-so400m-patch14-384/tree/main
and put them in the following directory (for Comfyui portable) : ComfyUI_windows_portable\ComfyUI\models\clip\siglip-so400m-patch14-384

Then the node is as functional as the original node and won't use cache\huggingface anymore.
This topic is discussed here for ComfyUI-IPAdapter-Flux : https://github.com/Shakker-Labs/ComfyUI-IPAdapter-Flux/issues/46

I'm very against having users download entire repositories. I've decided instead to just use the siglip model that already has config/code in comfyui. The new example workflow shows how to do it.
It's not the same model as the one before, but it gives very similar results (I suspect that it actually is the same model, but just had some minor surgery on its weights).


"super" command already exists

I just wanted to let you know that the super command already exists. Although it is not installed by default, it is available from the Debian and Ubuntu repositories (and possibly other distros), from the package super. Here is its description:

Description: Execute commands setuid root
Super allows specified users to execute scripts (or other commands) as if they were root; or it can set the uid and/or gid on a per-command basis before executing the command.  It is intended to be a secure alternative to making scripts setuid root.

Consider renaming the executable to superhtml. Users who want a shorter command can easily create an alias in their favourite shell. One day, this software may get packaged for Debian, and the Debian maintainer may rename the executable for you to prevent conflicts, which may prove confusing to users following upstream documentation. This is just a suggestion, I won't be upset if you decide to keep the command name the same.

I actually renamed it to superhtml a while ago, forgot to update the example in the readme.

Ah great! I hadn't tried the command yet, so I didn't notice that.
The usage section in the README.md file still says super instead of superhtml, here:
$ superhtml
Usage: super COMMAND [OPTIONS]

I also noticed that the output of the superhtml command also has this problem in the latest release, so it's not just a problem in the documentation.

The last line of the README also seems to show some naming inconsistencies:

tail -f ~/.cache/super/super.log

I have ~/.cache/super/ and ~/.cache/superhtml.log after running superhtml v0.5.0.


upgrade to use node 14, replace deprecated new Buffer() by Buffer.from()

workflow-regression_1  |      TypeError: Cannot convert a Symbol value to a string
workflow-regression_1  |       at Socket. (node_modules/zone.js/dist/zone-node.js:1665:52)
workflow-regression_1  |       at enqueue (dgram.js:498:10)
workflow-regression_1  |       at Socket.send (dgram.js:633:5)
workflow-regression_1  |       at /opt/haven/app/node_modules/statsd-client/lib/EphemeralSocket.js:182:22
workflow-regression_1  |       at EphemeralSocket._createSocket (node_modules/statsd-client/lib/EphemeralSocket.js:106:16)
workflow-regression_1  |       at EphemeralSocket._send (node_modules/statsd-client/lib/EphemeralSocket.js:174:10)
workflow-regression_1  |       at EphemeralSocket._flushBuffer (node_modules/statsd-client/lib/EphemeralSocket.js:150:10)
workflow-regression_1  |       at EphemeralSocket._enqueue (node_modules/statsd-client/lib/EphemeralSocket.js:138:14)
workflow-regression_1  |       at EphemeralSocket.send (node_modules/statsd-client/lib/EphemeralSocket.js:161:14)
workflow-regression_1  |       at StatsDClient.counter (node_modules/statsd-client/lib/statsd-client.js:82:18)
workflow-regression_1  |       at StatsDClient.increment (node_modules/statsd-client/lib/statsd-client.js:91:10)
suggest code change, from:
EphemeralSocket.prototype._send = function _send(data) {
debug("_send(", data, ")");
// If we don't have a socket, or we have created one but it isn't
// ready yet, we need to enqueue data to send once the socket is ready.
var that = this;
this._createSocket(function () {
    that._socketUsed = true;

    // Create message
    var message = new Buffer(data);

    debug(message.toString());

    that._socket.send(message, 0, message.length, that._port, that._hostname);
});

};
to:
EphemeralSocket.prototype._send = function _send(data) {
debug("_send(", data, ")");
// If we don't have a socket, or we have created one but it isn't
// ready yet, we need to enqueue data to send once the socket is ready.
var that = this;
this._createSocket(function () {
    that._socketUsed = true;

    // Create message
    var message = Buffer.from(data);

    debug(message.toString());

    that._socket.send(message.toString(), 0, message.length, that._port, that._hostname);
});

};

@kevinhuang12345678, how about creating a pull request? It's much easier to understand and apply the change you're suggesting that way 🤗

@papandreou i do not have access to push my branch to create a pull request. :(

You can fork the repository to your own account using this button:

Then you can add the forked repository as a remote:
git remote add kevinhuang12345678 git@github.com:kevinhuang12345678/node-statsd-client

and then you can push your branch with the change to the fork (change HEAD to the branch name if it's not the current branch):
git push -u kevinhuang12345678 HEAD

Once that's done, you can create the pull request from your fork.

Fixed per #91


Merge pull request #47 from MicrosoftDocs/main

Merge content from main to live

Docs Build status updates of commit 4db0f15:
:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


fix(reporter): don't override windows icons if previously set

Closes #56
This will potentially fail due to coverage, I need to add more tests since overall coverage is being reduced  due to refactoring.

Coverage decreased (-2.1%) to 53.571% when pulling 2579298c1122c8ef0bb9a2b61c6828fa8538cfc0 on bugfix/regression-prefix-56 into 881d19f71e9d7444577332b778eed201a6b72934 on master.

@kayhadrin can you pull this down and verify it's working as intended?

Ok, I'll try this at work tomorrow!
On 20 May 2016 at 11:47, Tom M<EMAIL_ADDRESS>wrote:

@kayhadrin https://github.com/kayhadrin can you pull this down and
verify it's working as intended?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/mlex/karma-spec-reporter/pull/57#issuecomment-220658137

Hi @tmcgee123,
I tested it at work and it worked fine for me.
Example of my config in Karma:
specReporter: {
    suppressSkipped: true, // do not print information about skipped tests
    showSpecTiming: true, // print the time elapsed for each spec
    prefixes: {
        success: '[P] ',
        failure: '[F] ',
        pending: '* '
    }
},

Closing a #64 fixes this


Transparency not applying

Hi team,
I'm attempting to enable a transparent status line with the plugin turned on, but I can't seem to get it working.
I am using alacritty with transparency on:

With set -g @rose_pine_bar_bg_disable "on", the bar just turns to black.
Here's my tmux config: https://gist.github.com/haydenrou/071ed660c7648fc80a8dabb8c9dfda25 (I noticed I spelt pine wrong somewhere in there and fixed that)
I've tried playing around with the options quite a bit, and without the plugin activated, it is transparent.

I'd recommend, as tmux reads the file sequentially, that you put the plugin optons after the plugin definition, like this (just a snippet of how the end of the config file you linked should be):
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'

set -g @plugin 'rose-pine/tmux'

set -g @rose_pine_variant 'moon'

# ### Theming Settings ###
# # set -g @rose_pine_date_time '' # It accepts the date UNIX command format (man date for info)
set -g @rose_pine_user 'on' # Turn on the username component in the statusbar
# set -g @rose_pine_bar_bg_disable 'on'
# # If set to 'on', disables background color, for transparent terminal emulators
set -g @rose_pine_bar_bg_disabled_color_option '0'
# # If @rose_pine_bar_bg_disable is set to 'on', uses the provided value to set the background color
set -g @rose_pine_bar_bg_disable "on"
# # It can be any of the on tmux (named colors, 256-color set, `default` or hex colors)
# # See more on http://man.openbsd.org/OpenBSD-current/man1/tmux.1#STYLES

set -g @rose_pine_disable_active_window_menu 'on' # Disables the menu that shows the active window on the left
set -g @rose_pine_show_current_program 'on' # Forces tmux to show the current running program as window name
set -g @rose_pine_show_pane_directory 'on' # Forces tmux to show the current directory as window name
set -g @rose_pine_session_icon '' # Changes the default icon to the left of the session name
set -g @rose_pine_current_window_icon '' # Changes the default icon to the left of the active window name
set -g @rose_pine_folder_icon '' # Changes the default icon to the left of the current directory folder
set -g @rose_pine_username_icon ' ' # Changes the default icon to the right of the hostname
set -g @rose_pine_date_time_icon '󰃰' # Changes the default icon to the right of the date module
set -g @rose_pine_window_status_separator "  " # Changes the default icon that appears between window names

set-option -g status-style bg=default

# turn on vi mode by pressing prefix-[
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run -b '~/.tmux/plugins/tpm/tpm'

It's a matter of load order :)

I tried that with the same result unfortunately (updated the gist for clarification)

Welp, then we are at a crossroad. I have tested with your config file (excluding the zsh line because I use bash), entering and exiting multiple times from tmux, and the background of the bar is not there :)
Can you tell me the version of tmux you're using?

Hmm, that's so strange!
I'm running tmux 3.3a .
I'll keep debugging and see

I finally figured this out and it really reminded me I should just delve into the source-code more often.
As stated here the @rose_pine_bar_bg_disabled_color_option is used to set the bg color. The default in the README docs is 0 seemingly for transparency, and I when I tried changing this to another random number (i.e. 123) I got an initialization method - so I didn't think to look any further.
After trying a plethora of different things, I figured that I could just set this to default. This provides the same functionality as setting set-option -g status-style bg=default, but within the plugin.
I'm still not sure why adding set-option -g status-style bg=default below didn't work, but setting it manually through Ctrl-b+:set-option -g status-style bg=default did. Perhaps it's how TPM loads plugins.
@mrs4ndman Is there a reason the docs specifies using 0 as the default value for @rose_pine_bar_bg_disabled_color_option? I'm assuming so - but regardless, think a PR to add details to the docs and clarify transparency could be useful, if you don't mind me submitting that (mainly just to state that default is a valid option for transparency here). I can change the 0 too, if necessary (but I assume 0 is for a reason).


Add some Issue automation

We should have issues posted on this repo dropped onto the Developer Relations board for triage -- for example, as we do with templates and examples.

Fixed for zephyr-infra via https://github.com/pulumi/zephyr-infra/pull/1
Fixed for zephyr-k8s via https://github.com/pulumi/zephyr-k8s/pull/2
Fixed for zephyr-app via https://github.com/pulumi/zephyr-app/pull/27


Format of recipes.txt?

I want to save my own recipes in the txt file, like it is mentioned in the help and in the example recipes.txt.  But the recipes do not appear in the drop down list. I have seen the recipes.txt has a unix format. I have uncommented some recipes there, but it does not work. Maybe the format has changed? I would be nice if the comment line above the recipe would appear as the recipe name within the GUI.

Uhm, the newlines shouldn't matter.
The example file has unix newlines because I develop on Linux, but it should work with either.
Be sure you are creating it in the same folder as the exe, and that you have permissions to read it.
Failing that, attach it to this issue and I'll try to take a look.
I'm sorry but importing comments as names would require substantial work, you are welcome to send a patch, but I won't code it myself.

The folder is readable . If you take your recipes.txt from the precompiled download and uncomment a recipe, then it appears in the drop down list? Under what name?

Ah, there is a bit of confusion here.
Custom recipes are treated the same as normal recipes, so if you add, let's say, (o+o), you'll find it together with the other orange combines, so under Orange combine (or Leech combine if you changed the option) you'll find a recipe of length 2 and growth 0.46.
If you add a recipe that is already pre-included, you won't see any change, as the engine discards duplicated recipes.

Ah, thats the problem. I always looked in the spec/combine dropdown box for a "custom" entry (or similar name) when I edited the recipe.txt. It works now. Thanks :)


[FIX] #6 z-index issue with table panel and source code dialog

does not work with code of this pull, need to search solution again:
https://github.com/christiaan/tinymce-codemirror/pull/12


Cannot connect to twincat

Hi,
Im getting an unhandled rejection while trying to initiate connection to the PLC. Maybe someone can point to the silly mistake....
Unhandled Rejection (TypeError): net.Socket is not a constructor
client.connect()
| ^  24 |     .then(res => {
25 |         console.log(Connected to the ${res.targetAmsNetId})
26 |         console.log(Router assigned us AmsNetId ${res.localAmsNetId} and port ${res.localAdsPort})
I'm using node version 14.16.1

The problem was of course that i ran the code on the browser :)


isDataEqual arguments are of type unknown

Describe the bug
The isDataEqual function of the useQuery configuration object is currently defined as follows:
isDataEqual: (oldData: unknown, newData: unknown) => boolean;

while I expected oldData and newData to be of type TResult:
isDataEqual: (oldData: TResult, newData: TResult) => boolean;

Maybe there is a reason for those arguments to be of type unknown, but if isDataEqual is invoked only when the data has been correctly fetched, then they should be typed as TResult.
To Reproduce
Steps to reproduce the behavior:

Assign a custom comparator function for isDataEqual property of the useQuery hook
TypeScript says oldData and newData arguments are of type unknown, forcing the user to explicitly write type assertions:

useQuery(key, fetcher, {
    isDataEqual: (oldData, newData) => customDeepEqualityChecker(
        oldData as ApiResponseType, newData as ApiResponseType
    )
  }
);

Expected behavior
isDataEqual arguments are of type TResult.
Desktop (please complete the following information):

OS: macOS Big Sur Beta
Browser: Chrome
Version: 86

TypeScript says oldData and newData arguments are of type unknown, forcing the user to explicitly write type assertions:

I think you can narrow the type like this as well to avoid the cast:
useQuery(key, fetcher, {
    isDataEqual: (oldData: ApiResponseType, newData: ApiResponseType) => customDeepEqualityChecker(
        oldData, newData
    )
  }
);

but yeah, it's effectively the same...

Maybe there is a reason for those arguments to be of type unknown, but if isDataEqual is invoked only when the data has been correctly fetched, then they should be typed as TResult.

internally, I think oldData is of type TResult | undefined, because on the first run, it will be undefined, so I think the correct signature would be:
isDataEqual?: (oldData: TResult | undefined, newData: TResult) => boolean

@boschni what do you think?

The first time the data is fetched there is no reason to call isDataEqual, so there is no need for oldData to be typed as TResult | undefined.

@dennismorello I think you could call queryCache.setQueryData before creating an observer, or prefetching also comes to mind.

there is no reason to call isDataEqual

We could check if both prevData and data are undefined and then omit the call, but I think it’s also fine to handle that inside of isDataEqual.

@TkDodo that is not the point of the issue 🤓 Don't get me wrong, but I expect isDataEqual to be called after each successful subsequent refetch to prevent the data property returned by useQuery from changing if the new data has the same value as the last result (by some logic).
That said, I would ask @tannerlinsley if

am I right on what isDataEqual is meant for?
if so, does it make sense to type its arguments as TResult?

For instance, SWR accepts a compare function defined as follows:

Moreover, I see from the react-query documentation that there is not a default compare function for isDataEqual (it is up to the user to opt-in this feature).


Revert accidental breaking change / (HOTFIX - IMMEDIATE RELEASE)

Ultimate problem:
#123 broke lifecycle methods where internal.component was null when being referenced. (See #124 for more context)
How it was fixed:
Revert.

FYA: @jacehensley-wf @greglittlefield-wf @clairesarsam-wf
FYI: @johncblandii @bencampbell-wf @trentgrover-wf

+1


[SPARK-36159][BUILD] Replace 'python' to 'python3' in dev/test-dependencies.sh

What changes were proposed in this pull request?
This PR is a followup of https://github.com/apache/spark/pull/26330. There is the last place to fix in dev/test-dependencies.sh
Why are the changes needed?
To stick to Python 3 instead of using Python 2 mistakenly.
Does this PR introduce any user-facing change?
No, dev-only.
How was this patch tested?
Manually tested.

Test build #141077 has started for PR 33368 at commit 81ac978.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45591/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45591/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/45591/

Test build #141077 has finished for PR 33368 at commit 81ac978.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141077/

Retest this please

Thank you, @HyukjinKwon .


Allow and ignore parsing optional field tags

Closes #252
Added rules to ignore custom field tags.

I'm unsure why the tests are failing. I couldn't get the travis-ci to show the logs on both my fork and this build. Anyway to remedy this @lxyu?

Ref: https://github.com/apache/thrift/pull/128

Working on this.

Thanks for working on this @hit9


Unable to run the sample document and the kernel fails to show on Jupyter lab or VS Code.

The kernel fails to load on both Jupyter Lab and VS Code on Windows 10. I tried installing gnuplot_kernel using pip and used the python command to register the kernel but it still desn't work.

If the kernel is not listed, verify that the following point to the same version of python:
where python
where jupyter

Thank you.


Support go's Mach-O dwarf compression

Go writes its dwarf sections with a somewhat bespoke format inspired by the GNU format with the ZLIB header. See: https://github.com/golang/go/blob/45446c867a3ffdf893bdfd1e1ef9e30166eaa157/src/debug/macho/file.go#L623-L645
One can manually work around this, but it'd be convenient for the implementation of ObjectSection for MachOSection to do it for users here: https://github.com/gimli-rs/object/blob/7b58f789730de9716335b7fe496e3864d57b1594/src/read/macho/section.rs#L165-L173

Does that mean none of the standard Mach-O system tools are able to parse these DWARF sections, only the go tools? e.g. does llvm support this at all?
I know little about go. Is it possible for me to create a Mach-O file containing these sections using a linux system?

Does that mean none of the standard Mach-O system tools are able to parse these DWARF sections, only the go tools? e.g. does llvm support this at all?

The llvm tools do not seem to work, no. Just the go tools seem to work.

I know little about go. Is it possible for me to create a Mach-O file containing these sections using a linux system?

Yes, you can. Go can natively cross compile. Consider:
package main

import "fmt"

func main() {
    fmt.Println("Hello world!")
}

GOOS=darwin go build -o main ./main.go
This will build a Mach-O file that can run on a mac from a linux machine.

There's actually two annoying things you'll notice about these binaries, and it's not the one I mention here that you'll likely hit first:

They have different names for the debug sections: namely they don't have a . and they do have an __z (or sometimes apparently just __ prefix according to go code).

llvm-objdump  --section-header main

main

Sections:
Idx Name             Size     VMA              Type
  0 __text           003ef5d0<PHONE_NUMBER>001000 TEXT
  1 __symbol_stub1   00000540<PHONE_NUMBER>3f05e0 TEXT
  2 __rodata         000beff6<PHONE_NUMBER>3f0b20 DATA
  3 __rodata         0010d308<PHONE_NUMBER>4b0000 DATA
  4 __typelink       000036fc<PHONE_NUMBER>5bd320 DATA
  5 __itablink       00001340<PHONE_NUMBER>5c0a20 DATA
  6 __gosymtab       00000000<PHONE_NUMBER>5c1d60 DATA
  7 __gopclntab      0029d7a0<PHONE_NUMBER>5c1d60 DATA
  8 __go_buildinfo   000004b0<PHONE_NUMBER>860000 DATA
  9 __nl_symbol_ptr  00000380<PHONE_NUMBER>8604b0 DATA
 10 __noptrdata      0003f9b8<PHONE_NUMBER>860840 DATA
 11 __data           00012b90<PHONE_NUMBER>8a0200 DATA
 12 __bss            00038640<PHONE_NUMBER>8b2da0 BSS
 13 __noptrbss       00006a90<PHONE_NUMBER>8eb3e0 BSS
 14 __zdebug_abbrev  00000129<PHONE_NUMBER>8f4000 DATA, DEBUG
 15 __zdebug_line    0009a3b7<PHONE_NUMBER>8f4129 DATA, DEBUG
 16 __zdebug_frame   00028966<PHONE_NUMBER>98e4e0 DATA, DEBUG
 17 __debug_gdb_scri 00000018<PHONE_NUMBER>9b6e46 DATA, DEBUG
 18 __zdebug_info    0013525c<PHONE_NUMBER>9b6e5e DATA, DEBUG
 19 __zdebug_loc     000dd489<PHONE_NUMBER>aec0ba DATA, DEBUG
 20 __zdebug_ranges  00030a61<PHONE_NUMBER>bc9543 DATA, DEBUG

The above compression thing.

I have code to deal with both, and the code described in this issue is really the more straightforward one. The first one applies more to the gimli crate than the object crate.
If you'd talk me through the testing you'd like to see, I'd be happy to send a patch for this.

We do already handle the '__'prefix. And we already handle a .z prefix for compressed ELF. So combining those two to support compressed Mach-O sections sounds reasonable.
For testing, ELF currently tests this by generating its own files. However, a better test is probably to add a file to https://github.com/gimli-rs/object-testfiles/tree/master/macho and then add something in tests/read/macho.rs that checks that Object::section_by_name and ObjectSection::compressed_data give the expected results. Also manually test that gimli's dwarfdump works as expected.


Would like to detect when cell becomes fully expanded.

I'm using a cell that is expandable.
I'd like to change the text of a button when the cell has fully expanded.
I've looked at:
func swipeTableCell(cell: MGSwipeTableCell!, didChangeSwipeState state: MGSwipeState, gestureIsActive: Bool)
but it only seems to be called at the beginning of the cell expansion.
I can't use a timer because the user may swipe a small way along before doing the action to expand the cell.
Any suggestions gratefully accepted.

I'm using a cell that is expandable.
I'd like to change the text of a button when the cell has fully expanded.
I've looked at:     func swipeTableCell(cell: MGSwipeTableCell!, didChangeSwipeState state: MGSwipeState, gestureIsActive: Bool) {
but it only seems to be called at the beginning of the cell expansion.
I can't use a timer because the user may swipe a small way along before doing the action to expand the cell.
Any suggestions gratefully accepted.

Hello, you can override the following method in your MGSwipeTableCell subclass:
-(void) setSwipeOffset:(CGFloat)offset
{
    [super setSwipeOffset:offset];
    if (!self.leftButtons.count) {
        return;
    }
    UIButton * button = [self.leftButtons objectAtIndex:0];
    NSString * text = @"Delete";
    if (offset > self.bounds.size.width * 0.8) {
        text = @"Yehaa";
    }
    if (button.titleLabel.text != text) {
        button.titleLabel.text = text;
    }
}

Many thanks - will give it a try.

Thanks, that worked!


Runtime error: CUDA out of memory

I feel like I've jumped through so many hoops (not being a programmer or having experience) and I finally feel I'm at the last stage and says some memory issue on startup. I have 16gb ram GTX 1650ti I don't understand can anyone help? This is the log of when I run the final command:

Loading model from models/ldm/stable-diffusion-v1/model.ckpt
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
Traceback (most recent call last):
File "C:\Users\PoopF\stable-diffusion\scripts\dream.py", line 633, in
main()
File "C:\Users\PoopF\stable-diffusion\scripts\dream.py", line 92, in main
t2i.load_model()
File "c:\users\poopf\stable-diffusion\ldm\simplet2i.py", line 592, in load_model
model = self._load_model_from_config(config, self.weights)
File "c:\users\poopf\stable-diffusion\ldm\simplet2i.py", line 666, in _load_model_from_config
model.to(self.device)
File "C:\Users\PoopF.virtualenvs\ldm\lib\site-packages\pytorch_lightning\core\mixins\device_dtype_mixin.py", line 109
, in to
return super().to(*args, **kwargs)
File "C:\Users\PoopF.virtualenvs\ldm\lib\site-packages\torch\nn\modules\module.py", line 907, in to
return self._apply(convert)
File "C:\Users\PoopF.virtualenvs\ldm\lib\site-packages\torch\nn\modules\module.py", line 578, in _apply
module._apply(fn)
File "C:\Users\PoopF.virtualenvs\ldm\lib\site-packages\torch\nn\modules\module.py", line 578, in _apply
module._apply(fn)
File "C:\Users\PoopF.virtualenvs\ldm\lib\site-packages\torch\nn\modules\module.py", line 578, in _apply
module._apply(fn)
[Previous line repeated 6 more times]
File "C:\Users\PoopF.virtualenvs\ldm\lib\site-packages\torch\nn\modules\module.py", line 601, in apply
param_applied = fn(param)
File "C:\Users\PoopF.virtualenvs\ldm\lib\site-packages\torch\nn\modules\module.py", line 905, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
RuntimeError: CUDA out of memory. Tried to allocate 2.00 MiB (GPU 0; 4.00 GiB total capacity; 3.19 GiB already allocated
; 1.70 MiB free; 3.24 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split
size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

Can anybody help solve this problem? Also weirdly it says 4.00 GiB total capacity but checking in settings I have 16.

You're right - this crash is happening just before the system finishes loading the machine learning model and before it accepts its first generation command. Do you by any chance have multiple GPU devices in your system? It may be that the underlying torch library is picking the wrong one. The output of the command. "nvidia-smi" will help debug this.

I have the same problem, this is the output from nvidia-smi:
(ldm) C:\Users\matte\local_work\stable-diffusion>nvidia-smi
Mon Sep  5 13:41:38 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 512.72       Driver Version: 512.72       CUDA Version: 11.6     |
|-------------------------------+----------------------+----------------------+
| GPU  Name            TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ... WDDM  | 00000000:01:00.0 Off |                  N/A |
| N/A   61C    P8     6W /  N/A |      0MiB /  4096MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

I don't think I have multiple GPU's although it's a gaming laptop I'm not sure. This is what I got from the output
`| NVIDIA-SMI 457.63       Driver Version: 457.63       CUDA Version: 11.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name            TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce GTX 165... WDDM  | 00000000:01:00.0 Off |                  N/A |
| N/A   39C    P8     6W /  N/A |    134MiB /  4096MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+`

Thanks for the help by the way. I'm not great with code and this kind of stuff, but this technology is too interesting not to try to learn!

nvidia-smi is indicating that both of you have GPUs with 4 GB of memory (the key value is "4096MiB" in the second row) . This is below what is needed to run this fork of stable diffusion. So what to do next?

If your GPUs really do have more than 4GB, then this is a driver bug and you need to do an update of the nvidia drivers on your system.
You could try one of the other forks that have implemented aggressive memory optimization. The most widely used one is https://github.com/basujindal/stable-diffusion
You might be able to get this fork running on a 4GB card if you reduce your graphical requirements by closing windows and other running applications that use the GPU.

Let me know what you find out and post back here.

fantastic, thank you for the support. I apologise I didn't understand that 6 GB was the minimum requirement! I am trying now with the build you suggested and it is working!

@ArtificialHuman007;

in settings I have 16

It's possible that this is a "shared video memory" number, which is not useful for this kind of work (as mentioned, the output from nvidia-smi is the "real" number).

Hi, I know I may sound stupid, but I really do think I have more than 4GB, I made sure to specify that I would have 16 before purchase. When I run    & "C:\Program Files\Git\usr\bin\winpty.exe" python scripts\dream.py    task manager shows that the terminal starts using over 10,000MB memory sometimes at over 1000mb/second on the disk, is it possible that this number reaches 10,000MB while only having 4GB of  RAM? I also tried the optimized anaconda to the same result. Its suggesting
If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
I think somehow its trying to do everything at once or something.

@ArtificialHuman007;

task manager shows that the terminal starts using over 10,000MB memory

If you're looking at the "Memory" column of the "Processes" tab in Task Manager - that's main RAM, not VRAM. Check the "Performance" tab, whichever "GPU" entry on the left corresponds to your NVIDIA device - that's where you can see VRAM usage (bottom of the big pane). As mentioned, the only number that matters is "Dedicated GPU memory"; "Shared GPU memory" is not used by CUDA.

If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

Definitely don't do anything based on this. This is something which has to be integrated into the code; it won't solve a local problem.

You are right, only 4gb, this makes me sad.

Hi, I know I may sound stupid, but I really do think I have more than 4GB, I made sure to specify that I would have 16 before purchase. When I run & "C:\Program Files\Git\usr\bin\winpty.exe" python scripts\dream.py task manager shows that the terminal starts using over 10,000MB memory sometimes at over 1000mb/second on the disk, is it possible that this number reaches 10,000MB while only having 4GB of RAM? I also tried the optimized anaconda to the same result. Its suggesting
If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
I think somehow its trying to do everything at once or something.

The process manager is showing you main memory (RAM), not video ram (VRAM). Looks like whoever sold you the video card didn't honor your request.

@ArtificialHuman007 Don't be sad, I have a gtx 970 (4gb) and e.g. this fork works beautifully (2s/it) with --lowvram flag for me.

IIUC https://github.com/basujindal/stable-diffusion is also optimized for 4G VRAM

Oddly, I just got the same error.
@lstein I'm using a GTX 1080 Ti. 11 gigs of VRAM, should technically be no issue at all.
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 516.94       Driver Version: 516.94       CUDA Version: 11.7     |
|-------------------------------+----------------------+----------------------+
| GPU  Name            TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ... WDDM  | 00000000:09:00.0  On |                  N/A |
|  0%   44C    P8    17W / 250W |   1004MiB / 11264MiB |      3%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

Wow thanks for the info. Could you tell me how to enable full_precision for dummies?

Wow thanks for the info. Could you tell me how to enable full_precision for dummies?

@ArtificialHuman007 sure! python /scripts/dream.py --full_precision

Wow thanks for the info. Could you tell me how to enable full_precision for dummies?

@ArtificialHuman007 sure! python /scripts/dream.py --full_precision

Hi, when I say for dummies, I really mean I don't know what I'm doing. Where am I meant to write that? When I put that line in it just says no such file or directory. Thanks for trying to help.

Essentially: follow the steps for installation on the main Readme.
Once installation is complete, open up an anaconda prompt (assuming you’re
on windows).  In the prompt, type in:
cd stable-diffusion
conda activate env ldm
This gets you into you folder and activates the environment.
Then type in:
python /scripts/dream.py --full_precision
Dream.py is a script that runs SD and extends its capacity. You’re
essentially telling it how to start the model up.
On Tue, 6 Sep 2022 at 04:50, ArtificialHuman007 @.***>
wrote:

Wow thanks for the info. Could you tell me how to enable full_precision
for dummies?
@ArtificialHuman007 https://github.com/ArtificialHuman007 sure! python
/scripts/dream.py --full_precision
Hi, when I say for dummies, I really mean I don't know what I'm doing.
Where am I meant to write that? When I put that line in it just says no
such file or directory. Thanks for trying to help.
—
Reply to this email directly, view it on GitHub
https://github.com/lstein/stable-diffusion/issues/385#issuecomment-1237520482,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD5CQAAHWNIINQ7GBVQOHZDV4Z54BANCNFSM6AAAAAAQE25464
.
You are receiving this because you commented.Message ID:
@.***>


Add Cohere integration

Cohere
ChatCohere
CohereEmbeddings

OpenAPI spec:
https://github.com/cohere-ai/cohere-developer-experience/blob/main/cohere-openapi.yaml


Git pull from ssh URL should prompt for password.

When I do git pull using Gitlens from my ssh URL it shows the below error.

However, when I do from the terminal it shows that message from the server and asks for the password,

So, while doing git pull using git lens it should prompt like this -

GitLens uses vscode's built-in pull command to perform its pull operations. Are you experiencing the same issue when using the Git: Pull command? If so, please open this issue on the vscode repo -- thanks!

I am closing this issue because it needs more information and has not had recent activity.  Please re-open this issue when more details can be provided.
Thanks!


Core dump with V4 resistor

I tested kandle with an existing small project with three parts. A transistor worked fine but it core dumped with an 0805 SMD resistor at:
Mouser part LINK
The console output was:
ecomer@asrock level-shifter]$ kandle -f /home/ecomer/Downloads/hold/RC0805DR-074K7L.zip -l Resistor_0805 Extracting from: /home/ecomer/Downloads/hold/RC0805DR-074K7L.zip Extracting to: components/extern/tmp/RC0805DR-074K7L Output directory: components/extern/tmp/RC0805DR-074K7L already exists. Converting legacy file. /usr/src/debug/gcc/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:1239: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](size_type) const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; const_reference = const char&; size_type = long unsigned int]: Assertion '__pos <= size()' failed. Aborted (core dumped)
BTW Output shows "components/extern/tmp/RC0805DR-074K7L already exists" because it was created by a previous attempt using the same part from digikey.com, which core dumped in the same way.

Kandle is detecting the directory you downloaded from Digikey already exists in the folder components/extern/tmp so it doesn't overwrite it. You will have to do is delete the folder: components/extern/tmp/RC0805DR-074K7L and then rerun: kandle -f /home/ecomer/Downloads/hold/RC0805DR-074K7L.zip -l Resistor_0805

Thank you but that doesn't seem to be the problem. Here is the command line:
[ecomer@asrock level-shifter]$ ls /home/ecomer/Drive/level-shifter/components/extern/tmp MBT3904DW1T1G  RC0805DR-074K7L [ecomer@asrock level-shifter]$ rm -r /home/ecomer/Drive/level-shifter/components/extern/tmp/RC0805DR-074K7L [ecomer@asrock level-shifter]$ ls /home/ecomer/Drive/level-shifter/components/extern/tmp MBT3904DW1T1G [ecomer@asrock level-shifter]$ kandle -f /home/ecomer/Downloads/hold/RC0805DR-074K7L.zip -l Resistor_0805 Extracting from: /home/ecomer/Downloads/hold/RC0805DR-074K7L.zip Extracting to: components/extern/tmp/RC0805DR-074K7L Successfully extracted to: components/extern/tmp/RC0805DR-074K7L Found 3D model: "components/extern/tmp/RC0805DR-074K7L/RC0805FR-074K7L/3D/RC0805FR-074K7L.stp" Component Search Engine component detected. Converting legacy file. /usr/src/debug/gcc/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:1239: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](size_type) const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; const_reference = const char&; size_type = long unsigned int]: Assertion '__pos <= size()' failed. Aborted (core dumped)
It seems to be a problem with the data format from DigiKey versus SnapEda. I downloaded the same data in from SnapEda and here is the successful command line. BTW I did it twice so that the tmp folder would already be there.
ecomer@asrock level-shifter]$ kandle -f /home/ecomer/Downloads/hold/RC0805DR-074K7L.zip -l Resistor_0805 Extracting from: /home/ecomer/Downloads/hold/RC0805DR-074K7L.zip Extracting to: components/extern/tmp/RC0805DR-074K7L Successfully extracted to: components/extern/tmp/RC0805DR-074K7L Found symbol: "components/extern/tmp/RC0805DR-074K7L/RC0805DR-074K7L.kicad_sym" Found 3D model: "components/extern/tmp/RC0805DR-074K7L/RC0805DR-074K7L.step" Found footprint: "components/extern/tmp/RC0805DR-074K7L/RESC2012X60N.kicad_mod" Creating new symbol library: components/extern/symbols/Resistor_0805.kicad_sym [ecomer@asrock level-shifter]$ kandle -f /home/ecomer/Downloads/hold/RC0805DR-074K7L.zip -l Resistor_0805 Extracting from: /home/ecomer/Downloads/hold/RC0805DR-074K7L.zip Extracting to: components/extern/tmp/RC0805DR-074K7L Output directory: components/extern/tmp/RC0805DR-074K7L already exists. Found symbol: "components/extern/tmp/RC0805DR-074K7L/RC0805DR-074K7L.kicad_sym" Found 3D model: "components/extern/tmp/RC0805DR-074K7L/RC0805DR-074K7L.step" Found footprint: "components/extern/tmp/RC0805DR-074K7L/RESC2012X60N.kicad_mod" Component already exists in symbol library.

Yea I think the reason why it doesn't work is digikeys format. Currently Kandle only supports snapeda, ultra librarian and component search engine. The reason mouser works is because they use component search engine under the hood.


Losts of "volume_server_handlers.go:155] response write error" errors in our production server log files

Is this a problem? how could be happened? any suggestions?

Almost not busy at all

The timeout is on the connection with haproxy or master server?
The error happens for what percent of the total traffic?

Here is the
Deploy structure
<IP_ADDRESS>:9333(master)		--->  			<IP_ADDRESS>:5088(haproxy)
																																 /                                            \
																							<IP_ADDRESS>:5083 (volume1)               <IP_ADDRESS>:5084(volume2)

		Replication Stratage: 001

So, it's always get the content via haproxy from volume server.
And there are lots of request from mobile side with a bad network.

this makes sense. the clients are dropping connections. the filesystem is doing the right thing.


Roadmap: Improve Waiting Mechanism for Assertions

TestCafe's built-in waiting mechanism  is designed to eliminate the need for manual timeouts during assertions.
It's planned to rethink this mechanism, especially concerning exists and visible assertions. Such improvement would increase test stability for most users.

Take into account https://github.com/DevExpress/testcafe/issues/1191

Closed in favor https://github.com/DevExpress/testcafe/issues/1191


Made with NES.css

Is your feature request related to a problem? Please describe.

No.
Describe the solution you'd like

Create a Made with NES.css section in the README.md
Describe alternatives you've considered

Maintain a separate repo to list awesome websites made with NES.css. I'd be happy to help and contrib.
Additional context

Like other frameworks, NES.css should also maintain a made with NES.css section either on the main repo here or in a separate repo. This would help people checkout the websites/blogs and other awesome stuff people make using NES.css and realize different ways how NES.css can be used.

refs #38 #119 #274

Thanks for your comment 😆
I commented on #119 as follows.

I think that it's better to add sites using NES.css to another file or demo page or another repo than to add it to README.md. 🤔
https://github.com/nostalgic-css/NES.css/pull/119#issuecomment-445540291

We are not ready to accept it yet 😭


Set version as 0.0.2.dev0

Summary
This PR sets the version as 0.0.2.dev0.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.36%. Comparing base (852886d) to head (860f341).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #188   +/-   ##
=======================================
  Coverage   82.36%   82.36%
=======================================
  Files         177      177
  Lines       16052    16052
=======================================
  Hits        13221    13221
  Misses       2831     2831

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


[TEACAKE] HALON-666: mark drive as replaces after rebalance abort

Created by: qnikst

Closing as an obsolete


Remove is-react dependency

Turns out this is not needed. Thanks, @williaster!

Codecov Report

Merging #5478 into master will decrease coverage by <.01%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##           master    #5478      +/-   ##
==========================================
- Coverage   59.11%   59.11%   -0.01%
==========================================
  Files         372      372
  Lines       23751    23750       -1
  Branches     2758     2758
==========================================
- Hits        14041    14040       -1
  Misses       9695     9695
  Partials       15       15

Impacted Files
Coverage Δ

.../src/explore/components/ControlPanelsContainer.jsx
88.15% <100%> (-0.16%)
:arrow_down:

superset/assets/src/explore/store.js
23.07% <50%> (ø)
:arrow_up:

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 bea0a0a...b36ae4d. Read the comment docs.


Filter unmatching configuration-specific dependencies

Bazel 6 got the ability to report configuration transitions:
https://github.com/bazelbuild/bazel/pull/15038
This allows us to stop over-estimating affected targets when
dependencies exist in platforms other than the current one.

The contents of assorted commits being referred to can be found in https://github.com/bazel-contrib/target-determinator-testdata/pull/4


URL Value Object accept localhost as valid url

URL Value Object accept localhost as valid url
v3.4.3

Analyzing your suggestion, I would like to propose a refactoring of url.value-object.
The value you suggested is not a valid URL according to the official documentation.
I saw that it is possible to delegate the validation responsibility to the native constructor instead regex.
Official Documentation Reference URL Javascript

Valid url create

For this we just need to ensure that the domain object never throws, we could wrap the logic with a try catch.

const URLVo = (url) => {
    try {
        return ({ value: new URL(url), isOk: () => true, isFail: () => false });
    } catch (error) {
        return ({ value: null, isOk: () => false, isFail: () => true });
    }
}


Adjust limits (expiry, max uses) for missed messages to improve usability

This PR adjust limits (expiry, max uses) and for missed messages.  It is a minor change that substantially improves usability.
It also changes the error messages, which end users see as bounce messages, to be less cryptic.

This PR resolves  #2755 and #19994.
Testing plan:
I tested manually by:

replying to a missed message notification multiple times and confirming the messages were processed successfully.
manually updating the timestamp of a missed message in the database to confirm I could reply to messages up to 1 year old

Thanks for working on this!  This needs discussion in #backend on chat.zulip.org -- we should make sure we settle our thinking on the security implications.
Can you start a thread?

Sorry for the delay, I was focused on other things during summer.
I've now made the changes we discussed in thread linked above:

removed the expiry and allowed-uses limits
left the database fields intact (timestamp, times_used) as well as the code to increment times_used
updated related tests

Please review and merge.

Thanks for the update!
I've pushed back to this PR with slight edits to the error message string (which I expect ~nobody will see anyway) and also to make the commit message auto-close both issues.
Tagging this to merge once CI passes, thanks for the contribution @jasonhildebrand!