Update for rocksdb v7?

Hey. I remember discussing this a while back. Are you in a good position to upgrade to rocksdb 7 now? It's not hugely urgent, since I created a macOS Homebrew formula for rocksdb6 that gets me by with my projects, but it would obviously be a good plan going forwards.

Any news about this?  It would be important to fix the current Debian package.

Hi Folks, I am sorry I did not even reply to this issue...
The reality is that I have not been able to go back to work on this project. I had funding from one client to get the rocksdb bindings working properly for a project, but that got discontinued and since then I have not touched this. Would any of you be interested in helping/taking over?

Hi,
I can say for sure that I have no capacity even for help - I simply can offer to upgrade the Debian package once the code might be adapted.
Kind regards, Andreas.


Missing source distribution for 1.2.2

Hi,
I maintain the AUR python-schedule package which depends on the source distribution. For some reason it is missing from 1.2.2, but is present in 1.2.1 (and presumably previous ones). Hopefully its an easy fix!
Thanks! :)

Thanks for sharing, and thanks for maintaining the AUR distribution.
I changed the distribution from a source distribution to a pure python wheel. https://github.com/dbader/schedule/commit/82a43db1b938d8fdf60103bd41f329e06c8d3651#diff-9b171ca00cb885ccd9c997cb6f65fbb26d7eae92bf54bd7581b83c4541c156f2L62-R62 and didn't notice the lack of source package. I will see if i can fix that.

even for a pure Python project, you should always upload both an sdist and a wheel to PyPI or other package indices source

I learnt something :)
Source package has been uploaded
https://pypi.org/project/schedule/1.2.2

Worked a treat, thanks a bunch. :)


adding get-simple-numbers.js

I've done
сб, 22 вер. 2018 о 10:17 Timur Shemsedinov<EMAIL_ADDRESS>пише:

@tshemsedinov requested changes on this pull request.
Please follow same repository structure like in other HowProgrammingWorks
repositories:

We place js examples in JavaScript, not in lib, because this is not
library and we may implement this in other languages
Use eslint with .eslintrc.yml rules from other HPW repo, for example
.eslintrc.yml
https://github.com/HowProgrammingWorks/Wrapper/blob/master/.eslintrc.yml
but don't commit it in pull request with your code
Add 'use strict'; to your code
See other comment in code
Use eslint . before commit

In lib/get-simple-numbers.js
https://github.com/HowProgrammingWorks/Eratosthenes/pull/1#discussion_r219663834
:

@@ -0,0 +1,23 @@
+sort = (array, divider) => {

Declare with const
In lib/get-simple-numbers.js
https://github.com/HowProgrammingWorks/Eratosthenes/pull/1#discussion_r219663843
:

@@ -0,0 +1,23 @@
+sort = (array, divider) => {

console.log("divider: " + divider);
let erased = 0;
for(value of array) if(value % divider === 0 && value != divider) {

   array.splice(array.indexOf(value), 1);

   array.splice(array.indexOf(divider), 1);

   array.push(divider);

   erased++;

}

console.log("array after erasing: " + array);
if(erased == 0) return array.sort((a,b) => a-b);

===
In lib/get-simple-numbers.js
https://github.com/HowProgrammingWorks/Eratosthenes/pull/1#discussion_r219663865
:

   erased++;

}

console.log("array after erasing: " + array);
if(erased == 0) return array.sort((a,b) => a-b);
return sort(array, array[0]);
+}

+getArrayOfSimpleNumbers = range => {

let array = [];
for(let i = 2; i < range; i++) array.push(i);
return sort(array, array[0]);
+}

+if(process.argv.length > 2) console.log("\nresult: " + getArrayOfSimpleNumbers(process.argv[2]));
+else console.log("Program created for getting simple number using sieve of Eratosthenes.\nusage:\n node ./get-simple-numbers.js [renge of numbers]");
Max line length: 80 chars
Add empty line at the end of file
In lib/get-simple-numbers.js
https://github.com/HowProgrammingWorks/Eratosthenes/pull/1#discussion_r219663884
:

@@ -0,0 +1,23 @@
+sort = (array, divider) => {

console.log("divider: " + divider);

Use single quotes
In lib/get-simple-numbers.js
https://github.com/HowProgrammingWorks/Eratosthenes/pull/1#discussion_r219663903
:

@@ -0,0 +1,23 @@
+sort = (array, divider) => {

console.log("divider: " + divider);
let erased = 0;
for(value of array) if(value % divider === 0 && value != divider) {

Add spaces, code blocks and use !== instead of !=
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HowProgrammingWorks/Eratosthenes/pull/1#pullrequestreview-157901827,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWHrv2DKFCOoukAMBk0oZWzA27OesVdCks5udeQXgaJpZM4W0zoO
.

done
нд, 23 вер. 2018 о 04:23 Timur Shemsedinov<EMAIL_ADDRESS>пише:

@tshemsedinov requested changes on this pull request.

You have placed example to repository root folder, but we usually
place into language-specific folders, JavaScript or Haskell

In get-simple-numbers.js
https://github.com/HowProgrammingWorks/Eratosthenes/pull/1#discussion_r219684255
:

@@ -0,0 +1,30 @@
+'use strict';

+const sort = (array, divider) => {

console.log('divider: ' + divider);
let erased = 0;
for (const value of array) if (value % divider === 0 && value !== divider) {

I'd prefer:
for (...) {
if (...) {
}
}

In get-simple-numbers.js
https://github.com/HowProgrammingWorks/Eratosthenes/pull/1#discussion_r219684287
:

array.push(divider);

erased++;
}

console.log('array after erasing: ' + array);
if (erased === 0) return array.sort((a, b) => a - b);
return sort(array, array[0]);
+};

+const getArrayOfSimpleNumbers = range => {

const array = [];
for (let i = 2; i < range; i++) array.push(i);
return sort(array, array[0]);
+};

+if (process.argv.length > 2)
It would be better having operator block {} for then branch if we have
block for else branch
In get-simple-numbers.js
https://github.com/HowProgrammingWorks/Eratosthenes/pull/1#discussion_r219684343
:

console.log('array after erasing: ' + array);
if (erased === 0) return array.sort((a, b) => a - b);
return sort(array, array[0]);
+};

+const getArrayOfSimpleNumbers = range => {

const array = [];
for (let i = 2; i < range; i++) array.push(i);
return sort(array, array[0]);
+};

+if (process.argv.length > 2)

console.log('\nresult: ' + getArrayOfSimpleNumbers(process.argv[2]));
+else {
console.log('Program allows getting simple number');

Program generates simple numbers using Sieve of Eratosthenes
Usage: node ./generate-simple-numbers [max]
Example: node ./generate-simple-numbers 100
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HowProgrammingWorks/Eratosthenes/pull/1#pullrequestreview-157924608,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWHrvxh8U-1sNzfJbQFY0oWdttU8FD-_ks5uduJ0gaJpZM4W0zoO
.

what name will be preferred.
нд, 23 вер. 2018 о 14:36 Timur Shemsedinov<EMAIL_ADDRESS>пише:

@tshemsedinov requested changes on this pull request.
Now we can start with code refactoring:

Names getArrayOfSimpleNumbers and sort are not descriptive
Code decomposition to mentioned two functions in not optimal
Eratosthenes algorithm do not expect use of array.sort
I prefer loop, not recursion

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HowProgrammingWorks/Eratosthenes/pull/1#pullrequestreview-157936657,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWHrv6pi6kbh_PxKSDubjCWZ5t2DU3OOks5ud3IqgaJpZM4W0zoO
.

@tshemsedinov

Use eslint with .eslintrc.yml rules from other HPW repo, for example .eslintrc.yml but don't commit it in pull request with your code

We can put it in /JavaScript so that it will be used by linter and/or editor when running checks for that folder.

I've already done it


fixes typo/reference in README.md

README references eg-prod-bastion-public resource that doesn't exist yet in the step where it's mentioned. i believe eg-prod-bastion-label is intended here.
Signed-off-by: camilo santana<EMAIL_ADDRESS>

Addressed in https://github.com/cloudposse/terraform-null-label/pull/36


ips system files in new json format

Hi Arianna and Achim, may one of you please review and merge, thank you!

Interesting List of Reviewers seems to be an AND not only an OR connection


Add cro as dep

Part of #15; Remove warning. I haven't seen this failure mode; if needed we can add a note that cro themselves recommend installing without running the tests.

Is it cro or Cro?
The dependency in META6.json should be Cro::HTTP. This will then bring in other Cro dependencies.

cro is the bundle. I’ll fix this to be the actual requirement.

both use statements are covered by this change.


Automated cherry pick of #10878: fix(region): add egress_mbps params for lb

Cherry pick of #10878 on release/3.5.
#10878: fix(region): add egress_mbps params for lb

Codecov Report

Merging #10881 (1e59705) into release/3.5 (6a15e02) will increase coverage by 11.89%.
The diff coverage is 0.00%.

@@               Coverage Diff                @@
##           release/3.5   #10881       +/-   ##
================================================
+ Coverage         5.98%   17.87%   +11.89%
================================================
  Files              796       85      -711
  Lines           125693     8940   -116753
================================================
- Hits              7522     1598     -5924
+ Misses          117504     7170   -110334
+ Partials           667      172      -495

Flag
Coverage Δ

aFlag
17.87% <0.00%> (+11.89%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/apigateway/handler/auth.go
0.00% <0.00%> (ø)

pkg/baremetal/cronjobs.go
0.00% <0.00%> (ø)

pkg/baremetal/manager.go
0.50% <0.00%> (-0.01%)
:arrow_down:

pkg/util/seclib2/seclib.go
80.39% <0.00%> (-5.66%)
:arrow_down:

pkg/util/ansiblev2/session.go
0.00% <0.00%> (ø)

.../monitor/alerting/conditions/suggestrulereducer.go
0.00% <0.00%> (ø)

pkg/baremetal/tasks/prepare.go

pkg/multicloud/loader/loader.go

pkg/compute/models/groupguests.go

pkg/hostman/guestfs/fsdriver/nicteaming.go

... and 583 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 6f20210...1e59705. Read the comment docs.


suggestion: automatically render not found page

If Deno.errors.NotFound or errors.NotFound is thrown within a handler, the "HTTP 404 Not Found" page should be automatically rendered, by default. In other words, throw new Deno.errors.NotFound() would be the same as return ctx.renderNotFound().

Hey,
If no one took this, i would like to take it :)

Hey,
After looking the code i do not see Deno.errors.NotFound or errors.NotFound being thrown at any point.
I've seen that inside the catch of getServerContext is doing nothing in case of error being an instanceof Deno.errors.NotFound.
If you talk about that case for example i could extract the renderNotFound function from inside ServerContext class to be able to access it from SeverContext and getServerContext.
Let me know so i know if i can do something with this ticket :).

After looking the code i do not see Deno.errors.NotFound or errors.NotFound being thrown at any point.
I've seen that inside the catch of getServerContext is doing nothing in case of error being an instanceof Deno.errors.NotFound.

Perhaps I could've explained it clearer. The idea was for when these errors are thrown within a handler rather than from within the codebase. We often use this pattern in Deno SaaSKit.

If you talk about that case for example i could extract the renderNotFound function from inside ServerContext class to be able to access it from SeverContext and getServerContext.

Sure! Let's try that 👍🏾

In the current latest vresion this is not working (Fresh@1.5.4):

But, if you use the canary version with the hash of your PR (@deer) then it works:


DOC: Document CUDA acceleration

Hi John @jakirkham et al!
Do you have any suggestions on the following dask/cupy/cucim/kvikio issues or do you know who would?

We currently get the traceback:

  File "/home/matt/src/ngff-zarr/ngff_zarr/cli.py", line 62, in _multiscales_to_ngff_zarr
    to_ngff_zarr(output_store, multiscales, progress=rich_dask_progress)
  File "/home/matt/src/ngff-zarr/ngff_zarr/to_ngff_zarr.py", line 253, in to_ngff_zarr
    dask.array.to_zarr(
  File "/home/matt/bin/micromamba/envs/ngff-zarr/lib/python3.10/site-packages/dask/array/core.py", line 3730, in to_zarr
    return arr.store(z, lock=False, compute=compute, return_stored=return_stored)
[...]
  File "/home/matt/bin/micromamba/envs/ngff-zarr/lib/python3.10/site-packages/zarr/core.py", line 2308, in _chunk_setitem_nosync
    cdata = self._process_for_setitem(ckey, chunk_selection, value, fields=fields)
  File "/home/matt/bin/micromamba/envs/ngff-zarr/lib/python3.10/site-packages/zarr/core.py", line 2374, in _process_for_setitem
    chunk[chunk_selection] = value
  File "cupy/_core/core.pyx", line 1475, in cupy._core.core._ndarray_base.__array__
TypeError: Implicit conversion to a NumPy array is not allowed. Please use `.get()` to construct a NumPy array explicitly.

Is there an elegant way to address this?

I took the install commands from the cucim docs. Is this current best practice and will  there simplifications in the future?

Can we easily also add kvikio support when reading / writing?

Thanks for the pointers, @jakirkham! Now working with cucim + blosc and cucim + kvikio :sparkler:
In the kvikio zarr notebook, it mentions:

Some algorithms, such as LZ4, can be used interchangeably on CPU and GPU but Zarr will always use the compressor used to write the Zarr file. We are working with the Zarr team to fix this shortcoming but for now, we will use a workaround where we patch the metadata manually.

Do you know if there is an issue, etc. to track progress on this?

Do you know if there is an issue, etc. to track progress on this?

Tracking this now in this repository in #70


feat: support transformer for webpack

fix:#1096

Unfortunately, only support transformer that set enforce: pre currently. I don't have a good idea for this at the moment.

@antfu Is there have some problem? I want to commit another PR about pre-scan and want to use this PR's  content .😂


Add Digital Ocean storage driver

Digital Ocean just announced support for block storage. https://www.digitalocean.com/company/blog/block-storage-more-space-to-scale/

the API - https://developers.digitalocean.com/documentation/v2/#block-storage

storage is supported in the DO Golang API Client. https://github.com/digitalocean/godo

@clintonskitson phychic

I started working on a driver for this: https://github.com/protochron/libstorage/tree/digitalocean_volumes
I'm hoping to have a PR ready in the next week or two :D

This is great Dan! We're excited to see the PR come through. Don't hesitate to reach out if you run into any issues or have any questions.

@protochron Do you have an ETA on DO?

@vfarcic I'm working on shoring up tests and making sure everything is working, so figure before the end of the year? Real life got in the way of getting this out as quickly as I would have liked unfortunately :(

@protochron Any progress on this one?

@vfarcic working through some of the final changes for #392

@cduchesne @clintonskitson can we close this out?

Yes, had been tracking #392. Closing this one as #392 is merged


Don't work on Chimera Os

Once I have installed decky loader on chimera os (Steam ui) I download audio loader and when I look in the store and click on install on a song nothing happens I click but it doesn't install anything, would you have any solutions?

Decky Loader and Audio Loader are not officially supported on devices other than the Steam Deck at this time.


Console [Violation]: Forced reflow while executing JavaScript

v. 3.2.3
This did not happen with v. 3.2.0

never mind. only in Opera > 45


RawSheetImporter's ImportRow should wrap page.GetCell in the try block

I was implementing my own RawSheetImporter and ran into an issue where only about half of the pages in the sheet were being loaded.  It turns out that GetCell() was throwing but because it's wrapped in a Task called from an Async MenuItem, nothing actually caught the exception.
I think the GetCell call in ImportRow should be part of the same try/catch that propertyMap.SetValue() is.

By convention, GetCell should not throw and just return null if cell does not exist / out of bounds.
Exception from GetCell cannot be caused by data and if it happens that means it's bug in BakingSheet or importer.
Will add comment to make this clear.


[Manual] - Different indent from the top of "Profile" screen for tabs

Commit number: 12778db
Preconditions:

Test user is signed in;
"Recent posts" tab has posts on "Profile" screen;
"Popular posts" tab does not have posts on "Profile" screen;

Steps to reproduce:

Open "Profile" screen
Switch between "Recent posts" and "Popular posts" tabs

Actual Result: Indent from the top of "Profile" screen for "Popular posts" tabs is bigger than for  "Recent posts"tab

Expected Result: Both tabs on "Profile" screen have the same layout of elements

@JaroslawRomanovich can't reproduce in 61d7a17888be447e9c94794ec608281e3372adf1

implemented in https://github.com/Microsoft/EmbeddedSocial-iOS-SDK/pull/605

Verified on the build from commit number 15a30d33a46d25d659c7dadcbce3bbe49c4a1284


Doc instructions out of sync.

Based on my previously solved issue, I assume that everything is being converted to gradle for builds. As a heads up (although this may be in the process of being converted) Grobid-ner master branch seems to be no longer using maven, but doc instructions (https://grobid-ner.readthedocs.io/en/latest/build-and-install/ under "Grobid NER Settings") have build instructions listed as maven. Also, doc instructions include copying "grobid-ner" and model files from "grobid-home/models*" to "grobid", which also appear to no longer be applicable.

Thank you @mitchelldehaven everything should be updated with commit edda070d4eb3c133684ce5de6135a4c535d85850


updated to most recent copier to fix release

The problems with pypi release here are fixed in copier https://github.com/DiamondLightSource/python-copier-template/releases/tag/2.5.0.
@GDYendell @jsouter (can't assign reviewers)

Actually the pypi release already didn't work because of this: https://github.com/DiamondLightSource/fastcs-eiger/blob/main/pyproject.toml#L27. We need https://github.com/DiamondLightSource/tickit-devices/pull/111 (and then the eiger-stream2 branch) to be merged.

Ah yes I saw the
ERROR    HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/

and got hasty. I still think it won't work without attestations: false and it's nice to keep up to date.


Empty lines around method definition.

I would like to configure rubocop to check the following code style
# file1.rb
module Providers
  class ProviderA
    class Xml
      include Provides::Xml

      def to_xml
        ...
      end

    end
  end
end

# file2.rb
class XmlBuilder

  def tag!(name, options)
  end

end

Basically this cop requires empty lines around def .. end method definitions and should be checked in classes and modules.
With default configuration
Style/EmptyLinesAroundClassBody:
  EnforcedStyle: no_empty_lines
Style/EmptyLinesAroundModuleBody:
  EnforcedStyle: no_empty_lines

the output is
file1.rb:8:1: C: Extra empty line detected at class body end.
file2.rb:2:1: C: Extra empty line detected at class body beginning.
file2.rb:5:1: C: Extra empty line detected at class body end.

and the valid code style is
# file1.rb
module Providers
  class ProviderA
    class Xml
      include Provides::Xml

      def to_xml
      end
    end
  end
end

# or file1.rb
module Providers
  class ProviderA
    class Xml
      include Provides::Xml
      def to_xml
      end
    end
  end
end

# file2.rb
class XmlBuilder
  def tag!(name, options)
  end
end

And with configuration
Style/EmptyLinesAroundClassBody:
  EnforcedStyle: empty_lines
Style/EmptyLinesAroundModuleBody:
  EnforcedStyle: empty_lines

the output is
file1.rb:2:1: C: Empty line missing at module body beginning.
  class ProviderA
^
file1.rb:3:1: C: Empty line missing at class body beginning.
    class Xml
^
file1.rb:4:1: C: Empty line missing at class body beginning.
      include Provides::Xml
^
file1.rb:10:1: C: Empty line missing at class body end.
  end
^
file1.rb:11:1: C: Empty line missing at module body end.
end
^

and the valid code style is
# file1.rb
module Providers

  class ProviderA

    class Xml

      include Provides::Xml

      def to_xml
      end

    end

  end

end

# file2.rb
class XmlBuilder

  def tag!(name, options)
  end

end

This configuration requires too many empty lines in case of nested classes and modules.

Well, I think this style was proposed a while back, but no one was interested in implementing it. I'm open to supporting it, but someone else will have to implement it.


Re-transplant SignalR docs to the correct TOC tree

Somehow some of the SignalR docs got moved to the "Client-side development" hive. This should move them back, if I understand how the TOC file works properly :)

That looks better:

@anurse Nice catch! Thank you for fixing it.


Use via volume

Hi! Great tool. I use it via volume mounts, so there is no need to build new images for existing tools. Maybe you can add it to the docs:
services:
  gitea:
    image: gitea/gitea:1.19.2
    volumes:
      - ./Lprobe:/Lprobe
    ...
    healthcheck:
      test: /Lprobe ...
      interval: 60s
      retries: 3
      start_period: 10s
      timeout: 3s

Hi
Sure we will do it 👍


PERF401 false positive when appended list items depend on previous items

This incorrectly triggers PERF401 manual-list-comprehension (#5298):
fibonacci = [0, 1]
for i in range(20):
    fibonacci.append(sum(fibonacci[-2:]))
print(fibonacci)

This cannot be converted to a list comprehension because each appended item depends on the previous items. Similar to #5581, but without an if conditional.

Thanks, will fix.


Allow rust2dart to take precedence over other sources for the same type

Is your feature request related to a problem? Please describe.
crate 'proto' has type P.
crate 'api', a rust_input, does 'pub use P' and has a rust2dart() implementation. Everything is good here.
Now we add crate 'newimport', a new rust_input, has a struct which includes a proto::P.
...frb_generated.rs:
error[E0119]: conflicting implementations of trait SseDecode for type P.
One implementation is the correct one, with the rust2dart implementation. The other is a standard generated one.
Describe the solution you'd like
When a type has a rust2dart implementation configured, use it everywhere for that type.
Describe alternatives you've considered
N/A
Additional context
N/A

Looks like this is because frb does not handle each and every corner case of use, and the primary use case is single-crate instead of crate-import-another-crate-import-yet-another-crate. Indeed scanning a whole 3rd party crate is an experimental feature.
The simplest way may be avoid using too many crates which may confuse frb. Also feel free to PR to enhance this "scanning 3rd party crate" experimental feature!

Makes sense. To explain a little more, the main way I have been using FRB is there is some various Rust code not in the flutter project, there is the flutter project separately, and in the flutter project there is a single crate which has dependencies out to the rest of the Rust code. The Flutter project's crate is thin glue code, that's where I've been specifying mirror, external, dart2rust etc over the types to get FRB to generate the Dart code.
I'm also thinking that if I put some_crate::some_module on rust_input, it may change the behavior of FRB even for some_crate::another_module?

I see - that looks like a good use of "scanning 3rd party crate" experimental feature!
Another way may be, can you ensure you only have two crates: One for flutter (and frb), another for pure Rust. Then frb may be less confused when scanning the 3rd party crate.

I'm also thinking that if I put some_crate::some_module on rust_input, it may change the behavior of FRB even for some_crate::another_module?

Not very sure about the question, but frb does scan whole crate for struct information, since a function in some_crate::some_module may use structs in some_crate::another_module.


package tls is obsolete on running =irc

Steps to reproduce

start emacs
M-x =irc

System information

Click to expand
`DEBUG=1 make doctor`

Doom Doctor
Emacs v27.0.50
Doom v2.0.9 (aaee04e2)
shell: /bin/bash
Compiled with:
  XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY GNUTLS LIBXML2
  FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS GMP
uname -a:
  Linux sinergia 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018
  x86_64 x86_64 x86_64 GNU/Linux

Checking your OS...
Checking your fonts...
Checking gnutls/openssl...
Testing your root certificates...
Checking for GNU/BSD tar...
Checking your enabled modules...
Loading /home/sinergia/.emacs.d/core/autoload/cache.el (source)...
Loading /home/sinergia/.emacs.d/modules/completion/helm/packages.el (source)...
  > (:lang cc) Couldn’t find the rtag client and/or server programs
    (rdm rc). Disabling rtags support
  > (:lang cc) Irony server isn’t installed. Run M-x
    irony-install-server
  > (:lang cc) Couldn’t find glslangValidator. GLSL code completion
    is disabled
  > (:lang rust) Couldn’t find Rust’s source code at RUST_SRC_PATH
    or ‘racer-rust-src-path’.

There are 4 warnings!

Sorry for the late response! As of fb8a378 this should be resolved. Please update and let me know if that isn't the case and I'll reopen this issue.
Thanks for letting me know!

Issue still persist in 9f96e3ea

Does =irc fail to open circe? It isn't trivial to prevent the Package tls is obsolete message, but as long as the command works, it should be fine.

it fails to open

5b48c21 is another hopeful attempt to fix this. Please update and let me know if that is the case.

running circe directly gave some insights.
error Network option :port not specified was being thrown but not shown when running M-x =irc
Additionally it was using openssl for certificate verification which stalls for some reason. installing gnutls-cli fixed that.

Closing it as of #1184


DayOfWeek should be compatible to ordinal day numbers from ISO 8601

There exist two common schemes for numbering week days: either starting with sunday = 0 or monday = 1. The enum values of Time::DayOfWeek are Sunday = 0, Monday = 1, ..., Saturday = 6. The ordinal day numbers in ISO 8601 however are Monday = 1, ..., Saturday = 6, Sunday = 7.
This conversion is pretty simple and besides sunday all numerical representations are the same in both numberings.
However, there should be a direct way to use ISO numbers without having to implement any conversion manually.
I'd even favour the internal representation to follow ISO Monday = 1 because this is the most commonly used standard. I propose to change the enum values accordingly. Obviously, this is a breaking change.
enum DayOfWeek
  Monday    = 1
  Tuesday   = 2
  Wednesday = 3
  Thursday  = 4
  Friday    = 5
  Saturday  = 6
  Sunday    = 7
end

In order to also support 0-based numbering, additional methods should be added to the enum. For example #value_sun0 (I don't have any more poetic idea) which returns value % 7. There should also be an equivalent constructor for 0-based numbers. Instead of an additional one, it might be better to simply alter from_value (and maybe new) to map 0 to Sunday. This is still unambiguous and the breaking change is reduced.
The alternative - if we don't want to change the internal values of DayOfWeek - would be to add #to_iso_week_day and .from_iso_week_day providing the required conversions. This avoids a breaking change.
I hope this doesn't spark a discussion about which day is the first day of the week. There are different views and all are right. We just need to assign numbers to represent week days and besides technical reasons it shouldn't matter how.

I agree to follow the ISO standard by default. Modifying the enum looks fine.


Create payload with json.dumps or f-string

This might be easier to read with an f-string. Something like
>>> name = "Eric"
>>> age = 74
>>> f"Hello, {name}. You are {age}."

Source: https://realpython.com/python-f-strings/

Or creating a regular dict and then json.dumpsing it to turn it into a string.

Originally posted by @niharikasingh in https://github.com/plocket/docassemble-ALAutomatedTestingTests/pull/53#discussion_r584046562
[Edit to add response:]

I have not seen that way of composing strings in python before! All the ways I've seen it done have been incredibly clunky. This is much better.
I really like the idea of json.dumps too. It seems scalable. I'd seen it around, but wasn't sure of its use and didn't take the time to find out.
Which do you think would be a better fit?

From https://github.com/plocket/docassemble-ALAutomatedTestingTests/pull/53#discussion_r584446253

I think json.dumps would be a better fit here. That seems more in line with what we're trying to do: create a dictionary payload that is represented as a string.

I really like the structure proposed here, but I think it will be superceded by the PyGithub secrets interface I missed.


fix copy not skipping cli.js

fixes #20 passing explicit path to cli.js

You should rather fix the actual issue: https://github.com/SBoudrias/mem-fs-editor/issues/45.
This way every single generator will have to implement this change, instead of once at the source.

:+1:  https://github.com/SBoudrias/mem-fs-editor/issues/45#issuecomment-145120644

Upstream issue was fixed https://github.com/isaacs/node-glob/pull/227.


code implement for DCC and DCA

DCC and DVO metrics are used for evaluation. Could you please show the code implementation of evaluation.

We used DCC and DCA for pocket detection evaluation.
After obtaining the predicted scores for individual anchors of a protein, a clustering algorithm was applied to generate pocket centers, that is,
'''
anchor_coords: anchor coordinates
pred: predicted scores for individual anchors
protein_coords: protein atom coordinates (given chains)
thre: threshold for clustering

'''
def get_dca_data(anchor_coords, pred, protein_coords, thre=5):
    anchor_coords = anchor_coords.reshape(-1, 3)
    # filter nearby protein atoms
    if protein_coords is not None:
        index = pairwise_distances(anchor_coords, protein_coords).min(1) < 6
        anchor_coords = anchor_coords[index]
        pred = pred[index]

    max_value = np.nanmean(pred) + 3*np.nanstd(pred)

    aa_dist = pairwise_distances(anchor_coords)
    num = len(pred)
    list_done = []
    list_centers = []
    list_coords = []
    list_scores = []
    while True:
        list_todo = np.array([i for i in range(num) if i not in list_done])
        try:
            if len(list_centers) >= 1 and pred[list_todo].max() < max_value:
                break
        except:
            break

        seed = list_todo[pred[list_todo].argmax()]
        list_pocket = [seed]
        list_bfs = [seed]
        list_finished = []
        while len(list_bfs)>0:
            start = list_bfs.pop()
            list_finished.append(start)
            nei = list(np.arange(num)[(aa_dist[start] < thre) * (pred > max_value)])
            list_pocket.extend(nei)
            list_bfs.extend(list(set(nei) - set(list_finished)))
        list_pocket = list(set(list_pocket))
        # check
        coords = np.array(anchor_coords[list_pocket])
        weight = np.exp(pred[list_pocket]).reshape(-1, 1)
        weight /= weight.sum()
        center = (coords * weight).sum(0)

        list_coords.append(coords)
        list_centers.append(center)
        list_scores.append(len(list_pocket))
        list_done.extend(list_pocket)
    pocket_centers = np.array(list_centers)
    return pocket_centers

Then, DCC and DCA can be computed directly based on the definitions, that is,
'''
  ligand_coords: coordinates of ligand atoms
  pocket_centers: predicted pocket centers in descending order
  n: number of pockets for input protein
'''

from sklearn.metrics import pairwise_distances

# DCC top-(n+2)
dcc_anchor_n2 = pairwise_distances(np.mean(ligand_coords, axis=0, keepdims=True), pocket_centers[:(n+2)]).min()

# DCC top-(n)
dcc_anchor_n = pairwise_distances(np.mean(ligand_coords, axis=0, keepdims=True), pocket_centers[:n]).min()

# DCA top-(n+2)
dca_anchor_n2 = pairwise_distances(ligand_coords, pocket_centers[:(n+2)]).min()

# DCA top-(n)
dca_anchor_n = pairwise_distances(ligand_coords, pocket_centers[:n]).min()

We did not use DVO because there is no voxelization in this work.

Thanks for your code, your paper also gives me a lot of inspiration.

Why does COACH420 only have 348 labels? What is the problem that causes the program to run abnormally?

Hi, can you print the exception error message?

Hi,I don't run the data preprocessing, the output(419, 348) in the figure may be what you ran earlier. When I predict coach420, I find that only 348 labels are imported, and you have common out the import of labels(https://github.com/tiantz17/PocketAnchor/blob/main/PocketDetection/src/COACH420.py#L30C1-L34)

I guess you commented out the import of the label because the dataloader would get an error if the label was not complete.So I would like to know why there are 348 labels in the data preprocessing. I suspect that the code is wrong where the picture indicates, and then it is directly pass the exception.

Oh, I see.
The label_dict was generated as training labels for scPDB. COACH420 was only used for testing, not for training. So we did not use the label_dict of COACH420 here.
You can just ignore this.

Here I provide the ligand coordinates of COACH420 used for evaluation.
coach_ligand_coord_load.zip

I see, thanks for your reply.

When calculating the DCC/DCA , if one protein has multiple ligands, the prediction of the protein will be successful only if each ligand calculation meets the requirements?

by the way, I am also a student at Tsinghua University. I just got into molecular docking and have a strong interest in it. If you are willing, you can send contact information to my email address(xiao-jy21@mails.tsinghua.edu.cn), thx!

https://github.com/devalab/DeepPocket/issues/9#issuecomment-1132564209

When calculating the DCC/DCA , if one protein has multiple ligands, the prediction of the protein will be successful only if each ligand calculation meets the requirements?

If one protein has n ligands, then the top-(n) or top-(n+2) predicted pocket centers will be used for evaluation. The success rate is defined as the number of successfully predicted pockets divided by the number of total pockets, which was adopted by most methods.

Thanks. I reproduced the results on coach420

I am sorry that the result may be inaccurate because of some bugs in my code before. After the revision, it seems that the gap between the reproduced results and the results in the paper. Could you please provide the complete code of the prediction to help me reproduce the results

目前复现出来的结果差挺多的，找不出来为什么，如果可以的话，希望得到学长的帮助。

For better reproducing the results of our paper, we now provide a docker image containing code, data, environment, trained models, and prediction results.
You can pull it from https://hub.docker.com/r/tiantz17/pocketanchor or run docker pull tiantz17/pocketanchor.
Hope this can help.


[AutoPR machinelearningservices/resource-manager] Add specs for machine learning services provider

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3135

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/2663


tentaclerape.net being weird (yeah I see the irony lol)

Bug description
When searching and/or downloading anything, tentaclerape.net says "No valid source of the site returned result". Then, using the "Get all" button, tentaclerape.net shows up and says it has millions of images to download.
Steps to reproduce

Search any tag. (Note: Only happens when you search with at least one other site, otherwise you can't click on "Get all" for obvious reasons.)
Click on 'Get all'
tentaclerape.net should be there.
See error

Expected behavior
If the app's somehow being blocked by the site, at least don't try to download non existing images.
Context

Provide your main.log file to see if any obvious error occured.
main.log
Providing your settings.ini file will greatly help maintainers reproduce your problem if it may be caused by your configuration.
"We don't support that file type" says GitHub...so here's a txt version:
settings.txt

Screenshots

System information

OS: Windows 10
Grabber version: 6.0.6

Additional context
If it's broken and I just can't use it, that's fine. Just wondering if there's a way to fix it.

After going through the site, it seems they just copy/paste the same set of tags for all their images...which makes them useless. I did however have the same problem with rule34.paheal.net, but I was able to fix it by changing the "Referer (default)" setting to "Image".
I didn't see a way to close or delete this post myself, so it can just be closed by who ever can.
Thanks for still working on this app btw...though I would love it if Hentai Foundry was a valid source lol.

After going through the site, it seems they just copy/paste the same set of tags for all their images...which makes them useless.

Yep, they have very few tags, so you can't really expect to use the tags from other sources there. 🤷♂

Thanks for still working on this app btw...though I would love it if Hentai Foundry was a valid source lol.

Feel free to open another ticket to suggest it, with information about use cases!

I didn't see a way to close or delete this post myself, so it can just be closed by who ever can.

:+1:


Rename SingleTPUPlugin to SingleTPUStrategy

What does this PR do?
Part of #10549.
Does your PR introduce any breaking changes? If yes, please list them.
Renamed SingleTPUPlugin to SingleTPUStrategy
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?
[n/a] Did you make sure to update the documentation with your changes? (if necessary)
[n/a] Did you write any new necessary tests? (not for typos and docs)
[ ] 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:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] 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?
Make sure you had fun coding 🙃
cc @justusschock @awaelchli @akihironitta @borda

Could you also update Single TPU in documents and comments please?

@four4fish All I could find related to SingleTPU is only this occurrence bdfbc0d, but are there any other places I should fix?

@four4fish All I could find related to SingleTPU is only this occurrence bdfbc0d, but are there any other places I should fix?

Nope, looks good to me! thanks


Every condition on a deleteMany call is satisfied if none of the records meet the criteria

Bug description
Recently ran into a bit of a nasty bug related to the every filter for a deleteMany call. I had a prisma deleteMany call set up like so:
const dogs = await prisma.dog.deleteMany({
    where: {
      breed: DogBreed.BEAGLE,
      owners: {
        every: {
          name: "Sam Sokolin",
        },
      },
    },
  });

and a Dog record in my database structured like so:
{
  "breed": "BEAGLE",
  "owners": [{
    "name": "John Smith"
  }]
}

I would expect that deleteMany call to be a no-op because there are no dogs with the breed “BEAGLE” where all of the owners have name “Sam Sokolin”. However, what ended up happening is that owners resulted in an empty array and the every condition was satisfied. Thus the deleteMany call attempted to delete the “John Smith”-owned dog record which failed due to a foreign key constraint. The deleteMany call was part of a transaction which was used to make updates to the Owner table and consequently every single update to the Owner table was failing, even though none of them were updating “John Smith”.
The remediation to this bug was updating the deleteMany call to be one of these two options:
// Check both every and some
prisma.dog.deleteMany({
  where: {
    breed: DogBreed.BEAGLE,
    AND: [
      {
        owners: {
          every: {
            id: "Sam Sokolin",
          },
        },
      },
      {
        owners: {
          some: {
            id: "Sam Sokolin",
          },
        },
      },
    ],
  },
})

// Check every and NOT none
prisma.dog.deleteMany({
  where: {
    breed: DogBreed.BEAGLE,
    AND: [
      {
        owners: {
          every: {
            id: "Sam Sokolin",
          },
        },
      },
      {
        NOT: {
          owners: {
            none: {
              id: "Sam Sokolin",
            },
          },
        }
      },
    ],
  },
})

To me, it feels odd that the every condition passes if NONE of the owners have the correct name. I’m not sure if this is by design, or indeed a Prisma bug, but figured it was at least worth flagging for discussion! Curious to hear thoughts!
How to reproduce
N/a
Expected behavior
The initial deleteMany call to be a no-op.
Prisma information
Redacted schema and actual code in favor of a parallel example with 🐶s. Let me know if it's unclear or needs further explanation!
Prisma version info:
<EMAIL_ADDRESS>  version "4.7.1"
  resolved "https://registry.yarnpkg.com/prisma/-/prisma-4.7.1.tgz#0a1beac26abdc4421e496b75eb50413f3ee3b0ba"
  integrity sha512-CCQP+m+1qZOGIZlvnL6T3ZwaU0LAleIHYFPN9tFSzjs/KL6vH9rlYbGOkTuG9Q1s6Ki5D0LJlYlW18Z9EBUpGg==
  dependencies:
    "@prisma/engines" "4.7.1"

Environment & setup

OS: macOS
Database: PostgreSQL
Node.js version: v16.18.1

Prisma Version
Environment variables loaded from prisma/.env
prisma                  : 4.7.1
@prisma/client          : 4.7.1
Current platform        : darwin-arm64
Query Engine (Node-API) : libquery-engine 272861e07ab64f234d3ffc4094e32bd61775599c (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 272861e07ab64f234d3ffc4094e32bd61775599c (at node_modules/@prisma/engines/migration-engine-darwin-arm64)
Introspection Engine    : introspection-core 272861e07ab64f234d3ffc4094e32bd61775599c (at node_modules/@prisma/engines/introspection-engine-darwin-arm64)
Format Binary           : prisma-fmt 272861e07ab64f234d3ffc4094e32bd61775599c (at node_modules/@prisma/engines/prisma-fmt-darwin-arm64)
Format Wasm             : @prisma/prisma-fmt-wasm 4.7.1-1.272861e07ab64f234d3ffc4094e32bd61775599c
Default Engines Hash    : 272861e07ab64f234d3ffc4094e32bd61775599c
Studio                  : 0.477.0
Preview Features        : extendedWhereUnique

I got a similar looking error, but in my case it was that one of the conditions had become undefined. E.g. DogBreed.Beagle was undefined. This somehow caused the entire where clause to be dropped.


feat(model): CommandOption max and min length

Targets next (depends upon breaking change that flattens CommandOption), see #1826 for a backported version targeting main.

Integrated directly into #1809


Version bump to 101

Description
Bump the API version and the core-DB schema version to 101, patch test databases.
Use case
Part of the release cycle.
Benefits
Ready for development for release 101
Possible Drawbacks
none I can see
Testing
Have you added/modified unit tests to test the changes?
no
If so, do the tests pass/fail?
Have you run the entire test suite and no regression was detected?

Coverage increased (+0.005%) to 81.426% when pulling 355d3d58e238b8a6968cbeda6125566b734ab5cc on patch_100_101_a into 4600800e2026121b48754afd89bf3b5ae64d7729 on master.


bump version in package.json to v2.13.0

release version v2.13.0

 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.


Incomplete display of vertical coordinates

This problem occurs when viewing data from the torvalds/linuxrepository

cc @Yiyiyimu

Thanks for raising it here! @LiteSun could you give me time to get this issue fixed? I planed to propose to add the graph to apache/airflow and met with this issue.

Plan to have it done by Tuesday of this week


CI: speedup tests

ci(python/bdd): speed up tests by reducing request timeout

Signed-off-by: Tiago Castro<EMAIL_ADDRESS>

ci(rust): several improvements

Reduce etcd election timeout in deployer (there's only 1 anyway...)
Start rest in deployer with a single core for faster startup.
Fix RpcHandle from rpc from blocking to async.
ShutdowOrder is completely broken, add our own new type for the composer
and aim to fix this in another commit. For now simply send sigterms
concurrently to speed up shutdown.
Add more tracing information to deployer.
Reduce "backoff" timeouts in general.

Signed-off-by: Tiago Castro<EMAIL_ADDRESS>

ci(rust): build tests in single call

This is faster because when building tests individually we're actually building
with different deps so it takes longer.


Hot Module Reload fails for web worker (document API doesn't exist)

Bug report
What is the current behavior?
Hot Module Reloading fails with
log.js:26 [HMR] Update failed: ReferenceError: document is not defined
    at hotDownloadUpdateChunk (http://localhost:8080/meshworker.bundle.js:14:25)
    at hotEnsureUpdateChunk (http://localhost:8080/meshworker.bundle.js:322:13)
    at http://localhost:8080/meshworker.bundle.js:288:14

In the webworker when one of it's dependencies needs to be refreshed.
this injected function:
/******/ 	function hotDownloadUpdateChunk(chunkId) {
/******/ 		var script = document.createElement("script");
/******/ 		script.charset = "utf-8";
/******/ 		script.src = __webpack_require__.p + "" + chunkId + "." + hotCurrentHash + ".hot-update.js";
/******/ 		if (null) script.crossOrigin = null;
/******/ 		document.head.appendChild(script);
/******/ 	}

fails because there is no "document" api inside a web worker.
If the current behavior is a bug, please provide the steps to reproduce.
I've got a simple config with two entrypoints, one for my main module, one for the worker.
module.exports = {
    entry: {
        main: './src/index.ts',
        meshworker: './src/meshworker/index.ts'
    },

I use the temp workaround for the "window" crash issue in web workers
    output: {
        filename: '[name].bundle.js',
        path: path.resolve(__dirname, 'dist'),
        globalObject: 'this'
    },

I start my webworker with a direct manual load. (not using the worker loader)
var meshWorker = new Worker('meshworker.bundle.js');
start the thing with
webpack-dev-server --dev --hot
then touch one of the worker's bundle's depdencies.
What is the expected behavior?
At a minium, a full reload.
That piece of code that uses script tags on the document to load a script looks important. I'm not sure it's possible to simply "fix" this.
Some suggestions:
Inside dev-server, i see the error response code:
	.catch(function(err) {
				var status = module.hot.status();
				if (["abort", "fail"].indexOf(status) >= 0) {
					log(
						"warning",
						"[HMR] Cannot apply update. Need to do a full reload!"
					);
					log("warning", "[HMR] " + log.formatError(err));
					window.location.reload();
				} else {
					log("warning", "[HMR] Update failed: " + log.formatError(err));
				}
			});

It fails to even fallback to the full reload, as the status is "prepare", instead of abort or fail. If the whole page reloaded, we'd be at least in a bit better shape.
Another useful thing is if I could somehow know in the main thread that my web worker needs reloading. This may be possible, I just don't know how. Even better if I could know which submodule dependency failed to load. I know you can do this under normal circumstances in the main thread; Unsure if you can do this cross-thread like this.
Other relevant information:
webpack version:
4.44.1

Looks like you can't just dumbly add "prepare" to the list of failure code; "window.location.reload();" won't work either in the webworker. needs to bubble up somehow.

@ncoder You need to use worker-loader or multi compiler mode with target: 'webworker' (https://webpack.js.org/configuration/target/), you can't use multiple entry points for different targets


Add support for size_of_val and align_of_val

Yeah, this will be able to use the UnOp from here: https://github.com/minirust/minirust/pull/218/commits/75f77eee1615382a18596d2c3d01ded4706eba0f , altho that commit still needs to be updated & reviewed,

@RalfJung
Thank you for the comment. I think we can wait for @Indeximal 's commit to be merged :)

@Indeximal
Hi, I would like to ask if you have a plan to add the AlignOfVal :)

@Indeximal Hi, I would like to ask if you have a plan to add the AlignOfVal:)

@sun-jacobi Yes eventually it will be added aswell. However, first there will be a refactor which merges the internal representation of size and align, which I‘ll start working on Soon (tm).
For now align is still always constant, so if you need to move forward with #234 I could change the align translation to the new operand once I implement it, and you could let it be a constant expression for now.

@Indeximal Hi, I would like to ask if you have a plan to add the AlignOfVal:)

@sun-jacobi Yes eventually it will be added aswell. However, first there will be a refactor which merges the internal representation of size and align, which I‘ll start working on Soon (tm). For now align is still always constant, so if you need to move forward with #234 I could change the align translation to the new operand once I implement it, and you could let it be a constant expression for now.

@Indeximal
Thank you! Please feel free to proceed with your current plan. I’m busy with other things at the moment, so I’m happy to wait :)

@RalfJung
I see. Recently I may not have time working on this issue, sorry.
@Indeximal Would you like to work on size_of_val and align_of_val.

Thanks for the quick reply. :)


Update note on ptrace

Summary
Clarified information regarding ptrace
Fixes 2246

I wouldn't say this fixes 2246 - that one had a lot more nuances.

I wouldn't say this fixes 2246 - that one had a lot more nuances.

I am trying to understand all of the necessary changes and plan to do them all in this PR.

@hoyosjs Where should I link this?
https://github.com/dotnet/diagnostics/issues/2246#issuecomment-832324714
We should also cross-link to the default seccomp profile for both containerd and moby since the upstream may change (as has happened in the past 😅)

@hoyosjs Where should I link this? dotnet/diagnostics#2246 (comment) We should also cross-link to the default seccomp profile for both containerd and moby since the upstream may change (as has happened in the past 😅)

A good example is saying, "For example, moby+containerd specifies a seccomp profile that allows parent ptrace if the container host has a kernel version higher than 4.8"

@hoyosjs Do you know how to fix this link? Line 15: [Warning] Invalid file link: '../install/macos-notarization-issues'.


Cannot install spaCy for Pyth2.7 (64-bit) on Win10

I'm using Python 2.7 64-bit on Windows 10 64-bit. Pip is up-to-date, however "pip install spacy" returns this: http://pastebin.com/F8Bd4hfB
Looking through some of the other issues on here, I saw that you were developing a "wheel" installer, so (through some simple URL manipulation) I tried to download a wheel file for Python 2.7, but that returned this error: http://pastebin.com/16WCPCk9
I have been trying for almost a week now to install spaCy, and really cannot continue development without it. Thank you very much for the help. :)

Sorry that installing spaCy was such a waste of time for you, in fact its a
top priority for us to make installing spaCy as simple and straight-forward
as possible. Unfortunately, Python packaging is in a bit of a messy state
and makes it hard, but we are pretty close.
The error (both are the same) you get is easy to decipher though once
you've seen it before: setuptools/distutils didn't find a proper compiler
environment.
In case of Python 2.7 you need Visual Studio 2008 (free express edition
works), the 64 bit version of the compiler suite (comes as part of Windows
SDK) and a stdint.h header that MS forgot to ship. That's nothing specific
to spaCy, but required for all Python packages with C extensions.
Once we have wheels for spaCy and all dependencies (currently only
spaCy and thinc) you won't need to compile anything anymore. All future
releases will ship as wheels, hence it won't take long anymore.
If you can't wait for full wheels coverage and don't want to configure the
compiler setup I recommend you take a look at our binary conda packages
on the spacy channel (conda install -c spacy spacy).they are kept in sync
with the latest pypi releases.
Am Freitag, 18. März 2016 schrieb Hactar :

I'm using Python 2.7 64-bit on Windows 10 64-bit. Pip is up-to-date,
however "pip install spacy" returns this: http://pastebin.com/F8Bd4hfB
Looking through some of the other issues on here, I saw that you were
developing a "wheel" installer, so (through some simple URL manipulation) I
tried to download a wheel file for Python 2.7, but that returned this
error: http://pastebin.com/16WCPCk9
I have been trying for almost a week now to install spaCy, and really
cannot continue development without it. Thank you very much for the help. :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/spacy-io/spaCy/issues/298

Thank you very much! I'm glad you're working on this issue. SpaCy appears to be working 100% now. :)

Update: We are now shipping stdint.h together with spaCy, see https://github.com/spacy-io/spaCy/tree/master/include/msvc9


Rename + add command line utility

Does not work, but adds more things then it breaks, so merging so I can fix.

Read next PR.

Just read it lol


[$250] [Mentions v2] Support mentions in room description

Problem: Adding mentions to a room description doesn't work correctly, currently it:

Shows the underlying HTML tag instead of showing the mention when updating the room description
Removes mentions when creating a room with mentions in the description

Solution: Support report and user mentions in room descriptions.
More context:
https://expensify.slack.com/archives/C066HJM2CAZ/p1717069611736909?thread_ts=1717035618.513299&cid=C066HJM2CAZ
https://expensify.slack.com/archives/C066HJM2CAZ/p1720573506379179
Issue OwnerCurrent Issue Owner: @
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01e50224dcaf5d7646
Upwork Job ID:<PHONE_NUMBER>136465845
Last Price Increase: 2024-08-20

@RachCHopkins , Automation failed here. PR referred for this issue was deployed to production on 2-Aug. Payment date should be 8-Aug. Can you please update the payment date and labels? Thanks!

Gentle bump on this. @RachCHopkins

Moving to daily since the automation failed and we are a bit late here

@RachCHopkins Can you please check this issue as well? This is due for payment since 9-Aug.

Sorry @c3024 I've had a couple of crazy weeks - just catching up on everything finally! Offer should be ready for you.

Accepted the offer! Thank you!

Payment Summary:
Contributor+: @c3024  paid $250via Upwork
Upwork job here

Contributor has been paid, the contract has been completed, and the Upwork post has been closed.


Add ja Translation(v0.3)

Just the introduction, but I translated it.
So far, it's working fine.
Are there any plans to add options or warnings on first launch?

It's unclear if any options will be added at this stage - none are needed right now, but that might change.
A Harmony warning will be added, at least - maybe others, but not sure yet,

Thanks for the reply.
I will continue to translate if there are any additions.


Move coCapture() to libkj

It bugged me that coCapture() didn't live in libkj -- it's something that pretty much everyone who uses coroutines will need.
So far this branch only applies a couple cleanups to coCapture() to make it more palatable to libkj. I then copied the result verbatim to this counterpart capnproto PR: https://github.com/capnproto/capnproto/pull/1561. Once that is merged, I'll add another commit to update workerd's capnproto dependency and kj::-qualify any uses of the function.

Hmm did GitHub automatically add all codeowners as reviewers? That's a little annoying, I'd prefer that people still choose a specific reviewer.

Hmm did GitHub automatically add all codeowners as reviewers? That's a little annoying, I'd prefer that people still choose a specific reviewer.

Yup.

I think you missed an include here: https://github.com/cloudflare/workerd/blob/main/src/workerd/io/worker.c%2B%2B#L18
@harrishancock

I think you missed an include here: https://github.com/cloudflare/workerd/blob/main/src/workerd/io/worker.c%2B%2B#L18
@harrishancock

Came to report this too
src/workerd/io/worker.c++:18:10: fatal error: 'workerd/util/co-capture.h' file not found
#include <workerd/util/co-capture.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

D'oh! Thanks for the reports, fix up here: https://github.com/cloudflare/workerd/pull/84

Hmm did GitHub automatically add all codeowners as reviewers? That's a little annoying, I'd prefer that people still choose a specific reviewer.

There is a feature request for this here: https://github.com/orgs/community/discussions/35673.


CodeIgniter\Validation\Exceptions\ValidationException  is not a valid rule.

Hi, thanks for this project it's very helpful
i got this error
invalid rules exception at line 270
270             if ($this->validator->withRequest($this->request)->run() || $novalidation) //|| empty($this->fields)
is there any solution ,
thanks

I have watched your tutorial video it's solve this  thanks 💯


[#3896] feat(catalog-lakehouse-paimon): Support kerberos auth for Paimon FilesystemCatalog

What changes were proposed in this pull request?
Support kerberos auth for Paimon FilesystemCatalog
Why are the changes needed?
Fix: https://github.com/datastrato/gravitino/issues/3896
Does this PR introduce any user-facing change?
No
How was this patch tested?
New ITs.

Hi @yuqi1129 @FANNG1 could you help review this PR when you are free? Thank you!

Hi @yuqi1129 @FANNG1 could you help review this PR? Thank you!

comments have been addressed.

comments have been addressed.

CC @qqqttt123

Hi @FANNG1 could you help trigger the pipeline and review again if you are free?  Thanks!

Hi @FANNG1 could you help trigger the pipeline and review again if you are free? Thanks!

Fixed the apache license issue, and could you help re-trigger the pipeline again? Thanks @FANNG1

Hi @FANNG1 could you help trigger the pipeline and review again if you are free? Thanks!

Fixed the apache license issue, and could you help re-trigger the pipeline again? Thanks @FANNG1

done

After discussion with @FANNG1 , I decided to split this pr and not support Impersonation at first.
I will write a doc and point out the problems about supporting Impersonation in Paimon FilesystemCatalog, and then implement it after full discussion.
cc @yuqi1129

After discussion with @FANNG1 , I decided to split this pr and not support Impersonation at first. I will write a doc and point out the problems about supporting Impersonation in Paimon FilesystemCatalog, and then implement it after full discussion. cc @yuqi1129

The new PR is to support kerberos without impersonation. cc @FANNG1 @yuqi1129
https://github.com/apache/gravitino/pull/4075


⚠ Bofrost.at has degraded performance

In e88d747, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1545 ms

Resolved: Bofrost.at performance has improved in 8538ab7 after 6 minutes.


EC-Earth3, EC-Earth3-Veg, Ec-Earth3-Veg-LR precip running out of memory in clean-cmip6 step

Getting the OOMKilled error message

Did this get fixed when I fixed https://github.com/ClimateImpactLab/downscaleCMIP6/issues/209?

Nope - this happened after #209 was fixed


Shortcut key and Sidebar plugin's conflict

Hello author, I am a user using Sidebar and I would like to provide the following feedback: the shortcut Ctrl+B in Firefox browser will cause the functionality of UserChrome to fail (the solution is to open the Sidebar plugin again, I guess you can use the shortcut key to replace the browser's original functionality); Secondly, regarding the image you displayed on Floorp with a side toolbar on the right, I also want to achieve such an effect. Is there a solution? Finally, the activation pop-up search/address bar startup version you showed me is something I really don't know how to enable. Can you explain it in the issue? Here, I am very grateful for your reply!!!!

Floorp with a side toolbar on the right

Go to Settings > Browser Manager Toolbar and click "Show"

Ctrl+B in Firefox browser will cause the functionality of UserChrome to fail (the solution is to open the Sidebar plugin again, I guess you can use the shortcut key to replace the browser's original functionality)

Yes, and you can apply a shortcut for Sidebery to quickly return it back to normal, for example by using F1 key. (about:addons > click gear icon > click "Manage Extensions Shortcuts" > go to Sidebery)

the activation pop-up search/address bar startup version

Go to about:config, type uc.tweak.popup-search and add it as new Boolean value.

About the popup-search can we trigger it when pressing CTRL+T and override the default behavior of opening a new tab?

About the popup-search can we trigger it when pressing CTRL+T and override the default behavior of opening a new tab?

I was also interested in this, but I haven't found a reliable method to override the default behavior of CTRL+T. For now, I use either CTRL+J or CTRL+K to open the search without opening a new tab. But the annoying thing is that they override the current tab instead of searching in a new one.


Some gap between RenderHeader and RenderInner

Though I kept RenderInner height 100%..down the renderheader I can see a transparent line..if we scroll it's visible..how can I disable ..I want all my BottomSheet to be in white color

displayed only on android

Thank you a lot..I will check once .

@ruslan-hontar thanks, your solution worked :relaxed:

Using top: 1 works but cut 1 pixel of sheet's content view.
What i did here was to set borderTopColor: '#fff', borderTopWidth: 1, on sheet's content view.


Add .gitignore file

Add a .gitIgnore file to the root of your project and in that file have at least this line
.DS_Store

Remove .DS_store files.

Thank you! Just deleted the .DS_store file from the project. Should be all set now


How to deploy on any remote branch other than master

Just trying to use production interested of master
$ git push prod production
production - branch
prod - remote

git-deploy by default only updates whenever there is a push to a currently checked-out branch on the remote. Therefore, to switch to another branch you simply need to log into your remote and git checkout production. After that, just keep pushing to the production branch.


initial commit, bash cheatsheet

want to push initial commit to main to put directory structure in place

closes #3


Added domainMapping tests

CI is failing because you need to change the Makefile taget to use go test instead of ginkgo. Also, put the DomainMapping tests in a separate file.
/assign @fran2810


upload app store Flutter.framework contains incomplete bitcode

Steps to Reproduce

flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.3, on macOS 11.4 20F71 darwin-x64, locale
    zh-Hans-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.2)
[✓] IntelliJ IDEA Community Edition (version 2018.3.3)
[✓] VS Code (version 1.59.0)
[✓] Connected device (3 available)

! Doctor found issues in 1 category.

2.podfile
post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
    target.build_configurations.each do |config|
          config.build_settings['ENABLE_BITCODE'] = 'NO'
          remove_cflags_matching(config.build_settings, ['-fembed-bitcode', '-fembed-bitcode-marker'])
          config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
          config.build_settings["ONLY_ACTIVE_ARCH"] = "YES"
          config.build_settings['VALID_ARCHS[sdk=iphonesimulator*]'] = 'arm64 x86_64'
          config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'
    end
  end
end

build

flutter build ios -v   --build-name=$appVersion --build-number=$appBuildNumber   --release  --target=$(pwd)/lib/main.dart

use transporter upload  *.ipa
error

ERROR ITMS-90668: "Invalid Bundle Executable. The executable file 'Runner.app/Frameworks/Flutter.framework/Flutter' contains incomplete bitcode. To compile binaries with complete bitcode, open Xcode and choose Archive in the Product menu."

For help, there is no idea to solve the problem, and there is no way to submit it to the app store for review. Please help!

@dansunhappy
I followed till step 3 as above and it built Runner.app for me properly. Can you elaborate on step 4 ? Does it mean you are running flutter build ipa and then archived it through Product -> Archive which gave you this error ?

@dansunhappy I followed till step 3 as above and it built Runner.app for me properly. Can you elaborate on step 4 ? Does it mean you are running flutter build ipa and then archived it through Product -> Archive which gave you this error ?

step 4,is
cp -R build/ios/iphoneos/Runner.app build/ios/iphoneos/ipa/Payload/
cd build/ios/iphoneos/ipa
zip -r app-release.ipa Payload SwiftSupport
xcrun altool --validate-app -f  app-release.ipa ...
xcrun altool --upload-app  app-release.ipa  ...

to upload app store automatically
step 5Prompt erro
ERROR ITMS-90668: "Invalid Bundle Executable. The executable file 'Runner.app/Frameworks/Flutter.framework/Flutter' contains incomplete bitcode. To compile binaries with complete bitcode, open Xcode and choose Archive in the Product menu."

Yes, product -> archive can solve this problem, but we choose to upload app store automatically, product -> archive can not meet our needs
I found flutter tools use
'xcrun',
      'bitcode_strip',
      frameworkBinaryPath,
      '-m', // leave the bitcode marker.
      '-o',
      frameworkBinaryPath`

did not solve the problem of bitcode.
I modified the use to solve the problem
xcrun bitcode_strip  ${appPath}/Frameworks/Flutter.framework/Flutter -r -o  ${appPath}/Frameworks/Flutter.framework/Flutter

modify the parameter -m to -r  to solve the problem

Thanks for the updates and explaination. I followed the same to see the same behavior on latest stable.

 stable, master flutter doctor -v
[✓] Flutter (Channel stable, 2.5.3, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-GB)
    • Flutter version 2.5.3 at /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (2 days ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/dhs/Library/Android/sdk
    • Java binary at: /Users/dhs/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7486908/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/dhs/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/202.7486908/Android
      Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.57.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (4 available)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 93.0.4577.82

• No issues found!

/cc @jmagman

You're turning off bitcode but only for the plugins?  Did you change your app to ENABLE_BITCODE = YES?

You're turning off bitcode but only for the plugins? Did you change your app to ENABLE_BITCODE = YES?

Because some plug-ins don’t have this bitcode.
          config.build_settings["ONLY_ACTIVE_ARCH"] = "YES"
          config.build_settings['VALID_ARCHS[sdk=iphonesimulator*]'] = 'arm64 x86_64

No effect
Do not use
xcrun bitcode_strip  ${appPath}/Frameworks/Flutter.framework/Flutter -r -o  ${appPath}/Frameworks/Flutter.framework/Flutter

use
otool -l  Flutter | grep __LLVM | wc -l

Returns non-zero.Description contains bitcode

Because some plug-ins don’t have this bitcode.

Then why is your app trying to ship with bitcode?  Why is ENABLE_BITCODE set to YES in your app target?

Can you attach a flutter run output with the --verbose flag?

@dansunhappy  how can you bitcode_strip  Flutter.framework bitcode before flutter build ios . that's will produce a codesign error when i upload app store connect.

@dansunhappy how can you bitcode_strip  Flutter.framework bitcode before flutter build ios . flutter build ios will create runner.app and i strip bitcode in that fold will produce a codesign error when i upload app store connect.

可以将flutter tools 里的flutter.framework 进行bitcode_strip,但不是一个很好的办法


Question: How to relate celery_periodic_task to celery_task_meta

Essentially what I'm looking for is how to associate a Task with the results from its execution. To be able to show instances of failure and the current status of a Task.
I think this can be achieved by:
Option 1: linking the celery_periodictask.id to the celery_taskmeta rows.
Option 2: give the same in celery_periodictask.name to the celery_taskmeta.name.
I'm just not sure about how to execute this the above steps. Celery's documentation does not provide decent insights.
Once again I'm probably missing something glaring. Sorry in advance, getting to around Celery for the first time :).

If I understand you correctly, what you want can be achieved through the results backend. set the results backend to a database that you want to save in, you will have the table for the results.
you can access the results later using celery:
from celery.result import AsyncResult
t = AsyncResult(task_id, app=celery_app)
metadata = t._get_task_meta()
# output
# {'status': 'SUCCESS', 'result': 'the function return value', 'traceback': None, 'children': [], 'date_done': '2022-11-24T13:10:56.584945', 'task_id': '92867bf7-9873-4ff6-8f4a-936ecbeb6229'}

But I don't think this is related to sqlalchemy-celery-beat and is more related to celery's results backend itself. Or are you talking about PeriodicTask not Task ?

But I don't think this is related to sqlalchemy-celery-beat and is more related to celery's results backend itself. Or are you talking about PeriodicTask not Task ?

Sorry I think I use the wrong terminology I'm talking about the schedules stored by sqlalchemy-celery-beat
Thanks for reaching out so fast.
This is the task I'm scheduling:
task = PeriodicTask(
    schedule_model=schedule,
    name='Importing contacts',
    task='main.add',
    args='[60, 9]',
)

I see that it gets saved to celery_periodictask:

I would like to associate the id of a scheduled task to its execution. In your example there's also no value where to join this two.

ok I understand what you want now, you can make a table that relates a task_id with the related with the periodic task. This will only be suitable if you are going to do joins.
If you don't need joins then I would recommend your second solution which is setting the task name to be the same as the periodic task name. then in
t = AsyncResult(task_id, app=celery_app)
print(t.name)
# will show your task name

you can use that to query the PeriodicTask and do what you want.

Thanks for the help in the end I'll use celery's before_task_publish signal which allows me to correlate the unique name and task id
@before_task_publish.connect
def before_task_publish_handler(sender=None, body=None, exchange=None, routing_key=None, **kwargs):
    kwargs.get("properties", {}).get('periodic_task_name')  # unique_name in celery_periodictask
    kwargs.get("properties", {}).get("correlation_id")  # task_id stored in celery_taskmeta


Use rector-src#dev-upgrade-to-php-parser5-and-phpstan-2

Ref:

https://github.com/rectorphp/rector-src/pull/6431

@TomasVotruba finally, unit test green 🎉 🎉 🎉
All rector-* packages are now upgraded to php-parser 5 and phpstan 2

Looks good, let's ship this one too :hugs:  Thank you!


[Feature Request / Wishlist]: Read/write test between system RAM (or CPU cache) and VRAM

Hi,
I have an eGPU enclosure here which uses Thunderbolt 3 and it is connected to a Linux laptop with an AMD CPU + USB-C/USB4 port (40gbit/s). From the speeds I get in memtest_vulkan it seems to me that it performs read/write tests only within the GPU itself. memtest_vulkan reports 187GB/s to me, way more than the 40gbit/s the USB4 port allows.
It would be nice if memtest_vulkan had an option to measure the read/write throughput between VRAM/GPU and RAM/CPU, so that I could use it to measure the real throughput of the TB3/USB4 connection. Currently on Linux it seems a bit difficult to measure this as is (at least usbtop / usbmon don't seem to be able to capture Thunderbolt traffic).

Hi, you are right - the testing is performed in GPU memory, since the initial idea was to create the memory stability testing utility, not the performance benchmark.
The output of the speed in GB/s is more informational, it doesn't utilize the 100% memory bandwidth for some cards due to a lot of memory address computations that sometimes are capped by computational performance.
However, there are some preliminary plans to add the benchmark mode in the future and adding the estimation of the bus performance seems to be interesting idea, thanks!


docs: add .prettierignore and fix some details

Changes proposed in this PR:

Add .prettierignore file.
Fix some styles in checkbox.
Correct prettier fixes in .scss

[ ] I have followed (at least) the PR section of the contributing guide.
@90milesbridge/tigger

Pull Request Test Coverage Report for Build 2801

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 80.455%

Totals

Change from base Build 2793:
0.0%

Covered Lines:
2580

Relevant Lines:
3097

💛  - Coveralls


Upgrade bootstrap to version 3.4.1 or later

Per GitHub security review and notification of moderate security vulnerabilities we need to upgrade the Bootstrap version we're using. There are also a number of other security vulnerabilities that have been identified and need to be addressed.
Once the versions are updated to current security related upgrades, it can be loaded on the develop AWS instance to check out compatibility issues.

This was addressed using Dependabot automated update and tested informally by Dan.


Version 2.7.5 - minor changes

charging stations - new rest parameter to get public charging
fix - metric name for prometheus

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: ClaudeROSSI:x: mahdibenromdhanemahdibenromdhane seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


added ability to take params/payload data from pipe

Added stdin pipe detection and verified that extraneous '-' of command as in https://github.com/operator-framework/combo/issues/6 is ignored.

closes #6


Dotnix follow-up

Project Abstract
Dotnix is a collection of Nix packages and NixOS modules designed for creating and managing Polkadot/Kusama Validator Nodes, emphasizing both security and ease of use.
This application is for a follow-up grant: https://github.com/w3f/Grants-Program/commit/0e034e3eb2179a60ac2a50cddc97be0edba1ec69
Grant level

[ ] Level 1:  Up to $10,000, 2 approvals
[ ] Level 2:  Up to $30,000, 3 approvals
[ x ] Level 3:  Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied and aptly renamed (project_name.md).
[ x ] I have read the application guidelines.
[ x ] Payment details have been provided (Polkadot AssetHub (USDC & DOT) address in the application and bank details via email, if applicable).
[ x ] I understand that an agreed upon percentage of each milestone will be paid in vested DOT, to the Polkadot address listed in the application.
[ x ] I am aware that, in order to receive a grant, I (and the entity I represent) have to successfully complete a KYC/KYB check.
[ x ] The software delivered for this grant will be released under an open-source license specified in the application.
[ x ] The initial PR contains only one commit (squash and force-push if needed).
[ x ] The grant will only be announced once the first milestone has been accepted (see the announcement guidelines).

Hey @ajk-code , thanks for participating in the review process 🙏 .

Hey @ajk-code , thank you for your questions. I am happy to clear things up a bit.
The idea behind Dotnix is to simplify the deployment and administration of secure Polkadot validators by including various helper services for monitoring, backupping, e.g. into a single Nix flake that can be deployed through simple means.
In this grant application, e.g. we are doing the groundwork to deploy monitoring for visualizing the collected metrics on a single machine.
Later stages of Dotnix will allow deploying the same configuration on a mesh of machines that will be connected to each other using VPN.
Copying and pasting from the Polkadot wiki won't implement Linux best practices like updating the operating system, setting up the firewall, running regular backups, etc.,
All these fall into the domain of Dotnix which either already does or will in future cover it by default, aiming to simplify running a secure Polkadot validator.
The system is scanned for CVEs using Vulnix; the public database is NVD
The operator can choose to be alerted via mail or Matrix
With Polkadot.js the frontend is meant.
The VPN is primarily used to connect Dotnix machines to each other enabling monitoring and allowing backups, e.g. to machines that are otherwise unreachable to the public Internet.
The actual deliverable is a Nix flake that exposes tooling to deploy Dotnix to generate images and deploy Dotnix to arbitrary targets like Docker or bare metal.
Docker is used only since it is the preferred way of testing for W3F.
All parts that make sense to be in Nixpkgs, will be upstreamed, the domain-specific parts will remain in Dotnix.
We have chosen a similar architecture to ethereum.nix or nix-bitcoin
Polkadot is built from source using andresilva's polkadot.nix flake
Secure validator mode is supported and active by default in the current release.
Session Key Management has been integrated as a part of our deliverables within our previous Grant.
We're going to maintain this project. A the very least we would need to follow the biannual release cycle of Nixpkgs stable in order to allow automatic updates of the system.
Within this scope, Sporyon will continue to cover the maintenance costs to ensure the security of Dotnix in the forceable future.
These items are planned for subsequent grants, although there is still work to be done upstream, particularly with SELINUX and CIS compliance.
In principle, SELinux and Secure boot are possible today and are planned for subsequent grants.
Regarding CIS compliance, as of today, a default Dotnix installation fails 46% of aquasecurity's linux-bench (which implements CIS Distribution Independent Linux Benchmark version 1.1.0).
As for FIDO2, we have not researched how it can be integrated best, it's not on the roadmap, yet.
If there are strong opinions about using FIDO2, we could consider prioritizing the implementation of this feature.
Hope this clarifies things a bit
I am happy to hear your thoughts

Hey @Ra33it0 ,
before we start to discuss the application any further I would like to let you know that we only support one DOT address per application. Somehow your company would need to find a way to distribute the vested DOT internally. Otherwise the application looks good and I'll share it with the committee after this issue has been resolved. Thanks!

Hey @Ra33it0 ,
as much as I like your work and agree with the goals of the application to further increase the security of nodes within the Polkadot ecosystem, I think it's crucial that you provide some evidence gathered from the ecosystem that node providers are actually desire this project and want to use this. Especially as we are talking about a level 3 grant and having funded the MVP already.

Hi @Ra33it0 your previous deliveries were all very highly rated, so I guess my main question is, are any validators currently utilizing Dotnix?  What are your plans to help the tool gain traction? I see there haven't been any commits made in four months or so. How about the Nix community, have they given any feedback or engagement? Do you plan to publish the NixOS modules on the official community repo?

Thank you  @PieWol for your feedback. I completely agree that concrete evidence from the ecosystem is key to demonstrating the value of this project. We’re currently facing a bit of a "chicken and egg" problem with Dotnix, as it's still in an MVP phase and not feature complete yet, which makes it difficult to offer a strong selling point for administrators to transition their running validators to it at this stage.
We chose to first build an MVP to prove that Dotnix is feasible. In doing so, we implemented tests for every component, beyond the usual testing, to ensure quality and reliability. Regarding W3F's funding of the MVP, we intentionally made it a relatively small project to establish trust between W3F and Sporyon. We felt that it was important to first demonstrate that we could do good work, proving Dotnix's viability before pursuing further development.
Our intention was always to earn our "deed" and demonstrate that Dotnix works, and then, in subsequent grants, focus on adding unique selling points such as the vulnerability scanner and state management, which we believe will be particularly valuable to validator providers and administrators.
We don’t intend to monetize Dotnix but see it as a direct contribution of a high-quality product to the Dotsama ecosystem. That said, I’d appreciate your advice on how we can generate the necessary metrics to show interest from node providers. Should we consider splitting the grant into smaller portions, perhaps multiple Level 2 grants, if the Level 3 grant doesn’t seem suitable for the current state of the project? We initially chose a Level 3 grant as we believed it would be easier for both sides, allowing us to deliver more within each milestone.
Any advice or insights you could share on how we can best approach this challenge would be greatly appreciated!

Hi @keeganquigley  thanks for your questions!
Regarding your first question, we can't definitively say how many validators are currently utilizing Dotnix since anyone can download our repo or run a nix command to execute it locally. As of now, we don't have direct visibility into usage data, but we plan to gain more insight as we continue developing and promoting the tool.
Our main strategy to help Dotnix gain traction is to present it at upcoming ecosystem conferences such as Polkadot Decoded and NixCon 2025. However, we believe it only makes sense to present it publicly when it's feature complete — that is, when we can offer concrete unique selling points apart from simply using NixOS, like vulnerability scanning, state management, and integrated monitoring. We also hope to be mentioned in the upstream documentation, though we feel it might be a bit early for that, as we want to ensure that dotnix moved out of the MVP phase.
Regarding the Nix community we got positive feedback from our local nix community in Berlin and a similar project from the Bitcoin ecosystem was presented at NixCon2024 and got good feedback as well.
We plan to make it an official Nix community repo.
In the meantime, we've written a guide  detailing how to create a Polkadot validator using Dotnix on a machine that only has a rescue shell. Using  kexec, you can install NixOS and then Dotnix — a helpful approach for setting up validators on cost-effective servers, which are often available at a discounted price in the Hetzner server auction. We hope this tutorial helps make it easier for more users to get started with Dotnix and Polkadot validation.
Regarding the lack of commits in the last four months, our entire team has been involved in the planning and preparations for NixCon 2024, which has required a significant portion of our time. Additionally, it took W3F about a month to evaluate our last milestone, which further impacted our development pace. Given these factors, we chose to focus on testing our validator on Westend and preparing a detailed feature roadmap rather than pushing out new commits. We see Dotnix as a direct contribution to the Dotsama ecosystem, and we don’t intend to monetize it. Rather, we see it as a fundamentally better way of validating Polkadot by leveraging Nix primitives such as reproducibility, modularity, security, and ease of use. We believe this will add to the resilience of the Polkadot network in the long term.
We belive Web 3 should be a decentralized effort not just regarding clients but also regarding infrastructure like the validators of a network , if everything even critical infrastructure is heavily reliant on docker we are introducing a single point of failure which is missing the point of how we understand web3.
Other ecosystems like Bitcoin, Ethereum have realized this and are mitigating this fact using tools like NixBitcoin or Ethereum Nix we try to achieve the same for the Polkadot ecosystem with this Dotnix.
Thanks again for your questions, and we look forward to hear your thoughts.

@semuelle Thank you for your message.
Our focus is on growing the Polkadot community and improving the validator landscape, not creating a separate Dotnix community. We’re building Dotnix because we believe Nix is an adequate tool for deploying Polkadot Validators. In regard to your question if we are able to build the project on a Lvl 2 Grant, a Level 2 grant on its own, without the possibility of subsequent grants, wouldn’t allow us to build the project sustainably. If you're suggesting splitting our grant into multiple Level 2 grants to further strengthen our track record, we're open to that idea.
We aim to simplify the deployment of secure Polkadot validators by offering an alternative method that reduces single points of failure, supports decentralization, and contributes to the overall growth of the Polkadot ecosystem.
We are under the impression our goals align perfectly with the goals of the W3F.

Hey @Ra33it0,
sadly your application wasn't able to gather enough approval from the Grants Committee. This is due to all the issues and concerns raised in this thread. E.g. for me personally there wasn't enough evidence that node operators are interested in the tech. Given that we already have funded the MVP I don't see why such evidence would be impossible to gather.
You could consider asking the Polkadot treasury for funding so that you can pursue this project even without another round of financial support by the Web3 Foundation's Grants Program.
We wish you all the best for your future endeavors and hope that you keep on building in the Polkadot Ecosystem. Thanks again for your application. Feel free to reach out if you have any questions.
Best

Hi @Ra33it0,
Not a W3F Grants member, but commenting as someone personally using Nix for operating Polkadot/Kusama validators - so given the requests for community feedback from multiple W3F Grants team members, I share my 2¢ below:
At a high level: I'm glad that you want to foster easy & secure operation of Substrate-based validators using Nix. In particular, it would complement @andresilva's existing Polkadot flake & nixpkgs integration well, which I also happily use for building binaries.
Simultaneously, I reckon @ajk-code and @PieWol raise some strong arguments regarding the specifics of the proposal.

@ajk-code: In general, to me it sounds like an in-house deployment project, not something for a wider audience

This resonates with me personally: I'd probably not be using your flake directly, both for trust-minization (for instance, I wouldn't use the nix cache for polkadot.nix outputs, but use polkadot.nix to build directly on my system), but also since a lot of your other envisioned integrations are less applicable to my validator operation. For instance, your polkadot-validator service is a component I personally reckon is useful for other Nix users to extract, but probably not use directly within your other integration: https://github.com/sporyon/dotnix-core/blob/main/nixosModules/polkadot-validator.nix#L328-L372

@PieWol: I think it's crucial that you provide some evidence gathered from the ecosystem that node providers are actually desire this project and want to use this.

Using public telemetry as a proxy (w3f telemetry should provide more insight), less than 12% of validator use distributions other than Debian/Ubuntu for running validators. https://telemetry.polkadot.io/#stats/0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3 https://telemetry.polkadot.io/#stats/0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe
Only a subset of these are possibly running NixOS. Of course some other validators may also be using Nix as a package manager only, but I think this is also a small set. On the other hand, since your Dotnix deliverable would make Nix deployment easier (especially if used only via the package manager, which doesn't have the additional operational onramp of setting up NixOS), this set could grow quite a bit.

@Ra33ito: In principle, SELinux and Secure boot are possible today and are planned for subsequent grants.

I personally would encourage moving this into the current grant application since imo it's far more beneficial than some other features you're proposing like cloud deployment and polkadot.js exposure.
I've also left some inline comments in the review comments below. In particular, note that I'd strip any planned features for Hetzner.

Thank you, lederstrumpf for your valuable feedback.
We chose the same architecture as Ethereum nix to deliver a coherent package, but we welcome you just using what you need from dotnix
The idea is to lower the entry barrier to use Polkadot with nix some seasoned nix dotnix might serve as s a template for their own custom configuration.
For us, dotnix serves as base to be able to deliver a coherent, fully functional setup for integrating services.


Template and Blog Links Added

General

✏ Mark the necessary items without changing the structure of the PR template.

[ ] Pull request template structure not broken

Type

ℹ  What types of changes does your code introduce?

👉 Put an x in the boxes that apply

[ ] Fix
[ ] Feature

Checklist

ℹ  Check all checkboxes - this will indicate that you have done everything in accordance with the rules in CONTRIBUTING.

👉  Put an x in the boxes that apply.

[ ] Title as described
[ ] Make sure you put things in the right category!
[ ] Always add your items to the end of a list

Open Source

[ ] Link description does not contain a link to an author / third-party resource
[ ] The documentation (README) contains a description of the project, illustration of the project with a demo or screenshots and a CONTRIBUTING section
[ ] The documentation is in English.
[ ] The project is active and maintained.
[ ] The project accepts contributions.
[ ] Not a commercial product

Apps/Websites

[ ] The website is available without errors or ssl certificate problems, and load in a reasonable amount of time.
[ ] The website is using vuejs intensively. It should detect vue with vue-devtools.

If you cannot detect vue with vue-devtools due to work at non public pages (e.g. for enterprise website), you can send Pull Request with screenshot that detected it.

[ ] The website is original and not too simple. For that reason, blogs and simple landing pages are rejected.
[ ] A commercial product using Vue, provided that guests could reasonably check out how Vue was used (i.e. A headless CMS which uses Vue for the Admin/editor Area and offers a free tier).

The ratio "Awesome vue content" vs "Commercial products" is skewed to the latter. The contribution guidelines are updated and state "If the greater part of a product could only be used after payment the entry will be seen as an advertisement instead of a community contribution." I feel this is the case, am I correct?

Hi Jogai, can you explain, please? I have added four links for two sites, one for products and one for blogs for each site.

Those sites seem to be made to sell stuff.

But I have found other similar sites too which seem to be made to sell stuff. If you suggest then I can add a free product link too.

That was before we had stricter rules and less strict enforcement.