Vector tiles not styling properly beyond the source's maxzoom level ...

Hi,
I have a cached repository of Open Street Map MBTiles.  The max zoom level is 14.  I want my map to render down to zoom level 19, using the vertices exposed from level 14.
I was lead to believe from here:  http://gis.stackexchange.com/questions/127137/openlayers-3-scale-past-nativezoom-like-leaflet that if I set the max zoom level in the source Vector tile to 14, and set the maxZoom level in the view to 19, that the tiles would render correctly down to zoom level 19.  What I am seeing is fat dithered lines beyond level 14, even though the stroke width is 1.
Here is my code in typescript:
private getMapOptions(OSMapURL: string): olx.MapOptions {
var layers: Array<ol.layer.Base> = new Array<ol.layer.Base>();
var OSMTileURL: string = OSMapURL + "/{z}/{x}/{y}.pbf";
var osmTileOptions: olx.source.VectorTileOptions = <olx.source.VectorTileOptions> {
attributions: '©  OpenStreetMap contributors',
format: = new ol.format.MVT();
maxZoom: 14,
tileGrid: ol.tilegrid.createXYZ({ minZoom: 4, maxZoom: 14 }),
tilePixelRatio: 16,
url: OSMTileURL
};
var OSMsource: ol.source.VectorTile = new ol.source.VectorTile(osmTileOptions);
var osmVectorLayerOptions: olx.layer.VectorTileOptions = <olx.layer.VectorTileOptions>{
source: OSMsource,
style:OperationsControllerModule.createMapboxStreetsV6Style(),
}
var OSMLayer: ol.layer.VectorTile = new ol.layer.VectorTile(osmVectorLayerOptions);
layers.push(OSMLayer);
        var initCenter = ol.proj.transform([133.9, -23.69], 'EPSG:4326', 'EPSG:3857');
        var viewOptions: olx.ViewOptions = <olx.ViewOptions>{
            // projection: ol.proj.get("EPSG:4326"),
            center: initCenter,
            minZoom: 4,
            maxZoom: 19,
            zoom: 12
        };

        var view: ol.View = new ol.View(viewOptions);

        return <olx.MapOptions>{
            layers: layers,
            target: 'map',
            view: view
        }
    }

Any insights into what I may be doing wrong would be greatly appreciated.
Cheers,
Tom

Configure your ´ol.layer.VectorTileinstance withrenderMode: 'vector'`. The effect of that setting is that no pre-rendered raster tiles will be generated, and you'll get proper rendering according to the style at any resolution.


Can you add some features?

I'm using your calendar in my scheduling app.
Features I need:
-Serbian days/month:
Formats for months from: Januar ,Februar, Mart, April, Maj, Jun, Jul, Avgust, Septembar,
Oktobar, Novembar, Decembar.
Formats for days from Monday to Sunday: Pon, Uto, Sre, Čet, Pet, Sub, Ned.
-2 week format: instead of one week or whole month it would be great to add 2 week format because one week is not enough and the whole month is just too big.
-I need red background(the circle around the number) for a list of days( annual leave) to make it visible when someone is not working.I only managed to change the background of the selected day and today.
I'm willing to reward you.
Thanks!

@Bojke1 It feels like you can still implement above yourself removing headers and weekdays.

@hyochan how?

I think others can still be implemented except 2Week format. I don't quite get the third one tough. From my understanding, you want to color other circles which isn't selected day and today? If then try use the event option.

Type event is just a list of days?

Found the documentations of Serbian locale date formats,and used event successfully.
Can you add the 2 week format? Everything else is solved.

Please add a new issue for feature request since here you have few issues together. I'll close this for now.


Can I use my own 3d model with ply format as input for the stage2 optimization?

Hello, thanks for the excellent work ! I am a beginner, and I an trying to use stage2 of DreamGaussian to optimize my 3D model. On line 414 of main.py, I replaced the code that extracts the mesh before the UV map generation process with code that reads my ply file
From:
   def save_model(self, mode='geo', texture_size=1024):
    os.makedirs(self.opt.outdir, exist_ok=True)
    if mode == 'geo':
        path = os.path.join(self.opt.outdir, self.opt.save_path + '_mesh.ply')
        mesh = self.renderer.gaussians.extract_mesh(path, self.opt.density_thresh)
        mesh.write_ply(path)

    elif mode == 'geo+tex':
        path = os.path.join(self.opt.outdir, self.opt.save_path + '_mesh.' + self.opt.mesh_format)
        mesh = self.renderer.gaussians.extract_mesh(path, self.opt.density_thresh)

To:
  def save_model(self, mode='geo', texture_size=1024):
    os.makedirs(self.opt.outdir, exist_ok=True)
    if mode == 'geo':
        path = os.path.join(self.opt.outdir, self.opt.save_path + '_mesh.ply')
        mesh = self.renderer.gaussians.extract_mesh(path, self.opt.density_thresh)
        mesh.write_ply(path)

    elif mode == 'geo+tex':
        path = os.path.join(self.opt.outdir, self.opt.save_path + '_mesh.' + self.opt.mesh_format) #self.opt.mesh_format
        mesh = Mesh.load('/a _car_mesh.ply')

However, the generated UV map appears gray, and I'm quite puzzled. Could you please explain the reason behind this? I want to know how to correctly map the colors of my 3d model.

Maybe your .ply file headers dose not match the algorithm in mesh.py? I've tried to do the same thing and found my .ply file header isn't same with .ply file in this project. You can change it to .txt to check that


Can't create elasticsearch.yml at default location

Module version: 6.3.3
Puppet version: 5.5.10
OS and version: Centos 7.3.1611

Bug description
I hope that I am opening this issue in the right place.
I wanted to understand the reasoning behind the decision to disable the default location of the elasticsearch.yml file from /etc/elasticsearch/elasticsearch.yml.
I am referring to the following code
config.pp
To the best of my knowledge, when installing elasticsearch according to their official documentation, a Yum based install will create the file at that location.
If I only want to run one instance of elastic on a server, why do I then need to provide an instance name where by it will create /etc/elasticsearch/my-instance/elasticsearch.yml.
I am assuming this is an intended feature and not a bug because when I ran the following:
class { 'elasticsearch':
    version => '6.2.4',
    status => 'disabled',
    datadir_instance_directories => false,
    config => {
      'cluster' => {
        'network.host'     => '_site_',
        'node.name'        => $facts['hostname'],
      }
    }
  }
}

It installs elasticsearch and then removes all of the default files.
Notice: /Stage[main]/Elasticsearch::Package/Package[elasticsearch]/ensure: created
Info: /Stage[main]/Elasticsearch::Package/Package[elasticsearch]: Scheduling refresh of Exec[remove_plugin_dir]
Notice: /Stage[main]/Elasticsearch::Package/Exec[remove_plugin_dir]: Triggered 'refresh' from 1 event
Notice: /Stage[main]/Elasticsearch::Config/File[/usr/share/elasticsearch/plugins]/ensure: created
Notice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/scripts]/ensure: created
Info: Computing checksum on file /etc/elasticsearch/elasticsearch.yml
Info: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]: Filebucketed /etc/elasticsearch/elasticsearch.yml to puppet with sum 3aa77775c113d3828a9e8e87637eb286
Notice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/elasticsearch.yml]/ensure: removed
Info: Computing checksum on file /etc/elasticsearch/jvm.options
Info: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/jvm.options]: Filebucketed /etc/elasticsearch/jvm.options to puppet with sum 775a7b047687f7389149bff042a0e04d
Notice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/jvm.options]/ensure: removed
Info: Computing checksum on file /etc/elasticsearch/log4j2.properties
Info: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/log4j2.properties]: Filebucketed /etc/elasticsearch/log4j2.properties to puppet with sum b3030447ca9e02e0e19b2c3d38bea137
Notice: /Stage[main]/Elasticsearch::Config/File[/etc/elasticsearch/log4j2.properties]/ensure: removed

If I understand this feature correctly, you can't create the config file at the default location. It needs to exist under the name of an instance that you specify.
Is this a sensible default?
Thanks,
Feature Description

What was the solution to this? I have the same question.
Can anyone clarify?


Launch File

[ ] Add launch.json file for vscode. Add  default dart configurations.

You can learn from here:

https://flutter.dev/docs/development/tools/vs-code#run-app-in-debug-profile-or-release-mode

I would like to take this

I would like to take this

You can start contributing from 5th Jan.

You can start contributing from 5th Jan.

Okay, I will start it by then.

Okay, I will start it by then.


Hyundai-Kia-Genesis (HKG)

8 new cars
12 additional fingerprints
SCC Radar support
Lane departure warning support
Visible lane support
Fix auto resumes after car stopped
Fix hard fault for Genesis
modernise the code
update supported cars info
check prev PR for more #912

🏃♀ ✨  gimmie a few weeks lmao

Any update on this?

I've noticed that openpilot does not disengage when the doors open.
https://github.com/xx979xx/openpilot/blob/332cb82886d22a0dac1dad45117a15d137cf720f/selfdrive/car/hyundai/carstate.py#L302


add -version argument to ingest and server executables, v0.1.0

We'll have to remember to update this string each time we tag a new version.

CI not working (from a fork), closing, will create another PR based on a direct (non-fork) branch.


Modified the MainWindow file

Modifed the MainWindow file to show the welcome message

Review:

The message displayed when opening the main window was changed to display the default address book welcome message of AB3.

Do you plan to change the welcome message in the future? Or will you change it in this PR?


Add initial Spring Session support

We already have hints but no sample, so we should probably add reactive and non-reactive samples and update the support documentation accordingly.

Since we are approaching the release, and the support page mentions "Spring Session (Redis and JDBC)", I have renamed this issue title to "Add initial Spring Session support" and am closing this issue. We could continue to refine the support in 0.11. Feel free to comment/reopen if needed.


Disable scroll when Dialog, Sheet, etc is open.

First of all, i appreciate your work man, keep going, vue world deserve frontend libraries like shadcnui!
I noticed one problem with all dialogs that has overlay, all of them should disable scroll behavior when opened. Originaly ark-ui adds classes to html and body tags to prevent this, but not in your library. I tried to understand why, but with no luck...

Looks to be a bug with the Vue version of ark https://github.com/chakra-ui/ark/issues/1167.
For now you can use the @open and @close events to handle it manually. I might add it as a workaround in the docs for now

Ahh, their docs lying that prevent scroll is the default behaviour… I think Sheet component should have preventscroll prop too?


mesh manifest apply does not work with custom helm values

Bug description
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[ ] Docs
[x] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
Istio install with custom helm values (grafana, prometheus etc.)
Version (include the output of istioctl version --remote and kubectl version)
✗ istioctl version --remote
client version: unknown
control plane version: release-1.3-20190927-10-16
✗ kubectl version
kubectlClient Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.0", GitCommit:"2bd9643cee5b3b3a5ecbd3af49d09018f0773c77", GitTreeState:"clean", BuildDate:"2019-09-19T13:57:45Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.6-eks-5047ed", GitCommit:"5047edce664593832e9b889e447ac75ab104f527", GitTreeState:"clean", BuildDate:"2019-08-21T22:32:40Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}

How was Istio installed?
# istio-control-plane.yaml
apiVersion: install.istio.io/v1alpha2
kind: IstioControlPlane
spec:
  values:
    global:
      logging:
        level: "default:info"
      logAsJson: false
      enableTracing: true
      mtls:
        enabled: true
    prometheus:
      enabled: true
    grafana:
      enabled: true
    tracing:
      enabled: true
      jaeger:
        memory:
          max_traces: 50000
        persist: false
    kiali:
      enabled: false

istioctl experimental manifest apply -f istio-control-plane.yaml

Environment where bug was observed (cloud vendor, OS, etc)
✗ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.14.6
BuildVersion:	18G103

what is the error?

@howardjohn I don't get any error, just no additional add-on (grafana, prometheus, kali etc) installed if I set the helm values for it.
✗ kubectl --namespace istio-system get pod
NAME                                      READY   STATUS    RESTARTS   AGE
istio-citadel-84598d98b5-xn7gr            1/1     Running   0          34h
istio-egressgateway-867cdf4b5b-d2j6b      1/1     Running   0          34h
istio-galley-59b48b67f5-qrs44             2/2     Running   0          34h
istio-ingressgateway-77b9b654c9-5fj28     1/1     Running   0          10h
istio-ingressgateway-77b9b654c9-kfzmk     1/1     Running   0          10h
istio-pilot-7675b57bd5-s62p2              2/2     Running   0          34h
istio-policy-6669c776-g6fmz               2/2     Running   1          34h
istio-policy-6669c776-jlj5g               2/2     Running   0          12h
istio-sidecar-injector-557bd4c8c8-jtfbq   1/1     Running   0          34h
istio-telemetry-747d66bc5-jhgnj           2/2     Running   1          34h
istio-telemetry-747d66bc5-m2gpm           0/2     Pending   0          12h

I also noticed that the helm values for core components (e.g. istio-ingressgateway) works as expected, in this case, I've set replicas to 2, but grafana and prometheus are not installed
apiVersion: install.istio.io/v1alpha2
kind: IstioControlPlane
spec:
  values:
    gateways:
      istio-ingressgateway:
        autoscaleEnabled: true
        autoscaleMin: 2
        autoscaleMax: 6
    prometheus:
      enabled: true
    grafana:
      enabled: true

The output of the istioctl experimental manifest generate -f istio-control-plane.yaml  command also does not contain grafana or prometheus deployment.

@howardjohn do you need more information?

Thanks for the info! This may be the same issue as https://github.com/istio/istio/issues/16970 which was recently fixed it looks like

The fix just missed 1.3.2 but should be there in the next 1.3 release (and of course 1.4).

I can confirm that the version 1.3.3 fixes this issue 🎉

@howardjohn Unfortunately, I have noticed that not all custom values are applied.
For example:
apiVersion: install.istio.io/v1alpha2
kind: IstioControlPlane
spec:
    kiali:
      enabled: true
      dashboard:
        auth:
          strategy: anonymous
        viewOnlyMode: false

This manifest should generate kiali config with dashboard setting, but it's not:
kubectl --namespace istio-system exec -it kiali-xxx-xxx -- cat /kiali-configuration/config.yaml
istio_namespace: istio-system
server:
  port: 20001
  web_root: /kiali
external_services:
  istio:
    url_service_version: http://istio-pilot.istio-system:8080/version
  jaeger:
    url:
  grafana:
    url:

Is it a bug or am I doing something wrong?

@richardwxn ^

@yacut
The reason is that some of the values schema in operator is outdated, but you can always add --force flag to the manifest apply command bypass the validation and just pass through. I think that 's available for 1.4
Also you may need to make sure you put the kiali part under the values, the CR yaml you pasted most recently was not correct.
I can get below configmap using the values your provided, the auth strategy is being set correctly.
apiVersion: v1
kind: ConfigMap
metadata:
  name: kiali
  namespace: istio-system
  labels:
    app: kiali
    release: istio
data:
  config.yaml: |
    istio_component_namespaces:
      grafana: istio-system
      tracing: istio-system
      pilot: istio-system
      prometheus: istio-system
    istio_namespace: istio-system
    auth:
      strategy: anonymous
    server:
      port: 20001
      web_root: /kiali
    external_services:
      istio:
        url_service_version: http://istio-pilot.istio-system:8080/version
      jaeger:
        url:
      grafana:
        url:

@richardwxn Thank you for your answer. Then I'll wait until version 1.4 and test it again.


feature request ip adress

Hey Fabian, awesome work with the scanner. it would be very cool if you choose the -json format so that the ouput also contains the corresponding ip when you run the scanner in a loop against an ip list
regards ;)

Thanks for the feature request; fully agree with you (otherwise, script-based scanning is more complicated than it should be). I will make sure to add this feature and release a new version as soon as I get to it.

ya i know what u mean, i tested the scanner in a larger environment. it is then very confusing which are vulnerable and which are not. that would be very helpful, especially for larger companies. but again thank you ;) ...

FYI: I just released v1.1.3, adding this feature to the scanner. In addition to the IP address, the port will also be included.


There is no horizontal scroll on web?

There is no horizontal scroll on web?

If the screen is wider than the size of the list, it does not scroll.


tail&head: dont use is_numeric to check for digits

Signed-off-by: Hanif Bin Ariffin<EMAIL_ADDRESS>

Note that a similar PR already exists: https://github.com/uutils/coreutils/pull/3043. Maybe you could rebase from that branch to get the test and we'll continue here?

Ooops, I have rebased mine. Right now I am trying to add test for stat for this but its apparently not part of the suite for Ubuntu?


fix broken paths in README.md and samples/ directory

There are some broken paths to the docs in the README.md file and the samples/ directory. I’d be happy to help update these!

By all means!
On Sun, Sep 8, 2024, 7:26 PM dosubot[bot] @.***> wrote:

Hey there, @theiiienrique https://github.com/theiiienrique! I'm here to
help you with any bugs, questions, or contributions you have. Let me know
how I can assist you!
To fix the broken paths in the README.md file and the samples/ directory,
you need to ensure that all the links and paths are correct. Here are the
necessary corrections:

Fix the image source path:
 Doc Detective: The Documentation Testing Framework

Fix the link to the contributions guide:
Make sure you review the contributions guide before submitting a pull request.

Fix the link to the license:
This project uses the MIT license.

Ensure the samples/ directory path is correct:
(Optional) Get sample files
To test a few samples, clone the repo and navigate to the samples directory:
git clone https://github.com/doc-detective/doc-detective.gitcd doc-detective/samples

Additionally, the samples/.doc-detective.json file specifies paths that
might be broken or outdated. Specifically, the following paths should be
verified:

1. "envVariables": "./variables.env"
2. "input": "."
3. "output": "."
4. "runTests.input": "./doc-content-inline-tests.md"
5. "runTests.output": "."
6. "runTests.mediaDirectory": "."
7. "runTests.downloadDirectory": "."
8. "runCoverage.input": "."
9. "runCoverage.output": "."

These paths should be checked to ensure they point to the correct
locations [1]
<https://github.com/doc-detective/doc-detective/blob/main/README.md>[2]
<https://github.com/doc-detective/doc-detective/blob/main/samples/.doc-detective.json>
.

*To continue talking to Dosu <https://dosu.dev>, mention @dosu
<https://github.com/dosu>.*

—
Reply to this email directly, view it on GitHub
<https://github.com/doc-detective/doc-detective/issues/89#issuecomment-2336987666>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHX2F6HIAM5D7GCZD7DD7TZVUBL3AVCNFSM6AAAAABN3R3PMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZWHE4DONRWGY>
.
You are receiving this because you are subscribed to this thread.Message
ID<EMAIL_ADDRESS>


Minor improvements to the documentation

Description
This PR introduces a few minor improvements to the documentation:

Fix the commands to run the unit tests with the docker container
Rename the section names in the peering page
Add information concerning the support of Cilium in Liqo

/merge


Logo text

Just noticing a few issues with how the logo text in the docs (svg file)
Logo has text embedded as <text>

So it just defaults to browser font, since I don't have the specific font available. Probably worth exporting the text as shapes so it looks consistent.
Text looks a bit funny in dark mode

Maybe documenter gives lets you specify an alternate for dark mode?

Should that have updated the hosted docs? Looks the same to me still

Thanks for checking!
I have checked now that running julia --project=docs/ docs/make.jl locally does generate documentation with new logos.
Is it a cache-related issue then?..

Uh, I think it may still be off. Here's what it looks like when I build the docs locally on my machine:

But the light mode version does look right:


i got AttributeError: module 'tensorflow.python.ops.summary_op_util' has no attribute 'skip_summary'

Traceback (most recent call last):
File "main.py", line 284, in
Net = TecoGAN( rdata.s_inputs, rdata.s_targets, FLAGS )
File "/home/ksjin/바탕화면/TecoGAN-master/lib/Teco.py", line 500, in TecoGAN
gif_sum = [ gif_summary('LR', r_inputs, max_outputs=max_outputs, fps=3),
File "/home/ksjin/바탕화면/TecoGAN-master/lib/ops.py", line 507, in gif_summary
if summary_op_util.skip_summary():
AttributeError: module 'tensorflow.python.ops.summary_op_util' has no attribute 'skip_summary'
how can i fix this error?
tensorflow = 1.14
python =3.7.3

I have the same error as you have.Besides these,I also have several W0802 like this
W0802 12:10:39.181865<PHONE_NUMBER>41664 deprecation_wrapper.py:119] From /home/null/TecoGAN/lib/Teco.py:425: The name tf.train.AdamOptimizer is deprecated. Please use tf.compat.v1.train.AdamOptimizer instead.

I have same problem in ubuntu 18.Then I try debian,it doesnt work as well.

skip_summary has moved to tensorflow.python.distribute.summary_op_util since v1.14 while other functionalities remain in tensorflow.python.ops.summary_op_util. So the fix is not one-liner.
Why don't we stick to 1.13?

I also have this problem. And I just comment these.

you can try rename like this :
from tensorflow.python.ops import summary_op_util as tpos
from tensorflow.python.distribute import summary_op_util as tpds

How to fix it
Open file lib/ops.py
Add import line
from tensorflow.python.distribute.summary_op_util import skip_summary
and change line 507
if summary_op_util.skip_summary() to if skip_summary()

You could use my docker setup to avoid issues with incompatible tensorflow versions: https://github.com/tom-doerr/TecoGAN


Fix #119: verifyEIP20 broken in EIP20Factory.sol

The verifyEIP20 function does two checks to assert whether the code at a given address is known EIP20 code. In the first check, it simply compares the length (in bytes) of the code at the provided address to the length of the known EIP20 code. If that check passes, it would then iterate though the code at the provided address byte by byte and compare each byte to the known EIP20 code, returning false if any byte did not match.
In a run of the linter initially committed at a7837478bf60c2ab4332442e4849f2851fc51a31, the return true statement which had come after the byte-comparing for loop was moved inside the for loop such that if the first byte compared was matching, this function would return true even if the rest of the bytes did not match.
This PR moves verifyEIP20's return true statement to after both checks have completed.

How do you feel about changing this to use bytes.equal() instead?
(v. https://github.com/GNSPS/solidity-bytes-utils/blob/master/contracts/BytesLib.sol#L292)
I can see how creating a dependency to this contract may not be optimal but what about copy/inlining the function from the bytes lib (perhaps with a link to the tests of that function in the original repo)?

I would be fully willing to entertain that idea in a separate discussion. But I want to take this bug out of production as fast as possible, and it will take me time to understand that BytesLib code.

LGTM.


How to convert array to object?

In PHP, I can convert array to object. For example, (object) array("a", "b", "c"). How to do the something is Zephir. Or how to create a basic object by "new", like "new Object()"?

new stdlcass()


Duplicate declaration: Package[java-1.7.0-openjdk]

When I want to install XL Deploy and XL Release on the same machine, I get the following error.
Maybe you can use ensure_packages.
[root@xldeployagent ~]# puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Package[java-1.7.0-openjdk] is already declared in file /etc/puppetlabs/code/environments/production/modules/xldeploy/manifests/shared_prereq.pp:22; cannot redeclare at /etc/puppetlabs/code/environments/production/modules/xlrelease/manifests/install.pp:51 at /etc/puppetlabs/code/environments/production/modules/xlrelease/manifests/install.pp:51:11 on node xldeployagent.home
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
[root@xldeployagent ~]#

nice. thank you.


Add ability to add, delete, and get enrichment project(s)

This adds the ability to add, delete, and list Enrichment Projects.
Tests:
>>> ep = studio.create_enrichment_project(dataset_id="5bce9741876a44f59fec298b4d5fdcb0", name="hello-world")
new_dict = {'created_at': 'Wed, 05 Jun 2024 18:02:32 GMT', 'dataset_id': '5bce9741-876a-44f5-9fec-298b4d5fdcb0', 'id': '57c7c7b33b6d42c0889c834d6b1e0c95', 'name': 'hello-world', 'status': 'CREATED', 'target_column_in_dataset': 'metadata', 'updated_at': 'Wed, 05 Jun 2024 18:02:32 GMT', 'user_id': '100747438840388968912', 'api_key': '985e6169bef04bd4b21e0850a763fc10'}

>>> ep.to_dict()
{'id': '57c7c7b33b6d42c0889c834d6b1e0c95', 'name': 'hello-world', 'target_column_in_dataset': 'metadata', 'created_at': datetime.datetime(2024, 6, 5, 18, 2, 32), 'updated_at': datetime.datetime(2024, 6, 5, 18, 2, 32)}

>>> studio.get_enrichment_projects()
[<cleanlab_studio.studio.enrichment.EnrichmentProject object at 0x12f2b4940>, <cleanlab_studio.studio.enrichment.EnrichmentProject object at 0x12f2b4a90>, <cleanlab_studio.studio.enrichment.EnrichmentProject object at 0x12f2b44c0>, <cleanlab_studio.studio.enrichment.EnrichmentProject object at 0x12f2b4f70>, <cleanlab_studio.studio.enrichment.EnrichmentProject object at 0x12f2b4b20>, <cleanlab_studio.studio.enrichment.EnrichmentProject object at 0x12f2b4490>]

>>> studio.delete_enrichment_project(project_id=studio.get_enrichment_projects()[0].id)
Successfully deleted enrichment project: 57c7c7b33b6d42c0889c834d6b1e0c95

 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.

Another suggestion. Put your tests in the PR description.

so the problem remains, user will use a dict instead of EnrichmentProject.
is this a comment pattern in studio to require api_key explicitly. for cli like, aws, docker, they just read from a local file or ENV VAR.
I would suggest to think about if we can do that.

@novking Yes, this is the pattern that we use. I agree that we should change it. Note that there's support for switching to a more object-oriented structure for this library in the future.


How to specify that videos from a separate domain are to be included when adding a site with brozzler-new-site?

I added a site with brozzler-new-site, and its pages are being captured but video files stored on https://example.s3.amazonaws.com are not archived. How can one specify that example.s3.amazonaws.com should be included when adding a site with brozzler-new-site.
Ideally, this should be mentioned in the README.

Actually it's not even plain <source> tags. Those are added by JavaScript on that page. Which makes me think of something and I'll open a separate issue for it.

I apologize for the dearth of documentation, it's something I'm actively working on in this branch
https://github.com/nlevitt/brozzler/tree/docs
The answer to your question somewhat depends on additional details about the site but most likely what you need to do is add a scope rule to scope in example.s3.amazonaws.com. So write a job.yml like this:
---
seeds:
- url: https://example.com/
scope:
  accepts:
  - domain: example.s3.amazonaws.com

and run brozzler-new-job job.yml.

(Oops, I didn't see your other comments before replying)


Add ability to "deep link" to a specific notebook in a Jupyter Book

Is your feature request related to a problem? Please describe.
We are working on migrating our existing set of KB/Troubleshooting articles from Confluence to a Jupyter Book. When we move a Confluence article into a Notebook, we can update the old article with a note that says it is now in ADS, and direct the user there. Currently, we are also including a link to the Github URL for the notebook to ensure users land on the right notebook, as we are not able to create a URI that directly activates ADS for the user & brings them to the notebook directly.
Even after we have completely migrated our Confluence articles to the Jupyter Book, this would be a helpful feature to be able to activate ADS from many external sources--such as alerts from our monitoring system, in order to guide users to the correct troubleshooting guide to resolve the incident.
Describe the solution or feature you'd like
I would like to be able to craft a URI that deep links into the Jupyter Book, and opens the specific notebook in question. For Example: azuredatastudio://microsoft.notebook/open?Book=/<path from the UI nav menu> or azuredatastudio://microsoft.notebook/open?Book=/MyTroubleshootingJupyterBook/AGs/AGLatency
This could potentially be extended further to allow deep links to anchor links within the notebook as well: azuredatastudio://microsoft.notebook/open?Book=/MyTroubleshootingJupyterBook/AGs/AGLatency#HighSendQueue
This would make the assumption that the desired Jupyter Book is installed & updated on the desktop of the user. If the needed Jupyter Book is not open, or the Notebook does not exist in the user's copy of the Book, the user would get some sort of "Notebook not found" error.
There already exists in a slightly different format where a URL in the format of azuredatastudio://microsoft.notebook/open?url= <encoded URL> will open a notebook from URL (ex from GitHub). But I'd like to see this extended to target not a web address URL, but rather any Jupyter Book that is available in the "Notebooks" section of ADS
Describe alternatives you've considered
We are currently linking to the notebook's GitHub URL, but this is not ideal, as it still forces users to manually find the Notebook in ADS, and also "encourages" folks to just copy/paste from GitHub into SSMS, rather than actually using ADS & getting the full benefit of the Notebook.
edit: I was pointed to the ability to activate ADS to open a notebook from the GitHub URL, but I'd like to see this extended to target not a web address URL, but rather any Jupyter Book that is available in the "Notebooks" section of ADS. Additionally, the current implementation to open a notebook from URL requires using the "raw" URL from GitHub. When using GitHub Enterprise with required authentication, this breaks the ability to cleanly encode raw URLs to be opened by ADS.
Additional context
This would be an excellent opportunity for Microsoft to partner with monitoring vendors, and/or to create an open-source notebook as part of the Tiger Team Toolbox to help troubleshoot common issues, and be available for all users  to adopt & contribute to.

@qifahs , @joberume : FYI.


ASP.NET MVC/Core Identity Provider

Is there or will there be an ASP.NET MVC/Core Identity Provider? I found another project but it looks like it is inactive for around 6 months now and it is still in alpha.

@eSPiYa You could look at any Ravendb implementation and do a similar implementation using Marten. Have a look at https://github.com/tugberkugurlu/AspNet.Identity.RavenDB or https://github.com/terrasynq/RavenDB.AspNetCore.Identity. In summary, you will need to define your entities and implement IUserStore.

@mysticmind Will definitely do that. I have experience implementing a custom Identity before but I wasn't able to cover everything because I don't need those things before. It might happen again if case I'm going to build one for Marten. I don't have experience in spear-heading open source projects, mostly small contribution on things.
Currently using the "Microsoft.AspNet.Identity.Marten" library name and project namespace. I don't know if it is correct or not.

@mysticmind Will definitely do that. I have experience implementing a custom Identity before but I wasn't able to cover everything because I don't need those things before. It might happen again if case I'm going to build one for Marten. I don't have experience in spear-heading open source projects, mostly small contribution on things.
Currently using the "Microsoft.AspNet.Identity.Marten" library name and project namespace. I don't know if it is correct or not.

Sorry, clicked the wrong button. LOL
Anyway, I'm also considering forking this project: https://github.com/kedarvaidya/AspNetCore.Identity.Marten

@eSPiYa Iam happy to help you. If you are forking https://github.com/kedarvaidya/AspNetCore.Identity.Marten, you don't need to setup a new namespace etc, keep the ones "as is" in the source project. You can change the code to work with latest Marten and sent a Pull Request to kedarvaidya.
You can give it a shot to make changes by forking the indicated project. If you can wait for 2-3days, I can put together one for you using the latest Marten version or can fork the same project.

@mysticmind Thanks! Not really rushing this because I'm still in the middle of learning Marten. Just want some kind of project to test it out, and making some useful library/tools is like hitting two birds with one stone.
Already forked the project and his codes are really decent. I have lots learned from reading it, though there is no instruction on how to make the sample project work so it took me a lot of time change things to somehow make it run.

Since there is an ongoing project for this one, I'm going to call the issue here closed.


Update aca_entities

This pull request will update medicaid_gateway with the latest aca_entities.

@bill-transue where is the ticket reference here?


bot.roomRename started to fail suddenly (no upgrade was done)

Seeing this error message in the logs
(node:7172) UnhandledPromiseRejectionWarning: BadRequest: Currently moving room under another team is not supported in Developer API. Please refer to https://developer.webex.com/docs/api/v1/rooms/update-a-room for more information.
(node:7172) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 19338)

Hi @dlsagayaraj.   Any chance you could provide some guidance on how to reproduce this?   Based on the error message you are reporting it seems like the core platform is generating the error because it "thinks" that you are attempting to change the team associated with the room (as opposed to simply renaming it.    Is it possible that is happening?
Is there any reason to think that this is a problem with the bot framework (as opposed to webex itself?)
Thanks for reporting the issue!

Hi,
Thank you for the quick response to the reported issue. Below is the code we are using from the bot framework to rename the space and we are facing the above mentioned error, This code was working fine until few weeks back.. started to fail recently
framework.hears(/#rename/i, function (bot, trigger) {
bot.roomRename("New Sample Name").then((response) => {
});
});
And the reason why we think this is a problem with the bot framework is because we are able to rename the space using the webex API directly..  Tested using the https://developer.webex.com/docs/api/v1/rooms/update-a-room
It would be very much helpful if you can check and let us know the fix.

Hi @dlsagayaraj.  I tried to replicate this today and could not.  I (belatedly) add this call to the framework test suit, and in doing so I DID discover and fix a problem that was preventing the roomRenamed event from being emitted, but the API call to rename the room worked just fine.
I doubt that it will make a difference, but if you want you can check out the test_room_rename branch of the framework to your local project and see if that fixes your issue.
Based on the error you showed in your original post, it seems like you are trying to change the teamId associated with the room.   Can you double check your code and make sure that you aren't setting this anywhere?   One thing that might be helpful is if you add a line like:
console.log(bot.room);
Prior to making the call to bot.roomRename.  If you see a teamId object associated with it post back here and I'll suggest some next steps.

Hi @jpjpjp ,
Attaching the full code for your reference. Let me know if you are able to rename a space successfully with this code..
`var framework = require('webex-node-bot-framework');
const config = require("./config.json");
var framework = new framework(config);
framework.start();
console.log("Starting framework, please wait...");
framework.on("initialized", function () {
console.log("framework is all fired up! [Press CTRL-C to quit]");
});
framework.on('spawn', (bot, id, actorId) => {
if(bot.room['type']=='group'&&bot.room['title'].indexOf("Demo")!=-1)
{
    console.log(bot.room['title'],"Archived")
    console.log(bot.room)

    bot.roomRename(bot.room['title']+'- [Archived]').then((response) => {
        console.log(response)

    });

}

});
`
I get this error in the log
`(node:22534) UnhandledPromiseRejectionWarning: BadRequest: Currently moving room under another team is not supported in Developer API. Please refer to https://developer.webex.com/docs/api/v1/rooms/update-a-room for more information.
PUT https://hydra-a.wbx2.com/v1/rooms/Y2lzY29zcGFyazovL3VzL1JPT00vYTUwYzlkZTAtMzg4Ny0xMWViLWIwNzItNzcyYzg1YTg5YzVi
WEBEX_TRACKING_ID: webex-js-sdk_5013f829-ec5c-421e-99b8-bc3cb0b011a7_113
at BadRequest.ExtendableBuiltin (/Users/dsagaya/Documents/aida/aidajirabot/node_modules/@webex/common/dist/exception.js:50:44)
at BadRequest.Exception (/Users/dsagaya/Documents/aida/aidajirabot/node_modules/@webex/common/dist/exception.js:97:142)
at BadRequest.HttpError (/Users/dsagaya/Documents/aida/aidajirabot/node_modules/@webex/http-core/dist/http-error.js:69:125)
at BadRequest.WebexHttpError (/Users/dsagaya/Documents/aida/aidajirabot/node_modules/@webex/webex-core/dist/lib/webex-http-error.js:48:135)
at new BadRequest (/Users/dsagaya/Documents/aida/aidajirabot/node_modules/@webex/http-core/dist/http-error-subtypes.js:63:129)
at HttpStatusInterceptor.onResponse (/Users/dsagaya/Documents/aida/aidajirabot/node_modules/@webex/http-core/dist/interceptors/http-status.js:108:39)
at /Users/dsagaya/Documents/aida/aidajirabot/node_modules/@webex/http-core/dist/request/index.js:69:41
at processTicksAndRejections (internal/process/task_queues.js:85:5)

(node:22534) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 15)
`

@dlsagayaraj can you post the console output that goes along with this?  In particular I'm wondering if the space with the title "Demo" is also part of a team.

Looks like this is the result of an API change recently implemented that's checking if the teamId exists within the request body, and throwing if it's not empty. I've submit a defect for further review.

Thanks for confirming @krsboone!.  @dlsagayaraj, I'd like to wait to see if the Webex API team will correct this before working around it in the framework.  In the meantime, here's a work around that you can deploy:
framework.on('spawn', (bot, id, actorId) => {
    if (bot.room['type'] == 'group' && bot.room['title'].indexOf("Demo") != -1) {
        console.log(bot.room['title'], "Archived")
        console.log(bot.room)
        // Workaround PUT /rooms issue when the space is part of team
        // by using the SDK to send just the room id and title
        bot.webex.rooms.update({
          id: bot.room.id,
          title: bot.room['title'] + '- [Archived]'
          })
        // bot.roomRename(bot.room['title'] + '- [Archived]').then((response) => {
        //     console.log(response)
        // });
    } else {
      console.log('Bot spawned in space ' + bot.room.title)
    }
});

@jpjpjp , thank you for the workaround.. It works good for me.
@krsboone . Thank you for sharing this. It helped a lot, Is there a link to the defect raised to the WebApi Team? so that i can watch and follow the updates

@dlsagayaraj No, unfortunately, it's a private system. However, if you want to create a ticket by emailing devsupport at webex.com, then I can link that case to the bug, and our team will provide updates. If you do, just please mention this issue, or our conversation here.


Improved color for the Ayu themes

Ayu-mirage
Before:

After:

Ayu-light
Before:

After:

Changes:

Set explicit and expected color for org babel source blocks.
org-document-info-keyword color was not saved and used the default color. Was sometimes very hard to see.
Changed the line-number color color for ayu-light, since it could blend in with the background color.
For ayu-light, toned down the color on org-babel source blocks to be more in line with the original theme.
Make both ayu themes more structured in accordance with existing themes (doom-one, doom-dracula, etc.).
Move color codes to variables.
Add back functionality for toggling lighter comments.

Appreciate the effort! Current implementation is honestly quite bothersome..
Hopefully the PR will be merged in the near future!

Thanks!


Created initial structure for Student entity

Created Student entity's part for controllers and services. Added DI in Program.cs file

Program.cs file has additional lines for DI containers. Both changes should be applied


Add Next/Prev Button?

This is a user feedback for UI experience improvement.
Having used Label Studio for several months, I realize I often need to go to next or previous tasks. Especially when reviewing annotations.
With the current UI, I have to click on the specific task on the left sidebar. Although it works well, I realize it can be rather inefficient when working with hundreds of tasks, as there are a lot of mouse movements and scrolling.
Right now, I modify the page HTML and CSS to add a next button. This allows me to easily go to next task faster as opposed to clicking on the list of tasks on the left sidebar.

Maybe just some suggestion, if we can add next/prev button in the UI?

Why don't you use shift + up / shift + down? (on old version you have to press Enter after, on the latest - just shift up / down).


Can't DROP INDEX IDX_repository_is_bare; check that it exists

Gitea version (or commit ref): 1.8.0
Git version: 2.21.0
Operating system: arch linux 4.18.16
Database (use [x]):

[ ] PostgreSQL
[X] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[X] Not relevant

Log gist:

2019/05/01 20:40:05 [I] ORM engine initialization attempt #1/10...
2019/05/01 20:40:05 [I] Migration: rename repo is_bare to repo is_empty
2019/05/01 20:40:05 [D] ORM engine initialization attempt #1/10 failed. Error: migrate: do migrate: Drop index failed: Error 1091: Can't DROP INDEX IDX_repository_is_bare; check that it exists
2019/05/01 20:40:05 [I] Backing off for 3 seconds
Description
After upgrading gitea, the gitea won't start and the error Can't DROP INDEX IDX_repository_is_bare; check that it exists  appears in the logs.

Manually recreating the index solves the problem
CREATE INDEX IDX_repository_is_bare ON repository (is_bare)


Misplaced characters in the Adyen/Fee module config.xml

https://github.com/Adyen/adyen-magento/blob/master/app/code/community/Adyen/Fee/etc/config.xml
In the config.xml there are 2 characters misplaced at the bottom </sales>xw that will cause issues with loading the XML (invalidating it)

@sandermangel a bug fix release for this will happen later today by @rikterbeek, thanks for flagging it.

@shanelja np, thanks for the quick fix, already patched it locally :)


Remove moment from expensify-common

TAG_REVIEWER will you please review this?
[Explanation of the change or anything fishy that is going on]
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/153792
Tests
Test in conjunction with Web-Expensify PR here

Start out on Web-E master and verify the values of CONST.DATE.DEFAULT_START_DATE and CONST.DATE.DEFAULT_END_DATE in the JS console.
Switch to the test branch, npm install, and grunt watch
Verify the values are the same

Before:

After:

QA
❌

I have read the CLA Document and I hereby sign the CLA

recheck


★(√NOWATCHVIDEOs:.) Sofia Ansari Viral Leaked Video 2024 Trending On Social Media X Twitter [HD318K√]

13 sec ago Sofia Ansari Leaked Video Viral On Social Media. ★(√NOWATCHVIDEOs:.) Sofia Ansari Viral Leaked Video 2024 Trending On Social Media X Twitter [HD318K√]

Sofia Ansari’s latest video has taken the internet by storm, igniting conversations across various social media platforms. The rising digital star, known for her engaging content—especially her recent Spiderman-themed clip—has experienced a remarkable boost in popularity, with fans eagerly seeking the full version. Viewers are flocking to Instagram, X (formerly Twitter), and Discord to engage with her latest creation.
As the excitement grows, fans are passionately sharing their reactions online, highlighting the vital role social media plays in propelling creators like Sofia Ansari into the spotlight. With her unique style and innovative approach, she has quickly made a notable impact in the digital landscape, leaving many curious about her next moves.

Thank You

FG

.
.
.

vf
.
.

.

.


First attempt at the forking banner

https://github.com/AugurProject/augur/issues/3933
Opened a PR just to see if this is making sense

made some changes, wired up the buttons. wired it up to universe.forkingInfo

Lgtm, @bconfortin see what you think. Id like to get this merged up and we can continue to test

@bthaile I just went through all of your commits and the code seems solid. Haven't tested it yet. Awesome job :clap:


NEXT-23654 - Fix Product Listing returns falsy product sorting

1. Why is this change necessary?
In the current state, the sorting of Products inside the Listing don't behave as expected. When products are sorted by a Field, it creates an ORDER BY Criteria e.g.
ORDER BY MAX(`product`.`sales`) DESC

This example comes from the Sorting Criteria for Topseller.
The issue lies in the non-deterministic behaviour in combination with LIMIT and OFFSET as in the Pagination. In the example of Topseller products, if a product has a non unique value of sales it causes products to disappear in the listing on some pages or be duplicated (not on the same page, but comparing e.g. page 1 and 2), as it does not cut off the expected number of products provided by OFFSET in a deterministic way.
The issue can also be reproduced with other sorting criterias, if a value is not unique.
2. What does this change do, exactly?
The proposed solution, is to add a fallback ORDER BY Criteria (here product.id ASC) to re-introduce deterministic behaviour, as it causes the products to be sorted by product.id if the values provided in the Sorting Fields are not unique.
This is done by adding a "fallbackSortingField" to the fields in the createDalSorting function which is called within the ListingLoader. The priority is set to -1 so it will be added to the end of the list.
The result in SQL is (in the example of the topseller criteria):
ORDER BY MAX(`product`.`sales`) DESC, MIN(`product`.`id`)

3. Describe each step to reproduce the issue or behaviour.

Generate Demo Products on a Test-Environment (e.g. bin/console framework:demodata)
Sort by Topseller.
Open multiple Tabs and compare the pages, or trace the SQL Statement in the Symfony Toolbar (Doctrine -> # product-listing-route::loading::search-ids) E.g.:

SELECT `product`.`id`, `product`.`product_number`, `product`.`auto_increment` FROM `product` LEFT JOIN `product` `product.parent` ON `product`.`parent_id` = `product.parent`.`id` AND `product`.`version_id` = `product.parent`.`version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`visibilities` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product`.`id` = `product.categoriesRo.mapping`.`product_id`  AND `product`.`version_id` = `product.categoriesRo.mapping`.`product_version_id` LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping`.`category_id` = `product.categoriesRo`.`id`  AND `product.categoriesRo`.`version_id` = `product.categoriesRo.mapping`.`category_version_id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((((`product.visibilities`.`visibility` >= 30) AND `product.visibilities`.`sales_channel_id` = 0x270E711C315849ED8E34E450E48A664E AND IFNULL(`product`.`active`, `product.parent`.`active`) = 1) AND `product.categoriesRo`.`id` = 0x4484A74D380E4480AB448DF2EEBD6CF2 AND NOT (`product`.`display_group` <=> NULL))) GROUP BY `product`.`display_group` ORDER BY MAX(`product`.`sales`) DESC LIMIT 24 OFFSET 0;

If using SQL, adjust the Offset in 24 steps, and check for duplicate keys.

4. Please link to the relevant issues (if any).
https://issues.shopware.com/issues/NEXT-23654
5. Checklist

[ ] I have rebased my changes to remove merge conflicts
[ ] I have written tests and verified that they fail without my change
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Thank you for the PR. I added two small things :)

Hey @TheAnimeGuru, sorry for keep you waiting and thanks for the report.
I fixed this in a previous version inside the ProductSortingEntity.php
https://github.com/shopware/shopware/blob/bb8f818d7a7c952e75ccacf633dc572c177bbba7/src/Core/Content/Product/SalesChannel/Sorting/ProductSortingEntity.php#L86


Delete components directory

Can you stop spamming random repository to farm activity @sapakurdapyasa ?


html5lib parses extremely slow certain type of content

This issue was originally filed by<EMAIL_ADDRESS>
The following code demonstrates a very slow parsing speed:
  http.read('https://www.facebook.com/MARCA').then((c) {
    htmlParser.parse(c);
  });
For most websites out there, it's fast, but for a few and this site in particular, it parses in around 20-25 seconds.

This issue has been moved to dart-lang/html#18.


exec can't be used as a Bash function name

hekonsek henryberg:~/projects/rhiot-quickstarts/spark [2209:1]% RHIOT_VERSION=0.1.4-SNAPSHOT ~/projects/rhiot/cloudplatform/install/rhiot-cloud-platform
/home/hekonsek/projects/rhiot/cloudplatform/install/rhiot-cloud-platform: 22: /home/hekonsek/projects/rhiot/cloudplatform/install/rhiot-cloud-platform: Syntax error: Bad function name

@gautric I will fix it now, but please test the script on Ubuntu VM or something like that when you change it. Thanks!

Done.


Does not work with Babel 6.0

I have not managed to run autobind decorator with babelify 7.2.0 and babel 6.0.15, the lasts versions.
I don't have errors but i think that autobind is not made, I have to make it for the hand.
My configuration in gulp:
...
transform: [babelify.configure({
      presets: ["react", "stage-0", "es2015"],
    })],
...

My bad ?

It looks like this is a known issue with Babel 6.0. Decorator support has been removed as the spec is changing rapidly.

Hi there,
you may use the transform-decorators-legacy plugin, this works fine with Babel 6.0.

Doesn't work with react-hot-loader though.
It only defines getter while hot-loader tries to patch the property.
 function patchProperty(proto, key) {
    proto[key] = storedPrototype[key];

@emirotin try react-transform-hmr or react-hot-loader v2 (I think alpha is published on npm). v1 doesn't support getters.

Thanks for the tip! I'm new to React ecosystem which is huge :)

No issues using this with Babel 6. Thank you so much for creating this stop gap library! This issue can be closed, or a new one opened if HMR continues to be an issue for some.

@jhabdas do you mind sharing how you got it to work?

98968ee should have fixed this. Please try the latest master branch :)

Cheers to you good friend. Cheers to you.


The string on the address bar is incorrect when opening one ADLS Gen2 sub-folder under the filter mode

Storage Explorer Version: 1.28.0
Build Number: 20230131.13
Branch: rel/1.28.0
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Ventura 13.2 (Apple M1 Pro)
Architecture: ia32/x64/arm64
How Found: From running test case
Regression From: Not a regression
Steps to Reproduce

Expand one ADLS Gen2 storage account -> Blob Containers.
Create a blob container -> Create a folder A -> Open the folder A -> Create a sub-folder B.
Back to the root.
Type 'A/B' in the search by prefix box.
Open the folder 'B' -> Observe the address bar.
Check whether shows a correct string.

Expected Experience
Show a correct string.
Actual Experience
Show an incorrect string.

Verified this issue on the build main/20230203.13. Fixed. So, we are going to close it.


Examples tests are not working

Hi,
there is no recipe to run test in the make file. And it seems tests are not working at all.
I've created an issue on tinygo describing the symptom, as far I'm not sure what is the root cause
https://github.com/tinygo-org/tinygo/issues/1795#issue-857028374

See https://github.com/tetratelabs/proxy-wasm-go-sdk/blob/main/Makefile and it’s verified on CI

Note that the test is NOTHING to do with TinyGo since it does use the official tool chain.


Creating A Grid

In the Creating a Grid Section a call is made in the TODO section of the Game.cpp Render function that: m_effect->Apply(m_d3dContext.Get());.  This results in an error, because "m_d3dContext" is an undeclared identifier.

m_commandList.Get()

Cut & paste error populating initial files from DX11. Thanks!


[QUESTION] Reslove InterProcessMutex.acquire() hang

Worker's Network is not good , but connecting has no problem .
When worker using InterProcessMutex to acquire a lock, all worker's acquire() hang in a long time.
public InterProcessMutex acquireZkLock(CuratorFramework zkClient,String zNodeLockPath)throws Exception{
		InterProcessMutex mutex = new InterProcessMutex(zkClient, zNodeLockPath);
		mutex.acquire();
		return mutex;
	}

Has anyone else encountered the same problem ？

I may find the reason: https://github.com/apache/curator/pull/297

Fixes race in many Curator recipes whereby a pattern was used that called "notifyAll" in a synchronized block in response to a ZooKeeper watcher callback. This created a race and possible deadlock if the recipe instance was already in a synchronized block. This would result in the ZK event thread getting blocked which would prevent ZK connections from getting repaired. This change adds a new executor (available from CuratorFramework) that can be used to do the sync/notify so that ZK's event thread is not blocked.


hal/uart_ll.h: Fix compile with C++ (IDFGH-8661)

I'm including <hal/uart_ll.h> in my C++ application because I need to bypass the uart driver. The inline functions in the header file fail to compile as C++.
With xtensa-esp32s2-elf-g++ (crosstool-NG esp-2021r2-patch3) 8.4.0 it doesn't allow copying the union like this:
hal/uart_ll.h:131:39: error: binding reference of type 'const uart_dev_s::<unnamed union>&' to 'volatile uart_dev_s::<unnamed union>' discards qualifiers
     typeof(hw->clk_div) div_reg = hw->clk_div;
hal/uart_ll.h:131:39: error: cannot bind rvalue reference of type 'uart_dev_s::<unnamed union>&&' to lvalue of type 'volatile uart_dev_s::<unnamed union>'
     typeof(hw->clk_div) div_reg = hw->clk_div;

All of the enums need explicit casts for conversion to/from integers.

 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.

Thanks for your contribution.

sha=5d46d1ada01a34ba3bd930578c5b841967ff11c4

PR is merged in the commit: https://github.com/espressif/esp-idf/commit/d1993c01f26a59c0b0d85402b61563beba5f74fe


Update license.txt

Thanks for this.  Are you happy for this to be included under the current license :-)

Haha of course

Am 22.06.2015 um 17:37 schrieb Allan Jardine<EMAIL_ADDRESS>Thanks for this.  Are you happy for this to be included under the current license :-)
—
Reply to this email directly or view it on GitHub.


Replaced the LC with the TSC.

Description
The OpenSearch Project is supported by The OpenSearch Software Foundation, a project of The Linux Foundation. You can read the launch announcement here and learn more about joining the foundation here.
The project has a Governing Board and a Technical Steering Committee.
This PR adds the initial TSC charter and creates a placeholder for the GB.
Closes https://github.com/opensearch-project/community/issues/48.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

thank you @dblock - one comment - completely erasing the records of the LC feels inappropriate for transparency - I'd say we should likely note that it is super-ceded by TSC at least for a set time-period

thank you @dblock - one comment - completely erasing the records of the LC feels inappropriate for transparency - I'd say we should likely note that it is super-ceded by TSC at least for a set time-period

I replaced MEMBERS.md in the LC folder by a note with a link to the last working version with the list of people and added a README with the same to access meeting notes. Does that work?

Thank you @dblock !

@krisfreedain Can this be merged?

We had a discussion on whether this content belongs in the community repo and decided to create a new steering one. @krisfreedain is taking care of it.
I'll split this PR in two then.

I've moved the TSC parts to https://github.com/opensearch-project/technical-steering (members merged as part of https://github.com/opensearch-project/technical-steering/pull/4).
@krisfreedain take a look again?


Support to custom key combination(like ctrl+alt+c) or adding data to clipboard with custom menu link

Hi,
I have question that does this module support in React JS Application and does the custom key combination work for copying to clipboard(like Ctrl+Alt+C)? Also if there is any support to custom menu implementation like in any react function I want to copy some custom data to clipboard dynamically and later paste it on some other menu item click.
Is there any example for it? I couldn't find anything of this sought

Yes, this module supports React and any other JavaScript library. But currently, clipboard.js only supports click event listeners. No custom key combination or anything like that.


enh: Error handling

Discuss and design a coherent error handling.
Information

[x] Enhancement of existing content
[ ] Suggestion for a new feature
[ ] Other: ...

Suggested changes
Current state
There are:

some custom Error types
some "warnings"
some panic or unimplemented

See #169, #174
Proposal
I'd appreciate it if you could find a coherent way to deal with different errors. It should be lightweight, but it should be thought out thoroughly to make honeycomb usable as a library.

good point for usability. I'll use this issue to gather relevant data

explicit panics, expects
Ignoring unreachable panics.
panics
honeycomb-core/src/cmap/builder/io/tests.rs:32:  _ => panic!("cmap was built incorrectly"),
honeycomb-core/src/cmap/builder/io/mod.rs:27:    Vtk::import(file_path).unwrap_or_else(|e| panic!("E: failed to load file: {e:?}"));
honeycomb-core/src/cmap/builder/io/mod.rs:49:    Vtk::import(value).unwrap_or_else(|e| panic!("E: failed to load file: {e:?}"));
honeycomb-kernels/src/grisubal/mod.rs:144:       Err(e) => panic!("E: could not open specified vtk file - {e}"),

expects
honeycomb-core/src/attributes/collections.rs:65:         .expect("E: cannot split attribute value - value not found in storage");
honeycomb-core/src/attributes/collections.rs:179:        .expect("E: cannot split attribute value - value not found in storage");
honeycomb-core/src/attributes/manager.rs:65:///          .expect("E: could not downcast generic storage to specified attribute type")
honeycomb-core/src/attributes/manager.rs:320:            .expect("E: could not find storage associated to the specified attribute type")
honeycomb-core/src/attributes/manager.rs:322:            .expect("E: could not downcast generic storage to specified attribute type");
honeycomb-core/src/attributes/manager.rs:335:            .expect("E: could not find storage associated to the specified attribute type")
honeycomb-core/src/attributes/manager.rs:337:            .expect("E: could not downcast generic storage to specified attribute type");
honeycomb-core/src/attributes/manager.rs:414:            .expect("E: could not downcast generic storage to specified attribute type")
honeycomb-core/src/cmap/builder/io/mod.rs:125:           .expect("failed to load piece data - is it not inlined?");
honeycomb-core/src/cmap/dim2/io.rs:49:                   .expect("Could not write data to writer");
honeycomb-core/src/cmap/dim2/io.rs:75:                   .expect("Could not write data to writer");
honeycomb-core/src/cmap/dim2/advanced_ops.rs:67:         .expect("E: attempt to split an edge that is not fully defined in the first place");
honeycomb-core/src/cmap/dim2/advanced_ops.rs:70:         .expect("E: attempt to split an edge that is not fully defined in the first place");
honeycomb-core/src/cmap/dim2/advanced_ops.rs:89:         .expect("E: attempt to split an edge that is not fully defined in the first place");
honeycomb-core/src/cmap/dim2/advanced_ops.rs:92:         .expect("E: attempt to split an edge that is not fully defined in the first place");
honeycomb-core/src/cmap/dim2/advanced_ops.rs:192:        .expect("E: attempt to split an edge that is not fully defined in the first place");
honeycomb-core/src/cmap/dim2/advanced_ops.rs:199:        .expect("E: attempt to split an edge that is not fully defined in the first place");
oneycomb-kernels/src/grisubal/model.rs:98:               .expect("E: failed to load piece data - is it not inlined?");
honeycomb-kernels/src/grisubal/model.rs:351:             .expect("E: open geometry?");
honeycomb-kernels/src/grisubal/model.rs:362:             .expect("E: open geometry?");
honeycomb-kernels/src/grisubal/kernel.rs:93:             .expect("E: could not build overlapping grid map");

unwraps
I removed unwrap from type conversion / cast, as well as unwrap from tests
honeycomb-core/src/cmap/builder/io/mod.rs:158:   cell_components.last_mut().unwrap().push(*vertex_id as usize);
honeycomb-core/src/cmap/dim2/io.rs:95:           .map(|vid| map.vertex(*vid).unwrap())
honeycomb-core/src/cmap/dim2/basic_ops.rs:269:   .unwrap() as VertexIdentifier
honeycomb-core/src/cmap/dim2/basic_ops.rs:303:   .unwrap() as EdgeIdentifier
honeycomb-core/src/cmap/dim2/basic_ops.rs:337:   .unwrap() as FaceIdentifier
honeycomb-core/src/cmap/dim2/utils.rs:94:        let mut file = File::create(rootname.to_owned() + "_allocated.csv").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:95:        writeln!(file, "key, memory (bytes)").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:101:       writeln!(file, "beta_{beta_id}, {mem}").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:104:       writeln!(file, "beta_total, {beta_total}").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:110:       writeln!(file, "geometry_vertex, {geometry_vertex}").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:111:       writeln!(file, "geometry_total, {geometry_total}").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:117:       writeln!(file, "others_freedarts, {others_freedarts}").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:118:       writeln!(file, "others_counters, {others_counters}").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:119:       writeln!(file, "others_total, {others_total}").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:166:       let mut file = File::create(rootname.to_owned() + "_effective.csv").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:167:       writeln!(file, "key, memory (bytes)").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:173:       writeln!(file, "beta_{beta_id}, {mem}").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:176:       writeln!(file, "beta_total, {beta_total}").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:182:       writeln!(file, "geometry_vertex, {geometry_vertex}").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:183:       writeln!(file, "geometry_total, {geometry_total}").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:189:       writeln!(file, "others_freedarts, {others_freedarts}").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:190:       writeln!(file, "others_counters, {others_counters}").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:191:       writeln!(file, "others_total, {others_total}").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:240:       let mut file = File::create(rootname.to_owned() + "_used.csv").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:241:       writeln!(file, "key, memory (bytes)").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:249:       writeln!(file, "beta_{beta_id}, {mem}").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:252:       writeln!(file, "beta_total, {beta_total}").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:258:       writeln!(file, "geometry_vertex, {geometry_vertex}").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:259:       writeln!(file, "geometry_total, {geometry_total}").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:265:       writeln!(file, "others_freedarts, {others_freedarts}").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:266:       writeln!(file, "others_counters, {others_counters}").unwrap();
honeycomb-core/src/cmap/dim2/utils.rs:267:       writeln!(file, "others_total, {others_total}").unwrap();
honeycomb-core/src/geometry/vertex.rs:212:       attr.unwrap()
honeycomb-kernels/src/grisubal/clip.rs:90:       return Some((dart_id, cmap.vertex(cmap.vertex_id(dart_id)).unwrap()));
honeycomb-kernels/src/grisubal/model.rs:134:     cell_components.last_mut().unwrap().push(*vertex_id as usize);
honeycomb-kernels/src/grisubal/kernel.rs:194:    let v_dart = cmap.vertex(cmap.vertex_id(dart_id)).unwrap();
honeycomb-kernels/src/grisubal/kernel.rs:248:    let v_dart = cmap.vertex(cmap.vertex_id(dart_id)).unwrap();
honeycomb-kernels/src/grisubal/kernel.rs:290:    let v_dart = cmap.vertex(cmap.vertex_id(dart_id)).unwrap();
honeycomb-kernels/src/grisubal/kernel.rs:343:    let v_vdart = cmap.vertex(cmap.vertex_id(vdart_id)).unwrap();
honeycomb-kernels/src/grisubal/kernel.rs:344:    let v_hdart = cmap.vertex(cmap.vertex_id(hdart_id)).unwrap();
honeycomb-kernels/src/grisubal/kernel.rs:405:    intersec_data.sort_by(|(s1, _, _), (s2, _, _)| s1.partial_cmp(s2).unwrap());
honeycomb-kernels/src/grisubal/kernel.rs:472:    vs.sort_by(|(_, t1, _), (_, t2, _)| t1.partial_cmp(t2).unwrap());
honeycomb-render/src/capture/mod.rs:75:          let v = cmap.vertex(*vid).unwrap();
honeycomb-render/src/capture/mod.rs:76:          Vec3::from((v.0.to_f32().unwrap(), v.1.to_f32().unwrap(), 0.0))

non-crashing
warnings
honeycomb-core/src/attributes/manager.rs:372:           "W: Storage of attribute `{}` already exists in the attribute storage manager",
honeycomb-core/src/cmap/builder/grid/descriptor.rs:129: println!("W: All three grid parameters were specified, total lengths will be ignored");
honeycomb-core/src/cmap/dim2/io.rs:162:                 println!("W: unrecognized coordinate type -- cast to f64 might fail");
honeycomb-core/src/cmap/dim2/advanced_ops.rs:55:        println!("W: vertex placement for split is not in ]0;1[ -- result may be incoherent");
honeycomb-core/src/cmap/dim2/advanced_ops.rs:214:       "W: vertex placement for split is not in ]0;1[ -- result may be incoherent"
honeycomb-kernels/src/grisubal/model.rs:272:             println!("W: land on corner: {on_corner} - reflect on an axis: {reflect}, shifting origin");

Result in returns
honeycomb-core/src/cmap/builder/grid/descriptor.rs:124:    pub(crate) fn parse_2d(self) -> Result<(Vertex2<T>, [usize; 2], [T; 2]), BuilderError> {
honeycomb-core/src/cmap/builder/io/mod.rs:107:             ) -> Result<CMap2<T>, BuilderError> {
honeycomb-core/src/cmap/builder/structure.rs:120:          pub fn build(self) -> Result<CMap2<T>, BuilderError> {
honeycomb-core/src/geometry/vector.rs:126:                 pub fn unit_dir(&self) -> Result<Self, CoordsError> {
honeycomb-core/src/geometry/vector.rs:151:                 pub fn normal_dir(&self) -> Result<Vector2<T>, CoordsError> {
honeycomb-kernels/src/grisubal/clip.rs:14:                 pub fn clip_left<T: CoordsFloat>(cmap: &mut CMap2<T>) -> Result<(), GrisubalError> {
honeycomb-kernels/src/grisubal/clip.rs:25:                 pub fn clip_right<T: CoordsFloat>(cmap: &mut CMap2<T>) -> Result<(), GrisubalError> {
honeycomb-kernels/src/grisubal/clip.rs:42:                 ) -> Result<HashSet<FaceIdentifier>, GrisubalError> {
honeycomb-kernels/src/grisubal/model.rs:76:                fn try_from(value: Vtk) -> Result<Self, Self::Error> {
honeycomb-kernels/src/grisubal/model.rs:202:               ) -> Result<(), GrisubalError> {
honeycomb-kernels/src/grisubal/model.rs:228:               ) -> Result<([usize; 2], Vertex2<T>), GrisubalError> {
honeycomb-kernels/src/grisubal/mod.rs:140:                 ) -> Result<CMap2<T>, GrisubalError> {

I've come up with a list of principles that can be used to determine what should be done about a given problem at execution

Limit overhead of frequently used methods (e.g. operators, getters, setters of CMap2).

Use Result only in high-level constructs and/or what is likely a one-time function call.
Use Option in lower-level methods. This can change if benchmarks show the cost is too high.

Crash if:

an operation does not make sense / the issue most likely results from a greater problem (e.g. both vertices of an edge aren't defined before splitting, or the user tries to access values of an attribute that's not part of the map)
a major problem occurs during some form of init (e.g. an input file not found)

Throw a warning the problem detected won't create an issue / can be ignored in 99.9% of cases.

With these rules:

We can use Result to enforce hypothesis wherever needed (e.g. algorithm input)
Crashes happen either when continuing doesn't make sense (e.g. missing input) or when continuing would make the code explode (e.g. trying to use data that doesn't exist / isn't defined)
Overhead seems acceptable for a first iteration. The usage of Options can be discussed after further benchmarks, though I suspect it will only cause problems in geometry-heavy meshing algorithms (e.g. vertex relaxation)

From there, we can:

add those rules to the doc
adjust the API to fit these rules

Additionally, I can use the thiserror crate to keep boilerplate to a minimum.
@cedricchevalier19 we can talk about this approach today, as well as #172

One more issue that I didn't consider are assertions. I've seen in benchmarks that they seem to take non-negligible time when repeated very often (e.g. assertions in one_link/two_link methods).
A solution for this would be to turn a number of these assert! into debug_assert!. That way:

it solves the performance problem in release mode
we still have stronger checks in debug mode, which is where most of algorithm correctness issues should be caught

@cedricchevalier19, @franck-ledoux any inputs?


Redirect does not redirect to the same location

The plugin jekyll-redirect-form does not redirect from this url to this one. Instead it redirects to my blog. The blog domain is added as a custom domain to another GitHub repor that hosts my blog. This is the link to the file with the specified redirect.
I also opened the same issue at the theme repository.

It is still reproducible, any idea why this happens or how to fix it?

@jwillmer Can you provide the YAML front matter of the page in which you're implementing the redirect? What's the intended behavior?

Please read my initial description. You will find both your questions answered.

The redirect is being generated as /blog/features/YAML-Features
The correct URL will be generated if you change baseurl to "jekyllDecent" in _config.yml
This should be happening automatically on GitHub pages; not sure why that's not happening. At any rate, the plugin will do the right thing if baseurl is set properly :beers::+1:


Remove some old links,Reorder some repository

Hi @Tinyu-Zhao. Please submit these changes as two separate PRs:

Remove libraries
Reorder URLs

Jumbling the two distinct operations into a single PR makes it very difficult for us to understand exactly what you are requesting and will also make it very challenging for the backend maintainer to resolve the merge conflicts that will have inevitably accumulated by the time they are ready to merge this.

Yes, I will resubmit, thank you


Multiplatform expect / actual module support

Is your feature request related to a problem? Please describe.
I'm going to describe my problem using example.
I have a Multiplatform dependency called Persistence which has platform-specific implementations:
// commonMain
interface Persistence

// androidMain
class AndroidPersistence(context: Context) : Persistence

// iosMain
class IosPersistence : Persistence

I would like to provide this Persistence dependency in my commonMain source sets using annotated Koin module. My approach is to create an expect/actual module class named PersistencePlatformModule and annotate it using @Module annotation, where actual implementation provides platform-specific dependency for creating an instance of Persistence (for example Android needs an application Context which is also provided by Koin but only in androidMain source set).
Then I include that module into my other module PersistenceModule which contains the rest of other dependencies I use in my project:
// commonMain
@Module(includes = [PersistencePlatformModule::class])
class PersistenceModule { ... }

@Module
expect class PersistencePlatformModule {
    @Single
    fun persistence(): Persistence
}

// androidMain
@Module
actual class PersistencePlatformModule(private val context: Context) {
    @Single
    actual fun persistence(): Persistence = AndroidPersistence(context)
}

// iosMain
@Module
actual class PersistencePlatformModule {
    @Single
    actual fun persistence(): Persistence = IosPersistence()
}

The compilation of above fails with some errors:

Expected class PersistencePlatformModule does not have default constructor
No value passed for parameter 'context'

My next approach was to define a module without expected dependency function:
@Module
expect class PersistencePlatformModule()

// androidMain
@Module
actual class PersistencePlatformModule actual constructor() {
    @Single
    fun persistence(context: Context): Persistence = AndroidPersistence(context)
}

// iosMain
@Module
actual class PersistencePlatformModule actual constructor() {
    @Single
    fun persistence(): Persistence = IosPersistence()
}

This will compile without compile-time checks and PersistenceModule.module extension is generated. However when Persistence is injected at runtime, the application crashes with NoBeanDefFoundException.
This will also not compile with compile-time checks:
e: [ksp] --> Missing Definition type 'my.app.package.Persistence' for `my.app.package.WhereItsInjectedClass`.

Describe the solution you'd like
I would like to be able to specify expect/actual modules using Koin annotations using one of described approaches above ☝
Describe alternatives you've considered
The alternative is to not use koin-annotations and fall back to typical module-as-function approach:
// commonMain
expect fun persistencePlatformModule(): Module

// androidMain
actual fun persistencePlatformModule() = module {
    singleOf(::AndroidPersistence) bind Persistence::class
}

// iosMain
actual fun persistencePlatformModule() = module {
    singleOf(::IosPersistence) bind Persistence::class
}

This approach works, however when combined with other koin-annotations modules in your project, you cannot use compile-time checks because they fail to check dependencies provided by this functional-style module.
Target Koin project
koin-annotations

Interesting feedback. Let's see how we can get close to the actual/expect KMP declarations 👍

What works today is using one Module per platform together with expect class:
// commonMain
expect class SettingsPlatformModule

@Module(includes = [SettingsPlatformModule::class])
class SettingsModule

// androidMain
@Module
@ComponentScan("org.example")
actual class SettingsPlatformModule

IMHO it would be even better to have @ComponentScan support across targets.
E.g. in commonMain, i declare a Module with ComponentScan:
@Module
@ComponentScan("app.settings")
class SettingsModule

And in src/androidMain/kotlin, without having a module:
@Single
class Settings(val context: Context) {
...
}

Currently, i have to declare one module per platform

In my opinion, it works even better now. If you have a module in common, for example SharedModule. Either in android Main or in any other sources Set. You just need to add
@Single
 fun provideAndroidPersistence(context: Context) : Persistence

Without creating a separate module for this. Component Scan will put this dependency in the SharedModule itself. Provided the packages match.

@Neyasbit This looks promising. I'm trying to implement this like you described, but does not work for me with latest Koin version. The Component scan does not seem to pick up dependencies from my source sets. Am I missing something?

@matejsemancik ,
I set this up using
dependencies {
    with(libs.findLibrary("koin-kspCompiler").get()) {
        add("kspCommonMainMetadata", this)
        add("csp Android", this)
        add("kspIosX64", this)
        add("kspIosArm64", this)
        add("kspIosSimulatorArm64", this)
        add("kspIosSimulatorArm64Test", this)
    }
}

If your module has only platform dependencies, then you should remove generation
kspCommonMainMetadata. Then you will have for android, for example, a module will be generated in build/genereared/ksp/android. The module itself lies in the command main.
Here is an article that should help you figure it out.
However, it says that kspCommonMainMetadata is enough for new dependencies and it should automatically generate platform dependencies. But it didn't work in my trash and I left them.

@Neyasbit indeed, looks like we had some ksp misconfiguration in our project that prevented annotations compiler from generating sources outside of commonMain. I managed to solve the problem using suggestions you provided, but there are still some quirks (see mentioned issue 👆)

The annotated module in commonMain seems to be super interesting approach to specify expect/actual components. Thanks @Neyasbit for pointing it.
Example:
// in commonMain

@Module
@ComponentScan("com.jetbrains.kmpapp.platform")
class PlatformModule

// package com.jetbrains.kmpapp.platform

expect class PlatformHelper {
    fun getName() : String
}

// in androidMain
// package com.jetbrains.kmpapp.platform

@Single
actual class PlatformHelper(
    val context: Context
){
    actual fun getName(): String = "I'm Android - $context"
}

// in nativeMain
// package com.jetbrains.kmpapp.platform

@Single
actual class PlatformHelper(){
    actual fun getName(): String = "I'm Native"
}

Good thing it can work on top level function too. Your contract comes from expect class/functions.
Like said above, important thing is the KSP setup in KMP that is tedious:
dependencies {
    add("kspCommonMainMetadata", libs.koin.ksp.compiler)
    add("kspAndroid", libs.koin.ksp.compiler)
    add("kspIosX64", libs.koin.ksp.compiler)
    add("kspIosArm64", libs.koin.ksp.compiler)
    add("kspIosSimulatorArm64", libs.koin.ksp.compiler)
}

Added documentation in https://github.com/InsertKoinIO/koin-annotations/pull/139/files

I tried testing this with KOIN_CONFIG_CHECK enabled and it doesn't work.

Yes config check still need work. Looking at it. Closing this one 👍
Follow up on https://github.com/InsertKoinIO/koin-annotations/pull/140
for checks


NIO.2 support

Hi,
I saw that Netty.4.Final dropped support for AIO. In the book "Netty in Action" I read that it was dropped mainly because it was not faster and that netty's threading model would make it hard to interoperate, which makes sense.
But maybe I could provide another view, since I'm heavily interested in windows support:
The NIO.1 Selector works using kqueue, epoll and select on pretty much all platforms. Now Windows does have IOCP which is way better than select (select on windows have scalability issues). But, of course, IOCP is the proactor model and does not fit in the reactor-selector-pattern.
That's why JDK7 finally brought us AIO, which implements the proactor pattern. The good thing about the proactor pattern is that it abstract's both select-based-techniques and IOCP very well.
What this all means is, that NIO.1 (Netty =( ) on windows simply does not scale as good as it could be.
I do understand the technical consequences of AIO for netty, though. AIO does have limitations, too.

First AIO expects a buffer before something was actually read, so if a lot of parallel clients are connected, the reading must be limited in some way.
AIO runs the completion handlers on the given executor. So if the executor has multiple threads the handlers may be invoked on different threads which would destroy netty's wonderful threading-model. But it's basically simple: Every event-loop in netty would have it's own AsynchronousChannelProvider running using single thread executor. This should work.

I know that this means some work and I am willing to contribute, but I would like to hear your point of view, maybe I do not have enough knowledge about this topic ;=)
Cheers,
Chris

@chrisprobst 然后呢


fix: prevent IP address from being taken from input

It means user can't modify it via browser's inspectElement

Honestly I don't need this IP from a user, it can be useful in extreme cases when a bot will want to spam my contact form. I will then be able to easily cut off the address in the firewall. Nevertheless, your proposal is right and it actually needs to be changed!


Vendor<EMAIL_ADDRESS>

How to categorize this PR?

/kind enhancement
What this PR does / why we need it:
This PR vendors<EMAIL_ADDRESS>Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
I used the shoot-dns-service extension as reference: The corresponding PRs are:

https://github.com/gardener/gardener-extension-shoot-dns-service/pull/266
https://github.com/gardener/gardener-extension-shoot-dns-service/pull/277
https://github.com/gardener/gardener-extension-shoot-dns-service/pull/280

Many thanks to @timuthy for the help in the vendoring process.
Release note:

CA and server certificates for the admission component are managed automatically. Passing custom certificates via Helm values is not supported anymore.

The following dependency is updated:
- `github.com/gardener/gardener`: v1.84.2 -> v1.85.1

/approve


no cover added automatically

Describe the bug
after an clean install of the plugin and a simple yaml config, i got no cover in the cover section.  Otherwise light, thermostat, Rooms are OK.
my config:
strategy:
  type: custom:mushroom-strategy
  options:
    views:
      lights: true
      fans: false
      switches: false
      covers: true
      cameras: true
      thermostats: true
views: []

and i have several cover otherwise, by example :
entity: cover.extension_14_1_fgwr_111_bso1_61
Expected behavior
how could i solve ?
Additional context
my installation:
HAOS on Rpi4 (armv7)
last HACS
integration with additional module of HACS
every pre-requisit installed

Hello,
Sorry that your having this issue.
Can you share more information about your cover entities such as which integration they come from, if the entity status is hidden or disabled and other information that might be useful to debug the problem.

hello,
cover came from HC3 integration (Home center Fibaro)
the entity isn't disable or hidden
i'm currently using on the main dashboard without problem, like
type: custom:shutter-card
entities:

entity: cover.extension_14_1_fgwr_111_bso1_61
name: BSO1

Is the entity assigned to an area or not?

thank you @digilive it's exactly the pb , i will close

I'm glad to hear it's works for you.
@AalianKhan can we consider this as a bug or is it meant to leave out entities without an assigned area?
It probably happens at the other views also.
If it's a bug, you could (edit and) reopen this issue, so we won't forget about it.


nixos/prometheus-kea-exporter: Fix ExecStart arguments

Description of changes
The current ExecStart will not allow for multiple sockets to properly be passed to the program since the extra newline character is interpreted to be part of the socket path.
The error in journald looked like this:
kea-exporter[928]: Listening on http://<IP_ADDRESS>:9547
kea-exporter[928]: Socket at
kea-exporter[928]: /var/run/kea/kea-dhcp6.sock does not exist. Is Kea running?

when it should have looked like this:
kea-exporter[2530]: Listening on http://<IP_ADDRESS>:9547
kea-exporter[2530]: Socket at /var/run/kea/kea-dhcp6.sock does not exist. Is Kea running?

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

@ofborg test prometheus-exporters.kea

Thanks!


IA-673 orgunit sometime display wrong children

I played around a little bit, I didn't seem to have any version of the bug anymore


[Windows] Cannot build bal files when the pack is installed in the default location due to missing permissions

Steps to reproduce:

Install ballerina-tools using the installer. Give the default location to save the distribution (inside C:\Program Files\Ballerina).
Go to docs\examples\any-type and build the bal file

Issue
The following error was logged.
C:\Program Files\Ballerina\ballerina-0.970.0\docs\examples\any-type>ballerina build any_type.bal
ballerina: failed to write the compiled program to 'C:\Program Files\Ballerina\ballerina-0.970.0\docs\examples\any-type\any_type.balx'

This happens because the admin permission is missing for the user. But, if I try to create a file in the same directory manually, I can create it successfully. So, how to overcome this issue when building the bal files in Windows environment?
Affected Versions:
Ballerina 0.970.0
OS, DB, other environment details and versions:
Windows 10

As you said this happens because the admin permission is missing for the user. As far as I know you need to start the command prompt as administrator to overcome this https://social.technet.microsoft.com/Forums/windows/en-US/05cce5f6-3c3a-4bb8-8b72-8c1ce4b5eff1/how-to-run-a-program-as-adminitrator-via-the-command-line?forum=w7itproappcompat

Currently for examples we use the files inside Ballerina Platform directory. Usually once user open them from composer, they will run or even edit those. So my suggestion is to copy those in users Document directory and use that for composer. Even it will allow multiple users to edit their own copies.

Out dated


[EPIC] More nodes ideas.

Mirror
Junction Plus
Ability to keep expanding pin for Junction at the top.
Merge to merge Highway or Junction together.
Filter.
Extract to extract subset from Highway or Junction.
Dummy to ignore and skip some output of Junction by connecting to it and do nothing else.
Hold to temporary store data and pausing and display what being stored like certain node in another extension. Otherwise acts like Highway and Junction and will have two versions for this.

Lots of great ideas.
FWIW, I often wish to have a reroute node that can fork the input in two opposite directions, as a T junction. But it's purely to save a few pixels and increase the clarity a little. Like in this example:

The complexity might be disproportionate compared to the gain.

Is there anyone that has a "pipe" syle bus node that allows one to add in an arbitrary number of inputs to a pipe and output that on the opposite end? all pipes and buses that I have found so far are pre-configured.
Reason I ask is this: I have a complex workflow (AegisFlow). It has several modules (as templates) to it, and I want to make a pipe that takes all the things one needs to pack up from module to module, and have a corresponding from node on the other end to accept that pipe. Issue is that I want to pass more than just the standard pipe stuff (model, vae, etc) and also pass images, seeds, sometimes text, etc, which are then wired into the next module.
I'd like to not have to use a different node for each, but rather have a final input that grows the inputs/outputs as you connect stuff (similar to how RGThree does the Bypass Repeater, f/e). That way, as the workflows change, I don't have to code new bus nodes.
Any ideas?

 A bit confusing at first to understand how the "offset" thing works, and also it would be SUPER cool if the node names, rather than using the type, could use the label of the item to which it was connected (I wired them to preview nodes so I could tell which image was which by the name), and also to prevent having to rename in/out pins, as I like my users to know what connects to what by pin name.

Hmm for name oriented pipe there's Highway, and you can probably mix those two together by having a junction to accept a highway in one of it's input

Trying to figure out highway. I get the basic idea --- I put in >model;<model f/e, click update, and connect a node to it. But how do I add more inputs/outputs?

If I type something else in the "_query" box and update, it updates the first item in the list, even if it's connected. Is there documentation that shows how to get "multiple cars on the highway?"

Trying to figure out highway. I get the basic idea --- I put in >model;<model f/e, click update, and connect a node to it. But how do I add more inputs/outputs?

By provide more input/output pins. Something like >a;>b;>c;<d;<e like in the demo workflow.

I'm also available in the official Matrix chat since this issue probably reversed for suggesting features only (scroll way down at https://github.com/comfyanonymous/ComfyUI for the chat room.

thanks, i get it now...alll the desired ins and outs are done at the same time. Thank you and i'll head to chat if i can't get it figured out. I honestly don't know how you guys figured all this node dev stuff out. It's hard to even get basic info for comfy node dev and yet jupiter brains are out here making awesome stuff like this.


Support get offsets or blocks info from arrow file.

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

It seems that there isn't a pub function to provide offsets or blocks info from arrow file.
Describe the solution you'd like

In arrow-ipc/src/reader.rs,
impl<R: Read + Seek> FileReader<R> {
    pub fn blocks(&self) -> Vec<Block> {
        &self.blocks
    }
   //OR
    pub fn offsets(&self) -> Vec<i64> {
        &self.blocks.iter().map(Block::offset).collect()
    }
}

Describe alternatives you've considered

Additional context

related to https://github.com/apache/arrow-datafusion/issues/8503

See https://github.com/apache/arrow-rs/pull/5249

See #5249

Sorry, I didn't find what I was looking for in this project. Could you give me more hints？

The FileDecoder provides a mechanism to control how the various parts of a file are decoded and processed, as per the linked DF ticket.
Getting the blocks and offsets from FileReader isn't very useful as there is no way to actually control the IO that it performs.

The FileDecoder provides a mechanism to control how the various parts of a file are decoded and processed, as per the linked DF ticket.FileDecoder 提供了一种机制来控制如何根据链接的 DF 票证对文件的各个部分进行解码和处理。

I'm not sure if I understand it correctly.  According to the doctest of FileDecoder, we can get footer firstly, then use FileDecoder to read different recordBatches.

Correct, which gives you the ability to decode said RecordBatch in parallel in much the same way as we do for parquet row groups

Correct, which gives you the ability to decode said RecordBatch in parallel in much the same way as we do for parquet row groups

Get it! Thanks.

label_issue.py automatically added labels {'arrow'} from #5249


Add documentation about setting r-versions in Workbench

Some customers need to set the r-versions config file to customize certain R version sessions as documented here.
Nothing in the README mentions it but it is possible to customize as it is a file that just needs to make its way into the /mnt/session-configmap/rstudio directory. It is a tricky format that is not like the rest of Workbench config files so it needs to be in a form like the following in a values.yaml file (with care taken to preserver the Key: Value format and new lines between each section or it will be ignored):
config:
  session:
    r-versions: |
        Path: /opt/R/4.1.3
        Label: Custom 4.1.3
        Repo: https://packagemanager.posit.co/cran/__linux__/jammy/latest

        Path: /opt/R/4.2.3
        Label: Custom 4.2.3
        Repo: https://p3m.dev/cran/__linux__/jammy/latest

@npelikan fyi!