Casting to the correct type in generated reproducers

OpenBSD is in the process of removing syscall syscall with __syscall already gone. I'm trying to transition to generating reproducers that use libc functions instead of sycalls. The functions I'm calling are very thin wrappers around syscall anyway. So, I'm pounding on the code in https://github.com/blackgnezdo/syzkaller/commit/6fa2fced5d6c39a653b0efa8b425d609e490e920 which generates code like this now when I run csource tests:
                <stdin>:401:76: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'gid_t *' (aka 'unsigned int *') [-Werror,-Wint-conversion]
                                NONFAILING(res = getgroups(/* "len" */ 5, /* "ptr[inout, array[gid]]" */ 0x20000000));
                                                                                ^~~~~~~~~~
                <stdin>:71:123: note: expanded from macro 'NONFAILING'
                #define NONFAILING(...) ({ int ok = 1; __atomic_fetch_add(&skip_segv, 1, __ATOMIC_SEQ_CST); if (_setjmp(segv_env) == 0) { __VA_ARGS__; } else ok = 0; __atomic_fetch_sub(&skip_segv, 1, __ATOMIC_SEQ_CST); ok; })
                                                                                ^~~~~~~~~~~
                /usr/include/unistd.h:350:28: note: passing argument to parameter here
                int      getgroups(int, gid_t *);
                                               ^

What I'm missing is a way to identify which types are underlying pointers so I can put casts to void* for them and have the compiler do the rest of implicit casting after that. Am I doing something deeply unsupported or just missing something obvious?

We will need the same for the executor itself, right? It will have the same issue.
We have a mode when we execute library functions instead of syscalls. It's enabled by SyscallNumbers=false in sys/targets/targets.go.
In this mode we cast all library functions to:
typedef intptr_t(SYSCALLAPI* syscall_t)(intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t, intptr_t);

and then call uniformly.
This mode should be supported by pkg/csource already I think.

Does this work for invoking libc functions though? Say I have
     int
     openat(int fd, const char *path, int flags, ...);

I believe I have to wrap it into a unification wrapper which will repackage the arguments such as flags and match syscall_t interface. I realize I have to have this for executor.cc invocation, but I was hoping not to package this up into the reproproducers and go directly to libc. Am I missing something?

7ce6ba3 blackgnezdo/syscall-numbers is good enough to start fuzzing locally with vmm and syz-manager. It relies on a sendsyslog patch I'm hoping to land in OpenBSD soon. I'm also seeing csource_test timeout after 10 minutes.

This was just a timeout due to a slow laptop. I reran on a bigger machine and it passes consistently.


Releasing a new version

Hello,
As pubspec files are fixed using simple https because github actions, could release/tag a new version ?
This is for fixing currently broken Arch Linux AUR building ( https://aur.archlinux.org/packages/ccextractor-gui )
Thanks

https://github.com/CCExtractor/ccextractorfluttergui/releases/tag/v0.6.0


Index of type category fails on validation

Validation for an index of type "category" fails starting from version 0.8.0
Minimal reproducible example
import pandas as pd
import pandera as pa

class Schema(pa.SchemaModel):
    categorical_field: pa.typing.Index[pa.Category]

df = (
    pd.DataFrame({"categorical_field": ["a", "b", "c"]})
    .astype({"categorical_field": "category"})
    .set_index("categorical_field")
)
Schema.validate(df)

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/env/lib/python3.8/site-packages/pandera/model.py", line 256, in validate
    cls.to_schema().validate(
  File "/env/lib/python3.8/site-packages/pandera/schemas.py", line 513, in validate
    return self._validate(
  File "/env/lib/python3.8/site-packages/pandera/schemas.py", line 709, in _validate
    error_handler.collect_error("schema_component_check", err)
  File "/env/lib/python3.8/site-packages/pandera/error_handlers.py", line 32, in collect_error
    raise schema_error from original_exc
  File "/env/lib/python3.8/site-packages/pandera/schemas.py", line 701, in _validate
    result = schema_component(
  File "/env/lib/python3.8/site-packages/pandera/schemas.py", line 2043, in __call__
    return self.validate(
  File "/env/lib/python3.8/site-packages/pandera/schema_components.py", line 390, in validate
    super().validate(
  File "/env/lib/python3.8/site-packages/pandera/schemas.py", line 1976, in validate
    error_handler.collect_error(
  File "/env/lib/python3.8/site-packages/pandera/error_handlers.py", line 32, in collect_error
    raise schema_error from original_exc
pandera.errors.SchemaError: expected series 'categorical_field' to have type category, got object

Where it fails
Here
https://github.com/pandera-dev/pandera/blob/9a463e1757e2811bbfee4684562541a5f2110cc3/pandera/schema_components.py#L385-L387
the index gets converted to a numpy array but Categorical is not a numpy array and therefore validation fails
removing the numpy conversion lets the validation pass, but I do not know what else it would/could influence

thanks for reporting this @aartaria, this is definitely a bug!
don't exactly remember now why that to_numpy call is there, can you see which unit tests fail if you remove it? I have a suspicion it's there for the sake of supporting the pandas-like frameworks (pyspark.pandas, modin, or dask) but yeah ideally that wouldn't need to be called

https://github.com/unionai-oss/pandera/pull/856 fixed this apparantly, but just gonna keep this open, since #856 didn't add unit tests for the changes


Support single master cluster mode

Support single master cluster mode without prerequisites ZK will be helpful for new users to learn about Shuttle or even deploy Shuffle for some non-critical scenarios.

Good idea, we just considered the HA scenarios for online service. We will implement the function proposed by this issue as soon as possible.


Add doc blocks

Add doc blocks for Link and LinkSiteTree. Improves dev experience when using module.

Thanks for your contribution!


Add doctest Newman-Tobias

Description
Doctest for Newman Tobias
Fixes # Issue 1994
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[x] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[ ] No style issues: $ flake8
[ ] All tests pass: $ python run-tests.py --unit
[ ] The documentation builds: $ cd docs and then $ make clean; make html

You can run all three at once, using $ python run-tests.py --quick.
Further checks:

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

Looks like this has been abandoned, so closing.


[TableCard] Custom threshold icon displays beside the wrong column in Table views

Describe the bug
When definining multiple thresholds and are not order in accordance with the column headers ordering, they render in the incorrect columsn, with the incorrect headers.
Internal issue: https://github.ibm.com/wiotp/monitoring-dashboard/issues/873
Expected behavior
Threshold columns should render in the correct positions with the correct labels regardless of order

:tada: This issue has been resolved in version 2.57.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


QuickLook not working in 1.1.5

Describe the bug
Pressing space and using the quicklook context menu option do nothing.
To Reproduce
Steps to reproduce the behavior:

Go to a file/folder
Click on it once
Press space bar
No QuickLook :(

Expected behavior
A QuickLook window with a preview of the file should show up.
Desktop (please complete the following information):

OS Version: Windows 10 20H2 19042.782
App version: <IP_ADDRESS>

Additional context
I have tried terminating, using the Settings app and restarting both Files and QuickLook
Log file
I'm not sure if a log file would be useful here but I'll post it in case it is
debug.txt
debug_fulltrust.txt

As described in #3233, I am using version <IP_ADDRESS> (QuickLook version <IP_ADDRESS> - downloaded from Microsoft Store) and QuickLook does not work.

As described in #3233, I am using version <IP_ADDRESS> (QuickLook version <IP_ADDRESS> - downloaded from Microsoft Store) and QuickLook does not work.

@AndyMDoyle could you check the error reported in debug_fulltrust? Looks related to OneDrive detection

@AndyMDoyle could you check the error reported in debug_fulltrust? Looks related to OneDrive detection

Looking at my debug_fulltrust.txt log I see the first entry says:
2020-12-21 22:05:35.8272|INFO|FilesFullTrust.QuickLook|QuickLook detected: False|.
This is wrong. I have QuickLook installed. I will try the version which is available here on GitHub, maybe it is a problem with the Microsoft Store Version

Looking at my debug_fulltrust.txt log I see the first entry says:
2020-12-21 22:05:35.8272|INFO|FilesFullTrust.QuickLook|QuickLook detected: False|.
This is wrong. I have QuickLook installed. I will try the version which is available here on GitHub, maybe it is a problem with the Microsoft Store Version

@KibSquib48 Did you install QuickLook from the Microsoft Store? If yes, you could try to install it from here and see if it is working. I did this and it worked for me. Then I deinstalled the QuickLook from GitHub again and installed it from the Microsoft Store again. Now it is working 🤷♂

@KibSquib48 Did you install QuickLook from the Microsoft Store? If yes, you could try to install it from here and see if it is working. I did this and it worked for me. Then I deinstalled the QuickLook from GitHub again and installed it from the Microsoft Store again. Now it is working 🤷♂

@KibSquib48 Did you install QuickLook from the Microsoft Store? If yes, you could try to install it from here and see if it is working. I did this and it worked for me. Then I deinstalled the QuickLook from GitHub again and installed it from the Microsoft Store again. Now it is working 🤷♂

Not working with .msi or .zip from there, also uninstalled and then reinstalled from MS store, still nothing...

@KibSquib48 Did you install QuickLook from the Microsoft Store? If yes, you could try to install it from here and see if it is working. I did this and it worked for me. Then I deinstalled the QuickLook from GitHub again and installed it from the Microsoft Store again. Now it is working 🤷♂

Not working with .msi or .zip from there, also uninstalled and then reinstalled from MS store, still nothing...

@KibSquib48 from the log file it looks like the issue is not just with wuicklook. For example I'm guessing that context menu should be not working for you as well?

@KibSquib48 from the log file it looks like the issue is not just with wuicklook. For example I'm guessing that context menu should be not working for you as well?

@KibSquib48 from the log file it looks like the issue is not just with wuicklook. For example I'm guessing that context menu should be not working for you as well?

yeah, I have another issue for that too

@KibSquib48 from the log file it looks like the issue is not just with wuicklook. For example I'm guessing that context menu should be not working for you as well?

yeah, I have another issue for that too

@AndyMDoyle could you check the error reported in debug_fulltrust? Looks related to OneDrive detection
@KibSquib48 do you have OneDrive installed and connected to an account?

@gave92 PR with a fix: #3234

@AndyMDoyle could you check the error reported in debug_fulltrust? Looks related to OneDrive detection
@KibSquib48 do you have OneDrive installed and connected to an account?

@gave92 PR with a fix: #3234

@KibSquib48 do you have OneDrive installed and connected to an account?

I don't, the very first thing I uninstalled on this was OneDrive

@KibSquib48 do you have OneDrive installed and connected to an account?

I don't, the very first thing I uninstalled on this was OneDrive

@KibSquib48 From the stacktrace it looks like that would solve the context menu & quicklook issues. Anyway we're working on a fix in #3234 which will be included in the next release.

@KibSquib48 From the stacktrace it looks like that would solve the context menu & quicklook issues. Anyway we're working on a fix in #3234 which will be included in the next release.

@KibSquib48 From the stacktrace it looks like that would solve the context menu & quicklook issues. Anyway we're working on a fix in #3234 which will be included in the next release.

yep installing OneDrive fixed it, glad to hear that a fix is coming!

@KibSquib48 From the stacktrace it looks like that would solve the context menu & quicklook issues. Anyway we're working on a fix in #3234 which will be included in the next release.

yep installing OneDrive fixed it, glad to hear that a fix is coming!

I had also uninstalled Onedrive from my PC, and facing same issue. Looking forward for a fix 😄

I had also uninstalled Onedrive from my PC, and facing same issue. Looking forward for a fix 😄

Works for me, weird

Works for me, weird

@KibSquib48 This issue should be resolved with #3234.

@KibSquib48 This issue should be resolved with #3234.


size in mm

hello
how can i change px to mm ?

Open .jsx file
Replace "px" into "inch" use find and replace.
save and run.

oh jsx file, it did not see (doh)
thank you

@murlai @kovacsdongo actually it’s not that easy.
Size in millimeters is connected to a document’s resolution (e. g. 72 pixels per inch literally means 72 pixels in the document became 1 inch after the document is printed).
Thus changing px to mm maybe is not what you’re looking for.

@murlai @kovacsdongo actually it’s not that easy.
Size in millimeters is connected to a document’s resolution (e. g. 72 pixels per inch literally means 72 pixels in the document became 1 inch after the document is printed).
Thus changing px to mm maybe is not what you’re looking for.


Create dataset loader for ETOS

Dataloader name: etos/etos.py
DataCatalogue: http://seacrowd.github.io/seacrowd-catalogue/card.html?etos

Dataset
etos

Description
ETOS (Ejaan oTOmatiS) is a dataset for automatic spelling correction for formal Indonesian text. It consists of 200 sentences with each sentence contains at least one typo. It has 4,323 tokens with 288 of them are non-word errors.

Subsets
-

Languages
ind

Tasks
Error Spelling Correction

License
GNU Affero General Public License v3.0 (agpl-3.0)

Homepage
https://github.com/ir-nlp-csui/etos

HF URL
-

Paper URL
https://ieeexplore.ieee.org/document/10053062

#self-assign

Hi @holylovenia @SamuelCahyawijaya, so this dataset's task is supposed to be for Error Spelling Correction. We currently don't have that as an existing Task.
Another concern: the data provided doesn't even (1) specify which tokens are incorrectly spelled, and (2) does not contain any corrections for these typos.
What would you recommend to do for this? Thanks!

https://github.com/ir-nlp-csui/etos

I tried manually checking the data and arrived at the same conclusion as @raileymontalan's, i.e., the data do not specify nor fix the typos.
In this state, as it doesn't have sufficient annotations, I doubt the dataset would be useful. Should we consider 1) removing this dataloader issue and the datasheet, or 2) just implementing the source schema (no need for seacrowd schema)?
cc: @SamuelCahyawijaya @sabilmakbar

Hi @SamuelCahyawijaya @sabilmakbar any thoughts on @holylovenia's suggestions? It's looking like #2 (remove the seacrowd schema) is preferable here.

@raileymontalan @holylovenia: yeah I think for these kind of datasets with no clear downstream task we can just implement the source schema. I will label the issue as source-only.

https://github.com/ir-nlp-csui/etos

I tried manually checking the data and arrived at the same conclusion as @raileymontalan's, i.e., the data do not specify nor fix the typos.
In this state, as it doesn't have sufficient annotations, I doubt the dataset would be useful. Should we consider 1) removing this dataloader issue and the datasheet, or 2) just implementing the source schema (no need for seacrowd schema)?

@SamuelCahyawijaya It's not unclear downstream task. It doesn't have the appropriate annotations, hence my no. 1 suggestion.

@holylovenia: Let me clear up the definition of unclear downstream task first.
In my opinion, the dataset is well-annotated since it uses a standard conllu format with annotated POS tags.  But because the paper mentions that the dataset is for automatic spelling correction, I think the existing annotation is not helpful (I don't have access to the paper, so I cannot confirm what kind of experiment is conducted in the paper) and instead it's rather confusing why the POS annotation is there, hence I called it as unclear downstream task.
In my opinion, the data looks good, it comes from a reputable source, and it also has a publication, so in this case, I am not sure why we need to remove the dataloader. If we can confirm the task that is done in the paper, we can perhaps follow their experiment (e.g., if they do POS tagging then we can just change the task into POS tagging).

@holylovenia: Let me clear up the definition of unclear downstream task first.
In my opinion, the dataset is well-annotated since it uses a standard conllu format with annotated POS tags. But because the paper mentions that the dataset is for automatic spelling correction, I think the existing annotation is not helpful (I don't have access to the paper, so I cannot confirm what kind of experiment is conducted in the paper) and instead it's rather confusing why the POS annotation is there, hence I called it as unclear downstream task.
In my opinion, the data looks good, it comes from a reputable source, and it also has a publication, so in this case, I am not sure why we need to remove the dataloader. If we can confirm the task that is done in the paper, we can perhaps follow their experiment (e.g., if they do POS tagging then we can just change the task into POS tagging).

Yeah sure, I agree that converting the task to POS tagging is much better than completely not using it. What do you think, @raileymontalan?

@holylovenia yup can convert this to a POS tagging task instead. Thanks!

Pushed some changes for this dataloader to include the missing __init__.py file. This should be good for PR review. Thanks! @sabilmakbar

Coming from reviewing the dataloader, I suppose this datasheet will be updated for the POS tagging task, right? Just a reminder @SamuelCahyawijaya

Coming from reviewing the dataloader, I suppose this datasheet will be updated for the POS tagging task, right? Just a reminder @SamuelCahyawijaya

Yes, because the dataset does not support the annotation for error spelling correction, @akhdanfadh. Let me modify the datasheet and the issue ticket.


help me

i want to clear the debug info but i cant

In what specific definition do you mean? Are you talking about clearing the debug command window, such as using cls in the Windows Command Prompt, or are you talking about something else?

(closing this since no answers for a while, feel free to reopen if you need


Milestore entities and objects

Design the entities representing a milestone along with the object meant for interaction / collision

Blocked by #6 and #5


I try it in openshift diy and now error is strange

I use Do-It-Yourself 0.1 in openshift
here is how to deploy
now and error occur
2015/09/09 02:58:34 [...s/setting/setting.go:339 NewConfigContext()] [E] Expect user(55efb6e42d5271989200019e) but current user is:

the only way to work out is run it via ssh
export HOME=$OPENSHIFT_DATA_DIR
cd $HOME/gogs
HOME=$OPENSHIFT_DATA_DIR nohup $OPENSHIFT_DATA_DIR/gogs/gogs web -c $OPENSHIFT_DATA_DIR/gogs/conf/app.ini>>$OPENSHIFT_DATA_DIR/gogs/err.log 2>&1 & echo $! > $OPENSHIFT_DATA_DIR/gogs/run.pid

sorry, I try it with go1.5.1 and it works!

now I try build form source

find the bug in
modules/setting/setting.go
Line 344,get empty
I try this code
log.Fatal(4, curUser)

and get output
[...s/setting/setting.go:344 NewConfigContext()] [E]

建议能在配置文件中设置运行用户

Thanks your feedback!
But based on the code: https://github.com/gogits/gogs/blob/master/modules/user/user.go#L11
I think all you need to do it set a env var.

建议能在配置文件中设置取得为空的时候默认是RunUser

Hmm... sorry I think there are too much grammar error for preventing me to understand the meaning of your sentence. :dizzy_face:

export USERNAME=$OPENSHIFT_APP_UUID

It works,thanks


Upgrade sharp

Using the old version of the sharp dependency breaks builds on Windows.

@lolmaus can you please provide a PR?

@simonihmig, ember-responsive-image has no lockfile. Should I check it in?

Yes! Also add useYarn: true here: https://github.com/kaliber5/ember-responsive-image/blob/master/config/ember-try.js#L12

This sharp upgrade is also needed for anyone using Node v12. Might you be able to release an update with that PR soon?
I saw this issue is affecting other projects: https://github.com/gatsbyjs/gatsby/issues/13780#issuecomment-488383193

You guys want help with this? I'm blocked by the same, I believe.

Quick update, I was able to work around my build issue with a package.json resolution,
  "resolutions": {
    "sharp": "0.23.0"
  },

You must be on the latest RC, v1.0.0-rc.6, for everything to work, especially if you are also using ember-lazy-responsive-image since that's the version it depends on. Once the stars align things should work.
As a side note, we use docker for our projects which makes debugging things like this tricky. This stack overflow did the trick for debugging my failed docker builds to solve my version mismatch problem.


Automate submission of simulations after set up

Simulations will be long running processes, possibly 100s can be submitted at once. Ideally we would have a module that can submit/start all these processes. The processes will run in the background.

Available via duqtools submit, closing this.


Error: Failed to update versions db

Hi
I've recently installed Julia 1.10 from the Windows Store using
winget install julia -s msstore

At the Git bash command line if I run Julia I get:
$ julia
Error: The Julia launcher failed to figure out which juliaup channel to use.

If I run juliaup status:
$ juliaup status
 Default  Channel  Version  Update
-----------------------------------

i.e. there are no channels ready to use. If I try to add a channel:
$ juliaup add 1.10
Error: Failed to update versions db.

Caused by:
    0: Failed to download current version db version.
    1: Failed on http_client.GetStringAsync.get
    2: A redirect request will change a secure to a non-secure connection (0x80072F08)

The same with:
$ juliaup self update
Error: Failed to update versions db.

Caused by:
    0: Failed to download current version db version.
    1: Failed on http_client.GetStringAsync.get
    2: A redirect request will change a secure to a non-secure connection (0x80072F08)

$ juliaup list

gives me a long list of channel options. I just can't seem to add any of them.
Any ideas how to fix this please?
StackOverflow says:
The error (0x80072f08) means you are doing a HTTPS request that is responding with a redirection to a HTTP url.

I'm quite new to Julia so I don't know where to look for things like finding out where the juliaup update db server is located, and so on.
I was using Julia 1.9.3 just fine until now, but then I switched to the Windows Store pathway when I chose to move to 1.10.
$ juliaup -V
Juliaup 1.12.0

Hm, not sure. The error message to me seems to indicate that something (presumably on your corporate network) is redirecting our request to a (secure) https location to an (unsecure) http location. I don't know what exactly is doing that, but it seems very insecure to me and I think Juliaup right now correctly errors in such a situation... We are downloading software to a computer, and so I really don't want us to download from random unsecure locations, that seems like a huge security problem.
I think the main question is what is causing that in the first place...

Thanks again David, I appreciate your patience and the detail.
I assume that the server juliaup is trying to reach is https://julialang-s3.julialang.org/ (as per the README). I can access that site fine in my browser (with https) so I don't really understand why a command line tool would be blocked or redirected. I appreciate that it an issue at my end, however, not a problem with juliaup, even if I don't know how to fix it.
I think if I report it to my corporate IT department they will just say "well that domain isn't blocked".

My corporate IT helpdesk finally got to looking at this last week and it was indeed caused by a proxy issue. He cleared the proxy cache in the Windows registry and juliaup worked fine. Once the cache started filling up again, I could no longer use refresh juliaup data.
(This proxy issue is causing all sorts of issues for at my organisation, but that's another matter!)


add an extra format token to the primary data string so that JRuby do…

…esn't break
for: https://github.com/rails-api/active_model_serializers/pull/1004

@bf4, what do you. Think of this solution?
I can handle squashing and merging into rails-api/ams, if you are busy :-)

Failure is in https://travis-ci.org/rails-api/active_model_serializers/jobs/111938627

Thaatt failure is from 9 days ago? Unless I misread it

Travis passes for this pr

@NullVoxPopuli I just meant that's the failure this PR is responding to

yes :-)


Disruptor 3320 Neutron Turret ship weapon issues

"Magazine Size" is >0. This weapon can continue firing at normal rate until its magazine is exhausted even if the player hasn't set the power to max. This should not be the case for non-automatic weapons.
"Recharge Delay" is not "0". Given that this is not an automatic weapon, it should not have a recharge delay.

Details
Form ID 0014A8CD [WEAP]
Game Version
<IP_ADDRESS>
New Game
Yes
Reproduction Steps
Look at the WEAP record in Starfield.esm via xEdit.

https://github.com/Starfield-Community-Patch/Starfield-Community-Patch/commit/a51cf6dbb83968aa19b2ab8b3bb16811260bd46d


4.x BrokenPipe error (Error in data transfer)

This error seems to have originated in the 4.0 release of WebSockets, it was nonexistent in 3.x
Error in data transfer
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/websockets/protocol.py", line 496, in transfer_data
    msg = yield from self.read_message()
  File "/usr/local/lib/python3.6/site-packages/websockets/protocol.py", line 526, in read_message
    frame = yield from self.read_data_frame(max_size=self.max_size)
  File "/usr/local/lib/python3.6/site-packages/websockets/protocol.py", line 591, in read_data_frame
    frame = yield from self.read_frame(max_size)
  File "/usr/local/lib/python3.6/site-packages/websockets/protocol.py", line 632, in read_frame
    extensions=self.extensions,
  File "/usr/local/lib/python3.6/site-packages/websockets/framing.py", line 100, in read
    data = yield from reader(2)
  File "/usr/local/lib/python3.6/asyncio/streams.py", line 663, in readexactly
    raise self._exception
  File "/usr/local/lib/python3.6/asyncio/selector_events.py", line 761, in write
    n = self._sock.send(data)
BrokenPipeError: [Errno 32] Broken pipe

Not too sure what's causing it, any feedback would be appreciated!

This means the network connection breaks, either because the other end disconnects brutally or times out, while websockets is waiting for the next frame.
This might be related to #348.

I'm confident that #389 solves this problem but it's always useful if you can confirm :-)

Please reopen if the error still occurs after #389 or with the upcoming 5.0 release.

Hey, thank you for the fix!
Sorry for not responding earlier, I've been stumped with school work and completely forgot about this.
I'll test it and let you know of any problems that might arise!

No hurry :-) There's still quite a few things I'd like to get in 5.0, I don't expect to release it before a few weeks.


Fixed an error in running in version 2.0.0

Using an Int64 directly in the SendMessage function is no longer straightforward.

I changed it to .chat()

Anyway I just wanted to say that the current README.MD in
let fromId: Int64 = 12345678 // your user id bot.sendMessageSync(fromId, "Hello!") // blocks until the message is sent bot.sendMessageSync(fromId, "Bye.")
It's not going to work.

Now it's perfect, merging


[FEATURE REQ] Collect BI data for Kafka passwordless library automatically

Context
The passwordless connection support of Event Hubs for Kafka has been beta released from version 4.3.0.
For the support, we have set our user agents:

"az-sp-kafka"

Now we need to collect the data of our library of com.azure.spring:spring-cloud-azure-starter according to the user agent.
Goal

Setup stuff (lens job, kusto job, BI query, etc) to collect our data usage of Kafka passwordless support library automatically.
Display the data in BI dashboard.

Solution

Search for our SDK track2 telemetry database to see whether the Event Hubs service data can be collected automatically.
If not, ask for the Service and SDK team to see if this can be done by modifying the stream of the telemetry data.
Otherwise, we have to load data from Event Hubs service database manually to our telemetry database.

Closing this, redirect to ado-private only


PictureRecorder - crash native code in release mode on endRecording().toImage() method

Flutter doctor output (Android licenses are actually accepted, compilation works just fine):

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.0, on Linux, locale pl_PL.UTF-8)
    • Flutter version 2.2.0 at /home/user/Android/flutter/flutter
    • Framework revision b22742018b (8 dni temu), 2021-05-14 19:12:57 -0700
    • Engine revision a9d88a4d18
    • Dart version 2.13.0

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /home/user/Android/Sdk
    • Platform android-30, build-tools 28.0.3
    • Java binary at: /home/michal2/android/studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+0-b944-P17168821)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/linux#android-setup for more details.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✗] Linux toolchain - develop for Linux desktop
    • Debian clang version 11.0.1-2
    • cmake version 3.18.4
    • ninja version 1.10.1
    • pkg-config version 0.29.2
    ✗ GTK 3.0 development libraries are required for Linux development.
       Nothing related to Google Maps. I am able to reproduce crash with 1 flavor only, second one have never crashed with the same scenario.
Before release build process, flutter clean is perfomed. Any thoughts? Also, I am unable to reproduce that on clean app.
[edit]
I finally tracked where crash occurs. It's not google maps plugin issue, crash occurs while generating bitmap descriptors for map markers. Let me show my code:
Future<BitmapDescriptor> getMarkerBitmap({String categoryId, bool isSelected = false}) async {
    int size = (25 * globals.devicePixelRatio).toInt();
    double radius = 7 * globals.devicePixelRatio;

    var dictionary = [globals.categories.event, globals.categories.suggestions].expand((x) => x).toList();
    var category = dictionary.firstWhere((element) => element.id == categoryId, orElse: () => null);
    String iconName = category != null ? category.iconName : null;
    String text = fontawesome.fontAwesome[iconName ?? "exclamation-circle"] ?? fontawesome.fontAwesome["exclamation-circle"];

    final PictureRecorder pictureRecorder = PictureRecorder();
    final Canvas canvas = Canvas(pictureRecorder);
    final Paint paint1 = Paint()..color = isSelected ? Colors.green : Colors.blue;

    final Paint paintBorder = Paint()
      ..color = Colors.white
      ..style = PaintingStyle.stroke
      ..strokeWidth = 3.0;

    RRect rrect = RRect.fromRectAndRadius(
        Rect.fromLTWH(
          0,
          0,
          size.toDouble(),
          size.toDouble(),
        ),
        Radius.circular(radius));

    canvas.drawRRect(rrect, paint1);
    canvas.drawRRect(rrect, paintBorder);

    if (text != null) {
      TextPainter painter = TextPainter(textDirection: TextDirection.ltr);
      painter.text = TextSpan(
        text: text,
        style: TextStyle(fontSize: size / 1.5, color: Colors.white, fontFamily: 'Fontawesome', fontWeight: FontWeight.normal),
      );
      painter.layout();
      painter.paint(
        canvas,
        Offset(size / 2 - painter.width / 2, size / 2 - painter.height / 2),
      );
    }

    final img = await pictureRecorder.endRecording().toImage(size, size); //<----CRASH!
    final data = await img.toByteData(format: ImageByteFormat.png);

    return BitmapDescriptor.fromBytes(data.buffer.asUint8List());
  }

So, PictureRecorder crash occurs on endRecording().toImage() method. Crash occurs after above method called ~100 times. It's called on initState method for my map widget. If I go to other page, then open map page again, crash occurs.
And still, I am sure I'm not getting any crashes in debug mode - in debug mode eveyrthing is fine.
Any ideas? I think there's nothing left to dispose here.
StackOverflow question:
https://stackoverflow.com/questions/67652109/flutter-picturerecorder-crash-in-release-mode-android

Hi @giaur500
Can you please provide a complete reproducible runnable minimal code sample
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Validate required field with zero-values

Problem
The field description specifies that it is required, but the user has filled it with a zero value.
Now, in current architecture
Only field values of DataKind_RecordID type are validated for non-zero values.
Exists code
Expanded data kind switch

// Validates specified row
func (v *validator) validRow(row *rowType) (err error) {
  v.typ.(appdef.IFields).Fields(
    func(f appdef.IField) {
      if f.Required() {
        if !row.HasValue(f.Name()) {
          err = errors.Join(err,
            validateErrorf(ECode_EmptyData, "%s misses field «%s» required for type «%v»: %w", v.entName(row), f.Name(), v.typ.QName(), ErrNameNotFound))
          return
        }
        if !f.IsSys() {
          switch f.DataKind() {
          case appdef.DataKind_RecordID:
            if row.AsRecordID(f.Name()) == istructs.NullRecordID {
              err = errors.Join(err,
                validateErrorf(ECode_InvalidRefRecordID, "%s required ref field «%s» has NullRecordID value: %w", v.entName(row), f.Name(), ErrWrongRecordID))
              }
            }
          }
        }
      })

  return err
}

Problem (warm): Are fields of other types (Numeric, String & Bytes, DataKind_QName, ...) required to be validated similarly?

Not required because the initial problem is related to ref fields only: required ref RecordID field is zero -> schema-related validation passes (zero is not nil -> ok) but SalesMetrics projector compared that ref field to NullRecordID which is zero as well. Collision: has value but NullRecordID.
Let's consider zero values for other types as valid not null values

The problem is in one of two cases:

in the new record, fill the required field with zero (empty string), and the validator should throw an error, or
in the edited record, clear the required field (by writing a zero/empty string), and the validator should throw an error.

Both of the above cases can be solved by imposing a constraint on the field (or on the data type in the field), MinLength: 1 for a string or MinExcl: 0 for a number


Add GEM to list

Swapped out for the correct token address.

Changed out logo for correct contract

Final Fix

FINAL


Change sources tab name

Little PR to change the sources tab name
https://basecamp.com/1756858/projects/13795275/todos/357779376

👍

I just came across the email about this and I think they want the "M" to be in capital letters: "Sources & Metadata".
Also please label the PRs! =)

@Bluesmile82 do you take this ☝ ?


updated homepage about

resolved issue #822
pls review and check

@panwar8279 pls review

@panwar8279 pls review


移动 g_user_metric_label_count位置，避免循环引用

Why

What is changing
Example

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

代码用clang-format13 格式化一下，或者根据ci的提示手动格式化一下。


removed incremental operations from int.c

BSDNT provides incremental (mutating) arithmetic which should not be used in Acton


private constructor arguments are not recognized as being read

See here, with the private keyword on original, I get the warning that original is declared, but never used.

Without the keyword this does not happen

Have you checked how it works in other LSP-s? Like vscode or typescript-language-server?

Looks like its an issue in other places as well, I see the same behavior in Webstorm.

But I see that's a typescript error, so you can give a snippet of code and add issue to typescript repo.
https://www.typescriptlang.org/play/?ssl=27&ssc=1&pln=27&pc=4#code/PTAEHUFMBsGMHsC2lQBd5oBYoCoE8AHSAZVgCcBLA1UABWgEM8BzM+AVwDsATAGiwoBnUENANQAd0gAjQRVSQAUCEmYKsTKGYUAbpGF4OY0BoadYKdJMoL+gzAzIoz3UNEiPOofEVKVqAHSKymAAmkYI7NCuqGqcANag8ABmIjQUXrFOKBJMggBcISGgoAC0oACCbvCwDKgU8JkY7p7ehCTkVDQS2E6gnPCxGcwmZqDSTgzxxWWVoASMFmgYkAAeRJTInN3ymj4d-jSCeNsMq-wuoPaOltigAKoASgAywhK7SbGQZIIz5VWCFzSeCrZagNYbChbHaxUDcCjJZLfSDbExIAgUdxkUBIursJzCFJtXydajBBCcQQ0MwAUVWDEQC0gADVHBQGNJ3KAALygABEAAkYNAMOB4GRonzFBTBPB3AERcwABS0+mM9ysygc9wASmCKhwzQ8ZC8iHFzmB7BoXzcZmY7AYzEg-Fg0HUiQ58D0Ii8fLpDKZgj5SWxfPADlQAHJhAA5SASPlBFQAeS+ZHegmdWkgR1QjgUrmkeFATjNOmGWH0KAQiGhwkuNok4uiIgMHGxCyYrA4PCCJUUJVdDEEwgAYvAMABvAcleaUHR1ZxkMhMfJiTh4ADaAF0ANzBWdoymoMjsWDoMhKgjzxefXprsxb7c60DTw+HoaCAKOFfF3mbgJAMGXo9xnd8BC-H8mB5O9vn3Q8AF8D1nJ1UAqZcmCVF833Aksc3xTI1EgjC8Hg2ckJKBCgA

But on the other side this error is  kind of correct. You declare private property, this property is only used in the constructor and is not used anywhere else so you should either remove private or use it in some other place other than constructor

You're right, I didn't understand the difference between
constructor(foo: string) {}

constructor(public foo: string) {}

I thought that there was a default modifier of public, for the first case, but it turns out it's just treated as an argument and not assigned a field on the class. I should just not add a modifier and I get the behavior I'm looking for.
I apologize for my lack of brain wrinkles


"/" menu render + editor changes

In this PR:

have added a menu with different options to shift the current block to different text styles like h1, h2, quote, etc
render the menu using the "/" key from the user and surrounding
focusing on the menu when "/" is clicked and getting the focus back to the editor when an option is selected
workaround the changing of every next block to a basic "p" tag automatically which before used to shift to the parent block
not shifting next line to "p" tag when a list (numbered-list, bulleted-list) is being used

attaching a loom demo of the whole part below:
https://www.loom.com/share/9a8b7e152d344c8b88720f0a2f05f3bf

Had to change "renderMenu" from var to function again because it has dependencies inside and react hooks were causing problems around rendering the menu,


Update nccl installation in Dockerfile.build.centos7

By moving the NCCL installation before the COPY runtime_functions.sh statement, users will not
suffer from cache invalidation due to the COPY and don't have to repeat the
nccl installation locally as there will be a cache hit when using python ci/build.py --platform centos7_gpu_cu100 /work/runtime_functions.sh build_static_libmxnet cu100.

@mxnet-bot run ci [miscellaneous]


Different Keyboards

Here's a issue i've found, every or almost every mod uses a QWERTY keyboard, problem is that the mods are unplayable on different keyboard languages, if possible, please write patches for different languages of keyboards, thanks!

Hi, what keyboard languages are you talking about? I am using a Swiss layout myself and that works, however the key to open chat is somewhere different (for me it is the "-_" key). This is dependant on the game itself.
If you are talking about any non latin language, that uses different symbols like kyrillic or chinese or whatever, i will probably not be able to make it.
Otherwise if you give me more details it may be possible.

What im saying is that uhm..Since most mods use the / in the ENGLISH keyboard language it is basically impossible to play if you have any other language, such as me, i'm brazilian using a brazilian language and i can't play it.

I've tested some things such as change the button to another one but they also did not work.

what keyboard do you have

What??

So you have you tried changing the prefix in the config? It may not fully work with the nonhost stuff, but it should work for you as the host. I still need to fix the network communication if you change the prefix but that doesnt seem to be your issue.
If you have changed the prefix inside the config, can you send me what you input as the command and what the logs say. You should see the thing you input in the log as a Recieved Chat Input and then what you wrote in the chat.
Also have you checked if there is any error listed in the log?

I did exactly that, changed the thing in the prefix, nothing worked, the errors in the log i've not tried tho so i will do it right now also may i know if you have a discord so i can maybe talk to you more about it?

Okay here's something, it says Invalid or Null chat input.

I figured ; is / in the english language but i can't seem to get it right on the config.

you can also set the prefix to something like cmd: in the config and it should work without a problem

does this solve your issue @GreatAssetToTheCompany ?


Convert absolute links into relative ones

While I was working on the transfer of the current site code to my own repository - https://andygol.github.io/learnosm/, I was faced with the problem of having absolute links for images, files and other pages in the page code. I had pages without images and with not working links.
[English](/en/beginner/id-editor)

I converted them into relative links for this purposes
[English]({{site.baseurl}}/en/beginner/id-editor)

❓❓❓
Does it make sense to have links for all internal resources as relative ones in the production code?

Hi, using my phone so just a short answer at the moment.
This may be more to do with the format in the individual module. Some have a tab space at the beginning of the line and jekyll doesn't like it.
! [Image]

For example might fail

Hi @Andygol on my laptop now so a better answer.
For example - https://andygol.github.io/learnosm/fa/beginner/start-osm/ is only displaying the first image, but you have inserted
    {{site.baseurl}}

in front of all of the image links.
If you look at the module in the raw format - https://raw.githubusercontent.com/Andygol/learnosm/gh-pages/_posts/fa/0200-12-27-start-osm_fa.md  you will see that the links in the text are;
first image ![website][] is at the extreme left site of the 'page', whereas all of the other images are one tab or about 4 spaces from the left edge of the page.
On the main site http://learnosm.org/fa/beginner/start-osm/  I've removed the tab spaces and the images display.
We haven't needed the {{site.baseurl}} part of the address for at least a couple of years, although there are some modules that need updating.
I've been very gradually going through modules that are out of date, or need re formating, and removing unnecessary line feeds, tab spaces and other problems - but there is a way to go!
Regards
Nick
p.s.  just a thought, if this is not the full reason, the other may be where you are running the site once level up from root - but I don't think so.

Hm, this is really weird behaviour when the leading space causes image breakage.
😞
I removed spaces before ![image][] links in my instance and now all looks well.

Ok to close now?

Closing on current info.


DS-4244 Add configurable entities unit tests

This adds class-level tests for configurable entities (relationships, entities, and the virtual package), called for by https://jira.duraspace.org/browse/DS-4244

@tdonohue That's poor form on my part, I'll update with comments shortly.

@AndrewZWood : Thanks for adding Javadocs.  Strangely though, this PR seems to no longer be triggering a Travis CI build. I'm not sure what happened after your last commit, but it's "stalled".
Could you try doing another force push, or make a small commit to see if we can retrigger Travis?

@AndrewZWood : Thanks for adding Javadocs. Strangely though, this PR seems to no longer be triggering a Travis CI build. I'm not sure what happened after your last commit, but it's "stalled".
Could you try doing another force push, or make a small commit to see if we can retrigger Travis?

Sorry for the delay, ran the Travis CI check locally with no issues and restarted the Travis CI check here. Should be done shortly.

Merging this immediately as it is only adding Unit Tests, no code changes.  I've reviewed the tests and they look correct & Travis obviously is verifying they succeed.


Relative loading

I am not exactly sure if i really hit a bug but i can't seem to find anything about it and i am lost now :S
var Builder = require('systemjs-builder');

var builder = new Builder();
builder.config({baseURL: 'web/', paths: {'*': '*.js'}, transpiler: 'babel'});
builder.build('test', 'web/js/build.js')
.then(function() {
    console.log('SUCCESS');
})
.catch(function(err) {
    console.log('ERR', err);
});

in my web directory i have:
test.js:
import './test2';

Then when executing:
hans-guenther:dingo mop$ iojs build.js
ERR [Error: ENOENT: no such file or directory, open '/Users/mop/projects/xxx/web/test2'
	Error loading file:///Users/mop/projects/xxx/web/test2 from file:///Users/mop/projects/xxx/web/test.js
	Error loading file:///Users/mop/projects/xxx/web/test2]

It can't find the real file because it doesn't append '.js'. This only happens when building. I have the same setup working properly in the webbrowser :S
This only happens when doing relative requires. When doing:
import 'test2';

Everything is working fine.

It sounds like you're running SystemJS 0.16 in the browser against builder 0.11? See the release notes on SystemJS 0.17 (which corresponds to builder 0.11) for more info on the js extensions issue - https://github.com/systemjs/systemjs/releases/tag/0.17.0.

yep. that's it


timer(x) does not work with very large numbers

Describe the bug
timer(Number.MAX_SAFE_INTEGER) emits immediately after subscription
the largest possible number is<PHONE_NUMBER>8639, from<PHONE_NUMBER>8640 on it emits immediately
it is a small issue and can easily be workarounded but it makes for a nice default value for optional configurations.
Expected behavior
timer(Number.MAX_SAFE_INTEGER) can be read as "never emit"
Reproduction code
timer(Number.MAX_SAFE_INTEGER) // emits immediately
timer(47899622768640) // emits immediately
timer(47899622768639) // emits "never"

Reproduction URL
https://stackblitz.com/edit/rxjs-kbuxzw?devtoolsheight=60&file=index.ts
Version
7.5.5
Environment
No response
Additional context
No response

Dupe of https://github.com/ReactiveX/rxjs/issues/3015


Inner attributes not work

See this comment
foo! is not resolved in this case:
mod m {
    #![macro_use]
    macro_rules! foo { () => { struct S; }; }
}
foo!();

Most of control attributes on items are affected, including #1928

This is working now:


cargo-deny: 0.14.21 -> 0.14.22

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/EmbarkStudios/cargo-deny/releases.
meta.description for cargo-deny is: Cargo plugin to generate list of all licenses for a crate
meta.homepage for cargo-deny is: https://github.com/EmbarkStudios/cargo-deny
meta.changelog for cargo-deny is: https://github.com/EmbarkStudios/cargo-deny/blob/0.14.22/CHANGELOG.md
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.14.22 with grep in /nix/store/n1q4y230k0sd9dz0db34y6gwic245fh1-cargo-deny-0.14.22
found 0.14.22 in filename of file in /nix/store/n1q4y230k0sd9dz0db34y6gwic245fh1-cargo-deny-0.14.22

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

cargo-deny

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/n1q4y230k0sd9dz0db34y6gwic245fh1-cargo-deny-0.14.22 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A cargo-deny https://github.com/r-ryantm/nixpkgs/archive/821edfeb601967f74e5971448ed559485c48bac6.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/821edfeb601967f74e5971448ed559485c48bac6#cargo-deny

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/n1q4y230k0sd9dz0db34y6gwic245fh1-cargo-deny-0.14.22
ls -la /nix/store/n1q4y230k0sd9dz0db34y6gwic245fh1-cargo-deny-0.14.22/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

cargo-deny

Maintainer pings
cc @figsoda @matthiasbeyer @06kellyjac for testing.

Result of nixpkgs-review pr 307532 run on x86_64-linux 1

1 package built:

cargo-deny


first draft of the contributing guide (close #885)

Signed-off-by: Frédéric Harper<EMAIL_ADDRESS>

Please do not merge yet, @converge will check what is the issue with Test CI failing since it failed with this PR.

tks for the heads up @fharper ! We actually just broke the unit test, Im checking with the team if anyone can fix it.

@converge : so can I merge this PR or you need it to test it?

sorry for the delay, we can merge.


Geotagging does not work correctly

Pixel 6a

app.grapheneos.camera
versionCode 63
targetSdk 33
minSdk 29

Geotagging enabled
EXIF stripping disabled

The GPS tags are added to the EXIF metadata but the values are empty. I have tried various combinations of permissions to rule out a regression of https://github.com/GrapheneOS/Camera/issues/149.

pixel 6 on GOS TQ3A.230805.001.2023090600

app.grapheneos.camera
versionCode 63

targetSdk 33
minSdk 29

Cannot reproduce when using while unlocked.
If location toggled on after a reboot with no location query the camera app has a warning that the geotag is skipped as notification not available. Next photo successfully tags as the location query completes.

I am closing this issue as the camera app doesn't seem to be the issue.


VMs: disk and disk_lev is always 0

disk and disk_lev is only updated for (running) LXC, but not for VMs.
Adapter version 1.0.2

I did some more research and it seems to be an upstream issue, as Proxmox itself does not know the disk space of VMs.


Leaving playmode with RCSG turned ON glitches RCSG

Whenever I leave playmode, I get a missing CSGBrush reference error along with the entire geometry of my level disappearing. The only way I know to un-glitch RCSG is to restart Unity or cause a code refresh.
Linked to https://github.com/LogicalError/realtime-CSG-for-unity/issues/299#issue-486431058
Error message:
NullReferenceException: Object reference not set to an instance of an object
RealtimeCSG.InternalCSGModelManager.SetBrushMesh (RealtimeCSG.Components.CSGBrush brush) (at Assets/Tools/RealtimeCSG/Editor/Scripts/Control/Managers/InternalCSGModelManager.Registration.cs:691)
RealtimeCSG.InternalCSGModelManager.SetBrushMeshSurfaces (RealtimeCSG.Components.CSGBrush brush) (at Assets/Tools/RealtimeCSG/Editor/Scripts/Control/Managers/InternalCSGModelManager.Registration.cs:717)
RealtimeCSG.InternalCSGModelManager.CheckSurfaceModifications (RealtimeCSG.Components.CSGBrush brush, System.Boolean surfacesModified) (at Assets/Tools/RealtimeCSG/Editor/Scripts/Control/Managers/InternalCSGModelManager.Registration.cs:1044)
RealtimeCSG.InternalCSGModelManager.CheckSurfaceModifications (RealtimeCSG.Components.CSGBrush[] brushes, System.Boolean surfacesModified) (at Assets/Tools/RealtimeCSG/Editor/Scripts/Control/Managers/InternalCSGModelManager.Registration.cs:954)
RealtimeCSG.EditModePlace.MoveBoundsCenter (UnityEngine.Camera camera, System.Int32 boundsCenterIndex, UnityEngine.Vector3 offset, UnityEngine.Vector3& snappedOffset, RealtimeCSG.SnapMode snapMode) (at Assets/Tools/RealtimeCSG/Editor/Scripts/View/GUI/EditModeGUI/EditModes/EditMode.Place.cs:1000)
RealtimeCSG.EditModePlace.HandleEvents (UnityEditor.SceneView sceneView, UnityEngine.Rect sceneRect) (at Assets/Tools/RealtimeCSG/Editor/Scripts/View/GUI/EditModeGUI/EditModes/EditMode.Place.cs:2185)
RealtimeCSG.EditModeManager.OnSceneGUI (UnityEditor.SceneView sceneView) (at Assets/Tools/RealtimeCSG/Editor/Scripts/View/GUI/EditModeGUI/EditModeManager.cs:525)
RealtimeCSG.SceneViewEventHandler.OnScene (UnityEditor.SceneView sceneView) (at Assets/Tools/RealtimeCSG/Editor/Scripts/Control/Managers/SceneViewEventHandler.cs:66)
UnityEditor.SceneView.CallOnSceneGUI () (at <78f1ad0f25c84e3ca853e639f50d95f5>:0)
UnityEditor.SceneView.HandleSelectionAndOnSceneGUI () (at <78f1ad0f25c84e3ca853e639f50d95f5>:0)
UnityEditor.SceneView.OnGUI () (at <78f1ad0f25c84e3ca853e639f50d95f5>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <78f1ad0f25c84e3ca853e639f50d95f5>:0)
UnityEditor.HostView.Invoke (System.String methodName) (at <78f1ad0f25c84e3ca853e639f50d95f5>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <78f1ad0f25c84e3ca853e639f50d95f5>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <78f1ad0f25c84e3ca853e639f50d95f5>:0)
UnityEditor.DockArea.OldOnGUI () (at <78f1ad0f25c84e3ca853e639f50d95f5>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <3736d7cfd1f845a5922f99478cb469e7>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <3736d7cfd1f845a5922f99478cb469e7>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <3736d7cfd1f845a5922f99478cb469e7>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at <3736d7cfd1f845a5922f99478cb469e7>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus) (at <3736d7cfd1f845a5922f99478cb469e7>:0)
UnityEngine.UIElements.IMGUIContainer.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <3736d7cfd1f845a5922f99478cb469e7>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase evt) (at <3736d7cfd1f845a5922f99478cb469e7>:0)
UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <3736d7cfd1f845a5922f99478cb469e7>:0)
UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at <3736d7cfd1f845a5922f99478cb469e7>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <3736d7cfd1f845a5922f99478cb469e7>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <3736d7cfd1f845a5922f99478cb469e7>:0)
UnityEngine.UIElements.EventDispatcher.OpenGate () (at <3736d7cfd1f845a5922f99478cb469e7>:0)
UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <3736d7cfd1f845a5922f99478cb469e7>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <3736d7cfd1f845a5922f99478cb469e7>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <3736d7cfd1f845a5922f99478cb469e7>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <3736d7cfd1f845a5922f99478cb469e7>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <3736d7cfd1f845a5922f99478cb469e7>:0)
UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <3736d7cfd1f845a5922f99478cb469e7>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <817eebdd70f8402280b9cb11fff8b976>:0)

I did a quick debug in the code and apparently the Brush.ChildData.Model loses the reference to the Model after leaving playmode.
Adding a check to see if its null and return removes the error message, but it also keeps RCSG from generating any geometry.

Hi, what unity version is this in?

It was 2019.x something, I dont remember. I just updated to unity 2020.1 and I am currently unable to recreate it. Also, it could be my fault, I have a script that modifies Brush.ControlMesh.Vertices, maybe that is causing issues.
Anyway, gonna close issue perform more tests.

I'm having this problem as well, using 2020.3.
Still can't figure it out what the issue is but the step to make it break are:

Have the RealtimeCSG window open.
Hit play. The first error will be Assertion failed on expression: 'sceneRanges.empty()'
Stop playing. Everything will disappear and the following error will appear on the console nonstop:

MissingReferenceException: The object of type 'CSGBrush' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
RealtimeCSG.BoundsUtilities.GetLocalBounds (RealtimeCSG.Components.CSGBrush[] brushes, UnityEngine.Matrix4x4 worldToLocal) (at Assets/Plugins/RealtimeCSG/Editor/Scripts/Data/SceneQuery/BoundsUtilities.cs:328)
RealtimeCSG.EditModePlace.UpdateTargetBounds () (at Assets/Plugins/RealtimeCSG/Editor/Scripts/View/GUI/EditModeGUI/EditModes/EditMode.Place.cs:304)
RealtimeCSG.EditModePlace.HandleEvents (UnityEditor.SceneView sceneView, UnityEngine.Rect sceneRect) (at Assets/Plugins/RealtimeCSG/Editor/Scripts/View/GUI/EditModeGUI/EditModes/EditMode.Place.cs:1426)
RealtimeCSG.EditModeManager.OnSceneGUI (UnityEditor.SceneView sceneView) (at Assets/Plugins/RealtimeCSG/Editor/Scripts/View/GUI/EditModeGUI/EditModeManager.cs:525)
RealtimeCSG.SceneViewEventHandler.OnScene (UnityEditor.SceneView sceneView) (at Assets/Plugins/RealtimeCSG/Editor/Scripts/Control/Managers/SceneViewEventHandler.cs:66)
UnityEditor.SceneView.CallOnSceneGUI () (at <015079d9a4ea4f97b4381e694d2310c1>:0)
UnityEditor.SceneView.HandleSelectionAndOnSceneGUI () (at <015079d9a4ea4f97b4381e694d2310c1>:0)
UnityEditor.SceneView.OnGUI () (at <015079d9a4ea4f97b4381e694d2310c1>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <015079d9a4ea4f97b4381e694d2310c1>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <015079d9a4ea4f97b4381e694d2310c1>:0)
UnityEditor.DockArea.OldOnGUI () (at <015079d9a4ea4f97b4381e694d2310c1>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <1fd6bc3af931450b977286a218b046fb>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <1fd6bc3af931450b977286a218b046fb>:0)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <1fd6bc3af931450b977286a218b046fb>:0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at <1fd6bc3af931450b977286a218b046fb>:0)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderChain.Render () (at <1fd6bc3af931450b977286a218b046fb>:0)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <1fd6bc3af931450b977286a218b046fb>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <1fd6bc3af931450b977286a218b046fb>:0)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at <1fd6bc3af931450b977286a218b046fb>:0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <1fd6bc3af931450b977286a218b046fb>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <1fd6bc3af931450b977286a218b046fb>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <1fd6bc3af931450b977286a218b046fb>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <1fd6bc3af931450b977286a218b046fb>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <1fd6bc3af931450b977286a218b046fb>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <6ddf8eac3856492ab1b8cf42618915cc>:0)

Hi @vncastanheira
'sceneRanges.empty()' is a Unity error and has nothing to do with Realtime CSG
As for the rest, in Project Settings/Editor, what are your "Enter Play Mode Settings"? They should be set to the default values

Hi @vncastanheira
'sceneRanges.empty()' is a Unity error and has nothing to do with Realtime CSG
As for the rest, in Project Settings/Editor, what are your "Enter Play Mode Settings"? They should be set to the default values

The error stopped! Could it be this?

I suspect this is it then, entering playmode without a domain reload is not supported by realtime-CSG, it simply was not designed with that in mind (this feature is much newer than realtime-CSG)


Await geth stopping before quit.
Closes https://github.com/ethereum/grid/issues/116.

Any helpful background information?

Didn't see a meaningful difference between using the #quit, #will-quit, or #before-quit electron events, so just used #quit.
My machine (macOS) seems to reliably kill the process before the stop function is able to resolve its promise, producing this error log before exiting: Attempting to call a function in a renderer window that has been closed or released. I think this is harmless, but still exploring more robust solutions.

i believe this PR just got obsolete, as we now use other clients. Should we close or update it?


BUG: wrong cumulative rewards calculation in rewards.SimpleProfit

Hello,
Looking at classtensortrade.env.default.rewards.SimpleProfit the author claims that get_reward method Returns:    float – The cumulative percentage change in net worth over the previous window_size time steps., code:
net_worths = [nw['net_worth'] for nw in portfolio.performance.values()]
returns = [(b - a) / a for a, b in zip(net_worths[::1], net_worths[1::1])]
returns = np.array([x + 1 for x in returns[-self._window_size:]]).cumprod() -1
seems to me an incorrect way of calculating what he claims to be "cumulative percentage change in net worth"?
I have changed the code to:
net_worths = [nw['net_worth'] for nw in portfolio.performance.values()]
returns = [(b - a) / a for a, b in zip(net_worths[::1], net_worths[1::1])]
returns =np.array(returns)[-self._window_size:].sum()
return returns
Does that make sense to anyone?

Could you submit a PR with that same code so that we can discuss inline?
Seems to me there is some misinterpretation on the cumulative percentage change (vs. absolute value change)
If today you do +100% and tomorrow you do -50% you're back to the starting point, with a net gain of 0%. With your calculation it seems to me that you would end up reporting +50% (+100-50)
Am I missing something?

@carlogrisetti I have created a new PR here

@rhamnett are you sure that the calculation is correct? Take a look at my previous comment. I would love a "positive" feedback on top of the PR

@carlogrisetti sorry perhaps I misunderstood the conversation with @mwbrulhardt  in discord?

Oh, haven't seen discord :)

Closed as misinterpretation. Overall percentage change is not simply a sum of the various percentage changes that occured.


[Sources] Explicit conversion to work around breaking change in ProgressMeter

This was broken by https://github.com/timholy/ProgressMeter.jl/pull/304.

update!(p; max_steps) should be the way to go
it's not really documented either but I would consider it more like a feature whereas p.n is an internal value


Feature/optimize cli detection

Codecov Report

Merging #3 into master will increase coverage by 1.88%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##             master     #3      +/-   ##
==========================================
+ Coverage     98.11%   100%   +1.88%
- Complexity       22     23       +1
==========================================
  Files             2      2
  Lines            53     55       +2
==========================================
+ Hits             52     55       +3
+ Misses            1      0       -1

Impacted Files
Coverage Δ
Complexity Δ

src/Debug.php
100% <100%> (+2.04%)
23 <1> (+1)
:arrow_up:

Continue to review full report at Codecov.

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


[Snyk] Security upgrade @aws-sdk/client-cognito-identity-provider from 3.600.0 to 3.606.0

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):

services/ui-auth/package.json
services/ui-auth/yarn.lock

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Regular Expression Denial of Service (ReDoS) SNYK-JS-FASTXMLPARSER-7573289
  50

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)

This is addressed in #715


Windows Support

error: unable to create file extensions/config-sync/files/core-store.plugin_content_manager_configuration_content_types::plugins::users-permissions.user.json: Invalid argument
you could remove the : from the File Name.
This does not work on NTFS. So it does not work on Windows.

https://github.com/boazpoolman/strapi-plugin-config-sync/pull/16

This issue was fixed by changing all the : characters to # in the filenames.
Thanks @alexzrp for the work.
Released in v1.0.0-alpha.1 for the Strapi v4 version of  of strapi-plugin-config-sync.
If you're still experiencing issues with Windows beyond version 1.0.0-alpha.1 feel free to re-open this issue.


improved performance of CalculateComfortLevel

You already made GetAllPiecesInRadius a lot faster. It is currently only used for CalculateComfortLevel. With your GetAllPiecesInRadius already active here are a few figures inside my world:
Main Base: ~20ms => ~5ms
Treehouse: ~35ms => ~6ms
Tower: ~70ms => ~10ms
You should verify that the comfort level is correctly calculated.

Can confirm the improvement, the spikes went from 18ms to just 2.
The comfort level seems to match with the original, lgtm


V2.0

Hello! I've created a global colab that allows access to any of the models you have colabs for. I've added the possibility to download a few embeddings and VAE prior to Gradio start for convenience too. It's pretty rough, but I intend to expand it and polish it in the next days (mainly because some models need specific stuff, I'd like to add sub options for that and some messages to warn when a model will download a yaml or other mandatory stuff). I intend to keep it as simple of use as your colabs.
I don't think you'll want to merge it honestly, but I thought you could be interested. Currently only for V2.0 branch.

i've had about the same idea months ago, but i think he has a reason to split all of them and not combining it into one huge colab.

Hi @machiavel23 👋 if you want please push your colab under your name here https://github.com/camenduru/stable-diffusion-webui-colab/tree/community

Hi @etherealxx 👋 if you want push your colab under your name folder


How to write efficiently a large amount of data for a single timestamp

Hi,
I have a system that generates 96 * 2 frequencies spectrum each minute (the first tag has 96 values, and each value has 2 values for the second tag). Each spectrum physically represents one point in time. However, each spectrum is composed of 512 values.
I tried to tell InfluxDB to have 512 fields, but it seems to be limited to 255 (if I remember the code I read, that is MAX(uint8) - 1
I also tried having 512 values for a tag, but the read and write performance were awful (about 30s to write if I remember well, and 10s to read, only for a single minute).
What I end up to do is splitting by 512 values into 4 batches of 128 values, each having a "batch" tag from 0 to 3.
Is there a better way to do this? Is there any chance to have this field number limit incremented/configurable in the future?

There are no current plans to increase the number of fields per measurement.
You didn't mention what version you were testing, but write performance is significantly improved from 0.9.0 to 0.9.2. It could be that simply upgrading or waiting for another point release will resolve your performance issues. It sounds from your experience that your writes and queries were about as non-performant as possible, as even 0.9.0 InfluxDB can handle writing 10k points per second if reasonably well tuned.
Did you batch up your writes? Sending single points is much more expensive than sending batches of 100-5000 points each.
Did you send your writes in order of increasing timestamp? InfluxDB assumes that points come in roughly in temporal order, so if you send lots of old points before new points, that can cause performance issues.

Using 0.9.1, I am trying to send 192 files of 512 points each.
For a fresh database (I'm using Docker), with this configuration file:
bind-address = "<IP_ADDRESS>"
port = 8086
reporting-disabled = false

[meta]
  dir = "/var/opt/influxdb/meta"
  commit-timeout = "1s"

[initialization]
  join-urls = ""

[authentication]
  enabled = false

[admin]
  enabled = true
  port = 8083
  assets = "/opt/influxdb/current/admin"

[api]
  bind-address = "<IP_ADDRESS>"
  port = 8086

[collectd]
  enabled = false

[opentsdb]
  enabled = false

[udp]
  enabled = false

[broker]
  dir = "/data/broker"
  enabled = true
  election-timeout = "0"

[data]
  dir = "/data/db"
  enabled = true
  retention-auto-create = true
  retention-check-enabled = true
  retention-check-period = "10m0s"
  retention-create-period = "45m0s"
  max-wal-size = 104857600 # Maximum size the WAL can reach before a flush. Defaults to 100MB.
  wal-flush-interval = "10m" # Maximum time data can sit in WAL before a flush.
  wal-partition-flush-delay = "10s" # The delay time between each WAL partition being flushed.

[snapshot]
  enabled = false

[logging]
  write-tracing = false
  raft-tracing = false
  level  = "info"
  file   = "/opt/influxdb/shared/log.txt"

[monitoring]
  enabled = false

[debugging]
  pprof-enabled = false

[continuous_queries]
  recompute-previous-n = 2
  recompute-no-older-than = "10m0s"
  compute-runs-per-interval = 10
  compute-no-more-than = "2m0s"
  disabled = false

[hinted-handoff]
  enabled = true
  dir = "/var/opt/influxdb/hh"

[cluster]
  shard-writer-timeout = "5s" # The time within which a shard must respond to write.
  write-timeout = "5s" # The time within which a write operation must complete on the cluster.

Trying to send in sequence my 192 files of 512 points each:
Total time : 155883ms
The following chart shows the integration time over file number

When trying to batch these files into one big file, the result is "timeout".
Supposing I'm able to write those data in a reasonable way, the query
SELECT value FROM frequency GROUP BY ma, polar, frequency ORDER BY asc LIMIT 1

takes 6.6s to get the data.
To answer your last question, the 962512 points have all the exact same timestamp because they are retrieved at the same time. This is why it makes sense for us to have 512 fields.
Thanks for your answer :smiley:

@jeremeyVignelles can you provide some example points?
Might be worth reexamining why you were getting such bad results with tags. It sounds like at least some of the fields should be moved into tags.
Also, try bumping up the batch size to 1000-5000 points per batch and testing on 0.9.2-rc1.

Hi,
Just made a configurable testing script using node.js : https://gist.github.com/jeremyVignelles/3ebd42f66f9d078e0c41
You must have async installed in the folder with npm i async
Here is what I got on my machine :

cargoSize = 512; : 23651ms to upload
cargoSize = 512*2*96; : timeout after 5s the first time. The second time is ok
cargoSize = 5000; : 9072ms
I also tried on 0.9.2-rc1 with the same results.

The query SELECT value FROM test GROUP BY i,j,k LIMIT 1 is still slow (~5s on 0.9.1) but is much slower on 0.9.2-rc1 : 33s!
Could you try on your computer?

@mjdesa here's a possible perf test case

@jeremyVignelles just ran the test script you gave and I'm getting the following as a result
generateData: 269ms
STATUS: 204
upload: 4571ms
total: 4578ms

The query engine was completely rewritten behind the scenes for 0.9.2-rc1 and unfortunately a fairly serious performance bug was introduced. The fix will be in 0.9.2-rc2.
With that many tags, the first request will be significantly slower than subsequent requests due to the overhead incurred when new series are created. As you note, subsequent writes are much faster. Also, something seems off on your test results for smaller batch sizes. @mjdesa What are your results for 512, 2000, 5000, and 10000 point batches?
For queries like SELECT value FROM test GROUP BY i, j, k LIMIT 1, moving data into fields will indeed give much better query times. In my crude testing, inserting a batch of 512 points each with 192 fields writes at 241ms (1.3s first write) and SELECT * FROM test GROUP BY i LIMIT 1 on that data returns in 227ms using the latest master.
@jeremyVignelles Can you try your benchmark with the field heavy approach using the latest master?

Updated gist to have more configuration:
https://gist.github.com/jeremyVignelles/3ebd42f66f9d078e0c41
With this new script, here are the results I have:

version
iCount
jCount
pointsCount
fieldsCount
write1
write2
read

0.9.1
96
2
4
128
2231
667
442

0.9.1
96
2
512
1
timeout
4145
5872

0.9.1
96
2
1
255
1723
405
193

0.9.2-rc1
96
2
4
128
2237
667
693

0.9.2-rc1
96
2
512
1
timeout
4068
32757

0.9.2-rc1
96
2
1
255
2746
384
311

nightly(2015-07-23 08:13 UTC)
96
2
4
128
2298
658
721

nightly(2015-07-23 08:13 UTC)
96
2
512
1
timeout
4314
33370

nightly(2015-07-23 08:13 UTC)
96
2
1
255
1784
409
305

Looking at the results, it would be a huge benefit for us to have 512 fields rather than 512 tags. Moreover, the 512 values have the same time and are not meant to be used separately. Being able to configure the max number of columns (something like being able to tell the database to use 2-bytes indexes) would be a good point for influxDB integration in our project.
Is it hard to implement? Would it make the database slower? heavier?

Here's what I get for writes

Batch Size
Round 1
Round 2

512
3230ms
1117ms

2000
2933ms
890ms

5000
2931ms
914ms

10000
2863ms
889ms

512296
4516ms
954ms

@jeremyVignelles Can you open new issue with a feature request for making the max number of fields configurable? I'm not sure how hard that would be to implement or the performance impact.
The other option to increasing the max number of fields would be to encoding all the values into a single string value. Of course, that would require some additional client side processing and limit the usefulness of some InfluxDB features like aggregate functions.
Going to close this issue since it seems like the performance (on the latest master) is in line with expectations.


mc_mujoco simulator consuming a lot of hard disk space

Hi, looks like mc_mojoco will consume a lot of hard disk under /tmp folder. I have continuously running the interface for an hour and it takes >100GB space, can you help to check that?

Hi, what exactly is taking so much space? I suspect that it could be your mc_rtc log file . You can turn off logging by setting Log: false in your mc_rtc config file.


Add in Organization

Currently on the add source page, its one repo at a time, that's rather time consuming if you've got a lot of repositories. Adding an organisation and then all the repositories under that organisation would be nicer.
However, this is gonna be a problem for some of those organisations that have tens of thousands or repositories. As that can take a while.

Also, we should probably tie authentication to an organisation. Optionally, so that when users leave, they lose access.

https://github.com/clearwind-ca/service-catalog/pull/43


Stub out a .nav-scroll component for horizontal scrolling navs

This is a WIP that takes some of the nav styles we've previously used in our docs navbar and the Offcanvas navigation, and puts some enhancements into it for wider use. I'm sure there's something problematic about this, but feels like it could be a nice little addition to our navs.
Thoughts @twbs/css-review?

Preview: https://deploy-preview-31740--twbs-bootstrap.netlify.app/docs/5.0/components/navs/#nav-scroll

How is this supposed to work with mouse devices? I see no horizontal scrollbar?

How is this supposed to work with mouse devices? I see no horizontal scrollbar?

I've hidden it entirely on purpose. You can see something similar on the Offcanvas example added in v4.

I don't think this is a good change. The component is unusable on desktop
without touch support... Maybe Patrick can chime in in case I'm missing
something :)
On Fri, Oct 2, 2020, 22:14 Mark Otto<EMAIL_ADDRESS>wrote:

How is this supposed to work with mouse devices? I see no horizontal
scrollbar?
I've hidden it entirely on purpose. You can see something similar on the
Offcanvas example added in v4.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/twbs/bootstrap/pull/31740#issuecomment-702911327, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACVLNO2Q5DSMBSX3QYBLRTSIYQ7ZANCNFSM4RYQQGPQ
.


[zlib] Update to 1.2.13

This picks up the official fix for CVE-2022-37434.

Fixed the patches to apply cleanly to this version
Simplified the removal of examples to unconditional (after all, we're patching anyway)
Reduced some of the static-or-shared patch to avoid repeating the line of code put into the if block
Combined the MinGW and Android patches since they were touching the same bits

Please integrate #26885.

I think the download URL for zlib should also be updated to https://zlib.net/fossils/zlib-<version>.tar.gz.
All my VCPKG builds are currently failing because https://www.zlib.net/zlib-1.2.12.tar.gz returns 404

I cancelled the PR build because I'm ensuring I understand

Please integrate #26885.

I do love that change.

@Neumann-A It looks like the minizip patch added in https://github.com/microsoft/vcpkg/pull/25960/ is effectively already present in 1.2.13 so I have removed it.


LightningDeprecationWarning: DataModule.setup has already been called Fix #9943 and recognize ordering of models from ckpt names #9944

What does this PR do?
Fix LightningDeprecationWarning: DataModule.setup has already been called #9943 and LightningDeprecationWarning: DataModule.setup has already been called #9943
Fixes #9943 #9944
Does your PR introduce any breaking changes? If yes, please list them.
None
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you list all the breaking changes introduced by this pull request?
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Yes

Fixes #9943 #9944

Since these are separate issues, you should have 1 PR per issue

Fixes #9943 #9944

Since these are separate issues, you should have 1 PR per issue

ok @carmocca
I will close this issue and create 2 new PR
With best regards, Ranuga

Hi I have created a new PR for #9944
the PR is #9971


Run tests for new images.

/test rhoai-light fine_tuning

/test rhoai-light fine_tuning quality_evaluation

@albertoperdomo2 , I think this PR can be closed

@kpouget yes, closing it.


Support for other models

Could we get other models in here? Like: wavymulder/wavyfusion
Would be cool if you could give it a hugging face url, and if it's a valid model it can use, it goes for it.

Good news for you! Already supported:
imagine --model https://huggingface.co/wavymulder/wavyfusion/resolve/main/wa-vy-fusion_1.0.safetensors "wa-vy style painting grim reaper" -r 4 --steps 30

You can import your own models by adding it to the models.py and make sure you have the correct syntax and yaml support files as needed. I've added a custom model from huggingface before.


Kryptor: Add version 3.1.0

Closes #7777

[x] I have read the Contributing Guide.

/verify

Not sure what I've done wrong @rashil2000.

/verify

/verify

Many thanks for the help @rashil2000!


cmd/go/internal/test: clarify -count default

Count default is only 1 when the test is not cached.
If the test is cached it will not rerun the test.
This documentation causes confusion because the only way to run tests without cache is to use -count=1. According to the documentation as is -count=1 should have no effect. Changing this CLI documentation to clarify the behavior.
ref: https://github.com/golang/go/issues/39056?ts=4#issuecomment-631688012
resolves: https://github.com/golang/go/issues/39056

closing this after comment inline clarified with explanation for current description.


stuck at logging in...

https://i.imgur.com/fa8NlIi.png

yep something has changed with the steam loging  . i have not had anytime to check what yet tho

I'm still getting this problem.

Use the new servers from:
https://api.steampowered.com/ISteamDirectory/GetCMList/v1/?format=json&cellid=0


Nuget pacakge 15.8.0 is broken

IVor .NETCoreApp and .NEETFramework
it looks for Microsoft.CodeCoverage versions >= 15.8.9
That is not how they are numbered - they currently area at version 1.0.3
That was working nice in the last preview I have (0610-02), but now the upgrade is broken.

For me it's looking for Microsoft.CodeCoverage 15.8.0 but still this version is not published yet.
"Unable to find package Microsoft.CodeCoverage with version (>= 15.8.0)"

Which is what I say.
Excelt: This version will also not be published for a LONG time as Microsoft.CodeCoverage uses a different numbering scheme and is now at 1.0.3 - the 15.8.0 is the vstest numbering, so likely a copy/paste error.

Close. Whow. Someone published that one - and changed the CodeCoverage numbering scheme seriously to 15.8 - quite a jumb.


Reset conversations

Issue #17
The flow:

Resetting conversations simply creates new experiment sessions which has no chat history.
The reset command is not saved in the chat history
Webchats are not able to reset conversations, since they have the luxury of simply creating a new one

rebased

After the fix, I tested it again against a copy of prod's data


copy permissions between org repos now also creates the child teams

When a team is copied from source to target, previously it was ensured the team existed at the target by copying it. Now it also ensures all children teams of copied teams are also at the target (creates them if necessary).

Woot, finally I merge this 😄   Thanks @tspascoal for the internal folder idea for the sub script


Added formpanel to segmentation mode and added form change listener in studybrowser panel

LGTM

@Adithyan-Dinesh-Trenser, sorry I had to revert this branch


This patch enables the CX path to send and receive more than one buffer in the CX path

The Control Queue can handle as much buffers as we want to, currently we
only support 2 buffers from the driver and both of them are from the
driver to the device.
This patch is not currently needed but should be required in the future for implemented RSS offload feature/ steering mode implementation.

We are going to pack everything that is needed for RSS\virtio into one message


tvm.error.OpNotImplemented: Operator _contrib_arange_like is not supported in frontend MXNet.

Hi, guys, i built  the tvm 0.6.1 and build the python bind successfully, i was folllowing this (https://gist.github.com/icemelon9/860d3d2c9566d6f69fa8112840dd95c1) to do a bert inference. However, i got this problem:
(tvm) [qizhouhuang@GPU-10-252-192-90 apache-tvm-src-v0.6.1.rc1-incubating]$ python3 test_bert.py
MXNet latency for batch 1 and seq length 128: 114.93 ms
Traceback (most recent call last):
File "test_bert.py", line 86, in
mod, params = relay.frontend.from_mxnet(model, shape_dict)
File "/opt/cephfs1/asr/users/qizhou.huang/.local/lib/python3.6/site-packages/tvm-0.6.0-py3.6-linux-x86_64.egg/tvm/relay/frontend/mxnet.py", line 1427, in from_mxnet
func = _from_mxnet_impl(sym, shape, dtype, mod)
File "/opt/cephfs1/asr/users/qizhou.huang/.local/lib/python3.6/site-packages/tvm-0.6.0-py3.6-linux-x86_64.egg/tvm/relay/frontend/mxnet.py", line 1340, in _from_mxnet_impl
'Operator {} is not supported in frontend MXNet.'.format(op_name))
tvm.error.OpNotImplemented: Operator _contrib_arange_like is not supported in frontend MXNet.
I installed my mxnet using pip install mxnet, it seems the one got installed's
Collecting mxnet
Using cached mxnet-1.6.0-py2.py3-none-any.whl (68.7 MB)
could u please help me out,thank you.

maybe try tvm master branch?

@eric-haibin-lin thanks, i used the master branch, it fixed.