{CI} Update milestone from Aug 2022 (2022-09-06) to Sep 2022 (2022-10-12) - For Ignite

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify src/index.json.

CI


Fix class reading with bad CRC

What's fixed

Fixed class reading with bad CRC

If you want an example I implemented this fix on the dev3 branch while also retaining the existing behavior: a84d59d6af02f9421202d7938996f1f9b5075746

No activity since October, closing this for now


Performance: A possible boost to tree traversal

http://ryanmorr.com/true-hash-maps-in-javascript/
See the discussion on the for loops... this might help eliminate unnecessary function calls when traveling the trees, etc.

for reference, I add this link to a port of CSG to three.js that I found - https://gist.github.com/chandlerprall/1484619
Nothing new I guess, but it may interest you.

I saw in the code that there are many "queues" and "stacks" on the hot path. I don't know if this could be a boost but https://github.com/creationix/fastqueue may be interesting to look at.

Hash maps are now part of standard JavaScript, so closing.


node 14 support

ref:

https://github.com/pdfme/pdfme/issues/59
https://github.com/pdfme/pdfme/issues/64
https://github.com/pdfme/pdfme/issues/69

Must amend CAUTION  for node v14
ref : https://github.com/pdfme/pdfme/pull/62/files

We can use pdfme in node 14 from now!
I fixed it by the below commit.
https://github.com/pdfme/pdfme/commit/1979649a61b68119404ffe64c25c509bb7773a16


to_string_ser_schema doesn't work properly anymore

Initial Checks

[X] I confirm that I'm using Pydantic V2 installed directly from the main branch, or equivalent

Description
I have a test to check how some schemas work, and it is broken after an update.
model.model_dump(mode='json') == {'flag': str(flag)} returns False
>           assert model.model_dump(mode='json') == {'flag': str(flag)}
E           AssertionError: assert {'flag': 3} == {'flag': '3'}
E             Differing items:
E             {'flag': 3} != {'flag': '3'}
E             Use -v to get more diff

I suppose the problem is near from to_string_ser_schema
Example Code
import enum
from typing import Any, Callable
from pydantic import BaseModel
from pydantic_core import CoreSchema, core_schema

def test_permission_flag():
    @enum.unique
    class PermissionFlag(enum.IntFlag):
        TEST1 = 1 << 0
        TEST2 = 1 << 1

        @classmethod
        def __get_pydantic_core_schema__(
            cls, _source: type[BaseModel], _handler: Callable[[Any], CoreSchema],
        ) -> CoreSchema:
            schema = core_schema.union_schema([
                core_schema.int_schema(),
                core_schema.str_schema(),
                core_schema.is_instance_schema(cls),
            ])

            return core_schema.no_info_after_validator_function(
                function=cls.validate,
                schema=schema,
                serialization=core_schema.to_string_ser_schema(),
            )

    class TestModel(BaseModel):
        flag: PermissionFlag

    for permission_type in {PermissionFlag, int, str}:
        flag = permission_type(PermissionFlag.TEST1 | PermissionFlag.TEST2)
        model = TestModel(flag=flag)

        assert model.flag == flag
        assert model.model_dump() == {'flag': flag}
        assert model.model_dump(mode='json') == {'flag': str(flag)}

Python, Pydantic & OS Version
pydantic version: 2.0b2
        pydantic-core version: 0.38.0 release build profile
                 install path: /workspaces/project/.venv/lib/python3.11/site-packages/pydantic
               python version: 3.11.3 (main, Apr 12 2023, 14:31:14) [GCC 10.2.1 20210110]
                     platform: Linux-5.15.0-1038-azure-x86_64-with-glibc2.31
     optional deps. installed: ['typing-extensions']

core_schema.no_info_after_validator_function(
    function=cls.validate,
    schema=schema,
    serialization=core_schema.SimpleSerSchema(type='str'),
)

core_schema.SimpleSerSchema(type='str') gives the same result :shrimp:

It looks like __get_pydantic_core_schema__ is not called at all. I forgot to add cls.validate method and didn't get an error. Also, I can't fail into __get_pydantic_core_schema__ during debugging.

Indeed, __get_pydantic_core_schema__ doesn't currently work for enums. We probably need to change this line to handle it: https://github.com/pydantic/pydantic/blob/aa5d92a8887986c811edc04bc29aedea238626b3/pydantic/_internal/_std_types_schema.py#LL145C15-L145C15. I guess it needs to try calling handler(source_type) and catching the exception (because for an enum that doesn't implement __get_pydantic_core_schema__ it would be an error. Or we could check if the type defines __get_pydantic_core_schema__ and then not even generate a schema.

Any chance you want to take a stab at implementing this @suharnikov ?

Sure, let me try )


Use emoji title as key

When I increased the number of filtered items to show I noticed skin tones produce duplicate keys.
This fixes it (I assume titles are unique).

I created a pull request in last night and i didn't see your pull request, I fixed this issue with using index as key. what is your opinion? @gaearon

@alirezavalizade as mentionned in React documentation : "We don’t recommend using indexes for keys if the order of items may change"
So imo both should be ok, but it may not be the "best practices"

I got that. @romainwn Thanks

Using index would be wrong, as a re-order would cause all items to be updated (instead of just being reordered). This is not too bad if they're completely stateless, but it's a problem in larger apps.

@gaearon Thanks

👍 thanks @gaearon !


running eval.py on my dataset gets low map

I trained my dataset (in VOC format) for 100000 its, and got a low loss, but I can only get a 0.09 ap best for my classes in eval. Is it the problem that I named my label from 0 to 7 in  of .xml?
I used VOC.pth for evaluation, changed voc0712.py to suit my dataset and trained twice but only get same result.

Find the issue, the weight of the net didnt update.

Find the issue, the weight of the net didnt update.

Hello，I have the same problem，and you said the weight of the net didnt update，so I wan't to know how to do it.Thank you.

Find the issue, the weight of the net didnt update.

Hello，I have the same problem，and you said the weight of the net didnt update，so I wan't to know how to do it.Thank you.

same here


Limit front end display for 50 rows

Description:
As a PDXFinder user, I don't want to see 50000 rows on the Details page in Molecular data table.
Jira PDXI-821
Acceptance criteria:

[ ] back end work to limit for 50 rows done
[ ] front end work to limit for 50 rows done

Done.


Pool Chemical Calculator

Pool Chemical Calculator PWA has volume, chlorine, pH and other chemical
calculators for the pool and spa

Thank you for you suggestion but I’m afraid we’ll have to decline. I wouldn’t call this site a good example of PWA encouraging developers to build more progressive apps. It’s full of sponsoring messages and SEO text and doesn’t look like an app, rather a site in material design frame.


Show error code and info when the transaction fails

Please add error code and info when the transaction fails to help developers to find bugs. Thanks

Thanks for the feedback, we will add it

https://nervosnetwork.github.io/keypering/#/protocol  keypering 的错误码
https://github.com/nervosnetwork/ckb-system-scripts/wiki/Error-codes ckb 的错误码

I mean the result of Synapse should be displayed on the chrome notification window.

I see, thanks for the clarification

Added


Multi thread performance test issues

OrientDB Version: 2.2.14
Java Version: 8
OS: Centos 7
Description
We are facing issues with multi threaded performance test.
Our system uses the embedded OrientDB.
The test is only reading from the DB.
For each request in the test we are getting a connection from the pool and releasing it after the request is completed.
Running a test with 20-10 threads we don't see any issue and the test passed well.
But, running the same test with 400 threads or more (which is what we'll need in a production environmnet).
All of the threads get blocking 50ms to 100ms.
We ran the profiler to check this issue and saw that all them are stuck on functions from this class:
com.orientechnologies.orient.server.distributed.ODistributedConfiguration
Expected behavior
Expected the system to work the same way it does with 1 thread
Actual behavior
stuck on functions from this class:
com.orientechnologies.orient.server.distributed.ODistributedConfiguration
Steps to reproduce
Run requests against the DB with more then 400 threads.

In addition, after further investigation we noticed that this method:
public static synchronized Iterator<OSQLFunctionFactory> getFunctionFactories() {
and all the methods in the class:
public class OSQLEngine {
are static synchronized which means that all of them (threads) will be stuck.

Hi, the synchronized block is supposed to be super fast because, after the 1st time, it just returns a read-only iterator. About ODistributedConfiguration, in recent 2.2.x (after 2.2.15 if I remember correctly), ODistributedConfiguration is immutable, so we could remove the synchronized modifier of the method. Let me investigate it more in deep.

We see that this behavior shouldn’t occur but still inside the profiler we see the block.
It would be more efficient to write the method like this:
if (OPERATOR_FACTORIES == null) {
synchronized (INSTANCE) {
if (OPERATOR_FACTORIES == null) {
………..
}
}
}
so the synchronized happens inside the method and not on it’s signature.
Moreover, If the methods are immutable will it be possible to remove them in next version?

@Dmitry-PlainID I don't think that would make any difference, but using the double checking singleton pattern is anyway better than current implementation, so +1.
About the ODistributedConfiguration I've removed the synchronized blocks in 2.2.x branch. If you can try this branch it would be nice having the new results before to release 2.2.18 officially.

Thanks for you quick fix. I tried it - work 5 times quickly. Now next point : com.orientechnologies.common.concur.resource.OSharedContainerImpl - same problem.
You can change sharedResources to Synchronized Map (Map<String, Object> sharedResources = Collections.synchronizedMap(new HashMap<String, Object>());)
and after it use synchronized block inside function:
T value = (T) sharedResources.get(iName);     if (value == null) {        synchronized(sharedResources) {           .....        }     }

@Dmitry-PlainID good catch, that code is pretty old, but it's called very often. Changed and pushed in 2.2.x.

We ran another test after you last fix, It helped a lot, we went from 35ms~ to 22ms~. This is a very big thing for us, so thank you for the quick response.
Another thing we found was the get method in the OStatementCache class:
We think it would be better to write it like this:
` public OStatement get(String statement) {
OStatement result;
result = map.get(statement);
if (result == null) {
  result = parse(statement);
  synchronized (map) {
    map.put(statement, result);
  }
}
return result;

}`
We are waiting for 2.2.18, and 3.1!
Thanks

Since the LinkedHashMap is not synchronized, it could be dangerous executing a map.get() out of the synchronized block while you're doing a map.put().

How many ops/sec can you do now? What kind of ops are you executing?

Yes, you right. Use map.get() and map.put() in multithread without synchronized block is dangerous. Use a ReentrantReadWriteLock, to allow multiple concurrent readers, but exclusiveness to write operations.

How many ops/sec can you do now? What kind of ops are you executing?

In our performance environment we are running around 850 ops/sec.
Each operation does around 30 queries to the OrientDB.
So that means that we need around 25500~ query/sec. We have around 500~ connections to the DB.
(This is an embedded OrientDB)
Other details:

The current hardware is: 8 CPU, 8 RAM.
OrientDB has around 500 objects in it

We wish to be around 5000 ops/sec, that's why each ms is very crucial for us.
Another thing, we are waiting for the in memory distributed DB to check the performance with it.


Screenshot are dimmed on my Mac Mini 2018 (the screen is a HP Z27)

Before opening the issue, have you...?

[X] Searched for existing issues
[X] Looked through the wiki
[X] Updated MonitorControl to the latest version (if applicable)

Describe the bug
Hi,
When I dim my screen (HP Z27) on my Mac Mini 2018, if I make a screenshot (cmd+Shift+number), the resulting image is also dimmed.
This started yesterday and I didn't change anything to my config, or to the way I use Monitor Control.
The screen is connected through HDMI (if that matters).
I hope someone here will be able to help me !
Thanks,
CQ
PS : I just found out that if I try to make a screenshot of just a specific window (cmd+Shift+5, I tried to make one of what I'm typing here to join as an example), it only shows grey. A fullscreen screenshot (cmd+Shift+3) or partial screenshot (cmd+Shift+4) still shows what's on screen though. I attached two images to this post.

Steps to reproduce
Make a screenshot with Monitor Control on.
Expected behavior
Screenshots are dimmed at the same level as Monitor Control dims the screen.
Anything else?
No response
Environment Information (please complete the following information)
- macOS version: 12.4
- Mac model: Mac Mini 2018
- MonitorControl version: 4.1.0
- Monitor(s): HP Z27
- Apple Silicon/M1 (yes or no): no

This happens when you are using overlay (shade) dimming instead of DDC (does not work via HDMI on the 2018 Mini) or gamma table manipulation.


Chicago weekly tree build

Summary:

What: adding chicago sfn config for weekly overview tree
Ticket: sc157235
Env: <rdev link>

Demos:
Notes:
Checklist:

[x] I merged latest trunk
[x] I manually verified the change
[x] I added labels to my PR
[ ] I tested in multiple browsers
[ ] I added relevant unit tests
[ ] I have notified others of changes they need to make locally (migrations, jobs, package updates, etc)

this looks good to me but I'll let Jess or Lucia's expert eyes to approve. Thanks Phoenix!!


Bug | Login & Signup UI for Mobile

The signup and signin pages are janky for smaller mobile screens like iphone 12, 13
Current UI

Expected UI
There should be sufficient padding on x axis (left and right) of the form fields on mobile viewport.

@aadeshkulkarni Can I work on this issue?


LSP automatically should insert required imports when completing

eg when there are no imports in the file, and you complete a verb, an import ( "context" ) would be added. Similar to ftl/builtin and "github.com/TBD54566975/ftl/go-runtime/ftl", and correctly appending imports to existing blocks.
I think this is possible with additionalTextEdits.

This is a bug and will be solved by #1662. Once that's done, the Go LSP will do the correct thing.


Switch from conanfile.txt to conanfile.py

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.86%. Comparing base (3e7402f) to head (20808db).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #169      +/-   ##
==========================================
- Coverage   84.87%   84.86%   -0.01%
==========================================
  Files         117      117
  Lines       10037    10037
==========================================
- Hits         8519     8518       -1
- Misses       1518     1519       +1

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


Label packages

Extracted the Operator-label and field-label into discvr-components. This includes making the jest tests and fixing the code to work with eslint
Finished Issues: #16 and #17

The component .tsx files themselves seem fine, but we probably want them all in discvr-ui-components rather than each component getting its own package with a separate package.json and a .tsconfig.


Bootstrap pipenv on an existing project with requirements.txt file

I was wondering if there's a way to start using pipenv on an existing project that uses a requirements.txt file. I think it's possible to just pipenv run pip install -r requirements.txt but maybe it's a good idea to allow for a more streamlined way to doing this kind of thing.

not currently, no


Could not play HLS

Version: 1.6.6
I was trying out the player and it's been fantastic playing mp4 files.
 }
Any solution for this?

URL.createObjectURL is not a function indicates that you're using an old browser. See the hls.js compatibility table to see what browsers are supported.

I'm using Firefox 63.0.3 actually. And I also noticed that it has loaded hls.js version 0.9.1. I tried overriding the version with the config
{     file: { hlsVersion: '0.10.1' } }
but, it does not work. It is still loading 0.9.1.

Try updating to 1.7.0. That's the version that upgrades to HLS 0.10.1 and supports config.file.hlsVersion

Yes. Upgrading to 1.7.0 fixes it. Thanks.


FakeNetMini.dll

It would be nice if requests for files ending in .dll would receive a response with a FakeNetMini.dll whose DLLMain would help the reverser, perhaps by halting the malware. I think that it's illegal to call the user32!MessageBox API in DLLMain, but for purposes of malware analysis, this might generally suffice to allow the analyst to attach a debugger or just dismiss the event.

If there are cases where MIME type is the only indication of the need for a PE-COFF file, and no file extension is available to determine whether it should be an executable or a DLL, perhaps we can instead/also make FakeNetMini.exe into a ProgLib.


small fixes to endpoint initializer and SPARQL2GraphQL translator

Some small fixes to the endpoint initializer and SPARQL2GraphQL translator.

@scferrada can you please take a look at this.


Migrate from Travis CI to GitHub Actions

Description
This repository currently has a .travis.yml file that triggers Travis CI builds for e.g. pull requests. On Dec 16, 2021, the Eiffel Technical Committee decided that existing uses of Travis CI should be migrated to GitHub Actions (see minutes).
Motivation
Nowadays Travis CI isn't as free to use as it used to be. There's a limited number of credits given to each organization, and right now we're fairly close to the limit. In recent years GitHub Actions has been introduced and it should be adequate for most use cases.
Benefits
Decreased risk of service interruptions if we reach the usage limit (and nobody will have to spend time on requesting increases in the limit).
Possible Drawbacks
Probably none, unless your current .travis.yml contains steps that are very difficult to replicate in a GitHub Actions workflow.

The will be closed when REMReM share is archived


[BUG] Game does not starting

On the Discord User cxl1n ive saw that he cant start the game over the CP Launcher.
Weve tried to start u play that may fix this, but aint work.
The "start-bar" goes quickly to half and after it hides, nothing happens.
For more information may contact cxl1n #9368

Hi,
if the problem still exsist: I had the same problem and it is solved by deleting the settings folder.
In the Launcher, go to help, settings and "open settings folder". I just renamed it and start the launcher again. Accept the licenses and try to find the installation automatically. After this, everything works fine for me!
It seams, that for some reasons the folder is not deleted during deinstallation of community patch.
Hope this helps...


I'd like to ask some questions about automatic partitioning and DPL

In the  paper, a technique to automatically extract partition constraints from a program and generate DPLs through a constraint solver is mentioned. Is this implemented for Regent programs only?
The DPL mentioned in the https://legion.stanford.edu/pdfs/dpl2016.pdf paper seems to refer to both framework and sublanguages. Is there a separate implementation of framework in Regent and Legion Runtime? Linguistically, do DPL programs generated using the constraint solver, for example, mentioned in the previous question, have to rely on the Regent compiler?

I don't know much about the connection between DPL and Regent and Legion. I hope I can get some advice. Thank you.

Correct, the auto-parallelizer exists in the Regent compiler and only works on Regent programs.
The primitives described in the DPL paper such as partitioning by image or preimage exist in both the Legion runtime as API calls and as operators in the Regent programming language. They are functionally equivalent and the Regent operators compile down directly to Legion runtime calls. The auto-parallelizer is effectively a Regent-to-Regent transformation that will take a completely sequential Regent program and emit a Regent program using the dependent partitioning operators to express the needed partitions for task parallelism.

I see what you mean, the image and preimage ideas in DPL are implemented in Regent and Legion, and autoparallel is the conversion of sequentially executed Regent programs into Regent programs using DPL semantics, thanks for such a quick and detailed response.

Feel free to ask more questions, and then please close the issue when you're done.


How to enable swagger on wasmd?

We have configure the app.toml file of our chain and also set enable and swagger to true. Configured the openapi.yaml file under the docs/static, but when we hit on port 1317. getting the error message.
{
"code": 12,
"message": "Not Implemented",
"details": []
}

Also i found out these two code snippet related to this
	if apiConfig.Swagger {
		RegisterSwaggerAPI(apiSvr.Router)
	}

and
func RegisterSwaggerAPI(rtr *mux.Router) {
	statikFS, err := fs.New()
	if err != nil {
		panic(err)
	}

	staticServer := http.FileServer(statikFS)
	rtr.PathPrefix("/swagger/").Handler(http.StripPrefix("/swagger/", staticServer))
}

So, if my swagger file openapi.yaml file under the docs/static, how should i configure this ?

Hello, as discussed on discord, the issue is most likely with privacy policy settings on your browser.
Please try to modify the settings in your broswer.
I will close this issue because wasmd works fine as demonstrated by curling the /swagger endpoint.


Is there possible to download a segment of whole video and sound? For example a video of 10 minutes, I only download from 1:29s to 3:34s. It's good for people with a poor internet connection and speed.

Checklist

[x] I'm reporting a feature request
[x] I've verified that I'm running youtube-dl version 2021.06.06
[x] I've searched the bugtracker for similar feature requests including closed ones

Description

WRITE DESCRIPTION HERE

The easiest way I know if to do this is using a combination of youtube-dl and ffmpeg directly. See this stackexchange answer. Adjust commands as necessary if you don't use a *nix environment.

Dupe of #622?

@HighCommander4  Thanks for the link, it's very helpful to solve the problem


Updates to EH* outcodes

Thanks for the data so far. This looks pretty comprehensive. I've added some region data for EH postcodes based on local knowledge and looking at outcode maps.

@Gibbs - Just in case you don't see this .. I can't assign it to you for some reason..

@Gibbs - updated as suggested (I now see other examples of this in the dataset ..)

Looks good, thanks!


Meteor: "Unable to resolve some modules"

Hi,
I would like to use sharp for image manipulation in a meteor project I am working on. I add the sharp dependency in my package.json:
"sharp": "^0.15.1"
I didn't add any dependencies
When start the app, I have this error:
Unable to resolve some modules:

  "path" in /mnt/vdb/web/site-LBF/node_modules/sharp/index.js (web.browser)
  "util" in /mnt/vdb/web/site-LBF/node_modules/sharp/index.js (web.browser)
  "stream" in /mnt/vdb/web/site-LBF/node_modules/sharp/index.js (web.browser)
  "events" in /mnt/vdb/web/site-LBF/node_modules/sharp/index.js (web.browser)
  "./build/Release/sharp" in /mnt/vdb/web/site-LBF/node_modules/sharp/index.js (web.browser)

Theses modules are not the dependencies listed in the npm page. I tried to add the dependencies to the package.json:
"tar": "^2.2.1",
    "request": "^2.74.0",
    "semver": "^5.3.0",
    "nan": "^2.4.0",
    "color": "^0.11.3",
    "bluebird": "^3.4.1",
    "sharp": "^0.15.1"

It doesn't change anything.
Am I missing any prerequisites ?
Thanks

Hello, those modules are provided by node.
https://github.com/meteor/node-stubs
https://guide.meteor.com/1.3-migration.html#modules

Hi Lovell,
Thanks, indeed installing node-stubs fixed the issue.
Now I have a different problem:
Unable to resolve some modules:

  "./build/Release/sharp" in /mnt/vdb/web/site-LBF/node_modules/sharp/index.js (web.browser)

I have uninstalled and re-installed sharp several times with not much success, through package.json and manually npm install sharp. And indeed, there is no sharp directory under /build/Release/. I have looked into past issues here but nothing that helped me.
Would you have an idea?
Thanks

I have no experience of Meteor.
https://guide.meteor.com/using-npm-packages.html suggests meteor npm install should be run.
Is there any useful error or debug information when running meteor npm install sharp?

Thank you for having done these research. I tried npm install and meteor npm install. logSharpInstall is the verbose log of meteor npm install --verbose.
logSharpInstall.txt
The following log corresponds to the meteor npm install sharp --verbose command
logSharpInstallManual.txt
Oddly enough, this isn't much of a big red error.
Thanks

https://github.com/meteor/meteor/issues/6726 might be relevant but you're way beyond my knowledge of Meteor.
Let's leave this question open in case others can help.

Hey, having the same problem here — wondering if anyone's found a solution?

same here

I did not find any solution. I ended up using the cfs:imagemagicks Meteor package

I found a 'solution':
$ cd node_modules/sharp/build/Release
$ ln -s sharp.node sharp

I took Nico-L' way and switched to graphicsmagick... works fine

Thank you @isjackwild, your workaround has just provided the inspiration for a solution.
It looks like Meteor doesn't add the .node extension in its (custom?) implementation of require() like Node does - https://nodejs.org/api/all.html#addons_loading_addons_using_require
Changing https://github.com/lovell/sharp/blob/master/index.js#L12 to explicitly include the .node might fix this.
- var sharp = require('./build/Release/sharp');
+ var sharp = require('./build/Release/sharp.node');

I'll need to test this to ensure everything else still works cross-platform.

Awesome news! Fingers crossed that works…
I spent hours trying to figure this one out. ;)
On 5 Oct 2016, at 10:23, Lovell Fuller <notifications<EMAIL_ADDRESS>wrote:
Thank you @isjackwildhttps://github.com/isjackwild, your workaround has just provided the inspiration for a solution.
It looks like Meteor doesn't add the .node extension in its (custom?) implementation of require() like Node does - https://nodejs.org/api/all.html#addons_loading_addons_using_require
Changing https://github.com/lovell/sharp/blob/master/index.js#L12 to explicitly include the .node might fix this.

var sharp = require('./build/Release/sharp');

var sharp = require('./build/Release/sharp.node');

I'll need to test this to ensure everything else still works cross-platform.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/lovell/sharp/issues/537#issuecomment-251625239, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFf8D75EhJRV9WCP1sbYY-2dnsjATb6zks5qw2ycgaJpZM4Jbzsc.

Commit 739178d explicitly adds the .node extension that is lacking in Meteor's require() implementation, intentionally or otherwise.
Everything appears to still work when require()d by Node on Linux, OS X and Windows.
Is anyone able to test this with Meteor?

/cc @DrDanRyan

This enhancement is in v0.16.1, now available via npm.


fix documentation references to inverter/module data

The CEC data update in #767 broke the documentation. At least the ModelChain page is broken, maybe more.

Scanning the pages, these are also broken:
PVSystem attributes
PV Power Forecast

In the course of fixing this it would also be nice to fix the link to where the original files are downloaded from. I would have fixed it but could not find where the data sets are hosted.
Further, it would be great to provide a link to some documentation of the data sets in order for a user to figure out the meaning and units of the provided parameters. I think this link would be helpful:
https://sam.nrel.gov/photovoltaic/pv-sub-page-2.html

In the course of fixing this it would also be nice to fix the link to where the original files are downloaded from. I would have fixed it but could not find where the data sets are hosted.

Thanks for pointing out this old link. The current link.

Further, it would be great to provide a link to some documentation of the data sets in order for a user to figure out the meaning and units of the provided parameters. I think this link would be helpful:
https://sam.nrel.gov/photovoltaic/pv-sub-page-2.html

Agree, and again, thanks!


Feature request: Indicate "before" and "after" in code comparison view

Hi Jörg-Michael, I have a low-priority usability request for you regarding the code comparison view: Would it be possible to indicate which code is "before" and which is "after" view? It isn't always immediately obvious which is which.
Something similar to this would be nice:

Hi ConjuringCoffee,
yes, I get the point, esp. because comparison of different source code versions in ADT can have the reverse order. This would of course be a bit at the expense of the code display height.
Kind regards,
Jörg-Michael

Hi ConjuringCoffee and @MichiFr,
I now added these labels:

To add some extra value to the space they use up, the "After cleanup" label shows some statistics on the main window (but not on the Profiles window, where they make little sense):

Kind regards,
Jörg-Michael

Thanks!

Yes, looks good for me, too! Both captions and the additional comment.
Thanks again!

Updated -> Looks smart ;-)

Thanks!

Hi Michael,
perfect, thanks for the feedback!
Kind regards,
Jörg-Michael


Could this plugin support autocomplete in .js or .ts files?

Thanks for the plugin, works great for CSS and preprocessor CSS.
It would be great to have access to CSS vars via autocomplete within .js and .ts files.
How feasible is this?

How do u intend to use css variables in JS and TS??

We're using EmotionJS in some projects and Aphrodite in others. So would need access within .js or .ts files.
See example below:
// aphrodite example - moduleStyle.js

import { StyleSheet } from 'aphrodite/no-important';
export default StyleSheet.create({
  title: {
    color: var(--dp_text)
  },
});

emotionJS example -  module.style.ts

const primaryButton = (theme: TLTheme) => css`
  background-color: var(--dp_button_primary_background);
  color: var(--dp_text_inverted);
  :hover {
    background-color: var(--dp_button_primary_background_hover);
  }

  :active {
    background-color: var(--dp_button_primary_background_pressed);
  }
`;

I understand your concern!
I am building my own extension to support CSS Variables and CSS Module IntelliSense which you can find HERE. It's still in the alpha stage. It works great with plain CSS and other CSS language extensions like SCSS etc.
I tried your scenario in my extension, it works but with a hack. I see VSCode API fails to trigger autocomplete if JS file is opened. I mean, unless a CSS file is opened once the Autocomplete doesn't trigger at all.
Check the below illustration, the IntelliSense triggers but only after you open a CSS or SCSS or a similar file.

I will add this to my TODO list. I was thinking this would be a simple task, but it looks like it needs re-thinking for my extension and also needs re-architecting my whole extension.
You can open an issue (if u want to) HERE

I hope this is what you were looking for. I fixed it in my extension 😅 🎉
Thanks for making me aware of this feature 👍🏾

Thanks for the plugin, works great for CSS and preprocessor CSS.
It would be great to have access to CSS vars via autocomplete within .js and .ts files.
How feasible is this?

Yes it is feasible but it will very annoying to other people because they dont want to get css suggestion on their ts, or js files.
I will try to allow users to decide that files they want to get autocomplete :)

@ticktockreed this should work now, thanks for the feedback.
The new version now supports goto definition and simplifies config or no config.

@ticktockreed this should work now, thanks for the feedback. The new version now supports goto definition and simplifies config or no config.

Sorry for responding later after the issue is closed, but I cannot make it work with styled components. I created a .css file in the repo, which I tried by both methods, including and not including in _app file but I am not able to start any auto-completion

@vunguyentuan would you consider allowing disabling this feature for projects that do not use CSS-in-JS?
For example, adding a new setting called cssVariables.autocompleteInLanguages, default values below:
{
  "cssVariables.autocompleteInLanguages": [
    "css",
    "less",
    "scss",
    "postcss",
    "javascript",
    "javascriptreact",
    "typescriptreact"
  ],
}

Or, if this is based on file extension instead of language in the file, a new setting called cssVariables.autocompleteInFiles, default values:
{
  "cssVariables.autocompleteInFiles": [
    "*.css",
    "*.scss",
    "*.sass",
    "*.less",
    "*.js",
    "*.jsx",
    "*.ts",
    "*.tsx"
  ]
}

I can also create a new issue if you would prefer.

Opened #58 to track this.


Question: create List of all Subheaders with a given Name

Hi,
thanks for this plugin, it looks fantastic! I'm trying to use it to create a meta page that has all sub-headers with a specific name in one note. Example, in folder topics I have about 200 notes. Most of them look like this:
# ExampleTopic1

# Questions

## Question 1

Answer for question 1

## Question 2

Answer for Question 2

The next note is about a different topic:
# ExampleTopic2

# Questions

## Question 4

Answer for question 4

## Question 5

Answer for Question 5

Now, I would like to create a single Note that has a table with all sub-headers (## Question 1, ## Question 4 etc) if they are under the main header # Questions in one coloumn and the answer in the next column, i.e. so:

Question
Answer

## Question 1
Answer for question 1

## Question 2
Answer for Question 2

## Question 4
Answer for question 4

## Question 5
Answer for Question 5

etc. This would ideally automatically update when I add new topic notes or new questions to existing topic notes.
Could you give me a hint or an example how I could achieve that? Ideally of course without re-writing 200 notes :smile:
Thanks!

Reading through the documentation I can only find 3 ways of querying (the view type). You can only query as List (list of notes), Table (Note + metadata) and Task (which is the only thing that actually reads through the note itself, looking for checkbox elements.
I do not believe it is possible right now to query across headings in different files. Then, it follows that, to use it within the table view, you would have to put it into the YAML frontmatter. I would personally refactor the topic note to be in the following format:
---
tags: topic/1
QAs:
-
  question: Topic1 Question1?
  answer: Topic1 Answer1
-
  question: [[Topic1 Question2?]]
  answer: [[Topic1 Answer2]]
---

Note how I've used links to notes for the second QA and not the text directly. This is so that you can elaborate more on a specific question or answer if you need to
That would allow you to have your own single dashboard note that shows you all your questions and answers with the following query:
```dataview
TABLE QAs.question, QAs.answer
FROM "Topics"
```

Refactoring your 200 notes would definitely take a bit of time, but you could also write a small script that does the conversion for you.

Thank you so much for your effort!
Hm, it's sad that we can't query for entire sections/blocks. Refactoring the notes wouldn't be a huge problem, I suppose... I guess I'll just try and update you once/if I get it working.
The link example
-
  question: [[Topic1 Question2?]]
  answer: [[Topic1 Answer2]]
---

is very helpful, since most answers are several paragraphs long and contain images.

Right now with the available features, I'm sure that some unholy combinations of block references or section links might be able to do it, but that would imo be more trouble to maintain and use, which is why I recommended this solution.

Section querying has been in the works for a while and will come around eventually, though I can't give an ETA.

Section metadata is now indexed and you can query for lists or tasks under a specific section. Marking this as completed but feel free to ask any additional questions.


Add LoggerInterface.isSeverityLogged

Description
Closes #1014.
Add a new method isSeverityLogged, which returns true by default, but can be overridden by subclasses in order to hint whether a log string provided to the logger is likely to be output, and so allow users to short-circuit complex string construction logic.
Update SeverityFilter to implement the new method, and make use of the method of the wrapped logger in determining whether a message should be filtered.

[x] I have updated the release notes.
[x] I have updated all relevant user documentation.

Reviewer Notes
Note that the C++ bindings for LoggerInterface::isSeverityLogged are tested implicitly via the SeverityFilter, since the SeverityFilter is injected with and wraps the Python mock_logger.  So calling the SeverityFilter.log/.isSeverityLogged method from Python means a Python->C++->Python call stack.

As usual am perturbed at not having benchmarking around whilst making performance changes like this, but I admit i'm 99% sure performing this check is faster in practically every case.

It would be impossible to benchmark in the general case, since we don't know what the logger call patterns will be by library consumers (frequency, size/complexity of string).
We could do some benchmarking in the more specific case of the upcoming #1206 work (but even that requires making  assumptions about host call volume and manager latency).
Perhaps the PR description/commits were couched too much on the performance side. An API method to discover if a severity is enabled seems like useful introspection, regardless. But practically, the only use I can think of is performance.


Remove dateformat dependency

Implementation of https://github.com/wclr/ts-node-dev/pull/273#issuecomment-858491800
Also solves #271

Any updates?

@wclr please check this and merge if it works
Would very much not like to have a vuln in my project

This would be highly appreciated!

I am also waiting for this to be merged and published.
By the way, the repository has one more package-lock that needs to be regenerated: pnpm-lock.yaml

It seems like @wclr is away these days, is it possible to add more maintainers somehow?

It seems like @wclr is away these days, is it possible to add more maintainers somehow?

You could fork the repo. I'm afraid that's what I'm going to have to do since this project seems dead.

Thank you sir

Anyone here mind helping me out as well? Been trying to merge a fix for a month with no luck:
https://github.com/wclr/ts-node-dev/pull/269
If you can kindly bump it -- much appreciated!


Hgemm kernel 8x16

This commit proposes a 8x16 kernel for Half-precision GEMM
Note that this is not an optimized version of HGEMM, but still better than before

mean latency ( TC = 20 )

GEMM dimension
fp32 (cblas)
prev
8x8
8x16

4096 square
2087 ms
52 ms
...
1964 ms

2048 square
260 ms
52 ms
...
250 ms

1024 square
34 ms
52 ms
...
30 ms

768 square
13 ms
18 ms
...
11 ms

256X1440X256
2869 mcrs
3807 mcrs
...
2544 mcrs

256X256X1440
2929 mcrs
3950 mcrs
...
2467 mcrs

8X1440X8
5 mcrs
5 mcrs
...
10 mcrs

8X8X1440
5 mcrs
4 mcrs
...
8 mcrs

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2541. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.


brought num lines < 2500

reductions: 2504 -> 2478
how? converted a lot of logic to ternary operators
a small step towards #536

but at what cost of readability

Yea, this is code golf (and formatting! never mix formatting with other things). If you have something that's conceptually simpler and well tested, I'm happy to merge it.


Verify and document Java 21 support

Once JDK 21 reaches GA we should verify that Hartshorn supports this version, and update documentation accordingly. Prior testing with preview versions of 21 have shown compatibility appears stable

Depends on #985


false positives for WARNING: unreachable pattern

Description:
I some cases the ballerina analyzer/compiler emits WARNINGS of type unreachable pattern which are false positives.
Steps to reproduce:
One specific case can be reproduced with test cases in this bitbucket repo.
# clone repository
$ git clone https://bitbucket.org/gubaer/ballerina-match-issue

# run the test
$ bal test
	gubaer/ballerina_match_issue:0.0.1
===> these are false positives
WARNING [tests/test.bal:(58:9,58:19)] unreachable pattern
WARNING [tests/test.bal:(80:9,80:19)] unreachable pattern

Running Tests

	ballerina_match_issue

		[pass] test01
		[pass] test02
		[pass] test03
		[pass] test04

		4 passing
		0 failing
		0 skipped

The two false positives are also displayed as diagnostics in VS Code. Launch VS Code with code . and navigate to the file tests/test.bal.

Affected Versions:
Ballerina Swan Lake Beta 2
Language specification 2021R1
Update Tool 1.3.5
OS, DB, other environment details and versions:
Linux integrationbox 5.11.0-34-generic #36~20.04.1-Ubuntu SMP Fri Aug 27 08:06:32 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
openjdk 11.0.11 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)

Related to https://github.com/ballerina-platform/ballerina-lang/issues/31126.

This issue is already Fix.
We only adding tests cases in the https://github.com/ballerina-platform/ballerina-lang/pull/37061


Add "All videos" button to home page news section

Adds an "All videos" button under the callout videos on the IPFS home page -- see the "News and more" section in this preview link.

Note that there's already a link to the YouTube channel on ipfs.io/media:

@renrutnnej -- can you please have a look?

LGTM, thanks @jessicaschilling!


ONNX streaming support

Link to issue number:
Issue #25
Summary of the issue:
Piper uses sentence-level streaming.
For short sentences, the latency of Piper output is relatively low due to the good RTF. But for longer sentences, latency is prohibitively high, which hinders realtime usage applications, such as with screen readers.
Description of how this pull request fixes the issue:
This PR implements streaming output by splitting the VITS model  into two parts: encoder and decoder.
First the encoder output is generated for the whole utterance at once, then the encoder output is splitted into chunks of frames using the given chunk size and fed to the decoder chunk by chunk.
To maintain speech quality, each fed chunk is padded with some frames from the previous and next chunk, and then the corresponding wave frames are removed from the final audio output.
To export a checkpoint, use the command:
python3 -m piper_train.export_onnx_streaming CHECKPOINT_PATH ONNX_OUTPUT_DIR

For inference, use the command:
cat input.json | python3 -m piper_train.infer_onnx_streaming --encoder ENCODER_ONNX_PATH --decoder DECODER_ONNX_PATH

Which pipes wave bytes to stdout. You can then redirect the output to any wave playing program.
Testing performed:
Tested export and inference using hfc-male checkpoint.
Known issues with pull request:
The encoder has many components, which can be included in the decoder to further reduce latency, but including those components in the decoder impacts naturalness. There is a trade off to be made between encoder inference speed (latency) and naturalness of generated speech.
For instance, the flow component can be included in the encoder or the decoder. When included in the encoder, it adds significant latency to the encoder. At the same time, chunking the input to the flow component (as a part of the decoder) impacts the speech quality (not verified).
We need to empirically determine which components can be made streamable, and which ones should generate their output at once.

@synesthesiam
There is a living implementation for this in piper-rs repo.
Do you feel positive about merging this?
Best
Musharraf

@synesthesiam
I think this is ready for merging.

@mush42 How do I get input.json? I've been trying to generate phoneme IDs manually. But I get no output (0 length in stream). Can you provide an example?

I don't fully understand everything in this pull request, but I have a feeling that this approach can be used to implement word tracking since the sub-sentence phonemes can be synthesized in chunks. It would be cool if the stream API would be available through a PiperVoice.

@eeejay
Phoneme duration is a better option for word tracking.

The Python torch library used to stream the real-time format Piper voice is large. Our device has limited storage available. Are there any plans on modifying the main piper executable to support streaming these real-time format Piper voices?

I built paroli and muse42 has his sonata. Both supporting streaming mode Piper models.

Thanks for this @marty1885! These look great!

@marty1885
BTW I watched the video of your streaming implementation. It can be even better if you apply a window function to each chunk to smooth out abrupt changes at chunk boundaries.

@mush42 That's already done. The gap you hear is from the WS JS thread not being RT.

@marty1885 OK I understand.

@marty1885
That's actually very cool. I'll take a look and port your approach to Sonata.
I'm glad I brought it up.

Would there be value (or is it even feasible) to merge Paroli into Piper? I thought this would be easier than merging Sonata into Piper since Paroli is written in C++. Just an idea from someone who would love to learn a lot more about Paroli, Piper and Sonata (so take with a grain of salt...)

It see a status that states 'This pull request was closed'. I don't have much information in github when this was done. Was this done recently? Is there information on who or why the pull request was closed?

@jaredhagel2 this PR has been merged into Piper as an example of how to implement streaming support. Not implemented in the C++ app though.

Oh I see. Thank you for the clarification.


Creating musl native on ARM64 runner is not working

  steps:
      - uses: actions/checkout@v3
      - name: Set up JDK 17
        uses: graalvm/setup-graalvm@v1
        with:
          java-version: '17.0.7'
          version: 'latest'
          distribution: 'graalvm'
          native-image-musl: 'true'
          github-token: ${{ secrets.GITHUB_TOKEN }}
          cache: 'maven'

Fails on both build-jet ARM64 machines and private ARM64 runner and according to log from pipeline it fails due to wrong architecture.
Setting up musl for GraalVM Native Image...
  /usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/actions-runner/_work/_temp/adcde597-36c1-4aa0-b609-3b80e128b0d5 -f /home/runner/actions-runner/_work/_temp/fc0591ce-b1e3-4a1e-bfe0-09d9a1696eaa
  /usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/actions-runner/_work/_temp/7dc10a41-314d-40ac-82ec-d4eaa0222abd -f /home/runner/actions-runner/_work/_temp/3ca8465e-aa20-4289-9914-13a25cfd12c7
  /home/runner/actions-runner/_work/_temp/7dc10a41-314d-40ac-82ec-d4eaa0222abd/zlib-ec3df00224d4b396e2ac6586ab5d25f673caa4c2/configure --prefix=/home/runner/actions-runner/_work/_temp/adcde597-36c1-4aa0-b609-3b80e128b0d5/x86_64-linux-musl-native --static
  Compiler error reporting is too harsh for /home/runner/actions-runner/_work/_temp/7dc10a41-314d-40ac-82ec-d4eaa0222abd/zlib-ec3df00224d4b396e2ac6586ab5d25f673caa4c2/configure (perhaps remove -Werror).
  ** /home/runner/actions-runner/_work/_temp/7dc10a41-314d-40ac-82ec-d4eaa0222abd/zlib-ec3df00224d4b396e2ac6586ab5d25f673caa4c2/configure aborting.
  Error: The process '/home/runner/actions-runner/_work/_temp/7dc10a41-314d-40ac-82ec-d4eaa0222abd/zlib-ec3df00224d4b396e2ac6586ab5d25f673caa4c2/configure' failed with exit code 1

If you take a closer it looks like it's downloading x86_64-linux-musl-native binary.

Thanks for raising this, @scibaric. According to the docs, static linking is not yet supported on ARM64. We should probably print an appropriate error message, when the musl feature is used on non-AMD64 machines.

I didn't know about it :smile: , thanks for taking time and pointing it out. Good luck!


Error cleanup

Issue #26 notes that the unit test values hard-coded into the PET routines don't match the values computed by the model. I found two reasons for this:

The pet_zulu_time var was set to be an int but it's a double
The assumed latitude and longitude were incorrect

Additionally, issue #27 found an uninitialized parameter.
Both issues are now fixed.
Additions

NONE

Removals

NONE

Changes

src/pet.c Updated print statements with correct values for lat & lon
include/pet_tools.h Changed pet_zulu_time from int to double
src/bmi_pet.c Updated to include heat_transfer_roughness_length_m initialization

Testing

Ran ./make_and_run_read_forcings.sh

Closes #26 and #27

@SnowHydrology - although completely unrelated to your changes here, I believe we need to incorporate the -DNGEN_IS_MAIN_PROJECT=ON flag to NOM lib build in failed Ngen Integration Tests workflow.  Not completely sure if this is yaml-speak and/or cmake-speak.  This change will apply to a couple other formulation repo workflows as well (topmodel, NOM, etc.)  Looking into...


Fix zero-extension in both literal conversion and assignment expansion

Faulty literal to binary conversion fill logic (due to a repeated evaluation of the loop condition which used the collection being modified's size) broke parsing the following valid code:
module top(output [8:0] a);
    assign a[8:0] = 9'd0;
endmodule

Invalid implicit zero extension broke parsing the following valid code, where incorrect zeros ("0" rather than "'0'") were added to incorrect bit positions (not shifted into the most significant bits).
module top(output [1:0] a);
    assign a[1:0] = 1'd0;
endmodule

This PR (and the two contained commits) should fix both issues.

Thanks for the report and the fix! I will add testing for these cases in the coming days such that this will not slip through our CI again.


Convert some tf2xla ops to use elementwise tensor XLA ops, not Map

Some binary operations were implemented as maps of a scalar computation over the input tensors.  Since the computations consist of operations that can be element-wise operations, they could also be implemented in this manner.
In the case of the CPU, it is highly likely that it is improved, as the element-wise tensor operations are highly optimized. I do not know about the GPU operations, but I suspect that they will also be optimized in the element-wise tensor form.
This change re-implements all of the ops in this class.

Can one of the admins verify this patch?

Jenkins, test this please.

Jenkins, test this please.

cheers.


No need of controller_count or count if reservation_ids are given

Correct me if I am wrong here. My assumption is that the field reservation_ids mandates you to provide reservation ID of each node in the form of a map. You can't have number 10 nodes in the pool and only give reservation IDs of 5.
If above statement is true, in that case the field controller_count in controllers and count in worker becomes redundant. Because lokoctl can calculate the number of nodes in the worker pool.

Maybe we should start with validating, that count is the same as len(reservation_ids)? What happens if I have count = 2 and I specify just one reservation?


MWPW-155065 PartnerCards fallback for invalid thumbnail images

checks news card background image on first updated
replace with a hardcoded default (needs configuration somewhere)
changes the background color of the card header to prevent FOUC

Codecov Report
Attention: Patch coverage is 95.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 84.17%. Comparing base (af52e4d) to head (6c7b20e).

Files
Patch %
Lines

eds/components/NewsCard.js
94.73%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##            stage      #45      +/-   ##
==========================================
+ Coverage   84.09%   84.17%   +0.07%
==========================================
  Files          10       10
  Lines        2565     2584      +19
==========================================
+ Hits         2157     2175      +18
- Misses        408      409       +1

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


Handle exceptions

Do not try to parse/wrap server response in case server code raised exception, and an HTML is being returned.
It's a hacky solution until a proper one is invented.

Coverage decreased (-0.6%) to 76.984% when pulling 447d88a11a28c7bc969bd88101b1dd6e411884ea on gmile-patch-1 into 3cf0e92b251f8e42c9f530403ff0520c6a445e96 on master.

Maybe the better solution will be changing Poison.Parser.parse! to Poison.Parser.parse and checking the  response.
{:ok, correct}, {:error, errored}
In lib/eview.ex:37

Closing in favor of #10


add resolve confirmation

When you click in to resolve the ticket the platform send a message confirming the action
Currently the code works as expected, but it returns the resolved ticket to the pending list.

Hi, @developerdevice. Thanks for your contribution.
Since its not a function that everyone asked for, and there's no option to disable this, I don't think this is mergeble right know.
Thanks anyway.

When you click in to resolve the ticket the platform send a message confirming the action
Currently the code works as expected, but it returns the resolved ticket to the pending list.

@developerdevice Thank you so much for sharing the code !!! As i need it in my personal whaticket instance i'll be implementing your code into mine whaticket.

When you click in to resolve the ticket the platform send a message confirming the action
Currently the code works as expected, but it returns the resolved ticket to the pending list.

@developerdevice Thank you so much for sharing the code !!! As i need it in my personal whaticket instance i'll be implementing your code into mine whaticket.


New branch

@Akshat111111 are you saying to include a readme file to describe my work along with the project file?

Yes, it's needed


Install rpms for different version of R

Hello, pardon the noob question but reading the README I have the impression that all libraries once installed would go in the same directory.
I maintain several versions of R, would I be able to use your rpms and expect then to go in /usr/local/lib/R.X.x/library ?
Many thanks for this great addition to the R community

Hello, pardon the noob question but reading the README I have the impression that all libraries once installed would go in the same directory.

Correct: to /usr/local/lib/R/library.

I maintain several versions of R, would I be able to use your rpms and expect then to go in /usr/local/lib/R.X.x/library ?

Sorry, that's not possible, and it wouldn't be advisable anyway, because packages are compiled against the R version supported in Fedora (currently 3.6.2). In general, different versions of R have different ABIs, so packages need to be built against the specific version you are using.
You may have noticed that, when you update from, say, R 3.6.1 to 3.6.2, sometimes you load a package and a warning shows up saying that the package was compiled for an older version of R. That shouldn't be a problem (in principle, but it might be) for the same patch version, e.g. all 3.6.x, but for different minor version, packages definitely need to be recompiled.

Many thanks for this great addition to the R community

Most appreciated. :)

Thank you,
I get your point about using packages using different version of R.
In that case is it possible for me to build my own rpm using my own version of R from all the spec files and tools that you are providing in this repo ?
I understand this might not be the intended use but that would be really helpful, maybe even to add a section in the README on how to do this (I can do it and PR it once I figure out how)

Yes, I think it's perfectly possible to rebuild everything using these
SPECs and other versions of R.
However, Fedora Copr has storage issues now, so they probably wouldn't
allow more rebuilds of the whole CRAN under older R versions, because they
are already removing EOL projects to save space. Therefore, you'd have to
do it locally, and for that, apart from the SPECs, these tools won't be of
much help. Basically, you need to run 'mock' locally for every SPEC
(properly tuned to find the correct R version), save the artifacts and
build the metadata using createrepo_c (which is what Copr does).
I mean, it's possible, but it's a hell of a lot of work, too much storage
and too many CPU cycles for... how many users? :)

Hello, thanks for answering, my goal is just to build rpms on something like 100 packages at work. We use centos7 and I very recently wanted to deploy R packages correctly. I find out how to do it myself (using the tool r2spec and r2rpm) and literally on the same day I saw the twitter announcement about this project.
Pragmatically my problem is

How can I build from R package source the rpms  targeting a specific version of R and a specific install location with the least effort.
That will be 100 packages at most and cpu/space is not an issue

Hello, thanks for answering, my goal is just to build rpms on something like 100 packages at work.

Oh, that's much more manageable! :)

We use centos7 and I very recently wanted to deploy R packages correctly (they require rpms). I find out how to do it myself (using the tool r2spec and r2rpm from https://fedoraproject.org/wiki/Packaging:R) and literally on the same day I saw the twitter announcement about this project.

Now, you don't need r2spec anymore. :) I've never used r2rpm myself though, so I don't know whether that's better than using standard tooling like rpkg.

Pragmatically my problem is

How can I build from R package source the rpms  targeting a specific version of R and a specific install location with the least effort.
That will be 100 packages at most and cpu/space is not an issue

I'd say that the only things you need to do is

remove the dependence on R from the SPECs (the BuildRequires), because you have your own versions installed already;
set the paths properly to point to the correct version of R when you are building a package.

It would be much easier for your use case if R itself supported binary Linux repositories, as it does for Windows and Mac, even if CRAN doesn't provide them. In such a case, you could easily set a drat repo, but unfortunately, that's not the case.

Closing this if you don't mind. I'll be curious about what's the final setup you finally choose though.

Will come back if I end up getting something done. Many thanks for your time


SSR experiment

After reading this issue, I decided not to implement SSR (Server-Side Rendering) when I first wrote and published the library.
However, I believe it's now worth exploring this area. React seems to outperform Svelte and Vue in SSR, according to this benchmark.
A good starting point would be implementing something similar to what they are doing in live_vue or live_svelte with behavior, as seen here.
Afterward, we could benchmark and experiment with different renderers such as Node.js, Deno, and Bun. It appears that Bun performs particularly well when rendering React, as discussed here.

I am currently working on the SSR feature here ssr branch, but I am struggling to do it without customizing esbuild. Do you have any ideas about that?
I haven't gotten it to work yet, but hopefully soon. Do you think that since all the live_[insert framework] packages basically use the same starting point, it would be a good idea to have something like a core package they can all use? Maybe you could even have multiple frameworks at the same time if needed (hard to imagine why, but it would be possible).
Also, I can't help but feel that in the case of React, it would benefit a lot from Vite's goodies. Do you think maybe a Vite integration with an igniter generator or mix task would be a good idea?
I am new to Elixir and Phoenix, but I am loving the idea of generators to abstract away tedious tasks like installing a package.

I am currently working on the SSR feature here ssr branch, but I am struggling to do it without customizing esbuild. Do you have any ideas about that?
I am not familiar with React SSR. I started to read the doc https://react.dev/reference/react-dom/server/renderToString
renderToString
Also check https://react.dev/reference/react-dom/client/hydrateRoot
I don't think any bundler is required to render the component from server side but I could be wrong
First thing I would do is create a minimal setup js only to render a component as a string in the shell and continue from this step.
it would be a good idea to have something like a core package they can all use? Maybe you could even have multiple frameworks at the same time if needed (hard to imagine why, but it would be possible).
It's quite different for each framework and it will be a lot of work to maintain.
Also, I can't help but feel that in the case of React, it would benefit a lot from Vite's goodies. Do you think maybe a Vite integration with an igniter generator or mix task would be a good idea?
You can try to integrate with vite but as I mention before I am not a big fan of changing the default shipped with phoenix. But a mix task to simplify the current installation is okay. Not sure if igniter can handle js ?

I manage to make it work but it's far from being production ready.
While it's possible to not use any builder you still need to ship all the js so I found than you can pass multiples commands to the hex esbuild and this way it does not add any deps to build the final server.js https://github.com/mrdotb/live_react/blob/feature/ssr/live_react_examples/config/config.exs#L45
For the hooks modification it's quite lite just adding hydrateRoot if it was ssr rendered
https://github.com/mrdotb/live_react/blob/feature/ssr/assets/js/live_react/hooks.js#L34
I could not find the way to build the server in dev env automatically yet.
Need to call mix assets.build from live_react/live_react_examples project.
I put the server.mjs in the live_react_examples to test things.
For the component we need to call the nodejs render two time I don't think there is another way around except caching but I could be wrong.
https://github.com/mrdotb/live_react/blob/feature/ssr/lib/live_react.ex#L59
I'm not sure I understand completely the original code from live_vue it seems to not call the ssr two times https://github.com/Valian/live_vue/blob/main/lib/live_vue.ex

https://github.com/mrdotb/live_react/pull/7
Implemented and currently in beta


fix(tui): alter terminal being used during CI

This PR fixes this issue
🥶  This term should allocate a TTY, support colors, and have "cup" capabilities enabled.

"cup" appears to stand for "cursor position", and is another
terminfo capability used for moving the cursor to an arbitrary location
on the screen. smcup is used to prepare the terminal for cup usage, and
rmcup is used to reset it.

🥶 To select another terminal available, we need to run toe -a | less as a  separate CI step.
Here is detailed information about each: https://invisible-island.net/ncurses/terminfo.ti-entries.html
Here is the set of available options:  term-options-available.txt
🥶 Because we are not using the default term, we manually call bash with options using a shell step as a script.
Here is the link to this strategy: https://github.com/gfx/example-github-actions-with-tty
And the links for the options selected:

script options: https://manpages.ubuntu.com/manpages/bionic/en/man1/script.1.html
bash options: https://gist.github.com/mohanpedala/1e2ff5661761d3abd0385e8223e16425?permalink_comment_id=3945021

🥶 Remove "Test (TUI, retry)" step from CI, as it's no longer needed (we will continue in case of failure on the future PR)
🥶 Add steps to upload artifacts for failed test results.
🥶 Add cache steps in case of failure.
To check before merging:

[ ] ~CHANGELOG is up to date~
[ ] ~Documentation updated~

@ffakenz Let's use this PR to archive the last status. Push what you still have (maybe on your fork) and then just close it. Changing the CI to allow failures of cabal test hydra-tui should be a separate PR.

@ffakenz Let's use this PR to archive the last status. Push what you still have (maybe on your fork) and then just close it. Changing the CI to allow failures of cabal test hydra-tui should be a separate PR.

why in a separate PR?

@ffakenz Let's use this PR to archive the last status. Push what you still have (maybe on your fork) and then just close it. Changing the CI to allow failures of cabal test hydra-tui should be a separate PR.

Why a separate PR?

To make it clear that this we did not fix the original issue. :(


PERF: Use GEOSCoordSeq_copyFromBuffer for creating simple geometries

Experiment in using the new GEOSCoordSeq_copyFromBuffer for creating CoordinateSequences instead of setting each ordinate individually.
This requires GEOS 3.10, so will require https://github.com/pygeos/pygeos/issues/255 to use this in cython.
I was benchmarking it with the US census polygons (tl_2019_us_zcta510.zip, 33144 (multi)polygons, with on average ~1200 coordinates per ring).
Focusing on LinearRing creation (the actual creation of (Multi)Polygons from those rings will of course see less of a difference):
I saved the coordinates and offsets in a numpy file, to load them again to benchmark (see https://nbviewer.org/gist/jorisvandenbossche/4fab9c94525dcb5ddda8a89b4a5ad9f3 for the full notebook):
import numpy as np
import pygeos

with np.load("pygeos-benchmark-linearrings.npz") as data:
    offsets = data["offsets"]
    coords = data["coords"]

ring_lengths = np.diff((offsets / 2).astype(int))
ring_indices = np.repeat(np.arange(len(ring_lengths)), ring_lengths)
rings = pygeos.linearrings(coords, indices=ring_indices)

and this gives:
In [2]: %timeit pygeos.linearrings(coords, indices=ring_indices)
1.13 s ± 6.86 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)   # <-- master
558 ms ± 2.35 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)  # <-- PR

I had maybe hoped on a bit more :), but it's certainly a nice speed-up.

Doing a profile of the above benchmark with py-spy gives the following:

So this confirms that inside pygeos.linearrings now most time is spent in GEOSCoordSeq_copyFromBuffer (66%). Another 25% is from np.bincount, and another 8% is from the comparison indices[1:] < indices[:indices.shape[0] - 1](validating the indices are sorted)

Thanks for working on this!  The results are promising (though a bummer that we spend so much time just validating inputs).
I wonder if it would be easier to introduce this first in the ufuncs (e.g., lib.linestrings) where we can use the C macros to guard the GEOS version?  That would unblock the dependency on adding GEOS version control mechanisms to Cython in order to first start using GEOSCoordSeq_copyFromBuffer in pygeos?  That said, we'll certainly want this in Cython too, just was trying to think through smaller steps to bringing this in.

I wonder if it would be easier to introduce this first in the ufuncs (e.g., lib.linestrings) where we can use the C macros to guard the GEOS version?

That would indeed certainly be easier, but in practice those ufuncs are not super useful for general IO (except for points), since you almost never have all polygons of the same size (eg I couldn't have done my benchmark with real world data as I did above). So that's the reason I wanted to start looking at the non-ufunc versions.
(but we certainly want to add it to the ufuncs as well)

though a bummer that we spend so much time just validating inputs

It's not actually only validation, but also the calculation of the size of each CoordSeq that takes quite a bit of time. That's a consequence of how we expect the indices to be laid out (as [0, 0, 0, 0, 1, 1, 2, 2, 2] instead of [0, 4, 6, 9]).
Long term, I think it would be nice to also have a routine that takes that kind of offsets (since this is what Arrow will natively store).
The validation indeed also takes some time. We could maybe add a keyword to disable this, if you already know for sure that this is the case (but with a default to always validate).

Likely crazy idea, not yet thought through: what if we exposed a function from pygeos C API that we consume in Cython so that it takes the same inputs as are now being passed into GEOSCoordSeq_copyFromBuffer.  Then, instead of using this function direction from GEOS, we call back into pygeos C API, which then uses C Macros to version-guard the underlying GEOS functions used.  I'm thinking that what we add would be lightweight wrappers around some of these important low-level GEOS functions where they are only available in certain recent versions of GEOS.
I.e., instead of adding shims to Cython build system to conditionally make certain GEOS functions available to Cython, we provide Cython C function shims that are implemented back in C on our end.
I don't know yet how the complexity of that would differ vs just making the Cython build system GEOS version aware.

That's not so crazy I think :)
We could indeed have a C function that either is a simple call of GEOSCoordSeq_copyFromBuffer or either creates a CoordSeq manually and fills this in iteratively, depending on the GEOS version (which is easy to do in C). And then we can call that in the cython code. This is basically the _set_xyz + the loop in which it is called that we now do custom in cython.
That might indeed end up simpler.

Thanks for investigating this and doing the benchmarks! Interesting results. For sure the new GEOS function gives significant improvements. And we have some handles to optimize even further.
We could indeed make an optional “offsets” keyword argument that is preferred above the “indices”. It depends on your use case which representation is fastest, apparently here “offsets” is a better match. This is material for another issue I guess.
For the coordinates -> coordseq conversion I think the proposed solution of @brendan-ward is not crazy at all. I think that is the way to go.

I did a first attempt to write a generic "create and fill in coord seq" function that can be used in in the ufuncs (and then later in the cython code as well). Some complications: the ufuncs can also handle differently strided arrays (so I have to check if the steps are correct to use the copyFromBuffer), and needed some casts back and forth between *double and *char (the steps are expressed in bytes, not for * double). This can probably be cleaned up a bit more.

Quick performance check for the ufunc as well (not compared with master, but comparing with itself but triggering the copyFromBuffer path by providing unclosed vs closed ring coordinates):
In [15]: coords1 = np.random.randn(10000, 100, 2)

In [16]: %timeit pygeos.linearrings(coords1)
17.2 ms ± 603 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)

In [17]: coords1[:, [99], :] = coords1[: , [0], :]

In [18]: %timeit pygeos.linearrings(coords1)   # <-- closed rings, uses the copyFromBuffer fast path
8.93 ms ± 598 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)

and with fewer but larger rings:
In [19]: coords1 = np.random.randn(100, 10000, 2)

In [20]: %timeit pygeos.linearrings(coords1)
10.8 ms ± 111 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)

In [21]: coords1[:, [9999], :] = coords1[: , [0], :]

In [22]: %timeit pygeos.linearrings(coords1)
3.54 ms ± 44.6 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)

Looks good to merge! Can you add a line to the changelog?


[WORKFLOWS-48] Add maintenance tasks

Closing this PR in favor of a more comprehensive security PR.


Update ginkgo to v2

This PR updates ginkgo to v2. This is a major change in the library that comes with many improvements to performance.
Among the changes is the removal of the custom reporters, which we were using to report the values. However, v2 does print the data into the JSON or XML file for us. Overall, I think the update does also give us better code readability on the go side of things as the formatting of the reports can be confusing at first.
I'm going to put this into draft mode for now while I try to figure out how to see all of the N sampled values if we care to keep that on a graph as previously. If we decide to not to, we get the tables in the files with the values of the experiment.
Attached is currently what they look like.

cc: @eranra

Among the changes is the removal of the custom reporters, which we were using to report the values. However, v2 does print the data into the JSON or XML file for us. Overall, I think the update does also give us better code readability on the go side of things as the formatting of the reports can be confusing at first.
I'm going to put this into draft mode for now while I try to figure out how to see all of the N sampled values if we care to keep that on a graph as previously. If we decide to not to, we get the tables in the files with the values of the experiment.

FYI custom reporters were initially a workaround for visualizing the data. As the original author I never intended to support automatic visualization (e.g. via gnuplot) from this tool long term. Thus custom reporters were more a short cut rather the final goal. AFAIU ginkgo v2 presents the raw data in a stable format in json. If they suggest any tooling for visualizing these raw data I am fine with finishing and merging this PR as is. We can add scripts to transform the json output to a report with graphs in a separate PR.

@periklis I was mistaken while doing my testing. All the recorded values are there. I was expecting 10 when I was only running 2 samples.
In short, yes. The JSON files contains all the data from the benchmark tests. We can look into the JSON to either have the table (which is the screenshot above) or the JSON representation, which we can open to look at all the values and then render into a graph if we so wish.
I agree that we should mark this move as complete for now and consider making the graphs a separate topic. They don't - as far as I know - don't mention any specific or recommended visualization tools.

@periklis I was mistaken while doing my testing. All the recorded values are there. I was expecting 10 when I was only running 2 samples.
In short, yes. The JSON files contains all the data from the benchmark tests. We can look into the JSON to either have the table (which is the screenshot above) or the JSON representation, which we can open to look at all the values and then render into a graph if we so wish.

IMHO we wish to have at least a make report command using (if possible vendored) cli tools to compile a nice report from JSON. Can you spent some time on researching on how to solve this? I agree we can resolve in a separate PR.

I agree that we should mark this move as complete for now and consider making the graphs a separate topic. They don't - as far as I know - don't mention any specific or recommended visualization tools.

It looks like there's an issue about - maybe - adding an HTML reporter to Ginkgo at some point. It would be possible to take all the tables and place them in one file.
However, I'm not entirely sure which direction to go about the values for graphing. Perhaps something with Python, but that might require a dependency or two to make into useful.

@periklis Can we go ahead and merge this one in? I'll pick up the visualization in another PR.


Adds isolation-group types

Adds the internal types for isolation-groups

Pull Request Test Coverage Report for Build 0187fdb9-c85e-4bd1-8c39-ede877936269

220 of 345 (63.77%)  changed or added relevant lines in 4 files are covered.
122 unchanged lines in 13 files lost coverage.
Overall coverage decreased (-0.02%) to 57.164%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

common/types/admin.go
9
18
50.0%

common/types/mapper/proto/admin.go
100
155
64.52%

common/types/mapper/thrift/admin.go
107
168
63.69%

Files with Coverage Reduction
New Missed Lines
%

service/history/queue/transfer_queue_processor_base.go
1
77.62%

common/task/weightedRoundRobinTaskScheduler.go
2
88.6%

common/util.go
2
52.98%

service/history/execution/mutable_state_task_refresher.go
2
59.81%

service/history/task/transfer_standby_task_executor.go
2
87.34%

common/persistence/statsComputer.go
3
94.64%

service/matching/taskListManager.go
3
81.15%

service/history/queue/timer_queue_processor_base.go
7
77.48%

common/persistence/serialization/parser.go
8
62.41%

common/persistence/serialization/thrift_decoder.go
8
53.06%

Totals

Change from base Build 0187fdaa-efa5-431b-88c3-08889dbca66f:
-0.02%

Covered Lines:
86020

Relevant Lines:
150479

💛  - Coveralls


Memory Leak Issue in Grid Sample - No Leaks Found by MemLab

In the below grid sample, a memory leak issue occurs, but MemLab shows no leaks found. Below is the HTML and JavaScript code used in the sample for reproducing the issue:
<!DOCTYPE html>

    <title>Syncfusion Js grid control</title>
    <link rel="stylesheet" type="text/css" href="https://cdn.syncfusion.com/ej2/26.2.7/material.css" />

    My First Syncfusion Js grid control
    <button id="render">Render Grid</button>
    <button id="destroy">Destroy Grid</button>

Report:

Expected Behavior:
MemLab should detect and report any memory leaks if they occur.
Actual Behavior:
No leaks are reported by MemLab despite the presence of a memory leak issue.

 If the browser, for some reason, still considers the DOM elements created during the action step as attached to the DOM tree, MemLab will not report this as a memory leak by default.

MemLab should detect and report any memory leaks if they occur.

By default, this is not the case; any detection tool can be evaluated by precision and recall when viewed as ML classifiers. To achieve high precision, MemLab employs heuristics, such as detecting DOM elements detached from the DOM tree, to identify objects allocated during the action step but not released during the back step as memory leaks. These heuristics effectively filter out high-confidence memory leaks but may miss leaks not included in the allowlist, therefore sacrificing recall.
To get 100% recall and bypass the heuristic filtering, you can use the --trace-all-objects CLI flag to capture and dump the clustered traces of all objects that were allocated in action but not released after back. However, this will result in noisier data that can be more challenging to read (i.e., low precision).
To get both high precision and high recall for your particular use case, you can utilize the --leak-filter flag and API provided by MemLab to create custom rules for filtering out memory leaks for that Syncfusion library.


Dev beta

no longer actual, not merged changes are moved to https://github.com/HorizenOfficial/Sidechains-SDK/pull/210


Documentation GA_State_Draft. ## DO NOT MERGE##

Creating this PR to enable preview of the docs. ##DO NOT MERGE##

closing the PR as more changes were made


[BLOG] Getting started as a TAG ENV Contributor

The related issue is: https://github.com/cncf/tag-env-sustainability/issues/212
@guidemetothemoon

cc @savitharaghunathan

Thanks for working on this blog!! this is great work!!

cc @catblade @caradelia @patricia-cahill

I think I addressed all the changes, can someone take a look if this is fine?

👀 I see a lot of open comments

Thanks for the work, Antonio!

I have resolved the commit which I addressed in the last commit but the pipline is still failing on the check/setup without a log. https://github.com/cncf/tag-env-sustainability/actions/runs/6867796709/job/18676913855?pr=268 Can you please help me understand what is going on?

I have resolved the commit which I addressed in the last commit but the pipline is still failing on the check/setup without a log. https://github.com/cncf/tag-env-sustainability/actions/runs/6867796709/job/18676913855?pr=268 Can you please help me understand what is going on?

I re-queued the failed build and it's all good now, @AntonioDiTuri ! Thank you :)

I re-queued the failed build and it's all good now, @AntonioDiTuri ! Thank you :)

Thank you, let me know if other changes are needed :)

@guidemetothemoon I should have committed all the requested changes now, the spelling have some errors due to the names and quickstart. What should I do in this case?

@leonardpahlke I accepted all the suggestions. The pipeline has still errors because of spelling related to names. LMK if I should do something in that direction

@AntonioDiTuri great work, Antonio, thanks for making all the updates! We've recently refactored QA checks for pull requests, where spelling checks is one of the validations. I've created a quick doc on how to follow up different QA-related errors: https://github.com/cncf/tag-env-sustainability/blob/main/writing-style.md#fixing-qa-errors
Can you please take a look and see if it's enough for you to resolve those detected issues? I'm aware of that currently cSpell tools isn't able to recognize names as valid so I'm looking into ways to resolve it in a more efficient manner, but you can just add those to our custom TAG dictionary for now. Please let me know if you need further help on this.

@AntonioDiTuri please note that I've done some further improvements to the QA checks in this PR:  #289 , which may reduce amount of build errors you're getting in your PR once it's merged😊

Thanks Antonio

@AntonioDiTuri there are still some spelling errors that are failing but those will be fixed as part of #289 so I suggest that we merge the PR since the content itself looks very good! Thanks a lot for your work on this😊
@leonardpahlke since you gave your LGTM earlier I'm approving and merging this PR.

https://tag-env-sustainability.cncf.io/blog/2023-getting-started-as-tag-env-contributor/

Published :) Thanks for all the work @ATREAY, @Mfonn and @AntonioDiTuri!
@guidemetothemoon 🙌

Thank you @leonardpahlke and @guidemetothemoon for providing us with this opportunity. I eagerly anticipate making further contributions to TAG ENV.


Evaluate token locking implementations

Premise
A requested feature is locking bonded tokens for Rep in the DAO.
This gives the option for token holders to get governance power in exchange for a longer term commitment of their investment to the project.
Issues

51% Attacks on DAO: This effectively makes Rep buyable, so perhaps we can put a cap on what % of total Rep can be from staking tokens.

I think this would be a great way to issue rep within DAO.
The rep holders are still incentivized to be productive and govern appropriately, else other holders of bonded token will sell and value will collapse.
I think its more appropriate to balance incentivizes inherently rather than through code.

For reference, we can look at how the dxDAO and NectarDAO have created their reputation distribution model:
https://medium.com/@gnosisPM/overview-of-the-dxdao-reputation-distribution-50755a7cdedf
official post about NecDAO reputation breakdown is yet to be posted, here's something I found instead
https://www.finder.com.au/necdao-one-of-cryptocurrencys-largest-daos-is-about-to-be-created

The 'ragequit' mechanic in MolochDAO serves a similar function as I mentioned above.
Interesting reads!
What struck me from the dxDao post was this line:

An absolute majority of Reputation (>50%) is held by the top 6 Reputation holders. Yet the dxDAO has 399 Reputation Holders, who actively participated to stake for their vote. Although this is far from a horizontal distribution, this statistic still confers considerably more decentralization than most software projects today.

The objective of the rep is to decentralize governance, but the comparison baseline is "most software projects today".


Create l3s.txt

https://www.l3s.de/contact/
part of
https://www.uni-hannover.de/

@naiayti I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host l3s.ge not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Make add_fields() method of Schema add them outside of document.

I currently have a field that uses to_epoch_second and doing Schema.add_fields adds them to the document, the same as Schema.document.add_fields().
Indexing expression 'to_epoch_second' attempts to modify the value of the document field 'data_timestamp'. Use a field outside the document block instead.

field data_timestamp type long {
    indexing: input data . "T00:00:00.00Z" | to_epoch_second | attribute | summary
    attribute {
        fast-search
    }
}

Nevermind, found about is_document_field


The package product 'SotoS3' requires minimum platform version 12.0 for the iOS platform, but this target supports 9.0

I get this error message on xcode when adding "https://github.com/soto-project/soto-s3-file-transfer" to swift package manager. I checked and my IOS deployment version is 14.1 not 9. This does not happen when I use "https://github.com/soto-project/soto". Why is this happending with this repository

I believe there is a fix for this on the main branch. Just haven't done a release with it in.


Implement Sankey charts

Follow up on https://github.com/novus/nvd3/pull/1729

Thanks you very much!


[FLINK-28351][Connector/Pulsar] Add dynamic sink topic support for Pulsar connector.

What is the purpose of the change
Some people would like to use dynamically-generated topics from messages and use the key hash range policy. This is not supported by the Pulsar sink currently. We would change the behavior of TopicRouter for supporting this.
Brief change log

Change the internal design of ProducerRegister.
Expose topic metadata query in PulsarSinkContext.
Change the internal metadata cache in MetadataListener.
Change the method in TopicRouter.

Verifying this change
This change added tests and can be verified as follows:

PulsarWriterTest.writeMessagesToPulsarWithTopicAutoCreation()

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (docs)

@syhily @tisonkun
I'm running into the following errors when trying to build flink docs, which seems to be related to this change. Please take a look.
ERROR 2023/02/09 04:34:38 "docs/connectors/datastream/pulsar.md": Invalid use of artifact shortcode. Unknown flag `4.0.0-SNAPSHOT`
ERROR 2023/02/09 04:34:41 "docs/connectors/datastream/pulsar.md": Invalid use of artifact shortcode. Unknown flag `4.0.0-SNAPSHOT`

@syhily @tisonkun
I'm running into the following errors when trying to build flink docs, which seems to be related to this change. Please take a look.
ERROR 2023/02/09 04:34:38 "docs/connectors/datastream/pulsar.md": Invalid use of artifact shortcode. Unknown flag `4.0.0-SNAPSHOT`
ERROR 2023/02/09 04:34:41 "docs/connectors/datastream/pulsar.md": Invalid use of artifact shortcode. Unknown flag `4.0.0-SNAPSHOT`


swift-actions/setup-swift for v5.10.1 is using 10GB of the 14G storage space available in a macos-runner

Describe the bug
swift-actions/setup-swift is using 10GB of the 14G storage space available in a macos-runner.
Often causing the macos-runner when running builds to throw a warning You are running out of disk space. The runner will stop working when the machine runs out of disk space. Free space left: 75 MB and shortly later exit with Unhandled exception. System.IO.IOException: No space left on device : ...

Workflow configuration (please complete the following information):
    strategy:
      fail-fast: false
      matrix:
        swift: ["5.10.1"]
        os: [macos-latest]
        include:
          - language: swift
            build-mode: manual
        # CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
        # Use `c-cpp` to analyze code written in C, C++ or both
        # Use 'java-kotlin' to analyze code written in Java, Kotlin or both
        # Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
        # To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
        # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
        # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
        # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
    steps:
      - name: Check Disk Space 1
        run: df -h

      - name: Initialize latest xcode
        uses<EMAIL_ADDRESS>        with:
          xcode-version: latest-stable

      - name: Check Disk Space 2
        run: df -h

      - name: Initialize Swift
        uses<EMAIL_ADDRESS>        with:
          swift-version: ${{ matrix.swift }}

      - name: Check Disk Space 3
        run: df -h

      - name: Get swift version
        run: swift --version

      - name: Checkout repository
        uses<EMAIL_ADDRESS>
      - name: Check Disk Space 4
        run: df -h

For reference https://github.com/actions/runner-images/issues/2840