[Feature Request] Provide map instance to parent

Sometimes it might be useful to access the map instance itself as you do in your children through provide/inject. Right now, I created workaround - custom component that is child of map instance which emits the injected this.getMap() to the parent.
hidden.vue
<template>

</template>

parent.vue
<template>
    <gmaps-map>
        <maps-hidden @mounted="mapInstance = $event" />
    </gmaps-map>
</template>

Hmm interesting idea. It may be easier for me to add that emit to the map component itself.
I'll have a think if there's another way before I make the change though.
Might also be worth adding it as a slot prop which would be another way to access it from inside the template.

@xon52 that's what I was trying to suggest. This is just a workaround. It should be emitted from the map component itself.

Should be done in latest version (0.3.26) @thefoxie, please let me know if it's not working or could be better.
<gmaps-map /> should have an @mounted event that supplies the instance.

@xon52 yeah sure works well. Thank you :)

There are few other things that might be useful as well, like animated panTo and fitBounds on map items (polygons, circles,...) upon their creation/mount. I have those implemented outside of gmaps components, but it could be useful to others to just toggle the functionality on via prop. If If I find some time over weekend, I will make an issue and commit as well.

@xon52 could you pls create pull requests and merge them so we can track those commits in the issues easily? I just found out you switched from camelCase to kebab-case in emitted events which I endorse, but it's breaking change and it should be mentioned in docs as well.

Yeah I will do.
Are you sure it's breaking? Vue automatically converts camel to kebab. Didn't break on anything I am using it on?

@xon52  Didn't work in my case. I changed the docs but I surely missed some events.

I guess it works when event is in camelCase and you listen for kebab-case. It doesn't work vice versa.

Shouldn't work that way either according to vue documentation https://vuejs.org/v2/guide/components-custom-events.html#Event-Names

@thefoxie I just deployed v0.3.27 with support for both camel and kebab. Didn't realise it was a breaking change so I will remove camel in the next major 😅


Type ascription builtin is silently replaced by rustfmt(?)

rustfmt complains about the type_ascribe macro asking for the builtin to be replaced with the ... : ... syntax:
Error: Diff in /checkout/library/core/src/macros/mod.rs at line 1712:
         reason = "placeholder syntax for type ascription"
     )]
     pub macro type_ascribe($expr:expr, $ty:ty) {
-        builtin # type_ascribe($expr, $ty)
+        $expr: $ty
     }

I've worked around this with #[rustfmt::skip] on the macro which seems to work, but filing an issue since it seems like somewhat odd behavior as well.

@Mark-Simulacrum The diff is helpful, but can you also provide a complete code snippet that we can use to reproduce the issue. A few more questions. What version of rustfmt were you using when you ran into this issue, and are you using any rustfmt configurations?

@Nilstrieb do you know how the type_ascription builtin is represented in the AST?

@Nilstrieb @Mark-Simulacrum Okay, I think the issue here is that builtin # type_ascribe gets parsed as rustc_ast::ast::ExprKind::Type.
From what I can tell Here's where this get's parsed in rustc.
In this case rustfmt is handling this as expected. It sees a ExprKind::Type in the ast and outputs one. I think this issue should be moved back to rust-lang/rust, and the fix probably involves creating some special builtin ast node, though I don't know enough about later phases of the compiler to know how that might complicate things after parsing.


Potion cannot be consumed outside of inventory

Summary
A potion can only be consumed in the inventory. This is different to food, which can be consumed by having it equipped in the hot bar and pressing the left mouse button.

This is a known issue that will be addressed.


Step 4 does not work.  Please update the command to be Get-EXOMailbox -RecipientTypeDetails SchedulingMailbox

Update the command in step 4 to be Get-EXOMailbox -RecipientTypeDetails SchedulingMailbox

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

ID: aa612c0e-c089-8b3e-8e2e-dd12b6fc382c
Version Independent ID: fa014ea6-7aa2-b2bd-d913-165c3241675f
Content: Delete a booking calendar
Content Source: microsoft-365/bookings/delete-calendar.md
Service: bookings
GitHub Login: @kwekuako
Microsoft Alias: kwekua

@csbescos Thank you for the feedback.
Tried with Get-EXOMailbox -RecipientTypeDetails Scheduling and it failed, we have made changes to the document to reflect the correct cmdlet
Get-EXOMailbox -RecipientTypeDetails SchedulingMailbox
Hope this helps!
Thanks again for your feedback.
@yogkumgit The document reflects the correct cmdlet now and this issue can be closed.
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @csbescos Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Minju: Welcome to JS, 3 Weeks

Learning Objectives
1. What is Programming
What is a program? What is a programming language? How do programs and people
fit together?

[x] 🥚 Data in, Data Out: You understand that computer programs are used
to transform data, and can explain a JS program from this module in terms
of the data that goes in and the data that comes out.
🥚 Three Audiences: You can explain how a single file of code is used to
communicate with 3 different audiences:

[x] Developers: You can explain how code formatting, comments, logs and
variable names make it easier (or harder!) for a developer to understand
a program.
[x] Computers: You can explain how a computer follows your instructions
to store, read and modify data in program memory.
[x] Users: You can explain how the computer creates a dynamic user
experience by following different executions paths depending on user
input.

[x] 🥚 Tracing Variables: You can complete a trace table for a program
that uses only variables, and can check your work using the "trace"
button.
🥚 JavaScript Syntax: Given a program, you can identify these parts of
JavaScript syntax:

[x] Primitives
[x] Operators
[x] Identifiers
[x] Keywords
[x] Checks
[ ] Blocks
[ ] Function Calls

[x] 🥚 Pseudo Code: You can explain what pseudo code is, how it's used and
why it's helpful.
[x] 🥚 Program Goals: You understand that a full JavaScript program can be
explained as a series of smaller goals, and can write names for the goals
in a simple working program.
🐣 Program Analysis: You can study a simple working program and identify:

[x] The program's behavior (data in, data out)
[x] The program's goals
[x] The program's syntax and language features
[x] Which parts of the source code are for which audience (users, devs,
computers)

[x] 🐥 Same Behavior, Different Code: You can study simple programs with
the same behavior (data in, data out) but different source code and
explain how the differences matter for each audience.

2. Just Enough JavaScript
Go in depth on JavaScript you need to know for writing interactive text-based
programs in the browser. Along the way you will learn how each language feature
works in small programs.

🥚 Listening and Reading: You can read code out loud, and understand your
classmates when they read code to you. You don't need to understand how a
program works to master these learning objectives!

[x] Listening You can exactly re-write a program that a classmate has
read
[x] Reading You can read a program out loud and guide your classmates to
re-write exactly the same code without them seeing the program. Every
indentation, semi-colon, comment and spelling in their program must be
identical to yours.

🥚 Static vs. Dynamic Analysis: You can explain and use these two ways of
studying a program, each can help you understand different aspects of your
code. To help understand this concept, the options panel in Study Lenses is
organized into static and dynamic study options:

[x] Static: Studying the text in a code file without running it. Some
static study methods are creating a flowchart, analyzing variables,
filling out a trace table, and drawing on code.
[x] Dynamic: Running code and studying the computer's behavior. Some
dynamic study methods are running code and reading console logs, using
the trace button, and stepping through in the debugger or JS Tutor.

[x] 🥚 Tracing Execution: You can complete a "steps" trace table for all
JS language features in Just Enough JavaScript, and can correct your table
using console output from the "trace" button.
[x] 🥚 Analyzing Variables: You can list all the variables in a program,
and answer these 5 questions for each variable:

Where is the variable declared?
What is the variable's scope?
Is the variable initialized with a value?
How many times is its value used (read) in the program?
How many times is the variable assigned a new value?
What types are assigned to this variable during the program's execution?

[x] 🥚 Completing Programs: You can successfully fill in blanks for a
program when the missing words are provided, including distractors.
[ ] 🐣 Translating Pseudo Code: Given a program written in Pseudo Code,
you can translate it to working JavaScript.
[ ] 🐣 Comparing Programs: You can compare two programs with similar code
and explain if they have the same behavior or not. If they do not, you can
explain how they behave differently and why.
[ ] 🐥 Constructing Programs: You can reconstruct a program's lines and
indentation, successfully ignoring distractor lines.
[ ] 🐥 Linting: You can find and fix simple linting errors in JavaScript
programs.
[ ] 🐔 Writing Programs: You can write small programs that log specific
values, or pass specific test cases.

3. Understanding Programs
Learn how to understand a larger programs by finding connections between the
details and the big picture. By the end of this chapter you will know how to
read a new program and do a simple code review.

[ ] 🥚 Stepping Through: You can pause a script in a your browser's
debugger, arrange the debugger, collapse extra panels, and step through a
script written with Just Enough JS. At each point in execution you can
make a prediction of the next line before executing, and can check your
prediction using the scopes panel.
[ ] 🥚 Imperative Programming: You can explain what the Imperative
Programming paradigm is, and can explain how you know the programs in
Welcome to JS are Imperative.
[ ] 🥚 Logging: You can tracing specific aspects of a program's execution
and log them to the console.
[ ] 🐣 Naming Variables: You can analyze how a variable is used in a
program and give it two names:

Generic: You can give a generic name to a variable based on how it is
used in the program.
Specific: You can give a specific name to a variable based on how it's
used and the program's domain (the program's specific data and use-case).

[ ] 🐣 Describing Programs: You can read a program and describe it with
comments using to the methodology from /describing-programs:

Zoom Out
Zoom In
Find Connections
Describe Goals

[ ] 🐥 Code Review: Given a working program you can review the code for
clarity, correctness and style.

4. Developing Programs
Learn to modify and write larger programs in JavaScript. You'll cover many of
the hidden skills necessary to develop quality software and to work
collaboratively on a code base.

[ ] 🥚 Program Life Cycle: You can explain the two phases of a program's
life cycle.

Creation Phase
Execution Phase

[ ] 🥚 Fixing Errors: You can use the structured comment to describe an
error in your program, and can make several educated guesses at how to fix
the error.
[ ] 🐣 Fixing Bugs: You can use the structured comment to describe and fix
a bug in small programs.
[ ] 🐣 Modifying Programs: You can make small changes in a program to
change its behavior without breaking it.
[ ] 🐥 Refactoring: Given a working program, you can make changes to the
code without changing the program's behavior.
[ ] 🐥 Writing Programs: Given a description of a program's behavior
(user story + test cases), you can plan goals for the program and write
code to pass the tests.
🐔 Reverse Engineering: Given a working program with unreadable code, you
can:

[ ] Give the program a name.
[ ] Describe the program's behavior with a user story, acceptance criteria
and test cases.
[ ] Plan goals for the program.
[ ] Develop your own working program with the exact same behvior.

🐔 Imagining Programs: Given an empty page, you can imagine and develop
your own programs using Just Enough JavaScript. This includes:

[ ] A title.
[ ] A description with a user story, acceptance criteria and test cases.
[ ] Commented goals.
[ ] Fully working Code.

Week 1

I Need Help With:
I need to know better how paper prototype finally turns into a product.
What went well?

I understood the basic concepts of UX design.
Figma

What went less well?
Lessons Learned
Understood the concept Ux/UI design
Sunday Prep Work
Yet to start

I have tried to run JS programs in console ,but sometimes it got stuck up and taking too much time for loading.

which console are you talking about? in the dev tools of the browser? which programs got stuck?

I have practiced until "What is programming " section at study lenses.

the goal is to FINISH that section this week 🙂 is that what you mean?

Hi @danielhalasz  The goal is to complete untill 'Just enough JS' 😄 .
The browser is where am running JS is Firefox browser console . Am not stuck up with programming concept. If I change a code then if click on run tab it's taking too much time for loading. I think better I will start practicing at Vscode.

Hmm, are you running code you wrote when you click the [run] button? or does it take too long for all programs?
It could be that you have an infinite loop.  Maybe try using the loop guard, it's near the bottom of the >>options<< in study lenses
most of these programs won't work in VSCode because prompt, alert and confirm aren't supported in node :(

@colevandersWands Thanks alot for the information. Yeah  now I got it. I will try to run accordingly.

@minjupgeorge can you post an example that got stuck?

@danielhalasz
Hi Daniel, if am trying to edit the code and just clicking on run button its working perfectly . Same line if am editing in the console and trying to run just pressing the enter button it is showing error / loading for long time. Now its showing error. I will post both scenarios here. fortunately  didn't come across loading problem at the moment 😄
Code runs perfectly on clicking run button in the study lenses

Same code showing error while running in the console and press enter

@minjupgeorge this happens because the value of 'input' is still in the memory. if you refresh the browser window and try again just copy pasting the code on the left into the console and hit enter..it should work fine..

@danielhalasz yeah its working .

Week 2

I Need Help With:
So far so good. updated study-lenses. Thanks daniel @danielhalasz for updating the repo. it saved lot of my time.
What went well?

I have gone through just enough java-script  and reached till conditionals.
Feeling confident to answer MCQ Questions in each session
I was so happy to go through the carousel code in Javascript.
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_website_script

What went less well?
Still at just enough java-script Session
Its taking time to recollect the concepts even-though I have learned Java during college days .
Lessons Learned
Don't feel bad if you are not remembering the lessons learned long back. Just try to refresh by running the code.
Sunday Prep Work
Yet to start 3. understanding programs.

### Week 3
---

## I Need Help With:

so far so good

## What went well?

Once  I have started practicing [javascript-exercises](https://github.com/lab-brussels-1/javascript-exercises) exercises at visual-code, I feel so confident and able to recollect what I have learned earlier.

Understood the mistakes done at UI/UX Design

## What went less well?

I have to update the design according to the review and yet to start my website design.

## Sunday Prep Work

Keep studying the Programs at study-lenses
Started practicing at https://www.sololearn.com/learning/1024
Thanks a lot for the materials https://github.com/HackYourFutureBelgium/inside-js/blob/main/suggested-study.md

Is there any difference between debugging at chrome and Firefox .

well, the interface is certainly different and the debugging buttons too, Firefox does not have the usual step button of Chrome..but honestly I am not sure about the deeper differences.

I have to update the design according to the review and yet to start my website design.

that's okay, that is not urgent, just something to keep in mind for the next period


Empty arrays are returned as null

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] question

PostGraphQL version:

4.0.0-alpha2.26

Minimal SQL file that can be loaded into a clean database:
create table person (
    id          serial primary key,
    name        text not null,
    aliases     text[] not null default '{}'
);

insert into person ( name ) values ( 'test' );

Steps to reproduce:

Using the Library as an express middleware
Current behavior:
Empty arrays in postgres cause the error Error: Cannot return null for non-nullable field Person.aliases when querying for Person types, e.g.
{
  allPersons {
    nodes {
      id
      name
      aliases
    }
  }
}

Expected behavior:
No error is thrown and the empty array is returned

Good catch, thanks. If you fancy writing a failing test for this, that would be a welcome headstart to getting it fixed!
Add aliases column to one of the tables here:
https://github.com/graphile/graphile-build/blob/master/packages/postgraphile-core/__tests__/kitchen-sink-schema.sql
And add a GraphQL query that triggers the issue here:
https://github.com/graphile/graphile-build/tree/master/packages/postgraphile-core/__tests__/fixtures/queries

sure thing, hope this is helpful: https://github.com/graphile/graphile-build/pull/129

Perfect; thanks!

 Empty arrays bug


Step by step guide about this project .

Sir can you please post a step by step guide on making this project. I am unable to understand the process please add wiki and documentation. Thanks, sir for this awesome project.

sir please share this project with java. i try this project to convert in java but i need your help in videocallsession.java > call > ref
getcallerid  , it gives me null pointer execption.
Thank you.


Disable the cards when voting is done

When all users have voted, the cards are still selectable, they should be disabled until the board is reset. Users can't change their vote at this time but the UI implies they can.

Closed via https://github.com/humanmade/Hatjitsu/commit/a712e55695ed516b2ad4dfcc84b4182f66133224


error: Failed to list ipv6 rules for lxdbr0 (table )

Distribution: Gentoo
The output of "lxc info" or if that fails:

Kernel version: 4.9.34-gentoo
LXC version: 2.0.8
LXD version: 2.14
Storage backend in use: default

Issue description
The lxd init fails because of the error: error: Failed to list ipv6 rules for lxdbr0 (table )
Steps to reproduce

lxd init

$ /usr/sbin/lxd init
Do you want to configure a new storage pool (yes/no) [default=yes]?
Name of the new storage pool [default=default]:
Name of the storage backend to use (dir) [default=dir]:
Would you like LXD to be available over the network (yes/no) [default=no]?
Would you like stale cached images to be updated automatically (yes/no) [default=yes]?
Would you like to create a new network bridge (yes/no) [default=yes]?
What should the new bridge be called [default=lxdbr0]?
What IPv4 address should be used (CIDR subnet notation, “auto” or “none”) [default=auto]? <IP_ADDRESS>/24
Would you like LXD to NAT IPv4 traffic on your bridge? [default=yes]?
What IPv6 address should be used (CIDR subnet notation, “auto” or “none”) [default=auto]? none
error: Failed to list ipv6 rules for lxdbr0 (table )

Additional info:
# lxc-checkconfig
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: enabled
Network namespace: enabled

--- Control groups ---
Cgroup: enabled
Cgroup clone_children flag: enabled
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
Cgroup cpuset: enabled

--- Misc ---
Veth pair device: enabled
Macvlan: enabled
Vlan: enabled
Bridges: enabled
Advanced netfilter: enabled
CONFIG_NF_NAT_IPV4: enabled
CONFIG_NF_NAT_IPV6: enabled
CONFIG_IP_NF_TARGET_MASQUERADE: enabled
CONFIG_IP6_NF_TARGET_MASQUERADE: enabled
CONFIG_NETFILTER_XT_TARGET_CHECKSUM: enabled
FUSE (for use with lxcfs): enabled

--- Checkpoint/Restore ---
checkpoint restore: enabled
CONFIG_FHANDLE: enabled
CONFIG_EVENTFD: enabled
CONFIG_EPOLL: enabled
CONFIG_UNIX_DIAG: enabled
CONFIG_INET_DIAG: enabled
CONFIG_PACKET_DIAG: enabled
CONFIG_NETLINK_DIAG: enabled
File capabilities: enabled

What LXD version are you actually running?
2.21 doesn't exist (yet).

Also what does this give you;
ip6tables -w -S

It was a typo. I have lxd-2.14.
# iptables -w -S
-P INPUT DROP
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-A INPUT -i localhost -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -s <IP_ADDRESS>/32 -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -p tcp -m tcp --dport 445 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 139 -j ACCEPT

You didn't run the command I gave you :)
I gave ip6tables, not iptables.

OK, I found the issue, I need iptables with ipv6 support, which I don't have atm.

https://bugs.gentoo.org/show_bug.cgi?id=628346

I have installed lxd-2.18 on my gentoo-server. Gentoo provides USE flag, that allow to control "ipv6". I disabled ipv6, but LXD init-wizard still asks about ipv6. I did not set ipv6-address, but LXD still wants it, because:
EROR[09-27|14:46:15] Failed to bring up network               err="Failed to list ipv6 rules for lxdbr0 (table filter)" name=lxdbr0
Due to the error LXD cannot start containers. The issue has been resolved only after rebuilding of kernel and activating the missing table filter.

@Ramzec what do you get if you do "lxc network create test ipv6.address=none"?

@stgraber now it works, because I rebuilt my kernel and enabled table filter.
# lxc network create test ipv6.address=none
Network test created

This is still a problem and it is not resolved in lxd-2.18 or lxd-2.19. See https://bugs.gentoo.org/628346#c4
iptables is compiled with ipv6 support, but because the kernel is not, the 'lxd init' still fails and terminates instead of just warning for example.
Thank you!


CUDA out of memory Issue

Hi, very great work!
I just followed the instruction of pokemon_finetune.ipynb and tried to run it on Colab with one Tesla V100 and High ram
with the setting of
BATCH_SIZE = 1
N_GPUS = 1
ACCUMULATE_BATCHES = 1
It did show something down below so I think it's okay
Epoch 0:   0% 0/833 [00:00<00:00, 5637.51it/s]  Summoning checkpoint.
tcmalloc: large alloc<PHONE_NUMBER> bytes == 0x7fa9e73c0000 @
...
until the RuntimeError: CUDA out of memory occurred.
Since I am already using the best of Colab to run it, so I wonder whether there is a way/trick to make it executable on Colab Pro+?
let's say trick of saving memory or use another smaller but similar model instead maybe?
Many thanks !!

The description Lambda provided is actually incorrect when they say 20GB of VRAM is enough, even 24GB of VRAM isn't enough to run the model, I can personally confirm from attempts on an 24GB A10G where I got OOMs even at batch size 1 with 64x64 images once validation occurred.
V100 typically only has 16GB of VRAM, so you wouldn't be able to finetune - unless you get a 32GB V100 SKU which I don't know if Colab has.
If you wanted to start training totally from scratch, you could technically modify the parameters of the pokemon.yaml, but starting from scratch won't get you anywhere - as the original checkpoint was extremely expensive to train, and you would need a much larger dataset than the one provided and a very, very long amount of training time. Unfortunately, when it comes to finetuning you are pretty much stuck with the model they give you.
The only memory optimization that could maybe work is moving the model to FP16/mixed precision, but my lazy/naive attempts at doing this using the PyT Lightning Trainer configuration fail, as there are many custom modules here that use FP32 during their forward pass that need fixing.

Hi, thanks for your experience.
I can actually get A100 on Colab sometimes when I use standard RAM, but if I adjust the setting to high RAM, Colab switch it to  V100 or P100 though.
That's say if I can get A100, the training and validating would be fine, but the notebook would crash before that since downloading models needs a high RAM, so now the problem is how to get instance of A100 + High RAM simultaneously in order to do the whole thing on Colab, is my understanding right?

I could barely fit it into my 24GB GPU with batch size of 1 AND image logging disabled.

@my-other-github-account sorry my description wasn't very good. All I knew was that 16GB wasn't enough, if you can believe it I didn't have a GPU with less than 40GB to test on! 😅
I'll update the description to be >24GB!

To update, yeah I can also get it work with 24GB (barely) - but only if image logging and validation is disabled at BS1.

@my-other-github-account +1
I am also having a problem with training a custom dataset on 3090 24GB VRAM.
keep giving me OOM error when param.clone()
I am also wondering how to disabling image logging and what is "BS1".
any other suggestions would be grateful.
  File "/root/anaconda3/envs/ldm/lib/python3.8/contextlib.py", line 113, in __enter__
    return next(self.gen)
  File "/home/user99/stable-diffusion/ldm/models/diffusion/ddpm.py", line 174, in ema_scope
    self.model_ema.store(self.model.parameters())
  File "/home/user99/stable-diffusion/ldm/modules/ema.py", line 62, in store
    self.collected_params = [param.clone() for param in parameters]
  File "/home/user99/stable-diffusion/ldm/modules/ema.py", line 62, in <listcomp>
    self.collected_params = [param.clone() for param in parameters]
RuntimeError: CUDA out of memory. Tried to allocate 114.00 MiB (GPU 0; 23.70 GiB total capacity; 21.72 GiB already allocated; 34.81 MiB free; 21.87 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

training

Me too. Did you get reasonable results with batch_size 1?

Me too. Did you get reasonable results with batch_size 1?

I could barely fit it into my 24GB GPU with batch size of 1 AND image logging disabled.

It didn't help even though I set the config to batch_size 1.
I found a slower but larger GPU machine to run SD. 😢

Me too. Did you get reasonable results with batch_size 1?

I could barely fit it into my 24GB GPU with batch size of 1 AND image logging disabled.

It didn't help even though I set the config to batch_size 1.
I found a slower but larger GPU machine to run SD. 😢

I also disable the image logger to get it to fit in my 24GB 3090.

I could barely fit it into my 24GB GPU with batch size of 1 AND image logging disabled.

hi, Excuse me, how to modify the code to disable image logging and validation?

I could barely fit it into my 24GB GPU with batch size of 1 AND image logging disabled.

hi, Excuse me, how to modify the code to disable image logging and validation?

Comment out the logger section in the config file.

Got it, thanks


Fighting Gym Stage Not Working

the fighting gym arena has been "broken" for quite a while now and as a fighting leader its sometimes frustrating to have to tell every challenger to go fight outside stage is broken or go fight out here, and I just feel like fixing it just makes it easier for anybody because it is annoying not having your gym work. Anyways no rush but I do hope it gets fixed.

Can you describe what happens?
Does the pokeball get thrown out and then the pokemon not actually appear?
If so I can probably have it fixed by tonight.
On Fri, Mar 22, 2019 at 7:28 PM MrMoMo13<EMAIL_ADDRESS>wrote:

the fighting gym arena has been "broken" for quite a while now and as a
fighting leader its sometimes frustrating to have to tell every challenger
to go fight outside stage is broken or go fight out here, and I just feel
like fixing it just makes it easier for anybody because it is annoying not
having your gym work. Anyways no rush but I do hope it gets fixed.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ObliqueNET/Terra/issues/216, or mute the thread
https://github.com/notifications/unsubscribe-auth/AKAnJsnuT3VpNU5cDtEhygkptwyL2ukcks5vZZ9NgaJpZM4cErxr
.

Yes that is what happens

sorry for the very late reply

Looks like this has been fixed.


Keeping popper open while hovering over it

Hey, I love what you've got so far!  I do have a specific need though for our client and I was going to see if you could help me out?  Basically, when using the "hover" option for the Popper, we would like to keep the popper open as long as the user is hovering over either the trigger element or the popper itself.  We are using this to provide a user some options (with buttons for confirming/rejecting and such) when hovering over certain elements.  Is there any way we can make that happen?  I'd appreciate it, and thanks for your time!

Thank you for this improvement idea, just released a new version for you.

This is great, thank you so much! Works great but I may have noticed a small bug.  It seems to work fine for all the positions except for bottom.  When I hover over a bottom popper it loses visibility when leaving the target element.  Is that an issue on my end or do you see the same thing?

@thebreadlord I can't seem to reproduce the bug, it still might be a bug! Can you reproduce it?

Hey thanks for looking into it.  There might be a css issue on our site causing a conflict, but our "style guy" is out of town.  I'll poke at this a bit more and get in touch with you if I find some better details.  Really appreciate all the support on this so far!  Keep up the great work


Upstream merge + BTG changes and testnet servers

Also started renaming images and build artifacts

Let's not use "Electrum Gold". There's already a well known scam site using this name. Maybe "Electrum BTG" or "Electrum for Bitcoin Gold" is better?

lgtm otherwise

Another EPIC pull request 🕶

Another EPIC review :+1:


Make DeflateEncoder own its Options

Fixes #15
A struct that owns its members is easier to work with, since it eliminates the need to reason about lifetimes.

Thanks for the PR! :heart:
I can merge it after all the CI checks pass. While it'd technically be a semver-breaking change, I think you're among the first people on Earth to use this new API, so if we move fast it should be okay to push a new patch release.

v0.7.4 is out!


[otbn] A script to generate binaries for UVM tests

We still haven't figured out how to wire this up to the dvsim flow,
but this script does the "make me some binaries" step.
An example of how to use it (slightly complicated because of dvsim's
per-branch directory scheme):
cur_branch="$(git rev-parse --abbrev-ref HEAD)"
sw_dest_dir="scratch/otbn.sim.vcs/$cur_branch/sw"

hw/ip/otbn/dv/uvm/gen-binaries.py --seed 1234 "$sw_dest_dir"
util/dvsim/dvsim.py hw/ip/otbn/dv/uvm/otbn_sim_cfg.hjson -i otbn_single

Force-push writes the binary with seed S to S.elf, rather than counting from zero. We don't need numbers to start at zero, and this should make reproducing things a bit easier. I ran into this earlier because the default seed was 1, so we were producing 0.elf with seed 1... which took me a couple of minutes to work out!

CC @lenary for additional thoughts.

Hmm. That's frustrating: I was hoping to have something that actually worked by the end of the week, with the opportunity to improve further in future. Note that this is in dv/uvm: our UVM flow already uses Makefiles in the backend; this is not going to change that.
I'll happily push up a future version that changes to use otbn_build (and re-invents Make yet again, woo!), but something like this PR is a requirement for getting CI / nightly testing working and I'd love to remove one of the road-blocks. What do you think?

Note that I can't "just use otbn_build" here: we're also running a command to generate source files, and the different source files have different linker scripts. I'm not sure how to avoid using Make or meson somewhere.

Given we probably don't need the features of a 'proper' build system (e.g. checking for out of date dependencies and rebuilding as required), a linear rig -> as -> ld flow repeated once for every test we generate should suffice. What utility does the added makefile give us? Is it simply the desire to avoid writing some python that loops through some set of templated commands executing them when make can do this just as well?
One point in favour of the makefile could be ease of reproduction. Have the makefile be saved as an artifact in CI runs for example and use that to build a failing test rather than need to go through the python tooling again.
Another point in favour of the makefile is it's easily understandable when trying to determine what a particular run did. Prior experience with python driven things like this is at some point you really just want a simple list of stuff that's been run. You end up shoving prints in various places to get this. With a makefile it's already there in a format you can (hopefully) understand.

Yet another point in favour of the makefile, if we have something that isn't just a linear single .S rig -> as -> ld that we want to run through the flow (maybe we'll have some mixed random generation working with pre-written library software) it's just some extra make lines to emit rather than new functionality in python to deal with more complex cases.

@imphil: Did we come to a conclusion about what to do here? I'll happily do it, but at the moment this is stalled.

Force-push just rebases onto master.

I more or less came to a mental conclusion, but there's one more thing I'd like to try. Currently racing to get a couple of fusesoc fixed in for a release, but will have a look at this tonight or tomorrow morning. Sorry for the delay.

TBH, I am also in favor of using the meson flow for this step. I am making some changes to the way SW images are built for the chip level which should work nicely for this usecase.

What becomes obvious in this discussion is that we have a rather unclear situation at the moment with regards to DV runs and build artifacts. I think the assumption currently is that chip-level DV operates on the final software build artifacts produced in build-bin. Getting the binaries there is a separate step, outside of the dvsim world. That's actually how it should be, because it allows us to build software in another build step (e.g. in CI: build software first, and then transfer it to another builder which does DV runs, but doesn't have a compiler setup), or re-use release build binaries. This model works also for "real" OTBN software (e.g. block-level simulations with the RSA example.
It does not work, however, for binaries which need to be built as part of the simulation run, e.g. the random binaries we're talking about here. What we therefore need is a way to build the random binaries as a "separate project", which is built as part of the DV run.
We did discuss this in chat a couple days ago, and here were the options we came up with:

Rely on TOOLCHAIN_PATH and a well-known structure within it: We don't want to do that, as we don't want to fix the name of tools within this directory.
Make meson's toolchain.txt the canonical toolchain info: Slightly locks us into meson, and adds a new requirement that a toolchain.txt is needed (we currently auto-generate one for users if they don't have their own one)
Let meson write a file with toolchain info: Ensures that other software uses the exact same tools meson discovered, and easy to port to other build systems if needed. Sounds like a good solution.
Build OTBN DV random binaries through meson: Probably tricky to integrate, as the build is actually quite decoupled from a normal software build.

Neither (1) nor (2) are liked by me and @lenary for the reasons outlined above. Leaving us with (3) and (4).
I tried (4). My findings:

It is clearly possible to build the random binaries in Meson the same way we build other OTBN software, and it's not overly ugly.
I didn't find a way to only rebuild the directory with random binaries. With more investigation, there might be a solution somewhere (e.g. a special named target, etc.)
I quickly looked into subprojects (a Meson feature), but gave up quickly.

I then wrote a quick solution for (3), and it's not that bad (Meson really likes external helper scripts). The PR for that is in #4274.
I'd suggest moving forward with (3). Modify this PR to read in the .env file, and then perform the build in DV context (e.g. through dvsim as a pre-step, through DPI, or whatever). You need to ensure that even on DV builders ./meson_init.sh is executed once (you do not need to call ninja). And of course DV builders now need a compiler setup (which they probably already have for Ibex DV builds).
In terms of implementation of the building: I'm not a fan about the "dump out make snippets" approach, but I'm fine with it if it works. I'd use the build_otbn.py script instead.

I'd suggest moving forward with (3). Modify this PR to read in the .env file, and then perform the build in DV context (e.g. through dvsim as a pre-step, through DPI, or whatever). You need to ensure that even on DV builders ./meson_init.sh is executed once (you do not need to call ninja). And of course DV builders now need a compiler setup (which they probably already have for Ibex DV builds).

Cool, I'll do that.

In terms of implementation of the building: I'm not a fan about the "dump out make snippets" approach, but I'm fine with it if it works. I'd use the build_otbn.py script instead.

I'll definitely switch to using build_otbn.py: there doesn't seem much point in doing this in more than one way. A pity that we then lose all our parallelism. Maybe we can recover that by adding a -j parameter to build_otbn.py (which isn't set when running under Meson, obviously), but that's a future problem, I think.

Force-push updates the script to use the environment variables now generated by running Meson. It will obey the OBJ_DIR environment variable if specified, otherwise you can pass an --obj-dir argument or it just defaults to ./build-out. If the code can't find a .env file where it expects, it tells you why it was looking there, which should hopefully strike the right balance between useful and inscrutable!
I've not actually switched to using build_otbn.py. It's not really much simpler to do so, and doing so would lose a whole load of parallelism for essentially no gain. Make is still used as a handy DSL for specifying how to build stuff (unsurprisingly, it's pretty good at this!), and all should be well as long as there are no weird characters in your toolchain path. Sadly, the commands that get echoed to the screen got much uglier (because of all the RV32_TOOL_FOO stuff). Also, you can't actually just run those commands at the moment (because we clean up the temporary directory), so I've switched to building with make -s but am echoing things like GEN 3, ASM 3, LD  3 to show what's going on (a bit nicer than dead silence if the run will take a couple of minutes).

If you prefer, you can use https://github.com/ninja-build/ninja/blob/master/misc/ninja_syntax.py (which is intended to be just copied into your source tree, see https://ninja-build.org/manual.html) to avoid manually writing ninja rules as string.

Yeah, I saw that in the manual. Honestly, the rules were so simple I thought it was probably simpler to just write them down.


Setting tabindex

Is it currently possible to set the tab index used by the map div. I could not see anything. If set it stops the mouse zoom interaction until the map has focus
https://openlayers.org/en/latest/examples/accessible.html
Thanks

No, but it is trivial to add, I will merge a PR if you do it, you can use minZoom/maxZoom as examples

Created PR https://github.com/mmomtchev/rlayers/pull/237


Feedback Tab

On a user's profile in Core ADM, have a tab for all feedback submitted about them.

Duplicate of #994, already completed


Add tool to generate adapter inventory

Initial PR to provide inventory generation. PR also cleans up some linter errors.
Release note:

Adds tool to generate adapter inventory.

This change is

@douglas-reid: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/mixer-presubmit.sh
5836b42cc910fe49a69263fe9bbd49a15e8b42b4
link
@istio-testing bazel test this

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Windows Build

Hi @conda-forge/ccache maintainers,
I noticed that this feedstock does not yet build out Windows binaries. Should we add this?

yes please! :) There were at least two attempts in the past (check PR's)

I've started building it in #31 using plain MSVC 2019. works well!

We have them, but afaik ccache doesn't (yet) support MSVC. GCC should work though :)


Commit ID and refresh icon not visible

Hi,
Thanks for writing this useful plugin and on suggestions on how to use it effectively for code documentation. I was able to set up the GitHub authentication key based on the README instructions. I am also able to obtain a copy of the file from GitHub after running the Get GitHub File command. But I am not getting the commit ID and the refresh button options. Please see the attached screenshot for reference.
I am on Logseq 0.6.6 on macOS 12.2.1. Can you please have a look and let me know if I am missing something? Looking forward to your suggestions.

Hi,
After restarting uninstalling and reinstalling the plugin and also restarting Logseq, now the renderer for commit ID is working fine. So no issues now :)

Hi,
glad you like the plugin! Not sure what might have happened first time round, but I'm glad it cleared itself after the reinstall and restart. Let me know if you see the same issue after an update. I've noticed that Logseq can need a restart to update a plugin, but you shouldn't need to uninstall and reinstall the plugin.


[Bug] Stylesheet not loading correctly

Version
2.0
Reproduction link
https://demos.creative-tim.com/vuetify-material-dashboard/#/notifications
Operating System
Ubuntu 28.04
Device
Lenovo Thinkbad t480
Browser & Version
Chrome
Steps to reproduce

Clone Repo: git clone git@github.com:creativetimofficial/vuetify-material-dashboard.git
cd vuetify-material-dashboard
npm install
npm run dev

What is expected?
Loaded stylesheet as seen on admin theme demo site
What is actually happening?
There are slight differences:

the little count in the app indication does not have a background
buttons are white with text

Expected:
How it's getting rendered:

Solution
Additional comments

I've the same issue, on windows.

Same here on my windows machine.

Node v10.15.3
NPM v6.4.1

I got a fix, in router > index.js  on line 46 there's Vue.use(Meta), if you comment that line you'll get the styles working correctly, and if you inspect you'll see missing css (a style sheet tag with id "vuetify-theme-stylesheet") that is not available if you keep vue-meta

I got a fix, in router > index.js on line 46 there's Vue.use(Meta), if you comment that line you'll get the styles working correctly, and if you inspect you'll see missing css (a style sheet tag with id "vuetify-theme-stylesheet") that is not available if you keep vue-meta

This was fixed in my pull request: https://github.com/creativetimofficial/vuetify-material-dashboard/pull/42


In aijack/attack/inversion/gan_attack.py, "from aijack.attack import GAN_Attack". I can not find GAN_Attack.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@akyo1o
Thank you for your interest!  Please check #68 .
Some of the example code is old, so any contribution is extremely welcome!
In this case, you can update the example of GAN attack as follows:

import

old (line 10)
from aijack.attack import GAN_Attack

new
from aijack.attack import GANAttackManager

setup

old
    gan_attacker = GAN_Attack(
        client_2,
        target_label,
        generator,
        optimizer_g,
        criterion,
        nz=nz,
        device=device,
    )

    global_model = Net()
    global_model.to(device)
    server = FedAvgServer(clients, global_model)

new
    manager = GANAttackManager(
        target_label,
        generator,
        optimizer_g,
        criterion,
        nz=nz,
    )
    GANAttackFedAvgClient = manager.attach(FedAvgClient)

    net_2 = Net()
    client_2 = GANAttackFedAvgClient(net_2, user_id=1)
    optimizer_2 = optim.SGD(
        client_2.parameters(), lr=0.02, weight_decay=1e-7, momentum=0.9
    )

    clients = [client_1, client_2]
    optimizers = [optimizer_1, optimizer_2]

training

old
    for epoch in range(5):
        for client_idx in range(client_num):
            client = clients[client_idx]
            trainloader = trainloaders[client_idx]
            optimizer = optimizers[client_idx]

            running_loss = 0.0
            for _, data in enumerate(trainloader, 0):
                # get the inputs; data is a list of [inputs, labels]
                inputs, labels = data
                inputs = inputs.to(device)
                labels = labels.to(device)

                if epoch != 0 and client_idx == adversary_client_id:
                    fake_image = gan_attacker.attack(fake_batch_size)
                    inputs = torch.cat([inputs, fake_image])
                    labels = torch.cat(
                        [
                            labels,
                            torch.tensor([fake_label] * fake_batch_size, device=device),
                        ]
                    )

                # zero the parameter gradients
                optimizer.zero_grad()

                # forward + backward + optimize
                outputs = client(inputs)
                loss = criterion(outputs, labels.to(torch.int64))
                loss.backward()
                optimizer.step()

                running_loss += loss.item()

            print(
                f"epoch {epoch}: client-{client_idx+1}",
                running_loss / dataset_nums[client_idx],
            )

        server.update()
        server.distribtue()

        gan_attacker.update_discriminator()
        gan_attacker.update_generator(batch_size=64, epoch=1000, log_interval=100)

new
    for epoch in range(2):
        for client_idx in range(client_num):
            client = clients[client_idx]
            optimizer = optimizers[client_idx]

            for _, data in enumerate(trainloader, 0):
                # get the inputs; data is a list of [inputs, labels]
                inputs, labels = data
                inputs = inputs.to(device)
                labels = labels.to(device)

                if epoch != 0 and client_idx == adversary_client_id:
                    fake_image = client.attack(fake_batch_size)
                    inputs = torch.cat([inputs, fake_image])
                    labels = torch.cat(
                        [
                            labels,
                            torch.tensor([fake_label] * fake_batch_size),
                        ]
                    )

                # zero the parameter gradients
                optimizer.zero_grad()

                # forward + backward + optimize
                outputs = client(inputs)
                loss = criterion(outputs, labels.to(torch.int64))
                client.backward(loss)
                optimizer.step()

       server.action()

Thank you very much! I have successfully run the code! Also, I would like to ask if you have any recommended parameters that have been tuned? so that I can reproduce quickly.

@
How about the parameter written in the code or the original paper? Are they not working in your environment?

Today, I tuned the parameters, and achieved good results, thank you again!


AgriFood

@lmazuel  Agrifood can create a release plan.  We also have epic-product in ADO - https://microsoftservicetree.com/products/863ce6e4-391e-4b74-9790-e04ab6ad8856/metadata/Lifecycle Status.  Here is the service tree link showing the product (offering) - https://microsoftservicetree.com/services/100a65a0-b332-4f0c-bc64-47f7bc565ed5/products.  Do you want me to reach out to them and ask them to create a release plan to track this work?


Updated the SimpleJson datasource name to be Karavi-Topology

Description
Updated documentation with references to the SimpleJson data source name.
Updated documentation to rename the data source from "JSON" to "Karavi-Topology".
Updated Grafana dashboard to reference the Karavi-Topology data source name.
Issues
List the issues impacted by this PR:

Issue ID

#67

Checklist

[x] I have performed a self-review of my own code
[x] I have run 'make check' to ensure my code does not have any formatting, vetting, linting, or security issues
[x] I have run 'make test' to ensure new and existing unit tests pass locally with my changes
[x] I have not allowed coverage numbers to degrade
[x] I have maintained at least 90% code coverage
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[x] Deployed the Grafana dashboard and verified that the dashboard was working properly after renaming the data source to Karavi-Topology.

e2e pass


feat: Added module Unreal Cloud DDC

Description

Unreal Cloud DDC for derived data caching on Azure for Unreal Engine. Closes #277
Why is the module needed?
Make it easier for Game Studios to deploy the set of resources required to run Unreal Cloud DDC on Azure.
Module path
azure-gaming/unreal-cloud-ddc
Describe the module
This uses AKS, CosmosDB, and Azure Storage to host the DDC assets of a developer in the cloud which can be used by other members of the game studio.
Adding a new module

[x] A proposal has been submitted and approved.
[x] I have included "Closes #277" in the PR description.
[x] I have run brm validate locally to verify the module files.
[x] I have run deployment tests locally to ensure the module is deployable.

These test were run locally due to security limitations. The CI pipeline won't deploy the test files in the module azure-gaming/unreal-cloud-ddc as the target scope because of subscription  and tenant.

@dciborow Can you review this PR please?

Applying feedback for vnets.

Dear @AmieDD , Azure Verified Modules (AVM) will become the single Microsoft standard for Bicep modules. Transitioning to AVM, requests for new features or bug fixes will need to be submitted against the appropriate AVM module via AVM Module Issues.
For bugs or new features with existing modules in the /modules directory of this repository, we encourage you to first try the AVM equivalent module if available and if the module is lacking any features, you can file an AVM Module Issue. If the module is not available yet, you can file a new AVM Module Proposal.
See this informational notice for more details on the upcoming changes.
Thank you for your understanding!


Fix openmmtools.RestorableIntegrator error

Tests have been failing due to a renaming in openmmtools (see https://github.com/choderalab/openmmtools/pull/336#issuecomment-375892878 and following). This PR will fix the errors.
This took a while because I had trouble reproducing the error in any of my own environments. However, it should be pretty straightforward.

This seems to fix it. I will merge directly.


stroke: change close argument to closed

I use the "closed" argument in several functions, so stroke is inconsistent.  I think "closed" makes more sense (describing the input curve as being closed) rather than "close" the verb form, which doesn't always apply.

Err, in stroke(), the verb form is correct, as close=true is a request to draw a closing segment, not a denotation that the path is already closed.  Since you can test if the first and last points of a path are the same, I cannot see a reason to ever need to specify that with an argument.

Well, this is a matter of interpretation, and I think we need to pick a consistent form.  If you supply n points there is no way to know whether n edges or n-1 edges are intended, so an additional piece of input information to describe the curve is required.  My interpretation is that you write closed=true if the path is closed (n edges) and closed=false if the path is open (n-1 edges).  For stroke() it makes sense to use a verb form, being an instruction to close the path, but for round_corners, that makes less sense.  It is more general to treat this argument as part of a description of the input rather than to treat it as a verb describing what to do with the input.
I would argue that supplying n+1 points where the first and last points are supposed to be the same is some kind of invitation to trouble (the points not being exactly the same).  It's also in many cases an extra nuisance to duplicate the first point, so I think it's a mistake from a UI design perspective to require it.  To me it makes a lot more sense to require no point duplication with a flag to indicate whether the curve is open or closed.

Implemented in e2d286bbf1b162c7c3879786bd48b21c0bcea96f


The Blast enchantment is incompatible with silk touch

When using a pickaxe with Blast and Silk Touch, mining smooth stone will drop cobblestone. It does seem to work with Fortune, though.

Yeah, I've noticed that only the block you mine gets Fortuned or the Silk Touched. Also, Glowing redstone ore isn't enabled by default for Blast, so I had to go in and add the block id 74 to the BlockList.yml file.


Response is null

what is wrong with this code? i'm trying do TDD flutter application and stuck here.

abstract class AdviceRemoteDataSource {
  /// Calls the endpoint.
  ///
  /// Throws a [ServerException] for all error codes.
  Future<http.Response> getRemoteAdvice();
}

class AdviceRemoteDataSourceImpl implements AdviceRemoteDataSource {
  final http.Client client;

  AdviceRemoteDataSourceImpl({@required this.client});
  Future<http.Response> getRemoteAdvice() async {
    final response = await client.get(URL);
    if (response.statusCode == 200) {
      return response;
    } else {
      throw ServerException();
    }
  }
}

Questions like these are better suited for Q&A sites like StackOverflow or on one of the flutter community sites at https://flutter.dev/community


Trouble giving group prefix (Prefix: None)

Hello, in the server I'm trying to set up I tried to give a few groups prefixes, but they aren't getting added.
Editor view: https://imgur.com/zRIRmzC
When using "/lp group ky info" (group is named ky) it only says "Prefix: None" no matter what I try. In game I have tried "/lp group ky meta clear" and then using "/lp group ky meta addprefix &7[&eKY&7]" and "/lp group ky meta setprefix &7[&eKY&7]" with either no context or world, and both with and without quotes around the prefix.  I've also tried using the command with Kentucky instead of ky but no luck since they're different names for the same thing. None of these have worked. I'm using Paper 1.16, and the LuckPerms plugin is in the most recent version. I've read through the FAQ on prefixes already, and I have chat plugins like EssentialsXChat. No one could help me on the LuckPerms discord server, so I'm coming here now for help.

Not sure how no one caught this on the Discord, your command stynax is simply wrong. The command is /lp <user|group> meta setprefix <weight> <prefix>.
See https://luckperms.net/wiki/weight forinfo about weight.

Oh no, he did use the command properly, we tried a million things, clearing meta and restarting, setting other groups, from the editor, from commands; the node was being applied but when running lp group <group> info it showed null.
Context (sort of).

Not sure how no one caught this on the Discord, your command stynax is simply wrong. The command is /lp <user|group> meta setprefix <weight> <prefix>.

The commands do something, but in game it's still stuck on "Prefix: None" when I go to the group info. Either syntax for the command are executable, but they don't work.

Which command, exactly, are you trying? Also, please run lp editor and send the link it generates here.

Which command, exactly, are you trying? Also, please run lp editor and send the link it generates here.

Anything that will add a prefix to a group. Was trying addprefix and setprefix in particular but neither worked. In the editor it looks like it should be there but in game it always says "Prefix: None"
https://luckperms.net/editor/SbDQ2iMOVX

Alright, could you please also send a pastebin of your full LP config?

Alright, could you please also send a pastebin of your full LP config?

https://pastebin.com/uZQTcyfn

looks like you are missing duplicates: first-only line for prefix and suffix formatting. See https://github.com/lucko/LuckPerms/wiki/Prefix-&-Suffix-Stacking#how-does-it-work

looks like you are missing duplicates: first-only line for prefix and suffix formatting. See https://github.com/lucko/LuckPerms/wiki/Prefix-&-Suffix-Stacking#how-does-it-work

Added it, still nothing changed. Still says "Prefix: None"

You're using track selectors (highest_on_track_staff, etc)
Are those groups actually on the track? Does it work if you just use highest?


Feature: To improve newsletter form at end of page

Feature description
The newsletter form at the end of the page has no proper css applied compared to other forms in the page. The input and subscribe button can be made to look better.

👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Hey, i am a GSSoC '22 participant. Please assign this issue to me.
Proposal:
Add better css overall, padding around  subscribe button and remove repetition of name in placeholder and before input

.

@prabhakar-dessai you can start working on it.


FastCGI driver implementation

There is a possibility to implement FastCGI as additional HttpDriver.
According to protocol specification and some implementations examples, it looks that protocol is quite simple.
Implementation examples:

https://github.com/PHPFastCGI/FastCGIDaemon/blob/master/src/Driver/Userland/ConnectionHandler/ConnectionHandler.php
https://github.com/hollodotme/fast-cgi-client
https://github.com/adoy/PHP-FastCGI-Client

FastCGI lighter than HTTP. I assume that application server can benefit from that if Nginx will be used as the reverse proxy.

With the new architecture, this does no longer need to be some driver. This should be implemented as a separate package and just create a Request and call a corresponding RequestHandler.


cleanup car port docs

I would run most things through a tool like Grammarly, it catches all these mistakes + more.


amqp pub/sub throws exception on every message

Hi,
I am evaluating solutions for using an amqp broker with Nest.js and your project looks very promising.
I tried the pub/sub feature by adapting your kitchen-sink example and it works well, but I noticed that the timeout Exception is thrown on every message:
UnhandledPromiseRejectionWarning: Error: Failed to receive response within timeout of 10000ms
    at MapSubscriber.rxjs_1.interval.pipe.operators_1.map.x [as project] (/Users/mkrone/Development/nestjs-plus/examples/kitchen-sink/node_modules/@nestjs-plus/rabbitmq/src/amqp/AmqpConnection.ts:79:15)

Maybe the use of rxjs timeout or takeUntil operators can fix this in packages/rabbitmq/src/amqp/AmqpConnection.ts?
Let me know if I can help out with this.

Hey @michaelkrone thanks for checking out the project. Out of curiosity what version of the package are you currently referencing. I believe that there was an issue with the timeout which I've already fixed up. I don't see the same behavior when using RPC in the kitchen-sink example.
Also, if during your investigation you notice any other issues that might otherwise prevent you from adopting please let me know as I'm engaged and motivated to make the developer experience as pleasing as possible.

I did just notice that the Kitchen Sink example was referencing an older version of the @nestjs-plus/rabbitmq package and I've updated it to latest with https://github.com/WonderPanda/nestjs-plus/pull/4 but even on the earlier version it doesn't have the timeout issue you're referencing.

Hi @WonderPanda , thank you for your quick response.
You are right, the RPC example is working fine. I looked up my changes and it turned out I used connection.request when I meant to use connection.publish, so the Timeout Exception is completely valid in that case.
I will close this Issue, sorry for any inconveniences.
P.S.
One thing I am investigating is when adding a second exchange with type 'fanout', the management console lists it with the correct type, but the following exception is thrown at startup:
Channel closed by server: 406 (PRECONDITION-FAILED) with message "PRECONDITION_FAILED - inequivalent arg 'type' for exchange 'exchange2' in vhost '/': received 'topic' but current is 'fanout'"

I will open another Issue if this turns out to be a problem, but I will make sure that this time it's not my incompetence that takes your time ;)

@michaelkrone  No problem! It just makes me happy that people are starting to check things out. I will definitely look into the different exchange types and see if there's something going on there.
One thing that is somewhat strange is that the intention for RPC is that you would use the request method as you're setting up a listener internally to get the response from the RPC handler. So it's a little weird about publish as that one is more intended for Pub/Sub scenarios. Are you able to share the repository or a small example that reproduces your setup so I can make sure that it's what you need?

@michaelkrone You were correct, there's a bug in the way subscribers are attached when using exchange types other than topic. I've opened an issue to track it https://github.com/WonderPanda/nestjs-plus/issues/5
It should be a small tweak so I'll get the fix up this weekend

@michaelkrone #5 is now closed and I've updated the kitchen sink example app. Should be fine to use the different exchanges types now


Feature: support textstyle

Thanks for your suggestion, I have a plan to ship a new version with all styling customization.


[GSSOC'23] Water Quality Prediction Model

💥 Water Quality Prediction Model - GSSOC'23
As we know, Water is an important part of everyone's lives. Therefore, its important to know the quality of Water being used.
In this project, we will apply Machine Learning concepts like-EDA, Data Visualization and Model Building
Dataset - https://www.kaggle.com/datasets/shreyanshverma27/water-quality-testing
Therefore, kindly assign this issue to me

@khusheekapoor , kindly assign this issue to me.

@sahaycodes  - you can go ahead! We are assigning you 21 days for this project, after which it will be assigned to someone else if not completed. All the best!
Name the file as: algorithm_dataset.ipynb and link it in the readme of the labeled directory as algorithm - dataset.


idql policies should include a unique identifier

policy should look like the below - and can be auto assigned by the provider
{
  "policies": [
    {
      "id" : "anId",
      "meta": {
        "version": ""
      },

for example-
gcp:<PHONE_NUMBER>2942818
azure: 63a8614b-b5n7-00r8-af0a-157866fa7129

As discussed, we will need to auto generating a unique policy ID for each provider policy - and we have really no way to recreate the same ID each time we set/ get policy - any suggestions on how to handle this? we might need a bit more research here?

Sounds like this topic ties into some of the discussions we've had on policy lifecycle. An example scenario:

connect to target
get policy
create unique ID for policy
change policy setting
set policy in target system
... some time later
get the same policy from target system
do we check the authoritative source to see if policy ID matches (or if one exists)?

Ultimately, sounds like we need some more research on the topic, as you suggested @barinek

sounds good - as we do not store the policy or the newly generated unique id anywhere currently

The purpose of the id is two-fold:

A permanent identifier to track a policy instance
While the policy id does not change, the policy can change.  This enables change detection in particular.
Also useful if you want to build an API for policies, you could retrieve using GET /Policies/{id}


balsa: switch from enchant to gtkspell3

Motivation for this change
The build fails with enchant-1.6.1 (upgrade is in #50876) and enchant2. use gtkspell3 instead.
cc maintainer @romildo
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg eval

For curiosity I have looked at what other distributions opted for spell checking in balsa:

gspell: arch, debian, funtoo, macports, opensuse
gtkspell: dports, fedora, freshports, guix, gentoo

The gspell FAQ compares gspell and gtkspell.

@GrahamcOfBorg build balsa

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: balsa
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: balsa
Partial log (click to expand)
Wrapping program /nix/store/94b2iwacc4g4a6l2hfsbdhw45nmj2w66-balsa-2.5.6/bin/balsa
shrinking RPATHs of ELF executables and libraries in /nix/store/94b2iwacc4g4a6l2hfsbdhw45nmj2w66-balsa-2.5.6
shrinking /nix/store/94b2iwacc4g4a6l2hfsbdhw45nmj2w66-balsa-2.5.6/bin/.balsa-ab-wrapped
shrinking /nix/store/94b2iwacc4g4a6l2hfsbdhw45nmj2w66-balsa-2.5.6/bin/.balsa-wrapped
gzipping man pages under /nix/store/94b2iwacc4g4a6l2hfsbdhw45nmj2w66-balsa-2.5.6/share/man/
strip is /nix/store/6s8dkfj3irwv52cap2hd9k7gaddklfs1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/94b2iwacc4g4a6l2hfsbdhw45nmj2w66-balsa-2.5.6/bin
patching script interpreter paths in /nix/store/94b2iwacc4g4a6l2hfsbdhw45nmj2w66-balsa-2.5.6
checking for references to /build/ in /nix/store/94b2iwacc4g4a6l2hfsbdhw45nmj2w66-balsa-2.5.6...
/nix/store/94b2iwacc4g4a6l2hfsbdhw45nmj2w66-balsa-2.5.6


add "latest" to nodejs (it's nodejs v17 right now)

Codecov Report

Merging #197 (ce1d8f8) into main (5c9e307) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #197   +/-   ##
=======================================
  Coverage   98.13%   98.13%
=======================================
  Files          16       16
  Lines         964      964
  Branches      206      206
=======================================
  Hits          946      946
  Misses         18       18

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 5c9e307...ce1d8f8. Read the comment docs.


Add --debug parameter to not capture stdin/stdout, to make pdb work in a task

I'm trying to debug a doit pipeline and need to break into pdb in a library I'm using from doit. Unfortunately, doit captures all in- and output, which I have to undo everywhere I'm trying to debug. Would be nice to have the above mentioned parameter that lets me just do import pdb; pdb.set_trace() (or breakpoint() in the upcoming Python 3.7).
For reference, this is the code I currently use to break into pdb:
try:
    code_that_crashes_somewhere_in_your_pipeline
except KeyError:
    import pdb, sys;
    d = pdb.Pdb(stdin=sys.__stdin__, stdout=sys.__stdout__)
    d.reset(); t = sys.exc_info()[2]; d.interaction(None, t)

http://pydoit.org/tools.html?highlight=pdb#set-trace

And if you are a fan of print() debugging, doit run -v 2 should cut it for both cases.

@madig  I am aware the search on the site needs some improvement... see #205
Did you try to search it at all? Which keyword have you used?

I googled "python doit debug" but must embarrassingly admit that I scrolled over your link. Oops.
The snippet I use above has the nice property to break into pdb where the exception occurs without me having to know in advance where exactly it occurs. pytest has the --pdb switch which will launch a pdb shell at the point of the exception. I think that would be useful to have in doit, too.

pytest has the --pdb switch which will launch a pdb shell at the point of the exception

Like this: http://pydoit.org/cmd_run.html#pdb :grin:
But this only works to debug issues that happen when loading tasks.
Not on task execution... actually I too wished sometimes it would work to debug actual task execution.


Scatter chart

Adds scatter chart. Basically almost same with multi line chart.

Perfect, @yang-wei Thanks for this!  I merge it shortly.  I'll also push out a new release and NPM update as soon as I get the legend and axis labels merged, as  well as more documentation.
By the way, are you interested in being a regular contributor?

By the way, are you interested in continuing as a regular contributor? If so, I'll add you as a contributor with commit rights

Oh man, thanks for asking for this. Really appreciate this but my schedule is quite busy for next 2 month and I can't promise you anything yet. For now don't add me first but surely I will contribute whenever I have time =) @esbullington

No problem, and thanks again!


pan 0.139 (remove from boneyard)

A new formula for pan 0.140 has been submitted to the homebrew repository (see Homebrew/homebrew#50482).

Reverted in d36bbfc5fe5180a35b20651f14a2f3ffbb895e0c.


Multiple Configure with multiple Env fails (with useless error)

This issue was originally created at: 2013-05-08 04:06:42.
This issue was reported by: nbecker.
nbecker said at 2013-05-08 04:06:42

Minimal failing Sconstruct file:

env = Environment()
conf1 = Configure(env)
env2 = Environment()
conf2 = Configure(env2)

Output:
scons: ***
File "C:\TSconsDir\scbug\SConstruct", line 4, in

Fixed by #3557


find why I get an Error (400) in a browser when fetching a Capsule service

Debug mode:
[WARNING] Headers were already written. Wanted to override status code 400 with 200


FEATURE - Add contact API and add params to message API

Hi @encoreshao

Add  contact API
Add params to message API such that it can filter messages by DateTime

it's good to me, thx!


CSS for Safari is all wrong

The formating for Safari is all buggered up.

Edge, Chrome and Firefox all seem to work fine.


Declare the same environment variables as Linux

GPU limit was not set on Windows and test failed in #5496.

/test


Data set and data base names

@akariv I've made a new pull request, but I still have some doubts so I would like to ask:
How can I change the data set name (I only found the data set title).
How can I change the downloadable csv file's title.
It would be good if we could differntiate the data set title, data set name and data base name, so we could try different data sets and use the same name without overwriting them.

I've added the two optional properties dataset-name and resource-name you can now specify besides title.
If not specified, dataset-name will be deduced from the title and resource-name will be deduced from the dataset name.


Improve consistency between stackblitz samples and demo markup

This is the first step for #755.
Unlike #755 it is ready to be reviewed/merged.

@quentinderoubaix Thank you for your review!


Connection timed out

On Linux the command
python3 cve-2021-31166.py --target=<IP_ADDRESS>
hangs then fails with connection timed out error. Target is a Windows 10 20H2 64 bit machine that (I believe) wasn't updated in 3 weeks. Does that mean it isn't vulnerable?

No it means that the script cannot reach the <IP_ADDRESS>:80 endpoint -
might be because of the firewall? You should ensure you can browse
http://<IP_ADDRESS>/ in a browser before trying to use the script.
Cheers
Le mar. 18 mai 2021 à 06:14, trivia211 @.***> a écrit :

On Linux the command
python3 cve-2021-31166.py --target=<IP_ADDRESS>
hangs then fails with connection timed out error. Target is a Windows 10
20H2 64 bit machine that (I believe) wasn't updated in 3 weeks. Does that
mean it isn't vulnerable?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/0vercl0k/CVE-2021-31166/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALIORINUYKKR32N2NH3BLTTOJR4TANCNFSM45CQBZLQ
.

Closing; feel free to re-open if you have more questions :)
Cheers

Thanks, I realized I misunderstood the nature of this vulnerability. I was looking for CVE-2021-24086. Your PoC worked there.

Oh makes sense - awesome!
Cheers
Le mar. 18 mai 2021 à 22:49, trivia211 @.***> a écrit :

Thanks, I realized I misunderstood the nature of this vulnerability. I was
looking for CVE-2021-24086. Your PoC worked there.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/0vercl0k/CVE-2021-31166/issues/2#issuecomment-843765695,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALIORIFAPXN7F4XGU4IDJ3TONGOJANCNFSM45CQBZLQ
.


Place for developer docs

As this project is quite complex, given the different backends and the quirks of keras when it comes to passing arguments like training or serializing objects, I think having a space to document more detailed best practices would be nice. I think CONTRIBUTING.mdshould not grow too much so it is not overwhelming, so I am hesitant to put more detailed and advanced developer documentation there.
How do the other developers/early adopters think about this? Do you feel like this is necessary, or do you think a "learning by example" approach from the existing code base is enough?

It's an absolute necessity and I have been pushing for it since time immemorial (@LarsKue), starting with the minimally sufficient set of keras methods (e.g., get_config, from_config), through inheriting from our custom nets (e.g., SummaryNetwork), to how to write docs (i.e., NumPy-style, using CoPilot/ ChatGPT).

Agree that documenting these quirks is necessary. Ideally, the docs should provide these kinds of tricks as people dive deeper into them rather than having them in one dedicated place. Structural necessities like from_config could be documented in the corresponding base class (e.g. InferenceNetwork).

I think a difficulty with this approach that it is not intuitive where those quirks arise. I think a central document at least with links to the corresponding docs, and with quirks that apply globally, would be valuable as well. Also because many thinks don't clearly belong to a certain base class, e.g. from_config might come up in places that are not related to InferenceNetwork. as that Keras concept applies more broadly.
As we can expect the number of classes and the size of the docs to grow, I think having information about known quirks and design decisions scattered across the documentation has downsides.
@LarsKue What are your reservations against a dedicated place? Possibly out-dated/out-of-sync documentation in different places?

I think such a document is absolutely necessary.
If you like, @vpratz, I suggest you just start writing on one whenever you feel like. Doesn't matter where exactly we put it for now, as long as we start gathering all of these developer relevant stuff. We can still later on decide that we want to move individual parts to some individual docs and just add links to these places in the general dev doc. But for now, the important part is that we need to have the content in the first place.
Thank you for bringing this up! Let me know if there is something you would like us to read and comment.

My only reservation is that, as we add more "required reading to start developing", we increase the entry barrier for contribution, which is exactly what we are trying to avoid by not putting this in CONTRIBUTING.md.

the entry point is very high as is. being explicit about the things that
potential developers  will see in the code but don't understand why all of
this is there, does not increase the entry point imo. I can only say that
this doc would have helped me in the past and would help me now.
both stefan and I seem to be strongly in favor of it so I suggest we do it.
if we see at a later point that it wasn't a good idea we can always improve
the format
Lars @.***> schrieb am So., 22. Dez. 2024, 19:44:

My only reservation is that, as we add more "required reading to start
developing", we increase the entry barrier for contribution, which is
exactly what we are trying to avoid by not putting this in CONTRIBUTING.md
.
—
Reply to this email directly, view it on GitHub
https://github.com/bayesflow-org/bayesflow/issues/287#issuecomment-2558553957,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCW2AFHL5KRFDTHOZPXPP32G4CBJAVCNFSM6AAAAABT7G6MD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGU2TGOJVG4
.
You are receiving this because you commented.Message ID:
@.***>


Improved video info

also improved gitignore for xcode

I can't see what's wrong with my commit. Can you help me?

I can't see what's wrong with my commit. Can you help me?

In the file 'XCDYouTuBeVideo.m there is some conflicts, you had better solve it

I know this is an old PR. However, the only thing preventing me from merging is the hardcoded thumbnail URLs.


Any plans to support DistributedDataParallel?

Hi @npielawski @amjltc295 , thanks for your contribution, are there any plans to support DistributedDataParallel training?

Hi @mitming! I think you can use my fork version of this repo, which implements many useful features including DDP.

Hi @mitming! I think you can use my fork version of this repo, which implements many useful features including DDP.

Thanks a lot! I will tri it!


ngModel on angular-swiper directive

Hi all,
I think it would be very useful to implement an ngModel attribute on the directive. Something like:
<ks-swiper-container ng-model="selectedSlide"......
So you can have in the "selectedSlide" the object that swiper is currently shown into their activeIndex.
Swiper API offers onSlideChangeEnd(swiper) callback. It's possible to use this callback to retrieve current slide object with something like mySwiper.slides[mySwiper.activeIndex] and set this object into ngModel.
I actually would need this feature...
thanks a lot

It would be great. For sure.


401 Client Error: Unauthorized for url

Hi, I'm struggling from deploying example contract with your PoA geth private Network.
I got an error as below when I tried to deploy the contract.
$ nc 172.x.x.x 20000

We design a pretty easy contract challenge. Enjoy it!
Your goal is to make isSolved() function returns true!

[1] - Create an account which will be used to deploy the challenge contract
[2] - Deploy the challenge contract using your generated account
[3] - Get your flag once you meet the requirement
[4] - Show the contract source code
[-] input your choice: 2
[-] input your token: v4.local.bFdMp90mn5dSUcQGMymwkCr2_TO5tTxc~~
401 Client Error: Unauthorized for url: http://172.x.x.x:8545/

Steps to reproduce:

Following the steps in the /geth directory to make an account and a genesis block, and running docker-compose up to start PoA geth private network.
Run docker run -it -p 20000:20000 -e WEB3_PROVIDER_URI=http://172.x.x.x:8545 chainflag/eth-challenge-base
Connect to the challenge server like nc 172.x.x.x 20000
Create an account and request 1ETH in the facuet
Select 2 to deploy a new contract and got an error

So I checked the tcp packet and there was an 401 error since eth_getBlockByNumber was not whitelisted.

Please let me know if I missed anything or if there are any other logs that you need.

Thank you for finding this bug. I updated the transaction type of contract deployment from Legacy to EIP1559,  and the transaction type requires querying the historical blocks to calculate the basefee.  But we disabled the eth_getBlockByNumbermethod in the private chain to prevent players from getting someone else's txhash,  this is the root cause of the 401 error.
I will fix this issue later, for now, you can use the Ethereum testnet as WEB3_PROVIDER_URI or use the 0.9.2 version without EIP1559.

Resolved by #10. Currently the main tag of docker image(chainflag/eth-challenge-base:main)includes this PR,  and I'll re-release 0.9.3 in several days.

Released


Requesting participation in community discussion

Hi there,
We're building some community tooling around WDL at @stjude-rust-labs in the wdl project, and we've identified this repository as one containing quite a bit of WDL workflows. In turn, we're assuming you have quite a bit of experience with WDL and may have opinions on how to best write it. We hope that you'll participate in this discussion (https://github.com/stjude-rust-labs/wdl/discussions/17) so that we can ultimately build tools that improve the WDL community.
Though not ideal, we're reaching out via an issue when there is no clear individual or email to contact to request participation. To that end, feel free to close and/or archive this issue at any time.

Thanks Clay, I've passed this on to the team including @mlin


Installation instructions with pip result in shadowing of blocks modules for autocomplete

Installing blocks and blocks-extras in editable mode
$ pip install -e /path/to/blocks
$ pip install -e /path/to/blocks-extras

results in the shadowing of blocks modules for autocomplete purposes.
$ ipython
In [1] : import blocks.[TAB]

will invariably result in blocks.extras.
http://stackoverflow.com/questions/18830713/ipython-code-completion-does-not-support-namespace-package references this issue, without any definite fixes.
If there is a hack to make it work, maybe adding a note to the readme file.

Truth be told I don't know if this is even supposed to work. @takluyver's comments on the Stack Overflow thread do not sound promising.

I mostly wondered if you had any workaround.

There isn't a workaround that I'm aware of. Namespace packages are hell-spawned. You could manually import all the blocks subpackages from the main blocks distribution in your ipython config, then you'd be able to autocomplete the subpackage names and also within subpackages. Don't know if that would work but I can't see why it wouldn't.

Why bother with namespace packages if they're such a headache. If their main goal is user friendliness, it might make more sense to rename the package blocks-extra.
I know changing the package name at this point would be difficult, but it'd still be better to be done now than later.

+1
You can try to restart the discussion in https://github.com/mila-udem/blocks/issues/696


[AutoPR] compute/resource-manager

Created to accumulate context: compute/resource-manager

(message created by the CI based on PR content)
Installation instruction
Package azure-mgmt-compute
You can install the package azure-mgmt-compute of this PR using the following command:
pip install "git+https://github.com/Azure/azure-sdk-for-python@restapi_auto_compute/resource-manager#egg=azure-mgmt-compute&subdirectory=azure-mgmt-compute"
You can build a wheel to distribute for test using the following command:
pip wheel --no-deps "git+https://github.com/Azure/azure-sdk-for-python@restapi_auto_compute/resource-manager#egg=azure-mgmt-compute&subdirectory=azure-mgmt-compute"
If you have a local clone of this repository, you can also do:

git checkout restapi_auto_compute/resource-manager
pip install -e ./azure-mgmt-compute

Or build a wheel file to distribute for testing:

git checkout restapi_auto_compute/resource-manager
pip wheel --no-deps ./azure-mgmt-compute

Direct download
Your files can be directly downloaded here:

azure_mgmt_compute-4.0.0rc1-py2.py3-none-any.whl
azure-mgmt-compute-4.0.0rc1.zip

Codecov Report

Merging #2276 into master will decrease coverage by 0.38%.
The diff coverage is 29.47%.

@@            Coverage Diff             @@
##           master    #2276      +/-   ##
==========================================
- Coverage   52.76%   52.37%   -0.39%
==========================================
  Files        5627     5631       +4
  Lines      133882   136157    +2275
==========================================
+ Hits        70637    71312     +675
- Misses      63245    64845    +1600

Impacted Files
Coverage Δ

...perations/virtual_machine_extensions_operations.py
71.42% <10%> (-19.2%)
:arrow_down:

.../azure/mgmt/compute/v2017_12_01/models/__init__.py
84.94% <100%> (+0.23%)
:arrow_up:

...re/mgmt/compute/v2017_12_01/operations/__init__.py
100% <100%> (ø)
:arrow_up:

...7_12_01/models/virtual_machine_extension_update.py
33.33% <33.33%> (ø)

..._01/models/virtual_machine_extension_update_py3.py
33.33% <33.33%> (ø)

...t/compute/v2017_12_01/compute_management_client.py
42.85% <50%> (ø)
:arrow_up:

...1/models/virtual_machine_extensions_list_result.py
66.66% <66.66%> (ø)

...dels/virtual_machine_extensions_list_result_py3.py
66.66% <66.66%> (ø)

...17_12_01/operations/virtual_machines_operations.py
53.68% <9.52%> (-1.88%)
:arrow_down:

...e/mgmt/sql/operations/firewall_rules_operations.py
33.87% <0%> (-10.09%)
:arrow_down:

... and 41 more

Continue to review full report at Codecov.

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

@AutorestCI rebase

Rebase done and pushed to the branch

@AutorestCI rebase

Rebase done and pushed to the branch


JToken serializer fails when encountering a Uri within a JObject

When serializing a JObject which has come from the AsyncApi document which contains a "definitions" property, the Serialization fails when using with NewtonsoftJson.
This occurs when attempting to serialize an AsyncApi document that contains schema definition pointers.
Possibly related: https://github.com/neuroglia-io/AsyncApi/issues/8
Below is a screenshot of the trapped error, where we can see the token type is a URI, and token name is "#/definitions/ClassificationForm" <- ClassificationForm is a type in my lib. The issue isn't with that property, the issue is the pointer is a relative URI within the JsonSchema.
I've updated the test was that was passing, to fail, without the below changes.

@cdavernas

@abbottdev Many thanks for your PR ❤ !!! Gonna merge and push the new version asap!


Moving users away using pep517 as a CLI tool

This is the issue for tracking our plans for nudging users to transition away from using pep517 from the CLI. These changes would go into the inc-pep517.build branch and not the default branch.

[x] Revert #83 (see #96)
[x] Point to python-build in the README
[x] {maybe} Point to python-build from issue templates
[x] Add a deprecation warning when pep517.build is used
[x] Add a deprecation warning when pep517.checkis used
[ ] Release a version with the warning - possibly after a bit of a wait, to give people a chance to start moving to python-build and flush out any bugs there.

Originally posted by @takluyver in https://github.com/pypa/pep517/pull/83#issuecomment-689525025 and edited by @pradyunsg

@pradyunsg Apologies in advance is this is covered in an Issue already and I've failed to find it, or if this should be directed to the build Issues and not here, but as it isn't mentioned in PR #83, are there plans to also make an equivalent of pep517.check available in the build CLI API?

@matthewfeickert I think this question should belong to the python-build tracker. pep517 is going to get rid of the CLI at some point as it wasn't meant to be an official public API. OTOH since python-build is a wrapper around pep517, it's probably reasonable to have check there too.

@pradyunsg What is the goal with this old vs. new branch thing? Do you have any idea what the deprecation period is going to be? I was a little surprised that y'all decided to branch instead of revert.
I will also note that I personally think that while it's a good idea to start incrementally moving people to python-build, the current release version is 0.0.4. It needs a lot of love to get to be really stable —  note that it accidentally doesn't work with flit or any other non-setuptools projects, and there's a good chance we'll have to change the console script entry point.
I definitely think it should be in the PyPA namespace, but it would be very nice if we could do a much more gradual migration. I'm not even confident that a deprecation warning would be appropriate at this point because while I encourage people to be early adopters, there's a good chance it will leave a bad taste in users' mouths if we start pushing them towards python-build and it ends up causing a lot of pain (whereas I would hope that if we try to get some slightly wider natural adoption first, we can work out a lot of the kinks and for most people it will be a trivial change to the actual build script with no observable effect).

I'll note that I do think it's fair to stop improving pep517.build, so changes to the issue template or the documentation saying something to the effect of, "We've frozen pep517.build for now, all improvements will go to python-build; this interface will be deprecated once python-build is stable enough."

The branch was my idea. I'm OK with reverting the change on master if people prefer.

The branch was my idea. I'm OK with reverting the change on master if people prefer.

To clarify my position a bit, I don't really care what branching and maintenance strategy you use, it just seems that maintaining a branch with a deprecation warning in it tends to indicate that the timeline would be pretty rapid — presumably you aren't going to stop cutting releases from master for an extended period of time.
I think that — to the extent that it is possible to do so — at least pep517.build should be maintained without an explicit deprecation warning in the code for a few months if not longer to give build a time to stabilize and grow organically. I think it would be preferable to keep pep517.build working (though not necessarily maintained or updated) for a year.
At the end of the day while I think it's fair to say that no support for this was ever really promised because it was considered "experimental", for better or worse no one else stepped up until now, and giving python-build a bad reputation by forcing people onto it before it's "battle hardened" in any way is probably not going to help matters.

Okay, I'm picking this up and working on this, because sigh of course I have no self-control.

Thanks Pradyun for helping out with it.

Quite a bit of work's gone into build and I think it's more mature now as an env builder than pep517 was.  Should the deprecation warnings be added?

[x]  Point to python-build in the README & possibly issue templates (thanks @webknjaz)

@pradyunsg looks like you've marked this as done but there's no template chooser @ https://github.com/pypa/pep517/issues/new

Quite a bit of work's gone into build and I think it's more mature now as an env builder than pep517 was. Should the deprecation warnings be added?

Sounds fair -- @FFY00 you reckon it's OK to start telling users of pep517's CLI to switch to python-build?

I think given the last release this is reasonable.

Shouldn't this page be changed? https://setuptools.readthedocs.io/en/latest/build_meta.html 🤦

Yes it should! If you could filing an issue over at https://github.com/pypa/setuptools, that'd be great! ^.^

Thanks to @hexagonrecursion, all the checkboxes except making the release are now checked. :)

@takluyver Do you reckon you'd have time in the near future to cut a release of this package?

It will probably be a few days before I get to it, but any pypa committer
should be able to make a release (see RELEASE.rst).
On Tue, 31 Aug 2021, 11:38 Pradyun Gedam, @.***> wrote:

@takluyver https://github.com/takluyver Do you reckon you'd have time
in the near future to cut a release of this package?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pypa/pep517/issues/91#issuecomment-909114966, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACQB5PXAEJVOQK3DTCPUI3T7SWJRANCNFSM4RCTEPSQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Is pep517.meta not deprecated? It doesn't emit a warning.

I think it should be.


I trained on UBC Fashion Dataset，but the outcome is pretty bad.

The first few frames did not change according to the pose. Overall, the clarity and coherence are poor, unable to achieve the unet 20 effect given by the author. I changed the code to 5 consecutive positions which couldn't lead to a better performance.

@hello451 十分感谢

This photo shows that I have entered and exited these geographic locations, but no alarm has been registered.


0.11 release

the new release seems to be broken. i will try to take a look at #74 today, its really holding me back.

It seems like dobi continued to use the same version of Gotty, but maybe some other dependency changed which caused this issue. Either way I think i'll fork that library and add a fix.

I tagged v0.11.1 with the fix


systemctl --user broken.

@lrvick @KellerFuchs
To be fair I might of broken it myself trying to get a timer/service to work. systemctl --user suddently stopped working on to1 yesterday and to1 today, but the weird part is that it works fine on a different account on to1
dreamsss@to1:~$ systemctl --user status test.service -l
â— test.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

dreamss@to1:~/.config/systemd/user$ systemctl --user status test.service -l
Failed to get D-Bus connection: No such file or directory

dreamss@sf1:~/.config/systemd/user$  systemctl --user
Failed to get D-Bus connection: Connection refused

@dreamss Based on what I can currently see running, my guess would be that your logged in at some point where your user systemd instance couldn't start (due to yesterday's sssd issue?) and since you still have processes running, your session didn't get properly re-created when connecting back.
If you don't mind, I can run ansible shell_servers -a 'loginctl terminate-user dreamss' to close all your sessions, and you can see if your systemd user instance starts properly?
Note that your unit file has syntax issues (because systemd doesn't allow a comment that doesn't start at the beginning of the line) so it won't get started anyhow (unless you fixed it since).

go for it, thanks

@dreamss Done.  Had to do some shell wrangling, as loginctl got very confused about the whole situation.

Ok to close this now?

@daurnimator I guess so.
@dreamss Please reopen this issue if you still encounter the problem.